(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{0:function(t,e,n){t.exports=n("zUnb")},zUnb:function(t,e,n){"use strict";function r(t){return"function"==typeof t}n.r(e);let s=!1;const i={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){if(t){const t=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+t.stack)}else s&&console.log("RxJS: Back to a better error behavior. Thank you. <3");s=t},get useDeprecatedSynchronousErrorHandling(){return s}};function o(t){setTimeout(()=>{throw t},0)}const a={closed:!0,next(t){},error(t){if(i.useDeprecatedSynchronousErrorHandling)throw t;o(t)},complete(){}},l=(()=>Array.isArray||(t=>t&&"number"==typeof t.length))();function u(t){return null!==t&&"object"==typeof t}const c=(()=>{function t(t){return Error.call(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((t,e)=>`${e+1}) ${t.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=t,this}return t.prototype=Object.create(Error.prototype),t})();let h=(()=>{class t{constructor(t){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._ctorUnsubscribe=!0,this._unsubscribe=t)}unsubscribe(){let e;if(this.closed)return;let{_parentOrParents:n,_ctorUnsubscribe:s,_unsubscribe:i,_subscriptions:o}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof t)n.remove(this);else if(null!==n)for(let t=0;tt.concat(e instanceof c?e.errors:e),[])}const p=(()=>"function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random())();class f extends h{constructor(t,e,n){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=a;break;case 1:if(!t){this.destination=a;break}if("object"==typeof t){t instanceof f?(this.syncErrorThrowable=t.syncErrorThrowable,this.destination=t,t.add(this)):(this.syncErrorThrowable=!0,this.destination=new g(this,t));break}default:this.syncErrorThrowable=!0,this.destination=new g(this,t,e,n)}}[p](){return this}static create(t,e,n){const r=new f(t,e,n);return r.syncErrorThrowable=!1,r}next(t){this.isStopped||this._next(t)}error(t){this.isStopped||(this.isStopped=!0,this._error(t))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(t){this.destination.next(t)}_error(t){this.destination.error(t),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:t}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=t,this}}class g extends f{constructor(t,e,n,s){let i;super(),this._parentSubscriber=t;let o=this;r(e)?i=e:e&&(i=e.next,n=e.error,s=e.complete,e!==a&&(o=Object.create(e),r(o.unsubscribe)&&this.add(o.unsubscribe.bind(o)),o.unsubscribe=this.unsubscribe.bind(this))),this._context=o,this._next=i,this._error=n,this._complete=s}next(t){if(!this.isStopped&&this._next){const{_parentSubscriber:e}=this;i.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?this.__tryOrSetError(e,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}}error(t){if(!this.isStopped){const{_parentSubscriber:e}=this,{useDeprecatedSynchronousErrorHandling:n}=i;if(this._error)n&&e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else if(e.syncErrorThrowable)n?(e.syncErrorValue=t,e.syncErrorThrown=!0):o(t),this.unsubscribe();else{if(this.unsubscribe(),n)throw t;o(t)}}}complete(){if(!this.isStopped){const{_parentSubscriber:t}=this;if(this._complete){const e=()=>this._complete.call(this._context);i.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?(this.__tryOrSetError(t,e),this.unsubscribe()):(this.__tryOrUnsub(e),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(t,e){try{t.call(this._context,e)}catch(n){if(this.unsubscribe(),i.useDeprecatedSynchronousErrorHandling)throw n;o(n)}}__tryOrSetError(t,e,n){if(!i.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,n)}catch(r){return i.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=r,t.syncErrorThrown=!0,!0):(o(r),!0)}return!1}_unsubscribe(){const{_parentSubscriber:t}=this;this._context=null,this._parentSubscriber=null,t.unsubscribe()}}const m=(()=>"function"==typeof Symbol&&Symbol.observable||"@@observable")();function y(t){return t}let _=(()=>{class t{constructor(t){this._isScalar=!1,t&&(this._subscribe=t)}lift(e){const n=new t;return n.source=this,n.operator=e,n}subscribe(t,e,n){const{operator:r}=this,s=function(t,e,n){if(t){if(t instanceof f)return t;if(t[p])return t[p]()}return t||e||n?new f(t,e,n):new f(a)}(t,e,n);if(s.add(r?r.call(s,this.source):this.source||i.useDeprecatedSynchronousErrorHandling&&!s.syncErrorThrowable?this._subscribe(s):this._trySubscribe(s)),i.useDeprecatedSynchronousErrorHandling&&s.syncErrorThrowable&&(s.syncErrorThrowable=!1,s.syncErrorThrown))throw s.syncErrorValue;return s}_trySubscribe(t){try{return this._subscribe(t)}catch(e){i.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=e),function(t){for(;t;){const{closed:e,destination:n,isStopped:r}=t;if(e||r)return!1;t=n&&n instanceof f?n:null}return!0}(t)?t.error(e):console.warn(e)}}forEach(t,e){return new(e=v(e))((e,n)=>{let r;r=this.subscribe(e=>{try{t(e)}catch(s){n(s),r&&r.unsubscribe()}},n,e)})}_subscribe(t){const{source:e}=this;return e&&e.subscribe(t)}[m](){return this}pipe(...t){return 0===t.length?this:(0===(e=t).length?y:1===e.length?e[0]:function(t){return e.reduce((t,e)=>e(t),t)})(this);var e}toPromise(t){return new(t=v(t))((t,e)=>{let n;this.subscribe(t=>n=t,t=>e(t),()=>t(n))})}}return t.create=e=>new t(e),t})();function v(t){if(t||(t=i.Promise||Promise),!t)throw new Error("no Promise impl found");return t}const w=(()=>{function t(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return t.prototype=Object.create(Error.prototype),t})();class b extends h{constructor(t,e){super(),this.subject=t,this.subscriber=e,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const t=this.subject,e=t.observers;if(this.subject=null,!e||0===e.length||t.isStopped||t.closed)return;const n=e.indexOf(this.subscriber);-1!==n&&e.splice(n,1)}}class C extends f{constructor(t){super(t),this.destination=t}}let S=(()=>{class t extends _{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[p](){return new C(this)}lift(t){const e=new x(this,this);return e.operator=t,e}next(t){if(this.closed)throw new w;if(!this.isStopped){const{observers:e}=this,n=e.length,r=e.slice();for(let s=0;snew x(t,e),t})();class x extends S{constructor(t,e){super(),this.destination=t,this.source=e}next(t){const{destination:e}=this;e&&e.next&&e.next(t)}error(t){const{destination:e}=this;e&&e.error&&this.destination.error(t)}complete(){const{destination:t}=this;t&&t.complete&&this.destination.complete()}_subscribe(t){const{source:e}=this;return e?this.source.subscribe(t):h.EMPTY}}function E(t){return t&&"function"==typeof t.schedule}function T(t,e){return function(n){if("function"!=typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new k(t,e))}}class k{constructor(t,e){this.project=t,this.thisArg=e}call(t,e){return e.subscribe(new A(t,this.project,this.thisArg))}}class A extends f{constructor(t,e,n){super(t),this.project=e,this.count=0,this.thisArg=n||this}_next(t){let e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(e)}}const O=t=>e=>{for(let n=0,r=t.length;nt&&"number"==typeof t.length&&"function"!=typeof t;function P(t){return!!t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}const U=t=>{if(t&&"function"==typeof t[m])return r=t,t=>{const e=r[m]();if("function"!=typeof e.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return e.subscribe(t)};if(j(t))return O(t);if(P(t))return n=t,t=>(n.then(e=>{t.closed||(t.next(e),t.complete())},e=>t.error(e)).then(null,o),t);if(t&&"function"==typeof t[I])return e=t,t=>{const n=e[I]();for(;;){let e;try{e=n.next()}catch(r){return t.error(r),t}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};{const e=u(t)?"an invalid object":`'${t}'`;throw new TypeError(`You provided ${e} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`)}var e,n,r};function D(t,e){return new _(n=>{const r=new h;let s=0;return r.add(e.schedule(function(){s!==t.length?(n.next(t[s++]),n.closed||r.add(this.schedule())):n.complete()})),r})}function N(t,e){return e?function(t,e){if(null!=t){if(function(t){return t&&"function"==typeof t[m]}(t))return function(t,e){return new _(n=>{const r=new h;return r.add(e.schedule(()=>{const s=t[m]();r.add(s.subscribe({next(t){r.add(e.schedule(()=>n.next(t)))},error(t){r.add(e.schedule(()=>n.error(t)))},complete(){r.add(e.schedule(()=>n.complete()))}}))})),r})}(t,e);if(P(t))return function(t,e){return new _(n=>{const r=new h;return r.add(e.schedule(()=>t.then(t=>{r.add(e.schedule(()=>{n.next(t),r.add(e.schedule(()=>n.complete()))}))},t=>{r.add(e.schedule(()=>n.error(t)))}))),r})}(t,e);if(j(t))return D(t,e);if(function(t){return t&&"function"==typeof t[I]}(t)||"string"==typeof t)return function(t,e){if(!t)throw new Error("Iterable cannot be null");return new _(n=>{const r=new h;let s;return r.add(()=>{s&&"function"==typeof s.return&&s.return()}),r.add(e.schedule(()=>{s=t[I](),r.add(e.schedule(function(){if(n.closed)return;let t,e;try{const n=s.next();t=n.value,e=n.done}catch(r){return void n.error(r)}e?n.complete():(n.next(t),this.schedule())}))})),r})}(t,e)}throw new TypeError((null!==t&&typeof t||t)+" is not observable")}(t,e):t instanceof _?t:new _(U(t))}class H extends f{constructor(t){super(),this.parent=t}_next(t){this.parent.notifyNext(t)}_error(t){this.parent.notifyError(t),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class M extends f{notifyNext(t){this.destination.next(t)}notifyError(t){this.destination.error(t)}notifyComplete(){this.destination.complete()}}function L(t,e){if(e.closed)return;if(t instanceof _)return t.subscribe(e);let n;try{n=U(t)(e)}catch(r){e.error(r)}return n}function F(t,e,n=Number.POSITIVE_INFINITY){return"function"==typeof e?r=>r.pipe(F((n,r)=>N(t(n,r)).pipe(T((t,s)=>e(n,t,r,s))),n)):("number"==typeof e&&(n=e),e=>e.lift(new $(t,n)))}class ${constructor(t,e=Number.POSITIVE_INFINITY){this.project=t,this.concurrent=e}call(t,e){return e.subscribe(new V(t,this.project,this.concurrent))}}class V extends M{constructor(t,e,n=Number.POSITIVE_INFINITY){super(t),this.project=e,this.concurrent=n,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(t){this.active0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}function z(t=Number.POSITIVE_INFINITY){return F(y,t)}function q(t,e){return e?D(t,e):new _(O(t))}function B(){return function(t){return t.lift(new G(t))}}class G{constructor(t){this.connectable=t}call(t,e){const{connectable:n}=this;n._refCount++;const r=new Z(t,n),s=e.subscribe(r);return r.closed||(r.connection=n.connect()),s}}class Z extends f{constructor(t,e){super(t),this.connectable=e}_unsubscribe(){const{connectable:t}=this;if(!t)return void(this.connection=null);this.connectable=null;const e=t._refCount;if(e<=0)return void(this.connection=null);if(t._refCount=e-1,e>1)return void(this.connection=null);const{connection:n}=this,r=t._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}class W extends _{constructor(t,e){super(),this.source=t,this.subjectFactory=e,this._refCount=0,this._isComplete=!1}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){const t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject}connect(){let t=this._connection;return t||(this._isComplete=!1,t=this._connection=new h,t.add(this.source.subscribe(new K(this.getSubject(),this))),t.closed&&(this._connection=null,t=h.EMPTY)),t}refCount(){return B()(this)}}const Q=(()=>{const t=W.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:t._subscribe},_isComplete:{value:t._isComplete,writable:!0},getSubject:{value:t.getSubject},connect:{value:t.connect},refCount:{value:t.refCount}}})();class K extends C{constructor(t,e){super(t),this.connectable=e}_error(t){this._unsubscribe(),super._error(t)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const t=this.connectable;if(t){this.connectable=null;const e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}}}function Y(){return new S}function J(t){for(let e in t)if(t[e]===J)return e;throw Error("Could not find renamed property on target object.")}function X(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(X).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;const e=t.toString();if(null==e)return""+e;const n=e.indexOf("\n");return-1===n?e:e.substring(0,n)}function tt(t,e){return null==t||""===t?null===e?"":e:null==e||""===e?t:t+" "+e}const et=J({__forward_ref__:J});function nt(t){return t.__forward_ref__=nt,t.toString=function(){return X(this())},t}function rt(t){return"function"==typeof(e=t)&&e.hasOwnProperty(et)&&e.__forward_ref__===nt?t():t;var e}class st extends Error{constructor(t,e){super(function(t,e){return`${t?`NG0${t}: `:""}${e}`}(t,e)),this.code=t}}function it(t){return"string"==typeof t?t:null==t?"":String(t)}function ot(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():it(t)}function at(t,e){const n=e?` in ${e}`:"";throw new st("201",`No provider for ${ot(t)} found${n}`)}function lt(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function ut(t){return{providers:t.providers||[],imports:t.imports||[]}}function ct(t){return ht(t,pt)||ht(t,gt)}function ht(t,e){return t.hasOwnProperty(e)?t[e]:null}function dt(t){return t&&(t.hasOwnProperty(ft)||t.hasOwnProperty(mt))?t[ft]:null}const pt=J({"\u0275prov":J}),ft=J({"\u0275inj":J}),gt=J({ngInjectableDef:J}),mt=J({ngInjectorDef:J});var yt=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}({});let _t;function vt(t){const e=_t;return _t=t,e}function wt(t,e,n){const r=ct(t);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&yt.Optional?null:void 0!==e?e:void at(X(t),"Injector")}function bt(t){return{toString:t}.toString()}var Ct=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}({}),St=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}({});const xt="undefined"!=typeof globalThis&&globalThis,Et="undefined"!=typeof window&&window,Tt="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,kt="undefined"!=typeof global&&global,At=xt||kt||Et||Tt,Ot={},Rt=[],It=J({"\u0275cmp":J}),jt=J({"\u0275dir":J}),Pt=J({"\u0275pipe":J}),Ut=J({"\u0275mod":J}),Dt=J({"\u0275loc":J}),Nt=J({"\u0275fac":J}),Ht=J({__NG_ELEMENT_ID__:J});let Mt=0;function Lt(t){return bt(()=>{const e={},n={type:t.type,providersResolver:null,decls:t.decls,vars:t.vars,factory:null,template:t.template||null,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputs:null,outputs:null,exportAs:t.exportAs||null,onPush:t.changeDetection===Ct.OnPush,directiveDefs:null,pipeDefs:null,selectors:t.selectors||Rt,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||St.Emulated,id:"c",styles:t.styles||Rt,_:null,setInput:null,schemas:t.schemas||null,tView:null},r=t.directives,s=t.features,i=t.pipes;return n.id+=Mt++,n.inputs=qt(t.inputs,e),n.outputs=qt(t.outputs),s&&s.forEach(t=>t(n)),n.directiveDefs=r?()=>("function"==typeof r?r():r).map(Ft):null,n.pipeDefs=i?()=>("function"==typeof i?i():i).map($t):null,n})}function Ft(t){return Gt(t)||function(t){return t[jt]||null}(t)}function $t(t){return function(t){return t[Pt]||null}(t)}const Vt={};function zt(t){const e={type:t.type,bootstrap:t.bootstrap||Rt,declarations:t.declarations||Rt,imports:t.imports||Rt,exports:t.exports||Rt,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null};return null!=t.id&&bt(()=>{Vt[t.id]=t.type}),e}function qt(t,e){if(null==t)return Ot;const n={};for(const r in t)if(t.hasOwnProperty(r)){let s=t[r],i=s;Array.isArray(s)&&(i=s[1],s=s[0]),n[s]=r,e&&(e[s]=i)}return n}const Bt=Lt;function Gt(t){return t[It]||null}function Zt(t,e){const n=t[Ut]||null;if(!n&&!0===e)throw new Error(`Type ${X(t)} does not have '\u0275mod' property.`);return n}const Wt=20,Qt=10;function Kt(t){return Array.isArray(t)&&"object"==typeof t[1]}function Yt(t){return Array.isArray(t)&&!0===t[1]}function Jt(t){return 0!=(8&t.flags)}function Xt(t){return 2==(2&t.flags)}function te(t){return 1==(1&t.flags)}function ee(t){return null!==t.template}function ne(t,e){return t.hasOwnProperty(Nt)?t[Nt]:null}class re{constructor(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}isFirstChange(){return this.firstChange}}function se(){return ie}function ie(t){return t.type.prototype.ngOnChanges&&(t.setInput=ae),oe}function oe(){const t=le(this),e=null==t?void 0:t.current;if(e){const n=t.previous;if(n===Ot)t.previous=e;else for(let t in e)n[t]=e[t];t.current=null,this.ngOnChanges(e)}}function ae(t,e,n,r){const s=le(t)||function(t,e){return t.__ngSimpleChanges__=e}(t,{previous:Ot,current:null}),i=s.current||(s.current={}),o=s.previous,a=this.declaredInputs[n],l=o[a];i[a]=new re(l&&l.currentValue,e,o===Ot),t[r]=e}function le(t){return t.__ngSimpleChanges__||null}let ue;function ce(t){return!!t.listen}se.ngInherit=!0;const he={createRenderer:(t,e)=>void 0!==ue?ue:"undefined"!=typeof document?document:void 0};function de(t){for(;Array.isArray(t);)t=t[0];return t}function pe(t,e){return de(e[t.index])}function fe(t,e){return t.data[e]}function ge(t,e){const n=e[t];return Kt(n)?n:n[0]}function me(t){const e=function(t){return t.__ngContext__||null}(t);return e?Array.isArray(e)?e:e.lView:null}function ye(t){return 128==(128&t[2])}function _e(t,e){return null==e?null:t[e]}function ve(t){t[18]=0}function we(t,e){t[5]+=e;let n=t,r=t[3];for(;null!==r&&(1===e&&1===n[5]||-1===e&&0===n[5]);)r[5]+=e,n=r,r=r[3]}const be={lFrame:Le(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function Ce(){return be.bindingsEnabled}function Se(){return be.lFrame.lView}function xe(){return be.lFrame.tView}function Ee(){let t=Te();for(;null!==t&&64===t.type;)t=t.parent;return t}function Te(){return be.lFrame.currentTNode}function ke(t,e){const n=be.lFrame;n.currentTNode=t,n.isParent=e}function Ae(){return be.lFrame.isParent}function Oe(){return be.isInCheckNoChangesMode}function Re(t){be.isInCheckNoChangesMode=t}function Ie(){return be.lFrame.bindingIndex++}function je(t,e){const n=be.lFrame;n.bindingIndex=n.bindingRootIndex=t,Pe(e)}function Pe(t){be.lFrame.currentDirectiveIndex=t}function Ue(t){be.lFrame.currentQueryIndex=t}function De(t){const e=t[1];return 2===e.type?e.declTNode:1===e.type?t[6]:null}function Ne(t,e,n){if(n&yt.SkipSelf){let r=e,s=t;for(;r=r.parent,!(null!==r||n&yt.Host||(r=De(s),null===r)||(s=s[15],10&r.type)););if(null===r)return!1;e=r,t=s}const r=be.lFrame=Me();return r.currentTNode=e,r.lView=t,!0}function He(t){const e=Me(),n=t[1];be.lFrame=e,e.currentTNode=n.firstChild,e.lView=t,e.tView=n,e.contextLView=t,e.bindingIndex=n.bindingStartIndex,e.inI18n=!1}function Me(){const t=be.lFrame,e=null===t?null:t.child;return null===e?Le(t):e}function Le(t){const e={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return null!==t&&(t.child=e),e}function Fe(){const t=be.lFrame;return be.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const $e=Fe;function Ve(){const t=Fe();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function ze(){return be.lFrame.selectedIndex}function qe(t){be.lFrame.selectedIndex=t}function Be(){const t=be.lFrame;return fe(t.tView,t.selectedIndex)}function Ge(t,e){for(let n=e.directiveStart,r=e.directiveEnd;n=r)break}else e[a]<0&&(t[18]+=65536),(o>11>16&&(3&t[2])===e){t[2]+=2048;try{i.call(o)}finally{}}}else try{i.call(o)}finally{}}const Je=-1;class Xe{constructor(t,e,n){this.factory=t,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=n}}function tn(t,e,n){const r=ce(t);let s=0;for(;se){o=i-1;break}}}for(;i>16,r=e;for(;n>0;)r=r[15],n--;return r}let un=!0;function cn(t){const e=un;return un=t,e}let hn=0;function dn(t,e){const n=fn(t,e);if(-1!==n)return n;const r=e[1];r.firstCreatePass&&(t.injectorIndex=e.length,pn(r.data,t),pn(e,null),pn(r.blueprint,null));const s=gn(t,e),i=t.injectorIndex;if(on(s)){const t=an(s),n=ln(s,e),r=n[1].data;for(let s=0;s<8;s++)e[i+s]=n[t+s]|r[t+s]}return e[i+8]=s,i}function pn(t,e){t.push(0,0,0,0,0,0,0,0,e)}function fn(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===e[t.injectorIndex+8]?-1:t.injectorIndex}function gn(t,e){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let n=0,r=null,s=e;for(;null!==s;){const t=s[1],e=t.type;if(r=2===e?t.declTNode:1===e?s[6]:null,null===r)return Je;if(n++,s=s[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return Je}function mn(t,e,n){!function(t,e,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(Ht)&&(r=n[Ht]),null==r&&(r=n[Ht]=hn++);const s=255&r;e.data[t+(s>>5)]|=1<=0?255&e:bn:e}(n);if("function"==typeof i){if(!Ne(e,t,r))return r&yt.Host?yn(s,n,r):_n(e,n,r,s);try{const t=i();if(null!=t||r&yt.Optional)return t;at(n)}finally{$e()}}else if("number"==typeof i){let s=null,o=fn(t,e),a=Je,l=r&yt.Host?e[16][6]:null;for((-1===o||r&yt.SkipSelf)&&(a=-1===o?gn(t,e):e[o+8],a!==Je&&En(r,!1)?(s=e[1],o=an(a),e=ln(a,e)):o=-1);-1!==o;){const t=e[1];if(xn(i,o,t.data)){const t=Cn(o,e,n,s,r,l);if(t!==wn)return t}a=e[o+8],a!==Je&&En(r,e[1].data[o+8]===l)&&xn(i,o,e)?(s=t,o=an(a),e=ln(a,e)):o=-1}}}return _n(e,n,r,s)}const wn={};function bn(){return new Tn(Ee(),Se())}function Cn(t,e,n,r,s,i){const o=e[1],a=o.data[t+8],l=function(t,e,n,r,s){const i=t.providerIndexes,o=e.data,a=1048575&i,l=t.directiveStart,u=i>>20,c=s?a+u:t.directiveEnd;for(let h=r?a:a+u;h=l&&t.type===n)return h}if(s){const t=o[l];if(t&&ee(t)&&t.type===n)return l}return null}(a,o,n,null==r?Xt(a)&&un:r!=o&&0!=(3&a.type),s&yt.Host&&i===a);return null!==l?Sn(e,o,l,a):wn}function Sn(t,e,n,r){let s=t[n];const i=e.data;if(s instanceof Xe){const o=s;o.resolving&&function(t,e){throw new st("200",`Circular dependency in DI detected for ${t}`)}(ot(i[n]));const a=cn(o.canSeeViewProviders);o.resolving=!0;const l=o.injectImpl?vt(o.injectImpl):null;Ne(t,r,yt.Default);try{s=t[n]=o.factory(void 0,i,t,r),e.firstCreatePass&&n>=r.directiveStart&&function(t,e,n){const{ngOnChanges:r,ngOnInit:s,ngDoCheck:i}=e.type.prototype;if(r){const r=ie(e);(n.preOrderHooks||(n.preOrderHooks=[])).push(t,r),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,r)}s&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-t,s),i&&((n.preOrderHooks||(n.preOrderHooks=[])).push(t,i),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,i))}(n,i[n],e)}finally{null!==l&&vt(l),cn(a),o.resolving=!1,$e()}}return s}function xn(t,e,n){return!!(n[e+(t>>5)]&1<{const r=function(t){return function(...e){if(t){const n=t(...e);for(const t in n)this[t]=n[t]}}}(e);function s(...t){if(this instanceof s)return r.apply(this,t),this;const e=new s(...t);return n.annotation=e,n;function n(t,n,r){const s=t.hasOwnProperty(An)?t[An]:Object.defineProperty(t,An,{value:[]})[An];for(;s.length<=r;)s.push(null);return(s[r]=s[r]||[]).push(e),t}}return n&&(s.prototype=Object.create(n.prototype)),s.prototype.ngMetadataName=t,s.annotationCls=s,s})}class Rn{constructor(t,e){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.\u0275prov=lt({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}toString(){return`InjectionToken ${this._desc}`}}const In=new Rn("AnalyzeForEntryComponents"),jn=Function;function Pn(t,e){t.forEach(t=>Array.isArray(t)?Pn(t,e):e(t))}function Un(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function Dn(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}const Nn={},Hn=/\n/gm,Mn="__source",Ln=J({provide:String,useValue:J});let Fn;function $n(t){const e=Fn;return Fn=t,e}function Vn(t,e=yt.Default){if(void 0===Fn)throw new Error("inject() must be called from an injection context");return null===Fn?wt(t,void 0,e):Fn.get(t,e&yt.Optional?null:void 0,e)}function zn(t,e=yt.Default){return(_t||Vn)(rt(t),e)}function qn(t){const e=[];for(let n=0;n({token:t})),-1),Zn=Bn(On("Optional"),8),Wn=Bn(On("SkipSelf"),4);class Qn{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}const Kn=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi,Yn=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;var Jn=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}({});function Xn(t){const e=function(){const t=Se();return t&&t[12]}();return e?e.sanitize(Jn.URL,t)||"":function(t,e){const n=function(t){return t instanceof Qn&&t.getTypeName()||null}(t);if(null!=n&&n!==e){if("ResourceURL"===n&&"URL"===e)return!0;throw new Error(`Required a safe ${e}, got a ${n} (see https://g.co/ng/security#xss)`)}return n===e}(t,"URL")?(r=t)instanceof Qn?r.changingThisBreaksApplicationSecurity:r:(n=it(t),(n=String(n)).match(Kn)||n.match(Yn)?n:"unsafe:"+n);var n,r}function tr(t){return t.ngDebugContext}function er(t){return t.ngOriginalError}function nr(t,...e){t.error(...e)}class rr{constructor(){this._console=console}handleError(t){const e=this._findOriginalError(t),n=this._findContext(t),r=function(t){return t.ngErrorLogger||nr}(t);r(this._console,"ERROR",t),e&&r(this._console,"ORIGINAL ERROR",e),n&&r(this._console,"ERROR CONTEXT",n)}_findContext(t){return t?tr(t)?tr(t):this._findContext(er(t)):null}_findOriginalError(t){let e=er(t);for(;e&&er(e);)e=er(e);return e}}function sr(t,e){t.__ngContext__=e}const ir=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(At))();function or(t){return t instanceof Function?t():t}var ar=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}({});function lr(t,e){return(void 0)(t,e)}function ur(t){const e=t[3];return Yt(e)?e[3]:e}function cr(t){return dr(t[13])}function hr(t){return dr(t[4])}function dr(t){for(;null!==t&&!Yt(t);)t=t[4];return t}function pr(t,e,n,r,s){if(null!=r){let i,o=!1;Yt(r)?i=r:Kt(r)&&(o=!0,r=r[0]);const a=de(r);0===t&&null!==n?null==s?wr(e,n,a):vr(e,n,a,s||null,!0):1===t&&null!==n?vr(e,n,a,s||null,!0):2===t?function(t,e,n){const r=Cr(t,e);r&&function(t,e,n,r){ce(t)?t.removeChild(e,n,r):e.removeChild(n)}(t,r,e,n)}(e,a,o):3===t&&e.destroyNode(a),null!=i&&function(t,e,n,r,s){const i=n[7];i!==de(n)&&pr(e,t,r,i,s);for(let o=Qt;o0&&(t[n-1][4]=r[4]);const o=Dn(t,Qt+e);Ar(r[1],s=r,s[11],2,null,null),s[0]=null,s[6]=null;const a=o[19];null!==a&&a.detachView(o[1]),r[3]=null,r[4]=null,r[2]&=-129}var s;return r}function yr(t,e){if(!(256&e[2])){const n=e[11];ce(n)&&n.destroyNode&&Ar(t,e,n,3,null,null),function(t){let e=t[13];if(!e)return _r(t[1],t);for(;e;){let n=null;if(Kt(e))n=e[13];else{const t=e[10];t&&(n=t)}if(!n){for(;e&&!e[4]&&e!==t;)Kt(e)&&_r(e[1],e),e=e[3];null===e&&(e=t),Kt(e)&&_r(e[1],e),n=e&&e[4]}e=n}}(e)}}function _r(t,e){if(!(256&e[2])){e[2]&=-129,e[2]|=256,function(t,e){let n;if(null!=t&&null!=(n=t.destroyHooks))for(let r=0;r=0?r[s=l]():r[s=-l].unsubscribe(),i+=2}else{const t=r[s=n[i+1]];n[i].call(t)}if(null!==r){for(let t=s+1;ti?"":s[c+1].toLowerCase();const e=8&r?t:null;if(e&&-1!==jr(e,u,0)||2&r&&u!==t){if(Mr(r))return!1;o=!0}}}}else{if(!o&&!Mr(r)&&!Mr(l))return!1;if(o&&Mr(l))continue;o=!1,r=l|1&r}}return Mr(r)||o}function Mr(t){return 0==(1&t)}function Lr(t,e,n,r){if(null===e)return-1;let s=0;if(r||!n){let n=!1;for(;s-1)for(n++;n0?'="'+e+'"':"")+"]"}else 8&r?s+="."+o:4&r&&(s+=" "+o);else""===s||Mr(o)||(e+=$r(i,s),s=""),r=o,i=i||!Mr(r);n++}return""!==s&&(e+=$r(i,s)),e}const zr={};function qr(t){Br(xe(),Se(),ze()+t,Oe())}function Br(t,e,n,r){if(!r)if(3==(3&e[2])){const r=t.preOrderCheckHooks;null!==r&&Ze(e,r,n)}else{const r=t.preOrderHooks;null!==r&&We(e,r,0,n)}qe(n)}function Gr(t,e){const n=t.contentQueries;if(null!==n)for(let r=0;rWt&&Br(t,e,Wt,Oe()),n(r,s)}finally{qe(i)}}function ts(t,e,n){Ce()&&(function(t,e,n,r){const s=n.directiveStart,i=n.directiveEnd;t.firstCreatePass||dn(n,e),sr(r,e);const o=n.initialInputs;for(let a=s;a0;){const n=t[--e];if("number"==typeof n&&n<0)return n}return 0})(n)!=i&&n.push(i),n.push(r,s,o)}}function ls(t,e){null!==t.hostBindings&&t.hostBindings(1,e)}function us(t,e){e.flags|=2,(t.components||(t.components=[])).push(e.index)}function cs(t,e,n){if(n){if(e.exportAs)for(let r=0;r0&&_s(n)}}function _s(t){for(let n=cr(t);null!==n;n=hr(n))for(let t=Qt;t0&&_s(e)}const e=t[1].components;if(null!==e)for(let n=0;n0&&_s(r)}}function vs(t,e){const n=ge(e,t),r=n[1];!function(t,e){for(let n=e.length;nPromise.resolve(null))();function Ts(t){return t[7]||(t[7]=[])}function ks(t){return t.cleanup||(t.cleanup=[])}function As(t,e){const n=t[9],r=n?n.get(rr,null):null;r&&r.handleError(e)}function Os(t,e,n,r,s){for(let i=0;ithis.processProvider(n,t,e)),Pn([t],t=>this.processInjectorType(t,[],s)),this.records.set(Is,Vs(void 0,this));const i=this.records.get(Ps);this.scope=null!=i?i.value:null,this.source=r||("object"==typeof t?null:X(t))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(t=>t.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(t,e=Nn,n=yt.Default){this.assertNotDestroyed();const r=$n(this);try{if(!(n&yt.SkipSelf)){let e=this.records.get(t);if(void 0===e){const n=("function"==typeof(s=t)||"object"==typeof s&&s instanceof Rn)&&ct(t);e=n&&this.injectableDefInScope(n)?Vs($s(t),Us):null,this.records.set(t,e)}if(null!=e)return this.hydrate(t,e)}return(n&yt.Self?Ms():this.parent).get(t,e=n&yt.Optional&&e===Nn?null:e)}catch(i){if("NullInjectorError"===i.name){if((i.ngTempTokenPath=i.ngTempTokenPath||[]).unshift(X(t)),r)throw i;return function(t,e,n,r){const s=t.ngTempTokenPath;throw e[Mn]&&s.unshift(e[Mn]),t.message=function(t,e,n,r=null){t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.substr(2):t;let s=X(e);if(Array.isArray(e))s=e.map(X).join(" -> ");else if("object"==typeof e){let t=[];for(let n in e)if(e.hasOwnProperty(n)){let r=e[n];t.push(n+":"+("string"==typeof r?JSON.stringify(r):X(r)))}s=`{${t.join(", ")}}`}return`${n}${r?"("+r+")":""}[${s}]: ${t.replace(Hn,"\n ")}`}("\n"+t.message,s,n,r),t.ngTokenPath=s,t.ngTempTokenPath=null,t}(i,t,"R3InjectorError",this.source)}throw i}finally{$n(r)}var s}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(t=>this.get(t))}toString(){const t=[];return this.records.forEach((e,n)=>t.push(X(n))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(t,e,n){if(!(t=rt(t)))return!1;let r=dt(t);const s=null==r&&t.ngModule||void 0,i=void 0===s?t:s,o=-1!==n.indexOf(i);if(void 0!==s&&(r=dt(s)),null==r)return!1;if(null!=r.imports&&!o){let t;n.push(i);try{Pn(r.imports,r=>{this.processInjectorType(r,e,n)&&(void 0===t&&(t=[]),t.push(r))})}finally{}if(void 0!==t)for(let e=0;ethis.processProvider(t,n,r||Ns))}}this.injectorDefTypes.add(i);const a=ne(i)||(()=>new i);this.records.set(i,Vs(a,Us));const l=r.providers;if(null!=l&&!o){const e=t;Pn(l,t=>this.processProvider(t,e,l))}return void 0!==s&&void 0!==t.providers}processProvider(t,e,n){let r=qs(t=rt(t))?t:rt(t&&t.provide);const s=function(t,e,n){return zs(t)?Vs(void 0,t.useValue):Vs(function(t,e,n){let r;if(qs(t)){const e=rt(t);return ne(e)||$s(e)}if(zs(t))r=()=>rt(t.useValue);else if((s=t)&&s.useFactory)r=()=>t.useFactory(...qn(t.deps||[]));else if(function(t){return!(!t||!t.useExisting)}(t))r=()=>zn(rt(t.useExisting));else{const e=rt(t&&(t.useClass||t.provide));if(!function(t){return!!t.deps}(t))return ne(e)||$s(e);r=()=>new e(...qn(t.deps))}var s;return r}(t),Us)}(t);if(qs(t)||!0!==t.multi)this.records.get(r);else{let e=this.records.get(r);e||(e=Vs(void 0,Us,!0),e.factory=()=>qn(e.multi),this.records.set(r,e)),r=t,e.multi.push(t)}this.records.set(r,s)}hydrate(t,e){var n;return e.value===Us&&(e.value=Ds,e.value=e.factory()),"object"==typeof e.value&&e.value&&null!==(n=e.value)&&"object"==typeof n&&"function"==typeof n.ngOnDestroy&&this.onDestroy.add(e.value),e.value}injectableDefInScope(t){return!!t.providedIn&&("string"==typeof t.providedIn?"any"===t.providedIn||t.providedIn===this.scope:this.injectorDefTypes.has(t.providedIn))}}function $s(t){const e=ct(t),n=null!==e?e.factory:ne(t);if(null!==n)return n;if(t instanceof Rn)throw new Error(`Token ${X(t)} is missing a \u0275prov definition.`);if(t instanceof Function)return function(t){const e=t.length;if(e>0){const n=function(t,e){const n=[];for(let r=0;rn.factory(t):()=>new t}(t);throw new Error("unreachable")}function Vs(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function zs(t){return null!==t&&"object"==typeof t&&Ln in t}function qs(t){return"function"==typeof t}const Bs=function(t,e,n){return function(t,e=null,n=null,r){const s=Ls(t,e,n,r);return s._resolveInjectorDefTypes(),s}({name:n},e,t,n)};let Gs=(()=>{class t{static create(t,e){return Array.isArray(t)?Bs(t,e,""):Bs(t.providers,t.parent,t.name||"")}}return t.THROW_IF_NOT_FOUND=Nn,t.NULL=new js,t.\u0275prov=lt({token:t,providedIn:"any",factory:()=>zn(Is)}),t.__NG_ELEMENT_ID__=-1,t})();function Zs(t,e){Ge(me(t)[1],Ee())}let Ws=null;function Qs(){if(!Ws){const t=At.Symbol;if(t&&t.iterator)Ws=t.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let e=0;ea(de(t[r.index])).target:r.index;if(ce(n)){let o=null;if(!a&&l&&(o=function(t,e,n,r){const s=t.cleanup;if(null!=s)for(let i=0;in?t[n]:null}"string"==typeof t&&(i+=2)}return null}(t,e,s,r.index)),null!==o)(o.__ngLastListenerFn__||o).__ngNextListenerFn__=i,o.__ngLastListenerFn__=i,h=!1;else{i=ui(r,e,0,i,!1);const t=n.listen(p.name||f,s,i);c.push(i,t),u&&u.push(s,m,g,g+1)}}else i=ui(r,e,0,i,!0),f.addEventListener(s,i,o),c.push(i),u&&u.push(s,m,g,o)}else i=ui(r,e,0,i,!1);const d=r.outputs;let p;if(h&&null!==d&&(p=d[s])){const t=p.length;if(t)for(let n=0;n null != ${e} <=Actual]`)}(n,e),"string"==typeof t&&(wi=t.toLowerCase().replace(/_/g,"-"))}class Ci{}class Si{resolveComponentFactory(t){throw function(t){const e=Error(`No component factory found for ${X(t)}. Did you add it to @NgModule.entryComponents?`);return e.ngComponent=t,e}(t)}}let xi=(()=>{class t{}return t.NULL=new Si,t})();function Ei(...t){}function Ti(t,e){return new Ai(pe(t,e))}const ki=function(){return Ti(Ee(),Se())};let Ai=(()=>{class t{constructor(t){this.nativeElement=t}}return t.__NG_ELEMENT_ID__=ki,t})();class Oi{}let Ri=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>Ii(),t})();const Ii=function(){const t=Se(),e=ge(Ee().index,t);return function(t){return t[11]}(Kt(e)?e:t)};let ji=(()=>{class t{}return t.\u0275prov=lt({token:t,providedIn:"root",factory:()=>null}),t})();class Pi{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const Ui=new Pi("11.2.10");class Di{constructor(){}supports(t){return Ks(t)}create(t){return new Hi(t)}}const Ni=(t,e)=>e;class Hi{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||Ni}forEachItem(t){let e;for(e=this._itHead;null!==e;e=e._next)t(e)}forEachOperation(t){let e=this._itHead,n=this._removalsHead,r=0,s=null;for(;e||n;){const i=!n||e&&e.currentIndex<$i(n,r,s)?e:n,o=$i(i,r,s),a=i.currentIndex;if(i===n)r--,n=n._nextRemoved;else if(e=e._next,null==i.previousIndex)r++;else{s||(s=[]);const t=o-r,e=a-r;if(t!=e){for(let n=0;n{r=this._trackByFn(e,t),null!==s&&Object.is(s.trackById,r)?(i&&(s=this._verifyReinsertion(s,t,r,e)),Object.is(s.item,t)||this._addIdentityChange(s,t)):(s=this._mismatch(s,t,r,e),i=!0),s=s._next,e++}),this.length=e;return this._truncate(s),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,e,n,r){let s;return null===t?s=this._itTail:(s=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,s,r)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(n,r))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,s,r)):t=this._addAfter(new Mi(e,n),s,r),t}_verifyReinsertion(t,e,n,r){let s=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==s?t=this._reinsertAfter(s,t._prev,r):t.currentIndex!=r&&(t.currentIndex=r,this._addToMoves(t,r)),t}_truncate(t){for(;null!==t;){const e=t._next;this._addToRemovals(this._unlink(t)),t=e}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(t,e,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const r=t._prevRemoved,s=t._nextRemoved;return null===r?this._removalsHead=s:r._nextRemoved=s,null===s?this._removalsTail=r:s._prevRemoved=r,this._insertAfter(t,e,n),this._addToMoves(t,n),t}_moveAfter(t,e,n){return this._unlink(t),this._insertAfter(t,e,n),this._addToMoves(t,n),t}_addAfter(t,e,n){return this._insertAfter(t,e,n),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,e,n){const r=null===e?this._itHead:e._next;return t._next=r,t._prev=e,null===r?this._itTail=t:r._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new Fi),this._linkedRecords.put(t),t.currentIndex=n,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const e=t._prev,n=t._next;return null===e?this._itHead=n:e._next=n,null===n?this._itTail=e:n._prev=e,t}_addToMoves(t,e){return t.previousIndex===e||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Fi),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,e){return t.item=e,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class Mi{constructor(t,e){this.item=t,this.trackById=e,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 Li{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,e){let n;for(n=this._head;null!==n;n=n._nextDup)if((null===e||e<=n.currentIndex)&&Object.is(n.trackById,t))return n;return null}remove(t){const e=t._prevDup,n=t._nextDup;return null===e?this._head=n:e._nextDup=n,null===n?this._tail=e:n._prevDup=e,null===this._head}}class Fi{constructor(){this.map=new Map}put(t){const e=t.trackById;let n=this.map.get(e);n||(n=new Li,this.map.set(e,n)),n.add(t)}get(t,e){const n=this.map.get(t);return n?n.get(t,e):null}remove(t){const e=t.trackById;return this.map.get(e).remove(t)&&this.map.delete(e),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function $i(t,e,n){const r=t.previousIndex;if(null===r)return r;let s=0;return n&&r{if(e&&e.key===n)this._maybeAddToChanges(e,t),this._appendAfter=e,e=e._next;else{const r=this._getOrCreateRecordForKey(n,t);e=this._insertBeforeOrAppend(e,r)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let t=e;null!==t;t=t._nextRemoved)t===this._mapHead&&(this._mapHead=null),this._records.delete(t.key),t._nextRemoved=t._next,t.previousValue=t.currentValue,t.currentValue=null,t._prev=null,t._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,e){if(t){const n=t._prev;return e._next=t,e._prev=n,t._prev=e,n&&(n._next=e),t===this._mapHead&&(this._mapHead=e),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(t,e){if(this._records.has(t)){const n=this._records.get(t);this._maybeAddToChanges(n,e);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 qi(t);return this._records.set(t,n),n.currentValue=e,this._addToAdditions(n),n}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,e){Object.is(e,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=e,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,e){t instanceof Map?t.forEach(e):Object.keys(t).forEach(n=>e(t[n],n))}}class qi{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function Bi(){return new Gi([new Di])}let Gi=(()=>{class t{constructor(t){this.factories=t}static create(e,n){if(null!=n){const t=n.factories.slice();e=e.concat(t)}return new t(e)}static extend(e){return{provide:t,useFactory:n=>t.create(e,n||Bi()),deps:[[t,new Wn,new Zn]]}}find(t){const e=this.factories.find(e=>e.supports(t));if(null!=e)return e;throw new Error(`Cannot find a differ supporting object '${t}' of type '${n=t,n.name||typeof n}'`);var n}}return t.\u0275prov=lt({token:t,providedIn:"root",factory:Bi}),t})();function Zi(){return new Wi([new Vi])}let Wi=(()=>{class t{constructor(t){this.factories=t}static create(e,n){if(n){const t=n.factories.slice();e=e.concat(t)}return new t(e)}static extend(e){return{provide:t,useFactory:n=>t.create(e,n||Zi()),deps:[[t,new Wn,new Zn]]}}find(t){const e=this.factories.find(e=>e.supports(t));if(e)return e;throw new Error(`Cannot find a differ supporting object '${t}'`)}}return t.\u0275prov=lt({token:t,providedIn:"root",factory:Zi}),t})();function Qi(t,e,n,r,s=!1){for(;null!==n;){const i=e[n.index];if(null!==i&&r.push(de(i)),Yt(i))for(let t=Qt;t-1&&(mr(t,n),Dn(e,n))}this._attachedToViewContainer=!1}yr(this._lView[1],this._lView)}onDestroy(t){!function(t,e,n,r){const s=Ts(e);s.push(r)}(0,this._lView,0,t)}markForCheck(){bs(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){Cs(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(t,e,n){Re(!0);try{Cs(t,e,n)}finally{Re(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._attachedToViewContainer=!0}detachFromAppRef(){var t;this._appRef=null,Ar(this._lView[1],t=this._lView,t[11],2,null,null)}attachToAppRef(t){if(this._attachedToViewContainer)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t}}class Yi extends Ki{constructor(t){super(t),this._view=t}detectChanges(){Ss(this._view)}checkNoChanges(){!function(t){Re(!0);try{Ss(t)}finally{Re(!1)}}(this._view)}get context(){return null}}const Ji=function(t=!1){return function(t,e,n){if(!n&&Xt(t)){const n=ge(t.index,e);return new Ki(n,n)}return 47&t.type?new Ki(e[16],e):null}(Ee(),Se(),t)};let Xi=(()=>{class t{}return t.__NG_ELEMENT_ID__=Ji,t.__ChangeDetectorRef__=!0,t})();const to=[new Vi],eo=new Gi([new Di]),no=new Wi(to),ro=function(){return t=Ee(),e=Se(),4&t.type?new oo(e,t,Ti(t,e)):null;var t,e};let so=(()=>{class t{}return t.__NG_ELEMENT_ID__=ro,t})();const io=so,oo=class extends io{constructor(t,e,n){super(),this._declarationLView=t,this._declarationTContainer=e,this.elementRef=n}createEmbeddedView(t){const e=this._declarationTContainer.tViews,n=Zr(this._declarationLView,e,t,16,null,e.declTNode,null,null,null,null);n[17]=this._declarationLView[this._declarationTContainer.index];const r=this._declarationLView[19];return null!==r&&(n[19]=r.createEmbeddedView(e)),Kr(e,n,t),new Ki(n)}};class ao{}class lo{}const uo=function(){return function(t,e){let n;const r=e[t.index];if(Yt(r))n=r;else{let s;if(8&t.type)s=de(r);else{const n=e[11];s=n.createComment("");const r=pe(t,e);vr(n,Cr(n,r),s,function(t,e){return ce(t)?t.nextSibling(e):e.nextSibling}(n,r),!1)}e[t.index]=n=ms(r,e,s,t),ws(e,n)}return new po(n,t,e)}(Ee(),Se())};let co=(()=>{class t{}return t.__NG_ELEMENT_ID__=uo,t})();const ho=co,po=class extends ho{constructor(t,e,n){super(),this._lContainer=t,this._hostTNode=e,this._hostLView=n}get element(){return Ti(this._hostTNode,this._hostLView)}get injector(){return new Tn(this._hostTNode,this._hostLView)}get parentInjector(){const t=gn(this._hostTNode,this._hostLView);if(on(t)){const e=ln(t,this._hostLView),n=an(t);return new Tn(e[1].data[n+8],e)}return new Tn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const e=fo(this._lContainer);return null!==e&&e[t]||null}get length(){return this._lContainer.length-Qt}createEmbeddedView(t,e,n){const r=t.createEmbeddedView(e||{});return this.insert(r,n),r}createComponent(t,e,n,r,s){const i=n||this.parentInjector;if(!s&&null==t.ngModule&&i){const t=i.get(ao,null);t&&(s=t)}const o=t.create(i,r,void 0,s);return this.insert(o.hostView,e),o}insert(t,e){const n=t._lView,r=n[1];if(Yt(n[3])){const e=this.indexOf(t);if(-1!==e)this.detach(e);else{const e=n[3],r=new po(e,e[6],e[3]);r.detach(r.indexOf(t))}}const s=this._adjustIndex(e),i=this._lContainer;!function(t,e,n,r){const s=Qt+r,i=n.length;r>0&&(n[s-1][4]=e),rir});class wo extends Ci{constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=t.selectors.map(Vr).join(","),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!e}get inputs(){return _o(this.componentDef.inputs)}get outputs(){return _o(this.componentDef.outputs)}create(t,e,n,r){const s=(r=r||this.ngModule)?function(t,e){return{get:(n,r,s)=>{const i=t.get(n,mo,s);return i!==mo||r===mo?i:e.get(n,r,s)}}}(t,r.injector):t,i=s.get(Oi,he),o=s.get(ji,null),a=i.createRenderer(null,this.componentDef),l=this.componentDef.selectors[0][0]||"div",u=n?function(t,e,n){if(ce(t))return t.selectRootElement(e,n===St.ShadowDom);let r="string"==typeof e?t.querySelector(e):e;return r.textContent="",r}(a,n,this.componentDef.encapsulation):fr(i.createRenderer(null,this.componentDef),l,function(t){const e=t.toLowerCase();return"svg"===e?"http://www.w3.org/2000/svg":"math"===e?"http://www.w3.org/1998/MathML/":null}(l)),c=this.componentDef.onPush?576:528,h={components:[],scheduler:ir,clean:Es,playerHandler:null,flags:0},d=rs(0,null,null,1,0,null,null,null,null,null),p=Zr(null,d,h,c,null,null,i,a,o,s);let f,g;He(p);try{const t=function(t,e,n,r,s,i){const o=n[1];n[20]=t;const a=Wr(o,20,2,"#host",null),l=a.mergedAttrs=e.hostAttrs;null!==l&&(Rs(a,l,!0),null!==t&&(tn(s,t,l),null!==a.classes&&Ir(s,t,a.classes),null!==a.styles&&Rr(s,t,a.styles)));const u=r.createRenderer(t,e),c=Zr(n,ns(e),null,e.onPush?64:16,n[20],a,r,u,null,null);return o.firstCreatePass&&(mn(dn(a,n),o,e.type),us(o,a),hs(a,n.length,1)),ws(n,c),n[20]=c}(u,this.componentDef,p,i,a);if(u)if(n)tn(a,u,["ng-version",Ui.full]);else{const{attrs:t,classes:e}=function(t){const e=[],n=[];let r=1,s=2;for(;r0&&Ir(a,u,e.join(" "))}if(g=fe(d,Wt),void 0!==e){const t=g.projection=[];for(let n=0;nt(o,e)),e.contentQueries){const t=Ee();e.contentQueries(1,o,t.directiveStart)}const a=Ee();return!i.firstCreatePass||null===e.hostBindings&&null===e.hostAttrs||(qe(a.index),as(n[1],a,0,a.directiveStart,a.directiveEnd,e),ls(e,o)),o}(t,this.componentDef,p,h,[Zs]),Kr(d,p,null)}finally{Ve()}return new bo(this.componentType,f,Ti(g,p),p,g)}}class bo extends class{}{constructor(t,e,n,r,s){super(),this.location=n,this._rootLView=r,this._tNode=s,this.instance=e,this.hostView=this.changeDetectorRef=new Yi(r),this.componentType=t}get injector(){return new Tn(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}const Co=new Map;class So extends ao{constructor(t,e){super(),this._parent=e,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new yo(this);const n=Zt(t),r=t[Dt]||null;r&&bi(r),this._bootstrapComponents=or(n.bootstrap),this._r3Injector=Ls(t,e,[{provide:ao,useValue:this},{provide:xi,useValue:this.componentFactoryResolver}],X(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,e=Gs.THROW_IF_NOT_FOUND,n=yt.Default){return t===Gs||t===ao||t===Is?this:this._r3Injector.get(t,e,n)}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class xo extends lo{constructor(t){super(),this.moduleType=t,null!==Zt(t)&&function(t){const e=new Set;!function t(n){const r=Zt(n,!0),s=r.id;null!==s&&(function(t,e,n){if(e&&e!==n)throw new Error(`Duplicate module registered for ${t} - ${X(e)} vs ${X(e.name)}`)}(s,Co.get(s),n),Co.set(s,n));const i=or(r.imports);for(const o of i)e.has(o)||(e.add(o),t(o))}(t)}(t)}create(t){return new So(this.moduleType,t)}}function Eo(t,e,n,r){return function(t,e,n,r,s,i){const o=e+n;return Js(t,o,s)?function(t,e,n){return t[e]=n}(t,o+1,i?r.call(i,s):r(s)):function(t,e){const n=t[e];return n===zr?void 0:n}(t,o+1)}(Se(),function(){const t=be.lFrame;let e=t.bindingRootIndex;return-1===e&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}(),t,e,n,r)}function To(t){return e=>{setTimeout(t,void 0,e)}}const ko=class extends S{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,e,n){var r,s,i;let o=t,a=e||(()=>null),l=n;if(t&&"object"==typeof t){const e=t;o=null===(r=e.next)||void 0===r?void 0:r.bind(e),a=null===(s=e.error)||void 0===s?void 0:s.bind(e),l=null===(i=e.complete)||void 0===i?void 0:i.bind(e)}this.__isAsync&&(a=To(a),o&&(o=To(o)),l&&(l=To(l)));const u=super.subscribe({next:o,error:a,complete:l});return t instanceof h&&t.add(u),u}},Ao=new Rn("Application Initializer");let Oo=(()=>{class t{constructor(t){this.appInits=t,this.resolve=Ei,this.reject=Ei,this.initialized=!1,this.done=!1,this.donePromise=new Promise((t,e)=>{this.resolve=t,this.reject=e})}runInitializers(){if(this.initialized)return;const t=[],e=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let n=0;n{e()}).catch(t=>{this.reject(t)}),0===t.length&&e(),this.initialized=!0}}return t.\u0275fac=function(e){return new(e||t)(zn(Ao,8))},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})();const Ro=new Rn("AppId"),Io={provide:Ro,useFactory:function(){return`${jo()}${jo()}${jo()}`},deps:[]};function jo(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Po=new Rn("Platform Initializer"),Uo=new Rn("Platform ID"),Do=new Rn("appBootstrapListener");let No=(()=>{class t{log(t){console.log(t)}warn(t){console.warn(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})();const Ho=new Rn("LocaleId"),Mo=new Rn("DefaultCurrencyCode");class Lo{constructor(t,e){this.ngModuleFactory=t,this.componentFactories=e}}const Fo=function(t){return new xo(t)},$o=Fo,Vo=function(t){return Promise.resolve(Fo(t))},zo=function(t){const e=Fo(t),n=or(Zt(t).declarations).reduce((t,e)=>{const n=Gt(e);return n&&t.push(new wo(n)),t},[]);return new Lo(e,n)},qo=zo,Bo=function(t){return Promise.resolve(zo(t))};let Go=(()=>{class t{constructor(){this.compileModuleSync=$o,this.compileModuleAsync=Vo,this.compileModuleAndAllComponentsSync=qo,this.compileModuleAndAllComponentsAsync=Bo}clearCache(){}clearCacheFor(t){}getModuleId(t){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})();const Zo=(()=>Promise.resolve(0))();function Wo(t){"undefined"==typeof Zone?Zo.then(()=>{t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}class Qo{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:e=!1,shouldCoalesceRunChangeDetection:n=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ko(!1),this.onMicrotaskEmpty=new ko(!1),this.onStable=new ko(!1),this.onError=new ko(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const r=this;r._nesting=0,r._outer=r._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(r._inner=r._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(r._inner=r._inner.fork(Zone.longStackTraceZoneSpec)),r.shouldCoalesceEventChangeDetection=!n&&e,r.shouldCoalesceRunChangeDetection=n,r.lastRequestAnimationFrameId=-1,r.nativeRequestAnimationFrame=function(){let t=At.requestAnimationFrame,e=At.cancelAnimationFrame;if("undefined"!=typeof Zone&&t&&e){const n=t[Zone.__symbol__("OriginalDelegate")];n&&(t=n);const r=e[Zone.__symbol__("OriginalDelegate")];r&&(e=r)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:e}}().nativeRequestAnimationFrame,function(t){const e=()=>{!function(t){-1===t.lastRequestAnimationFrameId&&(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(At,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,Jo(t),Yo(t)},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),Jo(t))}(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,s,i,o,a)=>{try{return Xo(t),n.invokeTask(s,i,o,a)}finally{(t.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||t.shouldCoalesceRunChangeDetection)&&e(),ta(t)}},onInvoke:(n,r,s,i,o,a,l)=>{try{return Xo(t),n.invoke(s,i,o,a,l)}finally{t.shouldCoalesceRunChangeDetection&&e(),ta(t)}},onHasTask:(e,n,r,s)=>{e.hasTask(r,s),n===r&&("microTask"==s.change?(t._hasPendingMicrotasks=s.microTask,Jo(t),Yo(t)):"macroTask"==s.change&&(t.hasPendingMacrotasks=s.macroTask))},onHandleError:(e,n,r,s)=>(e.handleError(r,s),t.runOutsideAngular(()=>t.onError.emit(s)),!1)})}(r)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Qo.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(Qo.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(t,e,n){return this._inner.run(t,e,n)}runTask(t,e,n,r){const s=this._inner,i=s.scheduleEventTask("NgZoneEvent: "+r,t,Ko,Ei,Ei);try{return s.runTask(i,e,n)}finally{s.cancelTask(i)}}runGuarded(t,e,n){return this._inner.runGuarded(t,e,n)}runOutsideAngular(t){return this._outer.run(t)}}const Ko={};function Yo(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function Jo(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&-1!==t.lastRequestAnimationFrameId)}function Xo(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function ta(t){t._nesting--,Yo(t)}class ea{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ko,this.onMicrotaskEmpty=new ko,this.onStable=new ko,this.onError=new ko}run(t,e,n){return t.apply(e,n)}runGuarded(t,e,n){return t.apply(e,n)}runOutsideAngular(t){return t()}runTask(t,e,n,r){return t.apply(e,n)}}let na=(()=>{class t{constructor(t){this._ngZone=t,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),t.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:()=>{Qo.assertNotInAngularZone(),Wo(()=>{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())Wo(()=>{for(;0!==this._callbacks.length;){let t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb(this._didWork)}this._didWork=!1});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(e=>!e.updateCb||!e.updateCb(t)||(clearTimeout(e.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,e,n){let r=-1;e&&e>0&&(r=setTimeout(()=>{this._callbacks=this._callbacks.filter(t=>t.timeoutId!==r),t(this._didWork,this.getPendingTasks())},e)),this._callbacks.push({doneCb:t,timeoutId:r,updateCb:n})}whenStable(t,e,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(t,e,n),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(t,e,n){return[]}}return t.\u0275fac=function(e){return new(e||t)(zn(Qo))},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})(),ra=(()=>{class t{constructor(){this._applications=new Map,oa.addToWindow(this)}registerApplication(t,e){this._applications.set(t,e)}unregisterApplication(t){this._applications.delete(t)}unregisterAllApplications(){this._applications.clear()}getTestability(t){return this._applications.get(t)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(t,e=!0){return oa.findTestabilityInTree(this,t,e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})();class sa{addToWindow(t){}findTestabilityInTree(t,e,n){return null}}let ia,oa=new sa,aa=!0,la=!1;const ua=new Rn("AllowMultipleToken");class ca{constructor(t,e){this.name=t,this.token=e}}function ha(t,e,n=[]){const r=`Platform: ${e}`,s=new Rn(r);return(e=[])=>{let i=da();if(!i||i.injector.get(ua,!1))if(t)t(n.concat(e).concat({provide:s,useValue:!0}));else{const t=n.concat(e).concat({provide:s,useValue:!0},{provide:Ps,useValue:"platform"});!function(t){if(ia&&!ia.destroyed&&!ia.injector.get(ua,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");ia=t.get(pa);const e=t.get(Po,null);e&&e.forEach(t=>t())}(Gs.create({providers:t,name:r}))}return function(t){const e=da();if(!e)throw new Error("No platform exists!");if(!e.injector.get(t,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return e}(s)}}function da(){return ia&&!ia.destroyed?ia:null}let pa=(()=>{class t{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,e){const n=function(t,e){let n;return n="noop"===t?new ea:("zone.js"===t?void 0:t)||new Qo({enableLongStackTrace:(la=!0,aa),shouldCoalesceEventChangeDetection:!!(null==e?void 0:e.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==e?void 0:e.ngZoneRunCoalescing)}),n}(e?e.ngZone:void 0,{ngZoneEventCoalescing:e&&e.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:e&&e.ngZoneRunCoalescing||!1}),r=[{provide:Qo,useValue:n}];return n.run(()=>{const e=Gs.create({providers:r,parent:this.injector,name:t.moduleType.name}),s=t.create(e),i=s.injector.get(rr,null);if(!i)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return n.runOutsideAngular(()=>{const t=n.onError.subscribe({next:t=>{i.handleError(t)}});s.onDestroy(()=>{ma(this._modules,s),t.unsubscribe()})}),function(t,e,n){try{const r=n();return oi(r)?r.catch(n=>{throw e.runOutsideAngular(()=>t.handleError(n)),n}):r}catch(r){throw e.runOutsideAngular(()=>t.handleError(r)),r}}(i,n,()=>{const t=s.injector.get(Oo);return t.runInitializers(),t.donePromise.then(()=>(bi(s.injector.get(Ho,vi)||vi),this._moduleDoBootstrap(s),s))})})}bootstrapModule(t,e=[]){const n=fa({},e);return function(t,e,n){const r=new xo(n);return Promise.resolve(r)}(0,0,t).then(t=>this.bootstrapModuleFactory(t,n))}_moduleDoBootstrap(t){const e=t.injector.get(ga);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(t=>e.bootstrap(t));else{if(!t.instance.ngDoBootstrap)throw new Error(`The module ${X(t.instance.constructor)} was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.`);t.instance.ngDoBootstrap(e)}this._modules.push(t)}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(t=>t.destroy()),this._destroyListeners.forEach(t=>t()),this._destroyed=!0}get destroyed(){return this._destroyed}}return t.\u0275fac=function(e){return new(e||t)(zn(Gs))},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})();function fa(t,e){return Array.isArray(e)?e.reduce(fa,t):Object.assign(Object.assign({},t),e)}let ga=(()=>{class t{constructor(t,e,n,r,s){this._zone=t,this._injector=e,this._exceptionHandler=n,this._componentFactoryResolver=r,this._initStatus=s,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const i=new _(t=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{t.next(this._stable),t.complete()})}),o=new _(t=>{let e;this._zone.runOutsideAngular(()=>{e=this._zone.onStable.subscribe(()=>{Qo.assertNotInAngularZone(),Wo(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,t.next(!0))})})});const n=this._zone.onUnstable.subscribe(()=>{Qo.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{t.next(!1)}))});return()=>{e.unsubscribe(),n.unsubscribe()}});this.isStable=function(...t){let e=Number.POSITIVE_INFINITY,n=null,r=t[t.length-1];return E(r)?(n=t.pop(),t.length>1&&"number"==typeof t[t.length-1]&&(e=t.pop())):"number"==typeof r&&(e=t.pop()),null===n&&1===t.length&&t[0]instanceof _?t[0]:z(e)(q(t,n))}(i,o.pipe(t=>{return B()((e=Y,function(t){let n;n="function"==typeof e?e:function(){return e};const r=Object.create(t,Q);return r.source=t,r.subjectFactory=n,r})(t));var e}))}bootstrap(t,e){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=t instanceof Ci?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(n.componentType);const r=n.isBoundToModule?void 0:this._injector.get(ao),s=n.create(Gs.NULL,[],e||n.selector,r),i=s.location.nativeElement,o=s.injector.get(na,null),a=o&&s.injector.get(ra);return o&&a&&a.registerApplication(i,o),s.onDestroy(()=>{this.detachView(s.hostView),ma(this.components,s),a&&a.unregisterApplication(i)}),this._loadComponent(s),s}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;for(let t of this._views)t.detectChanges()}catch(t){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(t))}finally{this._runningTick=!1}}attachView(t){const e=t;this._views.push(e),e.attachToAppRef(this)}detachView(t){const e=t;ma(this._views,e),e.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(Do,[]).concat(this._bootstrapListeners).forEach(e=>e(t))}ngOnDestroy(){this._views.slice().forEach(t=>t.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return t.\u0275fac=function(e){return new(e||t)(zn(Qo),zn(Gs),zn(rr),zn(xi),zn(Oo))},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})();function ma(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}class ya{}class _a{}const va={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"};let wa=(()=>{class t{constructor(t,e){this._compiler=t,this._config=e||va}load(t){return this.loadAndCompile(t)}loadAndCompile(t){let[e,r]=t.split("#");return void 0===r&&(r="default"),n("zn8P")(e).then(t=>t[r]).then(t=>ba(t,e,r)).then(t=>this._compiler.compileModuleAsync(t))}loadFactory(t){let[e,r]=t.split("#"),s="NgFactory";return void 0===r&&(r="default",s=""),n("zn8P")(this._config.factoryPathPrefix+e+this._config.factoryPathSuffix).then(t=>t[r+s]).then(t=>ba(t,e,r))}}return t.\u0275fac=function(e){return new(e||t)(zn(Go),zn(_a,8))},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})();function ba(t,e,n){if(!t)throw new Error(`Cannot find '${n}' in '${e}'`);return t}const Ca=ha(null,"core",[{provide:Uo,useValue:"unknown"},{provide:pa,deps:[Gs]},{provide:ra,deps:[]},{provide:No,deps:[]}]),Sa=[{provide:ga,useClass:ga,deps:[Qo,Gs,rr,xi,Oo]},{provide:vo,deps:[Qo],useFactory:function(t){let e=[];return t.onStable.subscribe(()=>{for(;e.length;)e.pop()()}),function(t){e.push(t)}}},{provide:Oo,useClass:Oo,deps:[[new Zn,Ao]]},{provide:Go,useClass:Go,deps:[]},Io,{provide:Gi,useFactory:function(){return eo},deps:[]},{provide:Wi,useFactory:function(){return no},deps:[]},{provide:Ho,useFactory:function(t){return bi(t=t||"undefined"!=typeof $localize&&$localize.locale||vi),t},deps:[[new Gn(Ho),new Zn,new Wn]]},{provide:Mo,useValue:"USD"}];let xa=(()=>{class t{constructor(t){}}return t.\u0275fac=function(e){return new(e||t)(zn(ga))},t.\u0275mod=zt({type:t}),t.\u0275inj=ut({providers:Sa}),t})(),Ea=null;function Ta(){return Ea}const ka=new Rn("DocumentToken");let Aa=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=lt({factory:Oa,token:t,providedIn:"platform"}),t})();function Oa(){return zn(Ia)}const Ra=new Rn("Location Initialized");let Ia=(()=>{class t extends Aa{constructor(t){super(),this._doc=t,this._init()}_init(){this.location=Ta().getLocation(),this._history=Ta().getHistory()}getBaseHrefFromDOM(){return Ta().getBaseHref(this._doc)}onPopState(t){Ta().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",t,!1)}onHashChange(t){Ta().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",t,!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(t){this.location.pathname=t}pushState(t,e,n){ja()?this._history.pushState(t,e,n):this.location.hash=n}replaceState(t,e,n){ja()?this._history.replaceState(t,e,n):this.location.hash=n}forward(){this._history.forward()}back(){this._history.back()}getState(){return this._history.state}}return t.\u0275fac=function(e){return new(e||t)(zn(ka))},t.\u0275prov=lt({factory:Pa,token:t,providedIn:"platform"}),t})();function ja(){return!!window.history.pushState}function Pa(){return new Ia(zn(ka))}function Ua(t,e){if(0==t.length)return e;if(0==e.length)return t;let n=0;return t.endsWith("/")&&n++,e.startsWith("/")&&n++,2==n?t+e.substring(1):1==n?t+e:t+"/"+e}function Da(t){const e=t.match(/#|\?|$/),n=e&&e.index||t.length;return t.slice(0,n-("/"===t[n-1]?1:0))+t.slice(n)}function Na(t){return t&&"?"!==t[0]?"?"+t:t}let Ha=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=lt({factory:Ma,token:t,providedIn:"root"}),t})();function Ma(t){const e=zn(ka).location;return new Fa(zn(Aa),e&&e.origin||"")}const La=new Rn("appBaseHref");let Fa=(()=>{class t extends Ha{constructor(t,e){if(super(),this._platformLocation=t,null==e&&(e=this._platformLocation.getBaseHrefFromDOM()),null==e)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=e}onPopState(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return Ua(this._baseHref,t)}path(t=!1){const e=this._platformLocation.pathname+Na(this._platformLocation.search),n=this._platformLocation.hash;return n&&t?`${e}${n}`:e}pushState(t,e,n,r){const s=this.prepareExternalUrl(n+Na(r));this._platformLocation.pushState(t,e,s)}replaceState(t,e,n,r){const s=this.prepareExternalUrl(n+Na(r));this._platformLocation.replaceState(t,e,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}return t.\u0275fac=function(e){return new(e||t)(zn(Aa),zn(La,8))},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})(),$a=(()=>{class t extends Ha{constructor(t,e){super(),this._platformLocation=t,this._baseHref="",null!=e&&(this._baseHref=e)}onPopState(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)}getBaseHref(){return this._baseHref}path(t=!1){let e=this._platformLocation.hash;return null==e&&(e="#"),e.length>0?e.substring(1):e}prepareExternalUrl(t){const e=Ua(this._baseHref,t);return e.length>0?"#"+e:e}pushState(t,e,n,r){let s=this.prepareExternalUrl(n+Na(r));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(t,e,s)}replaceState(t,e,n,r){let s=this.prepareExternalUrl(n+Na(r));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(t,e,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}return t.\u0275fac=function(e){return new(e||t)(zn(Aa),zn(La,8))},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})(),Va=(()=>{class t{constructor(t,e){this._subject=new ko,this._urlChangeListeners=[],this._platformStrategy=t;const n=this._platformStrategy.getBaseHref();this._platformLocation=e,this._baseHref=Da(qa(n)),this._platformStrategy.onPopState(t=>{this._subject.emit({url:this.path(!0),pop:!0,state:t.state,type:t.type})})}path(t=!1){return this.normalize(this._platformStrategy.path(t))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(t,e=""){return this.path()==this.normalize(t+Na(e))}normalize(e){return t.stripTrailingSlash(function(t,e){return t&&e.startsWith(t)?e.substring(t.length):e}(this._baseHref,qa(e)))}prepareExternalUrl(t){return t&&"/"!==t[0]&&(t="/"+t),this._platformStrategy.prepareExternalUrl(t)}go(t,e="",n=null){this._platformStrategy.pushState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+Na(e)),n)}replaceState(t,e="",n=null){this._platformStrategy.replaceState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+Na(e)),n)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}onUrlChange(t){this._urlChangeListeners.push(t),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(t=>{this._notifyUrlChangeListeners(t.url,t.state)}))}_notifyUrlChangeListeners(t="",e){this._urlChangeListeners.forEach(n=>n(t,e))}subscribe(t,e,n){return this._subject.subscribe({next:t,error:e,complete:n})}}return t.\u0275fac=function(e){return new(e||t)(zn(Ha),zn(Aa))},t.normalizeQueryParams=Na,t.joinWithSlash=Ua,t.stripTrailingSlash=Da,t.\u0275prov=lt({factory:za,token:t,providedIn:"root"}),t})();function za(){return new Va(zn(Ha),zn(Aa))}function qa(t){return t.replace(/\/index.html$/,"")}var Ba=function(t){return t[t.Zero=0]="Zero",t[t.One=1]="One",t[t.Two=2]="Two",t[t.Few=3]="Few",t[t.Many=4]="Many",t[t.Other=5]="Other",t}({});class Ga{}let Za=(()=>{class t extends Ga{constructor(t){super(),this.locale=t}getPluralCategory(t,e){switch(function(t){return function(t){const e=function(t){return t.toLowerCase().replace(/_/g,"-")}(t);let n=yi(e);if(n)return n;const r=e.split("-")[0];if(n=yi(r),n)return n;if("en"===r)return gi;throw new Error(`Missing locale data for the locale "${t}".`)}(t)[_i.PluralCase]}(e||this.locale)(t)){case Ba.Zero:return"zero";case Ba.One:return"one";case Ba.Two:return"two";case Ba.Few:return"few";case Ba.Many:return"many";default:return"other"}}}return t.\u0275fac=function(e){return new(e||t)(zn(Ho))},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})();class Wa{constructor(t,e,n,r){this.$implicit=t,this.ngForOf=e,this.index=n,this.count=r}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let Qa=(()=>{class t{constructor(t,e,n){this._viewContainer=t,this._template=e,this._differs=n,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const n=this._ngForOf;if(!this._differ&&n)try{this._differ=this._differs.find(n).create(this.ngForTrackBy)}catch(e){throw new Error(`Cannot find a differ supporting object '${n}' of type '${t=n,t.name||typeof t}'. NgFor only supports binding to Iterables such as Arrays.`)}}var t;if(this._differ){const t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){const e=[];t.forEachOperation((t,n,r)=>{if(null==t.previousIndex){const n=this._viewContainer.createEmbeddedView(this._template,new Wa(null,this._ngForOf,-1,-1),null===r?void 0:r),s=new Ka(t,n);e.push(s)}else if(null==r)this._viewContainer.remove(null===n?void 0:n);else if(null!==n){const s=this._viewContainer.get(n);this._viewContainer.move(s,r);const i=new Ka(t,s);e.push(i)}});for(let n=0;n{this._viewContainer.get(t.currentIndex).context.$implicit=t.item})}_perViewChange(t,e){t.context.$implicit=e.item}static ngTemplateContextGuard(t,e){return!0}}return t.\u0275fac=function(e){return new(e||t)(ti(co),ti(so),ti(Gi))},t.\u0275dir=Bt({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),t})();class Ka{constructor(t,e){this.record=t,this.view=e}}let Ya=(()=>{class t{constructor(t,e,n){this._ngEl=t,this._differs=e,this._renderer=n,this._ngStyle=null,this._differ=null}set ngStyle(t){this._ngStyle=t,!this._differ&&t&&(this._differ=this._differs.find(t).create())}ngDoCheck(){if(this._differ){const t=this._differ.diff(this._ngStyle);t&&this._applyChanges(t)}}_setStyle(t,e){const[n,r]=t.split(".");null!=(e=null!=e&&r?`${e}${r}`:e)?this._renderer.setStyle(this._ngEl.nativeElement,n,e):this._renderer.removeStyle(this._ngEl.nativeElement,n)}_applyChanges(t){t.forEachRemovedItem(t=>this._setStyle(t.key,null)),t.forEachAddedItem(t=>this._setStyle(t.key,t.currentValue)),t.forEachChangedItem(t=>this._setStyle(t.key,t.currentValue))}}return t.\u0275fac=function(e){return new(e||t)(ti(Ai),ti(Wi),ti(Ri))},t.\u0275dir=Bt({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),t})(),Ja=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=zt({type:t}),t.\u0275inj=ut({providers:[{provide:Ga,useClass:Za}]}),t})(),Xa=(()=>{class t{}return t.\u0275prov=lt({token:t,providedIn:"root",factory:()=>new tl(zn(ka),window)}),t})();class tl{constructor(t,e){this.document=t,this.window=e,this.offset=()=>[0,0]}setOffset(t){this.offset=Array.isArray(t)?()=>t:t}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(t){this.supportsScrolling()&&this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){var e;if(!this.supportsScrolling())return;const n=null!==(e=this.document.getElementById(t))&&void 0!==e?e:this.document.getElementsByName(t)[0];void 0!==n&&(this.scrollToElement(n),this.attemptFocus(n))}setHistoryScrollRestoration(t){if(this.supportScrollRestoration()){const e=this.window.history;e&&e.scrollRestoration&&(e.scrollRestoration=t)}}scrollToElement(t){const e=t.getBoundingClientRect(),n=e.left+this.window.pageXOffset,r=e.top+this.window.pageYOffset,s=this.offset();this.window.scrollTo(n-s[0],r-s[1])}attemptFocus(t){return t.focus(),this.document.activeElement===t}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const t=el(this.window.history)||el(Object.getPrototypeOf(this.window.history));return!(!t||!t.writable&&!t.set)}catch(t){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(t){return!1}}}function el(t){return Object.getOwnPropertyDescriptor(t,"scrollRestoration")}class nl extends class extends class{}{constructor(){super()}supportsDOMEvents(){return!0}}{static makeCurrent(){var t;t=new nl,Ea||(Ea=t)}getProperty(t,e){return t[e]}log(t){window.console&&window.console.log&&window.console.log(t)}logGroup(t){window.console&&window.console.group&&window.console.group(t)}logGroupEnd(){window.console&&window.console.groupEnd&&window.console.groupEnd()}onAndCancel(t,e,n){return t.addEventListener(e,n,!1),()=>{t.removeEventListener(e,n,!1)}}dispatchEvent(t,e){t.dispatchEvent(e)}remove(t){return t.parentNode&&t.parentNode.removeChild(t),t}getValue(t){return t.value}createElement(t,e){return(e=e||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,e){return"window"===e?window:"document"===e?t:"body"===e?t.body:null}getHistory(){return window.history}getLocation(){return window.location}getBaseHref(t){const e=sl||(sl=document.querySelector("base"),sl)?sl.getAttribute("href"):null;return null==e?null:(n=e,rl||(rl=document.createElement("a")),rl.setAttribute("href",n),"/"===rl.pathname.charAt(0)?rl.pathname:"/"+rl.pathname);var n}resetBaseElement(){sl=null}getUserAgent(){return window.navigator.userAgent}performanceNow(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()}supportsCookies(){return!0}getCookie(t){return function(t,e){e=encodeURIComponent(e);for(const n of t.split(";")){const t=n.indexOf("="),[r,s]=-1==t?[n,""]:[n.slice(0,t),n.slice(t+1)];if(r.trim()===e)return decodeURIComponent(s)}return null}(document.cookie,t)}}let rl,sl=null;const il=new Rn("TRANSITION_ID"),ol=[{provide:Ao,useFactory:function(t,e,n){return()=>{n.get(Oo).donePromise.then(()=>{const n=Ta();Array.prototype.slice.apply(e.querySelectorAll("style[ng-transition]")).filter(e=>e.getAttribute("ng-transition")===t).forEach(t=>n.remove(t))})}},deps:[il,ka,Gs],multi:!0}];class al{static init(){var t;t=new al,oa=t}addToWindow(t){At.getAngularTestability=(e,n=!0)=>{const r=t.findTestabilityInTree(e,n);if(null==r)throw new Error("Could not find testability for element.");return r},At.getAllAngularTestabilities=()=>t.getAllTestabilities(),At.getAllAngularRootElements=()=>t.getAllRootElements(),At.frameworkStabilizers||(At.frameworkStabilizers=[]),At.frameworkStabilizers.push(t=>{const e=At.getAllAngularTestabilities();let n=e.length,r=!1;const s=function(e){r=r||e,n--,0==n&&t(r)};e.forEach(function(t){t.whenStable(s)})})}findTestabilityInTree(t,e,n){if(null==e)return null;const r=t.getTestability(e);return null!=r?r:n?Ta().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null}}const ll=new Rn("EventManagerPlugins");let ul=(()=>{class t{constructor(t,e){this._zone=e,this._eventNameToPlugin=new Map,t.forEach(t=>t.manager=this),this._plugins=t.slice().reverse()}addEventListener(t,e,n){return this._findPluginFor(e).addEventListener(t,e,n)}addGlobalEventListener(t,e,n){return this._findPluginFor(e).addGlobalEventListener(t,e,n)}getZone(){return this._zone}_findPluginFor(t){const e=this._eventNameToPlugin.get(t);if(e)return e;const n=this._plugins;for(let r=0;r{class t{constructor(){this._stylesSet=new Set}addStyles(t){const e=new Set;t.forEach(t=>{this._stylesSet.has(t)||(this._stylesSet.add(t),e.add(t))}),this.onStylesAdded(e)}onStylesAdded(t){}getAllStyles(){return Array.from(this._stylesSet)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})(),dl=(()=>{class t extends hl{constructor(t){super(),this._doc=t,this._hostNodes=new Set,this._styleNodes=new Set,this._hostNodes.add(t.head)}_addStylesToHost(t,e){t.forEach(t=>{const n=this._doc.createElement("style");n.textContent=t,this._styleNodes.add(e.appendChild(n))})}addHost(t){this._addStylesToHost(this._stylesSet,t),this._hostNodes.add(t)}removeHost(t){this._hostNodes.delete(t)}onStylesAdded(t){this._hostNodes.forEach(e=>this._addStylesToHost(t,e))}ngOnDestroy(){this._styleNodes.forEach(t=>Ta().remove(t))}}return t.\u0275fac=function(e){return new(e||t)(zn(ka))},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})();const pl={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/"},fl=/%COMP%/g;function gl(t,e,n){for(let r=0;r{if("__ngUnwrap__"===e)return t;!1===t(e)&&(e.preventDefault(),e.returnValue=!1)}}let yl=(()=>{class t{constructor(t,e,n){this.eventManager=t,this.sharedStylesHost=e,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new _l(t)}createRenderer(t,e){if(!t||!e)return this.defaultRenderer;switch(e.encapsulation){case St.Emulated:{let n=this.rendererByCompId.get(e.id);return n||(n=new vl(this.eventManager,this.sharedStylesHost,e,this.appId),this.rendererByCompId.set(e.id,n)),n.applyToHost(t),n}case 1:case St.ShadowDom:return new wl(this.eventManager,this.sharedStylesHost,t,e);default:if(!this.rendererByCompId.has(e.id)){const t=gl(e.id,e.styles,[]);this.sharedStylesHost.addStyles(t),this.rendererByCompId.set(e.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return t.\u0275fac=function(e){return new(e||t)(zn(ul),zn(dl),zn(Ro))},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})();class _l{constructor(t){this.eventManager=t,this.data=Object.create(null)}destroy(){}createElement(t,e){return e?document.createElementNS(pl[e]||e,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,e){t.appendChild(e)}insertBefore(t,e,n){t&&t.insertBefore(e,n)}removeChild(t,e){t&&t.removeChild(e)}selectRootElement(t,e){let n="string"==typeof t?document.querySelector(t):t;if(!n)throw new Error(`The selector "${t}" did not match any elements`);return e||(n.textContent=""),n}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,e,n,r){if(r){e=r+":"+e;const s=pl[r];s?t.setAttributeNS(s,e,n):t.setAttribute(e,n)}else t.setAttribute(e,n)}removeAttribute(t,e,n){if(n){const r=pl[n];r?t.removeAttributeNS(r,e):t.removeAttribute(`${n}:${e}`)}else t.removeAttribute(e)}addClass(t,e){t.classList.add(e)}removeClass(t,e){t.classList.remove(e)}setStyle(t,e,n,r){r&(ar.DashCase|ar.Important)?t.style.setProperty(e,n,r&ar.Important?"important":""):t.style[e]=n}removeStyle(t,e,n){n&ar.DashCase?t.style.removeProperty(e):t.style[e]=""}setProperty(t,e,n){t[e]=n}setValue(t,e){t.nodeValue=e}listen(t,e,n){return"string"==typeof t?this.eventManager.addGlobalEventListener(t,e,ml(n)):this.eventManager.addEventListener(t,e,ml(n))}}class vl extends _l{constructor(t,e,n,r){super(t),this.component=n;const s=gl(r+"-"+n.id,n.styles,[]);e.addStyles(s),this.contentAttr="_ngcontent-%COMP%".replace(fl,r+"-"+n.id),this.hostAttr="_nghost-%COMP%".replace(fl,r+"-"+n.id)}applyToHost(t){super.setAttribute(t,this.hostAttr,"")}createElement(t,e){const n=super.createElement(t,e);return super.setAttribute(n,this.contentAttr,""),n}}class wl extends _l{constructor(t,e,n,r){super(t),this.sharedStylesHost=e,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const s=gl(r.id,r.styles,[]);for(let i=0;i{class t extends cl{constructor(t){super(t)}supports(t){return!0}addEventListener(t,e,n){return t.addEventListener(e,n,!1),()=>this.removeEventListener(t,e,n)}removeEventListener(t,e,n){return t.removeEventListener(e,n)}}return t.\u0275fac=function(e){return new(e||t)(zn(ka))},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})();const Cl=["alt","control","meta","shift"],Sl={"\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"},xl={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"},El={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};let Tl=(()=>{class t extends cl{constructor(t){super(t)}supports(e){return null!=t.parseEventName(e)}addEventListener(e,n,r){const s=t.parseEventName(n),i=t.eventCallback(s.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Ta().onAndCancel(e,s.domEventName,i))}static parseEventName(e){const n=e.toLowerCase().split("."),r=n.shift();if(0===n.length||"keydown"!==r&&"keyup"!==r)return null;const s=t._normalizeKey(n.pop());let i="";if(Cl.forEach(t=>{const e=n.indexOf(t);e>-1&&(n.splice(e,1),i+=t+".")}),i+=s,0!=n.length||0===s.length)return null;const o={};return o.domEventName=r,o.fullKey=i,o}static getEventFullKey(t){let e="",n=function(t){let e=t.key;if(null==e){if(e=t.keyIdentifier,null==e)return"Unidentified";e.startsWith("U+")&&(e=String.fromCharCode(parseInt(e.substring(2),16)),3===t.location&&xl.hasOwnProperty(e)&&(e=xl[e]))}return Sl[e]||e}(t);return n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),Cl.forEach(r=>{r!=n&&(0,El[r])(t)&&(e+=r+".")}),e+=n,e}static eventCallback(e,n,r){return s=>{t.getEventFullKey(s)===e&&r.runGuarded(()=>n(s))}}static _normalizeKey(t){switch(t){case"esc":return"escape";default:return t}}}return t.\u0275fac=function(e){return new(e||t)(zn(ka))},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})();const kl=ha(Ca,"browser",[{provide:Uo,useValue:"browser"},{provide:Po,useValue:function(){nl.makeCurrent(),al.init()},multi:!0},{provide:ka,useFactory:function(){return function(t){ue=t}(document),document},deps:[]}]),Al=[[],{provide:Ps,useValue:"root"},{provide:rr,useFactory:function(){return new rr},deps:[]},{provide:ll,useClass:bl,multi:!0,deps:[ka,Qo,Uo]},{provide:ll,useClass:Tl,multi:!0,deps:[ka]},[],{provide:yl,useClass:yl,deps:[ul,dl,Ro]},{provide:Oi,useExisting:yl},{provide:hl,useExisting:dl},{provide:dl,useClass:dl,deps:[ka]},{provide:na,useClass:na,deps:[Qo]},{provide:ul,useClass:ul,deps:[ll,Qo]},[]];let Ol=(()=>{class t{constructor(t){if(t)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(e){return{ngModule:t,providers:[{provide:Ro,useValue:e.appId},{provide:il,useExisting:Ro},ol]}}}return t.\u0275fac=function(e){return new(e||t)(zn(t,12))},t.\u0275mod=zt({type:t}),t.\u0275inj=ut({providers:Al,imports:[Ja,xa]}),t})();function Rl(...t){let e=t[t.length-1];return E(e)?(t.pop(),D(t,e)):q(t)}"undefined"!=typeof window&&window;class Il extends S{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const e=super._subscribe(t);return e&&!e.closed&&t.next(this._value),e}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new w;return this._value}next(t){super.next(this._value=t)}}class jl extends f{notifyNext(t,e,n,r,s){this.destination.next(e)}notifyError(t,e){this.destination.error(t)}notifyComplete(t){this.destination.complete()}}class Pl extends f{constructor(t,e,n){super(),this.parent=t,this.outerValue=e,this.outerIndex=n,this.index=0}_next(t){this.parent.notifyNext(this.outerValue,t,this.outerIndex,this.index++,this)}_error(t){this.parent.notifyError(t,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}function Ul(t,e,n,r,s=new Pl(t,n,r)){if(!s.closed)return e instanceof _?e.subscribe(s):U(e)(s)}const Dl={};class Nl{constructor(t){this.resultSelector=t}call(t,e){return e.subscribe(new Hl(t,this.resultSelector))}}class Hl extends jl{constructor(t,e){super(t),this.resultSelector=e,this.active=0,this.values=[],this.observables=[]}_next(t){this.values.push(Dl),this.observables.push(t)}_complete(){const t=this.observables,e=t.length;if(0===e)this.destination.complete();else{this.active=e,this.toRespond=e;for(let n=0;n{function t(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return t.prototype=Object.create(Error.prototype),t})();function Ll(...t){return z(1)(Rl(...t))}const Fl=new _(t=>t.complete());function $l(t){return t?function(t){return new _(e=>t.schedule(()=>e.complete()))}(t):Fl}function Vl(t){return new _(e=>{let n;try{n=t()}catch(r){return void e.error(r)}return(n?N(n):$l()).subscribe(e)})}function zl(t,e){return"function"==typeof e?n=>n.pipe(zl((n,r)=>N(t(n,r)).pipe(T((t,s)=>e(n,t,r,s))))):e=>e.lift(new ql(t))}class ql{constructor(t){this.project=t}call(t,e){return e.subscribe(new Bl(t,this.project))}}class Bl extends M{constructor(t,e){super(t),this.project=e,this.index=0}_next(t){let e;const n=this.index++;try{e=this.project(t,n)}catch(r){return void this.destination.error(r)}this._innerSub(e)}_innerSub(t){const e=this.innerSubscription;e&&e.unsubscribe();const n=new H(this),r=this.destination;r.add(n),this.innerSubscription=L(t,n),this.innerSubscription!==n&&r.add(this.innerSubscription)}_complete(){const{innerSubscription:t}=this;t&&!t.closed||super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(t){this.destination.next(t)}}const Gl=(()=>{function t(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return t.prototype=Object.create(Error.prototype),t})();function Zl(t){return e=>0===t?$l():e.lift(new Wl(t))}class Wl{constructor(t){if(this.total=t,this.total<0)throw new Gl}call(t,e){return e.subscribe(new Ql(t,this.total))}}class Ql extends f{constructor(t,e){super(t),this.total=e,this.count=0}_next(t){const e=this.total,n=++this.count;n<=e&&(this.destination.next(t),n===e&&(this.destination.complete(),this.unsubscribe()))}}function Kl(t,e){let n=!1;return arguments.length>=2&&(n=!0),function(r){return r.lift(new Yl(t,e,n))}}class Yl{constructor(t,e,n=!1){this.accumulator=t,this.seed=e,this.hasSeed=n}call(t,e){return e.subscribe(new Jl(t,this.accumulator,this.seed,this.hasSeed))}}class Jl extends f{constructor(t,e,n,r){super(t),this.accumulator=e,this._seed=n,this.hasSeed=r,this.index=0}get seed(){return this._seed}set seed(t){this.hasSeed=!0,this._seed=t}_next(t){if(this.hasSeed)return this._tryNext(t);this.seed=t,this.destination.next(t)}_tryNext(t){const e=this.index++;let n;try{n=this.accumulator(this.seed,t,e)}catch(r){this.destination.error(r)}this.seed=n,this.destination.next(n)}}function Xl(t,e){return function(n){return n.lift(new tu(t,e))}}class tu{constructor(t,e){this.predicate=t,this.thisArg=e}call(t,e){return e.subscribe(new eu(t,this.predicate,this.thisArg))}}class eu extends f{constructor(t,e,n){super(t),this.predicate=e,this.thisArg=n,this.count=0}_next(t){let e;try{e=this.predicate.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}e&&this.destination.next(t)}}function nu(t){return function(e){const n=new ru(t),r=e.lift(n);return n.caught=r}}class ru{constructor(t){this.selector=t}call(t,e){return e.subscribe(new su(t,this.selector,this.caught))}}class su extends M{constructor(t,e,n){super(t),this.selector=e,this.caught=n}error(t){if(!this.isStopped){let n;try{n=this.selector(t,this.caught)}catch(e){return void super.error(e)}this._unsubscribeAndRecycle();const r=new H(this);this.add(r);const s=L(n,r);s!==r&&this.add(s)}}}function iu(t,e){return F(t,e,1)}function ou(t){return function(e){return 0===t?$l():e.lift(new au(t))}}class au{constructor(t){if(this.total=t,this.total<0)throw new Gl}call(t,e){return e.subscribe(new lu(t,this.total))}}class lu extends f{constructor(t,e){super(t),this.total=e,this.ring=new Array,this.count=0}_next(t){const e=this.ring,n=this.total,r=this.count++;e.length0){const n=this.count>=this.total?this.total:this.count,r=this.ring;for(let s=0;se.lift(new cu(t))}class cu{constructor(t){this.errorFactory=t}call(t,e){return e.subscribe(new hu(t,this.errorFactory))}}class hu extends f{constructor(t,e){super(t),this.errorFactory=e,this.hasValue=!1}_next(t){this.hasValue=!0,this.destination.next(t)}_complete(){if(this.hasValue)return this.destination.complete();{let e;try{e=this.errorFactory()}catch(t){e=t}this.destination.error(e)}}}function du(){return new Ml}function pu(t=null){return e=>e.lift(new fu(t))}class fu{constructor(t){this.defaultValue=t}call(t,e){return e.subscribe(new gu(t,this.defaultValue))}}class gu extends f{constructor(t,e){super(t),this.defaultValue=e,this.isEmpty=!0}_next(t){this.isEmpty=!1,this.destination.next(t)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}function mu(t,e){const n=arguments.length>=2;return r=>r.pipe(t?Xl((e,n)=>t(e,n,r)):y,Zl(1),n?pu(e):uu(()=>new Ml))}function yu(){}function _u(t,e,n){return function(r){return r.lift(new vu(t,e,n))}}class vu{constructor(t,e,n){this.nextOrObserver=t,this.error=e,this.complete=n}call(t,e){return e.subscribe(new wu(t,this.nextOrObserver,this.error,this.complete))}}class wu extends f{constructor(t,e,n,s){super(t),this._tapNext=yu,this._tapError=yu,this._tapComplete=yu,this._tapError=n||yu,this._tapComplete=s||yu,r(e)?(this._context=this,this._tapNext=e):e&&(this._context=e,this._tapNext=e.next||yu,this._tapError=e.error||yu,this._tapComplete=e.complete||yu)}_next(t){try{this._tapNext.call(this._context,t)}catch(e){return void this.destination.error(e)}this.destination.next(t)}_error(t){try{this._tapError.call(this._context,t)}catch(t){return void this.destination.error(t)}this.destination.error(t)}_complete(){try{this._tapComplete.call(this._context)}catch(t){return void this.destination.error(t)}return this.destination.complete()}}class bu{constructor(t){this.callback=t}call(t,e){return e.subscribe(new Cu(t,this.callback))}}class Cu extends f{constructor(t,e){super(t),this.add(new h(e))}}class Su{constructor(t,e){this.id=t,this.url=e}}class xu extends Su{constructor(t,e,n="imperative",r=null){super(t,e),this.navigationTrigger=n,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Eu extends Su{constructor(t,e,n){super(t,e),this.urlAfterRedirects=n}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Tu extends Su{constructor(t,e,n){super(t,e),this.reason=n}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class ku extends Su{constructor(t,e,n){super(t,e),this.error=n}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Au extends Su{constructor(t,e,n,r){super(t,e),this.urlAfterRedirects=n,this.state=r}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ou extends Su{constructor(t,e,n,r){super(t,e),this.urlAfterRedirects=n,this.state=r}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ru extends Su{constructor(t,e,n,r,s){super(t,e),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 Iu extends Su{constructor(t,e,n,r){super(t,e),this.urlAfterRedirects=n,this.state=r}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ju extends Su{constructor(t,e,n,r){super(t,e),this.urlAfterRedirects=n,this.state=r}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Pu{constructor(t){this.route=t}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Uu{constructor(t){this.route=t}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Du{constructor(t){this.snapshot=t}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Nu{constructor(t){this.snapshot=t}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Hu{constructor(t){this.snapshot=t}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Mu{constructor(t){this.snapshot=t}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Lu{constructor(t,e,n){this.routerEvent=t,this.position=e,this.anchor=n}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}const Fu="primary";class $u{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e[0]:e}return null}getAll(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}}function Vu(t){return new $u(t)}function zu(t){const e=Error("NavigationCancelingError: "+t);return e.ngNavigationCancelingError=!0,e}function qu(t,e,n){const r=n.path.split("/");if(r.length>t.length)return null;if("full"===n.pathMatch&&(e.hasChildren()||r.lengthr[e]===t)}return t===e}function Zu(t){return Array.prototype.concat.apply([],t)}function Wu(t){return t.length>0?t[t.length-1]:null}function Qu(t,e){for(const n in t)t.hasOwnProperty(n)&&e(t[n],n)}function Ku(t){return(e=t)&&"function"==typeof e.subscribe?t:oi(t)?N(Promise.resolve(t)):Rl(t);var e}function Yu(t,e,n){return n?function(t,e){return Bu(t,e)}(t.queryParams,e.queryParams)&&Ju(t.root,e.root):function(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(n=>Gu(t[n],e[n]))}(t.queryParams,e.queryParams)&&Xu(t.root,e.root)}function Ju(t,e){if(!sc(t.segments,e.segments))return!1;if(t.numberOfChildren!==e.numberOfChildren)return!1;for(const n in e.children){if(!t.children[n])return!1;if(!Ju(t.children[n],e.children[n]))return!1}return!0}function Xu(t,e){return tc(t,e,e.segments)}function tc(t,e,n){if(t.segments.length>n.length)return!!sc(t.segments.slice(0,n.length),n)&&!e.hasChildren();if(t.segments.length===n.length){if(!sc(t.segments,n))return!1;for(const n in e.children){if(!t.children[n])return!1;if(!Xu(t.children[n],e.children[n]))return!1}return!0}{const r=n.slice(0,t.segments.length),s=n.slice(t.segments.length);return!!sc(t.segments,r)&&!!t.children.primary&&tc(t.children.primary,e,s)}}class ec{constructor(t,e,n){this.root=t,this.queryParams=e,this.fragment=n}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Vu(this.queryParams)),this._queryParamMap}toString(){return ac.serialize(this)}}class nc{constructor(t,e){this.segments=t,this.children=e,this.parent=null,Qu(e,(t,e)=>t.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return lc(this)}}class rc{constructor(t,e){this.path=t,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=Vu(this.parameters)),this._parameterMap}toString(){return gc(this)}}function sc(t,e){return t.length===e.length&&t.every((t,n)=>t.path===e[n].path)}class ic{}class oc{parse(t){const e=new wc(t);return new ec(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(t){var e;return`/${uc(t.root,!0)}${function(t){const e=Object.keys(t).map(e=>{const n=t[e];return Array.isArray(n)?n.map(t=>`${hc(e)}=${hc(t)}`).join("&"):`${hc(e)}=${hc(n)}`});return e.length?`?${e.join("&")}`:""}(t.queryParams)}${"string"==typeof t.fragment?`#${e=t.fragment,encodeURI(e)}`:""}`}}const ac=new oc;function lc(t){return t.segments.map(t=>gc(t)).join("/")}function uc(t,e){if(!t.hasChildren())return lc(t);if(e){const e=t.children.primary?uc(t.children.primary,!1):"",n=[];return Qu(t.children,(t,e)=>{e!==Fu&&n.push(`${e}:${uc(t,!1)}`)}),n.length>0?`${e}(${n.join("//")})`:e}{const e=function(t,e){let n=[];return Qu(t.children,(t,r)=>{r===Fu&&(n=n.concat(e(t,r)))}),Qu(t.children,(t,r)=>{r!==Fu&&(n=n.concat(e(t,r)))}),n}(t,(e,n)=>n===Fu?[uc(t.children.primary,!1)]:[`${n}:${uc(e,!1)}`]);return 1===Object.keys(t.children).length&&null!=t.children.primary?`${lc(t)}/${e[0]}`:`${lc(t)}/(${e.join("//")})`}}function cc(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function hc(t){return cc(t).replace(/%3B/gi,";")}function dc(t){return cc(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function pc(t){return decodeURIComponent(t)}function fc(t){return pc(t.replace(/\+/g,"%20"))}function gc(t){return`${dc(t.path)}${e=t.parameters,Object.keys(e).map(t=>`;${dc(t)}=${dc(e[t])}`).join("")}`;var e}const mc=/^[^\/()?;=#]+/;function yc(t){const e=t.match(mc);return e?e[0]:""}const _c=/^[^=?&#]+/,vc=/^[^?&#]+/;class wc{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new nc([],{}):new nc([],this.parseChildren())}parseQueryParams(){const t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(t.length>0||Object.keys(e).length>0)&&(n.primary=new nc(t,e)),n}parseSegment(){const t=yc(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(t),new rc(pc(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const e=yc(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){const t=yc(this.remaining);t&&(n=t,this.capture(n))}t[pc(e)]=pc(n)}parseQueryParam(t){const e=function(t){const e=t.match(_c);return e?e[0]:""}(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){const t=function(t){const e=t.match(vc);return e?e[0]:""}(this.remaining);t&&(n=t,this.capture(n))}const r=fc(e),s=fc(n);if(t.hasOwnProperty(r)){let e=t[r];Array.isArray(e)||(e=[e],t[r]=e),e.push(s)}else t[r]=s}parseParens(t){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const n=yc(this.remaining),r=this.remaining[n.length];if("/"!==r&&")"!==r&&";"!==r)throw new Error(`Cannot parse url '${this.url}'`);let s;n.indexOf(":")>-1?(s=n.substr(0,n.indexOf(":")),this.capture(s),this.capture(":")):t&&(s=Fu);const i=this.parseChildren();e[s]=1===Object.keys(i).length?i.primary:new nc([],i),this.consumeOptional("//")}return e}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)}capture(t){if(!this.consumeOptional(t))throw new Error(`Expected "${t}".`)}}class bc{constructor(t){this._root=t}get root(){return this._root.value}parent(t){const e=this.pathFromRoot(t);return e.length>1?e[e.length-2]:null}children(t){const e=Cc(t,this._root);return e?e.children.map(t=>t.value):[]}firstChild(t){const e=Cc(t,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(t){const e=Sc(t,this._root);return e.length<2?[]:e[e.length-2].children.map(t=>t.value).filter(e=>e!==t)}pathFromRoot(t){return Sc(t,this._root).map(t=>t.value)}}function Cc(t,e){if(t===e.value)return e;for(const n of e.children){const e=Cc(t,n);if(e)return e}return null}function Sc(t,e){if(t===e.value)return[e];for(const n of e.children){const r=Sc(t,n);if(r.length)return r.unshift(e),r}return[]}class xc{constructor(t,e){this.value=t,this.children=e}toString(){return`TreeNode(${this.value})`}}function Ec(t){const e={};return t&&t.children.forEach(t=>e[t.value.outlet]=t),e}class Tc extends bc{constructor(t,e){super(t),this.snapshot=e,jc(this,t)}toString(){return this.snapshot.toString()}}function kc(t,e){const n=function(t,e){const n=new Rc([],{},{},"",{},Fu,e,null,t.root,-1,{});return new Ic("",new xc(n,[]))}(t,e),r=new Il([new rc("",{})]),s=new Il({}),i=new Il({}),o=new Il({}),a=new Il(""),l=new Ac(r,s,o,a,i,Fu,e,n.root);return l.snapshot=n.root,new Tc(new xc(l,[]),n)}class Ac{constructor(t,e,n,r,s,i,o,a){this.url=t,this.params=e,this.queryParams=n,this.fragment=r,this.data=s,this.outlet=i,this.component=o,this._futureSnapshot=a}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe(T(t=>Vu(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(T(t=>Vu(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Oc(t,e="emptyOnly"){const n=t.pathFromRoot;let r=0;if("always"!==e)for(r=n.length-1;r>=1;){const t=n[r],e=n[r-1];if(t.routeConfig&&""===t.routeConfig.path)r--;else{if(e.component)break;r--}}return function(t){return t.reduce((t,e)=>({params:Object.assign(Object.assign({},t.params),e.params),data:Object.assign(Object.assign({},t.data),e.data),resolve:Object.assign(Object.assign({},t.resolve),e._resolvedData)}),{params:{},data:{},resolve:{}})}(n.slice(r))}class Rc{constructor(t,e,n,r,s,i,o,a,l,u,c){this.url=t,this.params=e,this.queryParams=n,this.fragment=r,this.data=s,this.outlet=i,this.component=o,this.routeConfig=a,this._urlSegment=l,this._lastPathIndex=u,this._resolve=c}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=Vu(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Vu(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(t=>t.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Ic extends bc{constructor(t,e){super(e),this.url=t,jc(this,e)}toString(){return Pc(this._root)}}function jc(t,e){e.value._routerState=t,e.children.forEach(e=>jc(t,e))}function Pc(t){const e=t.children.length>0?` { ${t.children.map(Pc).join(", ")} } `:"";return`${t.value}${e}`}function Uc(t){if(t.snapshot){const e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,Bu(e.queryParams,n.queryParams)||t.queryParams.next(n.queryParams),e.fragment!==n.fragment&&t.fragment.next(n.fragment),Bu(e.params,n.params)||t.params.next(n.params),function(t,e){if(t.length!==e.length)return!1;for(let n=0;nBu(t.parameters,r[e].parameters))&&!(!t.parent!=!e.parent)&&(!t.parent||Dc(t.parent,e.parent))}function Nc(t,e,n){if(n&&t.shouldReuseRoute(e.value,n.value.snapshot)){const r=n.value;r._futureSnapshot=e.value;const s=function(t,e,n){return e.children.map(e=>{for(const r of n.children)if(t.shouldReuseRoute(e.value,r.value.snapshot))return Nc(t,e,r);return Nc(t,e)})}(t,e,n);return new xc(r,s)}{const n=t.retrieve(e.value);if(n){const t=n.route;return Hc(e,t),t}{const n=new Ac(new Il((r=e.value).url),new Il(r.params),new Il(r.queryParams),new Il(r.fragment),new Il(r.data),r.outlet,r.component,r),s=e.children.map(e=>Nc(t,e));return new xc(n,s)}}var r}function Hc(t,e){if(t.value.routeConfig!==e.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(t.children.length!==e.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");e.value._futureSnapshot=t.value;for(let n=0;n{i[e]=Array.isArray(t)?t.map(t=>`${t}`):`${t}`}),new ec(n.root===t?e:$c(n.root,t,e),i,s)}function $c(t,e,n){const r={};return Qu(t.children,(t,s)=>{r[s]=t===e?n:$c(t,e,n)}),new nc(t.segments,r)}class Vc{constructor(t,e,n){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=n,t&&n.length>0&&Mc(n[0]))throw new Error("Root segment cannot have matrix parameters");const r=n.find(Lc);if(r&&r!==Wu(n))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class zc{constructor(t,e,n){this.segmentGroup=t,this.processChildren=e,this.index=n}}function qc(t,e,n){if(t||(t=new nc([],{})),0===t.segments.length&&t.hasChildren())return Bc(t,e,n);const r=function(t,e,n){let r=0,s=e;const i={match:!1,pathIndex:0,commandIndex:0};for(;s=n.length)return i;const e=t.segments[s],o=n[r];if(Lc(o))break;const a=`${o}`,l=r0&&void 0===a)break;if(a&&l&&"object"==typeof l&&void 0===l.outlets){if(!Qc(a,l,e))return i;r+=2}else{if(!Qc(a,{},e))return i;r++}s++}return{match:!0,pathIndex:s,commandIndex:r}}(t,e,n),s=n.slice(r.commandIndex);if(r.match&&r.pathIndex{"string"==typeof n&&(n=[n]),null!==n&&(s[r]=qc(t.children[r],e,n))}),Qu(t.children,(t,e)=>{void 0===r[e]&&(s[e]=t)}),new nc(t.segments,s)}}function Gc(t,e,n){const r=t.segments.slice(0,e);let s=0;for(;s{"string"==typeof t&&(t=[t]),null!==t&&(e[n]=Gc(new nc([],{}),0,t))}),e}function Wc(t){const e={};return Qu(t,(t,n)=>e[n]=`${t}`),e}function Qc(t,e,n){return t==n.path&&Bu(e,n.parameters)}class Kc{constructor(t,e,n,r){this.routeReuseStrategy=t,this.futureState=e,this.currState=n,this.forwardEvent=r}activate(t){const e=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,n,t),Uc(this.futureState.root),this.activateChildRoutes(e,n,t)}deactivateChildRoutes(t,e,n){const r=Ec(e);t.children.forEach(t=>{const e=t.value.outlet;this.deactivateRoutes(t,r[e],n),delete r[e]}),Qu(r,(t,e)=>{this.deactivateRouteAndItsChildren(t,n)})}deactivateRoutes(t,e,n){const r=t.value,s=e?e.value:null;if(r===s)if(r.component){const s=n.getContext(r.outlet);s&&this.deactivateChildRoutes(t,e,s.children)}else this.deactivateChildRoutes(t,e,n);else s&&this.deactivateRouteAndItsChildren(e,n)}deactivateRouteAndItsChildren(t,e){this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,e):this.deactivateRouteAndOutlet(t,e)}detachAndStoreRouteSubtree(t,e){const n=e.getContext(t.value.outlet);if(n&&n.outlet){const e=n.outlet.detach(),r=n.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:e,route:t,contexts:r})}}deactivateRouteAndOutlet(t,e){const n=e.getContext(t.value.outlet),r=n&&t.value.component?n.children:e,s=Ec(t);for(const i of Object.keys(s))this.deactivateRouteAndItsChildren(s[i],r);n&&n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated(),n.attachRef=null,n.resolver=null,n.route=null)}activateChildRoutes(t,e,n){const r=Ec(e);t.children.forEach(t=>{this.activateRoutes(t,r[t.value.outlet],n),this.forwardEvent(new Mu(t.value.snapshot))}),t.children.length&&this.forwardEvent(new Nu(t.value.snapshot))}activateRoutes(t,e,n){const r=t.value,s=e?e.value:null;if(Uc(r),r===s)if(r.component){const s=n.getOrCreateContext(r.outlet);this.activateChildRoutes(t,e,s.children)}else this.activateChildRoutes(t,e,n);else if(r.component){const e=n.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){const t=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),e.children.onOutletReAttached(t.contexts),e.attachRef=t.componentRef,e.route=t.route.value,e.outlet&&e.outlet.attach(t.componentRef,t.route.value),Yc(t.route)}else{const n=function(t){for(let e=t.parent;e;e=e.parent){const t=e.routeConfig;if(t&&t._loadedConfig)return t._loadedConfig;if(t&&t.component)return null}return null}(r.snapshot),s=n?n.module.componentFactoryResolver:null;e.attachRef=null,e.route=r,e.resolver=s,e.outlet&&e.outlet.activateWith(r,s),this.activateChildRoutes(t,null,e.children)}}else this.activateChildRoutes(t,null,n)}}function Yc(t){Uc(t.value),t.children.forEach(Yc)}class Jc{constructor(t,e){this.routes=t,this.module=e}}function Xc(t){return"function"==typeof t}function th(t){return t instanceof ec}const eh=Symbol("INITIAL_VALUE");function nh(){return zl(t=>function(...t){let e,n;return E(t[t.length-1])&&(n=t.pop()),"function"==typeof t[t.length-1]&&(e=t.pop()),1===t.length&&l(t[0])&&(t=t[0]),q(t,n).lift(new Nl(e))}(t.map(t=>t.pipe(Zl(1),function(...t){const e=t[t.length-1];return E(e)?(t.pop(),n=>Ll(t,n,e)):e=>Ll(t,e)}(eh)))).pipe(Kl((t,e)=>{let n=!1;return e.reduce((t,r,s)=>{if(t!==eh)return t;if(r===eh&&(n=!0),!n){if(!1===r)return r;if(s===e.length-1||th(r))return r}return t},t)},eh),Xl(t=>t!==eh),T(t=>th(t)?t:!0===t),Zl(1)))}let rh=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Lt({type:t,selectors:[["ng-component"]],decls:1,vars:0,template:function(t,e){1&t&&ii(0,"router-outlet")},directives:function(){return[Yh]},encapsulation:2}),t})();function sh(t,e=""){for(let n=0;nlh(t)===e);return n.push(...t.filter(t=>lh(t)!==e)),n}const ch={matched:!1,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};function hh(t,e,n){var r;if(""===e.path)return"full"===e.pathMatch&&(t.hasChildren()||n.length>0)?Object.assign({},ch):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};const s=(e.matcher||qu)(n,t,e);if(!s)return Object.assign({},ch);const i={};Qu(s.posParams,(t,e)=>{i[e]=t.path});const o=s.consumed.length>0?Object.assign(Object.assign({},i),s.consumed[s.consumed.length-1].parameters):i;return{matched:!0,consumedSegments:s.consumed,lastChild:s.consumed.length,parameters:o,positionalParamSegments:null!==(r=s.posParams)&&void 0!==r?r:{}}}function dh(t,e,n,r,s="corrected"){if(n.length>0&&function(t,e,n){return n.some(n=>ph(t,e,n)&&lh(n)!==Fu)}(t,n,r)){const s=new nc(e,function(t,e,n,r){const s={};s.primary=r,r._sourceSegment=t,r._segmentIndexShift=e.length;for(const i of n)if(""===i.path&&lh(i)!==Fu){const n=new nc([],{});n._sourceSegment=t,n._segmentIndexShift=e.length,s[lh(i)]=n}return s}(t,e,r,new nc(n,t.children)));return s._sourceSegment=t,s._segmentIndexShift=e.length,{segmentGroup:s,slicedSegments:[]}}if(0===n.length&&function(t,e,n){return n.some(n=>ph(t,e,n))}(t,n,r)){const i=new nc(t.segments,function(t,e,n,r,s,i){const o={};for(const a of r)if(ph(t,n,a)&&!s[lh(a)]){const n=new nc([],{});n._sourceSegment=t,n._segmentIndexShift="legacy"===i?t.segments.length:e.length,o[lh(a)]=n}return Object.assign(Object.assign({},s),o)}(t,e,n,r,t.children,s));return i._sourceSegment=t,i._segmentIndexShift=e.length,{segmentGroup:i,slicedSegments:n}}const i=new nc(t.segments,t.children);return i._sourceSegment=t,i._segmentIndexShift=e.length,{segmentGroup:i,slicedSegments:n}}function ph(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path}function fh(t,e,n,r){return!!(lh(t)===r||r!==Fu&&ph(e,n,t))&&("**"===t.path||hh(e,t,n).matched)}function gh(t,e,n){return 0===e.length&&!t.children[n]}class mh{constructor(t){this.segmentGroup=t||null}}class yh{constructor(t){this.urlTree=t}}function _h(t){return new _(e=>e.error(new mh(t)))}function vh(t){return new _(e=>e.error(new yh(t)))}function wh(t){return new _(e=>e.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${t}'`)))}class bh{constructor(t,e,n,r,s){this.configLoader=e,this.urlSerializer=n,this.urlTree=r,this.config=s,this.allowRedirects=!0,this.ngModule=t.get(ao)}apply(){const t=dh(this.urlTree.root,[],[],this.config).segmentGroup,e=new nc(t.segments,t.children);return this.expandSegmentGroup(this.ngModule,this.config,e,Fu).pipe(T(t=>this.createUrlTree(Ch(t),this.urlTree.queryParams,this.urlTree.fragment))).pipe(nu(t=>{if(t instanceof yh)return this.allowRedirects=!1,this.match(t.urlTree);if(t instanceof mh)throw this.noMatchError(t);throw t}))}match(t){return this.expandSegmentGroup(this.ngModule,this.config,t.root,Fu).pipe(T(e=>this.createUrlTree(Ch(e),t.queryParams,t.fragment))).pipe(nu(t=>{if(t instanceof mh)throw this.noMatchError(t);throw t}))}noMatchError(t){return new Error(`Cannot match any routes. URL Segment: '${t.segmentGroup}'`)}createUrlTree(t,e,n){const r=t.segments.length>0?new nc([],{[Fu]:t}):t;return new ec(r,e,n)}expandSegmentGroup(t,e,n,r){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(t,e,n).pipe(T(t=>new nc([],t))):this.expandSegment(t,n,e,n.segments,r,!0)}expandChildren(t,e,n){const r=[];for(const s of Object.keys(n.children))"primary"===s?r.unshift(s):r.push(s);return N(r).pipe(iu(r=>{const s=n.children[r],i=uh(e,r);return this.expandSegmentGroup(t,i,s,r).pipe(T(t=>({segment:t,outlet:r})))}),Kl((t,e)=>(t[e.outlet]=e.segment,t),{}),function(t,e){const n=arguments.length>=2;return r=>r.pipe(t?Xl((e,n)=>t(e,n,r)):y,ou(1),n?pu(e):uu(()=>new Ml))}())}expandSegment(t,e,n,r,s,i){return N(n).pipe(iu(o=>this.expandSegmentAgainstRoute(t,e,n,o,r,s,i).pipe(nu(t=>{if(t instanceof mh)return Rl(null);throw t}))),mu(t=>!!t),nu((t,n)=>{if(t instanceof Ml||"EmptyError"===t.name){if(gh(e,r,s))return Rl(new nc([],{}));throw new mh(e)}throw t}))}expandSegmentAgainstRoute(t,e,n,r,s,i,o){return fh(r,e,s,i)?void 0===r.redirectTo?this.matchSegmentAgainstRoute(t,e,r,s,i):o&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,n,r,s,i):_h(e):_h(e)}expandSegmentAgainstRouteUsingRedirect(t,e,n,r,s,i){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,r,i):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,r,s,i)}expandWildCardWithParamsAgainstRouteUsingRedirect(t,e,n,r){const s=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?vh(s):this.lineralizeSegments(n,s).pipe(F(n=>{const s=new nc(n,{});return this.expandSegment(t,s,e,n,r,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,r,s,i){const{matched:o,consumedSegments:a,lastChild:l,positionalParamSegments:u}=hh(e,r,s);if(!o)return _h(e);const c=this.applyRedirectCommands(a,r.redirectTo,u);return r.redirectTo.startsWith("/")?vh(c):this.lineralizeSegments(r,c).pipe(F(r=>this.expandSegment(t,e,n,r.concat(s.slice(l)),i,!1)))}matchSegmentAgainstRoute(t,e,n,r,s){if("**"===n.path)return n.loadChildren?(n._loadedConfig?Rl(n._loadedConfig):this.configLoader.load(t.injector,n)).pipe(T(t=>(n._loadedConfig=t,new nc(r,{})))):Rl(new nc(r,{}));const{matched:i,consumedSegments:o,lastChild:a}=hh(e,n,r);if(!i)return _h(e);const l=r.slice(a);return this.getChildConfig(t,n,r).pipe(F(t=>{const r=t.module,i=t.routes,{segmentGroup:a,slicedSegments:u}=dh(e,o,l,i),c=new nc(a.segments,a.children);if(0===u.length&&c.hasChildren())return this.expandChildren(r,i,c).pipe(T(t=>new nc(o,t)));if(0===i.length&&0===u.length)return Rl(new nc(o,{}));const h=lh(n)===s;return this.expandSegment(r,c,i,u,h?Fu:s,!0).pipe(T(t=>new nc(o.concat(t.segments),t.children)))}))}getChildConfig(t,e,n){return e.children?Rl(new Jc(e.children,t)):e.loadChildren?void 0!==e._loadedConfig?Rl(e._loadedConfig):this.runCanLoadGuards(t.injector,e,n).pipe(F(n=>n?this.configLoader.load(t.injector,e).pipe(T(t=>(e._loadedConfig=t,t))):function(t){return new _(e=>e.error(zu(`Cannot load children because the guard of the route "path: '${t.path}'" returned false`)))}(e))):Rl(new Jc([],t))}runCanLoadGuards(t,e,n){const r=e.canLoad;return r&&0!==r.length?Rl(r.map(r=>{const s=t.get(r);let i;if(function(t){return t&&Xc(t.canLoad)}(s))i=s.canLoad(e,n);else{if(!Xc(s))throw new Error("Invalid CanLoad guard");i=s(e,n)}return Ku(i)})).pipe(nh(),_u(t=>{if(!th(t))return;const e=zu(`Redirecting to "${this.urlSerializer.serialize(t)}"`);throw e.url=t,e}),T(t=>!0===t)):Rl(!0)}lineralizeSegments(t,e){let n=[],r=e.root;for(;;){if(n=n.concat(r.segments),0===r.numberOfChildren)return Rl(n);if(r.numberOfChildren>1||!r.children.primary)return wh(t.redirectTo);r=r.children.primary}}applyRedirectCommands(t,e,n){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),t,n)}applyRedirectCreatreUrlTree(t,e,n,r){const s=this.createSegmentGroup(t,e.root,n,r);return new ec(s,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(t,e){const n={};return Qu(t,(t,r)=>{if("string"==typeof t&&t.startsWith(":")){const s=t.substring(1);n[r]=e[s]}else n[r]=t}),n}createSegmentGroup(t,e,n,r){const s=this.createSegments(t,e.segments,n,r);let i={};return Qu(e.children,(e,s)=>{i[s]=this.createSegmentGroup(t,e,n,r)}),new nc(s,i)}createSegments(t,e,n,r){return e.map(e=>e.path.startsWith(":")?this.findPosParam(t,e,r):this.findOrReturn(e,n))}findPosParam(t,e,n){const r=n[e.path.substring(1)];if(!r)throw new Error(`Cannot redirect to '${t}'. Cannot find '${e.path}'.`);return r}findOrReturn(t,e){let n=0;for(const r of e){if(r.path===t.path)return e.splice(n),r;n++}return t}}function Ch(t){const e={};for(const n of Object.keys(t.children)){const r=Ch(t.children[n]);(r.segments.length>0||r.hasChildren())&&(e[n]=r)}return function(t){if(1===t.numberOfChildren&&t.children.primary){const e=t.children.primary;return new nc(t.segments.concat(e.segments),e.children)}return t}(new nc(t.segments,e))}class Sh{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class xh{constructor(t,e){this.component=t,this.route=e}}function Eh(t,e,n){const r=t._root;return kh(r,e?e._root:null,n,[r.value])}function Th(t,e,n){const r=function(t){if(!t)return null;for(let e=t.parent;e;e=e.parent){const t=e.routeConfig;if(t&&t._loadedConfig)return t._loadedConfig}return null}(e);return(r?r.module.injector:n).get(t)}function kh(t,e,n,r,s={canDeactivateChecks:[],canActivateChecks:[]}){const i=Ec(e);return t.children.forEach(t=>{!function(t,e,n,r,s={canDeactivateChecks:[],canActivateChecks:[]}){const i=t.value,o=e?e.value:null,a=n?n.getContext(t.value.outlet):null;if(o&&i.routeConfig===o.routeConfig){const l=function(t,e,n){if("function"==typeof n)return n(t,e);switch(n){case"pathParamsChange":return!sc(t.url,e.url);case"pathParamsOrQueryParamsChange":return!sc(t.url,e.url)||!Bu(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Dc(t,e)||!Bu(t.queryParams,e.queryParams);case"paramsChange":default:return!Dc(t,e)}}(o,i,i.routeConfig.runGuardsAndResolvers);l?s.canActivateChecks.push(new Sh(r)):(i.data=o.data,i._resolvedData=o._resolvedData),kh(t,e,i.component?a?a.children:null:n,r,s),l&&a&&a.outlet&&a.outlet.isActivated&&s.canDeactivateChecks.push(new xh(a.outlet.component,o))}else o&&Ah(e,a,s),s.canActivateChecks.push(new Sh(r)),kh(t,null,i.component?a?a.children:null:n,r,s)}(t,i[t.value.outlet],n,r.concat([t.value]),s),delete i[t.value.outlet]}),Qu(i,(t,e)=>Ah(t,n.getContext(e),s)),s}function Ah(t,e,n){const r=Ec(t),s=t.value;Qu(r,(t,r)=>{Ah(t,s.component?e?e.children.getContext(r):null:e,n)}),n.canDeactivateChecks.push(new xh(s.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,s))}class Oh{}function Rh(t){return new _(e=>e.error(t))}class Ih{constructor(t,e,n,r,s,i){this.rootComponentType=t,this.config=e,this.urlTree=n,this.url=r,this.paramsInheritanceStrategy=s,this.relativeLinkResolution=i}recognize(){const t=dh(this.urlTree.root,[],[],this.config.filter(t=>void 0===t.redirectTo),this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,t,Fu);if(null===e)return null;const n=new Rc([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},Fu,this.rootComponentType,null,this.urlTree.root,-1,{}),r=new xc(n,e),s=new Ic(this.url,r);return this.inheritParamsAndData(s._root),s}inheritParamsAndData(t){const e=t.value,n=Oc(e,this.paramsInheritanceStrategy);e.params=Object.freeze(n.params),e.data=Object.freeze(n.data),t.children.forEach(t=>this.inheritParamsAndData(t))}processSegmentGroup(t,e,n){return 0===e.segments.length&&e.hasChildren()?this.processChildren(t,e):this.processSegment(t,e,e.segments,n)}processChildren(t,e){const n=[];for(const s of Object.keys(e.children)){const r=e.children[s],i=uh(t,s),o=this.processSegmentGroup(i,r,s);if(null===o)return null;n.push(...o)}const r=function(t){const e=[];for(const n of t){if(!jh(n)){e.push(n);continue}const t=e.find(t=>n.value.routeConfig===t.value.routeConfig);void 0!==t?t.children.push(...n.children):e.push(n)}return e}(n);return r.sort((t,e)=>t.value.outlet===Fu?-1:e.value.outlet===Fu?1:t.value.outlet.localeCompare(e.value.outlet)),r}processSegment(t,e,n,r){for(const s of t){const t=this.processSegmentAgainstRoute(s,e,n,r);if(null!==t)return t}return gh(e,n,r)?[]:null}processSegmentAgainstRoute(t,e,n,r){if(t.redirectTo||!fh(t,e,n,r))return null;let s,i=[],o=[];if("**"===t.path){const r=n.length>0?Wu(n).parameters:{};s=new Rc(n,r,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Dh(t),lh(t),t.component,t,Ph(e),Uh(e)+n.length,Nh(t))}else{const r=hh(e,t,n);if(!r.matched)return null;i=r.consumedSegments,o=n.slice(r.lastChild),s=new Rc(i,r.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Dh(t),lh(t),t.component,t,Ph(e),Uh(e)+i.length,Nh(t))}const a=function(t){return t.children?t.children:t.loadChildren?t._loadedConfig.routes:[]}(t),{segmentGroup:l,slicedSegments:u}=dh(e,i,o,a.filter(t=>void 0===t.redirectTo),this.relativeLinkResolution);if(0===u.length&&l.hasChildren()){const t=this.processChildren(a,l);return null===t?null:[new xc(s,t)]}if(0===a.length&&0===u.length)return[new xc(s,[])];const c=lh(t)===r,h=this.processSegment(a,l,u,c?Fu:r);return null===h?null:[new xc(s,h)]}}function jh(t){const e=t.value.routeConfig;return e&&""===e.path&&void 0===e.redirectTo}function Ph(t){let e=t;for(;e._sourceSegment;)e=e._sourceSegment;return e}function Uh(t){let e=t,n=e._segmentIndexShift?e._segmentIndexShift:0;for(;e._sourceSegment;)e=e._sourceSegment,n+=e._segmentIndexShift?e._segmentIndexShift:0;return n-1}function Dh(t){return t.data||{}}function Nh(t){return t.resolve||{}}function Hh(t){return zl(e=>{const n=t(e);return n?N(n).pipe(T(()=>e)):Rl(e)})}class Mh extends class{shouldDetach(t){return!1}store(t,e){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,e){return t.routeConfig===e.routeConfig}}{}const Lh=new Rn("ROUTES");class Fh{constructor(t,e,n,r){this.loader=t,this.compiler=e,this.onLoadStartListener=n,this.onLoadEndListener=r}load(t,e){if(e._loader$)return e._loader$;this.onLoadStartListener&&this.onLoadStartListener(e);const n=this.loadModuleFactory(e.loadChildren).pipe(T(n=>{this.onLoadEndListener&&this.onLoadEndListener(e);const r=n.create(t);return new Jc(Zu(r.injector.get(Lh,void 0,yt.Self|yt.Optional)).map(ah),r)}),nu(t=>{throw e._loader$=void 0,t}));return e._loader$=new W(n,()=>new S).pipe(B()),e._loader$}loadModuleFactory(t){return"string"==typeof t?N(this.loader.load(t)):Ku(t()).pipe(F(t=>t instanceof lo?Rl(t):N(this.compiler.compileModuleAsync(t))))}}class $h{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new Vh,this.attachRef=null}}class Vh{constructor(){this.contexts=new Map}onChildOutletCreated(t,e){const n=this.getOrCreateContext(t);n.outlet=e,this.contexts.set(t,n)}onChildOutletDestroyed(t){const e=this.getContext(t);e&&(e.outlet=null)}onOutletDeactivated(){const t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let e=this.getContext(t);return e||(e=new $h,this.contexts.set(t,e)),e}getContext(t){return this.contexts.get(t)||null}}class zh{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,e){return t}}function qh(t){throw t}function Bh(t,e,n){return e.parse("/")}function Gh(t,e){return Rl(null)}let Zh=(()=>{class t{constructor(t,e,n,r,s,i,o,a){this.rootComponentType=t,this.urlSerializer=e,this.rootContexts=n,this.location=r,this.config=a,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.lastLocationChangeInfo=null,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new S,this.errorHandler=qh,this.malformedUriErrorHandler=Bh,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:Gh,afterPreactivation:Gh},this.urlHandlingStrategy=new zh,this.routeReuseStrategy=new Mh,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.ngModule=s.get(ao),this.console=s.get(No);const l=s.get(Qo);this.isNgZoneEnabled=l instanceof Qo&&Qo.isInAngularZone(),this.resetConfig(a),this.currentUrlTree=new ec(new nc([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new Fh(i,o,t=>this.triggerEvent(new Pu(t)),t=>this.triggerEvent(new Uu(t))),this.routerState=kc(this.currentUrlTree,this.rootComponentType),this.transitions=new Il({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(t){const e=this.events;return t.pipe(Xl(t=>0!==t.id),T(t=>Object.assign(Object.assign({},t),{extractedUrl:this.urlHandlingStrategy.extract(t.rawUrl)})),zl(t=>{let n=!1,r=!1;return Rl(t).pipe(_u(t=>{this.currentNavigation={id:t.id,initialUrl:t.currentRawUrl,extractedUrl:t.extractedUrl,trigger:t.source,extras:t.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),zl(t=>{const n=!this.navigated||t.extractedUrl.toString()!==this.browserUrlTree.toString();if(("reload"===this.onSameUrlNavigation||n)&&this.urlHandlingStrategy.shouldProcessUrl(t.rawUrl))return Rl(t).pipe(zl(t=>{const n=this.transitions.getValue();return e.next(new xu(t.id,this.serializeUrl(t.extractedUrl),t.source,t.restoredState)),n!==this.transitions.getValue()?Fl:Promise.resolve(t)}),(r=this.ngModule.injector,s=this.configLoader,i=this.urlSerializer,o=this.config,zl(t=>function(t,e,n,r,s){return new bh(t,e,n,r,s).apply()}(r,s,i,t.extractedUrl,o).pipe(T(e=>Object.assign(Object.assign({},t),{urlAfterRedirects:e}))))),_u(t=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:t.urlAfterRedirects})}),function(t,e,n,r,s){return F(i=>function(t,e,n,r,s="emptyOnly",i="legacy"){try{const o=new Ih(t,e,n,r,s,i).recognize();return null===o?Rh(new Oh):Rl(o)}catch(o){return Rh(o)}}(t,e,i.urlAfterRedirects,n(i.urlAfterRedirects),r,s).pipe(T(t=>Object.assign(Object.assign({},i),{targetSnapshot:t}))))}(this.rootComponentType,this.config,t=>this.serializeUrl(t),this.paramsInheritanceStrategy,this.relativeLinkResolution),_u(t=>{"eager"===this.urlUpdateStrategy&&(t.extras.skipLocationChange||this.setBrowserUrl(t.urlAfterRedirects,!!t.extras.replaceUrl,t.id,t.extras.state),this.browserUrlTree=t.urlAfterRedirects);const n=new Au(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.next(n)}));var r,s,i,o;if(n&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:n,extractedUrl:r,source:s,restoredState:i,extras:o}=t,a=new xu(n,this.serializeUrl(r),s,i);e.next(a);const l=kc(r,this.rootComponentType).snapshot;return Rl(Object.assign(Object.assign({},t),{targetSnapshot:l,urlAfterRedirects:r,extras:Object.assign(Object.assign({},o),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=t.rawUrl,this.browserUrlTree=t.urlAfterRedirects,t.resolve(null),Fl}),Hh(t=>{const{targetSnapshot:e,id:n,extractedUrl:r,rawUrl:s,extras:{skipLocationChange:i,replaceUrl:o}}=t;return this.hooks.beforePreactivation(e,{navigationId:n,appliedUrlTree:r,rawUrlTree:s,skipLocationChange:!!i,replaceUrl:!!o})}),_u(t=>{const e=new Ou(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}),T(t=>Object.assign(Object.assign({},t),{guards:Eh(t.targetSnapshot,t.currentSnapshot,this.rootContexts)})),function(t,e){return F(n=>{const{targetSnapshot:r,currentSnapshot:s,guards:{canActivateChecks:i,canDeactivateChecks:o}}=n;return 0===o.length&&0===i.length?Rl(Object.assign(Object.assign({},n),{guardsResult:!0})):function(t,e,n,r){return N(t).pipe(F(t=>function(t,e,n,r,s){const i=e&&e.routeConfig?e.routeConfig.canDeactivate:null;return i&&0!==i.length?Rl(i.map(i=>{const o=Th(i,e,s);let a;if(function(t){return t&&Xc(t.canDeactivate)}(o))a=Ku(o.canDeactivate(t,e,n,r));else{if(!Xc(o))throw new Error("Invalid CanDeactivate guard");a=Ku(o(t,e,n,r))}return a.pipe(mu())})).pipe(nh()):Rl(!0)}(t.component,t.route,n,e,r)),mu(t=>!0!==t,!0))}(o,r,s,t).pipe(F(n=>n&&"boolean"==typeof n?function(t,e,n,r){return N(e).pipe(iu(e=>Ll(function(t,e){return null!==t&&e&&e(new Du(t)),Rl(!0)}(e.route.parent,r),function(t,e){return null!==t&&e&&e(new Hu(t)),Rl(!0)}(e.route,r),function(t,e,n){const r=e[e.length-1],s=e.slice(0,e.length-1).reverse().map(t=>function(t){const e=t.routeConfig?t.routeConfig.canActivateChild:null;return e&&0!==e.length?{node:t,guards:e}:null}(t)).filter(t=>null!==t).map(e=>Vl(()=>Rl(e.guards.map(s=>{const i=Th(s,e.node,n);let o;if(function(t){return t&&Xc(t.canActivateChild)}(i))o=Ku(i.canActivateChild(r,t));else{if(!Xc(i))throw new Error("Invalid CanActivateChild guard");o=Ku(i(r,t))}return o.pipe(mu())})).pipe(nh())));return Rl(s).pipe(nh())}(t,e.path,n),function(t,e,n){const r=e.routeConfig?e.routeConfig.canActivate:null;return r&&0!==r.length?Rl(r.map(r=>Vl(()=>{const s=Th(r,e,n);let i;if(function(t){return t&&Xc(t.canActivate)}(s))i=Ku(s.canActivate(e,t));else{if(!Xc(s))throw new Error("Invalid CanActivate guard");i=Ku(s(e,t))}return i.pipe(mu())}))).pipe(nh()):Rl(!0)}(t,e.route,n))),mu(t=>!0!==t,!0))}(r,i,t,e):Rl(n)),T(t=>Object.assign(Object.assign({},n),{guardsResult:t})))})}(this.ngModule.injector,t=>this.triggerEvent(t)),_u(t=>{if(th(t.guardsResult)){const e=zu(`Redirecting to "${this.serializeUrl(t.guardsResult)}"`);throw e.url=t.guardsResult,e}const e=new Ru(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot,!!t.guardsResult);this.triggerEvent(e)}),Xl(t=>{if(!t.guardsResult){this.resetUrlToCurrentUrlTree();const n=new Tu(t.id,this.serializeUrl(t.extractedUrl),"");return e.next(n),t.resolve(!1),!1}return!0}),Hh(t=>{if(t.guards.canActivateChecks.length)return Rl(t).pipe(_u(t=>{const e=new Iu(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}),zl(t=>{let n=!1;return Rl(t).pipe((r=this.paramsInheritanceStrategy,s=this.ngModule.injector,F(t=>{const{targetSnapshot:e,guards:{canActivateChecks:n}}=t;if(!n.length)return Rl(t);let i=0;return N(n).pipe(iu(t=>function(t,e,n,r){return function(t,e,n,r){const s=Object.keys(t);if(0===s.length)return Rl({});const i={};return N(s).pipe(F(s=>function(t,e,n,r){const s=Th(t,e,r);return Ku(s.resolve?s.resolve(e,n):s(e,n))}(t[s],e,n,r).pipe(_u(t=>{i[s]=t}))),ou(1),F(()=>Object.keys(i).length===s.length?Rl(i):Fl))}(t._resolve,t,e,r).pipe(T(e=>(t._resolvedData=e,t.data=Object.assign(Object.assign({},t.data),Oc(t,n).resolve),null)))}(t.route,e,r,s)),_u(()=>i++),ou(1),F(e=>i===n.length?Rl(t):Fl))})),_u({next:()=>n=!0,complete:()=>{if(!n){const n=new Tu(t.id,this.serializeUrl(t.extractedUrl),"At least one route resolver didn't emit any value.");e.next(n),t.resolve(!1)}}}));var r,s}),_u(t=>{const e=new ju(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}))}),Hh(t=>{const{targetSnapshot:e,id:n,extractedUrl:r,rawUrl:s,extras:{skipLocationChange:i,replaceUrl:o}}=t;return this.hooks.afterPreactivation(e,{navigationId:n,appliedUrlTree:r,rawUrlTree:s,skipLocationChange:!!i,replaceUrl:!!o})}),T(t=>{const e=function(t,e,n){const r=Nc(t,e._root,n?n._root:void 0);return new Tc(r,e)}(this.routeReuseStrategy,t.targetSnapshot,t.currentRouterState);return Object.assign(Object.assign({},t),{targetRouterState:e})}),_u(t=>{this.currentUrlTree=t.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.rawUrl),this.routerState=t.targetRouterState,"deferred"===this.urlUpdateStrategy&&(t.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,!!t.extras.replaceUrl,t.id,t.extras.state),this.browserUrlTree=t.urlAfterRedirects)}),(i=this.rootContexts,o=this.routeReuseStrategy,a=t=>this.triggerEvent(t),T(t=>(new Kc(o,t.targetRouterState,t.currentRouterState,a).activate(i),t))),_u({next(){n=!0},complete(){n=!0}}),(s=()=>{if(!n&&!r){this.resetUrlToCurrentUrlTree();const n=new Tu(t.id,this.serializeUrl(t.extractedUrl),`Navigation ID ${t.id} is not equal to the current navigation id ${this.navigationId}`);e.next(n),t.resolve(!1)}this.currentNavigation=null},t=>t.lift(new bu(s))),nu(n=>{if(r=!0,(s=n)&&s.ngNavigationCancelingError){const r=th(n.url);r||(this.navigated=!0,this.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl));const s=new Tu(t.id,this.serializeUrl(t.extractedUrl),n.message);e.next(s),r?setTimeout(()=>{const e=this.urlHandlingStrategy.merge(n.url,this.rawUrlTree);this.scheduleNavigation(e,"imperative",null,{skipLocationChange:t.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy},{resolve:t.resolve,reject:t.reject,promise:t.promise})},0):t.resolve(!1)}else{this.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl);const r=new ku(t.id,this.serializeUrl(t.extractedUrl),n);e.next(r);try{t.resolve(this.errorHandler(n))}catch(i){t.reject(i)}}var s;return Fl}));var s,i,o,a}))}resetRootComponentType(t){this.rootComponentType=t,this.routerState.root.component=this.rootComponentType}getTransition(){const t=this.transitions.value;return t.urlAfterRedirects=this.browserUrlTree,t}setTransition(t){this.transitions.next(Object.assign(Object.assign({},this.getTransition()),t))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(t=>{const e=this.extractLocationChangeInfoFromEvent(t);this.shouldScheduleNavigation(this.lastLocationChangeInfo,e)&&setTimeout(()=>{const{source:t,state:n,urlTree:r}=e,s={replaceUrl:!0};if(n){const t=Object.assign({},n);delete t.navigationId,0!==Object.keys(t).length&&(s.state=t)}this.scheduleNavigation(r,t,n,s)},0),this.lastLocationChangeInfo=e}))}extractLocationChangeInfoFromEvent(t){var e;return{source:"popstate"===t.type?"popstate":"hashchange",urlTree:this.parseUrl(t.url),state:(null===(e=t.state)||void 0===e?void 0:e.navigationId)?t.state:null,transitionId:this.getTransition().id}}shouldScheduleNavigation(t,e){if(!t)return!0;const n=e.urlTree.toString()===t.urlTree.toString();return!(e.transitionId===t.transitionId&&n&&("hashchange"===e.source&&"popstate"===t.source||"popstate"===e.source&&"hashchange"===t.source))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(t){this.events.next(t)}resetConfig(t){sh(t),this.config=t.map(ah),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(t,e={}){const{relativeTo:n,queryParams:r,fragment:s,queryParamsHandling:i,preserveFragment:o}=e,a=n||this.routerState.root,l=o?this.currentUrlTree.fragment:s;let u=null;switch(i){case"merge":u=Object.assign(Object.assign({},this.currentUrlTree.queryParams),r);break;case"preserve":u=this.currentUrlTree.queryParams;break;default:u=r||null}return null!==u&&(u=this.removeEmptyProps(u)),function(t,e,n,r,s){if(0===n.length)return Fc(e.root,e.root,e,r,s);const i=function(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new Vc(!0,0,t);let e=0,n=!1;const r=t.reduce((t,r,s)=>{if("object"==typeof r&&null!=r){if(r.outlets){const e={};return Qu(r.outlets,(t,n)=>{e[n]="string"==typeof t?t.split("/"):t}),[...t,{outlets:e}]}if(r.segmentPath)return[...t,r.segmentPath]}return"string"!=typeof r?[...t,r]:0===s?(r.split("/").forEach((r,s)=>{0==s&&"."===r||(0==s&&""===r?n=!0:".."===r?e++:""!=r&&t.push(r))}),t):[...t,r]},[]);return new Vc(n,e,r)}(n);if(i.toRoot())return Fc(e.root,new nc([],{}),e,r,s);const o=function(t,e,n){if(t.isAbsolute)return new zc(e.root,!0,0);if(-1===n.snapshot._lastPathIndex){const t=n.snapshot._urlSegment;return new zc(t,t===e.root,0)}const r=Mc(t.commands[0])?0:1;return function(t,e,n){let r=t,s=e,i=n;for(;i>s;){if(i-=s,r=r.parent,!r)throw new Error("Invalid number of '../'");s=r.segments.length}return new zc(r,!1,s-i)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+r,t.numberOfDoubleDots)}(i,e,t),a=o.processChildren?Bc(o.segmentGroup,o.index,i.commands):qc(o.segmentGroup,o.index,i.commands);return Fc(o.segmentGroup,a,e,r,s)}(a,this.currentUrlTree,t,u,l)}navigateByUrl(t,e={skipLocationChange:!1}){const n=th(t)?t:this.parseUrl(t),r=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(r,"imperative",null,e)}navigate(t,e={skipLocationChange:!1}){return function(t){for(let e=0;e{const r=t[n];return null!=r&&(e[n]=r),e},{})}processNavigations(){this.navigations.subscribe(t=>{this.navigated=!0,this.lastSuccessfulId=t.id,this.events.next(new Eu(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,t.resolve(!0)},t=>{this.console.warn("Unhandled Navigation Error: ")})}scheduleNavigation(t,e,n,r,s){if(this.disposed)return Promise.resolve(!1);const i=this.getTransition(),o="imperative"!==e&&"imperative"===(null==i?void 0:i.source),a=(this.lastSuccessfulId===i.id||this.currentNavigation?i.rawUrl:i.urlAfterRedirects).toString()===t.toString();if(o&&a)return Promise.resolve(!0);let l,u,c;s?(l=s.resolve,u=s.reject,c=s.promise):c=new Promise((t,e)=>{l=t,u=e});const h=++this.navigationId;return this.setTransition({id:h,source:e,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:t,extras:r,resolve:l,reject:u,promise:c,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),c.catch(t=>Promise.reject(t))}setBrowserUrl(t,e,n,r){const s=this.urlSerializer.serialize(t);r=r||{},this.location.isCurrentPathEqualTo(s)||e?this.location.replaceState(s,"",Object.assign(Object.assign({},r),{navigationId:n})):this.location.go(s,"",Object.assign(Object.assign({},r),{navigationId:n}))}resetStateAndUrl(t,e,n){this.routerState=t,this.currentUrlTree=e,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n),this.resetUrlToCurrentUrlTree()}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",{navigationId:this.lastSuccessfulId})}}return t.\u0275fac=function(e){return new(e||t)(zn(jn),zn(ic),zn(Vh),zn(Va),zn(Gs),zn(ya),zn(Go),zn(void 0))},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})(),Wh=(()=>{class t{constructor(t,e,n,r,s){this.router=t,this.route=e,this.commands=[],this.onChanges=new S,null==n&&r.setAttribute(s.nativeElement,"tabindex","0")}ngOnChanges(t){this.onChanges.next(this)}set routerLink(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]}onClick(){const t={skipLocationChange:Kh(this.skipLocationChange),replaceUrl:Kh(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,t),!0}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:Kh(this.preserveFragment)})}}return t.\u0275fac=function(e){return new(e||t)(ti(Zh),ti(Ac),kn("tabindex"),ti(Ri),ti(Ai))},t.\u0275dir=Bt({type:t,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(t,e){1&t&&ai("click",function(){return e.onClick()})},inputs:{routerLink:"routerLink",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo"},features:[se]}),t})(),Qh=(()=>{class t{constructor(t,e,n){this.router=t,this.route=e,this.locationStrategy=n,this.commands=[],this.onChanges=new S,this.subscription=t.events.subscribe(t=>{t instanceof Eu&&this.updateTargetUrlAndHref()})}set routerLink(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]}ngOnChanges(t){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(t,e,n,r,s){if(0!==t||e||n||r||s)return!0;if("string"==typeof this.target&&"_self"!=this.target)return!0;const i={skipLocationChange:Kh(this.skipLocationChange),replaceUrl:Kh(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,i),!1}updateTargetUrlAndHref(){this.href=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree))}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:Kh(this.preserveFragment)})}}return t.\u0275fac=function(e){return new(e||t)(ti(Zh),ti(Ac),ti(Ha))},t.\u0275dir=Bt({type:t,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(t,e){1&t&&ai("click",function(t){return e.onClick(t.button,t.ctrlKey,t.shiftKey,t.altKey,t.metaKey)}),2&t&&(pi("href",e.href,Xn),Xs("target",e.target))},inputs:{routerLink:"routerLink",target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo"},features:[se]}),t})();function Kh(t){return""===t||!!t}let Yh=(()=>{class t{constructor(t,e,n,r,s){this.parentContexts=t,this.location=e,this.resolver=n,this.changeDetector=s,this.activated=null,this._activatedRoute=null,this.activateEvents=new ko,this.deactivateEvents=new ko,this.name=r||Fu,t.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const t=this.parentContexts.getContext(this.name);t&&t.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.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 t=this.activated;return this.activated=null,this._activatedRoute=null,t}attach(t,e){this.activated=t,this._activatedRoute=e,this.location.insert(t.hostView)}deactivate(){if(this.activated){const t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,e){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=t;const n=(e=e||this.resolver).resolveComponentFactory(t._futureSnapshot.routeConfig.component),r=this.parentContexts.getOrCreateContext(this.name).children,s=new Jh(t,r,this.location.injector);this.activated=this.location.createComponent(n,this.location.length,s),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return t.\u0275fac=function(e){return new(e||t)(ti(Vh),ti(co),ti(xi),kn("name"),ti(Xi))},t.\u0275dir=Bt({type:t,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),t})();class Jh{constructor(t,e,n){this.route=t,this.childContexts=e,this.parent=n}get(t,e){return t===Ac?this.route:t===Vh?this.childContexts:this.parent.get(t,e)}}class Xh{}class td{preload(t,e){return Rl(null)}}let ed=(()=>{class t{constructor(t,e,n,r,s){this.router=t,this.injector=r,this.preloadingStrategy=s,this.loader=new Fh(e,n,e=>t.triggerEvent(new Pu(e)),e=>t.triggerEvent(new Uu(e)))}setUpPreloading(){this.subscription=this.router.events.pipe(Xl(t=>t instanceof Eu),iu(()=>this.preload())).subscribe(()=>{})}preload(){const t=this.injector.get(ao);return this.processRoutes(t,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(t,e){const n=[];for(const r of e)if(r.loadChildren&&!r.canLoad&&r._loadedConfig){const t=r._loadedConfig;n.push(this.processRoutes(t.module,t.routes))}else r.loadChildren&&!r.canLoad?n.push(this.preloadConfig(t,r)):r.children&&n.push(this.processRoutes(t,r.children));return N(n).pipe(z(),T(t=>{}))}preloadConfig(t,e){return this.preloadingStrategy.preload(e,()=>(e._loadedConfig?Rl(e._loadedConfig):this.loader.load(t.injector,e)).pipe(F(t=>(e._loadedConfig=t,this.processRoutes(t.module,t.routes)))))}}return t.\u0275fac=function(e){return new(e||t)(zn(Zh),zn(ya),zn(Go),zn(Gs),zn(Xh))},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})(),nd=(()=>{class t{constructor(t,e,n={}){this.router=t,this.viewportScroller=e,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(t=>{t instanceof xu?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof Eu&&(this.lastId=t.id,this.scheduleScrollEvent(t,this.router.parseUrl(t.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(t=>{t instanceof Lu&&(t.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(t.position):t.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(t.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(t,e){this.router.triggerEvent(new Lu(t,"popstate"===this.lastSource?this.store[this.restoredId]:null,e))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(zn(Zh),zn(Xa),zn(void 0))},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})();const rd=new Rn("ROUTER_CONFIGURATION"),sd=new Rn("ROUTER_FORROOT_GUARD"),id=[Va,{provide:ic,useClass:oc},{provide:Zh,useFactory:function(t,e,n,r,s,i,o,a={},l,u){const c=new Zh(null,t,e,n,r,s,i,Zu(o));if(l&&(c.urlHandlingStrategy=l),u&&(c.routeReuseStrategy=u),function(t,e){t.errorHandler&&(e.errorHandler=t.errorHandler),t.malformedUriErrorHandler&&(e.malformedUriErrorHandler=t.malformedUriErrorHandler),t.onSameUrlNavigation&&(e.onSameUrlNavigation=t.onSameUrlNavigation),t.paramsInheritanceStrategy&&(e.paramsInheritanceStrategy=t.paramsInheritanceStrategy),t.relativeLinkResolution&&(e.relativeLinkResolution=t.relativeLinkResolution),t.urlUpdateStrategy&&(e.urlUpdateStrategy=t.urlUpdateStrategy)}(a,c),a.enableTracing){const t=Ta();c.events.subscribe(e=>{t.logGroup(`Router Event: ${e.constructor.name}`),t.log(e.toString()),t.log(e),t.logGroupEnd()})}return c},deps:[ic,Vh,Va,Gs,ya,Go,Lh,rd,[class{},new Zn],[class{},new Zn]]},Vh,{provide:Ac,useFactory:function(t){return t.routerState.root},deps:[Zh]},{provide:ya,useClass:wa},ed,td,class{preload(t,e){return e().pipe(nu(()=>Rl(null)))}},{provide:rd,useValue:{enableTracing:!1}}];function od(){return new ca("Router",Zh)}let ad=(()=>{class t{constructor(t,e){}static forRoot(e,n){return{ngModule:t,providers:[id,hd(e),{provide:sd,useFactory:cd,deps:[[Zh,new Zn,new Wn]]},{provide:rd,useValue:n||{}},{provide:Ha,useFactory:ud,deps:[Aa,[new Gn(La),new Zn],rd]},{provide:nd,useFactory:ld,deps:[Zh,Xa,rd]},{provide:Xh,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:td},{provide:ca,multi:!0,useFactory:od},[dd,{provide:Ao,multi:!0,useFactory:pd,deps:[dd]},{provide:gd,useFactory:fd,deps:[dd]},{provide:Do,multi:!0,useExisting:gd}]]}}static forChild(e){return{ngModule:t,providers:[hd(e)]}}}return t.\u0275fac=function(e){return new(e||t)(zn(sd,8),zn(Zh,8))},t.\u0275mod=zt({type:t}),t.\u0275inj=ut({}),t})();function ld(t,e,n){return n.scrollOffset&&e.setOffset(n.scrollOffset),new nd(t,e,n)}function ud(t,e,n={}){return n.useHash?new $a(t,e):new Fa(t,e)}function cd(t){return"guarded"}function hd(t){return[{provide:In,multi:!0,useValue:t},{provide:Lh,multi:!0,useValue:t}]}let dd=(()=>{class t{constructor(t){this.injector=t,this.initNavigation=!1,this.resultOfPreactivationDone=new S}appInitializer(){return this.injector.get(Ra,Promise.resolve(null)).then(()=>{let t=null;const e=new Promise(e=>t=e),n=this.injector.get(Zh),r=this.injector.get(rd);return"disabled"===r.initialNavigation?(n.setUpLocationChangeListener(),t(!0)):"enabled"===r.initialNavigation||"enabledBlocking"===r.initialNavigation?(n.hooks.afterPreactivation=()=>this.initNavigation?Rl(null):(this.initNavigation=!0,t(!0),this.resultOfPreactivationDone),n.initialNavigation()):t(!0),e})}bootstrapListener(t){const e=this.injector.get(rd),n=this.injector.get(ed),r=this.injector.get(nd),s=this.injector.get(Zh),i=this.injector.get(ga);t===i.components[0]&&("enabledNonBlocking"!==e.initialNavigation&&void 0!==e.initialNavigation||s.initialNavigation(),n.setUpPreloading(),r.init(),s.resetRootComponentType(i.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}}return t.\u0275fac=function(e){return new(e||t)(zn(Gs))},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})();function pd(t){return t.appInitializer.bind(t)}function fd(t){return t.bootstrapListener.bind(t)}const gd=new Rn("Router Initializer"),md=function(t){return[t]},yd=function(t){return{"background-image":t}};let _d=(()=>{class t{constructor(){this.image="missing url",this.text="missing text",this.url="missing url"}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Lt({type:t,selectors:[["app-large-button"]],inputs:{image:"image",text:"text",url:"url"},decls:5,vars:7,consts:[[1,"lrg_button-container"],[1,"lrg_button"],[1,"lrg_button-box",3,"routerLink","ngStyle"],[1,"lrg_button-text"]],template:function(t,e){1&t&&(ri(0,"div",0),ri(1,"div",1),ii(2,"div",2),ri(3,"div",3),ci(4),si(),si(),si()),2&t&&(qr(2),ei("routerLink",Eo(3,md,"/"+e.url))("ngStyle",Eo(5,yd,"url("+e.image+")")),qr(2),hi(e.text))},directives:[Wh,Ya],styles:[".lrg_button[_ngcontent-%COMP%], .lrg_button-container[_ngcontent-%COMP%]{display:flex;justify-content:center}.lrg_button[_ngcontent-%COMP%]{align-items:center;height:250px;width:80%;margin:0 40px 15px;overflow:hidden;background-color:#323232;cursor:pointer}.lrg_button--secondary[_ngcontent-%COMP%]{position:absolute;pointer-events:none}.lrg_button-box[_ngcontent-%COMP%]{box-shadow:inset 0 0 0 1000px hsla(0,0%,100%,.15);background-repeat:no-repeat;background-size:cover;background-position:50%;background-color:#323232;height:100%;width:100%;outline:1px solid #fff;outline-offset:-20px;-webkit-transition:all .5s;-moz-transition:all .5s;-o-transition:all .5s;-transition:all .5s;transition-timing-function:ease-out}.lrg_button-text[_ngcontent-%COMP%]{display:flex;position:absolute;justify-content:center;color:#fff;width:125px;pointer-events:none;border-bottom:1px solid #fff;font-size:1.2em;transition:all .35s;transition-timing-function:ease-out}.lrg_button-box[_ngcontent-%COMP%]:focus, .lrg_button-box[_ngcontent-%COMP%]:hover{transform:scale(1.02);box-shadow:inset 0 0 0 1000px hsla(0,0%,100%,0);outline-offset:0}.lrg_button-box[_ngcontent-%COMP%]:hover + .lrg_button-text[_ngcontent-%COMP%]{width:225px;font-size:1.25em;border-bottom:1px solid #fff}"]}),t})(),vd=(()=>{class t{constructor(){}ngOnInit(){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Lt({type:t,selectors:[["app-home"]],decls:4,vars:9,consts:[[3,"text","image","url"]],template:function(t,e){1&t&&(ri(0,"div"),ii(1,"app-large-button",0),ii(2,"app-large-button",0),ii(3,"app-large-button",0),si()),2&t&&(qr(1),ei("text","portraits")("image","../../../assets/btn_images/portraits.jpg")("url","portraits"),qr(1),ei("text","art")("image","../../../assets/btn_images/art.jpg")("url","art"),qr(1),ei("text","nature")("image","../../../assets/btn_images/nature.jpg")("url","nature"))},directives:[_d],styles:[""]}),t})();function wd(t,e){if(1&t&&(ri(0,"div"),ii(1,"img",3),si()),2&t){const t=e.$implicit;qr(1),ei("src",t,Xn)}}let bd=(()=>{class t{constructor(){}ngOnInit(){console.log(this.images)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Lt({type:t,selectors:[["app-masonry"]],inputs:{images:"images"},decls:3,vars:1,consts:[[1,"masonry-container"],[1,"masonry"],[4,"ngFor","ngForOf"],[1,"masonry--img",3,"src"]],template:function(t,e){1&t&&(ri(0,"div",0),ri(1,"div",1),function(t,e,n,r,s,i,o,a){const l=Se(),u=xe(),c=u.firstCreatePass?function(t,e,n,r,s,i,o,a,l){const u=e.consts,c=Wr(e,22,4,"div",_e(u,2));os(e,n,c,_e(u,undefined)),Ge(e,c);const h=c.tViews=rs(2,c,r,2,1,e.directiveRegistry,e.pipeRegistry,null,e.schemas,u);return null!==e.queries&&(e.queries.template(e,c),h.queries=e.queries.embeddedTView(c)),c}(0,u,l,e):u.data[22];ke(c,!1);const h=l[11].createComment("");Sr(u,l,h,c),sr(h,l),ws(l,l[22]=ms(h,l,h,c)),te(c)&&ts(u,l,c)}(0,wd),si(),si()),2&t&&(qr(2),ei("ngForOf",e.images))},directives:[Qa],styles:[".masonry-container[_ngcontent-%COMP%]{display:flex;justify-content:center}.masonry[_ngcontent-%COMP%]{width:80%;columns:300px 3;column-gap:1rem}.masonry--img[_ngcontent-%COMP%]{background:#ec985a;color:#fff;margin:0 1rem 1rem 0;width:100%;transition:opacity .4s}.masonry[_ngcontent-%COMP%]:hover .masonry--img[_ngcontent-%COMP%]{opacity:1}.masonry[_ngcontent-%COMP%]:hover .masonry--img[_ngcontent-%COMP%]:hover{opacity:.95}"]}),t})();const Cd=[{path:"",component:vd},{path:"portraits",component:(()=>{class t{constructor(){this.images=["../../../assets/portraits/01.jpg","../../../assets/portraits/02.jpg","../../../assets/portraits/03.jpg","../../../assets/portraits/04.jpg","../../../assets/portraits/05.jpg","../../../assets/portraits/06.jpg","../../../assets/portraits/07.jpg","../../../assets/portraits/08.jpg","../../../assets/portraits/09.jpg","../../../assets/portraits/10.jpg"]}ngOnInit(){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Lt({type:t,selectors:[["app-portraits"]],decls:1,vars:1,consts:[[3,"images"]],template:function(t,e){1&t&&ii(0,"app-masonry",0),2&t&&ei("images",e.images)},directives:[bd],styles:[""]}),t})()},{path:"art",component:(()=>{class t{constructor(){this.images=["../../../assets/art/01.jpg","../../../assets/art/02.jpg","../../../assets/art/03.jpg","../../../assets/art/04.jpg","../../../assets/art/05.jpg","../../../assets/art/06.jpg","../../../assets/art/07.jpg","../../../assets/art/08.jpg","../../../assets/art/09.jpg","../../../assets/art/10.jpg","../../../assets/art/11.jpg"]}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Lt({type:t,selectors:[["app-art"]],decls:1,vars:1,consts:[[3,"images"]],template:function(t,e){1&t&&ii(0,"app-masonry",0),2&t&&ei("images",e.images)},directives:[bd],styles:[""]}),t})()},{path:"nature",component:(()=>{class t{constructor(){this.images=["../../../assets/nature/01.jpg","../../../assets/nature/02.jpg","../../../assets/nature/03.jpg","../../../assets/nature/04.jpg","../../../assets/nature/05.jpg","../../../assets/nature/06.jpg","../../../assets/nature/07.jpg","../../../assets/nature/08.jpg","../../../assets/nature/09.jpg","../../../assets/nature/10.jpg","../../../assets/nature/11.jpg","../../../assets/nature/12.jpg","../../../assets/nature/13.jpg","../../../assets/nature/14.jpg","../../../assets/nature/15.jpg","../../../assets/nature/16.jpg"]}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Lt({type:t,selectors:[["app-nature"]],decls:1,vars:1,consts:[[3,"images"]],template:function(t,e){1&t&&ii(0,"app-masonry",0),2&t&&ei("images",e.images)},directives:[bd],styles:[""]}),t})()},{path:"**",component:vd}];let Sd=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=zt({type:t}),t.\u0275inj=ut({imports:[[ad.forRoot(Cd)],ad]}),t})(),xd=(()=>{class t{constructor(){}ngOnInit(){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Lt({type:t,selectors:[["app-header"]],decls:4,vars:1,consts:[[1,"header"],[3,"routerLink"]],template:function(t,e){1&t&&(ri(0,"div",0),ri(1,"a",1),ri(2,"h1"),ci(3,"wessel photography"),si(),si(),si()),2&t&&(qr(1),ei("routerLink",""))},directives:[Qh],styles:[".header[_ngcontent-%COMP%]{display:flex;justify-content:center;margin:25px 0 40px}"]}),t})(),Ed=(()=>{class t{constructor(){this.title="wessel-photography"}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Lt({type:t,selectors:[["app-root"]],decls:2,vars:0,template:function(t,e){1&t&&(ii(0,"app-header"),ii(1,"router-outlet"))},directives:[xd,Yh],styles:[""]}),t})(),Td=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=zt({type:t,bootstrap:[Ed]}),t.\u0275inj=ut({providers:[],imports:[[Ol,Sd]]}),t})();(function(){if(la)throw new Error("Cannot enable prod mode after platform setup.");aa=!1})(),kl().bootstrapModule(Td).catch(t=>console.error(t))},zn8P:function(t,e){function n(t){return Promise.resolve().then(function(){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e})}n.keys=function(){return[]},n.resolve=n,t.exports=n,n.id="zn8P"}},[[0,0]]]);