-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain-es2015.1784dddd256eb290cf2c.js
1 lines (1 loc) · 233 KB
/
main-es2015.1784dddd256eb290cf2c.js
1
(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){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"),o=n("51Dv"),i=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(i.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 o.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"),o=n("quSY"),i=n("2QA8"),a=n("2fFW"),l=n("NJ4a");class c extends o.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)}}[i.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,o){let i;super(),this._parentSubscriber=e;let a=this;Object(r.a)(t)?i=t:t&&(i=t.next,n=t.error,o=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=i,this._error=n,this._complete=o}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"),o=n("HDdC"),i=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 f=class extends o.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,p={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:f._subscribe},_isComplete:{value:f._isComplete,writable:!0},getSubject:{value:f.getSubject},connect:{value:f.connect},refCount:{value:f.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,"ab",function(){return ca}),n.d(t,"bb",function(){return ua}),n.d(t,"cb",function(){return ha}),n.d(t,"db",function(){return da}),n.d(t,"Z",function(){return li}),n.d(t,"Y",function(){return ti}),n.d(t,"g",function(){return Wi}),n.d(t,"M",function(){return qi}),n.d(t,"v",function(){return Bi}),n.d(t,"N",function(){return Dt}),n.d(t,"P",function(){return Pt}),n.d(t,"c",function(){return ai}),n.d(t,"z",function(){return ui}),n.d(t,"y",function(){return hi}),n.d(t,"b",function(){return di}),n.d(t,"d",function(){return oi}),n.d(t,"e",function(){return ii}),n.d(t,"O",function(){return oa}),n.d(t,"H",function(){return Ui}),n.d(t,"R",function(){return Hi}),n.d(t,"r",function(){return la}),n.d(t,"f",function(){return fa}),n.d(t,"l",function(){return ni}),n.d(t,"k",function(){return It}),n.d(t,"C",function(){return on}),n.d(t,"D",function(){return sn}),n.d(t,"a",function(){return ie}),n.d(t,"K",function(){return le}),n.d(t,"I",function(){return Zr}),n.d(t,"ub",function(){return E}),n.d(t,"o",function(){return z}),n.d(t,"yb",function(){return M}),n.d(t,"n",function(){return L}),n.d(t,"m",function(){return w}),n.d(t,"x",function(){return y}),n.d(t,"E",function(){return C}),n.d(t,"w",function(){return Oi}),n.d(t,"A",function(){return Fr}),n.d(t,"B",function(){return zr}),n.d(t,"i",function(){return wi}),n.d(t,"j",function(){return jr}),n.d(t,"s",function(){return Mr}),n.d(t,"u",function(){return Ur}),n.d(t,"t",function(){return si}),n.d(t,"F",function(){return Xi}),n.d(t,"G",function(){return Ki}),n.d(t,"J",function(){return fs}),n.d(t,"h",function(){return is}),n.d(t,"p",function(){return ss}),n.d(t,"q",function(){return os}),n.d(t,"L",function(){return Sr}),n.d(t,"Q",function(){return aa}),n.d(t,"kb",function(){return xr}),n.d(t,"U",function(){return fi}),n.d(t,"S",function(){return kr}),n.d(t,"T",function(){return Pr}),n.d(t,"V",function(){return nn}),n.d(t,"W",function(){return cn}),n.d(t,"X",function(){return Ht}),n.d(t,"jb",function(){return j}),n.d(t,"nb",function(){return _r}),n.d(t,"qb",function(){return A}),n.d(t,"lb",function(){return br}),n.d(t,"mb",function(){return vr}),n.d(t,"tb",function(){return be}),n.d(t,"vb",function(){return dr}),n.d(t,"xb",function(){return fr}),n.d(t,"wb",function(){return pr}),n.d(t,"eb",function(){return bo}),n.d(t,"fb",function(){return Nl}),n.d(t,"gb",function(){return Is}),n.d(t,"hb",function(){return $o}),n.d(t,"ib",function(){return pa}),n.d(t,"ob",function(){return lo}),n.d(t,"pb",function(){return ao}),n.d(t,"rb",function(){return xa}),n.d(t,"sb",function(){return ka});const v="__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(v)?e[v]:Object.defineProperty(e,v,{value:[]})[v];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 w=b("Inject",e=>({token:e})),y=b("Optional"),_=b("Self"),C=b("SkipSelf");var S=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 x(e){for(let t in e)if(e[t]===x)return t;throw Error("Could not find renamed property on target object.")}function E(e){return{providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function T(e){return e&&e.hasOwnProperty(k)?e[k]:null}const k=x({ngInjectableDef:x});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 O=x({__forward_ref__:x});function R(e){return e.__forward_ref__=R,e.toString=function(){return A(this())},e}function I(e){const t=e;return"function"==typeof t&&t.hasOwnProperty(O)&&t.__forward_ref__===R?t():e}function N(){const e="undefined"!=typeof globalThis&&globalThis,t="undefined"!=typeof window&&window,n="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,r="undefined"!=typeof global&&global;return e||r||t||n}const j=N();let P,D=void 0;function U(e){const t=D;return D=e,t}function M(e,t=S.Default){return(P||function(e,t=S.Default){if(void 0===D)throw new Error("inject() must be called from an injection context");return null===D?function(e,t,n){const r=T(e);if(r&&"root"==r.providedIn)return void 0===r.value?r.value=r.factory():r.value;if(n&S.Optional)return null;throw new Error(`Injector: NOT_FOUND [${A(e)}]`)}(e,0,t):D.get(e,t&S.Optional?null:void 0,t)})(e,t)}class L{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({providedIn:t.providedIn||"root",factory:t.factory}))}toString(){return`InjectionToken ${this._desc}`}}const H="__source",V=new Object,$=new L("INJECTOR",-1);class F{get(e,t=V){if(t===V){const t=new Error(`NullInjectorError: No provider for ${A(e)}!`);throw t.name="NullInjectorError",t}return t}}const z=(()=>{class e{static create(e,t){return Array.isArray(e)?new X(e,t):new X(e.providers,e.parent,e.name||null)}}return e.THROW_IF_NOT_FOUND=V,e.NULL=new F,e.ngInjectableDef=E({providedIn:"any",factory:()=>M($)}),e.__NG_ELEMENT_ID__=-1,e})(),B=function(e){return e},q=[],Z=B,Q=function(){return Array.prototype.slice.call(arguments)},G=x({provide:String,useValue:x}),W="ngTokenPath",J="ngTempTokenPath",K=/\n/gm,Y="\u0275";class X{constructor(e,t=z.NULL,n=null){this.parent=t,this.source=n;const r=this._records=new Map;r.set(z,{token:z,fn:B,deps:q,value:this,useNew:!1}),r.set($,{token:$,fn:B,deps:q,value:this,useNew:!1}),function e(t,n){if(n)if((n=I(n))instanceof Array)for(let r=0;r<n.length;r++)e(t,n[r]);else{if("function"==typeof n)throw ne("Function/Class not supported",n);if(!n||"object"!=typeof n||!n.provide)throw ne("Unexpected provider",n);{let e=I(n.provide);const r=function(e){const t=function(e){let t=q;const n=e.deps;if(n&&n.length){t=[];for(let e=0;e<n.length;e++){let r=6,s=I(n[e]);if(s instanceof Array)for(let e=0,t=s;e<t.length;e++){const n=t[e];n instanceof y||n==y?r|=1:n instanceof C||n==C?r&=-3:n instanceof _||n==_?r&=-5:s=n instanceof w?n.token:I(n)}t.push({token:s,options:r})}}else if(e.useExisting)t=[{token:I(e.useExisting),options:6}];else if(!(n||G in e))throw ne("'deps' required",e);return t}(e);let n=B,r=q,s=!1,o=I(e.provide);if(G in e)r=e.useValue;else if(e.useFactory)n=e.useFactory;else if(e.useExisting);else if(e.useClass)s=!0,n=I(e.useClass);else{if("function"!=typeof o)throw ne("StaticProvider does not have [useValue|useFactory|useExisting|useClass] or [provide] is not newable",e);s=!0,n=o}return{deps:t,fn:n,useNew:s,value:r}}(n);if(!0===n.multi){let r=t.get(e);if(r){if(r.fn!==Q)throw ee(e)}else t.set(e,r={token:n.provide,deps:[],useNew:!1,fn:Q,value:q});r.deps.push({token:e=n,options:6})}const s=t.get(e);if(s&&s.fn==Q)throw ee(e);t.set(e,r)}}}(r,e)}get(e,t,n=S.Default){const r=this._records.get(e);try{return function e(t,n,r,s,o,i){try{return function(t,n,r,s,o,i){let a;if(!n||i&S.SkipSelf)i&S.Self||(a=s.get(t,o,S.Default));else{if((a=n.value)==Z)throw Error(Y+"Circular dependency");if(a===q){n.value=Z;let t=void 0,o=n.useNew,i=n.fn,l=n.deps,c=q;if(l.length){c=[];for(let t=0;t<l.length;t++){const n=l[t],o=n.options,i=2&o?r.get(n.token):void 0;c.push(e(n.token,i,r,i||4&o?s:z.NULL,1&o?null:z.THROW_IF_NOT_FOUND,S.Default))}}n.value=a=o?new i(...c):i.apply(t,c)}}return a}(t,n,r,s,o,i)}catch(a){throw a instanceof Error||(a=new Error(a)),(a[J]=a[J]||[]).unshift(t),n&&n.value==Z&&(n.value=q),a}}(e,r,this._records,this.parent,t,n)}catch(s){return function(e,t,n,r){const s=e[J];throw t[H]&&s.unshift(t[H]),e.message=te("\n"+e.message,s,"StaticInjectorError",r),e[W]=s,e[J]=null,e}(s,e,0,this.source)}}toString(){const e=[];return this._records.forEach((t,n)=>e.push(A(n))),`StaticInjector[${e.join(", ")}]`}}function ee(e){return ne("Cannot mix multi providers and regular providers",e)}function te(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&e.charAt(1)==Y?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(K,"\n ")}`}function ne(e,t){return new Error(te(e,t,"StaticInjectorError"))}const re="ngDebugContext",se="ngOriginalError",oe="ngErrorLogger",ie=new L("AnalyzeForEntryComponents"),ae=function(){var e={OnPush:0,Default:1};return e[e.OnPush]="OnPush",e[e.Default]="Default",e}(),le=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}(),ce={},ue=[],he=x({ngComponentDef:x}),de=x({ngDirectiveDef:x}),fe=x({ngPipeDef:x});let pe=0;function ge(e){return function(e){return e[he]||null}(e)||function(e){return e[de]||null}(e)}function me(e){return function(e){return e[fe]||null}(e)}function ve(e,t){if(null==e)return ce;const n={};for(const r in e)if(e.hasOwnProperty(r)){let s=e[r],o=s;Array.isArray(s)&&(o=s[1],s=s[0]),n[s]=r,t&&(t[s]=o)}return n}const be=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===ae.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||le.Emulated,id:"c",styles:e.styles||ue,_:null,setInput:null,schemas:e.schemas||null};return s._=""+{toString:()=>{const n=e.directives,o=e.features,i=e.pipes;s.id+=pe++,s.inputs=ve(e.inputs,r),s.outputs=ve(e.outputs),o&&o.forEach(e=>e(s)),s.directiveDefs=n?()=>("function"==typeof n?n():n).map(ge):null,s.pipeDefs=i?()=>("function"==typeof i?i():i).map(me):null,t.hasOwnProperty(k)||(t[k]=E({factory:e.factory}))}},s},we=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(j))(),ye=0,_e=1,Ce=2,Se=3,xe=4,Ee=6,Te=7,ke=9,Ae=11,Oe=12,Re=14,Ie=18,Ne=20,je=1,Pe=2,De=8,Ue="__ngContext__";function Me(e){for(;Array.isArray(e);)e=e[ye];return e}function Le(e){return Array.isArray(e)&&"object"==typeof e[je]}function He(e,t){return t[_e].data[e+Ne]}function Ve(e){const t=function(e){return e[Ue]}(e);return t?Array.isArray(t)?t:t.lView:null}function $e(e){e[Ie]=0}const Fe=9;function ze(e,t,n,r,s,o){if(r)return;const i=(3&e[Ce])===s?t:n;i&&function(e,t,n,r){const s=null!=r?r:-1;let o=0;for(let i=void 0!==r?65535&e[Ie]:0;i<t.length;i++)if("number"==typeof t[i+1]){if(o=t[i],null!=r&&o>=r)break}else t[i]<0&&(e[Ie]+=65536),(o<s||-1==s)&&(Be(e,n,t,i),e[Ie]=(4294901760&e[Ie])+i+2),i++}(e,i,s,o),null==o&&(3&e[Ce])===s&&3!==s&&(e[Ce]&=1023,e[Ce]+=1)}function Be(e,t,n,r){const s=n[r]<0,o=n[r+1],i=e[s?-n[r]:n[r]];s?e[Ce]>>10<e[Ie]>>16&&(3&e[Ce])===t&&(e[Ce]+=1024,o.call(i)):o.call(i)}let qe=null;function Ze(e){qe=e}function Qe(){return Ke}const Ge=1;let We,Je,Ke,Ye=Ge,Xe=0,et=0;function tt(e=null){gt!==e&&(vt(null==e?-1:e),Ye=Ge,Xe=0,et=0)}function nt(){return We}function rt(e){We=e}function st(e){Je=e}function ot(e=Ke){return 4==(4&e[Ce])}let it=null,at=!1;function lt(){return at}let ct=-1;function ut(e){ct=e}let ht=0;function dt(e){ht=e}function ft(e,t){const n=Ke;return e&&(ct=e[_e].bindingStartIndex),We=t,Je=!0,Ke=it=e,n}function pt(e){const t=Ke[_e];if(ot(Ke))Ke[Ce]&=-5;else try{$e(Ke),ze(Ke,t.viewHooks,t.viewCheckHooks,at,2,void 0)}finally{Ke[Ce]&=-73,Ke[Te]=t.bindingStartIndex}Ze(null),ft(e,null)}let gt=-1;function mt(){return gt}function vt(e){gt=e,Ze(null)}let bt=null;const wt=function(){var e={Important:1,DashCase:2};return e[e.Important]="Important",e[e.DashCase]="DashCase",e}();function yt(e){return!!e.listen}class _t{constructor(){this._players=[]}flushPlayers(){for(let e=0;e<this._players.length;e++){const t=this._players[e];t.parent||0!==t.state||t.play()}this._players.length=0}queuePlayer(e){this._players.push(e)}}const Ct=0;function St(e,t,n,r){const s=[e||null,0,[],n||[null,null],r||[null,null],[0,0],[0],[0],null,null];return xt(s,Ct),s}function xt(e,t,n=-1,r){const s=e[2],o=2*t,i=o+2;for(let l=s.length;l<i;l+=2)s.push(-1,null);const a=o+0;n>=0&&-1===s[a]&&(s[a]=n,s[o+1]=r||null)}function Et(e,t,n,r,s,o){return o=o||n,s?e[s]=r:e.push(r),!!r&&(r.addEventListener(200,()=>{const t=e.indexOf(r);t&&(t<e[0]?e[t]=null:e.splice(t,1)),r.destroy()}),(t.playerHandler||(t.playerHandler=new _t)).queuePlayer(r,o),!0)}function Tt(e){const t=e[Se];return n=t,Array.isArray(n)&&!0===n[je]?t[Se]:t;var n}function kt(e){return function(e){let t=Le(e)?e:Ve(e);for(;t&&!(512&t[Ce]);)t=Tt(t);return t}(e)[ke]}function At(e){return e[re]}function Ot(e){return e[se]}function Rt(e,...t){e.error(...t)}class It{constructor(){this._console=console}handleError(e){const t=this._findOriginalError(e),n=this._findContext(e),r=function(e){return e[oe]||Rt}(e);r(this._console,"ERROR",e),t&&r(this._console,"ORIGINAL ERROR",t),n&&r(this._console,"ERROR CONTEXT",n)}_findContext(e){return e?At(e)?At(e):this._findContext(Ot(e)):null}_findOriginalError(e){let t=Ot(e);for(;t&&Ot(t);)t=Ot(t);return t}}let Nt=!0,jt=!1;function Pt(){return jt=!0,Nt}function Dt(){if(jt)throw new Error("Cannot enable prod mode after platform setup.");Nt=!1}class Ut{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 n=(new window.DOMParser).parseFromString(e,"text/html").body;return n.removeChild(n.firstChild),n}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 Mt=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:\/?#]*(?:[\/?#]|$))/gi,Lt=/^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 Ht(e){return(e=String(e)).match(Mt)||e.match(Lt)?e:(Pt()&&console.warn(`WARNING: sanitizing unsafe URL value ${e} (see http://g.co/ng/security#xss)`),"unsafe:"+e)}function Vt(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function $t(...e){const t={};for(const n of e)for(const e in n)n.hasOwnProperty(e)&&(t[e]=!0);return t}const Ft=Vt("area,br,col,hr,img,wbr"),zt=Vt("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Bt=Vt("rp,rt"),qt=$t(Bt,zt),Zt=$t(Ft,$t(zt,Vt("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")),$t(Bt,Vt("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")),qt),Qt=Vt("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Gt=Vt("srcset"),Wt=$t(Qt,Gt,Vt("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"),Vt("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")),Jt=Vt("script,style,template");class Kt{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(!Zt.hasOwnProperty(t))return this.sanitizedSomething=!0,!Jt.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,o=t.toLowerCase();if(!Wt.hasOwnProperty(o)){this.sanitizedSomething=!0;continue}let i=e.value;Qt[o]&&(i=Ht(i)),Gt[o]&&(r=i,i=(r=String(r)).split(",").map(e=>Ht(e.trim())).join(", ")),this.buf.push(" ",t,'="',en(i),'"')}var r;return this.buf.push(">"),!0}endElement(e){const t=e.nodeName.toLowerCase();Zt.hasOwnProperty(t)&&!Ft.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(e){this.buf.push(en(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 Yt=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Xt=/([^\#-~ |!])/g;function en(e){return e.replace(/&/g,"&").replace(Yt,function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"}).replace(Xt,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}let tn;function nn(e,t){let n=null;try{tn=tn||new Ut(e);let r=t?String(t):"";n=tn.getInertBodyElement(r);let s=5,o=r;do{if(0===s)throw new Error("Failed to sanitize html because the input is unstable");s--,r=o,o=n.innerHTML,n=tn.getInertBodyElement(r)}while(r!==o);const i=new Kt,a=i.sanitizeChildren(rn(n)||n);return Pt()&&i.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss"),a}finally{if(n){const e=rn(n)||n;for(;e.firstChild;)e.removeChild(e.firstChild)}}}function rn(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}const sn=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 on{}const an=new RegExp("^([-,.\"'%_!# a-zA-Z0-9]+|(?:(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|3d)?|(?:rgb|hsl)a?|(?:repeating-)?(?:linear|radial)-gradient|(?:calc|attr))\\([-0-9.%, #a-zA-Z]+\\))$","g"),ln=/^url\(([^)]+)\)$/;function cn(e){if(!(e=String(e).trim()))return"";const t=e.match(ln);return t&&Ht(t[1])===t[1]||e.match(an)&&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:(Pt()&&console.warn(`WARNING: sanitizing unsafe style value ${e} (see http://g.co/ng/security#xss).`),"unsafe")}const un=/([A-Z])/g;function hn(e){try{return null!=e?e.toString().slice(0,30):e}catch(t){return"[ERROR] Exception while trying to serialize the value"}}const dn={};class fn{constructor(e,t){this.fn=e,this.value=t}}function pn(e,t,n,r){for(let s=n;s<r;s+=4)if(Ln(e,s)===t)return s;return-1}function gn(e,t,n,r=0){n=n||null;const s=Xn(e,!0,r,t=t||null),o=Xn(e,!1,r,n);if(s&&o)return;t=t===dn?Yn(e,!0,r):t,n=n===dn?Yn(e,!1,r):n;const i=e[0],a=t instanceof fn?new Qn(t,i,1):null,l=n instanceof fn?new Qn(n,i,2):null,c=a?t.value:t,u=l?n.value:n;let h=ue,d=!1,f=!1;const p=a?1:0;Rn(e,a,1)&&(In(e,a,1),f=!0);const g=l?3:0;Rn(e,l,3)&&(In(e,l,3),f=!0),s||("string"==typeof c?(h=c.split(/\s+/),d=!0):h=c?Object.keys(c):ue);const m=kn(e);let v=function(e){return e[6][2]}(e),b=e.length;if(!o){const t=mn(e,r,g,m,v,u?Object.keys(u):ue,u||ce,n,!1);t&&(v+=4*t,b+=4*t)}if(!s){const n=c||ce;mn(e,r,p,v,b,h,d||n,t,!0)}f&&Vn(e,!0)}function mn(e,t,n,r,s,o,i,a,l){let c=!1;const u=1+4*t,h=e[l?6:7],d=h[u+1],f=h[u+3];let p=1===h[u+0]||!(h[u+2]||!a),g=0,m=0;const v=!0===i;let b=r,w=o.length;for(;b<d;){const r=Ln(e,b);if(w)for(let s=0;s<o.length;s++){const a=o[s],u=a?l?a:er(a):null;if(u&&r===u){const r=Mn(e,b),a=Gn(e,b),l=!!v||i[u],h=Un(e,b);Zn(h,r,l)&&Kn(r,l,a,t)&&(On(e,b,l),Nn(e,b,n,t),qn(e,h,l)&&(wn(e,b,!0),c=!0)),o[s]=null,w--;break}}b+=4}if(w){const r=l?null:Jn(e,t);e:for(let a=0;a<o.length;a++){const u=o[a];if(!u)continue;const h=!!v||i[u],f=l?u:er(u),w=b>=d;for(let r=b;r<s;r+=4)if(Ln(e,r)===f){const s=Gn(e,r),o=jn(e,r),i=Mn(e,r),a=Un(e,r);Kn(i,h,s,t)&&(w&&($n(e,b,r),g++),Zn(a,i,h)&&((null===h||void 0===h&&h!==i)&&(p=!0),On(e,b,h),(null!==i||qn(e,a,h))&&(wn(e,b,!0),c=!0)),s===t&&n===o||Nn(e,b,n,t)),b+=4;continue e}null!=h&&(p=!0,g++,Fn(e,w?b:d+4*m,l,f,1|Bn(e,f,l,r),h,t,n),m++,s+=4,b+=4,c=!0)}}for(;b<s;){p=!0;const r=Mn(e,b),s=Un(e,b);Gn(e,b),null!=r&&(p=!0),Zn(s,r,null)&&(On(e,b,null),qn(e,s,r)&&(wn(e,b,!0),c=!0),Nn(e,b,n,t)),b+=4}return function(e,t,n,r,s,o,i,a){const l=e[n?6:7],c=1+4*t;if(a){const e=s+4*i;for(let t=c+4;t<l.length;t+=4)l[t+1]=e,l[t+0]=1}l[c+0]=0,l[c+1]=s,l[c+2]=r,l[c+3]=i;let u=i;for(let h=1;h<c;h+=4)u+=l[h+3];if(!n){const t=e[6],n=o-t[2];for(let e=1;e<t.length;e+=4)t[e+1]+=n}l[0]=u}(e,t,l,a,d,s,g,p=p||f!==g),c&&Hn(e,!0),m}function vn(e,t,n,r,s,o,i){n=s&&n?s(t,n):n,o||i?(o&&o.setValue(t,n),i&&i.setValue(t,n)):n?(n=n.toString(),yt(r)?r.setStyle(e,t,n,wt.DashCase):e.style.setProperty(t,n)):yt(r)?r.removeStyle(e,t,wt.DashCase):e.style.removeProperty(t)}function bn(e,t,n,r,s,o){s||o?(s&&s.setValue(t,n),o&&o.setValue(t,n)):""!==t&&(n?yt(r)?r.addClass(e,t):e.classList.add(t):yt(r)?r.removeClass(e,t):e.classList.remove(t))}function wn(e,t,n){const r=t>=10?t+0:t;n?e[r]|=1:e[r]&=-2}function yn(e,t){return 1==(1&e[t>=10?t+0:t])}function _n(e,t){return 2==(2&e[t>=10?t+0:t])}function Cn(e,t){return 4==(4&e[t>=10?t+0:t])}function Sn(e,t,n){return 31&e|t<<5|n<<19}function xn(e,t){const n=En(t);return(2&t?e[4]:e[3])[n]}function En(e){return e>>5&16383}function Tn(e){const t=e>>19&16383;return t>=10?t:-1}function kn(e){return e[7][2]}function An(e,t,n){e[t+1]=n}function On(e,t,n){e[t+2]=n}function Rn(e,t,n){const r=e[9];if(t){if(!r||0===n)return!0}else if(!r)return!1;return r[n]!==t}function In(e,t,n){let r=e[9]||(e[9]=[5,null,null,null,null]);return n>0?r[n]=t:(r.splice(n=r[0],0,t,null),r[0]+=2),n}function Nn(e,t,n,r){const s=function(e,t){return n<<16|e}(r);e[t+3]=s}function jn(e,t){return e[t+3]>>16&65535}function Pn(e,t){const n=jn(e,t);if(n){const t=e[9];if(t)return t[n]}return null}function Dn(e,t,n){e[1===t?t:t+0]=n}function Un(e,t){return e[1===t?t:t+0]}function Mn(e,t){return e[t+2]}function Ln(e,t){return e[t+1]}function Hn(e,t){wn(e,1,t)}function Vn(e,t){t?e[1]|=8:e[1]&=-9}function $n(e,t,n){if(t===n)return;const r=Mn(e,t),s=Ln(e,t),o=Un(e,t),i=jn(e,t),a=Gn(e,t);let l=o,c=Un(e,n);const u=Tn(l);if(u>=0){const t=Un(e,u);Dn(e,u,Sn(t,En(t),n))}const h=Tn(c);if(h>=0){const n=Un(e,h);Dn(e,h,Sn(n,En(n),t))}On(e,t,Mn(e,n)),An(e,t,Ln(e,n)),Dn(e,t,Un(e,n)),Nn(e,t,jn(e,n),Gn(e,n)),On(e,n,r),An(e,n,s),Dn(e,n,o),Nn(e,n,i,a)}function Fn(e,t,n,r,s,o,i,a){const l=t<e.length;e.splice(t,0,1|s|(n?2:0),r,o,0),Nn(e,t,a,i),l&&function(e,n){for(let r=t+4;r<e.length;r+=4){const t=Tn(Un(e,r));if(t>0){const n=En(Un(e,t));Dn(e,t,Sn((yn(e,t)?1:0)|(_n(e,t)?2:0)|(Cn(e,t)?4:0),n,r))}}}(e)}function zn(e,t){return null!==e}function Bn(e,t,n,r){let s,o=r&&r(t)?4:0;return n?(o|=2,s=Wn(e[4],t)):s=Wn(e[3],t),Sn(o,s=s>0?s+1:0,0)}function qn(e,t,n){const r=xn(e,t);return!r||Zn(t,r,n)}function Zn(e,t,n){return!(2&e)&&t&&n&&4&e?t.toString()!==n.toString():t!==n}class Qn{constructor(e,t,n){this._element=t,this._type=n,this._values={},this._dirty=!1,this._factory=e}setValue(e,t){this._values[e]!==t&&(this._values[e]=t,this._dirty=!0)}buildPlayer(e,t){if(this._dirty){const n=this._factory.fn(this._element,this._type,this._values,t,e||null);return this._values={},this._dirty=!1,n}}}function Gn(e,t){return 65535&e[t+3]}function Wn(e,t){for(let n=2;n<e.length;n+=3)if(e[n]===t)return n;return-1}function Jn(e,t){const n=e[2];return n[2*t+1]||n[1]||null}function Kn(e,t,n,r){return null==e||(null!=t?r<=n:n===r)}function Yn(e,t,n){return e[t?6:7][1+4*n+2]||null}function Xn(e,t,n,r){return!e[t?6:7][1+4*n+0]&&(r===dn||Yn(e,t,n)===r)}function er(e){return e.replace(/[a-z][A-Z]/g,e=>`${e.charAt(0)}-${e.charAt(1).toLowerCase()}`)}function tr(e,t,n,r,s=0){const o=e[n?6:7];if(t>0){const e=1+4*t;for(;o.length<e;)o.push(0,r,null,0)}o.push(0,r,null,s)}const nr=(()=>Promise.resolve(null))();function rr(e){const t=e[_e],n=ot(e);if(t.firstTemplatePass=!1,e[Te]=t.bindingStartIndex,!n){const n=lt();(function(t,n,r,s){r||ze(e,n.preOrderHooks,n.preOrderCheckHooks,r,0,null)})(0,t,n),function(e){for(let t=e[Re];null!==t;t=t[xe])if(t.length<Ne&&-1===t[Pe]){const e=t;for(let t=0;t<e[De].length;t++){const n=e[De][t];or(n,n[_e],n[ke])}}}(e),sr(t,e),$e(e),ze(e,t.contentHooks,t.contentCheckHooks,n,1,void 0),function(e,t){const n=mt();try{if(e.expandoInstructions){let n=t[Te]=e.expandoStartIndex;ut(n);let r=-1,s=-1;for(let o=0;o<e.expandoInstructions.length;o++){const i=e.expandoInstructions[o];if("number"==typeof i){if(i<=0){tt(s=-i);const t=e.expandoInstructions[++o];r=n+=Fe+t}else n+=i;ut(n)}else null!==i&&(t[Te]=n,i(2,Me(t[r]),s),Ye+=1+et,Xe=0,et=0),r++}}}finally{tt(n)}}(t,e)}n&&t.staticContentQueries&&sr(t,e),function(e){if(null!=e)for(let t=0;t<e.length;t++)cr(e[t])}(t.components)}function sr(e,t){if(null!=e.contentQueries){dt(0);for(let n=0;n<e.contentQueries.length;n++){const r=e.contentQueries[n];e.data[r].contentQueries(2,t[r],r)}}}function or(e,t,n){const r=Je,s=nt();let o;if(512&e[Ce])ur(kt(e));else try{st(!0),rt(null),o=ft(e,e[Ee]),$e(e),ar(t.template,lr(e),n),e[_e].firstTemplatePass=!1,rr(e)}finally{pt(o),st(r),rt(s)}}function ir(e,t,n){const r=e[Ae],s=ft(e,e[Ee]),o=!lt(),i=ot(e);try{o&&!i&&r.begin&&r.begin(),i&&(n&&ar(n,1,t),rr(e),e[Ce]&=-5),$e(e),n&&ar(n,2,t),rr(e)}finally{o&&!i&&r.end&&r.end(),pt(s)}}function ar(e,t,n){bt=null;const r=mt();try{tt(null),e(t,n)}finally{vt(r)}}function lr(e){return ot(e)?1:2}function cr(e){const t=Qe(),n=function(n,r){const s=t[e];return Le(s)?s:s[ye]}();(128==(128&n[Ce])||ot(t))&&80&n[Ce]&&(function(e){const t=e[_e];for(let n=e.length;n<t.blueprint.length;n++)e[n]=t.blueprint[n]}(n),function(e,t){const n=e[_e],r=ft(e,e[Ee]),s=n.template,o=ot(e);try{$e(e),o&&hr(1,n,t),ar(s,lr(e),t),rr(e),o&&!n.staticViewQueries||hr(2,n,t)}finally{pt(r)}}(n,n[ke]))}function ur(e){for(let t=0;t<e.components.length;t++){const n=e.components[t];ir(Ve(n),n)}}function hr(e,t,n){const r=t.viewQuery;r&&(dt(t.viewQueryStartIndex),r(e,n))}function dr(e,t,n){const r=nt();r.stylingTemplate||(r.stylingTemplate=St());const s=gr();xt(r.stylingTemplate,s),(r.onElementCreationFns=r.onElementCreationFns||[]).push(()=>{(function(e,t,n,r,s){!function(e,t,n,r,s){if(16&e[1])return;if(!function(e,t,n,r){const s=e[2],o=2*t;return!(o<s.length&&s[o+0]>=0||(xt(e,t,e[5].length,r),0))}(e,t,0,s))return;r&&(r=function(e){const t=[];for(let n=0;n<e.length;n++)t.push(er(e[n]));return t}(r));const o=e[5],i=o[1],a=o[0],l=e[6],c=e[7],u=4*a;let h=10+u,d=h+4*i,f=d+u;const p=o.length;o.push(r?r.length:0,n?n.length:0);let g=0;const m=[];if(r&&r.length)for(let I=0;I<r.length;I++){const t=r[I];let n=pn(e,t,10,h);-1==n&&(n=h+g,g+=4,m.push(t)),o.push(n)}const v=[];if(n&&n.length)for(let I=0;I<n.length;I++){const t=n[I];let r=pn(e,t,h,d);-1==r?(r=d+g,g+=4,v.push(t)):r+=4*m.length,o.push(r)}let b=2;if(m.length)for(;b<p;){const e=o[b+0],t=o[b+1];if(t){const n=b+2+e;for(let e=n;e<n+t;e++)o[e]+=4*m.length}b+=2+(e+t)}const w=v.length+m.length;for(let I=10;I<e.length;I+=4){const t=I>=d,n=I>=(t?f:h),r=Un(e,I),s=En(r);let o=Tn(r);Dn(e,I,Sn(r,s,o+=t?n?4*m.length:0:4*w+4*(n?m.length:0)))}for(let I=0;I<4*m.length;I++)e.splice(f,0,null),e.splice(h,0,null),h++,d++,f+=2;for(let I=0;I<4*v.length;I++)e.splice(d,0,null),e.push(null),d++,f++;const y=e[4],_=e[3];for(let I=0;I<w;I++){const n=I>=m.length,r=n?I-m.length:I,o=n?v[r]:m[r];let l,c;n?(l=f+4*(i+r),c=h+4*(i+r)):(l=d+4*(a+r),c=10+4*(a+r));let u=n?y:_,p=Wn(u,o);-1===p?(S=u,x=o,E=!n&&null,T=t,null===(C=null)&&(C=S.length,S.push(null,null,null),S[C+0]=x),S[C+1]=E,S[C+2]=T,p=C+1):p+=1;const g=Bn(e,o,n,s||null);Dn(e,c,Sn(g,p,l)),An(e,c,o),On(e,c,null),Nn(e,c,0,t),Dn(e,l,Sn(g,p,c)),An(e,l,o),On(e,l,null),Nn(e,l,0,t)}var C,S,x,E,T;o[1]=i+v.length,o[0]=a+m.length,l[0]+=v.length,c[0]+=m.length;const k=4*m.length,A=4*v.length,O=c.length;tr(e,t,!1,d+4*a,m.length);for(let I=1;I<O;I+=4)c[I+1]+=A+k;const R=l.length;tr(e,t,!0,f+4*i,v.length);for(let I=1;I<R;I+=4)l[I+1]+=2*k+A;Dn(e,1,Sn(0,0,d))}(e.stylingTemplate,s,t,n,r)})(r,e,t,n,s),function(e,t){let n=e[8];n||(n=e[8]=[Ct]),n[0]=t}(r.stylingTemplate,s)})}function fr(e,t){const n=gr(),r=mr(mt(),Qe());!function(e,t,n,s){const o=r[8],i=function(e,t){for(let n=1;n<e.length;n+=3)if(e[n+0]>t)return n;return e.length}(o,t);o.splice(i,0,t,n,s)}(0,n,gn,[r,e,t,n])}function pr(){!function(e,t){const n=Qe(),r=3===He(t,n).type?n[Oe]:null,s=0!=(8&n[Ce]);(function(e,t,n,r,s,o,i=0){let a=0;if(function(e,t){const n=e[8];return!n||n[0]===t}(e,i)&&(function(e){const t=e[8];if(t){for(let e=1;e<t.length;e+=3)t[e+1].apply(this,t[e+2]);t.length=1}}(e),function(e){return yn(e,1)}(e))){const s=e[0],o=8&e[1],i=kn(e);for(let n=10;n<e.length;n+=4)if(yn(e,n)){const o=Un(e,n),a=Gn(e,n),l=Ln(e,n),c=Mn(e,n),u=4&o?Jn(e,a):null,h=Pn(e,n),d=!!(2&o);let f=c;n<i&&!zn(f)&&(f=Mn(e,Tn(o))),zn(f)||(f=xn(e,o)),t&&(!r||f)&&(d?bn(s,l,!!f,t,null,h):vn(s,l,f,t,u,null,h)),wn(e,n,!1)}if(o){const t=Array.isArray(n)?kt(n):n,o=e[9],i=o[0];for(let e=1;e<i;e+=2){const n=o[e],i=e+1,l=o[i];if(n){const e=n.buildPlayer(l,r);void 0!==e&&(null!=e&&Et(o,t,s,e,i)&&a++,l&&l.destroy())}else l&&l.destroy()}Vn(e,!1)}Hn(e,!1)}return a})(mr(t,n),r,n,s,0,0,e)>0&&function(e,t){const n=0===e.flags;if(e.flags|=2,n&&e.clean==nr){let t;e.clean=new Promise(e=>t=e),e.scheduler(()=>{if(1&e.flags&&(e.flags&=-2,ur(e)),2&e.flags){e.flags&=-3;const t=e.playerHandler;t&&t.flushPlayers()}e.clean=nr,t(null)})}}(kt(n)),Ze(null)}(gr(),mt())}function gr(){return Ye+Xe}function mr(e,t){let n=qe;return n||Ze(n=function(e,t){let n=e,r=t[n],s=t;for(;Array.isArray(r);)s=r,r=r[ye];if(o=s,Array.isArray(o)&&"number"==typeof o[je])return s;{const o=He(e-Ne,t).stylingTemplate;return s!==t&&(n=ye),s[n]=o?function(e,t){const n=t.slice();for(let r=0;r<10;r++){const e=t[r];Array.isArray(e)&&(n[r]=e.slice())}return n[0]=e,n[1]|=16,n}(r,o):St(r)}var o}(e+Ne,t)),n}function vr(e){return!!e&&"function"==typeof e.then}function br(e){return!!e&&"function"==typeof e.subscribe}let wr=null;function yr(){if(!wr){const e=j.Symbol;if(e&&e.iterator)wr=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&&(wr=n)}}}return wr}function _r(e,t){return e===t||"number"==typeof e&&"number"==typeof t&&isNaN(e)&&isNaN(t)}function Cr(e,t){const n=xr(e),r=xr(t);if(n&&r)return function(e,t,n){const r=e[yr()](),s=t[yr()]();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,Cr);{const s=e&&("object"==typeof e||"function"==typeof e),o=t&&("object"==typeof t||"function"==typeof t);return!(n||!s||r||!o)||_r(e,t)}}class Sr{constructor(e){this.wrapped=e}static wrap(e){return new Sr(e)}static unwrap(e){return Sr.isWrapped(e)?e.wrapped:e}static isWrapped(e){return e instanceof Sr}}function xr(e){return!!Er(e)&&(Array.isArray(e)||!(e instanceof Map)&&yr()in e)}function Er(e){return null!==e&&("function"==typeof e||"object"==typeof e)}class Tr{constructor(e,t,n){this.previousValue=e,this.currentValue=t,this.firstChange=n}isFirstChange(){return this.firstChange}}const kr=new L("The presence of this token marks an injector as being the root injector.");class Ar{}class Or{}function Rr(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 Nr{resolveComponentFactory(e){throw Rr(e)}}const jr=(()=>{class e{}return e.NULL=new Nr,e})();class Pr{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 Rr(e);return new Dr(t,this._ngModule)}}class Dr extends Or{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)}}class Ur{}class Mr{}function Lr(...e){}const Hr=(()=>{class e{constructor(e){this.nativeElement=e}}return e.__NG_ELEMENT_ID__=(()=>Vr(e)),e})(),Vr=Lr;class $r{}class Fr{}const zr=function(){var e={Important:1,DashCase:2};return e[e.Important]="Important",e[e.DashCase]="DashCase",e}(),Br=(()=>{class e{}return e.__NG_ELEMENT_ID__=(()=>qr()),e})(),qr=Lr;class Zr{constructor(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}}const Qr=new Zr("8.0.1");class Gr{constructor(){}supports(e){return xr(e)}create(e){return new Jr(e)}}const Wr=(e,t)=>t;class Jr{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 o=!n||t&&t.currentIndex<es(n,r,s)?t:n,i=es(o,r,s),a=o.currentIndex;if(o===n)r--,n=n._nextRemoved;else if(t=t._next,null==o.previousIndex)r++;else{s||(s=[]);const e=i-r,t=a-r;if(e!=t){for(let n=0;n<e;n++){const r=n<s.length?s[n]:s[n]=0,o=r+n;t<=o&&o<e&&(s[n]=r+1)}s[o.previousIndex]=t-e}}i!==a&&e(o,i,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=[]),!xr(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,o=!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&&_r(s.trackById,r)?(o&&(s=this._verifyReinsertion(s,n,r,t)),_r(s.item,n)||this._addIdentityChange(s,n)):(s=this._mismatch(s,n,r,t),o=!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[yr()]();let r;for(;!(r=n.next()).done;)t(r.value)}}(e,e=>{r=this._trackByFn(t,e),null!==s&&_r(s.trackById,r)?(o&&(s=this._verifyReinsertion(s,e,r,t)),_r(s.item,e)||this._addIdentityChange(s,e)):(s=this._mismatch(s,e,r,t),o=!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))?(_r(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,s,r)):null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(_r(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,s,r)):e=this._addAfter(new Kr(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 Xr),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 Xr),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 Kr{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 Yr{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)&&_r(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 Xr{constructor(){this.map=new Map}put(e){const t=e.trackById;let n=this.map.get(t);n||(n=new Yr,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 es(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 ts{constructor(){}supports(e){return e instanceof Map||Er(e)}create(){return new ns}}class ns{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||Er(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 rs(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){_r(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 rs{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}}const ss=(()=>{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 y]]}}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({providedIn:"root",factory:()=>new e([new Gr])}),e})(),os=(()=>{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 y]]}}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({providedIn:"root",factory:()=>new e([new ts])}),e})(),is=(()=>{class e{}return e.__NG_ELEMENT_ID__=(()=>as()),e})(),as=(...e)=>{},ls=[new ts],cs=new ss([new Gr]),us=new os(ls),hs=(()=>{class e{}return e.__NG_ELEMENT_ID__=(()=>ds(e,Hr)),e})(),ds=Lr,fs=(()=>{class e{}return e.__NG_ELEMENT_ID__=(()=>ps(e,Hr)),e})(),ps=Lr;function gs(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 ms(n,t),n}(s,e)}function ms(e,t){e[re]=t,e[oe]=t.logError.bind(t)}function vs(e){return new Error(`ViewDestroyedError: Attempt to use a destroyed view: ${e}`)}function bs(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 ws(e,t,n){return(1792&e.state)===t&&e.initIndex<=n&&(e.initIndex=n+1,!0)}function ys(e,t){return e.nodes[t]}function _s(e,t){return e.nodes[t]}function Cs(e,t){return e.nodes[t]}function Ss(e,t){return e.nodes[t]}function xs(e,t){return e.nodes[t]}const Es={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},Ts=()=>{},ks=new Map;function As(e){let t=ks.get(e);return t||(t=A(e)+"_"+ks.size,ks.set(e,t)),t}const Os="$$undefined",Rs="$$empty";function Is(e){return{id:Os,styles:e.styles,encapsulation:e.encapsulation,data:e.data}}let Ns=0;function js(e,t,n,r){return!(!(2&e.state)&&_r(e.oldValues[t.bindingIndex+n],r))}function Ps(e,t,n,r){return!!js(e,t,n,r)&&(e.oldValues[t.bindingIndex+n]=r,!0)}function Ds(e,t,n,r){const s=e.oldValues[t.bindingIndex+n];if(1&e.state||!Cr(s,r)){const o=t.bindings[n].name;throw gs(Es.createDebugContext(e,t.nodeIndex),`${o}: ${s}`,`${o}: ${r}`,0!=(1&e.state))}}function Us(e){let t=e;for(;t;)2&t.def.flags&&(t.state|=8),t=t.viewContainerParent||t.parent}function Ms(e,t){let n=e;for(;n&&n!==t;)n.state|=64,n=n.viewContainerParent||n.parent}function Ls(e,t,n,r){try{return Us(33554432&e.def.nodes[t].flags?_s(e,t).componentView:e),Es.handleEvent(e,t,n,r)}catch(s){e.root.errorHandler.handleError(s)}}function Hs(e){return e.parent?_s(e.parent,e.parentNodeDef.nodeIndex):null}function Vs(e){return e.parent?e.parentNodeDef.parent:null}function $s(e,t){switch(201347067&t.flags){case 1:return _s(e,t.nodeIndex).renderElement;case 2:return ys(e,t.nodeIndex).renderText}}function Fs(e){return!!e.parent&&!!(32768&e.parentNodeDef.flags)}function zs(e){return!(!e.parent||32768&e.parentNodeDef.flags)}function Bs(e){const t={};let n=0;const r={};return e&&e.forEach(([e,s])=>{"number"==typeof e?(t[e]=s,n|=function(e){return 1<<e%32}(e)):r[e]=s}),{matchedQueries:t,references:r,matchedQueryIds:n}}function qs(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,H,{value:t,configurable:!0}),{flags:r,token:n,tokenKey:As(n)}})}function Zs(e,t,n){let r=n.renderParent;return r?0==(1&r.flags)||0==(33554432&r.flags)||r.element.componentRendererType&&r.element.componentRendererType.encapsulation===le.Native?_s(e,n.renderParent.nodeIndex).renderElement:void 0:t}const Qs=new WeakMap;function Gs(e){let t=Qs.get(e);return t||((t=e(()=>Ts)).factory=e,Qs.set(e,t)),t}function Ws(e,t,n,r,s){3===t&&(n=e.renderer.parentNode($s(e,e.def.lastRenderRootNode))),Js(e,t,0,e.def.nodes.length-1,n,r,s)}function Js(e,t,n,r,s,o,i){for(let a=n;a<=r;a++){const n=e.def.nodes[a];11&n.flags&&Ys(e,n,t,s,o,i),a+=n.childCount}}function Ks(e,t,n,r,s,o){let i=e;for(;i&&!Fs(i);)i=i.parent;const a=i.parent,l=Vs(i),c=l.nodeIndex+l.childCount;for(let u=l.nodeIndex+1;u<=c;u++){const e=a.def.nodes[u];e.ngContentIndex===t&&Ys(a,e,n,r,s,o),u+=e.childCount}if(!a.parent){const i=e.root.projectableNodes[t];if(i)for(let t=0;t<i.length;t++)Xs(e,i[t],n,r,s,o)}}function Ys(e,t,n,r,s,o){if(8&t.flags)Ks(e,t.ngContent.index,n,r,s,o);else{const i=$s(e,t);if(3===n&&33554432&t.flags&&48&t.bindingFlags?(16&t.bindingFlags&&Xs(e,i,n,r,s,o),32&t.bindingFlags&&Xs(_s(e,t.nodeIndex).componentView,i,n,r,s,o)):Xs(e,i,n,r,s,o),16777216&t.flags){const i=_s(e,t.nodeIndex).viewContainer._embeddedViews;for(let e=0;e<i.length;e++)Ws(i[e],n,r,s,o)}1&t.flags&&!t.element.name&&Js(e,n,t.nodeIndex+1,t.nodeIndex+t.childCount,r,s,o)}}function Xs(e,t,n,r,s,o){const i=e.renderer;switch(n){case 1:i.appendChild(r,t);break;case 2:i.insertBefore(r,t,s);break;case 3:i.removeChild(r,t);break;case 0:o.push(t)}}const eo=/^:([^:]+):(.+)$/;function to(e){if(":"===e[0]){const t=e.match(eo);return[t[1],t[2]]}return["",e]}function no(e){let t=0;for(let n=0;n<e.length;n++)t|=e[n].flags;return t}const ro=new Object,so=As(z),oo=As($),io=As(Ur);function ao(e,t,n,r){return n=I(n),{index:-1,deps:qs(r,A(t)),flags:e,token:t,value:n}}function lo(e){const t={},n=[];let r=!1;for(let s=0;s<e.length;s++){const o=e[s];o.token===kr&&!0===o.value&&(r=!0),1073741824&o.flags&&n.push(o.token),o.index=s,t[As(o.token)]=o}return{factory:null,providersByKey:t,providers:e,modules:n,isRoot:r}}function co(e,t,n=z.THROW_IF_NOT_FOUND){const r=U(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 i=t.tokenKey;switch(i){case so:case oo:case io:return e}const a=e._def.providersByKey[i];let l;if(a){let t=e._providers[a.index];return void 0===t&&(t=e._providers[a.index]=uo(e,a)),t===ro?void 0:t}if((l=T(t.token))&&(s=e,null!=(o=l).providedIn&&(function(e,t){return e._def.modules.indexOf(o.providedIn)>-1}(s)||"root"===o.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]=ro,e._providers[n]=uo(e,e._def.providersByKey[t.tokenKey])}return 4&t.flags?n:e._parent.get(t.token,n)}finally{U(r)}var s,o}function uo(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(co(e,n[0]));case 2:return new t(co(e,n[0]),co(e,n[1]));case 3:return new t(co(e,n[0]),co(e,n[1]),co(e,n[2]));default:const s=new Array(r);for(let t=0;t<r;t++)s[t]=co(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(co(e,n[0]));case 2:return t(co(e,n[0]),co(e,n[1]));case 3:return t(co(e,n[0]),co(e,n[1]),co(e,n[2]));default:const s=Array(r);for(let t=0;t<r;t++)s[t]=co(e,n[t]);return t(...s)}}(e,t.value,t.deps);break;case 2048:n=co(e,t.deps[0]);break;case 256:n=t.value}return n===ro||null===n||"object"!=typeof n||131072&t.flags||"function"!=typeof n.ngOnDestroy||(t.flags|=131072),void 0===n?ro:n}function ho(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,mo(n,t),Es.dirtyParentQueries(r),po(r),r}function fo(e,t,n){const r=t?$s(t,t.def.lastRenderRootNode):e.renderElement,s=n.renderer.parentNode(r),o=n.renderer.nextSibling(r);Ws(n,2,s,o,void 0)}function po(e){Ws(e,3,null,null,void 0)}function go(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function mo(e,t){t>=e.length-1?e.pop():e.splice(t,1)}const vo=new Object;function bo(e,t,n,r,s,o){return new wo(e,t,n,r,s,o)}class wo extends Or{constructor(e,t,n,r,s,o){super(),this.selector=e,this.componentType=t,this._inputs=r,this._outputs=s,this.ngContentSelectors=o,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=Gs(this.viewDefFactory),o=s.nodes[0].element.componentProvider.nodeIndex,i=Es.createRootView(e,t||[],n,s,r,vo),a=Cs(i,o).instance;return n&&i.renderer.setAttribute(_s(i,0).renderElement,"ng-version",Qr.full),new yo(i,new xo(i),a)}}class yo extends Ar{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(_s(this._view,this._elDef.nodeIndex).renderElement)}get injector(){return new Ao(this._view,this._elDef)}get componentType(){return this._component.constructor}destroy(){this._viewRef.destroy()}onDestroy(e){this._viewRef.onDestroy(e)}}function _o(e,t,n){return new Co(e,t,n)}class Co{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 Ao(this._view,this._elDef)}get parentInjector(){let e=this._view,t=this._elDef.parent;for(;!t&&e;)t=Vs(e),e=e.parent;return e?new Ao(e,t):new Ao(this._view,null)}clear(){for(let e=this._embeddedViews.length-1;e>=0;e--){const t=ho(this._data,e);Es.destroyView(t)}}get(e){const t=this._embeddedViews[e];if(t){const e=new xo(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 o=n||this.parentInjector;s||e instanceof Dr||(s=o.get(Ur));const i=e.create(o,r,void 0,s);return this.insert(i.hostView,t),i}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,go(s,n,r),function(e,t){const n=Hs(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,n){if(4&n.flags)return;t.parent.def.nodeFlags|=4,n.flags|=4;let r=n.parent;for(;r;)r.childFlags|=4,r=r.parent}(0,t.parentNodeDef)}(t,r),Es.dirtyParentQueries(r),fo(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,r){const s=e.viewContainer._embeddedViews,o=s[n];mo(s,n),null==r&&(r=s.length),go(s,r,o),Es.dirtyParentQueries(o),po(o),fo(e,r>0?s[r-1]:null,o)}(this._data,0,t),e}indexOf(e){return this._embeddedViews.indexOf(e._view)}remove(e){const t=ho(this._data,e);t&&Es.destroyView(t)}detach(e){const t=ho(this._data,e);return t?new xo(t):null}}function So(e){return new xo(e)}class xo{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(){Us(this._view)}detach(){this._view.state&=-5}detectChanges(){const e=this._view.root.rendererFactory;e.begin&&e.begin();try{Es.checkAndUpdateView(this._view)}finally{e.end&&e.end()}}checkNoChanges(){Es.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)),Es.destroyView(this._view)}detachFromAppRef(){this._appRef=null,po(this._view),Es.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 Eo(e,t){return new To(e,t)}class To extends hs{constructor(e,t){super(),this._parentView=e,this._def=t}createEmbeddedView(e){return new xo(Es.createEmbeddedView(this._parentView,this._def,this._def.element.template,e))}get elementRef(){return new Hr(_s(this._parentView,this._def.nodeIndex).renderElement)}}function ko(e,t){return new Ao(e,t)}class Ao{constructor(e,t){this.view=e,this.elDef=t}get(e,t=z.THROW_IF_NOT_FOUND){return Es.resolveDep(this.view,this.elDef,!!this.elDef&&0!=(33554432&this.elDef.flags),{flags:0,token:e,tokenKey:As(e)},t)}}function Oo(e){return new Ro(e.renderer)}class Ro{constructor(e){this.delegate=e}selectRootElement(e){return this.delegate.selectRootElement(e)}createElement(e,t){const[n,r]=to(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]=to(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 Io(e,t,n,r){return new No(e,t,n,r)}class No{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]=uo(e,s))}}(this)}get(e,t=z.THROW_IF_NOT_FOUND,n=S.Default){let r=0;return n&S.SkipSelf?r|=1:n&S.Self&&(r|=4),co(this,{token:e,tokenKey:As(e),flags:r},t)}get instance(){return this.get(this._moduleType)}get componentFactoryResolver(){return this.get(jr)}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!==ro){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 jo=As($r),Po=As(Br),Do=As(Hr),Uo=As(fs),Mo=As(hs),Lo=As(is),Ho=As(z),Vo=As($);function $o(e,t,n,r,s,o,i,a){const l=[];if(i)for(let u in i){const[e,t]=i[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 function(e,t,n,r,s,o,i,a,l){const{matchedQueries:c,references:u,matchedQueryIds:h}=Bs(n);l||(l=[]),a||(a=[]),o=I(o);const d=qs(i,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:no(a),outputs:l,element:null,provider:{token:s,value:o,deps:d},text:null,query:null,ngContent:null}}(e,t|=16384,n,r,s,s,o,l,c)}function Fo(e,t){return Zo(e,t)}function zo(e,t){let n=e;for(;n.parent&&!Fs(n);)n=n.parent;return Qo(n.parent,Vs(n),!0,t.provider.value,t.provider.deps)}function Bo(e,t){const n=Qo(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],o=n[s.propName];if(!br(o))throw new Error(`@Output ${s.propName} not initialized in '${n.constructor.name}'.`);{const n=o.subscribe(qo(e,t.parent.nodeIndex,s.eventName));e.disposables[t.outputIndex+r]=n.unsubscribe.bind(n)}}return n}function qo(e,t,n){return r=>Ls(e,t,n,r)}function Zo(e,t){const n=(8192&t.flags)>0,r=t.provider;switch(201347067&t.flags){case 512:return Qo(e,t.parent,n,r.value,r.deps);case 1024:return function(e,t,n,r,s){const o=s.length;switch(o){case 0:return r();case 1:return r(Wo(e,t,n,s[0]));case 2:return r(Wo(e,t,n,s[0]),Wo(e,t,n,s[1]));case 3:return r(Wo(e,t,n,s[0]),Wo(e,t,n,s[1]),Wo(e,t,n,s[2]));default:const i=Array(o);for(let r=0;r<o;r++)i[r]=Wo(e,t,n,s[r]);return r(...i)}}(e,t.parent,n,r.value,r.deps);case 2048:return Wo(e,t.parent,n,r.deps[0]);case 256:return r.value}}function Qo(e,t,n,r,s){const o=s.length;switch(o){case 0:return new r;case 1:return new r(Wo(e,t,n,s[0]));case 2:return new r(Wo(e,t,n,s[0]),Wo(e,t,n,s[1]));case 3:return new r(Wo(e,t,n,s[0]),Wo(e,t,n,s[1]),Wo(e,t,n,s[2]));default:const i=new Array(o);for(let r=0;r<o;r++)i[r]=Wo(e,t,n,s[r]);return new r(...i)}}const Go={};function Wo(e,t,n,r,s=z.THROW_IF_NOT_FOUND){if(8&r.flags)return r.token;const o=e;2&r.flags&&(s=null);const i=r.tokenKey;i===Lo&&(n=!(!t||!t.element.componentView)),t&&1&r.flags&&(n=!1,t=t.parent);let a=e;for(;a;){if(t)switch(i){case jo:return Oo(Jo(a,t,n));case Po:return Jo(a,t,n).renderer;case Do:return new Hr(_s(a,t.nodeIndex).renderElement);case Uo:return _s(a,t.nodeIndex).viewContainer;case Mo:if(t.element.template)return _s(a,t.nodeIndex).template;break;case Lo:return So(Jo(a,t,n));case Ho:case Vo:return ko(a,t);default:const e=(n?t.element.allProviders:t.element.publicProviders)[i];if(e){let t=Cs(a,e.nodeIndex);return t||(t={instance:Zo(a,e)},a.nodes[e.nodeIndex]=t),t.instance}}n=Fs(a),t=Vs(a),a=a.parent,4&r.flags&&(a=null)}const l=o.root.injector.get(r.token,Go);return l!==Go||s===Go?l:o.root.ngModule.injector.get(r.token,s)}function Jo(e,t,n){let r;if(n)r=_s(e,t.nodeIndex).componentView;else for(r=e;r.parent&&!Fs(r);)r=r.parent;return r}function Ko(e,t,n,r,s,o){if(32768&n.flags){const t=_s(e,n.parent.nodeIndex).componentView;2&t.def.flags&&(t.state|=8)}if(t.instance[n.bindings[r].name]=s,524288&n.flags){o=o||{};const t=Sr.unwrap(e.oldValues[n.bindingIndex+r]);o[n.bindings[r].nonMinifiedName]=new Tr(t,s,0!=(2&e.state))}return e.oldValues[n.bindingIndex+r]=s,o}function Yo(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 o=n[s];let i=o.parent;for(!i&&o.flags&t&&ei(e,s,o.flags&t,r++),0==(o.childFlags&t)&&(s+=o.childCount);i&&1&i.flags&&s===i.nodeIndex+i.childCount;)i.directChildFlags&t&&(r=Xo(e,i,t,r)),i=i.parent}}function Xo(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&&ei(e,s,t.flags&n,r++),s+=t.childCount}return r}function ei(e,t,n,r){const s=Cs(e,t);if(!s)return;const o=s.instance;o&&(Es.setCurrentNode(e,t),1048576&n&&ws(e,512,r)&&o.ngAfterContentInit(),2097152&n&&o.ngAfterContentChecked(),4194304&n&&ws(e,768,r)&&o.ngAfterViewInit(),8388608&n&&o.ngAfterViewChecked(),131072&n&&o.ngOnDestroy())}const ti=new L("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>we});class ni extends r.a{constructor(e=!1){super(),this.__isAsync=e}emit(e){super.next(e)}subscribe(e,t,n){let r,o=e=>null,i=()=>null;e&&"object"==typeof e?(r=this.__isAsync?t=>{setTimeout(()=>e.next(t))}:t=>{e.next(t)},e.error&&(o=this.__isAsync?t=>{setTimeout(()=>e.error(t))}:t=>{e.error(t)}),e.complete&&(i=this.__isAsync?()=>{setTimeout(()=>e.complete())}:()=>{e.complete()})):(r=this.__isAsync?t=>{setTimeout(()=>e(t))}:t=>{e(t)},t&&(o=this.__isAsync?e=>{setTimeout(()=>t(e))}:e=>{t(e)}),n&&(i=this.__isAsync?()=>{setTimeout(()=>n())}:()=>{n()}));const a=super.subscribe(r,o,i);return e instanceof s.a&&e.add(a),a}}class ri{constructor(){this.dirty=!0,this._results=[],this.changes=new ni,this.length=0}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()}[yr()](){return this._results[yr()]()}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()}}class si{}const oi=new L("Application Initializer"),ii=(()=>(class{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]();vr(t)&&e.push(t)}Promise.all(e).then(()=>{t()}).catch(e=>{this.reject(e)}),0===e.length&&t(),this.initialized=!0}}))(),ai=new L("AppId");function li(){return`${ci()}${ci()}${ci()}`}function ci(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const ui=new L("Platform Initializer"),hi=new L("Platform ID"),di=new L("appBootstrapListener"),fi=(()=>(class{log(e){console.log(e)}warn(e){console.warn(e)}}))();function pi(){throw new Error("Runtime compiler is not loaded")}const gi=pi,mi=pi,vi=pi,bi=pi,wi=(()=>(class{constructor(){this.compileModuleSync=gi,this.compileModuleAsync=mi,this.compileModuleAndAllComponentsSync=vi,this.compileModuleAndAllComponentsAsync=bi}clearCache(){}clearCacheFor(e){}getModuleId(e){}}))();class yi{}let _i,Ci;function Si(){const e=j.wtf;return!(!e||!(_i=e.trace)||(Ci=_i.events,0))}const xi=Si(),Ei=xi?function(e,t=null){return Ci.createScope(e,t)}:(e,t)=>(function(e,t){return null}),Ti=xi?function(e,t){return _i.leaveScope(e,t),t}:(e,t)=>t,ki=(()=>Promise.resolve(0))();function Ai(e){"undefined"==typeof Zone?ki.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class Oi{constructor({enableLongStackTrace:e=!1}){if(this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ni(!1),this.onMicrotaskEmpty=new ni(!1),this.onStable=new ni(!1),this.onError=new ni(!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,o,i)=>{try{return ji(t),e.invokeTask(r,s,o,i)}finally{Pi(t)}},onInvoke:(e,n,r,s,o,i,a)=>{try{return ji(t),e.invoke(r,s,o,i,a)}finally{Pi(t)}},onHasTask:(e,n,r,s)=>{e.hasTask(r,s),n===r&&("microTask"==s.change?(t.hasPendingMicrotasks=s.microTask,Ni(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(!Oi.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(Oi.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,o=s.scheduleEventTask("NgZoneEvent: "+r,e,Ii,Ri,Ri);try{return s.runTask(o,t,n)}finally{s.cancelTask(o)}}runGuarded(e,t,n){return this._inner.runGuarded(e,t,n)}runOutsideAngular(e){return this._outer.run(e)}}function Ri(){}const Ii={};function Ni(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 ji(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Pi(e){e._nesting--,Ni(e)}class Di{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ni,this.onMicrotaskEmpty=new ni,this.onStable=new ni,this.onError=new ni}run(e){return e()}runGuarded(e){return e()}runOutsideAngular(e){return e()}runTask(e){return e()}}const Ui=(()=>(class{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:()=>{Oi.assertNotInAngularZone(),Ai(()=>{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())Ai(()=>{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[]}}))(),Mi=(()=>{class e{constructor(){this._applications=new Map,$i.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 $i.findTestabilityInTree(this,e,t)}}return e.ctorParameters=(()=>[]),e})();class Li{addToWindow(e){}findTestabilityInTree(e,t,n){return null}}function Hi(e){$i=e}let Vi,$i=new Li,Fi=function(e){return e instanceof Dr};const zi=new L("AllowMultipleToken");class Bi{constructor(e,t){this.name=e,this.token=t}}function qi(e,t,n=[]){const r=`Platform: ${t}`,s=new L(r);return(t=[])=>{let o=Zi();if(!o||o.injector.get(zi,!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(Vi&&!Vi.destroyed&&!Vi.injector.get(zi,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Vi=e.get(Qi);const t=e.get(ui,null);t&&t.forEach(e=>e())}(z.create({providers:e,name:r}))}return function(e){const t=Zi();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 Zi(){return Vi&&!Vi.destroyed?Vi:null}const Qi=(()=>(class{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 Di:("zone.js"===s?void 0:s)||new Oi({enableLongStackTrace:Pt()}),r=[{provide:Oi,useValue:n}];var s;return n.run(()=>{const t=z.create({providers:r,parent:this.injector,name:e.moduleType.name}),s=e.create(t),o=s.injector.get(It,null);if(!o)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return s.onDestroy(()=>Ji(this._modules,s)),n.runOutsideAngular(()=>n.onError.subscribe({next:e=>{o.handleError(e)}})),function(e,t,n){try{const s=n();return vr(s)?s.catch(n=>{throw t.runOutsideAngular(()=>e.handleError(n)),n}):s}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(o,n,()=>{const e=s.injector.get(ii);return e.runInitializers(),e.donePromise.then(()=>(this._moduleDoBootstrap(s),s))})})}bootstrapModule(e,t=[]){const n=Gi({},t);return function(e,t,n){return e.get(yi).createCompiler([t]).compileModuleAsync(n)}(this.injector,n,e).then(e=>this.bootstrapModuleFactory(e,n))}_moduleDoBootstrap(e){const t=e.injector.get(Wi);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 Gi(e,t){return Array.isArray(t)?t.reduce(Gi,e):Object.assign({},e,t)}const Wi=(()=>{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=Pt(),this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const h=new o.a(e=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{e.next(this._stable),e.complete()})}),d=new o.a(e=>{let t;this._zone.runOutsideAngular(()=>{t=this._zone.onStable.subscribe(()=>{Oi.assertNotInAngularZone(),Ai(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,e.next(!0))})})});const n=this._zone.onUnstable.subscribe(()=>{Oi.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(i.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 o.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,p);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 Or?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);const r=Fi(n)?null:this._injector.get(Ur),s=n.create(z.NULL,[],t||n.selector,r);s.onDestroy(()=>{this._unloadComponent(s)});const o=s.injector.get(Ui,null);return o&&s.injector.get(Mi).registerApplication(s.location.nativeElement,o),this._loadComponent(s),Pt()&&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,Ti(t)}}attachView(e){const t=e;this._views.push(t),t.attachToAppRef(this)}detachView(e){const t=e;Ji(this._views,t),t.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(di,[]).concat(this._bootstrapListeners).forEach(t=>t(e))}_unloadComponent(e){this.detachView(e.hostView),Ji(this.components,e)}ngOnDestroy(){this._views.slice().forEach(e=>e.destroy())}get viewCount(){return this._views.length}}return e._tickScope=Ei("ApplicationRef#tick()"),e})();function Ji(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class Ki{}const Yi={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},Xi=(()=>(class{constructor(e,t){this._compiler=e,this._config=t||Yi}load(e){return this._compiler instanceof wi?this.loadFactory(e):this.loadAndCompile(e)}loadAndCompile(e){let[t,r]=e.split("#");return void 0===r&&(r="default"),n("zn8P")(t).then(e=>e[r]).then(e=>ea(e,t,r)).then(e=>this._compiler.compileModuleAsync(e))}loadFactory(e){let[t,r]=e.split("#"),s="NgFactory";return void 0===r&&(r="default",s=""),n("zn8P")(this._config.factoryPathPrefix+t+this._config.factoryPathSuffix).then(e=>e[r+s]).then(e=>ea(e,t,r))}}))();function ea(e,t,n){if(!e)throw new Error(`Cannot find '${n}' in '${t}'`);return e}class ta{constructor(e,t){this.name=e,this.callback=t}}class na{constructor(e,t,n){this.listeners=[],this.parent=null,this._debugContext=n,this.nativeNode=e,t&&t instanceof ra&&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 ra extends na{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 ra&&(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 ra&&t.childNodes.forEach(t=>{n(t)&&r.push(t),t instanceof ra&&e(t,n,r)})}(this,e,t),t}get children(){return this.childNodes.filter(e=>e instanceof ra)}triggerEventHandler(e,t){this.listeners.forEach(n=>{n.name==e&&n.callback(t)})}}const sa=new Map,oa=function(e){return sa.get(e)||null};function ia(e){sa.set(e.nativeNode,e)}const aa=qi(null,"core",[{provide:hi,useValue:"unknown"},{provide:Qi,deps:[z]},{provide:Mi,deps:[]},{provide:fi,deps:[]}]),la=new L("LocaleId");function ca(){return cs}function ua(){return us}function ha(e){return e||"en-US"}function da(e){let t=[];return e.onStable.subscribe(()=>{for(;t.length;)t.pop()()}),function(e){t.push(e)}}const fa=(()=>(class{constructor(e){}}))();function pa(e,t,n,r,s,o,i=[],a,l,c,u,h){c||(c=Ts);const{matchedQueries:d,references:f,matchedQueryIds:p}=Bs(n);let g=null,m=null;o&&([g,m]=to(o)),a=a||[];const v=new Array(a.length);for(let y=0;y<a.length;y++){const[e,t,n]=a[y],[r,s]=to(t);let o=void 0,i=void 0;switch(15&e){case 4:i=n;break;case 1:case 8:o=n}v[y]={flags:e,ns:r,name:s,nonMinifiedName:s,securityContext:o,suffix:i}}l=l||[];const b=new Array(l.length);for(let y=0;y<l.length;y++){const[e,t]=l[y];b[y]={type:0,target:e,eventName:t,propName:null}}const w=(i=i||[]).map(([e,t])=>{const[n,r]=to(e);return[n,r,t]});return h=function(e){if(e&&e.id===Os){const t=null!=e.encapsulation&&e.encapsulation!==le.None||e.styles.length||Object.keys(e.data).length;e.id=t?`c${Ns++}`:Rs}return e&&e.id===Rs&&(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:p,references:f,ngContentIndex:r,childCount:s,bindings:v,bindingFlags:no(v),outputs:b,element:{ns:g,name:m,attrs:w,template:null,componentProvider:null,componentView:u||null,componentRendererType:h,publicProviders:null,allProviders:null,handleEvent:c||Ts},provider:null,text:null,query:null,ngContent:null}}function ga(e,t,n){const r=n.element,s=e.root.selectorOrNode,o=e.renderer;let i;if(e.parent||!s){i=r.name?o.createElement(r.name,r.ns):o.createComment("");const s=Zs(e,t,n);s&&o.appendChild(s,i)}else i=o.selectRootElement(s,!!r.componentRendererType&&r.componentRendererType.encapsulation===le.ShadowDom);if(r.attrs)for(let a=0;a<r.attrs.length;a++){const[e,t,n]=r.attrs[a];o.setAttribute(i,t,n,e)}return i}function ma(e,t,n,r){for(let i=0;i<n.outputs.length;i++){const a=n.outputs[i],l=va(e,n.nodeIndex,(o=a.eventName,(s=a.target)?`${s}:${o}`:o));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+i]=h}var s,o}function va(e,t,n){return r=>Ls(e,t,n,r)}function ba(e,t,n,r){if(!Ps(e,t,n,r))return!1;const s=t.bindings[n],o=_s(e,t.nodeIndex),i=o.renderElement,a=s.name;switch(15&s.flags){case 1:!function(e,t,n,r,s,o){const i=t.securityContext;let a=i?e.root.sanitizer.sanitize(i,o):o;a=null!=a?a.toString():null;const l=e.renderer;null!=o?l.setAttribute(n,s,a,r):l.removeAttribute(n,s,r)}(e,s,i,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,i,a,r);break;case 4:!function(e,t,n,r,s){let o=e.root.sanitizer.sanitize(sn.STYLE,s);if(null!=o){o=o.toString();const e=t.suffix;null!=e&&(o+=e)}else o=null;const i=e.renderer;null!=o?i.setStyle(n,r,o):i.removeStyle(n,r)}(e,s,i,a,r);break;case 8:!function(e,t,n,r,s){const o=t.securityContext;let i=o?e.root.sanitizer.sanitize(o,s):s;e.renderer.setProperty(n,r,i)}(33554432&t.flags&&32&s.flags?o.componentView:e,s,i,a,r)}return!0}function wa(e){const t=e.def.nodeMatchedQueries;for(;e.parent&&zs(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&&xs(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&&xs(e,n).setDirty(),n+=t.childCount}}function ya(e,t){const n=xs(e,t.nodeIndex);if(!n.dirty)return;let r,s=void 0;if(67108864&t.flags){const n=t.parent.parent;s=_a(e,n.nodeIndex,n.nodeIndex+n.childCount,t.query,[]),r=Cs(e,t.parent.nodeIndex).instance}else 134217728&t.flags&&(s=_a(e,0,e.def.nodes.length-1,t.query,[]),r=e.component);n.reset(s);const o=t.query.bindings;let i=!1;for(let a=0;a<o.length;a++){const e=o[a];let t;switch(e.bindingType){case 0:t=n.first;break;case 1:t=n,i=!0}r[e.propName]=t}i&&n.notifyOnChanges()}function _a(e,t,n,r,s){for(let o=t;o<=n;o++){const t=e.def.nodes[o],n=t.matchedQueries[r.id];if(null!=n&&s.push(Ca(e,t,n)),1&t.flags&&t.element.template&&(t.element.template.nodeMatchedQueries&r.filterId)===r.filterId){const n=_s(e,o);if((t.childMatchedQueries&r.filterId)===r.filterId&&(_a(e,o+1,o+t.childCount,r,s),o+=t.childCount),16777216&t.flags){const e=n.viewContainer._embeddedViews;for(let t=0;t<e.length;t++){const o=e[t],i=Hs(o);i&&i===n&&_a(o,0,o.def.nodes.length-1,r,s)}}const i=n.template._projectedViews;if(i)for(let e=0;e<i.length;e++){const t=i[e];_a(t,0,t.def.nodes.length-1,r,s)}}(t.childMatchedQueries&r.filterId)!==r.filterId&&(o+=t.childCount)}return s}function Ca(e,t,n){if(null!=n)switch(n){case 1:return _s(e,t.nodeIndex).renderElement;case 0:return new Hr(_s(e,t.nodeIndex).renderElement);case 2:return _s(e,t.nodeIndex).template;case 3:return _s(e,t.nodeIndex).viewContainer;case 4:return Cs(e,t.nodeIndex).instance}}function Sa(e,t,n){const r=Zs(e,t,n);r&&Ks(e,n.ngContent.index,1,r,null,void 0)}function xa(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 Ea(e,t,n){let r;const s=e.renderer;r=s.createText(n.text.prefix);const o=Zs(e,t,n);return o&&s.appendChild(o,r),{renderText:r}}function Ta(e,t){return(null!=e?e.toString():"")+t.suffix}function ka(e,t,n,r){let s=0,o=0,i=0,a=0,l=0,c=null,u=null,h=!1,d=!1,f=null;for(let p=0;p<t.length;p++){const e=t[p];if(e.nodeIndex=p,e.parent=c,e.bindingIndex=s,e.outputIndex=o,e.renderParent=u,i|=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(Oa(c,e,t.length),s+=e.bindings.length,o+=e.outputs.length,!u&&3&e.flags&&(f=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[As(e.provider.token)]=e:(d||(d=!0,c.element.allProviders=Object.create(c.element.publicProviders)),c.element.allProviders[As(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,Aa(e)||(u=e);else for(;c&&p===c.nodeIndex+c.childCount;){const e=c.parent;e&&(e.childFlags|=c.childFlags,e.childMatchedQueries|=c.childMatchedQueries),u=(c=e)&&Aa(c)?c.renderParent:c}}return{factory:null,nodeFlags:i,rootNodeFlags:a,nodeMatchedQueries:l,flags:e,nodes:t,updateDirectives:n||Ts,updateRenderer:r||Ts,handleEvent:(e,n,r,s)=>t[n].element.handleEvent(e,r,s),bindingCount:s,outputCount:o,lastRenderRootNode:f}}function Aa(e){return 0!=(1&e.flags)&&null===e.element.name}function Oa(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 Ra(e,t,n,r){const s=ja(e.root,e.renderer,e,t,n);return Pa(s,e.component,r),Da(s),s}function Ia(e,t,n){const r=ja(e,e.renderer,null,null,t);return Pa(r,n,n),Da(r),r}function Na(e,t,n,r){const s=t.element.componentRendererType;let o;return o=s?e.root.rendererFactory.createRenderer(r,s):e.root.renderer,ja(e.root,o,e,t.element.componentProvider,n)}function ja(e,t,n,r,s){const o=new Array(s.nodes.length),i=s.outputCount?new Array(s.outputCount):null;return{def:s,parent:n,viewContainerParent:null,parentNodeDef:r,context:null,component:null,nodes:o,state:13,root:e,renderer:t,oldValues:new Array(s.bindingCount),disposables:i,initIndex:-1}}function Pa(e,t,n){e.component=t,e.context=n}function Da(e){let t;Fs(e)&&(t=_s(e.parent,e.parentNodeDef.parent.nodeIndex).renderElement);const n=e.def,r=e.nodes;for(let s=0;s<n.nodes.length;s++){const o=n.nodes[s];let i;switch(Es.setCurrentNode(e,s),201347067&o.flags){case 1:const n=ga(e,t,o);let a=void 0;if(33554432&o.flags){const t=Gs(o.element.componentView);a=Es.createComponentView(e,o,t,n)}ma(e,a,o,n),i={renderElement:n,componentView:a,viewContainer:null,template:o.element.template?Eo(e,o):void 0},16777216&o.flags&&(i.viewContainer=_o(e,o,i));break;case 2:i=Ea(e,t,o);break;case 512:case 1024:case 2048:case 256:(i=r[s])||4096&o.flags||(i={instance:Fo(e,o)});break;case 16:i={instance:zo(e,o)};break;case 16384:(i=r[s])||(i={instance:Bo(e,o)}),32768&o.flags&&Pa(_s(e,o.parent.nodeIndex).componentView,i.instance,i.instance);break;case 32:case 64:case 128:i={value:void 0};break;case 67108864:case 134217728:i=new ri;break;case 8:Sa(e,t,o),i=void 0}r[s]=i}Ba(e,za.CreateViewNodes),Ga(e,201326592,268435456,0)}function Ua(e){Ha(e),Es.updateDirectives(e,1),qa(e,za.CheckNoChanges),Es.updateRenderer(e,1),Ba(e,za.CheckNoChanges),e.state&=-97}function Ma(e){1&e.state?(e.state&=-2,e.state|=2):e.state&=-3,bs(e,0,256),Ha(e),Es.updateDirectives(e,0),qa(e,za.CheckAndUpdate),Ga(e,67108864,536870912,0);let t=bs(e,256,512);Yo(e,2097152|(t?1048576:0)),Es.updateRenderer(e,0),Ba(e,za.CheckAndUpdate),Ga(e,134217728,536870912,0),Yo(e,8388608|((t=bs(e,512,768))?4194304:0)),2&e.def.flags&&(e.state&=-9),e.state&=-97,bs(e,768,1024)}function La(e,t,n,r,s,o,i,a,l,c,u,h,d){return 0===n?function(e,t,n,r,s,o,i,a,l,c,u,h){switch(201347067&t.flags){case 1:return function(e,t,n,r,s,o,i,a,l,c,u,h){const d=t.bindings.length;let f=!1;return d>0&&ba(e,t,0,n)&&(f=!0),d>1&&ba(e,t,1,r)&&(f=!0),d>2&&ba(e,t,2,s)&&(f=!0),d>3&&ba(e,t,3,o)&&(f=!0),d>4&&ba(e,t,4,i)&&(f=!0),d>5&&ba(e,t,5,a)&&(f=!0),d>6&&ba(e,t,6,l)&&(f=!0),d>7&&ba(e,t,7,c)&&(f=!0),d>8&&ba(e,t,8,u)&&(f=!0),d>9&&ba(e,t,9,h)&&(f=!0),f}(e,t,n,r,s,o,i,a,l,c,u,h);case 2:return function(e,t,n,r,s,o,i,a,l,c,u,h){let d=!1;const f=t.bindings,p=f.length;if(p>0&&Ps(e,t,0,n)&&(d=!0),p>1&&Ps(e,t,1,r)&&(d=!0),p>2&&Ps(e,t,2,s)&&(d=!0),p>3&&Ps(e,t,3,o)&&(d=!0),p>4&&Ps(e,t,4,i)&&(d=!0),p>5&&Ps(e,t,5,a)&&(d=!0),p>6&&Ps(e,t,6,l)&&(d=!0),p>7&&Ps(e,t,7,c)&&(d=!0),p>8&&Ps(e,t,8,u)&&(d=!0),p>9&&Ps(e,t,9,h)&&(d=!0),d){let d=t.text.prefix;p>0&&(d+=Ta(n,f[0])),p>1&&(d+=Ta(r,f[1])),p>2&&(d+=Ta(s,f[2])),p>3&&(d+=Ta(o,f[3])),p>4&&(d+=Ta(i,f[4])),p>5&&(d+=Ta(a,f[5])),p>6&&(d+=Ta(l,f[6])),p>7&&(d+=Ta(c,f[7])),p>8&&(d+=Ta(u,f[8])),p>9&&(d+=Ta(h,f[9]));const g=ys(e,t.nodeIndex).renderText;e.renderer.setValue(g,d)}return d}(e,t,n,r,s,o,i,a,l,c,u,h);case 16384:return function(e,t,n,r,s,o,i,a,l,c,u,h){const d=Cs(e,t.nodeIndex),f=d.instance;let p=!1,g=void 0;const m=t.bindings.length;return m>0&&js(e,t,0,n)&&(p=!0,g=Ko(e,d,t,0,n,g)),m>1&&js(e,t,1,r)&&(p=!0,g=Ko(e,d,t,1,r,g)),m>2&&js(e,t,2,s)&&(p=!0,g=Ko(e,d,t,2,s,g)),m>3&&js(e,t,3,o)&&(p=!0,g=Ko(e,d,t,3,o,g)),m>4&&js(e,t,4,i)&&(p=!0,g=Ko(e,d,t,4,i,g)),m>5&&js(e,t,5,a)&&(p=!0,g=Ko(e,d,t,5,a,g)),m>6&&js(e,t,6,l)&&(p=!0,g=Ko(e,d,t,6,l,g)),m>7&&js(e,t,7,c)&&(p=!0,g=Ko(e,d,t,7,c,g)),m>8&&js(e,t,8,u)&&(p=!0,g=Ko(e,d,t,8,u,g)),m>9&&js(e,t,9,h)&&(p=!0,g=Ko(e,d,t,9,h,g)),g&&f.ngOnChanges(g),65536&t.flags&&ws(e,256,t.nodeIndex)&&f.ngOnInit(),262144&t.flags&&f.ngDoCheck(),p}(e,t,n,r,s,o,i,a,l,c,u,h);case 32:case 64:case 128:return function(e,t,n,r,s,o,i,a,l,c,u,h){const d=t.bindings;let f=!1;const p=d.length;if(p>0&&Ps(e,t,0,n)&&(f=!0),p>1&&Ps(e,t,1,r)&&(f=!0),p>2&&Ps(e,t,2,s)&&(f=!0),p>3&&Ps(e,t,3,o)&&(f=!0),p>4&&Ps(e,t,4,i)&&(f=!0),p>5&&Ps(e,t,5,a)&&(f=!0),p>6&&Ps(e,t,6,l)&&(f=!0),p>7&&Ps(e,t,7,c)&&(f=!0),p>8&&Ps(e,t,8,u)&&(f=!0),p>9&&Ps(e,t,9,h)&&(f=!0),f){const f=Ss(e,t.nodeIndex);let g;switch(201347067&t.flags){case 32:g=new Array(d.length),p>0&&(g[0]=n),p>1&&(g[1]=r),p>2&&(g[2]=s),p>3&&(g[3]=o),p>4&&(g[4]=i),p>5&&(g[5]=a),p>6&&(g[6]=l),p>7&&(g[7]=c),p>8&&(g[8]=u),p>9&&(g[9]=h);break;case 64:g={},p>0&&(g[d[0].name]=n),p>1&&(g[d[1].name]=r),p>2&&(g[d[2].name]=s),p>3&&(g[d[3].name]=o),p>4&&(g[d[4].name]=i),p>5&&(g[d[5].name]=a),p>6&&(g[d[6].name]=l),p>7&&(g[d[7].name]=c),p>8&&(g[d[8].name]=u),p>9&&(g[d[9].name]=h);break;case 128:const e=n;switch(p){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,o);break;case 5:g=e.transform(r,s,o,i);break;case 6:g=e.transform(r,s,o,i,a);break;case 7:g=e.transform(r,s,o,i,a,l);break;case 8:g=e.transform(r,s,o,i,a,l,c);break;case 9:g=e.transform(r,s,o,i,a,l,c,u);break;case 10:g=e.transform(r,s,o,i,a,l,c,u,h)}}f.value=g}return f}(e,t,n,r,s,o,i,a,l,c,u,h);default:throw"unreachable"}}(e,t,r,s,o,i,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++)ba(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 o=0;o<n.length;o++)Ps(e,t,o,n[o])&&(s=!0);if(s){let s="";for(let e=0;e<n.length;e++)s+=Ta(n[e],r[e]);s=t.text.prefix+s;const o=ys(e,t.nodeIndex).renderText;e.renderer.setValue(o,s)}return s}(e,t,n);case 16384:return function(e,t,n){const r=Cs(e,t.nodeIndex),s=r.instance;let o=!1,i=void 0;for(let a=0;a<n.length;a++)js(e,t,a,n[a])&&(o=!0,i=Ko(e,r,t,a,n[a],i));return i&&s.ngOnChanges(i),65536&t.flags&&ws(e,256,t.nodeIndex)&&s.ngOnInit(),262144&t.flags&&s.ngDoCheck(),o}(e,t,n);case 32:case 64:case 128:return function(e,t,n){const r=t.bindings;let s=!1;for(let o=0;o<n.length;o++)Ps(e,t,o,n[o])&&(s=!0);if(s){const s=Ss(e,t.nodeIndex);let o;switch(201347067&t.flags){case 32:o=n;break;case 64:o={};for(let t=0;t<n.length;t++)o[r[t].name]=n[t];break;case 128:const e=n[0],s=n.slice(1);o=e.transform(...s)}s.value=o}return s}(e,t,n);default:throw"unreachable"}}(e,t,r)}function Ha(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=_s(e,n).template._projectedViews;if(t)for(let n=0;n<t.length;n++){const r=t[n];r.state|=32,Ms(r,e)}}else 0==(4&r.childFlags)&&(n+=r.childCount)}}function Va(e,t,n,r,s,o,i,a,l,c,u,h,d){return 0===n?function(e,t,n,r,s,o,i,a,l,c,u,h){const d=t.bindings.length;d>0&&Ds(e,t,0,n),d>1&&Ds(e,t,1,r),d>2&&Ds(e,t,2,s),d>3&&Ds(e,t,3,o),d>4&&Ds(e,t,4,i),d>5&&Ds(e,t,5,a),d>6&&Ds(e,t,6,l),d>7&&Ds(e,t,7,c),d>8&&Ds(e,t,8,u),d>9&&Ds(e,t,9,h)}(e,t,r,s,o,i,a,l,c,u,h,d):function(e,t,n){for(let r=0;r<n.length;r++)Ds(e,t,r,n[r])}(e,t,r),!1}function $a(e,t){if(xs(e,t.nodeIndex).dirty)throw gs(Es.createDebugContext(e,t.nodeIndex),`Query ${t.query.id} not dirty`,`Query ${t.query.id} dirty`,0!=(1&e.state))}function Fa(e){if(!(128&e.state)){if(qa(e,za.Destroy),Ba(e,za.Destroy),Yo(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=Hs(e);if(t){const n=t.template._projectedViews;n&&(mo(n,n.indexOf(e)),Es.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(_s(e,n).renderElement):2&t.flags?e.renderer.destroyNode(ys(e,n).renderText):(67108864&t.flags||134217728&t.flags)&&xs(e,n).destroy()}}(e),Fs(e)&&e.renderer.destroy(),e.state|=128}}const za=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 Ba(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?Za(_s(e,r).componentView,t):0==(33554432&s.childFlags)&&(r+=s.childCount)}}function qa(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=_s(e,r).viewContainer._embeddedViews;for(let e=0;e<n.length;e++)Za(n[e],t)}else 0==(16777216&s.childFlags)&&(r+=s.childCount)}}function Za(e,t){const n=e.state;switch(t){case za.CheckNoChanges:0==(128&n)&&(12==(12&n)?Ua(e):64&n&&Qa(e,za.CheckNoChangesProjectedViews));break;case za.CheckNoChangesProjectedViews:0==(128&n)&&(32&n?Ua(e):64&n&&Qa(e,t));break;case za.CheckAndUpdate:0==(128&n)&&(12==(12&n)?Ma(e):64&n&&Qa(e,za.CheckAndUpdateProjectedViews));break;case za.CheckAndUpdateProjectedViews:0==(128&n)&&(32&n?Ma(e):64&n&&Qa(e,t));break;case za.Destroy:Fa(e);break;case za.CreateViewNodes:Da(e)}}function Qa(e,t){qa(e,t),Ba(e,t)}function Ga(e,t,n,r){if(!(e.def.nodeFlags&t&&e.def.nodeFlags&n))return;const s=e.def.nodes.length;for(let o=0;o<s;o++){const s=e.def.nodes[o];if(s.flags&t&&s.flags&n)switch(Es.setCurrentNode(e,s.nodeIndex),r){case 0:ya(e,s);break;case 1:$a(e,s)}s.childFlags&t&&s.childFlags&n||(o+=s.childCount)}}let Wa=!1;function Ja(e,t,n,r,s,o){const i=s.injector.get(Fr);return Ia(Ya(e,s,i,t,n),r,o)}function Ka(e,t,n,r,s,o){const i=s.injector.get(Fr),a=Ya(e,s,new Rl(i),t,n),l=ll(r);return Al(pl.create,Ia,null,[a,l,o])}function Ya(e,t,n,r,s){const o=t.injector.get(on),i=t.injector.get(It),a=n.createRenderer(null,null);return{ngModule:t,injector:e,projectableNodes:r,selectorOrNode:s,sanitizer:o,rendererFactory:n,renderer:a,errorHandler:i}}function Xa(e,t,n,r){const s=ll(n);return Al(pl.create,Ra,null,[e,t,s,r])}function el(e,t,n,r){return n=sl.get(t.element.componentProvider.provider.token)||ll(n),Al(pl.create,Na,null,[e,t,n,r])}function tl(e,t,n,r){return Io(e,t,n,function(e){const{hasOverrides:t,hasDeprecatedOverrides:n}=function(e){let t=!1,n=!1;return 0===nl.size?{hasOverrides:t,hasDeprecatedOverrides:n}:(e.providers.forEach(e=>{const r=nl.get(e.token);3840&e.flags&&r&&(t=!0,n=n||r.deprecatedBehavior)}),e.modules.forEach(e=>{rl.forEach((r,s)=>{T(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=nl.get(r.token);s&&(r.flags=-3841&r.flags|s.flags,r.deps=qs(s.deps),r.value=s.value)}if(rl.size>0){let t=new Set(e.modules);rl.forEach((r,s)=>{if(t.has(T(s).providedIn)){let t={token:s,flags:r.flags|(n?4096:0),deps:qs(r.deps),value:r.value,index:e.providers.length};e.providers.push(t),e.providersByKey[As(s)]=t}})}}(e=e.factory(()=>Ts)),e):e}(r))}const nl=new Map,rl=new Map,sl=new Map;function ol(e){let t;nl.set(e.token,e),"function"==typeof e.token&&(t=T(e.token))&&"function"==typeof t.providedIn&&rl.set(e.token,e)}function il(e,t){const n=Gs(t.viewDefFactory),r=Gs(n.nodes[0].element.componentView);sl.set(e,r)}function al(){nl.clear(),rl.clear(),sl.clear()}function ll(e){if(0===nl.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&&nl.has(s.provider.token)&&(t.push(n.nodeIndex),n=null)}return t}(e);if(0===t.length)return e;e=e.factory(()=>Ts);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=nl.get(e.token);n&&(t.flags=-3841&t.flags|n.flags,e.deps=qs(n.deps),e.value=n.value)}}}}function cl(e,t,n,r,s,o,i,a,l,c,u,h,d){const f=e.def.nodes[t];return La(e,f,n,r,s,o,i,a,l,c,u,h,d),224&f.flags?Ss(e,t).value:void 0}function ul(e,t,n,r,s,o,i,a,l,c,u,h,d){const f=e.def.nodes[t];return Va(e,f,n,r,s,o,i,a,l,c,u,h,d),224&f.flags?Ss(e,t).value:void 0}function hl(e){return Al(pl.detectChanges,Ma,null,[e])}function dl(e){return Al(pl.checkNoChanges,Ua,null,[e])}function fl(e){return Al(pl.destroy,Fa,null,[e])}const pl=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 gl,ml,vl;function bl(e,t){ml=e,vl=t}function wl(e,t,n,r){return bl(e,t),Al(pl.handleEvent,e.def.handleEvent,null,[e,t,n,r])}function yl(e,t){if(128&e.state)throw vs(pl[gl]);return bl(e,xl(e,0)),e.def.updateDirectives(function(e,n,r,...s){const o=e.def.nodes[n];return 0===t?Cl(e,o,r,s):Sl(e,o,r,s),16384&o.flags&&bl(e,xl(e,n)),224&o.flags?Ss(e,o.nodeIndex).value:void 0},e)}function _l(e,t){if(128&e.state)throw vs(pl[gl]);return bl(e,El(e,0)),e.def.updateRenderer(function(e,n,r,...s){const o=e.def.nodes[n];return 0===t?Cl(e,o,r,s):Sl(e,o,r,s),3&o.flags&&bl(e,El(e,n)),224&o.flags?Ss(e,o.nodeIndex).value:void 0},e)}function Cl(e,t,n,r){if(La(e,t,n,...r)){const i=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=i[e];8&r.flags&&(n[(s=r.nonMinifiedName,o=void 0,o=s.replace(/[$@]/g,"_"),`ng-reflect-${s=o.replace(un,(...e)=>"-"+e[1].toLowerCase())}`)]=hn(a))}const r=t.parent,a=_s(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,o}function Sl(e,t,n,r){Va(e,t,n,...r)}function xl(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 El(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 Tl{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=Vs(r),r=r.parent;this.elDef=n,this.elView=r}get elOrCompView(){return _s(this.elView,this.elDef.nodeIndex).componentView||this.view}get injector(){return ko(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){kl(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&&kl(this.elView,n,e),t+=n.childCount}}return e}get componentRenderElement(){const e=function(e){for(;e&&!Fs(e);)e=e.parent;return e.parent?_s(e.parent,Vs(e).nodeIndex):null}(this.elOrCompView);return e?e.renderElement:void 0}get renderNode(){return 2&this.nodeDef.flags?$s(this.view,this.nodeDef):$s(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 o=-1;n.factory(()=>++o===s?e.error.bind(e,...t):Ts),o<s&&(e.error("Illegal state: the ViewDefinitionFactory did not call the logger!"),e.error(...t))}}function kl(e,t,n){for(let r in t.references)n[r]=Ca(e,t,t.references[r])}function Al(e,t,n,r){const s=gl,o=ml,i=vl;try{gl=e;const l=t.apply(n,r);return ml=o,vl=i,gl=s,l}catch(a){if(At(a)||!ml)throw a;throw function(e,t){return e instanceof Error||(e=new Error(e.toString())),ms(e,t),e}(a,Ol())}}function Ol(){return ml?new Tl(ml,vl):null}class Rl{constructor(e){this.delegate=e}createRenderer(e,t){return new Il(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 Il{constructor(e){this.delegate=e,this.debugContextFactory=Ol,this.data=this.delegate.data}createDebugContext(e){return this.debugContextFactory(e)}destroyNode(e){!function(e){sa.delete(e.nativeNode)}(oa(e)),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 ra(n,null,r);t.name=e,ia(t)}return n}createComment(e){const t=this.delegate.createComment(e),n=this.createDebugContext(t);return n&&ia(new na(t,null,n)),t}createText(e){const t=this.delegate.createText(e),n=this.createDebugContext(t);return n&&ia(new na(t,null,n)),t}appendChild(e,t){const n=oa(e),r=oa(t);n&&r&&n instanceof ra&&n.addChild(r),this.delegate.appendChild(e,t)}insertBefore(e,t,n){const r=oa(e),s=oa(t),o=oa(n);r&&s&&r instanceof ra&&r.insertBefore(o,s),this.delegate.insertBefore(e,t,n)}removeChild(e,t){const n=oa(e),r=oa(t);n&&r&&n instanceof ra&&n.removeChild(r),this.delegate.removeChild(e,t)}selectRootElement(e,t){const n=this.delegate.selectRootElement(e,t),r=Ol();return r&&ia(new ra(n,null,r)),n}setAttribute(e,t,n,r){const s=oa(e);s&&s instanceof ra&&(s.attributes[r?r+":"+t:t]=n),this.delegate.setAttribute(e,t,n,r)}removeAttribute(e,t,n){const r=oa(e);r&&r instanceof ra&&(r.attributes[n?n+":"+t:t]=null),this.delegate.removeAttribute(e,t,n)}addClass(e,t){const n=oa(e);n&&n instanceof ra&&(n.classes[t]=!0),this.delegate.addClass(e,t)}removeClass(e,t){const n=oa(e);n&&n instanceof ra&&(n.classes[t]=!1),this.delegate.removeClass(e,t)}setStyle(e,t,n,r){const s=oa(e);s&&s instanceof ra&&(s.styles[t]=n),this.delegate.setStyle(e,t,n,r)}removeStyle(e,t,n){const r=oa(e);r&&r instanceof ra&&(r.styles[t]=null),this.delegate.removeStyle(e,t,n)}setProperty(e,t,n){const r=oa(e);r&&r instanceof ra&&(r.properties[t]=n),this.delegate.setProperty(e,t,n)}listen(e,t,n){if("string"!=typeof e){const r=oa(e);r&&r.listeners.push(new ta(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 Nl(e,t,n){return new jl(e,t,n)}class jl extends Mr{constructor(e,t,n){super(),this.moduleType=e,this._bootstrapComponents=t,this._ngModuleDefFactory=n}create(e){!function(){if(Wa)return;Wa=!0;const e=Pt()?{setCurrentNode:bl,createRootView:Ka,createEmbeddedView:Xa,createComponentView:el,createNgModuleRef:tl,overrideProvider:ol,overrideComponentView:il,clearOverrides:al,checkAndUpdateView:hl,checkNoChangesView:dl,destroyView:fl,createDebugContext:(e,t)=>new Tl(e,t),handleEvent:wl,updateDirectives:yl,updateRenderer:_l}:{setCurrentNode:()=>{},createRootView:Ja,createEmbeddedView:Ra,createComponentView:Na,createNgModuleRef:Io,overrideProvider:Ts,overrideComponentView:Ts,clearOverrides:Ts,checkAndUpdateView:Ma,checkNoChangesView:Ua,destroyView:Fa,createDebugContext:(e,t)=>new Tl(e,t),handleEvent:(e,t,n,r)=>e.def.handleEvent(e,t,n,r),updateDirectives:(e,t)=>e.def.updateDirectives(0===t?cl:ul,e),updateRenderer:(e,t)=>e.def.updateRenderer(0===t?cl:ul,e)};Es.setCurrentNode=e.setCurrentNode,Es.createRootView=e.createRootView,Es.createEmbeddedView=e.createEmbeddedView,Es.createComponentView=e.createComponentView,Es.createNgModuleRef=e.createNgModuleRef,Es.overrideProvider=e.overrideProvider,Es.overrideComponentView=e.overrideComponentView,Es.clearOverrides=e.clearOverrides,Es.checkAndUpdateView=e.checkAndUpdateView,Es.checkNoChangesView=e.checkNoChangesView,Es.destroyView=e.destroyView,Es.resolveDep=Wo,Es.createDebugContext=e.createDebugContext,Es.handleEvent=e.handleEvent,Es.updateDirectives=e.updateDirectives,Es.updateRenderer=e.updateRenderer,Es.dirtyParentQueries=wa}();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}}(Gs(this._ngModuleDefFactory));return Es.createNgModuleRef(this.moduleType,e||z.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"),o=n("I55L"),i=n("kJWO"),a=n("Lhse"),l=n("yCtX"),c=n("quSY"),u=n("a7t3"),h=n("pLzU"),d=n("CRDf"),f=n("SeVD");function p(e,t){if(!t)return e instanceof r.a?e:new r.a(Object(f.a)(e));if(null!=e){if(function(e){return e&&"function"==typeof e[i.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[i.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(o.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 o=s.next();e=o.value,t=o.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 p})},DH7j:function(e,t,n){"use strict";n.d(t,"a",function(){return r});const r=Array.isArray||(e=>e&&"number"==typeof e.length)},HDdC:function(e,t,n){"use strict";var r=n("7o/Q"),s=n("2QA8"),o=n("gRHU"),i=n("kJWO"),a=n("mCNh"),l=n("2fFW");n.d(t,"a",function(){return c});const 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:i}=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(o.a)}(e,t,n);if(a.add(i?i.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)}[i.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},KqfI:function(e,t,n){"use strict";function r(){}n.d(t,"a",function(){return r})},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()},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,"o",function(){return m}),n.d(t,"h",function(){return b}),n.d(t,"i",function(){return v}),n.d(t,"p",function(){return w}),n.d(t,"b",function(){return y}),n.d(t,"c",function(){return _}),n.d(t,"n",function(){return C}),n.d(t,"m",function(){return x}),n.d(t,"l",function(){return E}),n.d(t,"k",function(){return s}),n.d(t,"e",function(){return o}),n.d(t,"g",function(){return i}),n.d(t,"a",function(){return a}),n.d(t,"d",function(){return u}),n.d(t,"j",function(){return h}),n.d(t,"f",function(){return l});var r=n("8Y7J");class s{}const o=new r.n("Location Initialized");class i{}const a=new r.n("appBaseHref"),l=(()=>{class e{constructor(t,n){this._subject=new r.l,this._urlChangeListeners=[],this._platformStrategy=t;const s=this._platformStrategy.getBaseHref();this._platformLocation=n,this._baseHref=e.stripTrailingSlash(c(s)),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(t,n=""){return this.path()==this.normalize(t+e.normalizeQueryParams(n))}normalize(t){return e.stripTrailingSlash(function(e,t){return e&&t.startsWith(e)?t.substring(e.length):t}(this._baseHref,c(t)))}prepareExternalUrl(e){return e&&"/"!==e[0]&&(e="/"+e),this._platformStrategy.prepareExternalUrl(e)}go(t,n="",r=null){this._platformStrategy.pushState(r,"",t,n),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+e.normalizeQueryParams(n)),r)}replaceState(t,n="",r=null){this._platformStrategy.replaceState(r,"",t,n),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+e.normalizeQueryParams(n)),r)}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)}}return e})();function c(e){return e.replace(/\/index.html$/,"")}const u=(()=>(class extends i{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()}}))(),h=(()=>(class extends i{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()}}))(),d=void 0;var f=["en",[["a","p"],["AM","PM"],d],[["AM","PM"],d,d],[["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"]],d,[["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"]],d,[["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}",d,"{1} 'at' {0}",d],[".",",",";","%","+","-","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}];const p={},g=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}(),m=new r.n("UseV4Plurals");class v{}const b=(()=>(class extends v{constructor(e,t){super(),this.locale=e,this.deprecatedPluralFn=t}getPluralCategory(e,t){switch(this.deprecatedPluralFn?this.deprecatedPluralFn(t||this.locale,e):function(e){return function(e){const t=e.toLowerCase().replace(/_/g,"-");let n=p[t];if(n)return n;const r=t.split("-")[0];if(n=p[r])return n;if("en"===r)return f;throw new Error(`Missing locale data for the locale "${e}".`)}(e)[18]}(t||this.locale)(e)){case g.Zero:return"zero";case g.One:return"one";case g.Two:return"two";case g.Few:return"few";case g.Many:return"many";default:return"other"}}}))();function w(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}const y=(()=>(class{}))(),_=new r.n("DocumentToken"),C="browser",S="server";function x(e){return e===S}const E=(()=>{class e{}return e.ngInjectableDef=Object(r.ub)({providedIn:"root",factory:()=>new T(Object(r.yb)(_),window,Object(r.yb)(r.k))}),e})();class T{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 n=this.document.querySelector(`#${e}`);if(n)return void this.scrollToElement(n);const r=this.document.querySelector(`[name='${e}']`);if(r)return void this.scrollToElement(r)}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 f});var r=n("HDdC"),s=n("ngJS"),o=n("a7t3"),i=n("pLzU"),a=n("CRDf"),l=n("I55L"),c=n("c2HN"),u=n("XoHu"),h=n("Lhse"),d=n("kJWO");const f=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(o.a)(e);if(e&&"function"==typeof e[h.a])return Object(i.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})},XNiG:function(e,t,n){"use strict";var r=n("HDdC"),s=n("7o/Q"),o=n("quSY"),i=n("9ppp");class a extends o.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}}const 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 i.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 i.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 i.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 i.a;return super._trySubscribe(e)}_subscribe(e){if(this.closed)throw new i.a;return this.hasError?(e.error(this.thrownError),o.a.EMPTY):this.isStopped?(e.complete(),o.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):o.a.EMPTY}}},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 o});var r=n("51Dv"),s=n("SeVD");function o(e,t,n,o,i=new r.a(e,n,o)){if(!i.closed)return Object(s.a)(t)(i)}},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 o});var r=n("5+tZ"),s=n("SpAZ");function o(e=Number.POSITIVE_INFINITY){return Object(r.a)(s.a,e)}},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,"p",function(){return be}),n.d(t,"q",function(){return k}),n.d(t,"a",function(){return we}),n.d(t,"h",function(){return ve}),n.d(t,"c",function(){return A}),n.d(t,"d",function(){return O}),n.d(t,"e",function(){return te}),n.d(t,"f",function(){return ne}),n.d(t,"g",function(){return re}),n.d(t,"b",function(){return le}),n.d(t,"r",function(){return i}),n.d(t,"j",function(){return H}),n.d(t,"i",function(){return X}),n.d(t,"m",function(){return se}),n.d(t,"n",function(){return ae}),n.d(t,"l",function(){return N}),n.d(t,"o",function(){return I}),n.d(t,"k",function(){return ce});var r=n("SVse"),s=n("8Y7J");let o=null;function i(){return o}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 t=this.createElement("div",document);if(null!=this.getStyle(t,"animationName"))this._animationPrefix="";else{const e=["Webkit","Moz","O","ms"];for(let n=0;n<e.length;n++)if(null!=this.getStyle(t,e[n]+"AnimationName")){this._animationPrefix="-"+e[n].toLowerCase()+"-";break}}const n={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};Object.keys(n).forEach(e=>{null!=this.getStyle(t,e)&&(this._transitionEnd=n[e])})}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"},f=(()=>{if(s.jb.Node)return s.jb.Node.prototype.contains||function(e){return!!(16&this.compareDocumentPosition(e))}})();class p extends l{parse(e){throw new Error("parse not implemented")}static makeCurrent(){var e;e=new p,o||(o=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 f.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.p)(document.cookie,e)}setCookie(e,t){document.cookie=encodeURIComponent(e)+"="+encodeURIComponent(t)}}let g,m=null;function v(){return!!window.history.pushState}const b=(()=>{class e extends r.k{constructor(e){super(),this._doc=e,this._init()}_init(){this.location=i().getLocation(),this._history=i().getHistory()}getBaseHrefFromDOM(){return i().getBaseHref(this._doc)}onPopState(e){i().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",e,!1)}onHashChange(e){i().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){v()?this._history.pushState(e,t,n):this.location.hash=n}replaceState(e,t,n){v()?this._history.replaceState(e,t,n):this.location.hash=n}forward(){this._history.forward()}back(){this._history.back()}getState(){return this._history.state}}return e.ctorParameters=(()=>[{type:void 0,decorators:[{type:s.m,args:[r.c]}]}]),e})(),w=new s.n("TRANSITION_ID"),y=[{provide:s.d,useFactory:function(e,t,n){return()=>{n.get(s.e).donePromise.then(()=>{const n=i();Array.prototype.slice.apply(n.querySelectorAll(t,"style[ng-transition]")).filter(t=>n.getAttribute(t,"ng-transition")===e).forEach(e=>n.remove(e))})}},deps:[w,r.c,s.o],multi:!0}];class _{static init(){Object(s.R)(new _)}addToWindow(e){s.jb.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.jb.getAllAngularTestabilities=(()=>e.getAllTestabilities()),s.jb.getAllAngularRootElements=(()=>e.getAllRootElements()),s.jb.frameworkStabilizers||(s.jb.frameworkStabilizers=[]),s.jb.frameworkStabilizers.push(e=>{const t=s.jb.getAllAngularTestabilities();let n=t.length,r=!1;const o=function(t){r=r||t,0==--n&&e(r)};t.forEach(function(e){e.whenStable(o)})})}findTestabilityInTree(e,t,n){if(null==t)return null;const r=e.getTestability(t);return null!=r?r:n?i().isShadowRoot(t)?this.findTestabilityInTree(e,i().getHost(t),!0):this.findTestabilityInTree(e,i().parentElement(t),!0):null}}function C(e,t){"undefined"!=typeof COMPILED&&COMPILED||((s.jb.ng=s.jb.ng||{})[e]=t)}const S=(()=>({ApplicationRef:s.g,NgZone:s.w}))(),x="probe",E="coreTokens";function T(e){return Object(s.O)(e)}function k(e){return C(x,T),C(E,Object.assign({},S,(e||[]).reduce((e,t)=>(e[t.name]=t.token,e),{}))),()=>T}const A=new s.n("EventManagerPlugins"),O=(()=>(class{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 R{constructor(e){this._doc=e}addGlobalEventListener(e,t,n){const r=i().getGlobalEventTarget(this._doc,e);if(!r)throw new Error(`Unsupported event target ${r} for event ${t}`);return this.addEventListener(r,t,n)}}const I=(()=>(class{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)}}))(),N=(()=>(class extends I{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=>i().remove(e))}}))(),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%",U="_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 L(e){return t=>{!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}const H=(()=>(class{constructor(e,t,n){this.eventManager=e,this.sharedStylesHost=t,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new V(e)}createRenderer(e,t){if(!e||!t)return this.defaultRenderer;switch(t.encapsulation){case s.K.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.K.Native:case s.K.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 V{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.B.DashCase?e.style.setProperty(t,n,r&s.B.Important?"important":""):e.style[t]=n}removeStyle(e,t,n){n&s.B.DashCase?e.style.removeProperty(t):e.style[t]=""}setProperty(e,t,n){F(t,"property"),e[t]=n}setValue(e,t){e.nodeValue=t}listen(e,t,n){return F(t,"listener"),"string"==typeof e?this.eventManager.addGlobalEventListener(e,t,L(n)):this.eventManager.addEventListener(e,t,L(n))}}const $=(()=>"@".charCodeAt(0))();function F(e,t){if(e.charCodeAt(0)===$)throw new Error(`Found the synthetic ${t} ${e}. Please include either "BrowserAnimationsModule" or "NoopAnimationsModule" in your application.`)}class z extends V{constructor(e,t,n,r){super(e),this.component=n;const s=M(r+"-"+n.id,n.styles,[]);t.addStyles(s),this.contentAttr=U.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 V{constructor(e,t,n,r){super(e),this.sharedStylesHost=t,this.hostEl=n,this.component=r,this.shadowRoot=r.encapsulation===s.K.ShadowDom?n.attachShadow({mode:"open"}):n.createShadowRoot(),this.sharedStylesHost.addHost(this.shadowRoot);const o=M(r.id,r.styles,[]);for(let s=0;s<o.length;s++){const e=document.createElement("style");e.textContent=o[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})(),Z=q("addEventListener"),Q=q("removeEventListener"),G={},W="__zone_symbol__propagationStopped",J=(()=>{const e="undefined"!=typeof Zone&&Zone[q("BLACK_LISTED_EVENTS")];if(e){const t={};return e.forEach(e=>{t[e]=e}),t}})(),K=function(e){return!!J&&J.hasOwnProperty(e)},Y=function(e){const t=G[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[W];n++){const e=t[n];e.zone!==Zone.current?e.zone.run(e.handler,this,r):e.handler.apply(this,r)}}},X=(()=>(class extends R{constructor(e,t,n){super(e),this.ngZone=t,n&&Object(r.m)(n)||this.patchEvent()}patchEvent(){if("undefined"==typeof Event||!Event||!Event.prototype)return;if(Event.prototype.__zone_symbol__stopImmediatePropagation)return;const e=Event.prototype.__zone_symbol__stopImmediatePropagation=Event.prototype.stopImmediatePropagation;Event.prototype.stopImmediatePropagation=function(){this&&(this[W]=!0),e&&e.apply(this,arguments)}}supports(e){return!0}addEventListener(e,t,n){let r=n;if(!e[Z]||s.w.isInAngularZone()&&!K(t))e.addEventListener(t,r,!1);else{let n=G[t];n||(n=G[t]=q("ANGULAR"+t+"FALSE"));let s=e[n];const o=s&&s.length>0;s||(s=e[n]=[]);const i=K(t)?Zone.root:Zone.current;if(0===s.length)s.push({zone:i,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:i,handler:r})}o||e[Z](t,Y,!1)}return()=>this.removeEventListener(e,t,r)}removeEventListener(e,t,n){let r=e[Q];if(!r)return e.removeEventListener.apply(e,[t,n,!1]);let s=G[t],o=s&&e[s];if(!o)return e.removeEventListener.apply(e,[t,n,!1]);let i=!1;for(let a=0;a<o.length;a++)if(o[a].handler===n){i=!0,o.splice(a,1);break}i?0===o.length&&r.apply(e,[t,Y,!1]):e.removeEventListener.apply(e,[t,n,!1])}}))(),ee={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},te=new s.n("HammerGestureConfig"),ne=new s.n("HammerLoader"),re=(()=>(class{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}}))(),se=(()=>(class extends R{constructor(e,t,n,r){super(e),this._config=t,this.console=n,this.loader=r}supports(e){return!(!ee.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),o=function(e){r.runGuarded(function(){n(e)})};return s.on(t,o),()=>{s.off(t,o),"function"==typeof s.destroy&&s.destroy()}})}isCustomEvent(e){return this._config.events.indexOf(e)>-1}}))(),oe=["alt","control","meta","shift"],ie={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},ae=(()=>{class e extends R{constructor(e){super(e)}supports(t){return null!=e.parseEventName(t)}addEventListener(t,n,r){const s=e.parseEventName(n),o=e.eventCallback(s.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>i().onAndCancel(t,s.domEventName,o))}static parseEventName(t){const n=t.toLowerCase().split("."),r=n.shift();if(0===n.length||"keydown"!==r&&"keyup"!==r)return null;const s=e._normalizeKey(n.pop());let o="";if(oe.forEach(e=>{const t=n.indexOf(e);t>-1&&(n.splice(t,1),o+=e+".")}),o+=s,0!=n.length||0===s.length)return null;const i={};return i.domEventName=r,i.fullKey=o,i}static getEventFullKey(e){let t="",n=i().getEventKey(e);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),oe.forEach(r=>{r!=n&&(0,ie[r])(e)&&(t+=r+".")}),t+=n}static eventCallback(t,n,r){return s=>{e.getEventFullKey(s)===t&&r.runGuarded(()=>n(s))}}static _normalizeKey(e){switch(e){case"esc":return"escape";default:return e}}}return e})();class le{}const ce=(()=>(class extends le{constructor(e){super(),this._doc=e}sanitize(e,t){if(null==t)return null;switch(e){case s.D.NONE:return t;case s.D.HTML:return t instanceof he?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"HTML"),Object(s.V)(this._doc,String(t)));case s.D.STYLE:return t instanceof de?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"Style"),Object(s.W)(t));case s.D.SCRIPT:if(t instanceof fe)return t.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(t,"Script"),new Error("unsafe value used in a script context");case s.D.URL:return t instanceof ge||t instanceof pe?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"URL"),Object(s.X)(String(t)));case s.D.RESOURCE_URL:if(t instanceof ge)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 ue)throw new Error(`Required a safe ${t}, got a ${e.getTypeName()} `+"(see http://g.co/ng/security#xss)")}bypassSecurityTrustHtml(e){return new he(e)}bypassSecurityTrustStyle(e){return new de(e)}bypassSecurityTrustScript(e){return new fe(e)}bypassSecurityTrustUrl(e){return new pe(e)}bypassSecurityTrustResourceUrl(e){return new ge(e)}}))();class ue{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity}`+" (see http://g.co/ng/security#xss)"}}class he extends ue{getTypeName(){return"HTML"}}class de extends ue{getTypeName(){return"Style"}}class fe extends ue{getTypeName(){return"Script"}}class pe extends ue{getTypeName(){return"URL"}}class ge extends ue{getTypeName(){return"ResourceURL"}}const me=[{provide:s.y,useValue:r.n},{provide:s.z,useValue:function(){p.makeCurrent(),_.init()},multi:!0},{provide:r.k,useClass:b,deps:[r.c]},{provide:r.c,useFactory:function(){return document},deps:[]}],ve=Object(s.M)(s.Q,"browser",me);function be(){return new s.k}const we=(()=>{class e{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(t){return{ngModule:e,providers:[{provide:s.c,useValue:t.appId},{provide:w,useExisting:s.c},y]}}}return e})();"undefined"!=typeof window&&window},gRHU:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n("2fFW"),s=n("NJ4a");const o={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"),o=n("z+Ro"),i=n("yCtX"),a=n("HDdC");const l=new a.a(e=>e.complete());function c(e){return e?function(e){return new a.a(t=>e.schedule(()=>t.complete()))}(e):l}function u(e){const t=new a.a(t=>{t.next(e),t.complete()});return t._isScalar=!0,t.value=e,t}function h(...e){let t=e[e.length-1];switch(Object(o.a)(t)?e.pop():t=void 0,e.length){case 0:return c(t);case 1:return t?Object(i.a)(e,t):u(e[0]);default:return Object(i.a)(e,t)}}var d=n("Cfvw"),f=n("XNiG"),p=n("9ppp");class g extends f.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 p.a;return this._value}next(e){super.next(this._value=e)}}function m(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}m.prototype=Object.create(Error.prototype);const v=m;var b=n("DH7j"),w=n("l7GE"),y=n("ZUHj");const _={};class C{constructor(e){this.resultSelector=e}call(e,t){return t.subscribe(new S(e,this.resultSelector))}}class S extends w.a{constructor(e,t){super(e),this.resultSelector=t,this.active=0,this.values=[],this.observables=[]}_next(e){this.values.push(_),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(y.a)(this,t,t,n))}}}notifyComplete(e){0==(this.active-=1)&&this.destination.complete()}notifyNext(e,t,n,r,s){const o=this.values,i=this.toRespond?o[n]===_?--this.toRespond:this.toRespond:0;o[n]=t,0===i&&(this.resultSelector?this._tryResultSelector(o):this.destination.next(o.slice()))}_tryResultSelector(e){let t;try{t=this.resultSelector.apply(this,e)}catch(n){return void this.destination.error(n)}this.destination.next(t)}}function x(e){return new a.a(t=>{let n;try{n=e()}catch(r){return void t.error(r)}return(n?Object(d.a)(n):c()).subscribe(t)})}var E=n("lJxs"),T=n("bHdf");function k(){return Object(T.a)(1)}var A=n("7o/Q");function O(e,t){return function(n){return n.lift(new R(e,t))}}class R{constructor(e,t){this.predicate=e,this.thisArg=t}call(e,t){return t.subscribe(new I(e,this.predicate,this.thisArg))}}class I extends A.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)}}function N(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}N.prototype=Object.create(Error.prototype);const j=N;function P(e){return function(t){return 0===e?c():t.lift(new D(e))}}class D{constructor(e){if(this.total=e,this.total<0)throw new j}call(e,t){return t.subscribe(new U(e,this.total))}}class U extends A.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 M=n("KqfI"),L=n("n6bG");function H(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 $(e,this.nextOrObserver,this.error,this.complete))}}class $ extends A.a{constructor(e,t,n,r){super(e),this._tapNext=M.a,this._tapError=M.a,this._tapComplete=M.a,this._tapError=n||M.a,this._tapComplete=r||M.a,Object(L.a)(t)?(this._context=this,this._tapNext=t):t&&(this._context=t,this._tapNext=t.next||M.a,this._tapError=t.error||M.a,this._tapComplete=t.complete||M.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 F=(e=function(){return new v})=>H({hasValue:!1,next(){this.hasValue=!0},complete(){if(!this.hasValue)throw e()}});function z(e=null){return t=>t.lift(new B(e))}class B{constructor(e){this.defaultValue=e}call(e,t){return t.subscribe(new q(e,this.defaultValue))}}class q extends A.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 Q(e,t){const n=arguments.length>=2;return r=>r.pipe(e?O((t,n)=>e(t,n,r)):Z.a,P(1),n?z(t):F(()=>new v))}var G=n("51Dv");function W(e){return function(t){const n=new J(e),r=t.lift(n);return n.caught=r}}class J{constructor(e){this.selector=e}call(e,t){return t.subscribe(new K(e,this.selector,this.caught))}}class K extends w.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 G.a(this,void 0,void 0);this.add(r),Object(y.a)(this,n,void 0,void 0,r)}}}function Y(e){return t=>0===e?c():t.lift(new X(e))}class X{constructor(e){if(this.total=e,this.total<0)throw new j}call(e,t){return t.subscribe(new ee(e,this.total))}}class ee extends A.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 te(e,t){const n=arguments.length>=2;return r=>r.pipe(e?O((t,n)=>e(t,n,r)):Z.a,Y(1),n?z(t):F(()=>new v))}var ne=n("5+tZ");class re{constructor(e,t,n){this.predicate=e,this.thisArg=t,this.source=n}call(e,t){return t.subscribe(new se(e,this.predicate,this.thisArg,this.source))}}class se extends A.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 oe(e,t){return"function"==typeof t?n=>n.pipe(oe((n,r)=>Object(d.a)(e(n,r)).pipe(Object(E.a)((e,s)=>t(n,e,r,s))))):t=>t.lift(new ie(e))}class ie{constructor(e){this.project=e}call(e,t){return t.subscribe(new ae(e,this.project))}}class ae extends w.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 G.a(this,void 0,void 0);this.destination.add(s),this.innerSubscription=Object(y.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)}}function le(e,t){let n=!1;return arguments.length>=2&&(n=!0),function(r){return r.lift(new ce(e,t,n))}}class ce{constructor(e,t,n=!1){this.accumulator=e,this.seed=t,this.hasSeed=n}call(e,t){return t.subscribe(new ue(e,this.accumulator,this.seed,this.hasSeed))}}class ue extends A.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)}}function he(e,t){return Object(ne.a)(e,t,1)}var de=n("mCNh"),fe=n("quSY");class pe{constructor(e){this.callback=e}call(e,t){return t.subscribe(new ge(e,this.callback))}}class ge extends A.a{constructor(e,t){super(e),this.add(new fe.a(t))}}var me=n("cUpR");n.d(t,"A",function(){return Pe}),n.d(t,"q",function(){return Gn}),n.d(t,"x",function(){return sr}),n.d(t,"s",function(){return Yn}),n.d(t,"y",function(){return or}),n.d(t,"z",function(){return ir}),n.d(t,"u",function(){return er}),n.d(t,"t",function(){return Xn}),n.d(t,"w",function(){return rr}),n.d(t,"r",function(){return Jn}),n.d(t,"v",function(){return nr}),n.d(t,"B",function(){return Zn}),n.d(t,"m",function(){return Vn}),n.d(t,"j",function(){return An}),n.d(t,"k",function(){return Mn}),n.d(t,"i",function(){return Rn}),n.d(t,"g",function(){return Qn}),n.d(t,"h",function(){return ar}),n.d(t,"l",function(){return Kn}),n.d(t,"b",function(){return Hn}),n.d(t,"d",function(){return Bn}),n.d(t,"e",function(){return zn}),n.d(t,"f",function(){return Fn}),n.d(t,"n",function(){return qn}),n.d(t,"a",function(){return Et}),n.d(t,"o",function(){return Nn}),n.d(t,"c",function(){return st}),n.d(t,"p",function(){return rt});class ve{constructor(e,t){this.id=e,this.url=t}}class be extends ve{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 we extends ve{constructor(e,t,n){super(e,t),this.urlAfterRedirects=n}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class ye extends ve{constructor(e,t,n){super(e,t),this.reason=n}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class _e extends ve{constructor(e,t,n){super(e,t),this.error=n}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Ce extends ve{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 Se extends ve{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 xe extends ve{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 Ee extends ve{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 Te extends ve{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 ke{constructor(e){this.route=e}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Ae{constructor(e){this.route=e}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Oe{constructor(e){this.snapshot=e}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Re{constructor(e){this.snapshot=e}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ie{constructor(e){this.snapshot=e}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ne{constructor(e){this.snapshot=e}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class je{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}')`}}const Pe=(()=>(class{}))(),De="primary";class Ue{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 Me(e){return new Ue(e)}const Le="ngNavigationCancelingError";function He(e){const t=Error("NavigationCancelingError: "+e);return t[Le]=!0,t}function Ve(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 o=0;o<r.length;o++){const t=r[o],n=e[o];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 $e{constructor(e,t){this.routes=e,this.module=t}}function Fe(e,t=""){for(let n=0;n<e.length;n++){const r=e[n];ze(r,Be(t,r))}}function ze(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!==De)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&&Fe(e.children,t)}function Be(e,t){return t?e||t.path?e&&!t.path?`${e}/`:!e&&t.path?t.path:`${e}/${t.path}`:"":e}function qe(e){const t=e.children&&e.children.map(qe),n=t?Object.assign({},e,{children:t}):Object.assign({},e);return!n.component&&(t||n.loadChildren)&&n.outlet&&n.outlet!==De&&(n.component=Pe),n}function Ze(e,t){const n=Object.keys(e),r=Object.keys(t);if(!n||!r||n.length!=r.length)return!1;let s;for(let o=0;o<n.length;o++)if(e[s=n[o]]!==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 Je(e){return Object(s.lb)(e)?e:Object(s.mb)(e)?Object(d.a)(Promise.resolve(e)):h(e)}function Ke(e,t,n){return n?function(e,t){return Ze(e,t)}(e.queryParams,t.queryParams)&&function e(t,n){if(!tt(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!!tt(n.segments.slice(0,s.length),s)&&!r.hasChildren()}if(n.segments.length===s.length){if(!tt(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),o=s.slice(n.segments.length);return!!tt(n.segments,e)&&!!n.children[De]&&t(n.children[De],r,o)}}(t,n,n.segments)}(e.root,t.root)}class Ye{constructor(e,t,n){this.root=e,this.queryParams=t,this.fragment=n}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Me(this.queryParams)),this._queryParamMap}toString(){return ot.serialize(this)}}class Xe{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 it(this)}}class et{constructor(e,t){this.path=e,this.parameters=t}get parameterMap(){return this._parameterMap||(this._parameterMap=Me(this.parameters)),this._parameterMap}toString(){return dt(this)}}function tt(e,t){return e.length===t.length&&e.every((e,n)=>e.path===t[n].path)}function nt(e,t){let n=[];return We(e.children,(e,r)=>{r===De&&(n=n.concat(t(e,r)))}),We(e.children,(e,r)=>{r!==De&&(n=n.concat(t(e,r)))}),n}class rt{}class st{parse(e){const t=new vt(e);return new Ye(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}serialize(e){var t;return`${`/${function e(t,n){if(!t.hasChildren())return it(t);if(n){const n=t.children[De]?e(t.children[De],!1):"",r=[];return We(t.children,(t,n)=>{n!==De&&r.push(`${n}:${e(t,!1)}`)}),r.length>0?`${n}(${r.join("//")})`:n}{const n=nt(t,(n,r)=>r===De?[e(t.children[De],!1)]:[`${r}:${e(n,!1)}`]);return`${it(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=>`${lt(t)}=${lt(e)}`).join("&"):`${lt(t)}=${lt(n)}`});return t.length?`?${t.join("&")}`:""}(e.queryParams)}${"string"==typeof e.fragment?`#${t=e.fragment,encodeURI(t)}`:""}`}}const ot=new st;function it(e){return e.segments.map(e=>dt(e)).join("/")}function at(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function lt(e){return at(e).replace(/%3B/gi,";")}function ct(e){return at(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function ut(e){return decodeURIComponent(e)}function ht(e){return ut(e.replace(/\+/g,"%20"))}function dt(e){return`${ct(e.path)}${t=e.parameters,Object.keys(t).map(e=>`;${ct(e)}=${ct(t[e])}`).join("")}`;var t}const ft=/^[^\/()?;=#]+/;function pt(e){const t=e.match(ft);return t?t[0]:""}const gt=/^[^=?&#]+/,mt=/^[^?&#]+/;class vt{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Xe([],{}):new Xe([],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[De]=new Xe(e,t)),n}parseSegment(){const e=pt(this.remaining);if(""===e&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(e),new et(ut(e),this.parseMatrixParams())}parseMatrixParams(){const e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){const t=pt(this.remaining);if(!t)return;this.capture(t);let n="";if(this.consumeOptional("=")){const e=pt(this.remaining);e&&this.capture(n=e)}e[ut(t)]=ut(n)}parseQueryParam(e){const t=function(e){const t=e.match(gt);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(mt);return t?t[0]:""}(this.remaining);e&&this.capture(n=e)}const r=ht(t),s=ht(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=pt(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=De);const o=this.parseChildren();t[s]=1===Object.keys(o).length?o[De]:new Xe([],o),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 bt{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=wt(e,this._root);return t?t.children.map(e=>e.value):[]}firstChild(e){const t=wt(e,this._root);return t&&t.children.length>0?t.children[0].value:null}siblings(e){const t=yt(e,this._root);return t.length<2?[]:t[t.length-2].children.map(e=>e.value).filter(t=>t!==e)}pathFromRoot(e){return yt(e,this._root).map(e=>e.value)}}function wt(e,t){if(e===t.value)return t;for(const n of t.children){const t=wt(e,n);if(t)return t}return null}function yt(e,t){if(e===t.value)return[t];for(const n of t.children){const r=yt(e,n);if(r.length)return r.unshift(t),r}return[]}class _t{constructor(e,t){this.value=e,this.children=t}toString(){return`TreeNode(${this.value})`}}function Ct(e){const t={};return e&&e.children.forEach(e=>t[e.value.outlet]=e),t}class St extends bt{constructor(e,t){super(e),this.snapshot=t,Ot(this,e)}toString(){return this.snapshot.toString()}}function xt(e,t){const n=function(e,t){const n=new kt([],{},{},"",{},De,t,null,e.root,-1,{});return new At("",new _t(n,[]))}(e,t),r=new g([new et("",{})]),s=new g({}),o=new g({}),i=new g({}),a=new g(""),l=new Et(r,s,i,a,o,De,t,n.root);return l.snapshot=n.root,new St(new _t(l,[]),n)}class Et{constructor(e,t,n,r,s,o,i,a){this.url=e,this.params=t,this.queryParams=n,this.fragment=r,this.data=s,this.outlet=o,this.component=i,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(E.a)(e=>Me(e)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(Object(E.a)(e=>Me(e)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Tt(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 kt{constructor(e,t,n,r,s,o,i,a,l,c,u){this.url=e,this.params=t,this.queryParams=n,this.fragment=r,this.data=s,this.outlet=o,this.component=i,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=Me(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Me(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(e=>e.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class At extends bt{constructor(e,t){super(t),this.url=e,Ot(this,t)}toString(){return Rt(this._root)}}function Ot(e,t){t.value._routerState=e,t.children.forEach(t=>Ot(e,t))}function Rt(e){const t=e.children.length>0?` { ${e.children.map(Rt).join(", ")} } `:"";return`${e.value}${t}`}function It(e){if(e.snapshot){const t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,Ze(t.queryParams,n.queryParams)||e.queryParams.next(n.queryParams),t.fragment!==n.fragment&&e.fragment.next(n.fragment),Ze(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(!Ze(e[n],t[n]))return!1;return!0}(t.url,n.url)||e.url.next(n.url),Ze(t.data,n.data)||e.data.next(n.data)}else e.snapshot=e._futureSnapshot,e.data.next(e._futureSnapshot.data)}function Nt(e,t){var n,r;return Ze(e.params,t.params)&&tt(n=e.url,r=t.url)&&n.every((e,t)=>Ze(e.parameters,r[t].parameters))&&!(!e.parent!=!t.parent)&&(!e.parent||Nt(e.parent,t.parent))}function jt(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function Pt(e,t,n,r,s){let o={};return r&&We(r,(e,t)=>{o[t]=Array.isArray(e)?e.map(e=>`${e}`):`${e}`}),new Ye(n.root===e?t:function e(t,n,r){const s={};return We(t.children,(t,o)=>{s[o]=t===n?r:e(t,n,r)}),new Xe(t.segments,s)}(n.root,e,t),o,s)}class Dt{constructor(e,t,n){if(this.isAbsolute=e,this.numberOfDoubleDots=t,this.commands=n,e&&n.length>0&&jt(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 Ut{constructor(e,t,n){this.segmentGroup=e,this.processChildren=t,this.index=n}}function Mt(e){return"object"==typeof e&&null!=e&&e.outlets?e.outlets[De]:`${e}`}function Lt(e,t,n){if(e||(e=new Xe([],{})),0===e.segments.length&&e.hasChildren())return Ht(e,t,n);const r=function(e,t,n){let r=0,s=t;const o={match:!1,pathIndex:0,commandIndex:0};for(;s<e.segments.length;){if(r>=n.length)return o;const t=e.segments[s],i=Mt(n[r]),a=r<n.length-1?n[r+1]:null;if(s>0&&void 0===i)break;if(i&&a&&"object"==typeof a&&void 0===a.outlets){if(!zt(i,a,t))return o;r+=2}else{if(!zt(i,{},t))return o;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 Xe(e.segments.slice(0,r.pathIndex),{});return t.children[De]=new Xe(e.segments.slice(r.pathIndex),e.children),Ht(t,0,s)}return r.match&&0===s.length?new Xe(e.segments,{}):r.match&&!e.hasChildren()?Vt(e,t,n):r.match?Ht(e,0,s):Vt(e,t,n)}function Ht(e,t,n){if(0===n.length)return new Xe(e.segments,{});{const r=function(e){return"object"!=typeof e[0]?{[De]:e}:void 0===e[0].outlets?{[De]:e}:e[0].outlets}(n),s={};return We(r,(n,r)=>{null!==n&&(s[r]=Lt(e.children[r],t,n))}),We(e.children,(e,t)=>{void 0===r[t]&&(s[t]=e)}),new Xe(e.segments,s)}}function Vt(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=$t(n[s].outlets);return new Xe(r,e)}if(0===s&&jt(n[0])){r.push(new et(e.segments[t].path,n[0])),s++;continue}const o=Mt(n[s]),i=s<n.length-1?n[s+1]:null;o&&i&&jt(i)?(r.push(new et(o,Ft(i))),s+=2):(r.push(new et(o,{})),s++)}return new Xe(r,{})}function $t(e){const t={};return We(e,(e,n)=>{null!==e&&(t[n]=Vt(new Xe([],{}),0,e))}),t}function Ft(e){const t={};return We(e,(e,n)=>t[n]=`${e}`),t}function zt(e,t,n){return e==n.path&&Ze(t,n.parameters)}const Bt=(e,t,n)=>Object(E.a)(r=>(new qt(t,r.targetRouterState,r.currentRouterState,n).activate(e),r));class qt{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),It(this.futureState.root),this.activateChildRoutes(t,n,e)}deactivateChildRoutes(e,t,n){const r=Ct(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=Ct(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=Ct(t);e.children.forEach(e=>{this.activateRoutes(e,r[e.value.outlet],n),this.forwardEvent(new Ne(e.value.snapshot))}),e.children.length&&this.forwardEvent(new Re(e.value.snapshot))}activateRoutes(e,t,n){const r=e.value,s=t?t.value:null;if(It(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),Zt(e.route)}else{const n=function(e){for(let t=r.snapshot.parent;t;t=t.parent){const e=t.routeConfig;if(e&&e._loadedConfig)return e._loadedConfig;if(e&&e.component)return null}return null}(),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 Zt(e){It(e.value),e.children.forEach(Zt)}function Qt(e){return"function"==typeof e}function Gt(e){return e instanceof Ye}class Wt{constructor(e){this.segmentGroup=e||null}}class Jt{constructor(e){this.urlTree=e}}function Kt(e){return new a.a(t=>t.error(new Wt(e)))}function Yt(e){return new a.a(t=>t.error(new Jt(e)))}function Xt(e){return new a.a(t=>t.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${e}'`)))}class en{constructor(e,t,n,r,o){this.configLoader=t,this.urlSerializer=n,this.urlTree=r,this.config=o,this.allowRedirects=!0,this.ngModule=e.get(s.u)}apply(){return this.expandSegmentGroup(this.ngModule,this.config,this.urlTree.root,De).pipe(Object(E.a)(e=>this.createUrlTree(e,this.urlTree.queryParams,this.urlTree.fragment))).pipe(W(e=>{if(e instanceof Jt)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,De).pipe(Object(E.a)(t=>this.createUrlTree(t,e.queryParams,e.fragment))).pipe(W(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 Xe([],{[De]:e}):e;return new Ye(r,t,n)}expandSegmentGroup(e,t,n,r){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(e,t,n).pipe(Object(E.a)(e=>new Xe([],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 h({});const n=[],r=[],s={};return We(e,(e,o)=>{const i=t(o,e).pipe(Object(E.a)(e=>s[o]=e));o===De?n.push(i):r.push(i)}),h.apply(null,n.concat(r)).pipe(k(),Q(),Object(E.a)(()=>s))}(n.children,(n,r)=>this.expandSegmentGroup(e,t,r,n))}expandSegment(e,t,n,r,s,o){return h(...n).pipe(Object(E.a)(i=>this.expandSegmentAgainstRoute(e,t,n,i,r,s,o).pipe(W(e=>{if(e instanceof Wt)return h(null);throw e}))),k(),te(e=>!!e),W((e,n)=>{if(e instanceof v||"EmptyError"===e.name){if(this.noLeftoversInUrl(t,r,s))return h(new Xe([],{}));throw new Wt(t)}throw e}))}noLeftoversInUrl(e,t,n){return 0===t.length&&!e.children[n]}expandSegmentAgainstRoute(e,t,n,r,s,o,i){return sn(r)!==o?Kt(t):void 0===r.redirectTo?this.matchSegmentAgainstRoute(e,t,r,s):i&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(e,t,n,r,s,o):Kt(t)}expandSegmentAgainstRouteUsingRedirect(e,t,n,r,s,o){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(e,n,r,o):this.expandRegularSegmentAgainstRouteUsingRedirect(e,t,n,r,s,o)}expandWildCardWithParamsAgainstRouteUsingRedirect(e,t,n,r){const s=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?Yt(s):this.lineralizeSegments(n,s).pipe(Object(ne.a)(n=>{const s=new Xe(n,{});return this.expandSegment(e,s,t,n,r,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(e,t,n,r,s,o){const{matched:i,consumedSegments:a,lastChild:l,positionalParamSegments:c}=tn(t,r,s);if(!i)return Kt(t);const u=this.applyRedirectCommands(a,r.redirectTo,c);return r.redirectTo.startsWith("/")?Yt(u):this.lineralizeSegments(r,u).pipe(Object(ne.a)(r=>this.expandSegment(e,t,n,r.concat(s.slice(l)),o,!1)))}matchSegmentAgainstRoute(e,t,n,r){if("**"===n.path)return n.loadChildren?this.configLoader.load(e.injector,n).pipe(Object(E.a)(e=>(n._loadedConfig=e,new Xe(r,{})))):h(new Xe(r,{}));const{matched:s,consumedSegments:o,lastChild:i}=tn(t,n,r);if(!s)return Kt(t);const a=r.slice(i);return this.getChildConfig(e,n,r).pipe(Object(ne.a)(e=>{const n=e.module,r=e.routes,{segmentGroup:s,slicedSegments:i}=function(e,t,n,r){return n.length>0&&function(e,t,n){return r.some(n=>rn(e,t,n)&&sn(n)!==De)}(e,n)?{segmentGroup:nn(new Xe(t,function(e,t){const n={};n[De]=t;for(const r of e)""===r.path&&sn(r)!==De&&(n[sn(r)]=new Xe([],{}));return n}(r,new Xe(n,e.children)))),slicedSegments:[]}:0===n.length&&function(e,t,n){return r.some(n=>rn(e,t,n))}(e,n)?{segmentGroup:nn(new Xe(e.segments,function(e,t,n,r){const s={};for(const o of n)rn(e,t,o)&&!r[sn(o)]&&(s[sn(o)]=new Xe([],{}));return Object.assign({},r,s)}(e,n,r,e.children))),slicedSegments:n}:{segmentGroup:e,slicedSegments:n}}(t,o,a,r);return 0===i.length&&s.hasChildren()?this.expandChildren(n,r,s).pipe(Object(E.a)(e=>new Xe(o,e))):0===r.length&&0===i.length?h(new Xe(o,{})):this.expandSegment(n,s,r,i,De,!0).pipe(Object(E.a)(e=>new Xe(o.concat(e.segments),e.children)))}))}getChildConfig(e,t,n){return t.children?h(new $e(t.children,e)):t.loadChildren?void 0!==t._loadedConfig?h(t._loadedConfig):function(e,t,n){const r=t.canLoad;return r&&0!==r.length?Object(d.a)(r).pipe(Object(E.a)(r=>{const s=e.get(r);let o;if(function(e){return e&&Qt(e.canLoad)}(s))o=s.canLoad(t,n);else{if(!Qt(s))throw new Error("Invalid CanLoad guard");o=s(t,n)}return Je(o)})).pipe(k(),(s=(e=>!0===e),e=>e.lift(new re(s,void 0,e)))):h(!0);var s}(e.injector,t,n).pipe(Object(ne.a)(n=>n?this.configLoader.load(e.injector,t).pipe(Object(E.a)(e=>(t._loadedConfig=e,e))):function(e){return new a.a(t=>t.error(He(`Cannot load children because the guard of the route "path: '${e.path}'" returned false`)))}(t))):h(new $e([],e))}lineralizeSegments(e,t){let n=[],r=t.root;for(;;){if(n=n.concat(r.segments),0===r.numberOfChildren)return h(n);if(r.numberOfChildren>1||!r.children[De])return Xt(e.redirectTo);r=r.children[De]}}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 Ye(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 o={};return We(t.children,(t,s)=>{o[s]=this.createSegmentGroup(e,t,n,r)}),new Xe(s,o)}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 tn(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||Ve)(n,e,t);return r?{matched:!0,consumedSegments:r.consumed,lastChild:r.consumed.length,positionalParamSegments:r.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function nn(e){if(1===e.numberOfChildren&&e.children[De]){const t=e.children[De];return new Xe(e.segments.concat(t.segments),t.children)}return e}function rn(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0!==n.redirectTo}function sn(e){return e.outlet||De}class on{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}}class an{constructor(e,t){this.component=e,this.route=t}}function ln(e,t,n){const r=e._root;return function e(t,n,r,s,o={canDeactivateChecks:[],canActivateChecks:[]}){const i=Ct(n);return t.children.forEach(t=>{!function(t,n,r,s,o={canDeactivateChecks:[],canActivateChecks:[]}){const i=t.value,a=n?n.value:null,l=r?r.getContext(t.value.outlet):null;if(a&&i.routeConfig===a.routeConfig){const c=function(e,t,n){if("function"==typeof n)return n(e,t);switch(n){case"pathParamsChange":return!tt(e.url,t.url);case"pathParamsOrQueryParamsChange":return!tt(e.url,t.url)||!Ze(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Nt(e,t)||!Ze(e.queryParams,t.queryParams);case"paramsChange":default:return!Nt(e,t)}}(a,i,i.routeConfig.runGuardsAndResolvers);if(c?o.canActivateChecks.push(new on(s)):(i.data=a.data,i._resolvedData=a._resolvedData),e(t,n,i.component?l?l.children:null:r,s,o),c){o.canDeactivateChecks.push(new an(l&&l.outlet&&l.outlet.component||null,a))}}else a&&un(n,l,o),o.canActivateChecks.push(new on(s)),e(t,null,i.component?l?l.children:null:r,s,o)}(t,i[t.value.outlet],r,s.concat([t.value]),o),delete i[t.value.outlet]}),We(i,(e,t)=>un(e,r.getContext(t),o)),o}(r,t?t._root:null,n,[r.value])}function cn(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 un(e,t,n){const r=Ct(e),s=e.value;We(r,(e,r)=>{un(e,s.component?t?t.children.getContext(r):null:t,n)}),n.canDeactivateChecks.push(new an(s.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,s))}const hn=Symbol("INITIAL_VALUE");function dn(){return oe(e=>(function(...e){let t=null,n=null;return Object(o.a)(e[e.length-1])&&(n=e.pop()),"function"==typeof e[e.length-1]&&(t=e.pop()),1===e.length&&Object(b.a)(e[0])&&(e=e[0]),Object(i.a)(e,n).lift(new C(t))})(...e.map(e=>e.pipe(Y(1),function(...e){return t=>{let n=e[e.length-1];Object(o.a)(n)?e.pop():n=null;const r=e.length;return function(...e){return k()(h(...e))}(1!==r||n?r>0?Object(i.a)(e,n):c(n):u(e[0]),t)}}(hn)))).pipe(le((e,t)=>{let n=!1;return t.reduce((e,r,s)=>{if(e!==hn)return e;if(r===hn&&(n=!0),!n){if(!1===r)return r;if(s===t.length-1||Gt(r))return r}return e},e)},hn),O(e=>e!==hn),Object(E.a)(e=>Gt(e)?e:!0===e),Y(1)))}function fn(e,t){return null!==e&&t&&t(new Ie(e)),h(!0)}function pn(e,t){return null!==e&&t&&t(new Oe(e)),h(!0)}function gn(e,t,n){const r=t.routeConfig?t.routeConfig.canActivate:null;return r&&0!==r.length?h(r.map(r=>x(()=>{const s=cn(r,t,n);let o;if(function(e){return e&&Qt(e.canActivate)}(s))o=Je(s.canActivate(t,e));else{if(!Qt(s))throw new Error("Invalid CanActivate guard");o=Je(s(t,e))}return o.pipe(te())}))).pipe(dn()):h(!0)}function mn(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=>x(()=>h(t.guards.map(s=>{const o=cn(s,t.node,n);let i;if(function(e){return e&&Qt(e.canActivateChild)}(o))i=Je(o.canActivateChild(r,e));else{if(!Qt(o))throw new Error("Invalid CanActivateChild guard");i=Je(o(r,e))}return i.pipe(te())})).pipe(dn())));return h(s).pipe(dn())}class vn{}class bn{constructor(e,t,n,r,s,o){this.rootComponentType=e,this.config=t,this.urlTree=n,this.url=r,this.paramsInheritanceStrategy=s,this.relativeLinkResolution=o}recognize(){try{const t=_n(this.urlTree.root,[],[],this.config,this.relativeLinkResolution).segmentGroup,n=this.processSegmentGroup(this.config,t,De),r=new kt([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},De,this.rootComponentType,null,this.urlTree.root,-1,{}),s=new _t(r,n),o=new At(this.url,s);return this.inheritParamsAndData(o._root),h(o)}catch(e){return new a.a(t=>t.error(e))}}inheritParamsAndData(e){const t=e.value,n=Tt(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=nt(t,(t,n)=>this.processSegmentGroup(e,t,n));return function(e){const t={};n.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.sort((e,t)=>e.value.outlet===De?-1:t.value.outlet===De?1:e.value.outlet.localeCompare(t.value.outlet)),n}processSegment(e,t,n,r){for(const o of e)try{return this.processSegmentAgainstRoute(o,t,n,r)}catch(s){if(!(s instanceof vn))throw s}if(this.noLeftoversInUrl(t,n,r))return[];throw new vn}noLeftoversInUrl(e,t,n){return 0===t.length&&!e.children[n]}processSegmentAgainstRoute(e,t,n,r){if(e.redirectTo)throw new vn;if((e.outlet||De)!==r)throw new vn;let s,o=[],i=[];if("**"===e.path){const o=n.length>0?Ge(n).parameters:{};s=new kt(n,o,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,xn(e),r,e.component,e,wn(t),yn(t)+n.length,En(e))}else{const a=function(e,t,n){if(""===t.path){if("full"===t.pathMatch&&(e.hasChildren()||n.length>0))throw new vn;return{consumedSegments:[],lastChild:0,parameters:{}}}const r=(t.matcher||Ve)(n,e,t);if(!r)throw new vn;const s={};We(r.posParams,(e,t)=>{s[t]=e.path});const o=r.consumed.length>0?Object.assign({},s,r.consumed[r.consumed.length-1].parameters):s;return{consumedSegments:r.consumed,lastChild:r.consumed.length,parameters:o}}(t,e,n);o=a.consumedSegments,i=n.slice(a.lastChild),s=new kt(o,a.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,xn(e),r,e.component,e,wn(t),yn(t)+o.length,En(e))}const a=function(e){return e.children?e.children:e.loadChildren?e._loadedConfig.routes:[]}(e),{segmentGroup:l,slicedSegments:c}=_n(t,o,i,a,this.relativeLinkResolution);if(0===c.length&&l.hasChildren()){const e=this.processChildren(a,l);return[new _t(s,e)]}if(0===a.length&&0===c.length)return[new _t(s,[])];const u=this.processSegment(a,l,c,De);return[new _t(s,u)]}}function wn(e){let t=e;for(;t._sourceSegment;)t=t._sourceSegment;return t}function yn(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 _n(e,t,n,r,s){if(n.length>0&&function(e,t,n){return r.some(n=>Cn(e,t,n)&&Sn(n)!==De)}(e,n)){const s=new Xe(t,function(e,t,n,r){const s={};s[De]=r,r._sourceSegment=e,r._segmentIndexShift=t.length;for(const o of n)if(""===o.path&&Sn(o)!==De){const n=new Xe([],{});n._sourceSegment=e,n._segmentIndexShift=t.length,s[Sn(o)]=n}return s}(e,t,r,new Xe(n,e.children)));return s._sourceSegment=e,s._segmentIndexShift=t.length,{segmentGroup:s,slicedSegments:[]}}if(0===n.length&&function(e,t,n){return r.some(n=>Cn(e,t,n))}(e,n)){const o=new Xe(e.segments,function(e,t,n,r,s,o){const i={};for(const a of r)if(Cn(e,n,a)&&!s[Sn(a)]){const n=new Xe([],{});n._sourceSegment=e,n._segmentIndexShift="legacy"===o?e.segments.length:t.length,i[Sn(a)]=n}return Object.assign({},s,i)}(e,t,n,r,e.children,s));return o._sourceSegment=e,o._segmentIndexShift=t.length,{segmentGroup:o,slicedSegments:n}}const o=new Xe(e.segments,e.children);return o._sourceSegment=e,o._segmentIndexShift=t.length,{segmentGroup:o,slicedSegments:n}}function Cn(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0===n.redirectTo}function Sn(e){return e.outlet||De}function xn(e){return e.data||{}}function En(e){return e.resolve||{}}function Tn(e,t,n,r){const s=cn(e,t,r);return Je(s.resolve?s.resolve(t,n):s(t,n))}function kn(e){return function(t){return t.pipe(oe(t=>{const n=e(t);return n?Object(d.a)(n).pipe(Object(E.a)(()=>t)):Object(d.a)([t])}))}}class An{}class On{shouldDetach(e){return!1}store(e,t){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,t){return e.routeConfig===t.routeConfig}}const Rn=new s.n("ROUTES");class In{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(E.a)(n=>{this.onLoadEndListener&&this.onLoadEndListener(t);const r=n.create(e);return new $e(Qe(r.injector.get(Rn)).map(qe),r)}))}loadModuleFactory(e){return"string"==typeof e?Object(d.a)(this.loader.load(e)):Je(e()).pipe(Object(ne.a)(e=>e instanceof s.s?h(e):Object(d.a)(this.compiler.compileModuleAsync(e))))}}class Nn{}class jn{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,t){return e}}function Pn(e){throw e}function Dn(e,t,n){return t.parse("/")}function Un(e,t){return h(null)}class Mn{constructor(e,t,n,r,o,i,a,l){this.rootComponentType=e,this.urlSerializer=t,this.rootContexts=n,this.location=r,this.config=l,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new f.a,this.errorHandler=Pn,this.malformedUriErrorHandler=Dn,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:Un,afterPreactivation:Un},this.urlHandlingStrategy=new jn,this.routeReuseStrategy=new On,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="legacy",this.ngModule=o.get(s.u),this.console=o.get(s.U);const c=o.get(s.w);this.isNgZoneEnabled=c instanceof s.w,this.resetConfig(l),this.currentUrlTree=new Ye(new Xe([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new In(i,a,e=>this.triggerEvent(new ke(e)),e=>this.triggerEvent(new Ae(e))),this.routerState=xt(this.currentUrlTree,this.rootComponentType),this.transitions=new g({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(O(e=>0!==e.id),Object(E.a)(e=>Object.assign({},e,{extractedUrl:this.urlHandlingStrategy.extract(e.rawUrl)})),oe(e=>{let n=!1,r=!1;return h(e).pipe(H(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}}),oe(e=>{const n=!this.navigated||e.extractedUrl.toString()!==this.browserUrlTree.toString();if(("reload"===this.onSameUrlNavigation||n)&&this.urlHandlingStrategy.shouldProcessUrl(e.rawUrl))return h(e).pipe(oe(e=>{const n=this.transitions.getValue();return t.next(new be(e.id,this.serializeUrl(e.extractedUrl),e.source,e.restoredState)),n!==this.transitions.getValue()?l:[e]}),oe(e=>Promise.resolve(e)),function(e,t,n,r){return function(s){return s.pipe(oe(s=>(function(e,t,n,r,o){return new en(e,t,n,s.extractedUrl,o).apply()})(e,t,n,0,r).pipe(Object(E.a)(e=>Object.assign({},s,{urlAfterRedirects:e})))))}}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),H(e=>{this.currentNavigation=Object.assign({},this.currentNavigation,{finalUrl:e.urlAfterRedirects})}),function(e,t,n,r,s){return function(o){return o.pipe(Object(ne.a)(o=>(function(e,t,n,r,s="emptyOnly",o="legacy"){return new bn(e,t,n,r,s,o).recognize()})(e,t,o.urlAfterRedirects,n(o.urlAfterRedirects),r,s).pipe(Object(E.a)(e=>Object.assign({},o,{targetSnapshot:e})))))}}(this.rootComponentType,this.config,e=>this.serializeUrl(e),this.paramsInheritanceStrategy,this.relativeLinkResolution),H(e=>{"eager"===this.urlUpdateStrategy&&(e.extras.skipLocationChange||this.setBrowserUrl(e.urlAfterRedirects,!!e.extras.replaceUrl,e.id,e.extras.state),this.browserUrlTree=e.urlAfterRedirects)}),H(e=>{const n=new Ce(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:i}=e,a=new be(n,this.serializeUrl(r),s,o);t.next(a);const l=xt(r,this.rootComponentType).snapshot;return h(Object.assign({},e,{targetSnapshot:l,urlAfterRedirects:r,extras:Object.assign({},i,{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=e.rawUrl,this.browserUrlTree=e.urlAfterRedirects,e.resolve(null),l}),kn(e=>{const{targetSnapshot:t,id:n,extractedUrl:r,rawUrl:s,extras:{skipLocationChange:o,replaceUrl:i}}=e;return this.hooks.beforePreactivation(t,{navigationId:n,appliedUrlTree:r,rawUrlTree:s,skipLocationChange:!!o,replaceUrl:!!i})}),H(e=>{const t=new Se(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);this.triggerEvent(t)}),Object(E.a)(e=>Object.assign({},e,{guards:ln(e.targetSnapshot,e.currentSnapshot,this.rootContexts)})),function(e,t){return function(n){return n.pipe(Object(ne.a)(n=>{const{targetSnapshot:r,currentSnapshot:s,guards:{canActivateChecks:o,canDeactivateChecks:i}}=n;return 0===i.length&&0===o.length?h(Object.assign({},n,{guardsResult:!0})):function(e,t,n,r){return Object(d.a)(e).pipe(Object(ne.a)(e=>(function(e,t,n,r,s){const o=t&&t.routeConfig?t.routeConfig.canDeactivate:null;return o&&0!==o.length?h(o.map(o=>{const i=cn(o,t,s);let a;if(function(e){return e&&Qt(e.canDeactivate)}(i))a=Je(i.canDeactivate(e,t,n,r));else{if(!Qt(i))throw new Error("Invalid CanDeactivate guard");a=Je(i(e,t,n,r))}return a.pipe(te())})).pipe(dn()):h(!0)})(e.component,e.route,n,t,r)),te(e=>!0!==e,!0))}(i,r,s,e).pipe(Object(ne.a)(n=>n&&function(e){return"boolean"==typeof n}()?function(e,t,n,r){return Object(d.a)(t).pipe(he(t=>Object(d.a)([pn(t.route.parent,r),fn(t.route,r),mn(e,t.path,n),gn(e,t.route,n)]).pipe(k(),te(e=>!0!==e,!0))),te(e=>!0!==e,!0))}(r,o,e,t):h(n)),Object(E.a)(e=>Object.assign({},n,{guardsResult:e})))}))}}(this.ngModule.injector,e=>this.triggerEvent(e)),H(e=>{if(Gt(e.guardsResult)){const t=He(`Redirecting to "${this.serializeUrl(e.guardsResult)}"`);throw t.url=e.guardsResult,t}}),H(e=>{const t=new xe(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot,!!e.guardsResult);this.triggerEvent(t)}),O(e=>{if(!e.guardsResult){this.resetUrlToCurrentUrlTree();const n=new ye(e.id,this.serializeUrl(e.extractedUrl),"");return t.next(n),e.resolve(!1),!1}return!0}),kn(e=>{if(e.guards.canActivateChecks.length)return h(e).pipe(H(e=>{const t=new Ee(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(ne.a)(n=>{const{targetSnapshot:r,guards:{canActivateChecks:s}}=n;return s.length?Object(d.a)(s).pipe(he(n=>(function(e,t,n,s){return function(e,t,n,r){const s=Object.keys(e);if(0===s.length)return h({});if(1===s.length){const o=s[0];return Tn(e[o],t,n,r).pipe(Object(E.a)(e=>({[o]:e})))}const o={};return Object(d.a)(s).pipe(Object(ne.a)(s=>Tn(e[s],t,n,r).pipe(Object(E.a)(e=>(o[s]=e,e))))).pipe(Q(),Object(E.a)(()=>o))}(e._resolve,e,r,s).pipe(Object(E.a)(t=>(e._resolvedData=t,e.data=Object.assign({},e.data,Tt(e,n).resolve),null)))})(n.route,0,e,t)),function(e,t){return arguments.length>=2?function(t){return Object(de.a)(le(e,void 0),P(1),z(void 0))(t)}:function(t){return Object(de.a)(le((t,n,r)=>e(t)),P(1))(t)}}((e,t)=>e),Object(E.a)(e=>n)):h(n)}))}}(this.paramsInheritanceStrategy,this.ngModule.injector),H(e=>{const t=new Te(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);this.triggerEvent(t)}))}),kn(e=>{const{targetSnapshot:t,id:n,extractedUrl:r,rawUrl:s,extras:{skipLocationChange:o,replaceUrl:i}}=e;return this.hooks.afterPreactivation(t,{navigationId:n,appliedUrlTree:r,rawUrlTree:s,skipLocationChange:!!o,replaceUrl:!!i})}),Object(E.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 o=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 _t(s,o)}{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 Et(new g((s=n.value).url),new g(s.params),new g(s.queryParams),new g(s.fragment),new g(s.data),s.outlet,s.component,s),o=n.children.map(n=>e(t,n));return new _t(r,o)}}var s}(e,t._root,n?n._root:void 0);return new St(r,t)}(this.routeReuseStrategy,e.targetSnapshot,e.currentRouterState);return Object.assign({},e,{targetRouterState:t})}),H(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)}),Bt(this.rootContexts,this.routeReuseStrategy,e=>this.triggerEvent(e)),H({next(){n=!0},complete(){n=!0}}),function(e){return t=>t.lift(new pe(e))}(()=>{if(!n&&!r){this.resetUrlToCurrentUrlTree();const n=new ye(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}),W(n=>{if(r=!0,function(e){return n&&n[Le]}()){const r=Gt(n.url);r||(this.navigated=!0,this.resetStateAndUrl(e.currentRouterState,e.currentUrlTree,e.rawUrl));const s=new ye(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 _e(e.id,this.serializeUrl(e.extractedUrl),n);t.next(r);try{e.resolve(this.errorHandler(n))}catch(s){e.reject(s)}}return l}))}))}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){Fe(e),this.config=e.map(qe),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:o,preserveQueryParams:i,queryParamsHandling:a,preserveFragment:l}=t;Object(s.P)()&&i&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead.");const c=n||this.routerState.root,u=l?this.currentUrlTree.fragment:o;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=i?this.currentUrlTree.queryParams:r||null;return null!==h&&(h=this.removeEmptyProps(h)),function(e,t,n,r,s){if(0===n.length)return Pt(t.root,t.root,t,r,s);const o=function(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new Dt(!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 Dt(n,t,r)}(n);if(o.toRoot())return Pt(t.root,new Xe([],{}),t,r,s);const i=function(e,n,r){if(e.isAbsolute)return new Ut(t.root,!0,0);if(-1===r.snapshot._lastPathIndex)return new Ut(r.snapshot._urlSegment,!0,0);const s=jt(e.commands[0])?0:1;return function(t,n,o){let i=r.snapshot._urlSegment,a=r.snapshot._lastPathIndex+s,l=e.numberOfDoubleDots;for(;l>a;){if(l-=a,!(i=i.parent))throw new Error("Invalid number of '../'");a=i.segments.length}return new Ut(i,!1,a-l)}()}(o,0,e),a=i.processChildren?Ht(i.segmentGroup,i.index,o.commands):Lt(i.segmentGroup,i.index,o.commands);return Pt(i.segmentGroup,a,t,r,s)}(c,this.currentUrlTree,e,h,u)}navigateByUrl(e,t={skipLocationChange:!1}){Object(s.P)()&&this.isNgZoneEnabled&&!s.w.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 Ke(this.currentUrlTree,e,t);const n=this.parseUrl(e);return Ke(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 we(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 o=null,i=null;const a=new Promise((e,t)=>{o=e,i=t}),l=++this.navigationId;return this.setTransition({id:l,source:t,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:e,extras:r,resolve:o,reject:i,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 Ln{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new Hn,this.attachRef=null}}class Hn{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 Ln,this.contexts.set(e,t)),t}getContext(e){return this.contexts.get(e)||null}}const Vn=(()=>(class{constructor(e,t,n,r,o){this.parentContexts=e,this.location=t,this.resolver=n,this.changeDetector=o,this.activated=null,this._activatedRoute=null,this.activateEvents=new s.l,this.deactivateEvents=new s.l,this.name=r||De,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 $n(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 $n{constructor(e,t,n){this.route=e,this.childContexts=t,this.parent=n}get(e,t){return e===Et?this.route:e===Hn?this.childContexts:this.parent.get(e,t)}}class Fn{}class zn{preload(e,t){return t().pipe(W(()=>h(null)))}}class Bn{preload(e,t){return h(null)}}const qn=(()=>(class{constructor(e,t,n,r,s){this.router=e,this.injector=r,this.preloadingStrategy=s,this.loader=new In(t,n,t=>e.triggerEvent(new ke(t)),t=>e.triggerEvent(new Ae(t)))}setUpPreloading(){this.subscription=this.router.events.pipe(O(e=>e instanceof we),he(()=>this.preload())).subscribe(()=>{})}preload(){const e=this.injector.get(s.u);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(d.a)(n).pipe(Object(T.a)(),Object(E.a)(e=>void 0))}preloadConfig(e,t){return this.preloadingStrategy.preload(t,()=>this.loader.load(e.injector,t).pipe(Object(ne.a)(e=>(t._loadedConfig=e,this.processRoutes(e.module,e.routes)))))}}))();class Zn{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 be?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof we&&(this.lastId=e.id,this.scheduleScrollEvent(e,this.router.parseUrl(e.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(e=>{e instanceof je&&(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 je(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,t))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}const Qn=new s.n("ROUTER_CONFIGURATION"),Gn=new s.n("ROUTER_FORROOT_GUARD"),Wn=[r.f,{provide:rt,useClass:st},{provide:Mn,useFactory:nr,deps:[s.g,rt,Hn,r.f,s.o,s.t,s.i,Rn,Qn,[Nn,new s.x],[An,new s.x]]},Hn,{provide:Et,useFactory:rr,deps:[Mn]},{provide:s.t,useClass:s.F},qn,Bn,zn,{provide:Qn,useValue:{enableTracing:!1}}];function Jn(){return new s.v("Router",Mn)}const Kn=(()=>{class e{constructor(e,t){}static forRoot(t,n){return{ngModule:e,providers:[Wn,tr(t),{provide:Gn,useFactory:er,deps:[[Mn,new s.x,new s.E]]},{provide:Qn,useValue:n||{}},{provide:r.g,useFactory:Xn,deps:[r.k,[new s.m(r.a),new s.x],Qn]},{provide:Zn,useFactory:Yn,deps:[Mn,r.l,Qn]},{provide:Fn,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:Bn},{provide:s.v,multi:!0,useFactory:Jn},[sr,{provide:s.d,multi:!0,useFactory:or,deps:[sr]},{provide:ar,useFactory:ir,deps:[sr]},{provide:s.b,multi:!0,useExisting:ar}]]}}static forChild(t){return{ngModule:e,providers:[tr(t)]}}}return e})();function Yn(e,t,n){return n.scrollOffset&&t.setOffset(n.scrollOffset),new Zn(e,t,n)}function Xn(e,t,n={}){return n.useHash?new r.d(e,t):new r.j(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:Rn,multi:!0,useValue:e}]}function nr(e,t,n,r,s,o,i,a,l={},c,u){const h=new Mn(null,t,n,r,s,o,i,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(me.r)();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}const sr=(()=>(class{constructor(e){this.injector=e,this.initNavigation=!1,this.resultOfPreactivationDone=new f.a}appInitializer(){return this.injector.get(r.e,Promise.resolve(null)).then(()=>{let e=null;const t=new Promise(t=>e=t),n=this.injector.get(Mn),r=this.injector.get(Qn);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?h(null):(this.initNavigation=!0,e(!0),this.resultOfPreactivationDone)),n.initialNavigation()}return t})}bootstrapListener(e){const t=this.injector.get(Qn),n=this.injector.get(qn),r=this.injector.get(Zn),o=this.injector.get(Mn),i=this.injector.get(s.g);e===i.components[0]&&(this.isLegacyEnabled(t)?o.initialNavigation():this.isLegacyDisabled(t)&&o.setUpLocationChangeListener(),n.setUpPreloading(),r.init(),o.resetRootComponentType(i.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 or(e){return e.appInitializer.bind(e)}function ir(e){return e.bootstrapListener.bind(e)}const ar=new s.n("Router Initializer")},kJWO:function(e,t,n){"use strict";n.d(t,"a",function(){return r});const r="function"==typeof Symbol&&Symbol.observable||"@@observable"},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 o(e,t))}}class o{constructor(e,t){this.project=e,this.thisArg=t}call(e,t){return t.subscribe(new i(e,this.project,this.thisArg))}}class i 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 o});var r=n("KqfI");function s(...e){return o(e)}function o(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()}},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"),o=r.gb({encapsulation:2,styles:[],data:{}});function i(e){return r.sb(0,[(e()(),r.ib(0,16777216,null,null,1,"router-outlet",[],null,null,null,null,null)),r.hb(1,212992,null,0,s.m,[s.b,r.J,r.j,[8,null],r.h],null,null)],function(e,t){e(t,1,0)},null)}function a(e){return r.sb(0,[(e()(),r.ib(0,0,null,null,1,"ng-component",[],null,null,null,i,o)),r.hb(1,49152,null,0,s.A,[],null,null)],null,null)}var l=r.eb("ng-component",s.A,a,{},{},[])},quSY:function(e,t,n){"use strict";var r=n("DH7j"),s=n("XoHu"),o=n("n6bG");function i(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}i.prototype=Object.create(Error.prototype);const a=i;n.d(t,"a",function(){return l});const 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:i,_unsubscribe:l,_subscriptions:u}=this;this.closed=!0,this._parent=null,this._parents=null,this._subscriptions=null;let h=-1,d=i?i.length:0;for(;n;)n.remove(this),n=++h<d&&i[h]||null;if(Object(o.a)(l))try{l.call(this)}catch(f){t=!0,e=f instanceof a?c(f.errors):[f]}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(f){t=!0,e=e||[],f instanceof a?e=e.concat(c(f.errors)):e.push(f)}}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),[])}},yCtX:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n("HDdC"),s=n("quSY"),o=n("ngJS");function i(e,t){return new r.a(t?n=>{const r=new s.a;let o=0;return r.add(t.schedule(function(){o!==e.length?(n.next(e[o++]),n.closed||r.add(this.schedule())):n.complete()})),r}:Object(o.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 o{constructor(){this.idade=26,this.estadoCivil="solteiro"}}var i=n("pMnS"),a=n("iInd"),l=r.gb({encapsulation:0,styles:[[""]],data:{}});function c(e){return r.sb(0,[(e()(),r.ib(0,16777216,null,null,1,"router-outlet",[],null,null,null,null,null)),r.hb(1,212992,null,0,a.m,[a.b,r.J,r.j,[8,null],r.h],null,null)],function(e,t){e(t,1,0)},null)}function u(e){return r.sb(0,[(e()(),r.ib(0,0,null,null,1,"app-root",[],null,null,null,c,l)),r.hb(1,49152,null,0,o,[],null,null)],null,null)}var h=r.eb("app-root",o,u,{},{},[]),d=n("SVse"),f=n("cUpR");class p{}var g=r.fb(s,[o],function(e){return r.ob([r.pb(512,r.j,r.T,[[8,[i.a,h]],[3,r.j],r.u]),r.pb(5120,r.r,r.cb,[[3,r.r]]),r.pb(4608,d.i,d.h,[r.r,[2,d.o]]),r.pb(5120,r.Y,r.db,[r.w]),r.pb(5120,r.c,r.Z,[]),r.pb(5120,r.p,r.ab,[]),r.pb(5120,r.q,r.bb,[]),r.pb(4608,f.b,f.k,[d.c]),r.pb(6144,r.C,null,[f.b]),r.pb(4608,f.e,f.g,[]),r.pb(5120,f.c,function(e,t,n,r,s,o,i,a){return[new f.i(e,t,n),new f.n(r),new f.m(s,o,i,a)]},[d.c,r.w,r.y,d.c,d.c,f.e,r.U,[2,f.f]]),r.pb(4608,f.d,f.d,[f.c,r.w]),r.pb(135680,f.l,f.l,[d.c]),r.pb(4608,f.j,f.j,[f.d,f.l,r.c]),r.pb(6144,r.A,null,[f.j]),r.pb(6144,f.o,null,[f.l]),r.pb(4608,r.H,r.H,[r.w]),r.pb(5120,a.a,a.w,[a.k]),r.pb(4608,a.d,a.d,[]),r.pb(6144,a.f,null,[a.d]),r.pb(135680,a.n,a.n,[a.k,r.t,r.i,r.o,a.f]),r.pb(4608,a.e,a.e,[]),r.pb(5120,a.B,a.s,[a.k,d.l,a.g]),r.pb(5120,a.h,a.z,[a.x]),r.pb(5120,r.b,function(e){return[e]},[a.h]),r.pb(1073742336,d.b,d.b,[]),r.pb(1024,r.k,f.p,[]),r.pb(1024,r.v,function(){return[a.r()]},[]),r.pb(512,a.x,a.x,[r.o]),r.pb(1024,r.d,function(e,t){return[f.q(e),a.y(t)]},[[2,r.v],a.x]),r.pb(512,r.e,r.e,[[2,r.d]]),r.pb(131584,r.g,r.g,[r.w,r.U,r.o,r.k,r.j,r.e]),r.pb(1073742336,r.f,r.f,[r.g]),r.pb(1073742336,f.a,f.a,[[3,f.a]]),r.pb(1024,a.q,a.u,[[3,a.k]]),r.pb(512,a.p,a.c,[]),r.pb(512,a.b,a.b,[]),r.pb(256,a.g,{},[]),r.pb(1024,d.g,a.t,[d.k,[2,d.a],a.g]),r.pb(512,d.f,d.f,[d.g,d.k]),r.pb(512,r.i,r.i,[]),r.pb(512,r.t,r.F,[r.i,[2,r.G]]),r.pb(1024,a.i,function(){return[[{path:"",loadChildren:"./home/home.module#HomeModule"}]]},[]),r.pb(1024,a.k,a.v,[r.g,a.p,a.b,d.f,r.o,r.t,r.i,a.i,a.g,[2,a.o],[2,a.j]]),r.pb(1073742336,a.l,a.l,[[2,a.q],[2,a.k]]),r.pb(1073742336,p,p,[]),r.pb(1073742336,s,s,[]),r.pb(256,r.S,!0,[])])});Object(r.N)(),f.h().bootstrapModuleFactory(g).catch(e=>console.error(e))},zn8P:function(e,t,n){var r={"./home/home.module.ngfactory":["L6id",4]};function s(e){if(!n.o(r,e))return Promise.resolve().then(function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t});var t=r[e],s=t[0];return n.e(t[1]).then(function(){return n(s)})}s.keys=function(){return Object.keys(r)},s.id="zn8P",e.exports=s}},[[0,0]]]);