-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.41e7a8e435bbbcf9.js
1 lines (1 loc) · 198 KB
/
main.41e7a8e435bbbcf9.js
1
"use strict";(self.webpackChunkangularspapwa=self.webpackChunkangularspapwa||[]).push([[179],{875:()=>{function z(e){return"function"==typeof e}function zr(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 li=zr(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:\n${n.map((r,o)=>`${o+1}) ${r.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=n});function Gn(e,t){if(e){const n=e.indexOf(t);0<=n&&e.splice(n,1)}}class Ye{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 i of n)i.remove(this);else n.remove(this);const{initialTeardown:r}=this;if(z(r))try{r()}catch(i){t=i instanceof li?i.errors:[i]}const{_finalizers:o}=this;if(o){this._finalizers=null;for(const i of o)try{id(i)}catch(s){t=t??[],s instanceof li?t=[...t,...s.errors]:t.push(s)}}if(t)throw new li(t)}}add(t){var n;if(t&&t!==this)if(this.closed)id(t);else{if(t instanceof Ye){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)&&Gn(n,t)}remove(t){const{_finalizers:n}=this;n&&Gn(n,t),t instanceof Ye&&t._removeParent(this)}}Ye.EMPTY=(()=>{const e=new Ye;return e.closed=!0,e})();const rd=Ye.EMPTY;function od(e){return e instanceof Ye||e&&"closed"in e&&z(e.remove)&&z(e.add)&&z(e.unsubscribe)}function id(e){z(e)?e():e.unsubscribe()}const Dn={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},ci={setTimeout(e,t,...n){const{delegate:r}=ci;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){const{delegate:t}=ci;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function sd(e){ci.setTimeout(()=>{const{onUnhandledError:t}=Dn;if(!t)throw e;t(e)})}function di(){}const OD=fa("C",void 0,void 0);function fa(e,t,n){return{kind:e,value:t,error:n}}let wn=null;function fi(e){if(Dn.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 ha extends Ye{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,od(t)&&t.add(this)):this.destination=VD}static create(t,n,r){return new Gr(t,n,r)}next(t){this.isStopped?ga(function kD(e){return fa("N",e,void 0)}(t),this):this._next(t)}error(t){this.isStopped?ga(function FD(e){return fa("E",void 0,e)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?ga(OD,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 $D=Function.prototype.bind;function pa(e,t){return $D.call(e,t)}class jD{constructor(t){this.partialObserver=t}next(t){const{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){hi(r)}}error(t){const{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){hi(r)}else hi(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){hi(n)}}}class Gr extends ha{constructor(t,n,r){let o;if(super(),z(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&Dn.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&pa(t.next,i),error:t.error&&pa(t.error,i),complete:t.complete&&pa(t.complete,i)}):o=t}this.destination=new jD(o)}}function hi(e){Dn.useDeprecatedSynchronousErrorHandling?function LD(e){Dn.useDeprecatedSynchronousErrorHandling&&wn&&(wn.errorThrown=!0,wn.error=e)}(e):sd(e)}function ga(e,t){const{onStoppedNotification:n}=Dn;n&&ci.setTimeout(()=>n(e,t))}const VD={closed:!0,next:di,error:function UD(e){throw e},complete:di},ma="function"==typeof Symbol&&Symbol.observable||"@@observable";function Cn(e){return e}function ad(e){return 0===e.length?Cn:1===e.length?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}let re=(()=>{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,o){const i=function zD(e){return e&&e instanceof ha||function HD(e){return e&&z(e.next)&&z(e.error)&&z(e.complete)}(e)&&od(e)}(n)?n:new Gr(n,r,o);return fi(()=>{const{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return new(r=ud(r))((o,i)=>{const s=new Gr({next:a=>{try{n(a)}catch(u){i(u),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return null===(r=this.source)||void 0===r?void 0:r.subscribe(n)}[ma](){return this}pipe(...n){return ad(n)(this)}toPromise(n){return new(n=ud(n))((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function ud(e){var t;return null!==(t=e??Dn.Promise)&&void 0!==t?t:Promise}const GD=zr(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let st=(()=>{class e extends re{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){const r=new ld(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new GD}next(n){fi(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const r of this.currentObservers)r.next(n)}})}error(n){fi(()=>{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(){fi(()=>{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:o,observers:i}=this;return r||o?rd:(this.currentObservers=null,i.push(n),new Ye(()=>{this.currentObservers=null,Gn(i,n)}))}_checkFinalizedStatuses(n){const{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){const n=new re;return n.source=this,n}}return e.create=(t,n)=>new ld(t,n),e})();class ld extends st{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:rd}}function cd(e){return z(e?.lift)}function fe(e){return t=>{if(cd(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 ye(e,t,n,r,o){return new WD(e,t,n,r,o)}class WD extends ha{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(u){t.error(u)}}:super._next,this._error=o?function(a){try{o(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 $(e,t){return fe((n,r)=>{let o=0;n.subscribe(ye(r,i=>{r.next(e.call(t,i,o++))}))})}function _n(e){return this instanceof _n?(this.v=e,this):new _n(e)}function QD(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o,r=n.apply(e,t||[]),i=[];return o={},s("next"),s("throw"),s("return"),o[Symbol.asyncIterator]=function(){return this},o;function s(f){r[f]&&(o[f]=function(h){return new Promise(function(p,g){i.push([f,h,p,g])>1||a(f,h)})})}function a(f,h){try{!function u(f){f.value instanceof _n?Promise.resolve(f.value.v).then(l,c):d(i[0][2],f)}(r[f](h))}catch(p){d(i[0][3],p)}}function l(f){a("next",f)}function c(f){a("throw",f)}function d(f,h){f(h),i.shift(),i.length&&a(i[0][0],i[0][1])}}function YD(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 hd(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(i){n[i]=e[i]&&function(s){return new Promise(function(a,u){!function o(i,s,a,u){Promise.resolve(u).then(function(l){i({value:l,done:a})},s)}(a,u,(s=e[i](s)).done,s.value)})}}}const va=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function pd(e){return z(e?.then)}function gd(e){return z(e[ma])}function md(e){return Symbol.asyncIterator&&z(e?.[Symbol.asyncIterator])}function yd(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 vd=function XD(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function Dd(e){return z(e?.[vd])}function wd(e){return QD(this,arguments,function*(){const n=e.getReader();try{for(;;){const{value:r,done:o}=yield _n(n.read());if(o)return yield _n(void 0);yield yield _n(r)}}finally{n.releaseLock()}})}function Cd(e){return z(e?.getReader)}function Ve(e){if(e instanceof re)return e;if(null!=e){if(gd(e))return function JD(e){return new re(t=>{const n=e[ma]();if(z(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(va(e))return function ew(e){return new re(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}(e);if(pd(e))return function tw(e){return new re(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,sd)})}(e);if(md(e))return _d(e);if(Dd(e))return function nw(e){return new re(t=>{for(const n of e)if(t.next(n),t.closed)return;t.complete()})}(e);if(Cd(e))return function rw(e){return _d(wd(e))}(e)}throw yd(e)}function _d(e){return new re(t=>{(function ow(e,t){var n,r,o,i;return function qD(e,t,n,r){return new(n||(n=Promise))(function(i,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?i(c.value):function o(i){return i instanceof n?i:new n(function(s){s(i)})}(c.value).then(a,u)}l((r=r.apply(e,t||[])).next())})}(this,void 0,void 0,function*(){try{for(n=YD(e);!(r=yield n.next()).done;)if(t.next(r.value),t.closed)return}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})})(e,t).catch(n=>t.error(n))})}function jt(e,t,n,r=0,o=!1){const i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function ve(e,t,n=1/0){return z(t)?ve((r,o)=>$((i,s)=>t(r,i,o,s))(Ve(e(r,o))),n):("number"==typeof t&&(n=t),fe((r,o)=>function iw(e,t,n,r,o,i,s,a){const u=[];let l=0,c=0,d=!1;const f=()=>{d&&!u.length&&!l&&t.complete()},h=g=>l<r?p(g):u.push(g),p=g=>{i&&t.next(g),l++;let m=!1;Ve(n(g,c++)).subscribe(ye(t,D=>{o?.(D),i?h(D):t.next(D)},()=>{m=!0},void 0,()=>{if(m)try{for(l--;u.length&&l<r;){const D=u.shift();s?jt(t,s,()=>p(D)):p(D)}f()}catch(D){t.error(D)}}))};return e.subscribe(ye(t,h,()=>{d=!0,f()})),()=>{a?.()}}(r,o,e,n)))}function Wn(e=1/0){return ve(Cn,e)}const Tt=new re(e=>e.complete());function Ed(e){return e&&z(e.schedule)}function Da(e){return e[e.length-1]}function Wr(e){return Ed(Da(e))?e.pop():void 0}function Sd(e,t=0){return fe((n,r)=>{n.subscribe(ye(r,o=>jt(r,e,()=>r.next(o),t),()=>jt(r,e,()=>r.complete(),t),o=>jt(r,e,()=>r.error(o),t)))})}function bd(e,t=0){return fe((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Id(e,t){if(!e)throw new Error("Iterable cannot be null");return new re(n=>{jt(n,t,()=>{const r=e[Symbol.asyncIterator]();jt(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function De(e,t){return t?function pw(e,t){if(null!=e){if(gd(e))return function lw(e,t){return Ve(e).pipe(bd(t),Sd(t))}(e,t);if(va(e))return function dw(e,t){return new re(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}(e,t);if(pd(e))return function cw(e,t){return Ve(e).pipe(bd(t),Sd(t))}(e,t);if(md(e))return Id(e,t);if(Dd(e))return function fw(e,t){return new re(n=>{let r;return jt(n,t,()=>{r=e[vd](),jt(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){return void n.error(s)}i?n.complete():n.next(o)},0,!0)}),()=>z(r?.return)&&r.return()})}(e,t);if(Cd(e))return function hw(e,t){return Id(wd(e),t)}(e,t)}throw yd(e)}(e,t):Ve(e)}function wa(...e){const t=Wr(e),n=function uw(e,t){return"number"==typeof Da(e)?e.pop():t}(e,1/0),r=e;return r.length?1===r.length?Ve(r[0]):Wn(n)(De(r,t)):Tt}function Ca(e,t,...n){if(!0===t)return void e();if(!1===t)return;const r=new Gr({next:()=>{r.unsubscribe(),e()}});return Ve(t(...n)).subscribe(r)}function K(e){for(let t in e)if(e[t]===K)return t;throw Error("Could not find renamed property on target object.")}function J(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(J).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 Ea(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const mw=K({__forward_ref__:K});function Sa(e){return e.__forward_ref__=Sa,e.toString=function(){return J(this())},e}function M(e){return ba(e)?e():e}function ba(e){return"function"==typeof e&&e.hasOwnProperty(mw)&&e.__forward_ref__===Sa}function Ia(e){return e&&!!e.\u0275providers}const Md="https://g.co/ng/security#xss";class w extends Error{constructor(t,n){super(function pi(e,t){return`NG0${Math.abs(e)}${t?": "+t.trim():""}`}(t,n)),this.code=t}}function O(e){return"string"==typeof e?e:null==e?"":String(e)}function gi(e,t){throw new w(-201,!1)}function at(e,t){null==e&&function Q(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function A(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Ut(e){return{providers:e.providers||[],imports:e.imports||[]}}function mi(e){return Td(e,yi)||Td(e,Rd)}function Td(e,t){return e.hasOwnProperty(t)?e[t]:null}function Ad(e){return e&&(e.hasOwnProperty(Ma)||e.hasOwnProperty(bw))?e[Ma]:null}const yi=K({\u0275prov:K}),Ma=K({\u0275inj:K}),Rd=K({ngInjectableDef:K}),bw=K({ngInjectorDef:K});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 Ta;function ut(e){const t=Ta;return Ta=e,t}function xd(e,t,n){const r=mi(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 gi(J(e))}const ee=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),qr={},Aa="__NG_DI_FLAG__",vi="ngTempTokenPath",Tw=/\n/gm,Nd="__source";let Zr;function qn(e){const t=Zr;return Zr=e,t}function Rw(e,t=T.Default){if(void 0===Zr)throw new w(-203,!1);return null===Zr?xd(e,void 0,t):Zr.get(e,t&T.Optional?null:void 0,t)}function b(e,t=T.Default){return(function Iw(){return Ta}()||Rw)(M(e),t)}function G(e,t=T.Default){return b(e,Di(t))}function Di(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Ra(e){const t=[];for(let n=0;n<e.length;n++){const r=M(e[n]);if(Array.isArray(r)){if(0===r.length)throw new w(900,!1);let o,i=T.Default;for(let s=0;s<r.length;s++){const a=r[s],u=xw(a);"number"==typeof u?-1===u?o=a.token:i|=u:o=a}t.push(b(o,i))}else t.push(b(r))}return t}function Qr(e,t){return e[Aa]=t,e.prototype[Aa]=t,e}function xw(e){return e[Aa]}function sn(e){return{toString:e}.toString()}var gt=(()=>((gt=gt||{})[gt.OnPush=0]="OnPush",gt[gt.Default=1]="Default",gt))(),At=(()=>{return(e=At||(At={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",At;var e})();const Vt={},q=[],wi=K({\u0275cmp:K}),xa=K({\u0275dir:K}),Na=K({\u0275pipe:K}),Od=K({\u0275mod:K}),Bt=K({\u0275fac:K}),Yr=K({__NG_ELEMENT_ID__:K});let Ow=0;function En(e){return sn(()=>{const n=!0===e.standalone,r={},o={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:r,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===gt.OnPush,directiveDefs:null,pipeDefs:null,standalone:n,dependencies:n&&e.dependencies||null,getStandaloneInjector:null,selectors:e.selectors||q,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||At.Emulated,id:"c"+Ow++,styles:e.styles||q,_:null,setInput:null,schemas:e.schemas||null,tView:null,findHostDirectiveDefs:null,hostDirectives:null},i=e.dependencies,s=e.features;return o.inputs=Ld(e.inputs,r),o.outputs=Ld(e.outputs),s&&s.forEach(a=>a(o)),o.directiveDefs=i?()=>("function"==typeof i?i():i).map(Fd).filter(kd):null,o.pipeDefs=i?()=>("function"==typeof i?i():i).map(Pe).filter(kd):null,o})}function Fd(e){return Y(e)||Me(e)}function kd(e){return null!==e}function an(e){return sn(()=>({type:e.type,bootstrap:e.bootstrap||q,declarations:e.declarations||q,imports:e.imports||q,exports:e.exports||q,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Ld(e,t){if(null==e)return Vt;const n={};for(const r in e)if(e.hasOwnProperty(r)){let o=e[r],i=o;Array.isArray(o)&&(i=o[1],o=o[0]),n[o]=r,t&&(t[o]=i)}return n}const Ne=En;function Y(e){return e[wi]||null}function Me(e){return e[xa]||null}function Pe(e){return e[Na]||null}function Xe(e,t){const n=e[Od]||null;if(!n&&!0===t)throw new Error(`Type ${J(e)} does not have '\u0275mod' property.`);return n}const V=11;function Je(e){return Array.isArray(e)&&"object"==typeof e[1]}function yt(e){return Array.isArray(e)&&!0===e[1]}function Fa(e){return 0!=(4&e.flags)}function eo(e){return e.componentOffset>-1}function bi(e){return 1==(1&e.flags)}function vt(e){return null!==e.template}function Lw(e){return 0!=(256&e[2])}function bn(e,t){return e.hasOwnProperty(Bt)?e[Bt]:null}class Uw{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function In(){return Hd}function Hd(e){return e.type.prototype.ngOnChanges&&(e.setInput=Bw),Vw}function Vw(){const e=Gd(this),t=e?.current;if(t){const n=e.previous;if(n===Vt)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Bw(e,t,n,r){const o=this.declaredInputs[n],i=Gd(e)||function Hw(e,t){return e[zd]=t}(e,{previous:Vt,current:null}),s=i.current||(i.current={}),a=i.previous,u=a[o];s[o]=new Uw(u&&u.currentValue,t,a===Vt),e[r]=t}In.ngInherit=!0;const zd="__ngSimpleChanges__";function Gd(e){return e[zd]||null}function Ee(e){for(;Array.isArray(e);)e=e[0];return e}function et(e,t){return Ee(t[e.index])}function Zd(e,t){return e.data[t]}function tt(e,t){const n=t[e];return Je(n)?n:n[0]}function Mi(e){return 64==(64&e[2])}function un(e,t){return null==t?null:e[t]}function Qd(e){e[18]=0}function La(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 F={lFrame:af(null),bindingsEnabled:!0};function Kd(){return F.bindingsEnabled}function v(){return F.lFrame.lView}function W(){return F.lFrame.tView}function Se(){let e=Xd();for(;null!==e&&64===e.type;)e=e.parent;return e}function Xd(){return F.lFrame.currentTNode}function xt(e,t){const n=F.lFrame;n.currentTNode=e,n.isParent=t}function $a(){return F.lFrame.isParent}function er(){return F.lFrame.bindingIndex++}function oC(e,t){const n=F.lFrame;n.bindingIndex=n.bindingRootIndex=e,Ua(t)}function Ua(e){F.lFrame.currentDirectiveIndex=e}function nf(){return F.lFrame.currentQueryIndex}function Ba(e){F.lFrame.currentQueryIndex=e}function sC(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function rf(e,t,n){if(n&T.SkipSelf){let o=t,i=e;for(;!(o=o.parent,null!==o||n&T.Host||(o=sC(i),null===o||(i=i[15],10&o.type))););if(null===o)return!1;t=o,e=i}const r=F.lFrame=sf();return r.currentTNode=t,r.lView=e,!0}function Ha(e){const t=sf(),n=e[1];F.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function sf(){const e=F.lFrame,t=null===e?null:e.child;return null===t?af(e):t}function af(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 uf(){const e=F.lFrame;return F.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const lf=uf;function za(){const e=uf();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 ke(){return F.lFrame.selectedIndex}function Mn(e){F.lFrame.selectedIndex=e}function oe(){const e=F.lFrame;return Zd(e.tView,e.selectedIndex)}function Ti(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const i=e.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:u,ngAfterViewChecked:l,ngOnDestroy:c}=i;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 Ai(e,t,n){cf(e,t,3,n)}function Ri(e,t,n,r){(3&e[2])===n&&cf(e,t,n,r)}function Ga(e,t){let n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function cf(e,t,n,r){const i=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<i||-1==i)&&(gC(e,n,t,u),e[18]=(4294901760&e[18])+u+2),u++}function gC(e,t,n,r){const o=n[r]<0,i=n[r+1],a=e[o?-n[r]:n[r]];if(o){if(e[2]>>11<e[18]>>16&&(3&e[2])===t){e[2]+=2048;try{i.call(a)}finally{}}}else try{i.call(a)}finally{}}class no{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function qa(e,t,n){let r=0;for(;r<n.length;){const o=n[r];if("number"==typeof o){if(0!==o)break;r++;const i=n[r++],s=n[r++],a=n[r++];e.setAttribute(t,s,a,i)}else{const i=o,s=n[++r];ff(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function df(e){return 3===e||4===e||6===e}function ff(e){return 64===e.charCodeAt(0)}function ro(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 o=t[r];"number"==typeof o?n=o:0===n||hf(e,n,o,null,-1===n||2===n?t[++r]:null)}}return e}function hf(e,t,n,r,o){let i=0,s=e.length;if(-1===t)s=-1;else for(;i<e.length;){const a=e[i++];if("number"==typeof a){if(a===t){s=-1;break}if(a>t){s=i-1;break}}}for(;i<e.length;){const a=e[i];if("number"==typeof a)break;if(a===n){if(null===r)return void(null!==o&&(e[i+1]=o));if(r===e[i+1])return void(e[i+2]=o)}i++,null!==r&&i++,null!==o&&i++}-1!==s&&(e.splice(s,0,t),i=s+1),e.splice(i++,0,n),null!==r&&e.splice(i++,0,r),null!==o&&e.splice(i++,0,o)}function pf(e){return-1!==e}function xi(e){return 32767&e}function Ni(e,t){let n=function DC(e){return e>>16}(e),r=t;for(;n>0;)r=r[15],n--;return r}let Za=!0;function Pi(e){const t=Za;return Za=e,t}let wC=0;const Nt={};function Oi(e,t){const n=yf(e,t);if(-1!==n)return n;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,Qa(r.data,e),Qa(t,null),Qa(r.blueprint,null));const o=Ya(e,t),i=e.injectorIndex;if(pf(o)){const s=xi(o),a=Ni(o,t),u=a[1].data;for(let l=0;l<8;l++)t[i+l]=a[s+l]|u[s+l]}return t[i+8]=o,i}function Qa(e,t){e.push(0,0,0,0,0,0,0,0,t)}function yf(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Ya(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;null!==o;){if(r=bf(o),null===r)return-1;if(n++,o=o[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function Ka(e,t,n){!function CC(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(Yr)&&(r=n[Yr]),null==r&&(r=n[Yr]=wC++);const o=255&r;t.data[e+(o>>5)]|=1<<o}(e,t,n)}function vf(e,t,n){if(n&T.Optional||void 0!==e)return e;gi()}function Df(e,t,n,r){if(n&T.Optional&&void 0===r&&(r=null),!(n&(T.Self|T.Host))){const o=e[9],i=ut(void 0);try{return o?o.get(t,r,n&T.Optional):xd(t,r,n&T.Optional)}finally{ut(i)}}return vf(r,0,n)}function wf(e,t,n,r=T.Default,o){if(null!==e){if(1024&t[2]){const s=function IC(e,t,n,r,o){let i=e,s=t;for(;null!==i&&null!==s&&1024&s[2]&&!(256&s[2]);){const a=Cf(i,s,n,r|T.Self,Nt);if(a!==Nt)return a;let u=i.parent;if(!u){const l=s[21];if(l){const c=l.get(n,Nt,r);if(c!==Nt)return c}u=bf(s),s=s[15]}i=u}return o}(e,t,n,r,Nt);if(s!==Nt)return s}const i=Cf(e,t,n,r,Nt);if(i!==Nt)return i}return Df(t,n,r,o)}function Cf(e,t,n,r,o){const i=function SC(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(Yr)?e[Yr]:void 0;return"number"==typeof t?t>=0?255&t:bC:t}(n);if("function"==typeof i){if(!rf(t,e,r))return r&T.Host?vf(o,0,r):Df(t,n,r,o);try{const s=i(r);if(null!=s||r&T.Optional)return s;gi()}finally{lf()}}else if("number"==typeof i){let s=null,a=yf(e,t),u=-1,l=r&T.Host?t[16][6]:null;for((-1===a||r&T.SkipSelf)&&(u=-1===a?Ya(e,t):t[a+8],-1!==u&&Ef(r,!1)?(s=t[1],a=xi(u),t=Ni(u,t)):a=-1);-1!==a;){const c=t[1];if(_f(i,a,c.data)){const d=EC(a,t,n,s,r,l);if(d!==Nt)return d}u=t[a+8],-1!==u&&Ef(r,t[1].data[a+8]===l)&&_f(i,a,t)?(s=c,a=xi(u),t=Ni(u,t)):a=-1}}return o}function EC(e,t,n,r,o,i){const s=t[1],a=s.data[e+8],c=Fi(a,s,n,null==r?eo(a)&&Za:r!=s&&0!=(3&a.type),o&T.Host&&i===a);return null!==c?Tn(t,s,c,a):Nt}function Fi(e,t,n,r,o){const i=e.providerIndexes,s=t.data,a=1048575&i,u=e.directiveStart,c=i>>20,f=o?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(o){const h=s[u];if(h&&vt(h)&&h.type===n)return u}return null}function Tn(e,t,n,r){let o=e[n];const i=t.data;if(function mC(e){return e instanceof no}(o)){const s=o;s.resolving&&function yw(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new w(-200,`Circular dependency in DI detected for ${e}${n}`)}(function Z(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():O(e)}(i[n]));const a=Pi(s.canSeeViewProviders);s.resolving=!0;const u=s.injectImpl?ut(s.injectImpl):null;rf(e,r,T.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&function pC(e,t,n){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){const s=Hd(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,s)}o&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,o),i&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,i),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,i))}(n,i[n],t)}finally{null!==u&&ut(u),Pi(a),s.resolving=!1,lf()}}return o}function _f(e,t,n){return!!(n[t+(e>>5)]&1<<e)}function Ef(e,t){return!(e&T.Self||e&T.Host&&t)}class nr{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return wf(this._tNode,this._lView,t,Di(r),n)}}function bC(){return new nr(Se(),v())}function Xa(e){return ba(e)?()=>{const t=Xa(M(e));return t&&t()}:bn(e)}function bf(e){const t=e[1],n=t.type;return 2===n?t.declTNode:1===n?e[6]:null}const or="__parameters__";function sr(e,t,n){return sn(()=>{const r=function Ja(e){return function(...n){if(e){const r=e(...n);for(const o in r)this[o]=r[o]}}}(t);function o(...i){if(this instanceof o)return r.apply(this,i),this;const s=new o(...i);return a.annotation=s,a;function a(u,l,c){const d=u.hasOwnProperty(or)?u[or]:Object.defineProperty(u,or,{value:[]})[or];for(;d.length<=c;)d.push(null);return(d[c]=d[c]||[]).push(s),u}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}class R{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=A({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function An(e,t){e.forEach(n=>Array.isArray(n)?An(n,t):t(n))}function Mf(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Li(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}const ao=Qr(sr("Optional"),8),uo=Qr(sr("SkipSelf"),4);var He=(()=>((He=He||{})[He.Important=1]="Important",He[He.DashCase=2]="DashCase",He))();const au=new Map;let XC=0;const lu="__ngContext__";function Re(e,t){Je(t)?(e[lu]=t[20],function e_(e){au.set(e[20],e)}(t)):e[lu]=t}function du(e,t){return undefined(e,t)}function ho(e){const t=e[3];return yt(t)?t[3]:t}function fu(e){return Zf(e[13])}function hu(e){return Zf(e[4])}function Zf(e){for(;null!==e&&!yt(e);)e=e[4];return e}function lr(e,t,n,r,o){if(null!=r){let i,s=!1;yt(r)?i=r:Je(r)&&(s=!0,r=r[0]);const a=Ee(r);0===e&&null!==n?null==o?eh(t,n,a):Rn(t,n,a,o||null,!0):1===e&&null!==n?Rn(t,n,a,o||null,!0):2===e?function wu(e,t,n){const r=Vi(e,t);r&&function w_(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}(t,a,s):3===e&&t.destroyNode(a),null!=i&&function E_(e,t,n,r,o){const i=n[7];i!==Ee(n)&&lr(t,e,r,i,o);for(let a=10;a<n.length;a++){const u=n[a];po(u[1],u,e,t,r,i)}}(t,e,i,n,o)}}function gu(e,t,n){return e.createElement(t,n)}function Yf(e,t){const n=e[9],r=n.indexOf(t),o=t[3];512&t[2]&&(t[2]&=-513,La(o,-1)),n.splice(r,1)}function mu(e,t){if(e.length<=10)return;const n=10+t,r=e[n];if(r){const o=r[17];null!==o&&o!==e&&Yf(o,r),t>0&&(e[n-1][4]=r[4]);const i=Li(e,10+t);!function f_(e,t){po(e,t,t[V],2,null,null),t[0]=null,t[6]=null}(r[1],r);const s=i[19];null!==s&&s.detachView(i[1]),r[3]=null,r[4]=null,r[2]&=-65}return r}function Kf(e,t){if(!(128&t[2])){const n=t[V];n.destroyNode&&po(e,t,n,3,null,null),function g_(e){let t=e[13];if(!t)return yu(e[1],e);for(;t;){let n=null;if(Je(t))n=t[13];else{const r=t[10];r&&(n=r)}if(!n){for(;t&&!t[4]&&t!==e;)Je(t)&&yu(t[1],t),t=t[3];null===t&&(t=e),Je(t)&&yu(t[1],t),n=t&&t[4]}t=n}}(t)}}function yu(e,t){if(!(128&t[2])){t[2]&=-65,t[2]|=128,function D_(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r<n.length;r+=2){const o=t[n[r]];if(!(o instanceof no)){const i=n[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){const a=o[i[s]],u=i[s+1];try{u.call(a)}finally{}}else try{i.call(o)}finally{}}}}(e,t),function v_(e,t){const n=e.cleanup,r=t[7];let o=-1;if(null!==n)for(let i=0;i<n.length-1;i+=2)if("string"==typeof n[i]){const s=n[i+3];s>=0?r[o=s]():r[o=-s].unsubscribe(),i+=2}else{const s=r[o=n[i+1]];n[i].call(s)}if(null!==r){for(let i=o+1;i<r.length;i++)(0,r[i])();t[7]=null}}(e,t),1===t[1].type&&t[V].destroy();const n=t[17];if(null!==n&&yt(t[3])){n!==t[3]&&Yf(n,t);const r=t[19];null!==r&&r.detachView(e)}!function t_(e){au.delete(e[20])}(t)}}function Xf(e,t,n){return function Jf(e,t,n){let r=t;for(;null!==r&&40&r.type;)r=(t=r).parent;if(null===r)return n[0];{const{componentOffset:o}=r;if(o>-1){const{encapsulation:i}=e.data[r.directiveStart+o];if(i===At.None||i===At.Emulated)return null}return et(r,n)}}(e,t.parent,n)}function Rn(e,t,n,r,o){e.insertBefore(t,n,r,o)}function eh(e,t,n){e.appendChild(t,n)}function th(e,t,n,r,o){null!==r?Rn(e,t,n,r,o):eh(e,t,n)}function Vi(e,t){return e.parentNode(t)}let Eu,Gi,oh=function rh(e,t,n){return 40&e.type?et(e,n):null};function Bi(e,t,n,r){const o=Xf(e,r,t),i=t[V],a=function nh(e,t,n){return oh(e,t,n)}(r.parent||t[6],r,t);if(null!=o)if(Array.isArray(n))for(let u=0;u<n.length;u++)th(i,o,n[u],a,!1);else th(i,o,n,a,!1)}function Hi(e,t){if(null!==t){const n=t.type;if(3&n)return et(t,e);if(4&n)return Du(-1,e[t.index]);if(8&n){const r=t.child;if(null!==r)return Hi(e,r);{const o=e[t.index];return yt(o)?Du(-1,o):Ee(o)}}if(32&n)return du(t,e)()||Ee(e[t.index]);{const r=sh(e,t);return null!==r?Array.isArray(r)?r[0]:Hi(ho(e[16]),r):Hi(e,t.next)}}return null}function sh(e,t){return null!==t?e[16][6].projection[t.projection]:null}function Du(e,t){const n=10+e+1;if(n<t.length){const r=t[n],o=r[1].firstChild;if(null!==o)return Hi(r,o)}return t[7]}function Cu(e,t,n,r,o,i,s){for(;null!=n;){const a=r[n.index],u=n.type;if(s&&0===t&&(a&&Re(Ee(a),r),n.flags|=2),32!=(32&n.flags))if(8&u)Cu(e,t,n.child,r,o,i,!1),lr(t,e,o,a,i);else if(32&u){const l=du(n,r);let c;for(;c=l();)lr(t,e,o,c,i);lr(t,e,o,a,i)}else 16&u?ah(e,t,r,n,o,i):lr(t,e,o,a,i);n=s?n.projectionNext:n.next}}function po(e,t,n,r,o,i){Cu(n,r,e.firstChild,t,o,i,!1)}function ah(e,t,n,r,o,i){const s=n[16],u=s[6].projection[r.projection];if(Array.isArray(u))for(let l=0;l<u.length;l++)lr(t,e,o,u[l],i);else Cu(e,t,u,s[3],o,i,!0)}function uh(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function lh(e,t,n){const{mergedAttrs:r,classes:o,styles:i}=n;null!==r&&qa(e,t,r),null!==o&&uh(e,t,o),null!==i&&function b_(e,t,n){e.setAttribute(t,"style",n)}(e,t,i)}function hh(e){return function Su(){if(void 0===Gi&&(Gi=null,ee.trustedTypes))try{Gi=ee.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Gi}()?.createScriptURL(e)||e}class ph{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Md})`}}function ln(e){return e instanceof ph?e.changingThisBreaksApplicationSecurity:e}function go(e,t){const n=function F_(e){return e instanceof ph&&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 ${Md})`)}return n===t}const j_=/^(?:(?:https?|mailto|data|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi;var he=(()=>((he=he||{})[he.NONE=0]="NONE",he[he.HTML=1]="HTML",he[he.STYLE=2]="STYLE",he[he.SCRIPT=3]="SCRIPT",he[he.URL=4]="URL",he[he.RESOURCE_URL=5]="RESOURCE_URL",he))();function Ch(e){const t=yo();return t?t.sanitize(he.URL,e)||"":go(e,"URL")?ln(e):function bu(e){return(e=String(e)).match(j_)?e:"unsafe:"+e}(O(e))}function _h(e){const t=yo();if(t)return hh(t.sanitize(he.RESOURCE_URL,e)||"");if(go(e,"ResourceURL"))return hh(ln(e));throw new w(904,!1)}function yo(){const e=v();return e&&e[12]}const qi=new R("ENVIRONMENT_INITIALIZER"),Sh=new R("INJECTOR",-1),bh=new R("INJECTOR_DEF_TYPES");class Ih{get(t,n=qr){if(n===qr){const r=new Error(`NullInjectorError: No provider for ${J(t)}!`);throw r.name="NullInjectorError",r}return n}}function X_(...e){return{\u0275providers:Mh(0,e),\u0275fromNgModule:!0}}function Mh(e,...t){const n=[],r=new Set;let o;return An(t,i=>{const s=i;Au(s,n,[],r)&&(o||(o=[]),o.push(s))}),void 0!==o&&Th(o,n),n}function Th(e,t){for(let n=0;n<e.length;n++){const{providers:o}=e[n];Ru(o,i=>{t.push(i)})}}function Au(e,t,n,r){if(!(e=M(e)))return!1;let o=null,i=Ad(e);const s=!i&&Y(e);if(i||s){if(s&&!s.standalone)return!1;o=e}else{const u=e.ngModule;if(i=Ad(u),!i)return!1;o=u}const a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){const u="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const l of u)Au(l,t,n,r)}}else{if(!i)return!1;{if(null!=i.imports&&!a){let l;r.add(o);try{An(i.imports,c=>{Au(c,t,n,r)&&(l||(l=[]),l.push(c))})}finally{}void 0!==l&&Th(l,t)}if(!a){const l=bn(o)||(()=>new o);t.push({provide:o,useFactory:l,deps:q},{provide:bh,useValue:o,multi:!0},{provide:qi,useValue:()=>b(o),multi:!0})}const u=i.providers;null==u||a||Ru(u,c=>{t.push(c)})}}return o!==e&&void 0!==e.providers}function Ru(e,t){for(let n of e)Ia(n)&&(n=n.\u0275providers),Array.isArray(n)?Ru(n,t):t(n)}const J_=K({provide:String,useValue:K});function xu(e){return null!==e&&"object"==typeof e&&J_ in e}function Nn(e){return"function"==typeof e}const Nu=new R("Set Injector scope."),Zi={},tE={};let Pu;function Qi(){return void 0===Pu&&(Pu=new Ih),Pu}class qt{}class xh extends qt{get destroyed(){return this._destroyed}constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Fu(t,s=>this.processProvider(s)),this.records.set(Sh,cr(void 0,this)),o.has("environment")&&this.records.set(qt,cr(void 0,this));const i=this.records.get(Nu);null!=i&&"string"==typeof i.value&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(bh.multi,q,T.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();for(const t of this._onDestroyHooks)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(t){this._onDestroyHooks.push(t)}runInContext(t){this.assertNotDestroyed();const n=qn(this),r=ut(void 0);try{return t()}finally{qn(n),ut(r)}}get(t,n=qr,r=T.Default){this.assertNotDestroyed(),r=Di(r);const o=qn(this),i=ut(void 0);try{if(!(r&T.SkipSelf)){let a=this.records.get(t);if(void 0===a){const u=function sE(e){return"function"==typeof e||"object"==typeof e&&e instanceof R}(t)&&mi(t);a=u&&this.injectableDefInScope(u)?cr(Ou(t),Zi):null,this.records.set(t,a)}if(null!=a)return this.hydrate(t,a)}return(r&T.Self?Qi():this.parent).get(t,n=r&T.Optional&&n===qr?null:n)}catch(s){if("NullInjectorError"===s.name){if((s[vi]=s[vi]||[]).unshift(J(t)),o)throw s;return function Nw(e,t,n,r){const o=e[vi];throw t[Nd]&&o.unshift(t[Nd]),e.message=function Pw(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let o=J(t);if(Array.isArray(t))o=t.map(J).join(" -> ");else if("object"==typeof t){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];i.push(s+":"+("string"==typeof a?JSON.stringify(a):J(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(Tw,"\n ")}`}("\n"+e.message,o,n,r),e.ngTokenPath=o,e[vi]=null,e}(s,t,"R3InjectorError",this.source)}throw s}finally{ut(i),qn(o)}}resolveInjectorInitializers(){const t=qn(this),n=ut(void 0);try{const r=this.get(qi.multi,q,T.Self);for(const o of r)o()}finally{qn(t),ut(n)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(J(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new w(205,!1)}processProvider(t){let n=Nn(t=M(t))?t:M(t&&t.provide);const r=function rE(e){return xu(e)?cr(void 0,e.useValue):cr(function Nh(e,t,n){let r;if(Nn(e)){const o=M(e);return bn(o)||Ou(o)}if(xu(e))r=()=>M(e.useValue);else if(function Rh(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...Ra(e.deps||[]));else if(function Ah(e){return!(!e||!e.useExisting)}(e))r=()=>b(M(e.useExisting));else{const o=M(e&&(e.useClass||e.provide));if(!function oE(e){return!!e.deps}(e))return bn(o)||Ou(o);r=()=>new o(...Ra(e.deps))}return r}(e),Zi)}(t);if(Nn(t)||!0!==t.multi)this.records.get(n);else{let o=this.records.get(n);o||(o=cr(void 0,Zi,!0),o.factory=()=>Ra(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===Zi&&(n.value=tE,n.value=n.factory()),"object"==typeof n.value&&n.value&&function iE(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=M(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}}function Ou(e){const t=mi(e),n=null!==t?t.factory:bn(e);if(null!==n)return n;if(e instanceof R)throw new w(204,!1);if(e instanceof Function)return function nE(e){const t=e.length;if(t>0)throw function so(e,t){const n=[];for(let r=0;r<e;r++)n.push(t);return n}(t,"?"),new w(204,!1);const n=function Ew(e){const t=e&&(e[yi]||e[Rd]);if(t){const n=function Sw(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 w(204,!1)}function cr(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Fu(e,t){for(const n of e)Array.isArray(n)?Fu(n,t):n&&Ia(n)?Fu(n.\u0275providers,t):t(n)}class aE{}class Ph{}class lE{resolveComponentFactory(t){throw function uE(e){const t=Error(`No component factory found for ${J(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let vo=(()=>{class e{}return e.NULL=new lE,e})();function cE(){return dr(Se(),v())}function dr(e,t){return new cn(et(e,t))}let cn=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=cE,e})();function dE(e){return e instanceof cn?e.nativeElement:e}class Fh{}let Yi=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function fE(){const e=v(),n=tt(Se().index,e);return(Je(n)?n:e)[V]}(),e})(),hE=(()=>{class e{}return e.\u0275prov=A({token:e,providedIn:"root",factory:()=>null}),e})();class Ki{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const pE=new Ki("15.1.3"),ku={};function $u(e){return e.ngOriginalError}class fr{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&$u(t);for(;n&&$u(n);)n=$u(n);return n||null}}function Zt(e){return e instanceof Function?e():e}function Lh(e,t,n){let r=e.length;for(;;){const o=e.indexOf(t,n);if(-1===o)return o;if(0===o||e.charCodeAt(o-1)<=32){const i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}const $h="ng-template";function bE(e,t,n){let r=0;for(;r<e.length;){let o=e[r++];if(n&&"class"===o){if(o=e[r],-1!==Lh(o.toLowerCase(),t,0))return!0}else if(1===o){for(;r<e.length&&"string"==typeof(o=e[r++]);)if(o.toLowerCase()===t)return!0;return!1}}return!1}function jh(e){return 4===e.type&&e.value!==$h}function IE(e,t,n){return t===(4!==e.type||n?e.value:$h)}function ME(e,t,n){let r=4;const o=e.attrs||[],i=function RE(e){for(let t=0;t<e.length;t++)if(df(e[t]))return t;return e.length}(o);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&&!IE(e,u,n)||""===u&&1===t.length){if(Dt(r))return!1;s=!0}}else{const l=8&r?u:t[++a];if(8&r&&null!==e.attrs){if(!bE(e.attrs,l,n)){if(Dt(r))return!1;s=!0}continue}const d=TE(8&r?"class":u,o,jh(e),n);if(-1===d){if(Dt(r))return!1;s=!0;continue}if(""!==l){let f;f=d>i?"":o[d+1].toLowerCase();const h=8&r?f:null;if(h&&-1!==Lh(h,l,0)||2&r&&l!==f){if(Dt(r))return!1;s=!0}}}}else{if(!s&&!Dt(r)&&!Dt(u))return!1;if(s&&Dt(u))continue;s=!1,r=u|1&r}}return Dt(r)||s}function Dt(e){return 0==(1&e)}function TE(e,t,n,r){if(null===t)return-1;let o=0;if(r||!n){let i=!1;for(;o<t.length;){const s=t[o];if(s===e)return o;if(3===s||6===s)i=!0;else{if(1===s||2===s){let a=t[++o];for(;"string"==typeof a;)a=t[++o];continue}if(4===s)break;if(0===s){o+=4;continue}}o+=i?1:2}return-1}return function xE(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 Uh(e,t,n=!1){for(let r=0;r<t.length;r++)if(ME(e,t[r],n))return!0;return!1}function Vh(e,t){return e?":not("+t.trim()+")":t}function PE(e){let t=e[0],n=1,r=2,o="",i=!1;for(;n<e.length;){let s=e[n];if("string"==typeof s)if(2&r){const a=e[++n];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else 8&r?o+="."+s:4&r&&(o+=" "+s);else""!==o&&!Dt(s)&&(t+=Vh(i,o),o=""),r=s,i=i||!Dt(r);n++}return""!==o&&(t+=Vh(i,o)),t}const k={};function ju(e){Bh(W(),v(),ke()+e,!1)}function Bh(e,t,n,r){if(!r)if(3==(3&t[2])){const i=e.preOrderCheckHooks;null!==i&&Ai(t,i,n)}else{const i=e.preOrderHooks;null!==i&&Ri(t,i,0,n)}Mn(n)}function Wh(e,t=null,n=null,r){const o=qh(e,t,n,r);return o.resolveInjectorInitializers(),o}function qh(e,t=null,n=null,r,o=new Set){const i=[n||q,X_(e)];return r=r||("object"==typeof e?void 0:J(e)),new xh(i,t||Qi(),r||null,o)}let wt=(()=>{class e{static create(n,r){if(Array.isArray(n))return Wh({name:""},r,n,"");{const o=n.name??"";return Wh({name:o},n.parent,n.providers,o)}}}return e.THROW_IF_NOT_FOUND=qr,e.NULL=new Ih,e.\u0275prov=A({token:e,providedIn:"any",factory:()=>b(Sh)}),e.__NG_ELEMENT_ID__=-1,e})();function x(e,t=T.Default){const n=v();return null===n?b(e,t):wf(Se(),n,M(e),t)}function tp(e,t){const n=e.contentQueries;if(null!==n)for(let r=0;r<n.length;r+=2){const i=n[r+1];if(-1!==i){const s=e.data[i];Ba(n[r]),s.contentQueries(2,t[i],i)}}}function Ji(e,t,n,r,o,i,s,a,u,l,c){const d=t.blueprint.slice();return d[0]=o,d[2]=76|r,(null!==c||e&&1024&e[2])&&(d[2]|=1024),Qd(d),d[3]=d[15]=e,d[8]=n,d[10]=s||e&&e[10],d[V]=a||e&&e[V],d[12]=u||e&&e[12]||null,d[9]=l||e&&e[9]||null,d[6]=i,d[20]=function JC(){return XC++}(),d[21]=c,d[16]=2==t.type?e[16]:d,d}function gr(e,t,n,r,o){let i=e.data[t];if(null===i)i=function zu(e,t,n,r,o){const i=Xd(),s=$a(),u=e.data[t]=function iS(e,t,n,r,o,i){return{type:n,index:r,insertBeforeIndex:null,injectorIndex:t?t.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:0,providerIndexes:0,value:o,attrs:i,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?i:i&&i.parent,n,t,r,o);return null===e.firstChild&&(e.firstChild=u),null!==i&&(s?null==i.child&&null!==u.parent&&(i.child=u):null===i.next&&(i.next=u)),u}(e,t,n,r,o),function rC(){return F.lFrame.inI18n}()&&(i.flags|=32);else if(64&i.type){i.type=n,i.value=r,i.attrs=o;const s=function to(){const e=F.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();i.injectorIndex=null===s?-1:s.injectorIndex}return xt(i,!0),i}function Do(e,t,n,r){if(0===n)return-1;const o=t.length;for(let i=0;i<n;i++)t.push(r),e.blueprint.push(r),e.data.push(null);return o}function Gu(e,t,n){Ha(t);try{const r=e.viewQuery;null!==r&&tl(1,r,n);const o=e.template;null!==o&&np(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&tp(e,t),e.staticViewQueries&&tl(2,e.viewQuery,n);const i=e.components;null!==i&&function nS(e,t){for(let n=0;n<t.length;n++)SS(e,t[n])}(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[2]&=-5,za()}}function es(e,t,n,r){const o=t[2];if(128!=(128&o)){Ha(t);try{Qd(t),function ef(e){return F.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&np(e,t,n,2,r);const s=3==(3&o);if(s){const l=e.preOrderCheckHooks;null!==l&&Ai(t,l,null)}else{const l=e.preOrderHooks;null!==l&&Ri(t,l,0,null),Ga(t,0)}if(function _S(e){for(let t=fu(e);null!==t;t=hu(t)){if(!t[2])continue;const n=t[9];for(let r=0;r<n.length;r++){const o=n[r];512&o[2]||La(o[3],1),o[2]|=512}}}(t),function CS(e){for(let t=fu(e);null!==t;t=hu(t))for(let n=10;n<t.length;n++){const r=t[n],o=r[1];Mi(r)&&es(o,r,o.template,r[8])}}(t),null!==e.contentQueries&&tp(e,t),s){const l=e.contentCheckHooks;null!==l&&Ai(t,l)}else{const l=e.contentHooks;null!==l&&Ri(t,l,1),Ga(t,1)}!function eS(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let r=0;r<n.length;r++){const o=n[r];if(o<0)Mn(~o);else{const i=o,s=n[++r],a=n[++r];oC(s,i),a(2,t[i])}}}finally{Mn(-1)}}(e,t);const a=e.components;null!==a&&function tS(e,t){for(let n=0;n<t.length;n++)ES(e,t[n])}(t,a);const u=e.viewQuery;if(null!==u&&tl(2,u,r),s){const l=e.viewCheckHooks;null!==l&&Ai(t,l)}else{const l=e.viewHooks;null!==l&&Ri(t,l,2),Ga(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[2]&=-41,512&t[2]&&(t[2]&=-513,La(t[3],-1))}finally{za()}}}function np(e,t,n,r,o){const i=ke(),s=2&r;try{Mn(-1),s&&t.length>22&&Bh(e,t,22,!1),n(r,o)}finally{Mn(i)}}function Wu(e,t,n){if(Fa(t)){const o=t.directiveEnd;for(let i=t.directiveStart;i<o;i++){const s=e.data[i];s.contentQueries&&s.contentQueries(1,n[i],i)}}}function rp(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=Qu(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function Qu(e,t,n,r,o,i,s,a,u,l){const c=22+r,d=c+o,f=function rS(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:k);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 i?i():i,pipeRegistry:"function"==typeof s?s():s,firstChild:null,schemas:u,consts:h,incompleteFirstPass:!1}}function op(e,t,n,r){const o=dp(t);null===n?o.push(r):(o.push(n),e.firstCreatePass&&fp(e).push(r,o.length-1))}function ip(e,t,n,r){for(let o in e)if(e.hasOwnProperty(o)){n=null===n?{}:n;const i=e[o];null===r?sp(n,t,o,i):r.hasOwnProperty(o)&&sp(n,t,r[o],i)}return n}function sp(e,t,n,r){e.hasOwnProperty(n)?e[n].push(t,r):e[n]=[t,r]}function ap(e,t){const n=tt(t,e);16&n[2]||(n[2]|=32)}function up(e,t,n,r,o,i){for(let l=0;l<r.length;l++)Ka(Oi(n,t),e,r[l].type);!function mS(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}(n,e.data.length,r.length);for(let l=0;l<r.length;l++){const c=r[l];c.providersResolver&&c.providersResolver(c)}let s=!1,a=!1,u=Do(e,t,r.length,null);for(let l=0;l<r.length;l++){const c=r[l];n.mergedAttrs=ro(n.mergedAttrs,c.hostAttrs),yS(e,n,t,u,c),gS(u,c,o),null!==c.contentQueries&&(n.flags|=4),(null!==c.hostBindings||null!==c.hostAttrs||0!==c.hostVars)&&(n.flags|=64);const d=c.type.prototype;!s&&(d.ngOnChanges||d.ngOnInit||d.ngDoCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n.index),s=!0),!a&&(d.ngOnChanges||d.ngDoCheck)&&((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n.index),a=!0),u++}!function sS(e,t,n){const o=t.directiveEnd,i=e.data,s=t.attrs,a=[];let u=null,l=null;for(let c=t.directiveStart;c<o;c++){const d=i[c],f=n?n.get(d):null,p=f?f.outputs:null;u=ip(d.inputs,c,u,f?f.inputs:null),l=ip(d.outputs,c,l,p);const g=null===u||null===s||jh(t)?null:wS(u,c,s);a.push(g)}null!==u&&(u.hasOwnProperty("class")&&(t.flags|=8),u.hasOwnProperty("style")&&(t.flags|=16)),t.initialInputs=a,t.inputs=u,t.outputs=l}(e,n,i)}function lp(e,t,n){const r=n.directiveStart,o=n.directiveEnd,i=n.index,s=function iC(){return F.lFrame.currentDirectiveIndex}();try{Mn(i);for(let a=r;a<o;a++){const u=e.data[a],l=t[a];Ua(a),(null!==u.hostBindings||0!==u.hostVars||null!==u.hostAttrs)&&fS(u,l)}}finally{Mn(-1),Ua(s)}}function fS(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Ku(e,t,n){t.componentOffset=n,(e.components||(e.components=[])).push(t.index)}function gS(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;vt(t)&&(n[""]=e)}}function yS(e,t,n,r,o){e.data[r]=o;const i=o.factory||(o.factory=bn(o.type)),s=new no(i,vt(o),x);e.blueprint[r]=s,n[r]=s,function lS(e,t,n,r,o){const i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;null===s&&(s=e.hostBindingOpCodes=[]);const a=~t.index;(function cS(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(s)!=a&&s.push(a),s.push(n,r,i)}}(e,t,r,Do(e,n,o.hostVars,k),o)}function Pt(e,t,n,r,o,i){const s=et(e,t);!function Xu(e,t,n,r,o,i,s){if(null==i)e.removeAttribute(t,o,n);else{const a=null==s?O(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}(t[V],s,i,e.value,n,r,o)}function DS(e,t,n,r,o,i){const s=i[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 wS(e,t,n){let r=null,o=0;for(;o<n.length;){const i=n[o];if(0!==i)if(5!==i){if("number"==typeof i)break;if(e.hasOwnProperty(i)){null===r&&(r=[]);const s=e[i];for(let a=0;a<s.length;a+=2)if(s[a]===t){r.push(i,s[a+1],n[o+1]);break}}o+=2}else o+=2;else o+=4}return r}function ES(e,t){const n=tt(t,e);if(Mi(n)){const r=n[1];48&n[2]?es(r,n,r.template,n[8]):n[5]>0&&Ju(n)}}function Ju(e){for(let r=fu(e);null!==r;r=hu(r))for(let o=10;o<r.length;o++){const i=r[o];if(Mi(i))if(512&i[2]){const s=i[1];es(s,i,s.template,i[8])}else i[5]>0&&Ju(i)}const n=e[1].components;if(null!==n)for(let r=0;r<n.length;r++){const o=tt(n[r],e);Mi(o)&&o[5]>0&&Ju(o)}}function SS(e,t){const n=tt(t,e),r=n[1];(function bS(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])})(r,n),Gu(r,n,n[8])}function ts(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function el(e){for(;e;){e[2]|=32;const t=ho(e);if(Lw(e)&&!t)return e;e=t}return null}function ns(e,t,n,r=!0){const o=t[10];o.begin&&o.begin();try{es(e,t,e.template,n)}catch(s){throw r&&pp(t,s),s}finally{o.end&&o.end()}}function tl(e,t,n){Ba(0),t(e,n)}function dp(e){return e[7]||(e[7]=[])}function fp(e){return e.cleanup||(e.cleanup=[])}function pp(e,t){const n=e[9],r=n?n.get(fr,null):null;r&&r.handleError(t)}function nl(e,t,n,r,o){for(let i=0;i<n.length;){const s=n[i++],a=n[i++],u=t[s],l=e.data[s];null!==l.setInput?l.setInput(u,o,r,a):u[a]=o}}function rs(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(null!==t)for(let s=0;s<t.length;s++){const a=t[s];"number"==typeof a?i=a:1==i?o=Ea(o,a):2==i&&(r=Ea(r,a+": "+t[++s]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function os(e,t,n,r,o=!1){for(;null!==n;){const i=t[n.index];if(null!==i&&r.push(Ee(i)),yt(i))for(let a=10;a<i.length;a++){const u=i[a],l=u[1].firstChild;null!==l&&os(u[1],u,l,r)}const s=n.type;if(8&s)os(e,t,n.child,r);else if(32&s){const a=du(n,t);let u;for(;u=a();)r.push(u)}else if(16&s){const a=sh(t,n);if(Array.isArray(a))r.push(...a);else{const u=ho(t[16]);os(u[1],u,a,r,!0)}}n=o?n.projectionNext:n.next}return r}class wo{get rootNodes(){const t=this._lView,n=t[1];return os(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[8]}set context(t){this._lView[8]=t}get destroyed(){return 128==(128&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[3];if(yt(t)){const n=t[8],r=n?n.indexOf(this):-1;r>-1&&(mu(t,r),Li(n,r))}this._attachedToViewContainer=!1}Kf(this._lView[1],this._lView)}onDestroy(t){op(this._lView[1],this._lView,null,t)}markForCheck(){el(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-65}reattach(){this._lView[2]|=64}detectChanges(){ns(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new w(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function p_(e,t){po(e,t,t[V],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new w(902,!1);this._appRef=t}}class IS extends wo{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;ns(t[1],t,t[8],!1)}checkNoChanges(){}get context(){return null}}class gp extends vo{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=Y(t);return new Co(n,this.ngModule)}}function mp(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class TS{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=Di(r);const o=this.injector.get(t,ku,r);return o!==ku||n===ku?o:this.parentInjector.get(t,n,r)}}class Co extends Ph{get inputs(){return mp(this.componentDef.inputs)}get outputs(){return mp(this.componentDef.outputs)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function OE(e){return e.map(PE).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,r,o){let i=(o=o||this.ngModule)instanceof qt?o:o?.injector;i&&null!==this.componentDef.getStandaloneInjector&&(i=this.componentDef.getStandaloneInjector(i)||i);const s=i?new TS(t,i):t,a=s.get(Fh,null);if(null===a)throw new w(407,!1);const u=s.get(hE,null),l=a.createRenderer(null,this.componentDef),c=this.componentDef.selectors[0][0]||"div",d=r?function oS(e,t,n){return e.selectRootElement(t,n===At.ShadowDom)}(l,r,this.componentDef.encapsulation):gu(l,c,function MS(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(c)),f=this.componentDef.onPush?288:272,h=Qu(0,null,null,1,0,null,null,null,null,null),p=Ji(null,h,null,f,null,null,a,l,u,s,null);let g,m;Ha(p);try{const D=this.componentDef;let _,y=null;D.findHostDirectiveDefs?(_=[],y=new Map,D.findHostDirectiveDefs(D,_,y),_.push(D)):_=[D];const P=function RS(e,t){const n=e[1];return e[22]=t,gr(n,22,2,"#host",null)}(p,d),X=function xS(e,t,n,r,o,i,s,a){const u=o[1];!function NS(e,t,n,r){for(const o of e)t.mergedAttrs=ro(t.mergedAttrs,o.hostAttrs);null!==t.mergedAttrs&&(rs(t,t.mergedAttrs,!0),null!==n&&lh(r,n,t))}(r,e,t,s);const l=i.createRenderer(t,n),c=Ji(o,rp(n),null,n.onPush?32:16,o[e.index],e,i,l,a||null,null,null);return u.firstCreatePass&&Ku(u,e,r.length-1),ts(o,c),o[e.index]=c}(P,d,D,_,p,a,l);m=Zd(h,22),d&&function OS(e,t,n,r){if(r)qa(e,n,["ng-version",pE.full]);else{const{attrs:o,classes:i}=function FE(e){const t=[],n=[];let r=1,o=2;for(;r<e.length;){let i=e[r];if("string"==typeof i)2===o?""!==i&&t.push(i,e[++r]):8===o&&n.push(i);else{if(!Dt(o))break;o=i}r++}return{attrs:t,classes:n}}(t.selectors[0]);o&&qa(e,n,o),i&&i.length>0&&uh(e,n,i.join(" "))}}(l,D,d,r),void 0!==n&&function FS(e,t,n){const r=e.projection=[];for(let o=0;o<t.length;o++){const i=n[o];r.push(null!=i?Array.from(i):null)}}(m,this.ngContentSelectors,n),g=function PS(e,t,n,r,o,i){const s=Se(),a=o[1],u=et(s,o);up(a,o,s,n,null,r);for(let c=0;c<n.length;c++)Re(Tn(o,a,s.directiveStart+c,s),o);lp(a,o,s),u&&Re(u,o);const l=Tn(o,a,s.directiveStart+s.componentOffset,s);if(e[8]=o[8]=l,null!==i)for(const c of i)c(l,t);return Wu(a,s,e),l}(X,D,_,y,p,[kS]),Gu(h,p,null)}finally{za()}return new AS(this.componentType,g,dr(m,p),p,m)}}class AS extends aE{constructor(t,n,r,o,i){super(),this.location=r,this._rootLView=o,this._tNode=i,this.instance=n,this.hostView=this.changeDetectorRef=new IS(o),this.componentType=t}setInput(t,n){const r=this._tNode.inputs;let o;if(null!==r&&(o=r[t])){const i=this._rootLView;nl(i[1],i,o,t,n),ap(i,this._tNode.index)}}get injector(){return new nr(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function kS(){const e=Se();Ti(v()[1],e)}let is=null;function Pn(){if(!is){const e=ee.Symbol;if(e&&e.iterator)is=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&&(is=r)}}}return is}function xe(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function il(e,t,n,r){const o=v();return xe(o,er(),t)&&(W(),Pt(oe(),o,e,t,n,r)),il}function us(e,t,n){const r=v();return xe(r,er(),t)&&function rt(e,t,n,r,o,i,s,a){const u=et(t,n);let c,l=t.inputs;!a&&null!=l&&(c=l[r])?(nl(e,n,c,r,o),eo(t)&&ap(n,t.index)):3&t.type&&(r=function aS(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),o=null!=s?s(o,t.value||"",r):o,i.setProperty(u,r,o))}(W(),oe(),r,e,t,r[V],n,!1),us}function sl(e,t,n,r,o){const s=o?"class":"style";nl(e,n,t.inputs[s],s,r)}function Le(e,t,n,r){const o=v(),i=W(),s=22+e,a=o[V],u=o[s]=gu(a,t,function hC(){return F.lFrame.currentNamespace}()),l=i.firstCreatePass?function eb(e,t,n,r,o,i,s){const a=t.consts,l=gr(t,e,2,o,un(a,i));return function Yu(e,t,n,r){let o=!1;if(Kd()){const i=null===r?null:{"":-1},s=function hS(e,t){const n=e.directiveRegistry;let r=null,o=null;if(n)for(let i=0;i<n.length;i++){const s=n[i];if(Uh(t,s.selectors,!1))if(r||(r=[]),vt(s))if(null!==s.findHostDirectiveDefs){const a=[];o=o||new Map,s.findHostDirectiveDefs(s,a,o),r.unshift(...a,s),Ku(e,t,a.length)}else r.unshift(s),Ku(e,t,0);else o=o||new Map,s.findHostDirectiveDefs?.(s,r,o),r.push(s)}return null===r?null:[r,o]}(e,n);let a,u;null===s?a=u=null:[a,u]=s,null!==a&&(o=!0,up(e,t,n,a,i,u)),i&&function pS(e,t,n){if(t){const r=e.localNames=[];for(let o=0;o<t.length;o+=2){const i=n[t[o+1]];if(null==i)throw new w(-301,!1);r.push(t[o],i)}}}(n,r,i)}return n.mergedAttrs=ro(n.mergedAttrs,n.attrs),o}(t,n,l,un(a,s)),null!==l.attrs&&rs(l,l.attrs,!1),null!==l.mergedAttrs&&rs(l,l.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,l),l}(s,i,o,0,t,n,r):i.data[s];return xt(l,!0),lh(a,u,l),32!=(32&l.flags)&&Bi(i,o,u,l),0===function Qw(){return F.lFrame.elementDepthCount}()&&Re(u,o),function Yw(){F.lFrame.elementDepthCount++}(),bi(l)&&(function qu(e,t,n){Kd()&&(function dS(e,t,n,r){const o=n.directiveStart,i=n.directiveEnd;eo(n)&&function vS(e,t,n){const r=et(t,e),o=rp(n),i=e[10],s=ts(e,Ji(e,o,null,n.onPush?32:16,r,t,i,i.createRenderer(r,n),null,null,null));e[t.index]=s}(t,n,e.data[o+n.componentOffset]),e.firstCreatePass||Oi(n,t),Re(r,t);const s=n.initialInputs;for(let a=o;a<i;a++){const u=e.data[a],l=Tn(t,e,a,n);Re(l,t),null!==s&&DS(0,a-o,l,u,0,s),vt(u)&&(tt(n.index,t)[8]=Tn(t,e,a,n))}}(e,t,n,et(n,t)),64==(64&n.flags)&&lp(e,t,n))}(i,o,l),Wu(i,l,o)),null!==r&&function Zu(e,t,n=et){const r=t.localNames;if(null!==r){let o=t.index+1;for(let i=0;i<r.length;i+=2){const s=r[i+1],a=-1===s?n(t,e):e[s];e[o++]=a}}}(o,l),Le}function Ge(){let e=Se();$a()?function ja(){F.lFrame.isParent=!1}():(e=e.parent,xt(e,!1));const t=e;!function Kw(){F.lFrame.elementDepthCount--}();const n=W();return n.firstCreatePass&&(Ti(n,e),Fa(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function yC(e){return 0!=(8&e.flags)}(t)&&sl(n,t,v(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function vC(e){return 0!=(16&e.flags)}(t)&&sl(n,t,v(),t.stylesWithoutHost,!1),Ge}function Yt(e,t,n,r){return Le(e,t,n,r),Ge(),Yt}function ls(e){return!!e&&"function"==typeof e.then}const Pp=function Np(e){return!!e&&"function"==typeof e.subscribe};function ll(e,t,n,r){const o=v(),i=W(),s=Se();return function Fp(e,t,n,r,o,i,s){const a=bi(r),l=e.firstCreatePass&&fp(e),c=t[8],d=dp(t);let f=!0;if(3&r.type||s){const g=et(r,t),m=s?s(g):g,D=d.length,_=s?P=>s(Ee(P[r.index])):r.index;let y=null;if(!s&&a&&(y=function rb(e,t,n,r){const o=e.cleanup;if(null!=o)for(let i=0;i<o.length-1;i+=2){const s=o[i];if(s===n&&o[i+1]===r){const a=t[7],u=o[i+2];return a.length>u?a[u]:null}"string"==typeof s&&(i+=2)}return null}(e,t,o,r.index)),null!==y)(y.__ngLastListenerFn__||y).__ngNextListenerFn__=i,y.__ngLastListenerFn__=i,f=!1;else{i=Lp(r,t,c,i,!1);const P=n.listen(m,o,i);d.push(i,P),l&&l.push(o,_,D,D+1)}}else i=Lp(r,t,c,i,!1);const h=r.outputs;let p;if(f&&null!==h&&(p=h[o])){const g=p.length;if(g)for(let m=0;m<g;m+=2){const X=t[p[m]][p[m+1]].subscribe(i),de=d.length;d.push(i,X),l&&l.push(o,r.index,de,-(de+1))}}}(i,o,o[V],s,e,t,r),ll}function kp(e,t,n,r){try{return!1!==n(r)}catch(o){return pp(e,o),!1}}function Lp(e,t,n,r,o){return function i(s){if(s===Function)return r;el(e.componentOffset>-1?tt(e.index,t):t);let u=kp(t,0,r,s),l=i.__ngNextListenerFn__;for(;l;)u=kp(t,0,l,s)&&u,l=l.__ngNextListenerFn__;return o&&!1===u&&(s.preventDefault(),s.returnValue=!1),u}}function Kt(e,t=""){const n=v(),r=W(),o=e+22,i=r.firstCreatePass?gr(r,o,1,t,null):r.data[o],s=n[o]=function pu(e,t){return e.createText(t)}(n[V],t);Bi(r,n,s,i),xt(i,!1)}const Mr="en-US";let Rg=Mr;class Tr{}class nm{}class rm extends Tr{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new gp(this);const r=Xe(t);this._bootstrapComponents=Zt(r.bootstrap),this._r3Injector=qh(t,n,[{provide:Tr,useValue:this},{provide:vo,useValue:this.componentFactoryResolver}],J(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class _l extends nm{constructor(t){super(),this.moduleType=t}create(t){return new rm(this.moduleType,t)}}class QI extends Tr{constructor(t,n,r){super(),this.componentFactoryResolver=new gp(this),this.instance=null;const o=new xh([...t,{provide:Tr,useValue:this},{provide:vo,useValue:this.componentFactoryResolver}],n||Qi(),r,new Set(["environment"]));this.injector=o,o.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function ms(e,t,n=null){return new QI(e,t,n).injector}let YI=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n.id)){const r=Mh(0,n.type),o=r.length>0?ms([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n.id,o)}return this.cachedInjectors.get(n.id)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}}return e.\u0275prov=A({token:e,providedIn:"environment",factory:()=>new e(b(qt))}),e})();function om(e){e.getStandaloneInjector=t=>t.get(YI).getOrCreateStandaloneInjector(e)}function Sl(e,t,n){const r=function Fe(){const e=F.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}()+e,o=v();return o[r]===k?function Ot(e,t,n){return e[t]=n}(o,r,n?t.call(n):t()):function _o(e,t){return e[t]}(o,r)}function bl(e){return t=>{setTimeout(e,void 0,t)}}const je=class _0 extends st{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&"object"==typeof t){const u=t;o=u.next?.bind(u),i=u.error?.bind(u),s=u.complete?.bind(u)}this.__isAsync&&(i=bl(i),o&&(o=bl(o)),s&&(s=bl(s)));const a=super.subscribe({next:o,error:i,complete:s});return t instanceof Ye&&t.add(a),a}};function E0(){return this._results[Pn()]()}class Il{get changes(){return this._changes||(this._changes=new je)}constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const n=Pn(),r=Il.prototype;r[n]||(r[n]=E0)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){const r=this;r.dirty=!1;const o=function ct(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function TC(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let o=e[r],i=t[r];if(n&&(o=n(o),i=n(i)),i!==o)return!1}return!0}(r._results,o,n))&&(r._results=o,r.length=o.length,r.last=o[this.length-1],r.first=o[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}let Xt=(()=>{class e{}return e.__NG_ELEMENT_ID__=I0,e})();const S0=Xt,b0=class extends S0{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}createEmbeddedView(t,n){const r=this._declarationTContainer.tViews,o=Ji(this._declarationLView,r,t,16,null,r.declTNode,null,null,null,null,n||null);o[17]=this._declarationLView[this._declarationTContainer.index];const s=this._declarationLView[19];return null!==s&&(o[19]=s.createEmbeddedView(r)),Gu(r,o,t),new wo(o)}};function I0(){return ys(Se(),v())}function ys(e,t){return 4&e.type?new b0(t,e,dr(e,t)):null}let Et=(()=>{class e{}return e.__NG_ELEMENT_ID__=M0,e})();function M0(){return vm(Se(),v())}const T0=Et,mm=class extends T0{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return dr(this._hostTNode,this._hostLView)}get injector(){return new nr(this._hostTNode,this._hostLView)}get parentInjector(){const t=Ya(this._hostTNode,this._hostLView);if(pf(t)){const n=Ni(t,this._hostLView),r=xi(t);return new nr(n[1].data[r+8],n)}return new nr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=ym(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,n,r){let o,i;"number"==typeof r?o=r:null!=r&&(o=r.index,i=r.injector);const s=t.createEmbeddedView(n||{},i);return this.insert(s,o),s}createComponent(t,n,r,o,i){const s=t&&!function io(e){return"function"==typeof e}(t);let a;if(s)a=n;else{const d=n||{};a=d.index,r=d.injector,o=d.projectableNodes,i=d.environmentInjector||d.ngModuleRef}const u=s?t:new Co(Y(t)),l=r||this.parentInjector;if(!i&&null==u.ngModule){const f=(s?l:this.parentInjector).get(qt,null);f&&(i=f)}const c=u.create(l,o,void 0,i);return this.insert(c.hostView,a),c}insert(t,n){const r=t._lView,o=r[1];if(function Zw(e){return yt(e[3])}(r)){const c=this.indexOf(t);if(-1!==c)this.detach(c);else{const d=r[3],f=new mm(d,d[6],d[3]);f.detach(f.indexOf(t))}}const i=this._adjustIndex(n),s=this._lContainer;!function m_(e,t,n,r){const o=10+r,i=n.length;r>0&&(n[o-1][4]=t),r<i-10?(t[4]=n[o],Mf(n,10+r,t)):(n.push(t),t[4]=null),t[3]=n;const s=t[17];null!==s&&n!==s&&function y_(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]|=64}(o,r,s,i);const a=Du(i,s),u=r[V],l=Vi(u,s[7]);return null!==l&&function h_(e,t,n,r,o,i){r[0]=o,r[6]=t,po(e,r,n,1,o,i)}(o,s[6],u,r,l,a),t.attachToViewContainerRef(),Mf(Ml(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=ym(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=mu(this._lContainer,n);r&&(Li(Ml(this._lContainer),n),Kf(r[1],r))}detach(t){const n=this._adjustIndex(t,-1),r=mu(this._lContainer,n);return r&&null!=Li(Ml(this._lContainer),n)?new wo(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function ym(e){return e[8]}function Ml(e){return e[8]||(e[8]=[])}function vm(e,t){let n;const r=t[e.index];if(yt(r))n=r;else{let o;if(8&e.type)o=Ee(r);else{const i=t[V];o=i.createComment("");const s=et(e,t);Rn(i,Vi(i,s),o,function C_(e,t){return e.nextSibling(t)}(i,s),!1)}t[e.index]=n=function cp(e,t,n,r){return[e,!0,!1,t,null,0,r,n,null,null]}(r,t,o,e),ts(t,n)}return new mm(n,e,t)}class Tl{constructor(t){this.queryList=t,this.matches=null}clone(){return new Tl(this.queryList)}setDirty(){this.queryList.setDirty()}}class Al{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const r=null!==t.contentQueries?t.contentQueries[0]:n.length,o=[];for(let i=0;i<r;i++){const s=n.getByIndex(i);o.push(this.queries[s.indexInDeclarationView].clone())}return new Al(o)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)null!==Im(t,n).matches&&this.queries[n].setDirty()}}class Dm{constructor(t,n,r=null){this.predicate=t,this.flags=n,this.read=r}}class Rl{constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let r=0;r<this.length;r++){const o=null!==n?n.length:0,i=this.getByIndex(r).embeddedTView(t,o);i&&(i.indexInDeclarationView=r,null!==n?n.push(i):n=[i])}return null!==n?new Rl(n):null}template(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class xl{constructor(t,n=-1){this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=n}elementStart(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,n){this.elementStart(t,n)}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new xl(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const n=this._declarationNodeIndex;let r=t.parent;for(;null!==r&&8&r.type&&r.index!==n;)r=r.parent;return n===(null!==r?r.index:-1)}return this._appliesToNextNode}matchTNode(t,n){const r=this.metadata.predicate;if(Array.isArray(r))for(let o=0;o<r.length;o++){const i=r[o];this.matchTNodeWithReadOption(t,n,A0(n,i)),this.matchTNodeWithReadOption(t,n,Fi(n,t,i,!1,!1))}else r===Xt?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,Fi(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(null!==r){const o=this.metadata.read;if(null!==o)if(o===cn||o===Et||o===Xt&&4&n.type)this.addMatch(n.index,-2);else{const i=Fi(n,t,o,!1,!1);null!==i&&this.addMatch(n.index,i)}else this.addMatch(n.index,r)}}addMatch(t,n){null===this.matches?this.matches=[t,n]:this.matches.push(t,n)}}function A0(e,t){const n=e.localNames;if(null!==n)for(let r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1];return null}function x0(e,t,n,r){return-1===n?function R0(e,t){return 11&e.type?dr(e,t):4&e.type?ys(e,t):null}(t,e):-2===n?function N0(e,t,n){return n===cn?dr(t,e):n===Xt?ys(t,e):n===Et?vm(t,e):void 0}(e,t,r):Tn(e,e[1],n,t)}function wm(e,t,n,r){const o=t[19].queries[r];if(null===o.matches){const i=e.data,s=n.matches,a=[];for(let u=0;u<s.length;u+=2){const l=s[u];a.push(l<0?null:x0(t,i[l],s[u+1],n.metadata.read))}o.matches=a}return o.matches}function Nl(e,t,n,r){const o=e.queries.getByIndex(n),i=o.matches;if(null!==i){const s=wm(e,t,o,n);for(let a=0;a<i.length;a+=2){const u=i[a];if(u>0)r.push(s[a/2]);else{const l=i[a+1],c=t[-u];for(let d=10;d<c.length;d++){const f=c[d];f[17]===f[3]&&Nl(f[1],f,l,r)}if(null!==c[9]){const d=c[9];for(let f=0;f<d.length;f++){const h=d[f];Nl(h[1],h,l,r)}}}}}return r}function Cm(e){const t=v(),n=W(),r=nf();Ba(r+1);const o=Im(n,r);if(e.dirty&&function qw(e){return 4==(4&e[2])}(t)===(2==(2&o.metadata.flags))){if(null===o.matches)e.reset([]);else{const i=o.crossesNgTemplate?Nl(n,t,r,[]):wm(n,t,o,r);e.reset(i,dE),e.notifyOnChanges()}return!0}return!1}function _m(e,t,n,r){const o=W();if(o.firstCreatePass){const i=Se();(function bm(e,t,n){null===e.queries&&(e.queries=new Rl),e.queries.track(new xl(t,n))})(o,new Dm(t,n,r),i.index),function F0(e,t){const n=e.contentQueries||(e.contentQueries=[]);t!==(n.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}(o,e),2==(2&n)&&(o.staticContentQueries=!0)}!function Sm(e,t,n){const r=new Il(4==(4&n));op(e,t,r,r.destroy),null===t[19]&&(t[19]=new Al),t[19].queries.push(new Tl(r))}(o,v(),n)}function Im(e,t){return e.queries.getByIndex(t)}function Ds(...e){}const No=new R("Application Initializer");let ws=(()=>{class e{constructor(n){this.appInits=n,this.resolve=Ds,this.reject=Ds,this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,o)=>{this.resolve=r,this.reject=o})}runInitializers(){if(this.initialized)return;const n=[],r=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let o=0;o<this.appInits.length;o++){const i=this.appInits[o]();if(ls(i))n.push(i);else if(Pp(i)){const s=new Promise((a,u)=>{i.subscribe({complete:a,error:u})});n.push(s)}}Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),0===n.length&&r(),this.initialized=!0}}return e.\u0275fac=function(n){return new(n||e)(b(No,8))},e.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Po=new R("AppId",{providedIn:"root",factory:function Gm(){return`${Ll()}${Ll()}${Ll()}`}});function Ll(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Wm=new R("Platform Initializer"),Cs=new R("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),qm=new R("appBootstrapListener");let nM=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();const Jt=new R("LocaleId",{providedIn:"root",factory:()=>G(Jt,T.Optional|T.SkipSelf)||function rM(){return typeof $localize<"u"&&$localize.locale||Mr}()});class iM{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let Zm=(()=>{class e{compileModuleSync(n){return new _l(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),i=Zt(Xe(n).declarations).reduce((s,a)=>{const u=Y(a);return u&&s.push(new Co(u)),s},[]);return new iM(r,i)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const uM=(()=>Promise.resolve(0))();function $l(e){typeof Zone>"u"?uM.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class le{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new je(!1),this.onMicrotaskEmpty=new je(!1),this.onStable=new je(!1),this.onError=new je(!1),typeof Zone>"u")throw new w(908,!1);Zone.assertZonePatched();const o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function lM(){let e=ee.requestAnimationFrame,t=ee.cancelAnimationFrame;if(typeof Zone<"u"&&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 fM(e){const t=()=>{!function dM(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(ee,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Ul(e),e.isCheckStableRunning=!0,jl(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Ul(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,a)=>{try{return Km(e),n.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||e.shouldCoalesceRunChangeDetection)&&t(),Xm(e)}},onInvoke:(n,r,o,i,s,a,u)=>{try{return Km(e),n.invoke(o,i,s,a,u)}finally{e.shouldCoalesceRunChangeDetection&&t(),Xm(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,Ul(e),jl(e)):"macroTask"==i.change&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(n,r,o,i)=>(n.handleError(o,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}(o)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!le.isInAngularZone())throw new w(909,!1)}static assertNotInAngularZone(){if(le.isInAngularZone())throw new w(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){const i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,cM,Ds,Ds);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const cM={};function jl(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 Ul(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Km(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Xm(e){e._nesting--,jl(e)}class hM{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new je,this.onMicrotaskEmpty=new je,this.onStable=new je,this.onError=new je}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,o){return t.apply(n,r)}}const Jm=new R(""),_s=new R("");let Hl,Vl=(()=>{class e{constructor(n,r,o){this._ngZone=n,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Hl||(function pM(e){Hl=e}(o),o.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?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:()=>{le.assertNotInAngularZone(),$l(()=>{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())$l(()=>{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,o){let i=-1;r&&r>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==i),n(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:n,timeoutId:i,updateCb:o})}whenStable(n,r,o){if(o&&!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,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,o){return[]}}return e.\u0275fac=function(n){return new(n||e)(b(le),b(Bl),b(_s))},e.\u0275prov=A({token:e,factory:e.\u0275fac}),e})(),Bl=(()=>{class e{constructor(){this._applications=new Map}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 Hl?.findTestabilityInTree(this,n,r)??null}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})(),fn=null;const ey=new R("AllowMultipleToken"),zl=new R("PlatformDestroyListeners");class ty{constructor(t,n){this.name=t,this.token=n}}function ry(e,t,n=[]){const r=`Platform: ${t}`,o=new R(r);return(i=[])=>{let s=Gl();if(!s||s.injector.get(ey,!1)){const a=[...n,...i,{provide:o,useValue:!0}];e?e(a):function yM(e){if(fn&&!fn.get(ey,!1))throw new w(400,!1);fn=e;const t=e.get(iy);(function ny(e){const t=e.get(Wm,null);t&&t.forEach(n=>n())})(e)}(function oy(e=[],t){return wt.create({name:t,providers:[{provide:Nu,useValue:"platform"},{provide:zl,useValue:new Set([()=>fn=null])},...e]})}(a,r))}return function DM(e){const t=Gl();if(!t)throw new w(401,!1);return t}()}}function Gl(){return fn?.get(iy)??null}let iy=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const o=function ay(e,t){let n;return n="noop"===e?new hM:("zone.js"===e?void 0:e)||new le(t),n}(r?.ngZone,function sy(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!e||!e.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!e||!e.ngZoneRunCoalescing)||!1}}(r)),i=[{provide:le,useValue:o}];return o.run(()=>{const s=wt.create({providers:i,parent:this.injector,name:n.moduleType.name}),a=n.create(s),u=a.injector.get(fr,null);if(!u)throw new w(402,!1);return o.runOutsideAngular(()=>{const l=o.onError.subscribe({next:c=>{u.handleError(c)}});a.onDestroy(()=>{Es(this._modules,a),l.unsubscribe()})}),function uy(e,t,n){try{const r=n();return ls(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(u,o,()=>{const l=a.injector.get(ws);return l.runInitializers(),l.donePromise.then(()=>(function xg(e){at(e,"Expected localeId to be defined"),"string"==typeof e&&(Rg=e.toLowerCase().replace(/_/g,"-"))}(a.injector.get(Jt,Mr)||Mr),this._moduleDoBootstrap(a),a))})})}bootstrapModule(n,r=[]){const o=ly({},r);return function gM(e,t,n){const r=new _l(n);return Promise.resolve(r)}(0,0,n).then(i=>this.bootstrapModuleFactory(i,o))}_moduleDoBootstrap(n){const r=n.injector.get(Oo);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(o=>r.bootstrap(o));else{if(!n.instance.ngDoBootstrap)throw new w(-403,!1);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 w(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(zl,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(n){return new(n||e)(b(wt))},e.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function ly(e,t){return Array.isArray(t)?t.reduce(ly,e):{...e,...t}}let Oo=(()=>{class e{get destroyed(){return this._destroyed}get injector(){return this._injector}constructor(n,r,o){this._zone=n,this._injector=r,this._exceptionHandler=o,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this._destroyed=!1,this._destroyListeners=[],this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const i=new re(a=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{a.next(this._stable),a.complete()})}),s=new re(a=>{let u;this._zone.runOutsideAngular(()=>{u=this._zone.onStable.subscribe(()=>{le.assertNotInAngularZone(),$l(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,a.next(!0))})})});const l=this._zone.onUnstable.subscribe(()=>{le.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{a.next(!1)}))});return()=>{u.unsubscribe(),l.unsubscribe()}});this.isStable=wa(i,s.pipe(function gw(e={}){const{connector:t=(()=>new st),resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,u,l=0,c=!1,d=!1;const f=()=>{a?.unsubscribe(),a=void 0},h=()=>{f(),s=u=void 0,c=d=!1},p=()=>{const g=s;h(),g?.unsubscribe()};return fe((g,m)=>{l++,!d&&!c&&f();const D=u=u??t();m.add(()=>{l--,0===l&&!d&&!c&&(a=Ca(p,o))}),D.subscribe(m),!s&&l>0&&(s=new Gr({next:_=>D.next(_),error:_=>{d=!0,f(),a=Ca(h,n,_),D.error(_)},complete:()=>{c=!0,f(),a=Ca(h,r),D.complete()}}),Ve(g).subscribe(s))})(i)}}()))}bootstrap(n,r){const o=n instanceof Ph;if(!this._injector.get(ws).done)throw!o&&function Zn(e){const t=Y(e)||Me(e)||Pe(e);return null!==t&&t.standalone}(n),new w(405,false);let s;s=o?n:this._injector.get(vo).resolveComponentFactory(n),this.componentTypes.push(s.componentType);const a=function mM(e){return e.isBoundToModule}(s)?void 0:this._injector.get(Tr),l=s.create(wt.NULL,[],r||s.selector,a),c=l.location.nativeElement,d=l.injector.get(Jm,null);return d?.registerApplication(c),l.onDestroy(()=>{this.detachView(l.hostView),Es(this.components,l),d?.unregisterApplication(c)}),this._loadComponent(l),l}tick(){if(this._runningTick)throw new w(101,!1);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;Es(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const r=this._injector.get(qm,[]);r.push(...this._bootstrapListeners),r.forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Es(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new w(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return e.\u0275fac=function(n){return new(n||e)(b(le),b(qt),b(fr))},e.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function Es(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}let Wl=(()=>{class e{}return e.__NG_ELEMENT_ID__=_M,e})();function _M(e){return function EM(e,t,n){if(eo(e)&&!n){const r=tt(e.index,t);return new wo(r,r)}return 47&e.type?new wo(t[16],t):null}(Se(),v(),16==(16&e))}const kM=ry(null,"core",[]);let LM=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(b(Oo))},e.\u0275mod=an({type:e}),e.\u0275inj=Ut({}),e})();function Kl(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}let Xl=null;function hn(){return Xl}class UM{}const We=new R("DocumentToken");let Jl=(()=>{class e{historyGo(n){throw new Error("Not implemented")}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=A({token:e,factory:function(){return function VM(){return b(wy)}()},providedIn:"platform"}),e})();const BM=new R("Location Initialized");let wy=(()=>{class e extends Jl{constructor(n){super(),this._doc=n,this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return hn().getBaseHref(this._doc)}onPopState(n){const r=hn().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){const r=hn().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,o){Cy()?this._history.pushState(n,r,o):this._location.hash=o}replaceState(n,r,o){Cy()?this._history.replaceState(n,r,o):this._location.hash=o}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)(b(We))},e.\u0275prov=A({token:e,factory:function(){return function HM(){return new wy(b(We))}()},providedIn:"platform"}),e})();function Cy(){return!!window.history.pushState}function ec(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 _y(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 tn(e){return e&&"?"!==e[0]?"?"+e:e}let $n=(()=>{class e{historyGo(n){throw new Error("Not implemented")}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=A({token:e,factory:function(){return G(Sy)},providedIn:"root"}),e})();const Ey=new R("appBaseHref");let Sy=(()=>{class e extends $n{constructor(n,r){super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??G(We).location?.origin??""}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 ec(this._baseHref,n)}path(n=!1){const r=this._platformLocation.pathname+tn(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${r}${o}`:r}pushState(n,r,o,i){const s=this.prepareExternalUrl(o+tn(i));this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){const s=this.prepareExternalUrl(o+tn(i));this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}}return e.\u0275fac=function(n){return new(n||e)(b(Jl),b(Ey,8))},e.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),zM=(()=>{class e extends $n{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=ec(this._baseHref,n);return r.length>0?"#"+r:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+tn(i));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+tn(i));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}}return e.\u0275fac=function(n){return new(n||e)(b(Jl),b(Ey,8))},e.\u0275prov=A({token:e,factory:e.\u0275fac}),e})(),tc=(()=>{class e{constructor(n){this._subject=new je,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=n;const r=this._locationStrategy.getBaseHref();this._basePath=function qM(e){if(new RegExp("^(https?:)?//").test(e)){const[,n]=e.split(/\/\/[^\/]+/);return n}return e}(_y(by(r))),this._locationStrategy.onPopState(o=>{this._subject.emit({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,r=""){return this.path()==this.normalize(n+tn(r))}normalize(n){return e.stripTrailingSlash(function WM(e,t){return e&&new RegExp(`^${e}([/;?#]|$)`).test(t)?t.substring(e.length):t}(this._basePath,by(n)))}prepareExternalUrl(n){return n&&"/"!==n[0]&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,r="",o=null){this._locationStrategy.pushState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+tn(r)),o)}replaceState(n,r="",o=null){this._locationStrategy.replaceState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+tn(r)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)})),()=>{const r=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(r,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",r){this._urlChangeListeners.forEach(o=>o(n,r))}subscribe(n,r,o){return this._subject.subscribe({next:n,error:r,complete:o})}}return e.normalizeQueryParams=tn,e.joinWithSlash=ec,e.stripTrailingSlash=_y,e.\u0275fac=function(n){return new(n||e)(b($n))},e.\u0275prov=A({token:e,factory:function(){return function GM(){return new tc(b($n))}()},providedIn:"root"}),e})();function by(e){return e.replace(/\/index.html$/,"")}let uA=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=an({type:e}),e.\u0275inj=Ut({}),e})();const Vy="browser";function By(e){return e===Vy}let fA=(()=>{class e{}return e.\u0275prov=A({token:e,providedIn:"root",factory:()=>new hA(b(We),window)}),e})();class hA{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 pA(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 o=r.currentNode;for(;o;){const i=o.shadowRoot;if(i){const s=i.getElementById(t)||i.querySelector(`[name="${t}"]`);if(s)return s}o=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,o=n.top+this.window.pageYOffset,i=this.offset();this.window.scrollTo(r-i[0],o-i[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const t=Hy(this.window.history)||Hy(Object.getPrototypeOf(this.window.history));return!(!t||!t.writable&&!t.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function Hy(e){return Object.getOwnPropertyDescriptor(e,"scrollRestoration")}class BA extends UM{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class Dc extends BA{static makeCurrent(){!function jM(e){Xl||(Xl=e)}(new Dc)}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 HA(){return jo=jo||document.querySelector("base"),jo?jo.getAttribute("href"):null}();return null==n?null:function zA(e){Ls=Ls||document.createElement("a"),Ls.setAttribute("href",e);const t=Ls.pathname;return"/"===t.charAt(0)?t:`/${t}`}(n)}resetBaseElement(){jo=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return function RT(e,t){t=encodeURIComponent(t);for(const n of e.split(";")){const r=n.indexOf("="),[o,i]=-1==r?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}(document.cookie,t)}}let Ls,jo=null;const Zy=new R("TRANSITION_ID"),WA=[{provide:No,useFactory:function GA(e,t,n){return()=>{n.get(ws).donePromise.then(()=>{const r=hn(),o=t.querySelectorAll(`style[ng-transition="${e}"]`);for(let i=0;i<o.length;i++)r.remove(o[i])})}},deps:[Zy,We,wt],multi:!0}];let ZA=(()=>{class e{build(){return new XMLHttpRequest}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=A({token:e,factory:e.\u0275fac}),e})();const $s=new R("EventManagerPlugins");let js=(()=>{class e{constructor(n,r){this._zone=r,this._eventNameToPlugin=new Map,n.forEach(o=>o.manager=this),this._plugins=n.slice().reverse()}addEventListener(n,r,o){return this._findPluginFor(r).addEventListener(n,r,o)}addGlobalEventListener(n,r,o){return this._findPluginFor(r).addGlobalEventListener(n,r,o)}getZone(){return this._zone}_findPluginFor(n){const r=this._eventNameToPlugin.get(n);if(r)return r;const o=this._plugins;for(let i=0;i<o.length;i++){const s=o[i];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)(b($s),b(le))},e.\u0275prov=A({token:e,factory:e.\u0275fac}),e})();class Qy{constructor(t){this._doc=t}addGlobalEventListener(t,n,r){const o=hn().getGlobalEventTarget(this._doc,t);if(!o)throw new Error(`Unsupported event target ${o} for event ${n}`);return this.addEventListener(o,n,r)}}let Yy=(()=>{class e{constructor(){this._stylesSet=new Set}addStyles(n){const r=new Set;n.forEach(o=>{this._stylesSet.has(o)||(this._stylesSet.add(o),r.add(o))}),this.onStylesAdded(r)}onStylesAdded(n){}getAllStyles(){return Array.from(this._stylesSet)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=A({token:e,factory:e.\u0275fac}),e})(),Uo=(()=>{class e extends Yy{constructor(n){super(),this._doc=n,this._hostNodes=new Map,this._hostNodes.set(n.head,[])}_addStylesToHost(n,r,o){n.forEach(i=>{const s=this._doc.createElement("style");s.textContent=i,o.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(Ky),this._hostNodes.delete(n)}onStylesAdded(n){this._hostNodes.forEach((r,o)=>{this._addStylesToHost(n,o,r)})}ngOnDestroy(){this._hostNodes.forEach(n=>n.forEach(Ky))}}return e.\u0275fac=function(n){return new(n||e)(b(We))},e.\u0275prov=A({token:e,factory:e.\u0275fac}),e})();function Ky(e){hn().remove(e)}const wc={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/"},Cc=/%COMP%/g;function _c(e,t){return t.flat(100).map(n=>n.replace(Cc,e))}function ev(e){return t=>{if("__ngUnwrap__"===t)return e;!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}let Ec=(()=>{class e{constructor(n,r,o){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.rendererByCompId=new Map,this.defaultRenderer=new Sc(n)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;switch(r.encapsulation){case At.Emulated:{let o=this.rendererByCompId.get(r.id);return o||(o=new eR(this.eventManager,this.sharedStylesHost,r,this.appId),this.rendererByCompId.set(r.id,o)),o.applyToHost(n),o}case At.ShadowDom:return new tR(this.eventManager,this.sharedStylesHost,n,r);default:if(!this.rendererByCompId.has(r.id)){const o=_c(r.id,r.styles);this.sharedStylesHost.addStyles(o),this.rendererByCompId.set(r.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return e.\u0275fac=function(n){return new(n||e)(b(js),b(Uo),b(Po))},e.\u0275prov=A({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(wc[n]||n,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,n){(nv(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(nv(t)?t.content: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,o){if(o){n=o+":"+n;const i=wc[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){const o=wc[r];o?t.removeAttributeNS(o,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,o){o&(He.DashCase|He.Important)?t.style.setProperty(n,r,o&He.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&He.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,ev(r)):this.eventManager.addEventListener(t,n,ev(r))}}function nv(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class eR extends Sc{constructor(t,n,r,o){super(t),this.component=r;const i=_c(o+"-"+r.id,r.styles);n.addStyles(i),this.contentAttr=function KA(e){return"_ngcontent-%COMP%".replace(Cc,e)}(o+"-"+r.id),this.hostAttr=function XA(e){return"_nghost-%COMP%".replace(Cc,e)}(o+"-"+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 tR extends Sc{constructor(t,n,r,o){super(t),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const i=_c(o.id,o.styles);for(let s=0;s<i.length;s++){const a=document.createElement("style");a.textContent=i[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 nR=(()=>{class e extends Qy{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,o){return n.addEventListener(r,o,!1),()=>this.removeEventListener(n,r,o)}removeEventListener(n,r,o){return n.removeEventListener(r,o)}}return e.\u0275fac=function(n){return new(n||e)(b(We))},e.\u0275prov=A({token:e,factory:e.\u0275fac}),e})();const rv=["alt","control","meta","shift"],rR={"\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"},oR={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let iR=(()=>{class e extends Qy{constructor(n){super(n)}supports(n){return null!=e.parseEventName(n)}addEventListener(n,r,o){const i=e.parseEventName(r),s=e.eventCallback(i.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>hn().onAndCancel(n,i.domEventName,s))}static parseEventName(n){const r=n.toLowerCase().split("."),o=r.shift();if(0===r.length||"keydown"!==o&&"keyup"!==o)return null;const i=e._normalizeKey(r.pop());let s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),rv.forEach(l=>{const c=r.indexOf(l);c>-1&&(r.splice(c,1),s+=l+".")}),s+=i,0!=r.length||0===i.length)return null;const u={};return u.domEventName=o,u.fullKey=s,u}static matchEventFullKeyCode(n,r){let o=rR[n.key]||n.key,i="";return r.indexOf("code.")>-1&&(o=n.code,i="code."),!(null==o||!o)&&(o=o.toLowerCase()," "===o?o="space":"."===o&&(o="dot"),rv.forEach(s=>{s!==o&&(0,oR[s])(n)&&(i+=s+".")}),i+=o,i===r)}static eventCallback(n,r,o){return i=>{e.matchEventFullKeyCode(i,n)&&o.runGuarded(()=>r(i))}}static _normalizeKey(n){return"esc"===n?"escape":n}}return e.\u0275fac=function(n){return new(n||e)(b(We))},e.\u0275prov=A({token:e,factory:e.\u0275fac}),e})();const lR=ry(kM,"browser",[{provide:Cs,useValue:Vy},{provide:Wm,useValue:function sR(){Dc.makeCurrent()},multi:!0},{provide:We,useFactory:function uR(){return function A_(e){Eu=e}(document),document},deps:[]}]),sv=new R(""),av=[{provide:_s,useClass:class qA{addToWindow(t){ee.getAngularTestability=(r,o=!0)=>{const i=t.findTestabilityInTree(r,o);if(null==i)throw new Error("Could not find testability for element.");return i},ee.getAllAngularTestabilities=()=>t.getAllTestabilities(),ee.getAllAngularRootElements=()=>t.getAllRootElements(),ee.frameworkStabilizers||(ee.frameworkStabilizers=[]),ee.frameworkStabilizers.push(r=>{const o=ee.getAllAngularTestabilities();let i=o.length,s=!1;const a=function(u){s=s||u,i--,0==i&&r(s)};o.forEach(function(u){u.whenStable(a)})})}findTestabilityInTree(t,n,r){return null==n?null:t.getTestability(n)??(r?hn().isShadowRoot(n)?this.findTestabilityInTree(t,n.host,!0):this.findTestabilityInTree(t,n.parentElement,!0):null)}},deps:[]},{provide:Jm,useClass:Vl,deps:[le,Bl,_s]},{provide:Vl,useClass:Vl,deps:[le,Bl,_s]}],uv=[{provide:Nu,useValue:"root"},{provide:fr,useFactory:function aR(){return new fr},deps:[]},{provide:$s,useClass:nR,multi:!0,deps:[We,le,Cs]},{provide:$s,useClass:iR,multi:!0,deps:[We]},{provide:Ec,useClass:Ec,deps:[js,Uo,Po]},{provide:Fh,useExisting:Ec},{provide:Yy,useExisting:Uo},{provide:Uo,useClass:Uo,deps:[We]},{provide:js,useClass:js,deps:[$s,le]},{provide:class gA{},useClass:ZA,deps:[]},[]];let cR=(()=>{class e{constructor(n){}static withServerTransition(n){return{ngModule:e,providers:[{provide:Po,useValue:n.appId},{provide:Zy,useExisting:Po},WA]}}}return e.\u0275fac=function(n){return new(n||e)(b(sv,12))},e.\u0275mod=an({type:e}),e.\u0275inj=Ut({providers:[...uv,...av],imports:[uA,LM]}),e})(),lv=(()=>{class e{constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}}return e.\u0275fac=function(n){return new(n||e)(b(We))},e.\u0275prov=A({token:e,factory:function(n){let r=null;return r=n?new n:function fR(){return new lv(b(We))}(),r},providedIn:"root"}),e})();function S(...e){return De(e,Wr(e))}typeof window<"u"&&window;class Mt extends st{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 Us=zr(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"}),{isArray:wR}=Array,{getPrototypeOf:CR,prototype:_R,keys:ER}=Object;const{isArray:IR}=Array;function fv(e){return $(t=>function MR(e,t){return IR(t)?e(...t):e(t)}(e,t))}function hv(...e){const t=Wr(e),n=function aw(e){return z(Da(e))?e.pop():void 0}(e),{args:r,keys:o}=function SR(e){if(1===e.length){const t=e[0];if(wR(t))return{args:t,keys:null};if(function bR(e){return e&&"object"==typeof e&&CR(e)===_R}(t)){const n=ER(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}(e);if(0===r.length)return De([],t);const i=new re(function AR(e,t,n=Cn){return r=>{pv(t,()=>{const{length:o}=e,i=new Array(o);let s=o,a=o;for(let u=0;u<o;u++)pv(t,()=>{const l=De(e[u],t);let c=!1;l.subscribe(ye(r,d=>{i[u]=d,c||(c=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}(r,t,o?s=>function TR(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}(o,s):Cn));return n?i.pipe(fv(n)):i}function pv(e,t,n){e?jt(n,e,t):t()}function Vo(...e){return function RR(){return Wn(1)}()(De(e,Wr(e)))}function Vs(e){return new re(t=>{Ve(e()).subscribe(t)})}function xr(e,t){const n=z(e)?e:()=>e,r=o=>o.error(n());return new re(t?o=>t.schedule(r,0,o):r)}function Mc(){return fe((e,t)=>{let n=null;e._refCount++;const r=ye(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount)return void(n=null);const o=e._connection,i=n;n=null,o&&(!i||o===i)&&o.unsubscribe(),t.unsubscribe()});e.subscribe(r),r.closed||(n=e.connect())})}class Tc extends re{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,cd(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,t?.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new Ye;const n=this.getSubject();t.add(this.source.subscribe(ye(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=Ye.EMPTY)}return t}refCount(){return Mc()(this)}}function Ze(e,t){return fe((n,r)=>{let o=null,i=0,s=!1;const a=()=>s&&!o&&r.complete();n.subscribe(ye(r,u=>{o?.unsubscribe();let l=0;const c=i++;Ve(e(u,c)).subscribe(o=ye(r,d=>r.next(t?t(u,d,c,l++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function ot(e){return e<=0?()=>Tt:fe((t,n)=>{let r=0;t.subscribe(ye(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function Qe(e,t){return fe((n,r)=>{let o=0;n.subscribe(ye(r,i=>e.call(t,i,o++)&&r.next(i)))})}function Bs(e){return fe((t,n)=>{let r=!1;t.subscribe(ye(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function gv(e=NR){return fe((t,n)=>{let r=!1;t.subscribe(ye(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function NR(){return new Us}function gn(e,t){const n=arguments.length>=2;return r=>r.pipe(e?Qe((o,i)=>e(o,i,r)):Cn,ot(1),n?Bs(t):gv(()=>new Us))}function jn(e,t){return z(t)?ve(e,t,1):ve(e,1)}function be(e,t,n){const r=z(e)||t||n?{next:e,error:t,complete:n}:e;return r?fe((o,i)=>{var s;null===(s=r.subscribe)||void 0===s||s.call(r);let a=!0;o.subscribe(ye(i,u=>{var l;null===(l=r.next)||void 0===l||l.call(r,u),i.next(u)},()=>{var u;a=!1,null===(u=r.complete)||void 0===u||u.call(r),i.complete()},u=>{var l;a=!1,null===(l=r.error)||void 0===l||l.call(r,u),i.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)}))}):Cn}function mn(e){return fe((t,n)=>{let i,r=null,o=!1;r=t.subscribe(ye(n,void 0,void 0,s=>{i=Ve(e(s,mn(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function PR(e,t,n,r,o){return(i,s)=>{let a=n,u=t,l=0;i.subscribe(ye(s,c=>{const d=l++;u=a?e(u,c,d):(a=!0,c),r&&s.next(u)},o&&(()=>{a&&s.next(u),s.complete()})))}}function mv(e,t){return fe(PR(e,t,arguments.length>=2,!0))}function Ac(e){return e<=0?()=>Tt:fe((t,n)=>{let r=[];t.subscribe(ye(n,o=>{r.push(o),e<r.length&&r.shift()},()=>{for(const o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function yv(e,t){const n=arguments.length>=2;return r=>r.pipe(e?Qe((o,i)=>e(o,i,r)):Cn,Ac(1),n?Bs(t):gv(()=>new Us))}function vv(e){return $(()=>e)}function Rc(e){return fe((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}const L="primary",Bo=Symbol("RouteTitle");class FR{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 Nr(e){return new FR(e)}function kR(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 o={};for(let i=0;i<r.length;i++){const s=r[i],a=e[i];if(s.startsWith(":"))o[s.substring(1)]=a;else if(s!==a.path)return null}return{consumed:e.slice(0,r.length),posParams:o}}function Lt(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 o;for(let i=0;i<n.length;i++)if(o=n[i],!Dv(e[o],t[o]))return!1;return!0}function Dv(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((o,i)=>r[i]===o)}return e===t}function wv(e){return Array.prototype.concat.apply([],e)}function Cv(e){return e.length>0?e[e.length-1]:null}function Ie(e,t){for(const n in e)e.hasOwnProperty(n)&&t(e[n],n)}function yn(e){return Pp(e)?e:ls(e)?De(Promise.resolve(e)):S(e)}const Hs=!1,$R={exact:function Sv(e,t,n){if(!Vn(e.segments,t.segments)||!zs(e.segments,t.segments,n)||e.numberOfChildren!==t.numberOfChildren)return!1;for(const r in t.children)if(!e.children[r]||!Sv(e.children[r],t.children[r],n))return!1;return!0},subset:bv},_v={exact:function jR(e,t){return Lt(e,t)},subset:function UR(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(n=>Dv(e[n],t[n]))},ignored:()=>!0};function Ev(e,t,n){return $R[n.paths](e.root,t.root,n.matrixParams)&&_v[n.queryParams](e.queryParams,t.queryParams)&&!("exact"===n.fragment&&e.fragment!==t.fragment)}function bv(e,t,n){return Iv(e,t,t.segments,n)}function Iv(e,t,n,r){if(e.segments.length>n.length){const o=e.segments.slice(0,n.length);return!(!Vn(o,n)||t.hasChildren()||!zs(o,n,r))}if(e.segments.length===n.length){if(!Vn(e.segments,n)||!zs(e.segments,n,r))return!1;for(const o in t.children)if(!e.children[o]||!bv(e.children[o],t.children[o],r))return!1;return!0}{const o=n.slice(0,e.segments.length),i=n.slice(e.segments.length);return!!(Vn(e.segments,o)&&zs(e.segments,o,r)&&e.children[L])&&Iv(e.children[L],t,i,r)}}function zs(e,t,n){return t.every((r,o)=>_v[n](e[o].parameters,r.parameters))}class Un{constructor(t=new B([],{}),n={},r=null){this.root=t,this.queryParams=n,this.fragment=r}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Nr(this.queryParams)),this._queryParamMap}toString(){return HR.serialize(this)}}class B{constructor(t,n){this.segments=t,this.children=n,this.parent=null,Ie(n,(r,o)=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Gs(this)}}class Ho{constructor(t,n){this.path=t,this.parameters=n}get parameterMap(){return this._parameterMap||(this._parameterMap=Nr(this.parameters)),this._parameterMap}toString(){return Av(this)}}function Vn(e,t){return e.length===t.length&&e.every((n,r)=>n.path===t[r].path)}let zo=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=A({token:e,factory:function(){return new xc},providedIn:"root"}),e})();class xc{parse(t){const n=new XR(t);return new Un(n.parseRootSegment(),n.parseQueryParams(),n.parseFragment())}serialize(t){const n=`/${Go(t.root,!0)}`,r=function WR(e){const t=Object.keys(e).map(n=>{const r=e[n];return Array.isArray(r)?r.map(o=>`${Ws(n)}=${Ws(o)}`).join("&"):`${Ws(n)}=${Ws(r)}`}).filter(n=>!!n);return t.length?`?${t.join("&")}`:""}(t.queryParams);return`${n}${r}${"string"==typeof t.fragment?`#${function zR(e){return encodeURI(e)}(t.fragment)}`:""}`}}const HR=new xc;function Gs(e){return e.segments.map(t=>Av(t)).join("/")}function Go(e,t){if(!e.hasChildren())return Gs(e);if(t){const n=e.children[L]?Go(e.children[L],!1):"",r=[];return Ie(e.children,(o,i)=>{i!==L&&r.push(`${i}:${Go(o,!1)}`)}),r.length>0?`${n}(${r.join("//")})`:n}{const n=function BR(e,t){let n=[];return Ie(e.children,(r,o)=>{o===L&&(n=n.concat(t(r,o)))}),Ie(e.children,(r,o)=>{o!==L&&(n=n.concat(t(r,o)))}),n}(e,(r,o)=>o===L?[Go(e.children[L],!1)]:[`${o}:${Go(r,!1)}`]);return 1===Object.keys(e.children).length&&null!=e.children[L]?`${Gs(e)}/${n[0]}`:`${Gs(e)}/(${n.join("//")})`}}function Mv(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Ws(e){return Mv(e).replace(/%3B/gi,";")}function Nc(e){return Mv(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function qs(e){return decodeURIComponent(e)}function Tv(e){return qs(e.replace(/\+/g,"%20"))}function Av(e){return`${Nc(e.path)}${function GR(e){return Object.keys(e).map(t=>`;${Nc(t)}=${Nc(e[t])}`).join("")}(e.parameters)}`}const qR=/^[^\/()?;=#]+/;function Zs(e){const t=e.match(qR);return t?t[0]:""}const ZR=/^[^=?&#]+/,YR=/^[^&#]+/;class XR{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new B([],{}):new B([],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[L]=new B(t,n)),r}parseSegment(){const t=Zs(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new w(4009,Hs);return this.capture(t),new Ho(qs(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const n=Zs(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){const o=Zs(this.remaining);o&&(r=o,this.capture(r))}t[qs(n)]=qs(r)}parseQueryParam(t){const n=function QR(e){const t=e.match(ZR);return t?t[0]:""}(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){const s=function KR(e){const t=e.match(YR);return t?t[0]:""}(this.remaining);s&&(r=s,this.capture(r))}const o=Tv(n),i=Tv(r);if(t.hasOwnProperty(o)){let s=t[o];Array.isArray(s)||(s=[s],t[o]=s),s.push(i)}else t[o]=i}parseParens(t){const n={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const r=Zs(this.remaining),o=this.remaining[r.length];if("/"!==o&&")"!==o&&";"!==o)throw new w(4010,Hs);let i;r.indexOf(":")>-1?(i=r.slice(0,r.indexOf(":")),this.capture(i),this.capture(":")):t&&(i=L);const s=this.parseChildren();n[i]=1===Object.keys(s).length?s[L]:new B([],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 w(4011,Hs)}}function Pc(e){return e.segments.length>0?new B([],{[L]:e}):e}function Qs(e){const t={};for(const r of Object.keys(e.children)){const i=Qs(e.children[r]);(i.segments.length>0||i.hasChildren())&&(t[r]=i)}return function JR(e){if(1===e.numberOfChildren&&e.children[L]){const t=e.children[L];return new B(e.segments.concat(t.segments),t.children)}return e}(new B(e.segments,t))}function Bn(e){return e instanceof Un}function nx(e,t,n,r,o){if(0===n.length)return Pr(t.root,t.root,t.root,r,o);const i=function Nv(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new xv(!0,0,e);let t=0,n=!1;const r=e.reduce((o,i,s)=>{if("object"==typeof i&&null!=i){if(i.outlets){const a={};return Ie(i.outlets,(u,l)=>{a[l]="string"==typeof u?u.split("/"):u}),[...o,{outlets:a}]}if(i.segmentPath)return[...o,i.segmentPath]}return"string"!=typeof i?[...o,i]:0===s?(i.split("/").forEach((a,u)=>{0==u&&"."===a||(0==u&&""===a?n=!0:".."===a?t++:""!=a&&o.push(a))}),o):[...o,i]},[]);return new xv(n,t,r)}(n);return i.toRoot()?Pr(t.root,t.root,new B([],{}),r,o):function s(u){const l=function ox(e,t,n,r){if(e.isAbsolute)return new Or(t.root,!0,0);if(-1===r)return new Or(n,n===t.root,0);return function Pv(e,t,n){let r=e,o=t,i=n;for(;i>o;){if(i-=o,r=r.parent,!r)throw new w(4005,!1);o=r.segments.length}return new Or(r,!1,o-i)}(n,r+(Wo(e.commands[0])?0:1),e.numberOfDoubleDots)}(i,t,e.snapshot?._urlSegment,u),c=l.processChildren?Fr(l.segmentGroup,l.index,i.commands):Fc(l.segmentGroup,l.index,i.commands);return Pr(t.root,l.segmentGroup,c,r,o)}(e.snapshot?._lastPathIndex)}function Wo(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function qo(e){return"object"==typeof e&&null!=e&&e.outlets}function Pr(e,t,n,r,o){let s,i={};r&&Ie(r,(u,l)=>{i[l]=Array.isArray(u)?u.map(c=>`${c}`):`${u}`}),s=e===t?n:Rv(e,t,n);const a=Pc(Qs(s));return new Un(a,i,o)}function Rv(e,t,n){const r={};return Ie(e.children,(o,i)=>{r[i]=o===t?n:Rv(o,t,n)}),new B(e.segments,r)}class xv{constructor(t,n,r){if(this.isAbsolute=t,this.numberOfDoubleDots=n,this.commands=r,t&&r.length>0&&Wo(r[0]))throw new w(4003,!1);const o=r.find(qo);if(o&&o!==Cv(r))throw new w(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Or{constructor(t,n,r){this.segmentGroup=t,this.processChildren=n,this.index=r}}function Fc(e,t,n){if(e||(e=new B([],{})),0===e.segments.length&&e.hasChildren())return Fr(e,t,n);const r=function sx(e,t,n){let r=0,o=t;const i={match:!1,pathIndex:0,commandIndex:0};for(;o<e.segments.length;){if(r>=n.length)return i;const s=e.segments[o],a=n[r];if(qo(a))break;const u=`${a}`,l=r<n.length-1?n[r+1]:null;if(o>0&&void 0===u)break;if(u&&l&&"object"==typeof l&&void 0===l.outlets){if(!Fv(u,l,s))return i;r+=2}else{if(!Fv(u,{},s))return i;r++}o++}return{match:!0,pathIndex:o,commandIndex:r}}(e,t,n),o=n.slice(r.commandIndex);if(r.match&&r.pathIndex<e.segments.length){const i=new B(e.segments.slice(0,r.pathIndex),{});return i.children[L]=new B(e.segments.slice(r.pathIndex),e.children),Fr(i,0,o)}return r.match&&0===o.length?new B(e.segments,{}):r.match&&!e.hasChildren()?kc(e,t,n):r.match?Fr(e,0,o):kc(e,t,n)}function Fr(e,t,n){if(0===n.length)return new B(e.segments,{});{const r=function ix(e){return qo(e[0])?e[0].outlets:{[L]:e}}(n),o={};return!r[L]&&e.children[L]&&1===e.numberOfChildren&&0===e.children[L].segments.length?Fr(e.children[L],t,n):(Ie(r,(i,s)=>{"string"==typeof i&&(i=[i]),null!==i&&(o[s]=Fc(e.children[s],t,i))}),Ie(e.children,(i,s)=>{void 0===r[s]&&(o[s]=i)}),new B(e.segments,o))}}function kc(e,t,n){const r=e.segments.slice(0,t);let o=0;for(;o<n.length;){const i=n[o];if(qo(i)){const u=ax(i.outlets);return new B(r,u)}if(0===o&&Wo(n[0])){r.push(new Ho(e.segments[t].path,Ov(n[0]))),o++;continue}const s=qo(i)?i.outlets[L]:`${i}`,a=o<n.length-1?n[o+1]:null;s&&a&&Wo(a)?(r.push(new Ho(s,Ov(a))),o+=2):(r.push(new Ho(s,{})),o++)}return new B(r,{})}function ax(e){const t={};return Ie(e,(n,r)=>{"string"==typeof n&&(n=[n]),null!==n&&(t[r]=kc(new B([],{}),0,n))}),t}function Ov(e){const t={};return Ie(e,(n,r)=>t[r]=`${n}`),t}function Fv(e,t,n){return e==n.path&&Lt(t,n.parameters)}const Zo="imperative";class $t{constructor(t,n){this.id=t,this.url=n}}class Lc extends $t{constructor(t,n,r="imperative",o=null){super(t,n),this.type=0,this.navigationTrigger=r,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Hn extends $t{constructor(t,n,r){super(t,n),this.urlAfterRedirects=r,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Ys extends $t{constructor(t,n,r,o){super(t,n),this.reason=r,this.code=o,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class kv extends $t{constructor(t,n,r,o){super(t,n),this.reason=r,this.code=o,this.type=16}}class Lv extends $t{constructor(t,n,r,o){super(t,n),this.error=r,this.target=o,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class ux extends $t{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class lx extends $t{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class cx extends $t{constructor(t,n,r,o,i){super(t,n),this.urlAfterRedirects=r,this.state=o,this.shouldActivate=i,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class dx extends $t{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class fx extends $t{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class hx{constructor(t){this.route=t,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class px{constructor(t){this.route=t,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class gx{constructor(t){this.snapshot=t,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class mx{constructor(t){this.snapshot=t,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class yx{constructor(t){this.snapshot=t,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class vx{constructor(t){this.snapshot=t,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class $v{constructor(t,n,r){this.routerEvent=t,this.position=n,this.anchor=r,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}let wx=(()=>{class e{createUrlTree(n,r,o,i,s,a){return nx(n||r.root,o,i,s,a)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=A({token:e,factory:e.\u0275fac}),e})(),Cx=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=A({token:e,factory:function(t){return wx.\u0275fac(t)},providedIn:"root"}),e})();class jv{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=$c(t,this._root);return n?n.children.map(r=>r.value):[]}firstChild(t){const n=$c(t,this._root);return n&&n.children.length>0?n.children[0].value:null}siblings(t){const n=jc(t,this._root);return n.length<2?[]:n[n.length-2].children.map(o=>o.value).filter(o=>o!==t)}pathFromRoot(t){return jc(t,this._root).map(n=>n.value)}}function $c(e,t){if(e===t.value)return t;for(const n of t.children){const r=$c(e,n);if(r)return r}return null}function jc(e,t){if(e===t.value)return[t];for(const n of t.children){const r=jc(e,n);if(r.length)return r.unshift(t),r}return[]}class rn{constructor(t,n){this.value=t,this.children=n}toString(){return`TreeNode(${this.value})`}}function kr(e){const t={};return e&&e.children.forEach(n=>t[n.value.outlet]=n),t}class Uv extends jv{constructor(t,n){super(t),this.snapshot=n,Uc(this,t)}toString(){return this.snapshot.toString()}}function Vv(e,t){const n=function _x(e,t){const s=new Ks([],{},{},"",{},L,t,null,e.root,-1,{});return new Hv("",new rn(s,[]))}(e,t),r=new Mt([new Ho("",{})]),o=new Mt({}),i=new Mt({}),s=new Mt({}),a=new Mt(""),u=new Lr(r,o,s,a,i,L,t,n.root);return u.snapshot=n.root,new Uv(new rn(u,[]),n)}class Lr{constructor(t,n,r,o,i,s,a,u){this.url=t,this.params=n,this.queryParams=r,this.fragment=o,this.data=i,this.outlet=s,this.component=a,this.title=this.data?.pipe($(l=>l[Bo]))??S(void 0),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($(t=>Nr(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe($(t=>Nr(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Bv(e,t="emptyOnly"){const n=e.pathFromRoot;let r=0;if("always"!==t)for(r=n.length-1;r>=1;){const o=n[r],i=n[r-1];if(o.routeConfig&&""===o.routeConfig.path)r--;else{if(i.component)break;r--}}return function Ex(e){return e.reduce((t,n)=>({params:{...t.params,...n.params},data:{...t.data,...n.data},resolve:{...n.data,...t.resolve,...n.routeConfig?.data,...n._resolvedData}}),{params:{},data:{},resolve:{}})}(n.slice(r))}class Ks{get title(){return this.data?.[Bo]}constructor(t,n,r,o,i,s,a,u,l,c,d){this.url=t,this.params=n,this.queryParams=r,this.fragment=o,this.data=i,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=Nr(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Nr(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(r=>r.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Hv extends jv{constructor(t,n){super(n),this.url=t,Uc(this,n)}toString(){return zv(this._root)}}function Uc(e,t){t.value._routerState=e,t.children.forEach(n=>Uc(e,n))}function zv(e){const t=e.children.length>0?` { ${e.children.map(zv).join(", ")} } `:"";return`${e.value}${t}`}function Vc(e){if(e.snapshot){const t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,Lt(t.queryParams,n.queryParams)||e.queryParams.next(n.queryParams),t.fragment!==n.fragment&&e.fragment.next(n.fragment),Lt(t.params,n.params)||e.params.next(n.params),function LR(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;++n)if(!Lt(e[n],t[n]))return!1;return!0}(t.url,n.url)||e.url.next(n.url),Lt(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=Lt(e.params,t.params)&&function VR(e,t){return Vn(e,t)&&e.every((n,r)=>Lt(n.parameters,t[r].parameters))}(e.url,t.url);return n&&!(!e.parent!=!t.parent)&&(!e.parent||Bc(e.parent,t.parent))}function Qo(e,t,n){if(n&&e.shouldReuseRoute(t.value,n.value.snapshot)){const r=n.value;r._futureSnapshot=t.value;const o=function bx(e,t,n){return t.children.map(r=>{for(const o of n.children)if(e.shouldReuseRoute(r.value,o.value.snapshot))return Qo(e,r,o);return Qo(e,r)})}(e,t,n);return new rn(r,o)}{if(e.shouldAttach(t.value)){const i=e.retrieve(t.value);if(null!==i){const s=i.route;return s.value._futureSnapshot=t.value,s.children=t.children.map(a=>Qo(e,a)),s}}const r=function Ix(e){return new Lr(new Mt(e.url),new Mt(e.params),new Mt(e.queryParams),new Mt(e.fragment),new Mt(e.data),e.outlet,e.component,e)}(t.value),o=t.children.map(i=>Qo(e,i));return new rn(r,o)}}const Hc="ngNavigationCancelingError";function Gv(e,t){const{redirectTo:n,navigationBehaviorOptions:r}=Bn(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,o=Wv(!1,0,t);return o.url=n,o.navigationBehaviorOptions=r,o}function Wv(e,t,n){const r=new Error("NavigationCancelingError: "+(e||""));return r[Hc]=!0,r.cancellationCode=t,n&&(r.url=n),r}function qv(e){return Zv(e)&&Bn(e.url)}function Zv(e){return e&&e[Hc]}class Mx{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.injector=null,this.children=new Yo,this.attachRef=null}}let Yo=(()=>{class e{constructor(){this.contexts=new Map}onChildOutletCreated(n,r){const o=this.getOrCreateContext(n);o.outlet=r,this.contexts.set(n,o)}onChildOutletDestroyed(n){const r=this.getContext(n);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){const n=this.contexts;return this.contexts=new Map,n}onOutletReAttached(n){this.contexts=n}getOrCreateContext(n){let r=this.getContext(n);return r||(r=new Mx,this.contexts.set(n,r)),r}getContext(n){return this.contexts.get(n)||null}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Xs=!1;let zc=(()=>{class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=L,this.activateEvents=new je,this.deactivateEvents=new je,this.attachEvents=new je,this.detachEvents=new je,this.parentContexts=G(Yo),this.location=G(Et),this.changeDetector=G(Wl),this.environmentInjector=G(qt)}ngOnChanges(n){if(n.name){const{firstChange:r,previousValue:o}=n.name;if(r)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name)}isTrackedInParentContexts(n){return this.parentContexts.getContext(n)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const n=this.parentContexts.getContext(this.name);n?.route&&(n.attachRef?this.attach(n.attachRef,n.route):this.activateWith(n.route,n.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new w(4012,Xs);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new w(4012,Xs);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new w(4012,Xs);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 w(4013,Xs);this._activatedRoute=n;const o=this.location,s=n.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,u=new Tx(n,a,o.injector);if(r&&function Ax(e){return!!e.resolveComponentFactory}(r)){const l=r.resolveComponentFactory(s);this.activated=o.createComponent(l,o.length,u)}else this.activated=o.createComponent(s,{index:o.length,injector:u,environmentInjector:r??this.environmentInjector});this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=Ne({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[In]}),e})();class Tx{constructor(t,n,r){this.route=t,this.childContexts=n,this.parent=r}get(t,n){return t===Lr?this.route:t===Yo?this.childContexts:this.parent.get(t,n)}}let Gc=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=En({type:e,selectors:[["ng-component"]],standalone:!0,features:[om],decls:1,vars:0,template:function(n,r){1&n&&Yt(0,"router-outlet")},dependencies:[zc],encapsulation:2}),e})();function Qv(e,t){return e.providers&&!e._injector&&(e._injector=ms(e.providers,t,`Route: ${e.path}`)),e._injector??t}function qc(e){const t=e.children&&e.children.map(qc),n=t?{...e,children:t}:{...e};return!n.component&&!n.loadComponent&&(t||n.loadChildren)&&n.outlet&&n.outlet!==L&&(n.component=Gc),n}function pt(e){return e.outlet||L}function Yv(e,t){const n=e.filter(r=>pt(r)===t);return n.push(...e.filter(r=>pt(r)!==t)),n}function Ko(e){if(!e)return null;if(e.routeConfig?._injector)return e.routeConfig._injector;for(let t=e.parent;t;t=t.parent){const n=t.routeConfig;if(n?._loadedInjector)return n._loadedInjector;if(n?._injector)return n._injector}return null}class Ox{constructor(t,n,r,o){this.routeReuseStrategy=t,this.futureState=n,this.currState=r,this.forwardEvent=o}activate(t){const n=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(n,r,t),Vc(this.futureState.root),this.activateChildRoutes(n,r,t)}deactivateChildRoutes(t,n,r){const o=kr(n);t.children.forEach(i=>{const s=i.value.outlet;this.deactivateRoutes(i,o[s],r),delete o[s]}),Ie(o,(i,s)=>{this.deactivateRouteAndItsChildren(i,r)})}deactivateRoutes(t,n,r){const o=t.value,i=n?n.value:null;if(o===i)if(o.component){const s=r.getContext(o.outlet);s&&this.deactivateChildRoutes(t,n,s.children)}else this.deactivateChildRoutes(t,n,r);else i&&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),o=r&&t.value.component?r.children:n,i=kr(t);for(const s of Object.keys(i))this.deactivateRouteAndItsChildren(i[s],o);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),o=r&&t.value.component?r.children:n,i=kr(t);for(const s of Object.keys(i))this.deactivateRouteAndItsChildren(i[s],o);r&&r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated(),r.attachRef=null,r.resolver=null,r.route=null)}activateChildRoutes(t,n,r){const o=kr(n);t.children.forEach(i=>{this.activateRoutes(i,o[i.value.outlet],r),this.forwardEvent(new vx(i.value.snapshot))}),t.children.length&&this.forwardEvent(new mx(t.value.snapshot))}activateRoutes(t,n,r){const o=t.value,i=n?n.value:null;if(Vc(o),o===i)if(o.component){const s=r.getOrCreateContext(o.outlet);this.activateChildRoutes(t,n,s.children)}else this.activateChildRoutes(t,n,r);else if(o.component){const s=r.getOrCreateContext(o.outlet);if(this.routeReuseStrategy.shouldAttach(o.snapshot)){const a=this.routeReuseStrategy.retrieve(o.snapshot);this.routeReuseStrategy.store(o.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),Vc(a.route.value),this.activateChildRoutes(t,null,s.children)}else{const a=Ko(o.snapshot),u=a?.get(vo)??null;s.attachRef=null,s.route=o,s.resolver=u,s.injector=a,s.outlet&&s.outlet.activateWith(o,s.injector),this.activateChildRoutes(t,null,s.children)}}else this.activateChildRoutes(t,null,r)}}class Kv{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class Js{constructor(t,n){this.component=t,this.route=n}}function Fx(e,t,n){const r=e._root;return Xo(r,t?t._root:null,n,[r.value])}function $r(e,t){const n=Symbol(),r=t.get(e,n);return r===n?"function"!=typeof e||function _w(e){return null!==mi(e)}(e)?t.get(e):e:r}function Xo(e,t,n,r,o={canDeactivateChecks:[],canActivateChecks:[]}){const i=kr(t);return e.children.forEach(s=>{(function Lx(e,t,n,r,o={canDeactivateChecks:[],canActivateChecks:[]}){const i=e.value,s=t?t.value:null,a=n?n.getContext(e.value.outlet):null;if(s&&i.routeConfig===s.routeConfig){const u=function $x(e,t,n){if("function"==typeof n)return n(e,t);switch(n){case"pathParamsChange":return!Vn(e.url,t.url);case"pathParamsOrQueryParamsChange":return!Vn(e.url,t.url)||!Lt(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Bc(e,t)||!Lt(e.queryParams,t.queryParams);default:return!Bc(e,t)}}(s,i,i.routeConfig.runGuardsAndResolvers);u?o.canActivateChecks.push(new Kv(r)):(i.data=s.data,i._resolvedData=s._resolvedData),Xo(e,t,i.component?a?a.children:null:n,r,o),u&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new Js(a.outlet.component,s))}else s&&Jo(t,a,o),o.canActivateChecks.push(new Kv(r)),Xo(e,null,i.component?a?a.children:null:n,r,o)})(s,i[s.value.outlet],n,r.concat([s.value]),o),delete i[s.value.outlet]}),Ie(i,(s,a)=>Jo(s,n.getContext(a),o)),o}function Jo(e,t,n){const r=kr(e),o=e.value;Ie(r,(i,s)=>{Jo(i,o.component?t?t.children.getContext(s):null:t,n)}),n.canDeactivateChecks.push(new Js(o.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,o))}function ei(e){return"function"==typeof e}function Zc(e){return e instanceof Us||"EmptyError"===e?.name}const ea=Symbol("INITIAL_VALUE");function jr(){return Ze(e=>hv(e.map(t=>t.pipe(ot(1),function xR(...e){const t=Wr(e);return fe((n,r)=>{(t?Vo(e,n,t):Vo(e,n)).subscribe(r)})}(ea)))).pipe($(t=>{for(const n of t)if(!0!==n){if(n===ea)return ea;if(!1===n||n instanceof Un)return n}return!0}),Qe(t=>t!==ea),ot(1)))}function Xv(e){return function BD(...e){return ad(e)}(be(t=>{if(Bn(t))throw Gv(0,t)}),$(t=>!0===t))}const Qc={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Jv(e,t,n,r,o){const i=Yc(e,t,n);return i.matched?function tN(e,t,n,r){const o=t.canMatch;return o&&0!==o.length?S(o.map(s=>{const a=$r(s,e);return yn(function zx(e){return e&&ei(e.canMatch)}(a)?a.canMatch(t,n):e.runInContext(()=>a(t,n)))})).pipe(jr(),Xv()):S(!0)}(r=Qv(t,r),t,n).pipe($(s=>!0===s?i:{...Qc})):S(i)}function Yc(e,t,n){if(""===t.path)return"full"===t.pathMatch&&(e.hasChildren()||n.length>0)?{...Qc}:{matched:!0,consumedSegments:[],remainingSegments:n,parameters:{},positionalParamSegments:{}};const o=(t.matcher||kR)(n,e,t);if(!o)return{...Qc};const i={};Ie(o.posParams,(a,u)=>{i[u]=a.path});const s=o.consumed.length>0?{...i,...o.consumed[o.consumed.length-1].parameters}:i;return{matched:!0,consumedSegments:o.consumed,remainingSegments:n.slice(o.consumed.length),parameters:s,positionalParamSegments:o.posParams??{}}}function ta(e,t,n,r){if(n.length>0&&function oN(e,t,n){return n.some(r=>na(e,t,r)&&pt(r)!==L)}(e,n,r)){const i=new B(t,function rN(e,t,n,r){const o={};o[L]=r,r._sourceSegment=e,r._segmentIndexShift=t.length;for(const i of n)if(""===i.path&&pt(i)!==L){const s=new B([],{});s._sourceSegment=e,s._segmentIndexShift=t.length,o[pt(i)]=s}return o}(e,t,r,new B(n,e.children)));return i._sourceSegment=e,i._segmentIndexShift=t.length,{segmentGroup:i,slicedSegments:[]}}if(0===n.length&&function iN(e,t,n){return n.some(r=>na(e,t,r))}(e,n,r)){const i=new B(e.segments,function nN(e,t,n,r,o){const i={};for(const s of r)if(na(e,n,s)&&!o[pt(s)]){const a=new B([],{});a._sourceSegment=e,a._segmentIndexShift=t.length,i[pt(s)]=a}return{...o,...i}}(e,t,n,r,e.children));return i._sourceSegment=e,i._segmentIndexShift=t.length,{segmentGroup:i,slicedSegments:n}}const o=new B(e.segments,e.children);return o._sourceSegment=e,o._segmentIndexShift=t.length,{segmentGroup:o,slicedSegments:n}}function na(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path}function eD(e,t,n,r){return!!(pt(e)===r||r!==L&&na(t,n,e))&&("**"===e.path||Yc(t,e,n).matched)}function tD(e,t,n){return 0===t.length&&!e.children[n]}const ra=!1;class oa{constructor(t){this.segmentGroup=t||null}}class nD{constructor(t){this.urlTree=t}}function ti(e){return xr(new oa(e))}function rD(e){return xr(new nD(e))}class lN{constructor(t,n,r,o,i){this.injector=t,this.configLoader=n,this.urlSerializer=r,this.urlTree=o,this.config=i,this.allowRedirects=!0}apply(){const t=ta(this.urlTree.root,[],[],this.config).segmentGroup,n=new B(t.segments,t.children);return this.expandSegmentGroup(this.injector,this.config,n,L).pipe($(i=>this.createUrlTree(Qs(i),this.urlTree.queryParams,this.urlTree.fragment))).pipe(mn(i=>{if(i instanceof nD)return this.allowRedirects=!1,this.match(i.urlTree);throw i instanceof oa?this.noMatchError(i):i}))}match(t){return this.expandSegmentGroup(this.injector,this.config,t.root,L).pipe($(o=>this.createUrlTree(Qs(o),t.queryParams,t.fragment))).pipe(mn(o=>{throw o instanceof oa?this.noMatchError(o):o}))}noMatchError(t){return new w(4002,ra)}createUrlTree(t,n,r){const o=Pc(t);return new Un(o,n,r)}expandSegmentGroup(t,n,r,o){return 0===r.segments.length&&r.hasChildren()?this.expandChildren(t,n,r).pipe($(i=>new B([],i))):this.expandSegment(t,r,n,r.segments,o,!0)}expandChildren(t,n,r){const o=[];for(const i of Object.keys(r.children))"primary"===i?o.unshift(i):o.push(i);return De(o).pipe(jn(i=>{const s=r.children[i],a=Yv(n,i);return this.expandSegmentGroup(t,a,s,i).pipe($(u=>({segment:u,outlet:i})))}),mv((i,s)=>(i[s.outlet]=s.segment,i),{}),yv())}expandSegment(t,n,r,o,i,s){return De(r).pipe(jn(a=>this.expandSegmentAgainstRoute(t,n,r,a,o,i,s).pipe(mn(l=>{if(l instanceof oa)return S(null);throw l}))),gn(a=>!!a),mn((a,u)=>{if(Zc(a))return tD(n,o,i)?S(new B([],{})):ti(n);throw a}))}expandSegmentAgainstRoute(t,n,r,o,i,s,a){return eD(o,n,i,s)?void 0===o.redirectTo?this.matchSegmentAgainstRoute(t,n,o,i,s):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,n,r,o,i,s):ti(n):ti(n)}expandSegmentAgainstRouteUsingRedirect(t,n,r,o,i,s){return"**"===o.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,r,o,s):this.expandRegularSegmentAgainstRouteUsingRedirect(t,n,r,o,i,s)}expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,r,o){const i=this.applyRedirectCommands([],r.redirectTo,{});return r.redirectTo.startsWith("/")?rD(i):this.lineralizeSegments(r,i).pipe(ve(s=>{const a=new B(s,{});return this.expandSegment(t,a,n,s,o,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(t,n,r,o,i,s){const{matched:a,consumedSegments:u,remainingSegments:l,positionalParamSegments:c}=Yc(n,o,i);if(!a)return ti(n);const d=this.applyRedirectCommands(u,o.redirectTo,c);return o.redirectTo.startsWith("/")?rD(d):this.lineralizeSegments(o,d).pipe(ve(f=>this.expandSegment(t,n,r,f.concat(l),s,!1)))}matchSegmentAgainstRoute(t,n,r,o,i){return"**"===r.path?(t=Qv(r,t),r.loadChildren?(r._loadedRoutes?S({routes:r._loadedRoutes,injector:r._loadedInjector}):this.configLoader.loadChildren(t,r)).pipe($(a=>(r._loadedRoutes=a.routes,r._loadedInjector=a.injector,new B(o,{})))):S(new B(o,{}))):Jv(n,r,o,t).pipe(Ze(({matched:s,consumedSegments:a,remainingSegments:u})=>s?this.getChildConfig(t=r._injector??t,r,o).pipe(ve(c=>{const d=c.injector??t,f=c.routes,{segmentGroup:h,slicedSegments:p}=ta(n,a,u,f),g=new B(h.segments,h.children);if(0===p.length&&g.hasChildren())return this.expandChildren(d,f,g).pipe($(y=>new B(a,y)));if(0===f.length&&0===p.length)return S(new B(a,{}));const m=pt(r)===i;return this.expandSegment(d,g,f,p,m?L:i,!0).pipe($(_=>new B(a.concat(_.segments),_.children)))})):ti(n)))}getChildConfig(t,n,r){return n.children?S({routes:n.children,injector:t}):n.loadChildren?void 0!==n._loadedRoutes?S({routes:n._loadedRoutes,injector:n._loadedInjector}):function eN(e,t,n,r){const o=t.canLoad;return void 0===o||0===o.length?S(!0):S(o.map(s=>{const a=$r(s,e);return yn(function Ux(e){return e&&ei(e.canLoad)}(a)?a.canLoad(t,n):e.runInContext(()=>a(t,n)))})).pipe(jr(),Xv())}(t,n,r).pipe(ve(o=>o?this.configLoader.loadChildren(t,n).pipe(be(i=>{n._loadedRoutes=i.routes,n._loadedInjector=i.injector})):function aN(e){return xr(Wv(ra,3))}())):S({routes:[],injector:t})}lineralizeSegments(t,n){let r=[],o=n.root;for(;;){if(r=r.concat(o.segments),0===o.numberOfChildren)return S(r);if(o.numberOfChildren>1||!o.children[L])return xr(new w(4e3,ra));o=o.children[L]}}applyRedirectCommands(t,n,r){return this.applyRedirectCreateUrlTree(n,this.urlSerializer.parse(n),t,r)}applyRedirectCreateUrlTree(t,n,r,o){const i=this.createSegmentGroup(t,n.root,r,o);return new Un(i,this.createQueryParams(n.queryParams,this.urlTree.queryParams),n.fragment)}createQueryParams(t,n){const r={};return Ie(t,(o,i)=>{if("string"==typeof o&&o.startsWith(":")){const a=o.substring(1);r[i]=n[a]}else r[i]=o}),r}createSegmentGroup(t,n,r,o){const i=this.createSegments(t,n.segments,r,o);let s={};return Ie(n.children,(a,u)=>{s[u]=this.createSegmentGroup(t,a,r,o)}),new B(i,s)}createSegments(t,n,r,o){return n.map(i=>i.path.startsWith(":")?this.findPosParam(t,i,o):this.findOrReturn(i,r))}findPosParam(t,n,r){const o=r[n.path.substring(1)];if(!o)throw new w(4001,ra);return o}findOrReturn(t,n){let r=0;for(const o of n){if(o.path===t.path)return n.splice(r),o;r++}return t}}class dN{}class pN{constructor(t,n,r,o,i,s,a){this.injector=t,this.rootComponentType=n,this.config=r,this.urlTree=o,this.url=i,this.paramsInheritanceStrategy=s,this.urlSerializer=a}recognize(){const t=ta(this.urlTree.root,[],[],this.config.filter(n=>void 0===n.redirectTo)).segmentGroup;return this.processSegmentGroup(this.injector,this.config,t,L).pipe($(n=>{if(null===n)return null;const r=new Ks([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},L,this.rootComponentType,null,this.urlTree.root,-1,{}),o=new rn(r,n),i=new Hv(this.url,o);return this.inheritParamsAndData(i._root),i}))}inheritParamsAndData(t){const n=t.value,r=Bv(n,this.paramsInheritanceStrategy);n.params=Object.freeze(r.params),n.data=Object.freeze(r.data),t.children.forEach(o=>this.inheritParamsAndData(o))}processSegmentGroup(t,n,r,o){return 0===r.segments.length&&r.hasChildren()?this.processChildren(t,n,r):this.processSegment(t,n,r,r.segments,o)}processChildren(t,n,r){return De(Object.keys(r.children)).pipe(jn(o=>{const i=r.children[o],s=Yv(n,o);return this.processSegmentGroup(t,s,i,o)}),mv((o,i)=>o&&i?(o.push(...i),o):null),function OR(e,t=!1){return fe((n,r)=>{let o=0;n.subscribe(ye(r,i=>{const s=e(i,o++);(s||t)&&r.next(i),!s&&r.complete()}))})}(o=>null!==o),Bs(null),yv(),$(o=>{if(null===o)return null;const i=iD(o);return function gN(e){e.sort((t,n)=>t.value.outlet===L?-1:n.value.outlet===L?1:t.value.outlet.localeCompare(n.value.outlet))}(i),i}))}processSegment(t,n,r,o,i){return De(n).pipe(jn(s=>this.processSegmentAgainstRoute(s._injector??t,s,r,o,i)),gn(s=>!!s),mn(s=>{if(Zc(s))return tD(r,o,i)?S([]):S(null);throw s}))}processSegmentAgainstRoute(t,n,r,o,i){if(n.redirectTo||!eD(n,r,o,i))return S(null);let s;if("**"===n.path){const a=o.length>0?Cv(o).parameters:{},u=aD(r)+o.length;s=S({snapshot:new Ks(o,a,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,uD(n),pt(n),n.component??n._loadedComponent??null,n,sD(r),u,lD(n)),consumedSegments:[],remainingSegments:[]})}else s=Jv(r,n,o,t).pipe($(({matched:a,consumedSegments:u,remainingSegments:l,parameters:c})=>{if(!a)return null;const d=aD(r)+u.length;return{snapshot:new Ks(u,c,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,uD(n),pt(n),n.component??n._loadedComponent??null,n,sD(r),d,lD(n)),consumedSegments:u,remainingSegments:l}}));return s.pipe(Ze(a=>{if(null===a)return S(null);const{snapshot:u,consumedSegments:l,remainingSegments:c}=a;t=n._injector??t;const d=n._loadedInjector??t,f=function mN(e){return e.children?e.children:e.loadChildren?e._loadedRoutes:[]}(n),{segmentGroup:h,slicedSegments:p}=ta(r,l,c,f.filter(m=>void 0===m.redirectTo));if(0===p.length&&h.hasChildren())return this.processChildren(d,f,h).pipe($(m=>null===m?null:[new rn(u,m)]));if(0===f.length&&0===p.length)return S([new rn(u,[])]);const g=pt(n)===i;return this.processSegment(d,f,h,p,g?L:i).pipe($(m=>null===m?null:[new rn(u,m)]))}))}}function yN(e){const t=e.value.routeConfig;return t&&""===t.path&&void 0===t.redirectTo}function iD(e){const t=[],n=new Set;for(const r of e){if(!yN(r)){t.push(r);continue}const o=t.find(i=>r.value.routeConfig===i.value.routeConfig);void 0!==o?(o.children.push(...r.children),n.add(o)):t.push(r)}for(const r of n){const o=iD(r.children);t.push(new rn(r.value,o))}return t.filter(r=>!n.has(r))}function sD(e){let t=e;for(;t._sourceSegment;)t=t._sourceSegment;return t}function aD(e){let t=e,n=t._segmentIndexShift??0;for(;t._sourceSegment;)t=t._sourceSegment,n+=t._segmentIndexShift??0;return n-1}function uD(e){return e.data||{}}function lD(e){return e.resolve||{}}function cD(e){return"string"==typeof e.title||null===e.title}function Kc(e){return Ze(t=>{const n=e(t);return n?De(n).pipe($(()=>t)):S(t)})}const Ur=new R("ROUTES");let Xc=(()=>{class e{constructor(n,r){this.injector=n,this.compiler=r,this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap}loadComponent(n){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return S(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);const r=yn(n.loadComponent()).pipe($(fD),be(i=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=i}),Rc(()=>{this.componentLoaders.delete(n)})),o=new Tc(r,()=>new st).pipe(Mc());return this.componentLoaders.set(n,o),o}loadChildren(n,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return S({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);const i=this.loadModuleFactoryOrRoutes(r.loadChildren).pipe($(a=>{this.onLoadEndListener&&this.onLoadEndListener(r);let u,l,c=!1;Array.isArray(a)?l=a:(u=a.create(n).injector,l=wv(u.get(Ur,[],T.Self|T.Optional)));return{routes:l.map(qc),injector:u}}),Rc(()=>{this.childrenLoaders.delete(r)})),s=new Tc(i,()=>new st).pipe(Mc());return this.childrenLoaders.set(r,s),s}loadModuleFactoryOrRoutes(n){return yn(n()).pipe($(fD),ve(o=>o instanceof nm||Array.isArray(o)?S(o):De(this.compiler.compileModuleAsync(o))))}}return e.\u0275fac=function(n){return new(n||e)(b(wt),b(Zm))},e.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function fD(e){return function IN(e){return e&&"object"==typeof e&&"default"in e}(e)?e.default:e}let sa=(()=>{class e{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.lastSuccessfulNavigation=null,this.events=new st,this.configLoader=G(Xc),this.environmentInjector=G(qt),this.urlSerializer=G(zo),this.rootContexts=G(Yo),this.navigationId=0,this.afterPreactivation=()=>S(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=o=>this.events.next(new px(o)),this.configLoader.onLoadStartListener=o=>this.events.next(new hx(o))}complete(){this.transitions?.complete()}handleNavigationRequest(n){const r=++this.navigationId;this.transitions?.next({...this.transitions.value,...n,id:r})}setupNavigations(n){return this.transitions=new Mt({id:0,targetPageId:0,currentUrlTree:n.currentUrlTree,currentRawUrl:n.currentUrlTree,extractedUrl:n.urlHandlingStrategy.extract(n.currentUrlTree),urlAfterRedirects:n.urlHandlingStrategy.extract(n.currentUrlTree),rawUrl:n.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:Zo,restoredState:null,currentSnapshot:n.routerState.snapshot,targetSnapshot:null,currentRouterState:n.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(Qe(r=>0!==r.id),$(r=>({...r,extractedUrl:n.urlHandlingStrategy.extract(r.rawUrl)})),Ze(r=>{let o=!1,i=!1;return S(r).pipe(be(s=>{this.currentNavigation={id:s.id,initialUrl:s.rawUrl,extractedUrl:s.extractedUrl,trigger:s.source,extras:s.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),Ze(s=>{const a=n.browserUrlTree.toString(),u=!n.navigated||s.extractedUrl.toString()!==a||a!==n.currentUrlTree.toString();if(!u&&"reload"!==(s.extras.onSameUrlNavigation??n.onSameUrlNavigation)){const c="";return this.events.next(new kv(s.id,n.serializeUrl(r.rawUrl),c,0)),n.rawUrlTree=s.rawUrl,s.resolve(null),Tt}if(n.urlHandlingStrategy.shouldProcessUrl(s.rawUrl))return hD(s.source)&&(n.browserUrlTree=s.extractedUrl),S(s).pipe(Ze(c=>{const d=this.transitions?.getValue();return this.events.next(new Lc(c.id,this.urlSerializer.serialize(c.extractedUrl),c.source,c.restoredState)),d!==this.transitions?.getValue()?Tt:Promise.resolve(c)}),function cN(e,t,n,r){return Ze(o=>function uN(e,t,n,r,o){return new lN(e,t,n,r,o).apply()}(e,t,n,o.extractedUrl,r).pipe($(i=>({...o,urlAfterRedirects:i}))))}(this.environmentInjector,this.configLoader,this.urlSerializer,n.config),be(c=>{this.currentNavigation={...this.currentNavigation,finalUrl:c.urlAfterRedirects},r.urlAfterRedirects=c.urlAfterRedirects}),function DN(e,t,n,r,o){return ve(i=>function hN(e,t,n,r,o,i,s="emptyOnly"){return new pN(e,t,n,r,o,s,i).recognize().pipe(Ze(a=>null===a?function fN(e){return new re(t=>t.error(e))}(new dN):S(a)))}(e,t,n,i.urlAfterRedirects,r.serialize(i.urlAfterRedirects),r,o).pipe($(s=>({...i,targetSnapshot:s}))))}(this.environmentInjector,this.rootComponentType,n.config,this.urlSerializer,n.paramsInheritanceStrategy),be(c=>{if(r.targetSnapshot=c.targetSnapshot,"eager"===n.urlUpdateStrategy){if(!c.extras.skipLocationChange){const f=n.urlHandlingStrategy.merge(c.urlAfterRedirects,c.rawUrl);n.setBrowserUrl(f,c)}n.browserUrlTree=c.urlAfterRedirects}const d=new ux(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(d)}));if(u&&n.urlHandlingStrategy.shouldProcessUrl(n.rawUrlTree)){const{id:c,extractedUrl:d,source:f,restoredState:h,extras:p}=s,g=new Lc(c,this.urlSerializer.serialize(d),f,h);this.events.next(g);const m=Vv(d,this.rootComponentType).snapshot;return S(r={...s,targetSnapshot:m,urlAfterRedirects:d,extras:{...p,skipLocationChange:!1,replaceUrl:!1}})}{const c="";return this.events.next(new kv(s.id,n.serializeUrl(r.extractedUrl),c,1)),n.rawUrlTree=s.rawUrl,s.resolve(null),Tt}}),be(s=>{const a=new lx(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(a)}),$(s=>r={...s,guards:Fx(s.targetSnapshot,s.currentSnapshot,this.rootContexts)}),function Wx(e,t){return ve(n=>{const{targetSnapshot:r,currentSnapshot:o,guards:{canActivateChecks:i,canDeactivateChecks:s}}=n;return 0===s.length&&0===i.length?S({...n,guardsResult:!0}):function qx(e,t,n,r){return De(e).pipe(ve(o=>function Jx(e,t,n,r,o){const i=t&&t.routeConfig?t.routeConfig.canDeactivate:null;return i&&0!==i.length?S(i.map(a=>{const u=Ko(t)??o,l=$r(a,u);return yn(function Hx(e){return e&&ei(e.canDeactivate)}(l)?l.canDeactivate(e,t,n,r):u.runInContext(()=>l(e,t,n,r))).pipe(gn())})).pipe(jr()):S(!0)}(o.component,o.route,n,t,r)),gn(o=>!0!==o,!0))}(s,r,o,e).pipe(ve(a=>a&&function jx(e){return"boolean"==typeof e}(a)?function Zx(e,t,n,r){return De(t).pipe(jn(o=>Vo(function Yx(e,t){return null!==e&&t&&t(new gx(e)),S(!0)}(o.route.parent,r),function Qx(e,t){return null!==e&&t&&t(new yx(e)),S(!0)}(o.route,r),function Xx(e,t,n){const r=t[t.length-1],i=t.slice(0,t.length-1).reverse().map(s=>function kx(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=>Vs(()=>S(s.guards.map(u=>{const l=Ko(s.node)??n,c=$r(u,l);return yn(function Bx(e){return e&&ei(e.canActivateChild)}(c)?c.canActivateChild(r,e):l.runInContext(()=>c(r,e))).pipe(gn())})).pipe(jr())));return S(i).pipe(jr())}(e,o.path,n),function Kx(e,t,n){const r=t.routeConfig?t.routeConfig.canActivate:null;if(!r||0===r.length)return S(!0);const o=r.map(i=>Vs(()=>{const s=Ko(t)??n,a=$r(i,s);return yn(function Vx(e){return e&&ei(e.canActivate)}(a)?a.canActivate(t,e):s.runInContext(()=>a(t,e))).pipe(gn())}));return S(o).pipe(jr())}(e,o.route,n))),gn(o=>!0!==o,!0))}(r,i,e,t):S(a)),$(a=>({...n,guardsResult:a})))})}(this.environmentInjector,s=>this.events.next(s)),be(s=>{if(r.guardsResult=s.guardsResult,Bn(s.guardsResult))throw Gv(0,s.guardsResult);const a=new cx(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot,!!s.guardsResult);this.events.next(a)}),Qe(s=>!!s.guardsResult||(n.restoreHistory(s),this.cancelNavigationTransition(s,"",3),!1)),Kc(s=>{if(s.guards.canActivateChecks.length)return S(s).pipe(be(a=>{const u=new dx(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(u)}),Ze(a=>{let u=!1;return S(a).pipe(function wN(e,t){return ve(n=>{const{targetSnapshot:r,guards:{canActivateChecks:o}}=n;if(!o.length)return S(n);let i=0;return De(o).pipe(jn(s=>function CN(e,t,n,r){const o=e.routeConfig,i=e._resolve;return void 0!==o?.title&&!cD(o)&&(i[Bo]=o.title),function _N(e,t,n,r){const o=function EN(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e)]}(e);if(0===o.length)return S({});const i={};return De(o).pipe(ve(s=>function SN(e,t,n,r){const o=Ko(t)??r,i=$r(e,o);return yn(i.resolve?i.resolve(t,n):o.runInContext(()=>i(t,n)))}(e[s],t,n,r).pipe(gn(),be(a=>{i[s]=a}))),Ac(1),vv(i),mn(s=>Zc(s)?Tt:xr(s)))}(i,e,t,r).pipe($(s=>(e._resolvedData=s,e.data=Bv(e,n).resolve,o&&cD(o)&&(e.data[Bo]=o.title),null)))}(s.route,r,e,t)),be(()=>i++),Ac(1),ve(s=>i===o.length?S(n):Tt))})}(n.paramsInheritanceStrategy,this.environmentInjector),be({next:()=>u=!0,complete:()=>{u||(n.restoreHistory(a),this.cancelNavigationTransition(a,"",2))}}))}),be(a=>{const u=new fx(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(u)}))}),Kc(s=>{const a=u=>{const l=[];u.routeConfig?.loadComponent&&!u.routeConfig._loadedComponent&&l.push(this.configLoader.loadComponent(u.routeConfig).pipe(be(c=>{u.component=c}),$(()=>{})));for(const c of u.children)l.push(...a(c));return l};return hv(a(s.targetSnapshot.root)).pipe(Bs(),ot(1))}),Kc(()=>this.afterPreactivation()),$(s=>{const a=function Sx(e,t,n){const r=Qo(e,t._root,n?n._root:void 0);return new Uv(r,t)}(n.routeReuseStrategy,s.targetSnapshot,s.currentRouterState);return r={...s,targetRouterState:a}}),be(s=>{n.currentUrlTree=s.urlAfterRedirects,n.rawUrlTree=n.urlHandlingStrategy.merge(s.urlAfterRedirects,s.rawUrl),n.routerState=s.targetRouterState,"deferred"===n.urlUpdateStrategy&&(s.extras.skipLocationChange||n.setBrowserUrl(n.rawUrlTree,s),n.browserUrlTree=s.urlAfterRedirects)}),((e,t,n)=>$(r=>(new Ox(t,r.targetRouterState,r.currentRouterState,n).activate(e),r)))(this.rootContexts,n.routeReuseStrategy,s=>this.events.next(s)),be({next:s=>{o=!0,this.lastSuccessfulNavigation=this.currentNavigation,n.navigated=!0,this.events.next(new Hn(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(n.currentUrlTree))),n.titleStrategy?.updateTitle(s.targetRouterState.snapshot),s.resolve(!0)},complete:()=>{o=!0}}),Rc(()=>{o||i||this.cancelNavigationTransition(r,"",1),this.currentNavigation?.id===r.id&&(this.currentNavigation=null)}),mn(s=>{if(i=!0,Zv(s)){qv(s)||(n.navigated=!0,n.restoreHistory(r,!0));const a=new Ys(r.id,this.urlSerializer.serialize(r.extractedUrl),s.message,s.cancellationCode);if(this.events.next(a),qv(s)){const u=n.urlHandlingStrategy.merge(s.url,n.rawUrlTree),l={skipLocationChange:r.extras.skipLocationChange,replaceUrl:"eager"===n.urlUpdateStrategy||hD(r.source)};n.scheduleNavigation(u,Zo,null,l,{resolve:r.resolve,reject:r.reject,promise:r.promise})}else r.resolve(!1)}else{n.restoreHistory(r,!0);const a=new Lv(r.id,this.urlSerializer.serialize(r.extractedUrl),s,r.targetSnapshot??void 0);this.events.next(a);try{r.resolve(n.errorHandler(s))}catch(u){r.reject(u)}}return Tt}))}))}cancelNavigationTransition(n,r,o){const i=new Ys(n.id,this.urlSerializer.serialize(n.extractedUrl),r,o);this.events.next(i),n.resolve(!1)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function hD(e){return e!==Zo}let pD=(()=>{class e{buildTitle(n){let r,o=n.root;for(;void 0!==o;)r=this.getResolvedTitleForRoute(o)??r,o=o.children.find(i=>i.outlet===L);return r}getResolvedTitleForRoute(n){return n.data[Bo]}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=A({token:e,factory:function(){return G(MN)},providedIn:"root"}),e})(),MN=(()=>{class e extends pD{constructor(n){super(),this.title=n}updateTitle(n){const r=this.buildTitle(n);void 0!==r&&this.title.setTitle(r)}}return e.\u0275fac=function(n){return new(n||e)(b(lv))},e.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),TN=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=A({token:e,factory:function(){return G(RN)},providedIn:"root"}),e})();class AN{shouldDetach(t){return!1}store(t,n){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,n){return t.routeConfig===n.routeConfig}}let RN=(()=>{class e extends AN{}return e.\u0275fac=function(){let t;return function(r){return(t||(t=function Sf(e){return sn(()=>{const t=e.prototype.constructor,n=t[Bt]||Xa(t),r=Object.prototype;let o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){const i=o[Bt]||Xa(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}(e)))(r||e)}}(),e.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const aa=new R("",{providedIn:"root",factory:()=>({})});let NN=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=A({token:e,factory:function(){return G(PN)},providedIn:"root"}),e})(),PN=(()=>{class e{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,r){return n}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function ON(e){throw e}function FN(e,t,n){return t.parse("/")}const kN={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},LN={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let it=(()=>{class e{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){return this.location.getState()?.\u0275routerPageId}get events(){return this.navigationTransitions.events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=G(nM),this.isNgZoneEnabled=!1,this.options=G(aa,{optional:!0})||{},this.errorHandler=this.options.errorHandler||ON,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||FN,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=G(NN),this.routeReuseStrategy=G(TN),this.urlCreationStrategy=G(Cx),this.titleStrategy=G(pD),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.config=wv(G(Ur,{optional:!0})??[]),this.navigationTransitions=G(sa),this.urlSerializer=G(zo),this.location=G(tc),this.isNgZoneEnabled=G(le)instanceof le&&le.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new Un,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=Vv(this.currentUrlTree,null),this.navigationTransitions.setupNavigations(this).subscribe(n=>{this.lastSuccessfulId=n.id,this.currentPageId=n.targetPageId},n=>{this.console.warn(`Unhandled Navigation Error: ${n}`)})}resetRootComponentType(n){this.routerState.root.component=n,this.navigationTransitions.rootComponentType=n}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){const n=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),Zo,n)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(n=>{const r="popstate"===n.type?"popstate":"hashchange";"popstate"===r&&setTimeout(()=>{this.navigateToSyncWithBrowser(n.url,r,n.state)},0)}))}navigateToSyncWithBrowser(n,r,o){const i={replaceUrl:!0},s=o?.navigationId?o:null;if(o){const u={...o};delete u.navigationId,delete u.\u0275routerPageId,0!==Object.keys(u).length&&(i.state=u)}const a=this.parseUrl(n);this.scheduleNavigation(a,r,s,i)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}resetConfig(n){this.config=n.map(qc),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(n,r={}){const{relativeTo:o,queryParams:i,fragment:s,queryParamsHandling:a,preserveFragment:u}=r,l=u?this.currentUrlTree.fragment:s;let c=null;switch(a){case"merge":c={...this.currentUrlTree.queryParams,...i};break;case"preserve":c=this.currentUrlTree.queryParams;break;default:c=i||null}return null!==c&&(c=this.removeEmptyProps(c)),this.urlCreationStrategy.createUrlTree(o,this.routerState,this.currentUrlTree,n,c,l??null)}navigateByUrl(n,r={skipLocationChange:!1}){const o=Bn(n)?n:this.parseUrl(n),i=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(i,Zo,null,r)}navigate(n,r={skipLocationChange:!1}){return function $N(e){for(let t=0;t<e.length;t++){if(null==e[t])throw new w(4008,!1)}}(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(o){r=this.malformedUriErrorHandler(o,this.urlSerializer,n)}return r}isActive(n,r){let o;if(o=!0===r?{...kN}:!1===r?{...LN}:r,Bn(n))return Ev(this.currentUrlTree,n,o);const i=this.parseUrl(n);return Ev(this.currentUrlTree,i,o)}removeEmptyProps(n){return Object.keys(n).reduce((r,o)=>{const i=n[o];return null!=i&&(r[o]=i),r},{})}scheduleNavigation(n,r,o,i,s){if(this.disposed)return Promise.resolve(!1);let a,u,l,c;return s?(a=s.resolve,u=s.reject,l=s.promise):l=new Promise((d,f)=>{a=d,u=f}),c="computed"===this.canceledNavigationResolution?o&&o.\u0275routerPageId?o.\u0275routerPageId:i.replaceUrl||i.skipLocationChange?this.browserPageId??0:(this.browserPageId??0)+1:0,this.navigationTransitions.handleNavigationRequest({targetPageId:c,source:r,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:n,extras:i,resolve:a,reject:u,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(d=>Promise.reject(d))}setBrowserUrl(n,r){const o=this.urlSerializer.serialize(n),i={...r.extras.state,...this.generateNgRouterState(r.id,r.targetPageId)};this.location.isCurrentPathEqualTo(o)||r.extras.replaceUrl?this.location.replaceState(o,"",i):this.location.go(o,"",i)}restoreHistory(n,r=!1){if("computed"===this.canceledNavigationResolution){const o=this.currentPageId-n.targetPageId;"popstate"!==n.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==this.getCurrentNavigation()?.finalUrl||0===o?this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===o&&(this.resetState(n),this.browserUrlTree=n.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(o)}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))}generateNgRouterState(n,r){return"computed"===this.canceledNavigationResolution?{navigationId:n,\u0275routerPageId:r}:{navigationId:n}}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),ua=(()=>{class e{constructor(n,r,o,i,s,a){this.router=n,this.route=r,this.tabIndexAttribute=o,this.renderer=i,this.el=s,this.locationStrategy=a,this._preserveFragment=!1,this._skipLocationChange=!1,this._replaceUrl=!1,this.href=null,this.commands=null,this.onChanges=new st;const u=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===u||"area"===u,this.isAnchorElement?this.subscription=n.events.subscribe(l=>{l instanceof Hn&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}set preserveFragment(n){this._preserveFragment=Kl(n)}get preserveFragment(){return this._preserveFragment}set skipLocationChange(n){this._skipLocationChange=Kl(n)}get skipLocationChange(){return this._skipLocationChange}set replaceUrl(n){this._replaceUrl=Kl(n)}get replaceUrl(){return this._replaceUrl}setTabIndexIfNotOnNativeEl(n){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",n)}ngOnChanges(n){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(n){null!=n?(this.commands=Array.isArray(n)?n:[n],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(n,r,o,i,s){return!!(null===this.urlTree||this.isAnchorElement&&(0!==n||r||o||i||s||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=null!==this.urlTree&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;const n=null===this.href?null:function Eh(e,t,n){return function K_(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?_h:Ch}(t,n)(e)}(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",n)}applyAttributeValue(n,r){const o=this.renderer,i=this.el.nativeElement;null!==r?o.setAttribute(i,n,r):o.removeAttribute(i,n)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}}return e.\u0275fac=function(n){return new(n||e)(x(it),x(Lr),function ki(e){return function _C(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 o=0;for(;o<r;){const i=n[o];if(df(i))break;if(0===i)o+=2;else if("number"==typeof i)for(o++;o<r&&"string"==typeof n[o];)o++;else{if(i===t)return n[o+1];o+=2}}}return null}(Se(),e)}("tabindex"),x(Yi),x(cn),x($n))},e.\u0275dir=Ne({type:e,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(n,r){1&n&&ll("click",function(i){return r.onClick(i.button,i.ctrlKey,i.shiftKey,i.altKey,i.metaKey)}),2&n&&il("target",r.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",routerLink:"routerLink"},standalone:!0,features:[In]}),e})(),mD=(()=>{class e{get isActive(){return this._isActive}constructor(n,r,o,i,s){this.router=n,this.element=r,this.renderer=o,this.cdr=i,this.link=s,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new je,this.routerEventsSubscription=n.events.subscribe(a=>{a instanceof Hn&&this.update()})}ngAfterContentInit(){S(this.links.changes,S(null)).pipe(Wn()).subscribe(n=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const n=[...this.links.toArray(),this.link].filter(r=>!!r).map(r=>r.onChanges);this.linkInputChangesSubscription=De(n).pipe(Wn()).subscribe(r=>{this._isActive!==this.isLinkActive(this.router)(r)&&this.update()})}set routerLinkActive(n){const r=Array.isArray(n)?n:n.split(" ");this.classes=r.filter(o=>!!o)}ngOnChanges(n){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||Promise.resolve().then(()=>{const n=this.hasActiveLinks();this._isActive!==n&&(this._isActive=n,this.cdr.markForCheck(),this.classes.forEach(r=>{n?this.renderer.addClass(this.element.nativeElement,r):this.renderer.removeClass(this.element.nativeElement,r)}),n&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this.isActiveChange.emit(n))})}isLinkActive(n){const r=function jN(e){return!!e.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return o=>!!o.urlTree&&n.isActive(o.urlTree,r)}hasActiveLinks(){const n=this.isLinkActive(this.router);return this.link&&n(this.link)||this.links.some(n)}}return e.\u0275fac=function(n){return new(n||e)(x(it),x(cn),x(Yi),x(Wl),x(ua,8))},e.\u0275dir=Ne({type:e,selectors:[["","routerLinkActive",""]],contentQueries:function(n,r,o){if(1&n&&_m(o,ua,5),2&n){let i;Cm(i=function Em(){return function O0(e,t){return e[19].queries[t].queryList}(v(),nf())}())&&(r.links=i)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[In]}),e})();class yD{}let UN=(()=>{class e{constructor(n,r,o,i,s){this.router=n,this.injector=o,this.preloadingStrategy=i,this.loader=s}setUpPreloading(){this.subscription=this.router.events.pipe(Qe(n=>n instanceof Hn),jn(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(n,r){const o=[];for(const i of r){i.providers&&!i._injector&&(i._injector=ms(i.providers,n,`Route: ${i.path}`));const s=i._injector??n,a=i._loadedInjector??s;i.loadChildren&&!i._loadedRoutes&&void 0===i.canLoad||i.loadComponent&&!i._loadedComponent?o.push(this.preloadConfig(s,i)):(i.children||i._loadedRoutes)&&o.push(this.processRoutes(a,i.children??i._loadedRoutes))}return De(o).pipe(Wn())}preloadConfig(n,r){return this.preloadingStrategy.preload(r,()=>{let o;o=r.loadChildren&&void 0===r.canLoad?this.loader.loadChildren(n,r):S(null);const i=o.pipe(ve(s=>null===s?S(void 0):(r._loadedRoutes=s.routes,r._loadedInjector=s.injector,this.processRoutes(s.injector??n,s.routes))));return r.loadComponent&&!r._loadedComponent?De([i,this.loader.loadComponent(r)]).pipe(Wn()):i})}}return e.\u0275fac=function(n){return new(n||e)(b(it),b(Zm),b(qt),b(yD),b(Xc))},e.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Jc=new R("");let vD=(()=>{class e{constructor(n,r,o,i,s={}){this.urlSerializer=n,this.transitions=r,this.viewportScroller=o,this.zone=i,this.options=s,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},s.scrollPositionRestoration=s.scrollPositionRestoration||"disabled",s.anchorScrolling=s.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof Lc?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=n.navigationTrigger,this.restoredId=n.restoredState?n.restoredState.navigationId:0):n instanceof Hn&&(this.lastId=n.id,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof $v&&(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.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new $v(n,"popstate"===this.lastSource?this.store[this.restoredId]:null,r))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}}return e.\u0275fac=function(n){!function ep(){throw new Error("invalid")}()},e.\u0275prov=A({token:e,factory:e.\u0275fac}),e})();function zn(e,t){return{\u0275kind:e,\u0275providers:t}}function wD(){const e=G(wt);return t=>{const n=e.get(Oo);if(t!==n.components[0])return;const r=e.get(it),o=e.get(CD);1===e.get(td)&&r.initialNavigation(),e.get(_D,null,T.Optional)?.setUpPreloading(),e.get(Jc,null,T.Optional)?.init(),r.resetRootComponentType(n.componentTypes[0]),o.closed||(o.next(),o.unsubscribe())}}const CD=new R("",{factory:()=>new st}),td=new R("",{providedIn:"root",factory:()=>1});const _D=new R("");function GN(e){return zn(0,[{provide:_D,useExisting:UN},{provide:yD,useExisting:e}])}const ED=new R("ROUTER_FORROOT_GUARD"),WN=[tc,{provide:zo,useClass:xc},it,Yo,{provide:Lr,useFactory:function DD(e){return e.routerState.root},deps:[it]},Xc,[]];function qN(){return new ty("Router",it)}let SD=(()=>{class e{constructor(n){}static forRoot(n,r){return{ngModule:e,providers:[WN,[],{provide:Ur,multi:!0,useValue:n},{provide:ED,useFactory:KN,deps:[[it,new ao,new uo]]},{provide:aa,useValue:r||{}},r?.useHash?{provide:$n,useClass:zM}:{provide:$n,useClass:Sy},{provide:Jc,useFactory:()=>{const e=G(fA),t=G(le),n=G(aa),r=G(sa),o=G(zo);return n.scrollOffset&&e.setOffset(n.scrollOffset),new vD(o,r,e,t,n)}},r?.preloadingStrategy?GN(r.preloadingStrategy).\u0275providers:[],{provide:ty,multi:!0,useFactory:qN},r?.initialNavigation?XN(r):[],[{provide:bD,useFactory:wD},{provide:qm,multi:!0,useExisting:bD}]]}}static forChild(n){return{ngModule:e,providers:[{provide:Ur,multi:!0,useValue:n}]}}}return e.\u0275fac=function(n){return new(n||e)(b(ED,8))},e.\u0275mod=an({type:e}),e.\u0275inj=Ut({imports:[Gc]}),e})();function KN(e){return"guarded"}function XN(e){return["disabled"===e.initialNavigation?zn(3,[{provide:No,multi:!0,useFactory:()=>{const t=G(it);return()=>{t.setUpLocationChangeListener()}}},{provide:td,useValue:2}]).\u0275providers:[],"enabledBlocking"===e.initialNavigation?zn(2,[{provide:td,useValue:0},{provide:No,multi:!0,deps:[wt],useFactory:t=>{const n=t.get(BM,Promise.resolve());return()=>n.then(()=>new Promise(o=>{const i=t.get(it),s=t.get(CD);(function r(o){t.get(it).events.pipe(Qe(s=>s instanceof Hn||s instanceof Ys||s instanceof Lv),$(s=>s instanceof Hn||s instanceof Ys&&(0===s.code||1===s.code)&&null),Qe(s=>null!==s),ot(1)).subscribe(()=>{o()})})(()=>{o(!0)}),t.get(sa).afterPreactivation=()=>(o(!0),s.closed?S(void 0):s),i.initialNavigation()}))}}]).\u0275providers:[]]}const bD=new R("");class ri{}ri.\u0275fac=function(t){return new(t||ri)},ri.\u0275cmp=En({type:ri,selectors:[["app-datos"]],decls:22,vars:0,consts:[["id","container"],["id","img-group1"],["src","http://picsum.photos/200/300"],["src","http://picsum.photos/200"],["src","http://picsum.photos/id/237/200/300"],["id","img-group2"],["id","img-group3"]],template:function(t,n){1&t&&(Le(0,"div",0)(1,"div",1),Yt(2,"img",2)(3,"img",3)(4,"img",4)(5,"img",3)(6,"img",2)(7,"img",4),Ge(),Le(8,"div",5),Yt(9,"img",2)(10,"img",3)(11,"img",4)(12,"img",3)(13,"img",2)(14,"img",4),Ge(),Le(15,"div",6),Yt(16,"img",3)(17,"img",2)(18,"img",4)(19,"img",3)(20,"img",2)(21,"img",4),Ge()())},styles:["#container[_ngcontent-%COMP%]{border:25px solid white}#img-group1[_ngcontent-%COMP%]{display:flex;justify-content:space-around}#img-group2[_ngcontent-%COMP%], #img-group3[_ngcontent-%COMP%]{display:flex;justify-content:space-between}@media only screen and (max-width: 600px){#img-group1[_ngcontent-%COMP%], #img-group2[_ngcontent-%COMP%], #img-group3[_ngcontent-%COMP%]{display:flex;flex-direction:column}}"]});class oi{}oi.\u0275fac=function(t){return new(t||oi)},oi.\u0275cmp=En({type:oi,selectors:[["app-contacto"]],decls:5,vars:0,consts:[["id","container"],["href","https://github.com/tripleyei"],["href","https://blogtriple.netlify.app/"]],template:function(t,n){1&t&&(Le(0,"div",0)(1,"a",1),Kt(2,"GitHub"),Ge(),Le(3,"a",2),Kt(4,"Blog"),Ge()())},styles:["#container[_ngcontent-%COMP%]{padding:25%;color:#fff;font-size:5em}#container[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{margin:5%;color:#000;text-decoration:none}#container[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{width:25%;color:red}@media only screen and (max-width: 600px){#container[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center}}"]});const eP=[{path:"datos",component:ri},{path:"contacto",component:oi}];class Br{}Br.\u0275fac=function(t){return new(t||Br)},Br.\u0275mod=an({type:Br}),Br.\u0275inj=Ut({imports:[SD.forRoot(eP),SD]});const tP=function(){return["/datos"]},nP=function(){return["/contacto"]};class ii{}ii.\u0275fac=function(t){return new(t||ii)},ii.\u0275cmp=En({type:ii,selectors:[["app-header"]],decls:21,vars:4,consts:[["lang","en"],["charset","UTF-8"],["http-equiv","X-UA-Compatible","content","IE=edge"],["name","viewport","content","width=device-width, initial-scale=1.0"],["href","index.html"],["routerLinkActive","router-link-active",3,"routerLink"]],template:function(t,n){1&t&&(Le(0,"html",0)(1,"head"),Yt(2,"meta",1)(3,"meta",2)(4,"meta",3),Le(5,"title"),Kt(6,"Document"),Ge()(),Le(7,"body")(8,"header")(9,"h1"),Kt(10,"LOGO"),Ge(),Le(11,"ul")(12,"li")(13,"a",4),Kt(14,"Inicio"),Ge()(),Le(15,"li")(16,"a",5),Kt(17,"Datos"),Ge()(),Le(18,"li")(19,"a",5),Kt(20,"Contacto"),Ge()()()()()()),2&t&&(ju(16),us("routerLink",Sl(2,tP)),ju(3),us("routerLink",Sl(3,nP)))},dependencies:[ua,mD],styles:["body[_ngcontent-%COMP%]{margin-top:-3%;margin-left:-.5%;margin-right:-.5%}header[_ngcontent-%COMP%]{padding:25px;background:#F7B267;color:#fff;display:flex;justify-content:space-around;align-items:center}header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:3em}header[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{display:flex;font-size:2em}header[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{list-style-type:none;margin:5%}header[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none;color:#fff}header[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{padding:5%;border-bottom:5px solid white}@media only screen and (max-width: 600px){header[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center}}"]});class si{constructor(){this.title="angularspapwa"}}si.\u0275fac=function(t){return new(t||si)},si.\u0275cmp=En({type:si,selectors:[["app-root"]],decls:4,vars:0,consts:[["align","center"]],template:function(t,n){1&t&&(Yt(0,"app-header"),Le(1,"h1",0),Kt(2,"Bienvenido al sitio web"),Ge(),Yt(3,"router-outlet"))},dependencies:[zc,ii]});const rP=["addListener","removeListener"],oP=["addEventListener","removeEventListener"],iP=["on","off"];function la(e,t,n,r){if(z(n)&&(r=n,n=void 0),r)return la(e,t,n).pipe(fv(r));const[o,i]=function uP(e){return z(e.addEventListener)&&z(e.removeEventListener)}(e)?oP.map(s=>a=>e[s](t,a,n)):function sP(e){return z(e.addListener)&&z(e.removeListener)}(e)?rP.map(ID(e,t)):function aP(e){return z(e.on)&&z(e.off)}(e)?iP.map(ID(e,t)):[];if(!o&&va(e))return ve(s=>la(s,t,n))(Ve(e));if(!o)throw new TypeError("Invalid event target");return new re(s=>{const a=(...u)=>s.next(1<u.length?u:u[0]);return o(a),()=>i(a)})}function ID(e,t){return n=>r=>e[n](t,r)}const vn=new re(di),cP={connector:()=>new st};function MD(e,t=cP){const{connector:n}=t;return fe((r,o)=>{const i=n();Ve(e(function lP(e){return new re(t=>e.subscribe(t))}(i))).subscribe(o),o.add(r.subscribe(i))})}class hP extends Ye{constructor(t,n){super()}schedule(t,n=0){return this}}const ca={setInterval(e,t,...n){const{delegate:r}=ca;return r?.setInterval?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){const{delegate:t}=ca;return(t?.clearInterval||clearInterval)(e)},delegate:void 0},TD={now:()=>(TD.delegate||Date).now(),delegate:void 0};class ai{constructor(t,n=ai.now){this.schedulerActionCtor=t,this.now=n}schedule(t,n=0,r){return new this.schedulerActionCtor(this,t).schedule(r,n)}}ai.now=TD.now;const AD=new class gP extends ai{constructor(t,n=ai.now){super(t,n),this.actions=[],this._active=!1}flush(t){const{actions:n}=this;if(this._active)return void n.push(t);let r;this._active=!0;do{if(r=t.execute(t.state,t.delay))break}while(t=n.shift());if(this._active=!1,r){for(;t=n.shift();)t.unsubscribe();throw r}}}(class pP extends hP{constructor(t,n){super(t,n),this.scheduler=t,this.work=n,this.pending=!1}schedule(t,n=0){var r;if(this.closed)return this;this.state=t;const o=this.id,i=this.scheduler;return null!=o&&(this.id=this.recycleAsyncId(i,o,n)),this.pending=!0,this.delay=n,this.id=null!==(r=this.id)&&void 0!==r?r:this.requestAsyncId(i,this.id,n),this}requestAsyncId(t,n,r=0){return ca.setInterval(t.flush.bind(t,this),r)}recycleAsyncId(t,n,r=0){if(null!=r&&this.delay===r&&!1===this.pending)return n;null!=n&&ca.clearInterval(n)}execute(t,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const r=this._execute(t,n);if(r)return r;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,n){let o,r=!1;try{this.work(t)}catch(i){r=!0,o=i||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){const{id:t,scheduler:n}=this,{actions:r}=n;this.work=this.state=this.scheduler=null,this.pending=!1,Gn(r,this),null!=t&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}}),mP=AD;function RD(e,t){return t?n=>Vo(t.pipe(ot(1),function yP(){return fe((e,t)=>{e.subscribe(ye(t,di))})}()),n.pipe(RD(e))):ve((n,r)=>Ve(e(n,r)).pipe(ot(1),vv(n)))}const ui="Service workers are disabled or not supported by this browser";class da{constructor(t){if(this.serviceWorker=t,t){const r=la(t,"controllerchange").pipe($(()=>t.controller)),i=Vo(Vs(()=>S(t.controller)),r);this.worker=i.pipe(Qe(c=>!!c)),this.registration=this.worker.pipe(Ze(()=>t.getRegistration()));const l=la(t,"message").pipe($(c=>c.data)).pipe(Qe(c=>c&&c.type)).pipe(function fP(e){return e?t=>MD(e)(t):t=>function dP(e,t){const n=z(e)?e:()=>e;return z(t)?MD(t,{connector:n}):r=>new Tc(r,n)}(new st)(t)}());l.connect(),this.events=l}else this.worker=this.events=this.registration=function CP(e){return Vs(()=>xr(new Error(e)))}(ui)}postMessage(t,n){return this.worker.pipe(ot(1),be(r=>{r.postMessage({action:t,...n})})).toPromise().then(()=>{})}postMessageWithOperation(t,n,r){const o=this.waitForOperationCompleted(r),i=this.postMessage(t,n);return Promise.all([i,o]).then(([,s])=>s)}generateNonce(){return Math.round(1e7*Math.random())}eventsOfType(t){let n;return n="string"==typeof t?r=>r.type===t:r=>t.includes(r.type),this.events.pipe(Qe(n))}nextEventOfType(t){return this.eventsOfType(t).pipe(ot(1))}waitForOperationCompleted(t){return this.eventsOfType("OPERATION_COMPLETED").pipe(Qe(n=>n.nonce===t),ot(1),$(n=>{if(void 0!==n.result)return n.result;throw new Error(n.error)})).toPromise()}get isEnabled(){return!!this.serviceWorker}}let _P=(()=>{class e{get isEnabled(){return this.sw.isEnabled}constructor(n){if(this.sw=n,this.pushManager=null,this.subscriptionChanges=new st,!n.isEnabled)return this.messages=vn,this.notificationClicks=vn,void(this.subscription=vn);this.messages=this.sw.eventsOfType("PUSH").pipe($(o=>o.data)),this.notificationClicks=this.sw.eventsOfType("NOTIFICATION_CLICK").pipe($(o=>o.data)),this.pushManager=this.sw.registration.pipe($(o=>o.pushManager));const r=this.pushManager.pipe(Ze(o=>o.getSubscription()));this.subscription=wa(r,this.subscriptionChanges)}requestSubscription(n){if(!this.sw.isEnabled||null===this.pushManager)return Promise.reject(new Error(ui));const r={userVisibleOnly:!0};let o=this.decodeBase64(n.serverPublicKey.replace(/_/g,"/").replace(/-/g,"+")),i=new Uint8Array(new ArrayBuffer(o.length));for(let s=0;s<o.length;s++)i[s]=o.charCodeAt(s);return r.applicationServerKey=i,this.pushManager.pipe(Ze(s=>s.subscribe(r)),ot(1)).toPromise().then(s=>(this.subscriptionChanges.next(s),s))}unsubscribe(){return this.sw.isEnabled?this.subscription.pipe(ot(1),Ze(r=>{if(null===r)throw new Error("Not subscribed to push notifications.");return r.unsubscribe().then(o=>{if(!o)throw new Error("Unsubscribe failed!");this.subscriptionChanges.next(null)})})).toPromise():Promise.reject(new Error(ui))}decodeBase64(n){return atob(n)}}return e.\u0275fac=function(n){return new(n||e)(b(da))},e.\u0275prov=A({token:e,factory:e.\u0275fac}),e})(),EP=(()=>{class e{get isEnabled(){return this.sw.isEnabled}constructor(n){if(this.sw=n,!n.isEnabled)return this.versionUpdates=vn,this.available=vn,this.activated=vn,void(this.unrecoverable=vn);this.versionUpdates=this.sw.eventsOfType(["VERSION_DETECTED","VERSION_INSTALLATION_FAILED","VERSION_READY","NO_NEW_VERSION_DETECTED"]),this.available=this.versionUpdates.pipe(Qe(r=>"VERSION_READY"===r.type),$(r=>({type:"UPDATE_AVAILABLE",current:r.currentVersion,available:r.latestVersion}))),this.activated=this.sw.eventsOfType("UPDATE_ACTIVATED"),this.unrecoverable=this.sw.eventsOfType("UNRECOVERABLE_STATE")}checkForUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(ui));const n=this.sw.generateNonce();return this.sw.postMessageWithOperation("CHECK_FOR_UPDATES",{nonce:n},n)}activateUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(ui));const n=this.sw.generateNonce();return this.sw.postMessageWithOperation("ACTIVATE_UPDATE",{nonce:n},n)}}return e.\u0275fac=function(n){return new(n||e)(b(da))},e.\u0275prov=A({token:e,factory:e.\u0275fac}),e})();class nd{}const xD=new R("NGSW_REGISTER_SCRIPT");function SP(e,t,n,r){return()=>{if(!By(r)||!("serviceWorker"in navigator)||!1===n.enabled)return;let o;if(navigator.serviceWorker.addEventListener("controllerchange",()=>{null!==navigator.serviceWorker.controller&&navigator.serviceWorker.controller.postMessage({action:"INITIALIZE"})}),"function"==typeof n.registrationStrategy)o=n.registrationStrategy();else{const[s,...a]=(n.registrationStrategy||"registerWhenStable:30000").split(":");switch(s){case"registerImmediately":o=S(null);break;case"registerWithDelay":o=ND(+a[0]||0);break;case"registerWhenStable":o=a[0]?wa(PD(e),ND(+a[0])):PD(e);break;default:throw new Error(`Unknown ServiceWorker registration strategy: ${n.registrationStrategy}`)}}e.get(le).runOutsideAngular(()=>o.pipe(ot(1)).subscribe(()=>navigator.serviceWorker.register(t,{scope:n.scope}).catch(s=>console.error("Service worker registration failed with:",s))))}}function ND(e){return S(null).pipe(function wP(e,t=AD){const n=function DP(e=0,t,n=mP){let r=-1;return null!=t&&(Ed(t)?n=t:r=t),new re(o=>{let i=function vP(e){return e instanceof Date&&!isNaN(e)}(e)?+e-n.now():e;i<0&&(i=0);let s=0;return n.schedule(function(){o.closed||(o.next(s++),0<=r?this.schedule(void 0,r):o.complete())},i)})}(e,t);return RD(()=>n)}(e))}function PD(e){return e.get(Oo).isStable.pipe(Qe(n=>n))}function bP(e,t){return new da(By(t)&&!1!==e.enabled?navigator.serviceWorker:void 0)}let IP=(()=>{class e{static register(n,r={}){return{ngModule:e,providers:[{provide:xD,useValue:n},{provide:nd,useValue:r},{provide:da,useFactory:bP,deps:[nd,Cs]},{provide:No,useFactory:SP,deps:[wt,xD,nd,Cs],multi:!0}]}}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=an({type:e}),e.\u0275inj=Ut({providers:[_P,EP]}),e})();class Hr{}Hr.\u0275fac=function(t){return new(t||Hr)},Hr.\u0275mod=an({type:Hr,bootstrap:[si]}),Hr.\u0275inj=Ut({imports:[cR,Br,IP.register("ngsw-worker.js",{enabled:!0,registrationStrategy:"registerWhenStable:30000"})]}),lR().bootstrapModule(Hr).catch(e=>console.error(e))}},z=>{z(z.s=875)}]);