-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.c46f9fd3a91ee32bca89.js
More file actions
1 lines (1 loc) · 270 KB
/
main.c46f9fd3a91ee32bca89.js
File metadata and controls
1 lines (1 loc) · 270 KB
1
(self.webpackChunkjavascript=self.webpackChunkjavascript||[]).push([[179],{255:to=>{function $n(R){return Promise.resolve().then(()=>{var un=new Error("Cannot find module '"+R+"'");throw un.code="MODULE_NOT_FOUND",un})}$n.keys=()=>[],$n.resolve=$n,$n.id=255,to.exports=$n},108:(to,$n,R)=>{"use strict";function un(t){return"function"==typeof t}let au=!1;const Bt={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){if(t){const e=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+e.stack)}else au&&console.log("RxJS: Back to a better error behavior. Thank you. <3");au=t},get useDeprecatedSynchronousErrorHandling(){return au}};function Gr(t){setTimeout(()=>{throw t},0)}const Fs={closed:!0,next(t){},error(t){if(Bt.useDeprecatedSynchronousErrorHandling)throw t;Gr(t)},complete(){}},no=Array.isArray||(t=>t&&"number"==typeof t.length);function lu(t){return null!==t&&"object"==typeof t}const Os=(()=>{function t(e){return Error.call(this),this.message=e?`${e.length} errors occurred during unsubscription:\n${e.map((n,r)=>`${r+1}) ${n.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=e,this}return t.prototype=Object.create(Error.prototype),t})();class he{constructor(e){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,e&&(this._ctorUnsubscribe=!0,this._unsubscribe=e)}unsubscribe(){let e;if(this.closed)return;let{_parentOrParents:n,_ctorUnsubscribe:r,_unsubscribe:i,_subscriptions:o}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof he)n.remove(this);else if(null!==n)for(let s=0;s<n.length;++s)n[s].remove(this);if(un(i)){r&&(this._unsubscribe=void 0);try{i.call(this)}catch(s){e=s instanceof Os?Hh(s.errors):[s]}}if(no(o)){let s=-1,a=o.length;for(;++s<a;){const l=o[s];if(lu(l))try{l.unsubscribe()}catch(u){e=e||[],u instanceof Os?e=e.concat(Hh(u.errors)):e.push(u)}}}if(e)throw new Os(e)}add(e){let n=e;if(!e)return he.EMPTY;switch(typeof e){case"function":n=new he(e);case"object":if(n===this||n.closed||"function"!=typeof n.unsubscribe)return n;if(this.closed)return n.unsubscribe(),n;if(!(n instanceof he)){const o=n;n=new he,n._subscriptions=[o]}break;default:throw new Error("unrecognized teardown "+e+" added to Subscription.")}let{_parentOrParents:r}=n;if(null===r)n._parentOrParents=this;else if(r instanceof he){if(r===this)return n;n._parentOrParents=[r,this]}else{if(-1!==r.indexOf(this))return n;r.push(this)}const i=this._subscriptions;return null===i?this._subscriptions=[n]:i.push(n),n}remove(e){const n=this._subscriptions;if(n){const r=n.indexOf(e);-1!==r&&n.splice(r,1)}}}var t;function Hh(t){return t.reduce((e,n)=>e.concat(n instanceof Os?n.errors:n),[])}he.EMPTY=((t=new he).closed=!0,t);const Ps="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random();class ce extends he{constructor(e,n,r){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=Fs;break;case 1:if(!e){this.destination=Fs;break}if("object"==typeof e){e instanceof ce?(this.syncErrorThrowable=e.syncErrorThrowable,this.destination=e,e.add(this)):(this.syncErrorThrowable=!0,this.destination=new Uh(this,e));break}default:this.syncErrorThrowable=!0,this.destination=new Uh(this,e,n,r)}}[Ps](){return this}static create(e,n,r){const i=new ce(e,n,r);return i.syncErrorThrowable=!1,i}next(e){this.isStopped||this._next(e)}error(e){this.isStopped||(this.isStopped=!0,this._error(e))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(e){this.destination.next(e)}_error(e){this.destination.error(e),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:e}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=e,this}}class Uh extends ce{constructor(e,n,r,i){super(),this._parentSubscriber=e;let o,s=this;un(n)?o=n:n&&(o=n.next,r=n.error,i=n.complete,n!==Fs&&(s=Object.create(n),un(s.unsubscribe)&&this.add(s.unsubscribe.bind(s)),s.unsubscribe=this.unsubscribe.bind(this))),this._context=s,this._next=o,this._error=r,this._complete=i}next(e){if(!this.isStopped&&this._next){const{_parentSubscriber:n}=this;Bt.useDeprecatedSynchronousErrorHandling&&n.syncErrorThrowable?this.__tryOrSetError(n,this._next,e)&&this.unsubscribe():this.__tryOrUnsub(this._next,e)}}error(e){if(!this.isStopped){const{_parentSubscriber:n}=this,{useDeprecatedSynchronousErrorHandling:r}=Bt;if(this._error)r&&n.syncErrorThrowable?(this.__tryOrSetError(n,this._error,e),this.unsubscribe()):(this.__tryOrUnsub(this._error,e),this.unsubscribe());else if(n.syncErrorThrowable)r?(n.syncErrorValue=e,n.syncErrorThrown=!0):Gr(e),this.unsubscribe();else{if(this.unsubscribe(),r)throw e;Gr(e)}}}complete(){if(!this.isStopped){const{_parentSubscriber:e}=this;if(this._complete){const n=()=>this._complete.call(this._context);Bt.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?(this.__tryOrSetError(e,n),this.unsubscribe()):(this.__tryOrUnsub(n),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(e,n){try{e.call(this._context,n)}catch(r){if(this.unsubscribe(),Bt.useDeprecatedSynchronousErrorHandling)throw r;Gr(r)}}__tryOrSetError(e,n,r){if(!Bt.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{n.call(this._context,r)}catch(i){return Bt.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=i,e.syncErrorThrown=!0,!0):(Gr(i),!0)}return!1}_unsubscribe(){const{_parentSubscriber:e}=this;this._context=null,this._parentSubscriber=null,e.unsubscribe()}}const ro="function"==typeof Symbol&&Symbol.observable||"@@observable";function Vs(t){return t}let ne=(()=>{class t{constructor(n){this._isScalar=!1,n&&(this._subscribe=n)}lift(n){const r=new t;return r.source=this,r.operator=n,r}subscribe(n,r,i){const{operator:o}=this,s=function(t,e,n){if(t){if(t instanceof ce)return t;if(t[Ps])return t[Ps]()}return t||e||n?new ce(t,e,n):new ce(Fs)}(n,r,i);if(s.add(o?o.call(s,this.source):this.source||Bt.useDeprecatedSynchronousErrorHandling&&!s.syncErrorThrowable?this._subscribe(s):this._trySubscribe(s)),Bt.useDeprecatedSynchronousErrorHandling&&s.syncErrorThrowable&&(s.syncErrorThrowable=!1,s.syncErrorThrown))throw s.syncErrorValue;return s}_trySubscribe(n){try{return this._subscribe(n)}catch(r){Bt.useDeprecatedSynchronousErrorHandling&&(n.syncErrorThrown=!0,n.syncErrorValue=r),function(t){for(;t;){const{closed:e,destination:n,isStopped:r}=t;if(e||r)return!1;t=n&&n instanceof ce?n:null}return!0}(n)?n.error(r):console.warn(r)}}forEach(n,r){return new(r=Gh(r))((i,o)=>{let s;s=this.subscribe(a=>{try{n(a)}catch(l){o(l),s&&s.unsubscribe()}},o,i)})}_subscribe(n){const{source:r}=this;return r&&r.subscribe(n)}[ro](){return this}pipe(...n){return 0===n.length?this:function(t){return 0===t.length?Vs:1===t.length?t[0]:function(n){return t.reduce((r,i)=>i(r),n)}}(n)(this)}toPromise(n){return new(n=Gh(n))((r,i)=>{let o;this.subscribe(s=>o=s,s=>i(s),()=>r(o))})}}return t.create=e=>new t(e),t})();function Gh(t){if(t||(t=Bt.Promise||Promise),!t)throw new Error("no Promise impl found");return t}const Wr=(()=>{function t(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return t.prototype=Object.create(Error.prototype),t})();class Ab extends he{constructor(e,n){super(),this.subject=e,this.subscriber=n,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const e=this.subject,n=e.observers;if(this.subject=null,!n||0===n.length||e.isStopped||e.closed)return;const r=n.indexOf(this.subscriber);-1!==r&&n.splice(r,1)}}class Wh extends ce{constructor(e){super(e),this.destination=e}}let Et=(()=>{class t extends ne{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[Ps](){return new Wh(this)}lift(n){const r=new qh(this,this);return r.operator=n,r}next(n){if(this.closed)throw new Wr;if(!this.isStopped){const{observers:r}=this,i=r.length,o=r.slice();for(let s=0;s<i;s++)o[s].next(n)}}error(n){if(this.closed)throw new Wr;this.hasError=!0,this.thrownError=n,this.isStopped=!0;const{observers:r}=this,i=r.length,o=r.slice();for(let s=0;s<i;s++)o[s].error(n);this.observers.length=0}complete(){if(this.closed)throw new Wr;this.isStopped=!0;const{observers:n}=this,r=n.length,i=n.slice();for(let o=0;o<r;o++)i[o].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(n){if(this.closed)throw new Wr;return super._trySubscribe(n)}_subscribe(n){if(this.closed)throw new Wr;return this.hasError?(n.error(this.thrownError),he.EMPTY):this.isStopped?(n.complete(),he.EMPTY):(this.observers.push(n),new Ab(this,n))}asObservable(){const n=new ne;return n.source=this,n}}return t.create=(e,n)=>new qh(e,n),t})();class qh extends Et{constructor(e,n){super(),this.destination=e,this.source=n}next(e){const{destination:n}=this;n&&n.next&&n.next(e)}error(e){const{destination:n}=this;n&&n.error&&this.destination.error(e)}complete(){const{destination:e}=this;e&&e.complete&&this.destination.complete()}_subscribe(e){const{source:n}=this;return n?this.source.subscribe(e):he.EMPTY}}function ks(t){return t&&"function"==typeof t.schedule}function Y(t,e){return function(r){if("function"!=typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return r.lift(new Sb(t,e))}}class Sb{constructor(e,n){this.project=e,this.thisArg=n}call(e,n){return n.subscribe(new Tb(e,this.project,this.thisArg))}}class Tb extends ce{constructor(e,n,r){super(e),this.project=n,this.count=0,this.thisArg=r||this}_next(e){let n;try{n=this.project.call(this.thisArg,e,this.count++)}catch(r){return void this.destination.error(r)}this.destination.next(n)}}const zh=t=>e=>{for(let n=0,r=t.length;n<r&&!e.closed;n++)e.next(t[n]);e.complete()},Ls="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator",Qh=t=>t&&"number"==typeof t.length&&"function"!=typeof t;function Kh(t){return!!t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}const uu=t=>{if(t&&"function"==typeof t[ro])return(t=>e=>{const n=t[ro]();if("function"!=typeof n.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return n.subscribe(e)})(t);if(Qh(t))return zh(t);if(Kh(t))return(t=>e=>(t.then(n=>{e.closed||(e.next(n),e.complete())},n=>e.error(n)).then(null,Gr),e))(t);if(t&&"function"==typeof t[Ls])return(t=>e=>{const n=t[Ls]();for(;;){let r;try{r=n.next()}catch(i){return e.error(i),e}if(r.done){e.complete();break}if(e.next(r.value),e.closed)break}return"function"==typeof n.return&&e.add(()=>{n.return&&n.return()}),e})(t);{const n=`You provided ${lu(t)?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(n)}};function cu(t,e){return new ne(n=>{const r=new he;let i=0;return r.add(e.schedule(function(){i!==t.length?(n.next(t[i++]),n.closed||r.add(this.schedule())):n.complete()})),r})}function Le(t,e){return e?function(t,e){if(null!=t){if(function(t){return t&&"function"==typeof t[ro]}(t))return function(t,e){return new ne(n=>{const r=new he;return r.add(e.schedule(()=>{const i=t[ro]();r.add(i.subscribe({next(o){r.add(e.schedule(()=>n.next(o)))},error(o){r.add(e.schedule(()=>n.error(o)))},complete(){r.add(e.schedule(()=>n.complete()))}}))})),r})}(t,e);if(Kh(t))return function(t,e){return new ne(n=>{const r=new he;return r.add(e.schedule(()=>t.then(i=>{r.add(e.schedule(()=>{n.next(i),r.add(e.schedule(()=>n.complete()))}))},i=>{r.add(e.schedule(()=>n.error(i)))}))),r})}(t,e);if(Qh(t))return cu(t,e);if(function(t){return t&&"function"==typeof t[Ls]}(t)||"string"==typeof t)return function(t,e){if(!t)throw new Error("Iterable cannot be null");return new ne(n=>{const r=new he;let i;return r.add(()=>{i&&"function"==typeof i.return&&i.return()}),r.add(e.schedule(()=>{i=t[Ls](),r.add(e.schedule(function(){if(n.closed)return;let o,s;try{const a=i.next();o=a.value,s=a.done}catch(a){return void n.error(a)}s?n.complete():(n.next(o),this.schedule())}))})),r})}(t,e)}throw new TypeError((null!==t&&typeof t||t)+" is not observable")}(t,e):t instanceof ne?t:new ne(uu(t))}class du extends ce{constructor(e){super(),this.parent=e}_next(e){this.parent.notifyNext(e)}_error(e){this.parent.notifyError(e),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class fu extends ce{notifyNext(e){this.destination.next(e)}notifyError(e){this.destination.error(e)}notifyComplete(){this.destination.complete()}}function hu(t,e){if(e.closed)return;if(t instanceof ne)return t.subscribe(e);let n;try{n=uu(t)(e)}catch(r){e.error(r)}return n}function je(t,e,n=Number.POSITIVE_INFINITY){return"function"==typeof e?r=>r.pipe(je((i,o)=>Le(t(i,o)).pipe(Y((s,a)=>e(i,s,o,a))),n)):("number"==typeof e&&(n=e),r=>r.lift(new Bb(t,n)))}class Bb{constructor(e,n=Number.POSITIVE_INFINITY){this.project=e,this.concurrent=n}call(e,n){return n.subscribe(new Hb(e,this.project,this.concurrent))}}class Hb extends fu{constructor(e,n,r=Number.POSITIVE_INFINITY){super(e),this.project=n,this.concurrent=r,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(e){this.active<this.concurrent?this._tryNext(e):this.buffer.push(e)}_tryNext(e){let n;const r=this.index++;try{n=this.project(e,r)}catch(i){return void this.destination.error(i)}this.active++,this._innerSub(n)}_innerSub(e){const n=new du(this),r=this.destination;r.add(n);const i=hu(e,n);i!==n&&r.add(i)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(e){this.destination.next(e)}notifyComplete(){const e=this.buffer;this.active--,e.length>0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}function io(t=Number.POSITIVE_INFINITY){return je(Vs,t)}function pu(t,e){return e?cu(t,e):new ne(zh(t))}function gu(...t){let e=Number.POSITIVE_INFINITY,n=null,r=t[t.length-1];return ks(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 ne?t[0]:io(e)(pu(t,n))}function mu(){return function(e){return e.lift(new Ub(e))}}class Ub{constructor(e){this.connectable=e}call(e,n){const{connectable:r}=this;r._refCount++;const i=new $b(e,r),o=n.subscribe(i);return i.closed||(i.connection=r.connect()),o}}class $b extends ce{constructor(e,n){super(e),this.connectable=n}_unsubscribe(){const{connectable:e}=this;if(!e)return void(this.connection=null);this.connectable=null;const n=e._refCount;if(n<=0)return void(this.connection=null);if(e._refCount=n-1,n>1)return void(this.connection=null);const{connection:r}=this,i=e._connection;this.connection=null,i&&(!r||i===r)&&i.unsubscribe()}}class Yh extends ne{constructor(e,n){super(),this.source=e,this.subjectFactory=n,this._refCount=0,this._isComplete=!1}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){const e=this._subject;return(!e||e.isStopped)&&(this._subject=this.subjectFactory()),this._subject}connect(){let e=this._connection;return e||(this._isComplete=!1,e=this._connection=new he,e.add(this.source.subscribe(new Wb(this.getSubject(),this))),e.closed&&(this._connection=null,e=he.EMPTY)),e}refCount(){return mu()(this)}}const Gb=(()=>{const t=Yh.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 Wb extends Wh{constructor(e,n){super(e),this.connectable=n}_error(e){this._unsubscribe(),super._error(e)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const e=this.connectable;if(e){this.connectable=null;const n=e._connection;e._refCount=0,e._subject=null,e._connection=null,n&&n.unsubscribe()}}}function yu(t,e){return function(r){let i;if(i="function"==typeof t?t:function(){return t},"function"==typeof e)return r.lift(new zb(i,e));const o=Object.create(r,Gb);return o.source=r,o.subjectFactory=i,o}}class zb{constructor(e,n){this.subjectFactory=e,this.selector=n}call(e,n){const{selector:r}=this,i=this.subjectFactory(),o=r(i).subscribe(e);return o.add(n.subscribe(i)),o}}function Qb(){return new Et}function J(t){for(let e in t)if(t[e]===J)return e;throw Error("Could not find renamed property on target object.")}function _u(t,e){for(const n in e)e.hasOwnProperty(n)&&!t.hasOwnProperty(n)&&(t[n]=e[n])}function $(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map($).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 Cu(t,e){return null==t||""===t?null===e?"":e:null==e||""===e?t:t+" "+e}const Yb=J({__forward_ref__:J});function oe(t){return t.__forward_ref__=oe,t.toString=function(){return $(this())},t}function S(t){return Zh(t)?t():t}function Zh(t){return"function"==typeof t&&t.hasOwnProperty(Yb)&&t.__forward_ref__===oe}class hr extends Error{constructor(e,n){super(function(t,e){return`${t?`NG0${t}: `:""}${e}`}(e,n)),this.code=e}}function B(t){return"string"==typeof t?t:null==t?"":String(t)}function Ke(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():B(t)}function js(t,e){const n=e?` in ${e}`:"";throw new hr("201",`No provider for ${Ke(t)} found${n}`)}function pt(t,e){null==t&&function(t,e,n,r){throw new Error(`ASSERTION ERROR: ${t}`+(null==r?"":` [Expected=> ${n} ${r} ${e} <=Actual]`))}(e,t,null,"!=")}function k(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function st(t){return{providers:t.providers||[],imports:t.imports||[]}}function Sn(t){return Jh(t,Bs)||Jh(t,ep)}function Jh(t,e){return t.hasOwnProperty(e)?t[e]:null}function Xh(t){return t&&(t.hasOwnProperty(Du)||t.hasOwnProperty(rw))?t[Du]:null}const Bs=J({\u0275prov:J}),Du=J({\u0275inj:J}),ep=J({ngInjectableDef:J}),rw=J({ngInjectorDef:J});var T=(()=>((T=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 Eu;function Gn(t){const e=Eu;return Eu=t,e}function tp(t,e,n){const r=Sn(t);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&T.Optional?null:void 0!==e?e:void js($(t),"Injector")}function Wn(t){return{toString:t}.toString()}var bt=(()=>((bt=bt||{})[bt.OnPush=0]="OnPush",bt[bt.Default=1]="Default",bt))(),Me=(()=>((Me=Me||{})[Me.Emulated=0]="Emulated",Me[Me.None=2]="None",Me[Me.ShadowDom=3]="ShadowDom",Me))();const ow="undefined"!=typeof globalThis&&globalThis,sw="undefined"!=typeof window&&window,aw="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,X=ow||"undefined"!=typeof global&&global||sw||aw,qr={},re=[],Hs=J({\u0275cmp:J}),bu=J({\u0275dir:J}),wu=J({\u0275pipe:J}),np=J({\u0275mod:J}),lw=J({\u0275loc:J}),Tn=J({\u0275fac:J}),oo=J({__NG_ELEMENT_ID__:J});let uw=0;function qn(t){return Wn(()=>{const n={},r={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:n,inputs:null,outputs:null,exportAs:t.exportAs||null,onPush:t.changeDetection===bt.OnPush,directiveDefs:null,pipeDefs:null,selectors:t.selectors||re,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||Me.Emulated,id:"c",styles:t.styles||re,_:null,setInput:null,schemas:t.schemas||null,tView:null},i=t.directives,o=t.features,s=t.pipes;return r.id+=uw++,r.inputs=sp(t.inputs,n),r.outputs=sp(t.outputs),o&&o.forEach(a=>a(r)),r.directiveDefs=i?()=>("function"==typeof i?i():i).map(rp):null,r.pipeDefs=s?()=>("function"==typeof s?s():s).map(ip):null,r})}function rp(t){return Ze(t)||function(t){return t[bu]||null}(t)}function ip(t){return function(t){return t[wu]||null}(t)}const op={};function wt(t){return Wn(()=>{const e={type:t.type,bootstrap:t.bootstrap||re,declarations:t.declarations||re,imports:t.imports||re,exports:t.exports||re,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null};return null!=t.id&&(op[t.id]=t.type),e})}function sp(t,e){if(null==t)return qr;const n={};for(const r in t)if(t.hasOwnProperty(r)){let i=t[r],o=i;Array.isArray(i)&&(o=i[1],i=i[0]),n[i]=r,e&&(e[i]=o)}return n}const N=qn;function Ye(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,onDestroy:t.type.prototype.ngOnDestroy||null}}function Ze(t){return t[Hs]||null}function It(t,e){const n=t[np]||null;if(!n&&!0===e)throw new Error(`Type ${$(t)} does not have '\u0275mod' property.`);return n}const H=11;function cn(t){return Array.isArray(t)&&"object"==typeof t[1]}function Ut(t){return Array.isArray(t)&&!0===t[1]}function Au(t){return 0!=(8&t.flags)}function Ws(t){return 2==(2&t.flags)}function qs(t){return 1==(1&t.flags)}function $t(t){return null!==t.template}function mw(t){return 0!=(512&t[2])}function _r(t,e){return t.hasOwnProperty(Tn)?t[Tn]:null}class lp{constructor(e,n,r){this.previousValue=e,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function $e(){return up}function up(t){return t.type.prototype.ngOnChanges&&(t.setInput=vw),Cw}function Cw(){const t=dp(this),e=null==t?void 0:t.current;if(e){const n=t.previous;if(n===qr)t.previous=e;else for(let r in e)n[r]=e[r];t.current=null,this.ngOnChanges(e)}}function vw(t,e,n,r){const i=dp(t)||function(t,e){return t[cp]=e}(t,{previous:qr,current:null}),o=i.current||(i.current={}),s=i.previous,a=this.declaredInputs[n],l=s[a];o[a]=new lp(l&&l.currentValue,e,s===qr),t[r]=e}$e.ngInherit=!0;const cp="__ngSimpleChanges__";function dp(t){return t[cp]||null}const fp="http://www.w3.org/2000/svg";let xu;function Ru(){return void 0!==xu?xu:"undefined"!=typeof document?document:void 0}function me(t){return!!t.listen}const pp={createRenderer:(t,e)=>Ru()};function be(t){for(;Array.isArray(t);)t=t[0];return t}function zs(t,e){return be(e[t])}function St(t,e){return be(e[t.index])}function Nu(t,e){return t.data[e]}function mt(t,e){const n=e[t];return cn(n)?n:n[0]}function gp(t){return 4==(4&t[2])}function Fu(t){return 128==(128&t[2])}function Qn(t,e){return null==e?null:t[e]}function mp(t){t[18]=0}function Ou(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 O={lFrame:wp(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function yp(){return O.bindingsEnabled}function v(){return O.lFrame.lView}function Z(){return O.lFrame.tView}function Pu(t){return O.lFrame.contextLView=t,t[8]}function Ae(){let t=_p();for(;null!==t&&64===t.type;)t=t.parent;return t}function _p(){return O.lFrame.currentTNode}function dn(t,e){const n=O.lFrame;n.currentTNode=t,n.isParent=e}function Vu(){return O.lFrame.isParent}function ku(){O.lFrame.isParent=!1}function Qs(){return O.isInCheckNoChangesMode}function Ks(t){O.isInCheckNoChangesMode=t}function Je(){const t=O.lFrame;let e=t.bindingRootIndex;return-1===e&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function Jr(){return O.lFrame.bindingIndex++}function xn(t){const e=O.lFrame,n=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,n}function Pw(t,e){const n=O.lFrame;n.bindingIndex=n.bindingRootIndex=t,Lu(e)}function Lu(t){O.lFrame.currentDirectiveIndex=t}function Dp(){return O.lFrame.currentQueryIndex}function Bu(t){O.lFrame.currentQueryIndex=t}function kw(t){const e=t[1];return 2===e.type?e.declTNode:1===e.type?t[6]:null}function Ep(t,e,n){if(n&T.SkipSelf){let i=e,o=t;for(;!(i=i.parent,null!==i||n&T.Host||(i=kw(o),null===i||(o=o[15],10&i.type))););if(null===i)return!1;e=i,t=o}const r=O.lFrame=bp();return r.currentTNode=e,r.lView=t,!0}function Ys(t){const e=bp(),n=t[1];O.lFrame=e,e.currentTNode=n.firstChild,e.lView=t,e.tView=n,e.contextLView=t,e.bindingIndex=n.bindingStartIndex,e.inI18n=!1}function bp(){const t=O.lFrame,e=null===t?null:t.child;return null===e?wp(t):e}function wp(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 Ip(){const t=O.lFrame;return O.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const Mp=Ip;function Zs(){const t=Ip();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 Xe(){return O.lFrame.selectedIndex}function Kn(t){O.lFrame.selectedIndex=t}function ye(){const t=O.lFrame;return Nu(t.tView,t.selectedIndex)}function Js(t,e){for(let n=e.directiveStart,r=e.directiveEnd;n<r;n++){const o=t.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:l,ngAfterViewChecked:u,ngOnDestroy:c}=o;s&&(t.contentHooks||(t.contentHooks=[])).push(-n,s),a&&((t.contentHooks||(t.contentHooks=[])).push(n,a),(t.contentCheckHooks||(t.contentCheckHooks=[])).push(n,a)),l&&(t.viewHooks||(t.viewHooks=[])).push(-n,l),u&&((t.viewHooks||(t.viewHooks=[])).push(n,u),(t.viewCheckHooks||(t.viewCheckHooks=[])).push(n,u)),null!=c&&(t.destroyHooks||(t.destroyHooks=[])).push(n,c)}}function Xs(t,e,n){Tp(t,e,3,n)}function ea(t,e,n,r){(3&t[2])===n&&Tp(t,e,n,r)}function Hu(t,e){let n=t[2];(3&n)===e&&(n&=2047,n+=1,t[2]=n)}function Tp(t,e,n,r){const o=null!=r?r:-1,s=e.length-1;let a=0;for(let l=void 0!==r?65535&t[18]:0;l<s;l++)if("number"==typeof e[l+1]){if(a=e[l],null!=r&&a>=r)break}else e[l]<0&&(t[18]+=65536),(a<o||-1==o)&&(Gw(t,n,e,l),t[18]=(4294901760&t[18])+l+2),l++}function Gw(t,e,n,r){const i=n[r]<0,o=n[r+1],a=t[i?-n[r]:n[r]];if(i){if(t[2]>>11<t[18]>>16&&(3&t[2])===e){t[2]+=2048;try{o.call(a)}finally{}}}else try{o.call(a)}finally{}}class co{constructor(e,n,r){this.factory=e,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function ta(t,e,n){const r=me(t);let i=0;for(;i<n.length;){const o=n[i];if("number"==typeof o){if(0!==o)break;i++;const s=n[i++],a=n[i++],l=n[i++];r?t.setAttribute(e,a,l,s):e.setAttributeNS(s,a,l)}else{const s=o,a=n[++i];$u(s)?r&&t.setProperty(e,s,a):r?t.setAttribute(e,s,a):e.setAttribute(s,a),i++}}return i}function xp(t){return 3===t||4===t||6===t}function $u(t){return 64===t.charCodeAt(0)}function na(t,e){if(null!==e&&0!==e.length)if(null===t||0===t.length)t=e.slice();else{let n=-1;for(let r=0;r<e.length;r++){const i=e[r];"number"==typeof i?n=i:0===n||Rp(t,n,i,null,-1===n||2===n?e[++r]:null)}}return t}function Rp(t,e,n,r,i){let o=0,s=t.length;if(-1===e)s=-1;else for(;o<t.length;){const a=t[o++];if("number"==typeof a){if(a===e){s=-1;break}if(a>e){s=o-1;break}}}for(;o<t.length;){const a=t[o];if("number"==typeof a)break;if(a===n){if(null===r)return void(null!==i&&(t[o+1]=i));if(r===t[o+1])return void(t[o+2]=i)}o++,null!==r&&o++,null!==i&&o++}-1!==s&&(t.splice(s,0,e),o=s+1),t.splice(o++,0,n),null!==r&&t.splice(o++,0,r),null!==i&&t.splice(o++,0,i)}function Np(t){return-1!==t}function Xr(t){return 32767&t}function ei(t,e){let n=function(t){return t>>16}(t),r=e;for(;n>0;)r=r[15],n--;return r}let Gu=!0;function ra(t){const e=Gu;return Gu=t,e}let Yw=0;function ho(t,e){const n=qu(t,e);if(-1!==n)return n;const r=e[1];r.firstCreatePass&&(t.injectorIndex=e.length,Wu(r.data,t),Wu(e,null),Wu(r.blueprint,null));const i=ia(t,e),o=t.injectorIndex;if(Np(i)){const s=Xr(i),a=ei(i,e),l=a[1].data;for(let u=0;u<8;u++)e[o+u]=a[s+u]|l[s+u]}return e[o+8]=i,o}function Wu(t,e){t.push(0,0,0,0,0,0,0,0,e)}function qu(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===e[t.injectorIndex+8]?-1:t.injectorIndex}function ia(t,e){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let n=0,r=null,i=e;for(;null!==i;){const o=i[1],s=o.type;if(r=2===s?o.declTNode:1===s?i[6]:null,null===r)return-1;if(n++,i=i[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function oa(t,e,n){!function(t,e,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(oo)&&(r=n[oo]),null==r&&(r=n[oo]=Yw++);const i=255&r;e.data[t+(i>>5)]|=1<<i}(t,e,n)}function Pp(t,e,n){if(n&T.Optional)return t;js(e,"NodeInjector")}function Vp(t,e,n,r){if(n&T.Optional&&void 0===r&&(r=null),0==(n&(T.Self|T.Host))){const i=t[9],o=Gn(void 0);try{return i?i.get(e,r,n&T.Optional):tp(e,r,n&T.Optional)}finally{Gn(o)}}return Pp(r,e,n)}function kp(t,e,n,r=T.Default,i){if(null!==t){const o=function(t){if("string"==typeof t)return t.charCodeAt(0)||0;const e=t.hasOwnProperty(oo)?t[oo]:void 0;return"number"==typeof e?e>=0?255&e:Xw:e}(n);if("function"==typeof o){if(!Ep(e,t,r))return r&T.Host?Pp(i,n,r):Vp(e,n,r,i);try{const s=o(r);if(null!=s||r&T.Optional)return s;js(n)}finally{Mp()}}else if("number"==typeof o){let s=null,a=qu(t,e),l=-1,u=r&T.Host?e[16][6]:null;for((-1===a||r&T.SkipSelf)&&(l=-1===a?ia(t,e):e[a+8],-1!==l&&Bp(r,!1)?(s=e[1],a=Xr(l),e=ei(l,e)):a=-1);-1!==a;){const c=e[1];if(jp(o,a,c.data)){const d=e0(a,e,n,s,r,u);if(d!==Lp)return d}l=e[a+8],-1!==l&&Bp(r,e[1].data[a+8]===u)&&jp(o,a,e)?(s=c,a=Xr(l),e=ei(l,e)):a=-1}}}return Vp(e,n,r,i)}const Lp={};function Xw(){return new ti(Ae(),v())}function e0(t,e,n,r,i,o){const s=e[1],a=s.data[t+8],c=sa(a,s,n,null==r?Ws(a)&&Gu:r!=s&&0!=(3&a.type),i&T.Host&&o===a);return null!==c?po(e,s,c,a):Lp}function sa(t,e,n,r,i){const o=t.providerIndexes,s=e.data,a=1048575&o,l=t.directiveStart,c=o>>20,f=i?a+c:t.directiveEnd;for(let h=r?a:a+c;h<f;h++){const p=s[h];if(h<l&&n===p||h>=l&&p.type===n)return h}if(i){const h=s[l];if(h&&$t(h)&&h.type===n)return l}return null}function po(t,e,n,r){let i=t[n];const o=e.data;if(function(t){return t instanceof co}(i)){const s=i;s.resolving&&function(t,e){throw new hr("200",`Circular dependency in DI detected for ${t}`)}(Ke(o[n]));const a=ra(s.canSeeViewProviders);s.resolving=!0;const l=s.injectImpl?Gn(s.injectImpl):null;Ep(t,r,T.Default);try{i=t[n]=s.factory(void 0,o,t,r),e.firstCreatePass&&n>=r.directiveStart&&function(t,e,n){const{ngOnChanges:r,ngOnInit:i,ngDoCheck:o}=e.type.prototype;if(r){const s=up(e);(n.preOrderHooks||(n.preOrderHooks=[])).push(t,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,s)}i&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-t,i),o&&((n.preOrderHooks||(n.preOrderHooks=[])).push(t,o),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,o))}(n,o[n],e)}finally{null!==l&&Gn(l),ra(a),s.resolving=!1,Mp()}}return i}function jp(t,e,n){return!!(n[e+(t>>5)]&1<<t)}function Bp(t,e){return!(t&T.Self||t&T.Host&&e)}class ti{constructor(e,n){this._tNode=e,this._lView=n}get(e,n){return kp(this._tNode,this._lView,e,void 0,n)}}function Tt(t){return Wn(()=>{const e=t.prototype.constructor,n=e[Tn]||zu(e),r=Object.prototype;let i=Object.getPrototypeOf(t.prototype).constructor;for(;i&&i!==r;){const o=i[Tn]||zu(i);if(o&&o!==n)return o;i=Object.getPrototypeOf(i)}return o=>new o})}function zu(t){return Zh(t)?()=>{const e=zu(S(t));return e&&e()}:_r(t)}function go(t){return function(t,e){if("class"===e)return t.classes;if("style"===e)return t.styles;const n=t.attrs;if(n){const r=n.length;let i=0;for(;i<r;){const o=n[i];if(xp(o))break;if(0===o)i+=2;else if("number"==typeof o)for(i++;i<r&&"string"==typeof n[i];)i++;else{if(o===e)return n[i+1];i+=2}}}return null}(Ae(),t)}const ri="__parameters__";function Cr(t,e,n){return Wn(()=>{const r=function(t){return function(...n){if(t){const r=t(...n);for(const i in r)this[i]=r[i]}}}(e);function i(...o){if(this instanceof i)return r.apply(this,o),this;const s=new i(...o);return a.annotation=s,a;function a(l,u,c){const d=l.hasOwnProperty(ri)?l[ri]:Object.defineProperty(l,ri,{value:[]})[ri];for(;d.length<=c;)d.push(null);return(d[c]=d[c]||[]).push(s),l}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=t,i.annotationCls=i,i})}class q{constructor(e,n){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=k({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}toString(){return`InjectionToken ${this._desc}`}}const i0=new q("AnalyzeForEntryComponents"),aa=Function;function xt(t,e){void 0===e&&(e=t);for(let n=0;n<t.length;n++){let r=t[n];Array.isArray(r)?(e===t&&(e=t.slice(0,n)),xt(r,e)):e!==t&&e.push(r)}return e}function hn(t,e){t.forEach(n=>Array.isArray(n)?hn(n,e):e(n))}function ua(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function vr(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function yt(t,e,n){let r=oi(t,e);return r>=0?t[1|r]=n:(r=~r,function(t,e,n,r){let i=t.length;if(i==e)t.push(n,r);else if(1===i)t.push(r,t[0]),t[0]=n;else{for(i--,t.push(t[i-1],t[i]);i>e;)t[i]=t[i-2],i--;t[e]=n,t[e+1]=r}}(t,r,e,n)),r}function Ku(t,e){const n=oi(t,e);if(n>=0)return t[1|n]}function oi(t,e){return function(t,e,n){let r=0,i=t.length>>n;for(;i!==r;){const o=r+(i-r>>1),s=t[o<<n];if(e===s)return o<<n;s>e?i=o:r=o+1}return~(i<<n)}(t,e,1)}const Co={},Zu="__NG_DI_FLAG__",si="ngTempTokenPath",p0=/\n/gm,Ju="__source",Xu=J({provide:String,useValue:J});let vo;function ai(t){const e=vo;return vo=t,e}function m0(t,e=T.Default){if(void 0===vo)throw new Error("inject() must be called from an injection context");return null===vo?tp(t,void 0,e):vo.get(t,e&T.Optional?null:void 0,e)}function D(t,e=T.Default){return(Eu||m0)(S(t),e)}function Dr(t){const e=[];for(let n=0;n<t.length;n++){const r=S(t[n]);if(Array.isArray(r)){if(0===r.length)throw new Error("Arguments array must have arguments.");let i,o=T.Default;for(let s=0;s<r.length;s++){const a=r[s],l=y0(a);"number"==typeof l?-1===l?i=a.token:o|=l:i=a}e.push(D(i,o))}else e.push(D(r))}return e}function Do(t,e){return t[Zu]=e,t.prototype[Zu]=e,t}function y0(t){return t[Zu]}function qp(t,e,n,r){const i=t[si];throw e[Ju]&&i.unshift(e[Ju]),t.message=function(t,e,n,r=null){t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.substr(2):t;let i=$(e);if(Array.isArray(e))i=e.map($).join(" -> ");else if("object"==typeof e){let o=[];for(let s in e)if(e.hasOwnProperty(s)){let a=e[s];o.push(s+":"+("string"==typeof a?JSON.stringify(a):$(a)))}i=`{${o.join(", ")}}`}return`${n}${r?"("+r+")":""}[${i}]: ${t.replace(p0,"\n ")}`}("\n"+t.message,i,n,r),t.ngTokenPath=i,t[si]=null,t}const li=Do(Cr("Inject",t=>({token:t})),-1),lt=Do(Cr("Optional"),8),Jn=Do(Cr("SkipSelf"),4);let ha,pa;function ci(t){var e;return(null===(e=function(){if(void 0===ha&&(ha=null,X.trustedTypes))try{ha=X.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch(t){}return ha}())||void 0===e?void 0:e.createHTML(t))||t}function Zp(t){var e;return(null===(e=function(){if(void 0===pa&&(pa=null,X.trustedTypes))try{pa=X.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch(t){}return pa}())||void 0===e?void 0:e.createHTML(t))||t}class Er{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class S0 extends Er{getTypeName(){return"HTML"}}class T0 extends Er{getTypeName(){return"Style"}}class x0 extends Er{getTypeName(){return"Script"}}class R0 extends Er{getTypeName(){return"URL"}}class N0 extends Er{getTypeName(){return"ResourceURL"}}function _t(t){return t instanceof Er?t.changingThisBreaksApplicationSecurity:t}function pn(t,e){const n=eg(t);if(null!=n&&n!==e){if("ResourceURL"===n&&"URL"===e)return!0;throw new Error(`Required a safe ${e}, got a ${n} (see https://g.co/ng/security#xss)`)}return n===e}function eg(t){return t instanceof Er&&t.getTypeName()||null}class L0{constructor(e){this.inertDocumentHelper=e}getInertBodyElement(e){e="<body><remove></remove>"+e;try{const n=(new window.DOMParser).parseFromString(ci(e),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(e):(n.removeChild(n.firstChild),n)}catch(n){return null}}}class j0{constructor(e){if(this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const n=this.inertDocument.createElement("html");this.inertDocument.appendChild(n);const r=this.inertDocument.createElement("body");n.appendChild(r)}}getInertBodyElement(e){const n=this.inertDocument.createElement("template");if("content"in n)return n.innerHTML=ci(e),n;const r=this.inertDocument.createElement("body");return r.innerHTML=ci(e),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(r),r}stripCustomNsAttrs(e){const n=e.attributes;for(let i=n.length-1;0<i;i--){const s=n.item(i).name;("xmlns:ns1"===s||0===s.indexOf("ns1:"))&&e.removeAttribute(s)}let r=e.firstChild;for(;r;)r.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(r),r=r.nextSibling}}const H0=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi,U0=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;function bo(t){return(t=String(t)).match(H0)||t.match(U0)?t:"unsafe:"+t}function ng(t){return(t=String(t)).split(",").map(e=>bo(e.trim())).join(", ")}function gn(t){const e={};for(const n of t.split(","))e[n]=!0;return e}function wo(...t){const e={};for(const n of t)for(const r in n)n.hasOwnProperty(r)&&(e[r]=!0);return e}const rg=gn("area,br,col,hr,img,wbr"),ig=gn("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),og=gn("rp,rt"),rc=wo(rg,wo(ig,gn("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),wo(og,gn("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),wo(og,ig)),ic=gn("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),oc=gn("srcset"),sg=wo(ic,oc,gn("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),gn("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),$0=gn("script,style,template");class G0{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(e){let n=e.firstChild,r=!0;for(;n;)if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild)n=n.firstChild;else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=this.checkClobberedElement(n,n.nextSibling);if(i){n=i;break}n=this.checkClobberedElement(n,n.parentNode)}return this.buf.join("")}startElement(e){const n=e.nodeName.toLowerCase();if(!rc.hasOwnProperty(n))return this.sanitizedSomething=!0,!$0.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const r=e.attributes;for(let i=0;i<r.length;i++){const o=r.item(i),s=o.name,a=s.toLowerCase();if(!sg.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let l=o.value;ic[a]&&(l=bo(l)),oc[a]&&(l=ng(l)),this.buf.push(" ",s,'="',ag(l),'"')}return this.buf.push(">"),!0}endElement(e){const n=e.nodeName.toLowerCase();rc.hasOwnProperty(n)&&!rg.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(e){this.buf.push(ag(e))}checkClobberedElement(e,n){if(n&&(e.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`);return n}}const W0=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,q0=/([^\#-~ |!])/g;function ag(t){return t.replace(/&/g,"&").replace(W0,function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"}).replace(q0,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}let ga;function lg(t,e){let n=null;try{ga=ga||function(t){const e=new j0(t);return function(){try{return!!(new window.DOMParser).parseFromString(ci(""),"text/html")}catch(t){return!1}}()?new L0(e):e}(t);let r=e?String(e):"";n=ga.getInertBodyElement(r);let i=5,o=r;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,r=o,o=n.innerHTML,n=ga.getInertBodyElement(r)}while(r!==o);return ci((new G0).sanitizeChildren(sc(n)||n))}finally{if(n){const r=sc(n)||n;for(;r.firstChild;)r.removeChild(r.firstChild)}}}function sc(t){return"content"in t&&function(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var ie=(()=>((ie=ie||{})[ie.NONE=0]="NONE",ie[ie.HTML=1]="HTML",ie[ie.STYLE=2]="STYLE",ie[ie.SCRIPT=3]="SCRIPT",ie[ie.URL=4]="URL",ie[ie.RESOURCE_URL=5]="RESOURCE_URL",ie))();function ac(t){const e=Io();return e?Zp(e.sanitize(ie.HTML,t)||""):pn(t,"HTML")?Zp(_t(t)):lg(Ru(),B(t))}function lc(t){const e=Io();return e?e.sanitize(ie.URL,t)||"":pn(t,"URL")?_t(t):bo(B(t))}function Io(){const t=v();return t&&t[12]}const dg="__ngContext__";function Ge(t,e){t[dg]=e}function cc(t){const e=function(t){return t[dg]||null}(t);return e?Array.isArray(e)?e:e.lView:null}function ma(t){return t.ngOriginalError}function uI(t,...e){t.error(...e)}class br{constructor(){this._console=console}handleError(e){const n=this._findOriginalError(e),r=this._findContext(e),i=function(t){return t&&t.ngErrorLogger||uI}(e);i(this._console,"ERROR",e),n&&i(this._console,"ORIGINAL ERROR",n),r&&i(this._console,"ERROR CONTEXT",r)}_findContext(e){return e?function(t){return t.ngDebugContext}(e)||this._findContext(ma(e)):null}_findOriginalError(e){let n=e&&ma(e);for(;n&&ma(n);)n=ma(n);return n||null}}const vg=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(X))();function mn(t){return t instanceof Function?t():t}var Ct=(()=>((Ct=Ct||{})[Ct.Important=1]="Important",Ct[Ct.DashCase=2]="DashCase",Ct))();function hc(t,e){return undefined(t,e)}function Ao(t){const e=t[3];return Ut(e)?e[3]:e}function pc(t){return Ig(t[13])}function gc(t){return Ig(t[4])}function Ig(t){for(;null!==t&&!Ut(t);)t=t[4];return t}function fi(t,e,n,r,i){if(null!=r){let o,s=!1;Ut(r)?o=r:cn(r)&&(s=!0,r=r[0]);const a=be(r);0===t&&null!==n?null==i?Rg(e,n,a):wr(e,n,a,i||null,!0):1===t&&null!==n?wr(e,n,a,i||null,!0):2===t?function(t,e,n){const r=_a(t,e);r&&function(t,e,n,r){me(t)?t.removeChild(e,n,r):e.removeChild(n)}(t,r,e,n)}(e,a,s):3===t&&e.destroyNode(a),null!=o&&function(t,e,n,r,i){const o=n[7];o!==be(n)&&fi(e,t,r,o,i);for(let a=10;a<n.length;a++){const l=n[a];So(l[1],l,t,e,r,o)}}(e,t,o,n,i)}}function yc(t,e,n){return me(t)?t.createElement(e,n):null===n?t.createElement(e):t.createElementNS(n,e)}function Ag(t,e){const n=t[9],r=n.indexOf(e),i=e[3];1024&e[2]&&(e[2]&=-1025,Ou(i,-1)),n.splice(r,1)}function _c(t,e){if(t.length<=10)return;const n=10+e,r=t[n];if(r){const i=r[17];null!==i&&i!==t&&Ag(i,r),e>0&&(t[n-1][4]=r[4]);const o=vr(t,10+e);!function(t,e){So(t,e,e[H],2,null,null),e[0]=null,e[6]=null}(r[1],r);const s=o[19];null!==s&&s.detachView(o[1]),r[3]=null,r[4]=null,r[2]&=-129}return r}function Sg(t,e){if(!(256&e[2])){const n=e[H];me(n)&&n.destroyNode&&So(t,e,n,3,null,null),function(t){let e=t[13];if(!e)return Cc(t[1],t);for(;e;){let n=null;if(cn(e))n=e[13];else{const r=e[10];r&&(n=r)}if(!n){for(;e&&!e[4]&&e!==t;)cn(e)&&Cc(e[1],e),e=e[3];null===e&&(e=t),cn(e)&&Cc(e[1],e),n=e&&e[4]}e=n}}(e)}}function Cc(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<n.length;r+=2){const i=e[n[r]];if(!(i instanceof co)){const o=n[r+1];if(Array.isArray(o))for(let s=0;s<o.length;s+=2){const a=i[o[s]],l=o[s+1];try{l.call(a)}finally{}}else try{o.call(i)}finally{}}}}(t,e),function(t,e){const n=t.cleanup,r=e[7];let i=-1;if(null!==n)for(let o=0;o<n.length-1;o+=2)if("string"==typeof n[o]){const s=n[o+1],a="function"==typeof s?s(e):be(e[s]),l=r[i=n[o+2]],u=n[o+3];"boolean"==typeof u?a.removeEventListener(n[o],l,u):u>=0?r[i=u]():r[i=-u].unsubscribe(),o+=2}else{const s=r[i=n[o+1]];n[o].call(s)}if(null!==r){for(let o=i+1;o<r.length;o++)r[o]();e[7]=null}}(t,e),1===e[1].type&&me(e[H])&&e[H].destroy();const n=e[17];if(null!==n&&Ut(e[3])){n!==e[3]&&Ag(n,e);const r=e[19];null!==r&&r.detachView(t)}}}function Tg(t,e,n){return function(t,e,n){let r=e;for(;null!==r&&40&r.type;)r=(e=r).parent;if(null===r)return n[0];if(2&r.flags){const i=t.data[r.directiveStart].encapsulation;if(i===Me.None||i===Me.Emulated)return null}return St(r,n)}(t,e.parent,n)}function wr(t,e,n,r,i){me(t)?t.insertBefore(e,n,r,i):e.insertBefore(n,r,i)}function Rg(t,e,n){me(t)?t.appendChild(e,n):e.appendChild(n)}function Ng(t,e,n,r,i){null!==r?wr(t,e,n,r,i):Rg(t,e,n)}function _a(t,e){return me(t)?t.parentNode(e):e.parentNode}let Pg=function(t,e,n){return 40&t.type?St(t,n):null};function Ca(t,e,n,r){const i=Tg(t,r,e),o=e[H],a=function(t,e,n){return Pg(t,e,n)}(r.parent||e[6],r,e);if(null!=i)if(Array.isArray(n))for(let l=0;l<n.length;l++)Ng(o,i,n[l],a,!1);else Ng(o,i,n,a,!1)}function va(t,e){if(null!==e){const n=e.type;if(3&n)return St(e,t);if(4&n)return Dc(-1,t[e.index]);if(8&n){const r=e.child;if(null!==r)return va(t,r);{const i=t[e.index];return Ut(i)?Dc(-1,i):be(i)}}if(32&n)return hc(e,t)()||be(t[e.index]);{const r=kg(t,e);return null!==r?Array.isArray(r)?r[0]:va(Ao(t[16]),r):va(t,e.next)}}return null}function kg(t,e){return null!==e?t[16][6].projection[e.projection]:null}function Dc(t,e){const n=10+t+1;if(n<e.length){const r=e[n],i=r[1].firstChild;if(null!==i)return va(r,i)}return e[7]}function Ec(t,e,n,r,i,o,s){for(;null!=n;){const a=r[n.index],l=n.type;if(s&&0===e&&(a&&Ge(be(a),r),n.flags|=4),64!=(64&n.flags))if(8&l)Ec(t,e,n.child,r,i,o,!1),fi(e,t,i,a,o);else if(32&l){const u=hc(n,r);let c;for(;c=u();)fi(e,t,i,c,o);fi(e,t,i,a,o)}else 16&l?jg(t,e,r,n,i,o):fi(e,t,i,a,o);n=s?n.projectionNext:n.next}}function So(t,e,n,r,i,o){Ec(n,r,t.firstChild,e,i,o,!1)}function jg(t,e,n,r,i,o){const s=n[16],l=s[6].projection[r.projection];if(Array.isArray(l))for(let u=0;u<l.length;u++)fi(e,t,i,l[u],o);else Ec(t,e,l,s[3],i,o,!0)}function Bg(t,e,n){me(t)?t.setAttribute(e,"style",n):e.style.cssText=n}function bc(t,e,n){me(t)?""===n?t.removeAttribute(e,"class"):t.setAttribute(e,"class",n):e.className=n}function Hg(t,e,n){let r=t.length;for(;;){const i=t.indexOf(e,n);if(-1===i)return i;if(0===i||t.charCodeAt(i-1)<=32){const o=e.length;if(i+o===r||t.charCodeAt(i+o)<=32)return i}n=i+1}}const Ug="ng-template";function PI(t,e,n){let r=0;for(;r<t.length;){let i=t[r++];if(n&&"class"===i){if(i=t[r],-1!==Hg(i.toLowerCase(),e,0))return!0}else if(1===i){for(;r<t.length&&"string"==typeof(i=t[r++]);)if(i.toLowerCase()===e)return!0;return!1}}return!1}function $g(t){return 4===t.type&&t.value!==Ug}function VI(t,e,n){return e===(4!==t.type||n?t.value:Ug)}function kI(t,e,n){let r=4;const i=t.attrs||[],o=function(t){for(let e=0;e<t.length;e++)if(xp(t[e]))return e;return t.length}(i);let s=!1;for(let a=0;a<e.length;a++){const l=e[a];if("number"!=typeof l){if(!s)if(4&r){if(r=2|1&r,""!==l&&!VI(t,l,n)||""===l&&1===e.length){if(Gt(r))return!1;s=!0}}else{const u=8&r?l:e[++a];if(8&r&&null!==t.attrs){if(!PI(t.attrs,u,n)){if(Gt(r))return!1;s=!0}continue}const d=LI(8&r?"class":l,i,$g(t),n);if(-1===d){if(Gt(r))return!1;s=!0;continue}if(""!==u){let f;f=d>o?"":i[d+1].toLowerCase();const h=8&r?f:null;if(h&&-1!==Hg(h,u,0)||2&r&&u!==f){if(Gt(r))return!1;s=!0}}}}else{if(!s&&!Gt(r)&&!Gt(l))return!1;if(s&&Gt(l))continue;s=!1,r=l|1&r}}return Gt(r)||s}function Gt(t){return 0==(1&t)}function LI(t,e,n,r){if(null===e)return-1;let i=0;if(r||!n){let o=!1;for(;i<e.length;){const s=e[i];if(s===t)return i;if(3===s||6===s)o=!0;else{if(1===s||2===s){let a=e[++i];for(;"string"==typeof a;)a=e[++i];continue}if(4===s)break;if(0===s){i+=4;continue}}i+=o?1:2}return-1}return function(t,e){let n=t.indexOf(4);if(n>-1)for(n++;n<t.length;){const r=t[n];if("number"==typeof r)return-1;if(r===e)return n;n++}return-1}(e,t)}function Gg(t,e,n=!1){for(let r=0;r<e.length;r++)if(kI(t,e[r],n))return!0;return!1}function Wg(t,e){return t?":not("+e.trim()+")":e}function $I(t){let e=t[0],n=1,r=2,i="",o=!1;for(;n<t.length;){let s=t[n];if("string"==typeof s)if(2&r){const a=t[++n];i+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else 8&r?i+="."+s:4&r&&(i+=" "+s);else""!==i&&!Gt(s)&&(e+=Wg(o,i),i=""),r=s,o=o||!Gt(r);n++}return""!==i&&(e+=Wg(o,i)),e}const L={};function Te(t){qg(Z(),v(),Xe()+t,Qs())}function qg(t,e,n,r){if(!r)if(3==(3&e[2])){const o=t.preOrderCheckHooks;null!==o&&Xs(e,o,n)}else{const o=t.preOrderHooks;null!==o&&ea(e,o,0,n)}Kn(n)}function Da(t,e){return t<<17|e<<2}function Wt(t){return t>>17&32767}function wc(t){return 2|t}function Rn(t){return(131068&t)>>2}function Ic(t,e){return-131069&t|e<<2}function Mc(t){return 1|t}function nm(t,e){const n=t.contentQueries;if(null!==n)for(let r=0;r<n.length;r+=2){const i=n[r],o=n[r+1];if(-1!==o){const s=t.data[o];Bu(i),s.contentQueries(2,e[o],o)}}}function To(t,e,n,r,i,o,s,a,l,u){const c=e.blueprint.slice();return c[0]=i,c[2]=140|r,mp(c),c[3]=c[15]=t,c[8]=n,c[10]=s||t&&t[10],c[H]=a||t&&t[H],c[12]=l||t&&t[12]||null,c[9]=u||t&&t[9]||null,c[6]=o,c[16]=2==e.type?t[16]:c,c}function hi(t,e,n,r,i){let o=t.data[e];if(null===o)o=function(t,e,n,r,i){const o=_p(),s=Vu(),l=t.data[e]=function(t,e,n,r,i,o){return{type:n,index:r,insertBeforeIndex:null,injectorIndex:e?e.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:i,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,s?o:o&&o.parent,n,e,r,i);return null===t.firstChild&&(t.firstChild=l),null!==o&&(s?null==o.child&&null!==l.parent&&(o.child=l):null===o.next&&(o.next=l)),l}(t,e,n,r,i),O.lFrame.inI18n&&(o.flags|=64);else if(64&o.type){o.type=n,o.value=r,o.attrs=i;const s=function(){const t=O.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}();o.injectorIndex=null===s?-1:s.injectorIndex}return dn(o,!0),o}function pi(t,e,n,r){if(0===n)return-1;const i=e.length;for(let o=0;o<n;o++)e.push(r),t.blueprint.push(r),t.data.push(null);return i}function xo(t,e,n){Ys(e);try{const r=t.viewQuery;null!==r&&Uc(1,r,n);const i=t.template;null!==i&&rm(t,e,i,1,n),t.firstCreatePass&&(t.firstCreatePass=!1),t.staticContentQueries&&nm(t,e),t.staticViewQueries&&Uc(2,t.viewQuery,n);const o=t.components;null!==o&&function(t,e){for(let n=0;n<e.length;n++)EM(t,e[n])}(e,o)}catch(r){throw t.firstCreatePass&&(t.incompleteFirstPass=!0,t.firstCreatePass=!1),r}finally{e[2]&=-5,Zs()}}function gi(t,e,n,r){const i=e[2];if(256==(256&i))return;Ys(e);const o=Qs();try{mp(e),function(t){O.lFrame.bindingIndex=t}(t.bindingStartIndex),null!==n&&rm(t,e,n,2,r);const s=3==(3&i);if(!o)if(s){const u=t.preOrderCheckHooks;null!==u&&Xs(e,u,null)}else{const u=t.preOrderHooks;null!==u&&ea(e,u,0,null),Hu(e,0)}if(function(t){for(let e=pc(t);null!==e;e=gc(e)){if(!e[2])continue;const n=e[9];for(let r=0;r<n.length;r++){const i=n[r],o=i[3];0==(1024&i[2])&&Ou(o,1),i[2]|=1024}}}(e),function(t){for(let e=pc(t);null!==e;e=gc(e))for(let n=10;n<e.length;n++){const r=e[n],i=r[1];Fu(r)&&gi(i,r,i.template,r[8])}}(e),null!==t.contentQueries&&nm(t,e),!o)if(s){const u=t.contentCheckHooks;null!==u&&Xs(e,u)}else{const u=t.contentHooks;null!==u&&ea(e,u,1),Hu(e,1)}!function(t,e){const n=t.hostBindingOpCodes;if(null!==n)try{for(let r=0;r<n.length;r++){const i=n[r];if(i<0)Kn(~i);else{const o=i,s=n[++r],a=n[++r];Pw(s,o),a(2,e[o])}}}finally{Kn(-1)}}(t,e);const a=t.components;null!==a&&function(t,e){for(let n=0;n<e.length;n++)DM(t,e[n])}(e,a);const l=t.viewQuery;if(null!==l&&Uc(2,l,r),!o)if(s){const u=t.viewCheckHooks;null!==u&&Xs(e,u)}else{const u=t.viewHooks;null!==u&&ea(e,u,2),Hu(e,2)}!0===t.firstUpdatePass&&(t.firstUpdatePass=!1),o||(e[2]&=-73),1024&e[2]&&(e[2]&=-1025,Ou(e[3],-1))}finally{Zs()}}function nM(t,e,n,r){const i=e[10],o=!Qs(),s=gp(e);try{o&&!s&&i.begin&&i.begin(),s&&xo(t,e,r),gi(t,e,n,r)}finally{o&&!s&&i.end&&i.end()}}function rm(t,e,n,r,i){const o=Xe(),s=2&r;try{Kn(-1),s&&e.length>20&&qg(t,e,20,Qs()),n(r,i)}finally{Kn(o)}}function im(t,e,n){if(Au(e)){const i=e.directiveEnd;for(let o=e.directiveStart;o<i;o++){const s=t.data[o];s.contentQueries&&s.contentQueries(1,n[o],o)}}}function Oc(t,e,n){!yp()||(function(t,e,n,r){const i=n.directiveStart,o=n.directiveEnd;t.firstCreatePass||ho(n,e),Ge(r,e);const s=n.initialInputs;for(let a=i;a<o;a++){const l=t.data[a],u=$t(l);u&&mM(e,n,l);const c=po(e,t,a,n);Ge(c,e),null!==s&&yM(0,a-i,c,l,0,s),u&&(mt(n.index,e)[8]=c)}}(t,e,n,St(n,e)),128==(128&n.flags)&&function(t,e,n){const r=n.directiveStart,i=n.directiveEnd,s=n.index,a=O.lFrame.currentDirectiveIndex;try{Kn(s);for(let l=r;l<i;l++){const u=t.data[l],c=e[l];Lu(l),(null!==u.hostBindings||0!==u.hostVars||null!==u.hostAttrs)&&fm(u,c)}}finally{Kn(-1),Lu(a)}}(t,e,n))}function Pc(t,e,n=St){const r=e.localNames;if(null!==r){let i=e.index+1;for(let o=0;o<r.length;o+=2){const s=r[o+1],a=-1===s?n(e,t):t[s];t[i++]=a}}}function om(t){const e=t.tView;return null===e||e.incompleteFirstPass?t.tView=wa(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts):e}function wa(t,e,n,r,i,o,s,a,l,u){const c=20+r,d=c+i,f=function(t,e){const n=[];for(let r=0;r<e;r++)n.push(r<t?null:L);return n}(c,d),h="function"==typeof u?u():u;return f[1]={type:t,blueprint:f,template:n,queries:null,viewQuery:a,declTNode:e,data:f.slice().fill(null,c),bindingStartIndex:c,expandoStartIndex:d,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof o?o():o,pipeRegistry:"function"==typeof s?s():s,firstChild:null,schemas:l,consts:h,incompleteFirstPass:!1}}function lm(t,e,n,r){const i=_m(e);null===n?i.push(r):(i.push(n),t.firstCreatePass&&Cm(t).push(r,i.length-1))}function um(t,e,n){for(let r in t)if(t.hasOwnProperty(r)){const i=t[r];(n=null===n?{}:n).hasOwnProperty(r)?n[r].push(e,i):n[r]=[e,i]}return n}function vt(t,e,n,r,i,o,s,a){const l=St(e,n);let c,u=e.inputs;!a&&null!=u&&(c=u[r])?(Em(t,n,c,r,i),Ws(e)&&function(t,e){const n=mt(e,t);16&n[2]||(n[2]|=64)}(n,e.index)):3&e.type&&(r=function(t){return"class"===t?"className":"for"===t?"htmlFor":"formaction"===t?"formAction":"innerHtml"===t?"innerHTML":"readonly"===t?"readOnly":"tabindex"===t?"tabIndex":t}(r),i=null!=s?s(i,e.value||"",r):i,me(o)?o.setProperty(l,r,i):$u(r)||(l.setProperty?l.setProperty(r,i):l[r]=i))}function Vc(t,e,n,r){let i=!1;if(yp()){const o=function(t,e,n){const r=t.directiveRegistry;let i=null;if(r)for(let o=0;o<r.length;o++){const s=r[o];Gg(n,s.selectors,!1)&&(i||(i=[]),oa(ho(n,e),t,s.type),$t(s)?(hm(t,n),i.unshift(s)):i.push(s))}return i}(t,e,n),s=null===r?null:{"":-1};if(null!==o){i=!0,pm(n,t.data.length,o.length);for(let c=0;c<o.length;c++){const d=o[c];d.providersResolver&&d.providersResolver(d)}let a=!1,l=!1,u=pi(t,e,o.length,null);for(let c=0;c<o.length;c++){const d=o[c];n.mergedAttrs=na(n.mergedAttrs,d.hostAttrs),gm(t,n,e,u,d),gM(u,d,s),null!==d.contentQueries&&(n.flags|=8),(null!==d.hostBindings||null!==d.hostAttrs||0!==d.hostVars)&&(n.flags|=128);const f=d.type.prototype;!a&&(f.ngOnChanges||f.ngOnInit||f.ngDoCheck)&&((t.preOrderHooks||(t.preOrderHooks=[])).push(n.index),a=!0),!l&&(f.ngOnChanges||f.ngDoCheck)&&((t.preOrderCheckHooks||(t.preOrderCheckHooks=[])).push(n.index),l=!0),u++}!function(t,e){const r=e.directiveEnd,i=t.data,o=e.attrs,s=[];let a=null,l=null;for(let u=e.directiveStart;u<r;u++){const c=i[u],d=c.inputs,f=null===o||$g(e)?null:_M(d,o);s.push(f),a=um(d,u,a),l=um(c.outputs,u,l)}null!==a&&(a.hasOwnProperty("class")&&(e.flags|=16),a.hasOwnProperty("style")&&(e.flags|=32)),e.initialInputs=s,e.inputs=a,e.outputs=l}(t,n)}s&&function(t,e,n){if(e){const r=t.localNames=[];for(let i=0;i<e.length;i+=2){const o=n[e[i+1]];if(null==o)throw new hr("301",`Export of name '${e[i+1]}' not found!`);r.push(e[i],o)}}}(n,r,s)}return n.mergedAttrs=na(n.mergedAttrs,n.attrs),i}function dm(t,e,n,r,i,o){const s=o.hostBindings;if(s){let a=t.hostBindingOpCodes;null===a&&(a=t.hostBindingOpCodes=[]);const l=~e.index;(function(t){let e=t.length;for(;e>0;){const n=t[--e];if("number"==typeof n&&n<0)return n}return 0})(a)!=l&&a.push(l),a.push(r,i,s)}}function fm(t,e){null!==t.hostBindings&&t.hostBindings(1,e)}function hm(t,e){e.flags|=2,(t.components||(t.components=[])).push(e.index)}function gM(t,e,n){if(n){if(e.exportAs)for(let r=0;r<e.exportAs.length;r++)n[e.exportAs[r]]=t;$t(e)&&(n[""]=t)}}function pm(t,e,n){t.flags|=1,t.directiveStart=e,t.directiveEnd=e+n,t.providerIndexes=e}function gm(t,e,n,r,i){t.data[r]=i;const o=i.factory||(i.factory=_r(i.type)),s=new co(o,$t(i),null);t.blueprint[r]=s,n[r]=s,dm(t,e,0,r,pi(t,n,i.hostVars,L),i)}function mM(t,e,n){const r=St(e,t),i=om(n),o=t[10],s=Ia(t,To(t,i,null,n.onPush?64:16,r,e,o,o.createRenderer(r,n),null,null));t[e.index]=s}function yn(t,e,n,r,i,o){const s=St(t,e);!function(t,e,n,r,i,o,s){if(null==o)me(t)?t.removeAttribute(e,i,n):e.removeAttribute(i);else{const a=null==s?B(o):s(o,r||"",i);me(t)?t.setAttribute(e,i,a,n):n?e.setAttributeNS(n,i,a):e.setAttribute(i,a)}}(e[H],s,o,t.value,n,r,i)}function yM(t,e,n,r,i,o){const s=o[e];if(null!==s){const a=r.setInput;for(let l=0;l<s.length;){const u=s[l++],c=s[l++],d=s[l++];null!==a?r.setInput(n,d,u,c):n[c]=d}}}function _M(t,e){let n=null,r=0;for(;r<e.length;){const i=e[r];if(0!==i)if(5!==i){if("number"==typeof i)break;t.hasOwnProperty(i)&&(null===n&&(n=[]),n.push(i,t[i],e[r+1])),r+=2}else r+=2;else r+=4}return n}function mm(t,e,n,r){return new Array(t,!0,!1,e,null,0,r,n,null,null)}function DM(t,e){const n=mt(e,t);if(Fu(n)){const r=n[1];80&n[2]?gi(r,n,r.template,n[8]):n[5]>0&&Lc(n)}}function Lc(t){for(let r=pc(t);null!==r;r=gc(r))for(let i=10;i<r.length;i++){const o=r[i];if(1024&o[2]){const s=o[1];gi(s,o,s.template,o[8])}else o[5]>0&&Lc(o)}const n=t[1].components;if(null!==n)for(let r=0;r<n.length;r++){const i=mt(n[r],t);Fu(i)&&i[5]>0&&Lc(i)}}function EM(t,e){const n=mt(e,t),r=n[1];(function(t,e){for(let n=e.length;n<t.blueprint.length;n++)e.push(t.blueprint[n])})(r,n),xo(r,n,n[8])}function Ia(t,e){return t[13]?t[14][4]=e:t[13]=e,t[14]=e,e}function jc(t){for(;t;){t[2]|=64;const e=Ao(t);if(mw(t)&&!e)return t;t=e}return null}function Hc(t,e,n){const r=e[10];r.begin&&r.begin();try{gi(t,e,t.template,n)}catch(i){throw Dm(e,i),i}finally{r.end&&r.end()}}function ym(t){!function(t){for(let e=0;e<t.components.length;e++){const n=t.components[e],r=cc(n),i=r[1];nM(i,r,i.template,n)}}(t[8])}function Uc(t,e,n){Bu(0),e(t,n)}const AM=(()=>Promise.resolve(null))();function _m(t){return t[7]||(t[7]=[])}function Cm(t){return t.cleanup||(t.cleanup=[])}function Dm(t,e){const n=t[9],r=n?n.get(br,null):null;r&&r.handleError(e)}function Em(t,e,n,r,i){for(let o=0;o<n.length;){const s=n[o++],a=n[o++],l=e[s],u=t.data[s];null!==u.setInput?u.setInput(l,i,r,a):l[a]=i}}function Fn(t,e,n){const r=zs(e,t);!function(t,e,n){me(t)?t.setValue(e,n):e.textContent=n}(t[H],r,n)}function Ma(t,e,n){let r=n?t.styles:null,i=n?t.classes:null,o=0;if(null!==e)for(let s=0;s<e.length;s++){const a=e[s];"number"==typeof a?o=a:1==o?i=Cu(i,a):2==o&&(r=Cu(r,a+": "+e[++s]+";"))}n?t.styles=r:t.stylesWithoutHost=r,n?t.classes=i:t.classesWithoutHost=i}const mi=new q("INJECTOR",-1);class bm{get(e,n=Co){if(n===Co){const r=new Error(`NullInjectorError: No provider for ${$(e)}!`);throw r.name="NullInjectorError",r}return n}}const Ro=new q("Set Injector scope."),No={},xM={};let $c;function wm(){return void 0===$c&&($c=new bm),$c}function Im(t,e=null,n=null,r){return new NM(t,n,e||wm(),r)}class NM{constructor(e,n,r,i=null){this.parent=r,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const o=[];n&&hn(n,a=>this.processProvider(a,e,n)),hn([e],a=>this.processInjectorType(a,[],o)),this.records.set(mi,yi(void 0,this));const s=this.records.get(Ro);this.scope=null!=s?s.value:null,this.source=i||("object"==typeof e?null:$(e))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(e=>e.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(e,n=Co,r=T.Default){this.assertNotDestroyed();const i=ai(this),o=Gn(void 0);try{if(!(r&T.SkipSelf)){let a=this.records.get(e);if(void 0===a){const l=function(t){return"function"==typeof t||"object"==typeof t&&t instanceof q}(e)&&Sn(e);a=l&&this.injectableDefInScope(l)?yi(Gc(e),No):null,this.records.set(e,a)}if(null!=a)return this.hydrate(e,a)}return(r&T.Self?wm():this.parent).get(e,n=r&T.Optional&&n===Co?null:n)}catch(s){if("NullInjectorError"===s.name){if((s[si]=s[si]||[]).unshift($(e)),i)throw s;return qp(s,e,"R3InjectorError",this.source)}throw s}finally{Gn(o),ai(i)}}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(e=>this.get(e))}toString(){const e=[];return this.records.forEach((r,i)=>e.push($(i))),`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(e,n,r){if(!(e=S(e)))return!1;let i=Xh(e);const o=null==i&&e.ngModule||void 0,s=void 0===o?e:o,a=-1!==r.indexOf(s);if(void 0!==o&&(i=Xh(o)),null==i)return!1;if(null!=i.imports&&!a){let c;r.push(s);try{hn(i.imports,d=>{this.processInjectorType(d,n,r)&&(void 0===c&&(c=[]),c.push(d))})}finally{}if(void 0!==c)for(let d=0;d<c.length;d++){const{ngModule:f,providers:h}=c[d];hn(h,p=>this.processProvider(p,f,h||re))}}this.injectorDefTypes.add(s);const l=_r(s)||(()=>new s);this.records.set(s,yi(l,No));const u=i.providers;if(null!=u&&!a){const c=e;hn(u,d=>this.processProvider(d,c,u))}return void 0!==o&&void 0!==e.providers}processProvider(e,n,r){let i=_i(e=S(e))?e:S(e&&e.provide);const o=function(t,e,n){return Am(t)?yi(void 0,t.useValue):yi(Mm(t),No)}(e);if(_i(e)||!0!==e.multi)this.records.get(i);else{let s=this.records.get(i);s||(s=yi(void 0,No,!0),s.factory=()=>Dr(s.multi),this.records.set(i,s)),i=e,s.multi.push(e)}this.records.set(i,o)}hydrate(e,n){return n.value===No&&(n.value=xM,n.value=n.factory()),"object"==typeof n.value&&n.value&&function(t){return null!==t&&"object"==typeof t&&"function"==typeof t.ngOnDestroy}(n.value)&&this.onDestroy.add(n.value),n.value}injectableDefInScope(e){if(!e.providedIn)return!1;const n=S(e.providedIn);return"string"==typeof n?"any"===n||n===this.scope:this.injectorDefTypes.has(n)}}function Gc(t){const e=Sn(t),n=null!==e?e.factory:_r(t);if(null!==n)return n;if(t instanceof q)throw new Error(`Token ${$(t)} is missing a \u0275prov definition.`);if(t instanceof Function)return function(t){const e=t.length;if(e>0){const r=function(t,e){const n=[];for(let r=0;r<t;r++)n.push(e);return n}(e,"?");throw new Error(`Can't resolve all parameters for ${$(t)}: (${r.join(", ")}).`)}const n=function(t){const e=t&&(t[Bs]||t[ep]);if(e){const n=function(t){if(t.hasOwnProperty("name"))return t.name;const e=(""+t).match(/^function\s*([^\s(]+)/);return null===e?"":e[1]}(t);return console.warn(`DEPRECATED: DI is instantiating a token "${n}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${n}" class.`),e}return null}(t);return null!==n?()=>n.factory(t):()=>new t}(t);throw new Error("unreachable")}function Mm(t,e,n){let r;if(_i(t)){const i=S(t);return _r(i)||Gc(i)}if(Am(t))r=()=>S(t.useValue);else if(function(t){return!(!t||!t.useFactory)}(t))r=()=>t.useFactory(...Dr(t.deps||[]));else if(function(t){return!(!t||!t.useExisting)}(t))r=()=>D(S(t.useExisting));else{const i=S(t&&(t.useClass||t.provide));if(!function(t){return!!t.deps}(t))return _r(i)||Gc(i);r=()=>new i(...Dr(t.deps))}return r}function yi(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function Am(t){return null!==t&&"object"==typeof t&&Xu in t}function _i(t){return"function"==typeof t}const Sm=function(t,e,n){return function(t,e=null,n=null,r){const i=Im(t,e,n,r);return i._resolveInjectorDefTypes(),i}({name:n},e,t,n)};let ee=(()=>{class t{static create(n,r){return Array.isArray(n)?Sm(n,r,""):Sm(n.providers,n.parent,n.name||"")}}return t.THROW_IF_NOT_FOUND=Co,t.NULL=new bm,t.\u0275prov=k({token:t,providedIn:"any",factory:()=>D(mi)}),t.__NG_ELEMENT_ID__=-1,t})();function XM(t,e){Js(cc(t)[1],Ae())}function ue(t){let e=function(t){return Object.getPrototypeOf(t.prototype).constructor}(t.type),n=!0;const r=[t];for(;e;){let i;if($t(t))i=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new Error("Directives cannot inherit Components");i=e.\u0275dir}if(i){if(n){r.push(i);const s=t;s.inputs=Yc(t.inputs),s.declaredInputs=Yc(t.declaredInputs),s.outputs=Yc(t.outputs);const a=i.hostBindings;a&&rA(t,a);const l=i.viewQuery,u=i.contentQueries;if(l&&tA(t,l),u&&nA(t,u),_u(t.inputs,i.inputs),_u(t.declaredInputs,i.declaredInputs),_u(t.outputs,i.outputs),$t(i)&&i.data.animation){const c=t.data;c.animation=(c.animation||[]).concat(i.data.animation)}}const o=i.features;if(o)for(let s=0;s<o.length;s++){const a=o[s];a&&a.ngInherit&&a(t),a===ue&&(n=!1)}}e=Object.getPrototypeOf(e)}!function(t){let e=0,n=null;for(let r=t.length-1;r>=0;r--){const i=t[r];i.hostVars=e+=i.hostVars,i.hostAttrs=na(i.hostAttrs,n=na(n,i.hostAttrs))}}(r)}function Yc(t){return t===qr?{}:t===re?[]:t}function tA(t,e){const n=t.viewQuery;t.viewQuery=n?(r,i)=>{e(r,i),n(r,i)}:e}function nA(t,e){const n=t.contentQueries;t.contentQueries=n?(r,i,o)=>{e(r,i,o),n(r,i,o)}:e}function rA(t,e){const n=t.hostBindings;t.hostBindings=n?(r,i)=>{e(r,i),n(r,i)}:e}let Aa=null;function Ci(){if(!Aa){const t=X.Symbol;if(t&&t.iterator)Aa=t.iterator;else{const e=Object.getOwnPropertyNames(Map.prototype);for(let n=0;n<e.length;++n){const r=e[n];"entries"!==r&&"size"!==r&&Map.prototype[r]===Map.prototype.entries&&(Aa=r)}}}return Aa}class zt{constructor(e){this.wrapped=e}static wrap(e){return new zt(e)}static unwrap(e){return zt.isWrapped(e)?e.wrapped:e}static isWrapped(e){return e instanceof zt}}function Oo(t){return!!Zc(t)&&(Array.isArray(t)||!(t instanceof Map)&&Ci()in t)}function Zc(t){return null!==t&&("function"==typeof t||"object"==typeof t)}function We(t,e,n){return!Object.is(t[e],n)&&(t[e]=n,!0)}function Cn(t,e,n,r){const i=v();return We(i,Jr(),e)&&(Z(),yn(ye(),i,t,e,n,r)),Cn}function tr(t,e,n,r,i,o,s,a){const l=v(),u=Z(),c=t+20,d=u.firstCreatePass?function(t,e,n,r,i,o,s,a,l){const u=e.consts,c=hi(e,t,4,s||null,Qn(u,a));Vc(e,n,c,Qn(u,l)),Js(e,c);const d=c.tViews=wa(2,c,r,i,o,e.directiveRegistry,e.pipeRegistry,null,e.schemas,u);return null!==e.queries&&(e.queries.template(e,c),d.queries=e.queries.embeddedTView(c)),c}(c,u,l,e,n,r,i,o,s):u.data[c];dn(d,!1);const f=l[H].createComment("");Ca(u,l,f,d),Ge(f,l),Ia(l,l[c]=mm(f,l,f,d)),qs(d)&&Oc(u,l,d),null!=s&&Pc(l,d,a)}function C(t,e=T.Default){const n=v();return null===n?D(t,e):kp(Ae(),n,S(t),e)}function ut(t,e,n){const r=v();return We(r,Jr(),e)&&vt(Z(),ye(),r,t,e,r[H],n,!1),ut}function nd(t,e,n,r,i){const s=i?"class":"style";Em(t,n,e.inputs[s],s,r)}function M(t,e,n,r){const i=v(),o=Z(),s=20+t,a=i[H],l=i[s]=yc(a,e,O.lFrame.currentNamespace),u=o.firstCreatePass?function(t,e,n,r,i,o,s){const a=e.consts,u=hi(e,t,2,i,Qn(a,o));return Vc(e,n,u,Qn(a,s)),null!==u.attrs&&Ma(u,u.attrs,!1),null!==u.mergedAttrs&&Ma(u,u.mergedAttrs,!0),null!==e.queries&&e.queries.elementStart(e,u),u}(s,o,i,0,e,n,r):o.data[s];dn(u,!0);const c=u.mergedAttrs;null!==c&&ta(a,l,c);const d=u.classes;null!==d&&bc(a,l,d);const f=u.styles;null!==f&&Bg(a,l,f),64!=(64&u.flags)&&Ca(o,i,l,u),0===O.lFrame.elementDepthCount&&Ge(l,i),O.lFrame.elementDepthCount++,qs(u)&&(Oc(o,i,u),im(o,u,i)),null!==r&&Pc(i,u)}function A(){let t=Ae();Vu()?ku():(t=t.parent,dn(t,!1));const e=t;O.lFrame.elementDepthCount--;const n=Z();n.firstCreatePass&&(Js(n,t),Au(t)&&n.queries.elementEnd(t)),null!=e.classesWithoutHost&&function(t){return 0!=(16&t.flags)}(e)&&nd(n,e,v(),e.classesWithoutHost,!0),null!=e.stylesWithoutHost&&function(t){return 0!=(32&t.flags)}(e)&&nd(n,e,v(),e.stylesWithoutHost,!1)}function tt(t,e,n,r){M(t,e,n,r),A()}function Vo(t,e,n){const r=v(),i=Z(),o=t+20,s=i.firstCreatePass?function(t,e,n,r,i){const o=e.consts,s=Qn(o,r),a=hi(e,t,8,"ng-container",s);return null!==s&&Ma(a,s,!0),Vc(e,n,a,Qn(o,i)),null!==e.queries&&e.queries.elementStart(e,a),a}(o,i,r,e,n):i.data[o];dn(s,!0);const a=r[o]=r[H].createComment("");Ca(i,r,a,s),Ge(a,r),qs(s)&&(Oc(i,r,s),im(i,s,r)),null!=n&&Pc(r,s)}function ko(){let t=Ae();const e=Z();Vu()?ku():(t=t.parent,dn(t,!1)),e.firstCreatePass&&(Js(e,t),Au(t)&&e.queries.elementEnd(t))}function rd(){return v()}function Lo(t){return!!t&&"function"==typeof t.then}const xa=function(t){return!!t&&"function"==typeof t.subscribe};function Be(t,e,n,r){const i=v(),o=Z(),s=Ae();return function(t,e,n,r,i,o,s,a){const l=qs(r),c=t.firstCreatePass&&Cm(t),d=e[8],f=_m(e);let h=!0;if(3&r.type||a){const g=St(r,e),_=a?a(g):g,y=f.length,w=a?I=>a(be(I[r.index])):r.index;if(me(n)){let I=null;if(!a&&l&&(I=function(t,e,n,r){const i=t.cleanup;if(null!=i)for(let o=0;o<i.length-1;o+=2){const s=i[o];if(s===n&&i[o+1]===r){const a=e[7],l=i[o+2];return a.length>l?a[l]:null}"string"==typeof s&&(o+=2)}return null}(t,e,i,r.index)),null!==I)(I.__ngLastListenerFn__||I).__ngNextListenerFn__=o,I.__ngLastListenerFn__=o,h=!1;else{o=id(r,e,d,o,!1);const G=n.listen(_,i,o);f.push(o,G),c&&c.push(i,w,y,y+1)}}else o=id(r,e,d,o,!0),_.addEventListener(i,o,s),f.push(o),c&&c.push(i,w,y,s)}else o=id(r,e,d,o,!1);const p=r.outputs;let m;if(h&&null!==p&&(m=p[i])){const g=m.length;if(g)for(let _=0;_<g;_+=2){const Oe=e[m[_]][m[_+1]].subscribe(o),jt=f.length;f.push(o,Oe),c&&c.push(i,r.index,jt,-(jt+1))}}}(o,i,i[H],s,t,e,!!n,r),Be}function gy(t,e,n,r){try{return!1!==n(r)}catch(i){return Dm(t,i),!1}}function id(t,e,n,r,i){return function o(s){if(s===Function)return r;const a=2&t.flags?mt(t.index,e):e;0==(32&e[2])&&jc(a);let l=gy(e,0,r,s),u=o.__ngNextListenerFn__;for(;u;)l=gy(e,0,u,s)&&l,u=u.__ngNextListenerFn__;return i&&!1===l&&(s.preventDefault(),s.returnValue=!1),l}}function nr(t=1){return function(t){return(O.lFrame.contextLView=function(t,e){for(;t>0;)e=e[15],t--;return e}(t,O.lFrame.contextLView))[8]}(t)}function Iy(t,e,n,r,i){const o=t[n+1],s=null===e;let a=r?Wt(o):Rn(o),l=!1;for(;0!==a&&(!1===l||s);){const c=t[a+1];GA(t[a],e)&&(l=!0,t[a+1]=r?Mc(c):wc(c)),a=r?Wt(c):Rn(c)}l&&(t[n+1]=r?wc(o):Mc(o))}function GA(t,e){return null===t||null==e||(Array.isArray(t)?t[1]:t)===e||!(!Array.isArray(t)||"string"!=typeof e)&&oi(t,e)>=0}const xe={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function My(t){return t.substring(xe.key,xe.keyEnd)}function Ay(t,e){const n=xe.textEnd;return n===e?-1:(e=xe.keyEnd=function(t,e,n){for(;e<n&&t.charCodeAt(e)>32;)e++;return e}(t,xe.key=e,n),xi(t,e,n))}function xi(t,e,n){for(;e<n&&t.charCodeAt(e)<=32;)e++;return e}function Ra(t,e){return function(t,e,n,r){const i=v(),o=Z(),s=xn(2);o.firstUpdatePass&&Py(o,t,s,r),e!==L&&We(i,s,e)&&ky(o,o.data[Xe()],i,i[H],t,i[s+1]=function(t,e){return null==t||("string"==typeof e?t+=e:"object"==typeof t&&(t=$(_t(t)))),t}(e,n),r,s)}(t,e,null,!0),Ra}function Fy(t){!function(t,e,n,r){const i=Z(),o=xn(2);i.firstUpdatePass&&Py(i,null,o,r);const s=v();if(n!==L&&We(s,o,n)){const a=i.data[Xe()];if(jy(a,r)&&!Oy(i,o)){let l=r?a.classesWithoutHost:a.stylesWithoutHost;null!==l&&(n=Cu(l,n||"")),nd(i,a,s,n,r)}else!function(t,e,n,r,i,o,s,a){i===L&&(i=re);let l=0,u=0,c=0<i.length?i[0]:null,d=0<o.length?o[0]:null;for(;null!==c||null!==d;){const f=l<i.length?i[l+1]:void 0,h=u<o.length?o[u+1]:void 0;let m,p=null;c===d?(l+=2,u+=2,f!==h&&(p=d,m=h)):null===d||null!==c&&c<d?(l+=2,p=c):(u+=2,p=d,m=h),null!==p&&ky(t,e,n,r,p,m,s,a),c=l<i.length?i[l]:null,d=u<o.length?o[u]:null}}(i,a,s,s[H],s[o+1],s[o+1]=function(t,e,n){if(null==n||""===n)return re;const r=[],i=_t(n);if(Array.isArray(i))for(let o=0;o<i.length;o++)t(r,i[o],!0);else if("object"==typeof i)for(const o in i)i.hasOwnProperty(o)&&t(r,o,i[o]);else"string"==typeof i&&e(r,i);return r}(t,e,n),r,o)}}(yt,Dn,t,!0)}function Dn(t,e){for(let n=function(t){return function(t){xe.key=0,xe.keyEnd=0,xe.value=0,xe.valueEnd=0,xe.textEnd=t.length}(t),Ay(t,xi(t,0,xe.textEnd))}(e);n>=0;n=Ay(e,n))yt(t,My(e),!0)}function Oy(t,e){return e>=t.expandoStartIndex}function Py(t,e,n,r){const i=t.data;if(null===i[n+1]){const o=i[Xe()],s=Oy(t,n);jy(o,r)&&null===e&&!s&&(e=!1),e=function(t,e,n,r){const i=function(t){const e=O.lFrame.currentDirectiveIndex;return-1===e?null:t[e]}(t);let o=r?e.residualClasses:e.residualStyles;if(null===i)0===(r?e.classBindings:e.styleBindings)&&(n=jo(n=sd(null,t,e,n,r),e.attrs,r),o=null);else{const s=e.directiveStylingLast;if(-1===s||t[s]!==i)if(n=sd(i,t,e,n,r),null===o){let l=function(t,e,n){const r=n?e.classBindings:e.styleBindings;if(0!==Rn(r))return t[Wt(r)]}(t,e,r);void 0!==l&&Array.isArray(l)&&(l=sd(null,t,e,l[1],r),l=jo(l,e.attrs,r),function(t,e,n,r){t[Wt(n?e.classBindings:e.styleBindings)]=r}(t,e,r,l))}else o=function(t,e,n){let r;const i=e.directiveEnd;for(let o=1+e.directiveStylingLast;o<i;o++)r=jo(r,t[o].hostAttrs,n);return jo(r,e.attrs,n)}(t,e,r)}return void 0!==o&&(r?e.residualClasses=o:e.residualStyles=o),n}(i,o,e,r),function(t,e,n,r,i,o){let s=o?e.classBindings:e.styleBindings,a=Wt(s),l=Rn(s);t[r]=n;let c,u=!1;if(Array.isArray(n)){const d=n;c=d[1],(null===c||oi(d,c)>0)&&(u=!0)}else c=n;if(i)if(0!==l){const f=Wt(t[a+1]);t[r+1]=Da(f,a),0!==f&&(t[f+1]=Ic(t[f+1],r)),t[a+1]=function(t,e){return 131071&t|e<<17}(t[a+1],r)}else t[r+1]=Da(a,0),0!==a&&(t[a+1]=Ic(t[a+1],r)),a=r;else t[r+1]=Da(l,0),0===a?a=r:t[l+1]=Ic(t[l+1],r),l=r;u&&(t[r+1]=wc(t[r+1])),Iy(t,c,r,!0),Iy(t,c,r,!1),function(t,e,n,r,i){const o=i?t.residualClasses:t.residualStyles;null!=o&&"string"==typeof e&&oi(o,e)>=0&&(n[r+1]=Mc(n[r+1]))}(e,c,t,r,o),s=Da(a,l),o?e.classBindings=s:e.styleBindings=s}(i,o,e,n,s,r)}}function sd(t,e,n,r,i){let o=null;const s=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a<s&&(o=e[a],r=jo(r,o.hostAttrs,i),o!==t);)a++;return null!==t&&(n.directiveStylingLast=a),r}function jo(t,e,n){const r=n?1:2;let i=-1;if(null!==e)for(let o=0;o<e.length;o++){const s=e[o];"number"==typeof s?i=s:i===r&&(Array.isArray(t)||(t=void 0===t?[]:["",t]),yt(t,s,!!n||e[++o]))}return void 0===t?null:t}function ky(t,e,n,r,i,o,s,a){if(!(3&e.type))return;const l=t.data,u=l[a+1];Na(function(t){return 1==(1&t)}(u)?Ly(l,e,n,i,Rn(u),s):void 0)||(Na(o)||function(t){return 2==(2&t)}(u)&&(o=Ly(l,null,n,i,a,s)),function(t,e,n,r,i){const o=me(t);if(e)i?o?t.addClass(n,r):n.classList.add(r):o?t.removeClass(n,r):n.classList.remove(r);else{let s=-1===r.indexOf("-")?void 0:Ct.DashCase;if(null==i)o?t.removeStyle(n,r,s):n.style.removeProperty(r);else{const a="string"==typeof i&&i.endsWith("!important");a&&(i=i.slice(0,-10),s|=Ct.Important),o?t.setStyle(n,r,i,s):n.style.setProperty(r,i,a?"important":"")}}}(r,s,zs(Xe(),n),i,o))}function Ly(t,e,n,r,i,o){const s=null===e;let a;for(;i>0;){const l=t[i],u=Array.isArray(l),c=u?l[1]:l,d=null===c;let f=n[i+1];f===L&&(f=d?re:void 0);let h=d?Ku(f,r):c===r?f:void 0;if(u&&!Na(h)&&(h=Ku(l,r)),Na(h)&&(a=h,s))return a;const p=t[i+1];i=s?Wt(p):Rn(p)}if(null!==e){let l=o?e.residualClasses:e.residualStyles;null!=l&&(a=Ku(l,r))}return a}function Na(t){return void 0!==t}function jy(t,e){return 0!=(t.flags&(e?16:32))}function Yt(t,e=""){const n=v(),r=Z(),i=t+20,o=r.firstCreatePass?hi(r,i,1,e,null):r.data[i],s=n[i]=function(t,e){return me(t)?t.createText(e):t.createTextNode(e)}(n[H],e);Ca(r,n,s,o),dn(o,!1)}function Fa(t){return Mr("",t,""),Fa}function Mr(t,e,n){const r=v(),i=function(t,e,n,r){return We(t,Jr(),n)?e+B(n)+r:L}(r,t,e,n);return i!==L&&Fn(r,Xe(),i),Mr}function ad(t,e,n){const r=v();return We(r,Jr(),e)&&vt(Z(),ye(),r,t,e,r[H],n,!0),ad}const Ar=void 0;var wS=["en",[["a","p"],["AM","PM"],Ar],[["AM","PM"],Ar,Ar],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Ar,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Ar,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Ar,"{1} 'at' {0}",Ar],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(t){const e=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===n?1:5}];let Ri={};function o_(t){return t in Ri||(Ri[t]=X.ng&&X.ng.common&&X.ng.common.locales&&X.ng.common.locales[t]),Ri[t]}var b=(()=>((b=b||{})[b.LocaleId=0]="LocaleId",b[b.DayPeriodsFormat=1]="DayPeriodsFormat",b[b.DayPeriodsStandalone=2]="DayPeriodsStandalone",b[b.DaysFormat=3]="DaysFormat",b[b.DaysStandalone=4]="DaysStandalone",b[b.MonthsFormat=5]="MonthsFormat",b[b.MonthsStandalone=6]="MonthsStandalone",b[b.Eras=7]="Eras",b[b.FirstDayOfWeek=8]="FirstDayOfWeek",b[b.WeekendRange=9]="WeekendRange",b[b.DateFormat=10]="DateFormat",b[b.TimeFormat=11]="TimeFormat",b[b.DateTimeFormat=12]="DateTimeFormat",b[b.NumberSymbols=13]="NumberSymbols",b[b.NumberFormats=14]="NumberFormats",b[b.CurrencyCode=15]="CurrencyCode",b[b.CurrencySymbol=16]="CurrencySymbol",b[b.CurrencyName=17]="CurrencyName",b[b.Currencies=18]="Currencies",b[b.Directionality=19]="Directionality",b[b.PluralCase=20]="PluralCase",b[b.ExtraData=21]="ExtraData",b))();const Oa="en-US";let s_=Oa;function ld(t){pt(t,"Expected localeId to be defined"),"string"==typeof t&&(s_=t.toLowerCase().replace(/_/g,"-"))}function dd(t,e,n,r,i){if(t=S(t),Array.isArray(t))for(let o=0;o<t.length;o++)dd(t[o],e,n,r,i);else{const o=Z(),s=v();let a=_i(t)?t:S(t.provide),l=Mm(t);const u=Ae(),c=1048575&u.providerIndexes,d=u.directiveStart,f=u.providerIndexes>>20;if(_i(t)||!t.multi){const h=new co(l,i,C),p=hd(a,e,i?c:c+f,d);-1===p?(oa(ho(u,s),o,a),fd(o,t,e.length),e.push(a),u.directiveStart++,u.directiveEnd++,i&&(u.providerIndexes+=1048576),n.push(h),s.push(h)):(n[p]=h,s[p]=h)}else{const h=hd(a,e,c+f,d),p=hd(a,e,c,c+f),m=h>=0&&n[h],g=p>=0&&n[p];if(i&&!g||!i&&!m){oa(ho(u,s),o,a);const _=function(t,e,n,r,i){const o=new co(t,n,C);return o.multi=[],o.index=e,o.componentProviders=0,x_(o,i,r&&!n),o}(i?DT:vT,n.length,i,r,l);!i&&g&&(n[p].providerFactory=_),fd(o,t,e.length,0),e.push(a),u.directiveStart++,u.directiveEnd++,i&&(u.providerIndexes+=1048576),n.push(_),s.push(_)}else fd(o,t,h>-1?h:p,x_(n[i?p:h],l,!i&&r));!i&&r&&g&&n[p].componentProviders++}}}function fd(t,e,n,r){const i=_i(e);if(i||function(t){return!!t.useClass}(e)){const s=(e.useClass||e).prototype.ngOnDestroy;if(s){const a=t.destroyHooks||(t.destroyHooks=[]);if(!i&&e.multi){const l=a.indexOf(n);-1===l?a.push(n,[r,s]):a[l+1].push(r,s)}else a.push(n,s)}}}function x_(t,e,n){return n&&t.componentProviders++,t.multi.push(e)-1}function hd(t,e,n,r){for(let i=n;i<r;i++)if(e[i]===t)return i;return-1}function vT(t,e,n,r){return pd(this.multi,[])}function DT(t,e,n,r){const i=this.multi;let o;if(this.providerFactory){const s=this.providerFactory.componentProviders,a=po(n,n[1],this.providerFactory.index,r);o=a.slice(0,s),pd(i,o);for(let l=s;l<a.length;l++)o.push(a[l])}else o=[],pd(i,o);return o}function pd(t,e){for(let n=0;n<t.length;n++)e.push((0,t[n])());return e}function fe(t,e=[]){return n=>{n.providersResolver=(r,i)=>function(t,e,n){const r=Z();if(r.firstCreatePass){const i=$t(t);dd(n,r.data,r.blueprint,i,!0),dd(e,r.data,r.blueprint,i,!1)}}(r,i?i(t):t,e)}}class R_{}const F_="ngComponent";class wT{resolveComponentFactory(e){throw function(t){const e=Error(`No component factory found for ${$(t)}. Did you add it to @NgModule.entryComponents?`);return e[F_]=t,e}(e)}}let Sr=(()=>{class t{}return t.NULL=new wT,t})();function ja(...t){}function Fi(t,e){return new Re(St(t,e))}const AT=function(){return Fi(Ae(),v())};let Re=(()=>{class t{constructor(n){this.nativeElement=n}}return t.__NG_ELEMENT_ID__=AT,t})();function O_(t){return t instanceof Re?t.nativeElement:t}class Ba{}let En=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>TT(),t})();const TT=function(){const t=v(),n=mt(Ae().index,t);return function(t){return t[H]}(cn(n)?n:t)};let md=(()=>{class t{}return t.\u0275prov=k({token:t,providedIn:"root",factory:()=>null}),t})();class Go{constructor(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}}const P_=new Go("12.2.9");class V_{constructor(){}supports(e){return Oo(e)}create(e){return new FT(e)}}const NT=(t,e)=>e;class FT{constructor(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||NT}forEachItem(e){let n;for(n=this._itHead;null!==n;n=n._next)e(n)}forEachOperation(e){let n=this._itHead,r=this._removalsHead,i=0,o=null;for(;n||r;){const s=!r||n&&n.currentIndex<L_(r,i,o)?n:r,a=L_(s,i,o),l=s.currentIndex;if(s===r)i--,r=r._nextRemoved;else if(n=n._next,null==s.previousIndex)i++;else{o||(o=[]);const u=a-i,c=l-i;if(u!=c){for(let f=0;f<u;f++){const h=f<o.length?o[f]:o[f]=0,p=h+f;c<=p&&p<u&&(o[f]=h+1)}o[s.previousIndex]=c-u}}a!==l&&e(s,a,l)}}forEachPreviousItem(e){let n;for(n=this._previousItHead;null!==n;n=n._nextPrevious)e(n)}forEachAddedItem(e){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)e(n)}forEachMovedItem(e){let n;for(n=this._movesHead;null!==n;n=n._nextMoved)e(n)}forEachRemovedItem(e){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)e(n)}forEachIdentityChange(e){let n;for(n=this._identityChangesHead;null!==n;n=n._nextIdentityChange)e(n)}diff(e){if(null==e&&(e=[]),!Oo(e))throw new Error(`Error trying to diff '${$(e)}'. Only arrays and iterables are allowed`);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let i,o,s,n=this._itHead,r=!1;if(Array.isArray(e)){this.length=e.length;for(let a=0;a<this.length;a++)o=e[a],s=this._trackByFn(a,o),null!==n&&Object.is(n.trackById,s)?(r&&(n=this._verifyReinsertion(n,o,s,a)),Object.is(n.item,o)||this._addIdentityChange(n,o)):(n=this._mismatch(n,o,s,a),r=!0),n=n._next}else i=0,function(t,e){if(Array.isArray(t))for(let n=0;n<t.length;n++)e(t[n]);else{const n=t[Ci()]();let r;for(;!(r=n.next()).done;)e(r.value)}}(e,a=>{s=this._trackByFn(i,a),null!==n&&Object.is(n.trackById,s)?(r&&(n=this._verifyReinsertion(n,a,s,i)),Object.is(n.item,a)||this._addIdentityChange(n,a)):(n=this._mismatch(n,a,s,i),r=!0),n=n._next,i++}),this.length=i;return this._truncate(n),this.collection=e,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let e;for(e=this._previousItHead=this._itHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;null!==e;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;null!==e;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,n,r,i){let o;return null===e?o=this._itTail:(o=e._prev,this._remove(e)),null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(e.item,n)||this._addIdentityChange(e,n),this._reinsertAfter(e,o,i)):null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(r,i))?(Object.is(e.item,n)||this._addIdentityChange(e,n),this._moveAfter(e,o,i)):e=this._addAfter(new OT(n,r),o,i),e}_verifyReinsertion(e,n,r,i){let o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==o?e=this._reinsertAfter(o,e._prev,i):e.currentIndex!=i&&(e.currentIndex=i,this._addToMoves(e,i)),e}_truncate(e){for(;null!==e;){const n=e._next;this._addToRemovals(this._unlink(e)),e=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(e,n,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(e);const i=e._prevRemoved,o=e._nextRemoved;return null===i?this._removalsHead=o:i._nextRemoved=o,null===o?this._removalsTail=i:o._prevRemoved=i,this._insertAfter(e,n,r),this._addToMoves(e,r),e}_moveAfter(e,n,r){return this._unlink(e),this._insertAfter(e,n,r),this._addToMoves(e,r),e}_addAfter(e,n,r){return this._insertAfter(e,n,r),this._additionsTail=null===this._additionsTail?this._additionsHead=e:this._additionsTail._nextAdded=e,e}_insertAfter(e,n,r){const i=null===n?this._itHead:n._next;return e._next=i,e._prev=n,null===i?this._itTail=e:i._prev=e,null===n?this._itHead=e:n._next=e,null===this._linkedRecords&&(this._linkedRecords=new k_),this._linkedRecords.put(e),e.currentIndex=r,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){null!==this._linkedRecords&&this._linkedRecords.remove(e);const n=e._prev,r=e._next;return null===n?this._itHead=r:n._next=r,null===r?this._itTail=n:r._prev=n,e}_addToMoves(e,n){return e.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=e:this._movesTail._nextMoved=e),e}_addToRemovals(e){return null===this._unlinkedRecords&&(this._unlinkedRecords=new k_),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,n){return e.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=e:this._identityChangesTail._nextIdentityChange=e,e}}class OT{constructor(e,n){this.item=e,this.trackById=n,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 PT{constructor(){this._head=null,this._tail=null}add(e){null===this._head?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,n){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===n||n<=r.currentIndex)&&Object.is(r.trackById,e))return r;return null}remove(e){const n=e._prevDup,r=e._nextDup;return null===n?this._head=r:n._nextDup=r,null===r?this._tail=n:r._prevDup=n,null===this._head}}class k_{constructor(){this.map=new Map}put(e){const n=e.trackById;let r=this.map.get(n);r||(r=new PT,this.map.set(n,r)),r.add(e)}get(e,n){const i=this.map.get(e);return i?i.get(e,n):null}remove(e){const n=e.trackById;return this.map.get(n).remove(e)&&this.map.delete(n),e}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function L_(t,e,n){const r=t.previousIndex;if(null===r)return r;let i=0;return n&&r<n.length&&(i=n[r]),r+e+i}class j_{constructor(){}supports(e){return e instanceof Map||Zc(e)}create(){return new VT}}class VT{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(e){let n;for(n=this._mapHead;null!==n;n=n._next)e(n)}forEachPreviousItem(e){let n;for(n=this._previousMapHead;null!==n;n=n._nextPrevious)e(n)}forEachChangedItem(e){let n;for(n=this._changesHead;null!==n;n=n._nextChanged)e(n)}forEachAddedItem(e){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)e(n)}forEachRemovedItem(e){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)e(n)}diff(e){if(e){if(!(e instanceof Map||Zc(e)))throw new Error(`Error trying to diff '${$(e)}'. Only maps and objects are allowed`)}else e=new Map;return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(e,(r,i)=>{if(n&&n.key===i)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{const o=this._getOrCreateRecordForKey(i,r);n=this._insertBeforeOrAppend(n,o)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,n){if(e){const r=e._prev;return n._next=e,n._prev=r,e._prev=n,r&&(r._next=n),e===this._mapHead&&(this._mapHead=n),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(e,n){if(this._records.has(e)){const i=this._records.get(e);this._maybeAddToChanges(i,n);const o=i._prev,s=i._next;return o&&(o._next=s),s&&(s._prev=o),i._next=null,i._prev=null,i}const r=new kT(e);return this._records.set(e,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;null!==e;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;null!=e;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(e,n){Object.is(n,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=n,this._addToChanges(e))}_addToAdditions(e){null===this._additionsHead?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){null===this._changesHead?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}_forEach(e,n){e instanceof Map?e.forEach(n):Object.keys(e).forEach(r=>n(e[r],r))}}class kT{constructor(e){this.key=e,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function B_(){return new Wo([new V_])}let Wo=(()=>{class t{constructor(n){this.factories=n}static create(n,r){if(null!=r){const i=r.factories.slice();n=n.concat(i)}return new t(n)}static extend(n){return{provide:t,useFactory:r=>t.create(n,r||B_()),deps:[[t,new Jn,new lt]]}}find(n){const r=this.factories.find(i=>i.supports(n));if(null!=r)return r;throw new Error(`Cannot find a differ supporting object '${n}' of type '${function(t){return t.name||typeof t}(n)}'`)}}return t.\u0275prov=k({token:t,providedIn:"root",factory:B_}),t})();function H_(){return new Oi([new j_])}let Oi=(()=>{class t{constructor(n){this.factories=n}static create(n,r){if(r){const i=r.factories.slice();n=n.concat(i)}return new t(n)}static extend(n){return{provide:t,useFactory:r=>t.create(n,r||H_()),deps:[[t,new Jn,new lt]]}}find(n){const r=this.factories.find(i=>i.supports(n));if(r)return r;throw new Error(`Cannot find a differ supporting object '${n}'`)}}return t.\u0275prov=k({token:t,providedIn:"root",factory:H_}),t})();function Ha(t,e,n,r,i=!1){for(;null!==n;){const o=e[n.index];if(null!==o&&r.push(be(o)),Ut(o))for(let a=10;a<o.length;a++){const l=o[a],u=l[1].firstChild;null!==u&&Ha(l[1],l,u,r)}const s=n.type;if(8&s)Ha(t,e,n.child,r);else if(32&s){const a=hc(n,e);let l;for(;l=a();)r.push(l)}else if(16&s){const a=kg(e,n);if(Array.isArray(a))r.push(...a);else{const l=Ao(e[16]);Ha(l[1],l,a,r,!0)}}n=i?n.projectionNext:n.next}return r}class qo{constructor(e,n){this._lView=e,this._cdRefInjectingView=n,this._appRef=null,this._attachedToViewContainer=!1}get rootNodes(){const e=this._lView,n=e[1];return Ha(n,e,n.firstChild,[])}get context(){return this._lView[8]}set context(e){this._lView[8]=e}get destroyed(){return 256==(256&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const e=this._lView[3];if(Ut(e)){const n=e[8],r=n?n.indexOf(this):-1;r>-1&&(_c(e,r),vr(n,r))}this._attachedToViewContainer=!1}Sg(this._lView[1],this._lView)}onDestroy(e){lm(this._lView[1],this._lView,null,e)}markForCheck(){jc(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){Hc(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(t,e,n){Ks(!0);try{Hc(t,e,n)}finally{Ks(!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(){this._appRef=null,function(t,e){So(t,e,e[H],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e}}class jT extends qo{constructor(e){super(e),this._view=e}detectChanges(){ym(this._view)}checkNoChanges(){!function(t){Ks(!0);try{ym(t)}finally{Ks(!1)}}(this._view)}get context(){return null}}const HT=function(t){return function(t,e,n){if(Ws(t)&&!n){const r=mt(t.index,e);return new qo(r,r)}return 47&t.type?new qo(e[16],e):null}(Ae(),v(),16==(16&t))};let yd=(()=>{class t{}return t.__NG_ELEMENT_ID__=HT,t})();const GT=[new j_],qT=new Wo([new V_]),zT=new Oi(GT),KT=function(){return Ua(Ae(),v())};let Pn=(()=>{class t{}return t.__NG_ELEMENT_ID__=KT,t})();const YT=Pn,ZT=class extends YT{constructor(e,n,r){super(),this._declarationLView=e,this._declarationTContainer=n,this.elementRef=r}createEmbeddedView(e){const n=this._declarationTContainer.tViews,r=To(this._declarationLView,n,e,16,null,n.declTNode,null,null,null,null);r[17]=this._declarationLView[this._declarationTContainer.index];const o=this._declarationLView[19];return null!==o&&(r[19]=o.createEmbeddedView(n)),xo(n,r,e),new qo(r)}};function Ua(t,e){return 4&t.type?new ZT(e,t,Fi(t,e)):null}class bn{}class U_{}const ex=function(){return W_(Ae(),v())};let Zt=(()=>{class t{}return t.__NG_ELEMENT_ID__=ex,t})();const nx=Zt,$_=class extends nx{constructor(e,n,r){super(),this._lContainer=e,this._hostTNode=n,this._hostLView=r}get element(){return Fi(this._hostTNode,this._hostLView)}get injector(){return new ti(this._hostTNode,this._hostLView)}get parentInjector(){const e=ia(this._hostTNode,this._hostLView);if(Np(e)){const n=ei(e,this._hostLView),r=Xr(e);return new ti(n[1].data[r+8],n)}return new ti(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){const n=G_(this._lContainer);return null!==n&&n[e]||null}get length(){return this._lContainer.length-10}createEmbeddedView(e,n,r){const i=e.createEmbeddedView(n||{});return this.insert(i,r),i}createComponent(e,n,r,i,o){const s=r||this.parentInjector;if(!o&&null==e.ngModule&&s){const l=s.get(bn,null);l&&(o=l)}const a=e.create(s,i,void 0,o);return this.insert(a.hostView,n),a}insert(e,n){const r=e._lView,i=r[1];if(function(t){return Ut(t[3])}(r)){const c=this.indexOf(e);if(-1!==c)this.detach(c);else{const d=r[3],f=new $_(d,d[6],d[3]);f.detach(f.indexOf(e))}}const o=this._adjustIndex(n),s=this._lContainer;!function(t,e,n,r){const i=10+r,o=n.length;r>0&&(n[i-1][4]=e),r<o-10?(e[4]=n[i],ua(n,10+r,e)):(n.push(e),e[4]=null),e[3]=n;const s=e[17];null!==s&&n!==s&&function(t,e){const n=t[9];e[16]!==e[3][3][16]&&(t[2]=!0),null===n?t[9]=[e]:n.push(e)}(s,e);const a=e[19];null!==a&&a.insertView(t),e[2]|=128}(i,r,s,o);const a=Dc(o,s),l=r[H],u=_a(l,s[7]);return null!==u&&function(t,e,n,r,i,o){r[0]=i,r[6]=e,So(t,r,n,1,i,o)}(i,s[6],l,r,u,a),e.attachToViewContainerRef(),ua(_d(s),o,e),e}move(e,n){return this.insert(e,n)}indexOf(e){const n=G_(this._lContainer);return null!==n?n.indexOf(e):-1}remove(e){const n=this._adjustIndex(e,-1),r=_c(this._lContainer,n);r&&(vr(_d(this._lContainer),n),Sg(r[1],r))}detach(e){const n=this._adjustIndex(e,-1),r=_c(this._lContainer,n);return r&&null!=vr(_d(this._lContainer),n)?new qo(r):null}_adjustIndex(e,n=0){return null==e?this.length+n:e}};function G_(t){return t[8]}function _d(t){return t[8]||(t[8]=[])}function W_(t,e){let n;const r=e[t.index];if(Ut(r))n=r;else{let i;if(8&t.type)i=be(r);else{const o=e[H];i=o.createComment("");const s=St(t,e);wr(o,_a(o,s),i,function(t,e){return me(t)?t.nextSibling(e):e.nextSibling}(o,s),!1)}e[t.index]=n=mm(r,e,i,t),Ia(e,n)}return new $_(n,t,e)}const Li={};class dC extends Sr{constructor(e){super(),this.ngModule=e}resolveComponentFactory(e){const n=Ze(e);return new hC(n,this.ngModule)}}function fC(t){const e=[];for(let n in t)t.hasOwnProperty(n)&&e.push({propName:t[n],templateName:n});return e}const Jx=new q("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>vg});class hC extends R_{constructor(e,n){super(),this.componentDef=e,this.ngModule=n,this.componentType=e.type,this.selector=function(t){return t.map($I).join(",")}(e.selectors),this.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],this.isBoundToModule=!!n}get inputs(){return fC(this.componentDef.inputs)}get outputs(){return fC(this.componentDef.outputs)}create(e,n,r,i){const o=(i=i||this.ngModule)?function(t,e){return{get:(n,r,i)=>{const o=t.get(n,Li,i);return o!==Li||r===Li?o:e.get(n,r,i)}}}(e,i.injector):e,s=o.get(Ba,pp),a=o.get(md,null),l=s.createRenderer(null,this.componentDef),u=this.componentDef.selectors[0][0]||"div",c=r?function(t,e,n){if(me(t))return t.selectRootElement(e,n===Me.ShadowDom);let r="string"==typeof e?t.querySelector(e):e;return r.textContent="",r}(l,r,this.componentDef.encapsulation):yc(s.createRenderer(null,this.componentDef),u,function(t){const e=t.toLowerCase();return"svg"===e?fp:"math"===e?"http://www.w3.org/1998/MathML/":null}(u)),d=this.componentDef.onPush?576:528,f=function(t,e){return{components:[],scheduler:t||vg,clean:AM,playerHandler:e||null,flags:0}}(),h=wa(0,null,null,1,0,null,null,null,null,null),p=To(null,h,f,d,null,null,s,l,a,o);let m,g;Ys(p);try{const _=function(t,e,n,r,i,o){const s=n[1];n[20]=t;const l=hi(s,20,2,"#host",null),u=l.mergedAttrs=e.hostAttrs;null!==u&&(Ma(l,u,!0),null!==t&&(ta(i,t,u),null!==l.classes&&bc(i,t,l.classes),null!==l.styles&&Bg(i,t,l.styles)));const c=r.createRenderer(t,e),d=To(n,om(e),null,e.onPush?64:16,n[20],l,r,c,o||null,null);return s.firstCreatePass&&(oa(ho(l,n),s,e.type),hm(s,l),pm(l,n.length,1)),Ia(n,d),n[20]=d}(c,this.componentDef,p,s,l);if(c)if(r)ta(l,c,["ng-version",P_.full]);else{const{attrs:y,classes:w}=function(t){const e=[],n=[];let r=1,i=2;for(;r<t.length;){let o=t[r];if("string"==typeof o)2===i?""!==o&&e.push(o,t[++r]):8===i&&n.push(o);else{if(!Gt(i))break;i=o}r++}return{attrs:e,classes:n}}(this.componentDef.selectors[0]);y&&ta(l,c,y),w&&w.length>0&&bc(l,c,w.join(" "))}if(g=Nu(h,20),void 0!==n){const y=g.projection=[];for(let w=0;w<this.ngContentSelectors.length;w++){const I=n[w];y.push(null!=I?Array.from(I):null)}}m=function(t,e,n,r,i){const o=n[1],s=function(t,e,n){const r=Ae();t.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),gm(t,r,e,pi(t,e,1,null),n));const i=po(e,t,r.directiveStart,r);Ge(i,e);const o=St(r,e);return o&&Ge(o,e),i}(o,n,e);if(r.components.push(s),t[8]=s,i&&i.forEach(l=>l(s,e)),e.contentQueries){const l=Ae();e.contentQueries(1,s,l.directiveStart)}const a=Ae();return!o.firstCreatePass||null===e.hostBindings&&null===e.hostAttrs||(Kn(a.index),dm(n[1],a,0,a.directiveStart,a.directiveEnd,e),fm(e,s)),s}(_,this.componentDef,p,f,[XM]),xo(h,p,null)}finally{Zs()}return new tR(this.componentType,m,Fi(g,p),p,g)}}class tR extends class{}{constructor(e,n,r,i,o){super(),this.location=r,this._rootLView=i,this._tNode=o,this.instance=n,this.hostView=this.changeDetectorRef=new jT(i),this.componentType=e}get injector(){return new ti(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(e){this.hostView.onDestroy(e)}}const ji=new Map;class iR extends bn{constructor(e,n){super(),this._parent=n,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new dC(this);const r=It(e),i=function(t){return t[lw]||null}(e);i&&ld(i),this._bootstrapComponents=mn(r.bootstrap),this._r3Injector=Im(e,n,[{provide:bn,useValue:this},{provide:Sr,useValue:this.componentFactoryResolver}],$(e)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(e)}get(e,n=ee.THROW_IF_NOT_FOUND,r=T.Default){return e===ee||e===bn||e===mi?this:this._r3Injector.get(e,n,r)}destroy(){const e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}}class Rd extends U_{constructor(e){super(),this.moduleType=e,null!==It(e)&&function(t){const e=new Set;!function n(r){const i=It(r,!0),o=i.id;null!==o&&(function(t,e,n){if(e&&e!==n)throw new Error(`Duplicate module registered for ${t} - ${$(e)} vs ${$(e.name)}`)}(o,ji.get(o),r),ji.set(o,r));const s=mn(i.imports);for(const a of s)e.has(a)||(e.add(a),n(a))}(t)}(e)}create(e){return new iR(this.moduleType,e)}}function Nd(t,e,n,r){return mC(v(),Je(),t,e,n,r)}function mC(t,e,n,r,i,o){const s=e+n;return We(t,s,i)?function(t,e,n){return t[e]=n}(t,s+1,o?r.call(o,i):r(i)):function(t,e){const n=t[e];return n===L?void 0:n}(t,s+1)}function Fd(t,e){const n=Z();let r;const i=t+20;n.firstCreatePass?(r=function(t,e){if(e)for(let n=e.length-1;n>=0;n--){const r=e[n];if(t===r.name)return r}throw new hr("302",`The pipe '${t}' could not be found!`)}(e,n.pipeRegistry),n.data[i]=r,r.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(i,r.onDestroy)):r=n.data[i];const o=r.factory||(r.factory=_r(r.type)),s=Gn(C);try{const a=ra(!1),l=o();return ra(a),function(t,e,n,r){n>=t.data.length&&(t.data[n]=null,t.blueprint[n]=null),e[n]=r}(n,v(),i,l),l}finally{Gn(s)}}function Od(t,e,n){const r=t+20,i=v(),o=function(t,e){return t[e]}(i,r);return function(t,e){zt.isWrapped(e)&&(e=zt.unwrap(e),t[O.lFrame.bindingIndex]=L);return e}(i,function(t,e){return t[1].data[e].pure}(i,r)?mC(i,Je(),e,o.transform,n,o):o.transform(n))}function Pd(t){return e=>{setTimeout(t,void 0,e)}}const Ne=class extends Et{constructor(e=!1){super(),this.__isAsync=e}emit(e){super.next(e)}subscribe(e,n,r){var i,o,s;let a=e,l=n||(()=>null),u=r;if(e&&"object"==typeof e){const d=e;a=null===(i=d.next)||void 0===i?void 0:i.bind(d),l=null===(o=d.error)||void 0===o?void 0:o.bind(d),u=null===(s=d.complete)||void 0===s?void 0:s.bind(d)}this.__isAsync&&(l=Pd(l),a&&(a=Pd(a)),u&&(u=Pd(u)));const c=super.subscribe({next:a,error:l,complete:u});return e instanceof he&&e.add(c),c}};function vR(){return this._results[Ci()]()}class za{constructor(e=!1){this._emitDistinctChangesOnly=e,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const n=Ci(),r=za.prototype;r[n]||(r[n]=vR)}get changes(){return this._changes||(this._changes=new Ne)}get(e){return this._results[e]}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,n){return this._results.reduce(e,n)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,n){const r=this;r.dirty=!1;const i=xt(e);(this._changesDetected=!function(t,e,n){if(t.length!==e.length)return!1;for(let r=0;r<t.length;r++){let i=t[r],o=e[r];if(n&&(i=n(i),o=n(o)),o!==i)return!1}return!0}(r._results,i,n))&&(r._results=i,r.length=i.length,r.last=i[this.length-1],r.first=i[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}Symbol;class Vd{constructor(e){this.queryList=e,this.matches=null}clone(){return new Vd(this.queryList)}setDirty(){this.queryList.setDirty()}}class kd{constructor(e=[]){this.queries=e}createEmbeddedView(e){const n=e.queries;if(null!==n){const r=null!==e.contentQueries?e.contentQueries[0]:n.length,i=[];for(let o=0;o<r;o++){const s=n.getByIndex(o);i.push(this.queries[s.indexInDeclarationView].clone())}return new kd(i)}return null}insertView(e){this.dirtyQueriesWithMatches(e)}detachView(e){this.dirtyQueriesWithMatches(e)}dirtyQueriesWithMatches(e){for(let n=0;n<this.queries.length;n++)null!==MC(e,n).matches&&this.queries[n].setDirty()}}class DC{constructor(e,n,r=null){this.predicate=e,this.flags=n,this.read=r}}class Ld{constructor(e=[]){this.queries=e}elementStart(e,n){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(e,n)}elementEnd(e){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(e)}embeddedTView(e){let n=null;for(let r=0;r<this.length;r++){const i=null!==n?n.length:0,o=this.getByIndex(r).embeddedTView(e,i);o&&(o.indexInDeclarationView=r,null!==n?n.push(o):n=[o])}return null!==n?new Ld(n):null}template(e,n){for(let r=0;r<this.queries.length;r++)this.queries[r].template(e,n)}getByIndex(e){return this.queries[e]}get length(){return this.queries.length}track(e){this.queries.push(e)}}class jd{constructor(e,n=-1){this.metadata=e,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=n}elementStart(e,n){this.isApplyingToNode(n)&&this.matchTNode(e,n)}elementEnd(e){this._declarationNodeIndex===e.index&&(this._appliesToNextNode=!1)}template(e,n){this.elementStart(e,n)}embeddedTView(e,n){return this.isApplyingToNode(e)?(this.crossesNgTemplate=!0,this.addMatch(-e.index,n),new jd(this.metadata)):null}isApplyingToNode(e){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const n=this._declarationNodeIndex;let r=e.parent;for(;null!==r&&8&r.type&&r.index!==n;)r=r.parent;return n===(null!==r?r.index:-1)}return this._appliesToNextNode}matchTNode(e,n){const r=this.metadata.predicate;if(Array.isArray(r))for(let i=0;i<r.length;i++){const o=r[i];this.matchTNodeWithReadOption(e,n,bR(n,o)),this.matchTNodeWithReadOption(e,n,sa(n,e,o,!1,!1))}else r===Pn?4&n.type&&this.matchTNodeWithReadOption(e,n,-1):this.matchTNodeWithReadOption(e,n,sa(n,e,r,!1,!1))}matchTNodeWithReadOption(e,n,r){if(null!==r){const i=this.metadata.read;if(null!==i)if(i===Re||i===Zt||i===Pn&&4&n.type)this.addMatch(n.index,-2);else{const o=sa(n,e,i,!1,!1);null!==o&&this.addMatch(n.index,o)}else this.addMatch(n.index,r)}}addMatch(e,n){null===this.matches?this.matches=[e,n]:this.matches.push(e,n)}}function bR(t,e){const n=t.localNames;if(null!==n)for(let r=0;r<n.length;r+=2)if(n[r]===e)return n[r+1];return null}function IR(t,e,n,r){return-1===n?function(t,e){return 11&t.type?Fi(t,e):4&t.type?Ua(t,e):null}(e,t):-2===n?function(t,e,n){return n===Re?Fi(e,t):n===Pn?Ua(e,t):n===Zt?W_(e,t):void 0}(t,e,r):po(t,t[1],n,e)}function EC(t,e,n,r){const i=e[19].queries[r];if(null===i.matches){const o=t.data,s=n.matches,a=[];for(let l=0;l<s.length;l+=2){const u=s[l];a.push(u<0?null:IR(e,o[u],s[l+1],n.metadata.read))}i.matches=a}return i.matches}function Bd(t,e,n,r){const i=t.queries.getByIndex(n),o=i.matches;if(null!==o){const s=EC(t,e,i,n);for(let a=0;a<o.length;a+=2){const l=o[a];if(l>0)r.push(s[a/2]);else{const u=o[a+1],c=e[-l];for(let d=10;d<c.length;d++){const f=c[d];f[17]===f[3]&&Bd(f[1],f,u,r)}if(null!==c[9]){const d=c[9];for(let f=0;f<d.length;f++){const h=d[f];Bd(h[1],h,u,r)}}}}}return r}function Qa(t){const e=v(),n=Z(),r=Dp();Bu(r+1);const i=MC(n,r);if(t.dirty&&gp(e)===(2==(2&i.metadata.flags))){if(null===i.matches)t.reset([]);else{const o=i.crossesNgTemplate?Bd(n,e,r,[]):EC(n,e,i,r);t.reset(o,O_),t.notifyOnChanges()}return!0}return!1}function bC(t,e,n){const r=Z();r.firstCreatePass&&(function(t,e,n){null===t.queries&&(t.queries=new Ld),t.queries.track(new jd(e,n))}(r,new DC(t,e,n),-1),2==(2&e)&&(r.staticViewQueries=!0)),function(t,e,n){const r=new za(4==(4&n));lm(t,e,r,r.destroy),null===e[19]&&(e[19]=new kd),e[19].queries.push(new Vd(r))}(r,v(),e)}function MC(t,e){return t.queries.getByIndex(e)}const Hi=new q("Application Initializer");let Ui=(()=>{class t{constructor(n){this.appInits=n,this.resolve=ja,this.reject=ja,this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,i)=>{this.resolve=r,this.reject=i})}runInitializers(){if(this.initialized)return;const n=[],r=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let i=0;i<this.appInits.length;i++){const o=this.appInits[i]();if(Lo(o))n.push(o);else if(xa(o)){const s=new Promise((a,l)=>{o.subscribe({complete:a,error:l})});n.push(s)}}Promise.all(n).then(()=>{r()}).catch(i=>{this.reject(i)}),0===n.length&&r(),this.initialized=!0}}return t.\u0275fac=function(n){return new(n||t)(D(Hi,8))},t.\u0275prov=k({token:t,factory:t.\u0275fac}),t})();const is=new q("AppId"),n1={provide:is,useFactory:function(){return`${zd()}${zd()}${zd()}`},deps:[]};function zd(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const GC=new q("Platform Initializer"),os=new q("Platform ID"),WC=new q("appBootstrapListener");let Ja=(()=>{class t{log(n){console.log(n)}warn(n){console.warn(n)}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=k({token:t,factory:t.\u0275fac}),t})();const ir=new q("LocaleId"),qC=new q("DefaultCurrencyCode");class i1{constructor(e,n){this.ngModuleFactory=e,this.componentFactories=n}}const Qd=function(t){return new Rd(t)},o1=Qd,s1=function(t){return Promise.resolve(Qd(t))},zC=function(t){const e=Qd(t),r=mn(It(t).declarations).reduce((i,o)=>{const s=Ze(o);return s&&i.push(new hC(s)),i},[]);return new i1(e,r)},a1=zC,l1=function(t){return Promise.resolve(zC(t))};let Rr=(()=>{class t{constructor(){this.compileModuleSync=o1,this.compileModuleAsync=s1,this.compileModuleAndAllComponentsSync=a1,this.compileModuleAndAllComponentsAsync=l1}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=k({token:t,factory:t.\u0275fac}),t})();const d1=(()=>Promise.resolve(0))();function Kd(t){"undefined"==typeof Zone?d1.then(()=>{t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}class ve{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Ne(!1),this.onMicrotaskEmpty=new Ne(!1),this.onStable=new Ne(!1),this.onError=new Ne(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const i=this;i._nesting=0,i._outer=i._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(i._inner=i._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(i._inner=i._inner.fork(Zone.longStackTraceZoneSpec)),i.shouldCoalesceEventChangeDetection=!r&&n,i.shouldCoalesceRunChangeDetection=r,i.lastRequestAnimationFrameId=-1,i.nativeRequestAnimationFrame=function(){let t=X.requestAnimationFrame,e=X.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(X,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,Zd(t),t.isCheckStableRunning=!0,Yd(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),Zd(t))}(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,i,o,s,a)=>{try{return QC(t),n.invokeTask(i,o,s,a)}finally{(t.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||t.shouldCoalesceRunChangeDetection)&&e(),KC(t)}},onInvoke:(n,r,i,o,s,a,l)=>{try{return QC(t),n.invoke(i,o,s,a,l)}finally{t.shouldCoalesceRunChangeDetection&&e(),KC(t)}},onHasTask:(n,r,i,o)=>{n.hasTask(i,o),r===i&&("microTask"==o.change?(t._hasPendingMicrotasks=o.microTask,Zd(t),Yd(t)):"macroTask"==o.change&&(t.hasPendingMacrotasks=o.macroTask))},onHandleError:(n,r,i,o)=>(n.handleError(i,o),t.runOutsideAngular(()=>t.onError.emit(o)),!1)})}(i)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!ve.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(ve.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(e,n,r){return this._inner.run(e,n,r)}runTask(e,n,r,i){const o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+i,e,h1,ja,ja);try{return o.runTask(s,n,r)}finally{o.cancelTask(s)}}runGuarded(e,n,r){return this._inner.runGuarded(e,n,r)}runOutsideAngular(e){return this._outer.run(e)}}const h1={};function Yd(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 Zd(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&-1!==t.lastRequestAnimationFrameId)}function QC(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function KC(t){t._nesting--,Yd(t)}class m1{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Ne,this.onMicrotaskEmpty=new Ne,this.onStable=new Ne,this.onError=new Ne}run(e,n,r){return e.apply(n,r)}runGuarded(e,n,r){return e.apply(n,r)}runOutsideAngular(e){return e()}runTask(e,n,r,i){return e.apply(n,r)}}let Jd=(()=>{class t{constructor(n){this._ngZone=n,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),n.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:()=>{ve.assertNotInAngularZone(),Kd(()=>{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())Kd(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,i){let o=-1;r&&r>0&&(o=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==o),n(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:n,timeoutId:o,updateCb:i})}whenStable(n,r,i){if(i&&!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(n,r,i),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(n,r,i){return[]}}return t.\u0275fac=function(n){return new(n||t)(D(ve))},t.\u0275prov=k({token:t,factory:t.\u0275fac}),t})(),YC=(()=>{class t{constructor(){this._applications=new Map,Xd.addToWindow(this)}registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return Xd.findTestabilityInTree(this,n,r)}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=k({token:t,factory:t.\u0275fac}),t})();class y1{addToWindow(e){}findTestabilityInTree(e,n,r){return null}}let Xd=new y1,ZC=!0,JC=!1;let en;const ev=new q("AllowMultipleToken");class ef{constructor(e,n){this.name=e,this.token=n}}function tv(t,e,n=[]){const r=`Platform: ${e}`,i=new q(r);return(o=[])=>{let s=nv();if(!s||s.injector.get(ev,!1))if(t)t(n.concat(o).concat({provide:i,useValue:!0}));else{const a=n.concat(o).concat({provide:i,useValue:!0},{provide:Ro,useValue:"platform"});!function(t){if(en&&!en.destroyed&&!en.injector.get(ev,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");en=t.get(rv);const e=t.get(GC,null);e&&e.forEach(n=>n())}(ee.create({providers:a,name:r}))}return function(t){const e=nv();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}(i)}}function nv(){return en&&!en.destroyed?en:null}let rv=(()=>{class t{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const a=function(t,e){let n;return n="noop"===t?new m1:("zone.js"===t?void 0:t)||new ve({enableLongStackTrace:(JC=!0,ZC),shouldCoalesceEventChangeDetection:!!(null==e?void 0:e.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==e?void 0:e.ngZoneRunCoalescing)}),n}(r?r.ngZone:void 0,{ngZoneEventCoalescing:r&&r.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:r&&r.ngZoneRunCoalescing||!1}),l=[{provide:ve,useValue:a}];return a.run(()=>{const u=ee.create({providers:l,parent:this.injector,name:n.moduleType.name}),c=n.create(u),d=c.injector.get(br,null);if(!d)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return a.runOutsideAngular(()=>{const f=a.onError.subscribe({next:h=>{d.handleError(h)}});c.onDestroy(()=>{tf(this._modules,c),f.unsubscribe()})}),function(t,e,n){try{const r=n();return Lo(r)?r.catch(i=>{throw e.runOutsideAngular(()=>t.handleError(i)),i}):r}catch(r){throw e.runOutsideAngular(()=>t.handleError(r)),r}}(d,a,()=>{const f=c.injector.get(Ui);return f.runInitializers(),f.donePromise.then(()=>(ld(c.injector.get(ir,Oa)||Oa),this._moduleDoBootstrap(c),c))})})}bootstrapModule(n,r=[]){const i=iv({},r);return function(t,e,n){const r=new Rd(n);return Promise.resolve(r)}(0,0,n).then(o=>this.bootstrapModuleFactory(o,i))}_moduleDoBootstrap(n){const r=n.injector.get(Nr);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(i=>r.bootstrap(i));else{if(!n.instance.ngDoBootstrap)throw new Error(`The module ${$(n.instance.constructor)} was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.`);n.instance.ngDoBootstrap(r)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(n=>n.destroy()),this._destroyListeners.forEach(n=>n()),this._destroyed=!0}get destroyed(){return this._destroyed}}return t.\u0275fac=function(n){return new(n||t)(D(ee))},t.\u0275prov=k({token:t,factory:t.\u0275fac}),t})();function iv(t,e){return Array.isArray(e)?e.reduce(iv,t):Object.assign(Object.assign({},t),e)}let Nr=(()=>{class t{constructor(n,r,i,o,s){this._zone=n,this._injector=r,this._exceptionHandler=i,this._componentFactoryResolver=o,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 a=new ne(u=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{u.next(this._stable),u.complete()})}),l=new ne(u=>{let c;this._zone.runOutsideAngular(()=>{c=this._zone.onStable.subscribe(()=>{ve.assertNotInAngularZone(),Kd(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,u.next(!0))})})});const d=this._zone.onUnstable.subscribe(()=>{ve.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{u.next(!1)}))});return()=>{c.unsubscribe(),d.unsubscribe()}});this.isStable=gu(a,l.pipe(t=>mu()(yu(Qb)(t))))}bootstrap(n,r){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 i;i=n instanceof R_?n:this._componentFactoryResolver.resolveComponentFactory(n),this.componentTypes.push(i.componentType);const o=function(t){return t.isBoundToModule}(i)?void 0:this._injector.get(bn),a=i.create(ee.NULL,[],r||i.selector,o),l=a.location.nativeElement,u=a.injector.get(Jd,null),c=u&&a.injector.get(YC);return u&&c&&c.registerApplication(l,u),a.onDestroy(()=>{this.detachView(a.hostView),tf(this.components,a),c&&c.unregisterApplication(l)}),this._loadComponent(a),a}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(n))}finally{this._runningTick=!1}}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;tf(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(WC,[]).concat(this._bootstrapListeners).forEach(i=>i(n))}ngOnDestroy(){this._views.slice().forEach(n=>n.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return t.\u0275fac=function(n){return new(n||t)(D(ve),D(ee),D(br),D(Sr),D(Ui))},t.\u0275prov=k({token:t,factory:t.\u0275fac}),t})();function tf(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}class el{}class N1{}const F1={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"};let O1=(()=>{class t{constructor(n,r){this._compiler=n,this._config=r||F1}load(n){return this.loadAndCompile(n)}loadAndCompile(n){let[r,i]=n.split("#");return void 0===i&&(i="default"),R(255)(r).then(o=>o[i]).then(o=>lv(o,r,i)).then(o=>this._compiler.compileModuleAsync(o))}loadFactory(n){let[r,i]=n.split("#"),o="NgFactory";return void 0===i&&(i="default",o=""),R(255)(this._config.factoryPathPrefix+r+this._config.factoryPathSuffix).then(s=>s[i+o]).then(s=>lv(s,r,i))}}return t.\u0275fac=function(n){return new(n||t)(D(Rr),D(N1,8))},t.\u0275prov=k({token:t,factory:t.\u0275fac}),t})();function lv(t,e,n){if(!t)throw new Error(`Cannot find '${n}' in '${e}'`);return t}const G1=tv(null,"core",[{provide:os,useValue:"unknown"},{provide:rv,deps:[ee]},{provide:YC,deps:[]},{provide:Ja,deps:[]}]),K1=[{provide:Nr,useClass:Nr,deps:[ve,ee,br,Sr,Ui]},{provide:Jx,deps:[ve],useFactory:function(t){let e=[];return t.onStable.subscribe(()=>{for(;e.length;)e.pop()()}),function(n){e.push(n)}}},{provide:Ui,useClass:Ui,deps:[[new lt,Hi]]},{provide:Rr,useClass:Rr,deps:[]},n1,{provide:Wo,useFactory:function(){return qT},deps:[]},{provide:Oi,useFactory:function(){return zT},deps:[]},{provide:ir,useFactory:function(t){return ld(t=t||"undefined"!=typeof $localize&&$localize.locale||Oa),t},deps:[[new li(ir),new lt,new Jn]]},{provide:qC,useValue:"USD"}];let Z1=(()=>{class t{constructor(n){}}return t.\u0275fac=function(n){return new(n||t)(D(Nr))},t.\u0275mod=wt({type:t}),t.\u0275inj=st({providers:K1}),t})(),cl=null;function rn(){return cl}const De=new q("DocumentToken");let Pr=(()=>{class t{historyGo(n){throw new Error("Not implemented")}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=k({factory:YN,token:t,providedIn:"platform"}),t})();function YN(){return D(Nv)}const ZN=new q("Location Initialized");let Nv=(()=>{class t extends Pr{constructor(n){super(),this._doc=n,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return rn().getBaseHref(this._doc)}onPopState(n){const r=rn().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){const r=rn().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",n,!1),()=>r.removeEventListener("hashchange",n)}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(n){this.location.pathname=n}pushState(n,r,i){Fv()?this._history.pushState(n,r,i):this.location.hash=i}replaceState(n,r,i){Fv()?this._history.replaceState(n,r,i):this.location.hash=i}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}}return t.\u0275fac=function(n){return new(n||t)(D(De))},t.\u0275prov=k({factory:JN,token:t,providedIn:"platform"}),t})();function Fv(){return!!window.history.pushState}function JN(){return new Nv(D(De))}function yf(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 Ov(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 kn(t){return t&&"?"!==t[0]?"?"+t:t}let Wi=(()=>{class t{historyGo(n){throw new Error("Not implemented")}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=k({factory:XN,token:t,providedIn:"root"}),t})();function XN(t){const e=D(De).location;return new Pv(D(Pr),e&&e.origin||"")}const _f=new q("appBaseHref");let Pv=(()=>{class t extends Wi{constructor(n,r){if(super(),this._platformLocation=n,this._removeListenerFns=[],null==r&&(r=this._platformLocation.getBaseHrefFromDOM()),null==r)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=r}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return yf(this._baseHref,n)}path(n=!1){const r=this._platformLocation.pathname+kn(this._platformLocation.search),i=this._platformLocation.hash;return i&&n?`${r}${i}`:r}pushState(n,r,i,o){const s=this.prepareExternalUrl(i+kn(o));this._platformLocation.pushState(n,r,s)}replaceState(n,r,i,o){const s=this.prepareExternalUrl(i+kn(o));this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(n=0){var r,i;null===(i=(r=this._platformLocation).historyGo)||void 0===i||i.call(r,n)}}return t.\u0275fac=function(n){return new(n||t)(D(Pr),D(_f,8))},t.\u0275prov=k({token:t,factory:t.\u0275fac}),t})(),eF=(()=>{class t extends Wi{constructor(n,r){super(),this._platformLocation=n,this._baseHref="",this._removeListenerFns=[],null!=r&&(this._baseHref=r)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}path(n=!1){let r=this._platformLocation.hash;return null==r&&(r="#"),r.length>0?r.substring(1):r}prepareExternalUrl(n){const r=yf(this._baseHref,n);return r.length>0?"#"+r:r}pushState(n,r,i,o){let s=this.prepareExternalUrl(i+kn(o));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(n,r,s)}replaceState(n,r,i,o){let s=this.prepareExternalUrl(i+kn(o));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(n=0){var r,i;null===(i=(r=this._platformLocation).historyGo)||void 0===i||i.call(r,n)}}return t.\u0275fac=function(n){return new(n||t)(D(Pr),D(_f,8))},t.\u0275prov=k({token:t,factory:t.\u0275fac}),t})(),dl=(()=>{class t{constructor(n,r){this._subject=new Ne,this._urlChangeListeners=[],this._platformStrategy=n;const i=this._platformStrategy.getBaseHref();this._platformLocation=r,this._baseHref=Ov(Vv(i)),this._platformStrategy.onPopState(o=>{this._subject.emit({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}path(n=!1){return this.normalize(this._platformStrategy.path(n))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(n,r=""){return this.path()==this.normalize(n+kn(r))}normalize(n){return t.stripTrailingSlash(function(t,e){return t&&e.startsWith(t)?e.substring(t.length):e}(this._baseHref,Vv(n)))}prepareExternalUrl(n){return n&&"/"!==n[0]&&(n="/"+n),this._platformStrategy.prepareExternalUrl(n)}go(n,r="",i=null){this._platformStrategy.pushState(i,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+kn(r)),i)}replaceState(n,r="",i=null){this._platformStrategy.replaceState(i,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+kn(r)),i)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(n=0){var r,i;null===(i=(r=this._platformStrategy).historyGo)||void 0===i||i.call(r,n)}onUrlChange(n){this._urlChangeListeners.push(n),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}))}_notifyUrlChangeListeners(n="",r){this._urlChangeListeners.forEach(i=>i(n,r))}subscribe(n,r,i){return this._subject.subscribe({next:n,error:r,complete:i})}}return t.\u0275fac=function(n){return new(n||t)(D(Wi),D(Pr))},t.normalizeQueryParams=kn,t.joinWithSlash=yf,t.stripTrailingSlash=Ov,t.\u0275prov=k({factory:tF,token:t,providedIn:"root"}),t})();function tF(){return new dl(D(Wi),D(Pr))}function Vv(t){return t.replace(/\/index.html$/,"")}var we=(()=>((we=we||{})[we.Zero=0]="Zero",we[we.One=1]="One",we[we.Two=2]="Two",we[we.Few=3]="Few",we[we.Many=4]="Many",we[we.Other=5]="Other",we))();const uF=function(t){return function(t){const e=function(t){return t.toLowerCase().replace(/_/g,"-")}(t);let n=o_(e);if(n)return n;const r=e.split("-")[0];if(n=o_(r),n)return n;if("en"===r)return wS;throw new Error(`Missing locale data for the locale "${t}".`)}(t)[b.PluralCase]};class Dl{}let LF=(()=>{class t extends Dl{constructor(n){super(),this.locale=n}getPluralCategory(n,r){switch(uF(r||this.locale)(n)){case we.Zero:return"zero";case we.One:return"one";case we.Two:return"two";case we.Few:return"few";case we.Many:return"many";default:return"other"}}}return t.\u0275fac=function(n){return new(n||t)(D(ir))},t.\u0275prov=k({token:t,factory:t.\u0275fac}),t})();class UF{constructor(e,n,r,i){this.$implicit=e,this.ngForOf=n,this.index=r,this.count=i}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let El=(()=>{class t{constructor(n,r,i){this._viewContainer=n,this._template=r,this._differs=i,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const n=this._ngForOf;if(!this._differ&&n)try{this._differ=this._differs.find(n).create(this.ngForTrackBy)}catch(r){throw new Error(`Cannot find a differ supporting object '${n}' of type '${function(t){return t.name||typeof t}(n)}'. NgFor only supports binding to Iterables such as Arrays.`)}}if(this._differ){const n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){const r=[];n.forEachOperation((i,o,s)=>{if(null==i.previousIndex){const a=this._viewContainer.createEmbeddedView(this._template,new UF(null,this._ngForOf,-1,-1),null===s?void 0:s),l=new Wv(i,a);r.push(l)}else if(null==s)this._viewContainer.remove(null===o?void 0:o);else if(null!==o){const a=this._viewContainer.get(o);this._viewContainer.move(a,s);const l=new Wv(i,a);r.push(l)}});for(let i=0;i<r.length;i++)this._perViewChange(r[i].view,r[i].record);for(let i=0,o=this._viewContainer.length;i<o;i++){const s=this._viewContainer.get(i);s.context.index=i,s.context.count=o,s.context.ngForOf=this._ngForOf}n.forEachIdentityChange(i=>{this._viewContainer.get(i.currentIndex).context.$implicit=i.item})}_perViewChange(n,r){n.context.$implicit=r.item}static ngTemplateContextGuard(n,r){return!0}}return t.\u0275fac=function(n){return new(n||t)(C(Zt),C(Pn),C(Wo))},t.\u0275dir=N({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),t})();class Wv{constructor(e,n){this.record=e,this.view=n}}let Af=(()=>{class t{constructor(n,r){this._viewContainer=n,this._context=new GF,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=r}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){qv("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){qv("ngIfElse",n),this._elseTemplateRef=n,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(n,r){return!0}}return t.\u0275fac=function(n){return new(n||t)(C(Zt),C(Pn))},t.\u0275dir=N({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),t})();class GF{constructor(){this.$implicit=null,this.ngIf=null}}function qv(t,e){if(e&&!e.createEmbeddedView)throw new Error(`${t} must be a TemplateRef, but received '${$(e)}'.`)}let mO=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=wt({type:t}),t.\u0275inj=st({providers:[{provide:Dl,useClass:LF}]}),t})();const Kv="browser";function Yv(t){return t===Kv}let Zv=(()=>{class t{}return t.\u0275prov=k({token:t,providedIn:"root",factory:()=>new vO(D(De),window)}),t})();class vO{constructor(e,n){this.document=e,this.window=n,this.offset=()=>[0,0]}setOffset(e){this.offset=Array.isArray(e)?()=>e:e}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(e){this.supportsScrolling()&&this.window.scrollTo(e[0],e[1])}scrollToAnchor(e){if(!this.supportsScrolling())return;const n=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 r=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT);let i=r.currentNode;for(;i;){const o=i.shadowRoot;if(o){const s=o.getElementById(e)||o.querySelector(`[name="${e}"]`);if(s)return s}i=r.nextNode()}}return null}(this.document,e);n&&(this.scrollToElement(n),this.attemptFocus(n))}setHistoryScrollRestoration(e){if(this.supportScrollRestoration()){const n=this.window.history;n&&n.scrollRestoration&&(n.scrollRestoration=e)}}scrollToElement(e){const n=e.getBoundingClientRect(),r=n.left+this.window.pageXOffset,i=n.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(r-o[0],i-o[1])}attemptFocus(e){return e.focus(),this.document.activeElement===e}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const e=Jv(this.window.history)||Jv(Object.getPrototypeOf(this.window.history));return!(!e||!e.writable&&!e.set)}catch(e){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(e){return!1}}}function Jv(t){return Object.getOwnPropertyDescriptor(t,"scrollRestoration")}class Nf extends class extends class{}{constructor(){super(...arguments),this.supportsDOMEvents=!0}}{static makeCurrent(){!function(t){cl||(cl=t)}(new Nf)}onAndCancel(e,n,r){return e.addEventListener(n,r,!1),()=>{e.removeEventListener(n,r,!1)}}dispatchEvent(e,n){e.dispatchEvent(n)}remove(e){e.parentNode&&e.parentNode.removeChild(e)}createElement(e,n){return(n=n||this.getDefaultDocument()).createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,n){return"window"===n?window:"document"===n?e:"body"===n?e.body:null}getBaseHref(e){const n=(fs=fs||document.querySelector("base"),fs?fs.getAttribute("href"):null);return null==n?null:function(t){bl=bl||document.createElement("a"),bl.setAttribute("href",t);const e=bl.pathname;return"/"===e.charAt(0)?e:`/${e}`}(n)}resetBaseElement(){fs=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return function(t,e){e=encodeURIComponent(e);for(const n of t.split(";")){const r=n.indexOf("="),[i,o]=-1==r?[n,""]:[n.slice(0,r),n.slice(r+1)];if(i.trim()===e)return decodeURIComponent(o)}return null}(document.cookie,e)}}let bl,fs=null;const Xv=new q("TRANSITION_ID"),AO=[{provide:Hi,useFactory:function(t,e,n){return()=>{n.get(Ui).donePromise.then(()=>{const r=rn(),i=e.querySelectorAll(`style[ng-transition="${t}"]`);for(let o=0;o<i.length;o++)r.remove(i[o])})}},deps:[Xv,De,ee],multi:!0}];class Ff{static init(){!function(t){Xd=t}(new Ff)}addToWindow(e){X.getAngularTestability=(r,i=!0)=>{const o=e.findTestabilityInTree(r,i);if(null==o)throw new Error("Could not find testability for element.");return o},X.getAllAngularTestabilities=()=>e.getAllTestabilities(),X.getAllAngularRootElements=()=>e.getAllRootElements(),X.frameworkStabilizers||(X.frameworkStabilizers=[]),X.frameworkStabilizers.push(r=>{const i=X.getAllAngularTestabilities();let o=i.length,s=!1;const a=function(l){s=s||l,o--,0==o&&r(s)};i.forEach(function(l){l.whenStable(a)})})}findTestabilityInTree(e,n,r){if(null==n)return null;const i=e.getTestability(n);return null!=i?i:r?rn().isShadowRoot(n)?this.findTestabilityInTree(e,n.host,!0):this.findTestabilityInTree(e,n.parentElement,!0):null}}let SO=(()=>{class t{build(){return new XMLHttpRequest}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=k({token:t,factory:t.\u0275fac}),t})();const hs=new q("EventManagerPlugins");let Il=(()=>{class t{constructor(n,r){this._zone=r,this._eventNameToPlugin=new Map,n.forEach(i=>i.manager=this),this._plugins=n.slice().reverse()}addEventListener(n,r,i){return this._findPluginFor(r).addEventListener(n,r,i)}addGlobalEventListener(n,r,i){return this._findPluginFor(r).addGlobalEventListener(n,r,i)}getZone(){return this._zone}_findPluginFor(n){const r=this._eventNameToPlugin.get(n);if(r)return r;const i=this._plugins;for(let o=0;o<i.length;o++){const s=i[o];if(s.supports(n))return this._eventNameToPlugin.set(n,s),s}throw new Error(`No event manager plugin found for event ${n}`)}}return t.\u0275fac=function(n){return new(n||t)(D(hs),D(ve))},t.\u0275prov=k({token:t,factory:t.\u0275fac}),t})();class Of{constructor(e){this._doc=e}addGlobalEventListener(e,n,r){const i=rn().getGlobalEventTarget(this._doc,e);if(!i)throw new Error(`Unsupported event target ${i} for event ${n}`);return this.addEventListener(i,n,r)}}let tD=(()=>{class t{constructor(){this._stylesSet=new Set}addStyles(n){const r=new Set;n.forEach(i=>{this._stylesSet.has(i)||(this._stylesSet.add(i),r.add(i))}),this.onStylesAdded(r)}onStylesAdded(n){}getAllStyles(){return Array.from(this._stylesSet)}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=k({token:t,factory:t.\u0275fac}),t})(),ps=(()=>{class t extends tD{constructor(n){super(),this._doc=n,this._hostNodes=new Map,this._hostNodes.set(n.head,[])}_addStylesToHost(n,r,i){n.forEach(o=>{const s=this._doc.createElement("style");s.textContent=o,i.push(r.appendChild(s))})}addHost(n){const r=[];this._addStylesToHost(this._stylesSet,n,r),this._hostNodes.set(n,r)}removeHost(n){const r=this._hostNodes.get(n);r&&r.forEach(nD),this._hostNodes.delete(n)}onStylesAdded(n){this._hostNodes.forEach((r,i)=>{this._addStylesToHost(n,i,r)})}ngOnDestroy(){this._hostNodes.forEach(n=>n.forEach(nD))}}return t.\u0275fac=function(n){return new(n||t)(D(De))},t.\u0275prov=k({token:t,factory:t.\u0275fac}),t})();function nD(t){rn().remove(t)}const Pf={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/"},Vf=/%COMP%/g;function Ml(t,e,n){for(let r=0;r<e.length;r++){let i=e[r];Array.isArray(i)?Ml(t,i,n):(i=i.replace(Vf,t),n.push(i))}return n}function oD(t){return e=>{if("__ngUnwrap__"===e)return t;!1===t(e)&&(e.preventDefault(),e.returnValue=!1)}}let kf=(()=>{class t{constructor(n,r,i){this.eventManager=n,this.sharedStylesHost=r,this.appId=i,this.rendererByCompId=new Map,this.defaultRenderer=new Lf(n)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;switch(r.encapsulation){case Me.Emulated:{let i=this.rendererByCompId.get(r.id);return i||(i=new $O(this.eventManager,this.sharedStylesHost,r,this.appId),this.rendererByCompId.set(r.id,i)),i.applyToHost(n),i}case 1:case Me.ShadowDom:return new GO(this.eventManager,this.sharedStylesHost,n,r);default:if(!this.rendererByCompId.has(r.id)){const i=Ml(r.id,r.styles,[]);this.sharedStylesHost.addStyles(i),this.rendererByCompId.set(r.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return t.\u0275fac=function(n){return new(n||t)(D(Il),D(ps),D(is))},t.\u0275prov=k({token:t,factory:t.\u0275fac}),t})();class Lf{constructor(e){this.eventManager=e,this.data=Object.create(null)}destroy(){}createElement(e,n){return n?document.createElementNS(Pf[n]||n,e):document.createElement(e)}createComment(e){return document.createComment(e)}createText(e){return document.createTextNode(e)}appendChild(e,n){e.appendChild(n)}insertBefore(e,n,r){e&&e.insertBefore(n,r)}removeChild(e,n){e&&e.removeChild(n)}selectRootElement(e,n){let r="string"==typeof e?document.querySelector(e):e;if(!r)throw new Error(`The selector "${e}" did not match any elements`);return n||(r.textContent=""),r}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,n,r,i){if(i){n=i+":"+n;const o=Pf[i];o?e.setAttributeNS(o,n,r):e.setAttribute(n,r)}else e.setAttribute(n,r)}removeAttribute(e,n,r){if(r){const i=Pf[r];i?e.removeAttributeNS(i,n):e.removeAttribute(`${r}:${n}`)}else e.removeAttribute(n)}addClass(e,n){e.classList.add(n)}removeClass(e,n){e.classList.remove(n)}setStyle(e,n,r,i){i&(Ct.DashCase|Ct.Important)?e.style.setProperty(n,r,i&Ct.Important?"important":""):e.style[n]=r}removeStyle(e,n,r){r&Ct.DashCase?e.style.removeProperty(n):e.style[n]=""}setProperty(e,n,r){e[n]=r}setValue(e,n){e.nodeValue=n}listen(e,n,r){return"string"==typeof e?this.eventManager.addGlobalEventListener(e,n,oD(r)):this.eventManager.addEventListener(e,n,oD(r))}}class $O extends Lf{constructor(e,n,r,i){super(e),this.component=r;const o=Ml(i+"-"+r.id,r.styles,[]);n.addStyles(o),this.contentAttr=function(t){return"_ngcontent-%COMP%".replace(Vf,t)}(i+"-"+r.id),this.hostAttr=function(t){return"_nghost-%COMP%".replace(Vf,t)}(i+"-"+r.id)}applyToHost(e){super.setAttribute(e,this.hostAttr,"")}createElement(e,n){const r=super.createElement(e,n);return super.setAttribute(r,this.contentAttr,""),r}}class GO extends Lf{constructor(e,n,r,i){super(e),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const o=Ml(i.id,i.styles,[]);for(let s=0;s<o.length;s++){const a=document.createElement("style");a.textContent=o[s],this.shadowRoot.appendChild(a)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(e,n){return super.appendChild(this.nodeOrShadowRoot(e),n)}insertBefore(e,n,r){return super.insertBefore(this.nodeOrShadowRoot(e),n,r)}removeChild(e,n){return super.removeChild(this.nodeOrShadowRoot(e),n)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}}let WO=(()=>{class t extends Of{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,i){return n.addEventListener(r,i,!1),()=>this.removeEventListener(n,r,i)}removeEventListener(n,r,i){return n.removeEventListener(r,i)}}return t.\u0275fac=function(n){return new(n||t)(D(De))},t.\u0275prov=k({token:t,factory:t.\u0275fac}),t})();const lD=["alt","control","meta","shift"],JO={"\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"},uD={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"},XO={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};let eP=(()=>{class t extends Of{constructor(n){super(n)}supports(n){return null!=t.parseEventName(n)}addEventListener(n,r,i){const o=t.parseEventName(r),s=t.eventCallback(o.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>rn().onAndCancel(n,o.domEventName,s))}static parseEventName(n){const r=n.toLowerCase().split("."),i=r.shift();if(0===r.length||"keydown"!==i&&"keyup"!==i)return null;const o=t._normalizeKey(r.pop());let s="";if(lD.forEach(l=>{const u=r.indexOf(l);u>-1&&(r.splice(u,1),s+=l+".")}),s+=o,0!=r.length||0===o.length)return null;const a={};return a.domEventName=i,a.fullKey=s,a}static getEventFullKey(n){let r="",i=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&&uD.hasOwnProperty(e)&&(e=uD[e]))}return JO[e]||e}(n);return i=i.toLowerCase()," "===i?i="space":"."===i&&(i="dot"),lD.forEach(o=>{o!=i&&XO[o](n)&&(r+=o+".")}),r+=i,r}static eventCallback(n,r,i){return o=>{t.getEventFullKey(o)===n&&i.runGuarded(()=>r(o))}}static _normalizeKey(n){switch(n){case"esc":return"escape";default:return n}}}return t.\u0275fac=function(n){return new(n||t)(D(De))},t.\u0275prov=k({token:t,factory:t.\u0275fac}),t})(),Al=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=k({factory:function(){return D(Bf)},token:t,providedIn:"root"}),t})(),Bf=(()=>{class t extends Al{constructor(n){super(),this._doc=n}sanitize(n,r){if(null==r)return null;switch(n){case ie.NONE:return r;case ie.HTML:return pn(r,"HTML")?_t(r):lg(this._doc,String(r)).toString();case ie.STYLE:return pn(r,"Style")?_t(r):r;case ie.SCRIPT:if(pn(r,"Script"))return _t(r);throw new Error("unsafe value used in a script context");case ie.URL:return eg(r),pn(r,"URL")?_t(r):bo(String(r));case ie.RESOURCE_URL:if(pn(r,"ResourceURL"))return _t(r);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${n} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(n){return function(t){return new S0(t)}(n)}bypassSecurityTrustStyle(n){return function(t){return new T0(t)}(n)}bypassSecurityTrustScript(n){return function(t){return new x0(t)}(n)}bypassSecurityTrustUrl(n){return function(t){return new R0(t)}(n)}bypassSecurityTrustResourceUrl(n){return function(t){return new N0(t)}(n)}}return t.\u0275fac=function(n){return new(n||t)(D(De))},t.\u0275prov=k({factory:function(){return function(t){return new Bf(t.get(De))}(D(mi))},token:t,providedIn:"root"}),t})();const lP=tv(G1,"browser",[{provide:os,useValue:Kv},{provide:GC,useValue:function(){Nf.makeCurrent(),Ff.init()},multi:!0},{provide:De,useFactory:function(){return function(t){xu=t}(document),document},deps:[]}]),uP=[[],{provide:Ro,useValue:"root"},{provide:br,useFactory:function(){return new br},deps:[]},{provide:hs,useClass:WO,multi:!0,deps:[De,ve,os]},{provide:hs,useClass:eP,multi:!0,deps:[De]},[],{provide:kf,useClass:kf,deps:[Il,ps,is]},{provide:Ba,useExisting:kf},{provide:tD,useExisting:ps},{provide:ps,useClass:ps,deps:[De]},{provide:Jd,useClass:Jd,deps:[ve]},{provide:Il,useClass:Il,deps:[hs,ve]},{provide:class{},useClass:SO,deps:[]},[]];let cP=(()=>{class t{constructor(n){if(n)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(n){return{ngModule:t,providers:[{provide:is,useValue:n.appId},{provide:Xv,useExisting:is},AO]}}}return t.\u0275fac=function(n){return new(n||t)(D(t,12))},t.\u0275mod=wt({type:t}),t.\u0275inj=st({providers:uP,imports:[mO,Z1]}),t})();function dP(){return new Hf(D(De))}let Hf=(()=>{class t{constructor(n){this._doc=n,this._dom=rn()}addTag(n,r=!1){return n?this._getOrCreateElement(n,r):null}addTags(n,r=!1){return n?n.reduce((i,o)=>(o&&i.push(this._getOrCreateElement(o,r)),i),[]):[]}getTag(n){return n&&this._doc.querySelector(`meta[${n}]`)||null}getTags(n){if(!n)return[];const r=this._doc.querySelectorAll(`meta[${n}]`);return r?[].slice.call(r):[]}updateTag(n,r){if(!n)return null;r=r||this._parseSelector(n);const i=this.getTag(r);return i?this._setMetaElementAttributes(n,i):this._getOrCreateElement(n,!0)}removeTag(n){this.removeTagElement(this.getTag(n))}removeTagElement(n){n&&this._dom.remove(n)}_getOrCreateElement(n,r=!1){if(!r){const s=this._parseSelector(n),a=this.getTags(s).filter(l=>this._containsAttributes(n,l))[0];if(void 0!==a)return a}const i=this._dom.createElement("meta");return this._setMetaElementAttributes(n,i),this._doc.getElementsByTagName("head")[0].appendChild(i),i}_setMetaElementAttributes(n,r){return Object.keys(n).forEach(i=>r.setAttribute(this._getMetaKeyMap(i),n[i])),r}_parseSelector(n){const r=n.name?"name":"property";return`${r}="${n[r]}"`}_containsAttributes(n,r){return Object.keys(n).every(i=>r.getAttribute(this._getMetaKeyMap(i))===n[i])}_getMetaKeyMap(n){return fP[n]||n}}return t.\u0275fac=function(n){return new(n||t)(D(De))},t.\u0275prov=k({factory:dP,token:t,providedIn:"root"}),t})();const fP={httpEquiv:"http-equiv"};function hP(){return new cD(D(De))}let cD=(()=>{class t{constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}}return t.\u0275fac=function(n){return new(n||t)(D(De))},t.\u0275prov=k({factory:hP,token:t,providedIn:"root"}),t})();function Sl(t,e){return new ne(n=>{const r=t.length;if(0===r)return void n.complete();const i=new Array(r);let o=0,s=0;for(let a=0;a<r;a++){const l=Le(t[a]);let u=!1;n.add(l.subscribe({next:c=>{u||(u=!0,s++),i[a]=c},error:c=>n.error(c),complete:()=>{o++,(o===r||!u)&&(s===r&&n.next(e?e.reduce((c,d,f)=>(c[d]=i[f],c),{}):i),n.complete())}}))}})}"undefined"!=typeof window&&window;let fD=(()=>{class t{constructor(n,r){this._renderer=n,this._elementRef=r,this.onChange=i=>{},this.onTouched=()=>{}}setProperty(n,r){this._renderer.setProperty(this._elementRef.nativeElement,n,r)}registerOnTouched(n){this.onTouched=n}registerOnChange(n){this.onChange=n}setDisabledState(n){this.setProperty("disabled",n)}}return t.\u0275fac=function(n){return new(n||t)(C(En),C(Re))},t.\u0275dir=N({type:t}),t})(),Vr=(()=>{class t extends fD{}return t.\u0275fac=function(){let e;return function(r){return(e||(e=Tt(t)))(r||t)}}(),t.\u0275dir=N({type:t,features:[ue]}),t})();const wn=new q("NgValueAccessor"),DP={provide:wn,useExisting:oe(()=>Tl),multi:!0},bP=new q("CompositionEventMode");let Tl=(()=>{class t extends fD{constructor(n,r,i){super(n,r),this._compositionMode=i,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function(){const t=rn()?rn().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}())}writeValue(n){this.setProperty("value",null==n?"":n)}_handleInput(n){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(n)}_compositionStart(){this._composing=!0}_compositionEnd(n){this._composing=!1,this._compositionMode&&this.onChange(n)}}return t.\u0275fac=function(n){return new(n||t)(C(En),C(Re),C(bP,8))},t.\u0275dir=N({type:t,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(n,r){1&n&&Be("input",function(o){return r._handleInput(o.target.value)})("blur",function(){return r.onTouched()})("compositionstart",function(){return r._compositionStart()})("compositionend",function(o){return r._compositionEnd(o.target.value)})},features:[fe([DP]),ue]}),t})();const Qe=new q("NgValidators"),lr=new q("NgAsyncValidators");function bD(t){return null!=t}function wD(t){const e=Lo(t)?Le(t):t;return xa(e),e}function ID(t){let e={};return t.forEach(n=>{e=null!=n?Object.assign(Object.assign({},e),n):e}),0===Object.keys(e).length?null:e}function MD(t,e){return e.map(n=>n(t))}function AD(t){return t.map(e=>function(t){return!t.validate}(e)?e:n=>e.validate(n))}function $f(t){return null!=t?function(t){if(!t)return null;const e=t.filter(bD);return 0==e.length?null:function(n){return ID(MD(n,e))}}(AD(t)):null}function Gf(t){return null!=t?function(t){if(!t)return null;const e=t.filter(bD);return 0==e.length?null:function(n){return function(...t){if(1===t.length){const e=t[0];if(no(e))return Sl(e,null);if(lu(e)&&Object.getPrototypeOf(e)===Object.prototype){const n=Object.keys(e);return Sl(n.map(r=>e[r]),n)}}if("function"==typeof t[t.length-1]){const e=t.pop();return Sl(t=1===t.length&&no(t[0])?t[0]:t,null).pipe(Y(n=>e(...n)))}return Sl(t,null)}(MD(n,e).map(wD)).pipe(Y(ID))}}(AD(t)):null}function xD(t,e){return null===t?[e]:Array.isArray(t)?[...t,e]:[t,e]}function Wf(t){return t?Array.isArray(t)?t:[t]:[]}function xl(t,e){return Array.isArray(t)?t.includes(e):t===e}function FD(t,e){const n=Wf(e);return Wf(t).forEach(i=>{xl(n,i)||n.push(i)}),n}function OD(t,e){return Wf(e).filter(n=>!xl(t,n))}let PD=(()=>{class t{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(n){this._rawValidators=n||[],this._composedValidatorFn=$f(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=Gf(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(n){this._onDestroyCallbacks.push(n)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(n=>n()),this._onDestroyCallbacks=[]}reset(n){this.control&&this.control.reset(n)}hasError(n,r){return!!this.control&&this.control.hasError(n,r)}getError(n,r){return this.control?this.control.getError(n,r):null}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275dir=N({type:t}),t})(),ot=(()=>{class t extends PD{get formDirective(){return null}get path(){return null}}return t.\u0275fac=function(){let e;return function(r){return(e||(e=Tt(t)))(r||t)}}(),t.\u0275dir=N({type:t,features:[ue]}),t})();class cr extends PD{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}let kD=(()=>{class t extends class{constructor(e){this._cd=e}is(e){var n,r,i;return"submitted"===e?!!(null===(n=this._cd)||void 0===n?void 0:n.submitted):!!(null===(i=null===(r=this._cd)||void 0===r?void 0:r.control)||void 0===i?void 0:i[e])}}{constructor(n){super(n)}}return t.\u0275fac=function(n){return new(n||t)(C(cr,2))},t.\u0275dir=N({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(n,r){2&n&&Ra("ng-untouched",r.is("untouched"))("ng-touched",r.is("touched"))("ng-pristine",r.is("pristine"))("ng-dirty",r.is("dirty"))("ng-valid",r.is("valid"))("ng-invalid",r.is("invalid"))("ng-pending",r.is("pending"))},features:[ue]}),t})();function gs(t,e){(function(t,e){const n=function(t){return t._rawValidators}(t);null!==e.validator?t.setValidators(xD(n,e.validator)):"function"==typeof n&&t.setValidators([n]);const r=function(t){return t._rawAsyncValidators}(t);null!==e.asyncValidator?t.setAsyncValidators(xD(r,e.asyncValidator)):"function"==typeof r&&t.setAsyncValidators([r]);const i=()=>t.updateValueAndValidity();Ol(e._rawValidators,i),Ol(e._rawAsyncValidators,i)})(t,e),e.valueAccessor.writeValue(t.value),function(t,e){e.valueAccessor.registerOnChange(n=>{t._pendingValue=n,t._pendingChange=!0,t._pendingDirty=!0,"change"===t.updateOn&&LD(t,e)})}(t,e),function(t,e){const n=(r,i)=>{e.valueAccessor.writeValue(r),i&&e.viewToModelUpdate(r)};t.registerOnChange(n),e._registerOnDestroy(()=>{t._unregisterOnChange(n)})}(t,e),function(t,e){e.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,"blur"===t.updateOn&&t._pendingChange&&LD(t,e),"submit"!==t.updateOn&&t.markAsTouched()})}(t,e),function(t,e){if(e.valueAccessor.setDisabledState){const n=r=>{e.valueAccessor.setDisabledState(r)};t.registerOnDisabledChange(n),e._registerOnDestroy(()=>{t._unregisterOnDisabledChange(n)})}}(t,e)}function Ol(t,e){t.forEach(n=>{n.registerOnValidatorChange&&n.registerOnValidatorChange(e)})}function LD(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function Vl(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}const ms="VALID",kl="INVALID",qi="PENDING",ys="DISABLED";function Zf(t){return(Xf(t)?t.validators:t)||null}function HD(t){return Array.isArray(t)?$f(t):t||null}function Jf(t,e){return(Xf(e)?e.asyncValidators:t)||null}function UD(t){return Array.isArray(t)?Gf(t):t||null}function Xf(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}class eh{constructor(e,n){this._hasOwnPendingAsyncValidator=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=e,this._rawAsyncValidators=n,this._composedValidatorFn=HD(this._rawValidators),this._composedAsyncValidatorFn=UD(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(e){this._rawValidators=this._composedValidatorFn=e}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}get parent(){return this._parent}get valid(){return this.status===ms}get invalid(){return this.status===kl}get pending(){return this.status==qi}get disabled(){return this.status===ys}get enabled(){return this.status!==ys}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(e){this._rawValidators=e,this._composedValidatorFn=HD(e)}setAsyncValidators(e){this._rawAsyncValidators=e,this._composedAsyncValidatorFn=UD(e)}addValidators(e){this.setValidators(FD(e,this._rawValidators))}addAsyncValidators(e){this.setAsyncValidators(FD(e,this._rawAsyncValidators))}removeValidators(e){this.setValidators(OD(e,this._rawValidators))}removeAsyncValidators(e){this.setAsyncValidators(OD(e,this._rawAsyncValidators))}hasValidator(e){return xl(this._rawValidators,e)}hasAsyncValidator(e){return xl(this._rawAsyncValidators,e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){this.touched=!0,this._parent&&!e.onlySelf&&this._parent.markAsTouched(e)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(e=>e.markAllAsTouched())}markAsUntouched(e={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(n=>{n.markAsUntouched({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}markAsDirty(e={}){this.pristine=!1,this._parent&&!e.onlySelf&&this._parent.markAsDirty(e)}markAsPristine(e={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(n=>{n.markAsPristine({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}markAsPending(e={}){this.status=qi,!1!==e.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)}disable(e={}){const n=this._parentMarkedDirty(e.onlySelf);this.status=ys,this.errors=null,this._forEachChild(r=>{r.disable(Object.assign(Object.assign({},e),{onlySelf:!0}))}),this._updateValue(),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},e),{skipPristineCheck:n})),this._onDisabledChange.forEach(r=>r(!0))}enable(e={}){const n=this._parentMarkedDirty(e.onlySelf);this.status=ms,this._forEachChild(r=>{r.enable(Object.assign(Object.assign({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},e),{skipPristineCheck:n})),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(e){this._parent=e}updateValueAndValidity(e={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===ms||this.status===qi)&&this._runAsyncValidator(e.emitEvent)),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(e)}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(n=>n._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?ys:ms}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e){if(this.asyncValidator){this.status=qi,this._hasOwnPendingAsyncValidator=!0;const n=wD(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(r=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(r,{emitEvent:e})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(e,n={}){this.errors=e,this._updateControlsErrors(!1!==n.emitEvent)}get(e){return function(t,e,n){if(null==e||(Array.isArray(e)||(e=e.split(".")),Array.isArray(e)&&0===e.length))return null;let r=t;return e.forEach(i=>{r=r instanceof th?r.controls.hasOwnProperty(i)?r.controls[i]:null:r instanceof LP&&r.at(i)||null}),r}(this,e)}getError(e,n){const r=n?this.get(n):this;return r&&r.errors?r.errors[e]:null}hasError(e,n){return!!this.getError(e,n)}get root(){let e=this;for(;e._parent;)e=e._parent;return e}_updateControlsErrors(e){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(e)}_initObservables(){this.valueChanges=new Ne,this.statusChanges=new Ne}_calculateStatus(){return this._allControlsDisabled()?ys:this.errors?kl:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(qi)?qi:this._anyControlsHaveStatus(kl)?kl:ms}_anyControlsHaveStatus(e){return this._anyControls(n=>n.status===e)}_anyControlsDirty(){return this._anyControls(e=>e.dirty)}_anyControlsTouched(){return this._anyControls(e=>e.touched)}_updatePristine(e={}){this.pristine=!this._anyControlsDirty(),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}_updateTouched(e={}){this.touched=this._anyControlsTouched(),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}_isBoxedValue(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){Xf(e)&&null!=e.updateOn&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){return!e&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class Ll extends eh{constructor(e=null,n,r){super(Zf(n),Jf(r,n)),this._onChange=[],this._applyFormState(e),this._setUpdateStrategy(n),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}setValue(e,n={}){this.value=this._pendingValue=e,this._onChange.length&&!1!==n.emitModelToViewChange&&this._onChange.forEach(r=>r(this.value,!1!==n.emitViewToModelChange)),this.updateValueAndValidity(n)}patchValue(e,n={}){this.setValue(e,n)}reset(e=null,n={}){this._applyFormState(e),this.markAsPristine(n),this.markAsUntouched(n),this.setValue(this.value,n),this._pendingChange=!1}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(e){this._onChange.push(e)}_unregisterOnChange(e){Vl(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){Vl(this._onDisabledChange,e)}_forEachChild(e){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(e){this._isBoxedValue(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}}class th extends eh{constructor(e,n,r){super(Zf(n),Jf(r,n)),this.controls=e,this._initObservables(),this._setUpdateStrategy(n),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(e,n){return this.controls[e]?this.controls[e]:(this.controls[e]=n,n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange),n)}addControl(e,n,r={}){this.registerControl(e,n),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}removeControl(e,n={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}setControl(e,n,r={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],n&&this.registerControl(e,n),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}contains(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}setValue(e,n={}){this._checkAllValuesPresent(e),Object.keys(e).forEach(r=>{this._throwIfControlMissing(r),this.controls[r].setValue(e[r],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}patchValue(e,n={}){null!=e&&(Object.keys(e).forEach(r=>{this.controls[r]&&this.controls[r].patchValue(e[r],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n))}reset(e={},n={}){this._forEachChild((r,i)=>{r.reset(e[i],{onlySelf:!0,emitEvent:n.emitEvent})}),this._updatePristine(n),this._updateTouched(n),this.updateValueAndValidity(n)}getRawValue(){return this._reduceChildren({},(e,n,r)=>(e[r]=n instanceof Ll?n.value:n.getRawValue(),e))}_syncPendingControls(){let e=this._reduceChildren(!1,(n,r)=>!!r._syncPendingControls()||n);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_throwIfControlMissing(e){if(!Object.keys(this.controls).length)throw new Error("\n There are no form controls registered with this group yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.controls[e])throw new Error(`Cannot find form control with name: ${e}.`)}_forEachChild(e){Object.keys(this.controls).forEach(n=>{const r=this.controls[n];r&&e(r,n)})}_setUpControls(){this._forEachChild(e=>{e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(e){for(const n of Object.keys(this.controls)){const r=this.controls[n];if(this.contains(n)&&e(r))return!0}return!1}_reduceValue(){return this._reduceChildren({},(e,n,r)=>((n.enabled||this.disabled)&&(e[r]=n.value),e))}_reduceChildren(e,n){let r=e;return this._forEachChild((i,o)=>{r=n(r,i,o)}),r}_allControlsDisabled(){for(const e of Object.keys(this.controls))if(this.controls[e].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_checkAllValuesPresent(e){this._forEachChild((n,r)=>{if(void 0===e[r])throw new Error(`Must supply a value for form control with name: '${r}'.`)})}}class LP extends eh{constructor(e,n,r){super(Zf(n),Jf(r,n)),this.controls=e,this._initObservables(),this._setUpdateStrategy(n),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(e){return this.controls[e]}push(e,n={}){this.controls.push(e),this._registerControl(e),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}insert(e,n,r={}){this.controls.splice(e,0,n),this._registerControl(n),this.updateValueAndValidity({emitEvent:r.emitEvent})}removeAt(e,n={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),this.controls.splice(e,1),this.updateValueAndValidity({emitEvent:n.emitEvent})}setControl(e,n,r={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),this.controls.splice(e,1),n&&(this.controls.splice(e,0,n),this._registerControl(n)),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(e,n={}){this._checkAllValuesPresent(e),e.forEach((r,i)=>{this._throwIfControlMissing(i),this.at(i).setValue(r,{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}patchValue(e,n={}){null!=e&&(e.forEach((r,i)=>{this.at(i)&&this.at(i).patchValue(r,{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n))}reset(e=[],n={}){this._forEachChild((r,i)=>{r.reset(e[i],{onlySelf:!0,emitEvent:n.emitEvent})}),this._updatePristine(n),this._updateTouched(n),this.updateValueAndValidity(n)}getRawValue(){return this.controls.map(e=>e instanceof Ll?e.value:e.getRawValue())}clear(e={}){this.controls.length<1||(this._forEachChild(n=>n._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:e.emitEvent}))}_syncPendingControls(){let e=this.controls.reduce((n,r)=>!!r._syncPendingControls()||n,!1);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_throwIfControlMissing(e){if(!this.controls.length)throw new Error("\n There are no form controls registered with this array yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.at(e))throw new Error(`Cannot find form control at index ${e}`)}_forEachChild(e){this.controls.forEach((n,r)=>{e(n,r)})}_updateValue(){this.value=this.controls.filter(e=>e.enabled||this.disabled).map(e=>e.value)}_anyControls(e){return this.controls.some(n=>n.enabled&&e(n))}_setUpControls(){this._forEachChild(e=>this._registerControl(e))}_checkAllValuesPresent(e){this._forEachChild((n,r)=>{if(void 0===e[r])throw new Error(`Must supply a value for form control at index: ${r}.`)})}_allControlsDisabled(){for(const e of this.controls)if(e.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(e){e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)}}const HP={provide:cr,useExisting:oe(()=>rh)},WD=(()=>Promise.resolve(null))();let rh=(()=>{class t extends cr{constructor(n,r,i,o){super(),this.control=new Ll,this._registered=!1,this.update=new Ne,this._parent=n,this._setValidators(r),this._setAsyncValidators(i),this.valueAccessor=function(t,e){if(!e)return null;let n,r,i;return Array.isArray(e),e.forEach(o=>{o.constructor===Tl?n=o:function(t){return Object.getPrototypeOf(t.constructor)===Vr}(o)?r=o:i=o}),i||r||n||null}(0,o)}ngOnChanges(n){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in n&&this._updateDisabled(n),function(t,e){if(!t.hasOwnProperty("model"))return!1;const n=t.model;return!!n.isFirstChange()||!Object.is(e,n.currentValue)}(n,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._parent?function(t,e){return[...e.path,t]}(this.name,this._parent):[this.name]}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(n){this.viewModel=n,this.update.emit(n)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){gs(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(n){WD.then(()=>{this.control.setValue(n,{emitViewToModelChange:!1})})}_updateDisabled(n){const r=n.isDisabled.currentValue,i=""===r||r&&"false"!==r;WD.then(()=>{i&&!this.control.disabled?this.control.disable():!i&&this.control.disabled&&this.control.enable()})}}return t.\u0275fac=function(n){return new(n||t)(C(ot,9),C(Qe,10),C(lr,10),C(wn,10))},t.\u0275dir=N({type:t,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[fe([HP]),ue,$e]}),t})(),zD=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=wt({type:t}),t.\u0275inj=st({}),t})(),cE=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=wt({type:t}),t.\u0275inj=st({imports:[[zD]]}),t})(),fV=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=wt({type:t}),t.\u0275inj=st({imports:[cE]}),t})();const zi=new ne(t=>t.complete());function jl(t){return t?function(t){return new ne(e=>t.schedule(()=>e.complete()))}(t):zi}function Bl(t){return new ne(e=>{let n;try{n=t()}catch(i){return void e.error(i)}return(n?Le(n):jl()).subscribe(e)})}function dE(t,e){return new ne(e?n=>e.schedule(pV,0,{error:t,subscriber:n}):n=>n.error(t))}function pV({error:t,subscriber:e}){e.error(t)}function dh(t,e,n,r){return un(n)&&(r=n,n=void 0),r?dh(t,e,n).pipe(Y(i=>no(i)?r(...i):r(i))):new ne(i=>{fE(t,e,function(s){i.next(arguments.length>1?Array.prototype.slice.call(arguments):s)},i,n)})}function fE(t,e,n,r,i){let o;if(function(t){return t&&"function"==typeof t.addEventListener&&"function"==typeof t.removeEventListener}(t)){const s=t;t.addEventListener(e,n,i),o=()=>s.removeEventListener(e,n,i)}else if(function(t){return t&&"function"==typeof t.on&&"function"==typeof t.off}(t)){const s=t;t.on(e,n),o=()=>s.off(e,n)}else if(function(t){return t&&"function"==typeof t.addListener&&"function"==typeof t.removeListener}(t)){const s=t;t.addListener(e,n),o=()=>s.removeListener(e,n)}else{if(!t||!t.length)throw new TypeError("Invalid event target");for(let s=0,a=t.length;s<a;s++)fE(t[s],e,n,r,i)}r.add(o)}function V(...t){let e=t[t.length-1];return ks(e)?(t.pop(),cu(t,e)):pu(t)}function Hl(...t){return io(1)(V(...t))}function jn(){}const kr=new ne(jn);function an(t,e){return function(r){return r.lift(new CV(t,e))}}class CV{constructor(e,n){this.predicate=e,this.thisArg=n}call(e,n){return n.subscribe(new vV(e,this.predicate,this.thisArg))}}class vV extends ce{constructor(e,n,r){super(e),this.predicate=n,this.thisArg=r,this.count=0}_next(e){let n;try{n=this.predicate.call(this.thisArg,e,this.count++)}catch(r){return void this.destination.error(r)}n&&this.destination.next(e)}}function kt(t,e){return"function"==typeof e?n=>n.pipe(kt((r,i)=>Le(t(r,i)).pipe(Y((o,s)=>e(r,o,i,s))))):n=>n.lift(new DV(t))}class DV{constructor(e){this.project=e}call(e,n){return n.subscribe(new EV(e,this.project))}}class EV extends fu{constructor(e,n){super(e),this.project=n,this.index=0}_next(e){let n;const r=this.index++;try{n=this.project(e,r)}catch(i){return void this.destination.error(i)}this._innerSub(n)}_innerSub(e){const n=this.innerSubscription;n&&n.unsubscribe();const r=new du(this),i=this.destination;i.add(r),this.innerSubscription=hu(e,r),this.innerSubscription!==r&&i.add(this.innerSubscription)}_complete(){const{innerSubscription:e}=this;(!e||e.closed)&&super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(e){this.destination.next(e)}}const hE=(()=>{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 Bn(t){return e=>0===t?jl():e.lift(new wV(t))}class wV{constructor(e){if(this.total=e,this.total<0)throw new hE}call(e,n){return n.subscribe(new IV(e,this.total))}}class IV extends ce{constructor(e,n){super(e),this.total=n,this.count=0}_next(e){const n=this.total,r=++this.count;r<=n&&(this.destination.next(e),r===n&&(this.destination.complete(),this.unsubscribe()))}}function dt(t,e,n){return function(i){return i.lift(new MV(t,e,n))}}class MV{constructor(e,n,r){this.nextOrObserver=e,this.error=n,this.complete=r}call(e,n){return n.subscribe(new AV(e,this.nextOrObserver,this.error,this.complete))}}class AV extends ce{constructor(e,n,r,i){super(e),this._tapNext=jn,this._tapError=jn,this._tapComplete=jn,this._tapError=r||jn,this._tapComplete=i||jn,un(n)?(this._context=this,this._tapNext=n):n&&(this._context=n,this._tapNext=n.next||jn,this._tapError=n.error||jn,this._tapComplete=n.complete||jn)}_next(e){try{this._tapNext.call(this._context,e)}catch(n){return void this.destination.error(n)}this.destination.next(e)}_error(e){try{this._tapError.call(this._context,e)}catch(n){return void this.destination.error(n)}this.destination.error(e)}_complete(){try{this._tapComplete.call(this._context)}catch(e){return void this.destination.error(e)}return this.destination.complete()}}class SV extends he{constructor(e,n){super()}schedule(e,n=0){return this}}let pE=(()=>{class t{constructor(n,r=t.now){this.SchedulerAction=n,this.now=r}schedule(n,r=0,i){return new this.SchedulerAction(this,n).schedule(i,r)}}return t.now=()=>Date.now(),t})();class dr extends pE{constructor(e,n=pE.now){super(e,()=>dr.delegate&&dr.delegate!==this?dr.delegate.now():n()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(e,n=0,r){return dr.delegate&&dr.delegate!==this?dr.delegate.schedule(e,n,r):super.schedule(e,n,r)}flush(e){const{actions:n}=this;if(this.active)return void n.push(e);let r;this.active=!0;do{if(r=e.execute(e.state,e.delay))break}while(e=n.shift());if(this.active=!1,r){for(;e=n.shift();)e.unsubscribe();throw r}}}const xV=new dr(class extends SV{constructor(e,n){super(e,n),this.scheduler=e,this.work=n,this.pending=!1}schedule(e,n=0){if(this.closed)return this;this.state=e;const r=this.id,i=this.scheduler;return null!=r&&(this.id=this.recycleAsyncId(i,r,n)),this.pending=!0,this.delay=n,this.id=this.id||this.requestAsyncId(i,this.id,n),this}requestAsyncId(e,n,r=0){return setInterval(e.flush.bind(e,this),r)}recycleAsyncId(e,n,r=0){if(null!==r&&this.delay===r&&!1===this.pending)return n;clearInterval(n)}execute(e,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const r=this._execute(e,n);if(r)return r;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,n){let i,r=!1;try{this.work(e)}catch(o){r=!0,i=!!o&&o||new Error(o)}if(r)return this.unsubscribe(),i}_unsubscribe(){const e=this.id,n=this.scheduler,r=n.actions,i=r.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==i&&r.splice(i,1),null!=e&&(this.id=this.recycleAsyncId(n,e,null)),this.delay=null}});class ln{constructor(e,n,r){this.kind=e,this.value=n,this.error=r,this.hasValue="N"===e}observe(e){switch(this.kind){case"N":return e.next&&e.next(this.value);case"E":return e.error&&e.error(this.error);case"C":return e.complete&&e.complete()}}do(e,n,r){switch(this.kind){case"N":return e&&e(this.value);case"E":return n&&n(this.error);case"C":return r&&r()}}accept(e,n,r){return e&&"function"==typeof e.next?this.observe(e):this.do(e,n,r)}toObservable(){switch(this.kind){case"N":return V(this.value);case"E":return dE(this.error);case"C":return jl()}throw new Error("unexpected notification kind value")}static createNext(e){return void 0!==e?new ln("N",e):ln.undefinedValueNotification}static createError(e){return new ln("E",void 0,e)}static createComplete(){return ln.completeNotification}}ln.completeNotification=new ln("C"),ln.undefinedValueNotification=new ln("N",void 0);class FV{constructor(e,n){this.delay=e,this.scheduler=n}call(e,n){return n.subscribe(new fh(e,this.delay,this.scheduler))}}class fh extends ce{constructor(e,n,r){super(e),this.delay=n,this.scheduler=r,this.queue=[],this.active=!1,this.errored=!1}static dispatch(e){const n=e.source,r=n.queue,i=e.scheduler,o=e.destination;for(;r.length>0&&r[0].time-i.now()<=0;)r.shift().notification.observe(o);if(r.length>0){const s=Math.max(0,r[0].time-i.now());this.schedule(e,s)}else this.unsubscribe(),n.active=!1}_schedule(e){this.active=!0,this.destination.add(e.schedule(fh.dispatch,this.delay,{source:this,destination:this.destination,scheduler:e}))}scheduleNotification(e){if(!0===this.errored)return;const n=this.scheduler,r=new OV(n.now()+this.delay,e);this.queue.push(r),!1===this.active&&this._schedule(n)}_next(e){this.scheduleNotification(ln.createNext(e))}_error(e){this.errored=!0,this.queue=[],this.destination.error(e),this.unsubscribe()}_complete(){this.scheduleNotification(ln.createComplete()),this.unsubscribe()}}class OV{constructor(e,n){this.time=e,this.notification=n}}const Cs="Service workers are disabled or not supported by this browser";class Ul{constructor(e){if(this.serviceWorker=e,e){const r=dh(e,"controllerchange").pipe(Y(()=>e.controller)),o=Hl(Bl(()=>V(e.controller)),r);this.worker=o.pipe(an(c=>!!c)),this.registration=this.worker.pipe(kt(()=>e.getRegistration()));const u=dh(e,"message").pipe(Y(c=>c.data)).pipe(an(c=>c&&c.type)).pipe(yu(new Et));u.connect(),this.events=u}else this.worker=this.events=this.registration=Bl(()=>dE(new Error("Service workers are disabled or not supported by this browser")))}postMessage(e,n){return this.worker.pipe(Bn(1),dt(r=>{r.postMessage(Object.assign({action:e},n))})).toPromise().then(()=>{})}postMessageWithStatus(e,n,r){const i=this.waitForStatus(r),o=this.postMessage(e,n);return Promise.all([i,o]).then(()=>{})}generateNonce(){return Math.round(1e7*Math.random())}eventsOfType(e){return this.events.pipe(an(r=>r.type===e))}nextEventOfType(e){return this.eventsOfType(e).pipe(Bn(1))}waitForStatus(e){return this.eventsOfType("STATUS").pipe(an(n=>n.nonce===e),Bn(1),Y(n=>{if(!n.status)throw new Error(n.error)})).toPromise()}get isEnabled(){return!!this.serviceWorker}}let VV=(()=>{class t{constructor(n){if(this.sw=n,this.subscriptionChanges=new Et,!n.isEnabled)return this.messages=kr,this.notificationClicks=kr,void(this.subscription=kr);this.messages=this.sw.eventsOfType("PUSH").pipe(Y(i=>i.data)),this.notificationClicks=this.sw.eventsOfType("NOTIFICATION_CLICK").pipe(Y(i=>i.data)),this.pushManager=this.sw.registration.pipe(Y(i=>i.pushManager));const r=this.pushManager.pipe(kt(i=>i.getSubscription()));this.subscription=gu(r,this.subscriptionChanges)}get isEnabled(){return this.sw.isEnabled}requestSubscription(n){if(!this.sw.isEnabled)return Promise.reject(new Error(Cs));const r={userVisibleOnly:!0};let i=this.decodeBase64(n.serverPublicKey.replace(/_/g,"/").replace(/-/g,"+")),o=new Uint8Array(new ArrayBuffer(i.length));for(let s=0;s<i.length;s++)o[s]=i.charCodeAt(s);return r.applicationServerKey=o,this.pushManager.pipe(kt(s=>s.subscribe(r)),Bn(1)).toPromise().then(s=>(this.subscriptionChanges.next(s),s))}unsubscribe(){return this.sw.isEnabled?this.subscription.pipe(Bn(1),kt(r=>{if(null===r)throw new Error("Not subscribed to push notifications.");return r.unsubscribe().then(i=>{if(!i)throw new Error("Unsubscribe failed!");this.subscriptionChanges.next(null)})})).toPromise():Promise.reject(new Error(Cs))}decodeBase64(n){return atob(n)}}return t.\u0275fac=function(n){return new(n||t)(D(Ul))},t.\u0275prov=k({token:t,factory:t.\u0275fac}),t})(),kV=(()=>{class t{constructor(n){if(this.sw=n,!n.isEnabled)return this.available=kr,this.activated=kr,void(this.unrecoverable=kr);this.available=this.sw.eventsOfType("UPDATE_AVAILABLE"),this.activated=this.sw.eventsOfType("UPDATE_ACTIVATED"),this.unrecoverable=this.sw.eventsOfType("UNRECOVERABLE_STATE")}get isEnabled(){return this.sw.isEnabled}checkForUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(Cs));const n=this.sw.generateNonce();return this.sw.postMessageWithStatus("CHECK_FOR_UPDATES",{statusNonce:n},n)}activateUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(Cs));const n=this.sw.generateNonce();return this.sw.postMessageWithStatus("ACTIVATE_UPDATE",{statusNonce:n},n)}}return t.\u0275fac=function(n){return new(n||t)(D(Ul))},t.\u0275prov=k({token:t,factory:t.\u0275fac}),t})();class hh{}const gE=new q("NGSW_REGISTER_SCRIPT");function LV(t,e,n,r){return()=>{if(!Yv(r)||!("serviceWorker"in navigator)||!1===n.enabled)return;let o;if(navigator.serviceWorker.addEventListener("controllerchange",()=>{null!==navigator.serviceWorker.controller&&navigator.serviceWorker.controller.postMessage({action:"INITIALIZE"})}),"function"==typeof n.registrationStrategy)o=n.registrationStrategy();else{const[a,...l]=(n.registrationStrategy||"registerWhenStable:30000").split(":");switch(a){case"registerImmediately":o=V(null);break;case"registerWithDelay":o=mE(+l[0]||0);break;case"registerWhenStable":o=l[0]?gu(yE(t),mE(+l[0])):yE(t);break;default:throw new Error(`Unknown ServiceWorker registration strategy: ${n.registrationStrategy}`)}}t.get(ve).runOutsideAngular(()=>o.pipe(Bn(1)).subscribe(()=>navigator.serviceWorker.register(e,{scope:n.scope}).catch(a=>console.error("Service worker registration failed with:",a))))}}function mE(t){return V(null).pipe(function(t,e=xV){const r=function(t){return t instanceof Date&&!isNaN(+t)}(t)?+t-e.now():Math.abs(t);return i=>i.lift(new FV(r,e))}(t))}function yE(t){return t.get(Nr).isStable.pipe(an(n=>n))}function jV(t,e){return new Ul(Yv(e)&&!1!==t.enabled?navigator.serviceWorker:void 0)}let BV=(()=>{class t{static register(n,r={}){return{ngModule:t,providers:[{provide:gE,useValue:n},{provide:hh,useValue:r},{provide:Ul,useFactory:jV,deps:[hh,os]},{provide:Hi,useFactory:LV,deps:[ee,gE,hh,os],multi:!0}]}}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=wt({type:t}),t.\u0275inj=st({providers:[VV,kV]}),t})();class Dt extends Et{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){const n=super._subscribe(e);return n&&!n.closed&&e.next(this._value),n}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new Wr;return this._value}next(e){super.next(this._value=e)}}class HV extends ce{notifyNext(e,n,r,i,o){this.destination.next(n)}notifyError(e,n){this.destination.error(e)}notifyComplete(e){this.destination.complete()}}class UV extends ce{constructor(e,n,r){super(),this.parent=e,this.outerValue=n,this.outerIndex=r,this.index=0}_next(e){this.parent.notifyNext(this.outerValue,e,this.outerIndex,this.index++,this)}_error(e){this.parent.notifyError(e,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}function $V(t,e,n,r,i=new UV(t,n,r)){if(!i.closed)return e instanceof ne?e.subscribe(i):uu(e)(i)}const CE={};class WV{constructor(e){this.resultSelector=e}call(e,n){return n.subscribe(new qV(e,this.resultSelector))}}class qV extends HV{constructor(e,n){super(e),this.resultSelector=n,this.active=0,this.values=[],this.observables=[]}_next(e){this.values.push(CE),this.observables.push(e)}_complete(){const e=this.observables,n=e.length;if(0===n)this.destination.complete();else{this.active=n,this.toRespond=n;for(let r=0;r<n;r++)this.add($V(this,e[r],void 0,r))}}notifyComplete(e){0==(this.active-=1)&&this.destination.complete()}notifyNext(e,n,r){const i=this.values,s=this.toRespond?i[r]===CE?--this.toRespond:this.toRespond:0;i[r]=n,0===s&&(this.resultSelector?this._tryResultSelector(i):this.destination.next(i.slice()))}_tryResultSelector(e){let n;try{n=this.resultSelector.apply(this,e)}catch(r){return void this.destination.error(r)}this.destination.next(n)}}const $l=(()=>{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 vE(t,e){let n=!1;return arguments.length>=2&&(n=!0),function(i){return i.lift(new QV(t,e,n))}}class QV{constructor(e,n,r=!1){this.accumulator=e,this.seed=n,this.hasSeed=r}call(e,n){return n.subscribe(new KV(e,this.accumulator,this.seed,this.hasSeed))}}class KV extends ce{constructor(e,n,r,i){super(e),this.accumulator=n,this._seed=r,this.hasSeed=i,this.index=0}get seed(){return this._seed}set seed(e){this.hasSeed=!0,this._seed=e}_next(e){if(this.hasSeed)return this._tryNext(e);this.seed=e,this.destination.next(e)}_tryNext(e){const n=this.index++;let r;try{r=this.accumulator(this.seed,e,n)}catch(i){this.destination.error(i)}this.seed=r,this.destination.next(r)}}function Lr(t){return function(n){const r=new YV(t),i=n.lift(r);return r.caught=i}}class YV{constructor(e){this.selector=e}call(e,n){return n.subscribe(new ZV(e,this.selector,this.caught))}}class ZV extends fu{constructor(e,n,r){super(e),this.selector=n,this.caught=r}error(e){if(!this.isStopped){let n;try{n=this.selector(e,this.caught)}catch(o){return void super.error(o)}this._unsubscribeAndRecycle();const r=new du(this);this.add(r);const i=hu(n,r);i!==r&&this.add(i)}}}function vs(t,e){return je(t,e,1)}function ph(t){return function(n){return 0===t?jl():n.lift(new JV(t))}}class JV{constructor(e){if(this.total=e,this.total<0)throw new hE}call(e,n){return n.subscribe(new XV(e,this.total))}}class XV extends ce{constructor(e,n){super(e),this.total=n,this.ring=new Array,this.count=0}_next(e){const n=this.ring,r=this.total,i=this.count++;n.length<r?n.push(e):n[i%r]=e}_complete(){const e=this.destination;let n=this.count;if(n>0){const r=this.count>=this.total?this.total:this.count,i=this.ring;for(let o=0;o<r;o++){const s=n++%r;e.next(i[s])}}e.complete()}}function DE(t=nk){return e=>e.lift(new ek(t))}class ek{constructor(e){this.errorFactory=e}call(e,n){return n.subscribe(new tk(e,this.errorFactory))}}class tk extends ce{constructor(e,n){super(e),this.errorFactory=n,this.hasValue=!1}_next(e){this.hasValue=!0,this.destination.next(e)}_complete(){if(this.hasValue)return this.destination.complete();{let e;try{e=this.errorFactory()}catch(n){e=n}this.destination.error(e)}}}function nk(){return new $l}function EE(t=null){return e=>e.lift(new rk(t))}class rk{constructor(e){this.defaultValue=e}call(e,n){return n.subscribe(new ik(e,this.defaultValue))}}class ik extends ce{constructor(e,n){super(e),this.defaultValue=n,this.isEmpty=!0}_next(e){this.isEmpty=!1,this.destination.next(e)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}function Qi(t,e){const n=arguments.length>=2;return r=>r.pipe(t?an((i,o)=>t(i,o,r)):Vs,Bn(1),n?EE(e):DE(()=>new $l))}class ak{constructor(e){this.callback=e}call(e,n){return n.subscribe(new lk(e,this.callback))}}class lk extends ce{constructor(e,n){super(e),this.add(new he(n))}}class Hn{constructor(e,n){this.id=e,this.url=n}}class gh extends Hn{constructor(e,n,r="imperative",i=null){super(e,n),this.navigationTrigger=r,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Ds extends Hn{constructor(e,n,r){super(e,n),this.urlAfterRedirects=r}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class bE extends Hn{constructor(e,n,r){super(e,n),this.reason=r}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class uk extends Hn{constructor(e,n,r){super(e,n),this.error=r}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class ck extends Hn{constructor(e,n,r,i){super(e,n),this.urlAfterRedirects=r,this.state=i}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class dk extends Hn{constructor(e,n,r,i){super(e,n),this.urlAfterRedirects=r,this.state=i}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class fk extends Hn{constructor(e,n,r,i,o){super(e,n),this.urlAfterRedirects=r,this.state=i,this.shouldActivate=o}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class hk extends Hn{constructor(e,n,r,i){super(e,n),this.urlAfterRedirects=r,this.state=i}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class pk extends Hn{constructor(e,n,r,i){super(e,n),this.urlAfterRedirects=r,this.state=i}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class wE{constructor(e){this.route=e}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class IE{constructor(e){this.route=e}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class gk{constructor(e){this.snapshot=e}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class mk{constructor(e){this.snapshot=e}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class yk{constructor(e){this.snapshot=e}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class _k{constructor(e){this.snapshot=e}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ME{constructor(e,n,r){this.routerEvent=e,this.position=n,this.anchor=r}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}const z="primary";class Ck{constructor(e){this.params=e||{}}has(e){return Object.prototype.hasOwnProperty.call(this.params,e)}get(e){if(this.has(e)){const n=this.params[e];return Array.isArray(n)?n[0]:n}return null}getAll(e){if(this.has(e)){const n=this.params[e];return Array.isArray(n)?n:[n]}return[]}get keys(){return Object.keys(this.params)}}function Ki(t){return new Ck(t)}const AE="ngNavigationCancelingError";function mh(t){const e=Error("NavigationCancelingError: "+t);return e[AE]=!0,e}function Dk(t,e,n){const r=n.path.split("/");if(r.length>t.length||"full"===n.pathMatch&&(e.hasChildren()||r.length<t.length))return null;const i={};for(let o=0;o<r.length;o++){const s=r[o],a=t[o];if(s.startsWith(":"))i[s.substring(1)]=a;else if(s!==a.path)return null}return{consumed:t.slice(0,r.length),posParams:i}}function In(t,e){const n=t?Object.keys(t):void 0,r=e?Object.keys(e):void 0;if(!n||!r||n.length!=r.length)return!1;let i;for(let o=0;o<n.length;o++)if(i=n[o],!SE(t[i],e[i]))return!1;return!0}function SE(t,e){if(Array.isArray(t)&&Array.isArray(e)){if(t.length!==e.length)return!1;const n=[...t].sort(),r=[...e].sort();return n.every((i,o)=>r[o]===i)}return t===e}function TE(t){return Array.prototype.concat.apply([],t)}function xE(t){return t.length>0?t[t.length-1]:null}function He(t,e){for(const n in t)t.hasOwnProperty(n)&&e(t[n],n)}function Mn(t){return xa(t)?t:Lo(t)?Le(Promise.resolve(t)):V(t)}const wk={exact:function FE(t,e,n){if(!Br(t.segments,e.segments)||!Gl(t.segments,e.segments,n)||t.numberOfChildren!==e.numberOfChildren)return!1;for(const r in e.children)if(!t.children[r]||!FE(t.children[r],e.children[r],n))return!1;return!0},subset:OE},RE={exact:function(t,e){return In(t,e)},subset:function(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(n=>SE(t[n],e[n]))},ignored:()=>!0};function NE(t,e,n){return wk[n.paths](t.root,e.root,n.matrixParams)&&RE[n.queryParams](t.queryParams,e.queryParams)&&!("exact"===n.fragment&&t.fragment!==e.fragment)}function OE(t,e,n){return PE(t,e,e.segments,n)}function PE(t,e,n,r){if(t.segments.length>n.length){const i=t.segments.slice(0,n.length);return!(!Br(i,n)||e.hasChildren()||!Gl(i,n,r))}if(t.segments.length===n.length){if(!Br(t.segments,n)||!Gl(t.segments,n,r))return!1;for(const i in e.children)if(!t.children[i]||!OE(t.children[i],e.children[i],r))return!1;return!0}{const i=n.slice(0,t.segments.length),o=n.slice(t.segments.length);return!!(Br(t.segments,i)&&Gl(t.segments,i,r)&&t.children[z])&&PE(t.children[z],e,o,r)}}function Gl(t,e,n){return e.every((r,i)=>RE[n](t[i].parameters,r.parameters))}class jr{constructor(e,n,r){this.root=e,this.queryParams=n,this.fragment=r}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Ki(this.queryParams)),this._queryParamMap}toString(){return Tk.serialize(this)}}class K{constructor(e,n){this.segments=e,this.children=n,this.parent=null,He(n,(r,i)=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Wl(this)}}class Es{constructor(e,n){this.path=e,this.parameters=n}get parameterMap(){return this._parameterMap||(this._parameterMap=Ki(this.parameters)),this._parameterMap}toString(){return jE(this)}}function Br(t,e){return t.length===e.length&&t.every((n,r)=>n.path===e[r].path)}class yh{}class VE{parse(e){const n=new Lk(e);return new jr(n.parseRootSegment(),n.parseQueryParams(),n.parseFragment())}serialize(e){return`${`/${bs(e.root,!0)}`}${function(t){const e=Object.keys(t).map(n=>{const r=t[n];return Array.isArray(r)?r.map(i=>`${ql(n)}=${ql(i)}`).join("&"):`${ql(n)}=${ql(r)}`}).filter(n=>!!n);return e.length?`?${e.join("&")}`:""}(e.queryParams)}${"string"==typeof e.fragment?`#${function(t){return encodeURI(t)}(e.fragment)}`:""}`}}const Tk=new VE;function Wl(t){return t.segments.map(e=>jE(e)).join("/")}function bs(t,e){if(!t.hasChildren())return Wl(t);if(e){const n=t.children[z]?bs(t.children[z],!1):"",r=[];return He(t.children,(i,o)=>{o!==z&&r.push(`${o}:${bs(i,!1)}`)}),r.length>0?`${n}(${r.join("//")})`:n}{const n=function(t,e){let n=[];return He(t.children,(r,i)=>{i===z&&(n=n.concat(e(r,i)))}),He(t.children,(r,i)=>{i!==z&&(n=n.concat(e(r,i)))}),n}(t,(r,i)=>i===z?[bs(t.children[z],!1)]:[`${i}:${bs(r,!1)}`]);return 1===Object.keys(t.children).length&&null!=t.children[z]?`${Wl(t)}/${n[0]}`:`${Wl(t)}/(${n.join("//")})`}}function kE(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function ql(t){return kE(t).replace(/%3B/gi,";")}function _h(t){return kE(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function zl(t){return decodeURIComponent(t)}function LE(t){return zl(t.replace(/\+/g,"%20"))}function jE(t){return`${_h(t.path)}${function(t){return Object.keys(t).map(e=>`;${_h(e)}=${_h(t[e])}`).join("")}(t.parameters)}`}const Fk=/^[^\/()?;=#]+/;function Ql(t){const e=t.match(Fk);return e?e[0]:""}const Ok=/^[^=?&#]+/,Vk=/^[^?&#]+/;class Lk{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new K([],{}):new K([],this.parseChildren())}parseQueryParams(){const e={};if(this.consumeOptional("?"))do{this.parseQueryParam(e)}while(this.consumeOptional("&"));return e}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let n={};this.peekStartsWith("/(")&&(this.capture("/"),n=this.parseParens(!0));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1)),(e.length>0||Object.keys(n).length>0)&&(r[z]=new K(e,n)),r}parseSegment(){const e=Ql(this.remaining);if(""===e&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(e),new Es(zl(e),this.parseMatrixParams())}parseMatrixParams(){const e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){const n=Ql(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){const i=Ql(this.remaining);i&&(r=i,this.capture(r))}e[zl(n)]=zl(r)}parseQueryParam(e){const n=function(t){const e=t.match(Ok);return e?e[0]:""}(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){const s=function(t){const e=t.match(Vk);return e?e[0]:""}(this.remaining);s&&(r=s,this.capture(r))}const i=LE(n),o=LE(r);if(e.hasOwnProperty(i)){let s=e[i];Array.isArray(s)||(s=[s],e[i]=s),s.push(o)}else e[i]=o}parseParens(e){const n={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const r=Ql(this.remaining),i=this.remaining[r.length];if("/"!==i&&")"!==i&&";"!==i)throw new Error(`Cannot parse url '${this.url}'`);let o;r.indexOf(":")>-1?(o=r.substr(0,r.indexOf(":")),this.capture(o),this.capture(":")):e&&(o=z);const s=this.parseChildren();n[o]=1===Object.keys(s).length?s[z]:new K([],s),this.consumeOptional("//")}return n}peekStartsWith(e){return this.remaining.startsWith(e)}consumeOptional(e){return!!this.peekStartsWith(e)&&(this.remaining=this.remaining.substring(e.length),!0)}capture(e){if(!this.consumeOptional(e))throw new Error(`Expected "${e}".`)}}class BE{constructor(e){this._root=e}get root(){return this._root.value}parent(e){const n=this.pathFromRoot(e);return n.length>1?n[n.length-2]:null}children(e){const n=Ch(e,this._root);return n?n.children.map(r=>r.value):[]}firstChild(e){const n=Ch(e,this._root);return n&&n.children.length>0?n.children[0].value:null}siblings(e){const n=vh(e,this._root);return n.length<2?[]:n[n.length-2].children.map(i=>i.value).filter(i=>i!==e)}pathFromRoot(e){return vh(e,this._root).map(n=>n.value)}}function Ch(t,e){if(t===e.value)return e;for(const n of e.children){const r=Ch(t,n);if(r)return r}return null}function vh(t,e){if(t===e.value)return[e];for(const n of e.children){const r=vh(t,n);if(r.length)return r.unshift(e),r}return[]}class Un{constructor(e,n){this.value=e,this.children=n}toString(){return`TreeNode(${this.value})`}}function ws(t){const e={};return t&&t.children.forEach(n=>e[n.value.outlet]=n),e}class HE extends BE{constructor(e,n){super(e),this.snapshot=n,Dh(this,e)}toString(){return this.snapshot.toString()}}function UE(t,e){const n=function(t,e){const s=new Kl([],{},{},"",{},z,e,null,t.root,-1,{});return new GE("",new Un(s,[]))}(t,e),r=new Dt([new Es("",{})]),i=new Dt({}),o=new Dt({}),s=new Dt({}),a=new Dt(""),l=new Hr(r,i,s,a,o,z,e,n.root);return l.snapshot=n.root,new HE(new Un(l,[]),n)}class Hr{constructor(e,n,r,i,o,s,a,l){this.url=e,this.params=n,this.queryParams=r,this.fragment=i,this.data=o,this.outlet=s,this.component=a,this._futureSnapshot=l}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(Y(e=>Ki(e)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(Y(e=>Ki(e)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function $E(t,e="emptyOnly"){const n=t.pathFromRoot;let r=0;if("always"!==e)for(r=n.length-1;r>=1;){const i=n[r],o=n[r-1];if(i.routeConfig&&""===i.routeConfig.path)r--;else{if(o.component)break;r--}}return function(t){return t.reduce((e,n)=>({params:Object.assign(Object.assign({},e.params),n.params),data:Object.assign(Object.assign({},e.data),n.data),resolve:Object.assign(Object.assign({},e.resolve),n._resolvedData)}),{params:{},data:{},resolve:{}})}(n.slice(r))}class Kl{constructor(e,n,r,i,o,s,a,l,u,c,d){this.url=e,this.params=n,this.queryParams=r,this.fragment=i,this.data=o,this.outlet=s,this.component=a,this.routeConfig=l,this._urlSegment=u,this._lastPathIndex=c,this._resolve=d}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=Ki(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Ki(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(r=>r.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class GE extends BE{constructor(e,n){super(n),this.url=e,Dh(this,n)}toString(){return WE(this._root)}}function Dh(t,e){e.value._routerState=t,e.children.forEach(n=>Dh(t,n))}function WE(t){const e=t.children.length>0?` { ${t.children.map(WE).join(", ")} } `:"";return`${t.value}${e}`}function Eh(t){if(t.snapshot){const e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,In(e.queryParams,n.queryParams)||t.queryParams.next(n.queryParams),e.fragment!==n.fragment&&t.fragment.next(n.fragment),In(e.params,n.params)||t.params.next(n.params),function(t,e){if(t.length!==e.length)return!1;for(let n=0;n<t.length;++n)if(!In(t[n],e[n]))return!1;return!0}(e.url,n.url)||t.url.next(n.url),In(e.data,n.data)||t.data.next(n.data)}else t.snapshot=t._futureSnapshot,t.data.next(t._futureSnapshot.data)}function bh(t,e){return In(t.params,e.params)&&function(t,e){return Br(t,e)&&t.every((n,r)=>In(n.parameters,e[r].parameters))}(t.url,e.url)&&!(!t.parent!=!e.parent)&&(!t.parent||bh(t.parent,e.parent))}function Yl(t,e,n){if(n&&t.shouldReuseRoute(e.value,n.value.snapshot)){const r=n.value;r._futureSnapshot=e.value;const i=function(t,e,n){return e.children.map(r=>{for(const i of n.children)if(t.shouldReuseRoute(r.value,i.value.snapshot))return Yl(t,r,i);return Yl(t,r)})}(t,e,n);return new Un(r,i)}{if(t.shouldAttach(e.value)){const o=t.retrieve(e.value);if(null!==o){const s=o.route;return qE(e,s),s}}const r=function(t){return new Hr(new Dt(t.url),new Dt(t.params),new Dt(t.queryParams),new Dt(t.fragment),new Dt(t.data),t.outlet,t.component,t)}(e.value),i=e.children.map(o=>Yl(t,o));return new Un(r,i)}}function qE(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<t.children.length;++n)qE(t.children[n],e.children[n])}function Zl(t){return"object"==typeof t&&null!=t&&!t.outlets&&!t.segmentPath}function Is(t){return"object"==typeof t&&null!=t&&t.outlets}function wh(t,e,n,r,i){let o={};return r&&He(r,(s,a)=>{o[a]=Array.isArray(s)?s.map(l=>`${l}`):`${s}`}),new jr(n.root===t?e:zE(n.root,t,e),o,i)}function zE(t,e,n){const r={};return He(t.children,(i,o)=>{r[o]=i===e?n:zE(i,e,n)}),new K(t.segments,r)}class QE{constructor(e,n,r){if(this.isAbsolute=e,this.numberOfDoubleDots=n,this.commands=r,e&&r.length>0&&Zl(r[0]))throw new Error("Root segment cannot have matrix parameters");const i=r.find(Is);if(i&&i!==xE(r))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Ih{constructor(e,n,r){this.segmentGroup=e,this.processChildren=n,this.index=r}}function KE(t,e,n){if(t||(t=new K([],{})),0===t.segments.length&&t.hasChildren())return Jl(t,e,n);const r=function(t,e,n){let r=0,i=e;const o={match:!1,pathIndex:0,commandIndex:0};for(;i<t.segments.length;){if(r>=n.length)return o;const s=t.segments[i],a=n[r];if(Is(a))break;const l=`${a}`,u=r<n.length-1?n[r+1]:null;if(i>0&&void 0===l)break;if(l&&u&&"object"==typeof u&&void 0===u.outlets){if(!ZE(l,u,s))return o;r+=2}else{if(!ZE(l,{},s))return o;r++}i++}return{match:!0,pathIndex:i,commandIndex:r}}(t,e,n),i=n.slice(r.commandIndex);if(r.match&&r.pathIndex<t.segments.length){const o=new K(t.segments.slice(0,r.pathIndex),{});return o.children[z]=new K(t.segments.slice(r.pathIndex),t.children),Jl(o,0,i)}return r.match&&0===i.length?new K(t.segments,{}):r.match&&!t.hasChildren()?Mh(t,e,n):r.match?Jl(t,0,i):Mh(t,e,n)}function Jl(t,e,n){if(0===n.length)return new K(t.segments,{});{const r=function(t){return Is(t[0])?t[0].outlets:{[z]:t}}(n),i={};return He(r,(o,s)=>{"string"==typeof o&&(o=[o]),null!==o&&(i[s]=KE(t.children[s],e,o))}),He(t.children,(o,s)=>{void 0===r[s]&&(i[s]=o)}),new K(t.segments,i)}}function Mh(t,e,n){const r=t.segments.slice(0,e);let i=0;for(;i<n.length;){const o=n[i];if(Is(o)){const l=Yk(o.outlets);return new K(r,l)}if(0===i&&Zl(n[0])){r.push(new Es(t.segments[e].path,YE(n[0]))),i++;continue}const s=Is(o)?o.outlets[z]:`${o}`,a=i<n.length-1?n[i+1]:null;s&&a&&Zl(a)?(r.push(new Es(s,YE(a))),i+=2):(r.push(new Es(s,{})),i++)}return new K(r,{})}function Yk(t){const e={};return He(t,(n,r)=>{"string"==typeof n&&(n=[n]),null!==n&&(e[r]=Mh(new K([],{}),0,n))}),e}function YE(t){const e={};return He(t,(n,r)=>e[r]=`${n}`),e}function ZE(t,e,n){return t==n.path&&In(e,n.parameters)}class Jk{constructor(e,n,r,i){this.routeReuseStrategy=e,this.futureState=n,this.currState=r,this.forwardEvent=i}activate(e){const n=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(n,r,e),Eh(this.futureState.root),this.activateChildRoutes(n,r,e)}deactivateChildRoutes(e,n,r){const i=ws(n);e.children.forEach(o=>{const s=o.value.outlet;this.deactivateRoutes(o,i[s],r),delete i[s]}),He(i,(o,s)=>{this.deactivateRouteAndItsChildren(o,r)})}deactivateRoutes(e,n,r){const i=e.value,o=n?n.value:null;if(i===o)if(i.component){const s=r.getContext(i.outlet);s&&this.deactivateChildRoutes(e,n,s.children)}else this.deactivateChildRoutes(e,n,r);else o&&this.deactivateRouteAndItsChildren(n,r)}deactivateRouteAndItsChildren(e,n){this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,n):this.deactivateRouteAndOutlet(e,n)}detachAndStoreRouteSubtree(e,n){const r=n.getContext(e.value.outlet);if(r&&r.outlet){const i=r.outlet.detach(),o=r.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:i,route:e,contexts:o})}}deactivateRouteAndOutlet(e,n){const r=n.getContext(e.value.outlet),i=r&&e.value.component?r.children:n,o=ws(e);for(const s of Object.keys(o))this.deactivateRouteAndItsChildren(o[s],i);r&&r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated(),r.attachRef=null,r.resolver=null,r.route=null)}activateChildRoutes(e,n,r){const i=ws(n);e.children.forEach(o=>{this.activateRoutes(o,i[o.value.outlet],r),this.forwardEvent(new _k(o.value.snapshot))}),e.children.length&&this.forwardEvent(new mk(e.value.snapshot))}activateRoutes(e,n,r){const i=e.value,o=n?n.value:null;if(Eh(i),i===o)if(i.component){const s=r.getOrCreateContext(i.outlet);this.activateChildRoutes(e,n,s.children)}else this.activateChildRoutes(e,n,r);else if(i.component){const s=r.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){const a=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),JE(a.route)}else{const a=function(t){for(let e=t.parent;e;e=e.parent){const n=e.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig;if(n&&n.component)return null}return null}(i.snapshot),l=a?a.module.componentFactoryResolver:null;s.attachRef=null,s.route=i,s.resolver=l,s.outlet&&s.outlet.activateWith(i,l),this.activateChildRoutes(e,null,s.children)}}else this.activateChildRoutes(e,null,r)}}function JE(t){Eh(t.value),t.children.forEach(JE)}class Ah{constructor(e,n){this.routes=e,this.module=n}}function fr(t){return"function"==typeof t}function Ur(t){return t instanceof jr}const Ms=Symbol("INITIAL_VALUE");function As(){return kt(t=>function(...t){let e,n;return ks(t[t.length-1])&&(n=t.pop()),"function"==typeof t[t.length-1]&&(e=t.pop()),1===t.length&&no(t[0])&&(t=t[0]),pu(t,n).lift(new WV(e))}(t.map(e=>e.pipe(Bn(1),function(...t){const e=t[t.length-1];return ks(e)?(t.pop(),n=>Hl(t,n,e)):n=>Hl(t,n)}(Ms)))).pipe(vE((e,n)=>{let r=!1;return n.reduce((i,o,s)=>i!==Ms?i:(o===Ms&&(r=!0),r||!1!==o&&s!==n.length-1&&!Ur(o)?i:o),e)},Ms),an(e=>e!==Ms),Y(e=>Ur(e)?e:!0===e),Bn(1)))}let XE=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=qn({type:t,selectors:[["ng-component"]],decls:1,vars:0,template:function(n,r){1&n&&tt(0,"router-outlet")},directives:function(){return[Nh]},encapsulation:2}),t})();function eb(t,e=""){for(let n=0;n<t.length;n++){const r=t[n];oL(r,sL(e,r))}}function oL(t,e){t.children&&eb(t.children,e)}function sL(t,e){return e?t||e.path?t&&!e.path?`${t}/`:!t&&e.path?e.path:`${t}/${e.path}`:"":t}function Sh(t){const e=t.children&&t.children.map(Sh),n=e?Object.assign(Object.assign({},t),{children:e}):Object.assign({},t);return!n.component&&(e||n.loadChildren)&&n.outlet&&n.outlet!==z&&(n.component=XE),n}function Lt(t){return t.outlet||z}function tb(t,e){const n=t.filter(r=>Lt(r)===e);return n.push(...t.filter(r=>Lt(r)!==e)),n}const nb={matched:!1,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};function Xl(t,e,n){var r;if(""===e.path)return"full"===e.pathMatch&&(t.hasChildren()||n.length>0)?Object.assign({},nb):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};const o=(e.matcher||Dk)(n,t,e);if(!o)return Object.assign({},nb);const s={};He(o.posParams,(l,u)=>{s[u]=l.path});const a=o.consumed.length>0?Object.assign(Object.assign({},s),o.consumed[o.consumed.length-1].parameters):s;return{matched:!0,consumedSegments:o.consumed,lastChild:o.consumed.length,parameters:a,positionalParamSegments:null!==(r=o.posParams)&&void 0!==r?r:{}}}function eu(t,e,n,r,i="corrected"){if(n.length>0&&function(t,e,n){return n.some(r=>tu(t,e,r)&&Lt(r)!==z)}(t,n,r)){const s=new K(e,function(t,e,n,r){const i={};i[z]=r,r._sourceSegment=t,r._segmentIndexShift=e.length;for(const o of n)if(""===o.path&&Lt(o)!==z){const s=new K([],{});s._sourceSegment=t,s._segmentIndexShift=e.length,i[Lt(o)]=s}return i}(t,e,r,new K(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(r=>tu(t,e,r))}(t,n,r)){const s=new K(t.segments,function(t,e,n,r,i,o){const s={};for(const a of r)if(tu(t,n,a)&&!i[Lt(a)]){const l=new K([],{});l._sourceSegment=t,l._segmentIndexShift="legacy"===o?t.segments.length:e.length,s[Lt(a)]=l}return Object.assign(Object.assign({},i),s)}(t,e,n,r,t.children,i));return s._sourceSegment=t,s._segmentIndexShift=e.length,{segmentGroup:s,slicedSegments:n}}const o=new K(t.segments,t.children);return o._sourceSegment=t,o._segmentIndexShift=e.length,{segmentGroup:o,slicedSegments:n}}function tu(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path}function rb(t,e,n,r){return!!(Lt(t)===r||r!==z&&tu(e,n,t))&&("**"===t.path||Xl(e,t,n).matched)}function ib(t,e,n){return 0===e.length&&!t.children[n]}class Ss{constructor(e){this.segmentGroup=e||null}}class ob{constructor(e){this.urlTree=e}}function nu(t){return new ne(e=>e.error(new Ss(t)))}function sb(t){return new ne(e=>e.error(new ob(t)))}function dL(t){return new ne(e=>e.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${t}'`)))}class pL{constructor(e,n,r,i,o){this.configLoader=n,this.urlSerializer=r,this.urlTree=i,this.config=o,this.allowRedirects=!0,this.ngModule=e.get(bn)}apply(){const e=eu(this.urlTree.root,[],[],this.config).segmentGroup,n=new K(e.segments,e.children);return this.expandSegmentGroup(this.ngModule,this.config,n,z).pipe(Y(o=>this.createUrlTree(Th(o),this.urlTree.queryParams,this.urlTree.fragment))).pipe(Lr(o=>{if(o instanceof ob)return this.allowRedirects=!1,this.match(o.urlTree);throw o instanceof Ss?this.noMatchError(o):o}))}match(e){return this.expandSegmentGroup(this.ngModule,this.config,e.root,z).pipe(Y(i=>this.createUrlTree(Th(i),e.queryParams,e.fragment))).pipe(Lr(i=>{throw i instanceof Ss?this.noMatchError(i):i}))}noMatchError(e){return new Error(`Cannot match any routes. URL Segment: '${e.segmentGroup}'`)}createUrlTree(e,n,r){const i=e.segments.length>0?new K([],{[z]:e}):e;return new jr(i,n,r)}expandSegmentGroup(e,n,r,i){return 0===r.segments.length&&r.hasChildren()?this.expandChildren(e,n,r).pipe(Y(o=>new K([],o))):this.expandSegment(e,r,n,r.segments,i,!0)}expandChildren(e,n,r){const i=[];for(const o of Object.keys(r.children))"primary"===o?i.unshift(o):i.push(o);return Le(i).pipe(vs(o=>{const s=r.children[o],a=tb(n,o);return this.expandSegmentGroup(e,a,s,o).pipe(Y(l=>({segment:l,outlet:o})))}),vE((o,s)=>(o[s.outlet]=s.segment,o),{}),function(t,e){const n=arguments.length>=2;return r=>r.pipe(t?an((i,o)=>t(i,o,r)):Vs,ph(1),n?EE(e):DE(()=>new $l))}())}expandSegment(e,n,r,i,o,s){return Le(r).pipe(vs(a=>this.expandSegmentAgainstRoute(e,n,r,a,i,o,s).pipe(Lr(u=>{if(u instanceof Ss)return V(null);throw u}))),Qi(a=>!!a),Lr((a,l)=>{if(a instanceof $l||"EmptyError"===a.name){if(ib(n,i,o))return V(new K([],{}));throw new Ss(n)}throw a}))}expandSegmentAgainstRoute(e,n,r,i,o,s,a){return rb(i,n,o,s)?void 0===i.redirectTo?this.matchSegmentAgainstRoute(e,n,i,o,s):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(e,n,r,i,o,s):nu(n):nu(n)}expandSegmentAgainstRouteUsingRedirect(e,n,r,i,o,s){return"**"===i.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(e,r,i,s):this.expandRegularSegmentAgainstRouteUsingRedirect(e,n,r,i,o,s)}expandWildCardWithParamsAgainstRouteUsingRedirect(e,n,r,i){const o=this.applyRedirectCommands([],r.redirectTo,{});return r.redirectTo.startsWith("/")?sb(o):this.lineralizeSegments(r,o).pipe(je(s=>{const a=new K(s,{});return this.expandSegment(e,a,n,s,i,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(e,n,r,i,o,s){const{matched:a,consumedSegments:l,lastChild:u,positionalParamSegments:c}=Xl(n,i,o);if(!a)return nu(n);const d=this.applyRedirectCommands(l,i.redirectTo,c);return i.redirectTo.startsWith("/")?sb(d):this.lineralizeSegments(i,d).pipe(je(f=>this.expandSegment(e,n,r,f.concat(o.slice(u)),s,!1)))}matchSegmentAgainstRoute(e,n,r,i,o){if("**"===r.path)return r.loadChildren?(r._loadedConfig?V(r._loadedConfig):this.configLoader.load(e.injector,r)).pipe(Y(f=>(r._loadedConfig=f,new K(i,{})))):V(new K(i,{}));const{matched:s,consumedSegments:a,lastChild:l}=Xl(n,r,i);if(!s)return nu(n);const u=i.slice(l);return this.getChildConfig(e,r,i).pipe(je(d=>{const f=d.module,h=d.routes,{segmentGroup:p,slicedSegments:m}=eu(n,a,u,h),g=new K(p.segments,p.children);if(0===m.length&&g.hasChildren())return this.expandChildren(f,h,g).pipe(Y(I=>new K(a,I)));if(0===h.length&&0===m.length)return V(new K(a,{}));const _=Lt(r)===o;return this.expandSegment(f,g,h,m,_?z:o,!0).pipe(Y(w=>new K(a.concat(w.segments),w.children)))}))}getChildConfig(e,n,r){return n.children?V(new Ah(n.children,e)):n.loadChildren?void 0!==n._loadedConfig?V(n._loadedConfig):this.runCanLoadGuards(e.injector,n,r).pipe(je(i=>i?this.configLoader.load(e.injector,n).pipe(Y(o=>(n._loadedConfig=o,o))):function(t){return new ne(e=>e.error(mh(`Cannot load children because the guard of the route "path: '${t.path}'" returned false`)))}(n))):V(new Ah([],e))}runCanLoadGuards(e,n,r){const i=n.canLoad;return i&&0!==i.length?V(i.map(s=>{const a=e.get(s);let l;if(function(t){return t&&fr(t.canLoad)}(a))l=a.canLoad(n,r);else{if(!fr(a))throw new Error("Invalid CanLoad guard");l=a(n,r)}return Mn(l)})).pipe(As(),dt(s=>{if(!Ur(s))return;const a=mh(`Redirecting to "${this.urlSerializer.serialize(s)}"`);throw a.url=s,a}),Y(s=>!0===s)):V(!0)}lineralizeSegments(e,n){let r=[],i=n.root;for(;;){if(r=r.concat(i.segments),0===i.numberOfChildren)return V(r);if(i.numberOfChildren>1||!i.children[z])return dL(e.redirectTo);i=i.children[z]}}applyRedirectCommands(e,n,r){return this.applyRedirectCreatreUrlTree(n,this.urlSerializer.parse(n),e,r)}applyRedirectCreatreUrlTree(e,n,r,i){const o=this.createSegmentGroup(e,n.root,r,i);return new jr(o,this.createQueryParams(n.queryParams,this.urlTree.queryParams),n.fragment)}createQueryParams(e,n){const r={};return He(e,(i,o)=>{if("string"==typeof i&&i.startsWith(":")){const a=i.substring(1);r[o]=n[a]}else r[o]=i}),r}createSegmentGroup(e,n,r,i){const o=this.createSegments(e,n.segments,r,i);let s={};return He(n.children,(a,l)=>{s[l]=this.createSegmentGroup(e,a,r,i)}),new K(o,s)}createSegments(e,n,r,i){return n.map(o=>o.path.startsWith(":")?this.findPosParam(e,o,i):this.findOrReturn(o,r))}findPosParam(e,n,r){const i=r[n.path.substring(1)];if(!i)throw new Error(`Cannot redirect to '${e}'. Cannot find '${n.path}'.`);return i}findOrReturn(e,n){let r=0;for(const i of n){if(i.path===e.path)return n.splice(r),i;r++}return e}}function Th(t){const e={};for(const r of Object.keys(t.children)){const o=Th(t.children[r]);(o.segments.length>0||o.hasChildren())&&(e[r]=o)}return function(t){if(1===t.numberOfChildren&&t.children[z]){const e=t.children[z];return new K(t.segments.concat(e.segments),e.children)}return t}(new K(t.segments,e))}class ab{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}}class ru{constructor(e,n){this.component=e,this.route=n}}function yL(t,e,n){const r=t._root;return Ts(r,e?e._root:null,n,[r.value])}function iu(t,e,n){const r=function(t){if(!t)return null;for(let e=t.parent;e;e=e.parent){const n=e.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig}return null}(e);return(r?r.module.injector:n).get(t)}function Ts(t,e,n,r,i={canDeactivateChecks:[],canActivateChecks:[]}){const o=ws(e);return t.children.forEach(s=>{(function(t,e,n,r,i={canDeactivateChecks:[],canActivateChecks:[]}){const o=t.value,s=e?e.value:null,a=n?n.getContext(t.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){const l=function(t,e,n){if("function"==typeof n)return n(t,e);switch(n){case"pathParamsChange":return!Br(t.url,e.url);case"pathParamsOrQueryParamsChange":return!Br(t.url,e.url)||!In(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!bh(t,e)||!In(t.queryParams,e.queryParams);case"paramsChange":default:return!bh(t,e)}}(s,o,o.routeConfig.runGuardsAndResolvers);l?i.canActivateChecks.push(new ab(r)):(o.data=s.data,o._resolvedData=s._resolvedData),Ts(t,e,o.component?a?a.children:null:n,r,i),l&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new ru(a.outlet.component,s))}else s&&xs(e,a,i),i.canActivateChecks.push(new ab(r)),Ts(t,null,o.component?a?a.children:null:n,r,i)})(s,o[s.value.outlet],n,r.concat([s.value]),i),delete o[s.value.outlet]}),He(o,(s,a)=>xs(s,n.getContext(a),i)),i}function xs(t,e,n){const r=ws(t),i=t.value;He(r,(o,s)=>{xs(o,i.component?e?e.children.getContext(s):null:e,n)}),n.canDeactivateChecks.push(new ru(i.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,i))}class xL{}function lb(t){return new ne(e=>e.error(t))}class NL{constructor(e,n,r,i,o,s){this.rootComponentType=e,this.config=n,this.urlTree=r,this.url=i,this.paramsInheritanceStrategy=o,this.relativeLinkResolution=s}recognize(){const e=eu(this.urlTree.root,[],[],this.config.filter(s=>void 0===s.redirectTo),this.relativeLinkResolution).segmentGroup,n=this.processSegmentGroup(this.config,e,z);if(null===n)return null;const r=new Kl([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},z,this.rootComponentType,null,this.urlTree.root,-1,{}),i=new Un(r,n),o=new GE(this.url,i);return this.inheritParamsAndData(o._root),o}inheritParamsAndData(e){const n=e.value,r=$E(n,this.paramsInheritanceStrategy);n.params=Object.freeze(r.params),n.data=Object.freeze(r.data),e.children.forEach(i=>this.inheritParamsAndData(i))}processSegmentGroup(e,n,r){return 0===n.segments.length&&n.hasChildren()?this.processChildren(e,n):this.processSegment(e,n,n.segments,r)}processChildren(e,n){const r=[];for(const o of Object.keys(n.children)){const s=n.children[o],a=tb(e,o),l=this.processSegmentGroup(a,s,o);if(null===l)return null;r.push(...l)}const i=ub(r);return function(t){t.sort((e,n)=>e.value.outlet===z?-1:n.value.outlet===z?1:e.value.outlet.localeCompare(n.value.outlet))}(i),i}processSegment(e,n,r,i){for(const o of e){const s=this.processSegmentAgainstRoute(o,n,r,i);if(null!==s)return s}return ib(n,r,i)?[]:null}processSegmentAgainstRoute(e,n,r,i){if(e.redirectTo||!rb(e,n,r,i))return null;let o,s=[],a=[];if("**"===e.path){const h=r.length>0?xE(r).parameters:{};o=new Kl(r,h,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,fb(e),Lt(e),e.component,e,cb(n),db(n)+r.length,hb(e))}else{const h=Xl(n,e,r);if(!h.matched)return null;s=h.consumedSegments,a=r.slice(h.lastChild),o=new Kl(s,h.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,fb(e),Lt(e),e.component,e,cb(n),db(n)+s.length,hb(e))}const l=function(t){return t.children?t.children:t.loadChildren?t._loadedConfig.routes:[]}(e),{segmentGroup:u,slicedSegments:c}=eu(n,s,a,l.filter(h=>void 0===h.redirectTo),this.relativeLinkResolution);if(0===c.length&&u.hasChildren()){const h=this.processChildren(l,u);return null===h?null:[new Un(o,h)]}if(0===l.length&&0===c.length)return[new Un(o,[])];const d=Lt(e)===i,f=this.processSegment(l,u,c,d?z:i);return null===f?null:[new Un(o,f)]}}function PL(t){const e=t.value.routeConfig;return e&&""===e.path&&void 0===e.redirectTo}function ub(t){const e=[],n=new Set;for(const r of t){if(!PL(r)){e.push(r);continue}const i=e.find(o=>r.value.routeConfig===o.value.routeConfig);void 0!==i?(i.children.push(...r.children),n.add(i)):e.push(r)}for(const r of n){const i=ub(r.children);e.push(new Un(r.value,i))}return e.filter(r=>!n.has(r))}function cb(t){let e=t;for(;e._sourceSegment;)e=e._sourceSegment;return e}function db(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 fb(t){return t.data||{}}function hb(t){return t.resolve||{}}function xh(t){return kt(e=>{const n=t(e);return n?Le(n).pipe(Y(()=>e)):V(e)})}class $L extends class{shouldDetach(e){return!1}store(e,n){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,n){return e.routeConfig===n.routeConfig}}{}const Rh=new q("ROUTES");class pb{constructor(e,n,r,i){this.loader=e,this.compiler=n,this.onLoadStartListener=r,this.onLoadEndListener=i}load(e,n){if(n._loader$)return n._loader$;this.onLoadStartListener&&this.onLoadStartListener(n);const i=this.loadModuleFactory(n.loadChildren).pipe(Y(o=>{this.onLoadEndListener&&this.onLoadEndListener(n);const s=o.create(e);return new Ah(TE(s.injector.get(Rh,void 0,T.Self|T.Optional)).map(Sh),s)}),Lr(o=>{throw n._loader$=void 0,o}));return n._loader$=new Yh(i,()=>new Et).pipe(mu()),n._loader$}loadModuleFactory(e){return"string"==typeof e?Le(this.loader.load(e)):Mn(e()).pipe(je(n=>n instanceof U_?V(n):Le(this.compiler.compileModuleAsync(n))))}}class GL{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new Yi,this.attachRef=null}}class Yi{constructor(){this.contexts=new Map}onChildOutletCreated(e,n){const r=this.getOrCreateContext(e);r.outlet=n,this.contexts.set(e,r)}onChildOutletDestroyed(e){const n=this.getContext(e);n&&(n.outlet=null,n.attachRef=null)}onOutletDeactivated(){const e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let n=this.getContext(e);return n||(n=new GL,this.contexts.set(e,n)),n}getContext(e){return this.contexts.get(e)||null}}class qL{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,n){return e}}function zL(t){throw t}function QL(t,e,n){return e.parse("/")}function gb(t,e){return V(null)}const KL={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},YL={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let ft=(()=>{class t{constructor(n,r,i,o,s,a,l,u){this.rootComponentType=n,this.urlSerializer=r,this.rootContexts=i,this.location=o,this.config=u,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.lastLocationChangeInfo=null,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new Et,this.errorHandler=zL,this.malformedUriErrorHandler=QL,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:gb,afterPreactivation:gb},this.urlHandlingStrategy=new qL,this.routeReuseStrategy=new $L,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=s.get(bn),this.console=s.get(Ja);const f=s.get(ve);this.isNgZoneEnabled=f instanceof ve&&ve.isInAngularZone(),this.resetConfig(u),this.currentUrlTree=new jr(new K([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new pb(a,l,h=>this.triggerEvent(new wE(h)),h=>this.triggerEvent(new IE(h))),this.routerState=UE(this.currentUrlTree,this.rootComponentType),this.transitions=new Dt({id:0,targetPageId: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()}get browserPageId(){var n;return null===(n=this.location.getState())||void 0===n?void 0:n.\u0275routerPageId}setupNavigations(n){const r=this.events;return n.pipe(an(i=>0!==i.id),Y(i=>Object.assign(Object.assign({},i),{extractedUrl:this.urlHandlingStrategy.extract(i.rawUrl)})),kt(i=>{let o=!1,s=!1;return V(i).pipe(dt(a=>{this.currentNavigation={id:a.id,initialUrl:a.currentRawUrl,extractedUrl:a.extractedUrl,trigger:a.source,extras:a.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),kt(a=>{const l=this.browserUrlTree.toString(),u=!this.navigated||a.extractedUrl.toString()!==l||l!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||u)&&this.urlHandlingStrategy.shouldProcessUrl(a.rawUrl))return ou(a.source)&&(this.browserUrlTree=a.extractedUrl),V(a).pipe(kt(d=>{const f=this.transitions.getValue();return r.next(new gh(d.id,this.serializeUrl(d.extractedUrl),d.source,d.restoredState)),f!==this.transitions.getValue()?zi:Promise.resolve(d)}),function(t,e,n,r){return kt(i=>function(t,e,n,r,i){return new pL(t,e,n,r,i).apply()}(t,e,n,i.extractedUrl,r).pipe(Y(o=>Object.assign(Object.assign({},i),{urlAfterRedirects:o}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),dt(d=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:d.urlAfterRedirects})}),function(t,e,n,r,i){return je(o=>function(t,e,n,r,i="emptyOnly",o="legacy"){try{const s=new NL(t,e,n,r,i,o).recognize();return null===s?lb(new xL):V(s)}catch(s){return lb(s)}}(t,e,o.urlAfterRedirects,n(o.urlAfterRedirects),r,i).pipe(Y(s=>Object.assign(Object.assign({},o),{targetSnapshot:s}))))}(this.rootComponentType,this.config,d=>this.serializeUrl(d),this.paramsInheritanceStrategy,this.relativeLinkResolution),dt(d=>{"eager"===this.urlUpdateStrategy&&(d.extras.skipLocationChange||this.setBrowserUrl(d.urlAfterRedirects,d),this.browserUrlTree=d.urlAfterRedirects);const f=new ck(d.id,this.serializeUrl(d.extractedUrl),this.serializeUrl(d.urlAfterRedirects),d.targetSnapshot);r.next(f)}));if(u&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:f,extractedUrl:h,source:p,restoredState:m,extras:g}=a,_=new gh(f,this.serializeUrl(h),p,m);r.next(_);const y=UE(h,this.rootComponentType).snapshot;return V(Object.assign(Object.assign({},a),{targetSnapshot:y,urlAfterRedirects:h,extras:Object.assign(Object.assign({},g),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=a.rawUrl,this.browserUrlTree=a.urlAfterRedirects,a.resolve(null),zi}),xh(a=>{const{targetSnapshot:l,id:u,extractedUrl:c,rawUrl:d,extras:{skipLocationChange:f,replaceUrl:h}}=a;return this.hooks.beforePreactivation(l,{navigationId:u,appliedUrlTree:c,rawUrlTree:d,skipLocationChange:!!f,replaceUrl:!!h})}),dt(a=>{const l=new dk(a.id,this.serializeUrl(a.extractedUrl),this.serializeUrl(a.urlAfterRedirects),a.targetSnapshot);this.triggerEvent(l)}),Y(a=>Object.assign(Object.assign({},a),{guards:yL(a.targetSnapshot,a.currentSnapshot,this.rootContexts)})),function(t,e){return je(n=>{const{targetSnapshot:r,currentSnapshot:i,guards:{canActivateChecks:o,canDeactivateChecks:s}}=n;return 0===s.length&&0===o.length?V(Object.assign(Object.assign({},n),{guardsResult:!0})):function(t,e,n,r){return Le(t).pipe(je(i=>function(t,e,n,r,i){const o=e&&e.routeConfig?e.routeConfig.canDeactivate:null;return o&&0!==o.length?V(o.map(a=>{const l=iu(a,e,i);let u;if(function(t){return t&&fr(t.canDeactivate)}(l))u=Mn(l.canDeactivate(t,e,n,r));else{if(!fr(l))throw new Error("Invalid CanDeactivate guard");u=Mn(l(t,e,n,r))}return u.pipe(Qi())})).pipe(As()):V(!0)}(i.component,i.route,n,e,r)),Qi(i=>!0!==i,!0))}(s,r,i,t).pipe(je(a=>a&&function(t){return"boolean"==typeof t}(a)?function(t,e,n,r){return Le(e).pipe(vs(i=>Hl(function(t,e){return null!==t&&e&&e(new gk(t)),V(!0)}(i.route.parent,r),function(t,e){return null!==t&&e&&e(new yk(t)),V(!0)}(i.route,r),function(t,e,n){const r=e[e.length-1],o=e.slice(0,e.length-1).reverse().map(s=>function(t){const e=t.routeConfig?t.routeConfig.canActivateChild:null;return e&&0!==e.length?{node:t,guards:e}:null}(s)).filter(s=>null!==s).map(s=>Bl(()=>V(s.guards.map(l=>{const u=iu(l,s.node,n);let c;if(function(t){return t&&fr(t.canActivateChild)}(u))c=Mn(u.canActivateChild(r,t));else{if(!fr(u))throw new Error("Invalid CanActivateChild guard");c=Mn(u(r,t))}return c.pipe(Qi())})).pipe(As())));return V(o).pipe(As())}(t,i.path,n),function(t,e,n){const r=e.routeConfig?e.routeConfig.canActivate:null;return r&&0!==r.length?V(r.map(o=>Bl(()=>{const s=iu(o,e,n);let a;if(function(t){return t&&fr(t.canActivate)}(s))a=Mn(s.canActivate(e,t));else{if(!fr(s))throw new Error("Invalid CanActivate guard");a=Mn(s(e,t))}return a.pipe(Qi())}))).pipe(As()):V(!0)}(t,i.route,n))),Qi(i=>!0!==i,!0))}(r,o,t,e):V(a)),Y(a=>Object.assign(Object.assign({},n),{guardsResult:a})))})}(this.ngModule.injector,a=>this.triggerEvent(a)),dt(a=>{if(Ur(a.guardsResult)){const u=mh(`Redirecting to "${this.serializeUrl(a.guardsResult)}"`);throw u.url=a.guardsResult,u}const l=new fk(a.id,this.serializeUrl(a.extractedUrl),this.serializeUrl(a.urlAfterRedirects),a.targetSnapshot,!!a.guardsResult);this.triggerEvent(l)}),an(a=>!!a.guardsResult||(this.restoreHistory(a),this.cancelNavigationTransition(a,""),!1)),xh(a=>{if(a.guards.canActivateChecks.length)return V(a).pipe(dt(l=>{const u=new hk(l.id,this.serializeUrl(l.extractedUrl),this.serializeUrl(l.urlAfterRedirects),l.targetSnapshot);this.triggerEvent(u)}),kt(l=>{let u=!1;return V(l).pipe(function(t,e){return je(n=>{const{targetSnapshot:r,guards:{canActivateChecks:i}}=n;if(!i.length)return V(n);let o=0;return Le(i).pipe(vs(s=>function(t,e,n,r){return function(t,e,n,r){const i=Object.keys(t);if(0===i.length)return V({});const o={};return Le(i).pipe(je(s=>function(t,e,n,r){const i=iu(t,e,r);return Mn(i.resolve?i.resolve(e,n):i(e,n))}(t[s],e,n,r).pipe(dt(a=>{o[s]=a}))),ph(1),je(()=>Object.keys(o).length===i.length?V(o):zi))}(t._resolve,t,e,r).pipe(Y(o=>(t._resolvedData=o,t.data=Object.assign(Object.assign({},t.data),$E(t,n).resolve),null)))}(s.route,r,t,e)),dt(()=>o++),ph(1),je(s=>o===i.length?V(n):zi))})}(this.paramsInheritanceStrategy,this.ngModule.injector),dt({next:()=>u=!0,complete:()=>{u||(this.restoreHistory(l),this.cancelNavigationTransition(l,"At least one route resolver didn't emit any value."))}}))}),dt(l=>{const u=new pk(l.id,this.serializeUrl(l.extractedUrl),this.serializeUrl(l.urlAfterRedirects),l.targetSnapshot);this.triggerEvent(u)}))}),xh(a=>{const{targetSnapshot:l,id:u,extractedUrl:c,rawUrl:d,extras:{skipLocationChange:f,replaceUrl:h}}=a;return this.hooks.afterPreactivation(l,{navigationId:u,appliedUrlTree:c,rawUrlTree:d,skipLocationChange:!!f,replaceUrl:!!h})}),Y(a=>{const l=function(t,e,n){const r=Yl(t,e._root,n?n._root:void 0);return new HE(r,e)}(this.routeReuseStrategy,a.targetSnapshot,a.currentRouterState);return Object.assign(Object.assign({},a),{targetRouterState:l})}),dt(a=>{this.currentUrlTree=a.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(a.urlAfterRedirects,a.rawUrl),this.routerState=a.targetRouterState,"deferred"===this.urlUpdateStrategy&&(a.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,a),this.browserUrlTree=a.urlAfterRedirects)}),((t,e,n)=>Y(r=>(new Jk(e,r.targetRouterState,r.currentRouterState,n).activate(t),r)))(this.rootContexts,this.routeReuseStrategy,a=>this.triggerEvent(a)),dt({next(){o=!0},complete(){o=!0}}),function(t){return e=>e.lift(new ak(t))}(()=>{if(!o&&!s){const a=`Navigation ID ${i.id} is not equal to the current navigation id ${this.navigationId}`;"replace"===this.canceledNavigationResolution?(this.restoreHistory(i),this.cancelNavigationTransition(i,a)):this.cancelNavigationTransition(i,a)}this.currentNavigation=null}),Lr(a=>{if(s=!0,function(t){return t&&t[AE]}(a)){const l=Ur(a.url);l||(this.navigated=!0,this.restoreHistory(i,!0));const u=new bE(i.id,this.serializeUrl(i.extractedUrl),a.message);r.next(u),l?setTimeout(()=>{const c=this.urlHandlingStrategy.merge(a.url,this.rawUrlTree),d={skipLocationChange:i.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||ou(i.source)};this.scheduleNavigation(c,"imperative",null,d,{resolve:i.resolve,reject:i.reject,promise:i.promise})},0):i.resolve(!1)}else{this.restoreHistory(i,!0);const l=new uk(i.id,this.serializeUrl(i.extractedUrl),a);r.next(l);try{i.resolve(this.errorHandler(a))}catch(u){i.reject(u)}}return zi}))}))}resetRootComponentType(n){this.rootComponentType=n,this.routerState.root.component=this.rootComponentType}getTransition(){const n=this.transitions.value;return n.urlAfterRedirects=this.browserUrlTree,n}setTransition(n){this.transitions.next(Object.assign(Object.assign({},this.getTransition()),n))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(n=>{const r=this.extractLocationChangeInfoFromEvent(n);this.shouldScheduleNavigation(this.lastLocationChangeInfo,r)&&setTimeout(()=>{const{source:i,state:o,urlTree:s}=r,a={replaceUrl:!0};if(o){const l=Object.assign({},o);delete l.navigationId,delete l.\u0275routerPageId,0!==Object.keys(l).length&&(a.state=l)}this.scheduleNavigation(s,i,o,a)},0),this.lastLocationChangeInfo=r}))}extractLocationChangeInfoFromEvent(n){var r;return{source:"popstate"===n.type?"popstate":"hashchange",urlTree:this.parseUrl(n.url),state:(null===(r=n.state)||void 0===r?void 0:r.navigationId)?n.state:null,transitionId:this.getTransition().id}}shouldScheduleNavigation(n,r){if(!n)return!0;const i=r.urlTree.toString()===n.urlTree.toString();return r.transitionId!==n.transitionId||!i||!("hashchange"===r.source&&"popstate"===n.source||"popstate"===r.source&&"hashchange"===n.source)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(n){this.events.next(n)}resetConfig(n){eb(n),this.config=n.map(Sh),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(n,r={}){const{relativeTo:i,queryParams:o,fragment:s,queryParamsHandling:a,preserveFragment:l}=r,u=i||this.routerState.root,c=l?this.currentUrlTree.fragment:s;let d=null;switch(a){case"merge":d=Object.assign(Object.assign({},this.currentUrlTree.queryParams),o);break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=o||null}return null!==d&&(d=this.removeEmptyProps(d)),function(t,e,n,r,i){if(0===n.length)return wh(e.root,e.root,e,r,i);const o=function(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new QE(!0,0,t);let e=0,n=!1;const r=t.reduce((i,o,s)=>{if("object"==typeof o&&null!=o){if(o.outlets){const a={};return He(o.outlets,(l,u)=>{a[u]="string"==typeof l?l.split("/"):l}),[...i,{outlets:a}]}if(o.segmentPath)return[...i,o.segmentPath]}return"string"!=typeof o?[...i,o]:0===s?(o.split("/").forEach((a,l)=>{0==l&&"."===a||(0==l&&""===a?n=!0:".."===a?e++:""!=a&&i.push(a))}),i):[...i,o]},[]);return new QE(n,e,r)}(n);if(o.toRoot())return wh(e.root,new K([],{}),e,r,i);const s=function(t,e,n){if(t.isAbsolute)return new Ih(e.root,!0,0);if(-1===n.snapshot._lastPathIndex){const o=n.snapshot._urlSegment;return new Ih(o,o===e.root,0)}const r=Zl(t.commands[0])?0:1;return function(t,e,n){let r=t,i=e,o=n;for(;o>i;){if(o-=i,r=r.parent,!r)throw new Error("Invalid number of '../'");i=r.segments.length}return new Ih(r,!1,i-o)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+r,t.numberOfDoubleDots)}(o,e,t),a=s.processChildren?Jl(s.segmentGroup,s.index,o.commands):KE(s.segmentGroup,s.index,o.commands);return wh(s.segmentGroup,a,e,r,i)}(u,this.currentUrlTree,n,d,null!=c?c:null)}navigateByUrl(n,r={skipLocationChange:!1}){const i=Ur(n)?n:this.parseUrl(n),o=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(o,"imperative",null,r)}navigate(n,r={skipLocationChange:!1}){return function(t){for(let e=0;e<t.length;e++){const n=t[e];if(null==n)throw new Error(`The requested path contains ${n} segment at index ${e}`)}}(n),this.navigateByUrl(this.createUrlTree(n,r),r)}serializeUrl(n){return this.urlSerializer.serialize(n)}parseUrl(n){let r;try{r=this.urlSerializer.parse(n)}catch(i){r=this.malformedUriErrorHandler(i,this.urlSerializer,n)}return r}isActive(n,r){let i;if(i=!0===r?Object.assign({},KL):!1===r?Object.assign({},YL):r,Ur(n))return NE(this.currentUrlTree,n,i);const o=this.parseUrl(n);return NE(this.currentUrlTree,o,i)}removeEmptyProps(n){return Object.keys(n).reduce((r,i)=>{const o=n[i];return null!=o&&(r[i]=o),r},{})}processNavigations(){this.navigations.subscribe(n=>{this.navigated=!0,this.lastSuccessfulId=n.id,this.currentPageId=n.targetPageId,this.events.next(new Ds(n.id,this.serializeUrl(n.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,n.resolve(!0)},n=>{this.console.warn(`Unhandled Navigation Error: ${n}`)})}scheduleNavigation(n,r,i,o,s){var a,l;if(this.disposed)return Promise.resolve(!1);const u=this.getTransition(),c=ou(r)&&u&&!ou(u.source),h=(this.lastSuccessfulId===u.id||this.currentNavigation?u.rawUrl:u.urlAfterRedirects).toString()===n.toString();if(c&&h)return Promise.resolve(!0);let p,m,g;s?(p=s.resolve,m=s.reject,g=s.promise):g=new Promise((w,I)=>{p=w,m=I});const _=++this.navigationId;let y;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(i=this.location.getState()),y=i&&i.\u0275routerPageId?i.\u0275routerPageId:o.replaceUrl||o.skipLocationChange?null!==(a=this.browserPageId)&&void 0!==a?a:0:(null!==(l=this.browserPageId)&&void 0!==l?l:0)+1):y=0,this.setTransition({id:_,targetPageId:y,source:r,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:n,extras:o,resolve:p,reject:m,promise:g,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),g.catch(w=>Promise.reject(w))}setBrowserUrl(n,r){const i=this.urlSerializer.serialize(n),o=Object.assign(Object.assign({},r.extras.state),this.generateNgRouterState(r.id,r.targetPageId));this.location.isCurrentPathEqualTo(i)||r.extras.replaceUrl?this.location.replaceState(i,"",o):this.location.go(i,"",o)}restoreHistory(n,r=!1){var i,o;if("computed"===this.canceledNavigationResolution){const s=this.currentPageId-n.targetPageId;"popstate"!==n.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==(null===(i=this.currentNavigation)||void 0===i?void 0:i.finalUrl)||0===s?this.currentUrlTree===(null===(o=this.currentNavigation)||void 0===o?void 0:o.finalUrl)&&0===s&&(this.resetState(n),this.browserUrlTree=n.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(s)}else"replace"===this.canceledNavigationResolution&&(r&&this.resetState(n),this.resetUrlToCurrentUrlTree())}resetState(n){this.routerState=n.currentRouterState,this.currentUrlTree=n.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(n,r){const i=new bE(n.id,this.serializeUrl(n.extractedUrl),r);this.triggerEvent(i),n.resolve(!1)}generateNgRouterState(n,r){return"computed"===this.canceledNavigationResolution?{navigationId:n,\u0275routerPageId:r}:{navigationId:n}}}return t.\u0275fac=function(n){return new(n||t)(D(aa),D(yh),D(Yi),D(dl),D(ee),D(el),D(Rr),D(void 0))},t.\u0275prov=k({token:t,factory:t.\u0275fac}),t})();function ou(t){return"imperative"!==t}let Rs=(()=>{class t{constructor(n,r,i,o,s){this.router=n,this.route=r,this.commands=[],this.onChanges=new Et,null==i&&o.setAttribute(s.nativeElement,"tabindex","0")}ngOnChanges(n){this.onChanges.next(this)}set routerLink(n){this.commands=null!=n?Array.isArray(n)?n:[n]:[]}onClick(){const n={skipLocationChange:Zi(this.skipLocationChange),replaceUrl:Zi(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,n),!0}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:Zi(this.preserveFragment)})}}return t.\u0275fac=function(n){return new(n||t)(C(ft),C(Hr),go("tabindex"),C(En),C(Re))},t.\u0275dir=N({type:t,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(n,r){1&n&&Be("click",function(){return r.onClick()})},inputs:{routerLink:"routerLink",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo"},features:[$e]}),t})(),su=(()=>{class t{constructor(n,r,i){this.router=n,this.route=r,this.locationStrategy=i,this.commands=[],this.onChanges=new Et,this.subscription=n.events.subscribe(o=>{o instanceof Ds&&this.updateTargetUrlAndHref()})}set routerLink(n){this.commands=null!=n?Array.isArray(n)?n:[n]:[]}ngOnChanges(n){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(n,r,i,o,s){if(0!==n||r||i||o||s||"string"==typeof this.target&&"_self"!=this.target)return!0;const a={skipLocationChange:Zi(this.skipLocationChange),replaceUrl:Zi(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,a),!1}updateTargetUrlAndHref(){this.href=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree))}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:Zi(this.preserveFragment)})}}return t.\u0275fac=function(n){return new(n||t)(C(ft),C(Hr),C(Wi))},t.\u0275dir=N({type:t,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(n,r){1&n&&Be("click",function(o){return r.onClick(o.button,o.ctrlKey,o.shiftKey,o.altKey,o.metaKey)}),2&n&&(ad("href",r.href,lc),Cn("target",r.target))},inputs:{routerLink:"routerLink",target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo"},features:[$e]}),t})();function Zi(t){return""===t||!!t}let Nh=(()=>{class t{constructor(n,r,i,o,s){this.parentContexts=n,this.location=r,this.resolver=i,this.changeDetector=s,this.activated=null,this._activatedRoute=null,this.activateEvents=new Ne,this.deactivateEvents=new Ne,this.name=o||z,n.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const n=this.parentContexts.getContext(this.name);n&&n.route&&(n.attachRef?this.attach(n.attachRef,n.route):this.activateWith(n.route,n.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 n=this.activated;return this.activated=null,this._activatedRoute=null,n}attach(n,r){this.activated=n,this._activatedRoute=r,this.location.insert(n.hostView)}deactivate(){if(this.activated){const n=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}}activateWith(n,r){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=n;const s=(r=r||this.resolver).resolveComponentFactory(n._futureSnapshot.routeConfig.component),a=this.parentContexts.getOrCreateContext(this.name).children,l=new e2(n,a,this.location.injector);this.activated=this.location.createComponent(s,this.location.length,l),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return t.\u0275fac=function(n){return new(n||t)(C(Yi),C(Zt),C(Sr),go("name"),C(yd))},t.\u0275dir=N({type:t,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),t})();class e2{constructor(e,n,r){this.route=e,this.childContexts=n,this.parent=r}get(e,n){return e===Hr?this.route:e===Yi?this.childContexts:this.parent.get(e,n)}}class mb{}class yb{preload(e,n){return V(null)}}let _b=(()=>{class t{constructor(n,r,i,o,s){this.router=n,this.injector=o,this.preloadingStrategy=s,this.loader=new pb(r,i,u=>n.triggerEvent(new wE(u)),u=>n.triggerEvent(new IE(u)))}setUpPreloading(){this.subscription=this.router.events.pipe(an(n=>n instanceof Ds),vs(()=>this.preload())).subscribe(()=>{})}preload(){const n=this.injector.get(bn);return this.processRoutes(n,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(n,r){const i=[];for(const o of r)if(o.loadChildren&&!o.canLoad&&o._loadedConfig){const s=o._loadedConfig;i.push(this.processRoutes(s.module,s.routes))}else o.loadChildren&&!o.canLoad?i.push(this.preloadConfig(n,o)):o.children&&i.push(this.processRoutes(n,o.children));return Le(i).pipe(io(),Y(o=>{}))}preloadConfig(n,r){return this.preloadingStrategy.preload(r,()=>(r._loadedConfig?V(r._loadedConfig):this.loader.load(n.injector,r)).pipe(je(o=>(r._loadedConfig=o,this.processRoutes(o.module,o.routes)))))}}return t.\u0275fac=function(n){return new(n||t)(D(ft),D(el),D(Rr),D(ee),D(mb))},t.\u0275prov=k({token:t,factory:t.\u0275fac}),t})(),Fh=(()=>{class t{constructor(n,r,i={}){this.router=n,this.viewportScroller=r,this.options=i,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},i.scrollPositionRestoration=i.scrollPositionRestoration||"disabled",i.anchorScrolling=i.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(n=>{n instanceof gh?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=n.navigationTrigger,this.restoredId=n.restoredState?n.restoredState.navigationId:0):n instanceof Ds&&(this.lastId=n.id,this.scheduleScrollEvent(n,this.router.parseUrl(n.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(n=>{n instanceof ME&&(n.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(n.position):n.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(n.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(n,r){this.router.triggerEvent(new ME(n,"popstate"===this.lastSource?this.store[this.restoredId]:null,r))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return t.\u0275fac=function(n){return new(n||t)(D(ft),D(Zv),D(void 0))},t.\u0275prov=k({token:t,factory:t.\u0275fac}),t})();const $r=new q("ROUTER_CONFIGURATION"),Cb=new q("ROUTER_FORROOT_GUARD"),n2=[dl,{provide:yh,useClass:VE},{provide:ft,useFactory:function(t,e,n,r,i,o,s,a={},l,u){const c=new ft(null,t,e,n,r,i,o,TE(s));return l&&(c.urlHandlingStrategy=l),u&&(c.routeReuseStrategy=u),function(t,e){t.errorHandler&&(e.errorHandler=t.errorHandler),t.malformedUriErrorHandler&&(e.malformedUriErrorHandler=t.malformedUriErrorHandler),t.onSameUrlNavigation&&(e.onSameUrlNavigation=t.onSameUrlNavigation),t.paramsInheritanceStrategy&&(e.paramsInheritanceStrategy=t.paramsInheritanceStrategy),t.relativeLinkResolution&&(e.relativeLinkResolution=t.relativeLinkResolution),t.urlUpdateStrategy&&(e.urlUpdateStrategy=t.urlUpdateStrategy)}(a,c),a.enableTracing&&c.events.subscribe(d=>{var f,h;null===(f=console.group)||void 0===f||f.call(console,`Router Event: ${d.constructor.name}`),console.log(d.toString()),console.log(d),null===(h=console.groupEnd)||void 0===h||h.call(console)}),c},deps:[yh,Yi,dl,ee,el,Rr,Rh,$r,[class{},new lt],[class{},new lt]]},Yi,{provide:Hr,useFactory:function(t){return t.routerState.root},deps:[ft]},{provide:el,useClass:O1},_b,yb,class{preload(e,n){return n().pipe(Lr(()=>V(null)))}},{provide:$r,useValue:{enableTracing:!1}}];function r2(){return new ef("Router",ft)}let vb=(()=>{class t{constructor(n,r){}static forRoot(n,r){return{ngModule:t,providers:[n2,Db(n),{provide:Cb,useFactory:s2,deps:[[ft,new lt,new Jn]]},{provide:$r,useValue:r||{}},{provide:Wi,useFactory:o2,deps:[Pr,[new li(_f),new lt],$r]},{provide:Fh,useFactory:i2,deps:[ft,Zv,$r]},{provide:mb,useExisting:r&&r.preloadingStrategy?r.preloadingStrategy:yb},{provide:ef,multi:!0,useFactory:r2},[Oh,{provide:Hi,multi:!0,useFactory:c2,deps:[Oh]},{provide:Eb,useFactory:d2,deps:[Oh]},{provide:WC,multi:!0,useExisting:Eb}]]}}static forChild(n){return{ngModule:t,providers:[Db(n)]}}}return t.\u0275fac=function(n){return new(n||t)(D(Cb,8),D(ft,8))},t.\u0275mod=wt({type:t}),t.\u0275inj=st({}),t})();function i2(t,e,n){return n.scrollOffset&&e.setOffset(n.scrollOffset),new Fh(t,e,n)}function o2(t,e,n={}){return n.useHash?new eF(t,e):new Pv(t,e)}function s2(t){return"guarded"}function Db(t){return[{provide:i0,multi:!0,useValue:t},{provide:Rh,multi:!0,useValue:t}]}let Oh=(()=>{class t{constructor(n){this.injector=n,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new Et}appInitializer(){return this.injector.get(ZN,Promise.resolve(null)).then(()=>{if(this.destroyed)return Promise.resolve(!0);let r=null;const i=new Promise(a=>r=a),o=this.injector.get(ft),s=this.injector.get($r);return"disabled"===s.initialNavigation?(o.setUpLocationChangeListener(),r(!0)):"enabled"===s.initialNavigation||"enabledBlocking"===s.initialNavigation?(o.hooks.afterPreactivation=()=>this.initNavigation?V(null):(this.initNavigation=!0,r(!0),this.resultOfPreactivationDone),o.initialNavigation()):r(!0),i})}bootstrapListener(n){const r=this.injector.get($r),i=this.injector.get(_b),o=this.injector.get(Fh),s=this.injector.get(ft),a=this.injector.get(Nr);n===a.components[0]&&(("enabledNonBlocking"===r.initialNavigation||void 0===r.initialNavigation)&&s.initialNavigation(),i.setUpPreloading(),o.init(),s.resetRootComponentType(a.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}ngOnDestroy(){this.destroyed=!0}}return t.\u0275fac=function(n){return new(n||t)(D(ee))},t.\u0275prov=k({token:t,factory:t.\u0275fac}),t})();function c2(t){return t.appInitializer.bind(t)}function d2(t){return t.bootstrapListener.bind(t)}const Eb=new q("Router Initializer"),bb=JSON.parse('[{"category":"Basics","blogs":[{"name":"Introduction","route":"javascript-introduction","keywords":"javascript, intro, learning, basics"},{"name":"IDE Setup","route":"javascript-ide-for-practice","keywords":"javascript, intro, learning, basics"},{"name":"Hello World","route":"javascript-hello-world","keywords":"javascript, intro, learning, basics"},{"name":"Hello World Browser","route":"javascript-hello-world-browser","keywords":"javascript, intro, learning, basics"},{"name":"Variables","route":"javascript-variables","keywords":"javascript, intro, learning, basics"},{"name":"Comments","route":"javascript-comments","keywords":"javascript, intro, learning, basics, Comments"},{"name":"Functions","route":"javascript-functions","keywords":"javascript, intro, learning, basics, Functions"},{"name":"Operators","route":"javascript-operators","keywords":"javascript, intro, learning, basics, Operators"},{"name":"String","route":"javascript-string","keywords":"javascript, intro, learning, basics, String"},{"name":"Array","route":"javascript-array","keywords":"javascript, intro, learning, basics, Array"},{"name":"Object","route":"javascript-object","keywords":"javascript, intro, learning, basics, Object"},{"name":"JSON","route":"javascript-json","keywords":"javascript, intro, learning, basics, JSON"},{"name":"Conditions","route":"javascript-conditions","keywords":"javascript, intro, learning, basics"},{"name":"Switch","route":"javascript-switch","keywords":"javascript, intro, learning, basics"},{"name":"For","route":"javascript-for","keywords":"javascript, intro, learning, basics"}]},{"category":"Advance","blogs":[]}]');let Ph=(()=>{class t{constructor(){this.leftMenuSubject=new Dt(!0),this.leftMenu=this.leftMenuSubject.asObservable(),this.languageSubject=new Dt("blog"),this.language=this.languageSubject.asObservable()}toggleMenu(n){this.leftMenuSubject.next(!!n||!this.leftMenuSubject.value)}collapse(){this.leftMenuSubject.next(!0)}setLanguage(n){this.languageSubject.next(n)}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=k({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const h2=function(t){return[t]};function p2(t,e){if(1&t&&(M(0,"div",4),M(1,"div",5),M(2,"div",6),M(3,"div"),M(4,"code",7),Yt(5),A(),A(),M(6,"div",8),M(7,"span",9),M(8,"span",10),M(9,"code",7),Yt(10),A(),A(),A(),A(),A(),A(),A()),2&t){const n=nr().$implicit,r=nr().$implicit;Te(1),ut("routerLink",Nd(3,h2,"/"+n.route)),Te(4),Mr(" ",n.name," "),Te(5),Mr(" ",r.category," ")}}function g2(t,e){if(1&t&&(Vo(0),tr(1,p2,11,5,"div",3),ko()),2&t){const n=e.$implicit,r=nr(2);Te(1),ut("ngIf",r.filter(n))}}function m2(t,e){if(1&t&&(Vo(0),tr(1,g2,2,1,"ng-container",2),ko()),2&t){const n=e.$implicit;Te(1),ut("ngForOf",n.blogs)}}let y2=(()=>{class t{constructor(n){this.menu=n,this.menuList=bb,this.langs={blog:"B"},this.titles={blog:"Blogs"},this.lang="blog"}ngOnInit(){this.languageSubscription=this.menu.language.subscribe(n=>{this.lang=n})}filter(n){let r=!0;return"blog"!=this.lang&&n.language!=this.lang&&(r=!1),r}}return t.\u0275fac=function(n){return new(n||t)(C(Ph))},t.\u0275cmp=qn({type:t,selectors:[["app-landing"]],decls:3,vars:1,consts:[[2,"min-height","84.7vh \u200b!important"],[1,"row"],[4,"ngFor","ngForOf"],["class","col-sm-6 col-md-4 col-lg-3 col-xl-3 mb-2",4,"ngIf"],[1,"col-sm-6","col-md-4","col-lg-3","col-xl-3","mb-2"],[1,"card","border-warning","shadow-sm","clickable",3,"routerLink"],[1,"card-body","p-2"],[1,"text-dark"],[1,"float-end"],[2,"font-size","0.9em"],[1,"badge","bg-warning","text-dark","shadow-sm"]],template:function(n,r){1&n&&(M(0,"div",0),M(1,"div",1),tr(2,m2,2,1,"ng-container",2),A(),A()),2&n&&(Te(2),ut("ngForOf",r.menuList))},directives:[El,Af,Rs],styles:[""]}),t})();function wb(t,e,n,r,i,o,s){try{var a=t[o](s),l=a.value}catch(u){return void n(u)}a.done?e(l):Promise.resolve(l).then(r,i)}let C2=(()=>{class t{constructor(n){this.sanitizer=n}transform(n,r){return r&&(n=n.replace(/\n\n/g,"<br><br>")),this.sanitizer.bypassSecurityTrustHtml(n)}}return t.\u0275fac=function(n){return new(n||t)(C(Al,16))},t.\u0275pipe=Ye({name:"html",type:t,pure:!0}),t})();const v2=[{path:"",component:y2},{path:":story",component:(()=>{class t{constructor(n,r,i){this.ar=n,this.meta=r,this.title=i}ngOnInit(){var n=this;this.ar.params.subscribe(function(){var r=function(t){return function(){var e=this,n=arguments;return new Promise(function(r,i){var o=t.apply(e,n);function s(l){wb(o,r,i,s,a,"next",l)}function a(l){wb(o,r,i,s,a,"throw",l)}s(void 0)})}}(function*(i){try{switch(i.story){case"javascript-introduction":n.story=yield R.e(152).then(R.bind(R,152));break;case"javascript-ide-for-practice":n.story=yield R.e(109).then(R.bind(R,109));break;case"javascript-hello-world":n.story=yield R.e(30).then(R.bind(R,913));break;case"javascript-hello-world-browser":n.story=yield R.e(339).then(R.bind(R,339));break;case"javascript-variables":n.story=yield R.e(314).then(R.bind(R,314));break;case"javascript-comments":n.story=yield R.e(729).then(R.bind(R,729));break;case"javascript-functions":n.story=yield R.e(104).then(R.bind(R,104));break;case"javascript-operators":n.story=yield R.e(859).then(R.bind(R,859));break;case"javascript-string":n.story=yield R.e(509).then(R.bind(R,509));break;case"javascript-conditions":n.story=yield R.e(239).then(R.bind(R,239));break;case"javascript-switch":n.story=yield R.e(831).then(R.bind(R,831));break;case"javascript-for":n.story=yield R.e(477).then(R.bind(R,477));break;case"javascript-array":n.story=yield R.e(336).then(R.bind(R,336));break;case"javascript-json":n.story=yield R.e(913).then(R.bind(R,870));break;case"javascript-object":n.story=yield R.e(853).then(R.bind(R,853))}}catch(o){}n.meta.updateTag({name:"description",content:n.story.title}),n.meta.updateTag({property:"keywords",content:n.story.keywords}),n.title.setTitle("Record10 "+n.story.title)});return function(i){return r.apply(this,arguments)}}())}}return t.\u0275fac=function(n){return new(n||t)(C(Hr),C(Hf),C(cD))},t.\u0275cmp=qn({type:t,selectors:[["app-story"]],decls:7,vars:6,consts:[[1,"me-2","text-warning",2,"font-size","0.6em"],[1,"fas","fa-terminal"],[1,"fs-2",3,"innerHTML"],[3,"innerHTML"]],template:function(n,r){1&n&&(M(0,"h1"),M(1,"span",0),tt(2,"i",1),A(),tt(3,"b",2),Fd(4,"html"),A(),tt(5,"div",3),Fd(6,"html")),2&n&&(Te(3),ut("innerHTML",Od(4,2,null==r.story?null:r.story.title),ac),Te(2),ut("innerHTML",Od(6,4,null==r.story?null:r.story.story),ac))},pipes:[C2],styles:["pre[_ngcontent-%COMP%]{display:inline;margin:0}"]}),t})()},{path:"",redirectTo:"",pathMatch:"full"}];let D2=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=wt({type:t}),t.\u0275inj=st({imports:[[vb.forRoot(v2,{useHash:!0})],vb]}),t})();function E2(t,e){if(1&t&&(M(0,"span",17),tt(1,"i"),Yt(2),A()),2&t){const n=e.$implicit;Te(1),Fy(n.icon),Te(1),Mr(" ",n.name," ")}}let b2=(()=>{class t{constructor(n){this.menu=n}ngOnInit(){}}return t.\u0275fac=function(n){return new(n||t)(C(Ph))},t.\u0275cmp=qn({type:t,selectors:[["app-header"]],decls:19,vars:1,consts:[[1,"fixed-top"],[1,"navbar","navbar-expand-lg","navbar-dark","text-light","bg-dark"],[1,"container-fluid","pe-0"],["routerLink","",1,"navbar-brand"],["src","./../../../assets/icons/icon-js.svg","height","20","width","36","alt","",2,"height","35px"],[1,"float-end",2,"max-width","200px","overflow-x","auto"],[1,"d-flex"],[1,"me-3","text-warning"],["target","__blank","href","https://github.com/record10/javascript-public/issues",1,"no-link"],[1,"fab","fa-github","fa-2x"],[1,"bg-warning","clickable",3,"click"],["viewBox","-30 -12 70 60","width","30","height","35"],["width","60","height","5"],["y","15","width","60","height","5"],["y","30","width","60","height","5"],[1,"bg-warning","w-100","p-2","m-0",2,"overflow-x","auto","white-space","nowrap"],["class","mx-2",4,"ngFor","ngForOf"],[1,"mx-2"]],template:function(n,r){1&n&&(M(0,"div",0),M(1,"nav",1),M(2,"div",2),M(3,"a",3),tt(4,"img",4),A(),M(5,"div",5),M(6,"div",6),M(7,"span",7),M(8,"a",8),tt(9,"i",9),Yt(10," Issues "),A(),A(),A(),A(),A(),A(),M(11,"div",6),M(12,"div",10),Be("click",function(){return r.menu.toggleMenu()}),O.lFrame.currentNamespace=fp,M(13,"svg",11),tt(14,"rect",12),tt(15,"rect",13),tt(16,"rect",14),A(),A(),O.lFrame.currentNamespace=null,M(17,"div",15),tr(18,E2,3,3,"span",16),A(),A(),A()),2&n&&(Te(18),ut("ngForOf",r.topMenus))},directives:[su,El],styles:[".selected[_ngcontent-%COMP%]{color:var(--bs-warning)!important}"]}),t})(),w2=(()=>{class t{constructor(){}ngOnInit(){}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=qn({type:t,selectors:[["app-footer"]],decls:5,vars:1,consts:[[1,"bg-dark","text-light","p-1","row","m-0",2,"font-size","0.8em"],[1,"col-md-6"],["href","mailto:connect@record10.com",1,"nolink","text-warning"]],template:function(n,r){1&n&&(M(0,"div",0),M(1,"div",1),Yt(2),M(3,"a",2),Yt(4,"@mail us"),A(),A(),A()),2&n&&(Te(2),Mr(" \xa9 ",2021," by Record10. | "))},styles:[""]}),t})();const I2=["sidebar"],M2=function(t){return[t]};function A2(t,e){if(1&t){const n=rd();M(0,"li",26),Be("click",function(){return Pu(n),nr(3).menu.collapse()}),M(1,"span"),tt(2,"i",27),Yt(3," \xa0 "),M(4,"code",28),Yt(5),A(),A(),A()}if(2&t){const n=nr().$implicit;ut("routerLink",Nd(2,M2,n.route)),Te(5),Fa(n.name)}}function S2(t,e){if(1&t&&(Vo(0),tr(1,A2,6,4,"li",25),ko()),2&t){const n=e.$implicit,r=nr().$implicit,i=nr();Te(1),ut("ngIf",i.filter(n,r.search))}}function T2(t,e){if(1&t){const n=rd();M(0,"div",12),M(1,"div",13),M(2,"span",14),M(3,"code",15),Yt(4),A(),A(),M(5,"span",16),M(6,"div",17),M(7,"span",18),M(8,"span",19),Yt(9," \u26b2 "),A(),A(),M(10,"input",20),Be("ngModelChange",function(i){return Pu(n).$implicit.search=i}),A(),A(),A(),A(),M(11,"div",21),M(12,"div",22),M(13,"ul",23),tr(14,S2,2,1,"ng-container",24),A(),A(),A(),A()}if(2&t){const n=e.$implicit;Te(4),Fa(n.category),Te(6),ut("ngModel",n.search),Te(4),ut("ngForOf",n.blogs)}}let x2=(()=>{class t{constructor(n,r,i){this.menu=n,this.renderer=r,this.meta=i,this.menuList=bb,i.addTag({name:"viewport",content:"width=device-width, initial-scale=1"}),i.addTag({name:"description",content:"Javascript Tutorial"}),i.addTag({name:"author",content:"Pritam Rajput"}),i.addTag({name:"keywords",content:"Javascript, Programming, Learn, Tutorial"})}ngOnInit(){this.menuSubscription=this.menu.leftMenu.subscribe(n=>{this.sidebar&&(n?this.renderer.addClass(this.sidebar.nativeElement,"active"):this.renderer.removeClass(this.sidebar.nativeElement,"active"))}),this.languageSubscription=this.menu.language.subscribe(n=>{this.lang=n})}ngAfterViewChecked(){}filter(n,r){let i=!0;return"blog"!=this.lang&&n.language!=this.lang&&(i=!1),r&&""!=r&&-1==n.route.toLowerCase().indexOf(r.toLowerCase())&&-1==n.name.toLowerCase().indexOf(r.toLowerCase())&&(i=!1),i}}return t.\u0275fac=function(n){return new(n||t)(C(Ph),C(En),C(Hf))},t.\u0275cmp=qn({type:t,selectors:[["app-root"]],viewQuery:function(n,r){if(1&n&&bC(I2,5,Re),2&n){let i;Qa(i=function(t,e){return t[19].queries[e].queryList}(v(),Dp()))&&(r.sidebar=i.first)}},decls:15,vars:1,consts:[[1,"header"],[1,"content"],[1,"d-flex",2,"margin-top","95px"],[1,"sidebar","active"],["sidebar",""],[1,"card","border-0","m-0","p-0","bg-light","shadow-lg",2,"min-height","84vh"],[1,"card-body","p-0","m-1","bg-light"],["class","card shadow-sm border-0 mt-2",4,"ngFor","ngForOf"],[1,"card","shadow-sm","border-0","w-100",2,"min-height","84vh"],[1,"card-body","p-0","m-1"],[1,"row","p-0","m-0","mt-3",3,"click"],[1,"footer"],[1,"card","shadow-sm","border-0","mt-2"],[1,"card-header","border-0","bg-warning","p-1"],[1,"mb-3"],[1,"text-dark","code-i"],[1,"float-end"],[1,"input-group","input-group-sm","border-0","mt-1"],[1,"input-group-text","border-0","bg-warning",2,"padding","0px 6px 0px 0px !important"],[2,"transform","rotate(45deg)"],["type","search",1,"form-control","border-0","shadow-none","search-bar-input","rounded-pill","f-xsm",2,"font-size","13px !important",3,"ngModel","ngModelChange"],[1,"card-body","p-1","clickable"],[1,"d-flex"],[1,"list-group","list-group-flush"],[4,"ngFor","ngForOf"],["class","list-group-item p-0 border-0 my-1",3,"routerLink","click",4,"ngIf"],[1,"list-group-item","p-0","border-0","my-1",3,"routerLink","click"],[1,"fas","fa-code-branch"],[1,"text-warning","code-i"]],template:function(n,r){1&n&&(M(0,"div",0),tt(1,"app-header"),A(),M(2,"div",1),M(3,"div",2),M(4,"div",3,4),M(6,"div",5),M(7,"div",6),tr(8,T2,15,3,"div",7),A(),A(),A(),M(9,"div",8),M(10,"div",9),M(11,"div",10),Be("click",function(){return r.menu.toggleMenu(!0)}),tt(12,"router-outlet"),A(),A(),A(),A(),A(),M(13,"div",11),tt(14,"app-footer"),A()),2&n&&(Te(8),ut("ngForOf",r.menuList))},directives:[b2,El,Nh,w2,Tl,kD,rh,Af,Rs],styles:[".sidebar[_ngcontent-%COMP%]{width:calc(10vw + 100px);transition:all .5s;border-top-right-radius:10px;border-bottom-right-radius:10px;position:fixed;z-index:10;height:100vh}.sidebar.active[_ngcontent-%COMP%]{left:0;margin-left:calc(-10vw - 180px);visibility:hidden;opacity:0;transition:all .5s;position:fixed;z-index:10}.search-bar-btn[_ngcontent-%COMP%]{border:0;background-color:#fff;color:#000;font-size:1rem!important}.search-bar-input[_ngcontent-%COMP%]{border:0;height:20px;font-size:1rem!important;background-color:#fff;color:#000}input[type=search][_ngcontent-%COMP%]{width:30px;height:20px;transition:all .5s}input[type=search][_ngcontent-%COMP%]:focus{width:90px;height:20px;border-top:rgba(0,158,219,.1) solid 1px;border-right:rgba(0,158,219,.1) solid 1px;border-bottom:rgba(0,158,219,.1) solid 1px}@media (max-width: 450px){.sidebar[_ngcontent-%COMP%]{width:calc(10vw + 180px);transition:all .5s;margin-top:3px;margin-left:2px;border-top-right-radius:10px;border-bottom-right-radius:10px;background-color:#f7f7f7;position:fixed;z-index:10}.sidebar.active[_ngcontent-%COMP%]{left:0;margin-left:calc(-10vw - 180px);visibility:hidden;opacity:0;transition:all .5s;position:fixed;z-index:10}}"]}),t})(),R2=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=wt({type:t,bootstrap:[x2]}),t.\u0275inj=st({providers:[],imports:[[cP,D2,fV,BV.register("ngsw-worker.js",{enabled:true,registrationStrategy:"registerWhenStable:30000"})]]}),t})();(function(){if(JC)throw new Error("Cannot enable prod mode after platform setup.");ZC=!1})(),lP().bootstrapModule(R2).catch(t=>console.error(t))}},to=>{to(to.s=108)}]);