text: (window.webpackJsonp=window.webpackJsonp||[]).push([[1],{0:function(e,t,n){e.exports=n("zUnb")},"2QA8":function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));const r="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},"2fFW":function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));let r=!1;const s={Promise:void 0,set useDeprecatedSynchronousErrorHandling(e){if(e){const e=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+e.stack)}else r&&console.log("RxJS: Back to a better error behavior. Thank you. <3");r=e},get useDeprecatedSynchronousErrorHandling(){return r}}},"5+tZ":function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r=n("ZUHj"),s=n("l7GE"),i=n("51Dv"),o=n("lJxs"),a=n("Cfvw");function l(e,t,n=Number.POSITIVE_INFINITY){return"function"==typeof t?r=>r.pipe(l((n,r)=>Object(a.a)(e(n,r)).pipe(Object(o.a)((e,s)=>t(n,e,r,s))),n)):("number"==typeof t&&(n=t),t=>t.lift(new c(e,n)))}class c{constructor(e,t=Number.POSITIVE_INFINITY){this.project=e,this.concurrent=t}call(e,t){return t.subscribe(new u(e,this.project,this.concurrent))}}class u extends s.a{constructor(e,t,n=Number.POSITIVE_INFINITY){super(e),this.project=t,this.concurrent=n,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(e){this.active<this.concurrent?this._tryNext(e):this.buffer.push(e)}_tryNext(e){let t;const n=this.index++;try{t=this.project(e,n)}catch(r){return void this.destination.error(r)}this.active++,this._innerSub(t,e,n)}_innerSub(e,t,n){const s=new i.a(this,void 0,void 0);this.destination.add(s),Object(r.a)(this,e,t,n,s)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(e,t,n,r,s){this.destination.next(t)}notifyComplete(e){const t=this.buffer;this.remove(e),this.active--,t.length>0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}},"51Dv":function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n("7o/Q");class s extends r.a{constructor(e,t,n){super(),this.parent=e,this.outerValue=t,this.outerIndex=n,this.index=0}_next(e){this.parent.notifyNext(this.outerValue,e,this.outerIndex,this.index++,this)}_error(e){this.parent.notifyError(e,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}},"7o/Q":function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var r=n("n6bG"),s=n("gRHU"),i=n("quSY"),o=n("2QA8"),a=n("2fFW"),l=n("NJ4a");class c extends i.a{constructor(e,t,n){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=s.a;break;case 1:if(!e){this.destination=s.a;break}if("object"==typeof e){e instanceof c?(this.syncErrorThrowable=e.syncErrorThrowable,this.destination=e,e.add(this)):(this.syncErrorThrowable=!0,this.destination=new u(this,e));break}default:this.syncErrorThrowable=!0,this.destination=new u(this,e,t,n)}}[o.a](){return this}static create(e,t,n){const r=new c(e,t,n);return r.syncErrorThrowable=!1,r}next(e){this.isStopped||this._next(e)}error(e){this.isStopped||(this.isStopped=!0,this._error(e))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(e){this.destination.next(e)}_error(e){this.destination.error(e),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parent:e,_parents:t}=this;return this._parent=null,this._parents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parent=e,this._parents=t,this}}class u extends c{constructor(e,t,n,i){let o;super(),this._parentSubscriber=e;let a=this;Object(r.a)(t)?o=t:t&&(o=t.next,n=t.error,i=t.complete,t!==s.a&&(a=Object.create(t),Object(r.a)(a.unsubscribe)&&this.add(a.unsubscribe.bind(a)),a.unsubscribe=this.unsubscribe.bind(this))),this._context=a,this._next=o,this._error=n,this._complete=i}next(e){if(!this.isStopped&&this._next){const{_parentSubscriber:t}=this;a.a.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?this.__tryOrSetError(t,this._next,e)&&this.unsubscribe():this.__tryOrUnsub(this._next,e)}}error(e){if(!this.isStopped){const{_parentSubscriber:t}=this,{useDeprecatedSynchronousErrorHandling:n}=a.a;if(this._error)n&&t.syncErrorThrowable?(this.__tryOrSetError(t,this._error,e),this.unsubscribe()):(this.__tryOrUnsub(this._error,e),this.unsubscribe());else if(t.syncErrorThrowable)n?(t.syncErrorValue=e,t.syncErrorThrown=!0):Object(l.a)(e),this.unsubscribe();else{if(this.unsubscribe(),n)throw e;Object(l.a)(e)}}}complete(){if(!this.isStopped){const{_parentSubscriber:e}=this;if(this._complete){const t=()=>this._complete.call(this._context);a.a.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?(this.__tryOrSetError(e,t),this.unsubscribe()):(this.__tryOrUnsub(t),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(e,t){try{e.call(this._context,t)}catch(n){if(this.unsubscribe(),a.a.useDeprecatedSynchronousErrorHandling)throw n;Object(l.a)(n)}}__tryOrSetError(e,t,n){if(!a.a.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,n)}catch(r){return a.a.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=r,e.syncErrorThrown=!0,!0):(Object(l.a)(r),!0)}return!1}_unsubscribe(){const{_parentSubscriber:e}=this;this._context=null,this._parentSubscriber=null,e.unsubscribe()}}},"8Y7J":function(e,t,n){"use strict";var r=n("XNiG"),s=n("quSY"),i=n("HDdC"),o=n("z+Ro"),a=n("bHdf"),l=n("yCtX"),c=n("7o/Q");function u(){return function(e){return e.lift(new h(e))}}class h{constructor(e){this.connectable=e}call(e,t){const{connectable:n}=this;n._refCount++;const r=new d(e,n),s=t.subscribe(r);return r.closed||(r.connection=n.connect()),s}}class d extends c.a{constructor(e,t){super(e),this.connectable=t}_unsubscribe(){const{connectable:e}=this;if(!e)return void(this.connection=null);this.connectable=null;const t=e._refCount;if(t<=0)return void(this.connection=null);if(e._refCount=t-1,t>1)return void(this.connection=null);const{connection:n}=this,r=e._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}const p=class extends i.a{constructor(e,t){super(),this.source=e,this.subjectFactory=t,this._refCount=0,this._isComplete=!1}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){const e=this._subject;return e&&!e.isStopped||(this._subject=this.subjectFactory()),this._subject}connect(){let e=this._connection;return e||(this._isComplete=!1,(e=this._connection=new s.a).add(this.source.subscribe(new g(this.getSubject(),this))),e.closed?(this._connection=null,e=s.a.EMPTY):this._connection=e),e}refCount(){return u()(this)}}.prototype,f={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:p._subscribe},_isComplete:{value:p._isComplete,writable:!0},getSubject:{value:p.getSubject},connect:{value:p.connect},refCount:{value:p.refCount}};class g extends r.b{constructor(e,t){super(e),this.connectable=t}_error(e){this._unsubscribe(),super._error(e)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const e=this.connectable;if(e){this.connectable=null;const t=e._connection;e._refCount=0,e._subject=null,e._connection=null,t&&t.unsubscribe()}}}function m(){return new r.a}n.d(t,"gb",(function(){return Jo})),n.d(t,"hb",(function(){return Ko})),n.d(t,"ib",(function(){return Yo})),n.d(t,"jb",(function(){return Xo})),n.d(t,"fb",(function(){return Ai})),n.d(t,"g",(function(){return Po})),n.d(t,"P",(function(){return Io})),n.d(t,"w",(function(){return ko})),n.d(t,"Q",(function(){return xt})),n.d(t,"T",(function(){return Ct})),n.d(t,"c",(function(){return zi})),n.d(t,"A",(function(){return Bi})),n.d(t,"z",(function(){return qi})),n.d(t,"b",(function(){return Gi})),n.d(t,"d",(function(){return Hi})),n.d(t,"e",(function(){return $i})),n.d(t,"S",(function(){return Wo})),n.d(t,"K",(function(){return _o})),n.d(t,"V",(function(){return xo})),n.d(t,"s",(function(){return Zi})),n.d(t,"f",(function(){return ea})),n.d(t,"m",(function(){return Ui})),n.d(t,"l",(function(){return vt})),n.d(t,"E",(function(){return Wt})),n.d(t,"F",(function(){return Gt})),n.d(t,"a",(function(){return jn})),n.d(t,"N",(function(){return se})),n.d(t,"L",(function(){return br})),n.d(t,"Kb",(function(){return E})),n.d(t,"R",(function(){return I})),n.d(t,"p",(function(){return Sn})),n.d(t,"Lb",(function(){return J})),n.d(t,"o",(function(){return M})),n.d(t,"n",(function(){return v})),n.d(t,"y",(function(){return _})),n.d(t,"G",(function(){return C})),n.d(t,"x",(function(){return po})),n.d(t,"B",(function(){return mr})),n.d(t,"C",(function(){return fr})),n.d(t,"D",(function(){return gr})),n.d(t,"i",(function(){return to})),n.d(t,"j",(function(){return ar})),n.d(t,"k",(function(){return hr})),n.d(t,"t",(function(){return ee})),n.d(t,"v",(function(){return X})),n.d(t,"u",(function(){return Vo})),n.d(t,"H",(function(){return Ho})),n.d(t,"I",(function(){return Fo})),n.d(t,"J",(function(){return Dr})),n.d(t,"M",(function(){return Mr})),n.d(t,"h",(function(){return _n})),n.d(t,"q",(function(){return Ir})),n.d(t,"r",(function(){return Rr})),n.d(t,"O",(function(){return Fn})),n.d(t,"U",(function(){return Qo})),n.d(t,"sb",(function(){return Ln})),n.d(t,"Y",(function(){return Wi})),n.d(t,"W",(function(){return Cn})),n.d(t,"X",(function(){return lr})),n.d(t,"bb",(function(){return Bt})),n.d(t,"cb",(function(){return Jt})),n.d(t,"db",(function(){return Tt})),n.d(t,"rb",(function(){return V})),n.d(t,"vb",(function(){return Mn})),n.d(t,"Db",(function(){return A})),n.d(t,"tb",(function(){return er})),n.d(t,"ub",(function(){return Xn})),n.d(t,"qb",(function(){return ji})),n.d(t,"pb",(function(){return Pi})),n.d(t,"Z",(function(){return ki})),n.d(t,"ab",(function(){return Ii})),n.d(t,"Jb",(function(){return fe})),n.d(t,"Hb",(function(){return Pn})),n.d(t,"Nb",(function(){return $n})),n.d(t,"Mb",(function(){return zn})),n.d(t,"Ib",(function(){return Bn})),n.d(t,"Ob",(function(){return Wn})),n.d(t,"eb",(function(){return ta})),n.d(t,"kb",(function(){return Hs})),n.d(t,"lb",(function(){return Cl})),n.d(t,"mb",(function(){return ns})),n.d(t,"nb",(function(){return hi})),n.d(t,"ob",(function(){return na})),n.d(t,"wb",(function(){return Ps})),n.d(t,"xb",(function(){return js})),n.d(t,"yb",(function(){return Ys})),n.d(t,"Ab",(function(){return di})),n.d(t,"Bb",(function(){return pi})),n.d(t,"zb",(function(){return pa})),n.d(t,"Cb",(function(){return aa})),n.d(t,"Eb",(function(){return fa})),n.d(t,"Fb",(function(){return Xr})),n.d(t,"Gb",(function(){return ya}));const y="__parameters__";function b(e,t,n){const r=function(e){return function(...t){if(e){const n=e(...t);for(const e in n)this[e]=n[e]}}}(t);function s(...e){if(this instanceof s)return r.apply(this,e),this;const t=new s(...e);return n.annotation=t,n;function n(e,n,r){const s=e.hasOwnProperty(y)?e[y]:Object.defineProperty(e,y,{value:[]})[y];for(;s.length<=r;)s.push(null);return(s[r]=s[r]||[]).push(t),e}}return n&&(s.prototype=Object.create(n.prototype)),s.prototype.ngMetadataName=e,s.annotationCls=s,s}const v=b("Inject",e=>({token:e})),_=b("Optional"),w=b("Self"),C=b("SkipSelf");var x=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}({});function S(e){for(let t in e)if(e[t]===S)return t;throw Error("Could not find renamed property on target object.")}function E(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function O(e){const t=e[T];return t&&t.token===e?t:null}const T=S({ngInjectableDef:S});function A(e){if("string"==typeof e)return e;if(e instanceof Array)return"["+e.map(A).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}const k=S({__forward_ref__:S});function I(e){return e.__forward_ref__=I,e.toString=function(){return A(this())},e}function R(e){const t=e;return"function"==typeof t&&t.hasOwnProperty(k)&&t.__forward_ref__===I?t():e}const N="undefined"!=typeof globalThis&&globalThis,j="undefined"!=typeof window&&window,P="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,D="undefined"!=typeof global&&global,V=N||D||j||P;class M{constructor(e,t){this._desc=e,this.ngMetadataName="InjectionToken",this.ngInjectableDef=void 0,"number"==typeof t?this.__NG_ELEMENT_ID__=t:void 0!==t&&(this.ngInjectableDef=E({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}toString(){return`InjectionToken ${this._desc}`}}const U=new M("INJECTOR",-1),F=new Object,L="ngTempTokenPath",H="ngTokenPath",$=/\n/gm,z="\u0275",B="__source",q=S({provide:String,useValue:S});let G,W=void 0;function Z(e){const t=W;return W=e,t}function Q(e,t=x.Default){if(void 0===W)throw new Error("inject() must be called from an injection context");return null===W?function(e,t,n){const r=O(e);if(r&&"root"==r.providedIn)return void 0===r.value?r.value=r.factory():r.value;if(n&x.Optional)return null;throw new Error(`Injector: NOT_FOUND [${A(e)}]`)}(e,0,t):W.get(e,t&x.Optional?null:void 0,t)}function J(e,t=x.Default){return(G||Q)(e,t)}class K{get(e,t=F){if(t===F){const t=new Error(`NullInjectorError: No provider for ${A(e)}!`);throw t.name="NullInjectorError",t}return t}}function Y(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&e.charAt(1)==z?e.substr(2):e;let s=A(t);if(t instanceof Array)s=t.map(A).join(" -> ");else if("object"==typeof t){let e=[];for(let n in t)if(t.hasOwnProperty(n)){let r=t[n];e.push(n+":"+("string"==typeof r?JSON.stringify(r):A(r)))}s=`{${e.join(", ")}}`}return`${n}${r?"("+r+")":""}[${s}]: ${e.replace($,"\n  ")}`}class X{}class ee{}function te(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function ne(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}const re=function(){var e={OnPush:0,Default:1};return e[e.OnPush]="OnPush",e[e.Default]="Default",e}(),se=function(){var e={Emulated:0,Native:1,None:2,ShadowDom:3};return e[e.Emulated]="Emulated",e[e.Native]="Native",e[e.None]="None",e[e.ShadowDom]="ShadowDom",e}(),ie={},oe=[],ae=S({ngComponentDef:S}),le=S({ngDirectiveDef:S}),ce=S({ngPipeDef:S});let ue=0;function he(e){return function(e){return e[ae]||null}(e)||function(e){return e[le]||null}(e)}function de(e){return function(e){return e[ce]||null}(e)}function pe(e,t){if(null==e)return ie;const n={};for(const r in e)if(e.hasOwnProperty(r)){let s=e[r],i=s;Array.isArray(s)&&(i=s[1],s=s[0]),n[s]=r,t&&(t[s]=i)}return n}const fe=function(e){const t=e.type,n=t.prototype,r={},s={type:t,providersResolver:null,consts:e.consts,vars:e.vars,factory:e.factory,template:e.template||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,contentQueries:e.contentQueries||null,declaredInputs:r,inputs:null,outputs:null,exportAs:e.exportAs||null,onChanges:null,onInit:n.ngOnInit||null,doCheck:n.ngDoCheck||null,afterContentInit:n.ngAfterContentInit||null,afterContentChecked:n.ngAfterContentChecked||null,afterViewInit:n.ngAfterViewInit||null,afterViewChecked:n.ngAfterViewChecked||null,onDestroy:n.ngOnDestroy||null,onPush:e.changeDetection===re.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||se.Emulated,id:"c",styles:e.styles||oe,_:null,setInput:null,schemas:e.schemas||null,tView:null};return s._=""+{toString:()=>{const n=e.directives,i=e.features,o=e.pipes;s.id+=ue++,s.inputs=pe(e.inputs,r),s.outputs=pe(e.outputs),i&&i.forEach(e=>e(s)),s.directiveDefs=n?()=>("function"==typeof n?n():n).map(he):null,s.pipeDefs=o?()=>("function"==typeof o?o():o).map(de):null,t.hasOwnProperty(T)||(t[T]=E({token:t,factory:e.factory}))}},s},ge=0,me=1,ye=7,be=12,ve=19;let _e=null;const we=new Map;let Ce=null;const xe=1,Se=0;function Ee(e,t){return Ce&&e===Ce||(Ce=e,t&&(_e=we.get(e)||null),_e=_e||{classesBitMask:Se,classesIndex:xe,stylesBitMask:Se,stylesIndex:xe}),_e}function Oe(e,t){return function(e){for(;Array.isArray(e);)e=e[ge];return e}(t[e.index])}function Te(e,t){return t[me].data[e+ve]}let Ae=null;function ke(){return Re}let Ie,Re,Ne,je=1,Pe=0,De=0,Ve=-1;function Me(){return Ve}function Ue(){return Ne}const Fe=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(V))(),Le="--MAP--",He=0;function $e(e,t){t===He?e[2]>He&&function(e){Be(e,2|ze(e))}(e):e[2]=t}function ze(e){return e[1]}function Be(e,t){e[1]=t}function qe(e,t){return e[t+2]}function Ge(e,t){return 1&e[t+0]}function We(e,t){return(1&Ge(e,t))>0}function Ze(e,t){return e[t+0]>>1}function Qe(e,t,n){const r=Ge(e,t);e[t+0]=r|n<<1}function Je(e,t){return e[t+1]}function Ke(e,t,n){return e[t+3+n]}function Ye(e,t){return!(!e||t!==e[2])}function Xe(e){return(1&ze(e))>0}function et(e){return(2&ze(e))>0}function tt(e){return 6+e[4]}function nt(e,t){let n=Array.isArray(e)?e[0]:e,r=Array.isArray(t)?t[0]:t;return n instanceof String&&(n=n.toString()),r instanceof String&&(r=r.toString()),function(e,t){return!(e!=e&&t!=t)&&e!==t}(n,r)}function rt(e){return null!=e&&""!==e}function st(e,t,n=" "){return e+(t.length&&e.length?n:"")+t}function it(e){return e.replace(/[a-z][A-Z]/g,e=>e.charAt(0)+"-"+e.charAt(1)).toLowerCase()}function ot(e){return at(e)?e[0]:e}function at(e){return Array.isArray(e)&&e.length>=6&&"string"!=typeof e[1]}function lt(e,t){return e[t+0]}function ct(e,t,n){e[t+1]=n}function ut(e,t){return e[t+1]}const ht=function(){var e={Important:1,DashCase:2};return e[e.Important]="Important",e[e.DashCase]="DashCase",e}();function dt(e){return!!e.listen}const pt="ngDebugContext",ft="ngOriginalError",gt="ngErrorLogger";function mt(e){return e[pt]}function yt(e){return e[ft]}function bt(e,...t){e.error(...t)}class vt{constructor(){this._console=console}handleError(e){const t=this._findOriginalError(e),n=this._findContext(e),r=function(e){return e[gt]||bt}(e);r(this._console,"ERROR",e),t&&r(this._console,"ORIGINAL ERROR",t),n&&r(this._console,"ERROR CONTEXT",n)}_findContext(e){return e?mt(e)?mt(e):this._findContext(yt(e)):null}_findOriginalError(e){let t=yt(e);for(;t&&yt(t);)t=yt(t);return t}}let _t=!0,wt=!1;function Ct(){return wt=!0,_t}function xt(){if(wt)throw new Error("Cannot enable prod mode after platform setup.");_t=!1}class St{constructor(e){if(this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),this.inertBodyElement=this.inertDocument.body,null==this.inertBodyElement){const e=this.inertDocument.createElement("html");this.inertDocument.appendChild(e),this.inertBodyElement=this.inertDocument.createElement("body"),e.appendChild(this.inertBodyElement)}this.inertBodyElement.innerHTML='<svg><g onload="this.parentNode.remove()"></g></svg>',!this.inertBodyElement.querySelector||this.inertBodyElement.querySelector("svg")?(this.inertBodyElement.innerHTML='<svg><p><style><img src="</style><img src=x onerror=alert(1)//">',this.getInertBodyElement=this.inertBodyElement.querySelector&&this.inertBodyElement.querySelector("svg img")&&function(){try{return!!window.DOMParser}catch(e){return!1}}()?this.getInertBodyElement_DOMParser:this.getInertBodyElement_InertDocument):this.getInertBodyElement=this.getInertBodyElement_XHR}getInertBodyElement_XHR(e){e="<body><remove></remove>"+e+"</body>";try{e=encodeURI(e)}catch(r){return null}const t=new XMLHttpRequest;t.responseType="document",t.open("GET","data:text/html;charset=utf-8,"+e,!1),t.send(void 0);const n=t.response.body;return n.removeChild(n.firstChild),n}getInertBodyElement_DOMParser(e){e="<body><remove></remove>"+e+"</body>";try{const t=(new window.DOMParser).parseFromString(e,"text/html").body;return t.removeChild(t.firstChild),t}catch(t){return null}}getInertBodyElement_InertDocument(e){const t=this.inertDocument.createElement("template");return"content"in t?(t.innerHTML=e,t):(this.inertBodyElement.innerHTML=e,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(this.inertBodyElement),this.inertBodyElement)}stripCustomNsAttrs(e){const t=e.attributes;for(let r=t.length-1;0<r;r--){const n=t.item(r).name;"xmlns:ns1"!==n&&0!==n.indexOf("ns1:")||e.removeAttribute(n)}let n=e.firstChild;for(;n;)n.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(n),n=n.nextSibling}}const Et=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,Ot=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;function Tt(e){return(e=String(e)).match(Et)||e.match(Ot)?e:(Ct()&&console.warn(`WARNING: sanitizing unsafe URL value ${e} (see http://g.co/ng/security#xss)`),"unsafe:"+e)}function At(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function kt(...e){const t={};for(const n of e)for(const e in n)n.hasOwnProperty(e)&&(t[e]=!0);return t}const It=At("area,br,col,hr,img,wbr"),Rt=At("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Nt=At("rp,rt"),jt=kt(Nt,Rt),Pt=kt(It,kt(Rt,At("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),kt(Nt,At("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),jt),Dt=At("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Vt=At("srcset"),Mt=kt(Dt,Vt,At("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),At("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),Ut=At("script,style,template");class Ft{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(e){let t=e.firstChild,n=!0;for(;t;)if(t.nodeType===Node.ELEMENT_NODE?n=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,n&&t.firstChild)t=t.firstChild;else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let e=this.checkClobberedElement(t,t.nextSibling);if(e){t=e;break}t=this.checkClobberedElement(t,t.parentNode)}return this.buf.join("")}startElement(e){const t=e.nodeName.toLowerCase();if(!Pt.hasOwnProperty(t))return this.sanitizedSomething=!0,!Ut.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);const n=e.attributes;for(let s=0;s<n.length;s++){const e=n.item(s),t=e.name,i=t.toLowerCase();if(!Mt.hasOwnProperty(i)){this.sanitizedSomething=!0;continue}let o=e.value;Dt[i]&&(o=Tt(o)),Vt[i]&&(r=o,o=(r=String(r)).split(",").map(e=>Tt(e.trim())).join(", ")),this.buf.push(" ",t,'="',$t(o),'"')}var r;return this.buf.push(">"),!0}endElement(e){const t=e.nodeName.toLowerCase();Pt.hasOwnProperty(t)&&!It.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(e){this.buf.push($t(e))}checkClobberedElement(e,t){if(t&&(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`);return t}}const Lt=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Ht=/([^\#-~ |!])/g;function $t(e){return e.replace(/&/g,"&amp;").replace(Lt,(function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"})).replace(Ht,(function(e){return"&#"+e.charCodeAt(0)+";"})).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let zt;function Bt(e,t){let n=null;try{zt=zt||new St(e);let r=t?String(t):"";n=zt.getInertBodyElement(r);let s=5,i=r;do{if(0===s)throw new Error("Failed to sanitize html because the input is unstable");s--,r=i,i=n.innerHTML,n=zt.getInertBodyElement(r)}while(r!==i);const o=new Ft,a=o.sanitizeChildren(qt(n)||n);return Ct()&&o.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss"),a}finally{if(n){const e=qt(n)||n;for(;e.firstChild;)e.removeChild(e.firstChild)}}}function qt(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}const Gt=function(){var e={NONE:0,HTML:1,STYLE:2,SCRIPT:3,URL:4,RESOURCE_URL:5};return e[e.NONE]="NONE",e[e.HTML]="HTML",e[e.STYLE]="STYLE",e[e.SCRIPT]="SCRIPT",e[e.URL]="URL",e[e.RESOURCE_URL]="RESOURCE_URL",e}();class Wt{}const Zt=new RegExp("^([-,.\"'%_!# a-zA-Z0-9]+|(?:(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|Z|3d)?|(?:rgb|hsl)a?|(?:repeating-)?(?:linear|radial)-gradient|(?:calc|attr))\\([-0-9.%, #a-zA-Z]+\\))$","g"),Qt=/^url\(([^)]+)\)$/;function Jt(e){if(!(e=String(e).trim()))return"";const t=e.match(Qt);return t&&Tt(t[1])===t[1]||e.match(Zt)&&function(e){let t=!0,n=!0;for(let r=0;r<e.length;r++){const s=e.charAt(r);"'"===s&&n?t=!t:'"'===s&&t&&(n=!n)}return t&&n}(e)?e:(Ct()&&console.warn(`WARNING: sanitizing unsafe style value ${e} (see http://g.co/ng/security#xss).`),"unsafe")}const Kt=/([A-Z])/g;function Yt(e){try{return null!=e?e.toString().slice(0,30):e}catch(t){return"[ERROR] Exception while trying to serialize the value"}}const Xt=1,en=0,tn=null,nn=1;let rn=[];function sn(e,t,n,r,s,i,o,a,l){Xe(e)||(o?function(e,t,n,r,s){rn.unshift(e,t,n,r,s)}(e,n,r,s,l):(rn.length&&on(),an(e,n,r,s,l)));const c=a||nt(t[s],i);return c&&(t[s]=i),c}function on(){let e=0;for(;e<rn.length;)an(rn[e++],rn[e++],rn[e++],rn[e++],rn[e++]);rn.length=0}function an(e,t,n,r,s){let i=!1;if(n){let o=!1,a=tt(e);for(;a<e.length;){const i=Je(e,a),l=qe(e,a);if(o=n<=l){n<l&&ln(e,a,n,s),cn(e,!1,a,r,t);break}a+=3+i}o||(ln(e,e.length,n,s),cn(e,!1,a,r,t),i=!0)}else cn(e,!0,3,r,t),i=!0;return i}function ln(e,t,n,r){e.splice(t,0,r?1:0,nn,n,tn),Qe(e,t,Xt)}function cn(e,t,n,r,s){const i=n+3;let o=i+Je(e,n);if(t||o--,"number"==typeof r){for(let t=i;t<=o;t++)if(e[t]===r)return;e.splice(o,0,r),e[n+1]++,Qe(e,n,Ze(e,n)|1<<s)}else null!==r&&null==e[o]&&(e[o]=r)}function un(e,t,n,r,s,i,o,a){return s&&r&&(function(e){if(!Xe(e)){const t=ot(e);t&&function(e,t){for(let n=1;n<t.length;n+=2){const r=ut(t,n);r&&an(e,-1,lt(t,n),r,!1)}}(e,t),function(e){Be(e,1|ze(e))}(e)}}(r),function(e,t){return e&&t>Se}(r,i))?(function(e,t,n,r,s,i,o){const a=!0===(l=s)?-1:!1===l?0:l;var l;const c=hn,u=(a&Ze(e,3))>0?1:0;let h=tt(e);for(;h<e.length;){const s=Je(e,h);if(a&Ze(e,h)){let a=!1;const l=qe(e,h),d=s-1,p=Ke(e,h,d);for(let s=0;s<d;s++){const c=Ke(e,h,s),u=r[c];if(rt(u)){i(t,n,l,o&&We(e,h)?o(l,u,2):u,c),a=!0;break}}if(c){const s=c(e,t,n,r,i,o,u|(a?4:2),l,p);a=a||s}a||i(t,n,l,p)}h+=3+s}c&&c(e,t,n,r,i,o,u)}(r,e,t,n,i,o,a),!0):s}let hn=null;const dn=(e,t,n,r)=>{const s=t.style;r?(r=r.toString(),e&&dt(e)?e.setStyle(t,n,r,ht.DashCase):s&&s.setProperty(n,r)):e&&dt(e)?e.removeStyle(t,n,ht.DashCase):s&&s.removeProperty(n)},pn=(e,t,n,r)=>{if(""!==n){const s=t.classList;r?e&&dt(e)?e.addClass(t,n):s&&s.add(n):e&&dt(e)?e.removeClass(t,n):s&&s.remove(n)}},fn={},gn=(e,t,n,r,s,i,o,a,l)=>{let c=!1;if(Je(e,3)){let u=!0;const h=!a;h&&-2&o&&(u=!1,c=!0),u&&(c=function e(t,n,r,s,i,o,a,l,c,u){let h=!1;if(c<Je(t,3)){const p=Ke(t,3,c),f=s[p];let g=((d=c)>=bn.length&&bn.push(1),bn[d]);for(;g<f.length;){const d=lt(f,g),m=l&&d>l,y=!m&&d===l,b=ut(f,g),v=rt(b);let _=e(t,n,r,s,i,o,m?a:mn(a,v,y),m?l:d,c+1,u);if(m){h||(h=_);break}if(!_&&yn(a,y)){const e=y&&!v,t=e?u:b,s=e?p:null;i(n,r,d,o?o(d,t,3):t,s),_=!0}h=_&&y,g+=2}if(bn[c]=g,1===f.length||!l)return e(t,n,r,s,i,o,a,l,c+1,u)}var d;return h}(e,t,n,r,s,i,o,a||null,0,l||null)),h&&function(){for(let e=0;e<bn.length;e++)bn[e]=1}()}return c};function mn(e,t,n){let r=e;return t||4&e||!(n||1&e)?(r|=4,r&=-3):(r|=2,r&=-5),r}function yn(e,t){let n=(1&e)>0;return n?4&e&&t&&(n=!1):2&e&&(n=t),n}const bn=[];function vn(e,t,n,r){for(let s=1;s<e.length;s+=2){const i=lt(e,s);if(t<=i){let o=!1;if(i===t){const t=e[s];!r&&rt(t)||(o=!0,ct(e,s,n))}else o=!0,e.splice(s,0,t,n);return o}}return e.push(t,n),!0}let _n=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>wn(),e})();const wn=(...e)=>{},Cn=new M("The presence of this token marks an injector as being the root injector."),xn=function(e,t,n){return new In(e,t,n)};let Sn=(()=>{class e{static create(e,t){return Array.isArray(e)?xn(e,t,""):xn(e.providers,e.parent,e.name||"")}}return e.THROW_IF_NOT_FOUND=F,e.NULL=new K,e.ngInjectableDef=E({token:e,providedIn:"any",factory:()=>J(U)}),e.__NG_ELEMENT_ID__=-1,e})();const En=function(e){return e},On=[],Tn=En,An=function(){return Array.prototype.slice.call(arguments)},kn="\u0275";class In{constructor(e,t=Sn.NULL,n=null){this.parent=t,this.source=n;const r=this._records=new Map;r.set(Sn,{token:Sn,fn:En,deps:On,value:this,useNew:!1}),r.set(U,{token:U,fn:En,deps:On,value:this,useNew:!1}),function e(t,n){if(n)if((n=R(n))instanceof Array)for(let r=0;r<n.length;r++)e(t,n[r]);else{if("function"==typeof n)throw Nn("Function/Class not supported",n);if(!n||"object"!=typeof n||!n.provide)throw Nn("Unexpected provider",n);{let e=R(n.provide);const r=function(e){const t=function(e){let t=On;const n=e.deps;if(n&&n.length){t=[];for(let e=0;e<n.length;e++){let r=6,s=R(n[e]);if(s instanceof Array)for(let e=0,t=s;e<t.length;e++){const n=t[e];n instanceof _||n==_?r|=1:n instanceof C||n==C?r&=-3:n instanceof w||n==w?r&=-5:s=n instanceof v?n.token:R(n)}t.push({token:s,options:r})}}else if(e.useExisting)t=[{token:R(e.useExisting),options:6}];else if(!(n||q in e))throw Nn("'deps' required",e);return t}(e);let n=En,r=On,s=!1,i=R(e.provide);if(q in e)r=e.useValue;else if(e.useFactory)n=e.useFactory;else if(e.useExisting);else if(e.useClass)s=!0,n=R(e.useClass);else{if("function"!=typeof i)throw Nn("StaticProvider does not have [useValue|useFactory|useExisting|useClass] or [provide] is not newable",e);s=!0,n=i}return{deps:t,fn:n,useNew:s,value:r}}(n);if(!0===n.multi){let r=t.get(e);if(r){if(r.fn!==An)throw Rn(e)}else t.set(e,r={token:n.provide,deps:[],useNew:!1,fn:An,value:On});r.deps.push({token:e=n,options:6})}const s=t.get(e);if(s&&s.fn==An)throw Rn(e);t.set(e,r)}}}(r,e)}get(e,t,n=x.Default){const r=this._records.get(e);try{return function e(t,n,r,s,i,o){try{return function(t,n,r,s,i,o){let a;if(!n||o&x.SkipSelf)o&x.Self||(a=s.get(t,i,x.Default));else{if((a=n.value)==Tn)throw Error(kn+"Circular dependency");if(a===On){n.value=Tn;let t=void 0,i=n.useNew,o=n.fn,l=n.deps,c=On;if(l.length){c=[];for(let t=0;t<l.length;t++){const n=l[t],i=n.options,o=2&i?r.get(n.token):void 0;c.push(e(n.token,o,r,o||4&i?s:Sn.NULL,1&i?null:Sn.THROW_IF_NOT_FOUND,x.Default))}}n.value=a=i?new o(...c):o.apply(t,c)}}return a}(t,n,r,s,i,o)}catch(a){throw a instanceof Error||(a=new Error(a)),(a[L]=a[L]||[]).unshift(t),n&&n.value==Tn&&(n.value=On),a}}(e,r,this._records,this.parent,t,n)}catch(s){return function(e,t,n,r){const s=e[L];throw t[B]&&s.unshift(t[B]),e.message=Y("\n"+e.message,s,"StaticInjectorError",r),e[H]=s,e[L]=null,e}(s,e,0,this.source)}}toString(){const e=[];return this._records.forEach((t,n)=>e.push(A(n))),`StaticInjector[${e.join(", ")}]`}}function Rn(e){return Nn("Cannot mix multi providers and regular providers",e)}function Nn(e,t){return new Error(Y(e,t,"StaticInjectorError"))}const jn=new M("AnalyzeForEntryComponents");function Pn(e){const t=ke(),n=t[me];n.firstTemplatePass&&(function(e,t,n){const r=e.expandoInstructions,s=r.length;s>=2&&r[s-2]===t.hostBindings?r[s-1]=r[s-1]+n:r.push(t.hostBindings,n)}(n,Ae,e),function(e,t,n){for(let r=0;r<n;r++)t.push(fn),e.blueprint.push(fn),e.data.push(null)}(n,t,e))}let Dn=null;function Vn(){if(!Dn){const e=V.Symbol;if(e&&e.iterator)Dn=e.iterator;else{const e=Object.getOwnPropertyNames(Map.prototype);for(let t=0;t<e.length;++t){const n=e[t];"entries"!==n&&"size"!==n&&Map.prototype[n]===Map.prototype.entries&&(Dn=n)}}}return Dn}function Mn(e,t){return e===t||"number"==typeof e&&"number"==typeof t&&isNaN(e)&&isNaN(t)}function Un(e,t){const n=Ln(e),r=Ln(t);if(n&&r)return function(e,t,n){const r=e[Vn()](),s=t[Vn()]();for(;;){const e=r.next(),t=s.next();if(e.done&&t.done)return!0;if(e.done||t.done)return!1;if(!n(e.value,t.value))return!1}}(e,t,Un);{const s=e&&("object"==typeof e||"function"==typeof e),i=t&&("object"==typeof t||"function"==typeof t);return!(n||!s||r||!i)||Mn(e,t)}}class Fn{constructor(e){this.wrapped=e}static wrap(e){return new Fn(e)}static unwrap(e){return Fn.isWrapped(e)?e.wrapped:e}static isWrapped(e){return e instanceof Fn}}function Ln(e){return!!Hn(e)&&(Array.isArray(e)||!(e instanceof Map)&&Vn()in e)}function Hn(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function $n(){var e,t;ke()[me].firstTemplatePass&&(e=Ie,t=Zn(),$e(Jn(e),t),$e(Qn(e),t))}function zn(e){const t=Me(),n=ke(),r=Te(t,n),s=Qn(r),i=Zn(),o=n[ye]++;!i&&function(e){return 0!=(16&e.flags)}(r)&&e!==fn&&(Gn(s,n,r,o,e,!1),e=fn),qn(t,s,o,e,!1,Yn())}function Bn(e){!function(e,t){const n=ke(),r=Te(e,n),s=Jn(r),i=Zn(),o=n[ye]++;!i&&function(e){return 0!=(8&e.flags)}(r)&&t!==fn&&(Gn(s,n,r,o,t,!0),t=fn),qn(e,s,o,t,!0,Yn())}(Me(),e)}function qn(e,t,n,r,s,i){hn=gn;const o=ke();let a=!1;if(r!==fn){const l=Oe(Te(e,o),o),c=o[n];a=nt(c,r);const u=function(e,t,n){const r=Array.isArray(e)?e:[null];r[0]=t||null;for(let a=1;a<r.length;a+=2)ct(r,a,null);let s,i=null,o=!1;if("string"==typeof t?t.length&&(i=t.split(/\s+/),o=!0):(i=t?Object.keys(t):null,s=t),i)for(let a=0;a<i.length;a++){const e=i[a];vn(r,n?it(e):e,!!o||s[e],!0)}return r}(c,r,!s);s?function(e,t,n,r,s,i,o,a){const l=Ee(n,et(e)),c=en;!sn(e,t,c,null,s,i,o,a,!1)&&!a||(l.classesBitMask|=1<<c)}(t,o,l,0,n,u,i,a):function(e,t,n,r,s,i,o,a,l){const c=Ee(n,et(e)),u=en;!sn(e,t,u,null,s,i,a,l,!0)&&!l||(c.stylesBitMask|=1<<u)}(t,o,l,0,n,u,Ue(),i,a)}return a}function Gn(e,t,n,r,s,i){t[r]!==s&&((s||Xe(e))&&function(e,t,n){const r=e[me];for(let s=0;s<t.length;){const i=t[s++],o=t[s++],a=t[s++],l=e[i],c=r.data[i];c.setInput?c.setInput(l,n,o,a):l[a]=n}}(t,n.inputs[i?"class":"style"],function(e,t,n){let r=t;var s;return e.length>0&&(r=n?st(e,((s=t)&&"string"!=typeof s&&(s=Object.keys(s).join(" ")),s||"")):st(e,function(e){let t="";if(e){const n=Object.keys(e);for(let r=0;r<n.length;r++){const s=n[r];t=st(t,`${s}:${e[s]}`,";")}}return t}(t),";")),r}(function(e){const t=ot(e);return t&&t[0]||""}(e),s,i)),t[r]=s)}function Wn(){const e=Me(),t=ke(),n=Te(e,t),r=function(e,t){return 3===e.type?t[be]:null}(n,t),s=Oe(n,t),i=Zn(),o=Ue();(function(e,t,n,r,s,i,o){const a=n?et(n):!!r&&et(r),l=Ye(n,i),c=Ye(r,i);rn.length&&(l||c)&&on();const u=Ee(s,a),h=un(e,s,t,n,l,u.classesBitMask,pn,null),d=un(e,s,t,r,c,u.stylesBitMask,dn,o);h&&d?(_e=null,Ce=null,a&&function(e){we.delete(e)}(s)):a&&function(e,t){we.set(e,t)}(s,u)})(r,t,Jn(n),Qn(n),s,i,o),Ne=null}function Zn(){return je+Pe}function Qn(e){return Kn(e,!1)}function Jn(e){return Kn(e,!0)}function Kn(e,t){let n=t?e.classes:e.styles;return at(n)||(n=[n||[""],0,He,1,0,Le],t?e.classes=n:e.styles=n),n}function Yn(){return De>0}function Xn(e){return!!e&&"function"==typeof e.then}function er(e){return!!e&&"function"==typeof e.subscribe}class tr{constructor(e,t,n){this.previousValue=e,this.currentValue=t,this.firstChange=n}isFirstChange(){return this.firstChange}}class nr{}class rr{}function sr(e){const t=Error(`No component factory found for ${A(e)}. Did you add it to @NgModule.entryComponents?`);return t[ir]=e,t}const ir="ngComponent";class or{resolveComponentFactory(e){throw sr(e)}}let ar=(()=>{class e{}return e.NULL=new or,e})();class lr{constructor(e,t,n){this._parent=t,this._ngModule=n,this._factories=new Map;for(let r=0;r<e.length;r++){const t=e[r];this._factories.set(t.componentType,t)}}resolveComponentFactory(e){let t=this._factories.get(e);if(!t&&this._parent&&(t=this._parent.resolveComponentFactory(e)),!t)throw sr(e);return new cr(t,this._ngModule)}}class cr extends rr{constructor(e,t){super(),this.factory=e,this.ngModule=t,this.selector=e.selector,this.componentType=e.componentType,this.ngContentSelectors=e.ngContentSelectors,this.inputs=e.inputs,this.outputs=e.outputs}create(e,t,n,r){return this.factory.create(e,t,n,r||this.ngModule)}}function ur(...e){}let hr=(()=>{class e{constructor(e){this.nativeElement=e}}return e.__NG_ELEMENT_ID__=()=>dr(e),e})();const dr=ur;class pr{}class fr{}const gr=function(){var e={Important:1,DashCase:2};return e[e.Important]="Important",e[e.DashCase]="DashCase",e}();let mr=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>yr(),e})();const yr=ur;class br{constructor(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}}const vr=new br("8.2.11");class _r{constructor(){}supports(e){return Ln(e)}create(e){return new Cr(e)}}const wr=(e,t)=>t;class Cr{constructor(e){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=e||wr}forEachItem(e){let t;for(t=this._itHead;null!==t;t=t._next)e(t)}forEachOperation(e){let t=this._itHead,n=this._removalsHead,r=0,s=null;for(;t||n;){const i=!n||t&&t.currentIndex<Or(n,r,s)?t:n,o=Or(i,r,s),a=i.currentIndex;if(i===n)r--,n=n._nextRemoved;else if(t=t._next,null==i.previousIndex)r++;else{s||(s=[]);const e=o-r,t=a-r;if(e!=t){for(let n=0;n<e;n++){const r=n<s.length?s[n]:s[n]=0,i=r+n;t<=i&&i<e&&(s[n]=r+1)}s[i.previousIndex]=t-e}}o!==a&&e(i,o,a)}}forEachPreviousItem(e){let t;for(t=this._previousItHead;null!==t;t=t._nextPrevious)e(t)}forEachAddedItem(e){let t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)}forEachMovedItem(e){let t;for(t=this._movesHead;null!==t;t=t._nextMoved)e(t)}forEachRemovedItem(e){let t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)}forEachIdentityChange(e){let t;for(t=this._identityChangesHead;null!==t;t=t._nextIdentityChange)e(t)}diff(e){if(null==e&&(e=[]),!Ln(e))throw new Error(`Error trying to diff '${A(e)}'. Only arrays and iterables are allowed`);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let t,n,r,s=this._itHead,i=!1;if(Array.isArray(e)){this.length=e.length;for(let t=0;t<this.length;t++)r=this._trackByFn(t,n=e[t]),null!==s&&Mn(s.trackById,r)?(i&&(s=this._verifyReinsertion(s,n,r,t)),Mn(s.item,n)||this._addIdentityChange(s,n)):(s=this._mismatch(s,n,r,t),i=!0),s=s._next}else t=0,function(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[Vn()]();let r;for(;!(r=n.next()).done;)t(r.value)}}(e,e=>{r=this._trackByFn(t,e),null!==s&&Mn(s.trackById,r)?(i&&(s=this._verifyReinsertion(s,e,r,t)),Mn(s.item,e)||this._addIdentityChange(s,e)):(s=this._mismatch(s,e,r,t),i=!0),s=s._next,t++}),this.length=t;return this._truncate(s),this.collection=e,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let e,t;for(e=this._previousItHead=this._itHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;null!==e;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;null!==e;e=t)e.previousIndex=e.currentIndex,t=e._nextMoved;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,t,n,r){let s;return null===e?s=this._itTail:(s=e._prev,this._remove(e)),null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(n,r))?(Mn(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,s,r)):null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Mn(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,s,r)):e=this._addAfter(new xr(t,n),s,r),e}_verifyReinsertion(e,t,n,r){let s=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==s?e=this._reinsertAfter(s,e._prev,r):e.currentIndex!=r&&(e.currentIndex=r,this._addToMoves(e,r)),e}_truncate(e){for(;null!==e;){const t=e._next;this._addToRemovals(this._unlink(e)),e=t}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(e,t,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(e);const r=e._prevRemoved,s=e._nextRemoved;return null===r?this._removalsHead=s:r._nextRemoved=s,null===s?this._removalsTail=r:s._prevRemoved=r,this._insertAfter(e,t,n),this._addToMoves(e,n),e}_moveAfter(e,t,n){return this._unlink(e),this._insertAfter(e,t,n),this._addToMoves(e,n),e}_addAfter(e,t,n){return this._insertAfter(e,t,n),this._additionsTail=null===this._additionsTail?this._additionsHead=e:this._additionsTail._nextAdded=e,e}_insertAfter(e,t,n){const r=null===t?this._itHead:t._next;return e._next=r,e._prev=t,null===r?this._itTail=e:r._prev=e,null===t?this._itHead=e:t._next=e,null===this._linkedRecords&&(this._linkedRecords=new Er),this._linkedRecords.put(e),e.currentIndex=n,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){null!==this._linkedRecords&&this._linkedRecords.remove(e);const t=e._prev,n=e._next;return null===t?this._itHead=n:t._next=n,null===n?this._itTail=t:n._prev=t,e}_addToMoves(e,t){return e.previousIndex===t?e:(this._movesTail=null===this._movesTail?this._movesHead=e:this._movesTail._nextMoved=e,e)}_addToRemovals(e){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Er),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,t){return e.item=t,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=e:this._identityChangesTail._nextIdentityChange=e,e}}class xr{constructor(e,t){this.item=e,this.trackById=t,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class Sr{constructor(){this._head=null,this._tail=null}add(e){null===this._head?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,t){let n;for(n=this._head;null!==n;n=n._nextDup)if((null===t||t<=n.currentIndex)&&Mn(n.trackById,e))return n;return null}remove(e){const t=e._prevDup,n=e._nextDup;return null===t?this._head=n:t._nextDup=n,null===n?this._tail=t:n._prevDup=t,null===this._head}}class Er{constructor(){this.map=new Map}put(e){const t=e.trackById;let n=this.map.get(t);n||(n=new Sr,this.map.set(t,n)),n.add(e)}get(e,t){const n=this.map.get(e);return n?n.get(e,t):null}remove(e){const t=e.trackById;return this.map.get(t).remove(e)&&this.map.delete(t),e}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Or(e,t,n){const r=e.previousIndex;if(null===r)return r;let s=0;return n&&r<n.length&&(s=n[r]),r+t+s}class Tr{constructor(){}supports(e){return e instanceof Map||Hn(e)}create(){return new Ar}}class Ar{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(e){let t;for(t=this._mapHead;null!==t;t=t._next)e(t)}forEachPreviousItem(e){let t;for(t=this._previousMapHead;null!==t;t=t._nextPrevious)e(t)}forEachChangedItem(e){let t;for(t=this._changesHead;null!==t;t=t._nextChanged)e(t)}forEachAddedItem(e){let t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)}forEachRemovedItem(e){let t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)}diff(e){if(e){if(!(e instanceof Map||Hn(e)))throw new Error(`Error trying to diff '${A(e)}'. Only maps and objects are allowed`)}else e=new Map;return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let t=this._mapHead;if(this._appendAfter=null,this._forEach(e,(e,n)=>{if(t&&t.key===n)this._maybeAddToChanges(t,e),this._appendAfter=t,t=t._next;else{const r=this._getOrCreateRecordForKey(n,e);t=this._insertBeforeOrAppend(t,r)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let e=t;null!==e;e=e._nextRemoved)e===this._mapHead&&(this._mapHead=null),this._records.delete(e.key),e._nextRemoved=e._next,e.previousValue=e.currentValue,e.currentValue=null,e._prev=null,e._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,t){if(e){const n=e._prev;return t._next=e,t._prev=n,e._prev=t,n&&(n._next=t),e===this._mapHead&&(this._mapHead=t),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}_getOrCreateRecordForKey(e,t){if(this._records.has(e)){const n=this._records.get(e);this._maybeAddToChanges(n,t);const r=n._prev,s=n._next;return r&&(r._next=s),s&&(s._prev=r),n._next=null,n._prev=null,n}const n=new kr(e);return this._records.set(e,n),n.currentValue=t,this._addToAdditions(n),n}_reset(){if(this.isDirty){let e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;null!==e;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;null!=e;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(e,t){Mn(t,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=t,this._addToChanges(e))}_addToAdditions(e){null===this._additionsHead?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){null===this._changesHead?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}_forEach(e,t){e instanceof Map?e.forEach(t):Object.keys(e).forEach(n=>t(e[n],n))}}class kr{constructor(e){this.key=e,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}let Ir=(()=>{class e{constructor(e){this.factories=e}static create(t,n){if(null!=n){const e=n.factories.slice();t=t.concat(e)}return new e(t)}static extend(t){return{provide:e,useFactory:n=>{if(!n)throw new Error("Cannot extend IterableDiffers without a parent injector");return e.create(t,n)},deps:[[e,new C,new _]]}}find(e){const t=this.factories.find(t=>t.supports(e));if(null!=t)return t;throw new Error(`Cannot find a differ supporting object '${e}' of type '${n=e,n.name||typeof n}'`);var n}}return e.ngInjectableDef=E({token:e,providedIn:"root",factory:()=>new e([new _r])}),e})(),Rr=(()=>{class e{constructor(e){this.factories=e}static create(t,n){if(n){const e=n.factories.slice();t=t.concat(e)}return new e(t)}static extend(t){return{provide:e,useFactory:n=>{if(!n)throw new Error("Cannot extend KeyValueDiffers without a parent injector");return e.create(t,n)},deps:[[e,new C,new _]]}}find(e){const t=this.factories.find(t=>t.supports(e));if(t)return t;throw new Error(`Cannot find a differ supporting object '${e}'`)}}return e.ngInjectableDef=E({token:e,providedIn:"root",factory:()=>new e([new Tr])}),e})();const Nr=[new Tr],jr=new Ir([new _r]),Pr=new Rr(Nr);let Dr=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>Vr(e,hr),e})();const Vr=ur;let Mr=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>Ur(e,hr),e})();const Ur=ur;function Fr(e,t,n,r){let s=`ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: '${t}'. Current value: '${n}'.`;return r&&(s+=" 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 ?"),function(e,t){const n=new Error(e);return Lr(n,t),n}(s,e)}function Lr(e,t){e[pt]=t,e[gt]=t.logError.bind(t)}function Hr(e){return new Error(`ViewDestroyedError: Attempt to use a destroyed view: ${e}`)}function $r(e,t,n){const r=e.state,s=1792&r;return s===t?(e.state=-1793&r|n,e.initIndex=-1,!0):s===n}function zr(e,t,n){return(1792&e.state)===t&&e.initIndex<=n&&(e.initIndex=n+1,!0)}function Br(e,t){return e.nodes[t]}function qr(e,t){return e.nodes[t]}function Gr(e,t){return e.nodes[t]}function Wr(e,t){return e.nodes[t]}function Zr(e,t){return e.nodes[t]}const Qr={setCurrentNode:void 0,createRootView:void 0,createEmbeddedView:void 0,createComponentView:void 0,createNgModuleRef:void 0,overrideProvider:void 0,overrideComponentView:void 0,clearOverrides:void 0,checkAndUpdateView:void 0,checkNoChangesView:void 0,destroyView:void 0,resolveDep:void 0,createDebugContext:void 0,handleEvent:void 0,updateDirectives:void 0,updateRenderer:void 0,dirtyParentQueries:void 0},Jr=()=>{},Kr=new Map;function Yr(e){let t=Kr.get(e);return t||(t=A(e)+"_"+Kr.size,Kr.set(e,t)),t}function Xr(e,t,n,r){if(Fn.isWrapped(r)){r=Fn.unwrap(r);const s=e.def.nodes[t].bindingIndex+n,i=Fn.unwrap(e.oldValues[s]);e.oldValues[s]=new Fn(i)}return r}const es="$$undefined",ts="$$empty";function ns(e){return{id:es,styles:e.styles,encapsulation:e.encapsulation,data:e.data}}let rs=0;function ss(e,t,n,r){return!(!(2&e.state)&&Mn(e.oldValues[t.bindingIndex+n],r))}function is(e,t,n,r){return!!ss(e,t,n,r)&&(e.oldValues[t.bindingIndex+n]=r,!0)}function os(e,t,n,r){const s=e.oldValues[t.bindingIndex+n];if(1&e.state||!Un(s,r)){const i=t.bindings[n].name;throw Fr(Qr.createDebugContext(e,t.nodeIndex),`${i}: ${s}`,`${i}: ${r}`,0!=(1&e.state))}}function as(e){let t=e;for(;t;)2&t.def.flags&&(t.state|=8),t=t.viewContainerParent||t.parent}function ls(e,t){let n=e;for(;n&&n!==t;)n.state|=64,n=n.viewContainerParent||n.parent}function cs(e,t,n,r){try{return as(33554432&e.def.nodes[t].flags?qr(e,t).componentView:e),Qr.handleEvent(e,t,n,r)}catch(s){e.root.errorHandler.handleError(s)}}function us(e){return e.parent?qr(e.parent,e.parentNodeDef.nodeIndex):null}function hs(e){return e.parent?e.parentNodeDef.parent:null}function ds(e,t){switch(201347067&t.flags){case 1:return qr(e,t.nodeIndex).renderElement;case 2:return Br(e,t.nodeIndex).renderText}}function ps(e){return!!e.parent&&!!(32768&e.parentNodeDef.flags)}function fs(e){return!(!e.parent||32768&e.parentNodeDef.flags)}function gs(e){return 1<<e%32}function ms(e){const t={};let n=0;const r={};return e&&e.forEach(([e,s])=>{"number"==typeof e?(t[e]=s,n|=gs(e)):r[e]=s}),{matchedQueries:t,references:r,matchedQueryIds:n}}function ys(e,t){return e.map(e=>{let n,r;return Array.isArray(e)?[r,n]=e:(r=0,n=e),n&&("function"==typeof n||"object"==typeof n)&&t&&Object.defineProperty(n,B,{value:t,configurable:!0}),{flags:r,token:n,tokenKey:Yr(n)}})}function bs(e,t,n){let r=n.renderParent;return r?0==(1&r.flags)||0==(33554432&r.flags)||r.element.componentRendererType&&r.element.componentRendererType.encapsulation===se.Native?qr(e,n.renderParent.nodeIndex).renderElement:void 0:t}const vs=new WeakMap;function _s(e){let t=vs.get(e);return t||((t=e(()=>Jr)).factory=e,vs.set(e,t)),t}function ws(e,t,n,r,s){3===t&&(n=e.renderer.parentNode(ds(e,e.def.lastRenderRootNode))),Cs(e,t,0,e.def.nodes.length-1,n,r,s)}function Cs(e,t,n,r,s,i,o){for(let a=n;a<=r;a++){const n=e.def.nodes[a];11&n.flags&&Ss(e,n,t,s,i,o),a+=n.childCount}}function xs(e,t,n,r,s,i){let o=e;for(;o&&!ps(o);)o=o.parent;const a=o.parent,l=hs(o),c=l.nodeIndex+l.childCount;for(let u=l.nodeIndex+1;u<=c;u++){const e=a.def.nodes[u];e.ngContentIndex===t&&Ss(a,e,n,r,s,i),u+=e.childCount}if(!a.parent){const o=e.root.projectableNodes[t];if(o)for(let t=0;t<o.length;t++)Es(e,o[t],n,r,s,i)}}function Ss(e,t,n,r,s,i){if(8&t.flags)xs(e,t.ngContent.index,n,r,s,i);else{const o=ds(e,t);if(3===n&&33554432&t.flags&&48&t.bindingFlags?(16&t.bindingFlags&&Es(e,o,n,r,s,i),32&t.bindingFlags&&Es(qr(e,t.nodeIndex).componentView,o,n,r,s,i)):Es(e,o,n,r,s,i),16777216&t.flags){const o=qr(e,t.nodeIndex).viewContainer._embeddedViews;for(let e=0;e<o.length;e++)ws(o[e],n,r,s,i)}1&t.flags&&!t.element.name&&Cs(e,n,t.nodeIndex+1,t.nodeIndex+t.childCount,r,s,i)}}function Es(e,t,n,r,s,i){const o=e.renderer;switch(n){case 1:o.appendChild(r,t);break;case 2:o.insertBefore(r,t,s);break;case 3:o.removeChild(r,t);break;case 0:i.push(t)}}const Os=/^:([^:]+):(.+)$/;function Ts(e){if(":"===e[0]){const t=e.match(Os);return[t[1],t[2]]}return["",e]}function As(e){let t=0;for(let n=0;n<e.length;n++)t|=e[n].flags;return t}const ks=new Object,Is=Yr(Sn),Rs=Yr(U),Ns=Yr(X);function js(e,t,n,r){return n=R(n),{index:-1,deps:ys(r,A(t)),flags:e,token:t,value:n}}function Ps(e){const t={},n=[];let r=!1;for(let s=0;s<e.length;s++){const i=e[s];i.token===Cn&&!0===i.value&&(r=!0),1073741824&i.flags&&n.push(i.token),i.index=s,t[Yr(i.token)]=i}return{factory:null,providersByKey:t,providers:e,modules:n,isRoot:r}}function Ds(e,t,n=Sn.THROW_IF_NOT_FOUND){const r=Z(e);try{if(8&t.flags)return t.token;if(2&t.flags&&(n=null),1&t.flags)return e._parent.get(t.token,n);const o=t.tokenKey;switch(o){case Is:case Rs:case Ns:return e}const a=e._def.providersByKey[o];let l;if(a){let t=e._providers[a.index];return void 0===t&&(t=e._providers[a.index]=Vs(e,a)),t===ks?void 0:t}if((l=O(t.token))&&(s=e,null!=(i=l).providedIn&&(function(e,t){return e._def.modules.indexOf(t)>-1}(s,i.providedIn)||"root"===i.providedIn&&s._def.isRoot))){const n=e._providers.length;return e._def.providers[n]=e._def.providersByKey[t.tokenKey]={flags:5120,value:l.factory,deps:[],index:n,token:t.token},e._providers[n]=ks,e._providers[n]=Vs(e,e._def.providersByKey[t.tokenKey])}return 4&t.flags?n:e._parent.get(t.token,n)}finally{Z(r)}var s,i}function Vs(e,t){let n;switch(201347067&t.flags){case 512:n=function(e,t,n){const r=n.length;switch(r){case 0:return new t;case 1:return new t(Ds(e,n[0]));case 2:return new t(Ds(e,n[0]),Ds(e,n[1]));case 3:return new t(Ds(e,n[0]),Ds(e,n[1]),Ds(e,n[2]));default:const s=new Array(r);for(let t=0;t<r;t++)s[t]=Ds(e,n[t]);return new t(...s)}}(e,t.value,t.deps);break;case 1024:n=function(e,t,n){const r=n.length;switch(r){case 0:return t();case 1:return t(Ds(e,n[0]));case 2:return t(Ds(e,n[0]),Ds(e,n[1]));case 3:return t(Ds(e,n[0]),Ds(e,n[1]),Ds(e,n[2]));default:const s=Array(r);for(let t=0;t<r;t++)s[t]=Ds(e,n[t]);return t(...s)}}(e,t.value,t.deps);break;case 2048:n=Ds(e,t.deps[0]);break;case 256:n=t.value}return n===ks||null===n||"object"!=typeof n||131072&t.flags||"function"!=typeof n.ngOnDestroy||(t.flags|=131072),void 0===n?ks:n}function Ms(e,t){const n=e.viewContainer._embeddedViews;if((null==t||t>=n.length)&&(t=n.length-1),t<0)return null;const r=n[t];return r.viewContainerParent=null,ne(n,t),Qr.dirtyParentQueries(r),Fs(r),r}function Us(e,t,n){const r=t?ds(t,t.def.lastRenderRootNode):e.renderElement,s=n.renderer.parentNode(r),i=n.renderer.nextSibling(r);ws(n,2,s,i,void 0)}function Fs(e){ws(e,3,null,null,void 0)}const Ls=new Object;function Hs(e,t,n,r,s,i){return new $s(e,t,n,r,s,i)}class $s extends rr{constructor(e,t,n,r,s,i){super(),this.selector=e,this.componentType=t,this._inputs=r,this._outputs=s,this.ngContentSelectors=i,this.viewDefFactory=n}get inputs(){const e=[],t=this._inputs;for(let n in t)e.push({propName:n,templateName:t[n]});return e}get outputs(){const e=[];for(let t in this._outputs)e.push({propName:t,templateName:this._outputs[t]});return e}create(e,t,n,r){if(!r)throw new Error("ngModule should be provided");const s=_s(this.viewDefFactory),i=s.nodes[0].element.componentProvider.nodeIndex,o=Qr.createRootView(e,t||[],n,s,r,Ls),a=Gr(o,i).instance;return n&&o.renderer.setAttribute(qr(o,0).renderElement,"ng-version",vr.full),new zs(o,new Ws(o),a)}}class zs extends nr{constructor(e,t,n){super(),this._view=e,this._viewRef=t,this._component=n,this._elDef=this._view.def.nodes[0],this.hostView=t,this.changeDetectorRef=t,this.instance=n}get location(){return new hr(qr(this._view,this._elDef.nodeIndex).renderElement)}get injector(){return new Ks(this._view,this._elDef)}get componentType(){return this._component.constructor}destroy(){this._viewRef.destroy()}onDestroy(e){this._viewRef.onDestroy(e)}}function Bs(e,t,n){return new qs(e,t,n)}class qs{constructor(e,t,n){this._view=e,this._elDef=t,this._data=n,this._embeddedViews=[]}get element(){return new hr(this._data.renderElement)}get injector(){return new Ks(this._view,this._elDef)}get parentInjector(){let e=this._view,t=this._elDef.parent;for(;!t&&e;)t=hs(e),e=e.parent;return e?new Ks(e,t):new Ks(this._view,null)}clear(){for(let e=this._embeddedViews.length-1;e>=0;e--){const t=Ms(this._data,e);Qr.destroyView(t)}}get(e){const t=this._embeddedViews[e];if(t){const e=new Ws(t);return e.attachToViewContainerRef(this),e}return null}get length(){return this._embeddedViews.length}createEmbeddedView(e,t,n){const r=e.createEmbeddedView(t||{});return this.insert(r,n),r}createComponent(e,t,n,r,s){const i=n||this.parentInjector;s||e instanceof cr||(s=i.get(X));const o=e.create(i,r,void 0,s);return this.insert(o.hostView,t),o}insert(e,t){if(e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");const n=e;return function(e,t,n,r){let s=t.viewContainer._embeddedViews;null==n&&(n=s.length),r.viewContainerParent=e,te(s,n,r),function(e,t){const n=us(t);if(!n||n===e||16&t.state)return;t.state|=16;let r=n.template._projectedViews;r||(r=n.template._projectedViews=[]),r.push(t),function(e,t){if(4&t.flags)return;e.nodeFlags|=4,t.flags|=4;let n=t.parent;for(;n;)n.childFlags|=4,n=n.parent}(t.parent.def,t.parentNodeDef)}(t,r),Qr.dirtyParentQueries(r),Us(t,n>0?s[n-1]:null,r)}(this._view,this._data,t,n._view),n.attachToViewContainerRef(this),e}move(e,t){if(e.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");const n=this._embeddedViews.indexOf(e._view);return function(e,t,n){const r=e.viewContainer._embeddedViews,s=r[t];ne(r,t),null==n&&(n=r.length),te(r,n,s),Qr.dirtyParentQueries(s),Fs(s),Us(e,n>0?r[n-1]:null,s)}(this._data,n,t),e}indexOf(e){return this._embeddedViews.indexOf(e._view)}remove(e){const t=Ms(this._data,e);t&&Qr.destroyView(t)}detach(e){const t=Ms(this._data,e);return t?new Ws(t):null}}function Gs(e){return new Ws(e)}class Ws{constructor(e){this._view=e,this._viewContainerRef=null,this._appRef=null}get rootNodes(){return function(e){const t=[];return ws(e,0,void 0,void 0,t),t}(this._view)}get context(){return this._view.context}get destroyed(){return 0!=(128&this._view.state)}markForCheck(){as(this._view)}detach(){this._view.state&=-5}detectChanges(){const e=this._view.root.rendererFactory;e.begin&&e.begin();try{Qr.checkAndUpdateView(this._view)}finally{e.end&&e.end()}}checkNoChanges(){Qr.checkNoChangesView(this._view)}reattach(){this._view.state|=4}onDestroy(e){this._view.disposables||(this._view.disposables=[]),this._view.disposables.push(e)}destroy(){this._appRef?this._appRef.detachView(this):this._viewContainerRef&&this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),Qr.destroyView(this._view)}detachFromAppRef(){this._appRef=null,Fs(this._view),Qr.dirtyParentQueries(this._view)}attachToAppRef(e){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e}attachToViewContainerRef(e){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=e}}function Zs(e,t){return new Qs(e,t)}class Qs extends Dr{constructor(e,t){super(),this._parentView=e,this._def=t}createEmbeddedView(e){return new Ws(Qr.createEmbeddedView(this._parentView,this._def,this._def.element.template,e))}get elementRef(){return new hr(qr(this._parentView,this._def.nodeIndex).renderElement)}}function Js(e,t){return new Ks(e,t)}class Ks{constructor(e,t){this.view=e,this.elDef=t}get(e,t=Sn.THROW_IF_NOT_FOUND){return Qr.resolveDep(this.view,this.elDef,!!this.elDef&&0!=(33554432&this.elDef.flags),{flags:0,token:e,tokenKey:Yr(e)},t)}}function Ys(e,t){const n=e.def.nodes[t];if(1&n.flags){const t=qr(e,n.nodeIndex);return n.element.template?t.template:t.renderElement}if(2&n.flags)return Br(e,n.nodeIndex).renderText;if(20240&n.flags)return Gr(e,n.nodeIndex).instance;throw new Error(`Illegal state: read nodeValue for node index ${t}`)}function Xs(e){return new ei(e.renderer)}class ei{constructor(e){this.delegate=e}selectRootElement(e){return this.delegate.selectRootElement(e)}createElement(e,t){const[n,r]=Ts(t),s=this.delegate.createElement(r,n);return e&&this.delegate.appendChild(e,s),s}createViewRoot(e){return e}createTemplateAnchor(e){const t=this.delegate.createComment("");return e&&this.delegate.appendChild(e,t),t}createText(e,t){const n=this.delegate.createText(t);return e&&this.delegate.appendChild(e,n),n}projectNodes(e,t){for(let n=0;n<t.length;n++)this.delegate.appendChild(e,t[n])}attachViewAfter(e,t){const n=this.delegate.parentNode(e),r=this.delegate.nextSibling(e);for(let s=0;s<t.length;s++)this.delegate.insertBefore(n,t[s],r)}detachView(e){for(let t=0;t<e.length;t++){const n=e[t],r=this.delegate.parentNode(n);this.delegate.removeChild(r,n)}}destroyView(e,t){for(let n=0;n<t.length;n++)this.delegate.destroyNode(t[n])}listen(e,t,n){return this.delegate.listen(e,t,n)}listenGlobal(e,t,n){return this.delegate.listen(e,t,n)}setElementProperty(e,t,n){this.delegate.setProperty(e,t,n)}setElementAttribute(e,t,n){const[r,s]=Ts(t);null!=n?this.delegate.setAttribute(e,s,n,r):this.delegate.removeAttribute(e,s,r)}setBindingDebugInfo(e,t,n){}setElementClass(e,t,n){n?this.delegate.addClass(e,t):this.delegate.removeClass(e,t)}setElementStyle(e,t,n){null!=n?this.delegate.setStyle(e,t,n):this.delegate.removeStyle(e,t)}invokeElementMethod(e,t,n){e[t].apply(e,n)}setText(e,t){this.delegate.setValue(e,t)}animate(){throw new Error("Renderer.animate is no longer supported!")}}function ti(e,t,n,r){return new ni(e,t,n,r)}class ni{constructor(e,t,n,r){this._moduleType=e,this._parent=t,this._bootstrapComponents=n,this._def=r,this._destroyListeners=[],this._destroyed=!1,this.injector=this,function(e){const t=e._def,n=e._providers=new Array(t.providers.length);for(let r=0;r<t.providers.length;r++){const s=t.providers[r];4096&s.flags||void 0===n[r]&&(n[r]=Vs(e,s))}}(this)}get(e,t=Sn.THROW_IF_NOT_FOUND,n=x.Default){let r=0;return n&x.SkipSelf?r|=1:n&x.Self&&(r|=4),Ds(this,{token:e,tokenKey:Yr(e),flags:r},t)}get instance(){return this.get(this._moduleType)}get componentFactoryResolver(){return this.get(ar)}destroy(){if(this._destroyed)throw new Error(`The ng module ${A(this.instance.constructor)} has already been destroyed.`);this._destroyed=!0,function(e,t){const n=e._def,r=new Set;for(let s=0;s<n.providers.length;s++)if(131072&n.providers[s].flags){const t=e._providers[s];if(t&&t!==ks){const e=t.ngOnDestroy;"function"!=typeof e||r.has(t)||(e.apply(t),r.add(t))}}}(this),this._destroyListeners.forEach(e=>e())}onDestroy(e){this._destroyListeners.push(e)}}const ri=Yr(pr),si=Yr(mr),ii=Yr(hr),oi=Yr(Mr),ai=Yr(Dr),li=Yr(_n),ci=Yr(Sn),ui=Yr(U);function hi(e,t,n,r,s,i,o,a){const l=[];if(o)for(let u in o){const[e,t]=o[u];l[e]={flags:8,name:u,nonMinifiedName:t,ns:null,securityContext:null,suffix:null}}const c=[];if(a)for(let u in a)c.push({type:1,propName:u,target:null,eventName:a[u]});return fi(e,t|=16384,n,r,s,s,i,l,c)}function di(e,t,n){return fi(-1,e|=16,null,0,t,t,n)}function pi(e,t,n,r,s){return fi(-1,e,t,0,n,r,s)}function fi(e,t,n,r,s,i,o,a,l){const{matchedQueries:c,references:u,matchedQueryIds:h}=ms(n);l||(l=[]),a||(a=[]),i=R(i);const d=ys(o,A(s));return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:t,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:c,matchedQueryIds:h,references:u,ngContentIndex:-1,childCount:r,bindings:a,bindingFlags:As(a),outputs:l,element:null,provider:{token:s,value:i,deps:d},text:null,query:null,ngContent:null}}function gi(e,t){return vi(e,t)}function mi(e,t){let n=e;for(;n.parent&&!ps(n);)n=n.parent;return _i(n.parent,hs(n),!0,t.provider.value,t.provider.deps)}function yi(e,t){const n=_i(e,t.parent,(32768&t.flags)>0,t.provider.value,t.provider.deps);if(t.outputs.length)for(let r=0;r<t.outputs.length;r++){const s=t.outputs[r],i=n[s.propName];if(!er(i))throw new Error(`@Output ${s.propName} not initialized in '${n.constructor.name}'.`);{const n=i.subscribe(bi(e,t.parent.nodeIndex,s.eventName));e.disposables[t.outputIndex+r]=n.unsubscribe.bind(n)}}return n}function bi(e,t,n){return r=>cs(e,t,n,r)}function vi(e,t){const n=(8192&t.flags)>0,r=t.provider;switch(201347067&t.flags){case 512:return _i(e,t.parent,n,r.value,r.deps);case 1024:return function(e,t,n,r,s){const i=s.length;switch(i){case 0:return r();case 1:return r(Ci(e,t,n,s[0]));case 2:return r(Ci(e,t,n,s[0]),Ci(e,t,n,s[1]));case 3:return r(Ci(e,t,n,s[0]),Ci(e,t,n,s[1]),Ci(e,t,n,s[2]));default:const o=Array(i);for(let r=0;r<i;r++)o[r]=Ci(e,t,n,s[r]);return r(...o)}}(e,t.parent,n,r.value,r.deps);case 2048:return Ci(e,t.parent,n,r.deps[0]);case 256:return r.value}}function _i(e,t,n,r,s){const i=s.length;switch(i){case 0:return new r;case 1:return new r(Ci(e,t,n,s[0]));case 2:return new r(Ci(e,t,n,s[0]),Ci(e,t,n,s[1]));case 3:return new r(Ci(e,t,n,s[0]),Ci(e,t,n,s[1]),Ci(e,t,n,s[2]));default:const o=new Array(i);for(let r=0;r<i;r++)o[r]=Ci(e,t,n,s[r]);return new r(...o)}}const wi={};function Ci(e,t,n,r,s=Sn.THROW_IF_NOT_FOUND){if(8&r.flags)return r.token;const i=e;2&r.flags&&(s=null);const o=r.tokenKey;o===li&&(n=!(!t||!t.element.componentView)),t&&1&r.flags&&(n=!1,t=t.parent);let a=e;for(;a;){if(t)switch(o){case ri:return Xs(xi(a,t,n));case si:return xi(a,t,n).renderer;case ii:return new hr(qr(a,t.nodeIndex).renderElement);case oi:return qr(a,t.nodeIndex).viewContainer;case ai:if(t.element.template)return qr(a,t.nodeIndex).template;break;case li:return Gs(xi(a,t,n));case ci:case ui:return Js(a,t);default:const e=(n?t.element.allProviders:t.element.publicProviders)[o];if(e){let t=Gr(a,e.nodeIndex);return t||(t={instance:vi(a,e)},a.nodes[e.nodeIndex]=t),t.instance}}n=ps(a),t=hs(a),a=a.parent,4&r.flags&&(a=null)}const l=i.root.injector.get(r.token,wi);return l!==wi||s===wi?l:i.root.ngModule.injector.get(r.token,s)}function xi(e,t,n){let r;if(n)r=qr(e,t.nodeIndex).componentView;else for(r=e;r.parent&&!ps(r);)r=r.parent;return r}function Si(e,t,n,r,s,i){if(32768&n.flags){const t=qr(e,n.parent.nodeIndex).componentView;2&t.def.flags&&(t.state|=8)}if(t.instance[n.bindings[r].name]=s,524288&n.flags){i=i||{};const t=Fn.unwrap(e.oldValues[n.bindingIndex+r]);i[n.bindings[r].nonMinifiedName]=new tr(t,s,0!=(2&e.state))}return e.oldValues[n.bindingIndex+r]=s,i}function Ei(e,t){if(!(e.def.nodeFlags&t))return;const n=e.def.nodes;let r=0;for(let s=0;s<n.length;s++){const i=n[s];let o=i.parent;for(!o&&i.flags&t&&Ti(e,s,i.flags&t,r++),0==(i.childFlags&t)&&(s+=i.childCount);o&&1&o.flags&&s===o.nodeIndex+o.childCount;)o.directChildFlags&t&&(r=Oi(e,o,t,r)),o=o.parent}}function Oi(e,t,n,r){for(let s=t.nodeIndex+1;s<=t.nodeIndex+t.childCount;s++){const t=e.def.nodes[s];t.flags&n&&Ti(e,s,t.flags&n,r++),s+=t.childCount}return r}function Ti(e,t,n,r){const s=Gr(e,t);if(!s)return;const i=s.instance;i&&(Qr.setCurrentNode(e,t),1048576&n&&zr(e,512,r)&&i.ngAfterContentInit(),2097152&n&&i.ngAfterContentChecked(),4194304&n&&zr(e,768,r)&&i.ngAfterViewInit(),8388608&n&&i.ngAfterViewChecked(),131072&n&&i.ngOnDestroy())}const Ai=new M("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>Fe}),ki={},Ii=function(){var e={LocaleId:0,DayPeriodsFormat:1,DayPeriodsStandalone:2,DaysFormat:3,DaysStandalone:4,MonthsFormat:5,MonthsStandalone:6,Eras:7,FirstDayOfWeek:8,WeekendRange:9,DateFormat:10,TimeFormat:11,DateTimeFormat:12,NumberSymbols:13,NumberFormats:14,CurrencySymbol:15,CurrencyName:16,Currencies:17,PluralCase:18,ExtraData:19};return e[e.LocaleId]="LocaleId",e[e.DayPeriodsFormat]="DayPeriodsFormat",e[e.DayPeriodsStandalone]="DayPeriodsStandalone",e[e.DaysFormat]="DaysFormat",e[e.DaysStandalone]="DaysStandalone",e[e.MonthsFormat]="MonthsFormat",e[e.MonthsStandalone]="MonthsStandalone",e[e.Eras]="Eras",e[e.FirstDayOfWeek]="FirstDayOfWeek",e[e.WeekendRange]="WeekendRange",e[e.DateFormat]="DateFormat",e[e.TimeFormat]="TimeFormat",e[e.DateTimeFormat]="DateTimeFormat",e[e.NumberSymbols]="NumberSymbols",e[e.NumberFormats]="NumberFormats",e[e.CurrencySymbol]="CurrencySymbol",e[e.CurrencyName]="CurrencyName",e[e.Currencies]="Currencies",e[e.PluralCase]="PluralCase",e[e.ExtraData]="ExtraData",e}(),Ri=void 0;var Ni=["en",[["a","p"],["AM","PM"],Ri],[["AM","PM"],Ri,Ri],[["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"]],Ri,[["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"]],Ri,[["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}",Ri,"{1} 'at' {0}",Ri],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"$","US Dollar",{},function(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===n?1:5}];function ji(e){return Pi(e)[Ii.PluralCase]}function Pi(e){const t=e.toLowerCase().replace(/_/g,"-");let n=ki[t];if(n)return n;const r=t.split("-")[0];if(n=ki[r])return n;if("en"===r)return Ni;throw new Error(`Missing locale data for the locale "${e}".`)}const Di="en-US";let Vi=Di;function Mi(e){var t;t="Expected localeId to be defined",null==e&&function(e){throw new Error(`ASSERTION ERROR: ${e}`)}(t),"string"==typeof e&&(Vi=e.toLowerCase().replace(/_/g,"-"))}class Ui extends r.a{constructor(e=!1){super(),this.__isAsync=e}emit(e){super.next(e)}subscribe(e,t,n){let r,i=e=>null,o=()=>null;e&&"object"==typeof e?(r=this.__isAsync?t=>{setTimeout(()=>e.next(t))}:t=>{e.next(t)},e.error&&(i=this.__isAsync?t=>{setTimeout(()=>e.error(t))}:t=>{e.error(t)}),e.complete&&(o=this.__isAsync?()=>{setTimeout(()=>e.complete())}:()=>{e.complete()})):(r=this.__isAsync?t=>{setTimeout(()=>e(t))}:t=>{e(t)},t&&(i=this.__isAsync?e=>{setTimeout(()=>t(e))}:e=>{t(e)}),n&&(o=this.__isAsync?()=>{setTimeout(()=>n())}:()=>{n()}));const a=super.subscribe(r,i,o);return e instanceof s.a&&e.add(a),a}}function Fi(){return this._results[Vn()]()}class Li{constructor(){this.dirty=!0,this._results=[],this.changes=new Ui,this.length=0;const e=Vn(),t=Li.prototype;t[e]||(t[e]=Fi)}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,t){return this._results.reduce(e,t)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e){this._results=function e(t,n){void 0===n&&(n=t);for(let r=0;r<t.length;r++){let s=t[r];Array.isArray(s)?(n===t&&(n=t.slice(0,r)),e(s,n)):n!==t&&n.push(s)}return n}(e),this.dirty=!1,this.length=this._results.length,this.last=this._results[this.length-1],this.first=this._results[0]}notifyOnChanges(){this.changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}const Hi=new M("Application Initializer");class $i{constructor(e){this.appInits=e,this.initialized=!1,this.done=!1,this.donePromise=new Promise((e,t)=>{this.resolve=e,this.reject=t})}runInitializers(){if(this.initialized)return;const e=[],t=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let n=0;n<this.appInits.length;n++){const t=this.appInits[n]();Xn(t)&&e.push(t)}Promise.all(e).then(()=>{t()}).catch(e=>{this.reject(e)}),0===e.length&&t(),this.initialized=!0}}const zi=new M("AppId"),Bi=new M("Platform Initializer"),qi=new M("Platform ID"),Gi=new M("appBootstrapListener");class Wi{log(e){console.log(e)}warn(e){console.warn(e)}}const Zi=new M("LocaleId"),Qi=!1;function Ji(){throw new Error("Runtime compiler is not loaded")}const Ki=Ji,Yi=Ji,Xi=Ji,eo=Ji;class to{constructor(){this.compileModuleSync=Ki,this.compileModuleAsync=Yi,this.compileModuleAndAllComponentsSync=Xi,this.compileModuleAndAllComponentsAsync=eo}clearCache(){}clearCacheFor(e){}getModuleId(e){}}class no{}let ro,so;function io(){const e=V.wtf;return!(!e||!(ro=e.trace)||(so=ro.events,0))}const oo=io();function ao(e,t){return null}const lo=oo?function(e,t=null){return so.createScope(e,t)}:(e,t)=>ao,co=oo?function(e,t){return ro.leaveScope(e,t),t}:(e,t)=>t,uo=(()=>Promise.resolve(0))();function ho(e){"undefined"==typeof Zone?uo.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class po{constructor({enableLongStackTrace:e=!1}){if(this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Ui(!1),this.onMicrotaskEmpty=new Ui(!1),this.onStable=new Ui(!1),this.onError=new Ui(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");var t;Zone.assertZonePatched(),this._nesting=0,this._outer=this._inner=Zone.current,Zone.wtfZoneSpec&&(this._inner=this._inner.fork(Zone.wtfZoneSpec)),Zone.TaskTrackingZoneSpec&&(this._inner=this._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec)),(t=this)._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(e,n,r,s,i,o)=>{try{return yo(t),e.invokeTask(r,s,i,o)}finally{bo(t)}},onInvoke:(e,n,r,s,i,o,a)=>{try{return yo(t),e.invoke(r,s,i,o,a)}finally{bo(t)}},onHasTask:(e,n,r,s)=>{e.hasTask(r,s),n===r&&("microTask"==s.change?(t.hasPendingMicrotasks=s.microTask,mo(t)):"macroTask"==s.change&&(t.hasPendingMacrotasks=s.macroTask))},onHandleError:(e,n,r,s)=>(e.handleError(r,s),t.runOutsideAngular(()=>t.onError.emit(s)),!1)})}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!po.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(po.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(e,t,n){return this._inner.run(e,t,n)}runTask(e,t,n,r){const s=this._inner,i=s.scheduleEventTask("NgZoneEvent: "+r,e,go,fo,fo);try{return s.runTask(i,t,n)}finally{s.cancelTask(i)}}runGuarded(e,t,n){return this._inner.runGuarded(e,t,n)}runOutsideAngular(e){return this._outer.run(e)}}function fo(){}const go={};function mo(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function yo(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function bo(e){e._nesting--,mo(e)}class vo{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Ui,this.onMicrotaskEmpty=new Ui,this.onStable=new Ui,this.onError=new Ui}run(e){return e()}runGuarded(e){return e()}runOutsideAngular(e){return e()}runTask(e){return e()}}class _o{constructor(e){this._ngZone=e,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),e.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{po.assertNotInAngularZone(),ho(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())ho(()=>{for(;0!==this._callbacks.length;){let e=this._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb(this._didWork)}this._didWork=!1});else{let e=this.getPendingTasks();this._callbacks=this._callbacks.filter(t=>!t.updateCb||!t.updateCb(e)||(clearTimeout(t.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(e=>({source:e.source,creationLocation:e.creationLocation,data:e.data})):[]}addCallback(e,t,n){let r=-1;t&&t>0&&(r=setTimeout(()=>{this._callbacks=this._callbacks.filter(e=>e.timeoutId!==r),e(this._didWork,this.getPendingTasks())},t)),this._callbacks.push({doneCb:e,timeoutId:r,updateCb:n})}whenStable(e,t,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(e,t,n),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(e,t,n){return[]}}class wo{constructor(){this._applications=new Map,Eo.addToWindow(this)}registerApplication(e,t){this._applications.set(e,t)}unregisterApplication(e){this._applications.delete(e)}unregisterAllApplications(){this._applications.clear()}getTestability(e){return this._applications.get(e)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(e,t=!0){return Eo.findTestabilityInTree(this,e,t)}}class Co{addToWindow(e){}findTestabilityInTree(e,t,n){return null}}function xo(e){Eo=e}let So,Eo=new Co,Oo=function(e,t,n){return e.get(no).createCompiler([t]).compileModuleAsync(n)},To=function(e){return e instanceof cr};const Ao=new M("AllowMultipleToken");class ko{constructor(e,t){this.name=e,this.token=t}}function Io(e,t,n=[]){const r=`Platform: ${t}`,s=new M(r);return(t=[])=>{let i=Ro();if(!i||i.injector.get(Ao,!1))if(e)e(n.concat(t).concat({provide:s,useValue:!0}));else{const e=n.concat(t).concat({provide:s,useValue:!0});!function(e){if(So&&!So.destroyed&&!So.injector.get(Ao,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");So=e.get(No);const t=e.get(Bi,null);t&&t.forEach(e=>e())}(Sn.create({providers:e,name:r}))}return function(e){const t=Ro();if(!t)throw new Error("No platform exists!");if(!t.injector.get(e,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return t}(s)}}function Ro(){return So&&!So.destroyed?So:null}class No{constructor(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(e,t){const n="noop"===(s=t?t.ngZone:void 0)?new vo:("zone.js"===s?void 0:s)||new po({enableLongStackTrace:Ct()}),r=[{provide:po,useValue:n}];var s;return n.run(()=>{const t=Sn.create({providers:r,parent:this.injector,name:e.moduleType.name}),s=e.create(t),i=s.injector.get(vt,null);if(!i)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return Qi&&Mi(s.injector.get(Zi,Di)||Di),s.onDestroy(()=>Do(this._modules,s)),n.runOutsideAngular(()=>n.onError.subscribe({next:e=>{i.handleError(e)}})),function(e,t,n){try{const r=n();return Xn(r)?r.catch(n=>{throw t.runOutsideAngular(()=>e.handleError(n)),n}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(i,n,()=>{const e=s.injector.get($i);return e.runInitializers(),e.donePromise.then(()=>(this._moduleDoBootstrap(s),s))})})}bootstrapModule(e,t=[]){const n=jo({},t);return Oo(this.injector,n,e).then(e=>this.bootstrapModuleFactory(e,n))}_moduleDoBootstrap(e){const t=e.injector.get(Po);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(e=>t.bootstrap(e));else{if(!e.instance.ngDoBootstrap)throw new Error(`The module ${A(e.instance.constructor)} was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. `+"Please define one of these.");e.instance.ngDoBootstrap(t)}this._modules.push(e)}onDestroy(e){this._destroyListeners.push(e)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(e=>e.destroy()),this._destroyListeners.forEach(e=>e()),this._destroyed=!0}get destroyed(){return this._destroyed}}function jo(e,t){return Array.isArray(t)?t.reduce(jo,e):Object.assign({},e,t)}let Po=(()=>{class e{constructor(e,t,n,r,s,c){this._zone=e,this._console=t,this._injector=n,this._exceptionHandler=r,this._componentFactoryResolver=s,this._initStatus=c,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=Ct(),this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const h=new i.a(e=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{e.next(this._stable),e.complete()})}),d=new i.a(e=>{let t;this._zone.runOutsideAngular(()=>{t=this._zone.onStable.subscribe(()=>{po.assertNotInAngularZone(),ho(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,e.next(!0))})})});const n=this._zone.onUnstable.subscribe(()=>{po.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{e.next(!1)}))});return()=>{t.unsubscribe(),n.unsubscribe()}});this.isStable=function(...e){let t=Number.POSITIVE_INFINITY,n=null,r=e[e.length-1];return Object(o.a)(r)?(n=e.pop(),e.length>1&&"number"==typeof e[e.length-1]&&(t=e.pop())):"number"==typeof r&&(t=e.pop()),null===n&&1===e.length&&e[0]instanceof i.a?e[0]:Object(a.a)(t)(Object(l.a)(e,n))}(h,d.pipe(e=>u()(function(e,t){return function(t){let n;n="function"==typeof e?e:function(){return e};const r=Object.create(t,f);return r.source=t,r.subjectFactory=n,r}}(m)(e))))}bootstrap(e,t){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.");let n;n=e instanceof rr?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);const r=To(n)?null:this._injector.get(X),s=n.create(Sn.NULL,[],t||n.selector,r);s.onDestroy(()=>{this._unloadComponent(s)});const i=s.injector.get(_o,null);return i&&s.injector.get(wo).registerApplication(s.location.nativeElement,i),this._loadComponent(s),Ct()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),s}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");const t=e._tickScope();try{this._runningTick=!0;for(let e of this._views)e.detectChanges();if(this._enforceNoNewChanges)for(let e of this._views)e.checkNoChanges()}catch(n){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(n))}finally{this._runningTick=!1,co(t)}}attachView(e){const t=e;this._views.push(t),t.attachToAppRef(this)}detachView(e){const t=e;Do(this._views,t),t.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(Gi,[]).concat(this._bootstrapListeners).forEach(t=>t(e))}_unloadComponent(e){this.detachView(e.hostView),Do(this.components,e)}ngOnDestroy(){this._views.slice().forEach(e=>e.destroy())}get viewCount(){return this._views.length}}return e._tickScope=lo("ApplicationRef#tick()"),e})();function Do(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class Vo{}const Mo="#",Uo="NgFactory";class Fo{}const Lo={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"};class Ho{constructor(e,t){this._compiler=e,this._config=t||Lo}load(e){return!Qi&&this._compiler instanceof to?this.loadFactory(e):this.loadAndCompile(e)}loadAndCompile(e){let[t,r]=e.split(Mo);return void 0===r&&(r="default"),n("zn8P")(t).then(e=>e[r]).then(e=>$o(e,t,r)).then(e=>this._compiler.compileModuleAsync(e))}loadFactory(e){let[t,r]=e.split(Mo),s=Uo;return void 0===r&&(r="default",s=""),n("zn8P")(this._config.factoryPathPrefix+t+this._config.factoryPathSuffix).then(e=>e[r+s]).then(e=>$o(e,t,r))}}function $o(e,t,n){if(!e)throw new Error(`Cannot find '${n}' in '${t}'`);return e}class zo{constructor(e,t){this.name=e,this.callback=t}}class Bo{constructor(e,t,n){this.listeners=[],this.parent=null,this._debugContext=n,this.nativeNode=e,t&&t instanceof qo&&t.addChild(this)}get injector(){return this._debugContext.injector}get componentInstance(){return this._debugContext.component}get context(){return this._debugContext.context}get references(){return this._debugContext.references}get providerTokens(){return this._debugContext.providerTokens}}class qo extends Bo{constructor(e,t,n){super(e,t,n),this.properties={},this.attributes={},this.classes={},this.styles={},this.childNodes=[],this.nativeElement=e}addChild(e){e&&(this.childNodes.push(e),e.parent=this)}removeChild(e){const t=this.childNodes.indexOf(e);-1!==t&&(e.parent=null,this.childNodes.splice(t,1))}insertChildrenAfter(e,t){const n=this.childNodes.indexOf(e);-1!==n&&(this.childNodes.splice(n+1,0,...t),t.forEach(t=>{t.parent&&t.parent.removeChild(t),e.parent=this}))}insertBefore(e,t){const n=this.childNodes.indexOf(e);-1===n?this.addChild(t):(t.parent&&t.parent.removeChild(t),t.parent=this,this.childNodes.splice(n,0,t))}query(e){return this.queryAll(e)[0]||null}queryAll(e){const t=[];return function e(t,n,r){t.childNodes.forEach(t=>{t instanceof qo&&(n(t)&&r.push(t),e(t,n,r))})}(this,e,t),t}queryAllNodes(e){const t=[];return function e(t,n,r){t instanceof qo&&t.childNodes.forEach(t=>{n(t)&&r.push(t),t instanceof qo&&e(t,n,r)})}(this,e,t),t}get children(){return this.childNodes.filter(e=>e instanceof qo)}triggerEventHandler(e,t){this.listeners.forEach(n=>{n.name==e&&n.callback(t)})}}const Go=new Map,Wo=function(e){return Go.get(e)||null};function Zo(e){Go.set(e.nativeNode,e)}const Qo=Io(null,"core",[{provide:qi,useValue:"unknown"},{provide:No,deps:[Sn]},{provide:wo,deps:[]},{provide:Wi,deps:[]}]);function Jo(){return jr}function Ko(){return Pr}function Yo(e){return e?(Qi&&Mi(e),e):Di}function Xo(e){let t=[];return e.onStable.subscribe(()=>{for(;t.length;)t.pop()()}),function(e){t.push(e)}}class ea{constructor(e){}}function ta(e,t,n,r,s,i){e|=1;const{matchedQueries:o,references:a,matchedQueryIds:l}=ms(t);return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,flags:e,checkIndex:-1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:o,matchedQueryIds:l,references:a,ngContentIndex:n,childCount:r,bindings:[],bindingFlags:0,outputs:[],element:{ns:null,name:null,attrs:null,template:i?_s(i):null,componentProvider:null,componentView:null,componentRendererType:null,publicProviders:null,allProviders:null,handleEvent:s||Jr},provider:null,text:null,query:null,ngContent:null}}function na(e,t,n,r,s,i,o=[],a,l,c,u,h){c||(c=Jr);const{matchedQueries:d,references:p,matchedQueryIds:f}=ms(n);let g=null,m=null;i&&([g,m]=Ts(i)),a=a||[];const y=new Array(a.length);for(let _=0;_<a.length;_++){const[e,t,n]=a[_],[r,s]=Ts(t);let i=void 0,o=void 0;switch(15&e){case 4:o=n;break;case 1:case 8:i=n}y[_]={flags:e,ns:r,name:s,nonMinifiedName:s,securityContext:i,suffix:o}}l=l||[];const b=new Array(l.length);for(let _=0;_<l.length;_++){const[e,t]=l[_];b[_]={type:0,target:e,eventName:t,propName:null}}const v=(o=o||[]).map(([e,t])=>{const[n,r]=Ts(e);return[n,r,t]});return h=function(e){if(e&&e.id===es){const t=null!=e.encapsulation&&e.encapsulation!==se.None||e.styles.length||Object.keys(e.data).length;e.id=t?`c${rs++}`:ts}return e&&e.id===ts&&(e=null),e||null}(h),u&&(t|=33554432),{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:t|=1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:d,matchedQueryIds:f,references:p,ngContentIndex:r,childCount:s,bindings:y,bindingFlags:As(y),outputs:b,element:{ns:g,name:m,attrs:v,template:null,componentProvider:null,componentView:u||null,componentRendererType:h,publicProviders:null,allProviders:null,handleEvent:c||Jr},provider:null,text:null,query:null,ngContent:null}}function ra(e,t,n){const r=n.element,s=e.root.selectorOrNode,i=e.renderer;let o;if(e.parent||!s){o=r.name?i.createElement(r.name,r.ns):i.createComment("");const s=bs(e,t,n);s&&i.appendChild(s,o)}else o=i.selectRootElement(s,!!r.componentRendererType&&r.componentRendererType.encapsulation===se.ShadowDom);if(r.attrs)for(let a=0;a<r.attrs.length;a++){const[e,t,n]=r.attrs[a];i.setAttribute(o,t,n,e)}return o}function sa(e,t,n,r){for(let o=0;o<n.outputs.length;o++){const a=n.outputs[o],l=ia(e,n.nodeIndex,(i=a.eventName,(s=a.target)?`${s}:${i}`:i));let c=a.target,u=e;"component"===a.target&&(c=null,u=t);const h=u.renderer.listen(c||r,a.eventName,l);e.disposables[n.outputIndex+o]=h}var s,i}function ia(e,t,n){return r=>cs(e,t,n,r)}function oa(e,t,n,r){if(!is(e,t,n,r))return!1;const s=t.bindings[n],i=qr(e,t.nodeIndex),o=i.renderElement,a=s.name;switch(15&s.flags){case 1:!function(e,t,n,r,s,i){const o=t.securityContext;let a=o?e.root.sanitizer.sanitize(o,i):i;a=null!=a?a.toString():null;const l=e.renderer;null!=i?l.setAttribute(n,s,a,r):l.removeAttribute(n,s,r)}(e,s,o,s.ns,a,r);break;case 2:!function(e,t,n,r){const s=e.renderer;r?s.addClass(t,n):s.removeClass(t,n)}(e,o,a,r);break;case 4:!function(e,t,n,r,s){let i=e.root.sanitizer.sanitize(Gt.STYLE,s);if(null!=i){i=i.toString();const e=t.suffix;null!=e&&(i+=e)}else i=null;const o=e.renderer;null!=i?o.setStyle(n,r,i):o.removeStyle(n,r)}(e,s,o,a,r);break;case 8:!function(e,t,n,r,s){const i=t.securityContext;let o=i?e.root.sanitizer.sanitize(i,s):s;e.renderer.setProperty(n,r,o)}(33554432&t.flags&&32&s.flags?i.componentView:e,s,o,a,r)}return!0}function aa(e,t,n){let r=[];for(let s in n)r.push({propName:s,bindingType:n[s]});return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:-1,flags:e,childFlags:0,directChildFlags:0,childMatchedQueries:0,ngContentIndex:-1,matchedQueries:{},matchedQueryIds:0,references:{},childCount:0,bindings:[],bindingFlags:0,outputs:[],element:null,provider:null,text:null,query:{id:t,filterId:gs(t),bindings:r},ngContent:null}}function la(e){const t=e.def.nodeMatchedQueries;for(;e.parent&&fs(e);){let n=e.parentNodeDef;e=e.parent;const r=n.nodeIndex+n.childCount;for(let s=0;s<=r;s++){const r=e.def.nodes[s];67108864&r.flags&&536870912&r.flags&&(r.query.filterId&t)===r.query.filterId&&Zr(e,s).setDirty(),!(1&r.flags&&s+r.childCount<n.nodeIndex)&&67108864&r.childFlags&&536870912&r.childFlags||(s+=r.childCount)}}if(134217728&e.def.nodeFlags)for(let n=0;n<e.def.nodes.length;n++){const t=e.def.nodes[n];134217728&t.flags&&536870912&t.flags&&Zr(e,n).setDirty(),n+=t.childCount}}function ca(e,t){const n=Zr(e,t.nodeIndex);if(!n.dirty)return;let r,s=void 0;if(67108864&t.flags){const n=t.parent.parent;s=ua(e,n.nodeIndex,n.nodeIndex+n.childCount,t.query,[]),r=Gr(e,t.parent.nodeIndex).instance}else 134217728&t.flags&&(s=ua(e,0,e.def.nodes.length-1,t.query,[]),r=e.component);n.reset(s);const i=t.query.bindings;let o=!1;for(let a=0;a<i.length;a++){const e=i[a];let t;switch(e.bindingType){case 0:t=n.first;break;case 1:t=n,o=!0}r[e.propName]=t}o&&n.notifyOnChanges()}function ua(e,t,n,r,s){for(let i=t;i<=n;i++){const t=e.def.nodes[i],n=t.matchedQueries[r.id];if(null!=n&&s.push(ha(e,t,n)),1&t.flags&&t.element.template&&(t.element.template.nodeMatchedQueries&r.filterId)===r.filterId){const n=qr(e,i);if((t.childMatchedQueries&r.filterId)===r.filterId&&(ua(e,i+1,i+t.childCount,r,s),i+=t.childCount),16777216&t.flags){const e=n.viewContainer._embeddedViews;for(let t=0;t<e.length;t++){const i=e[t],o=us(i);o&&o===n&&ua(i,0,i.def.nodes.length-1,r,s)}}const o=n.template._projectedViews;if(o)for(let e=0;e<o.length;e++){const t=o[e];ua(t,0,t.def.nodes.length-1,r,s)}}(t.childMatchedQueries&r.filterId)!==r.filterId&&(i+=t.childCount)}return s}function ha(e,t,n){if(null!=n)switch(n){case 1:return qr(e,t.nodeIndex).renderElement;case 0:return new hr(qr(e,t.nodeIndex).renderElement);case 2:return qr(e,t.nodeIndex).template;case 3:return qr(e,t.nodeIndex).viewContainer;case 4:return Gr(e,t.nodeIndex).instance}}function da(e,t,n){const r=bs(e,t,n);r&&xs(e,n.ngContent.index,1,r,null,void 0)}function pa(e,t){return function(e,t,n){const r=new Array(n.length);for(let s=0;s<n.length;s++){const e=n[s];r[s]={flags:8,name:e,ns:null,nonMinifiedName:e,securityContext:null,suffix:null}}return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:t,flags:32,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:-1,childCount:0,bindings:r,bindingFlags:As(r),outputs:[],element:null,provider:null,text:null,query:null,ngContent:null}}(0,e,new Array(t))}function fa(e,t,n){const r=new Array(n.length-1);for(let s=1;s<n.length;s++)r[s-1]={flags:8,name:null,ns:null,nonMinifiedName:null,securityContext:null,suffix:n[s]};return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:2,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:t,childCount:0,bindings:r,bindingFlags:8,outputs:[],element:null,provider:null,text:{prefix:n[0]},query:null,ngContent:null}}function ga(e,t,n){let r;const s=e.renderer;r=s.createText(n.text.prefix);const i=bs(e,t,n);return i&&s.appendChild(i,r),{renderText:r}}function ma(e,t){return(null!=e?e.toString():"")+t.suffix}function ya(e,t,n,r){let s=0,i=0,o=0,a=0,l=0,c=null,u=null,h=!1,d=!1,p=null;for(let f=0;f<t.length;f++){const e=t[f];if(e.nodeIndex=f,e.parent=c,e.bindingIndex=s,e.outputIndex=i,e.renderParent=u,o|=e.flags,l|=e.matchedQueryIds,e.element){const t=e.element;t.publicProviders=c?c.element.publicProviders:Object.create(null),t.allProviders=t.publicProviders,h=!1,d=!1,e.element.template&&(l|=e.element.template.nodeMatchedQueries)}if(va(c,e,t.length),s+=e.bindings.length,i+=e.outputs.length,!u&&3&e.flags&&(p=e),20224&e.flags){h||(h=!0,c.element.publicProviders=Object.create(c.element.publicProviders),c.element.allProviders=c.element.publicProviders);const t=0!=(32768&e.flags);0==(8192&e.flags)||t?c.element.publicProviders[Yr(e.provider.token)]=e:(d||(d=!0,c.element.allProviders=Object.create(c.element.publicProviders)),c.element.allProviders[Yr(e.provider.token)]=e),t&&(c.element.componentProvider=e)}if(c?(c.childFlags|=e.flags,c.directChildFlags|=e.flags,c.childMatchedQueries|=e.matchedQueryIds,e.element&&e.element.template&&(c.childMatchedQueries|=e.element.template.nodeMatchedQueries)):a|=e.flags,e.childCount>0)c=e,ba(e)||(u=e);else for(;c&&f===c.nodeIndex+c.childCount;){const e=c.parent;e&&(e.childFlags|=c.childFlags,e.childMatchedQueries|=c.childMatchedQueries),u=(c=e)&&ba(c)?c.renderParent:c}}return{factory:null,nodeFlags:o,rootNodeFlags:a,nodeMatchedQueries:l,flags:e,nodes:t,updateDirectives:n||Jr,updateRenderer:r||Jr,handleEvent:(e,n,r,s)=>t[n].element.handleEvent(e,r,s),bindingCount:s,outputCount:i,lastRenderRootNode:p}}function ba(e){return 0!=(1&e.flags)&&null===e.element.name}function va(e,t,n){const r=t.element&&t.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 ${t.nodeIndex}!`)}if(20224&t.flags&&0==(1&(e?e.flags:0)))throw new Error(`Illegal State: StaticProvider/Directive nodes need to be children of elements or anchors, at index ${t.nodeIndex}!`);if(t.query){if(67108864&t.flags&&(!e||0==(16384&e.flags)))throw new Error(`Illegal State: Content Query nodes need to be children of directives, at index ${t.nodeIndex}!`);if(134217728&t.flags&&e)throw new Error(`Illegal State: View Query nodes have to be top level nodes, at index ${t.nodeIndex}!`)}if(t.childCount){const r=e?e.nodeIndex+e.childCount:n-1;if(t.nodeIndex<=r&&t.nodeIndex+t.childCount>r)throw new Error(`Illegal State: childCount of node leads outside of parent, at index ${t.nodeIndex}!`)}}function _a(e,t,n,r){const s=xa(e.root,e.renderer,e,t,n);return Sa(s,e.component,r),Ea(s),s}function wa(e,t,n){const r=xa(e,e.renderer,null,null,t);return Sa(r,n,n),Ea(r),r}function Ca(e,t,n,r){const s=t.element.componentRendererType;let i;return i=s?e.root.rendererFactory.createRenderer(r,s):e.root.renderer,xa(e.root,i,e,t.element.componentProvider,n)}function xa(e,t,n,r,s){const i=new Array(s.nodes.length),o=s.outputCount?new Array(s.outputCount):null;return{def:s,parent:n,viewContainerParent:null,parentNodeDef:r,context:null,component:null,nodes:i,state:13,root:e,renderer:t,oldValues:new Array(s.bindingCount),disposables:o,initIndex:-1}}function Sa(e,t,n){e.component=t,e.context=n}function Ea(e){let t;ps(e)&&(t=qr(e.parent,e.parentNodeDef.parent.nodeIndex).renderElement);const n=e.def,r=e.nodes;for(let s=0;s<n.nodes.length;s++){const i=n.nodes[s];let o;switch(Qr.setCurrentNode(e,s),201347067&i.flags){case 1:const n=ra(e,t,i);let a=void 0;if(33554432&i.flags){const t=_s(i.element.componentView);a=Qr.createComponentView(e,i,t,n)}sa(e,a,i,n),o={renderElement:n,componentView:a,viewContainer:null,template:i.element.template?Zs(e,i):void 0},16777216&i.flags&&(o.viewContainer=Bs(e,i,o));break;case 2:o=ga(e,t,i);break;case 512:case 1024:case 2048:case 256:(o=r[s])||4096&i.flags||(o={instance:gi(e,i)});break;case 16:o={instance:mi(e,i)};break;case 16384:(o=r[s])||(o={instance:yi(e,i)}),32768&i.flags&&Sa(qr(e,i.parent.nodeIndex).componentView,o.instance,o.instance);break;case 32:case 64:case 128:o={value:void 0};break;case 67108864:case 134217728:o=new Li;break;case 8:da(e,t,i),o=void 0}r[s]=o}Pa(e,ja.CreateViewNodes),Ua(e,201326592,268435456,0)}function Oa(e){ka(e),Qr.updateDirectives(e,1),Da(e,ja.CheckNoChanges),Qr.updateRenderer(e,1),Pa(e,ja.CheckNoChanges),e.state&=-97}function Ta(e){1&e.state?(e.state&=-2,e.state|=2):e.state&=-3,$r(e,0,256),ka(e),Qr.updateDirectives(e,0),Da(e,ja.CheckAndUpdate),Ua(e,67108864,536870912,0);let t=$r(e,256,512);Ei(e,2097152|(t?1048576:0)),Qr.updateRenderer(e,0),Pa(e,ja.CheckAndUpdate),Ua(e,134217728,536870912,0),Ei(e,8388608|((t=$r(e,512,768))?4194304:0)),2&e.def.flags&&(e.state&=-9),e.state&=-97,$r(e,768,1024)}function Aa(e,t,n,r,s,i,o,a,l,c,u,h,d){return 0===n?function(e,t,n,r,s,i,o,a,l,c,u,h){switch(201347067&t.flags){case 1:return function(e,t,n,r,s,i,o,a,l,c,u,h){const d=t.bindings.length;let p=!1;return d>0&&oa(e,t,0,n)&&(p=!0),d>1&&oa(e,t,1,r)&&(p=!0),d>2&&oa(e,t,2,s)&&(p=!0),d>3&&oa(e,t,3,i)&&(p=!0),d>4&&oa(e,t,4,o)&&(p=!0),d>5&&oa(e,t,5,a)&&(p=!0),d>6&&oa(e,t,6,l)&&(p=!0),d>7&&oa(e,t,7,c)&&(p=!0),d>8&&oa(e,t,8,u)&&(p=!0),d>9&&oa(e,t,9,h)&&(p=!0),p}(e,t,n,r,s,i,o,a,l,c,u,h);case 2:return function(e,t,n,r,s,i,o,a,l,c,u,h){let d=!1;const p=t.bindings,f=p.length;if(f>0&&is(e,t,0,n)&&(d=!0),f>1&&is(e,t,1,r)&&(d=!0),f>2&&is(e,t,2,s)&&(d=!0),f>3&&is(e,t,3,i)&&(d=!0),f>4&&is(e,t,4,o)&&(d=!0),f>5&&is(e,t,5,a)&&(d=!0),f>6&&is(e,t,6,l)&&(d=!0),f>7&&is(e,t,7,c)&&(d=!0),f>8&&is(e,t,8,u)&&(d=!0),f>9&&is(e,t,9,h)&&(d=!0),d){let d=t.text.prefix;f>0&&(d+=ma(n,p[0])),f>1&&(d+=ma(r,p[1])),f>2&&(d+=ma(s,p[2])),f>3&&(d+=ma(i,p[3])),f>4&&(d+=ma(o,p[4])),f>5&&(d+=ma(a,p[5])),f>6&&(d+=ma(l,p[6])),f>7&&(d+=ma(c,p[7])),f>8&&(d+=ma(u,p[8])),f>9&&(d+=ma(h,p[9]));const g=Br(e,t.nodeIndex).renderText;e.renderer.setValue(g,d)}return d}(e,t,n,r,s,i,o,a,l,c,u,h);case 16384:return function(e,t,n,r,s,i,o,a,l,c,u,h){const d=Gr(e,t.nodeIndex),p=d.instance;let f=!1,g=void 0;const m=t.bindings.length;return m>0&&ss(e,t,0,n)&&(f=!0,g=Si(e,d,t,0,n,g)),m>1&&ss(e,t,1,r)&&(f=!0,g=Si(e,d,t,1,r,g)),m>2&&ss(e,t,2,s)&&(f=!0,g=Si(e,d,t,2,s,g)),m>3&&ss(e,t,3,i)&&(f=!0,g=Si(e,d,t,3,i,g)),m>4&&ss(e,t,4,o)&&(f=!0,g=Si(e,d,t,4,o,g)),m>5&&ss(e,t,5,a)&&(f=!0,g=Si(e,d,t,5,a,g)),m>6&&ss(e,t,6,l)&&(f=!0,g=Si(e,d,t,6,l,g)),m>7&&ss(e,t,7,c)&&(f=!0,g=Si(e,d,t,7,c,g)),m>8&&ss(e,t,8,u)&&(f=!0,g=Si(e,d,t,8,u,g)),m>9&&ss(e,t,9,h)&&(f=!0,g=Si(e,d,t,9,h,g)),g&&p.ngOnChanges(g),65536&t.flags&&zr(e,256,t.nodeIndex)&&p.ngOnInit(),262144&t.flags&&p.ngDoCheck(),f}(e,t,n,r,s,i,o,a,l,c,u,h);case 32:case 64:case 128:return function(e,t,n,r,s,i,o,a,l,c,u,h){const d=t.bindings;let p=!1;const f=d.length;if(f>0&&is(e,t,0,n)&&(p=!0),f>1&&is(e,t,1,r)&&(p=!0),f>2&&is(e,t,2,s)&&(p=!0),f>3&&is(e,t,3,i)&&(p=!0),f>4&&is(e,t,4,o)&&(p=!0),f>5&&is(e,t,5,a)&&(p=!0),f>6&&is(e,t,6,l)&&(p=!0),f>7&&is(e,t,7,c)&&(p=!0),f>8&&is(e,t,8,u)&&(p=!0),f>9&&is(e,t,9,h)&&(p=!0),p){const p=Wr(e,t.nodeIndex);let g;switch(201347067&t.flags){case 32:g=new Array(d.length),f>0&&(g[0]=n),f>1&&(g[1]=r),f>2&&(g[2]=s),f>3&&(g[3]=i),f>4&&(g[4]=o),f>5&&(g[5]=a),f>6&&(g[6]=l),f>7&&(g[7]=c),f>8&&(g[8]=u),f>9&&(g[9]=h);break;case 64:g={},f>0&&(g[d[0].name]=n),f>1&&(g[d[1].name]=r),f>2&&(g[d[2].name]=s),f>3&&(g[d[3].name]=i),f>4&&(g[d[4].name]=o),f>5&&(g[d[5].name]=a),f>6&&(g[d[6].name]=l),f>7&&(g[d[7].name]=c),f>8&&(g[d[8].name]=u),f>9&&(g[d[9].name]=h);break;case 128:const e=n;switch(f){case 1:g=e.transform(n);break;case 2:g=e.transform(r);break;case 3:g=e.transform(r,s);break;case 4:g=e.transform(r,s,i);break;case 5:g=e.transform(r,s,i,o);break;case 6:g=e.transform(r,s,i,o,a);break;case 7:g=e.transform(r,s,i,o,a,l);break;case 8:g=e.transform(r,s,i,o,a,l,c);break;case 9:g=e.transform(r,s,i,o,a,l,c,u);break;case 10:g=e.transform(r,s,i,o,a,l,c,u,h)}}p.value=g}return p}(e,t,n,r,s,i,o,a,l,c,u,h);default:throw"unreachable"}}(e,t,r,s,i,o,a,l,c,u,h,d):function(e,t,n){switch(201347067&t.flags){case 1:return function(e,t,n){let r=!1;for(let s=0;s<n.length;s++)oa(e,t,s,n[s])&&(r=!0);return r}(e,t,n);case 2:return function(e,t,n){const r=t.bindings;let s=!1;for(let i=0;i<n.length;i++)is(e,t,i,n[i])&&(s=!0);if(s){let s="";for(let e=0;e<n.length;e++)s+=ma(n[e],r[e]);s=t.text.prefix+s;const i=Br(e,t.nodeIndex).renderText;e.renderer.setValue(i,s)}return s}(e,t,n);case 16384:return function(e,t,n){const r=Gr(e,t.nodeIndex),s=r.instance;let i=!1,o=void 0;for(let a=0;a<n.length;a++)ss(e,t,a,n[a])&&(i=!0,o=Si(e,r,t,a,n[a],o));return o&&s.ngOnChanges(o),65536&t.flags&&zr(e,256,t.nodeIndex)&&s.ngOnInit(),262144&t.flags&&s.ngDoCheck(),i}(e,t,n);case 32:case 64:case 128:return function(e,t,n){const r=t.bindings;let s=!1;for(let i=0;i<n.length;i++)is(e,t,i,n[i])&&(s=!0);if(s){const s=Wr(e,t.nodeIndex);let i;switch(201347067&t.flags){case 32:i=n;break;case 64:i={};for(let s=0;s<n.length;s++)i[r[s].name]=n[s];break;case 128:const e=n[0],t=n.slice(1);i=e.transform(...t)}s.value=i}return s}(e,t,n);default:throw"unreachable"}}(e,t,r)}function ka(e){const t=e.def;if(4&t.nodeFlags)for(let n=0;n<t.nodes.length;n++){const r=t.nodes[n];if(4&r.flags){const t=qr(e,n).template._projectedViews;if(t)for(let n=0;n<t.length;n++){const r=t[n];r.state|=32,ls(r,e)}}else 0==(4&r.childFlags)&&(n+=r.childCount)}}function Ia(e,t,n,r,s,i,o,a,l,c,u,h,d){return 0===n?function(e,t,n,r,s,i,o,a,l,c,u,h){const d=t.bindings.length;d>0&&os(e,t,0,n),d>1&&os(e,t,1,r),d>2&&os(e,t,2,s),d>3&&os(e,t,3,i),d>4&&os(e,t,4,o),d>5&&os(e,t,5,a),d>6&&os(e,t,6,l),d>7&&os(e,t,7,c),d>8&&os(e,t,8,u),d>9&&os(e,t,9,h)}(e,t,r,s,i,o,a,l,c,u,h,d):function(e,t,n){for(let r=0;r<n.length;r++)os(e,t,r,n[r])}(e,t,r),!1}function Ra(e,t){if(Zr(e,t.nodeIndex).dirty)throw Fr(Qr.createDebugContext(e,t.nodeIndex),`Query ${t.query.id} not dirty`,`Query ${t.query.id} dirty`,0!=(1&e.state))}function Na(e){if(!(128&e.state)){if(Da(e,ja.Destroy),Pa(e,ja.Destroy),Ei(e,131072),e.disposables)for(let t=0;t<e.disposables.length;t++)e.disposables[t]();!function(e){if(!(16&e.state))return;const t=us(e);if(t){const n=t.template._projectedViews;n&&(ne(n,n.indexOf(e)),Qr.dirtyParentQueries(e))}}(e),e.renderer.destroyNode&&function(e){const t=e.def.nodes.length;for(let n=0;n<t;n++){const t=e.def.nodes[n];1&t.flags?e.renderer.destroyNode(qr(e,n).renderElement):2&t.flags?e.renderer.destroyNode(Br(e,n).renderText):(67108864&t.flags||134217728&t.flags)&&Zr(e,n).destroy()}}(e),ps(e)&&e.renderer.destroy(),e.state|=128}}const ja=function(){var e={CreateViewNodes:0,CheckNoChanges:1,CheckNoChangesProjectedViews:2,CheckAndUpdate:3,CheckAndUpdateProjectedViews:4,Destroy:5};return e[e.CreateViewNodes]="CreateViewNodes",e[e.CheckNoChanges]="CheckNoChanges",e[e.CheckNoChangesProjectedViews]="CheckNoChangesProjectedViews",e[e.CheckAndUpdate]="CheckAndUpdate",e[e.CheckAndUpdateProjectedViews]="CheckAndUpdateProjectedViews",e[e.Destroy]="Destroy",e}();function Pa(e,t){const n=e.def;if(33554432&n.nodeFlags)for(let r=0;r<n.nodes.length;r++){const s=n.nodes[r];33554432&s.flags?Va(qr(e,r).componentView,t):0==(33554432&s.childFlags)&&(r+=s.childCount)}}function Da(e,t){const n=e.def;if(16777216&n.nodeFlags)for(let r=0;r<n.nodes.length;r++){const s=n.nodes[r];if(16777216&s.flags){const n=qr(e,r).viewContainer._embeddedViews;for(let e=0;e<n.length;e++)Va(n[e],t)}else 0==(16777216&s.childFlags)&&(r+=s.childCount)}}function Va(e,t){const n=e.state;switch(t){case ja.CheckNoChanges:0==(128&n)&&(12==(12&n)?Oa(e):64&n&&Ma(e,ja.CheckNoChangesProjectedViews));break;case ja.CheckNoChangesProjectedViews:0==(128&n)&&(32&n?Oa(e):64&n&&Ma(e,t));break;case ja.CheckAndUpdate:0==(128&n)&&(12==(12&n)?Ta(e):64&n&&Ma(e,ja.CheckAndUpdateProjectedViews));break;case ja.CheckAndUpdateProjectedViews:0==(128&n)&&(32&n?Ta(e):64&n&&Ma(e,t));break;case ja.Destroy:Na(e);break;case ja.CreateViewNodes:Ea(e)}}function Ma(e,t){Da(e,t),Pa(e,t)}function Ua(e,t,n,r){if(!(e.def.nodeFlags&t&&e.def.nodeFlags&n))return;const s=e.def.nodes.length;for(let i=0;i<s;i++){const s=e.def.nodes[i];if(s.flags&t&&s.flags&n)switch(Qr.setCurrentNode(e,s.nodeIndex),r){case 0:ca(e,s);break;case 1:Ra(e,s)}s.childFlags&t&&s.childFlags&n||(i+=s.childCount)}}let Fa=!1;function La(e,t,n,r,s,i){const o=s.injector.get(fr);return wa($a(e,s,o,t,n),r,i)}function Ha(e,t,n,r,s,i){const o=s.injector.get(fr),a=$a(e,s,new _l(o),t,n),l=Ya(r);return bl(sl.create,wa,null,[a,l,i])}function $a(e,t,n,r,s){const i=t.injector.get(Wt),o=t.injector.get(vt),a=n.createRenderer(null,null);return{ngModule:t,injector:e,projectableNodes:r,selectorOrNode:s,sanitizer:i,rendererFactory:n,renderer:a,errorHandler:o}}function za(e,t,n,r){const s=Ya(n);return bl(sl.create,_a,null,[e,t,s,r])}function Ba(e,t,n,r){return n=Za.get(t.element.componentProvider.provider.token)||Ya(n),bl(sl.create,Ca,null,[e,t,n,r])}function qa(e,t,n,r){return ti(e,t,n,function(e){const{hasOverrides:t,hasDeprecatedOverrides:n}=function(e){let t=!1,n=!1;return 0===Ga.size?{hasOverrides:t,hasDeprecatedOverrides:n}:(e.providers.forEach(e=>{const r=Ga.get(e.token);3840&e.flags&&r&&(t=!0,n=n||r.deprecatedBehavior)}),e.modules.forEach(e=>{Wa.forEach((r,s)=>{O(s).providedIn===e&&(t=!0,n=n||r.deprecatedBehavior)})}),{hasOverrides:t,hasDeprecatedOverrides:n})}(e);return t?(function(e){for(let t=0;t<e.providers.length;t++){const r=e.providers[t];n&&(r.flags|=4096);const s=Ga.get(r.token);s&&(r.flags=-3841&r.flags|s.flags,r.deps=ys(s.deps),r.value=s.value)}if(Wa.size>0){let t=new Set(e.modules);Wa.forEach((r,s)=>{if(t.has(O(s).providedIn)){let t={token:s,flags:r.flags|(n?4096:0),deps:ys(r.deps),value:r.value,index:e.providers.length};e.providers.push(t),e.providersByKey[Yr(s)]=t}})}}(e=e.factory(()=>Jr)),e):e}(r))}const Ga=new Map,Wa=new Map,Za=new Map;function Qa(e){let t;Ga.set(e.token,e),"function"==typeof e.token&&(t=O(e.token))&&"function"==typeof t.providedIn&&Wa.set(e.token,e)}function Ja(e,t){const n=_s(t.viewDefFactory),r=_s(n.nodes[0].element.componentView);Za.set(e,r)}function Ka(){Ga.clear(),Wa.clear(),Za.clear()}function Ya(e){if(0===Ga.size)return e;const t=function(e){const t=[];let n=null;for(let r=0;r<e.nodes.length;r++){const s=e.nodes[r];1&s.flags&&(n=s),n&&3840&s.flags&&Ga.has(s.provider.token)&&(t.push(n.nodeIndex),n=null)}return t}(e);if(0===t.length)return e;e=e.factory(()=>Jr);for(let r=0;r<t.length;r++)n(e,t[r]);return e;function n(e,t){for(let n=t+1;n<e.nodes.length;n++){const t=e.nodes[n];if(1&t.flags)return;if(3840&t.flags){const e=t.provider,n=Ga.get(e.token);n&&(t.flags=-3841&t.flags|n.flags,e.deps=ys(n.deps),e.value=n.value)}}}}function Xa(e,t,n,r,s,i,o,a,l,c,u,h,d){const p=e.def.nodes[t];return Aa(e,p,n,r,s,i,o,a,l,c,u,h,d),224&p.flags?Wr(e,t).value:void 0}function el(e,t,n,r,s,i,o,a,l,c,u,h,d){const p=e.def.nodes[t];return Ia(e,p,n,r,s,i,o,a,l,c,u,h,d),224&p.flags?Wr(e,t).value:void 0}function tl(e){return bl(sl.detectChanges,Ta,null,[e])}function nl(e){return bl(sl.checkNoChanges,Oa,null,[e])}function rl(e){return bl(sl.destroy,Na,null,[e])}const sl=function(){var e={create:0,detectChanges:1,checkNoChanges:2,destroy:3,handleEvent:4};return e[e.create]="create",e[e.detectChanges]="detectChanges",e[e.checkNoChanges]="checkNoChanges",e[e.destroy]="destroy",e[e.handleEvent]="handleEvent",e}();let il,ol,al;function ll(e,t){ol=e,al=t}function cl(e,t,n,r){return ll(e,t),bl(sl.handleEvent,e.def.handleEvent,null,[e,t,n,r])}function ul(e,t){if(128&e.state)throw Hr(sl[il]);return ll(e,fl(e,0)),e.def.updateDirectives((function(e,n,r,...s){const i=e.def.nodes[n];return 0===t?dl(e,i,r,s):pl(e,i,r,s),16384&i.flags&&ll(e,fl(e,n)),224&i.flags?Wr(e,i.nodeIndex).value:void 0}),e)}function hl(e,t){if(128&e.state)throw Hr(sl[il]);return ll(e,gl(e,0)),e.def.updateRenderer((function(e,n,r,...s){const i=e.def.nodes[n];return 0===t?dl(e,i,r,s):pl(e,i,r,s),3&i.flags&&ll(e,gl(e,n)),224&i.flags?Wr(e,i.nodeIndex).value:void 0}),e)}function dl(e,t,n,r){if(Aa(e,t,n,...r)){const o=1===n?r[0]:r;if(16384&t.flags){const n={};for(let e=0;e<t.bindings.length;e++){const r=t.bindings[e],a=o[e];8&r.flags&&(n[(s=r.nonMinifiedName,i=void 0,i=s.replace(/[$@]/g,"_"),`ng-reflect-${s=i.replace(Kt,(...e)=>"-"+e[1].toLowerCase())}`)]=Yt(a))}const r=t.parent,a=qr(e,r.nodeIndex).renderElement;if(r.element.name)for(let t in n){const r=n[t];null!=r?e.renderer.setAttribute(a,t,r):e.renderer.removeAttribute(a,t)}else e.renderer.setValue(a,`bindings=${JSON.stringify(n,null,2)}`)}}var s,i}function pl(e,t,n,r){Ia(e,t,n,...r)}function fl(e,t){for(let n=t;n<e.def.nodes.length;n++){const t=e.def.nodes[n];if(16384&t.flags&&t.bindings&&t.bindings.length)return n}return null}function gl(e,t){for(let n=t;n<e.def.nodes.length;n++){const t=e.def.nodes[n];if(3&t.flags&&t.bindings&&t.bindings.length)return n}return null}class ml{constructor(e,t){this.view=e,this.nodeIndex=t,null==t&&(this.nodeIndex=t=0),this.nodeDef=e.def.nodes[t];let n=this.nodeDef,r=e;for(;n&&0==(1&n.flags);)n=n.parent;if(!n)for(;!n&&r;)n=hs(r),r=r.parent;this.elDef=n,this.elView=r}get elOrCompView(){return qr(this.elView,this.elDef.nodeIndex).componentView||this.view}get injector(){return Js(this.elView,this.elDef)}get component(){return this.elOrCompView.component}get context(){return this.elOrCompView.context}get providerTokens(){const e=[];if(this.elDef)for(let t=this.elDef.nodeIndex+1;t<=this.elDef.nodeIndex+this.elDef.childCount;t++){const n=this.elView.def.nodes[t];20224&n.flags&&e.push(n.provider.token),t+=n.childCount}return e}get references(){const e={};if(this.elDef){yl(this.elView,this.elDef,e);for(let t=this.elDef.nodeIndex+1;t<=this.elDef.nodeIndex+this.elDef.childCount;t++){const n=this.elView.def.nodes[t];20224&n.flags&&yl(this.elView,n,e),t+=n.childCount}}return e}get componentRenderElement(){const e=function(e){for(;e&&!ps(e);)e=e.parent;return e.parent?qr(e.parent,hs(e).nodeIndex):null}(this.elOrCompView);return e?e.renderElement:void 0}get renderNode(){return 2&this.nodeDef.flags?ds(this.view,this.nodeDef):ds(this.elView,this.elDef)}logError(e,...t){let n,r;2&this.nodeDef.flags?(n=this.view.def,r=this.nodeDef.nodeIndex):(n=this.elView.def,r=this.elDef.nodeIndex);const s=function(e,t){let n=-1;for(let r=0;r<=t;r++)3&e.nodes[r].flags&&n++;return n}(n,r);let i=-1;n.factory(()=>++i===s?e.error.bind(e,...t):Jr),i<s&&(e.error("Illegal state: the ViewDefinitionFactory did not call the logger!"),e.error(...t))}}function yl(e,t,n){for(let r in t.references)n[r]=ha(e,t,t.references[r])}function bl(e,t,n,r){const s=il,i=ol,o=al;try{il=e;const a=t.apply(n,r);return ol=i,al=o,il=s,a}catch(c){if(mt(c)||!ol)throw c;throw a=c,l=vl(),a instanceof Error||(a=new Error(a.toString())),Lr(a,l),a}var a,l}function vl(){return ol?new ml(ol,al):null}class _l{constructor(e){this.delegate=e}createRenderer(e,t){return new wl(this.delegate.createRenderer(e,t))}begin(){this.delegate.begin&&this.delegate.begin()}end(){this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.delegate.whenRenderingDone?this.delegate.whenRenderingDone():Promise.resolve(null)}}class wl{constructor(e){this.delegate=e,this.debugContextFactory=vl,this.data=this.delegate.data}createDebugContext(e){return this.debugContextFactory(e)}destroyNode(e){const t=Wo(e);!function(e){Go.delete(e.nativeNode)}(t),t instanceof Bo&&(t.listeners.length=0),this.delegate.destroyNode&&this.delegate.destroyNode(e)}destroy(){this.delegate.destroy()}createElement(e,t){const n=this.delegate.createElement(e,t),r=this.createDebugContext(n);if(r){const t=new qo(n,null,r);t.name=e,Zo(t)}return n}createComment(e){const t=this.delegate.createComment(e),n=this.createDebugContext(t);return n&&Zo(new Bo(t,null,n)),t}createText(e){const t=this.delegate.createText(e),n=this.createDebugContext(t);return n&&Zo(new Bo(t,null,n)),t}appendChild(e,t){const n=Wo(e),r=Wo(t);n&&r&&n instanceof qo&&n.addChild(r),this.delegate.appendChild(e,t)}insertBefore(e,t,n){const r=Wo(e),s=Wo(t),i=Wo(n);r&&s&&r instanceof qo&&r.insertBefore(i,s),this.delegate.insertBefore(e,t,n)}removeChild(e,t){const n=Wo(e),r=Wo(t);n&&r&&n instanceof qo&&n.removeChild(r),this.delegate.removeChild(e,t)}selectRootElement(e,t){const n=this.delegate.selectRootElement(e,t),r=vl();return r&&Zo(new qo(n,null,r)),n}setAttribute(e,t,n,r){const s=Wo(e);s&&s instanceof qo&&(s.attributes[r?r+":"+t:t]=n),this.delegate.setAttribute(e,t,n,r)}removeAttribute(e,t,n){const r=Wo(e);r&&r instanceof qo&&(r.attributes[n?n+":"+t:t]=null),this.delegate.removeAttribute(e,t,n)}addClass(e,t){const n=Wo(e);n&&n instanceof qo&&(n.classes[t]=!0),this.delegate.addClass(e,t)}removeClass(e,t){const n=Wo(e);n&&n instanceof qo&&(n.classes[t]=!1),this.delegate.removeClass(e,t)}setStyle(e,t,n,r){const s=Wo(e);s&&s instanceof qo&&(s.styles[t]=n),this.delegate.setStyle(e,t,n,r)}removeStyle(e,t,n){const r=Wo(e);r&&r instanceof qo&&(r.styles[t]=null),this.delegate.removeStyle(e,t,n)}setProperty(e,t,n){const r=Wo(e);r&&r instanceof qo&&(r.properties[t]=n),this.delegate.setProperty(e,t,n)}listen(e,t,n){if("string"!=typeof e){const r=Wo(e);r&&r.listeners.push(new zo(t,n))}return this.delegate.listen(e,t,n)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setValue(e,t){return this.delegate.setValue(e,t)}}function Cl(e,t,n){return new xl(e,t,n)}class xl extends ee{constructor(e,t,n){super(),this.moduleType=e,this._bootstrapComponents=t,this._ngModuleDefFactory=n}create(e){!function(){if(Fa)return;Fa=!0;const e=Ct()?{setCurrentNode:ll,createRootView:Ha,createEmbeddedView:za,createComponentView:Ba,createNgModuleRef:qa,overrideProvider:Qa,overrideComponentView:Ja,clearOverrides:Ka,checkAndUpdateView:tl,checkNoChangesView:nl,destroyView:rl,createDebugContext:(e,t)=>new ml(e,t),handleEvent:cl,updateDirectives:ul,updateRenderer:hl}:{setCurrentNode:()=>{},createRootView:La,createEmbeddedView:_a,createComponentView:Ca,createNgModuleRef:ti,overrideProvider:Jr,overrideComponentView:Jr,clearOverrides:Jr,checkAndUpdateView:Ta,checkNoChangesView:Oa,destroyView:Na,createDebugContext:(e,t)=>new ml(e,t),handleEvent:(e,t,n,r)=>e.def.handleEvent(e,t,n,r),updateDirectives:(e,t)=>e.def.updateDirectives(0===t?Xa:el,e),updateRenderer:(e,t)=>e.def.updateRenderer(0===t?Xa:el,e)};Qr.setCurrentNode=e.setCurrentNode,Qr.createRootView=e.createRootView,Qr.createEmbeddedView=e.createEmbeddedView,Qr.createComponentView=e.createComponentView,Qr.createNgModuleRef=e.createNgModuleRef,Qr.overrideProvider=e.overrideProvider,Qr.overrideComponentView=e.overrideComponentView,Qr.clearOverrides=e.clearOverrides,Qr.checkAndUpdateView=e.checkAndUpdateView,Qr.checkNoChangesView=e.checkNoChangesView,Qr.destroyView=e.destroyView,Qr.resolveDep=Ci,Qr.createDebugContext=e.createDebugContext,Qr.handleEvent=e.handleEvent,Qr.updateDirectives=e.updateDirectives,Qr.updateRenderer=e.updateRenderer,Qr.dirtyParentQueries=la}();const t=function(e){const t=Array.from(e.providers),n=Array.from(e.modules),r={};for(const s in e.providersByKey)r[s]=e.providersByKey[s];return{factory:e.factory,isRoot:e.isRoot,providers:t,modules:n,providersByKey:r}}(_s(this._ngModuleDefFactory));return Qr.createNgModuleRef(this.moduleType,e||Sn.NULL,this._bootstrapComponents,t)}}},"9ppp":function(e,t,n){"use strict";function r(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}n.d(t,"a",(function(){return s})),r.prototype=Object.create(Error.prototype);const s=r},CRDf:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n("kJWO");const s=e=>t=>{const n=e[r.a]();if("function"!=typeof n.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return n.subscribe(t)}},Cfvw:function(e,t,n){"use strict";var r=n("HDdC"),s=n("c2HN"),i=n("I55L"),o=n("kJWO"),a=n("Lhse"),l=n("yCtX"),c=n("quSY"),u=n("a7t3"),h=n("pLzU"),d=n("CRDf"),p=n("SeVD");function f(e,t){if(!t)return e instanceof r.a?e:new r.a(Object(p.a)(e));if(null!=e){if(function(e){return e&&"function"==typeof e[o.a]}(e))return function(e,t){return new r.a(t?n=>{const r=new c.a;return r.add(t.schedule(()=>{const s=e[o.a]();r.add(s.subscribe({next(e){r.add(t.schedule(()=>n.next(e)))},error(e){r.add(t.schedule(()=>n.error(e)))},complete(){r.add(t.schedule(()=>n.complete()))}}))})),r}:Object(d.a)(e))}(e,t);if(Object(s.a)(e))return function(e,t){return new r.a(t?n=>{const r=new c.a;return r.add(t.schedule(()=>e.then(e=>{r.add(t.schedule(()=>{n.next(e),r.add(t.schedule(()=>n.complete()))}))},e=>{r.add(t.schedule(()=>n.error(e)))}))),r}:Object(u.a)(e))}(e,t);if(Object(i.a)(e))return Object(l.a)(e,t);if(function(e){return e&&"function"==typeof e[a.a]}(e)||"string"==typeof e)return function(e,t){if(!e)throw new Error("Iterable cannot be null");return new r.a(t?n=>{const r=new c.a;let s;return r.add(()=>{s&&"function"==typeof s.return&&s.return()}),r.add(t.schedule(()=>{s=e[a.a](),r.add(t.schedule((function(){if(n.closed)return;let e,t;try{const n=s.next();e=n.value,t=n.done}catch(r){return void n.error(r)}t?n.complete():(n.next(e),this.schedule())})))})),r}:Object(h.a)(e))}(e,t)}throw new TypeError((null!==e&&typeof e||e)+" is not observable")}n.d(t,"a",(function(){return f}))},DH7j:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));const r=Array.isArray||(e=>e&&"number"==typeof e.length)},EY2u:function(e,t,n){"use strict";n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return i}));var r=n("HDdC");const s=new r.a(e=>e.complete());function i(e){return e?function(e){return new r.a(t=>e.schedule(()=>t.complete()))}(e):s}},FpXt:function(e,t,n){"use strict";n("SVse"),n("iInd"),n("s7LF");var r=n("ItC6"),s=n("eK/2");const i=[{provide:s.a,useClass:s.a}];var o=n("IheW"),a=n("T2qd"),l=n("gP80"),c=n("NAAZ");n.d(t,"a",(function(){return f}));const u=[r.a,l.a],h=[...i],d=[c.a],p=[{provide:o.a,useClass:a.a,multi:!0}];class f{static forRoot(){return{ngModule:f,providers:[...u,...h,...p,...d]}}}},HDdC:function(e,t,n){"use strict";var r=n("7o/Q"),s=n("2QA8"),i=n("gRHU"),o=n("kJWO"),a=n("mCNh"),l=n("2fFW");n.d(t,"a",(function(){return c}));let c=(()=>{class e{constructor(e){this._isScalar=!1,e&&(this._subscribe=e)}lift(t){const n=new e;return n.source=this,n.operator=t,n}subscribe(e,t,n){const{operator:o}=this,a=function(e,t,n){if(e){if(e instanceof r.a)return e;if(e[s.a])return e[s.a]()}return e||t||n?new r.a(e,t,n):new r.a(i.a)}(e,t,n);if(a.add(o?o.call(a,this.source):this.source||l.a.useDeprecatedSynchronousErrorHandling&&!a.syncErrorThrowable?this._subscribe(a):this._trySubscribe(a)),l.a.useDeprecatedSynchronousErrorHandling&&a.syncErrorThrowable&&(a.syncErrorThrowable=!1,a.syncErrorThrown))throw a.syncErrorValue;return a}_trySubscribe(e){try{return this._subscribe(e)}catch(t){l.a.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=t),function(e){for(;e;){const{closed:t,destination:n,isStopped:s}=e;if(t||s)return!1;e=n&&n instanceof r.a?n:null}return!0}(e)?e.error(t):console.warn(t)}}forEach(e,t){return new(t=u(t))((t,n)=>{let r;r=this.subscribe(t=>{try{e(t)}catch(s){n(s),r&&r.unsubscribe()}},n,t)})}_subscribe(e){const{source:t}=this;return t&&t.subscribe(e)}[o.a](){return this}pipe(...e){return 0===e.length?this:Object(a.b)(e)(this)}toPromise(e){return new(e=u(e))((e,t)=>{let n;this.subscribe(e=>n=e,e=>t(e),()=>e(n))})}}return e.create=t=>new e(t),e})();function u(e){if(e||(e=l.a.Promise||Promise),!e)throw new Error("no Promise impl found");return e}},I55L:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));const r=e=>e&&"number"==typeof e.length&&"function"!=typeof e},IheW:function(e,t,n){"use strict";n.d(t,"k",(function(){return N})),n.d(t,"n",(function(){return M})),n.d(t,"o",(function(){return U})),n.d(t,"l",(function(){return P})),n.d(t,"m",(function(){return D})),n.d(t,"b",(function(){return h})),n.d(t,"f",(function(){return u})),n.d(t,"c",(function(){return O})),n.d(t,"a",(function(){return A})),n.d(t,"d",(function(){return H})),n.d(t,"e",(function(){return L})),n.d(t,"j",(function(){return F})),n.d(t,"g",(function(){return j})),n.d(t,"i",(function(){return R})),n.d(t,"h",(function(){return V}));var r=n("8Y7J"),s=n("LRne"),i=n("HDdC"),o=n("bOdf"),a=n("pLZG"),l=n("lJxs"),c=n("SVse");class u{}class h{}class d{constructor(e){this.normalizedNames=new Map,this.lazyUpdate=null,e?this.lazyInit="string"==typeof e?()=>{this.headers=new Map,e.split("\n").forEach(e=>{const t=e.indexOf(":");if(t>0){const n=e.slice(0,t),r=n.toLowerCase(),s=e.slice(t+1).trim();this.maybeSetNormalizedName(n,r),this.headers.has(r)?this.headers.get(r).push(s):this.headers.set(r,[s])}})}:()=>{this.headers=new Map,Object.keys(e).forEach(t=>{let n=e[t];const r=t.toLowerCase();"string"==typeof n&&(n=[n]),n.length>0&&(this.headers.set(r,n),this.maybeSetNormalizedName(t,r))})}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();const t=this.headers.get(e.toLowerCase());return t&&t.length>0?t[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,t){return this.clone({name:e,value:t,op:"a"})}set(e,t){return this.clone({name:e,value:t,op:"s"})}delete(e,t){return this.clone({name:e,value:t,op:"d"})}maybeSetNormalizedName(e,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,e)}init(){this.lazyInit&&(this.lazyInit instanceof d?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(e=>this.applyUpdate(e)),this.lazyUpdate=null))}copyFrom(e){e.init(),Array.from(e.headers.keys()).forEach(t=>{this.headers.set(t,e.headers.get(t)),this.normalizedNames.set(t,e.normalizedNames.get(t))})}clone(e){const t=new d;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof d?this.lazyInit:this,t.lazyUpdate=(this.lazyUpdate||[]).concat([e]),t}applyUpdate(e){const t=e.name.toLowerCase();switch(e.op){case"a":case"s":let n=e.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(e.name,t);const r=("a"===e.op?this.headers.get(t):void 0)||[];r.push(...n),this.headers.set(t,r);break;case"d":const s=e.value;if(s){let e=this.headers.get(t);if(!e)return;0===(e=e.filter(e=>-1===s.indexOf(e))).length?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,e)}else this.headers.delete(t),this.normalizedNames.delete(t)}}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(t=>e(this.normalizedNames.get(t),this.headers.get(t)))}}class p{encodeKey(e){return f(e)}encodeValue(e){return f(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}}function f(e){return encodeURIComponent(e).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,"/")}class g{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new p,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function(e,t){const n=new Map;return e.length>0&&e.split("&").forEach(e=>{const r=e.indexOf("="),[s,i]=-1==r?[t.decodeKey(e),""]:[t.decodeKey(e.slice(0,r)),t.decodeValue(e.slice(r+1))],o=n.get(s)||[];o.push(i),n.set(s,o)}),n}(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(t=>{const n=e.fromObject[t];this.map.set(t,Array.isArray(n)?n:[n])})):this.map=null}has(e){return this.init(),this.map.has(e)}get(e){this.init();const t=this.map.get(e);return t?t[0]:null}getAll(e){return this.init(),this.map.get(e)||null}keys(){return this.init(),Array.from(this.map.keys())}append(e,t){return this.clone({param:e,value:t,op:"a"})}set(e,t){return this.clone({param:e,value:t,op:"s"})}delete(e,t){return this.clone({param:e,value:t,op:"d"})}toString(){return this.init(),this.keys().map(e=>{const t=this.encoder.encodeKey(e);return this.map.get(e).map(e=>t+"="+this.encoder.encodeValue(e)).join("&")}).join("&")}clone(e){const t=new g({encoder:this.encoder});return t.cloneFrom=this.cloneFrom||this,t.updates=(this.updates||[]).concat([e]),t}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(e=>this.map.set(e,this.cloneFrom.map.get(e))),this.updates.forEach(e=>{switch(e.op){case"a":case"s":const t=("a"===e.op?this.map.get(e.param):void 0)||[];t.push(e.value),this.map.set(e.param,t);break;case"d":if(void 0===e.value){this.map.delete(e.param);break}{let t=this.map.get(e.param)||[];const n=t.indexOf(e.value);-1!==n&&t.splice(n,1),t.length>0?this.map.set(e.param,t):this.map.delete(e.param)}}}),this.cloneFrom=this.updates=null)}}function m(e){return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer}function y(e){return"undefined"!=typeof Blob&&e instanceof Blob}function b(e){return"undefined"!=typeof FormData&&e instanceof FormData}class v{constructor(e,t,n,r){let s;if(this.url=t,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase(),function(e){switch(e){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,s=r):s=n,s&&(this.reportProgress=!!s.reportProgress,this.withCredentials=!!s.withCredentials,s.responseType&&(this.responseType=s.responseType),s.headers&&(this.headers=s.headers),s.params&&(this.params=s.params)),this.headers||(this.headers=new d),this.params){const e=this.params.toString();if(0===e.length)this.urlWithParams=t;else{const n=t.indexOf("?");this.urlWithParams=t+(-1===n?"?":n<t.length-1?"&":"")+e}}else this.params=new g,this.urlWithParams=t}serializeBody(){return null===this.body?null:m(this.body)||y(this.body)||b(this.body)||"string"==typeof this.body?this.body:this.body instanceof g?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body?null:b(this.body)?null:y(this.body)?this.body.type||null:m(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof g?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||Array.isArray(this.body)?"application/json":null}clone(e={}){const t=e.method||this.method,n=e.url||this.url,r=e.responseType||this.responseType,s=void 0!==e.body?e.body:this.body,i=void 0!==e.withCredentials?e.withCredentials:this.withCredentials,o=void 0!==e.reportProgress?e.reportProgress:this.reportProgress;let a=e.headers||this.headers,l=e.params||this.params;return void 0!==e.setHeaders&&(a=Object.keys(e.setHeaders).reduce((t,n)=>t.set(n,e.setHeaders[n]),a)),e.setParams&&(l=Object.keys(e.setParams).reduce((t,n)=>t.set(n,e.setParams[n]),l)),new v(t,n,s,{params:l,headers:a,reportProgress:o,responseType:r,withCredentials:i})}}const _=function(){var e={Sent:0,UploadProgress:1,ResponseHeader:2,DownloadProgress:3,Response:4,User:5};return e[e.Sent]="Sent",e[e.UploadProgress]="UploadProgress",e[e.ResponseHeader]="ResponseHeader",e[e.DownloadProgress]="DownloadProgress",e[e.Response]="Response",e[e.User]="User",e}();class w{constructor(e,t=200,n="OK"){this.headers=e.headers||new d,this.status=void 0!==e.status?e.status:t,this.statusText=e.statusText||n,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}}class C extends w{constructor(e={}){super(e),this.type=_.ResponseHeader}clone(e={}){return new C({headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}class x extends w{constructor(e={}){super(e),this.type=_.Response,this.body=void 0!==e.body?e.body:null}clone(e={}){return new x({body:void 0!==e.body?e.body:this.body,headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}class S extends w{constructor(e){super(e,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${e.url||"(unknown url)"}`:`Http failure response for ${e.url||"(unknown url)"}: ${e.status} ${e.statusText}`,this.error=e.error||null}}function E(e,t){return{body:t,headers:e.headers,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials}}class O{constructor(e){this.handler=e}request(e,t,n={}){let r;if(e instanceof v)r=e;else{let s=void 0;s=n.headers instanceof d?n.headers:new d(n.headers);let i=void 0;n.params&&(i=n.params instanceof g?n.params:new g({fromObject:n.params})),r=new v(e,t,void 0!==n.body?n.body:null,{headers:s,params:i,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}const i=Object(s.a)(r).pipe(Object(o.a)(e=>this.handler.handle(e)));if(e instanceof v||"events"===n.observe)return i;const c=i.pipe(Object(a.a)(e=>e instanceof x));switch(n.observe||"body"){case"body":switch(r.responseType){case"arraybuffer":return c.pipe(Object(l.a)(e=>{if(null!==e.body&&!(e.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return e.body}));case"blob":return c.pipe(Object(l.a)(e=>{if(null!==e.body&&!(e.body instanceof Blob))throw new Error("Response is not a Blob.");return e.body}));case"text":return c.pipe(Object(l.a)(e=>{if(null!==e.body&&"string"!=typeof e.body)throw new Error("Response is not a string.");return e.body}));case"json":default:return c.pipe(Object(l.a)(e=>e.body))}case"response":return c;default:throw new Error(`Unreachable: unhandled observe type ${n.observe}}`)}}delete(e,t={}){return this.request("DELETE",e,t)}get(e,t={}){return this.request("GET",e,t)}head(e,t={}){return this.request("HEAD",e,t)}jsonp(e,t){return this.request("JSONP",e,{params:(new g).append(t,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,t={}){return this.request("OPTIONS",e,t)}patch(e,t,n={}){return this.request("PATCH",e,E(n,t))}post(e,t,n={}){return this.request("POST",e,E(n,t))}put(e,t,n={}){return this.request("PUT",e,E(n,t))}}class T{constructor(e,t){this.next=e,this.interceptor=t}handle(e){return this.interceptor.intercept(e,this.next)}}const A=new r.o("HTTP_INTERCEPTORS");class k{intercept(e,t){return t.handle(e)}}const I=/^\)\]\}',?\n/;class R{}class N{constructor(){}build(){return new XMLHttpRequest}}class j{constructor(e){this.xhrFactory=e}handle(e){if("JSONP"===e.method)throw new Error("Attempted to construct Jsonp request without JsonpClientModule installed.");return new i.a(t=>{const n=this.xhrFactory.build();if(n.open(e.method,e.urlWithParams),e.withCredentials&&(n.withCredentials=!0),e.headers.forEach((e,t)=>n.setRequestHeader(e,t.join(","))),e.headers.has("Accept")||n.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){const t=e.detectContentTypeHeader();null!==t&&n.setRequestHeader("Content-Type",t)}if(e.responseType){const t=e.responseType.toLowerCase();n.responseType="json"!==t?t:"text"}const r=e.serializeBody();let s=null;const i=()=>{if(null!==s)return s;const t=1223===n.status?204:n.status,r=n.statusText||"OK",i=new d(n.getAllResponseHeaders()),o=function(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(n)||e.url;return s=new C({headers:i,status:t,statusText:r,url:o})},o=()=>{let{headers:r,status:s,statusText:o,url:a}=i(),l=null;204!==s&&(l=void 0===n.response?n.responseText:n.response),0===s&&(s=l?200:0);let c=s>=200&&s<300;if("json"===e.responseType&&"string"==typeof l){const e=l;l=l.replace(I,"");try{l=""!==l?JSON.parse(l):null}catch(u){l=e,c&&(c=!1,l={error:u,text:l})}}c?(t.next(new x({body:l,headers:r,status:s,statusText:o,url:a||void 0})),t.complete()):t.error(new S({error:l,headers:r,status:s,statusText:o,url:a||void 0}))},a=e=>{const{url:r}=i(),s=new S({error:e,status:n.status||0,statusText:n.statusText||"Unknown Error",url:r||void 0});t.error(s)};let l=!1;const c=r=>{l||(t.next(i()),l=!0);let s={type:_.DownloadProgress,loaded:r.loaded};r.lengthComputable&&(s.total=r.total),"text"===e.responseType&&n.responseText&&(s.partialText=n.responseText),t.next(s)},u=e=>{let n={type:_.UploadProgress,loaded:e.loaded};e.lengthComputable&&(n.total=e.total),t.next(n)};return n.addEventListener("load",o),n.addEventListener("error",a),e.reportProgress&&(n.addEventListener("progress",c),null!==r&&n.upload&&n.upload.addEventListener("progress",u)),n.send(r),t.next({type:_.Sent}),()=>{n.removeEventListener("error",a),n.removeEventListener("load",o),e.reportProgress&&(n.removeEventListener("progress",c),null!==r&&n.upload&&n.upload.removeEventListener("progress",u)),n.abort()}})}}const P=new r.o("XSRF_COOKIE_NAME"),D=new r.o("XSRF_HEADER_NAME");class V{}class M{constructor(e,t,n){this.doc=e,this.platform=t,this.cookieName=n,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=Object(c.s)(e,this.cookieName),this.lastCookieString=e),this.lastToken}}class U{constructor(e,t){this.tokenService=e,this.headerName=t}intercept(e,t){const n=e.url.toLowerCase();if("GET"===e.method||"HEAD"===e.method||n.startsWith("http://")||n.startsWith("https://"))return t.handle(e);const r=this.tokenService.getToken();return null===r||e.headers.has(this.headerName)||(e=e.clone({headers:e.headers.set(this.headerName,r)})),t.handle(e)}}class F{constructor(e,t){this.backend=e,this.injector=t,this.chain=null}handle(e){if(null===this.chain){const e=this.injector.get(A,[]);this.chain=e.reduceRight((e,t)=>new T(e,t),this.backend)}return this.chain.handle(e)}}class L{static disable(){return{ngModule:L,providers:[{provide:U,useClass:k}]}}static withOptions(e={}){return{ngModule:L,providers:[e.cookieName?{provide:P,useValue:e.cookieName}:[],e.headerName?{provide:D,useValue:e.headerName}:[]]}}}class H{}},ItC6:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n("l207");class s{constructor(e,t){this.router=e,this.storageService=t}canActivate(e,t){return!!this.storageService.getItem(r.a)||(this.router.navigate(["/login"]),!1)}}},KqfI:function(e,t,n){"use strict";function r(){}n.d(t,"a",(function(){return r}))},LRne:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n("z+Ro"),s=n("yCtX"),i=n("EY2u"),o=n("XUOw");function a(...e){let t=e[e.length-1];switch(Object(r.a)(t)?e.pop():t=void 0,e.length){case 0:return Object(i.b)(t);case 1:return t?Object(s.a)(e,t):Object(o.a)(e[0]);default:return Object(s.a)(e,t)}}},Lhse:function(e,t,n){"use strict";function r(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}n.d(t,"a",(function(){return s}));const s=r()},NAAZ:function(e,t,n){"use strict";class r{constructor(e){this.runningInTheBrowser=e}getItem(e){if(this.runningInTheBrowser)return localStorage.getItem(e)}setItem(e,t){this.runningInTheBrowser&&localStorage.setItem(e,t)}removeItem(e){this.runningInTheBrowser&&localStorage.removeItem(e)}}var s=n("SVse");n.d(t,"a",(function(){return i}));class i{constructor(e){this.platformId=e;const t=Object(s.o)(e);this.storage=new r(t)}getItem(e){return this.storage.getItem(e)}setItem(e,t){return this.storage.setItem(e,t)}removeItem(e){return this.storage.removeItem(e)}}},NJ4a:function(e,t,n){"use strict";function r(e){setTimeout(()=>{throw e})}n.d(t,"a",(function(){return r}))},SVse:function(e,t,n){"use strict";n.d(t,"r",(function(){return f})),n.d(t,"j",(function(){return m})),n.d(t,"k",(function(){return g})),n.d(t,"s",(function(){return y})),n.d(t,"c",(function(){return O})),n.d(t,"i",(function(){return v})),n.d(t,"d",(function(){return T})),n.d(t,"b",(function(){return E})),n.d(t,"q",(function(){return A})),n.d(t,"o",(function(){return I})),n.d(t,"p",(function(){return R})),n.d(t,"n",(function(){return N})),n.d(t,"m",(function(){return s})),n.d(t,"f",(function(){return i})),n.d(t,"h",(function(){return o})),n.d(t,"a",(function(){return a})),n.d(t,"e",(function(){return u})),n.d(t,"l",(function(){return h})),n.d(t,"g",(function(){return l}));var r=n("8Y7J");class s{}const i=new r.o("Location Initialized");class o{}const a=new r.o("appBaseHref");class l{constructor(e,t){this._subject=new r.m,this._urlChangeListeners=[],this._platformStrategy=e;const n=this._platformStrategy.getBaseHref();this._platformLocation=t,this._baseHref=l.stripTrailingSlash(c(n)),this._platformStrategy.onPopState(e=>{this._subject.emit({url:this.path(!0),pop:!0,state:e.state,type:e.type})})}path(e=!1){return this.normalize(this._platformStrategy.path(e))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(e,t=""){return this.path()==this.normalize(e+l.normalizeQueryParams(t))}normalize(e){return l.stripTrailingSlash(function(e,t){return e&&t.startsWith(e)?t.substring(e.length):t}(this._baseHref,c(e)))}prepareExternalUrl(e){return e&&"/"!==e[0]&&(e="/"+e),this._platformStrategy.prepareExternalUrl(e)}go(e,t="",n=null){this._platformStrategy.pushState(n,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+l.normalizeQueryParams(t)),n)}replaceState(e,t="",n=null){this._platformStrategy.replaceState(n,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+l.normalizeQueryParams(t)),n)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}onUrlChange(e){this._urlChangeListeners.push(e),this.subscribe(e=>{this._notifyUrlChangeListeners(e.url,e.state)})}_notifyUrlChangeListeners(e="",t){this._urlChangeListeners.forEach(n=>n(e,t))}subscribe(e,t,n){return this._subject.subscribe({next:e,error:t,complete:n})}static normalizeQueryParams(e){return e&&"?"!==e[0]?"?"+e:e}static joinWithSlash(e,t){if(0==e.length)return t;if(0==t.length)return e;let n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,2==n?e+t.substring(1):1==n?e+t:e+"/"+t}static stripTrailingSlash(e){const t=e.match(/#|\?|$/),n=t&&t.index||e.length;return e.slice(0,n-("/"===e[n-1]?1:0))+e.slice(n)}}function c(e){return e.replace(/\/index.html$/,"")}class u extends o{constructor(e,t){super(),this._platformLocation=e,this._baseHref="",null!=t&&(this._baseHref=t)}onPopState(e){this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e)}getBaseHref(){return this._baseHref}path(e=!1){let t=this._platformLocation.hash;return null==t&&(t="#"),t.length>0?t.substring(1):t}prepareExternalUrl(e){const t=l.joinWithSlash(this._baseHref,e);return t.length>0?"#"+t:t}pushState(e,t,n,r){let s=this.prepareExternalUrl(n+l.normalizeQueryParams(r));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(e,t,s)}replaceState(e,t,n,r){let s=this.prepareExternalUrl(n+l.normalizeQueryParams(r));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(e,t,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}class h extends o{constructor(e,t){if(super(),this._platformLocation=e,null==t&&(t=this._platformLocation.getBaseHrefFromDOM()),null==t)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.");this._baseHref=t}onPopState(e){this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e)}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return l.joinWithSlash(this._baseHref,e)}path(e=!1){const t=this._platformLocation.pathname+l.normalizeQueryParams(this._platformLocation.search),n=this._platformLocation.hash;return n&&e?`${t}${n}`:t}pushState(e,t,n,r){const s=this.prepareExternalUrl(n+l.normalizeQueryParams(r));this._platformLocation.pushState(e,t,s)}replaceState(e,t,n,r){const s=this.prepareExternalUrl(n+l.normalizeQueryParams(r));this._platformLocation.replaceState(e,t,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}const d=function(){var e={Zero:0,One:1,Two:2,Few:3,Many:4,Other:5};return e[e.Zero]="Zero",e[e.One]="One",e[e.Two]="Two",e[e.Few]="Few",e[e.Many]="Many",e[e.Other]="Other",e}(),p=r.qb,f=new r.o("UseV4Plurals");class g{}class m extends g{constructor(e,t){super(),this.locale=e,this.deprecatedPluralFn=t}getPluralCategory(e,t){switch(this.deprecatedPluralFn?this.deprecatedPluralFn(t||this.locale,e):p(t||this.locale)(e)){case d.Zero:return"zero";case d.One:return"one";case d.Two:return"two";case d.Few:return"few";case d.Many:return"many";default:return"other"}}}function y(e,t){t=encodeURIComponent(t);for(const n of e.split(";")){const e=n.indexOf("="),[r,s]=-1==e?[n,""]:[n.slice(0,e),n.slice(e+1)];if(r.trim()===t)return decodeURIComponent(s)}return null}class b{constructor(e,t,n,r){this.$implicit=e,this.ngForOf=t,this.index=n,this.count=r}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}class v{constructor(e,t,n){this._viewContainer=e,this._template=t,this._differs=n,this._ngForOfDirty=!0,this._differ=null}set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){Object(r.T)()&&null!=e&&"function"!=typeof e&&console&&console.warn&&console.warn(`trackBy must be a function, but received ${JSON.stringify(e)}. `+"See https://angular.io/docs/ts/latest/api/common/index/NgFor-directive.html#!#change-propagation for more information."),this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const n=this._ngForOf;if(!this._differ&&n)try{this._differ=this._differs.find(n).create(this.ngForTrackBy)}catch(t){throw new Error(`Cannot find a differ supporting object '${n}' of type '${e=n,e.name||typeof e}'. NgFor only supports binding to Iterables such as Arrays.`)}}var e;if(this._differ){const e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){const t=[];e.forEachOperation((e,n,r)=>{if(null==e.previousIndex){const n=this._viewContainer.createEmbeddedView(this._template,new b(null,this._ngForOf,-1,-1),null===r?void 0:r),s=new _(e,n);t.push(s)}else if(null==r)this._viewContainer.remove(null===n?void 0:n);else if(null!==n){const s=this._viewContainer.get(n);this._viewContainer.move(s,r);const i=new _(e,s);t.push(i)}});for(let n=0;n<t.length;n++)this._perViewChange(t[n].view,t[n].record);for(let n=0,r=this._viewContainer.length;n<r;n++){const e=this._viewContainer.get(n);e.context.index=n,e.context.count=r,e.context.ngForOf=this._ngForOf}e.forEachIdentityChange(e=>{this._viewContainer.get(e.currentIndex).context.$implicit=e.item})}_perViewChange(e,t){e.context.$implicit=t.item}static ngTemplateContextGuard(e,t){return!0}}class _{constructor(e,t){this.record=e,this.view=t}}class w{createSubscription(e,t){return e.subscribe({next:t,error:e=>{throw e}})}dispose(e){e.unsubscribe()}onDestroy(e){e.unsubscribe()}}class C{createSubscription(e,t){return e.then(t,e=>{throw e})}dispose(e){}onDestroy(e){}}const x=new C,S=new w;class E{constructor(e){this._ref=e,this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(e){return this._obj?e!==this._obj?(this._dispose(),this.transform(e)):Object(r.vb)(this._latestValue,this._latestReturnedValue)?this._latestReturnedValue:(this._latestReturnedValue=this._latestValue,r.O.wrap(this._latestValue)):(e&&this._subscribe(e),this._latestReturnedValue=this._latestValue,this._latestValue)}_subscribe(e){this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,t=>this._updateLatestValue(e,t))}_selectStrategy(e){if(Object(r.ub)(e))return x;if(Object(r.tb)(e))return S;throw t=E,Error(`InvalidPipeArgument: '${e}' for pipe '${Object(r.Db)(t)}'`);var t}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null}_updateLatestValue(e,t){e===this._obj&&(this._latestValue=t,this._ref.markForCheck())}}class O{}const T=new r.o("DocumentToken"),A="browser",k="server";function I(e){return e===A}function R(e){return e===k}let N=(()=>{class e{}return e.ngInjectableDef=Object(r.Kb)({token:e,providedIn:"root",factory:()=>new j(Object(r.Lb)(T),window,Object(r.Lb)(r.l))}),e})();class j{constructor(e,t,n){this.document=e,this.window=t,this.errorHandler=n,this.offset=()=>[0,0]}setOffset(e){this.offset=Array.isArray(e)?()=>e:e}getScrollPosition(){return this.supportScrollRestoration()?[this.window.scrollX,this.window.scrollY]:[0,0]}scrollToPosition(e){this.supportScrollRestoration()&&this.window.scrollTo(e[0],e[1])}scrollToAnchor(e){if(this.supportScrollRestoration()){e=this.window.CSS&&this.window.CSS.escape?this.window.CSS.escape(e):e.replace(/(\"|\'\ |:|\.|\[|\]|,|=)/g,"\\$1");try{const t=this.document.querySelector(`#${e}`);if(t)return void this.scrollToElement(t);const n=this.document.querySelector(`[name='${e}']`);if(n)return void this.scrollToElement(n)}catch(t){this.errorHandler.handleError(t)}}}setHistoryScrollRestoration(e){if(this.supportScrollRestoration()){const t=this.window.history;t&&t.scrollRestoration&&(t.scrollRestoration=e)}}scrollToElement(e){const t=e.getBoundingClientRect(),n=t.left+this.window.pageXOffset,r=t.top+this.window.pageYOffset,s=this.offset();this.window.scrollTo(n-s[0],r-s[1])}supportScrollRestoration(){try{return!!this.window&&!!this.window.scrollTo}catch(e){return!1}}}},SeVD:function(e,t,n){"use strict";n.d(t,"a",(function(){return p}));var r=n("HDdC"),s=n("ngJS"),i=n("a7t3"),o=n("pLzU"),a=n("CRDf"),l=n("I55L"),c=n("c2HN"),u=n("XoHu"),h=n("Lhse"),d=n("kJWO");const p=e=>{if(e instanceof r.a)return t=>e._isScalar?(t.next(e.value),void t.complete()):e.subscribe(t);if(e&&"function"==typeof e[d.a])return Object(a.a)(e);if(Object(l.a)(e))return Object(s.a)(e);if(Object(c.a)(e))return Object(i.a)(e);if(e&&"function"==typeof e[h.a])return Object(o.a)(e);{const t=Object(u.a)(e)?"an invalid object":`'${e}'`;throw new TypeError(`You provided ${t} where a stream was expected.`+" You can provide an Observable, Promise, Array, or Iterable.")}}},SpAZ:function(e,t,n){"use strict";function r(e){return e}n.d(t,"a",(function(){return r}))},T2qd:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n("l207");class s{constructor(e){this.storageService=e}intercept(e,t){let n=e.headers.set("Content-Type","application/json");const s=this.storageService.getItem(r.a);s&&(n=n.set("Authorization",`Bearer ${s}`));const i=e.clone({headers:n});return t.handle(i)}}},XNiG:function(e,t,n){"use strict";var r=n("HDdC"),s=n("7o/Q"),i=n("quSY"),o=n("9ppp");class a extends i.a{constructor(e,t){super(),this.subject=e,this.subscriber=t,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const e=this.subject,t=e.observers;if(this.subject=null,!t||0===t.length||e.isStopped||e.closed)return;const n=t.indexOf(this.subscriber);-1!==n&&t.splice(n,1)}}var l=n("2QA8");n.d(t,"b",(function(){return c})),n.d(t,"a",(function(){return u}));class c extends s.a{constructor(e){super(e),this.destination=e}}let u=(()=>{class e extends r.a{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[l.a](){return new c(this)}lift(e){const t=new h(this,this);return t.operator=e,t}next(e){if(this.closed)throw new o.a;if(!this.isStopped){const{observers:t}=this,n=t.length,r=t.slice();for(let s=0;s<n;s++)r[s].next(e)}}error(e){if(this.closed)throw new o.a;this.hasError=!0,this.thrownError=e,this.isStopped=!0;const{observers:t}=this,n=t.length,r=t.slice();for(let s=0;s<n;s++)r[s].error(e);this.observers.length=0}complete(){if(this.closed)throw new o.a;this.isStopped=!0;const{observers:e}=this,t=e.length,n=e.slice();for(let r=0;r<t;r++)n[r].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(e){if(this.closed)throw new o.a;return super._trySubscribe(e)}_subscribe(e){if(this.closed)throw new o.a;return this.hasError?(e.error(this.thrownError),i.a.EMPTY):this.isStopped?(e.complete(),i.a.EMPTY):(this.observers.push(e),new a(this,e))}asObservable(){const e=new r.a;return e.source=this,e}}return e.create=(e,t)=>new h(e,t),e})();class h extends u{constructor(e,t){super(),this.destination=e,this.source=t}next(e){const{destination:t}=this;t&&t.next&&t.next(e)}error(e){const{destination:t}=this;t&&t.error&&this.destination.error(e)}complete(){const{destination:e}=this;e&&e.complete&&this.destination.complete()}_subscribe(e){const{source:t}=this;return t?this.source.subscribe(e):i.a.EMPTY}}},XUOw:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n("HDdC");function s(e){const t=new r.a(t=>{t.next(e),t.complete()});return t._isScalar=!0,t.value=e,t}},XoHu:function(e,t,n){"use strict";function r(e){return null!==e&&"object"==typeof e}n.d(t,"a",(function(){return r}))},ZUHj:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("51Dv"),s=n("SeVD");function i(e,t,n,i,o=new r.a(e,n,i)){if(!o.closed)return Object(s.a)(t)(o)}},a7t3:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n("NJ4a");const s=e=>t=>(e.then(e=>{t.closed||(t.next(e),t.complete())},e=>t.error(e)).then(null,r.a),t)},bHdf:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("5+tZ"),s=n("SpAZ");function i(e=Number.POSITIVE_INFINITY){return Object(r.a)(s.a,e)}},bOdf:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n("5+tZ");function s(e,t){return Object(r.a)(e,t,1)}},c2HN:function(e,t,n){"use strict";function r(e){return!!e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}n.d(t,"a",(function(){return r}))},cUpR:function(e,t,n){"use strict";n.d(t,"q",(function(){return xe})),n.d(t,"r",(function(){return v})),n.d(t,"s",(function(){return T})),n.d(t,"a",(function(){return Se})),n.d(t,"h",(function(){return Ce})),n.d(t,"c",(function(){return A})),n.d(t,"d",(function(){return k})),n.d(t,"e",(function(){return oe})),n.d(t,"f",(function(){return ae})),n.d(t,"g",(function(){return le})),n.d(t,"b",(function(){return pe})),n.d(t,"p",(function(){return b})),n.d(t,"t",(function(){return o})),n.d(t,"j",(function(){return F})),n.d(t,"i",(function(){return se})),n.d(t,"m",(function(){return ce})),n.d(t,"n",(function(){return de})),n.d(t,"l",(function(){return N})),n.d(t,"o",(function(){return R})),n.d(t,"k",(function(){return fe}));var r=n("SVse"),s=n("8Y7J");let i=null;function o(){return i}class a{constructor(){this.resourceLoaderType=null}get attrToPropMap(){return this._attrToPropMap}set attrToPropMap(e){this._attrToPropMap=e}}class l extends a{constructor(){super(),this._animationPrefix=null,this._transitionEnd=null;try{const e=this.createElement("div",document);if(null!=this.getStyle(e,"animationName"))this._animationPrefix="";else{const t=["Webkit","Moz","O","ms"];for(let n=0;n<t.length;n++)if(null!=this.getStyle(e,t[n]+"AnimationName")){this._animationPrefix="-"+t[n].toLowerCase()+"-";break}}const t={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};Object.keys(t).forEach(n=>{null!=this.getStyle(e,n)&&(this._transitionEnd=t[n])})}catch(e){this._animationPrefix=null,this._transitionEnd=null}}getDistributedNodes(e){return e.getDistributedNodes()}resolveAndSetHref(e,t,n){e.href=null==n?t:t+"/../"+n}supportsDOMEvents(){return!0}supportsNativeShadowDOM(){return"function"==typeof document.body.createShadowRoot}getAnimationPrefix(){return this._animationPrefix?this._animationPrefix:""}getTransitionEnd(){return this._transitionEnd?this._transitionEnd:""}supportsAnimation(){return null!=this._animationPrefix&&null!=this._transitionEnd}}const c={class:"className",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"},u=3,h={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},d={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},p=(()=>{if(s.rb.Node)return s.rb.Node.prototype.contains||function(e){return!!(16&this.compareDocumentPosition(e))}})();class f extends l{parse(e){throw new Error("parse not implemented")}static makeCurrent(){var e;e=new f,i||(i=e)}hasProperty(e,t){return t in e}setProperty(e,t,n){e[t]=n}getProperty(e,t){return e[t]}invoke(e,t,n){e[t](...n)}logError(e){window.console&&(console.error?console.error(e):console.log(e))}log(e){window.console&&window.console.log&&window.console.log(e)}logGroup(e){window.console&&window.console.group&&window.console.group(e)}logGroupEnd(){window.console&&window.console.groupEnd&&window.console.groupEnd()}get attrToPropMap(){return c}contains(e,t){return p.call(e,t)}querySelector(e,t){return e.querySelector(t)}querySelectorAll(e,t){return e.querySelectorAll(t)}on(e,t,n){e.addEventListener(t,n,!1)}onAndCancel(e,t,n){return e.addEventListener(t,n,!1),()=>{e.removeEventListener(t,n,!1)}}dispatchEvent(e,t){e.dispatchEvent(t)}createMouseEvent(e){const t=this.getDefaultDocument().createEvent("MouseEvent");return t.initEvent(e,!0,!0),t}createEvent(e){const t=this.getDefaultDocument().createEvent("Event");return t.initEvent(e,!0,!0),t}preventDefault(e){e.preventDefault(),e.returnValue=!1}isPrevented(e){return e.defaultPrevented||null!=e.returnValue&&!e.returnValue}getInnerHTML(e){return e.innerHTML}getTemplateContent(e){return"content"in e&&this.isTemplateElement(e)?e.content:null}getOuterHTML(e){return e.outerHTML}nodeName(e){return e.nodeName}nodeValue(e){return e.nodeValue}type(e){return e.type}content(e){return this.hasProperty(e,"content")?e.content:e}firstChild(e){return e.firstChild}nextSibling(e){return e.nextSibling}parentElement(e){return e.parentNode}childNodes(e){return e.childNodes}childNodesAsList(e){const t=e.childNodes,n=new Array(t.length);for(let r=0;r<t.length;r++)n[r]=t[r];return n}clearNodes(e){for(;e.firstChild;)e.removeChild(e.firstChild)}appendChild(e,t){e.appendChild(t)}removeChild(e,t){e.removeChild(t)}replaceChild(e,t,n){e.replaceChild(t,n)}remove(e){return e.parentNode&&e.parentNode.removeChild(e),e}insertBefore(e,t,n){e.insertBefore(n,t)}insertAllBefore(e,t,n){n.forEach(n=>e.insertBefore(n,t))}insertAfter(e,t,n){e.insertBefore(n,t.nextSibling)}setInnerHTML(e,t){e.innerHTML=t}getText(e){return e.textContent}setText(e,t){e.textContent=t}getValue(e){return e.value}setValue(e,t){e.value=t}getChecked(e){return e.checked}setChecked(e,t){e.checked=t}createComment(e){return this.getDefaultDocument().createComment(e)}createTemplate(e){const t=this.getDefaultDocument().createElement("template");return t.innerHTML=e,t}createElement(e,t){return(t=t||this.getDefaultDocument()).createElement(e)}createElementNS(e,t,n){return(n=n||this.getDefaultDocument()).createElementNS(e,t)}createTextNode(e,t){return(t=t||this.getDefaultDocument()).createTextNode(e)}createScriptTag(e,t,n){const r=(n=n||this.getDefaultDocument()).createElement("SCRIPT");return r.setAttribute(e,t),r}createStyleElement(e,t){const n=(t=t||this.getDefaultDocument()).createElement("style");return this.appendChild(n,this.createTextNode(e,t)),n}createShadowRoot(e){return e.createShadowRoot()}getShadowRoot(e){return e.shadowRoot}getHost(e){return e.host}clone(e){return e.cloneNode(!0)}getElementsByClassName(e,t){return e.getElementsByClassName(t)}getElementsByTagName(e,t){return e.getElementsByTagName(t)}classList(e){return Array.prototype.slice.call(e.classList,0)}addClass(e,t){e.classList.add(t)}removeClass(e,t){e.classList.remove(t)}hasClass(e,t){return e.classList.contains(t)}setStyle(e,t,n){e.style[t]=n}removeStyle(e,t){e.style[t]=""}getStyle(e,t){return e.style[t]}hasStyle(e,t,n){const r=this.getStyle(e,t)||"";return n?r==n:r.length>0}tagName(e){return e.tagName}attributeMap(e){const t=new Map,n=e.attributes;for(let r=0;r<n.length;r++){const e=n.item(r);t.set(e.name,e.value)}return t}hasAttribute(e,t){return e.hasAttribute(t)}hasAttributeNS(e,t,n){return e.hasAttributeNS(t,n)}getAttribute(e,t){return e.getAttribute(t)}getAttributeNS(e,t,n){return e.getAttributeNS(t,n)}setAttribute(e,t,n){e.setAttribute(t,n)}setAttributeNS(e,t,n,r){e.setAttributeNS(t,n,r)}removeAttribute(e,t){e.removeAttribute(t)}removeAttributeNS(e,t,n){e.removeAttributeNS(t,n)}templateAwareRoot(e){return this.isTemplateElement(e)?this.content(e):e}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}getBoundingClientRect(e){try{return e.getBoundingClientRect()}catch(t){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}}getTitle(e){return e.title}setTitle(e,t){e.title=t||""}elementMatches(e,t){return!!this.isElementNode(e)&&(e.matches&&e.matches(t)||e.msMatchesSelector&&e.msMatchesSelector(t)||e.webkitMatchesSelector&&e.webkitMatchesSelector(t))}isTemplateElement(e){return this.isElementNode(e)&&"TEMPLATE"===e.nodeName}isTextNode(e){return e.nodeType===Node.TEXT_NODE}isCommentNode(e){return e.nodeType===Node.COMMENT_NODE}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}hasShadowRoot(e){return null!=e.shadowRoot&&e instanceof HTMLElement}isShadowRoot(e){return e instanceof DocumentFragment}importIntoDoc(e){return document.importNode(this.templateAwareRoot(e),!0)}adoptNode(e){return document.adoptNode(e)}getHref(e){return e.getAttribute("href")}getEventKey(e){let t=e.key;if(null==t){if(null==(t=e.keyIdentifier))return"Unidentified";t.startsWith("U+")&&(t=String.fromCharCode(parseInt(t.substring(2),16)),e.location===u&&d.hasOwnProperty(t)&&(t=d[t]))}return h[t]||t}getGlobalEventTarget(e,t){return"window"===t?window:"document"===t?e:"body"===t?e.body:null}getHistory(){return window.history}getLocation(){return window.location}getBaseHref(e){const t=m||(m=document.querySelector("base"))?m.getAttribute("href"):null;return null==t?null:(n=t,g||(g=document.createElement("a")),g.setAttribute("href",n),"/"===g.pathname.charAt(0)?g.pathname:"/"+g.pathname);var n}resetBaseElement(){m=null}getUserAgent(){return window.navigator.userAgent}setData(e,t,n){this.setAttribute(e,"data-"+t,n)}getData(e,t){return this.getAttribute(e,"data-"+t)}getComputedStyle(e){return getComputedStyle(e)}supportsWebAnimation(){return"function"==typeof Element.prototype.animate}performanceNow(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()}supportsCookies(){return!0}getCookie(e){return Object(r.s)(document.cookie,e)}setCookie(e,t){document.cookie=encodeURIComponent(e)+"="+encodeURIComponent(t)}}let g,m=null;function y(){return!!window.history.pushState}const b=new s.o("TRANSITION_ID");function v(e,t,n){return()=>{n.get(s.e).donePromise.then(()=>{const n=o();Array.prototype.slice.apply(n.querySelectorAll(t,"style[ng-transition]")).filter(t=>n.getAttribute(t,"ng-transition")===e).forEach(e=>n.remove(e))})}}const _=[{provide:s.d,useFactory:v,deps:[b,r.d,s.p],multi:!0}];class w{static init(){Object(s.V)(new w)}addToWindow(e){s.rb.getAngularTestability=(t,n=!0)=>{const r=e.findTestabilityInTree(t,n);if(null==r)throw new Error("Could not find testability for element.");return r},s.rb.getAllAngularTestabilities=()=>e.getAllTestabilities(),s.rb.getAllAngularRootElements=()=>e.getAllRootElements(),s.rb.frameworkStabilizers||(s.rb.frameworkStabilizers=[]),s.rb.frameworkStabilizers.push(e=>{const t=s.rb.getAllAngularTestabilities();let n=t.length,r=!1;const i=function(t){r=r||t,0==--n&&e(r)};t.forEach((function(e){e.whenStable(i)}))})}findTestabilityInTree(e,t,n){if(null==t)return null;const r=e.getTestability(t);return null!=r?r:n?o().isShadowRoot(t)?this.findTestabilityInTree(e,o().getHost(t),!0):this.findTestabilityInTree(e,o().parentElement(t),!0):null}}function C(e,t){"undefined"!=typeof COMPILED&&COMPILED||((s.rb.ng=s.rb.ng||{})[e]=t)}const x=(()=>({ApplicationRef:s.g,NgZone:s.x}))(),S="probe",E="coreTokens";function O(e){return Object(s.S)(e)}function T(e){return C(S,O),C(E,Object.assign({},x,(e||[]).reduce((e,t)=>(e[t.name]=t.token,e),{}))),()=>O}const A=new s.o("EventManagerPlugins");class k{constructor(e,t){this._zone=t,this._eventNameToPlugin=new Map,e.forEach(e=>e.manager=this),this._plugins=e.slice().reverse()}addEventListener(e,t,n){return this._findPluginFor(t).addEventListener(e,t,n)}addGlobalEventListener(e,t,n){return this._findPluginFor(t).addGlobalEventListener(e,t,n)}getZone(){return this._zone}_findPluginFor(e){const t=this._eventNameToPlugin.get(e);if(t)return t;const n=this._plugins;for(let r=0;r<n.length;r++){const t=n[r];if(t.supports(e))return this._eventNameToPlugin.set(e,t),t}throw new Error(`No event manager plugin found for event ${e}`)}}class I{constructor(e){this._doc=e}addGlobalEventListener(e,t,n){const r=o().getGlobalEventTarget(this._doc,e);if(!r)throw new Error(`Unsupported event target ${r} for event ${t}`);return this.addEventListener(r,t,n)}}class R{constructor(){this._stylesSet=new Set}addStyles(e){const t=new Set;e.forEach(e=>{this._stylesSet.has(e)||(this._stylesSet.add(e),t.add(e))}),this.onStylesAdded(t)}onStylesAdded(e){}getAllStyles(){return Array.from(this._stylesSet)}}class N extends R{constructor(e){super(),this._doc=e,this._hostNodes=new Set,this._styleNodes=new Set,this._hostNodes.add(e.head)}_addStylesToHost(e,t){e.forEach(e=>{const n=this._doc.createElement("style");n.textContent=e,this._styleNodes.add(t.appendChild(n))})}addHost(e){this._addStylesToHost(this._stylesSet,e),this._hostNodes.add(e)}removeHost(e){this._hostNodes.delete(e)}onStylesAdded(e){this._hostNodes.forEach(t=>this._addStylesToHost(e,t))}ngOnDestroy(){this._styleNodes.forEach(e=>o().remove(e))}}const j={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},P=/%COMP%/g,D="_nghost-%COMP%",V="_ngcontent-%COMP%";function M(e,t,n){for(let r=0;r<t.length;r++){let s=t[r];Array.isArray(s)?M(e,s,n):(s=s.replace(P,e),n.push(s))}return n}function U(e){return t=>{!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}class F{constructor(e,t,n){this.eventManager=e,this.sharedStylesHost=t,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new L(e)}createRenderer(e,t){if(!e||!t)return this.defaultRenderer;switch(t.encapsulation){case s.N.Emulated:{let n=this.rendererByCompId.get(t.id);return n||(n=new z(this.eventManager,this.sharedStylesHost,t,this.appId),this.rendererByCompId.set(t.id,n)),n.applyToHost(e),n}case s.N.Native:case s.N.ShadowDom:return new B(this.eventManager,this.sharedStylesHost,e,t);default:if(!this.rendererByCompId.has(t.id)){const e=M(t.id,t.styles,[]);this.sharedStylesHost.addStyles(e),this.rendererByCompId.set(t.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}class L{constructor(e){this.eventManager=e,this.data=Object.create(null)}destroy(){}createElement(e,t){return t?document.createElementNS(j[t]||t,e):document.createElement(e)}createComment(e){return document.createComment(e)}createText(e){return document.createTextNode(e)}appendChild(e,t){e.appendChild(t)}insertBefore(e,t,n){e&&e.insertBefore(t,n)}removeChild(e,t){e&&e.removeChild(t)}selectRootElement(e,t){let n="string"==typeof e?document.querySelector(e):e;if(!n)throw new Error(`The selector "${e}" did not match any elements`);return t||(n.textContent=""),n}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,t,n,r){if(r){t=r+":"+t;const s=j[r];s?e.setAttributeNS(s,t,n):e.setAttribute(t,n)}else e.setAttribute(t,n)}removeAttribute(e,t,n){if(n){const r=j[n];r?e.removeAttributeNS(r,t):e.removeAttribute(`${n}:${t}`)}else e.removeAttribute(t)}addClass(e,t){e.classList.add(t)}removeClass(e,t){e.classList.remove(t)}setStyle(e,t,n,r){r&s.D.DashCase?e.style.setProperty(t,n,r&s.D.Important?"important":""):e.style[t]=n}removeStyle(e,t,n){n&s.D.DashCase?e.style.removeProperty(t):e.style[t]=""}setProperty(e,t,n){$(t,"property"),e[t]=n}setValue(e,t){e.nodeValue=t}listen(e,t,n){return $(t,"listener"),"string"==typeof e?this.eventManager.addGlobalEventListener(e,t,U(n)):this.eventManager.addEventListener(e,t,U(n))}}const H=(()=>"@".charCodeAt(0))();function $(e,t){if(e.charCodeAt(0)===H)throw new Error(`Found the synthetic ${t} ${e}. Please include either "BrowserAnimationsModule" or "NoopAnimationsModule" in your application.`)}class z extends L{constructor(e,t,n,r){super(e),this.component=n;const s=M(r+"-"+n.id,n.styles,[]);t.addStyles(s),this.contentAttr=V.replace(P,r+"-"+n.id),this.hostAttr=D.replace(P,r+"-"+n.id)}applyToHost(e){super.setAttribute(e,this.hostAttr,"")}createElement(e,t){const n=super.createElement(e,t);return super.setAttribute(n,this.contentAttr,""),n}}class B extends L{constructor(e,t,n,r){super(e),this.sharedStylesHost=t,this.hostEl=n,this.component=r,this.shadowRoot=r.encapsulation===s.N.ShadowDom?n.attachShadow({mode:"open"}):n.createShadowRoot(),this.sharedStylesHost.addHost(this.shadowRoot);const i=M(r.id,r.styles,[]);for(let s=0;s<i.length;s++){const e=document.createElement("style");e.textContent=i[s],this.shadowRoot.appendChild(e)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(e,t){return super.appendChild(this.nodeOrShadowRoot(e),t)}insertBefore(e,t,n){return super.insertBefore(this.nodeOrShadowRoot(e),t,n)}removeChild(e,t){return super.removeChild(this.nodeOrShadowRoot(e),t)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}}const q=(()=>"undefined"!=typeof Zone&&Zone.__symbol__||function(e){return"__zone_symbol__"+e})(),G=q("addEventListener"),W=q("removeEventListener"),Z={},Q="FALSE",J="ANGULAR",K="addEventListener",Y="removeEventListener",X="__zone_symbol__propagationStopped",ee="__zone_symbol__stopImmediatePropagation",te=(()=>{const e="undefined"!=typeof Zone&&Zone[q("BLACK_LISTED_EVENTS")];if(e){const t={};return e.forEach(e=>{t[e]=e}),t}})(),ne=function(e){return!!te&&te.hasOwnProperty(e)},re=function(e){const t=Z[e.type];if(!t)return;const n=this[t];if(!n)return;const r=[e];if(1===n.length){const e=n[0];return e.zone!==Zone.current?e.zone.run(e.handler,this,r):e.handler.apply(this,r)}{const t=n.slice();for(let n=0;n<t.length&&!0!==e[X];n++){const e=t[n];e.zone!==Zone.current?e.zone.run(e.handler,this,r):e.handler.apply(this,r)}}};class se extends I{constructor(e,t,n){super(e),this.ngZone=t,n&&Object(r.p)(n)||this.patchEvent()}patchEvent(){if("undefined"==typeof Event||!Event||!Event.prototype)return;if(Event.prototype[ee])return;const e=Event.prototype[ee]=Event.prototype.stopImmediatePropagation;Event.prototype.stopImmediatePropagation=function(){this&&(this[X]=!0),e&&e.apply(this,arguments)}}supports(e){return!0}addEventListener(e,t,n){let r=n;if(!e[G]||s.x.isInAngularZone()&&!ne(t))e[K](t,r,!1);else{let n=Z[t];n||(n=Z[t]=q(J+t+Q));let s=e[n];const i=s&&s.length>0;s||(s=e[n]=[]);const o=ne(t)?Zone.root:Zone.current;if(0===s.length)s.push({zone:o,handler:r});else{let e=!1;for(let t=0;t<s.length;t++)if(s[t].handler===r){e=!0;break}e||s.push({zone:o,handler:r})}i||e[G](t,re,!1)}return()=>this.removeEventListener(e,t,r)}removeEventListener(e,t,n){let r=e[W];if(!r)return e[Y].apply(e,[t,n,!1]);let s=Z[t],i=s&&e[s];if(!i)return e[Y].apply(e,[t,n,!1]);let o=!1;for(let a=0;a<i.length;a++)if(i[a].handler===n){o=!0,i.splice(a,1);break}o?0===i.length&&r.apply(e,[t,re,!1]):e[Y].apply(e,[t,n,!1])}}const ie={pan:!0,panstart:!0,panmove:!0,panend:!0,pancancel:!0,panleft:!0,panright:!0,panup:!0,pandown:!0,pinch:!0,pinchstart:!0,pinchmove:!0,pinchend:!0,pinchcancel:!0,pinchin:!0,pinchout:!0,press:!0,pressup:!0,rotate:!0,rotatestart:!0,rotatemove:!0,rotateend:!0,rotatecancel:!0,swipe:!0,swipeleft:!0,swiperight:!0,swipeup:!0,swipedown:!0,tap:!0},oe=new s.o("HammerGestureConfig"),ae=new s.o("HammerLoader");class le{constructor(){this.events=[],this.overrides={}}buildHammer(e){const t=new Hammer(e,this.options);t.get("pinch").set({enable:!0}),t.get("rotate").set({enable:!0});for(const n in this.overrides)t.get(n).set(this.overrides[n]);return t}}class ce extends I{constructor(e,t,n,r){super(e),this._config=t,this.console=n,this.loader=r}supports(e){return!(!ie.hasOwnProperty(e.toLowerCase())&&!this.isCustomEvent(e)||!window.Hammer&&!this.loader&&(this.console.warn(`The "${e}" event cannot be bound because Hammer.JS is not `+"loaded and no custom loader has been specified."),1))}addEventListener(e,t,n){const r=this.manager.getZone();if(t=t.toLowerCase(),!window.Hammer&&this.loader){let r=!1,s=()=>{r=!0};return this.loader().then(()=>{if(!window.Hammer)return this.console.warn("The custom HAMMER_LOADER completed, but Hammer.JS is not present."),void(s=()=>{});r||(s=this.addEventListener(e,t,n))}).catch(()=>{this.console.warn(`The "${t}" event cannot be bound because the custom `+"Hammer.JS loader failed."),s=()=>{}}),()=>{s()}}return r.runOutsideAngular(()=>{const s=this._config.buildHammer(e),i=function(e){r.runGuarded((function(){n(e)}))};return s.on(t,i),()=>{s.off(t,i),"function"==typeof s.destroy&&s.destroy()}})}isCustomEvent(e){return this._config.events.indexOf(e)>-1}}const ue=["alt","control","meta","shift"],he={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};class de extends I{constructor(e){super(e)}supports(e){return null!=de.parseEventName(e)}addEventListener(e,t,n){const r=de.parseEventName(t),s=de.eventCallback(r.fullKey,n,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>o().onAndCancel(e,r.domEventName,s))}static parseEventName(e){const t=e.toLowerCase().split("."),n=t.shift();if(0===t.length||"keydown"!==n&&"keyup"!==n)return null;const r=de._normalizeKey(t.pop());let s="";if(ue.forEach(e=>{const n=t.indexOf(e);n>-1&&(t.splice(n,1),s+=e+".")}),s+=r,0!=t.length||0===r.length)return null;const i={};return i.domEventName=n,i.fullKey=s,i}static getEventFullKey(e){let t="",n=o().getEventKey(e);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),ue.forEach(r=>{r!=n&&(0,he[r])(e)&&(t+=r+".")}),t+=n}static eventCallback(e,t,n){return r=>{de.getEventFullKey(r)===e&&n.runGuarded(()=>t(r))}}static _normalizeKey(e){switch(e){case"esc":return"escape";default:return e}}}class pe{}class fe extends pe{constructor(e){super(),this._doc=e}sanitize(e,t){if(null==t)return null;switch(e){case s.F.NONE:return t;case s.F.HTML:return t instanceof me?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"HTML"),Object(s.bb)(this._doc,String(t)));case s.F.STYLE:return t instanceof ye?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"Style"),Object(s.cb)(t));case s.F.SCRIPT:if(t instanceof be)return t.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(t,"Script"),new Error("unsafe value used in a script context");case s.F.URL:return t instanceof _e||t instanceof ve?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"URL"),Object(s.db)(String(t)));case s.F.RESOURCE_URL:if(t instanceof _e)return t.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(t,"ResourceURL"),new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${e} (see http://g.co/ng/security#xss)`)}}checkNotSafeValue(e,t){if(e instanceof ge)throw new Error(`Required a safe ${t}, got a ${e.getTypeName()} `+"(see http://g.co/ng/security#xss)")}bypassSecurityTrustHtml(e){return new me(e)}bypassSecurityTrustStyle(e){return new ye(e)}bypassSecurityTrustScript(e){return new be(e)}bypassSecurityTrustUrl(e){return new ve(e)}bypassSecurityTrustResourceUrl(e){return new _e(e)}}class ge{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity}`+" (see http://g.co/ng/security#xss)"}}class me extends ge{getTypeName(){return"HTML"}}class ye extends ge{getTypeName(){return"Style"}}class be extends ge{getTypeName(){return"Script"}}class ve extends ge{getTypeName(){return"URL"}}class _e extends ge{getTypeName(){return"ResourceURL"}}const we=[{provide:s.z,useValue:r.q},{provide:s.A,useValue:function(){f.makeCurrent(),w.init()},multi:!0},{provide:r.m,useClass:class extends r.m{constructor(e){super(),this._doc=e,this._init()}_init(){this.location=o().getLocation(),this._history=o().getHistory()}getBaseHrefFromDOM(){return o().getBaseHref(this._doc)}onPopState(e){o().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",e,!1)}onHashChange(e){o().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",e,!1)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(e){this.location.pathname=e}pushState(e,t,n){y()?this._history.pushState(e,t,n):this.location.hash=n}replaceState(e,t,n){y()?this._history.replaceState(e,t,n):this.location.hash=n}forward(){this._history.forward()}back(){this._history.back()}getState(){return this._history.state}},deps:[r.d]},{provide:r.d,useFactory:function(){return document},deps:[]}],Ce=Object(s.P)(s.U,"browser",we);function xe(){return new s.l}class Se{constructor(e){if(e)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.")}static withServerTransition(e){return{ngModule:Se,providers:[{provide:s.c,useValue:e.appId},{provide:b,useExisting:s.c},_]}}}"undefined"!=typeof window&&window},"eK/2":function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));class r{constructor(){this.apiURL="http://localhost:1337/api"}}},gP80:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n("l207");class s{constructor(e,t){this.router=e,this.storageService=t}canActivate(e,t){return!this.storageService.getItem(r.a)||(this.router.navigate(["/busses"]),!1)}}},gRHU:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("2fFW"),s=n("NJ4a");const i={closed:!0,next(e){},error(e){if(r.a.useDeprecatedSynchronousErrorHandling)throw e;Object(s.a)(e)},complete(){}}},iInd:function(e,t,n){"use strict";var r=n("SVse"),s=n("8Y7J"),i=n("LRne"),o=n("Cfvw"),a=n("XNiG"),l=n("9ppp");class c extends a.a{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){const t=super._subscribe(e);return t&&!t.closed&&e.next(this._value),t}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new l.a;return this._value}next(e){super.next(this._value=e)}}var u=n("HDdC");function h(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}h.prototype=Object.create(Error.prototype);const d=h;var p=n("z+Ro"),f=n("DH7j"),g=n("l7GE"),m=n("ZUHj"),y=n("yCtX");const b={};class v{constructor(e){this.resultSelector=e}call(e,t){return t.subscribe(new _(e,this.resultSelector))}}class _ extends g.a{constructor(e,t){super(e),this.resultSelector=t,this.active=0,this.values=[],this.observables=[]}_next(e){this.values.push(b),this.observables.push(e)}_complete(){const e=this.observables,t=e.length;if(0===t)this.destination.complete();else{this.active=t,this.toRespond=t;for(let n=0;n<t;n++){const t=e[n];this.add(Object(m.a)(this,t,t,n))}}}notifyComplete(e){0==(this.active-=1)&&this.destination.complete()}notifyNext(e,t,n,r,s){const i=this.values,o=this.toRespond?i[n]===b?--this.toRespond:this.toRespond:0;i[n]=t,0===o&&(this.resultSelector?this._tryResultSelector(i):this.destination.next(i.slice()))}_tryResultSelector(e){let t;try{t=this.resultSelector.apply(this,e)}catch(n){return void this.destination.error(n)}this.destination.next(t)}}var w=n("EY2u");function C(e){return new u.a(t=>{let n;try{n=e()}catch(r){return void t.error(r)}return(n?Object(o.a)(n):Object(w.b)()).subscribe(t)})}var x=n("lJxs"),S=n("bHdf");function E(){return Object(S.a)(1)}var O=n("pLZG"),T=n("7o/Q");function A(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}A.prototype=Object.create(Error.prototype);const k=A;function I(e){return function(t){return 0===e?Object(w.b)():t.lift(new R(e))}}class R{constructor(e){if(this.total=e,this.total<0)throw new k}call(e,t){return t.subscribe(new N(e,this.total))}}class N extends T.a{constructor(e,t){super(e),this.total=t,this.ring=new Array,this.count=0}_next(e){const t=this.ring,n=this.total,r=this.count++;t.length<n?t.push(e):t[r%n]=e}_complete(){const e=this.destination;let t=this.count;if(t>0){const n=this.count>=this.total?this.total:this.count,r=this.ring;for(let s=0;s<n;s++){const s=t++%n;e.next(r[s])}}e.complete()}}var j=n("KqfI"),P=n("n6bG");function D(e,t,n){return function(r){return r.lift(new V(e,t,n))}}class V{constructor(e,t,n){this.nextOrObserver=e,this.error=t,this.complete=n}call(e,t){return t.subscribe(new M(e,this.nextOrObserver,this.error,this.complete))}}class M extends T.a{constructor(e,t,n,r){super(e),this._tapNext=j.a,this._tapError=j.a,this._tapComplete=j.a,this._tapError=n||j.a,this._tapComplete=r||j.a,Object(P.a)(t)?(this._context=this,this._tapNext=t):t&&(this._context=t,this._tapNext=t.next||j.a,this._tapError=t.error||j.a,this._tapComplete=t.complete||j.a)}_next(e){try{this._tapNext.call(this._context,e)}catch(t){return void this.destination.error(t)}this.destination.next(e)}_error(e){try{this._tapError.call(this._context,e)}catch(e){return void this.destination.error(e)}this.destination.error(e)}_complete(){try{this._tapComplete.call(this._context)}catch(e){return void this.destination.error(e)}return this.destination.complete()}}const U=(e=F)=>D({hasValue:!1,next(){this.hasValue=!0},complete(){if(!this.hasValue)throw e()}});function F(){return new d}function L(e=null){return t=>t.lift(new H(e))}class H{constructor(e){this.defaultValue=e}call(e,t){return t.subscribe(new $(e,this.defaultValue))}}class $ extends T.a{constructor(e,t){super(e),this.defaultValue=t,this.isEmpty=!0}_next(e){this.isEmpty=!1,this.destination.next(e)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}var z=n("SpAZ");function B(e,t){const n=arguments.length>=2;return r=>r.pipe(e?Object(O.a)((t,n)=>e(t,n,r)):z.a,I(1),n?L(t):U(()=>new d))}var q=n("51Dv");function G(e){return function(t){const n=new W(e),r=t.lift(n);return n.caught=r}}class W{constructor(e){this.selector=e}call(e,t){return t.subscribe(new Z(e,this.selector,this.caught))}}class Z extends g.a{constructor(e,t,n){super(e),this.selector=t,this.caught=n}error(e){if(!this.isStopped){let n;try{n=this.selector(e,this.caught)}catch(t){return void super.error(t)}this._unsubscribeAndRecycle();const r=new q.a(this,void 0,void 0);this.add(r),Object(m.a)(this,n,void 0,void 0,r)}}}function Q(e){return t=>0===e?Object(w.b)():t.lift(new J(e))}class J{constructor(e){if(this.total=e,this.total<0)throw new k}call(e,t){return t.subscribe(new K(e,this.total))}}class K extends T.a{constructor(e,t){super(e),this.total=t,this.count=0}_next(e){const t=this.total,n=++this.count;n<=t&&(this.destination.next(e),n===t&&(this.destination.complete(),this.unsubscribe()))}}function Y(e,t){const n=arguments.length>=2;return r=>r.pipe(e?Object(O.a)((t,n)=>e(t,n,r)):z.a,Q(1),n?L(t):U(()=>new d))}var X=n("5+tZ");class ee{constructor(e,t,n){this.predicate=e,this.thisArg=t,this.source=n}call(e,t){return t.subscribe(new te(e,this.predicate,this.thisArg,this.source))}}class te extends T.a{constructor(e,t,n,r){super(e),this.predicate=t,this.thisArg=n,this.source=r,this.index=0,this.thisArg=n||this}notifyComplete(e){this.destination.next(e),this.destination.complete()}_next(e){let t=!1;try{t=this.predicate.call(this.thisArg,e,this.index++,this.source)}catch(n){return void this.destination.error(n)}t||this.notifyComplete(!1)}_complete(){this.notifyComplete(!0)}}function ne(e,t){return"function"==typeof t?n=>n.pipe(ne((n,r)=>Object(o.a)(e(n,r)).pipe(Object(x.a)((e,s)=>t(n,e,r,s))))):t=>t.lift(new re(e))}class re{constructor(e){this.project=e}call(e,t){return t.subscribe(new se(e,this.project))}}class se extends g.a{constructor(e,t){super(e),this.project=t,this.index=0}_next(e){let t;const n=this.index++;try{t=this.project(e,n)}catch(r){return void this.destination.error(r)}this._innerSub(t,e,n)}_innerSub(e,t,n){const r=this.innerSubscription;r&&r.unsubscribe();const s=new q.a(this,void 0,void 0);this.destination.add(s),this.innerSubscription=Object(m.a)(this,e,t,n,s)}_complete(){const{innerSubscription:e}=this;e&&!e.closed||super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=null}notifyComplete(e){this.destination.remove(e),this.innerSubscription=null,this.isStopped&&super._complete()}notifyNext(e,t,n,r,s){this.destination.next(t)}}var ie=n("XUOw");function oe(e,t){let n=!1;return arguments.length>=2&&(n=!0),function(r){return r.lift(new ae(e,t,n))}}class ae{constructor(e,t,n=!1){this.accumulator=e,this.seed=t,this.hasSeed=n}call(e,t){return t.subscribe(new le(e,this.accumulator,this.seed,this.hasSeed))}}class le extends T.a{constructor(e,t,n,r){super(e),this.accumulator=t,this._seed=n,this.hasSeed=r,this.index=0}get seed(){return this._seed}set seed(e){this.hasSeed=!0,this._seed=e}_next(e){if(this.hasSeed)return this._tryNext(e);this.seed=e,this.destination.next(e)}_tryNext(e){const t=this.index++;let n;try{n=this.accumulator(this.seed,e,t)}catch(r){this.destination.error(r)}this.seed=n,this.destination.next(n)}}var ce=n("bOdf"),ue=n("mCNh"),he=n("quSY");class de{constructor(e){this.callback=e}call(e,t){return t.subscribe(new pe(e,this.callback))}}class pe extends T.a{constructor(e,t){super(e),this.add(new he.a(t))}}var fe=n("cUpR");n.d(t,"B",(function(){return Ne})),n.d(t,"r",(function(){return Zn})),n.d(t,"y",(function(){return sr})),n.d(t,"t",(function(){return Yn})),n.d(t,"z",(function(){return ir})),n.d(t,"A",(function(){return or})),n.d(t,"v",(function(){return er})),n.d(t,"u",(function(){return Xn})),n.d(t,"x",(function(){return rr})),n.d(t,"s",(function(){return Jn})),n.d(t,"w",(function(){return nr})),n.d(t,"C",(function(){return Gn})),n.d(t,"l",(function(){return Vn})),n.d(t,"n",(function(){return Ln})),n.d(t,"j",(function(){return On})),n.d(t,"k",(function(){return Dn})),n.d(t,"i",(function(){return An})),n.d(t,"g",(function(){return Wn})),n.d(t,"h",(function(){return ar})),n.d(t,"m",(function(){return Kn})),n.d(t,"b",(function(){return Fn})),n.d(t,"d",(function(){return Bn})),n.d(t,"e",(function(){return zn})),n.d(t,"f",(function(){return $n})),n.d(t,"o",(function(){return qn})),n.d(t,"a",(function(){return xt})),n.d(t,"p",(function(){return In})),n.d(t,"c",(function(){return nt})),n.d(t,"q",(function(){return tt}));class ge{constructor(e,t){this.id=e,this.url=t}}class me extends ge{constructor(e,t,n="imperative",r=null){super(e,t),this.navigationTrigger=n,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class ye extends ge{constructor(e,t,n){super(e,t),this.urlAfterRedirects=n}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class be extends ge{constructor(e,t,n){super(e,t),this.reason=n}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class ve extends ge{constructor(e,t,n){super(e,t),this.error=n}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class _e extends ge{constructor(e,t,n,r){super(e,t),this.urlAfterRedirects=n,this.state=r}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class we extends ge{constructor(e,t,n,r){super(e,t),this.urlAfterRedirects=n,this.state=r}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ce extends ge{constructor(e,t,n,r,s){super(e,t),this.urlAfterRedirects=n,this.state=r,this.shouldActivate=s}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class xe extends ge{constructor(e,t,n,r){super(e,t),this.urlAfterRedirects=n,this.state=r}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Se extends ge{constructor(e,t,n,r){super(e,t),this.urlAfterRedirects=n,this.state=r}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ee{constructor(e){this.route=e}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Oe{constructor(e){this.route=e}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Te{constructor(e){this.snapshot=e}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ae{constructor(e){this.snapshot=e}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ke{constructor(e){this.snapshot=e}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ie{constructor(e){this.snapshot=e}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Re{constructor(e,t,n){this.routerEvent=e,this.position=t,this.anchor=n}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class Ne{}const je="primary";class Pe{constructor(e){this.params=e||{}}has(e){return this.params.hasOwnProperty(e)}get(e){if(this.has(e)){const t=this.params[e];return Array.isArray(t)?t[0]:t}return null}getAll(e){if(this.has(e)){const t=this.params[e];return Array.isArray(t)?t:[t]}return[]}get keys(){return Object.keys(this.params)}}function De(e){return new Pe(e)}const Ve="ngNavigationCancelingError";function Me(e){const t=Error("NavigationCancelingError: "+e);return t[Ve]=!0,t}function Ue(e,t,n){const r=n.path.split("/");if(r.length>e.length)return null;if("full"===n.pathMatch&&(t.hasChildren()||r.length<e.length))return null;const s={};for(let i=0;i<r.length;i++){const t=r[i],n=e[i];if(t.startsWith(":"))s[t.substring(1)]=n;else if(t!==n.path)return null}return{consumed:e.slice(0,r.length),posParams:s}}class Fe{constructor(e,t){this.routes=e,this.module=t}}function Le(e,t=""){for(let n=0;n<e.length;n++){const r=e[n];He(r,$e(t,r))}}function He(e,t){if(!e)throw new Error(`\n      Invalid configuration of route '${t}': Encountered undefined route.\n      The reason might be an extra comma.\n\n      Example:\n      const routes: Routes = [\n        { path: '', redirectTo: '/dashboard', pathMatch: 'full' },\n        { path: 'dashboard',  component: DashboardComponent },, << two commas\n        { path: 'detail/:id', component: HeroDetailComponent }\n      ];\n    `);if(Array.isArray(e))throw new Error(`Invalid configuration of route '${t}': Array cannot be specified`);if(!e.component&&!e.children&&!e.loadChildren&&e.outlet&&e.outlet!==je)throw new Error(`Invalid configuration of route '${t}': a componentless route without children or loadChildren cannot have a named outlet set`);if(e.redirectTo&&e.children)throw new Error(`Invalid configuration of route '${t}': redirectTo and children cannot be used together`);if(e.redirectTo&&e.loadChildren)throw new Error(`Invalid configuration of route '${t}': redirectTo and loadChildren cannot be used together`);if(e.children&&e.loadChildren)throw new Error(`Invalid configuration of route '${t}': children and loadChildren cannot be used together`);if(e.redirectTo&&e.component)throw new Error(`Invalid configuration of route '${t}': redirectTo and component cannot be used together`);if(e.path&&e.matcher)throw new Error(`Invalid configuration of route '${t}': path and matcher cannot be used together`);if(void 0===e.redirectTo&&!e.component&&!e.children&&!e.loadChildren)throw new Error(`Invalid configuration of route '${t}'. One of the following must be provided: component, redirectTo, children or loadChildren`);if(void 0===e.path&&void 0===e.matcher)throw new Error(`Invalid configuration of route '${t}': routes must have either a path or a matcher specified`);if("string"==typeof e.path&&"/"===e.path.charAt(0))throw new Error(`Invalid configuration of route '${t}': path cannot start with a slash`);if(""===e.path&&void 0!==e.redirectTo&&void 0===e.pathMatch)throw new Error(`Invalid configuration of route '{path: "${t}", redirectTo: "${e.redirectTo}"}': please provide 'pathMatch'. The default value of 'pathMatch' is 'prefix', but often the intent is to use 'full'.`);if(void 0!==e.pathMatch&&"full"!==e.pathMatch&&"prefix"!==e.pathMatch)throw new Error(`Invalid configuration of route '${t}': pathMatch can only be set to 'prefix' or 'full'`);e.children&&Le(e.children,t)}function $e(e,t){return t?e||t.path?e&&!t.path?`${e}/`:!e&&t.path?t.path:`${e}/${t.path}`:"":e}function ze(e){const t=e.children&&e.children.map(ze),n=t?Object.assign({},e,{children:t}):Object.assign({},e);return!n.component&&(t||n.loadChildren)&&n.outlet&&n.outlet!==je&&(n.component=Ne),n}function Be(e,t){const n=Object.keys(e),r=Object.keys(t);if(!n||!r||n.length!=r.length)return!1;let s;for(let i=0;i<n.length;i++)if(e[s=n[i]]!==t[s])return!1;return!0}function qe(e){return Array.prototype.concat.apply([],e)}function Ge(e){return e.length>0?e[e.length-1]:null}function We(e,t){for(const n in e)e.hasOwnProperty(n)&&t(e[n],n)}function Ze(e){return Object(s.tb)(e)?e:Object(s.ub)(e)?Object(o.a)(Promise.resolve(e)):Object(i.a)(e)}function Qe(e,t,n){return n?function(e,t){return Be(e,t)}(e.queryParams,t.queryParams)&&function e(t,n){if(!Xe(t.segments,n.segments))return!1;if(t.numberOfChildren!==n.numberOfChildren)return!1;for(const r in n.children){if(!t.children[r])return!1;if(!e(t.children[r],n.children[r]))return!1}return!0}(e.root,t.root):function(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(n=>t[n]===e[n])}(e.queryParams,t.queryParams)&&function e(t,n){return function t(n,r,s){if(n.segments.length>s.length)return!!Xe(n.segments.slice(0,s.length),s)&&!r.hasChildren();if(n.segments.length===s.length){if(!Xe(n.segments,s))return!1;for(const t in r.children){if(!n.children[t])return!1;if(!e(n.children[t],r.children[t]))return!1}return!0}{const e=s.slice(0,n.segments.length),i=s.slice(n.segments.length);return!!Xe(n.segments,e)&&!!n.children[je]&&t(n.children[je],r,i)}}(t,n,n.segments)}(e.root,t.root)}class Je{constructor(e,t,n){this.root=e,this.queryParams=t,this.fragment=n}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=De(this.queryParams)),this._queryParamMap}toString(){return rt.serialize(this)}}class Ke{constructor(e,t){this.segments=e,this.children=t,this.parent=null,We(t,(e,t)=>e.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return st(this)}}class Ye{constructor(e,t){this.path=e,this.parameters=t}get parameterMap(){return this._parameterMap||(this._parameterMap=De(this.parameters)),this._parameterMap}toString(){return ut(this)}}function Xe(e,t){return e.length===t.length&&e.every((e,n)=>e.path===t[n].path)}function et(e,t){let n=[];return We(e.children,(e,r)=>{r===je&&(n=n.concat(t(e,r)))}),We(e.children,(e,r)=>{r!==je&&(n=n.concat(t(e,r)))}),n}class tt{}class nt{parse(e){const t=new gt(e);return new Je(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}serialize(e){var t;return`${`/${function e(t,n){if(!t.hasChildren())return st(t);if(n){const n=t.children[je]?e(t.children[je],!1):"",r=[];return We(t.children,(t,n)=>{n!==je&&r.push(`${n}:${e(t,!1)}`)}),r.length>0?`${n}(${r.join("//")})`:n}{const n=et(t,(n,r)=>r===je?[e(t.children[je],!1)]:[`${r}:${e(n,!1)}`]);return`${st(t)}/(${n.join("//")})`}}(e.root,!0)}`}${function(e){const t=Object.keys(e).map(t=>{const n=e[t];return Array.isArray(n)?n.map(e=>`${ot(t)}=${ot(e)}`).join("&"):`${ot(t)}=${ot(n)}`});return t.length?`?${t.join("&")}`:""}(e.queryParams)}${"string"==typeof e.fragment?`#${t=e.fragment,encodeURI(t)}`:""}`}}const rt=new nt;function st(e){return e.segments.map(e=>ut(e)).join("/")}function it(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function ot(e){return it(e).replace(/%3B/gi,";")}function at(e){return it(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function lt(e){return decodeURIComponent(e)}function ct(e){return lt(e.replace(/\+/g,"%20"))}function ut(e){return`${at(e.path)}${t=e.parameters,Object.keys(t).map(e=>`;${at(e)}=${at(t[e])}`).join("")}`;var t}const ht=/^[^\/()?;=#]+/;function dt(e){const t=e.match(ht);return t?t[0]:""}const pt=/^[^=?&#]+/,ft=/^[^?&#]+/;class gt{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Ke([],{}):new Ke([],this.parseChildren())}parseQueryParams(){const e={};if(this.consumeOptional("?"))do{this.parseQueryParam(e)}while(this.consumeOptional("&"));return e}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let t={};this.peekStartsWith("/(")&&(this.capture("/"),t=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(e.length>0||Object.keys(t).length>0)&&(n[je]=new Ke(e,t)),n}parseSegment(){const e=dt(this.remaining);if(""===e&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(e),new Ye(lt(e),this.parseMatrixParams())}parseMatrixParams(){const e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){const t=dt(this.remaining);if(!t)return;this.capture(t);let n="";if(this.consumeOptional("=")){const e=dt(this.remaining);e&&this.capture(n=e)}e[lt(t)]=lt(n)}parseQueryParam(e){const t=function(e){const t=e.match(pt);return t?t[0]:""}(this.remaining);if(!t)return;this.capture(t);let n="";if(this.consumeOptional("=")){const e=function(e){const t=e.match(ft);return t?t[0]:""}(this.remaining);e&&this.capture(n=e)}const r=ct(t),s=ct(n);if(e.hasOwnProperty(r)){let t=e[r];Array.isArray(t)||(e[r]=t=[t]),t.push(s)}else e[r]=s}parseParens(e){const t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const n=dt(this.remaining),r=this.remaining[n.length];if("/"!==r&&")"!==r&&";"!==r)throw new Error(`Cannot parse url '${this.url}'`);let s=void 0;n.indexOf(":")>-1?(s=n.substr(0,n.indexOf(":")),this.capture(s),this.capture(":")):e&&(s=je);const i=this.parseChildren();t[s]=1===Object.keys(i).length?i[je]:new Ke([],i),this.consumeOptional("//")}return t}peekStartsWith(e){return this.remaining.startsWith(e)}consumeOptional(e){return!!this.peekStartsWith(e)&&(this.remaining=this.remaining.substring(e.length),!0)}capture(e){if(!this.consumeOptional(e))throw new Error(`Expected "${e}".`)}}class mt{constructor(e){this._root=e}get root(){return this._root.value}parent(e){const t=this.pathFromRoot(e);return t.length>1?t[t.length-2]:null}children(e){const t=yt(e,this._root);return t?t.children.map(e=>e.value):[]}firstChild(e){const t=yt(e,this._root);return t&&t.children.length>0?t.children[0].value:null}siblings(e){const t=bt(e,this._root);return t.length<2?[]:t[t.length-2].children.map(e=>e.value).filter(t=>t!==e)}pathFromRoot(e){return bt(e,this._root).map(e=>e.value)}}function yt(e,t){if(e===t.value)return t;for(const n of t.children){const t=yt(e,n);if(t)return t}return null}function bt(e,t){if(e===t.value)return[t];for(const n of t.children){const r=bt(e,n);if(r.length)return r.unshift(t),r}return[]}class vt{constructor(e,t){this.value=e,this.children=t}toString(){return`TreeNode(${this.value})`}}function _t(e){const t={};return e&&e.children.forEach(e=>t[e.value.outlet]=e),t}class wt extends mt{constructor(e,t){super(e),this.snapshot=t,Tt(this,e)}toString(){return this.snapshot.toString()}}function Ct(e,t){const n=function(e,t){const n=new Et([],{},{},"",{},je,t,null,e.root,-1,{});return new Ot("",new vt(n,[]))}(e,t),r=new c([new Ye("",{})]),s=new c({}),i=new c({}),o=new c({}),a=new c(""),l=new xt(r,s,o,a,i,je,t,n.root);return l.snapshot=n.root,new wt(new vt(l,[]),n)}class xt{constructor(e,t,n,r,s,i,o,a){this.url=e,this.params=t,this.queryParams=n,this.fragment=r,this.data=s,this.outlet=i,this.component=o,this._futureSnapshot=a}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe(Object(x.a)(e=>De(e)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(Object(x.a)(e=>De(e)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function St(e,t="emptyOnly"){const n=e.pathFromRoot;let r=0;if("always"!==t)for(r=n.length-1;r>=1;){const e=n[r],t=n[r-1];if(e.routeConfig&&""===e.routeConfig.path)r--;else{if(t.component)break;r--}}return function(e){return e.reduce((e,t)=>({params:Object.assign({},e.params,t.params),data:Object.assign({},e.data,t.data),resolve:Object.assign({},e.resolve,t._resolvedData)}),{params:{},data:{},resolve:{}})}(n.slice(r))}class Et{constructor(e,t,n,r,s,i,o,a,l,c,u){this.url=e,this.params=t,this.queryParams=n,this.fragment=r,this.data=s,this.outlet=i,this.component=o,this.routeConfig=a,this._urlSegment=l,this._lastPathIndex=c,this._resolve=u}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=De(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=De(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(e=>e.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Ot extends mt{constructor(e,t){super(t),this.url=e,Tt(this,t)}toString(){return At(this._root)}}function Tt(e,t){t.value._routerState=e,t.children.forEach(t=>Tt(e,t))}function At(e){const t=e.children.length>0?` { ${e.children.map(At).join(", ")} } `:"";return`${e.value}${t}`}function kt(e){if(e.snapshot){const t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,Be(t.queryParams,n.queryParams)||e.queryParams.next(n.queryParams),t.fragment!==n.fragment&&e.fragment.next(n.fragment),Be(t.params,n.params)||e.params.next(n.params),function(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;++n)if(!Be(e[n],t[n]))return!1;return!0}(t.url,n.url)||e.url.next(n.url),Be(t.data,n.data)||e.data.next(n.data)}else e.snapshot=e._futureSnapshot,e.data.next(e._futureSnapshot.data)}function It(e,t){var n,r;return Be(e.params,t.params)&&Xe(n=e.url,r=t.url)&&n.every((e,t)=>Be(e.parameters,r[t].parameters))&&!(!e.parent!=!t.parent)&&(!e.parent||It(e.parent,t.parent))}function Rt(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function Nt(e,t,n,r,s){let i={};return r&&We(r,(e,t)=>{i[t]=Array.isArray(e)?e.map(e=>`${e}`):`${e}`}),new Je(n.root===e?t:function e(t,n,r){const s={};return We(t.children,(t,i)=>{s[i]=t===n?r:e(t,n,r)}),new Ke(t.segments,s)}(n.root,e,t),i,s)}class jt{constructor(e,t,n){if(this.isAbsolute=e,this.numberOfDoubleDots=t,this.commands=n,e&&n.length>0&&Rt(n[0]))throw new Error("Root segment cannot have matrix parameters");const r=n.find(e=>"object"==typeof e&&null!=e&&e.outlets);if(r&&r!==Ge(n))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Pt{constructor(e,t,n){this.segmentGroup=e,this.processChildren=t,this.index=n}}function Dt(e){return"object"==typeof e&&null!=e&&e.outlets?e.outlets[je]:`${e}`}function Vt(e,t,n){if(e||(e=new Ke([],{})),0===e.segments.length&&e.hasChildren())return Mt(e,t,n);const r=function(e,t,n){let r=0,s=t;const i={match:!1,pathIndex:0,commandIndex:0};for(;s<e.segments.length;){if(r>=n.length)return i;const t=e.segments[s],o=Dt(n[r]),a=r<n.length-1?n[r+1]:null;if(s>0&&void 0===o)break;if(o&&a&&"object"==typeof a&&void 0===a.outlets){if(!Ht(o,a,t))return i;r+=2}else{if(!Ht(o,{},t))return i;r++}s++}return{match:!0,pathIndex:s,commandIndex:r}}(e,t,n),s=n.slice(r.commandIndex);if(r.match&&r.pathIndex<e.segments.length){const t=new Ke(e.segments.slice(0,r.pathIndex),{});return t.children[je]=new Ke(e.segments.slice(r.pathIndex),e.children),Mt(t,0,s)}return r.match&&0===s.length?new Ke(e.segments,{}):r.match&&!e.hasChildren()?Ut(e,t,n):r.match?Mt(e,0,s):Ut(e,t,n)}function Mt(e,t,n){if(0===n.length)return new Ke(e.segments,{});{const r=function(e){return"object"!=typeof e[0]?{[je]:e}:void 0===e[0].outlets?{[je]:e}:e[0].outlets}(n),s={};return We(r,(n,r)=>{null!==n&&(s[r]=Vt(e.children[r],t,n))}),We(e.children,(e,t)=>{void 0===r[t]&&(s[t]=e)}),new Ke(e.segments,s)}}function Ut(e,t,n){const r=e.segments.slice(0,t);let s=0;for(;s<n.length;){if("object"==typeof n[s]&&void 0!==n[s].outlets){const e=Ft(n[s].outlets);return new Ke(r,e)}if(0===s&&Rt(n[0])){r.push(new Ye(e.segments[t].path,n[0])),s++;continue}const i=Dt(n[s]),o=s<n.length-1?n[s+1]:null;i&&o&&Rt(o)?(r.push(new Ye(i,Lt(o))),s+=2):(r.push(new Ye(i,{})),s++)}return new Ke(r,{})}function Ft(e){const t={};return We(e,(e,n)=>{null!==e&&(t[n]=Ut(new Ke([],{}),0,e))}),t}function Lt(e){const t={};return We(e,(e,n)=>t[n]=`${e}`),t}function Ht(e,t,n){return e==n.path&&Be(t,n.parameters)}const $t=(e,t,n)=>Object(x.a)(r=>(new zt(t,r.targetRouterState,r.currentRouterState,n).activate(e),r));class zt{constructor(e,t,n,r){this.routeReuseStrategy=e,this.futureState=t,this.currState=n,this.forwardEvent=r}activate(e){const t=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(t,n,e),kt(this.futureState.root),this.activateChildRoutes(t,n,e)}deactivateChildRoutes(e,t,n){const r=_t(t);e.children.forEach(e=>{const t=e.value.outlet;this.deactivateRoutes(e,r[t],n),delete r[t]}),We(r,(e,t)=>{this.deactivateRouteAndItsChildren(e,n)})}deactivateRoutes(e,t,n){const r=e.value,s=t?t.value:null;if(r===s)if(r.component){const s=n.getContext(r.outlet);s&&this.deactivateChildRoutes(e,t,s.children)}else this.deactivateChildRoutes(e,t,n);else s&&this.deactivateRouteAndItsChildren(t,n)}deactivateRouteAndItsChildren(e,t){this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,t):this.deactivateRouteAndOutlet(e,t)}detachAndStoreRouteSubtree(e,t){const n=t.getContext(e.value.outlet);if(n&&n.outlet){const t=n.outlet.detach(),r=n.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:t,route:e,contexts:r})}}deactivateRouteAndOutlet(e,t){const n=t.getContext(e.value.outlet);if(n){const r=_t(e),s=e.value.component?n.children:t;We(r,(e,t)=>this.deactivateRouteAndItsChildren(e,s)),n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated())}}activateChildRoutes(e,t,n){const r=_t(t);e.children.forEach(e=>{this.activateRoutes(e,r[e.value.outlet],n),this.forwardEvent(new Ie(e.value.snapshot))}),e.children.length&&this.forwardEvent(new Ae(e.value.snapshot))}activateRoutes(e,t,n){const r=e.value,s=t?t.value:null;if(kt(r),r===s)if(r.component){const s=n.getOrCreateContext(r.outlet);this.activateChildRoutes(e,t,s.children)}else this.activateChildRoutes(e,t,n);else if(r.component){const t=n.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){const e=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),t.children.onOutletReAttached(e.contexts),t.attachRef=e.componentRef,t.route=e.route.value,t.outlet&&t.outlet.attach(e.componentRef,e.route.value),Bt(e.route)}else{const n=function(e){for(let t=e.parent;t;t=t.parent){const e=t.routeConfig;if(e&&e._loadedConfig)return e._loadedConfig;if(e&&e.component)return null}return null}(r.snapshot),s=n?n.module.componentFactoryResolver:null;t.attachRef=null,t.route=r,t.resolver=s,t.outlet&&t.outlet.activateWith(r,s),this.activateChildRoutes(e,null,t.children)}}else this.activateChildRoutes(e,null,n)}}function Bt(e){kt(e.value),e.children.forEach(Bt)}function qt(e){return"function"==typeof e}function Gt(e){return e instanceof Je}class Wt{constructor(e){this.segmentGroup=e||null}}class Zt{constructor(e){this.urlTree=e}}function Qt(e){return new u.a(t=>t.error(new Wt(e)))}function Jt(e){return new u.a(t=>t.error(new Zt(e)))}function Kt(e){return new u.a(t=>t.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${e}'`)))}class Yt{constructor(e,t,n,r,i){this.configLoader=t,this.urlSerializer=n,this.urlTree=r,this.config=i,this.allowRedirects=!0,this.ngModule=e.get(s.v)}apply(){return this.expandSegmentGroup(this.ngModule,this.config,this.urlTree.root,je).pipe(Object(x.a)(e=>this.createUrlTree(e,this.urlTree.queryParams,this.urlTree.fragment))).pipe(G(e=>{if(e instanceof Zt)return this.allowRedirects=!1,this.match(e.urlTree);if(e instanceof Wt)throw this.noMatchError(e);throw e}))}match(e){return this.expandSegmentGroup(this.ngModule,this.config,e.root,je).pipe(Object(x.a)(t=>this.createUrlTree(t,e.queryParams,e.fragment))).pipe(G(e=>{if(e instanceof Wt)throw this.noMatchError(e);throw e}))}noMatchError(e){return new Error(`Cannot match any routes. URL Segment: '${e.segmentGroup}'`)}createUrlTree(e,t,n){const r=e.segments.length>0?new Ke([],{[je]:e}):e;return new Je(r,t,n)}expandSegmentGroup(e,t,n,r){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(e,t,n).pipe(Object(x.a)(e=>new Ke([],e))):this.expandSegment(e,n,t,n.segments,r,!0)}expandChildren(e,t,n){return function(e,t){if(0===Object.keys(e).length)return Object(i.a)({});const n=[],r=[],s={};return We(e,(e,i)=>{const o=t(i,e).pipe(Object(x.a)(e=>s[i]=e));i===je?n.push(o):r.push(o)}),i.a.apply(null,n.concat(r)).pipe(E(),B(),Object(x.a)(()=>s))}(n.children,(n,r)=>this.expandSegmentGroup(e,t,r,n))}expandSegment(e,t,n,r,s,o){return Object(i.a)(...n).pipe(Object(x.a)(a=>this.expandSegmentAgainstRoute(e,t,n,a,r,s,o).pipe(G(e=>{if(e instanceof Wt)return Object(i.a)(null);throw e}))),E(),Y(e=>!!e),G((e,n)=>{if(e instanceof d||"EmptyError"===e.name){if(this.noLeftoversInUrl(t,r,s))return Object(i.a)(new Ke([],{}));throw new Wt(t)}throw e}))}noLeftoversInUrl(e,t,n){return 0===t.length&&!e.children[n]}expandSegmentAgainstRoute(e,t,n,r,s,i,o){return nn(r)!==i?Qt(t):void 0===r.redirectTo?this.matchSegmentAgainstRoute(e,t,r,s):o&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(e,t,n,r,s,i):Qt(t)}expandSegmentAgainstRouteUsingRedirect(e,t,n,r,s,i){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(e,n,r,i):this.expandRegularSegmentAgainstRouteUsingRedirect(e,t,n,r,s,i)}expandWildCardWithParamsAgainstRouteUsingRedirect(e,t,n,r){const s=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?Jt(s):this.lineralizeSegments(n,s).pipe(Object(X.a)(n=>{const s=new Ke(n,{});return this.expandSegment(e,s,t,n,r,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(e,t,n,r,s,i){const{matched:o,consumedSegments:a,lastChild:l,positionalParamSegments:c}=Xt(t,r,s);if(!o)return Qt(t);const u=this.applyRedirectCommands(a,r.redirectTo,c);return r.redirectTo.startsWith("/")?Jt(u):this.lineralizeSegments(r,u).pipe(Object(X.a)(r=>this.expandSegment(e,t,n,r.concat(s.slice(l)),i,!1)))}matchSegmentAgainstRoute(e,t,n,r){if("**"===n.path)return n.loadChildren?this.configLoader.load(e.injector,n).pipe(Object(x.a)(e=>(n._loadedConfig=e,new Ke(r,{})))):Object(i.a)(new Ke(r,{}));const{matched:s,consumedSegments:o,lastChild:a}=Xt(t,n,r);if(!s)return Qt(t);const l=r.slice(a);return this.getChildConfig(e,n,r).pipe(Object(X.a)(e=>{const n=e.module,r=e.routes,{segmentGroup:s,slicedSegments:a}=function(e,t,n,r){return n.length>0&&function(e,t,n){return n.some(n=>tn(e,t,n)&&nn(n)!==je)}(e,n,r)?{segmentGroup:en(new Ke(t,function(e,t){const n={};n[je]=t;for(const r of e)""===r.path&&nn(r)!==je&&(n[nn(r)]=new Ke([],{}));return n}(r,new Ke(n,e.children)))),slicedSegments:[]}:0===n.length&&function(e,t,n){return n.some(n=>tn(e,t,n))}(e,n,r)?{segmentGroup:en(new Ke(e.segments,function(e,t,n,r){const s={};for(const i of n)tn(e,t,i)&&!r[nn(i)]&&(s[nn(i)]=new Ke([],{}));return Object.assign({},r,s)}(e,n,r,e.children))),slicedSegments:n}:{segmentGroup:e,slicedSegments:n}}(t,o,l,r);return 0===a.length&&s.hasChildren()?this.expandChildren(n,r,s).pipe(Object(x.a)(e=>new Ke(o,e))):0===r.length&&0===a.length?Object(i.a)(new Ke(o,{})):this.expandSegment(n,s,r,a,je,!0).pipe(Object(x.a)(e=>new Ke(o.concat(e.segments),e.children)))}))}getChildConfig(e,t,n){return t.children?Object(i.a)(new Fe(t.children,e)):t.loadChildren?void 0!==t._loadedConfig?Object(i.a)(t._loadedConfig):function(e,t,n){const r=t.canLoad;return r&&0!==r.length?Object(o.a)(r).pipe(Object(x.a)(r=>{const s=e.get(r);let i;if(function(e){return e&&qt(e.canLoad)}(s))i=s.canLoad(t,n);else{if(!qt(s))throw new Error("Invalid CanLoad guard");i=s(t,n)}return Ze(i)})).pipe(E(),(s=e=>!0===e,e=>e.lift(new ee(s,void 0,e)))):Object(i.a)(!0);var s}(e.injector,t,n).pipe(Object(X.a)(n=>n?this.configLoader.load(e.injector,t).pipe(Object(x.a)(e=>(t._loadedConfig=e,e))):function(e){return new u.a(t=>t.error(Me(`Cannot load children because the guard of the route "path: '${e.path}'" returned false`)))}(t))):Object(i.a)(new Fe([],e))}lineralizeSegments(e,t){let n=[],r=t.root;for(;;){if(n=n.concat(r.segments),0===r.numberOfChildren)return Object(i.a)(n);if(r.numberOfChildren>1||!r.children[je])return Kt(e.redirectTo);r=r.children[je]}}applyRedirectCommands(e,t,n){return this.applyRedirectCreatreUrlTree(t,this.urlSerializer.parse(t),e,n)}applyRedirectCreatreUrlTree(e,t,n,r){const s=this.createSegmentGroup(e,t.root,n,r);return new Je(s,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}createQueryParams(e,t){const n={};return We(e,(e,r)=>{if("string"==typeof e&&e.startsWith(":")){const s=e.substring(1);n[r]=t[s]}else n[r]=e}),n}createSegmentGroup(e,t,n,r){const s=this.createSegments(e,t.segments,n,r);let i={};return We(t.children,(t,s)=>{i[s]=this.createSegmentGroup(e,t,n,r)}),new Ke(s,i)}createSegments(e,t,n,r){return t.map(t=>t.path.startsWith(":")?this.findPosParam(e,t,r):this.findOrReturn(t,n))}findPosParam(e,t,n){const r=n[t.path.substring(1)];if(!r)throw new Error(`Cannot redirect to '${e}'. Cannot find '${t.path}'.`);return r}findOrReturn(e,t){let n=0;for(const r of t){if(r.path===e.path)return t.splice(n),r;n++}return e}}function Xt(e,t,n){if(""===t.path)return"full"===t.pathMatch&&(e.hasChildren()||n.length>0)?{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}:{matched:!0,consumedSegments:[],lastChild:0,positionalParamSegments:{}};const r=(t.matcher||Ue)(n,e,t);return r?{matched:!0,consumedSegments:r.consumed,lastChild:r.consumed.length,positionalParamSegments:r.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function en(e){if(1===e.numberOfChildren&&e.children[je]){const t=e.children[je];return new Ke(e.segments.concat(t.segments),t.children)}return e}function tn(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0!==n.redirectTo}function nn(e){return e.outlet||je}class rn{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}}class sn{constructor(e,t){this.component=e,this.route=t}}function on(e,t,n){const r=e._root;return function e(t,n,r,s,i={canDeactivateChecks:[],canActivateChecks:[]}){const o=_t(n);return t.children.forEach(t=>{!function(t,n,r,s,i={canDeactivateChecks:[],canActivateChecks:[]}){const o=t.value,a=n?n.value:null,l=r?r.getContext(t.value.outlet):null;if(a&&o.routeConfig===a.routeConfig){const c=function(e,t,n){if("function"==typeof n)return n(e,t);switch(n){case"pathParamsChange":return!Xe(e.url,t.url);case"pathParamsOrQueryParamsChange":return!Xe(e.url,t.url)||!Be(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!It(e,t)||!Be(e.queryParams,t.queryParams);case"paramsChange":default:return!It(e,t)}}(a,o,o.routeConfig.runGuardsAndResolvers);c?i.canActivateChecks.push(new rn(s)):(o.data=a.data,o._resolvedData=a._resolvedData),e(t,n,o.component?l?l.children:null:r,s,i),c&&i.canDeactivateChecks.push(new sn(l&&l.outlet&&l.outlet.component||null,a))}else a&&ln(n,l,i),i.canActivateChecks.push(new rn(s)),e(t,null,o.component?l?l.children:null:r,s,i)}(t,o[t.value.outlet],r,s.concat([t.value]),i),delete o[t.value.outlet]}),We(o,(e,t)=>ln(e,r.getContext(t),i)),i}(r,t?t._root:null,n,[r.value])}function an(e,t,n){const r=function(e){if(!e)return null;for(let t=e.parent;t;t=t.parent){const e=t.routeConfig;if(e&&e._loadedConfig)return e._loadedConfig}return null}(t);return(r?r.module.injector:n).get(e)}function ln(e,t,n){const r=_t(e),s=e.value;We(r,(e,r)=>{ln(e,s.component?t?t.children.getContext(r):null:t,n)}),n.canDeactivateChecks.push(new sn(s.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,s))}const cn=Symbol("INITIAL_VALUE");function un(){return ne(e=>(function(...e){let t=null,n=null;return Object(p.a)(e[e.length-1])&&(n=e.pop()),"function"==typeof e[e.length-1]&&(t=e.pop()),1===e.length&&Object(f.a)(e[0])&&(e=e[0]),Object(y.a)(e,n).lift(new v(t))})(...e.map(e=>e.pipe(Q(1),function(...e){return t=>{let n=e[e.length-1];Object(p.a)(n)?e.pop():n=null;const r=e.length;return function(...e){return E()(Object(i.a)(...e))}(1!==r||n?r>0?Object(y.a)(e,n):Object(w.b)(n):Object(ie.a)(e[0]),t)}}(cn)))).pipe(oe((e,t)=>{let n=!1;return t.reduce((e,r,s)=>{if(e!==cn)return e;if(r===cn&&(n=!0),!n){if(!1===r)return r;if(s===t.length-1||Gt(r))return r}return e},e)},cn),Object(O.a)(e=>e!==cn),Object(x.a)(e=>Gt(e)?e:!0===e),Q(1)))}function hn(e,t){return null!==e&&t&&t(new ke(e)),Object(i.a)(!0)}function dn(e,t){return null!==e&&t&&t(new Te(e)),Object(i.a)(!0)}function pn(e,t,n){const r=t.routeConfig?t.routeConfig.canActivate:null;if(!r||0===r.length)return Object(i.a)(!0);const s=r.map(r=>C(()=>{const s=an(r,t,n);let i;if(function(e){return e&&qt(e.canActivate)}(s))i=Ze(s.canActivate(t,e));else{if(!qt(s))throw new Error("Invalid CanActivate guard");i=Ze(s(t,e))}return i.pipe(Y())}));return Object(i.a)(s).pipe(un())}function fn(e,t,n){const r=t[t.length-1],s=t.slice(0,t.length-1).reverse().map(e=>(function(e){const t=e.routeConfig?e.routeConfig.canActivateChild:null;return t&&0!==t.length?{node:e,guards:t}:null})(e)).filter(e=>null!==e).map(t=>C(()=>{const s=t.guards.map(s=>{const i=an(s,t.node,n);let o;if(function(e){return e&&qt(e.canActivateChild)}(i))o=Ze(i.canActivateChild(r,e));else{if(!qt(i))throw new Error("Invalid CanActivateChild guard");o=Ze(i(r,e))}return o.pipe(Y())});return Object(i.a)(s).pipe(un())}));return Object(i.a)(s).pipe(un())}class gn{}class mn{constructor(e,t,n,r,s,i){this.rootComponentType=e,this.config=t,this.urlTree=n,this.url=r,this.paramsInheritanceStrategy=s,this.relativeLinkResolution=i}recognize(){try{const e=vn(this.urlTree.root,[],[],this.config,this.relativeLinkResolution).segmentGroup,t=this.processSegmentGroup(this.config,e,je),n=new Et([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},je,this.rootComponentType,null,this.urlTree.root,-1,{}),r=new vt(n,t),s=new Ot(this.url,r);return this.inheritParamsAndData(s._root),Object(i.a)(s)}catch(e){return new u.a(t=>t.error(e))}}inheritParamsAndData(e){const t=e.value,n=St(t,this.paramsInheritanceStrategy);t.params=Object.freeze(n.params),t.data=Object.freeze(n.data),e.children.forEach(e=>this.inheritParamsAndData(e))}processSegmentGroup(e,t,n){return 0===t.segments.length&&t.hasChildren()?this.processChildren(e,t):this.processSegment(e,t,t.segments,n)}processChildren(e,t){const n=et(t,(t,n)=>this.processSegmentGroup(e,t,n));return function(e){const t={};e.forEach(e=>{const n=t[e.value.outlet];if(n){const t=n.url.map(e=>e.toString()).join("/"),r=e.value.url.map(e=>e.toString()).join("/");throw new Error(`Two segments cannot have the same outlet name: '${t}' and '${r}'.`)}t[e.value.outlet]=e.value})}(n),n.sort((e,t)=>e.value.outlet===je?-1:t.value.outlet===je?1:e.value.outlet.localeCompare(t.value.outlet)),n}processSegment(e,t,n,r){for(const i of e)try{return this.processSegmentAgainstRoute(i,t,n,r)}catch(s){if(!(s instanceof gn))throw s}if(this.noLeftoversInUrl(t,n,r))return[];throw new gn}noLeftoversInUrl(e,t,n){return 0===t.length&&!e.children[n]}processSegmentAgainstRoute(e,t,n,r){if(e.redirectTo)throw new gn;if((e.outlet||je)!==r)throw new gn;let s,i=[],o=[];if("**"===e.path){const i=n.length>0?Ge(n).parameters:{};s=new Et(n,i,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Cn(e),r,e.component,e,yn(t),bn(t)+n.length,xn(e))}else{const a=function(e,t,n){if(""===t.path){if("full"===t.pathMatch&&(e.hasChildren()||n.length>0))throw new gn;return{consumedSegments:[],lastChild:0,parameters:{}}}const r=(t.matcher||Ue)(n,e,t);if(!r)throw new gn;const s={};We(r.posParams,(e,t)=>{s[t]=e.path});const i=r.consumed.length>0?Object.assign({},s,r.consumed[r.consumed.length-1].parameters):s;return{consumedSegments:r.consumed,lastChild:r.consumed.length,parameters:i}}(t,e,n);i=a.consumedSegments,o=n.slice(a.lastChild),s=new Et(i,a.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Cn(e),r,e.component,e,yn(t),bn(t)+i.length,xn(e))}const a=function(e){return e.children?e.children:e.loadChildren?e._loadedConfig.routes:[]}(e),{segmentGroup:l,slicedSegments:c}=vn(t,i,o,a,this.relativeLinkResolution);if(0===c.length&&l.hasChildren()){const e=this.processChildren(a,l);return[new vt(s,e)]}if(0===a.length&&0===c.length)return[new vt(s,[])];const u=this.processSegment(a,l,c,je);return[new vt(s,u)]}}function yn(e){let t=e;for(;t._sourceSegment;)t=t._sourceSegment;return t}function bn(e){let t=e,n=t._segmentIndexShift?t._segmentIndexShift:0;for(;t._sourceSegment;)n+=(t=t._sourceSegment)._segmentIndexShift?t._segmentIndexShift:0;return n-1}function vn(e,t,n,r,s){if(n.length>0&&function(e,t,n){return n.some(n=>_n(e,t,n)&&wn(n)!==je)}(e,n,r)){const s=new Ke(t,function(e,t,n,r){const s={};s[je]=r,r._sourceSegment=e,r._segmentIndexShift=t.length;for(const i of n)if(""===i.path&&wn(i)!==je){const n=new Ke([],{});n._sourceSegment=e,n._segmentIndexShift=t.length,s[wn(i)]=n}return s}(e,t,r,new Ke(n,e.children)));return s._sourceSegment=e,s._segmentIndexShift=t.length,{segmentGroup:s,slicedSegments:[]}}if(0===n.length&&function(e,t,n){return n.some(n=>_n(e,t,n))}(e,n,r)){const i=new Ke(e.segments,function(e,t,n,r,s,i){const o={};for(const a of r)if(_n(e,n,a)&&!s[wn(a)]){const n=new Ke([],{});n._sourceSegment=e,n._segmentIndexShift="legacy"===i?e.segments.length:t.length,o[wn(a)]=n}return Object.assign({},s,o)}(e,t,n,r,e.children,s));return i._sourceSegment=e,i._segmentIndexShift=t.length,{segmentGroup:i,slicedSegments:n}}const i=new Ke(e.segments,e.children);return i._sourceSegment=e,i._segmentIndexShift=t.length,{segmentGroup:i,slicedSegments:n}}function _n(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0===n.redirectTo}function wn(e){return e.outlet||je}function Cn(e){return e.data||{}}function xn(e){return e.resolve||{}}function Sn(e,t,n,r){const s=an(e,t,r);return Ze(s.resolve?s.resolve(t,n):s(t,n))}function En(e){return function(t){return t.pipe(ne(t=>{const n=e(t);return n?Object(o.a)(n).pipe(Object(x.a)(()=>t)):Object(o.a)([t])}))}}class On{}class Tn{shouldDetach(e){return!1}store(e,t){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,t){return e.routeConfig===t.routeConfig}}const An=new s.o("ROUTES");class kn{constructor(e,t,n,r){this.loader=e,this.compiler=t,this.onLoadStartListener=n,this.onLoadEndListener=r}load(e,t){return this.onLoadStartListener&&this.onLoadStartListener(t),this.loadModuleFactory(t.loadChildren).pipe(Object(x.a)(n=>{this.onLoadEndListener&&this.onLoadEndListener(t);const r=n.create(e);return new Fe(qe(r.injector.get(An)).map(ze),r)}))}loadModuleFactory(e){return"string"==typeof e?Object(o.a)(this.loader.load(e)):Ze(e()).pipe(Object(X.a)(e=>e instanceof s.t?Object(i.a)(e):Object(o.a)(this.compiler.compileModuleAsync(e))))}}class In{}class Rn{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,t){return e}}function Nn(e){throw e}function jn(e,t,n){return t.parse("/")}function Pn(e,t){return Object(i.a)(null)}class Dn{constructor(e,t,n,r,i,o,l,u){this.rootComponentType=e,this.urlSerializer=t,this.rootContexts=n,this.location=r,this.config=u,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new a.a,this.errorHandler=Nn,this.malformedUriErrorHandler=jn,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:Pn,afterPreactivation:Pn},this.urlHandlingStrategy=new Rn,this.routeReuseStrategy=new Tn,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="legacy",this.ngModule=i.get(s.v),this.console=i.get(s.Y);const h=i.get(s.x);this.isNgZoneEnabled=h instanceof s.x,this.resetConfig(u),this.currentUrlTree=new Je(new Ke([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new kn(o,l,e=>this.triggerEvent(new Ee(e)),e=>this.triggerEvent(new Oe(e))),this.routerState=Ct(this.currentUrlTree,this.rootComponentType),this.transitions=new c({id:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}setupNavigations(e){const t=this.events;return e.pipe(Object(O.a)(e=>0!==e.id),Object(x.a)(e=>Object.assign({},e,{extractedUrl:this.urlHandlingStrategy.extract(e.rawUrl)})),ne(e=>{let n=!1,r=!1;return Object(i.a)(e).pipe(D(e=>{this.currentNavigation={id:e.id,initialUrl:e.currentRawUrl,extractedUrl:e.extractedUrl,trigger:e.source,extras:e.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign({},this.lastSuccessfulNavigation,{previousNavigation:null}):null}}),ne(e=>{const n=!this.navigated||e.extractedUrl.toString()!==this.browserUrlTree.toString();if(("reload"===this.onSameUrlNavigation||n)&&this.urlHandlingStrategy.shouldProcessUrl(e.rawUrl))return Object(i.a)(e).pipe(ne(e=>{const n=this.transitions.getValue();return t.next(new me(e.id,this.serializeUrl(e.extractedUrl),e.source,e.restoredState)),n!==this.transitions.getValue()?w.a:[e]}),ne(e=>Promise.resolve(e)),function(e,t,n,r){return function(s){return s.pipe(ne(s=>(function(e,t,n,r,s){return new Yt(e,t,n,r,s).apply()})(e,t,n,s.extractedUrl,r).pipe(Object(x.a)(e=>Object.assign({},s,{urlAfterRedirects:e})))))}}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),D(e=>{this.currentNavigation=Object.assign({},this.currentNavigation,{finalUrl:e.urlAfterRedirects})}),function(e,t,n,r,s){return function(i){return i.pipe(Object(X.a)(i=>(function(e,t,n,r,s="emptyOnly",i="legacy"){return new mn(e,t,n,r,s,i).recognize()})(e,t,i.urlAfterRedirects,n(i.urlAfterRedirects),r,s).pipe(Object(x.a)(e=>Object.assign({},i,{targetSnapshot:e})))))}}(this.rootComponentType,this.config,e=>this.serializeUrl(e),this.paramsInheritanceStrategy,this.relativeLinkResolution),D(e=>{"eager"===this.urlUpdateStrategy&&(e.extras.skipLocationChange||this.setBrowserUrl(e.urlAfterRedirects,!!e.extras.replaceUrl,e.id,e.extras.state),this.browserUrlTree=e.urlAfterRedirects)}),D(e=>{const n=new _e(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.next(n)}));if(n&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:n,extractedUrl:r,source:s,restoredState:o,extras:a}=e,l=new me(n,this.serializeUrl(r),s,o);t.next(l);const c=Ct(r,this.rootComponentType).snapshot;return Object(i.a)(Object.assign({},e,{targetSnapshot:c,urlAfterRedirects:r,extras:Object.assign({},a,{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=e.rawUrl,this.browserUrlTree=e.urlAfterRedirects,e.resolve(null),w.a}),En(e=>{const{targetSnapshot:t,id:n,extractedUrl:r,rawUrl:s,extras:{skipLocationChange:i,replaceUrl:o}}=e;return this.hooks.beforePreactivation(t,{navigationId:n,appliedUrlTree:r,rawUrlTree:s,skipLocationChange:!!i,replaceUrl:!!o})}),D(e=>{const t=new we(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);this.triggerEvent(t)}),Object(x.a)(e=>Object.assign({},e,{guards:on(e.targetSnapshot,e.currentSnapshot,this.rootContexts)})),function(e,t){return function(n){return n.pipe(Object(X.a)(n=>{const{targetSnapshot:r,currentSnapshot:s,guards:{canActivateChecks:a,canDeactivateChecks:l}}=n;return 0===l.length&&0===a.length?Object(i.a)(Object.assign({},n,{guardsResult:!0})):function(e,t,n,r){return Object(o.a)(e).pipe(Object(X.a)(e=>(function(e,t,n,r,s){const o=t&&t.routeConfig?t.routeConfig.canDeactivate:null;if(!o||0===o.length)return Object(i.a)(!0);const a=o.map(i=>{const o=an(i,t,s);let a;if(function(e){return e&&qt(e.canDeactivate)}(o))a=Ze(o.canDeactivate(e,t,n,r));else{if(!qt(o))throw new Error("Invalid CanDeactivate guard");a=Ze(o(e,t,n,r))}return a.pipe(Y())});return Object(i.a)(a).pipe(un())})(e.component,e.route,n,t,r)),Y(e=>!0!==e,!0))}(l,r,s,e).pipe(Object(X.a)(n=>n&&function(e){return"boolean"==typeof e}(n)?function(e,t,n,r){return Object(o.a)(t).pipe(Object(ce.a)(t=>Object(o.a)([dn(t.route.parent,r),hn(t.route,r),fn(e,t.path,n),pn(e,t.route,n)]).pipe(E(),Y(e=>!0!==e,!0))),Y(e=>!0!==e,!0))}(r,a,e,t):Object(i.a)(n)),Object(x.a)(e=>Object.assign({},n,{guardsResult:e})))}))}}(this.ngModule.injector,e=>this.triggerEvent(e)),D(e=>{if(Gt(e.guardsResult)){const t=Me(`Redirecting to "${this.serializeUrl(e.guardsResult)}"`);throw t.url=e.guardsResult,t}}),D(e=>{const t=new Ce(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot,!!e.guardsResult);this.triggerEvent(t)}),Object(O.a)(e=>{if(!e.guardsResult){this.resetUrlToCurrentUrlTree();const n=new be(e.id,this.serializeUrl(e.extractedUrl),"");return t.next(n),e.resolve(!1),!1}return!0}),En(e=>{if(e.guards.canActivateChecks.length)return Object(i.a)(e).pipe(D(e=>{const t=new xe(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);this.triggerEvent(t)}),function(e,t){return function(n){return n.pipe(Object(X.a)(n=>{const{targetSnapshot:r,guards:{canActivateChecks:s}}=n;return s.length?Object(o.a)(s).pipe(Object(ce.a)(n=>(function(e,t,n,r){return function(e,t,n,r){const s=Object.keys(e);if(0===s.length)return Object(i.a)({});if(1===s.length){const i=s[0];return Sn(e[i],t,n,r).pipe(Object(x.a)(e=>({[i]:e})))}const a={};return Object(o.a)(s).pipe(Object(X.a)(s=>Sn(e[s],t,n,r).pipe(Object(x.a)(e=>(a[s]=e,e))))).pipe(B(),Object(x.a)(()=>a))}(e._resolve,e,t,r).pipe(Object(x.a)(t=>(e._resolvedData=t,e.data=Object.assign({},e.data,St(e,n).resolve),null)))})(n.route,r,e,t)),function(e,t){return arguments.length>=2?function(n){return Object(ue.a)(oe(e,t),I(1),L(t))(n)}:function(t){return Object(ue.a)(oe((t,n,r)=>e(t,n,r+1)),I(1))(t)}}((e,t)=>e),Object(x.a)(e=>n)):Object(i.a)(n)}))}}(this.paramsInheritanceStrategy,this.ngModule.injector),D(e=>{const t=new Se(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);this.triggerEvent(t)}))}),En(e=>{const{targetSnapshot:t,id:n,extractedUrl:r,rawUrl:s,extras:{skipLocationChange:i,replaceUrl:o}}=e;return this.hooks.afterPreactivation(t,{navigationId:n,appliedUrlTree:r,rawUrlTree:s,skipLocationChange:!!i,replaceUrl:!!o})}),Object(x.a)(e=>{const t=function(e,t,n){const r=function e(t,n,r){if(r&&t.shouldReuseRoute(n.value,r.value.snapshot)){const s=r.value;s._futureSnapshot=n.value;const i=function(t,n,r){return n.children.map(n=>{for(const s of r.children)if(t.shouldReuseRoute(s.value.snapshot,n.value))return e(t,n,s);return e(t,n)})}(t,n,r);return new vt(s,i)}{const r=t.retrieve(n.value);if(r){const e=r.route;return function e(t,n){if(t.value.routeConfig!==n.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(t.children.length!==n.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");n.value._futureSnapshot=t.value;for(let r=0;r<t.children.length;++r)e(t.children[r],n.children[r])}(n,e),e}{const r=new xt(new c((s=n.value).url),new c(s.params),new c(s.queryParams),new c(s.fragment),new c(s.data),s.outlet,s.component,s),i=n.children.map(n=>e(t,n));return new vt(r,i)}}var s}(e,t._root,n?n._root:void 0);return new wt(r,t)}(this.routeReuseStrategy,e.targetSnapshot,e.currentRouterState);return Object.assign({},e,{targetRouterState:t})}),D(e=>{this.currentUrlTree=e.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e.rawUrl),this.routerState=e.targetRouterState,"deferred"===this.urlUpdateStrategy&&(e.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,!!e.extras.replaceUrl,e.id,e.extras.state),this.browserUrlTree=e.urlAfterRedirects)}),$t(this.rootContexts,this.routeReuseStrategy,e=>this.triggerEvent(e)),D({next(){n=!0},complete(){n=!0}}),function(e){return t=>t.lift(new de(e))}(()=>{if(!n&&!r){this.resetUrlToCurrentUrlTree();const n=new be(e.id,this.serializeUrl(e.extractedUrl),`Navigation ID ${e.id} is not equal to the current navigation id ${this.navigationId}`);t.next(n),e.resolve(!1)}this.currentNavigation=null}),G(n=>{if(r=!0,function(e){return e&&e[Ve]}(n)){const r=Gt(n.url);r||(this.navigated=!0,this.resetStateAndUrl(e.currentRouterState,e.currentUrlTree,e.rawUrl));const s=new be(e.id,this.serializeUrl(e.extractedUrl),n.message);t.next(s),e.resolve(!1),r&&this.navigateByUrl(n.url)}else{this.resetStateAndUrl(e.currentRouterState,e.currentUrlTree,e.rawUrl);const r=new ve(e.id,this.serializeUrl(e.extractedUrl),n);t.next(r);try{e.resolve(this.errorHandler(n))}catch(s){e.reject(s)}}return w.a}))}))}resetRootComponentType(e){this.rootComponentType=e,this.routerState.root.component=this.rootComponentType}getTransition(){const e=this.transitions.value;return e.urlAfterRedirects=this.browserUrlTree,e}setTransition(e){this.transitions.next(Object.assign({},this.getTransition(),e))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(e=>{let t=this.parseUrl(e.url);const n="popstate"===e.type?"popstate":"hashchange",r=e.state&&e.state.navigationId?e.state:null;setTimeout(()=>{this.scheduleNavigation(t,n,r,{replaceUrl:!0})},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(e){this.events.next(e)}resetConfig(e){Le(e),this.config=e.map(ze),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=null)}createUrlTree(e,t={}){const{relativeTo:n,queryParams:r,fragment:i,preserveQueryParams:o,queryParamsHandling:a,preserveFragment:l}=t;Object(s.T)()&&o&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead.");const c=n||this.routerState.root,u=l?this.currentUrlTree.fragment:i;let h=null;if(a)switch(a){case"merge":h=Object.assign({},this.currentUrlTree.queryParams,r);break;case"preserve":h=this.currentUrlTree.queryParams;break;default:h=r||null}else h=o?this.currentUrlTree.queryParams:r||null;return null!==h&&(h=this.removeEmptyProps(h)),function(e,t,n,r,s){if(0===n.length)return Nt(t.root,t.root,t,r,s);const i=function(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new jt(!0,0,e);let t=0,n=!1;const r=e.reduce((e,r,s)=>{if("object"==typeof r&&null!=r){if(r.outlets){const t={};return We(r.outlets,(e,n)=>{t[n]="string"==typeof e?e.split("/"):e}),[...e,{outlets:t}]}if(r.segmentPath)return[...e,r.segmentPath]}return"string"!=typeof r?[...e,r]:0===s?(r.split("/").forEach((r,s)=>{0==s&&"."===r||(0==s&&""===r?n=!0:".."===r?t++:""!=r&&e.push(r))}),e):[...e,r]},[]);return new jt(n,t,r)}(n);if(i.toRoot())return Nt(t.root,new Ke([],{}),t,r,s);const o=function(e,t,n){if(e.isAbsolute)return new Pt(t.root,!0,0);if(-1===n.snapshot._lastPathIndex)return new Pt(n.snapshot._urlSegment,!0,0);const r=Rt(e.commands[0])?0:1;return function(e,t,n){let r=e,s=t,i=n;for(;i>s;){if(i-=s,!(r=r.parent))throw new Error("Invalid number of '../'");s=r.segments.length}return new Pt(r,!1,s-i)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+r,e.numberOfDoubleDots)}(i,t,e),a=o.processChildren?Mt(o.segmentGroup,o.index,i.commands):Vt(o.segmentGroup,o.index,i.commands);return Nt(o.segmentGroup,a,t,r,s)}(c,this.currentUrlTree,e,h,u)}navigateByUrl(e,t={skipLocationChange:!1}){Object(s.T)()&&this.isNgZoneEnabled&&!s.x.isInAngularZone()&&this.console.warn("Navigation triggered outside Angular zone, did you forget to call 'ngZone.run()'?");const n=Gt(e)?e:this.parseUrl(e),r=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(r,"imperative",null,t)}navigate(e,t={skipLocationChange:!1}){return function(e){for(let t=0;t<e.length;t++){const n=e[t];if(null==n)throw new Error(`The requested path contains ${n} segment at index ${t}`)}}(e),this.navigateByUrl(this.createUrlTree(e,t),t)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){let t;try{t=this.urlSerializer.parse(e)}catch(n){t=this.malformedUriErrorHandler(n,this.urlSerializer,e)}return t}isActive(e,t){if(Gt(e))return Qe(this.currentUrlTree,e,t);const n=this.parseUrl(e);return Qe(this.currentUrlTree,n,t)}removeEmptyProps(e){return Object.keys(e).reduce((t,n)=>{const r=e[n];return null!=r&&(t[n]=r),t},{})}processNavigations(){this.navigations.subscribe(e=>{this.navigated=!0,this.lastSuccessfulId=e.id,this.events.next(new ye(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,this.currentNavigation=null,e.resolve(!0)},e=>{this.console.warn("Unhandled Navigation Error: ")})}scheduleNavigation(e,t,n,r){const s=this.getTransition();if(s&&"imperative"!==t&&"imperative"===s.source&&s.rawUrl.toString()===e.toString())return Promise.resolve(!0);if(s&&"hashchange"==t&&"popstate"===s.source&&s.rawUrl.toString()===e.toString())return Promise.resolve(!0);if(s&&"popstate"==t&&"hashchange"===s.source&&s.rawUrl.toString()===e.toString())return Promise.resolve(!0);let i=null,o=null;const a=new Promise((e,t)=>{i=e,o=t}),l=++this.navigationId;return this.setTransition({id:l,source:t,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:e,extras:r,resolve:i,reject:o,promise:a,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),a.catch(e=>Promise.reject(e))}setBrowserUrl(e,t,n,r){const s=this.urlSerializer.serialize(e);r=r||{},this.location.isCurrentPathEqualTo(s)||t?this.location.replaceState(s,"",Object.assign({},r,{navigationId:n})):this.location.go(s,"",Object.assign({},r,{navigationId:n}))}resetStateAndUrl(e,t,n){this.routerState=e,this.currentUrlTree=t,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n),this.resetUrlToCurrentUrlTree()}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",{navigationId:this.lastSuccessfulId})}}class Vn{constructor(e,t,n,r,s){this.router=e,this.route=t,this.commands=[],null==n&&r.setAttribute(s.nativeElement,"tabindex","0")}set routerLink(e){this.commands=null!=e?Array.isArray(e)?e:[e]:[]}set preserveQueryParams(e){Object(s.T)()&&console&&console.warn&&console.warn("preserveQueryParams is deprecated!, use queryParamsHandling instead."),this.preserve=e}onClick(){const e={skipLocationChange:Mn(this.skipLocationChange),replaceUrl:Mn(this.replaceUrl)};return this.router.navigateByUrl(this.urlTree,e),!0}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,preserveQueryParams:Mn(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:Mn(this.preserveFragment)})}}function Mn(e){return""===e||!!e}class Un{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new Fn,this.attachRef=null}}class Fn{constructor(){this.contexts=new Map}onChildOutletCreated(e,t){const n=this.getOrCreateContext(e);n.outlet=t,this.contexts.set(e,n)}onChildOutletDestroyed(e){const t=this.getContext(e);t&&(t.outlet=null)}onOutletDeactivated(){const e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let t=this.getContext(e);return t||(t=new Un,this.contexts.set(e,t)),t}getContext(e){return this.contexts.get(e)||null}}class Ln{constructor(e,t,n,r,i){this.parentContexts=e,this.location=t,this.resolver=n,this.changeDetector=i,this.activated=null,this._activatedRoute=null,this.activateEvents=new s.m,this.deactivateEvents=new s.m,this.name=r||je,e.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const e=this.parentContexts.getContext(this.name);e&&e.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.resolver||null))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();const e=this.activated;return this.activated=null,this._activatedRoute=null,e}attach(e,t){this.activated=e,this._activatedRoute=t,this.location.insert(e.hostView)}deactivate(){if(this.activated){const e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,t){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=e;const n=(t=t||this.resolver).resolveComponentFactory(e._futureSnapshot.routeConfig.component),r=this.parentContexts.getOrCreateContext(this.name).children,s=new Hn(e,r,this.location.injector);this.activated=this.location.createComponent(n,this.location.length,s),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}class Hn{constructor(e,t,n){this.route=e,this.childContexts=t,this.parent=n}get(e,t){return e===xt?this.route:e===Fn?this.childContexts:this.parent.get(e,t)}}class $n{}class zn{preload(e,t){return t().pipe(G(()=>Object(i.a)(null)))}}class Bn{preload(e,t){return Object(i.a)(null)}}class qn{constructor(e,t,n,r,s){this.router=e,this.injector=r,this.preloadingStrategy=s,this.loader=new kn(t,n,t=>e.triggerEvent(new Ee(t)),t=>e.triggerEvent(new Oe(t)))}setUpPreloading(){this.subscription=this.router.events.pipe(Object(O.a)(e=>e instanceof ye),Object(ce.a)(()=>this.preload())).subscribe(()=>{})}preload(){const e=this.injector.get(s.v);return this.processRoutes(e,this.router.config)}ngOnDestroy(){this.subscription.unsubscribe()}processRoutes(e,t){const n=[];for(const r of t)if(r.loadChildren&&!r.canLoad&&r._loadedConfig){const e=r._loadedConfig;n.push(this.processRoutes(e.module,e.routes))}else r.loadChildren&&!r.canLoad?n.push(this.preloadConfig(e,r)):r.children&&n.push(this.processRoutes(e,r.children));return Object(o.a)(n).pipe(Object(S.a)(),Object(x.a)(e=>void 0))}preloadConfig(e,t){return this.preloadingStrategy.preload(t,()=>this.loader.load(e.injector,t).pipe(Object(X.a)(e=>(t._loadedConfig=e,this.processRoutes(e.module,e.routes)))))}}class Gn{constructor(e,t,n={}){this.router=e,this.viewportScroller=t,this.options=n,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},n.scrollPositionRestoration=n.scrollPositionRestoration||"disabled",n.anchorScrolling=n.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(e=>{e instanceof me?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof ye&&(this.lastId=e.id,this.scheduleScrollEvent(e,this.router.parseUrl(e.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(e=>{e instanceof Re&&(e.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(e.position):e.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(e.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(e,t){this.router.triggerEvent(new Re(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,t))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}const Wn=new s.o("ROUTER_CONFIGURATION"),Zn=new s.o("ROUTER_FORROOT_GUARD"),Qn=[r.g,{provide:tt,useClass:nt},{provide:Dn,useFactory:nr,deps:[s.g,tt,Fn,r.g,s.p,s.u,s.i,An,Wn,[In,new s.y],[On,new s.y]]},Fn,{provide:xt,useFactory:rr,deps:[Dn]},{provide:s.u,useClass:s.H},qn,Bn,zn,{provide:Wn,useValue:{enableTracing:!1}}];function Jn(){return new s.w("Router",Dn)}class Kn{constructor(e,t){}static forRoot(e,t){return{ngModule:Kn,providers:[Qn,tr(e),{provide:Zn,useFactory:er,deps:[[Dn,new s.y,new s.G]]},{provide:Wn,useValue:t||{}},{provide:r.h,useFactory:Xn,deps:[r.m,[new s.n(r.a),new s.y],Wn]},{provide:Gn,useFactory:Yn,deps:[Dn,r.n,Wn]},{provide:$n,useExisting:t&&t.preloadingStrategy?t.preloadingStrategy:Bn},{provide:s.w,multi:!0,useFactory:Jn},[sr,{provide:s.d,multi:!0,useFactory:ir,deps:[sr]},{provide:ar,useFactory:or,deps:[sr]},{provide:s.b,multi:!0,useExisting:ar}]]}}static forChild(e){return{ngModule:Kn,providers:[tr(e)]}}}function Yn(e,t,n){return n.scrollOffset&&t.setOffset(n.scrollOffset),new Gn(e,t,n)}function Xn(e,t,n={}){return n.useHash?new r.e(e,t):new r.l(e,t)}function er(e){if(e)throw new Error("RouterModule.forRoot() called twice. Lazy loaded modules should use RouterModule.forChild() instead.");return"guarded"}function tr(e){return[{provide:s.a,multi:!0,useValue:e},{provide:An,multi:!0,useValue:e}]}function nr(e,t,n,r,s,i,o,a,l={},c,u){const h=new Dn(null,t,n,r,s,i,o,qe(a));if(c&&(h.urlHandlingStrategy=c),u&&(h.routeReuseStrategy=u),l.errorHandler&&(h.errorHandler=l.errorHandler),l.malformedUriErrorHandler&&(h.malformedUriErrorHandler=l.malformedUriErrorHandler),l.enableTracing){const e=Object(fe.t)();h.events.subscribe(t=>{e.logGroup(`Router Event: ${t.constructor.name}`),e.log(t.toString()),e.log(t),e.logGroupEnd()})}return l.onSameUrlNavigation&&(h.onSameUrlNavigation=l.onSameUrlNavigation),l.paramsInheritanceStrategy&&(h.paramsInheritanceStrategy=l.paramsInheritanceStrategy),l.urlUpdateStrategy&&(h.urlUpdateStrategy=l.urlUpdateStrategy),l.relativeLinkResolution&&(h.relativeLinkResolution=l.relativeLinkResolution),h}function rr(e){return e.routerState.root}class sr{constructor(e){this.injector=e,this.initNavigation=!1,this.resultOfPreactivationDone=new a.a}appInitializer(){return this.injector.get(r.f,Promise.resolve(null)).then(()=>{let e=null;const t=new Promise(t=>e=t),n=this.injector.get(Dn),r=this.injector.get(Wn);if(this.isLegacyDisabled(r)||this.isLegacyEnabled(r))e(!0);else if("disabled"===r.initialNavigation)n.setUpLocationChangeListener(),e(!0);else{if("enabled"!==r.initialNavigation)throw new Error(`Invalid initialNavigation options: '${r.initialNavigation}'`);n.hooks.afterPreactivation=()=>this.initNavigation?Object(i.a)(null):(this.initNavigation=!0,e(!0),this.resultOfPreactivationDone),n.initialNavigation()}return t})}bootstrapListener(e){const t=this.injector.get(Wn),n=this.injector.get(qn),r=this.injector.get(Gn),i=this.injector.get(Dn),o=this.injector.get(s.g);e===o.components[0]&&(this.isLegacyEnabled(t)?i.initialNavigation():this.isLegacyDisabled(t)&&i.setUpLocationChangeListener(),n.setUpPreloading(),r.init(),i.resetRootComponentType(o.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}isLegacyEnabled(e){return"legacy_enabled"===e.initialNavigation||!0===e.initialNavigation||void 0===e.initialNavigation}isLegacyDisabled(e){return"legacy_disabled"===e.initialNavigation||!1===e.initialNavigation}}function ir(e){return e.appInitializer.bind(e)}function or(e){return e.bootstrapListener.bind(e)}const ar=new s.o("Router Initializer")},kJWO:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));const r="function"==typeof Symbol&&Symbol.observable||"@@observable"},l207:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));const r="JwtKey"},l7GE:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n("7o/Q");class s extends r.a{notifyNext(e,t,n,r,s){this.destination.next(t)}notifyError(e,t){this.destination.error(e)}notifyComplete(e){this.destination.complete()}}},lJxs:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n("7o/Q");function s(e,t){return function(n){if("function"!=typeof e)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new i(e,t))}}class i{constructor(e,t){this.project=e,this.thisArg=t}call(e,t){return t.subscribe(new o(e,this.project,this.thisArg))}}class o extends r.a{constructor(e,t,n){super(e),this.project=t,this.count=0,this.thisArg=n||this}_next(e){let t;try{t=this.project.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(t)}}},mCNh:function(e,t,n){"use strict";n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return i}));var r=n("KqfI");function s(...e){return i(e)}function i(e){return e?1===e.length?e[0]:function(t){return e.reduce((e,t)=>t(e),t)}:r.a}},n6bG:function(e,t,n){"use strict";function r(e){return"function"==typeof e}n.d(t,"a",(function(){return r}))},ngJS:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));const r=e=>t=>{for(let n=0,r=e.length;n<r&&!t.closed;n++)t.next(e[n]);t.closed||t.complete()}},pLZG:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n("7o/Q");function s(e,t){return function(n){return n.lift(new i(e,t))}}class i{constructor(e,t){this.predicate=e,this.thisArg=t}call(e,t){return t.subscribe(new o(e,this.predicate,this.thisArg))}}class o extends r.a{constructor(e,t,n){super(e),this.predicate=t,this.thisArg=n,this.count=0}_next(e){let t;try{t=this.predicate.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}t&&this.destination.next(e)}}},pLzU:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n("Lhse");const s=e=>t=>{const n=e[r.a]();for(;;){const e=n.next();if(e.done){t.complete();break}if(t.next(e.value),t.closed)break}return"function"==typeof n.return&&t.add(()=>{n.return&&n.return()}),t}},pMnS:function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r=n("8Y7J"),s=n("iInd"),i=r.mb({encapsulation:2,styles:[],data:{}});function o(e){return r.Gb(0,[(e()(),r.ob(0,16777216,null,null,1,"router-outlet",[],null,null,null,null,null)),r.nb(1,212992,null,0,s.n,[s.b,r.M,r.j,[8,null],r.h],null,null)],(function(e,t){e(t,1,0)}),null)}function a(e){return r.Gb(0,[(e()(),r.ob(0,0,null,null,1,"ng-component",[],null,null,null,o,i)),r.nb(1,49152,null,0,s.B,[],null,null)],null,null)}var l=r.kb("ng-component",s.B,a,{},{},[])},quSY:function(e,t,n){"use strict";var r=n("DH7j"),s=n("XoHu"),i=n("n6bG");function o(e){return Error.call(this),this.message=e?`${e.length} errors occurred during unsubscription:\n${e.map((e,t)=>`${t+1}) ${e.toString()}`).join("\n  ")}`:"",this.name="UnsubscriptionError",this.errors=e,this}o.prototype=Object.create(Error.prototype);const a=o;n.d(t,"a",(function(){return l}));let l=(()=>{class e{constructor(e){this.closed=!1,this._parent=null,this._parents=null,this._subscriptions=null,e&&(this._unsubscribe=e)}unsubscribe(){let e,t=!1;if(this.closed)return;let{_parent:n,_parents:o,_unsubscribe:l,_subscriptions:u}=this;this.closed=!0,this._parent=null,this._parents=null,this._subscriptions=null;let h=-1,d=o?o.length:0;for(;n;)n.remove(this),n=++h<d&&o[h]||null;if(Object(i.a)(l))try{l.call(this)}catch(p){t=!0,e=p instanceof a?c(p.errors):[p]}if(Object(r.a)(u))for(h=-1,d=u.length;++h<d;){const n=u[h];if(Object(s.a)(n))try{n.unsubscribe()}catch(p){t=!0,e=e||[],p instanceof a?e=e.concat(c(p.errors)):e.push(p)}}if(t)throw new a(e)}add(t){let n=t;switch(typeof t){case"function":n=new e(t);case"object":if(n===this||n.closed||"function"!=typeof n.unsubscribe)return n;if(this.closed)return n.unsubscribe(),n;if(!(n instanceof e)){const t=n;(n=new e)._subscriptions=[t]}break;default:if(!t)return e.EMPTY;throw new Error("unrecognized teardown "+t+" added to Subscription.")}if(n._addParent(this)){const e=this._subscriptions;e?e.push(n):this._subscriptions=[n]}return n}remove(e){const t=this._subscriptions;if(t){const n=t.indexOf(e);-1!==n&&t.splice(n,1)}}_addParent(e){let{_parent:t,_parents:n}=this;return t!==e&&(t?n?-1===n.indexOf(e)&&(n.push(e),!0):(this._parents=[e],!0):(this._parent=e,!0))}}return e.EMPTY=function(e){return e.closed=!0,e}(new e),e})();function c(e){return e.reduce((e,t)=>e.concat(t instanceof a?t.errors:t),[])}},s7LF:function(e,t,n){"use strict";var r=n("8Y7J"),s=n("cUpR"),i=n("HDdC"),o=n("DH7j"),a=n("EY2u"),l=n("ZUHj"),c=n("l7GE"),u=n("lJxs");class h extends c.a{constructor(e,t){super(e),this.sources=t,this.completed=0,this.haveValues=0;const n=t.length;this.values=new Array(n);for(let r=0;r<n;r++){const e=t[r],n=Object(l.a)(this,e,null,r);n&&this.add(n)}}notifyNext(e,t,n,r,s){this.values[n]=t,s._hasValue||(s._hasValue=!0,this.haveValues++)}notifyComplete(e){const{destination:t,haveValues:n,values:r}=this,s=r.length;e._hasValue?(this.completed++,this.completed===s&&(n===s&&t.next(r),t.complete())):t.complete()}}var d=n("Cfvw");n.d(t,"p",(function(){return ce})),n.d(t,"s",(function(){return ne})),n.d(t,"q",(function(){return R})),n.d(t,"r",(function(){return re})),n.d(t,"b",(function(){return y})),n.d(t,"j",(function(){return p})),n.d(t,"a",(function(){return f})),n.d(t,"c",(function(){return g})),n.d(t,"k",(function(){return v})),n.d(t,"l",(function(){return w})),n.d(t,"m",(function(){return C})),n.d(t,"f",(function(){return le})),n.d(t,"h",(function(){return se})),n.d(t,"d",(function(){return ue})),n.d(t,"e",(function(){return K})),n.d(t,"g",(function(){return Y})),n.d(t,"o",(function(){return E})),n.d(t,"i",(function(){return he})),n.d(t,"n",(function(){return de}));const p=new r.o("NgValueAccessor"),f=new r.o("CompositionEventMode");class g{constructor(e,t,n){this._renderer=e,this._elementRef=t,this._compositionMode=n,this.onChange=e=>{},this.onTouched=()=>{},this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function(){const e=Object(s.t)()?Object(s.t)().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==e?"":e)}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}}class m{get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}reset(e){this.control&&this.control.reset(e)}hasError(e,t){return!!this.control&&this.control.hasError(e,t)}getError(e,t){return this.control?this.control.getError(e,t):null}}class y extends m{get formDirective(){return null}get path(){return null}}function b(){throw new Error("unimplemented")}class v extends m{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null,this._rawValidators=[],this._rawAsyncValidators=[]}get validator(){return b()}get asyncValidator(){return b()}}class _{constructor(e){this._cd=e}get ngClassUntouched(){return!!this._cd.control&&this._cd.control.untouched}get ngClassTouched(){return!!this._cd.control&&this._cd.control.touched}get ngClassPristine(){return!!this._cd.control&&this._cd.control.pristine}get ngClassDirty(){return!!this._cd.control&&this._cd.control.dirty}get ngClassValid(){return!!this._cd.control&&this._cd.control.valid}get ngClassInvalid(){return!!this._cd.control&&this._cd.control.invalid}get ngClassPending(){return!!this._cd.control&&this._cd.control.pending}}class w extends _{constructor(e){super(e)}}class C extends _{constructor(e){super(e)}}function x(e){return null==e||0===e.length}const S=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class E{static min(e){return t=>{if(x(t.value)||x(e))return null;const n=parseFloat(t.value);return!isNaN(n)&&n<e?{min:{min:e,actual:t.value}}:null}}static max(e){return t=>{if(x(t.value)||x(e))return null;const n=parseFloat(t.value);return!isNaN(n)&&n>e?{max:{max:e,actual:t.value}}:null}}static required(e){return x(e.value)?{required:!0}:null}static requiredTrue(e){return!0===e.value?null:{required:!0}}static email(e){return x(e.value)?null:S.test(e.value)?null:{email:!0}}static minLength(e){return t=>{if(x(t.value))return null;const n=t.value?t.value.length:0;return n<e?{minlength:{requiredLength:e,actualLength:n}}:null}}static maxLength(e){return t=>{const n=t.value?t.value.length:0;return n>e?{maxlength:{requiredLength:e,actualLength:n}}:null}}static pattern(e){if(!e)return E.nullValidator;let t,n;return"string"==typeof e?(n="","^"!==e.charAt(0)&&(n+="^"),n+=e,"$"!==e.charAt(e.length-1)&&(n+="$"),t=new RegExp(n)):(n=e.toString(),t=e),e=>{if(x(e.value))return null;const r=e.value;return t.test(r)?null:{pattern:{requiredPattern:n,actualValue:r}}}}static nullValidator(e){return null}static compose(e){if(!e)return null;const t=e.filter(O);return 0==t.length?null:function(e){return A(function(e,t){return t.map(t=>t(e))}(e,t))}}static composeAsync(e){if(!e)return null;const t=e.filter(O);return 0==t.length?null:function(e){return function e(...t){let n;return"function"==typeof t[t.length-1]&&(n=t.pop()),1===t.length&&Object(o.a)(t[0])&&(t=t[0]),0===t.length?a.a:n?e(t).pipe(Object(u.a)(e=>n(...e))):new i.a(e=>new h(e,t))}(function(e,t){return t.map(t=>t(e))}(e,t).map(T)).pipe(Object(u.a)(A))}}}function O(e){return null!=e}function T(e){const t=Object(r.ub)(e)?Object(d.a)(e):e;if(!Object(r.tb)(t))throw new Error("Expected validator to return Promise or Observable.");return t}function A(e){const t=e.reduce((e,t)=>null!=t?Object.assign({},e,t):e,{});return 0===Object.keys(t).length?null:t}function k(e){return e.validate?t=>e.validate(t):e}function I(e){return e.validate?t=>e.validate(t):e}class R{constructor(){this._accessors=[]}add(e,t){this._accessors.push([e,t])}remove(e){for(let t=this._accessors.length-1;t>=0;--t)if(this._accessors[t][1]===e)return void this._accessors.splice(t,1)}select(e){this._accessors.forEach(t=>{this._isSameGroup(t,e)&&t[1]!==e&&t[1].fireUncheck(e.value)})}_isSameGroup(e,t){return!!e[0].control&&e[0]._parent===t._control._parent&&e[1].name===t.name}}const N={formControlName:'\n    <div [formGroup]="myGroup">\n      <input formControlName="firstName">\n    </div>\n\n    In your class:\n\n    this.myGroup = new FormGroup({\n       firstName: new FormControl()\n    });',formGroupName:'\n    <div [formGroup]="myGroup">\n       <div formGroupName="person">\n          <input formControlName="firstName">\n       </div>\n    </div>\n\n    In your class:\n\n    this.myGroup = new FormGroup({\n       person: new FormGroup({ firstName: new FormControl() })\n    });',formArrayName:'\n    <div [formGroup]="myGroup">\n      <div formArrayName="cities">\n        <div *ngFor="let city of cityArray.controls; index as i">\n          <input [formControlName]="i">\n        </div>\n      </div>\n    </div>\n\n    In your class:\n\n    this.cityArray = new FormArray([new FormControl(\'SF\')]);\n    this.myGroup = new FormGroup({\n      cities: this.cityArray\n    });',ngModelGroup:'\n    <form>\n       <div ngModelGroup="person">\n          <input [(ngModel)]="person.name" name="firstName">\n       </div>\n    </form>',ngModelWithFormGroup:'\n    <div [formGroup]="myGroup">\n       <input formControlName="firstName">\n       <input [(ngModel)]="showMoreControls" [ngModelOptions]="{standalone: true}">\n    </div>\n  '};class j{static controlParentException(){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      ${N.formControlName}`)}static ngModelGroupException(){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        ${N.formGroupName}\n\n        Option 2: Use ngModel instead of formControlName (template-driven strategy)\n\n        ${N.ngModelGroup}`)}static missingFormException(){throw new Error(`formGroup expects a FormGroup instance. Please pass one in.\n\n       Example:\n\n       ${N.formControlName}`)}static groupParentException(){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      ${N.formGroupName}`)}static arrayParentException(){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.formArrayName}`)}static disabledAttrWarning(){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    ")}static ngModelWarning(e){console.warn(`\n    It looks like you're using ngModel on the same form field as ${e}. \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"===e?"FormControlDirective":"FormControlName"}#use-with-ngmodel\n    `)}}function P(e,t){return[...t.path,e]}function D(e,t){e||F(t,"Cannot find control with"),t.valueAccessor||F(t,"No value accessor for form control with"),e.validator=E.compose([e.validator,t.validator]),e.asyncValidator=E.composeAsync([e.asyncValidator,t.asyncValidator]),t.valueAccessor.writeValue(e.value),function(e,t){t.valueAccessor.registerOnChange(n=>{e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&V(e,t)})}(e,t),function(e,t){e.registerOnChange((e,n)=>{t.valueAccessor.writeValue(e),n&&t.viewToModelUpdate(e)})}(e,t),function(e,t){t.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&V(e,t),"submit"!==e.updateOn&&e.markAsTouched()})}(e,t),t.valueAccessor.setDisabledState&&e.registerOnDisabledChange(e=>{t.valueAccessor.setDisabledState(e)}),t._rawValidators.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(()=>e.updateValueAndValidity())}),t._rawAsyncValidators.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(()=>e.updateValueAndValidity())})}function V(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function M(e,t){null==e&&F(t,"Cannot find control with"),e.validator=E.compose([e.validator,t.validator]),e.asyncValidator=E.composeAsync([e.asyncValidator,t.asyncValidator])}function U(e){return F(e,"There is no FormControl instance attached to form control element with")}function F(e,t){let n;throw n=e.path.length>1?`path: '${e.path.join(" -> ")}'`:e.path[0]?`name: '${e.path}'`:"unspecified name attribute",new Error(`${t} ${n}`)}function L(e){return null!=e?E.compose(e.map(k)):null}function H(e){return null!=e?E.composeAsync(e.map(I)):null}const $=[class{constructor(e,t){this._renderer=e,this._elementRef=t,this.onChange=e=>{},this.onTouched=()=>{}}writeValue(e){this._renderer.setProperty(this._elementRef.nativeElement,"checked",e)}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}},class{constructor(e,t){this._renderer=e,this._elementRef=t,this.onChange=e=>{},this.onTouched=()=>{}}writeValue(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",parseFloat(e))}registerOnChange(e){this.onChange=t=>{e(""==t?null:parseFloat(t))}}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}},class{constructor(e,t){this._renderer=e,this._elementRef=t,this.onChange=e=>{},this.onTouched=()=>{}}writeValue(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==e?"":e)}registerOnChange(e){this.onChange=t=>{e(""==t?null:parseFloat(t))}}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}},class{constructor(e,t){this._renderer=e,this._elementRef=t,this._optionMap=new Map,this._idCounter=0,this.onChange=e=>{},this.onTouched=()=>{},this._compareWith=r.vb}set compareWith(e){if("function"!=typeof e)throw new Error(`compareWith must be a function, but received ${JSON.stringify(e)}`);this._compareWith=e}writeValue(e){this.value=e;const t=this._getOptionId(e);null==t&&this._renderer.setProperty(this._elementRef.nativeElement,"selectedIndex",-1);const n=function(e,t){return null==e?`${t}`:(t&&"object"==typeof t&&(t="Object"),`${e}: ${t}`.slice(0,50))}(t,e);this._renderer.setProperty(this._elementRef.nativeElement,"value",n)}registerOnChange(e){this.onChange=t=>{this.value=this._getOptionValue(t),e(this.value)}}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}_registerOption(){return(this._idCounter++).toString()}_getOptionId(e){for(const t of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(t),e))return t;return null}_getOptionValue(e){const t=function(e){return e.split(":")[0]}(e);return this._optionMap.has(t)?this._optionMap.get(t):e}},class{constructor(e,t){this._renderer=e,this._elementRef=t,this._optionMap=new Map,this._idCounter=0,this.onChange=e=>{},this.onTouched=()=>{},this._compareWith=r.vb}set compareWith(e){if("function"!=typeof e)throw new Error(`compareWith must be a function, but received ${JSON.stringify(e)}`);this._compareWith=e}writeValue(e){let t;if(this.value=e,Array.isArray(e)){const n=e.map(e=>this._getOptionId(e));t=(e,t)=>{e._setSelected(n.indexOf(t.toString())>-1)}}else t=(e,t)=>{e._setSelected(!1)};this._optionMap.forEach(t)}registerOnChange(e){this.onChange=t=>{const n=[];if(t.hasOwnProperty("selectedOptions")){const e=t.selectedOptions;for(let t=0;t<e.length;t++){const r=e.item(t),s=this._getOptionValue(r.value);n.push(s)}}else{const e=t.options;for(let t=0;t<e.length;t++){const r=e.item(t);if(r.selected){const e=this._getOptionValue(r.value);n.push(e)}}}this.value=n,e(n)}}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}_registerOption(e){const t=(this._idCounter++).toString();return this._optionMap.set(t,e),t}_getOptionId(e){for(const t of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(t)._value,e))return t;return null}_getOptionValue(e){const t=function(e){return e.split(":")[0]}(e);return this._optionMap.has(t)?this._optionMap.get(t)._value:e}},class{constructor(e,t,n,r){this._renderer=e,this._elementRef=t,this._registry=n,this._injector=r,this.onChange=()=>{},this.onTouched=()=>{}}ngOnInit(){this._control=this._injector.get(v),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(e){this._state=e===this.value,this._renderer.setProperty(this._elementRef.nativeElement,"checked",this._state)}registerOnChange(e){this._fn=e,this.onChange=()=>{e(this.value),this._registry.select(this)}}fireUncheck(e){this.writeValue(e)}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}_checkName(){this.name&&this.formControlName&&this.name!==this.formControlName&&this._throwNameError(),!this.name&&this.formControlName&&(this.name=this.formControlName)}_throwNameError(){throw new Error('\n      If you define both a name and a formControlName attribute on your radio button, their values\n      must match. Ex: <input type="radio" formControlName="food" name="food">\n    ')}}],z="VALID",B="INVALID",q="PENDING",G="DISABLED";function W(e){const t=Q(e)?e.validators:e;return Array.isArray(t)?L(t):t||null}function Z(e,t){const n=Q(t)?t.asyncValidators:e;return Array.isArray(n)?H(n):n||null}function Q(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}class J{constructor(e,t){this.validator=e,this.asyncValidator=t,this._onCollectionChange=()=>{},this.pristine=!0,this.touched=!1,this._onDisabledChange=[]}get parent(){return this._parent}get valid(){return this.status===z}get invalid(){return this.status===B}get pending(){return this.status==q}get disabled(){return this.status===G}get enabled(){return this.status!==G}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(e){this.validator=W(e)}setAsyncValidators(e){this.asyncValidator=Z(e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){this.touched=!0,this._parent&&!e.onlySelf&&this._parent.markAsTouched(e)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(e=>e.markAllAsTouched())}markAsUntouched(e={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(e=>{e.markAsUntouched({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}markAsDirty(e={}){this.pristine=!1,this._parent&&!e.onlySelf&&this._parent.markAsDirty(e)}markAsPristine(e={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(e=>{e.markAsPristine({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}markAsPending(e={}){this.status=q,!1!==e.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)}disable(e={}){const t=this._parentMarkedDirty(e.onlySelf);this.status=G,this.errors=null,this._forEachChild(t=>{t.disable(Object.assign({},e,{onlySelf:!0}))}),this._updateValue(),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign({},e,{skipPristineCheck:t})),this._onDisabledChange.forEach(e=>e(!0))}enable(e={}){const t=this._parentMarkedDirty(e.onlySelf);this.status=z,this._forEachChild(t=>{t.enable(Object.assign({},e,{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(Object.assign({},e,{skipPristineCheck:t})),this._onDisabledChange.forEach(e=>e(!1))}_updateAncestors(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(e){this._parent=e}updateValueAndValidity(e={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),this.status!==z&&this.status!==q||this._runAsyncValidator(e.emitEvent)),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(e)}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?G:z}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e){if(this.asyncValidator){this.status=q;const t=T(this.asyncValidator(this));this._asyncValidationSubscription=t.subscribe(t=>this.setErrors(t,{emitEvent:e}))}}_cancelExistingSubscription(){this._asyncValidationSubscription&&this._asyncValidationSubscription.unsubscribe()}setErrors(e,t={}){this.errors=e,this._updateControlsErrors(!1!==t.emitEvent)}get(e){return function(e,t,n){return null==t?null:(t instanceof Array||(t=t.split(".")),t instanceof Array&&0===t.length?null:t.reduce((e,t)=>e instanceof Y?e.controls.hasOwnProperty(t)?e.controls[t]:null:e instanceof X&&e.at(t)||null,e))}(this,e)}getError(e,t){const n=t?this.get(t):this;return n&&n.errors?n.errors[e]:null}hasError(e,t){return!!this.getError(e,t)}get root(){let e=this;for(;e._parent;)e=e._parent;return e}_updateControlsErrors(e){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(e)}_initObservables(){this.valueChanges=new r.m,this.statusChanges=new r.m}_calculateStatus(){return this._allControlsDisabled()?G:this.errors?B:this._anyControlsHaveStatus(q)?q:this._anyControlsHaveStatus(B)?B:z}_anyControlsHaveStatus(e){return this._anyControls(t=>t.status===e)}_anyControlsDirty(){return this._anyControls(e=>e.dirty)}_anyControlsTouched(){return this._anyControls(e=>e.touched)}_updatePristine(e={}){this.pristine=!this._anyControlsDirty(),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}_updateTouched(e={}){this.touched=this._anyControlsTouched(),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}_isBoxedValue(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){Q(e)&&null!=e.updateOn&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){return!e&&this._parent&&this._parent.dirty&&!this._parent._anyControlsDirty()}}class K extends J{constructor(e=null,t,n){super(W(t),Z(n,t)),this._onChange=[],this._applyFormState(e),this._setUpdateStrategy(t),this.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),this._initObservables()}setValue(e,t={}){this.value=this._pendingValue=e,this._onChange.length&&!1!==t.emitModelToViewChange&&this._onChange.forEach(e=>e(this.value,!1!==t.emitViewToModelChange)),this.updateValueAndValidity(t)}patchValue(e,t={}){this.setValue(e,t)}reset(e=null,t={}){this._applyFormState(e),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(e){this._onChange.push(e)}_clearChangeFns(){this._onChange=[],this._onDisabledChange=[],this._onCollectionChange=()=>{}}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_forEachChild(e){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(e){this._isBoxedValue(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}}class Y extends J{constructor(e,t,n){super(W(t),Z(n,t)),this.controls=e,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!1})}registerControl(e,t){return this.controls[e]?this.controls[e]:(this.controls[e]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}addControl(e,t){this.registerControl(e,t),this.updateValueAndValidity(),this._onCollectionChange()}removeControl(e){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],this.updateValueAndValidity(),this._onCollectionChange()}setControl(e,t){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],t&&this.registerControl(e,t),this.updateValueAndValidity(),this._onCollectionChange()}contains(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}setValue(e,t={}){this._checkAllValuesPresent(e),Object.keys(e).forEach(n=>{this._throwIfControlMissing(n),this.controls[n].setValue(e[n],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(e,t={}){Object.keys(e).forEach(n=>{this.controls[n]&&this.controls[n].patchValue(e[n],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}reset(e={},t={}){this._forEachChild((n,r)=>{n.reset(e[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this._reduceChildren({},(e,t,n)=>(e[n]=t instanceof K?t.value:t.getRawValue(),e))}_syncPendingControls(){let e=this._reduceChildren(!1,(e,t)=>!!t._syncPendingControls()||e);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_throwIfControlMissing(e){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[e])throw new Error(`Cannot find form control with name: ${e}.`)}_forEachChild(e){Object.keys(this.controls).forEach(t=>e(this.controls[t],t))}_setUpControls(){this._forEachChild(e=>{e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(e){let t=!1;return this._forEachChild((n,r)=>{t=t||this.contains(r)&&e(n)}),t}_reduceValue(){return this._reduceChildren({},(e,t,n)=>((t.enabled||this.disabled)&&(e[n]=t.value),e))}_reduceChildren(e,t){let n=e;return this._forEachChild((e,r)=>{n=t(n,e,r)}),n}_allControlsDisabled(){for(const e of Object.keys(this.controls))if(this.controls[e].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_checkAllValuesPresent(e){this._forEachChild((t,n)=>{if(void 0===e[n])throw new Error(`Must supply a value for form control with name: '${n}'.`)})}}class X extends J{constructor(e,t,n){super(W(t),Z(n,t)),this.controls=e,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!1})}at(e){return this.controls[e]}push(e){this.controls.push(e),this._registerControl(e),this.updateValueAndValidity(),this._onCollectionChange()}insert(e,t){this.controls.splice(e,0,t),this._registerControl(t),this.updateValueAndValidity()}removeAt(e){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),this.controls.splice(e,1),this.updateValueAndValidity()}setControl(e,t){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),this.controls.splice(e,1),t&&(this.controls.splice(e,0,t),this._registerControl(t)),this.updateValueAndValidity(),this._onCollectionChange()}get length(){return this.controls.length}setValue(e,t={}){this._checkAllValuesPresent(e),e.forEach((e,n)=>{this._throwIfControlMissing(n),this.at(n).setValue(e,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(e,t={}){e.forEach((e,n)=>{this.at(n)&&this.at(n).patchValue(e,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}reset(e=[],t={}){this._forEachChild((n,r)=>{n.reset(e[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this.controls.map(e=>e instanceof K?e.value:e.getRawValue())}clear(){this.controls.length<1||(this._forEachChild(e=>e._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity())}_syncPendingControls(){let e=this.controls.reduce((e,t)=>!!t._syncPendingControls()||e,!1);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_throwIfControlMissing(e){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(e))throw new Error(`Cannot find form control at index ${e}`)}_forEachChild(e){this.controls.forEach((t,n)=>{e(t,n)})}_updateValue(){this.value=this.controls.filter(e=>e.enabled||this.disabled).map(e=>e.value)}_anyControls(e){return this.controls.some(t=>t.enabled&&e(t))}_setUpControls(){this._forEachChild(e=>this._registerControl(e))}_checkAllValuesPresent(e){this._forEachChild((t,n)=>{if(void 0===e[n])throw new Error(`Must supply a value for form control at index: ${n}.`)})}_allControlsDisabled(){for(const e of this.controls)if(e.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(e){e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)}}const ee=new r.o("NgFormSelectorWarning");class te extends y{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return P(this.name,this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}get validator(){return L(this._validators)}get asyncValidator(){return H(this._asyncValidators)}_checkParentType(){}}class ne{}const re=new r.o("NgModelWithFormControlWarning");class se extends y{constructor(e,t){super(),this._validators=e,this._asyncValidators=t,this.submitted=!1,this.directives=[],this.form=null,this.ngSubmit=new r.m}ngOnChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations())}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){const t=this.form.get(e.path);return D(t,e),t.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),t}getControl(e){return this.form.get(e.path)}removeControl(e){!function(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}(this.directives,e)}addFormGroup(e){const t=this.form.get(e.path);M(t,e),t.updateValueAndValidity({emitEvent:!1})}removeFormGroup(e){}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){const t=this.form.get(e.path);M(t,e),t.updateValueAndValidity({emitEvent:!1})}removeFormArray(e){}getFormArray(e){return this.form.get(e.path)}updateModel(e,t){this.form.get(e.path).setValue(t)}onSubmit(e){return this.submitted=!0,t=this.directives,this.form._syncPendingControls(),t.forEach(e=>{const t=e.control;"submit"===t.updateOn&&t._pendingChange&&(e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)}),this.ngSubmit.emit(e),!1;var t}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_updateDomValue(){this.directives.forEach(e=>{const t=this.form.get(e.path);e.control!==t&&(function(e,t){t.valueAccessor.registerOnChange(()=>U(t)),t.valueAccessor.registerOnTouched(()=>U(t)),t._rawValidators.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(null)}),t._rawAsyncValidators.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(null)}),e&&e._clearChangeFns()}(e.control,e),t&&D(t,e),e.control=t)}),this.form._updateTreeValidity({emitEvent:!1})}_updateRegistrations(){this.form._registerOnCollectionChange(()=>this._updateDomValue()),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{}),this._oldForm=this.form}_updateValidators(){const e=L(this._validators);this.form.validator=E.compose([this.form.validator,e]);const t=H(this._asyncValidators);this.form.asyncValidator=E.composeAsync([this.form.asyncValidator,t])}_checkFormPresent(){this.form||j.missingFormException()}}class ie extends te{constructor(e,t,n){super(),this._parent=e,this._validators=t,this._asyncValidators=n}_checkParentType(){ae(this._parent)&&j.groupParentException()}}class oe extends y{constructor(e,t,n){super(),this._parent=e,this._validators=t,this._asyncValidators=n}ngOnInit(){this._checkParentType(),this.formDirective.addFormArray(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormArray(this)}get control(){return this.formDirective.getFormArray(this)}get formDirective(){return this._parent?this._parent.formDirective:null}get path(){return P(this.name,this._parent)}get validator(){return L(this._validators)}get asyncValidator(){return H(this._asyncValidators)}_checkParentType(){ae(this._parent)&&j.arrayParentException()}}function ae(e){return!(e instanceof ie||e instanceof se||e instanceof oe)}let le=(()=>{class e extends v{constructor(e,t,n,s,i){super(),this._ngModelWarningConfig=i,this._added=!1,this.update=new r.m,this._ngModelWarningSent=!1,this._parent=e,this._rawValidators=t||[],this._rawAsyncValidators=n||[],this.valueAccessor=function(e,t){if(!t)return null;Array.isArray(t)||F(e,"Value accessor was not provided as an array for form control with");let n=void 0,r=void 0,s=void 0;return t.forEach(t=>{t.constructor===g?n=t:function(e){return $.some(t=>e.constructor===t)}(t)?(r&&F(e,"More than one built-in value accessor matches form control with"),r=t):(s&&F(e,"More than one custom value accessor matches form control with"),s=t)}),s||r||n||(F(e,"No valid value accessor for form control with"),null)}(this,s)}set isDisabled(e){j.disabledAttrWarning()}ngOnChanges(t){var n,s;this._added||this._setUpControl(),function(e,t){if(!e.hasOwnProperty("model"))return!1;const n=e.model;return!!n.isFirstChange()||!Object(r.vb)(t,n.currentValue)}(t,this.viewModel)&&("formControlName",n=e,this,s=this._ngModelWarningConfig,Object(r.T)()&&"never"!==s&&((null!==s&&"once"!==s||n._ngModelWarningSentOnce)&&("always"!==s||this._ngModelWarningSent)||(j.ngModelWarning("formControlName"),n._ngModelWarningSentOnce=!0,this._ngModelWarningSent=!0)),this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}get path(){return P(this.name,this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}get validator(){return L(this._rawValidators)}get asyncValidator(){return H(this._rawAsyncValidators)}_checkParentType(){!(this._parent instanceof ie)&&this._parent instanceof te?j.ngModelGroupException():this._parent instanceof ie||this._parent instanceof se||this._parent instanceof oe||j.controlParentException()}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0}}return e._ngModelWarningSentOnce=!1,e})();class ce{}class ue{group(e,t=null){const n=this._reduceControls(e);let r=null,s=null,i=void 0;return null!=t&&(function(e){return void 0!==e.asyncValidators||void 0!==e.validators||void 0!==e.updateOn}(t)?(r=null!=t.validators?t.validators:null,s=null!=t.asyncValidators?t.asyncValidators:null,i=null!=t.updateOn?t.updateOn:void 0):(r=null!=t.validator?t.validator:null,s=null!=t.asyncValidator?t.asyncValidator:null)),new Y(n,{asyncValidators:s,updateOn:i,validators:r})}control(e,t,n){return new K(e,t,n)}array(e,t,n){const r=e.map(e=>this._createControl(e));return new X(r,t,n)}_reduceControls(e){const t={};return Object.keys(e).forEach(n=>{t[n]=this._createControl(e[n])}),t}_createControl(e){return e instanceof K||e instanceof Y||e instanceof X?e:Array.isArray(e)?this.control(e[0],e.length>1?e[1]:null,e.length>2?e[2]:null):this.control(e)}}class he{static withConfig(e){return{ngModule:he,providers:[{provide:ee,useValue:e.warnOnDeprecatedNgFormSelector}]}}}class de{static withConfig(e){return{ngModule:de,providers:[{provide:re,useValue:e.warnOnNgModelWithFormControl}]}}}},yCtX:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n("HDdC"),s=n("quSY"),i=n("ngJS");function o(e,t){return new r.a(t?n=>{const r=new s.a;let i=0;return r.add(t.schedule((function(){i!==e.length?(n.next(e[i++]),n.closed||r.add(this.schedule())):n.complete()}))),r}:Object(i.a)(e))}},"z+Ro":function(e,t,n){"use strict";function r(e){return e&&"function"==typeof e.schedule}n.d(t,"a",(function(){return r}))},zUnb:function(e,t,n){"use strict";n.r(t);var r=n("8Y7J");class s{}class i{constructor(){this.title="busses"}}var o=n("pMnS"),a=n("iInd"),l=r.mb({encapsulation:0,styles:[[""]],data:{}});function c(e){return r.Gb(0,[(e()(),r.ob(0,16777216,null,null,1,"router-outlet",[],null,null,null,null,null)),r.nb(1,212992,null,0,a.n,[a.b,r.M,r.j,[8,null],r.h],null,null)],(function(e,t){e(t,1,0)}),null)}function u(e){return r.Gb(0,[(e()(),r.ob(0,0,null,null,1,"app-root",[],null,null,null,c,l)),r.nb(1,49152,null,0,i,[],null,null)],null,null)}var h=r.kb("app-root",i,u,{},{},[]),d=n("SVse"),p=n("cUpR"),f=n("IheW"),g=n("NAAZ"),m=n("T2qd"),y=n("s7LF"),b=n("ItC6"),v=n("gP80"),_=n("eK/2");const w=()=>n.e(5).then(n.bind(null,"mMQX")).then(e=>e.AuthModuleNgFactory),C=()=>n.e(6).then(n.bind(null,"KAAv")).then(e=>e.BussesModuleNgFactory);class x{}var S=n("FpXt"),E=r.lb(s,[i],(function(e){return r.wb([r.xb(512,r.j,r.X,[[8,[o.a,h]],[3,r.j],r.v]),r.xb(5120,r.s,r.ib,[[3,r.s]]),r.xb(4608,d.k,d.j,[r.s,[2,d.r]]),r.xb(5120,r.fb,r.jb,[r.x]),r.xb(5120,r.q,r.gb,[]),r.xb(5120,r.r,r.hb,[]),r.xb(4608,p.b,p.k,[d.d]),r.xb(6144,r.E,null,[p.b]),r.xb(4608,p.e,p.g,[]),r.xb(5120,p.c,(function(e,t,n,r,s,i,o,a){return[new p.i(e,t,n),new p.n(r),new p.m(s,i,o,a)]}),[d.d,r.x,r.z,d.d,d.d,p.e,r.Y,[2,p.f]]),r.xb(4608,p.d,p.d,[p.c,r.x]),r.xb(135680,p.l,p.l,[d.d]),r.xb(4608,p.j,p.j,[p.d,p.l,r.c]),r.xb(6144,r.C,null,[p.j]),r.xb(6144,p.o,null,[p.l]),r.xb(4608,r.K,r.K,[r.x]),r.xb(5120,a.a,a.x,[a.k]),r.xb(4608,a.d,a.d,[]),r.xb(6144,a.f,null,[a.d]),r.xb(135680,a.o,a.o,[a.k,r.u,r.i,r.p,a.f]),r.xb(4608,a.e,a.e,[]),r.xb(5120,a.C,a.t,[a.k,d.n,a.g]),r.xb(5120,a.h,a.A,[a.y]),r.xb(5120,r.b,(function(e){return[e]}),[a.h]),r.xb(4608,f.h,f.n,[d.d,r.z,f.l]),r.xb(4608,f.o,f.o,[f.h,f.m]),r.xb(4608,g.a,g.a,[r.z]),r.xb(5120,f.a,(function(e,t){return[e,new m.a(t)]}),[f.o,g.a]),r.xb(4608,f.k,f.k,[]),r.xb(6144,f.i,null,[f.k]),r.xb(4608,f.g,f.g,[f.i]),r.xb(6144,f.b,null,[f.g]),r.xb(4608,f.f,f.j,[f.b,r.p]),r.xb(4608,f.c,f.c,[f.f]),r.xb(4608,y.q,y.q,[]),r.xb(4608,y.d,y.d,[]),r.xb(4608,b.a,b.a,[a.k,g.a]),r.xb(4608,v.a,v.a,[a.k,g.a]),r.xb(4608,_.a,_.a,[]),r.xb(1073742336,d.c,d.c,[]),r.xb(1024,r.l,p.q,[]),r.xb(1024,r.w,(function(){return[a.s()]}),[]),r.xb(512,a.y,a.y,[r.p]),r.xb(256,r.c,"busses",[]),r.xb(2048,p.p,null,[r.c]),r.xb(1024,r.d,(function(e,t,n,r,s){return[p.s(e),a.z(t),p.r(n,r,s)]}),[[2,r.w],a.y,p.p,d.d,r.p]),r.xb(512,r.e,r.e,[[2,r.d]]),r.xb(131584,r.g,r.g,[r.x,r.Y,r.p,r.l,r.j,r.e]),r.xb(1073742336,r.f,r.f,[r.g]),r.xb(1073742336,p.a,p.a,[[3,p.a]]),r.xb(1024,a.r,a.v,[[3,a.k]]),r.xb(512,a.q,a.c,[]),r.xb(512,a.b,a.b,[]),r.xb(256,a.g,{},[]),r.xb(1024,d.h,a.u,[d.m,[2,d.a],a.g]),r.xb(512,d.g,d.g,[d.h,d.m]),r.xb(512,r.i,r.i,[]),r.xb(512,r.u,r.H,[r.i,[2,r.I]]),r.xb(1024,a.i,(function(){return[[{path:"",loadChildren:w},{path:"busses",loadChildren:C}]]}),[]),r.xb(1024,a.k,a.w,[r.g,a.q,a.b,d.g,r.p,r.u,r.i,a.i,a.g,[2,a.p],[2,a.j]]),r.xb(1073742336,a.m,a.m,[[2,a.r],[2,a.k]]),r.xb(1073742336,x,x,[]),r.xb(1073742336,f.e,f.e,[]),r.xb(1073742336,f.d,f.d,[]),r.xb(1073742336,y.p,y.p,[]),r.xb(1073742336,y.i,y.i,[]),r.xb(1073742336,y.n,y.n,[]),r.xb(1073742336,S.a,S.a,[]),r.xb(1073742336,s,s,[]),r.xb(256,r.W,!0,[]),r.xb(256,f.l,"XSRF-TOKEN",[]),r.xb(256,f.m,"X-XSRF-TOKEN",[])])}));Object(r.Q)(),p.h().bootstrapModuleFactory(E).catch(e=>console.error(e))},zn8P:function(e,t){function n(e){return Promise.resolve().then((function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}))}n.keys=function(){return[]},n.resolve=n,e.exports=n,n.id="zn8P"}},[[0,0]]]);