diff --git a/404.html b/404.html index f6fb482..bb565bc 100644 --- a/404.html +++ b/404.html @@ -9,5 +9,5 @@ - + diff --git a/index.html b/index.html index f6fb482..bb565bc 100644 --- a/index.html +++ b/index.html @@ -9,5 +9,5 @@ - + diff --git a/main.013d833270191c3ce6f6.js b/main.befdec42727eae38cd8f.js similarity index 84% rename from main.013d833270191c3ce6f6.js rename to main.befdec42727eae38cd8f.js index 342da1e..4599244 100644 --- a/main.013d833270191c3ce6f6.js +++ b/main.befdec42727eae38cd8f.js @@ -1 +1 @@ -(self.webpackChunkthis_is_learning=self.webpackChunkthis_is_learning||[]).push([[179],{762:t=>{function e(t){return Promise.resolve().then(()=>{var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e})}e.keys=()=>[],e.resolve=e,e.id=762,t.exports=e},6:(t,e,n)=>{"use strict";function r(t){return"function"==typeof t}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 c(t){return null!==t&&"object"==typeof t}const u=(()=>{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 u?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 v(t){return t}let y=(()=>{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=_(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?v:1===e.length?e[0]:function(t){return e.reduce((t,e)=>e(t),t)})(this);var e}toPromise(t){return new(t=_(t))((t,e)=>{let n;this.subscribe(t=>n=t,t=>e(t),()=>t(n))})}}return t.create=e=>new t(e),t})();function _(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 x extends f{constructor(t){super(t),this.destination=t}}let S=(()=>{class t extends y{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[p](){return new x(this)}lift(t){const e=new C(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 C(t,e),t})();class C 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 O(t,this.project,this.thisArg))}}class O 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 A=t=>e=>{for(let n=0,r=t.length;nt&&"number"==typeof t.length&&"function"!=typeof t;function j(t){return!!t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}const M=t=>{if(t&&"function"==typeof t[m])return n=t,t=>{const e=n[m]();if("function"!=typeof e.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return e.subscribe(t)};if(P(t))return A(t);if(j(t))return(t=>e=>(t.then(t=>{e.closed||(e.next(t),e.complete())},t=>e.error(t)).then(null,o),e))(t);if(t&&"function"==typeof t[R])return e=t,t=>{const n=e[R]();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=c(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};function N(t,e){return new y(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 U(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 y(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(j(t))return function(t,e){return new y(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(P(t))return N(t,e);if(function(t){return t&&"function"==typeof t[R]}(t)||"string"==typeof t)return function(t,e){if(!t)throw new Error("Iterable cannot be null");return new y(n=>{const r=new h;let s;return r.add(()=>{s&&"function"==typeof s.return&&s.return()}),r.add(e.schedule(()=>{s=t[R](),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 y?t:new y(M(t))}class D 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 H 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 y)return t.subscribe(e);let n;try{n=M(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)=>U(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 H{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(v,t)}function B(t,e){return e?N(t,e):new y(A(t))}function q(){return function(t){return t.lift(new W(t))}}class W{constructor(t){this.connectable=t}call(t,e){const{connectable:n}=this;n._refCount++;const r=new G(t,n),s=e.subscribe(r);return r.closed||(r.connection=n.connect()),s}}class G 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 Z extends y{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 Y(this.getSubject(),this))),t.closed&&(this._connection=null,t=h.EMPTY)),t}refCount(){return q()(this)}}const Q=(()=>{const t=Z.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 Y extends x{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 J(){return new S}function K(t){for(let e in t)if(t[e]===K)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=K({__forward_ref__:K});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"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():function(t){return"string"==typeof t?t:null==t?"":String(t)}(t)}function ot(t,e){const n=e?` in ${e}`:"";throw new st("201",`No provider for ${it(t)} found${n}`)}function at(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function lt(t){return{providers:t.providers||[],imports:t.imports||[]}}function ct(t){return ut(t,dt)||ut(t,ft)}function ut(t,e){return t.hasOwnProperty(e)?t[e]:null}function ht(t){return t&&(t.hasOwnProperty(pt)||t.hasOwnProperty(gt))?t[pt]:null}const dt=K({"\u0275prov":K}),pt=K({"\u0275inj":K}),ft=K({ngInjectableDef:K}),gt=K({ngInjectorDef:K});var mt=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 vt;function yt(t){const e=vt;return vt=t,e}function _t(t,e,n){const r=ct(t);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&mt.Optional?null:void 0!==e?e:void ot(X(t),"Injector")}function wt(t){return{toString:t}.toString()}var bt=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}({}),xt=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}({});const St="undefined"!=typeof globalThis&&globalThis,Ct="undefined"!=typeof window&&window,Et="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Tt="undefined"!=typeof global&&global,kt=St||Tt||Ct||Et,Ot={},At=[],It=K({"\u0275cmp":K}),Rt=K({"\u0275dir":K}),Pt=K({"\u0275pipe":K}),jt=K({"\u0275mod":K}),Mt=K({"\u0275loc":K}),Nt=K({"\u0275fac":K}),Ut=K({__NG_ELEMENT_ID__:K});let Dt=0;function Ht(t){return wt(()=>{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===bt.OnPush,directiveDefs:null,pipeDefs:null,selectors:t.selectors||At,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||xt.Emulated,id:"c",styles:t.styles||At,_:null,setInput:null,schemas:t.schemas||null,tView:null},r=t.directives,s=t.features,i=t.pipes;return n.id+=Dt++,n.inputs=zt(t.inputs,e),n.outputs=zt(t.outputs),s&&s.forEach(t=>t(n)),n.directiveDefs=r?()=>("function"==typeof r?r():r).map(Lt):null,n.pipeDefs=i?()=>("function"==typeof i?i():i).map(Ft):null,n})}function Lt(t){return qt(t)||function(t){return t[Rt]||null}(t)}function Ft(t){return function(t){return t[Pt]||null}(t)}const $t={};function Vt(t){const e={type:t.type,bootstrap:t.bootstrap||At,declarations:t.declarations||At,imports:t.imports||At,exports:t.exports||At,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null};return null!=t.id&&wt(()=>{$t[t.id]=t.type}),e}function zt(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=Ht;function qt(t){return t[It]||null}function Wt(t,e){const n=t[jt]||null;if(!n&&!0===e)throw new Error(`Type ${X(t)} does not have '\u0275mod' property.`);return n}const Gt=20,Zt=10;function Qt(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 Kt(t){return 2==(2&t.flags)}function Xt(t){return null!==t.template}function te(t,e){return t.hasOwnProperty(Nt)?t[Nt]:null}class ee{constructor(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}isFirstChange(){return this.firstChange}}function ne(){const t=se(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 re(t,e,n,r){const s=se(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 ee(l&&l.currentValue,e,o===Ot),t[r]=e}function se(t){return t.__ngSimpleChanges__||null}let ie;function oe(t){return!!t.listen}const ae={createRenderer:(t,e)=>void 0!==ie?ie:"undefined"!=typeof document?document:void 0};function le(t){for(;Array.isArray(t);)t=t[0];return t}function ce(t,e){return le(e[t.index])}function ue(t,e){const n=e[t];return Qt(n)?n:n[0]}function he(t){return 128==(128&t[2])}function de(t,e){return null==e?null:t[e]}function pe(t){t[18]=0}function fe(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 ge={lFrame:Pe(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function me(){return ge.bindingsEnabled}function ve(){return ge.lFrame.lView}function ye(){return ge.lFrame.tView}function _e(){let t=we();for(;null!==t&&64===t.type;)t=t.parent;return t}function we(){return ge.lFrame.currentTNode}function be(t,e){const n=ge.lFrame;n.currentTNode=t,n.isParent=e}function xe(){return ge.lFrame.isParent}function Se(){return ge.isInCheckNoChangesMode}function Ce(t){ge.isInCheckNoChangesMode=t}function Ee(t,e){const n=ge.lFrame;n.bindingIndex=n.bindingRootIndex=t,Te(e)}function Te(t){ge.lFrame.currentDirectiveIndex=t}function ke(t){ge.lFrame.currentQueryIndex=t}function Oe(t){const e=t[1];return 2===e.type?e.declTNode:1===e.type?t[6]:null}function Ae(t,e,n){if(n&mt.SkipSelf){let r=e,s=t;for(;r=r.parent,!(null!==r||n&mt.Host||(r=Oe(s),null===r)||(s=s[15],10&r.type)););if(null===r)return!1;e=r,t=s}const r=ge.lFrame=Re();return r.currentTNode=e,r.lView=t,!0}function Ie(t){const e=Re(),n=t[1];ge.lFrame=e,e.currentTNode=n.firstChild,e.lView=t,e.tView=n,e.contextLView=t,e.bindingIndex=n.bindingStartIndex,e.inI18n=!1}function Re(){const t=ge.lFrame,e=null===t?null:t.child;return null===e?Pe(t):e}function Pe(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 je(){const t=ge.lFrame;return ge.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const Me=je;function Ne(){const t=je();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 Ue(t){ge.lFrame.selectedIndex=t}function De(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 ze=-1;class Be{constructor(t,e,n){this.factory=t,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=n}}function qe(t,e,n){const r=oe(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 Ke=!0;function Xe(t){const e=Ke;return Ke=t,e}let tn=0;function en(t,e){const n=rn(t,e);if(-1!==n)return n;const r=e[1];r.firstCreatePass&&(t.injectorIndex=e.length,nn(r.data,t),nn(e,null),nn(r.blueprint,null));const s=sn(t,e),i=t.injectorIndex;if(Qe(s)){const t=Ye(s),n=Je(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 nn(t,e){t.push(0,0,0,0,0,0,0,0,e)}function rn(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===e[t.injectorIndex+8]?-1:t.injectorIndex}function sn(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 ze;if(n++,s=s[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return ze}function on(t,e,n){!function(t,e,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(Ut)&&(r=n[Ut]),null==r&&(r=n[Ut]=tn++);const s=255&r;e.data[t+(s>>5)]|=1<=0?255&e:hn:e}(n);if("function"==typeof i){if(!Ae(e,t,r))return r&mt.Host?an(s,n,r):ln(e,n,r,s);try{const t=i(r);if(null!=t||r&mt.Optional)return t;ot(n)}finally{Me()}}else if("number"==typeof i){let s=null,o=rn(t,e),a=ze,l=r&mt.Host?e[16][6]:null;for((-1===o||r&mt.SkipSelf)&&(a=-1===o?sn(t,e):e[o+8],a!==ze&&gn(r,!1)?(s=e[1],o=Ye(a),e=Je(a,e)):o=-1);-1!==o;){const t=e[1];if(fn(i,o,t.data)){const t=dn(o,e,n,s,r,l);if(t!==un)return t}a=e[o+8],a!==ze&&gn(r,e[1].data[o+8]===l)&&fn(i,o,e)?(s=t,o=Ye(a),e=Je(a,e)):o=-1}}}return ln(e,n,r,s)}const un={};function hn(){return new mn(_e(),ve())}function dn(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,c=i>>20,u=s?a+c:t.directiveEnd;for(let h=r?a:a+c;h=l&&t.type===n)return h}if(s){const t=o[l];if(t&&Xt(t)&&t.type===n)return l}return null}(a,o,n,null==r?Kt(a)&&Ke:r!=o&&0!=(3&a.type),s&mt.Host&&i===a);return null!==l?pn(e,o,l,a):un}function pn(t,e,n,r){let s=t[n];const i=e.data;if(s instanceof Be){const o=s;o.resolving&&function(t,e){throw new st("200",`Circular dependency in DI detected for ${t}`)}(it(i[n]));const a=Xe(o.canSeeViewProviders);o.resolving=!0;const l=o.injectImpl?yt(o.injectImpl):null;Ae(t,r,mt.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=((o=e).type.prototype.ngOnChanges&&(o.setInput=re),ne);(n.preOrderHooks||(n.preOrderHooks=[])).push(t,r),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,r)}var o;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&&yt(l),Xe(a),o.resolving=!1,Me()}}return s}function fn(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(vn)?t[vn]:Object.defineProperty(t,vn,{value:[]})[vn];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 _n{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=at({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}toString(){return`InjectionToken ${this._desc}`}}const wn=new _n("AnalyzeForEntryComponents"),bn=Function;function xn(t,e){t.forEach(t=>Array.isArray(t)?xn(t,e):e(t))}function Sn(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function Cn(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}const En={},Tn=/\n/gm,kn="__source",On=K({provide:String,useValue:K});let An;function In(t){const e=An;return An=t,e}function Rn(t,e=mt.Default){if(void 0===An)throw new Error("inject() must be called from an injection context");return null===An?_t(t,void 0,e):An.get(t,e&mt.Optional?null:void 0,e)}function Pn(t,e=mt.Default){return(vt||Rn)(rt(t),e)}function jn(t){const e=[];for(let n=0;n({token:t})),-1),Un=Mn(yn("Optional"),8),Dn=Mn(yn("SkipSelf"),4);function Hn(t,e){t.__ngContext__=e}function Ln(t){const e=function(t){return t.__ngContext__||null}(t);return e?Array.isArray(e)?e:e.lView:null}function Fn(t){return t.ngDebugContext}function $n(t){return t.ngOriginalError}function Vn(t,...e){t.error(...e)}class zn{constructor(){this._console=console}handleError(t){const e=this._findOriginalError(t),n=this._findContext(t),r=function(t){return t.ngErrorLogger||Vn}(t);r(this._console,"ERROR",t),e&&r(this._console,"ORIGINAL ERROR",e),n&&r(this._console,"ERROR CONTEXT",n)}_findContext(t){return t?Fn(t)?Fn(t):this._findContext($n(t)):null}_findOriginalError(t){let e=$n(t);for(;e&&$n(e);)e=$n(e);return e}}const Bn=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(kt))();function qn(t){return t instanceof Function?t():t}var Wn=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}({});function Gn(t,e){return(void 0)(t,e)}function Zn(t){const e=t[3];return Yt(e)?e[3]:e}function Qn(t){return Jn(t[13])}function Yn(t){return Jn(t[4])}function Jn(t){for(;null!==t&&!Yt(t);)t=t[4];return t}function Kn(t,e,n,r,s){if(null!=r){let i,o=!1;Yt(r)?i=r:Qt(r)&&(o=!0,r=r[0]);const a=le(r);0===t&&null!==n?null==s?ir(e,n,a):sr(e,n,a,s||null,!0):1===t&&null!==n?sr(e,n,a,s||null,!0):2===t?function(t,e,n){const r=ar(t,e);r&&function(t,e,n,r){oe(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!==le(n)&&Kn(e,t,r,i,s);for(let o=Zt;o0&&(t[n-1][4]=r[4]);const o=Cn(t,Zt+e);pr(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 nr(t,e){if(!(256&e[2])){const n=e[11];oe(n)&&n.destroyNode&&pr(t,e,n,3,null,null),function(t){let e=t[13];if(!e)return rr(t[1],t);for(;e;){let n=null;if(Qt(e))n=e[13];else{const t=e[10];t&&(n=t)}if(!n){for(;e&&!e[4]&&e!==t;)Qt(e)&&rr(e[1],e),e=e[3];null===e&&(e=t),Qt(e)&&rr(e[1],e),n=e&&e[4]}e=n}}(e)}}function rr(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[u+1].toLowerCase();const e=8&r?t:null;if(e&&-1!==vr(e,c,0)||2&r&&c!==t){if(Sr(r))return!1;o=!0}}}}else{if(!o&&!Sr(r)&&!Sr(l))return!1;if(o&&Sr(l))continue;o=!1,r=l|1&r}}return Sr(r)||o}function Sr(t){return 0==(1&t)}function Cr(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||Sr(o)||(e+=Tr(i,s),s=""),r=o,i=i||!Sr(r);n++}return""!==s&&(e+=Tr(i,s)),e}const Or={};function Ar(t,e){const n=t.contentQueries;if(null!==n)for(let r=0;rGt&&function(t,e,n,r){if(!r)if(3==(3&e[2])){const n=t.preOrderCheckHooks;null!==n&&He(e,n,20)}else{const n=t.preOrderHooks;null!==n&&Le(e,n,0,20)}Ue(20)}(t,e,0,Se()),n(r,s)}finally{Ue(i)}}function Dr(t){const e=t.tView;return null===e||e.incompleteFirstPass?t.tView=Hr(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts):e}function Hr(t,e,n,r,s,i,o,a,l,c){const u=Gt+r,h=u+s,d=function(t,e){const n=[];for(let r=0;r0;){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 $r(t,e){null!==t.hostBindings&&t.hostBindings(1,e)}function Vr(t,e){e.flags|=2,(t.components||(t.components=[])).push(e.index)}function zr(t,e,n){if(n){if(e.exportAs)for(let r=0;r0&&Yr(n)}}function Yr(t){for(let n=Qn(t);null!==n;n=Yn(n))for(let t=Zt;t0&&Yr(e)}const e=t[1].components;if(null!==e)for(let n=0;n0&&Yr(r)}}function Jr(t,e){const n=ue(e,t),r=n[1];!function(t,e){for(let n=e.length;nPromise.resolve(null))();function rs(t,e,n){let r=n?t.styles:null,s=n?t.classes:null,i=0;if(null!==e)for(let o=0;othis.processProvider(n,t,e)),xn([t],t=>this.processInjectorType(t,[],s)),this.records.set(ss,fs(void 0,this));const i=this.records.get(os);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=En,n=mt.Default){this.assertNotDestroyed();const r=In(this);try{if(!(n&mt.SkipSelf)){let e=this.records.get(t);if(void 0===e){const n=("function"==typeof(s=t)||"object"==typeof s&&s instanceof _n)&&ct(t);e=n&&this.injectableDefInScope(n)?fs(ps(t),as):null,this.records.set(t,e)}if(null!=e)return this.hydrate(t,e)}return(n&mt.Self?us():this.parent).get(t,e=n&mt.Optional&&e===En?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[kn]&&s.unshift(e[kn]),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(Tn,"\n ")}`}("\n"+t.message,s,n,r),t.ngTokenPath=s,t.ngTempTokenPath=null,t}(i,t,"R3InjectorError",this.source)}throw i}finally{In(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=ht(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=ht(s)),null==r)return!1;if(null!=r.imports&&!o){let t;n.push(i);try{xn(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||At))}}this.injectorDefTypes.add(i);const a=te(i)||(()=>new i);this.records.set(i,fs(a,as));const l=r.providers;if(null!=l&&!o){const e=t;xn(l,t=>this.processProvider(t,e,l))}return void 0!==s&&void 0!==t.providers}processProvider(t,e,n){let r=ms(t=rt(t))?t:rt(t&&t.provide);const s=function(t,e,n){return gs(t)?fs(void 0,t.useValue):fs(function(t,e,n){let r;if(ms(t)){const e=rt(t);return te(e)||ps(e)}if(gs(t))r=()=>rt(t.useValue);else if((s=t)&&s.useFactory)r=()=>t.useFactory(...jn(t.deps||[]));else if(function(t){return!(!t||!t.useExisting)}(t))r=()=>Pn(rt(t.useExisting));else{const e=rt(t&&(t.useClass||t.provide));if(!function(t){return!!t.deps}(t))return te(e)||ps(e);r=()=>new e(...jn(t.deps))}var s;return r}(t),as)}(t);if(ms(t)||!0!==t.multi)this.records.get(r);else{let e=this.records.get(r);e||(e=fs(void 0,as,!0),e.factory=()=>jn(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===as&&(e.value=ls,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){if(!t.providedIn)return!1;const e=rt(t.providedIn);return"string"==typeof e?"any"===e||e===this.scope:this.injectorDefTypes.has(e)}}function ps(t){const e=ct(t),n=null!==e?e.factory:te(t);if(null!==n)return n;if(t instanceof _n)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 fs(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function gs(t){return null!==t&&"object"==typeof t&&On in t}function ms(t){return"function"==typeof t}const vs=function(t,e,n){return function(t,e=null,n=null,r){const s=hs(t,e,n,r);return s._resolveInjectorDefTypes(),s}({name:n},e,t,n)};let ys=(()=>{class t{static create(t,e){return Array.isArray(t)?vs(t,e,""):vs(t.providers,t.parent,t.name||"")}}return t.THROW_IF_NOT_FOUND=En,t.NULL=new is,t.\u0275prov=at({token:t,providedIn:"any",factory:()=>Pn(ss)}),t.__NG_ELEMENT_ID__=-1,t})();function _s(t,e){De(Ln(t)[1],_e())}let ws=null;function bs(){if(!ws){const t=kt.Symbol;if(t&&t.iterator)ws=t.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let e=0;e null != ${e} <=Actual]`)}(n,e),"string"==typeof t&&(Hs=t.toLowerCase().replace(/_/g,"-"))}class Fs{}class $s{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 Vs=(()=>{class t{}return t.NULL=new $s,t})();function zs(...t){}function Bs(t,e){return new Ws(ce(t,e))}const qs=function(){return Bs(_e(),ve())};let Ws=(()=>{class t{constructor(t){this.nativeElement=t}}return t.__NG_ELEMENT_ID__=qs,t})();class Gs{}let Zs=(()=>{class t{}return t.\u0275prov=at({token:t,providedIn:"root",factory:()=>null}),t})();class Qs{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const Ys=new Qs("12.0.3");class Js{constructor(){}supports(t){return xs(t)}create(t){return new Xs(t)}}const Ks=(t,e)=>e;class Xs{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||Ks}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{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 ti(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 ni),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 ni),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 ti{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 ei{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 ni{constructor(){this.map=new Map}put(t){const e=t.trackById;let n=this.map.get(e);n||(n=new ei,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 ri(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 oi(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 oi{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 ai(){return new li([new Js])}let li=(()=>{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||ai()),deps:[[t,new Dn,new Un]]}}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=at({token:t,providedIn:"root",factory:ai}),t})();function ci(){return new ui([new si])}let ui=(()=>{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||ci()),deps:[[t,new Dn,new Un]]}}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=at({token:t,providedIn:"root",factory:ci}),t})();function hi(t,e,n,r,s=!1){for(;null!==n;){const i=e[n.index];if(null!==i&&r.push(le(i)),Yt(i))for(let t=Zt;t-1&&(er(t,n),Cn(e,n))}this._attachedToViewContainer=!1}nr(this._lView[1],this._lView)}onDestroy(t){!function(t,e,n,r){const s=(i=e)[7]||(i[7]=[]);var i;s.push(r)}(0,this._lView,0,t)}markForCheck(){!function(t){for(;t;){t[2]|=64;const e=Zn(t);if(0!=(512&t[2])&&!e)return t;t=e}}(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){Xr(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(t,e,n){Ce(!0);try{Xr(t,e,n)}finally{Ce(!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,pr(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 pi extends di{constructor(t){super(t),this._view=t}detectChanges(){ts(this._view)}checkNoChanges(){!function(t){Ce(!0);try{ts(t)}finally{Ce(!1)}}(this._view)}get context(){return null}}const fi=function(t){return function(t,e,n){if(Kt(t)&&!n){const n=ue(t.index,e);return new di(n,n)}return 47&t.type?new di(e[16],e):null}(_e(),ve(),16==(16&t))};let gi=(()=>{class t{}return t.__NG_ELEMENT_ID__=fi,t})();const mi=[new si],vi=new li([new Js]),yi=new ui(mi);class _i{}class wi{}const bi=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=le(r);else{const n=e[11];s=n.createComment("");const r=ce(t,e);sr(n,ar(n,r),s,function(t,e){return oe(t)?t.nextSibling(e):e.nextSibling}(n,r),!1)}e[t.index]=n=new Array(r,!0,!1,e,null,0,t,s,null,null),Kr(e,n)}return new Ci(n,t,e)}(_e(),ve())};let xi=(()=>{class t{}return t.__NG_ELEMENT_ID__=bi,t})();const Si=xi,Ci=class extends Si{constructor(t,e,n){super(),this._lContainer=t,this._hostTNode=e,this._hostLView=n}get element(){return Bs(this._hostTNode,this._hostLView)}get injector(){return new mn(this._hostTNode,this._hostLView)}get parentInjector(){const t=sn(this._hostTNode,this._hostLView);if(Qe(t)){const e=Je(t,this._hostLView),n=Ye(t);return new mn(e[1].data[n+8],e)}return new mn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const e=Ei(this._lContainer);return null!==e&&e[t]||null}get length(){return this._lContainer.length-Zt}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(_i,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 Ci(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=Zt+r,i=n.length;r>0&&(n[s-1][4]=e),rBn});class Ri extends Fs{constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=t.selectors.map(kr).join(","),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!e}get inputs(){return Ai(this.componentDef.inputs)}get outputs(){return Ai(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,ki,s);return i!==ki||r===ki?i:e.get(n,r,s)}}}(t,r.injector):t,i=s.get(Gs,ae),o=s.get(Zs,null),a=i.createRenderer(null,this.componentDef),l=this.componentDef.selectors[0][0]||"div",c=n?function(t,e,n){if(oe(t))return t.selectRootElement(e,n===xt.ShadowDom);let r="string"==typeof e?t.querySelector(e):e;return r.textContent="",r}(a,n,this.componentDef.encapsulation):Xn(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)),u=this.componentDef.onPush?576:528,h={components:[],scheduler:Bn,clean:ns,playerHandler:null,flags:0},d=Hr(0,null,null,1,0,null,null,null,null,null),p=Ir(null,d,h,u,null,null,i,a,o,s);let f,g;Ie(p);try{const t=function(t,e,n,r,s,i){const o=n[1];n[20]=t;const a=Rr(o,20,2,"#host",null),l=a.mergedAttrs=e.hostAttrs;null!==l&&(rs(a,l,!0),null!==t&&(qe(s,t,l),null!==a.classes&&mr(s,t,a.classes),null!==a.styles&&gr(s,t,a.styles)));const c=r.createRenderer(t,e),u=Ir(n,Dr(e),null,e.onPush?64:16,n[20],a,r,c,null,null);return o.firstCreatePass&&(on(en(a,n),o,e.type),Vr(o,a),Br(a,n.length,1)),Kr(n,u),n[20]=u}(c,this.componentDef,p,i,a);if(c)if(n)qe(a,c,["ng-version",Ys.full]);else{const{attrs:t,classes:e}=function(t){const e=[],n=[];let r=1,s=2;for(;r0&&mr(a,c,e.join(" "))}if(g=d.data[20],void 0!==e){const t=g.projection=[];for(let n=0;nt(o,e)),e.contentQueries){const t=_e();e.contentQueries(1,o,t.directiveStart)}const a=_e();return!i.firstCreatePass||null===e.hostBindings&&null===e.hostAttrs||(Ue(a.index),Fr(n[1],a,0,a.directiveStart,a.directiveEnd,e),$r(e,o)),o}(t,this.componentDef,p,h,[_s]),jr(d,p,null)}finally{Ne()}return new Pi(this.componentType,f,Bs(g,p),p,g)}}class Pi 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 pi(r),this.componentType=t}get injector(){return new mn(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}const ji=new Map;class Mi extends _i{constructor(t,e){super(),this._parent=e,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new Oi(this);const n=Wt(t),r=t[Mt]||null;r&&Ls(r),this._bootstrapComponents=qn(n.bootstrap),this._r3Injector=hs(t,e,[{provide:_i,useValue:this},{provide:Vs,useValue:this.componentFactoryResolver}],X(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,e=ys.THROW_IF_NOT_FOUND,n=mt.Default){return t===ys||t===_i||t===ss?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 Ni extends wi{constructor(t){super(),this.moduleType=t,null!==Wt(t)&&function(t){const e=new Set;!function t(n){const r=Wt(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,ji.get(s),n),ji.set(s,n));const i=qn(r.imports);for(const o of i)e.has(o)||(e.add(o),t(o))}(t)}(t)}create(t){return new Mi(this.moduleType,t)}}function Ui(t){return e=>{setTimeout(t,void 0,e)}}const Di=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=Ui(a),o&&(o=Ui(o)),l&&(l=Ui(l)));const c=super.subscribe({next:o,error:a,complete:l});return t instanceof h&&t.add(c),c}},Hi=new _n("Application Initializer");let Li=(()=>{class t{constructor(t){this.appInits=t,this.resolve=zs,this.reject=zs,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.subscribe({complete:t,error:n})});t.push(n)}}Promise.all(t).then(()=>{e()}).catch(t=>{this.reject(t)}),0===t.length&&e(),this.initialized=!0}}return t.\u0275fac=function(e){return new(e||t)(Pn(Hi,8))},t.\u0275prov=at({token:t,factory:t.\u0275fac}),t})();const Fi=new _n("AppId"),$i={provide:Fi,useFactory:function(){return`${Vi()}${Vi()}${Vi()}`},deps:[]};function Vi(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const zi=new _n("Platform Initializer"),Bi=new _n("Platform ID"),qi=new _n("appBootstrapListener");let Wi=(()=>{class t{log(t){console.log(t)}warn(t){console.warn(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=at({token:t,factory:t.\u0275fac}),t})();const Gi=new _n("LocaleId"),Zi=new _n("DefaultCurrencyCode");class Qi{constructor(t,e){this.ngModuleFactory=t,this.componentFactories=e}}const Yi=function(t){return new Ni(t)},Ji=Yi,Ki=function(t){return Promise.resolve(Yi(t))},Xi=function(t){const e=Yi(t),n=qn(Wt(t).declarations).reduce((t,e)=>{const n=qt(e);return n&&t.push(new Ri(n)),t},[]);return new Qi(e,n)},to=Xi,eo=function(t){return Promise.resolve(Xi(t))};let no=(()=>{class t{constructor(){this.compileModuleSync=Ji,this.compileModuleAsync=Ki,this.compileModuleAndAllComponentsSync=to,this.compileModuleAndAllComponentsAsync=eo}clearCache(){}clearCacheFor(t){}getModuleId(t){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=at({token:t,factory:t.\u0275fac}),t})();const ro=(()=>Promise.resolve(0))();function so(t){"undefined"==typeof Zone?ro.then(()=>{t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}class io{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:e=!1,shouldCoalesceRunChangeDetection:n=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Di(!1),this.onMicrotaskEmpty=new Di(!1),this.onStable=new Di(!1),this.onError=new Di(!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=kt.requestAnimationFrame,e=kt.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){t.isCheckStableRunning||-1!==t.lastRequestAnimationFrameId||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(kt,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,lo(t),t.isCheckStableRunning=!0,ao(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),lo(t))}(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,s,i,o,a)=>{try{return co(t),n.invokeTask(s,i,o,a)}finally{(t.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||t.shouldCoalesceRunChangeDetection)&&e(),uo(t)}},onInvoke:(n,r,s,i,o,a,l)=>{try{return co(t),n.invoke(s,i,o,a,l)}finally{t.shouldCoalesceRunChangeDetection&&e(),uo(t)}},onHasTask:(e,n,r,s)=>{e.hasTask(r,s),n===r&&("microTask"==s.change?(t._hasPendingMicrotasks=s.microTask,lo(t),ao(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(!io.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(io.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,oo,zs,zs);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 oo={};function ao(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 lo(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&-1!==t.lastRequestAnimationFrameId)}function co(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function uo(t){t._nesting--,ao(t)}class ho{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Di,this.onMicrotaskEmpty=new Di,this.onStable=new Di,this.onError=new Di}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 po=(()=>{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:()=>{io.assertNotInAngularZone(),so(()=>{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())so(()=>{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/plugins/task-tracking" 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)(Pn(io))},t.\u0275prov=at({token:t,factory:t.\u0275fac}),t})(),fo=(()=>{class t{constructor(){this._applications=new Map,vo.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 vo.findTestabilityInTree(this,t,e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=at({token:t,factory:t.\u0275fac}),t})();class go{addToWindow(t){}findTestabilityInTree(t,e,n){return null}}let mo,vo=new go,yo=!0,_o=!1;const wo=new _n("AllowMultipleToken");class bo{constructor(t,e){this.name=t,this.token=e}}function xo(t,e,n=[]){const r=`Platform: ${e}`,s=new _n(r);return(e=[])=>{let i=So();if(!i||i.injector.get(wo,!1))if(t)t(n.concat(e).concat({provide:s,useValue:!0}));else{const t=n.concat(e).concat({provide:s,useValue:!0},{provide:os,useValue:"platform"});!function(t){if(mo&&!mo.destroyed&&!mo.injector.get(wo,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");mo=t.get(Co);const e=t.get(zi,null);e&&e.forEach(t=>t())}(ys.create({providers:t,name:r}))}return function(t){const e=So();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 So(){return mo&&!mo.destroyed?mo:null}let Co=(()=>{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 ho:("zone.js"===t?void 0:t)||new io({enableLongStackTrace:(_o=!0,yo),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:io,useValue:n}];return n.run(()=>{const e=ys.create({providers:r,parent:this.injector,name:t.moduleType.name}),s=t.create(e),i=s.injector.get(zn,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(()=>{ko(this._modules,s),t.unsubscribe()})}),function(t,e,n){try{const r=n();return As(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(Li);return t.runInitializers(),t.donePromise.then(()=>(Ls(s.injector.get(Gi,Ds)||Ds),this._moduleDoBootstrap(s),s))})})}bootstrapModule(t,e=[]){const n=Eo({},e);return function(t,e,n){const r=new Ni(n);return Promise.resolve(r)}(0,0,t).then(t=>this.bootstrapModuleFactory(t,n))}_moduleDoBootstrap(t){const e=t.injector.get(To);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)(Pn(ys))},t.\u0275prov=at({token:t,factory:t.\u0275fac}),t})();function Eo(t,e){return Array.isArray(e)?e.reduce(Eo,t):Object.assign(Object.assign({},t),e)}let To=(()=>{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 y(t=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{t.next(this._stable),t.complete()})}),o=new y(t=>{let e;this._zone.runOutsideAngular(()=>{e=this._zone.onStable.subscribe(()=>{io.assertNotInAngularZone(),so(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,t.next(!0))})})});const n=this._zone.onUnstable.subscribe(()=>{io.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 y?t[0]:z(e)(B(t,n))}(i,o.pipe(t=>{return q()((e=J,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 Fs?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(n.componentType);const r=n.isBoundToModule?void 0:this._injector.get(_i),s=n.create(ys.NULL,[],e||n.selector,r),i=s.location.nativeElement,o=s.injector.get(po,null),a=o&&s.injector.get(fo);return o&&a&&a.registerApplication(i,o),s.onDestroy(()=>{this.detachView(s.hostView),ko(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;ko(this._views,e),e.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(qi,[]).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)(Pn(io),Pn(ys),Pn(zn),Pn(Vs),Pn(Li))},t.\u0275prov=at({token:t,factory:t.\u0275fac}),t})();function ko(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}class Oo{}class Ao{}const Io={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"};let Ro=(()=>{class t{constructor(t,e){this._compiler=t,this._config=e||Io}load(t){return this.loadAndCompile(t)}loadAndCompile(t){let[e,r]=t.split("#");return void 0===r&&(r="default"),n(762)(e).then(t=>t[r]).then(t=>Po(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(762)(this._config.factoryPathPrefix+e+this._config.factoryPathSuffix).then(t=>t[r+s]).then(t=>Po(t,e,r))}}return t.\u0275fac=function(e){return new(e||t)(Pn(no),Pn(Ao,8))},t.\u0275prov=at({token:t,factory:t.\u0275fac}),t})();function Po(t,e,n){if(!t)throw new Error(`Cannot find '${n}' in '${e}'`);return t}const jo=xo(null,"core",[{provide:Bi,useValue:"unknown"},{provide:Co,deps:[ys]},{provide:fo,deps:[]},{provide:Wi,deps:[]}]),Mo=[{provide:To,useClass:To,deps:[io,ys,zn,Vs,Li]},{provide:Ii,deps:[io],useFactory:function(t){let e=[];return t.onStable.subscribe(()=>{for(;e.length;)e.pop()()}),function(t){e.push(t)}}},{provide:Li,useClass:Li,deps:[[new Un,Hi]]},{provide:no,useClass:no,deps:[]},$i,{provide:li,useFactory:function(){return vi},deps:[]},{provide:ui,useFactory:function(){return yi},deps:[]},{provide:Gi,useFactory:function(t){return Ls(t=t||"undefined"!=typeof $localize&&$localize.locale||Ds),t},deps:[[new Nn(Gi),new Un,new Dn]]},{provide:Zi,useValue:"USD"}];let No=(()=>{class t{constructor(t){}}return t.\u0275fac=function(e){return new(e||t)(Pn(To))},t.\u0275mod=Vt({type:t}),t.\u0275inj=lt({providers:Mo}),t})(),Uo=null;function Do(){return Uo}const Ho=new _n("DocumentToken");let Lo=(()=>{class t{historyGo(t){throw new Error("Not implemented")}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=at({factory:Fo,token:t,providedIn:"platform"}),t})();function Fo(){return Pn(Vo)}const $o=new _n("Location Initialized");let Vo=(()=>{class t extends Lo{constructor(t){super(),this._doc=t,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Do().getBaseHref(this._doc)}onPopState(t){const e=Do().getGlobalEventTarget(this._doc,"window");return e.addEventListener("popstate",t,!1),()=>e.removeEventListener("popstate",t)}onHashChange(t){const e=Do().getGlobalEventTarget(this._doc,"window");return e.addEventListener("hashchange",t,!1),()=>e.removeEventListener("hashchange",t)}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){zo()?this._history.pushState(t,e,n):this.location.hash=n}replaceState(t,e,n){zo()?this._history.replaceState(t,e,n):this.location.hash=n}forward(){this._history.forward()}back(){this._history.back()}historyGo(t=0){this._history.go(t)}getState(){return this._history.state}}return t.\u0275fac=function(e){return new(e||t)(Pn(Ho))},t.\u0275prov=at({factory:Bo,token:t,providedIn:"platform"}),t})();function zo(){return!!window.history.pushState}function Bo(){return new Vo(Pn(Ho))}function qo(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 Wo(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 Go(t){return t&&"?"!==t[0]?"?"+t:t}let Zo=(()=>{class t{historyGo(t){throw new Error("Not implemented")}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=at({factory:Qo,token:t,providedIn:"root"}),t})();function Qo(t){const e=Pn(Ho).location;return new Jo(Pn(Lo),e&&e.origin||"")}const Yo=new _n("appBaseHref");let Jo=(()=>{class t extends Zo{constructor(t,e){if(super(),this._platformLocation=t,this._removeListenerFns=[],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}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return qo(this._baseHref,t)}path(t=!1){const e=this._platformLocation.pathname+Go(this._platformLocation.search),n=this._platformLocation.hash;return n&&t?`${e}${n}`:e}pushState(t,e,n,r){const s=this.prepareExternalUrl(n+Go(r));this._platformLocation.pushState(t,e,s)}replaceState(t,e,n,r){const s=this.prepareExternalUrl(n+Go(r));this._platformLocation.replaceState(t,e,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(t=0){var e,n;null===(n=(e=this._platformLocation).historyGo)||void 0===n||n.call(e,t)}}return t.\u0275fac=function(e){return new(e||t)(Pn(Lo),Pn(Yo,8))},t.\u0275prov=at({token:t,factory:t.\u0275fac}),t})(),Ko=(()=>{class t extends Zo{constructor(t,e){super(),this._platformLocation=t,this._baseHref="",this._removeListenerFns=[],null!=e&&(this._baseHref=e)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(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=qo(this._baseHref,t);return e.length>0?"#"+e:e}pushState(t,e,n,r){let s=this.prepareExternalUrl(n+Go(r));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(t,e,s)}replaceState(t,e,n,r){let s=this.prepareExternalUrl(n+Go(r));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(t,e,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(t=0){var e,n;null===(n=(e=this._platformLocation).historyGo)||void 0===n||n.call(e,t)}}return t.\u0275fac=function(e){return new(e||t)(Pn(Lo),Pn(Yo,8))},t.\u0275prov=at({token:t,factory:t.\u0275fac}),t})(),Xo=(()=>{class t{constructor(t,e){this._subject=new Di,this._urlChangeListeners=[],this._platformStrategy=t;const n=this._platformStrategy.getBaseHref();this._platformLocation=e,this._baseHref=Wo(ea(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+Go(e))}normalize(e){return t.stripTrailingSlash(function(t,e){return t&&e.startsWith(t)?e.substring(t.length):e}(this._baseHref,ea(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+Go(e)),n)}replaceState(t,e="",n=null){this._platformStrategy.replaceState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+Go(e)),n)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(t=0){var e,n;null===(n=(e=this._platformStrategy).historyGo)||void 0===n||n.call(e,t)}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)(Pn(Zo),Pn(Lo))},t.normalizeQueryParams=Go,t.joinWithSlash=qo,t.stripTrailingSlash=Wo,t.\u0275prov=at({factory:ta,token:t,providedIn:"root"}),t})();function ta(){return new Xo(Pn(Zo),Pn(Lo))}function ea(t){return t.replace(/\/index.html$/,"")}var na=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 ra{}let sa=(()=>{class t extends ra{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=Ns(e);if(n)return n;const r=e.split("-")[0];if(n=Ns(r),n)return n;if("en"===r)return js;throw new Error(`Missing locale data for the locale "${t}".`)}(t)[Us.PluralCase]}(e||this.locale)(t)){case na.Zero:return"zero";case na.One:return"one";case na.Two:return"two";case na.Few:return"few";case na.Many:return"many";default:return"other"}}}return t.\u0275fac=function(e){return new(e||t)(Pn(Gi))},t.\u0275prov=at({token:t,factory:t.\u0275fac}),t})(),ia=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=lt({providers:[{provide:ra,useClass:sa}]}),t})(),oa=(()=>{class t{}return t.\u0275prov=at({token:t,providedIn:"root",factory:()=>new aa(Pn(Ho),window)}),t})();class aa{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){if(!this.supportsScrolling())return;const e=function(t,e){const n=t.getElementById(e)||t.getElementsByName(e)[0];if(n)return n;if("function"==typeof t.createTreeWalker&&t.body&&(t.body.createShadowRoot||t.body.attachShadow)){const n=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT);let r=n.currentNode;for(;r;){const t=r.shadowRoot;if(t){const n=t.getElementById(e)||t.querySelector(`[name="${e}"]`);if(n)return n}r=n.nextNode()}}return null}(this.document,t);e&&(this.scrollToElement(e),this.attemptFocus(e))}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=la(this.window.history)||la(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 la(t){return Object.getOwnPropertyDescriptor(t,"scrollRestoration")}class ca extends class extends class{}{constructor(){super(...arguments),this.supportsDOMEvents=!0}}{static makeCurrent(){var t;t=new ca,Uo||(Uo=t)}onAndCancel(t,e,n){return t.addEventListener(e,n,!1),()=>{t.removeEventListener(e,n,!1)}}dispatchEvent(t,e){t.dispatchEvent(e)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}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}getBaseHref(t){const e=(ha=ha||document.querySelector("base"),ha?ha.getAttribute("href"):null);return null==e?null:function(t){ua=ua||document.createElement("a"),ua.setAttribute("href",t);const e=ua.pathname;return"/"===e.charAt(0)?e:`/${e}`}(e)}resetBaseElement(){ha=null}getUserAgent(){return window.navigator.userAgent}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 ua,ha=null;const da=new _n("TRANSITION_ID"),pa=[{provide:Hi,useFactory:function(t,e,n){return()=>{n.get(Li).donePromise.then(()=>{const n=Do();Array.prototype.slice.apply(e.querySelectorAll("style[ng-transition]")).filter(e=>e.getAttribute("ng-transition")===t).forEach(t=>n.remove(t))})}},deps:[da,Ho,ys],multi:!0}];class fa{static init(){var t;t=new fa,vo=t}addToWindow(t){kt.getAngularTestability=(e,n=!0)=>{const r=t.findTestabilityInTree(e,n);if(null==r)throw new Error("Could not find testability for element.");return r},kt.getAllAngularTestabilities=()=>t.getAllTestabilities(),kt.getAllAngularRootElements=()=>t.getAllRootElements(),kt.frameworkStabilizers||(kt.frameworkStabilizers=[]),kt.frameworkStabilizers.push(t=>{const e=kt.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?Do().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null}}let ga=(()=>{class t{build(){return new XMLHttpRequest}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=at({token:t,factory:t.\u0275fac}),t})();const ma=new _n("EventManagerPlugins");let va=(()=>{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=at({token:t,factory:t.\u0275fac}),t})(),wa=(()=>{class t extends _a{constructor(t){super(),this._doc=t,this._hostNodes=new Map,this._hostNodes.set(t.head,[])}_addStylesToHost(t,e,n){t.forEach(t=>{const r=this._doc.createElement("style");r.textContent=t,n.push(e.appendChild(r))})}addHost(t){const e=[];this._addStylesToHost(this._stylesSet,t,e),this._hostNodes.set(t,e)}removeHost(t){const e=this._hostNodes.get(t);e&&e.forEach(ba),this._hostNodes.delete(t)}onStylesAdded(t){this._hostNodes.forEach((e,n)=>{this._addStylesToHost(t,n,e)})}ngOnDestroy(){this._hostNodes.forEach(t=>t.forEach(ba))}}return t.\u0275fac=function(e){return new(e||t)(Pn(Ho))},t.\u0275prov=at({token:t,factory:t.\u0275fac}),t})();function ba(t){Do().remove(t)}const xa={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/"},Sa=/%COMP%/g;function Ca(t,e,n){for(let r=0;r{if("__ngUnwrap__"===e)return t;!1===t(e)&&(e.preventDefault(),e.returnValue=!1)}}let Ta=(()=>{class t{constructor(t,e,n){this.eventManager=t,this.sharedStylesHost=e,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new ka(t)}createRenderer(t,e){if(!t||!e)return this.defaultRenderer;switch(e.encapsulation){case xt.Emulated:{let n=this.rendererByCompId.get(e.id);return n||(n=new Oa(this.eventManager,this.sharedStylesHost,e,this.appId),this.rendererByCompId.set(e.id,n)),n.applyToHost(t),n}case 1:case xt.ShadowDom:return new Aa(this.eventManager,this.sharedStylesHost,t,e);default:if(!this.rendererByCompId.has(e.id)){const t=Ca(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)(Pn(va),Pn(wa),Pn(Fi))},t.\u0275prov=at({token:t,factory:t.\u0275fac}),t})();class ka{constructor(t){this.eventManager=t,this.data=Object.create(null)}destroy(){}createElement(t,e){return e?document.createElementNS(xa[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=xa[r];s?t.setAttributeNS(s,e,n):t.setAttribute(e,n)}else t.setAttribute(e,n)}removeAttribute(t,e,n){if(n){const r=xa[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&(Wn.DashCase|Wn.Important)?t.style.setProperty(e,n,r&Wn.Important?"important":""):t.style[e]=n}removeStyle(t,e,n){n&Wn.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,Ea(n)):this.eventManager.addEventListener(t,e,Ea(n))}}class Oa extends ka{constructor(t,e,n,r){super(t),this.component=n;const s=Ca(r+"-"+n.id,n.styles,[]);e.addStyles(s),this.contentAttr="_ngcontent-%COMP%".replace(Sa,r+"-"+n.id),this.hostAttr="_nghost-%COMP%".replace(Sa,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 Aa extends ka{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=Ca(r.id,r.styles,[]);for(let i=0;i{class t extends ya{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)(Pn(Ho))},t.\u0275prov=at({token:t,factory:t.\u0275fac}),t})();const Ra=["alt","control","meta","shift"],Pa={"\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"},ja={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"},Ma={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};let Na=(()=>{class t extends ya{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(()=>Do().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(Ra.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&&ja.hasOwnProperty(e)&&(e=ja[e]))}return Pa[e]||e}(t);return n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),Ra.forEach(r=>{r!=n&&(0,Ma[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)(Pn(Ho))},t.\u0275prov=at({token:t,factory:t.\u0275fac}),t})();const Ua=xo(jo,"browser",[{provide:Bi,useValue:"browser"},{provide:zi,useValue:function(){ca.makeCurrent(),fa.init()},multi:!0},{provide:Ho,useFactory:function(){return function(t){ie=t}(document),document},deps:[]}]),Da=[[],{provide:os,useValue:"root"},{provide:zn,useFactory:function(){return new zn},deps:[]},{provide:ma,useClass:Ia,multi:!0,deps:[Ho,io,Bi]},{provide:ma,useClass:Na,multi:!0,deps:[Ho]},[],{provide:Ta,useClass:Ta,deps:[va,wa,Fi]},{provide:Gs,useExisting:Ta},{provide:_a,useExisting:wa},{provide:wa,useClass:wa,deps:[Ho]},{provide:po,useClass:po,deps:[io]},{provide:va,useClass:va,deps:[ma,io]},{provide:class{},useClass:ga,deps:[]},[]];let Ha=(()=>{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:Fi,useValue:e.appId},{provide:da,useExisting:Fi},pa]}}}return t.\u0275fac=function(e){return new(e||t)(Pn(t,12))},t.\u0275mod=Vt({type:t}),t.\u0275inj=lt({providers:Da,imports:[ia,No]}),t})();function La(t,e,n,r){return new(n||(n=Promise))(function(s,i){function o(t){try{l(r.next(t))}catch(e){i(e)}}function a(t){try{l(r.throw(t))}catch(e){i(e)}}function l(t){var e;t.done?s(t.value):(e=t.value,e instanceof n?e:new n(function(t){t(e)})).then(o,a)}l((r=r.apply(t,e||[])).next())})}function Fa(...t){let e=t[t.length-1];return E(e)?(t.pop(),N(t,e)):B(t)}"undefined"!=typeof window&&window;class $a 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 Va 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 za 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 Ba(t,e,n,r,s=new za(t,n,r)){if(!s.closed)return e instanceof y?e.subscribe(s):M(e)(s)}const qa={};class Wa{constructor(t){this.resultSelector=t}call(t,e){return e.subscribe(new Ga(t,this.resultSelector))}}class Ga extends Va{constructor(t,e){super(t),this.resultSelector=e,this.active=0,this.values=[],this.observables=[]}_next(t){this.values.push(qa),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 Qa(...t){return z(1)(Fa(...t))}const Ya=new y(t=>t.complete());function Ja(t){return t?function(t){return new y(e=>t.schedule(()=>e.complete()))}(t):Ya}function Ka(t){return new y(e=>{let n;try{n=t()}catch(r){return void e.error(r)}return(n?U(n):Ja()).subscribe(e)})}function Xa(t,e){return"function"==typeof e?n=>n.pipe(Xa((n,r)=>U(t(n,r)).pipe(T((t,s)=>e(n,t,r,s))))):e=>e.lift(new tl(t))}class tl{constructor(t){this.project=t}call(t,e){return e.subscribe(new el(t,this.project))}}class el extends H{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 D(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 nl=(()=>{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 rl(t){return e=>0===t?Ja():e.lift(new sl(t))}class sl{constructor(t){if(this.total=t,this.total<0)throw new nl}call(t,e){return e.subscribe(new il(t,this.total))}}class il 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 ol(t,e){let n=!1;return arguments.length>=2&&(n=!0),function(r){return r.lift(new al(t,e,n))}}class al{constructor(t,e,n=!1){this.accumulator=t,this.seed=e,this.hasSeed=n}call(t,e){return e.subscribe(new ll(t,this.accumulator,this.seed,this.hasSeed))}}class ll 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 cl(t,e){return function(n){return n.lift(new ul(t,e))}}class ul{constructor(t,e){this.predicate=t,this.thisArg=e}call(t,e){return e.subscribe(new hl(t,this.predicate,this.thisArg))}}class hl 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 dl(t){return function(e){const n=new pl(t),r=e.lift(n);return n.caught=r}}class pl{constructor(t){this.selector=t}call(t,e){return e.subscribe(new fl(t,this.selector,this.caught))}}class fl extends H{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 D(this);this.add(r);const s=L(n,r);s!==r&&this.add(s)}}}function gl(t,e){return F(t,e,1)}function ml(t){return function(e){return 0===t?Ja():e.lift(new vl(t))}}class vl{constructor(t){if(this.total=t,this.total<0)throw new nl}call(t,e){return e.subscribe(new yl(t,this.total))}}class yl 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 wl(t))}class wl{constructor(t){this.errorFactory=t}call(t,e){return e.subscribe(new bl(t,this.errorFactory))}}class bl 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 xl(){return new Za}function Sl(t=null){return e=>e.lift(new Cl(t))}class Cl{constructor(t){this.defaultValue=t}call(t,e){return e.subscribe(new El(t,this.defaultValue))}}class El 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 Tl(t,e){const n=arguments.length>=2;return r=>r.pipe(t?cl((e,n)=>t(e,n,r)):v,rl(1),n?Sl(e):_l(()=>new Za))}function kl(){}function Ol(t,e,n){return function(r){return r.lift(new Al(t,e,n))}}class Al{constructor(t,e,n){this.nextOrObserver=t,this.error=e,this.complete=n}call(t,e){return e.subscribe(new Il(t,this.nextOrObserver,this.error,this.complete))}}class Il extends f{constructor(t,e,n,s){super(t),this._tapNext=kl,this._tapError=kl,this._tapComplete=kl,this._tapError=n||kl,this._tapComplete=s||kl,r(e)?(this._context=this,this._tapNext=e):e&&(this._context=e,this._tapNext=e.next||kl,this._tapError=e.error||kl,this._tapComplete=e.complete||kl)}_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 Rl{constructor(t){this.callback=t}call(t,e){return e.subscribe(new Pl(t,this.callback))}}class Pl extends f{constructor(t,e){super(t),this.add(new h(e))}}class jl{constructor(t,e){this.id=t,this.url=e}}class Ml extends jl{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 Nl extends jl{constructor(t,e,n){super(t,e),this.urlAfterRedirects=n}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Ul extends jl{constructor(t,e,n){super(t,e),this.reason=n}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Dl extends jl{constructor(t,e,n){super(t,e),this.error=n}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Hl extends jl{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 Ll extends jl{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 Fl extends jl{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 $l extends jl{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 Vl extends jl{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 zl{constructor(t){this.route=t}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Bl{constructor(t){this.route=t}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class ql{constructor(t){this.snapshot=t}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Wl{constructor(t){this.snapshot=t}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Gl{constructor(t){this.snapshot=t}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Zl{constructor(t){this.snapshot=t}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ql{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 Yl="primary";class Jl{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 Kl(t){return new Jl(t)}function Xl(t){const e=Error("NavigationCancelingError: "+t);return e.ngNavigationCancelingError=!0,e}function tc(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 rc(t){return Array.prototype.concat.apply([],t)}function sc(t){return t.length>0?t[t.length-1]:null}function ic(t,e){for(const n in t)t.hasOwnProperty(n)&&e(t[n],n)}function oc(t){return Is(t)?t:As(t)?U(Promise.resolve(t)):Fa(t)}const ac={exact:function t(e,n,r){if(!mc(e.segments,n.segments))return!1;if(!dc(e.segments,n.segments,r))return!1;if(e.numberOfChildren!==n.numberOfChildren)return!1;for(const s in n.children){if(!e.children[s])return!1;if(!t(e.children[s],n.children[s],r))return!1}return!0},subset:uc},lc={exact:function(t,e){return ec(t,e)},subset:function(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(n=>nc(t[n],e[n]))},ignored:()=>!0};function cc(t,e,n){return ac[n.paths](t.root,e.root,n.matrixParams)&&lc[n.queryParams](t.queryParams,e.queryParams)&&!("exact"===n.fragment&&t.fragment!==e.fragment)}function uc(t,e,n){return hc(t,e,e.segments,n)}function hc(t,e,n,r){if(t.segments.length>n.length){const s=t.segments.slice(0,n.length);return!!mc(s,n)&&!e.hasChildren()&&!!dc(s,n,r)}if(t.segments.length===n.length){if(!mc(t.segments,n))return!1;if(!dc(t.segments,n,r))return!1;for(const n in e.children){if(!t.children[n])return!1;if(!uc(t.children[n],e.children[n],r))return!1}return!0}{const s=n.slice(0,t.segments.length),i=n.slice(t.segments.length);return!!mc(t.segments,s)&&!!dc(t.segments,s,r)&&!!t.children.primary&&hc(t.children.primary,e,i,r)}}function dc(t,e,n){return e.every((e,r)=>lc[n](t[r].parameters,e.parameters))}class pc{constructor(t,e,n){this.root=t,this.queryParams=e,this.fragment=n}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Kl(this.queryParams)),this._queryParamMap}toString(){return _c.serialize(this)}}class fc{constructor(t,e){this.segments=t,this.children=e,this.parent=null,ic(e,(t,e)=>t.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return wc(this)}}class gc{constructor(t,e){this.path=t,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=Kl(this.parameters)),this._parameterMap}toString(){return kc(this)}}function mc(t,e){return t.length===e.length&&t.every((t,n)=>t.path===e[n].path)}class vc{}class yc{parse(t){const e=new Pc(t);return new pc(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(t){var e;return`/${bc(t.root,!0)}${function(t){const e=Object.keys(t).map(e=>{const n=t[e];return Array.isArray(n)?n.map(t=>`${Sc(e)}=${Sc(t)}`).join("&"):`${Sc(e)}=${Sc(n)}`});return e.length?`?${e.join("&")}`:""}(t.queryParams)}${"string"==typeof t.fragment?`#${e=t.fragment,encodeURI(e)}`:""}`}}const _c=new yc;function wc(t){return t.segments.map(t=>kc(t)).join("/")}function bc(t,e){if(!t.hasChildren())return wc(t);if(e){const e=t.children.primary?bc(t.children.primary,!1):"",n=[];return ic(t.children,(t,e)=>{e!==Yl&&n.push(`${e}:${bc(t,!1)}`)}),n.length>0?`${e}(${n.join("//")})`:e}{const e=function(t,e){let n=[];return ic(t.children,(t,r)=>{r===Yl&&(n=n.concat(e(t,r)))}),ic(t.children,(t,r)=>{r!==Yl&&(n=n.concat(e(t,r)))}),n}(t,(e,n)=>n===Yl?[bc(t.children.primary,!1)]:[`${n}:${bc(e,!1)}`]);return 1===Object.keys(t.children).length&&null!=t.children.primary?`${wc(t)}/${e[0]}`:`${wc(t)}/(${e.join("//")})`}}function xc(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Sc(t){return xc(t).replace(/%3B/gi,";")}function Cc(t){return xc(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ec(t){return decodeURIComponent(t)}function Tc(t){return Ec(t.replace(/\+/g,"%20"))}function kc(t){return`${Cc(t.path)}${e=t.parameters,Object.keys(e).map(t=>`;${Cc(t)}=${Cc(e[t])}`).join("")}`;var e}const Oc=/^[^\/()?;=#]+/;function Ac(t){const e=t.match(Oc);return e?e[0]:""}const Ic=/^[^=?&#]+/,Rc=/^[^?&#]+/;class Pc{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new fc([],{}):new fc([],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 fc(t,e)),n}parseSegment(){const t=Ac(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(t),new gc(Ec(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const e=Ac(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){const t=Ac(this.remaining);t&&(n=t,this.capture(n))}t[Ec(e)]=Ec(n)}parseQueryParam(t){const e=function(t){const e=t.match(Ic);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(Rc);return e?e[0]:""}(this.remaining);t&&(n=t,this.capture(n))}const r=Tc(e),s=Tc(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=Ac(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=Yl);const i=this.parseChildren();e[s]=1===Object.keys(i).length?i.primary:new fc([],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 jc{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=Mc(t,this._root);return e?e.children.map(t=>t.value):[]}firstChild(t){const e=Mc(t,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(t){const e=Nc(t,this._root);return e.length<2?[]:e[e.length-2].children.map(t=>t.value).filter(e=>e!==t)}pathFromRoot(t){return Nc(t,this._root).map(t=>t.value)}}function Mc(t,e){if(t===e.value)return e;for(const n of e.children){const e=Mc(t,n);if(e)return e}return null}function Nc(t,e){if(t===e.value)return[e];for(const n of e.children){const r=Nc(t,n);if(r.length)return r.unshift(e),r}return[]}class Uc{constructor(t,e){this.value=t,this.children=e}toString(){return`TreeNode(${this.value})`}}function Dc(t){const e={};return t&&t.children.forEach(t=>e[t.value.outlet]=t),e}class Hc extends jc{constructor(t,e){super(t),this.snapshot=e,Bc(this,t)}toString(){return this.snapshot.toString()}}function Lc(t,e){const n=function(t,e){const n=new Vc([],{},{},"",{},Yl,e,null,t.root,-1,{});return new zc("",new Uc(n,[]))}(t,e),r=new $a([new gc("",{})]),s=new $a({}),i=new $a({}),o=new $a({}),a=new $a(""),l=new Fc(r,s,o,a,i,Yl,e,n.root);return l.snapshot=n.root,new Hc(new Uc(l,[]),n)}class Fc{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=>Kl(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(T(t=>Kl(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function $c(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 Vc{constructor(t,e,n,r,s,i,o,a,l,c,u){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=c,this._resolve=u}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=Kl(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Kl(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(t=>t.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class zc extends jc{constructor(t,e){super(e),this.url=t,Bc(this,e)}toString(){return qc(this._root)}}function Bc(t,e){e.value._routerState=t,e.children.forEach(e=>Bc(t,e))}function qc(t){const e=t.children.length>0?` { ${t.children.map(qc).join(", ")} } `:"";return`${t.value}${e}`}function Wc(t){if(t.snapshot){const e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,ec(e.queryParams,n.queryParams)||t.queryParams.next(n.queryParams),e.fragment!==n.fragment&&t.fragment.next(n.fragment),ec(e.params,n.params)||t.params.next(n.params),function(t,e){if(t.length!==e.length)return!1;for(let n=0;nec(t.parameters,r[e].parameters))&&!(!t.parent!=!e.parent)&&(!t.parent||Gc(t.parent,e.parent))}function Zc(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 Zc(t,e,r);return Zc(t,e)})}(t,e,n);return new Uc(r,s)}{if(t.shouldAttach(e.value)){const n=t.retrieve(e.value);if(null!==n){const t=n.route;return Qc(e,t),t}}const n=new Fc(new $a((r=e.value).url),new $a(r.params),new $a(r.queryParams),new $a(r.fragment),new $a(r.data),r.outlet,r.component,r),s=e.children.map(e=>Zc(t,e));return new Uc(n,s)}var r}function Qc(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 pc(n.root===t?e:Xc(n.root,t,e),i,s)}function Xc(t,e,n){const r={};return ic(t.children,(t,s)=>{r[s]=t===e?n:Xc(t,e,n)}),new fc(t.segments,r)}class tu{constructor(t,e,n){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=n,t&&n.length>0&&Yc(n[0]))throw new Error("Root segment cannot have matrix parameters");const r=n.find(Jc);if(r&&r!==sc(n))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class eu{constructor(t,e,n){this.segmentGroup=t,this.processChildren=e,this.index=n}}function nu(t,e,n){if(t||(t=new fc([],{})),0===t.segments.length&&t.hasChildren())return ru(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(Jc(o))break;const a=`${o}`,l=r0&&void 0===a)break;if(a&&l&&"object"==typeof l&&void 0===l.outlets){if(!au(a,l,e))return i;r+=2}else{if(!au(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]=nu(t.children[r],e,n))}),ic(t.children,(t,e)=>{void 0===r[e]&&(s[e]=t)}),new fc(t.segments,s)}}function su(t,e,n){const r=t.segments.slice(0,e);let s=0;for(;s{"string"==typeof t&&(t=[t]),null!==t&&(e[n]=su(new fc([],{}),0,t))}),e}function ou(t){const e={};return ic(t,(t,n)=>e[n]=`${t}`),e}function au(t,e,n){return t==n.path&&ec(e,n.parameters)}class lu{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),Wc(this.futureState.root),this.activateChildRoutes(e,n,t)}deactivateChildRoutes(t,e,n){const r=Dc(e);t.children.forEach(t=>{const e=t.value.outlet;this.deactivateRoutes(t,r[e],n),delete r[e]}),ic(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=Dc(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=Dc(e);t.children.forEach(t=>{this.activateRoutes(t,r[t.value.outlet],n),this.forwardEvent(new Zl(t.value.snapshot))}),t.children.length&&this.forwardEvent(new Wl(t.value.snapshot))}activateRoutes(t,e,n){const r=t.value,s=e?e.value:null;if(Wc(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),cu(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 cu(t){Wc(t.value),t.children.forEach(cu)}class uu{constructor(t,e){this.routes=t,this.module=e}}function hu(t){return"function"==typeof t}function du(t){return t instanceof pc}const pu=Symbol("INITIAL_VALUE");function fu(){return Xa(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]),B(t,n).lift(new Wa(e))}(t.map(t=>t.pipe(rl(1),function(...t){const e=t[t.length-1];return E(e)?(t.pop(),n=>Qa(t,n,e)):e=>Qa(t,e)}(pu)))).pipe(ol((t,e)=>{let n=!1;return e.reduce((t,r,s)=>{if(t!==pu)return t;if(r===pu&&(n=!0),!n){if(!1===r)return r;if(s===e.length-1||du(r))return r}return t},t)},pu),cl(t=>t!==pu),T(t=>du(t)?t:!0===t),rl(1)))}let gu=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Ht({type:t,selectors:[["ng-component"]],decls:1,vars:0,template:function(t,e){1&t&&Os(0,"router-outlet")},directives:function(){return[ch]},encapsulation:2}),t})();function mu(t,e=""){for(let n=0;nwu(t)===e);return n.push(...t.filter(t=>wu(t)!==e)),n}const xu={matched:!1,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};function Su(t,e,n){var r;if(""===e.path)return"full"===e.pathMatch&&(t.hasChildren()||n.length>0)?Object.assign({},xu):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};const s=(e.matcher||tc)(n,t,e);if(!s)return Object.assign({},xu);const i={};ic(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 Cu(t,e,n,r,s="corrected"){if(n.length>0&&function(t,e,n){return n.some(n=>Eu(t,e,n)&&wu(n)!==Yl)}(t,n,r)){const s=new fc(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&&wu(i)!==Yl){const n=new fc([],{});n._sourceSegment=t,n._segmentIndexShift=e.length,s[wu(i)]=n}return s}(t,e,r,new fc(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=>Eu(t,e,n))}(t,n,r)){const i=new fc(t.segments,function(t,e,n,r,s,i){const o={};for(const a of r)if(Eu(t,n,a)&&!s[wu(a)]){const n=new fc([],{});n._sourceSegment=t,n._segmentIndexShift="legacy"===i?t.segments.length:e.length,o[wu(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 fc(t.segments,t.children);return i._sourceSegment=t,i._segmentIndexShift=e.length,{segmentGroup:i,slicedSegments:n}}function Eu(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path}function Tu(t,e,n,r){return!!(wu(t)===r||r!==Yl&&Eu(e,n,t))&&("**"===t.path||Su(e,t,n).matched)}function ku(t,e,n){return 0===e.length&&!t.children[n]}class Ou{constructor(t){this.segmentGroup=t||null}}class Au{constructor(t){this.urlTree=t}}function Iu(t){return new y(e=>e.error(new Ou(t)))}function Ru(t){return new y(e=>e.error(new Au(t)))}function Pu(t){return new y(e=>e.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${t}'`)))}class ju{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(_i)}apply(){const t=Cu(this.urlTree.root,[],[],this.config).segmentGroup,e=new fc(t.segments,t.children);return this.expandSegmentGroup(this.ngModule,this.config,e,Yl).pipe(T(t=>this.createUrlTree(Mu(t),this.urlTree.queryParams,this.urlTree.fragment))).pipe(dl(t=>{if(t instanceof Au)return this.allowRedirects=!1,this.match(t.urlTree);if(t instanceof Ou)throw this.noMatchError(t);throw t}))}match(t){return this.expandSegmentGroup(this.ngModule,this.config,t.root,Yl).pipe(T(e=>this.createUrlTree(Mu(e),t.queryParams,t.fragment))).pipe(dl(t=>{if(t instanceof Ou)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 fc([],{[Yl]:t}):t;return new pc(r,e,n)}expandSegmentGroup(t,e,n,r){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(t,e,n).pipe(T(t=>new fc([],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 U(r).pipe(gl(r=>{const s=n.children[r],i=bu(e,r);return this.expandSegmentGroup(t,i,s,r).pipe(T(t=>({segment:t,outlet:r})))}),ol((t,e)=>(t[e.outlet]=e.segment,t),{}),function(t,e){const n=arguments.length>=2;return r=>r.pipe(t?cl((e,n)=>t(e,n,r)):v,ml(1),n?Sl(e):_l(()=>new Za))}())}expandSegment(t,e,n,r,s,i){return U(n).pipe(gl(o=>this.expandSegmentAgainstRoute(t,e,n,o,r,s,i).pipe(dl(t=>{if(t instanceof Ou)return Fa(null);throw t}))),Tl(t=>!!t),dl((t,n)=>{if(t instanceof Za||"EmptyError"===t.name){if(ku(e,r,s))return Fa(new fc([],{}));throw new Ou(e)}throw t}))}expandSegmentAgainstRoute(t,e,n,r,s,i,o){return Tu(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):Iu(e):Iu(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("/")?Ru(s):this.lineralizeSegments(n,s).pipe(F(n=>{const s=new fc(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:c}=Su(e,r,s);if(!o)return Iu(e);const u=this.applyRedirectCommands(a,r.redirectTo,c);return r.redirectTo.startsWith("/")?Ru(u):this.lineralizeSegments(r,u).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?Fa(n._loadedConfig):this.configLoader.load(t.injector,n)).pipe(T(t=>(n._loadedConfig=t,new fc(r,{})))):Fa(new fc(r,{}));const{matched:i,consumedSegments:o,lastChild:a}=Su(e,n,r);if(!i)return Iu(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:c}=Cu(e,o,l,i),u=new fc(a.segments,a.children);if(0===c.length&&u.hasChildren())return this.expandChildren(r,i,u).pipe(T(t=>new fc(o,t)));if(0===i.length&&0===c.length)return Fa(new fc(o,{}));const h=wu(n)===s;return this.expandSegment(r,u,i,c,h?Yl:s,!0).pipe(T(t=>new fc(o.concat(t.segments),t.children)))}))}getChildConfig(t,e,n){return e.children?Fa(new uu(e.children,t)):e.loadChildren?void 0!==e._loadedConfig?Fa(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 y(e=>e.error(Xl(`Cannot load children because the guard of the route "path: '${t.path}'" returned false`)))}(e))):Fa(new uu([],t))}runCanLoadGuards(t,e,n){const r=e.canLoad;return r&&0!==r.length?Fa(r.map(r=>{const s=t.get(r);let i;if(function(t){return t&&hu(t.canLoad)}(s))i=s.canLoad(e,n);else{if(!hu(s))throw new Error("Invalid CanLoad guard");i=s(e,n)}return oc(i)})).pipe(fu(),Ol(t=>{if(!du(t))return;const e=Xl(`Redirecting to "${this.urlSerializer.serialize(t)}"`);throw e.url=t,e}),T(t=>!0===t)):Fa(!0)}lineralizeSegments(t,e){let n=[],r=e.root;for(;;){if(n=n.concat(r.segments),0===r.numberOfChildren)return Fa(n);if(r.numberOfChildren>1||!r.children.primary)return Pu(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 pc(s,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(t,e){const n={};return ic(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 ic(e.children,(e,s)=>{i[s]=this.createSegmentGroup(t,e,n,r)}),new fc(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 Mu(t){const e={};for(const n of Object.keys(t.children)){const r=Mu(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 fc(t.segments.concat(e.segments),e.children)}return t}(new fc(t.segments,e))}class Nu{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class Uu{constructor(t,e){this.component=t,this.route=e}}function Du(t,e,n){const r=t._root;return Lu(r,e?e._root:null,n,[r.value])}function Hu(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 Lu(t,e,n,r,s={canDeactivateChecks:[],canActivateChecks:[]}){const i=Dc(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!mc(t.url,e.url);case"pathParamsOrQueryParamsChange":return!mc(t.url,e.url)||!ec(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Gc(t,e)||!ec(t.queryParams,e.queryParams);case"paramsChange":default:return!Gc(t,e)}}(o,i,i.routeConfig.runGuardsAndResolvers);l?s.canActivateChecks.push(new Nu(r)):(i.data=o.data,i._resolvedData=o._resolvedData),Lu(t,e,i.component?a?a.children:null:n,r,s),l&&a&&a.outlet&&a.outlet.isActivated&&s.canDeactivateChecks.push(new Uu(a.outlet.component,o))}else o&&Fu(e,a,s),s.canActivateChecks.push(new Nu(r)),Lu(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]}),ic(i,(t,e)=>Fu(t,n.getContext(e),s)),s}function Fu(t,e,n){const r=Dc(t),s=t.value;ic(r,(t,r)=>{Fu(t,s.component?e?e.children.getContext(r):null:e,n)}),n.canDeactivateChecks.push(new Uu(s.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,s))}class $u{}function Vu(t){return new y(e=>e.error(t))}class zu{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=Cu(this.urlTree.root,[],[],this.config.filter(t=>void 0===t.redirectTo),this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,t,Yl);if(null===e)return null;const n=new Vc([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},Yl,this.rootComponentType,null,this.urlTree.root,-1,{}),r=new Uc(n,e),s=new zc(this.url,r);return this.inheritParamsAndData(s._root),s}inheritParamsAndData(t){const e=t.value,n=$c(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=bu(t,s),o=this.processSegmentGroup(i,r,s);if(null===o)return null;n.push(...o)}const r=qu(n);return r.sort((t,e)=>t.value.outlet===Yl?-1:e.value.outlet===Yl?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 ku(e,n,r)?[]:null}processSegmentAgainstRoute(t,e,n,r){if(t.redirectTo||!Tu(t,e,n,r))return null;let s,i=[],o=[];if("**"===t.path){const r=n.length>0?sc(n).parameters:{};s=new Vc(n,r,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Zu(t),wu(t),t.component,t,Wu(e),Gu(e)+n.length,Qu(t))}else{const r=Su(e,t,n);if(!r.matched)return null;i=r.consumedSegments,o=n.slice(r.lastChild),s=new Vc(i,r.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Zu(t),wu(t),t.component,t,Wu(e),Gu(e)+i.length,Qu(t))}const a=function(t){return t.children?t.children:t.loadChildren?t._loadedConfig.routes:[]}(t),{segmentGroup:l,slicedSegments:c}=Cu(e,i,o,a.filter(t=>void 0===t.redirectTo),this.relativeLinkResolution);if(0===c.length&&l.hasChildren()){const t=this.processChildren(a,l);return null===t?null:[new Uc(s,t)]}if(0===a.length&&0===c.length)return[new Uc(s,[])];const u=wu(t)===r,h=this.processSegment(a,l,c,u?Yl:r);return null===h?null:[new Uc(s,h)]}}function Bu(t){const e=t.value.routeConfig;return e&&""===e.path&&void 0===e.redirectTo}function qu(t){const e=[],n=new Set;for(const r of t){if(!Bu(r)){e.push(r);continue}const t=e.find(t=>r.value.routeConfig===t.value.routeConfig);void 0!==t?(t.children.push(...r.children),n.add(t)):e.push(r)}for(const r of n){const t=qu(r.children);e.push(new Uc(r.value,t))}return e.filter(t=>!n.has(t))}function Wu(t){let e=t;for(;e._sourceSegment;)e=e._sourceSegment;return e}function Gu(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 Zu(t){return t.data||{}}function Qu(t){return t.resolve||{}}function Yu(t){return Xa(e=>{const n=t(e);return n?U(n).pipe(T(()=>e)):Fa(e)})}class Ju 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 Ku=new _n("ROUTES");class Xu{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 uu(rc(r.injector.get(Ku,void 0,mt.Self|mt.Optional)).map(_u),r)}),dl(t=>{throw e._loader$=void 0,t}));return e._loader$=new Z(n,()=>new S).pipe(q()),e._loader$}loadModuleFactory(t){return"string"==typeof t?U(this.loader.load(t)):oc(t()).pipe(F(t=>t instanceof wi?Fa(t):U(this.compiler.compileModuleAsync(t))))}}class th{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new eh,this.attachRef=null}}class eh{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 th,this.contexts.set(t,e)),e}getContext(t){return this.contexts.get(t)||null}}class nh{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,e){return t}}function rh(t){throw t}function sh(t,e,n){return e.parse("/")}function ih(t,e){return Fa(null)}const oh={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},ah={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let lh=(()=>{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=rh,this.malformedUriErrorHandler=sh,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:ih,afterPreactivation:ih},this.urlHandlingStrategy=new nh,this.routeReuseStrategy=new Ju,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.ngModule=s.get(_i),this.console=s.get(Wi);const l=s.get(io);this.isNgZoneEnabled=l instanceof io&&io.isInAngularZone(),this.resetConfig(a),this.currentUrlTree=new pc(new fc([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new Xu(i,o,t=>this.triggerEvent(new zl(t)),t=>this.triggerEvent(new Bl(t))),this.routerState=Lc(this.currentUrlTree,this.rootComponentType),this.transitions=new $a({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(cl(t=>0!==t.id),T(t=>Object.assign(Object.assign({},t),{extractedUrl:this.urlHandlingStrategy.extract(t.rawUrl)})),Xa(t=>{let n=!1,r=!1;return Fa(t).pipe(Ol(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}}),Xa(t=>{const n=!this.navigated||t.extractedUrl.toString()!==this.browserUrlTree.toString();if(("reload"===this.onSameUrlNavigation||n)&&this.urlHandlingStrategy.shouldProcessUrl(t.rawUrl))return Fa(t).pipe(Xa(t=>{const n=this.transitions.getValue();return e.next(new Ml(t.id,this.serializeUrl(t.extractedUrl),t.source,t.restoredState)),n!==this.transitions.getValue()?Ya:Promise.resolve(t)}),function(t,e,n,r){return Xa(s=>function(t,e,n,r,s){return new ju(t,e,n,r,s).apply()}(t,e,n,s.extractedUrl,r).pipe(T(t=>Object.assign(Object.assign({},s),{urlAfterRedirects:t}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),Ol(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 zu(t,e,n,r,s,i).recognize();return null===o?Vu(new $u):Fa(o)}catch(o){return Vu(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),Ol(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 Hl(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.next(n)}));if(n&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:n,extractedUrl:r,source:s,restoredState:i,extras:o}=t,a=new Ml(n,this.serializeUrl(r),s,i);e.next(a);const l=Lc(r,this.rootComponentType).snapshot;return Fa(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),Ya}),Yu(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})}),Ol(t=>{const e=new Ll(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}),T(t=>Object.assign(Object.assign({},t),{guards:Du(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?Fa(Object.assign(Object.assign({},n),{guardsResult:!0})):function(t,e,n,r){return U(t).pipe(F(t=>function(t,e,n,r,s){const i=e&&e.routeConfig?e.routeConfig.canDeactivate:null;return i&&0!==i.length?Fa(i.map(i=>{const o=Hu(i,e,s);let a;if(function(t){return t&&hu(t.canDeactivate)}(o))a=oc(o.canDeactivate(t,e,n,r));else{if(!hu(o))throw new Error("Invalid CanDeactivate guard");a=oc(o(t,e,n,r))}return a.pipe(Tl())})).pipe(fu()):Fa(!0)}(t.component,t.route,n,e,r)),Tl(t=>!0!==t,!0))}(o,r,s,t).pipe(F(n=>n&&"boolean"==typeof n?function(t,e,n,r){return U(e).pipe(gl(e=>Qa(function(t,e){return null!==t&&e&&e(new ql(t)),Fa(!0)}(e.route.parent,r),function(t,e){return null!==t&&e&&e(new Gl(t)),Fa(!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=>Ka(()=>Fa(e.guards.map(s=>{const i=Hu(s,e.node,n);let o;if(function(t){return t&&hu(t.canActivateChild)}(i))o=oc(i.canActivateChild(r,t));else{if(!hu(i))throw new Error("Invalid CanActivateChild guard");o=oc(i(r,t))}return o.pipe(Tl())})).pipe(fu())));return Fa(s).pipe(fu())}(t,e.path,n),function(t,e,n){const r=e.routeConfig?e.routeConfig.canActivate:null;return r&&0!==r.length?Fa(r.map(r=>Ka(()=>{const s=Hu(r,e,n);let i;if(function(t){return t&&hu(t.canActivate)}(s))i=oc(s.canActivate(e,t));else{if(!hu(s))throw new Error("Invalid CanActivate guard");i=oc(s(e,t))}return i.pipe(Tl())}))).pipe(fu()):Fa(!0)}(t,e.route,n))),Tl(t=>!0!==t,!0))}(r,i,t,e):Fa(n)),T(t=>Object.assign(Object.assign({},n),{guardsResult:t})))})}(this.ngModule.injector,t=>this.triggerEvent(t)),Ol(t=>{if(du(t.guardsResult)){const e=Xl(`Redirecting to "${this.serializeUrl(t.guardsResult)}"`);throw e.url=t.guardsResult,e}const e=new Fl(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot,!!t.guardsResult);this.triggerEvent(e)}),cl(t=>{if(!t.guardsResult){this.resetUrlToCurrentUrlTree();const n=new Ul(t.id,this.serializeUrl(t.extractedUrl),"");return e.next(n),t.resolve(!1),!1}return!0}),Yu(t=>{if(t.guards.canActivateChecks.length)return Fa(t).pipe(Ol(t=>{const e=new $l(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}),Xa(t=>{let n=!1;return Fa(t).pipe((r=this.paramsInheritanceStrategy,s=this.ngModule.injector,F(t=>{const{targetSnapshot:e,guards:{canActivateChecks:n}}=t;if(!n.length)return Fa(t);let i=0;return U(n).pipe(gl(t=>function(t,e,n,r){return function(t,e,n,r){const s=Object.keys(t);if(0===s.length)return Fa({});const i={};return U(s).pipe(F(s=>function(t,e,n,r){const s=Hu(t,e,r);return oc(s.resolve?s.resolve(e,n):s(e,n))}(t[s],e,n,r).pipe(Ol(t=>{i[s]=t}))),ml(1),F(()=>Object.keys(i).length===s.length?Fa(i):Ya))}(t._resolve,t,e,r).pipe(T(e=>(t._resolvedData=e,t.data=Object.assign(Object.assign({},t.data),$c(t,n).resolve),null)))}(t.route,e,r,s)),Ol(()=>i++),ml(1),F(e=>i===n.length?Fa(t):Ya))})),Ol({next:()=>n=!0,complete:()=>{if(!n){const n=new Ul(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}),Ol(t=>{const e=new Vl(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}))}),Yu(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=Zc(t,e._root,n?n._root:void 0);return new Hc(r,e)}(this.routeReuseStrategy,t.targetSnapshot,t.currentRouterState);return Object.assign(Object.assign({},t),{targetRouterState:e})}),Ol(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 lu(o,t.targetRouterState,t.currentRouterState,a).activate(i),t))),Ol({next(){n=!0},complete(){n=!0}}),(s=()=>{if(!n&&!r){this.resetUrlToCurrentUrlTree();const n=new Ul(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 Rl(s))),dl(n=>{if(r=!0,(s=n)&&s.ngNavigationCancelingError){const r=du(n.url);r||(this.navigated=!0,this.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl));const s=new Ul(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 Dl(t.id,this.serializeUrl(t.extractedUrl),n);e.next(r);try{t.resolve(this.errorHandler(n))}catch(i){t.reject(i)}}var s;return Ya}));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){mu(t),this.config=t.map(_u),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 c=null;switch(i){case"merge":c=Object.assign(Object.assign({},this.currentUrlTree.queryParams),r);break;case"preserve":c=this.currentUrlTree.queryParams;break;default:c=r||null}return null!==c&&(c=this.removeEmptyProps(c)),function(t,e,n,r,s){if(0===n.length)return Kc(e.root,e.root,e,r,s);const i=function(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new tu(!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 ic(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 tu(n,e,r)}(n);if(i.toRoot())return Kc(e.root,new fc([],{}),e,r,s);const o=function(t,e,n){if(t.isAbsolute)return new eu(e.root,!0,0);if(-1===n.snapshot._lastPathIndex){const t=n.snapshot._urlSegment;return new eu(t,t===e.root,0)}const r=Yc(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 eu(r,!1,s-i)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+r,t.numberOfDoubleDots)}(i,e,t),a=o.processChildren?ru(o.segmentGroup,o.index,i.commands):nu(o.segmentGroup,o.index,i.commands);return Kc(o.segmentGroup,a,e,r,s)}(a,this.currentUrlTree,t,c,null!=l?l:null)}navigateByUrl(t,e={skipLocationChange:!1}){const n=du(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 Nl(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,c,u;s?(l=s.resolve,c=s.reject,u=s.promise):u=new Promise((t,e)=>{l=t,c=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:c,promise:u,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),u.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)(Pn(bn),Pn(vc),Pn(eh),Pn(Xo),Pn(ys),Pn(Oo),Pn(no),Pn(void 0))},t.\u0275prov=at({token:t,factory:t.\u0275fac}),t})(),ch=(()=>{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 Di,this.deactivateEvents=new Di,this.name=r||Yl,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 uh(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)(Cs(eh),Cs(xi),Cs(Vs),("name",function(t,e){const n=t.attrs;if(n){const t=n.length;let r=0;for(;r{class t{constructor(t,e,n,r,s){this.router=t,this.injector=r,this.preloadingStrategy=s,this.loader=new Xu(e,n,e=>t.triggerEvent(new zl(e)),e=>t.triggerEvent(new Bl(e)))}setUpPreloading(){this.subscription=this.router.events.pipe(cl(t=>t instanceof Nl),gl(()=>this.preload())).subscribe(()=>{})}preload(){const t=this.injector.get(_i);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 U(n).pipe(z(),T(t=>{}))}preloadConfig(t,e){return this.preloadingStrategy.preload(e,()=>(e._loadedConfig?Fa(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)(Pn(lh),Pn(Oo),Pn(no),Pn(ys),Pn(hh))},t.\u0275prov=at({token:t,factory:t.\u0275fac}),t})(),fh=(()=>{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 Ml?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof Nl&&(this.lastId=t.id,this.scheduleScrollEvent(t,this.router.parseUrl(t.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(t=>{t instanceof Ql&&(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 Ql(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)(Pn(lh),Pn(oa),Pn(void 0))},t.\u0275prov=at({token:t,factory:t.\u0275fac}),t})();const gh=new _n("ROUTER_CONFIGURATION"),mh=new _n("ROUTER_FORROOT_GUARD"),vh=[Xo,{provide:vc,useClass:yc},{provide:lh,useFactory:function(t,e,n,r,s,i,o,a={},l,c){const u=new lh(null,t,e,n,r,s,i,rc(o));return l&&(u.urlHandlingStrategy=l),c&&(u.routeReuseStrategy=c),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,u),a.enableTracing&&u.events.subscribe(t=>{var e,n;null===(e=console.group)||void 0===e||e.call(console,`Router Event: ${t.constructor.name}`),console.log(t.toString()),console.log(t),null===(n=console.groupEnd)||void 0===n||n.call(console)}),u},deps:[vc,eh,Xo,ys,Oo,no,Ku,gh,[class{},new Un],[class{},new Un]]},eh,{provide:Fc,useFactory:function(t){return t.routerState.root},deps:[lh]},{provide:Oo,useClass:Ro},ph,dh,class{preload(t,e){return e().pipe(dl(()=>Fa(null)))}},{provide:gh,useValue:{enableTracing:!1}}];function yh(){return new bo("Router",lh)}let _h=(()=>{class t{constructor(t,e){}static forRoot(e,n){return{ngModule:t,providers:[vh,Sh(e),{provide:mh,useFactory:xh,deps:[[lh,new Un,new Dn]]},{provide:gh,useValue:n||{}},{provide:Zo,useFactory:bh,deps:[Lo,[new Nn(Yo),new Un],gh]},{provide:fh,useFactory:wh,deps:[lh,oa,gh]},{provide:hh,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:dh},{provide:bo,multi:!0,useFactory:yh},[Ch,{provide:Hi,multi:!0,useFactory:Eh,deps:[Ch]},{provide:kh,useFactory:Th,deps:[Ch]},{provide:qi,multi:!0,useExisting:kh}]]}}static forChild(e){return{ngModule:t,providers:[Sh(e)]}}}return t.\u0275fac=function(e){return new(e||t)(Pn(mh,8),Pn(lh,8))},t.\u0275mod=Vt({type:t}),t.\u0275inj=lt({}),t})();function wh(t,e,n){return n.scrollOffset&&e.setOffset(n.scrollOffset),new fh(t,e,n)}function bh(t,e,n={}){return n.useHash?new Ko(t,e):new Jo(t,e)}function xh(t){return"guarded"}function Sh(t){return[{provide:wn,multi:!0,useValue:t},{provide:Ku,multi:!0,useValue:t}]}let Ch=(()=>{class t{constructor(t){this.injector=t,this.initNavigation=!1,this.resultOfPreactivationDone=new S}appInitializer(){return this.injector.get($o,Promise.resolve(null)).then(()=>{let t=null;const e=new Promise(e=>t=e),n=this.injector.get(lh),r=this.injector.get(gh);return"disabled"===r.initialNavigation?(n.setUpLocationChangeListener(),t(!0)):"enabled"===r.initialNavigation||"enabledBlocking"===r.initialNavigation?(n.hooks.afterPreactivation=()=>this.initNavigation?Fa(null):(this.initNavigation=!0,t(!0),this.resultOfPreactivationDone),n.initialNavigation()):t(!0),e})}bootstrapListener(t){const e=this.injector.get(gh),n=this.injector.get(ph),r=this.injector.get(fh),s=this.injector.get(lh),i=this.injector.get(To);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)(Pn(ys))},t.\u0275prov=at({token:t,factory:t.\u0275fac}),t})();function Eh(t){return t.appInitializer.bind(t)}function Th(t){return t.bootstrapListener.bind(t)}const kh=new _n("Router Initializer"),Oh=new y(kl);class Ah extends h{constructor(t,e){super()}schedule(t,e=0){return this}}class Ih extends Ah{constructor(t,e){super(t,e),this.scheduler=t,this.work=e,this.pending=!1}schedule(t,e=0){if(this.closed)return this;this.state=t;const n=this.id,r=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(r,n,e)),this.pending=!0,this.delay=e,this.id=this.id||this.requestAsyncId(r,this.id,e),this}requestAsyncId(t,e,n=0){return setInterval(t.flush.bind(t,this),n)}recycleAsyncId(t,e,n=0){if(null!==n&&this.delay===n&&!1===this.pending)return e;clearInterval(e)}execute(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const n=this._execute(t,e);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,e){let n,r=!1;try{this.work(t)}catch(s){r=!0,n=!!s&&s||new Error(s)}if(r)return this.unsubscribe(),n}_unsubscribe(){const t=this.id,e=this.scheduler,n=e.actions,r=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==r&&n.splice(r,1),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null}}class Rh extends Ih{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}schedule(t,e=0){return e>0?super.schedule(t,e):(this.delay=e,this.state=t,this.scheduler.flush(this),this)}execute(t,e){return e>0||this.closed?super.execute(t,e):this._execute(t,e)}requestAsyncId(t,e,n=0){return null!==n&&n>0||null===n&&this.delay>0?super.requestAsyncId(t,e,n):t.flush(this)}}let Ph=(()=>{class t{constructor(e,n=t.now){this.SchedulerAction=e,this.now=n}schedule(t,e=0,n){return new this.SchedulerAction(this,t).schedule(n,e)}}return t.now=()=>Date.now(),t})();class jh extends Ph{constructor(t,e=Ph.now){super(t,()=>jh.delegate&&jh.delegate!==this?jh.delegate.now():e()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(t,e=0,n){return jh.delegate&&jh.delegate!==this?jh.delegate.schedule(t,e,n):super.schedule(t,e,n)}flush(t){const{actions:e}=this;if(this.active)return void e.push(t);let n;this.active=!0;do{if(n=t.execute(t.state,t.delay))break}while(t=e.shift());if(this.active=!1,n){for(;t=e.shift();)t.unsubscribe();throw n}}}class Mh extends jh{}const Nh=new Mh(Rh);let Uh=(()=>{class t{constructor(t,e,n){this.kind=t,this.value=e,this.error=n,this.hasValue="N"===t}observe(t){switch(this.kind){case"N":return t.next&&t.next(this.value);case"E":return t.error&&t.error(this.error);case"C":return t.complete&&t.complete()}}do(t,e,n){switch(this.kind){case"N":return t&&t(this.value);case"E":return e&&e(this.error);case"C":return n&&n()}}accept(t,e,n){return t&&"function"==typeof t.next?this.observe(t):this.do(t,e,n)}toObservable(){switch(this.kind){case"N":return Fa(this.value);case"E":return t=this.error,new y(e=>e.error(t));case"C":return Ja()}var t;throw new Error("unexpected notification kind value")}static createNext(e){return void 0!==e?new t("N",e):t.undefinedValueNotification}static createError(e){return new t("E",void 0,e)}static createComplete(){return t.completeNotification}}return t.completeNotification=new t("C"),t.undefinedValueNotification=new t("N",void 0),t})();class Dh extends f{constructor(t,e,n=0){super(t),this.scheduler=e,this.delay=n}static dispatch(t){const{notification:e,destination:n}=t;e.observe(n),this.unsubscribe()}scheduleMessage(t){this.destination.add(this.scheduler.schedule(Dh.dispatch,this.delay,new Hh(t,this.destination)))}_next(t){this.scheduleMessage(Uh.createNext(t))}_error(t){this.scheduleMessage(Uh.createError(t)),this.unsubscribe()}_complete(){this.scheduleMessage(Uh.createComplete()),this.unsubscribe()}}class Hh{constructor(t,e){this.notification=t,this.destination=e}}class Lh extends S{constructor(t=Number.POSITIVE_INFINITY,e=Number.POSITIVE_INFINITY,n){super(),this.scheduler=n,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=t<1?1:t,this._windowTime=e<1?1:e,e===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(t){if(!this.isStopped){const e=this._events;e.push(t),e.length>this._bufferSize&&e.shift()}super.next(t)}nextTimeWindow(t){this.isStopped||(this._events.push(new Fh(this._getNow(),t)),this._trimBufferThenGetEvents()),super.next(t)}_subscribe(t){const e=this._infiniteTimeWindow,n=e?this._events:this._trimBufferThenGetEvents(),r=this.scheduler,s=n.length;let i;if(this.closed)throw new w;if(this.isStopped||this.hasError?i=h.EMPTY:(this.observers.push(t),i=new b(this,t)),r&&t.add(t=new Dh(t,r)),e)for(let o=0;oe&&(i=Math.max(i,s-e)),i>0&&r.splice(0,i),r}}class Fh{constructor(t,e){this.time=t,this.value=e}}function $h(...t){const e=t.length;if(0===e)throw new Error("list of properties cannot be empty.");return n=>T(function(t,e){return n=>{let r=n;for(let s=0;sBh}),Wh=t=>(t.includes("#")&&(t=t.split("#")[0]),t.includes("?")&&(t=t.split("?")[0]),t.endsWith("/")?t.slice(0,-1):t);function Gh(t,e="json"){return new Promise((n,r)=>{const s=new XMLHttpRequest;s.responseType=e,s.addEventListener("load",t=>{if(200!==s.status)return r(s);n(s.response)}),s.addEventListener("error",(...t)=>r(t)),s.open("get",t,!0),s.send()})}const Zh=()=>window&&"running"===window.ScullyIO,Qh=()=>window&&"generated"===window.ScullyIO;function Yh(t,e){return t.endsWith("/")&&e.startsWith("/")?`${t}${e.substr(1)}`:t.endsWith("/")||e.startsWith("/")?`${t}${e}`:`${t}/${e}`}const Jh="ScullyIO-transfer-state",Kh="/** ___SCULLY_STATE_START___ */",Xh="/** ___SCULLY_STATE_END___ */";let td=(()=>{class t{constructor(t,e){this.document=t,this.router=e,this.inlineOnly=!1,this.currentBaseUrl="//",this.stateBS=new $a({}),this.state$=this.stateBS.pipe(cl(t=>void 0!==t)),this.nextUrl=this.router.events.pipe(cl(t=>t instanceof Ml),Xa(t=>Wh(this.initialUrl)===Wh(t.url)?(this.initialUrl="__done__with__Initial__navigation__",Oh):Fa(t)),Ol(()=>this.stateBS.next(void 0)),Xa(t=>this.router.events.pipe(cl(e=>e instanceof Nl&&e.url===t.url),Tl())),T(t=>Wh(t.urlAfterRedirects||t.url)),function(t,e,n){let r;return r={bufferSize:1,windowTime:void 0,refCount:!1,scheduler:void 0},t=>t.lift(function({bufferSize:t=Number.POSITIVE_INFINITY,windowTime:e=Number.POSITIVE_INFINITY,refCount:n,scheduler:r}){let s,i,o=0,a=!1,l=!1;return function(c){let u;o++,!s||a?(a=!1,s=new Lh(t,e,r),u=s.subscribe(this),i=c.subscribe({next(t){s.next(t)},error(t){a=!0,s.error(t)},complete(){l=!0,i=void 0,s.complete()}}),l&&(i=void 0)):u=s.subscribe(this),this.add(()=>{o--,u.unsubscribe(),u=void 0,i&&!l&&n&&0===o&&(i.unsubscribe(),i=void 0,s=void 0)})}}(r))}())}startMonitoring(){window&&window["ScullyIO-injected"]&&window["ScullyIO-injected"].inlineStateOnly&&(this.inlineOnly=!0),this.setupEnvForTransferState(),this.setupStartNavMonitoring()}setupEnvForTransferState(){if(Zh()){this.injectScript();const t=window["ScullyIO-exposed"]||{};t.transferState&&(this.stateBS.next(t.transferState),this.saveState(t.transferState))}else Qh()&&(this.initialUrl=window.location.pathname||"__no_NO_no__",this.initialUrl="/"!==this.initialUrl&&this.initialUrl.endsWith("/")?this.initialUrl.slice(0,-1):this.initialUrl,this.stateBS.next(window&&window[Jh]||{}))}injectScript(){this.script=this.document.createElement("script"),this.script.setAttribute("id",Jh);let t=document.body.lastChild;for(;"SCRIPT"===t.previousSibling.nodeName;)t=t.previousSibling;document.body.insertBefore(this.script,t)}getState(t){return this.fetchTransferState(),this.state$.pipe($h(t))}stateHasKey(t){return this.stateBS.value&&this.stateBS.value.hasOwnProperty(t)}stateKeyHasValue(t){return this.stateBS.value&&this.stateBS.value.hasOwnProperty(t)&&null!=this.stateBS.value[t]}setState(t,e){const n=Object.assign(Object.assign({},this.stateBS.value),{[t]:e});this.stateBS.next(n),this.saveState(n)}saveState(t){Zh()&&(this.script.textContent=`{window['${Jh}']=_u(\`${Kh}${function(t){const e={"'":"_~q~",$:"_~o~","`":"_~b~","/":"_~s~","<":"_~l~",">":"_~g~"};return t.replace(/[\$`'<>\/]/g,t=>e[t]).replace(/\\\"/g,"_~d~")}(JSON.stringify(t))}${Xh}\`);function _u(t){t=t.split('${Kh}')[1].split('${Xh}')[0];const u={'_~b~': "\`",'_~q~': "'",'_~o~': '$','_~s~': '/','_~l~': '<','_~g~': '>'};return JSON.parse(t.replace(/_~d~/g,'\\\\"').replace(/_~[^]~/g, (s) => u[s]).replace(/\\n/g,'\\\\n').replace(/\\t/g,'\\\\t').replace(/\\r/g,'\\\\r'));}}`)}setupStartNavMonitoring(){Qh()&&this.nextUrl.subscribe()}useScullyTransferState(t,e){return Qh()?this.getState(t):e.pipe(Ol(e=>this.setState(t,e)))}fetchTransferState(){return La(this,void 0,void 0,function*(){const t=t=>t.split("/").filter(t=>""!==t.trim())[0];yield new Promise(t=>setTimeout(t,0));const e=yield this.nextUrl.pipe(rl(1)).toPromise(),n=t(e);this.currentBaseUrl!==n&&(this.currentBaseUrl=n,this.nextUrl.pipe(function(t,e=!1){return n=>n.lift(new Vh(t,e))}(e=>t(e)===this.currentBaseUrl),Xa(t=>this.inlineOnly?this.readFromIndex(t):this.readFromJson(t)),dl(t=>(console.warn("Error while loading of parsing Scully state:",t),Fa({}))),Ol(t=>{this.stateBS.next(t)})).subscribe({complete:()=>{this.currentBaseUrl="//"}}))})}readFromJson(t){return Gh(ed(Yh(t,"/data.json")))}readFromIndex(t){return Gh(ed(Yh(t,"/index.html")),"text").then(t=>{const e=t.split(Kh)[1].split(Xh)[0];return JSON.parse(function(t){const e={"_~q~":"'","_~b~":"`","_~o~":"$","_~s~":"/","_~l~":"<","_~g~":">"};return t.replace(/_~d~/g,'\\"').replace(/_~[^]~/g,t=>e[t]).replace(/\n/g,"\\n").replace(/\r/g,"\\r")}(e))})}}return t.\u0275fac=function(e){return new(e||t)(Pn(Ho),Pn(lh))},t.\u0275prov=at({factory:function(){return new t(Pn(Ho),Pn(lh))},token:t,providedIn:"root"}),t})();function ed(t){return t.startsWith("/")?t.slice(1):t}let nd=(()=>{class t{constructor(t,e,n,r){var s;this.zone=t,this.router=e,this.initialUrl=((s=window&&window.location&&window.location.pathname).endsWith("/")?s.slice(0,-1):s)||"",this.imState=new $a({idle:!1,timeOut:5e3}),this.idle$=this.imState.pipe($h("idle")),this.initApp=new Event("AngularInitialized",{bubbles:!0,cancelable:!1}),this.appReady=new Event("AngularReady",{bubbles:!0,cancelable:!1}),this.appTimeout=new Event("AngularTimeout",{bubbles:!0,cancelable:!1}),this.scullyLibConfig=Object.assign({},Bh,n);const i=!!(window["ScullyIO-exposed"]||{}).manualIdle;!this.scullyLibConfig.manualIdle&&window&&(this.scullyLibConfig.alwaysMonitor||Zh())&&(window.dispatchEvent(this.initApp),this.router.events.pipe(cl(t=>t instanceof Nl&&void 0!==t.urlAfterRedirects),cl(t=>!i||t.urlAfterRedirects!==this.initialUrl),Ol(()=>this.zoneIdleCheck())).subscribe()),this.scullyLibConfig.manualIdle&&window.dispatchEvent(this.initApp),this.scullyLibConfig.useTransferState&&r.startMonitoring()}fireManualMyAppReadyEvent(){return La(this,void 0,void 0,function*(){return window.dispatchEvent(this.appReady)})}init(){return La(this,void 0,void 0,function*(){return this.idle$.pipe(rl(1)).toPromise()})}zoneIdleCheck(){return La(this,void 0,void 0,function*(){if(void 0===Zone)return this.simpleTimeout();const t=Zone.current.get("TaskTrackingZone");if(void 0===t)return this.simpleTimeout();this.imState.value.idle&&(yield this.setState("idle",!1)),this.zone.runOutsideAngular(()=>{let e,n=0;const r=Date.now(),s=()=>{clearTimeout(e),Date.now()-r>3e4?window.dispatchEvent(this.appTimeout):t.macroTasks.length>0&&void 0!==t.macroTasks.find(t=>t.source.includes("XMLHttpRequest"))||n<1?e=setTimeout(()=>{n+=1,s()},50):this.zone.run(()=>{setTimeout(()=>{window.dispatchEvent(this.appReady),this.setState("idle",!0)},250)})};s()})})}simpleTimeout(){return La(this,void 0,void 0,function*(){console.warn("Scully is using timeouts, add the needed polyfills instead!"),yield new Promise(t=>setTimeout(t,this.imState.value.timeOut)),window.dispatchEvent(this.appReady)})}setPupeteerTimeoutValue(t){this.imState.next(Object.assign(Object.assign({},this.imState.value),{timeOut:t}))}setState(t,e){this.imState.next(Object.assign(Object.assign({},this.imState.value),{[t]:e}))}}return t.\u0275fac=function(e){return new(e||t)(Pn(io),Pn(lh),Pn(qh),Pn(td))},t.\u0275prov=at({factory:function(){return new t(Pn(io),Pn(lh),Pn(qh),Pn(td))},token:t,providedIn:"root"}),t})(),rd=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=lt({}),t})(),sd=(()=>{class t{constructor(t){this.idle=t}static forRoot(e=Bh){return e=Object.assign({},Bh,e),{ngModule:t,providers:[{provide:qh,useValue:e}]}}}return t.\u0275fac=function(e){return new(e||t)(Pn(nd))},t.\u0275mod=Vt({type:t}),t.\u0275inj=lt({imports:[[rd],rd]}),t})(),id=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=lt({imports:[[ia]]}),t})(),od=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Ht({type:t,selectors:[["til-navbar"]],decls:39,vars:0,consts:[[1,"header","header-fixed"],[1,"navbar","container"],["type","checkbox","id","navbar-toggle"],["for","navbar-toggle"],[1,"menu"],["href","https://dev.to/this-is-learning","target","blank"],[1,"fab","fa-brands","fa-dev","fa-2x"],["href","https://twitter.com/Thisis_Learning","target","blank"],[1,"fab","fa-twitter","fa-2x"],["href","https://www.getrevue.co/profile/thisislearning?via=twitter-profile","target","blank"],[1,"fa","fa-file","fa-2x"],["href","https://twitter.com/Thisis_Angular","target","blank"],[1,"fab","fa-angular","fa-2x"],["href","https://dev.to/this-is-angular","target","blank"],["href","https://this-is-learning.github.io/rxjs-fundamentals-course/","target","blank",2,"font-size","x-large","font-weight","600"],["href","https://this-is-angular.github.io/ngrx-essentials-course/","target","blank",2,"font-size","x-large","font-weight","600"],["href","https://www.youtube.com/c/TechTalksWithSantosh/videos","target","blank"],[1,"fa","fa-video","fa-2x"],["href","https://github.com/this-is-learning","target","blank"],[1,"fab","fa-github","fa-2x"],["href","https://discord.gg/WquDAakwkK","target","blank"],[1,"fab","fa-discord","fa-2x"]],template:function(t,e){1&t&&(Ts(0,"div",0),Ts(1,"div",1),Os(2,"input",2),Ts(3,"label",3),Os(4,"i"),ks(),Ts(5,"nav",4),Ts(6,"ul"),Ts(7,"li"),Ts(8,"a",5),Os(9,"i",6),ks(),ks(),Ts(10,"li"),Ts(11,"a",7),Os(12,"i",8),ks(),ks(),Ts(13,"li"),Ts(14,"a",9),Os(15,"i",10),ks(),ks(),Ts(16,"li"),Ts(17,"a",11),Os(18,"i",12),Rs(19,"(Twitter)"),ks(),ks(),Ts(20,"li"),Ts(21,"a",13),Os(22,"i",12),Rs(23,"(DEV)"),ks(),ks(),Ts(24,"li"),Ts(25,"a",14),Rs(26," RXJS"),ks(),ks(),Ts(27,"li"),Ts(28,"a",15),Rs(29," NGRX "),ks(),ks(),Ts(30,"li"),Ts(31,"a",16),Os(32,"i",17),ks(),ks(),Ts(33,"li"),Ts(34,"a",18),Os(35,"i",19),ks(),ks(),Ts(36,"li"),Ts(37,"a",20),Os(38,"i",21),ks(),ks(),ks(),ks(),ks(),ks())},styles:['.container{max-width:100%;margin:0 auto;overflow:auto;padding:0 40px}.navbar{background-color:transparent;height:70px}.header-fixed{position:fixed;top:0;z-index:1;width:100%;background:#020c29;border-bottom:1px solid gold}.navbar{display:flex;justify-content:space-between;align-items:center;color:#fff;line-height:50px}.navbar .logo a:hover{color:#777}.navbar nav{flex:8}.navbar label{-webkit-user-select:none;user-select:none;cursor:pointer;position:relative;z-index:3}.navbar label i{height:2px;position:relative;transition:background .2s ease-out;width:18px;font-style:normal;font-weight:400}.navbar label i:after,.navbar label i:before{content:"";height:100%;position:absolute;transition:all .2s ease-out;width:100%}.navbar label i,.navbar label i:before{display:block;background:#eee}.navbar label i:after{display:block;background:#fff}.navbar label i:before{top:5px}.navbar label i:after{top:-5px}.navbar #navbar-toggle{display:none}.header #navbar-toggle:checked~.menu{visibility:visible;opacity:.99;overflow-y:auto;padding:0}.header #navbar-toggle:checked~label{background:#212121;border-radius:50%}.header #navbar-toggle:checked~label i:before{transform:rotate(-45deg)}.header #navbar-toggle:checked~label i:after{transform:rotate(45deg)}.header #navbar-toggle:checked~label:not(.steps) i:after,.header #navbar-toggle:checked~label:not(.steps) i:before{top:0}.navbar nav a:hover{border-bottom:2px solid green}@media (max-width:768px){.navbar nav{visibility:hidden;opacity:0;z-index:2;position:fixed;top:0;left:0;height:100%;transition:all .3s ease-out;display:block;background:#ddd;background-color:#4fa04f}.navbar nav a:hover{border-bottom:2px solid #800035}.navbar nav ul{margin:0;padding:60px 0;display:table-cell;vertical-align:middle}.navbar nav li{display:block;text-align:center;min-height:50px;font-weight:700;cursor:pointer;transition:all .3s ease-out}.navbar nav li a{color:#212121}}@media (min-width:768px){.navbar nav ul{margin:0;padding:0;display:flex;justify-content:space-around;text-align:center;list-style:none}.navbar nav li a{padding:5px 8px;font-size:16px;color:#fff;text-decoration:none}.navbar label{display:none}}'],encapsulation:2,changeDetection:0}),t})();const ad=[{path:"",component:(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Ht({type:t,selectors:[["til-home"]],decls:113,vars:0,consts:[[1,"showcase"],[1,"container","grid"],[1,"showcase-form"],["src","../../assets/images/lars.jpg","alt",""],[1,"showcase-text"],[2,"text-align","justify"],[1,"showcase-form","santosh"],["src","../../assets/images/santosh.jpg","alt",""],[1,"stats"],[1,"container"],[1,"text-center","my-2"],[1,"title"],[1,"grid","grid-resource","text-center","my-4"],[1,"card"],["target","blank","href","https://dev.to/this-is-learning"],[1,"fab","fa-brands","fa-dev","fa-2x"],["target","blank","href","https://twitter.com/Thisis_Learning"],[1,"fab","fa-twitter","fa-2x"],["target","blank","href","https://www.getrevue.co/profile/thisislearning?via=twitter-profile"],[1,"fa","fa-file","fa-2x"],["target","blank","href","https://twitter.com/Thisis_Angular"],[1,"fab","fa-angular","fa-2x"],["target","blank","href","https://dev.to/this-is-angular"],[2,"color","white"],[1,"fab","fa-angular","fa-1x"],["target","blank","href","https://this-is-learning.github.io/rxjs-fundamentals-course/"],["src","https://rxjs.dev/assets/images/logos/logo.png","alt","",2,"width","136px","display","inherit"],["target","blank","href","https://this-is-angular.github.io/ngrx-essentials-course/"],["src","https://ngrx.io/assets/images/badge.svg","alt","",2,"width","57px","display","inherit"],["target","blank","href","https://www.youtube.com/c/ThisisTechTalks"],[1,"fa","fa-video","fa-2x"],["target","blank","href","https://github.com/this-is-learning"],[1,"fab","fa-github","fa-2x"],["target","blank","href","https://discord.gg/WquDAakwkK"],[1,"fab","fa-discord","fa-2x"],[1,"footer","bg-dark","py-5"],[1,"container","grid","grid-3"],[1,"social"]],template:function(t,e){1&t&&(Os(0,"til-navbar"),Ts(1,"section",0),Ts(2,"div",1),Ts(3,"div",2),Ts(4,"div"),Os(5,"img",3),ks(),Ts(6,"h1"),Rs(7,"Lars Gyrup Brink Nielsen"),ks(),Ts(8,"p"),Rs(9," Co-Founder @Thisis_Learning @aarhusjs \u270d\ufe0f Writer, Speaker, FOSS Maintainer \ud83c\udfc6 Microsoft MVP \ud83c\udf1f GitHub Star \ud83d\udcd7 Author of Accelerating Angular Development with Ivy "),ks(),ks(),Ts(10,"div",4),Ts(11,"h1"),Rs(12,"This is Learning"),ks(),Ts(13,"h1"),Rs(14,"Free, open and honest software education."),ks(),Ts(15,"p",5),Rs(16," Inclusive software development publication free from conflict of interest. This publication is all about sharing software development knowledge for free and not at all about money or KPIs. Cross-posts are welcome. "),ks(),ks(),Ts(17,"div",6),Ts(18,"div"),Os(19,"img",7),ks(),Ts(20,"h1"),Rs(21,"Santosh Yadav"),ks(),Ts(22,"p"),Rs(23,"GoogleDevExpert,github \ud83c\udf1f, OSS Advocate \ud83e\udd51 @Auth0 Ambassador Co-Founder @Thisis_Learning"),ks(),ks(),ks(),ks(),Ts(24,"section",8),Ts(25,"div",9),Ts(26,"h2",10),Ts(27,"div",11),Rs(28,"Free Resources"),ks(),ks(),Ts(29,"div",12),Ts(30,"div",13),Ts(31,"h2"),Ts(32,"a",14),Rs(33," This is Learning on dev.to"),ks(),ks(),Os(34,"i",15),Ts(35,"h4"),Rs(36," An open community for content creators in the tech space. Anyone can join, anyone can publish. Join to cross-post your content for better discoverability or publish unique pieces with our community of writers and readers. "),ks(),ks(),Ts(37,"div",13),Ts(38,"h2"),Ts(39,"a",16),Rs(40," This is Learning Twitter"),ks(),ks(),Os(41,"i",17),Ts(42,"h4"),Rs(43," Follow on twitter for Free, open and honest software education. Inclusive software development publication free from conflict of interest "),ks(),ks(),Ts(44,"div",13),Ts(45,"h2"),Ts(46,"a",18),Rs(47," This is Learning Newsletter"),ks(),ks(),Os(48,"i",19),Ts(49,"h4"),Rs(50," Subscribe to our newsletter , A newsletter that helps you discover useful content from our catalogue of free, open, and honest software education. "),ks(),ks(),Ts(51,"div",13),Ts(52,"h2"),Ts(53,"a",20),Rs(54," This is Learning Angular(Twitter)"),ks(),ks(),Os(55,"i",21),Ts(56,"h4"),Rs(57," Follow on twitter for Free, open and honest Angular education. Inclusive Angular publication free from conflict of interest. "),ks(),ks(),Ts(58,"div",13),Ts(59,"h2"),Ts(60,"a",22),Rs(61," This is Learning Angular(DEV)"),ks(),ks(),Ts(62,"h4",23),Rs(63," An open community for content creators in the Angular ("),Os(64,"i",24),Rs(65,") ecosystem. Anyone can join, anyone can publish. Join to cross-post your content for better discoverability or publish unique pieces with our community of writers and readers. "),ks(),ks(),Ts(66,"div",13),Ts(67,"h2"),Ts(68,"a",25),Os(69,"img",26),Rs(70," Fundamentals "),ks(),ks(),Ts(71,"h4",23),Rs(72," RxJS is a library for reactive programming using Observables, to make it easier to compose asynchronous or callback-based code. This project is a rewrite of Reactive-Extensions/RxJS with better performance, better modularity, better debuggable call stacks, while staying mostly backwards compatible, with some breaking changes that reduce the API surface "),ks(),ks(),Ts(73,"div",13),Ts(74,"h2"),Ts(75,"a",27),Os(76,"img",28),Rs(77,"NgRx Essentials "),ks(),ks(),Ts(78,"h4",23),Rs(79," NgRx Store provides reactive state management for Angular apps inspired by Redux. Unify the events in your application and derive state using RxJS. "),ks(),ks(),Ts(80,"div",13),Ts(81,"h2"),Ts(82,"a",29),Rs(83," This is Tech Talks"),ks(),ks(),Os(84,"i",30),Ts(85,"h4"),Rs(86," In this talk show, we will have some awesome developers, talking/sharing some great content from the programming language they work on. We will discuss new features/tools/changes to the technology you love and follow. "),ks(),ks(),Ts(87,"div",13),Ts(88,"h2"),Ts(89,"a",31),Rs(90," This is Learning "),ks(),ks(),Os(91,"i",32),Ts(92,"h4"),Rs(93," Any kind of contribution welcomes ,We appreciate your time and effort to help others to provide free, open and honest software education. "),ks(),ks(),Ts(94,"div",13),Ts(95,"h2"),Ts(96,"a",33),Rs(97," This is Learning-Discord"),ks(),ks(),Os(98,"i",34),Ts(99,"h4"),Rs(100,"Join Our Discord server for sharing some great content from the programming language."),ks(),ks(),ks(),ks(),ks(),Ts(101,"footer",35),Ts(102,"div",36),Ts(103,"div"),Ts(104,"h1"),Rs(105,"\xa9 2022 This is Learning. Licensed under CC BY-SA 4.0."),ks(),ks(),Ts(106,"div",37),Ts(107,"a",31),Os(108,"i",32),ks(),Ts(109,"a",16),Os(110,"i",17),ks(),Ts(111,"a",33),Os(112,"i",34),ks(),ks(),ks(),ks())},directives:[od],styles:['.container[_ngcontent-%COMP%]{max-width:100%;margin:0 auto;overflow:auto;padding:0 40px}.card[_ngcontent-%COMP%]{color:#333;border-radius:10px;box-shadow:0 3px 10px rgba(0,0,0,.2);padding:20px;margin:10px}.text-center[_ngcontent-%COMP%]{text-align:center}.grid[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(2,1fr);grid-gap:20px;gap:20px;justify-content:center;align-items:center;height:100%}.grid-3[_ngcontent-%COMP%]{color:brown}.grid-3[_ngcontent-%COMP%], .grid-resource[_ngcontent-%COMP%]{grid-template-columns:repeat(3,1fr)}.my-2[_ngcontent-%COMP%]{margin:1.5rem 0}.my-4[_ngcontent-%COMP%]{margin:3rem 0}.py-5[_ngcontent-%COMP%]{padding:3rem}h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%]{line-height:1}h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%], p[_ngcontent-%COMP%]{margin:10px 0}img[_ngcontent-%COMP%]{width:100%}.showcase[_ngcontent-%COMP%]{height:650px;background-color:#020c29;color:#fff;position:relative;z-index:0}.showcase[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:40px;text-align:center}.showcase[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:20px 0}.showcase[_ngcontent-%COMP%] .grid[_ngcontent-%COMP%]{overflow:visible;grid-template-columns:repeat(3,1fr);grid-gap:30px;gap:30px;margin-top:70px}.showcase-text[_ngcontent-%COMP%]{animation:slideInFromLeft 1s ease-in;top:-115px;position:relative}.showcase-text[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:x-large}.showcase-form[_ngcontent-%COMP%]{position:relative;bottom:170px;height:200px;width:300px;padding:40px;z-index:100;justify-self:center;animation:slideInFromRight 1s ease-in}.showcase[_ngcontent-%COMP%]:after, .showcase[_ngcontent-%COMP%]:before{content:"";position:absolute;height:1px;bottom:-2px;right:0;left:0;border-bottom:1px solid gold;background:linear-gradient(250deg,#0f0125 10%,#020c29 86%);transform:skewY(-3deg);-moz-transform:skewY(-3deg);-ms-transform:skewY(-3deg)}.stats[_ngcontent-%COMP%]{padding-top:250px;background-color:#020c29}.stats[_ngcontent-%COMP%] .card[_ngcontent-%COMP%]{height:300px;transition:transform .2s ease-in;cursor:pointer}.stats[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] h2[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-align:start;color:#f4f4f4;font-size:26px}.stats[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] h2[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{border-bottom:2px solid green}.title[_ngcontent-%COMP%]{font-weight:100;color:transparent;font-size:65px;background:url(rainbow-nebula.16b4848ec24a6e860af9.jpg) repeat;background-position:40% 50%;-webkit-background-clip:text;position:relative;text-align:center}.stats[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]:nth-child(3){text-align:start;color:#f4f4f4;font-size:16px}.stats-heading[_ngcontent-%COMP%]{max-width:500px;margin:auto}.stats[_ngcontent-%COMP%] .grid[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:35px}.stats[_ngcontent-%COMP%] .grid[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:20px;font-weight:700}.footer[_ngcontent-%COMP%]{border-top:.1px solid gold;background-color:#020c29}.footer[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{padding-bottom:0;font-size:larger}.footer[_ngcontent-%COMP%] .social[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{margin:0 10px}.fa-2x[_ngcontent-%COMP%]{color:#fff}.fa-2x[_ngcontent-%COMP%]:hover{border:1px solid #fff;border-radius:5px}.fa-brands[_ngcontent-%COMP%]:hover{color:#5cb85c}.fa-github[_ngcontent-%COMP%]:hover{cursor:pointer}.fa-facebook[_ngcontent-%COMP%]:hover{color:#1773ea}.fa-instagram[_ngcontent-%COMP%]:hover{color:#b32e87}.fa-twitter[_ngcontent-%COMP%]:hover{color:#1c9cea}@keyframes slideInFromLeft{0%{transform:translateX(-100%)}to{transform:translateX(0)}}@keyframes slideInFromRight{0%{transform:translateX(100%)}to{transform:translateX(0)}}@keyframes slideInFromTop{0%{transform:translateY(-100%)}to{transform:translateX(0)}}@keyframes slideInFromBottom{0%{transform:translateY(100%)}to{transform:translateX(0)}}@media (max-width:768px){.grid[_ngcontent-%COMP%], .showcase[_ngcontent-%COMP%] .grid[_ngcontent-%COMP%], .stats[_ngcontent-%COMP%] .grid[_ngcontent-%COMP%]{grid-template-columns:1fr;grid-template-rows:1fr}.showcase[_ngcontent-%COMP%]{height:auto}.showcase-text[_ngcontent-%COMP%]{text-align:center;animation:slideInFromTop 1s ease-in;margin-top:-90px;padding-top:0!important}.showcase-form[_ngcontent-%COMP%]{justify-self:center;animation:slideInFromBottom 1s ease-in;width:300px;bottom:-415px;height:200px;margin:10px auto auto}.stats[_ngcontent-%COMP%]{padding-top:750px}.santosh[_ngcontent-%COMP%]{bottom:-450px}}@media (max-width:500px){.showcase-form[_ngcontent-%COMP%]{width:300px;bottom:-530px;height:200px}.santosh[_ngcontent-%COMP%]{bottom:-455px}}@media (max-width:1450px){.showcase-text[_ngcontent-%COMP%]{padding-top:120px}}']}),t})()}];let ld=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=lt({imports:[[_h.forRoot(ad)],_h]}),t})(),cd=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Ht({type:t,selectors:[["til-app"]],decls:1,vars:0,template:function(t,e){1&t&&Os(0,"router-outlet")},directives:[ch],styles:[""],encapsulation:2,changeDetection:0}),t})(),ud=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t,bootstrap:[cd]}),t.\u0275inj=lt({imports:[[Ha,ld,sd,id]]}),t})();(function(){if(_o)throw new Error("Cannot enable prod mode after platform setup.");yo=!1})(),Ua().bootstrapModule(ud).catch(t=>console.error(t))}},t=>{"use strict";t(t.s=6)}]); \ No newline at end of file +(self.webpackChunkthis_is_learning=self.webpackChunkthis_is_learning||[]).push([[179],{762:t=>{function e(t){return Promise.resolve().then(()=>{var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e})}e.keys=()=>[],e.resolve=e,e.id=762,t.exports=e},6:(t,e,n)=>{"use strict";function r(t){return"function"==typeof t}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 c(t){return null!==t&&"object"==typeof t}const u=(()=>{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 u?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 v(t){return t}let y=(()=>{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=_(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?v:1===e.length?e[0]:function(t){return e.reduce((t,e)=>e(t),t)})(this);var e}toPromise(t){return new(t=_(t))((t,e)=>{let n;this.subscribe(t=>n=t,t=>e(t),()=>t(n))})}}return t.create=e=>new t(e),t})();function _(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 x extends f{constructor(t){super(t),this.destination=t}}let S=(()=>{class t extends y{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[p](){return new x(this)}lift(t){const e=new C(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 C(t,e),t})();class C 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 T(t){return t&&"function"==typeof t.schedule}function E(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 O(t,this.project,this.thisArg))}}class O 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 A=t=>e=>{for(let n=0,r=t.length;nt&&"number"==typeof t.length&&"function"!=typeof t;function j(t){return!!t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}const M=t=>{if(t&&"function"==typeof t[m])return n=t,t=>{const e=n[m]();if("function"!=typeof e.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return e.subscribe(t)};if(P(t))return A(t);if(j(t))return(t=>e=>(t.then(t=>{e.closed||(e.next(t),e.complete())},t=>e.error(t)).then(null,o),e))(t);if(t&&"function"==typeof t[R])return e=t,t=>{const n=e[R]();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=c(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};function N(t,e){return new y(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 D(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 y(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(j(t))return function(t,e){return new y(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(P(t))return N(t,e);if(function(t){return t&&"function"==typeof t[R]}(t)||"string"==typeof t)return function(t,e){if(!t)throw new Error("Iterable cannot be null");return new y(n=>{const r=new h;let s;return r.add(()=>{s&&"function"==typeof s.return&&s.return()}),r.add(e.schedule(()=>{s=t[R](),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 y?t:new y(M(t))}class U 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 L extends f{notifyNext(t){this.destination.next(t)}notifyError(t){this.destination.error(t)}notifyComplete(){this.destination.complete()}}function H(t,e){if(e.closed)return;if(t instanceof y)return t.subscribe(e);let n;try{n=M(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)=>D(t(n,r)).pipe(E((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 L{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(v,t)}function B(t,e){return e?N(t,e):new y(A(t))}function q(){return function(t){return t.lift(new W(t))}}class W{constructor(t){this.connectable=t}call(t,e){const{connectable:n}=this;n._refCount++;const r=new G(t,n),s=e.subscribe(r);return r.closed||(r.connection=n.connect()),s}}class G 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 Z extends y{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 Y(this.getSubject(),this))),t.closed&&(this._connection=null,t=h.EMPTY)),t}refCount(){return q()(this)}}const Q=(()=>{const t=Z.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 Y extends x{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 J(){return new S}function K(t){for(let e in t)if(t[e]===K)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=K({__forward_ref__:K});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"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():function(t){return"string"==typeof t?t:null==t?"":String(t)}(t)}function ot(t,e){const n=e?` in ${e}`:"";throw new st("201",`No provider for ${it(t)} found${n}`)}function at(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function lt(t){return{providers:t.providers||[],imports:t.imports||[]}}function ct(t){return ut(t,dt)||ut(t,ft)}function ut(t,e){return t.hasOwnProperty(e)?t[e]:null}function ht(t){return t&&(t.hasOwnProperty(pt)||t.hasOwnProperty(gt))?t[pt]:null}const dt=K({"\u0275prov":K}),pt=K({"\u0275inj":K}),ft=K({ngInjectableDef:K}),gt=K({ngInjectorDef:K});var mt=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 vt;function yt(t){const e=vt;return vt=t,e}function _t(t,e,n){const r=ct(t);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&mt.Optional?null:void 0!==e?e:void ot(X(t),"Injector")}function wt(t){return{toString:t}.toString()}var bt=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}({}),xt=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}({});const St="undefined"!=typeof globalThis&&globalThis,Ct="undefined"!=typeof window&&window,Tt="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Et="undefined"!=typeof global&&global,kt=St||Et||Ct||Tt,Ot={},At=[],It=K({"\u0275cmp":K}),Rt=K({"\u0275dir":K}),Pt=K({"\u0275pipe":K}),jt=K({"\u0275mod":K}),Mt=K({"\u0275loc":K}),Nt=K({"\u0275fac":K}),Dt=K({__NG_ELEMENT_ID__:K});let Ut=0;function Lt(t){return wt(()=>{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===bt.OnPush,directiveDefs:null,pipeDefs:null,selectors:t.selectors||At,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||xt.Emulated,id:"c",styles:t.styles||At,_:null,setInput:null,schemas:t.schemas||null,tView:null},r=t.directives,s=t.features,i=t.pipes;return n.id+=Ut++,n.inputs=zt(t.inputs,e),n.outputs=zt(t.outputs),s&&s.forEach(t=>t(n)),n.directiveDefs=r?()=>("function"==typeof r?r():r).map(Ht):null,n.pipeDefs=i?()=>("function"==typeof i?i():i).map(Ft):null,n})}function Ht(t){return qt(t)||function(t){return t[Rt]||null}(t)}function Ft(t){return function(t){return t[Pt]||null}(t)}const $t={};function Vt(t){const e={type:t.type,bootstrap:t.bootstrap||At,declarations:t.declarations||At,imports:t.imports||At,exports:t.exports||At,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null};return null!=t.id&&wt(()=>{$t[t.id]=t.type}),e}function zt(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 qt(t){return t[It]||null}function Wt(t,e){const n=t[jt]||null;if(!n&&!0===e)throw new Error(`Type ${X(t)} does not have '\u0275mod' property.`);return n}const Gt=20,Zt=10;function Qt(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 Kt(t){return 2==(2&t.flags)}function Xt(t){return null!==t.template}function te(t,e){return t.hasOwnProperty(Nt)?t[Nt]:null}class ee{constructor(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}isFirstChange(){return this.firstChange}}function ne(){const t=se(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 re(t,e,n,r){const s=se(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 ee(l&&l.currentValue,e,o===Ot),t[r]=e}function se(t){return t.__ngSimpleChanges__||null}let ie;function oe(t){return!!t.listen}const ae={createRenderer:(t,e)=>void 0!==ie?ie:"undefined"!=typeof document?document:void 0};function le(t){for(;Array.isArray(t);)t=t[0];return t}function ce(t,e){return le(e[t.index])}function ue(t,e){const n=e[t];return Qt(n)?n:n[0]}function he(t){return 128==(128&t[2])}function de(t,e){return null==e?null:t[e]}function pe(t){t[18]=0}function fe(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 ge={lFrame:Pe(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function me(){return ge.bindingsEnabled}function ve(){return ge.lFrame.lView}function ye(){return ge.lFrame.tView}function _e(){let t=we();for(;null!==t&&64===t.type;)t=t.parent;return t}function we(){return ge.lFrame.currentTNode}function be(t,e){const n=ge.lFrame;n.currentTNode=t,n.isParent=e}function xe(){return ge.lFrame.isParent}function Se(){return ge.isInCheckNoChangesMode}function Ce(t){ge.isInCheckNoChangesMode=t}function Te(t,e){const n=ge.lFrame;n.bindingIndex=n.bindingRootIndex=t,Ee(e)}function Ee(t){ge.lFrame.currentDirectiveIndex=t}function ke(t){ge.lFrame.currentQueryIndex=t}function Oe(t){const e=t[1];return 2===e.type?e.declTNode:1===e.type?t[6]:null}function Ae(t,e,n){if(n&mt.SkipSelf){let r=e,s=t;for(;r=r.parent,!(null!==r||n&mt.Host||(r=Oe(s),null===r)||(s=s[15],10&r.type)););if(null===r)return!1;e=r,t=s}const r=ge.lFrame=Re();return r.currentTNode=e,r.lView=t,!0}function Ie(t){const e=Re(),n=t[1];ge.lFrame=e,e.currentTNode=n.firstChild,e.lView=t,e.tView=n,e.contextLView=t,e.bindingIndex=n.bindingStartIndex,e.inI18n=!1}function Re(){const t=ge.lFrame,e=null===t?null:t.child;return null===e?Pe(t):e}function Pe(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 je(){const t=ge.lFrame;return ge.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const Me=je;function Ne(){const t=je();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 De(t){ge.lFrame.selectedIndex=t}function Ue(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 ze=-1;class Be{constructor(t,e,n){this.factory=t,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=n}}function qe(t,e,n){const r=oe(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 Ke=!0;function Xe(t){const e=Ke;return Ke=t,e}let tn=0;function en(t,e){const n=rn(t,e);if(-1!==n)return n;const r=e[1];r.firstCreatePass&&(t.injectorIndex=e.length,nn(r.data,t),nn(e,null),nn(r.blueprint,null));const s=sn(t,e),i=t.injectorIndex;if(Qe(s)){const t=Ye(s),n=Je(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 nn(t,e){t.push(0,0,0,0,0,0,0,0,e)}function rn(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===e[t.injectorIndex+8]?-1:t.injectorIndex}function sn(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 ze;if(n++,s=s[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return ze}function on(t,e,n){!function(t,e,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(Dt)&&(r=n[Dt]),null==r&&(r=n[Dt]=tn++);const s=255&r;e.data[t+(s>>5)]|=1<=0?255&e:hn:e}(n);if("function"==typeof i){if(!Ae(e,t,r))return r&mt.Host?an(s,n,r):ln(e,n,r,s);try{const t=i(r);if(null!=t||r&mt.Optional)return t;ot(n)}finally{Me()}}else if("number"==typeof i){let s=null,o=rn(t,e),a=ze,l=r&mt.Host?e[16][6]:null;for((-1===o||r&mt.SkipSelf)&&(a=-1===o?sn(t,e):e[o+8],a!==ze&&gn(r,!1)?(s=e[1],o=Ye(a),e=Je(a,e)):o=-1);-1!==o;){const t=e[1];if(fn(i,o,t.data)){const t=dn(o,e,n,s,r,l);if(t!==un)return t}a=e[o+8],a!==ze&&gn(r,e[1].data[o+8]===l)&&fn(i,o,e)?(s=t,o=Ye(a),e=Je(a,e)):o=-1}}}return ln(e,n,r,s)}const un={};function hn(){return new mn(_e(),ve())}function dn(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,c=i>>20,u=s?a+c:t.directiveEnd;for(let h=r?a:a+c;h=l&&t.type===n)return h}if(s){const t=o[l];if(t&&Xt(t)&&t.type===n)return l}return null}(a,o,n,null==r?Kt(a)&&Ke:r!=o&&0!=(3&a.type),s&mt.Host&&i===a);return null!==l?pn(e,o,l,a):un}function pn(t,e,n,r){let s=t[n];const i=e.data;if(s instanceof Be){const o=s;o.resolving&&function(t,e){throw new st("200",`Circular dependency in DI detected for ${t}`)}(it(i[n]));const a=Xe(o.canSeeViewProviders);o.resolving=!0;const l=o.injectImpl?yt(o.injectImpl):null;Ae(t,r,mt.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=((o=e).type.prototype.ngOnChanges&&(o.setInput=re),ne);(n.preOrderHooks||(n.preOrderHooks=[])).push(t,r),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,r)}var o;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&&yt(l),Xe(a),o.resolving=!1,Me()}}return s}function fn(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(vn)?t[vn]:Object.defineProperty(t,vn,{value:[]})[vn];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 _n{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=at({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}toString(){return`InjectionToken ${this._desc}`}}const wn=new _n("AnalyzeForEntryComponents"),bn=Function;function xn(t,e){t.forEach(t=>Array.isArray(t)?xn(t,e):e(t))}function Sn(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function Cn(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}const Tn={},En=/\n/gm,kn="__source",On=K({provide:String,useValue:K});let An;function In(t){const e=An;return An=t,e}function Rn(t,e=mt.Default){if(void 0===An)throw new Error("inject() must be called from an injection context");return null===An?_t(t,void 0,e):An.get(t,e&mt.Optional?null:void 0,e)}function Pn(t,e=mt.Default){return(vt||Rn)(rt(t),e)}function jn(t){const e=[];for(let n=0;n({token:t})),-1),Dn=Mn(yn("Optional"),8),Un=Mn(yn("SkipSelf"),4);function Ln(t,e){t.__ngContext__=e}function Hn(t){const e=function(t){return t.__ngContext__||null}(t);return e?Array.isArray(e)?e:e.lView:null}function Fn(t){return t.ngDebugContext}function $n(t){return t.ngOriginalError}function Vn(t,...e){t.error(...e)}class zn{constructor(){this._console=console}handleError(t){const e=this._findOriginalError(t),n=this._findContext(t),r=function(t){return t.ngErrorLogger||Vn}(t);r(this._console,"ERROR",t),e&&r(this._console,"ORIGINAL ERROR",e),n&&r(this._console,"ERROR CONTEXT",n)}_findContext(t){return t?Fn(t)?Fn(t):this._findContext($n(t)):null}_findOriginalError(t){let e=$n(t);for(;e&&$n(e);)e=$n(e);return e}}const Bn=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(kt))();function qn(t){return t instanceof Function?t():t}var Wn=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}({});function Gn(t,e){return(void 0)(t,e)}function Zn(t){const e=t[3];return Yt(e)?e[3]:e}function Qn(t){return Jn(t[13])}function Yn(t){return Jn(t[4])}function Jn(t){for(;null!==t&&!Yt(t);)t=t[4];return t}function Kn(t,e,n,r,s){if(null!=r){let i,o=!1;Yt(r)?i=r:Qt(r)&&(o=!0,r=r[0]);const a=le(r);0===t&&null!==n?null==s?ir(e,n,a):sr(e,n,a,s||null,!0):1===t&&null!==n?sr(e,n,a,s||null,!0):2===t?function(t,e,n){const r=ar(t,e);r&&function(t,e,n,r){oe(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!==le(n)&&Kn(e,t,r,i,s);for(let o=Zt;o0&&(t[n-1][4]=r[4]);const o=Cn(t,Zt+e);pr(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 nr(t,e){if(!(256&e[2])){const n=e[11];oe(n)&&n.destroyNode&&pr(t,e,n,3,null,null),function(t){let e=t[13];if(!e)return rr(t[1],t);for(;e;){let n=null;if(Qt(e))n=e[13];else{const t=e[10];t&&(n=t)}if(!n){for(;e&&!e[4]&&e!==t;)Qt(e)&&rr(e[1],e),e=e[3];null===e&&(e=t),Qt(e)&&rr(e[1],e),n=e&&e[4]}e=n}}(e)}}function rr(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[u+1].toLowerCase();const e=8&r?t:null;if(e&&-1!==vr(e,c,0)||2&r&&c!==t){if(Sr(r))return!1;o=!0}}}}else{if(!o&&!Sr(r)&&!Sr(l))return!1;if(o&&Sr(l))continue;o=!1,r=l|1&r}}return Sr(r)||o}function Sr(t){return 0==(1&t)}function Cr(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||Sr(o)||(e+=Er(i,s),s=""),r=o,i=i||!Sr(r);n++}return""!==s&&(e+=Er(i,s)),e}const Or={};function Ar(t,e){const n=t.contentQueries;if(null!==n)for(let r=0;rGt&&function(t,e,n,r){if(!r)if(3==(3&e[2])){const n=t.preOrderCheckHooks;null!==n&&Le(e,n,20)}else{const n=t.preOrderHooks;null!==n&&He(e,n,0,20)}De(20)}(t,e,0,Se()),n(r,s)}finally{De(i)}}function Ur(t){const e=t.tView;return null===e||e.incompleteFirstPass?t.tView=Lr(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts):e}function Lr(t,e,n,r,s,i,o,a,l,c){const u=Gt+r,h=u+s,d=function(t,e){const n=[];for(let r=0;r0;){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 $r(t,e){null!==t.hostBindings&&t.hostBindings(1,e)}function Vr(t,e){e.flags|=2,(t.components||(t.components=[])).push(e.index)}function zr(t,e,n){if(n){if(e.exportAs)for(let r=0;r0&&Yr(n)}}function Yr(t){for(let n=Qn(t);null!==n;n=Yn(n))for(let t=Zt;t0&&Yr(e)}const e=t[1].components;if(null!==e)for(let n=0;n0&&Yr(r)}}function Jr(t,e){const n=ue(e,t),r=n[1];!function(t,e){for(let n=e.length;nPromise.resolve(null))();function rs(t,e,n){let r=n?t.styles:null,s=n?t.classes:null,i=0;if(null!==e)for(let o=0;othis.processProvider(n,t,e)),xn([t],t=>this.processInjectorType(t,[],s)),this.records.set(ss,fs(void 0,this));const i=this.records.get(os);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=Tn,n=mt.Default){this.assertNotDestroyed();const r=In(this);try{if(!(n&mt.SkipSelf)){let e=this.records.get(t);if(void 0===e){const n=("function"==typeof(s=t)||"object"==typeof s&&s instanceof _n)&&ct(t);e=n&&this.injectableDefInScope(n)?fs(ps(t),as):null,this.records.set(t,e)}if(null!=e)return this.hydrate(t,e)}return(n&mt.Self?us():this.parent).get(t,e=n&mt.Optional&&e===Tn?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[kn]&&s.unshift(e[kn]),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(En,"\n ")}`}("\n"+t.message,s,n,r),t.ngTokenPath=s,t.ngTempTokenPath=null,t}(i,t,"R3InjectorError",this.source)}throw i}finally{In(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=ht(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=ht(s)),null==r)return!1;if(null!=r.imports&&!o){let t;n.push(i);try{xn(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||At))}}this.injectorDefTypes.add(i);const a=te(i)||(()=>new i);this.records.set(i,fs(a,as));const l=r.providers;if(null!=l&&!o){const e=t;xn(l,t=>this.processProvider(t,e,l))}return void 0!==s&&void 0!==t.providers}processProvider(t,e,n){let r=ms(t=rt(t))?t:rt(t&&t.provide);const s=function(t,e,n){return gs(t)?fs(void 0,t.useValue):fs(function(t,e,n){let r;if(ms(t)){const e=rt(t);return te(e)||ps(e)}if(gs(t))r=()=>rt(t.useValue);else if((s=t)&&s.useFactory)r=()=>t.useFactory(...jn(t.deps||[]));else if(function(t){return!(!t||!t.useExisting)}(t))r=()=>Pn(rt(t.useExisting));else{const e=rt(t&&(t.useClass||t.provide));if(!function(t){return!!t.deps}(t))return te(e)||ps(e);r=()=>new e(...jn(t.deps))}var s;return r}(t),as)}(t);if(ms(t)||!0!==t.multi)this.records.get(r);else{let e=this.records.get(r);e||(e=fs(void 0,as,!0),e.factory=()=>jn(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===as&&(e.value=ls,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){if(!t.providedIn)return!1;const e=rt(t.providedIn);return"string"==typeof e?"any"===e||e===this.scope:this.injectorDefTypes.has(e)}}function ps(t){const e=ct(t),n=null!==e?e.factory:te(t);if(null!==n)return n;if(t instanceof _n)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 fs(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function gs(t){return null!==t&&"object"==typeof t&&On in t}function ms(t){return"function"==typeof t}const vs=function(t,e,n){return function(t,e=null,n=null,r){const s=hs(t,e,n,r);return s._resolveInjectorDefTypes(),s}({name:n},e,t,n)};let ys=(()=>{class t{static create(t,e){return Array.isArray(t)?vs(t,e,""):vs(t.providers,t.parent,t.name||"")}}return t.THROW_IF_NOT_FOUND=Tn,t.NULL=new is,t.\u0275prov=at({token:t,providedIn:"any",factory:()=>Pn(ss)}),t.__NG_ELEMENT_ID__=-1,t})();function _s(t,e){Ue(Hn(t)[1],_e())}let ws=null;function bs(){if(!ws){const t=kt.Symbol;if(t&&t.iterator)ws=t.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let e=0;e null != ${e} <=Actual]`)}(n,e),"string"==typeof t&&(Ls=t.toLowerCase().replace(/_/g,"-"))}class Fs{}class $s{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 Vs=(()=>{class t{}return t.NULL=new $s,t})();function zs(...t){}function Bs(t,e){return new Ws(ce(t,e))}const qs=function(){return Bs(_e(),ve())};let Ws=(()=>{class t{constructor(t){this.nativeElement=t}}return t.__NG_ELEMENT_ID__=qs,t})();class Gs{}let Zs=(()=>{class t{}return t.\u0275prov=at({token:t,providedIn:"root",factory:()=>null}),t})();class Qs{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const Ys=new Qs("12.0.3");class Js{constructor(){}supports(t){return xs(t)}create(t){return new Xs(t)}}const Ks=(t,e)=>e;class Xs{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||Ks}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{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 ti(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 ni),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 ni),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 ti{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 ei{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 ni{constructor(){this.map=new Map}put(t){const e=t.trackById;let n=this.map.get(e);n||(n=new ei,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 ri(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 oi(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 oi{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 ai(){return new li([new Js])}let li=(()=>{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||ai()),deps:[[t,new Un,new Dn]]}}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=at({token:t,providedIn:"root",factory:ai}),t})();function ci(){return new ui([new si])}let ui=(()=>{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||ci()),deps:[[t,new Un,new Dn]]}}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=at({token:t,providedIn:"root",factory:ci}),t})();function hi(t,e,n,r,s=!1){for(;null!==n;){const i=e[n.index];if(null!==i&&r.push(le(i)),Yt(i))for(let t=Zt;t-1&&(er(t,n),Cn(e,n))}this._attachedToViewContainer=!1}nr(this._lView[1],this._lView)}onDestroy(t){!function(t,e,n,r){const s=(i=e)[7]||(i[7]=[]);var i;s.push(r)}(0,this._lView,0,t)}markForCheck(){!function(t){for(;t;){t[2]|=64;const e=Zn(t);if(0!=(512&t[2])&&!e)return t;t=e}}(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){Xr(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(t,e,n){Ce(!0);try{Xr(t,e,n)}finally{Ce(!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,pr(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 pi extends di{constructor(t){super(t),this._view=t}detectChanges(){ts(this._view)}checkNoChanges(){!function(t){Ce(!0);try{ts(t)}finally{Ce(!1)}}(this._view)}get context(){return null}}const fi=function(t){return function(t,e,n){if(Kt(t)&&!n){const n=ue(t.index,e);return new di(n,n)}return 47&t.type?new di(e[16],e):null}(_e(),ve(),16==(16&t))};let gi=(()=>{class t{}return t.__NG_ELEMENT_ID__=fi,t})();const mi=[new si],vi=new li([new Js]),yi=new ui(mi);class _i{}class wi{}const bi=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=le(r);else{const n=e[11];s=n.createComment("");const r=ce(t,e);sr(n,ar(n,r),s,function(t,e){return oe(t)?t.nextSibling(e):e.nextSibling}(n,r),!1)}e[t.index]=n=new Array(r,!0,!1,e,null,0,t,s,null,null),Kr(e,n)}return new Ci(n,t,e)}(_e(),ve())};let xi=(()=>{class t{}return t.__NG_ELEMENT_ID__=bi,t})();const Si=xi,Ci=class extends Si{constructor(t,e,n){super(),this._lContainer=t,this._hostTNode=e,this._hostLView=n}get element(){return Bs(this._hostTNode,this._hostLView)}get injector(){return new mn(this._hostTNode,this._hostLView)}get parentInjector(){const t=sn(this._hostTNode,this._hostLView);if(Qe(t)){const e=Je(t,this._hostLView),n=Ye(t);return new mn(e[1].data[n+8],e)}return new mn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const e=Ti(this._lContainer);return null!==e&&e[t]||null}get length(){return this._lContainer.length-Zt}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(_i,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 Ci(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=Zt+r,i=n.length;r>0&&(n[s-1][4]=e),rBn});class Ri extends Fs{constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=t.selectors.map(kr).join(","),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!e}get inputs(){return Ai(this.componentDef.inputs)}get outputs(){return Ai(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,ki,s);return i!==ki||r===ki?i:e.get(n,r,s)}}}(t,r.injector):t,i=s.get(Gs,ae),o=s.get(Zs,null),a=i.createRenderer(null,this.componentDef),l=this.componentDef.selectors[0][0]||"div",c=n?function(t,e,n){if(oe(t))return t.selectRootElement(e,n===xt.ShadowDom);let r="string"==typeof e?t.querySelector(e):e;return r.textContent="",r}(a,n,this.componentDef.encapsulation):Xn(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)),u=this.componentDef.onPush?576:528,h={components:[],scheduler:Bn,clean:ns,playerHandler:null,flags:0},d=Lr(0,null,null,1,0,null,null,null,null,null),p=Ir(null,d,h,u,null,null,i,a,o,s);let f,g;Ie(p);try{const t=function(t,e,n,r,s,i){const o=n[1];n[20]=t;const a=Rr(o,20,2,"#host",null),l=a.mergedAttrs=e.hostAttrs;null!==l&&(rs(a,l,!0),null!==t&&(qe(s,t,l),null!==a.classes&&mr(s,t,a.classes),null!==a.styles&&gr(s,t,a.styles)));const c=r.createRenderer(t,e),u=Ir(n,Ur(e),null,e.onPush?64:16,n[20],a,r,c,null,null);return o.firstCreatePass&&(on(en(a,n),o,e.type),Vr(o,a),Br(a,n.length,1)),Kr(n,u),n[20]=u}(c,this.componentDef,p,i,a);if(c)if(n)qe(a,c,["ng-version",Ys.full]);else{const{attrs:t,classes:e}=function(t){const e=[],n=[];let r=1,s=2;for(;r0&&mr(a,c,e.join(" "))}if(g=d.data[20],void 0!==e){const t=g.projection=[];for(let n=0;nt(o,e)),e.contentQueries){const t=_e();e.contentQueries(1,o,t.directiveStart)}const a=_e();return!i.firstCreatePass||null===e.hostBindings&&null===e.hostAttrs||(De(a.index),Fr(n[1],a,0,a.directiveStart,a.directiveEnd,e),$r(e,o)),o}(t,this.componentDef,p,h,[_s]),jr(d,p,null)}finally{Ne()}return new Pi(this.componentType,f,Bs(g,p),p,g)}}class Pi 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 pi(r),this.componentType=t}get injector(){return new mn(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}const ji=new Map;class Mi extends _i{constructor(t,e){super(),this._parent=e,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new Oi(this);const n=Wt(t),r=t[Mt]||null;r&&Hs(r),this._bootstrapComponents=qn(n.bootstrap),this._r3Injector=hs(t,e,[{provide:_i,useValue:this},{provide:Vs,useValue:this.componentFactoryResolver}],X(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,e=ys.THROW_IF_NOT_FOUND,n=mt.Default){return t===ys||t===_i||t===ss?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 Ni extends wi{constructor(t){super(),this.moduleType=t,null!==Wt(t)&&function(t){const e=new Set;!function t(n){const r=Wt(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,ji.get(s),n),ji.set(s,n));const i=qn(r.imports);for(const o of i)e.has(o)||(e.add(o),t(o))}(t)}(t)}create(t){return new Mi(this.moduleType,t)}}function Di(t){return e=>{setTimeout(t,void 0,e)}}const Ui=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=Di(a),o&&(o=Di(o)),l&&(l=Di(l)));const c=super.subscribe({next:o,error:a,complete:l});return t instanceof h&&t.add(c),c}},Li=new _n("Application Initializer");let Hi=(()=>{class t{constructor(t){this.appInits=t,this.resolve=zs,this.reject=zs,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.subscribe({complete:t,error:n})});t.push(n)}}Promise.all(t).then(()=>{e()}).catch(t=>{this.reject(t)}),0===t.length&&e(),this.initialized=!0}}return t.\u0275fac=function(e){return new(e||t)(Pn(Li,8))},t.\u0275prov=at({token:t,factory:t.\u0275fac}),t})();const Fi=new _n("AppId"),$i={provide:Fi,useFactory:function(){return`${Vi()}${Vi()}${Vi()}`},deps:[]};function Vi(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const zi=new _n("Platform Initializer"),Bi=new _n("Platform ID"),qi=new _n("appBootstrapListener");let Wi=(()=>{class t{log(t){console.log(t)}warn(t){console.warn(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=at({token:t,factory:t.\u0275fac}),t})();const Gi=new _n("LocaleId"),Zi=new _n("DefaultCurrencyCode");class Qi{constructor(t,e){this.ngModuleFactory=t,this.componentFactories=e}}const Yi=function(t){return new Ni(t)},Ji=Yi,Ki=function(t){return Promise.resolve(Yi(t))},Xi=function(t){const e=Yi(t),n=qn(Wt(t).declarations).reduce((t,e)=>{const n=qt(e);return n&&t.push(new Ri(n)),t},[]);return new Qi(e,n)},to=Xi,eo=function(t){return Promise.resolve(Xi(t))};let no=(()=>{class t{constructor(){this.compileModuleSync=Ji,this.compileModuleAsync=Ki,this.compileModuleAndAllComponentsSync=to,this.compileModuleAndAllComponentsAsync=eo}clearCache(){}clearCacheFor(t){}getModuleId(t){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=at({token:t,factory:t.\u0275fac}),t})();const ro=(()=>Promise.resolve(0))();function so(t){"undefined"==typeof Zone?ro.then(()=>{t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}class io{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:e=!1,shouldCoalesceRunChangeDetection:n=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Ui(!1),this.onMicrotaskEmpty=new Ui(!1),this.onStable=new Ui(!1),this.onError=new Ui(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");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=kt.requestAnimationFrame,e=kt.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){t.isCheckStableRunning||-1!==t.lastRequestAnimationFrameId||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(kt,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,lo(t),t.isCheckStableRunning=!0,ao(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),lo(t))}(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,s,i,o,a)=>{try{return co(t),n.invokeTask(s,i,o,a)}finally{(t.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||t.shouldCoalesceRunChangeDetection)&&e(),uo(t)}},onInvoke:(n,r,s,i,o,a,l)=>{try{return co(t),n.invoke(s,i,o,a,l)}finally{t.shouldCoalesceRunChangeDetection&&e(),uo(t)}},onHasTask:(e,n,r,s)=>{e.hasTask(r,s),n===r&&("microTask"==s.change?(t._hasPendingMicrotasks=s.microTask,lo(t),ao(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(!io.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(io.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,oo,zs,zs);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 oo={};function ao(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 lo(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&-1!==t.lastRequestAnimationFrameId)}function co(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function uo(t){t._nesting--,ao(t)}class ho{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Ui,this.onMicrotaskEmpty=new Ui,this.onStable=new Ui,this.onError=new Ui}run(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 po=(()=>{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:()=>{io.assertNotInAngularZone(),so(()=>{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())so(()=>{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/plugins/task-tracking" 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)(Pn(io))},t.\u0275prov=at({token:t,factory:t.\u0275fac}),t})(),fo=(()=>{class t{constructor(){this._applications=new Map,vo.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 vo.findTestabilityInTree(this,t,e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=at({token:t,factory:t.\u0275fac}),t})();class go{addToWindow(t){}findTestabilityInTree(t,e,n){return null}}let mo,vo=new go,yo=!0,_o=!1;const wo=new _n("AllowMultipleToken");class bo{constructor(t,e){this.name=t,this.token=e}}function xo(t,e,n=[]){const r=`Platform: ${e}`,s=new _n(r);return(e=[])=>{let i=So();if(!i||i.injector.get(wo,!1))if(t)t(n.concat(e).concat({provide:s,useValue:!0}));else{const t=n.concat(e).concat({provide:s,useValue:!0},{provide:os,useValue:"platform"});!function(t){if(mo&&!mo.destroyed&&!mo.injector.get(wo,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");mo=t.get(Co);const e=t.get(zi,null);e&&e.forEach(t=>t())}(ys.create({providers:t,name:r}))}return function(t){const e=So();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 So(){return mo&&!mo.destroyed?mo:null}let Co=(()=>{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 ho:("zone.js"===t?void 0:t)||new io({enableLongStackTrace:(_o=!0,yo),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:io,useValue:n}];return n.run(()=>{const e=ys.create({providers:r,parent:this.injector,name:t.moduleType.name}),s=t.create(e),i=s.injector.get(zn,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(()=>{ko(this._modules,s),t.unsubscribe()})}),function(t,e,n){try{const r=n();return As(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(Hi);return t.runInitializers(),t.donePromise.then(()=>(Hs(s.injector.get(Gi,Us)||Us),this._moduleDoBootstrap(s),s))})})}bootstrapModule(t,e=[]){const n=To({},e);return function(t,e,n){const r=new Ni(n);return Promise.resolve(r)}(0,0,t).then(t=>this.bootstrapModuleFactory(t,n))}_moduleDoBootstrap(t){const e=t.injector.get(Eo);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)(Pn(ys))},t.\u0275prov=at({token:t,factory:t.\u0275fac}),t})();function To(t,e){return Array.isArray(e)?e.reduce(To,t):Object.assign(Object.assign({},t),e)}let Eo=(()=>{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 y(t=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{t.next(this._stable),t.complete()})}),o=new y(t=>{let e;this._zone.runOutsideAngular(()=>{e=this._zone.onStable.subscribe(()=>{io.assertNotInAngularZone(),so(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,t.next(!0))})})});const n=this._zone.onUnstable.subscribe(()=>{io.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 T(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 y?t[0]:z(e)(B(t,n))}(i,o.pipe(t=>{return q()((e=J,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 Fs?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(n.componentType);const r=n.isBoundToModule?void 0:this._injector.get(_i),s=n.create(ys.NULL,[],e||n.selector,r),i=s.location.nativeElement,o=s.injector.get(po,null),a=o&&s.injector.get(fo);return o&&a&&a.registerApplication(i,o),s.onDestroy(()=>{this.detachView(s.hostView),ko(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;ko(this._views,e),e.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(qi,[]).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)(Pn(io),Pn(ys),Pn(zn),Pn(Vs),Pn(Hi))},t.\u0275prov=at({token:t,factory:t.\u0275fac}),t})();function ko(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}class Oo{}class Ao{}const Io={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"};let Ro=(()=>{class t{constructor(t,e){this._compiler=t,this._config=e||Io}load(t){return this.loadAndCompile(t)}loadAndCompile(t){let[e,r]=t.split("#");return void 0===r&&(r="default"),n(762)(e).then(t=>t[r]).then(t=>Po(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(762)(this._config.factoryPathPrefix+e+this._config.factoryPathSuffix).then(t=>t[r+s]).then(t=>Po(t,e,r))}}return t.\u0275fac=function(e){return new(e||t)(Pn(no),Pn(Ao,8))},t.\u0275prov=at({token:t,factory:t.\u0275fac}),t})();function Po(t,e,n){if(!t)throw new Error(`Cannot find '${n}' in '${e}'`);return t}const jo=xo(null,"core",[{provide:Bi,useValue:"unknown"},{provide:Co,deps:[ys]},{provide:fo,deps:[]},{provide:Wi,deps:[]}]),Mo=[{provide:Eo,useClass:Eo,deps:[io,ys,zn,Vs,Hi]},{provide:Ii,deps:[io],useFactory:function(t){let e=[];return t.onStable.subscribe(()=>{for(;e.length;)e.pop()()}),function(t){e.push(t)}}},{provide:Hi,useClass:Hi,deps:[[new Dn,Li]]},{provide:no,useClass:no,deps:[]},$i,{provide:li,useFactory:function(){return vi},deps:[]},{provide:ui,useFactory:function(){return yi},deps:[]},{provide:Gi,useFactory:function(t){return Hs(t=t||"undefined"!=typeof $localize&&$localize.locale||Us),t},deps:[[new Nn(Gi),new Dn,new Un]]},{provide:Zi,useValue:"USD"}];let No=(()=>{class t{constructor(t){}}return t.\u0275fac=function(e){return new(e||t)(Pn(Eo))},t.\u0275mod=Vt({type:t}),t.\u0275inj=lt({providers:Mo}),t})(),Do=null;function Uo(){return Do}const Lo=new _n("DocumentToken");let Ho=(()=>{class t{historyGo(t){throw new Error("Not implemented")}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=at({factory:Fo,token:t,providedIn:"platform"}),t})();function Fo(){return Pn(Vo)}const $o=new _n("Location Initialized");let Vo=(()=>{class t extends Ho{constructor(t){super(),this._doc=t,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Uo().getBaseHref(this._doc)}onPopState(t){const e=Uo().getGlobalEventTarget(this._doc,"window");return e.addEventListener("popstate",t,!1),()=>e.removeEventListener("popstate",t)}onHashChange(t){const e=Uo().getGlobalEventTarget(this._doc,"window");return e.addEventListener("hashchange",t,!1),()=>e.removeEventListener("hashchange",t)}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){zo()?this._history.pushState(t,e,n):this.location.hash=n}replaceState(t,e,n){zo()?this._history.replaceState(t,e,n):this.location.hash=n}forward(){this._history.forward()}back(){this._history.back()}historyGo(t=0){this._history.go(t)}getState(){return this._history.state}}return t.\u0275fac=function(e){return new(e||t)(Pn(Lo))},t.\u0275prov=at({factory:Bo,token:t,providedIn:"platform"}),t})();function zo(){return!!window.history.pushState}function Bo(){return new Vo(Pn(Lo))}function qo(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 Wo(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 Go(t){return t&&"?"!==t[0]?"?"+t:t}let Zo=(()=>{class t{historyGo(t){throw new Error("Not implemented")}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=at({factory:Qo,token:t,providedIn:"root"}),t})();function Qo(t){const e=Pn(Lo).location;return new Jo(Pn(Ho),e&&e.origin||"")}const Yo=new _n("appBaseHref");let Jo=(()=>{class t extends Zo{constructor(t,e){if(super(),this._platformLocation=t,this._removeListenerFns=[],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}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return qo(this._baseHref,t)}path(t=!1){const e=this._platformLocation.pathname+Go(this._platformLocation.search),n=this._platformLocation.hash;return n&&t?`${e}${n}`:e}pushState(t,e,n,r){const s=this.prepareExternalUrl(n+Go(r));this._platformLocation.pushState(t,e,s)}replaceState(t,e,n,r){const s=this.prepareExternalUrl(n+Go(r));this._platformLocation.replaceState(t,e,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(t=0){var e,n;null===(n=(e=this._platformLocation).historyGo)||void 0===n||n.call(e,t)}}return t.\u0275fac=function(e){return new(e||t)(Pn(Ho),Pn(Yo,8))},t.\u0275prov=at({token:t,factory:t.\u0275fac}),t})(),Ko=(()=>{class t extends Zo{constructor(t,e){super(),this._platformLocation=t,this._baseHref="",this._removeListenerFns=[],null!=e&&(this._baseHref=e)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(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=qo(this._baseHref,t);return e.length>0?"#"+e:e}pushState(t,e,n,r){let s=this.prepareExternalUrl(n+Go(r));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(t,e,s)}replaceState(t,e,n,r){let s=this.prepareExternalUrl(n+Go(r));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(t,e,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(t=0){var e,n;null===(n=(e=this._platformLocation).historyGo)||void 0===n||n.call(e,t)}}return t.\u0275fac=function(e){return new(e||t)(Pn(Ho),Pn(Yo,8))},t.\u0275prov=at({token:t,factory:t.\u0275fac}),t})(),Xo=(()=>{class t{constructor(t,e){this._subject=new Ui,this._urlChangeListeners=[],this._platformStrategy=t;const n=this._platformStrategy.getBaseHref();this._platformLocation=e,this._baseHref=Wo(ea(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+Go(e))}normalize(e){return t.stripTrailingSlash(function(t,e){return t&&e.startsWith(t)?e.substring(t.length):e}(this._baseHref,ea(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+Go(e)),n)}replaceState(t,e="",n=null){this._platformStrategy.replaceState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+Go(e)),n)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(t=0){var e,n;null===(n=(e=this._platformStrategy).historyGo)||void 0===n||n.call(e,t)}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)(Pn(Zo),Pn(Ho))},t.normalizeQueryParams=Go,t.joinWithSlash=qo,t.stripTrailingSlash=Wo,t.\u0275prov=at({factory:ta,token:t,providedIn:"root"}),t})();function ta(){return new Xo(Pn(Zo),Pn(Ho))}function ea(t){return t.replace(/\/index.html$/,"")}var na=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 ra{}let sa=(()=>{class t extends ra{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=Ns(e);if(n)return n;const r=e.split("-")[0];if(n=Ns(r),n)return n;if("en"===r)return js;throw new Error(`Missing locale data for the locale "${t}".`)}(t)[Ds.PluralCase]}(e||this.locale)(t)){case na.Zero:return"zero";case na.One:return"one";case na.Two:return"two";case na.Few:return"few";case na.Many:return"many";default:return"other"}}}return t.\u0275fac=function(e){return new(e||t)(Pn(Gi))},t.\u0275prov=at({token:t,factory:t.\u0275fac}),t})(),ia=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=lt({providers:[{provide:ra,useClass:sa}]}),t})(),oa=(()=>{class t{}return t.\u0275prov=at({token:t,providedIn:"root",factory:()=>new aa(Pn(Lo),window)}),t})();class aa{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){if(!this.supportsScrolling())return;const e=function(t,e){const n=t.getElementById(e)||t.getElementsByName(e)[0];if(n)return n;if("function"==typeof t.createTreeWalker&&t.body&&(t.body.createShadowRoot||t.body.attachShadow)){const n=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT);let r=n.currentNode;for(;r;){const t=r.shadowRoot;if(t){const n=t.getElementById(e)||t.querySelector(`[name="${e}"]`);if(n)return n}r=n.nextNode()}}return null}(this.document,t);e&&(this.scrollToElement(e),this.attemptFocus(e))}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=la(this.window.history)||la(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 la(t){return Object.getOwnPropertyDescriptor(t,"scrollRestoration")}class ca extends class extends class{}{constructor(){super(...arguments),this.supportsDOMEvents=!0}}{static makeCurrent(){var t;t=new ca,Do||(Do=t)}onAndCancel(t,e,n){return t.addEventListener(e,n,!1),()=>{t.removeEventListener(e,n,!1)}}dispatchEvent(t,e){t.dispatchEvent(e)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}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}getBaseHref(t){const e=(ha=ha||document.querySelector("base"),ha?ha.getAttribute("href"):null);return null==e?null:function(t){ua=ua||document.createElement("a"),ua.setAttribute("href",t);const e=ua.pathname;return"/"===e.charAt(0)?e:`/${e}`}(e)}resetBaseElement(){ha=null}getUserAgent(){return window.navigator.userAgent}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 ua,ha=null;const da=new _n("TRANSITION_ID"),pa=[{provide:Li,useFactory:function(t,e,n){return()=>{n.get(Hi).donePromise.then(()=>{const n=Uo();Array.prototype.slice.apply(e.querySelectorAll("style[ng-transition]")).filter(e=>e.getAttribute("ng-transition")===t).forEach(t=>n.remove(t))})}},deps:[da,Lo,ys],multi:!0}];class fa{static init(){var t;t=new fa,vo=t}addToWindow(t){kt.getAngularTestability=(e,n=!0)=>{const r=t.findTestabilityInTree(e,n);if(null==r)throw new Error("Could not find testability for element.");return r},kt.getAllAngularTestabilities=()=>t.getAllTestabilities(),kt.getAllAngularRootElements=()=>t.getAllRootElements(),kt.frameworkStabilizers||(kt.frameworkStabilizers=[]),kt.frameworkStabilizers.push(t=>{const e=kt.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?Uo().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null}}let ga=(()=>{class t{build(){return new XMLHttpRequest}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=at({token:t,factory:t.\u0275fac}),t})();const ma=new _n("EventManagerPlugins");let va=(()=>{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=at({token:t,factory:t.\u0275fac}),t})(),wa=(()=>{class t extends _a{constructor(t){super(),this._doc=t,this._hostNodes=new Map,this._hostNodes.set(t.head,[])}_addStylesToHost(t,e,n){t.forEach(t=>{const r=this._doc.createElement("style");r.textContent=t,n.push(e.appendChild(r))})}addHost(t){const e=[];this._addStylesToHost(this._stylesSet,t,e),this._hostNodes.set(t,e)}removeHost(t){const e=this._hostNodes.get(t);e&&e.forEach(ba),this._hostNodes.delete(t)}onStylesAdded(t){this._hostNodes.forEach((e,n)=>{this._addStylesToHost(t,n,e)})}ngOnDestroy(){this._hostNodes.forEach(t=>t.forEach(ba))}}return t.\u0275fac=function(e){return new(e||t)(Pn(Lo))},t.\u0275prov=at({token:t,factory:t.\u0275fac}),t})();function ba(t){Uo().remove(t)}const xa={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/"},Sa=/%COMP%/g;function Ca(t,e,n){for(let r=0;r{if("__ngUnwrap__"===e)return t;!1===t(e)&&(e.preventDefault(),e.returnValue=!1)}}let Ea=(()=>{class t{constructor(t,e,n){this.eventManager=t,this.sharedStylesHost=e,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new ka(t)}createRenderer(t,e){if(!t||!e)return this.defaultRenderer;switch(e.encapsulation){case xt.Emulated:{let n=this.rendererByCompId.get(e.id);return n||(n=new Oa(this.eventManager,this.sharedStylesHost,e,this.appId),this.rendererByCompId.set(e.id,n)),n.applyToHost(t),n}case 1:case xt.ShadowDom:return new Aa(this.eventManager,this.sharedStylesHost,t,e);default:if(!this.rendererByCompId.has(e.id)){const t=Ca(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)(Pn(va),Pn(wa),Pn(Fi))},t.\u0275prov=at({token:t,factory:t.\u0275fac}),t})();class ka{constructor(t){this.eventManager=t,this.data=Object.create(null)}destroy(){}createElement(t,e){return e?document.createElementNS(xa[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=xa[r];s?t.setAttributeNS(s,e,n):t.setAttribute(e,n)}else t.setAttribute(e,n)}removeAttribute(t,e,n){if(n){const r=xa[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&(Wn.DashCase|Wn.Important)?t.style.setProperty(e,n,r&Wn.Important?"important":""):t.style[e]=n}removeStyle(t,e,n){n&Wn.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,Ta(n)):this.eventManager.addEventListener(t,e,Ta(n))}}class Oa extends ka{constructor(t,e,n,r){super(t),this.component=n;const s=Ca(r+"-"+n.id,n.styles,[]);e.addStyles(s),this.contentAttr="_ngcontent-%COMP%".replace(Sa,r+"-"+n.id),this.hostAttr="_nghost-%COMP%".replace(Sa,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 Aa extends ka{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=Ca(r.id,r.styles,[]);for(let i=0;i{class t extends ya{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)(Pn(Lo))},t.\u0275prov=at({token:t,factory:t.\u0275fac}),t})();const Ra=["alt","control","meta","shift"],Pa={"\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"},ja={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"},Ma={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};let Na=(()=>{class t extends ya{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(()=>Uo().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(Ra.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&&ja.hasOwnProperty(e)&&(e=ja[e]))}return Pa[e]||e}(t);return n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),Ra.forEach(r=>{r!=n&&(0,Ma[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)(Pn(Lo))},t.\u0275prov=at({token:t,factory:t.\u0275fac}),t})();const Da=xo(jo,"browser",[{provide:Bi,useValue:"browser"},{provide:zi,useValue:function(){ca.makeCurrent(),fa.init()},multi:!0},{provide:Lo,useFactory:function(){return function(t){ie=t}(document),document},deps:[]}]),Ua=[[],{provide:os,useValue:"root"},{provide:zn,useFactory:function(){return new zn},deps:[]},{provide:ma,useClass:Ia,multi:!0,deps:[Lo,io,Bi]},{provide:ma,useClass:Na,multi:!0,deps:[Lo]},[],{provide:Ea,useClass:Ea,deps:[va,wa,Fi]},{provide:Gs,useExisting:Ea},{provide:_a,useExisting:wa},{provide:wa,useClass:wa,deps:[Lo]},{provide:po,useClass:po,deps:[io]},{provide:va,useClass:va,deps:[ma,io]},{provide:class{},useClass:ga,deps:[]},[]];let La=(()=>{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:Fi,useValue:e.appId},{provide:da,useExisting:Fi},pa]}}}return t.\u0275fac=function(e){return new(e||t)(Pn(t,12))},t.\u0275mod=Vt({type:t}),t.\u0275inj=lt({providers:Ua,imports:[ia,No]}),t})();function Ha(t,e,n,r){return new(n||(n=Promise))(function(s,i){function o(t){try{l(r.next(t))}catch(e){i(e)}}function a(t){try{l(r.throw(t))}catch(e){i(e)}}function l(t){var e;t.done?s(t.value):(e=t.value,e instanceof n?e:new n(function(t){t(e)})).then(o,a)}l((r=r.apply(t,e||[])).next())})}function Fa(...t){let e=t[t.length-1];return T(e)?(t.pop(),N(t,e)):B(t)}"undefined"!=typeof window&&window;class $a 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 Va 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 za 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 Ba(t,e,n,r,s=new za(t,n,r)){if(!s.closed)return e instanceof y?e.subscribe(s):M(e)(s)}const qa={};class Wa{constructor(t){this.resultSelector=t}call(t,e){return e.subscribe(new Ga(t,this.resultSelector))}}class Ga extends Va{constructor(t,e){super(t),this.resultSelector=e,this.active=0,this.values=[],this.observables=[]}_next(t){this.values.push(qa),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 Qa(...t){return z(1)(Fa(...t))}const Ya=new y(t=>t.complete());function Ja(t){return t?function(t){return new y(e=>t.schedule(()=>e.complete()))}(t):Ya}function Ka(t){return new y(e=>{let n;try{n=t()}catch(r){return void e.error(r)}return(n?D(n):Ja()).subscribe(e)})}function Xa(t,e){return"function"==typeof e?n=>n.pipe(Xa((n,r)=>D(t(n,r)).pipe(E((t,s)=>e(n,t,r,s))))):e=>e.lift(new tl(t))}class tl{constructor(t){this.project=t}call(t,e){return e.subscribe(new el(t,this.project))}}class el extends L{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 U(this),r=this.destination;r.add(n),this.innerSubscription=H(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 nl=(()=>{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 rl(t){return e=>0===t?Ja():e.lift(new sl(t))}class sl{constructor(t){if(this.total=t,this.total<0)throw new nl}call(t,e){return e.subscribe(new il(t,this.total))}}class il 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 ol(t,e){let n=!1;return arguments.length>=2&&(n=!0),function(r){return r.lift(new al(t,e,n))}}class al{constructor(t,e,n=!1){this.accumulator=t,this.seed=e,this.hasSeed=n}call(t,e){return e.subscribe(new ll(t,this.accumulator,this.seed,this.hasSeed))}}class ll 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 cl(t,e){return function(n){return n.lift(new ul(t,e))}}class ul{constructor(t,e){this.predicate=t,this.thisArg=e}call(t,e){return e.subscribe(new hl(t,this.predicate,this.thisArg))}}class hl 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 dl(t){return function(e){const n=new pl(t),r=e.lift(n);return n.caught=r}}class pl{constructor(t){this.selector=t}call(t,e){return e.subscribe(new fl(t,this.selector,this.caught))}}class fl extends L{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 U(this);this.add(r);const s=H(n,r);s!==r&&this.add(s)}}}function gl(t,e){return F(t,e,1)}function ml(t){return function(e){return 0===t?Ja():e.lift(new vl(t))}}class vl{constructor(t){if(this.total=t,this.total<0)throw new nl}call(t,e){return e.subscribe(new yl(t,this.total))}}class yl 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 wl(t))}class wl{constructor(t){this.errorFactory=t}call(t,e){return e.subscribe(new bl(t,this.errorFactory))}}class bl 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 xl(){return new Za}function Sl(t=null){return e=>e.lift(new Cl(t))}class Cl{constructor(t){this.defaultValue=t}call(t,e){return e.subscribe(new Tl(t,this.defaultValue))}}class Tl 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 El(t,e){const n=arguments.length>=2;return r=>r.pipe(t?cl((e,n)=>t(e,n,r)):v,rl(1),n?Sl(e):_l(()=>new Za))}function kl(){}function Ol(t,e,n){return function(r){return r.lift(new Al(t,e,n))}}class Al{constructor(t,e,n){this.nextOrObserver=t,this.error=e,this.complete=n}call(t,e){return e.subscribe(new Il(t,this.nextOrObserver,this.error,this.complete))}}class Il extends f{constructor(t,e,n,s){super(t),this._tapNext=kl,this._tapError=kl,this._tapComplete=kl,this._tapError=n||kl,this._tapComplete=s||kl,r(e)?(this._context=this,this._tapNext=e):e&&(this._context=e,this._tapNext=e.next||kl,this._tapError=e.error||kl,this._tapComplete=e.complete||kl)}_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 Rl{constructor(t){this.callback=t}call(t,e){return e.subscribe(new Pl(t,this.callback))}}class Pl extends f{constructor(t,e){super(t),this.add(new h(e))}}class jl{constructor(t,e){this.id=t,this.url=e}}class Ml extends jl{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 Nl extends jl{constructor(t,e,n){super(t,e),this.urlAfterRedirects=n}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Dl extends jl{constructor(t,e,n){super(t,e),this.reason=n}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Ul extends jl{constructor(t,e,n){super(t,e),this.error=n}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Ll extends jl{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 Hl extends jl{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 Fl extends jl{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 $l extends jl{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 Vl extends jl{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 zl{constructor(t){this.route=t}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Bl{constructor(t){this.route=t}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class ql{constructor(t){this.snapshot=t}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Wl{constructor(t){this.snapshot=t}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Gl{constructor(t){this.snapshot=t}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Zl{constructor(t){this.snapshot=t}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ql{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 Yl="primary";class Jl{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 Kl(t){return new Jl(t)}function Xl(t){const e=Error("NavigationCancelingError: "+t);return e.ngNavigationCancelingError=!0,e}function tc(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 rc(t){return Array.prototype.concat.apply([],t)}function sc(t){return t.length>0?t[t.length-1]:null}function ic(t,e){for(const n in t)t.hasOwnProperty(n)&&e(t[n],n)}function oc(t){return Is(t)?t:As(t)?D(Promise.resolve(t)):Fa(t)}const ac={exact:function t(e,n,r){if(!mc(e.segments,n.segments))return!1;if(!dc(e.segments,n.segments,r))return!1;if(e.numberOfChildren!==n.numberOfChildren)return!1;for(const s in n.children){if(!e.children[s])return!1;if(!t(e.children[s],n.children[s],r))return!1}return!0},subset:uc},lc={exact:function(t,e){return ec(t,e)},subset:function(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(n=>nc(t[n],e[n]))},ignored:()=>!0};function cc(t,e,n){return ac[n.paths](t.root,e.root,n.matrixParams)&&lc[n.queryParams](t.queryParams,e.queryParams)&&!("exact"===n.fragment&&t.fragment!==e.fragment)}function uc(t,e,n){return hc(t,e,e.segments,n)}function hc(t,e,n,r){if(t.segments.length>n.length){const s=t.segments.slice(0,n.length);return!!mc(s,n)&&!e.hasChildren()&&!!dc(s,n,r)}if(t.segments.length===n.length){if(!mc(t.segments,n))return!1;if(!dc(t.segments,n,r))return!1;for(const n in e.children){if(!t.children[n])return!1;if(!uc(t.children[n],e.children[n],r))return!1}return!0}{const s=n.slice(0,t.segments.length),i=n.slice(t.segments.length);return!!mc(t.segments,s)&&!!dc(t.segments,s,r)&&!!t.children.primary&&hc(t.children.primary,e,i,r)}}function dc(t,e,n){return e.every((e,r)=>lc[n](t[r].parameters,e.parameters))}class pc{constructor(t,e,n){this.root=t,this.queryParams=e,this.fragment=n}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Kl(this.queryParams)),this._queryParamMap}toString(){return _c.serialize(this)}}class fc{constructor(t,e){this.segments=t,this.children=e,this.parent=null,ic(e,(t,e)=>t.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return wc(this)}}class gc{constructor(t,e){this.path=t,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=Kl(this.parameters)),this._parameterMap}toString(){return kc(this)}}function mc(t,e){return t.length===e.length&&t.every((t,n)=>t.path===e[n].path)}class vc{}class yc{parse(t){const e=new Pc(t);return new pc(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(t){var e;return`/${bc(t.root,!0)}${function(t){const e=Object.keys(t).map(e=>{const n=t[e];return Array.isArray(n)?n.map(t=>`${Sc(e)}=${Sc(t)}`).join("&"):`${Sc(e)}=${Sc(n)}`});return e.length?`?${e.join("&")}`:""}(t.queryParams)}${"string"==typeof t.fragment?`#${e=t.fragment,encodeURI(e)}`:""}`}}const _c=new yc;function wc(t){return t.segments.map(t=>kc(t)).join("/")}function bc(t,e){if(!t.hasChildren())return wc(t);if(e){const e=t.children.primary?bc(t.children.primary,!1):"",n=[];return ic(t.children,(t,e)=>{e!==Yl&&n.push(`${e}:${bc(t,!1)}`)}),n.length>0?`${e}(${n.join("//")})`:e}{const e=function(t,e){let n=[];return ic(t.children,(t,r)=>{r===Yl&&(n=n.concat(e(t,r)))}),ic(t.children,(t,r)=>{r!==Yl&&(n=n.concat(e(t,r)))}),n}(t,(e,n)=>n===Yl?[bc(t.children.primary,!1)]:[`${n}:${bc(e,!1)}`]);return 1===Object.keys(t.children).length&&null!=t.children.primary?`${wc(t)}/${e[0]}`:`${wc(t)}/(${e.join("//")})`}}function xc(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Sc(t){return xc(t).replace(/%3B/gi,";")}function Cc(t){return xc(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Tc(t){return decodeURIComponent(t)}function Ec(t){return Tc(t.replace(/\+/g,"%20"))}function kc(t){return`${Cc(t.path)}${e=t.parameters,Object.keys(e).map(t=>`;${Cc(t)}=${Cc(e[t])}`).join("")}`;var e}const Oc=/^[^\/()?;=#]+/;function Ac(t){const e=t.match(Oc);return e?e[0]:""}const Ic=/^[^=?&#]+/,Rc=/^[^?&#]+/;class Pc{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new fc([],{}):new fc([],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 fc(t,e)),n}parseSegment(){const t=Ac(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(t),new gc(Tc(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const e=Ac(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){const t=Ac(this.remaining);t&&(n=t,this.capture(n))}t[Tc(e)]=Tc(n)}parseQueryParam(t){const e=function(t){const e=t.match(Ic);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(Rc);return e?e[0]:""}(this.remaining);t&&(n=t,this.capture(n))}const r=Ec(e),s=Ec(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=Ac(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=Yl);const i=this.parseChildren();e[s]=1===Object.keys(i).length?i.primary:new fc([],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 jc{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=Mc(t,this._root);return e?e.children.map(t=>t.value):[]}firstChild(t){const e=Mc(t,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(t){const e=Nc(t,this._root);return e.length<2?[]:e[e.length-2].children.map(t=>t.value).filter(e=>e!==t)}pathFromRoot(t){return Nc(t,this._root).map(t=>t.value)}}function Mc(t,e){if(t===e.value)return e;for(const n of e.children){const e=Mc(t,n);if(e)return e}return null}function Nc(t,e){if(t===e.value)return[e];for(const n of e.children){const r=Nc(t,n);if(r.length)return r.unshift(e),r}return[]}class Dc{constructor(t,e){this.value=t,this.children=e}toString(){return`TreeNode(${this.value})`}}function Uc(t){const e={};return t&&t.children.forEach(t=>e[t.value.outlet]=t),e}class Lc extends jc{constructor(t,e){super(t),this.snapshot=e,Bc(this,t)}toString(){return this.snapshot.toString()}}function Hc(t,e){const n=function(t,e){const n=new Vc([],{},{},"",{},Yl,e,null,t.root,-1,{});return new zc("",new Dc(n,[]))}(t,e),r=new $a([new gc("",{})]),s=new $a({}),i=new $a({}),o=new $a({}),a=new $a(""),l=new Fc(r,s,o,a,i,Yl,e,n.root);return l.snapshot=n.root,new Lc(new Dc(l,[]),n)}class Fc{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(E(t=>Kl(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(E(t=>Kl(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function $c(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 Vc{constructor(t,e,n,r,s,i,o,a,l,c,u){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=c,this._resolve=u}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=Kl(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Kl(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(t=>t.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class zc extends jc{constructor(t,e){super(e),this.url=t,Bc(this,e)}toString(){return qc(this._root)}}function Bc(t,e){e.value._routerState=t,e.children.forEach(e=>Bc(t,e))}function qc(t){const e=t.children.length>0?` { ${t.children.map(qc).join(", ")} } `:"";return`${t.value}${e}`}function Wc(t){if(t.snapshot){const e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,ec(e.queryParams,n.queryParams)||t.queryParams.next(n.queryParams),e.fragment!==n.fragment&&t.fragment.next(n.fragment),ec(e.params,n.params)||t.params.next(n.params),function(t,e){if(t.length!==e.length)return!1;for(let n=0;nec(t.parameters,r[e].parameters))&&!(!t.parent!=!e.parent)&&(!t.parent||Gc(t.parent,e.parent))}function Zc(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 Zc(t,e,r);return Zc(t,e)})}(t,e,n);return new Dc(r,s)}{if(t.shouldAttach(e.value)){const n=t.retrieve(e.value);if(null!==n){const t=n.route;return Qc(e,t),t}}const n=new Fc(new $a((r=e.value).url),new $a(r.params),new $a(r.queryParams),new $a(r.fragment),new $a(r.data),r.outlet,r.component,r),s=e.children.map(e=>Zc(t,e));return new Dc(n,s)}var r}function Qc(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 pc(n.root===t?e:Xc(n.root,t,e),i,s)}function Xc(t,e,n){const r={};return ic(t.children,(t,s)=>{r[s]=t===e?n:Xc(t,e,n)}),new fc(t.segments,r)}class tu{constructor(t,e,n){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=n,t&&n.length>0&&Yc(n[0]))throw new Error("Root segment cannot have matrix parameters");const r=n.find(Jc);if(r&&r!==sc(n))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class eu{constructor(t,e,n){this.segmentGroup=t,this.processChildren=e,this.index=n}}function nu(t,e,n){if(t||(t=new fc([],{})),0===t.segments.length&&t.hasChildren())return ru(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(Jc(o))break;const a=`${o}`,l=r0&&void 0===a)break;if(a&&l&&"object"==typeof l&&void 0===l.outlets){if(!au(a,l,e))return i;r+=2}else{if(!au(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]=nu(t.children[r],e,n))}),ic(t.children,(t,e)=>{void 0===r[e]&&(s[e]=t)}),new fc(t.segments,s)}}function su(t,e,n){const r=t.segments.slice(0,e);let s=0;for(;s{"string"==typeof t&&(t=[t]),null!==t&&(e[n]=su(new fc([],{}),0,t))}),e}function ou(t){const e={};return ic(t,(t,n)=>e[n]=`${t}`),e}function au(t,e,n){return t==n.path&&ec(e,n.parameters)}class lu{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),Wc(this.futureState.root),this.activateChildRoutes(e,n,t)}deactivateChildRoutes(t,e,n){const r=Uc(e);t.children.forEach(t=>{const e=t.value.outlet;this.deactivateRoutes(t,r[e],n),delete r[e]}),ic(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=Uc(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=Uc(e);t.children.forEach(t=>{this.activateRoutes(t,r[t.value.outlet],n),this.forwardEvent(new Zl(t.value.snapshot))}),t.children.length&&this.forwardEvent(new Wl(t.value.snapshot))}activateRoutes(t,e,n){const r=t.value,s=e?e.value:null;if(Wc(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),cu(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 cu(t){Wc(t.value),t.children.forEach(cu)}class uu{constructor(t,e){this.routes=t,this.module=e}}function hu(t){return"function"==typeof t}function du(t){return t instanceof pc}const pu=Symbol("INITIAL_VALUE");function fu(){return Xa(t=>function(...t){let e,n;return T(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]),B(t,n).lift(new Wa(e))}(t.map(t=>t.pipe(rl(1),function(...t){const e=t[t.length-1];return T(e)?(t.pop(),n=>Qa(t,n,e)):e=>Qa(t,e)}(pu)))).pipe(ol((t,e)=>{let n=!1;return e.reduce((t,r,s)=>{if(t!==pu)return t;if(r===pu&&(n=!0),!n){if(!1===r)return r;if(s===e.length-1||du(r))return r}return t},t)},pu),cl(t=>t!==pu),E(t=>du(t)?t:!0===t),rl(1)))}let gu=(()=>{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&&Os(0,"router-outlet")},directives:function(){return[ch]},encapsulation:2}),t})();function mu(t,e=""){for(let n=0;nwu(t)===e);return n.push(...t.filter(t=>wu(t)!==e)),n}const xu={matched:!1,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};function Su(t,e,n){var r;if(""===e.path)return"full"===e.pathMatch&&(t.hasChildren()||n.length>0)?Object.assign({},xu):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};const s=(e.matcher||tc)(n,t,e);if(!s)return Object.assign({},xu);const i={};ic(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 Cu(t,e,n,r,s="corrected"){if(n.length>0&&function(t,e,n){return n.some(n=>Tu(t,e,n)&&wu(n)!==Yl)}(t,n,r)){const s=new fc(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&&wu(i)!==Yl){const n=new fc([],{});n._sourceSegment=t,n._segmentIndexShift=e.length,s[wu(i)]=n}return s}(t,e,r,new fc(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=>Tu(t,e,n))}(t,n,r)){const i=new fc(t.segments,function(t,e,n,r,s,i){const o={};for(const a of r)if(Tu(t,n,a)&&!s[wu(a)]){const n=new fc([],{});n._sourceSegment=t,n._segmentIndexShift="legacy"===i?t.segments.length:e.length,o[wu(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 fc(t.segments,t.children);return i._sourceSegment=t,i._segmentIndexShift=e.length,{segmentGroup:i,slicedSegments:n}}function Tu(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path}function Eu(t,e,n,r){return!!(wu(t)===r||r!==Yl&&Tu(e,n,t))&&("**"===t.path||Su(e,t,n).matched)}function ku(t,e,n){return 0===e.length&&!t.children[n]}class Ou{constructor(t){this.segmentGroup=t||null}}class Au{constructor(t){this.urlTree=t}}function Iu(t){return new y(e=>e.error(new Ou(t)))}function Ru(t){return new y(e=>e.error(new Au(t)))}function Pu(t){return new y(e=>e.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${t}'`)))}class ju{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(_i)}apply(){const t=Cu(this.urlTree.root,[],[],this.config).segmentGroup,e=new fc(t.segments,t.children);return this.expandSegmentGroup(this.ngModule,this.config,e,Yl).pipe(E(t=>this.createUrlTree(Mu(t),this.urlTree.queryParams,this.urlTree.fragment))).pipe(dl(t=>{if(t instanceof Au)return this.allowRedirects=!1,this.match(t.urlTree);if(t instanceof Ou)throw this.noMatchError(t);throw t}))}match(t){return this.expandSegmentGroup(this.ngModule,this.config,t.root,Yl).pipe(E(e=>this.createUrlTree(Mu(e),t.queryParams,t.fragment))).pipe(dl(t=>{if(t instanceof Ou)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 fc([],{[Yl]:t}):t;return new pc(r,e,n)}expandSegmentGroup(t,e,n,r){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(t,e,n).pipe(E(t=>new fc([],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 D(r).pipe(gl(r=>{const s=n.children[r],i=bu(e,r);return this.expandSegmentGroup(t,i,s,r).pipe(E(t=>({segment:t,outlet:r})))}),ol((t,e)=>(t[e.outlet]=e.segment,t),{}),function(t,e){const n=arguments.length>=2;return r=>r.pipe(t?cl((e,n)=>t(e,n,r)):v,ml(1),n?Sl(e):_l(()=>new Za))}())}expandSegment(t,e,n,r,s,i){return D(n).pipe(gl(o=>this.expandSegmentAgainstRoute(t,e,n,o,r,s,i).pipe(dl(t=>{if(t instanceof Ou)return Fa(null);throw t}))),El(t=>!!t),dl((t,n)=>{if(t instanceof Za||"EmptyError"===t.name){if(ku(e,r,s))return Fa(new fc([],{}));throw new Ou(e)}throw t}))}expandSegmentAgainstRoute(t,e,n,r,s,i,o){return Eu(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):Iu(e):Iu(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("/")?Ru(s):this.lineralizeSegments(n,s).pipe(F(n=>{const s=new fc(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:c}=Su(e,r,s);if(!o)return Iu(e);const u=this.applyRedirectCommands(a,r.redirectTo,c);return r.redirectTo.startsWith("/")?Ru(u):this.lineralizeSegments(r,u).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?Fa(n._loadedConfig):this.configLoader.load(t.injector,n)).pipe(E(t=>(n._loadedConfig=t,new fc(r,{})))):Fa(new fc(r,{}));const{matched:i,consumedSegments:o,lastChild:a}=Su(e,n,r);if(!i)return Iu(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:c}=Cu(e,o,l,i),u=new fc(a.segments,a.children);if(0===c.length&&u.hasChildren())return this.expandChildren(r,i,u).pipe(E(t=>new fc(o,t)));if(0===i.length&&0===c.length)return Fa(new fc(o,{}));const h=wu(n)===s;return this.expandSegment(r,u,i,c,h?Yl:s,!0).pipe(E(t=>new fc(o.concat(t.segments),t.children)))}))}getChildConfig(t,e,n){return e.children?Fa(new uu(e.children,t)):e.loadChildren?void 0!==e._loadedConfig?Fa(e._loadedConfig):this.runCanLoadGuards(t.injector,e,n).pipe(F(n=>n?this.configLoader.load(t.injector,e).pipe(E(t=>(e._loadedConfig=t,t))):function(t){return new y(e=>e.error(Xl(`Cannot load children because the guard of the route "path: '${t.path}'" returned false`)))}(e))):Fa(new uu([],t))}runCanLoadGuards(t,e,n){const r=e.canLoad;return r&&0!==r.length?Fa(r.map(r=>{const s=t.get(r);let i;if(function(t){return t&&hu(t.canLoad)}(s))i=s.canLoad(e,n);else{if(!hu(s))throw new Error("Invalid CanLoad guard");i=s(e,n)}return oc(i)})).pipe(fu(),Ol(t=>{if(!du(t))return;const e=Xl(`Redirecting to "${this.urlSerializer.serialize(t)}"`);throw e.url=t,e}),E(t=>!0===t)):Fa(!0)}lineralizeSegments(t,e){let n=[],r=e.root;for(;;){if(n=n.concat(r.segments),0===r.numberOfChildren)return Fa(n);if(r.numberOfChildren>1||!r.children.primary)return Pu(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 pc(s,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(t,e){const n={};return ic(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 ic(e.children,(e,s)=>{i[s]=this.createSegmentGroup(t,e,n,r)}),new fc(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 Mu(t){const e={};for(const n of Object.keys(t.children)){const r=Mu(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 fc(t.segments.concat(e.segments),e.children)}return t}(new fc(t.segments,e))}class Nu{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class Du{constructor(t,e){this.component=t,this.route=e}}function Uu(t,e,n){const r=t._root;return Hu(r,e?e._root:null,n,[r.value])}function Lu(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 Hu(t,e,n,r,s={canDeactivateChecks:[],canActivateChecks:[]}){const i=Uc(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!mc(t.url,e.url);case"pathParamsOrQueryParamsChange":return!mc(t.url,e.url)||!ec(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Gc(t,e)||!ec(t.queryParams,e.queryParams);case"paramsChange":default:return!Gc(t,e)}}(o,i,i.routeConfig.runGuardsAndResolvers);l?s.canActivateChecks.push(new Nu(r)):(i.data=o.data,i._resolvedData=o._resolvedData),Hu(t,e,i.component?a?a.children:null:n,r,s),l&&a&&a.outlet&&a.outlet.isActivated&&s.canDeactivateChecks.push(new Du(a.outlet.component,o))}else o&&Fu(e,a,s),s.canActivateChecks.push(new Nu(r)),Hu(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]}),ic(i,(t,e)=>Fu(t,n.getContext(e),s)),s}function Fu(t,e,n){const r=Uc(t),s=t.value;ic(r,(t,r)=>{Fu(t,s.component?e?e.children.getContext(r):null:e,n)}),n.canDeactivateChecks.push(new Du(s.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,s))}class $u{}function Vu(t){return new y(e=>e.error(t))}class zu{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=Cu(this.urlTree.root,[],[],this.config.filter(t=>void 0===t.redirectTo),this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,t,Yl);if(null===e)return null;const n=new Vc([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},Yl,this.rootComponentType,null,this.urlTree.root,-1,{}),r=new Dc(n,e),s=new zc(this.url,r);return this.inheritParamsAndData(s._root),s}inheritParamsAndData(t){const e=t.value,n=$c(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=bu(t,s),o=this.processSegmentGroup(i,r,s);if(null===o)return null;n.push(...o)}const r=qu(n);return r.sort((t,e)=>t.value.outlet===Yl?-1:e.value.outlet===Yl?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 ku(e,n,r)?[]:null}processSegmentAgainstRoute(t,e,n,r){if(t.redirectTo||!Eu(t,e,n,r))return null;let s,i=[],o=[];if("**"===t.path){const r=n.length>0?sc(n).parameters:{};s=new Vc(n,r,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Zu(t),wu(t),t.component,t,Wu(e),Gu(e)+n.length,Qu(t))}else{const r=Su(e,t,n);if(!r.matched)return null;i=r.consumedSegments,o=n.slice(r.lastChild),s=new Vc(i,r.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Zu(t),wu(t),t.component,t,Wu(e),Gu(e)+i.length,Qu(t))}const a=function(t){return t.children?t.children:t.loadChildren?t._loadedConfig.routes:[]}(t),{segmentGroup:l,slicedSegments:c}=Cu(e,i,o,a.filter(t=>void 0===t.redirectTo),this.relativeLinkResolution);if(0===c.length&&l.hasChildren()){const t=this.processChildren(a,l);return null===t?null:[new Dc(s,t)]}if(0===a.length&&0===c.length)return[new Dc(s,[])];const u=wu(t)===r,h=this.processSegment(a,l,c,u?Yl:r);return null===h?null:[new Dc(s,h)]}}function Bu(t){const e=t.value.routeConfig;return e&&""===e.path&&void 0===e.redirectTo}function qu(t){const e=[],n=new Set;for(const r of t){if(!Bu(r)){e.push(r);continue}const t=e.find(t=>r.value.routeConfig===t.value.routeConfig);void 0!==t?(t.children.push(...r.children),n.add(t)):e.push(r)}for(const r of n){const t=qu(r.children);e.push(new Dc(r.value,t))}return e.filter(t=>!n.has(t))}function Wu(t){let e=t;for(;e._sourceSegment;)e=e._sourceSegment;return e}function Gu(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 Zu(t){return t.data||{}}function Qu(t){return t.resolve||{}}function Yu(t){return Xa(e=>{const n=t(e);return n?D(n).pipe(E(()=>e)):Fa(e)})}class Ju 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 Ku=new _n("ROUTES");class Xu{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(E(n=>{this.onLoadEndListener&&this.onLoadEndListener(e);const r=n.create(t);return new uu(rc(r.injector.get(Ku,void 0,mt.Self|mt.Optional)).map(_u),r)}),dl(t=>{throw e._loader$=void 0,t}));return e._loader$=new Z(n,()=>new S).pipe(q()),e._loader$}loadModuleFactory(t){return"string"==typeof t?D(this.loader.load(t)):oc(t()).pipe(F(t=>t instanceof wi?Fa(t):D(this.compiler.compileModuleAsync(t))))}}class th{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new eh,this.attachRef=null}}class eh{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 th,this.contexts.set(t,e)),e}getContext(t){return this.contexts.get(t)||null}}class nh{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,e){return t}}function rh(t){throw t}function sh(t,e,n){return e.parse("/")}function ih(t,e){return Fa(null)}const oh={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},ah={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let lh=(()=>{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=rh,this.malformedUriErrorHandler=sh,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:ih,afterPreactivation:ih},this.urlHandlingStrategy=new nh,this.routeReuseStrategy=new Ju,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.ngModule=s.get(_i),this.console=s.get(Wi);const l=s.get(io);this.isNgZoneEnabled=l instanceof io&&io.isInAngularZone(),this.resetConfig(a),this.currentUrlTree=new pc(new fc([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new Xu(i,o,t=>this.triggerEvent(new zl(t)),t=>this.triggerEvent(new Bl(t))),this.routerState=Hc(this.currentUrlTree,this.rootComponentType),this.transitions=new $a({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(cl(t=>0!==t.id),E(t=>Object.assign(Object.assign({},t),{extractedUrl:this.urlHandlingStrategy.extract(t.rawUrl)})),Xa(t=>{let n=!1,r=!1;return Fa(t).pipe(Ol(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}}),Xa(t=>{const n=!this.navigated||t.extractedUrl.toString()!==this.browserUrlTree.toString();if(("reload"===this.onSameUrlNavigation||n)&&this.urlHandlingStrategy.shouldProcessUrl(t.rawUrl))return Fa(t).pipe(Xa(t=>{const n=this.transitions.getValue();return e.next(new Ml(t.id,this.serializeUrl(t.extractedUrl),t.source,t.restoredState)),n!==this.transitions.getValue()?Ya:Promise.resolve(t)}),function(t,e,n,r){return Xa(s=>function(t,e,n,r,s){return new ju(t,e,n,r,s).apply()}(t,e,n,s.extractedUrl,r).pipe(E(t=>Object.assign(Object.assign({},s),{urlAfterRedirects:t}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),Ol(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 zu(t,e,n,r,s,i).recognize();return null===o?Vu(new $u):Fa(o)}catch(o){return Vu(o)}}(t,e,i.urlAfterRedirects,n(i.urlAfterRedirects),r,s).pipe(E(t=>Object.assign(Object.assign({},i),{targetSnapshot:t}))))}(this.rootComponentType,this.config,t=>this.serializeUrl(t),this.paramsInheritanceStrategy,this.relativeLinkResolution),Ol(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 Ll(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.next(n)}));if(n&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:n,extractedUrl:r,source:s,restoredState:i,extras:o}=t,a=new Ml(n,this.serializeUrl(r),s,i);e.next(a);const l=Hc(r,this.rootComponentType).snapshot;return Fa(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),Ya}),Yu(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})}),Ol(t=>{const e=new Hl(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}),E(t=>Object.assign(Object.assign({},t),{guards:Uu(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?Fa(Object.assign(Object.assign({},n),{guardsResult:!0})):function(t,e,n,r){return D(t).pipe(F(t=>function(t,e,n,r,s){const i=e&&e.routeConfig?e.routeConfig.canDeactivate:null;return i&&0!==i.length?Fa(i.map(i=>{const o=Lu(i,e,s);let a;if(function(t){return t&&hu(t.canDeactivate)}(o))a=oc(o.canDeactivate(t,e,n,r));else{if(!hu(o))throw new Error("Invalid CanDeactivate guard");a=oc(o(t,e,n,r))}return a.pipe(El())})).pipe(fu()):Fa(!0)}(t.component,t.route,n,e,r)),El(t=>!0!==t,!0))}(o,r,s,t).pipe(F(n=>n&&"boolean"==typeof n?function(t,e,n,r){return D(e).pipe(gl(e=>Qa(function(t,e){return null!==t&&e&&e(new ql(t)),Fa(!0)}(e.route.parent,r),function(t,e){return null!==t&&e&&e(new Gl(t)),Fa(!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=>Ka(()=>Fa(e.guards.map(s=>{const i=Lu(s,e.node,n);let o;if(function(t){return t&&hu(t.canActivateChild)}(i))o=oc(i.canActivateChild(r,t));else{if(!hu(i))throw new Error("Invalid CanActivateChild guard");o=oc(i(r,t))}return o.pipe(El())})).pipe(fu())));return Fa(s).pipe(fu())}(t,e.path,n),function(t,e,n){const r=e.routeConfig?e.routeConfig.canActivate:null;return r&&0!==r.length?Fa(r.map(r=>Ka(()=>{const s=Lu(r,e,n);let i;if(function(t){return t&&hu(t.canActivate)}(s))i=oc(s.canActivate(e,t));else{if(!hu(s))throw new Error("Invalid CanActivate guard");i=oc(s(e,t))}return i.pipe(El())}))).pipe(fu()):Fa(!0)}(t,e.route,n))),El(t=>!0!==t,!0))}(r,i,t,e):Fa(n)),E(t=>Object.assign(Object.assign({},n),{guardsResult:t})))})}(this.ngModule.injector,t=>this.triggerEvent(t)),Ol(t=>{if(du(t.guardsResult)){const e=Xl(`Redirecting to "${this.serializeUrl(t.guardsResult)}"`);throw e.url=t.guardsResult,e}const e=new Fl(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot,!!t.guardsResult);this.triggerEvent(e)}),cl(t=>{if(!t.guardsResult){this.resetUrlToCurrentUrlTree();const n=new Dl(t.id,this.serializeUrl(t.extractedUrl),"");return e.next(n),t.resolve(!1),!1}return!0}),Yu(t=>{if(t.guards.canActivateChecks.length)return Fa(t).pipe(Ol(t=>{const e=new $l(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}),Xa(t=>{let n=!1;return Fa(t).pipe((r=this.paramsInheritanceStrategy,s=this.ngModule.injector,F(t=>{const{targetSnapshot:e,guards:{canActivateChecks:n}}=t;if(!n.length)return Fa(t);let i=0;return D(n).pipe(gl(t=>function(t,e,n,r){return function(t,e,n,r){const s=Object.keys(t);if(0===s.length)return Fa({});const i={};return D(s).pipe(F(s=>function(t,e,n,r){const s=Lu(t,e,r);return oc(s.resolve?s.resolve(e,n):s(e,n))}(t[s],e,n,r).pipe(Ol(t=>{i[s]=t}))),ml(1),F(()=>Object.keys(i).length===s.length?Fa(i):Ya))}(t._resolve,t,e,r).pipe(E(e=>(t._resolvedData=e,t.data=Object.assign(Object.assign({},t.data),$c(t,n).resolve),null)))}(t.route,e,r,s)),Ol(()=>i++),ml(1),F(e=>i===n.length?Fa(t):Ya))})),Ol({next:()=>n=!0,complete:()=>{if(!n){const n=new Dl(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}),Ol(t=>{const e=new Vl(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}))}),Yu(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})}),E(t=>{const e=function(t,e,n){const r=Zc(t,e._root,n?n._root:void 0);return new Lc(r,e)}(this.routeReuseStrategy,t.targetSnapshot,t.currentRouterState);return Object.assign(Object.assign({},t),{targetRouterState:e})}),Ol(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),E(t=>(new lu(o,t.targetRouterState,t.currentRouterState,a).activate(i),t))),Ol({next(){n=!0},complete(){n=!0}}),(s=()=>{if(!n&&!r){this.resetUrlToCurrentUrlTree();const n=new Dl(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 Rl(s))),dl(n=>{if(r=!0,(s=n)&&s.ngNavigationCancelingError){const r=du(n.url);r||(this.navigated=!0,this.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl));const s=new Dl(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 Ul(t.id,this.serializeUrl(t.extractedUrl),n);e.next(r);try{t.resolve(this.errorHandler(n))}catch(i){t.reject(i)}}var s;return Ya}));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){mu(t),this.config=t.map(_u),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 c=null;switch(i){case"merge":c=Object.assign(Object.assign({},this.currentUrlTree.queryParams),r);break;case"preserve":c=this.currentUrlTree.queryParams;break;default:c=r||null}return null!==c&&(c=this.removeEmptyProps(c)),function(t,e,n,r,s){if(0===n.length)return Kc(e.root,e.root,e,r,s);const i=function(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new tu(!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 ic(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 tu(n,e,r)}(n);if(i.toRoot())return Kc(e.root,new fc([],{}),e,r,s);const o=function(t,e,n){if(t.isAbsolute)return new eu(e.root,!0,0);if(-1===n.snapshot._lastPathIndex){const t=n.snapshot._urlSegment;return new eu(t,t===e.root,0)}const r=Yc(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 eu(r,!1,s-i)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+r,t.numberOfDoubleDots)}(i,e,t),a=o.processChildren?ru(o.segmentGroup,o.index,i.commands):nu(o.segmentGroup,o.index,i.commands);return Kc(o.segmentGroup,a,e,r,s)}(a,this.currentUrlTree,t,c,null!=l?l:null)}navigateByUrl(t,e={skipLocationChange:!1}){const n=du(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 Nl(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,c,u;s?(l=s.resolve,c=s.reject,u=s.promise):u=new Promise((t,e)=>{l=t,c=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:c,promise:u,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),u.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)(Pn(bn),Pn(vc),Pn(eh),Pn(Xo),Pn(ys),Pn(Oo),Pn(no),Pn(void 0))},t.\u0275prov=at({token:t,factory:t.\u0275fac}),t})(),ch=(()=>{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 Ui,this.deactivateEvents=new Ui,this.name=r||Yl,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 uh(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)(Cs(eh),Cs(xi),Cs(Vs),("name",function(t,e){const n=t.attrs;if(n){const t=n.length;let r=0;for(;r{class t{constructor(t,e,n,r,s){this.router=t,this.injector=r,this.preloadingStrategy=s,this.loader=new Xu(e,n,e=>t.triggerEvent(new zl(e)),e=>t.triggerEvent(new Bl(e)))}setUpPreloading(){this.subscription=this.router.events.pipe(cl(t=>t instanceof Nl),gl(()=>this.preload())).subscribe(()=>{})}preload(){const t=this.injector.get(_i);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 D(n).pipe(z(),E(t=>{}))}preloadConfig(t,e){return this.preloadingStrategy.preload(e,()=>(e._loadedConfig?Fa(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)(Pn(lh),Pn(Oo),Pn(no),Pn(ys),Pn(hh))},t.\u0275prov=at({token:t,factory:t.\u0275fac}),t})(),fh=(()=>{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 Ml?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof Nl&&(this.lastId=t.id,this.scheduleScrollEvent(t,this.router.parseUrl(t.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(t=>{t instanceof Ql&&(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 Ql(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)(Pn(lh),Pn(oa),Pn(void 0))},t.\u0275prov=at({token:t,factory:t.\u0275fac}),t})();const gh=new _n("ROUTER_CONFIGURATION"),mh=new _n("ROUTER_FORROOT_GUARD"),vh=[Xo,{provide:vc,useClass:yc},{provide:lh,useFactory:function(t,e,n,r,s,i,o,a={},l,c){const u=new lh(null,t,e,n,r,s,i,rc(o));return l&&(u.urlHandlingStrategy=l),c&&(u.routeReuseStrategy=c),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,u),a.enableTracing&&u.events.subscribe(t=>{var e,n;null===(e=console.group)||void 0===e||e.call(console,`Router Event: ${t.constructor.name}`),console.log(t.toString()),console.log(t),null===(n=console.groupEnd)||void 0===n||n.call(console)}),u},deps:[vc,eh,Xo,ys,Oo,no,Ku,gh,[class{},new Dn],[class{},new Dn]]},eh,{provide:Fc,useFactory:function(t){return t.routerState.root},deps:[lh]},{provide:Oo,useClass:Ro},ph,dh,class{preload(t,e){return e().pipe(dl(()=>Fa(null)))}},{provide:gh,useValue:{enableTracing:!1}}];function yh(){return new bo("Router",lh)}let _h=(()=>{class t{constructor(t,e){}static forRoot(e,n){return{ngModule:t,providers:[vh,Sh(e),{provide:mh,useFactory:xh,deps:[[lh,new Dn,new Un]]},{provide:gh,useValue:n||{}},{provide:Zo,useFactory:bh,deps:[Ho,[new Nn(Yo),new Dn],gh]},{provide:fh,useFactory:wh,deps:[lh,oa,gh]},{provide:hh,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:dh},{provide:bo,multi:!0,useFactory:yh},[Ch,{provide:Li,multi:!0,useFactory:Th,deps:[Ch]},{provide:kh,useFactory:Eh,deps:[Ch]},{provide:qi,multi:!0,useExisting:kh}]]}}static forChild(e){return{ngModule:t,providers:[Sh(e)]}}}return t.\u0275fac=function(e){return new(e||t)(Pn(mh,8),Pn(lh,8))},t.\u0275mod=Vt({type:t}),t.\u0275inj=lt({}),t})();function wh(t,e,n){return n.scrollOffset&&e.setOffset(n.scrollOffset),new fh(t,e,n)}function bh(t,e,n={}){return n.useHash?new Ko(t,e):new Jo(t,e)}function xh(t){return"guarded"}function Sh(t){return[{provide:wn,multi:!0,useValue:t},{provide:Ku,multi:!0,useValue:t}]}let Ch=(()=>{class t{constructor(t){this.injector=t,this.initNavigation=!1,this.resultOfPreactivationDone=new S}appInitializer(){return this.injector.get($o,Promise.resolve(null)).then(()=>{let t=null;const e=new Promise(e=>t=e),n=this.injector.get(lh),r=this.injector.get(gh);return"disabled"===r.initialNavigation?(n.setUpLocationChangeListener(),t(!0)):"enabled"===r.initialNavigation||"enabledBlocking"===r.initialNavigation?(n.hooks.afterPreactivation=()=>this.initNavigation?Fa(null):(this.initNavigation=!0,t(!0),this.resultOfPreactivationDone),n.initialNavigation()):t(!0),e})}bootstrapListener(t){const e=this.injector.get(gh),n=this.injector.get(ph),r=this.injector.get(fh),s=this.injector.get(lh),i=this.injector.get(Eo);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)(Pn(ys))},t.\u0275prov=at({token:t,factory:t.\u0275fac}),t})();function Th(t){return t.appInitializer.bind(t)}function Eh(t){return t.bootstrapListener.bind(t)}const kh=new _n("Router Initializer"),Oh=new y(kl);class Ah extends h{constructor(t,e){super()}schedule(t,e=0){return this}}class Ih extends Ah{constructor(t,e){super(t,e),this.scheduler=t,this.work=e,this.pending=!1}schedule(t,e=0){if(this.closed)return this;this.state=t;const n=this.id,r=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(r,n,e)),this.pending=!0,this.delay=e,this.id=this.id||this.requestAsyncId(r,this.id,e),this}requestAsyncId(t,e,n=0){return setInterval(t.flush.bind(t,this),n)}recycleAsyncId(t,e,n=0){if(null!==n&&this.delay===n&&!1===this.pending)return e;clearInterval(e)}execute(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const n=this._execute(t,e);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,e){let n,r=!1;try{this.work(t)}catch(s){r=!0,n=!!s&&s||new Error(s)}if(r)return this.unsubscribe(),n}_unsubscribe(){const t=this.id,e=this.scheduler,n=e.actions,r=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==r&&n.splice(r,1),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null}}class Rh extends Ih{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}schedule(t,e=0){return e>0?super.schedule(t,e):(this.delay=e,this.state=t,this.scheduler.flush(this),this)}execute(t,e){return e>0||this.closed?super.execute(t,e):this._execute(t,e)}requestAsyncId(t,e,n=0){return null!==n&&n>0||null===n&&this.delay>0?super.requestAsyncId(t,e,n):t.flush(this)}}let Ph=(()=>{class t{constructor(e,n=t.now){this.SchedulerAction=e,this.now=n}schedule(t,e=0,n){return new this.SchedulerAction(this,t).schedule(n,e)}}return t.now=()=>Date.now(),t})();class jh extends Ph{constructor(t,e=Ph.now){super(t,()=>jh.delegate&&jh.delegate!==this?jh.delegate.now():e()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(t,e=0,n){return jh.delegate&&jh.delegate!==this?jh.delegate.schedule(t,e,n):super.schedule(t,e,n)}flush(t){const{actions:e}=this;if(this.active)return void e.push(t);let n;this.active=!0;do{if(n=t.execute(t.state,t.delay))break}while(t=e.shift());if(this.active=!1,n){for(;t=e.shift();)t.unsubscribe();throw n}}}class Mh extends jh{}const Nh=new Mh(Rh);let Dh=(()=>{class t{constructor(t,e,n){this.kind=t,this.value=e,this.error=n,this.hasValue="N"===t}observe(t){switch(this.kind){case"N":return t.next&&t.next(this.value);case"E":return t.error&&t.error(this.error);case"C":return t.complete&&t.complete()}}do(t,e,n){switch(this.kind){case"N":return t&&t(this.value);case"E":return e&&e(this.error);case"C":return n&&n()}}accept(t,e,n){return t&&"function"==typeof t.next?this.observe(t):this.do(t,e,n)}toObservable(){switch(this.kind){case"N":return Fa(this.value);case"E":return t=this.error,new y(e=>e.error(t));case"C":return Ja()}var t;throw new Error("unexpected notification kind value")}static createNext(e){return void 0!==e?new t("N",e):t.undefinedValueNotification}static createError(e){return new t("E",void 0,e)}static createComplete(){return t.completeNotification}}return t.completeNotification=new t("C"),t.undefinedValueNotification=new t("N",void 0),t})();class Uh extends f{constructor(t,e,n=0){super(t),this.scheduler=e,this.delay=n}static dispatch(t){const{notification:e,destination:n}=t;e.observe(n),this.unsubscribe()}scheduleMessage(t){this.destination.add(this.scheduler.schedule(Uh.dispatch,this.delay,new Lh(t,this.destination)))}_next(t){this.scheduleMessage(Dh.createNext(t))}_error(t){this.scheduleMessage(Dh.createError(t)),this.unsubscribe()}_complete(){this.scheduleMessage(Dh.createComplete()),this.unsubscribe()}}class Lh{constructor(t,e){this.notification=t,this.destination=e}}class Hh extends S{constructor(t=Number.POSITIVE_INFINITY,e=Number.POSITIVE_INFINITY,n){super(),this.scheduler=n,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=t<1?1:t,this._windowTime=e<1?1:e,e===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(t){if(!this.isStopped){const e=this._events;e.push(t),e.length>this._bufferSize&&e.shift()}super.next(t)}nextTimeWindow(t){this.isStopped||(this._events.push(new Fh(this._getNow(),t)),this._trimBufferThenGetEvents()),super.next(t)}_subscribe(t){const e=this._infiniteTimeWindow,n=e?this._events:this._trimBufferThenGetEvents(),r=this.scheduler,s=n.length;let i;if(this.closed)throw new w;if(this.isStopped||this.hasError?i=h.EMPTY:(this.observers.push(t),i=new b(this,t)),r&&t.add(t=new Uh(t,r)),e)for(let o=0;oe&&(i=Math.max(i,s-e)),i>0&&r.splice(0,i),r}}class Fh{constructor(t,e){this.time=t,this.value=e}}function $h(...t){const e=t.length;if(0===e)throw new Error("list of properties cannot be empty.");return n=>E(function(t,e){return n=>{let r=n;for(let s=0;sBh}),Wh=t=>(t.includes("#")&&(t=t.split("#")[0]),t.includes("?")&&(t=t.split("?")[0]),t.endsWith("/")?t.slice(0,-1):t);function Gh(t,e="json"){return new Promise((n,r)=>{const s=new XMLHttpRequest;s.responseType=e,s.addEventListener("load",t=>{if(200!==s.status)return r(s);n(s.response)}),s.addEventListener("error",(...t)=>r(t)),s.open("get",t,!0),s.send()})}const Zh=()=>window&&"running"===window.ScullyIO,Qh=()=>window&&"generated"===window.ScullyIO;function Yh(t,e){return t.endsWith("/")&&e.startsWith("/")?`${t}${e.substr(1)}`:t.endsWith("/")||e.startsWith("/")?`${t}${e}`:`${t}/${e}`}const Jh="ScullyIO-transfer-state",Kh="/** ___SCULLY_STATE_START___ */",Xh="/** ___SCULLY_STATE_END___ */";let td=(()=>{class t{constructor(t,e){this.document=t,this.router=e,this.inlineOnly=!1,this.currentBaseUrl="//",this.stateBS=new $a({}),this.state$=this.stateBS.pipe(cl(t=>void 0!==t)),this.nextUrl=this.router.events.pipe(cl(t=>t instanceof Ml),Xa(t=>Wh(this.initialUrl)===Wh(t.url)?(this.initialUrl="__done__with__Initial__navigation__",Oh):Fa(t)),Ol(()=>this.stateBS.next(void 0)),Xa(t=>this.router.events.pipe(cl(e=>e instanceof Nl&&e.url===t.url),El())),E(t=>Wh(t.urlAfterRedirects||t.url)),function(t,e,n){let r;return r={bufferSize:1,windowTime:void 0,refCount:!1,scheduler:void 0},t=>t.lift(function({bufferSize:t=Number.POSITIVE_INFINITY,windowTime:e=Number.POSITIVE_INFINITY,refCount:n,scheduler:r}){let s,i,o=0,a=!1,l=!1;return function(c){let u;o++,!s||a?(a=!1,s=new Hh(t,e,r),u=s.subscribe(this),i=c.subscribe({next(t){s.next(t)},error(t){a=!0,s.error(t)},complete(){l=!0,i=void 0,s.complete()}}),l&&(i=void 0)):u=s.subscribe(this),this.add(()=>{o--,u.unsubscribe(),u=void 0,i&&!l&&n&&0===o&&(i.unsubscribe(),i=void 0,s=void 0)})}}(r))}())}startMonitoring(){window&&window["ScullyIO-injected"]&&window["ScullyIO-injected"].inlineStateOnly&&(this.inlineOnly=!0),this.setupEnvForTransferState(),this.setupStartNavMonitoring()}setupEnvForTransferState(){if(Zh()){this.injectScript();const t=window["ScullyIO-exposed"]||{};t.transferState&&(this.stateBS.next(t.transferState),this.saveState(t.transferState))}else Qh()&&(this.initialUrl=window.location.pathname||"__no_NO_no__",this.initialUrl="/"!==this.initialUrl&&this.initialUrl.endsWith("/")?this.initialUrl.slice(0,-1):this.initialUrl,this.stateBS.next(window&&window[Jh]||{}))}injectScript(){this.script=this.document.createElement("script"),this.script.setAttribute("id",Jh);let t=document.body.lastChild;for(;"SCRIPT"===t.previousSibling.nodeName;)t=t.previousSibling;document.body.insertBefore(this.script,t)}getState(t){return this.fetchTransferState(),this.state$.pipe($h(t))}stateHasKey(t){return this.stateBS.value&&this.stateBS.value.hasOwnProperty(t)}stateKeyHasValue(t){return this.stateBS.value&&this.stateBS.value.hasOwnProperty(t)&&null!=this.stateBS.value[t]}setState(t,e){const n=Object.assign(Object.assign({},this.stateBS.value),{[t]:e});this.stateBS.next(n),this.saveState(n)}saveState(t){Zh()&&(this.script.textContent=`{window['${Jh}']=_u(\`${Kh}${function(t){const e={"'":"_~q~",$:"_~o~","`":"_~b~","/":"_~s~","<":"_~l~",">":"_~g~"};return t.replace(/[\$`'<>\/]/g,t=>e[t]).replace(/\\\"/g,"_~d~")}(JSON.stringify(t))}${Xh}\`);function _u(t){t=t.split('${Kh}')[1].split('${Xh}')[0];const u={'_~b~': "\`",'_~q~': "'",'_~o~': '$','_~s~': '/','_~l~': '<','_~g~': '>'};return JSON.parse(t.replace(/_~d~/g,'\\\\"').replace(/_~[^]~/g, (s) => u[s]).replace(/\\n/g,'\\\\n').replace(/\\t/g,'\\\\t').replace(/\\r/g,'\\\\r'));}}`)}setupStartNavMonitoring(){Qh()&&this.nextUrl.subscribe()}useScullyTransferState(t,e){return Qh()?this.getState(t):e.pipe(Ol(e=>this.setState(t,e)))}fetchTransferState(){return Ha(this,void 0,void 0,function*(){const t=t=>t.split("/").filter(t=>""!==t.trim())[0];yield new Promise(t=>setTimeout(t,0));const e=yield this.nextUrl.pipe(rl(1)).toPromise(),n=t(e);this.currentBaseUrl!==n&&(this.currentBaseUrl=n,this.nextUrl.pipe(function(t,e=!1){return n=>n.lift(new Vh(t,e))}(e=>t(e)===this.currentBaseUrl),Xa(t=>this.inlineOnly?this.readFromIndex(t):this.readFromJson(t)),dl(t=>(console.warn("Error while loading of parsing Scully state:",t),Fa({}))),Ol(t=>{this.stateBS.next(t)})).subscribe({complete:()=>{this.currentBaseUrl="//"}}))})}readFromJson(t){return Gh(ed(Yh(t,"/data.json")))}readFromIndex(t){return Gh(ed(Yh(t,"/index.html")),"text").then(t=>{const e=t.split(Kh)[1].split(Xh)[0];return JSON.parse(function(t){const e={"_~q~":"'","_~b~":"`","_~o~":"$","_~s~":"/","_~l~":"<","_~g~":">"};return t.replace(/_~d~/g,'\\"').replace(/_~[^]~/g,t=>e[t]).replace(/\n/g,"\\n").replace(/\r/g,"\\r")}(e))})}}return t.\u0275fac=function(e){return new(e||t)(Pn(Lo),Pn(lh))},t.\u0275prov=at({factory:function(){return new t(Pn(Lo),Pn(lh))},token:t,providedIn:"root"}),t})();function ed(t){return t.startsWith("/")?t.slice(1):t}let nd=(()=>{class t{constructor(t,e,n,r){var s;this.zone=t,this.router=e,this.initialUrl=((s=window&&window.location&&window.location.pathname).endsWith("/")?s.slice(0,-1):s)||"",this.imState=new $a({idle:!1,timeOut:5e3}),this.idle$=this.imState.pipe($h("idle")),this.initApp=new Event("AngularInitialized",{bubbles:!0,cancelable:!1}),this.appReady=new Event("AngularReady",{bubbles:!0,cancelable:!1}),this.appTimeout=new Event("AngularTimeout",{bubbles:!0,cancelable:!1}),this.scullyLibConfig=Object.assign({},Bh,n);const i=!!(window["ScullyIO-exposed"]||{}).manualIdle;!this.scullyLibConfig.manualIdle&&window&&(this.scullyLibConfig.alwaysMonitor||Zh())&&(window.dispatchEvent(this.initApp),this.router.events.pipe(cl(t=>t instanceof Nl&&void 0!==t.urlAfterRedirects),cl(t=>!i||t.urlAfterRedirects!==this.initialUrl),Ol(()=>this.zoneIdleCheck())).subscribe()),this.scullyLibConfig.manualIdle&&window.dispatchEvent(this.initApp),this.scullyLibConfig.useTransferState&&r.startMonitoring()}fireManualMyAppReadyEvent(){return Ha(this,void 0,void 0,function*(){return window.dispatchEvent(this.appReady)})}init(){return Ha(this,void 0,void 0,function*(){return this.idle$.pipe(rl(1)).toPromise()})}zoneIdleCheck(){return Ha(this,void 0,void 0,function*(){if(void 0===Zone)return this.simpleTimeout();const t=Zone.current.get("TaskTrackingZone");if(void 0===t)return this.simpleTimeout();this.imState.value.idle&&(yield this.setState("idle",!1)),this.zone.runOutsideAngular(()=>{let e,n=0;const r=Date.now(),s=()=>{clearTimeout(e),Date.now()-r>3e4?window.dispatchEvent(this.appTimeout):t.macroTasks.length>0&&void 0!==t.macroTasks.find(t=>t.source.includes("XMLHttpRequest"))||n<1?e=setTimeout(()=>{n+=1,s()},50):this.zone.run(()=>{setTimeout(()=>{window.dispatchEvent(this.appReady),this.setState("idle",!0)},250)})};s()})})}simpleTimeout(){return Ha(this,void 0,void 0,function*(){console.warn("Scully is using timeouts, add the needed polyfills instead!"),yield new Promise(t=>setTimeout(t,this.imState.value.timeOut)),window.dispatchEvent(this.appReady)})}setPupeteerTimeoutValue(t){this.imState.next(Object.assign(Object.assign({},this.imState.value),{timeOut:t}))}setState(t,e){this.imState.next(Object.assign(Object.assign({},this.imState.value),{[t]:e}))}}return t.\u0275fac=function(e){return new(e||t)(Pn(io),Pn(lh),Pn(qh),Pn(td))},t.\u0275prov=at({factory:function(){return new t(Pn(io),Pn(lh),Pn(qh),Pn(td))},token:t,providedIn:"root"}),t})(),rd=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=lt({}),t})(),sd=(()=>{class t{constructor(t){this.idle=t}static forRoot(e=Bh){return e=Object.assign({},Bh,e),{ngModule:t,providers:[{provide:qh,useValue:e}]}}}return t.\u0275fac=function(e){return new(e||t)(Pn(nd))},t.\u0275mod=Vt({type:t}),t.\u0275inj=lt({imports:[[rd],rd]}),t})(),id=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=lt({imports:[[ia]]}),t})(),od=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Lt({type:t,selectors:[["til-navbar"]],decls:42,vars:0,consts:[[1,"header","header-fixed"],[1,"navbar","container"],["type","checkbox","id","navbar-toggle"],["for","navbar-toggle"],[1,"menu"],["href","https://dev.to/this-is-learning","target","blank"],[1,"fab","fa-brands","fa-dev","fa-2x"],["href","https://twitter.com/Thisis_Learning","target","blank"],[1,"fab","fa-twitter","fa-2x"],["href","https://www.getrevue.co/profile/thisislearning?via=twitter-profile","target","blank"],[1,"fa","fa-file","fa-2x"],["href","https://twitter.com/Thisis_Angular","target","blank"],[1,"fab","fa-angular","fa-2x"],["href","https://dev.to/this-is-angular","target","blank"],["href","https://this-is-learning.github.io/rxjs-fundamentals-course/","target","blank",2,"font-size","x-large","font-weight","600"],["href","https://this-is-angular.github.io/ngrx-essentials-course/","target","blank",2,"font-size","x-large","font-weight","600"],["href","https://www.youtube.com/c/TechTalksWithSantosh/videos","target","blank"],[1,"fa","fa-video","fa-2x"],["href","https://github.com/this-is-learning","target","blank"],[1,"fab","fa-github","fa-2x"],["href","https://til-conf.netlify.app/","target","blank"],[1,"fa-solid","fa-chalkboard-user"],["href","https://discord.gg/WquDAakwkK","target","blank"],[1,"fab","fa-discord","fa-2x"]],template:function(t,e){1&t&&(Es(0,"div",0),Es(1,"div",1),Os(2,"input",2),Es(3,"label",3),Os(4,"i"),ks(),Es(5,"nav",4),Es(6,"ul"),Es(7,"li"),Es(8,"a",5),Os(9,"i",6),ks(),ks(),Es(10,"li"),Es(11,"a",7),Os(12,"i",8),ks(),ks(),Es(13,"li"),Es(14,"a",9),Os(15,"i",10),ks(),ks(),Es(16,"li"),Es(17,"a",11),Os(18,"i",12),Rs(19,"(Twitter)"),ks(),ks(),Es(20,"li"),Es(21,"a",13),Os(22,"i",12),Rs(23,"(DEV)"),ks(),ks(),Es(24,"li"),Es(25,"a",14),Rs(26," RXJS"),ks(),ks(),Es(27,"li"),Es(28,"a",15),Rs(29," NGRX "),ks(),ks(),Es(30,"li"),Es(31,"a",16),Os(32,"i",17),ks(),ks(),Es(33,"li"),Es(34,"a",18),Os(35,"i",19),ks(),ks(),Es(36,"li"),Es(37,"a",20),Os(38,"i",21),ks(),ks(),Es(39,"li"),Es(40,"a",22),Os(41,"i",23),ks(),ks(),ks(),ks(),ks(),ks())},styles:['.container{max-width:100%;margin:0 auto;overflow:auto;padding:0 40px}.navbar{background-color:transparent;height:70px}.header-fixed{position:fixed;top:0;z-index:1;width:100%;background:#020c29;border-bottom:1px solid gold}.navbar{display:flex;justify-content:space-between;align-items:center;color:#fff;line-height:50px}.navbar .logo a:hover{color:#777}.navbar nav{flex:8}.navbar label{-webkit-user-select:none;user-select:none;cursor:pointer;position:relative;z-index:3}.navbar label i{height:2px;position:relative;transition:background .2s ease-out;width:18px;font-style:normal;font-weight:400}.navbar label i:after,.navbar label i:before{content:"";height:100%;position:absolute;transition:all .2s ease-out;width:100%}.navbar label i,.navbar label i:before{display:block;background:#eee}.navbar label i:after{display:block;background:#fff}.navbar label i:before{top:5px}.navbar label i:after{top:-5px}.navbar #navbar-toggle{display:none}.header #navbar-toggle:checked~.menu{visibility:visible;opacity:.99;overflow-y:auto;padding:0}.header #navbar-toggle:checked~label{background:#212121;border-radius:50%}.header #navbar-toggle:checked~label i:before{transform:rotate(-45deg)}.header #navbar-toggle:checked~label i:after{transform:rotate(45deg)}.header #navbar-toggle:checked~label:not(.steps) i:after,.header #navbar-toggle:checked~label:not(.steps) i:before{top:0}.navbar nav a:hover{border-bottom:2px solid green}@media (max-width:768px){.navbar nav{visibility:hidden;opacity:0;z-index:2;position:fixed;top:0;left:0;height:100%;transition:all .3s ease-out;display:block;background:#ddd;background-color:#4fa04f}.navbar nav a:hover{border-bottom:2px solid #800035}.navbar nav ul{margin:0;padding:60px 0;display:table-cell;vertical-align:middle}.navbar nav li{display:block;text-align:center;min-height:50px;font-weight:700;cursor:pointer;transition:all .3s ease-out}.navbar nav li a{color:#212121}}@media (min-width:768px){.navbar nav ul{margin:0;padding:0;display:flex;justify-content:space-around;text-align:center;list-style:none}.navbar nav li a{padding:5px 8px;font-size:16px;color:#fff;text-decoration:none}.navbar label{display:none}}'],encapsulation:2,changeDetection:0}),t})();const ad=[{path:"",component:(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Lt({type:t,selectors:[["til-home"]],decls:120,vars:0,consts:[[1,"showcase"],[1,"container","grid"],[1,"showcase-form"],["src","../../assets/images/lars.jpg","alt",""],[1,"showcase-text"],[2,"text-align","justify"],[1,"showcase-form","santosh"],["src","../../assets/images/santosh.jpg","alt",""],[1,"stats"],[1,"container"],[1,"text-center","my-2"],[1,"title"],[1,"grid","grid-resource","text-center","my-4"],[1,"card"],["target","blank","href","https://dev.to/this-is-learning"],[1,"fab","fa-brands","fa-dev","fa-2x"],["target","blank","href","https://twitter.com/Thisis_Learning"],[1,"fab","fa-twitter","fa-2x"],["target","blank","href","https://www.getrevue.co/profile/thisislearning?via=twitter-profile"],[1,"fa","fa-file","fa-2x"],["target","blank","href","https://twitter.com/Thisis_Angular"],[1,"fab","fa-angular","fa-2x"],["target","blank","href","https://dev.to/this-is-angular"],[2,"color","white"],[1,"fab","fa-angular","fa-1x"],["target","blank","href","https://this-is-learning.github.io/rxjs-fundamentals-course/"],["src","https://rxjs.dev/assets/images/logos/logo.png","alt","",2,"width","136px","display","inherit"],["target","blank","href","https://this-is-angular.github.io/ngrx-essentials-course/"],["src","https://ngrx.io/assets/images/badge.svg","alt","",2,"width","57px","display","inherit"],["target","blank","href","https://www.youtube.com/c/ThisisTechTalks"],[1,"fa","fa-video","fa-2x"],["target","blank","href","https://github.com/this-is-learning"],[1,"fab","fa-github","fa-2x"],["target","blank","href","https://discord.gg/WquDAakwkK"],[1,"fab","fa-discord","fa-2x"],["target","blank","href","https://til-conf.netlify.app/"],[1,"fa-solid","fa-chalkboard-user"],[1,"footer","bg-dark","py-5"],[1,"container","grid","grid-3"],[1,"social"]],template:function(t,e){1&t&&(Os(0,"til-navbar"),Es(1,"section",0),Es(2,"div",1),Es(3,"div",2),Es(4,"div"),Os(5,"img",3),ks(),Es(6,"h1"),Rs(7,"Lars Gyrup Brink Nielsen"),ks(),Es(8,"p"),Rs(9," Co-Founder @Thisis_Learning @aarhusjs \u270d\ufe0f Writer, Speaker, FOSS Maintainer \ud83c\udfc6 Microsoft MVP \ud83c\udf1f GitHub Star \ud83d\udcd7 Author of Accelerating Angular Development with Ivy "),ks(),ks(),Es(10,"div",4),Es(11,"h1"),Rs(12,"This is Learning"),ks(),Es(13,"h1"),Rs(14,"Free, open and honest software education."),ks(),Es(15,"p",5),Rs(16," Inclusive software development publication free from conflict of interest. This publication is all about sharing software development knowledge for free and not at all about money or KPIs. Cross-posts are welcome. "),ks(),ks(),Es(17,"div",6),Es(18,"div"),Os(19,"img",7),ks(),Es(20,"h1"),Rs(21,"Santosh Yadav"),ks(),Es(22,"p"),Rs(23,"GoogleDevExpert,github \ud83c\udf1f, OSS Advocate \ud83e\udd51 @Auth0 Ambassador Co-Founder @Thisis_Learning"),ks(),ks(),ks(),ks(),Es(24,"section",8),Es(25,"div",9),Es(26,"h2",10),Es(27,"div",11),Rs(28,"Free Resources"),ks(),ks(),Es(29,"div",12),Es(30,"div",13),Es(31,"h2"),Es(32,"a",14),Rs(33," This is Learning on dev.to"),ks(),ks(),Os(34,"i",15),Es(35,"h4"),Rs(36," An open community for content creators in the tech space. Anyone can join, anyone can publish. Join to cross-post your content for better discoverability or publish unique pieces with our community of writers and readers. "),ks(),ks(),Es(37,"div",13),Es(38,"h2"),Es(39,"a",16),Rs(40," This is Learning Twitter"),ks(),ks(),Os(41,"i",17),Es(42,"h4"),Rs(43," Follow on twitter for Free, open and honest software education. Inclusive software development publication free from conflict of interest "),ks(),ks(),Es(44,"div",13),Es(45,"h2"),Es(46,"a",18),Rs(47," This is Learning Newsletter"),ks(),ks(),Os(48,"i",19),Es(49,"h4"),Rs(50," Subscribe to our newsletter , A newsletter that helps you discover useful content from our catalogue of free, open, and honest software education. "),ks(),ks(),Es(51,"div",13),Es(52,"h2"),Es(53,"a",20),Rs(54," This is Learning Angular(Twitter)"),ks(),ks(),Os(55,"i",21),Es(56,"h4"),Rs(57," Follow on twitter for Free, open and honest Angular education. Inclusive Angular publication free from conflict of interest. "),ks(),ks(),Es(58,"div",13),Es(59,"h2"),Es(60,"a",22),Rs(61," This is Learning Angular(DEV)"),ks(),ks(),Es(62,"h4",23),Rs(63," An open community for content creators in the Angular ("),Os(64,"i",24),Rs(65,") ecosystem. Anyone can join, anyone can publish. Join to cross-post your content for better discoverability or publish unique pieces with our community of writers and readers. "),ks(),ks(),Es(66,"div",13),Es(67,"h2"),Es(68,"a",25),Os(69,"img",26),Rs(70," Fundamentals "),ks(),ks(),Es(71,"h4",23),Rs(72," RxJS is a library for reactive programming using Observables, to make it easier to compose asynchronous or callback-based code. This project is a rewrite of Reactive-Extensions/RxJS with better performance, better modularity, better debuggable call stacks, while staying mostly backwards compatible, with some breaking changes that reduce the API surface "),ks(),ks(),Es(73,"div",13),Es(74,"h2"),Es(75,"a",27),Os(76,"img",28),Rs(77,"NgRx Essentials "),ks(),ks(),Es(78,"h4",23),Rs(79," NgRx Store provides reactive state management for Angular apps inspired by Redux. Unify the events in your application and derive state using RxJS. "),ks(),ks(),Es(80,"div",13),Es(81,"h2"),Es(82,"a",29),Rs(83," This is Tech Talks"),ks(),ks(),Os(84,"i",30),Es(85,"h4"),Rs(86," In this talk show, we will have some awesome developers, talking/sharing some great content from the programming language they work on. We will discuss new features/tools/changes to the technology you love and follow. "),ks(),ks(),Es(87,"div",13),Es(88,"h2"),Es(89,"a",31),Rs(90," This is Learning "),ks(),ks(),Os(91,"i",32),Es(92,"h4"),Rs(93," Any kind of contribution welcomes ,We appreciate your time and effort to help others to provide free, open and honest software education. "),ks(),ks(),Es(94,"div",13),Es(95,"h2"),Es(96,"a",33),Rs(97," This is Learning-Discord"),ks(),ks(),Os(98,"i",34),Es(99,"h4"),Rs(100,"Join Our Discord server for sharing some great content from the programming language."),ks(),ks(),Es(101,"div",13),Es(102,"h2"),Es(103,"a",35),Rs(104," This is Learning Conference"),ks(),ks(),Os(105,"i",36),Es(106,"h4"),Rs(107," Explore our extensive library of recorded content from the May 2024 This is Learning online conference, covering topics such as web and mobile development, cloud and backend services, software engineering, AI/ML, and CI/CD. "),ks(),ks(),ks(),ks(),ks(),Es(108,"footer",37),Es(109,"div",38),Es(110,"div"),Es(111,"h1"),Rs(112,"\xa9 2022 This is Learning. Licensed under CC BY-SA 4.0."),ks(),ks(),Es(113,"div",39),Es(114,"a",31),Os(115,"i",32),ks(),Es(116,"a",16),Os(117,"i",17),ks(),Es(118,"a",33),Os(119,"i",34),ks(),ks(),ks(),ks())},directives:[od],styles:['.container[_ngcontent-%COMP%]{max-width:100%;margin:0 auto;overflow:auto;padding:0 40px}.card[_ngcontent-%COMP%]{color:#333;border-radius:10px;box-shadow:0 3px 10px rgba(0,0,0,.2);padding:20px;margin:10px}.text-center[_ngcontent-%COMP%]{text-align:center}.grid[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(2,1fr);grid-gap:20px;gap:20px;justify-content:center;align-items:center;height:100%}.grid-3[_ngcontent-%COMP%]{color:brown}.grid-3[_ngcontent-%COMP%], .grid-resource[_ngcontent-%COMP%]{grid-template-columns:repeat(3,1fr)}.my-2[_ngcontent-%COMP%]{margin:1.5rem 0}.my-4[_ngcontent-%COMP%]{margin:3rem 0}.py-5[_ngcontent-%COMP%]{padding:3rem}h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%]{line-height:1}h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%], p[_ngcontent-%COMP%]{margin:10px 0}img[_ngcontent-%COMP%]{width:100%}.showcase[_ngcontent-%COMP%]{height:650px;background-color:#020c29;color:#fff;position:relative;z-index:0}.showcase[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:40px;text-align:center}.showcase[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:20px 0}.showcase[_ngcontent-%COMP%] .grid[_ngcontent-%COMP%]{overflow:visible;grid-template-columns:repeat(3,1fr);grid-gap:30px;gap:30px;margin-top:70px}.showcase-text[_ngcontent-%COMP%]{animation:slideInFromLeft 1s ease-in;top:-115px;position:relative}.showcase-text[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:x-large}.showcase-form[_ngcontent-%COMP%]{position:relative;bottom:170px;height:200px;width:300px;padding:40px;z-index:100;justify-self:center;animation:slideInFromRight 1s ease-in}.showcase[_ngcontent-%COMP%]:after, .showcase[_ngcontent-%COMP%]:before{content:"";position:absolute;height:1px;bottom:-2px;right:0;left:0;border-bottom:1px solid gold;background:linear-gradient(250deg,#0f0125 10%,#020c29 86%);transform:skewY(-3deg);-moz-transform:skewY(-3deg);-ms-transform:skewY(-3deg)}.stats[_ngcontent-%COMP%]{padding-top:250px;background-color:#020c29}.stats[_ngcontent-%COMP%] .card[_ngcontent-%COMP%]{height:300px;transition:transform .2s ease-in;cursor:pointer}.stats[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] h2[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-align:start;color:#f4f4f4;font-size:26px}.stats[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] h2[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{border-bottom:2px solid green}.title[_ngcontent-%COMP%]{font-weight:100;color:transparent;font-size:65px;background:url(rainbow-nebula.16b4848ec24a6e860af9.jpg) repeat;background-position:40% 50%;-webkit-background-clip:text;position:relative;text-align:center}.stats[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]:nth-child(3){text-align:start;color:#f4f4f4;font-size:16px}.stats-heading[_ngcontent-%COMP%]{max-width:500px;margin:auto}.stats[_ngcontent-%COMP%] .grid[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:35px}.stats[_ngcontent-%COMP%] .grid[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:20px;font-weight:700}.footer[_ngcontent-%COMP%]{border-top:.1px solid gold;background-color:#020c29}.footer[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{padding-bottom:0;font-size:larger}.footer[_ngcontent-%COMP%] .social[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{margin:0 10px}.fa-2x[_ngcontent-%COMP%]{color:#fff}.fa-2x[_ngcontent-%COMP%]:hover{border:1px solid #fff;border-radius:5px}.fa-brands[_ngcontent-%COMP%]:hover{color:#5cb85c}.fa-github[_ngcontent-%COMP%]:hover{cursor:pointer}.fa-facebook[_ngcontent-%COMP%]:hover{color:#1773ea}.fa-instagram[_ngcontent-%COMP%]:hover{color:#b32e87}.fa-twitter[_ngcontent-%COMP%]:hover{color:#1c9cea}@keyframes slideInFromLeft{0%{transform:translateX(-100%)}to{transform:translateX(0)}}@keyframes slideInFromRight{0%{transform:translateX(100%)}to{transform:translateX(0)}}@keyframes slideInFromTop{0%{transform:translateY(-100%)}to{transform:translateX(0)}}@keyframes slideInFromBottom{0%{transform:translateY(100%)}to{transform:translateX(0)}}@media (max-width:768px){.grid[_ngcontent-%COMP%], .showcase[_ngcontent-%COMP%] .grid[_ngcontent-%COMP%], .stats[_ngcontent-%COMP%] .grid[_ngcontent-%COMP%]{grid-template-columns:1fr;grid-template-rows:1fr}.showcase[_ngcontent-%COMP%]{height:auto}.showcase-text[_ngcontent-%COMP%]{text-align:center;animation:slideInFromTop 1s ease-in;margin-top:-90px;padding-top:0!important}.showcase-form[_ngcontent-%COMP%]{justify-self:center;animation:slideInFromBottom 1s ease-in;width:300px;bottom:-415px;height:200px;margin:10px auto auto}.stats[_ngcontent-%COMP%]{padding-top:750px}.santosh[_ngcontent-%COMP%]{bottom:-450px}}@media (max-width:500px){.showcase-form[_ngcontent-%COMP%]{width:300px;bottom:-530px;height:200px}.santosh[_ngcontent-%COMP%]{bottom:-455px}}@media (max-width:1450px){.showcase-text[_ngcontent-%COMP%]{padding-top:120px}}']}),t})()}];let ld=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=lt({imports:[[_h.forRoot(ad)],_h]}),t})(),cd=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Lt({type:t,selectors:[["til-app"]],decls:1,vars:0,template:function(t,e){1&t&&Os(0,"router-outlet")},directives:[ch],styles:[""],encapsulation:2,changeDetection:0}),t})(),ud=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t,bootstrap:[cd]}),t.\u0275inj=lt({imports:[[La,ld,sd,id]]}),t})();(function(){if(_o)throw new Error("Cannot enable prod mode after platform setup.");yo=!1})(),Da().bootstrapModule(ud).catch(t=>console.error(t))}},t=>{"use strict";t(t.s=6)}]); \ No newline at end of file