mirror of
https://github.com/DerTyp7/local-analyzer-angular.git
synced 2025-10-29 12:52:14 +01:00
1 line
225 KiB
JavaScript
1 line
225 KiB
JavaScript
"use strict";(self.webpackChunkLocalAnalyzer=self.webpackChunkLocalAnalyzer||[]).push([[179],{791:()=>{function K(e){return"function"==typeof e}function Ur(e){const n=e(r=>{Error.call(r),r.stack=(new Error).stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}const Ji=Ur(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:\n${n.map((r,i)=>`${i+1}) ${r.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=n});function $r(e,t){if(e){const n=e.indexOf(t);0<=n&&e.splice(n,1)}}class et{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;const{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(const o of n)o.remove(this);else n.remove(this);const{initialTeardown:r}=this;if(K(r))try{r()}catch(o){t=o instanceof Ji?o.errors:[o]}const{_finalizers:i}=this;if(i){this._finalizers=null;for(const o of i)try{Zc(o)}catch(s){t=null!=t?t:[],s instanceof Ji?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Ji(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Zc(t);else{if(t instanceof et){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(n=this._finalizers)&&void 0!==n?n:[]).push(t)}}_hasParent(t){const{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){const{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){const{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&$r(n,t)}remove(t){const{_finalizers:n}=this;n&&$r(n,t),t instanceof et&&t._removeParent(this)}}et.EMPTY=(()=>{const e=new et;return e.closed=!0,e})();const Wc=et.EMPTY;function Qc(e){return e instanceof et||e&&"closed"in e&&K(e.remove)&&K(e.add)&&K(e.unsubscribe)}function Zc(e){K(e)?e():e.unsubscribe()}const _n={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Yi={setTimeout(e,t,...n){const{delegate:r}=Yi;return(null==r?void 0:r.setTimeout)?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){const{delegate:t}=Yi;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function Kc(e){Yi.setTimeout(()=>{const{onUnhandledError:t}=_n;if(!t)throw e;t(e)})}function Jc(){}const rD=Us("C",void 0,void 0);function Us(e,t,n){return{kind:e,value:t,error:n}}let wn=null;function Xi(e){if(_n.useDeprecatedSynchronousErrorHandling){const t=!wn;if(t&&(wn={errorThrown:!1,error:null}),e(),t){const{errorThrown:n,error:r}=wn;if(wn=null,n)throw r}}else e()}class $s extends et{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Qc(t)&&t.add(this)):this.destination=cD}static create(t,n,r){return new eo(t,n,r)}next(t){this.isStopped?qs(function oD(e){return Us("N",e,void 0)}(t),this):this._next(t)}error(t){this.isStopped?qs(function iD(e){return Us("E",void 0,e)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?qs(rD,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const aD=Function.prototype.bind;function zs(e,t){return aD.call(e,t)}class uD{constructor(t){this.partialObserver=t}next(t){const{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){to(r)}}error(t){const{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){to(r)}else to(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){to(n)}}}class eo extends $s{constructor(t,n,r){let i;if(super(),K(t)||!t)i={next:null!=t?t:void 0,error:null!=n?n:void 0,complete:null!=r?r:void 0};else{let o;this&&_n.useDeprecatedNextContext?(o=Object.create(t),o.unsubscribe=()=>this.unsubscribe(),i={next:t.next&&zs(t.next,o),error:t.error&&zs(t.error,o),complete:t.complete&&zs(t.complete,o)}):i=t}this.destination=new uD(i)}}function to(e){_n.useDeprecatedSynchronousErrorHandling?function sD(e){_n.useDeprecatedSynchronousErrorHandling&&wn&&(wn.errorThrown=!0,wn.error=e)}(e):Kc(e)}function qs(e,t){const{onStoppedNotification:n}=_n;n&&Yi.setTimeout(()=>n(e,t))}const cD={closed:!0,next:Jc,error:function lD(e){throw e},complete:Jc},Gs="function"==typeof Symbol&&Symbol.observable||"@@observable";function En(e){return e}let ae=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){const r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,i){const o=function fD(e){return e&&e instanceof $s||function dD(e){return e&&K(e.next)&&K(e.error)&&K(e.complete)}(e)&&Qc(e)}(n)?n:new eo(n,r,i);return Xi(()=>{const{operator:s,source:a}=this;o.add(s?s.call(o,a):a?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return new(r=Xc(r))((i,o)=>{const s=new eo({next:a=>{try{n(a)}catch(u){o(u),s.unsubscribe()}},error:o,complete:i});this.subscribe(s)})}_subscribe(n){var r;return null===(r=this.source)||void 0===r?void 0:r.subscribe(n)}[Gs](){return this}pipe(...n){return function Yc(e){return 0===e.length?En:1===e.length?e[0]:function(n){return e.reduce((r,i)=>i(r),n)}}(n)(this)}toPromise(n){return new(n=Xc(n))((r,i)=>{let o;this.subscribe(s=>o=s,s=>i(s),()=>r(o))})}}return e.create=t=>new e(t),e})();function Xc(e){var t;return null!==(t=null!=e?e:_n.Promise)&&void 0!==t?t:Promise}const hD=Ur(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let jt=(()=>{class e extends ae{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){const r=new ed(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new hD}next(n){Xi(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const r of this.currentObservers)r.next(n)}})}error(n){Xi(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;const{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){Xi(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return(null===(n=this.observers)||void 0===n?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){const{hasError:r,isStopped:i,observers:o}=this;return r||i?Wc:(this.currentObservers=null,o.push(n),new et(()=>{this.currentObservers=null,$r(o,n)}))}_checkFinalizedStatuses(n){const{hasError:r,thrownError:i,isStopped:o}=this;r?n.error(i):o&&n.complete()}asObservable(){const n=new ae;return n.source=this,n}}return e.create=(t,n)=>new ed(t,n),e})();class ed extends jt{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;null===(r=null===(n=this.destination)||void 0===n?void 0:n.next)||void 0===r||r.call(n,t)}error(t){var n,r;null===(r=null===(n=this.destination)||void 0===n?void 0:n.error)||void 0===r||r.call(n,t)}complete(){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===n||n.call(t)}_subscribe(t){var n,r;return null!==(r=null===(n=this.source)||void 0===n?void 0:n.subscribe(t))&&void 0!==r?r:Wc}}function td(e){return K(null==e?void 0:e.lift)}function De(e){return t=>{if(td(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function Ce(e,t,n,r,i){return new pD(e,t,n,r,i)}class pD extends $s{constructor(t,n,r,i,o,s){super(t),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(u){t.error(u)}}:super._next,this._error=i?function(a){try{i(a)}catch(u){t.error(u)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:n}=this;super.unsubscribe(),!n&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}}}function q(e,t){return De((n,r)=>{let i=0;n.subscribe(Ce(r,o=>{r.next(e.call(t,o,i++))}))})}function bn(e){return this instanceof bn?(this.v=e,this):new bn(e)}function yD(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i,r=n.apply(e,t||[]),o=[];return i={},s("next"),s("throw"),s("return"),i[Symbol.asyncIterator]=function(){return this},i;function s(f){r[f]&&(i[f]=function(h){return new Promise(function(p,m){o.push([f,h,p,m])>1||a(f,h)})})}function a(f,h){try{!function u(f){f.value instanceof bn?Promise.resolve(f.value.v).then(l,c):d(o[0][2],f)}(r[f](h))}catch(p){d(o[0][3],p)}}function l(f){a("next",f)}function c(f){a("throw",f)}function d(f,h){f(h),o.shift(),o.length&&a(o[0][0],o[0][1])}}function vD(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,t=e[Symbol.asyncIterator];return t?t.call(e):(e=function id(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(o){n[o]=e[o]&&function(s){return new Promise(function(a,u){!function i(o,s,a,u){Promise.resolve(u).then(function(l){o({value:l,done:a})},s)}(a,u,(s=e[o](s)).done,s.value)})}}}const od=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function sd(e){return K(null==e?void 0:e.then)}function ad(e){return K(e[Gs])}function ud(e){return Symbol.asyncIterator&&K(null==e?void 0:e[Symbol.asyncIterator])}function ld(e){return new TypeError(`You provided ${null!==e&&"object"==typeof e?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const cd=function CD(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function dd(e){return K(null==e?void 0:e[cd])}function fd(e){return yD(this,arguments,function*(){const n=e.getReader();try{for(;;){const{value:r,done:i}=yield bn(n.read());if(i)return yield bn(void 0);yield yield bn(r)}}finally{n.releaseLock()}})}function hd(e){return K(null==e?void 0:e.getReader)}function Bt(e){if(e instanceof ae)return e;if(null!=e){if(ad(e))return function _D(e){return new ae(t=>{const n=e[Gs]();if(K(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(od(e))return function wD(e){return new ae(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}(e);if(sd(e))return function ED(e){return new ae(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Kc)})}(e);if(ud(e))return pd(e);if(dd(e))return function bD(e){return new ae(t=>{for(const n of e)if(t.next(n),t.closed)return;t.complete()})}(e);if(hd(e))return function MD(e){return pd(fd(e))}(e)}throw ld(e)}function pd(e){return new ae(t=>{(function ID(e,t){var n,r,i,o;return function gD(e,t,n,r){return new(n||(n=Promise))(function(o,s){function a(c){try{l(r.next(c))}catch(d){s(d)}}function u(c){try{l(r.throw(c))}catch(d){s(d)}}function l(c){c.done?o(c.value):function i(o){return o instanceof n?o:new n(function(s){s(o)})}(c.value).then(a,u)}l((r=r.apply(e,t||[])).next())})}(this,void 0,void 0,function*(){try{for(n=vD(e);!(r=yield n.next()).done;)if(t.next(r.value),t.closed)return}catch(s){i={error:s}}finally{try{r&&!r.done&&(o=n.return)&&(yield o.call(n))}finally{if(i)throw i.error}}t.complete()})})(e,t).catch(n=>t.error(n))})}function Ht(e,t,n,r=0,i=!1){const o=t.schedule(function(){n(),i?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(o),!i)return o}function ye(e,t,n=1/0){return K(t)?ye((r,i)=>q((o,s)=>t(r,o,i,s))(Bt(e(r,i))),n):("number"==typeof t&&(n=t),De((r,i)=>function SD(e,t,n,r,i,o,s,a){const u=[];let l=0,c=0,d=!1;const f=()=>{d&&!u.length&&!l&&t.complete()},h=m=>l<r?p(m):u.push(m),p=m=>{o&&t.next(m),l++;let D=!1;Bt(n(m,c++)).subscribe(Ce(t,v=>{null==i||i(v),o?h(v):t.next(v)},()=>{D=!0},void 0,()=>{if(D)try{for(l--;u.length&&l<r;){const v=u.shift();s?Ht(t,s,()=>p(v)):p(v)}f()}catch(v){t.error(v)}}))};return e.subscribe(Ce(t,h,()=>{d=!0,f()})),()=>{null==a||a()}}(r,i,e,n)))}function zr(e=1/0){return ye(En,e)}const Vt=new ae(e=>e.complete());function Qs(e){return e[e.length-1]}function qr(e){return function AD(e){return e&&K(e.schedule)}(Qs(e))?e.pop():void 0}function gd(e,t=0){return De((n,r)=>{n.subscribe(Ce(r,i=>Ht(r,e,()=>r.next(i),t),()=>Ht(r,e,()=>r.complete(),t),i=>Ht(r,e,()=>r.error(i),t)))})}function md(e,t=0){return De((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function yd(e,t){if(!e)throw new Error("Iterable cannot be null");return new ae(n=>{Ht(n,t,()=>{const r=e[Symbol.asyncIterator]();Ht(n,t,()=>{r.next().then(i=>{i.done?n.complete():n.next(i.value)})},0,!0)})})}function _e(e,t){return t?function LD(e,t){if(null!=e){if(ad(e))return function PD(e,t){return Bt(e).pipe(md(t),gd(t))}(e,t);if(od(e))return function OD(e,t){return new ae(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}(e,t);if(sd(e))return function ND(e,t){return Bt(e).pipe(md(t),gd(t))}(e,t);if(ud(e))return yd(e,t);if(dd(e))return function FD(e,t){return new ae(n=>{let r;return Ht(n,t,()=>{r=e[cd](),Ht(n,t,()=>{let i,o;try{({value:i,done:o}=r.next())}catch(s){return void n.error(s)}o?n.complete():n.next(i)},0,!0)}),()=>K(null==r?void 0:r.return)&&r.return()})}(e,t);if(hd(e))return function kD(e,t){return yd(fd(e),t)}(e,t)}throw ld(e)}(e,t):Bt(e)}function no(e){return e<=0?()=>Vt:De((t,n)=>{let r=0;t.subscribe(Ce(n,i=>{++r<=e&&(n.next(i),e<=r&&n.complete())}))})}function Zs(e,t,...n){return!0===t?(e(),null):!1===t?null:t(...n).pipe(no(1)).subscribe(()=>e())}function Q(e){for(let t in e)if(e[t]===Q)return t;throw Error("Could not find renamed property on target object.")}function G(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(G).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function Js(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const HD=Q({__forward_ref__:Q});function Ys(e){return e.__forward_ref__=Ys,e.toString=function(){return G(this())},e}function O(e){return function vd(e){return"function"==typeof e&&e.hasOwnProperty(HD)&&e.__forward_ref__===Ys}(e)?e():e}class z extends Error{constructor(t,n){super(function Xs(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,n)),this.code=t}}function A(e){return"string"==typeof e?e:null==e?"":String(e)}function xe(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():A(e)}function ro(e,t){const n=t?` in ${t}`:"";throw new z(-201,`No provider for ${xe(e)} found${n}`)}function qe(e,t){null==e&&function X(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function x(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function bt(e){return{providers:e.providers||[],imports:e.imports||[]}}function ea(e){return Dd(e,io)||Dd(e,_d)}function Dd(e,t){return e.hasOwnProperty(t)?e[t]:null}function Cd(e){return e&&(e.hasOwnProperty(ta)||e.hasOwnProperty(WD))?e[ta]:null}const io=Q({\u0275prov:Q}),ta=Q({\u0275inj:Q}),_d=Q({ngInjectableDef:Q}),WD=Q({ngInjectorDef:Q});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 na;function rn(e){const t=na;return na=e,t}function wd(e,t,n){const r=ea(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&T.Optional?null:void 0!==t?t:void ro(G(e),"Injector")}function on(e){return{toString:e}.toString()}var ct=(()=>((ct=ct||{})[ct.OnPush=0]="OnPush",ct[ct.Default=1]="Default",ct))(),Mt=(()=>{return(e=Mt||(Mt={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",Mt;var e})();const ZD="undefined"!=typeof globalThis&&globalThis,KD="undefined"!=typeof window&&window,JD="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,W=ZD||"undefined"!=typeof global&&global||KD||JD,qn={},Z=[],oo=Q({\u0275cmp:Q}),ra=Q({\u0275dir:Q}),ia=Q({\u0275pipe:Q}),Ed=Q({\u0275mod:Q}),$t=Q({\u0275fac:Q}),Gr=Q({__NG_ELEMENT_ID__:Q});let YD=0;function Gn(e){return on(()=>{const n={},r={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:n,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===ct.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||Z,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||Mt.Emulated,id:"c",styles:e.styles||Z,_:null,setInput:null,schemas:e.schemas||null,tView:null},i=e.directives,o=e.features,s=e.pipes;return r.id+=YD++,r.inputs=Sd(e.inputs,n),r.outputs=Sd(e.outputs),o&&o.forEach(a=>a(r)),r.directiveDefs=i?()=>("function"==typeof i?i():i).map(bd):null,r.pipeDefs=s?()=>("function"==typeof s?s():s).map(Md):null,r})}function bd(e){return Me(e)||function sn(e){return e[ra]||null}(e)}function Md(e){return function Mn(e){return e[ia]||null}(e)}const Id={};function zt(e){return on(()=>{const t={type:e.type,bootstrap:e.bootstrap||Z,declarations:e.declarations||Z,imports:e.imports||Z,exports:e.exports||Z,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&(Id[e.id]=e.type),t})}function Sd(e,t){if(null==e)return qn;const n={};for(const r in e)if(e.hasOwnProperty(r)){let i=e[r],o=i;Array.isArray(i)&&(o=i[1],i=i[0]),n[i]=r,t&&(t[i]=o)}return n}const be=Gn;function Me(e){return e[oo]||null}function tt(e,t){const n=e[Ed]||null;if(!n&&!0===t)throw new Error(`Type ${G(e)} does not have '\u0275mod' property.`);return n}const F=11,J=20;function It(e){return Array.isArray(e)&&"object"==typeof e[1]}function ft(e){return Array.isArray(e)&&!0===e[1]}function aa(e){return 0!=(8&e.flags)}function lo(e){return 2==(2&e.flags)}function co(e){return 1==(1&e.flags)}function ht(e){return null!==e.template}function iC(e){return 0!=(512&e[2])}function An(e,t){return e.hasOwnProperty($t)?e[$t]:null}class aC{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function Ad(e){return e.type.prototype.ngOnChanges&&(e.setInput=lC),uC}function uC(){const e=Rd(this),t=null==e?void 0:e.current;if(t){const n=e.previous;if(n===qn)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function lC(e,t,n,r){const i=Rd(e)||function cC(e,t){return e[xd]=t}(e,{previous:qn,current:null}),o=i.current||(i.current={}),s=i.previous,a=this.declaredInputs[n],u=s[a];o[a]=new aC(u&&u.currentValue,t,s===qn),e[r]=t}const xd="__ngSimpleChanges__";function Rd(e){return e[xd]||null}let fa;function ha(){return void 0!==fa?fa:"undefined"!=typeof document?document:void 0}function ne(e){return!!e.listen}const Pd={createRenderer:(e,t)=>ha()};function ue(e){for(;Array.isArray(e);)e=e[0];return e}function fo(e,t){return ue(t[e])}function it(e,t){return ue(t[e.index])}function pa(e,t){return e.data[t]}function We(e,t){const n=t[e];return It(n)?n:n[0]}function ga(e){return 128==(128&e[2])}function an(e,t){return null==t?null:e[t]}function Od(e){e[18]=0}function ma(e,t){e[5]+=t;let n=e,r=e[3];for(;null!==r&&(1===t&&1===n[5]||-1===t&&0===n[5]);)r[5]+=t,n=r,r=r[3]}const S={lFrame:Ud(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function Fd(){return S.bindingsEnabled}function y(){return S.lFrame.lView}function U(){return S.lFrame.tView}function ya(e){return S.lFrame.contextLView=e,e[8]}function he(){let e=kd();for(;null!==e&&64===e.type;)e=e.parent;return e}function kd(){return S.lFrame.currentTNode}function St(e,t){const n=S.lFrame;n.currentTNode=e,n.isParent=t}function va(){return S.lFrame.isParent}function ho(){return S.isInCheckNoChangesMode}function po(e){S.isInCheckNoChangesMode=e}function Yn(){return S.lFrame.bindingIndex++}function Gt(e){const t=S.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function SC(e,t){const n=S.lFrame;n.bindingIndex=n.bindingRootIndex=e,Ca(t)}function Ca(e){S.lFrame.currentDirectiveIndex=e}function wa(e){S.lFrame.currentQueryIndex=e}function AC(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function Hd(e,t,n){if(n&T.SkipSelf){let i=t,o=e;for(;!(i=i.parent,null!==i||n&T.Host||(i=AC(o),null===i||(o=o[15],10&i.type))););if(null===i)return!1;t=i,e=o}const r=S.lFrame=Vd();return r.currentTNode=t,r.lView=e,!0}function go(e){const t=Vd(),n=e[1];S.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Vd(){const e=S.lFrame,t=null===e?null:e.child;return null===t?Ud(e):t}function Ud(e){const t={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:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function $d(){const e=S.lFrame;return S.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const zd=$d;function mo(){const e=$d();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Pe(){return S.lFrame.selectedIndex}function un(e){S.lFrame.selectedIndex=e}function yo(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const o=e.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:u,ngAfterViewChecked:l,ngOnDestroy:c}=o;s&&(e.contentHooks||(e.contentHooks=[])).push(-n,s),a&&((e.contentHooks||(e.contentHooks=[])).push(n,a),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,a)),u&&(e.viewHooks||(e.viewHooks=[])).push(-n,u),l&&((e.viewHooks||(e.viewHooks=[])).push(n,l),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,l)),null!=c&&(e.destroyHooks||(e.destroyHooks=[])).push(n,c)}}function vo(e,t,n){qd(e,t,3,n)}function Do(e,t,n,r){(3&e[2])===n&&qd(e,t,n,r)}function Ea(e,t){let n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function qd(e,t,n,r){const o=null!=r?r:-1,s=t.length-1;let a=0;for(let u=void 0!==r?65535&e[18]:0;u<s;u++)if("number"==typeof t[u+1]){if(a=t[u],null!=r&&a>=r)break}else t[u]<0&&(e[18]+=65536),(a<o||-1==o)&&(jC(e,n,t,u),e[18]=(4294901760&e[18])+u+2),u++}function jC(e,t,n,r){const i=n[r]<0,o=n[r+1],a=e[i?-n[r]:n[r]];if(i){if(e[2]>>11<e[18]>>16&&(3&e[2])===t){e[2]+=2048;try{o.call(a)}finally{}}}else try{o.call(a)}finally{}}class Jr{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function Co(e,t,n){const r=ne(e);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++],u=n[i++];r?e.setAttribute(t,a,u,s):t.setAttributeNS(s,a,u)}else{const s=o,a=n[++i];Ma(s)?r&&e.setProperty(t,s,a):r?e.setAttribute(t,s,a):t.setAttribute(s,a),i++}}return i}function Gd(e){return 3===e||4===e||6===e}function Ma(e){return 64===e.charCodeAt(0)}function _o(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){const i=t[r];"number"==typeof i?n=i:0===n||Wd(e,n,i,null,-1===n||2===n?t[++r]:null)}}return e}function Wd(e,t,n,r,i){let o=0,s=e.length;if(-1===t)s=-1;else for(;o<e.length;){const a=e[o++];if("number"==typeof a){if(a===t){s=-1;break}if(a>t){s=o-1;break}}}for(;o<e.length;){const a=e[o];if("number"==typeof a)break;if(a===n){if(null===r)return void(null!==i&&(e[o+1]=i));if(r===e[o+1])return void(e[o+2]=i)}o++,null!==r&&o++,null!==i&&o++}-1!==s&&(e.splice(s,0,t),o=s+1),e.splice(o++,0,n),null!==r&&e.splice(o++,0,r),null!==i&&e.splice(o++,0,i)}function Qd(e){return-1!==e}function Xn(e){return 32767&e}function er(e,t){let n=function $C(e){return e>>16}(e),r=t;for(;n>0;)r=r[15],n--;return r}let Ia=!0;function wo(e){const t=Ia;return Ia=e,t}let zC=0;function Xr(e,t){const n=Ta(e,t);if(-1!==n)return n;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,Sa(r.data,e),Sa(t,null),Sa(r.blueprint,null));const i=Eo(e,t),o=e.injectorIndex;if(Qd(i)){const s=Xn(i),a=er(i,t),u=a[1].data;for(let l=0;l<8;l++)t[o+l]=a[s+l]|u[s+l]}return t[o+8]=i,o}function Sa(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Ta(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Eo(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,i=t;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 bo(e,t,n){!function qC(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(Gr)&&(r=n[Gr]),null==r&&(r=n[Gr]=zC++);const i=255&r;t.data[e+(i>>5)]|=1<<i}(e,t,n)}function Jd(e,t,n){if(n&T.Optional)return e;ro(t,"NodeInjector")}function Yd(e,t,n,r){if(n&T.Optional&&void 0===r&&(r=null),0==(n&(T.Self|T.Host))){const i=e[9],o=rn(void 0);try{return i?i.get(t,r,n&T.Optional):wd(t,r,n&T.Optional)}finally{rn(o)}}return Jd(r,t,n)}function Xd(e,t,n,r=T.Default,i){if(null!==e){const o=function ZC(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(Gr)?e[Gr]:void 0;return"number"==typeof t?t>=0?255&t:WC:t}(n);if("function"==typeof o){if(!Hd(t,e,r))return r&T.Host?Jd(i,n,r):Yd(t,n,r,i);try{const s=o(r);if(null!=s||r&T.Optional)return s;ro(n)}finally{zd()}}else if("number"==typeof o){let s=null,a=Ta(e,t),u=-1,l=r&T.Host?t[16][6]:null;for((-1===a||r&T.SkipSelf)&&(u=-1===a?Eo(e,t):t[a+8],-1!==u&&nf(r,!1)?(s=t[1],a=Xn(u),t=er(u,t)):a=-1);-1!==a;){const c=t[1];if(tf(o,a,c.data)){const d=QC(a,t,n,s,r,l);if(d!==ef)return d}u=t[a+8],-1!==u&&nf(r,t[1].data[a+8]===l)&&tf(o,a,t)?(s=c,a=Xn(u),t=er(u,t)):a=-1}}}return Yd(t,n,r,i)}const ef={};function WC(){return new tr(he(),y())}function QC(e,t,n,r,i,o){const s=t[1],a=s.data[e+8],c=function Mo(e,t,n,r,i){const o=e.providerIndexes,s=t.data,a=1048575&o,u=e.directiveStart,c=o>>20,f=i?a+c:e.directiveEnd;for(let h=r?a:a+c;h<f;h++){const p=s[h];if(h<u&&n===p||h>=u&&p.type===n)return h}if(i){const h=s[u];if(h&&ht(h)&&h.type===n)return u}return null}(a,s,n,null==r?lo(a)&&Ia:r!=s&&0!=(3&a.type),i&T.Host&&o===a);return null!==c?ei(t,s,c,a):ef}function ei(e,t,n,r){let i=e[n];const o=t.data;if(function BC(e){return e instanceof Jr}(i)){const s=i;s.resolving&&function VD(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new z(-200,`Circular dependency in DI detected for ${e}${n}`)}(xe(o[n]));const a=wo(s.canSeeViewProviders);s.resolving=!0;const u=s.injectImpl?rn(s.injectImpl):null;Hd(e,r,T.Default);try{i=e[n]=s.factory(void 0,o,e,r),t.firstCreatePass&&n>=r.directiveStart&&function LC(e,t,n){const{ngOnChanges:r,ngOnInit:i,ngDoCheck:o}=t.type.prototype;if(r){const s=Ad(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,s)}i&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,i),o&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,o),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,o))}(n,o[n],t)}finally{null!==u&&rn(u),wo(a),s.resolving=!1,zd()}}return i}function tf(e,t,n){return!!(n[t+(e>>5)]&1<<e)}function nf(e,t){return!(e&T.Self||e&T.Host&&t)}class tr{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return Xd(this._tNode,this._lView,t,r,n)}}const rr="__parameters__";function or(e,t,n){return on(()=>{const r=function xa(e){return function(...n){if(e){const r=e(...n);for(const i in r)this[i]=r[i]}}}(t);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(u,l,c){const d=u.hasOwnProperty(rr)?u[rr]:Object.defineProperty(u,rr,{value:[]})[rr];for(;d.length<=c;)d.push(null);return(d[c]=d[c]||[]).push(s),u}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i})}class V{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=x({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}toString(){return`InjectionToken ${this._desc}`}}const YC=new V("AnalyzeForEntryComponents");function Tt(e,t){e.forEach(n=>Array.isArray(n)?Tt(n,t):t(n))}function of(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Io(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Qe(e,t,n){let r=sr(e,t);return r>=0?e[1|r]=n:(r=~r,function t_(e,t,n,r){let i=e.length;if(i==t)e.push(n,r);else if(1===i)e.push(r,e[0]),e[0]=n;else{for(i--,e.push(e[i-1],e[i]);i>t;)e[i]=e[i-2],i--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function Pa(e,t){const n=sr(e,t);if(n>=0)return e[1|n]}function sr(e,t){return function uf(e,t,n){let r=0,i=e.length>>n;for(;i!==r;){const o=r+(i-r>>1),s=e[o<<n];if(t===s)return o<<n;s>t?i=o:r=o+1}return~(i<<n)}(e,t,1)}const oi={},Oa="__NG_DI_FLAG__",To="ngTempTokenPath",u_=/\n/gm,cf="__source",c_=Q({provide:String,useValue:Q});let si;function df(e){const t=si;return si=e,t}function d_(e,t=T.Default){if(void 0===si)throw new z(203,"");return null===si?wd(e,void 0,t):si.get(e,t&T.Optional?null:void 0,t)}function E(e,t=T.Default){return(function QD(){return na}()||d_)(O(e),t)}const f_=E;function Fa(e){const t=[];for(let n=0;n<e.length;n++){const r=O(e[n]);if(Array.isArray(r)){if(0===r.length)throw new z(900,"");let i,o=T.Default;for(let s=0;s<r.length;s++){const a=r[s],u=h_(a);"number"==typeof u?-1===u?i=a.token:o|=u:i=a}t.push(E(i,o))}else t.push(E(r))}return t}function ai(e,t){return e[Oa]=t,e.prototype[Oa]=t,e}function h_(e){return e[Oa]}const Ao=ai(or("Inject",e=>({token:e})),-1),cn=ai(or("Optional"),8),ui=ai(or("SkipSelf"),4);let Ro,Po;function ur(e){var t;return(null===(t=function La(){if(void 0===Ro&&(Ro=null,W.trustedTypes))try{Ro=W.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return Ro}())||void 0===t?void 0:t.createHTML(e))||e}function yf(e){var t;return(null===(t=function ja(){if(void 0===Po&&(Po=null,W.trustedTypes))try{Po=W.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return Po}())||void 0===t?void 0:t.createHTML(e))||e}class Cf{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}function dn(e){return e instanceof Cf?e.changingThisBreaksApplicationSecurity:e}class P_{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const n=(new window.DOMParser).parseFromString(ur(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch(n){return null}}}class N_{constructor(t){if(this.defaultDoc=t,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(t){const n=this.inertDocument.createElement("template");if("content"in n)return n.innerHTML=ur(t),n;const r=this.inertDocument.createElement("body");return r.innerHTML=ur(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(r),r}stripCustomNsAttrs(t){const n=t.attributes;for(let i=n.length-1;0<i;i--){const s=n.item(i).name;("xmlns:ns1"===s||0===s.indexOf("ns1:"))&&t.removeAttribute(s)}let r=t.firstChild;for(;r;)r.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(r),r=r.nextSibling}}const F_=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi,k_=/^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 No(e){return(e=String(e)).match(F_)||e.match(k_)?e:"unsafe:"+e}function At(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function di(...e){const t={};for(const n of e)for(const r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}const Ef=At("area,br,col,hr,img,wbr"),bf=At("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Mf=At("rp,rt"),Ba=di(Ef,di(bf,At("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),di(Mf,At("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),di(Mf,bf)),Ha=At("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Va=At("srcset"),If=di(Ha,Va,At("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),At("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),L_=At("script,style,template");class j_{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.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(t){const n=t.nodeName.toLowerCase();if(!Ba.hasOwnProperty(n))return this.sanitizedSomething=!0,!L_.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const r=t.attributes;for(let i=0;i<r.length;i++){const o=r.item(i),s=o.name,a=s.toLowerCase();if(!If.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let u=o.value;Ha[a]&&(u=No(u)),Va[a]&&(e=u,u=(e=String(e)).split(",").map(t=>No(t.trim())).join(", ")),this.buf.push(" ",s,'="',Sf(u),'"')}var e;return this.buf.push(">"),!0}endElement(t){const n=t.nodeName.toLowerCase();Ba.hasOwnProperty(n)&&!Ef.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(Sf(t))}checkClobberedElement(t,n){if(n&&(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return n}}const B_=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,H_=/([^\#-~ |!])/g;function Sf(e){return e.replace(/&/g,"&").replace(B_,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(H_,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}let Oo;function Ua(e){return"content"in e&&function U_(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var le=(()=>((le=le||{})[le.NONE=0]="NONE",le[le.HTML=1]="HTML",le[le.STYLE=2]="STYLE",le[le.SCRIPT=3]="SCRIPT",le[le.URL=4]="URL",le[le.RESOURCE_URL=5]="RESOURCE_URL",le))();function Tf(e){const t=function fi(){const e=y();return e&&e[12]}();return t?yf(t.sanitize(le.HTML,e)||""):function ci(e,t){const n=function R_(e){return e instanceof Cf&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see https://g.co/ng/security#xss)`)}return n===t}(e,"HTML")?yf(dn(e)):function V_(e,t){let n=null;try{Oo=Oo||function _f(e){const t=new N_(e);return function O_(){try{return!!(new window.DOMParser).parseFromString(ur(""),"text/html")}catch(e){return!1}}()?new P_(t):t}(e);let r=t?String(t):"";n=Oo.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=Oo.getInertBodyElement(r)}while(r!==o);return ur((new j_).sanitizeChildren(Ua(n)||n))}finally{if(n){const r=Ua(n)||n;for(;r.firstChild;)r.removeChild(r.firstChild)}}}(ha(),A(e))}const Rf="__ngContext__";function Se(e,t){e[Rf]=t}function qa(e){const t=function hi(e){return e[Rf]||null}(e);return t?Array.isArray(t)?t:t.lView:null}function Wa(e){return e.ngOriginalError}function iw(e,...t){e.error(...t)}class pi{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t),r=function rw(e){return e&&e.ngErrorLogger||iw}(t);r(this._console,"ERROR",t),n&&r(this._console,"ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&Wa(t);for(;n&&Wa(n);)n=Wa(n);return n||null}}const pw=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(W))();function xt(e){return e instanceof Function?e():e}var Ze=(()=>((Ze=Ze||{})[Ze.Important=1]="Important",Ze[Ze.DashCase=2]="DashCase",Ze))();function Za(e,t){return undefined(e,t)}function gi(e){const t=e[3];return ft(t)?t[3]:t}function Ka(e){return Hf(e[13])}function Ja(e){return Hf(e[4])}function Hf(e){for(;null!==e&&!ft(e);)e=e[4];return e}function cr(e,t,n,r,i){if(null!=r){let o,s=!1;ft(r)?o=r:It(r)&&(s=!0,r=r[0]);const a=ue(r);0===e&&null!==n?null==i?Gf(t,n,a):Rn(t,n,a,i||null,!0):1===e&&null!==n?Rn(t,n,a,i||null,!0):2===e?function Xf(e,t,n){const r=Fo(e,t);r&&function Tw(e,t,n,r){ne(e)?e.removeChild(t,n,r):t.removeChild(n)}(e,r,t,n)}(t,a,s):3===e&&t.destroyNode(a),null!=o&&function Rw(e,t,n,r,i){const o=n[7];o!==ue(n)&&cr(t,e,r,o,i);for(let a=10;a<n.length;a++){const u=n[a];mi(u[1],u,e,t,r,o)}}(t,e,o,n,i)}}function Xa(e,t,n){if(ne(e))return e.createElement(t,n);{const r=null!==n?function pC(e){const t=e.toLowerCase();return"svg"===t?"http://www.w3.org/2000/svg":"math"===t?"http://www.w3.org/1998/MathML/":null}(n):null;return null===r?e.createElement(t):e.createElementNS(r,t)}}function Uf(e,t){const n=e[9],r=n.indexOf(t),i=t[3];1024&t[2]&&(t[2]&=-1025,ma(i,-1)),n.splice(r,1)}function eu(e,t){if(e.length<=10)return;const n=10+t,r=e[n];if(r){const i=r[17];null!==i&&i!==e&&Uf(i,r),t>0&&(e[n-1][4]=r[4]);const o=Io(e,10+t);!function Cw(e,t){mi(e,t,t[F],2,null,null),t[0]=null,t[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 $f(e,t){if(!(256&t[2])){const n=t[F];ne(n)&&n.destroyNode&&mi(e,t,n,3,null,null),function Ew(e){let t=e[13];if(!t)return tu(e[1],e);for(;t;){let n=null;if(It(t))n=t[13];else{const r=t[10];r&&(n=r)}if(!n){for(;t&&!t[4]&&t!==e;)It(t)&&tu(t[1],t),t=t[3];null===t&&(t=e),It(t)&&tu(t[1],t),n=t&&t[4]}t=n}}(t)}}function tu(e,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function Sw(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r<n.length;r+=2){const i=t[n[r]];if(!(i instanceof Jr)){const o=n[r+1];if(Array.isArray(o))for(let s=0;s<o.length;s+=2){const a=i[o[s]],u=o[s+1];try{u.call(a)}finally{}}else try{o.call(i)}finally{}}}}(e,t),function Iw(e,t){const n=e.cleanup,r=t[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(t):ue(t[s]),u=r[i=n[o+2]],l=n[o+3];"boolean"==typeof l?a.removeEventListener(n[o],u,l):l>=0?r[i=l]():r[i=-l].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]();t[7]=null}}(e,t),1===t[1].type&&ne(t[F])&&t[F].destroy();const n=t[17];if(null!==n&&ft(t[3])){n!==t[3]&&Uf(n,t);const r=t[19];null!==r&&r.detachView(e)}}}function zf(e,t,n){return function qf(e,t,n){let r=t;for(;null!==r&&40&r.type;)r=(t=r).parent;if(null===r)return n[0];if(2&r.flags){const i=e.data[r.directiveStart].encapsulation;if(i===Mt.None||i===Mt.Emulated)return null}return it(r,n)}(e,t.parent,n)}function Rn(e,t,n,r,i){ne(e)?e.insertBefore(t,n,r,i):t.insertBefore(n,r,i)}function Gf(e,t,n){ne(e)?e.appendChild(t,n):t.appendChild(n)}function Wf(e,t,n,r,i){null!==r?Rn(e,t,n,r,i):Gf(e,t,n)}function Fo(e,t){return ne(e)?e.parentNode(t):t.parentNode}let Kf=function Zf(e,t,n){return 40&e.type?it(e,n):null};function ko(e,t,n,r){const i=zf(e,r,t),o=t[F],a=function Qf(e,t,n){return Kf(e,t,n)}(r.parent||t[6],r,t);if(null!=i)if(Array.isArray(n))for(let u=0;u<n.length;u++)Wf(o,i,n[u],a,!1);else Wf(o,i,n,a,!1)}function Lo(e,t){if(null!==t){const n=t.type;if(3&n)return it(t,e);if(4&n)return ru(-1,e[t.index]);if(8&n){const r=t.child;if(null!==r)return Lo(e,r);{const i=e[t.index];return ft(i)?ru(-1,i):ue(i)}}if(32&n)return Za(t,e)()||ue(e[t.index]);{const r=Yf(e,t);return null!==r?Array.isArray(r)?r[0]:Lo(gi(e[16]),r):Lo(e,t.next)}}return null}function Yf(e,t){return null!==t?e[16][6].projection[t.projection]:null}function ru(e,t){const n=10+e+1;if(n<t.length){const r=t[n],i=r[1].firstChild;if(null!==i)return Lo(r,i)}return t[7]}function iu(e,t,n,r,i,o,s){for(;null!=n;){const a=r[n.index],u=n.type;if(s&&0===t&&(a&&Se(ue(a),r),n.flags|=4),64!=(64&n.flags))if(8&u)iu(e,t,n.child,r,i,o,!1),cr(t,e,i,a,o);else if(32&u){const l=Za(n,r);let c;for(;c=l();)cr(t,e,i,c,o);cr(t,e,i,a,o)}else 16&u?eh(e,t,r,n,i,o):cr(t,e,i,a,o);n=s?n.projectionNext:n.next}}function mi(e,t,n,r,i,o){iu(n,r,e.firstChild,t,i,o,!1)}function eh(e,t,n,r,i,o){const s=n[16],u=s[6].projection[r.projection];if(Array.isArray(u))for(let l=0;l<u.length;l++)cr(t,e,i,u[l],o);else iu(e,t,u,s[3],i,o,!0)}function th(e,t,n){ne(e)?e.setAttribute(t,"style",n):t.style.cssText=n}function ou(e,t,n){ne(e)?""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n):t.className=n}function nh(e,t,n){let r=e.length;for(;;){const i=e.indexOf(t,n);if(-1===i)return i;if(0===i||e.charCodeAt(i-1)<=32){const o=t.length;if(i+o===r||e.charCodeAt(i+o)<=32)return i}n=i+1}}const rh="ng-template";function Nw(e,t,n){let r=0;for(;r<e.length;){let i=e[r++];if(n&&"class"===i){if(i=e[r],-1!==nh(i.toLowerCase(),t,0))return!0}else if(1===i){for(;r<e.length&&"string"==typeof(i=e[r++]);)if(i.toLowerCase()===t)return!0;return!1}}return!1}function ih(e){return 4===e.type&&e.value!==rh}function Ow(e,t,n){return t===(4!==e.type||n?e.value:rh)}function Fw(e,t,n){let r=4;const i=e.attrs||[],o=function jw(e){for(let t=0;t<e.length;t++)if(Gd(e[t]))return t;return e.length}(i);let s=!1;for(let a=0;a<t.length;a++){const u=t[a];if("number"!=typeof u){if(!s)if(4&r){if(r=2|1&r,""!==u&&!Ow(e,u,n)||""===u&&1===t.length){if(pt(r))return!1;s=!0}}else{const l=8&r?u:t[++a];if(8&r&&null!==e.attrs){if(!Nw(e.attrs,l,n)){if(pt(r))return!1;s=!0}continue}const d=kw(8&r?"class":u,i,ih(e),n);if(-1===d){if(pt(r))return!1;s=!0;continue}if(""!==l){let f;f=d>o?"":i[d+1].toLowerCase();const h=8&r?f:null;if(h&&-1!==nh(h,l,0)||2&r&&l!==f){if(pt(r))return!1;s=!0}}}}else{if(!s&&!pt(r)&&!pt(u))return!1;if(s&&pt(u))continue;s=!1,r=u|1&r}}return pt(r)||s}function pt(e){return 0==(1&e)}function kw(e,t,n,r){if(null===t)return-1;let i=0;if(r||!n){let o=!1;for(;i<t.length;){const s=t[i];if(s===e)return i;if(3===s||6===s)o=!0;else{if(1===s||2===s){let a=t[++i];for(;"string"==typeof a;)a=t[++i];continue}if(4===s)break;if(0===s){i+=4;continue}}i+=o?1:2}return-1}return function Bw(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const r=e[n];if("number"==typeof r)return-1;if(r===t)return n;n++}return-1}(t,e)}function oh(e,t,n=!1){for(let r=0;r<t.length;r++)if(Fw(e,t[r],n))return!0;return!1}function sh(e,t){return e?":not("+t.trim()+")":t}function Vw(e){let t=e[0],n=1,r=2,i="",o=!1;for(;n<e.length;){let s=e[n];if("string"==typeof s)if(2&r){const a=e[++n];i+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else 8&r?i+="."+s:4&r&&(i+=" "+s);else""!==i&&!pt(s)&&(t+=sh(o,i),i=""),r=s,o=o||!pt(r);n++}return""!==i&&(t+=sh(o,i)),t}const R={};function Ve(e){ah(U(),y(),Pe()+e,ho())}function ah(e,t,n,r){if(!r)if(3==(3&t[2])){const o=e.preOrderCheckHooks;null!==o&&vo(t,o,n)}else{const o=e.preOrderHooks;null!==o&&Do(t,o,0,n)}un(n)}function jo(e,t){return e<<17|t<<2}function gt(e){return e>>17&32767}function su(e){return 2|e}function Wt(e){return(131068&e)>>2}function au(e,t){return-131069&e|t<<2}function uu(e){return 1|e}function vh(e,t){const n=e.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=e.data[o];wa(i),s.contentQueries(2,t[o],o)}}}function yi(e,t,n,r,i,o,s,a,u,l){const c=t.blueprint.slice();return c[0]=i,c[2]=140|r,Od(c),c[3]=c[15]=e,c[8]=n,c[10]=s||e&&e[10],c[F]=a||e&&e[F],c[12]=u||e&&e[12]||null,c[9]=l||e&&e[9]||null,c[6]=o,c[16]=2==t.type?e[16]:c,c}function dr(e,t,n,r,i){let o=e.data[t];if(null===o)o=function yu(e,t,n,r,i){const o=kd(),s=va(),u=e.data[t]=function oE(e,t,n,r,i,o){return{type:n,index:r,insertBeforeIndex:null,injectorIndex:t?t.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:t,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,t,r,i);return null===e.firstChild&&(e.firstChild=u),null!==o&&(s?null==o.child&&null!==u.parent&&(o.child=u):null===o.next&&(o.next=u)),u}(e,t,n,r,i),function IC(){return S.lFrame.inI18n}()&&(o.flags|=64);else if(64&o.type){o.type=n,o.value=r,o.attrs=i;const s=function Kr(){const e=S.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();o.injectorIndex=null===s?-1:s.injectorIndex}return St(o,!0),o}function fr(e,t,n,r){if(0===n)return-1;const i=t.length;for(let o=0;o<n;o++)t.push(r),e.blueprint.push(r),e.data.push(null);return i}function vi(e,t,n){go(t);try{const r=e.viewQuery;null!==r&&Iu(1,r,n);const i=e.template;null!==i&&Dh(e,t,i,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&vh(e,t),e.staticViewQueries&&Iu(2,e.viewQuery,n);const o=e.components;null!==o&&function nE(e,t){for(let n=0;n<t.length;n++)EE(e,t[n])}(t,o)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[2]&=-5,mo()}}function hr(e,t,n,r){const i=t[2];if(256==(256&i))return;go(t);const o=ho();try{Od(t),function Ld(e){return S.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&Dh(e,t,n,2,r);const s=3==(3&i);if(!o)if(s){const l=e.preOrderCheckHooks;null!==l&&vo(t,l,null)}else{const l=e.preOrderHooks;null!==l&&Do(t,l,0,null),Ea(t,0)}if(function _E(e){for(let t=Ka(e);null!==t;t=Ja(t)){if(!t[2])continue;const n=t[9];for(let r=0;r<n.length;r++){const i=n[r],o=i[3];0==(1024&i[2])&&ma(o,1),i[2]|=1024}}}(t),function CE(e){for(let t=Ka(e);null!==t;t=Ja(t))for(let n=10;n<t.length;n++){const r=t[n],i=r[1];ga(r)&&hr(i,r,i.template,r[8])}}(t),null!==e.contentQueries&&vh(e,t),!o)if(s){const l=e.contentCheckHooks;null!==l&&vo(t,l)}else{const l=e.contentHooks;null!==l&&Do(t,l,1),Ea(t,1)}!function eE(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let r=0;r<n.length;r++){const i=n[r];if(i<0)un(~i);else{const o=i,s=n[++r],a=n[++r];SC(s,o),a(2,t[o])}}}finally{un(-1)}}(e,t);const a=e.components;null!==a&&function tE(e,t){for(let n=0;n<t.length;n++)wE(e,t[n])}(t,a);const u=e.viewQuery;if(null!==u&&Iu(2,u,r),!o)if(s){const l=e.viewCheckHooks;null!==l&&vo(t,l)}else{const l=e.viewHooks;null!==l&&Do(t,l,2),Ea(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),o||(t[2]&=-73),1024&t[2]&&(t[2]&=-1025,ma(t[3],-1))}finally{mo()}}function rE(e,t,n,r){const i=t[10],o=!ho(),s=function Nd(e){return 4==(4&e[2])}(t);try{o&&!s&&i.begin&&i.begin(),s&&vi(e,t,r),hr(e,t,n,r)}finally{o&&!s&&i.end&&i.end()}}function Dh(e,t,n,r,i){const o=Pe(),s=2&r;try{un(-1),s&&t.length>J&&ah(e,t,J,ho()),n(r,i)}finally{un(o)}}function vu(e,t,n){!Fd()||(function fE(e,t,n,r){const i=n.directiveStart,o=n.directiveEnd;e.firstCreatePass||Xr(n,t),Se(r,t);const s=n.initialInputs;for(let a=i;a<o;a++){const u=e.data[a],l=ht(u);l&&yE(t,n,u);const c=ei(t,e,a,n);Se(c,t),null!==s&&vE(0,a-i,c,u,0,s),l&&(We(n.index,t)[8]=c)}}(e,t,n,it(n,t)),128==(128&n.flags)&&function hE(e,t,n){const r=n.directiveStart,i=n.directiveEnd,s=n.index,a=function TC(){return S.lFrame.currentDirectiveIndex}();try{un(s);for(let u=r;u<i;u++){const l=e.data[u],c=t[u];Ca(u),(null!==l.hostBindings||0!==l.hostVars||null!==l.hostAttrs)&&Th(l,c)}}finally{un(-1),Ca(a)}}(e,t,n))}function Du(e,t,n=it){const r=t.localNames;if(null!==r){let i=t.index+1;for(let o=0;o<r.length;o+=2){const s=r[o+1],a=-1===s?n(t,e):e[s];e[i++]=a}}}function _h(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=Vo(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function Vo(e,t,n,r,i,o,s,a,u,l){const c=J+r,d=c+i,f=function iE(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:R);return n}(c,d),h="function"==typeof l?l():l;return f[1]={type:e,blueprint:f,template:n,queries:null,viewQuery:a,declTNode:t,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:u,consts:h,incompleteFirstPass:!1}}function Mh(e,t,n){for(let r in e)if(e.hasOwnProperty(r)){const i=e[r];(n=null===n?{}:n).hasOwnProperty(r)?n[r].push(t,i):n[r]=[t,i]}return n}function Cu(e,t,n,r){let i=!1;if(Fd()){const o=function pE(e,t,n){const r=e.directiveRegistry;let i=null;if(r)for(let o=0;o<r.length;o++){const s=r[o];oh(n,s.selectors,!1)&&(i||(i=[]),bo(Xr(n,t),e,s.type),ht(s)?(Ah(e,n),i.unshift(s)):i.push(s))}return i}(e,t,n),s=null===r?null:{"":-1};if(null!==o){i=!0,xh(n,e.data.length,o.length);for(let c=0;c<o.length;c++){const d=o[c];d.providersResolver&&d.providersResolver(d)}let a=!1,u=!1,l=fr(e,t,o.length,null);for(let c=0;c<o.length;c++){const d=o[c];n.mergedAttrs=_o(n.mergedAttrs,d.hostAttrs),Rh(e,n,t,l,d),mE(l,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)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n.index),a=!0),!u&&(f.ngOnChanges||f.ngDoCheck)&&((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n.index),u=!0),l++}!function sE(e,t){const r=t.directiveEnd,i=e.data,o=t.attrs,s=[];let a=null,u=null;for(let l=t.directiveStart;l<r;l++){const c=i[l],d=c.inputs,f=null===o||ih(t)?null:DE(d,o);s.push(f),a=Mh(d,l,a),u=Mh(c.outputs,l,u)}null!==a&&(a.hasOwnProperty("class")&&(t.flags|=16),a.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=s,t.inputs=a,t.outputs=u}(e,n)}s&&function gE(e,t,n){if(t){const r=e.localNames=[];for(let i=0;i<t.length;i+=2){const o=n[t[i+1]];if(null==o)throw new z(-301,!1);r.push(t[i],o)}}}(n,r,s)}return n.mergedAttrs=_o(n.mergedAttrs,n.attrs),i}function Sh(e,t,n,r,i,o){const s=o.hostBindings;if(s){let a=e.hostBindingOpCodes;null===a&&(a=e.hostBindingOpCodes=[]);const u=~t.index;(function dE(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(a)!=u&&a.push(u),a.push(r,i,s)}}function Th(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Ah(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function mE(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;ht(t)&&(n[""]=e)}}function xh(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Rh(e,t,n,r,i){e.data[r]=i;const o=i.factory||(i.factory=An(i.type)),s=new Jr(o,ht(i),null);e.blueprint[r]=s,n[r]=s,Sh(e,t,0,r,fr(e,n,i.hostVars,R),i)}function yE(e,t,n){const r=it(t,e),i=_h(n),o=e[10],s=Uo(e,yi(e,i,null,n.onPush?64:16,r,t,o,o.createRenderer(r,n),null,null));e[t.index]=s}function vE(e,t,n,r,i,o){const s=o[t];if(null!==s){const a=r.setInput;for(let u=0;u<s.length;){const l=s[u++],c=s[u++],d=s[u++];null!==a?r.setInput(n,d,l,c):n[c]=d}}}function DE(e,t){let n=null,r=0;for(;r<t.length;){const i=t[r];if(0!==i)if(5!==i){if("number"==typeof i)break;e.hasOwnProperty(i)&&(null===n&&(n=[]),n.push(i,e[i],t[r+1])),r+=2}else r+=2;else r+=4}return n}function Ph(e,t,n,r){return new Array(e,!0,!1,t,null,0,r,n,null,null)}function wE(e,t){const n=We(t,e);if(ga(n)){const r=n[1];80&n[2]?hr(r,n,r.template,n[8]):n[5]>0&&wu(n)}}function wu(e){for(let r=Ka(e);null!==r;r=Ja(r))for(let i=10;i<r.length;i++){const o=r[i];if(1024&o[2]){const s=o[1];hr(s,o,s.template,o[8])}else o[5]>0&&wu(o)}const n=e[1].components;if(null!==n)for(let r=0;r<n.length;r++){const i=We(n[r],e);ga(i)&&i[5]>0&&wu(i)}}function EE(e,t){const n=We(t,e),r=n[1];(function bE(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])})(r,n),vi(r,n,n[8])}function Uo(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function Eu(e){for(;e;){e[2]|=64;const t=gi(e);if(iC(e)&&!t)return e;e=t}return null}function Mu(e,t,n){const r=t[10];r.begin&&r.begin();try{hr(e,t,e.template,n)}catch(i){throw Lh(t,i),i}finally{r.end&&r.end()}}function Nh(e){!function bu(e){for(let t=0;t<e.components.length;t++){const n=e.components[t],r=qa(n),i=r[1];rE(i,r,i.template,n)}}(e[8])}function Iu(e,t,n){wa(0),t(e,n)}const TE=(()=>Promise.resolve(null))();function Oh(e){return e[7]||(e[7]=[])}function Fh(e){return e.cleanup||(e.cleanup=[])}function Lh(e,t){const n=e[9],r=n?n.get(pi,null):null;r&&r.handleError(t)}function jh(e,t,n,r,i){for(let o=0;o<n.length;){const s=n[o++],a=n[o++],u=t[s],l=e.data[s];null!==l.setInput?l.setInput(u,i,r,a):u[a]=i}}function Qt(e,t,n){const r=fo(t,e);!function Vf(e,t,n){ne(e)?e.setValue(t,n):t.textContent=n}(e[F],r,n)}function $o(e,t,n){let r=n?e.styles:null,i=n?e.classes:null,o=0;if(null!==t)for(let s=0;s<t.length;s++){const a=t[s];"number"==typeof a?o=a:1==o?i=Js(i,a):2==o&&(r=Js(r,a+": "+t[++s]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=i:e.classesWithoutHost=i}const Su=new V("INJECTOR",-1);class Bh{get(t,n=oi){if(n===oi){const r=new Error(`NullInjectorError: No provider for ${G(t)}!`);throw r.name="NullInjectorError",r}return n}}const Tu=new V("Set Injector scope."),Di={},RE={};let Au;function Hh(){return void 0===Au&&(Au=new Bh),Au}function Vh(e,t=null,n=null,r){const i=Uh(e,t,n,r);return i._resolveInjectorDefTypes(),i}function Uh(e,t=null,n=null,r){return new PE(e,n,t||Hh(),r)}class PE{constructor(t,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&&Tt(n,a=>this.processProvider(a,t,n)),Tt([t],a=>this.processInjectorType(a,[],o)),this.records.set(Su,pr(void 0,this));const s=this.records.get(Tu);this.scope=null!=s?s.value:null,this.source=i||("object"==typeof t?null:G(t))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(t=>t.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(t,n=oi,r=T.Default){this.assertNotDestroyed();const i=df(this),o=rn(void 0);try{if(!(r&T.SkipSelf)){let a=this.records.get(t);if(void 0===a){const u=function HE(e){return"function"==typeof e||"object"==typeof e&&e instanceof V}(t)&&ea(t);a=u&&this.injectableDefInScope(u)?pr(xu(t),Di):null,this.records.set(t,a)}if(null!=a)return this.hydrate(t,a)}return(r&T.Self?Hh():this.parent).get(t,n=r&T.Optional&&n===oi?null:n)}catch(s){if("NullInjectorError"===s.name){if((s[To]=s[To]||[]).unshift(G(t)),i)throw s;return function p_(e,t,n,r){const i=e[To];throw t[cf]&&i.unshift(t[cf]),e.message=function g_(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;let i=G(t);if(Array.isArray(t))i=t.map(G).join(" -> ");else if("object"==typeof t){let o=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];o.push(s+":"+("string"==typeof a?JSON.stringify(a):G(a)))}i=`{${o.join(", ")}}`}return`${n}${r?"("+r+")":""}[${i}]: ${e.replace(u_,"\n ")}`}("\n"+e.message,i,n,r),e.ngTokenPath=i,e[To]=null,e}(s,t,"R3InjectorError",this.source)}throw s}finally{rn(o),df(i)}}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(t=>this.get(t))}toString(){const t=[];return this.records.forEach((r,i)=>t.push(G(i))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new z(205,!1)}processInjectorType(t,n,r){if(!(t=O(t)))return!1;let i=Cd(t);const o=null==i&&t.ngModule||void 0,s=void 0===o?t:o,a=-1!==r.indexOf(s);if(void 0!==o&&(i=Cd(o)),null==i)return!1;if(null!=i.imports&&!a){let c;r.push(s);try{Tt(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];Tt(h,p=>this.processProvider(p,f,h||Z))}}this.injectorDefTypes.add(s);const u=An(s)||(()=>new s);this.records.set(s,pr(u,Di));const l=i.providers;if(null!=l&&!a){const c=t;Tt(l,d=>this.processProvider(d,c,l))}return void 0!==o&&void 0!==t.providers}processProvider(t,n,r){let i=gr(t=O(t))?t:O(t&&t.provide);const o=function OE(e,t,n){return zh(e)?pr(void 0,e.useValue):pr(function $h(e,t,n){let r;if(gr(e)){const i=O(e);return An(i)||xu(i)}if(zh(e))r=()=>O(e.useValue);else if(function kE(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...Fa(e.deps||[]));else if(function FE(e){return!(!e||!e.useExisting)}(e))r=()=>E(O(e.useExisting));else{const i=O(e&&(e.useClass||e.provide));if(!function jE(e){return!!e.deps}(e))return An(i)||xu(i);r=()=>new i(...Fa(e.deps))}return r}(e),Di)}(t);if(gr(t)||!0!==t.multi)this.records.get(i);else{let s=this.records.get(i);s||(s=pr(void 0,Di,!0),s.factory=()=>Fa(s.multi),this.records.set(i,s)),i=t,s.multi.push(t)}this.records.set(i,o)}hydrate(t,n){return n.value===Di&&(n.value=RE,n.value=n.factory()),"object"==typeof n.value&&n.value&&function BE(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this.onDestroy.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=O(t.providedIn);return"string"==typeof n?"any"===n||n===this.scope:this.injectorDefTypes.has(n)}}function xu(e){const t=ea(e),n=null!==t?t.factory:An(e);if(null!==n)return n;if(e instanceof V)throw new z(204,!1);if(e instanceof Function)return function NE(e){const t=e.length;if(t>0)throw function ii(e,t){const n=[];for(let r=0;r<e;r++)n.push(t);return n}(t,"?"),new z(204,!1);const n=function qD(e){const t=e&&(e[io]||e[_d]);if(t){const n=function GD(e){if(e.hasOwnProperty("name"))return e.name;const t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);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.`),t}return null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new z(204,!1)}function pr(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function zh(e){return null!==e&&"object"==typeof e&&c_ in e}function gr(e){return"function"==typeof e}let Oe=(()=>{class e{static create(n,r){var i;if(Array.isArray(n))return Vh({name:""},r,n,"");{const o=null!==(i=n.name)&&void 0!==i?i:"";return Vh({name:o},n.parent,n.providers,o)}}}return e.THROW_IF_NOT_FOUND=oi,e.NULL=new Bh,e.\u0275prov=x({token:e,providedIn:"any",factory:()=>E(Su)}),e.__NG_ELEMENT_ID__=-1,e})();function QE(e,t){yo(qa(e)[1],he())}let zo=null;function mr(){if(!zo){const e=W.Symbol;if(e&&e.iterator)zo=e.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let n=0;n<t.length;++n){const r=t[n];"entries"!==r&&"size"!==r&&Map.prototype[r]===Map.prototype.entries&&(zo=r)}}}return zo}function Ci(e){return!!Ou(e)&&(Array.isArray(e)||!(e instanceof Map)&&mr()in e)}function Ou(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Te(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function qo(e,t,n,r,i){const o=function Pn(e,t,n,r){const i=Te(e,t,n);return Te(e,t+1,r)||i}(e,t,n,r);return Te(e,t+2,i)||o}function vr(e,t,n,r){return Te(e,Yn(),n)?t+A(n)+r:R}function Cr(e,t,n,r,i,o,s,a){const l=qo(e,function qt(){return S.lFrame.bindingIndex}(),n,i,s);return Gt(3),l?t+A(n)+r+A(i)+o+A(s)+a:R}function wi(e,t,n,r,i,o,s,a){const u=y(),l=U(),c=e+J,d=l.firstCreatePass?function ob(e,t,n,r,i,o,s,a,u){const l=t.consts,c=dr(t,e,4,s||null,an(l,a));Cu(t,n,c,an(l,u)),yo(t,c);const d=c.tViews=Vo(2,c,r,i,o,t.directiveRegistry,t.pipeRegistry,null,t.schemas,l);return null!==t.queries&&(t.queries.template(t,c),d.queries=t.queries.embeddedTView(c)),c}(c,l,u,t,n,r,i,o,s):l.data[c];St(d,!1);const f=u[F].createComment("");ko(l,u,f,d),Se(f,u),Uo(u,u[c]=Ph(f,u,f,d)),co(d)&&vu(l,u,d),null!=s&&Du(u,d,a)}function ku(e){return function Jn(e,t){return e[t]}(function MC(){return S.lFrame.contextLView}(),J+e)}function b(e,t=T.Default){const n=y();return null===n?E(e,t):Xd(he(),n,O(e),t)}function Vu(){throw new Error("invalid")}function pn(e,t,n){const r=y();return Te(r,Yn(),t)&&function Ke(e,t,n,r,i,o,s,a){const u=it(t,n);let c,l=t.inputs;!a&&null!=l&&(c=l[r])?(jh(e,n,c,r,i),lo(t)&&function uE(e,t){const n=We(t,e);16&n[2]||(n[2]|=64)}(n,t.index)):3&t.type&&(r=function aE(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),i=null!=s?s(i,t.value||"",r):i,ne(o)?o.setProperty(u,r,i):Ma(r)||(u.setProperty?u.setProperty(r,i):u[r]=i))}(U(),function re(){const e=S.lFrame;return pa(e.tView,e.selectedIndex)}(),r,e,t,r[F],n,!1),pn}function Uu(e,t,n,r,i){const s=i?"class":"style";jh(e,n,t.inputs[s],s,r)}function Fe(e,t,n,r){const i=y(),o=U(),s=J+e,a=i[F],u=i[s]=Xa(a,t,function kC(){return S.lFrame.currentNamespace}()),l=o.firstCreatePass?function Ib(e,t,n,r,i,o,s){const a=t.consts,l=dr(t,e,2,i,an(a,o));return Cu(t,n,l,an(a,s)),null!==l.attrs&&$o(l,l.attrs,!1),null!==l.mergedAttrs&&$o(l,l.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,l),l}(s,o,i,0,t,n,r):o.data[s];St(l,!0);const c=l.mergedAttrs;null!==c&&Co(a,u,c);const d=l.classes;null!==d&&ou(a,u,d);const f=l.styles;return null!==f&&th(a,u,f),64!=(64&l.flags)&&ko(o,i,u,l),0===function CC(){return S.lFrame.elementDepthCount}()&&Se(u,i),function _C(){S.lFrame.elementDepthCount++}(),co(l)&&(vu(o,i,l),function Ch(e,t,n){if(aa(t)){const i=t.directiveEnd;for(let o=t.directiveStart;o<i;o++){const s=e.data[o];s.contentQueries&&s.contentQueries(1,n[o],o)}}}(o,l,i)),null!==r&&Du(i,l),Fe}function Ae(){let e=he();va()?function Da(){S.lFrame.isParent=!1}():(e=e.parent,St(e,!1));const t=e;!function wC(){S.lFrame.elementDepthCount--}();const n=U();return n.firstCreatePass&&(yo(n,e),aa(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function VC(e){return 0!=(16&e.flags)}(t)&&Uu(n,t,y(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function UC(e){return 0!=(32&e.flags)}(t)&&Uu(n,t,y(),t.stylesWithoutHost,!1),Ae}function Sr(e,t,n,r){return Fe(e,t,n,r),Ae(),Sr}function qu(){return y()}function Wo(e){return!!e&&"function"==typeof e.then}const Mp=function bp(e){return!!e&&"function"==typeof e.subscribe};function Tr(e,t,n,r){const i=y(),o=U(),s=he();return function Sp(e,t,n,r,i,o,s,a){const u=co(r),c=e.firstCreatePass&&Fh(e),d=t[8],f=Oh(t);let h=!0;if(3&r.type||a){const D=it(r,t),v=a?a(D):D,g=f.length,w=a?N=>a(ue(N[r.index])):r.index;if(ne(n)){let N=null;if(!a&&u&&(N=function Tb(e,t,n,r){const i=e.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=t[7],u=i[o+2];return a.length>u?a[u]:null}"string"==typeof s&&(o+=2)}return null}(e,t,i,r.index)),null!==N)(N.__ngLastListenerFn__||N).__ngNextListenerFn__=o,N.__ngLastListenerFn__=o,h=!1;else{o=Gu(r,t,d,o,!1);const $=n.listen(v,i,o);f.push(o,$),c&&c.push(i,w,g,g+1)}}else o=Gu(r,t,d,o,!0),v.addEventListener(i,o,s),f.push(o),c&&c.push(i,w,g,s)}else o=Gu(r,t,d,o,!1);const p=r.outputs;let m;if(h&&null!==p&&(m=p[i])){const D=m.length;if(D)for(let v=0;v<D;v+=2){const Xe=t[m[v]][m[v+1]].subscribe(o),zn=f.length;f.push(o,Xe),c&&c.push(i,r.index,zn,-(zn+1))}}}(o,i,i[F],s,e,t,!!n,r),Tr}function Tp(e,t,n,r){try{return!1!==n(r)}catch(i){return Lh(e,i),!1}}function Gu(e,t,n,r,i){return function o(s){if(s===Function)return r;const a=2&e.flags?We(e.index,t):t;0==(32&t[2])&&Eu(a);let u=Tp(t,0,r,s),l=o.__ngNextListenerFn__;for(;l;)u=Tp(t,0,l,s)&&u,l=l.__ngNextListenerFn__;return i&&!1===u&&(s.preventDefault(),s.returnValue=!1),u}}function Ar(e=1){return function xC(e){return(S.lFrame.contextLView=function RC(e,t){for(;e>0;)t=t[15],e--;return t}(e,S.lFrame.contextLView))[8]}(e)}function jp(e,t,n,r,i){const o=e[n+1],s=null===t;let a=r?gt(o):Wt(o),u=!1;for(;0!==a&&(!1===u||s);){const c=e[a+1];Ob(e[a],t)&&(u=!0,e[a+1]=r?uu(c):su(c)),a=r?gt(c):Wt(c)}u&&(e[n+1]=r?su(o):uu(o))}function Ob(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&sr(e,t)>=0}const ge={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Bp(e){return e.substring(ge.key,ge.keyEnd)}function Hp(e,t){const n=ge.textEnd;return n===t?-1:(t=ge.keyEnd=function jb(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,ge.key=t,n),xr(e,t,n))}function xr(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function Ot(e,t){for(let n=function kb(e){return function Up(e){ge.key=0,ge.keyEnd=0,ge.value=0,ge.valueEnd=0,ge.textEnd=e.length}(e),Hp(e,xr(e,0,ge.textEnd))}(t);n>=0;n=Hp(t,n))Qe(e,Bp(t),!0)}function vt(e,t,n,r){const i=U(),o=Gt(2);i.firstUpdatePass&&function Qp(e,t,n,r){const i=e.data;if(null===i[n+1]){const o=i[Pe()],s=Wp(e,n);Yp(o,r)&&null===t&&!s&&(t=!1),t=function $b(e,t,n,r){const i=function _a(e){const t=S.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let o=r?t.residualClasses:t.residualStyles;if(null===i)0===(r?t.classBindings:t.styleBindings)&&(n=Ei(n=Qu(null,e,t,n,r),t.attrs,r),o=null);else{const s=t.directiveStylingLast;if(-1===s||e[s]!==i)if(n=Qu(i,e,t,n,r),null===o){let u=function zb(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==Wt(r))return e[gt(r)]}(e,t,r);void 0!==u&&Array.isArray(u)&&(u=Qu(null,e,t,u[1],r),u=Ei(u,t.attrs,r),function qb(e,t,n,r){e[gt(n?t.classBindings:t.styleBindings)]=r}(e,t,r,u))}else o=function Gb(e,t,n){let r;const i=t.directiveEnd;for(let o=1+t.directiveStylingLast;o<i;o++)r=Ei(r,e[o].hostAttrs,n);return Ei(r,t.attrs,n)}(e,t,r)}return void 0!==o&&(r?t.residualClasses=o:t.residualStyles=o),n}(i,o,t,r),function Pb(e,t,n,r,i,o){let s=o?t.classBindings:t.styleBindings,a=gt(s),u=Wt(s);e[r]=n;let c,l=!1;if(Array.isArray(n)){const d=n;c=d[1],(null===c||sr(d,c)>0)&&(l=!0)}else c=n;if(i)if(0!==u){const f=gt(e[a+1]);e[r+1]=jo(f,a),0!==f&&(e[f+1]=au(e[f+1],r)),e[a+1]=function zw(e,t){return 131071&e|t<<17}(e[a+1],r)}else e[r+1]=jo(a,0),0!==a&&(e[a+1]=au(e[a+1],r)),a=r;else e[r+1]=jo(u,0),0===a?a=r:e[u+1]=au(e[u+1],r),u=r;l&&(e[r+1]=su(e[r+1])),jp(e,c,r,!0),jp(e,c,r,!1),function Nb(e,t,n,r,i){const o=i?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof t&&sr(o,t)>=0&&(n[r+1]=uu(n[r+1]))}(t,c,e,r,o),s=jo(a,u),o?t.classBindings=s:t.styleBindings=s}(i,o,t,n,s,r)}}(i,null,o,r);const s=y();if(n!==R&&Te(s,o,n)){const a=i.data[Pe()];if(Yp(a,r)&&!Wp(i,o)){let u=r?a.classesWithoutHost:a.stylesWithoutHost;null!==u&&(n=Js(u,n||"")),Uu(i,a,s,n,r)}else!function Qb(e,t,n,r,i,o,s,a){i===R&&(i=Z);let u=0,l=0,c=0<i.length?i[0]:null,d=0<o.length?o[0]:null;for(;null!==c||null!==d;){const f=u<i.length?i[u+1]:void 0,h=l<o.length?o[l+1]:void 0;let m,p=null;c===d?(u+=2,l+=2,f!==h&&(p=d,m=h)):null===d||null!==c&&c<d?(u+=2,p=c):(l+=2,p=d,m=h),null!==p&&Kp(e,t,n,r,p,m,s,a),c=u<i.length?i[u]:null,d=l<o.length?o[l]:null}}(i,a,s,s[F],s[o+1],s[o+1]=function Wb(e,t,n){if(null==n||""===n)return Z;const r=[],i=dn(n);if(Array.isArray(i))for(let o=0;o<i.length;o++)e(r,i[o],!0);else if("object"==typeof i)for(const o in i)i.hasOwnProperty(o)&&e(r,o,i[o]);else"string"==typeof i&&t(r,i);return r}(e,t,n),r,o)}}function Wp(e,t){return t>=e.expandoStartIndex}function Qu(e,t,n,r,i){let o=null;const s=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a<s&&(o=t[a],r=Ei(r,o.hostAttrs,i),o!==e);)a++;return null!==e&&(n.directiveStylingLast=a),r}function Ei(e,t,n){const r=n?1:2;let i=-1;if(null!==t)for(let o=0;o<t.length;o++){const s=t[o];"number"==typeof s?i=s:i===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),Qe(e,s,!!n||t[++o]))}return void 0===e?null:e}function Kp(e,t,n,r,i,o,s,a){if(!(3&t.type))return;const u=e.data,l=u[a+1];Qo(function ch(e){return 1==(1&e)}(l)?Jp(u,t,n,i,Wt(l),s):void 0)||(Qo(o)||function lh(e){return 2==(2&e)}(l)&&(o=Jp(u,null,n,i,a,s)),function Pw(e,t,n,r,i){const o=ne(e);if(t)i?o?e.addClass(n,r):n.classList.add(r):o?e.removeClass(n,r):n.classList.remove(r);else{let s=-1===r.indexOf("-")?void 0:Ze.DashCase;if(null==i)o?e.removeStyle(n,r,s):n.style.removeProperty(r);else{const a="string"==typeof i&&i.endsWith("!important");a&&(i=i.slice(0,-10),s|=Ze.Important),o?e.setStyle(n,r,i,s):n.style.setProperty(r,i,a?"important":"")}}}(r,s,fo(Pe(),n),i,o))}function Jp(e,t,n,r,i,o){const s=null===t;let a;for(;i>0;){const u=e[i],l=Array.isArray(u),c=l?u[1]:u,d=null===c;let f=n[i+1];f===R&&(f=d?Z:void 0);let h=d?Pa(f,r):c===r?f:void 0;if(l&&!Qo(h)&&(h=Pa(u,r)),Qo(h)&&(a=h,s))return a;const p=e[i+1];i=s?gt(p):Wt(p)}if(null!==t){let u=o?t.residualClasses:t.residualStyles;null!=u&&(a=Pa(u,r))}return a}function Qo(e){return void 0!==e}function Yp(e,t){return 0!=(e.flags&(t?16:32))}function Ft(e,t=""){const n=y(),r=U(),i=e+J,o=r.firstCreatePass?dr(r,i,1,t,null):r.data[i],s=n[i]=function Ya(e,t){return ne(e)?e.createText(t):e.createTextNode(t)}(n[F],t);ko(r,n,s,o),St(o,!1)}function Zu(e){return Ku("",e,""),Zu}function Ku(e,t,n){const r=y(),i=vr(r,e,t,n);return i!==R&&Qt(r,Pe(),i),Ku}function Ju(e,t,n,r,i,o,s){const a=y(),u=Cr(a,e,t,n,r,i,o,s);return u!==R&&Qt(a,Pe(),u),Ju}function Nn(e,t,n){vt(Qe,Ot,vr(y(),e,t,n),!0)}const Zo="en-US";let Dg=Zo;class zg{}class vM{resolveComponentFactory(t){throw function yM(e){const t=Error(`No component factory found for ${G(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let Ti=(()=>{class e{}return e.NULL=new vM,e})();function DM(){return Nr(he(),y())}function Nr(e,t){return new gn(it(e,t))}let gn=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=DM,e})();class Gg{}let es=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function wM(){const e=y(),n=We(he().index,e);return function _M(e){return e[F]}(It(n)?n:e)}(),e})(),EM=(()=>{class e{}return e.\u0275prov=x({token:e,providedIn:"root",factory:()=>null}),e})();class ts{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const bM=new ts("13.3.0"),il={};function ns(e,t,n,r,i=!1){for(;null!==n;){const o=t[n.index];if(null!==o&&r.push(ue(o)),ft(o))for(let a=10;a<o.length;a++){const u=o[a],l=u[1].firstChild;null!==l&&ns(u[1],u,l,r)}const s=n.type;if(8&s)ns(e,t,n.child,r);else if(32&s){const a=Za(n,t);let u;for(;u=a();)r.push(u)}else if(16&s){const a=Yf(t,n);if(Array.isArray(a))r.push(...a);else{const u=gi(t[16]);ns(u[1],u,a,r,!0)}}n=i?n.projectionNext:n.next}return r}class Ai{constructor(t,n){this._lView=t,this._cdRefInjectingView=n,this._appRef=null,this._attachedToViewContainer=!1}get rootNodes(){const t=this._lView,n=t[1];return ns(n,t,n.firstChild,[])}get context(){return this._lView[8]}set context(t){this._lView[8]=t}get destroyed(){return 256==(256&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[3];if(ft(t)){const n=t[8],r=n?n.indexOf(this):-1;r>-1&&(eu(t,r),Io(n,r))}this._attachedToViewContainer=!1}$f(this._lView[1],this._lView)}onDestroy(t){!function bh(e,t,n,r){const i=Oh(t);null===n?i.push(r):(i.push(n),e.firstCreatePass&&Fh(e).push(r,i.length-1))}(this._lView[1],this._lView,null,t)}markForCheck(){Eu(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){Mu(this._lView[1],this._lView,this.context)}checkNoChanges(){!function IE(e,t,n){po(!0);try{Mu(e,t,n)}finally{po(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(){if(this._appRef)throw new z(902,"");this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function ww(e,t){mi(e,t,t[F],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new z(902,"");this._appRef=t}}class MM extends Ai{constructor(t){super(t),this._view=t}detectChanges(){Nh(this._view)}checkNoChanges(){!function SE(e){po(!0);try{Nh(e)}finally{po(!1)}}(this._view)}get context(){return null}}class Wg extends Ti{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=Me(t);return new ol(n,this.ngModule)}}function Qg(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class ol extends zg{constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function Uw(e){return e.map(Vw).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}get inputs(){return Qg(this.componentDef.inputs)}get outputs(){return Qg(this.componentDef.outputs)}create(t,n,r,i){const o=(i=i||this.ngModule)?function SM(e,t){return{get:(n,r,i)=>{const o=e.get(n,il,i);return o!==il||r===il?o:t.get(n,r,i)}}}(t,i.injector):t,s=o.get(Gg,Pd),a=o.get(EM,null),u=s.createRenderer(null,this.componentDef),l=this.componentDef.selectors[0][0]||"div",c=r?function Eh(e,t,n){if(ne(e))return e.selectRootElement(t,n===Mt.ShadowDom);let r="string"==typeof t?e.querySelector(t):t;return r.textContent="",r}(u,r,this.componentDef.encapsulation):Xa(s.createRenderer(null,this.componentDef),l,function IM(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(l)),d=this.componentDef.onPush?576:528,f=function tp(e,t){return{components:[],scheduler:e||pw,clean:TE,playerHandler:t||null,flags:0}}(),h=Vo(0,null,null,1,0,null,null,null,null,null),p=yi(null,h,f,d,null,null,s,u,a,o);let m,D;go(p);try{const v=function Xh(e,t,n,r,i,o){const s=n[1];n[20]=e;const u=dr(s,20,2,"#host",null),l=u.mergedAttrs=t.hostAttrs;null!==l&&($o(u,l,!0),null!==e&&(Co(i,e,l),null!==u.classes&&ou(i,e,u.classes),null!==u.styles&&th(i,e,u.styles)));const c=r.createRenderer(e,t),d=yi(n,_h(t),null,t.onPush?64:16,n[20],u,r,c,o||null,null);return s.firstCreatePass&&(bo(Xr(u,n),s,t.type),Ah(s,u),xh(u,n.length,1)),Uo(n,d),n[20]=d}(c,this.componentDef,p,s,u);if(c)if(r)Co(u,c,["ng-version",bM.full]);else{const{attrs:g,classes:w}=function $w(e){const t=[],n=[];let r=1,i=2;for(;r<e.length;){let o=e[r];if("string"==typeof o)2===i?""!==o&&t.push(o,e[++r]):8===i&&n.push(o);else{if(!pt(i))break;i=o}r++}return{attrs:t,classes:n}}(this.componentDef.selectors[0]);g&&Co(u,c,g),w&&w.length>0&&ou(u,c,w.join(" "))}if(D=pa(h,J),void 0!==n){const g=D.projection=[];for(let w=0;w<this.ngContentSelectors.length;w++){const N=n[w];g.push(null!=N?Array.from(N):null)}}m=function ep(e,t,n,r,i){const o=n[1],s=function cE(e,t,n){const r=he();e.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),Rh(e,r,t,fr(e,t,1,null),n));const i=ei(t,e,r.directiveStart,r);Se(i,t);const o=it(r,t);return o&&Se(o,t),i}(o,n,t);if(r.components.push(s),e[8]=s,i&&i.forEach(u=>u(s,t)),t.contentQueries){const u=he();t.contentQueries(1,s,u.directiveStart)}const a=he();return!o.firstCreatePass||null===t.hostBindings&&null===t.hostAttrs||(un(a.index),Sh(n[1],a,0,a.directiveStart,a.directiveEnd,t),Th(t,s)),s}(v,this.componentDef,p,f,[QE]),vi(h,p,null)}finally{mo()}return new AM(this.componentType,m,Nr(D,p),p,D)}}class AM extends class mM{}{constructor(t,n,r,i,o){super(),this.location=r,this._rootLView=i,this._tNode=o,this.instance=n,this.hostView=this.changeDetectorRef=new MM(i),this.componentType=t}get injector(){return new tr(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}class Zt{}class Zg{}const Or=new Map;class Yg extends Zt{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new Wg(this);const r=tt(t);this._bootstrapComponents=xt(r.bootstrap),this._r3Injector=Uh(t,n,[{provide:Zt,useValue:this},{provide:Ti,useValue:this.componentFactoryResolver}],G(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,n=Oe.THROW_IF_NOT_FOUND,r=T.Default){return t===Oe||t===Zt||t===Su?this:this._r3Injector.get(t,n,r)}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class sl extends Zg{constructor(t){super(),this.moduleType=t,null!==tt(t)&&function RM(e){const t=new Set;!function n(r){const i=tt(r,!0),o=i.id;null!==o&&(function Kg(e,t,n){if(t&&t!==n)throw new Error(`Duplicate module registered for ${e} - ${G(t)} vs ${G(t.name)}`)}(o,Or.get(o),r),Or.set(o,r));const s=xt(i.imports);for(const a of s)t.has(a)||(t.add(a),n(a))}(e)}(t)}create(t){return new Yg(this.moduleType,t)}}function Xg(e,t,n,r){return function em(e,t,n,r,i,o){const s=t+n;return Te(e,s,i)?function Pt(e,t,n){return e[t]=n}(e,s+1,o?r.call(o,i):r(i)):function xi(e,t){const n=e[t];return n===R?void 0:n}(e,s+1)}(y(),function Re(){const e=S.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}(),e,t,n,r)}function al(e){return t=>{setTimeout(e,void 0,t)}}const Le=class QM extends jt{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){var i,o,s;let a=t,u=n||(()=>null),l=r;if(t&&"object"==typeof t){const d=t;a=null===(i=d.next)||void 0===i?void 0:i.bind(d),u=null===(o=d.error)||void 0===o?void 0:o.bind(d),l=null===(s=d.complete)||void 0===s?void 0:s.bind(d)}this.__isAsync&&(u=al(u),a&&(a=al(a)),l&&(l=al(l)));const c=super.subscribe({next:a,error:u,complete:l});return t instanceof et&&t.add(c),c}};Symbol;let Kt=(()=>{class e{}return e.__NG_ELEMENT_ID__=YM,e})();const KM=Kt,JM=class extends KM{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}createEmbeddedView(t){const n=this._declarationTContainer.tViews,r=yi(this._declarationLView,n,t,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)),vi(n,r,t),new Ai(r)}};function YM(){return function rs(e,t){return 4&e.type?new JM(t,e,Nr(e,t)):null}(he(),y())}let Dt=(()=>{class e{}return e.__NG_ELEMENT_ID__=XM,e})();function XM(){return function am(e,t){let n;const r=t[e.index];if(ft(r))n=r;else{let i;if(8&e.type)i=ue(r);else{const o=t[F];i=o.createComment("");const s=it(e,t);Rn(o,Fo(o,s),i,function Aw(e,t){return ne(e)?e.nextSibling(t):t.nextSibling}(o,s),!1)}t[e.index]=n=Ph(r,t,i,e),Uo(t,n)}return new om(n,e,t)}(he(),y())}const eI=Dt,om=class extends eI{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Nr(this._hostTNode,this._hostLView)}get injector(){return new tr(this._hostTNode,this._hostLView)}get parentInjector(){const t=Eo(this._hostTNode,this._hostLView);if(Qd(t)){const n=er(t,this._hostLView),r=Xn(t);return new tr(n[1].data[r+8],n)}return new tr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=sm(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,n,r){const i=t.createEmbeddedView(n||{});return this.insert(i,r),i}createComponent(t,n,r,i,o){const s=t&&!function ri(e){return"function"==typeof e}(t);let a;if(s)a=n;else{const d=n||{};a=d.index,r=d.injector,i=d.projectableNodes,o=d.ngModuleRef}const u=s?t:new ol(Me(t)),l=r||this.parentInjector;if(!o&&null==u.ngModule){const f=(s?l:this.parentInjector).get(Zt,null);f&&(o=f)}const c=u.create(l,i,void 0,o);return this.insert(c.hostView,a),c}insert(t,n){const r=t._lView,i=r[1];if(function DC(e){return ft(e[3])}(r)){const c=this.indexOf(t);if(-1!==c)this.detach(c);else{const d=r[3],f=new om(d,d[6],d[3]);f.detach(f.indexOf(t))}}const o=this._adjustIndex(n),s=this._lContainer;!function bw(e,t,n,r){const i=10+r,o=n.length;r>0&&(n[i-1][4]=t),r<o-10?(t[4]=n[i],of(n,10+r,t)):(n.push(t),t[4]=null),t[3]=n;const s=t[17];null!==s&&n!==s&&function Mw(e,t){const n=e[9];t[16]!==t[3][3][16]&&(e[2]=!0),null===n?e[9]=[t]:n.push(t)}(s,t);const a=t[19];null!==a&&a.insertView(e),t[2]|=128}(i,r,s,o);const a=ru(o,s),u=r[F],l=Fo(u,s[7]);return null!==l&&function _w(e,t,n,r,i,o){r[0]=i,r[6]=t,mi(e,r,n,1,i,o)}(i,s[6],u,r,l,a),t.attachToViewContainerRef(),of(ll(s),o,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=sm(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=eu(this._lContainer,n);r&&(Io(ll(this._lContainer),n),$f(r[1],r))}detach(t){const n=this._adjustIndex(t,-1),r=eu(this._lContainer,n);return r&&null!=Io(ll(this._lContainer),n)?new Ai(r):null}_adjustIndex(t,n=0){return null==t?this.length+n:t}};function sm(e){return e[8]}function ll(e){return e[8]||(e[8]=[])}function ss(...e){}const El=new V("Application Initializer");let bl=(()=>{class e{constructor(n){this.appInits=n,this.resolve=ss,this.reject=ss,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(Wo(o))n.push(o);else if(Mp(o)){const s=new Promise((a,u)=>{o.subscribe({complete:a,error:u})});n.push(s)}}Promise.all(n).then(()=>{r()}).catch(i=>{this.reject(i)}),0===n.length&&r(),this.initialized=!0}}return e.\u0275fac=function(n){return new(n||e)(E(El,8))},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Ni=new V("AppId",{providedIn:"root",factory:function Am(){return`${Ml()}${Ml()}${Ml()}`}});function Ml(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const xm=new V("Platform Initializer"),as=new V("Platform ID"),Rm=new V("appBootstrapListener");let Pm=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=x({token:e,factory:e.\u0275fac}),e})();const mn=new V("LocaleId",{providedIn:"root",factory:()=>f_(mn,T.Optional|T.SkipSelf)||function SI(){return"undefined"!=typeof $localize&&$localize.locale||Zo}()});class AI{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let Nm=(()=>{class e{compileModuleSync(n){return new sl(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),o=xt(tt(n).declarations).reduce((s,a)=>{const u=Me(a);return u&&s.push(new ol(u)),s},[]);return new AI(r,o)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const RI=(()=>Promise.resolve(0))();function Il(e){"undefined"==typeof Zone?RI.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class we{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Le(!1),this.onMicrotaskEmpty=new Le(!1),this.onStable=new Le(!1),this.onError=new Le(!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)),t&&Zone.longStackTraceZoneSpec&&(i._inner=i._inner.fork(Zone.longStackTraceZoneSpec)),i.shouldCoalesceEventChangeDetection=!r&&n,i.shouldCoalesceRunChangeDetection=r,i.lastRequestAnimationFrameId=-1,i.nativeRequestAnimationFrame=function PI(){let e=W.requestAnimationFrame,t=W.cancelAnimationFrame;if("undefined"!=typeof Zone&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function FI(e){const t=()=>{!function OI(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(W,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Tl(e),e.isCheckStableRunning=!0,Sl(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Tl(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,i,o,s,a)=>{try{return Om(e),n.invokeTask(i,o,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||e.shouldCoalesceRunChangeDetection)&&t(),Fm(e)}},onInvoke:(n,r,i,o,s,a,u)=>{try{return Om(e),n.invoke(i,o,s,a,u)}finally{e.shouldCoalesceRunChangeDetection&&t(),Fm(e)}},onHasTask:(n,r,i,o)=>{n.hasTask(i,o),r===i&&("microTask"==o.change?(e._hasPendingMicrotasks=o.microTask,Tl(e),Sl(e)):"macroTask"==o.change&&(e.hasPendingMacrotasks=o.macroTask))},onHandleError:(n,r,i,o)=>(n.handleError(i,o),e.runOutsideAngular(()=>e.onError.emit(o)),!1)})}(i)}static isInAngularZone(){return"undefined"!=typeof Zone&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!we.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(we.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,i){const o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+i,t,NI,ss,ss);try{return o.runTask(s,n,r)}finally{o.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const NI={};function Sl(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function Tl(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Om(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Fm(e){e._nesting--,Sl(e)}class kI{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Le,this.onMicrotaskEmpty=new Le,this.onStable=new Le,this.onError=new Le}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,i){return t.apply(n,r)}}let Al=(()=>{class e{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:()=>{we.assertNotInAngularZone(),Il(()=>{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())Il(()=>{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 e.\u0275fac=function(n){return new(n||e)(E(we))},e.\u0275prov=x({token:e,factory:e.\u0275fac}),e})(),km=(()=>{class e{constructor(){this._applications=new Map,xl.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 xl.findTestabilityInTree(this,n,r)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=x({token:e,factory:e.\u0275fac}),e})();class LI{addToWindow(t){}findTestabilityInTree(t,n,r){return null}}let Ct,xl=new LI;const Lm=new V("AllowMultipleToken");class jm{constructor(t,n){this.name=t,this.token=n}}function Bm(e,t,n=[]){const r=`Platform: ${t}`,i=new V(r);return(o=[])=>{let s=Hm();if(!s||s.injector.get(Lm,!1))if(e)e(n.concat(o).concat({provide:i,useValue:!0}));else{const a=n.concat(o).concat({provide:i,useValue:!0},{provide:Tu,useValue:"platform"});!function VI(e){if(Ct&&!Ct.destroyed&&!Ct.injector.get(Lm,!1))throw new z(400,"");Ct=e.get(Vm);const t=e.get(xm,null);t&&t.forEach(n=>n())}(Oe.create({providers:a,name:r}))}return function UI(e){const t=Hm();if(!t)throw new z(401,"");return t}()}}function Hm(){return Ct&&!Ct.destroyed?Ct:null}let Vm=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const a=function $I(e,t){let n;return n="noop"===e?new kI:("zone.js"===e?void 0:e)||new we({enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!!(null==t?void 0:t.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==t?void 0:t.ngZoneRunCoalescing)}),n}(r?r.ngZone:void 0,{ngZoneEventCoalescing:r&&r.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:r&&r.ngZoneRunCoalescing||!1}),u=[{provide:we,useValue:a}];return a.run(()=>{const l=Oe.create({providers:u,parent:this.injector,name:n.moduleType.name}),c=n.create(l),d=c.injector.get(pi,null);if(!d)throw new z(402,"");return a.runOutsideAngular(()=>{const f=a.onError.subscribe({next:h=>{d.handleError(h)}});c.onDestroy(()=>{Pl(this._modules,c),f.unsubscribe()})}),function zI(e,t,n){try{const r=n();return Wo(r)?r.catch(i=>{throw t.runOutsideAngular(()=>e.handleError(i)),i}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(d,a,()=>{const f=c.injector.get(bl);return f.runInitializers(),f.donePromise.then(()=>(function C0(e){qe(e,"Expected localeId to be defined"),"string"==typeof e&&(Dg=e.toLowerCase().replace(/_/g,"-"))}(c.injector.get(mn,Zo)||Zo),this._moduleDoBootstrap(c),c))})})}bootstrapModule(n,r=[]){const i=Um({},r);return function BI(e,t,n){const r=new sl(n);return Promise.resolve(r)}(0,0,n).then(o=>this.bootstrapModuleFactory(o,i))}_moduleDoBootstrap(n){const r=n.injector.get(Rl);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(i=>r.bootstrap(i));else{if(!n.instance.ngDoBootstrap)throw new z(403,"");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 z(404,"");this._modules.slice().forEach(n=>n.destroy()),this._destroyListeners.forEach(n=>n()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(n){return new(n||e)(E(Oe))},e.\u0275prov=x({token:e,factory:e.\u0275fac}),e})();function Um(e,t){return Array.isArray(t)?t.reduce(Um,e):Object.assign(Object.assign({},e),t)}let Rl=(()=>{class e{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 ae(l=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{l.next(this._stable),l.complete()})}),u=new ae(l=>{let c;this._zone.runOutsideAngular(()=>{c=this._zone.onStable.subscribe(()=>{we.assertNotInAngularZone(),Il(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,l.next(!0))})})});const d=this._zone.onUnstable.subscribe(()=>{we.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{l.next(!1)}))});return()=>{c.unsubscribe(),d.unsubscribe()}});this.isStable=function jD(...e){const t=qr(e),n=function RD(e,t){return"number"==typeof Qs(e)?e.pop():t}(e,1/0),r=e;return r.length?1===r.length?Bt(r[0]):zr(n)(_e(r,t)):Vt}(a,u.pipe(function BD(e={}){const{connector:t=(()=>new jt),resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:i=!0}=e;return o=>{let s=null,a=null,u=null,l=0,c=!1,d=!1;const f=()=>{null==a||a.unsubscribe(),a=null},h=()=>{f(),s=u=null,c=d=!1},p=()=>{const m=s;h(),null==m||m.unsubscribe()};return De((m,D)=>{l++,!d&&!c&&f();const v=u=null!=u?u:t();D.add(()=>{l--,0===l&&!d&&!c&&(a=Zs(p,i))}),v.subscribe(D),s||(s=new eo({next:g=>v.next(g),error:g=>{d=!0,f(),a=Zs(h,n,g),v.error(g)},complete:()=>{c=!0,f(),a=Zs(h,r),v.complete()}}),_e(m).subscribe(s))})(o)}}()))}bootstrap(n,r){if(!this._initStatus.done)throw new z(405,"");let i;i=n instanceof zg?n:this._componentFactoryResolver.resolveComponentFactory(n),this.componentTypes.push(i.componentType);const o=function HI(e){return e.isBoundToModule}(i)?void 0:this._injector.get(Zt),a=i.create(Oe.NULL,[],r||i.selector,o),u=a.location.nativeElement,l=a.injector.get(Al,null),c=l&&a.injector.get(km);return l&&c&&c.registerApplication(u,l),a.onDestroy(()=>{this.detachView(a.hostView),Pl(this.components,a),c&&c.unregisterApplication(u)}),this._loadComponent(a),a}tick(){if(this._runningTick)throw new z(101,"");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;Pl(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(Rm,[]).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 e.\u0275fac=function(n){return new(n||e)(E(we),E(Oe),E(pi),E(Ti),E(bl))},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function Pl(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}let zm=!0,Nl=(()=>{class e{}return e.__NG_ELEMENT_ID__=WI,e})();function WI(e){return function QI(e,t,n){if(lo(e)&&!n){const r=We(e.index,t);return new Ai(r,r)}return 47&e.type?new Ai(t[16],t):null}(he(),y(),16==(16&e))}class Zm{constructor(){}supports(t){return Ci(t)}create(t){return new eS(t)}}const XI=(e,t)=>t;class eS{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||XI}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,i=0,o=null;for(;n||r;){const s=!r||n&&n.currentIndex<Jm(r,i,o)?n:r,a=Jm(s,i,o),u=s.currentIndex;if(s===r)i--,r=r._nextRemoved;else if(n=n._next,null==s.previousIndex)i++;else{o||(o=[]);const l=a-i,c=u-i;if(l!=c){for(let f=0;f<l;f++){const h=f<o.length?o[f]:o[f]=0,p=h+f;c<=p&&p<l&&(o[f]=h+1)}o[s.previousIndex]=c-l}}a!==u&&t(s,a,u)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;null!==n;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;null!==n;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;null!==n;n=n._nextIdentityChange)t(n)}diff(t){if(null==t&&(t=[]),!Ci(t))throw new z(900,"");return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let i,o,s,n=this._itHead,r=!1;if(Array.isArray(t)){this.length=t.length;for(let a=0;a<this.length;a++)o=t[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 ib(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[mr()]();let r;for(;!(r=n.next()).done;)t(r.value)}}(t,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=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,i){let o;return null===t?o=this._itTail:(o=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,o,i)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,i))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,o,i)):t=this._addAfter(new tS(n,r),o,i),t}_verifyReinsertion(t,n,r,i){let o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==o?t=this._reinsertAfter(o,t._prev,i):t.currentIndex!=i&&(t.currentIndex=i,this._addToMoves(t,i)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=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(t,n,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const i=t._prevRemoved,o=t._nextRemoved;return null===i?this._removalsHead=o:i._nextRemoved=o,null===o?this._removalsTail=i:o._prevRemoved=i,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){const i=null===n?this._itHead:n._next;return t._next=i,t._prev=n,null===i?this._itTail=t:i._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new Km),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,r=t._next;return null===n?this._itHead=r:n._next=r,null===r?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Km),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class tS{constructor(t,n){this.item=t,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 nS{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===n||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){const n=t._prevDup,r=t._nextDup;return null===n?this._head=r:n._nextDup=r,null===r?this._tail=n:r._prevDup=n,null===this._head}}class Km{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new nS,this.map.set(n,r)),r.add(t)}get(t,n){const i=this.map.get(t);return i?i.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Jm(e,t,n){const r=e.previousIndex;if(null===r)return r;let i=0;return n&&r<n.length&&(i=n[r]),r+t+i}class Ym{constructor(){}supports(t){return t instanceof Map||Ou(t)}create(){return new rS}}class rS{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(t){let n;for(n=this._mapHead;null!==n;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;null!==n;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;null!==n;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}diff(t){if(t){if(!(t instanceof Map||Ou(t)))throw new z(900,"")}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(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(t,n){if(t){const r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){const i=this._records.get(t);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 iS(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(r=>n(t[r],r))}}class iS{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function Xm(){return new cs([new Zm])}let cs=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(null!=r){const i=r.factories.slice();n=n.concat(i)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Xm()),deps:[[e,new ui,new cn]]}}find(n){const r=this.factories.find(i=>i.supports(n));if(null!=r)return r;throw new z(901,"")}}return e.\u0275prov=x({token:e,providedIn:"root",factory:Xm}),e})();function ey(){return new Oi([new Ym])}let Oi=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(r){const i=r.factories.slice();n=n.concat(i)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||ey()),deps:[[e,new ui,new cn]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(r)return r;throw new z(901,"")}}return e.\u0275prov=x({token:e,providedIn:"root",factory:ey}),e})();const aS=Bm(null,"core",[{provide:as,useValue:"unknown"},{provide:Vm,deps:[Oe]},{provide:km,deps:[]},{provide:Pm,deps:[]}]);let uS=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(E(Rl))},e.\u0275mod=zt({type:e}),e.\u0275inj=bt({}),e})(),ds=null;function yn(){return ds}const Je=new V("DocumentToken");let kn=(()=>{class e{historyGo(n){throw new Error("Not implemented")}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=x({token:e,factory:function(){return function fS(){return E(ty)}()},providedIn:"platform"}),e})();const hS=new V("Location Initialized");let ty=(()=>{class e extends kn{constructor(n){super(),this._doc=n,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return yn().getBaseHref(this._doc)}onPopState(n){const r=yn().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){const r=yn().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){ny()?this._history.pushState(n,r,i):this.location.hash=i}replaceState(n,r,i){ny()?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 e.\u0275fac=function(n){return new(n||e)(E(Je))},e.\u0275prov=x({token:e,factory:function(){return function pS(){return new ty(E(Je))}()},providedIn:"platform"}),e})();function ny(){return!!window.history.pushState}function jl(e,t){if(0==e.length)return t;if(0==t.length)return e;let n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,2==n?e+t.substring(1):1==n?e+t:e+"/"+t}function ry(e){const t=e.match(/#|\?|$/),n=t&&t.index||e.length;return e.slice(0,n-("/"===e[n-1]?1:0))+e.slice(n)}function Jt(e){return e&&"?"!==e[0]?"?"+e:e}let kr=(()=>{class e{historyGo(n){throw new Error("Not implemented")}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=x({token:e,factory:function(){return function gS(e){const t=E(Je).location;return new iy(E(kn),t&&t.origin||"")}()},providedIn:"root"}),e})();const Bl=new V("appBaseHref");let iy=(()=>{class e extends kr{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 jl(this._baseHref,n)}path(n=!1){const r=this._platformLocation.pathname+Jt(this._platformLocation.search),i=this._platformLocation.hash;return i&&n?`${r}${i}`:r}pushState(n,r,i,o){const s=this.prepareExternalUrl(i+Jt(o));this._platformLocation.pushState(n,r,s)}replaceState(n,r,i,o){const s=this.prepareExternalUrl(i+Jt(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 e.\u0275fac=function(n){return new(n||e)(E(kn),E(Bl,8))},e.\u0275prov=x({token:e,factory:e.\u0275fac}),e})(),mS=(()=>{class e extends kr{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=jl(this._baseHref,n);return r.length>0?"#"+r:r}pushState(n,r,i,o){let s=this.prepareExternalUrl(i+Jt(o));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(n,r,s)}replaceState(n,r,i,o){let s=this.prepareExternalUrl(i+Jt(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 e.\u0275fac=function(n){return new(n||e)(E(kn),E(Bl,8))},e.\u0275prov=x({token:e,factory:e.\u0275fac}),e})(),Hl=(()=>{class e{constructor(n,r){this._subject=new Le,this._urlChangeListeners=[],this._platformStrategy=n;const i=this._platformStrategy.getBaseHref();this._platformLocation=r,this._baseHref=ry(oy(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+Jt(r))}normalize(n){return e.stripTrailingSlash(function vS(e,t){return e&&t.startsWith(e)?t.substring(e.length):t}(this._baseHref,oy(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+Jt(r)),i)}replaceState(n,r="",i=null){this._platformStrategy.replaceState(i,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Jt(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 e.normalizeQueryParams=Jt,e.joinWithSlash=jl,e.stripTrailingSlash=ry,e.\u0275fac=function(n){return new(n||e)(E(kr),E(kn))},e.\u0275prov=x({token:e,factory:function(){return function yS(){return new Hl(E(kr),E(kn))}()},providedIn:"root"}),e})();function oy(e){return e.replace(/\/index.html$/,"")}function py(e,t){t=encodeURIComponent(t);for(const n of e.split(";")){const r=n.indexOf("="),[i,o]=-1==r?[n,""]:[n.slice(0,r),n.slice(r+1)];if(i.trim()===t)return decodeURIComponent(o)}return null}let gy=(()=>{class e{constructor(n,r,i,o){this._iterableDiffers=n,this._keyValueDiffers=r,this._ngEl=i,this._renderer=o,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(n){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof n?n.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(n){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof n?n.split(/\s+/):n,this._rawClass&&(Ci(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const n=this._iterableDiffer.diff(this._rawClass);n&&this._applyIterableChanges(n)}else if(this._keyValueDiffer){const n=this._keyValueDiffer.diff(this._rawClass);n&&this._applyKeyValueChanges(n)}}_applyKeyValueChanges(n){n.forEachAddedItem(r=>this._toggleClass(r.key,r.currentValue)),n.forEachChangedItem(r=>this._toggleClass(r.key,r.currentValue)),n.forEachRemovedItem(r=>{r.previousValue&&this._toggleClass(r.key,!1)})}_applyIterableChanges(n){n.forEachAddedItem(r=>{if("string"!=typeof r.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${G(r.item)}`);this._toggleClass(r.item,!0)}),n.forEachRemovedItem(r=>this._toggleClass(r.item,!1))}_applyClasses(n){n&&(Array.isArray(n)||n instanceof Set?n.forEach(r=>this._toggleClass(r,!0)):Object.keys(n).forEach(r=>this._toggleClass(r,!!n[r])))}_removeClasses(n){n&&(Array.isArray(n)||n instanceof Set?n.forEach(r=>this._toggleClass(r,!1)):Object.keys(n).forEach(r=>this._toggleClass(r,!1)))}_toggleClass(n,r){(n=n.trim())&&n.split(/\s+/g).forEach(i=>{r?this._renderer.addClass(this._ngEl.nativeElement,i):this._renderer.removeClass(this._ngEl.nativeElement,i)})}}return e.\u0275fac=function(n){return new(n||e)(b(cs),b(Oi),b(gn),b(es))},e.\u0275dir=be({type:e,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),e})();class nT{constructor(t,n,r,i){this.$implicit=t,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 my=(()=>{class e{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;!this._differ&&n&&(this._differ=this._differs.find(n).create(this.ngForTrackBy))}if(this._differ){const n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){const r=this._viewContainer;n.forEachOperation((i,o,s)=>{if(null==i.previousIndex)r.createEmbeddedView(this._template,new nT(i.item,this._ngForOf,-1,-1),null===s?void 0:s);else if(null==s)r.remove(null===o?void 0:o);else if(null!==o){const a=r.get(o);r.move(a,s),yy(a,i)}});for(let i=0,o=r.length;i<o;i++){const a=r.get(i).context;a.index=i,a.count=o,a.ngForOf=this._ngForOf}n.forEachIdentityChange(i=>{yy(r.get(i.currentIndex),i)})}static ngTemplateContextGuard(n,r){return!0}}return e.\u0275fac=function(n){return new(n||e)(b(Dt),b(Kt),b(cs))},e.\u0275dir=be({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),e})();function yy(e,t){e.context.$implicit=t.item}let Kl=(()=>{class e{constructor(n,r){this._viewContainer=n,this._context=new rT,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){vy("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){vy("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 e.\u0275fac=function(n){return new(n||e)(b(Dt),b(Kt))},e.\u0275dir=be({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),e})();class rT{constructor(){this.$implicit=null,this.ngIf=null}}function vy(e,t){if(t&&!t.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${G(t)}'.`)}let xT=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=zt({type:e}),e.\u0275inj=bt({}),e})();let OT=(()=>{class e{}return e.\u0275prov=x({token:e,providedIn:"root",factory:()=>new FT(E(Je),window)}),e})();class FT{constructor(t,n){this.document=t,this.window=n,this.offset=()=>[0,0]}setOffset(t){this.offset=Array.isArray(t)?()=>t:t}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(t){this.supportsScrolling()&&this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){if(!this.supportsScrolling())return;const n=function kT(e,t){const n=e.getElementById(t)||e.getElementsByName(t)[0];if(n)return n;if("function"==typeof e.createTreeWalker&&e.body&&(e.body.createShadowRoot||e.body.attachShadow)){const r=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT);let i=r.currentNode;for(;i;){const o=i.shadowRoot;if(o){const s=o.getElementById(t)||o.querySelector(`[name="${t}"]`);if(s)return s}i=r.nextNode()}}return null}(this.document,t);n&&(this.scrollToElement(n),n.focus())}setHistoryScrollRestoration(t){if(this.supportScrollRestoration()){const n=this.window.history;n&&n.scrollRestoration&&(n.scrollRestoration=t)}}scrollToElement(t){const n=t.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])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const t=wy(this.window.history)||wy(Object.getPrototypeOf(this.window.history));return!(!t||!t.writable&&!t.set)}catch(t){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(t){return!1}}}function wy(e){return Object.getOwnPropertyDescriptor(e,"scrollRestoration")}class Ey{}class tc extends class LT extends class dS{}{constructor(){super(...arguments),this.supportsDOMEvents=!0}}{static makeCurrent(){!function cS(e){ds||(ds=e)}(new tc)}onAndCancel(t,n,r){return t.addEventListener(n,r,!1),()=>{t.removeEventListener(n,r,!1)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,n){return(n=n||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,n){return"window"===n?window:"document"===n?t:"body"===n?t.body:null}getBaseHref(t){const n=function jT(){return Li=Li||document.querySelector("base"),Li?Li.getAttribute("href"):null}();return null==n?null:function BT(e){_s=_s||document.createElement("a"),_s.setAttribute("href",e);const t=_s.pathname;return"/"===t.charAt(0)?t:`/${t}`}(n)}resetBaseElement(){Li=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return py(document.cookie,t)}}let _s,Li=null;const by=new V("TRANSITION_ID"),VT=[{provide:El,useFactory:function HT(e,t,n){return()=>{n.get(bl).donePromise.then(()=>{const r=yn(),i=t.querySelectorAll(`style[ng-transition="${e}"]`);for(let o=0;o<i.length;o++)r.remove(i[o])})}},deps:[by,Je,Oe],multi:!0}];class nc{static init(){!function jI(e){xl=e}(new nc)}addToWindow(t){W.getAngularTestability=(r,i=!0)=>{const o=t.findTestabilityInTree(r,i);if(null==o)throw new Error("Could not find testability for element.");return o},W.getAllAngularTestabilities=()=>t.getAllTestabilities(),W.getAllAngularRootElements=()=>t.getAllRootElements(),W.frameworkStabilizers||(W.frameworkStabilizers=[]),W.frameworkStabilizers.push(r=>{const i=W.getAllAngularTestabilities();let o=i.length,s=!1;const a=function(u){s=s||u,o--,0==o&&r(s)};i.forEach(function(u){u.whenStable(a)})})}findTestabilityInTree(t,n,r){if(null==n)return null;const i=t.getTestability(n);return null!=i?i:r?yn().isShadowRoot(n)?this.findTestabilityInTree(t,n.host,!0):this.findTestabilityInTree(t,n.parentElement,!0):null}}let UT=(()=>{class e{build(){return new XMLHttpRequest}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=x({token:e,factory:e.\u0275fac}),e})();const ws=new V("EventManagerPlugins");let Es=(()=>{class e{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 e.\u0275fac=function(n){return new(n||e)(E(ws),E(we))},e.\u0275prov=x({token:e,factory:e.\u0275fac}),e})();class My{constructor(t){this._doc=t}addGlobalEventListener(t,n,r){const i=yn().getGlobalEventTarget(this._doc,t);if(!i)throw new Error(`Unsupported event target ${i} for event ${n}`);return this.addEventListener(i,n,r)}}let Iy=(()=>{class e{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 e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=x({token:e,factory:e.\u0275fac}),e})(),ji=(()=>{class e extends Iy{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(Sy),this._hostNodes.delete(n)}onStylesAdded(n){this._hostNodes.forEach((r,i)=>{this._addStylesToHost(n,i,r)})}ngOnDestroy(){this._hostNodes.forEach(n=>n.forEach(Sy))}}return e.\u0275fac=function(n){return new(n||e)(E(Je))},e.\u0275prov=x({token:e,factory:e.\u0275fac}),e})();function Sy(e){yn().remove(e)}const rc={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/",math:"http://www.w3.org/1998/MathML/"},ic=/%COMP%/g;function bs(e,t,n){for(let r=0;r<t.length;r++){let i=t[r];Array.isArray(i)?bs(e,i,n):(i=i.replace(ic,e),n.push(i))}return n}function xy(e){return t=>{if("__ngUnwrap__"===t)return e;!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}let oc=(()=>{class e{constructor(n,r,i){this.eventManager=n,this.sharedStylesHost=r,this.appId=i,this.rendererByCompId=new Map,this.defaultRenderer=new sc(n)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;switch(r.encapsulation){case Mt.Emulated:{let i=this.rendererByCompId.get(r.id);return i||(i=new QT(this.eventManager,this.sharedStylesHost,r,this.appId),this.rendererByCompId.set(r.id,i)),i.applyToHost(n),i}case 1:case Mt.ShadowDom:return new ZT(this.eventManager,this.sharedStylesHost,n,r);default:if(!this.rendererByCompId.has(r.id)){const i=bs(r.id,r.styles,[]);this.sharedStylesHost.addStyles(i),this.rendererByCompId.set(r.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return e.\u0275fac=function(n){return new(n||e)(E(Es),E(ji),E(Ni))},e.\u0275prov=x({token:e,factory:e.\u0275fac}),e})();class sc{constructor(t){this.eventManager=t,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(t,n){return n?document.createElementNS(rc[n]||n,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,n){t.appendChild(n)}insertBefore(t,n,r){t&&t.insertBefore(n,r)}removeChild(t,n){t&&t.removeChild(n)}selectRootElement(t,n){let r="string"==typeof t?document.querySelector(t):t;if(!r)throw new Error(`The selector "${t}" did not match any elements`);return n||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,r,i){if(i){n=i+":"+n;const o=rc[i];o?t.setAttributeNS(o,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){const i=rc[r];i?t.removeAttributeNS(i,n):t.removeAttribute(`${r}:${n}`)}else t.removeAttribute(n)}addClass(t,n){t.classList.add(n)}removeClass(t,n){t.classList.remove(n)}setStyle(t,n,r,i){i&(Ze.DashCase|Ze.Important)?t.style.setProperty(n,r,i&Ze.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&Ze.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,r){t[n]=r}setValue(t,n){t.nodeValue=n}listen(t,n,r){return"string"==typeof t?this.eventManager.addGlobalEventListener(t,n,xy(r)):this.eventManager.addEventListener(t,n,xy(r))}}class QT extends sc{constructor(t,n,r,i){super(t),this.component=r;const o=bs(i+"-"+r.id,r.styles,[]);n.addStyles(o),this.contentAttr=function qT(e){return"_ngcontent-%COMP%".replace(ic,e)}(i+"-"+r.id),this.hostAttr=function GT(e){return"_nghost-%COMP%".replace(ic,e)}(i+"-"+r.id)}applyToHost(t){super.setAttribute(t,this.hostAttr,"")}createElement(t,n){const r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,""),r}}class ZT extends sc{constructor(t,n,r,i){super(t),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const o=bs(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(t){return t===this.hostEl?this.shadowRoot:t}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(t,n){return super.appendChild(this.nodeOrShadowRoot(t),n)}insertBefore(t,n,r){return super.insertBefore(this.nodeOrShadowRoot(t),n,r)}removeChild(t,n){return super.removeChild(this.nodeOrShadowRoot(t),n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}}let KT=(()=>{class e extends My{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 e.\u0275fac=function(n){return new(n||e)(E(Je))},e.\u0275prov=x({token:e,factory:e.\u0275fac}),e})();const Py=["alt","control","meta","shift"],YT={"\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"},Ny={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"},XT={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let eA=(()=>{class e extends My{constructor(n){super(n)}supports(n){return null!=e.parseEventName(n)}addEventListener(n,r,i){const o=e.parseEventName(r),s=e.eventCallback(o.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>yn().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=e._normalizeKey(r.pop());let s="";if(Py.forEach(u=>{const l=r.indexOf(u);l>-1&&(r.splice(l,1),s+=u+".")}),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 tA(e){let t=e.key;if(null==t){if(t=e.keyIdentifier,null==t)return"Unidentified";t.startsWith("U+")&&(t=String.fromCharCode(parseInt(t.substring(2),16)),3===e.location&&Ny.hasOwnProperty(t)&&(t=Ny[t]))}return YT[t]||t}(n);return i=i.toLowerCase()," "===i?i="space":"."===i&&(i="dot"),Py.forEach(o=>{o!=i&&XT[o](n)&&(r+=o+".")}),r+=i,r}static eventCallback(n,r,i){return o=>{e.getEventFullKey(o)===n&&i.runGuarded(()=>r(o))}}static _normalizeKey(n){return"esc"===n?"escape":n}}return e.\u0275fac=function(n){return new(n||e)(E(Je))},e.\u0275prov=x({token:e,factory:e.\u0275fac}),e})();const oA=Bm(aS,"browser",[{provide:as,useValue:"browser"},{provide:xm,useValue:function nA(){tc.makeCurrent(),nc.init()},multi:!0},{provide:Je,useFactory:function iA(){return function gC(e){fa=e}(document),document},deps:[]}]),sA=[{provide:Tu,useValue:"root"},{provide:pi,useFactory:function rA(){return new pi},deps:[]},{provide:ws,useClass:KT,multi:!0,deps:[Je,we,as]},{provide:ws,useClass:eA,multi:!0,deps:[Je]},{provide:oc,useClass:oc,deps:[Es,ji,Ni]},{provide:Gg,useExisting:oc},{provide:Iy,useExisting:ji},{provide:ji,useClass:ji,deps:[Je]},{provide:Al,useClass:Al,deps:[we]},{provide:Es,useClass:Es,deps:[ws,we]},{provide:Ey,useClass:UT,deps:[]}];let aA=(()=>{class e{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:e,providers:[{provide:Ni,useValue:n.appId},{provide:by,useExisting:Ni},VT]}}}return e.\u0275fac=function(n){return new(n||e)(E(e,12))},e.\u0275mod=zt({type:e}),e.\u0275inj=bt({providers:sA,imports:[xT,uS]}),e})();function P(...e){return _e(e,qr(e))}function Lr(e,t){return K(t)?ye(e,t,1):ye(e,1)}function Ln(e,t){return De((n,r)=>{let i=0;n.subscribe(Ce(r,o=>e.call(t,o,i++)&&r.next(o)))})}"undefined"!=typeof window&&window;class ky{}class Ly{}class Xt{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?()=>{this.headers=new Map,t.split("\n").forEach(n=>{const r=n.indexOf(":");if(r>0){const i=n.slice(0,r),o=i.toLowerCase(),s=n.slice(r+1).trim();this.maybeSetNormalizedName(i,o),this.headers.has(o)?this.headers.get(o).push(s):this.headers.set(o,[s])}})}:()=>{this.headers=new Map,Object.keys(t).forEach(n=>{let r=t[n];const i=n.toLowerCase();"string"==typeof r&&(r=[r]),r.length>0&&(this.headers.set(i,r),this.maybeSetNormalizedName(n,i))})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();const n=this.headers.get(t.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,n){return this.clone({name:t,value:n,op:"a"})}set(t,n){return this.clone({name:t,value:n,op:"s"})}delete(t,n){return this.clone({name:t,value:n,op:"d"})}maybeSetNormalizedName(t,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,t)}init(){this.lazyInit&&(this.lazyInit instanceof Xt?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(n=>{this.headers.set(n,t.headers.get(n)),this.normalizedNames.set(n,t.normalizedNames.get(n))})}clone(t){const n=new Xt;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof Xt?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}applyUpdate(t){const n=t.name.toLowerCase();switch(t.op){case"a":case"s":let r=t.value;if("string"==typeof r&&(r=[r]),0===r.length)return;this.maybeSetNormalizedName(t.name,n);const i=("a"===t.op?this.headers.get(n):void 0)||[];i.push(...r),this.headers.set(n,i);break;case"d":const o=t.value;if(o){let s=this.headers.get(n);if(!s)return;s=s.filter(a=>-1===o.indexOf(a)),0===s.length?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,s)}else this.headers.delete(n),this.normalizedNames.delete(n)}}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>t(this.normalizedNames.get(n),this.headers.get(n)))}}class vA{encodeKey(t){return jy(t)}encodeValue(t){return jy(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}const CA=/%(\d[a-f0-9])/gi,_A={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function jy(e){return encodeURIComponent(e).replace(CA,(t,n)=>{var r;return null!==(r=_A[n])&&void 0!==r?r:t})}function By(e){return`${e}`}class Dn{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new vA,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function DA(e,t){const n=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(i=>{const o=i.indexOf("="),[s,a]=-1==o?[t.decodeKey(i),""]:[t.decodeKey(i.slice(0,o)),t.decodeValue(i.slice(o+1))],u=n.get(s)||[];u.push(a),n.set(s,u)}),n}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(n=>{const r=t.fromObject[n];this.map.set(n,Array.isArray(r)?r:[r])})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();const n=this.map.get(t);return n?n[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,n){return this.clone({param:t,value:n,op:"a"})}appendAll(t){const n=[];return Object.keys(t).forEach(r=>{const i=t[r];Array.isArray(i)?i.forEach(o=>{n.push({param:r,value:o,op:"a"})}):n.push({param:r,value:i,op:"a"})}),this.clone(n)}set(t,n){return this.clone({param:t,value:n,op:"s"})}delete(t,n){return this.clone({param:t,value:n,op:"d"})}toString(){return this.init(),this.keys().map(t=>{const n=this.encoder.encodeKey(t);return this.map.get(t).map(r=>n+"="+this.encoder.encodeValue(r)).join("&")}).filter(t=>""!==t).join("&")}clone(t){const n=new Dn({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(t),n}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":const n=("a"===t.op?this.map.get(t.param):void 0)||[];n.push(By(t.value)),this.map.set(t.param,n);break;case"d":if(void 0===t.value){this.map.delete(t.param);break}{let r=this.map.get(t.param)||[];const i=r.indexOf(By(t.value));-1!==i&&r.splice(i,1),r.length>0?this.map.set(t.param,r):this.map.delete(t.param)}}}),this.cloneFrom=this.updates=null)}}class wA{constructor(){this.map=new Map}set(t,n){return this.map.set(t,n),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}}function Hy(e){return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer}function Vy(e){return"undefined"!=typeof Blob&&e instanceof Blob}function Uy(e){return"undefined"!=typeof FormData&&e instanceof FormData}class Bi{constructor(t,n,r,i){let o;if(this.url=n,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function EA(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||i?(this.body=void 0!==r?r:null,o=i):o=r,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params)),this.headers||(this.headers=new Xt),this.context||(this.context=new wA),this.params){const s=this.params.toString();if(0===s.length)this.urlWithParams=n;else{const a=n.indexOf("?");this.urlWithParams=n+(-1===a?"?":a<n.length-1?"&":"")+s}}else this.params=new Dn,this.urlWithParams=n}serializeBody(){return null===this.body?null:Hy(this.body)||Vy(this.body)||Uy(this.body)||function bA(e){return"undefined"!=typeof URLSearchParams&&e instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof Dn?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||Uy(this.body)?null:Vy(this.body)?this.body.type||null:Hy(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof Dn?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(t={}){var n;const r=t.method||this.method,i=t.url||this.url,o=t.responseType||this.responseType,s=void 0!==t.body?t.body:this.body,a=void 0!==t.withCredentials?t.withCredentials:this.withCredentials,u=void 0!==t.reportProgress?t.reportProgress:this.reportProgress;let l=t.headers||this.headers,c=t.params||this.params;const d=null!==(n=t.context)&&void 0!==n?n:this.context;return void 0!==t.setHeaders&&(l=Object.keys(t.setHeaders).reduce((f,h)=>f.set(h,t.setHeaders[h]),l)),t.setParams&&(c=Object.keys(t.setParams).reduce((f,h)=>f.set(h,t.setParams[h]),c)),new Bi(r,i,s,{params:c,headers:l,context:d,reportProgress:u,responseType:o,withCredentials:a})}}var fe=(()=>((fe=fe||{})[fe.Sent=0]="Sent",fe[fe.UploadProgress=1]="UploadProgress",fe[fe.ResponseHeader=2]="ResponseHeader",fe[fe.DownloadProgress=3]="DownloadProgress",fe[fe.Response=4]="Response",fe[fe.User=5]="User",fe))();class uc{constructor(t,n=200,r="OK"){this.headers=t.headers||new Xt,this.status=void 0!==t.status?t.status:n,this.statusText=t.statusText||r,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}class lc extends uc{constructor(t={}){super(t),this.type=fe.ResponseHeader}clone(t={}){return new lc({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class Ms extends uc{constructor(t={}){super(t),this.type=fe.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new Ms({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class $y extends uc{constructor(t){super(t,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${t.url||"(unknown url)"}`:`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}}function cc(e,t){return{body:t,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials}}let dc=(()=>{class e{constructor(n){this.handler=n}request(n,r,i={}){let o;if(n instanceof Bi)o=n;else{let u,l;u=i.headers instanceof Xt?i.headers:new Xt(i.headers),i.params&&(l=i.params instanceof Dn?i.params:new Dn({fromObject:i.params})),o=new Bi(n,r,void 0!==i.body?i.body:null,{headers:u,context:i.context,params:l,reportProgress:i.reportProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials})}const s=P(o).pipe(Lr(u=>this.handler.handle(u)));if(n instanceof Bi||"events"===i.observe)return s;const a=s.pipe(Ln(u=>u instanceof Ms));switch(i.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return a.pipe(q(u=>{if(null!==u.body&&!(u.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return u.body}));case"blob":return a.pipe(q(u=>{if(null!==u.body&&!(u.body instanceof Blob))throw new Error("Response is not a Blob.");return u.body}));case"text":return a.pipe(q(u=>{if(null!==u.body&&"string"!=typeof u.body)throw new Error("Response is not a string.");return u.body}));default:return a.pipe(q(u=>u.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${i.observe}}`)}}delete(n,r={}){return this.request("DELETE",n,r)}get(n,r={}){return this.request("GET",n,r)}head(n,r={}){return this.request("HEAD",n,r)}jsonp(n,r){return this.request("JSONP",n,{params:(new Dn).append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,r={}){return this.request("OPTIONS",n,r)}patch(n,r,i={}){return this.request("PATCH",n,cc(i,r))}post(n,r,i={}){return this.request("POST",n,cc(i,r))}put(n,r,i={}){return this.request("PUT",n,cc(i,r))}}return e.\u0275fac=function(n){return new(n||e)(E(ky))},e.\u0275prov=x({token:e,factory:e.\u0275fac}),e})();class zy{constructor(t,n){this.next=t,this.interceptor=n}handle(t){return this.interceptor.intercept(t,this.next)}}const qy=new V("HTTP_INTERCEPTORS");let MA=(()=>{class e{intercept(n,r){return r.handle(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=x({token:e,factory:e.\u0275fac}),e})();const IA=/^\)\]\}',?\n/;let Gy=(()=>{class e{constructor(n){this.xhrFactory=n}handle(n){if("JSONP"===n.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new ae(r=>{const i=this.xhrFactory.build();if(i.open(n.method,n.urlWithParams),n.withCredentials&&(i.withCredentials=!0),n.headers.forEach((h,p)=>i.setRequestHeader(h,p.join(","))),n.headers.has("Accept")||i.setRequestHeader("Accept","application/json, text/plain, */*"),!n.headers.has("Content-Type")){const h=n.detectContentTypeHeader();null!==h&&i.setRequestHeader("Content-Type",h)}if(n.responseType){const h=n.responseType.toLowerCase();i.responseType="json"!==h?h:"text"}const o=n.serializeBody();let s=null;const a=()=>{if(null!==s)return s;const h=i.statusText||"OK",p=new Xt(i.getAllResponseHeaders()),m=function SA(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(i)||n.url;return s=new lc({headers:p,status:i.status,statusText:h,url:m}),s},u=()=>{let{headers:h,status:p,statusText:m,url:D}=a(),v=null;204!==p&&(v=void 0===i.response?i.responseText:i.response),0===p&&(p=v?200:0);let g=p>=200&&p<300;if("json"===n.responseType&&"string"==typeof v){const w=v;v=v.replace(IA,"");try{v=""!==v?JSON.parse(v):null}catch(N){v=w,g&&(g=!1,v={error:N,text:v})}}g?(r.next(new Ms({body:v,headers:h,status:p,statusText:m,url:D||void 0})),r.complete()):r.error(new $y({error:v,headers:h,status:p,statusText:m,url:D||void 0}))},l=h=>{const{url:p}=a(),m=new $y({error:h,status:i.status||0,statusText:i.statusText||"Unknown Error",url:p||void 0});r.error(m)};let c=!1;const d=h=>{c||(r.next(a()),c=!0);let p={type:fe.DownloadProgress,loaded:h.loaded};h.lengthComputable&&(p.total=h.total),"text"===n.responseType&&!!i.responseText&&(p.partialText=i.responseText),r.next(p)},f=h=>{let p={type:fe.UploadProgress,loaded:h.loaded};h.lengthComputable&&(p.total=h.total),r.next(p)};return i.addEventListener("load",u),i.addEventListener("error",l),i.addEventListener("timeout",l),i.addEventListener("abort",l),n.reportProgress&&(i.addEventListener("progress",d),null!==o&&i.upload&&i.upload.addEventListener("progress",f)),i.send(o),r.next({type:fe.Sent}),()=>{i.removeEventListener("error",l),i.removeEventListener("abort",l),i.removeEventListener("load",u),i.removeEventListener("timeout",l),n.reportProgress&&(i.removeEventListener("progress",d),null!==o&&i.upload&&i.upload.removeEventListener("progress",f)),i.readyState!==i.DONE&&i.abort()}})}}return e.\u0275fac=function(n){return new(n||e)(E(Ey))},e.\u0275prov=x({token:e,factory:e.\u0275fac}),e})();const fc=new V("XSRF_COOKIE_NAME"),hc=new V("XSRF_HEADER_NAME");class Wy{}let TA=(()=>{class e{constructor(n,r,i){this.doc=n,this.platform=r,this.cookieName=i,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=py(n,this.cookieName),this.lastCookieString=n),this.lastToken}}return e.\u0275fac=function(n){return new(n||e)(E(Je),E(as),E(fc))},e.\u0275prov=x({token:e,factory:e.\u0275fac}),e})(),pc=(()=>{class e{constructor(n,r){this.tokenService=n,this.headerName=r}intercept(n,r){const i=n.url.toLowerCase();if("GET"===n.method||"HEAD"===n.method||i.startsWith("http://")||i.startsWith("https://"))return r.handle(n);const o=this.tokenService.getToken();return null!==o&&!n.headers.has(this.headerName)&&(n=n.clone({headers:n.headers.set(this.headerName,o)})),r.handle(n)}}return e.\u0275fac=function(n){return new(n||e)(E(Wy),E(hc))},e.\u0275prov=x({token:e,factory:e.\u0275fac}),e})(),AA=(()=>{class e{constructor(n,r){this.backend=n,this.injector=r,this.chain=null}handle(n){if(null===this.chain){const r=this.injector.get(qy,[]);this.chain=r.reduceRight((i,o)=>new zy(i,o),this.backend)}return this.chain.handle(n)}}return e.\u0275fac=function(n){return new(n||e)(E(Ly),E(Oe))},e.\u0275prov=x({token:e,factory:e.\u0275fac}),e})(),xA=(()=>{class e{static disable(){return{ngModule:e,providers:[{provide:pc,useClass:MA}]}}static withOptions(n={}){return{ngModule:e,providers:[n.cookieName?{provide:fc,useValue:n.cookieName}:[],n.headerName?{provide:hc,useValue:n.headerName}:[]]}}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=zt({type:e}),e.\u0275inj=bt({providers:[pc,{provide:qy,useExisting:pc,multi:!0},{provide:Wy,useClass:TA},{provide:fc,useValue:"XSRF-TOKEN"},{provide:hc,useValue:"X-XSRF-TOKEN"}]}),e})(),RA=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=zt({type:e}),e.\u0275inj=bt({providers:[dc,{provide:ky,useClass:AA},Gy,{provide:Ly,useExisting:Gy}],imports:[[xA.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),e})();class Et extends jt{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){const{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}}const{isArray:PA}=Array,{getPrototypeOf:NA,prototype:OA,keys:FA}=Object;const{isArray:jA}=Array;function UA(...e){const t=qr(e),n=function xD(e){return K(Qs(e))?e.pop():void 0}(e),{args:r,keys:i}=function kA(e){if(1===e.length){const t=e[0];if(PA(t))return{args:t,keys:null};if(function LA(e){return e&&"object"==typeof e&&NA(e)===OA}(t)){const n=FA(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}(e);if(0===r.length)return _e([],t);const o=new ae(function $A(e,t,n=En){return r=>{Qy(t,()=>{const{length:i}=e,o=new Array(i);let s=i,a=i;for(let u=0;u<i;u++)Qy(t,()=>{const l=_e(e[u],t);let c=!1;l.subscribe(Ce(r,d=>{o[u]=d,c||(c=!0,a--),a||r.next(n(o.slice()))},()=>{--s||r.complete()}))},r)},r)}}(r,t,i?s=>function VA(e,t){return e.reduce((n,r,i)=>(n[r]=t[i],n),{})}(i,s):En));return n?o.pipe(function HA(e){return q(t=>function BA(e,t){return jA(t)?e(...t):e(t)}(e,t))}(n)):o}function Qy(e,t,n){e?Ht(n,e,t):t()}function Is(e,t){const n=K(e)?e:()=>e,r=i=>i.error(n());return new ae(t?i=>t.schedule(r,0,i):r)}const Ss=Ur(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function gc(...e){return function zA(){return zr(1)}()(_e(e,qr(e)))}function Zy(e){return new ae(t=>{Bt(e()).subscribe(t)})}function Ky(){return De((e,t)=>{let n=null;e._refCount++;const r=Ce(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount)return void(n=null);const i=e._connection,o=n;n=null,i&&(!o||i===o)&&i.unsubscribe(),t.unsubscribe()});e.subscribe(r),r.closed||(n=e.connect())})}class qA extends ae{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,td(t)&&(this.lift=t.lift)}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){const t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:t}=this;this._subject=this._connection=null,null==t||t.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new et;const n=this.getSubject();t.add(this.source.subscribe(Ce(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=et.EMPTY)}return t}refCount(){return Ky()(this)}}function jn(e,t){return De((n,r)=>{let i=null,o=0,s=!1;const a=()=>s&&!i&&r.complete();n.subscribe(Ce(r,u=>{null==i||i.unsubscribe();let l=0;const c=o++;Bt(e(u,c)).subscribe(i=Ce(r,d=>r.next(t?t(u,d,c,l++):d),()=>{i=null,a()}))},()=>{s=!0,a()}))})}function WA(e,t,n,r,i){return(o,s)=>{let a=n,u=t,l=0;o.subscribe(Ce(s,c=>{const d=l++;u=a?e(u,c,d):(a=!0,c),r&&s.next(u)},i&&(()=>{a&&s.next(u),s.complete()})))}}function Jy(e,t){return De(WA(e,t,arguments.length>=2,!0))}function en(e){return De((t,n)=>{let o,r=null,i=!1;r=t.subscribe(Ce(n,void 0,void 0,s=>{o=Bt(e(s,en(e)(t))),r?(r.unsubscribe(),r=null,o.subscribe(n)):i=!0})),i&&(r.unsubscribe(),r=null,o.subscribe(n))})}function mc(e){return e<=0?()=>Vt:De((t,n)=>{let r=[];t.subscribe(Ce(n,i=>{r.push(i),e<r.length&&r.shift()},()=>{for(const i of r)n.next(i);n.complete()},void 0,()=>{r=null}))})}function Yy(e=QA){return De((t,n)=>{let r=!1;t.subscribe(Ce(n,i=>{r=!0,n.next(i)},()=>r?n.complete():n.error(e())))})}function QA(){return new Ss}function Xy(e){return De((t,n)=>{let r=!1;t.subscribe(Ce(n,i=>{r=!0,n.next(i)},()=>{r||n.next(e),n.complete()}))})}function jr(e,t){const n=arguments.length>=2;return r=>r.pipe(e?Ln((i,o)=>e(i,o,r)):En,no(1),n?Xy(t):Yy(()=>new Ss))}function Ye(e,t,n){const r=K(e)||t||n?{next:e,error:t,complete:n}:e;return r?De((i,o)=>{var s;null===(s=r.subscribe)||void 0===s||s.call(r);let a=!0;i.subscribe(Ce(o,u=>{var l;null===(l=r.next)||void 0===l||l.call(r,u),o.next(u)},()=>{var u;a=!1,null===(u=r.complete)||void 0===u||u.call(r),o.complete()},u=>{var l;a=!1,null===(l=r.error)||void 0===l||l.call(r,u),o.error(u)},()=>{var u,l;a&&(null===(u=r.unsubscribe)||void 0===u||u.call(r)),null===(l=r.finalize)||void 0===l||l.call(r)}))}):En}class tn{constructor(t,n){this.id=t,this.url=n}}class yc extends tn{constructor(t,n,r="imperative",i=null){super(t,n),this.navigationTrigger=r,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Hi extends tn{constructor(t,n,r){super(t,n),this.urlAfterRedirects=r}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class ev extends tn{constructor(t,n,r){super(t,n),this.reason=r}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class JA extends tn{constructor(t,n,r){super(t,n),this.error=r}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class YA extends tn{constructor(t,n,r,i){super(t,n),this.urlAfterRedirects=r,this.state=i}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class XA extends tn{constructor(t,n,r,i){super(t,n),this.urlAfterRedirects=r,this.state=i}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ex extends tn{constructor(t,n,r,i,o){super(t,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 tx extends tn{constructor(t,n,r,i){super(t,n),this.urlAfterRedirects=r,this.state=i}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class nx extends tn{constructor(t,n,r,i){super(t,n),this.urlAfterRedirects=r,this.state=i}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class tv{constructor(t){this.route=t}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class nv{constructor(t){this.route=t}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class rx{constructor(t){this.snapshot=t}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ix{constructor(t){this.snapshot=t}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ox{constructor(t){this.snapshot=t}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class sx{constructor(t){this.snapshot=t}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class rv{constructor(t,n,r){this.routerEvent=t,this.position=n,this.anchor=r}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}const j="primary";class ax{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){const n=this.params[t];return Array.isArray(n)?n[0]:n}return null}getAll(t){if(this.has(t)){const n=this.params[t];return Array.isArray(n)?n:[n]}return[]}get keys(){return Object.keys(this.params)}}function Br(e){return new ax(e)}const iv="ngNavigationCancelingError";function vc(e){const t=Error("NavigationCancelingError: "+e);return t[iv]=!0,t}function lx(e,t,n){const r=n.path.split("/");if(r.length>e.length||"full"===n.pathMatch&&(t.hasChildren()||r.length<e.length))return null;const i={};for(let o=0;o<r.length;o++){const s=r[o],a=e[o];if(s.startsWith(":"))i[s.substring(1)]=a;else if(s!==a.path)return null}return{consumed:e.slice(0,r.length),posParams:i}}function kt(e,t){const n=e?Object.keys(e):void 0,r=t?Object.keys(t):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],!ov(e[i],t[i]))return!1;return!0}function ov(e,t){if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return!1;const n=[...e].sort(),r=[...t].sort();return n.every((i,o)=>r[o]===i)}return e===t}function sv(e){return Array.prototype.concat.apply([],e)}function av(e){return e.length>0?e[e.length-1]:null}function Ee(e,t){for(const n in e)e.hasOwnProperty(n)&&t(e[n],n)}function Lt(e){return Mp(e)?e:Wo(e)?_e(Promise.resolve(e)):P(e)}const fx={exact:function cv(e,t,n){if(!Hn(e.segments,t.segments)||!Ts(e.segments,t.segments,n)||e.numberOfChildren!==t.numberOfChildren)return!1;for(const r in t.children)if(!e.children[r]||!cv(e.children[r],t.children[r],n))return!1;return!0},subset:dv},uv={exact:function hx(e,t){return kt(e,t)},subset:function px(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(n=>ov(e[n],t[n]))},ignored:()=>!0};function lv(e,t,n){return fx[n.paths](e.root,t.root,n.matrixParams)&&uv[n.queryParams](e.queryParams,t.queryParams)&&!("exact"===n.fragment&&e.fragment!==t.fragment)}function dv(e,t,n){return fv(e,t,t.segments,n)}function fv(e,t,n,r){if(e.segments.length>n.length){const i=e.segments.slice(0,n.length);return!(!Hn(i,n)||t.hasChildren()||!Ts(i,n,r))}if(e.segments.length===n.length){if(!Hn(e.segments,n)||!Ts(e.segments,n,r))return!1;for(const i in t.children)if(!e.children[i]||!dv(e.children[i],t.children[i],r))return!1;return!0}{const i=n.slice(0,e.segments.length),o=n.slice(e.segments.length);return!!(Hn(e.segments,i)&&Ts(e.segments,i,r)&&e.children[j])&&fv(e.children[j],t,o,r)}}function Ts(e,t,n){return t.every((r,i)=>uv[n](e[i].parameters,r.parameters))}class Bn{constructor(t,n,r){this.root=t,this.queryParams=n,this.fragment=r}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Br(this.queryParams)),this._queryParamMap}toString(){return yx.serialize(this)}}class H{constructor(t,n){this.segments=t,this.children=n,this.parent=null,Ee(n,(r,i)=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return As(this)}}class Vi{constructor(t,n){this.path=t,this.parameters=n}get parameterMap(){return this._parameterMap||(this._parameterMap=Br(this.parameters)),this._parameterMap}toString(){return yv(this)}}function Hn(e,t){return e.length===t.length&&e.every((n,r)=>n.path===t[r].path)}class hv{}class pv{parse(t){const n=new Ix(t);return new Bn(n.parseRootSegment(),n.parseQueryParams(),n.parseFragment())}serialize(t){const n=`/${Ui(t.root,!0)}`,r=function Cx(e){const t=Object.keys(e).map(n=>{const r=e[n];return Array.isArray(r)?r.map(i=>`${xs(n)}=${xs(i)}`).join("&"):`${xs(n)}=${xs(r)}`}).filter(n=>!!n);return t.length?`?${t.join("&")}`:""}(t.queryParams);return`${n}${r}${"string"==typeof t.fragment?`#${function vx(e){return encodeURI(e)}(t.fragment)}`:""}`}}const yx=new pv;function As(e){return e.segments.map(t=>yv(t)).join("/")}function Ui(e,t){if(!e.hasChildren())return As(e);if(t){const n=e.children[j]?Ui(e.children[j],!1):"",r=[];return Ee(e.children,(i,o)=>{o!==j&&r.push(`${o}:${Ui(i,!1)}`)}),r.length>0?`${n}(${r.join("//")})`:n}{const n=function mx(e,t){let n=[];return Ee(e.children,(r,i)=>{i===j&&(n=n.concat(t(r,i)))}),Ee(e.children,(r,i)=>{i!==j&&(n=n.concat(t(r,i)))}),n}(e,(r,i)=>i===j?[Ui(e.children[j],!1)]:[`${i}:${Ui(r,!1)}`]);return 1===Object.keys(e.children).length&&null!=e.children[j]?`${As(e)}/${n[0]}`:`${As(e)}/(${n.join("//")})`}}function gv(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function xs(e){return gv(e).replace(/%3B/gi,";")}function Dc(e){return gv(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Rs(e){return decodeURIComponent(e)}function mv(e){return Rs(e.replace(/\+/g,"%20"))}function yv(e){return`${Dc(e.path)}${function Dx(e){return Object.keys(e).map(t=>`;${Dc(t)}=${Dc(e[t])}`).join("")}(e.parameters)}`}const _x=/^[^\/()?;=#]+/;function Ps(e){const t=e.match(_x);return t?t[0]:""}const wx=/^[^=?&#]+/,bx=/^[^&#]+/;class Ix{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new H([],{}):new H([],this.parseChildren())}parseQueryParams(){const t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let n={};this.peekStartsWith("/(")&&(this.capture("/"),n=this.parseParens(!0));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1)),(t.length>0||Object.keys(n).length>0)&&(r[j]=new H(t,n)),r}parseSegment(){const t=Ps(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(t),new Vi(Rs(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const n=Ps(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){const i=Ps(this.remaining);i&&(r=i,this.capture(r))}t[Rs(n)]=Rs(r)}parseQueryParam(t){const n=function Ex(e){const t=e.match(wx);return t?t[0]:""}(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){const s=function Mx(e){const t=e.match(bx);return t?t[0]:""}(this.remaining);s&&(r=s,this.capture(r))}const i=mv(n),o=mv(r);if(t.hasOwnProperty(i)){let s=t[i];Array.isArray(s)||(s=[s],t[i]=s),s.push(o)}else t[i]=o}parseParens(t){const n={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const r=Ps(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(":")):t&&(o=j);const s=this.parseChildren();n[o]=1===Object.keys(s).length?s[j]:new H([],s),this.consumeOptional("//")}return n}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)}capture(t){if(!this.consumeOptional(t))throw new Error(`Expected "${t}".`)}}class vv{constructor(t){this._root=t}get root(){return this._root.value}parent(t){const n=this.pathFromRoot(t);return n.length>1?n[n.length-2]:null}children(t){const n=Cc(t,this._root);return n?n.children.map(r=>r.value):[]}firstChild(t){const n=Cc(t,this._root);return n&&n.children.length>0?n.children[0].value:null}siblings(t){const n=_c(t,this._root);return n.length<2?[]:n[n.length-2].children.map(i=>i.value).filter(i=>i!==t)}pathFromRoot(t){return _c(t,this._root).map(n=>n.value)}}function Cc(e,t){if(e===t.value)return t;for(const n of t.children){const r=Cc(e,n);if(r)return r}return null}function _c(e,t){if(e===t.value)return[t];for(const n of t.children){const r=_c(e,n);if(r.length)return r.unshift(t),r}return[]}class nn{constructor(t,n){this.value=t,this.children=n}toString(){return`TreeNode(${this.value})`}}function Hr(e){const t={};return e&&e.children.forEach(n=>t[n.value.outlet]=n),t}class Dv extends vv{constructor(t,n){super(t),this.snapshot=n,wc(this,t)}toString(){return this.snapshot.toString()}}function Cv(e,t){const n=function Sx(e,t){const s=new Ns([],{},{},"",{},j,t,null,e.root,-1,{});return new wv("",new nn(s,[]))}(e,t),r=new Et([new Vi("",{})]),i=new Et({}),o=new Et({}),s=new Et({}),a=new Et(""),u=new Vn(r,i,s,a,o,j,t,n.root);return u.snapshot=n.root,new Dv(new nn(u,[]),n)}class Vn{constructor(t,n,r,i,o,s,a,u){this.url=t,this.params=n,this.queryParams=r,this.fragment=i,this.data=o,this.outlet=s,this.component=a,this._futureSnapshot=u}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(q(t=>Br(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(q(t=>Br(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function _v(e,t="emptyOnly"){const n=e.pathFromRoot;let r=0;if("always"!==t)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 Tx(e){return e.reduce((t,n)=>({params:Object.assign(Object.assign({},t.params),n.params),data:Object.assign(Object.assign({},t.data),n.data),resolve:Object.assign(Object.assign({},t.resolve),n._resolvedData)}),{params:{},data:{},resolve:{}})}(n.slice(r))}class Ns{constructor(t,n,r,i,o,s,a,u,l,c,d){this.url=t,this.params=n,this.queryParams=r,this.fragment=i,this.data=o,this.outlet=s,this.component=a,this.routeConfig=u,this._urlSegment=l,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=Br(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Br(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(r=>r.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class wv extends vv{constructor(t,n){super(n),this.url=t,wc(this,n)}toString(){return Ev(this._root)}}function wc(e,t){t.value._routerState=e,t.children.forEach(n=>wc(e,n))}function Ev(e){const t=e.children.length>0?` { ${e.children.map(Ev).join(", ")} } `:"";return`${e.value}${t}`}function Ec(e){if(e.snapshot){const t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,kt(t.queryParams,n.queryParams)||e.queryParams.next(n.queryParams),t.fragment!==n.fragment&&e.fragment.next(n.fragment),kt(t.params,n.params)||e.params.next(n.params),function cx(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;++n)if(!kt(e[n],t[n]))return!1;return!0}(t.url,n.url)||e.url.next(n.url),kt(t.data,n.data)||e.data.next(n.data)}else e.snapshot=e._futureSnapshot,e.data.next(e._futureSnapshot.data)}function bc(e,t){const n=kt(e.params,t.params)&&function gx(e,t){return Hn(e,t)&&e.every((n,r)=>kt(n.parameters,t[r].parameters))}(e.url,t.url);return n&&!(!e.parent!=!t.parent)&&(!e.parent||bc(e.parent,t.parent))}function $i(e,t,n){if(n&&e.shouldReuseRoute(t.value,n.value.snapshot)){const r=n.value;r._futureSnapshot=t.value;const i=function xx(e,t,n){return t.children.map(r=>{for(const i of n.children)if(e.shouldReuseRoute(r.value,i.value.snapshot))return $i(e,r,i);return $i(e,r)})}(e,t,n);return new nn(r,i)}{if(e.shouldAttach(t.value)){const o=e.retrieve(t.value);if(null!==o){const s=o.route;return s.value._futureSnapshot=t.value,s.children=t.children.map(a=>$i(e,a)),s}}const r=function Rx(e){return new Vn(new Et(e.url),new Et(e.params),new Et(e.queryParams),new Et(e.fragment),new Et(e.data),e.outlet,e.component,e)}(t.value),i=t.children.map(o=>$i(e,o));return new nn(r,i)}}function Os(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function zi(e){return"object"==typeof e&&null!=e&&e.outlets}function Mc(e,t,n,r,i){let o={};if(r&&Ee(r,(a,u)=>{o[u]=Array.isArray(a)?a.map(l=>`${l}`):`${a}`}),e===t)return new Bn(n,o,i);const s=bv(e,t,n);return new Bn(s,o,i)}function bv(e,t,n){const r={};return Ee(e.children,(i,o)=>{r[o]=i===t?n:bv(i,t,n)}),new H(e.segments,r)}class Mv{constructor(t,n,r){if(this.isAbsolute=t,this.numberOfDoubleDots=n,this.commands=r,t&&r.length>0&&Os(r[0]))throw new Error("Root segment cannot have matrix parameters");const i=r.find(zi);if(i&&i!==av(r))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Ic{constructor(t,n,r){this.segmentGroup=t,this.processChildren=n,this.index=r}}function Iv(e,t,n){if(e||(e=new H([],{})),0===e.segments.length&&e.hasChildren())return Fs(e,t,n);const r=function Lx(e,t,n){let r=0,i=t;const o={match:!1,pathIndex:0,commandIndex:0};for(;i<e.segments.length;){if(r>=n.length)return o;const s=e.segments[i],a=n[r];if(zi(a))break;const u=`${a}`,l=r<n.length-1?n[r+1]:null;if(i>0&&void 0===u)break;if(u&&l&&"object"==typeof l&&void 0===l.outlets){if(!Tv(u,l,s))return o;r+=2}else{if(!Tv(u,{},s))return o;r++}i++}return{match:!0,pathIndex:i,commandIndex:r}}(e,t,n),i=n.slice(r.commandIndex);if(r.match&&r.pathIndex<e.segments.length){const o=new H(e.segments.slice(0,r.pathIndex),{});return o.children[j]=new H(e.segments.slice(r.pathIndex),e.children),Fs(o,0,i)}return r.match&&0===i.length?new H(e.segments,{}):r.match&&!e.hasChildren()?Sc(e,t,n):r.match?Fs(e,0,i):Sc(e,t,n)}function Fs(e,t,n){if(0===n.length)return new H(e.segments,{});{const r=function kx(e){return zi(e[0])?e[0].outlets:{[j]:e}}(n),i={};return Ee(r,(o,s)=>{"string"==typeof o&&(o=[o]),null!==o&&(i[s]=Iv(e.children[s],t,o))}),Ee(e.children,(o,s)=>{void 0===r[s]&&(i[s]=o)}),new H(e.segments,i)}}function Sc(e,t,n){const r=e.segments.slice(0,t);let i=0;for(;i<n.length;){const o=n[i];if(zi(o)){const u=jx(o.outlets);return new H(r,u)}if(0===i&&Os(n[0])){r.push(new Vi(e.segments[t].path,Sv(n[0]))),i++;continue}const s=zi(o)?o.outlets[j]:`${o}`,a=i<n.length-1?n[i+1]:null;s&&a&&Os(a)?(r.push(new Vi(s,Sv(a))),i+=2):(r.push(new Vi(s,{})),i++)}return new H(r,{})}function jx(e){const t={};return Ee(e,(n,r)=>{"string"==typeof n&&(n=[n]),null!==n&&(t[r]=Sc(new H([],{}),0,n))}),t}function Sv(e){const t={};return Ee(e,(n,r)=>t[r]=`${n}`),t}function Tv(e,t,n){return e==n.path&&kt(t,n.parameters)}class Hx{constructor(t,n,r,i){this.routeReuseStrategy=t,this.futureState=n,this.currState=r,this.forwardEvent=i}activate(t){const n=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(n,r,t),Ec(this.futureState.root),this.activateChildRoutes(n,r,t)}deactivateChildRoutes(t,n,r){const i=Hr(n);t.children.forEach(o=>{const s=o.value.outlet;this.deactivateRoutes(o,i[s],r),delete i[s]}),Ee(i,(o,s)=>{this.deactivateRouteAndItsChildren(o,r)})}deactivateRoutes(t,n,r){const i=t.value,o=n?n.value:null;if(i===o)if(i.component){const s=r.getContext(i.outlet);s&&this.deactivateChildRoutes(t,n,s.children)}else this.deactivateChildRoutes(t,n,r);else o&&this.deactivateRouteAndItsChildren(n,r)}deactivateRouteAndItsChildren(t,n){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,n):this.deactivateRouteAndOutlet(t,n)}detachAndStoreRouteSubtree(t,n){const r=n.getContext(t.value.outlet),i=r&&t.value.component?r.children:n,o=Hr(t);for(const s of Object.keys(o))this.deactivateRouteAndItsChildren(o[s],i);if(r&&r.outlet){const s=r.outlet.detach(),a=r.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:s,route:t,contexts:a})}}deactivateRouteAndOutlet(t,n){const r=n.getContext(t.value.outlet),i=r&&t.value.component?r.children:n,o=Hr(t);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(t,n,r){const i=Hr(n);t.children.forEach(o=>{this.activateRoutes(o,i[o.value.outlet],r),this.forwardEvent(new sx(o.value.snapshot))}),t.children.length&&this.forwardEvent(new ix(t.value.snapshot))}activateRoutes(t,n,r){const i=t.value,o=n?n.value:null;if(Ec(i),i===o)if(i.component){const s=r.getOrCreateContext(i.outlet);this.activateChildRoutes(t,n,s.children)}else this.activateChildRoutes(t,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),Ec(a.route.value),this.activateChildRoutes(t,null,s.children)}else{const a=function Vx(e){for(let t=e.parent;t;t=t.parent){const n=t.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig;if(n&&n.component)return null}return null}(i.snapshot),u=a?a.module.componentFactoryResolver:null;s.attachRef=null,s.route=i,s.resolver=u,s.outlet&&s.outlet.activateWith(i,u),this.activateChildRoutes(t,null,s.children)}}else this.activateChildRoutes(t,null,r)}}class Tc{constructor(t,n){this.routes=t,this.module=n}}function Cn(e){return"function"==typeof e}function Un(e){return e instanceof Bn}const qi=Symbol("INITIAL_VALUE");function Gi(){return jn(e=>UA(e.map(t=>t.pipe(no(1),function GA(...e){const t=qr(e);return De((n,r)=>{(t?gc(e,n,t):gc(e,n)).subscribe(r)})}(qi)))).pipe(Jy((t,n)=>{let r=!1;return n.reduce((i,o,s)=>i!==qi?i:(o===qi&&(r=!0),r||!1!==o&&s!==n.length-1&&!Un(o)?i:o),t)},qi),Ln(t=>t!==qi),q(t=>Un(t)?t:!0===t),no(1)))}class Wx{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new Wi,this.attachRef=null}}class Wi{constructor(){this.contexts=new Map}onChildOutletCreated(t,n){const r=this.getOrCreateContext(t);r.outlet=n,this.contexts.set(t,r)}onChildOutletDestroyed(t){const n=this.getContext(t);n&&(n.outlet=null,n.attachRef=null)}onOutletDeactivated(){const t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let n=this.getContext(t);return n||(n=new Wx,this.contexts.set(t,n)),n}getContext(t){return this.contexts.get(t)||null}}let Ac=(()=>{class e{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 Le,this.deactivateEvents=new Le,this.attachEvents=new Le,this.detachEvents=new Le,this.name=o||j,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,this.detachEvents.emit(n.instance),n}attach(n,r){this.activated=n,this._activatedRoute=r,this.location.insert(n.hostView),this.attachEvents.emit(n.instance)}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,u=new Qx(n,a,this.location.injector);this.activated=this.location.createComponent(s,this.location.length,u),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return e.\u0275fac=function(n){return new(n||e)(b(Wi),b(Dt),b(Ti),function ti(e){return function GC(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const r=n.length;let i=0;for(;i<r;){const o=n[i];if(Gd(o))break;if(0===o)i+=2;else if("number"==typeof o)for(i++;i<r&&"string"==typeof n[i];)i++;else{if(o===t)return n[i+1];i+=2}}}return null}(he(),e)}("name"),b(Nl))},e.\u0275dir=be({type:e,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"]}),e})();class Qx{constructor(t,n,r){this.route=t,this.childContexts=n,this.parent=r}get(t,n){return t===Vn?this.route:t===Wi?this.childContexts:this.parent.get(t,n)}}let Av=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=Gn({type:e,selectors:[["ng-component"]],decls:1,vars:0,template:function(n,r){1&n&&Sr(0,"router-outlet")},directives:[Ac],encapsulation:2}),e})();function xv(e,t=""){for(let n=0;n<e.length;n++){const r=e[n];Zx(r,Kx(t,r))}}function Zx(e,t){e.children&&xv(e.children,t)}function Kx(e,t){return t?e||t.path?e&&!t.path?`${e}/`:!e&&t.path?t.path:`${e}/${t.path}`:"":e}function xc(e){const t=e.children&&e.children.map(xc),n=t?Object.assign(Object.assign({},e),{children:t}):Object.assign({},e);return!n.component&&(t||n.loadChildren)&&n.outlet&&n.outlet!==j&&(n.component=Av),n}function lt(e){return e.outlet||j}function Rv(e,t){const n=e.filter(r=>lt(r)===t);return n.push(...e.filter(r=>lt(r)!==t)),n}const Pv={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function ks(e,t,n){var r;if(""===t.path)return"full"===t.pathMatch&&(e.hasChildren()||n.length>0)?Object.assign({},Pv):{matched:!0,consumedSegments:[],remainingSegments:n,parameters:{},positionalParamSegments:{}};const o=(t.matcher||lx)(n,e,t);if(!o)return Object.assign({},Pv);const s={};Ee(o.posParams,(u,l)=>{s[l]=u.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,remainingSegments:n.slice(o.consumed.length),parameters:a,positionalParamSegments:null!==(r=o.posParams)&&void 0!==r?r:{}}}function Ls(e,t,n,r,i="corrected"){if(n.length>0&&function Xx(e,t,n){return n.some(r=>js(e,t,r)&<(r)!==j)}(e,n,r)){const s=new H(t,function Yx(e,t,n,r){const i={};i[j]=r,r._sourceSegment=e,r._segmentIndexShift=t.length;for(const o of n)if(""===o.path&<(o)!==j){const s=new H([],{});s._sourceSegment=e,s._segmentIndexShift=t.length,i[lt(o)]=s}return i}(e,t,r,new H(n,e.children)));return s._sourceSegment=e,s._segmentIndexShift=t.length,{segmentGroup:s,slicedSegments:[]}}if(0===n.length&&function eR(e,t,n){return n.some(r=>js(e,t,r))}(e,n,r)){const s=new H(e.segments,function Jx(e,t,n,r,i,o){const s={};for(const a of r)if(js(e,n,a)&&!i[lt(a)]){const u=new H([],{});u._sourceSegment=e,u._segmentIndexShift="legacy"===o?e.segments.length:t.length,s[lt(a)]=u}return Object.assign(Object.assign({},i),s)}(e,t,n,r,e.children,i));return s._sourceSegment=e,s._segmentIndexShift=t.length,{segmentGroup:s,slicedSegments:n}}const o=new H(e.segments,e.children);return o._sourceSegment=e,o._segmentIndexShift=t.length,{segmentGroup:o,slicedSegments:n}}function js(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path}function Nv(e,t,n,r){return!!(lt(e)===r||r!==j&&js(t,n,e))&&("**"===e.path||ks(t,e,n).matched)}function Ov(e,t,n){return 0===t.length&&!e.children[n]}class Bs{constructor(t){this.segmentGroup=t||null}}class Fv{constructor(t){this.urlTree=t}}function Qi(e){return Is(new Bs(e))}function kv(e){return Is(new Fv(e))}class iR{constructor(t,n,r,i,o){this.configLoader=n,this.urlSerializer=r,this.urlTree=i,this.config=o,this.allowRedirects=!0,this.ngModule=t.get(Zt)}apply(){const t=Ls(this.urlTree.root,[],[],this.config).segmentGroup,n=new H(t.segments,t.children);return this.expandSegmentGroup(this.ngModule,this.config,n,j).pipe(q(o=>this.createUrlTree(Rc(o),this.urlTree.queryParams,this.urlTree.fragment))).pipe(en(o=>{if(o instanceof Fv)return this.allowRedirects=!1,this.match(o.urlTree);throw o instanceof Bs?this.noMatchError(o):o}))}match(t){return this.expandSegmentGroup(this.ngModule,this.config,t.root,j).pipe(q(i=>this.createUrlTree(Rc(i),t.queryParams,t.fragment))).pipe(en(i=>{throw i instanceof Bs?this.noMatchError(i):i}))}noMatchError(t){return new Error(`Cannot match any routes. URL Segment: '${t.segmentGroup}'`)}createUrlTree(t,n,r){const i=t.segments.length>0?new H([],{[j]:t}):t;return new Bn(i,n,r)}expandSegmentGroup(t,n,r,i){return 0===r.segments.length&&r.hasChildren()?this.expandChildren(t,n,r).pipe(q(o=>new H([],o))):this.expandSegment(t,r,n,r.segments,i,!0)}expandChildren(t,n,r){const i=[];for(const o of Object.keys(r.children))"primary"===o?i.unshift(o):i.push(o);return _e(i).pipe(Lr(o=>{const s=r.children[o],a=Rv(n,o);return this.expandSegmentGroup(t,a,s,o).pipe(q(u=>({segment:u,outlet:o})))}),Jy((o,s)=>(o[s.outlet]=s.segment,o),{}),function ZA(e,t){const n=arguments.length>=2;return r=>r.pipe(e?Ln((i,o)=>e(i,o,r)):En,mc(1),n?Xy(t):Yy(()=>new Ss))}())}expandSegment(t,n,r,i,o,s){return _e(r).pipe(Lr(a=>this.expandSegmentAgainstRoute(t,n,r,a,i,o,s).pipe(en(l=>{if(l instanceof Bs)return P(null);throw l}))),jr(a=>!!a),en((a,u)=>{if(a instanceof Ss||"EmptyError"===a.name)return Ov(n,i,o)?P(new H([],{})):Qi(n);throw a}))}expandSegmentAgainstRoute(t,n,r,i,o,s,a){return Nv(i,n,o,s)?void 0===i.redirectTo?this.matchSegmentAgainstRoute(t,n,i,o,s):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,n,r,i,o,s):Qi(n):Qi(n)}expandSegmentAgainstRouteUsingRedirect(t,n,r,i,o,s){return"**"===i.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,r,i,s):this.expandRegularSegmentAgainstRouteUsingRedirect(t,n,r,i,o,s)}expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,r,i){const o=this.applyRedirectCommands([],r.redirectTo,{});return r.redirectTo.startsWith("/")?kv(o):this.lineralizeSegments(r,o).pipe(ye(s=>{const a=new H(s,{});return this.expandSegment(t,a,n,s,i,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(t,n,r,i,o,s){const{matched:a,consumedSegments:u,remainingSegments:l,positionalParamSegments:c}=ks(n,i,o);if(!a)return Qi(n);const d=this.applyRedirectCommands(u,i.redirectTo,c);return i.redirectTo.startsWith("/")?kv(d):this.lineralizeSegments(i,d).pipe(ye(f=>this.expandSegment(t,n,r,f.concat(l),s,!1)))}matchSegmentAgainstRoute(t,n,r,i,o){if("**"===r.path)return r.loadChildren?(r._loadedConfig?P(r._loadedConfig):this.configLoader.load(t.injector,r)).pipe(q(d=>(r._loadedConfig=d,new H(i,{})))):P(new H(i,{}));const{matched:s,consumedSegments:a,remainingSegments:u}=ks(n,r,i);return s?this.getChildConfig(t,r,i).pipe(ye(c=>{const d=c.module,f=c.routes,{segmentGroup:h,slicedSegments:p}=Ls(n,a,u,f),m=new H(h.segments,h.children);if(0===p.length&&m.hasChildren())return this.expandChildren(d,f,m).pipe(q(w=>new H(a,w)));if(0===f.length&&0===p.length)return P(new H(a,{}));const D=lt(r)===o;return this.expandSegment(d,m,f,p,D?j:o,!0).pipe(q(g=>new H(a.concat(g.segments),g.children)))})):Qi(n)}getChildConfig(t,n,r){return n.children?P(new Tc(n.children,t)):n.loadChildren?void 0!==n._loadedConfig?P(n._loadedConfig):this.runCanLoadGuards(t.injector,n,r).pipe(ye(i=>i?this.configLoader.load(t.injector,n).pipe(q(o=>(n._loadedConfig=o,o))):function nR(e){return Is(vc(`Cannot load children because the guard of the route "path: '${e.path}'" returned false`))}(n))):P(new Tc([],t))}runCanLoadGuards(t,n,r){const i=n.canLoad;return i&&0!==i.length?P(i.map(s=>{const a=t.get(s);let u;if(function $x(e){return e&&Cn(e.canLoad)}(a))u=a.canLoad(n,r);else{if(!Cn(a))throw new Error("Invalid CanLoad guard");u=a(n,r)}return Lt(u)})).pipe(Gi(),Ye(s=>{if(!Un(s))return;const a=vc(`Redirecting to "${this.urlSerializer.serialize(s)}"`);throw a.url=s,a}),q(s=>!0===s)):P(!0)}lineralizeSegments(t,n){let r=[],i=n.root;for(;;){if(r=r.concat(i.segments),0===i.numberOfChildren)return P(r);if(i.numberOfChildren>1||!i.children[j])return Is(new Error(`Only absolute redirects can have named outlets. redirectTo: '${t.redirectTo}'`));i=i.children[j]}}applyRedirectCommands(t,n,r){return this.applyRedirectCreatreUrlTree(n,this.urlSerializer.parse(n),t,r)}applyRedirectCreatreUrlTree(t,n,r,i){const o=this.createSegmentGroup(t,n.root,r,i);return new Bn(o,this.createQueryParams(n.queryParams,this.urlTree.queryParams),n.fragment)}createQueryParams(t,n){const r={};return Ee(t,(i,o)=>{if("string"==typeof i&&i.startsWith(":")){const a=i.substring(1);r[o]=n[a]}else r[o]=i}),r}createSegmentGroup(t,n,r,i){const o=this.createSegments(t,n.segments,r,i);let s={};return Ee(n.children,(a,u)=>{s[u]=this.createSegmentGroup(t,a,r,i)}),new H(o,s)}createSegments(t,n,r,i){return n.map(o=>o.path.startsWith(":")?this.findPosParam(t,o,i):this.findOrReturn(o,r))}findPosParam(t,n,r){const i=r[n.path.substring(1)];if(!i)throw new Error(`Cannot redirect to '${t}'. Cannot find '${n.path}'.`);return i}findOrReturn(t,n){let r=0;for(const i of n){if(i.path===t.path)return n.splice(r),i;r++}return t}}function Rc(e){const t={};for(const r of Object.keys(e.children)){const o=Rc(e.children[r]);(o.segments.length>0||o.hasChildren())&&(t[r]=o)}return function oR(e){if(1===e.numberOfChildren&&e.children[j]){const t=e.children[j];return new H(e.segments.concat(t.segments),t.children)}return e}(new H(e.segments,t))}class Lv{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class Hs{constructor(t,n){this.component=t,this.route=n}}function aR(e,t,n){const r=e._root;return Zi(r,t?t._root:null,n,[r.value])}function Vs(e,t,n){const r=function lR(e){if(!e)return null;for(let t=e.parent;t;t=t.parent){const n=t.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig}return null}(t);return(r?r.module.injector:n).get(e)}function Zi(e,t,n,r,i={canDeactivateChecks:[],canActivateChecks:[]}){const o=Hr(t);return e.children.forEach(s=>{(function cR(e,t,n,r,i={canDeactivateChecks:[],canActivateChecks:[]}){const o=e.value,s=t?t.value:null,a=n?n.getContext(e.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){const u=function dR(e,t,n){if("function"==typeof n)return n(e,t);switch(n){case"pathParamsChange":return!Hn(e.url,t.url);case"pathParamsOrQueryParamsChange":return!Hn(e.url,t.url)||!kt(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!bc(e,t)||!kt(e.queryParams,t.queryParams);default:return!bc(e,t)}}(s,o,o.routeConfig.runGuardsAndResolvers);u?i.canActivateChecks.push(new Lv(r)):(o.data=s.data,o._resolvedData=s._resolvedData),Zi(e,t,o.component?a?a.children:null:n,r,i),u&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new Hs(a.outlet.component,s))}else s&&Ki(t,a,i),i.canActivateChecks.push(new Lv(r)),Zi(e,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]}),Ee(o,(s,a)=>Ki(s,n.getContext(a),i)),i}function Ki(e,t,n){const r=Hr(e),i=e.value;Ee(r,(o,s)=>{Ki(o,i.component?t?t.children.getContext(s):null:t,n)}),n.canDeactivateChecks.push(new Hs(i.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,i))}class CR{}function jv(e){return new ae(t=>t.error(e))}class wR{constructor(t,n,r,i,o,s){this.rootComponentType=t,this.config=n,this.urlTree=r,this.url=i,this.paramsInheritanceStrategy=o,this.relativeLinkResolution=s}recognize(){const t=Ls(this.urlTree.root,[],[],this.config.filter(s=>void 0===s.redirectTo),this.relativeLinkResolution).segmentGroup,n=this.processSegmentGroup(this.config,t,j);if(null===n)return null;const r=new Ns([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},j,this.rootComponentType,null,this.urlTree.root,-1,{}),i=new nn(r,n),o=new wv(this.url,i);return this.inheritParamsAndData(o._root),o}inheritParamsAndData(t){const n=t.value,r=_v(n,this.paramsInheritanceStrategy);n.params=Object.freeze(r.params),n.data=Object.freeze(r.data),t.children.forEach(i=>this.inheritParamsAndData(i))}processSegmentGroup(t,n,r){return 0===n.segments.length&&n.hasChildren()?this.processChildren(t,n):this.processSegment(t,n,n.segments,r)}processChildren(t,n){const r=[];for(const o of Object.keys(n.children)){const s=n.children[o],a=Rv(t,o),u=this.processSegmentGroup(a,s,o);if(null===u)return null;r.push(...u)}const i=Bv(r);return function ER(e){e.sort((t,n)=>t.value.outlet===j?-1:n.value.outlet===j?1:t.value.outlet.localeCompare(n.value.outlet))}(i),i}processSegment(t,n,r,i){for(const o of t){const s=this.processSegmentAgainstRoute(o,n,r,i);if(null!==s)return s}return Ov(n,r,i)?[]:null}processSegmentAgainstRoute(t,n,r,i){if(t.redirectTo||!Nv(t,n,r,i))return null;let o,s=[],a=[];if("**"===t.path){const h=r.length>0?av(r).parameters:{};o=new Ns(r,h,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Uv(t),lt(t),t.component,t,Hv(n),Vv(n)+r.length,$v(t))}else{const h=ks(n,t,r);if(!h.matched)return null;s=h.consumedSegments,a=h.remainingSegments,o=new Ns(s,h.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Uv(t),lt(t),t.component,t,Hv(n),Vv(n)+s.length,$v(t))}const u=function bR(e){return e.children?e.children:e.loadChildren?e._loadedConfig.routes:[]}(t),{segmentGroup:l,slicedSegments:c}=Ls(n,s,a,u.filter(h=>void 0===h.redirectTo),this.relativeLinkResolution);if(0===c.length&&l.hasChildren()){const h=this.processChildren(u,l);return null===h?null:[new nn(o,h)]}if(0===u.length&&0===c.length)return[new nn(o,[])];const d=lt(t)===i,f=this.processSegment(u,l,c,d?j:i);return null===f?null:[new nn(o,f)]}}function MR(e){const t=e.value.routeConfig;return t&&""===t.path&&void 0===t.redirectTo}function Bv(e){const t=[],n=new Set;for(const r of e){if(!MR(r)){t.push(r);continue}const i=t.find(o=>r.value.routeConfig===o.value.routeConfig);void 0!==i?(i.children.push(...r.children),n.add(i)):t.push(r)}for(const r of n){const i=Bv(r.children);t.push(new nn(r.value,i))}return t.filter(r=>!n.has(r))}function Hv(e){let t=e;for(;t._sourceSegment;)t=t._sourceSegment;return t}function Vv(e){let t=e,n=t._segmentIndexShift?t._segmentIndexShift:0;for(;t._sourceSegment;)t=t._sourceSegment,n+=t._segmentIndexShift?t._segmentIndexShift:0;return n-1}function Uv(e){return e.data||{}}function $v(e){return e.resolve||{}}function zv(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e)]}function Pc(e){return jn(t=>{const n=e(t);return n?_e(n).pipe(q(()=>t)):P(t)})}class NR extends class PR{shouldDetach(t){return!1}store(t,n){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,n){return t.routeConfig===n.routeConfig}}{}const Nc=new V("ROUTES");class qv{constructor(t,n,r,i){this.injector=t,this.compiler=n,this.onLoadStartListener=r,this.onLoadEndListener=i}load(t,n){if(n._loader$)return n._loader$;this.onLoadStartListener&&this.onLoadStartListener(n);const i=this.loadModuleFactory(n.loadChildren).pipe(q(o=>{this.onLoadEndListener&&this.onLoadEndListener(n);const s=o.create(t);return new Tc(sv(s.injector.get(Nc,void 0,T.Self|T.Optional)).map(xc),s)}),en(o=>{throw n._loader$=void 0,o}));return n._loader$=new qA(i,()=>new jt).pipe(Ky()),n._loader$}loadModuleFactory(t){return Lt(t()).pipe(ye(n=>n instanceof Zg?P(n):_e(this.compiler.compileModuleAsync(n))))}}class FR{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,n){return t}}function kR(e){throw e}function LR(e,t,n){return t.parse("/")}function Gv(e,t){return P(null)}const jR={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},BR={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let $e=(()=>{class e{constructor(n,r,i,o,s,a,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.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new jt,this.errorHandler=kR,this.malformedUriErrorHandler=LR,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:Gv,afterPreactivation:Gv},this.urlHandlingStrategy=new FR,this.routeReuseStrategy=new NR,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=s.get(Zt),this.console=s.get(Pm);const d=s.get(we);this.isNgZoneEnabled=d instanceof we&&we.isInAngularZone(),this.resetConfig(u),this.currentUrlTree=function dx(){return new Bn(new H([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new qv(s,a,f=>this.triggerEvent(new tv(f)),f=>this.triggerEvent(new nv(f))),this.routerState=Cv(this.currentUrlTree,this.rootComponentType),this.transitions=new Et({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(Ln(i=>0!==i.id),q(i=>Object.assign(Object.assign({},i),{extractedUrl:this.urlHandlingStrategy.extract(i.rawUrl)})),jn(i=>{let o=!1,s=!1;return P(i).pipe(Ye(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}}),jn(a=>{const u=this.browserUrlTree.toString(),l=!this.navigated||a.extractedUrl.toString()!==u||u!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||l)&&this.urlHandlingStrategy.shouldProcessUrl(a.rawUrl))return Wv(a.source)&&(this.browserUrlTree=a.extractedUrl),P(a).pipe(jn(d=>{const f=this.transitions.getValue();return r.next(new yc(d.id,this.serializeUrl(d.extractedUrl),d.source,d.restoredState)),f!==this.transitions.getValue()?Vt:Promise.resolve(d)}),function sR(e,t,n,r){return jn(i=>function rR(e,t,n,r,i){return new iR(e,t,n,r,i).apply()}(e,t,n,i.extractedUrl,r).pipe(q(o=>Object.assign(Object.assign({},i),{urlAfterRedirects:o}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),Ye(d=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:d.urlAfterRedirects})}),function IR(e,t,n,r,i){return ye(o=>function _R(e,t,n,r,i="emptyOnly",o="legacy"){try{const s=new wR(e,t,n,r,i,o).recognize();return null===s?jv(new CR):P(s)}catch(s){return jv(s)}}(e,t,o.urlAfterRedirects,n(o.urlAfterRedirects),r,i).pipe(q(s=>Object.assign(Object.assign({},o),{targetSnapshot:s}))))}(this.rootComponentType,this.config,d=>this.serializeUrl(d),this.paramsInheritanceStrategy,this.relativeLinkResolution),Ye(d=>{if("eager"===this.urlUpdateStrategy){if(!d.extras.skipLocationChange){const h=this.urlHandlingStrategy.merge(d.urlAfterRedirects,d.rawUrl);this.setBrowserUrl(h,d)}this.browserUrlTree=d.urlAfterRedirects}const f=new YA(d.id,this.serializeUrl(d.extractedUrl),this.serializeUrl(d.urlAfterRedirects),d.targetSnapshot);r.next(f)}));if(l&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:f,extractedUrl:h,source:p,restoredState:m,extras:D}=a,v=new yc(f,this.serializeUrl(h),p,m);r.next(v);const g=Cv(h,this.rootComponentType).snapshot;return P(Object.assign(Object.assign({},a),{targetSnapshot:g,urlAfterRedirects:h,extras:Object.assign(Object.assign({},D),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=a.rawUrl,a.resolve(null),Vt}),Pc(a=>{const{targetSnapshot:u,id:l,extractedUrl:c,rawUrl:d,extras:{skipLocationChange:f,replaceUrl:h}}=a;return this.hooks.beforePreactivation(u,{navigationId:l,appliedUrlTree:c,rawUrlTree:d,skipLocationChange:!!f,replaceUrl:!!h})}),Ye(a=>{const u=new XA(a.id,this.serializeUrl(a.extractedUrl),this.serializeUrl(a.urlAfterRedirects),a.targetSnapshot);this.triggerEvent(u)}),q(a=>Object.assign(Object.assign({},a),{guards:aR(a.targetSnapshot,a.currentSnapshot,this.rootContexts)})),function fR(e,t){return ye(n=>{const{targetSnapshot:r,currentSnapshot:i,guards:{canActivateChecks:o,canDeactivateChecks:s}}=n;return 0===s.length&&0===o.length?P(Object.assign(Object.assign({},n),{guardsResult:!0})):function hR(e,t,n,r){return _e(e).pipe(ye(i=>function DR(e,t,n,r,i){const o=t&&t.routeConfig?t.routeConfig.canDeactivate:null;return o&&0!==o.length?P(o.map(a=>{const u=Vs(a,t,i);let l;if(function Gx(e){return e&&Cn(e.canDeactivate)}(u))l=Lt(u.canDeactivate(e,t,n,r));else{if(!Cn(u))throw new Error("Invalid CanDeactivate guard");l=Lt(u(e,t,n,r))}return l.pipe(jr())})).pipe(Gi()):P(!0)}(i.component,i.route,n,t,r)),jr(i=>!0!==i,!0))}(s,r,i,e).pipe(ye(a=>a&&function Ux(e){return"boolean"==typeof e}(a)?function pR(e,t,n,r){return _e(t).pipe(Lr(i=>gc(function mR(e,t){return null!==e&&t&&t(new rx(e)),P(!0)}(i.route.parent,r),function gR(e,t){return null!==e&&t&&t(new ox(e)),P(!0)}(i.route,r),function vR(e,t,n){const r=t[t.length-1],o=t.slice(0,t.length-1).reverse().map(s=>function uR(e){const t=e.routeConfig?e.routeConfig.canActivateChild:null;return t&&0!==t.length?{node:e,guards:t}:null}(s)).filter(s=>null!==s).map(s=>Zy(()=>P(s.guards.map(u=>{const l=Vs(u,s.node,n);let c;if(function qx(e){return e&&Cn(e.canActivateChild)}(l))c=Lt(l.canActivateChild(r,e));else{if(!Cn(l))throw new Error("Invalid CanActivateChild guard");c=Lt(l(r,e))}return c.pipe(jr())})).pipe(Gi())));return P(o).pipe(Gi())}(e,i.path,n),function yR(e,t,n){const r=t.routeConfig?t.routeConfig.canActivate:null;if(!r||0===r.length)return P(!0);const i=r.map(o=>Zy(()=>{const s=Vs(o,t,n);let a;if(function zx(e){return e&&Cn(e.canActivate)}(s))a=Lt(s.canActivate(t,e));else{if(!Cn(s))throw new Error("Invalid CanActivate guard");a=Lt(s(t,e))}return a.pipe(jr())}));return P(i).pipe(Gi())}(e,i.route,n))),jr(i=>!0!==i,!0))}(r,o,e,t):P(a)),q(a=>Object.assign(Object.assign({},n),{guardsResult:a})))})}(this.ngModule.injector,a=>this.triggerEvent(a)),Ye(a=>{if(Un(a.guardsResult)){const l=vc(`Redirecting to "${this.serializeUrl(a.guardsResult)}"`);throw l.url=a.guardsResult,l}const u=new ex(a.id,this.serializeUrl(a.extractedUrl),this.serializeUrl(a.urlAfterRedirects),a.targetSnapshot,!!a.guardsResult);this.triggerEvent(u)}),Ln(a=>!!a.guardsResult||(this.restoreHistory(a),this.cancelNavigationTransition(a,""),!1)),Pc(a=>{if(a.guards.canActivateChecks.length)return P(a).pipe(Ye(u=>{const l=new tx(u.id,this.serializeUrl(u.extractedUrl),this.serializeUrl(u.urlAfterRedirects),u.targetSnapshot);this.triggerEvent(l)}),jn(u=>{let l=!1;return P(u).pipe(function SR(e,t){return ye(n=>{const{targetSnapshot:r,guards:{canActivateChecks:i}}=n;if(!i.length)return P(n);let o=0;return _e(i).pipe(Lr(s=>function TR(e,t,n,r){return function AR(e,t,n,r){const i=zv(e);if(0===i.length)return P({});const o={};return _e(i).pipe(ye(s=>function xR(e,t,n,r){const i=Vs(e,t,r);return Lt(i.resolve?i.resolve(t,n):i(t,n))}(e[s],t,n,r).pipe(Ye(a=>{o[s]=a}))),mc(1),ye(()=>zv(o).length===i.length?P(o):Vt))}(e._resolve,e,t,r).pipe(q(o=>(e._resolvedData=o,e.data=Object.assign(Object.assign({},e.data),_v(e,n).resolve),null)))}(s.route,r,e,t)),Ye(()=>o++),mc(1),ye(s=>o===i.length?P(n):Vt))})}(this.paramsInheritanceStrategy,this.ngModule.injector),Ye({next:()=>l=!0,complete:()=>{l||(this.restoreHistory(u),this.cancelNavigationTransition(u,"At least one route resolver didn't emit any value."))}}))}),Ye(u=>{const l=new nx(u.id,this.serializeUrl(u.extractedUrl),this.serializeUrl(u.urlAfterRedirects),u.targetSnapshot);this.triggerEvent(l)}))}),Pc(a=>{const{targetSnapshot:u,id:l,extractedUrl:c,rawUrl:d,extras:{skipLocationChange:f,replaceUrl:h}}=a;return this.hooks.afterPreactivation(u,{navigationId:l,appliedUrlTree:c,rawUrlTree:d,skipLocationChange:!!f,replaceUrl:!!h})}),q(a=>{const u=function Ax(e,t,n){const r=$i(e,t._root,n?n._root:void 0);return new Dv(r,t)}(this.routeReuseStrategy,a.targetSnapshot,a.currentRouterState);return Object.assign(Object.assign({},a),{targetRouterState:u})}),Ye(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)}),((e,t,n)=>q(r=>(new Hx(t,r.targetRouterState,r.currentRouterState,n).activate(e),r)))(this.rootContexts,this.routeReuseStrategy,a=>this.triggerEvent(a)),Ye({next(){o=!0},complete(){o=!0}}),function KA(e){return De((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}(()=>{var a;o||s||this.cancelNavigationTransition(i,`Navigation ID ${i.id} is not equal to the current navigation id ${this.navigationId}`),(null===(a=this.currentNavigation)||void 0===a?void 0:a.id)===i.id&&(this.currentNavigation=null)}),en(a=>{if(s=!0,function ux(e){return e&&e[iv]}(a)){const u=Un(a.url);u||(this.navigated=!0,this.restoreHistory(i,!0));const l=new ev(i.id,this.serializeUrl(i.extractedUrl),a.message);r.next(l),u?setTimeout(()=>{const c=this.urlHandlingStrategy.merge(a.url,this.rawUrlTree),d={skipLocationChange:i.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||Wv(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 u=new JA(i.id,this.serializeUrl(i.extractedUrl),a);r.next(u);try{i.resolve(this.errorHandler(a))}catch(l){i.reject(l)}}return Vt}))}))}resetRootComponentType(n){this.rootComponentType=n,this.routerState.root.component=this.rootComponentType}setTransition(n){this.transitions.next(Object.assign(Object.assign({},this.transitions.value),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="popstate"===n.type?"popstate":"hashchange";"popstate"===r&&setTimeout(()=>{var i;const o={replaceUrl:!0},s=(null===(i=n.state)||void 0===i?void 0:i.navigationId)?n.state:null;if(s){const u=Object.assign({},s);delete u.navigationId,delete u.\u0275routerPageId,0!==Object.keys(u).length&&(o.state=u)}const a=this.parseUrl(n.url);this.scheduleNavigation(a,r,s,o)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(n){this.events.next(n)}resetConfig(n){xv(n),this.config=n.map(xc),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:u}=r,l=i||this.routerState.root,c=u?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 Px(e,t,n,r,i){if(0===n.length)return Mc(t.root,t.root,t.root,r,i);const o=function Nx(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new Mv(!0,0,e);let t=0,n=!1;const r=e.reduce((i,o,s)=>{if("object"==typeof o&&null!=o){if(o.outlets){const a={};return Ee(o.outlets,(u,l)=>{a[l]="string"==typeof u?u.split("/"):u}),[...i,{outlets:a}]}if(o.segmentPath)return[...i,o.segmentPath]}return"string"!=typeof o?[...i,o]:0===s?(o.split("/").forEach((a,u)=>{0==u&&"."===a||(0==u&&""===a?n=!0:".."===a?t++:""!=a&&i.push(a))}),i):[...i,o]},[]);return new Mv(n,t,r)}(n);if(o.toRoot())return Mc(t.root,t.root,new H([],{}),r,i);const s=function Ox(e,t,n){if(e.isAbsolute)return new Ic(t.root,!0,0);if(-1===n.snapshot._lastPathIndex){const o=n.snapshot._urlSegment;return new Ic(o,o===t.root,0)}const r=Os(e.commands[0])?0:1;return function Fx(e,t,n){let r=e,i=t,o=n;for(;o>i;){if(o-=i,r=r.parent,!r)throw new Error("Invalid number of '../'");i=r.segments.length}return new Ic(r,!1,i-o)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+r,e.numberOfDoubleDots)}(o,t,e),a=s.processChildren?Fs(s.segmentGroup,s.index,o.commands):Iv(s.segmentGroup,s.index,o.commands);return Mc(t.root,s.segmentGroup,a,r,i)}(l,this.currentUrlTree,n,d,null!=c?c:null)}navigateByUrl(n,r={skipLocationChange:!1}){const i=Un(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 HR(e){for(let t=0;t<e.length;t++){const n=e[t];if(null==n)throw new Error(`The requested path contains ${n} segment at index ${t}`)}}(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({},jR):!1===r?Object.assign({},BR):r,Un(n))return lv(this.currentUrlTree,n,i);const o=this.parseUrl(n);return lv(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 Hi(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,u;if(this.disposed)return Promise.resolve(!1);let l,c,d;s?(l=s.resolve,c=s.reject,d=s.promise):d=new Promise((p,m)=>{l=p,c=m});const f=++this.navigationId;let h;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(i=this.location.getState()),h=i&&i.\u0275routerPageId?i.\u0275routerPageId:o.replaceUrl||o.skipLocationChange?null!==(a=this.browserPageId)&&void 0!==a?a:0:(null!==(u=this.browserPageId)&&void 0!==u?u:0)+1):h=0,this.setTransition({id:f,targetPageId:h,source:r,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:n,extras:o,resolve:l,reject:c,promise:d,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),d.catch(p=>Promise.reject(p))}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 ev(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 e.\u0275fac=function(n){Vu()},e.\u0275prov=x({token:e,factory:e.\u0275fac}),e})();function Wv(e){return"imperative"!==e}class Qv{}class Zv{preload(t,n){return P(null)}}let Kv=(()=>{class e{constructor(n,r,i,o){this.router=n,this.injector=i,this.preloadingStrategy=o,this.loader=new qv(i,r,u=>n.triggerEvent(new tv(u)),u=>n.triggerEvent(new nv(u)))}setUpPreloading(){this.subscription=this.router.events.pipe(Ln(n=>n instanceof Hi),Lr(()=>this.preload())).subscribe(()=>{})}preload(){const n=this.injector.get(Zt);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 _e(i).pipe(zr(),q(o=>{}))}preloadConfig(n,r){return this.preloadingStrategy.preload(r,()=>(r._loadedConfig?P(r._loadedConfig):this.loader.load(n.injector,r)).pipe(ye(o=>(r._loadedConfig=o,this.processRoutes(o.module,o.routes)))))}}return e.\u0275fac=function(n){return new(n||e)(E($e),E(Nm),E(Oe),E(Qv))},e.\u0275prov=x({token:e,factory:e.\u0275fac}),e})(),kc=(()=>{class e{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 yc?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=n.navigationTrigger,this.restoredId=n.restoredState?n.restoredState.navigationId:0):n instanceof Hi&&(this.lastId=n.id,this.scheduleScrollEvent(n,this.router.parseUrl(n.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(n=>{n instanceof rv&&(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 rv(n,"popstate"===this.lastSource?this.store[this.restoredId]:null,r))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return e.\u0275fac=function(n){Vu()},e.\u0275prov=x({token:e,factory:e.\u0275fac}),e})();const $n=new V("ROUTER_CONFIGURATION"),Jv=new V("ROUTER_FORROOT_GUARD"),zR=[Hl,{provide:hv,useClass:pv},{provide:$e,useFactory:function ZR(e,t,n,r,i,o,s={},a,u){const l=new $e(null,e,t,n,r,i,sv(o));return a&&(l.urlHandlingStrategy=a),u&&(l.routeReuseStrategy=u),function KR(e,t){e.errorHandler&&(t.errorHandler=e.errorHandler),e.malformedUriErrorHandler&&(t.malformedUriErrorHandler=e.malformedUriErrorHandler),e.onSameUrlNavigation&&(t.onSameUrlNavigation=e.onSameUrlNavigation),e.paramsInheritanceStrategy&&(t.paramsInheritanceStrategy=e.paramsInheritanceStrategy),e.relativeLinkResolution&&(t.relativeLinkResolution=e.relativeLinkResolution),e.urlUpdateStrategy&&(t.urlUpdateStrategy=e.urlUpdateStrategy),e.canceledNavigationResolution&&(t.canceledNavigationResolution=e.canceledNavigationResolution)}(s,l),s.enableTracing&&l.events.subscribe(c=>{var d,f;null===(d=console.group)||void 0===d||d.call(console,`Router Event: ${c.constructor.name}`),console.log(c.toString()),console.log(c),null===(f=console.groupEnd)||void 0===f||f.call(console)}),l},deps:[hv,Wi,Hl,Oe,Nm,Nc,$n,[class OR{},new cn],[class RR{},new cn]]},Wi,{provide:Vn,useFactory:function JR(e){return e.routerState.root},deps:[$e]},Kv,Zv,class $R{preload(t,n){return n().pipe(en(()=>P(null)))}},{provide:$n,useValue:{enableTracing:!1}}];function qR(){return new jm("Router",$e)}let Yv=(()=>{class e{constructor(n,r){}static forRoot(n,r){return{ngModule:e,providers:[zR,Xv(n),{provide:Jv,useFactory:QR,deps:[[$e,new cn,new ui]]},{provide:$n,useValue:r||{}},{provide:kr,useFactory:WR,deps:[kn,[new Ao(Bl),new cn],$n]},{provide:kc,useFactory:GR,deps:[$e,OT,$n]},{provide:Qv,useExisting:r&&r.preloadingStrategy?r.preloadingStrategy:Zv},{provide:jm,multi:!0,useFactory:qR},[Lc,{provide:El,multi:!0,useFactory:YR,deps:[Lc]},{provide:eD,useFactory:XR,deps:[Lc]},{provide:Rm,multi:!0,useExisting:eD}]]}}static forChild(n){return{ngModule:e,providers:[Xv(n)]}}}return e.\u0275fac=function(n){return new(n||e)(E(Jv,8),E($e,8))},e.\u0275mod=zt({type:e}),e.\u0275inj=bt({}),e})();function GR(e,t,n){return n.scrollOffset&&t.setOffset(n.scrollOffset),new kc(e,t,n)}function WR(e,t,n={}){return n.useHash?new mS(e,t):new iy(e,t)}function QR(e){return"guarded"}function Xv(e){return[{provide:YC,multi:!0,useValue:e},{provide:Nc,multi:!0,useValue:e}]}let Lc=(()=>{class e{constructor(n){this.injector=n,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new jt}appInitializer(){return this.injector.get(hS,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($e),s=this.injector.get($n);return"disabled"===s.initialNavigation?(o.setUpLocationChangeListener(),r(!0)):"enabled"===s.initialNavigation||"enabledBlocking"===s.initialNavigation?(o.hooks.afterPreactivation=()=>this.initNavigation?P(null):(this.initNavigation=!0,r(!0),this.resultOfPreactivationDone),o.initialNavigation()):r(!0),i})}bootstrapListener(n){const r=this.injector.get($n),i=this.injector.get(Kv),o=this.injector.get(kc),s=this.injector.get($e),a=this.injector.get(Rl);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 e.\u0275fac=function(n){return new(n||e)(E(Oe))},e.\u0275prov=x({token:e,factory:e.\u0275fac}),e})();function YR(e){return e.appInitializer.bind(e)}function XR(e){return e.bootstrapListener.bind(e)}const eD=new V("Router Initializer");let tP=(()=>{class e{constructor(n){this.http=n}sendQueryRequest(n){return console.log("queryString: "+n),this.http.get("https://overpass-api.de/api/map?bbox="+n,{observe:"body",responseType:"text"})}}return e.\u0275fac=function(n){return new(n||e)(E(dc))},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),nP=(()=>{class e{constructor(){this.nodeList=[],this.nodeTagList=[],this.wayList=[],this.wayTagList=[],this.placeList=[]}parseOsmContent(n){this.nodeList=[],this.nodeTagList=[],this.wayList=[],this.wayTagList=[],this.placeList=[];let r=n.split("\n"),i=[],o=[];for(let a of r)a.includes("<node")?a.includes("/>")?(this.createNode([a]),i=[]):i.push(a):a.includes("</node>")?(this.createNode(i),i=[]):i.length>0?i.push(a):a.includes("<way")?o.push(a):a.includes("</way>")?(this.createWay(o),o=[]):o.length>0&&o.push(a);return{nodes:this.nodeList,nodeTags:this.nodeTagList,ways:this.wayList,wayTags:this.wayTagList,places:this.placeList}}createContact(n){let r={};for(let i of n)if(i.includes("<tag ")){let o=i.split('k="')[1].split('"')[0],s=i.split('v="')[1].split('"')[0];"contact:phone"==o?r.phone=s:"contact:website"==o?r.website=s:"contact:email"==o?r.email=s:"contact:fax"==o?r.fax=s:"contact:facebook"==o?r.facebook=s:"contact:twitter"==o?r.twitter=s:"contact:instagram"==o?r.instagram=s:"contact:youtube"==o?r.youtube=s:"contact:ok"==o?r.ok=s:"contact:vk"==o?r.vk=s:"contact:whatsapp"==o?r.whatsapp=s:"contact:telegram"==o?r.telegram=s:"contact:skype"==o?r.skype=s:"contact:linkedin"==o?r.linkedin=s:"contact:sip"==o?r.sip=s:"contact:diaspora"==o?r.diaspora=s:"contact:gnusocial"==o?r.gnusocial=s:"contact:xing"==o?r.xing=s:"contact:flickr"==o?r.flickr=s:"contact:foursquare"==o&&(r.foursquare=s)}return r}createAddress(n){let r={};for(let i of n)if(i.includes("<tag ")){let o=i.split('k="')[1].split('"')[0],s=i.split('v="')[1].split('"')[0];"addr:street"==o?r.street=s:"addr:housenumber"==o?r.housenumber=s:"addr:postcode"==o?r.postcode=s:"addr:city"==o?r.city=s:"addr:country"==o?r.country=s:"addr:state"==o?r.state=s:"addr:province"==o?r.province=s:"addr:suburb"==o?r.suburb=s:"addr:place"==o&&(r.place=s)}return r}createPlace(n,r){let i={nodeIds:[]};i.address=this.createAddress(n),i.contact=this.createContact(n);for(let o of n)if(o.includes("<tag ")){let s=o.split('k="')[1].split('"')[0],a=o.split('v="')[1].split('"')[0];"amenity"==s&&!r||"shop"==s&&r?i.type=a:"name"==s?i.name=a:"opening_hours"==s&&(i.openingHours=a)}else o.includes("<nd ")?i.nodeIds.push(o.split('ref="')[1].split('"')[0]):o.includes("<node")&&i.nodeIds.push(o.split('id="')[1].split('"')[0]);this.placeList.push(i)}createWay(n){let r={};for(let i of n)if(i.includes("<way "))r.id=i.split('id="')[1].split('"')[0],r.version=i.split('version="')[1].split('"')[0],r.changeset=i.split('changeset="')[1].split('"')[0],r.timestamp=i.split('timestamp="')[1].split('"')[0],r.user=i.split('user="')[1].split('"')[0],r.uid=i.split('uid="')[1].split('"')[0];else if(i.includes("<tag ")){let o=i.split('k="')[1].split('"')[0],s=i.split('v="')[1].split('"')[0];this.wayTagList.push({key:o,value:s}),"shop"==o?this.createPlace(n,!0):"amenity"==o&&this.createPlace(n,!1)}this.wayList.push(r)}createNode(n){let r={};for(let i of n)if(i.includes("<node "))r.id=i.split('id="')[1].split('"')[0],r.version=i.split('version="')[1].split('"')[0],r.changeset=i.split('changeset="')[1].split('"')[0],r.timestamp=i.split('timestamp="')[1].split('"')[0],r.user=i.split('user="')[1].split('"')[0],r.uid=i.split('uid="')[1].split('"')[0];else if(i.includes("<tag ")){let o=i.split('k="')[1].split('"')[0],s=i.split('v="')[1].split('"')[0];this.nodeTagList.push({key:o,value:s})}this.nodeList.push(r)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),rP=(()=>{class e{constructor(){}getPublicTransportAccessability(n){let r={isBusAccessible:!1,isTramAccessible:!1,isTrainAccessible:!1,isLightRailAccessible:!1,isMonorailAccessible:!1,isSubwayAccessible:!1};for(let i of n.nodeTags)"highway"===i.key&&"bus_stop"===i.value?r.isBusAccessible=!0:"railway"===i.key&&"tram_stop"===i.value?r.isTramAccessible=!0:"railway"===i.key&&"station"===i.value?r.isTrainAccessible=!0:"station"===i.key&&"light_rail"===i.value?r.isLightRailAccessible=!0:"station"===i.key&&"monorail"===i.value?r.isMonorailAccessible=!0:"station"===i.key&&"subway"===i.value&&(r.isSubwayAccessible=!0);return r}getOsmAnalysis(n){return{publicTransportAccessability:this.getPublicTransportAccessability(n)}}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function iP(e,t){if(1&e&&(Fe(0,"div",2)(1,"div",3)(2,"div")(3,"p",4),Ft(4,"Bus"),Ae()(),Fe(5,"div")(6,"p",4),Ft(7,"Tram"),Ae()(),Fe(8,"div")(9,"p",4),Ft(10,"Subway"),Ae()(),Fe(11,"div")(12,"p",4),Ft(13,"Train"),Ae()(),Fe(14,"div")(15,"p",4),Ft(16,"Light rail"),Ae()(),Fe(17,"div")(18,"p",4),Ft(19,"Monotrail"),Ae()()()()),2&e){const n=Ar();Ve(2),Nn("pta-circle pta-circle-",n.osmAnalysis.publicTransportAccessability.isBusAccessible,""),Ve(3),Nn("pta-circle pta-circle-",n.osmAnalysis.publicTransportAccessability.isTramAccessible,""),Ve(3),Nn("pta-circle pta-circle-",n.osmAnalysis.publicTransportAccessability.isSubwayAccessible,""),Ve(3),Nn("pta-circle pta-circle-",n.osmAnalysis.publicTransportAccessability.isTrainAccessible,""),Ve(3),Nn("pta-circle pta-circle-",n.osmAnalysis.publicTransportAccessability.isLightRailAccessible,""),Ve(3),Nn("pta-circle pta-circle-",n.osmAnalysis.publicTransportAccessability.isMonorailAccessible,"")}}let tD=(()=>{class e{constructor(n,r,i,o){this.route=n,this.overpassApiService=r,this.osmService=i,this.osmAnalysisService=o,this.status=""}ngOnInit(){this.lon=this.route.snapshot.paramMap.get("lon"),this.lat=this.route.snapshot.paramMap.get("lat");let n=parseFloat(this.lon)-.1,r=parseFloat(this.lon)+.1,i=parseFloat(this.lat)-.13,o=parseFloat(this.lat)+.13;this.status="Downloading OSM data... This might take a few minutes ",this.overpassApiService.sendQueryRequest(`${n},${i},${r},${o}`).pipe(en(s=>(console.error(s),this.status="<label style='color:rgb(209, 39, 39); font-weight:bold;'>Dowloading OSM data failed!</label> <br>You may have been set on pause by the server, because of too many requests in a short amount of time.",P("")))).subscribe(s=>{if(""!=s){let a=this.osmService.parseOsmContent(s);this.status="Analyze OSM data...",this.osmAnalysis=this.osmAnalysisService.getOsmAnalysis(a),this.status=""}})}}return e.\u0275fac=function(n){return new(n||e)(b(Vn),b(tP),b(nP),b(rP))},e.\u0275cmp=Gn({type:e,selectors:[["app-analyze"]],decls:2,vars:2,consts:[[3,"innerHTML"],["class","result-container center",4,"ngIf"],[1,"result-container","center"],[1,"result-container-pta"],[1,"pta-circle-text"]],template:function(n,r){1&n&&(Sr(0,"h5",0),wi(1,iP,20,18,"div",1)),2&n&&(pn("innerHTML",r.status,Tf),Ve(1),pn("ngIf",r.osmAnalysis))},directives:[Kl],styles:["h5[_ngcontent-%COMP%]{padding-top:30px;text-align:center}.result-container[_ngcontent-%COMP%]{padding-top:30px;width:700px}.result-container[_ngcontent-%COMP%] .result-container-pta[_ngcontent-%COMP%]{height:100px;border-bottom:1px solid #3f3f3f}.result-container[_ngcontent-%COMP%] .pta-circle[_ngcontent-%COMP%]{width:65px;height:65px;border-radius:50%;margin-left:44px;border:5px solid transparent;background-color:#fafafa1a;display:flex;justify-content:center;align-items:center;float:left;background-size:30px 30px;background-repeat:no-repeat;background-position:center}.result-container[_ngcontent-%COMP%] .pta-circle[_ngcontent-%COMP%] .pta-circle-text[_ngcontent-%COMP%]{margin-top:85px;font-size:10pt;font-weight:700;display:block}.result-container[_ngcontent-%COMP%] .pta-circle-true[_ngcontent-%COMP%]{border-color:#4ce78c;background-image:url(/local-analyzer-angular/assets/images/tick.svg)}.result-container[_ngcontent-%COMP%] .pta-circle-false[_ngcontent-%COMP%]{border-color:#d12727;background-image:url(/local-analyzer-angular/assets/images/cross.svg)}"]}),e})(),oP=(()=>{class e{constructor(n){this.http=n}sendQueryRequest(n){return this.http.get("https://photon.komoot.io/api/?q="+n)}}return e.\u0275fac=function(n){return new(n||e)(E(dc))},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function sP(e,t){if(1&e){const n=qu();Fe(0,"div",7),Tr("click",function(){ya(n);const i=Ar().$implicit;return Ar(2).analyze(i.geometry.coordinates[0],i.geometry.coordinates[1])}),Fe(1,"span")(2,"b"),Ft(3),Ae(),Ft(4),Ae()()}if(2&e){const n=Ar().$implicit;Ve(3),Zu(n.properties.name),Ve(1),Ju(" ",n.properties.postcode," ",n.properties.city," ",n.properties.country," ")}}function aP(e,t){if(1&e&&(Fe(0,"div"),wi(1,sP,5,4,"div",6),Ae()),2&e){const n=t.$implicit;Ve(1),pn("ngIf",n.geometry.coordinates&&(null==n.geometry?null:n.geometry.coordinates).length>=2)}}function uP(e,t){if(1&e&&(Fe(0,"div",4),Sr(1,"br"),wi(2,aP,2,1,"div",5),Ae()),2&e){const n=Ar();Ve(2),pn("ngForOf",n.searchResults)}}const lP=function(e){return{active:e}};const cP=[{path:"",redirectTo:"/search",pathMatch:"full"},{path:"search",component:(()=>{class e{constructor(n,r){this.photonService=n,this.router=r}ngOnInit(){}inputChange(n){this.searchResults=[],this.photonService.sendQueryRequest(n.replace(/[0-9]/g,"")).subscribe(r=>{var i;return null===(i=r.features)||void 0===i?void 0:i.forEach(o=>{var s;null===(s=this.searchResults)||void 0===s||s.push(o)})})}analyze(n,r){this.router.navigate(["/analyze",n,r])}}return e.\u0275fac=function(n){return new(n||e)(b(oP),b($e))},e.\u0275cmp=Gn({type:e,selectors:[["app-search"]],decls:4,vars:4,consts:[[1,"search-bar","center"],["type","text","name","searchValue","placeholder","Search address (Enter to search)","tabindex","1",1,"center",3,"ngClass","change"],["searchInput",""],["class","search-results center",4,"ngIf"],[1,"search-results","center"],[4,"ngFor","ngForOf"],["class","search-result",3,"click",4,"ngIf"],[1,"search-result",3,"click"]],template:function(n,r){if(1&n){const i=qu();Fe(0,"div",0)(1,"input",1,2),Tr("change",function(){ya(i);const s=ku(2);return r.inputChange(s.value)}),Ae(),wi(3,uP,3,1,"div",3),Ae()}if(2&n){const i=ku(2);Ve(1),pn("ngClass",Xg(2,lP,i.value)),Ve(2),pn("ngIf",r.searchResults&&r.searchResults.length>0)}},directives:[gy,Kl,my],styles:[".search-bar[_ngcontent-%COMP%]{margin-top:50px;width:600px;transition:.1s;transition-timing-function:linear}.search-bar[_ngcontent-%COMP%]:hover, .search-bar[_ngcontent-%COMP%]:focus-within{width:700px}.search-bar[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{width:100%;border:2px solid #54ce68;border-radius:5px;background-color:#0000;color:#fff;font-size:1.5rem;padding:10px;letter-spacing:1.5px;outline:0!important;transition:.1s;transition-timing-function:linear}.search-bar[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:hover, .search-bar[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:focus, .search-bar[_ngcontent-%COMP%] input.active[_ngcontent-%COMP%]{border-color:#80f093;background-color:#ffffff0d;width:100%}.search-results[_ngcontent-%COMP%]{display:block;width:100%;background-color:#ffffff05;border-top:0px!important;border:2px solid #3b3b3b;margin-top:-2px;transition:.1s;transition-timing-function:linear}.search-results[_ngcontent-%COMP%]:hover{border-color:#555;background-color:#dad8d808}.search-results[_ngcontent-%COMP%] .search-result[_ngcontent-%COMP%]{padding-top:10px;padding-bottom:10px;padding-left:10px;border-bottom:1px solid rgba(255,255,255,.062);font-size:12pt;cursor:pointer;transition:.1s;transition-timing-function:linear;letter-spacing:1.5px}.search-results[_ngcontent-%COMP%] .search-result[_ngcontent-%COMP%]:hover{border-left:5px solid #54ce68;padding-left:25px;background-color:#dad8d80d}"]}),e})()},{path:"analyze/:lon/:lat",component:tD}];let dP=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=zt({type:e}),e.\u0275inj=bt({imports:[[Yv.forRoot(cP)],Yv]}),e})(),fP=(()=>{class e{constructor(){this.title="LocalAnalyzer"}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=Gn({type:e,selectors:[["app-root"]],decls:3,vars:0,consts:[[1,"center"]],template:function(n,r){1&n&&(Fe(0,"h1"),Ft(1,"Analyze your local area!"),Ae(),Sr(2,"router-outlet",0))},directives:[Ac],styles:["h1[_ngcontent-%COMP%]{text-align:center;padding-top:30px;font-size:30px;font-weight:700}"]}),e})(),hP=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=zt({type:e,bootstrap:[fP]}),e.\u0275inj=bt({providers:[],imports:[[aA,dP,RA]]}),e})();(function GI(){zm=!1})(),oA().bootstrapModule(hP).catch(e=>console.error(e))}},K=>{K(K.s=791)}]); |