(window.webpackJsonp=window.webpackJsonp||[]).push([[2],{"+tJ4":function(t,e,n){"use strict";n.d(e,"a",function(){return r});var r=function(t){return function(e){for(var n=0,r=t.length;n=0}},"/6xy":function(t,e,n){"use strict";var r=n("mrSG"),o=n("F/XL"),i=n("gI3B"),a=n("G5J1"),s=n("K9Ia"),u=n("Ehmk"),l=n("eihs"),c=n("MGBS"),d=n("zotm"),f=function(){function t(t,e,n){this.project=t,this.concurrent=e,this.scheduler=n}return t.prototype.call=function(t,e){return e.subscribe(new p(t,this.project,this.concurrent,this.scheduler))},t}(),p=function(t){function e(e,n,r,o){var i=t.call(this,e)||this;return i.project=n,i.concurrent=r,i.scheduler=o,i.index=0,i.active=0,i.hasCompleted=!1,r0&&this._next(e.shift()),this.hasCompleted&&0===this.active&&this.destination.complete()},e}(c.a),h=n("FFOo"),m=function(){function t(t){this.total=t}return t.prototype.call=function(t,e){return e.subscribe(new g(t,this.total))},t}(),g=function(t){function e(e,n){var r=t.call(this,e)||this;return r.total=n,r.count=0,r}return r.__extends(e,t),e.prototype._next=function(t){++this.count>this.total&&this.destination.next(t)},e}(h.a),v=n("VnD/");n.d(e,"g",function(){return O}),n.d(e,"e",function(){return _}),n.d(e,"a",function(){return y}),n.d(e,"b",function(){return b}),n.d(e,"d",function(){return w}),n.d(e,"c",function(){return C}),n.d(e,"f",function(){return S});var y=function(){},b=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r.__extends)(e,t),e.prototype.tick=function(t){return Object(o.a)(0).pipe((e=function(){var e=Date.now(),n=Math.round(Math.abs(e-t)/1e3),r=n<60?1e3:n<3600?6e4:n<86400?36e5:0;return r?Object(i.a)(r):Object(a.b)()},void 0===n&&(n=Number.POSITIVE_INFINITY),void 0===r&&(r=void 0),n=(n||0)<1?Number.POSITIVE_INFINITY:n,function(t){return t.lift(new f(e,n,r))}),function(t){return t.lift(new m(1))});var e,n,r},e}(y),_=function(){return function(){this.changes=new s.a}}(),w=function(){},C=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r.__extends)(e,t),e.prototype.format=function(t){var e=function(t){var e=Date.now(),n=Math.round(Math.abs(e-t)/1e3),o=t0){var a=i.indexOf(n);-1!==a&&i.splice(a,1)}},e.prototype.notifyComplete=function(){},e.prototype._next=function(t){if(0===this.toRespond.length){var e=[t].concat(this.values);this.project?this._tryProject(e):this.destination.next(e)}},e.prototype._tryProject=function(t){var e;try{e=this.project.apply(this,t)}catch(t){return void this.destination.error(t)}this.destination.next(e)},e}(d.a),E=n("xMyE");function x(t){return parseInt(""+t,10)}function k(t){return void 0!==t&&null!==t?""+t:""}function T(t,e,n){return void 0===n&&(n=0),Math.max(Math.min(t,e),n)}function j(t){return"string"==typeof t}function I(t){return!isNaN(x(t))}function R(t){return"number"==typeof t&&isFinite(t)&&Math.floor(t)===t}function P(t){return void 0!==t&&null!==t}function D(t){return I(t)?("0"+t).slice(-2):""}n.d(e,"c",function(){return L}),n.d(e,"b",function(){return A}),n.d(e,"a",function(){return F}),n.d(e,"D",function(){return V}),n.d(e,"E",function(){return M}),n.d(e,"g",function(){return H}),n.d(e,"f",function(){return B}),n.d(e,"e",function(){return U}),n.d(e,"h",function(){return W}),n.d(e,"K",function(){return q}),n.d(e,"l",function(){return Y}),n.d(e,"k",function(){return Z}),n.d(e,"j",function(){return K}),n.d(e,"m",function(){return J}),n.d(e,"i",function(){return rt}),n.d(e,"r",function(){return kt}),n.d(e,"q",function(){return ut}),n.d(e,"p",function(){return ht}),n.d(e,"n",function(){return gt}),n.d(e,"o",function(){return yt}),n.d(e,"u",function(){return Dt}),n.d(e,"t",function(){return Tt}),n.d(e,"s",function(){return Pt}),n.d(e,"y",function(){return $t}),n.d(e,"w",function(){return qt}),n.d(e,"x",function(){return Vt}),n.d(e,"d",function(){return Ht}),n.d(e,"C",function(){return Kt}),n.d(e,"B",function(){return Wt}),n.d(e,"A",function(){return Zt}),n.d(e,"G",function(){return re}),n.d(e,"F",function(){return ne}),n.d(e,"J",function(){return ae}),n.d(e,"I",function(){return oe}),n.d(e,"H",function(){return ie}),n.d(e,"N",function(){return le}),n.d(e,"M",function(){return se}),n.d(e,"L",function(){return ue}),n.d(e,"S",function(){return me}),n.d(e,"R",function(){return ce}),n.d(e,"Q",function(){return he}),n.d(e,"O",function(){return pe}),n.d(e,"P",function(){return fe}),n.d(e,"W",function(){return Ce}),n.d(e,"V",function(){return ve}),n.d(e,"U",function(){return we}),n.d(e,"T",function(){return be}),n.d(e,"Z",function(){return ke}),n.d(e,"Y",function(){return Oe}),n.d(e,"X",function(){return xe}),n.d(e,"v",function(){return Te}),n.d(e,"cb",function(){return Me}),n.d(e,"bb",function(){return De}),n.d(e,"ab",function(){return Ne}),n.d(e,"z",function(){return Ve}),n.d(e,"db",function(){return z}),n.d(e,"eb",function(){return $}),n.d(e,"jb",function(){return Et}),n.d(e,"tb",function(){return ft}),n.d(e,"ib",function(){return bt}),n.d(e,"kb",function(){return _t}),n.d(e,"lb",function(){return xt}),n.d(e,"sb",function(){return ct}),n.d(e,"nb",function(){return It}),n.d(e,"mb",function(){return jt}),n.d(e,"ob",function(){return Rt}),n.d(e,"ub",function(){return At}),n.d(e,"gb",function(){return Gt}),n.d(e,"fb",function(){return Mt}),n.d(e,"pb",function(){return ee}),n.d(e,"qb",function(){return Ee}),n.d(e,"rb",function(){return je}),n.d(e,"hb",function(){return Pe});var A=function(){function t(){this.closeOthers=!1}return t.ngInjectableDef=Object(r.defineInjectable)({factory:function(){return new t},token:t,providedIn:"root"}),t}(),N=0,M=function(t){this.templateRef=t},V=function(){function t(){this.disabled=!1,this.id="ngb-panel-"+N++,this.isOpen=!1}return t.prototype.ngAfterContentChecked=function(){this.titleTpl=this.titleTpls.first,this.contentTpl=this.contentTpls.first},t}(),F=function(){function t(t){this.activeIds=[],this.destroyOnHide=!0,this.panelChange=new r.EventEmitter,this.type=t.type,this.closeOtherPanels=t.closeOthers}return t.prototype.isExpanded=function(t){return this.activeIds.indexOf(t)>-1},t.prototype.expand=function(t){this._changeOpenState(this._findPanelById(t),!0)},t.prototype.expandAll=function(){var t=this;this.closeOtherPanels?0===this.activeIds.length&&this.panels.length&&this._changeOpenState(this.panels.first,!0):this.panels.forEach(function(e){return t._changeOpenState(e,!0)})},t.prototype.collapse=function(t){this._changeOpenState(this._findPanelById(t),!1)},t.prototype.collapseAll=function(){var t=this;this.panels.forEach(function(e){t._changeOpenState(e,!1)})},t.prototype.toggle=function(t){var e=this._findPanelById(t);e&&this._changeOpenState(e,!e.isOpen)},t.prototype.ngAfterContentChecked=function(){var t=this;j(this.activeIds)&&(this.activeIds=this.activeIds.split(/\s*,\s*/)),this.panels.forEach(function(e){return e.isOpen=!e.disabled&&t.activeIds.indexOf(e.id)>-1}),this.activeIds.length>1&&this.closeOtherPanels&&(this._closeOthers(this.activeIds[0]),this._updateActiveIds())},t.prototype._changeOpenState=function(t,e){if(t&&!t.disabled&&t.isOpen!==e){var n=!1;this.panelChange.emit({panelId:t.id,nextState:e,preventDefault:function(){n=!0}}),n||(t.isOpen=e,e&&this.closeOtherPanels&&this._closeOthers(t.id),this._updateActiveIds())}},t.prototype._closeOthers=function(t){this.panels.forEach(function(e){e.id!==t&&(e.isOpen=!1)})},t.prototype._findPanelById=function(t){return this.panels.find(function(e){return e.id===t})},t.prototype._updateActiveIds=function(){this.activeIds=this.panels.filter(function(t){return t.isOpen&&!t.disabled}).map(function(t){return t.id})},t}(),L=function(){function t(){}return t.forRoot=function(){return{ngModule:t}},t}(),B=function(){function t(){this.dismissible=!0,this.type="warning"}return t.ngInjectableDef=Object(r.defineInjectable)({factory:function(){return new t},token:t,providedIn:"root"}),t}(),U=function(){function t(t,e,n){this._renderer=e,this._element=n,this.close=new r.EventEmitter,this.dismissible=t.dismissible,this.type=t.type}return t.prototype.closeHandler=function(){this.close.emit(null)},t.prototype.ngOnChanges=function(t){var e=t.type;e&&!e.firstChange&&(this._renderer.removeClass(this._element.nativeElement,"alert-"+e.previousValue),this._renderer.addClass(this._element.nativeElement,"alert-"+e.currentValue))},t.prototype.ngOnInit=function(){this._renderer.addClass(this._element.nativeElement,"alert-"+this.type)},t}(),H=function(){function t(){}return t.forRoot=function(){return{ngModule:t}},t}(),z=function(){},G=0,q=function(){function t(){this._radios=new Set,this._value=null,this.name="ngb-radio-"+G++,this.onChange=function(t){},this.onTouched=function(){}}return Object.defineProperty(t.prototype,"disabled",{get:function(){return this._disabled},set:function(t){this.setDisabledState(t)},enumerable:!0,configurable:!0}),t.prototype.onRadioChange=function(t){this.writeValue(t.value),this.onChange(t.value)},t.prototype.onRadioValueUpdate=function(){this._updateRadiosValue()},t.prototype.register=function(t){this._radios.add(t)},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._disabled=t,this._updateRadiosDisabled()},t.prototype.unregister=function(t){this._radios.delete(t)},t.prototype.writeValue=function(t){this._value=t,this._updateRadiosValue()},t.prototype._updateRadiosValue=function(){var t=this;this._radios.forEach(function(e){return e.updateValue(t._value)})},t.prototype._updateRadiosDisabled=function(){this._radios.forEach(function(t){return t.updateDisabled()})},t}(),$=function(){function t(t,e,n,r){this._group=t,this._label=e,this._renderer=n,this._element=r,this._value=null,this._group.register(this),this.updateDisabled()}return Object.defineProperty(t.prototype,"value",{get:function(){return this._value},set:function(t){this._value=t;var e=t?t.toString():"";this._renderer.setProperty(this._element.nativeElement,"value",e),this._group.onRadioValueUpdate()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return this._group.disabled||this._disabled},set:function(t){this._disabled=!1!==t,this.updateDisabled()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"focused",{set:function(t){this._label&&(this._label.focused=t),t||this._group.onTouched()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"checked",{get:function(){return this._checked},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"nameAttr",{get:function(){return this.name||this._group.name},enumerable:!0,configurable:!0}),t.prototype.ngOnDestroy=function(){this._group.unregister(this)},t.prototype.onChange=function(){this._group.onRadioChange(this)},t.prototype.updateValue=function(t){this._checked=this.value===t,this._label.active=this._checked},t.prototype.updateDisabled=function(){this._label.disabled=this.disabled},t}(),W=function(){function t(){}return t.forRoot=function(){return{ngModule:t}},t}(),Z=function(){function t(){this.interval=5e3,this.wrap=!0,this.keyboard=!0,this.pauseOnHover=!0,this.showNavigationArrows=!0,this.showNavigationIndicators=!0}return t.ngInjectableDef=Object(r.defineInjectable)({factory:function(){return new t},token:t,providedIn:"root"}),t}(),K=function(){function t(t,e,n,o){this._platformId=e,this._ngZone=n,this._cd=o,this._start$=new i.a,this._stop$=new i.a,this.slide=new r.EventEmitter,this.interval=t.interval,this.wrap=t.wrap,this.keyboard=t.keyboard,this.pauseOnHover=t.pauseOnHover,this.showNavigationArrows=t.showNavigationArrows,this.showNavigationIndicators=t.showNavigationIndicators}return t.prototype.ngAfterContentInit=function(){var t=this;Object(o.B)(this._platformId)&&this._ngZone.runOutsideAngular(function(){t._start$.pipe(Object(v.a)(function(){return t.interval}),Object(y.a)(function(t){return t>0}),Object(b.a)(function(e){return Object(a.a)(e).pipe(Object(_.a)(t._stop$))})).subscribe(function(){return t._ngZone.run(function(){t.next(),t._cd.detectChanges()})}),t._start$.next()})},t.prototype.ngAfterContentChecked=function(){var t=this._getSlideById(this.activeId);this.activeId=t?t.id:this.slides.length?this.slides.first.id:null},t.prototype.ngOnDestroy=function(){this._stop$.next()},t.prototype.ngOnChanges=function(t){"interval"in t&&!t.interval.isFirstChange()&&this._start$.next()},t.prototype.select=function(t){this._cycleToSelected(t,this._getSlideEventDirection(this.activeId,t))},t.prototype.prev=function(){this._cycleToSelected(this._getPrevSlide(this.activeId),Q.RIGHT)},t.prototype.next=function(){this._cycleToSelected(this._getNextSlide(this.activeId),Q.LEFT)},t.prototype.pause=function(){this._stop$.next()},t.prototype.cycle=function(){this._start$.next()},t.prototype._cycleToSelected=function(t,e){var n=this._getSlideById(t);n&&n.id!==this.activeId&&(this.slide.emit({prev:this.activeId,current:n.id,direction:e}),this._start$.next(),this.activeId=n.id)},t.prototype._getSlideEventDirection=function(t,e){return this._getSlideIdxById(t)>this._getSlideIdxById(e)?Q.RIGHT:Q.LEFT},t.prototype._getSlideById=function(t){return this.slides.find(function(e){return e.id===t})},t.prototype._getSlideIdxById=function(t){return this.slides.toArray().indexOf(this._getSlideById(t))},t.prototype._getNextSlide=function(t){var e=this.slides.toArray(),n=this._getSlideIdxById(t);return n===e.length-1?this.wrap?e[0].id:e[e.length-1].id:e[n+1].id},t.prototype._getPrevSlide=function(t){var e=this.slides.toArray(),n=this._getSlideIdxById(t);return 0===n?this.wrap?e[e.length-1].id:e[0].id:e[n-1].id},t}(),Q={LEFT:"left",RIGHT:"right"},Y=function(){function t(){}return t.forRoot=function(){return{ngModule:t}},t}(),J=function(){function t(){}return t.forRoot=function(){return{ngModule:t}},t}(),X=function(){function t(t,e,n){this.year=R(t)?t:null,this.month=R(e)?e:null,this.day=R(n)?n:null}return t.from=function(e){return e instanceof t?e:e?new t(e.year,e.month,e.day):null},t.prototype.equals=function(t){return t&&this.year===t.year&&this.month===t.month&&this.day===t.day},t.prototype.before=function(t){return!!t&&(this.year===t.year?this.month===t.month?this.day!==t.day&&this.dayt.day:this.month>t.month:this.year>t.year)},t}();function tt(t){return new X(t.getFullYear(),t.getMonth()+1,t.getDate())}function et(t){var e=new Date(t.year,t.month-1,t.day,12);return isNaN(e.getTime())||e.setFullYear(t.year),e}function nt(){return new ot}var rt=function(){function t(){}return t.ngInjectableDef=Object(r.defineInjectable)({factory:nt,token:t,providedIn:"root"}),t}(),ot=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(u.__extends)(e,t),e.prototype.getDaysPerWeek=function(){return 7},e.prototype.getMonths=function(){return[1,2,3,4,5,6,7,8,9,10,11,12]},e.prototype.getWeeksPerMonth=function(){return 6},e.prototype.getNext=function(t,e,n){void 0===e&&(e="d"),void 0===n&&(n=1);var r=et(t);switch(e){case"y":return new X(t.year+n,1,1);case"m":r=new Date(t.year,t.month+n-1,1,12);break;case"d":r.setDate(r.getDate()+n);break;default:return t}return tt(r)},e.prototype.getPrev=function(t,e,n){return void 0===e&&(e="d"),void 0===n&&(n=1),this.getNext(t,e,-n)},e.prototype.getWeekday=function(t){var e=et(t).getDay();return 0===e?7:e},e.prototype.getWeekNumber=function(t,e){7===e&&(e=0);var n=et(t[(11-e)%7]);n.setDate(n.getDate()+4-(n.getDay()||7));var r=n.getTime();return n.setMonth(0),n.setDate(1),Math.floor(Math.round((r-n.getTime())/864e5)/7)+1},e.prototype.getToday=function(){return tt(new Date)},e.prototype.isValid=function(t){if(!(t&&R(t.year)&&R(t.month)&&R(t.day)))return!1;var e=et(t);return!isNaN(e.getTime())&&e.getFullYear()===t.year&&e.getMonth()+1===t.month&&e.getDate()===t.day},e}(rt);function it(t,e){return!function(t,e){return!t&&!e||!!t&&!!e&&t.equals(e)}(t,e)}function at(t,e,n){return t&&e&&t.before(e)?e:t&&n&&t.after(n)?n:t}function st(t,e){var n=e.minDate,r=e.maxDate,o=e.disabled,i=e.markDisabled;return!(!P(t)||o||i&&i(t,{year:t.year,month:t.month})||n&&t.before(n)||r&&t.after(r))}var ut=function(){function t(){}return t.prototype.getDayNumerals=function(t){return""+t.day},t.prototype.getWeekNumerals=function(t){return""+t},t.prototype.getYearNumerals=function(t){return""+t},t.ngInjectableDef=Object(r.defineInjectable)({factory:function(){return t=Object(r.inject)(r.LOCALE_ID),new lt(t);var t},token:t,providedIn:"root"}),t}(),lt=function(t){function e(e){var n=t.call(this)||this;n._locale=e;var r=Object(o.z)(e,o.g.Standalone,o.w.Short);return n._weekdaysShort=r.map(function(t,e){return r[(e+1)%7]}),n._monthsShort=Object(o.A)(e,o.g.Standalone,o.w.Abbreviated),n._monthsFull=Object(o.A)(e,o.g.Standalone,o.w.Wide),n}return Object(u.__extends)(e,t),e.prototype.getWeekdayShortName=function(t){return this._weekdaysShort[t-1]},e.prototype.getMonthShortName=function(t){return this._monthsShort[t-1]},e.prototype.getMonthFullName=function(t){return this._monthsFull[t-1]},e.prototype.getDayAriaLabel=function(t){var e=new Date(t.year,t.month-1,t.day);return Object(o.y)(e,"fullDate",this._locale)},e}(ut),ct=function(){function t(t,e){this._calendar=t,this._i18n=e,this._model$=new i.a,this._select$=new i.a,this._state={disabled:!1,displayMonths:1,firstDayOfWeek:1,focusVisible:!1,months:[],navigation:"select",outsideDays:"visible",prevDisabled:!1,nextDisabled:!1,selectBoxes:{years:[],months:[]},selectedDate:null}}return Object.defineProperty(t.prototype,"model$",{get:function(){return this._model$.pipe(Object(y.a)(function(t){return t.months.length>0}))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"select$",{get:function(){return this._select$.pipe(Object(y.a)(function(t){return null!==t}))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{set:function(t){this._state.disabled!==t&&this._nextState({disabled:t})},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"displayMonths",{set:function(t){R(t=x(t))&&t>0&&this._state.displayMonths!==t&&this._nextState({displayMonths:t})},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"firstDayOfWeek",{set:function(t){R(t=x(t))&&t>=0&&this._state.firstDayOfWeek!==t&&this._nextState({firstDayOfWeek:t})},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"focusVisible",{set:function(t){this._state.focusVisible===t||this._state.disabled||this._nextState({focusVisible:t})},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"maxDate",{set:function(t){var e=this.toValidDate(t,null);it(this._state.maxDate,e)&&this._nextState({maxDate:e})},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"markDisabled",{set:function(t){this._state.markDisabled!==t&&this._nextState({markDisabled:t})},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"minDate",{set:function(t){var e=this.toValidDate(t,null);it(this._state.minDate,e)&&this._nextState({minDate:e})},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"navigation",{set:function(t){this._state.navigation!==t&&this._nextState({navigation:t})},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"outsideDays",{set:function(t){this._state.outsideDays!==t&&this._nextState({outsideDays:t})},enumerable:!0,configurable:!0}),t.prototype.focus=function(t){!this._state.disabled&&this._calendar.isValid(t)&&it(this._state.focusDate,t)&&this._nextState({focusDate:t})},t.prototype.focusMove=function(t,e){this.focus(this._calendar.getNext(this._state.focusDate,t,e))},t.prototype.focusSelect=function(){st(this._state.focusDate,this._state)&&this.select(this._state.focusDate,{emitEvent:!0})},t.prototype.open=function(t){var e=this.toValidDate(t,this._calendar.getToday());this._state.disabled||this._nextState({firstDate:e})},t.prototype.select=function(t,e){void 0===e&&(e={});var n=this.toValidDate(t,null);this._state.disabled||(it(this._state.selectedDate,n)&&this._nextState({selectedDate:n}),e.emitEvent&&st(n,this._state)&&this._select$.next(n))},t.prototype.toValidDate=function(t,e){var n=X.from(t);return void 0===e&&(e=this._calendar.getToday()),this._calendar.isValid(n)?n:e},t.prototype._nextState=function(t){var e=this._updateState(t);this._patchContexts(e),this._state=e,this._model$.next(this._state)},t.prototype._patchContexts=function(t){var e=t.months,n=t.displayMonths,r=t.selectedDate,o=t.focusDate,i=t.focusVisible,a=t.disabled,s=t.outsideDays;t.months.forEach(function(t){t.weeks.forEach(function(u){u.days.forEach(function(u){o&&(u.context.focused=o.equals(u.date)&&i),u.tabindex=!a&&u.date.equals(o)&&o.month===t.number?0:-1,!0===a&&(u.context.disabled=!0),void 0!==r&&(u.context.selected=null!==r&&r.equals(u.date)),t.number!==u.date.month&&(u.hidden="hidden"===s||"collapsed"===s||n>1&&u.date.after(e[0].firstDate)&&u.date.before(e[n-1].lastDate))})})})},t.prototype._updateState=function(t){var e,n,r=Object.assign({},this._state,t),o=r.firstDate;if(("minDate"in t||"maxDate"in t)&&(function(t,e){if(e&&t&&e.before(t))throw new Error("'maxDate' "+e+" should be greater than 'minDate' "+t)}(r.minDate,r.maxDate),r.focusDate=at(r.focusDate,r.minDate,r.maxDate),r.firstDate=at(r.firstDate,r.minDate,r.maxDate),o=r.focusDate),"disabled"in t&&(r.focusVisible=!1),"selectedDate"in t&&0===this._state.months.length&&(o=r.selectedDate),"focusDate"in t&&(r.focusDate=at(r.focusDate,r.minDate,r.maxDate),o=r.focusDate,0!==r.months.length&&!r.focusDate.before(r.firstDate)&&!r.focusDate.after(r.lastDate)))return r;if("firstDate"in t&&(r.firstDate=at(r.firstDate,r.minDate,r.maxDate),o=r.firstDate),o){var i=function(t,e,n,r,o){var i=n.displayMonths,a=n.months,s=a.splice(0,a.length);return Array.from({length:i},function(n,r){var i=t.getNext(e,"m",r);if(a[r]=null,!o){var u=s.findIndex(function(t){return t.firstDate.equals(i)});-1!==u&&(a[r]=s.splice(u,1)[0])}return i}).forEach(function(e,o){null===a[o]&&(a[o]=function(t,e,n,r,o){void 0===o&&(o={});var i=n.minDate,a=n.maxDate,s=n.firstDayOfWeek,u=n.markDisabled,l=n.outsideDays;o.firstDate=null,o.lastDate=null,o.number=e.month,o.year=e.year,o.weeks=o.weeks||[],o.weekdays=o.weekdays||[],e=function(t,e,n){var r=t.getDaysPerWeek(),o=new X(e.year,e.month,1),i=t.getWeekday(o)%r;return t.getPrev(o,"d",(r+i-n)%r)}(t,e,s);for(var c=0;c0?i[0].firstDate:void 0,r.lastDate=i.length>0?i[i.length-1].lastDate:void 0,"selectedDate"in t&&!st(r.selectedDate,r)&&(r.selectedDate=null),"firstDate"in t&&(void 0===r.focusDate||r.focusDate.before(r.firstDate)||r.focusDate.after(r.lastDate))&&(r.focusDate=o);var a=!this._state.firstDate||this._state.firstDate.year!==r.firstDate.year,s=!this._state.firstDate||this._state.firstDate.month!==r.firstDate.month;"select"===r.navigation?(("minDate"in t||"maxDate"in t||0===r.selectBoxes.years.length||a)&&(r.selectBoxes.years=function(t,e,n){if(!t)return[];var r=e&&e.year||t.year-10;return Array.from({length:(n&&n.year||t.year+10)-r+1},function(t,e){return r+e})}(r.firstDate,r.minDate,r.maxDate)),("minDate"in t||"maxDate"in t||0===r.selectBoxes.months.length||a)&&(r.selectBoxes.months=function(t,e,n,r){if(!e)return[];var o=t.getMonths(e.year);if(n&&e.year===n.year){var i=o.findIndex(function(t){return t===n.month});o=o.slice(i)}return r&&e.year===r.year&&(i=o.findIndex(function(t){return t===r.month}),o=o.slice(0,i+1)),o}(this._calendar,r.firstDate,r.minDate,r.maxDate))):r.selectBoxes={years:[],months:[]},"arrows"!==r.navigation&&"select"!==r.navigation||!(s||a||"minDate"in t||"maxDate"in t||"disabled"in t)||(r.prevDisabled=r.disabled||(e=r.minDate,n=this._calendar.getPrev(r.firstDate,"m"),e&&(n.year===e.year&&n.montho.height/2&&a-l>o.height/2&&n.splice(n.length,1,"left"),this.setSecondaryPlacementForLeftRight(r,o,"left",n)),o.heighto.width/2&&s-u>o.width/2&&n.splice(n.length,1,"top"),this.setSecondaryPlacementForTopBottom(r,o,"top",n)),s-r.right>o.width&&(l>o.height/2&&a-l>o.height/2&&n.splice(n.length,1,"right"),this.setSecondaryPlacementForLeftRight(r,o,"right",n)),a-r.bottom>o.height&&(u>o.width/2&&s-u>o.width/2&&n.splice(n.length,1,"bottom"),this.setSecondaryPlacementForTopBottom(r,o,"bottom",n)),n},t.prototype.setSecondaryPlacementForLeftRight=function(t,e,n,r){var o=document.documentElement;e.height<=t.bottom&&r.splice(r.length,1,n+"-bottom"),(window.innerHeight||o.clientHeight)-t.top>=e.height&&r.splice(r.length,1,n+"-top")},t.prototype.setSecondaryPlacementForTopBottom=function(t,e,n,r){var o=document.documentElement;(window.innerWidth||o.clientWidth)-t.left>=e.width&&r.splice(r.length,1,n+"-left"),e.width<=t.right&&r.splice(r.length,1,n+"-right")},t}());function Ct(t,e,n,r){var o=Array.isArray(n)?n:[n],i=o.findIndex(function(t){return"auto"===t});i>=0&&["top","bottom","left","right","top-left","top-right","bottom-left","bottom-right","left-top","left-bottom","right-top","right-bottom"].forEach(function(t){null==o.find(function(e){return-1!==e.search("^"+t)})&&o.splice(i++,1,t)});var a,s,l,c=0,d=0,f=wt.getAvailablePlacements(t,e),p=function(n,i){if(null!=f.find(function(t){return t===n})||o.length===i+1){a=n;var s=wt.positionElements(t,e,n,r);return c=s.top,d=s.left,"break"}};try{for(var h=Object(u.__values)(o.map(function(t,e){return{item:t,index:e}})),m=h.next();!m.done;m=h.next()){var g=m.value;if("break"===p(g.item,g.index))break}}catch(t){s={error:t}}finally{try{m&&!m.done&&(l=h.return)&&l.call(h)}finally{if(s)throw s.error}}return e.style.top=c+"px",e.style.left=d+"px",a}var Ot=["a[href]","button:not([disabled])",'input:not([disabled]):not([type="hidden"])',"select:not([disabled])","textarea:not([disabled])","[contenteditable]",'[tabindex]:not([tabindex="-1"])'].join(", "),St=function(t,e){var n=Object(s.a)(t,"focusin").pipe(Object(_.a)(e),Object(v.a)(function(t){return t.target}));Object(s.a)(t,"keydown").pipe(Object(_.a)(e),Object(y.a)(function(t){return t.which===dt.Tab}),C(n)).subscribe(function(e){var n=Object(u.__read)(e,2),r=n[0],o=n[1],i=Object(u.__read)(function(t){var e=t.querySelectorAll(Ot);return[e[0],e[e.length-1]]}(t),2),a=i[0],s=i[1];o===a&&r.shiftKey&&(s.focus(),r.preventDefault()),o!==s||r.shiftKey||(a.focus(),r.preventDefault())}),Object(s.a)(t,"click").pipe(Object(_.a)(e),C(n),Object(v.a)(function(t){return t[1]})).subscribe(function(t){return t.focus()})},Et=function(){function t(t){this.i18n=t}return t.prototype.isMuted=function(){return!this.selected&&(this.date.month!==this.currentMonth||this.disabled)},t}(),xt=function(){function t(t){this.i18n=t,this.select=new r.EventEmitter}return t.prototype.changeMonth=function(t){this.select.emit(new X(this.date.year,x(t),1))},t.prototype.changeYear=function(t){this.select.emit(new X(x(t),this.date.month,1))},t}(),kt=function(){function t(){}return t.forRoot=function(){return{ngModule:t}},t}(),Tt=function(){function t(){this.autoClose=!0,this.placement="bottom-left"}return t.ngInjectableDef=Object(r.defineInjectable)({factory:function(){return new t},token:t,providedIn:"root"}),t}(),jt=function(){function t(t,e,n){this.dropdown=t,this._elementRef=e,this._renderer=n,this.placement="bottom",this.isOpen=!1}return t.prototype.isEventFrom=function(t){return this._elementRef.nativeElement.contains(t.target)},t.prototype.position=function(t,e){this.applyPlacement(Ct(t,this._elementRef.nativeElement,e))},t.prototype.applyPlacement=function(t){this._renderer.removeClass(this._elementRef.nativeElement.parentNode,"dropup"),this._renderer.removeClass(this._elementRef.nativeElement.parentNode,"dropdown"),this.placement=t,-1!==t.search("^top")?this._renderer.addClass(this._elementRef.nativeElement.parentNode,"dropup"):this._renderer.addClass(this._elementRef.nativeElement.parentNode,"dropdown")},t}(),It=function(){function t(t,e){this.dropdown=t,this._elementRef=e,this.anchorEl=e.nativeElement}return t.prototype.isEventFrom=function(t){return this._elementRef.nativeElement.contains(t.target)},t}(),Rt=function(t){function e(e,n){return t.call(this,e,n)||this}return Object(u.__extends)(e,t),e.prototype.toggleOpen=function(){this.dropdown.toggle()},e}(It),Pt=function(){function t(t,e,n,o){var a=this;this._changeDetector=t,this._document=n,this._ngZone=o,this._closed$=new i.a,this._open=!1,this.openChange=new r.EventEmitter,this.placement=e.placement,this.autoClose=e.autoClose,this._zoneSubscription=o.onStable.subscribe(function(){a._positionMenu()})}return t.prototype.ngOnInit=function(){this._menu&&this._menu.applyPlacement(Array.isArray(this.placement)?this.placement[0]:this.placement),this._open&&this._setCloseHandlers()},t.prototype.isOpen=function(){return this._open},t.prototype.open=function(){this._open||(this._open=!0,this._positionMenu(),this.openChange.emit(!0),this._setCloseHandlers())},t.prototype._setCloseHandlers=function(){var t=this;this.autoClose&&this._ngZone.runOutsideAngular(function(){p([Object(s.a)(t._document,"keyup").pipe(Object(_.a)(t._closed$),Object(y.a)(function(t){return t.which===dt.Escape})),Object(s.a)(t._document,"click").pipe(Object(_.a)(t._closed$),Object(y.a)(function(e){return t._shouldCloseFromClick(e)}))]).pipe(Object(_.a)(t._closed$)).subscribe(function(){return t._ngZone.run(function(){t.close(),t._changeDetector.markForCheck()})})})},t.prototype.close=function(){this._open&&(this._open=!1,this._closed$.next(),this.openChange.emit(!1))},t.prototype.toggle=function(){this.isOpen()?this.close():this.open()},t.prototype._shouldCloseFromClick=function(t){if(2!==t.button&&!this._isEventFromToggle(t)){if(!0===this.autoClose)return!0;if("inside"===this.autoClose&&this._isEventFromMenu(t))return!0;if("outside"===this.autoClose&&!this._isEventFromMenu(t))return!0}return!1},t.prototype.ngOnDestroy=function(){this._closed$.next(),this._zoneSubscription.unsubscribe()},t.prototype._isEventFromToggle=function(t){return this._anchor.isEventFrom(t)},t.prototype._isEventFromMenu=function(t){return!!this._menu&&this._menu.isEventFrom(t)},t.prototype._positionMenu=function(){this.isOpen()&&this._menu&&this._menu.position(this._anchor.anchorEl,this.placement)},t}(),Dt=function(){function t(){}return t.forRoot=function(){return{ngModule:t}},t}(),At=function(){},Nt=function(){var t={BACKDROP_CLICK:0,ESC:1};return t[t.BACKDROP_CLICK]="BACKDROP_CLICK",t[t.ESC]="ESC",t}(),Mt=function(){function t(t,e){this._document=t,this._elRef=e,this.backdrop=!0,this.keyboard=!0,this.dismissEvent=new r.EventEmitter}return t.prototype.backdropClick=function(t){!0===this.backdrop&&this._elRef.nativeElement===t.target&&this.dismiss(Nt.BACKDROP_CLICK)},t.prototype.escKey=function(t){this.keyboard&&!t.defaultPrevented&&this.dismiss(Nt.ESC)},t.prototype.dismiss=function(t){this.dismissEvent.emit(t)},t.prototype.ngOnInit=function(){this._elWithFocus=this._document.activeElement},t.prototype.ngAfterViewInit=function(){this._elRef.nativeElement.contains(document.activeElement)||this._elRef.nativeElement.focus.apply(this._elRef.nativeElement,[])},t.prototype.ngOnDestroy=function(){var t,e=this._document.body,n=this._elWithFocus;(t=n&&n.focus&&e.contains(n)?n:e).focus.apply(t,[]),this._elWithFocus=null},t}(),Vt=function(){function t(){this.backdrop=!0,this.keyboard=!0}return t.ngInjectableDef=Object(r.defineInjectable)({factory:function(){return new t},token:t,providedIn:"root"}),t}(),Ft=function(t,e,n){this.nodes=t,this.viewRef=e,this.componentRef=n},Lt=function(){function t(t,e,n,r,o){this._type=t,this._injector=e,this._viewContainerRef=n,this._renderer=r,this._componentFactoryResolver=o}return t.prototype.open=function(t,e){return this._windowRef||(this._contentRef=this._getContentRef(t,e),this._windowRef=this._viewContainerRef.createComponent(this._componentFactoryResolver.resolveComponentFactory(this._type),0,this._injector,this._contentRef.nodes)),this._windowRef},t.prototype.close=function(){this._windowRef&&(this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._windowRef.hostView)),this._windowRef=null,this._contentRef.viewRef&&(this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._contentRef.viewRef)),this._contentRef=null))},t.prototype._getContentRef=function(t,e){if(t){if(t instanceof r.TemplateRef){var n=this._viewContainerRef.createEmbeddedView(t,e);return new Ft([n.rootNodes],n)}return new Ft([[this._renderer.createText(""+t)]])}return new Ft([])},t}(),Bt=function(){},Ut=function(){function t(t){this._document=t}return t.prototype.compensate=function(){return this._isPresent()?this._adjustBody(this._getWidth()):Bt},t.prototype._adjustBody=function(t){var e=this._document.body,n=e.style.paddingRight,r=parseFloat(window.getComputedStyle(e)["padding-right"]);return e.style["padding-right"]=r+t+"px",function(){return e.style["padding-right"]=n}},t.prototype._isPresent=function(){var t=this._document.body.getBoundingClientRect();return t.left+t.right-1&&e._modalRefs.splice(n,1)};this._modalRefs.push(t),t.result.then(n,n)},t.prototype._registerWindowCmpt=function(t){var e=this;this._windowCmpts.push(t),this._activeWindowCmptHasChanged.next(),t.onDestroy(function(){var n=e._windowCmpts.indexOf(t);n>-1&&(e._windowCmpts.splice(n,1),e._activeWindowCmptHasChanged.next())})},t.ngInjectableDef=Object(r.defineInjectable)({factory:function(){return new t(Object(r.inject)(r.ApplicationRef),Object(r.inject)(r.INJECTOR),Object(r.inject)(o.d),Object(r.inject)(Ut),Object(r.inject)(r.RendererFactory2))},token:t,providedIn:"root"}),t}(),qt=function(){function t(t,e,n,r){this._moduleCFR=t,this._injector=e,this._modalStack=n,this._config=r}return t.prototype.open=function(t,e){void 0===e&&(e={});var n=Object.assign({},this._config,e);return this._modalStack.open(this._moduleCFR,this._injector,t,n)},t.prototype.dismissAll=function(t){this._modalStack.dismissAll(t)},t.ngInjectableDef=Object(r.defineInjectable)({factory:function(){return new t(Object(r.inject)(r.ComponentFactoryResolver),Object(r.inject)(r.INJECTOR),Object(r.inject)(Gt),Object(r.inject)(Vt))},token:t,providedIn:"root"}),t}(),$t=function(){function t(){}return t.forRoot=function(){return{ngModule:t}},t}(),Wt=function(){function t(){this.disabled=!1,this.boundaryLinks=!1,this.directionLinks=!0,this.ellipses=!0,this.maxSize=0,this.pageSize=10,this.rotate=!1}return t.ngInjectableDef=Object(r.defineInjectable)({factory:function(){return new t},token:t,providedIn:"root"}),t}(),Zt=function(){function t(t){this.pageCount=0,this.pages=[],this.page=1,this.pageChange=new r.EventEmitter(!0),this.disabled=t.disabled,this.boundaryLinks=t.boundaryLinks,this.directionLinks=t.directionLinks,this.ellipses=t.ellipses,this.maxSize=t.maxSize,this.pageSize=t.pageSize,this.rotate=t.rotate,this.size=t.size}return t.prototype.hasPrevious=function(){return this.page>1},t.prototype.hasNext=function(){return this.page0&&(t>1&&this.pages.unshift(-1),this.pages.unshift(1)),e0&&this.pageCount>this.maxSize){var n=0,r=this.pageCount;this.rotate?(n=(o=Object(u.__read)(this._applyRotation(),2))[0],r=o[1]):(n=(i=Object(u.__read)(this._applyPagination(),2))[0],r=i[1]),this.pages=this.pages.slice(n,r),this._applyEllipses(n,r)}var o,i},t}(),Kt=function(){function t(){}return t.forRoot=function(){return{ngModule:t}},t}(),Qt=function(){function t(t,e){this.open=t,this.close=e,e||(this.close=t)}return t.prototype.isManual=function(){return"manual"===this.open||"manual"===this.close},t}(),Yt={hover:["mouseenter","mouseleave"]},Jt=function(){};function Xt(t,e,n,r,o,i){var a=function(t,e){void 0===e&&(e=Yt);var n=(t||"").trim();if(0===n.length)return[];var r=n.split(/\s+/).map(function(t){return t.split(":")}).map(function(t){var n=e[t[0]]||t;return new Qt(n[0],n[1])}),o=r.filter(function(t){return t.isManual()});if(o.length>1)throw"Triggers parse error: only one manual trigger is allowed";if(1===o.length&&r.length>1)throw"Triggers parse error: manual trigger can't be mixed with other triggers";return r}(n),s=[];return 1===a.length&&a[0].isManual()?Jt:(a.forEach(function(n){n.open===n.close?s.push(t.listen(e,n.open,i)):s.push(t.listen(e,n.open,r),t.listen(e,n.close,o))}),function(){s.forEach(function(t){return t()})})}var te=0,ee=function(){function t(t,e){this._element=t,this._renderer=e,this.placement="top"}return t.prototype.isTitleTemplate=function(){return this.title instanceof r.TemplateRef},t.prototype.applyPlacement=function(t){this._renderer.removeClass(this._element.nativeElement,"bs-popover-"+this.placement.toString().split("-")[0]),this._renderer.removeClass(this._element.nativeElement,"bs-popover-"+this.placement.toString()),this.placement=t,this._renderer.addClass(this._element.nativeElement,"bs-popover-"+this.placement.toString().split("-")[0]),this._renderer.addClass(this._element.nativeElement,"bs-popover-"+this.placement.toString())},t.prototype.isEventFrom=function(t){return this._element.nativeElement.contains(t.target)},t}(),ne=function(){function t(t,e,n,o,i,a,s,u){var l=this;this._elementRef=t,this._renderer=e,this._ngZone=s,this._document=u,this.shown=new r.EventEmitter,this.hidden=new r.EventEmitter,this._ngbPopoverWindowId="ngb-popover-"+te++,this.autoClose=a.autoClose,this.placement=a.placement,this.triggers=a.triggers,this.container=a.container,this.disablePopover=a.disablePopover,this.popoverClass=a.popoverClass,this._popupService=new Lt(ee,n,i,e,o),this._zoneSubscription=s.onStable.subscribe(function(){l._windowRef&&l._windowRef.instance.applyPlacement(Ct(l._elementRef.nativeElement,l._windowRef.location.nativeElement,l.placement,"body"===l.container))})}return t.prototype._isDisabled=function(){return!!this.disablePopover||!this.ngbPopover&&!this.popoverTitle},t.prototype.open=function(t){var e=this;this._windowRef||this._isDisabled()||(this._windowRef=this._popupService.open(this.ngbPopover,t),this._windowRef.instance.title=this.popoverTitle,this._windowRef.instance.context=t,this._windowRef.instance.popoverClass=this.popoverClass,this._windowRef.instance.id=this._ngbPopoverWindowId,this._renderer.setAttribute(this._elementRef.nativeElement,"aria-describedby",this._ngbPopoverWindowId),"body"===this.container&&this._document.querySelector(this.container).appendChild(this._windowRef.location.nativeElement),this._windowRef.changeDetectorRef.detectChanges(),this._windowRef.changeDetectorRef.markForCheck(),this._windowRef.instance.applyPlacement(Ct(this._elementRef.nativeElement,this._windowRef.location.nativeElement,this.placement,"body"===this.container)),this.autoClose&&this._ngZone.runOutsideAngular(function(){var t=!0;requestAnimationFrame(function(){return t=!1}),p([Object(s.a)(e._document,"keyup").pipe(Object(_.a)(e.hidden),Object(y.a)(function(t){return t.which===dt.Escape})),Object(s.a)(e._document,"click").pipe(Object(_.a)(e.hidden),Object(y.a)(function(){return!t}),Object(y.a)(function(t){return e._shouldCloseFromClick(t)}))]).subscribe(function(){return e._ngZone.run(function(){return e.close()})})}),this.shown.emit())},t.prototype.close=function(){this._windowRef&&(this._renderer.removeAttribute(this._elementRef.nativeElement,"aria-describedby"),this._popupService.close(),this._windowRef=null,this.hidden.emit())},t.prototype.toggle=function(){this._windowRef?this.close():this.open()},t.prototype.isOpen=function(){return null!=this._windowRef},t.prototype.ngOnInit=function(){this._unregisterListenersFn=Xt(this._renderer,this._elementRef.nativeElement,this.triggers,this.open.bind(this),this.close.bind(this),this.toggle.bind(this))},t.prototype.ngOnChanges=function(t){(t.ngbPopover||t.popoverTitle||t.disablePopover)&&this._isDisabled()&&this.close()},t.prototype.ngOnDestroy=function(){this.close(),this._unregisterListenersFn(),this._zoneSubscription.unsubscribe()},t.prototype._shouldCloseFromClick=function(t){if(2!==t.button){if(!0===this.autoClose)return!0;if("inside"===this.autoClose&&this._isEventFromPopover(t))return!0;if("outside"===this.autoClose&&!this._isEventFromPopover(t))return!0}return!1},t.prototype._isEventFromPopover=function(t){var e=this._windowRef.instance;return!!e&&e.isEventFrom(t)},t}(),re=function(){function t(){}return t.forRoot=function(){return{ngModule:t}},t}(),oe=function(){function t(){this.max=100,this.animated=!1,this.striped=!1,this.showValue=!1}return t.ngInjectableDef=Object(r.defineInjectable)({factory:function(){return new t},token:t,providedIn:"root"}),t}(),ie=function(){function t(t){this.value=0,this.max=t.max,this.animated=t.animated,this.striped=t.striped,this.type=t.type,this.showValue=t.showValue,this.height=t.height}return t.prototype.getValue=function(){return T(this.value,this.max)},t.prototype.getPercentValue=function(){return 100*this.getValue()/this.max},t}(),ae=function(){function t(){}return t.forRoot=function(){return{ngModule:t}},t}(),se=function(){function t(){this.max=10,this.readonly=!1,this.resettable=!1}return t.ngInjectableDef=Object(r.defineInjectable)({factory:function(){return new t},token:t,providedIn:"root"}),t}(),ue=function(){function t(t,e){this._changeDetectorRef=e,this.contexts=[],this.disabled=!1,this.hover=new r.EventEmitter,this.leave=new r.EventEmitter,this.rateChange=new r.EventEmitter(!0),this.onChange=function(t){},this.onTouched=function(){},this.max=t.max,this.readonly=t.readonly}return t.prototype.ariaValueText=function(){return this.nextRate+" out of "+this.max},t.prototype.enter=function(t){this.readonly||this.disabled||this._updateState(t),this.hover.emit(t)},t.prototype.handleBlur=function(){this.onTouched()},t.prototype.handleClick=function(t){this.update(this.resettable&&this.rate===t?0:t)},t.prototype.handleKeyDown=function(t){if(dt[k(t.which)])switch(t.preventDefault(),t.which){case dt.ArrowDown:case dt.ArrowLeft:this.update(this.rate-1);break;case dt.ArrowUp:case dt.ArrowRight:this.update(this.rate+1);break;case dt.Home:this.update(0);break;case dt.End:this.update(this.max)}},t.prototype.ngOnChanges=function(t){t.rate&&this.update(this.rate)},t.prototype.ngOnInit=function(){this.contexts=Array.from({length:this.max},function(t,e){return{fill:0,index:e}}),this._updateState(this.rate)},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.reset=function(){this.leave.emit(this.nextRate),this._updateState(this.rate)},t.prototype.setDisabledState=function(t){this.disabled=t},t.prototype.update=function(t,e){void 0===e&&(e=!0);var n=T(t,this.max,0);this.readonly||this.disabled||this.rate===n||(this.rate=n,this.rateChange.emit(this.rate)),e&&(this.onChange(this.rate),this.onTouched()),this._updateState(this.rate)},t.prototype.writeValue=function(t){this.update(t,!1),this._changeDetectorRef.markForCheck()},t.prototype._getFillValue=function(t){var e=this.nextRate-t;return e>=1?100:e<1&&e>0?Number.parseInt((100*e).toFixed(2)):0},t.prototype._updateState=function(t){var e=this;this.nextRate=t,this.contexts.forEach(function(t,n){return t.fill=e._getFillValue(n)})},t}(),le=function(){function t(){}return t.forRoot=function(){return{ngModule:t}},t}(),ce=function(){function t(){this.justify="start",this.orientation="horizontal",this.type="tabs"}return t.ngInjectableDef=Object(r.defineInjectable)({factory:function(){return new t},token:t,providedIn:"root"}),t}(),de=0,fe=function(t){this.templateRef=t},pe=function(){function t(){this.id="ngb-tab-"+de++,this.disabled=!1}return t.prototype.ngAfterContentChecked=function(){this.titleTpl=this.titleTpls.first,this.contentTpl=this.contentTpls.first},t}(),he=function(){function t(t){this.destroyOnHide=!0,this.tabChange=new r.EventEmitter,this.type=t.type,this.justify=t.justify,this.orientation=t.orientation}return Object.defineProperty(t.prototype,"justify",{set:function(t){this.justifyClass="fill"===t||"justified"===t?"nav-"+t:"justify-content-"+t},enumerable:!0,configurable:!0}),t.prototype.select=function(t){var e=this._getTabById(t);if(e&&!e.disabled&&this.activeId!==e.id){var n=!1;this.tabChange.emit({activeId:this.activeId,nextId:e.id,preventDefault:function(){n=!0}}),n||(this.activeId=e.id)}},t.prototype.ngAfterContentChecked=function(){var t=this._getTabById(this.activeId);this.activeId=t?t.id:this.tabs.length?this.tabs.first.id:null},t.prototype._getTabById=function(t){var e=this.tabs.filter(function(e){return e.id===t});return e.length?e[0]:null},t}(),me=function(){function t(){}return t.forRoot=function(){return{ngModule:t}},t}(),ge=function(){function t(t,e,n){this.hour=x(t),this.minute=x(e),this.second=x(n)}return t.prototype.changeHour=function(t){void 0===t&&(t=1),this.updateHour((isNaN(this.hour)?0:this.hour)+t)},t.prototype.updateHour=function(t){this.hour=I(t)?(t<0?24+t:t)%24:NaN},t.prototype.changeMinute=function(t){void 0===t&&(t=1),this.updateMinute((isNaN(this.minute)?0:this.minute)+t)},t.prototype.updateMinute=function(t){I(t)?(this.minute=t%60<0?60+t%60:t%60,this.changeHour(Math.floor(t/60))):this.minute=NaN},t.prototype.changeSecond=function(t){void 0===t&&(t=1),this.updateSecond((isNaN(this.second)?0:this.second)+t)},t.prototype.updateSecond=function(t){I(t)?(this.second=t<0?60+t%60:t%60,this.changeMinute(Math.floor(t/60))):this.second=NaN},t.prototype.isValid=function(t){return void 0===t&&(t=!0),I(this.hour)&&I(this.minute)&&(!t||I(this.second))},t.prototype.toString=function(){return(this.hour||0)+":"+(this.minute||0)+":"+(this.second||0)},t}(),ve=function(){function t(){this.meridian=!1,this.spinners=!0,this.seconds=!1,this.hourStep=1,this.minuteStep=1,this.secondStep=1,this.disabled=!1,this.readonlyInputs=!1,this.size="medium"}return t.ngInjectableDef=Object(r.defineInjectable)({factory:function(){return new t},token:t,providedIn:"root"}),t}();function ye(){return new _e}var be=function(){function t(){}return t.ngInjectableDef=Object(r.defineInjectable)({factory:ye,token:t,providedIn:"root"}),t}(),_e=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(u.__extends)(e,t),e.prototype.fromModel=function(t){return t&&R(t.hour)&&R(t.minute)?{hour:t.hour,minute:t.minute,second:R(t.second)?t.second:null}:null},e.prototype.toModel=function(t){return t&&R(t.hour)&&R(t.minute)?{hour:t.hour,minute:t.minute,second:R(t.second)?t.second:null}:null},e}(be),we=function(){function t(t,e){this._ngbTimeAdapter=e,this.onChange=function(t){},this.onTouched=function(){},this.meridian=t.meridian,this.spinners=t.spinners,this.seconds=t.seconds,this.hourStep=t.hourStep,this.minuteStep=t.minuteStep,this.secondStep=t.secondStep,this.disabled=t.disabled,this.readonlyInputs=t.readonlyInputs,this.size=t.size}return t.prototype.writeValue=function(t){var e=this._ngbTimeAdapter.fromModel(t);this.model=e?new ge(e.hour,e.minute,e.second):new ge,this.seconds||e&&I(e.second)||(this.model.second=0)},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this.disabled=t},t.prototype.changeHour=function(t){this.model.changeHour(t),this.propagateModelChange()},t.prototype.changeMinute=function(t){this.model.changeMinute(t),this.propagateModelChange()},t.prototype.changeSecond=function(t){this.model.changeSecond(t),this.propagateModelChange()},t.prototype.updateHour=function(t){var e=this.model.hour>=12,n=x(t);this.model.updateHour(this.meridian&&(e&&n<12||!e&&12===n)?n+12:n),this.propagateModelChange()},t.prototype.updateMinute=function(t){this.model.updateMinute(x(t)),this.propagateModelChange()},t.prototype.updateSecond=function(t){this.model.updateSecond(x(t)),this.propagateModelChange()},t.prototype.toggleMeridian=function(){this.meridian&&this.changeHour(12)},t.prototype.formatHour=function(t){return I(t)?D(this.meridian?t%12==0?12:t%12:t%24):D(NaN)},t.prototype.formatMinSec=function(t){return D(t)},Object.defineProperty(t.prototype,"isSmallSize",{get:function(){return"small"===this.size},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isLargeSize",{get:function(){return"large"===this.size},enumerable:!0,configurable:!0}),t.prototype.ngOnChanges=function(t){t.seconds&&!this.seconds&&this.model&&!I(this.model.second)&&(this.model.second=0,this.propagateModelChange(!1))},t.prototype.propagateModelChange=function(t){void 0===t&&(t=!0),t&&this.onTouched(),this.model.isValid(this.seconds)?this.onChange(this._ngbTimeAdapter.toModel({hour:this.model.hour,minute:this.model.minute,second:this.model.second})):this.onChange(this._ngbTimeAdapter.toModel(null))},t}(),Ce=function(){function t(){}return t.forRoot=function(){return{ngModule:t}},t}(),Oe=function(){function t(){this.autoClose=!0,this.placement="top",this.triggers="hover",this.disableTooltip=!1}return t.ngInjectableDef=Object(r.defineInjectable)({factory:function(){return new t},token:t,providedIn:"root"}),t}(),Se=0,Ee=function(){function t(t,e){this._element=t,this._renderer=e,this.placement="top"}return t.prototype.applyPlacement=function(t){this._renderer.removeClass(this._element.nativeElement,"bs-tooltip-"+this.placement.toString().split("-")[0]),this._renderer.removeClass(this._element.nativeElement,"bs-tooltip-"+this.placement.toString()),this.placement=t,this._renderer.addClass(this._element.nativeElement,"bs-tooltip-"+this.placement.toString().split("-")[0]),this._renderer.addClass(this._element.nativeElement,"bs-tooltip-"+this.placement.toString())},t.prototype.isEventFrom=function(t){return this._element.nativeElement.contains(t.target)},t}(),xe=function(){function t(t,e,n,o,i,a,s,u){var l=this;this._elementRef=t,this._renderer=e,this._ngZone=s,this._document=u,this.shown=new r.EventEmitter,this.hidden=new r.EventEmitter,this._ngbTooltipWindowId="ngb-tooltip-"+Se++,this.autoClose=a.autoClose,this.placement=a.placement,this.triggers=a.triggers,this.container=a.container,this.disableTooltip=a.disableTooltip,this.tooltipClass=a.tooltipClass,this._popupService=new Lt(Ee,n,i,e,o),this._zoneSubscription=s.onStable.subscribe(function(){l._windowRef&&l._windowRef.instance.applyPlacement(Ct(l._elementRef.nativeElement,l._windowRef.location.nativeElement,l.placement,"body"===l.container))})}return Object.defineProperty(t.prototype,"ngbTooltip",{get:function(){return this._ngbTooltip},set:function(t){this._ngbTooltip=t,!t&&this._windowRef&&this.close()},enumerable:!0,configurable:!0}),t.prototype.open=function(t){var e=this;this._windowRef||!this._ngbTooltip||this.disableTooltip||(this._windowRef=this._popupService.open(this._ngbTooltip,t),this._windowRef.instance.tooltipClass=this.tooltipClass,this._windowRef.instance.id=this._ngbTooltipWindowId,this._renderer.setAttribute(this._elementRef.nativeElement,"aria-describedby",this._ngbTooltipWindowId),"body"===this.container&&this._document.querySelector(this.container).appendChild(this._windowRef.location.nativeElement),this._windowRef.instance.placement=Array.isArray(this.placement)?this.placement[0]:this.placement,this._windowRef.changeDetectorRef.detectChanges(),this._windowRef.changeDetectorRef.markForCheck(),this._windowRef.instance.applyPlacement(Ct(this._elementRef.nativeElement,this._windowRef.location.nativeElement,this.placement,"body"===this.container)),this.autoClose&&this._ngZone.runOutsideAngular(function(){var t=!0;requestAnimationFrame(function(){return t=!1}),p([Object(s.a)(e._document,"keyup").pipe(Object(_.a)(e.hidden),Object(y.a)(function(t){return t.which===dt.Escape})),Object(s.a)(e._document,"click").pipe(Object(_.a)(e.hidden),Object(y.a)(function(){return!t}),Object(y.a)(function(t){return e._shouldCloseFromClick(t)}))]).subscribe(function(){return e._ngZone.run(function(){return e.close()})})}),this.shown.emit())},t.prototype.close=function(){null!=this._windowRef&&(this._renderer.removeAttribute(this._elementRef.nativeElement,"aria-describedby"),this._popupService.close(),this._windowRef=null,this.hidden.emit())},t.prototype.toggle=function(){this._windowRef?this.close():this.open()},t.prototype.isOpen=function(){return null!=this._windowRef},t.prototype.ngOnInit=function(){this._unregisterListenersFn=Xt(this._renderer,this._elementRef.nativeElement,this.triggers,this.open.bind(this),this.close.bind(this),this.toggle.bind(this))},t.prototype.ngOnDestroy=function(){this.close(),this._unregisterListenersFn&&this._unregisterListenersFn(),this._zoneSubscription.unsubscribe()},t.prototype._shouldCloseFromClick=function(t){if(2!==t.button){if(!0===this.autoClose)return!0;if("inside"===this.autoClose&&this._isEventFromTooltip(t))return!0;if("outside"===this.autoClose&&!this._isEventFromTooltip(t))return!0}return!1},t.prototype._isEventFromTooltip=function(t){var e=this._windowRef.instance;return!!e&&e.isEventFrom(t)},t}(),ke=function(){function t(){}return t.forRoot=function(){return{ngModule:t}},t}(),Te=function(){function t(){this.highlightClass="ngb-highlight"}return t.prototype.ngOnChanges=function(t){var e,n=k(this.result),r=n.toLowerCase(),o=k(this.term).toLowerCase(),i=0;this.parts=o.length>0?r.split(new RegExp("("+(e=o,e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"))+")")).map(function(t){var e=n.substr(i,t.length);return i+=t.length,e}):[n]},t}(),je=function(){function t(){this.activeIdx=0,this.focusFirst=!0,this.formatter=k,this.selectEvent=new r.EventEmitter,this.activeChangeEvent=new r.EventEmitter}return t.prototype.hasActive=function(){return this.activeIdx>-1&&this.activeIdx=0?this.id+"-"+this.activeIdx:void 0)},t}(),Ie=new r.InjectionToken("live announcer delay",{providedIn:"root",factory:function(){return 100}});function Re(t,e){void 0===e&&(e=!1);var n=t.body.querySelector("#ngb-live");return null==n&&e&&((n=t.createElement("div")).setAttribute("id","ngb-live"),n.setAttribute("aria-live","polite"),n.setAttribute("aria-atomic","true"),n.classList.add("sr-only"),t.body.appendChild(n)),n}var Pe=function(){function t(t,e){this._document=t,this._delay=e}return t.prototype.ngOnDestroy=function(){var t=Re(this._document);t&&t.parentElement.removeChild(t)},t.prototype.say=function(t){var e=Re(this._document,!0),n=this._delay;e.textContent="";var r=function(){return e.textContent=t};null===n?r():setTimeout(r,n)},t.ngInjectableDef=Object(r.defineInjectable)({factory:function(){return new t(Object(r.inject)(o.d),Object(r.inject)(Ie))},token:t,providedIn:"root"}),t}(),De=function(){function t(){this.editable=!0,this.focusFirst=!0,this.showHint=!1,this.placement="bottom-left"}return t.ngInjectableDef=Object(r.defineInjectable)({factory:function(){return new t},token:t,providedIn:"root"}),t}(),Ae=0,Ne=function(){function t(t,e,n,o,i,a,u,l){var c=this;this._elementRef=t,this._viewContainerRef=e,this._renderer=n,this._injector=o,this._live=l,this.autocomplete="off",this.placement="bottom-left",this.selectItem=new r.EventEmitter,this.popupId="ngb-typeahead-"+Ae++,this._onTouched=function(){},this._onChange=function(t){},this.container=a.container,this.editable=a.editable,this.focusFirst=a.focusFirst,this.showHint=a.showHint,this.placement=a.placement,this._valueChanges=Object(s.a)(t.nativeElement,"input").pipe(Object(v.a)(function(t){return t.target.value})),this._resubscribeTypeahead=new g.a(null),this._popupService=new Lt(je,o,e,n,i),this._zoneSubscription=u.onStable.subscribe(function(){c.isPopupOpen()&&Ct(c._elementRef.nativeElement,c._windowRef.location.nativeElement,c.placement,"body"===c.container)})}return t.prototype.ngOnInit=function(){var t=this,e=this._valueChanges.pipe(Object(E.a)(function(e){t._inputValueBackup=e,t.editable&&t._onChange(e)})).pipe(this.ngbTypeahead).pipe(Object(E.a)(function(){t.editable||t._onChange(void 0)})),n=this._resubscribeTypeahead.pipe(Object(b.a)(function(){return e}));this._subscription=this._subscribeToUserInput(n)},t.prototype.ngOnDestroy=function(){this._closePopup(),this._unsubscribeFromUserInput(),this._zoneSubscription.unsubscribe()},t.prototype.registerOnChange=function(t){this._onChange=t},t.prototype.registerOnTouched=function(t){this._onTouched=t},t.prototype.writeValue=function(t){this._writeInputValue(this._formatItemForInput(t))},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t.prototype.onDocumentClick=function(t){t.target!==this._elementRef.nativeElement&&this.dismissPopup()},t.prototype.dismissPopup=function(){this.isPopupOpen()&&(this._closePopup(),this._writeInputValue(this._inputValueBackup))},t.prototype.isPopupOpen=function(){return null!=this._windowRef},t.prototype.handleBlur=function(){this._resubscribeTypeahead.next(null),this._onTouched()},t.prototype.handleKeyDown=function(t){if(this.isPopupOpen()&&dt[k(t.which)])switch(t.which){case dt.ArrowDown:t.preventDefault(),this._windowRef.instance.next(),this._showHint();break;case dt.ArrowUp:t.preventDefault(),this._windowRef.instance.prev(),this._showHint();break;case dt.Enter:case dt.Tab:var e=this._windowRef.instance.getActive();P(e)&&(t.preventDefault(),t.stopPropagation(),this._selectResult(e)),this._closePopup();break;case dt.Escape:t.preventDefault(),this._resubscribeTypeahead.next(null),this.dismissPopup()}},t.prototype._openPopup=function(){var t=this;this.isPopupOpen()||(this._inputValueBackup=this._elementRef.nativeElement.value,this._windowRef=this._popupService.open(),this._windowRef.instance.id=this.popupId,this._windowRef.instance.selectEvent.subscribe(function(e){return t._selectResultClosePopup(e)}),this._windowRef.instance.activeChangeEvent.subscribe(function(e){return t.activeDescendant=e}),"body"===this.container&&window.document.querySelector(this.container).appendChild(this._windowRef.location.nativeElement))},t.prototype._closePopup=function(){this._popupService.close(),this._windowRef=null,this.activeDescendant=void 0},t.prototype._selectResult=function(t){var e=!1;this.selectItem.emit({item:t,preventDefault:function(){e=!0}}),this._resubscribeTypeahead.next(null),e||(this.writeValue(t),this._onChange(t))},t.prototype._selectResultClosePopup=function(t){this._selectResult(t),this._closePopup()},t.prototype._showHint=function(){if(this.showHint&&this._windowRef.instance.hasActive()&&null!=this._inputValueBackup){var t=this._inputValueBackup.toLowerCase(),e=this._formatItemForInput(this._windowRef.instance.getActive());t===e.substr(0,this._inputValueBackup.length).toLowerCase()?(this._writeInputValue(this._inputValueBackup+e.substr(this._inputValueBackup.length)),this._elementRef.nativeElement.setSelectionRange.apply(this._elementRef.nativeElement,[this._inputValueBackup.length,e.length])):this.writeValue(this._windowRef.instance.getActive())}},t.prototype._formatItemForInput=function(t){return null!=t&&this.inputFormatter?this.inputFormatter(t):k(t)},t.prototype._writeInputValue=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",k(t))},t.prototype._subscribeToUserInput=function(t){var e=this;return t.subscribe(function(t){t&&0!==t.length?(e._openPopup(),e._windowRef.instance.focusFirst=e.focusFirst,e._windowRef.instance.results=t,e._windowRef.instance.term=e._elementRef.nativeElement.value,e.resultFormatter&&(e._windowRef.instance.formatter=e.resultFormatter),e.resultTemplate&&(e._windowRef.instance.resultTemplate=e.resultTemplate),e._windowRef.instance.resetActive(),e._windowRef.changeDetectorRef.detectChanges(),e._showHint()):e._closePopup();var n=t?t.length:0;e._live.say(0===n?"No results available":n+" result"+(1===n?"":"s")+" available")})},t.prototype._unsubscribeFromUserInput=function(){this._subscription&&this._subscription.unsubscribe(),this._subscription=null},t}(),Me=function(){function t(){}return t.forRoot=function(){return{ngModule:t}},t}(),Ve=function(){function t(){}return t.forRoot=function(){return{ngModule:t}},t}()},"5bZ5":function(t,e,n){"use strict";var r=n("CcnG"),o=n("gIcY"),i=n("Ip0R");n("UXK2"),n("OC8m"),n("z8n1"),n("Gyf/"),n.d(e,"a",function(){return a}),n.d(e,"b",function(){return l});var a=r["\u0275crt"]({encapsulation:0,styles:[[""]],data:{}});function s(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,35,null,null,null,null,null,null,null)),(t()(),r["\u0275eld"](1,0,null,null,34,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(t,e,n){var o=!0;return"submit"===e&&(o=!1!==r["\u0275nov"](t,3).onSubmit(n)&&o),"reset"===e&&(o=!1!==r["\u0275nov"](t,3).onReset()&&o),o},null,null)),r["\u0275did"](2,16384,null,0,o["\u0275angular_packages_forms_forms_bg"],[],null,null),r["\u0275did"](3,540672,null,0,o.FormGroupDirective,[[8,null],[8,null]],{form:[0,"form"]},null),r["\u0275prd"](2048,null,o.ControlContainer,null,[o.FormGroupDirective]),r["\u0275did"](5,16384,null,0,o.NgControlStatusGroup,[[4,o.ControlContainer]],null,null),(t()(),r["\u0275eld"](6,0,null,null,8,"div",[["class","form-check"]],null,null,null,null,null)),(t()(),r["\u0275eld"](7,0,null,null,5,"input",[["class","form-check-input"],["formControlName","desktopNotifications"],["id","settings-enable-desktop-notifications"],["type","checkbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"change"],[null,"blur"]],function(t,e,n){var o=!0;return"change"===e&&(o=!1!==r["\u0275nov"](t,8).onChange(n.target.checked)&&o),"blur"===e&&(o=!1!==r["\u0275nov"](t,8).onTouched()&&o),o},null,null)),r["\u0275did"](8,16384,null,0,o.CheckboxControlValueAccessor,[r.Renderer2,r.ElementRef],null,null),r["\u0275prd"](1024,null,o.NG_VALUE_ACCESSOR,function(t){return[t]},[o.CheckboxControlValueAccessor]),r["\u0275did"](10,671744,null,0,o.FormControlName,[[3,o.ControlContainer],[8,null],[8,null],[6,o.NG_VALUE_ACCESSOR],[2,o["\u0275angular_packages_forms_forms_j"]]],{name:[0,"name"]},null),r["\u0275prd"](2048,null,o.NgControl,null,[o.FormControlName]),r["\u0275did"](12,16384,null,0,o.NgControlStatus,[[4,o.NgControl]],null,null),(t()(),r["\u0275eld"](13,0,null,null,1,"label",[["class","form-check-label"],["for","settings-enable-desktop-notifications"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,[" Toon bureaubladmeldingen voor dringende meldingen. "])),(t()(),r["\u0275eld"](15,0,null,null,20,"div",[["class","form-group mt-4"]],null,null,null,null,null)),(t()(),r["\u0275eld"](16,0,null,null,1,"label",[["for","default-block-mode"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["Standaard content policy aan het begin van uw lessen"])),(t()(),r["\u0275eld"](18,0,null,null,17,"select",[["class","form-control"],["formControlName","defaultBlockMode"],["id","default-block-mode"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"change"],[null,"blur"]],function(t,e,n){var o=!0;return"change"===e&&(o=!1!==r["\u0275nov"](t,19).onChange(n.target.value)&&o),"blur"===e&&(o=!1!==r["\u0275nov"](t,19).onTouched()&&o),o},null,null)),r["\u0275did"](19,16384,null,0,o.SelectControlValueAccessor,[r.Renderer2,r.ElementRef],null,null),r["\u0275prd"](1024,null,o.NG_VALUE_ACCESSOR,function(t){return[t]},[o.SelectControlValueAccessor]),r["\u0275did"](21,671744,null,0,o.FormControlName,[[3,o.ControlContainer],[8,null],[8,null],[6,o.NG_VALUE_ACCESSOR],[2,o["\u0275angular_packages_forms_forms_j"]]],{name:[0,"name"]},null),r["\u0275prd"](2048,null,o.NgControl,null,[o.FormControlName]),r["\u0275did"](23,16384,null,0,o.NgControlStatus,[[4,o.NgControl]],null,null),(t()(),r["\u0275eld"](24,0,null,null,3,"option",[],null,null,null,null,null)),r["\u0275did"](25,147456,null,0,o.NgSelectOption,[r.ElementRef,r.Renderer2,[2,o.SelectControlValueAccessor]],{ngValue:[0,"ngValue"]},null),r["\u0275did"](26,147456,null,0,o["\u0275angular_packages_forms_forms_r"],[r.ElementRef,r.Renderer2,[8,null]],{ngValue:[0,"ngValue"]},null),(t()(),r["\u0275ted"](-1,null,["Content uit uw lespakket toestaan (aanbevolen)"])),(t()(),r["\u0275eld"](28,0,null,null,3,"option",[],null,null,null,null,null)),r["\u0275did"](29,147456,null,0,o.NgSelectOption,[r.ElementRef,r.Renderer2,[2,o.SelectControlValueAccessor]],{ngValue:[0,"ngValue"]},null),r["\u0275did"](30,147456,null,0,o["\u0275angular_packages_forms_forms_r"],[r.ElementRef,r.Renderer2,[8,null]],{ngValue:[0,"ngValue"]},null),(t()(),r["\u0275ted"](-1,null,["Alles toestaan"])),(t()(),r["\u0275eld"](32,0,null,null,3,"option",[],null,null,null,null,null)),r["\u0275did"](33,147456,null,0,o.NgSelectOption,[r.ElementRef,r.Renderer2,[2,o.SelectControlValueAccessor]],{ngValue:[0,"ngValue"]},null),r["\u0275did"](34,147456,null,0,o["\u0275angular_packages_forms_forms_r"],[r.ElementRef,r.Renderer2,[8,null]],{ngValue:[0,"ngValue"]},null),(t()(),r["\u0275ted"](-1,null,["Alles blokkeren"]))],function(t,e){var n=e.component;t(e,3,0,n.settingsForm),t(e,10,0,"desktopNotifications"),t(e,21,0,"defaultBlockMode"),t(e,25,0,n.roomModes.default),t(e,26,0,n.roomModes.default),t(e,29,0,n.roomModes.exempted),t(e,30,0,n.roomModes.exempted),t(e,33,0,n.roomModes.grounded),t(e,34,0,n.roomModes.grounded)},function(t,e){t(e,1,0,r["\u0275nov"](e,5).ngClassUntouched,r["\u0275nov"](e,5).ngClassTouched,r["\u0275nov"](e,5).ngClassPristine,r["\u0275nov"](e,5).ngClassDirty,r["\u0275nov"](e,5).ngClassValid,r["\u0275nov"](e,5).ngClassInvalid,r["\u0275nov"](e,5).ngClassPending),t(e,7,0,r["\u0275nov"](e,12).ngClassUntouched,r["\u0275nov"](e,12).ngClassTouched,r["\u0275nov"](e,12).ngClassPristine,r["\u0275nov"](e,12).ngClassDirty,r["\u0275nov"](e,12).ngClassValid,r["\u0275nov"](e,12).ngClassInvalid,r["\u0275nov"](e,12).ngClassPending),t(e,18,0,r["\u0275nov"](e,23).ngClassUntouched,r["\u0275nov"](e,23).ngClassTouched,r["\u0275nov"](e,23).ngClassPristine,r["\u0275nov"](e,23).ngClassDirty,r["\u0275nov"](e,23).ngClassValid,r["\u0275nov"](e,23).ngClassInvalid,r["\u0275nov"](e,23).ngClassPending)})}function u(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,1,"span",[["class","text-danger"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,[" Instellingen kunnen niet worden aangepast als je niet ingelogd bent. "]))],null,null)}function l(t){return r["\u0275vid"](0,[(t()(),r["\u0275and"](16777216,null,null,1,null,s)),r["\u0275did"](1,16384,null,0,i.o,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),r["\u0275and"](0,[["noToken",2]],null,0,null,u))],function(t,e){t(e,1,0,e.component.ws.token,r["\u0275nov"](e,2))},null)}},"60iU":function(t,e,n){"use strict";n.d(e,"a",function(){return a});var r=n("G5J1"),o=n("F/XL"),i=n("XlPw"),a=function(){function t(t,e,n){this.kind=t,this.value=e,this.error=n,this.hasValue="N"===t}return t.prototype.observe=function(t){switch(this.kind){case"N":return t.next&&t.next(this.value);case"E":return t.error&&t.error(this.error);case"C":return t.complete&&t.complete()}},t.prototype.do=function(t,e,n){switch(this.kind){case"N":return t&&t(this.value);case"E":return e&&e(this.error);case"C":return n&&n()}},t.prototype.accept=function(t,e,n){return t&&"function"==typeof t.next?this.observe(t):this.do(t,e,n)},t.prototype.toObservable=function(){switch(this.kind){case"N":return Object(o.a)(this.value);case"E":return Object(i.a)(this.error);case"C":return Object(r.b)()}throw new Error("unexpected notification kind value")},t.createNext=function(e){return void 0!==e?new t("N",e):t.undefinedValueNotification},t.createError=function(e){return new t("E",void 0,e)},t.createComplete=function(){return t.completeNotification},t.completeNotification=new t("C"),t.undefinedValueNotification=new t("N",void 0),t}()},"67Y/":function(t,e,n){"use strict";n.d(e,"a",function(){return i});var r=n("mrSG"),o=n("FFOo");function i(t,e){return function(n){if("function"!=typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new a(t,e))}}var a=function(){function t(t,e){this.project=t,this.thisArg=e}return t.prototype.call=function(t,e){return e.subscribe(new s(t,this.project,this.thisArg))},t}(),s=function(t){function e(e,n,r){var o=t.call(this,e)||this;return o.project=n,o.count=0,o.thisArg=r||o,o}return r.__extends(e,t),e.prototype._next=function(t){var e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(t){return void this.destination.error(t)}this.destination.next(e)},e}(o.a)},"6ahw":function(t,e,n){"use strict";n.d(e,"a",function(){return i});var r=n("iLxQ"),o=n("DKTb"),i={closed:!0,next:function(t){},error:function(t){if(r.a.useDeprecatedSynchronousErrorHandling)throw t;Object(o.a)(t)},complete:function(){}}},"6blF":function(t,e,n){"use strict";var r=n("FFOo"),o=n("L/V9"),i=n("6ahw"),a=n("xTla"),s=n("y3By"),u=n("iLxQ");n.d(e,"a",function(){return l});var l=function(){function t(t){this._isScalar=!1,t&&(this._subscribe=t)}return t.prototype.lift=function(e){var n=new t;return n.source=this,n.operator=e,n},t.prototype.subscribe=function(t,e,n){var a=this.operator,s=function(t,e,n){if(t){if(t instanceof r.a)return t;if(t[o.a])return t[o.a]()}return t||e||n?new r.a(t,e,n):new r.a(i.a)}(t,e,n);if(a?a.call(s,this.source):s._addParentTeardownLogic(this.source||u.a.useDeprecatedSynchronousErrorHandling&&!s.syncErrorThrowable?this._subscribe(s):this._trySubscribe(s)),u.a.useDeprecatedSynchronousErrorHandling&&s.syncErrorThrowable&&(s.syncErrorThrowable=!1,s.syncErrorThrown))throw s.syncErrorValue;return s},t.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){u.a.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=e),t.error(e)}},t.prototype.forEach=function(t,e){var n=this;return new(e=c(e))(function(e,r){var o;o=n.subscribe(function(e){try{t(e)}catch(t){r(t),o&&o.unsubscribe()}},r,e)})},t.prototype._subscribe=function(t){var e=this.source;return e&&e.subscribe(t)},t.prototype[a.a]=function(){return this},t.prototype.pipe=function(){for(var t=[],e=0;e0),t(e,5,0,e.context.index!==n.months.length-1)},function(t,e){var n=e.component;t(e,3,0,n.i18n.getMonthFullName(e.context.$implicit.number,e.context.$implicit.year),n.i18n.getYearNumerals(e.context.$implicit.year))})}function N(t){return r["\u0275vid"](0,[(t()(),r["\u0275and"](16777216,null,null,1,null,A)),r["\u0275did"](1,278528,null,0,i.n,[r.ViewContainerRef,r.TemplateRef,r.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(t()(),r["\u0275and"](0,null,null,0))],function(t,e){t(e,1,0,e.component.months)},null)}function M(t){return r["\u0275vid"](2,[(t()(),r["\u0275eld"](0,0,null,null,2,"div",[["class","ngb-dp-arrow"]],null,null,null,null,null)),(t()(),r["\u0275eld"](1,0,null,null,1,"button",[["aria-label","Previous month"],["class","btn btn-link ngb-dp-arrow-btn"],["title","Previous month"],["type","button"]],[[8,"disabled",0]],[[null,"click"]],function(t,e,n){var r=!0,o=t.component;return"click"===e&&(r=0!=!!o.navigate.emit(o.navigation.PREV)&&r),r},null,null)),(t()(),r["\u0275eld"](2,0,null,null,0,"span",[["class","ngb-dp-navigation-chevron"]],null,null,null,null,null)),(t()(),r["\u0275and"](16777216,null,null,1,null,R)),r["\u0275did"](4,16384,null,0,i.o,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),r["\u0275and"](16777216,null,null,1,null,N)),r["\u0275did"](6,16384,null,0,i.o,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),r["\u0275eld"](7,0,null,null,2,"div",[["class","ngb-dp-arrow right"]],null,null,null,null,null)),(t()(),r["\u0275eld"](8,0,null,null,1,"button",[["aria-label","Next month"],["class","btn btn-link ngb-dp-arrow-btn"],["title","Next month"],["type","button"]],[[8,"disabled",0]],[[null,"click"]],function(t,e,n){var r=!0,o=t.component;return"click"===e&&(r=0!=!!o.navigate.emit(o.navigation.NEXT)&&r),r},null,null)),(t()(),r["\u0275eld"](9,0,null,null,0,"span",[["class","ngb-dp-navigation-chevron"]],null,null,null,null,null))],function(t,e){var n=e.component;t(e,4,0,n.showSelect),t(e,6,0,!n.showSelect)},function(t,e){var n=e.component;t(e,1,0,n.prevDisabled),t(e,8,0,n.nextDisabled)})}var V=r["\u0275crt"]({encapsulation:0,styles:["[_nghost-%COMP%] > select[_ngcontent-%COMP%] {\n display: flex;\n display: -ms-flexbox;\n -ms-flex: 1 1 auto;\n width: 100%;\n padding: 0 0.5rem;\n font-size: 0.875rem;\n height: 1.85rem;\n }"],data:{}});function F(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,3,"option",[],[[1,"aria-label",0]],null,null,null,null)),r["\u0275did"](1,147456,null,0,a.NgSelectOption,[r.ElementRef,r.Renderer2,[8,null]],{value:[0,"value"]},null),r["\u0275did"](2,147456,null,0,a["\u0275angular_packages_forms_forms_r"],[r.ElementRef,r.Renderer2,[8,null]],{value:[0,"value"]},null),(t()(),r["\u0275ted"](3,null,["",""]))],function(t,e){t(e,1,0,e.context.$implicit),t(e,2,0,e.context.$implicit)},function(t,e){var n=e.component;t(e,0,0,n.i18n.getMonthFullName(e.context.$implicit,null==n.date?null:n.date.year)),t(e,3,0,n.i18n.getMonthShortName(e.context.$implicit,null==n.date?null:n.date.year))})}function L(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,3,"option",[],null,null,null,null,null)),r["\u0275did"](1,147456,null,0,a.NgSelectOption,[r.ElementRef,r.Renderer2,[8,null]],{value:[0,"value"]},null),r["\u0275did"](2,147456,null,0,a["\u0275angular_packages_forms_forms_r"],[r.ElementRef,r.Renderer2,[8,null]],{value:[0,"value"]},null),(t()(),r["\u0275ted"](3,null,["",""]))],function(t,e){t(e,1,0,e.context.$implicit),t(e,2,0,e.context.$implicit)},function(t,e){t(e,3,0,e.component.i18n.getYearNumerals(e.context.$implicit))})}function B(t){return r["\u0275vid"](2,[(t()(),r["\u0275eld"](0,0,null,null,2,"select",[["aria-label","Select month"],["class","custom-select"],["title","Select month"]],[[8,"disabled",0],[8,"value",0]],[[null,"change"]],function(t,e,n){var r=!0;return"change"===e&&(r=!1!==t.component.changeMonth(n.target.value)&&r),r},null,null)),(t()(),r["\u0275and"](16777216,null,null,1,null,F)),r["\u0275did"](2,278528,null,0,i.n,[r.ViewContainerRef,r.TemplateRef,r.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(t()(),r["\u0275eld"](3,0,null,null,2,"select",[["aria-label","Select year"],["class","custom-select"],["title","Select year"]],[[8,"disabled",0],[8,"value",0]],[[null,"change"]],function(t,e,n){var r=!0;return"change"===e&&(r=!1!==t.component.changeYear(n.target.value)&&r),r},null,null)),(t()(),r["\u0275and"](16777216,null,null,1,null,L)),r["\u0275did"](5,278528,null,0,i.n,[r.ViewContainerRef,r.TemplateRef,r.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],function(t,e){var n=e.component;t(e,2,0,n.months),t(e,5,0,n.years)},function(t,e){var n=e.component;t(e,0,0,n.disabled,null==n.date?null:n.date.month),t(e,3,0,n.disabled,null==n.date?null:n.date.year)})}var U=r["\u0275crt"]({encapsulation:0,styles:["[_nghost-%COMP%] {\n border: 1px solid #dfdfdf;\n border-radius: 0.25rem;\n display: inline-block;\n }\n .ngb-dp-month[_ngcontent-%COMP%] {\n pointer-events: none;\n }\n .ngb-dp-header[_ngcontent-%COMP%] {\n border-bottom: 0;\n border-radius: 0.25rem 0.25rem 0 0;\n padding-top: 0.25rem;\n }\n ngb-datepicker-month-view[_ngcontent-%COMP%] {\n pointer-events: auto;\n }\n .ngb-dp-month-name[_ngcontent-%COMP%] {\n font-size: larger;\n height: 2rem;\n line-height: 2rem;\n text-align: center;\n }\n .ngb-dp-month + .ngb-dp-month > ngb-datepicker-month-view > .ngb-dp-week {\n padding-left: 1rem;\n }\n .ngb-dp-month + .ngb-dp-month > .ngb-dp-month-name {\n padding-left: 1rem;\n }\n .ngb-dp-month:last-child .ngb-dp-week {\n padding-right: .25rem;\n }\n .ngb-dp-month:first-child .ngb-dp-week {\n padding-left: .25rem;\n }\n .ngb-dp-month > ngb-datepicker-month-view > .ngb-dp-week:last-child {\n padding-bottom: .25rem;\n }\n .ngb-dp-months[_ngcontent-%COMP%] {\n display: -ms-flexbox;\n display: flex;\n }"],data:{}});function H(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,1,"div",[["class","btn-light"],["ngbDatepickerDayView",""]],[[2,"bg-primary",null],[2,"text-white",null],[2,"text-muted",null],[2,"outside",null],[2,"active",null]],null,null,j,T)),r["\u0275did"](1,49152,null,0,o.jb,[o.q],{currentMonth:[0,"currentMonth"],date:[1,"date"],disabled:[2,"disabled"],focused:[3,"focused"],selected:[4,"selected"]},null)],function(t,e){t(e,1,0,e.context.currentMonth,e.context.date,e.context.disabled,e.context.focused,e.context.selected)},function(t,e){t(e,0,0,r["\u0275nov"](e,1).selected,r["\u0275nov"](e,1).selected,r["\u0275nov"](e,1).isMuted(),r["\u0275nov"](e,1).isMuted(),r["\u0275nov"](e,1).focused)})}function z(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,1,"ngb-datepicker-navigation",[],null,[[null,"navigate"],[null,"select"]],function(t,e,n){var r=!0,o=t.component;return"navigate"===e&&(r=!1!==o.onNavigateEvent(n)&&r),"select"===e&&(r=!1!==o.onNavigateDateSelect(n)&&r),r},M,I)),r["\u0275did"](1,49152,null,0,o.kb,[o.q],{date:[0,"date"],disabled:[1,"disabled"],months:[2,"months"],showSelect:[3,"showSelect"],prevDisabled:[4,"prevDisabled"],nextDisabled:[5,"nextDisabled"],selectBoxes:[6,"selectBoxes"]},{navigate:"navigate",select:"select"})],function(t,e){var n=e.component;t(e,1,0,n.model.firstDate,n.model.disabled,n.model.months,"select"===n.model.navigation,n.model.prevDisabled,n.model.nextDisabled,n.model.selectBoxes)},null)}function G(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,1,"div",[["class","ngb-dp-month-name bg-light"]],null,null,null,null,null)),(t()(),r["\u0275ted"](1,null,[" "," "," "]))],null,function(t,e){var n=e.component;t(e,1,0,n.i18n.getMonthFullName(e.parent.context.$implicit.number,e.parent.context.$implicit.year),n.i18n.getYearNumerals(e.parent.context.$implicit.year))})}function q(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,4,"div",[["class","ngb-dp-month"]],null,null,null,null,null)),(t()(),r["\u0275and"](16777216,null,null,1,null,G)),r["\u0275did"](2,16384,null,0,i.o,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),r["\u0275eld"](3,0,null,null,1,"ngb-datepicker-month-view",[["role","grid"]],null,[[null,"select"]],function(t,e,n){var r=!0;return"select"===e&&(r=!1!==t.component.onDateSelect(n)&&r),r},k,v)),r["\u0275did"](4,49152,null,0,o.ib,[o.q],{dayTemplate:[0,"dayTemplate"],month:[1,"month"],showWeekdays:[2,"showWeekdays"],showWeekNumbers:[3,"showWeekNumbers"]},{select:"select"})],function(t,e){var n=e.component;t(e,2,0,"none"===n.navigation||n.displayMonths>1&&"select"===n.navigation),t(e,4,0,n.dayTemplate||r["\u0275nov"](e.parent,0),e.context.$implicit,n.showWeekdays,n.showWeekNumbers)},null)}function $(t){return r["\u0275vid"](2,[(t()(),r["\u0275and"](0,[["dt",2]],null,0,null,H)),(t()(),r["\u0275eld"](1,0,null,null,2,"div",[["class","ngb-dp-header bg-light"]],null,null,null,null,null)),(t()(),r["\u0275and"](16777216,null,null,1,null,z)),r["\u0275did"](3,16384,null,0,i.o,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),r["\u0275eld"](4,0,null,null,2,"div",[["class","ngb-dp-months"]],null,[[null,"keydown"],[null,"focusin"],[null,"focusout"]],function(t,e,n){var r=!0,o=t.component;return"keydown"===e&&(r=!1!==o.onKeyDown(n)&&r),"focusin"===e&&(r=!1!==o.showFocus(!0)&&r),"focusout"===e&&(r=!1!==o.showFocus(!1)&&r),r},null,null)),(t()(),r["\u0275and"](16777216,null,null,1,null,q)),r["\u0275did"](6,278528,null,0,i.n,[r.ViewContainerRef,r.TemplateRef,r.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],function(t,e){var n=e.component;t(e,3,0,"none"!==n.navigation),t(e,6,0,n.model.months)},null)}var W=r["\u0275ccf"]("ngb-datepicker",o.o,function(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,4,"ngb-datepicker",[],null,null,null,$,U)),r["\u0275prd"](5120,null,a.NG_VALUE_ACCESSOR,function(t){return[t]},[o.o]),r["\u0275prd"](512,null,o.sb,o.sb,[o.i,o.q]),r["\u0275prd"](512,null,o.tb,o.tb,[o.sb,o.i]),r["\u0275did"](4,770048,null,0,o.o,[o.tb,o.sb,o.i,o.q,o.p,r.ChangeDetectorRef,r.ElementRef,o.n,r.NgZone],null,null)],function(t,e){t(e,4,0)},null)},{dayTemplate:"dayTemplate",displayMonths:"displayMonths",firstDayOfWeek:"firstDayOfWeek",markDisabled:"markDisabled",maxDate:"maxDate",minDate:"minDate",navigation:"navigation",outsideDays:"outsideDays",showWeekdays:"showWeekdays",showWeekNumbers:"showWeekNumbers",startDate:"startDate"},{navigate:"navigate",select:"select"},[]),Z=r["\u0275crt"]({encapsulation:0,styles:[".bs-popover-top[_nghost-%COMP%] .arrow[_ngcontent-%COMP%], .bs-popover-bottom[_nghost-%COMP%] .arrow[_ngcontent-%COMP%] {\n left: 50%;\n margin-left: -5px;\n }\n\n .bs-popover-top-left[_nghost-%COMP%] .arrow[_ngcontent-%COMP%], .bs-popover-bottom-left[_nghost-%COMP%] .arrow[_ngcontent-%COMP%] {\n left: 2em;\n }\n\n .bs-popover-top-right[_nghost-%COMP%] .arrow[_ngcontent-%COMP%], .bs-popover-bottom-right[_nghost-%COMP%] .arrow[_ngcontent-%COMP%] {\n left: auto;\n right: 2em;\n }\n\n .bs-popover-left[_nghost-%COMP%] .arrow[_ngcontent-%COMP%], .bs-popover-right[_nghost-%COMP%] .arrow[_ngcontent-%COMP%] {\n top: 50%;\n margin-top: -5px;\n }\n\n .bs-popover-left-top[_nghost-%COMP%] .arrow[_ngcontent-%COMP%], .bs-popover-right-top[_nghost-%COMP%] .arrow[_ngcontent-%COMP%] {\n top: 0.7em;\n }\n\n .bs-popover-left-bottom[_nghost-%COMP%] .arrow[_ngcontent-%COMP%], .bs-popover-right-bottom[_nghost-%COMP%] .arrow[_ngcontent-%COMP%] {\n top: auto;\n bottom: 0.7em;\n }"],data:{}});function K(t){return r["\u0275vid"](0,[(t()(),r["\u0275ted"](0,null,["",""]))],null,function(t,e){t(e,0,0,e.component.title)})}function Q(t){return r["\u0275vid"](0,[(t()(),r["\u0275and"](0,null,null,0))],null,null)}function Y(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,3,"h3",[["class","popover-header"]],null,null,null,null,null)),(t()(),r["\u0275and"](0,[["simpleTitle",2]],null,0,null,K)),(t()(),r["\u0275and"](16777216,null,null,1,null,Q)),r["\u0275did"](3,540672,null,0,i.t,[r.ViewContainerRef],{ngTemplateOutletContext:[0,"ngTemplateOutletContext"],ngTemplateOutlet:[1,"ngTemplateOutlet"]},null)],function(t,e){var n=e.component;t(e,3,0,n.context,n.isTitleTemplate()?n.title:r["\u0275nov"](e,1))},null)}function J(t){return r["\u0275vid"](2,[(t()(),r["\u0275eld"](0,0,null,null,0,"div",[["class","arrow"]],null,null,null,null,null)),(t()(),r["\u0275and"](16777216,null,null,1,null,Y)),r["\u0275did"](2,16384,null,0,i.o,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),r["\u0275eld"](3,0,null,null,1,"div",[["class","popover-body"]],null,null,null,null,null)),r["\u0275ncd"](null,0)],function(t,e){t(e,2,0,null!=e.component.title)},null)}var X=r["\u0275ccf"]("ngb-popover-window",o.pb,function(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,1,"ngb-popover-window",[["role","tooltip"]],[[8,"className",0],[8,"id",0]],null,null,J,Z)),r["\u0275did"](1,49152,null,0,o.pb,[r.ElementRef,r.Renderer2],null,null)],null,function(t,e){t(e,0,0,"popover bs-popover-"+r["\u0275nov"](e,1).placement.split("-")[0]+" bs-popover-"+r["\u0275nov"](e,1).placement+(r["\u0275nov"](e,1).popoverClass?" "+r["\u0275nov"](e,1).popoverClass:""),r["\u0275nov"](e,1).id)})},{placement:"placement",title:"title",id:"id",popoverClass:"popoverClass",context:"context"},{},["*"]),tt=r["\u0275crt"]({encapsulation:2,styles:[],data:{}});function et(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),r["\u0275ted"](1,null,["","%"]))],null,function(t,e){t(e,1,0,e.component.getPercentValue())})}function nt(t){return r["\u0275vid"](2,[(t()(),r["\u0275eld"](0,0,null,null,4,"div",[["class","progress"]],[[4,"height",null]],null,null,null,null)),(t()(),r["\u0275eld"](1,0,null,null,3,"div",[["aria-valuemin","0"],["role","progressbar"]],[[8,"className",0],[4,"width","%"],[1,"aria-valuenow",0],[1,"aria-valuemax",0]],null,null,null,null)),(t()(),r["\u0275and"](16777216,null,null,1,null,et)),r["\u0275did"](3,16384,null,0,i.o,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),r["\u0275ncd"](null,0)],function(t,e){t(e,3,0,e.component.showValue)},function(t,e){var n=e.component;t(e,0,0,n.height),t(e,1,0,r["\u0275inlineInterpolate"](3,"progress-bar",n.type?" bg-"+n.type:"","",n.animated?" progress-bar-animated":"","",n.striped?" progress-bar-striped":"",""),n.getPercentValue(),n.getValue(),n.max)})}var rt=r["\u0275crt"]({encapsulation:2,styles:[],data:{}});function ot(t){return r["\u0275vid"](0,[(t()(),r["\u0275and"](0,null,null,0))],null,null)}function it(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,4,"li",[["class","nav-item"]],null,null,null,null,null)),(t()(),r["\u0275eld"](1,0,null,null,3,"a",[["class","nav-link"],["href",""],["role","tab"]],[[8,"id",0],[2,"active",null],[2,"disabled",null],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=0!=!!t.component.select(t.context.$implicit.id)&&r),r},null,null)),(t()(),r["\u0275ted"](2,null,[" ",""])),(t()(),r["\u0275and"](16777216,null,null,1,null,ot)),r["\u0275did"](4,540672,null,0,i.t,[r.ViewContainerRef],{ngTemplateOutlet:[0,"ngTemplateOutlet"]},null)],function(t,e){t(e,4,0,null==e.context.$implicit.titleTpl?null:e.context.$implicit.titleTpl.templateRef)},function(t,e){var n=e.component;t(e,1,0,e.context.$implicit.id,e.context.$implicit.id===n.activeId,e.context.$implicit.disabled,e.context.$implicit.disabled?"-1":void 0,n.destroyOnHide&&e.context.$implicit.id!==n.activeId?null:e.context.$implicit.id+"-panel",e.context.$implicit.id===n.activeId,e.context.$implicit.disabled),t(e,2,0,e.context.$implicit.title)})}function at(t){return r["\u0275vid"](0,[(t()(),r["\u0275and"](0,null,null,0))],null,null)}function st(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,2,"div",[["role","tabpanel"]],[[8,"className",0],[1,"aria-labelledby",0],[8,"id",0],[1,"aria-expanded",0]],null,null,null,null)),(t()(),r["\u0275and"](16777216,null,null,1,null,at)),r["\u0275did"](2,540672,null,0,i.t,[r.ViewContainerRef],{ngTemplateOutlet:[0,"ngTemplateOutlet"]},null)],function(t,e){t(e,2,0,null==e.parent.context.$implicit.contentTpl?null:e.parent.context.$implicit.contentTpl.templateRef)},function(t,e){var n=e.component;t(e,0,0,r["\u0275inlineInterpolate"](1,"tab-pane ",e.parent.context.$implicit.id===n.activeId?"active":null,""),e.parent.context.$implicit.id,r["\u0275inlineInterpolate"](1,"",e.parent.context.$implicit.id,"-panel"),e.parent.context.$implicit.id===n.activeId)})}function ut(t){return r["\u0275vid"](0,[(t()(),r["\u0275and"](16777216,null,null,1,null,st)),r["\u0275did"](1,16384,null,0,i.o,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),r["\u0275and"](0,null,null,0))],function(t,e){var n=e.component;t(e,1,0,!n.destroyOnHide||e.context.$implicit.id===n.activeId)},null)}function lt(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,2,"ul",[["role","tablist"]],[[8,"className",0]],null,null,null,null)),(t()(),r["\u0275and"](16777216,null,null,1,null,it)),r["\u0275did"](2,278528,null,0,i.n,[r.ViewContainerRef,r.TemplateRef,r.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(t()(),r["\u0275eld"](3,0,null,null,2,"div",[["class","tab-content"]],null,null,null,null,null)),(t()(),r["\u0275and"](16777216,null,null,1,null,ut)),r["\u0275did"](5,278528,null,0,i.n,[r.ViewContainerRef,r.TemplateRef,r.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],function(t,e){var n=e.component;t(e,2,0,n.tabs),t(e,5,0,n.tabs)},function(t,e){var n=e.component;t(e,0,0,"nav nav-"+n.type+("horizontal"==n.orientation?" "+n.justifyClass:" flex-column"))})}var ct=r["\u0275crt"]({encapsulation:0,styles:[".bs-tooltip-top[_nghost-%COMP%] .arrow[_ngcontent-%COMP%], .bs-tooltip-bottom[_nghost-%COMP%] .arrow[_ngcontent-%COMP%] {\n left: calc(50% - 0.4rem);\n }\n\n .bs-tooltip-top-left[_nghost-%COMP%] .arrow[_ngcontent-%COMP%], .bs-tooltip-bottom-left[_nghost-%COMP%] .arrow[_ngcontent-%COMP%] {\n left: 1em;\n }\n\n .bs-tooltip-top-right[_nghost-%COMP%] .arrow[_ngcontent-%COMP%], .bs-tooltip-bottom-right[_nghost-%COMP%] .arrow[_ngcontent-%COMP%] {\n left: auto;\n right: 0.8rem;\n }\n\n .bs-tooltip-left[_nghost-%COMP%] .arrow[_ngcontent-%COMP%], .bs-tooltip-right[_nghost-%COMP%] .arrow[_ngcontent-%COMP%] {\n top: calc(50% - 0.4rem);\n }\n\n .bs-tooltip-left-top[_nghost-%COMP%] .arrow[_ngcontent-%COMP%], .bs-tooltip-right-top[_nghost-%COMP%] .arrow[_ngcontent-%COMP%] {\n top: 0.4rem;\n }\n\n .bs-tooltip-left-bottom[_nghost-%COMP%] .arrow[_ngcontent-%COMP%], .bs-tooltip-right-bottom[_nghost-%COMP%] .arrow[_ngcontent-%COMP%] {\n top: auto;\n bottom: 0.4rem;\n }"],data:{}});function dt(t){return r["\u0275vid"](2,[(t()(),r["\u0275eld"](0,0,null,null,0,"div",[["class","arrow"]],null,null,null,null,null)),(t()(),r["\u0275eld"](1,0,null,null,1,"div",[["class","tooltip-inner"]],null,null,null,null,null)),r["\u0275ncd"](null,0)],null,null)}var ft=r["\u0275ccf"]("ngb-tooltip-window",o.qb,function(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,1,"ngb-tooltip-window",[["role","tooltip"]],[[8,"className",0],[8,"id",0]],null,null,dt,ct)),r["\u0275did"](1,49152,null,0,o.qb,[r.ElementRef,r.Renderer2],null,null)],null,function(t,e){t(e,0,0,"tooltip show bs-tooltip-"+r["\u0275nov"](e,1).placement.split("-")[0]+" bs-tooltip-"+r["\u0275nov"](e,1).placement+(r["\u0275nov"](e,1).tooltipClass?" "+r["\u0275nov"](e,1).tooltipClass:""),r["\u0275nov"](e,1).id)})},{placement:"placement",id:"id",tooltipClass:"tooltipClass"},{},["*"]),pt=r["\u0275crt"]({encapsulation:2,styles:[],data:{}});function ht(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,1,"ngb-highlight",[],null,null,null,Ot,bt)),r["\u0275did"](1,573440,null,0,o.v,[],{result:[0,"result"],term:[1,"term"]},null)],function(t,e){t(e,1,0,e.context.formatter(e.context.result),e.context.term)},null)}function mt(t){return r["\u0275vid"](0,[(t()(),r["\u0275and"](0,null,null,0))],null,null)}function gt(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,3,"button",[["class","dropdown-item"],["role","option"],["type","button"]],[[8,"id",0],[2,"active",null]],[[null,"mouseenter"],[null,"click"]],function(t,e,n){var r=!0,o=t.component;return"mouseenter"===e&&(r=!1!==o.markActive(t.context.index)&&r),"click"===e&&(r=!1!==o.select(t.context.$implicit)&&r),r},null,null)),(t()(),r["\u0275and"](16777216,null,null,2,null,mt)),r["\u0275did"](2,540672,null,0,i.t,[r.ViewContainerRef],{ngTemplateOutletContext:[0,"ngTemplateOutletContext"],ngTemplateOutlet:[1,"ngTemplateOutlet"]},null),r["\u0275pod"](3,{result:0,term:1,formatter:2})],function(t,e){var n=e.component;t(e,2,0,t(e,3,0,e.context.$implicit,n.term,n.formatter),n.resultTemplate||r["\u0275nov"](e.parent,0))},function(t,e){var n=e.component;t(e,0,0,n.id+"-"+e.context.index,e.context.index===n.activeIdx)})}function vt(t){return r["\u0275vid"](0,[(t()(),r["\u0275and"](0,[["rt",2]],null,0,null,ht)),(t()(),r["\u0275and"](16777216,null,null,1,null,gt)),r["\u0275did"](2,278528,null,0,i.n,[r.ViewContainerRef,r.TemplateRef,r.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],function(t,e){t(e,2,0,e.component.results)},null)}var yt=r["\u0275ccf"]("ngb-typeahead-window",o.rb,function(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,1,"ngb-typeahead-window",[["class","dropdown-menu show"],["role","listbox"]],[[8,"id",0]],null,null,vt,pt)),r["\u0275did"](1,114688,null,0,o.rb,[],null,null)],function(t,e){t(e,1,0)},function(t,e){t(e,0,0,r["\u0275nov"](e,1).id)})},{id:"id",focusFirst:"focusFirst",results:"results",term:"term",formatter:"formatter",resultTemplate:"resultTemplate"},{selectEvent:"select",activeChangeEvent:"activeChange"},[]),bt=r["\u0275crt"]({encapsulation:0,styles:[".ngb-highlight[_ngcontent-%COMP%] {\n font-weight: bold;\n }"],data:{}});function _t(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,1,"span",[],[[8,"className",0]],null,null,null,null)),(t()(),r["\u0275ted"](1,null,["",""]))],null,function(t,e){t(e,0,0,e.component.highlightClass),t(e,1,0,e.parent.context.$implicit)})}function wt(t){return r["\u0275vid"](0,[(t()(),r["\u0275ted"](0,null,["",""]))],null,function(t,e){t(e,0,0,e.parent.context.$implicit)})}function Ct(t){return r["\u0275vid"](0,[(t()(),r["\u0275and"](16777216,null,null,1,null,_t)),r["\u0275did"](1,16384,null,0,i.o,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),r["\u0275and"](0,[["even",2]],null,0,null,wt))],function(t,e){t(e,1,0,e.context.odd,r["\u0275nov"](e,2))},null)}function Ot(t){return r["\u0275vid"](2,[(t()(),r["\u0275and"](16777216,null,null,1,null,Ct)),r["\u0275did"](1,278528,null,0,i.n,[r.ViewContainerRef,r.TemplateRef,r.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],function(t,e){t(e,1,0,e.component.parts)},null)}var St=r["\u0275crt"]({encapsulation:2,styles:[],data:{}});function Et(t){return r["\u0275vid"](0,[],null,null)}var xt=r["\u0275ccf"]("ngb-modal-backdrop",o.ub,function(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,1,"ngb-modal-backdrop",[["style","z-index: 1050"]],[[8,"className",0]],null,null,Et,St)),r["\u0275did"](1,49152,null,0,o.ub,[],null,null)],null,function(t,e){t(e,0,0,"modal-backdrop fade show"+(r["\u0275nov"](e,1).backdropClass?" "+r["\u0275nov"](e,1).backdropClass:""))})},{backdropClass:"backdropClass"},{},[]),kt=r["\u0275crt"]({encapsulation:2,styles:[],data:{}});function Tt(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,2,"div",[["role","document"]],[[8,"className",0]],null,null,null,null)),(t()(),r["\u0275eld"](1,0,null,null,1,"div",[["class","modal-content"]],null,null,null,null,null)),r["\u0275ncd"](null,0)],null,function(t,e){var n=e.component;t(e,0,0,"modal-dialog"+(n.size?" modal-"+n.size:"")+(n.centered?" modal-dialog-centered":""))})}var jt=r["\u0275ccf"]("ngb-modal-window",o.fb,function(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,1,"ngb-modal-window",[["role","dialog"],["tabindex","-1"]],[[8,"className",0],[1,"aria-labelledby",0]],[[null,"keyup.esc"],[null,"click"]],function(t,e,n){var o=!0;return"keyup.esc"===e&&(o=!1!==r["\u0275nov"](t,1).escKey(n)&&o),"click"===e&&(o=!1!==r["\u0275nov"](t,1).backdropClick(n)&&o),o},Tt,kt)),r["\u0275did"](1,4440064,null,0,o.fb,[i.d,r.ElementRef],null,null)],function(t,e){t(e,1,0)},function(t,e){t(e,0,0,"modal fade show d-block"+(r["\u0275nov"](e,1).windowClass?" "+r["\u0275nov"](e,1).windowClass:""),r["\u0275nov"](e,1).ariaLabelledBy)})},{ariaLabelledBy:"ariaLabelledBy",backdrop:"backdrop",centered:"centered",keyboard:"keyboard",size:"size",windowClass:"windowClass"},{dismissEvent:"dismiss"},["*"])},"9Z1F":function(t,e,n){"use strict";n.d(e,"a",function(){return s});var r=n("mrSG"),o=n("MGBS"),i=n("rPjj"),a=n("zotm");function s(t){return function(e){var n=new u(t),r=e.lift(n);return n.caught=r}}var u=function(){function t(t){this.selector=t}return t.prototype.call=function(t,e){return e.subscribe(new l(t,this.selector,this.caught))},t}(),l=function(t){function e(e,n,r){var o=t.call(this,e)||this;return o.selector=n,o.caught=r,o}return r.__extends(e,t),e.prototype.error=function(e){if(!this.isStopped){var n=void 0;try{n=this.selector(e,this.caught)}catch(e){return void t.prototype.error.call(this,e)}this._unsubscribeAndRecycle();var r=new i.a(this,void 0,void 0);this.add(r),Object(a.a)(this,n,void 0,void 0,r)}},e}(o.a)},AxiF:function(t,e,n){"use strict";n.d(e,"a",function(){return s});var r=n("mrSG"),o=n("FFOo"),i=n("b7mW"),a=n("G5J1");function s(t){return function(e){return 0===t?Object(a.b)():e.lift(new u(t))}}var u=function(){function t(t){if(this.total=t,this.total<0)throw new i.a}return t.prototype.call=function(t,e){return e.subscribe(new l(t,this.total))},t}(),l=function(t){function e(e,n){var r=t.call(this,e)||this;return r.total=n,r.ring=new Array,r.count=0,r}return r.__extends(e,t),e.prototype._next=function(t){var e=this.ring,n=this.total,r=this.count++;e.length0)for(var n=this.count>=this.total?this.total:this.count,r=this.ring,o=0;o ");else if("object"==typeof e){var o=[];for(var i in e)if(e.hasOwnProperty(i)){var a=e[i];o.push(i+":"+("string"==typeof a?JSON.stringify(a):W(a)))}r="{"+o.join(", ")+"}"}return"StaticInjectorError"+(n?"("+n+")":"")+"["+r+"]: "+t.replace(_t,"\n ")}function Et(t,e){return new Error(St(t,e))}var xt=void 0;function kt(t){var e=xt;return xt=t,e}function Tt(t,e){if(void 0===e&&(e=0),void 0===xt)throw new Error("inject() must be called from an injection context");if(null===xt){var n=t.ngInjectableDef;if(n&&"root"==n.providedIn)return void 0===n.value?n.value=n.factory():n.value;if(8&e)return null;throw new Error("Injector: NOT_FOUND ["+W(t)+"]")}return xt.get(t,8&e?null:void 0,e)}function jt(t){for(var e=[],n=0;n1?" ("+function(t){for(var e=[],n=0;n-1)return e.push(t[n]),e;e.push(t[n])}return e}(t.slice().reverse()).map(function(t){return W(t.token)}).join(" -> ")+")":""}function Kt(t,e,n,r){var o=[e],i=n(o),a=r?function(t,e){var n=i+" caused by: "+(e instanceof Error?e.message:e),r=Error(n);return r[Ht]=e,r}(0,r):Error(i);return a.addKey=Qt,a.keys=o,a.injectors=[t],a.constructResolvingMessage=n,a[Ht]=r,a}function Qt(t,e){this.injectors.push(t),this.keys.push(e),this.message=this.constructResolvingMessage(this.keys)}function Yt(t,e){for(var n=[],r=0,o=e.length;r=this._providers.length)throw function(t){return Error("Index "+t+" is out-of-bounds.")}(t);return this._providers[t]},t.prototype._new=function(t){if(this._constructionCounter++>this._getMaxNumberOfObjects())throw Kt(this,t.key,function(t){return"Cannot instantiate cyclic dependency!"+Zt(t)});return this._instantiateProvider(t)},t.prototype._getMaxNumberOfObjects=function(){return this.objs.length},t.prototype._instantiateProvider=function(t){if(t.multiProvider){for(var e=new Array(t.resolvedFactories.length),n=0;n0&&(o=setTimeout(function(){r._callbacks=r._callbacks.filter(function(t){return t.timeoutId!==o}),t(r._didWork,r.getPendingTasks())},e)),this._callbacks.push({doneCb:t,timeoutId:o,updateCb:n})},t.prototype.whenStable=function(t,e,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(t,e,n),this._runCallbacksIfReady()},t.prototype.getPendingRequestCount=function(){return this._pendingCount},t.prototype.findProviders=function(t,e,n){return[]},t}(),Cn=function(){function t(){this._applications=new Map,En.addToWindow(this)}return t.prototype.registerApplication=function(t,e){this._applications.set(t,e)},t.prototype.unregisterApplication=function(t){this._applications.delete(t)},t.prototype.unregisterAllApplications=function(){this._applications.clear()},t.prototype.getTestability=function(t){return this._applications.get(t)||null},t.prototype.getAllTestabilities=function(){return Array.from(this._applications.values())},t.prototype.getAllRootElements=function(){return Array.from(this._applications.keys())},t.prototype.findTestabilityInTree=function(t,e){return void 0===e&&(e=!0),En.findTestabilityInTree(this,t,e)},t.ctorParameters=function(){return[]},t}();function On(t){En=t}var Sn,En=new(function(){function t(){}return t.prototype.addToWindow=function(t){},t.prototype.findTestabilityInTree=function(t,e,n){return null},t}()),xn=!0,kn=!1,Tn=new d("AllowMultipleToken");function jn(){if(kn)throw new Error("Cannot enable prod mode after platform setup.");xn=!1}function In(){return kn=!0,xn}var Rn=function(t,e){this.name=t,this.token=e};function Pn(t){if(Sn&&!Sn.destroyed&&!Sn.injector.get(Tn,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Sn=t.get(Vn);var e=t.get(De,null);return e&&e.forEach(function(t){return t()}),Sn}function Dn(t,e,n){void 0===n&&(n=[]);var r="Platform: "+e,o=new d(r);return function(e){void 0===e&&(e=[]);var i=Mn();if(!i||i.injector.get(Tn,!1))if(t)t(n.concat(e).concat({provide:o,useValue:!0}));else{var a=n.concat(e).concat({provide:o,useValue:!0});Pn(ft.create({providers:a,name:r}))}return An(o)}}function An(t){var e=Mn();if(!e)throw new Error("No platform exists!");if(!e.injector.get(t,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return e}function Nn(){Sn&&!Sn.destroyed&&Sn.destroy()}function Mn(){return Sn&&!Sn.destroyed?Sn:null}var Vn=function(){function t(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}return t.prototype.bootstrapModuleFactory=function(t,e){var n,r=this,o="noop"===(n=e?e.ngZone:void 0)?new _n:("zone.js"===n?void 0:n)||new hn({enableLongStackTrace:In()}),i=[{provide:hn,useValue:o}];return o.run(function(){var e=ft.create({providers:i,parent:r.injector,name:t.moduleType.name}),n=t.create(e),a=n.injector.get(Wt,null);if(!a)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return n.onDestroy(function(){return Bn(r._modules,n)}),o.runOutsideAngular(function(){return o.onError.subscribe({next:function(t){a.handleError(t)}})}),function(t,e,o){try{var i=((a=n.injector.get(Te)).runInitializers(),a.donePromise.then(function(){return r._moduleDoBootstrap(n),n}));return Ee(i)?i.catch(function(n){throw e.runOutsideAngular(function(){return t.handleError(n)}),n}):i}catch(n){throw e.runOutsideAngular(function(){return t.handleError(n)}),n}var a}(a,o)})},t.prototype.bootstrapModule=function(t,e){var n=this;void 0===e&&(e=[]);var r=this.injector.get(He),o=Fn({},e);return r.createCompiler([o]).compileModuleAsync(t).then(function(t){return n.bootstrapModuleFactory(t,o)})},t.prototype._moduleDoBootstrap=function(t){var e=t.injector.get(Ln);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(function(t){return e.bootstrap(t)});else{if(!t.instance.ngDoBootstrap)throw new Error("The module "+W(t.instance.constructor)+' was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.');t.instance.ngDoBootstrap(e)}this._modules.push(t)},t.prototype.onDestroy=function(t){this._destroyListeners.push(t)},Object.defineProperty(t.prototype,"injector",{get:function(){return this._injector},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(function(t){return t.destroy()}),this._destroyListeners.forEach(function(t){return t()}),this._destroyed=!0},Object.defineProperty(t.prototype,"destroyed",{get:function(){return this._destroyed},enumerable:!0,configurable:!0}),t}();function Fn(t,e){return Array.isArray(e)?e.reduce(Fn,t):Object(r.__assign)({},t,e)}var Ln=function(){function t(t,e,n,r,o,i){var l=this;this._zone=t,this._console=e,this._injector=n,this._exceptionHandler=r,this._componentFactoryResolver=o,this._initStatus=i,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=In(),this._zone.onMicrotaskEmpty.subscribe({next:function(){l._zone.run(function(){l.tick()})}});var c=new a.a(function(t){l._stable=l._zone.isStable&&!l._zone.hasPendingMacrotasks&&!l._zone.hasPendingMicrotasks,l._zone.runOutsideAngular(function(){t.next(l._stable),t.complete()})}),d=new a.a(function(t){var e;l._zone.runOutsideAngular(function(){e=l._zone.onStable.subscribe(function(){hn.assertNotInAngularZone(),q(function(){l._stable||l._zone.hasPendingMacrotasks||l._zone.hasPendingMicrotasks||(l._stable=!0,t.next(!0))})})});var n=l._zone.onUnstable.subscribe(function(){hn.assertInAngularZone(),l._stable&&(l._stable=!1,l._zone.runOutsideAngular(function(){t.next(!1)}))});return function(){e.unsubscribe(),n.unsubscribe()}});this.isStable=Object(s.a)(c,d.pipe(Object(u.a)()))}return t.prototype.bootstrap=function(t,e){var n,r=this;if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");n=t instanceof Ge?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(n.componentType);var o=n instanceof Je?null:this._injector.get(Xe),i=n.create(ft.NULL,[],e||n.selector,o);i.onDestroy(function(){r._unloadComponent(i)});var a=i.injector.get(wn,null);return a&&i.injector.get(Cn).registerApplication(i.location.nativeElement,a),this._loadComponent(i),In()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),i},t.prototype.tick=function(){var e=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");var n=t._tickScope();try{this._runningTick=!0,this._views.forEach(function(t){return t.detectChanges()}),this._enforceNoNewChanges&&this._views.forEach(function(t){return t.checkNoChanges()})}catch(t){this._zone.runOutsideAngular(function(){return e._exceptionHandler.handleError(t)})}finally{this._runningTick=!1,cn(n)}},t.prototype.attachView=function(t){var e=t;this._views.push(e),e.attachToAppRef(this)},t.prototype.detachView=function(t){var e=t;Bn(this._views,e),e.detachFromAppRef()},t.prototype._loadComponent=function(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(Ne,[]).concat(this._bootstrapListeners).forEach(function(e){return e(t)})},t.prototype._unloadComponent=function(t){this.detachView(t.hostView),Bn(this.components,t)},t.prototype.ngOnDestroy=function(){this._views.slice().forEach(function(t){return t.destroy()})},Object.defineProperty(t.prototype,"viewCount",{get:function(){return this._views.length},enumerable:!0,configurable:!0}),t._tickScope=ln("ApplicationRef#tick()"),t}();function Bn(t,e){var n=t.indexOf(e);n>-1&&t.splice(n,1)}var Un=function(t,e,n,r,o,i){this.id=t,this.templateUrl=e,this.slotCount=n,this.encapsulation=r,this.styles=o,this.animations=i},Hn=function(){},zn=function(){},Gn=function(){},qn=function(){},$n=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}({}),Wn=function(){},Zn=function(t){this.nativeElement=t},Kn=function(){},Qn=new Map;function Yn(t,e){var n=Qn.get(t);if(n)throw new Error("Duplicate module registered for "+t+" - "+n.moduleType.name+" vs "+e.moduleType.name);Qn.set(t,e)}function Jn(t){var e=Qn.get(t);if(!e)throw new Error("No module with ID "+t+" loaded");return e}var Xn=function(){function t(){this.dirty=!0,this._results=[],this.changes=new pn,this.length=0}return t.prototype.map=function(t){return this._results.map(t)},t.prototype.filter=function(t){return this._results.filter(t)},t.prototype.find=function(t){return this._results.find(t)},t.prototype.reduce=function(t,e){return this._results.reduce(t,e)},t.prototype.forEach=function(t){this._results.forEach(t)},t.prototype.some=function(t){return this._results.some(t)},t.prototype.toArray=function(){return this._results.slice()},t.prototype[G()]=function(){return this._results[G()]()},t.prototype.toString=function(){return this._results.toString()},t.prototype.reset=function(t){this._results=function t(e){return e.reduce(function(e,n){var r=Array.isArray(n)?t(n):n;return e.concat(r)},[])}(t),this.dirty=!1,this.length=this._results.length,this.last=this._results[this.length-1],this.first=this._results[0]},t.prototype.notifyOnChanges=function(){this.changes.emit(this)},t.prototype.setDirty=function(){this.dirty=!0},t.prototype.destroy=function(){this.changes.complete(),this.changes.unsubscribe()},t}(),tr=function(){},er={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},nr=function(){function t(t,e){this._compiler=t,this._config=e||er}return t.prototype.load=function(t){return this._compiler instanceof Be?this.loadFactory(t):this.loadAndCompile(t)},t.prototype.loadAndCompile=function(t){var e=this,o=Object(r.__read)(t.split("#"),2),i=o[0],a=o[1];return void 0===a&&(a="default"),n("crnd")(i).then(function(t){return t[a]}).then(function(t){return rr(t,i,a)}).then(function(t){return e._compiler.compileModuleAsync(t)})},t.prototype.loadFactory=function(t){var e=Object(r.__read)(t.split("#"),2),o=e[0],i=e[1],a="NgFactory";return void 0===i&&(i="default",a=""),n("crnd")(this._config.factoryPathPrefix+o+this._config.factoryPathSuffix).then(function(t){return t[i+a]}).then(function(t){return rr(t,o,i)})},t}();function rr(t,e,n){if(!t)throw new Error("Cannot find '"+n+"' in '"+e+"'");return t}var or=function(){},ir=function(){},ar=function(){},sr=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r.__extends)(e,t),e}(ar),ur=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r.__extends)(e,t),e}(sr),lr=function(){function t(t,e,n){this._debugContext=n,this.nativeNode=t,e&&e instanceof cr?e.addChild(this):this.parent=null,this.listeners=[]}return Object.defineProperty(t.prototype,"injector",{get:function(){return this._debugContext.injector},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"componentInstance",{get:function(){return this._debugContext.component},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this._debugContext.context},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"references",{get:function(){return this._debugContext.references},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"providerTokens",{get:function(){return this._debugContext.providerTokens},enumerable:!0,configurable:!0}),t}(),cr=function(t){function e(e,n,r){var o=t.call(this,e,n,r)||this;return o.properties={},o.attributes={},o.classes={},o.styles={},o.childNodes=[],o.nativeElement=e,o}return Object(r.__extends)(e,t),e.prototype.addChild=function(t){t&&(this.childNodes.push(t),t.parent=this)},e.prototype.removeChild=function(t){var e=this.childNodes.indexOf(t);-1!==e&&(t.parent=null,this.childNodes.splice(e,1))},e.prototype.insertChildrenAfter=function(t,e){var n,o=this,i=this.childNodes.indexOf(t);-1!==i&&((n=this.childNodes).splice.apply(n,Object(r.__spread)([i+1,0],e)),e.forEach(function(t){t.parent&&t.parent.removeChild(t),t.parent=o}))},e.prototype.insertBefore=function(t,e){var n=this.childNodes.indexOf(t);-1===n?this.addChild(e):(e.parent&&e.parent.removeChild(e),e.parent=this,this.childNodes.splice(n,0,e))},e.prototype.query=function(t){return this.queryAll(t)[0]||null},e.prototype.queryAll=function(t){var e=[];return fr(this,t,e),e},e.prototype.queryAllNodes=function(t){var e=[];return pr(this,t,e),e},Object.defineProperty(e.prototype,"children",{get:function(){return this.childNodes.filter(function(t){return t instanceof e})},enumerable:!0,configurable:!0}),e.prototype.triggerEventHandler=function(t,e){this.listeners.forEach(function(n){n.name==t&&n.callback(e)})},e}(lr);function dr(t){return t.map(function(t){return t.nativeElement})}function fr(t,e,n){t.childNodes.forEach(function(t){t instanceof cr&&(e(t)&&n.push(t),fr(t,e,n))})}function pr(t,e,n){t instanceof cr&&t.childNodes.forEach(function(t){e(t)&&n.push(t),t instanceof cr&&pr(t,e,n)})}var hr=new Map;function mr(t){return hr.get(t)||null}function gr(t){hr.set(t.nativeNode,t)}function vr(t,e){var n=_r(t),r=_r(e);return n&&r?function(t,e,n){for(var r=t[G()](),o=e[G()]();;){var i=r.next(),a=o.next();if(i.done&&a.done)return!0;if(i.done||a.done)return!1;if(!n(i.value,a.value))return!1}}(t,e,vr):!(n||!t||"object"!=typeof t&&"function"!=typeof t||r||!e||"object"!=typeof e&&"function"!=typeof e)||$(t,e)}var yr=function(){function t(t){this.wrapped=t}return t.wrap=function(e){return new t(e)},t.unwrap=function(e){return t.isWrapped(e)?e.wrapped:e},t.isWrapped=function(e){return e instanceof t},t}(),br=function(){function t(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}return t.prototype.isFirstChange=function(){return this.firstChange},t}();function _r(t){return!!wr(t)&&(Array.isArray(t)||!(t instanceof Map)&&G()in t)}function wr(t){return null!==t&&("function"==typeof t||"object"==typeof t)}var Cr=function(){function t(){}return t.prototype.supports=function(t){return _r(t)},t.prototype.create=function(t){return new Sr(t)},t}(),Or=function(t,e){return e},Sr=function(){function t(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||Or}return t.prototype.forEachItem=function(t){var e;for(e=this._itHead;null!==e;e=e._next)t(e)},t.prototype.forEachOperation=function(t){for(var e=this._itHead,n=this._removalsHead,r=0,o=null;e||n;){var i=!n||e&&e.currentIndex',!this.inertBodyElement.querySelector||this.inertBodyElement.querySelector("svg")?(this.inertBodyElement.innerHTML='

',this.getInertBodyElement=this.inertBodyElement.querySelector&&this.inertBodyElement.querySelector("svg img")&&function(){try{return!!window.DOMParser}catch(t){return!1}}()?this.getInertBodyElement_DOMParser:this.getInertBodyElement_InertDocument):this.getInertBodyElement=this.getInertBodyElement_XHR}return t.prototype.getInertBodyElement_XHR=function(t){t=""+t+"";try{t=encodeURI(t)}catch(t){return null}var e=new XMLHttpRequest;e.responseType="document",e.open("GET","data:text/html;charset=utf-8,"+t,!1),e.send(null);var n=e.response.body;return n.removeChild(n.firstChild),n},t.prototype.getInertBodyElement_DOMParser=function(t){t=""+t+"";try{var e=(new window.DOMParser).parseFromString(t,"text/html").body;return e.removeChild(e.firstChild),e}catch(t){return null}},t.prototype.getInertBodyElement_InertDocument=function(t){var e=this.inertDocument.createElement("template");return"content"in e?(e.innerHTML=t,e):(this.inertBodyElement.innerHTML=t,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(this.inertBodyElement),this.inertBodyElement)},t.prototype.stripCustomNsAttrs=function(t){for(var e=t.attributes,n=e.length-1;0")}else this.sanitizedSomething=!0},t.prototype.endElement=function(t){var e=t.nodeName.toLowerCase();so.hasOwnProperty(e)&&!ro.hasOwnProperty(e)&&(this.buf.push(""))},t.prototype.chars=function(t){this.buf.push(mo(t))},t.prototype.checkClobberedElement=function(t,e){if(e&&(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: "+t.outerHTML);return e},t}(),po=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,ho=/([^\#-~ |!])/g;function mo(t){return t.replace(/&/g,"&").replace(po,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(ho,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}function go(t,e){var n=null;try{no=no||new Qr(t);var r=e?String(e):"";n=no.getInertBodyElement(r);var o=5,i=r;do{if(0===o)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=n.innerHTML,n=no.getInertBodyElement(r)}while(r!==i);var a=new fo,s=a.sanitizeChildren(vo(n)||n);return In()&&a.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content (see http://g.co/ng/security#xss)."),s}finally{if(n)for(var u=vo(n)||n;u.firstChild;)u.removeChild(u.firstChild)}}function vo(t){return"content"in t&&function(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var yo=new RegExp("^([-,.\"'%_!# a-zA-Z0-9]+|(?:(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|3d)?|(?:rgb|hsl)a?|(?:repeating-)?(?:linear|radial)-gradient|(?:calc|attr))\\([-0-9.%, #a-zA-Z]+\\))$","g"),bo=/^url\(([^)]+)\)$/;function _o(t){if(!(t=String(t).trim()))return"";var e=t.match(bo);return e&&Xr(e[1])===e[1]||t.match(yo)&&function(t){for(var e=!0,n=!0,r=0;r-1}(r)||"root"===o.providedIn&&r._def.isRoot))){var l=t._providers.length;return t._def.providersByKey[e.tokenKey]={flags:5120,value:e.token.ngInjectableDef.factory,deps:[],index:l,token:e.token},t._providers[l]=ki,t._providers[l]=Ai(t,t._def.providersByKey[e.tokenKey])}return 4&e.flags?n:t._parent.get(e.token,n)}finally{kt(i)}}function Ai(t,e){var n;switch(201347067&e.flags){case 512:n=function(t,e,n){var o=n.length;switch(o){case 0:return new e;case 1:return new e(Di(t,n[0]));case 2:return new e(Di(t,n[0]),Di(t,n[1]));case 3:return new e(Di(t,n[0]),Di(t,n[1]),Di(t,n[2]));default:for(var i=new Array(o),a=0;a=n.length)&&(e=n.length-1),e<0)return null;var r=n[e];return r.viewContainerParent=null,Li(n,e),Ro.dirtyParentQueries(r),Vi(r),r}function Mi(t,e,n){var r=e?Jo(e,e.def.lastRenderRootNode):t.renderElement;ui(n,2,n.renderer.parentNode(r),n.renderer.nextSibling(r),void 0)}function Vi(t){ui(t,3,null,null,void 0)}function Fi(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function Li(t,e){e>=t.length-1?t.pop():t.splice(e,1)}var Bi=new Object;function Ui(t,e,n,r,o,i){return new zi(t,e,n,r,o,i)}function Hi(t){return t.viewDefFactory}var zi=function(t){function e(e,n,r,o,i,a){var s=t.call(this)||this;return s.selector=e,s.componentType=n,s._inputs=o,s._outputs=i,s.ngContentSelectors=a,s.viewDefFactory=r,s}return Object(r.__extends)(e,t),Object.defineProperty(e.prototype,"inputs",{get:function(){var t=[],e=this._inputs;for(var n in e)t.push({propName:n,templateName:e[n]});return t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"outputs",{get:function(){var t=[];for(var e in this._outputs)t.push({propName:e,templateName:this._outputs[e]});return t},enumerable:!0,configurable:!0}),e.prototype.create=function(t,e,n,r){if(!r)throw new Error("ngModule should be provided");var o=si(this.viewDefFactory),i=o.nodes[0].element.componentProvider.nodeIndex,a=Ro.createRootView(t,e||[],n,o,r,Bi),s=ko(a,i).instance;return n&&a.renderer.setAttribute(xo(a,0).renderElement,"ng-version",Bt.full),new Gi(a,new Zi(a),s)},e}(Ge),Gi=function(t){function e(e,n,r){var o=t.call(this)||this;return o._view=e,o._viewRef=n,o._component=r,o._elDef=o._view.def.nodes[0],o.hostView=n,o.changeDetectorRef=n,o.instance=r,o}return Object(r.__extends)(e,t),Object.defineProperty(e.prototype,"location",{get:function(){return new Zn(xo(this._view,this._elDef.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return new Ji(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentType",{get:function(){return this._component.constructor},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){this._viewRef.destroy()},e.prototype.onDestroy=function(t){this._viewRef.onDestroy(t)},e}(ze);function qi(t,e,n){return new $i(t,e,n)}var $i=function(){function t(t,e,n){this._view=t,this._elDef=e,this._data=n,this._embeddedViews=[]}return Object.defineProperty(t.prototype,"element",{get:function(){return new Zn(this._data.renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"injector",{get:function(){return new Ji(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parentInjector",{get:function(){for(var t=this._view,e=this._elDef.parent;!e&&t;)e=Yo(t),t=t.parent;return t?new Ji(t,e):new Ji(this._view,null)},enumerable:!0,configurable:!0}),t.prototype.clear=function(){for(var t=this._embeddedViews.length-1;t>=0;t--){var e=Ni(this._data,t);Ro.destroyView(e)}},t.prototype.get=function(t){var e=this._embeddedViews[t];if(e){var n=new Zi(e);return n.attachToViewContainerRef(this),n}return null},Object.defineProperty(t.prototype,"length",{get:function(){return this._embeddedViews.length},enumerable:!0,configurable:!0}),t.prototype.createEmbeddedView=function(t,e,n){var r=t.createEmbeddedView(e||{});return this.insert(r,n),r},t.prototype.createComponent=function(t,e,n,r,o){var i=n||this.parentInjector;o||t instanceof Je||(o=i.get(Xe));var a=t.create(i,r,void 0,o);return this.insert(a.hostView,e),a},t.prototype.insert=function(t,e){if(t.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");var n,r,o,i,a=t;return o=a._view,i=(n=this._data).viewContainer._embeddedViews,null!==(r=e)&&void 0!==r||(r=i.length),o.viewContainerParent=this._view,Fi(i,r,o),function(t,e){var n=Qo(e);if(n&&n!==t&&!(16&e.state)){e.state|=16;var r=n.template._projectedViews;r||(r=n.template._projectedViews=[]),r.push(e),function(t,n){if(!(4&n.flags)){e.parent.def.nodeFlags|=4,n.flags|=4;for(var r=n.parent;r;)r.childFlags|=4,r=r.parent}}(0,e.parentNodeDef)}}(n,o),Ro.dirtyParentQueries(o),Mi(n,r>0?i[r-1]:null,o),a.attachToViewContainerRef(this),t},t.prototype.move=function(t,e){if(t.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");var n,r,o,i,a,s=this._embeddedViews.indexOf(t._view);return o=e,a=(i=(n=this._data).viewContainer._embeddedViews)[r=s],Li(i,r),null==o&&(o=i.length),Fi(i,o,a),Ro.dirtyParentQueries(a),Vi(a),Mi(n,o>0?i[o-1]:null,a),t},t.prototype.indexOf=function(t){return this._embeddedViews.indexOf(t._view)},t.prototype.remove=function(t){var e=Ni(this._data,t);e&&Ro.destroyView(e)},t.prototype.detach=function(t){var e=Ni(this._data,t);return e?new Zi(e):null},t}();function Wi(t){return new Zi(t)}var Zi=function(){function t(t){this._view=t,this._viewContainerRef=null,this._appRef=null}return Object.defineProperty(t.prototype,"rootNodes",{get:function(){return ui(this._view,0,void 0,void 0,t=[]),t;var t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this._view.context},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"destroyed",{get:function(){return 0!=(128&this._view.state)},enumerable:!0,configurable:!0}),t.prototype.markForCheck=function(){Wo(this._view)},t.prototype.detach=function(){this._view.state&=-5},t.prototype.detectChanges=function(){var t=this._view.root.rendererFactory;t.begin&&t.begin();try{Ro.checkAndUpdateView(this._view)}finally{t.end&&t.end()}},t.prototype.checkNoChanges=function(){Ro.checkNoChangesView(this._view)},t.prototype.reattach=function(){this._view.state|=4},t.prototype.onDestroy=function(t){this._view.disposables||(this._view.disposables=[]),this._view.disposables.push(t)},t.prototype.destroy=function(){this._appRef?this._appRef.detachView(this):this._viewContainerRef&&this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),Ro.destroyView(this._view)},t.prototype.detachFromAppRef=function(){this._appRef=null,Vi(this._view),Ro.dirtyParentQueries(this._view)},t.prototype.attachToAppRef=function(t){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t},t.prototype.attachToViewContainerRef=function(t){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=t},t}();function Ki(t,e){return new Qi(t,e)}var Qi=function(t){function e(e,n){var r=t.call(this)||this;return r._parentView=e,r._def=n,r}return Object(r.__extends)(e,t),e.prototype.createEmbeddedView=function(t){return new Zi(Ro.createEmbeddedView(this._parentView,this._def,this._def.element.template,t))},Object.defineProperty(e.prototype,"elementRef",{get:function(){return new Zn(xo(this._parentView,this._def.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),e}(or);function Yi(t,e){return new Ji(t,e)}var Ji=function(){function t(t,e){this.view=t,this.elDef=e}return t.prototype.get=function(t,e){return void 0===e&&(e=ft.THROW_IF_NOT_FOUND),Ro.resolveDep(this.view,this.elDef,!!this.elDef&&0!=(33554432&this.elDef.flags),{flags:0,token:t,tokenKey:Vo(t)},e)},t}();function Xi(t,e){var n=t.def.nodes[e];if(1&n.flags){var r=xo(t,n.nodeIndex);return n.element.template?r.template:r.renderElement}if(2&n.flags)return Eo(t,n.nodeIndex).renderText;if(20240&n.flags)return ko(t,n.nodeIndex).instance;throw new Error("Illegal state: read nodeValue for node index "+e)}function ta(t){return new ea(t.renderer)}var ea=function(){function t(t){this.delegate=t}return t.prototype.selectRootElement=function(t){return this.delegate.selectRootElement(t)},t.prototype.createElement=function(t,e){var n=Object(r.__read)(hi(e),2),o=this.delegate.createElement(n[1],n[0]);return t&&this.delegate.appendChild(t,o),o},t.prototype.createViewRoot=function(t){return t},t.prototype.createTemplateAnchor=function(t){var e=this.delegate.createComment("");return t&&this.delegate.appendChild(t,e),e},t.prototype.createText=function(t,e){var n=this.delegate.createText(e);return t&&this.delegate.appendChild(t,n),n},t.prototype.projectNodes=function(t,e){for(var n=0;n0,e.provider.value,e.provider.deps);if(e.outputs.length)for(var r=0;r0,o=e.provider;switch(201347067&e.flags){case 512:return wa(t,e.parent,n,o.value,o.deps);case 1024:return function(t,e,n,o,i){var a=i.length;switch(a){case 0:return o();case 1:return o(Oa(t,e,n,i[0]));case 2:return o(Oa(t,e,n,i[0]),Oa(t,e,n,i[1]));case 3:return o(Oa(t,e,n,i[0]),Oa(t,e,n,i[1]),Oa(t,e,n,i[2]));default:for(var s=Array(a),u=0;u0)l=m,Ga(m)||(c=m);else for(;l&&h===l.nodeIndex+l.childCount;){var y=l.parent;y&&(y.childFlags|=l.childFlags,y.childMatchedQueries|=l.childMatchedQueries),c=(l=y)&&Ga(l)?l.renderParent:l}}return{factory:null,nodeFlags:a,rootNodeFlags:s,nodeMatchedQueries:u,flags:t,nodes:e,updateDirectives:n||No,updateRenderer:r||No,handleEvent:function(t,n,r,o){return e[n].element.handleEvent(t,r,o)},bindingCount:o,outputCount:i,lastRenderRootNode:p}}function Ga(t){return 0!=(1&t.flags)&&null===t.element.name}function qa(t,e,n){var r=e.element&&e.element.template;if(r){if(!r.lastRenderRootNode)throw new Error("Illegal State: Embedded templates without nodes are not allowed!");if(r.lastRenderRootNode&&16777216&r.lastRenderRootNode.flags)throw new Error("Illegal State: Last root node of a template can't have embedded views, at index "+e.nodeIndex+"!")}if(20224&e.flags&&0==(1&(t?t.flags:0)))throw new Error("Illegal State: StaticProvider/Directive nodes need to be children of elements or anchors, at index "+e.nodeIndex+"!");if(e.query){if(67108864&e.flags&&(!t||0==(16384&t.flags)))throw new Error("Illegal State: Content Query nodes need to be children of directives, at index "+e.nodeIndex+"!");if(134217728&e.flags&&t)throw new Error("Illegal State: View Query nodes have to be top level nodes, at index "+e.nodeIndex+"!")}if(e.childCount){var o=t?t.nodeIndex+t.childCount:n-1;if(e.nodeIndex<=o&&e.nodeIndex+e.childCount>o)throw new Error("Illegal State: childCount of node leads outside of parent, at index "+e.nodeIndex+"!")}}function $a(t,e,n,r){var o=Ka(t.root,t.renderer,t,e,n);return Qa(o,t.component,r),Ya(o),o}function Wa(t,e,n){var r=Ka(t,t.renderer,null,null,e);return Qa(r,n,n),Ya(r),r}function Za(t,e,n,r){var o,i=e.element.componentRendererType;return o=i?t.root.rendererFactory.createRenderer(r,i):t.root.renderer,Ka(t.root,o,t,e.element.componentProvider,n)}function Ka(t,e,n,r,o){var i=new Array(o.nodes.length),a=o.outputCount?new Array(o.outputCount):null;return{def:o,parent:n,viewContainerParent:null,parentNodeDef:r,context:null,component:null,nodes:i,state:13,root:t,renderer:e,oldValues:new Array(o.bindingCount),disposables:a,initIndex:-1}}function Qa(t,e,n){t.component=e,t.context=n}function Ya(t){var e;ti(t)&&(e=xo(t.parent,t.parentNodeDef.parent.nodeIndex).renderElement);for(var n=t.def,r=t.nodes,o=0;o0&&xi(t,e,0,n)&&(p=!0),f>1&&xi(t,e,1,r)&&(p=!0),f>2&&xi(t,e,2,o)&&(p=!0),f>3&&xi(t,e,3,i)&&(p=!0),f>4&&xi(t,e,4,a)&&(p=!0),f>5&&xi(t,e,5,s)&&(p=!0),f>6&&xi(t,e,6,u)&&(p=!0),f>7&&xi(t,e,7,l)&&(p=!0),f>8&&xi(t,e,8,c)&&(p=!0),f>9&&xi(t,e,9,d)&&(p=!0),p}(t,e,n,r,o,i,a,s,u,l,c,d);case 2:return function(t,e,n,r,o,i,a,s,u,l,c,d){var f=!1,p=e.bindings,h=p.length;if(h>0&&qo(t,e,0,n)&&(f=!0),h>1&&qo(t,e,1,r)&&(f=!0),h>2&&qo(t,e,2,o)&&(f=!0),h>3&&qo(t,e,3,i)&&(f=!0),h>4&&qo(t,e,4,a)&&(f=!0),h>5&&qo(t,e,5,s)&&(f=!0),h>6&&qo(t,e,6,u)&&(f=!0),h>7&&qo(t,e,7,l)&&(f=!0),h>8&&qo(t,e,8,c)&&(f=!0),h>9&&qo(t,e,9,d)&&(f=!0),f){var m=e.text.prefix;h>0&&(m+=Ha(n,p[0])),h>1&&(m+=Ha(r,p[1])),h>2&&(m+=Ha(o,p[2])),h>3&&(m+=Ha(i,p[3])),h>4&&(m+=Ha(a,p[4])),h>5&&(m+=Ha(s,p[5])),h>6&&(m+=Ha(u,p[6])),h>7&&(m+=Ha(l,p[7])),h>8&&(m+=Ha(c,p[8])),h>9&&(m+=Ha(d,p[9]));var g=Eo(t,e.nodeIndex).renderText;t.renderer.setValue(g,m)}return f}(t,e,n,r,o,i,a,s,u,l,c,d);case 16384:return function(t,e,n,r,o,i,a,s,u,l,c,d){var f=ko(t,e.nodeIndex),p=f.instance,h=!1,m=void 0,g=e.bindings.length;return g>0&&Go(t,e,0,n)&&(h=!0,m=Ea(t,f,e,0,n,m)),g>1&&Go(t,e,1,r)&&(h=!0,m=Ea(t,f,e,1,r,m)),g>2&&Go(t,e,2,o)&&(h=!0,m=Ea(t,f,e,2,o,m)),g>3&&Go(t,e,3,i)&&(h=!0,m=Ea(t,f,e,3,i,m)),g>4&&Go(t,e,4,a)&&(h=!0,m=Ea(t,f,e,4,a,m)),g>5&&Go(t,e,5,s)&&(h=!0,m=Ea(t,f,e,5,s,m)),g>6&&Go(t,e,6,u)&&(h=!0,m=Ea(t,f,e,6,u,m)),g>7&&Go(t,e,7,l)&&(h=!0,m=Ea(t,f,e,7,l,m)),g>8&&Go(t,e,8,c)&&(h=!0,m=Ea(t,f,e,8,c,m)),g>9&&Go(t,e,9,d)&&(h=!0,m=Ea(t,f,e,9,d,m)),m&&p.ngOnChanges(m),65536&e.flags&&So(t,256,e.nodeIndex)&&p.ngOnInit(),262144&e.flags&&p.ngDoCheck(),h}(t,e,n,r,o,i,a,s,u,l,c,d);case 32:case 64:case 128:return function(t,e,n,r,o,i,a,s,u,l,c,d){var f=e.bindings,p=!1,h=f.length;if(h>0&&qo(t,e,0,n)&&(p=!0),h>1&&qo(t,e,1,r)&&(p=!0),h>2&&qo(t,e,2,o)&&(p=!0),h>3&&qo(t,e,3,i)&&(p=!0),h>4&&qo(t,e,4,a)&&(p=!0),h>5&&qo(t,e,5,s)&&(p=!0),h>6&&qo(t,e,6,u)&&(p=!0),h>7&&qo(t,e,7,l)&&(p=!0),h>8&&qo(t,e,8,c)&&(p=!0),h>9&&qo(t,e,9,d)&&(p=!0),p){var m=To(t,e.nodeIndex),g=void 0;switch(201347067&e.flags){case 32:g=new Array(f.length),h>0&&(g[0]=n),h>1&&(g[1]=r),h>2&&(g[2]=o),h>3&&(g[3]=i),h>4&&(g[4]=a),h>5&&(g[5]=s),h>6&&(g[6]=u),h>7&&(g[7]=l),h>8&&(g[8]=c),h>9&&(g[9]=d);break;case 64:g={},h>0&&(g[f[0].name]=n),h>1&&(g[f[1].name]=r),h>2&&(g[f[2].name]=o),h>3&&(g[f[3].name]=i),h>4&&(g[f[4].name]=a),h>5&&(g[f[5].name]=s),h>6&&(g[f[6].name]=u),h>7&&(g[f[7].name]=l),h>8&&(g[f[8].name]=c),h>9&&(g[f[9].name]=d);break;case 128:var v=n;switch(h){case 1:g=v.transform(n);break;case 2:g=v.transform(r);break;case 3:g=v.transform(r,o);break;case 4:g=v.transform(r,o,i);break;case 5:g=v.transform(r,o,i,a);break;case 6:g=v.transform(r,o,i,a,s);break;case 7:g=v.transform(r,o,i,a,s,u);break;case 8:g=v.transform(r,o,i,a,s,u,l);break;case 9:g=v.transform(r,o,i,a,s,u,l,c);break;case 10:g=v.transform(r,o,i,a,s,u,l,c,d)}}m.value=g}return p}(t,e,n,r,o,i,a,s,u,l,c,d);default:throw"unreachable"}}(t,e,o,i,a,s,u,l,c,d,f,p):function(t,e,n){switch(201347067&e.flags){case 1:return function(t,e,n){for(var r=!1,o=0;o0&&$o(t,e,0,n),f>1&&$o(t,e,1,r),f>2&&$o(t,e,2,o),f>3&&$o(t,e,3,i),f>4&&$o(t,e,4,a),f>5&&$o(t,e,5,s),f>6&&$o(t,e,6,u),f>7&&$o(t,e,7,l),f>8&&$o(t,e,8,c),f>9&&$o(t,e,9,d)}(t,e,r,o,i,a,s,u,l,c,d,f):function(t,e,n){for(var r=0;r0){var i=new Set(t.modules);_s.forEach(function(e,r){if(i.has(r.ngInjectableDef.providedIn)){var o={token:r,flags:e.flags|(n?4096:0),deps:oi(e.deps),value:e.value,index:t.providers.length};t.providers.push(o),t.providersByKey[Vo(r)]=o}})}}(t=t.factory(function(){return No})),t):t}(r))}var bs=new Map,_s=new Map,ws=new Map;function Cs(t){bs.set(t.token,t),"function"==typeof t.token&&t.token.ngInjectableDef&&"function"==typeof t.token.ngInjectableDef.providedIn&&_s.set(t.token,t)}function Os(t,e){var n=si(si(Hi(e)).nodes[0].element.componentView);ws.set(t,n)}function Ss(){bs.clear(),_s.clear(),ws.clear()}function Es(t){if(0===bs.size)return t;var e=function(t){for(var e=[],n=null,r=0;r>14,r=n+(4095&t),o=n;o0&&(r[n-1].data[iu]=o),n0&&(n[e-1].data[iu]=r.data[iu]),n.splice(e,1),t.tNode.detached||$u(t,r,!1);var o=r.data;return o[au]&&o[au].removeView(),o[vu]=-1,r.view=null,r.data[su]&=-9,r}function Ku(t,e){var n=t.data[ju][e];return Zu(t,e),Yu(n.data),n}function Qu(t){if(-1===t[ru].childIndex)return null;var e=t[t[ru].childIndex];return e.data?e.data:e.dynamicLContainerNode.data}function Yu(t){var e=t[hu];Du(e)&&e.destroyNode&&Hu(t[uu],t[uu],2,e),function(t){if(-1===t[ru].childIndex)return Xu(t);for(var e=Qu(t);e;){var n=null;if(e.length>=nu?e[ru].childIndex>-1&&(n=Qu(e)):e[ju].length&&(n=e[ju][0].data),null==n){for(;e&&!e[iu]&&e!==t;)Xu(e),e=Ju(e,t);Xu(e||t),n=e&&e[iu]}e=n}}(t),t[su]|=32}function Ju(t,e){var n;return(n=t[uu])&&2===n.tNode.type?Bu(n).data:t[ou]===e?null:t[ou]}function Xu(t){if(t[ru]){var e=t;!function(t){var e=t[ru].cleanup;if(null!=e){for(var n=0;n-1&&p>l?"":u[p+1],8&s&&(o=(n=h).length,a=(i=n.indexOf(r=m))+r.length,-1===i||i>0&&" "!==n[i-1]||a=6?e+0:e;n?t[r]|=1:t[r]&=-2}function ml(t,e){return 1==(1&t[e>=6?e+0:e])}function gl(t,e){return 2==(2&t[e>=6?e+0:e])}function vl(t,e){return 4==(4&t[e>=6?e+0:e])}function yl(t,e,n){return 7&t|e<<3|n<<17}function bl(t,e){var n=_l(e);return t[2][n]}function _l(t){return t>>3&16383}function wl(t){var e=t>>17&16383;return e>=6?e:-1}function Cl(t){return wl(t[3])}function Ol(t){return t[1]}function Sl(t,e,n){t[e+1]=n}function El(t,e,n){t[e+2]=n}function xl(t,e,n){t[3===e?e:e+0]=n}function kl(t,e){return t[3===e?e:e+0]}function Tl(t,e){return t[e+2]}function jl(t,e){return t[e+1]}function Il(t,e){hl(t,3,e)}function Rl(t,e,n){for(var r=(n||0)+1;r=0&&xl(t,u,yl(l=kl(t,u),_l(l),n));var l,c=wl(s);c>=0&&xl(t,c,yl(l=kl(t,c),_l(l),e)),El(t,e,Tl(t,n)),Sl(t,e,jl(t,n)),xl(t,e,kl(t,n)),El(t,n,r),Sl(t,n,o),xl(t,n,i)}function Dl(t,e,n,r,o,i){var a=e0){var i=_l(kl(t,o));xl(t,o,yl((ml(t,o)?1:0)|(gl(t,o)?2:0)|(vl(t,o)?4:0),i,r))}}}(t)}function Al(t,e){return e?!!t:null!==t}function Nl(t,e,n){return e?2:n&&n(t)?4:0}function Ml(t,e,n){return!(2&t)&&e&&n&&4&t?e.toString()!==n.toString():e!==n}var Vl,Fl,Ll,Bl,Ul,Hl,zl,Gl,ql,$l="__ngHostLNode__",Wl=Promise.resolve(null),Zl=[0,0],Kl=new Array(nu).fill(null),Ql="__CIRCULAR__",Yl=null;function Jl(){return Vl}function Xl(){return Gl&&Gl[mu]}function tc(){return Gl}function ec(){return Ll}function nc(t){return t[du]||(t[du]=[])}function rc(t){return t[ru].cleanup||(t[ru].cleanup=[])}var oc=!1,ic=!0;function ac(t,e){var n=Gl;return ql=t&&t[cu],Ul=t&&t[ru],zl=t&&1==(1&t[su]),ic=t&&Ul.firstTemplatePass,Vl=t&&t[hu],null!=e&&(Ll=e,Bl=!0),Gl=t,Hl=t&&t[au],n}function sc(t,e){e||(oc||Eu(ql,Ul.viewHooks,Ul.viewCheckHooks,zl),Gl[su]&=-6),Gl[su]|=16,Gl[lu]=-1,ac(t,null)}function uc(){oc||Su(Gl,Ul,zl),function(t){for(var e=Qu(Gl);null!==e;e=e[iu])if(e.length=f.length){var p=f[d]=Hc(e,d,r,o,s,null);if(!Bl&&Ll){var h=Ll.tNode;h.next=p,h.dynamicContainerNode&&(h.dynamicContainerNode.next=p)}}c.tNode=f[d],Bl&&(Hl=null,(null==Ll.tNode.child&&Ll.view===Gl||2===Ll.tNode.type)&&(Ll.tNode.child=c.tNode))}if(2==(2&e)&&l){var m=i;m[uu]=c,ic&&(m[ru].node=c.tNode)}return Ll=c,Bl=!0,c}function hc(){Bl=!1,Ll=null}function mc(t,e,n,r){var o,i=Bl,a=Ll;if(null==t.data[ou]&&t.data[fu]&&!e.template)pd(t.data[fu]);else try{Bl=!0,Ll=null,o=ac(t.data,t),wc(),e.template(r,n),2&r?uc():t.data[ru].firstTemplatePass=ic=!1}finally{sc(o,1==(1&r)),Bl=i,Ll=a}return t}function gc(t,e,n,r){var o=ac(e,t);try{Fl.begin&&Fl.begin(),r?(wc(),r(vc(e),n),uc()):(cc(),lc(Zl),ad(0,nu))}finally{Fl.end&&Fl.end(),sc(o)}}function vc(t){return 1&t[su]?3:2}var yc=null;function bc(){yc="http://www.w3.org/2000/svg/"}function _c(){yc="http://www.w3.org/1998/MathML/"}function wc(){yc=null}function Cc(t,e,n,r){Oc(t,e,n,r),Lc()}function Oc(t,e,n,r){var o=Sc(e),i=pc(t,3,o,e,n||null,null);return Yl=i,n&&Dc(o,n),el(Bu(i),o,Gl),Ec(r),o}function Sc(t,e){var n=e||Vl;return Du(n)?n.createElement(t,yc):null===yc?n.createElement(t):n.createElementNS(yc,t)}function Ec(t){ic?function(t,e,n){var r=n?{"":-1}:null,o=e.currentMatches=xc(t);if(o)for(var i=0;i0)for(var n=t.flags>>14,r=n+e,o=Ul.directives,i=n;i0)for(var o=t>>14,i=o+n,a=0===e,s=Ul.directives,u=o;u=g,w=(c=_?m[l-g]:h[l],_?a[c]:i[c]),C=r[w],O=3*l+b,S=3*l+6,E=Nl(c,_,n||null);xl(o,S,yl(E,w,O)),Sl(o,S,c),El(o,S,null),xl(o,O,yl(E|(null!==C?1:0),w,S)),Sl(o,O,c),El(o,O,null)}return xl(o,3,yl(0,0,b)),Il(o,r.length>1),o}(t,e,n)),(e&&e.length||t&&t.length)&&Wc(r.index-nu)}function $c(t){var e=Md(t);if(!Array.isArray(e)){var n=e.tNode;e=Gl[t+nu]=function(t,e){var r=n.stylingTemplate.slice();return r[0]=t,r}(e)}return e}function Wc(t){!function(t,e,n,r){if(function(t){return ml(t,3)}(t)){for(var o=t[0].native,i=Cl(t),a=Ol(t),s=6;s=u;if(!i||!p){var h=p?d-u:d,m=p?r[h]:s[h],g=p?!!o||e[m]:n[m];if((E=jl(t,c))===m){var v=Tl(t,c);Ml(x=kl(t,c),v,g)&&(El(t,c,g),(w=bl(t,x))!==g&&(hl(t,c,!0),l=!0))}else{var y=Rl(t,m,c);if(y>0){var b=Tl(t,y),_=kl(t,y);if(Pl(t,c,y),b!==g){var w=bl(t,_);El(t,c,g),w!==g&&(hl(t,c,!0),l=!0)}}else Dl(t,c,p,m,Nl(m,p,Ol(t)),g),l=!0}}c+=3,d++}for(;c=u;if(i&&S)break;h=S?d-u:d;var E=S?r[h]:s[h],x=(v=S?!!o||e[E]:n[E],1|Nl(E,S,O));t.push(x,E,v),d++,l=!0}l&&Il(t,!0)}($c(t),e,n)}function Qc(t,e){var n=qu(e,Vl),r=pc(t,3,n,null,null);Bl=!1,el(Bu(r),n,Gl)}function Yc(t,e){if(e!==yd){var n=Vd(t);Du(Vl)?Vl.setValue(n.native,Nu(e)):n.native.textContent=Nu(e)}}function Jc(t,e,n){var r,o=Xc(t,e,n),i=Ll.tNode;return n.template&&function(t,e,n){var r=Rc(n.template,n.directiveDefs,n.pipeDefs,n.viewQuery),o=dd(Gl,Ll.tNode.index,dc(Fl.createRenderer(Ll.native,n.rendererType),r,null,n.onPush?4:2,Xl()));Ll.data=o,o[uu]=Ll,jc(Ll.nodeInjector,e,o),ic&&Tc(t)}(t,e,n),ic&&(bu(t,n.onInit,n.doCheck,Ul),n.hostBindings&&(r=t,(Ul.hostBindings||(Ul.hostBindings=[])).push(r,Gl.length-1-nu))),i&&i.attrs&&function(t,e,r,o){var i=o.initialInputs;(void 0===i||t>=i.length)&&(i=function(t,e,n){var r=n.initialInputs||(n.initialInputs=[]);r[t]=null;for(var o=n.attrs,i=0;i=(n=r.tNode.tViews).length||null==n[e])&&(n[e]=Pc(e,null,Ul.directiveRegistry,Ul.pipeRegistry,null)),n[e]),null,2,Xl());o[au]&&(a[au]=o[au].createView()),ac(a,i=pc(t,2,null,null,null,a))}return r&&(zl&&Wu(r,i,o[Tu]),o[Tu]++),vc(i.data)}function id(){uc(),Bl=!1,Ll=Gl[uu],sc(Gl[ou])}function ad(t,e){var n=Gl[e],r=n.data;sd(r)&&6&r[su]&&gd(r,n,ql[t])}function sd(t){return 8==(8&t[su])}function ud(t,e){var n=zu(Gl);if(!n.tNode.projection)for(var r=n.tNode.projection=new Array(t?t.length+1:1).fill(null),o=r.slice(),i=n.tNode.child;null!==i;){var a=t?ul(i,t,e):0,s=i.next;o[a]?o[a].next=i:(r[a]=i,i.next=null),o[a]=i,i=s}}var ld=[];function cd(t,e,n){void 0===e&&(e=0);var r=pc(t,1,null,null,n||null,null);null===r.tNode.projection&&(r.tNode.projection=e),Bl=!1;var o=Bu(r);if(tl(o,Gl))for(var i=zu(Gl),a=i.tNode.projection[e],s=i.view,u=-1,l=void 0,c=2===o.tNode.type?(l=Bu(o))&&l.data[Iu]:o;a;){if(1===a.type){var d=zu(s),f=d.tNode.projection[a.projection];if(f){ld[++u]=s[a.index],a=f,s=d.view;continue}}else(p=s[a.index]).tNode.flags|=8192,rl(p,o,Gl,c);var p;null===a.next&&s!==i.view&&(a=(p=ld[u--]).tNode,s=p.view),a=a.next}}function dd(t,e,n){return t[gu]?t[gu][iu]=n:ic&&(Ul.childIndex=e),t[gu]=n,n}function fd(t){for(var e=t;null!=e[ou];)e[su]|=4,e=e[ou];var n,r;e[su]|=4,(n=e[fu]).clean==Wl&&(n.clean=new Promise(function(t){return r=t}),n.scheduler(function(){pd(n),r(null),n.clean=Wl}))}function pd(t){for(var e=0;e=Ul.data.length&&(Ul.data[n]=null),Gl[n]=e}function Ad(t){return ql[t]}function Nd(t){return Gl[yu][t]}function Md(t){return Mu(t,Gl)}function Vd(t){return function(t,e){return Vu(Mu(t,Gl))}(t)}function Fd(){return Gl[Gl[lu]++]}function Ld(t){-1===Gl[lu]&&bd();var e,n,r=Gl[lu];if(r>=Gl.length)Gl[Gl[lu]++]=t;else{if(n=t,(e=Gl[r])!=e&&n!=n||e===n)return Gl[lu]++,!1;!function(e,n,o,i){if(n){var a="ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: '"+Gl[r]+"'. Current value: '"+t+"'.";throw e&&(a+=" It seems like the view has been created after its parent and its children have been dirty checked. Has it been created in a change detection hook ?"),new Error(a)}}(zl,oc),Gl[Gl[lu]++]=t}return!0}function Bd(t){return Ld(t),t}function Ud(t,e){var n=Ld(t);return Ld(e)||n}function Hd(t,e,n,r){var o=Ud(t,e);return Ud(n,r)||o}function zd(){return Ul}function Gd(t){var e=(Gl[yu]||(Gl[yu]=[])).push(t);if(ic){var n=ql.length-1,r=Ul.contentQueries||(Ul.contentQueries=[]);n!==(Ul.contentQueries.length?Ul.contentQueries[Ul.contentQueries.length-2]:-1)&&r.push(n,e-1)}}function qd(t){return t[$l]}var $d=Wl,Wd=Zl;function Zd(t,e){void 0===e&&(e={});var n,r=e.rendererFactory||Au,o=e.sanitizer||null,i=t.ngComponentDef;i.type!=t&&(i.type=t);var a=Ac(r,e.host||i.selectors[0][0]),s=Kd(e.scheduler||requestAnimationFrame.bind(window)),u=dc(r.createRenderer(a,i.rendererType),Pc(-1,null,null,null,null),s,i.onPush?4:2);u[pu]=e.injector||null;var l,c=ac(u,null);try{r.begin&&r.begin(),l=Nc(0,a,i,o),s.components.push(n=Xc(0,i.factory(),i)),jc(l.nodeInjector,n,l.data),e.hostFeatures&&e.hostFeatures.forEach(function(t){return t(n,i)}),cc(),lc(Wd),gd(l.data,l,n)}finally{sc(c),r.end&&r.end()}return n}function Kd(t){return{components:[],scheduler:t,clean:$d}}function Qd(t){return function(t){return hd(t)[fu]}(t).clean}function Yd(t){var e=t.type,n=t.pipes,r=t.directives,o={},i={type:e,diPublic:null,factory:t.factory,template:t.template||null,hostBindings:t.hostBindings||null,contentQueries:t.contentQueries||null,contentQueriesRefresh:t.contentQueriesRefresh||null,attributes:t.attributes||null,inputs:nf(t.inputs,o),declaredInputs:o,outputs:nf(t.outputs),rendererType:zo(t.rendererType)||null,exportAs:t.exportAs||null,onInit:e.prototype.ngOnInit||null,doCheck:e.prototype.ngDoCheck||null,afterContentInit:e.prototype.ngAfterContentInit||null,afterContentChecked:e.prototype.ngAfterContentChecked||null,afterViewInit:e.prototype.ngAfterViewInit||null,afterViewChecked:e.prototype.ngAfterViewChecked||null,onDestroy:e.prototype.ngOnDestroy||null,onPush:t.changeDetection===x.OnPush,directiveDefs:r?function(){return("function"==typeof r?r():r).map(Jd)}:null,pipeDefs:n?function(){return("function"==typeof n?n():n).map(Xd)}:null,selectors:t.selectors,viewQuery:t.viewQuery||null,features:t.features||null},a=t.features;return a&&a.forEach(function(t){return t(i)}),i}function Jd(t){return t.ngComponentDef||t.ngDirectiveDef}function Xd(t){return t.ngPipeDef}function tf(t){return{type:t.type,bootstrap:t.bootstrap||[],declarations:t.declarations||[],imports:t.imports||[],exports:t.exports||[],transitiveCompileScopes:null}}var ef={};function nf(t,e){if(null==t)return ef;var n={};for(var r in t)if(t.hasOwnProperty(r)){var o=t[r],i=o;Array.isArray(o)&&(i=o[1],o=o[0]),n[o]=r,e&&(e[i]=r)}return n}var rf=Yd;function of(t){return{name:t.name,factory:t.factory,pure:!1!==t.pure,onDestroy:t.type.prototype.ngOnDestroy||null}}function af(t,e){for(var n in e)e.hasOwnProperty(n)&&!t.hasOwnProperty(n)&&(t[n]=e[n])}function sf(t){for(var e=Object.getPrototypeOf(t.type.prototype).constructor,n=void 0,o=function(){var o,i;if(function(t){return"function"==typeof t.template}(t))n=e.ngComponentDef||e.ngDirectiveDef;else{if(e.ngComponentDef)throw new Error("Directives cannot inherit Components");n=e.ngDirectiveDef}if(n){af(t.inputs,n.inputs),af(t.declaredInputs,n.declaredInputs),af(t.outputs,n.outputs);var a=t.hostBindings,s=n.hostBindings;s&&(t.hostBindings=a?function(t,e){s(t,e),a(t,e)}:s),t.afterContentChecked=t.afterContentChecked||n.afterContentChecked,t.afterContentInit=t.afterContentInit||n.afterContentInit,t.afterViewChecked=t.afterViewChecked||n.afterViewChecked,t.afterViewInit=t.afterViewInit||n.afterViewInit,t.doCheck=t.doCheck||n.doCheck,t.onDestroy=t.onDestroy||n.onDestroy,t.onInit=t.onInit||n.onInit;var u=n.features;if(u)try{for(var l=Object(r.__values)(u),c=l.next();!c.done;c=l.next()){var d=c.value;d&&d!==sf&&d(t)}}catch(t){o={error:t}}finally{try{c&&!c.done&&(i=l.return)&&i.call(l)}finally{if(o)throw o.error}}}else{var f=e.prototype;f&&(t.afterContentChecked=t.afterContentChecked||f.afterContentChecked,t.afterContentInit=t.afterContentInit||f.afterContentInit,t.afterViewChecked=t.afterViewChecked||f.afterViewChecked,t.afterViewInit=t.afterViewInit||f.afterViewInit,t.doCheck=t.doCheck||f.doCheck,t.onDestroy=t.onDestroy||f.onDestroy,t.onInit=t.onInit||f.onInit)}e=Object.getPrototypeOf(e)};e&&!n;)o()}var uf="__ngOnChanges_";function lf(t){var e=t.declaredInputs,n=t.type.prototype,r=function(t){if(e.hasOwnProperty(t)){for(var r=e[t],o=uf+r,i=void 0,a=n;!i&&a&&Object.getPrototypeOf(a)!==Object.getPrototypeOf(Object.prototype);)i=Object.getOwnPropertyDescriptor(a,r),a=Object.getPrototypeOf(a);var s=i&&i.set;Object.defineProperty(n,r,{get:i&&i.get||(s?void 0:function(){return this[o]}),set:function(e){var n=this[uf];n||(n={},Object.defineProperty(this,uf,{value:n,writable:!0}));var r=!this.hasOwnProperty(o),i=n[t];i?i.currentValue=e:n[t]=new br(this[o],e,r),r?Object.defineProperty(this,o,{value:e,writable:!0}):this[o]=e,s&&s.call(this,e)}})}};for(var o in e)r(o);null!=t.onInit&&(t.onInit=cf(t.onInit)),t.doCheck=cf(t.doCheck)}function cf(t){return function(){var e=this[uf];null!=e&&(this.ngOnChanges(e),this[uf]=null),t&&t.apply(this)}}var df=function(){function t(t,e){this._view=t,this._appRef=null,this._viewContainerRef=null,this._lViewNode=null,this.context=e}return t.prototype._setComponentContext=function(t,e){this._view=t,this.context=e},Object.defineProperty(t.prototype,"destroyed",{get:function(){return 32==(32&this._view[su])},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){this._viewContainerRef&&sd(this._view)&&(this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),this._viewContainerRef=null),Yu(this._view)},t.prototype.onDestroy=function(t){Fc(this._view,t)},t.prototype.markForCheck=function(){fd(this._view)},t.prototype.detach=function(){this._view[su]&=-9},t.prototype.reattach=function(){this._view[su]|=8},t.prototype.detectChanges=function(){md(this.context)},t.prototype.checkNoChanges=function(){!function(t){oc=!0;try{md(t)}finally{oc=!1}}(this.context)},t.prototype.attachToViewContainerRef=function(t){this._viewContainerRef=t},t.prototype.detachFromAppRef=function(){this._appRef=null},t.prototype.attachToAppRef=function(t){this._appRef=t},t}(),ff=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r.__extends)(e,t),e.prototype.resolveComponentFactory=function(t){return new gf(t.ngComponentDef)},e}(Qe);function pf(t){var e=[];for(var n in t)t.hasOwnProperty(n)&&e.push({propName:t[n],templateName:n});return e}var hf=new d("ROOT_CONTEXT_TOKEN",{providedIn:"root",factory:function(){return Kd(Tt(mf))}}),mf=new d("SCHEDULER_TOKEN",{providedIn:"root",factory:function(){return requestAnimationFrame.bind(window)}}),gf=function(t){function e(e){var n=t.call(this)||this;return n.componentDef=e,n.componentType=e.type,n.selector=e.selectors[0][0],n.ngContentSelectors=[],n}return Object(r.__extends)(e,t),Object.defineProperty(e.prototype,"inputs",{get:function(){return pf(this.componentDef.inputs)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"outputs",{get:function(){return pf(this.componentDef.outputs)},enumerable:!0,configurable:!0}),e.prototype.create=function(t,e,n,r){var o=void 0===n,i=r?r.injector.get(qn):Au,a=o?Sc(this.selector,i.createRenderer(null,this.componentDef.rendererType)):Ac(i,n),s=r&&!o?r.injector.get(hf):Kd(requestAnimationFrame.bind(window)),u=dc(i.createRenderer(a,this.componentDef.rendererType),Pc(-1,null,null,null,null),s,this.componentDef.onPush?4:2);u[pu]=r&&r.injector||null;var l,c,d=ac(u,null);try{if(i.begin&&i.begin(),c=Nc(0,a,this.componentDef),s.components.push(l=Xc(0,this.componentDef.factory(),this.componentDef)),jc(c.nodeInjector,l,c.data),function(t,e){var n=qd(t),r=n.view[ru];bu(0,e.onInit,e.doCheck,r),_u(n.tNode.flags,r)}(l,this.componentDef),e)for(var f=0,p=c.tNode.projection=[],h=0;h>14])}(n.view[uu]):null}function Rf(t,e,n){void 0===n&&(n=0);var r,o="number"==typeof(r=e[yf])?r%bf:null;if(null===o){var i=kt(ec().view[pu]);try{return Tt(e,n)}finally{kt(i)}}else for(var a=t;a&&(a=Df(a,o,n));){var s=a.node,u=s.tNode.flags,l=4095&u;if(0!==l)for(var c=u>>14,d=c+l,f=s.view[ru].directives,p=c;p0&&0==--d)break;if(void 0!==g&&g>f&&(f=g),s){var y=s.indexOf(m)+1;0!==y&&y!==e&&(n=t(y,n,r,o,i,a,s,u))}}else m&&l.push(536870912,m)}if(i){var b=i[e];if(b)for(var _=Object.keys(b),w=0;w<_.length;w++)-1===c.indexOf(O=_[w])&&(l.push(-536870912|(S=b[O])),S>f&&(f=S))}if(a){var C=a[e];if(C)for(_=Object.keys(C),w=0;w<_.length;w++){var O,S;-1===c.indexOf(O=_[w])&&(l.push(-536870912|(S=C[O])),S>f&&(f=S))}}if(0===e&&"number"==typeof u)for(w=f+1;w<=u;w++)l.push(-1610612736|w);return n}(0,0,i,a,e,n,r,o),a}function qf(t,e,n){var r=tc();el(e,t.native||null,r);var o=t.view[ru].firstTemplatePass;return o&&(n===e&&t.tNode!==e.tNode.child?(t.tNode.next=e.tNode.child,e.tNode.child=t.tNode):n!==e&&t.tNode!==n.tNode.next?(t.tNode.next=n.tNode.next,n.tNode.next=t.tNode):t.tNode.next=null,e.view===t.view&&(t.tNode.parent=e.tNode)),0===t.tNode.type&&t.dynamicLContainerNode?(el(e,t.dynamicLContainerNode.native||null,r),o&&(t.tNode.dynamicContainerNode=t.dynamicLContainerNode.tNode,t.dynamicLContainerNode.tNode.parent=t.tNode),t.dynamicLContainerNode):t}function $f(t,e){var n=tc();if(e){var r=Jl(),o=Bu(Md(t))||ec(),i=o;hc();for(var a=0;a>14,i=o+(4095&r),a=o;a0?(t=r.concat(t.slice(n+1)),n=0):n++:(e.push(r),n++)}return e}(t),this.dirty=!1},t.prototype.notifyOnChanges=function(){this.changes.emit(this)},t.prototype.setDirty=function(){this.dirty=!0},t.prototype.destroy=function(){this.changes.complete(),this.changes.unsubscribe()},t}();function Rp(t,e,n,r){var o,i=new Ip;return(o=Op,Hl||(Hl=Ll.queries&&Ll.queries.clone()||new o)).track(i,e,n,r),Vc(null,i,i.destroy),null!=t&&Dd(t,i),i}function Pp(t){return!!t.dirty&&(t.reset(t._valuesTree),t.notifyOnChanges(),!0)}var Dp="__SANITIZER_TRUSTED_BRAND__";function Ap(t,e){return t instanceof String&&t[Dp]===e}function Np(t){return Bp(t,"Html")}function Mp(t){return Bp(t,"Style")}function Vp(t){return Bp(t,"Script")}function Fp(t){return Bp(t,"Url")}function Lp(t){return Bp(t,"ResourceUrl")}function Bp(t,e){var n=new String(t);return n[Dp]=e,n}function Up(t){var e=Xl();return e?e.sanitize(wo.HTML,t)||"":Ap(t,"Html")?t.toString():go(document,Nu(t))}function Hp(t){var e=Xl();return e?e.sanitize(wo.STYLE,t)||"":Ap(t,"Style")?t.toString():_o(Nu(t))}function zp(t){var e=Xl();return e?e.sanitize(wo.URL,t)||"":Ap(t,"Url")?t.toString():Xr(Nu(t))}function Gp(t){var e=Xl();if(e)return e.sanitize(wo.RESOURCE_URL,t)||"";if(Ap(t,"ResourceUrl"))return t.toString();throw new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)")}},DKTb:function(t,e,n){"use strict";function r(t){setTimeout(function(){throw t})}n.d(e,"a",function(){return r})},Dquc:function(t,e,n){"use strict";n.d(e,"a",function(){return a});var r=n("Gyf/"),o=n("CcnG"),i=n("ZYCi"),a=function(){function t(t,e){this.ws=t,this.router=e}return t.prototype.canActivate=function(t,e){return!!this.ws.hasValidToken()||(this.router.navigate(["/onboarding/teacher"]),!1)},t.ngInjectableDef=o.defineInjectable({factory:function(){return new t(o.inject(r.c),o.inject(i.o))},token:t,providedIn:"root"}),t}()},ENq3:function(t,e,n){"use strict";n.d(e,"b",function(){return f}),n.d(e,"c",function(){return c}),n.d(e,"a",function(){return d});var r=n("ZYCi"),o=n("K9Ia"),i=n("p0ib"),a=n("67Y/"),s=n("VnD/"),u=n("P6uZ"),l=function(){var t={OFF:0,ON:1,PAUSED:2};return t[t.OFF]="OFF",t[t.ON]="ON",t[t.PAUSED]="PAUSED",t}(),c=function(){function t(t){this.router=t,this.stepShow$=new o.a,this.stepHide$=new o.a,this.initialize$=new o.a,this.start$=new o.a,this.end$=new o.a,this.pause$=new o.a,this.resume$=new o.a,this.anchorRegister$=new o.a,this.anchorUnregister$=new o.a,this.events$=Object(i.a)(this.stepShow$.pipe(Object(a.a)(function(t){return{name:"stepShow",value:t}})),this.stepHide$.pipe(Object(a.a)(function(t){return{name:"stepHide",value:t}})),this.initialize$.pipe(Object(a.a)(function(t){return{name:"initialize",value:t}})),this.start$.pipe(Object(a.a)(function(t){return{name:"start",value:t}})),this.end$.pipe(Object(a.a)(function(t){return{name:"end",value:t}})),this.pause$.pipe(Object(a.a)(function(t){return{name:"pause",value:t}})),this.resume$.pipe(Object(a.a)(function(t){return{name:"resume",value:t}})),this.anchorRegister$.pipe(Object(a.a)(function(t){return{name:"anchorRegister",value:t}})),this.anchorUnregister$.pipe(Object(a.a)(function(t){return{name:"anchorUnregister",value:t}}))),this.steps=[],this.anchors={},this.status=l.OFF,this.isHotKeysEnabled=!0}return t.prototype.initialize=function(t,e){t&&t.length>0&&(this.status=l.OFF,this.steps=t.map(function(t){return Object.assign({},e,t)}),this.initialize$.next(this.steps))},t.prototype.disableHotkeys=function(){this.isHotKeysEnabled=!1},t.prototype.enableHotkeys=function(){this.isHotKeysEnabled=!0},t.prototype.start=function(){this.startAt(0)},t.prototype.startAt=function(t){var e=this;this.status=l.ON,this.goToStep(this.loadStep(t)),this.start$.next(),this.router.events.pipe(Object(s.a)(function(t){return t instanceof r.g}),Object(u.a)()).subscribe(function(){e.currentStep&&e.currentStep.hasOwnProperty("route")&&e.hideStep(e.currentStep)})},t.prototype.end=function(){this.status=l.OFF,this.hideStep(this.currentStep),this.currentStep=void 0,this.end$.next()},t.prototype.pause=function(){this.status=l.PAUSED,this.hideStep(this.currentStep),this.pause$.next()},t.prototype.resume=function(){this.status=l.ON,this.showStep(this.currentStep),this.resume$.next()},t.prototype.toggle=function(t){t?this.currentStep?this.pause():this.resume():this.currentStep?this.end():this.start()},t.prototype.next=function(){this.hasNext(this.currentStep)&&this.goToStep(this.loadStep(this.currentStep.nextStep||this.steps.indexOf(this.currentStep)+1))},t.prototype.hasNext=function(t){return t?void 0!==t.nextStep||this.steps.indexOf(t)0:(console.warn("Can't get previous step. No currentStep."),!1)},t.prototype.goto=function(t){this.goToStep(this.loadStep(t))},t.prototype.register=function(t,e){if(this.anchors[t])throw new Error("anchorId "+t+" already registered!");this.anchors[t]=e,this.anchorRegister$.next(t)},t.prototype.unregister=function(t){delete this.anchors[t],this.anchorUnregister$.next(t)},t.prototype.getStatus=function(){return this.status},t.prototype.isHotkeysEnabled=function(){return this.isHotKeysEnabled},t.prototype.goToStep=function(t){var e=this;if(!t)return console.warn("Can't go to non-existent step"),void this.end();var n=new Promise(function(t){return t(!0)});void 0!==t.route&&"string"==typeof t.route?n=this.router.navigateByUrl(t.route):t.route&&Array.isArray(t.route)&&(n=this.router.navigate(t.route)),n.then(function(n){!1!==n&&setTimeout(function(){return e.setCurrentStep(t)})})},t.prototype.loadStep=function(t){return"number"==typeof t?this.steps[t]:this.steps.find(function(e){return e.stepId===t})},t.prototype.setCurrentStep=function(t){var e=this;this.currentStep&&this.hideStep(this.currentStep),this.currentStep=t,this.showStep(this.currentStep),this.router.events.pipe(Object(s.a)(function(t){return t instanceof r.g}),Object(u.a)()).subscribe(function(t){e.currentStep&&e.currentStep.hasOwnProperty("route")&&e.hideStep(e.currentStep)})},t.prototype.showStep=function(t){var e=this.anchors[t&&t.anchorId];if(!e)return console.warn("Can't attach to unregistered anchor with id "+t.anchorId),void this.end();e.showTourStep(t),this.stepShow$.next(t)},t.prototype.hideStep=function(t){var e=this.anchors[t&&t.anchorId];e&&(e.hideTourStep(),this.stepHide$.next(t))},t}(),d=function(){function t(t){this.tourService=t}return t.prototype.onEscapeKey=function(){this.tourService.getStatus()===l.ON&&this.tourService.isHotkeysEnabled()&&this.tourService.end()},t.prototype.onArrowRightKey=function(){this.tourService.getStatus()===l.ON&&this.tourService.hasNext(this.tourService.currentStep)&&this.tourService.isHotkeysEnabled()&&this.tourService.next()},t.prototype.onArrowLeftKey=function(){this.tourService.getStatus()===l.ON&&this.tourService.hasPrev(this.tourService.currentStep)&&this.tourService.isHotkeysEnabled()&&this.tourService.prev()},t}(),f=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[c]}},t}()},Ehmk:function(t,e,n){"use strict";n.d(e,"a",function(){return a});var r,o=n("eihs");function i(){try{return r.apply(this,arguments)}catch(t){return o.a.e=t,o.a}}function a(t){return r=t,i}},"En8+":function(t,e,n){"use strict";n.d(e,"a",function(){return r});var r=function(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},"F/XL":function(t,e,n){"use strict";n.d(e,"a",function(){return s});var r=n("nkY7"),o=n("IUTb"),i=n("G5J1"),a=n("PU8L");function s(){for(var t=[],e=0;e0){var a=n[i-1];t.charAt(r-1)!=e.charAt(i-1)&&(a=Math.min(Math.min(a,o),n[i])+1),n[i-1]=o,o=a}r>0&&(n[e.length]=o)}return n[e.length]}(r,o))/i}(e.name),preset:e}}).filter(function(t){return t.similarity>=.2}).sort(function(t,e){return e.similarity-t.similarity}).map(function(t){return t.preset}).slice(0,5).concat([n])})):Object(s.a)([])}))},this.formatter=function(t){return t.name}}return t.prototype.ngOnInit=function(){},t.prototype.submitSelected=function(t){this.addSet.emit(t.item)},t}(),p=r["\u0275crt"]({encapsulation:0,styles:[[""]],data:{}});function h(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,16777216,null,null,6,"input",[["aria-multiline","false"],["autocapitalize","off"],["autocorrect","off"],["class","form-control"],["role","combobox"],["type","text"]],[[8,"placeholder",0],[2,"open",null],[8,"autocomplete",0],[1,"aria-autocomplete",0],[1,"aria-activedescendant",0],[1,"aria-owns",0],[1,"aria-expanded",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"selectItem"],[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],["document","click"],[null,"keydown"]],function(t,e,n){var o=!0,i=t.component;return"input"===e&&(o=!1!==r["\u0275nov"](t,1)._handleInput(n.target.value)&&o),"blur"===e&&(o=!1!==r["\u0275nov"](t,1).onTouched()&&o),"compositionstart"===e&&(o=!1!==r["\u0275nov"](t,1)._compositionStart()&&o),"compositionend"===e&&(o=!1!==r["\u0275nov"](t,1)._compositionEnd(n.target.value)&&o),"blur"===e&&(o=!1!==r["\u0275nov"](t,2).handleBlur()&&o),"document:click"===e&&(o=!1!==r["\u0275nov"](t,2).onDocumentClick(n)&&o),"keydown"===e&&(o=!1!==r["\u0275nov"](t,2).handleKeyDown(n)&&o),"selectItem"===e&&(o=!1!==i.submitSelected(n)&&o),"ngModelChange"===e&&(o=!1!==(i.ruleNodeSet=n)&&o),o},null,null)),r["\u0275did"](1,16384,null,0,o.DefaultValueAccessor,[r.Renderer2,r.ElementRef,[2,o.COMPOSITION_BUFFER_MODE]],null,null),r["\u0275did"](2,212992,null,0,i.ab,[r.ElementRef,r.ViewContainerRef,r.Renderer2,r.Injector,r.ComponentFactoryResolver,i.bb,r.NgZone,i.hb],{inputFormatter:[0,"inputFormatter"],ngbTypeahead:[1,"ngbTypeahead"],resultFormatter:[2,"resultFormatter"]},{selectItem:"selectItem"}),r["\u0275prd"](1024,null,o.NG_VALUE_ACCESSOR,function(t,e){return[t,e]},[o.DefaultValueAccessor,i.ab]),r["\u0275did"](4,671744,null,0,o.NgModel,[[8,null],[8,null],[8,null],[6,o.NG_VALUE_ACCESSOR]],{model:[0,"model"]},{update:"ngModelChange"}),r["\u0275prd"](2048,null,o.NgControl,null,[o.NgModel]),r["\u0275did"](6,16384,null,0,o.NgControlStatus,[[4,o.NgControl]],null,null)],function(t,e){var n=e.component;t(e,2,0,n.formatter,n.search,n.formatter),t(e,4,0,n.ruleNodeSet)},function(t,e){t(e,0,1,["Zoek naar software om toe te voegen",r["\u0275nov"](e,2).isPopupOpen(),r["\u0275nov"](e,2).autocomplete,r["\u0275nov"](e,2).showHint?"both":"list",r["\u0275nov"](e,2).activeDescendant,r["\u0275nov"](e,2).isPopupOpen()?r["\u0275nov"](e,2).popupId:null,r["\u0275nov"](e,2).isPopupOpen(),r["\u0275nov"](e,6).ngClassUntouched,r["\u0275nov"](e,6).ngClassTouched,r["\u0275nov"](e,6).ngClassPristine,r["\u0275nov"](e,6).ngClassDirty,r["\u0275nov"](e,6).ngClassValid,r["\u0275nov"](e,6).ngClassInvalid,r["\u0275nov"](e,6).ngClassPending])})}var m=n("9AJC"),g=n("k+cF");n.d(e,"a",function(){return O});var v=r["\u0275crt"]({encapsulation:0,styles:[[""]],data:{}});function y(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,6,"div",[["class","mt-2"]],null,null,null,null,null)),(t()(),r["\u0275eld"](1,0,null,null,1,"app-rule-node-search",[],null,[[null,"addSet"]],function(t,e,n){var r=!0;return"addSet"===e&&(r=!1!==(t.component.set=n)&&r),r},h,p)),r["\u0275did"](2,114688,null,0,f,[d.a],null,{addSet:"addSet"}),(t()(),r["\u0275eld"](3,0,null,null,3,"span",[["class","form-text text-muted"]],null,null,null,null,null)),(t()(),r["\u0275eld"](4,0,null,null,1,"b",[],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["Tip:"])),(t()(),r["\u0275ted"](-1,null,[" Staat het programma dat je zoekt niet in de lijst? Laat het via de chat link onder in het scherm weten. "]))],function(t,e){t(e,2,0)},null)}function b(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["Gebruik deze optie als de website meerdere Top-Level-Domains heeft."])),(t()(),r["\u0275eld"](2,0,null,null,10,"div",[["class","form-group"]],null,null,null,null,null)),(t()(),r["\u0275eld"](3,0,null,null,1,"label",[["for","domain-name"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["Naam van de website"])),(t()(),r["\u0275eld"](5,0,null,null,5,"input",[["class","form-control"],["formControlName","domainName"],["id","domain-name"],["placeholder","Bijv.: schoolyear"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(t,e,n){var o=!0;return"input"===e&&(o=!1!==r["\u0275nov"](t,6)._handleInput(n.target.value)&&o),"blur"===e&&(o=!1!==r["\u0275nov"](t,6).onTouched()&&o),"compositionstart"===e&&(o=!1!==r["\u0275nov"](t,6)._compositionStart()&&o),"compositionend"===e&&(o=!1!==r["\u0275nov"](t,6)._compositionEnd(n.target.value)&&o),o},null,null)),r["\u0275did"](6,16384,null,0,o.DefaultValueAccessor,[r.Renderer2,r.ElementRef,[2,o.COMPOSITION_BUFFER_MODE]],null,null),r["\u0275prd"](1024,null,o.NG_VALUE_ACCESSOR,function(t){return[t]},[o.DefaultValueAccessor]),r["\u0275did"](8,671744,null,0,o.FormControlName,[[3,o.ControlContainer],[8,null],[8,null],[6,o.NG_VALUE_ACCESSOR],[2,o["\u0275angular_packages_forms_forms_j"]]],{name:[0,"name"]},null),r["\u0275prd"](2048,null,o.NgControl,null,[o.FormControlName]),r["\u0275did"](10,16384,null,0,o.NgControlStatus,[[4,o.NgControl]],null,null),(t()(),r["\u0275eld"](11,0,null,null,1,"small",[["class","form-text text-muted"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,[" Vul hier het domain v\xf3\xf3r het Top-Level-Domain in (Bijv: 'schoolyear' i.p.v. 'schoolyear.nl'). "])),(t()(),r["\u0275eld"](13,0,null,null,10,"div",[["class","form-group"]],null,null,null,null,null)),(t()(),r["\u0275eld"](14,0,null,null,1,"label",[["for","tld"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["Top-Level-Domain"])),(t()(),r["\u0275eld"](16,0,null,null,5,"input",[["class","form-control"],["formControlName","tld"],["id","tld"],["placeholder","Bijv.: nl,com,org"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(t,e,n){var o=!0;return"input"===e&&(o=!1!==r["\u0275nov"](t,17)._handleInput(n.target.value)&&o),"blur"===e&&(o=!1!==r["\u0275nov"](t,17).onTouched()&&o),"compositionstart"===e&&(o=!1!==r["\u0275nov"](t,17)._compositionStart()&&o),"compositionend"===e&&(o=!1!==r["\u0275nov"](t,17)._compositionEnd(n.target.value)&&o),o},null,null)),r["\u0275did"](17,16384,null,0,o.DefaultValueAccessor,[r.Renderer2,r.ElementRef,[2,o.COMPOSITION_BUFFER_MODE]],null,null),r["\u0275prd"](1024,null,o.NG_VALUE_ACCESSOR,function(t){return[t]},[o.DefaultValueAccessor]),r["\u0275did"](19,671744,null,0,o.FormControlName,[[3,o.ControlContainer],[8,null],[8,null],[6,o.NG_VALUE_ACCESSOR],[2,o["\u0275angular_packages_forms_forms_j"]]],{name:[0,"name"]},null),r["\u0275prd"](2048,null,o.NgControl,null,[o.FormControlName]),r["\u0275did"](21,16384,null,0,o.NgControlStatus,[[4,o.NgControl]],null,null),(t()(),r["\u0275eld"](22,0,null,null,1,"small",[["class","form-text text-muted"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,[" Vult hier de Top-Level-Domains in gescheiden door een komma. Vul hier niks in om alle Top-Level-Domains toe te staan. "]))],function(t,e){t(e,8,0,"domainName"),t(e,19,0,"tld")},function(t,e){t(e,5,0,r["\u0275nov"](e,10).ngClassUntouched,r["\u0275nov"](e,10).ngClassTouched,r["\u0275nov"](e,10).ngClassPristine,r["\u0275nov"](e,10).ngClassDirty,r["\u0275nov"](e,10).ngClassValid,r["\u0275nov"](e,10).ngClassInvalid,r["\u0275nov"](e,10).ngClassPending),t(e,16,0,r["\u0275nov"](e,21).ngClassUntouched,r["\u0275nov"](e,21).ngClassTouched,r["\u0275nov"](e,21).ngClassPristine,r["\u0275nov"](e,21).ngClassDirty,r["\u0275nov"](e,21).ngClassValid,r["\u0275nov"](e,21).ngClassInvalid,r["\u0275nov"](e,21).ngClassPending)})}function _(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,42,"div",[["class","mt-2"]],null,null,null,null,null)),(t()(),r["\u0275eld"](1,0,null,null,41,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(t,e,n){var o=!0;return"submit"===e&&(o=!1!==r["\u0275nov"](t,3).onSubmit(n)&&o),"reset"===e&&(o=!1!==r["\u0275nov"](t,3).onReset()&&o),o},null,null)),r["\u0275did"](2,16384,null,0,o["\u0275angular_packages_forms_forms_bg"],[],null,null),r["\u0275did"](3,540672,null,0,o.FormGroupDirective,[[8,null],[8,null]],{form:[0,"form"]},null),r["\u0275prd"](2048,null,o.ControlContainer,null,[o.FormGroupDirective]),r["\u0275did"](5,16384,null,0,o.NgControlStatusGroup,[[4,o.ControlContainer]],null,null),(t()(),r["\u0275eld"](6,0,null,null,8,"div",[["class","form-group"]],null,null,null,null,null)),(t()(),r["\u0275eld"](7,0,null,null,1,"label",[["for","total-domain"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["Naam van het domein"])),(t()(),r["\u0275eld"](9,0,null,null,5,"input",[["class","form-control"],["formControlName","totalDomain"],["id","total-domain"],["placeholder","Bijv.: schoolyear.nl"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(t,e,n){var o=!0;return"input"===e&&(o=!1!==r["\u0275nov"](t,10)._handleInput(n.target.value)&&o),"blur"===e&&(o=!1!==r["\u0275nov"](t,10).onTouched()&&o),"compositionstart"===e&&(o=!1!==r["\u0275nov"](t,10)._compositionStart()&&o),"compositionend"===e&&(o=!1!==r["\u0275nov"](t,10)._compositionEnd(n.target.value)&&o),o},null,null)),r["\u0275did"](10,16384,null,0,o.DefaultValueAccessor,[r.Renderer2,r.ElementRef,[2,o.COMPOSITION_BUFFER_MODE]],null,null),r["\u0275prd"](1024,null,o.NG_VALUE_ACCESSOR,function(t){return[t]},[o.DefaultValueAccessor]),r["\u0275did"](12,671744,null,0,o.FormControlName,[[3,o.ControlContainer],[8,null],[8,null],[6,o.NG_VALUE_ACCESSOR],[2,o["\u0275angular_packages_forms_forms_j"]]],{name:[0,"name"]},null),r["\u0275prd"](2048,null,o.NgControl,null,[o.FormControlName]),r["\u0275did"](14,16384,null,0,o.NgControlStatus,[[4,o.NgControl]],null,null),(t()(),r["\u0275eld"](15,0,null,null,18,"div",[["class","form-group"]],null,null,null,null,null)),(t()(),r["\u0275eld"](16,0,null,null,1,"label",[["for","subFrameMode"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["Externe content:"])),(t()(),r["\u0275eld"](18,0,null,null,13,"select",[["class","form-control"],["formControlName","subFrameMode"],["id","subFrameMode"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"change"],[null,"blur"]],function(t,e,n){var o=!0;return"change"===e&&(o=!1!==r["\u0275nov"](t,19).onChange(n.target.value)&&o),"blur"===e&&(o=!1!==r["\u0275nov"](t,19).onTouched()&&o),o},null,null)),r["\u0275did"](19,16384,null,0,o.SelectControlValueAccessor,[r.Renderer2,r.ElementRef],null,null),r["\u0275prd"](1024,null,o.NG_VALUE_ACCESSOR,function(t){return[t]},[o.SelectControlValueAccessor]),r["\u0275did"](21,671744,null,0,o.FormControlName,[[3,o.ControlContainer],[8,null],[8,null],[6,o.NG_VALUE_ACCESSOR],[2,o["\u0275angular_packages_forms_forms_j"]]],{name:[0,"name"]},null),r["\u0275prd"](2048,null,o.NgControl,null,[o.FormControlName]),r["\u0275did"](23,16384,null,0,o.NgControlStatus,[[4,o.NgControl]],null,null),(t()(),r["\u0275eld"](24,0,null,null,3,"option",[],null,null,null,null,null)),r["\u0275did"](25,147456,null,0,o.NgSelectOption,[r.ElementRef,r.Renderer2,[2,o.SelectControlValueAccessor]],{ngValue:[0,"ngValue"]},null),r["\u0275did"](26,147456,null,0,o["\u0275angular_packages_forms_forms_r"],[r.ElementRef,r.Renderer2,[8,null]],{ngValue:[0,"ngValue"]},null),(t()(),r["\u0275ted"](-1,null,["Toestaan"])),(t()(),r["\u0275eld"](28,0,null,null,3,"option",[],null,null,null,null,null)),r["\u0275did"](29,147456,null,0,o.NgSelectOption,[r.ElementRef,r.Renderer2,[2,o.SelectControlValueAccessor]],{ngValue:[0,"ngValue"]},null),r["\u0275did"](30,147456,null,0,o["\u0275angular_packages_forms_forms_r"],[r.ElementRef,r.Renderer2,[8,null]],{ngValue:[0,"ngValue"]},null),(t()(),r["\u0275ted"](-1,null,["Blokkeren"])),(t()(),r["\u0275eld"](32,0,null,null,1,"small",[["class","form-text text-muted"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,[" Bijv.: Externe video's. "])),(t()(),r["\u0275eld"](34,0,null,null,8,"ngb-accordion",[["class","accordion"],["role","tablist"]],[[1,"aria-multiselectable",0]],null,null,m.g,m.c)),r["\u0275did"](35,2146304,null,1,i.a,[i.b],null,null),r["\u0275qud"](603979776,6,{panels:1}),(t()(),r["\u0275eld"](37,0,null,null,5,"ngb-panel",[["title","Geavanceerd"],["type","light"]],null,null,null,null,null)),r["\u0275did"](38,2113536,[[6,4]],2,i.D,[],{title:[0,"title"],type:[1,"type"]},null),r["\u0275qud"](603979776,7,{titleTpls:1}),r["\u0275qud"](603979776,8,{contentTpls:1}),(t()(),r["\u0275and"](0,null,null,1,null,b)),r["\u0275did"](42,16384,[[8,4]],0,i.E,[r.TemplateRef],null,null)],function(t,e){var n=e.component;t(e,3,0,n.domainForm),t(e,12,0,"totalDomain"),t(e,21,0,"subFrameMode"),t(e,25,0,n.subFrameModes.default),t(e,26,0,n.subFrameModes.default),t(e,29,0,n.subFrameModes.blockAll),t(e,30,0,n.subFrameModes.blockAll),t(e,38,0,"Geavanceerd","light")},function(t,e){t(e,1,0,r["\u0275nov"](e,5).ngClassUntouched,r["\u0275nov"](e,5).ngClassTouched,r["\u0275nov"](e,5).ngClassPristine,r["\u0275nov"](e,5).ngClassDirty,r["\u0275nov"](e,5).ngClassValid,r["\u0275nov"](e,5).ngClassInvalid,r["\u0275nov"](e,5).ngClassPending),t(e,9,0,r["\u0275nov"](e,14).ngClassUntouched,r["\u0275nov"](e,14).ngClassTouched,r["\u0275nov"](e,14).ngClassPristine,r["\u0275nov"](e,14).ngClassDirty,r["\u0275nov"](e,14).ngClassValid,r["\u0275nov"](e,14).ngClassInvalid,r["\u0275nov"](e,14).ngClassPending),t(e,18,0,r["\u0275nov"](e,23).ngClassUntouched,r["\u0275nov"](e,23).ngClassTouched,r["\u0275nov"](e,23).ngClassPristine,r["\u0275nov"](e,23).ngClassDirty,r["\u0275nov"](e,23).ngClassValid,r["\u0275nov"](e,23).ngClassInvalid,r["\u0275nov"](e,23).ngClassPending),t(e,34,0,!r["\u0275nov"](e,35).closeOtherPanels)})}function w(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,34,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(t,e,n){var o=!0;return"submit"===e&&(o=!1!==r["\u0275nov"](t,2).onSubmit(n)&&o),"reset"===e&&(o=!1!==r["\u0275nov"](t,2).onReset()&&o),o},null,null)),r["\u0275did"](1,16384,null,0,o["\u0275angular_packages_forms_forms_bg"],[],null,null),r["\u0275did"](2,540672,null,0,o.FormGroupDirective,[[8,null],[8,null]],{form:[0,"form"]},null),r["\u0275prd"](2048,null,o.ControlContainer,null,[o.FormGroupDirective]),r["\u0275did"](4,16384,null,0,o.NgControlStatusGroup,[[4,o.ControlContainer]],null,null),(t()(),r["\u0275eld"](5,0,null,null,10,"div",[["class","form-group"]],null,null,null,null,null)),(t()(),r["\u0275eld"](6,0,null,null,1,"label",[["for","url"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["URL"])),(t()(),r["\u0275eld"](8,0,null,null,5,"input",[["class","form-control"],["formControlName","url"],["id","url"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(t,e,n){var o=!0;return"input"===e&&(o=!1!==r["\u0275nov"](t,9)._handleInput(n.target.value)&&o),"blur"===e&&(o=!1!==r["\u0275nov"](t,9).onTouched()&&o),"compositionstart"===e&&(o=!1!==r["\u0275nov"](t,9)._compositionStart()&&o),"compositionend"===e&&(o=!1!==r["\u0275nov"](t,9)._compositionEnd(n.target.value)&&o),o},null,null)),r["\u0275did"](9,16384,null,0,o.DefaultValueAccessor,[r.Renderer2,r.ElementRef,[2,o.COMPOSITION_BUFFER_MODE]],null,null),r["\u0275prd"](1024,null,o.NG_VALUE_ACCESSOR,function(t){return[t]},[o.DefaultValueAccessor]),r["\u0275did"](11,671744,null,0,o.FormControlName,[[3,o.ControlContainer],[8,null],[8,null],[6,o.NG_VALUE_ACCESSOR],[2,o["\u0275angular_packages_forms_forms_j"]]],{name:[0,"name"]},null),r["\u0275prd"](2048,null,o.NgControl,null,[o.FormControlName]),r["\u0275did"](13,16384,null,0,o.NgControlStatus,[[4,o.NgControl]],null,null),(t()(),r["\u0275eld"](14,0,null,null,1,"small",[["class","form-text text-muted"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,[" Bijv.: https://schoolyear.nl/index.html#features "])),(t()(),r["\u0275eld"](16,0,null,null,18,"div",[["class","form-group"]],null,null,null,null,null)),(t()(),r["\u0275eld"](17,0,null,null,1,"label",[["for","subFrameMode-url"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["Externe content:"])),(t()(),r["\u0275eld"](19,0,null,null,13,"select",[["class","form-control"],["formControlName","subFrameMode"],["id","subFrameMode-url"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"change"],[null,"blur"]],function(t,e,n){var o=!0;return"change"===e&&(o=!1!==r["\u0275nov"](t,20).onChange(n.target.value)&&o),"blur"===e&&(o=!1!==r["\u0275nov"](t,20).onTouched()&&o),o},null,null)),r["\u0275did"](20,16384,null,0,o.SelectControlValueAccessor,[r.Renderer2,r.ElementRef],null,null),r["\u0275prd"](1024,null,o.NG_VALUE_ACCESSOR,function(t){return[t]},[o.SelectControlValueAccessor]),r["\u0275did"](22,671744,null,0,o.FormControlName,[[3,o.ControlContainer],[8,null],[8,null],[6,o.NG_VALUE_ACCESSOR],[2,o["\u0275angular_packages_forms_forms_j"]]],{name:[0,"name"]},null),r["\u0275prd"](2048,null,o.NgControl,null,[o.FormControlName]),r["\u0275did"](24,16384,null,0,o.NgControlStatus,[[4,o.NgControl]],null,null),(t()(),r["\u0275eld"](25,0,null,null,3,"option",[],null,null,null,null,null)),r["\u0275did"](26,147456,null,0,o.NgSelectOption,[r.ElementRef,r.Renderer2,[2,o.SelectControlValueAccessor]],{ngValue:[0,"ngValue"]},null),r["\u0275did"](27,147456,null,0,o["\u0275angular_packages_forms_forms_r"],[r.ElementRef,r.Renderer2,[8,null]],{ngValue:[0,"ngValue"]},null),(t()(),r["\u0275ted"](-1,null,["Toestaan"])),(t()(),r["\u0275eld"](29,0,null,null,3,"option",[],null,null,null,null,null)),r["\u0275did"](30,147456,null,0,o.NgSelectOption,[r.ElementRef,r.Renderer2,[2,o.SelectControlValueAccessor]],{ngValue:[0,"ngValue"]},null),r["\u0275did"](31,147456,null,0,o["\u0275angular_packages_forms_forms_r"],[r.ElementRef,r.Renderer2,[8,null]],{ngValue:[0,"ngValue"]},null),(t()(),r["\u0275ted"](-1,null,["Blokkeren"])),(t()(),r["\u0275eld"](33,0,null,null,1,"small",[["class","form-text text-muted"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,[" Bijv.: Externe video's. "]))],function(t,e){var n=e.component;t(e,2,0,n.urlForm),t(e,11,0,"url"),t(e,22,0,"subFrameMode"),t(e,26,0,n.subFrameModes.default),t(e,27,0,n.subFrameModes.default),t(e,30,0,n.subFrameModes.blockAll),t(e,31,0,n.subFrameModes.blockAll)},function(t,e){t(e,0,0,r["\u0275nov"](e,4).ngClassUntouched,r["\u0275nov"](e,4).ngClassTouched,r["\u0275nov"](e,4).ngClassPristine,r["\u0275nov"](e,4).ngClassDirty,r["\u0275nov"](e,4).ngClassValid,r["\u0275nov"](e,4).ngClassInvalid,r["\u0275nov"](e,4).ngClassPending),t(e,8,0,r["\u0275nov"](e,13).ngClassUntouched,r["\u0275nov"](e,13).ngClassTouched,r["\u0275nov"](e,13).ngClassPristine,r["\u0275nov"](e,13).ngClassDirty,r["\u0275nov"](e,13).ngClassValid,r["\u0275nov"](e,13).ngClassInvalid,r["\u0275nov"](e,13).ngClassPending),t(e,19,0,r["\u0275nov"](e,24).ngClassUntouched,r["\u0275nov"](e,24).ngClassTouched,r["\u0275nov"](e,24).ngClassPristine,r["\u0275nov"](e,24).ngClassDirty,r["\u0275nov"](e,24).ngClassValid,r["\u0275nov"](e,24).ngClassInvalid,r["\u0275nov"](e,24).ngClassPending)})}function C(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,5,"div",[["class","modal-header"]],null,null,null,null,null)),(t()(),r["\u0275eld"](1,0,null,null,1,"h4",[["class","modal-title"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["Toevoegen aan lespakket"])),(t()(),r["\u0275eld"](3,0,null,null,2,"button",[["aria-label","Close"],["class","close"],["type","button"]],null,[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.activeModal.dismiss("Cross click")&&r),r},null,null)),(t()(),r["\u0275eld"](4,0,null,null,1,"span",[["aria-hidden","true"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\xd7"])),(t()(),r["\u0275eld"](6,0,null,null,21,"div",[["class","modal-body"]],null,null,null,null,null)),(t()(),r["\u0275eld"](7,0,null,null,20,"ngb-tabset",[["justify","justified"]],null,null,null,m.j,m.f)),r["\u0275did"](8,2146304,null,1,i.Q,[i.R],{justify:[0,"justify"]},null),r["\u0275qud"](603979776,1,{tabs:1}),(t()(),r["\u0275eld"](10,0,null,null,5,"ngb-tab",[["title","Applicatie"]],null,null,null,null,null)),r["\u0275did"](11,2113536,[[1,4]],2,i.O,[],{title:[0,"title"]},null),r["\u0275qud"](603979776,2,{titleTpls:1}),r["\u0275qud"](603979776,3,{contentTpls:1}),(t()(),r["\u0275and"](0,null,null,1,null,y)),r["\u0275did"](15,16384,[[3,4]],0,i.P,[r.TemplateRef],null,null),(t()(),r["\u0275eld"](16,0,null,null,5,"ngb-tab",[["title","Complete website"]],null,null,null,null,null)),r["\u0275did"](17,2113536,[[1,4]],2,i.O,[],{title:[0,"title"]},null),r["\u0275qud"](603979776,4,{titleTpls:1}),r["\u0275qud"](603979776,5,{contentTpls:1}),(t()(),r["\u0275and"](0,null,null,1,null,_)),r["\u0275did"](21,16384,[[5,4]],0,i.P,[r.TemplateRef],null,null),(t()(),r["\u0275eld"](22,0,null,null,5,"ngb-tab",[["title","Specifieke webpagina"]],null,null,null,null,null)),r["\u0275did"](23,2113536,[[1,4]],2,i.O,[],{title:[0,"title"]},null),r["\u0275qud"](603979776,9,{titleTpls:1}),r["\u0275qud"](603979776,10,{contentTpls:1}),(t()(),r["\u0275and"](0,null,null,1,null,w)),r["\u0275did"](27,16384,[[10,4]],0,i.P,[r.TemplateRef],null,null),(t()(),r["\u0275eld"](28,0,null,null,2,"div",[["class","modal-footer"]],null,null,null,null,null)),(t()(),r["\u0275eld"](29,0,null,null,1,"button",[["class","btn btn-outline-primary"],["type","button"]],[[8,"disabled",0]],[[null,"click"]],function(t,e,n){var r=!0,o=t.component;return"click"===e&&(r=!1!==o.activeModal.close(o.set)&&r),r},null,null)),(t()(),r["\u0275ted"](-1,null,["Toevoegen "]))],function(t,e){t(e,8,0,"justified"),t(e,11,0,"Applicatie"),t(e,17,0,"Complete website"),t(e,23,0,"Specifieke webpagina")},function(t,e){t(e,29,0,!e.component.set)})}var O=r["\u0275ccf"]("app-add-rule-node-set-modal",g.a,function(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,1,"app-add-rule-node-set-modal",[],null,null,null,C,v)),r["\u0275did"](1,114688,null,0,g.a,[i.d,o.FormBuilder],null,null)],function(t,e){t(e,1,0)},null)},{},{},[])},FFOo:function(t,e,n){"use strict";n.d(e,"a",function(){return c});var r=n("mrSG"),o=n("2Bdj"),i=n("6ahw"),a=n("pugT"),s=n("L/V9"),u=n("iLxQ"),l=n("DKTb"),c=function(t){function e(e,n,r){var o=t.call(this)||this;switch(o.syncErrorValue=null,o.syncErrorThrown=!1,o.syncErrorThrowable=!1,o.isStopped=!1,o._parentSubscription=null,arguments.length){case 0:o.destination=i.a;break;case 1:if(!e){o.destination=i.a;break}if("object"==typeof e){if(f(e)){var a=e[s.a]();o.syncErrorThrowable=a.syncErrorThrowable,o.destination=a,a._addParentTeardownLogic(o)}else o.syncErrorThrowable=!0,o.destination=new d(o,e);break}default:o.syncErrorThrowable=!0,o.destination=new d(o,e,n,r)}return o}return r.__extends(e,t),e.prototype[s.a]=function(){return this},e.create=function(t,n,r){var o=new e(t,n,r);return o.syncErrorThrowable=!1,o},e.prototype.next=function(t){this.isStopped||this._next(t)},e.prototype.error=function(t){this.isStopped||(this.isStopped=!0,this._error(t),this._unsubscribeParentSubscription())},e.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete(),this._unsubscribeParentSubscription())},e.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,t.prototype.unsubscribe.call(this))},e.prototype._next=function(t){this.destination.next(t)},e.prototype._error=function(t){this.destination.error(t),this.unsubscribe()},e.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},e.prototype._addParentTeardownLogic=function(t){t!==this&&(this._parentSubscription=this.add(t))},e.prototype._unsubscribeParentSubscription=function(){null!==this._parentSubscription&&this._parentSubscription.unsubscribe()},e.prototype._unsubscribeAndRecycle=function(){var t=this._parent,e=this._parents;return this._parent=null,this._parents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parent=t,this._parents=e,this._parentSubscription=null,this},e}(a.a),d=function(t){function e(e,n,r,a){var s,u=t.call(this)||this;u._parentSubscriber=e;var l=u;return Object(o.a)(n)?s=n:n&&(s=n.next,r=n.error,a=n.complete,n!==i.a&&(l=Object.create(n),Object(o.a)(l.unsubscribe)&&u.add(l.unsubscribe.bind(l)),l.unsubscribe=u.unsubscribe.bind(u))),u._context=l,u._next=s,u._error=r,u._complete=a,u}return r.__extends(e,t),e.prototype.next=function(t){if(!this.isStopped&&this._next){var e=this._parentSubscriber;u.a.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?this.__tryOrSetError(e,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}},e.prototype.error=function(t){if(!this.isStopped){var e=this._parentSubscriber,n=u.a.useDeprecatedSynchronousErrorHandling;if(this._error)n&&e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else if(e.syncErrorThrowable)n?(e.syncErrorValue=t,e.syncErrorThrown=!0):Object(l.a)(t),this.unsubscribe();else{if(this.unsubscribe(),n)throw t;Object(l.a)(t)}}},e.prototype.complete=function(){var t=this;if(!this.isStopped){var e=this._parentSubscriber;if(this._complete){var n=function(){return t._complete.call(t._context)};u.a.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?(this.__tryOrSetError(e,n),this.unsubscribe()):(this.__tryOrUnsub(n),this.unsubscribe())}else this.unsubscribe()}},e.prototype.__tryOrUnsub=function(t,e){try{t.call(this._context,e)}catch(t){if(this.unsubscribe(),u.a.useDeprecatedSynchronousErrorHandling)throw t;Object(l.a)(t)}},e.prototype.__tryOrSetError=function(t,e,n){if(!u.a.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,n)}catch(e){return u.a.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=e,t.syncErrorThrown=!0,!0):(Object(l.a)(e),!0)}return!1},e.prototype._unsubscribe=function(){var t=this._parentSubscriber;this._context=null,this._parentSubscriber=null,t.unsubscribe()},e}(c);function f(t){return t instanceof c||"_addParentTeardownLogic"in t&&t[s.a]}},Fxb1:function(t,e,n){"use strict";n.d(e,"a",function(){return p});var r=n("6blF"),o=n("+tJ4"),i=n("S5XQ"),a=n("u67D"),s=n("JcRv"),u=n("2ePl"),l=n("/WYv"),c=n("McSo"),d=n("En8+"),f=n("xTla"),p=function(t){if(t instanceof r.a)return function(e){return t._isScalar?(e.next(t.value),void e.complete()):t.subscribe(e)};if(t&&"function"==typeof t[f.a])return Object(s.a)(t);if(Object(u.a)(t))return Object(o.a)(t);if(Object(l.a)(t))return Object(i.a)(t);if(t&&"function"==typeof t[d.a])return Object(a.a)(t);var e=Object(c.a)(t)?"an invalid object":"'"+t+"'";throw new TypeError("You provided "+e+" where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.")}},G5J1:function(t,e,n){"use strict";n.d(e,"a",function(){return o}),n.d(e,"b",function(){return i});var r=n("6blF"),o=new r.a(function(t){return t.complete()});function i(t){return t?function(t){return new r.a(function(e){return t.schedule(function(){return e.complete()})})}(t):o}},Gi3i:function(t,e,n){"use strict";n.d(e,"a",function(){return a});var r=n("mrSG"),o=n("FFOo"),i=n("T1DM");function a(t,e){return void 0===e&&(e=i.a),function(n){return n.lift(new s(t,e))}}var s=function(){function t(t,e){this.dueTime=t,this.scheduler=e}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.dueTime,this.scheduler))},t}(),u=function(t){function e(e,n,r){var o=t.call(this,e)||this;return o.dueTime=n,o.scheduler=r,o.debouncedSubscription=null,o.lastValue=null,o.hasValue=!1,o}return r.__extends(e,t),e.prototype._next=function(t){this.clearDebounce(),this.lastValue=t,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(l,this.dueTime,this))},e.prototype._complete=function(){this.debouncedNext(),this.destination.complete()},e.prototype.debouncedNext=function(){if(this.clearDebounce(),this.hasValue){var t=this.lastValue;this.lastValue=null,this.hasValue=!1,this.destination.next(t)}},e.prototype.clearDebounce=function(){var t=this.debouncedSubscription;null!==t&&(this.remove(t),t.unsubscribe(),this.debouncedSubscription=null)},e}(o.a);function l(t){t.debouncedNext()}},"Gyf/":function(t,e,n){"use strict";var r=n("26FU"),o=n("mrSG"),i=n("K9Ia"),a=function(t){function e(e,n){var r=t.call(this,e,n)||this;return r.scheduler=e,r.work=n,r}return o.__extends(e,t),e.prototype.schedule=function(e,n){return void 0===n&&(n=0),n>0?t.prototype.schedule.call(this,e,n):(this.delay=n,this.state=e,this.scheduler.flush(this),this)},e.prototype.execute=function(e,n){return n>0||this.closed?t.prototype.execute.call(this,e,n):this._execute(e,n)},e.prototype.requestAsyncId=function(e,n,r){return void 0===r&&(r=0),null!==r&&r>0||null===r&&this.delay>0?t.prototype.requestAsyncId.call(this,e,n,r):e.flush(this)},e}(n("h9Dq").a),s=new(function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o.__extends(e,t),e}(n("CS9Q").a))(a),u=n("pugT"),l=n("FFOo"),c=n("60iU"),d=function(t){function e(e,n,r){void 0===r&&(r=0);var o=t.call(this,e)||this;return o.scheduler=n,o.delay=r,o}return o.__extends(e,t),e.dispatch=function(t){t.notification.observe(t.destination),this.unsubscribe()},e.prototype.scheduleMessage=function(t){this.add(this.scheduler.schedule(e.dispatch,this.delay,new f(t,this.destination)))},e.prototype._next=function(t){this.scheduleMessage(c.a.createNext(t))},e.prototype._error=function(t){this.scheduleMessage(c.a.createError(t))},e.prototype._complete=function(){this.scheduleMessage(c.a.createComplete())},e}(l.a),f=function(t,e){this.notification=t,this.destination=e},p=n("8g8A"),h=n("uMaO"),m=function(t){function e(e,n,r){void 0===e&&(e=Number.POSITIVE_INFINITY),void 0===n&&(n=Number.POSITIVE_INFINITY);var o=t.call(this)||this;return o.scheduler=r,o._events=[],o._infiniteTimeWindow=!1,o._bufferSize=e<1?1:e,o._windowTime=n<1?1:n,n===Number.POSITIVE_INFINITY?(o._infiniteTimeWindow=!0,o.next=o.nextInfiniteTimeWindow):o.next=o.nextTimeWindow,o}return o.__extends(e,t),e.prototype.nextInfiniteTimeWindow=function(e){var n=this._events;n.push(e),n.length>this._bufferSize&&n.shift(),t.prototype.next.call(this,e)},e.prototype.nextTimeWindow=function(e){this._events.push(new g(this._getNow(),e)),this._trimBufferThenGetEvents(),t.prototype.next.call(this,e)},e.prototype._subscribe=function(t){var e,n=this._infiniteTimeWindow,r=n?this._events:this._trimBufferThenGetEvents(),o=this.scheduler,i=r.length;if(this.closed)throw new p.a;if(this.isStopped||this.hasError?e=u.a.EMPTY:(this.observers.push(t),e=new h.a(this,t)),o&&t.add(t=new d(t,o)),n)for(var a=0;ae&&(i=Math.max(i,o-e)),i>0&&r.splice(0,i),r},e}(i.a),g=function(t,e){this.time=t,this.value=e},v=n("AytR"),y=n("PQUJ"),b=n("CcnG");n.d(e,"c",function(){return _}),n.d(e,"b",function(){return w}),n.d(e,"a",function(){return C});var _=function(){function t(){var t=this;this.token$=new r.a(null),this.incoming=new m(5),this.retryMax=3,this.status=new r.a(w.Connecting),this.retryCounter=new r.a(0),this.token=localStorage.getItem(v.a.localStorageKeys.token),v.a.production&&setTimeout(function(){t.ensureConnection()}),setInterval(function(){t.ensureConnection()},2e3)}return Object.defineProperty(t.prototype,"token",{get:function(){return this._token},set:function(t){null!=t&&(C.test(t)||(console.log("set invalid token"),t=null)),this.token$.next(t),localStorage.setItem(v.a.localStorageKeys.token,t),t!==this._token&&this.socket&&this.socket.readyState===this.socket.OPEN?this.socket.close():null==t&&this.socket&&this.socket.readyState===this.socket.OPEN&&this.socket.close(),this._token=t},enumerable:!0,configurable:!0}),t.prototype.hasValidToken=function(){return C.test(this.token)},t.prototype.sendPingAction=function(){this.hasValidToken()&&this.send({action:y.a.ping,data:null})},t.prototype.sendAction=function(t){this.hasValidToken()&&this.send(t)},t.prototype.send=function(t){t.token=this.token,this.socket.send(JSON.stringify(t))},t.prototype.ensureConnection=function(){var t=this;this.hasValidToken()&&(this.disconnectUntil&&this.disconnectUntil.getTime()>(new Date).getTime()?this.socket.readyState===this.socket.OPEN&&this.socket.close():this.retryCounter.getValue()>=this.retryMax||this.socket&&this.socket.readyState===this.socket.OPEN||this.connecting||(this.status.next(w.Connecting),this.connecting=!0,this.retryCounter.next(this.retryCounter.getValue()+1),this.socket=new WebSocket(v.a.webSocket+"?token="+this.token+"&client_version="+v.a.version),this.socket.onopen=function(e){t.retryCounter.next(0),t.status.next(w.Open),t.connecting=!1},this.socket.onclose=function(e){t.status.next(w.Closed),t.connecting=!1,1005===e.code&&(t.retryCounter.next(t.retryMax),console.log("server disconnected")),console.log("ws disconnect")},this.socket.onerror=function(t){},this.socket.onmessage=this.handleMessage.bind(this)))},t.prototype.handleMessage=function(t){if("message"===t.type){var e;try{e=JSON.parse(t.data)}catch(t){return void console.error("failed to parse webSocket message",t)}this.incoming.next(e)}},t.ngInjectableDef=b.defineInjectable({factory:function(){return new t},token:t,providedIn:"root"}),t}(),w=function(t){return t[t.Connecting=0]="Connecting",t[t.Open=1]="Open",t[t.Closed=3]="Closed",t}({}),C=/^[0-9a-f]{8}-[0-9a-f]{4}-5[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}~[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/},HJBe:function(t,e,n){"use strict";n.d(e,"a",function(){return i});var r=n("mrSG"),o=n("FFOo");function i(t){return void 0===t&&(t=null),function(e){return e.lift(new a(t))}}var a=function(){function t(t){this.defaultValue=t}return t.prototype.call=function(t,e){return e.subscribe(new s(t,this.defaultValue))},t}(),s=function(t){function e(e,n){var r=t.call(this,e)||this;return r.defaultValue=n,r.isEmpty=!0,r}return r.__extends(e,t),e.prototype._next=function(t){this.isEmpty=!1,this.destination.next(t)},e.prototype._complete=function(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()},e}(o.a)},IUTb:function(t,e,n){"use strict";n.d(e,"a",function(){return a});var r=n("6blF"),o=n("pugT"),i=n("+tJ4");function a(t,e){return new r.a(e?function(n){var r=new o.a,i=0;return r.add(e.schedule(function(){i!==t.length?(n.next(t[i++]),n.closed||r.add(this.schedule())):n.complete()})),r}:Object(i.a)(t))}},Ip0R:function(t,e,n){"use strict";n.d(e,"E",function(){return J}),n.d(e,"y",function(){return F}),n.d(e,"p",function(){return tt}),n.d(e,"q",function(){return X}),n.d(e,"g",function(){return y}),n.d(e,"w",function(){return b}),n.d(e,"z",function(){return C}),n.d(e,"A",function(){return O}),n.d(e,"F",function(){return et}),n.d(e,"c",function(){return Ct}),n.d(e,"m",function(){return nt}),n.d(e,"n",function(){return ot}),n.d(e,"o",function(){return at}),n.d(e,"r",function(){return ct}),n.d(e,"s",function(){return dt}),n.d(e,"t",function(){return ft}),n.d(e,"d",function(){return Ot}),n.d(e,"b",function(){return vt}),n.d(e,"e",function(){return yt}),n.d(e,"f",function(){return wt}),n.d(e,"i",function(){return bt}),n.d(e,"D",function(){return St}),n.d(e,"B",function(){return xt}),n.d(e,"C",function(){return kt}),n.d(e,"x",function(){return Tt}),n.d(e,"v",function(){return i}),n.d(e,"j",function(){return a}),n.d(e,"l",function(){return s}),n.d(e,"a",function(){return u}),n.d(e,"h",function(){return d}),n.d(e,"u",function(){return f}),n.d(e,"k",function(){return l});var r=n("CcnG"),o=n("mrSG"),i=function(){},a=new r.InjectionToken("Location Initialized"),s=function(){},u=new r.InjectionToken("appBaseHref"),l=function(){function t(e){var n=this;this._subject=new r.EventEmitter,this._platformStrategy=e;var o=this._platformStrategy.getBaseHref();this._baseHref=t.stripTrailingSlash(c(o)),this._platformStrategy.onPopState(function(t){n._subject.emit({url:n.path(!0),pop:!0,state:t.state,type:t.type})})}return t.prototype.path=function(t){return void 0===t&&(t=!1),this.normalize(this._platformStrategy.path(t))},t.prototype.isCurrentPathEqualTo=function(e,n){return void 0===n&&(n=""),this.path()==this.normalize(e+t.normalizeQueryParams(n))},t.prototype.normalize=function(e){return t.stripTrailingSlash(function(t,e){return t&&e.startsWith(t)?e.substring(t.length):e}(this._baseHref,c(e)))},t.prototype.prepareExternalUrl=function(t){return t&&"/"!==t[0]&&(t="/"+t),this._platformStrategy.prepareExternalUrl(t)},t.prototype.go=function(t,e,n){void 0===e&&(e=""),void 0===n&&(n=null),this._platformStrategy.pushState(n,"",t,e)},t.prototype.replaceState=function(t,e,n){void 0===e&&(e=""),void 0===n&&(n=null),this._platformStrategy.replaceState(n,"",t,e)},t.prototype.forward=function(){this._platformStrategy.forward()},t.prototype.back=function(){this._platformStrategy.back()},t.prototype.subscribe=function(t,e,n){return this._subject.subscribe({next:t,error:e,complete:n})},t.normalizeQueryParams=function(t){return t&&"?"!==t[0]?"?"+t:t},t.joinWithSlash=function(t,e){if(0==t.length)return e;if(0==e.length)return t;var n=0;return t.endsWith("/")&&n++,e.startsWith("/")&&n++,2==n?t+e.substring(1):1==n?t+e:t+"/"+e},t.stripTrailingSlash=function(t){var e=t.match(/#|\?|$/),n=e&&e.index||t.length;return t.slice(0,n-("/"===t[n-1]?1:0))+t.slice(n)},t}();function c(t){return t.replace(/\/index.html$/,"")}var d=function(t){function e(e,n){var r=t.call(this)||this;return r._platformLocation=e,r._baseHref="",null!=n&&(r._baseHref=n),r}return Object(o.__extends)(e,t),e.prototype.onPopState=function(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)},e.prototype.getBaseHref=function(){return this._baseHref},e.prototype.path=function(t){void 0===t&&(t=!1);var e=this._platformLocation.hash;return null==e&&(e="#"),e.length>0?e.substring(1):e},e.prototype.prepareExternalUrl=function(t){var e=l.joinWithSlash(this._baseHref,t);return e.length>0?"#"+e:e},e.prototype.pushState=function(t,e,n,r){var o=this.prepareExternalUrl(n+l.normalizeQueryParams(r));0==o.length&&(o=this._platformLocation.pathname),this._platformLocation.pushState(t,e,o)},e.prototype.replaceState=function(t,e,n,r){var o=this.prepareExternalUrl(n+l.normalizeQueryParams(r));0==o.length&&(o=this._platformLocation.pathname),this._platformLocation.replaceState(t,e,o)},e.prototype.forward=function(){this._platformLocation.forward()},e.prototype.back=function(){this._platformLocation.back()},e}(s),f=function(t){function e(e,n){var r=t.call(this)||this;if(r._platformLocation=e,null==n&&(n=r._platformLocation.getBaseHrefFromDOM()),null==n)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");return r._baseHref=n,r}return Object(o.__extends)(e,t),e.prototype.onPopState=function(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)},e.prototype.getBaseHref=function(){return this._baseHref},e.prototype.prepareExternalUrl=function(t){return l.joinWithSlash(this._baseHref,t)},e.prototype.path=function(t){void 0===t&&(t=!1);var e=this._platformLocation.pathname+l.normalizeQueryParams(this._platformLocation.search),n=this._platformLocation.hash;return n&&t?""+e+n:e},e.prototype.pushState=function(t,e,n,r){var o=this.prepareExternalUrl(n+l.normalizeQueryParams(r));this._platformLocation.pushState(t,e,o)},e.prototype.replaceState=function(t,e,n,r){var o=this.prepareExternalUrl(n+l.normalizeQueryParams(r));this._platformLocation.replaceState(t,e,o)},e.prototype.forward=function(){this._platformLocation.forward()},e.prototype.back=function(){this._platformLocation.back()},e}(s),p=void 0,h=["en",[["a","p"],["AM","PM"],p],[["AM","PM"],p,p],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],p,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],p,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",p,"{1} 'at' {0}",p],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"$","US Dollar",{},function(t){var e=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===n?1:5}],m={},g=function(t){return t[t.Decimal=0]="Decimal",t[t.Percent=1]="Percent",t[t.Currency=2]="Currency",t[t.Scientific=3]="Scientific",t}({}),v=function(t){return t[t.Zero=0]="Zero",t[t.One=1]="One",t[t.Two=2]="Two",t[t.Few=3]="Few",t[t.Many=4]="Many",t[t.Other=5]="Other",t}({}),y=function(t){return t[t.Format=0]="Format",t[t.Standalone=1]="Standalone",t}({}),b=function(t){return t[t.Narrow=0]="Narrow",t[t.Abbreviated=1]="Abbreviated",t[t.Wide=2]="Wide",t[t.Short=3]="Short",t}({}),_=function(t){return t[t.Short=0]="Short",t[t.Medium=1]="Medium",t[t.Long=2]="Long",t[t.Full=3]="Full",t}({}),w=function(t){return t[t.Decimal=0]="Decimal",t[t.Group=1]="Group",t[t.List=2]="List",t[t.PercentSign=3]="PercentSign",t[t.PlusSign=4]="PlusSign",t[t.MinusSign=5]="MinusSign",t[t.Exponential=6]="Exponential",t[t.SuperscriptingExponent=7]="SuperscriptingExponent",t[t.PerMille=8]="PerMille",t[t[1/0]=9]="Infinity",t[t.NaN=10]="NaN",t[t.TimeSeparator=11]="TimeSeparator",t[t.CurrencyDecimal=12]="CurrencyDecimal",t[t.CurrencyGroup=13]="CurrencyGroup",t}({});function C(t,e,n){var r=R(t);return j(j([r[3],r[4]],e),n)}function O(t,e,n){var r=R(t);return j(j([r[5],r[6]],e),n)}function S(t,e){return j(R(t)[10],e)}function E(t,e){return j(R(t)[11],e)}function x(t,e){return j(R(t)[12],e)}function k(t,e){var n=R(t),r=n[13][e];if(void 0===r){if(e===w.CurrencyDecimal)return n[13][w.Decimal];if(e===w.CurrencyGroup)return n[13][w.Group]}return r}function T(t){if(!t[19])throw new Error('Missing extra locale data for the locale "'+t[0]+'". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.')}function j(t,e){for(var n=e;n>-1;n--)if(void 0!==t[n])return t[n];throw new Error("Locale data API: locale data undefined")}function I(t){var e=Object(o.__read)(t.split(":"),2);return{hours:+e[0],minutes:+e[1]}}function R(t){var e=t.toLowerCase().replace(/_/g,"-"),n=m[e];if(n)return n;var r=e.split("-")[0];if(n=m[r])return n;if("en"===r)return h;throw new Error('Missing locale data for the locale "'+t+'".')}var P=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,D={},A=/((?:[^GyMLwWdEabBhHmsSzZO']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/,N=function(t){return t[t.Short=0]="Short",t[t.ShortGMT=1]="ShortGMT",t[t.Long=2]="Long",t[t.Extended=3]="Extended",t}({}),M=function(t){return t[t.FullYear=0]="FullYear",t[t.Month=1]="Month",t[t.Date=2]="Date",t[t.Hours=3]="Hours",t[t.Minutes=4]="Minutes",t[t.Seconds=5]="Seconds",t[t.FractionalSeconds=6]="FractionalSeconds",t[t.Day=7]="Day",t}({}),V=function(t){return t[t.DayPeriods=0]="DayPeriods",t[t.Days=1]="Days",t[t.Months=2]="Months",t[t.Eras=3]="Eras",t}({});function F(t,e,n,r){var i=function(t){if(K(t))return t;if("number"==typeof t&&!isNaN(t))return new Date(t);if("string"==typeof t){t=t.trim();var e,n=parseFloat(t);if(!isNaN(t-n))return new Date(n);if(/^(\d{4}-\d{1,2}-\d{1,2})$/.test(t)){var r=Object(o.__read)(t.split("-").map(function(t){return+t}),3);return new Date(r[0],r[1]-1,r[2])}if(e=t.match(P))return function(t){var e=new Date(0),n=0,r=0,o=t[8]?e.setUTCFullYear:e.setFullYear,i=t[8]?e.setUTCHours:e.setHours;t[9]&&(n=Number(t[9]+t[10]),r=Number(t[9]+t[11])),o.call(e,Number(t[1]),Number(t[2])-1,Number(t[3]));var a=Number(t[4]||0)-n,s=Number(t[5]||0)-r,u=Number(t[6]||0),l=Math.round(1e3*parseFloat("0."+(t[7]||0)));return i.call(e,a,s,u,l),e}(e)}var i=new Date(t);if(!K(i))throw new Error('Unable to convert "'+t+'" into a date');return i}(t);e=function t(e,n){var r=function(t){return R(t)[0]}(e);if(D[r]=D[r]||{},D[r][n])return D[r][n];var o="";switch(n){case"shortDate":o=S(e,_.Short);break;case"mediumDate":o=S(e,_.Medium);break;case"longDate":o=S(e,_.Long);break;case"fullDate":o=S(e,_.Full);break;case"shortTime":o=E(e,_.Short);break;case"mediumTime":o=E(e,_.Medium);break;case"longTime":o=E(e,_.Long);break;case"fullTime":o=E(e,_.Full);break;case"short":var i=t(e,"shortTime"),a=t(e,"shortDate");o=L(x(e,_.Short),[i,a]);break;case"medium":var s=t(e,"mediumTime"),u=t(e,"mediumDate");o=L(x(e,_.Medium),[s,u]);break;case"long":var l=t(e,"longTime"),c=t(e,"longDate");o=L(x(e,_.Long),[l,c]);break;case"full":var d=t(e,"fullTime"),f=t(e,"fullDate");o=L(x(e,_.Full),[d,f])}return o&&(D[r][n]=o),o}(n,e)||e;for(var a,s=[];e;){if(!(a=A.exec(e))){s.push(e);break}var u=(s=s.concat(a.slice(1))).pop();if(!u)break;e=u}var l=i.getTimezoneOffset();r&&(l=Z(r,l),i=function(t,e,n){var r=t.getTimezoneOffset();return function(t,e){return(t=new Date(t.getTime())).setMinutes(t.getMinutes()+e),t}(t,-1*(Z(e,r)-r))}(i,r));var c="";return s.forEach(function(t){var e=function(t){if(W[t])return W[t];var e;switch(t){case"G":case"GG":case"GGG":e=H(V.Eras,b.Abbreviated);break;case"GGGG":e=H(V.Eras,b.Wide);break;case"GGGGG":e=H(V.Eras,b.Narrow);break;case"y":e=U(M.FullYear,1,0,!1,!0);break;case"yy":e=U(M.FullYear,2,0,!0,!0);break;case"yyy":e=U(M.FullYear,3,0,!1,!0);break;case"yyyy":e=U(M.FullYear,4,0,!1,!0);break;case"M":case"L":e=U(M.Month,1,1);break;case"MM":case"LL":e=U(M.Month,2,1);break;case"MMM":e=H(V.Months,b.Abbreviated);break;case"MMMM":e=H(V.Months,b.Wide);break;case"MMMMM":e=H(V.Months,b.Narrow);break;case"LLL":e=H(V.Months,b.Abbreviated,y.Standalone);break;case"LLLL":e=H(V.Months,b.Wide,y.Standalone);break;case"LLLLL":e=H(V.Months,b.Narrow,y.Standalone);break;case"w":e=$(1);break;case"ww":e=$(2);break;case"W":e=$(1,!0);break;case"d":e=U(M.Date,1);break;case"dd":e=U(M.Date,2);break;case"E":case"EE":case"EEE":e=H(V.Days,b.Abbreviated);break;case"EEEE":e=H(V.Days,b.Wide);break;case"EEEEE":e=H(V.Days,b.Narrow);break;case"EEEEEE":e=H(V.Days,b.Short);break;case"a":case"aa":case"aaa":e=H(V.DayPeriods,b.Abbreviated);break;case"aaaa":e=H(V.DayPeriods,b.Wide);break;case"aaaaa":e=H(V.DayPeriods,b.Narrow);break;case"b":case"bb":case"bbb":e=H(V.DayPeriods,b.Abbreviated,y.Standalone,!0);break;case"bbbb":e=H(V.DayPeriods,b.Wide,y.Standalone,!0);break;case"bbbbb":e=H(V.DayPeriods,b.Narrow,y.Standalone,!0);break;case"B":case"BB":case"BBB":e=H(V.DayPeriods,b.Abbreviated,y.Format,!0);break;case"BBBB":e=H(V.DayPeriods,b.Wide,y.Format,!0);break;case"BBBBB":e=H(V.DayPeriods,b.Narrow,y.Format,!0);break;case"h":e=U(M.Hours,1,-12);break;case"hh":e=U(M.Hours,2,-12);break;case"H":e=U(M.Hours,1);break;case"HH":e=U(M.Hours,2);break;case"m":e=U(M.Minutes,1);break;case"mm":e=U(M.Minutes,2);break;case"s":e=U(M.Seconds,1);break;case"ss":e=U(M.Seconds,2);break;case"S":e=U(M.FractionalSeconds,1);break;case"SS":e=U(M.FractionalSeconds,2);break;case"SSS":e=U(M.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":e=z(N.Short);break;case"ZZZZZ":e=z(N.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":e=z(N.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":e=z(N.Long);break;default:return null}return W[t]=e,e}(t);c+=e?e(i,n,l):"''"===t?"'":t.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),c}function L(t,e){return e&&(t=t.replace(/\{([^}]+)}/g,function(t,n){return null!=e&&n in e?e[n]:t})),t}function B(t,e,n,r,o){void 0===n&&(n="-");var i="";(t<0||o&&t<=0)&&(o?t=1-t:(t=-t,i=n));for(var a=String(t);a.length0||u>-n)&&(u+=n),t===M.Hours)0===u&&-12===n&&(u=12);else if(t===M.FractionalSeconds)return s=e,B(u,3).substr(0,s);var l=k(a,w.MinusSign);return B(u,e,l,r,o)}}function H(t,e,n,r){return void 0===n&&(n=y.Format),void 0===r&&(r=!1),function(o,i){return function(t,e,n,r,o,i){switch(n){case V.Months:return O(e,o,r)[t.getMonth()];case V.Days:return C(e,o,r)[t.getDay()];case V.DayPeriods:var a=t.getHours(),s=t.getMinutes();if(i){var u,l=function(t){var e=R(t);return T(e),(e[19][2]||[]).map(function(t){return"string"==typeof t?I(t):[I(t[0]),I(t[1])]})}(e),c=function(t,e,n){var r=R(t);return T(r),j(j([r[19][0],r[19][1]],e)||[],n)||[]}(e,o,r);if(l.forEach(function(t,e){if(Array.isArray(t)){var n=t[0],r=t[1],o=r.hours;a>=n.hours&&s>=n.minutes&&(a0?Math.floor(o/60):Math.ceil(o/60);switch(t){case N.Short:return(o>=0?"+":"")+B(a,2,i)+B(Math.abs(o%60),2,i);case N.ShortGMT:return"GMT"+(o>=0?"+":"")+B(a,1,i);case N.Long:return"GMT"+(o>=0?"+":"")+B(a,2,i)+":"+B(Math.abs(o%60),2,i);case N.Extended:return 0===r?"Z":(o>=0?"+":"")+B(a,2,i)+":"+B(Math.abs(o%60),2,i);default:throw new Error('Unknown zone width "'+t+'"')}}}var G=0,q=4;function $(t,e){return void 0===e&&(e=!1),function(n,r){var o,i,a,s;if(e){var u=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,l=n.getDate();o=1+Math.floor((l+u)/7)}else{var c=(a=n.getFullYear(),s=new Date(a,G,1).getDay(),new Date(a,0,1+(s<=q?q:q+7)-s)),d=(i=n,new Date(i.getFullYear(),i.getMonth(),i.getDate()+(q-i.getDay()))).getTime()-c.getTime();o=1+Math.round(d/6048e5)}return B(o,t,k(r,w.MinusSign))}}var W={};function Z(t,e){t=t.replace(/:/g,"");var n=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(n)?e:n}function K(t){return t instanceof Date&&!isNaN(t.valueOf())}var Q=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function Y(t){var e=parseInt(t);if(isNaN(e))throw new Error("Invalid integer literal when parsing "+t);return e}var J=new r.InjectionToken("UseV4Plurals"),X=function(){},tt=function(t){function e(e,n){var r=t.call(this)||this;return r.locale=e,r.deprecatedPluralFn=n,r}return Object(o.__extends)(e,t),e.prototype.getPluralCategory=function(t,e){switch(this.deprecatedPluralFn?this.deprecatedPluralFn(e||this.locale,t):function(t){return R(t)[18]}(e||this.locale)(t)){case v.Zero:return"zero";case v.One:return"one";case v.Two:return"two";case v.Few:return"few";case v.Many:return"many";default:return"other"}},e}(X);function et(t,e){var n,r;e=encodeURIComponent(e);try{for(var i=Object(o.__values)(t.split(";")),a=i.next();!a.done;a=i.next()){var s=a.value,u=s.indexOf("="),l=Object(o.__read)(-1==u?[s,""]:[s.slice(0,u),s.slice(u+1)],2),c=l[1];if(l[0].trim()===e)return decodeURIComponent(c)}}catch(t){n={error:t}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return null}var nt=function(){function t(t,e,n,r){this._iterableDiffers=t,this._keyValueDiffers=e,this._ngEl=n,this._renderer=r,this._initialClasses=[]}return Object.defineProperty(t.prototype,"klass",{set:function(t){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof t?t.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClass",{set:function(t){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof t?t.split(/\s+/):t,this._rawClass&&(Object(r["\u0275isListLikeIterable"])(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())},enumerable:!0,configurable:!0}),t.prototype.ngDoCheck=function(){if(this._iterableDiffer){var t=this._iterableDiffer.diff(this._rawClass);t&&this._applyIterableChanges(t)}else if(this._keyValueDiffer){var e=this._keyValueDiffer.diff(this._rawClass);e&&this._applyKeyValueChanges(e)}},t.prototype._applyKeyValueChanges=function(t){var e=this;t.forEachAddedItem(function(t){return e._toggleClass(t.key,t.currentValue)}),t.forEachChangedItem(function(t){return e._toggleClass(t.key,t.currentValue)}),t.forEachRemovedItem(function(t){t.previousValue&&e._toggleClass(t.key,!1)})},t.prototype._applyIterableChanges=function(t){var e=this;t.forEachAddedItem(function(t){if("string"!=typeof t.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got "+Object(r["\u0275stringify"])(t.item));e._toggleClass(t.item,!0)}),t.forEachRemovedItem(function(t){return e._toggleClass(t.item,!1)})},t.prototype._applyClasses=function(t){var e=this;t&&(Array.isArray(t)||t instanceof Set?t.forEach(function(t){return e._toggleClass(t,!0)}):Object.keys(t).forEach(function(n){return e._toggleClass(n,!!t[n])}))},t.prototype._removeClasses=function(t){var e=this;t&&(Array.isArray(t)||t instanceof Set?t.forEach(function(t){return e._toggleClass(t,!1)}):Object.keys(t).forEach(function(t){return e._toggleClass(t,!1)}))},t.prototype._toggleClass=function(t,e){var n=this;(t=t.trim())&&t.split(/\s+/g).forEach(function(t){e?n._renderer.addClass(n._ngEl.nativeElement,t):n._renderer.removeClass(n._ngEl.nativeElement,t)})},t}(),rt=function(){function t(t,e,n,r){this.$implicit=t,this.ngForOf=e,this.index=n,this.count=r}return Object.defineProperty(t.prototype,"first",{get:function(){return 0===this.index},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"last",{get:function(){return this.index===this.count-1},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"even",{get:function(){return this.index%2==0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"odd",{get:function(){return!this.even},enumerable:!0,configurable:!0}),t}(),ot=function(){function t(t,e,n){this._viewContainer=t,this._template=e,this._differs=n,this._ngForOfDirty=!0,this._differ=null}return Object.defineProperty(t.prototype,"ngForOf",{set:function(t){this._ngForOf=t,this._ngForOfDirty=!0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngForTrackBy",{get:function(){return this._trackByFn},set:function(t){Object(r.isDevMode)()&&null!=t&&"function"!=typeof t&&console&&console.warn&&console.warn("trackBy must be a function, but received "+JSON.stringify(t)+". See https://angular.io/docs/ts/latest/api/common/index/NgFor-directive.html#!#change-propagation for more information."),this._trackByFn=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngForTemplate",{set:function(t){t&&(this._template=t)},enumerable:!0,configurable:!0}),t.prototype.ngDoCheck=function(){if(this._ngForOfDirty){this._ngForOfDirty=!1;var t=this._ngForOf;if(!this._differ&&t)try{this._differ=this._differs.find(t).create(this.ngForTrackBy)}catch(n){throw new Error("Cannot find a differ supporting object '"+t+"' of type '"+((e=t).name||typeof e)+"'. NgFor only supports binding to Iterables such as Arrays.")}}var e;if(this._differ){var n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}},t.prototype._applyChanges=function(t){var e=this,n=[];t.forEachOperation(function(t,r,o){if(null==t.previousIndex){var i=e._viewContainer.createEmbeddedView(e._template,new rt(null,e._ngForOf,-1,-1),o),a=new it(t,i);n.push(a)}else null==o?e._viewContainer.remove(r):(i=e._viewContainer.get(r),e._viewContainer.move(i,o),a=new it(t,i),n.push(a))});for(var r=0;r-1&&(s=s.replace(".","")),(o=s.search(/e/i))>0?(r<0&&(r=o),r+=+s.slice(o+1),s=s.substring(0,o)):r<0&&(r=s.length),o=0;"0"===s.charAt(o);o++);if(o===(a=s.length))n=[0],r=1;else{for(a--;"0"===s.charAt(a);)a--;for(r-=o,n=[],i=0;o<=a;o++,i++)n[i]=Number(s.charAt(o))}return r>22&&(n=n.splice(0,21),u=r-1,r=1),{digits:n,exponent:u,integerLen:r}}();a&&(l=function(t){if(0===t.digits[0])return t;var e=t.digits.length-t.integerLen;return t.exponent?t.exponent+=2:(0===e?t.digits.push(0,0):1===e&&t.digits.push(0),t.integerLen+=2),t}(l));var c=e.minInt,d=e.minFrac,f=e.maxFrac;if(i){var p=i.match(Q);if(null===p)throw new Error(i+" is not a valid digit info");var h=p[1],m=p[3],g=p[5];null!=h&&(c=Y(h)),null!=m&&(d=Y(m)),null!=g?f=Y(g):null!=m&&d>f&&(f=d)}!function(t,e,n){if(e>n)throw new Error("The minimum number of digits after fraction ("+e+") is higher than the maximum ("+n+").");var r=t.digits,o=r.length-t.integerLen,i=Math.min(Math.max(e,o),n),a=i+t.integerLen,s=r[a];if(a>0){r.splice(Math.max(t.integerLen,a));for(var u=a;u=5)if(a-1<0){for(var c=0;c>a;c--)r.unshift(0),t.integerLen++;r.unshift(1),t.integerLen++}else r[a-1]++;for(;o=f?r.pop():d=!1),e>=10?1:0},0);p&&(r.unshift(p),t.integerLen++)}(l,d,f);var v=l.digits,y=l.integerLen,b=l.exponent,_=[];for(u=v.every(function(t){return!t});y0?_=v.splice(y,v.length):(_=v,v=[0]);var C=[];for(v.length>=e.lgSize&&C.unshift(v.splice(-e.lgSize,v.length).join(""));v.length>e.gSize;)C.unshift(v.splice(-e.gSize,v.length).join(""));v.length&&C.unshift(v.join("")),s=C.join(k(n,r)),_.length&&(s+=k(n,o)+_.join("")),b&&(s+=k(n,w.Exponential)+"+"+b)}else s=k(n,w.Infinity);return t<0&&!u?e.negPre+s+e.negSuf:e.posPre+s+e.posSuf}(t,function(t,e){void 0===e&&(e="-");var n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},r=t.split(";"),o=r[0],i=r[1],a=-1!==o.indexOf(".")?o.split("."):[o.substring(0,o.lastIndexOf("0")+1),o.substring(o.lastIndexOf("0")+1)],s=a[0],u=a[1]||"";n.posPre=s.substr(0,s.indexOf("#"));for(var l=0;l=2;return function(l){return l.pipe(t?Object(o.a)(function(e,n){return t(e,n,l)}):u.a,Object(i.a)(1),n?Object(a.a)(e):Object(s.a)(function(){return new r.a}))}}},PCNd:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var r=function(){}},PQUJ:function(t,e,n){"use strict";var r,o,i,a;function s(t){return t==r.notConnected||t==r.manuallyDisconnected}n.d(e,"e",function(){return r}),n.d(e,"d",function(){return s}),n.d(e,"c",function(){return o}),n.d(e,"b",function(){return i}),n.d(e,"a",function(){return a}),function(t){t.notConnected="not-connected",t.default="default",t.manuallyDisconnected="manually-disconnected"}(r||(r={})),function(t){t.default="default",t.grounded="grounded",t.exempted="exempted",t.notSet="not-set"}(o||(o={})),function(t){t.state="state",t.action="action"}(i||(i={})),function(t){t.ping="ping",t.setClassMode="set-class-mode"}(a||(a={}))},PU8L:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var r=n("6blF");function o(t){var e=new r.a(function(e){e.next(t),e.complete()});return e._isScalar=!0,e.value=t,e}},Phjn:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var r=n("psW0");function o(t,e){return Object(r.a)(t,e,1)}},Pvuo:function(t,e,n){"use strict";n.d(e,"a",function(){return c});var r=n("AytR"),o=n("67Y/"),i=n("xMyE"),a=n("F/XL"),s=n("2+KW"),u=n("CcnG"),l=n("t/Na"),c=function(){function t(t){this.http=t}return t.prototype.getTeacherRuleSet=function(t,e){var n=this;return void 0===e&&(e=!1),!e&&this.teacherRuleSet?Object(a.a)({data:this.teacherRuleSet,message:null,error:null}):this.http.get(r.a.api+"/teacher/rules?token="+t+"&client_version="+r.a.version).pipe(Object(o.a)(function(t){return t}),Object(i.a)(function(t){t&&t.data&&(n.teacherRuleSet=t.data)}))},t.prototype.saveTeacherRuleSet=function(t,e){var n=this;return this.http.post(r.a.api+"/teacher/rules?token="+t+"&client_version="+r.a.version,e).pipe(Object(o.a)(function(t){return t}),Object(i.a)(function(t){t&&t.data&&(n.teacherRuleSet=e)}))},t.prototype.getRuleNodePresets=function(){return Object(a.a)(d)},t.ngInjectableDef=u.defineInjectable({factory:function(){return new t(u.inject(l.c))},token:t,providedIn:"root"}),t}(),d=[{name:"Microsoft Outlook",nodes:[{process_name:"outlook",type:s.a.software}]},{name:"Microsoft Word",nodes:[{process_name:"winword",type:s.a.software}]},{name:"Microsoft Excel",nodes:[{process_name:"excel",type:s.a.software}]},{name:"Microsoft Powerpoint",nodes:[{process_name:"powerpnt",type:s.a.software}]},{name:"Microsoft Teams",nodes:[{process_name:"teams",type:s.a.software}]},{name:"Microsoft OneNote",nodes:[{process_name:"onenote",type:s.a.software}]},{name:"Kladblok",nodes:[{process_name:"notepad",type:s.a.software}]},{name:"Spotify",nodes:[{process_name:"spotify",type:s.a.software}]},{name:"Google Chrome",nodes:[{process_name:"chrome",type:s.a.software}]},{name:"Rekenmachine",nodes:[{process_name:"calculator",type:s.a.software},{process_name:"rekenmachine",type:s.a.software}]},{name:"Microsoft Outlook",nodes:[{process_name:"outlook",type:s.a.software}]},{name:"Paint",nodes:[{process_name:"mspaint",type:s.a.software}]},{name:"Adobe Acrobat Reader DC",nodes:[{process_name:"acrord32",type:s.a.software}]},{name:"Foto's",nodes:[{process_name:"foto's",type:s.a.software},{process_name:"photos",type:s.a.software}]},{name:"Geogebra",nodes:[{process_name:"geogebragraphing",type:s.a.software},{process_name:"geogebra",type:s.a.software},{website:{type:s.d.domain,sub_frame_mode:s.c.default,domain_rule:{domain_name:"geogebra",tld:"org"}},type:s.a.website}]}]},PxNQ:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var r=function(){function t(t){this.activeModal=t}return t.prototype.ngOnInit=function(){},t.prototype.decline=function(){this.activeModal.close(!1)},t.prototype.accept=function(){this.activeModal.close(!0)},t.prototype.dismiss=function(){this.activeModal.dismiss()},t}()},QFu5:function(t,e,n){var r,o;void 0===(o="function"==typeof(r=function(){var t="undefined"!=typeof window&&void 0!==window.innerHeight,e=function e(n,r){var o,i,a,s,u,l,c,d,f,p=!1,h={},m={},g=[0,0];if("undefined"!=typeof jQuery&&n instanceof jQuery&&(n=n.get(0)),"object"!=typeof n||1!==n.nodeType)throw new Error("First argument must be an element");for(n.getAttribute("data-withinviewport-settings")&&window.JSON&&(h=JSON.parse(n.getAttribute("data-withinviewport-settings"))),m.container=(o="string"==typeof r?{sides:r}:r||{}).container||h.container||e.defaults.container||window,m.sides=o.sides||h.sides||e.defaults.sides||"all",m.top=o.top||h.top||e.defaults.top||0,m.right=o.right||h.right||e.defaults.right||0,m.bottom=o.bottom||h.bottom||e.defaults.bottom||0,m.left=o.left||h.left||e.defaults.left||0,"undefined"!=typeof jQuery&&m.container instanceof jQuery&&(m.container=m.container.get(0)),m.container!==document.body&&1===m.container.nodeType||(m.container=window),a=m.container===window,i={top:function(){return a?s.top>=m.top:s.top>=containerScrollTop-(containerScrollTop-u.top)+m.top},right:function(){return a?s.right<=u.right+containerScrollLeft-m.right:s.right<=u.right-g[0]-m.right},bottom:function(){var e=0;return a?t?e=m.container.innerHeight:document&&document.documentElement&&(e=document.documentElement.clientHeight):e=u.bottom,s.bottom<=e-g[1]-m.bottom},left:function(){return a?s.left>=m.left:s.left>=containerScrollLeft-(containerScrollLeft-u.left)+m.left},all:function(){return i.top()&&i.bottom()&&i.left()&&i.right()}},s=n.getBoundingClientRect(),a?(u=document.documentElement.getBoundingClientRect(),containerScrollTop=document.body.scrollTop,containerScrollLeft=window.scrollX||document.body.scrollLeft):(u=m.container.getBoundingClientRect(),containerScrollTop=m.container.scrollTop,containerScrollLeft=m.container.scrollLeft),containerScrollLeft&&(g[0]=18),containerScrollTop&&(g[1]=16),l=/^top$|^right$|^bottom$|^left$|^all$/,f=(c=m.sides.split(" ")).length;f--;)if(d=c[f].toLowerCase(),l.test(d)){if(!i[d]()){p=!1;break}p=!0}return p};return e.prototype.defaults={container:"undefined"!=typeof document?document.body:{},sides:"all",top:0,right:0,bottom:0,left:0},e.defaults=e.prototype.defaults,e.prototype.top=function(t){return e(t,"top")},e.prototype.right=function(t){return e(t,"right")},e.prototype.bottom=function(t){return e(t,"bottom")},e.prototype.left=function(t){return e(t,"left")},e})?r.apply(e,[]):r)||(t.exports=o)},QQ3W:function(t,e,n){"use strict";n.d(e,"b",function(){return a}),n.d(e,"a",function(){return r});var r,o=n("z84U"),i=n("CcnG"),a=function(){function t(t){this.events=t}return t.prototype.registerButtonClick=function(t){this.events.registerEvent(o.a.appButtonClicked,{button_id:t})},t.ngInjectableDef=i.defineInjectable({factory:function(){return new t(i.inject(o.b))},token:t,providedIn:"root"}),t}();!function(t){t.AdminLogin="admin-login",t.AdminCreateOneUserOpenPopup="admin-create-one-user-open-popup",t.AdminCreateOneUser="admin-create-one-user",t.AdminCreateBulkUserOpenPopup="admin-create-bulk-user-open-popup",t.AdminCreateBulkUser="admin-create-bulk-user",t.AdminCreateBulkUserSelectFile="admin-create-bulk-user-select-file",t.AdminSendLicenseBulkIntent="admin-send-license-bulk-intent",t.AdminSendLicenseBulk="admin-send-license-bulk",t.AdminSendUpdateBulkIntent="admin-send-bulk-intent",t.AdminSendUpdateBulk="admin-send-bulk",t.AdminDeleteUserBulkIntent="admin-delete-user-bulk-intent",t.AdminDeleteUserBulk="admin-delete-user-bulk",t.AdminExportUserCodes="admin-export-user-codes",t.TeacherClassroomSetBaseMode="teacher-classroom-set-base-mode",t.TeacherClassroomSetStudentMode="teacher-classroom-set-student-mode",t.TeacherClassroomSendMessageIntent="teacher-classroom-send-message-intent",t.TeacherClassroomSendMessage="teacher-classroom-send-message",t.TeacherClassroomSendPersonalMessageIntent="teacher-classroom-send-personal-message-intent",t.TeacherClassroomSendPersonalMessage="teacher-classroom-send-personal-message",t.TeacherRetryConnect="teacher-retry-connect",t.TeacherManualPing="teacher-manual-ping",t.HelpReportBugIntent="help-report-bug-intent",t.HelpReportBug="help-report-bug",t.OnboardingStudentCheckUserActivated="onboarding-student-check-user-activated",t.OnboardingStudentDownloadUpdateClicked="onboarding-student-download-update-clicked",t.RuleSetPersonalDeleteNode="rule-set-personal-delete-node",t.RuleSetPersonalAddNode="rule-set-personal-add-node",t.RuleSetPersonalDeleteRuleIntent="rule-set-personal-delete-rule-intent",t.RuleSetPersonalDeleteRule="rule-set-personal-delete-rule",t.RuleSetEditorToggleRuleState="rule-set-editor-toggle-rule-state",t.RuleSetEditorCreateNewRuleIntent="rule-set-editor-create-new-rule-intent",t.RuleSetEditorCreateNewRule="rule-set-editor-create-new-rule",t.SettingsIntent="settings-intent"}(r||(r={}))},Qgas:function(t,e,n){"use strict";var r=n("mrSG"),o=n("FFOo");function i(t,e){var n=!1;return arguments.length>=2&&(n=!0),function(r){return r.lift(new a(t,e,n))}}var a=function(){function t(t,e,n){void 0===n&&(n=!1),this.accumulator=t,this.seed=e,this.hasSeed=n}return t.prototype.call=function(t,e){return e.subscribe(new s(t,this.accumulator,this.seed,this.hasSeed))},t}(),s=function(t){function e(e,n,r,o){var i=t.call(this,e)||this;return i.accumulator=n,i._seed=r,i.hasSeed=o,i.index=0,i}return r.__extends(e,t),Object.defineProperty(e.prototype,"seed",{get:function(){return this._seed},set:function(t){this.hasSeed=!0,this._seed=t},enumerable:!0,configurable:!0}),e.prototype._next=function(t){if(this.hasSeed)return this._tryNext(t);this.seed=t,this.destination.next(t)},e.prototype._tryNext=function(t){var e,n=this.index++;try{e=this.accumulator(this.seed,t,n)}catch(t){this.destination.error(t)}this.seed=e,this.destination.next(e)},e}(o.a),u=n("AxiF"),l=n("HJBe"),c=n("y3By");function d(t,e){return arguments.length>=2?function(n){return Object(c.a)(i(t,e),Object(u.a)(1),Object(l.a)(e))(n)}:function(e){return Object(c.a)(i(function(e,n,r){return t(e,n,r+1)}),Object(u.a)(1))(e)}}n.d(e,"a",function(){return d})},S1nX:function(t,e,n){"use strict";var r=n("mrSG"),o=n("K9Ia"),i=n("6blF"),a=n("FFOo"),s=n("pugT");function u(){return function(t){return t.lift(new l(t))}}var l=function(){function t(t){this.connectable=t}return t.prototype.call=function(t,e){var n=this.connectable;n._refCount++;var r=new c(t,n),o=e.subscribe(r);return r.closed||(r.connection=n.connect()),o},t}(),c=function(t){function e(e,n){var r=t.call(this,e)||this;return r.connectable=n,r}return r.__extends(e,t),e.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._refCount;if(e<=0)this.connection=null;else if(t._refCount=e-1,e>1)this.connection=null;else{var n=this.connection,r=t._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}else this.connection=null},e}(a.a),d=function(t){function e(e,n){var r=t.call(this)||this;return r.source=e,r.subjectFactory=n,r._refCount=0,r._isComplete=!1,r}return r.__extends(e,t),e.prototype._subscribe=function(t){return this.getSubject().subscribe(t)},e.prototype.getSubject=function(){var t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject},e.prototype.connect=function(){var t=this._connection;return t||(this._isComplete=!1,(t=this._connection=new s.a).add(this.source.subscribe(new p(this.getSubject(),this))),t.closed?(this._connection=null,t=s.a.EMPTY):this._connection=t),t},e.prototype.refCount=function(){return u()(this)},e}(i.a).prototype,f={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:d._subscribe},_isComplete:{value:d._isComplete,writable:!0},getSubject:{value:d.getSubject},connect:{value:d.connect},refCount:{value:d.refCount}},p=function(t){function e(e,n){var r=t.call(this,e)||this;return r.connectable=n,r}return r.__extends(e,t),e.prototype._error=function(e){this._unsubscribe(),t.prototype._error.call(this,e)},e.prototype._complete=function(){this.connectable._isComplete=!0,this._unsubscribe(),t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}},e}(o.b);function h(){return new o.a}function m(){return function(t){return u()((e=h,function(t){var n;n="function"==typeof e?e:function(){return e};var r=Object.create(t,f);return r.source=t,r.subjectFactory=n,r})(t));var e}}n.d(e,"a",function(){return m})},S5XQ:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var r=n("DKTb"),o=function(t){return function(e){return t.then(function(t){e.closed||(e.next(t),e.complete())},function(t){return e.error(t)}).then(null,r.a),e}}},SZbH:function(t,e,n){"use strict";n.d(e,"a",function(){return w}),n.d(e,"b",function(){return d}),n.d(e,"c",function(){return _}),n.d(e,"d",function(){return u}),n.d(e,"e",function(){return S}),n.d(e,"f",function(){return x}),n.d(e,"g",function(){return l}),n.d(e,"h",function(){return O}),n.d(e,"i",function(){return C}),n.d(e,"j",function(){return b});var r=n("mrSG"),o=n("CcnG"),i=n("K9Ia"),a=n("ZYjt"),s=n("Ip0R"),u=function(){},l=function(){function t(t,e,n,r,o,a){var s=this;this.toastId=t,this.config=e,this.message=n,this.title=r,this.toastType=o,this.toastRef=a,this._onTap=new i.a,this._onAction=new i.a,this.toastRef.afterClosed().subscribe(function(){s._onAction.complete(),s._onTap.complete()})}return t.prototype.triggerTap=function(){this._onTap.next(),this.config.tapToDismiss&&this._onTap.complete()},t.prototype.onTap=function(){return this._onTap.asObservable()},t.prototype.triggerAction=function(t){this._onAction.next(t)},t.prototype.onAction=function(){return this._onAction.asObservable()},t}(),c={maxOpened:0,autoDismiss:!1,newestOnTop:!0,preventDuplicates:!1,countDuplicates:!1,resetTimeoutOnDuplicate:!1,iconClasses:{error:"toast-error",info:"toast-info",success:"toast-success",warning:"toast-warning"},closeButton:!1,disableTimeOut:!1,timeOut:5e3,extendedTimeOut:1e3,enableHtml:!1,progressBar:!1,toastClass:"ngx-toastr",positionClass:"toast-top-right",titleClass:"toast-title",messageClass:"toast-message",easing:"ease-in",easeTime:300,tapToDismiss:!0,onActivateTick:!1,progressAnimation:"decreasing"},d=new o.InjectionToken("ToastConfig"),f=function(){function t(t,e){this.component=t,this.injector=e}return t.prototype.attach=function(t,e){return this._attachedHost=t,t.attach(this,e)},t.prototype.detach=function(){var t=this._attachedHost;if(t)return this._attachedHost=void 0,t.detach()},Object.defineProperty(t.prototype,"isAttached",{get:function(){return null!=this._attachedHost},enumerable:!0,configurable:!0}),t.prototype.setAttachedHost=function(t){this._attachedHost=t},t}(),p=function(t){function e(e,n,r){var o=t.call(this)||this;return o._hostDomElement=e,o._componentFactoryResolver=n,o._appRef=r,o}return Object(r.__extends)(e,t),e.prototype.attachComponentPortal=function(t,e){var n,r=this,o=this._componentFactoryResolver.resolveComponentFactory(t.component);return n=o.create(t.injector),this._appRef.attachView(n.hostView),this.setDisposeFn(function(){r._appRef.detachView(n.hostView),n.destroy()}),e?this._hostDomElement.insertBefore(this._getComponentRootNode(n),this._hostDomElement.firstChild):this._hostDomElement.appendChild(this._getComponentRootNode(n)),n},e.prototype._getComponentRootNode=function(t){return t.hostView.rootNodes[0]},e}(function(){function t(){}return t.prototype.attach=function(t,e){return this._attachedPortal=t,this.attachComponentPortal(t,e)},t.prototype.detach=function(){this._attachedPortal&&this._attachedPortal.setAttachedHost(),this._attachedPortal=void 0,this._disposeFn&&(this._disposeFn(),this._disposeFn=void 0)},t.prototype.setDisposeFn=function(t){this._disposeFn=t},t}()),h=function(){function t(t){this._document=t}return t.prototype.ngOnDestroy=function(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)},t.prototype.getContainerElement=function(){return this._containerElement||this._createContainer(),this._containerElement},t.prototype._createContainer=function(){var t=this._document.createElement("div");t.classList.add("overlay-container"),this._document.body.appendChild(t),this._containerElement=t},t.ngInjectableDef=Object(o.defineInjectable)({factory:function(){return new t(Object(o.inject)(s.d))},token:t,providedIn:"root"}),t=Object(r.__decorate)([Object(r.__param)(0,Object(o.Inject)(s.d))],t)}(),m=function(){function t(t){this._portalHost=t}return t.prototype.attach=function(t,e){return void 0===e&&(e=!0),this._portalHost.attach(t,e)},t.prototype.detach=function(){return this._portalHost.detach()},t}(),g=function(){function t(t,e,n,r){this._overlayContainer=t,this._componentFactoryResolver=e,this._appRef=n,this._document=r,this._paneElements=new Map}return t.prototype.create=function(t,e){return this._createOverlayRef(this.getPaneElement(t,e))},t.prototype.getPaneElement=function(t,e){return void 0===t&&(t=""),this._paneElements.get(e)||this._paneElements.set(e,{}),this._paneElements.get(e)[t]||(this._paneElements.get(e)[t]=this._createPaneElement(t,e)),this._paneElements.get(e)[t]},t.prototype._createPaneElement=function(t,e){var n=this._document.createElement("div");return n.id="toast-container",n.classList.add(t),n.classList.add("toast-container"),e?e.getContainerElement().appendChild(n):this._overlayContainer.getContainerElement().appendChild(n),n},t.prototype._createPortalHost=function(t){return new p(t,this._componentFactoryResolver,this._appRef)},t.prototype._createOverlayRef=function(t){return new m(this._createPortalHost(t))},t.ngInjectableDef=Object(o.defineInjectable)({factory:function(){return new t(Object(o.inject)(h),Object(o.inject)(o.ComponentFactoryResolver),Object(o.inject)(o.ApplicationRef),Object(o.inject)(s.d))},token:t,providedIn:"root"}),t=Object(r.__decorate)([Object(r.__param)(3,Object(o.Inject)(s.d))],t)}(),v=function(){function t(t){this._overlayRef=t,this.duplicatesCount=0,this._afterClosed=new i.a,this._activate=new i.a,this._manualClose=new i.a,this._resetTimeout=new i.a,this._countDuplicate=new i.a}return t.prototype.manualClose=function(){this._manualClose.next(),this._manualClose.complete()},t.prototype.manualClosed=function(){return this._manualClose.asObservable()},t.prototype.timeoutReset=function(){return this._resetTimeout.asObservable()},t.prototype.countDuplicate=function(){return this._countDuplicate.asObservable()},t.prototype.close=function(){this._overlayRef.detach(),this._afterClosed.next(),this._manualClose.next(),this._afterClosed.complete(),this._manualClose.complete(),this._activate.complete(),this._resetTimeout.complete(),this._countDuplicate.complete()},t.prototype.afterClosed=function(){return this._afterClosed.asObservable()},t.prototype.isInactive=function(){return this._activate.isStopped},t.prototype.activate=function(){this._activate.next(),this._activate.complete()},t.prototype.afterActivate=function(){return this._activate.asObservable()},t.prototype.onDuplicate=function(t,e){t&&this._resetTimeout.next(),e&&this._countDuplicate.next(++this.duplicatesCount)},t}(),y=function(){function t(t,e){this._toastPackage=t,this._parentInjector=e}return t.prototype.get=function(t,e,n){return t===l?this._toastPackage:this._parentInjector.get(t,e,n)},t}(),b=function(){function t(t,e,n,o,i){this.overlay=e,this._injector=n,this.sanitizer=o,this.ngZone=i,this.currentlyActive=0,this.toasts=[],this.index=0,this.toastrConfig=Object(r.__assign)({},t.default,t.config),t.config.iconClasses&&(this.toastrConfig.iconClasses=Object(r.__assign)({},t.default.iconClasses,t.config.iconClasses))}return t.prototype.show=function(t,e,n,r){return void 0===n&&(n={}),void 0===r&&(r=""),this._preBuildNotification(r,t,e,this.applyConfig(n))},t.prototype.success=function(t,e,n){return void 0===n&&(n={}),this._preBuildNotification(this.toastrConfig.iconClasses.success||"",t,e,this.applyConfig(n))},t.prototype.error=function(t,e,n){return void 0===n&&(n={}),this._preBuildNotification(this.toastrConfig.iconClasses.error||"",t,e,this.applyConfig(n))},t.prototype.info=function(t,e,n){return void 0===n&&(n={}),this._preBuildNotification(this.toastrConfig.iconClasses.info||"",t,e,this.applyConfig(n))},t.prototype.warning=function(t,e,n){return void 0===n&&(n={}),this._preBuildNotification(this.toastrConfig.iconClasses.warning||"",t,e,this.applyConfig(n))},t.prototype.clear=function(t){var e,n;try{for(var o=Object(r.__values)(this.toasts),i=o.next();!i.done;i=o.next()){var a=i.value;if(void 0!==t){if(a.toastId===t)return void a.toastRef.manualClose()}else a.toastRef.manualClose()}}catch(t){e={error:t}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(e)throw e.error}}},t.prototype.remove=function(t){var e=this._findToast(t);if(!e)return!1;if(e.activeToast.toastRef.close(),this.toasts.splice(e.index,1),this.currentlyActive=this.currentlyActive-1,!this.toastrConfig.maxOpened||!this.toasts.length)return!1;if(this.currentlyActive=this.toastrConfig.maxOpened&&(s=!0,this.toastrConfig.autoDismiss&&this.clear(this.toasts[0].toastId));var u=this.overlay.create(r.positionClass,this.overlayContainer);this.index=this.index+1;var c=e;e&&r.enableHtml&&(c=this.sanitizer.sanitize(o.SecurityContext.HTML,e));var d=new v(u),p=new l(this.index,r,c,n,t,d),h=new y(p,this._injector),m=new f(r.toastComponent,h),g=u.attach(m,this.toastrConfig.newestOnTop);d.componentInstance=g._component;var b={toastId:this.index,message:e||"",toastRef:d,onShown:d.afterActivate(),onHidden:d.afterClosed(),onTap:p.onTap(),onAction:p.onAction(),portal:g};return s||setTimeout(function(){b.toastRef.activate(),i.currentlyActive=i.currentlyActive+1}),this.toasts.push(b),b},t.ngInjectableDef=Object(o.defineInjectable)({factory:function(){return new t(Object(o.inject)(d),Object(o.inject)(g),Object(o.inject)(o.INJECTOR),Object(o.inject)(a.DomSanitizer),Object(o.inject)(o.NgZone))},token:t,providedIn:"root"}),t=Object(r.__decorate)([Object(r.__param)(0,Object(o.Inject)(d))],t)}(),_=function(){function t(t,e,n){var r=this;this.toastrService=t,this.toastPackage=e,this.ngZone=n,this.width=-1,this.toastClasses="",this.state={value:"inactive",params:{easeTime:this.toastPackage.config.easeTime,easing:"ease-in"}},this.message=e.message,this.title=e.title,this.options=e.config,this.originalTimeout=e.config.timeOut,this.toastClasses=e.toastType+" "+e.config.toastClass,this.sub=e.toastRef.afterActivate().subscribe(function(){r.activateToast()}),this.sub1=e.toastRef.manualClosed().subscribe(function(){r.remove()}),this.sub2=e.toastRef.timeoutReset().subscribe(function(){r.resetTimeout()}),this.sub3=e.toastRef.countDuplicate().subscribe(function(t){r.duplicatesCount=t})}return Object.defineProperty(t.prototype,"displayStyle",{get:function(){return"inactive"===this.state.value?"none":"inherit"},enumerable:!0,configurable:!0}),t.prototype.ngOnDestroy=function(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)},t.prototype.activateToast=function(){var t=this;this.state=Object(r.__assign)({},this.state,{value:"active"}),!this.options.disableTimeOut&&this.options.timeOut&&(this.outsideTimeout(function(){return t.remove()},this.options.timeOut),this.hideTime=(new Date).getTime()+this.options.timeOut,this.options.progressBar&&this.outsideInterval(function(){return t.updateProgress()},10))},t.prototype.updateProgress=function(){if(0!==this.width&&100!==this.width&&this.options.timeOut){var t=(new Date).getTime();this.width=(this.hideTime-t)/this.options.timeOut*100,"increasing"===this.options.progressAnimation&&(this.width=100-this.width),this.width<=0&&(this.width=0),this.width>=100&&(this.width=100)}},t.prototype.resetTimeout=function(){var t=this;clearTimeout(this.timeout),clearInterval(this.intervalId),this.state=Object(r.__assign)({},this.state,{value:"active"}),this.outsideTimeout(function(){return t.remove()},this.originalTimeout),this.options.timeOut=this.originalTimeout,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&this.outsideInterval(function(){return t.updateProgress()},10)},t.prototype.remove=function(){var t=this;"removed"!==this.state.value&&(clearTimeout(this.timeout),this.state=Object(r.__assign)({},this.state,{value:"removed"}),this.outsideTimeout(function(){return t.toastrService.remove(t.toastPackage.toastId)},+this.toastPackage.config.easeTime))},t.prototype.tapToast=function(){"removed"!==this.state.value&&(this.toastPackage.triggerTap(),this.options.tapToDismiss&&this.remove())},t.prototype.stickAround=function(){"removed"!==this.state.value&&(clearTimeout(this.timeout),this.options.timeOut=0,this.hideTime=0,clearInterval(this.intervalId),this.width=0)},t.prototype.delayedHideToast=function(){var t=this;this.options.disableTimeOut||0===this.options.extendedTimeOut||"removed"===this.state.value||(this.outsideTimeout(function(){return t.remove()},this.options.extendedTimeOut),this.options.timeOut=this.options.extendedTimeOut,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&this.outsideInterval(function(){return t.updateProgress()},10))},t.prototype.outsideTimeout=function(t,e){var n=this;this.ngZone?this.ngZone.runOutsideAngular(function(){return n.timeout=setTimeout(function(){return n.runInsideAngular(t)},e)}):this.timeout=setTimeout(function(){return t()},e)},t.prototype.outsideInterval=function(t,e){var n=this;this.ngZone?this.ngZone.runOutsideAngular(function(){return n.intervalId=setInterval(function(){return n.runInsideAngular(t)},e)}):this.intervalId=setInterval(function(){return t()},e)},t.prototype.runInsideAngular=function(t){this.ngZone?this.ngZone.run(function(){return t()}):t()},t}(),w=Object(r.__assign)({},c,{toastComponent:_}),C=function(){function t(){}var e;return e=t,t.forRoot=function(t){return void 0===t&&(t={}),{ngModule:e,providers:[{provide:d,useValue:{default:w,config:t}}]}},t}(),O=function(){function t(){}return t.forRoot=function(t){return void 0===t&&(t={}),{ngModule:C,providers:[{provide:d,useValue:{default:c,config:t}}]}},t}(),S=function(){function t(t,e,n){var r=this;this.toastrService=t,this.toastPackage=e,this.appRef=n,this.width=-1,this.toastClasses="",this.state="inactive",this.message=e.message,this.title=e.title,this.options=e.config,this.originalTimeout=e.config.timeOut,this.toastClasses=e.toastType+" "+e.config.toastClass,this.sub=e.toastRef.afterActivate().subscribe(function(){r.activateToast()}),this.sub1=e.toastRef.manualClosed().subscribe(function(){r.remove()}),this.sub2=e.toastRef.timeoutReset().subscribe(function(){r.resetTimeout()}),this.sub3=e.toastRef.countDuplicate().subscribe(function(t){r.duplicatesCount=t})}return Object.defineProperty(t.prototype,"displayStyle",{get:function(){return"inactive"===this.state?"none":"inherit"},enumerable:!0,configurable:!0}),t.prototype.ngOnDestroy=function(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)},t.prototype.activateToast=function(){var t=this;this.state="active",!this.options.disableTimeOut&&this.options.timeOut&&(this.timeout=setTimeout(function(){t.remove()},this.options.timeOut),this.hideTime=(new Date).getTime()+this.options.timeOut,this.options.progressBar&&(this.intervalId=setInterval(function(){return t.updateProgress()},10))),this.options.onActivateTick&&this.appRef.tick()},t.prototype.updateProgress=function(){if(0!==this.width&&100!==this.width&&this.options.timeOut){var t=(new Date).getTime();this.width=(this.hideTime-t)/this.options.timeOut*100,"increasing"===this.options.progressAnimation&&(this.width=100-this.width),this.width<=0&&(this.width=0),this.width>=100&&(this.width=100)}},t.prototype.resetTimeout=function(){var t=this;clearTimeout(this.timeout),clearInterval(this.intervalId),this.state="active",this.options.timeOut=this.originalTimeout,this.timeout=setTimeout(function(){return t.remove()},this.originalTimeout),this.hideTime=(new Date).getTime()+(this.originalTimeout||0),this.width=-1,this.options.progressBar&&(this.intervalId=setInterval(function(){return t.updateProgress()},10))},t.prototype.remove=function(){var t=this;"removed"!==this.state&&(clearTimeout(this.timeout),this.state="removed",this.timeout=setTimeout(function(){return t.toastrService.remove(t.toastPackage.toastId)}))},t.prototype.tapToast=function(){"removed"!==this.state&&(this.toastPackage.triggerTap(),this.options.tapToDismiss&&this.remove())},t.prototype.stickAround=function(){"removed"!==this.state&&(clearTimeout(this.timeout),this.options.timeOut=0,this.hideTime=0,clearInterval(this.intervalId),this.width=0)},t.prototype.delayedHideToast=function(){var t=this;this.options.disableTimeOut||0===this.options.extendedTimeOut||"removed"===this.state||(this.timeout=setTimeout(function(){return t.remove()},this.options.extendedTimeOut),this.options.timeOut=this.options.extendedTimeOut,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&(this.intervalId=setInterval(function(){return t.updateProgress()},10)))},t}(),E=Object(r.__assign)({},c,{toastComponent:S}),x=function(){function t(){}var e;return e=t,t.forRoot=function(t){return void 0===t&&(t={}),{ngModule:e,providers:[{provide:d,useValue:{default:E,config:t}}]}},t}()},T1DM:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var r=n("h9Dq"),o=new(n("CS9Q").a)(r.a)},Tk1w:function(t,e,n){"use strict";n.d(e,"a",function(){return a});var r=n("VKgo"),o=n("CcnG"),i=n("ZYCi"),a=function(){function t(t,e){this.adminService=t,this.router=e}return t.prototype.canActivate=function(t,e){return!!this.adminService.$loggedIn.getValue()||(this.router.navigate(["/account","admin-signin"]),!1)},t.ngInjectableDef=o.defineInjectable({factory:function(){return new t(o.inject(r.a),o.inject(i.o))},token:t,providedIn:"root"}),t}()},Txjg:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var r=n("Zn8D");function o(){return Object(r.a)(1)}},UXK2:function(t,e,n){"use strict";var r=n("CcnG"),o=(n("OC8m"),n("PQUJ")),i=(n("z8n1"),n("Gyf/"),n("p0Sj")),a=n("mrSG"),s=n("FFOo"),u=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new l(t))},t}(),l=function(t){function e(e){var n=t.call(this,e)||this;return n.hasPrev=!1,n}return a.__extends(e,t),e.prototype._next=function(t){this.hasPrev?this.destination.next([this.prev,t]):this.hasPrev=!0,this.prev=t},e}(s.a),c=n("15JJ"),d=function(){function t(t){this.value=t}return t.prototype.call=function(t,e){return e.subscribe(new f(t,this.value))},t}(),f=function(t){function e(e,n){var r=t.call(this,e)||this;return r.value=n,r}return a.__extends(e,t),e.prototype._next=function(t){this.destination.next(this.value)},e}(s.a),p=n("9Z1F"),h=n("dzgT"),m=n("F/XL");n.d(e,"a",function(){return g});var g=function(){function t(t,e,n,a){var s=this;this.fb=t,this.notify=e,this.teacherSettings=n,this.ws=a,this.saved=new r.EventEmitter,this.roomModes=o.c,this.settingsForm=this.fb.group({desktopNotifications:[!0],defaultBlockMode:[o.c.default]}),this.settingsForm.valueChanges.pipe(Object(i.a)(this.teacherSettings.settings.getValue()),function(t){return t.lift(new u)},Object(c.a)(function(t){var e=t[0],n=t[1];return Object(h.a)([Object(m.a)(e),s.teacherSettings.saveSettings({enable_desktop_notifications:n.desktopNotifications,default_block_mode:n.defaultBlockMode},s.ws.token).pipe(function(t){return t.lift(new d(!0))},Object(p.a)(function(t){return Object(m.a)(!1)}))])})).subscribe(function(t){var e=t[1];e||s.settingsForm.setValue(t[0],{emitEvent:!1}),s.saved.emit(e)}),this.teacherSettings.settings.subscribe(function(t){return s.setSettings(t)})}return t.prototype.ngOnInit=function(){},t.prototype.setSettings=function(t){this.settingsForm.setValue({desktopNotifications:t.enable_desktop_notifications,defaultBlockMode:t.default_block_mode},{emitEvent:!1})},t}()},VKgo:function(t,e,n){"use strict";n.d(e,"a",function(){return m});var r=n("t/Na"),o=n("26FU"),i=n("0/uQ"),a=n("F/XL"),s=n("AytR"),u=n("67Y/"),l=n("xMyE"),c=n("9Z1F"),d=n("Phjn"),f=n("OC8m"),p=n("CcnG"),h=n("ZYCi"),m=function(){function t(t,e,n){this.http=t,this.router=e,this.notify=n,this.$loggedIn=new o.a(!1),this.$authorizedSchools=new o.a({}),this.$selectedSchool=new o.a(null);var r=this.loadToken();r&&r.token&&r.authorized_schools&&(this.token=r.token,this.$authorizedSchools.next(r.authorized_schools),this.selectSchool(Object.keys(r.authorized_schools)[0]),this.$loggedIn.next(!0))}return t.prototype.login=function(t,e){var n=this;return this.http.post(s.a.api+"/admin/login",{username:t,password:e}).pipe(Object(u.a)(function(t){return t}),Object(l.a)(function(t){n.token=t.data.token,n.$authorizedSchools.next(t.data.authorized_schools),n.selectSchool(Object.keys(t.data.authorized_schools)[0]),n.$loggedIn.next(!0),n.saveToken(t.data.token,t.data.authorized_schools)}),Object(c.a)(function(t){throw n.$loggedIn.next(!1),n.token=null,n.$authorizedSchools.next({}),t}))},t.prototype.listUsers=function(t){var e=this.getAuthHeader();return this.http.get(s.a.api+"/admin/users?school_id="+t,{headers:e}).pipe(Object(u.a)(function(t){return t}),Object(c.a)(this.catchForbidden.bind(this)))},t.prototype.removeUser=function(t,e){var n=this.getAuthHeader();return this.http.delete(s.a.api+"/admin/users?school_id="+e+"&user_code="+t,{headers:n}).pipe(Object(u.a)(function(t){return t}),Object(c.a)(this.catchForbidden.bind(this)))},t.prototype.removeUserBulk=function(t,e){var n=this;return Object(i.a)(t).pipe(Object(d.a)(function(t){return n.removeUser(t,e).pipe(Object(c.a)(function(t){return Object(a.a)({data:null,message:null,error:t})}),Object(u.a)(function(e){return e.error?{userCode:t,ok:!1}:{userCode:t,ok:!0}}))}))},t.prototype.sendUpdate=function(t,e,n){var r=this.getAuthHeader();return this.http.post(s.a.api+"/admin/users/send-update?school_id="+e+"&user_code="+t+"&send_email="+n,{},{headers:r}).pipe(Object(u.a)(function(t){return t}),Object(c.a)(this.catchForbidden.bind(this)))},t.prototype.sendUpdateBulk=function(t,e,n){var r=this;return Object(i.a)(t).pipe(Object(d.a)(function(t){return r.sendUpdate(t,e,n).pipe(Object(c.a)(function(t){return Object(a.a)({data:null,message:null,error:t})}),Object(u.a)(function(e){return e.error?{userCode:t,ok:!1}:{userCode:t,ok:!0}}))}))},t.prototype.createUser=function(t,e){var n=this.getAuthHeader();return this.http.post(s.a.api+"/admin/users/create?school_id="+e,t,{headers:n}).pipe(Object(u.a)(function(t){return t}),Object(c.a)(this.catchForbidden.bind(this)))},t.prototype.createUserBulk=function(t,e){var n=this;return Object(i.a)(t).pipe(Object(d.a)(function(t){return n.createUser(t,e).pipe(Object(c.a)(function(t){return Object(a.a)({data:null,message:null,error:t})}),Object(u.a)(function(e){return e.error?{userCode:t.user_code,ok:!1}:{userCode:t.user_code,ok:!0}}))}))},t.prototype.sendLicense=function(t,e,n){var r=this.getAuthHeader();return this.http.post(s.a.api+"/admin/users/send-license?school_id="+e+"&user_code="+t+"&template_type="+n,null,{headers:r}).pipe(Object(u.a)(function(t){return t}),Object(c.a)(this.catchForbidden.bind(this)))},t.prototype.sendLicenseBulk=function(t,e){var n=this;return Object(i.a)(t).pipe(Object(d.a)(function(t){return n.sendLicense(t.userCode,e,t.templateType).pipe(Object(c.a)(function(t){return Object(a.a)({data:null,message:null,error:t})}),Object(u.a)(function(e){return e.error?{userCode:t.userCode,ok:!1}:{userCode:t.userCode,ok:!0}}))}))},t.prototype.selectSchool=function(t){this.$selectedSchool.next({name:t,id:this.$authorizedSchools.getValue()[t]})},t.prototype.getAuthHeader=function(){return new r.h({Authorization:"Bearer "+this.token})},t.prototype.saveToken=function(t,e){var n=JSON.stringify({token:t,authorized_schools:e});localStorage.setItem(s.a.localStorageKeys.adminToken,n)},t.prototype.loadToken=function(){var t=localStorage.getItem(s.a.localStorageKeys.adminToken);return JSON.parse(t)},t.prototype.catchForbidden=function(t){throw t instanceof r.f&&403==t.status&&(this.invalidateToken(),this.redirectToLogin()),t},t.prototype.redirectToLogin=function(){this.notify.warning("U moet opnieuw inloggen"),this.router.navigate(["/account/admin-signin"])},t.prototype.invalidateToken=function(){this.token=null,this.$authorizedSchools.next(null),this.$selectedSchool.next(null),this.$loggedIn.next(!1),localStorage.removeItem(s.a.localStorageKeys.adminToken)},t.ngInjectableDef=p.defineInjectable({factory:function(){return new t(p.inject(r.c),p.inject(h.o),p.inject(f.a))},token:t,providedIn:"root"}),t}()},"VnD/":function(t,e,n){"use strict";n.d(e,"a",function(){return i});var r=n("mrSG"),o=n("FFOo");function i(t,e){return function(n){return n.lift(new a(t,e))}}var a=function(){function t(t,e){this.predicate=t,this.thisArg=e}return t.prototype.call=function(t,e){return e.subscribe(new s(t,this.predicate,this.thisArg))},t}(),s=function(t){function e(e,n,r){var o=t.call(this,e)||this;return o.predicate=n,o.thisArg=r,o.count=0,o}return r.__extends(e,t),e.prototype._next=function(t){var e;try{e=this.predicate.call(this.thisArg,t,this.count++)}catch(t){return void this.destination.error(t)}e&&this.destination.next(t)},e}(o.a)},Wo6q:function(t,e,n){"use strict";n.d(e,"a",function(){return l}),n.d(e,"b",function(){return u});var r=n("CcnG"),o=n("K9Ia"),i=function(){var t={VISIBLE:0,HIDDEN:1,PRERENDER:2,UNLOADED:3};return t[t.VISIBLE]="VISIBLE",t[t.HIDDEN]="HIDDEN",t[t.PRERENDER]="PRERENDER",t[t.UNLOADED]="UNLOADED",t}(),a=function(){function t(){}return t.DEFAULT="hidden",t.MS="msHidden",t.WEB_KIT="webkitHidden",t}(),s=function(){function t(){}return t.VISIBLE="visible",t.HIDDEN="hidden",t.PRERENDER="prerender",t.UNLOADED="unloaded",t}(),u=function(){function t(){this.onPageVisibleSource=new o.a,this.onPageHiddenSource=new o.a,this.onPagePrerenderSource=new o.a,this.onPageUnloadedSource=new o.a,this.onPageVisibilityChangeSource=new o.a,this.$onPageVisible=this.onPageVisibleSource.asObservable(),this.$onPageHidden=this.onPageHiddenSource.asObservable(),this.$onPagePrerender=this.onPagePrerenderSource.asObservable(),this.$onPageUnloaded=this.onPageUnloadedSource.asObservable(),this.$onPageVisibilityChange=this.onPageVisibilityChangeSource.asObservable(),this.addEventListenerVibilityChange()}return t.prototype.isPageVisible=function(){return s.VISIBLE===this.getVisibilityState()||!this.isHidden()},t.prototype.isPageHidden=function(){return s.HIDDEN===this.getVisibilityState()||this.isHidden()},t.prototype.isPagePrerender=function(){return s.PRERENDER===this.getVisibilityState()},t.prototype.isPageUnloaded=function(){return s.UNLOADED===this.getVisibilityState()},t.prototype.isHidden=function(){return document[this.hidden]},t.prototype.getVisibilityState=function(){return document[this.visibilityState]},t.prototype.defineBrowserSupport=function(){void 0!==document[a.DEFAULT]?(this.hidden=a.DEFAULT,this.visibilityChange="visibilitychange",this.visibilityState="visibilityState"):void 0!==document[a.MS]?(this.hidden=a.MS,this.visibilityChange="msvisibilitychange",this.visibilityState="msVisibilityState"):void 0!==document[a.WEB_KIT]&&(this.hidden=a.WEB_KIT,this.visibilityChange="webkitvisibilitychange",this.visibilityState="webkitVisibilityState")},t.prototype.addEventListenerVibilityChange=function(){var t=this;this.defineBrowserSupport(),document.addEventListener(this.visibilityChange,function(){switch(t.getVisibilityState()){case s.VISIBLE:t.onPageVisibilityChangeSource.next(i.VISIBLE),t.onPageVisibleSource.next();break;case s.HIDDEN:t.onPageVisibilityChangeSource.next(i.HIDDEN),t.onPageHiddenSource.next();break;case s.PRERENDER:t.onPageVisibilityChangeSource.next(i.PRERENDER),t.onPagePrerenderSource.next();break;case s.UNLOADED:t.onPageVisibilityChangeSource.next(i.UNLOADED),t.onPageUnloadedSource.next();break;default:t.isHidden()?(t.onPageVisibilityChangeSource.next(i.HIDDEN),t.onPageHiddenSource.next()):(t.onPageVisibilityChangeSource.next(i.VISIBLE),t.onPageVisibleSource.next())}},!1)},t.ngInjectableDef=Object(r.defineInjectable)({factory:function(){return new t},token:t,providedIn:"root"}),t}(),l=function(){}},XlPw:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var r=n("6blF");function o(t,e){return new r.a(e?function(n){return e.schedule(i,0,{error:t,subscriber:n})}:function(e){return e.error(t)})}function i(t){t.subscriber.error(t.error)}},ZYCi:function(t,e,n){"use strict";var r=n("mrSG"),o=n("CcnG"),i=n("F/XL"),a=n("0/uQ"),s=n("6blF"),u=n("3fWJ"),l=n("26FU"),c=n("K9Ia"),d=n("67Y/"),f=n("Txjg"),p=n("VnD/"),h=n("AxiF"),m=n("tNVB"),g=n("HJBe"),v=n("mChF");function y(t,e){var n=arguments.length>=2;return function(r){return r.pipe(t?Object(p.a)(function(e,n){return t(e,n,r)}):v.a,Object(h.a)(1),n?Object(g.a)(e):Object(m.a)(function(){return new u.a}))}}var b=n("Zn8D"),_=n("FFOo");function w(t,e){return function(n){return n.lift(new C(t,e,n))}}var C=function(){function t(t,e,n){this.predicate=t,this.thisArg=e,this.source=n}return t.prototype.call=function(t,e){return e.subscribe(new O(t,this.predicate,this.thisArg,this.source))},t}(),O=function(t){function e(e,n,r,o){var i=t.call(this,e)||this;return i.predicate=n,i.thisArg=r,i.source=o,i.index=0,i.thisArg=r||i,i}return r.__extends(e,t),e.prototype.notifyComplete=function(t){this.destination.next(t),this.destination.complete()},e.prototype._next=function(t){var e=!1;try{e=this.predicate.call(this.thisArg,t,this.index++,this.source)}catch(t){return void this.destination.error(t)}e||this.notifyComplete(!1)},e.prototype._complete=function(){this.notifyComplete(!0)},e}(_.a),S=n("9Z1F"),E=n("P6uZ"),x=n("psW0"),k=n("Phjn"),T=n("Qgas"),j=n("Ip0R"),I=n("ZYjt");n.d(e,"y",function(){return Ye}),n.d(e,"F",function(){return un}),n.d(e,"A",function(){return en}),n.d(e,"G",function(){return ln}),n.d(e,"H",function(){return cn}),n.d(e,"C",function(){return rn}),n.d(e,"B",function(){return nn}),n.d(e,"E",function(){return sn}),n.d(e,"z",function(){return Xe}),n.d(e,"D",function(){return an}),n.d(e,"I",function(){return Ke}),n.d(e,"p",function(){return Ve}),n.d(e,"r",function(){return Fe}),n.d(e,"q",function(){return Be}),n.d(e,"t",function(){return ze}),n.d(e,"d",function(){return A}),n.d(e,"e",function(){return D}),n.d(e,"f",function(){return N}),n.d(e,"g",function(){return P}),n.d(e,"n",function(){return Ee}),n.d(e,"o",function(){return Ae}),n.d(e,"m",function(){return ke}),n.d(e,"k",function(){return Qe}),n.d(e,"l",function(){return dn}),n.d(e,"s",function(){return tn}),n.d(e,"b",function(){return He}),n.d(e,"h",function(){return We}),n.d(e,"i",function(){return $e}),n.d(e,"j",function(){return qe}),n.d(e,"u",function(){return Ze}),n.d(e,"a",function(){return Zt}),n.d(e,"v",function(){return je}),n.d(e,"c",function(){return vt}),n.d(e,"w",function(){return gt}),n.d(e,"x",function(){return Z});var R=function(t,e){this.id=t,this.url=e},P=function(t){function e(e,n,r,o){void 0===r&&(r="imperative"),void 0===o&&(o=null);var i=t.call(this,e,n)||this;return i.navigationTrigger=r,i.restoredState=o,i}return Object(r.__extends)(e,t),e.prototype.toString=function(){return"NavigationStart(id: "+this.id+", url: '"+this.url+"')"},e}(R),D=function(t){function e(e,n,r){var o=t.call(this,e,n)||this;return o.urlAfterRedirects=r,o}return Object(r.__extends)(e,t),e.prototype.toString=function(){return"NavigationEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"')"},e}(R),A=function(t){function e(e,n,r){var o=t.call(this,e,n)||this;return o.reason=r,o}return Object(r.__extends)(e,t),e.prototype.toString=function(){return"NavigationCancel(id: "+this.id+", url: '"+this.url+"')"},e}(R),N=function(t){function e(e,n,r){var o=t.call(this,e,n)||this;return o.error=r,o}return Object(r.__extends)(e,t),e.prototype.toString=function(){return"NavigationError(id: "+this.id+", url: '"+this.url+"', error: "+this.error+")"},e}(R),M=function(t){function e(e,n,r,o){var i=t.call(this,e,n)||this;return i.urlAfterRedirects=r,i.state=o,i}return Object(r.__extends)(e,t),e.prototype.toString=function(){return"RoutesRecognized(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},e}(R),V=function(t){function e(e,n,r,o){var i=t.call(this,e,n)||this;return i.urlAfterRedirects=r,i.state=o,i}return Object(r.__extends)(e,t),e.prototype.toString=function(){return"GuardsCheckStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},e}(R),F=function(t){function e(e,n,r,o,i){var a=t.call(this,e,n)||this;return a.urlAfterRedirects=r,a.state=o,a.shouldActivate=i,a}return Object(r.__extends)(e,t),e.prototype.toString=function(){return"GuardsCheckEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+", shouldActivate: "+this.shouldActivate+")"},e}(R),L=function(t){function e(e,n,r,o){var i=t.call(this,e,n)||this;return i.urlAfterRedirects=r,i.state=o,i}return Object(r.__extends)(e,t),e.prototype.toString=function(){return"ResolveStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},e}(R),B=function(t){function e(e,n,r,o){var i=t.call(this,e,n)||this;return i.urlAfterRedirects=r,i.state=o,i}return Object(r.__extends)(e,t),e.prototype.toString=function(){return"ResolveEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},e}(R),U=function(){function t(t){this.route=t}return t.prototype.toString=function(){return"RouteConfigLoadStart(path: "+this.route.path+")"},t}(),H=function(){function t(t){this.route=t}return t.prototype.toString=function(){return"RouteConfigLoadEnd(path: "+this.route.path+")"},t}(),z=function(){function t(t){this.snapshot=t}return t.prototype.toString=function(){return"ChildActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},t}(),G=function(){function t(t){this.snapshot=t}return t.prototype.toString=function(){return"ChildActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},t}(),q=function(){function t(t){this.snapshot=t}return t.prototype.toString=function(){return"ActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},t}(),$=function(){function t(t){this.snapshot=t}return t.prototype.toString=function(){return"ActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},t}(),W=function(){function t(t,e,n){this.routerEvent=t,this.position=e,this.anchor=n}return t.prototype.toString=function(){return"Scroll(anchor: '"+this.anchor+"', position: '"+(this.position?this.position[0]+", "+this.position[1]:null)+"')"},t}(),Z=function(){},K="primary",Q=function(){function t(t){this.params=t||{}}return t.prototype.has=function(t){return this.params.hasOwnProperty(t)},t.prototype.get=function(t){if(this.has(t)){var e=this.params[t];return Array.isArray(e)?e[0]:e}return null},t.prototype.getAll=function(t){if(this.has(t)){var e=this.params[t];return Array.isArray(e)?e:[e]}return[]},Object.defineProperty(t.prototype,"keys",{get:function(){return Object.keys(this.params)},enumerable:!0,configurable:!0}),t}();function Y(t){return new Q(t)}function J(t,e,n){var r=n.path.split("/");if(r.length>t.length)return null;if("full"===n.pathMatch&&(e.hasChildren()||r.length0?t[t.length-1]:null}function st(t,e){for(var n in t)t.hasOwnProperty(n)&&e(t[n],n)}function ut(t){return t.pipe(Object(b.a)(),w(function(t){return!0===t}))}function lt(t){return Object(o["\u0275isObservable"])(t)?t:Object(o["\u0275isPromise"])(t)?Object(a.a)(Promise.resolve(t)):Object(i.a)(t)}function ct(t,e,n){return n?function(t,e){return ot(t,e)}(t.queryParams,e.queryParams)&&function t(e,n){if(!ht(e.segments,n.segments))return!1;if(e.numberOfChildren!==n.numberOfChildren)return!1;for(var r in n.children){if(!e.children[r])return!1;if(!t(e.children[r],n.children[r]))return!1}return!0}(t.root,e.root):function(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(function(n){return e[n]===t[n]})}(t.queryParams,e.queryParams)&&function t(e,n){return function e(n,r,o){if(n.segments.length>o.length)return!!ht(a=n.segments.slice(0,o.length),o)&&!r.hasChildren();if(n.segments.length===o.length){if(!ht(n.segments,o))return!1;for(var i in r.children){if(!n.children[i])return!1;if(!t(n.children[i],r.children[i]))return!1}return!0}var a=o.slice(0,n.segments.length),s=o.slice(n.segments.length);return!!ht(n.segments,a)&&!!n.children[K]&&e(n.children[K],r,s)}(e,n,n.segments)}(t.root,e.root)}var dt=function(){function t(t,e,n){this.root=t,this.queryParams=e,this.fragment=n}return Object.defineProperty(t.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=Y(this.queryParams)),this._queryParamMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return yt.serialize(this)},t}(),ft=function(){function t(t,e){var n=this;this.segments=t,this.children=e,this.parent=null,st(e,function(t,e){return t.parent=n})}return t.prototype.hasChildren=function(){return this.numberOfChildren>0},Object.defineProperty(t.prototype,"numberOfChildren",{get:function(){return Object.keys(this.children).length},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return bt(this)},t}(),pt=function(){function t(t,e){this.path=t,this.parameters=e}return Object.defineProperty(t.prototype,"parameterMap",{get:function(){return this._parameterMap||(this._parameterMap=Y(this.parameters)),this._parameterMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return Et(this)},t}();function ht(t,e){return t.length===e.length&&t.every(function(t,n){return t.path===e[n].path})}function mt(t,e){var n=[];return st(t.children,function(t,r){r===K&&(n=n.concat(e(t,r)))}),st(t.children,function(t,r){r!==K&&(n=n.concat(e(t,r)))}),n}var gt=function(){},vt=function(){function t(){}return t.prototype.parse=function(t){var e=new It(t);return new dt(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())},t.prototype.serialize=function(t){var e,n;return"/"+function t(e,n){if(!e.hasChildren())return bt(e);if(n){var r=e.children[K]?t(e.children[K],!1):"",o=[];return st(e.children,function(e,n){n!==K&&o.push(n+":"+t(e,!1))}),o.length>0?r+"("+o.join("//")+")":r}var i=mt(e,function(n,r){return r===K?[t(e.children[K],!1)]:[r+":"+t(n,!1)]});return bt(e)+"/("+i.join("//")+")"}(t.root,!0)+(e=t.queryParams,(n=Object.keys(e).map(function(t){var n=e[t];return Array.isArray(n)?n.map(function(e){return wt(t)+"="+wt(e)}).join("&"):wt(t)+"="+wt(n)})).length?"?"+n.join("&"):"")+("string"==typeof t.fragment?"#"+encodeURI(t.fragment):"")},t}(),yt=new vt;function bt(t){return t.segments.map(function(t){return Et(t)}).join("/")}function _t(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function wt(t){return _t(t).replace(/%3B/gi,";")}function Ct(t){return _t(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ot(t){return decodeURIComponent(t)}function St(t){return Ot(t.replace(/\+/g,"%20"))}function Et(t){return""+Ct(t.path)+(e=t.parameters,Object.keys(e).map(function(t){return";"+Ct(t)+"="+Ct(e[t])}).join(""));var e}var xt=/^[^\/()?;=#]+/;function kt(t){var e=t.match(xt);return e?e[0]:""}var Tt=/^[^=?&#]+/,jt=/^[^?&#]+/,It=function(){function t(t){this.url=t,this.remaining=t}return t.prototype.parseRootSegment=function(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new ft([],{}):new ft([],this.parseChildren())},t.prototype.parseQueryParams=function(){var t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t},t.prototype.parseFragment=function(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null},t.prototype.parseChildren=function(){if(""===this.remaining)return{};this.consumeOptional("/");var t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());var e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));var n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(t.length>0||Object.keys(e).length>0)&&(n[K]=new ft(t,e)),n},t.prototype.parseSegment=function(){var t=kt(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error("Empty path url segment cannot have parameters: '"+this.remaining+"'.");return this.capture(t),new pt(Ot(t),this.parseMatrixParams())},t.prototype.parseMatrixParams=function(){for(var t={};this.consumeOptional(";");)this.parseParam(t);return t},t.prototype.parseParam=function(t){var e=kt(this.remaining);if(e){this.capture(e);var n="";if(this.consumeOptional("=")){var r=kt(this.remaining);r&&this.capture(n=r)}t[Ot(e)]=Ot(n)}},t.prototype.parseQueryParam=function(t){var e,n=(e=this.remaining.match(Tt))?e[0]:"";if(n){this.capture(n);var r="";if(this.consumeOptional("=")){var o=function(t){var e=t.match(jt);return e?e[0]:""}(this.remaining);o&&this.capture(r=o)}var i=St(n),a=St(r);if(t.hasOwnProperty(i)){var s=t[i];Array.isArray(s)||(t[i]=s=[s]),s.push(a)}else t[i]=a}},t.prototype.parseParens=function(t){var e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){var n=kt(this.remaining),r=this.remaining[n.length];if("/"!==r&&")"!==r&&";"!==r)throw new Error("Cannot parse url '"+this.url+"'");var o=void 0;n.indexOf(":")>-1?(o=n.substr(0,n.indexOf(":")),this.capture(o),this.capture(":")):t&&(o=K);var i=this.parseChildren();e[o]=1===Object.keys(i).length?i[K]:new ft([],i),this.consumeOptional("//")}return e},t.prototype.peekStartsWith=function(t){return this.remaining.startsWith(t)},t.prototype.consumeOptional=function(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)},t.prototype.capture=function(t){if(!this.consumeOptional(t))throw new Error('Expected "'+t+'".')},t}(),Rt=function(t){this.segmentGroup=t||null},Pt=function(t){this.urlTree=t};function Dt(t){return new s.a(function(e){return e.error(new Rt(t))})}function At(t){return new s.a(function(e){return e.error(new Pt(t))})}function Nt(t){return new s.a(function(e){return e.error(new Error("Only absolute redirects can have named outlets. redirectTo: '"+t+"'"))})}var Mt=function(){function t(t,e,n,r,i){this.configLoader=e,this.urlSerializer=n,this.urlTree=r,this.config=i,this.allowRedirects=!0,this.ngModule=t.get(o.NgModuleRef)}return t.prototype.apply=function(){var t=this;return this.expandSegmentGroup(this.ngModule,this.config,this.urlTree.root,K).pipe(Object(d.a)(function(e){return t.createUrlTree(e,t.urlTree.queryParams,t.urlTree.fragment)})).pipe(Object(S.a)(function(e){if(e instanceof Pt)return t.allowRedirects=!1,t.match(e.urlTree);if(e instanceof Rt)throw t.noMatchError(e);throw e}))},t.prototype.match=function(t){var e=this;return this.expandSegmentGroup(this.ngModule,this.config,t.root,K).pipe(Object(d.a)(function(n){return e.createUrlTree(n,t.queryParams,t.fragment)})).pipe(Object(S.a)(function(t){if(t instanceof Rt)throw e.noMatchError(t);throw t}))},t.prototype.noMatchError=function(t){return new Error("Cannot match any routes. URL Segment: '"+t.segmentGroup+"'")},t.prototype.createUrlTree=function(t,e,n){var r,o=t.segments.length>0?new ft([],((r={})[K]=t,r)):t;return new dt(o,e,n)},t.prototype.expandSegmentGroup=function(t,e,n,r){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(t,e,n).pipe(Object(d.a)(function(t){return new ft([],t)})):this.expandSegment(t,n,e,n.segments,r,!0)},t.prototype.expandChildren=function(t,e,n){var r=this;return function(n,o){if(0===Object.keys(n).length)return Object(i.a)({});var a=[],s=[],u={};return st(n,function(n,o){var i,l,c=(i=o,l=n,r.expandSegmentGroup(t,e,l,i)).pipe(Object(d.a)(function(t){return u[o]=t}));o===K?a.push(c):s.push(c)}),i.a.apply(null,a.concat(s)).pipe(Object(f.a)(),y(),Object(d.a)(function(){return u}))}(n.children)},t.prototype.expandSegment=function(t,e,n,o,a,s){var l=this;return i.a.apply(void 0,Object(r.__spread)(n)).pipe(Object(d.a)(function(r){return l.expandSegmentAgainstRoute(t,e,n,r,o,a,s).pipe(Object(S.a)(function(t){if(t instanceof Rt)return Object(i.a)(null);throw t}))}),Object(f.a)(),Object(E.a)(function(t){return!!t}),Object(S.a)(function(t,n){if(t instanceof u.a||"EmptyError"===t.name){if(l.noLeftoversInUrl(e,o,a))return Object(i.a)(new ft([],{}));throw new Rt(e)}throw t}))},t.prototype.noLeftoversInUrl=function(t,e,n){return 0===e.length&&!t.children[n]},t.prototype.expandSegmentAgainstRoute=function(t,e,n,r,o,i,a){return Bt(r)!==i?Dt(e):void 0===r.redirectTo?this.matchSegmentAgainstRoute(t,e,r,o):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,n,r,o,i):Dt(e)},t.prototype.expandSegmentAgainstRouteUsingRedirect=function(t,e,n,r,o,i){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,r,i):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,r,o,i)},t.prototype.expandWildCardWithParamsAgainstRouteUsingRedirect=function(t,e,n,r){var o=this,i=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?At(i):this.lineralizeSegments(n,i).pipe(Object(x.a)(function(n){var i=new ft(n,{});return o.expandSegment(t,i,e,n,r,!1)}))},t.prototype.expandRegularSegmentAgainstRouteUsingRedirect=function(t,e,n,r,o,i){var a=this,s=Vt(e,r,o),u=s.consumedSegments,l=s.lastChild,c=s.positionalParamSegments;if(!s.matched)return Dt(e);var d=this.applyRedirectCommands(u,r.redirectTo,c);return r.redirectTo.startsWith("/")?At(d):this.lineralizeSegments(r,d).pipe(Object(x.a)(function(r){return a.expandSegment(t,e,n,r.concat(o.slice(l)),i,!1)}))},t.prototype.matchSegmentAgainstRoute=function(t,e,n,o){var a=this;if("**"===n.path)return n.loadChildren?this.configLoader.load(t.injector,n).pipe(Object(d.a)(function(t){return n._loadedConfig=t,new ft(o,{})})):Object(i.a)(new ft(o,{}));var s=Vt(e,n,o),u=s.consumedSegments,l=s.lastChild;if(!s.matched)return Dt(e);var c=o.slice(l);return this.getChildConfig(t,n).pipe(Object(x.a)(function(t){var n=t.module,o=t.routes,s=function(t,e,n,o){return n.length>0&&function(t,e,n){return o.some(function(n){return Lt(t,e,n)&&Bt(n)!==K})}(t,n)?{segmentGroup:Ft(new ft(e,function(t,e){var n,o,i={};i[K]=e;try{for(var a=Object(r.__values)(t),s=a.next();!s.done;s=a.next()){var u=s.value;""===u.path&&Bt(u)!==K&&(i[Bt(u)]=new ft([],{}))}}catch(t){n={error:t}}finally{try{s&&!s.done&&(o=a.return)&&o.call(a)}finally{if(n)throw n.error}}return i}(o,new ft(n,t.children)))),slicedSegments:[]}:0===n.length&&function(t,e,n){return o.some(function(n){return Lt(t,e,n)})}(t,n)?{segmentGroup:Ft(new ft(t.segments,function(t,e,n,o){var i,a,s={};try{for(var u=Object(r.__values)(n),l=u.next();!l.done;l=u.next()){var c=l.value;Lt(t,e,c)&&!o[Bt(c)]&&(s[Bt(c)]=new ft([],{}))}}catch(t){i={error:t}}finally{try{l&&!l.done&&(a=u.return)&&a.call(u)}finally{if(i)throw i.error}}return Object(r.__assign)({},o,s)}(t,n,o,t.children))),slicedSegments:n}:{segmentGroup:t,slicedSegments:n}}(e,u,c,o),l=s.segmentGroup,f=s.slicedSegments;return 0===f.length&&l.hasChildren()?a.expandChildren(n,o,l).pipe(Object(d.a)(function(t){return new ft(u,t)})):0===o.length&&0===f.length?Object(i.a)(new ft(u,{})):a.expandSegment(n,l,o,f,K,!0).pipe(Object(d.a)(function(t){return new ft(u.concat(t.segments),t.children)}))}))},t.prototype.getChildConfig=function(t,e){var n=this;return e.children?Object(i.a)(new X(e.children,t)):e.loadChildren?void 0!==e._loadedConfig?Object(i.a)(e._loadedConfig):function(t,e){var n=e.canLoad;return n&&0!==n.length?ut(Object(a.a)(n).pipe(Object(d.a)(function(n){var r=t.get(n);return lt(r.canLoad?r.canLoad(e):r(e))}))):Object(i.a)(!0)}(t.injector,e).pipe(Object(x.a)(function(r){return r?n.configLoader.load(t.injector,e).pipe(Object(d.a)(function(t){return e._loadedConfig=t,t})):function(t){return new s.a(function(e){return e.error(((n=Error("NavigationCancelingError: Cannot load children because the guard of the route \"path: '"+t.path+"'\" returned false")).ngNavigationCancelingError=!0,n));var n})}(e)})):Object(i.a)(new X([],t))},t.prototype.lineralizeSegments=function(t,e){for(var n=[],r=e.root;;){if(n=n.concat(r.segments),0===r.numberOfChildren)return Object(i.a)(n);if(r.numberOfChildren>1||!r.children[K])return Nt(t.redirectTo);r=r.children[K]}},t.prototype.applyRedirectCommands=function(t,e,n){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),t,n)},t.prototype.applyRedirectCreatreUrlTree=function(t,e,n,r){var o=this.createSegmentGroup(t,e.root,n,r);return new dt(o,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)},t.prototype.createQueryParams=function(t,e){var n={};return st(t,function(t,r){if("string"==typeof t&&t.startsWith(":")){var o=t.substring(1);n[r]=e[o]}else n[r]=t}),n},t.prototype.createSegmentGroup=function(t,e,n,r){var o=this,i=this.createSegments(t,e.segments,n,r),a={};return st(e.children,function(e,i){a[i]=o.createSegmentGroup(t,e,n,r)}),new ft(i,a)},t.prototype.createSegments=function(t,e,n,r){var o=this;return e.map(function(e){return e.path.startsWith(":")?o.findPosParam(t,e,r):o.findOrReturn(e,n)})},t.prototype.findPosParam=function(t,e,n){var r=n[e.path.substring(1)];if(!r)throw new Error("Cannot redirect to '"+t+"'. Cannot find '"+e.path+"'.");return r},t.prototype.findOrReturn=function(t,e){var n,o,i=0;try{for(var a=Object(r.__values)(e),s=a.next();!s.done;s=a.next()){var u=s.value;if(u.path===t.path)return e.splice(i),u;i++}}catch(t){n={error:t}}finally{try{s&&!s.done&&(o=a.return)&&o.call(a)}finally{if(n)throw n.error}}return t},t}();function Vt(t,e,n){if(""===e.path)return"full"===e.pathMatch&&(t.hasChildren()||n.length>0)?{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}:{matched:!0,consumedSegments:[],lastChild:0,positionalParamSegments:{}};var r=(e.matcher||J)(n,t,e);return r?{matched:!0,consumedSegments:r.consumed,lastChild:r.consumed.length,positionalParamSegments:r.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function Ft(t){if(1===t.numberOfChildren&&t.children[K]){var e=t.children[K];return new ft(t.segments.concat(e.segments),e.children)}return t}function Lt(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0!==n.redirectTo}function Bt(t){return t.outlet||K}var Ut=function(){function t(t){this._root=t}return Object.defineProperty(t.prototype,"root",{get:function(){return this._root.value},enumerable:!0,configurable:!0}),t.prototype.parent=function(t){var e=this.pathFromRoot(t);return e.length>1?e[e.length-2]:null},t.prototype.children=function(t){var e=Ht(t,this._root);return e?e.children.map(function(t){return t.value}):[]},t.prototype.firstChild=function(t){var e=Ht(t,this._root);return e&&e.children.length>0?e.children[0].value:null},t.prototype.siblings=function(t){var e=zt(t,this._root);return e.length<2?[]:e[e.length-2].children.map(function(t){return t.value}).filter(function(e){return e!==t})},t.prototype.pathFromRoot=function(t){return zt(t,this._root).map(function(t){return t.value})},t}();function Ht(t,e){var n,o;if(t===e.value)return e;try{for(var i=Object(r.__values)(e.children),a=i.next();!a.done;a=i.next()){var s=Ht(t,a.value);if(s)return s}}catch(t){n={error:t}}finally{try{a&&!a.done&&(o=i.return)&&o.call(i)}finally{if(n)throw n.error}}return null}function zt(t,e){var n,o;if(t===e.value)return[e];try{for(var i=Object(r.__values)(e.children),a=i.next();!a.done;a=i.next()){var s=zt(t,a.value);if(s.length)return s.unshift(e),s}}catch(t){n={error:t}}finally{try{a&&!a.done&&(o=i.return)&&o.call(i)}finally{if(n)throw n.error}}return[]}var Gt=function(){function t(t,e){this.value=t,this.children=e}return t.prototype.toString=function(){return"TreeNode("+this.value+")"},t}();function qt(t){var e={};return t&&t.children.forEach(function(t){return e[t.value.outlet]=t}),e}var $t=function(t){function e(e,n){var r=t.call(this,e)||this;return r.snapshot=n,Jt(r,e),r}return Object(r.__extends)(e,t),e.prototype.toString=function(){return this.snapshot.toString()},e}(Ut);function Wt(t,e){var n=function(t,e){var n=new Qt([],{},{},"",{},K,e,null,t.root,-1,{});return new Yt("",new Gt(n,[]))}(t,e),r=new l.a([new pt("",{})]),o=new l.a({}),i=new l.a({}),a=new l.a({}),s=new l.a(""),u=new Zt(r,o,a,s,i,K,e,n.root);return u.snapshot=n.root,new $t(new Gt(u,[]),n)}var Zt=function(){function t(t,e,n,r,o,i,a,s){this.url=t,this.params=e,this.queryParams=n,this.fragment=r,this.data=o,this.outlet=i,this.component=a,this._futureSnapshot=s}return Object.defineProperty(t.prototype,"routeConfig",{get:function(){return this._futureSnapshot.routeConfig},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"root",{get:function(){return this._routerState.root},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parent",{get:function(){return this._routerState.parent(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"firstChild",{get:function(){return this._routerState.firstChild(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"children",{get:function(){return this._routerState.children(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pathFromRoot",{get:function(){return this._routerState.pathFromRoot(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"paramMap",{get:function(){return this._paramMap||(this._paramMap=this.params.pipe(Object(d.a)(function(t){return Y(t)}))),this._paramMap},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(Object(d.a)(function(t){return Y(t)}))),this._queryParamMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return this.snapshot?this.snapshot.toString():"Future("+this._futureSnapshot+")"},t}();function Kt(t,e){void 0===e&&(e="emptyOnly");var n=t.pathFromRoot,o=0;if("always"!==e)for(o=n.length-1;o>=1;){var i=n[o],a=n[o-1];if(i.routeConfig&&""===i.routeConfig.path)o--;else{if(a.component)break;o--}}return function(t){return t.reduce(function(t,e){return{params:Object(r.__assign)({},t.params,e.params),data:Object(r.__assign)({},t.data,e.data),resolve:Object(r.__assign)({},t.resolve,e._resolvedData)}},{params:{},data:{},resolve:{}})}(n.slice(o))}var Qt=function(){function t(t,e,n,r,o,i,a,s,u,l,c){this.url=t,this.params=e,this.queryParams=n,this.fragment=r,this.data=o,this.outlet=i,this.component=a,this.routeConfig=s,this._urlSegment=u,this._lastPathIndex=l,this._resolve=c}return Object.defineProperty(t.prototype,"root",{get:function(){return this._routerState.root},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parent",{get:function(){return this._routerState.parent(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"firstChild",{get:function(){return this._routerState.firstChild(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"children",{get:function(){return this._routerState.children(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pathFromRoot",{get:function(){return this._routerState.pathFromRoot(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"paramMap",{get:function(){return this._paramMap||(this._paramMap=Y(this.params)),this._paramMap},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=Y(this.queryParams)),this._queryParamMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return"Route(url:'"+this.url.map(function(t){return t.toString()}).join("/")+"', path:'"+(this.routeConfig?this.routeConfig.path:"")+"')"},t}(),Yt=function(t){function e(e,n){var r=t.call(this,n)||this;return r.url=e,Jt(r,n),r}return Object(r.__extends)(e,t),e.prototype.toString=function(){return Xt(this._root)},e}(Ut);function Jt(t,e){e.value._routerState=t,e.children.forEach(function(e){return Jt(t,e)})}function Xt(t){var e=t.children.length>0?" { "+t.children.map(Xt).join(", ")+" } ":"";return""+t.value+e}function te(t){if(t.snapshot){var e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,ot(e.queryParams,n.queryParams)||t.queryParams.next(n.queryParams),e.fragment!==n.fragment&&t.fragment.next(n.fragment),ot(e.params,n.params)||t.params.next(n.params),function(t,e){if(t.length!==e.length)return!1;for(var n=0;n0&&ne(n[0]))throw new Error("Root segment cannot have matrix parameters");var r=n.find(function(t){return"object"==typeof t&&null!=t&&t.outlets});if(r&&r!==at(n))throw new Error("{outlets:{}} has to be the last command")}return t.prototype.toRoot=function(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]},t}(),ie=function(t,e,n){this.segmentGroup=t,this.processChildren=e,this.index=n};function ae(t){return"object"==typeof t&&null!=t&&t.outlets?t.outlets[K]:""+t}function se(t,e,n){if(t||(t=new ft([],{})),0===t.segments.length&&t.hasChildren())return ue(t,e,n);var r=function(t,e,n){for(var r=0,o=e,i={match:!1,pathIndex:0,commandIndex:0};o=n.length)return i;var a=t.segments[o],s=ae(n[r]),u=r0&&void 0===s)break;if(s&&u&&"object"==typeof u&&void 0===u.outlets){if(!fe(s,u,a))return i;r+=2}else{if(!fe(s,{},a))return i;r++}o++}return{match:!0,pathIndex:o,commandIndex:r}}(t,e,n),o=n.slice(r.commandIndex);if(r.match&&r.pathIndex0?at(n).parameters:{};i=new Qt(n,u,Object.freeze(Object(r.__assign)({},this.urlTree.queryParams)),this.urlTree.fragment,Oe(t),o,t.component,t,ye(e),be(e)+n.length,Se(t))}else{var l=function(t,e,n){if(""===e.path){if("full"===e.pathMatch&&(t.hasChildren()||n.length>0))throw new ge;return{consumedSegments:[],lastChild:0,parameters:{}}}var o=(e.matcher||J)(n,t,e);if(!o)throw new ge;var i={};st(o.posParams,function(t,e){i[e]=t.path});var a=o.consumed.length>0?Object(r.__assign)({},i,o.consumed[o.consumed.length-1].parameters):i;return{consumedSegments:o.consumed,lastChild:o.consumed.length,parameters:a}}(e,t,n);a=l.consumedSegments,s=n.slice(l.lastChild),i=new Qt(a,l.parameters,Object.freeze(Object(r.__assign)({},this.urlTree.queryParams)),this.urlTree.fragment,Oe(t),o,t.component,t,ye(e),be(e)+a.length,Se(t))}var c=function(t){return t.children?t.children:t.loadChildren?t._loadedConfig.routes:[]}(t),d=_e(e,a,s,c,this.relativeLinkResolution),f=d.segmentGroup,p=d.slicedSegments;if(0===p.length&&f.hasChildren()){var h=this.processChildren(c,f);return[new Gt(i,h)]}if(0===c.length&&0===p.length)return[new Gt(i,[])];var m=this.processSegment(c,f,p,K);return[new Gt(i,m)]},t}();function ye(t){for(var e=t;e._sourceSegment;)e=e._sourceSegment;return e}function be(t){for(var e=t,n=e._segmentIndexShift?e._segmentIndexShift:0;e._sourceSegment;)n+=(e=e._sourceSegment)._segmentIndexShift?e._segmentIndexShift:0;return n-1}function _e(t,e,n,o,i){if(n.length>0&&function(t,e,n){return o.some(function(n){return we(t,e,n)&&Ce(n)!==K})}(t,n)){var a=new ft(e,function(t,e,n,o){var i,a,s={};s[K]=o,o._sourceSegment=t,o._segmentIndexShift=e.length;try{for(var u=Object(r.__values)(n),l=u.next();!l.done;l=u.next()){var c=l.value;if(""===c.path&&Ce(c)!==K){var d=new ft([],{});d._sourceSegment=t,d._segmentIndexShift=e.length,s[Ce(c)]=d}}}catch(t){i={error:t}}finally{try{l&&!l.done&&(a=u.return)&&a.call(u)}finally{if(i)throw i.error}}return s}(t,e,o,new ft(n,t.children)));return a._sourceSegment=t,a._segmentIndexShift=e.length,{segmentGroup:a,slicedSegments:[]}}if(0===n.length&&function(t,e,n){return o.some(function(n){return we(t,e,n)})}(t,n)){var s=new ft(t.segments,function(t,e,n,o,i,a){var s,u,l={};try{for(var c=Object(r.__values)(o),d=c.next();!d.done;d=c.next()){var f=d.value;if(we(t,n,f)&&!i[Ce(f)]){var p=new ft([],{});p._sourceSegment=t,p._segmentIndexShift="legacy"===a?t.segments.length:e.length,l[Ce(f)]=p}}}catch(t){s={error:t}}finally{try{d&&!d.done&&(u=c.return)&&u.call(c)}finally{if(s)throw s.error}}return Object(r.__assign)({},i,l)}(t,e,n,o,t.children,i));return s._sourceSegment=t,s._segmentIndexShift=e.length,{segmentGroup:s,slicedSegments:n}}var u=new ft(t.segments,t.children);return u._sourceSegment=t,u._segmentIndexShift=e.length,{segmentGroup:u,slicedSegments:n}}function we(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0===n.redirectTo}function Ce(t){return t.outlet||K}function Oe(t){return t.data||{}}function Se(t){return t.resolve||{}}var Ee=function(){},xe=function(){function t(){}return t.prototype.shouldDetach=function(t){return!1},t.prototype.store=function(t,e){},t.prototype.shouldAttach=function(t){return!1},t.prototype.retrieve=function(t){return null},t.prototype.shouldReuseRoute=function(t,e){return t.routeConfig===e.routeConfig},t}(),ke=new o.InjectionToken("ROUTES"),Te=function(){function t(t,e,n,r){this.loader=t,this.compiler=e,this.onLoadStartListener=n,this.onLoadEndListener=r}return t.prototype.load=function(t,e){var n=this;return this.onLoadStartListener&&this.onLoadStartListener(e),this.loadModuleFactory(e.loadChildren).pipe(Object(d.a)(function(r){n.onLoadEndListener&&n.onLoadEndListener(e);var o=r.create(t);return new X(it(o.injector.get(ke)).map(rt),o)}))},t.prototype.loadModuleFactory=function(t){var e=this;return"string"==typeof t?Object(a.a)(this.loader.load(t)):lt(t()).pipe(Object(x.a)(function(t){return t instanceof o.NgModuleFactory?Object(i.a)(t):Object(a.a)(e.compiler.compileModuleAsync(t))}))},t}(),je=function(){},Ie=function(){function t(){}return t.prototype.shouldProcessUrl=function(t){return!0},t.prototype.extract=function(t){return t},t.prototype.merge=function(t,e){return t},t}();function Re(t){throw t}function Pe(t,e,n){return e.parse("/")}function De(t,e){return Object(i.a)(null)}var Ae=function(){function t(t,e,n,r,i,a,s,u){var d=this;this.rootComponentType=t,this.urlSerializer=e,this.rootContexts=n,this.location=r,this.config=u,this.navigations=new l.a(null),this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new c.a,this.errorHandler=Re,this.malformedUriErrorHandler=Pe,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:De,afterPreactivation:De},this.urlHandlingStrategy=new Ie,this.routeReuseStrategy=new xe,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="legacy",this.ngModule=i.get(o.NgModuleRef),this.console=i.get(o["\u0275Console"]);var f=i.get(o.NgZone);this.isNgZoneEnabled=f instanceof o.NgZone,this.resetConfig(u),this.currentUrlTree=new dt(new ft([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.configLoader=new Te(a,s,function(t){return d.triggerEvent(new U(t))},function(t){return d.triggerEvent(new H(t))}),this.routerState=Wt(this.currentUrlTree,this.rootComponentType),this.processNavigations()}return t.prototype.resetRootComponentType=function(t){this.rootComponentType=t,this.routerState.root.component=this.rootComponentType},t.prototype.initialNavigation=function(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})},t.prototype.setUpLocationChangeListener=function(){var t=this;this.locationSubscription||(this.locationSubscription=this.location.subscribe(function(e){var n=t.parseUrl(e.url),r="popstate"===e.type?"popstate":"hashchange",o=e.state&&e.state.navigationId?{navigationId:e.state.navigationId}:null;setTimeout(function(){t.scheduleNavigation(n,r,o,{replaceUrl:!0})},0)}))},Object.defineProperty(t.prototype,"url",{get:function(){return this.serializeUrl(this.currentUrlTree)},enumerable:!0,configurable:!0}),t.prototype.triggerEvent=function(t){this.events.next(t)},t.prototype.resetConfig=function(t){tt(t),this.config=t.map(rt),this.navigated=!1,this.lastSuccessfulId=-1},t.prototype.ngOnDestroy=function(){this.dispose()},t.prototype.dispose=function(){this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=null)},t.prototype.createUrlTree=function(t,e){void 0===e&&(e={});var n=e.relativeTo,i=e.queryParams,a=e.fragment,s=e.preserveQueryParams,u=e.queryParamsHandling,l=e.preserveFragment;Object(o.isDevMode)()&&s&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead.");var c=n||this.routerState.root,d=l?this.currentUrlTree.fragment:a,f=null;if(u)switch(u){case"merge":f=Object(r.__assign)({},this.currentUrlTree.queryParams,i);break;case"preserve":f=this.currentUrlTree.queryParams;break;default:f=i||null}else f=s?this.currentUrlTree.queryParams:i||null;return null!==f&&(f=this.removeEmptyProps(f)),function(t,e,n,o,i){if(0===n.length)return re(e.root,e.root,e,o,i);var a=function(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new oe(!0,0,t);var e=0,n=!1,o=t.reduce(function(t,o,i){if("object"==typeof o&&null!=o){if(o.outlets){var a={};return st(o.outlets,function(t,e){a[e]="string"==typeof t?t.split("/"):t}),Object(r.__spread)(t,[{outlets:a}])}if(o.segmentPath)return Object(r.__spread)(t,[o.segmentPath])}return"string"!=typeof o?Object(r.__spread)(t,[o]):0===i?(o.split("/").forEach(function(r,o){0==o&&"."===r||(0==o&&""===r?n=!0:".."===r?e++:""!=r&&t.push(r))}),t):Object(r.__spread)(t,[o])},[]);return new oe(n,e,o)}(n);if(a.toRoot())return re(e.root,new ft([],{}),e,o,i);var s=function(t,n,r){if(t.isAbsolute)return new ie(e.root,!0,0);if(-1===r.snapshot._lastPathIndex)return new ie(r.snapshot._urlSegment,!0,0);var o=ne(t.commands[0])?0:1;return function(e,n,i){for(var a=r.snapshot._urlSegment,s=r.snapshot._lastPathIndex+o,u=t.numberOfDoubleDots;u>s;){if(u-=s,!(a=a.parent))throw new Error("Invalid number of '../'");s=a.segments.length}return new ie(a,!1,s-u)}()}(a,0,t),u=s.processChildren?ue(s.segmentGroup,s.index,a.commands):se(s.segmentGroup,s.index,a.commands);return re(s.segmentGroup,u,e,o,i)}(c,this.currentUrlTree,t,f,d)},t.prototype.navigateByUrl=function(t,e){void 0===e&&(e={skipLocationChange:!1}),Object(o.isDevMode)()&&this.isNgZoneEnabled&&!o.NgZone.isInAngularZone()&&this.console.warn("Navigation triggered outside Angular zone, did you forget to call 'ngZone.run()'?");var n=t instanceof dt?t:this.parseUrl(t),r=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(r,"imperative",null,e)},t.prototype.navigate=function(t,e){return void 0===e&&(e={skipLocationChange:!1}),function(t){for(var e=0;e0},e.prototype.tagName=function(t){return t.tagName},e.prototype.attributeMap=function(t){for(var e=new Map,n=t.attributes,r=0;r0;s||(s=t[a]=[]);var l=rt(e)?Zone.root:Zone.current;if(0===s.length)s.push({zone:l,handler:o});else{for(var c=!1,d=0;d-1},e}(A),dt=["alt","control","meta","shift"],ft={alt:function(t){return t.altKey},control:function(t){return t.ctrlKey},meta:function(t){return t.metaKey},shift:function(t){return t.shiftKey}},pt=function(t){function e(e){return t.call(this,e)||this}return Object(r.__extends)(e,t),e.prototype.supports=function(t){return null!=e.parseEventName(t)},e.prototype.addEventListener=function(t,n,r){var o=e.parseEventName(n),i=e.eventCallback(o.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(function(){return s().onAndCancel(t,o.domEventName,i)})},e.parseEventName=function(t){var n=t.toLowerCase().split("."),r=n.shift();if(0===n.length||"keydown"!==r&&"keyup"!==r)return null;var o=e._normalizeKey(n.pop()),i="";if(dt.forEach(function(t){var e=n.indexOf(t);e>-1&&(n.splice(e,1),i+=t+".")}),i+=o,0!=n.length||0===o.length)return null;var a={};return a.domEventName=r,a.fullKey=i,a},e.getEventFullKey=function(t){var e="",n=s().getEventKey(t);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),dt.forEach(function(r){r!=n&&(0,ft[r])(t)&&(e+=r+".")}),e+=n},e.eventCallback=function(t,n,r){return function(o){e.getEventFullKey(o)===t&&r.runGuarded(function(){return n(o)})}},e._normalizeKey=function(t){switch(t){case"esc":return"escape";default:return t}},e}(A),ht=function(){},mt=function(t){function e(e){var n=t.call(this)||this;return n._doc=e,n}return Object(r.__extends)(e,t),e.prototype.sanitize=function(t,e){if(null==e)return null;switch(t){case i.SecurityContext.NONE:return e;case i.SecurityContext.HTML:return e instanceof vt?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"HTML"),Object(i["\u0275_sanitizeHtml"])(this._doc,String(e)));case i.SecurityContext.STYLE:return e instanceof yt?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"Style"),Object(i["\u0275_sanitizeStyle"])(e));case i.SecurityContext.SCRIPT:if(e instanceof bt)return e.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(e,"Script"),new Error("unsafe value used in a script context");case i.SecurityContext.URL:return e instanceof wt||e instanceof _t?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"URL"),Object(i["\u0275_sanitizeUrl"])(String(e)));case i.SecurityContext.RESOURCE_URL:if(e instanceof wt)return e.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(e,"ResourceURL"),new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)");default:throw new Error("Unexpected SecurityContext "+t+" (see http://g.co/ng/security#xss)")}},e.prototype.checkNotSafeValue=function(t,e){if(t instanceof gt)throw new Error("Required a safe "+e+", got a "+t.getTypeName()+" (see http://g.co/ng/security#xss)")},e.prototype.bypassSecurityTrustHtml=function(t){return new vt(t)},e.prototype.bypassSecurityTrustStyle=function(t){return new yt(t)},e.prototype.bypassSecurityTrustScript=function(t){return new bt(t)},e.prototype.bypassSecurityTrustUrl=function(t){return new _t(t)},e.prototype.bypassSecurityTrustResourceUrl=function(t){return new wt(t)},e}(ht),gt=function(){function t(t){this.changingThisBreaksApplicationSecurity=t}return t.prototype.toString=function(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see http://g.co/ng/security#xss)"},t}(),vt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r.__extends)(e,t),e.prototype.getTypeName=function(){return"HTML"},e}(gt),yt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r.__extends)(e,t),e.prototype.getTypeName=function(){return"Style"},e}(gt),bt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r.__extends)(e,t),e.prototype.getTypeName=function(){return"Script"},e}(gt),_t=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r.__extends)(e,t),e.prototype.getTypeName=function(){return"URL"},e}(gt),wt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r.__extends)(e,t),e.prototype.getTypeName=function(){return"ResourceURL"},e}(gt),Ct=[{provide:i.PLATFORM_ID,useValue:o.D},{provide:i.PLATFORM_INITIALIZER,useValue:Et,multi:!0},{provide:o.v,useClass:_,deps:[y]},{provide:y,useFactory:kt,deps:[]}],Ot=[{provide:i.Sanitizer,useExisting:ht},{provide:ht,useClass:mt,deps:[y]}],St=Object(i.createPlatformFactory)(i.platformCore,"browser",Ct);function Et(){g.makeCurrent(),S.init()}function xt(){return new i.ErrorHandler}function kt(){return document}var Tt=[Ot,{provide:i["\u0275APP_ROOT"],useValue:!0},{provide:i.ErrorHandler,useFactory:xt,deps:[]},{provide:P,useClass:it,multi:!0,deps:[y,i.NgZone,i.PLATFORM_ID]},{provide:P,useClass:pt,multi:!0,deps:[y]},{provide:P,useClass:ct,multi:!0,deps:[y,st,i["\u0275Console"],[new i.Optional,ut]]},{provide:st,useClass:lt,deps:[]},{provide:q,useClass:q,deps:[D,M]},{provide:i.RendererFactory2,useExisting:q},{provide:N,useExisting:M},{provide:M,useClass:M,deps:[y]},{provide:i.Testability,useClass:i.Testability,deps:[i.NgZone]},{provide:D,useClass:D,deps:[P,i.NgZone]},R],jt=function(){function t(t){if(t)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}return t.withServerTransition=function(e){return{ngModule:t,providers:[{provide:i.APP_ID,useValue:e.appId},{provide:w,useExisting:i.APP_ID},O]}},t}();function It(){return new Rt(Object(i.inject)(y))}var Rt=function(){function t(t){this._doc=t,this._dom=s()}return t.prototype.addTag=function(t,e){return void 0===e&&(e=!1),t?this._getOrCreateElement(t,e):null},t.prototype.addTags=function(t,e){var n=this;return void 0===e&&(e=!1),t?t.reduce(function(t,r){return r&&t.push(n._getOrCreateElement(r,e)),t},[]):[]},t.prototype.getTag=function(t){return t&&this._dom.querySelector(this._doc,"meta["+t+"]")||null},t.prototype.getTags=function(t){if(!t)return[];var e=this._dom.querySelectorAll(this._doc,"meta["+t+"]");return e?[].slice.call(e):[]},t.prototype.updateTag=function(t,e){if(!t)return null;e=e||this._parseSelector(t);var n=this.getTag(e);return n?this._setMetaElementAttributes(t,n):this._getOrCreateElement(t,!0)},t.prototype.removeTag=function(t){this.removeTagElement(this.getTag(t))},t.prototype.removeTagElement=function(t){t&&this._dom.remove(t)},t.prototype._getOrCreateElement=function(t,e){if(void 0===e&&(e=!1),!e){var n=this._parseSelector(t),r=this.getTag(n);if(r&&this._containsAttributes(t,r))return r}var o=this._dom.createElement("meta");this._setMetaElementAttributes(t,o);var i=this._dom.getElementsByTagName(this._doc,"head")[0];return this._dom.appendChild(i,o),o},t.prototype._setMetaElementAttributes=function(t,e){var n=this;return Object.keys(t).forEach(function(r){return n._dom.setAttribute(e,r,t[r])}),e},t.prototype._parseSelector=function(t){var e=t.name?"name":"property";return e+'="'+t[e]+'"'},t.prototype._containsAttributes=function(t,e){var n=this;return Object.keys(t).every(function(r){return n._dom.getAttribute(e,r)===t[r]})},t.ngInjectableDef=Object(i.defineInjectable)({factory:It,token:t,providedIn:"root"}),t}();function Pt(){return new Dt(Object(i.inject)(y))}var Dt=function(){function t(t){this._doc=t}return t.prototype.getTitle=function(){return s().getTitle(this._doc)},t.prototype.setTitle=function(t){s().setTitle(this._doc,t)},t.ngInjectableDef=Object(i.defineInjectable)({factory:Pt,token:t,providedIn:"root"}),t}(),At="undefined"!=typeof window&&window||{},Nt=function(){function t(t){this.appRef=t.injector.get(i.ApplicationRef)}return t.prototype.timeChangeDetection=function(t){var e=t&&t.record,n=null!=At.console.profile;e&&n&&At.console.profile("Change Detection");for(var r=s().performanceNow(),o=0;o<5||s().performanceNow()-r<500;)this.appRef.tick(),o++;var i=s().performanceNow();e&&n&&At.console.profileEnd("Change Detection");var a=(i-r)/o;return At.console.log("ran "+o+" change detection cycles"),At.console.log(a.toFixed(2)+" ms per check"),new function(t,e){this.msPerTick=t,this.numTicks=e}(a,o)},t}(),Mt="profiler";function Vt(t){return E(Mt,new Nt(t)),t}function Ft(){E(Mt,null)}function Lt(t){var e={"&":"&a;",'"':"&q;","'":"&s;","<":"&l;",">":"&g;"};return t.replace(/[&"'<>]/g,function(t){return e[t]})}function Bt(t){return t}var Ut=function(){function t(){this.store={},this.onSerializeCallbacks={}}return t.init=function(e){var n=new t;return n.store=e,n},t.prototype.get=function(t,e){return void 0!==this.store[t]?this.store[t]:e},t.prototype.set=function(t,e){this.store[t]=e},t.prototype.remove=function(t){delete this.store[t]},t.prototype.hasKey=function(t){return this.store.hasOwnProperty(t)},t.prototype.onSerialize=function(t,e){this.onSerializeCallbacks[t]=e},t.prototype.toJson=function(){for(var t in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(t))try{this.store[t]=this.onSerializeCallbacks[t]()}catch(t){console.warn("Exception in onSerialize callback: ",t)}return JSON.stringify(this.store)},t}();function Ht(t,e){var n,r=t.getElementById(e+"-state"),o={};if(r&&r.textContent)try{o=JSON.parse((n={"&a;":"&","&q;":'"',"&s;":"'","&l;":"<","&g;":">"},r.textContent.replace(/&[^;]+;/g,function(t){return n[t]})))}catch(t){console.warn("Exception while restoring TransferState for app "+e,t)}return Ut.init(o)}var zt=function(){},Gt=function(){function t(){}return t.all=function(){return function(t){return!0}},t.css=function(t){return function(e){return null!=e.nativeElement&&s().elementMatches(e.nativeElement,t)}},t.directive=function(t){return function(e){return-1!==e.providerTokens.indexOf(t)}},t}(),qt=new i.Version("6.1.7")},Zn8D:function(t,e,n){"use strict";n.d(e,"a",function(){return i});var r=n("psW0"),o=n("mChF");function i(t){return void 0===t&&(t=Number.POSITIVE_INFINITY),Object(r.a)(o.a,t)}},b7mW:function(t,e,n){"use strict";function r(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}n.d(e,"a",function(){return o}),r.prototype=Object.create(Error.prototype);var o=r},b8BQ:function(t,e,n){"use strict";n.d(e,"a",function(){return u}),n.d(e,"b",function(){return s}),n.d(e,"c",function(){return i}),n.d(e,"d",function(){return a});var r=n("mrSG"),o=n("ENq3"),i=(n("4GxJ"),n("QFu5"),function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r.__extends)(e,t),e}(o.c)),a=function(){},s=function(t){function e(e,n){var r=t.call(this,n)||this;return r.tourStepTemplateService=e,r.tourService=n,r}return Object(r.__extends)(e,t),e.prototype.ngAfterContentInit=function(){this.tourStepTemplateService.template=this.stepTemplate||this.defaultTourStepTemplate},e}(o.a),u=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:Object(r.__spread)([a],o.b.forRoot().providers,[i])}},t}()},bne5:function(t,e,n){"use strict";n.d(e,"a",function(){return s});var r=n("6blF"),o=n("isby"),i=n("2Bdj"),a=n("67Y/");function s(t,e,n,u){return Object(i.a)(n)&&(u=n,n=void 0),u?s(t,e,n).pipe(Object(a.a)(function(t){return Object(o.a)(t)?u.apply(void 0,t):u(t)})):new r.a(function(r){!function t(e,n,r,o,i){var a;if(function(t){return t&&"function"==typeof t.addEventListener&&"function"==typeof t.removeEventListener}(e)){var s=e;e.addEventListener(n,r,i),a=function(){return s.removeEventListener(n,r,i)}}else if(function(t){return t&&"function"==typeof t.on&&"function"==typeof t.off}(e)){var u=e;e.on(n,r),a=function(){return u.off(n,r)}}else if(function(t){return t&&"function"==typeof t.addListener&&"function"==typeof t.removeListener}(e)){var l=e;e.addListener(n,r),a=function(){return l.removeListener(n,r)}}else{if(!e||!e.length)throw new TypeError("Invalid event target");for(var c=0,d=e.length;c1?Array.prototype.slice.call(arguments):t)},r,n)})}Object},crnd:function(t,e,n){var r={"./account/account.module.ngfactory":["Gc5z",0,9],"./admin/admin.module.ngfactory":["G6fN",0,7],"./classroom/classroom.module.ngfactory":["aYa+",0,5],"./error/error.module.ngfactory":["NzVj",10],"./onboarding/onboarding.module.ngfactory":["0h0l",0,8],"./rule-set/rule-set.module.ngfactory":["Xq2O",0,6]};function o(t){var e=r[t];return e?Promise.all(e.slice(1).map(n.e)).then(function(){return n(e[0])}):Promise.resolve().then(function(){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e})}o.keys=function(){return Object.keys(r)},o.id="crnd",t.exports=o},dEwP:function(t,e,n){"use strict";n.d(e,"a",function(){return s});var r=n("nkY7"),o=n("F/XL"),i=n("0/uQ"),a=n("Txjg");function s(){for(var t=[],e=0;et?{max:{max:t,actual:e.value}}:null}},t.required=function(t){return g(t.value)?{required:!0}:null},t.requiredTrue=function(t){return!0===t.value?null:{required:!0}},t.email=function(t){return g(t.value)?null:b.test(t.value)?null:{email:!0}},t.minLength=function(t){return function(e){if(g(e.value))return null;var n=e.value?e.value.length:0;return nt?{maxlength:{requiredLength:t,actualLength:n}}:null}},t.pattern=function(e){return e?("string"==typeof e?(r="","^"!==e.charAt(0)&&(r+="^"),r+=e,"$"!==e.charAt(e.length-1)&&(r+="$"),n=new RegExp(r)):(r=e.toString(),n=e),function(t){if(g(t.value))return null;var e=t.value;return n.test(e)?null:{pattern:{requiredPattern:r,actualValue:e}}}):t.nullValidator;var n,r},t.nullValidator=function(t){return null},t.compose=function(t){if(!t)return null;var e=t.filter(w);return 0==e.length?null:function(t){return O(function(t,n){return e.map(function(e){return e(t)})}(t))}},t.composeAsync=function(t){if(!t)return null;var e=t.filter(w);return 0==e.length?null:function(t){return function t(){for(var e,n=[],r=0;r=0;--e)if(this._accessors[e][1]===t)return void this._accessors.splice(e,1)},t.prototype.select=function(t){var e=this;this._accessors.forEach(function(n){e._isSameGroup(n,t)&&n[1]!==t&&n[1].fireUncheck(t.value)})},t.prototype._isSameGroup=function(t,e){return!!t[0].control&&t[0]._parent===e._control._parent&&t[1].name===e.name},t}(),F=function(){function t(t,e,n,r){this._renderer=t,this._elementRef=e,this._registry=n,this._injector=r,this.onChange=function(){},this.onTouched=function(){}}return t.prototype.ngOnInit=function(){this._control=this._injector.get(N),this._checkName(),this._registry.add(this._control,this)},t.prototype.ngOnDestroy=function(){this._registry.remove(this)},t.prototype.writeValue=function(t){this._state=t===this.value,this._renderer.setProperty(this._elementRef.nativeElement,"checked",this._state)},t.prototype.registerOnChange=function(t){var e=this;this._fn=t,this.onChange=function(){t(e.value),e._registry.select(e)}},t.prototype.fireUncheck=function(t){this.writeValue(t)},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t.prototype._checkName=function(){this.name&&this.formControlName&&this.name!==this.formControlName&&this._throwNameError(),!this.name&&this.formControlName&&(this.name=this.formControlName)},t.prototype._throwNameError=function(){throw new Error('\n If you define both a name and a formControlName attribute on your radio button, their values\n must match. Ex: \n ')},t}(),L={provide:S,useExisting:Object(o.forwardRef)(function(){return B}),multi:!0},B=function(){function t(t,e){this._renderer=t,this._elementRef=e,this.onChange=function(t){},this.onTouched=function(){}}return t.prototype.writeValue=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",parseFloat(t))},t.prototype.registerOnChange=function(t){this.onChange=function(e){t(""==e?null:parseFloat(e))}},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t}(),U='\n

\n \n
\n\n In your class:\n\n this.myGroup = new FormGroup({\n firstName: new FormControl()\n });',H='\n
\n
\n \n
\n
\n\n In your class:\n\n this.myGroup = new FormGroup({\n person: new FormGroup({ firstName: new FormControl() })\n });',z='\n
\n
\n \n
\n
',G=function(){function t(){}return t.controlParentException=function(){throw new Error("formControlName must be used with a parent formGroup directive. You'll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n "+U)},t.ngModelGroupException=function(){throw new Error('formControlName cannot be used with an ngModelGroup parent. It is only compatible with parents\n that also have a "form" prefix: formGroupName, formArrayName, or formGroup.\n\n Option 1: Update the parent to be formGroupName (reactive form strategy)\n\n '+H+"\n\n Option 2: Use ngModel instead of formControlName (template-driven strategy)\n\n "+z)},t.missingFormException=function(){throw new Error("formGroup expects a FormGroup instance. Please pass one in.\n\n Example:\n\n "+U)},t.groupParentException=function(){throw new Error("formGroupName must be used with a parent formGroup directive. You'll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n "+H)},t.arrayParentException=function(){throw new Error('formArrayName must be used with a parent formGroup directive. You\'ll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n \n
\n
\n
\n \n
\n
\n
\n\n In your class:\n\n this.cityArray = new FormArray([new FormControl(\'SF\')]);\n this.myGroup = new FormGroup({\n cities: this.cityArray\n });')},t.disabledAttrWarning=function(){console.warn("\n It looks like you're using the disabled attribute with a reactive form directive. If you set disabled to true\n when you set up this control in your component class, the disabled attribute will actually be set in the DOM for\n you. We recommend using this approach to avoid 'changed after checked' errors.\n \n Example: \n form = new FormGroup({\n first: new FormControl({value: 'Nancy', disabled: true}, Validators.required),\n last: new FormControl('Drew', Validators.required)\n });\n ")},t.ngModelWarning=function(t){console.warn("\n It looks like you're using ngModel on the same form field as "+t+". \n Support for using the ngModel input property and ngModelChange event with \n reactive form directives has been deprecated in Angular v6 and will be removed \n in Angular v7.\n \n For more information on this, see our API docs here:\n https://angular.io/api/forms/"+("formControl"===t?"FormControlDirective":"FormControlName")+"#use-with-ngmodel\n ")},t}(),q={provide:S,useExisting:Object(o.forwardRef)(function(){return W}),multi:!0};function $(t,e){return null==t?""+e:(e&&"object"==typeof e&&(e="Object"),(t+": "+e).slice(0,50))}var W=function(){function t(t,e){this._renderer=t,this._elementRef=e,this._optionMap=new Map,this._idCounter=0,this.onChange=function(t){},this.onTouched=function(){},this._compareWith=o["\u0275looseIdentical"]}return Object.defineProperty(t.prototype,"compareWith",{set:function(t){if("function"!=typeof t)throw new Error("compareWith must be a function, but received "+JSON.stringify(t));this._compareWith=t},enumerable:!0,configurable:!0}),t.prototype.writeValue=function(t){this.value=t;var e=this._getOptionId(t);null==e&&this._renderer.setProperty(this._elementRef.nativeElement,"selectedIndex",-1);var n=$(e,t);this._renderer.setProperty(this._elementRef.nativeElement,"value",n)},t.prototype.registerOnChange=function(t){var e=this;this.onChange=function(n){e.value=e._getOptionValue(n),t(e.value)}},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t.prototype._registerOption=function(){return(this._idCounter++).toString()},t.prototype._getOptionId=function(t){var e,n;try{for(var o=Object(r.__values)(Array.from(this._optionMap.keys())),i=o.next();!i.done;i=o.next()){var a=i.value;if(this._compareWith(this._optionMap.get(a),t))return a}}catch(t){e={error:t}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(e)throw e.error}}return null},t.prototype._getOptionValue=function(t){var e=function(t){return t.split(":")[0]}(t);return this._optionMap.has(e)?this._optionMap.get(e):t},t}(),Z=function(){function t(t,e,n){this._element=t,this._renderer=e,this._select=n,this._select&&(this.id=this._select._registerOption())}return Object.defineProperty(t.prototype,"ngValue",{set:function(t){null!=this._select&&(this._select._optionMap.set(this.id,t),this._setElementValue($(this.id,t)),this._select.writeValue(this._select.value))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"value",{set:function(t){this._setElementValue(t),this._select&&this._select.writeValue(this._select.value)},enumerable:!0,configurable:!0}),t.prototype._setElementValue=function(t){this._renderer.setProperty(this._element.nativeElement,"value",t)},t.prototype.ngOnDestroy=function(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))},t}(),K={provide:S,useExisting:Object(o.forwardRef)(function(){return Y}),multi:!0};function Q(t,e){return null==t?""+e:("string"==typeof e&&(e="'"+e+"'"),e&&"object"==typeof e&&(e="Object"),(t+": "+e).slice(0,50))}var Y=function(){function t(t,e){this._renderer=t,this._elementRef=e,this._optionMap=new Map,this._idCounter=0,this.onChange=function(t){},this.onTouched=function(){},this._compareWith=o["\u0275looseIdentical"]}return Object.defineProperty(t.prototype,"compareWith",{set:function(t){if("function"!=typeof t)throw new Error("compareWith must be a function, but received "+JSON.stringify(t));this._compareWith=t},enumerable:!0,configurable:!0}),t.prototype.writeValue=function(t){var e,n=this;if(this.value=t,Array.isArray(t)){var r=t.map(function(t){return n._getOptionId(t)});e=function(t,e){t._setSelected(r.indexOf(e.toString())>-1)}}else e=function(t,e){t._setSelected(!1)};this._optionMap.forEach(e)},t.prototype.registerOnChange=function(t){var e=this;this.onChange=function(n){var r=[];if(n.hasOwnProperty("selectedOptions"))for(var o=n.selectedOptions,i=0;i1?"path: '"+t.path.join(" -> ")+"'":t.path[0]?"name: '"+t.path+"'":"unspecified name attribute",new Error(e+" "+n)}function it(t){return null!=t?_.compose(t.map(I)):null}function at(t){return null!=t?_.composeAsync(t.map(R)):null}function st(t,e){if(!t.hasOwnProperty("model"))return!1;var n=t.model;return!!n.isFirstChange()||!Object(o["\u0275looseIdentical"])(e,n.currentValue)}var ut=[x,B,D,W,Y,F];function lt(t,e){t._syncPendingControls(),e.forEach(function(t){var e=t.control;"submit"===e.updateOn&&e._pendingChange&&(t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1)})}function ct(t,e){if(!e)return null;Array.isArray(e)||ot(t,"Value accessor was not provided as an array for form control with");var n=void 0,r=void 0,o=void 0;return e.forEach(function(e){var i;e.constructor===j?n=e:(i=e,ut.some(function(t){return i.constructor===t})?(r&&ot(t,"More than one built-in value accessor matches form control with"),r=e):(o&&ot(t,"More than one custom value accessor matches form control with"),o=e))}),o||r||n||(ot(t,"No valid value accessor for form control with"),null)}function dt(t,e){var n=t.indexOf(e);n>-1&&t.splice(n,1)}function ft(t,e,n,r){Object(o.isDevMode)()&&"never"!==r&&((null!==r&&"once"!==r||e._ngModelWarningSentOnce)&&("always"!==r||n._ngModelWarningSent)||(G.ngModelWarning(t),e._ngModelWarningSentOnce=!0,n._ngModelWarningSent=!0))}var pt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r.__extends)(e,t),e.prototype.ngOnInit=function(){this._checkParentType(),this.formDirective.addFormGroup(this)},e.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeFormGroup(this)},Object.defineProperty(e.prototype,"control",{get:function(){return this.formDirective.getFormGroup(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return X(this.name,this._parent)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validator",{get:function(){return it(this._validators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return at(this._asyncValidators)},enumerable:!0,configurable:!0}),e.prototype._checkParentType=function(){},e}(m),ht=function(){function t(t){this._cd=t}return Object.defineProperty(t.prototype,"ngClassUntouched",{get:function(){return!!this._cd.control&&this._cd.control.untouched},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClassTouched",{get:function(){return!!this._cd.control&&this._cd.control.touched},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClassPristine",{get:function(){return!!this._cd.control&&this._cd.control.pristine},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClassDirty",{get:function(){return!!this._cd.control&&this._cd.control.dirty},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClassValid",{get:function(){return!!this._cd.control&&this._cd.control.valid},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClassInvalid",{get:function(){return!!this._cd.control&&this._cd.control.invalid},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClassPending",{get:function(){return!!this._cd.control&&this._cd.control.pending},enumerable:!0,configurable:!0}),t}(),mt={"[class.ng-untouched]":"ngClassUntouched","[class.ng-touched]":"ngClassTouched","[class.ng-pristine]":"ngClassPristine","[class.ng-dirty]":"ngClassDirty","[class.ng-valid]":"ngClassValid","[class.ng-invalid]":"ngClassInvalid","[class.ng-pending]":"ngClassPending"},gt=function(t){function e(e){return t.call(this,e)||this}return Object(r.__extends)(e,t),e}(ht),vt=function(t){function e(e){return t.call(this,e)||this}return Object(r.__extends)(e,t),e}(ht);function yt(t){var e=_t(t)?t.validators:t;return Array.isArray(e)?it(e):e||null}function bt(t,e){var n=_t(e)?e.asyncValidators:t;return Array.isArray(n)?at(n):n||null}function _t(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}var wt=function(){function t(t,e){this.validator=t,this.asyncValidator=e,this._onCollectionChange=function(){},this.pristine=!0,this.touched=!1,this._onDisabledChange=[]}return Object.defineProperty(t.prototype,"parent",{get:function(){return this._parent},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"valid",{get:function(){return"VALID"===this.status},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"invalid",{get:function(){return"INVALID"===this.status},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pending",{get:function(){return"PENDING"==this.status},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return"DISABLED"===this.status},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"enabled",{get:function(){return"DISABLED"!==this.status},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dirty",{get:function(){return!this.pristine},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"untouched",{get:function(){return!this.touched},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"updateOn",{get:function(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"},enumerable:!0,configurable:!0}),t.prototype.setValidators=function(t){this.validator=yt(t)},t.prototype.setAsyncValidators=function(t){this.asyncValidator=bt(t)},t.prototype.clearValidators=function(){this.validator=null},t.prototype.clearAsyncValidators=function(){this.asyncValidator=null},t.prototype.markAsTouched=function(t){void 0===t&&(t={}),this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)},t.prototype.markAsUntouched=function(t){void 0===t&&(t={}),this.touched=!1,this._pendingTouched=!1,this._forEachChild(function(t){t.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)},t.prototype.markAsDirty=function(t){void 0===t&&(t={}),this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)},t.prototype.markAsPristine=function(t){void 0===t&&(t={}),this.pristine=!0,this._pendingDirty=!1,this._forEachChild(function(t){t.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)},t.prototype.markAsPending=function(t){void 0===t&&(t={}),this.status="PENDING",!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)},t.prototype.disable=function(t){void 0===t&&(t={}),this.status="DISABLED",this.errors=null,this._forEachChild(function(e){e.disable(Object(r.__assign)({},t,{onlySelf:!0}))}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(t),this._onDisabledChange.forEach(function(t){return t(!0)})},t.prototype.enable=function(t){void 0===t&&(t={}),this.status="VALID",this._forEachChild(function(e){e.enable(Object(r.__assign)({},t,{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(t),this._onDisabledChange.forEach(function(t){return t(!1)})},t.prototype._updateAncestors=function(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),this._parent._updatePristine(),this._parent._updateTouched())},t.prototype.setParent=function(t){this._parent=t},t.prototype.updateValueAndValidity=function(t){void 0===t&&(t={}),this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),"VALID"!==this.status&&"PENDING"!==this.status||this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)},t.prototype._updateTreeValidity=function(t){void 0===t&&(t={emitEvent:!0}),this._forEachChild(function(e){return e._updateTreeValidity(t)}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})},t.prototype._setInitialStatus=function(){this.status=this._allControlsDisabled()?"DISABLED":"VALID"},t.prototype._runValidator=function(){return this.validator?this.validator(this):null},t.prototype._runAsyncValidator=function(t){var e=this;if(this.asyncValidator){this.status="PENDING";var n=C(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(function(n){return e.setErrors(n,{emitEvent:t})})}},t.prototype._cancelExistingSubscription=function(){this._asyncValidationSubscription&&this._asyncValidationSubscription.unsubscribe()},t.prototype.setErrors=function(t,e){void 0===e&&(e={}),this.errors=t,this._updateControlsErrors(!1!==e.emitEvent)},t.prototype.get=function(t){return function(t,e,n){return null==e?null:(e instanceof Array||(e=e.split(".")),e instanceof Array&&0===e.length?null:e.reduce(function(t,e){return t instanceof Ot?t.controls.hasOwnProperty(e)?t.controls[e]:null:t instanceof St&&t.at(e)||null},t))}(this,t)},t.prototype.getError=function(t,e){var n=e?this.get(e):this;return n&&n.errors?n.errors[t]:null},t.prototype.hasError=function(t,e){return!!this.getError(t,e)},Object.defineProperty(t.prototype,"root",{get:function(){for(var t=this;t._parent;)t=t._parent;return t},enumerable:!0,configurable:!0}),t.prototype._updateControlsErrors=function(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)},t.prototype._initObservables=function(){this.valueChanges=new o.EventEmitter,this.statusChanges=new o.EventEmitter},t.prototype._calculateStatus=function(){return this._allControlsDisabled()?"DISABLED":this.errors?"INVALID":this._anyControlsHaveStatus("PENDING")?"PENDING":this._anyControlsHaveStatus("INVALID")?"INVALID":"VALID"},t.prototype._anyControlsHaveStatus=function(t){return this._anyControls(function(e){return e.status===t})},t.prototype._anyControlsDirty=function(){return this._anyControls(function(t){return t.dirty})},t.prototype._anyControlsTouched=function(){return this._anyControls(function(t){return t.touched})},t.prototype._updatePristine=function(t){void 0===t&&(t={}),this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)},t.prototype._updateTouched=function(t){void 0===t&&(t={}),this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)},t.prototype._isBoxedValue=function(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t},t.prototype._registerOnCollectionChange=function(t){this._onCollectionChange=t},t.prototype._setUpdateStrategy=function(t){_t(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)},t}(),Ct=function(t){function e(e,n,r){void 0===e&&(e=null);var o=t.call(this,yt(n),bt(r,n))||this;return o._onChange=[],o._applyFormState(e),o._setUpdateStrategy(n),o.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),o._initObservables(),o}return Object(r.__extends)(e,t),e.prototype.setValue=function(t,e){var n=this;void 0===e&&(e={}),this.value=this._pendingValue=t,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(function(t){return t(n.value,!1!==e.emitViewToModelChange)}),this.updateValueAndValidity(e)},e.prototype.patchValue=function(t,e){void 0===e&&(e={}),this.setValue(t,e)},e.prototype.reset=function(t,e){void 0===t&&(t=null),void 0===e&&(e={}),this._applyFormState(t),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1},e.prototype._updateValue=function(){},e.prototype._anyControls=function(t){return!1},e.prototype._allControlsDisabled=function(){return this.disabled},e.prototype.registerOnChange=function(t){this._onChange.push(t)},e.prototype._clearChangeFns=function(){this._onChange=[],this._onDisabledChange=[],this._onCollectionChange=function(){}},e.prototype.registerOnDisabledChange=function(t){this._onDisabledChange.push(t)},e.prototype._forEachChild=function(t){},e.prototype._syncPendingControls=function(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))},e.prototype._applyFormState=function(t){this._isBoxedValue(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t},e}(wt),Ot=function(t){function e(e,n,r){var o=t.call(this,yt(n),bt(r,n))||this;return o.controls=e,o._initObservables(),o._setUpdateStrategy(n),o._setUpControls(),o.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),o}return Object(r.__extends)(e,t),e.prototype.registerControl=function(t,e){return this.controls[t]?this.controls[t]:(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)},e.prototype.addControl=function(t,e){this.registerControl(t,e),this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.removeControl=function(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),delete this.controls[t],this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.setControl=function(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.contains=function(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled},e.prototype.setValue=function(t,e){var n=this;void 0===e&&(e={}),this._checkAllValuesPresent(t),Object.keys(t).forEach(function(r){n._throwIfControlMissing(r),n.controls[r].setValue(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)},e.prototype.patchValue=function(t,e){var n=this;void 0===e&&(e={}),Object.keys(t).forEach(function(r){n.controls[r]&&n.controls[r].patchValue(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)},e.prototype.reset=function(t,e){void 0===t&&(t={}),void 0===e&&(e={}),this._forEachChild(function(n,r){n.reset(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e),this._updatePristine(e),this._updateTouched(e)},e.prototype.getRawValue=function(){return this._reduceChildren({},function(t,e,n){return t[n]=e instanceof Ct?e.value:e.getRawValue(),t})},e.prototype._syncPendingControls=function(){var t=this._reduceChildren(!1,function(t,e){return!!e._syncPendingControls()||t});return t&&this.updateValueAndValidity({onlySelf:!0}),t},e.prototype._throwIfControlMissing=function(t){if(!Object.keys(this.controls).length)throw new Error("\n There are no form controls registered with this group yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.controls[t])throw new Error("Cannot find form control with name: "+t+".")},e.prototype._forEachChild=function(t){var e=this;Object.keys(this.controls).forEach(function(n){return t(e.controls[n],n)})},e.prototype._setUpControls=function(){var t=this;this._forEachChild(function(e){e.setParent(t),e._registerOnCollectionChange(t._onCollectionChange)})},e.prototype._updateValue=function(){this.value=this._reduceValue()},e.prototype._anyControls=function(t){var e=this,n=!1;return this._forEachChild(function(r,o){n=n||e.contains(o)&&t(r)}),n},e.prototype._reduceValue=function(){var t=this;return this._reduceChildren({},function(e,n,r){return(n.enabled||t.disabled)&&(e[r]=n.value),e})},e.prototype._reduceChildren=function(t,e){var n=t;return this._forEachChild(function(t,r){n=e(n,t,r)}),n},e.prototype._allControlsDisabled=function(){var t,e;try{for(var n=Object(r.__values)(Object.keys(this.controls)),o=n.next();!o.done;o=n.next())if(this.controls[o.value].enabled)return!1}catch(e){t={error:e}}finally{try{o&&!o.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}return Object.keys(this.controls).length>0||this.disabled},e.prototype._checkAllValuesPresent=function(t){this._forEachChild(function(e,n){if(void 0===t[n])throw new Error("Must supply a value for form control with name: '"+n+"'.")})},e}(wt),St=function(t){function e(e,n,r){var o=t.call(this,yt(n),bt(r,n))||this;return o.controls=e,o._initObservables(),o._setUpdateStrategy(n),o._setUpControls(),o.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),o}return Object(r.__extends)(e,t),e.prototype.at=function(t){return this.controls[t]},e.prototype.push=function(t){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.insert=function(t,e){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity()},e.prototype.removeAt=function(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),this.controls.splice(t,1),this.updateValueAndValidity()},e.prototype.setControl=function(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),this.controls.splice(t,1),e&&(this.controls.splice(t,0,e),this._registerControl(e)),this.updateValueAndValidity(),this._onCollectionChange()},Object.defineProperty(e.prototype,"length",{get:function(){return this.controls.length},enumerable:!0,configurable:!0}),e.prototype.setValue=function(t,e){var n=this;void 0===e&&(e={}),this._checkAllValuesPresent(t),t.forEach(function(t,r){n._throwIfControlMissing(r),n.at(r).setValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)},e.prototype.patchValue=function(t,e){var n=this;void 0===e&&(e={}),t.forEach(function(t,r){n.at(r)&&n.at(r).patchValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)},e.prototype.reset=function(t,e){void 0===t&&(t=[]),void 0===e&&(e={}),this._forEachChild(function(n,r){n.reset(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e),this._updatePristine(e),this._updateTouched(e)},e.prototype.getRawValue=function(){return this.controls.map(function(t){return t instanceof Ct?t.value:t.getRawValue()})},e.prototype._syncPendingControls=function(){var t=this.controls.reduce(function(t,e){return!!e._syncPendingControls()||t},!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t},e.prototype._throwIfControlMissing=function(t){if(!this.controls.length)throw new Error("\n There are no form controls registered with this array yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.at(t))throw new Error("Cannot find form control at index "+t)},e.prototype._forEachChild=function(t){this.controls.forEach(function(e,n){t(e,n)})},e.prototype._updateValue=function(){var t=this;this.value=this.controls.filter(function(e){return e.enabled||t.disabled}).map(function(t){return t.value})},e.prototype._anyControls=function(t){return this.controls.some(function(e){return e.enabled&&t(e)})},e.prototype._setUpControls=function(){var t=this;this._forEachChild(function(e){return t._registerControl(e)})},e.prototype._checkAllValuesPresent=function(t){this._forEachChild(function(e,n){if(void 0===t[n])throw new Error("Must supply a value for form control at index: "+n+".")})},e.prototype._allControlsDisabled=function(){var t,e;try{for(var n=Object(r.__values)(this.controls),o=n.next();!o.done;o=n.next())if(o.value.enabled)return!1}catch(e){t={error:e}}finally{try{o&&!o.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}return this.controls.length>0||this.disabled},e.prototype._registerControl=function(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)},e}(wt),Et={provide:m,useExisting:Object(o.forwardRef)(function(){return kt})},xt=Promise.resolve(null),kt=function(t){function e(e,n){var r=t.call(this)||this;return r.submitted=!1,r._directives=[],r.ngSubmit=new o.EventEmitter,r.form=new Ot({},it(e),at(n)),r}return Object(r.__extends)(e,t),e.prototype.ngAfterViewInit=function(){this._setUpdateStrategy()},Object.defineProperty(e.prototype,"formDirective",{get:function(){return this},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"controls",{get:function(){return this.form.controls},enumerable:!0,configurable:!0}),e.prototype.addControl=function(t){var e=this;xt.then(function(){var n=e._findContainer(t.path);t.control=n.registerControl(t.name,t.control),tt(t.control,t),t.control.updateValueAndValidity({emitEvent:!1}),e._directives.push(t)})},e.prototype.getControl=function(t){return this.form.get(t.path)},e.prototype.removeControl=function(t){var e=this;xt.then(function(){var n=e._findContainer(t.path);n&&n.removeControl(t.name),dt(e._directives,t)})},e.prototype.addFormGroup=function(t){var e=this;xt.then(function(){var n=e._findContainer(t.path),r=new Ot({});nt(r,t),n.registerControl(t.name,r),r.updateValueAndValidity({emitEvent:!1})})},e.prototype.removeFormGroup=function(t){var e=this;xt.then(function(){var n=e._findContainer(t.path);n&&n.removeControl(t.name)})},e.prototype.getFormGroup=function(t){return this.form.get(t.path)},e.prototype.updateModel=function(t,e){var n=this;xt.then(function(){n.form.get(t.path).setValue(e)})},e.prototype.setValue=function(t){this.control.setValue(t)},e.prototype.onSubmit=function(t){return this.submitted=!0,lt(this.form,this._directives),this.ngSubmit.emit(t),!1},e.prototype.onReset=function(){this.resetForm()},e.prototype.resetForm=function(t){void 0===t&&(t=void 0),this.form.reset(t),this.submitted=!1},e.prototype._setUpdateStrategy=function(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)},e.prototype._findContainer=function(t){return t.pop(),t.length?this.form.get(t):this.form},e}(m),Tt=function(){function t(){}return t.modelParentException=function(){throw new Error('\n ngModel cannot be used to register form controls with a parent formGroup directive. Try using\n formGroup\'s partner directive "formControlName" instead. Example:\n\n '+U+'\n\n Or, if you\'d like to avoid registering this form control, indicate that it\'s standalone in ngModelOptions:\n\n Example:\n\n \n
\n \n \n
\n ')},t.formGroupNameException=function(){throw new Error("\n ngModel cannot be used to register form controls with a parent formGroupName or formArrayName directive.\n\n Option 1: Use formControlName instead of ngModel (reactive strategy):\n\n "+H+"\n\n Option 2: Update ngModel's parent be ngModelGroup (template-driven strategy):\n\n "+z)},t.missingNameException=function(){throw new Error('If ngModel is used within a form tag, either the name attribute must be set or the form\n control must be defined as \'standalone\' in ngModelOptions.\n\n Example 1: \n Example 2: ')},t.modelGroupParentException=function(){throw new Error("\n ngModelGroup cannot be used with a parent formGroup directive.\n\n Option 1: Use formGroupName instead of ngModelGroup (reactive strategy):\n\n "+H+"\n\n Option 2: Use a regular form tag instead of the formGroup directive (template-driven strategy):\n\n "+z)},t}(),jt={provide:m,useExisting:Object(o.forwardRef)(function(){return It})},It=function(t){function e(e,n,r){var o=t.call(this)||this;return o._parent=e,o._validators=n,o._asyncValidators=r,o}return Object(r.__extends)(e,t),e.prototype._checkParentType=function(){this._parent instanceof e||this._parent instanceof kt||Tt.modelGroupParentException()},e}(pt),Rt={provide:N,useExisting:Object(o.forwardRef)(function(){return Dt})},Pt=Promise.resolve(null),Dt=function(t){function e(e,n,r,i){var a=t.call(this)||this;return a.control=new Ct,a._registered=!1,a.update=new o.EventEmitter,a._parent=e,a._rawValidators=n||[],a._rawAsyncValidators=r||[],a.valueAccessor=ct(a,i),a}return Object(r.__extends)(e,t),e.prototype.ngOnChanges=function(t){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in t&&this._updateDisabled(t),st(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)},e.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeControl(this)},Object.defineProperty(e.prototype,"path",{get:function(){return this._parent?X(this.name,this._parent):[this.name]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validator",{get:function(){return it(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return at(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),e.prototype.viewToModelUpdate=function(t){this.viewModel=t,this.update.emit(t)},e.prototype._setUpControl=function(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0},e.prototype._setUpdateStrategy=function(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)},e.prototype._isStandalone=function(){return!this._parent||!(!this.options||!this.options.standalone)},e.prototype._setUpStandalone=function(){tt(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})},e.prototype._checkForErrors=function(){this._isStandalone()||this._checkParentType(),this._checkName()},e.prototype._checkParentType=function(){!(this._parent instanceof It)&&this._parent instanceof pt?Tt.formGroupNameException():this._parent instanceof It||this._parent instanceof kt||Tt.modelParentException()},e.prototype._checkName=function(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()||this.name||Tt.missingNameException()},e.prototype._updateValue=function(t){var e=this;Pt.then(function(){e.control.setValue(t,{emitViewToModelChange:!1})})},e.prototype._updateDisabled=function(t){var e=this,n=t.isDisabled.currentValue,r=""===n||n&&"false"!==n;Pt.then(function(){r&&!e.control.disabled?e.control.disable():!r&&e.control.disabled&&e.control.enable()})},e}(N),At=new o.InjectionToken("NgModelWithFormControlWarning"),Nt={provide:N,useExisting:Object(o.forwardRef)(function(){return Mt})},Mt=function(t){function e(e,n,r,i){var a=t.call(this)||this;return a._ngModelWarningConfig=i,a.update=new o.EventEmitter,a._ngModelWarningSent=!1,a._rawValidators=e||[],a._rawAsyncValidators=n||[],a.valueAccessor=ct(a,r),a}return Object(r.__extends)(e,t),Object.defineProperty(e.prototype,"isDisabled",{set:function(t){G.disabledAttrWarning()},enumerable:!0,configurable:!0}),e.prototype.ngOnChanges=function(t){this._isControlChanged(t)&&(tt(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})),st(t,this.viewModel)&&(ft("formControl",e,this,this._ngModelWarningConfig),this.form.setValue(this.model),this.viewModel=this.model)},Object.defineProperty(e.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validator",{get:function(){return it(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return at(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),e.prototype.viewToModelUpdate=function(t){this.viewModel=t,this.update.emit(t)},e.prototype._isControlChanged=function(t){return t.hasOwnProperty("form")},e._ngModelWarningSentOnce=!1,e}(N),Vt={provide:m,useExisting:Object(o.forwardRef)(function(){return Ft})},Ft=function(t){function e(e,n){var r=t.call(this)||this;return r._validators=e,r._asyncValidators=n,r.submitted=!1,r.directives=[],r.form=null,r.ngSubmit=new o.EventEmitter,r}return Object(r.__extends)(e,t),e.prototype.ngOnChanges=function(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations())},Object.defineProperty(e.prototype,"formDirective",{get:function(){return this},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),e.prototype.addControl=function(t){var e=this.form.get(t.path);return tt(e,t),e.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),e},e.prototype.getControl=function(t){return this.form.get(t.path)},e.prototype.removeControl=function(t){dt(this.directives,t)},e.prototype.addFormGroup=function(t){var e=this.form.get(t.path);nt(e,t),e.updateValueAndValidity({emitEvent:!1})},e.prototype.removeFormGroup=function(t){},e.prototype.getFormGroup=function(t){return this.form.get(t.path)},e.prototype.addFormArray=function(t){var e=this.form.get(t.path);nt(e,t),e.updateValueAndValidity({emitEvent:!1})},e.prototype.removeFormArray=function(t){},e.prototype.getFormArray=function(t){return this.form.get(t.path)},e.prototype.updateModel=function(t,e){this.form.get(t.path).setValue(e)},e.prototype.onSubmit=function(t){return this.submitted=!0,lt(this.form,this.directives),this.ngSubmit.emit(t),!1},e.prototype.onReset=function(){this.resetForm()},e.prototype.resetForm=function(t){void 0===t&&(t=void 0),this.form.reset(t),this.submitted=!1},e.prototype._updateDomValue=function(){var t=this;this.directives.forEach(function(e){var n=t.form.get(e.path);e.control!==n&&(function(t,e){e.valueAccessor.registerOnChange(function(){return rt(e)}),e.valueAccessor.registerOnTouched(function(){return rt(e)}),e._rawValidators.forEach(function(t){t.registerOnValidatorChange&&t.registerOnValidatorChange(null)}),e._rawAsyncValidators.forEach(function(t){t.registerOnValidatorChange&&t.registerOnValidatorChange(null)}),t&&t._clearChangeFns()}(e.control,e),n&&tt(n,e),e.control=n)}),this.form._updateTreeValidity({emitEvent:!1})},e.prototype._updateRegistrations=function(){var t=this;this.form._registerOnCollectionChange(function(){return t._updateDomValue()}),this._oldForm&&this._oldForm._registerOnCollectionChange(function(){}),this._oldForm=this.form},e.prototype._updateValidators=function(){var t=it(this._validators);this.form.validator=_.compose([this.form.validator,t]);var e=at(this._asyncValidators);this.form.asyncValidator=_.composeAsync([this.form.asyncValidator,e])},e.prototype._checkFormPresent=function(){this.form||G.missingFormException()},e}(m),Lt={provide:m,useExisting:Object(o.forwardRef)(function(){return Bt})},Bt=function(t){function e(e,n,r){var o=t.call(this)||this;return o._parent=e,o._validators=n,o._asyncValidators=r,o}return Object(r.__extends)(e,t),e.prototype._checkParentType=function(){zt(this._parent)&&G.groupParentException()},e}(pt),Ut={provide:m,useExisting:Object(o.forwardRef)(function(){return Ht})},Ht=function(t){function e(e,n,r){var o=t.call(this)||this;return o._parent=e,o._validators=n,o._asyncValidators=r,o}return Object(r.__extends)(e,t),e.prototype.ngOnInit=function(){this._checkParentType(),this.formDirective.addFormArray(this)},e.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeFormArray(this)},Object.defineProperty(e.prototype,"control",{get:function(){return this.formDirective.getFormArray(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return X(this.name,this._parent)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validator",{get:function(){return it(this._validators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return at(this._asyncValidators)},enumerable:!0,configurable:!0}),e.prototype._checkParentType=function(){zt(this._parent)&&G.arrayParentException()},e}(m);function zt(t){return!(t instanceof Bt||t instanceof Ft||t instanceof Ht)}var Gt={provide:N,useExisting:Object(o.forwardRef)(function(){return qt})},qt=function(t){function e(e,n,r,i,a){var s=t.call(this)||this;return s._ngModelWarningConfig=a,s._added=!1,s.update=new o.EventEmitter,s._ngModelWarningSent=!1,s._parent=e,s._rawValidators=n||[],s._rawAsyncValidators=r||[],s.valueAccessor=ct(s,i),s}return Object(r.__extends)(e,t),Object.defineProperty(e.prototype,"isDisabled",{set:function(t){G.disabledAttrWarning()},enumerable:!0,configurable:!0}),e.prototype.ngOnChanges=function(t){this._added||this._setUpControl(),st(t,this.viewModel)&&(ft("formControlName",e,this,this._ngModelWarningConfig),this.viewModel=this.model,this.formDirective.updateModel(this,this.model))},e.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeControl(this)},e.prototype.viewToModelUpdate=function(t){this.viewModel=t,this.update.emit(t)},Object.defineProperty(e.prototype,"path",{get:function(){return X(this.name,this._parent)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validator",{get:function(){return it(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return at(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),e.prototype._checkParentType=function(){!(this._parent instanceof Bt)&&this._parent instanceof pt?G.ngModelGroupException():this._parent instanceof Bt||this._parent instanceof Ft||this._parent instanceof Ht||G.controlParentException()},e.prototype._setUpControl=function(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0},e._ngModelWarningSentOnce=!1,e}(N),$t={provide:v,useExisting:Object(o.forwardRef)(function(){return Zt}),multi:!0},Wt={provide:v,useExisting:Object(o.forwardRef)(function(){return Kt}),multi:!0},Zt=function(){function t(){}return Object.defineProperty(t.prototype,"required",{get:function(){return this._required},set:function(t){this._required=null!=t&&!1!==t&&""+t!="false",this._onChange&&this._onChange()},enumerable:!0,configurable:!0}),t.prototype.validate=function(t){return this.required?_.required(t):null},t.prototype.registerOnValidatorChange=function(t){this._onChange=t},t}(),Kt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r.__extends)(e,t),e.prototype.validate=function(t){return this.required?_.requiredTrue(t):null},e}(Zt),Qt={provide:v,useExisting:Object(o.forwardRef)(function(){return Yt}),multi:!0},Yt=function(){function t(){}return Object.defineProperty(t.prototype,"email",{set:function(t){this._enabled=""===t||!0===t||"true"===t,this._onChange&&this._onChange()},enumerable:!0,configurable:!0}),t.prototype.validate=function(t){return this._enabled?_.email(t):null},t.prototype.registerOnValidatorChange=function(t){this._onChange=t},t}(),Jt={provide:v,useExisting:Object(o.forwardRef)(function(){return Xt}),multi:!0},Xt=function(){function t(){}return t.prototype.ngOnChanges=function(t){"minlength"in t&&(this._createValidator(),this._onChange&&this._onChange())},t.prototype.validate=function(t){return null==this.minlength?null:this._validator(t)},t.prototype.registerOnValidatorChange=function(t){this._onChange=t},t.prototype._createValidator=function(){this._validator=_.minLength(parseInt(this.minlength,10))},t}(),te={provide:v,useExisting:Object(o.forwardRef)(function(){return ee}),multi:!0},ee=function(){function t(){}return t.prototype.ngOnChanges=function(t){"maxlength"in t&&(this._createValidator(),this._onChange&&this._onChange())},t.prototype.validate=function(t){return null!=this.maxlength?this._validator(t):null},t.prototype.registerOnValidatorChange=function(t){this._onChange=t},t.prototype._createValidator=function(){this._validator=_.maxLength(parseInt(this.maxlength,10))},t}(),ne={provide:v,useExisting:Object(o.forwardRef)(function(){return re}),multi:!0},re=function(){function t(){}return t.prototype.ngOnChanges=function(t){"pattern"in t&&(this._createValidator(),this._onChange&&this._onChange())},t.prototype.validate=function(t){return this._validator(t)},t.prototype.registerOnValidatorChange=function(t){this._onChange=t},t.prototype._createValidator=function(){this._validator=_.pattern(this.pattern)},t}(),oe=function(){function t(){}return t.prototype.group=function(t,e){void 0===e&&(e=null);var n=this._reduceControls(t);return new Ot(n,null!=e?e.validator:null,null!=e?e.asyncValidator:null)},t.prototype.control=function(t,e,n){return new Ct(t,e,n)},t.prototype.array=function(t,e,n){var r=this,o=t.map(function(t){return r._createControl(t)});return new St(o,e,n)},t.prototype._reduceControls=function(t){var e=this,n={};return Object.keys(t).forEach(function(r){n[r]=e._createControl(t[r])}),n},t.prototype._createControl=function(t){return t instanceof Ct||t instanceof Ot||t instanceof St?t:Array.isArray(t)?this.control(t[0],t.length>1?t[1]:null,t.length>2?t[2]:null):this.control(t)},t}(),ie=new o.Version("6.1.7"),ae=function(){},se=[ae,Z,J,j,D,B,x,W,Y,F,gt,vt,Zt,Xt,ee,re,Kt,Yt],ue=[Dt,It,kt],le=[Mt,Ft,qt,Bt,Ht],ce=function(){},de=function(){},fe=function(){function t(){}return t.withConfig=function(e){return{ngModule:t,providers:[{provide:At,useValue:e.warnOnNgModelWithFormControl}]}},t}()},h9Dq:function(t,e,n){"use strict";var r=n("mrSG"),o=function(t){function e(e,n){return t.call(this)||this}return r.__extends(e,t),e.prototype.schedule=function(t,e){return void 0===e&&(e=0),this},e}(n("pugT").a);n.d(e,"a",function(){return i});var i=function(t){function e(e,n){var r=t.call(this,e,n)||this;return r.scheduler=e,r.work=n,r.pending=!1,r}return r.__extends(e,t),e.prototype.schedule=function(t,e){if(void 0===e&&(e=0),this.closed)return this;this.state=t;var n=this.id,r=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(r,n,e)),this.pending=!0,this.delay=e,this.id=this.id||this.requestAsyncId(r,this.id,e),this},e.prototype.requestAsyncId=function(t,e,n){return void 0===n&&(n=0),setInterval(t.flush.bind(t,this),n)},e.prototype.recycleAsyncId=function(t,e,n){if(void 0===n&&(n=0),null!==n&&this.delay===n&&!1===this.pending)return e;clearInterval(e)},e.prototype.execute=function(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var n=this._execute(t,e);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},e.prototype._execute=function(t,e){var n=!1,r=void 0;try{this.work(t)}catch(t){n=!0,r=!!t&&t||new Error(t)}if(n)return this.unsubscribe(),r},e.prototype._unsubscribe=function(){var t=this.id,e=this.scheduler,n=e.actions,r=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==r&&n.splice(r,1),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null},e}(o)},iLxQ:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var r=!1,o={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){r=t},get useDeprecatedSynchronousErrorHandling(){return r}}},ihYY:function(t,e,n){"use strict";n.d(e,"b",function(){return r}),n.d(e,"c",function(){return o}),n.d(e,"a",function(){return i}),n.d(e,"e",function(){return s}),n.d(e,"f",function(){return u}),n.d(e,"g",function(){return c}),n.d(e,"h",function(){return l}),n.d(e,"i",function(){return d}),n.d(e,"j",function(){return a}),n.d(e,"d",function(){return p}),n.d(e,"l",function(){return m}),n.d(e,"k",function(){return h});var r=function(){},o=function(){},i="*";function a(t,e){return{type:7,name:t,definitions:e,options:{}}}function s(t,e){return void 0===e&&(e=null),{type:4,styles:e,timings:t}}function u(t,e){return void 0===e&&(e=null),{type:2,steps:t,options:e}}function l(t){return{type:6,styles:t,offset:null}}function c(t,e,n){return{type:0,name:t,styles:e,options:n}}function d(t,e,n){return void 0===n&&(n=null),{type:1,expr:t,animation:e,options:n}}function f(t){Promise.resolve(null).then(t)}var p=function(){function t(t,e){void 0===t&&(t=0),void 0===e&&(e=0),this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this.parentPlayer=null,this.totalTime=t+e}return t.prototype._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(t){return t()}),this._onDoneFns=[])},t.prototype.onStart=function(t){this._onStartFns.push(t)},t.prototype.onDone=function(t){this._onDoneFns.push(t)},t.prototype.onDestroy=function(t){this._onDestroyFns.push(t)},t.prototype.hasStarted=function(){return this._started},t.prototype.init=function(){},t.prototype.play=function(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0},t.prototype.triggerMicrotask=function(){var t=this;f(function(){return t._onFinish()})},t.prototype._onStart=function(){this._onStartFns.forEach(function(t){return t()}),this._onStartFns=[]},t.prototype.pause=function(){},t.prototype.restart=function(){},t.prototype.finish=function(){this._onFinish()},t.prototype.destroy=function(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(function(t){return t()}),this._onDestroyFns=[])},t.prototype.reset=function(){},t.prototype.setPosition=function(t){},t.prototype.getPosition=function(){return 0},t.prototype.triggerCallback=function(t){var e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(function(t){return t()}),e.length=0},t}(),h=function(){function t(t){var e=this;this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;var n=0,r=0,o=0,i=this.players.length;0==i?f(function(){return e._onFinish()}):this.players.forEach(function(t){t.onDone(function(){++n==i&&e._onFinish()}),t.onDestroy(function(){++r==i&&e._onDestroy()}),t.onStart(function(){++o==i&&e._onStart()})}),this.totalTime=this.players.reduce(function(t,e){return Math.max(t,e.totalTime)},0)}return t.prototype._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(t){return t()}),this._onDoneFns=[])},t.prototype.init=function(){this.players.forEach(function(t){return t.init()})},t.prototype.onStart=function(t){this._onStartFns.push(t)},t.prototype._onStart=function(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(function(t){return t()}),this._onStartFns=[])},t.prototype.onDone=function(t){this._onDoneFns.push(t)},t.prototype.onDestroy=function(t){this._onDestroyFns.push(t)},t.prototype.hasStarted=function(){return this._started},t.prototype.play=function(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(function(t){return t.play()})},t.prototype.pause=function(){this.players.forEach(function(t){return t.pause()})},t.prototype.restart=function(){this.players.forEach(function(t){return t.restart()})},t.prototype.finish=function(){this._onFinish(),this.players.forEach(function(t){return t.finish()})},t.prototype.destroy=function(){this._onDestroy()},t.prototype._onDestroy=function(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(function(t){return t.destroy()}),this._onDestroyFns.forEach(function(t){return t()}),this._onDestroyFns=[])},t.prototype.reset=function(){this.players.forEach(function(t){return t.reset()}),this._destroyed=!1,this._finished=!1,this._started=!1},t.prototype.setPosition=function(t){var e=t*this.totalTime;this.players.forEach(function(t){var n=t.totalTime?Math.min(1,e/t.totalTime):1;t.setPosition(n)})},t.prototype.getPosition=function(){var t=0;return this.players.forEach(function(e){var n=e.getPosition();t=Math.min(n,t)}),t},t.prototype.beforeDestroy=function(){this.players.forEach(function(t){t.beforeDestroy&&t.beforeDestroy()})},t.prototype.triggerCallback=function(t){var e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(function(t){return t()}),e.length=0},t}(),m="!"},isby:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var r=Array.isArray||function(t){return t&&"number"==typeof t.length}},"k+cF":function(t,e,n){"use strict";n.d(e,"a",function(){return s});var r=n("2+KW"),o=n("gIcY"),i=n("dzgT"),a=n("p0Sj"),s=function(){function t(t,e){this.activeModal=t,this._fb=e,this.subFrameModes=r.c,this.domainForm=this._fb.group({totalDomain:["",o.Validators.compose([o.Validators.required,o.Validators.pattern(u)])],subFrameMode:[r.c.default,o.Validators.compose([o.Validators.required])],domainName:["",o.Validators.compose([o.Validators.required,o.Validators.pattern(l)])],tld:["",o.Validators.compose([o.Validators.pattern(c)])]}),this.urlForm=this._fb.group({url:["",o.Validators.compose([o.Validators.required,o.Validators.pattern(d)])],subFrameMode:[r.c.default,o.Validators.compose([o.Validators.required])]})}return t.prototype.ngOnInit=function(){var t=this;this.domainForm.get("totalDomain").valueChanges.subscribe(function(e){if(t.domainForm.get("totalDomain").valid){var n=e.split("."),r=n.pop(),o=n.join(".");t.domainForm.patchValue({domainName:o,tld:r},{emitEvent:!1}),t.setDomainSet(e,o,r,t.domainForm.get("subFrameMode").value)}}),Object(i.a)([this.domainForm.get("domainName").valueChanges.pipe(Object(a.a)("")),this.domainForm.get("tld").valueChanges.pipe(Object(a.a)(""))]).subscribe(function(e){var n=t.domainForm.get("domainName"),r=t.domainForm.get("tld");n.valid&&r.valid&&(r.value?r.value.includes(",")?t.domainForm.patchValue({totalDomain:n.value+".?"},{emitEvent:!1}):t.domainForm.patchValue({totalDomain:n.value+"."+r.value},{emitEvent:!1}):t.domainForm.patchValue({totalDomain:n.value+".*"},{emitEvent:!1}),t.setDomainSet(n.value,n.value,r.value,t.domainForm.get("subFrameMode").value))}),this.urlForm.valueChanges.subscribe(function(e){var n=t.urlForm.get("url"),o=t.urlForm.get("subFrameMode");if(n.valid&&o.valid){var i=new URL(n.value);t.set={name:i.host,nodes:[{type:r.a.website,website:{type:r.d.url,sub_frame_mode:o.value,url_rule:{url:n.value,allow_all_fragments:!0}}}]}}})},t.prototype.setDomainSet=function(t,e,n,o){this.set={name:t,nodes:[{type:r.a.website,website:{type:r.d.domain,sub_frame_mode:o,domain_rule:{domain_name:e,tld:n}}}]}},t}(),u=/^(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\-]*[a-zA-Z0-9])\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\-]*[A-Za-z0-9])$/,l=/^(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\-]*[a-zA-Z0-9])\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\-]*[A-Za-z0-9])$/,c=/^(\w+|\w+(,\w+)*)?$/,d=/^((([A-Za-z]{3,9}:(?:\/\/)?)(?:[\-;:&=\+\$,\w]+@)?[A-Za-z0-9\.\-]+|(?:www\.|[\-;:&=\+\$,\w]+@)[A-Za-z0-9\.\-]+)((?:\/[\+~%\/\.\w\-_]*)?\??(?:[\-\+=&;%@\.\w_]*)#?(?:[\.\!\/\\\w]*))?)$/},lg7r:function(t,e,n){"use strict";n.d(e,"a",function(){return c});var r=n("AytR"),o=n("67Y/"),i=n("xMyE"),a=n("F/XL"),s=n("CcnG"),u=n("t/Na"),l=Object.assign||function(t){for(var e,n=1,r=arguments.length;n=0;s--)(o=t[s])&&(a=(i<3?o(a):i>3?o(e,n,a):o(e,n))||a);return i>3&&a&&Object.defineProperty(e,n,a),a}function u(t,e){return function(n,r){e(n,r,t)}}function l(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}function c(t,e,n,r){return new(n||(n=Promise))(function(o,i){function a(t){try{u(r.next(t))}catch(t){i(t)}}function s(t){try{u(r.throw(t))}catch(t){i(t)}}function u(t){t.done?o(t.value):new n(function(e){e(t.value)}).then(a,s)}u((r=r.apply(t,e||[])).next())})}function d(t,e){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}}}function h(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,o,i=n.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(t){o={error:t}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function m(){for(var t=[],e=0;e1||s(t,e)})})}function s(t,e){try{(n=o[t](e)).value instanceof g?Promise.resolve(n.value.v).then(u,l):c(i[0][2],n)}catch(t){c(i[0][3],t)}var n}function u(t){s("next",t)}function l(t){s("throw",t)}function c(t,e){t(e),i.shift(),i.length&&s(i[0][0],i[0][1])}}function y(t){var e,n;return e={},r("next"),r("throw",function(t){throw t}),r("return"),e[Symbol.iterator]=function(){return this},e;function r(r,o){e[r]=t[r]?function(e){return(n=!n)?{value:g(t[r](e)),done:"return"===r}:o?o(e):e}:o}}function b(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,n=t[Symbol.asyncIterator];return n?n.call(t):(t=p(t),e={},r("next"),r("throw"),r("return"),e[Symbol.asyncIterator]=function(){return this},e);function r(n){e[n]=t[n]&&function(e){return new Promise(function(r,o){!function(t,e,n,r){Promise.resolve(r).then(function(e){t({value:e,done:n})},e)}(r,o,(e=t[n](e)).done,e.value)})}}}function _(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}function w(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function C(t){return t&&t.__esModule?t:{default:t}}},ndxW:function(t,e,n){"use strict";n.d(e,"a",function(){return l});var r=n("Gyf/"),o=n("PQUJ"),i=n("26FU"),a=n("K9Ia"),s=n("Lnpi"),u=n("CcnG"),l=function(){function t(t,e){var n=this;this.ws=t,this.actionService=e,this.$state=new i.a(null),this.$inClass=new i.a(!1),this.$location=new i.a(null),this.$studentCount=new i.a(0),this.$students=new i.a([]),this.$classMode=new i.a(null),this.$loaded=new i.a(!1),this.$teachers=new i.a(null),this.$self=new i.a(null),this.$studentGroupChangedDelta=new a.a,this.ws.incoming.subscribe(function(t){if(t.type==o.b.state){var e=(new Date).getTime(),r=new Date(1e3*t.data.server_time).getTime();n.timeDelta=e-r,t.data.next_ping_timestamp>0&&(n.pingDone=!1);var i=n.$state.getValue();i?(n.ws.disconnectUntil=t.data.disconnect_until?new Date(1e3*t.data.disconnect_until+n.timeDelta):null,t.data.next_ping_timestamp>0&&(i.next_ping_timestamp=t.data.next_ping_timestamp),i.server_time=t.data.server_time,null===t.data.class?i.class=null:void 0!==t.data.class&&(i.class=t.data.class),t.data.user&&(i.user=t.data.user)):i=t.data,n.publishState(i)}}),this.$self.subscribe(function(t){window.Trengo&&(window.Trengo.contact_data=t?{email:t.email,name:t.first_name+" "+t.last_name+" ("+t.code+")",custom_fields:[{field_id:69696969,value:t.id}]}:null)}),setInterval(function(){var t=n.$state.getValue();t&&!n.inClass(t)&&t.class&&(t.class=void 0,n.publishState(t)),!n.pingDone&&n.$state.getValue()&&n.getSyncedTime().getTime()>=1e3*n.$state.getValue().next_ping_timestamp&&(n.ws.sendPingAction(),n.pingDone=!0)},1e3),this.actionService.studentGroupChanged.subscribe(function(t){var e=n.$state.getValue();if(e&&e.class){e.class.students||(e.class.students={});var r=(e.class.students[t.user_id]||{group:null}).group;if(e.class.students[t.user_id]=t.student,n.publishState(e),r==t.student.group)return;n.$studentGroupChangedDelta.next({newState:t,oldGroup:r})}})}return t.prototype.getSyncedTime=function(){if(this.timeDelta){var t=(new Date).getTime();return new Date(t-this.timeDelta)}return new Date},t.prototype.getTimeDelta=function(){return this.timeDelta?this.timeDelta:0},t.prototype.setModes=function(t,e){this.ws.sendAction({action:o.a.setClassMode,data:{base_mode:t,students:e}})},t.prototype.inClass=function(t){if(t&&t.class){var e=this.getSyncedTime().getTime()/1e3;return t.class.start_timee}return!1},t.prototype.publishState=function(t){this.$state.next(t),this.$loaded.next(!!t),this.$location.next(t&&t.class?t.class.location:null),this.$studentCount.next(t&&t.class&&t.class.students?Object.keys(t.class.students).length:0),this.publishStudents(t),this.$classMode.next(t&&t.class?t.class.mode:null),this.$teachers.next(t&&t.class&&t.class.teachers?t.class.teachers:null),this.$self.next(t&&t.user?t.user:null),this.$inClass.next(!(!t||!t.class))},t.prototype.publishStudents=function(t){this.$students.next(t&&t.class&&t.class.students?Object.keys(t.class.students).map(function(e){return{userId:e,student:t.class.students[e]}}):[])},t.ngInjectableDef=u.defineInjectable({factory:function(){return new t(u.inject(r.c),u.inject(s.a))},token:t,providedIn:"root"}),t}()},nkY7:function(t,e,n){"use strict";function r(t){return t&&"function"==typeof t.schedule}n.d(e,"a",function(){return r})},ny24:function(t,e,n){"use strict";n.d(e,"a",function(){return a});var r=n("mrSG"),o=n("MGBS"),i=n("zotm");function a(t){return function(e){return e.lift(new s(t))}}var s=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){var n=new u(t),r=Object(i.a)(n,this.notifier);return r&&!n.seenValue?(n.add(r),e.subscribe(n)):n},t}(),u=function(t){function e(e){var n=t.call(this,e)||this;return n.seenValue=!1,n}return r.__extends(e,t),e.prototype.notifyNext=function(t,e,n,r,o){this.seenValue=!0,this.complete()},e.prototype.notifyComplete=function(){},e}(o.a)},ogHa:function(t,e,n){"use strict";n.d(e,"a",function(){return a});var r=n("PxNQ"),o=n("CcnG"),i=n("4GxJ"),a=function(){function t(t){this.modal=t}return t.prototype.confirm=function(t,e,n,o,i,a){void 0===n&&(n="Ok\xe9"),void 0===o&&(o="Sluiten"),void 0===i&&(i="lg"),void 0===a&&(a=!0);var s=this.modal.open(r.a,{size:i,backdrop:a});return s.componentInstance.title=t,s.componentInstance.message=e,s.componentInstance.btnOkText=n,s.componentInstance.btnCancelText=o,s.result},t.ngInjectableDef=o.defineInjectable({factory:function(){return new t(o.inject(i.w))},token:t,providedIn:"root"}),t}()},p0Sj:function(t,e,n){"use strict";n.d(e,"a",function(){return u});var r=n("IUTb"),o=n("PU8L"),i=n("G5J1"),a=n("dEwP"),s=n("nkY7");function u(){for(var t=[],e=0;e0?Object(a.a)(Object(r.a)(t,n),e):Object(a.a)(Object(i.b)(n),e):Object(a.a)(Object(o.a)(t[0]),e)}}},p0ib:function(t,e,n){"use strict";n.d(e,"a",function(){return s});var r=n("6blF"),o=n("nkY7"),i=n("Zn8D"),a=n("IUTb");function s(){for(var t=[],e=0;e1&&"number"==typeof t[t.length-1]&&(n=t.pop())):"number"==typeof u&&(n=t.pop()),null===s&&1===t.length&&t[0]instanceof r.a?t[0]:Object(i.a)(n)(Object(a.a)(t,s))}},pMnS:function(t,e,n){"use strict";n.d(e,"a",function(){return s});var r=n("CcnG"),o=n("ZYCi"),i=r["\u0275crt"]({encapsulation:2,styles:[],data:{}});function a(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,16777216,null,null,1,"router-outlet",[],null,null,null,null,null)),r["\u0275did"](1,212992,null,0,o.t,[o.b,r.ViewContainerRef,r.ComponentFactoryResolver,[8,null],r.ChangeDetectorRef],null,null)],function(t,e){t(e,1,0)},null)}var s=r["\u0275ccf"]("ng-component",o.x,function(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,1,"ng-component",[],null,null,null,a,i)),r["\u0275did"](1,49152,null,0,o.x,[],null,null)],null,null)},{},{},[])},psW0:function(t,e,n){"use strict";n.d(e,"a",function(){return l});var r=n("mrSG"),o=n("zotm"),i=n("MGBS"),a=n("rPjj"),s=n("67Y/"),u=n("0/uQ");function l(t,e,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),"function"==typeof e?function(r){return r.pipe(l(function(n,r){return Object(u.a)(t(n,r)).pipe(Object(s.a)(function(t,o){return e(n,t,r,o)}))},n))}:("number"==typeof e&&(n=e),function(e){return e.lift(new c(t,n))})}var c=function(){function t(t,e){void 0===e&&(e=Number.POSITIVE_INFINITY),this.project=t,this.concurrent=e}return t.prototype.call=function(t,e){return e.subscribe(new d(t,this.project,this.concurrent))},t}(),d=function(t){function e(e,n,r){void 0===r&&(r=Number.POSITIVE_INFINITY);var o=t.call(this,e)||this;return o.project=n,o.concurrent=r,o.hasCompleted=!1,o.buffer=[],o.active=0,o.index=0,o}return r.__extends(e,t),e.prototype._next=function(t){this.active0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},e}(i.a)},pugT:function(t,e,n){"use strict";var r=n("isby"),o=n("McSo"),i=n("2Bdj"),a=n("Ehmk"),s=n("eihs");function u(t){return Error.call(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map(function(t,e){return e+1+") "+t.toString()}).join("\n "):"",this.name="UnsubscriptionError",this.errors=t,this}u.prototype=Object.create(Error.prototype);var l=u;n.d(e,"a",function(){return c});var c=function(){function t(t){this.closed=!1,this._parent=null,this._parents=null,this._subscriptions=null,t&&(this._unsubscribe=t)}var e;return t.prototype.unsubscribe=function(){var t,e=!1;if(!this.closed){var n=this._parent,u=this._parents,c=this._unsubscribe,f=this._subscriptions;this.closed=!0,this._parent=null,this._parents=null,this._subscriptions=null;for(var p=-1,h=u?u.length:0;n;)n.remove(this),n=++p0){var r=t.slice(0,n),o=r.toLowerCase(),i=t.slice(n+1).trim();e.maybeSetNormalizedName(r,o),e.headers.has(o)?e.headers.get(o).push(i):e.headers.set(o,[i])}})}:function(){e.headers=new Map,Object.keys(t).forEach(function(n){var r=t[n],o=n.toLowerCase();"string"==typeof r&&(r=[r]),r.length>0&&(e.headers.set(o,r),e.maybeSetNormalizedName(n,o))})}:this.headers=new Map}return t.prototype.has=function(t){return this.init(),this.headers.has(t.toLowerCase())},t.prototype.get=function(t){this.init();var e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[0]:null},t.prototype.keys=function(){return this.init(),Array.from(this.normalizedNames.values())},t.prototype.getAll=function(t){return this.init(),this.headers.get(t.toLowerCase())||null},t.prototype.append=function(t,e){return this.clone({name:t,value:e,op:"a"})},t.prototype.set=function(t,e){return this.clone({name:t,value:e,op:"s"})},t.prototype.delete=function(t,e){return this.clone({name:t,value:e,op:"d"})},t.prototype.maybeSetNormalizedName=function(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)},t.prototype.init=function(){var e=this;this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(function(t){return e.applyUpdate(t)}),this.lazyUpdate=null))},t.prototype.copyFrom=function(t){var e=this;t.init(),Array.from(t.headers.keys()).forEach(function(n){e.headers.set(n,t.headers.get(n)),e.normalizedNames.set(n,t.normalizedNames.get(n))})},t.prototype.clone=function(e){var n=new t;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([e]),n},t.prototype.applyUpdate=function(t){var e=t.name.toLowerCase();switch(t.op){case"a":case"s":var n=t.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(t.name,e);var o=("a"===t.op?this.headers.get(e):void 0)||[];o.push.apply(o,Object(r.__spread)(n)),this.headers.set(e,o);break;case"d":var i=t.value;if(i){var a=this.headers.get(e);if(!a)return;0===(a=a.filter(function(t){return-1===i.indexOf(t)})).length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,a)}else this.headers.delete(e),this.normalizedNames.delete(e)}},t.prototype.forEach=function(t){var e=this;this.init(),Array.from(this.normalizedNames.keys()).forEach(function(n){return t(e.normalizedNames.get(n),e.headers.get(n))})},t}(),h=function(){function t(){}return t.prototype.encodeKey=function(t){return m(t)},t.prototype.encodeValue=function(t){return m(t)},t.prototype.decodeKey=function(t){return decodeURIComponent(t)},t.prototype.decodeValue=function(t){return decodeURIComponent(t)},t}();function m(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/gi,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%2B/gi,"+").replace(/%3D/gi,"=").replace(/%3F/gi,"?").replace(/%2F/gi,"/")}var g=function(){function t(t){void 0===t&&(t={});var e,n,o,i=this;if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new h,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=(e=t.fromString,n=this.encoder,o=new Map,e.length>0&&e.split("&").forEach(function(t){var e=t.indexOf("="),i=Object(r.__read)(-1==e?[n.decodeKey(t),""]:[n.decodeKey(t.slice(0,e)),n.decodeValue(t.slice(e+1))],2),a=i[0],s=i[1],u=o.get(a)||[];u.push(s),o.set(a,u)}),o)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(function(e){var n=t.fromObject[e];i.map.set(e,Array.isArray(n)?n:[n])})):this.map=null}return t.prototype.has=function(t){return this.init(),this.map.has(t)},t.prototype.get=function(t){this.init();var e=this.map.get(t);return e?e[0]:null},t.prototype.getAll=function(t){return this.init(),this.map.get(t)||null},t.prototype.keys=function(){return this.init(),Array.from(this.map.keys())},t.prototype.append=function(t,e){return this.clone({param:t,value:e,op:"a"})},t.prototype.set=function(t,e){return this.clone({param:t,value:e,op:"s"})},t.prototype.delete=function(t,e){return this.clone({param:t,value:e,op:"d"})},t.prototype.toString=function(){var t=this;return this.init(),this.keys().map(function(e){var n=t.encoder.encodeKey(e);return t.map.get(e).map(function(e){return n+"="+t.encoder.encodeValue(e)}).join("&")}).join("&")},t.prototype.clone=function(e){var n=new t({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat([e]),n},t.prototype.init=function(){var t=this;null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(function(e){return t.map.set(e,t.cloneFrom.map.get(e))}),this.updates.forEach(function(e){switch(e.op){case"a":case"s":var n=("a"===e.op?t.map.get(e.param):void 0)||[];n.push(e.value),t.map.set(e.param,n);break;case"d":if(void 0===e.value){t.map.delete(e.param);break}var r=t.map.get(e.param)||[],o=r.indexOf(e.value);-1!==o&&r.splice(o,1),r.length>0?t.map.set(e.param,r):t.map.delete(e.param)}}),this.cloneFrom=null)},t}();function v(t){return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer}function y(t){return"undefined"!=typeof Blob&&t instanceof Blob}function b(t){return"undefined"!=typeof FormData&&t instanceof FormData}var _=function(){function t(t,e,n,r){var o;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||r?(this.body=void 0!==n?n:null,o=r):o=n,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.params&&(this.params=o.params)),this.headers||(this.headers=new p),this.params){var i=this.params.toString();if(0===i.length)this.urlWithParams=e;else{var a=e.indexOf("?");this.urlWithParams=e+(-1===a?"?":a=200&&this.status<300}}(),O=function(t){function e(e){void 0===e&&(e={});var n=t.call(this,e)||this;return n.type=w.ResponseHeader,n}return Object(r.__extends)(e,t),e.prototype.clone=function(t){return void 0===t&&(t={}),new e({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})},e}(C),S=function(t){function e(e){void 0===e&&(e={});var n=t.call(this,e)||this;return n.type=w.Response,n.body=void 0!==e.body?e.body:null,n}return Object(r.__extends)(e,t),e.prototype.clone=function(t){return void 0===t&&(t={}),new e({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})},e}(C),E=function(t){function e(e){var n=t.call(this,e,0,"Unknown Error")||this;return n.name="HttpErrorResponse",n.ok=!1,n.message=n.status>=200&&n.status<300?"Http failure during parsing for "+(e.url||"(unknown url)"):"Http failure response for "+(e.url||"(unknown url)")+": "+e.status+" "+e.statusText,n.error=e.error||null,n}return Object(r.__extends)(e,t),e}(C);function x(t,e){return{body:e,headers:t.headers,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}var k=function(){function t(t){this.handler=t}return t.prototype.request=function(t,e,n){var r,o=this;if(void 0===n&&(n={}),t instanceof _)r=t;else{var a;a=n.headers instanceof p?n.headers:new p(n.headers);var c=void 0;n.params&&(c=n.params instanceof g?n.params:new g({fromObject:n.params})),r=new _(t,e,void 0!==n.body?n.body:null,{headers:a,params:c,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}var d=Object(i.a)(r).pipe(Object(s.a)(function(t){return o.handler.handle(t)}));if(t instanceof _||"events"===n.observe)return d;var f=d.pipe(Object(u.a)(function(t){return t instanceof S}));switch(n.observe||"body"){case"body":switch(r.responseType){case"arraybuffer":return f.pipe(Object(l.a)(function(t){if(null!==t.body&&!(t.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return t.body}));case"blob":return f.pipe(Object(l.a)(function(t){if(null!==t.body&&!(t.body instanceof Blob))throw new Error("Response is not a Blob.");return t.body}));case"text":return f.pipe(Object(l.a)(function(t){if(null!==t.body&&"string"!=typeof t.body)throw new Error("Response is not a string.");return t.body}));case"json":default:return f.pipe(Object(l.a)(function(t){return t.body}))}case"response":return f;default:throw new Error("Unreachable: unhandled observe type "+n.observe+"}")}},t.prototype.delete=function(t,e){return void 0===e&&(e={}),this.request("DELETE",t,e)},t.prototype.get=function(t,e){return void 0===e&&(e={}),this.request("GET",t,e)},t.prototype.head=function(t,e){return void 0===e&&(e={}),this.request("HEAD",t,e)},t.prototype.jsonp=function(t,e){return this.request("JSONP",t,{params:(new g).append(e,"JSONP_CALLBACK"),observe:"body",responseType:"json"})},t.prototype.options=function(t,e){return void 0===e&&(e={}),this.request("OPTIONS",t,e)},t.prototype.patch=function(t,e,n){return void 0===n&&(n={}),this.request("PATCH",t,x(n,e))},t.prototype.post=function(t,e,n){return void 0===n&&(n={}),this.request("POST",t,x(n,e))},t.prototype.put=function(t,e,n){return void 0===n&&(n={}),this.request("PUT",t,x(n,e))},t}(),T=function(){function t(t,e){this.next=t,this.interceptor=e}return t.prototype.handle=function(t){return this.interceptor.intercept(t,this.next)},t}(),j=new o.InjectionToken("HTTP_INTERCEPTORS"),I=function(){function t(){}return t.prototype.intercept=function(t,e){return e.handle(t)},t}(),R=/^\)\]\}',?\n/,P=function(){},D=function(){function t(){}return t.prototype.build=function(){return new XMLHttpRequest},t}(),A=function(){function t(t){this.xhrFactory=t}return t.prototype.handle=function(t){var e=this;if("JSONP"===t.method)throw new Error("Attempted to construct Jsonp request without JsonpClientModule installed.");return new a.a(function(n){var r=e.xhrFactory.build();if(r.open(t.method,t.urlWithParams),t.withCredentials&&(r.withCredentials=!0),t.headers.forEach(function(t,e){return r.setRequestHeader(t,e.join(","))}),t.headers.has("Accept")||r.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){var o=t.detectContentTypeHeader();null!==o&&r.setRequestHeader("Content-Type",o)}if(t.responseType){var i=t.responseType.toLowerCase();r.responseType="json"!==i?i:"text"}var a=t.serializeBody(),s=null,u=function(){if(null!==s)return s;var e=1223===r.status?204:r.status,n=r.statusText||"OK",o=new p(r.getAllResponseHeaders()),i=function(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}(r)||t.url;return s=new O({headers:o,status:e,statusText:n,url:i})},l=function(){var e=u(),o=e.headers,i=e.status,a=e.statusText,s=e.url,l=null;204!==i&&(l=void 0===r.response?r.responseText:r.response),0===i&&(i=l?200:0);var c=i>=200&&i<300;if("json"===t.responseType&&"string"==typeof l){var d=l;l=l.replace(R,"");try{l=""!==l?JSON.parse(l):null}catch(t){l=d,c&&(c=!1,l={error:t,text:l})}}c?(n.next(new S({body:l,headers:o,status:i,statusText:a,url:s||void 0})),n.complete()):n.error(new E({error:l,headers:o,status:i,statusText:a,url:s||void 0}))},c=function(t){var e=new E({error:t,status:r.status||0,statusText:r.statusText||"Unknown Error"});n.error(e)},d=!1,f=function(e){d||(n.next(u()),d=!0);var o={type:w.DownloadProgress,loaded:e.loaded};e.lengthComputable&&(o.total=e.total),"text"===t.responseType&&r.responseText&&(o.partialText=r.responseText),n.next(o)},h=function(t){var e={type:w.UploadProgress,loaded:t.loaded};t.lengthComputable&&(e.total=t.total),n.next(e)};return r.addEventListener("load",l),r.addEventListener("error",c),t.reportProgress&&(r.addEventListener("progress",f),null!==a&&r.upload&&r.upload.addEventListener("progress",h)),r.send(a),n.next({type:w.Sent}),function(){r.removeEventListener("error",c),r.removeEventListener("load",l),t.reportProgress&&(r.removeEventListener("progress",f),null!==a&&r.upload&&r.upload.removeEventListener("progress",h)),r.abort()}})},t}(),N=new o.InjectionToken("XSRF_COOKIE_NAME"),M=new o.InjectionToken("XSRF_HEADER_NAME"),V=function(){},F=function(){function t(t,e,n){this.doc=t,this.platform=e,this.cookieName=n,this.lastCookieString="",this.lastToken=null,this.parseCount=0}return t.prototype.getToken=function(){if("server"===this.platform)return null;var t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=Object(c.F)(t,this.cookieName),this.lastCookieString=t),this.lastToken},t}(),L=function(){function t(t,e){this.tokenService=t,this.headerName=e}return t.prototype.intercept=function(t,e){var n=t.url.toLowerCase();if("GET"===t.method||"HEAD"===t.method||n.startsWith("http://")||n.startsWith("https://"))return e.handle(t);var r=this.tokenService.getToken();return null===r||t.headers.has(this.headerName)||(t=t.clone({headers:t.headers.set(this.headerName,r)})),e.handle(t)},t}(),B=function(){function t(t,e){this.backend=t,this.injector=e,this.chain=null}return t.prototype.handle=function(t){if(null===this.chain){var e=this.injector.get(j,[]);this.chain=e.reduceRight(function(t,e){return new T(t,e)},this.backend)}return this.chain.handle(t)},t}(),U=function(){function t(){}return t.disable=function(){return{ngModule:t,providers:[{provide:L,useClass:I}]}},t.withOptions=function(e){return void 0===e&&(e={}),{ngModule:t,providers:[e.cookieName?{provide:N,useValue:e.cookieName}:[],e.headerName?{provide:M,useValue:e.headerName}:[]]}},t}(),H=function(){}},t9fZ:function(t,e,n){"use strict";n.d(e,"a",function(){return s});var r=n("mrSG"),o=n("FFOo"),i=n("b7mW"),a=n("G5J1");function s(t){return function(e){return 0===t?Object(a.b)():e.lift(new u(t))}}var u=function(){function t(t){if(this.total=t,this.total<0)throw new i.a}return t.prototype.call=function(t,e){return e.subscribe(new l(t,this.total))},t}(),l=function(t){function e(e,n){var r=t.call(this,e)||this;return r.total=n,r.count=0,r}return r.__extends(e,t),e.prototype._next=function(t){var e=this.total,n=++this.count;n<=e&&(this.destination.next(t),n===e&&(this.destination.complete(),this.unsubscribe()))},e}(o.a)},tNVB:function(t,e,n){"use strict";n.d(e,"a",function(){return i});var r=n("xMyE"),o=n("3fWJ"),i=function(t){return void 0===t&&(t=a),Object(r.a)({hasValue:!1,next:function(){this.hasValue=!0},complete:function(){if(!this.hasValue)throw t()}})};function a(){return new o.a}},u67D:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var r=n("En8+"),o=function(t){return function(e){for(var n=t[r.a]();;){var o=n.next();if(o.done){e.complete();break}if(e.next(o.value),e.closed)break}return"function"==typeof n.return&&e.add(function(){n.return&&n.return()}),e}}},uMaO:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var r=n("mrSG"),o=function(t){function e(e,n){var r=t.call(this)||this;return r.subject=e,r.subscriber=n,r.closed=!1,r}return r.__extends(e,t),e.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var t=this.subject,e=t.observers;if(this.subject=null,e&&0!==e.length&&!t.isStopped&&!t.closed){var n=e.indexOf(this.subscriber);-1!==n&&e.splice(n,1)}}},e}(n("pugT").a)},xMyE:function(t,e,n){"use strict";n.d(e,"a",function(){return s});var r=n("mrSG"),o=n("FFOo"),i=n("+umK"),a=n("2Bdj");function s(t,e,n){return function(r){return r.lift(new u(t,e,n))}}var u=function(){function t(t,e,n){this.nextOrObserver=t,this.error=e,this.complete=n}return t.prototype.call=function(t,e){return e.subscribe(new l(t,this.nextOrObserver,this.error,this.complete))},t}(),l=function(t){function e(e,n,r,o){var s=t.call(this,e)||this;return s._tapNext=i.a,s._tapError=i.a,s._tapComplete=i.a,s._tapError=r||i.a,s._tapComplete=o||i.a,Object(a.a)(n)?(s._context=s,s._tapNext=n):n&&(s._context=n,s._tapNext=n.next||i.a,s._tapError=n.error||i.a,s._tapComplete=n.complete||i.a),s}return r.__extends(e,t),e.prototype._next=function(t){try{this._tapNext.call(this._context,t)}catch(t){return void this.destination.error(t)}this.destination.next(t)},e.prototype._error=function(t){try{this._tapError.call(this._context,t)}catch(t){return void this.destination.error(t)}this.destination.error(t)},e.prototype._complete=function(){try{this._tapComplete.call(this._context)}catch(t){return void this.destination.error(t)}return this.destination.complete()},e}(o.a)},xTla:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var r="function"==typeof Symbol&&Symbol.observable||"@@observable"},y3By:function(t,e,n){"use strict";n.d(e,"a",function(){return o}),n.d(e,"b",function(){return i});var r=n("+umK");function o(){for(var t=[],e=0;e0&&n[0].time-r.now()<=0;)n.shift().notification.observe(o);if(n.length>0){var i=Math.max(0,n[0].time-r.now());this.schedule(t,i)}else this.unsubscribe(),e.active=!1},e.prototype._schedule=function(t){this.active=!0,this.add(t.schedule(e.dispatch,this.delay,{source:this,destination:this.destination,scheduler:t}))},e.prototype.scheduleNotification=function(t){if(!0!==this.errored){var e=this.scheduler,n=new I(e.now()+this.delay,t);this.queue.push(n),!1===this.active&&this._schedule(e)}},e.prototype._next=function(t){this.scheduleNotification(k.a.createNext(t))},e.prototype._error=function(t){this.errored=!0,this.queue=[],this.destination.error(t)},e.prototype._complete=function(){this.scheduleNotification(k.a.createComplete())},e}(x.a),I=function(t,e){this.time=t,this.notification=e},R=n("9Z1F"),P=n("AytR"),D=n("Gyf/"),A=n("CcnG"),N=n("t/Na"),M=n("ZYCi");n.d(e,"b",function(){return F}),n.d(e,"a",function(){return V});var V,F=function(){function t(t,e,n){var p,h,m,v=this;this.http=t,this.ws=e,this.route=n,this.queue=new r.a,this.flushBufferTrigger=new r.a,this.queue.pipe((p=Object(o.a)((h=5e3,void 0===h&&(h=0),void 0===m&&(m=a.a),(!Object(s.a)(h)||h<0)&&(h=0),m&&"function"==typeof m.schedule||(m=a.a),new i.a(function(t){return t.add(m.schedule(u,h,{subscriber:t,counter:0,period:h})),t})),this.flushBufferTrigger),function(t){return t.lift(new g(p))}),Object(y.a)(function(t){return t&&t.length>0}),Object(b.a)(function(t){var e,n={client_version:P.a.version,send_timestamp_milli_sec:(new Date).getTime(),events:t};return n.license_key=v.route.snapshot.queryParams.token||v.ws.token,v.http.post(P.a.api+"/events",n).pipe(Object(_.a)(function(t){return t.data}),(e=function(t){return t.pipe(Object(E.a)(function(t){console.log("push bulk events fail",t)}),Object(b.a)(function(t,e){return n=function(){return e>0||t.status<500||t.status>599},r=Object(d.a)(t),o=Object(f.a)(t).pipe(function(t,e){void 0===e&&(e=a.a);var n=2e3 instanceof Date&&!isNaN(2e3)?2e3-e.now():Math.abs(2e3);return function(t){return t.lift(new T(n,e))}}()),void 0===r&&(r=c.a),void 0===o&&(o=c.a),s=function(){return n()?r:o},new i.a(function(t){var e;try{e=s()}catch(e){return void t.error(e)}return(e?Object(l.a)(e):Object(c.b)()).subscribe(t)});var n,r,o,s}))},function(t){return t.lift(new O(e,t))}),Object(R.a)(function(t){return Object(f.a)(!1)}))})).subscribe(function(t){},function(t){console.log("errors",t)})}return t.prototype.registerEvent=function(t,e,n){void 0===e&&(e=null),void 0===n&&(n=!1),(this.analyticsConsensus||n)&&this.queue.next({timestamp:(new Date).getTime(),event:t,data:e})},t.prototype.flushBuffer=function(){this.flushBufferTrigger.next()},t.ngInjectableDef=A.defineInjectable({factory:function(){return new t(A.inject(N.c),A.inject(D.c),A.inject(M.a))},token:t,providedIn:"root"}),t}();!function(t){t.analyticsConsentReaction="analytics-consent-reaction",t.appNavigated="app-navigated",t.appButtonClicked="app-button-clicked",t.surveyReaction="survey-reaction"}(V||(V={}))},z8n1:function(t,e,n){"use strict";n.d(e,"a",function(){return m});var r=n("26FU"),o=n("F/XL"),i=n("PQUJ"),a=n("VnD/"),s=n("15JJ"),u=n("9Z1F"),l=n("67Y/"),c=n("xMyE"),d=n("AytR"),f=n("Gyf/"),p=n("CcnG"),h=n("t/Na"),m=function(){function t(t,e){var n=this;this.http=t,this.ws=e,this.settings=new r.a(g),this.ws.token$.pipe(Object(a.a)(function(t){return!!t}),Object(s.a)(function(t){return n.loadSettings(t).pipe(Object(u.a)(function(t){return Object(o.a)(null)}))})).subscribe(function(t){return console.log("settings",t)},function(t){return console.error("stopped",t)})}return t.prototype.saveSettings=function(t,e){var n=this;return this.http.post(d.a.api+"/teacher/settings?token="+e+"&client_version="+d.a.version,t).pipe(Object(l.a)(function(t){return t}),Object(c.a)(function(e){return n.settings.next(t)}))},t.prototype.loadSettings=function(t){var e=this;return this.http.get(d.a.api+"/teacher/settings?token="+t+"&client_version="+d.a.version).pipe(Object(l.a)(function(t){return t}),Object(c.a)(function(t){t&&t.data&&e.settings.next(t.data)}))},t.ngInjectableDef=p.defineInjectable({factory:function(){return new t(p.inject(h.c),p.inject(f.c))},token:t,providedIn:"root"}),t}(),g={enable_desktop_notifications:!0,default_block_mode:i.c.default}},zUnb:function(t,e,n){"use strict";n.r(e);var r=n("CcnG"),o=n("AytR"),i=function(){function t(t,e,n){void 0===e&&(e="/assets/i18n/"),void 0===n&&(n=".json"),this.http=t,this.prefix=e,this.suffix=n}return t.prototype.getTranslation=function(t){return this.http.get(""+this.prefix+t+this.suffix)},t}();function a(t){return new i(t,"./assets/i18n/",".json")}var s=function(){},u=n("26FU"),l=n("z84U"),c=function(){function t(t){this.activeModal=t}return t.prototype.ngOnInit=function(){this.showTime=(new Date).getTime()},t.prototype.decline=function(){var t={outcome:"decline",showTime:this.showTime,closeTime:(new Date).getTime()};this.activeModal.close(t)},t.prototype.accept=function(){var t={outcome:"accept",showTime:this.showTime,closeTime:(new Date).getTime()};this.activeModal.close(t)},t.prototype.dismiss=function(){this.activeModal.dismiss({outcome:"dismiss",showTime:this.showTime,closeTime:(new Date).getTime()})},t}(),d=n("4GxJ"),f=function(){function t(t,e){var n=this;this.modal=t,this.analyticsEventsService=e,this.$accepted=new u.a(null);var r=localStorage.getItem(o.a.localStorageKeys.analyticsConsensus);this.$accepted.next("1"===r||"0"!==r&&null),this.$accepted.subscribe(function(t){n.analyticsEventsService.analyticsConsensus=t})}return t.prototype.contentLoaded=function(){var t=this;if(!0!==this.$accepted.getValue()){var e=this.generateAction();setTimeout(function(){t.showPopup(e)},e.waitTime)}},t.prototype.showPopup=function(t){var e=this,n=this.modal.open(c,{size:t.dialogSize,centered:!0,backdrop:"static",keyboard:!1});n.componentInstance.action=t,n.result.then(function(n){e.processReaction(t,n)}).catch(function(n){e.processReaction(t,n)})},t.prototype.generateAction=function(){return{title:Math.random()<.5?"Persoonlijke analytics":"Help Schoolyear te verbeteren!",message:"type-1",declineText:Math.random()<.5?"Niet nu":"Misschien later",okeText:"Ok\xe9",showDismiss:!1,waitTime:4500*Math.random()+500,dialogSize:null}},t.prototype.processReaction=function(t,e){e&&(this.analyticsEventsService.registerEvent(l.a.analyticsConsentReaction,{action:t,reaction:e},!0),this.setConsensus("accept"===e.outcome))},t.prototype.setConsensus=function(t){if(null===t)return localStorage.removeItem(o.a.localStorageKeys.analyticsConsensus),void this.$accepted.next(null);localStorage.setItem(o.a.localStorageKeys.analyticsConsensus,t?"1":"0"),this.$accepted.next(t)},t.ngInjectableDef=r.defineInjectable({factory:function(){return new t(r.inject(d.w),r.inject(l.b))},token:t,providedIn:"root"}),t}(),p=function(){function t(t,e){this.analyticsConsentService=e,t.addLangs(["nl"]),t.setDefaultLang("nl"),t.getBrowserLang()}return t.prototype.ngAfterContentInit=function(){this.analyticsConsentService.contentLoaded()},t}(),h=n("pMnS"),m=n("9AJC"),g=n("SZbH"),v=n("Ip0R"),y=r["\u0275crt"]({encapsulation:2,styles:[],data:{animation:[{type:7,name:"flyInOut",definitions:[{type:0,name:"inactive",styles:{type:6,styles:{opacity:0},offset:null},options:void 0},{type:0,name:"active",styles:{type:6,styles:{opacity:1},offset:null},options:void 0},{type:0,name:"removed",styles:{type:6,styles:{opacity:0},offset:null},options:void 0},{type:1,expr:"inactive => active",animation:{type:4,styles:null,timings:"{{ easeTime }}ms {{ easing }}"},options:null},{type:1,expr:"active => removed",animation:{type:4,styles:null,timings:"{{ easeTime }}ms {{ easing }}"},options:null}],options:{}}]}});function b(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,2,"button",[["aria-label","Close"],["class","toast-close-button"]],null,[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.remove()&&r),r},null,null)),(t()(),r["\u0275eld"](1,0,null,null,1,"span",[["aria-hidden","true"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\xd7"]))],null,null)}function _(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,1,null,null,null,null,null,null,null)),(t()(),r["\u0275ted"](1,null,["[","]"]))],null,function(t,e){t(e,1,0,e.component.duplicatesCount+1)})}function w(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,3,"div",[],[[8,"className",0],[1,"aria-label",0]],null,null,null,null)),(t()(),r["\u0275ted"](1,null,[" "," "])),(t()(),r["\u0275and"](16777216,null,null,1,null,_)),r["\u0275did"](3,16384,null,0,v.o,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(t,e){t(e,3,0,e.component.duplicatesCount)},function(t,e){var n=e.component;t(e,0,0,n.options.titleClass,n.title),t(e,1,0,n.title)})}function C(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,0,"div",[["aria-live","polite"],["role","alertdialog"]],[[8,"className",0],[8,"innerHTML",1]],null,null,null,null))],null,function(t,e){var n=e.component;t(e,0,0,n.options.messageClass,n.message)})}function O(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,1,"div",[["aria-live","polite"],["role","alertdialog"]],[[8,"className",0],[1,"aria-label",0]],null,null,null,null)),(t()(),r["\u0275ted"](1,null,[" "," "]))],null,function(t,e){var n=e.component;t(e,0,0,n.options.messageClass,n.message),t(e,1,0,n.message)})}function S(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),r["\u0275eld"](1,0,null,null,0,"div",[["class","toast-progress"]],[[4,"width",null]],null,null,null,null))],null,function(t,e){t(e,1,0,e.component.width+"%")})}function E(t){return r["\u0275vid"](0,[(t()(),r["\u0275and"](16777216,null,null,1,null,b)),r["\u0275did"](1,16384,null,0,v.o,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),r["\u0275and"](16777216,null,null,1,null,w)),r["\u0275did"](3,16384,null,0,v.o,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),r["\u0275and"](16777216,null,null,1,null,C)),r["\u0275did"](5,16384,null,0,v.o,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),r["\u0275and"](16777216,null,null,1,null,O)),r["\u0275did"](7,16384,null,0,v.o,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),r["\u0275and"](16777216,null,null,1,null,S)),r["\u0275did"](9,16384,null,0,v.o,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(t,e){var n=e.component;t(e,1,0,n.options.closeButton),t(e,3,0,n.title),t(e,5,0,n.message&&n.options.enableHtml),t(e,7,0,n.message&&!n.options.enableHtml),t(e,9,0,n.options.progressBar)},null)}var x=r["\u0275ccf"]("[toast-component]",g.c,function(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,1,"div",[["toast-component",""]],[[8,"className",0],[40,"@flyInOut",0],[4,"display",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],function(t,e,n){var o=!0;return"click"===e&&(o=!1!==r["\u0275nov"](t,1).tapToast()&&o),"mouseenter"===e&&(o=!1!==r["\u0275nov"](t,1).stickAround()&&o),"mouseleave"===e&&(o=!1!==r["\u0275nov"](t,1).delayedHideToast()&&o),o},E,y)),r["\u0275did"](1,180224,null,0,g.c,[g.j,g.g,r.NgZone],null,null)],null,function(t,e){t(e,0,0,r["\u0275nov"](e,1).toastClasses,r["\u0275nov"](e,1).state,r["\u0275nov"](e,1).displayStyle)})},{},{},[]),k=n("FAwM"),T=n("K9Ia"),j=n("Gi3i"),I=function(){function t(t){this.platformId=t,this.progress$=(new T.a).pipe(Object(j.a)(0)),this._pendingRequests=0,this._value=0}return t.prototype.start=function(t){void 0===t&&(t=2),++this._pendingRequests,0!==this._value&&1!==this._pendingRequests||this.set(1===this._pendingRequests&&this._value>0?this._value:t)},t.prototype.stop=function(){for(this.complete();this._pendingRequests>0;)this.complete()},t.prototype.complete=function(){var t=this;0===this._pendingRequests&&0===this._value||(this._pendingRequests>0&&--this._pendingRequests,(0===this._pendingRequests||0===this._pendingRequests&&this._value>0)&&(100!==this._value&&this.set(100),setTimeout(function(){return t.set(0)},500)))},t.prototype.set=function(t){var e=this;Object(v.B)(this.platformId)?(0===t&&this._pendingRequests>0&&(t=2),this._value=t,this.progress$.next(t),0!==this._pendingRequests&&(clearTimeout(this._incTimeout),this._value>0&&this._value<100&&(this._incTimeout=setTimeout(function(){return e.increment()},250)))):this._pendingRequests=0},t.prototype.increment=function(t){void 0===t&&(t=0),t>0&&this.set(this._value+t);var e=this._value;t=e>=0&&e<25?3*Math.random()+3:e>=25&&e<65?3*Math.random():e>=65&&e<90?2*Math.random():e>=90&&e<99?.5:0,this.set(this._value+t)},t.prototype.ngOnDestroy=function(){this.progress$.complete()},t}(),R=function(t){this.loader=t,this.includeSpinner=!0,this.includeBar=!0,this.fixed=!0,this.value=null},P=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[I]}},t}(),D=r["\u0275crt"]({encapsulation:0,styles:["[_nghost-%COMP%]{position:relative;display:block}.loading-bar-fixed[_nghost-%COMP%] > div[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]{position:fixed}.loading-bar-fixed[_nghost-%COMP%] > div#loading-bar-spinner[_ngcontent-%COMP%]{position:fixed;top:10px;left:10px}.loading-bar-fixed[_nghost-%COMP%] > div[_ngcontent-%COMP%] .peg[_ngcontent-%COMP%]{display:block}[_nghost-%COMP%] > div[_ngcontent-%COMP%]{pointer-events:none;-webkit-transition:350ms linear all;transition:350ms linear all;color:#29d}[_nghost-%COMP%] > div[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]{-webkit-transition:width 350ms;transition:width 350ms;background:#29d;position:absolute;z-index:10002;top:0;left:0;width:100%;height:2px;border-bottom-right-radius:1px;border-top-right-radius:1px}[_nghost-%COMP%] > div[_ngcontent-%COMP%] .peg[_ngcontent-%COMP%]{display:none;position:absolute;width:70px;right:0;top:0;height:2px;opacity:.45;-webkit-box-shadow:1px 0 6px 1px;box-shadow:1px 0 6px 1px;color:inherit;border-radius:100%}[_nghost-%COMP%] > div#loading-bar-spinner[_ngcontent-%COMP%]{display:block;position:absolute;z-index:10002;top:5px;left:0}[_nghost-%COMP%] > div#loading-bar-spinner[_ngcontent-%COMP%] .spinner-icon[_ngcontent-%COMP%]{width:14px;height:14px;border:2px solid transparent;border-top-color:inherit;border-left-color:inherit;border-radius:50%;-webkit-animation:.4s linear infinite loading-bar-spinner;animation:.4s linear infinite loading-bar-spinner}@-webkit-keyframes loading-bar-spinner{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes loading-bar-spinner{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}"],data:{}});function A(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,1,"div",[["id","loading-bar-spinner"]],[[4,"color",null]],null,null,null,null)),(t()(),r["\u0275eld"](1,0,null,null,0,"div",[["class","spinner-icon"]],[[4,"width",null],[4,"height",null]],null,null,null,null))],null,function(t,e){var n=e.component;t(e,0,0,n.color),t(e,1,0,n.diameter,n.diameter)})}function N(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,2,"div",[["id","loading-bar"]],[[4,"color",null]],null,null,null,null)),(t()(),r["\u0275eld"](1,0,null,null,1,"div",[["class","bar"]],[[4,"background",null],[4,"height",null],[4,"width",null]],null,null,null,null)),(t()(),r["\u0275eld"](2,0,null,null,0,"div",[["class","peg"]],[[4,"height",null]],null,null,null,null))],null,function(t,e){var n=e.component;t(e,0,0,n.color),t(e,1,0,n.color,n.height,e.parent.context.ngIf+"%"),t(e,2,0,n.height)})}function M(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,4,null,null,null,null,null,null,null)),(t()(),r["\u0275and"](16777216,null,null,1,null,A)),r["\u0275did"](2,16384,null,0,v.o,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),r["\u0275and"](16777216,null,null,1,null,N)),r["\u0275did"](4,16384,null,0,v.o,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),r["\u0275and"](0,null,null,0))],function(t,e){var n=e.component;t(e,2,0,n.includeSpinner),t(e,4,0,n.includeBar)},null)}function V(t){return r["\u0275vid"](0,[(t()(),r["\u0275and"](16777216,null,null,2,null,M)),r["\u0275did"](1,16384,null,0,v.o,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),r["\u0275pid"](131072,v.b,[r.ChangeDetectorRef])],function(t,e){var n=e.component;t(e,1,0,null!==n.value?n.value:r["\u0275unv"](e,1,0,r["\u0275nov"](e,2).transform(n.loader.progress$)))},null)}var F=n("ihYY");function L(t){return null!=t&&""+t!="false"}function B(t,e){return void 0===e&&(e=0),function(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}(t)?Number(t):e}var U=27,H=n("bne5"),z=n("p0ib"),G=n("VnD/"),q=n("67Y/"),$=n("t9fZ"),W=n("ny24"),Z=n("p0Sj"),K=n("mrSG");function Q(t){throw Error("A drawer was already declared for 'position=\""+t+"\"'")}var Y,J=new r.InjectionToken("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function(){return!1}}),X=function(){function t(t,e){this._changeDetectorRef=t,this._container=e}return t.prototype.ngAfterContentInit=function(){var t=this;this._container._contentMarginChanges.subscribe(function(){t._changeDetectorRef.markForCheck()})},t}(),tt=function(){function t(t,e,n,o,i,a){var s=this;this._elementRef=t,this._focusTrapFactory=e,this._focusMonitor=n,this._platform=o,this._ngZone=i,this._doc=a,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._autoFocus=!0,this._animationStarted=new r.EventEmitter,this._animationState="void",this.openedChange=new r.EventEmitter(!0),this.onPositionChanged=new r.EventEmitter,this._modeChanged=new T.a,this._opened=!1,this.openedChange.subscribe(function(t){t?(s._doc&&(s._elementFocusedBeforeDrawerWasOpened=s._doc.activeElement),s._isFocusTrapEnabled&&s._focusTrap&&s._trapFocus()):s._restoreFocus()}),this._ngZone.runOutsideAngular(function(){Object(H.a)(s._elementRef.nativeElement,"keydown").pipe(Object(G.a)(function(t){return t.keyCode===U&&!s.disableClose})).subscribe(function(t){return s._ngZone.run(function(){s.close(),t.stopPropagation()})})})}return Object.defineProperty(t.prototype,"position",{get:function(){return this._position},set:function(t){(t="end"===t?"end":"start")!=this._position&&(this._position=t,this.onPositionChanged.emit())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"mode",{get:function(){return this._mode},set:function(t){this._mode=t,this._modeChanged.next()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disableClose",{get:function(){return this._disableClose},set:function(t){this._disableClose=L(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"autoFocus",{get:function(){return this._autoFocus},set:function(t){this._autoFocus=L(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_openedStream",{get:function(){return this.openedChange.pipe(Object(G.a)(function(t){return t}),Object(q.a)(function(){}))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"openedStart",{get:function(){return this._animationStarted.pipe(Object(G.a)(function(t){return t.fromState!==t.toState&&0===t.toState.indexOf("open")}),Object(q.a)(function(){}))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_closedStream",{get:function(){return this.openedChange.pipe(Object(G.a)(function(t){return!t}),Object(q.a)(function(){}))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"closedStart",{get:function(){return this._animationStarted.pipe(Object(G.a)(function(t){return t.fromState!==t.toState&&"void"===t.toState}),Object(q.a)(function(){}))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_isFocusTrapEnabled",{get:function(){return this.opened&&"side"!==this.mode},enumerable:!0,configurable:!0}),t.prototype._trapFocus=function(){var t=this;this.autoFocus&&this._focusTrap.focusInitialElementWhenReady().then(function(e){e||"function"!=typeof t._elementRef.nativeElement.focus||t._elementRef.nativeElement.focus()})},t.prototype._restoreFocus=function(){if(this.autoFocus){var t=this._doc&&this._doc.activeElement;t&&this._elementRef.nativeElement.contains(t)&&(this._elementFocusedBeforeDrawerWasOpened instanceof HTMLElement?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,this._openedVia):this._elementRef.nativeElement.blur()),this._elementFocusedBeforeDrawerWasOpened=null,this._openedVia=null}},t.prototype.ngAfterContentInit=function(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._focusTrap.enabled=this._isFocusTrapEnabled},t.prototype.ngAfterContentChecked=function(){this._platform.isBrowser&&(this._enableAnimations=!0)},t.prototype.ngOnDestroy=function(){this._focusTrap&&this._focusTrap.destroy()},Object.defineProperty(t.prototype,"opened",{get:function(){return this._opened},set:function(t){this.toggle(L(t))},enumerable:!0,configurable:!0}),t.prototype.open=function(t){return this.toggle(!0,t)},t.prototype.close=function(){return this.toggle(!1)},t.prototype.toggle=function(t,e){var n=this;return void 0===t&&(t=!this.opened),void 0===e&&(e="program"),this._opened=t,t?(this._animationState=this._enableAnimations?"open":"open-instant",this._openedVia=e):(this._animationState="void",this._restoreFocus()),this._focusTrap&&(this._focusTrap.enabled=this._isFocusTrapEnabled),new Promise(function(t){n.openedChange.pipe(Object($.a)(1)).subscribe(function(e){return t(e?"open":"close")})})},t.prototype._onAnimationStart=function(t){this._animationStarted.emit(t)},t.prototype._onAnimationEnd=function(t){var e=t.fromState,n=t.toState;(0===n.indexOf("open")&&"void"===e||"void"===n&&0===e.indexOf("open"))&&this.openedChange.emit(this._opened)},Object.defineProperty(t.prototype,"_width",{get:function(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0},enumerable:!0,configurable:!0}),t}(),et=function(){function t(t,e,n,o,i,a){void 0===i&&(i=!1);var s=this;this._dir=t,this._element=e,this._ngZone=n,this._changeDetectorRef=o,this._animationMode=a,this.backdropClick=new r.EventEmitter,this._destroyed=new T.a,this._doCheckSubject=new T.a,this._contentMargins={left:null,right:null},this._contentMarginChanges=new T.a,t&&t.change.pipe(Object(W.a)(this._destroyed)).subscribe(function(){s._validateDrawers(),s._updateContentMargins()}),this._autosize=i}return Object.defineProperty(t.prototype,"start",{get:function(){return this._start},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"end",{get:function(){return this._end},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"autosize",{get:function(){return this._autosize},set:function(t){this._autosize=L(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"hasBackdrop",{get:function(){return null==this._backdropOverride?!this._start||"side"!==this._start.mode||!this._end||"side"!==this._end.mode:this._backdropOverride},set:function(t){this._backdropOverride=null==t?null:L(t)},enumerable:!0,configurable:!0}),t.prototype.ngAfterContentInit=function(){var t=this;this._drawers.changes.pipe(Object(Z.a)(null)).subscribe(function(){t._validateDrawers(),t._drawers.forEach(function(e){t._watchDrawerToggle(e),t._watchDrawerPosition(e),t._watchDrawerMode(e)}),(!t._drawers.length||t._isDrawerOpen(t._start)||t._isDrawerOpen(t._end))&&t._updateContentMargins(),t._changeDetectorRef.markForCheck()}),this._doCheckSubject.pipe(Object(j.a)(10),Object(W.a)(this._destroyed)).subscribe(function(){return t._updateContentMargins()})},t.prototype.ngOnDestroy=function(){this._doCheckSubject.complete(),this._destroyed.next(),this._destroyed.complete()},t.prototype.open=function(){this._drawers.forEach(function(t){return t.open()})},t.prototype.close=function(){this._drawers.forEach(function(t){return t.close()})},t.prototype.ngDoCheck=function(){var t=this;this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(function(){return t._doCheckSubject.next()})},t.prototype._watchDrawerToggle=function(t){var e=this;t._animationStarted.pipe(Object(W.a)(this._drawers.changes),Object(G.a)(function(t){return t.fromState!==t.toState})).subscribe(function(t){"open-instant"!==t.toState&&"NoopAnimations"!==e._animationMode&&e._element.nativeElement.classList.add("mat-drawer-transition"),e._updateContentMargins(),e._changeDetectorRef.markForCheck()}),"side"!==t.mode&&t.openedChange.pipe(Object(W.a)(this._drawers.changes)).subscribe(function(){return e._setContainerClass(t.opened)})},t.prototype._watchDrawerPosition=function(t){var e=this;t&&t.onPositionChanged.pipe(Object(W.a)(this._drawers.changes)).subscribe(function(){e._ngZone.onMicrotaskEmpty.asObservable().pipe(Object($.a)(1)).subscribe(function(){e._validateDrawers()})})},t.prototype._watchDrawerMode=function(t){var e=this;t&&t._modeChanged.pipe(Object(W.a)(Object(z.a)(this._drawers.changes,this._destroyed))).subscribe(function(){e._updateContentMargins(),e._changeDetectorRef.markForCheck()})},t.prototype._setContainerClass=function(t){t?this._element.nativeElement.classList.add("mat-drawer-opened"):this._element.nativeElement.classList.remove("mat-drawer-opened")},t.prototype._validateDrawers=function(){var t=this;this._start=this._end=null,this._drawers.forEach(function(e){"end"==e.position?(null!=t._end&&Q("end"),t._end=e):(null!=t._start&&Q("start"),t._start=e)}),this._right=this._left=null,this._dir&&"rtl"===this._dir.value?(this._left=this._end,this._right=this._start):(this._left=this._start,this._right=this._end)},t.prototype._isPushed=function(){return this._isDrawerOpen(this._start)&&"over"!=this._start.mode||this._isDrawerOpen(this._end)&&"over"!=this._end.mode},t.prototype._onBackdropClicked=function(){this.backdropClick.emit(),this._closeModalDrawer()},t.prototype._closeModalDrawer=function(){var t=this;[this._start,this._end].filter(function(e){return e&&!e.disableClose&&t._canHaveBackdrop(e)}).forEach(function(t){return t.close()})},t.prototype._isShowingBackdrop=function(){return this._isDrawerOpen(this._start)&&this._canHaveBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._canHaveBackdrop(this._end)},t.prototype._canHaveBackdrop=function(t){return"side"!==t.mode||!!this._backdropOverride},t.prototype._isDrawerOpen=function(t){return null!=t&&t.opened},t.prototype._updateContentMargins=function(){var t=this,e=0,n=0;if(this._left&&this._left.opened&&("side"==this._left.mode?e+=this._left._width:"push"==this._left.mode&&(e+=r=this._left._width,n-=r)),this._right&&this._right.opened)if("side"==this._right.mode)n+=this._right._width;else if("push"==this._right.mode){var r;n+=r=this._right._width,e-=r}e=e||null,n=n||null,e===this._contentMargins.left&&n===this._contentMargins.right||(this._contentMargins={left:e,right:n},this._ngZone.run(function(){return t._contentMarginChanges.next(t._contentMargins)}))},t}(),nt=function(t){function e(e,n){return t.call(this,e,n)||this}return Object(K.__extends)(e,t),e}(X),rt=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._fixedInViewport=!1,e._fixedTopGap=0,e._fixedBottomGap=0,e}return Object(K.__extends)(e,t),Object.defineProperty(e.prototype,"fixedInViewport",{get:function(){return this._fixedInViewport},set:function(t){this._fixedInViewport=L(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"fixedTopGap",{get:function(){return this._fixedTopGap},set:function(t){this._fixedTopGap=B(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"fixedBottomGap",{get:function(){return this._fixedBottomGap},set:function(t){this._fixedBottomGap=B(t)},enumerable:!0,configurable:!0}),e}(tt),ot=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(K.__extends)(e,t),e}(et),it=function(){},at=new r.InjectionToken("cdk-dir-doc",{providedIn:"root",factory:function(){return Object(r.inject)(v.d)}}),st=function(){function t(t){if(this.value="ltr",this.change=new r.EventEmitter,t){var e=(t.body?t.body.dir:null)||(t.documentElement?t.documentElement.dir:null);this.value="ltr"===e||"rtl"===e?e:"ltr"}}return t.prototype.ngOnDestroy=function(){this.change.complete()},t.ngInjectableDef=Object(r.defineInjectable)({factory:function(){return new t(Object(r.inject)(at,8))},token:t,providedIn:"root"}),t}(),ut=function(){},lt=n("6blF"),ct="undefined"!=typeof Intl&&Intl.v8BreakIterator,dt=function(){function t(t){this._platformId=t,this.isBrowser=this._platformId?Object(v.B)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!ct)&&"undefined"!=typeof CSS&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream,this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}return t.ngInjectableDef=Object(r.defineInjectable)({factory:function(){return new t(Object(r.inject)(r.PLATFORM_ID,8))},token:t,providedIn:"root"}),t}();function ft(){if(null==Y&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){return Y=!0}}))}finally{Y=Y||!1}return Y}var pt=function(){},ht=n("ZYjt"),mt=(n("pugT"),n("F/XL"));n("xMyE");var gt=function(){function t(t){this._platform=t}return t.prototype.isDisabled=function(t){return t.hasAttribute("disabled")},t.prototype.isVisible=function(t){return function(t){return!!(t.offsetWidth||t.offsetHeight||"function"==typeof t.getClientRects&&t.getClientRects().length)}(t)&&"visible"===getComputedStyle(t).visibility},t.prototype.isTabbable=function(t){if(!this._platform.isBrowser)return!1;var e=function(t){try{return t.frameElement}catch(t){return null}}(t.ownerDocument.defaultView||window);if(e){var n=e&&e.nodeName.toLowerCase();if(-1===yt(e))return!1;if((this._platform.BLINK||this._platform.WEBKIT)&&"object"===n)return!1;if((this._platform.BLINK||this._platform.WEBKIT)&&!this.isVisible(e))return!1}var r=t.nodeName.toLowerCase(),o=yt(t);if(t.hasAttribute("contenteditable"))return-1!==o;if("iframe"===r)return!1;if("audio"===r){if(!t.hasAttribute("controls"))return!1;if(this._platform.BLINK)return!0}if("video"===r){if(!t.hasAttribute("controls")&&this._platform.TRIDENT)return!1;if(this._platform.BLINK||this._platform.FIREFOX)return!0}return("object"!==r||!this._platform.BLINK&&!this._platform.WEBKIT)&&!(this._platform.WEBKIT&&this._platform.IOS&&!function(t){var e=t.nodeName.toLowerCase(),n="input"===e&&t.type;return"text"===n||"password"===n||"select"===e||"textarea"===e}(t))&&t.tabIndex>=0},t.prototype.isFocusable=function(t){return function(t){return!function(t){return function(t){return"input"==t.nodeName.toLowerCase()}(t)&&"hidden"==t.type}(t)&&(function(t){var e=t.nodeName.toLowerCase();return"input"===e||"select"===e||"button"===e||"textarea"===e}(t)||function(t){return function(t){return"a"==t.nodeName.toLowerCase()}(t)&&t.hasAttribute("href")}(t)||t.hasAttribute("contenteditable")||vt(t))}(t)&&!this.isDisabled(t)&&this.isVisible(t)},t.ngInjectableDef=Object(r.defineInjectable)({factory:function(){return new t(Object(r.inject)(dt))},token:t,providedIn:"root"}),t}();function vt(t){if(!t.hasAttribute("tabindex")||void 0===t.tabIndex)return!1;var e=t.getAttribute("tabindex");return"-32768"!=e&&!(!e||isNaN(parseInt(e,10)))}function yt(t){if(!vt(t))return null;var e=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(e)?-1:e}var bt=function(){function t(t,e,n,r,o){void 0===o&&(o=!1),this._element=t,this._checker=e,this._ngZone=n,this._document=r,this._hasAttached=!1,this._enabled=!0,o||this.attachAnchors()}return Object.defineProperty(t.prototype,"enabled",{get:function(){return this._enabled},set:function(t){this._enabled=t,this._startAnchor&&this._endAnchor&&(this._startAnchor.tabIndex=this._endAnchor.tabIndex=this._enabled?0:-1)},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){this._startAnchor&&this._startAnchor.parentNode&&this._startAnchor.parentNode.removeChild(this._startAnchor),this._endAnchor&&this._endAnchor.parentNode&&this._endAnchor.parentNode.removeChild(this._endAnchor),this._startAnchor=this._endAnchor=null},t.prototype.attachAnchors=function(){var t=this;return!!this._hasAttached||(this._ngZone.runOutsideAngular(function(){t._startAnchor||(t._startAnchor=t._createAnchor(),t._startAnchor.addEventListener("focus",function(){return t.focusLastTabbableElement()})),t._endAnchor||(t._endAnchor=t._createAnchor(),t._endAnchor.addEventListener("focus",function(){return t.focusFirstTabbableElement()}))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)},t.prototype.focusInitialElementWhenReady=function(){var t=this;return new Promise(function(e){t._executeOnStable(function(){return e(t.focusInitialElement())})})},t.prototype.focusFirstTabbableElementWhenReady=function(){var t=this;return new Promise(function(e){t._executeOnStable(function(){return e(t.focusFirstTabbableElement())})})},t.prototype.focusLastTabbableElementWhenReady=function(){var t=this;return new Promise(function(e){t._executeOnStable(function(){return e(t.focusLastTabbableElement())})})},t.prototype._getRegionBoundary=function(t){for(var e=this._element.querySelectorAll("[cdk-focus-region-"+t+"], [cdkFocusRegion"+t+"], [cdk-focus-"+t+"]"),n=0;n=0;n--){var r=e[n].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[n]):null;if(r)return r}return null},t.prototype._createAnchor=function(){var t=this._document.createElement("div");return t.tabIndex=this._enabled?0:-1,t.classList.add("cdk-visually-hidden"),t.classList.add("cdk-focus-trap-anchor"),t},t.prototype._executeOnStable=function(t){this._ngZone.isStable?t():this._ngZone.onStable.asObservable().pipe(Object($.a)(1)).subscribe(t)},t}(),_t=function(){function t(t,e,n){this._checker=t,this._ngZone=e,this._document=n}return t.prototype.create=function(t,e){return void 0===e&&(e=!1),new bt(t,this._checker,this._ngZone,this._document,e)},t.ngInjectableDef=Object(r.defineInjectable)({factory:function(){return new t(Object(r.inject)(gt),Object(r.inject)(r.NgZone),Object(r.inject)(v.d))},token:t,providedIn:"root"}),t}(),wt=function(){function t(t,e){this._ngZone=t,this._platform=e,this._origin=null,this._windowFocused=!1,this._elementInfo=new Map,this._unregisterGlobalListeners=function(){},this._monitoredElementCount=0}return t.prototype.monitor=function(t,e){var n=this;if(void 0===e&&(e=!1),!this._platform.isBrowser)return Object(mt.a)(null);if(this._elementInfo.has(t)){var r=this._elementInfo.get(t);return r.checkChildren=e,r.subject.asObservable()}var o={unlisten:function(){},checkChildren:e,subject:new T.a};this._elementInfo.set(t,o),this._incrementMonitoredElementCount();var i=function(e){return n._onFocus(e,t)},a=function(e){return n._onBlur(e,t)};return this._ngZone.runOutsideAngular(function(){t.addEventListener("focus",i,!0),t.addEventListener("blur",a,!0)}),o.unlisten=function(){t.removeEventListener("focus",i,!0),t.removeEventListener("blur",a,!0)},o.subject.asObservable()},t.prototype.stopMonitoring=function(t){var e=this._elementInfo.get(t);e&&(e.unlisten(),e.subject.complete(),this._setClasses(t),this._elementInfo.delete(t),this._decrementMonitoredElementCount())},t.prototype.focusVia=function(t,e,n){this._setOriginForCurrentEventQueue(e),"function"==typeof t.focus&&t.focus(n)},t.prototype.ngOnDestroy=function(){var t=this;this._elementInfo.forEach(function(e,n){return t.stopMonitoring(n)})},t.prototype._registerGlobalListeners=function(){var t=this;if(this._platform.isBrowser){var e=function(){t._lastTouchTarget=null,t._setOriginForCurrentEventQueue("keyboard")},n=function(){t._lastTouchTarget||t._setOriginForCurrentEventQueue("mouse")},r=function(e){null!=t._touchTimeoutId&&clearTimeout(t._touchTimeoutId),t._lastTouchTarget=e.target,t._touchTimeoutId=setTimeout(function(){return t._lastTouchTarget=null},650)},o=function(){t._windowFocused=!0,t._windowFocusTimeoutId=setTimeout(function(){return t._windowFocused=!1})};this._ngZone.runOutsideAngular(function(){document.addEventListener("keydown",e,!0),document.addEventListener("mousedown",n,!0),document.addEventListener("touchstart",r,!ft()||{passive:!0,capture:!0}),window.addEventListener("focus",o)}),this._unregisterGlobalListeners=function(){document.removeEventListener("keydown",e,!0),document.removeEventListener("mousedown",n,!0),document.removeEventListener("touchstart",r,!ft()||{passive:!0,capture:!0}),window.removeEventListener("focus",o),clearTimeout(t._windowFocusTimeoutId),clearTimeout(t._touchTimeoutId),clearTimeout(t._originTimeoutId)}}},t.prototype._toggleClass=function(t,e,n){n?t.classList.add(e):t.classList.remove(e)},t.prototype._setClasses=function(t,e){this._elementInfo.get(t)&&(this._toggleClass(t,"cdk-focused",!!e),this._toggleClass(t,"cdk-touch-focused","touch"===e),this._toggleClass(t,"cdk-keyboard-focused","keyboard"===e),this._toggleClass(t,"cdk-mouse-focused","mouse"===e),this._toggleClass(t,"cdk-program-focused","program"===e))},t.prototype._setOriginForCurrentEventQueue=function(t){var e=this;this._ngZone.runOutsideAngular(function(){e._origin=t,e._originTimeoutId=setTimeout(function(){return e._origin=null},1)})},t.prototype._wasCausedByTouch=function(t){var e=t.target;return this._lastTouchTarget instanceof Node&&e instanceof Node&&(e===this._lastTouchTarget||e.contains(this._lastTouchTarget))},t.prototype._onFocus=function(t,e){var n=this._elementInfo.get(e);if(n&&(n.checkChildren||e===t.target)){var r=this._origin;r||(r=this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:this._wasCausedByTouch(t)?"touch":"program"),this._setClasses(e,r),this._emitOrigin(n.subject,r),this._lastFocusOrigin=r}},t.prototype._onBlur=function(t,e){var n=this._elementInfo.get(e);!n||n.checkChildren&&t.relatedTarget instanceof Node&&e.contains(t.relatedTarget)||(this._setClasses(e),this._emitOrigin(n.subject,null))},t.prototype._emitOrigin=function(t,e){this._ngZone.run(function(){return t.next(e)})},t.prototype._incrementMonitoredElementCount=function(){1==++this._monitoredElementCount&&this._registerGlobalListeners()},t.prototype._decrementMonitoredElementCount=function(){--this._monitoredElementCount||(this._unregisterGlobalListeners(),this._unregisterGlobalListeners=function(){})},t.ngInjectableDef=Object(r.defineInjectable)({factory:function(){return new t(Object(r.inject)(r.NgZone),Object(r.inject)(dt))},token:t,providedIn:"root"}),t}(),Ct=new r.InjectionToken("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}}),Ot=function(){function t(t){this._sanityChecksEnabled=t,this._hasDoneGlobalChecks=!1,this._hasCheckedHammer=!1,this._document="object"==typeof document&&document?document:null,this._window="object"==typeof window&&window?window:null,this._areChecksEnabled()&&!this._hasDoneGlobalChecks&&(this._checkDoctypeIsDefined(),this._checkThemeIsPresent(),this._hasDoneGlobalChecks=!0)}return t.prototype._areChecksEnabled=function(){return this._sanityChecksEnabled&&Object(r.isDevMode)()&&!this._isTestEnv()},t.prototype._isTestEnv=function(){return this._window&&(this._window.__karma__||this._window.jasmine)},t.prototype._checkDoctypeIsDefined=function(){this._document&&!this._document.doctype&&console.warn("Current document does not have a doctype. This may cause some Angular Material components not to behave as expected.")},t.prototype._checkThemeIsPresent=function(){if(this._document&&this._document.body&&"function"==typeof getComputedStyle){var t=this._document.createElement("div");t.classList.add("mat-theme-loaded-marker"),this._document.body.appendChild(t);var e=getComputedStyle(t);e&&"none"!==e.display&&console.warn("Could not find Angular Material core theme. Most Material components may not work as expected. For more info refer to the theming guide: https://material.angular.io/guide/theming"),this._document.body.removeChild(t)}},t.prototype._checkHammerIsAvailable=function(){!this._hasCheckedHammer&&this._window&&(this._areChecksEnabled()&&!this._window.Hammer&&console.warn("Could not find HammerJS. Certain Angular Material components may not work correctly."),this._hasCheckedHammer=!0)},t}(),St=n("T1DM"),Et=n("Ehmk"),xt=n("eihs"),kt=n("MGBS"),Tt=n("zotm"),jt=function(){function t(t){this.durationSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new It(t,this.durationSelector))},t}(),It=function(t){function e(e,n){var r=t.call(this,e)||this;return r.durationSelector=n,r.hasValue=!1,r}return K.__extends(e,t),e.prototype._next=function(t){if(this.value=t,this.hasValue=!0,!this.throttled){var e=Object(Et.a)(this.durationSelector)(t);if(e===xt.a)this.destination.error(xt.a.e);else{var n=Object(Tt.a)(this,e);!n||n.closed?this.clearThrottle():this.add(this.throttled=n)}}},e.prototype.clearThrottle=function(){var t=this.value,e=this.hasValue,n=this.throttled;n&&(this.remove(n),this.throttled=null,n.unsubscribe()),e&&(this.value=null,this.hasValue=!1,this.destination.next(t))},e.prototype.notifyNext=function(t,e,n,r){this.clearThrottle()},e.prototype.notifyComplete=function(){this.clearThrottle()},e}(kt.a),Rt=n("gI3B"),Pt=function(){function t(t,e){this._ngZone=t,this._platform=e,this._scrolled=new T.a,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map}return t.prototype.register=function(t){var e=this,n=t.elementScrolled().subscribe(function(){return e._scrolled.next(t)});this.scrollContainers.set(t,n)},t.prototype.deregister=function(t){var e=this.scrollContainers.get(t);e&&(e.unsubscribe(),this.scrollContainers.delete(t))},t.prototype.scrolled=function(t){var e=this;return void 0===t&&(t=20),this._platform.isBrowser?lt.a.create(function(n){e._globalSubscription||e._addGlobalListener();var r,o,i,a=t>0?e._scrolled.pipe((r=t,void 0===o&&(o=St.a),i=function(){return Object(Rt.a)(r,o)},function(t){return t.lift(new jt(i))})).subscribe(n):e._scrolled.subscribe(n);return e._scrolledCount++,function(){a.unsubscribe(),e._scrolledCount--,e._scrolledCount||e._removeGlobalListener()}}):Object(mt.a)()},t.prototype.ngOnDestroy=function(){var t=this;this._removeGlobalListener(),this.scrollContainers.forEach(function(e,n){return t.deregister(n)}),this._scrolled.complete()},t.prototype.ancestorScrolled=function(t,e){var n=this.getAncestorScrollContainers(t);return this.scrolled(e).pipe(Object(G.a)(function(t){return!t||n.indexOf(t)>-1}))},t.prototype.getAncestorScrollContainers=function(t){var e=this,n=[];return this.scrollContainers.forEach(function(r,o){e._scrollableContainsElement(o,t)&&n.push(o)}),n},t.prototype._scrollableContainsElement=function(t,e){var n=e.nativeElement,r=t.getElementRef().nativeElement;do{if(n==r)return!0}while(n=n.parentElement);return!1},t.prototype._addGlobalListener=function(){var t=this;this._globalSubscription=this._ngZone.runOutsideAngular(function(){return Object(H.a)(window.document,"scroll").subscribe(function(){return t._scrolled.next()})})},t.prototype._removeGlobalListener=function(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)},t.ngInjectableDef=Object(r.defineInjectable)({factory:function(){return new t(Object(r.inject)(r.NgZone),Object(r.inject)(dt))},token:t,providedIn:"root"}),t}(),Dt=function(){function t(t,e,n){var r=this;this._elementRef=t,this._scroll=e,this._ngZone=n,this._elementScrolled=new T.a,this._scrollListener=function(t){return r._elementScrolled.next(t)}}return t.prototype.ngOnInit=function(){var t=this;this._ngZone.runOutsideAngular(function(){t.getElementRef().nativeElement.addEventListener("scroll",t._scrollListener)}),this._scroll.register(this)},t.prototype.ngOnDestroy=function(){this._scroll.deregister(this),this._scrollListener&&this.getElementRef().nativeElement.removeEventListener("scroll",this._scrollListener),this._elementScrolled.complete()},t.prototype.elementScrolled=function(){return this._elementScrolled.asObservable()},t.prototype.getElementRef=function(){return this._elementRef},t}(),At=function(){};function Nt(){return"undefined"!=typeof process}function Mt(t){switch(t.length){case 0:return new F.d;case 1:return t[0];default:return new F.k(t)}}function Vt(t,e,n,r,o,i){void 0===o&&(o={}),void 0===i&&(i={});var a=[],s=[],u=-1,l=null;if(r.forEach(function(t){var n=t.offset,r=n==u,c=r&&l||{};Object.keys(t).forEach(function(n){var r=n,s=t[n];if("offset"!==n)switch(r=e.normalizePropertyName(r,a),s){case F.l:s=o[n];break;case F.a:s=i[n];break;default:s=e.normalizeStyleValue(n,r,s,a)}c[r]=s}),r||s.push(c),l=c,u=n}),a.length)throw new Error("Unable to animate due to the following errors:\n - "+a.join("\n - "));return s}function Ft(t,e,n,r){switch(e){case"start":t.onStart(function(){return r(n&&Lt(n,"start",t))});break;case"done":t.onDone(function(){return r(n&&Lt(n,"done",t))});break;case"destroy":t.onDestroy(function(){return r(n&&Lt(n,"destroy",t))})}}function Lt(t,e,n){var r=n.totalTime,o=Bt(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,void 0==r?t.totalTime:r,!!n.disabled),i=t._data;return null!=i&&(o._data=i),o}function Bt(t,e,n,r,o,i,a){return void 0===o&&(o=""),void 0===i&&(i=0),{element:t,triggerName:e,fromState:n,toState:r,phaseName:o,totalTime:i,disabled:!!a}}function Ut(t,e,n){var r;return t instanceof Map?(r=t.get(e))||t.set(e,r=n):(r=t[e])||(r=t[e]=n),r}function Ht(t){var e=t.indexOf(":");return[t.substring(1,e),t.substr(e+1)]}var zt=function(t,e){return!1},Gt=function(t,e){return!1},qt=function(t,e,n){return[]},$t=Nt();if($t||"undefined"!=typeof Element){if(zt=function(t,e){return t.contains(e)},$t||Element.prototype.matches)Gt=function(t,e){return t.matches(e)};else{var Wt=Element.prototype,Zt=Wt.matchesSelector||Wt.mozMatchesSelector||Wt.msMatchesSelector||Wt.oMatchesSelector||Wt.webkitMatchesSelector;Zt&&(Gt=function(t,e){return Zt.apply(t,[e])})}qt=function(t,e,n){var r=[];if(n)r.push.apply(r,Object(K.__spread)(t.querySelectorAll(e)));else{var o=t.querySelector(e);o&&r.push(o)}return r}}var Kt=null,Qt=!1;function Yt(t){Kt||(Kt=("undefined"!=typeof document?document.body:null)||{},Qt=!!Kt.style&&"WebkitAppearance"in Kt.style);var e=!0;return Kt.style&&!function(t){return"ebkit"==t.substring(1,6)}(t)&&!(e=t in Kt.style)&&Qt&&(e="Webkit"+t.charAt(0).toUpperCase()+t.substr(1)in Kt.style),e}var Jt=Gt,Xt=zt,te=qt;function ee(t){var e={};return Object.keys(t).forEach(function(n){var r=n.replace(/([a-z])([A-Z])/g,"$1-$2");e[r]=t[n]}),e}var ne=function(){function t(){}return t.prototype.validateStyleProperty=function(t){return Yt(t)},t.prototype.matchesElement=function(t,e){return Jt(t,e)},t.prototype.containsElement=function(t,e){return Xt(t,e)},t.prototype.query=function(t,e,n){return te(t,e,n)},t.prototype.computeStyle=function(t,e,n){return n||""},t.prototype.animate=function(t,e,n,r,o,i,a){return void 0===i&&(i=[]),new F.d(n,r)},t}(),re=function(){function t(){}return t.NOOP=new ne,t}(),oe=1e3;function ie(t){if("number"==typeof t)return t;var e=t.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:ae(parseFloat(e[1]),e[2])}function ae(t,e){switch(e){case"s":return t*oe;default:return t}}function se(t,e,n){return t.hasOwnProperty("duration")?t:function(t,e,n){var r,o=0,i="";if("string"==typeof t){var a=t.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===a)return e.push('The provided timing value "'+t+'" is invalid.'),{duration:0,delay:0,easing:""};r=ae(parseFloat(a[1]),a[2]);var s=a[3];null!=s&&(o=ae(Math.floor(parseFloat(s)),a[4]));var u=a[5];u&&(i=u)}else r=t;if(!n){var l=!1,c=e.length;r<0&&(e.push("Duration values below 0 are not allowed for this animation step."),l=!0),o<0&&(e.push("Delay values below 0 are not allowed for this animation step."),l=!0),l&&e.splice(c,0,'The provided timing value "'+t+'" is invalid.')}return{duration:r,delay:o,easing:i}}(t,e,n)}function ue(t,e){return void 0===e&&(e={}),Object.keys(t).forEach(function(n){e[n]=t[n]}),e}function le(t,e,n){if(void 0===n&&(n={}),e)for(var r in t)n[r]=t[r];else ue(t,n);return n}function ce(t,e,n){return n?e+":"+n+";":""}function de(t){for(var e="",n=0;n *";case":leave":return"* => void";case":increment":return function(t,e){return parseFloat(e)>parseFloat(t)};case":decrement":return function(t,e){return parseFloat(e) *"}}(t,n);if("function"==typeof r)return void e.push(r);t=r}var o=t.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==o||o.length<4)return n.push('The provided transition expression "'+t+'" is not supported'),e;var i=o[1],a=o[2],s=o[3];e.push(Te(i,s)),"<"!=a[0]||i==Ee&&s==Ee||e.push(Te(s,i))}(t,o,r)}):o.push(n),o),animation:i,queryCount:e.queryCount,depCount:e.depCount,options:Ae(t.options)}},t.prototype.visitSequence=function(t,e){var n=this;return{type:2,steps:t.steps.map(function(t){return Oe(n,t,e)}),options:Ae(t.options)}},t.prototype.visitGroup=function(t,e){var n=this,r=e.currentTime,o=0,i=t.steps.map(function(t){e.currentTime=r;var i=Oe(n,t,e);return o=Math.max(o,e.currentTime),i});return e.currentTime=o,{type:3,steps:i,options:Ae(t.options)}},t.prototype.visitAnimate=function(t,e){var n,r=function(t,e){var n=null;if(t.hasOwnProperty("duration"))n=t;else if("number"==typeof t)return Ne(se(t,e).duration,0,"");var r=t;if(r.split(/\s+/).some(function(t){return"{"==t.charAt(0)&&"{"==t.charAt(1)})){var o=Ne(0,0,"");return o.dynamic=!0,o.strValue=r,o}return Ne((n=n||se(r,e)).duration,n.delay,n.easing)}(t.timings,e.errors);e.currentAnimateTimings=r;var o=t.styles?t.styles:Object(F.h)({});if(5==o.type)n=this.visitKeyframes(o,e);else{var i=t.styles,a=!1;if(!i){a=!0;var s={};r.easing&&(s.easing=r.easing),i=Object(F.h)(s)}e.currentTime+=r.duration+r.delay;var u=this.visitStyle(i,e);u.isEmptyStep=a,n=u}return e.currentAnimateTimings=null,{type:4,timings:r,style:n,options:null}},t.prototype.visitStyle=function(t,e){var n=this._makeStyleAst(t,e);return this._validateStyleAst(n,e),n},t.prototype._makeStyleAst=function(t,e){var n=[];Array.isArray(t.styles)?t.styles.forEach(function(t){"string"==typeof t?t==F.a?n.push(t):e.errors.push("The provided style string value "+t+" is not allowed."):n.push(t)}):n.push(t.styles);var r=!1,o=null;return n.forEach(function(t){if(De(t)){var e=t,n=e.easing;if(n&&(o=n,delete e.easing),!r)for(var i in e)if(e[i].toString().indexOf("{{")>=0){r=!0;break}}}),{type:6,styles:n,easing:o,offset:t.offset,containsDynamicStyles:r,options:null}},t.prototype._validateStyleAst=function(t,e){var n=this,r=e.currentAnimateTimings,o=e.currentTime,i=e.currentTime;r&&i>0&&(i-=r.duration+r.delay),t.styles.forEach(function(t){"string"!=typeof t&&Object.keys(t).forEach(function(r){if(n._driver.validateStyleProperty(r)){var a,s,u,l=e.collectedStyles[e.currentQuerySelector],c=l[r],d=!0;c&&(i!=o&&i>=c.startTime&&o<=c.endTime&&(e.errors.push('The CSS property "'+r+'" that exists between the times of "'+c.startTime+'ms" and "'+c.endTime+'ms" is also being animated in a parallel animation between the times of "'+i+'ms" and "'+o+'ms"'),d=!1),i=c.startTime),d&&(l[r]={startTime:i,endTime:o}),e.options&&(a=e.errors,s=e.options.params||{},(u=ge(t[r])).length&&u.forEach(function(t){s.hasOwnProperty(t)||a.push("Unable to resolve the local animation param "+t+" in the given list of values")}))}else e.errors.push('The provided animation property "'+r+'" is not a supported CSS property for animations')})})},t.prototype.visitKeyframes=function(t,e){var n=this,r={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push("keyframes() must be placed inside of a call to animate()"),r;var o=0,i=[],a=!1,s=!1,u=0,l=t.steps.map(function(t){var r=n._makeStyleAst(t,e),l=null!=r.offset?r.offset:function(t){if("string"==typeof t)return null;var e=null;if(Array.isArray(t))t.forEach(function(t){if(De(t)&&t.hasOwnProperty("offset")){var n=t;e=parseFloat(n.offset),delete n.offset}});else if(De(t)&&t.hasOwnProperty("offset")){var n=t;e=parseFloat(n.offset),delete n.offset}return e}(r.styles),c=0;return null!=l&&(o++,c=r.offset=l),s=s||c<0||c>1,a=a||c0&&o0?o==f?1:d*o:i[o],s=a*m;e.currentTime=p+h.delay+s,h.duration=s,n._validateStyleAst(t,e),t.offset=a,r.styles.push(t)}),r},t.prototype.visitReference=function(t,e){return{type:8,animation:Oe(this,he(t.animation),e),options:Ae(t.options)}},t.prototype.visitAnimateChild=function(t,e){return e.depCount++,{type:9,options:Ae(t.options)}},t.prototype.visitAnimateRef=function(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:Ae(t.options)}},t.prototype.visitQuery=function(t,e){var n=e.currentQuerySelector,r=t.options||{};e.queryCount++,e.currentQuery=t;var o=Object(K.__read)(function(t){var e=!!t.split(/\s*,\s*/).find(function(t){return":self"==t});return e&&(t=t.replace(je,"")),[t=t.replace(/@\*/g,".ng-trigger").replace(/@\w+/g,function(t){return".ng-trigger-"+t.substr(1)}).replace(/:animating/g,".ng-animating"),e]}(t.selector),2),i=o[0],a=o[1];e.currentQuerySelector=n.length?n+" "+i:i,Ut(e.collectedStyles,e.currentQuerySelector,{});var s=Oe(this,he(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=n,{type:11,selector:i,limit:r.limit||0,optional:!!r.optional,includeSelf:a,animation:s,originalSelector:t.selector,options:Ae(t.options)}},t.prototype.visitStagger=function(t,e){e.currentQuery||e.errors.push("stagger() can only be used inside of query()");var n="full"===t.timings?{duration:0,delay:0,easing:"full"}:se(t.timings,e.errors,!0);return{type:12,animation:Oe(this,he(t.animation),e),timings:n,options:null}},t}(),Pe=function(t){this.errors=t,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null};function De(t){return!Array.isArray(t)&&"object"==typeof t}function Ae(t){var e;return t?(t=ue(t)).params&&(t.params=(e=t.params)?ue(e):null):t={},t}function Ne(t,e,n){return{duration:t,delay:e,easing:n}}function Me(t,e,n,r,o,i,a,s){return void 0===a&&(a=null),void 0===s&&(s=!1),{type:1,element:t,keyframes:e,preStyleProps:n,postStyleProps:r,duration:o,delay:i,totalTime:o+i,easing:a,subTimeline:s}}var Ve=function(){function t(){this._map=new Map}return t.prototype.consume=function(t){var e=this._map.get(t);return e?this._map.delete(t):e=[],e},t.prototype.append=function(t,e){var n=this._map.get(t);n||this._map.set(t,n=[]),n.push.apply(n,Object(K.__spread)(e))},t.prototype.has=function(t){return this._map.has(t)},t.prototype.clear=function(){this._map.clear()},t}(),Fe=new RegExp(":enter","g"),Le=new RegExp(":leave","g");function Be(t,e,n,r,o,i,a,s,u,l){return void 0===i&&(i={}),void 0===a&&(a={}),void 0===l&&(l=[]),(new Ue).buildKeyframes(t,e,n,r,o,i,a,s,u,l)}var Ue=function(){function t(){}return t.prototype.buildKeyframes=function(t,e,n,r,o,i,a,s,u,l){void 0===l&&(l=[]),u=u||new Ve;var c=new ze(t,e,u,r,o,l,[]);c.options=s,c.currentTimeline.setStyles([i],null,c.errors,s),Oe(this,n,c);var d=c.timelines.filter(function(t){return t.containsAnimation()});if(d.length&&Object.keys(a).length){var f=d[d.length-1];f.allowOnlyTimelineStyles()||f.setStyles([a],null,c.errors,s)}return d.length?d.map(function(t){return t.buildKeyframes()}):[Me(e,[],[],[],0,0,"",!1)]},t.prototype.visitTrigger=function(t,e){},t.prototype.visitState=function(t,e){},t.prototype.visitTransition=function(t,e){},t.prototype.visitAnimateChild=function(t,e){var n=e.subInstructions.consume(e.element);if(n){var r=e.createSubContext(t.options),o=e.currentTimeline.currentTime,i=this._visitSubInstructions(n,r,r.options);o!=i&&e.transformIntoNewTimeline(i)}e.previousNode=t},t.prototype.visitAnimateRef=function(t,e){var n=e.createSubContext(t.options);n.transformIntoNewTimeline(),this.visitReference(t.animation,n),e.transformIntoNewTimeline(n.currentTimeline.currentTime),e.previousNode=t},t.prototype._visitSubInstructions=function(t,e,n){var r=e.currentTimeline.currentTime,o=null!=n.duration?ie(n.duration):null,i=null!=n.delay?ie(n.delay):null;return 0!==o&&t.forEach(function(t){var n=e.appendInstructionToTimeline(t,o,i);r=Math.max(r,n.duration+n.delay)}),r},t.prototype.visitReference=function(t,e){e.updateOptions(t.options,!0),Oe(this,t.animation,e),e.previousNode=t},t.prototype.visitSequence=function(t,e){var n=this,r=e.subContextCount,o=e,i=t.options;if(i&&(i.params||i.delay)&&((o=e.createSubContext(i)).transformIntoNewTimeline(),null!=i.delay)){6==o.previousNode.type&&(o.currentTimeline.snapshotCurrentStyles(),o.previousNode=He);var a=ie(i.delay);o.delayNextStep(a)}t.steps.length&&(t.steps.forEach(function(t){return Oe(n,t,o)}),o.currentTimeline.applyStylesToKeyframe(),o.subContextCount>r&&o.transformIntoNewTimeline()),e.previousNode=t},t.prototype.visitGroup=function(t,e){var n=this,r=[],o=e.currentTimeline.currentTime,i=t.options&&t.options.delay?ie(t.options.delay):0;t.steps.forEach(function(a){var s=e.createSubContext(t.options);i&&s.delayNextStep(i),Oe(n,a,s),o=Math.max(o,s.currentTimeline.currentTime),r.push(s.currentTimeline)}),r.forEach(function(t){return e.currentTimeline.mergeTimelineCollectedStyles(t)}),e.transformIntoNewTimeline(o),e.previousNode=t},t.prototype._visitTiming=function(t,e){if(t.dynamic){var n=t.strValue;return se(e.params?ve(n,e.params,e.errors):n,e.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}},t.prototype.visitAnimate=function(t,e){var n=e.currentAnimateTimings=this._visitTiming(t.timings,e),r=e.currentTimeline;n.delay&&(e.incrementTime(n.delay),r.snapshotCurrentStyles());var o=t.style;5==o.type?this.visitKeyframes(o,e):(e.incrementTime(n.duration),this.visitStyle(o,e),r.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t},t.prototype.visitStyle=function(t,e){var n=e.currentTimeline,r=e.currentAnimateTimings;!r&&n.getCurrentStyleProperties().length&&n.forwardFrame();var o=r&&r.easing||t.easing;t.isEmptyStep?n.applyEmptyStep(o):n.setStyles(t.styles,o,e.errors,e.options),e.previousNode=t},t.prototype.visitKeyframes=function(t,e){var n=e.currentAnimateTimings,r=e.currentTimeline.duration,o=n.duration,i=e.createSubContext().currentTimeline;i.easing=n.easing,t.styles.forEach(function(t){i.forwardTime((t.offset||0)*o),i.setStyles(t.styles,t.easing,e.errors,e.options),i.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(i),e.transformIntoNewTimeline(r+o),e.previousNode=t},t.prototype.visitQuery=function(t,e){var n=this,r=e.currentTimeline.currentTime,o=t.options||{},i=o.delay?ie(o.delay):0;i&&(6===e.previousNode.type||0==r&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=He);var a=r,s=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!o.optional,e.errors);e.currentQueryTotal=s.length;var u=null;s.forEach(function(r,o){e.currentQueryIndex=o;var s=e.createSubContext(t.options,r);i&&s.delayNextStep(i),r===e.element&&(u=s.currentTimeline),Oe(n,t.animation,s),s.currentTimeline.applyStylesToKeyframe(),a=Math.max(a,s.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(a),u&&(e.currentTimeline.mergeTimelineCollectedStyles(u),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t},t.prototype.visitStagger=function(t,e){var n=e.parentContext,r=e.currentTimeline,o=t.timings,i=Math.abs(o.duration),a=i*(e.currentQueryTotal-1),s=i*e.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":s=a-s;break;case"full":s=n.currentStaggerTime}var u=e.currentTimeline;s&&u.delayNextStep(s);var l=u.currentTime;Oe(this,t.animation,e),e.previousNode=t,n.currentStaggerTime=r.currentTime-l+(r.startTime-n.currentTimeline.startTime)},t}(),He={},ze=function(){function t(t,e,n,r,o,i,a,s){this._driver=t,this.element=e,this.subInstructions=n,this._enterClassName=r,this._leaveClassName=o,this.errors=i,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=He,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=s||new Ge(this._driver,e,0),a.push(this.currentTimeline)}return Object.defineProperty(t.prototype,"params",{get:function(){return this.options.params},enumerable:!0,configurable:!0}),t.prototype.updateOptions=function(t,e){var n=this;if(t){var r=t,o=this.options;null!=r.duration&&(o.duration=ie(r.duration)),null!=r.delay&&(o.delay=ie(r.delay));var i=r.params;if(i){var a=o.params;a||(a=this.options.params={}),Object.keys(i).forEach(function(t){e&&a.hasOwnProperty(t)||(a[t]=ve(i[t],a,n.errors))})}}},t.prototype._copyOptions=function(){var t={};if(this.options){var e=this.options.params;if(e){var n=t.params={};Object.keys(e).forEach(function(t){n[t]=e[t]})}}return t},t.prototype.createSubContext=function(e,n,r){void 0===e&&(e=null);var o=n||this.element,i=new t(this._driver,o,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(o,r||0));return i.previousNode=this.previousNode,i.currentAnimateTimings=this.currentAnimateTimings,i.options=this._copyOptions(),i.updateOptions(e),i.currentQueryIndex=this.currentQueryIndex,i.currentQueryTotal=this.currentQueryTotal,i.parentContext=this,this.subContextCount++,i},t.prototype.transformIntoNewTimeline=function(t){return this.previousNode=He,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline},t.prototype.appendInstructionToTimeline=function(t,e,n){var r={duration:null!=e?e:t.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+t.delay,easing:""},o=new qe(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,r,t.stretchStartingKeyframe);return this.timelines.push(o),r},t.prototype.incrementTime=function(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)},t.prototype.delayNextStep=function(t){t>0&&this.currentTimeline.delayNextStep(t)},t.prototype.invokeQuery=function(t,e,n,r,o,i){var a=[];if(r&&a.push(this.element),t.length>0){t=(t=t.replace(Fe,"."+this._enterClassName)).replace(Le,"."+this._leaveClassName);var s=this._driver.query(this.element,t,1!=n);0!==n&&(s=n<0?s.slice(s.length+n,s.length):s.slice(0,n)),a.push.apply(a,Object(K.__spread)(s))}return o||0!=a.length||i.push('`query("'+e+'")` returned zero elements. (Use `query("'+e+'", { optional: true })` if you wish to allow this.)'),a},t}(),Ge=function(){function t(t,e,n,r){this._driver=t,this.element=e,this.startTime=n,this._elementTimelineStylesLookup=r,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}return t.prototype.containsAnimation=function(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}},t.prototype.getCurrentStyleProperties=function(){return Object.keys(this._currentKeyframe)},Object.defineProperty(t.prototype,"currentTime",{get:function(){return this.startTime+this.duration},enumerable:!0,configurable:!0}),t.prototype.delayNextStep=function(t){var e=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t},t.prototype.fork=function(e,n){return this.applyStylesToKeyframe(),new t(this._driver,e,n||this.currentTime,this._elementTimelineStylesLookup)},t.prototype._loadKeyframe=function(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))},t.prototype.forwardFrame=function(){this.duration+=1,this._loadKeyframe()},t.prototype.forwardTime=function(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()},t.prototype._updateStyle=function(t,e){this._localTimelineStyles[t]=e,this._globalTimelineStyles[t]=e,this._styleSummary[t]={time:this.currentTime,value:e}},t.prototype.allowOnlyTimelineStyles=function(){return this._currentEmptyStepKeyframe!==this._currentKeyframe},t.prototype.applyEmptyStep=function(t){var e=this;t&&(this._previousKeyframe.easing=t),Object.keys(this._globalTimelineStyles).forEach(function(t){e._backFill[t]=e._globalTimelineStyles[t]||F.a,e._currentKeyframe[t]=F.a}),this._currentEmptyStepKeyframe=this._currentKeyframe},t.prototype.setStyles=function(t,e,n,r){var o=this;e&&(this._previousKeyframe.easing=e);var i=r&&r.params||{},a=function(t,e){var n,r={};return t.forEach(function(t){"*"===t?(n=n||Object.keys(e)).forEach(function(t){r[t]=F.a}):le(t,!1,r)}),r}(t,this._globalTimelineStyles);Object.keys(a).forEach(function(t){var e=ve(a[t],i,n);o._pendingStyles[t]=e,o._localTimelineStyles.hasOwnProperty(t)||(o._backFill[t]=o._globalTimelineStyles.hasOwnProperty(t)?o._globalTimelineStyles[t]:F.a),o._updateStyle(t,e)})},t.prototype.applyStylesToKeyframe=function(){var t=this,e=this._pendingStyles,n=Object.keys(e);0!=n.length&&(this._pendingStyles={},n.forEach(function(n){t._currentKeyframe[n]=e[n]}),Object.keys(this._localTimelineStyles).forEach(function(e){t._currentKeyframe.hasOwnProperty(e)||(t._currentKeyframe[e]=t._localTimelineStyles[e])}))},t.prototype.snapshotCurrentStyles=function(){var t=this;Object.keys(this._localTimelineStyles).forEach(function(e){var n=t._localTimelineStyles[e];t._pendingStyles[e]=n,t._updateStyle(e,n)})},t.prototype.getFinalKeyframe=function(){return this._keyframes.get(this.duration)},Object.defineProperty(t.prototype,"properties",{get:function(){var t=[];for(var e in this._currentKeyframe)t.push(e);return t},enumerable:!0,configurable:!0}),t.prototype.mergeTimelineCollectedStyles=function(t){var e=this;Object.keys(t._styleSummary).forEach(function(n){var r=e._styleSummary[n],o=t._styleSummary[n];(!r||o.time>r.time)&&e._updateStyle(n,o.value)})},t.prototype.buildKeyframes=function(){var t=this;this.applyStylesToKeyframe();var e=new Set,n=new Set,r=1===this._keyframes.size&&0===this.duration,o=[];this._keyframes.forEach(function(i,a){var s=le(i,!0);Object.keys(s).forEach(function(t){var r=s[t];r==F.l?e.add(t):r==F.a&&n.add(t)}),r||(s.offset=a/t.duration),o.push(s)});var i=e.size?ye(e.values()):[],a=n.size?ye(n.values()):[];if(r){var s=o[0],u=ue(s);s.offset=0,u.offset=1,o=[s,u]}return Me(this.element,o,i,a,this.duration,this.startTime,this.easing,!1)},t}(),qe=function(t){function e(e,n,r,o,i,a,s){void 0===s&&(s=!1);var u=t.call(this,e,n,a.delay)||this;return u.element=n,u.keyframes=r,u.preStyleProps=o,u.postStyleProps=i,u._stretchStartingKeyframe=s,u.timings={duration:a.duration,delay:a.delay,easing:a.easing},u}return Object(K.__extends)(e,t),e.prototype.containsAnimation=function(){return this.keyframes.length>1},e.prototype.buildKeyframes=function(){var t=this.keyframes,e=this.timings,n=e.delay,r=e.duration,o=e.easing;if(this._stretchStartingKeyframe&&n){var i=[],a=r+n,s=n/a,u=le(t[0],!1);u.offset=0,i.push(u);var l=le(t[0],!1);l.offset=$e(s),i.push(l);for(var c=t.length-1,d=1;d<=c;d++){var f=le(t[d],!1);f.offset=$e((n+f.offset*r)/a),i.push(f)}r=a,n=0,o="",t=i}return Me(this.element,t,this.preStyleProps,this.postStyleProps,r,n,o,!0)},e}(Ge);function $e(t,e){void 0===e&&(e=3);var n=Math.pow(10,e-1);return Math.round(t*n)/n}var We=function(){},Ze=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(K.__extends)(e,t),e.prototype.normalizePropertyName=function(t,e){return _e(t)},e.prototype.normalizeStyleValue=function(t,e,n,r){var o="",i=n.toString().trim();if(Ke[e]&&0!==n&&"0"!==n)if("number"==typeof n)o="px";else{var a=n.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&0==a[1].length&&r.push("Please provide a CSS unit value for "+t+":"+n)}return i+o},e}(We),Ke=function(t){var e={};return"width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(",").forEach(function(t){return e[t]=!0}),e}();function Qe(t,e,n,r,o,i,a,s,u,l,c,d,f){return{type:0,element:t,triggerName:e,isRemovalTransition:o,fromState:n,fromStyles:i,toState:r,toStyles:a,timelines:s,queriedElements:u,preStyleProps:l,postStyleProps:c,totalTime:d,errors:f}}var Ye={},Je=function(){function t(t,e,n){this._triggerName=t,this.ast=e,this._stateStyles=n}return t.prototype.match=function(t,e,n,r){return function(t,e,n,r,o){return t.some(function(t){return t(e,n,r,o)})}(this.ast.matchers,t,e,n,r)},t.prototype.buildStyles=function(t,e,n){var r=this._stateStyles["*"],o=this._stateStyles[t],i=r?r.buildStyles(e,n):{};return o?o.buildStyles(e,n):i},t.prototype.build=function(t,e,n,r,o,i,a,s,u,l){var c=[],d=this.ast.options&&this.ast.options.params||Ye,f=this.buildStyles(n,a&&a.params||Ye,c),p=s&&s.params||Ye,h=this.buildStyles(r,p,c),m=new Set,g=new Map,v=new Map,y="void"===r,b={params:Object(K.__assign)({},d,p)},_=l?[]:Be(t,e,this.ast.animation,o,i,f,h,b,u,c),w=0;if(_.forEach(function(t){w=Math.max(t.duration+t.delay,w)}),c.length)return Qe(e,this._triggerName,n,r,y,f,h,[],[],g,v,w,c);_.forEach(function(t){var n=t.element,r=Ut(g,n,{});t.preStyleProps.forEach(function(t){return r[t]=!0});var o=Ut(v,n,{});t.postStyleProps.forEach(function(t){return o[t]=!0}),n!==e&&m.add(n)});var C=ye(m.values());return Qe(e,this._triggerName,n,r,y,f,h,_,C,g,v,w)},t}(),Xe=function(){function t(t,e){this.styles=t,this.defaultParams=e}return t.prototype.buildStyles=function(t,e){var n={},r=ue(this.defaultParams);return Object.keys(t).forEach(function(e){var n=t[e];null!=n&&(r[e]=n)}),this.styles.styles.forEach(function(t){if("string"!=typeof t){var o=t;Object.keys(o).forEach(function(t){var i=o[t];i.length>1&&(i=ve(i,r,e)),n[t]=i})}}),n},t}(),tn=function(){function t(t,e){var n=this;this.name=t,this.ast=e,this.transitionFactories=[],this.states={},e.states.forEach(function(t){n.states[t.name]=new Xe(t.style,t.options&&t.options.params||{})}),en(this.states,"true","1"),en(this.states,"false","0"),e.transitions.forEach(function(e){n.transitionFactories.push(new Je(t,e,n.states))}),this.fallbackTransition=new Je(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[function(t,e){return!0}],options:null,queryCount:0,depCount:0},this.states)}return Object.defineProperty(t.prototype,"containsQueries",{get:function(){return this.ast.queryCount>0},enumerable:!0,configurable:!0}),t.prototype.matchTransition=function(t,e,n,r){return this.transitionFactories.find(function(o){return o.match(t,e,n,r)})||null},t.prototype.matchStyles=function(t,e,n){return this.fallbackTransition.buildStyles(t,e,n)},t}();function en(t,e,n){t.hasOwnProperty(e)?t.hasOwnProperty(n)||(t[n]=t[e]):t.hasOwnProperty(n)&&(t[e]=t[n])}var nn=new Ve,rn=function(){function t(t,e,n){this.bodyNode=t,this._driver=e,this._normalizer=n,this._animations={},this._playersById={},this.players=[]}return t.prototype.register=function(t,e){var n=[],r=Ie(this._driver,e,n);if(n.length)throw new Error("Unable to build the animation due to the following errors: "+n.join("\n"));this._animations[t]=r},t.prototype._buildPlayer=function(t,e,n){var r=t.element,o=Vt(0,this._normalizer,0,t.keyframes,e,n);return this._driver.animate(r,o,t.duration,t.delay,t.easing,[],!0)},t.prototype.create=function(t,e,n){var r=this;void 0===n&&(n={});var o,i=[],a=this._animations[t],s=new Map;if(a?(o=Be(this._driver,e,a,"ng-enter","ng-leave",{},{},n,nn,i)).forEach(function(t){var e=Ut(s,t.element,{});t.postStyleProps.forEach(function(t){return e[t]=null})}):(i.push("The requested animation doesn't exist or has already been destroyed"),o=[]),i.length)throw new Error("Unable to create the animation due to the following errors: "+i.join("\n"));s.forEach(function(t,e){Object.keys(t).forEach(function(n){t[n]=r._driver.computeStyle(e,n,F.a)})});var u=Mt(o.map(function(t){var e=s.get(t.element);return r._buildPlayer(t,{},e)}));return this._playersById[t]=u,u.onDestroy(function(){return r.destroy(t)}),this.players.push(u),u},t.prototype.destroy=function(t){var e=this._getPlayer(t);e.destroy(),delete this._playersById[t];var n=this.players.indexOf(e);n>=0&&this.players.splice(n,1)},t.prototype._getPlayer=function(t){var e=this._playersById[t];if(!e)throw new Error("Unable to find the timeline player referenced by "+t);return e},t.prototype.listen=function(t,e,n,r){var o=Bt(e,"","","");return Ft(this._getPlayer(t),n,o,r),function(){}},t.prototype.command=function(t,e,n,r){if("register"!=n)if("create"!=n){var o=this._getPlayer(t);switch(n){case"play":o.play();break;case"pause":o.pause();break;case"reset":o.reset();break;case"restart":o.restart();break;case"finish":o.finish();break;case"init":o.init();break;case"setPosition":o.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(t)}}else this.create(t,e,r[0]||{});else this.register(t,r[0])},t}(),on=[],an={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},sn={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},un="__ng_removed",ln=function(){function t(t,e){void 0===e&&(e=""),this.namespaceId=e;var n=t&&t.hasOwnProperty("value");if(this.value=function(t){return null!=t?t:null}(n?t.value:t),n){var r=ue(t);delete r.value,this.options=r}else this.options={};this.options.params||(this.options.params={})}return Object.defineProperty(t.prototype,"params",{get:function(){return this.options.params},enumerable:!0,configurable:!0}),t.prototype.absorbOptions=function(t){var e=t.params;if(e){var n=this.options.params;Object.keys(e).forEach(function(t){null==n[t]&&(n[t]=e[t])})}},t}(),cn=new ln("void"),dn=function(){function t(t,e,n){this.id=t,this.hostElement=e,this._engine=n,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,bn(e,this._hostClassName)}return t.prototype.listen=function(t,e,n,r){var o,i=this;if(!this._triggers.hasOwnProperty(e))throw new Error('Unable to listen on the animation trigger event "'+n+'" because the animation trigger "'+e+"\" doesn't exist!");if(null==n||0==n.length)throw new Error('Unable to listen on the animation trigger "'+e+'" because the provided event is undefined!');if("start"!=(o=n)&&"done"!=o)throw new Error('The provided animation trigger event "'+n+'" for the animation trigger "'+e+'" is not supported!');var a=Ut(this._elementListeners,t,[]),s={name:e,phase:n,callback:r};a.push(s);var u=Ut(this._engine.statesByElement,t,{});return u.hasOwnProperty(e)||(bn(t,"ng-trigger"),bn(t,"ng-trigger-"+e),u[e]=cn),function(){i._engine.afterFlush(function(){var t=a.indexOf(s);t>=0&&a.splice(t,1),i._triggers[e]||delete u[e]})}},t.prototype.register=function(t,e){return!this._triggers[t]&&(this._triggers[t]=e,!0)},t.prototype._getTrigger=function(t){var e=this._triggers[t];if(!e)throw new Error('The provided animation trigger "'+t+'" has not been registered!');return e},t.prototype.trigger=function(t,e,n,r){var o=this;void 0===r&&(r=!0);var i=this._getTrigger(e),a=new pn(this.id,e,t),s=this._engine.statesByElement.get(t);s||(bn(t,"ng-trigger"),bn(t,"ng-trigger-"+e),this._engine.statesByElement.set(t,s={}));var u=s[e],l=new ln(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&u&&l.absorbOptions(u.options),s[e]=l,u||(u=cn),"void"===l.value||u.value!==l.value){var c=Ut(this._engine.playersByElement,t,[]);c.forEach(function(t){t.namespaceId==o.id&&t.triggerName==e&&t.queued&&t.destroy()});var d=i.matchTransition(u.value,l.value,t,l.params),f=!1;if(!d){if(!r)return;d=i.fallbackTransition,f=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:d,fromState:u,toState:l,player:a,isFallbackTransition:f}),f||(bn(t,"ng-animate-queued"),a.onStart(function(){_n(t,"ng-animate-queued")})),a.onDone(function(){var e=o.players.indexOf(a);e>=0&&o.players.splice(e,1);var n=o._engine.playersByElement.get(t);if(n){var r=n.indexOf(a);r>=0&&n.splice(r,1)}}),this.players.push(a),c.push(a),a}if(!function(t,e){var n=Object.keys(t),r=Object.keys(e);if(n.length!=r.length)return!1;for(var o=0;o=0){for(var r=!1,o=n;o>=0;o--)if(this.driver.containsElement(this._namespaceList[o].hostElement,e)){this._namespaceList.splice(o+1,0,t),r=!0;break}r||this._namespaceList.splice(0,0,t)}else this._namespaceList.push(t);return this.namespacesByHostElement.set(e,t),t},t.prototype.register=function(t,e){var n=this._namespaceLookup[t];return n||(n=this.createNamespace(t,e)),n},t.prototype.registerTrigger=function(t,e,n){var r=this._namespaceLookup[t];r&&r.register(e,n)&&this.totalAnimations++},t.prototype.destroy=function(t,e){var n=this;if(t){var r=this._fetchNamespace(t);this.afterFlush(function(){n.namespacesByHostElement.delete(r.hostElement),delete n._namespaceLookup[t];var e=n._namespaceList.indexOf(r);e>=0&&n._namespaceList.splice(e,1)}),this.afterFlushAnimationsDone(function(){return r.destroy(e)})}},t.prototype._fetchNamespace=function(t){return this._namespaceLookup[t]},t.prototype.fetchNamespacesByElement=function(t){var e=new Set,n=this.statesByElement.get(t);if(n)for(var r=Object.keys(n),o=0;o=0&&this.collectedLeaveElements.splice(i,1)}if(t){var a=this._fetchNamespace(t);a&&a.insertNode(e,n)}r&&this.collectEnterElement(e)}},t.prototype.collectEnterElement=function(t){this.collectedEnterElements.push(t)},t.prototype.markElementAsDisabled=function(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),bn(t,"ng-animate-disabled")):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),_n(t,"ng-animate-disabled"))},t.prototype.removeNode=function(t,e,n){if(hn(e)){var r=t?this._fetchNamespace(t):null;r?r.removeNode(e,n):this.markElementAsRemoved(t,e,!1,n)}else this._onRemovalComplete(e,n)},t.prototype.markElementAsRemoved=function(t,e,n,r){this.collectedLeaveElements.push(e),e[un]={namespaceId:t,setForRemoval:r,hasAnimation:n,removedBeforeQueried:!1}},t.prototype.listen=function(t,e,n,r,o){return hn(e)?this._fetchNamespace(t).listen(e,n,r,o):function(){}},t.prototype._buildInstruction=function(t,e,n,r,o){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,n,r,t.fromState.options,t.toState.options,e,o)},t.prototype.destroyInnerAnimations=function(t){var e=this,n=this.driver.query(t,".ng-trigger",!0);n.forEach(function(t){return e.destroyActiveAnimationsForElement(t)}),0!=this.playersByQueriedElement.size&&(n=this.driver.query(t,".ng-animating",!0)).forEach(function(t){return e.finishActiveQueriedAnimationOnElement(t)})},t.prototype.destroyActiveAnimationsForElement=function(t){var e=this.playersByElement.get(t);e&&e.forEach(function(t){t.queued?t.markedForDestroy=!0:t.destroy()})},t.prototype.finishActiveQueriedAnimationOnElement=function(t){var e=this.playersByQueriedElement.get(t);e&&e.forEach(function(t){return t.finish()})},t.prototype.whenRenderingDone=function(){var t=this;return new Promise(function(e){if(t.players.length)return Mt(t.players).onDone(function(){return e()});e()})},t.prototype.processLeaveNode=function(t){var e=this,n=t[un];if(n&&n.setForRemoval){if(t[un]=an,n.namespaceId){this.destroyInnerAnimations(t);var r=this._fetchNamespace(n.namespaceId);r&&r.clearElementCache(t)}this._onRemovalComplete(t,n.setForRemoval)}this.driver.matchesElement(t,".ng-animate-disabled")&&this.markElementAsDisabled(t,!1),this.driver.query(t,".ng-animate-disabled",!0).forEach(function(n){e.markElementAsDisabled(t,!1)})},t.prototype.flush=function(t){var e=this;void 0===t&&(t=-1);var n=[];if(this.newHostElements.size&&(this.newHostElements.forEach(function(t,n){return e._balanceNamespaceList(t,n)}),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(var r=0;r=0;S--)this._namespaceList[S].drainQueuedTransitions(e).forEach(function(t){var e=t.player,i=t.element;if(C.push(e),n.collectedEnterElements.length){var c=i[un];if(c&&c.setForMove)return void e.destroy()}var f=!d||!n.driver.containsElement(d,i),p=_.get(i),m=h.get(i),g=n._buildInstruction(t,r,m,p,f);if(g.errors&&g.errors.length)O.push(g);else{if(f)return e.onStart(function(){return pe(i,g.fromStyles)}),e.onDestroy(function(){return fe(i,g.toStyles)}),void o.push(e);if(t.isFallbackTransition)return e.onStart(function(){return pe(i,g.fromStyles)}),e.onDestroy(function(){return fe(i,g.toStyles)}),void o.push(e);g.timelines.forEach(function(t){return t.stretchStartingKeyframe=!0}),r.append(i,g.timelines),a.push({instruction:g,player:e,element:i}),g.queriedElements.forEach(function(t){return Ut(s,t,[]).push(e)}),g.preStyleProps.forEach(function(t,e){var n=Object.keys(t);if(n.length){var r=u.get(e);r||u.set(e,r=new Set),n.forEach(function(t){return r.add(t)})}}),g.postStyleProps.forEach(function(t,e){var n=Object.keys(t),r=l.get(e);r||l.set(e,r=new Set),n.forEach(function(t){return r.add(t)})})}});if(O.length){var E=[];O.forEach(function(t){E.push("@"+t.triggerName+" has failed due to:\n"),t.errors.forEach(function(t){return E.push("- "+t+"\n")})}),C.forEach(function(t){return t.destroy()}),this.reportError(E)}var x=new Map,k=new Map;a.forEach(function(t){var e=t.element;r.has(e)&&(k.set(e,e),n._beforeAnimationBuild(t.player.namespaceId,t.instruction,x))}),o.forEach(function(t){var e=t.element;n._getPreviousPlayers(e,!1,t.namespaceId,t.triggerName,null).forEach(function(t){Ut(x,e,[]).push(t),t.destroy()})});var T=g.filter(function(t){return Cn(t,u,l)}),j=new Map;gn(j,this.driver,y,l,F.a).forEach(function(t){Cn(t,u,l)&&T.push(t)});var I=new Map;p.forEach(function(t,e){gn(I,n.driver,new Set(t),u,F.l)}),T.forEach(function(t){var e=j.get(t),n=I.get(t);j.set(t,Object(K.__assign)({},e,n))});var R=[],P=[],D={};a.forEach(function(t){var e=t.element,a=t.player,s=t.instruction;if(r.has(e)){if(c.has(e))return a.onDestroy(function(){return fe(e,s.toStyles)}),a.disabled=!0,a.overrideTotalTime(s.totalTime),void o.push(a);var u=D;if(k.size>1){for(var l=e,d=[];l=l.parentNode;){var f=k.get(l);if(f){u=f;break}d.push(l)}d.forEach(function(t){return k.set(t,u)})}var p=n._buildAnimation(a.namespaceId,s,x,i,I,j);if(a.setRealPlayer(p),u===D)R.push(a);else{var h=n.playersByElement.get(u);h&&h.length&&(a.parentPlayer=Mt(h)),o.push(a)}}else pe(e,s.fromStyles),a.onDestroy(function(){return fe(e,s.toStyles)}),P.push(a),c.has(e)&&o.push(a)}),P.forEach(function(t){var e=i.get(t.element);if(e&&e.length){var n=Mt(e);t.setRealPlayer(n)}}),o.forEach(function(t){t.parentPlayer?t.syncPlayerEvents(t.parentPlayer):t.destroy()});for(var A=0;A0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,n):new F.d(t.duration,t.delay)},t}(),pn=function(){function t(t,e,n){this.namespaceId=t,this.triggerName=e,this.element=n,this._player=new F.d,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}return t.prototype.setRealPlayer=function(t){var e=this;this._containsRealPlayer||(this._player=t,Object.keys(this._queuedCallbacks).forEach(function(n){e._queuedCallbacks[n].forEach(function(e){return Ft(t,n,void 0,e)})}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(t.totalTime),this.queued=!1)},t.prototype.getRealPlayer=function(){return this._player},t.prototype.overrideTotalTime=function(t){this.totalTime=t},t.prototype.syncPlayerEvents=function(t){var e=this,n=this._player;n.triggerCallback&&t.onStart(function(){return n.triggerCallback("start")}),t.onDone(function(){return e.finish()}),t.onDestroy(function(){return e.destroy()})},t.prototype._queueEvent=function(t,e){Ut(this._queuedCallbacks,t,[]).push(e)},t.prototype.onDone=function(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)},t.prototype.onStart=function(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)},t.prototype.onDestroy=function(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)},t.prototype.init=function(){this._player.init()},t.prototype.hasStarted=function(){return!this.queued&&this._player.hasStarted()},t.prototype.play=function(){!this.queued&&this._player.play()},t.prototype.pause=function(){!this.queued&&this._player.pause()},t.prototype.restart=function(){!this.queued&&this._player.restart()},t.prototype.finish=function(){this._player.finish()},t.prototype.destroy=function(){this.destroyed=!0,this._player.destroy()},t.prototype.reset=function(){!this.queued&&this._player.reset()},t.prototype.setPosition=function(t){this.queued||this._player.setPosition(t)},t.prototype.getPosition=function(){return this.queued?0:this._player.getPosition()},t.prototype.triggerCallback=function(t){var e=this._player;e.triggerCallback&&e.triggerCallback(t)},t}();function hn(t){return t&&1===t.nodeType}function mn(t,e){var n=t.style.display;return t.style.display=null!=e?e:"none",n}function gn(t,e,n,r,o){var i=[];n.forEach(function(t){return i.push(mn(t))});var a=[];r.forEach(function(n,r){var i={};n.forEach(function(t){var n=i[t]=e.computeStyle(r,t,o);n&&0!=n.length||(r[un]=sn,a.push(r))}),t.set(r,i)});var s=0;return n.forEach(function(t){return mn(t,i[s++])}),a}function vn(t,e){var n=new Map;if(t.forEach(function(t){return n.set(t,[])}),0==e.length)return n;var r=new Set(e),o=new Map;return e.forEach(function(t){var e=function t(e){if(!e)return 1;var i=o.get(e);if(i)return i;var a=e.parentNode;return i=n.has(a)?a:r.has(a)?1:t(a),o.set(e,i),i}(t);1!==e&&n.get(e).push(t)}),n}var yn="$$classes";function bn(t,e){if(t.classList)t.classList.add(e);else{var n=t[yn];n||(n=t[yn]={}),n[e]=!0}}function _n(t,e){if(t.classList)t.classList.remove(e);else{var n=t[yn];n&&delete n[e]}}function wn(t,e,n){Mt(n).onDone(function(){return t.processLeaveNode(e)})}function Cn(t,e,n){var r=n.get(t);if(!r)return!1;var o=e.get(t);return o?r.forEach(function(t){return o.add(t)}):e.set(t,r),n.delete(t),!0}var On=function(){function t(t,e,n){var r=this;this.bodyNode=t,this._driver=e,this._triggerCache={},this.onRemovalComplete=function(t,e){},this._transitionEngine=new fn(t,e,n),this._timelineEngine=new rn(t,e,n),this._transitionEngine.onRemovalComplete=function(t,e){return r.onRemovalComplete(t,e)}}return t.prototype.registerTrigger=function(t,e,n,r,o){var i=t+"-"+r,a=this._triggerCache[i];if(!a){var s=[],u=Ie(this._driver,o,s);if(s.length)throw new Error('The animation trigger "'+r+'" has failed to build due to the following errors:\n - '+s.join("\n - "));a=function(t,e){return new tn(t,e)}(r,u),this._triggerCache[i]=a}this._transitionEngine.registerTrigger(e,r,a)},t.prototype.register=function(t,e){this._transitionEngine.register(t,e)},t.prototype.destroy=function(t,e){this._transitionEngine.destroy(t,e)},t.prototype.onInsert=function(t,e,n,r){this._transitionEngine.insertNode(t,e,n,r)},t.prototype.onRemove=function(t,e,n){this._transitionEngine.removeNode(t,e,n)},t.prototype.disableAnimations=function(t,e){this._transitionEngine.markElementAsDisabled(t,e)},t.prototype.process=function(t,e,n,r){if("@"==n.charAt(0)){var o=Object(K.__read)(Ht(n),2);this._timelineEngine.command(o[0],e,o[1],r)}else this._transitionEngine.trigger(t,e,n,r)},t.prototype.listen=function(t,e,n,r,o){if("@"==n.charAt(0)){var i=Object(K.__read)(Ht(n),2);return this._timelineEngine.listen(i[0],e,i[1],o)}return this._transitionEngine.listen(t,e,n,r,o)},t.prototype.flush=function(t){void 0===t&&(t=-1),this._transitionEngine.flush(t)},Object.defineProperty(t.prototype,"players",{get:function(){return this._transitionEngine.players.concat(this._timelineEngine.players)},enumerable:!0,configurable:!0}),t.prototype.whenRenderingDone=function(){return this._transitionEngine.whenRenderingDone()},t}(),Sn="animation",En="animationend",xn=function(){function t(t,e,n,r,o,i,a){var s=this;this._element=t,this._name=e,this._duration=n,this._delay=r,this._easing=o,this._fillMode=i,this._onDoneFn=a,this._finished=!1,this._destroyed=!1,this._startTime=0,this._position=0,this._eventFn=function(t){return s._handleCallback(t)}}return t.prototype.apply=function(){var t,e,n;e=this._duration+"ms "+this._easing+" "+this._delay+"ms 1 normal "+this._fillMode+" "+this._name,(n=Pn(t=this._element,"").trim()).length&&(function(t,e){for(var n=0;n=this._delay&&n>=this._duration&&this.finish()},t.prototype.finish=function(){this._finished||(this._finished=!0,this._onDoneFn(),In(this._element,this._eventFn,!0))},t.prototype.destroy=function(){var t,e,n,r;this._destroyed||(this._destroyed=!0,this.finish(),e=this._name,(r=jn(n=Pn(t=this._element,"").split(","),e))>=0&&(n.splice(r,1),Rn(t,"",n.join(","))))},t}();function kn(t,e,n){Rn(t,"PlayState",n,Tn(t,e))}function Tn(t,e){var n=Pn(t,"");return n.indexOf(",")>0?jn(n.split(","),e):jn([n],e)}function jn(t,e){for(var n=0;n=0)return n;return-1}function In(t,e,n){n?t.removeEventListener(En,e):t.addEventListener(En,e)}function Rn(t,e,n,r){var o=Sn+e;if(null!=r){var i=t.style[o];if(i.length){var a=i.split(",");a[r]=n,n=a.join(",")}}t.style[o]=n}function Pn(t,e){return t.style[Sn+e]}var Dn="linear",An=function(){function t(t,e,n,r,o,i,a){this.element=t,this.keyframes=e,this.animationName=n,this._duration=r,this._delay=o,this._finalStyles=a,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this.currentSnapshot={},this._state=0,this.easing=i||Dn,this.totalTime=r+o,this._buildStyler()}return t.prototype.onStart=function(t){this._onStartFns.push(t)},t.prototype.onDone=function(t){this._onDoneFns.push(t)},t.prototype.onDestroy=function(t){this._onDestroyFns.push(t)},t.prototype.destroy=function(){this.init(),this._state>=4||(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._onDestroyFns.forEach(function(t){return t()}),this._onDestroyFns=[])},t.prototype._flushDoneFns=function(){this._onDoneFns.forEach(function(t){return t()}),this._onDoneFns=[]},t.prototype._flushStartFns=function(){this._onStartFns.forEach(function(t){return t()}),this._onStartFns=[]},t.prototype.finish=function(){this.init(),this._state>=3||(this._state=3,this._styler.finish(),this._flushStartFns(),this._flushDoneFns())},t.prototype.setPosition=function(t){this._styler.setPosition(t)},t.prototype.getPosition=function(){return this._styler.getPosition()},t.prototype.hasStarted=function(){return this._state>=2},t.prototype.init=function(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())},t.prototype.play=function(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2),this._styler.resume()},t.prototype.pause=function(){this.init(),this._styler.pause()},t.prototype.restart=function(){this.reset(),this.play()},t.prototype.reset=function(){this._styler.destroy(),this._buildStyler(),this._styler.apply()},t.prototype._buildStyler=function(){var t=this;this._styler=new xn(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",function(){return t.finish()})},t.prototype.triggerCallback=function(t){var e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(function(t){return t()}),e.length=0},t.prototype.beforeDestroy=function(){var t=this;this.init();var e={};if(this.hasStarted()){var n=this._state>=3;Object.keys(this._finalStyles).forEach(function(r){"offset"!=r&&(e[r]=n?t._finalStyles[r]:Se(t.element,r))})}this.currentSnapshot=e},t}(),Nn=function(t){function e(e,n){var r=t.call(this)||this;return r.element=e,r._startingStyles={},r.__initialized=!1,r._styles=ee(n),r}return Object(K.__extends)(e,t),e.prototype.init=function(){var e=this;!this.__initialized&&this._startingStyles&&(this.__initialized=!0,Object.keys(this._styles).forEach(function(t){e._startingStyles[t]=e.element.style[t]}),t.prototype.init.call(this))},e.prototype.play=function(){var e=this;this._startingStyles&&(this.init(),Object.keys(this._styles).forEach(function(t){return e.element.style.setProperty(t,e._styles[t])}),t.prototype.play.call(this))},e.prototype.destroy=function(){var e=this;this._startingStyles&&(Object.keys(this._startingStyles).forEach(function(t){var n=e._startingStyles[t];n?e.element.style.setProperty(t,n):e.element.style.removeProperty(t)}),this._startingStyles=null,t.prototype.destroy.call(this))},e}(F.d),Mn=function(){function t(){this._count=0,this._head=document.querySelector("head"),this._warningIssued=!1}return t.prototype.validateStyleProperty=function(t){return Yt(t)},t.prototype.matchesElement=function(t,e){return Jt(t,e)},t.prototype.containsElement=function(t,e){return Xt(t,e)},t.prototype.query=function(t,e,n){return te(t,e,n)},t.prototype.computeStyle=function(t,e,n){return window.getComputedStyle(t)[e]},t.prototype.buildKeyframeElement=function(t,e,n){var r="@keyframes "+e+" {\n",o="";(n=n.map(function(t){return ee(t)})).forEach(function(t){o=" ";var e=parseFloat(t.offset);r+=""+o+100*e+"% {\n",o+=" ",Object.keys(t).forEach(function(e){var n=t[e];switch(e){case"offset":return;case"easing":return void(n&&(r+=o+"animation-timing-function: "+n+";\n"));default:return void(r+=""+o+e+": "+n+";\n")}}),r+=o+"}\n"}),r+="}\n";var i=document.createElement("style");return i.innerHTML=r,i},t.prototype.animate=function(t,e,n,r,o,i,a){void 0===i&&(i=[]),a&&this._notifyFaultyScrubber();var s=i.filter(function(t){return t instanceof An}),u={};we(n,r)&&s.forEach(function(t){var e=t.currentSnapshot;Object.keys(e).forEach(function(t){return u[t]=e[t]})});var l=function(t){var e={};return t&&(Array.isArray(t)?t:[t]).forEach(function(t){Object.keys(t).forEach(function(n){"offset"!=n&&"easing"!=n&&(e[n]=t[n])})}),e}(e=Ce(t,e,u));if(0==n)return new Nn(t,l);var c="gen_css_kf_"+this._count++,d=this.buildKeyframeElement(t,c,e);document.querySelector("head").appendChild(d);var f=new An(t,e,c,n,r,o,l);return f.onDestroy(function(){var t;(t=d).parentNode.removeChild(t)}),f},t.prototype._notifyFaultyScrubber=function(){this._warningIssued||(console.warn("@angular/animations: please load the web-animations.js polyfill to allow programmatic access...\n"," visit http://bit.ly/IWukam to learn more about using the web-animation-js polyfill."),this._warningIssued=!0)},t}(),Vn=function(){function t(t,e,n){this.element=t,this.keyframes=e,this.options=n,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay}return t.prototype._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(t){return t()}),this._onDoneFns=[])},t.prototype.init=function(){this._buildPlayer(),this._preparePlayerBeforeStart()},t.prototype._buildPlayer=function(){var t=this;if(!this._initialized){this._initialized=!0;var e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:{},this.domPlayer.addEventListener("finish",function(){return t._onFinish()})}},t.prototype._preparePlayerBeforeStart=function(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()},t.prototype._triggerWebAnimation=function(t,e,n){return t.animate(e,n)},t.prototype.onStart=function(t){this._onStartFns.push(t)},t.prototype.onDone=function(t){this._onDoneFns.push(t)},t.prototype.onDestroy=function(t){this._onDestroyFns.push(t)},t.prototype.play=function(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(function(t){return t()}),this._onStartFns=[],this._started=!0),this.domPlayer.play()},t.prototype.pause=function(){this.init(),this.domPlayer.pause()},t.prototype.finish=function(){this.init(),this._onFinish(),this.domPlayer.finish()},t.prototype.reset=function(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1},t.prototype._resetDomPlayerState=function(){this.domPlayer&&this.domPlayer.cancel()},t.prototype.restart=function(){this.reset(),this.play()},t.prototype.hasStarted=function(){return this._started},t.prototype.destroy=function(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._onDestroyFns.forEach(function(t){return t()}),this._onDestroyFns=[])},t.prototype.setPosition=function(t){this.domPlayer.currentTime=t*this.time},t.prototype.getPosition=function(){return this.domPlayer.currentTime/this.time},Object.defineProperty(t.prototype,"totalTime",{get:function(){return this._delay+this._duration},enumerable:!0,configurable:!0}),t.prototype.beforeDestroy=function(){var t=this,e={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(function(n){"offset"!=n&&(e[n]=t._finished?t._finalKeyframe[n]:Se(t.element,n))}),this.currentSnapshot=e},t.prototype.triggerCallback=function(t){var e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(function(t){return t()}),e.length=0},t}(),Fn=function(){function t(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(Ln().toString()),this._cssKeyframesDriver=new Mn}return t.prototype.validateStyleProperty=function(t){return Yt(t)},t.prototype.matchesElement=function(t,e){return Jt(t,e)},t.prototype.containsElement=function(t,e){return Xt(t,e)},t.prototype.query=function(t,e,n){return te(t,e,n)},t.prototype.computeStyle=function(t,e,n){return window.getComputedStyle(t)[e]},t.prototype.overrideWebAnimationsSupport=function(t){this._isNativeImpl=t},t.prototype.animate=function(t,e,n,r,o,i,a){if(void 0===i&&(i=[]),!a&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(t,e,n,r,o,i);var s={duration:n,delay:r,fill:0==r?"both":"forwards"};o&&(s.easing=o);var u={},l=i.filter(function(t){return t instanceof Vn});return we(n,r)&&l.forEach(function(t){var e=t.currentSnapshot;Object.keys(e).forEach(function(t){return u[t]=e[t]})}),e=Ce(t,e=e.map(function(t){return le(t,!1)}),u),new Vn(t,e,s)},t}();function Ln(){return"undefined"!=typeof window&&void 0!==window.document&&Element.prototype.animate||{}}var Bn=function(t){function e(e,n){var o=t.call(this)||this;return o._nextAnimationId=0,o._renderer=e.createRenderer(n.body,{id:"0",encapsulation:r.ViewEncapsulation.None,styles:[],data:{animation:[]}}),o}return Object(K.__extends)(e,t),e.prototype.build=function(t){var e=this._nextAnimationId.toString();this._nextAnimationId++;var n=Array.isArray(t)?Object(F.f)(t):t;return zn(this._renderer,null,e,"register",[n]),new Un(e,this._renderer)},e}(F.b),Un=function(t){function e(e,n){var r=t.call(this)||this;return r._id=e,r._renderer=n,r}return Object(K.__extends)(e,t),e.prototype.create=function(t,e){return new Hn(this._id,t,e||{},this._renderer)},e}(F.c),Hn=function(){function t(t,e,n,r){this.id=t,this.element=e,this._renderer=r,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",n)}return t.prototype._listen=function(t,e){return this._renderer.listen(this.element,"@@"+this.id+":"+t,e)},t.prototype._command=function(t){for(var e=[],n=1;n=0&&t open-instant",animation:{type:4,styles:null,timings:"0ms"},options:null},{type:1,expr:"void <=> open, open-instant => void",animation:{type:4,styles:null,timings:"400ms cubic-bezier(0.25, 0.8, 0.25, 1)"},options:null}],options:{}}]}});function nr(t){return r["\u0275vid"](2,[r["\u0275ncd"](null,0)],null,null)}var rr=r["\u0275crt"]({encapsulation:2,styles:[".mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-opened{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:.4s;transition-timing-function:cubic-bezier(.25,.8,.25,1);transition-property:background-color,visibility}@media screen and (-ms-high-contrast:active){.mat-drawer-backdrop{opacity:.5}}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:.4s;transition-timing-function:cubic-bezier(.25,.8,.25,1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%,0,0)}@media screen and (-ms-high-contrast:active){.mat-drawer,[dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}}@media screen and (-ms-high-contrast:active){.mat-drawer.mat-drawer-end,[dir=rtl] .mat-drawer{border-left:solid 1px currentColor;border-right:none}}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%,0,0)}[dir=rtl] .mat-drawer{transform:translate3d(100%,0,0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%,0,0)}.mat-drawer:not(.mat-drawer-side){box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)}.mat-sidenav-fixed{position:fixed}"],data:{}});function or(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,0,"div",[["class","mat-drawer-backdrop"]],[[2,"mat-drawer-shown",null]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component._onBackdropClicked()&&r),r},null,null))],null,function(t,e){t(e,0,0,e.component._isShowingBackdrop())})}function ir(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,3,"mat-sidenav-content",[["cdkScrollable",""],["class","mat-drawer-content mat-sidenav-content"]],[[4,"margin-left","px"],[4,"margin-right","px"]],null,null,tr,Xn)),r["\u0275did"](1,212992,[[1,4]],0,Dt,[r.ElementRef,Pt,r.NgZone],null,null),r["\u0275did"](2,1097728,null,0,nt,[r.ChangeDetectorRef,ot],null,null),r["\u0275ncd"](0,2)],function(t,e){t(e,1,0)},function(t,e){t(e,0,0,r["\u0275nov"](e,2)._container._contentMargins.left,r["\u0275nov"](e,2)._container._contentMargins.right)})}function ar(t){return r["\u0275vid"](2,[r["\u0275qud"](671088640,1,{scrollable:0}),(t()(),r["\u0275and"](16777216,null,null,1,null,or)),r["\u0275did"](2,16384,null,0,v.o,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),r["\u0275ncd"](null,0),r["\u0275ncd"](null,1),(t()(),r["\u0275and"](16777216,null,null,1,null,ir)),r["\u0275did"](6,16384,null,0,v.o,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(t,e){var n=e.component;t(e,2,0,n.hasBackdrop),t(e,6,0,!n._content)},null)}var sr=n("ZYCi"),ur=function(){function t(t){var e=this;this.router=t,this.navlinks=[],setTimeout(function(){return e.checkOpenLinks()})}return t.prototype.closeOtherLinks=function(t){this.navlinks.forEach(function(e){e!==t&&(e.open=!1)})},t.prototype.addLink=function(t){this.navlinks.push(t)},t.prototype.removeGroup=function(t){var e=this.navlinks.indexOf(t);-1!==e&&this.navlinks.splice(e,1)},t.prototype.checkOpenLinks=function(){var t=this;this.navlinks.forEach(function(e){e.group&&t.router.url.split("/").indexOf(e.group)>0&&(e.open=!0,t.closeOtherLinks(e))})},t.prototype.ngAfterContentChecked=function(){var t=this;this.router.events.pipe(Object(G.a)(function(t){return t instanceof sr.e})).subscribe(function(e){return t.checkOpenLinks()})},t}(),lr=function(){function t(t){this.nav=t}return Object.defineProperty(t.prototype,"open",{get:function(){return this._open},set:function(t){this._open=t,t&&this.nav.closeOtherLinks(this)},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){this.nav.addLink(this)},t.prototype.ngOnDestroy=function(){this.nav.removeGroup(this)},t.prototype.toggle=function(){this.open=!this.open},t}(),cr=function(){function t(t){this.navlink=t}return t.prototype.onClick=function(t){this.navlink.toggle()},t}(),dr=n("dEwP"),fr=n("S1nX"),pr=n("Qgas");function hr(t,e,n){return 0===n?[e]:(t.push(e),t)}var mr=n("15JJ"),gr=function(){},vr=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(K.__extends)(e,t),e.prototype.getTranslation=function(t){return Object(mt.a)({})},e}(gr),yr=function(){},br=function(){function t(){}return t.prototype.handle=function(t){return t.key},t}(),_r=function(){},wr=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(K.__extends)(e,t),e.prototype.compile=function(t,e){return t},e.prototype.compileTranslations=function(t,e){return t},e}(_r);function Cr(t,e){if(t===e)return!0;if(null===t||null===e)return!1;if(t!=t&&e!=e)return!0;var n,r,o,i=typeof t;if(i==typeof e&&"object"==i){if(!Array.isArray(t)){if(Array.isArray(e))return!1;for(r in o=Object.create(null),t){if(!Cr(t[r],e[r]))return!1;o[r]=!0}for(r in e)if(!(r in o)&&void 0!==e[r])return!1;return!0}if(!Array.isArray(e))return!1;if((n=t.length)==e.length){for(r=0;r hidden",animation:{type:4,styles:null,timings:"300ms"},options:null},{type:1,expr:"hidden => shown",animation:{type:4,styles:null,timings:"100ms"},options:null}],options:{}}]}});function yo(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,5,"div",[["class","modal-header"]],null,null,null,null,null)),(t()(),r["\u0275eld"](1,0,null,null,1,"h4",[["class","modal-title"],["id","modal-basic-title"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["Bug melden"])),(t()(),r["\u0275eld"](3,0,null,null,2,"button",[["aria-label","Close"],["class","close"],["type","button"]],null,[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.context.$implicit.dismiss("cross")&&r),r},null,null)),(t()(),r["\u0275eld"](4,0,null,null,1,"span",[["aria-hidden","true"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\xd7"])),(t()(),r["\u0275eld"](6,0,null,null,58,"div",[["class","modal-body"]],null,null,null,null,null)),(t()(),r["\u0275eld"](7,0,null,null,57,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(t,e,n){var o=!0;return"submit"===e&&(o=!1!==r["\u0275nov"](t,9).onSubmit(n)&&o),"reset"===e&&(o=!1!==r["\u0275nov"](t,9).onReset()&&o),o},null,null)),r["\u0275did"](8,16384,null,0,so["\u0275angular_packages_forms_forms_bg"],[],null,null),r["\u0275did"](9,540672,null,0,so.FormGroupDirective,[[8,null],[8,null]],{form:[0,"form"]},null),r["\u0275prd"](2048,null,so.ControlContainer,null,[so.FormGroupDirective]),r["\u0275did"](11,16384,null,0,so.NgControlStatusGroup,[[4,so.ControlContainer]],null,null),(t()(),r["\u0275eld"](12,0,null,null,10,"div",[["class","form-group"]],null,null,null,null,null)),(t()(),r["\u0275eld"](13,0,null,null,1,"label",[["for","bug-expectation"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["Wat verwacht u dat er gebeurt?"])),(t()(),r["\u0275eld"](15,0,null,null,5,"textarea",[["class","form-control"],["formControlName","expectation"],["id","bug-expectation"],["rows","5"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(t,e,n){var o=!0;return"input"===e&&(o=!1!==r["\u0275nov"](t,16)._handleInput(n.target.value)&&o),"blur"===e&&(o=!1!==r["\u0275nov"](t,16).onTouched()&&o),"compositionstart"===e&&(o=!1!==r["\u0275nov"](t,16)._compositionStart()&&o),"compositionend"===e&&(o=!1!==r["\u0275nov"](t,16)._compositionEnd(n.target.value)&&o),o},null,null)),r["\u0275did"](16,16384,null,0,so.DefaultValueAccessor,[r.Renderer2,r.ElementRef,[2,so.COMPOSITION_BUFFER_MODE]],null,null),r["\u0275prd"](1024,null,so.NG_VALUE_ACCESSOR,function(t){return[t]},[so.DefaultValueAccessor]),r["\u0275did"](18,671744,null,0,so.FormControlName,[[3,so.ControlContainer],[8,null],[8,null],[6,so.NG_VALUE_ACCESSOR],[2,so["\u0275angular_packages_forms_forms_j"]]],{name:[0,"name"]},null),r["\u0275prd"](2048,null,so.NgControl,null,[so.FormControlName]),r["\u0275did"](20,16384,null,0,so.NgControlStatus,[[4,so.NgControl]],null,null),(t()(),r["\u0275eld"](21,0,null,null,1,"small",[["class","form-text text-muted"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["10 tot 500 tekens."])),(t()(),r["\u0275eld"](23,0,null,null,10,"div",[["class","form-group"]],null,null,null,null,null)),(t()(),r["\u0275eld"](24,0,null,null,1,"label",[["for","bug-result"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["Wat gebeurt er in plaats daarvan?"])),(t()(),r["\u0275eld"](26,0,null,null,5,"textarea",[["class","form-control"],["formControlName","result"],["id","bug-result"],["rows","5"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(t,e,n){var o=!0;return"input"===e&&(o=!1!==r["\u0275nov"](t,27)._handleInput(n.target.value)&&o),"blur"===e&&(o=!1!==r["\u0275nov"](t,27).onTouched()&&o),"compositionstart"===e&&(o=!1!==r["\u0275nov"](t,27)._compositionStart()&&o),"compositionend"===e&&(o=!1!==r["\u0275nov"](t,27)._compositionEnd(n.target.value)&&o),o},null,null)),r["\u0275did"](27,16384,null,0,so.DefaultValueAccessor,[r.Renderer2,r.ElementRef,[2,so.COMPOSITION_BUFFER_MODE]],null,null),r["\u0275prd"](1024,null,so.NG_VALUE_ACCESSOR,function(t){return[t]},[so.DefaultValueAccessor]),r["\u0275did"](29,671744,null,0,so.FormControlName,[[3,so.ControlContainer],[8,null],[8,null],[6,so.NG_VALUE_ACCESSOR],[2,so["\u0275angular_packages_forms_forms_j"]]],{name:[0,"name"]},null),r["\u0275prd"](2048,null,so.NgControl,null,[so.FormControlName]),r["\u0275did"](31,16384,null,0,so.NgControlStatus,[[4,so.NgControl]],null,null),(t()(),r["\u0275eld"](32,0,null,null,1,"small",[["class","form-text text-muted"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["10 tot 500 tekens."])),(t()(),r["\u0275eld"](34,0,null,null,8,"div",[["class","form-group"]],null,null,null,null,null)),(t()(),r["\u0275eld"](35,0,null,null,1,"label",[["for","bug-reporter-name"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["Wat is uw naam?"])),(t()(),r["\u0275eld"](37,0,null,null,5,"input",[["class","form-control"],["formControlName","name"],["id","bug-reporter-name"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(t,e,n){var o=!0;return"input"===e&&(o=!1!==r["\u0275nov"](t,38)._handleInput(n.target.value)&&o),"blur"===e&&(o=!1!==r["\u0275nov"](t,38).onTouched()&&o),"compositionstart"===e&&(o=!1!==r["\u0275nov"](t,38)._compositionStart()&&o),"compositionend"===e&&(o=!1!==r["\u0275nov"](t,38)._compositionEnd(n.target.value)&&o),o},null,null)),r["\u0275did"](38,16384,null,0,so.DefaultValueAccessor,[r.Renderer2,r.ElementRef,[2,so.COMPOSITION_BUFFER_MODE]],null,null),r["\u0275prd"](1024,null,so.NG_VALUE_ACCESSOR,function(t){return[t]},[so.DefaultValueAccessor]),r["\u0275did"](40,671744,null,0,so.FormControlName,[[3,so.ControlContainer],[8,null],[8,null],[6,so.NG_VALUE_ACCESSOR],[2,so["\u0275angular_packages_forms_forms_j"]]],{name:[0,"name"]},null),r["\u0275prd"](2048,null,so.NgControl,null,[so.FormControlName]),r["\u0275did"](42,16384,null,0,so.NgControlStatus,[[4,so.NgControl]],null,null),(t()(),r["\u0275eld"](43,0,null,null,10,"div",[["class","form-group"]],null,null,null,null,null)),(t()(),r["\u0275eld"](44,0,null,null,1,"label",[["for","bug-reporter-email"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["Op welk e-mailadres kunnen we u bereiken?"])),(t()(),r["\u0275eld"](46,0,null,null,5,"input",[["class","form-control"],["formControlName","email"],["id","bug-reporter-email"],["type","email"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(t,e,n){var o=!0;return"input"===e&&(o=!1!==r["\u0275nov"](t,47)._handleInput(n.target.value)&&o),"blur"===e&&(o=!1!==r["\u0275nov"](t,47).onTouched()&&o),"compositionstart"===e&&(o=!1!==r["\u0275nov"](t,47)._compositionStart()&&o),"compositionend"===e&&(o=!1!==r["\u0275nov"](t,47)._compositionEnd(n.target.value)&&o),o},null,null)),r["\u0275did"](47,16384,null,0,so.DefaultValueAccessor,[r.Renderer2,r.ElementRef,[2,so.COMPOSITION_BUFFER_MODE]],null,null),r["\u0275prd"](1024,null,so.NG_VALUE_ACCESSOR,function(t){return[t]},[so.DefaultValueAccessor]),r["\u0275did"](49,671744,null,0,so.FormControlName,[[3,so.ControlContainer],[8,null],[8,null],[6,so.NG_VALUE_ACCESSOR],[2,so["\u0275angular_packages_forms_forms_j"]]],{name:[0,"name"]},null),r["\u0275prd"](2048,null,so.NgControl,null,[so.FormControlName]),r["\u0275did"](51,16384,null,0,so.NgControlStatus,[[4,so.NgControl]],null,null),(t()(),r["\u0275eld"](52,0,null,null,1,"small",[["class","form-text text-muted"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,[" Als we meer informatie nodig hebben om het probleem op te lossen, nemen we contact met u op. "])),(t()(),r["\u0275eld"](54,0,null,null,10,"div",[["class","form-group"]],null,null,null,null,null)),(t()(),r["\u0275eld"](55,0,null,null,1,"label",[["for","bug-notes"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["Heeft u nog opmerkingen?"])),(t()(),r["\u0275eld"](57,0,null,null,5,"textarea",[["class","form-control"],["formControlName","notes"],["id","bug-notes"],["rows","5"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(t,e,n){var o=!0;return"input"===e&&(o=!1!==r["\u0275nov"](t,58)._handleInput(n.target.value)&&o),"blur"===e&&(o=!1!==r["\u0275nov"](t,58).onTouched()&&o),"compositionstart"===e&&(o=!1!==r["\u0275nov"](t,58)._compositionStart()&&o),"compositionend"===e&&(o=!1!==r["\u0275nov"](t,58)._compositionEnd(n.target.value)&&o),o},null,null)),r["\u0275did"](58,16384,null,0,so.DefaultValueAccessor,[r.Renderer2,r.ElementRef,[2,so.COMPOSITION_BUFFER_MODE]],null,null),r["\u0275prd"](1024,null,so.NG_VALUE_ACCESSOR,function(t){return[t]},[so.DefaultValueAccessor]),r["\u0275did"](60,671744,null,0,so.FormControlName,[[3,so.ControlContainer],[8,null],[8,null],[6,so.NG_VALUE_ACCESSOR],[2,so["\u0275angular_packages_forms_forms_j"]]],{name:[0,"name"]},null),r["\u0275prd"](2048,null,so.NgControl,null,[so.FormControlName]),r["\u0275did"](62,16384,null,0,so.NgControlStatus,[[4,so.NgControl]],null,null),(t()(),r["\u0275eld"](63,0,null,null,1,"small",[["class","form-text text-muted"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["10 tot 500 tekens."])),(t()(),r["\u0275eld"](65,0,null,null,2,"div",[["class","modal-footer"]],null,null,null,null,null)),(t()(),r["\u0275eld"](66,0,null,null,1,"button",[["class","btn btn-primary"]],[[8,"disabled",0]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.context.$implicit.close("create")&&r),r},null,null)),(t()(),r["\u0275ted"](-1,null,["Verzenden "]))],function(t,e){t(e,9,0,e.component.reportBugForm),t(e,18,0,"expectation"),t(e,29,0,"result"),t(e,40,0,"name"),t(e,49,0,"email"),t(e,60,0,"notes")},function(t,e){var n=e.component;t(e,7,0,r["\u0275nov"](e,11).ngClassUntouched,r["\u0275nov"](e,11).ngClassTouched,r["\u0275nov"](e,11).ngClassPristine,r["\u0275nov"](e,11).ngClassDirty,r["\u0275nov"](e,11).ngClassValid,r["\u0275nov"](e,11).ngClassInvalid,r["\u0275nov"](e,11).ngClassPending),t(e,15,0,r["\u0275nov"](e,20).ngClassUntouched,r["\u0275nov"](e,20).ngClassTouched,r["\u0275nov"](e,20).ngClassPristine,r["\u0275nov"](e,20).ngClassDirty,r["\u0275nov"](e,20).ngClassValid,r["\u0275nov"](e,20).ngClassInvalid,r["\u0275nov"](e,20).ngClassPending),t(e,26,0,r["\u0275nov"](e,31).ngClassUntouched,r["\u0275nov"](e,31).ngClassTouched,r["\u0275nov"](e,31).ngClassPristine,r["\u0275nov"](e,31).ngClassDirty,r["\u0275nov"](e,31).ngClassValid,r["\u0275nov"](e,31).ngClassInvalid,r["\u0275nov"](e,31).ngClassPending),t(e,37,0,r["\u0275nov"](e,42).ngClassUntouched,r["\u0275nov"](e,42).ngClassTouched,r["\u0275nov"](e,42).ngClassPristine,r["\u0275nov"](e,42).ngClassDirty,r["\u0275nov"](e,42).ngClassValid,r["\u0275nov"](e,42).ngClassInvalid,r["\u0275nov"](e,42).ngClassPending),t(e,46,0,r["\u0275nov"](e,51).ngClassUntouched,r["\u0275nov"](e,51).ngClassTouched,r["\u0275nov"](e,51).ngClassPristine,r["\u0275nov"](e,51).ngClassDirty,r["\u0275nov"](e,51).ngClassValid,r["\u0275nov"](e,51).ngClassInvalid,r["\u0275nov"](e,51).ngClassPending),t(e,57,0,r["\u0275nov"](e,62).ngClassUntouched,r["\u0275nov"](e,62).ngClassTouched,r["\u0275nov"](e,62).ngClassPristine,r["\u0275nov"](e,62).ngClassDirty,r["\u0275nov"](e,62).ngClassValid,r["\u0275nov"](e,62).ngClassInvalid,r["\u0275nov"](e,62).ngClassPending),t(e,66,0,n.reportBugForm.invalid)})}function bo(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,1,"span",[["class","text-success"]],[[24,"@savedSettingsVisibility",0]],null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["Opgeslagen"]))],null,function(t,e){t(e,0,0,e.component.savedSettingsVisibility)})}function _o(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,1,"span",[["class","text-danger"]],[[24,"@savedSettingsVisibility",0]],null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["Fout tijdens opslaan"]))],null,function(t,e){t(e,0,0,e.component.savedSettingsVisibility)})}function wo(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,5,"div",[["class","modal-header"]],null,null,null,null,null)),(t()(),r["\u0275eld"](1,0,null,null,1,"h4",[["class","modal-title"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["Instellingen"])),(t()(),r["\u0275eld"](3,0,null,null,2,"button",[["aria-label","Close"],["class","close"],["type","button"]],null,[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.context.$implicit.dismiss("cross")&&r),r},null,null)),(t()(),r["\u0275eld"](4,0,null,null,1,"span",[["aria-hidden","true"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\xd7"])),(t()(),r["\u0275eld"](6,0,null,null,2,"div",[["class","modal-body"]],null,null,null,null,null)),(t()(),r["\u0275eld"](7,0,null,null,1,"app-teacher-settings",[],null,[[null,"saved"]],function(t,e,n){var r=!0;return"saved"===e&&(r=!1!==t.component.showSettingsSaved(n)&&r),r},uo.b,uo.a)),r["\u0275did"](8,114688,null,0,lo.a,[so.FormBuilder,co.a,fo.a,to.c],null,{saved:"saved"}),(t()(),r["\u0275eld"](9,0,null,null,6,"div",[["class","modal-footer"]],null,null,null,null,null)),(t()(),r["\u0275and"](16777216,null,null,1,null,bo)),r["\u0275did"](11,16384,null,0,v.o,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),r["\u0275and"](16777216,null,null,1,null,_o)),r["\u0275did"](13,16384,null,0,v.o,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),r["\u0275eld"](14,0,null,null,1,"button",[["class","btn btn-light"]],null,[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.context.$implicit.close("close")&&r),r},null,null)),(t()(),r["\u0275ted"](-1,null,[" Sluiten "]))],function(t,e){var n=e.component;t(e,8,0),t(e,11,0,n.savedSettingsSuccess),t(e,13,0,!n.savedSettingsSuccess)},null)}function Co(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,42,"nav",[["class","navbar custom-navbar bg-faded main-header px-3"]],null,null,null,null,null)),(t()(),r["\u0275eld"](1,0,null,null,1,"a",[["class","nav-link pl-0 d-lg-none"],["href","javascript:"]],null,[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.toggleSidenav.emit()&&r),r},null,null)),(t()(),r["\u0275eld"](2,0,null,null,0,"i",[["class","icon ion-android-menu"]],null,null,null,null,null)),(t()(),r["\u0275eld"](3,0,null,null,1,"span",[["class","navbar-heading mr-3"]],null,null,null,null,null)),(t()(),r["\u0275ted"](4,null,["",""])),(t()(),r["\u0275eld"](5,0,null,null,0,"span",[["class","mr-auto"]],null,null,null,null,null)),(t()(),r["\u0275eld"](6,0,null,null,36,"ul",[["class","navbar-nav mx-3"]],null,null,null,null,null)),(t()(),r["\u0275eld"](7,0,null,null,6,"li",[["class","nav-item"],["ngbDropdown",""],["placement","auto"]],[[2,"show",null]],null,null,null,null)),r["\u0275did"](8,212992,null,2,d.s,[r.ChangeDetectorRef,d.t,v.d,r.NgZone],{placement:[0,"placement"]},null),r["\u0275qud"](335544320,1,{_menu:0}),r["\u0275qud"](335544320,2,{_anchor:0}),(t()(),r["\u0275eld"](11,16777216,null,null,2,"a",[["class","nav-link"],["container","body"],["ngbTooltip","Instellingen"],["placement","bottom"]],null,[[null,"click"]],function(t,e,n){var o=!0;return"click"===e&&(o=!1!==t.component.showSettingsModal(r["\u0275nov"](t,44))&&o),o},null,null)),r["\u0275did"](12,212992,null,0,d.X,[r.ElementRef,r.Renderer2,r.Injector,r.ComponentFactoryResolver,r.ViewContainerRef,d.Y,r.NgZone,v.d],{placement:[0,"placement"],container:[1,"container"],ngbTooltip:[2,"ngbTooltip"]},null),(t()(),r["\u0275eld"](13,0,null,null,0,"i",[["class","icon ion-android-settings"]],null,null,null,null,null)),(t()(),r["\u0275eld"](14,0,null,null,28,"li",[["class","nav-item"],["ngbDropdown",""],["placement","auto"]],[[2,"show",null]],null,null,null,null)),r["\u0275did"](15,212992,null,2,d.s,[r.ChangeDetectorRef,d.t,v.d,r.NgZone],{placement:[0,"placement"]},null),r["\u0275qud"](335544320,3,{_menu:0}),r["\u0275qud"](335544320,4,{_anchor:0}),(t()(),r["\u0275eld"](18,0,null,null,3,"a",[["aria-haspopup","true"],["class","nav-link dropdown-toggle"],["container","body"],["href","javascript:"],["ngbDropdownToggle",""],["placement","bottom"]],[[1,"aria-expanded",0]],[[null,"click"]],function(t,e,n){var o=!0;return"click"===e&&(o=!1!==r["\u0275nov"](t,19).toggleOpen()&&o),o},null,null)),r["\u0275did"](19,16384,null,0,d.ob,[d.s,r.ElementRef],null,null),r["\u0275prd"](2048,[[4,4]],d.nb,null,[d.ob]),(t()(),r["\u0275eld"](21,0,null,null,0,"i",[["class","icon ion-help"]],null,null,null,null,null)),(t()(),r["\u0275eld"](22,0,null,null,20,"div",[["class","dropdown-menu dropdown-menu-right quick-launch"],["ngbDropdownMenu",""]],[[2,"dropdown-menu",null],[2,"show",null],[1,"x-placement",0]],null,null,null,null)),r["\u0275did"](23,16384,[[3,4]],0,d.mb,[d.s,r.ElementRef,r.Renderer2],null,null),(t()(),r["\u0275eld"](24,0,null,null,18,"div",[["class","row"]],null,null,null,null,null)),(t()(),r["\u0275eld"](25,0,null,null,5,"div",[["class","col-4 text-center py-3"]],null,null,null,null,null)),(t()(),r["\u0275eld"](26,0,null,null,4,"a",[],null,[[null,"click"]],function(t,e,n){var o=!0;return"click"===e&&(o=!1!==t.component.showReportBugModal(r["\u0275nov"](t,43))&&o),o},null,null)),(t()(),r["\u0275eld"](27,0,null,null,1,"span",[["class","d-block"]],null,null,null,null,null)),(t()(),r["\u0275eld"](28,0,null,null,0,"i",[["class","h1 text-danger icon ion-bug"]],null,null,null,null,null)),(t()(),r["\u0275eld"](29,0,null,null,1,"small",[["class","text-muted"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["Meld een bug"])),(t()(),r["\u0275eld"](31,0,null,null,5,"div",[["class","col-4 text-center py-3"]],null,null,null,null,null)),(t()(),r["\u0275eld"](32,0,null,null,4,"a",[],null,[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.showTrengoPopup()&&r),r},null,null)),(t()(),r["\u0275eld"](33,0,null,null,1,"span",[["class","d-block"]],null,null,null,null,null)),(t()(),r["\u0275eld"](34,0,null,null,0,"i",[["class","h1 icon ion-chatboxes"]],null,null,null,null,null)),(t()(),r["\u0275eld"](35,0,null,null,1,"small",[["class","text-muted"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["Stuur een bericht"])),(t()(),r["\u0275eld"](37,0,null,null,5,"div",[["class","col-4 text-center py-3"]],null,null,null,null,null)),(t()(),r["\u0275eld"](38,0,null,null,4,"a",[["href","http://help.schoolyear.nl"],["target","_blank"]],null,null,null,null,null)),(t()(),r["\u0275eld"](39,0,null,null,1,"span",[["class","d-block"]],null,null,null,null,null)),(t()(),r["\u0275eld"](40,0,null,null,0,"i",[["class","h1 text-primary icon ion-help-circled"]],null,null,null,null,null)),(t()(),r["\u0275eld"](41,0,null,null,1,"small",[["class","text-muted"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["Help center"])),(t()(),r["\u0275and"](0,[["reportBugModal",2]],null,0,null,yo)),(t()(),r["\u0275and"](0,[["settingsModal",2]],null,0,null,wo))],function(t,e){t(e,8,0,"auto"),t(e,12,0,"bottom","body","Instellingen"),t(e,15,0,"auto")},function(t,e){t(e,4,0,e.component.heading),t(e,7,0,r["\u0275nov"](e,8).isOpen()),t(e,14,0,r["\u0275nov"](e,15).isOpen()),t(e,18,0,r["\u0275nov"](e,19).dropdown.isOpen()),t(e,22,0,!0,r["\u0275nov"](e,23).dropdown.isOpen(),r["\u0275nov"](e,23).placement)})}var Oo=function(){function t(t,e,n){var r=this;this.ws=t,this.stateService=e,this.interactionLogService=n,this.wsStates=to.b,this.ws.retryCounter.subscribe(function(t){r.wsRetryCount=t,r.wsRetryMax=r.ws.retryMax,r.connectClicked=!1}),this.ws.status.subscribe(function(t){r.wsStatus=t}),setInterval(function(){r.time=r.wsStatus==to.b.Open?r.stateService.getSyncedTime():null},200)}return t.prototype.retryConnect=function(){this.interactionLogService.registerButtonClick(mo.a.TeacherRetryConnect),this.connectClicked=!0,this.ws.retryCounter.next(0),this.ws.disconnectUntil=null},t.prototype.reload=function(){this.interactionLogService.registerButtonClick(mo.a.TeacherManualPing),this.ws.sendPingAction()},t}(),So=r["\u0275crt"]({encapsulation:0,styles:[[""]],data:{}});function Eo(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,4,"li",[["class","nav-item"]],null,null,null,null,null)),(t()(),r["\u0275eld"](1,16777216,null,null,3,"a",[["class","nav-link"],["ngbTooltip","Deze tijd is gesynchroniseerd met het internet"]],null,null,null,null,null)),r["\u0275did"](2,212992,null,0,d.X,[r.ElementRef,r.Renderer2,r.Injector,r.ComponentFactoryResolver,r.ViewContainerRef,d.Y,r.NgZone,v.d],{ngbTooltip:[0,"ngbTooltip"]},null),(t()(),r["\u0275ted"](3,null,[" "," "])),r["\u0275ppd"](4,3)],function(t,e){t(e,2,0,"Deze tijd is gesynchroniseerd met het internet")},function(t,e){var n=e.component;t(e,3,0,r["\u0275unv"](e,3,0,t(e,4,0,r["\u0275nov"](e.parent.parent,0),n.time,"dd/M/y H:mm:ss (z)","Europe/Amsterdam")))})}function xo(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,3,"li",[["class","nav-item"]],null,null,null,null,null)),(t()(),r["\u0275eld"](1,16777216,null,null,2,"a",[["class","nav-link"],["ngbTooltip","Verbonden"]],null,[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.reload()&&r),r},null,null)),r["\u0275did"](2,212992,null,0,d.X,[r.ElementRef,r.Renderer2,r.Injector,r.ComponentFactoryResolver,r.ViewContainerRef,d.Y,r.NgZone,v.d],{ngbTooltip:[0,"ngbTooltip"]},null),(t()(),r["\u0275eld"](3,0,null,null,0,"i",[["class","ion-connection-bars text-success"]],null,null,null,null,null))],function(t,e){t(e,2,0,"Verbonden")},null)}function ko(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,4,"li",[["class","nav-item"]],null,null,null,null,null)),(t()(),r["\u0275eld"](1,16777216,null,null,3,"a",[["class","nav-link"],["ngbTooltip","Verbinden"]],null,[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.reload()&&r),r},null,null)),r["\u0275did"](2,212992,null,0,d.X,[r.ElementRef,r.Renderer2,r.Injector,r.ComponentFactoryResolver,r.ViewContainerRef,d.Y,r.NgZone,v.d],{ngbTooltip:[0,"ngbTooltip"]},null),(t()(),r["\u0275ted"](3,null,[" Verbinden (","/",") "])),(t()(),r["\u0275eld"](4,0,null,null,0,"div",[["class","spinner-border spinner-border-sm"]],null,null,null,null,null))],function(t,e){t(e,2,0,"Verbinden")},function(t,e){var n=e.component;t(e,3,0,n.wsRetryCount,n.wsRetryMax)})}function To(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,3,"li",[["class","nav-item"]],null,null,null,null,null)),(t()(),r["\u0275eld"](1,16777216,null,null,2,"a",[["class","nav-link text-danger"],["ngbTooltip","Controleer uw internetverbinding"]],null,[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.reload()&&r),r},null,null)),r["\u0275did"](2,212992,null,0,d.X,[r.ElementRef,r.Renderer2,r.Injector,r.ComponentFactoryResolver,r.ViewContainerRef,d.Y,r.NgZone,v.d],{ngbTooltip:[0,"ngbTooltip"]},null),(t()(),r["\u0275ted"](-1,null,[" Niet verbonden "]))],function(t,e){t(e,2,0,"Controleer uw internetverbinding")},null)}function jo(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,16777216,null,null,2,"div",[["class","btn btn-secondary"],["ngbTooltip","Een live verbinding is slechts vereist tijdens de les."]],null,[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.retryConnect()&&r),r},null,null)),r["\u0275did"](1,212992,null,0,d.X,[r.ElementRef,r.Renderer2,r.Injector,r.ComponentFactoryResolver,r.ViewContainerRef,d.Y,r.NgZone,v.d],{ngbTooltip:[0,"ngbTooltip"]},null),(t()(),r["\u0275ted"](-1,null,["Verbinden "])),(t()(),r["\u0275and"](0,null,null,0))],function(t,e){t(e,1,0,"Een live verbinding is slechts vereist tijdens de les.")},null)}function Io(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,0,"li",[["class","nav-item"]],null,null,null,null,null))],null,null)}function Ro(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,12,"ul",[["class","navbar-nav hidden-xs-down"]],null,null,null,null,null)),(t()(),r["\u0275and"](16777216,null,null,1,null,Eo)),r["\u0275did"](2,16384,null,0,v.o,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),r["\u0275and"](16777216,null,null,1,null,xo)),r["\u0275did"](4,16384,null,0,v.o,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),r["\u0275and"](16777216,null,null,1,null,ko)),r["\u0275did"](6,16384,null,0,v.o,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),r["\u0275and"](16777216,null,null,1,null,To)),r["\u0275did"](8,16384,null,0,v.o,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),r["\u0275and"](16777216,null,null,1,null,jo)),r["\u0275did"](10,16384,null,0,v.o,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),r["\u0275and"](16777216,null,null,1,null,Io)),r["\u0275did"](12,16384,null,0,v.o,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(t,e){var n=e.component;t(e,2,0,n.time),t(e,4,0,n.wsStatus==n.wsStates.Open),t(e,6,0,n.wsStatus==n.wsStates.Connecting),t(e,8,0,n.wsStatus==n.wsStates.Closed&&n.wsRetryCount=n.wsRetryMax||n.ws.disconnectUntil)),t(e,12,0,n.showWsStatus)},null)}function Po(t){return r["\u0275vid"](0,[r["\u0275pid"](0,v.e,[r.LOCALE_ID]),(t()(),r["\u0275eld"](1,0,null,null,10,"nav",[["class","navbar custom-navbar main-footer small px-3"]],null,null,null,null,null)),(t()(),r["\u0275eld"](2,0,null,null,7,"ul",[["class","navbar-nav mr-auto"]],null,null,null,null,null)),(t()(),r["\u0275eld"](3,0,null,null,6,"li",[["class","nav-item"]],null,null,null,null,null)),(t()(),r["\u0275eld"](4,0,null,null,5,"a",[["class","nav-link text-color"],["href","javascript:"]],null,null,null,null,null)),(t()(),r["\u0275eld"](5,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["Copyright \xa9 2020 "])),(t()(),r["\u0275eld"](7,0,null,null,1,"span",[["class","text-uppercase"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["Schoolyear"])),(t()(),r["\u0275ted"](-1,null,[". All rights reserved "])),(t()(),r["\u0275and"](16777216,null,null,1,null,Ro)),r["\u0275did"](11,16384,null,0,v.o,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(t,e){t(e,11,0,e.component.showWsStatus)},null)}var Do=n("lg7r"),Ao=n("ogHa"),No=n("PQUJ"),Mo=991,Vo=function(){function t(t,e,n,r,o,i,a,s,u,l,c,d,f){var p=this;this._element=t,this.router=e,this.route=n,this.translate=r,this.titleService=o,this.stateService=i,this.userInfoService=a,this.ws=s,this.notify=u,this.confirm=l,this.tourService=c,this.teacherSettingsService=d,this.mediaMatcher=matchMedia("(max-width: "+Mo+"px)"),this.options={lang:"nl",theme:"winter",settings:!1,docked:!1,boxed:!1,opened:!1},this.currentLang="nl",this.mediaMatcher.addListener(function(t){return f.run(function(){p.mediaMatcher=t})}),this.stateService.$studentGroupChangedDelta.subscribe(function(t){switch(t.newState.student.group){case No.e.default:p.notifyStudentConnected(t.newState.user_id);break;case No.e.manuallyDisconnected:case No.e.notConnected:p.notifyStudentDisconnected(t.newState.user_id)}})}return t.prototype.notifyStudentDisconnected=function(t){var e=this;this.userInfoService.fetchBulk([t],this.ws.token).subscribe(function(t){var n=Object.values(t.data)[0],r=n.first_name+" "+n.last_name;e.teacherSettingsService.settings.getValue().enable_desktop_notifications&&e.notify.warning("heeft het lokaal verlaten.",r)},function(t){e.notify.warning("Iemand heeft het lokaal verlaten","")})},t.prototype.notifyStudentConnected=function(t){var e=this;this.userInfoService.fetchBulk([t],this.ws.token).subscribe(function(t){var n=Object.values(t.data)[0],r=n.first_name+" "+n.last_name;e.teacherSettingsService.settings.getValue().enable_desktop_notifications&&e.notify.success("heeft het lokaal betreden",r)},function(t){e.notify.warning("iemand heeft het lokaal betreden","",{disableTimeOut:!0})})},t.prototype.ngOnInit=function(){var t=this;this._router=this.router.events.pipe(Object(G.a)(function(t){return t instanceof sr.e})).subscribe(function(e){document.querySelector(".main-content").scrollTop=0,t.isOver()&&t.sidemenu.close(),t.runOnRouteChange()}),this.runOnRouteChange()},t.prototype.ngOnDestroy=function(){this._router.unsubscribe()},t.prototype.ngAfterContentInit=function(){var t=this;localStorage.getItem(o.a.localStorageKeys.teacherTutorialShowed)||setTimeout(function(){t.showTutorial()},3e3)},t.prototype.runOnRouteChange=function(){var t=this;this.route.children.forEach(function(e){for(var n=e;n.firstChild;)n=n.firstChild;t.routeOptions=n.snapshot.data}),this.routeOptions.hasOwnProperty("heading")&&this.setTitle(this.routeOptions.heading)},t.prototype.setTitle=function(t){this.titleService.setTitle(t+" | Schoolyear Classroom Manager")},t.prototype.isOver=function(){return this.mediaMatcher.matches},t.prototype.showTutorial=function(){this.showingTutorial||(this.showingTutorial=!0)},t}(),Fo=n("b8BQ"),Lo=r["\u0275crt"]({encapsulation:0,styles:[[""]],data:{}});function Bo(t){return r["\u0275vid"](0,[r["\u0275qud"](402653184,1,{sidebar:0}),r["\u0275qud"](402653184,2,{sidemenu:0}),(t()(),r["\u0275eld"](2,0,null,null,1,"ngx-loading-bar",[],[[2,"loading-bar-fixed",null]],null,null,V,D)),r["\u0275did"](3,49152,null,0,R,[I],null,null),(t()(),r["\u0275eld"](4,0,null,null,14,"mat-sidenav-container",[["class","app theme-winter mat-drawer-container mat-sidenav-container"]],[[2,"mat-drawer-container-explicit-backdrop",null]],null,null,ar,rr)),r["\u0275did"](5,1490944,null,2,ot,[[2,st],r.ElementRef,r.NgZone,r.ChangeDetectorRef,J,[2,Yn]],null,null),r["\u0275qud"](603979776,3,{_drawers:1}),r["\u0275qud"](335544320,4,{_content:0}),(t()(),r["\u0275eld"](8,0,null,0,3,"mat-sidenav",[["class","sidebar-panel mat-drawer mat-sidenav"],["id","sidebar-panel"],["tabIndex","-1"]],[[40,"@transform",0],[1,"align",0],[2,"mat-drawer-end",null],[2,"mat-drawer-over",null],[2,"mat-drawer-push",null],[2,"mat-drawer-side",null],[2,"mat-sidenav-fixed",null],[4,"top","px"],[4,"bottom","px"]],[["component","@transform.start"],["component","@transform.done"]],function(t,e,n){var o=!0;return"component:@transform.start"===e&&(o=!1!==r["\u0275nov"](t,9)._onAnimationStart(n)&&o),"component:@transform.done"===e&&(o=!1!==r["\u0275nov"](t,9)._onAnimationEnd(n)&&o),o},nr,er)),r["\u0275did"](9,3325952,[[3,4],[2,4],["sidemenu",4]],0,rt,[r.ElementRef,_t,wt,dt,r.NgZone,[2,v.d]],{mode:[0,"mode"],opened:[1,"opened"]},null),(t()(),r["\u0275eld"](10,0,null,0,1,"app-sidebar",[["class","bg-cover"]],null,null,null,ao,ro)),r["\u0275did"](11,49152,null,0,no,[Ir,Jr,Xr.a,to.c],{showTeacherElements:[0,"showTeacherElements"]},null),(t()(),r["\u0275eld"](12,0,null,2,1,"app-header",[],null,[[null,"toggleSidenav"]],function(t,e,n){var o=!0;return"toggleSidenav"===e&&(o=!1!==r["\u0275nov"](t,9).toggle()&&o),o},Co,vo)),r["\u0275did"](13,49152,null,0,go,[so.FormBuilder,d.w,Xr.a,ho,co.a,mo.b],{heading:[0,"heading"]},{toggleSidenav:"toggleSidenav"}),(t()(),r["\u0275eld"](14,0,null,2,4,"div",[["class","main-content"]],null,null,null,null,null)),(t()(),r["\u0275eld"](15,16777216,null,null,1,"router-outlet",[],null,null,null,null,null)),r["\u0275did"](16,212992,null,0,sr.t,[sr.b,r.ViewContainerRef,r.ComponentFactoryResolver,[8,null],r.ChangeDetectorRef],null,null),(t()(),r["\u0275eld"](17,0,null,null,1,"app-footer",[],null,null,null,Po,So)),r["\u0275did"](18,49152,null,0,Oo,[to.c,Xr.a,mo.b],{showWsStatus:[0,"showWsStatus"]},null)],function(t,e){var n=e.component;t(e,5,0),t(e,9,0,n.isOver()?"over":"side",!n.isOver()),t(e,11,0,!0),t(e,13,0,null==n.routeOptions?null:n.routeOptions.heading),t(e,16,0),t(e,18,0,!0)},function(t,e){t(e,2,0,r["\u0275nov"](e,3).fixed),t(e,4,0,r["\u0275nov"](e,5)._backdropOverride),t(e,8,0,r["\u0275nov"](e,9)._animationState,null,"end"===r["\u0275nov"](e,9).position,"over"===r["\u0275nov"](e,9).mode,"push"===r["\u0275nov"](e,9).mode,"side"===r["\u0275nov"](e,9).mode,r["\u0275nov"](e,9).fixedInViewport,r["\u0275nov"](e,9).fixedInViewport?r["\u0275nov"](e,9).fixedTopGap:null,r["\u0275nov"](e,9).fixedInViewport?r["\u0275nov"](e,9).fixedBottomGap:null)})}var Uo=r["\u0275ccf"]("app-admin",Vo,function(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,1,"app-admin",[],null,null,null,Bo,Lo)),r["\u0275did"](1,1294336,null,0,Vo,[r.ElementRef,sr.o,sr.a,Ir,ht.Title,Xr.a,Do.a,to.c,co.a,Ao.a,Fo.c,fo.a,r.NgZone],null,null)],function(t,e){t(e,1,0)},null)},{},{},[]),Ho=991,zo=function(){function t(t,e,n,r,o,i,a){var s=this;this._element=t,this.router=e,this.route=n,this.translate=r,this.titleService=o,this.menuService=i,this.mediaMatcher=matchMedia("(max-width: "+Ho+"px)"),this.mediaMatcher.addListener(function(t){return a.run(function(){s.mediaMatcher=t})})}return t.prototype.ngOnInit=function(){var t=this;this.menuService.panel="admin",this._router=this.router.events.pipe(Object(G.a)(function(t){return t instanceof sr.e})).subscribe(function(e){document.querySelector(".main-content").scrollTop=0,t.isOver()&&t.sidemenu.close(),t.runOnRouteChange()}),this.runOnRouteChange()},t.prototype.ngOnDestroy=function(){this._router.unsubscribe()},t.prototype.runOnRouteChange=function(){var t=this;this.route.children.forEach(function(e){for(var n=e;n.firstChild;)n=n.firstChild;t.routeOptions=n.snapshot.data}),this.routeOptions.hasOwnProperty("heading")&&this.setTitle(this.routeOptions.heading)},t.prototype.setTitle=function(t){this.titleService.setTitle(t+" | Schoolyear Classroom Manager")},t.prototype.isOver=function(){return this.mediaMatcher.matches},t}(),Go=r["\u0275crt"]({encapsulation:0,styles:[[""]],data:{}});function qo(t){return r["\u0275vid"](0,[r["\u0275qud"](402653184,1,{sidebar:0}),r["\u0275qud"](402653184,2,{sidemenu:0}),(t()(),r["\u0275eld"](2,0,null,null,1,"ngx-loading-bar",[],[[2,"loading-bar-fixed",null]],null,null,V,D)),r["\u0275did"](3,49152,null,0,R,[I],null,null),(t()(),r["\u0275eld"](4,0,null,null,14,"mat-sidenav-container",[["class","app theme-winter mat-drawer-container mat-sidenav-container"]],[[2,"mat-drawer-container-explicit-backdrop",null]],null,null,ar,rr)),r["\u0275did"](5,1490944,null,2,ot,[[2,st],r.ElementRef,r.NgZone,r.ChangeDetectorRef,J,[2,Yn]],null,null),r["\u0275qud"](603979776,3,{_drawers:1}),r["\u0275qud"](335544320,4,{_content:0}),(t()(),r["\u0275eld"](8,0,null,0,3,"mat-sidenav",[["class","sidebar-panel mat-drawer mat-sidenav"],["id","sidebar-panel"],["tabIndex","-1"]],[[40,"@transform",0],[1,"align",0],[2,"mat-drawer-end",null],[2,"mat-drawer-over",null],[2,"mat-drawer-push",null],[2,"mat-drawer-side",null],[2,"mat-sidenav-fixed",null],[4,"top","px"],[4,"bottom","px"]],[["component","@transform.start"],["component","@transform.done"]],function(t,e,n){var o=!0;return"component:@transform.start"===e&&(o=!1!==r["\u0275nov"](t,9)._onAnimationStart(n)&&o),"component:@transform.done"===e&&(o=!1!==r["\u0275nov"](t,9)._onAnimationEnd(n)&&o),o},nr,er)),r["\u0275did"](9,3325952,[[3,4],[2,4],["sidemenu",4]],0,rt,[r.ElementRef,_t,wt,dt,r.NgZone,[2,v.d]],{mode:[0,"mode"],opened:[1,"opened"]},null),(t()(),r["\u0275eld"](10,0,null,0,1,"app-sidebar",[["class","bg-cover"]],null,null,null,ao,ro)),r["\u0275did"](11,49152,null,0,no,[Ir,Jr,Xr.a,to.c],{showTeacherElements:[0,"showTeacherElements"]},null),(t()(),r["\u0275eld"](12,0,null,2,1,"app-header",[],null,[[null,"toggleSidenav"]],function(t,e,n){var o=!0;return"toggleSidenav"===e&&(o=!1!==r["\u0275nov"](t,9).toggle()&&o),o},Co,vo)),r["\u0275did"](13,49152,null,0,go,[so.FormBuilder,d.w,Xr.a,ho,co.a,mo.b],{heading:[0,"heading"]},{toggleSidenav:"toggleSidenav"}),(t()(),r["\u0275eld"](14,0,null,2,4,"div",[["class","main-content"]],null,null,null,null,null)),(t()(),r["\u0275eld"](15,16777216,null,null,1,"router-outlet",[],null,null,null,null,null)),r["\u0275did"](16,212992,null,0,sr.t,[sr.b,r.ViewContainerRef,r.ComponentFactoryResolver,[8,null],r.ChangeDetectorRef],null,null),(t()(),r["\u0275eld"](17,0,null,null,1,"app-footer",[],null,null,null,Po,So)),r["\u0275did"](18,49152,null,0,Oo,[to.c,Xr.a,mo.b],null,null)],function(t,e){var n=e.component;t(e,5,0),t(e,9,0,n.isOver()?"over":"side",!n.isOver()),t(e,11,0,!1),t(e,13,0,n.routeOptions.heading),t(e,16,0)},function(t,e){t(e,2,0,r["\u0275nov"](e,3).fixed),t(e,4,0,r["\u0275nov"](e,5)._backdropOverride),t(e,8,0,r["\u0275nov"](e,9)._animationState,null,"end"===r["\u0275nov"](e,9).position,"over"===r["\u0275nov"](e,9).mode,"push"===r["\u0275nov"](e,9).mode,"side"===r["\u0275nov"](e,9).mode,r["\u0275nov"](e,9).fixedInViewport,r["\u0275nov"](e,9).fixedInViewport?r["\u0275nov"](e,9).fixedTopGap:null,r["\u0275nov"](e,9).fixedInViewport?r["\u0275nov"](e,9).fixedBottomGap:null)})}var $o=r["\u0275ccf"]("app-admin-layout",zo,function(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,1,"app-admin-layout",[],null,null,null,qo,Go)),r["\u0275did"](1,245760,null,0,zo,[r.ElementRef,sr.o,sr.a,Ir,ht.Title,Jr,r.NgZone],null,null)],function(t,e){t(e,1,0)},null)},{},{},[]),Wo=function(){},Zo=r["\u0275crt"]({encapsulation:0,styles:[['.custom-checkbox[_ngcontent-%COMP%]{padding-left:1.2rem}.custom-control-indicator[_ngcontent-%COMP%]{background:0 0;border:2px solid rgba(255,255,255,.54)}.custom-checkbox[_ngcontent-%COMP%] .custom-control-input[_ngcontent-%COMP%]:checked ~ .custom-control-indicator[_ngcontent-%COMP%]{background:0 0}.custom-checkbox[_ngcontent-%COMP%] .custom-control-input[_ngcontent-%COMP%]:checked ~ .custom-control-indicator[_ngcontent-%COMP%]::before{content:"\\f3fd";display:inline-block;font-family:Ionicons;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;position:absolute;width:16px;height:16px;text-align:center;top:-2px;left:-2px;font-size:1.2rem;line-height:16px}']],data:{}});function Ko(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,2,"div",[["class","theme-winter no-bg"]],null,null,null,null,null)),(t()(),r["\u0275eld"](1,16777216,null,null,1,"router-outlet",[],null,null,null,null,null)),r["\u0275did"](2,212992,null,0,sr.t,[sr.b,r.ViewContainerRef,r.ComponentFactoryResolver,[8,null],r.ChangeDetectorRef],null,null)],function(t,e){t(e,2,0)},null)}var Qo=r["\u0275ccf"]("app-auth-layout",Wo,function(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,1,"app-auth-layout",[],null,null,null,Ko,Zo)),r["\u0275did"](1,49152,null,0,Wo,[],null,null)],null,null)},{},{},[]),Yo=n("PxNQ"),Jo=r["\u0275crt"]({encapsulation:0,styles:[[""]],data:{}});function Xo(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,5,"div",[["class","modal-header"]],null,null,null,null,null)),(t()(),r["\u0275eld"](1,0,null,null,1,"h4",[["class","modal-title"]],null,null,null,null,null)),(t()(),r["\u0275ted"](2,null,["",""])),(t()(),r["\u0275eld"](3,0,null,null,2,"button",[["aria-label","Close"],["class","close"],["type","button"]],null,[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.dismiss()&&r),r},null,null)),(t()(),r["\u0275eld"](4,0,null,null,1,"span",[["aria-hidden","true"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\xd7"])),(t()(),r["\u0275eld"](6,0,null,null,1,"div",[["class","modal-body"]],null,null,null,null,null)),(t()(),r["\u0275ted"](7,null,[" ","\n"])),(t()(),r["\u0275eld"](8,0,null,null,4,"div",[["class","modal-footer"]],null,null,null,null,null)),(t()(),r["\u0275eld"](9,0,null,null,1,"button",[["class","btn btn-outline-secondary"],["type","button"]],null,[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.decline()&&r),r},null,null)),(t()(),r["\u0275ted"](10,null,["",""])),(t()(),r["\u0275eld"](11,0,null,null,1,"button",[["class","btn btn-primary"],["type","button"]],null,[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.accept()&&r),r},null,null)),(t()(),r["\u0275ted"](12,null,["",""]))],null,function(t,e){var n=e.component;t(e,2,0,n.title),t(e,7,0,n.message),t(e,10,0,n.btnCancelText),t(e,12,0,n.btnOkText)})}var ti=r["\u0275ccf"]("app-confirm-dialog",Yo.a,function(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,1,"app-confirm-dialog",[],null,null,null,Xo,Jo)),r["\u0275did"](1,114688,null,0,Yo.a,[d.d],null,null)],function(t,e){t(e,1,0)},null)},{title:"title",message:"message",btnOkText:"btnOkText",btnCancelText:"btnCancelText"},{},[]),ei=r["\u0275crt"]({encapsulation:0,styles:[[""]],data:{}});function ni(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,2,"button",[["aria-label","Close"],["class","close"],["type","button"]],null,[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.dismiss()&&r),r},null,null)),(t()(),r["\u0275eld"](1,0,null,null,1,"span",[["aria-hidden","true"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\xd7"]))],null,null)}function ri(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,1,null,null,null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,[" We kunnen uw persoonlijke gegevens verwerken voor zorgvuldig overwogen en specifieke doeleinden die in onze belang zijn en ons in staat stellen onze service te verbeteren, maar die ook redelijkerwijs voordelig zijn voor onze klanten. "]))],null,null)}function oi(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,4,"div",[["class","modal-header"]],null,null,null,null,null)),(t()(),r["\u0275eld"](1,0,null,null,1,"h4",[["class","modal-title"]],null,null,null,null,null)),(t()(),r["\u0275ted"](2,null,["",""])),(t()(),r["\u0275and"](16777216,null,null,1,null,ni)),r["\u0275did"](4,16384,null,0,v.o,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),r["\u0275eld"](5,0,null,null,2,"div",[["class","modal-body"]],null,null,null,null,null)),(t()(),r["\u0275and"](16777216,null,null,1,null,ri)),r["\u0275did"](7,16384,null,0,v.o,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),r["\u0275eld"](8,0,null,null,4,"div",[["class","modal-footer"]],null,null,null,null,null)),(t()(),r["\u0275eld"](9,0,null,null,1,"button",[["class","btn"],["type","button"]],null,[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.decline()&&r),r},null,null)),(t()(),r["\u0275ted"](10,null,["",""])),(t()(),r["\u0275eld"](11,0,null,null,1,"button",[["class","btn btn-primary"],["type","button"]],null,[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.accept()&&r),r},null,null)),(t()(),r["\u0275ted"](12,null,["",""]))],function(t,e){var n=e.component;t(e,4,0,null==n.action?null:n.action.showDismiss),t(e,7,0,"type-1"==(null==n.action?null:n.action.message))},function(t,e){var n=e.component;t(e,2,0,null==n.action?null:n.action.title),t(e,10,0,null==n.action?null:n.action.declineText),t(e,12,0,null==n.action?null:n.action.okeText)})}var ii=r["\u0275ccf"]("app-initial-consent",c,function(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,1,"app-initial-consent",[],null,null,null,oi,ei)),r["\u0275did"](1,114688,null,0,c,[d.d],null,null)],function(t,e){t(e,1,0)},null)},{action:"action"},{},[]),ai=r["\u0275crt"]({encapsulation:2,styles:[],data:{}});function si(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,1,"button",[["class","btn btn-sm btn-default"]],null,[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.tourService.prev()&&r),r},null,null)),(t()(),r["\u0275ted"](1,null,["\xab ",""]))],null,function(t,e){t(e,1,0,null==e.parent.context.step?null:e.parent.context.step.prevBtnTitle)})}function ui(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,1,"button",[["class","btn btn-sm btn-default"]],null,[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.tourService.next()&&r),r},null,null)),(t()(),r["\u0275ted"](1,null,[""," \xbb"]))],null,function(t,e){t(e,1,0,null==e.parent.context.step?null:e.parent.context.step.nextBtnTitle)})}function li(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,1,"p",[["class","tour-step-content"]],null,null,null,null,null)),(t()(),r["\u0275ted"](1,null,["",""])),(t()(),r["\u0275eld"](2,0,null,null,6,"div",[["class","tour-step-navigation"]],null,null,null,null,null)),(t()(),r["\u0275and"](16777216,null,null,1,null,si)),r["\u0275did"](4,16384,null,0,v.o,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),r["\u0275and"](16777216,null,null,1,null,ui)),r["\u0275did"](6,16384,null,0,v.o,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),r["\u0275eld"](7,0,null,null,1,"button",[["class","btn btn-sm btn-default"]],null,[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.tourService.end()&&r),r},null,null)),(t()(),r["\u0275ted"](8,null,["",""]))],function(t,e){var n=e.component;t(e,4,0,n.tourService.hasPrev(e.context.step)),t(e,6,0,n.tourService.hasNext(e.context.step))},function(t,e){t(e,1,0,null==e.context.step?null:e.context.step.content),t(e,8,0,null==e.context.step?null:e.context.step.endBtnTitle)})}function ci(t){return r["\u0275vid"](0,[r["\u0275qud"](402653184,1,{defaultTourStepTemplate:0}),(t()(),r["\u0275and"](0,[[1,2],["tourStep",2]],null,0,null,li))],null,null)}var di=r["\u0275crt"]({encapsulation:2,styles:[],data:{}});function fi(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,16777216,null,null,1,"router-outlet",[],null,null,null,null,null)),r["\u0275did"](1,212992,null,0,sr.t,[sr.b,r.ViewContainerRef,r.ComponentFactoryResolver,[8,null],r.ChangeDetectorRef],null,null),(t()(),r["\u0275eld"](2,0,null,null,2,"tour-step-template",[],null,[["window","keydown.Escape"],["window","keydown.ArrowRight"],["window","keydown.ArrowLeft"]],function(t,e,n){var o=!0;return"window:keydown.Escape"===e&&(o=!1!==r["\u0275nov"](t,3).onEscapeKey()&&o),"window:keydown.ArrowRight"===e&&(o=!1!==r["\u0275nov"](t,3).onArrowRightKey()&&o),"window:keydown.ArrowLeft"===e&&(o=!1!==r["\u0275nov"](t,3).onArrowLeftKey()&&o),o},ci,ai)),r["\u0275did"](3,1097728,null,1,Fo.b,[Fo.d,Fo.c],null,null),r["\u0275qud"](335544320,1,{stepTemplate:0})],function(t,e){t(e,1,0)},null)}var pi=r["\u0275ccf"]("app-root",p,function(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,1,"app-root",[],null,null,null,fi,di)),r["\u0275did"](1,1097728,null,0,p,[Ir,f],null,null)],null,null)},{},{},[]),hi=n("Wo6q"),mi=n("ENq3"),gi=n("/6xy"),vi=n("Lnpi"),yi=n("flj8"),bi=n("Dquc"),_i=n("Pvuo"),wi=n("VKgo"),Ci=n("Tk1w"),Oi=function(){function t(t,e){var n=this;this.router=t,this.events=e,this.router.events.subscribe(function(t){t instanceof sr.e&&(n.events.registerEvent(l.a.appNavigated,{previous_url:n.previousUrl,new_url:t.urlAfterRedirects}),n.previousUrl=t.urlAfterRedirects)})}return t.ngInjectableDef=r.defineInjectable({factory:function(){return new t(r.inject(sr.o),r.inject(l.b))},token:t,providedIn:"root"}),t}(),Si=n("7Yy4"),Ei=n("MVOv"),xi=function(){return function(t,e){t.events.subscribe(function(t){t instanceof sr.g&&e.start(),(t instanceof sr.f||t instanceof sr.e||t instanceof sr.d)&&e.complete()})}}(),ki=n("PCNd"),Ti=r["\u0275cmf"](s,[p],function(t){return r["\u0275mod"]([r["\u0275mpd"](512,r.ComponentFactoryResolver,r["\u0275CodegenComponentFactoryResolver"],[[8,[h.a,m.a,m.b,m.o,m.k,m.l,m.m,m.n,x,k.a,Uo,$o,Qo,ti,ii,pi]],[3,r.ComponentFactoryResolver],r.NgModuleRef]),r["\u0275mpd"](5120,r.LOCALE_ID,r["\u0275angular_packages_core_core_k"],[[3,r.LOCALE_ID]]),r["\u0275mpd"](4608,v.q,v.p,[r.LOCALE_ID,[2,v.E]]),r["\u0275mpd"](5120,r.APP_ID,r["\u0275angular_packages_core_core_f"],[]),r["\u0275mpd"](5120,r.IterableDiffers,r["\u0275angular_packages_core_core_i"],[]),r["\u0275mpd"](5120,r.KeyValueDiffers,r["\u0275angular_packages_core_core_j"],[]),r["\u0275mpd"](4608,ht.DomSanitizer,ht["\u0275DomSanitizerImpl"],[v.d]),r["\u0275mpd"](6144,r.Sanitizer,null,[ht.DomSanitizer]),r["\u0275mpd"](4608,ht.HAMMER_GESTURE_CONFIG,ht.HammerGestureConfig,[]),r["\u0275mpd"](5120,ht.EVENT_MANAGER_PLUGINS,function(t,e,n,r,o,i,a,s){return[new ht["\u0275DomEventsPlugin"](t,e,n),new ht["\u0275KeyEventsPlugin"](r),new ht["\u0275HammerGesturesPlugin"](o,i,a,s)]},[v.d,r.NgZone,r.PLATFORM_ID,v.d,v.d,ht.HAMMER_GESTURE_CONFIG,r["\u0275Console"],[2,ht.HAMMER_LOADER]]),r["\u0275mpd"](4608,ht.EventManager,ht.EventManager,[ht.EVENT_MANAGER_PLUGINS,r.NgZone]),r["\u0275mpd"](135680,ht["\u0275DomSharedStylesHost"],ht["\u0275DomSharedStylesHost"],[v.d]),r["\u0275mpd"](4608,ht["\u0275DomRendererFactory2"],ht["\u0275DomRendererFactory2"],[ht.EventManager,ht["\u0275DomSharedStylesHost"]]),r["\u0275mpd"](5120,re,Zn,[]),r["\u0275mpd"](5120,We,Kn,[]),r["\u0275mpd"](4608,On,Wn,[v.d,re,We]),r["\u0275mpd"](5120,r.RendererFactory2,Qn,[ht["\u0275DomRendererFactory2"],On,r.NgZone]),r["\u0275mpd"](6144,ht["\u0275SharedStylesHost"],null,[ht["\u0275DomSharedStylesHost"]]),r["\u0275mpd"](4608,r.Testability,r.Testability,[r.NgZone]),r["\u0275mpd"](4608,po.j,po.p,[v.d,r.PLATFORM_ID,po.n]),r["\u0275mpd"](4608,po.q,po.q,[po.j,po.o]),r["\u0275mpd"](5120,po.a,function(t){return[t]},[po.q]),r["\u0275mpd"](4608,po.m,po.m,[]),r["\u0275mpd"](6144,po.k,null,[po.m]),r["\u0275mpd"](4608,po.i,po.i,[po.k]),r["\u0275mpd"](6144,po.b,null,[po.i]),r["\u0275mpd"](4608,po.g,po.l,[po.b,r.Injector]),r["\u0275mpd"](4608,po.c,po.c,[po.g]),r["\u0275mpd"](4608,F.b,Bn,[r.RendererFactory2,ht.DOCUMENT]),r["\u0275mpd"](4608,so["\u0275angular_packages_forms_forms_i"],so["\u0275angular_packages_forms_forms_i"],[]),r["\u0275mpd"](4608,so.FormBuilder,so.FormBuilder,[]),r["\u0275mpd"](4608,d.w,d.w,[r.ComponentFactoryResolver,r.Injector,d.gb,d.x]),r["\u0275mpd"](4608,hi.b,hi.b,[]),r["\u0275mpd"](5120,sr.a,sr.E,[sr.o]),r["\u0275mpd"](4608,sr.h,sr.h,[]),r["\u0275mpd"](6144,sr.j,null,[sr.h]),r["\u0275mpd"](135680,sr.u,sr.u,[sr.o,r.NgModuleFactoryLoader,r.Compiler,r.Injector,sr.j]),r["\u0275mpd"](4608,sr.i,sr.i,[]),r["\u0275mpd"](5120,sr.I,sr.A,[sr.o,v.x,sr.k]),r["\u0275mpd"](5120,sr.l,sr.H,[sr.F]),r["\u0275mpd"](5120,r.APP_BOOTSTRAP_LISTENER,function(t){return[t]},[sr.l]),r["\u0275mpd"](5120,gr,a,[po.c]),r["\u0275mpd"](4608,_r,wr,[]),r["\u0275mpd"](4608,Er,xr,[]),r["\u0275mpd"](4608,yr,br,[]),r["\u0275mpd"](4608,kr,kr,[]),r["\u0275mpd"](4608,Ir,Ir,[kr,gr,_r,Er,yr,jr,Tr]),r["\u0275mpd"](4608,Fo.d,Fo.d,[]),r["\u0275mpd"](4608,mi.c,mi.c,[sr.o]),r["\u0275mpd"](4608,Fo.c,Fo.c,[sr.o]),r["\u0275mpd"](4608,gi.a,gi.b,[]),r["\u0275mpd"](4608,gi.d,gi.c,[]),r["\u0275mpd"](4608,to.c,to.c,[]),r["\u0275mpd"](4608,fo.a,fo.a,[po.c,to.c]),r["\u0275mpd"](4608,co.a,co.a,[g.j,hi.b,fo.a]),r["\u0275mpd"](4608,vi.a,vi.a,[to.c,po.c,co.a]),r["\u0275mpd"](4608,Xr.a,Xr.a,[to.c,vi.a]),r["\u0275mpd"](4608,yi.a,yi.a,[po.c]),r["\u0275mpd"](4608,bi.a,bi.a,[to.c,sr.o]),r["\u0275mpd"](4608,_i.a,_i.a,[po.c]),r["\u0275mpd"](4608,Ao.a,Ao.a,[d.w]),r["\u0275mpd"](4608,Jr,Jr,[]),r["\u0275mpd"](4608,wi.a,wi.a,[po.c,sr.o,co.a]),r["\u0275mpd"](4608,Ci.a,Ci.a,[wi.a,sr.o]),r["\u0275mpd"](4608,l.b,l.b,[po.c,to.c,sr.a]),r["\u0275mpd"](4608,f,f,[d.w,l.b]),r["\u0275mpd"](4608,ho,ho,[po.c]),r["\u0275mpd"](4608,Oi,Oi,[sr.o,l.b]),r["\u0275mpd"](4608,mo.b,mo.b,[l.b]),r["\u0275mpd"](4608,Si.b,Si.b,[l.b]),r["\u0275mpd"](4608,Ei.a,Ei.a,[to.c,sr.o]),r["\u0275mpd"](1073742336,v.c,v.c,[]),r["\u0275mpd"](1024,r.ErrorHandler,ht["\u0275angular_packages_platform_browser_platform_browser_a"],[]),r["\u0275mpd"](1024,r.NgProbeToken,function(){return[sr.z()]},[]),r["\u0275mpd"](512,sr.F,sr.F,[r.Injector]),r["\u0275mpd"](1024,r.APP_INITIALIZER,function(t,e){return[ht["\u0275angular_packages_platform_browser_platform_browser_j"](t),sr.G(e)]},[[2,r.NgProbeToken],sr.F]),r["\u0275mpd"](512,r.ApplicationInitStatus,r.ApplicationInitStatus,[[2,r.APP_INITIALIZER]]),r["\u0275mpd"](131584,r.ApplicationRef,r.ApplicationRef,[r.NgZone,r["\u0275Console"],r.Injector,r.ErrorHandler,r.ComponentFactoryResolver,r.ApplicationInitStatus]),r["\u0275mpd"](1073742336,r.ApplicationModule,r.ApplicationModule,[r.ApplicationRef]),r["\u0275mpd"](1073742336,ht.BrowserModule,ht.BrowserModule,[[3,ht.BrowserModule]]),r["\u0275mpd"](1073742336,po.e,po.e,[]),r["\u0275mpd"](1073742336,po.d,po.d,[]),r["\u0275mpd"](1073742336,Jn,Jn,[]),r["\u0275mpd"](1024,sr.y,sr.C,[[3,sr.o]]),r["\u0275mpd"](512,sr.w,sr.c,[]),r["\u0275mpd"](512,sr.b,sr.b,[]),r["\u0275mpd"](256,sr.k,{},[]),r["\u0275mpd"](1024,v.l,sr.B,[v.v,[2,v.a],sr.k]),r["\u0275mpd"](512,v.k,v.k,[v.l]),r["\u0275mpd"](512,r.Compiler,r.Compiler,[]),r["\u0275mpd"](512,r.NgModuleFactoryLoader,r.SystemJsNgModuleLoader,[r.Compiler,[2,r.SystemJsNgModuleLoaderConfig]]),r["\u0275mpd"](1024,sr.m,function(){return[[{path:"",redirectTo:"onboarding",pathMatch:"full"},{path:"teacher",component:Vo,children:[{path:"classroom",loadChildren:"./classroom/classroom.module#ClassroomModule"},{path:"rule-set",loadChildren:"./rule-set/rule-set.module#RuleSetModule"},{path:"",redirectTo:"classroom",pathMatch:"prefix"}]},{path:"admin",component:zo,loadChildren:"./admin/admin.module#AdminModule"},{path:"",component:Wo,children:[{path:"onboarding",loadChildren:"./onboarding/onboarding.module#OnboardingModule"},{path:"account",loadChildren:"./account/account.module#AccountModule"},{path:"error",loadChildren:"./error/error.module#ErrorModule"}]},{path:"**",redirectTo:"/error/404",pathMatch:"full"}]]},[]),r["\u0275mpd"](1024,sr.o,sr.D,[r.ApplicationRef,sr.w,sr.b,v.k,r.Injector,r.NgModuleFactoryLoader,r.Compiler,sr.m,sr.k,[2,sr.v],[2,sr.n]]),r["\u0275mpd"](1073742336,sr.s,sr.s,[[2,sr.y],[2,sr.o]]),r["\u0275mpd"](1073742336,so["\u0275angular_packages_forms_forms_bb"],so["\u0275angular_packages_forms_forms_bb"],[]),r["\u0275mpd"](1073742336,so.FormsModule,so.FormsModule,[]),r["\u0275mpd"](1073742336,so.ReactiveFormsModule,so.ReactiveFormsModule,[]),r["\u0275mpd"](1073742336,Pr,Pr,[]),r["\u0275mpd"](1073742336,P,P,[]),r["\u0275mpd"](131584,I,I,[r.PLATFORM_ID]),r["\u0275mpd"](1073742336,xi,xi,[sr.o,I]),r["\u0275mpd"](1073742336,d.c,d.c,[]),r["\u0275mpd"](1073742336,d.g,d.g,[]),r["\u0275mpd"](1073742336,d.h,d.h,[]),r["\u0275mpd"](1073742336,d.l,d.l,[]),r["\u0275mpd"](1073742336,d.m,d.m,[]),r["\u0275mpd"](1073742336,d.r,d.r,[]),r["\u0275mpd"](1073742336,d.u,d.u,[]),r["\u0275mpd"](1073742336,d.y,d.y,[]),r["\u0275mpd"](1073742336,d.C,d.C,[]),r["\u0275mpd"](1073742336,d.G,d.G,[]),r["\u0275mpd"](1073742336,d.J,d.J,[]),r["\u0275mpd"](1073742336,d.N,d.N,[]),r["\u0275mpd"](1073742336,d.S,d.S,[]),r["\u0275mpd"](1073742336,d.W,d.W,[]),r["\u0275mpd"](1073742336,d.Z,d.Z,[]),r["\u0275mpd"](1073742336,d.cb,d.cb,[]),r["\u0275mpd"](1073742336,d.z,d.z,[]),r["\u0275mpd"](1073742336,ut,ut,[]),r["\u0275mpd"](1073742336,Ot,Ot,[[2,Ct]]),r["\u0275mpd"](1073742336,pt,pt,[]),r["\u0275mpd"](1073742336,At,At,[]),r["\u0275mpd"](1073742336,it,it,[]),r["\u0275mpd"](1073742336,g.i,g.i,[]),r["\u0275mpd"](1073742336,Fo.a,Fo.a,[]),r["\u0275mpd"](1073742336,hi.a,hi.a,[]),r["\u0275mpd"](1073742336,gi.f,gi.f,[]),r["\u0275mpd"](1073742336,ki.a,ki.a,[]),r["\u0275mpd"](1073742336,s,s,[]),r["\u0275mpd"](256,r["\u0275APP_ROOT"],!0,[]),r["\u0275mpd"](256,po.n,"XSRF-TOKEN",[]),r["\u0275mpd"](256,po.o,"X-XSRF-TOKEN",[]),r["\u0275mpd"](256,Yn,"BrowserAnimations",[]),r["\u0275mpd"](256,Tr,void 0,[]),r["\u0275mpd"](256,jr,void 0,[]),r["\u0275mpd"](256,g.b,{default:g.a,config:{progressBar:!0,preventDuplicates:!0,resetTimeoutOnDuplicate:!0,maxOpened:3,timeOut:3e3}},[])])});o.a.production&&Object(r.enableProdMode)(),ht.platformBrowser().bootstrapModuleFactory(Ti).catch(function(t){return console.log(t)})},zotm:function(t,e,n){"use strict";n.d(e,"a",function(){return i});var r=n("rPjj"),o=n("Fxb1");function i(t,e,n,i,a){if(void 0===a&&(a=new r.a(t,n,i)),!a.closed)return Object(o.a)(e)(a)}}},[[0,1]]]);