diff --git a/docs/404.html b/docs/404.html index 0be15b8..0f5096f 100644 --- a/docs/404.html +++ b/docs/404.html @@ -9,5 +9,5 @@ - + diff --git a/docs/index.html b/docs/index.html index 0be15b8..0f5096f 100644 --- a/docs/index.html +++ b/docs/index.html @@ -9,5 +9,5 @@ - + diff --git a/docs/main.daa8fb2e7500c803.js b/docs/main.e583b42f879f1a45.js similarity index 99% rename from docs/main.daa8fb2e7500c803.js rename to docs/main.e583b42f879f1a45.js index 8e04d99..600a250 100644 --- a/docs/main.daa8fb2e7500c803.js +++ b/docs/main.e583b42f879f1a45.js @@ -1 +1 @@ -"use strict";(self.webpackChunkparty_management_system=self.webpackChunkparty_management_system||[]).push([[179],{334:()=>{function ne(e){return"function"==typeof e}function ko(e){const t=e(r=>{Error.call(r),r.stack=(new Error).stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}const ms=ko(e=>function(t){e(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((r,o)=>`${o+1}) ${r.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=t});function Lo(e,n){if(e){const t=e.indexOf(n);0<=t&&e.splice(t,1)}}class it{constructor(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let n;if(!this.closed){this.closed=!0;const{_parentage:t}=this;if(t)if(this._parentage=null,Array.isArray(t))for(const i of t)i.remove(this);else t.remove(this);const{initialTeardown:r}=this;if(ne(r))try{r()}catch(i){n=i instanceof ms?i.errors:[i]}const{_finalizers:o}=this;if(o){this._finalizers=null;for(const i of o)try{Mh(i)}catch(s){n=n??[],s instanceof ms?n=[...n,...s.errors]:n.push(s)}}if(n)throw new ms(n)}}add(n){var t;if(n&&n!==this)if(this.closed)Mh(n);else{if(n instanceof it){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=null!==(t=this._finalizers)&&void 0!==t?t:[]).push(n)}}_hasParent(n){const{_parentage:t}=this;return t===n||Array.isArray(t)&&t.includes(n)}_addParent(n){const{_parentage:t}=this;this._parentage=Array.isArray(t)?(t.push(n),t):t?[t,n]:n}_removeParent(n){const{_parentage:t}=this;t===n?this._parentage=null:Array.isArray(t)&&Lo(t,n)}remove(n){const{_finalizers:t}=this;t&&Lo(t,n),n instanceof it&&n._removeParent(this)}}it.EMPTY=(()=>{const e=new it;return e.closed=!0,e})();const bh=it.EMPTY;function Ih(e){return e instanceof it||e&&"closed"in e&&ne(e.remove)&&ne(e.add)&&ne(e.unsubscribe)}function Mh(e){ne(e)?e():e.unsubscribe()}const Xn={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},ys={setTimeout(e,n,...t){const{delegate:r}=ys;return r?.setTimeout?r.setTimeout(e,n,...t):setTimeout(e,n,...t)},clearTimeout(e){const{delegate:n}=ys;return(n?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Sh(e){ys.setTimeout(()=>{const{onUnhandledError:n}=Xn;if(!n)throw e;n(e)})}function Yu(){}const cb=Qu("C",void 0,void 0);function Qu(e,n,t){return{kind:e,value:n,error:t}}let Jn=null;function vs(e){if(Xn.useDeprecatedSynchronousErrorHandling){const n=!Jn;if(n&&(Jn={errorThrown:!1,error:null}),e(),n){const{errorThrown:t,error:r}=Jn;if(Jn=null,t)throw r}}else e()}class Xu extends it{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,Ih(n)&&n.add(this)):this.destination=mb}static create(n,t,r){return new Vo(n,t,r)}next(n){this.isStopped?Ku(function db(e){return Qu("N",e,void 0)}(n),this):this._next(n)}error(n){this.isStopped?Ku(function lb(e){return Qu("E",void 0,e)}(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?Ku(cb,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(n){this.destination.next(n)}_error(n){try{this.destination.error(n)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const hb=Function.prototype.bind;function Ju(e,n){return hb.call(e,n)}class pb{constructor(n){this.partialObserver=n}next(n){const{partialObserver:t}=this;if(t.next)try{t.next(n)}catch(r){Ds(r)}}error(n){const{partialObserver:t}=this;if(t.error)try{t.error(n)}catch(r){Ds(r)}else Ds(n)}complete(){const{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(t){Ds(t)}}}class Vo extends Xu{constructor(n,t,r){let o;if(super(),ne(n)||!n)o={next:n??void 0,error:t??void 0,complete:r??void 0};else{let i;this&&Xn.useDeprecatedNextContext?(i=Object.create(n),i.unsubscribe=()=>this.unsubscribe(),o={next:n.next&&Ju(n.next,i),error:n.error&&Ju(n.error,i),complete:n.complete&&Ju(n.complete,i)}):o=n}this.destination=new pb(o)}}function Ds(e){Xn.useDeprecatedSynchronousErrorHandling?function fb(e){Xn.useDeprecatedSynchronousErrorHandling&&Jn&&(Jn.errorThrown=!0,Jn.error=e)}(e):Sh(e)}function Ku(e,n){const{onStoppedNotification:t}=Xn;t&&ys.setTimeout(()=>t(e,n))}const mb={closed:!0,next:Yu,error:function gb(e){throw e},complete:Yu},ec="function"==typeof Symbol&&Symbol.observable||"@@observable";function Tn(e){return e}function Ah(e){return 0===e.length?Tn:1===e.length?e[0]:function(t){return e.reduce((r,o)=>o(r),t)}}let De=(()=>{class e{constructor(t){t&&(this._subscribe=t)}lift(t){const r=new e;return r.source=this,r.operator=t,r}subscribe(t,r,o){const i=function Db(e){return e&&e instanceof Xu||function vb(e){return e&&ne(e.next)&&ne(e.error)&&ne(e.complete)}(e)&&Ih(e)}(t)?t:new Vo(t,r,o);return vs(()=>{const{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(t){try{return this._subscribe(t)}catch(r){t.error(r)}}forEach(t,r){return new(r=Th(r))((o,i)=>{const s=new Vo({next:a=>{try{t(a)}catch(u){i(u),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(t){var r;return null===(r=this.source)||void 0===r?void 0:r.subscribe(t)}[ec](){return this}pipe(...t){return Ah(t)(this)}toPromise(t){return new(t=Th(t))((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=n=>new e(n),e})();function Th(e){var n;return null!==(n=e??Xn.Promise)&&void 0!==n?n:Promise}const _b=ko(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let Dt=(()=>{class e extends De{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){const r=new Nh(this,this);return r.operator=t,r}_throwIfClosed(){if(this.closed)throw new _b}next(t){vs(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const r of this.currentObservers)r.next(t)}})}error(t){vs(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=t;const{observers:r}=this;for(;r.length;)r.shift().error(t)}})}complete(){vs(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:t}=this;for(;t.length;)t.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var t;return(null===(t=this.observers)||void 0===t?void 0:t.length)>0}_trySubscribe(t){return this._throwIfClosed(),super._trySubscribe(t)}_subscribe(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)}_innerSubscribe(t){const{hasError:r,isStopped:o,observers:i}=this;return r||o?bh:(this.currentObservers=null,i.push(t),new it(()=>{this.currentObservers=null,Lo(i,t)}))}_checkFinalizedStatuses(t){const{hasError:r,thrownError:o,isStopped:i}=this;r?t.error(o):i&&t.complete()}asObservable(){const t=new De;return t.source=this,t}}return e.create=(n,t)=>new Nh(n,t),e})();class Nh extends Dt{constructor(n,t){super(),this.destination=n,this.source=t}next(n){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===r||r.call(t,n)}error(n){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===r||r.call(t,n)}complete(){var n,t;null===(t=null===(n=this.destination)||void 0===n?void 0:n.complete)||void 0===t||t.call(n)}_subscribe(n){var t,r;return null!==(r=null===(t=this.source)||void 0===t?void 0:t.subscribe(n))&&void 0!==r?r:bh}}function xh(e){return ne(e?.lift)}function Ie(e){return n=>{if(xh(n))return n.lift(function(t){try{return e(t,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function Ee(e,n,t,r,o){return new Cb(e,n,t,r,o)}class Cb extends Xu{constructor(n,t,r,o,i,s){super(n),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=t?function(a){try{t(a)}catch(u){n.error(u)}}:super._next,this._error=o?function(a){try{o(a)}catch(u){n.error(u)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){n.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:t}=this;super.unsubscribe(),!t&&(null===(n=this.onFinalize)||void 0===n||n.call(this))}}}function Z(e,n){return Ie((t,r)=>{let o=0;t.subscribe(Ee(r,i=>{r.next(e.call(n,i,o++))}))})}function Nn(e){return this instanceof Nn?(this.v=e,this):new Nn(e)}function Fh(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=function oc(e){var n="function"==typeof Symbol&&Symbol.iterator,t=n&&e[n],r=0;if(t)return t.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(n?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(i){t[i]=e[i]&&function(s){return new Promise(function(a,u){!function o(i,s,a,u){Promise.resolve(u).then(function(c){i({value:c,done:a})},s)}(a,u,(s=e[i](s)).done,s.value)})}}}"function"==typeof SuppressedError&&SuppressedError;const kh=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function Lh(e){return ne(e?.then)}function Vh(e){return ne(e[ec])}function jh(e){return Symbol.asyncIterator&&ne(e?.[Symbol.asyncIterator])}function Bh(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 Hh=function Ub(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function $h(e){return ne(e?.[Hh])}function Uh(e){return function Ph(e,n,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o,r=t.apply(e,n||[]),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 Nn?Promise.resolve(f.value.v).then(c,l):d(i[0][2],f)}(r[f](h))}catch(p){d(i[0][3],p)}}function c(f){a("next",f)}function l(f){a("throw",f)}function d(f,h){f(h),i.shift(),i.length&&a(i[0][0],i[0][1])}}(this,arguments,function*(){const t=e.getReader();try{for(;;){const{value:r,done:o}=yield Nn(t.read());if(o)return yield Nn(void 0);yield yield Nn(r)}}finally{t.releaseLock()}})}function zh(e){return ne(e?.getReader)}function st(e){if(e instanceof De)return e;if(null!=e){if(Vh(e))return function zb(e){return new De(n=>{const t=e[ec]();if(ne(t.subscribe))return t.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(kh(e))return function Gb(e){return new De(n=>{for(let t=0;t{e.then(t=>{n.closed||(n.next(t),n.complete())},t=>n.error(t)).then(null,Sh)})}(e);if(jh(e))return Gh(e);if($h(e))return function Wb(e){return new De(n=>{for(const t of e)if(n.next(t),n.closed)return;n.complete()})}(e);if(zh(e))return function Zb(e){return Gh(Uh(e))}(e)}throw Bh(e)}function Gh(e){return new De(n=>{(function Yb(e,n){var t,r,o,i;return function Rh(e,n,t,r){return new(t||(t=Promise))(function(i,s){function a(l){try{c(r.next(l))}catch(d){s(d)}}function u(l){try{c(r.throw(l))}catch(d){s(d)}}function c(l){l.done?i(l.value):function o(i){return i instanceof t?i:new t(function(s){s(i)})}(l.value).then(a,u)}c((r=r.apply(e,n||[])).next())})}(this,void 0,void 0,function*(){try{for(t=Fh(e);!(r=yield t.next()).done;)if(n.next(r.value),n.closed)return}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=t.return)&&(yield i.call(t))}finally{if(o)throw o.error}}n.complete()})})(e,n).catch(t=>n.error(t))})}function un(e,n,t,r=0,o=!1){const i=n.schedule(function(){t(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function Re(e,n,t=1/0){return ne(n)?Re((r,o)=>Z((i,s)=>n(r,i,o,s))(st(e(r,o))),t):("number"==typeof n&&(t=n),Ie((r,o)=>function Qb(e,n,t,r,o,i,s,a){const u=[];let c=0,l=0,d=!1;const f=()=>{d&&!u.length&&!c&&n.complete()},h=g=>c{i&&n.next(g),c++;let y=!1;st(t(g,l++)).subscribe(Ee(n,C=>{o?.(C),i?h(C):n.next(C)},()=>{y=!0},void 0,()=>{if(y)try{for(c--;u.length&&cp(C)):p(C)}f()}catch(C){n.error(C)}}))};return e.subscribe(Ee(n,h,()=>{d=!0,f()})),()=>{a?.()}}(r,o,e,t)))}function Mr(e=1/0){return Re(Tn,e)}const Ut=new De(e=>e.complete());function ic(e){return e[e.length-1]}function qh(e){return ne(ic(e))?e.pop():void 0}function jo(e){return function Jb(e){return e&&ne(e.schedule)}(ic(e))?e.pop():void 0}function Wh(e,n=0){return Ie((t,r)=>{t.subscribe(Ee(r,o=>un(r,e,()=>r.next(o),n),()=>un(r,e,()=>r.complete(),n),o=>un(r,e,()=>r.error(o),n)))})}function Zh(e,n=0){return Ie((t,r)=>{r.add(e.schedule(()=>t.subscribe(r),n))})}function Yh(e,n){if(!e)throw new Error("Iterable cannot be null");return new De(t=>{un(t,n,()=>{const r=e[Symbol.asyncIterator]();un(t,n,()=>{r.next().then(o=>{o.done?t.complete():t.next(o.value)})},0,!0)})})}function Me(e,n){return n?function iI(e,n){if(null!=e){if(Vh(e))return function eI(e,n){return st(e).pipe(Zh(n),Wh(n))}(e,n);if(kh(e))return function nI(e,n){return new De(t=>{let r=0;return n.schedule(function(){r===e.length?t.complete():(t.next(e[r++]),t.closed||this.schedule())})})}(e,n);if(Lh(e))return function tI(e,n){return st(e).pipe(Zh(n),Wh(n))}(e,n);if(jh(e))return Yh(e,n);if($h(e))return function rI(e,n){return new De(t=>{let r;return un(t,n,()=>{r=e[Hh](),un(t,n,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){return void t.error(s)}i?t.complete():t.next(o)},0,!0)}),()=>ne(r?.return)&&r.return()})}(e,n);if(zh(e))return function oI(e,n){return Yh(Uh(e),n)}(e,n)}throw Bh(e)}(e,n):st(e)}class at extends Dt{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){const t=super._subscribe(n);return!t.closed&&n.next(this._value),t}getValue(){const{hasError:n,thrownError:t,_value:r}=this;if(n)throw t;return this._throwIfClosed(),r}next(n){super.next(this._value=n)}}function R(...e){return Me(e,jo(e))}function Qh(e={}){const{connector:n=(()=>new Dt),resetOnError:t=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,u,c=0,l=!1,d=!1;const f=()=>{a?.unsubscribe(),a=void 0},h=()=>{f(),s=u=void 0,l=d=!1},p=()=>{const g=s;h(),g?.unsubscribe()};return Ie((g,y)=>{c++,!d&&!l&&f();const C=u=u??n();y.add(()=>{c--,0===c&&!d&&!l&&(a=sc(p,o))}),C.subscribe(y),!s&&c>0&&(s=new Vo({next:m=>C.next(m),error:m=>{d=!0,f(),a=sc(h,t,m),C.error(m)},complete:()=>{l=!0,f(),a=sc(h,r),C.complete()}}),st(g).subscribe(s))})(i)}}function sc(e,n,...t){if(!0===n)return void e();if(!1===n)return;const r=new Vo({next:()=>{r.unsubscribe(),e()}});return st(n(...t)).subscribe(r)}function Tt(e,n){return Ie((t,r)=>{let o=null,i=0,s=!1;const a=()=>s&&!o&&r.complete();t.subscribe(Ee(r,u=>{o?.unsubscribe();let c=0;const l=i++;st(e(u,l)).subscribe(o=Ee(r,d=>r.next(n?n(u,d,l,c++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function uI(e,n){return e===n}function K(e){for(let n in e)if(e[n]===K)return n;throw Error("Could not find renamed property on target object.")}function _s(e,n){for(const t in n)n.hasOwnProperty(t)&&!e.hasOwnProperty(t)&&(e[t]=n[t])}function Se(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(Se).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const n=e.toString();if(null==n)return""+n;const t=n.indexOf("\n");return-1===t?n:n.substring(0,t)}function ac(e,n){return null==e||""===e?null===n?"":n:null==n||""===n?e:e+" "+n}const cI=K({__forward_ref__:K});function ie(e){return e.__forward_ref__=ie,e.toString=function(){return Se(this())},e}function F(e){return uc(e)?e():e}function uc(e){return"function"==typeof e&&e.hasOwnProperty(cI)&&e.__forward_ref__===ie}function cc(e){return e&&!!e.\u0275providers}const Xh="https://g.co/ng/security#xss";class _ extends Error{constructor(n,t){super(function Cs(e,n){return`NG0${Math.abs(e)}${n?": "+n:""}`}(n,t)),this.code=n}}function L(e){return"string"==typeof e?e:null==e?"":String(e)}function lc(e,n){throw new _(-201,!1)}function _t(e,n){null==e&&function O(e,n,t,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${t} ${r} ${n} <=Actual]`))}(n,e,null,"!=")}function T(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function ct(e){return{providers:e.providers||[],imports:e.imports||[]}}function ws(e){return Jh(e,bs)||Jh(e,Kh)}function Jh(e,n){return e.hasOwnProperty(n)?e[n]:null}function Es(e){return e&&(e.hasOwnProperty(dc)||e.hasOwnProperty(yI))?e[dc]:null}const bs=K({\u0275prov:K}),dc=K({\u0275inj:K}),Kh=K({ngInjectableDef:K}),yI=K({ngInjectorDef:K});var U=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(U||{});let fc;function Je(e){const n=fc;return fc=e,n}function tp(e,n,t){const r=ws(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:t&U.Optional?null:void 0!==n?n:void lc(Se(e))}const se=globalThis;class S{constructor(n,t){this._desc=n,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof t?this.__NG_ELEMENT_ID__=t:void 0!==t&&(this.\u0275prov=T({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const Bo={},yc="__NG_DI_FLAG__",Is="ngTempTokenPath",_I=/\n/gm,rp="__source";let Sr;function xn(e){const n=Sr;return Sr=e,n}function EI(e,n=U.Default){if(void 0===Sr)throw new _(-203,!1);return null===Sr?tp(e,void 0,n):Sr.get(e,n&U.Optional?null:void 0,n)}function A(e,n=U.Default){return(function ep(){return fc}()||EI)(F(e),n)}function I(e,n=U.Default){return A(e,Ms(n))}function Ms(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function vc(e){const n=[];for(let t=0;tn){s=i-1;break}}}for(;ii?"":o[d+1].toLowerCase();const h=8&r?f:null;if(h&&-1!==ap(h,c,0)||2&r&&c!==f){if(xt(r))return!1;s=!0}}}}else{if(!s&&!xt(r)&&!xt(u))return!1;if(s&&xt(u))continue;s=!1,r=u|1&r}}return xt(r)||s}function xt(e){return 0==(1&e)}function NI(e,n,t,r){if(null===n)return-1;let o=0;if(r||!t){let i=!1;for(;o-1)for(t++;t0?'="'+a+'"':"")+"]"}else 8&r?o+="."+s:4&r&&(o+=" "+s);else""!==o&&!xt(s)&&(n+=pp(i,o),o=""),r=s,i=i||!xt(r);t++}return""!==o&&(n+=pp(i,o)),n}function Gt(e){return cn(()=>{const n=mp(e),t={...n,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Ss.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Nt.Emulated,styles:e.styles||Y,_:null,schemas:e.schemas||null,tView:null,id:""};yp(t);const r=e.dependencies;return t.directiveDefs=Ts(r,!1),t.pipeDefs=Ts(r,!0),t.id=function UI(e){let n=0;const t=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const o of t)n=Math.imul(31,n)+o.charCodeAt(0)<<0;return n+=2147483648,"c"+n}(t),t})}function jI(e){return G(e)||Oe(e)}function BI(e){return null!==e}function Ct(e){return cn(()=>({type:e.type,bootstrap:e.bootstrap||Y,declarations:e.declarations||Y,imports:e.imports||Y,exports:e.exports||Y,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function gp(e,n){if(null==e)return zt;const t={};for(const r in e)if(e.hasOwnProperty(r)){let o=e[r],i=o;Array.isArray(o)&&(i=o[1],o=o[0]),t[o]=r,n&&(n[o]=i)}return t}function k(e){return cn(()=>{const n=mp(e);return yp(n),n})}function G(e){return e[As]||null}function Oe(e){return e[Dc]||null}function Ue(e){return e[_c]||null}function lt(e,n){const t=e[ip]||null;if(!t&&!0===n)throw new Error(`Type ${Se(e)} does not have '\u0275mod' property.`);return t}function mp(e){const n={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:n,inputTransforms:null,inputConfig:e.inputs||zt,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||Y,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:gp(e.inputs,n),outputs:gp(e.outputs)}}function yp(e){e.features?.forEach(n=>n(e))}function Ts(e,n){if(!e)return null;const t=n?Ue:jI;return()=>("function"==typeof e?e():e).map(r=>t(r)).filter(BI)}const me=0,E=1,B=2,fe=3,Rt=4,zo=5,je=6,Tr=7,_e=8,Rn=9,Nr=10,V=11,Go=12,vp=13,xr=14,Ce=15,qo=16,Rr=17,qt=18,Wo=19,Dp=20,On=21,dn=22,Zo=23,Yo=24,z=25,wc=1,_p=2,Wt=7,Or=9,Pe=11;function et(e){return Array.isArray(e)&&"object"==typeof e[wc]}function ze(e){return Array.isArray(e)&&!0===e[wc]}function Ec(e){return 0!=(4&e.flags)}function er(e){return e.componentOffset>-1}function xs(e){return 1==(1&e.flags)}function Ot(e){return!!e.template}function bc(e){return 0!=(512&e[B])}function tr(e,n){return e.hasOwnProperty(ln)?e[ln]:null}let Fe=null,Rs=!1;function wt(e){const n=Fe;return Fe=e,n}const Ep={version:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{}};function Ip(e){if(!Xo(e)||e.dirty){if(!e.producerMustRecompute(e)&&!Ap(e))return void(e.dirty=!1);e.producerRecomputeValue(e),e.dirty=!1}}function Sp(e){e.dirty=!0,function Mp(e){if(void 0===e.liveConsumerNode)return;const n=Rs;Rs=!0;try{for(const t of e.liveConsumerNode)t.dirty||Sp(t)}finally{Rs=n}}(e),e.consumerMarkedDirty?.(e)}function Mc(e){return e&&(e.nextProducerIndex=0),wt(e)}function Sc(e,n){if(wt(n),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if(Xo(e))for(let t=e.nextProducerIndex;te.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function Ap(e){Pr(e);for(let n=0;n0}function Pr(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}let Rp=null;const kp=()=>{},nM=(()=>({...Ep,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{e.schedule(e.ref)},hasRun:!1,cleanupFn:kp}))();class rM{constructor(n,t,r){this.previousValue=n,this.currentValue=t,this.firstChange=r}isFirstChange(){return this.firstChange}}function Et(){return Lp}function Lp(e){return e.type.prototype.ngOnChanges&&(e.setInput=iM),oM}function oM(){const e=jp(this),n=e?.current;if(n){const t=e.previous;if(t===zt)e.previous=n;else for(let r in n)t[r]=n[r];e.current=null,this.ngOnChanges(n)}}function iM(e,n,t,r){const o=this.declaredInputs[t],i=jp(e)||function sM(e,n){return e[Vp]=n}(e,{previous:zt,current:null}),s=i.current||(i.current={}),a=i.previous,u=a[o];s[o]=new rM(u&&u.currentValue,n,a===zt),e[r]=n}Et.ngInherit=!0;const Vp="__ngSimpleChanges__";function jp(e){return e[Vp]||null}const Zt=function(e,n,t){};function ae(e){for(;Array.isArray(e);)e=e[me];return e}function Ps(e,n){return ae(n[e])}function tt(e,n){return ae(n[e.index])}function $p(e,n){return e.data[n]}function dt(e,n){const t=n[e];return et(t)?t:t[me]}function Fn(e,n){return null==n?null:e[n]}function Up(e){e[Rr]=0}function fM(e){1024&e[B]||(e[B]|=1024,Gp(e,1))}function zp(e){1024&e[B]&&(e[B]&=-1025,Gp(e,-1))}function Gp(e,n){let t=e[fe];if(null===t)return;t[zo]+=n;let r=t;for(t=t[fe];null!==t&&(1===n&&1===r[zo]||-1===n&&0===r[zo]);)t[zo]+=n,r=t,t=t[fe]}const P={lFrame:ng(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Zp(){return P.bindingsEnabled}function v(){return P.lFrame.lView}function q(){return P.lFrame.tView}function nr(e){return P.lFrame.contextLView=e,e[_e]}function rr(e){return P.lFrame.contextLView=null,e}function ke(){let e=Yp();for(;null!==e&&64===e.type;)e=e.parent;return e}function Yp(){return P.lFrame.currentTNode}function Yt(e,n){const t=P.lFrame;t.currentTNode=e,t.isParent=n}function Rc(){return P.lFrame.isParent}function Oc(){P.lFrame.isParent=!1}function Ge(){const e=P.lFrame;let n=e.bindingRootIndex;return-1===n&&(n=e.bindingRootIndex=e.tView.bindingStartIndex),n}function Lr(){return P.lFrame.bindingIndex++}function bM(e,n){const t=P.lFrame;t.bindingIndex=t.bindingRootIndex=e,Pc(n)}function Pc(e){P.lFrame.currentDirectiveIndex=e}function Kp(){return P.lFrame.currentQueryIndex}function kc(e){P.lFrame.currentQueryIndex=e}function MM(e){const n=e[E];return 2===n.type?n.declTNode:1===n.type?e[je]:null}function eg(e,n,t){if(t&U.SkipSelf){let o=n,i=e;for(;!(o=o.parent,null!==o||t&U.Host||(o=MM(i),null===o||(i=i[xr],10&o.type))););if(null===o)return!1;n=o,e=i}const r=P.lFrame=tg();return r.currentTNode=n,r.lView=e,!0}function Lc(e){const n=tg(),t=e[E];P.lFrame=n,n.currentTNode=t.firstChild,n.lView=e,n.tView=t,n.contextLView=e,n.bindingIndex=t.bindingStartIndex,n.inI18n=!1}function tg(){const e=P.lFrame,n=null===e?null:e.child;return null===n?ng(e):n}function ng(e){const n={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=n),n}function rg(){const e=P.lFrame;return P.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const og=rg;function Vc(){const e=rg();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 qe(){return P.lFrame.selectedIndex}function or(e){P.lFrame.selectedIndex=e}function pe(){const e=P.lFrame;return $p(e.tView,e.selectedIndex)}let sg=!0;function Fs(){return sg}function kn(e){sg=e}function ks(e,n){for(let t=n.directiveStart,r=n.directiveEnd;t=r)break}else n[u]<0&&(e[Rr]+=65536),(a>13>16&&(3&e[B])===n&&(e[B]+=8192,ug(a,i)):ug(a,i)}const Vr=-1;class Ko{constructor(n,t,r){this.factory=n,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=r}}function Hc(e){return e!==Vr}function ei(e){return 32767&e}function ti(e,n){let t=function VM(e){return e>>16}(e),r=n;for(;t>0;)r=r[xr],t--;return r}let $c=!0;function js(e){const n=$c;return $c=e,n}const cg=255,lg=5;let jM=0;const Qt={};function Bs(e,n){const t=dg(e,n);if(-1!==t)return t;const r=n[E];r.firstCreatePass&&(e.injectorIndex=n.length,Uc(r.data,e),Uc(n,null),Uc(r.blueprint,null));const o=Hs(e,n),i=e.injectorIndex;if(Hc(o)){const s=ei(o),a=ti(o,n),u=a[E].data;for(let c=0;c<8;c++)n[i+c]=a[s+c]|u[s+c]}return n[i+8]=o,i}function Uc(e,n){e.push(0,0,0,0,0,0,0,0,n)}function dg(e,n){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===n[e.injectorIndex+8]?-1:e.injectorIndex}function Hs(e,n){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let t=0,r=null,o=n;for(;null!==o;){if(r=vg(o),null===r)return Vr;if(t++,o=o[xr],-1!==r.injectorIndex)return r.injectorIndex|t<<16}return Vr}function zc(e,n,t){!function BM(e,n,t){let r;"string"==typeof t?r=t.charCodeAt(0)||0:t.hasOwnProperty($o)&&(r=t[$o]),null==r&&(r=t[$o]=jM++);const o=r&cg;n.data[e+(o>>lg)]|=1<=0?n&cg:GM:n}(t);if("function"==typeof i){if(!eg(n,e,r))return r&U.Host?fg(o,0,r):hg(n,t,r,o);try{let s;if(s=i(r),null!=s||r&U.Optional)return s;lc()}finally{og()}}else if("number"==typeof i){let s=null,a=dg(e,n),u=Vr,c=r&U.Host?n[Ce][je]:null;for((-1===a||r&U.SkipSelf)&&(u=-1===a?Hs(e,n):n[a+8],u!==Vr&&yg(r,!1)?(s=n[E],a=ei(u),n=ti(u,n)):a=-1);-1!==a;){const l=n[E];if(mg(i,a,l.data)){const d=$M(a,n,t,s,r,c);if(d!==Qt)return d}u=n[a+8],u!==Vr&&yg(r,n[E].data[a+8]===c)&&mg(i,a,n)?(s=l,a=ei(u),n=ti(u,n)):a=-1}}return o}function $M(e,n,t,r,o,i){const s=n[E],a=s.data[e+8],l=$s(a,s,t,null==r?er(a)&&$c:r!=s&&0!=(3&a.type),o&U.Host&&i===a);return null!==l?ir(n,s,l,a):Qt}function $s(e,n,t,r,o){const i=e.providerIndexes,s=n.data,a=1048575&i,u=e.directiveStart,l=i>>20,f=o?a+l:e.directiveEnd;for(let h=r?a:a+l;h=u&&p.type===t)return h}if(o){const h=s[u];if(h&&Ot(h)&&h.type===t)return u}return null}function ir(e,n,t,r){let o=e[t];const i=n.data;if(function FM(e){return e instanceof Ko}(o)){const s=o;s.resolving&&function lI(e,n){const t=n?`. Dependency path: ${n.join(" > ")} > ${e}`:"";throw new _(-200,`Circular dependency in DI detected for ${e}${t}`)}(function J(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():L(e)}(i[t]));const a=js(s.canSeeViewProviders);s.resolving=!0;const c=s.injectImpl?Je(s.injectImpl):null;eg(e,r,U.Default);try{o=e[t]=s.factory(void 0,i,e,r),n.firstCreatePass&&t>=r.directiveStart&&function OM(e,n,t){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=n.type.prototype;if(r){const s=Lp(n);(t.preOrderHooks??=[]).push(e,s),(t.preOrderCheckHooks??=[]).push(e,s)}o&&(t.preOrderHooks??=[]).push(0-e,o),i&&((t.preOrderHooks??=[]).push(e,i),(t.preOrderCheckHooks??=[]).push(e,i))}(t,i[t],n)}finally{null!==c&&Je(c),js(a),s.resolving=!1,og()}}return o}function mg(e,n,t){return!!(t[n+(e>>lg)]&1<{const n=e.prototype.constructor,t=n[ln]||Gc(n),r=Object.prototype;let o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){const i=o[ln]||Gc(o);if(i&&i!==t)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Gc(e){return uc(e)?()=>{const n=Gc(F(e));return n&&n()}:tr(e)}function vg(e){const n=e[E],t=n.type;return 2===t?n.declTNode:1===t?e[je]:null}const Br="__parameters__";function $r(e,n,t){return cn(()=>{const r=function qc(e){return function(...t){if(e){const r=e(...t);for(const o in r)this[o]=r[o]}}}(n);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,c,l){const d=u.hasOwnProperty(Br)?u[Br]:Object.defineProperty(u,Br,{value:[]})[Br];for(;d.length<=l;)d.push(null);return(d[l]=d[l]||[]).push(s),u}}return t&&(o.prototype=Object.create(t.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}function zr(e,n){e.forEach(t=>Array.isArray(t)?zr(t,n):n(t))}function _g(e,n,t){n>=e.length?e.push(t):e.splice(n,0,t)}function zs(e,n){return n>=e.length-1?e.pop():e.splice(n,1)[0]}function ft(e,n,t){let r=Gr(e,n);return r>=0?e[1|r]=t:(r=~r,function KM(e,n,t,r){let o=e.length;if(o==n)e.push(t,r);else if(1===o)e.push(r,e[0]),e[0]=t;else{for(o--,e.push(e[o-1],e[o]);o>n;)e[o]=e[o-2],o--;e[n]=t,e[n+1]=r}}(e,r,n,t)),r}function Wc(e,n){const t=Gr(e,n);if(t>=0)return e[1|t]}function Gr(e,n){return function Cg(e,n,t){let r=0,o=e.length>>t;for(;o!==r;){const i=r+(o-r>>1),s=e[i<n?o=i:r=i+1}return~(o<|^->||--!>|)/g,E0="\u200b$1\u200b";const Jc=new Map;let b0=0;const el="__ngContext__";function Be(e,n){et(n)?(e[el]=n[Wo],function M0(e){Jc.set(e[Wo],e)}(n)):e[el]=n}let tl;function nl(e,n){return tl(e,n)}function ai(e){const n=e[fe];return ze(n)?n[fe]:n}function Hg(e){return Ug(e[Go])}function $g(e){return Ug(e[Rt])}function Ug(e){for(;null!==e&&!ze(e);)e=e[Rt];return e}function Zr(e,n,t,r,o){if(null!=r){let i,s=!1;ze(r)?i=r:et(r)&&(s=!0,r=r[me]);const a=ae(r);0===e&&null!==t?null==o?Wg(n,t,a):sr(n,t,a,o||null,!0):1===e&&null!==t?sr(n,t,a,o||null,!0):2===e?function ia(e,n,t){const r=ra(e,n);r&&function G0(e,n,t,r){e.removeChild(n,t,r)}(e,r,n,t)}(n,a,s):3===e&&n.destroyNode(a),null!=i&&function Z0(e,n,t,r,o){const i=t[Wt];i!==ae(t)&&Zr(n,e,r,i,o);for(let a=Pe;an.replace(w0,E0))}(n))}function ta(e,n,t){return e.createElement(n,t)}function Gg(e,n){const t=e[Or],r=t.indexOf(n);zp(n),t.splice(r,1)}function na(e,n){if(e.length<=Pe)return;const t=Pe+n,r=e[t];if(r){const o=r[qo];null!==o&&o!==e&&Gg(o,r),n>0&&(e[t-1][Rt]=r[Rt]);const i=zs(e,Pe+n);!function L0(e,n){ci(e,n,n[V],2,null,null),n[me]=null,n[je]=null}(r[E],r);const s=i[qt];null!==s&&s.detachView(i[E]),r[fe]=null,r[Rt]=null,r[B]&=-129}return r}function ol(e,n){if(!(256&n[B])){const t=n[V];n[Zo]&&Tp(n[Zo]),n[Yo]&&Tp(n[Yo]),t.destroyNode&&ci(e,n,t,3,null,null),function B0(e){let n=e[Go];if(!n)return il(e[E],e);for(;n;){let t=null;if(et(n))t=n[Go];else{const r=n[Pe];r&&(t=r)}if(!t){for(;n&&!n[Rt]&&n!==e;)et(n)&&il(n[E],n),n=n[fe];null===n&&(n=e),et(n)&&il(n[E],n),t=n&&n[Rt]}n=t}}(n)}}function il(e,n){if(!(256&n[B])){n[B]&=-129,n[B]|=256,function z0(e,n){let t;if(null!=e&&null!=(t=e.destroyHooks))for(let r=0;r=0?r[s]():r[-s].unsubscribe(),i+=2}else t[i].call(r[t[i+1]]);null!==r&&(n[Tr]=null);const o=n[On];if(null!==o){n[On]=null;for(let i=0;i-1){const{encapsulation:i}=e.data[r.directiveStart+o];if(i===Nt.None||i===Nt.Emulated)return null}return tt(r,t)}}(e,n.parent,t)}function sr(e,n,t,r,o){e.insertBefore(n,t,r,o)}function Wg(e,n,t){e.appendChild(n,t)}function Zg(e,n,t,r,o){null!==r?sr(e,n,t,r,o):Wg(e,n,t)}function ra(e,n){return e.parentNode(n)}let al,dl,aa,Xg=function Qg(e,n,t){return 40&e.type?tt(e,t):null};function oa(e,n,t,r){const o=sl(e,r,n),i=n[V],a=function Yg(e,n,t){return Xg(e,n,t)}(r.parent||n[je],r,n);if(null!=o)if(Array.isArray(t))for(let u=0;ue,createScript:e=>e,createScriptURL:e=>e})}catch{}return aa}()?.createScriptURL(e)||e}class am{constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Xh})`}}function Vn(e){return e instanceof am?e.changingThisBreaksApplicationSecurity:e}function li(e,n){const t=function sS(e){return e instanceof am&&e.getTypeName()||null}(e);if(null!=t&&t!==n){if("ResourceURL"===t&&"URL"===n)return!0;throw new Error(`Required a safe ${n}, got a ${t} (see ${Xh})`)}return t===n}const lS=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;var Xr=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(Xr||{});function pm(e){const n=fi();return n?n.sanitize(Xr.URL,e)||"":li(e,"URL")?Vn(e):function hl(e){return(e=String(e)).match(lS)?e:"unsafe:"+e}(L(e))}function gm(e){const n=fi();if(n)return sm(n.sanitize(Xr.RESOURCE_URL,e)||"");if(li(e,"ResourceURL"))return sm(Vn(e));throw new _(904,!1)}function fi(){const e=v();return e&&e[Nr].sanitizer}const hi=new S("ENVIRONMENT_INITIALIZER"),ym=new S("INJECTOR",-1),vm=new S("INJECTOR_DEF_TYPES");class yl{get(n,t=Bo){if(t===Bo){const r=new Error(`NullInjectorError: No provider for ${Se(n)}!`);throw r.name="NullInjectorError",r}return t}}function ES(...e){return{\u0275providers:Dm(0,e),\u0275fromNgModule:!0}}function Dm(e,...n){const t=[],r=new Set;let o;const i=s=>{t.push(s)};return zr(n,s=>{const a=s;ca(a,i,[],r)&&(o||=[],o.push(a))}),void 0!==o&&_m(o,i),t}function _m(e,n){for(let t=0;t{n(i,r)})}}function ca(e,n,t,r){if(!(e=F(e)))return!1;let o=null,i=Es(e);const s=!i&&G(e);if(i||s){if(s&&!s.standalone)return!1;o=e}else{const u=e.ngModule;if(i=Es(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 c of u)ca(c,n,t,r)}}else{if(!i)return!1;{if(null!=i.imports&&!a){let c;r.add(o);try{zr(i.imports,l=>{ca(l,n,t,r)&&(c||=[],c.push(l))})}finally{}void 0!==c&&_m(c,n)}if(!a){const c=tr(o)||(()=>new o);n({provide:o,useFactory:c,deps:Y},o),n({provide:vm,useValue:o,multi:!0},o),n({provide:hi,useValue:()=>A(o),multi:!0},o)}const u=i.providers;if(null!=u&&!a){const c=e;Dl(u,l=>{n(l,c)})}}}return o!==e&&void 0!==e.providers}function Dl(e,n){for(let t of e)cc(t)&&(t=t.\u0275providers),Array.isArray(t)?Dl(t,n):n(t)}const bS=K({provide:String,useValue:K});function _l(e){return null!==e&&"object"==typeof e&&bS in e}function ar(e){return"function"==typeof e}const Cl=new S("Set Injector scope."),la={},MS={};let wl;function da(){return void 0===wl&&(wl=new yl),wl}class ht{}class Jr extends ht{get destroyed(){return this._destroyed}constructor(n,t,r,o){super(),this.parent=t,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,bl(n,s=>this.processProvider(s)),this.records.set(ym,Kr(void 0,this)),o.has("environment")&&this.records.set(ht,Kr(void 0,this));const i=this.records.get(Cl);null!=i&&"string"==typeof i.value&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(vm.multi,Y,U.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();const n=this._onDestroyHooks;this._onDestroyHooks=[];for(const t of n)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(n){return this.assertNotDestroyed(),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){this.assertNotDestroyed();const t=xn(this),r=Je(void 0);try{return n()}finally{xn(t),Je(r)}}get(n,t=Bo,r=U.Default){if(this.assertNotDestroyed(),n.hasOwnProperty(sp))return n[sp](this);r=Ms(r);const i=xn(this),s=Je(void 0);try{if(!(r&U.SkipSelf)){let u=this.records.get(n);if(void 0===u){const c=function xS(e){return"function"==typeof e||"object"==typeof e&&e instanceof S}(n)&&ws(n);u=c&&this.injectableDefInScope(c)?Kr(El(n),la):null,this.records.set(n,u)}if(null!=u)return this.hydrate(n,u)}return(r&U.Self?da():this.parent).get(n,t=r&U.Optional&&t===Bo?null:t)}catch(a){if("NullInjectorError"===a.name){if((a[Is]=a[Is]||[]).unshift(Se(n)),i)throw a;return function II(e,n,t,r){const o=e[Is];throw n[rp]&&o.unshift(n[rp]),e.message=function MI(e,n,t,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let o=Se(n);if(Array.isArray(n))o=n.map(Se).join(" -> ");else if("object"==typeof n){let i=[];for(let s in n)if(n.hasOwnProperty(s)){let a=n[s];i.push(s+":"+("string"==typeof a?JSON.stringify(a):Se(a)))}o=`{${i.join(", ")}}`}return`${t}${r?"("+r+")":""}[${o}]: ${e.replace(_I,"\n ")}`}("\n"+e.message,o,t,r),e.ngTokenPath=o,e[Is]=null,e}(a,n,"R3InjectorError",this.source)}throw a}finally{Je(s),xn(i)}}resolveInjectorInitializers(){const n=xn(this),t=Je(void 0);try{const o=this.get(hi.multi,Y,U.Self);for(const i of o)i()}finally{xn(n),Je(t)}}toString(){const n=[],t=this.records;for(const r of t.keys())n.push(Se(r));return`R3Injector[${n.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new _(205,!1)}processProvider(n){let t=ar(n=F(n))?n:F(n&&n.provide);const r=function AS(e){return _l(e)?Kr(void 0,e.useValue):Kr(Em(e),la)}(n);if(ar(n)||!0!==n.multi)this.records.get(t);else{let o=this.records.get(t);o||(o=Kr(void 0,la,!0),o.factory=()=>vc(o.multi),this.records.set(t,o)),t=n,o.multi.push(n)}this.records.set(t,r)}hydrate(n,t){return t.value===la&&(t.value=MS,t.value=t.factory()),"object"==typeof t.value&&t.value&&function NS(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(t.value)&&this._ngOnDestroyHooks.add(t.value),t.value}injectableDefInScope(n){if(!n.providedIn)return!1;const t=F(n.providedIn);return"string"==typeof t?"any"===t||this.scopes.has(t):this.injectorDefTypes.has(t)}removeOnDestroy(n){const t=this._onDestroyHooks.indexOf(n);-1!==t&&this._onDestroyHooks.splice(t,1)}}function El(e){const n=ws(e),t=null!==n?n.factory:tr(e);if(null!==t)return t;if(e instanceof S)throw new _(204,!1);if(e instanceof Function)return function SS(e){const n=e.length;if(n>0)throw function oi(e,n){const t=[];for(let r=0;rt.factory(e):()=>new e}(e);throw new _(204,!1)}function Em(e,n,t){let r;if(ar(e)){const o=F(e);return tr(o)||El(o)}if(_l(e))r=()=>F(e.useValue);else if(function wm(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...vc(e.deps||[]));else if(function Cm(e){return!(!e||!e.useExisting)}(e))r=()=>A(F(e.useExisting));else{const o=F(e&&(e.useClass||e.provide));if(!function TS(e){return!!e.deps}(e))return tr(o)||El(o);r=()=>new o(...vc(e.deps))}return r}function Kr(e,n,t=!1){return{factory:e,value:n,multi:t?[]:void 0}}function bl(e,n){for(const t of e)Array.isArray(t)?bl(t,n):t&&cc(t)?bl(t.\u0275providers,n):n(t)}const fa=new S("AppId",{providedIn:"root",factory:()=>RS}),RS="ng",bm=new S("Platform Initializer"),ur=new S("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),Im=new S("CSP nonce",{providedIn:"root",factory:()=>function Qr(){if(void 0!==dl)return dl;if(typeof document<"u")return document;throw new _(210,!1)}().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let Mm=(e,n,t)=>null;function Rl(e,n,t=!1){return Mm(e,n,t)}class $S{}class Tm{}class zS{resolveComponentFactory(n){throw function US(e){const n=Error(`No component factory found for ${Se(e)}.`);return n.ngComponent=e,n}(n)}}let va=(()=>{class e{static#e=this.NULL=new zS}return e})();function GS(){return no(ke(),v())}function no(e,n){return new pt(tt(e,n))}let pt=(()=>{class e{constructor(t){this.nativeElement=t}static#e=this.__NG_ELEMENT_ID__=GS}return e})();function qS(e){return e instanceof pt?e.nativeElement:e}class xm{}let gn=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function WS(){const e=v(),t=dt(ke().index,e);return(et(t)?t:e)[V]}()}return e})(),ZS=(()=>{class e{static#e=this.\u0275prov=T({token:e,providedIn:"root",factory:()=>null})}return e})();class mi{constructor(n){this.full=n,this.major=n.split(".")[0],this.minor=n.split(".")[1],this.patch=n.split(".").slice(2).join(".")}}const YS=new mi("16.2.12"),Fl={};function Fm(e,n=null,t=null,r){const o=km(e,n,t,r);return o.resolveInjectorInitializers(),o}function km(e,n=null,t=null,r,o=new Set){const i=[t||Y,ES(e)];return r=r||("object"==typeof e?void 0:Se(e)),new Jr(i,n||da(),r||null,o)}let gt=(()=>{class e{static#e=this.THROW_IF_NOT_FOUND=Bo;static#t=this.NULL=new yl;static create(t,r){if(Array.isArray(t))return Fm({name:""},r,t,"");{const o=t.name??"";return Fm({name:o},t.parent,t.providers,o)}}static#n=this.\u0275prov=T({token:e,providedIn:"any",factory:()=>A(ym)});static#r=this.__NG_ELEMENT_ID__=-1}return e})();function Ll(e){return e.ngOriginalError}class mn{constructor(){this._console=console}handleError(n){const t=this._findOriginalError(n);this._console.error("ERROR",n),t&&this._console.error("ORIGINAL ERROR",t)}_findOriginalError(n){let t=n&&Ll(n);for(;t&&Ll(t);)t=Ll(t);return t||null}}function jl(e){return n=>{setTimeout(e,void 0,n)}}const ye=class nA extends Dt{constructor(n=!1){super(),this.__isAsync=n}emit(n){super.next(n)}subscribe(n,t,r){let o=n,i=t||(()=>null),s=r;if(n&&"object"==typeof n){const u=n;o=u.next?.bind(u),i=u.error?.bind(u),s=u.complete?.bind(u)}this.__isAsync&&(i=jl(i),o&&(o=jl(o)),s&&(s=jl(s)));const a=super.subscribe({next:o,error:i,complete:s});return n instanceof it&&n.add(a),a}};function Vm(...e){}class ue{constructor({enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:t=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ye(!1),this.onMicrotaskEmpty=new ye(!1),this.onStable=new ye(!1),this.onError=new ye(!1),typeof Zone>"u")throw new _(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)),n&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&t,o.shouldCoalesceRunChangeDetection=r,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function rA(){const e="function"==typeof se.requestAnimationFrame;let n=se[e?"requestAnimationFrame":"setTimeout"],t=se[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&n&&t){const r=n[Zone.__symbol__("OriginalDelegate")];r&&(n=r);const o=t[Zone.__symbol__("OriginalDelegate")];o&&(t=o)}return{nativeRequestAnimationFrame:n,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function sA(e){const n=()=>{!function iA(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(se,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Hl(e),e.isCheckStableRunning=!0,Bl(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Hl(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(t,r,o,i,s,a)=>{if(function uA(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}(a))return t.invokeTask(o,i,s,a);try{return jm(e),t.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||e.shouldCoalesceRunChangeDetection)&&n(),Bm(e)}},onInvoke:(t,r,o,i,s,a,u)=>{try{return jm(e),t.invoke(o,i,s,a,u)}finally{e.shouldCoalesceRunChangeDetection&&n(),Bm(e)}},onHasTask:(t,r,o,i)=>{t.hasTask(o,i),r===o&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,Hl(e),Bl(e)):"macroTask"==i.change&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(t,r,o,i)=>(t.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(!ue.isInAngularZone())throw new _(909,!1)}static assertNotInAngularZone(){if(ue.isInAngularZone())throw new _(909,!1)}run(n,t,r){return this._inner.run(n,t,r)}runTask(n,t,r,o){const i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,n,oA,Vm,Vm);try{return i.runTask(s,t,r)}finally{i.cancelTask(s)}}runGuarded(n,t,r){return this._inner.runGuarded(n,t,r)}runOutsideAngular(n){return this._outer.run(n)}}const oA={};function Bl(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 Hl(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function jm(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Bm(e){e._nesting--,Bl(e)}class aA{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ye,this.onMicrotaskEmpty=new ye,this.onStable=new ye,this.onError=new ye}run(n,t,r){return n.apply(t,r)}runGuarded(n,t,r){return n.apply(t,r)}runOutsideAngular(n){return n()}runTask(n,t,r,o){return n.apply(t,r)}}const Hm=new S("",{providedIn:"root",factory:$m});function $m(){const e=I(ue);let n=!0;return function sI(...e){const n=jo(e),t=function Kb(e,n){return"number"==typeof ic(e)?e.pop():n}(e,1/0),r=e;return r.length?1===r.length?st(r[0]):Mr(t)(Me(r,n)):Ut}(new De(o=>{n=e.isStable&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks,e.runOutsideAngular(()=>{o.next(n),o.complete()})}),new De(o=>{let i;e.runOutsideAngular(()=>{i=e.onStable.subscribe(()=>{ue.assertNotInAngularZone(),queueMicrotask(()=>{!n&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks&&(n=!0,o.next(!0))})})});const s=e.onUnstable.subscribe(()=>{ue.assertInAngularZone(),n&&(n=!1,e.runOutsideAngular(()=>{o.next(!1)}))});return()=>{i.unsubscribe(),s.unsubscribe()}}).pipe(Qh()))}function yn(e){return e instanceof Function?e():e}let $l=(()=>{class e{constructor(){this.renderDepth=0,this.handler=null}begin(){this.handler?.validateBegin(),this.renderDepth++}end(){this.renderDepth--,0===this.renderDepth&&this.handler?.execute()}ngOnDestroy(){this.handler?.destroy(),this.handler=null}static#e=this.\u0275prov=T({token:e,providedIn:"root",factory:()=>new e})}return e})();function yi(e){for(;e;){e[B]|=64;const n=ai(e);if(bc(e)&&!n)return e;e=n}return null}const Wm=new S("",{providedIn:"root",factory:()=>!1});let _a=null;function Xm(e,n){return e[n]??ey()}function Jm(e,n){const t=ey();t.producerNode?.length&&(e[n]=_a,t.lView=e,_a=Km())}const vA={...Ep,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{yi(e.lView)},lView:null};function Km(){return Object.create(vA)}function ey(){return _a??=Km(),_a}const j={};function W(e){ty(q(),v(),qe()+e,!1)}function ty(e,n,t,r){if(!r)if(3==(3&n[B])){const i=e.preOrderCheckHooks;null!==i&&Ls(n,i,t)}else{const i=e.preOrderHooks;null!==i&&Vs(n,i,0,t)}or(t)}function D(e,n=U.Default){const t=v();return null===t?A(e,n):pg(ke(),t,F(e),n)}function Ca(e,n,t,r,o,i,s,a,u,c,l){const d=n.blueprint.slice();return d[me]=o,d[B]=140|r,(null!==c||e&&2048&e[B])&&(d[B]|=2048),Up(d),d[fe]=d[xr]=e,d[_e]=t,d[Nr]=s||e&&e[Nr],d[V]=a||e&&e[V],d[Rn]=u||e&&e[Rn]||null,d[je]=i,d[Wo]=function I0(){return b0++}(),d[dn]=l,d[Dp]=c,d[Ce]=2==n.type?e[Ce]:d,d}function io(e,n,t,r,o){let i=e.data[n];if(null===i)i=function Ul(e,n,t,r,o){const i=Yp(),s=Rc(),u=e.data[n]=function MA(e,n,t,r,o,i){let s=n?n.injectorIndex:-1,a=0;return function kr(){return null!==P.skipHydrationRootTNode}()&&(a|=128),{type:t,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:n,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,t,n,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.prev=i)),u}(e,n,t,r,o),function EM(){return P.lFrame.inI18n}()&&(i.flags|=32);else if(64&i.type){i.type=t,i.value=r,i.attrs=o;const s=function Jo(){const e=P.lFrame,n=e.currentTNode;return e.isParent?n:n.parent}();i.injectorIndex=null===s?-1:s.injectorIndex}return Yt(i,!0),i}function vi(e,n,t,r){if(0===t)return-1;const o=n.length;for(let i=0;iz&&ty(e,n,z,!1),Zt(a?2:0,o);const c=a?i:null,l=Mc(c);try{null!==c&&(c.dirty=!1),t(r,o)}finally{Sc(c,l)}}finally{a&&null===n[Zo]&&Jm(n,Zo),or(s),Zt(a?3:1,o)}}function zl(e,n,t){if(Ec(n)){const r=wt(null);try{const i=n.directiveEnd;for(let s=n.directiveStart;snull;function sy(e,n,t,r){for(let o in e)if(e.hasOwnProperty(o)){t=null===t?{}:t;const i=e[o];null===r?ay(t,n,o,i):r.hasOwnProperty(o)&&ay(t,n,r[o],i)}return t}function ay(e,n,t,r){e.hasOwnProperty(t)?e[t].push(n,r):e[t]=[n,r]}function Zl(e,n,t,r){if(Zp()){const o=null===r?null:{"":-1},i=function FA(e,n){const t=e.directiveRegistry;let r=null,o=null;if(t)for(let i=0;i0;){const t=e[--n];if("number"==typeof t&&t<0)return t}return 0})(s)!=a&&s.push(a),s.push(t,r,i)}}(e,n,r,vi(e,t,o.hostVars,j),o)}function Xt(e,n,t,r,o,i){const s=tt(e,n);!function Ql(e,n,t,r,o,i,s){if(null==i)e.removeAttribute(n,o,t);else{const a=null==s?L(i):s(i,r||"",o);e.setAttribute(n,o,a,t)}}(n[V],s,i,e.value,t,r,o)}function HA(e,n,t,r,o,i){const s=i[n];if(null!==s)for(let a=0;a{class e{constructor(){this.all=new Set,this.queue=new Map}create(t,r,o){const i=typeof Zone>"u"?null:Zone.current,s=function tM(e,n,t){const r=Object.create(nM);t&&(r.consumerAllowSignalWrites=!0),r.fn=e,r.schedule=n;const o=s=>{r.cleanupFn=s};return r.ref={notify:()=>Sp(r),run:()=>{if(r.dirty=!1,r.hasRun&&!Ap(r))return;r.hasRun=!0;const s=Mc(r);try{r.cleanupFn(),r.cleanupFn=kp,r.fn(o)}finally{Sc(r,s)}},cleanup:()=>r.cleanupFn()},r.ref}(t,c=>{this.all.has(c)&&this.queue.set(c,i)},o);let a;this.all.add(s),s.notify();const u=()=>{s.cleanup(),a?.(),this.all.delete(s),this.queue.delete(s)};return a=r?.onDestroy(u),{destroy:u}}flush(){if(0!==this.queue.size)for(const[t,r]of this.queue)this.queue.delete(t),r?r.run(()=>t.run()):t.run()}get isQueueEmpty(){return 0===this.queue.size}static#e=this.\u0275prov=T({token:e,providedIn:"root",factory:()=>new e})}return e})();function Ea(e,n,t){let r=t?e.styles:null,o=t?e.classes:null,i=0;if(null!==n)for(let s=0;s0){_y(e,1);const o=t.components;null!==o&&wy(e,o,1)}}function wy(e,n,t){for(let r=0;r-1&&(na(n,r),zs(t,r))}this._attachedToViewContainer=!1}ol(this._lView[E],this._lView)}onDestroy(n){!function qp(e,n){if(256==(256&e[B]))throw new _(911,!1);null===e[On]&&(e[On]=[]),e[On].push(n)}(this._lView,n)}markForCheck(){yi(this._cdRefInjectingView||this._lView)}detach(){this._lView[B]&=-129}reattach(){this._lView[B]|=128}detectChanges(){ba(this._lView[E],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new _(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function j0(e,n){ci(e,n,n[V],2,null,null)}(this._lView[E],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new _(902,!1);this._appRef=n}}class QA extends _i{constructor(n){super(n),this._view=n}detectChanges(){const n=this._view;ba(n[E],n,n[_e],!1)}checkNoChanges(){}get context(){return null}}class Ey extends va{constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){const t=G(n);return new Ci(t,this.ngModule)}}function by(e){const n=[];for(let t in e)e.hasOwnProperty(t)&&n.push({propName:e[t],templateName:t});return n}class JA{constructor(n,t){this.injector=n,this.parentInjector=t}get(n,t,r){r=Ms(r);const o=this.injector.get(n,Fl,r);return o!==Fl||t===Fl?o:this.parentInjector.get(n,t,r)}}class Ci extends Tm{get inputs(){const n=this.componentDef,t=n.inputTransforms,r=by(n.inputs);if(null!==t)for(const o of r)t.hasOwnProperty(o.propName)&&(o.transform=t[o.propName]);return r}get outputs(){return by(this.componentDef.outputs)}constructor(n,t){super(),this.componentDef=n,this.ngModule=t,this.componentType=n.type,this.selector=function kI(e){return e.map(FI).join(",")}(n.selectors),this.ngContentSelectors=n.ngContentSelectors?n.ngContentSelectors:[],this.isBoundToModule=!!t}create(n,t,r,o){let i=(o=o||this.ngModule)instanceof ht?o:o?.injector;i&&null!==this.componentDef.getStandaloneInjector&&(i=this.componentDef.getStandaloneInjector(i)||i);const s=i?new JA(n,i):n,a=s.get(xm,null);if(null===a)throw new _(407,!1);const d={rendererFactory:a,sanitizer:s.get(ZS,null),effectManager:s.get(yy,null),afterRenderEventManager:s.get($l,null)},f=a.createRenderer(null,this.componentDef),h=this.componentDef.selectors[0][0]||"div",p=r?function CA(e,n,t,r){const i=r.get(Wm,!1)||t===Nt.ShadowDom,s=e.selectRootElement(n,i);return function wA(e){iy(e)}(s),s}(f,r,this.componentDef.encapsulation,s):ta(f,h,function XA(e){const n=e.toLowerCase();return"svg"===n?"svg":"math"===n?"math":null}(h)),C=this.componentDef.signals?4608:this.componentDef.onPush?576:528;let m=null;null!==p&&(m=Rl(p,s,!0));const M=Wl(0,null,null,1,0,null,null,null,null,null,null),N=Ca(null,M,null,C,null,null,d,f,s,null,m);let $,xe;Lc(N);try{const an=this.componentDef;let Ir,Eh=null;an.findHostDirectiveDefs?(Ir=[],Eh=new Map,an.findHostDirectiveDefs(an,Ir,Eh),Ir.push(an)):Ir=[an];const ij=function eT(e,n){const t=e[E],r=z;return e[r]=n,io(t,r,2,"#host",null)}(N,p),sj=function tT(e,n,t,r,o,i,s){const a=o[E];!function nT(e,n,t,r){for(const o of e)n.mergedAttrs=Uo(n.mergedAttrs,o.hostAttrs);null!==n.mergedAttrs&&(Ea(n,n.mergedAttrs,!0),null!==t&&rm(r,t,n))}(r,e,n,s);let u=null;null!==n&&(u=Rl(n,o[Rn]));const c=i.rendererFactory.createRenderer(n,t);let l=16;t.signals?l=4096:t.onPush&&(l=64);const d=Ca(o,oy(t),null,l,o[e.index],e,i,c,null,null,u);return a.firstCreatePass&&Yl(a,e,r.length-1),wa(o,d),o[e.index]=d}(ij,p,an,Ir,N,d,f);xe=$p(M,z),p&&function oT(e,n,t,r){if(r)Cc(e,t,["ng-version",YS.full]);else{const{attrs:o,classes:i}=function LI(e){const n=[],t=[];let r=1,o=2;for(;r0&&nm(e,t,i.join(" "))}}(f,an,p,r),void 0!==t&&function iT(e,n,t){const r=e.projection=[];for(let o=0;o=0;r--){const o=e[r];o.hostVars=n+=o.hostVars,o.hostAttrs=Uo(o.hostAttrs,t=Uo(t,o.hostAttrs))}}(r)}function Ia(e){return e===zt?{}:e===Y?[]:e}function uT(e,n){const t=e.viewQuery;e.viewQuery=t?(r,o)=>{n(r,o),t(r,o)}:n}function cT(e,n){const t=e.contentQueries;e.contentQueries=t?(r,o,i)=>{n(r,o,i),t(r,o,i)}:n}function lT(e,n){const t=e.hostBindings;e.hostBindings=t?(r,o)=>{n(r,o),t(r,o)}:n}function Ty(e){const n=e.inputConfig,t={};for(const r in n)if(n.hasOwnProperty(r)){const o=n[r];Array.isArray(o)&&o[2]&&(t[r]=o[2])}e.inputTransforms=t}function Ma(e){return!!function ed(e){return null!==e&&("function"==typeof e||"object"==typeof e)}(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function Jt(e,n,t){return e[n]=t}function He(e,n,t){return!Object.is(e[n],t)&&(e[n]=t,!0)}function Kt(e,n,t,r){const o=v();return He(o,Lr(),n)&&(q(),Xt(pe(),o,e,n,t,r)),Kt}function Pt(e,n,t,r,o,i,s,a){const u=v(),c=q(),l=e+z,d=c.firstCreatePass?function FT(e,n,t,r,o,i,s,a,u){const c=n.consts,l=io(n,e,4,s||null,Fn(c,a));Zl(n,t,l,Fn(c,u)),ks(n,l);const d=l.tView=Wl(2,l,r,o,i,n.directiveRegistry,n.pipeRegistry,null,n.schemas,c,null);return null!==n.queries&&(n.queries.template(n,l),d.queries=n.queries.embeddedTView(l)),l}(l,c,u,n,t,r,o,i,s):c.data[l];Yt(d,!1);const f=$y(c,u,d,e);Fs()&&oa(c,u,f,d),Be(f,u),wa(u,u[l]=dy(f,u,f,d)),xs(d)&&Gl(c,u,d),null!=s&&ql(u,d,a)}let $y=function Uy(e,n,t,r){return kn(!0),n[V].createComment("")};function re(e,n,t){const r=v();return He(r,Lr(),n)&&function mt(e,n,t,r,o,i,s,a){const u=tt(n,t);let l,c=n.inputs;!a&&null!=c&&(l=c[r])?(Jl(e,t,l,r,o),er(n)&&function TA(e,n){const t=dt(n,e);16&t[B]||(t[B]|=64)}(t,n.index)):3&n.type&&(r=function AA(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,n.value||"",r):o,i.setProperty(u,r,o))}(q(),pe(),r,e,n,r[V],t,!1),re}function sd(e,n,t,r,o){const s=o?"class":"style";Jl(e,t,n.inputs[s],s,r)}function b(e,n,t,r){const o=v(),i=q(),s=z+e,a=o[V],u=i.firstCreatePass?function BT(e,n,t,r,o,i){const s=n.consts,u=io(n,e,2,r,Fn(s,o));return Zl(n,t,u,Fn(s,i)),null!==u.attrs&&Ea(u,u.attrs,!1),null!==u.mergedAttrs&&Ea(u,u.mergedAttrs,!0),null!==n.queries&&n.queries.elementStart(n,u),u}(s,i,o,n,t,r):i.data[s],c=zy(i,o,u,a,n,e);o[s]=c;const l=xs(u);return Yt(u,!0),rm(a,c,u),32!=(32&u.flags)&&Fs()&&oa(i,o,c,u),0===function pM(){return P.lFrame.elementDepthCount}()&&Be(c,o),function gM(){P.lFrame.elementDepthCount++}(),l&&(Gl(i,o,u),zl(i,u,o)),null!==r&&ql(o,u),b}function w(){let e=ke();Rc()?Oc():(e=e.parent,Yt(e,!1));const n=e;(function yM(e){return P.skipHydrationRootTNode===e})(n)&&function CM(){P.skipHydrationRootTNode=null}(),function mM(){P.lFrame.elementDepthCount--}();const t=q();return t.firstCreatePass&&(ks(t,e),Ec(e)&&t.queries.elementEnd(e)),null!=n.classesWithoutHost&&function kM(e){return 0!=(8&e.flags)}(n)&&sd(t,n,v(),n.classesWithoutHost,!0),null!=n.stylesWithoutHost&&function LM(e){return 0!=(16&e.flags)}(n)&&sd(t,n,v(),n.stylesWithoutHost,!1),w}function de(e,n,t,r){return b(e,n,t,r),w(),de}let zy=(e,n,t,r,o,i)=>(kn(!0),ta(r,o,function ig(){return P.lFrame.currentNamespace}()));function xa(e,n,t){const r=v(),o=q(),i=e+z,s=o.firstCreatePass?function UT(e,n,t,r,o){const i=n.consts,s=Fn(i,r),a=io(n,e,8,"ng-container",s);return null!==s&&Ea(a,s,!0),Zl(n,t,a,Fn(i,o)),null!==n.queries&&n.queries.elementStart(n,a),a}(i,o,r,n,t):o.data[i];Yt(s,!0);const a=qy(o,r,s,e);return r[i]=a,Fs()&&oa(o,r,a,s),Be(a,r),xs(s)&&(Gl(o,r,s),zl(o,s,r)),null!=t&&ql(r,s),xa}function Ra(){let e=ke();const n=q();return Rc()?Oc():(e=e.parent,Yt(e,!1)),n.firstCreatePass&&(ks(n,e),Ec(e)&&n.queries.elementEnd(e)),Ra}let qy=(e,n,t,r)=>(kn(!0),rl(n[V],""));function lr(){return v()}function Mi(e){return!!e&&"function"==typeof e.then}function Wy(e){return!!e&&"function"==typeof e.subscribe}function ge(e,n,t,r){const o=v(),i=q(),s=ke();return function Yy(e,n,t,r,o,i,s){const a=xs(r),c=e.firstCreatePass&&py(e),l=n[_e],d=hy(n);let f=!0;if(3&r.type||s){const g=tt(r,n),y=s?s(g):g,C=d.length,m=s?N=>s(ae(N[r.index])):r.index;let M=null;if(!s&&a&&(M=function qT(e,n,t,r){const o=e.cleanup;if(null!=o)for(let i=0;iu?a[u]:null}"string"==typeof s&&(i+=2)}return null}(e,n,o,r.index)),null!==M)(M.__ngLastListenerFn__||M).__ngNextListenerFn__=i,M.__ngLastListenerFn__=i,f=!1;else{i=Xy(r,n,l,i,!1);const N=t.listen(y,o,i);d.push(i,N),c&&c.push(o,m,C,C+1)}}else i=Xy(r,n,l,i,!1);const h=r.outputs;let p;if(f&&null!==h&&(p=h[o])){const g=p.length;if(g)for(let y=0;y-1?dt(e.index,n):n);let u=Qy(n,t,r,s),c=i.__ngNextListenerFn__;for(;c;)u=Qy(n,t,c,s)&&u,c=c.__ngNextListenerFn__;return o&&!1===u&&s.preventDefault(),u}}function Mt(e=1){return function SM(e){return(P.lFrame.contextLView=function AM(e,n){for(;e>0;)n=n[xr],e--;return n}(e,P.lFrame.contextLView))[_e]}(e)}function Oa(e,n){return e<<17|n<<2}function jn(e){return e>>17&32767}function ud(e){return 2|e}function dr(e){return(131068&e)>>2}function cd(e,n){return-131069&e|n<<2}function ld(e){return 1|e}function av(e,n,t,r,o){const i=e[t+1],s=null===n;let a=r?jn(i):dr(i),u=!1;for(;0!==a&&(!1===u||s);){const l=e[a+1];tN(e[a],n)&&(u=!0,e[a+1]=r?ld(l):ud(l)),a=r?jn(l):dr(l)}u&&(e[t+1]=r?ud(i):ld(i))}function tN(e,n){return null===e||null==n||(Array.isArray(e)?e[1]:e)===n||!(!Array.isArray(e)||"string"!=typeof n)&&Gr(e,n)>=0}function Pa(e,n){return function Ft(e,n,t,r){const o=v(),i=q(),s=function hn(e){const n=P.lFrame,t=n.bindingIndex;return n.bindingIndex=n.bindingIndex+e,t}(2);i.firstUpdatePass&&function mv(e,n,t,r){const o=e.data;if(null===o[t+1]){const i=o[qe()],s=function gv(e,n){return n>=e.expandoStartIndex}(e,t);(function _v(e,n){return 0!=(e.flags&(n?8:16))})(i,r)&&null===n&&!s&&(n=!1),n=function lN(e,n,t,r){const o=function Fc(e){const n=P.lFrame.currentDirectiveIndex;return-1===n?null:e[n]}(e);let i=r?n.residualClasses:n.residualStyles;if(null===o)0===(r?n.classBindings:n.styleBindings)&&(t=Si(t=dd(null,e,n,t,r),n.attrs,r),i=null);else{const s=n.directiveStylingLast;if(-1===s||e[s]!==o)if(t=dd(o,e,n,t,r),null===i){let u=function dN(e,n,t){const r=t?n.classBindings:n.styleBindings;if(0!==dr(r))return e[jn(r)]}(e,n,r);void 0!==u&&Array.isArray(u)&&(u=dd(null,e,n,u[1],r),u=Si(u,n.attrs,r),function fN(e,n,t,r){e[jn(t?n.classBindings:n.styleBindings)]=r}(e,n,r,u))}else i=function hN(e,n,t){let r;const o=n.directiveEnd;for(let i=1+n.directiveStylingLast;i0)&&(c=!0)):l=t,o)if(0!==u){const f=jn(e[a+1]);e[r+1]=Oa(f,a),0!==f&&(e[f+1]=cd(e[f+1],r)),e[a+1]=function XT(e,n){return 131071&e|n<<17}(e[a+1],r)}else e[r+1]=Oa(a,0),0!==a&&(e[a+1]=cd(e[a+1],r)),a=r;else e[r+1]=Oa(u,0),0===a?a=r:e[u+1]=cd(e[u+1],r),u=r;c&&(e[r+1]=ud(e[r+1])),av(e,l,r,!0),av(e,l,r,!1),function eN(e,n,t,r,o){const i=o?e.residualClasses:e.residualStyles;null!=i&&"string"==typeof n&&Gr(i,n)>=0&&(t[r+1]=ld(t[r+1]))}(n,l,e,r,i),s=Oa(a,u),i?n.classBindings=s:n.styleBindings=s}(o,i,n,t,s,r)}}(i,e,s,r),n!==j&&He(o,s,n)&&function vv(e,n,t,r,o,i,s,a){if(!(3&n.type))return;const u=e.data,c=u[a+1],l=function JT(e){return 1==(1&e)}(c)?Dv(u,n,t,o,dr(c),s):void 0;Fa(l)||(Fa(i)||function QT(e){return 2==(2&e)}(c)&&(i=Dv(u,null,t,o,a,s)),function Y0(e,n,t,r,o){if(n)o?e.addClass(t,r):e.removeClass(t,r);else{let i=-1===r.indexOf("-")?void 0:Ln.DashCase;null==o?e.removeStyle(t,r,i):("string"==typeof o&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=Ln.Important),e.setStyle(t,r,o,i))}}(r,s,Ps(qe(),t),o,i))}(i,i.data[qe()],o,o[V],e,o[s+1]=function yN(e,n){return null==e||""===e||("string"==typeof n?e+=n:"object"==typeof e&&(e=Se(Vn(e)))),e}(n,t),r,s)}(e,n,null,!0),Pa}function dd(e,n,t,r,o){let i=null;const s=t.directiveEnd;let a=t.directiveStylingLast;for(-1===a?a=t.directiveStart:a++;a0;){const u=e[o],c=Array.isArray(u),l=c?u[1]:u,d=null===l;let f=t[o+1];f===j&&(f=d?Y:void 0);let h=d?Wc(f,r):l===r?f:void 0;if(c&&!Fa(h)&&(h=Wc(u,r)),Fa(h)&&(a=h,s))return a;const p=e[o+1];o=s?jn(p):dr(p)}if(null!==n){let u=i?n.residualClasses:n.residualStyles;null!=u&&(a=Wc(u,r))}return a}function Fa(e){return void 0!==e}function x(e,n=""){const t=v(),r=q(),o=e+z,i=r.firstCreatePass?io(r,o,1,n,null):r.data[o],s=Cv(r,t,i,n,e);t[o]=s,Fs()&&oa(r,t,s,i),Yt(i,!1)}let Cv=(e,n,t,r,o)=>(kn(!0),function ea(e,n){return e.createText(n)}(n[V],r));function Lt(e){return fd("",e,""),Lt}function fd(e,n,t){const r=v(),o=function ao(e,n,t,r){return He(e,Lr(),t)?n+L(t)+r:j}(r,e,n,t);return o!==j&&function vn(e,n,t){const r=Ps(n,e);!function zg(e,n,t){e.setValue(n,t)}(e[V],r,t)}(r,qe(),o),fd}const vo="en-US";let Uv=vo;function gd(e,n,t,r,o){if(e=F(e),Array.isArray(e))for(let i=0;i>20;if(ar(e)||!e.multi){const h=new Ko(c,o,D),p=yd(u,n,o?l:l+f,d);-1===p?(zc(Bs(a,s),i,u),md(i,e,n.length),n.push(u),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),t.push(h),s.push(h)):(t[p]=h,s[p]=h)}else{const h=yd(u,n,l+f,d),p=yd(u,n,l,l+f),y=p>=0&&t[p];if(o&&!y||!o&&!(h>=0&&t[h])){zc(Bs(a,s),i,u);const C=function Vx(e,n,t,r,o){const i=new Ko(e,t,D);return i.multi=[],i.index=n,i.componentProviders=0,pD(i,o,r&&!t),i}(o?Lx:kx,t.length,o,r,c);!o&&y&&(t[p].providerFactory=C),md(i,e,n.length,0),n.push(u),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),t.push(C),s.push(C)}else md(i,e,h>-1?h:p,pD(t[o?p:h],c,!o&&r));!o&&r&&y&&t[p].componentProviders++}}}function md(e,n,t,r){const o=ar(n),i=function IS(e){return!!e.useClass}(n);if(o||i){const u=(i?F(n.useClass):n).prototype.ngOnDestroy;if(u){const c=e.destroyHooks||(e.destroyHooks=[]);if(!o&&n.multi){const l=c.indexOf(t);-1===l?c.push(t,[r,u]):c[l+1].push(r,u)}else c.push(t,u)}}}function pD(e,n,t){return t&&e.componentProviders++,e.multi.push(n)-1}function yd(e,n,t,r){for(let o=t;o{t.providersResolver=(r,o)=>function Fx(e,n,t){const r=q();if(r.firstCreatePass){const o=Ot(e);gd(t,r.data,r.blueprint,o,!0),gd(n,r.data,r.blueprint,o,!1)}}(r,o?o(e):e,n)}}class hr{}class gD{}class Dd extends hr{constructor(n,t,r){super(),this._parent=t,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Ey(this);const o=lt(n);this._bootstrapComponents=yn(o.bootstrap),this._r3Injector=km(n,t,[{provide:hr,useValue:this},{provide:va,useValue:this.componentFactoryResolver},...r],Se(n),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(n)}get injector(){return this._r3Injector}destroy(){const n=this._r3Injector;!n.destroyed&&n.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(n){this.destroyCbs.push(n)}}class _d extends gD{constructor(n){super(),this.moduleType=n}create(n){return new Dd(this.moduleType,n,[])}}class mD extends hr{constructor(n){super(),this.componentFactoryResolver=new Ey(this),this.instance=null;const t=new Jr([...n.providers,{provide:hr,useValue:this},{provide:va,useValue:this.componentFactoryResolver}],n.parent||da(),n.debugName,new Set(["environment"]));this.injector=t,n.runEnvironmentInitializers&&t.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}}function Cd(e,n,t=null){return new mD({providers:e,parent:n,debugName:t,runEnvironmentInitializers:!0}).injector}let Hx=(()=>{class e{constructor(t){this._injector=t,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(t){if(!t.standalone)return null;if(!this.cachedInjectors.has(t)){const r=Dm(0,t.type),o=r.length>0?Cd([r],this._injector,`Standalone[${t.type.name}]`):null;this.cachedInjectors.set(t,o)}return this.cachedInjectors.get(t)}ngOnDestroy(){try{for(const t of this.cachedInjectors.values())null!==t&&t.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=T({token:e,providedIn:"environment",factory:()=>new e(A(ht))})}return e})();function yD(e){e.getStandaloneInjector=n=>n.get(Hx).getOrCreateStandaloneInjector(e)}function Ed(e,n,t,r){return function ID(e,n,t,r,o,i){const s=n+t;return He(e,s,o)?Jt(e,s+1,i?r.call(i,o):r(o)):function Oi(e,n){const t=e[n];return t===j?void 0:t}(e,s+1)}(v(),Ge(),e,n,t,r)}function dR(){return this._results[Symbol.iterator]()}class bd{static#e=Symbol.iterator;get changes(){return this._changes||(this._changes=new ye)}constructor(n=!1){this._emitDistinctChangesOnly=n,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const t=bd.prototype;t[Symbol.iterator]||(t[Symbol.iterator]=dR)}get(n){return this._results[n]}map(n){return this._results.map(n)}filter(n){return this._results.filter(n)}find(n){return this._results.find(n)}reduce(n,t){return this._results.reduce(n,t)}forEach(n){this._results.forEach(n)}some(n){return this._results.some(n)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(n,t){const r=this;r.dirty=!1;const o=function bt(e){return e.flat(Number.POSITIVE_INFINITY)}(n);(this._changesDetected=!function XM(e,n,t){if(e.length!==n.length)return!1;for(let r=0;r0&&(t[o-1][Rt]=n),r{class e{static#e=this.__NG_ELEMENT_ID__=mR}return e})();const pR=Dn,gR=class extends pR{constructor(n,t,r){super(),this._declarationLView=n,this._declarationTContainer=t,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,t){return this.createEmbeddedViewImpl(n,t)}createEmbeddedViewImpl(n,t,r){const o=function fR(e,n,t,r){const o=n.tView,a=Ca(e,o,t,4096&e[B]?4096:16,null,n,null,null,null,r?.injector??null,r?.hydrationInfo??null);a[qo]=e[n.index];const c=e[qt];return null!==c&&(a[qt]=c.createEmbeddedView(o)),Kl(o,a,t),a}(this._declarationLView,this._declarationTContainer,n,{injector:t,hydrationInfo:r});return new _i(o)}};function mR(){return Ba(ke(),v())}function Ba(e,n){return 4&e.type?new gR(n,e,no(e,n)):null}let Vt=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=wR}return e})();function wR(){return kD(ke(),v())}const ER=Vt,PD=class extends ER{constructor(n,t,r){super(),this._lContainer=n,this._hostTNode=t,this._hostLView=r}get element(){return no(this._hostTNode,this._hostLView)}get injector(){return new We(this._hostTNode,this._hostLView)}get parentInjector(){const n=Hs(this._hostTNode,this._hostLView);if(Hc(n)){const t=ti(n,this._hostLView),r=ei(n);return new We(t[E].data[r+8],t)}return new We(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){const t=FD(this._lContainer);return null!==t&&t[n]||null}get length(){return this._lContainer.length-Pe}createEmbeddedView(n,t,r){let o,i;"number"==typeof r?o=r:null!=r&&(o=r.index,i=r.injector);const a=n.createEmbeddedViewImpl(t||{},i,null);return this.insertImpl(a,o,false),a}createComponent(n,t,r,o,i){const s=n&&!function ri(e){return"function"==typeof e}(n);let a;if(s)a=t;else{const g=t||{};a=g.index,r=g.injector,o=g.projectableNodes,i=g.environmentInjector||g.ngModuleRef}const u=s?n:new Ci(G(n)),c=r||this.parentInjector;if(!i&&null==u.ngModule){const y=(s?c:this.parentInjector).get(ht,null);y&&(i=y)}G(u.componentType??{});const h=u.create(c,o,null,i);return this.insertImpl(h.hostView,a,false),h}insert(n,t){return this.insertImpl(n,t,!1)}insertImpl(n,t,r){const o=n._lView;if(function dM(e){return ze(e[fe])}(o)){const u=this.indexOf(n);if(-1!==u)this.detach(u);else{const c=o[fe],l=new PD(c,c[je],c[fe]);l.detach(l.indexOf(n))}}const s=this._adjustIndex(t),a=this._lContainer;return hR(a,o,s,!r),n.attachToViewContainerRef(),_g(Id(a),s,n),n}move(n,t){return this.insert(n,t)}indexOf(n){const t=FD(this._lContainer);return null!==t?t.indexOf(n):-1}remove(n){const t=this._adjustIndex(n,-1),r=na(this._lContainer,t);r&&(zs(Id(this._lContainer),t),ol(r[E],r))}detach(n){const t=this._adjustIndex(n,-1),r=na(this._lContainer,t);return r&&null!=zs(Id(this._lContainer),t)?new _i(r):null}_adjustIndex(n,t=0){return n??this.length+t}};function FD(e){return e[8]}function Id(e){return e[8]||(e[8]=[])}function kD(e,n){let t;const r=n[e.index];return ze(r)?t=r:(t=dy(r,n,null,e),n[e.index]=t,wa(n,t)),LD(t,n,e,r),new PD(t,e,n)}let LD=function VD(e,n,t,r){if(e[Wt])return;let o;o=8&t.type?ae(r):function bR(e,n){const t=e[V],r=t.createComment(""),o=tt(n,e);return sr(t,ra(t,o),r,function q0(e,n){return e.nextSibling(n)}(t,o),!1),r}(n,t),e[Wt]=o};class Md{constructor(n){this.queryList=n,this.matches=null}clone(){return new Md(this.queryList)}setDirty(){this.queryList.setDirty()}}class Sd{constructor(n=[]){this.queries=n}createEmbeddedView(n){const t=n.queries;if(null!==t){const r=null!==n.contentQueries?n.contentQueries[0]:t.length,o=[];for(let i=0;i0)r.push(s[a/2]);else{const c=i[a+1],l=n[-u];for(let d=Pe;d{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((t,r)=>{this.resolve=t,this.reject=r}),this.appInits=I(kd,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const t=[];for(const o of this.appInits){const i=o();if(Mi(i))t.push(i);else if(Wy(i)){const s=new Promise((a,u)=>{i.subscribe({complete:a,error:u})});t.push(s)}}const r=()=>{this.done=!0,this.resolve()};Promise.all(t).then(()=>{r()}).catch(o=>{this.reject(o)}),0===t.length&&r(),this.initialized=!0}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),c_=(()=>{class e{log(t){console.log(t)}warn(t){console.warn(t)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();const _n=new S("LocaleId",{providedIn:"root",factory:()=>I(_n,U.Optional|U.SkipSelf)||function tO(){return typeof $localize<"u"&&$localize.locale||vo}()});let Ua=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new at(!1)}add(){this.hasPendingTasks.next(!0);const t=this.taskId++;return this.pendingTasks.add(t),t}remove(t){this.pendingTasks.delete(t),0===this.pendingTasks.size&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();class oO{constructor(n,t){this.ngModuleFactory=n,this.componentFactories=t}}let l_=(()=>{class e{compileModuleSync(t){return new _d(t)}compileModuleAsync(t){return Promise.resolve(this.compileModuleSync(t))}compileModuleAndAllComponentsSync(t){const r=this.compileModuleSync(t),i=yn(lt(t).declarations).reduce((s,a)=>{const u=G(a);return u&&s.push(new Ci(u)),s},[]);return new oO(r,i)}compileModuleAndAllComponentsAsync(t){return Promise.resolve(this.compileModuleAndAllComponentsSync(t))}clearCache(){}clearCacheFor(t){}getModuleId(t){}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const p_=new S(""),Ga=new S("");let $d,Bd=(()=>{class e{constructor(t,r,o){this._ngZone=t,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,$d||(function MO(e){$d=e}(o),o.addToWindow(r)),this._watchAngularEvents(),t.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:()=>{ue.assertNotInAngularZone(),queueMicrotask(()=>{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())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb(this._didWork)}this._didWork=!1});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(t)||(clearTimeout(r.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,r,o){let i=-1;r&&r>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==i),t(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:t,timeoutId:i,updateCb:o})}whenStable(t,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(t,r,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(t){this.registry.registerApplication(t,this)}unregisterApplication(t){this.registry.unregisterApplication(t)}findProviders(t,r,o){return[]}static#e=this.\u0275fac=function(r){return new(r||e)(A(ue),A(Hd),A(Ga))};static#t=this.\u0275prov=T({token:e,factory:e.\u0275fac})}return e})(),Hd=(()=>{class e{constructor(){this._applications=new Map}registerApplication(t,r){this._applications.set(t,r)}unregisterApplication(t){this._applications.delete(t)}unregisterAllApplications(){this._applications.clear()}getTestability(t){return this._applications.get(t)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(t,r=!0){return $d?.findTestabilityInTree(this,t,r)??null}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),Bn=null;const g_=new S("AllowMultipleToken"),Ud=new S("PlatformDestroyListeners"),zd=new S("appBootstrapListener");class y_{constructor(n,t){this.name=n,this.token=t}}function D_(e,n,t=[]){const r=`Platform: ${n}`,o=new S(r);return(i=[])=>{let s=Gd();if(!s||s.injector.get(g_,!1)){const a=[...t,...i,{provide:o,useValue:!0}];e?e(a):function TO(e){if(Bn&&!Bn.get(g_,!1))throw new _(400,!1);(function m_(){!function QI(e){Rp=e}(()=>{throw new _(600,!1)})})(),Bn=e;const n=e.get(C_);(function v_(e){e.get(bm,null)?.forEach(t=>t())})(e)}(function __(e=[],n){return gt.create({name:n,providers:[{provide:Cl,useValue:"platform"},{provide:Ud,useValue:new Set([()=>Bn=null])},...e]})}(a,r))}return function xO(e){const n=Gd();if(!n)throw new _(401,!1);return n}()}}function Gd(){return Bn?.get(C_)??null}let C_=(()=>{class e{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,r){const o=function RO(e="zone.js",n){return"noop"===e?new aA:"zone.js"===e?new ue(n):e}(r?.ngZone,function w_(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing}));return o.run(()=>{const i=function Bx(e,n,t){return new Dd(e,n,t)}(t.moduleType,this.injector,function S_(e){return[{provide:ue,useFactory:e},{provide:hi,multi:!0,useFactory:()=>{const n=I(PO,{optional:!0});return()=>n.initialize()}},{provide:M_,useFactory:OO},{provide:Hm,useFactory:$m}]}(()=>o)),s=i.injector.get(mn,null);return o.runOutsideAngular(()=>{const a=o.onError.subscribe({next:u=>{s.handleError(u)}});i.onDestroy(()=>{qa(this._modules,i),a.unsubscribe()})}),function E_(e,n,t){try{const r=t();return Mi(r)?r.catch(o=>{throw n.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw n.runOutsideAngular(()=>e.handleError(r)),r}}(s,o,()=>{const a=i.injector.get(Ld);return a.runInitializers(),a.donePromise.then(()=>(function zv(e){_t(e,"Expected localeId to be defined"),"string"==typeof e&&(Uv=e.toLowerCase().replace(/_/g,"-"))}(i.injector.get(_n,vo)||vo),this._moduleDoBootstrap(i),i))})})}bootstrapModule(t,r=[]){const o=b_({},r);return function SO(e,n,t){const r=new _d(t);return Promise.resolve(r)}(0,0,t).then(i=>this.bootstrapModuleFactory(i,o))}_moduleDoBootstrap(t){const r=t.injector.get(Co);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(o=>r.bootstrap(o));else{if(!t.instance.ngDoBootstrap)throw new _(-403,!1);t.instance.ngDoBootstrap(r)}this._modules.push(t)}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new _(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const t=this._injector.get(Ud,null);t&&(t.forEach(r=>r()),t.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(r){return new(r||e)(A(gt))};static#t=this.\u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function b_(e,n){return Array.isArray(n)?n.reduce(b_,e):{...e,...n}}let Co=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=I(M_),this.zoneIsStable=I(Hm),this.componentTypes=[],this.components=[],this.isStable=I(Ua).hasPendingTasks.pipe(Tt(t=>t?R(!1):this.zoneIsStable),function aI(e,n=Tn){return e=e??uI,Ie((t,r)=>{let o,i=!0;t.subscribe(Ee(r,s=>{const a=n(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}(),Qh()),this._injector=I(ht)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(t,r){const o=t instanceof Tm;if(!this._injector.get(Ld).done)throw!o&&function Ar(e){const n=G(e)||Oe(e)||Ue(e);return null!==n&&n.standalone}(t),new _(405,!1);let s;s=o?t:this._injector.get(va).resolveComponentFactory(t),this.componentTypes.push(s.componentType);const a=function AO(e){return e.isBoundToModule}(s)?void 0:this._injector.get(hr),c=s.create(gt.NULL,[],r||s.selector,a),l=c.location.nativeElement,d=c.injector.get(p_,null);return d?.registerApplication(l),c.onDestroy(()=>{this.detachView(c.hostView),qa(this.components,c),d?.unregisterApplication(l)}),this._loadComponent(c),c}tick(){if(this._runningTick)throw new _(101,!1);try{this._runningTick=!0;for(let t of this._views)t.detectChanges()}catch(t){this.internalErrorHandler(t)}finally{this._runningTick=!1}}attachView(t){const r=t;this._views.push(r),r.attachToAppRef(this)}detachView(t){const r=t;qa(this._views,r),r.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t);const r=this._injector.get(zd,[]);r.push(...this._bootstrapListeners),r.forEach(o=>o(t))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(t=>t()),this._views.slice().forEach(t=>t.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(t){return this._destroyListeners.push(t),()=>qa(this._destroyListeners,t)}destroy(){if(this._destroyed)throw new _(406,!1);const t=this._injector;t.destroy&&!t.destroyed&&t.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function qa(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}const M_=new S("",{providedIn:"root",factory:()=>I(mn).handleError.bind(void 0)});function OO(){const e=I(ue),n=I(mn);return t=>e.runOutsideAngular(()=>n.handleError(t))}let PO=(()=>{class e{constructor(){this.zone=I(ue),this.applicationRef=I(Co)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();let Wa=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=kO}return e})();function kO(e){return function LO(e,n,t){if(er(e)&&!t){const r=dt(e.index,n);return new _i(r,r)}return 47&e.type?new _i(n[Ce],n):null}(ke(),v(),16==(16&e))}class x_{constructor(){}supports(n){return Ma(n)}create(n){return new UO(n)}}const $O=(e,n)=>n;class UO{constructor(n){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=n||$O}forEachItem(n){let t;for(t=this._itHead;null!==t;t=t._next)n(t)}forEachOperation(n){let t=this._itHead,r=this._removalsHead,o=0,i=null;for(;t||r;){const s=!r||t&&t.currentIndex{s=this._trackByFn(o,a),null!==t&&Object.is(t.trackById,s)?(r&&(t=this._verifyReinsertion(t,a,s,o)),Object.is(t.item,a)||this._addIdentityChange(t,a)):(t=this._mismatch(t,a,s,o),r=!0),t=t._next,o++}),this.length=o;return this._truncate(t),this.collection=n,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let n;for(n=this._previousItHead=this._itHead;null!==n;n=n._next)n._nextPrevious=n._next;for(n=this._additionsHead;null!==n;n=n._nextAdded)n.previousIndex=n.currentIndex;for(this._additionsHead=this._additionsTail=null,n=this._movesHead;null!==n;n=n._nextMoved)n.previousIndex=n.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(n,t,r,o){let i;return null===n?i=this._itTail:(i=n._prev,this._remove(n)),null!==(n=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(n.item,t)||this._addIdentityChange(n,t),this._reinsertAfter(n,i,o)):null!==(n=null===this._linkedRecords?null:this._linkedRecords.get(r,o))?(Object.is(n.item,t)||this._addIdentityChange(n,t),this._moveAfter(n,i,o)):n=this._addAfter(new zO(t,r),i,o),n}_verifyReinsertion(n,t,r,o){let i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==i?n=this._reinsertAfter(i,n._prev,o):n.currentIndex!=o&&(n.currentIndex=o,this._addToMoves(n,o)),n}_truncate(n){for(;null!==n;){const t=n._next;this._addToRemovals(this._unlink(n)),n=t}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(n,t,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(n);const o=n._prevRemoved,i=n._nextRemoved;return null===o?this._removalsHead=i:o._nextRemoved=i,null===i?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(n,t,r),this._addToMoves(n,r),n}_moveAfter(n,t,r){return this._unlink(n),this._insertAfter(n,t,r),this._addToMoves(n,r),n}_addAfter(n,t,r){return this._insertAfter(n,t,r),this._additionsTail=null===this._additionsTail?this._additionsHead=n:this._additionsTail._nextAdded=n,n}_insertAfter(n,t,r){const o=null===t?this._itHead:t._next;return n._next=o,n._prev=t,null===o?this._itTail=n:o._prev=n,null===t?this._itHead=n:t._next=n,null===this._linkedRecords&&(this._linkedRecords=new R_),this._linkedRecords.put(n),n.currentIndex=r,n}_remove(n){return this._addToRemovals(this._unlink(n))}_unlink(n){null!==this._linkedRecords&&this._linkedRecords.remove(n);const t=n._prev,r=n._next;return null===t?this._itHead=r:t._next=r,null===r?this._itTail=t:r._prev=t,n}_addToMoves(n,t){return n.previousIndex===t||(this._movesTail=null===this._movesTail?this._movesHead=n:this._movesTail._nextMoved=n),n}_addToRemovals(n){return null===this._unlinkedRecords&&(this._unlinkedRecords=new R_),this._unlinkedRecords.put(n),n.currentIndex=null,n._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=n,n._prevRemoved=null):(n._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=n),n}_addIdentityChange(n,t){return n.item=t,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=n:this._identityChangesTail._nextIdentityChange=n,n}}class zO{constructor(n,t){this.item=n,this.trackById=t,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class GO{constructor(){this._head=null,this._tail=null}add(n){null===this._head?(this._head=this._tail=n,n._nextDup=null,n._prevDup=null):(this._tail._nextDup=n,n._prevDup=this._tail,n._nextDup=null,this._tail=n)}get(n,t){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===t||t<=r.currentIndex)&&Object.is(r.trackById,n))return r;return null}remove(n){const t=n._prevDup,r=n._nextDup;return null===t?this._head=r:t._nextDup=r,null===r?this._tail=t:r._prevDup=t,null===this._head}}class R_{constructor(){this.map=new Map}put(n){const t=n.trackById;let r=this.map.get(t);r||(r=new GO,this.map.set(t,r)),r.add(n)}get(n,t){const o=this.map.get(n);return o?o.get(n,t):null}remove(n){const t=n.trackById;return this.map.get(t).remove(n)&&this.map.delete(t),n}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function O_(e,n,t){const r=e.previousIndex;if(null===r)return r;let o=0;return t&&r{class e{static#e=this.\u0275prov=T({token:e,providedIn:"root",factory:F_});constructor(t){this.factories=t}static create(t,r){if(null!=r){const o=r.factories.slice();t=t.concat(o)}return new e(t)}static extend(t){return{provide:e,useFactory:r=>e.create(t,r||F_()),deps:[[e,new Ws,new qs]]}}find(t){const r=this.factories.find(o=>o.supports(t));if(null!=r)return r;throw new _(901,!1)}}return e})();const QO=D_(null,"core",[]);let XO=(()=>{class e{constructor(t){}static#e=this.\u0275fac=function(r){return new(r||e)(A(Co))};static#t=this.\u0275mod=Ct({type:e});static#n=this.\u0275inj=ct({})}return e})();function wo(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}let Xd=null;function Hn(){return Xd}class d1{}const yt=new S("DocumentToken");let Jd=(()=>{class e{historyGo(t){throw new Error("Not implemented")}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=T({token:e,factory:function(){return I(h1)},providedIn:"platform"})}return e})();const f1=new S("Location Initialized");let h1=(()=>{class e extends Jd{constructor(){super(),this._doc=I(yt),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Hn().getBaseHref(this._doc)}onPopState(t){const r=Hn().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",t,!1),()=>r.removeEventListener("popstate",t)}onHashChange(t){const r=Hn().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",t,!1),()=>r.removeEventListener("hashchange",t)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(t){this._location.pathname=t}pushState(t,r,o){this._history.pushState(t,r,o)}replaceState(t,r,o){this._history.replaceState(t,r,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(t=0){this._history.go(t)}getState(){return this._history.state}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=T({token:e,factory:function(){return new e},providedIn:"platform"})}return e})();function Kd(e,n){if(0==e.length)return n;if(0==n.length)return e;let t=0;return e.endsWith("/")&&t++,n.startsWith("/")&&t++,2==t?e+n.substring(1):1==t?e+n:e+"/"+n}function G_(e){const n=e.match(/#|\?|$/),t=n&&n.index||e.length;return e.slice(0,t-("/"===e[t-1]?1:0))+e.slice(t)}function Cn(e){return e&&"?"!==e[0]?"?"+e:e}let gr=(()=>{class e{historyGo(t){throw new Error("Not implemented")}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=T({token:e,factory:function(){return I(W_)},providedIn:"root"})}return e})();const q_=new S("appBaseHref");let W_=(()=>{class e extends gr{constructor(t,r){super(),this._platformLocation=t,this._removeListenerFns=[],this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??I(yt).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return Kd(this._baseHref,t)}path(t=!1){const r=this._platformLocation.pathname+Cn(this._platformLocation.search),o=this._platformLocation.hash;return o&&t?`${r}${o}`:r}pushState(t,r,o,i){const s=this.prepareExternalUrl(o+Cn(i));this._platformLocation.pushState(t,r,s)}replaceState(t,r,o,i){const s=this.prepareExternalUrl(o+Cn(i));this._platformLocation.replaceState(t,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}static#e=this.\u0275fac=function(r){return new(r||e)(A(Jd),A(q_,8))};static#t=this.\u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),p1=(()=>{class e extends gr{constructor(t,r){super(),this._platformLocation=t,this._baseHref="",this._removeListenerFns=[],null!=r&&(this._baseHref=r)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}path(t=!1){let r=this._platformLocation.hash;return null==r&&(r="#"),r.length>0?r.substring(1):r}prepareExternalUrl(t){const r=Kd(this._baseHref,t);return r.length>0?"#"+r:r}pushState(t,r,o,i){let s=this.prepareExternalUrl(o+Cn(i));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(t,r,s)}replaceState(t,r,o,i){let s=this.prepareExternalUrl(o+Cn(i));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(t,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}static#e=this.\u0275fac=function(r){return new(r||e)(A(Jd),A(q_,8))};static#t=this.\u0275prov=T({token:e,factory:e.\u0275fac})}return e})(),ef=(()=>{class e{constructor(t){this._subject=new ye,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=t;const r=this._locationStrategy.getBaseHref();this._basePath=function y1(e){if(new RegExp("^(https?:)?//").test(e)){const[,t]=e.split(/\/\/[^\/]+/);return t}return e}(G_(Z_(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(t=!1){return this.normalize(this._locationStrategy.path(t))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(t,r=""){return this.path()==this.normalize(t+Cn(r))}normalize(t){return e.stripTrailingSlash(function m1(e,n){if(!e||!n.startsWith(e))return n;const t=n.substring(e.length);return""===t||["/",";","?","#"].includes(t[0])?t:n}(this._basePath,Z_(t)))}prepareExternalUrl(t){return t&&"/"!==t[0]&&(t="/"+t),this._locationStrategy.prepareExternalUrl(t)}go(t,r="",o=null){this._locationStrategy.pushState(o,"",t,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+Cn(r)),o)}replaceState(t,r="",o=null){this._locationStrategy.replaceState(o,"",t,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+Cn(r)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(t=0){this._locationStrategy.historyGo?.(t)}onUrlChange(t){return this._urlChangeListeners.push(t),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)})),()=>{const r=this._urlChangeListeners.indexOf(t);this._urlChangeListeners.splice(r,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(t="",r){this._urlChangeListeners.forEach(o=>o(t,r))}subscribe(t,r,o){return this._subject.subscribe({next:t,error:r,complete:o})}static#e=this.normalizeQueryParams=Cn;static#t=this.joinWithSlash=Kd;static#n=this.stripTrailingSlash=G_;static#r=this.\u0275fac=function(r){return new(r||e)(A(gr))};static#o=this.\u0275prov=T({token:e,factory:function(){return function g1(){return new ef(A(gr))}()},providedIn:"root"})}return e})();function Z_(e){return e.replace(/\/index.html$/,"")}function rC(e,n){n=encodeURIComponent(n);for(const t of e.split(";")){const r=t.indexOf("="),[o,i]=-1==r?[t,""]:[t.slice(0,r),t.slice(r+1)];if(o.trim()===n)return decodeURIComponent(i)}return null}class rP{constructor(n,t,r,o){this.$implicit=n,this.ngForOf=t,this.index=r,this.count=o}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let sC=(()=>{class e{set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}constructor(t,r,o){this._viewContainer=t,this._template=r,this._differs=o,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const t=this._ngForOf;!this._differ&&t&&(this._differ=this._differs.find(t).create(this.ngForTrackBy))}if(this._differ){const t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){const r=this._viewContainer;t.forEachOperation((o,i,s)=>{if(null==o.previousIndex)r.createEmbeddedView(this._template,new rP(o.item,this._ngForOf,-1,-1),null===s?void 0:s);else if(null==s)r.remove(null===i?void 0:i);else if(null!==i){const a=r.get(i);r.move(a,s),aC(a,o)}});for(let o=0,i=r.length;o{aC(r.get(o.currentIndex),o)})}static ngTemplateContextGuard(t,r){return!0}static#e=this.\u0275fac=function(r){return new(r||e)(D(Vt),D(Dn),D(Qa))};static#t=this.\u0275dir=k({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return e})();function aC(e,n){e.context.$implicit=n.item}let Bi=(()=>{class e{constructor(t,r){this._viewContainer=t,this._context=new oP,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=r}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){uC("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){uC("ngIfElse",t),this._elseTemplateRef=t,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(t,r){return!0}static#e=this.\u0275fac=function(r){return new(r||e)(D(Vt),D(Dn))};static#t=this.\u0275dir=k({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return e})();class oP{constructor(){this.$implicit=null,this.ngIf=null}}function uC(e,n){if(n&&!n.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${Se(n)}'.`)}let TP=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Ct({type:e});static#n=this.\u0275inj=ct({})}return e})();function fC(e){return"server"===e}let OP=(()=>{class e{static#e=this.\u0275prov=T({token:e,providedIn:"root",factory:()=>new PP(A(yt),window)})}return e})();class PP{constructor(n,t){this.document=n,this.window=t,this.offset=()=>[0,0]}setOffset(n){this.offset=Array.isArray(n)?()=>n:n}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(n){this.supportsScrolling()&&this.window.scrollTo(n[0],n[1])}scrollToAnchor(n){if(!this.supportsScrolling())return;const t=function FP(e,n){const t=e.getElementById(n)||e.getElementsByName(n)[0];if(t)return t;if("function"==typeof e.createTreeWalker&&e.body&&"function"==typeof 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(n)||i.querySelector(`[name="${n}"]`);if(s)return s}o=r.nextNode()}}return null}(this.document,n);t&&(this.scrollToElement(t),t.focus())}setHistoryScrollRestoration(n){this.supportsScrolling()&&(this.window.history.scrollRestoration=n)}scrollToElement(n){const t=n.getBoundingClientRect(),r=t.left+this.window.pageXOffset,o=t.top+this.window.pageYOffset,i=this.offset();this.window.scrollTo(r-i[0],o-i[1])}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}class hC{}class oF extends d1{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class Df extends oF{static makeCurrent(){!function l1(e){Xd||(Xd=e)}(new Df)}onAndCancel(n,t,r){return n.addEventListener(t,r),()=>{n.removeEventListener(t,r)}}dispatchEvent(n,t){n.dispatchEvent(t)}remove(n){n.parentNode&&n.parentNode.removeChild(n)}createElement(n,t){return(t=t||this.getDefaultDocument()).createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,t){return"window"===t?window:"document"===t?n:"body"===t?n.body:null}getBaseHref(n){const t=function iF(){return $i=$i||document.querySelector("base"),$i?$i.getAttribute("href"):null}();return null==t?null:function sF(e){lu=lu||document.createElement("a"),lu.setAttribute("href",e);const n=lu.pathname;return"/"===n.charAt(0)?n:`/${n}`}(t)}resetBaseElement(){$i=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return rC(document.cookie,n)}}let lu,$i=null,uF=(()=>{class e{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=T({token:e,factory:e.\u0275fac})}return e})();const _f=new S("EventManagerPlugins");let vC=(()=>{class e{constructor(t,r){this._zone=r,this._eventNameToPlugin=new Map,t.forEach(o=>{o.manager=this}),this._plugins=t.slice().reverse()}addEventListener(t,r,o){return this._findPluginFor(r).addEventListener(t,r,o)}getZone(){return this._zone}_findPluginFor(t){let r=this._eventNameToPlugin.get(t);if(r)return r;if(r=this._plugins.find(i=>i.supports(t)),!r)throw new _(5101,!1);return this._eventNameToPlugin.set(t,r),r}static#e=this.\u0275fac=function(r){return new(r||e)(A(_f),A(ue))};static#t=this.\u0275prov=T({token:e,factory:e.\u0275fac})}return e})();class DC{constructor(n){this._doc=n}}const Cf="ng-app-id";let _C=(()=>{class e{constructor(t,r,o,i={}){this.doc=t,this.appId=r,this.nonce=o,this.platformId=i,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=fC(i),this.resetHostNodes()}addStyles(t){for(const r of t)1===this.changeUsageCount(r,1)&&this.onStyleAdded(r)}removeStyles(t){for(const r of t)this.changeUsageCount(r,-1)<=0&&this.onStyleRemoved(r)}ngOnDestroy(){const t=this.styleNodesInDOM;t&&(t.forEach(r=>r.remove()),t.clear());for(const r of this.getAllStyles())this.onStyleRemoved(r);this.resetHostNodes()}addHost(t){this.hostNodes.add(t);for(const r of this.getAllStyles())this.addStyleToHost(t,r)}removeHost(t){this.hostNodes.delete(t)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(t){for(const r of this.hostNodes)this.addStyleToHost(r,t)}onStyleRemoved(t){const r=this.styleRef;r.get(t)?.elements?.forEach(o=>o.remove()),r.delete(t)}collectServerRenderedStyles(){const t=this.doc.head?.querySelectorAll(`style[${Cf}="${this.appId}"]`);if(t?.length){const r=new Map;return t.forEach(o=>{null!=o.textContent&&r.set(o.textContent,o)}),r}return null}changeUsageCount(t,r){const o=this.styleRef;if(o.has(t)){const i=o.get(t);return i.usage+=r,i.usage}return o.set(t,{usage:r,elements:[]}),r}getStyleElement(t,r){const o=this.styleNodesInDOM,i=o?.get(r);if(i?.parentNode===t)return o.delete(r),i.removeAttribute(Cf),i;{const s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=r,this.platformIsServer&&s.setAttribute(Cf,this.appId),s}}addStyleToHost(t,r){const o=this.getStyleElement(t,r);t.appendChild(o);const i=this.styleRef,s=i.get(r)?.elements;s?s.push(o):i.set(r,{elements:[o],usage:1})}resetHostNodes(){const t=this.hostNodes;t.clear(),t.add(this.doc.head)}static#e=this.\u0275fac=function(r){return new(r||e)(A(yt),A(fa),A(Im,8),A(ur))};static#t=this.\u0275prov=T({token:e,factory:e.\u0275fac})}return e})();const wf={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/"},Ef=/%COMP%/g,fF=new S("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!1});function wC(e,n){return n.map(t=>t.replace(Ef,e))}let EC=(()=>{class e{constructor(t,r,o,i,s,a,u,c=null){this.eventManager=t,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=i,this.doc=s,this.platformId=a,this.ngZone=u,this.nonce=c,this.rendererByCompId=new Map,this.platformIsServer=fC(a),this.defaultRenderer=new bf(t,s,u,this.platformIsServer)}createRenderer(t,r){if(!t||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===Nt.ShadowDom&&(r={...r,encapsulation:Nt.Emulated});const o=this.getOrCreateRenderer(t,r);return o instanceof IC?o.applyToHost(t):o instanceof If&&o.applyStyles(),o}getOrCreateRenderer(t,r){const o=this.rendererByCompId;let i=o.get(r.id);if(!i){const s=this.doc,a=this.ngZone,u=this.eventManager,c=this.sharedStylesHost,l=this.removeStylesOnCompDestroy,d=this.platformIsServer;switch(r.encapsulation){case Nt.Emulated:i=new IC(u,c,r,this.appId,l,s,a,d);break;case Nt.ShadowDom:return new mF(u,c,t,r,s,a,this.nonce,d);default:i=new If(u,c,r,l,s,a,d)}o.set(r.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(r){return new(r||e)(A(vC),A(_C),A(fa),A(fF),A(yt),A(ur),A(ue),A(Im))};static#t=this.\u0275prov=T({token:e,factory:e.\u0275fac})}return e})();class bf{constructor(n,t,r,o){this.eventManager=n,this.doc=t,this.ngZone=r,this.platformIsServer=o,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(n,t){return t?this.doc.createElementNS(wf[t]||t,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,t){(bC(n)?n.content:n).appendChild(t)}insertBefore(n,t,r){n&&(bC(n)?n.content:n).insertBefore(t,r)}removeChild(n,t){n&&n.removeChild(t)}selectRootElement(n,t){let r="string"==typeof n?this.doc.querySelector(n):n;if(!r)throw new _(-5104,!1);return t||(r.textContent=""),r}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,t,r,o){if(o){t=o+":"+t;const i=wf[o];i?n.setAttributeNS(i,t,r):n.setAttribute(t,r)}else n.setAttribute(t,r)}removeAttribute(n,t,r){if(r){const o=wf[r];o?n.removeAttributeNS(o,t):n.removeAttribute(`${r}:${t}`)}else n.removeAttribute(t)}addClass(n,t){n.classList.add(t)}removeClass(n,t){n.classList.remove(t)}setStyle(n,t,r,o){o&(Ln.DashCase|Ln.Important)?n.style.setProperty(t,r,o&Ln.Important?"important":""):n.style[t]=r}removeStyle(n,t,r){r&Ln.DashCase?n.style.removeProperty(t):n.style[t]=""}setProperty(n,t,r){n[t]=r}setValue(n,t){n.nodeValue=t}listen(n,t,r){if("string"==typeof n&&!(n=Hn().getGlobalEventTarget(this.doc,n)))throw new Error(`Unsupported event target ${n} for event ${t}`);return this.eventManager.addEventListener(n,t,this.decoratePreventDefault(r))}decoratePreventDefault(n){return t=>{if("__ngUnwrap__"===t)return n;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>n(t)):n(t))&&t.preventDefault()}}}function bC(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class mF extends bf{constructor(n,t,r,o,i,s,a,u){super(n,i,s,u),this.sharedStylesHost=t,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const c=wC(o.id,o.styles);for(const l of c){const d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=l,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,t){return super.appendChild(this.nodeOrShadowRoot(n),t)}insertBefore(n,t,r){return super.insertBefore(this.nodeOrShadowRoot(n),t,r)}removeChild(n,t){return super.removeChild(this.nodeOrShadowRoot(n),t)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class If extends bf{constructor(n,t,r,o,i,s,a,u){super(n,i,s,a),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=o,this.styles=u?wC(u,r.styles):r.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class IC extends If{constructor(n,t,r,o,i,s,a,u){const c=o+"-"+r.id;super(n,t,r,i,s,a,u,c),this.contentAttr=function hF(e){return"_ngcontent-%COMP%".replace(Ef,e)}(c),this.hostAttr=function pF(e){return"_nghost-%COMP%".replace(Ef,e)}(c)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,t){const r=super.createElement(n,t);return super.setAttribute(r,this.contentAttr,""),r}}let yF=(()=>{class e extends DC{constructor(t){super(t)}supports(t){return!0}addEventListener(t,r,o){return t.addEventListener(r,o,!1),()=>this.removeEventListener(t,r,o)}removeEventListener(t,r,o){return t.removeEventListener(r,o)}static#e=this.\u0275fac=function(r){return new(r||e)(A(yt))};static#t=this.\u0275prov=T({token:e,factory:e.\u0275fac})}return e})();const MC=["alt","control","meta","shift"],vF={"\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"},DF={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let _F=(()=>{class e extends DC{constructor(t){super(t)}supports(t){return null!=e.parseEventName(t)}addEventListener(t,r,o){const i=e.parseEventName(r),s=e.eventCallback(i.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Hn().onAndCancel(t,i.domEventName,s))}static parseEventName(t){const r=t.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."),MC.forEach(c=>{const l=r.indexOf(c);l>-1&&(r.splice(l,1),s+=c+".")}),s+=i,0!=r.length||0===i.length)return null;const u={};return u.domEventName=o,u.fullKey=s,u}static matchEventFullKeyCode(t,r){let o=vF[t.key]||t.key,i="";return r.indexOf("code.")>-1&&(o=t.code,i="code."),!(null==o||!o)&&(o=o.toLowerCase()," "===o?o="space":"."===o&&(o="dot"),MC.forEach(s=>{s!==o&&(0,DF[s])(t)&&(i+=s+".")}),i+=o,i===r)}static eventCallback(t,r,o){return i=>{e.matchEventFullKeyCode(i,t)&&o.runGuarded(()=>r(i))}}static _normalizeKey(t){return"esc"===t?"escape":t}static#e=this.\u0275fac=function(r){return new(r||e)(A(yt))};static#t=this.\u0275prov=T({token:e,factory:e.\u0275fac})}return e})();const bF=D_(QO,"browser",[{provide:ur,useValue:"browser"},{provide:bm,useValue:function CF(){Df.makeCurrent()},multi:!0},{provide:yt,useFactory:function EF(){return function eS(e){dl=e}(document),document},deps:[]}]),IF=new S(""),TC=[{provide:Ga,useClass:class aF{addToWindow(n){se.getAngularTestability=(r,o=!0)=>{const i=n.findTestabilityInTree(r,o);if(null==i)throw new _(5103,!1);return i},se.getAllAngularTestabilities=()=>n.getAllTestabilities(),se.getAllAngularRootElements=()=>n.getAllRootElements(),se.frameworkStabilizers||(se.frameworkStabilizers=[]),se.frameworkStabilizers.push(r=>{const o=se.getAllAngularTestabilities();let i=o.length,s=!1;const a=function(u){s=s||u,i--,0==i&&r(s)};o.forEach(u=>{u.whenStable(a)})})}findTestabilityInTree(n,t,r){return null==t?null:n.getTestability(t)??(r?Hn().isShadowRoot(t)?this.findTestabilityInTree(n,t.host,!0):this.findTestabilityInTree(n,t.parentElement,!0):null)}},deps:[]},{provide:p_,useClass:Bd,deps:[ue,Hd,Ga]},{provide:Bd,useClass:Bd,deps:[ue,Hd,Ga]}],NC=[{provide:Cl,useValue:"root"},{provide:mn,useFactory:function wF(){return new mn},deps:[]},{provide:_f,useClass:yF,multi:!0,deps:[yt,ue,ur]},{provide:_f,useClass:_F,multi:!0,deps:[yt]},EC,_C,vC,{provide:xm,useExisting:EC},{provide:hC,useClass:uF,deps:[]},[]];let MF=(()=>{class e{constructor(t){}static withServerTransition(t){return{ngModule:e,providers:[{provide:fa,useValue:t.appId}]}}static#e=this.\u0275fac=function(r){return new(r||e)(A(IF,12))};static#t=this.\u0275mod=Ct({type:e});static#n=this.\u0275inj=ct({providers:[...NC,...TC],imports:[TP,XO]})}return e})(),xC=(()=>{class e{constructor(t){this._doc=t}getTitle(){return this._doc.title}setTitle(t){this._doc.title=t||""}static#e=this.\u0275fac=function(r){return new(r||e)(A(yt))};static#t=this.\u0275prov=T({token:e,factory:function(r){let o=null;return o=r?new r:function AF(){return new xC(A(yt))}(),o},providedIn:"root"})}return e})();typeof window<"u"&&window;const{isArray:OF}=Array,{getPrototypeOf:PF,prototype:FF,keys:kF}=Object;function FC(e){if(1===e.length){const n=e[0];if(OF(n))return{args:n,keys:null};if(function LF(e){return e&&"object"==typeof e&&PF(e)===FF}(n)){const t=kF(n);return{args:t.map(r=>n[r]),keys:t}}}return{args:e,keys:null}}const{isArray:VF}=Array;function kC(e){return Z(n=>function jF(e,n){return VF(n)?e(...n):e(n)}(e,n))}function LC(e,n){return e.reduce((t,r,o)=>(t[r]=n[o],t),{})}let VC=(()=>{class e{constructor(t,r){this._renderer=t,this._elementRef=r,this.onChange=o=>{},this.onTouched=()=>{}}setProperty(t,r){this._renderer.setProperty(this._elementRef.nativeElement,t,r)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}static#e=this.\u0275fac=function(r){return new(r||e)(D(gn),D(pt))};static#t=this.\u0275dir=k({type:e})}return e})(),mr=(()=>{class e extends VC{static#e=this.\u0275fac=function(){let t;return function(o){return(t||(t=Le(e)))(o||e)}}();static#t=this.\u0275dir=k({type:e,features:[ee]})}return e})();const nn=new S("NgValueAccessor"),$F={provide:nn,useExisting:ie(()=>Ui),multi:!0},zF=new S("CompositionEventMode");let Ui=(()=>{class e extends VC{constructor(t,r,o){super(t,r),this._compositionMode=o,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function UF(){const e=Hn()?Hn().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(t){this.setProperty("value",t??"")}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}static#e=this.\u0275fac=function(r){return new(r||e)(D(gn),D(pt),D(zF,8))};static#t=this.\u0275dir=k({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(r,o){1&r&&ge("input",function(s){return o._handleInput(s.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(s){return o._compositionEnd(s.target.value)})},features:[he([$F]),ee]})}return e})();function Un(e){return null==e||("string"==typeof e||Array.isArray(e))&&0===e.length}function BC(e){return null!=e&&"number"==typeof e.length}const $e=new S("NgValidators"),zn=new S("NgAsyncValidators"),GF=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class bn{static min(n){return function HC(e){return n=>{if(Un(n.value)||Un(e))return null;const t=parseFloat(n.value);return!isNaN(t)&&t{if(Un(n.value)||Un(e))return null;const t=parseFloat(n.value);return!isNaN(t)&&t>e?{max:{max:e,actual:n.value}}:null}}(n)}static required(n){return UC(n)}static requiredTrue(n){return function zC(e){return!0===e.value?null:{required:!0}}(n)}static email(n){return GC(n)}static minLength(n){return qC(n)}static maxLength(n){return function WC(e){return n=>BC(n.value)&&n.value.length>e?{maxlength:{requiredLength:e,actualLength:n.value.length}}:null}(n)}static pattern(n){return function ZC(e){if(!e)return du;let n,t;return"string"==typeof e?(t="","^"!==e.charAt(0)&&(t+="^"),t+=e,"$"!==e.charAt(e.length-1)&&(t+="$"),n=new RegExp(t)):(t=e.toString(),n=e),r=>{if(Un(r.value))return null;const o=r.value;return n.test(o)?null:{pattern:{requiredPattern:t,actualValue:o}}}}(n)}static nullValidator(n){return null}static compose(n){return ew(n)}static composeAsync(n){return tw(n)}}function UC(e){return Un(e.value)?{required:!0}:null}function GC(e){return Un(e.value)||GF.test(e.value)?null:{email:!0}}function qC(e){return n=>Un(n.value)||!BC(n.value)?null:n.value.length{n=null!=t?{...n,...t}:n}),0===Object.keys(n).length?null:n}function JC(e,n){return n.map(t=>t(e))}function KC(e){return e.map(n=>function qF(e){return!e.validate}(n)?n:t=>n.validate(t))}function ew(e){if(!e)return null;const n=e.filter(YC);return 0==n.length?null:function(t){return XC(JC(t,n))}}function Sf(e){return null!=e?ew(KC(e)):null}function tw(e){if(!e)return null;const n=e.filter(YC);return 0==n.length?null:function(t){return function BF(...e){const n=qh(e),{args:t,keys:r}=FC(e),o=new De(i=>{const{length:s}=t;if(!s)return void i.complete();const a=new Array(s);let u=s,c=s;for(let l=0;l{d||(d=!0,c--),a[l]=f},()=>u--,void 0,()=>{(!u||!d)&&(c||i.next(r?LC(r,a):a),i.complete())}))}});return n?o.pipe(kC(n)):o}(JC(t,n).map(QC)).pipe(Z(XC))}}function Af(e){return null!=e?tw(KC(e)):null}function nw(e,n){return null===e?[n]:Array.isArray(e)?[...e,n]:[e,n]}function rw(e){return e._rawValidators}function ow(e){return e._rawAsyncValidators}function Tf(e){return e?Array.isArray(e)?e:[e]:[]}function fu(e,n){return Array.isArray(e)?e.includes(n):e===n}function iw(e,n){const t=Tf(n);return Tf(e).forEach(o=>{fu(t,o)||t.push(o)}),t}function sw(e,n){return Tf(n).filter(t=>!fu(e,t))}class aw{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(n){this._rawValidators=n||[],this._composedValidatorFn=Sf(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=Af(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(n){this._onDestroyCallbacks.push(n)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(n=>n()),this._onDestroyCallbacks=[]}reset(n=void 0){this.control&&this.control.reset(n)}hasError(n,t){return!!this.control&&this.control.hasError(n,t)}getError(n,t){return this.control?this.control.getError(n,t):null}}class Xe extends aw{get formDirective(){return null}get path(){return null}}class Gn extends aw{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class uw{constructor(n){this._cd=n}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let Nf=(()=>{class e extends uw{constructor(t){super(t)}static#e=this.\u0275fac=function(r){return new(r||e)(D(Gn,2))};static#t=this.\u0275dir=k({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(r,o){2&r&&Pa("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)},features:[ee]})}return e})(),hu=(()=>{class e extends uw{constructor(t){super(t)}static#e=this.\u0275fac=function(r){return new(r||e)(D(Xe,10))};static#t=this.\u0275dir=k({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(r,o){2&r&&Pa("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)("ng-submitted",o.isSubmitted)},features:[ee]})}return e})();const zi="VALID",gu="INVALID",bo="PENDING",Gi="DISABLED";function Of(e){return(mu(e)?e.validators:e)||null}function Pf(e,n){return(mu(n)?n.asyncValidators:e)||null}function mu(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}class fw{constructor(n,t){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(n),this._assignAsyncValidators(t)}get validator(){return this._composedValidatorFn}set validator(n){this._rawValidators=this._composedValidatorFn=n}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(n){this._rawAsyncValidators=this._composedAsyncValidatorFn=n}get parent(){return this._parent}get valid(){return this.status===zi}get invalid(){return this.status===gu}get pending(){return this.status==bo}get disabled(){return this.status===Gi}get enabled(){return this.status!==Gi}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._assignValidators(n)}setAsyncValidators(n){this._assignAsyncValidators(n)}addValidators(n){this.setValidators(iw(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(iw(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(sw(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(sw(n,this._rawAsyncValidators))}hasValidator(n){return fu(this._rawValidators,n)}hasAsyncValidator(n){return fu(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){this.touched=!0,this._parent&&!n.onlySelf&&this._parent.markAsTouched(n)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(n=>n.markAllAsTouched())}markAsUntouched(n={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(t=>{t.markAsUntouched({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}markAsDirty(n={}){this.pristine=!1,this._parent&&!n.onlySelf&&this._parent.markAsDirty(n)}markAsPristine(n={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(t=>{t.markAsPristine({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}markAsPending(n={}){this.status=bo,!1!==n.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!n.onlySelf&&this._parent.markAsPending(n)}disable(n={}){const t=this._parentMarkedDirty(n.onlySelf);this.status=Gi,this.errors=null,this._forEachChild(r=>{r.disable({...n,onlySelf:!0})}),this._updateValue(),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...n,skipPristineCheck:t}),this._onDisabledChange.forEach(r=>r(!0))}enable(n={}){const t=this._parentMarkedDirty(n.onlySelf);this.status=zi,this._forEachChild(r=>{r.enable({...n,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors({...n,skipPristineCheck:t}),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(n){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===zi||this.status===bo)&&this._runAsyncValidator(n.emitEvent)),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity(n)}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Gi:zi}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n){if(this.asyncValidator){this.status=bo,this._hasOwnPendingAsyncValidator=!0;const t=QC(this.asyncValidator(this));this._asyncValidationSubscription=t.subscribe(r=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(r,{emitEvent:n})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(n,t={}){this.errors=n,this._updateControlsErrors(!1!==t.emitEvent)}get(n){let t=n;return null==t||(Array.isArray(t)||(t=t.split(".")),0===t.length)?null:t.reduce((r,o)=>r&&r._find(o),this)}getError(n,t){const r=t?this.get(t):this;return r&&r.errors?r.errors[n]:null}hasError(n,t){return!!this.getError(n,t)}get root(){let n=this;for(;n._parent;)n=n._parent;return n}_updateControlsErrors(n){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(n)}_initObservables(){this.valueChanges=new ye,this.statusChanges=new ye}_calculateStatus(){return this._allControlsDisabled()?Gi:this.errors?gu:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(bo)?bo:this._anyControlsHaveStatus(gu)?gu:zi}_anyControlsHaveStatus(n){return this._anyControls(t=>t.status===n)}_anyControlsDirty(){return this._anyControls(n=>n.dirty)}_anyControlsTouched(){return this._anyControls(n=>n.touched)}_updatePristine(n={}){this.pristine=!this._anyControlsDirty(),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}_updateTouched(n={}){this.touched=this._anyControlsTouched(),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){mu(n)&&null!=n.updateOn&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){return!n&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(n){return null}_assignValidators(n){this._rawValidators=Array.isArray(n)?n.slice():n,this._composedValidatorFn=function QF(e){return Array.isArray(e)?Sf(e):e||null}(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=function XF(e){return Array.isArray(e)?Af(e):e||null}(this._rawAsyncValidators)}}class qi extends fw{constructor(n,t,r){super(Of(t),Pf(r,t)),this.controls=n,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(n,t){return this.controls[n]?this.controls[n]:(this.controls[n]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}addControl(n,t,r={}){this.registerControl(n,t),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}removeControl(n,t={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}setControl(n,t,r={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],t&&this.registerControl(n,t),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}contains(n){return this.controls.hasOwnProperty(n)&&this.controls[n].enabled}setValue(n,t={}){(function dw(e,n,t){e._forEachChild((r,o)=>{if(void 0===t[o])throw new _(1002,"")})})(this,0,n),Object.keys(n).forEach(r=>{(function lw(e,n,t){const r=e.controls;if(!(n?Object.keys(r):r).length)throw new _(1e3,"");if(!r[t])throw new _(1001,"")})(this,!0,r),this.controls[r].setValue(n[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(n,t={}){null!=n&&(Object.keys(n).forEach(r=>{const o=this.controls[r];o&&o.patchValue(n[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(n={},t={}){this._forEachChild((r,o)=>{r.reset(n?n[o]:null,{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this._reduceChildren({},(n,t,r)=>(n[r]=t.getRawValue(),n))}_syncPendingControls(){let n=this._reduceChildren(!1,(t,r)=>!!r._syncPendingControls()||t);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){Object.keys(this.controls).forEach(t=>{const r=this.controls[t];r&&n(r,t)})}_setUpControls(){this._forEachChild(n=>{n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(n){for(const[t,r]of Object.entries(this.controls))if(this.contains(t)&&n(r))return!0;return!1}_reduceValue(){return this._reduceChildren({},(t,r,o)=>((r.enabled||this.disabled)&&(t[o]=r.value),t))}_reduceChildren(n,t){let r=n;return this._forEachChild((o,i)=>{r=t(r,o,i)}),r}_allControlsDisabled(){for(const n of Object.keys(this.controls))if(this.controls[n].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(n){return this.controls.hasOwnProperty(n)?this.controls[n]:null}}const yr=new S("CallSetDisabledState",{providedIn:"root",factory:()=>Wi}),Wi="always";function Zi(e,n,t=Wi){Ff(e,n),n.valueAccessor.writeValue(e.value),(e.disabled||"always"===t)&&n.valueAccessor.setDisabledState?.(e.disabled),function ek(e,n){n.valueAccessor.registerOnChange(t=>{e._pendingValue=t,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&hw(e,n)})}(e,n),function nk(e,n){const t=(r,o)=>{n.valueAccessor.writeValue(r),o&&n.viewToModelUpdate(r)};e.registerOnChange(t),n._registerOnDestroy(()=>{e._unregisterOnChange(t)})}(e,n),function tk(e,n){n.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&hw(e,n),"submit"!==e.updateOn&&e.markAsTouched()})}(e,n),function KF(e,n){if(n.valueAccessor.setDisabledState){const t=r=>{n.valueAccessor.setDisabledState(r)};e.registerOnDisabledChange(t),n._registerOnDestroy(()=>{e._unregisterOnDisabledChange(t)})}}(e,n)}function vu(e,n,t=!0){const r=()=>{};n.valueAccessor&&(n.valueAccessor.registerOnChange(r),n.valueAccessor.registerOnTouched(r)),_u(e,n),e&&(n._invokeOnDestroyCallbacks(),e._registerOnCollectionChange(()=>{}))}function Du(e,n){e.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(n)})}function Ff(e,n){const t=rw(e);null!==n.validator?e.setValidators(nw(t,n.validator)):"function"==typeof t&&e.setValidators([t]);const r=ow(e);null!==n.asyncValidator?e.setAsyncValidators(nw(r,n.asyncValidator)):"function"==typeof r&&e.setAsyncValidators([r]);const o=()=>e.updateValueAndValidity();Du(n._rawValidators,o),Du(n._rawAsyncValidators,o)}function _u(e,n){let t=!1;if(null!==e){if(null!==n.validator){const o=rw(e);if(Array.isArray(o)&&o.length>0){const i=o.filter(s=>s!==n.validator);i.length!==o.length&&(t=!0,e.setValidators(i))}}if(null!==n.asyncValidator){const o=ow(e);if(Array.isArray(o)&&o.length>0){const i=o.filter(s=>s!==n.asyncValidator);i.length!==o.length&&(t=!0,e.setAsyncValidators(i))}}}const r=()=>{};return Du(n._rawValidators,r),Du(n._rawAsyncValidators,r),t}function hw(e,n){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function pw(e,n){Ff(e,n)}function gw(e,n){e._syncPendingControls(),n.forEach(t=>{const r=t.control;"submit"===r.updateOn&&r._pendingChange&&(t.viewToModelUpdate(r._pendingValue),r._pendingChange=!1)})}const ak={provide:Xe,useExisting:ie(()=>Cu)},Yi=(()=>Promise.resolve())();let Cu=(()=>{class e extends Xe{constructor(t,r,o){super(),this.callSetDisabledState=o,this.submitted=!1,this._directives=new Set,this.ngSubmit=new ye,this.form=new qi({},Sf(t),Af(r))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){Yi.then(()=>{const r=this._findContainer(t.path);t.control=r.registerControl(t.name,t.control),Zi(t.control,t,this.callSetDisabledState),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(t)})}getControl(t){return this.form.get(t.path)}removeControl(t){Yi.then(()=>{const r=this._findContainer(t.path);r&&r.removeControl(t.name),this._directives.delete(t)})}addFormGroup(t){Yi.then(()=>{const r=this._findContainer(t.path),o=new qi({});pw(o,t),r.registerControl(t.name,o),o.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(t){Yi.then(()=>{const r=this._findContainer(t.path);r&&r.removeControl(t.name)})}getFormGroup(t){return this.form.get(t.path)}updateModel(t,r){Yi.then(()=>{this.form.get(t.path).setValue(r)})}setValue(t){this.control.setValue(t)}onSubmit(t){return this.submitted=!0,gw(this.form,this._directives),this.ngSubmit.emit(t),"dialog"===t?.target?.method}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(t){return t.pop(),t.length?this.form.get(t):this.form}static#e=this.\u0275fac=function(r){return new(r||e)(D($e,10),D(zn,10),D(yr,8))};static#t=this.\u0275dir=k({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(r,o){1&r&&ge("submit",function(s){return o.onSubmit(s)})("reset",function(){return o.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[he([ak]),ee]})}return e})();function mw(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}function yw(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}const Ht=class extends fw{constructor(n=null,t,r){super(Of(t),Pf(r,t)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(n),this._setUpdateStrategy(t),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),mu(t)&&(t.nonNullable||t.initialValueIsDefault)&&(this.defaultValue=yw(n)?n.value:n)}setValue(n,t={}){this.value=this._pendingValue=n,this._onChange.length&&!1!==t.emitModelToViewChange&&this._onChange.forEach(r=>r(this.value,!1!==t.emitViewToModelChange)),this.updateValueAndValidity(t)}patchValue(n,t={}){this.setValue(n,t)}reset(n=this.defaultValue,t={}){this._applyFormState(n),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){mw(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){mw(this._onDisabledChange,n)}_forEachChild(n){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(n){yw(n)?(this.value=this._pendingValue=n.value,n.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=n}};let wu=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275dir=k({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}return e})(),Ew=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Ct({type:e});static#n=this.\u0275inj=ct({})}return e})();const jf=new S("NgModelWithFormControlWarning"),mk={provide:Xe,useExisting:ie(()=>Qi)};let Qi=(()=>{class e extends Xe{constructor(t,r,o){super(),this.callSetDisabledState=o,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new ye,this._setValidators(t),this._setAsyncValidators(r)}ngOnChanges(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(_u(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(t){const r=this.form.get(t.path);return Zi(r,t,this.callSetDisabledState),r.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),r}getControl(t){return this.form.get(t.path)}removeControl(t){vu(t.control||null,t,!1),function sk(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}(this.directives,t)}addFormGroup(t){this._setUpFormContainer(t)}removeFormGroup(t){this._cleanUpFormContainer(t)}getFormGroup(t){return this.form.get(t.path)}addFormArray(t){this._setUpFormContainer(t)}removeFormArray(t){this._cleanUpFormContainer(t)}getFormArray(t){return this.form.get(t.path)}updateModel(t,r){this.form.get(t.path).setValue(r)}onSubmit(t){return this.submitted=!0,gw(this.form,this.directives),this.ngSubmit.emit(t),"dialog"===t?.target?.method}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this.submitted=!1}_updateDomValue(){this.directives.forEach(t=>{const r=t.control,o=this.form.get(t.path);r!==o&&(vu(r||null,t),(e=>e instanceof Ht)(o)&&(Zi(o,t,this.callSetDisabledState),t.control=o))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(t){const r=this.form.get(t.path);pw(r,t),r.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(t){if(this.form){const r=this.form.get(t.path);r&&function rk(e,n){return _u(e,n)}(r,t)&&r.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Ff(this.form,this),this._oldForm&&_u(this._oldForm,this)}_checkFormPresent(){}static#e=this.\u0275fac=function(r){return new(r||e)(D($e,10),D(zn,10),D(yr,8))};static#t=this.\u0275dir=k({type:e,selectors:[["","formGroup",""]],hostBindings:function(r,o){1&r&&ge("submit",function(s){return o.onSubmit(s)})("reset",function(){return o.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[he([mk]),ee,Et]})}return e})();const Dk={provide:Gn,useExisting:ie(()=>Eu)};let Eu=(()=>{class e extends Gn{set isDisabled(t){}static#e=this._ngModelWarningSentOnce=!1;constructor(t,r,o,i,s){super(),this._ngModelWarningConfig=s,this._added=!1,this.name=null,this.update=new ye,this._ngModelWarningSent=!1,this._parent=t,this._setValidators(r),this._setAsyncValidators(o),this.valueAccessor=function Vf(e,n){if(!n)return null;let t,r,o;return Array.isArray(n),n.forEach(i=>{i.constructor===Ui?t=i:function ik(e){return Object.getPrototypeOf(e.constructor)===mr}(i)?r=i:o=i}),o||r||t||null}(0,i)}ngOnChanges(t){this._added||this._setUpControl(),function Lf(e,n){if(!e.hasOwnProperty("model"))return!1;const t=e.model;return!!t.isFirstChange()||!Object.is(n,t.currentValue)}(t,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}get path(){return function yu(e,n){return[...n.path,e]}(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}static#t=this.\u0275fac=function(r){return new(r||e)(D(Xe,13),D($e,10),D(zn,10),D(nn,10),D(jf,8))};static#n=this.\u0275dir=k({type:e,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[he([Dk]),ee,Et]})}return e})();let vr=(()=>{class e{constructor(){this._validator=du}ngOnChanges(t){if(this.inputName in t){const r=this.normalizeInput(t[this.inputName].currentValue);this._enabled=this.enabled(r),this._validator=this._enabled?this.createValidator(r):du,this._onChange&&this._onChange()}}validate(t){return this._validator(t)}registerOnValidatorChange(t){this._onChange=t}enabled(t){return null!=t}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275dir=k({type:e,features:[Et]})}return e})();const Ak={provide:$e,useExisting:ie(()=>bu),multi:!0};let bu=(()=>{class e extends vr{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=wo,this.createValidator=t=>UC}enabled(t){return t}static#e=this.\u0275fac=function(){let t;return function(o){return(t||(t=Le(e)))(o||e)}}();static#t=this.\u0275dir=k({type:e,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(r,o){2&r&&Kt("required",o._enabled?"":null)},inputs:{required:"required"},features:[he([Ak]),ee]})}return e})();const Nk={provide:$e,useExisting:ie(()=>zf),multi:!0};let zf=(()=>{class e extends vr{constructor(){super(...arguments),this.inputName="email",this.normalizeInput=wo,this.createValidator=t=>GC}enabled(t){return t}static#e=this.\u0275fac=function(){let t;return function(o){return(t||(t=Le(e)))(o||e)}}();static#t=this.\u0275dir=k({type:e,selectors:[["","email","","formControlName",""],["","email","","formControl",""],["","email","","ngModel",""]],inputs:{email:"email"},features:[he([Nk]),ee]})}return e})();const xk={provide:$e,useExisting:ie(()=>Gf),multi:!0};let Gf=(()=>{class e extends vr{constructor(){super(...arguments),this.inputName="minlength",this.normalizeInput=t=>function Nw(e){return"number"==typeof e?e:parseInt(e,10)}(t),this.createValidator=t=>qC(t)}static#e=this.\u0275fac=function(){let t;return function(o){return(t||(t=Le(e)))(o||e)}}();static#t=this.\u0275dir=k({type:e,selectors:[["","minlength","","formControlName",""],["","minlength","","formControl",""],["","minlength","","ngModel",""]],hostVars:1,hostBindings:function(r,o){2&r&&Kt("minlength",o._enabled?o.minlength:null)},inputs:{minlength:"minlength"},features:[he([xk]),ee]})}return e})(),Lw=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Ct({type:e});static#n=this.\u0275inj=ct({imports:[Ew]})}return e})(),Fk=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:yr,useValue:t.callSetDisabledState??Wi}]}}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Ct({type:e});static#n=this.\u0275inj=ct({imports:[Lw]})}return e})(),kk=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:jf,useValue:t.warnOnNgModelWithFormControl??"always"},{provide:yr,useValue:t.callSetDisabledState??Wi}]}}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Ct({type:e});static#n=this.\u0275inj=ct({imports:[Lw]})}return e})();function In(e){return Ie((n,t)=>{let i,r=null,o=!1;r=n.subscribe(Ee(t,void 0,void 0,s=>{i=st(e(s,In(e)(n))),r?(r.unsubscribe(),r=null,i.subscribe(t)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(t))})}function Ne(e,n,t){const r=ne(e)||n||t?{next:e,error:n,complete:t}:e;return r?Ie((o,i)=>{var s;null===(s=r.subscribe)||void 0===s||s.call(r);let a=!0;o.subscribe(Ee(i,u=>{var c;null===(c=r.next)||void 0===c||c.call(r,u),i.next(u)},()=>{var u;a=!1,null===(u=r.complete)||void 0===u||u.call(r),i.complete()},u=>{var c;a=!1,null===(c=r.error)||void 0===c||c.call(r,u),i.error(u)},()=>{var u,c;a&&(null===(u=r.unsubscribe)||void 0===u||u.call(r)),null===(c=r.finalize)||void 0===c||c.call(r)}))}):Tn}function Dr(e,n){const t=ne(e)?e:()=>e,r=o=>o.error(t());return new De(n?o=>n.schedule(r,0,o):r)}class Lk{constructor(n,t,r,o){this.email=n,this.id=t,this._token=r,this._tokenExpirationDate=o}get token(){return!this._tokenExpirationDate||new Date>this._tokenExpirationDate?null:this._token}}function Io(e,n){return ne(n)?Re(e,n,1):Re(e,1)}function Mn(e,n){return Ie((t,r)=>{let o=0;t.subscribe(Ee(r,i=>e.call(n,i,o++)&&r.next(i)))})}function Xi(e){return Ie((n,t)=>{try{n.subscribe(t)}finally{t.add(e)}})}class Iu{}class Mu{}class rn{constructor(n){this.normalizedNames=new Map,this.lazyUpdate=null,n?"string"==typeof n?this.lazyInit=()=>{this.headers=new Map,n.split("\n").forEach(t=>{const r=t.indexOf(":");if(r>0){const o=t.slice(0,r),i=o.toLowerCase(),s=t.slice(r+1).trim();this.maybeSetNormalizedName(o,i),this.headers.has(i)?this.headers.get(i).push(s):this.headers.set(i,[s])}})}:typeof Headers<"u"&&n instanceof Headers?(this.headers=new Map,n.forEach((t,r)=>{this.setHeaderEntries(r,t)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(n).forEach(([t,r])=>{this.setHeaderEntries(t,r)})}:this.headers=new Map}has(n){return this.init(),this.headers.has(n.toLowerCase())}get(n){this.init();const t=this.headers.get(n.toLowerCase());return t&&t.length>0?t[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(n){return this.init(),this.headers.get(n.toLowerCase())||null}append(n,t){return this.clone({name:n,value:t,op:"a"})}set(n,t){return this.clone({name:n,value:t,op:"s"})}delete(n,t){return this.clone({name:n,value:t,op:"d"})}maybeSetNormalizedName(n,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,n)}init(){this.lazyInit&&(this.lazyInit instanceof rn?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(n=>this.applyUpdate(n)),this.lazyUpdate=null))}copyFrom(n){n.init(),Array.from(n.headers.keys()).forEach(t=>{this.headers.set(t,n.headers.get(t)),this.normalizedNames.set(t,n.normalizedNames.get(t))})}clone(n){const t=new rn;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof rn?this.lazyInit:this,t.lazyUpdate=(this.lazyUpdate||[]).concat([n]),t}applyUpdate(n){const t=n.name.toLowerCase();switch(n.op){case"a":case"s":let r=n.value;if("string"==typeof r&&(r=[r]),0===r.length)return;this.maybeSetNormalizedName(n.name,t);const o=("a"===n.op?this.headers.get(t):void 0)||[];o.push(...r),this.headers.set(t,o);break;case"d":const i=n.value;if(i){let s=this.headers.get(t);if(!s)return;s=s.filter(a=>-1===i.indexOf(a)),0===s.length?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,s)}else this.headers.delete(t),this.normalizedNames.delete(t)}}setHeaderEntries(n,t){const r=(Array.isArray(t)?t:[t]).map(i=>i.toString()),o=n.toLowerCase();this.headers.set(o,r),this.maybeSetNormalizedName(n,o)}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(t=>n(this.normalizedNames.get(t),this.headers.get(t)))}}class Vk{encodeKey(n){return jw(n)}encodeValue(n){return jw(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}}const Bk=/%(\d[a-f0-9])/gi,Hk={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function jw(e){return encodeURIComponent(e).replace(Bk,(n,t)=>Hk[t]??n)}function Su(e){return`${e}`}class qn{constructor(n={}){if(this.updates=null,this.cloneFrom=null,this.encoder=n.encoder||new Vk,n.fromString){if(n.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function jk(e,n){const t=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(o=>{const i=o.indexOf("="),[s,a]=-1==i?[n.decodeKey(o),""]:[n.decodeKey(o.slice(0,i)),n.decodeValue(o.slice(i+1))],u=t.get(s)||[];u.push(a),t.set(s,u)}),t}(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(t=>{const r=n.fromObject[t],o=Array.isArray(r)?r.map(Su):[Su(r)];this.map.set(t,o)})):this.map=null}has(n){return this.init(),this.map.has(n)}get(n){this.init();const t=this.map.get(n);return t?t[0]:null}getAll(n){return this.init(),this.map.get(n)||null}keys(){return this.init(),Array.from(this.map.keys())}append(n,t){return this.clone({param:n,value:t,op:"a"})}appendAll(n){const t=[];return Object.keys(n).forEach(r=>{const o=n[r];Array.isArray(o)?o.forEach(i=>{t.push({param:r,value:i,op:"a"})}):t.push({param:r,value:o,op:"a"})}),this.clone(t)}set(n,t){return this.clone({param:n,value:t,op:"s"})}delete(n,t){return this.clone({param:n,value:t,op:"d"})}toString(){return this.init(),this.keys().map(n=>{const t=this.encoder.encodeKey(n);return this.map.get(n).map(r=>t+"="+this.encoder.encodeValue(r)).join("&")}).filter(n=>""!==n).join("&")}clone(n){const t=new qn({encoder:this.encoder});return t.cloneFrom=this.cloneFrom||this,t.updates=(this.updates||[]).concat(n),t}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(n=>this.map.set(n,this.cloneFrom.map.get(n))),this.updates.forEach(n=>{switch(n.op){case"a":case"s":const t=("a"===n.op?this.map.get(n.param):void 0)||[];t.push(Su(n.value)),this.map.set(n.param,t);break;case"d":if(void 0===n.value){this.map.delete(n.param);break}{let r=this.map.get(n.param)||[];const o=r.indexOf(Su(n.value));-1!==o&&r.splice(o,1),r.length>0?this.map.set(n.param,r):this.map.delete(n.param)}}}),this.cloneFrom=this.updates=null)}}class $k{constructor(){this.map=new Map}set(n,t){return this.map.set(n,t),this}get(n){return this.map.has(n)||this.map.set(n,n.defaultValue()),this.map.get(n)}delete(n){return this.map.delete(n),this}has(n){return this.map.has(n)}keys(){return this.map.keys()}}function Bw(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function Hw(e){return typeof Blob<"u"&&e instanceof Blob}function $w(e){return typeof FormData<"u"&&e instanceof FormData}class Ji{constructor(n,t,r,o){let i;if(this.url=t,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=n.toUpperCase(),function Uk(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||o?(this.body=void 0!==r?r:null,i=o):i=r,i&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params)),this.headers||(this.headers=new rn),this.context||(this.context=new $k),this.params){const s=this.params.toString();if(0===s.length)this.urlWithParams=t;else{const a=t.indexOf("?");this.urlWithParams=t+(-1===a?"?":ad.set(f,n.setHeaders[f]),u)),n.setParams&&(c=Object.keys(n.setParams).reduce((d,f)=>d.set(f,n.setParams[f]),c)),new Ji(t,r,i,{params:c,headers:u,context:l,reportProgress:a,responseType:o,withCredentials:s})}}var Mo=function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e}(Mo||{});class qf{constructor(n,t=200,r="OK"){this.headers=n.headers||new rn,this.status=void 0!==n.status?n.status:t,this.statusText=n.statusText||r,this.url=n.url||null,this.ok=this.status>=200&&this.status<300}}class Wf extends qf{constructor(n={}){super(n),this.type=Mo.ResponseHeader}clone(n={}){return new Wf({headers:n.headers||this.headers,status:void 0!==n.status?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}}class So extends qf{constructor(n={}){super(n),this.type=Mo.Response,this.body=void 0!==n.body?n.body:null}clone(n={}){return new So({body:void 0!==n.body?n.body:this.body,headers:n.headers||this.headers,status:void 0!==n.status?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}}class Uw extends qf{constructor(n){super(n,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${n.url||"(unknown url)"}`:`Http failure response for ${n.url||"(unknown url)"}: ${n.status} ${n.statusText}`,this.error=n.error||null}}function Zf(e,n){return{body:n,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials}}let Yf=(()=>{class e{constructor(t){this.handler=t}request(t,r,o={}){let i;if(t instanceof Ji)i=t;else{let u,c;u=o.headers instanceof rn?o.headers:new rn(o.headers),o.params&&(c=o.params instanceof qn?o.params:new qn({fromObject:o.params})),i=new Ji(t,r,void 0!==o.body?o.body:null,{headers:u,context:o.context,params:c,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials})}const s=R(i).pipe(Io(u=>this.handler.handle(u)));if(t instanceof Ji||"events"===o.observe)return s;const a=s.pipe(Mn(u=>u instanceof So));switch(o.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return a.pipe(Z(u=>{if(null!==u.body&&!(u.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return u.body}));case"blob":return a.pipe(Z(u=>{if(null!==u.body&&!(u.body instanceof Blob))throw new Error("Response is not a Blob.");return u.body}));case"text":return a.pipe(Z(u=>{if(null!==u.body&&"string"!=typeof u.body)throw new Error("Response is not a string.");return u.body}));default:return a.pipe(Z(u=>u.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${o.observe}}`)}}delete(t,r={}){return this.request("DELETE",t,r)}get(t,r={}){return this.request("GET",t,r)}head(t,r={}){return this.request("HEAD",t,r)}jsonp(t,r){return this.request("JSONP",t,{params:(new qn).append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,r={}){return this.request("OPTIONS",t,r)}patch(t,r,o={}){return this.request("PATCH",t,Zf(o,r))}post(t,r,o={}){return this.request("POST",t,Zf(o,r))}put(t,r,o={}){return this.request("PUT",t,Zf(o,r))}static#e=this.\u0275fac=function(r){return new(r||e)(A(Iu))};static#t=this.\u0275prov=T({token:e,factory:e.\u0275fac})}return e})();function qw(e,n){return n(e)}function qk(e,n){return(t,r)=>n.intercept(t,{handle:o=>e(o,r)})}const Zk=new S(""),Ki=new S(""),Ww=new S("");function Yk(){let e=null;return(n,t)=>{null===e&&(e=(I(Zk,{optional:!0})??[]).reduceRight(qk,qw));const r=I(Ua),o=r.add();return e(n,t).pipe(Xi(()=>r.remove(o)))}}let Zw=(()=>{class e extends Iu{constructor(t,r){super(),this.backend=t,this.injector=r,this.chain=null,this.pendingTasks=I(Ua)}handle(t){if(null===this.chain){const o=Array.from(new Set([...this.injector.get(Ki),...this.injector.get(Ww,[])]));this.chain=o.reduceRight((i,s)=>function Wk(e,n,t){return(r,o)=>t.runInContext(()=>n(r,i=>e(i,o)))}(i,s,this.injector),qw)}const r=this.pendingTasks.add();return this.chain(t,o=>this.backend.handle(o)).pipe(Xi(()=>this.pendingTasks.remove(r)))}static#e=this.\u0275fac=function(r){return new(r||e)(A(Mu),A(ht))};static#t=this.\u0275prov=T({token:e,factory:e.\u0275fac})}return e})();const Kk=/^\)\]\}',?\n/;let Qw=(()=>{class e{constructor(t){this.xhrFactory=t}handle(t){if("JSONP"===t.method)throw new _(-2800,!1);const r=this.xhrFactory;return(r.\u0275loadImpl?Me(r.\u0275loadImpl()):R(null)).pipe(Tt(()=>new De(i=>{const s=r.build();if(s.open(t.method,t.urlWithParams),t.withCredentials&&(s.withCredentials=!0),t.headers.forEach((g,y)=>s.setRequestHeader(g,y.join(","))),t.headers.has("Accept")||s.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){const g=t.detectContentTypeHeader();null!==g&&s.setRequestHeader("Content-Type",g)}if(t.responseType){const g=t.responseType.toLowerCase();s.responseType="json"!==g?g:"text"}const a=t.serializeBody();let u=null;const c=()=>{if(null!==u)return u;const g=s.statusText||"OK",y=new rn(s.getAllResponseHeaders()),C=function eL(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(s)||t.url;return u=new Wf({headers:y,status:s.status,statusText:g,url:C}),u},l=()=>{let{headers:g,status:y,statusText:C,url:m}=c(),M=null;204!==y&&(M=typeof s.response>"u"?s.responseText:s.response),0===y&&(y=M?200:0);let N=y>=200&&y<300;if("json"===t.responseType&&"string"==typeof M){const $=M;M=M.replace(Kk,"");try{M=""!==M?JSON.parse(M):null}catch(xe){M=$,N&&(N=!1,M={error:xe,text:M})}}N?(i.next(new So({body:M,headers:g,status:y,statusText:C,url:m||void 0})),i.complete()):i.error(new Uw({error:M,headers:g,status:y,statusText:C,url:m||void 0}))},d=g=>{const{url:y}=c(),C=new Uw({error:g,status:s.status||0,statusText:s.statusText||"Unknown Error",url:y||void 0});i.error(C)};let f=!1;const h=g=>{f||(i.next(c()),f=!0);let y={type:Mo.DownloadProgress,loaded:g.loaded};g.lengthComputable&&(y.total=g.total),"text"===t.responseType&&s.responseText&&(y.partialText=s.responseText),i.next(y)},p=g=>{let y={type:Mo.UploadProgress,loaded:g.loaded};g.lengthComputable&&(y.total=g.total),i.next(y)};return s.addEventListener("load",l),s.addEventListener("error",d),s.addEventListener("timeout",d),s.addEventListener("abort",d),t.reportProgress&&(s.addEventListener("progress",h),null!==a&&s.upload&&s.upload.addEventListener("progress",p)),s.send(a),i.next({type:Mo.Sent}),()=>{s.removeEventListener("error",d),s.removeEventListener("abort",d),s.removeEventListener("load",l),s.removeEventListener("timeout",d),t.reportProgress&&(s.removeEventListener("progress",h),null!==a&&s.upload&&s.upload.removeEventListener("progress",p)),s.readyState!==s.DONE&&s.abort()}})))}static#e=this.\u0275fac=function(r){return new(r||e)(A(hC))};static#t=this.\u0275prov=T({token:e,factory:e.\u0275fac})}return e})();const Qf=new S("XSRF_ENABLED"),Xw=new S("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),Jw=new S("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class Kw{}let rL=(()=>{class e{constructor(t,r,o){this.doc=t,this.platform=r,this.cookieName=o,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=rC(t,this.cookieName),this.lastCookieString=t),this.lastToken}static#e=this.\u0275fac=function(r){return new(r||e)(A(yt),A(ur),A(Xw))};static#t=this.\u0275prov=T({token:e,factory:e.\u0275fac})}return e})();function oL(e,n){const t=e.url.toLowerCase();if(!I(Qf)||"GET"===e.method||"HEAD"===e.method||t.startsWith("http://")||t.startsWith("https://"))return n(e);const r=I(Kw).getToken(),o=I(Jw);return null!=r&&!e.headers.has(o)&&(e=e.clone({headers:e.headers.set(o,r)})),n(e)}var Wn=function(e){return e[e.Interceptors=0]="Interceptors",e[e.LegacyInterceptors=1]="LegacyInterceptors",e[e.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",e[e.NoXsrfProtection=3]="NoXsrfProtection",e[e.JsonpSupport=4]="JsonpSupport",e[e.RequestsMadeViaParent=5]="RequestsMadeViaParent",e[e.Fetch=6]="Fetch",e}(Wn||{});function iL(...e){const n=[Yf,Qw,Zw,{provide:Iu,useExisting:Zw},{provide:Mu,useExisting:Qw},{provide:Ki,useValue:oL,multi:!0},{provide:Qf,useValue:!0},{provide:Kw,useClass:rL}];for(const t of e)n.push(...t.\u0275providers);return function vl(e){return{\u0275providers:e}}(n)}const eE=new S("LEGACY_INTERCEPTOR_FN");function sL(){return function _r(e,n){return{\u0275kind:e,\u0275providers:n}}(Wn.LegacyInterceptors,[{provide:eE,useFactory:Yk},{provide:Ki,useExisting:eE,multi:!0}])}let aL=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Ct({type:e});static#n=this.\u0275inj=ct({providers:[iL(sL())]})}return e})();function Xf(...e){const n=jo(e),t=qh(e),{args:r,keys:o}=FC(e);if(0===r.length)return Me([],n);const i=new De(function pL(e,n,t=Tn){return r=>{tE(n,()=>{const{length:o}=e,i=new Array(o);let s=o,a=o;for(let u=0;u{const c=Me(e[u],n);let l=!1;c.subscribe(Ee(r,d=>{i[u]=d,l||(l=!0,a--),a||r.next(t(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}(r,n,o?s=>LC(o,s):Tn));return t?i.pipe(kC(t)):i}function tE(e,n,t){e?un(t,e,n):n()}const Tu=ko(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function Jf(...e){return function gL(){return Mr(1)}()(Me(e,jo(e)))}function nE(e){return new De(n=>{st(e()).subscribe(n)})}function Kf(){return Ie((e,n)=>{let t=null;e._refCount++;const r=Ee(n,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount)return void(t=null);const o=e._connection,i=t;t=null,o&&(!i||o===i)&&o.unsubscribe(),n.unsubscribe()});e.subscribe(r),r.closed||(t=e.connect())})}class rE extends De{constructor(n,t){super(),this.source=n,this.subjectFactory=t,this._subject=null,this._refCount=0,this._connection=null,xh(n)&&(this.lift=n.lift)}_subscribe(n){return this.getSubject().subscribe(n)}getSubject(){const n=this._subject;return(!n||n.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:n}=this;this._subject=this._connection=null,n?.unsubscribe()}connect(){let n=this._connection;if(!n){n=this._connection=new it;const t=this.getSubject();n.add(this.source.subscribe(Ee(t,void 0,()=>{this._teardown(),t.complete()},r=>{this._teardown(),t.error(r)},()=>this._teardown()))),n.closed&&(this._connection=null,n=it.EMPTY)}return n}refCount(){return Kf()(this)}}function Cr(e){return e<=0?()=>Ut:Ie((n,t)=>{let r=0;n.subscribe(Ee(t,o=>{++r<=e&&(t.next(o),e<=r&&t.complete())}))})}function Nu(e){return Ie((n,t)=>{let r=!1;n.subscribe(Ee(t,o=>{r=!0,t.next(o)},()=>{r||t.next(e),t.complete()}))})}function oE(e=yL){return Ie((n,t)=>{let r=!1;n.subscribe(Ee(t,o=>{r=!0,t.next(o)},()=>r?t.complete():t.error(e())))})}function yL(){return new Tu}function wr(e,n){const t=arguments.length>=2;return r=>r.pipe(e?Mn((o,i)=>e(o,i,r)):Tn,Cr(1),t?Nu(n):oE(()=>new Tu))}function eh(e){return e<=0?()=>Ut:Ie((n,t)=>{let r=[];n.subscribe(Ee(t,o=>{r.push(o),e{for(const o of r)t.next(o);t.complete()},void 0,()=>{r=null}))})}const H="primary",es=Symbol("RouteTitle");class EL{constructor(n){this.params=n||{}}has(n){return Object.prototype.hasOwnProperty.call(this.params,n)}get(n){if(this.has(n)){const t=this.params[n];return Array.isArray(t)?t[0]:t}return null}getAll(n){if(this.has(n)){const t=this.params[n];return Array.isArray(t)?t:[t]}return[]}get keys(){return Object.keys(this.params)}}function Ao(e){return new EL(e)}function bL(e,n,t){const r=t.path.split("/");if(r.length>e.length||"full"===t.pathMatch&&(n.hasChildren()||r.lengthr[i]===o)}return e===n}function sE(e){return e.length>0?e[e.length-1]:null}function Zn(e){return function hL(e){return!!e&&(e instanceof De||ne(e.lift)&&ne(e.subscribe))}(e)?e:Mi(e)?Me(Promise.resolve(e)):R(e)}const ML={exact:function cE(e,n,t){if(!Er(e.segments,n.segments)||!xu(e.segments,n.segments,t)||e.numberOfChildren!==n.numberOfChildren)return!1;for(const r in n.children)if(!e.children[r]||!cE(e.children[r],n.children[r],t))return!1;return!0},subset:lE},aE={exact:function SL(e,n){return on(e,n)},subset:function AL(e,n){return Object.keys(n).length<=Object.keys(e).length&&Object.keys(n).every(t=>iE(e[t],n[t]))},ignored:()=>!0};function uE(e,n,t){return ML[t.paths](e.root,n.root,t.matrixParams)&&aE[t.queryParams](e.queryParams,n.queryParams)&&!("exact"===t.fragment&&e.fragment!==n.fragment)}function lE(e,n,t){return dE(e,n,n.segments,t)}function dE(e,n,t,r){if(e.segments.length>t.length){const o=e.segments.slice(0,t.length);return!(!Er(o,t)||n.hasChildren()||!xu(o,t,r))}if(e.segments.length===t.length){if(!Er(e.segments,t)||!xu(e.segments,t,r))return!1;for(const o in n.children)if(!e.children[o]||!lE(e.children[o],n.children[o],r))return!1;return!0}{const o=t.slice(0,e.segments.length),i=t.slice(e.segments.length);return!!(Er(e.segments,o)&&xu(e.segments,o,r)&&e.children[H])&&dE(e.children[H],n,i,r)}}function xu(e,n,t){return n.every((r,o)=>aE[t](e[o].parameters,r.parameters))}class To{constructor(n=new te([],{}),t={},r=null){this.root=n,this.queryParams=t,this.fragment=r}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Ao(this.queryParams)),this._queryParamMap}toString(){return xL.serialize(this)}}class te{constructor(n,t){this.segments=n,this.children=t,this.parent=null,Object.values(t).forEach(r=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Ru(this)}}class ts{constructor(n,t){this.path=n,this.parameters=t}get parameterMap(){return this._parameterMap||(this._parameterMap=Ao(this.parameters)),this._parameterMap}toString(){return pE(this)}}function Er(e,n){return e.length===n.length&&e.every((t,r)=>t.path===n[r].path)}let ns=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=T({token:e,factory:function(){return new th},providedIn:"root"})}return e})();class th{parse(n){const t=new $L(n);return new To(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}serialize(n){const t=`/${rs(n.root,!0)}`,r=function PL(e){const n=Object.keys(e).map(t=>{const r=e[t];return Array.isArray(r)?r.map(o=>`${Ou(t)}=${Ou(o)}`).join("&"):`${Ou(t)}=${Ou(r)}`}).filter(t=>!!t);return n.length?`?${n.join("&")}`:""}(n.queryParams);return`${t}${r}${"string"==typeof n.fragment?`#${function RL(e){return encodeURI(e)}(n.fragment)}`:""}`}}const xL=new th;function Ru(e){return e.segments.map(n=>pE(n)).join("/")}function rs(e,n){if(!e.hasChildren())return Ru(e);if(n){const t=e.children[H]?rs(e.children[H],!1):"",r=[];return Object.entries(e.children).forEach(([o,i])=>{o!==H&&r.push(`${o}:${rs(i,!1)}`)}),r.length>0?`${t}(${r.join("//")})`:t}{const t=function NL(e,n){let t=[];return Object.entries(e.children).forEach(([r,o])=>{r===H&&(t=t.concat(n(o,r)))}),Object.entries(e.children).forEach(([r,o])=>{r!==H&&(t=t.concat(n(o,r)))}),t}(e,(r,o)=>o===H?[rs(e.children[H],!1)]:[`${o}:${rs(r,!1)}`]);return 1===Object.keys(e.children).length&&null!=e.children[H]?`${Ru(e)}/${t[0]}`:`${Ru(e)}/(${t.join("//")})`}}function fE(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Ou(e){return fE(e).replace(/%3B/gi,";")}function nh(e){return fE(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Pu(e){return decodeURIComponent(e)}function hE(e){return Pu(e.replace(/\+/g,"%20"))}function pE(e){return`${nh(e.path)}${function OL(e){return Object.keys(e).map(n=>`;${nh(n)}=${nh(e[n])}`).join("")}(e.parameters)}`}const FL=/^[^\/()?;#]+/;function rh(e){const n=e.match(FL);return n?n[0]:""}const kL=/^[^\/()?;=#]+/,VL=/^[^=?&#]+/,BL=/^[^&#]+/;class $L{constructor(n){this.url=n,this.remaining=n}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new te([],{}):new te([],this.parseChildren())}parseQueryParams(){const n={};if(this.consumeOptional("?"))do{this.parseQueryParam(n)}while(this.consumeOptional("&"));return n}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const n=[];for(this.peekStartsWith("(")||n.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),n.push(this.parseSegment());let t={};this.peekStartsWith("/(")&&(this.capture("/"),t=this.parseParens(!0));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1)),(n.length>0||Object.keys(t).length>0)&&(r[H]=new te(n,t)),r}parseSegment(){const n=rh(this.remaining);if(""===n&&this.peekStartsWith(";"))throw new _(4009,!1);return this.capture(n),new ts(Pu(n),this.parseMatrixParams())}parseMatrixParams(){const n={};for(;this.consumeOptional(";");)this.parseParam(n);return n}parseParam(n){const t=function LL(e){const n=e.match(kL);return n?n[0]:""}(this.remaining);if(!t)return;this.capture(t);let r="";if(this.consumeOptional("=")){const o=rh(this.remaining);o&&(r=o,this.capture(r))}n[Pu(t)]=Pu(r)}parseQueryParam(n){const t=function jL(e){const n=e.match(VL);return n?n[0]:""}(this.remaining);if(!t)return;this.capture(t);let r="";if(this.consumeOptional("=")){const s=function HL(e){const n=e.match(BL);return n?n[0]:""}(this.remaining);s&&(r=s,this.capture(r))}const o=hE(t),i=hE(r);if(n.hasOwnProperty(o)){let s=n[o];Array.isArray(s)||(s=[s],n[o]=s),s.push(i)}else n[o]=i}parseParens(n){const t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const r=rh(this.remaining),o=this.remaining[r.length];if("/"!==o&&")"!==o&&";"!==o)throw new _(4010,!1);let i;r.indexOf(":")>-1?(i=r.slice(0,r.indexOf(":")),this.capture(i),this.capture(":")):n&&(i=H);const s=this.parseChildren();t[i]=1===Object.keys(s).length?s[H]:new te([],s),this.consumeOptional("//")}return t}peekStartsWith(n){return this.remaining.startsWith(n)}consumeOptional(n){return!!this.peekStartsWith(n)&&(this.remaining=this.remaining.substring(n.length),!0)}capture(n){if(!this.consumeOptional(n))throw new _(4011,!1)}}function gE(e){return e.segments.length>0?new te([],{[H]:e}):e}function mE(e){const n={};for(const r of Object.keys(e.children)){const i=mE(e.children[r]);if(r===H&&0===i.segments.length&&i.hasChildren())for(const[s,a]of Object.entries(i.children))n[s]=a;else(i.segments.length>0||i.hasChildren())&&(n[r]=i)}return function UL(e){if(1===e.numberOfChildren&&e.children[H]){const n=e.children[H];return new te(e.segments.concat(n.segments),n.children)}return e}(new te(e.segments,n))}function br(e){return e instanceof To}function yE(e){let n;const o=gE(function t(i){const s={};for(const u of i.children){const c=t(u);s[u.outlet]=c}const a=new te(i.url,s);return i===e&&(n=a),a}(e.root));return n??o}function vE(e,n,t,r){let o=e;for(;o.parent;)o=o.parent;if(0===n.length)return oh(o,o,o,t,r);const i=function GL(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new _E(!0,0,e);let n=0,t=!1;const r=e.reduce((o,i,s)=>{if("object"==typeof i&&null!=i){if(i.outlets){const a={};return Object.entries(i.outlets).forEach(([u,c])=>{a[u]="string"==typeof c?c.split("/"):c}),[...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?t=!0:".."===a?n++:""!=a&&o.push(a))}),o):[...o,i]},[]);return new _E(t,n,r)}(n);if(i.toRoot())return oh(o,o,new te([],{}),t,r);const s=function qL(e,n,t){if(e.isAbsolute)return new ku(n,!0,0);if(!t)return new ku(n,!1,NaN);if(null===t.parent)return new ku(t,!0,0);const r=Fu(e.commands[0])?0:1;return function WL(e,n,t){let r=e,o=n,i=t;for(;i>o;){if(i-=o,r=r.parent,!r)throw new _(4005,!1);o=r.segments.length}return new ku(r,!1,o-i)}(t,t.segments.length-1+r,e.numberOfDoubleDots)}(i,o,e),a=s.processChildren?is(s.segmentGroup,s.index,i.commands):CE(s.segmentGroup,s.index,i.commands);return oh(o,s.segmentGroup,a,t,r)}function Fu(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function os(e){return"object"==typeof e&&null!=e&&e.outlets}function oh(e,n,t,r,o){let s,i={};r&&Object.entries(r).forEach(([u,c])=>{i[u]=Array.isArray(c)?c.map(l=>`${l}`):`${c}`}),s=e===n?t:DE(e,n,t);const a=gE(mE(s));return new To(a,i,o)}function DE(e,n,t){const r={};return Object.entries(e.children).forEach(([o,i])=>{r[o]=i===n?t:DE(i,n,t)}),new te(e.segments,r)}class _E{constructor(n,t,r){if(this.isAbsolute=n,this.numberOfDoubleDots=t,this.commands=r,n&&r.length>0&&Fu(r[0]))throw new _(4003,!1);const o=r.find(os);if(o&&o!==sE(r))throw new _(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class ku{constructor(n,t,r){this.segmentGroup=n,this.processChildren=t,this.index=r}}function CE(e,n,t){if(e||(e=new te([],{})),0===e.segments.length&&e.hasChildren())return is(e,n,t);const r=function YL(e,n,t){let r=0,o=n;const i={match:!1,pathIndex:0,commandIndex:0};for(;o=t.length)return i;const s=e.segments[o],a=t[r];if(os(a))break;const u=`${a}`,c=r0&&void 0===u)break;if(u&&c&&"object"==typeof c&&void 0===c.outlets){if(!EE(u,c,s))return i;r+=2}else{if(!EE(u,{},s))return i;r++}o++}return{match:!0,pathIndex:o,commandIndex:r}}(e,n,t),o=t.slice(r.commandIndex);if(r.match&&r.pathIndexi!==H)&&e.children[H]&&1===e.numberOfChildren&&0===e.children[H].segments.length){const i=is(e.children[H],n,t);return new te(e.segments,i.children)}return Object.entries(r).forEach(([i,s])=>{"string"==typeof s&&(s=[s]),null!==s&&(o[i]=CE(e.children[i],n,s))}),Object.entries(e.children).forEach(([i,s])=>{void 0===r[i]&&(o[i]=s)}),new te(e.segments,o)}}function ih(e,n,t){const r=e.segments.slice(0,n);let o=0;for(;o{"string"==typeof r&&(r=[r]),null!==r&&(n[t]=ih(new te([],{}),0,r))}),n}function wE(e){const n={};return Object.entries(e).forEach(([t,r])=>n[t]=`${r}`),n}function EE(e,n,t){return e==t.path&&on(n,t.parameters)}const ss="imperative";class sn{constructor(n,t){this.id=n,this.url=t}}class Lu extends sn{constructor(n,t,r="imperative",o=null){super(n,t),this.type=0,this.navigationTrigger=r,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Yn extends sn{constructor(n,t,r){super(n,t),this.urlAfterRedirects=r,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class as extends sn{constructor(n,t,r,o){super(n,t),this.reason=r,this.code=o,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class No extends sn{constructor(n,t,r,o){super(n,t),this.reason=r,this.code=o,this.type=16}}class Vu extends sn{constructor(n,t,r,o){super(n,t),this.error=r,this.target=o,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class bE extends sn{constructor(n,t,r,o){super(n,t),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 XL extends sn{constructor(n,t,r,o){super(n,t),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 JL extends sn{constructor(n,t,r,o,i){super(n,t),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 KL extends sn{constructor(n,t,r,o){super(n,t),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 eV extends sn{constructor(n,t,r,o){super(n,t),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 tV{constructor(n){this.route=n,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class nV{constructor(n){this.route=n,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class rV{constructor(n){this.snapshot=n,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class oV{constructor(n){this.snapshot=n,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class iV{constructor(n){this.snapshot=n,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class sV{constructor(n){this.snapshot=n,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class IE{constructor(n,t,r){this.routerEvent=n,this.position=t,this.anchor=r,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class sh{}class ah{constructor(n){this.url=n}}class aV{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new us,this.attachRef=null}}let us=(()=>{class e{constructor(){this.contexts=new Map}onChildOutletCreated(t,r){const o=this.getOrCreateContext(t);o.outlet=r,this.contexts.set(t,o)}onChildOutletDestroyed(t){const r=this.getContext(t);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){const t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let r=this.getContext(t);return r||(r=new aV,this.contexts.set(t,r)),r}getContext(t){return this.contexts.get(t)||null}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();class ME{constructor(n){this._root=n}get root(){return this._root.value}parent(n){const t=this.pathFromRoot(n);return t.length>1?t[t.length-2]:null}children(n){const t=uh(n,this._root);return t?t.children.map(r=>r.value):[]}firstChild(n){const t=uh(n,this._root);return t&&t.children.length>0?t.children[0].value:null}siblings(n){const t=ch(n,this._root);return t.length<2?[]:t[t.length-2].children.map(o=>o.value).filter(o=>o!==n)}pathFromRoot(n){return ch(n,this._root).map(t=>t.value)}}function uh(e,n){if(e===n.value)return n;for(const t of n.children){const r=uh(e,t);if(r)return r}return null}function ch(e,n){if(e===n.value)return[n];for(const t of n.children){const r=ch(e,t);if(r.length)return r.unshift(n),r}return[]}class Sn{constructor(n,t){this.value=n,this.children=t}toString(){return`TreeNode(${this.value})`}}function xo(e){const n={};return e&&e.children.forEach(t=>n[t.value.outlet]=t),n}class SE extends ME{constructor(n,t){super(n),this.snapshot=t,lh(this,n)}toString(){return this.snapshot.toString()}}function AE(e,n){const t=function uV(e,n){const s=new ju([],{},{},"",{},H,n,null,{});return new NE("",new Sn(s,[]))}(0,n),r=new at([new ts("",{})]),o=new at({}),i=new at({}),s=new at({}),a=new at(""),u=new Qn(r,o,s,a,i,H,n,t.root);return u.snapshot=t.root,new SE(new Sn(u,[]),t)}class Qn{constructor(n,t,r,o,i,s,a,u){this.urlSubject=n,this.paramsSubject=t,this.queryParamsSubject=r,this.fragmentSubject=o,this.dataSubject=i,this.outlet=s,this.component=a,this._futureSnapshot=u,this.title=this.dataSubject?.pipe(Z(c=>c[es]))??R(void 0),this.url=n,this.params=t,this.queryParams=r,this.fragment=o,this.data=i}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(Z(n=>Ao(n)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(Z(n=>Ao(n)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function TE(e,n="emptyOnly"){const t=e.pathFromRoot;let r=0;if("always"!==n)for(r=t.length-1;r>=1;){const o=t[r],i=t[r-1];if(o.routeConfig&&""===o.routeConfig.path)r--;else{if(i.component)break;r--}}return function cV(e){return e.reduce((n,t)=>({params:{...n.params,...t.params},data:{...n.data,...t.data},resolve:{...t.data,...n.resolve,...t.routeConfig?.data,...t._resolvedData}}),{params:{},data:{},resolve:{}})}(t.slice(r))}class ju{get title(){return this.data?.[es]}constructor(n,t,r,o,i,s,a,u,c){this.url=n,this.params=t,this.queryParams=r,this.fragment=o,this.data=i,this.outlet=s,this.component=a,this.routeConfig=u,this._resolve=c}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=Ao(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Ao(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(r=>r.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class NE extends ME{constructor(n,t){super(t),this.url=n,lh(this,t)}toString(){return xE(this._root)}}function lh(e,n){n.value._routerState=e,n.children.forEach(t=>lh(e,t))}function xE(e){const n=e.children.length>0?` { ${e.children.map(xE).join(", ")} } `:"";return`${e.value}${n}`}function dh(e){if(e.snapshot){const n=e.snapshot,t=e._futureSnapshot;e.snapshot=t,on(n.queryParams,t.queryParams)||e.queryParamsSubject.next(t.queryParams),n.fragment!==t.fragment&&e.fragmentSubject.next(t.fragment),on(n.params,t.params)||e.paramsSubject.next(t.params),function IL(e,n){if(e.length!==n.length)return!1;for(let t=0;ton(t.parameters,n[r].parameters))}(e.url,n.url);return t&&!(!e.parent!=!n.parent)&&(!e.parent||fh(e.parent,n.parent))}let hh=(()=>{class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=H,this.activateEvents=new ye,this.deactivateEvents=new ye,this.attachEvents=new ye,this.detachEvents=new ye,this.parentContexts=I(us),this.location=I(Vt),this.changeDetector=I(Wa),this.environmentInjector=I(ht),this.inputBinder=I(Bu,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(t){if(t.name){const{firstChange:r,previousValue:o}=t.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),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(t){return this.parentContexts.getContext(t)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const t=this.parentContexts.getContext(this.name);t?.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new _(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new _(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new _(4012,!1);this.location.detach();const t=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(t.instance),t}attach(t,r){this.activated=t,this._activatedRoute=r,this.location.insert(t.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(t.instance)}deactivate(){if(this.activated){const t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,r){if(this.isActivated)throw new _(4013,!1);this._activatedRoute=t;const o=this.location,s=t.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,u=new lV(t,a,o.injector);this.activated=o.createComponent(s,{index:o.length,injector:u,environmentInjector:r??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275dir=k({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[Et]})}return e})();class lV{constructor(n,t,r){this.route=n,this.childContexts=t,this.parent=r}get(n,t){return n===Qn?this.route:n===us?this.childContexts:this.parent.get(n,t)}}const Bu=new S("");let RE=(()=>{class e{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(t){this.unsubscribeFromRouteData(t),this.subscribeToRouteData(t)}unsubscribeFromRouteData(t){this.outletDataSubscriptions.get(t)?.unsubscribe(),this.outletDataSubscriptions.delete(t)}subscribeToRouteData(t){const{activatedRoute:r}=t,o=Xf([r.queryParams,r.params,r.data]).pipe(Tt(([i,s,a],u)=>(a={...i,...s,...a},0===u?R(a):Promise.resolve(a)))).subscribe(i=>{if(!t.isActivated||!t.activatedComponentRef||t.activatedRoute!==r||null===r.component)return void this.unsubscribeFromRouteData(t);const s=function c1(e){const n=G(e);if(!n)return null;const t=new Ci(n);return{get selector(){return t.selector},get type(){return t.componentType},get inputs(){return t.inputs},get outputs(){return t.outputs},get ngContentSelectors(){return t.ngContentSelectors},get isStandalone(){return n.standalone},get isSignal(){return n.signals}}}(r.component);if(s)for(const{templateName:a}of s.inputs)t.activatedComponentRef.setInput(a,i[a]);else this.unsubscribeFromRouteData(t)});this.outletDataSubscriptions.set(t,o)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=T({token:e,factory:e.\u0275fac})}return e})();function cs(e,n,t){if(t&&e.shouldReuseRoute(n.value,t.value.snapshot)){const r=t.value;r._futureSnapshot=n.value;const o=function fV(e,n,t){return n.children.map(r=>{for(const o of t.children)if(e.shouldReuseRoute(r.value,o.value.snapshot))return cs(e,r,o);return cs(e,r)})}(e,n,t);return new Sn(r,o)}{if(e.shouldAttach(n.value)){const i=e.retrieve(n.value);if(null!==i){const s=i.route;return s.value._futureSnapshot=n.value,s.children=n.children.map(a=>cs(e,a)),s}}const r=function hV(e){return new Qn(new at(e.url),new at(e.params),new at(e.queryParams),new at(e.fragment),new at(e.data),e.outlet,e.component,e)}(n.value),o=n.children.map(i=>cs(e,i));return new Sn(r,o)}}const ph="ngNavigationCancelingError";function OE(e,n){const{redirectTo:t,navigationBehaviorOptions:r}=br(n)?{redirectTo:n,navigationBehaviorOptions:void 0}:n,o=PE(!1,0,n);return o.url=t,o.navigationBehaviorOptions=r,o}function PE(e,n,t){const r=new Error("NavigationCancelingError: "+(e||""));return r[ph]=!0,r.cancellationCode=n,t&&(r.url=t),r}function FE(e){return e&&e[ph]}let kE=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=Gt({type:e,selectors:[["ng-component"]],standalone:!0,features:[yD],decls:1,vars:0,template:function(r,o){1&r&&de(0,"router-outlet")},dependencies:[hh],encapsulation:2})}return e})();function gh(e){const n=e.children&&e.children.map(gh),t=n?{...e,children:n}:{...e};return!t.component&&!t.loadComponent&&(n||t.loadChildren)&&t.outlet&&t.outlet!==H&&(t.component=kE),t}function $t(e){return e.outlet||H}function ls(e){if(!e)return null;if(e.routeConfig?._injector)return e.routeConfig._injector;for(let n=e.parent;n;n=n.parent){const t=n.routeConfig;if(t?._loadedInjector)return t._loadedInjector;if(t?._injector)return t._injector}return null}class CV{constructor(n,t,r,o,i){this.routeReuseStrategy=n,this.futureState=t,this.currState=r,this.forwardEvent=o,this.inputBindingEnabled=i}activate(n){const t=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(t,r,n),dh(this.futureState.root),this.activateChildRoutes(t,r,n)}deactivateChildRoutes(n,t,r){const o=xo(t);n.children.forEach(i=>{const s=i.value.outlet;this.deactivateRoutes(i,o[s],r),delete o[s]}),Object.values(o).forEach(i=>{this.deactivateRouteAndItsChildren(i,r)})}deactivateRoutes(n,t,r){const o=n.value,i=t?t.value:null;if(o===i)if(o.component){const s=r.getContext(o.outlet);s&&this.deactivateChildRoutes(n,t,s.children)}else this.deactivateChildRoutes(n,t,r);else i&&this.deactivateRouteAndItsChildren(t,r)}deactivateRouteAndItsChildren(n,t){n.value.component&&this.routeReuseStrategy.shouldDetach(n.value.snapshot)?this.detachAndStoreRouteSubtree(n,t):this.deactivateRouteAndOutlet(n,t)}detachAndStoreRouteSubtree(n,t){const r=t.getContext(n.value.outlet),o=r&&n.value.component?r.children:t,i=xo(n);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(n.value.snapshot,{componentRef:s,route:n,contexts:a})}}deactivateRouteAndOutlet(n,t){const r=t.getContext(n.value.outlet),o=r&&n.value.component?r.children:t,i=xo(n);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.route=null)}activateChildRoutes(n,t,r){const o=xo(t);n.children.forEach(i=>{this.activateRoutes(i,o[i.value.outlet],r),this.forwardEvent(new sV(i.value.snapshot))}),n.children.length&&this.forwardEvent(new oV(n.value.snapshot))}activateRoutes(n,t,r){const o=n.value,i=t?t.value:null;if(dh(o),o===i)if(o.component){const s=r.getOrCreateContext(o.outlet);this.activateChildRoutes(n,t,s.children)}else this.activateChildRoutes(n,t,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),dh(a.route.value),this.activateChildRoutes(n,null,s.children)}else{const a=ls(o.snapshot);s.attachRef=null,s.route=o,s.injector=a,s.outlet&&s.outlet.activateWith(o,s.injector),this.activateChildRoutes(n,null,s.children)}}else this.activateChildRoutes(n,null,r)}}class LE{constructor(n){this.path=n,this.route=this.path[this.path.length-1]}}class Hu{constructor(n,t){this.component=n,this.route=t}}function wV(e,n,t){const r=e._root;return ds(r,n?n._root:null,t,[r.value])}function Ro(e,n){const t=Symbol(),r=n.get(e,t);return r===t?"function"!=typeof e||function gI(e){return null!==ws(e)}(e)?n.get(e):e:r}function ds(e,n,t,r,o={canDeactivateChecks:[],canActivateChecks:[]}){const i=xo(n);return e.children.forEach(s=>{(function bV(e,n,t,r,o={canDeactivateChecks:[],canActivateChecks:[]}){const i=e.value,s=n?n.value:null,a=t?t.getContext(e.value.outlet):null;if(s&&i.routeConfig===s.routeConfig){const u=function IV(e,n,t){if("function"==typeof t)return t(e,n);switch(t){case"pathParamsChange":return!Er(e.url,n.url);case"pathParamsOrQueryParamsChange":return!Er(e.url,n.url)||!on(e.queryParams,n.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!fh(e,n)||!on(e.queryParams,n.queryParams);default:return!fh(e,n)}}(s,i,i.routeConfig.runGuardsAndResolvers);u?o.canActivateChecks.push(new LE(r)):(i.data=s.data,i._resolvedData=s._resolvedData),ds(e,n,i.component?a?a.children:null:t,r,o),u&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new Hu(a.outlet.component,s))}else s&&fs(n,a,o),o.canActivateChecks.push(new LE(r)),ds(e,null,i.component?a?a.children:null:t,r,o)})(s,i[s.value.outlet],t,r.concat([s.value]),o),delete i[s.value.outlet]}),Object.entries(i).forEach(([s,a])=>fs(a,t.getContext(s),o)),o}function fs(e,n,t){const r=xo(e),o=e.value;Object.entries(r).forEach(([i,s])=>{fs(s,o.component?n?n.children.getContext(i):null:n,t)}),t.canDeactivateChecks.push(new Hu(o.component&&n&&n.outlet&&n.outlet.isActivated?n.outlet.component:null,o))}function hs(e){return"function"==typeof e}function VE(e){return e instanceof Tu||"EmptyError"===e?.name}const $u=Symbol("INITIAL_VALUE");function Oo(){return Tt(e=>Xf(e.map(n=>n.pipe(Cr(1),function mL(...e){const n=jo(e);return Ie((t,r)=>{(n?Jf(e,t,n):Jf(e,t)).subscribe(r)})}($u)))).pipe(Z(n=>{for(const t of n)if(!0!==t){if(t===$u)return $u;if(!1===t||t instanceof To)return t}return!0}),Mn(n=>n!==$u),Cr(1)))}function jE(e){return function yb(...e){return Ah(e)}(Ne(n=>{if(br(n))throw OE(0,n)}),Z(n=>!0===n))}class Uu{constructor(n){this.segmentGroup=n||null}}class BE{constructor(n){this.urlTree=n}}function Po(e){return Dr(new Uu(e))}function HE(e){return Dr(new BE(e))}class GV{constructor(n,t){this.urlSerializer=n,this.urlTree=t}noMatchError(n){return new _(4002,!1)}lineralizeSegments(n,t){let r=[],o=t.root;for(;;){if(r=r.concat(o.segments),0===o.numberOfChildren)return R(r);if(o.numberOfChildren>1||!o.children[H])return Dr(new _(4e3,!1));o=o.children[H]}}applyRedirectCommands(n,t,r){return this.applyRedirectCreateUrlTree(t,this.urlSerializer.parse(t),n,r)}applyRedirectCreateUrlTree(n,t,r,o){const i=this.createSegmentGroup(n,t.root,r,o);return new To(i,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}createQueryParams(n,t){const r={};return Object.entries(n).forEach(([o,i])=>{if("string"==typeof i&&i.startsWith(":")){const a=i.substring(1);r[o]=t[a]}else r[o]=i}),r}createSegmentGroup(n,t,r,o){const i=this.createSegments(n,t.segments,r,o);let s={};return Object.entries(t.children).forEach(([a,u])=>{s[a]=this.createSegmentGroup(n,u,r,o)}),new te(i,s)}createSegments(n,t,r,o){return t.map(i=>i.path.startsWith(":")?this.findPosParam(n,i,o):this.findOrReturn(i,r))}findPosParam(n,t,r){const o=r[t.path.substring(1)];if(!o)throw new _(4001,!1);return o}findOrReturn(n,t){let r=0;for(const o of t){if(o.path===n.path)return t.splice(r),o;r++}return n}}const mh={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function qV(e,n,t,r,o){const i=yh(e,n,t);return i.matched?(r=function gV(e,n){return e.providers&&!e._injector&&(e._injector=Cd(e.providers,n,`Route: ${e.path}`)),e._injector??n}(n,r),function $V(e,n,t,r){const o=n.canMatch;return o&&0!==o.length?R(o.map(s=>{const a=Ro(s,e);return Zn(function xV(e){return e&&hs(e.canMatch)}(a)?a.canMatch(n,t):e.runInContext(()=>a(n,t)))})).pipe(Oo(),jE()):R(!0)}(r,n,t).pipe(Z(s=>!0===s?i:{...mh}))):R(i)}function yh(e,n,t){if(""===n.path)return"full"===n.pathMatch&&(e.hasChildren()||t.length>0)?{...mh}:{matched:!0,consumedSegments:[],remainingSegments:t,parameters:{},positionalParamSegments:{}};const o=(n.matcher||bL)(t,e,n);if(!o)return{...mh};const i={};Object.entries(o.posParams??{}).forEach(([a,u])=>{i[a]=u.path});const s=o.consumed.length>0?{...i,...o.consumed[o.consumed.length-1].parameters}:i;return{matched:!0,consumedSegments:o.consumed,remainingSegments:t.slice(o.consumed.length),parameters:s,positionalParamSegments:o.posParams??{}}}function $E(e,n,t,r){return t.length>0&&function YV(e,n,t){return t.some(r=>zu(e,n,r)&&$t(r)!==H)}(e,t,r)?{segmentGroup:new te(n,ZV(r,new te(t,e.children))),slicedSegments:[]}:0===t.length&&function QV(e,n,t){return t.some(r=>zu(e,n,r))}(e,t,r)?{segmentGroup:new te(e.segments,WV(e,0,t,r,e.children)),slicedSegments:t}:{segmentGroup:new te(e.segments,e.children),slicedSegments:t}}function WV(e,n,t,r,o){const i={};for(const s of r)if(zu(e,t,s)&&!o[$t(s)]){const a=new te([],{});i[$t(s)]=a}return{...o,...i}}function ZV(e,n){const t={};t[H]=n;for(const r of e)if(""===r.path&&$t(r)!==H){const o=new te([],{});t[$t(r)]=o}return t}function zu(e,n,t){return(!(e.hasChildren()||n.length>0)||"full"!==t.pathMatch)&&""===t.path}class e2{constructor(n,t,r,o,i,s,a){this.injector=n,this.configLoader=t,this.rootComponentType=r,this.config=o,this.urlTree=i,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.allowRedirects=!0,this.applyRedirects=new GV(this.urlSerializer,this.urlTree)}noMatchError(n){return new _(4002,!1)}recognize(){const n=$E(this.urlTree.root,[],[],this.config).segmentGroup;return this.processSegmentGroup(this.injector,this.config,n,H).pipe(In(t=>{if(t instanceof BE)return this.allowRedirects=!1,this.urlTree=t.urlTree,this.match(t.urlTree);throw t instanceof Uu?this.noMatchError(t):t}),Z(t=>{const r=new ju([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},H,this.rootComponentType,null,{}),o=new Sn(r,t),i=new NE("",o),s=function zL(e,n,t=null,r=null){return vE(yE(e),n,t,r)}(r,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,i.url=this.urlSerializer.serialize(s),this.inheritParamsAndData(i._root),{state:i,tree:s}}))}match(n){return this.processSegmentGroup(this.injector,this.config,n.root,H).pipe(In(r=>{throw r instanceof Uu?this.noMatchError(r):r}))}inheritParamsAndData(n){const t=n.value,r=TE(t,this.paramsInheritanceStrategy);t.params=Object.freeze(r.params),t.data=Object.freeze(r.data),n.children.forEach(o=>this.inheritParamsAndData(o))}processSegmentGroup(n,t,r,o){return 0===r.segments.length&&r.hasChildren()?this.processChildren(n,t,r):this.processSegment(n,t,r,r.segments,o,!0)}processChildren(n,t,r){const o=[];for(const i of Object.keys(r.children))"primary"===i?o.unshift(i):o.push(i);return Me(o).pipe(Io(i=>{const s=r.children[i],a=function DV(e,n){const t=e.filter(r=>$t(r)===n);return t.push(...e.filter(r=>$t(r)!==n)),t}(t,i);return this.processSegmentGroup(n,a,s,i)}),function DL(e,n){return Ie(function vL(e,n,t,r,o){return(i,s)=>{let a=t,u=n,c=0;i.subscribe(Ee(s,l=>{const d=c++;u=a?e(u,l,d):(a=!0,l),r&&s.next(u)},o&&(()=>{a&&s.next(u),s.complete()})))}}(e,n,arguments.length>=2,!0))}((i,s)=>(i.push(...s),i)),Nu(null),function _L(e,n){const t=arguments.length>=2;return r=>r.pipe(e?Mn((o,i)=>e(o,i,r)):Tn,eh(1),t?Nu(n):oE(()=>new Tu))}(),Re(i=>{if(null===i)return Po(r);const s=UE(i);return function t2(e){e.sort((n,t)=>n.value.outlet===H?-1:t.value.outlet===H?1:n.value.outlet.localeCompare(t.value.outlet))}(s),R(s)}))}processSegment(n,t,r,o,i,s){return Me(t).pipe(Io(a=>this.processSegmentAgainstRoute(a._injector??n,t,a,r,o,i,s).pipe(In(u=>{if(u instanceof Uu)return R(null);throw u}))),wr(a=>!!a),In(a=>{if(VE(a))return function JV(e,n,t){return 0===n.length&&!e.children[t]}(r,o,i)?R([]):Po(r);throw a}))}processSegmentAgainstRoute(n,t,r,o,i,s,a){return function XV(e,n,t,r){return!!($t(e)===r||r!==H&&zu(n,t,e))&&("**"===e.path||yh(n,e,t).matched)}(r,o,i,s)?void 0===r.redirectTo?this.matchSegmentAgainstRoute(n,o,r,i,s,a):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(n,o,t,r,i,s):Po(o):Po(o)}expandSegmentAgainstRouteUsingRedirect(n,t,r,o,i,s){return"**"===o.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(n,r,o,s):this.expandRegularSegmentAgainstRouteUsingRedirect(n,t,r,o,i,s)}expandWildCardWithParamsAgainstRouteUsingRedirect(n,t,r,o){const i=this.applyRedirects.applyRedirectCommands([],r.redirectTo,{});return r.redirectTo.startsWith("/")?HE(i):this.applyRedirects.lineralizeSegments(r,i).pipe(Re(s=>{const a=new te(s,{});return this.processSegment(n,t,a,s,o,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(n,t,r,o,i,s){const{matched:a,consumedSegments:u,remainingSegments:c,positionalParamSegments:l}=yh(t,o,i);if(!a)return Po(t);const d=this.applyRedirects.applyRedirectCommands(u,o.redirectTo,l);return o.redirectTo.startsWith("/")?HE(d):this.applyRedirects.lineralizeSegments(o,d).pipe(Re(f=>this.processSegment(n,r,t,f.concat(c),s,!1)))}matchSegmentAgainstRoute(n,t,r,o,i,s){let a;if("**"===r.path){const u=o.length>0?sE(o).parameters:{};a=R({snapshot:new ju(o,u,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,zE(r),$t(r),r.component??r._loadedComponent??null,r,GE(r)),consumedSegments:[],remainingSegments:[]}),t.children={}}else a=qV(t,r,o,n).pipe(Z(({matched:u,consumedSegments:c,remainingSegments:l,parameters:d})=>u?{snapshot:new ju(c,d,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,zE(r),$t(r),r.component??r._loadedComponent??null,r,GE(r)),consumedSegments:c,remainingSegments:l}:null));return a.pipe(Tt(u=>null===u?Po(t):this.getChildConfig(n=r._injector??n,r,o).pipe(Tt(({routes:c})=>{const l=r._loadedInjector??n,{snapshot:d,consumedSegments:f,remainingSegments:h}=u,{segmentGroup:p,slicedSegments:g}=$E(t,f,h,c);if(0===g.length&&p.hasChildren())return this.processChildren(l,c,p).pipe(Z(C=>null===C?null:[new Sn(d,C)]));if(0===c.length&&0===g.length)return R([new Sn(d,[])]);const y=$t(r)===i;return this.processSegment(l,c,p,g,y?H:i,!0).pipe(Z(C=>[new Sn(d,C)]))}))))}getChildConfig(n,t,r){return t.children?R({routes:t.children,injector:n}):t.loadChildren?void 0!==t._loadedRoutes?R({routes:t._loadedRoutes,injector:t._loadedInjector}):function HV(e,n,t,r){const o=n.canLoad;return void 0===o||0===o.length?R(!0):R(o.map(s=>{const a=Ro(s,e);return Zn(function SV(e){return e&&hs(e.canLoad)}(a)?a.canLoad(n,t):e.runInContext(()=>a(n,t)))})).pipe(Oo(),jE())}(n,t,r).pipe(Re(o=>o?this.configLoader.loadChildren(n,t).pipe(Ne(i=>{t._loadedRoutes=i.routes,t._loadedInjector=i.injector})):function zV(e){return Dr(PE(!1,3))}())):R({routes:[],injector:n})}}function n2(e){const n=e.value.routeConfig;return n&&""===n.path}function UE(e){const n=[],t=new Set;for(const r of e){if(!n2(r)){n.push(r);continue}const o=n.find(i=>r.value.routeConfig===i.value.routeConfig);void 0!==o?(o.children.push(...r.children),t.add(o)):n.push(r)}for(const r of t){const o=UE(r.children);n.push(new Sn(r.value,o))}return n.filter(r=>!t.has(r))}function zE(e){return e.data||{}}function GE(e){return e.resolve||{}}function qE(e){return"string"==typeof e.title||null===e.title}function vh(e){return Tt(n=>{const t=e(n);return t?Me(t).pipe(Z(()=>n)):R(n)})}const Fo=new S("ROUTES");let Dh=(()=>{class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=I(l_)}loadComponent(t){if(this.componentLoaders.get(t))return this.componentLoaders.get(t);if(t._loadedComponent)return R(t._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(t);const r=Zn(t.loadComponent()).pipe(Z(WE),Ne(i=>{this.onLoadEndListener&&this.onLoadEndListener(t),t._loadedComponent=i}),Xi(()=>{this.componentLoaders.delete(t)})),o=new rE(r,()=>new Dt).pipe(Kf());return this.componentLoaders.set(t,o),o}loadChildren(t,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return R({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);const i=function c2(e,n,t,r){return Zn(e.loadChildren()).pipe(Z(WE),Re(o=>o instanceof gD||Array.isArray(o)?R(o):Me(n.compileModuleAsync(o))),Z(o=>{r&&r(e);let i,s,a=!1;return Array.isArray(o)?(s=o,!0):(i=o.create(t).injector,s=i.get(Fo,[],{optional:!0,self:!0}).flat()),{routes:s.map(gh),injector:i}}))}(r,this.compiler,t,this.onLoadEndListener).pipe(Xi(()=>{this.childrenLoaders.delete(r)})),s=new rE(i,()=>new Dt).pipe(Kf());return this.childrenLoaders.set(r,s),s}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function WE(e){return function l2(e){return e&&"object"==typeof e&&"default"in e}(e)?e.default:e}let Gu=(()=>{class e{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new Dt,this.transitionAbortSubject=new Dt,this.configLoader=I(Dh),this.environmentInjector=I(ht),this.urlSerializer=I(ns),this.rootContexts=I(us),this.inputBindingEnabled=null!==I(Bu,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>R(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=o=>this.events.next(new nV(o)),this.configLoader.onLoadStartListener=o=>this.events.next(new tV(o))}complete(){this.transitions?.complete()}handleNavigationRequest(t){const r=++this.navigationId;this.transitions?.next({...this.transitions.value,...t,id:r})}setupNavigations(t,r,o){return this.transitions=new at({id:0,currentUrlTree:r,currentRawUrl:r,currentBrowserUrl:r,extractedUrl:t.urlHandlingStrategy.extract(r),urlAfterRedirects:t.urlHandlingStrategy.extract(r),rawUrl:r,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:ss,restoredState:null,currentSnapshot:o.snapshot,targetSnapshot:null,currentRouterState:o,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(Mn(i=>0!==i.id),Z(i=>({...i,extractedUrl:t.urlHandlingStrategy.extract(i.rawUrl)})),Tt(i=>{this.currentTransition=i;let s=!1,a=!1;return R(i).pipe(Ne(u=>{this.currentNavigation={id:u.id,initialUrl:u.rawUrl,extractedUrl:u.extractedUrl,trigger:u.source,extras:u.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),Tt(u=>{const c=u.currentBrowserUrl.toString(),l=!t.navigated||u.extractedUrl.toString()!==c||c!==u.currentUrlTree.toString();if(!l&&"reload"!==(u.extras.onSameUrlNavigation??t.onSameUrlNavigation)){const f="";return this.events.next(new No(u.id,this.urlSerializer.serialize(u.rawUrl),f,0)),u.resolve(null),Ut}if(t.urlHandlingStrategy.shouldProcessUrl(u.rawUrl))return R(u).pipe(Tt(f=>{const h=this.transitions?.getValue();return this.events.next(new Lu(f.id,this.urlSerializer.serialize(f.extractedUrl),f.source,f.restoredState)),h!==this.transitions?.getValue()?Ut:Promise.resolve(f)}),function r2(e,n,t,r,o,i){return Re(s=>function KV(e,n,t,r,o,i,s="emptyOnly"){return new e2(e,n,t,r,o,s,i).recognize()}(e,n,t,r,s.extractedUrl,o,i).pipe(Z(({state:a,tree:u})=>({...s,targetSnapshot:a,urlAfterRedirects:u}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,t.config,this.urlSerializer,t.paramsInheritanceStrategy),Ne(f=>{i.targetSnapshot=f.targetSnapshot,i.urlAfterRedirects=f.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:f.urlAfterRedirects};const h=new bE(f.id,this.urlSerializer.serialize(f.extractedUrl),this.urlSerializer.serialize(f.urlAfterRedirects),f.targetSnapshot);this.events.next(h)}));if(l&&t.urlHandlingStrategy.shouldProcessUrl(u.currentRawUrl)){const{id:f,extractedUrl:h,source:p,restoredState:g,extras:y}=u,C=new Lu(f,this.urlSerializer.serialize(h),p,g);this.events.next(C);const m=AE(0,this.rootComponentType).snapshot;return this.currentTransition=i={...u,targetSnapshot:m,urlAfterRedirects:h,extras:{...y,skipLocationChange:!1,replaceUrl:!1}},R(i)}{const f="";return this.events.next(new No(u.id,this.urlSerializer.serialize(u.extractedUrl),f,1)),u.resolve(null),Ut}}),Ne(u=>{const c=new XL(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(c)}),Z(u=>(this.currentTransition=i={...u,guards:wV(u.targetSnapshot,u.currentSnapshot,this.rootContexts)},i)),function OV(e,n){return Re(t=>{const{targetSnapshot:r,currentSnapshot:o,guards:{canActivateChecks:i,canDeactivateChecks:s}}=t;return 0===s.length&&0===i.length?R({...t,guardsResult:!0}):function PV(e,n,t,r){return Me(e).pipe(Re(o=>function BV(e,n,t,r,o){const i=n&&n.routeConfig?n.routeConfig.canDeactivate:null;return i&&0!==i.length?R(i.map(a=>{const u=ls(n)??o,c=Ro(a,u);return Zn(function NV(e){return e&&hs(e.canDeactivate)}(c)?c.canDeactivate(e,n,t,r):u.runInContext(()=>c(e,n,t,r))).pipe(wr())})).pipe(Oo()):R(!0)}(o.component,o.route,t,n,r)),wr(o=>!0!==o,!0))}(s,r,o,e).pipe(Re(a=>a&&function MV(e){return"boolean"==typeof e}(a)?function FV(e,n,t,r){return Me(n).pipe(Io(o=>Jf(function LV(e,n){return null!==e&&n&&n(new rV(e)),R(!0)}(o.route.parent,r),function kV(e,n){return null!==e&&n&&n(new iV(e)),R(!0)}(o.route,r),function jV(e,n,t){const r=n[n.length-1],i=n.slice(0,n.length-1).reverse().map(s=>function EV(e){const n=e.routeConfig?e.routeConfig.canActivateChild:null;return n&&0!==n.length?{node:e,guards:n}:null}(s)).filter(s=>null!==s).map(s=>nE(()=>R(s.guards.map(u=>{const c=ls(s.node)??t,l=Ro(u,c);return Zn(function TV(e){return e&&hs(e.canActivateChild)}(l)?l.canActivateChild(r,e):c.runInContext(()=>l(r,e))).pipe(wr())})).pipe(Oo())));return R(i).pipe(Oo())}(e,o.path,t),function VV(e,n,t){const r=n.routeConfig?n.routeConfig.canActivate:null;if(!r||0===r.length)return R(!0);const o=r.map(i=>nE(()=>{const s=ls(n)??t,a=Ro(i,s);return Zn(function AV(e){return e&&hs(e.canActivate)}(a)?a.canActivate(n,e):s.runInContext(()=>a(n,e))).pipe(wr())}));return R(o).pipe(Oo())}(e,o.route,t))),wr(o=>!0!==o,!0))}(r,i,e,n):R(a)),Z(a=>({...t,guardsResult:a})))})}(this.environmentInjector,u=>this.events.next(u)),Ne(u=>{if(i.guardsResult=u.guardsResult,br(u.guardsResult))throw OE(0,u.guardsResult);const c=new JL(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot,!!u.guardsResult);this.events.next(c)}),Mn(u=>!!u.guardsResult||(this.cancelNavigationTransition(u,"",3),!1)),vh(u=>{if(u.guards.canActivateChecks.length)return R(u).pipe(Ne(c=>{const l=new KL(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(l)}),Tt(c=>{let l=!1;return R(c).pipe(function o2(e,n){return Re(t=>{const{targetSnapshot:r,guards:{canActivateChecks:o}}=t;if(!o.length)return R(t);let i=0;return Me(o).pipe(Io(s=>function i2(e,n,t,r){const o=e.routeConfig,i=e._resolve;return void 0!==o?.title&&!qE(o)&&(i[es]=o.title),function s2(e,n,t,r){const o=function a2(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e)]}(e);if(0===o.length)return R({});const i={};return Me(o).pipe(Re(s=>function u2(e,n,t,r){const o=ls(n)??r,i=Ro(e,o);return Zn(i.resolve?i.resolve(n,t):o.runInContext(()=>i(n,t)))}(e[s],n,t,r).pipe(wr(),Ne(a=>{i[s]=a}))),eh(1),function CL(e){return Z(()=>e)}(i),In(s=>VE(s)?Ut:Dr(s)))}(i,e,n,r).pipe(Z(s=>(e._resolvedData=s,e.data=TE(e,t).resolve,o&&qE(o)&&(e.data[es]=o.title),null)))}(s.route,r,e,n)),Ne(()=>i++),eh(1),Re(s=>i===o.length?R(t):Ut))})}(t.paramsInheritanceStrategy,this.environmentInjector),Ne({next:()=>l=!0,complete:()=>{l||this.cancelNavigationTransition(c,"",2)}}))}),Ne(c=>{const l=new eV(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(l)}))}),vh(u=>{const c=l=>{const d=[];l.routeConfig?.loadComponent&&!l.routeConfig._loadedComponent&&d.push(this.configLoader.loadComponent(l.routeConfig).pipe(Ne(f=>{l.component=f}),Z(()=>{})));for(const f of l.children)d.push(...c(f));return d};return Xf(c(u.targetSnapshot.root)).pipe(Nu(),Cr(1))}),vh(()=>this.afterPreactivation()),Z(u=>{const c=function dV(e,n,t){const r=cs(e,n._root,t?t._root:void 0);return new SE(r,n)}(t.routeReuseStrategy,u.targetSnapshot,u.currentRouterState);return this.currentTransition=i={...u,targetRouterState:c},i}),Ne(()=>{this.events.next(new sh)}),((e,n,t,r)=>Z(o=>(new CV(n,o.targetRouterState,o.currentRouterState,t,r).activate(e),o)))(this.rootContexts,t.routeReuseStrategy,u=>this.events.next(u),this.inputBindingEnabled),Cr(1),Ne({next:u=>{s=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Yn(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects))),t.titleStrategy?.updateTitle(u.targetRouterState.snapshot),u.resolve(!0)},complete:()=>{s=!0}}),function wL(e){return Ie((n,t)=>{st(e).subscribe(Ee(t,()=>t.complete(),Yu)),!t.closed&&n.subscribe(t)})}(this.transitionAbortSubject.pipe(Ne(u=>{throw u}))),Xi(()=>{s||a||this.cancelNavigationTransition(i,"",1),this.currentNavigation?.id===i.id&&(this.currentNavigation=null)}),In(u=>{if(a=!0,FE(u))this.events.next(new as(i.id,this.urlSerializer.serialize(i.extractedUrl),u.message,u.cancellationCode)),function pV(e){return FE(e)&&br(e.url)}(u)?this.events.next(new ah(u.url)):i.resolve(!1);else{this.events.next(new Vu(i.id,this.urlSerializer.serialize(i.extractedUrl),u,i.targetSnapshot??void 0));try{i.resolve(t.errorHandler(u))}catch(c){i.reject(c)}}return Ut}))}))}cancelNavigationTransition(t,r,o){const i=new as(t.id,this.urlSerializer.serialize(t.extractedUrl),r,o);this.events.next(i),t.resolve(!1)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function ZE(e){return e!==ss}let YE=(()=>{class e{buildTitle(t){let r,o=t.root;for(;void 0!==o;)r=this.getResolvedTitleForRoute(o)??r,o=o.children.find(i=>i.outlet===H);return r}getResolvedTitleForRoute(t){return t.data[es]}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=T({token:e,factory:function(){return I(d2)},providedIn:"root"})}return e})(),d2=(()=>{class e extends YE{constructor(t){super(),this.title=t}updateTitle(t){const r=this.buildTitle(t);void 0!==r&&this.title.setTitle(r)}static#e=this.\u0275fac=function(r){return new(r||e)(A(xC))};static#t=this.\u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),f2=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=T({token:e,factory:function(){return I(p2)},providedIn:"root"})}return e})();class h2{shouldDetach(n){return!1}store(n,t){}shouldAttach(n){return!1}retrieve(n){return null}shouldReuseRoute(n,t){return n.routeConfig===t.routeConfig}}let p2=(()=>{class e extends h2{static#e=this.\u0275fac=function(){let t;return function(o){return(t||(t=Le(e)))(o||e)}}();static#t=this.\u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const qu=new S("",{providedIn:"root",factory:()=>({})});let g2=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=T({token:e,factory:function(){return I(m2)},providedIn:"root"})}return e})(),m2=(()=>{class e{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,r){return t}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var ps=function(e){return e[e.COMPLETE=0]="COMPLETE",e[e.FAILED=1]="FAILED",e[e.REDIRECTING=2]="REDIRECTING",e}(ps||{});function QE(e,n){e.events.pipe(Mn(t=>t instanceof Yn||t instanceof as||t instanceof Vu||t instanceof No),Z(t=>t instanceof Yn||t instanceof No?ps.COMPLETE:t instanceof as&&(0===t.code||1===t.code)?ps.REDIRECTING:ps.FAILED),Mn(t=>t!==ps.REDIRECTING),Cr(1)).subscribe(()=>{n()})}function y2(e){throw e}function v2(e,n,t){return n.parse("/")}const D2={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},_2={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Ve=(()=>{class e{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.location.getState()?.\u0275routerPageId??this.currentPageId}get events(){return this._events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=I(c_),this.isNgZoneEnabled=!1,this._events=new Dt,this.options=I(qu,{optional:!0})||{},this.pendingTasks=I(Ua),this.errorHandler=this.options.errorHandler||y2,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||v2,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=I(g2),this.routeReuseStrategy=I(f2),this.titleStrategy=I(YE),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=I(Fo,{optional:!0})?.flat()??[],this.navigationTransitions=I(Gu),this.urlSerializer=I(ns),this.location=I(ef),this.componentInputBindingEnabled=!!I(Bu,{optional:!0}),this.eventsSubscription=new it,this.isNgZoneEnabled=I(ue)instanceof ue&&ue.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new To,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=AE(0,null),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe(t=>{this.lastSuccessfulId=t.id,this.currentPageId=this.browserPageId},t=>{this.console.warn(`Unhandled Navigation Error: ${t}`)}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const t=this.navigationTransitions.events.subscribe(r=>{try{const{currentTransition:o}=this.navigationTransitions;if(null===o)return void(XE(r)&&this._events.next(r));if(r instanceof Lu)ZE(o.source)&&(this.browserUrlTree=o.extractedUrl);else if(r instanceof No)this.rawUrlTree=o.rawUrl;else if(r instanceof bE){if("eager"===this.urlUpdateStrategy){if(!o.extras.skipLocationChange){const i=this.urlHandlingStrategy.merge(o.urlAfterRedirects,o.rawUrl);this.setBrowserUrl(i,o)}this.browserUrlTree=o.urlAfterRedirects}}else if(r instanceof sh)this.currentUrlTree=o.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(o.urlAfterRedirects,o.rawUrl),this.routerState=o.targetRouterState,"deferred"===this.urlUpdateStrategy&&(o.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,o),this.browserUrlTree=o.urlAfterRedirects);else if(r instanceof as)0!==r.code&&1!==r.code&&(this.navigated=!0),(3===r.code||2===r.code)&&this.restoreHistory(o);else if(r instanceof ah){const i=this.urlHandlingStrategy.merge(r.url,o.currentRawUrl),s={skipLocationChange:o.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||ZE(o.source)};this.scheduleNavigation(i,ss,null,s,{resolve:o.resolve,reject:o.reject,promise:o.promise})}r instanceof Vu&&this.restoreHistory(o,!0),r instanceof Yn&&(this.navigated=!0),XE(r)&&this._events.next(r)}catch(o){this.navigationTransitions.transitionAbortSubject.next(o)}});this.eventsSubscription.add(t)}resetRootComponentType(t){this.routerState.root.component=t,this.navigationTransitions.rootComponentType=t}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){const t=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),ss,t)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(t=>{const r="popstate"===t.type?"popstate":"hashchange";"popstate"===r&&setTimeout(()=>{this.navigateToSyncWithBrowser(t.url,r,t.state)},0)}))}navigateToSyncWithBrowser(t,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(t);this.scheduleNavigation(a,r,s,i)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(t){this.config=t.map(gh),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,this.eventsSubscription.unsubscribe()}createUrlTree(t,r={}){const{relativeTo:o,queryParams:i,fragment:s,queryParamsHandling:a,preserveFragment:u}=r,c=u?this.currentUrlTree.fragment:s;let d,l=null;switch(a){case"merge":l={...this.currentUrlTree.queryParams,...i};break;case"preserve":l=this.currentUrlTree.queryParams;break;default:l=i||null}null!==l&&(l=this.removeEmptyProps(l));try{d=yE(o?o.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof t[0]||!t[0].startsWith("/"))&&(t=[]),d=this.currentUrlTree.root}return vE(d,t,l,c??null)}navigateByUrl(t,r={skipLocationChange:!1}){const o=br(t)?t:this.parseUrl(t),i=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(i,ss,null,r)}navigate(t,r={skipLocationChange:!1}){return function C2(e){for(let n=0;n{const i=t[o];return null!=i&&(r[o]=i),r},{})}scheduleNavigation(t,r,o,i,s){if(this.disposed)return Promise.resolve(!1);let a,u,c;s?(a=s.resolve,u=s.reject,c=s.promise):c=new Promise((d,f)=>{a=d,u=f});const l=this.pendingTasks.add();return QE(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(l))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,currentBrowserUrl:this.browserUrlTree,rawUrl:t,extras:i,resolve:a,reject:u,promise:c,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),c.catch(d=>Promise.reject(d))}setBrowserUrl(t,r){const o=this.urlSerializer.serialize(t);if(this.location.isCurrentPathEqualTo(o)||r.extras.replaceUrl){const s={...r.extras.state,...this.generateNgRouterState(r.id,this.browserPageId)};this.location.replaceState(o,"",s)}else{const i={...r.extras.state,...this.generateNgRouterState(r.id,this.browserPageId+1)};this.location.go(o,"",i)}}restoreHistory(t,r=!1){if("computed"===this.canceledNavigationResolution){const i=this.currentPageId-this.browserPageId;0!==i?this.location.historyGo(i):this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===i&&(this.resetState(t),this.browserUrlTree=t.currentUrlTree,this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(r&&this.resetState(t),this.resetUrlToCurrentUrlTree())}resetState(t){this.routerState=t.currentRouterState,this.currentUrlTree=t.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(t,r){return"computed"===this.canceledNavigationResolution?{navigationId:t,\u0275routerPageId:r}:{navigationId:t}}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function XE(e){return!(e instanceof sh||e instanceof ah)}let gs=(()=>{class e{constructor(t,r,o,i,s,a){this.router=t,this.route=r,this.tabIndexAttribute=o,this.renderer=i,this.el=s,this.locationStrategy=a,this.href=null,this.commands=null,this.onChanges=new Dt,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const u=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===u||"area"===u,this.isAnchorElement?this.subscription=t.events.subscribe(c=>{c instanceof Yn&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(t){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",t)}ngOnChanges(t){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(t){null!=t?(this.commands=Array.isArray(t)?t:[t],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(t,r,o,i,s){return!!(null===this.urlTree||this.isAnchorElement&&(0!==t||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 t=null===this.href?null:function mm(e,n,t){return function wS(e,n){return"src"===n&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===n&&("base"===e||"link"===e)?gm:pm}(n,t)(e)}(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",t)}applyAttributeValue(t,r){const o=this.renderer,i=this.el.nativeElement;null!==r?o.setAttribute(i,t,r):o.removeAttribute(i,t)}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})}static#e=this.\u0275fac=function(r){return new(r||e)(D(Ve),D(Qn),function Us(e){return function HM(e,n){if("class"===n)return e.classes;if("style"===n)return e.styles;const t=e.attrs;if(t){const r=t.length;let o=0;for(;o{class e{get isActive(){return this._isActive}constructor(t,r,o,i,s){this.router=t,this.element=r,this.renderer=o,this.cdr=i,this.link=s,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new ye,this.routerEventsSubscription=t.events.subscribe(a=>{a instanceof Yn&&this.update()})}ngAfterContentInit(){R(this.links.changes,R(null)).pipe(Mr()).subscribe(t=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const t=[...this.links.toArray(),this.link].filter(r=>!!r).map(r=>r.onChanges);this.linkInputChangesSubscription=Me(t).pipe(Mr()).subscribe(r=>{this._isActive!==this.isLinkActive(this.router)(r)&&this.update()})}set routerLinkActive(t){const r=Array.isArray(t)?t:t.split(" ");this.classes=r.filter(o=>!!o)}ngOnChanges(t){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{const t=this.hasActiveLinks();this._isActive!==t&&(this._isActive=t,this.cdr.markForCheck(),this.classes.forEach(r=>{t?this.renderer.addClass(this.element.nativeElement,r):this.renderer.removeClass(this.element.nativeElement,r)}),t&&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(t))})}isLinkActive(t){const r=function w2(e){return!!e.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return o=>!!o.urlTree&&t.isActive(o.urlTree,r)}hasActiveLinks(){const t=this.isLinkActive(this.router);return this.link&&t(this.link)||this.links.some(t)}static#e=this.\u0275fac=function(r){return new(r||e)(D(Ve),D(pt),D(gn),D(Wa),D(gs,8))};static#t=this.\u0275dir=k({type:e,selectors:[["","routerLinkActive",""]],contentQueries:function(r,o,i){if(1&r&&$D(i,gs,5),2&r){let s;HD(s=function UD(){return function RR(e,n){return e[qt].queries[n].queryList}(v(),Kp())}())&&(o.links=s)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[Et]})}return e})();class KE{}let E2=(()=>{class e{constructor(t,r,o,i,s){this.router=t,this.injector=o,this.preloadingStrategy=i,this.loader=s}setUpPreloading(){this.subscription=this.router.events.pipe(Mn(t=>t instanceof Yn),Io(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(t,r){const o=[];for(const i of r){i.providers&&!i._injector&&(i._injector=Cd(i.providers,t,`Route: ${i.path}`));const s=i._injector??t,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 Me(o).pipe(Mr())}preloadConfig(t,r){return this.preloadingStrategy.preload(r,()=>{let o;o=r.loadChildren&&void 0===r.canLoad?this.loader.loadChildren(t,r):R(null);const i=o.pipe(Re(s=>null===s?R(void 0):(r._loadedRoutes=s.routes,r._loadedInjector=s.injector,this.processRoutes(s.injector??t,s.routes))));return r.loadComponent&&!r._loadedComponent?Me([i,this.loader.loadComponent(r)]).pipe(Mr()):i})}static#e=this.\u0275fac=function(r){return new(r||e)(A(Ve),A(l_),A(ht),A(KE),A(Dh))};static#t=this.\u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const _h=new S("");let eb=(()=>{class e{constructor(t,r,o,i,s={}){this.urlSerializer=t,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(t=>{t instanceof Lu?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof Yn?(this.lastId=t.id,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.urlAfterRedirects).fragment)):t instanceof No&&0===t.code&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(t=>{t instanceof IE&&(t.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(t.position):t.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(t.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(t,r){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new IE(t,"popstate"===this.lastSource?this.store[this.restoredId]:null,r))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static#e=this.\u0275fac=function(r){!function ny(){throw new Error("invalid")}()};static#t=this.\u0275prov=T({token:e,factory:e.\u0275fac})}return e})();function An(e,n){return{\u0275kind:e,\u0275providers:n}}function nb(){const e=I(gt);return n=>{const t=e.get(Co);if(n!==t.components[0])return;const r=e.get(Ve),o=e.get(rb);1===e.get(Ch)&&r.initialNavigation(),e.get(ob,null,U.Optional)?.setUpPreloading(),e.get(_h,null,U.Optional)?.init(),r.resetRootComponentType(t.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}const rb=new S("",{factory:()=>new Dt}),Ch=new S("",{providedIn:"root",factory:()=>1}),ob=new S("");function S2(e){return An(0,[{provide:ob,useExisting:E2},{provide:KE,useExisting:e}])}const ib=new S("ROUTER_FORROOT_GUARD"),T2=[ef,{provide:ns,useClass:th},Ve,us,{provide:Qn,useFactory:function tb(e){return e.routerState.root},deps:[Ve]},Dh,[]];function N2(){return new y_("Router",Ve)}let sb=(()=>{class e{constructor(t){}static forRoot(t,r){return{ngModule:e,providers:[T2,[],{provide:Fo,multi:!0,useValue:t},{provide:ib,useFactory:P2,deps:[[Ve,new qs,new Ws]]},{provide:qu,useValue:r||{}},r?.useHash?{provide:gr,useClass:p1}:{provide:gr,useClass:W_},{provide:_h,useFactory:()=>{const e=I(OP),n=I(ue),t=I(qu),r=I(Gu),o=I(ns);return t.scrollOffset&&e.setOffset(t.scrollOffset),new eb(o,r,e,n,t)}},r?.preloadingStrategy?S2(r.preloadingStrategy).\u0275providers:[],{provide:y_,multi:!0,useFactory:N2},r?.initialNavigation?F2(r):[],r?.bindToComponentInputs?An(8,[RE,{provide:Bu,useExisting:RE}]).\u0275providers:[],[{provide:ab,useFactory:nb},{provide:zd,multi:!0,useExisting:ab}]]}}static forChild(t){return{ngModule:e,providers:[{provide:Fo,multi:!0,useValue:t}]}}static#e=this.\u0275fac=function(r){return new(r||e)(A(ib,8))};static#t=this.\u0275mod=Ct({type:e});static#n=this.\u0275inj=ct({})}return e})();function P2(e){return"guarded"}function F2(e){return["disabled"===e.initialNavigation?An(3,[{provide:kd,multi:!0,useFactory:()=>{const n=I(Ve);return()=>{n.setUpLocationChangeListener()}}},{provide:Ch,useValue:2}]).\u0275providers:[],"enabledBlocking"===e.initialNavigation?An(2,[{provide:Ch,useValue:0},{provide:kd,multi:!0,deps:[gt],useFactory:n=>{const t=n.get(f1,Promise.resolve());return()=>t.then(()=>new Promise(r=>{const o=n.get(Ve),i=n.get(rb);QE(o,()=>{r(!0)}),n.get(Gu).afterPreactivation=()=>(r(!0),i.closed?R(void 0):i),o.initialNavigation()}))}}]).\u0275providers:[]]}const ab=new S("");let Wu=(()=>{class e{constructor(t,r){this.http=t,this.router=r,this.user=new at(null)}signUp(t){return this.http.post("https://identitytoolkit.googleapis.com/v1/accounts:signUp?key=AIzaSyDLr0H-x0hQvgh3FpWcMy6YWbEUap76aOY",{email:t.email,password:t.password,returnSecureToken:!0}).pipe(In(this.handleError),Ne(r=>{this.handleAuthentication(r.email,r.localId,r.idToken,+r.expiresIn)}))}login(t){return this.http.post("https://identitytoolkit.googleapis.com/v1/accounts:signInWithPassword?key=AIzaSyDLr0H-x0hQvgh3FpWcMy6YWbEUap76aOY",{email:t.email,password:t.password,returnSecureToken:!0}).pipe(In(this.handleError),Ne(r=>{this.handleAuthentication(r.email,r.localId,r.idToken,+r.expiresIn)}))}autoLogin(){let t=localStorage.getItem("userData");if(t){const r=JSON.parse(t);r&&(this.user.next(r),this.router.navigate(["/event"]))}else this.router.navigate(["/home"])}logOut(){this.user.next(null),this.router.navigate(["auth"]),localStorage.removeItem("userData")}logout(){this.user.next(null),this.router.navigate(["/auth"]),localStorage.removeItem("userData"),this.tokenExpirationTimer&&clearTimeout(this.tokenExpirationTimer),this.tokenExpirationTimer=null}autoLogout(t){this.tokenExpirationTimer=setTimeout(()=>{this.logout()},t)}handleAuthentication(t,r,o,i){const s=new Date((new Date).getTime()+1e3*i),a=new Lk(t,r,o,s);this.user.next(a),this.autoLogout(1e3*i),localStorage.setItem("userData",JSON.stringify(a))}handleError(t){let r="An unknown error occur";if(!t.error||!t.error.error)return Dr(r);switch(t.error.error.message){case"EMAIL_EXIST":r="This email exists already";break;case"EMAIL_NOT_FOUND":r="This email doesnot exist";break;case"INVALID_PASSWORD":r="Oops!.. Wrong password";break;case"INVALID_LOGIN_CREDENTIALS":r="Invalid login credentials";break;case"ADMIN_ONLY_OPERATION":r="Please use provided creds"}return Dr(r)}static#e=this.\u0275fac=function(r){return new(r||e)(A(Yf),A(Ve))};static#t=this.\u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const L2=function(){return["/event"]};function V2(e,n){if(1&e){const t=lr();b(0,"ul",6)(1,"li",7)(2,"a",8)(3,"p",9),x(4,"Create Event"),w()()(),b(5,"li",7)(6,"a",10)(7,"p",9),x(8,"View Events"),w()()(),b(9,"li")(10,"button",11),ge("click",function(){return nr(t),rr(Mt().logOut())}),de(11,"i",12),w()()()}2&e&&(W(6),re("routerLink",function bD(e,n,t){const r=Ge()+e,o=v();return o[r]===j?Jt(o,r,t?n.call(t):n()):function wi(e,n){return e[n]}(o,r)}(1,L2)))}function j2(e,n){if(1&e){const t=lr();b(0,"div")(1,"button",13),ge("click",function(){return nr(t),rr(Mt().login())}),x(2,"Login"),w()()}}let B2=(()=>{class e{constructor(t,r){this.authService=t,this.router=r,this.isAuthenticated=!1}ngOnInit(){this.authService.user.subscribe(t=>{this.isAuthenticated=!!t})}logOut(){this.authService.logOut()}login(){this.router.navigate(["auth"])}home(){this.router.navigate(["home"])}static#e=this.\u0275fac=function(r){return new(r||e)(D(Wu),D(Ve))};static#t=this.\u0275cmp=Gt({type:e,selectors:[["app-header"]],decls:7,vars:2,consts:[[1,"navbar","sticky-top","navbar-light","p-3",2,"background-color","#98a9d1"],[1,"container-fluid"],[1,"navbar-header"],[1,"brand",2,"cursor","pointer",3,"click"],["class","nav",4,"ngIf"],[4,"ngIf"],[1,"nav"],["role","button","routerLinkActive","active",1,"nav-item"],["routerLink","/create"],[1,"m-2"],[1,"d-flex","flex-row",3,"routerLink"],[1,"btn","btn-tertiary","user-icon",3,"click"],[1,"bi","bi-box-arrow-right"],[1,"btn","btn-tertiary",3,"click"]],template:function(r,o){1&r&&(b(0,"nav",0)(1,"div",1)(2,"div",2)(3,"span",3),ge("click",function(){return o.home()}),x(4,"Event Management System"),w()(),Pt(5,V2,12,2,"ul",4),Pt(6,j2,3,0,"div",5),w()()),2&r&&(W(5),re("ngIf",o.isAuthenticated),W(1),re("ngIf",!o.isAuthenticated))},dependencies:[Bi,gs,JE],styles:[".user-icon[_ngcontent-%COMP%]{font-size:20px}.brand[_ngcontent-%COMP%]{font-size:25px}p[_ngcontent-%COMP%]{font-size:18px}a[_ngcontent-%COMP%]{text-decoration:none}"]})}return e})(),H2=(()=>{class e{constructor(t){this.authService=t}ngOnInit(){this.authService.autoLogin()}static#e=this.\u0275fac=function(r){return new(r||e)(D(Wu))};static#t=this.\u0275cmp=Gt({type:e,selectors:[["app-root"]],decls:2,vars:0,template:function(r,o){1&r&&de(0,"app-header")(1,"router-outlet")},dependencies:[hh,B2]})}return e})(),ub=(()=>{class e{constructor(t){this.http=t,this.partyDetailsSubject=new Dt,this.partyDetails=[]}storeData(){this.http.put("https://event-management-81f60-default-rtdb.asia-southeast1.firebasedatabase.app/party.json",this.partyDetails).subscribe(r=>{})}fetchData(){this.http.get("https://event-management-81f60-default-rtdb.asia-southeast1.firebasedatabase.app/party.json").subscribe(t=>{t&&(this.partyDetails=t,this.partyDetailsSubject.next(this.partyDetails))})}getPartyDetails(){return 0===this.partyDetails.length&&this.fetchData(),[...this.partyDetails]}createPartyDetails(t){return this.partyDetails.push(t),this.partyDetailsSubject.next(this.partyDetails),this.storeData(),!0}updatePartyDetails(t){this.partyDetails=this.partyDetails.filter(r=>r.id!==t.id),this.partyDetails.push(t),this.partyDetailsSubject.next(this.partyDetails),this.storeData()}deletePartyDetails(t){this.partyDetails=this.partyDetails.filter(r=>r.id!==t.id),this.partyDetailsSubject.next(this.partyDetails),this.storeData()}getPartyDetailById(t){return this.partyDetails.filter(r=>r.id===t)}search(t){const r=this.partyDetails.filter(o=>Object.values(o).join(";").toLocaleLowerCase().includes(t));this.partyDetailsSubject.next(r)}static#e=this.\u0275fac=function(r){return new(r||e)(A(Yf))};static#t=this.\u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function $2(e,n){1&e&&(b(0,"button",23),x(1,"Create Event"),w()),2&e&&re("disabled",!Mt().partyForm.valid)}function U2(e,n){if(1&e){const t=lr();b(0,"button",24),ge("click",function(){return nr(t),rr(Mt().onNavigate())}),x(1,"Back"),w()}}function z2(e,n){if(1&e){const t=lr();b(0,"button",25),ge("click",function(){return nr(t),rr(Mt().onUpdatePartyDetails())}),x(1,"Update Event Details"),w()}2&e&&re("disabled",!Mt().partyForm.valid)}function G2(e,n){if(1&e){const t=lr();b(0,"button",26),ge("click",function(){return nr(t),rr(Mt().onDeletePartyDetails())}),x(1,"Are you sure you want to delete"),w()}}let wh=(()=>{class e{constructor(t,r,o){this.datastoreService=t,this.route=r,this.router=o,this.mode="create"}ngOnInit(){this.partyForm=new qi({id:new Ht(""),fullName:new Ht("",{validators:[bn.required]}),address:new Ht("",{validators:[bn.required]}),mobileNo:new Ht("",{validators:[bn.required,bn.pattern(/^(\+91[\-\s]?)?[0]?(91)?[789]\d{9}$/)]}),description:new Ht(""),date:new Ht("",{validators:[bn.required]}),time:new Ht("",{validators:[bn.required]})}),this.routeSubs=this.route.params.subscribe(t=>{this.mode=this.checkModes(this.router.url),this.openFormInModes(t.id)})}getTodaysDate(){return(new Date).toISOString().slice(0,10)}getCurrentTime(){const t=new Date;return t.getHours()+":"+t.getMinutes()}checkModes(t){return t.includes("edit")?"edit":t.includes("delete")?"delete":"create"}openFormInModes(t){const r=this.datastoreService.getPartyDetailById(t);this.partyForm.patchValue(r[0])}getRandomNumber(){return Math.floor(1e10*Math.random()).toString()}onCreatePartyDetails(){if(this.partyForm.valid){const t=this.partyForm.getRawValue();t.id=this.getRandomNumber(),this.datastoreService.createPartyDetails(t)&&(this.partyForm.reset(),this.router.navigate(["/event"]))}}onUpdatePartyDetails(){if(this.partyForm.dirty){const t=this.partyForm.getRawValue();this.datastoreService.updatePartyDetails(t),this.router.navigate(["/event"])}}onDeletePartyDetails(){const t=this.partyForm.getRawValue();this.datastoreService.deletePartyDetails(t),this.router.navigate(["/event"])}onNavigate(){this.router.navigate(["/event"])}ngOnDestroy(){this.routeSubs.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||e)(D(ub),D(Qn),D(Ve))};static#t=this.\u0275cmp=Gt({type:e,selectors:[["app-create-party"]],decls:41,vars:13,consts:[[1,"form-container"],[1,"container","d-flex","align-items-center","justify-content-center","h-100"],[1,"border","border-1","p-4","rounded-3","bg-white","bg-opacity-50",2,"backdrop-filter","blur(50px)",3,"formGroup","submit"],[1,"d-flex","justify-content-center","p-3",2,"font-size","40px"],[1,"flex-column"],[1,"form-group","col-md-12","my-3","d-flex","flex-row"],["for","fullName",2,"width","300px","align-self","center"],["type","text","id","fullName","placeholder","FirstName LastName","formControlName","fullName",1,"form-control",3,"readOnly"],["for","address",2,"width","300px","align-self","center"],["type","text","id","address","placeholder","apartNo, street name, street number, city, state, pincode","formControlName","address",1,"form-control",3,"readOnly"],["for","mobileno",2,"width","300px","align-self","center"],["type","text","id","mobileno","placeholder","10 digit mobile number.","formControlName","mobileNo",1,"form-control",3,"readOnly"],["for","description",2,"width","300px","align-self","center"],["type","text","id","description","placeholder","Enter description","formControlName","description",1,"form-control",3,"readOnly"],["for","date",2,"width","300px","align-self","center"],["type","date","id","date","placeholder","Enter Event date","formControlName","date",1,"form-control",3,"min","readOnly"],["for","time",2,"width","300px","align-self","center"],["type","time","name","time","id","time","placeholder","Time","formControlName","time",1,"form-control",3,"min","readOnly"],[1,"d-flex","justify-content-center","align-items-center","my-5"],["type","submit","class","btn btn-primary",3,"disabled",4,"ngIf"],["type","button","class","btn btn-primary",3,"click",4,"ngIf"],["type","button","class","btn btn-primary",3,"disabled","click",4,"ngIf"],["type","button","class","btn btn-danger",3,"click",4,"ngIf"],["type","submit",1,"btn","btn-primary",3,"disabled"],["type","button",1,"btn","btn-primary",3,"click"],["type","button",1,"btn","btn-primary",3,"disabled","click"],["type","button",1,"btn","btn-danger",3,"click"]],template:function(r,o){1&r&&(b(0,"div",0)(1,"div",1)(2,"form",2),ge("submit",function(){return o.onCreatePartyDetails()}),b(3,"div",3),x(4," Form "),w(),b(5,"div",4)(6,"div",5)(7,"label",6),x(8,"Full Name"),w(),de(9,"input",7),w(),b(10,"div",5)(11,"label",8),x(12,"Address"),w(),de(13,"input",9),w(),b(14,"div",5)(15,"label",10),x(16,"Mobile No."),w(),de(17,"input",11),w(),b(18,"div",5)(19,"label",12),x(20,"Description"),w(),de(21,"input",13),w(),b(22,"div",5)(23,"label",14),x(24,"Date"),w(),de(25,"input",15),w(),b(26,"div",5)(27,"label",16),x(28,"Time"),w(),de(29,"input",17),w()(),b(30,"div",18),Pt(31,$2,2,1,"button",19),b(32,"span"),x(33,"\xa0"),w(),Pt(34,U2,2,0,"button",20),b(35,"span"),x(36,"\xa0"),w(),Pt(37,z2,2,1,"button",21),b(38,"span"),x(39,"\xa0"),w(),Pt(40,G2,2,0,"button",22),w()()()()),2&r&&(W(2),re("formGroup",o.partyForm),W(7),re("readOnly","delete"===o.mode),W(4),re("readOnly","delete"===o.mode),W(4),re("readOnly","delete"===o.mode),W(4),re("readOnly","delete"===o.mode),W(4),re("min",o.getTodaysDate())("readOnly","delete"===o.mode),W(4),re("min",o.getCurrentTime())("readOnly","delete"===o.mode),W(2),re("ngIf","create"===o.mode),W(3),re("ngIf","edit"===o.mode||"delete"===o.mode),W(3),re("ngIf","edit"===o.mode),W(3),re("ngIf","delete"===o.mode))},dependencies:[Bi,wu,Ui,Nf,hu,Qi,Eu],styles:["input.ng-invalid.ng-touched[_ngcontent-%COMP%], textarea.ng-invalid.ng-touched[_ngcontent-%COMP%]{border:1px solid red}.form-container[_ngcontent-%COMP%]{width:100vw;height:calc(100vh - 77px);background-image:url(https://images.pexels.com/photos/341858/pexels-photo-341858.jpeg?auto=compress&cs=tinysrgb&w=600);background-repeat:no-repeat;background-size:cover}"]})}return e})();const q2=function(e){return[e,"edit"]},W2=function(e){return[e,"delete"]};function Z2(e,n){if(1&e&&(b(0,"tr")(1,"th",12),x(2),w(),b(3,"td",13),x(4),w(),b(5,"td",14),x(6),w(),b(7,"td",13),x(8),w(),b(9,"td",13),x(10),w(),b(11,"td",13),x(12),w(),b(13,"td",13),x(14),w(),b(15,"td")(16,"div",15),de(17,"button",16),b(18,"ul",17)(19,"li")(20,"a",18),x(21,"Update"),w()(),b(22,"li")(23,"a",18),x(24,"Delete"),w()()()()()()),2&e){const t=n.$implicit,r=n.index,o=Mt();W(2),Lt(o.startIndex+r+1),W(2),Lt(t.fullName),W(2),Lt(t.address),W(2),Lt(t.mobileNo),W(2),Lt(t.description),W(2),Lt(t.date),W(2),Lt(t.time),W(6),re("routerLink",Ed(9,q2,t.id)),W(3),re("routerLink",Ed(11,W2,t.id))}}function Y2(e,n){if(1&e){const t=lr();b(0,"button",20),ge("click",function(){const i=nr(t).$implicit;return rr(Mt(2).addPagination(i))}),x(1),w()}if(2&e){const t=n.$implicit;W(1),Lt(t)}}function Q2(e,n){if(1&e&&(xa(0),Pt(1,Y2,2,1,"button",19),Ra()),2&e){const t=Mt();W(1),re("ngForOf",t.noOfPages)}}let X2=(()=>{class e{constructor(t){this.dataStoreService=t,this.parties=[],this.partiesPagination=[],this.page=0,this.noOfPages=[],this.recordsPerPage=5,this.startIndex=0}ngOnInit(){this.dataSubscription=this.dataStoreService.partyDetailsSubject.subscribe(t=>{this.parties=t,this.addPagination(1)}),this.parties=this.dataStoreService.getPartyDetails(),this.addPagination(1)}addPagination(t){this.noOfPages=Array.from({length:Math.ceil(this.parties.length/this.recordsPerPage)},(i,s)=>s+1);let r=(t-1)*this.recordsPerPage,o=r+this.recordsPerPage;this.startIndex=r,this.partiesPagination=this.parties.slice(r,o)}onSearch(t){this.dataStoreService.search(t.target.value)}ngOnDestroy(){this.dataSubscription.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||e)(D(ub))};static#t=this.\u0275cmp=Gt({type:e,selectors:[["app-party-details"]],decls:28,vars:2,consts:[[1,"main-box"],[1,"box"],[1,"d-flex","justify-content-center"],[1,"form-group","col-md-4","my-2","d-flex","flex-row"],["type","text","id","search","placeholder","search",1,"form-control",3,"input"],[1,"table",2,"height","300px","margin-bottom","0px","background-color","white"],["scope","col",2,"max-width","10px"],["scope","col",2,"max-width","50px"],["scope","col",2,"max-width","80px"],[4,"ngFor","ngForOf"],[1,"box","d-flex","flex-row","justify-content-center",2,"height","55px"],[4,"ngIf"],["scope","row",2,"max-width","10px"],[2,"max-width","50px"],[2,"max-width","80px"],[1,"dropdown"],["type","button","data-bs-toggle","dropdown",1,"btn","btn-secondary","dropdown-toggle"],[1,"dropdown-menu"],[1,"dropdown-item",3,"routerLink"],["class","btn btn-tertiary p-2",3,"click",4,"ngFor","ngForOf"],[1,"btn","btn-tertiary","p-2",3,"click"]],template:function(r,o){1&r&&(b(0,"div",0)(1,"div",1)(2,"form",2)(3,"div",3)(4,"input",4),ge("input",function(s){return o.onSearch(s)}),w()()()(),b(5,"table",5)(6,"thead")(7,"tr")(8,"th",6),x(9,"Sr No"),w(),b(10,"th",7),x(11,"Full Name"),w(),b(12,"th",8),x(13,"Address"),w(),b(14,"th",7),x(15,"Mobile Number"),w(),b(16,"th",7),x(17,"Description"),w(),b(18,"th",7),x(19,"Event Date"),w(),b(20,"th",7),x(21,"Time"),w(),b(22,"th",7),x(23,"Action"),w()()(),b(24,"tbody"),Pt(25,Z2,25,13,"tr",9),w()(),b(26,"div",10),Pt(27,Q2,2,1,"ng-container",11),w()()),2&r&&(W(25),re("ngForOf",o.partiesPagination),W(2),re("ngIf",o.noOfPages.length>1))},dependencies:[sC,Bi,wu,hu,Cu,gs],styles:[".main-box[_ngcontent-%COMP%]{width:100vw;height:calc(100vh - 77px);background-image:url(https://images.pexels.com/photos/341858/pexels-photo-341858.jpeg?auto=compress&cs=tinysrgb&w=600);background-repeat:no-repeat;background-size:cover}.box[_ngcontent-%COMP%]{width:100%;padding:5px;border:1px solid black;background-color:#d0efff}.cell-width-50[_ngcontent-%COMP%]{max-width:50px}.cell-width-80[_ngcontent-%COMP%]{max-width:80px}"]})}return e})(),J2=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=Gt({type:e,selectors:[["app-view-cards"]],decls:47,vars:0,consts:[["id","team",1,"pb-5"],[1,"container"],[1,"section-title","h1"],[1,"row"],[1,"col-xs-12","col-sm-6","col-md-4"],[1,"image-flip"],[1,"mainflip","flip-0"],[1,"frontside"],[1,"card"],[1,"card-body","text-center","d-flex","flex-column","justify-content-center","align-items-center"],[1,"card-title"],[1,"card-text"],[1,"backside"],[1,"card-body","text-center","mt-4","overflow-hidden",2,"height","312px"],["src","https://images.pexels.com/photos/226718/pexels-photo-226718.jpeg?auto=compress&cs=tinysrgb&w=600",1,"img-fluid"],["ontouchstart","this.classList.toggle('hover');",1,"image-flip"],[1,"mainflip"],["src","https://images.pexels.com/photos/2735037/pexels-photo-2735037.jpeg?auto=compress&cs=tinysrgb&w=600",1,"img-fluid"],["src","https://images.pexels.com/photos/889545/pexels-photo-889545.jpeg?auto=compress&cs=tinysrgb&w=600",1,"img-fluid"]],template:function(r,o){1&r&&(b(0,"section",0)(1,"div",1)(2,"h5",2),x(3,"OUR RESPONSIBILITY"),w(),b(4,"div",3)(5,"div",4)(6,"div",5)(7,"div",6)(8,"div",7)(9,"div",8)(10,"div",9)(11,"h4",10),x(12,"BirthDay Events"),w(),b(13,"p",11),x(14,"We made birthday special."),w()()()(),b(15,"div",12)(16,"div",8)(17,"div",13),de(18,"img",14),w()()()()()(),b(19,"div",4)(20,"div",15)(21,"div",16)(22,"div",7)(23,"div",8)(24,"div",9)(25,"h4",10),x(26,"Office Events"),w(),b(27,"p",11),x(28,"We made Office Events collaborative."),w()()()(),b(29,"div",12)(30,"div",8)(31,"div",13),de(32,"img",17),w()()()()()(),b(33,"div",4)(34,"div",15)(35,"div",16)(36,"div",7)(37,"div",8)(38,"div",9)(39,"h4",10),x(40,"Holi Events"),w(),b(41,"p",11),x(42,"We made Holi colorful."),w()()()(),b(43,"div",12)(44,"div",8)(45,"div",13),de(46,"img",18),w()()()()()()()()())},styles:['@import"https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css";#team[_ngcontent-%COMP%]{background:#eee!important}.btn-primary[_ngcontent-%COMP%]:hover, .btn-primary[_ngcontent-%COMP%]:focus{background-color:#108d6f;border-color:#108d6f;box-shadow:none;outline:none}.btn-primary[_ngcontent-%COMP%]{color:#fff;background-color:#007b5e;border-color:#007b5e}section[_ngcontent-%COMP%]{padding:60px 0}section[_ngcontent-%COMP%] .section-title[_ngcontent-%COMP%]{text-align:center;color:#007b5e;margin-bottom:50px;text-transform:uppercase}#team[_ngcontent-%COMP%] .card[_ngcontent-%COMP%]{border:none;background:#ffffff}.image-flip[_ngcontent-%COMP%]:hover .backside[_ngcontent-%COMP%], .image-flip.hover[_ngcontent-%COMP%] .backside[_ngcontent-%COMP%]{transform:rotateY(0);border-radius:.25rem}.image-flip[_ngcontent-%COMP%]:hover .frontside[_ngcontent-%COMP%], .image-flip.hover[_ngcontent-%COMP%] .frontside[_ngcontent-%COMP%]{transform:rotateY(180deg)}.mainflip[_ngcontent-%COMP%]{-webkit-transition:1s;-webkit-transform-style:preserve-3d;-ms-transition:1s;-moz-transition:1s;-moz-transform:perspective(1000px);-moz-transform-style:preserve-3d;-ms-transform-style:preserve-3d;transition:1s;transform-style:preserve-3d;position:relative}.frontside[_ngcontent-%COMP%]{position:relative;-webkit-transform:rotateY(0deg);-ms-transform:rotateY(0deg);z-index:2;margin-bottom:30px}.backside[_ngcontent-%COMP%]{position:absolute;top:0;left:0;background:white;transform:rotateY(-180deg);box-shadow:5px 7px 9px -4px #9e9e9e}.frontside[_ngcontent-%COMP%], .backside[_ngcontent-%COMP%]{backface-visibility:hidden;-webkit-transition:1s;-webkit-transform-style:preserve-3d;-moz-transition:1s;-moz-transform-style:preserve-3d;-o-transition:1s;-o-transform-style:preserve-3d;-ms-transition:1s;-ms-transform-style:preserve-3d;transition:1s;transform-style:preserve-3d}.frontside[_ngcontent-%COMP%] .card[_ngcontent-%COMP%], .backside[_ngcontent-%COMP%] .card[_ngcontent-%COMP%]{min-height:312px}.backside[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{font-size:18px;color:#007b5e!important}.frontside[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .card-title[_ngcontent-%COMP%], .backside[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .card-title[_ngcontent-%COMP%]{color:#007b5e!important}.frontside[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .card-body[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:120px;height:120px;border-radius:50%}']})}return e})(),K2=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=Gt({type:e,selectors:[["app-contact"]],decls:10,vars:0,consts:[[1,"container","d-flex","justify-content-center","align-items-center"],[1,"align-center","p-3"],[1,"d-flex","flex-column","align-center"],[1,"d-flex","align-items-center","justify-content-center"],["href","https://www.linkedin.com/in/mayuresh-takawane/","target","_blank",1,"m-2",2,"text-decoration","none"],[1,"bi","bi-linkedin","footer-icons"],["href","https://github.com/mayur8485","target","_blank",1,"m-2",2,"text-decoration","none"],[1,"bi","bi-github","footer-icons"]],template:function(r,o){1&r&&(b(0,"footer",0)(1,"div",1)(2,"div",2)(3,"h3"),x(4,"Mayuresh Takawane"),w(),b(5,"div",3)(6,"a",4),de(7,"i",5),w(),b(8,"a",6),de(9,"i",7),w()()()()())}})}return e})(),ej=(()=>{class e{constructor(){this.index=0,this.imageUrl=["https://images.pexels.com/photos/1190298/pexels-photo-1190298.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1","https://images.pexels.com/photos/1105666/pexels-photo-1105666.jpeg","https://images.pexels.com/photos/1071883/pexels-photo-1071883.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1","https://images.pexels.com/photos/332688/pexels-photo-332688.jpeg?auto=compress&cs=tinysrgb&w=600","https://images.pexels.com/photos/1243337/pexels-photo-1243337.jpeg?auto=compress&cs=tinysrgb&w=600"]}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=Gt({type:e,selectors:[["app-homepage"]],decls:14,vars:0,consts:[["id","carouselExampleInterval","data-bs-ride","carousel",1,"carousel","slide"],[1,"carousel-inner"],["data-bs-interval","2000",1,"carousel-item","active"],["src","https://images.pexels.com/photos/1190298/pexels-photo-1190298.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1","alt","party1",1,"d-block","w-100"],["data-bs-interval","2000",1,"carousel-item"],["src","https://images.pexels.com/photos/1105666/pexels-photo-1105666.jpeg","alt","party2",1,"d-block","w-100"],["src","https://images.pexels.com/photos/796607/pexels-photo-796607.jpeg?auto=compress&cs=tinysrgb&w=600","alt","party3",1,"d-block","w-100"],["src","https://images.pexels.com/photos/1684187/pexels-photo-1684187.jpeg?auto=compress&cs=tinysrgb&w=600","alt","party4",1,"d-block","w-100"],["src","https://images.pexels.com/photos/1243337/pexels-photo-1243337.jpeg?auto=compress&cs=tinysrgb&w=600","alt","party5",1,"d-block","w-100"]],template:function(r,o){1&r&&(b(0,"div",0)(1,"div",1)(2,"div",2),de(3,"img",3),w(),b(4,"div",4),de(5,"img",5),w(),b(6,"div",4),de(7,"img",6),w(),b(8,"div",4),de(9,"img",7),w(),b(10,"div",4),de(11,"img",8),w()()(),de(12,"app-view-cards")(13,"app-contact"))},dependencies:[J2,K2],styles:["img[_ngcontent-%COMP%]{height:calc(100vh - 180px);width:100%}.blur[_ngcontent-%COMP%]{filter:blur(5px)}"]})}return e})(),Zu=(()=>{class e{constructor(t,r){this.authService=t,this.router=r}canActivate(t,r){return this.authService.user.pipe(Cr(1),Z(o=>!!o||this.router.createUrlTree(["/auth"])))}static#e=this.\u0275fac=function(r){return new(r||e)(A(Wu),A(Ve))};static#t=this.\u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function tj(e,n){if(1&e&&(b(0,"p",15),x(1),w()),2&e){const t=Mt();W(1),Lt(t.errorMessage)}}const nj=[{path:"",redirectTo:"/home",pathMatch:"full"},{path:"home",component:ej,pathMatch:"full"},{path:"auth",component:(()=>{class e{constructor(t,r,o){this.authService=t,this.route=r,this.router=o,this.errorMessage=""}ngOnInit(){this.authForm=new qi({email:new Ht("",{validators:[bn.email]}),password:new Ht("",{validators:[bn.minLength(6),bn.pattern(/^(?=.*[0-9])(?=.*[a-z])(?=.*[A-Z])(?=.*\W)(?!.* ).{8,16}$/)]})})}signIn(){if(this.authForm.valid){const t=this.authForm.getRawValue();let r;r=this.authService.login(t),r.subscribe(o=>{o&&this.router.navigate(["/event"])},o=>{this.errorMessage=o})}}signUp(){if(this.authForm.valid){const t=this.authForm.getRawValue();let r;r=this.authService.signUp(t),r.subscribe(o=>{o&&this.router.navigate(["/event"])},o=>{this.errorMessage=o})}}static#e=this.\u0275fac=function(r){return new(r||e)(D(Wu),D(Qn),D(Ve))};static#t=this.\u0275cmp=Gt({type:e,selectors:[["app-auth"]],decls:25,vars:4,consts:[[1,"box","d-flex","justify-content-center","align-items-center"],[1,"container"],[1,"row","d-flex","justify-content-center","m-3"],[1,"cols-xs-12","col-md-4","col-md-offset-3","p-3","loginForm"],[3,"formGroup"],[1,"form-group","py-2","m-2"],["for","email",1,"my-2"],["type","email","id","email","required","","email","","formControlName","email",1,"form-control"],["for","password",1,"my-2"],["type","password","id","password","name","password","required","","minlength","6","formControlName","password",1,"form-control"],[1,"d-flex","justify-content-center","align-items-center"],[2,"font-size","12px"],["style","color: red;",4,"ngIf"],[1,"py-5","d-flex","justify-content-around"],["type","button",1,"btn","btn-primary","px-3",3,"disabled","click"],[2,"color","red"]],template:function(r,o){1&r&&(b(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"form",4)(5,"div",5)(6,"label",6),x(7,"Email"),w(),de(8,"input",7),w(),b(9,"div",5)(10,"label",8),x(11,"Password"),w(),de(12,"input",9),w(),b(13,"div",10)(14,"p",11),x(15,"Password shoul have 1 Special, 1 Capital& Min 8 Char "),w()(),b(16,"div",10),Pt(17,tj,2,1,"p",12),w(),b(18,"div",13)(19,"button",14),ge("click",function(){return o.signIn()}),x(20,"Log In"),w(),b(21,"span"),x(22,"\xa0"),w(),b(23,"button",14),ge("click",function(){return o.signUp()}),x(24,"Sign Up"),w()()()()()()()),2&r&&(W(4),re("formGroup",o.authForm),W(13),re("ngIf",o.errorMessage),W(2),re("disabled",!o.authForm.valid),W(4),re("disabled",!o.authForm.valid))},dependencies:[Bi,wu,Ui,Nf,hu,bu,Gf,zf,Qi,Eu],styles:[".box[_ngcontent-%COMP%]{width:100%;height:calc(100vh - 71px);position:relative;background-image:url(https://images.pexels.com/photos/796605/pexels-photo-796605.jpeg?auto=compress&cs=tinysrgb&w=600);background-repeat:no-repeat;background-size:cover}.blur[_ngcontent-%COMP%]{filter:blur(5px);width:100%;height:100%;position:absolute}.container[_ngcontent-%COMP%]{position:absolute}.loginForm[_ngcontent-%COMP%]{background-color:#fff;border-radius:10px}"]})}return e})()},{path:"create",component:wh,canActivate:[Zu]},{path:"event",component:X2,canActivate:[Zu]},{path:"event/:id/edit",component:wh,canActivate:[Zu]},{path:"event/:id/delete",component:wh,canActivate:[Zu]}];let rj=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Ct({type:e});static#n=this.\u0275inj=ct({imports:[sb.forRoot(nj,{useHash:!0}),sb]})}return e})(),oj=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Ct({type:e,bootstrap:[H2]});static#n=this.\u0275inj=ct({imports:[MF,Fk,kk,rj,aL]})}return e})();bF().bootstrapModule(oj).catch(e=>console.error(e))}},ne=>{ne(ne.s=334)}]); \ No newline at end of file +"use strict";(self.webpackChunkparty_management_system=self.webpackChunkparty_management_system||[]).push([[179],{334:()=>{function ne(e){return"function"==typeof e}function ko(e){const t=e(r=>{Error.call(r),r.stack=(new Error).stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}const ms=ko(e=>function(t){e(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((r,o)=>`${o+1}) ${r.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=t});function Lo(e,n){if(e){const t=e.indexOf(n);0<=t&&e.splice(t,1)}}class it{constructor(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let n;if(!this.closed){this.closed=!0;const{_parentage:t}=this;if(t)if(this._parentage=null,Array.isArray(t))for(const i of t)i.remove(this);else t.remove(this);const{initialTeardown:r}=this;if(ne(r))try{r()}catch(i){n=i instanceof ms?i.errors:[i]}const{_finalizers:o}=this;if(o){this._finalizers=null;for(const i of o)try{Mh(i)}catch(s){n=n??[],s instanceof ms?n=[...n,...s.errors]:n.push(s)}}if(n)throw new ms(n)}}add(n){var t;if(n&&n!==this)if(this.closed)Mh(n);else{if(n instanceof it){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=null!==(t=this._finalizers)&&void 0!==t?t:[]).push(n)}}_hasParent(n){const{_parentage:t}=this;return t===n||Array.isArray(t)&&t.includes(n)}_addParent(n){const{_parentage:t}=this;this._parentage=Array.isArray(t)?(t.push(n),t):t?[t,n]:n}_removeParent(n){const{_parentage:t}=this;t===n?this._parentage=null:Array.isArray(t)&&Lo(t,n)}remove(n){const{_finalizers:t}=this;t&&Lo(t,n),n instanceof it&&n._removeParent(this)}}it.EMPTY=(()=>{const e=new it;return e.closed=!0,e})();const bh=it.EMPTY;function Ih(e){return e instanceof it||e&&"closed"in e&&ne(e.remove)&&ne(e.add)&&ne(e.unsubscribe)}function Mh(e){ne(e)?e():e.unsubscribe()}const Xn={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},ys={setTimeout(e,n,...t){const{delegate:r}=ys;return r?.setTimeout?r.setTimeout(e,n,...t):setTimeout(e,n,...t)},clearTimeout(e){const{delegate:n}=ys;return(n?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Sh(e){ys.setTimeout(()=>{const{onUnhandledError:n}=Xn;if(!n)throw e;n(e)})}function Yu(){}const cb=Qu("C",void 0,void 0);function Qu(e,n,t){return{kind:e,value:n,error:t}}let Jn=null;function vs(e){if(Xn.useDeprecatedSynchronousErrorHandling){const n=!Jn;if(n&&(Jn={errorThrown:!1,error:null}),e(),n){const{errorThrown:t,error:r}=Jn;if(Jn=null,t)throw r}}else e()}class Xu extends it{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,Ih(n)&&n.add(this)):this.destination=mb}static create(n,t,r){return new Vo(n,t,r)}next(n){this.isStopped?Ku(function db(e){return Qu("N",e,void 0)}(n),this):this._next(n)}error(n){this.isStopped?Ku(function lb(e){return Qu("E",void 0,e)}(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?Ku(cb,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(n){this.destination.next(n)}_error(n){try{this.destination.error(n)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const hb=Function.prototype.bind;function Ju(e,n){return hb.call(e,n)}class pb{constructor(n){this.partialObserver=n}next(n){const{partialObserver:t}=this;if(t.next)try{t.next(n)}catch(r){Ds(r)}}error(n){const{partialObserver:t}=this;if(t.error)try{t.error(n)}catch(r){Ds(r)}else Ds(n)}complete(){const{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(t){Ds(t)}}}class Vo extends Xu{constructor(n,t,r){let o;if(super(),ne(n)||!n)o={next:n??void 0,error:t??void 0,complete:r??void 0};else{let i;this&&Xn.useDeprecatedNextContext?(i=Object.create(n),i.unsubscribe=()=>this.unsubscribe(),o={next:n.next&&Ju(n.next,i),error:n.error&&Ju(n.error,i),complete:n.complete&&Ju(n.complete,i)}):o=n}this.destination=new pb(o)}}function Ds(e){Xn.useDeprecatedSynchronousErrorHandling?function fb(e){Xn.useDeprecatedSynchronousErrorHandling&&Jn&&(Jn.errorThrown=!0,Jn.error=e)}(e):Sh(e)}function Ku(e,n){const{onStoppedNotification:t}=Xn;t&&ys.setTimeout(()=>t(e,n))}const mb={closed:!0,next:Yu,error:function gb(e){throw e},complete:Yu},ec="function"==typeof Symbol&&Symbol.observable||"@@observable";function Tn(e){return e}function Ah(e){return 0===e.length?Tn:1===e.length?e[0]:function(t){return e.reduce((r,o)=>o(r),t)}}let De=(()=>{class e{constructor(t){t&&(this._subscribe=t)}lift(t){const r=new e;return r.source=this,r.operator=t,r}subscribe(t,r,o){const i=function Db(e){return e&&e instanceof Xu||function vb(e){return e&&ne(e.next)&&ne(e.error)&&ne(e.complete)}(e)&&Ih(e)}(t)?t:new Vo(t,r,o);return vs(()=>{const{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(t){try{return this._subscribe(t)}catch(r){t.error(r)}}forEach(t,r){return new(r=Th(r))((o,i)=>{const s=new Vo({next:a=>{try{t(a)}catch(u){i(u),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(t){var r;return null===(r=this.source)||void 0===r?void 0:r.subscribe(t)}[ec](){return this}pipe(...t){return Ah(t)(this)}toPromise(t){return new(t=Th(t))((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=n=>new e(n),e})();function Th(e){var n;return null!==(n=e??Xn.Promise)&&void 0!==n?n:Promise}const _b=ko(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let Dt=(()=>{class e extends De{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){const r=new Nh(this,this);return r.operator=t,r}_throwIfClosed(){if(this.closed)throw new _b}next(t){vs(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const r of this.currentObservers)r.next(t)}})}error(t){vs(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=t;const{observers:r}=this;for(;r.length;)r.shift().error(t)}})}complete(){vs(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:t}=this;for(;t.length;)t.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var t;return(null===(t=this.observers)||void 0===t?void 0:t.length)>0}_trySubscribe(t){return this._throwIfClosed(),super._trySubscribe(t)}_subscribe(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)}_innerSubscribe(t){const{hasError:r,isStopped:o,observers:i}=this;return r||o?bh:(this.currentObservers=null,i.push(t),new it(()=>{this.currentObservers=null,Lo(i,t)}))}_checkFinalizedStatuses(t){const{hasError:r,thrownError:o,isStopped:i}=this;r?t.error(o):i&&t.complete()}asObservable(){const t=new De;return t.source=this,t}}return e.create=(n,t)=>new Nh(n,t),e})();class Nh extends Dt{constructor(n,t){super(),this.destination=n,this.source=t}next(n){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===r||r.call(t,n)}error(n){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===r||r.call(t,n)}complete(){var n,t;null===(t=null===(n=this.destination)||void 0===n?void 0:n.complete)||void 0===t||t.call(n)}_subscribe(n){var t,r;return null!==(r=null===(t=this.source)||void 0===t?void 0:t.subscribe(n))&&void 0!==r?r:bh}}function xh(e){return ne(e?.lift)}function Ie(e){return n=>{if(xh(n))return n.lift(function(t){try{return e(t,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function Ee(e,n,t,r,o){return new Cb(e,n,t,r,o)}class Cb extends Xu{constructor(n,t,r,o,i,s){super(n),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=t?function(a){try{t(a)}catch(u){n.error(u)}}:super._next,this._error=o?function(a){try{o(a)}catch(u){n.error(u)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){n.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:t}=this;super.unsubscribe(),!t&&(null===(n=this.onFinalize)||void 0===n||n.call(this))}}}function Z(e,n){return Ie((t,r)=>{let o=0;t.subscribe(Ee(r,i=>{r.next(e.call(n,i,o++))}))})}function Nn(e){return this instanceof Nn?(this.v=e,this):new Nn(e)}function Fh(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=function oc(e){var n="function"==typeof Symbol&&Symbol.iterator,t=n&&e[n],r=0;if(t)return t.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(n?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(i){t[i]=e[i]&&function(s){return new Promise(function(a,u){!function o(i,s,a,u){Promise.resolve(u).then(function(c){i({value:c,done:a})},s)}(a,u,(s=e[i](s)).done,s.value)})}}}"function"==typeof SuppressedError&&SuppressedError;const kh=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function Lh(e){return ne(e?.then)}function Vh(e){return ne(e[ec])}function jh(e){return Symbol.asyncIterator&&ne(e?.[Symbol.asyncIterator])}function Bh(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 Hh=function Ub(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function $h(e){return ne(e?.[Hh])}function Uh(e){return function Ph(e,n,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o,r=t.apply(e,n||[]),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 Nn?Promise.resolve(f.value.v).then(c,l):d(i[0][2],f)}(r[f](h))}catch(p){d(i[0][3],p)}}function c(f){a("next",f)}function l(f){a("throw",f)}function d(f,h){f(h),i.shift(),i.length&&a(i[0][0],i[0][1])}}(this,arguments,function*(){const t=e.getReader();try{for(;;){const{value:r,done:o}=yield Nn(t.read());if(o)return yield Nn(void 0);yield yield Nn(r)}}finally{t.releaseLock()}})}function zh(e){return ne(e?.getReader)}function st(e){if(e instanceof De)return e;if(null!=e){if(Vh(e))return function zb(e){return new De(n=>{const t=e[ec]();if(ne(t.subscribe))return t.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(kh(e))return function Gb(e){return new De(n=>{for(let t=0;t{e.then(t=>{n.closed||(n.next(t),n.complete())},t=>n.error(t)).then(null,Sh)})}(e);if(jh(e))return Gh(e);if($h(e))return function Wb(e){return new De(n=>{for(const t of e)if(n.next(t),n.closed)return;n.complete()})}(e);if(zh(e))return function Zb(e){return Gh(Uh(e))}(e)}throw Bh(e)}function Gh(e){return new De(n=>{(function Yb(e,n){var t,r,o,i;return function Rh(e,n,t,r){return new(t||(t=Promise))(function(i,s){function a(l){try{c(r.next(l))}catch(d){s(d)}}function u(l){try{c(r.throw(l))}catch(d){s(d)}}function c(l){l.done?i(l.value):function o(i){return i instanceof t?i:new t(function(s){s(i)})}(l.value).then(a,u)}c((r=r.apply(e,n||[])).next())})}(this,void 0,void 0,function*(){try{for(t=Fh(e);!(r=yield t.next()).done;)if(n.next(r.value),n.closed)return}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=t.return)&&(yield i.call(t))}finally{if(o)throw o.error}}n.complete()})})(e,n).catch(t=>n.error(t))})}function un(e,n,t,r=0,o=!1){const i=n.schedule(function(){t(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function Re(e,n,t=1/0){return ne(n)?Re((r,o)=>Z((i,s)=>n(r,i,o,s))(st(e(r,o))),t):("number"==typeof n&&(t=n),Ie((r,o)=>function Qb(e,n,t,r,o,i,s,a){const u=[];let c=0,l=0,d=!1;const f=()=>{d&&!u.length&&!c&&n.complete()},h=g=>c{i&&n.next(g),c++;let y=!1;st(t(g,l++)).subscribe(Ee(n,C=>{o?.(C),i?h(C):n.next(C)},()=>{y=!0},void 0,()=>{if(y)try{for(c--;u.length&&cp(C)):p(C)}f()}catch(C){n.error(C)}}))};return e.subscribe(Ee(n,h,()=>{d=!0,f()})),()=>{a?.()}}(r,o,e,t)))}function Mr(e=1/0){return Re(Tn,e)}const Ut=new De(e=>e.complete());function ic(e){return e[e.length-1]}function qh(e){return ne(ic(e))?e.pop():void 0}function jo(e){return function Jb(e){return e&&ne(e.schedule)}(ic(e))?e.pop():void 0}function Wh(e,n=0){return Ie((t,r)=>{t.subscribe(Ee(r,o=>un(r,e,()=>r.next(o),n),()=>un(r,e,()=>r.complete(),n),o=>un(r,e,()=>r.error(o),n)))})}function Zh(e,n=0){return Ie((t,r)=>{r.add(e.schedule(()=>t.subscribe(r),n))})}function Yh(e,n){if(!e)throw new Error("Iterable cannot be null");return new De(t=>{un(t,n,()=>{const r=e[Symbol.asyncIterator]();un(t,n,()=>{r.next().then(o=>{o.done?t.complete():t.next(o.value)})},0,!0)})})}function Me(e,n){return n?function iI(e,n){if(null!=e){if(Vh(e))return function eI(e,n){return st(e).pipe(Zh(n),Wh(n))}(e,n);if(kh(e))return function nI(e,n){return new De(t=>{let r=0;return n.schedule(function(){r===e.length?t.complete():(t.next(e[r++]),t.closed||this.schedule())})})}(e,n);if(Lh(e))return function tI(e,n){return st(e).pipe(Zh(n),Wh(n))}(e,n);if(jh(e))return Yh(e,n);if($h(e))return function rI(e,n){return new De(t=>{let r;return un(t,n,()=>{r=e[Hh](),un(t,n,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){return void t.error(s)}i?t.complete():t.next(o)},0,!0)}),()=>ne(r?.return)&&r.return()})}(e,n);if(zh(e))return function oI(e,n){return Yh(Uh(e),n)}(e,n)}throw Bh(e)}(e,n):st(e)}class at extends Dt{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){const t=super._subscribe(n);return!t.closed&&n.next(this._value),t}getValue(){const{hasError:n,thrownError:t,_value:r}=this;if(n)throw t;return this._throwIfClosed(),r}next(n){super.next(this._value=n)}}function R(...e){return Me(e,jo(e))}function Qh(e={}){const{connector:n=(()=>new Dt),resetOnError:t=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,u,c=0,l=!1,d=!1;const f=()=>{a?.unsubscribe(),a=void 0},h=()=>{f(),s=u=void 0,l=d=!1},p=()=>{const g=s;h(),g?.unsubscribe()};return Ie((g,y)=>{c++,!d&&!l&&f();const C=u=u??n();y.add(()=>{c--,0===c&&!d&&!l&&(a=sc(p,o))}),C.subscribe(y),!s&&c>0&&(s=new Vo({next:m=>C.next(m),error:m=>{d=!0,f(),a=sc(h,t,m),C.error(m)},complete:()=>{l=!0,f(),a=sc(h,r),C.complete()}}),st(g).subscribe(s))})(i)}}function sc(e,n,...t){if(!0===n)return void e();if(!1===n)return;const r=new Vo({next:()=>{r.unsubscribe(),e()}});return st(n(...t)).subscribe(r)}function Tt(e,n){return Ie((t,r)=>{let o=null,i=0,s=!1;const a=()=>s&&!o&&r.complete();t.subscribe(Ee(r,u=>{o?.unsubscribe();let c=0;const l=i++;st(e(u,l)).subscribe(o=Ee(r,d=>r.next(n?n(u,d,l,c++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function uI(e,n){return e===n}function K(e){for(let n in e)if(e[n]===K)return n;throw Error("Could not find renamed property on target object.")}function _s(e,n){for(const t in n)n.hasOwnProperty(t)&&!e.hasOwnProperty(t)&&(e[t]=n[t])}function Se(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(Se).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const n=e.toString();if(null==n)return""+n;const t=n.indexOf("\n");return-1===t?n:n.substring(0,t)}function ac(e,n){return null==e||""===e?null===n?"":n:null==n||""===n?e:e+" "+n}const cI=K({__forward_ref__:K});function ie(e){return e.__forward_ref__=ie,e.toString=function(){return Se(this())},e}function F(e){return uc(e)?e():e}function uc(e){return"function"==typeof e&&e.hasOwnProperty(cI)&&e.__forward_ref__===ie}function cc(e){return e&&!!e.\u0275providers}const Xh="https://g.co/ng/security#xss";class _ extends Error{constructor(n,t){super(function Cs(e,n){return`NG0${Math.abs(e)}${n?": "+n:""}`}(n,t)),this.code=n}}function L(e){return"string"==typeof e?e:null==e?"":String(e)}function lc(e,n){throw new _(-201,!1)}function _t(e,n){null==e&&function O(e,n,t,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${t} ${r} ${n} <=Actual]`))}(n,e,null,"!=")}function T(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function ct(e){return{providers:e.providers||[],imports:e.imports||[]}}function ws(e){return Jh(e,bs)||Jh(e,Kh)}function Jh(e,n){return e.hasOwnProperty(n)?e[n]:null}function Es(e){return e&&(e.hasOwnProperty(dc)||e.hasOwnProperty(yI))?e[dc]:null}const bs=K({\u0275prov:K}),dc=K({\u0275inj:K}),Kh=K({ngInjectableDef:K}),yI=K({ngInjectorDef:K});var U=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(U||{});let fc;function Je(e){const n=fc;return fc=e,n}function tp(e,n,t){const r=ws(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:t&U.Optional?null:void 0!==n?n:void lc(Se(e))}const se=globalThis;class S{constructor(n,t){this._desc=n,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof t?this.__NG_ELEMENT_ID__=t:void 0!==t&&(this.\u0275prov=T({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const Bo={},yc="__NG_DI_FLAG__",Is="ngTempTokenPath",_I=/\n/gm,rp="__source";let Sr;function xn(e){const n=Sr;return Sr=e,n}function EI(e,n=U.Default){if(void 0===Sr)throw new _(-203,!1);return null===Sr?tp(e,void 0,n):Sr.get(e,n&U.Optional?null:void 0,n)}function A(e,n=U.Default){return(function ep(){return fc}()||EI)(F(e),n)}function I(e,n=U.Default){return A(e,Ms(n))}function Ms(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function vc(e){const n=[];for(let t=0;tn){s=i-1;break}}}for(;ii?"":o[d+1].toLowerCase();const h=8&r?f:null;if(h&&-1!==ap(h,c,0)||2&r&&c!==f){if(xt(r))return!1;s=!0}}}}else{if(!s&&!xt(r)&&!xt(u))return!1;if(s&&xt(u))continue;s=!1,r=u|1&r}}return xt(r)||s}function xt(e){return 0==(1&e)}function NI(e,n,t,r){if(null===n)return-1;let o=0;if(r||!t){let i=!1;for(;o-1)for(t++;t0?'="'+a+'"':"")+"]"}else 8&r?o+="."+s:4&r&&(o+=" "+s);else""!==o&&!xt(s)&&(n+=pp(i,o),o=""),r=s,i=i||!xt(r);t++}return""!==o&&(n+=pp(i,o)),n}function Gt(e){return cn(()=>{const n=mp(e),t={...n,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Ss.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Nt.Emulated,styles:e.styles||Y,_:null,schemas:e.schemas||null,tView:null,id:""};yp(t);const r=e.dependencies;return t.directiveDefs=Ts(r,!1),t.pipeDefs=Ts(r,!0),t.id=function UI(e){let n=0;const t=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const o of t)n=Math.imul(31,n)+o.charCodeAt(0)<<0;return n+=2147483648,"c"+n}(t),t})}function jI(e){return G(e)||Oe(e)}function BI(e){return null!==e}function Ct(e){return cn(()=>({type:e.type,bootstrap:e.bootstrap||Y,declarations:e.declarations||Y,imports:e.imports||Y,exports:e.exports||Y,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function gp(e,n){if(null==e)return zt;const t={};for(const r in e)if(e.hasOwnProperty(r)){let o=e[r],i=o;Array.isArray(o)&&(i=o[1],o=o[0]),t[o]=r,n&&(n[o]=i)}return t}function k(e){return cn(()=>{const n=mp(e);return yp(n),n})}function G(e){return e[As]||null}function Oe(e){return e[Dc]||null}function Ue(e){return e[_c]||null}function lt(e,n){const t=e[ip]||null;if(!t&&!0===n)throw new Error(`Type ${Se(e)} does not have '\u0275mod' property.`);return t}function mp(e){const n={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:n,inputTransforms:null,inputConfig:e.inputs||zt,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||Y,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:gp(e.inputs,n),outputs:gp(e.outputs)}}function yp(e){e.features?.forEach(n=>n(e))}function Ts(e,n){if(!e)return null;const t=n?Ue:jI;return()=>("function"==typeof e?e():e).map(r=>t(r)).filter(BI)}const me=0,E=1,B=2,fe=3,Rt=4,zo=5,je=6,Tr=7,_e=8,Rn=9,Nr=10,V=11,Go=12,vp=13,xr=14,Ce=15,qo=16,Rr=17,qt=18,Wo=19,Dp=20,On=21,dn=22,Zo=23,Yo=24,z=25,wc=1,_p=2,Wt=7,Or=9,Pe=11;function et(e){return Array.isArray(e)&&"object"==typeof e[wc]}function ze(e){return Array.isArray(e)&&!0===e[wc]}function Ec(e){return 0!=(4&e.flags)}function er(e){return e.componentOffset>-1}function xs(e){return 1==(1&e.flags)}function Ot(e){return!!e.template}function bc(e){return 0!=(512&e[B])}function tr(e,n){return e.hasOwnProperty(ln)?e[ln]:null}let Fe=null,Rs=!1;function wt(e){const n=Fe;return Fe=e,n}const Ep={version:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{}};function Ip(e){if(!Xo(e)||e.dirty){if(!e.producerMustRecompute(e)&&!Ap(e))return void(e.dirty=!1);e.producerRecomputeValue(e),e.dirty=!1}}function Sp(e){e.dirty=!0,function Mp(e){if(void 0===e.liveConsumerNode)return;const n=Rs;Rs=!0;try{for(const t of e.liveConsumerNode)t.dirty||Sp(t)}finally{Rs=n}}(e),e.consumerMarkedDirty?.(e)}function Mc(e){return e&&(e.nextProducerIndex=0),wt(e)}function Sc(e,n){if(wt(n),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if(Xo(e))for(let t=e.nextProducerIndex;te.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function Ap(e){Pr(e);for(let n=0;n0}function Pr(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}let Rp=null;const kp=()=>{},nM=(()=>({...Ep,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{e.schedule(e.ref)},hasRun:!1,cleanupFn:kp}))();class rM{constructor(n,t,r){this.previousValue=n,this.currentValue=t,this.firstChange=r}isFirstChange(){return this.firstChange}}function Et(){return Lp}function Lp(e){return e.type.prototype.ngOnChanges&&(e.setInput=iM),oM}function oM(){const e=jp(this),n=e?.current;if(n){const t=e.previous;if(t===zt)e.previous=n;else for(let r in n)t[r]=n[r];e.current=null,this.ngOnChanges(n)}}function iM(e,n,t,r){const o=this.declaredInputs[t],i=jp(e)||function sM(e,n){return e[Vp]=n}(e,{previous:zt,current:null}),s=i.current||(i.current={}),a=i.previous,u=a[o];s[o]=new rM(u&&u.currentValue,n,a===zt),e[r]=n}Et.ngInherit=!0;const Vp="__ngSimpleChanges__";function jp(e){return e[Vp]||null}const Zt=function(e,n,t){};function ae(e){for(;Array.isArray(e);)e=e[me];return e}function Ps(e,n){return ae(n[e])}function tt(e,n){return ae(n[e.index])}function $p(e,n){return e.data[n]}function dt(e,n){const t=n[e];return et(t)?t:t[me]}function Fn(e,n){return null==n?null:e[n]}function Up(e){e[Rr]=0}function fM(e){1024&e[B]||(e[B]|=1024,Gp(e,1))}function zp(e){1024&e[B]&&(e[B]&=-1025,Gp(e,-1))}function Gp(e,n){let t=e[fe];if(null===t)return;t[zo]+=n;let r=t;for(t=t[fe];null!==t&&(1===n&&1===r[zo]||-1===n&&0===r[zo]);)t[zo]+=n,r=t,t=t[fe]}const P={lFrame:ng(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Zp(){return P.bindingsEnabled}function v(){return P.lFrame.lView}function q(){return P.lFrame.tView}function nr(e){return P.lFrame.contextLView=e,e[_e]}function rr(e){return P.lFrame.contextLView=null,e}function ke(){let e=Yp();for(;null!==e&&64===e.type;)e=e.parent;return e}function Yp(){return P.lFrame.currentTNode}function Yt(e,n){const t=P.lFrame;t.currentTNode=e,t.isParent=n}function Rc(){return P.lFrame.isParent}function Oc(){P.lFrame.isParent=!1}function Ge(){const e=P.lFrame;let n=e.bindingRootIndex;return-1===n&&(n=e.bindingRootIndex=e.tView.bindingStartIndex),n}function Lr(){return P.lFrame.bindingIndex++}function bM(e,n){const t=P.lFrame;t.bindingIndex=t.bindingRootIndex=e,Pc(n)}function Pc(e){P.lFrame.currentDirectiveIndex=e}function Kp(){return P.lFrame.currentQueryIndex}function kc(e){P.lFrame.currentQueryIndex=e}function MM(e){const n=e[E];return 2===n.type?n.declTNode:1===n.type?e[je]:null}function eg(e,n,t){if(t&U.SkipSelf){let o=n,i=e;for(;!(o=o.parent,null!==o||t&U.Host||(o=MM(i),null===o||(i=i[xr],10&o.type))););if(null===o)return!1;n=o,e=i}const r=P.lFrame=tg();return r.currentTNode=n,r.lView=e,!0}function Lc(e){const n=tg(),t=e[E];P.lFrame=n,n.currentTNode=t.firstChild,n.lView=e,n.tView=t,n.contextLView=e,n.bindingIndex=t.bindingStartIndex,n.inI18n=!1}function tg(){const e=P.lFrame,n=null===e?null:e.child;return null===n?ng(e):n}function ng(e){const n={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=n),n}function rg(){const e=P.lFrame;return P.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const og=rg;function Vc(){const e=rg();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 qe(){return P.lFrame.selectedIndex}function or(e){P.lFrame.selectedIndex=e}function pe(){const e=P.lFrame;return $p(e.tView,e.selectedIndex)}let sg=!0;function Fs(){return sg}function kn(e){sg=e}function ks(e,n){for(let t=n.directiveStart,r=n.directiveEnd;t=r)break}else n[u]<0&&(e[Rr]+=65536),(a>13>16&&(3&e[B])===n&&(e[B]+=8192,ug(a,i)):ug(a,i)}const Vr=-1;class Ko{constructor(n,t,r){this.factory=n,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=r}}function Hc(e){return e!==Vr}function ei(e){return 32767&e}function ti(e,n){let t=function VM(e){return e>>16}(e),r=n;for(;t>0;)r=r[xr],t--;return r}let $c=!0;function js(e){const n=$c;return $c=e,n}const cg=255,lg=5;let jM=0;const Qt={};function Bs(e,n){const t=dg(e,n);if(-1!==t)return t;const r=n[E];r.firstCreatePass&&(e.injectorIndex=n.length,Uc(r.data,e),Uc(n,null),Uc(r.blueprint,null));const o=Hs(e,n),i=e.injectorIndex;if(Hc(o)){const s=ei(o),a=ti(o,n),u=a[E].data;for(let c=0;c<8;c++)n[i+c]=a[s+c]|u[s+c]}return n[i+8]=o,i}function Uc(e,n){e.push(0,0,0,0,0,0,0,0,n)}function dg(e,n){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===n[e.injectorIndex+8]?-1:e.injectorIndex}function Hs(e,n){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let t=0,r=null,o=n;for(;null!==o;){if(r=vg(o),null===r)return Vr;if(t++,o=o[xr],-1!==r.injectorIndex)return r.injectorIndex|t<<16}return Vr}function zc(e,n,t){!function BM(e,n,t){let r;"string"==typeof t?r=t.charCodeAt(0)||0:t.hasOwnProperty($o)&&(r=t[$o]),null==r&&(r=t[$o]=jM++);const o=r&cg;n.data[e+(o>>lg)]|=1<=0?n&cg:GM:n}(t);if("function"==typeof i){if(!eg(n,e,r))return r&U.Host?fg(o,0,r):hg(n,t,r,o);try{let s;if(s=i(r),null!=s||r&U.Optional)return s;lc()}finally{og()}}else if("number"==typeof i){let s=null,a=dg(e,n),u=Vr,c=r&U.Host?n[Ce][je]:null;for((-1===a||r&U.SkipSelf)&&(u=-1===a?Hs(e,n):n[a+8],u!==Vr&&yg(r,!1)?(s=n[E],a=ei(u),n=ti(u,n)):a=-1);-1!==a;){const l=n[E];if(mg(i,a,l.data)){const d=$M(a,n,t,s,r,c);if(d!==Qt)return d}u=n[a+8],u!==Vr&&yg(r,n[E].data[a+8]===c)&&mg(i,a,n)?(s=l,a=ei(u),n=ti(u,n)):a=-1}}return o}function $M(e,n,t,r,o,i){const s=n[E],a=s.data[e+8],l=$s(a,s,t,null==r?er(a)&&$c:r!=s&&0!=(3&a.type),o&U.Host&&i===a);return null!==l?ir(n,s,l,a):Qt}function $s(e,n,t,r,o){const i=e.providerIndexes,s=n.data,a=1048575&i,u=e.directiveStart,l=i>>20,f=o?a+l:e.directiveEnd;for(let h=r?a:a+l;h=u&&p.type===t)return h}if(o){const h=s[u];if(h&&Ot(h)&&h.type===t)return u}return null}function ir(e,n,t,r){let o=e[t];const i=n.data;if(function FM(e){return e instanceof Ko}(o)){const s=o;s.resolving&&function lI(e,n){const t=n?`. Dependency path: ${n.join(" > ")} > ${e}`:"";throw new _(-200,`Circular dependency in DI detected for ${e}${t}`)}(function J(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():L(e)}(i[t]));const a=js(s.canSeeViewProviders);s.resolving=!0;const c=s.injectImpl?Je(s.injectImpl):null;eg(e,r,U.Default);try{o=e[t]=s.factory(void 0,i,e,r),n.firstCreatePass&&t>=r.directiveStart&&function OM(e,n,t){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=n.type.prototype;if(r){const s=Lp(n);(t.preOrderHooks??=[]).push(e,s),(t.preOrderCheckHooks??=[]).push(e,s)}o&&(t.preOrderHooks??=[]).push(0-e,o),i&&((t.preOrderHooks??=[]).push(e,i),(t.preOrderCheckHooks??=[]).push(e,i))}(t,i[t],n)}finally{null!==c&&Je(c),js(a),s.resolving=!1,og()}}return o}function mg(e,n,t){return!!(t[n+(e>>lg)]&1<{const n=e.prototype.constructor,t=n[ln]||Gc(n),r=Object.prototype;let o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){const i=o[ln]||Gc(o);if(i&&i!==t)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Gc(e){return uc(e)?()=>{const n=Gc(F(e));return n&&n()}:tr(e)}function vg(e){const n=e[E],t=n.type;return 2===t?n.declTNode:1===t?e[je]:null}const Br="__parameters__";function $r(e,n,t){return cn(()=>{const r=function qc(e){return function(...t){if(e){const r=e(...t);for(const o in r)this[o]=r[o]}}}(n);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,c,l){const d=u.hasOwnProperty(Br)?u[Br]:Object.defineProperty(u,Br,{value:[]})[Br];for(;d.length<=l;)d.push(null);return(d[l]=d[l]||[]).push(s),u}}return t&&(o.prototype=Object.create(t.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}function zr(e,n){e.forEach(t=>Array.isArray(t)?zr(t,n):n(t))}function _g(e,n,t){n>=e.length?e.push(t):e.splice(n,0,t)}function zs(e,n){return n>=e.length-1?e.pop():e.splice(n,1)[0]}function ft(e,n,t){let r=Gr(e,n);return r>=0?e[1|r]=t:(r=~r,function KM(e,n,t,r){let o=e.length;if(o==n)e.push(t,r);else if(1===o)e.push(r,e[0]),e[0]=t;else{for(o--,e.push(e[o-1],e[o]);o>n;)e[o]=e[o-2],o--;e[n]=t,e[n+1]=r}}(e,r,n,t)),r}function Wc(e,n){const t=Gr(e,n);if(t>=0)return e[1|t]}function Gr(e,n){return function Cg(e,n,t){let r=0,o=e.length>>t;for(;o!==r;){const i=r+(o-r>>1),s=e[i<n?o=i:r=i+1}return~(o<|^->||--!>|)/g,E0="\u200b$1\u200b";const Jc=new Map;let b0=0;const el="__ngContext__";function Be(e,n){et(n)?(e[el]=n[Wo],function M0(e){Jc.set(e[Wo],e)}(n)):e[el]=n}let tl;function nl(e,n){return tl(e,n)}function ai(e){const n=e[fe];return ze(n)?n[fe]:n}function Hg(e){return Ug(e[Go])}function $g(e){return Ug(e[Rt])}function Ug(e){for(;null!==e&&!ze(e);)e=e[Rt];return e}function Zr(e,n,t,r,o){if(null!=r){let i,s=!1;ze(r)?i=r:et(r)&&(s=!0,r=r[me]);const a=ae(r);0===e&&null!==t?null==o?Wg(n,t,a):sr(n,t,a,o||null,!0):1===e&&null!==t?sr(n,t,a,o||null,!0):2===e?function ia(e,n,t){const r=ra(e,n);r&&function G0(e,n,t,r){e.removeChild(n,t,r)}(e,r,n,t)}(n,a,s):3===e&&n.destroyNode(a),null!=i&&function Z0(e,n,t,r,o){const i=t[Wt];i!==ae(t)&&Zr(n,e,r,i,o);for(let a=Pe;an.replace(w0,E0))}(n))}function ta(e,n,t){return e.createElement(n,t)}function Gg(e,n){const t=e[Or],r=t.indexOf(n);zp(n),t.splice(r,1)}function na(e,n){if(e.length<=Pe)return;const t=Pe+n,r=e[t];if(r){const o=r[qo];null!==o&&o!==e&&Gg(o,r),n>0&&(e[t-1][Rt]=r[Rt]);const i=zs(e,Pe+n);!function L0(e,n){ci(e,n,n[V],2,null,null),n[me]=null,n[je]=null}(r[E],r);const s=i[qt];null!==s&&s.detachView(i[E]),r[fe]=null,r[Rt]=null,r[B]&=-129}return r}function ol(e,n){if(!(256&n[B])){const t=n[V];n[Zo]&&Tp(n[Zo]),n[Yo]&&Tp(n[Yo]),t.destroyNode&&ci(e,n,t,3,null,null),function B0(e){let n=e[Go];if(!n)return il(e[E],e);for(;n;){let t=null;if(et(n))t=n[Go];else{const r=n[Pe];r&&(t=r)}if(!t){for(;n&&!n[Rt]&&n!==e;)et(n)&&il(n[E],n),n=n[fe];null===n&&(n=e),et(n)&&il(n[E],n),t=n&&n[Rt]}n=t}}(n)}}function il(e,n){if(!(256&n[B])){n[B]&=-129,n[B]|=256,function z0(e,n){let t;if(null!=e&&null!=(t=e.destroyHooks))for(let r=0;r=0?r[s]():r[-s].unsubscribe(),i+=2}else t[i].call(r[t[i+1]]);null!==r&&(n[Tr]=null);const o=n[On];if(null!==o){n[On]=null;for(let i=0;i-1){const{encapsulation:i}=e.data[r.directiveStart+o];if(i===Nt.None||i===Nt.Emulated)return null}return tt(r,t)}}(e,n.parent,t)}function sr(e,n,t,r,o){e.insertBefore(n,t,r,o)}function Wg(e,n,t){e.appendChild(n,t)}function Zg(e,n,t,r,o){null!==r?sr(e,n,t,r,o):Wg(e,n,t)}function ra(e,n){return e.parentNode(n)}let al,dl,aa,Xg=function Qg(e,n,t){return 40&e.type?tt(e,t):null};function oa(e,n,t,r){const o=sl(e,r,n),i=n[V],a=function Yg(e,n,t){return Xg(e,n,t)}(r.parent||n[je],r,n);if(null!=o)if(Array.isArray(t))for(let u=0;ue,createScript:e=>e,createScriptURL:e=>e})}catch{}return aa}()?.createScriptURL(e)||e}class am{constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Xh})`}}function Vn(e){return e instanceof am?e.changingThisBreaksApplicationSecurity:e}function li(e,n){const t=function sS(e){return e instanceof am&&e.getTypeName()||null}(e);if(null!=t&&t!==n){if("ResourceURL"===t&&"URL"===n)return!0;throw new Error(`Required a safe ${n}, got a ${t} (see ${Xh})`)}return t===n}const lS=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;var Xr=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(Xr||{});function pm(e){const n=fi();return n?n.sanitize(Xr.URL,e)||"":li(e,"URL")?Vn(e):function hl(e){return(e=String(e)).match(lS)?e:"unsafe:"+e}(L(e))}function gm(e){const n=fi();if(n)return sm(n.sanitize(Xr.RESOURCE_URL,e)||"");if(li(e,"ResourceURL"))return sm(Vn(e));throw new _(904,!1)}function fi(){const e=v();return e&&e[Nr].sanitizer}const hi=new S("ENVIRONMENT_INITIALIZER"),ym=new S("INJECTOR",-1),vm=new S("INJECTOR_DEF_TYPES");class yl{get(n,t=Bo){if(t===Bo){const r=new Error(`NullInjectorError: No provider for ${Se(n)}!`);throw r.name="NullInjectorError",r}return t}}function ES(...e){return{\u0275providers:Dm(0,e),\u0275fromNgModule:!0}}function Dm(e,...n){const t=[],r=new Set;let o;const i=s=>{t.push(s)};return zr(n,s=>{const a=s;ca(a,i,[],r)&&(o||=[],o.push(a))}),void 0!==o&&_m(o,i),t}function _m(e,n){for(let t=0;t{n(i,r)})}}function ca(e,n,t,r){if(!(e=F(e)))return!1;let o=null,i=Es(e);const s=!i&&G(e);if(i||s){if(s&&!s.standalone)return!1;o=e}else{const u=e.ngModule;if(i=Es(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 c of u)ca(c,n,t,r)}}else{if(!i)return!1;{if(null!=i.imports&&!a){let c;r.add(o);try{zr(i.imports,l=>{ca(l,n,t,r)&&(c||=[],c.push(l))})}finally{}void 0!==c&&_m(c,n)}if(!a){const c=tr(o)||(()=>new o);n({provide:o,useFactory:c,deps:Y},o),n({provide:vm,useValue:o,multi:!0},o),n({provide:hi,useValue:()=>A(o),multi:!0},o)}const u=i.providers;if(null!=u&&!a){const c=e;Dl(u,l=>{n(l,c)})}}}return o!==e&&void 0!==e.providers}function Dl(e,n){for(let t of e)cc(t)&&(t=t.\u0275providers),Array.isArray(t)?Dl(t,n):n(t)}const bS=K({provide:String,useValue:K});function _l(e){return null!==e&&"object"==typeof e&&bS in e}function ar(e){return"function"==typeof e}const Cl=new S("Set Injector scope."),la={},MS={};let wl;function da(){return void 0===wl&&(wl=new yl),wl}class ht{}class Jr extends ht{get destroyed(){return this._destroyed}constructor(n,t,r,o){super(),this.parent=t,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,bl(n,s=>this.processProvider(s)),this.records.set(ym,Kr(void 0,this)),o.has("environment")&&this.records.set(ht,Kr(void 0,this));const i=this.records.get(Cl);null!=i&&"string"==typeof i.value&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(vm.multi,Y,U.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();const n=this._onDestroyHooks;this._onDestroyHooks=[];for(const t of n)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(n){return this.assertNotDestroyed(),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){this.assertNotDestroyed();const t=xn(this),r=Je(void 0);try{return n()}finally{xn(t),Je(r)}}get(n,t=Bo,r=U.Default){if(this.assertNotDestroyed(),n.hasOwnProperty(sp))return n[sp](this);r=Ms(r);const i=xn(this),s=Je(void 0);try{if(!(r&U.SkipSelf)){let u=this.records.get(n);if(void 0===u){const c=function xS(e){return"function"==typeof e||"object"==typeof e&&e instanceof S}(n)&&ws(n);u=c&&this.injectableDefInScope(c)?Kr(El(n),la):null,this.records.set(n,u)}if(null!=u)return this.hydrate(n,u)}return(r&U.Self?da():this.parent).get(n,t=r&U.Optional&&t===Bo?null:t)}catch(a){if("NullInjectorError"===a.name){if((a[Is]=a[Is]||[]).unshift(Se(n)),i)throw a;return function II(e,n,t,r){const o=e[Is];throw n[rp]&&o.unshift(n[rp]),e.message=function MI(e,n,t,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let o=Se(n);if(Array.isArray(n))o=n.map(Se).join(" -> ");else if("object"==typeof n){let i=[];for(let s in n)if(n.hasOwnProperty(s)){let a=n[s];i.push(s+":"+("string"==typeof a?JSON.stringify(a):Se(a)))}o=`{${i.join(", ")}}`}return`${t}${r?"("+r+")":""}[${o}]: ${e.replace(_I,"\n ")}`}("\n"+e.message,o,t,r),e.ngTokenPath=o,e[Is]=null,e}(a,n,"R3InjectorError",this.source)}throw a}finally{Je(s),xn(i)}}resolveInjectorInitializers(){const n=xn(this),t=Je(void 0);try{const o=this.get(hi.multi,Y,U.Self);for(const i of o)i()}finally{xn(n),Je(t)}}toString(){const n=[],t=this.records;for(const r of t.keys())n.push(Se(r));return`R3Injector[${n.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new _(205,!1)}processProvider(n){let t=ar(n=F(n))?n:F(n&&n.provide);const r=function AS(e){return _l(e)?Kr(void 0,e.useValue):Kr(Em(e),la)}(n);if(ar(n)||!0!==n.multi)this.records.get(t);else{let o=this.records.get(t);o||(o=Kr(void 0,la,!0),o.factory=()=>vc(o.multi),this.records.set(t,o)),t=n,o.multi.push(n)}this.records.set(t,r)}hydrate(n,t){return t.value===la&&(t.value=MS,t.value=t.factory()),"object"==typeof t.value&&t.value&&function NS(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(t.value)&&this._ngOnDestroyHooks.add(t.value),t.value}injectableDefInScope(n){if(!n.providedIn)return!1;const t=F(n.providedIn);return"string"==typeof t?"any"===t||this.scopes.has(t):this.injectorDefTypes.has(t)}removeOnDestroy(n){const t=this._onDestroyHooks.indexOf(n);-1!==t&&this._onDestroyHooks.splice(t,1)}}function El(e){const n=ws(e),t=null!==n?n.factory:tr(e);if(null!==t)return t;if(e instanceof S)throw new _(204,!1);if(e instanceof Function)return function SS(e){const n=e.length;if(n>0)throw function oi(e,n){const t=[];for(let r=0;rt.factory(e):()=>new e}(e);throw new _(204,!1)}function Em(e,n,t){let r;if(ar(e)){const o=F(e);return tr(o)||El(o)}if(_l(e))r=()=>F(e.useValue);else if(function wm(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...vc(e.deps||[]));else if(function Cm(e){return!(!e||!e.useExisting)}(e))r=()=>A(F(e.useExisting));else{const o=F(e&&(e.useClass||e.provide));if(!function TS(e){return!!e.deps}(e))return tr(o)||El(o);r=()=>new o(...vc(e.deps))}return r}function Kr(e,n,t=!1){return{factory:e,value:n,multi:t?[]:void 0}}function bl(e,n){for(const t of e)Array.isArray(t)?bl(t,n):t&&cc(t)?bl(t.\u0275providers,n):n(t)}const fa=new S("AppId",{providedIn:"root",factory:()=>RS}),RS="ng",bm=new S("Platform Initializer"),ur=new S("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),Im=new S("CSP nonce",{providedIn:"root",factory:()=>function Qr(){if(void 0!==dl)return dl;if(typeof document<"u")return document;throw new _(210,!1)}().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let Mm=(e,n,t)=>null;function Rl(e,n,t=!1){return Mm(e,n,t)}class $S{}class Tm{}class zS{resolveComponentFactory(n){throw function US(e){const n=Error(`No component factory found for ${Se(e)}.`);return n.ngComponent=e,n}(n)}}let va=(()=>{class e{static#e=this.NULL=new zS}return e})();function GS(){return no(ke(),v())}function no(e,n){return new pt(tt(e,n))}let pt=(()=>{class e{constructor(t){this.nativeElement=t}static#e=this.__NG_ELEMENT_ID__=GS}return e})();function qS(e){return e instanceof pt?e.nativeElement:e}class xm{}let gn=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function WS(){const e=v(),t=dt(ke().index,e);return(et(t)?t:e)[V]}()}return e})(),ZS=(()=>{class e{static#e=this.\u0275prov=T({token:e,providedIn:"root",factory:()=>null})}return e})();class mi{constructor(n){this.full=n,this.major=n.split(".")[0],this.minor=n.split(".")[1],this.patch=n.split(".").slice(2).join(".")}}const YS=new mi("16.2.12"),Fl={};function Fm(e,n=null,t=null,r){const o=km(e,n,t,r);return o.resolveInjectorInitializers(),o}function km(e,n=null,t=null,r,o=new Set){const i=[t||Y,ES(e)];return r=r||("object"==typeof e?void 0:Se(e)),new Jr(i,n||da(),r||null,o)}let gt=(()=>{class e{static#e=this.THROW_IF_NOT_FOUND=Bo;static#t=this.NULL=new yl;static create(t,r){if(Array.isArray(t))return Fm({name:""},r,t,"");{const o=t.name??"";return Fm({name:o},t.parent,t.providers,o)}}static#n=this.\u0275prov=T({token:e,providedIn:"any",factory:()=>A(ym)});static#r=this.__NG_ELEMENT_ID__=-1}return e})();function Ll(e){return e.ngOriginalError}class mn{constructor(){this._console=console}handleError(n){const t=this._findOriginalError(n);this._console.error("ERROR",n),t&&this._console.error("ORIGINAL ERROR",t)}_findOriginalError(n){let t=n&&Ll(n);for(;t&&Ll(t);)t=Ll(t);return t||null}}function jl(e){return n=>{setTimeout(e,void 0,n)}}const ye=class nA extends Dt{constructor(n=!1){super(),this.__isAsync=n}emit(n){super.next(n)}subscribe(n,t,r){let o=n,i=t||(()=>null),s=r;if(n&&"object"==typeof n){const u=n;o=u.next?.bind(u),i=u.error?.bind(u),s=u.complete?.bind(u)}this.__isAsync&&(i=jl(i),o&&(o=jl(o)),s&&(s=jl(s)));const a=super.subscribe({next:o,error:i,complete:s});return n instanceof it&&n.add(a),a}};function Vm(...e){}class ue{constructor({enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:t=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ye(!1),this.onMicrotaskEmpty=new ye(!1),this.onStable=new ye(!1),this.onError=new ye(!1),typeof Zone>"u")throw new _(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)),n&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&t,o.shouldCoalesceRunChangeDetection=r,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function rA(){const e="function"==typeof se.requestAnimationFrame;let n=se[e?"requestAnimationFrame":"setTimeout"],t=se[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&n&&t){const r=n[Zone.__symbol__("OriginalDelegate")];r&&(n=r);const o=t[Zone.__symbol__("OriginalDelegate")];o&&(t=o)}return{nativeRequestAnimationFrame:n,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function sA(e){const n=()=>{!function iA(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(se,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Hl(e),e.isCheckStableRunning=!0,Bl(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Hl(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(t,r,o,i,s,a)=>{if(function uA(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}(a))return t.invokeTask(o,i,s,a);try{return jm(e),t.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||e.shouldCoalesceRunChangeDetection)&&n(),Bm(e)}},onInvoke:(t,r,o,i,s,a,u)=>{try{return jm(e),t.invoke(o,i,s,a,u)}finally{e.shouldCoalesceRunChangeDetection&&n(),Bm(e)}},onHasTask:(t,r,o,i)=>{t.hasTask(o,i),r===o&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,Hl(e),Bl(e)):"macroTask"==i.change&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(t,r,o,i)=>(t.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(!ue.isInAngularZone())throw new _(909,!1)}static assertNotInAngularZone(){if(ue.isInAngularZone())throw new _(909,!1)}run(n,t,r){return this._inner.run(n,t,r)}runTask(n,t,r,o){const i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,n,oA,Vm,Vm);try{return i.runTask(s,t,r)}finally{i.cancelTask(s)}}runGuarded(n,t,r){return this._inner.runGuarded(n,t,r)}runOutsideAngular(n){return this._outer.run(n)}}const oA={};function Bl(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 Hl(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function jm(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Bm(e){e._nesting--,Bl(e)}class aA{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ye,this.onMicrotaskEmpty=new ye,this.onStable=new ye,this.onError=new ye}run(n,t,r){return n.apply(t,r)}runGuarded(n,t,r){return n.apply(t,r)}runOutsideAngular(n){return n()}runTask(n,t,r,o){return n.apply(t,r)}}const Hm=new S("",{providedIn:"root",factory:$m});function $m(){const e=I(ue);let n=!0;return function sI(...e){const n=jo(e),t=function Kb(e,n){return"number"==typeof ic(e)?e.pop():n}(e,1/0),r=e;return r.length?1===r.length?st(r[0]):Mr(t)(Me(r,n)):Ut}(new De(o=>{n=e.isStable&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks,e.runOutsideAngular(()=>{o.next(n),o.complete()})}),new De(o=>{let i;e.runOutsideAngular(()=>{i=e.onStable.subscribe(()=>{ue.assertNotInAngularZone(),queueMicrotask(()=>{!n&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks&&(n=!0,o.next(!0))})})});const s=e.onUnstable.subscribe(()=>{ue.assertInAngularZone(),n&&(n=!1,e.runOutsideAngular(()=>{o.next(!1)}))});return()=>{i.unsubscribe(),s.unsubscribe()}}).pipe(Qh()))}function yn(e){return e instanceof Function?e():e}let $l=(()=>{class e{constructor(){this.renderDepth=0,this.handler=null}begin(){this.handler?.validateBegin(),this.renderDepth++}end(){this.renderDepth--,0===this.renderDepth&&this.handler?.execute()}ngOnDestroy(){this.handler?.destroy(),this.handler=null}static#e=this.\u0275prov=T({token:e,providedIn:"root",factory:()=>new e})}return e})();function yi(e){for(;e;){e[B]|=64;const n=ai(e);if(bc(e)&&!n)return e;e=n}return null}const Wm=new S("",{providedIn:"root",factory:()=>!1});let _a=null;function Xm(e,n){return e[n]??ey()}function Jm(e,n){const t=ey();t.producerNode?.length&&(e[n]=_a,t.lView=e,_a=Km())}const vA={...Ep,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{yi(e.lView)},lView:null};function Km(){return Object.create(vA)}function ey(){return _a??=Km(),_a}const j={};function W(e){ty(q(),v(),qe()+e,!1)}function ty(e,n,t,r){if(!r)if(3==(3&n[B])){const i=e.preOrderCheckHooks;null!==i&&Ls(n,i,t)}else{const i=e.preOrderHooks;null!==i&&Vs(n,i,0,t)}or(t)}function D(e,n=U.Default){const t=v();return null===t?A(e,n):pg(ke(),t,F(e),n)}function Ca(e,n,t,r,o,i,s,a,u,c,l){const d=n.blueprint.slice();return d[me]=o,d[B]=140|r,(null!==c||e&&2048&e[B])&&(d[B]|=2048),Up(d),d[fe]=d[xr]=e,d[_e]=t,d[Nr]=s||e&&e[Nr],d[V]=a||e&&e[V],d[Rn]=u||e&&e[Rn]||null,d[je]=i,d[Wo]=function I0(){return b0++}(),d[dn]=l,d[Dp]=c,d[Ce]=2==n.type?e[Ce]:d,d}function io(e,n,t,r,o){let i=e.data[n];if(null===i)i=function Ul(e,n,t,r,o){const i=Yp(),s=Rc(),u=e.data[n]=function MA(e,n,t,r,o,i){let s=n?n.injectorIndex:-1,a=0;return function kr(){return null!==P.skipHydrationRootTNode}()&&(a|=128),{type:t,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:n,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,t,n,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.prev=i)),u}(e,n,t,r,o),function EM(){return P.lFrame.inI18n}()&&(i.flags|=32);else if(64&i.type){i.type=t,i.value=r,i.attrs=o;const s=function Jo(){const e=P.lFrame,n=e.currentTNode;return e.isParent?n:n.parent}();i.injectorIndex=null===s?-1:s.injectorIndex}return Yt(i,!0),i}function vi(e,n,t,r){if(0===t)return-1;const o=n.length;for(let i=0;iz&&ty(e,n,z,!1),Zt(a?2:0,o);const c=a?i:null,l=Mc(c);try{null!==c&&(c.dirty=!1),t(r,o)}finally{Sc(c,l)}}finally{a&&null===n[Zo]&&Jm(n,Zo),or(s),Zt(a?3:1,o)}}function zl(e,n,t){if(Ec(n)){const r=wt(null);try{const i=n.directiveEnd;for(let s=n.directiveStart;snull;function sy(e,n,t,r){for(let o in e)if(e.hasOwnProperty(o)){t=null===t?{}:t;const i=e[o];null===r?ay(t,n,o,i):r.hasOwnProperty(o)&&ay(t,n,r[o],i)}return t}function ay(e,n,t,r){e.hasOwnProperty(t)?e[t].push(n,r):e[t]=[n,r]}function Zl(e,n,t,r){if(Zp()){const o=null===r?null:{"":-1},i=function FA(e,n){const t=e.directiveRegistry;let r=null,o=null;if(t)for(let i=0;i0;){const t=e[--n];if("number"==typeof t&&t<0)return t}return 0})(s)!=a&&s.push(a),s.push(t,r,i)}}(e,n,r,vi(e,t,o.hostVars,j),o)}function Xt(e,n,t,r,o,i){const s=tt(e,n);!function Ql(e,n,t,r,o,i,s){if(null==i)e.removeAttribute(n,o,t);else{const a=null==s?L(i):s(i,r||"",o);e.setAttribute(n,o,a,t)}}(n[V],s,i,e.value,t,r,o)}function HA(e,n,t,r,o,i){const s=i[n];if(null!==s)for(let a=0;a{class e{constructor(){this.all=new Set,this.queue=new Map}create(t,r,o){const i=typeof Zone>"u"?null:Zone.current,s=function tM(e,n,t){const r=Object.create(nM);t&&(r.consumerAllowSignalWrites=!0),r.fn=e,r.schedule=n;const o=s=>{r.cleanupFn=s};return r.ref={notify:()=>Sp(r),run:()=>{if(r.dirty=!1,r.hasRun&&!Ap(r))return;r.hasRun=!0;const s=Mc(r);try{r.cleanupFn(),r.cleanupFn=kp,r.fn(o)}finally{Sc(r,s)}},cleanup:()=>r.cleanupFn()},r.ref}(t,c=>{this.all.has(c)&&this.queue.set(c,i)},o);let a;this.all.add(s),s.notify();const u=()=>{s.cleanup(),a?.(),this.all.delete(s),this.queue.delete(s)};return a=r?.onDestroy(u),{destroy:u}}flush(){if(0!==this.queue.size)for(const[t,r]of this.queue)this.queue.delete(t),r?r.run(()=>t.run()):t.run()}get isQueueEmpty(){return 0===this.queue.size}static#e=this.\u0275prov=T({token:e,providedIn:"root",factory:()=>new e})}return e})();function Ea(e,n,t){let r=t?e.styles:null,o=t?e.classes:null,i=0;if(null!==n)for(let s=0;s0){_y(e,1);const o=t.components;null!==o&&wy(e,o,1)}}function wy(e,n,t){for(let r=0;r-1&&(na(n,r),zs(t,r))}this._attachedToViewContainer=!1}ol(this._lView[E],this._lView)}onDestroy(n){!function qp(e,n){if(256==(256&e[B]))throw new _(911,!1);null===e[On]&&(e[On]=[]),e[On].push(n)}(this._lView,n)}markForCheck(){yi(this._cdRefInjectingView||this._lView)}detach(){this._lView[B]&=-129}reattach(){this._lView[B]|=128}detectChanges(){ba(this._lView[E],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new _(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function j0(e,n){ci(e,n,n[V],2,null,null)}(this._lView[E],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new _(902,!1);this._appRef=n}}class QA extends _i{constructor(n){super(n),this._view=n}detectChanges(){const n=this._view;ba(n[E],n,n[_e],!1)}checkNoChanges(){}get context(){return null}}class Ey extends va{constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){const t=G(n);return new Ci(t,this.ngModule)}}function by(e){const n=[];for(let t in e)e.hasOwnProperty(t)&&n.push({propName:e[t],templateName:t});return n}class JA{constructor(n,t){this.injector=n,this.parentInjector=t}get(n,t,r){r=Ms(r);const o=this.injector.get(n,Fl,r);return o!==Fl||t===Fl?o:this.parentInjector.get(n,t,r)}}class Ci extends Tm{get inputs(){const n=this.componentDef,t=n.inputTransforms,r=by(n.inputs);if(null!==t)for(const o of r)t.hasOwnProperty(o.propName)&&(o.transform=t[o.propName]);return r}get outputs(){return by(this.componentDef.outputs)}constructor(n,t){super(),this.componentDef=n,this.ngModule=t,this.componentType=n.type,this.selector=function kI(e){return e.map(FI).join(",")}(n.selectors),this.ngContentSelectors=n.ngContentSelectors?n.ngContentSelectors:[],this.isBoundToModule=!!t}create(n,t,r,o){let i=(o=o||this.ngModule)instanceof ht?o:o?.injector;i&&null!==this.componentDef.getStandaloneInjector&&(i=this.componentDef.getStandaloneInjector(i)||i);const s=i?new JA(n,i):n,a=s.get(xm,null);if(null===a)throw new _(407,!1);const d={rendererFactory:a,sanitizer:s.get(ZS,null),effectManager:s.get(yy,null),afterRenderEventManager:s.get($l,null)},f=a.createRenderer(null,this.componentDef),h=this.componentDef.selectors[0][0]||"div",p=r?function CA(e,n,t,r){const i=r.get(Wm,!1)||t===Nt.ShadowDom,s=e.selectRootElement(n,i);return function wA(e){iy(e)}(s),s}(f,r,this.componentDef.encapsulation,s):ta(f,h,function XA(e){const n=e.toLowerCase();return"svg"===n?"svg":"math"===n?"math":null}(h)),C=this.componentDef.signals?4608:this.componentDef.onPush?576:528;let m=null;null!==p&&(m=Rl(p,s,!0));const M=Wl(0,null,null,1,0,null,null,null,null,null,null),N=Ca(null,M,null,C,null,null,d,f,s,null,m);let $,xe;Lc(N);try{const an=this.componentDef;let Ir,Eh=null;an.findHostDirectiveDefs?(Ir=[],Eh=new Map,an.findHostDirectiveDefs(an,Ir,Eh),Ir.push(an)):Ir=[an];const ij=function eT(e,n){const t=e[E],r=z;return e[r]=n,io(t,r,2,"#host",null)}(N,p),sj=function tT(e,n,t,r,o,i,s){const a=o[E];!function nT(e,n,t,r){for(const o of e)n.mergedAttrs=Uo(n.mergedAttrs,o.hostAttrs);null!==n.mergedAttrs&&(Ea(n,n.mergedAttrs,!0),null!==t&&rm(r,t,n))}(r,e,n,s);let u=null;null!==n&&(u=Rl(n,o[Rn]));const c=i.rendererFactory.createRenderer(n,t);let l=16;t.signals?l=4096:t.onPush&&(l=64);const d=Ca(o,oy(t),null,l,o[e.index],e,i,c,null,null,u);return a.firstCreatePass&&Yl(a,e,r.length-1),wa(o,d),o[e.index]=d}(ij,p,an,Ir,N,d,f);xe=$p(M,z),p&&function oT(e,n,t,r){if(r)Cc(e,t,["ng-version",YS.full]);else{const{attrs:o,classes:i}=function LI(e){const n=[],t=[];let r=1,o=2;for(;r0&&nm(e,t,i.join(" "))}}(f,an,p,r),void 0!==t&&function iT(e,n,t){const r=e.projection=[];for(let o=0;o=0;r--){const o=e[r];o.hostVars=n+=o.hostVars,o.hostAttrs=Uo(o.hostAttrs,t=Uo(t,o.hostAttrs))}}(r)}function Ia(e){return e===zt?{}:e===Y?[]:e}function uT(e,n){const t=e.viewQuery;e.viewQuery=t?(r,o)=>{n(r,o),t(r,o)}:n}function cT(e,n){const t=e.contentQueries;e.contentQueries=t?(r,o,i)=>{n(r,o,i),t(r,o,i)}:n}function lT(e,n){const t=e.hostBindings;e.hostBindings=t?(r,o)=>{n(r,o),t(r,o)}:n}function Ty(e){const n=e.inputConfig,t={};for(const r in n)if(n.hasOwnProperty(r)){const o=n[r];Array.isArray(o)&&o[2]&&(t[r]=o[2])}e.inputTransforms=t}function Ma(e){return!!function ed(e){return null!==e&&("function"==typeof e||"object"==typeof e)}(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function Jt(e,n,t){return e[n]=t}function He(e,n,t){return!Object.is(e[n],t)&&(e[n]=t,!0)}function Kt(e,n,t,r){const o=v();return He(o,Lr(),n)&&(q(),Xt(pe(),o,e,n,t,r)),Kt}function Pt(e,n,t,r,o,i,s,a){const u=v(),c=q(),l=e+z,d=c.firstCreatePass?function FT(e,n,t,r,o,i,s,a,u){const c=n.consts,l=io(n,e,4,s||null,Fn(c,a));Zl(n,t,l,Fn(c,u)),ks(n,l);const d=l.tView=Wl(2,l,r,o,i,n.directiveRegistry,n.pipeRegistry,null,n.schemas,c,null);return null!==n.queries&&(n.queries.template(n,l),d.queries=n.queries.embeddedTView(l)),l}(l,c,u,n,t,r,o,i,s):c.data[l];Yt(d,!1);const f=$y(c,u,d,e);Fs()&&oa(c,u,f,d),Be(f,u),wa(u,u[l]=dy(f,u,f,d)),xs(d)&&Gl(c,u,d),null!=s&&ql(u,d,a)}let $y=function Uy(e,n,t,r){return kn(!0),n[V].createComment("")};function re(e,n,t){const r=v();return He(r,Lr(),n)&&function mt(e,n,t,r,o,i,s,a){const u=tt(n,t);let l,c=n.inputs;!a&&null!=c&&(l=c[r])?(Jl(e,t,l,r,o),er(n)&&function TA(e,n){const t=dt(n,e);16&t[B]||(t[B]|=64)}(t,n.index)):3&n.type&&(r=function AA(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,n.value||"",r):o,i.setProperty(u,r,o))}(q(),pe(),r,e,n,r[V],t,!1),re}function sd(e,n,t,r,o){const s=o?"class":"style";Jl(e,t,n.inputs[s],s,r)}function b(e,n,t,r){const o=v(),i=q(),s=z+e,a=o[V],u=i.firstCreatePass?function BT(e,n,t,r,o,i){const s=n.consts,u=io(n,e,2,r,Fn(s,o));return Zl(n,t,u,Fn(s,i)),null!==u.attrs&&Ea(u,u.attrs,!1),null!==u.mergedAttrs&&Ea(u,u.mergedAttrs,!0),null!==n.queries&&n.queries.elementStart(n,u),u}(s,i,o,n,t,r):i.data[s],c=zy(i,o,u,a,n,e);o[s]=c;const l=xs(u);return Yt(u,!0),rm(a,c,u),32!=(32&u.flags)&&Fs()&&oa(i,o,c,u),0===function pM(){return P.lFrame.elementDepthCount}()&&Be(c,o),function gM(){P.lFrame.elementDepthCount++}(),l&&(Gl(i,o,u),zl(i,u,o)),null!==r&&ql(o,u),b}function w(){let e=ke();Rc()?Oc():(e=e.parent,Yt(e,!1));const n=e;(function yM(e){return P.skipHydrationRootTNode===e})(n)&&function CM(){P.skipHydrationRootTNode=null}(),function mM(){P.lFrame.elementDepthCount--}();const t=q();return t.firstCreatePass&&(ks(t,e),Ec(e)&&t.queries.elementEnd(e)),null!=n.classesWithoutHost&&function kM(e){return 0!=(8&e.flags)}(n)&&sd(t,n,v(),n.classesWithoutHost,!0),null!=n.stylesWithoutHost&&function LM(e){return 0!=(16&e.flags)}(n)&&sd(t,n,v(),n.stylesWithoutHost,!1),w}function de(e,n,t,r){return b(e,n,t,r),w(),de}let zy=(e,n,t,r,o,i)=>(kn(!0),ta(r,o,function ig(){return P.lFrame.currentNamespace}()));function xa(e,n,t){const r=v(),o=q(),i=e+z,s=o.firstCreatePass?function UT(e,n,t,r,o){const i=n.consts,s=Fn(i,r),a=io(n,e,8,"ng-container",s);return null!==s&&Ea(a,s,!0),Zl(n,t,a,Fn(i,o)),null!==n.queries&&n.queries.elementStart(n,a),a}(i,o,r,n,t):o.data[i];Yt(s,!0);const a=qy(o,r,s,e);return r[i]=a,Fs()&&oa(o,r,a,s),Be(a,r),xs(s)&&(Gl(o,r,s),zl(o,s,r)),null!=t&&ql(r,s),xa}function Ra(){let e=ke();const n=q();return Rc()?Oc():(e=e.parent,Yt(e,!1)),n.firstCreatePass&&(ks(n,e),Ec(e)&&n.queries.elementEnd(e)),Ra}let qy=(e,n,t,r)=>(kn(!0),rl(n[V],""));function lr(){return v()}function Mi(e){return!!e&&"function"==typeof e.then}function Wy(e){return!!e&&"function"==typeof e.subscribe}function ge(e,n,t,r){const o=v(),i=q(),s=ke();return function Yy(e,n,t,r,o,i,s){const a=xs(r),c=e.firstCreatePass&&py(e),l=n[_e],d=hy(n);let f=!0;if(3&r.type||s){const g=tt(r,n),y=s?s(g):g,C=d.length,m=s?N=>s(ae(N[r.index])):r.index;let M=null;if(!s&&a&&(M=function qT(e,n,t,r){const o=e.cleanup;if(null!=o)for(let i=0;iu?a[u]:null}"string"==typeof s&&(i+=2)}return null}(e,n,o,r.index)),null!==M)(M.__ngLastListenerFn__||M).__ngNextListenerFn__=i,M.__ngLastListenerFn__=i,f=!1;else{i=Xy(r,n,l,i,!1);const N=t.listen(y,o,i);d.push(i,N),c&&c.push(o,m,C,C+1)}}else i=Xy(r,n,l,i,!1);const h=r.outputs;let p;if(f&&null!==h&&(p=h[o])){const g=p.length;if(g)for(let y=0;y-1?dt(e.index,n):n);let u=Qy(n,t,r,s),c=i.__ngNextListenerFn__;for(;c;)u=Qy(n,t,c,s)&&u,c=c.__ngNextListenerFn__;return o&&!1===u&&s.preventDefault(),u}}function Mt(e=1){return function SM(e){return(P.lFrame.contextLView=function AM(e,n){for(;e>0;)n=n[xr],e--;return n}(e,P.lFrame.contextLView))[_e]}(e)}function Oa(e,n){return e<<17|n<<2}function jn(e){return e>>17&32767}function ud(e){return 2|e}function dr(e){return(131068&e)>>2}function cd(e,n){return-131069&e|n<<2}function ld(e){return 1|e}function av(e,n,t,r,o){const i=e[t+1],s=null===n;let a=r?jn(i):dr(i),u=!1;for(;0!==a&&(!1===u||s);){const l=e[a+1];tN(e[a],n)&&(u=!0,e[a+1]=r?ld(l):ud(l)),a=r?jn(l):dr(l)}u&&(e[t+1]=r?ud(i):ld(i))}function tN(e,n){return null===e||null==n||(Array.isArray(e)?e[1]:e)===n||!(!Array.isArray(e)||"string"!=typeof n)&&Gr(e,n)>=0}function Pa(e,n){return function Ft(e,n,t,r){const o=v(),i=q(),s=function hn(e){const n=P.lFrame,t=n.bindingIndex;return n.bindingIndex=n.bindingIndex+e,t}(2);i.firstUpdatePass&&function mv(e,n,t,r){const o=e.data;if(null===o[t+1]){const i=o[qe()],s=function gv(e,n){return n>=e.expandoStartIndex}(e,t);(function _v(e,n){return 0!=(e.flags&(n?8:16))})(i,r)&&null===n&&!s&&(n=!1),n=function lN(e,n,t,r){const o=function Fc(e){const n=P.lFrame.currentDirectiveIndex;return-1===n?null:e[n]}(e);let i=r?n.residualClasses:n.residualStyles;if(null===o)0===(r?n.classBindings:n.styleBindings)&&(t=Si(t=dd(null,e,n,t,r),n.attrs,r),i=null);else{const s=n.directiveStylingLast;if(-1===s||e[s]!==o)if(t=dd(o,e,n,t,r),null===i){let u=function dN(e,n,t){const r=t?n.classBindings:n.styleBindings;if(0!==dr(r))return e[jn(r)]}(e,n,r);void 0!==u&&Array.isArray(u)&&(u=dd(null,e,n,u[1],r),u=Si(u,n.attrs,r),function fN(e,n,t,r){e[jn(t?n.classBindings:n.styleBindings)]=r}(e,n,r,u))}else i=function hN(e,n,t){let r;const o=n.directiveEnd;for(let i=1+n.directiveStylingLast;i0)&&(c=!0)):l=t,o)if(0!==u){const f=jn(e[a+1]);e[r+1]=Oa(f,a),0!==f&&(e[f+1]=cd(e[f+1],r)),e[a+1]=function XT(e,n){return 131071&e|n<<17}(e[a+1],r)}else e[r+1]=Oa(a,0),0!==a&&(e[a+1]=cd(e[a+1],r)),a=r;else e[r+1]=Oa(u,0),0===a?a=r:e[u+1]=cd(e[u+1],r),u=r;c&&(e[r+1]=ud(e[r+1])),av(e,l,r,!0),av(e,l,r,!1),function eN(e,n,t,r,o){const i=o?e.residualClasses:e.residualStyles;null!=i&&"string"==typeof n&&Gr(i,n)>=0&&(t[r+1]=ld(t[r+1]))}(n,l,e,r,i),s=Oa(a,u),i?n.classBindings=s:n.styleBindings=s}(o,i,n,t,s,r)}}(i,e,s,r),n!==j&&He(o,s,n)&&function vv(e,n,t,r,o,i,s,a){if(!(3&n.type))return;const u=e.data,c=u[a+1],l=function JT(e){return 1==(1&e)}(c)?Dv(u,n,t,o,dr(c),s):void 0;Fa(l)||(Fa(i)||function QT(e){return 2==(2&e)}(c)&&(i=Dv(u,null,t,o,a,s)),function Y0(e,n,t,r,o){if(n)o?e.addClass(t,r):e.removeClass(t,r);else{let i=-1===r.indexOf("-")?void 0:Ln.DashCase;null==o?e.removeStyle(t,r,i):("string"==typeof o&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=Ln.Important),e.setStyle(t,r,o,i))}}(r,s,Ps(qe(),t),o,i))}(i,i.data[qe()],o,o[V],e,o[s+1]=function yN(e,n){return null==e||""===e||("string"==typeof n?e+=n:"object"==typeof e&&(e=Se(Vn(e)))),e}(n,t),r,s)}(e,n,null,!0),Pa}function dd(e,n,t,r,o){let i=null;const s=t.directiveEnd;let a=t.directiveStylingLast;for(-1===a?a=t.directiveStart:a++;a0;){const u=e[o],c=Array.isArray(u),l=c?u[1]:u,d=null===l;let f=t[o+1];f===j&&(f=d?Y:void 0);let h=d?Wc(f,r):l===r?f:void 0;if(c&&!Fa(h)&&(h=Wc(u,r)),Fa(h)&&(a=h,s))return a;const p=e[o+1];o=s?jn(p):dr(p)}if(null!==n){let u=i?n.residualClasses:n.residualStyles;null!=u&&(a=Wc(u,r))}return a}function Fa(e){return void 0!==e}function x(e,n=""){const t=v(),r=q(),o=e+z,i=r.firstCreatePass?io(r,o,1,n,null):r.data[o],s=Cv(r,t,i,n,e);t[o]=s,Fs()&&oa(r,t,s,i),Yt(i,!1)}let Cv=(e,n,t,r,o)=>(kn(!0),function ea(e,n){return e.createText(n)}(n[V],r));function Lt(e){return fd("",e,""),Lt}function fd(e,n,t){const r=v(),o=function ao(e,n,t,r){return He(e,Lr(),t)?n+L(t)+r:j}(r,e,n,t);return o!==j&&function vn(e,n,t){const r=Ps(n,e);!function zg(e,n,t){e.setValue(n,t)}(e[V],r,t)}(r,qe(),o),fd}const vo="en-US";let Uv=vo;function gd(e,n,t,r,o){if(e=F(e),Array.isArray(e))for(let i=0;i>20;if(ar(e)||!e.multi){const h=new Ko(c,o,D),p=yd(u,n,o?l:l+f,d);-1===p?(zc(Bs(a,s),i,u),md(i,e,n.length),n.push(u),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),t.push(h),s.push(h)):(t[p]=h,s[p]=h)}else{const h=yd(u,n,l+f,d),p=yd(u,n,l,l+f),y=p>=0&&t[p];if(o&&!y||!o&&!(h>=0&&t[h])){zc(Bs(a,s),i,u);const C=function Vx(e,n,t,r,o){const i=new Ko(e,t,D);return i.multi=[],i.index=n,i.componentProviders=0,pD(i,o,r&&!t),i}(o?Lx:kx,t.length,o,r,c);!o&&y&&(t[p].providerFactory=C),md(i,e,n.length,0),n.push(u),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),t.push(C),s.push(C)}else md(i,e,h>-1?h:p,pD(t[o?p:h],c,!o&&r));!o&&r&&y&&t[p].componentProviders++}}}function md(e,n,t,r){const o=ar(n),i=function IS(e){return!!e.useClass}(n);if(o||i){const u=(i?F(n.useClass):n).prototype.ngOnDestroy;if(u){const c=e.destroyHooks||(e.destroyHooks=[]);if(!o&&n.multi){const l=c.indexOf(t);-1===l?c.push(t,[r,u]):c[l+1].push(r,u)}else c.push(t,u)}}}function pD(e,n,t){return t&&e.componentProviders++,e.multi.push(n)-1}function yd(e,n,t,r){for(let o=t;o{t.providersResolver=(r,o)=>function Fx(e,n,t){const r=q();if(r.firstCreatePass){const o=Ot(e);gd(t,r.data,r.blueprint,o,!0),gd(n,r.data,r.blueprint,o,!1)}}(r,o?o(e):e,n)}}class hr{}class gD{}class Dd extends hr{constructor(n,t,r){super(),this._parent=t,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Ey(this);const o=lt(n);this._bootstrapComponents=yn(o.bootstrap),this._r3Injector=km(n,t,[{provide:hr,useValue:this},{provide:va,useValue:this.componentFactoryResolver},...r],Se(n),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(n)}get injector(){return this._r3Injector}destroy(){const n=this._r3Injector;!n.destroyed&&n.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(n){this.destroyCbs.push(n)}}class _d extends gD{constructor(n){super(),this.moduleType=n}create(n){return new Dd(this.moduleType,n,[])}}class mD extends hr{constructor(n){super(),this.componentFactoryResolver=new Ey(this),this.instance=null;const t=new Jr([...n.providers,{provide:hr,useValue:this},{provide:va,useValue:this.componentFactoryResolver}],n.parent||da(),n.debugName,new Set(["environment"]));this.injector=t,n.runEnvironmentInitializers&&t.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}}function Cd(e,n,t=null){return new mD({providers:e,parent:n,debugName:t,runEnvironmentInitializers:!0}).injector}let Hx=(()=>{class e{constructor(t){this._injector=t,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(t){if(!t.standalone)return null;if(!this.cachedInjectors.has(t)){const r=Dm(0,t.type),o=r.length>0?Cd([r],this._injector,`Standalone[${t.type.name}]`):null;this.cachedInjectors.set(t,o)}return this.cachedInjectors.get(t)}ngOnDestroy(){try{for(const t of this.cachedInjectors.values())null!==t&&t.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=T({token:e,providedIn:"environment",factory:()=>new e(A(ht))})}return e})();function yD(e){e.getStandaloneInjector=n=>n.get(Hx).getOrCreateStandaloneInjector(e)}function Ed(e,n,t,r){return function ID(e,n,t,r,o,i){const s=n+t;return He(e,s,o)?Jt(e,s+1,i?r.call(i,o):r(o)):function Oi(e,n){const t=e[n];return t===j?void 0:t}(e,s+1)}(v(),Ge(),e,n,t,r)}function dR(){return this._results[Symbol.iterator]()}class bd{static#e=Symbol.iterator;get changes(){return this._changes||(this._changes=new ye)}constructor(n=!1){this._emitDistinctChangesOnly=n,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const t=bd.prototype;t[Symbol.iterator]||(t[Symbol.iterator]=dR)}get(n){return this._results[n]}map(n){return this._results.map(n)}filter(n){return this._results.filter(n)}find(n){return this._results.find(n)}reduce(n,t){return this._results.reduce(n,t)}forEach(n){this._results.forEach(n)}some(n){return this._results.some(n)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(n,t){const r=this;r.dirty=!1;const o=function bt(e){return e.flat(Number.POSITIVE_INFINITY)}(n);(this._changesDetected=!function XM(e,n,t){if(e.length!==n.length)return!1;for(let r=0;r0&&(t[o-1][Rt]=n),r{class e{static#e=this.__NG_ELEMENT_ID__=mR}return e})();const pR=Dn,gR=class extends pR{constructor(n,t,r){super(),this._declarationLView=n,this._declarationTContainer=t,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,t){return this.createEmbeddedViewImpl(n,t)}createEmbeddedViewImpl(n,t,r){const o=function fR(e,n,t,r){const o=n.tView,a=Ca(e,o,t,4096&e[B]?4096:16,null,n,null,null,null,r?.injector??null,r?.hydrationInfo??null);a[qo]=e[n.index];const c=e[qt];return null!==c&&(a[qt]=c.createEmbeddedView(o)),Kl(o,a,t),a}(this._declarationLView,this._declarationTContainer,n,{injector:t,hydrationInfo:r});return new _i(o)}};function mR(){return Ba(ke(),v())}function Ba(e,n){return 4&e.type?new gR(n,e,no(e,n)):null}let Vt=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=wR}return e})();function wR(){return kD(ke(),v())}const ER=Vt,PD=class extends ER{constructor(n,t,r){super(),this._lContainer=n,this._hostTNode=t,this._hostLView=r}get element(){return no(this._hostTNode,this._hostLView)}get injector(){return new We(this._hostTNode,this._hostLView)}get parentInjector(){const n=Hs(this._hostTNode,this._hostLView);if(Hc(n)){const t=ti(n,this._hostLView),r=ei(n);return new We(t[E].data[r+8],t)}return new We(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){const t=FD(this._lContainer);return null!==t&&t[n]||null}get length(){return this._lContainer.length-Pe}createEmbeddedView(n,t,r){let o,i;"number"==typeof r?o=r:null!=r&&(o=r.index,i=r.injector);const a=n.createEmbeddedViewImpl(t||{},i,null);return this.insertImpl(a,o,false),a}createComponent(n,t,r,o,i){const s=n&&!function ri(e){return"function"==typeof e}(n);let a;if(s)a=t;else{const g=t||{};a=g.index,r=g.injector,o=g.projectableNodes,i=g.environmentInjector||g.ngModuleRef}const u=s?n:new Ci(G(n)),c=r||this.parentInjector;if(!i&&null==u.ngModule){const y=(s?c:this.parentInjector).get(ht,null);y&&(i=y)}G(u.componentType??{});const h=u.create(c,o,null,i);return this.insertImpl(h.hostView,a,false),h}insert(n,t){return this.insertImpl(n,t,!1)}insertImpl(n,t,r){const o=n._lView;if(function dM(e){return ze(e[fe])}(o)){const u=this.indexOf(n);if(-1!==u)this.detach(u);else{const c=o[fe],l=new PD(c,c[je],c[fe]);l.detach(l.indexOf(n))}}const s=this._adjustIndex(t),a=this._lContainer;return hR(a,o,s,!r),n.attachToViewContainerRef(),_g(Id(a),s,n),n}move(n,t){return this.insert(n,t)}indexOf(n){const t=FD(this._lContainer);return null!==t?t.indexOf(n):-1}remove(n){const t=this._adjustIndex(n,-1),r=na(this._lContainer,t);r&&(zs(Id(this._lContainer),t),ol(r[E],r))}detach(n){const t=this._adjustIndex(n,-1),r=na(this._lContainer,t);return r&&null!=zs(Id(this._lContainer),t)?new _i(r):null}_adjustIndex(n,t=0){return n??this.length+t}};function FD(e){return e[8]}function Id(e){return e[8]||(e[8]=[])}function kD(e,n){let t;const r=n[e.index];return ze(r)?t=r:(t=dy(r,n,null,e),n[e.index]=t,wa(n,t)),LD(t,n,e,r),new PD(t,e,n)}let LD=function VD(e,n,t,r){if(e[Wt])return;let o;o=8&t.type?ae(r):function bR(e,n){const t=e[V],r=t.createComment(""),o=tt(n,e);return sr(t,ra(t,o),r,function q0(e,n){return e.nextSibling(n)}(t,o),!1),r}(n,t),e[Wt]=o};class Md{constructor(n){this.queryList=n,this.matches=null}clone(){return new Md(this.queryList)}setDirty(){this.queryList.setDirty()}}class Sd{constructor(n=[]){this.queries=n}createEmbeddedView(n){const t=n.queries;if(null!==t){const r=null!==n.contentQueries?n.contentQueries[0]:t.length,o=[];for(let i=0;i0)r.push(s[a/2]);else{const c=i[a+1],l=n[-u];for(let d=Pe;d{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((t,r)=>{this.resolve=t,this.reject=r}),this.appInits=I(kd,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const t=[];for(const o of this.appInits){const i=o();if(Mi(i))t.push(i);else if(Wy(i)){const s=new Promise((a,u)=>{i.subscribe({complete:a,error:u})});t.push(s)}}const r=()=>{this.done=!0,this.resolve()};Promise.all(t).then(()=>{r()}).catch(o=>{this.reject(o)}),0===t.length&&r(),this.initialized=!0}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),c_=(()=>{class e{log(t){console.log(t)}warn(t){console.warn(t)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();const _n=new S("LocaleId",{providedIn:"root",factory:()=>I(_n,U.Optional|U.SkipSelf)||function tO(){return typeof $localize<"u"&&$localize.locale||vo}()});let Ua=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new at(!1)}add(){this.hasPendingTasks.next(!0);const t=this.taskId++;return this.pendingTasks.add(t),t}remove(t){this.pendingTasks.delete(t),0===this.pendingTasks.size&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();class oO{constructor(n,t){this.ngModuleFactory=n,this.componentFactories=t}}let l_=(()=>{class e{compileModuleSync(t){return new _d(t)}compileModuleAsync(t){return Promise.resolve(this.compileModuleSync(t))}compileModuleAndAllComponentsSync(t){const r=this.compileModuleSync(t),i=yn(lt(t).declarations).reduce((s,a)=>{const u=G(a);return u&&s.push(new Ci(u)),s},[]);return new oO(r,i)}compileModuleAndAllComponentsAsync(t){return Promise.resolve(this.compileModuleAndAllComponentsSync(t))}clearCache(){}clearCacheFor(t){}getModuleId(t){}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const p_=new S(""),Ga=new S("");let $d,Bd=(()=>{class e{constructor(t,r,o){this._ngZone=t,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,$d||(function MO(e){$d=e}(o),o.addToWindow(r)),this._watchAngularEvents(),t.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:()=>{ue.assertNotInAngularZone(),queueMicrotask(()=>{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())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb(this._didWork)}this._didWork=!1});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(t)||(clearTimeout(r.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,r,o){let i=-1;r&&r>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==i),t(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:t,timeoutId:i,updateCb:o})}whenStable(t,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(t,r,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(t){this.registry.registerApplication(t,this)}unregisterApplication(t){this.registry.unregisterApplication(t)}findProviders(t,r,o){return[]}static#e=this.\u0275fac=function(r){return new(r||e)(A(ue),A(Hd),A(Ga))};static#t=this.\u0275prov=T({token:e,factory:e.\u0275fac})}return e})(),Hd=(()=>{class e{constructor(){this._applications=new Map}registerApplication(t,r){this._applications.set(t,r)}unregisterApplication(t){this._applications.delete(t)}unregisterAllApplications(){this._applications.clear()}getTestability(t){return this._applications.get(t)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(t,r=!0){return $d?.findTestabilityInTree(this,t,r)??null}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),Bn=null;const g_=new S("AllowMultipleToken"),Ud=new S("PlatformDestroyListeners"),zd=new S("appBootstrapListener");class y_{constructor(n,t){this.name=n,this.token=t}}function D_(e,n,t=[]){const r=`Platform: ${n}`,o=new S(r);return(i=[])=>{let s=Gd();if(!s||s.injector.get(g_,!1)){const a=[...t,...i,{provide:o,useValue:!0}];e?e(a):function TO(e){if(Bn&&!Bn.get(g_,!1))throw new _(400,!1);(function m_(){!function QI(e){Rp=e}(()=>{throw new _(600,!1)})})(),Bn=e;const n=e.get(C_);(function v_(e){e.get(bm,null)?.forEach(t=>t())})(e)}(function __(e=[],n){return gt.create({name:n,providers:[{provide:Cl,useValue:"platform"},{provide:Ud,useValue:new Set([()=>Bn=null])},...e]})}(a,r))}return function xO(e){const n=Gd();if(!n)throw new _(401,!1);return n}()}}function Gd(){return Bn?.get(C_)??null}let C_=(()=>{class e{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,r){const o=function RO(e="zone.js",n){return"noop"===e?new aA:"zone.js"===e?new ue(n):e}(r?.ngZone,function w_(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing}));return o.run(()=>{const i=function Bx(e,n,t){return new Dd(e,n,t)}(t.moduleType,this.injector,function S_(e){return[{provide:ue,useFactory:e},{provide:hi,multi:!0,useFactory:()=>{const n=I(PO,{optional:!0});return()=>n.initialize()}},{provide:M_,useFactory:OO},{provide:Hm,useFactory:$m}]}(()=>o)),s=i.injector.get(mn,null);return o.runOutsideAngular(()=>{const a=o.onError.subscribe({next:u=>{s.handleError(u)}});i.onDestroy(()=>{qa(this._modules,i),a.unsubscribe()})}),function E_(e,n,t){try{const r=t();return Mi(r)?r.catch(o=>{throw n.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw n.runOutsideAngular(()=>e.handleError(r)),r}}(s,o,()=>{const a=i.injector.get(Ld);return a.runInitializers(),a.donePromise.then(()=>(function zv(e){_t(e,"Expected localeId to be defined"),"string"==typeof e&&(Uv=e.toLowerCase().replace(/_/g,"-"))}(i.injector.get(_n,vo)||vo),this._moduleDoBootstrap(i),i))})})}bootstrapModule(t,r=[]){const o=b_({},r);return function SO(e,n,t){const r=new _d(t);return Promise.resolve(r)}(0,0,t).then(i=>this.bootstrapModuleFactory(i,o))}_moduleDoBootstrap(t){const r=t.injector.get(Co);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(o=>r.bootstrap(o));else{if(!t.instance.ngDoBootstrap)throw new _(-403,!1);t.instance.ngDoBootstrap(r)}this._modules.push(t)}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new _(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const t=this._injector.get(Ud,null);t&&(t.forEach(r=>r()),t.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(r){return new(r||e)(A(gt))};static#t=this.\u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function b_(e,n){return Array.isArray(n)?n.reduce(b_,e):{...e,...n}}let Co=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=I(M_),this.zoneIsStable=I(Hm),this.componentTypes=[],this.components=[],this.isStable=I(Ua).hasPendingTasks.pipe(Tt(t=>t?R(!1):this.zoneIsStable),function aI(e,n=Tn){return e=e??uI,Ie((t,r)=>{let o,i=!0;t.subscribe(Ee(r,s=>{const a=n(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}(),Qh()),this._injector=I(ht)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(t,r){const o=t instanceof Tm;if(!this._injector.get(Ld).done)throw!o&&function Ar(e){const n=G(e)||Oe(e)||Ue(e);return null!==n&&n.standalone}(t),new _(405,!1);let s;s=o?t:this._injector.get(va).resolveComponentFactory(t),this.componentTypes.push(s.componentType);const a=function AO(e){return e.isBoundToModule}(s)?void 0:this._injector.get(hr),c=s.create(gt.NULL,[],r||s.selector,a),l=c.location.nativeElement,d=c.injector.get(p_,null);return d?.registerApplication(l),c.onDestroy(()=>{this.detachView(c.hostView),qa(this.components,c),d?.unregisterApplication(l)}),this._loadComponent(c),c}tick(){if(this._runningTick)throw new _(101,!1);try{this._runningTick=!0;for(let t of this._views)t.detectChanges()}catch(t){this.internalErrorHandler(t)}finally{this._runningTick=!1}}attachView(t){const r=t;this._views.push(r),r.attachToAppRef(this)}detachView(t){const r=t;qa(this._views,r),r.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t);const r=this._injector.get(zd,[]);r.push(...this._bootstrapListeners),r.forEach(o=>o(t))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(t=>t()),this._views.slice().forEach(t=>t.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(t){return this._destroyListeners.push(t),()=>qa(this._destroyListeners,t)}destroy(){if(this._destroyed)throw new _(406,!1);const t=this._injector;t.destroy&&!t.destroyed&&t.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function qa(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}const M_=new S("",{providedIn:"root",factory:()=>I(mn).handleError.bind(void 0)});function OO(){const e=I(ue),n=I(mn);return t=>e.runOutsideAngular(()=>n.handleError(t))}let PO=(()=>{class e{constructor(){this.zone=I(ue),this.applicationRef=I(Co)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();let Wa=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=kO}return e})();function kO(e){return function LO(e,n,t){if(er(e)&&!t){const r=dt(e.index,n);return new _i(r,r)}return 47&e.type?new _i(n[Ce],n):null}(ke(),v(),16==(16&e))}class x_{constructor(){}supports(n){return Ma(n)}create(n){return new UO(n)}}const $O=(e,n)=>n;class UO{constructor(n){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=n||$O}forEachItem(n){let t;for(t=this._itHead;null!==t;t=t._next)n(t)}forEachOperation(n){let t=this._itHead,r=this._removalsHead,o=0,i=null;for(;t||r;){const s=!r||t&&t.currentIndex{s=this._trackByFn(o,a),null!==t&&Object.is(t.trackById,s)?(r&&(t=this._verifyReinsertion(t,a,s,o)),Object.is(t.item,a)||this._addIdentityChange(t,a)):(t=this._mismatch(t,a,s,o),r=!0),t=t._next,o++}),this.length=o;return this._truncate(t),this.collection=n,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let n;for(n=this._previousItHead=this._itHead;null!==n;n=n._next)n._nextPrevious=n._next;for(n=this._additionsHead;null!==n;n=n._nextAdded)n.previousIndex=n.currentIndex;for(this._additionsHead=this._additionsTail=null,n=this._movesHead;null!==n;n=n._nextMoved)n.previousIndex=n.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(n,t,r,o){let i;return null===n?i=this._itTail:(i=n._prev,this._remove(n)),null!==(n=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(n.item,t)||this._addIdentityChange(n,t),this._reinsertAfter(n,i,o)):null!==(n=null===this._linkedRecords?null:this._linkedRecords.get(r,o))?(Object.is(n.item,t)||this._addIdentityChange(n,t),this._moveAfter(n,i,o)):n=this._addAfter(new zO(t,r),i,o),n}_verifyReinsertion(n,t,r,o){let i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==i?n=this._reinsertAfter(i,n._prev,o):n.currentIndex!=o&&(n.currentIndex=o,this._addToMoves(n,o)),n}_truncate(n){for(;null!==n;){const t=n._next;this._addToRemovals(this._unlink(n)),n=t}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(n,t,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(n);const o=n._prevRemoved,i=n._nextRemoved;return null===o?this._removalsHead=i:o._nextRemoved=i,null===i?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(n,t,r),this._addToMoves(n,r),n}_moveAfter(n,t,r){return this._unlink(n),this._insertAfter(n,t,r),this._addToMoves(n,r),n}_addAfter(n,t,r){return this._insertAfter(n,t,r),this._additionsTail=null===this._additionsTail?this._additionsHead=n:this._additionsTail._nextAdded=n,n}_insertAfter(n,t,r){const o=null===t?this._itHead:t._next;return n._next=o,n._prev=t,null===o?this._itTail=n:o._prev=n,null===t?this._itHead=n:t._next=n,null===this._linkedRecords&&(this._linkedRecords=new R_),this._linkedRecords.put(n),n.currentIndex=r,n}_remove(n){return this._addToRemovals(this._unlink(n))}_unlink(n){null!==this._linkedRecords&&this._linkedRecords.remove(n);const t=n._prev,r=n._next;return null===t?this._itHead=r:t._next=r,null===r?this._itTail=t:r._prev=t,n}_addToMoves(n,t){return n.previousIndex===t||(this._movesTail=null===this._movesTail?this._movesHead=n:this._movesTail._nextMoved=n),n}_addToRemovals(n){return null===this._unlinkedRecords&&(this._unlinkedRecords=new R_),this._unlinkedRecords.put(n),n.currentIndex=null,n._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=n,n._prevRemoved=null):(n._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=n),n}_addIdentityChange(n,t){return n.item=t,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=n:this._identityChangesTail._nextIdentityChange=n,n}}class zO{constructor(n,t){this.item=n,this.trackById=t,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class GO{constructor(){this._head=null,this._tail=null}add(n){null===this._head?(this._head=this._tail=n,n._nextDup=null,n._prevDup=null):(this._tail._nextDup=n,n._prevDup=this._tail,n._nextDup=null,this._tail=n)}get(n,t){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===t||t<=r.currentIndex)&&Object.is(r.trackById,n))return r;return null}remove(n){const t=n._prevDup,r=n._nextDup;return null===t?this._head=r:t._nextDup=r,null===r?this._tail=t:r._prevDup=t,null===this._head}}class R_{constructor(){this.map=new Map}put(n){const t=n.trackById;let r=this.map.get(t);r||(r=new GO,this.map.set(t,r)),r.add(n)}get(n,t){const o=this.map.get(n);return o?o.get(n,t):null}remove(n){const t=n.trackById;return this.map.get(t).remove(n)&&this.map.delete(t),n}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function O_(e,n,t){const r=e.previousIndex;if(null===r)return r;let o=0;return t&&r{class e{static#e=this.\u0275prov=T({token:e,providedIn:"root",factory:F_});constructor(t){this.factories=t}static create(t,r){if(null!=r){const o=r.factories.slice();t=t.concat(o)}return new e(t)}static extend(t){return{provide:e,useFactory:r=>e.create(t,r||F_()),deps:[[e,new Ws,new qs]]}}find(t){const r=this.factories.find(o=>o.supports(t));if(null!=r)return r;throw new _(901,!1)}}return e})();const QO=D_(null,"core",[]);let XO=(()=>{class e{constructor(t){}static#e=this.\u0275fac=function(r){return new(r||e)(A(Co))};static#t=this.\u0275mod=Ct({type:e});static#n=this.\u0275inj=ct({})}return e})();function wo(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}let Xd=null;function Hn(){return Xd}class d1{}const yt=new S("DocumentToken");let Jd=(()=>{class e{historyGo(t){throw new Error("Not implemented")}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=T({token:e,factory:function(){return I(h1)},providedIn:"platform"})}return e})();const f1=new S("Location Initialized");let h1=(()=>{class e extends Jd{constructor(){super(),this._doc=I(yt),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Hn().getBaseHref(this._doc)}onPopState(t){const r=Hn().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",t,!1),()=>r.removeEventListener("popstate",t)}onHashChange(t){const r=Hn().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",t,!1),()=>r.removeEventListener("hashchange",t)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(t){this._location.pathname=t}pushState(t,r,o){this._history.pushState(t,r,o)}replaceState(t,r,o){this._history.replaceState(t,r,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(t=0){this._history.go(t)}getState(){return this._history.state}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=T({token:e,factory:function(){return new e},providedIn:"platform"})}return e})();function Kd(e,n){if(0==e.length)return n;if(0==n.length)return e;let t=0;return e.endsWith("/")&&t++,n.startsWith("/")&&t++,2==t?e+n.substring(1):1==t?e+n:e+"/"+n}function G_(e){const n=e.match(/#|\?|$/),t=n&&n.index||e.length;return e.slice(0,t-("/"===e[t-1]?1:0))+e.slice(t)}function Cn(e){return e&&"?"!==e[0]?"?"+e:e}let gr=(()=>{class e{historyGo(t){throw new Error("Not implemented")}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=T({token:e,factory:function(){return I(W_)},providedIn:"root"})}return e})();const q_=new S("appBaseHref");let W_=(()=>{class e extends gr{constructor(t,r){super(),this._platformLocation=t,this._removeListenerFns=[],this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??I(yt).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return Kd(this._baseHref,t)}path(t=!1){const r=this._platformLocation.pathname+Cn(this._platformLocation.search),o=this._platformLocation.hash;return o&&t?`${r}${o}`:r}pushState(t,r,o,i){const s=this.prepareExternalUrl(o+Cn(i));this._platformLocation.pushState(t,r,s)}replaceState(t,r,o,i){const s=this.prepareExternalUrl(o+Cn(i));this._platformLocation.replaceState(t,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}static#e=this.\u0275fac=function(r){return new(r||e)(A(Jd),A(q_,8))};static#t=this.\u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),p1=(()=>{class e extends gr{constructor(t,r){super(),this._platformLocation=t,this._baseHref="",this._removeListenerFns=[],null!=r&&(this._baseHref=r)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}path(t=!1){let r=this._platformLocation.hash;return null==r&&(r="#"),r.length>0?r.substring(1):r}prepareExternalUrl(t){const r=Kd(this._baseHref,t);return r.length>0?"#"+r:r}pushState(t,r,o,i){let s=this.prepareExternalUrl(o+Cn(i));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(t,r,s)}replaceState(t,r,o,i){let s=this.prepareExternalUrl(o+Cn(i));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(t,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}static#e=this.\u0275fac=function(r){return new(r||e)(A(Jd),A(q_,8))};static#t=this.\u0275prov=T({token:e,factory:e.\u0275fac})}return e})(),ef=(()=>{class e{constructor(t){this._subject=new ye,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=t;const r=this._locationStrategy.getBaseHref();this._basePath=function y1(e){if(new RegExp("^(https?:)?//").test(e)){const[,t]=e.split(/\/\/[^\/]+/);return t}return e}(G_(Z_(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(t=!1){return this.normalize(this._locationStrategy.path(t))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(t,r=""){return this.path()==this.normalize(t+Cn(r))}normalize(t){return e.stripTrailingSlash(function m1(e,n){if(!e||!n.startsWith(e))return n;const t=n.substring(e.length);return""===t||["/",";","?","#"].includes(t[0])?t:n}(this._basePath,Z_(t)))}prepareExternalUrl(t){return t&&"/"!==t[0]&&(t="/"+t),this._locationStrategy.prepareExternalUrl(t)}go(t,r="",o=null){this._locationStrategy.pushState(o,"",t,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+Cn(r)),o)}replaceState(t,r="",o=null){this._locationStrategy.replaceState(o,"",t,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+Cn(r)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(t=0){this._locationStrategy.historyGo?.(t)}onUrlChange(t){return this._urlChangeListeners.push(t),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)})),()=>{const r=this._urlChangeListeners.indexOf(t);this._urlChangeListeners.splice(r,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(t="",r){this._urlChangeListeners.forEach(o=>o(t,r))}subscribe(t,r,o){return this._subject.subscribe({next:t,error:r,complete:o})}static#e=this.normalizeQueryParams=Cn;static#t=this.joinWithSlash=Kd;static#n=this.stripTrailingSlash=G_;static#r=this.\u0275fac=function(r){return new(r||e)(A(gr))};static#o=this.\u0275prov=T({token:e,factory:function(){return function g1(){return new ef(A(gr))}()},providedIn:"root"})}return e})();function Z_(e){return e.replace(/\/index.html$/,"")}function rC(e,n){n=encodeURIComponent(n);for(const t of e.split(";")){const r=t.indexOf("="),[o,i]=-1==r?[t,""]:[t.slice(0,r),t.slice(r+1)];if(o.trim()===n)return decodeURIComponent(i)}return null}class rP{constructor(n,t,r,o){this.$implicit=n,this.ngForOf=t,this.index=r,this.count=o}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let sC=(()=>{class e{set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}constructor(t,r,o){this._viewContainer=t,this._template=r,this._differs=o,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const t=this._ngForOf;!this._differ&&t&&(this._differ=this._differs.find(t).create(this.ngForTrackBy))}if(this._differ){const t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){const r=this._viewContainer;t.forEachOperation((o,i,s)=>{if(null==o.previousIndex)r.createEmbeddedView(this._template,new rP(o.item,this._ngForOf,-1,-1),null===s?void 0:s);else if(null==s)r.remove(null===i?void 0:i);else if(null!==i){const a=r.get(i);r.move(a,s),aC(a,o)}});for(let o=0,i=r.length;o{aC(r.get(o.currentIndex),o)})}static ngTemplateContextGuard(t,r){return!0}static#e=this.\u0275fac=function(r){return new(r||e)(D(Vt),D(Dn),D(Qa))};static#t=this.\u0275dir=k({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return e})();function aC(e,n){e.context.$implicit=n.item}let Bi=(()=>{class e{constructor(t,r){this._viewContainer=t,this._context=new oP,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=r}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){uC("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){uC("ngIfElse",t),this._elseTemplateRef=t,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(t,r){return!0}static#e=this.\u0275fac=function(r){return new(r||e)(D(Vt),D(Dn))};static#t=this.\u0275dir=k({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return e})();class oP{constructor(){this.$implicit=null,this.ngIf=null}}function uC(e,n){if(n&&!n.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${Se(n)}'.`)}let TP=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Ct({type:e});static#n=this.\u0275inj=ct({})}return e})();function fC(e){return"server"===e}let OP=(()=>{class e{static#e=this.\u0275prov=T({token:e,providedIn:"root",factory:()=>new PP(A(yt),window)})}return e})();class PP{constructor(n,t){this.document=n,this.window=t,this.offset=()=>[0,0]}setOffset(n){this.offset=Array.isArray(n)?()=>n:n}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(n){this.supportsScrolling()&&this.window.scrollTo(n[0],n[1])}scrollToAnchor(n){if(!this.supportsScrolling())return;const t=function FP(e,n){const t=e.getElementById(n)||e.getElementsByName(n)[0];if(t)return t;if("function"==typeof e.createTreeWalker&&e.body&&"function"==typeof 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(n)||i.querySelector(`[name="${n}"]`);if(s)return s}o=r.nextNode()}}return null}(this.document,n);t&&(this.scrollToElement(t),t.focus())}setHistoryScrollRestoration(n){this.supportsScrolling()&&(this.window.history.scrollRestoration=n)}scrollToElement(n){const t=n.getBoundingClientRect(),r=t.left+this.window.pageXOffset,o=t.top+this.window.pageYOffset,i=this.offset();this.window.scrollTo(r-i[0],o-i[1])}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}class hC{}class oF extends d1{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class Df extends oF{static makeCurrent(){!function l1(e){Xd||(Xd=e)}(new Df)}onAndCancel(n,t,r){return n.addEventListener(t,r),()=>{n.removeEventListener(t,r)}}dispatchEvent(n,t){n.dispatchEvent(t)}remove(n){n.parentNode&&n.parentNode.removeChild(n)}createElement(n,t){return(t=t||this.getDefaultDocument()).createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,t){return"window"===t?window:"document"===t?n:"body"===t?n.body:null}getBaseHref(n){const t=function iF(){return $i=$i||document.querySelector("base"),$i?$i.getAttribute("href"):null}();return null==t?null:function sF(e){lu=lu||document.createElement("a"),lu.setAttribute("href",e);const n=lu.pathname;return"/"===n.charAt(0)?n:`/${n}`}(t)}resetBaseElement(){$i=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return rC(document.cookie,n)}}let lu,$i=null,uF=(()=>{class e{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=T({token:e,factory:e.\u0275fac})}return e})();const _f=new S("EventManagerPlugins");let vC=(()=>{class e{constructor(t,r){this._zone=r,this._eventNameToPlugin=new Map,t.forEach(o=>{o.manager=this}),this._plugins=t.slice().reverse()}addEventListener(t,r,o){return this._findPluginFor(r).addEventListener(t,r,o)}getZone(){return this._zone}_findPluginFor(t){let r=this._eventNameToPlugin.get(t);if(r)return r;if(r=this._plugins.find(i=>i.supports(t)),!r)throw new _(5101,!1);return this._eventNameToPlugin.set(t,r),r}static#e=this.\u0275fac=function(r){return new(r||e)(A(_f),A(ue))};static#t=this.\u0275prov=T({token:e,factory:e.\u0275fac})}return e})();class DC{constructor(n){this._doc=n}}const Cf="ng-app-id";let _C=(()=>{class e{constructor(t,r,o,i={}){this.doc=t,this.appId=r,this.nonce=o,this.platformId=i,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=fC(i),this.resetHostNodes()}addStyles(t){for(const r of t)1===this.changeUsageCount(r,1)&&this.onStyleAdded(r)}removeStyles(t){for(const r of t)this.changeUsageCount(r,-1)<=0&&this.onStyleRemoved(r)}ngOnDestroy(){const t=this.styleNodesInDOM;t&&(t.forEach(r=>r.remove()),t.clear());for(const r of this.getAllStyles())this.onStyleRemoved(r);this.resetHostNodes()}addHost(t){this.hostNodes.add(t);for(const r of this.getAllStyles())this.addStyleToHost(t,r)}removeHost(t){this.hostNodes.delete(t)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(t){for(const r of this.hostNodes)this.addStyleToHost(r,t)}onStyleRemoved(t){const r=this.styleRef;r.get(t)?.elements?.forEach(o=>o.remove()),r.delete(t)}collectServerRenderedStyles(){const t=this.doc.head?.querySelectorAll(`style[${Cf}="${this.appId}"]`);if(t?.length){const r=new Map;return t.forEach(o=>{null!=o.textContent&&r.set(o.textContent,o)}),r}return null}changeUsageCount(t,r){const o=this.styleRef;if(o.has(t)){const i=o.get(t);return i.usage+=r,i.usage}return o.set(t,{usage:r,elements:[]}),r}getStyleElement(t,r){const o=this.styleNodesInDOM,i=o?.get(r);if(i?.parentNode===t)return o.delete(r),i.removeAttribute(Cf),i;{const s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=r,this.platformIsServer&&s.setAttribute(Cf,this.appId),s}}addStyleToHost(t,r){const o=this.getStyleElement(t,r);t.appendChild(o);const i=this.styleRef,s=i.get(r)?.elements;s?s.push(o):i.set(r,{elements:[o],usage:1})}resetHostNodes(){const t=this.hostNodes;t.clear(),t.add(this.doc.head)}static#e=this.\u0275fac=function(r){return new(r||e)(A(yt),A(fa),A(Im,8),A(ur))};static#t=this.\u0275prov=T({token:e,factory:e.\u0275fac})}return e})();const wf={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/"},Ef=/%COMP%/g,fF=new S("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!1});function wC(e,n){return n.map(t=>t.replace(Ef,e))}let EC=(()=>{class e{constructor(t,r,o,i,s,a,u,c=null){this.eventManager=t,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=i,this.doc=s,this.platformId=a,this.ngZone=u,this.nonce=c,this.rendererByCompId=new Map,this.platformIsServer=fC(a),this.defaultRenderer=new bf(t,s,u,this.platformIsServer)}createRenderer(t,r){if(!t||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===Nt.ShadowDom&&(r={...r,encapsulation:Nt.Emulated});const o=this.getOrCreateRenderer(t,r);return o instanceof IC?o.applyToHost(t):o instanceof If&&o.applyStyles(),o}getOrCreateRenderer(t,r){const o=this.rendererByCompId;let i=o.get(r.id);if(!i){const s=this.doc,a=this.ngZone,u=this.eventManager,c=this.sharedStylesHost,l=this.removeStylesOnCompDestroy,d=this.platformIsServer;switch(r.encapsulation){case Nt.Emulated:i=new IC(u,c,r,this.appId,l,s,a,d);break;case Nt.ShadowDom:return new mF(u,c,t,r,s,a,this.nonce,d);default:i=new If(u,c,r,l,s,a,d)}o.set(r.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(r){return new(r||e)(A(vC),A(_C),A(fa),A(fF),A(yt),A(ur),A(ue),A(Im))};static#t=this.\u0275prov=T({token:e,factory:e.\u0275fac})}return e})();class bf{constructor(n,t,r,o){this.eventManager=n,this.doc=t,this.ngZone=r,this.platformIsServer=o,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(n,t){return t?this.doc.createElementNS(wf[t]||t,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,t){(bC(n)?n.content:n).appendChild(t)}insertBefore(n,t,r){n&&(bC(n)?n.content:n).insertBefore(t,r)}removeChild(n,t){n&&n.removeChild(t)}selectRootElement(n,t){let r="string"==typeof n?this.doc.querySelector(n):n;if(!r)throw new _(-5104,!1);return t||(r.textContent=""),r}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,t,r,o){if(o){t=o+":"+t;const i=wf[o];i?n.setAttributeNS(i,t,r):n.setAttribute(t,r)}else n.setAttribute(t,r)}removeAttribute(n,t,r){if(r){const o=wf[r];o?n.removeAttributeNS(o,t):n.removeAttribute(`${r}:${t}`)}else n.removeAttribute(t)}addClass(n,t){n.classList.add(t)}removeClass(n,t){n.classList.remove(t)}setStyle(n,t,r,o){o&(Ln.DashCase|Ln.Important)?n.style.setProperty(t,r,o&Ln.Important?"important":""):n.style[t]=r}removeStyle(n,t,r){r&Ln.DashCase?n.style.removeProperty(t):n.style[t]=""}setProperty(n,t,r){n[t]=r}setValue(n,t){n.nodeValue=t}listen(n,t,r){if("string"==typeof n&&!(n=Hn().getGlobalEventTarget(this.doc,n)))throw new Error(`Unsupported event target ${n} for event ${t}`);return this.eventManager.addEventListener(n,t,this.decoratePreventDefault(r))}decoratePreventDefault(n){return t=>{if("__ngUnwrap__"===t)return n;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>n(t)):n(t))&&t.preventDefault()}}}function bC(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class mF extends bf{constructor(n,t,r,o,i,s,a,u){super(n,i,s,u),this.sharedStylesHost=t,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const c=wC(o.id,o.styles);for(const l of c){const d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=l,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,t){return super.appendChild(this.nodeOrShadowRoot(n),t)}insertBefore(n,t,r){return super.insertBefore(this.nodeOrShadowRoot(n),t,r)}removeChild(n,t){return super.removeChild(this.nodeOrShadowRoot(n),t)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class If extends bf{constructor(n,t,r,o,i,s,a,u){super(n,i,s,a),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=o,this.styles=u?wC(u,r.styles):r.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class IC extends If{constructor(n,t,r,o,i,s,a,u){const c=o+"-"+r.id;super(n,t,r,i,s,a,u,c),this.contentAttr=function hF(e){return"_ngcontent-%COMP%".replace(Ef,e)}(c),this.hostAttr=function pF(e){return"_nghost-%COMP%".replace(Ef,e)}(c)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,t){const r=super.createElement(n,t);return super.setAttribute(r,this.contentAttr,""),r}}let yF=(()=>{class e extends DC{constructor(t){super(t)}supports(t){return!0}addEventListener(t,r,o){return t.addEventListener(r,o,!1),()=>this.removeEventListener(t,r,o)}removeEventListener(t,r,o){return t.removeEventListener(r,o)}static#e=this.\u0275fac=function(r){return new(r||e)(A(yt))};static#t=this.\u0275prov=T({token:e,factory:e.\u0275fac})}return e})();const MC=["alt","control","meta","shift"],vF={"\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"},DF={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let _F=(()=>{class e extends DC{constructor(t){super(t)}supports(t){return null!=e.parseEventName(t)}addEventListener(t,r,o){const i=e.parseEventName(r),s=e.eventCallback(i.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Hn().onAndCancel(t,i.domEventName,s))}static parseEventName(t){const r=t.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."),MC.forEach(c=>{const l=r.indexOf(c);l>-1&&(r.splice(l,1),s+=c+".")}),s+=i,0!=r.length||0===i.length)return null;const u={};return u.domEventName=o,u.fullKey=s,u}static matchEventFullKeyCode(t,r){let o=vF[t.key]||t.key,i="";return r.indexOf("code.")>-1&&(o=t.code,i="code."),!(null==o||!o)&&(o=o.toLowerCase()," "===o?o="space":"."===o&&(o="dot"),MC.forEach(s=>{s!==o&&(0,DF[s])(t)&&(i+=s+".")}),i+=o,i===r)}static eventCallback(t,r,o){return i=>{e.matchEventFullKeyCode(i,t)&&o.runGuarded(()=>r(i))}}static _normalizeKey(t){return"esc"===t?"escape":t}static#e=this.\u0275fac=function(r){return new(r||e)(A(yt))};static#t=this.\u0275prov=T({token:e,factory:e.\u0275fac})}return e})();const bF=D_(QO,"browser",[{provide:ur,useValue:"browser"},{provide:bm,useValue:function CF(){Df.makeCurrent()},multi:!0},{provide:yt,useFactory:function EF(){return function eS(e){dl=e}(document),document},deps:[]}]),IF=new S(""),TC=[{provide:Ga,useClass:class aF{addToWindow(n){se.getAngularTestability=(r,o=!0)=>{const i=n.findTestabilityInTree(r,o);if(null==i)throw new _(5103,!1);return i},se.getAllAngularTestabilities=()=>n.getAllTestabilities(),se.getAllAngularRootElements=()=>n.getAllRootElements(),se.frameworkStabilizers||(se.frameworkStabilizers=[]),se.frameworkStabilizers.push(r=>{const o=se.getAllAngularTestabilities();let i=o.length,s=!1;const a=function(u){s=s||u,i--,0==i&&r(s)};o.forEach(u=>{u.whenStable(a)})})}findTestabilityInTree(n,t,r){return null==t?null:n.getTestability(t)??(r?Hn().isShadowRoot(t)?this.findTestabilityInTree(n,t.host,!0):this.findTestabilityInTree(n,t.parentElement,!0):null)}},deps:[]},{provide:p_,useClass:Bd,deps:[ue,Hd,Ga]},{provide:Bd,useClass:Bd,deps:[ue,Hd,Ga]}],NC=[{provide:Cl,useValue:"root"},{provide:mn,useFactory:function wF(){return new mn},deps:[]},{provide:_f,useClass:yF,multi:!0,deps:[yt,ue,ur]},{provide:_f,useClass:_F,multi:!0,deps:[yt]},EC,_C,vC,{provide:xm,useExisting:EC},{provide:hC,useClass:uF,deps:[]},[]];let MF=(()=>{class e{constructor(t){}static withServerTransition(t){return{ngModule:e,providers:[{provide:fa,useValue:t.appId}]}}static#e=this.\u0275fac=function(r){return new(r||e)(A(IF,12))};static#t=this.\u0275mod=Ct({type:e});static#n=this.\u0275inj=ct({providers:[...NC,...TC],imports:[TP,XO]})}return e})(),xC=(()=>{class e{constructor(t){this._doc=t}getTitle(){return this._doc.title}setTitle(t){this._doc.title=t||""}static#e=this.\u0275fac=function(r){return new(r||e)(A(yt))};static#t=this.\u0275prov=T({token:e,factory:function(r){let o=null;return o=r?new r:function AF(){return new xC(A(yt))}(),o},providedIn:"root"})}return e})();typeof window<"u"&&window;const{isArray:OF}=Array,{getPrototypeOf:PF,prototype:FF,keys:kF}=Object;function FC(e){if(1===e.length){const n=e[0];if(OF(n))return{args:n,keys:null};if(function LF(e){return e&&"object"==typeof e&&PF(e)===FF}(n)){const t=kF(n);return{args:t.map(r=>n[r]),keys:t}}}return{args:e,keys:null}}const{isArray:VF}=Array;function kC(e){return Z(n=>function jF(e,n){return VF(n)?e(...n):e(n)}(e,n))}function LC(e,n){return e.reduce((t,r,o)=>(t[r]=n[o],t),{})}let VC=(()=>{class e{constructor(t,r){this._renderer=t,this._elementRef=r,this.onChange=o=>{},this.onTouched=()=>{}}setProperty(t,r){this._renderer.setProperty(this._elementRef.nativeElement,t,r)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}static#e=this.\u0275fac=function(r){return new(r||e)(D(gn),D(pt))};static#t=this.\u0275dir=k({type:e})}return e})(),mr=(()=>{class e extends VC{static#e=this.\u0275fac=function(){let t;return function(o){return(t||(t=Le(e)))(o||e)}}();static#t=this.\u0275dir=k({type:e,features:[ee]})}return e})();const nn=new S("NgValueAccessor"),$F={provide:nn,useExisting:ie(()=>Ui),multi:!0},zF=new S("CompositionEventMode");let Ui=(()=>{class e extends VC{constructor(t,r,o){super(t,r),this._compositionMode=o,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function UF(){const e=Hn()?Hn().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(t){this.setProperty("value",t??"")}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}static#e=this.\u0275fac=function(r){return new(r||e)(D(gn),D(pt),D(zF,8))};static#t=this.\u0275dir=k({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(r,o){1&r&&ge("input",function(s){return o._handleInput(s.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(s){return o._compositionEnd(s.target.value)})},features:[he([$F]),ee]})}return e})();function Un(e){return null==e||("string"==typeof e||Array.isArray(e))&&0===e.length}function BC(e){return null!=e&&"number"==typeof e.length}const $e=new S("NgValidators"),zn=new S("NgAsyncValidators"),GF=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class bn{static min(n){return function HC(e){return n=>{if(Un(n.value)||Un(e))return null;const t=parseFloat(n.value);return!isNaN(t)&&t{if(Un(n.value)||Un(e))return null;const t=parseFloat(n.value);return!isNaN(t)&&t>e?{max:{max:e,actual:n.value}}:null}}(n)}static required(n){return UC(n)}static requiredTrue(n){return function zC(e){return!0===e.value?null:{required:!0}}(n)}static email(n){return GC(n)}static minLength(n){return qC(n)}static maxLength(n){return function WC(e){return n=>BC(n.value)&&n.value.length>e?{maxlength:{requiredLength:e,actualLength:n.value.length}}:null}(n)}static pattern(n){return function ZC(e){if(!e)return du;let n,t;return"string"==typeof e?(t="","^"!==e.charAt(0)&&(t+="^"),t+=e,"$"!==e.charAt(e.length-1)&&(t+="$"),n=new RegExp(t)):(t=e.toString(),n=e),r=>{if(Un(r.value))return null;const o=r.value;return n.test(o)?null:{pattern:{requiredPattern:t,actualValue:o}}}}(n)}static nullValidator(n){return null}static compose(n){return ew(n)}static composeAsync(n){return tw(n)}}function UC(e){return Un(e.value)?{required:!0}:null}function GC(e){return Un(e.value)||GF.test(e.value)?null:{email:!0}}function qC(e){return n=>Un(n.value)||!BC(n.value)?null:n.value.length{n=null!=t?{...n,...t}:n}),0===Object.keys(n).length?null:n}function JC(e,n){return n.map(t=>t(e))}function KC(e){return e.map(n=>function qF(e){return!e.validate}(n)?n:t=>n.validate(t))}function ew(e){if(!e)return null;const n=e.filter(YC);return 0==n.length?null:function(t){return XC(JC(t,n))}}function Sf(e){return null!=e?ew(KC(e)):null}function tw(e){if(!e)return null;const n=e.filter(YC);return 0==n.length?null:function(t){return function BF(...e){const n=qh(e),{args:t,keys:r}=FC(e),o=new De(i=>{const{length:s}=t;if(!s)return void i.complete();const a=new Array(s);let u=s,c=s;for(let l=0;l{d||(d=!0,c--),a[l]=f},()=>u--,void 0,()=>{(!u||!d)&&(c||i.next(r?LC(r,a):a),i.complete())}))}});return n?o.pipe(kC(n)):o}(JC(t,n).map(QC)).pipe(Z(XC))}}function Af(e){return null!=e?tw(KC(e)):null}function nw(e,n){return null===e?[n]:Array.isArray(e)?[...e,n]:[e,n]}function rw(e){return e._rawValidators}function ow(e){return e._rawAsyncValidators}function Tf(e){return e?Array.isArray(e)?e:[e]:[]}function fu(e,n){return Array.isArray(e)?e.includes(n):e===n}function iw(e,n){const t=Tf(n);return Tf(e).forEach(o=>{fu(t,o)||t.push(o)}),t}function sw(e,n){return Tf(n).filter(t=>!fu(e,t))}class aw{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(n){this._rawValidators=n||[],this._composedValidatorFn=Sf(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=Af(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(n){this._onDestroyCallbacks.push(n)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(n=>n()),this._onDestroyCallbacks=[]}reset(n=void 0){this.control&&this.control.reset(n)}hasError(n,t){return!!this.control&&this.control.hasError(n,t)}getError(n,t){return this.control?this.control.getError(n,t):null}}class Xe extends aw{get formDirective(){return null}get path(){return null}}class Gn extends aw{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class uw{constructor(n){this._cd=n}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let Nf=(()=>{class e extends uw{constructor(t){super(t)}static#e=this.\u0275fac=function(r){return new(r||e)(D(Gn,2))};static#t=this.\u0275dir=k({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(r,o){2&r&&Pa("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)},features:[ee]})}return e})(),hu=(()=>{class e extends uw{constructor(t){super(t)}static#e=this.\u0275fac=function(r){return new(r||e)(D(Xe,10))};static#t=this.\u0275dir=k({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(r,o){2&r&&Pa("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)("ng-submitted",o.isSubmitted)},features:[ee]})}return e})();const zi="VALID",gu="INVALID",bo="PENDING",Gi="DISABLED";function Of(e){return(mu(e)?e.validators:e)||null}function Pf(e,n){return(mu(n)?n.asyncValidators:e)||null}function mu(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}class fw{constructor(n,t){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(n),this._assignAsyncValidators(t)}get validator(){return this._composedValidatorFn}set validator(n){this._rawValidators=this._composedValidatorFn=n}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(n){this._rawAsyncValidators=this._composedAsyncValidatorFn=n}get parent(){return this._parent}get valid(){return this.status===zi}get invalid(){return this.status===gu}get pending(){return this.status==bo}get disabled(){return this.status===Gi}get enabled(){return this.status!==Gi}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._assignValidators(n)}setAsyncValidators(n){this._assignAsyncValidators(n)}addValidators(n){this.setValidators(iw(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(iw(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(sw(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(sw(n,this._rawAsyncValidators))}hasValidator(n){return fu(this._rawValidators,n)}hasAsyncValidator(n){return fu(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){this.touched=!0,this._parent&&!n.onlySelf&&this._parent.markAsTouched(n)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(n=>n.markAllAsTouched())}markAsUntouched(n={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(t=>{t.markAsUntouched({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}markAsDirty(n={}){this.pristine=!1,this._parent&&!n.onlySelf&&this._parent.markAsDirty(n)}markAsPristine(n={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(t=>{t.markAsPristine({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}markAsPending(n={}){this.status=bo,!1!==n.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!n.onlySelf&&this._parent.markAsPending(n)}disable(n={}){const t=this._parentMarkedDirty(n.onlySelf);this.status=Gi,this.errors=null,this._forEachChild(r=>{r.disable({...n,onlySelf:!0})}),this._updateValue(),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...n,skipPristineCheck:t}),this._onDisabledChange.forEach(r=>r(!0))}enable(n={}){const t=this._parentMarkedDirty(n.onlySelf);this.status=zi,this._forEachChild(r=>{r.enable({...n,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors({...n,skipPristineCheck:t}),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(n){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===zi||this.status===bo)&&this._runAsyncValidator(n.emitEvent)),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity(n)}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Gi:zi}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n){if(this.asyncValidator){this.status=bo,this._hasOwnPendingAsyncValidator=!0;const t=QC(this.asyncValidator(this));this._asyncValidationSubscription=t.subscribe(r=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(r,{emitEvent:n})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(n,t={}){this.errors=n,this._updateControlsErrors(!1!==t.emitEvent)}get(n){let t=n;return null==t||(Array.isArray(t)||(t=t.split(".")),0===t.length)?null:t.reduce((r,o)=>r&&r._find(o),this)}getError(n,t){const r=t?this.get(t):this;return r&&r.errors?r.errors[n]:null}hasError(n,t){return!!this.getError(n,t)}get root(){let n=this;for(;n._parent;)n=n._parent;return n}_updateControlsErrors(n){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(n)}_initObservables(){this.valueChanges=new ye,this.statusChanges=new ye}_calculateStatus(){return this._allControlsDisabled()?Gi:this.errors?gu:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(bo)?bo:this._anyControlsHaveStatus(gu)?gu:zi}_anyControlsHaveStatus(n){return this._anyControls(t=>t.status===n)}_anyControlsDirty(){return this._anyControls(n=>n.dirty)}_anyControlsTouched(){return this._anyControls(n=>n.touched)}_updatePristine(n={}){this.pristine=!this._anyControlsDirty(),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}_updateTouched(n={}){this.touched=this._anyControlsTouched(),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){mu(n)&&null!=n.updateOn&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){return!n&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(n){return null}_assignValidators(n){this._rawValidators=Array.isArray(n)?n.slice():n,this._composedValidatorFn=function QF(e){return Array.isArray(e)?Sf(e):e||null}(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=function XF(e){return Array.isArray(e)?Af(e):e||null}(this._rawAsyncValidators)}}class qi extends fw{constructor(n,t,r){super(Of(t),Pf(r,t)),this.controls=n,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(n,t){return this.controls[n]?this.controls[n]:(this.controls[n]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}addControl(n,t,r={}){this.registerControl(n,t),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}removeControl(n,t={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}setControl(n,t,r={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],t&&this.registerControl(n,t),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}contains(n){return this.controls.hasOwnProperty(n)&&this.controls[n].enabled}setValue(n,t={}){(function dw(e,n,t){e._forEachChild((r,o)=>{if(void 0===t[o])throw new _(1002,"")})})(this,0,n),Object.keys(n).forEach(r=>{(function lw(e,n,t){const r=e.controls;if(!(n?Object.keys(r):r).length)throw new _(1e3,"");if(!r[t])throw new _(1001,"")})(this,!0,r),this.controls[r].setValue(n[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(n,t={}){null!=n&&(Object.keys(n).forEach(r=>{const o=this.controls[r];o&&o.patchValue(n[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(n={},t={}){this._forEachChild((r,o)=>{r.reset(n?n[o]:null,{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this._reduceChildren({},(n,t,r)=>(n[r]=t.getRawValue(),n))}_syncPendingControls(){let n=this._reduceChildren(!1,(t,r)=>!!r._syncPendingControls()||t);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){Object.keys(this.controls).forEach(t=>{const r=this.controls[t];r&&n(r,t)})}_setUpControls(){this._forEachChild(n=>{n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(n){for(const[t,r]of Object.entries(this.controls))if(this.contains(t)&&n(r))return!0;return!1}_reduceValue(){return this._reduceChildren({},(t,r,o)=>((r.enabled||this.disabled)&&(t[o]=r.value),t))}_reduceChildren(n,t){let r=n;return this._forEachChild((o,i)=>{r=t(r,o,i)}),r}_allControlsDisabled(){for(const n of Object.keys(this.controls))if(this.controls[n].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(n){return this.controls.hasOwnProperty(n)?this.controls[n]:null}}const yr=new S("CallSetDisabledState",{providedIn:"root",factory:()=>Wi}),Wi="always";function Zi(e,n,t=Wi){Ff(e,n),n.valueAccessor.writeValue(e.value),(e.disabled||"always"===t)&&n.valueAccessor.setDisabledState?.(e.disabled),function ek(e,n){n.valueAccessor.registerOnChange(t=>{e._pendingValue=t,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&hw(e,n)})}(e,n),function nk(e,n){const t=(r,o)=>{n.valueAccessor.writeValue(r),o&&n.viewToModelUpdate(r)};e.registerOnChange(t),n._registerOnDestroy(()=>{e._unregisterOnChange(t)})}(e,n),function tk(e,n){n.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&hw(e,n),"submit"!==e.updateOn&&e.markAsTouched()})}(e,n),function KF(e,n){if(n.valueAccessor.setDisabledState){const t=r=>{n.valueAccessor.setDisabledState(r)};e.registerOnDisabledChange(t),n._registerOnDestroy(()=>{e._unregisterOnDisabledChange(t)})}}(e,n)}function vu(e,n,t=!0){const r=()=>{};n.valueAccessor&&(n.valueAccessor.registerOnChange(r),n.valueAccessor.registerOnTouched(r)),_u(e,n),e&&(n._invokeOnDestroyCallbacks(),e._registerOnCollectionChange(()=>{}))}function Du(e,n){e.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(n)})}function Ff(e,n){const t=rw(e);null!==n.validator?e.setValidators(nw(t,n.validator)):"function"==typeof t&&e.setValidators([t]);const r=ow(e);null!==n.asyncValidator?e.setAsyncValidators(nw(r,n.asyncValidator)):"function"==typeof r&&e.setAsyncValidators([r]);const o=()=>e.updateValueAndValidity();Du(n._rawValidators,o),Du(n._rawAsyncValidators,o)}function _u(e,n){let t=!1;if(null!==e){if(null!==n.validator){const o=rw(e);if(Array.isArray(o)&&o.length>0){const i=o.filter(s=>s!==n.validator);i.length!==o.length&&(t=!0,e.setValidators(i))}}if(null!==n.asyncValidator){const o=ow(e);if(Array.isArray(o)&&o.length>0){const i=o.filter(s=>s!==n.asyncValidator);i.length!==o.length&&(t=!0,e.setAsyncValidators(i))}}}const r=()=>{};return Du(n._rawValidators,r),Du(n._rawAsyncValidators,r),t}function hw(e,n){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function pw(e,n){Ff(e,n)}function gw(e,n){e._syncPendingControls(),n.forEach(t=>{const r=t.control;"submit"===r.updateOn&&r._pendingChange&&(t.viewToModelUpdate(r._pendingValue),r._pendingChange=!1)})}const ak={provide:Xe,useExisting:ie(()=>Cu)},Yi=(()=>Promise.resolve())();let Cu=(()=>{class e extends Xe{constructor(t,r,o){super(),this.callSetDisabledState=o,this.submitted=!1,this._directives=new Set,this.ngSubmit=new ye,this.form=new qi({},Sf(t),Af(r))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){Yi.then(()=>{const r=this._findContainer(t.path);t.control=r.registerControl(t.name,t.control),Zi(t.control,t,this.callSetDisabledState),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(t)})}getControl(t){return this.form.get(t.path)}removeControl(t){Yi.then(()=>{const r=this._findContainer(t.path);r&&r.removeControl(t.name),this._directives.delete(t)})}addFormGroup(t){Yi.then(()=>{const r=this._findContainer(t.path),o=new qi({});pw(o,t),r.registerControl(t.name,o),o.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(t){Yi.then(()=>{const r=this._findContainer(t.path);r&&r.removeControl(t.name)})}getFormGroup(t){return this.form.get(t.path)}updateModel(t,r){Yi.then(()=>{this.form.get(t.path).setValue(r)})}setValue(t){this.control.setValue(t)}onSubmit(t){return this.submitted=!0,gw(this.form,this._directives),this.ngSubmit.emit(t),"dialog"===t?.target?.method}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(t){return t.pop(),t.length?this.form.get(t):this.form}static#e=this.\u0275fac=function(r){return new(r||e)(D($e,10),D(zn,10),D(yr,8))};static#t=this.\u0275dir=k({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(r,o){1&r&&ge("submit",function(s){return o.onSubmit(s)})("reset",function(){return o.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[he([ak]),ee]})}return e})();function mw(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}function yw(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}const Ht=class extends fw{constructor(n=null,t,r){super(Of(t),Pf(r,t)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(n),this._setUpdateStrategy(t),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),mu(t)&&(t.nonNullable||t.initialValueIsDefault)&&(this.defaultValue=yw(n)?n.value:n)}setValue(n,t={}){this.value=this._pendingValue=n,this._onChange.length&&!1!==t.emitModelToViewChange&&this._onChange.forEach(r=>r(this.value,!1!==t.emitViewToModelChange)),this.updateValueAndValidity(t)}patchValue(n,t={}){this.setValue(n,t)}reset(n=this.defaultValue,t={}){this._applyFormState(n),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){mw(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){mw(this._onDisabledChange,n)}_forEachChild(n){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(n){yw(n)?(this.value=this._pendingValue=n.value,n.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=n}};let wu=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275dir=k({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}return e})(),Ew=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Ct({type:e});static#n=this.\u0275inj=ct({})}return e})();const jf=new S("NgModelWithFormControlWarning"),mk={provide:Xe,useExisting:ie(()=>Qi)};let Qi=(()=>{class e extends Xe{constructor(t,r,o){super(),this.callSetDisabledState=o,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new ye,this._setValidators(t),this._setAsyncValidators(r)}ngOnChanges(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(_u(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(t){const r=this.form.get(t.path);return Zi(r,t,this.callSetDisabledState),r.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),r}getControl(t){return this.form.get(t.path)}removeControl(t){vu(t.control||null,t,!1),function sk(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}(this.directives,t)}addFormGroup(t){this._setUpFormContainer(t)}removeFormGroup(t){this._cleanUpFormContainer(t)}getFormGroup(t){return this.form.get(t.path)}addFormArray(t){this._setUpFormContainer(t)}removeFormArray(t){this._cleanUpFormContainer(t)}getFormArray(t){return this.form.get(t.path)}updateModel(t,r){this.form.get(t.path).setValue(r)}onSubmit(t){return this.submitted=!0,gw(this.form,this.directives),this.ngSubmit.emit(t),"dialog"===t?.target?.method}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this.submitted=!1}_updateDomValue(){this.directives.forEach(t=>{const r=t.control,o=this.form.get(t.path);r!==o&&(vu(r||null,t),(e=>e instanceof Ht)(o)&&(Zi(o,t,this.callSetDisabledState),t.control=o))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(t){const r=this.form.get(t.path);pw(r,t),r.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(t){if(this.form){const r=this.form.get(t.path);r&&function rk(e,n){return _u(e,n)}(r,t)&&r.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Ff(this.form,this),this._oldForm&&_u(this._oldForm,this)}_checkFormPresent(){}static#e=this.\u0275fac=function(r){return new(r||e)(D($e,10),D(zn,10),D(yr,8))};static#t=this.\u0275dir=k({type:e,selectors:[["","formGroup",""]],hostBindings:function(r,o){1&r&&ge("submit",function(s){return o.onSubmit(s)})("reset",function(){return o.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[he([mk]),ee,Et]})}return e})();const Dk={provide:Gn,useExisting:ie(()=>Eu)};let Eu=(()=>{class e extends Gn{set isDisabled(t){}static#e=this._ngModelWarningSentOnce=!1;constructor(t,r,o,i,s){super(),this._ngModelWarningConfig=s,this._added=!1,this.name=null,this.update=new ye,this._ngModelWarningSent=!1,this._parent=t,this._setValidators(r),this._setAsyncValidators(o),this.valueAccessor=function Vf(e,n){if(!n)return null;let t,r,o;return Array.isArray(n),n.forEach(i=>{i.constructor===Ui?t=i:function ik(e){return Object.getPrototypeOf(e.constructor)===mr}(i)?r=i:o=i}),o||r||t||null}(0,i)}ngOnChanges(t){this._added||this._setUpControl(),function Lf(e,n){if(!e.hasOwnProperty("model"))return!1;const t=e.model;return!!t.isFirstChange()||!Object.is(n,t.currentValue)}(t,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}get path(){return function yu(e,n){return[...n.path,e]}(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}static#t=this.\u0275fac=function(r){return new(r||e)(D(Xe,13),D($e,10),D(zn,10),D(nn,10),D(jf,8))};static#n=this.\u0275dir=k({type:e,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[he([Dk]),ee,Et]})}return e})();let vr=(()=>{class e{constructor(){this._validator=du}ngOnChanges(t){if(this.inputName in t){const r=this.normalizeInput(t[this.inputName].currentValue);this._enabled=this.enabled(r),this._validator=this._enabled?this.createValidator(r):du,this._onChange&&this._onChange()}}validate(t){return this._validator(t)}registerOnValidatorChange(t){this._onChange=t}enabled(t){return null!=t}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275dir=k({type:e,features:[Et]})}return e})();const Ak={provide:$e,useExisting:ie(()=>bu),multi:!0};let bu=(()=>{class e extends vr{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=wo,this.createValidator=t=>UC}enabled(t){return t}static#e=this.\u0275fac=function(){let t;return function(o){return(t||(t=Le(e)))(o||e)}}();static#t=this.\u0275dir=k({type:e,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(r,o){2&r&&Kt("required",o._enabled?"":null)},inputs:{required:"required"},features:[he([Ak]),ee]})}return e})();const Nk={provide:$e,useExisting:ie(()=>zf),multi:!0};let zf=(()=>{class e extends vr{constructor(){super(...arguments),this.inputName="email",this.normalizeInput=wo,this.createValidator=t=>GC}enabled(t){return t}static#e=this.\u0275fac=function(){let t;return function(o){return(t||(t=Le(e)))(o||e)}}();static#t=this.\u0275dir=k({type:e,selectors:[["","email","","formControlName",""],["","email","","formControl",""],["","email","","ngModel",""]],inputs:{email:"email"},features:[he([Nk]),ee]})}return e})();const xk={provide:$e,useExisting:ie(()=>Gf),multi:!0};let Gf=(()=>{class e extends vr{constructor(){super(...arguments),this.inputName="minlength",this.normalizeInput=t=>function Nw(e){return"number"==typeof e?e:parseInt(e,10)}(t),this.createValidator=t=>qC(t)}static#e=this.\u0275fac=function(){let t;return function(o){return(t||(t=Le(e)))(o||e)}}();static#t=this.\u0275dir=k({type:e,selectors:[["","minlength","","formControlName",""],["","minlength","","formControl",""],["","minlength","","ngModel",""]],hostVars:1,hostBindings:function(r,o){2&r&&Kt("minlength",o._enabled?o.minlength:null)},inputs:{minlength:"minlength"},features:[he([xk]),ee]})}return e})(),Lw=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Ct({type:e});static#n=this.\u0275inj=ct({imports:[Ew]})}return e})(),Fk=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:yr,useValue:t.callSetDisabledState??Wi}]}}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Ct({type:e});static#n=this.\u0275inj=ct({imports:[Lw]})}return e})(),kk=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:jf,useValue:t.warnOnNgModelWithFormControl??"always"},{provide:yr,useValue:t.callSetDisabledState??Wi}]}}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Ct({type:e});static#n=this.\u0275inj=ct({imports:[Lw]})}return e})();function In(e){return Ie((n,t)=>{let i,r=null,o=!1;r=n.subscribe(Ee(t,void 0,void 0,s=>{i=st(e(s,In(e)(n))),r?(r.unsubscribe(),r=null,i.subscribe(t)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(t))})}function Ne(e,n,t){const r=ne(e)||n||t?{next:e,error:n,complete:t}:e;return r?Ie((o,i)=>{var s;null===(s=r.subscribe)||void 0===s||s.call(r);let a=!0;o.subscribe(Ee(i,u=>{var c;null===(c=r.next)||void 0===c||c.call(r,u),i.next(u)},()=>{var u;a=!1,null===(u=r.complete)||void 0===u||u.call(r),i.complete()},u=>{var c;a=!1,null===(c=r.error)||void 0===c||c.call(r,u),i.error(u)},()=>{var u,c;a&&(null===(u=r.unsubscribe)||void 0===u||u.call(r)),null===(c=r.finalize)||void 0===c||c.call(r)}))}):Tn}function Dr(e,n){const t=ne(e)?e:()=>e,r=o=>o.error(t());return new De(n?o=>n.schedule(r,0,o):r)}class Lk{constructor(n,t,r,o){this.email=n,this.id=t,this._token=r,this._tokenExpirationDate=o}get token(){return!this._tokenExpirationDate||new Date>this._tokenExpirationDate?null:this._token}}function Io(e,n){return ne(n)?Re(e,n,1):Re(e,1)}function Mn(e,n){return Ie((t,r)=>{let o=0;t.subscribe(Ee(r,i=>e.call(n,i,o++)&&r.next(i)))})}function Xi(e){return Ie((n,t)=>{try{n.subscribe(t)}finally{t.add(e)}})}class Iu{}class Mu{}class rn{constructor(n){this.normalizedNames=new Map,this.lazyUpdate=null,n?"string"==typeof n?this.lazyInit=()=>{this.headers=new Map,n.split("\n").forEach(t=>{const r=t.indexOf(":");if(r>0){const o=t.slice(0,r),i=o.toLowerCase(),s=t.slice(r+1).trim();this.maybeSetNormalizedName(o,i),this.headers.has(i)?this.headers.get(i).push(s):this.headers.set(i,[s])}})}:typeof Headers<"u"&&n instanceof Headers?(this.headers=new Map,n.forEach((t,r)=>{this.setHeaderEntries(r,t)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(n).forEach(([t,r])=>{this.setHeaderEntries(t,r)})}:this.headers=new Map}has(n){return this.init(),this.headers.has(n.toLowerCase())}get(n){this.init();const t=this.headers.get(n.toLowerCase());return t&&t.length>0?t[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(n){return this.init(),this.headers.get(n.toLowerCase())||null}append(n,t){return this.clone({name:n,value:t,op:"a"})}set(n,t){return this.clone({name:n,value:t,op:"s"})}delete(n,t){return this.clone({name:n,value:t,op:"d"})}maybeSetNormalizedName(n,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,n)}init(){this.lazyInit&&(this.lazyInit instanceof rn?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(n=>this.applyUpdate(n)),this.lazyUpdate=null))}copyFrom(n){n.init(),Array.from(n.headers.keys()).forEach(t=>{this.headers.set(t,n.headers.get(t)),this.normalizedNames.set(t,n.normalizedNames.get(t))})}clone(n){const t=new rn;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof rn?this.lazyInit:this,t.lazyUpdate=(this.lazyUpdate||[]).concat([n]),t}applyUpdate(n){const t=n.name.toLowerCase();switch(n.op){case"a":case"s":let r=n.value;if("string"==typeof r&&(r=[r]),0===r.length)return;this.maybeSetNormalizedName(n.name,t);const o=("a"===n.op?this.headers.get(t):void 0)||[];o.push(...r),this.headers.set(t,o);break;case"d":const i=n.value;if(i){let s=this.headers.get(t);if(!s)return;s=s.filter(a=>-1===i.indexOf(a)),0===s.length?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,s)}else this.headers.delete(t),this.normalizedNames.delete(t)}}setHeaderEntries(n,t){const r=(Array.isArray(t)?t:[t]).map(i=>i.toString()),o=n.toLowerCase();this.headers.set(o,r),this.maybeSetNormalizedName(n,o)}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(t=>n(this.normalizedNames.get(t),this.headers.get(t)))}}class Vk{encodeKey(n){return jw(n)}encodeValue(n){return jw(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}}const Bk=/%(\d[a-f0-9])/gi,Hk={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function jw(e){return encodeURIComponent(e).replace(Bk,(n,t)=>Hk[t]??n)}function Su(e){return`${e}`}class qn{constructor(n={}){if(this.updates=null,this.cloneFrom=null,this.encoder=n.encoder||new Vk,n.fromString){if(n.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function jk(e,n){const t=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(o=>{const i=o.indexOf("="),[s,a]=-1==i?[n.decodeKey(o),""]:[n.decodeKey(o.slice(0,i)),n.decodeValue(o.slice(i+1))],u=t.get(s)||[];u.push(a),t.set(s,u)}),t}(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(t=>{const r=n.fromObject[t],o=Array.isArray(r)?r.map(Su):[Su(r)];this.map.set(t,o)})):this.map=null}has(n){return this.init(),this.map.has(n)}get(n){this.init();const t=this.map.get(n);return t?t[0]:null}getAll(n){return this.init(),this.map.get(n)||null}keys(){return this.init(),Array.from(this.map.keys())}append(n,t){return this.clone({param:n,value:t,op:"a"})}appendAll(n){const t=[];return Object.keys(n).forEach(r=>{const o=n[r];Array.isArray(o)?o.forEach(i=>{t.push({param:r,value:i,op:"a"})}):t.push({param:r,value:o,op:"a"})}),this.clone(t)}set(n,t){return this.clone({param:n,value:t,op:"s"})}delete(n,t){return this.clone({param:n,value:t,op:"d"})}toString(){return this.init(),this.keys().map(n=>{const t=this.encoder.encodeKey(n);return this.map.get(n).map(r=>t+"="+this.encoder.encodeValue(r)).join("&")}).filter(n=>""!==n).join("&")}clone(n){const t=new qn({encoder:this.encoder});return t.cloneFrom=this.cloneFrom||this,t.updates=(this.updates||[]).concat(n),t}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(n=>this.map.set(n,this.cloneFrom.map.get(n))),this.updates.forEach(n=>{switch(n.op){case"a":case"s":const t=("a"===n.op?this.map.get(n.param):void 0)||[];t.push(Su(n.value)),this.map.set(n.param,t);break;case"d":if(void 0===n.value){this.map.delete(n.param);break}{let r=this.map.get(n.param)||[];const o=r.indexOf(Su(n.value));-1!==o&&r.splice(o,1),r.length>0?this.map.set(n.param,r):this.map.delete(n.param)}}}),this.cloneFrom=this.updates=null)}}class $k{constructor(){this.map=new Map}set(n,t){return this.map.set(n,t),this}get(n){return this.map.has(n)||this.map.set(n,n.defaultValue()),this.map.get(n)}delete(n){return this.map.delete(n),this}has(n){return this.map.has(n)}keys(){return this.map.keys()}}function Bw(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function Hw(e){return typeof Blob<"u"&&e instanceof Blob}function $w(e){return typeof FormData<"u"&&e instanceof FormData}class Ji{constructor(n,t,r,o){let i;if(this.url=t,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=n.toUpperCase(),function Uk(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||o?(this.body=void 0!==r?r:null,i=o):i=r,i&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params)),this.headers||(this.headers=new rn),this.context||(this.context=new $k),this.params){const s=this.params.toString();if(0===s.length)this.urlWithParams=t;else{const a=t.indexOf("?");this.urlWithParams=t+(-1===a?"?":ad.set(f,n.setHeaders[f]),u)),n.setParams&&(c=Object.keys(n.setParams).reduce((d,f)=>d.set(f,n.setParams[f]),c)),new Ji(t,r,i,{params:c,headers:u,context:l,reportProgress:a,responseType:o,withCredentials:s})}}var Mo=function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e}(Mo||{});class qf{constructor(n,t=200,r="OK"){this.headers=n.headers||new rn,this.status=void 0!==n.status?n.status:t,this.statusText=n.statusText||r,this.url=n.url||null,this.ok=this.status>=200&&this.status<300}}class Wf extends qf{constructor(n={}){super(n),this.type=Mo.ResponseHeader}clone(n={}){return new Wf({headers:n.headers||this.headers,status:void 0!==n.status?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}}class So extends qf{constructor(n={}){super(n),this.type=Mo.Response,this.body=void 0!==n.body?n.body:null}clone(n={}){return new So({body:void 0!==n.body?n.body:this.body,headers:n.headers||this.headers,status:void 0!==n.status?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}}class Uw extends qf{constructor(n){super(n,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${n.url||"(unknown url)"}`:`Http failure response for ${n.url||"(unknown url)"}: ${n.status} ${n.statusText}`,this.error=n.error||null}}function Zf(e,n){return{body:n,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials}}let Yf=(()=>{class e{constructor(t){this.handler=t}request(t,r,o={}){let i;if(t instanceof Ji)i=t;else{let u,c;u=o.headers instanceof rn?o.headers:new rn(o.headers),o.params&&(c=o.params instanceof qn?o.params:new qn({fromObject:o.params})),i=new Ji(t,r,void 0!==o.body?o.body:null,{headers:u,context:o.context,params:c,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials})}const s=R(i).pipe(Io(u=>this.handler.handle(u)));if(t instanceof Ji||"events"===o.observe)return s;const a=s.pipe(Mn(u=>u instanceof So));switch(o.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return a.pipe(Z(u=>{if(null!==u.body&&!(u.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return u.body}));case"blob":return a.pipe(Z(u=>{if(null!==u.body&&!(u.body instanceof Blob))throw new Error("Response is not a Blob.");return u.body}));case"text":return a.pipe(Z(u=>{if(null!==u.body&&"string"!=typeof u.body)throw new Error("Response is not a string.");return u.body}));default:return a.pipe(Z(u=>u.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${o.observe}}`)}}delete(t,r={}){return this.request("DELETE",t,r)}get(t,r={}){return this.request("GET",t,r)}head(t,r={}){return this.request("HEAD",t,r)}jsonp(t,r){return this.request("JSONP",t,{params:(new qn).append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,r={}){return this.request("OPTIONS",t,r)}patch(t,r,o={}){return this.request("PATCH",t,Zf(o,r))}post(t,r,o={}){return this.request("POST",t,Zf(o,r))}put(t,r,o={}){return this.request("PUT",t,Zf(o,r))}static#e=this.\u0275fac=function(r){return new(r||e)(A(Iu))};static#t=this.\u0275prov=T({token:e,factory:e.\u0275fac})}return e})();function qw(e,n){return n(e)}function qk(e,n){return(t,r)=>n.intercept(t,{handle:o=>e(o,r)})}const Zk=new S(""),Ki=new S(""),Ww=new S("");function Yk(){let e=null;return(n,t)=>{null===e&&(e=(I(Zk,{optional:!0})??[]).reduceRight(qk,qw));const r=I(Ua),o=r.add();return e(n,t).pipe(Xi(()=>r.remove(o)))}}let Zw=(()=>{class e extends Iu{constructor(t,r){super(),this.backend=t,this.injector=r,this.chain=null,this.pendingTasks=I(Ua)}handle(t){if(null===this.chain){const o=Array.from(new Set([...this.injector.get(Ki),...this.injector.get(Ww,[])]));this.chain=o.reduceRight((i,s)=>function Wk(e,n,t){return(r,o)=>t.runInContext(()=>n(r,i=>e(i,o)))}(i,s,this.injector),qw)}const r=this.pendingTasks.add();return this.chain(t,o=>this.backend.handle(o)).pipe(Xi(()=>this.pendingTasks.remove(r)))}static#e=this.\u0275fac=function(r){return new(r||e)(A(Mu),A(ht))};static#t=this.\u0275prov=T({token:e,factory:e.\u0275fac})}return e})();const Kk=/^\)\]\}',?\n/;let Qw=(()=>{class e{constructor(t){this.xhrFactory=t}handle(t){if("JSONP"===t.method)throw new _(-2800,!1);const r=this.xhrFactory;return(r.\u0275loadImpl?Me(r.\u0275loadImpl()):R(null)).pipe(Tt(()=>new De(i=>{const s=r.build();if(s.open(t.method,t.urlWithParams),t.withCredentials&&(s.withCredentials=!0),t.headers.forEach((g,y)=>s.setRequestHeader(g,y.join(","))),t.headers.has("Accept")||s.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){const g=t.detectContentTypeHeader();null!==g&&s.setRequestHeader("Content-Type",g)}if(t.responseType){const g=t.responseType.toLowerCase();s.responseType="json"!==g?g:"text"}const a=t.serializeBody();let u=null;const c=()=>{if(null!==u)return u;const g=s.statusText||"OK",y=new rn(s.getAllResponseHeaders()),C=function eL(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(s)||t.url;return u=new Wf({headers:y,status:s.status,statusText:g,url:C}),u},l=()=>{let{headers:g,status:y,statusText:C,url:m}=c(),M=null;204!==y&&(M=typeof s.response>"u"?s.responseText:s.response),0===y&&(y=M?200:0);let N=y>=200&&y<300;if("json"===t.responseType&&"string"==typeof M){const $=M;M=M.replace(Kk,"");try{M=""!==M?JSON.parse(M):null}catch(xe){M=$,N&&(N=!1,M={error:xe,text:M})}}N?(i.next(new So({body:M,headers:g,status:y,statusText:C,url:m||void 0})),i.complete()):i.error(new Uw({error:M,headers:g,status:y,statusText:C,url:m||void 0}))},d=g=>{const{url:y}=c(),C=new Uw({error:g,status:s.status||0,statusText:s.statusText||"Unknown Error",url:y||void 0});i.error(C)};let f=!1;const h=g=>{f||(i.next(c()),f=!0);let y={type:Mo.DownloadProgress,loaded:g.loaded};g.lengthComputable&&(y.total=g.total),"text"===t.responseType&&s.responseText&&(y.partialText=s.responseText),i.next(y)},p=g=>{let y={type:Mo.UploadProgress,loaded:g.loaded};g.lengthComputable&&(y.total=g.total),i.next(y)};return s.addEventListener("load",l),s.addEventListener("error",d),s.addEventListener("timeout",d),s.addEventListener("abort",d),t.reportProgress&&(s.addEventListener("progress",h),null!==a&&s.upload&&s.upload.addEventListener("progress",p)),s.send(a),i.next({type:Mo.Sent}),()=>{s.removeEventListener("error",d),s.removeEventListener("abort",d),s.removeEventListener("load",l),s.removeEventListener("timeout",d),t.reportProgress&&(s.removeEventListener("progress",h),null!==a&&s.upload&&s.upload.removeEventListener("progress",p)),s.readyState!==s.DONE&&s.abort()}})))}static#e=this.\u0275fac=function(r){return new(r||e)(A(hC))};static#t=this.\u0275prov=T({token:e,factory:e.\u0275fac})}return e})();const Qf=new S("XSRF_ENABLED"),Xw=new S("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),Jw=new S("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class Kw{}let rL=(()=>{class e{constructor(t,r,o){this.doc=t,this.platform=r,this.cookieName=o,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=rC(t,this.cookieName),this.lastCookieString=t),this.lastToken}static#e=this.\u0275fac=function(r){return new(r||e)(A(yt),A(ur),A(Xw))};static#t=this.\u0275prov=T({token:e,factory:e.\u0275fac})}return e})();function oL(e,n){const t=e.url.toLowerCase();if(!I(Qf)||"GET"===e.method||"HEAD"===e.method||t.startsWith("http://")||t.startsWith("https://"))return n(e);const r=I(Kw).getToken(),o=I(Jw);return null!=r&&!e.headers.has(o)&&(e=e.clone({headers:e.headers.set(o,r)})),n(e)}var Wn=function(e){return e[e.Interceptors=0]="Interceptors",e[e.LegacyInterceptors=1]="LegacyInterceptors",e[e.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",e[e.NoXsrfProtection=3]="NoXsrfProtection",e[e.JsonpSupport=4]="JsonpSupport",e[e.RequestsMadeViaParent=5]="RequestsMadeViaParent",e[e.Fetch=6]="Fetch",e}(Wn||{});function iL(...e){const n=[Yf,Qw,Zw,{provide:Iu,useExisting:Zw},{provide:Mu,useExisting:Qw},{provide:Ki,useValue:oL,multi:!0},{provide:Qf,useValue:!0},{provide:Kw,useClass:rL}];for(const t of e)n.push(...t.\u0275providers);return function vl(e){return{\u0275providers:e}}(n)}const eE=new S("LEGACY_INTERCEPTOR_FN");function sL(){return function _r(e,n){return{\u0275kind:e,\u0275providers:n}}(Wn.LegacyInterceptors,[{provide:eE,useFactory:Yk},{provide:Ki,useExisting:eE,multi:!0}])}let aL=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Ct({type:e});static#n=this.\u0275inj=ct({providers:[iL(sL())]})}return e})();function Xf(...e){const n=jo(e),t=qh(e),{args:r,keys:o}=FC(e);if(0===r.length)return Me([],n);const i=new De(function pL(e,n,t=Tn){return r=>{tE(n,()=>{const{length:o}=e,i=new Array(o);let s=o,a=o;for(let u=0;u{const c=Me(e[u],n);let l=!1;c.subscribe(Ee(r,d=>{i[u]=d,l||(l=!0,a--),a||r.next(t(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}(r,n,o?s=>LC(o,s):Tn));return t?i.pipe(kC(t)):i}function tE(e,n,t){e?un(t,e,n):n()}const Tu=ko(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function Jf(...e){return function gL(){return Mr(1)}()(Me(e,jo(e)))}function nE(e){return new De(n=>{st(e()).subscribe(n)})}function Kf(){return Ie((e,n)=>{let t=null;e._refCount++;const r=Ee(n,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount)return void(t=null);const o=e._connection,i=t;t=null,o&&(!i||o===i)&&o.unsubscribe(),n.unsubscribe()});e.subscribe(r),r.closed||(t=e.connect())})}class rE extends De{constructor(n,t){super(),this.source=n,this.subjectFactory=t,this._subject=null,this._refCount=0,this._connection=null,xh(n)&&(this.lift=n.lift)}_subscribe(n){return this.getSubject().subscribe(n)}getSubject(){const n=this._subject;return(!n||n.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:n}=this;this._subject=this._connection=null,n?.unsubscribe()}connect(){let n=this._connection;if(!n){n=this._connection=new it;const t=this.getSubject();n.add(this.source.subscribe(Ee(t,void 0,()=>{this._teardown(),t.complete()},r=>{this._teardown(),t.error(r)},()=>this._teardown()))),n.closed&&(this._connection=null,n=it.EMPTY)}return n}refCount(){return Kf()(this)}}function Cr(e){return e<=0?()=>Ut:Ie((n,t)=>{let r=0;n.subscribe(Ee(t,o=>{++r<=e&&(t.next(o),e<=r&&t.complete())}))})}function Nu(e){return Ie((n,t)=>{let r=!1;n.subscribe(Ee(t,o=>{r=!0,t.next(o)},()=>{r||t.next(e),t.complete()}))})}function oE(e=yL){return Ie((n,t)=>{let r=!1;n.subscribe(Ee(t,o=>{r=!0,t.next(o)},()=>r?t.complete():t.error(e())))})}function yL(){return new Tu}function wr(e,n){const t=arguments.length>=2;return r=>r.pipe(e?Mn((o,i)=>e(o,i,r)):Tn,Cr(1),t?Nu(n):oE(()=>new Tu))}function eh(e){return e<=0?()=>Ut:Ie((n,t)=>{let r=[];n.subscribe(Ee(t,o=>{r.push(o),e{for(const o of r)t.next(o);t.complete()},void 0,()=>{r=null}))})}const H="primary",es=Symbol("RouteTitle");class EL{constructor(n){this.params=n||{}}has(n){return Object.prototype.hasOwnProperty.call(this.params,n)}get(n){if(this.has(n)){const t=this.params[n];return Array.isArray(t)?t[0]:t}return null}getAll(n){if(this.has(n)){const t=this.params[n];return Array.isArray(t)?t:[t]}return[]}get keys(){return Object.keys(this.params)}}function Ao(e){return new EL(e)}function bL(e,n,t){const r=t.path.split("/");if(r.length>e.length||"full"===t.pathMatch&&(n.hasChildren()||r.lengthr[i]===o)}return e===n}function sE(e){return e.length>0?e[e.length-1]:null}function Zn(e){return function hL(e){return!!e&&(e instanceof De||ne(e.lift)&&ne(e.subscribe))}(e)?e:Mi(e)?Me(Promise.resolve(e)):R(e)}const ML={exact:function cE(e,n,t){if(!Er(e.segments,n.segments)||!xu(e.segments,n.segments,t)||e.numberOfChildren!==n.numberOfChildren)return!1;for(const r in n.children)if(!e.children[r]||!cE(e.children[r],n.children[r],t))return!1;return!0},subset:lE},aE={exact:function SL(e,n){return on(e,n)},subset:function AL(e,n){return Object.keys(n).length<=Object.keys(e).length&&Object.keys(n).every(t=>iE(e[t],n[t]))},ignored:()=>!0};function uE(e,n,t){return ML[t.paths](e.root,n.root,t.matrixParams)&&aE[t.queryParams](e.queryParams,n.queryParams)&&!("exact"===t.fragment&&e.fragment!==n.fragment)}function lE(e,n,t){return dE(e,n,n.segments,t)}function dE(e,n,t,r){if(e.segments.length>t.length){const o=e.segments.slice(0,t.length);return!(!Er(o,t)||n.hasChildren()||!xu(o,t,r))}if(e.segments.length===t.length){if(!Er(e.segments,t)||!xu(e.segments,t,r))return!1;for(const o in n.children)if(!e.children[o]||!lE(e.children[o],n.children[o],r))return!1;return!0}{const o=t.slice(0,e.segments.length),i=t.slice(e.segments.length);return!!(Er(e.segments,o)&&xu(e.segments,o,r)&&e.children[H])&&dE(e.children[H],n,i,r)}}function xu(e,n,t){return n.every((r,o)=>aE[t](e[o].parameters,r.parameters))}class To{constructor(n=new te([],{}),t={},r=null){this.root=n,this.queryParams=t,this.fragment=r}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Ao(this.queryParams)),this._queryParamMap}toString(){return xL.serialize(this)}}class te{constructor(n,t){this.segments=n,this.children=t,this.parent=null,Object.values(t).forEach(r=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Ru(this)}}class ts{constructor(n,t){this.path=n,this.parameters=t}get parameterMap(){return this._parameterMap||(this._parameterMap=Ao(this.parameters)),this._parameterMap}toString(){return pE(this)}}function Er(e,n){return e.length===n.length&&e.every((t,r)=>t.path===n[r].path)}let ns=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=T({token:e,factory:function(){return new th},providedIn:"root"})}return e})();class th{parse(n){const t=new $L(n);return new To(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}serialize(n){const t=`/${rs(n.root,!0)}`,r=function PL(e){const n=Object.keys(e).map(t=>{const r=e[t];return Array.isArray(r)?r.map(o=>`${Ou(t)}=${Ou(o)}`).join("&"):`${Ou(t)}=${Ou(r)}`}).filter(t=>!!t);return n.length?`?${n.join("&")}`:""}(n.queryParams);return`${t}${r}${"string"==typeof n.fragment?`#${function RL(e){return encodeURI(e)}(n.fragment)}`:""}`}}const xL=new th;function Ru(e){return e.segments.map(n=>pE(n)).join("/")}function rs(e,n){if(!e.hasChildren())return Ru(e);if(n){const t=e.children[H]?rs(e.children[H],!1):"",r=[];return Object.entries(e.children).forEach(([o,i])=>{o!==H&&r.push(`${o}:${rs(i,!1)}`)}),r.length>0?`${t}(${r.join("//")})`:t}{const t=function NL(e,n){let t=[];return Object.entries(e.children).forEach(([r,o])=>{r===H&&(t=t.concat(n(o,r)))}),Object.entries(e.children).forEach(([r,o])=>{r!==H&&(t=t.concat(n(o,r)))}),t}(e,(r,o)=>o===H?[rs(e.children[H],!1)]:[`${o}:${rs(r,!1)}`]);return 1===Object.keys(e.children).length&&null!=e.children[H]?`${Ru(e)}/${t[0]}`:`${Ru(e)}/(${t.join("//")})`}}function fE(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Ou(e){return fE(e).replace(/%3B/gi,";")}function nh(e){return fE(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Pu(e){return decodeURIComponent(e)}function hE(e){return Pu(e.replace(/\+/g,"%20"))}function pE(e){return`${nh(e.path)}${function OL(e){return Object.keys(e).map(n=>`;${nh(n)}=${nh(e[n])}`).join("")}(e.parameters)}`}const FL=/^[^\/()?;#]+/;function rh(e){const n=e.match(FL);return n?n[0]:""}const kL=/^[^\/()?;=#]+/,VL=/^[^=?&#]+/,BL=/^[^&#]+/;class $L{constructor(n){this.url=n,this.remaining=n}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new te([],{}):new te([],this.parseChildren())}parseQueryParams(){const n={};if(this.consumeOptional("?"))do{this.parseQueryParam(n)}while(this.consumeOptional("&"));return n}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const n=[];for(this.peekStartsWith("(")||n.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),n.push(this.parseSegment());let t={};this.peekStartsWith("/(")&&(this.capture("/"),t=this.parseParens(!0));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1)),(n.length>0||Object.keys(t).length>0)&&(r[H]=new te(n,t)),r}parseSegment(){const n=rh(this.remaining);if(""===n&&this.peekStartsWith(";"))throw new _(4009,!1);return this.capture(n),new ts(Pu(n),this.parseMatrixParams())}parseMatrixParams(){const n={};for(;this.consumeOptional(";");)this.parseParam(n);return n}parseParam(n){const t=function LL(e){const n=e.match(kL);return n?n[0]:""}(this.remaining);if(!t)return;this.capture(t);let r="";if(this.consumeOptional("=")){const o=rh(this.remaining);o&&(r=o,this.capture(r))}n[Pu(t)]=Pu(r)}parseQueryParam(n){const t=function jL(e){const n=e.match(VL);return n?n[0]:""}(this.remaining);if(!t)return;this.capture(t);let r="";if(this.consumeOptional("=")){const s=function HL(e){const n=e.match(BL);return n?n[0]:""}(this.remaining);s&&(r=s,this.capture(r))}const o=hE(t),i=hE(r);if(n.hasOwnProperty(o)){let s=n[o];Array.isArray(s)||(s=[s],n[o]=s),s.push(i)}else n[o]=i}parseParens(n){const t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const r=rh(this.remaining),o=this.remaining[r.length];if("/"!==o&&")"!==o&&";"!==o)throw new _(4010,!1);let i;r.indexOf(":")>-1?(i=r.slice(0,r.indexOf(":")),this.capture(i),this.capture(":")):n&&(i=H);const s=this.parseChildren();t[i]=1===Object.keys(s).length?s[H]:new te([],s),this.consumeOptional("//")}return t}peekStartsWith(n){return this.remaining.startsWith(n)}consumeOptional(n){return!!this.peekStartsWith(n)&&(this.remaining=this.remaining.substring(n.length),!0)}capture(n){if(!this.consumeOptional(n))throw new _(4011,!1)}}function gE(e){return e.segments.length>0?new te([],{[H]:e}):e}function mE(e){const n={};for(const r of Object.keys(e.children)){const i=mE(e.children[r]);if(r===H&&0===i.segments.length&&i.hasChildren())for(const[s,a]of Object.entries(i.children))n[s]=a;else(i.segments.length>0||i.hasChildren())&&(n[r]=i)}return function UL(e){if(1===e.numberOfChildren&&e.children[H]){const n=e.children[H];return new te(e.segments.concat(n.segments),n.children)}return e}(new te(e.segments,n))}function br(e){return e instanceof To}function yE(e){let n;const o=gE(function t(i){const s={};for(const u of i.children){const c=t(u);s[u.outlet]=c}const a=new te(i.url,s);return i===e&&(n=a),a}(e.root));return n??o}function vE(e,n,t,r){let o=e;for(;o.parent;)o=o.parent;if(0===n.length)return oh(o,o,o,t,r);const i=function GL(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new _E(!0,0,e);let n=0,t=!1;const r=e.reduce((o,i,s)=>{if("object"==typeof i&&null!=i){if(i.outlets){const a={};return Object.entries(i.outlets).forEach(([u,c])=>{a[u]="string"==typeof c?c.split("/"):c}),[...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?t=!0:".."===a?n++:""!=a&&o.push(a))}),o):[...o,i]},[]);return new _E(t,n,r)}(n);if(i.toRoot())return oh(o,o,new te([],{}),t,r);const s=function qL(e,n,t){if(e.isAbsolute)return new ku(n,!0,0);if(!t)return new ku(n,!1,NaN);if(null===t.parent)return new ku(t,!0,0);const r=Fu(e.commands[0])?0:1;return function WL(e,n,t){let r=e,o=n,i=t;for(;i>o;){if(i-=o,r=r.parent,!r)throw new _(4005,!1);o=r.segments.length}return new ku(r,!1,o-i)}(t,t.segments.length-1+r,e.numberOfDoubleDots)}(i,o,e),a=s.processChildren?is(s.segmentGroup,s.index,i.commands):CE(s.segmentGroup,s.index,i.commands);return oh(o,s.segmentGroup,a,t,r)}function Fu(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function os(e){return"object"==typeof e&&null!=e&&e.outlets}function oh(e,n,t,r,o){let s,i={};r&&Object.entries(r).forEach(([u,c])=>{i[u]=Array.isArray(c)?c.map(l=>`${l}`):`${c}`}),s=e===n?t:DE(e,n,t);const a=gE(mE(s));return new To(a,i,o)}function DE(e,n,t){const r={};return Object.entries(e.children).forEach(([o,i])=>{r[o]=i===n?t:DE(i,n,t)}),new te(e.segments,r)}class _E{constructor(n,t,r){if(this.isAbsolute=n,this.numberOfDoubleDots=t,this.commands=r,n&&r.length>0&&Fu(r[0]))throw new _(4003,!1);const o=r.find(os);if(o&&o!==sE(r))throw new _(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class ku{constructor(n,t,r){this.segmentGroup=n,this.processChildren=t,this.index=r}}function CE(e,n,t){if(e||(e=new te([],{})),0===e.segments.length&&e.hasChildren())return is(e,n,t);const r=function YL(e,n,t){let r=0,o=n;const i={match:!1,pathIndex:0,commandIndex:0};for(;o=t.length)return i;const s=e.segments[o],a=t[r];if(os(a))break;const u=`${a}`,c=r0&&void 0===u)break;if(u&&c&&"object"==typeof c&&void 0===c.outlets){if(!EE(u,c,s))return i;r+=2}else{if(!EE(u,{},s))return i;r++}o++}return{match:!0,pathIndex:o,commandIndex:r}}(e,n,t),o=t.slice(r.commandIndex);if(r.match&&r.pathIndexi!==H)&&e.children[H]&&1===e.numberOfChildren&&0===e.children[H].segments.length){const i=is(e.children[H],n,t);return new te(e.segments,i.children)}return Object.entries(r).forEach(([i,s])=>{"string"==typeof s&&(s=[s]),null!==s&&(o[i]=CE(e.children[i],n,s))}),Object.entries(e.children).forEach(([i,s])=>{void 0===r[i]&&(o[i]=s)}),new te(e.segments,o)}}function ih(e,n,t){const r=e.segments.slice(0,n);let o=0;for(;o{"string"==typeof r&&(r=[r]),null!==r&&(n[t]=ih(new te([],{}),0,r))}),n}function wE(e){const n={};return Object.entries(e).forEach(([t,r])=>n[t]=`${r}`),n}function EE(e,n,t){return e==t.path&&on(n,t.parameters)}const ss="imperative";class sn{constructor(n,t){this.id=n,this.url=t}}class Lu extends sn{constructor(n,t,r="imperative",o=null){super(n,t),this.type=0,this.navigationTrigger=r,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Yn extends sn{constructor(n,t,r){super(n,t),this.urlAfterRedirects=r,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class as extends sn{constructor(n,t,r,o){super(n,t),this.reason=r,this.code=o,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class No extends sn{constructor(n,t,r,o){super(n,t),this.reason=r,this.code=o,this.type=16}}class Vu extends sn{constructor(n,t,r,o){super(n,t),this.error=r,this.target=o,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class bE extends sn{constructor(n,t,r,o){super(n,t),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 XL extends sn{constructor(n,t,r,o){super(n,t),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 JL extends sn{constructor(n,t,r,o,i){super(n,t),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 KL extends sn{constructor(n,t,r,o){super(n,t),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 eV extends sn{constructor(n,t,r,o){super(n,t),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 tV{constructor(n){this.route=n,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class nV{constructor(n){this.route=n,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class rV{constructor(n){this.snapshot=n,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class oV{constructor(n){this.snapshot=n,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class iV{constructor(n){this.snapshot=n,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class sV{constructor(n){this.snapshot=n,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class IE{constructor(n,t,r){this.routerEvent=n,this.position=t,this.anchor=r,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class sh{}class ah{constructor(n){this.url=n}}class aV{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new us,this.attachRef=null}}let us=(()=>{class e{constructor(){this.contexts=new Map}onChildOutletCreated(t,r){const o=this.getOrCreateContext(t);o.outlet=r,this.contexts.set(t,o)}onChildOutletDestroyed(t){const r=this.getContext(t);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){const t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let r=this.getContext(t);return r||(r=new aV,this.contexts.set(t,r)),r}getContext(t){return this.contexts.get(t)||null}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();class ME{constructor(n){this._root=n}get root(){return this._root.value}parent(n){const t=this.pathFromRoot(n);return t.length>1?t[t.length-2]:null}children(n){const t=uh(n,this._root);return t?t.children.map(r=>r.value):[]}firstChild(n){const t=uh(n,this._root);return t&&t.children.length>0?t.children[0].value:null}siblings(n){const t=ch(n,this._root);return t.length<2?[]:t[t.length-2].children.map(o=>o.value).filter(o=>o!==n)}pathFromRoot(n){return ch(n,this._root).map(t=>t.value)}}function uh(e,n){if(e===n.value)return n;for(const t of n.children){const r=uh(e,t);if(r)return r}return null}function ch(e,n){if(e===n.value)return[n];for(const t of n.children){const r=ch(e,t);if(r.length)return r.unshift(n),r}return[]}class Sn{constructor(n,t){this.value=n,this.children=t}toString(){return`TreeNode(${this.value})`}}function xo(e){const n={};return e&&e.children.forEach(t=>n[t.value.outlet]=t),n}class SE extends ME{constructor(n,t){super(n),this.snapshot=t,lh(this,n)}toString(){return this.snapshot.toString()}}function AE(e,n){const t=function uV(e,n){const s=new ju([],{},{},"",{},H,n,null,{});return new NE("",new Sn(s,[]))}(0,n),r=new at([new ts("",{})]),o=new at({}),i=new at({}),s=new at({}),a=new at(""),u=new Qn(r,o,s,a,i,H,n,t.root);return u.snapshot=t.root,new SE(new Sn(u,[]),t)}class Qn{constructor(n,t,r,o,i,s,a,u){this.urlSubject=n,this.paramsSubject=t,this.queryParamsSubject=r,this.fragmentSubject=o,this.dataSubject=i,this.outlet=s,this.component=a,this._futureSnapshot=u,this.title=this.dataSubject?.pipe(Z(c=>c[es]))??R(void 0),this.url=n,this.params=t,this.queryParams=r,this.fragment=o,this.data=i}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(Z(n=>Ao(n)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(Z(n=>Ao(n)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function TE(e,n="emptyOnly"){const t=e.pathFromRoot;let r=0;if("always"!==n)for(r=t.length-1;r>=1;){const o=t[r],i=t[r-1];if(o.routeConfig&&""===o.routeConfig.path)r--;else{if(i.component)break;r--}}return function cV(e){return e.reduce((n,t)=>({params:{...n.params,...t.params},data:{...n.data,...t.data},resolve:{...t.data,...n.resolve,...t.routeConfig?.data,...t._resolvedData}}),{params:{},data:{},resolve:{}})}(t.slice(r))}class ju{get title(){return this.data?.[es]}constructor(n,t,r,o,i,s,a,u,c){this.url=n,this.params=t,this.queryParams=r,this.fragment=o,this.data=i,this.outlet=s,this.component=a,this.routeConfig=u,this._resolve=c}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=Ao(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Ao(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(r=>r.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class NE extends ME{constructor(n,t){super(t),this.url=n,lh(this,t)}toString(){return xE(this._root)}}function lh(e,n){n.value._routerState=e,n.children.forEach(t=>lh(e,t))}function xE(e){const n=e.children.length>0?` { ${e.children.map(xE).join(", ")} } `:"";return`${e.value}${n}`}function dh(e){if(e.snapshot){const n=e.snapshot,t=e._futureSnapshot;e.snapshot=t,on(n.queryParams,t.queryParams)||e.queryParamsSubject.next(t.queryParams),n.fragment!==t.fragment&&e.fragmentSubject.next(t.fragment),on(n.params,t.params)||e.paramsSubject.next(t.params),function IL(e,n){if(e.length!==n.length)return!1;for(let t=0;ton(t.parameters,n[r].parameters))}(e.url,n.url);return t&&!(!e.parent!=!n.parent)&&(!e.parent||fh(e.parent,n.parent))}let hh=(()=>{class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=H,this.activateEvents=new ye,this.deactivateEvents=new ye,this.attachEvents=new ye,this.detachEvents=new ye,this.parentContexts=I(us),this.location=I(Vt),this.changeDetector=I(Wa),this.environmentInjector=I(ht),this.inputBinder=I(Bu,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(t){if(t.name){const{firstChange:r,previousValue:o}=t.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),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(t){return this.parentContexts.getContext(t)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const t=this.parentContexts.getContext(this.name);t?.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new _(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new _(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new _(4012,!1);this.location.detach();const t=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(t.instance),t}attach(t,r){this.activated=t,this._activatedRoute=r,this.location.insert(t.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(t.instance)}deactivate(){if(this.activated){const t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,r){if(this.isActivated)throw new _(4013,!1);this._activatedRoute=t;const o=this.location,s=t.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,u=new lV(t,a,o.injector);this.activated=o.createComponent(s,{index:o.length,injector:u,environmentInjector:r??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275dir=k({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[Et]})}return e})();class lV{constructor(n,t,r){this.route=n,this.childContexts=t,this.parent=r}get(n,t){return n===Qn?this.route:n===us?this.childContexts:this.parent.get(n,t)}}const Bu=new S("");let RE=(()=>{class e{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(t){this.unsubscribeFromRouteData(t),this.subscribeToRouteData(t)}unsubscribeFromRouteData(t){this.outletDataSubscriptions.get(t)?.unsubscribe(),this.outletDataSubscriptions.delete(t)}subscribeToRouteData(t){const{activatedRoute:r}=t,o=Xf([r.queryParams,r.params,r.data]).pipe(Tt(([i,s,a],u)=>(a={...i,...s,...a},0===u?R(a):Promise.resolve(a)))).subscribe(i=>{if(!t.isActivated||!t.activatedComponentRef||t.activatedRoute!==r||null===r.component)return void this.unsubscribeFromRouteData(t);const s=function c1(e){const n=G(e);if(!n)return null;const t=new Ci(n);return{get selector(){return t.selector},get type(){return t.componentType},get inputs(){return t.inputs},get outputs(){return t.outputs},get ngContentSelectors(){return t.ngContentSelectors},get isStandalone(){return n.standalone},get isSignal(){return n.signals}}}(r.component);if(s)for(const{templateName:a}of s.inputs)t.activatedComponentRef.setInput(a,i[a]);else this.unsubscribeFromRouteData(t)});this.outletDataSubscriptions.set(t,o)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=T({token:e,factory:e.\u0275fac})}return e})();function cs(e,n,t){if(t&&e.shouldReuseRoute(n.value,t.value.snapshot)){const r=t.value;r._futureSnapshot=n.value;const o=function fV(e,n,t){return n.children.map(r=>{for(const o of t.children)if(e.shouldReuseRoute(r.value,o.value.snapshot))return cs(e,r,o);return cs(e,r)})}(e,n,t);return new Sn(r,o)}{if(e.shouldAttach(n.value)){const i=e.retrieve(n.value);if(null!==i){const s=i.route;return s.value._futureSnapshot=n.value,s.children=n.children.map(a=>cs(e,a)),s}}const r=function hV(e){return new Qn(new at(e.url),new at(e.params),new at(e.queryParams),new at(e.fragment),new at(e.data),e.outlet,e.component,e)}(n.value),o=n.children.map(i=>cs(e,i));return new Sn(r,o)}}const ph="ngNavigationCancelingError";function OE(e,n){const{redirectTo:t,navigationBehaviorOptions:r}=br(n)?{redirectTo:n,navigationBehaviorOptions:void 0}:n,o=PE(!1,0,n);return o.url=t,o.navigationBehaviorOptions=r,o}function PE(e,n,t){const r=new Error("NavigationCancelingError: "+(e||""));return r[ph]=!0,r.cancellationCode=n,t&&(r.url=t),r}function FE(e){return e&&e[ph]}let kE=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=Gt({type:e,selectors:[["ng-component"]],standalone:!0,features:[yD],decls:1,vars:0,template:function(r,o){1&r&&de(0,"router-outlet")},dependencies:[hh],encapsulation:2})}return e})();function gh(e){const n=e.children&&e.children.map(gh),t=n?{...e,children:n}:{...e};return!t.component&&!t.loadComponent&&(n||t.loadChildren)&&t.outlet&&t.outlet!==H&&(t.component=kE),t}function $t(e){return e.outlet||H}function ls(e){if(!e)return null;if(e.routeConfig?._injector)return e.routeConfig._injector;for(let n=e.parent;n;n=n.parent){const t=n.routeConfig;if(t?._loadedInjector)return t._loadedInjector;if(t?._injector)return t._injector}return null}class CV{constructor(n,t,r,o,i){this.routeReuseStrategy=n,this.futureState=t,this.currState=r,this.forwardEvent=o,this.inputBindingEnabled=i}activate(n){const t=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(t,r,n),dh(this.futureState.root),this.activateChildRoutes(t,r,n)}deactivateChildRoutes(n,t,r){const o=xo(t);n.children.forEach(i=>{const s=i.value.outlet;this.deactivateRoutes(i,o[s],r),delete o[s]}),Object.values(o).forEach(i=>{this.deactivateRouteAndItsChildren(i,r)})}deactivateRoutes(n,t,r){const o=n.value,i=t?t.value:null;if(o===i)if(o.component){const s=r.getContext(o.outlet);s&&this.deactivateChildRoutes(n,t,s.children)}else this.deactivateChildRoutes(n,t,r);else i&&this.deactivateRouteAndItsChildren(t,r)}deactivateRouteAndItsChildren(n,t){n.value.component&&this.routeReuseStrategy.shouldDetach(n.value.snapshot)?this.detachAndStoreRouteSubtree(n,t):this.deactivateRouteAndOutlet(n,t)}detachAndStoreRouteSubtree(n,t){const r=t.getContext(n.value.outlet),o=r&&n.value.component?r.children:t,i=xo(n);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(n.value.snapshot,{componentRef:s,route:n,contexts:a})}}deactivateRouteAndOutlet(n,t){const r=t.getContext(n.value.outlet),o=r&&n.value.component?r.children:t,i=xo(n);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.route=null)}activateChildRoutes(n,t,r){const o=xo(t);n.children.forEach(i=>{this.activateRoutes(i,o[i.value.outlet],r),this.forwardEvent(new sV(i.value.snapshot))}),n.children.length&&this.forwardEvent(new oV(n.value.snapshot))}activateRoutes(n,t,r){const o=n.value,i=t?t.value:null;if(dh(o),o===i)if(o.component){const s=r.getOrCreateContext(o.outlet);this.activateChildRoutes(n,t,s.children)}else this.activateChildRoutes(n,t,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),dh(a.route.value),this.activateChildRoutes(n,null,s.children)}else{const a=ls(o.snapshot);s.attachRef=null,s.route=o,s.injector=a,s.outlet&&s.outlet.activateWith(o,s.injector),this.activateChildRoutes(n,null,s.children)}}else this.activateChildRoutes(n,null,r)}}class LE{constructor(n){this.path=n,this.route=this.path[this.path.length-1]}}class Hu{constructor(n,t){this.component=n,this.route=t}}function wV(e,n,t){const r=e._root;return ds(r,n?n._root:null,t,[r.value])}function Ro(e,n){const t=Symbol(),r=n.get(e,t);return r===t?"function"!=typeof e||function gI(e){return null!==ws(e)}(e)?n.get(e):e:r}function ds(e,n,t,r,o={canDeactivateChecks:[],canActivateChecks:[]}){const i=xo(n);return e.children.forEach(s=>{(function bV(e,n,t,r,o={canDeactivateChecks:[],canActivateChecks:[]}){const i=e.value,s=n?n.value:null,a=t?t.getContext(e.value.outlet):null;if(s&&i.routeConfig===s.routeConfig){const u=function IV(e,n,t){if("function"==typeof t)return t(e,n);switch(t){case"pathParamsChange":return!Er(e.url,n.url);case"pathParamsOrQueryParamsChange":return!Er(e.url,n.url)||!on(e.queryParams,n.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!fh(e,n)||!on(e.queryParams,n.queryParams);default:return!fh(e,n)}}(s,i,i.routeConfig.runGuardsAndResolvers);u?o.canActivateChecks.push(new LE(r)):(i.data=s.data,i._resolvedData=s._resolvedData),ds(e,n,i.component?a?a.children:null:t,r,o),u&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new Hu(a.outlet.component,s))}else s&&fs(n,a,o),o.canActivateChecks.push(new LE(r)),ds(e,null,i.component?a?a.children:null:t,r,o)})(s,i[s.value.outlet],t,r.concat([s.value]),o),delete i[s.value.outlet]}),Object.entries(i).forEach(([s,a])=>fs(a,t.getContext(s),o)),o}function fs(e,n,t){const r=xo(e),o=e.value;Object.entries(r).forEach(([i,s])=>{fs(s,o.component?n?n.children.getContext(i):null:n,t)}),t.canDeactivateChecks.push(new Hu(o.component&&n&&n.outlet&&n.outlet.isActivated?n.outlet.component:null,o))}function hs(e){return"function"==typeof e}function VE(e){return e instanceof Tu||"EmptyError"===e?.name}const $u=Symbol("INITIAL_VALUE");function Oo(){return Tt(e=>Xf(e.map(n=>n.pipe(Cr(1),function mL(...e){const n=jo(e);return Ie((t,r)=>{(n?Jf(e,t,n):Jf(e,t)).subscribe(r)})}($u)))).pipe(Z(n=>{for(const t of n)if(!0!==t){if(t===$u)return $u;if(!1===t||t instanceof To)return t}return!0}),Mn(n=>n!==$u),Cr(1)))}function jE(e){return function yb(...e){return Ah(e)}(Ne(n=>{if(br(n))throw OE(0,n)}),Z(n=>!0===n))}class Uu{constructor(n){this.segmentGroup=n||null}}class BE{constructor(n){this.urlTree=n}}function Po(e){return Dr(new Uu(e))}function HE(e){return Dr(new BE(e))}class GV{constructor(n,t){this.urlSerializer=n,this.urlTree=t}noMatchError(n){return new _(4002,!1)}lineralizeSegments(n,t){let r=[],o=t.root;for(;;){if(r=r.concat(o.segments),0===o.numberOfChildren)return R(r);if(o.numberOfChildren>1||!o.children[H])return Dr(new _(4e3,!1));o=o.children[H]}}applyRedirectCommands(n,t,r){return this.applyRedirectCreateUrlTree(t,this.urlSerializer.parse(t),n,r)}applyRedirectCreateUrlTree(n,t,r,o){const i=this.createSegmentGroup(n,t.root,r,o);return new To(i,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}createQueryParams(n,t){const r={};return Object.entries(n).forEach(([o,i])=>{if("string"==typeof i&&i.startsWith(":")){const a=i.substring(1);r[o]=t[a]}else r[o]=i}),r}createSegmentGroup(n,t,r,o){const i=this.createSegments(n,t.segments,r,o);let s={};return Object.entries(t.children).forEach(([a,u])=>{s[a]=this.createSegmentGroup(n,u,r,o)}),new te(i,s)}createSegments(n,t,r,o){return t.map(i=>i.path.startsWith(":")?this.findPosParam(n,i,o):this.findOrReturn(i,r))}findPosParam(n,t,r){const o=r[t.path.substring(1)];if(!o)throw new _(4001,!1);return o}findOrReturn(n,t){let r=0;for(const o of t){if(o.path===n.path)return t.splice(r),o;r++}return n}}const mh={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function qV(e,n,t,r,o){const i=yh(e,n,t);return i.matched?(r=function gV(e,n){return e.providers&&!e._injector&&(e._injector=Cd(e.providers,n,`Route: ${e.path}`)),e._injector??n}(n,r),function $V(e,n,t,r){const o=n.canMatch;return o&&0!==o.length?R(o.map(s=>{const a=Ro(s,e);return Zn(function xV(e){return e&&hs(e.canMatch)}(a)?a.canMatch(n,t):e.runInContext(()=>a(n,t)))})).pipe(Oo(),jE()):R(!0)}(r,n,t).pipe(Z(s=>!0===s?i:{...mh}))):R(i)}function yh(e,n,t){if(""===n.path)return"full"===n.pathMatch&&(e.hasChildren()||t.length>0)?{...mh}:{matched:!0,consumedSegments:[],remainingSegments:t,parameters:{},positionalParamSegments:{}};const o=(n.matcher||bL)(t,e,n);if(!o)return{...mh};const i={};Object.entries(o.posParams??{}).forEach(([a,u])=>{i[a]=u.path});const s=o.consumed.length>0?{...i,...o.consumed[o.consumed.length-1].parameters}:i;return{matched:!0,consumedSegments:o.consumed,remainingSegments:t.slice(o.consumed.length),parameters:s,positionalParamSegments:o.posParams??{}}}function $E(e,n,t,r){return t.length>0&&function YV(e,n,t){return t.some(r=>zu(e,n,r)&&$t(r)!==H)}(e,t,r)?{segmentGroup:new te(n,ZV(r,new te(t,e.children))),slicedSegments:[]}:0===t.length&&function QV(e,n,t){return t.some(r=>zu(e,n,r))}(e,t,r)?{segmentGroup:new te(e.segments,WV(e,0,t,r,e.children)),slicedSegments:t}:{segmentGroup:new te(e.segments,e.children),slicedSegments:t}}function WV(e,n,t,r,o){const i={};for(const s of r)if(zu(e,t,s)&&!o[$t(s)]){const a=new te([],{});i[$t(s)]=a}return{...o,...i}}function ZV(e,n){const t={};t[H]=n;for(const r of e)if(""===r.path&&$t(r)!==H){const o=new te([],{});t[$t(r)]=o}return t}function zu(e,n,t){return(!(e.hasChildren()||n.length>0)||"full"!==t.pathMatch)&&""===t.path}class e2{constructor(n,t,r,o,i,s,a){this.injector=n,this.configLoader=t,this.rootComponentType=r,this.config=o,this.urlTree=i,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.allowRedirects=!0,this.applyRedirects=new GV(this.urlSerializer,this.urlTree)}noMatchError(n){return new _(4002,!1)}recognize(){const n=$E(this.urlTree.root,[],[],this.config).segmentGroup;return this.processSegmentGroup(this.injector,this.config,n,H).pipe(In(t=>{if(t instanceof BE)return this.allowRedirects=!1,this.urlTree=t.urlTree,this.match(t.urlTree);throw t instanceof Uu?this.noMatchError(t):t}),Z(t=>{const r=new ju([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},H,this.rootComponentType,null,{}),o=new Sn(r,t),i=new NE("",o),s=function zL(e,n,t=null,r=null){return vE(yE(e),n,t,r)}(r,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,i.url=this.urlSerializer.serialize(s),this.inheritParamsAndData(i._root),{state:i,tree:s}}))}match(n){return this.processSegmentGroup(this.injector,this.config,n.root,H).pipe(In(r=>{throw r instanceof Uu?this.noMatchError(r):r}))}inheritParamsAndData(n){const t=n.value,r=TE(t,this.paramsInheritanceStrategy);t.params=Object.freeze(r.params),t.data=Object.freeze(r.data),n.children.forEach(o=>this.inheritParamsAndData(o))}processSegmentGroup(n,t,r,o){return 0===r.segments.length&&r.hasChildren()?this.processChildren(n,t,r):this.processSegment(n,t,r,r.segments,o,!0)}processChildren(n,t,r){const o=[];for(const i of Object.keys(r.children))"primary"===i?o.unshift(i):o.push(i);return Me(o).pipe(Io(i=>{const s=r.children[i],a=function DV(e,n){const t=e.filter(r=>$t(r)===n);return t.push(...e.filter(r=>$t(r)!==n)),t}(t,i);return this.processSegmentGroup(n,a,s,i)}),function DL(e,n){return Ie(function vL(e,n,t,r,o){return(i,s)=>{let a=t,u=n,c=0;i.subscribe(Ee(s,l=>{const d=c++;u=a?e(u,l,d):(a=!0,l),r&&s.next(u)},o&&(()=>{a&&s.next(u),s.complete()})))}}(e,n,arguments.length>=2,!0))}((i,s)=>(i.push(...s),i)),Nu(null),function _L(e,n){const t=arguments.length>=2;return r=>r.pipe(e?Mn((o,i)=>e(o,i,r)):Tn,eh(1),t?Nu(n):oE(()=>new Tu))}(),Re(i=>{if(null===i)return Po(r);const s=UE(i);return function t2(e){e.sort((n,t)=>n.value.outlet===H?-1:t.value.outlet===H?1:n.value.outlet.localeCompare(t.value.outlet))}(s),R(s)}))}processSegment(n,t,r,o,i,s){return Me(t).pipe(Io(a=>this.processSegmentAgainstRoute(a._injector??n,t,a,r,o,i,s).pipe(In(u=>{if(u instanceof Uu)return R(null);throw u}))),wr(a=>!!a),In(a=>{if(VE(a))return function JV(e,n,t){return 0===n.length&&!e.children[t]}(r,o,i)?R([]):Po(r);throw a}))}processSegmentAgainstRoute(n,t,r,o,i,s,a){return function XV(e,n,t,r){return!!($t(e)===r||r!==H&&zu(n,t,e))&&("**"===e.path||yh(n,e,t).matched)}(r,o,i,s)?void 0===r.redirectTo?this.matchSegmentAgainstRoute(n,o,r,i,s,a):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(n,o,t,r,i,s):Po(o):Po(o)}expandSegmentAgainstRouteUsingRedirect(n,t,r,o,i,s){return"**"===o.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(n,r,o,s):this.expandRegularSegmentAgainstRouteUsingRedirect(n,t,r,o,i,s)}expandWildCardWithParamsAgainstRouteUsingRedirect(n,t,r,o){const i=this.applyRedirects.applyRedirectCommands([],r.redirectTo,{});return r.redirectTo.startsWith("/")?HE(i):this.applyRedirects.lineralizeSegments(r,i).pipe(Re(s=>{const a=new te(s,{});return this.processSegment(n,t,a,s,o,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(n,t,r,o,i,s){const{matched:a,consumedSegments:u,remainingSegments:c,positionalParamSegments:l}=yh(t,o,i);if(!a)return Po(t);const d=this.applyRedirects.applyRedirectCommands(u,o.redirectTo,l);return o.redirectTo.startsWith("/")?HE(d):this.applyRedirects.lineralizeSegments(o,d).pipe(Re(f=>this.processSegment(n,r,t,f.concat(c),s,!1)))}matchSegmentAgainstRoute(n,t,r,o,i,s){let a;if("**"===r.path){const u=o.length>0?sE(o).parameters:{};a=R({snapshot:new ju(o,u,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,zE(r),$t(r),r.component??r._loadedComponent??null,r,GE(r)),consumedSegments:[],remainingSegments:[]}),t.children={}}else a=qV(t,r,o,n).pipe(Z(({matched:u,consumedSegments:c,remainingSegments:l,parameters:d})=>u?{snapshot:new ju(c,d,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,zE(r),$t(r),r.component??r._loadedComponent??null,r,GE(r)),consumedSegments:c,remainingSegments:l}:null));return a.pipe(Tt(u=>null===u?Po(t):this.getChildConfig(n=r._injector??n,r,o).pipe(Tt(({routes:c})=>{const l=r._loadedInjector??n,{snapshot:d,consumedSegments:f,remainingSegments:h}=u,{segmentGroup:p,slicedSegments:g}=$E(t,f,h,c);if(0===g.length&&p.hasChildren())return this.processChildren(l,c,p).pipe(Z(C=>null===C?null:[new Sn(d,C)]));if(0===c.length&&0===g.length)return R([new Sn(d,[])]);const y=$t(r)===i;return this.processSegment(l,c,p,g,y?H:i,!0).pipe(Z(C=>[new Sn(d,C)]))}))))}getChildConfig(n,t,r){return t.children?R({routes:t.children,injector:n}):t.loadChildren?void 0!==t._loadedRoutes?R({routes:t._loadedRoutes,injector:t._loadedInjector}):function HV(e,n,t,r){const o=n.canLoad;return void 0===o||0===o.length?R(!0):R(o.map(s=>{const a=Ro(s,e);return Zn(function SV(e){return e&&hs(e.canLoad)}(a)?a.canLoad(n,t):e.runInContext(()=>a(n,t)))})).pipe(Oo(),jE())}(n,t,r).pipe(Re(o=>o?this.configLoader.loadChildren(n,t).pipe(Ne(i=>{t._loadedRoutes=i.routes,t._loadedInjector=i.injector})):function zV(e){return Dr(PE(!1,3))}())):R({routes:[],injector:n})}}function n2(e){const n=e.value.routeConfig;return n&&""===n.path}function UE(e){const n=[],t=new Set;for(const r of e){if(!n2(r)){n.push(r);continue}const o=n.find(i=>r.value.routeConfig===i.value.routeConfig);void 0!==o?(o.children.push(...r.children),t.add(o)):n.push(r)}for(const r of t){const o=UE(r.children);n.push(new Sn(r.value,o))}return n.filter(r=>!t.has(r))}function zE(e){return e.data||{}}function GE(e){return e.resolve||{}}function qE(e){return"string"==typeof e.title||null===e.title}function vh(e){return Tt(n=>{const t=e(n);return t?Me(t).pipe(Z(()=>n)):R(n)})}const Fo=new S("ROUTES");let Dh=(()=>{class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=I(l_)}loadComponent(t){if(this.componentLoaders.get(t))return this.componentLoaders.get(t);if(t._loadedComponent)return R(t._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(t);const r=Zn(t.loadComponent()).pipe(Z(WE),Ne(i=>{this.onLoadEndListener&&this.onLoadEndListener(t),t._loadedComponent=i}),Xi(()=>{this.componentLoaders.delete(t)})),o=new rE(r,()=>new Dt).pipe(Kf());return this.componentLoaders.set(t,o),o}loadChildren(t,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return R({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);const i=function c2(e,n,t,r){return Zn(e.loadChildren()).pipe(Z(WE),Re(o=>o instanceof gD||Array.isArray(o)?R(o):Me(n.compileModuleAsync(o))),Z(o=>{r&&r(e);let i,s,a=!1;return Array.isArray(o)?(s=o,!0):(i=o.create(t).injector,s=i.get(Fo,[],{optional:!0,self:!0}).flat()),{routes:s.map(gh),injector:i}}))}(r,this.compiler,t,this.onLoadEndListener).pipe(Xi(()=>{this.childrenLoaders.delete(r)})),s=new rE(i,()=>new Dt).pipe(Kf());return this.childrenLoaders.set(r,s),s}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function WE(e){return function l2(e){return e&&"object"==typeof e&&"default"in e}(e)?e.default:e}let Gu=(()=>{class e{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new Dt,this.transitionAbortSubject=new Dt,this.configLoader=I(Dh),this.environmentInjector=I(ht),this.urlSerializer=I(ns),this.rootContexts=I(us),this.inputBindingEnabled=null!==I(Bu,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>R(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=o=>this.events.next(new nV(o)),this.configLoader.onLoadStartListener=o=>this.events.next(new tV(o))}complete(){this.transitions?.complete()}handleNavigationRequest(t){const r=++this.navigationId;this.transitions?.next({...this.transitions.value,...t,id:r})}setupNavigations(t,r,o){return this.transitions=new at({id:0,currentUrlTree:r,currentRawUrl:r,currentBrowserUrl:r,extractedUrl:t.urlHandlingStrategy.extract(r),urlAfterRedirects:t.urlHandlingStrategy.extract(r),rawUrl:r,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:ss,restoredState:null,currentSnapshot:o.snapshot,targetSnapshot:null,currentRouterState:o,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(Mn(i=>0!==i.id),Z(i=>({...i,extractedUrl:t.urlHandlingStrategy.extract(i.rawUrl)})),Tt(i=>{this.currentTransition=i;let s=!1,a=!1;return R(i).pipe(Ne(u=>{this.currentNavigation={id:u.id,initialUrl:u.rawUrl,extractedUrl:u.extractedUrl,trigger:u.source,extras:u.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),Tt(u=>{const c=u.currentBrowserUrl.toString(),l=!t.navigated||u.extractedUrl.toString()!==c||c!==u.currentUrlTree.toString();if(!l&&"reload"!==(u.extras.onSameUrlNavigation??t.onSameUrlNavigation)){const f="";return this.events.next(new No(u.id,this.urlSerializer.serialize(u.rawUrl),f,0)),u.resolve(null),Ut}if(t.urlHandlingStrategy.shouldProcessUrl(u.rawUrl))return R(u).pipe(Tt(f=>{const h=this.transitions?.getValue();return this.events.next(new Lu(f.id,this.urlSerializer.serialize(f.extractedUrl),f.source,f.restoredState)),h!==this.transitions?.getValue()?Ut:Promise.resolve(f)}),function r2(e,n,t,r,o,i){return Re(s=>function KV(e,n,t,r,o,i,s="emptyOnly"){return new e2(e,n,t,r,o,s,i).recognize()}(e,n,t,r,s.extractedUrl,o,i).pipe(Z(({state:a,tree:u})=>({...s,targetSnapshot:a,urlAfterRedirects:u}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,t.config,this.urlSerializer,t.paramsInheritanceStrategy),Ne(f=>{i.targetSnapshot=f.targetSnapshot,i.urlAfterRedirects=f.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:f.urlAfterRedirects};const h=new bE(f.id,this.urlSerializer.serialize(f.extractedUrl),this.urlSerializer.serialize(f.urlAfterRedirects),f.targetSnapshot);this.events.next(h)}));if(l&&t.urlHandlingStrategy.shouldProcessUrl(u.currentRawUrl)){const{id:f,extractedUrl:h,source:p,restoredState:g,extras:y}=u,C=new Lu(f,this.urlSerializer.serialize(h),p,g);this.events.next(C);const m=AE(0,this.rootComponentType).snapshot;return this.currentTransition=i={...u,targetSnapshot:m,urlAfterRedirects:h,extras:{...y,skipLocationChange:!1,replaceUrl:!1}},R(i)}{const f="";return this.events.next(new No(u.id,this.urlSerializer.serialize(u.extractedUrl),f,1)),u.resolve(null),Ut}}),Ne(u=>{const c=new XL(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(c)}),Z(u=>(this.currentTransition=i={...u,guards:wV(u.targetSnapshot,u.currentSnapshot,this.rootContexts)},i)),function OV(e,n){return Re(t=>{const{targetSnapshot:r,currentSnapshot:o,guards:{canActivateChecks:i,canDeactivateChecks:s}}=t;return 0===s.length&&0===i.length?R({...t,guardsResult:!0}):function PV(e,n,t,r){return Me(e).pipe(Re(o=>function BV(e,n,t,r,o){const i=n&&n.routeConfig?n.routeConfig.canDeactivate:null;return i&&0!==i.length?R(i.map(a=>{const u=ls(n)??o,c=Ro(a,u);return Zn(function NV(e){return e&&hs(e.canDeactivate)}(c)?c.canDeactivate(e,n,t,r):u.runInContext(()=>c(e,n,t,r))).pipe(wr())})).pipe(Oo()):R(!0)}(o.component,o.route,t,n,r)),wr(o=>!0!==o,!0))}(s,r,o,e).pipe(Re(a=>a&&function MV(e){return"boolean"==typeof e}(a)?function FV(e,n,t,r){return Me(n).pipe(Io(o=>Jf(function LV(e,n){return null!==e&&n&&n(new rV(e)),R(!0)}(o.route.parent,r),function kV(e,n){return null!==e&&n&&n(new iV(e)),R(!0)}(o.route,r),function jV(e,n,t){const r=n[n.length-1],i=n.slice(0,n.length-1).reverse().map(s=>function EV(e){const n=e.routeConfig?e.routeConfig.canActivateChild:null;return n&&0!==n.length?{node:e,guards:n}:null}(s)).filter(s=>null!==s).map(s=>nE(()=>R(s.guards.map(u=>{const c=ls(s.node)??t,l=Ro(u,c);return Zn(function TV(e){return e&&hs(e.canActivateChild)}(l)?l.canActivateChild(r,e):c.runInContext(()=>l(r,e))).pipe(wr())})).pipe(Oo())));return R(i).pipe(Oo())}(e,o.path,t),function VV(e,n,t){const r=n.routeConfig?n.routeConfig.canActivate:null;if(!r||0===r.length)return R(!0);const o=r.map(i=>nE(()=>{const s=ls(n)??t,a=Ro(i,s);return Zn(function AV(e){return e&&hs(e.canActivate)}(a)?a.canActivate(n,e):s.runInContext(()=>a(n,e))).pipe(wr())}));return R(o).pipe(Oo())}(e,o.route,t))),wr(o=>!0!==o,!0))}(r,i,e,n):R(a)),Z(a=>({...t,guardsResult:a})))})}(this.environmentInjector,u=>this.events.next(u)),Ne(u=>{if(i.guardsResult=u.guardsResult,br(u.guardsResult))throw OE(0,u.guardsResult);const c=new JL(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot,!!u.guardsResult);this.events.next(c)}),Mn(u=>!!u.guardsResult||(this.cancelNavigationTransition(u,"",3),!1)),vh(u=>{if(u.guards.canActivateChecks.length)return R(u).pipe(Ne(c=>{const l=new KL(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(l)}),Tt(c=>{let l=!1;return R(c).pipe(function o2(e,n){return Re(t=>{const{targetSnapshot:r,guards:{canActivateChecks:o}}=t;if(!o.length)return R(t);let i=0;return Me(o).pipe(Io(s=>function i2(e,n,t,r){const o=e.routeConfig,i=e._resolve;return void 0!==o?.title&&!qE(o)&&(i[es]=o.title),function s2(e,n,t,r){const o=function a2(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e)]}(e);if(0===o.length)return R({});const i={};return Me(o).pipe(Re(s=>function u2(e,n,t,r){const o=ls(n)??r,i=Ro(e,o);return Zn(i.resolve?i.resolve(n,t):o.runInContext(()=>i(n,t)))}(e[s],n,t,r).pipe(wr(),Ne(a=>{i[s]=a}))),eh(1),function CL(e){return Z(()=>e)}(i),In(s=>VE(s)?Ut:Dr(s)))}(i,e,n,r).pipe(Z(s=>(e._resolvedData=s,e.data=TE(e,t).resolve,o&&qE(o)&&(e.data[es]=o.title),null)))}(s.route,r,e,n)),Ne(()=>i++),eh(1),Re(s=>i===o.length?R(t):Ut))})}(t.paramsInheritanceStrategy,this.environmentInjector),Ne({next:()=>l=!0,complete:()=>{l||this.cancelNavigationTransition(c,"",2)}}))}),Ne(c=>{const l=new eV(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(l)}))}),vh(u=>{const c=l=>{const d=[];l.routeConfig?.loadComponent&&!l.routeConfig._loadedComponent&&d.push(this.configLoader.loadComponent(l.routeConfig).pipe(Ne(f=>{l.component=f}),Z(()=>{})));for(const f of l.children)d.push(...c(f));return d};return Xf(c(u.targetSnapshot.root)).pipe(Nu(),Cr(1))}),vh(()=>this.afterPreactivation()),Z(u=>{const c=function dV(e,n,t){const r=cs(e,n._root,t?t._root:void 0);return new SE(r,n)}(t.routeReuseStrategy,u.targetSnapshot,u.currentRouterState);return this.currentTransition=i={...u,targetRouterState:c},i}),Ne(()=>{this.events.next(new sh)}),((e,n,t,r)=>Z(o=>(new CV(n,o.targetRouterState,o.currentRouterState,t,r).activate(e),o)))(this.rootContexts,t.routeReuseStrategy,u=>this.events.next(u),this.inputBindingEnabled),Cr(1),Ne({next:u=>{s=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Yn(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects))),t.titleStrategy?.updateTitle(u.targetRouterState.snapshot),u.resolve(!0)},complete:()=>{s=!0}}),function wL(e){return Ie((n,t)=>{st(e).subscribe(Ee(t,()=>t.complete(),Yu)),!t.closed&&n.subscribe(t)})}(this.transitionAbortSubject.pipe(Ne(u=>{throw u}))),Xi(()=>{s||a||this.cancelNavigationTransition(i,"",1),this.currentNavigation?.id===i.id&&(this.currentNavigation=null)}),In(u=>{if(a=!0,FE(u))this.events.next(new as(i.id,this.urlSerializer.serialize(i.extractedUrl),u.message,u.cancellationCode)),function pV(e){return FE(e)&&br(e.url)}(u)?this.events.next(new ah(u.url)):i.resolve(!1);else{this.events.next(new Vu(i.id,this.urlSerializer.serialize(i.extractedUrl),u,i.targetSnapshot??void 0));try{i.resolve(t.errorHandler(u))}catch(c){i.reject(c)}}return Ut}))}))}cancelNavigationTransition(t,r,o){const i=new as(t.id,this.urlSerializer.serialize(t.extractedUrl),r,o);this.events.next(i),t.resolve(!1)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function ZE(e){return e!==ss}let YE=(()=>{class e{buildTitle(t){let r,o=t.root;for(;void 0!==o;)r=this.getResolvedTitleForRoute(o)??r,o=o.children.find(i=>i.outlet===H);return r}getResolvedTitleForRoute(t){return t.data[es]}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=T({token:e,factory:function(){return I(d2)},providedIn:"root"})}return e})(),d2=(()=>{class e extends YE{constructor(t){super(),this.title=t}updateTitle(t){const r=this.buildTitle(t);void 0!==r&&this.title.setTitle(r)}static#e=this.\u0275fac=function(r){return new(r||e)(A(xC))};static#t=this.\u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),f2=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=T({token:e,factory:function(){return I(p2)},providedIn:"root"})}return e})();class h2{shouldDetach(n){return!1}store(n,t){}shouldAttach(n){return!1}retrieve(n){return null}shouldReuseRoute(n,t){return n.routeConfig===t.routeConfig}}let p2=(()=>{class e extends h2{static#e=this.\u0275fac=function(){let t;return function(o){return(t||(t=Le(e)))(o||e)}}();static#t=this.\u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const qu=new S("",{providedIn:"root",factory:()=>({})});let g2=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=T({token:e,factory:function(){return I(m2)},providedIn:"root"})}return e})(),m2=(()=>{class e{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,r){return t}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var ps=function(e){return e[e.COMPLETE=0]="COMPLETE",e[e.FAILED=1]="FAILED",e[e.REDIRECTING=2]="REDIRECTING",e}(ps||{});function QE(e,n){e.events.pipe(Mn(t=>t instanceof Yn||t instanceof as||t instanceof Vu||t instanceof No),Z(t=>t instanceof Yn||t instanceof No?ps.COMPLETE:t instanceof as&&(0===t.code||1===t.code)?ps.REDIRECTING:ps.FAILED),Mn(t=>t!==ps.REDIRECTING),Cr(1)).subscribe(()=>{n()})}function y2(e){throw e}function v2(e,n,t){return n.parse("/")}const D2={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},_2={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Ve=(()=>{class e{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.location.getState()?.\u0275routerPageId??this.currentPageId}get events(){return this._events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=I(c_),this.isNgZoneEnabled=!1,this._events=new Dt,this.options=I(qu,{optional:!0})||{},this.pendingTasks=I(Ua),this.errorHandler=this.options.errorHandler||y2,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||v2,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=I(g2),this.routeReuseStrategy=I(f2),this.titleStrategy=I(YE),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=I(Fo,{optional:!0})?.flat()??[],this.navigationTransitions=I(Gu),this.urlSerializer=I(ns),this.location=I(ef),this.componentInputBindingEnabled=!!I(Bu,{optional:!0}),this.eventsSubscription=new it,this.isNgZoneEnabled=I(ue)instanceof ue&&ue.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new To,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=AE(0,null),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe(t=>{this.lastSuccessfulId=t.id,this.currentPageId=this.browserPageId},t=>{this.console.warn(`Unhandled Navigation Error: ${t}`)}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const t=this.navigationTransitions.events.subscribe(r=>{try{const{currentTransition:o}=this.navigationTransitions;if(null===o)return void(XE(r)&&this._events.next(r));if(r instanceof Lu)ZE(o.source)&&(this.browserUrlTree=o.extractedUrl);else if(r instanceof No)this.rawUrlTree=o.rawUrl;else if(r instanceof bE){if("eager"===this.urlUpdateStrategy){if(!o.extras.skipLocationChange){const i=this.urlHandlingStrategy.merge(o.urlAfterRedirects,o.rawUrl);this.setBrowserUrl(i,o)}this.browserUrlTree=o.urlAfterRedirects}}else if(r instanceof sh)this.currentUrlTree=o.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(o.urlAfterRedirects,o.rawUrl),this.routerState=o.targetRouterState,"deferred"===this.urlUpdateStrategy&&(o.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,o),this.browserUrlTree=o.urlAfterRedirects);else if(r instanceof as)0!==r.code&&1!==r.code&&(this.navigated=!0),(3===r.code||2===r.code)&&this.restoreHistory(o);else if(r instanceof ah){const i=this.urlHandlingStrategy.merge(r.url,o.currentRawUrl),s={skipLocationChange:o.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||ZE(o.source)};this.scheduleNavigation(i,ss,null,s,{resolve:o.resolve,reject:o.reject,promise:o.promise})}r instanceof Vu&&this.restoreHistory(o,!0),r instanceof Yn&&(this.navigated=!0),XE(r)&&this._events.next(r)}catch(o){this.navigationTransitions.transitionAbortSubject.next(o)}});this.eventsSubscription.add(t)}resetRootComponentType(t){this.routerState.root.component=t,this.navigationTransitions.rootComponentType=t}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){const t=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),ss,t)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(t=>{const r="popstate"===t.type?"popstate":"hashchange";"popstate"===r&&setTimeout(()=>{this.navigateToSyncWithBrowser(t.url,r,t.state)},0)}))}navigateToSyncWithBrowser(t,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(t);this.scheduleNavigation(a,r,s,i)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(t){this.config=t.map(gh),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,this.eventsSubscription.unsubscribe()}createUrlTree(t,r={}){const{relativeTo:o,queryParams:i,fragment:s,queryParamsHandling:a,preserveFragment:u}=r,c=u?this.currentUrlTree.fragment:s;let d,l=null;switch(a){case"merge":l={...this.currentUrlTree.queryParams,...i};break;case"preserve":l=this.currentUrlTree.queryParams;break;default:l=i||null}null!==l&&(l=this.removeEmptyProps(l));try{d=yE(o?o.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof t[0]||!t[0].startsWith("/"))&&(t=[]),d=this.currentUrlTree.root}return vE(d,t,l,c??null)}navigateByUrl(t,r={skipLocationChange:!1}){const o=br(t)?t:this.parseUrl(t),i=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(i,ss,null,r)}navigate(t,r={skipLocationChange:!1}){return function C2(e){for(let n=0;n{const i=t[o];return null!=i&&(r[o]=i),r},{})}scheduleNavigation(t,r,o,i,s){if(this.disposed)return Promise.resolve(!1);let a,u,c;s?(a=s.resolve,u=s.reject,c=s.promise):c=new Promise((d,f)=>{a=d,u=f});const l=this.pendingTasks.add();return QE(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(l))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,currentBrowserUrl:this.browserUrlTree,rawUrl:t,extras:i,resolve:a,reject:u,promise:c,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),c.catch(d=>Promise.reject(d))}setBrowserUrl(t,r){const o=this.urlSerializer.serialize(t);if(this.location.isCurrentPathEqualTo(o)||r.extras.replaceUrl){const s={...r.extras.state,...this.generateNgRouterState(r.id,this.browserPageId)};this.location.replaceState(o,"",s)}else{const i={...r.extras.state,...this.generateNgRouterState(r.id,this.browserPageId+1)};this.location.go(o,"",i)}}restoreHistory(t,r=!1){if("computed"===this.canceledNavigationResolution){const i=this.currentPageId-this.browserPageId;0!==i?this.location.historyGo(i):this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===i&&(this.resetState(t),this.browserUrlTree=t.currentUrlTree,this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(r&&this.resetState(t),this.resetUrlToCurrentUrlTree())}resetState(t){this.routerState=t.currentRouterState,this.currentUrlTree=t.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(t,r){return"computed"===this.canceledNavigationResolution?{navigationId:t,\u0275routerPageId:r}:{navigationId:t}}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function XE(e){return!(e instanceof sh||e instanceof ah)}let gs=(()=>{class e{constructor(t,r,o,i,s,a){this.router=t,this.route=r,this.tabIndexAttribute=o,this.renderer=i,this.el=s,this.locationStrategy=a,this.href=null,this.commands=null,this.onChanges=new Dt,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const u=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===u||"area"===u,this.isAnchorElement?this.subscription=t.events.subscribe(c=>{c instanceof Yn&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(t){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",t)}ngOnChanges(t){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(t){null!=t?(this.commands=Array.isArray(t)?t:[t],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(t,r,o,i,s){return!!(null===this.urlTree||this.isAnchorElement&&(0!==t||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 t=null===this.href?null:function mm(e,n,t){return function wS(e,n){return"src"===n&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===n&&("base"===e||"link"===e)?gm:pm}(n,t)(e)}(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",t)}applyAttributeValue(t,r){const o=this.renderer,i=this.el.nativeElement;null!==r?o.setAttribute(i,t,r):o.removeAttribute(i,t)}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})}static#e=this.\u0275fac=function(r){return new(r||e)(D(Ve),D(Qn),function Us(e){return function HM(e,n){if("class"===n)return e.classes;if("style"===n)return e.styles;const t=e.attrs;if(t){const r=t.length;let o=0;for(;o{class e{get isActive(){return this._isActive}constructor(t,r,o,i,s){this.router=t,this.element=r,this.renderer=o,this.cdr=i,this.link=s,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new ye,this.routerEventsSubscription=t.events.subscribe(a=>{a instanceof Yn&&this.update()})}ngAfterContentInit(){R(this.links.changes,R(null)).pipe(Mr()).subscribe(t=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const t=[...this.links.toArray(),this.link].filter(r=>!!r).map(r=>r.onChanges);this.linkInputChangesSubscription=Me(t).pipe(Mr()).subscribe(r=>{this._isActive!==this.isLinkActive(this.router)(r)&&this.update()})}set routerLinkActive(t){const r=Array.isArray(t)?t:t.split(" ");this.classes=r.filter(o=>!!o)}ngOnChanges(t){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{const t=this.hasActiveLinks();this._isActive!==t&&(this._isActive=t,this.cdr.markForCheck(),this.classes.forEach(r=>{t?this.renderer.addClass(this.element.nativeElement,r):this.renderer.removeClass(this.element.nativeElement,r)}),t&&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(t))})}isLinkActive(t){const r=function w2(e){return!!e.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return o=>!!o.urlTree&&t.isActive(o.urlTree,r)}hasActiveLinks(){const t=this.isLinkActive(this.router);return this.link&&t(this.link)||this.links.some(t)}static#e=this.\u0275fac=function(r){return new(r||e)(D(Ve),D(pt),D(gn),D(Wa),D(gs,8))};static#t=this.\u0275dir=k({type:e,selectors:[["","routerLinkActive",""]],contentQueries:function(r,o,i){if(1&r&&$D(i,gs,5),2&r){let s;HD(s=function UD(){return function RR(e,n){return e[qt].queries[n].queryList}(v(),Kp())}())&&(o.links=s)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[Et]})}return e})();class KE{}let E2=(()=>{class e{constructor(t,r,o,i,s){this.router=t,this.injector=o,this.preloadingStrategy=i,this.loader=s}setUpPreloading(){this.subscription=this.router.events.pipe(Mn(t=>t instanceof Yn),Io(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(t,r){const o=[];for(const i of r){i.providers&&!i._injector&&(i._injector=Cd(i.providers,t,`Route: ${i.path}`));const s=i._injector??t,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 Me(o).pipe(Mr())}preloadConfig(t,r){return this.preloadingStrategy.preload(r,()=>{let o;o=r.loadChildren&&void 0===r.canLoad?this.loader.loadChildren(t,r):R(null);const i=o.pipe(Re(s=>null===s?R(void 0):(r._loadedRoutes=s.routes,r._loadedInjector=s.injector,this.processRoutes(s.injector??t,s.routes))));return r.loadComponent&&!r._loadedComponent?Me([i,this.loader.loadComponent(r)]).pipe(Mr()):i})}static#e=this.\u0275fac=function(r){return new(r||e)(A(Ve),A(l_),A(ht),A(KE),A(Dh))};static#t=this.\u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const _h=new S("");let eb=(()=>{class e{constructor(t,r,o,i,s={}){this.urlSerializer=t,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(t=>{t instanceof Lu?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof Yn?(this.lastId=t.id,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.urlAfterRedirects).fragment)):t instanceof No&&0===t.code&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(t=>{t instanceof IE&&(t.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(t.position):t.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(t.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(t,r){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new IE(t,"popstate"===this.lastSource?this.store[this.restoredId]:null,r))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static#e=this.\u0275fac=function(r){!function ny(){throw new Error("invalid")}()};static#t=this.\u0275prov=T({token:e,factory:e.\u0275fac})}return e})();function An(e,n){return{\u0275kind:e,\u0275providers:n}}function nb(){const e=I(gt);return n=>{const t=e.get(Co);if(n!==t.components[0])return;const r=e.get(Ve),o=e.get(rb);1===e.get(Ch)&&r.initialNavigation(),e.get(ob,null,U.Optional)?.setUpPreloading(),e.get(_h,null,U.Optional)?.init(),r.resetRootComponentType(t.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}const rb=new S("",{factory:()=>new Dt}),Ch=new S("",{providedIn:"root",factory:()=>1}),ob=new S("");function S2(e){return An(0,[{provide:ob,useExisting:E2},{provide:KE,useExisting:e}])}const ib=new S("ROUTER_FORROOT_GUARD"),T2=[ef,{provide:ns,useClass:th},Ve,us,{provide:Qn,useFactory:function tb(e){return e.routerState.root},deps:[Ve]},Dh,[]];function N2(){return new y_("Router",Ve)}let sb=(()=>{class e{constructor(t){}static forRoot(t,r){return{ngModule:e,providers:[T2,[],{provide:Fo,multi:!0,useValue:t},{provide:ib,useFactory:P2,deps:[[Ve,new qs,new Ws]]},{provide:qu,useValue:r||{}},r?.useHash?{provide:gr,useClass:p1}:{provide:gr,useClass:W_},{provide:_h,useFactory:()=>{const e=I(OP),n=I(ue),t=I(qu),r=I(Gu),o=I(ns);return t.scrollOffset&&e.setOffset(t.scrollOffset),new eb(o,r,e,n,t)}},r?.preloadingStrategy?S2(r.preloadingStrategy).\u0275providers:[],{provide:y_,multi:!0,useFactory:N2},r?.initialNavigation?F2(r):[],r?.bindToComponentInputs?An(8,[RE,{provide:Bu,useExisting:RE}]).\u0275providers:[],[{provide:ab,useFactory:nb},{provide:zd,multi:!0,useExisting:ab}]]}}static forChild(t){return{ngModule:e,providers:[{provide:Fo,multi:!0,useValue:t}]}}static#e=this.\u0275fac=function(r){return new(r||e)(A(ib,8))};static#t=this.\u0275mod=Ct({type:e});static#n=this.\u0275inj=ct({})}return e})();function P2(e){return"guarded"}function F2(e){return["disabled"===e.initialNavigation?An(3,[{provide:kd,multi:!0,useFactory:()=>{const n=I(Ve);return()=>{n.setUpLocationChangeListener()}}},{provide:Ch,useValue:2}]).\u0275providers:[],"enabledBlocking"===e.initialNavigation?An(2,[{provide:Ch,useValue:0},{provide:kd,multi:!0,deps:[gt],useFactory:n=>{const t=n.get(f1,Promise.resolve());return()=>t.then(()=>new Promise(r=>{const o=n.get(Ve),i=n.get(rb);QE(o,()=>{r(!0)}),n.get(Gu).afterPreactivation=()=>(r(!0),i.closed?R(void 0):i),o.initialNavigation()}))}}]).\u0275providers:[]]}const ab=new S("");let Wu=(()=>{class e{constructor(t,r){this.http=t,this.router=r,this.user=new at(null)}signUp(t){return this.http.post("https://identitytoolkit.googleapis.com/v1/accounts:signUp?key=AIzaSyDknLpY1n18YTw9-6hkTnq73rK9ehBuRp4",{email:t.email,password:t.password,returnSecureToken:!0}).pipe(In(this.handleError),Ne(r=>{this.handleAuthentication(r.email,r.localId,r.idToken,+r.expiresIn)}))}login(t){return this.http.post("https://identitytoolkit.googleapis.com/v1/accounts:signInWithPassword?key=AIzaSyDknLpY1n18YTw9-6hkTnq73rK9ehBuRp4",{email:t.email,password:t.password,returnSecureToken:!0}).pipe(In(this.handleError),Ne(r=>{this.handleAuthentication(r.email,r.localId,r.idToken,+r.expiresIn)}))}autoLogin(){let t=localStorage.getItem("userData");if(t){const r=JSON.parse(t);r&&(this.user.next(r),this.router.navigate(["/event"]))}else this.router.navigate(["/home"])}logOut(){this.user.next(null),this.router.navigate(["auth"]),localStorage.removeItem("userData")}logout(){this.user.next(null),this.router.navigate(["/auth"]),localStorage.removeItem("userData"),this.tokenExpirationTimer&&clearTimeout(this.tokenExpirationTimer),this.tokenExpirationTimer=null}autoLogout(t){this.tokenExpirationTimer=setTimeout(()=>{this.logout()},t)}handleAuthentication(t,r,o,i){const s=new Date((new Date).getTime()+1e3*i),a=new Lk(t,r,o,s);this.user.next(a),this.autoLogout(1e3*i),localStorage.setItem("userData",JSON.stringify(a))}handleError(t){let r="An unknown error occur";if(!t.error||!t.error.error)return Dr(r);switch(t.error.error.message){case"EMAIL_EXIST":r="This email exists already";break;case"EMAIL_NOT_FOUND":r="This email doesnot exist";break;case"INVALID_PASSWORD":r="Oops!.. Wrong password";break;case"INVALID_LOGIN_CREDENTIALS":r="Invalid login credentials";break;case"ADMIN_ONLY_OPERATION":r="Please use provided creds"}return Dr(r)}static#e=this.\u0275fac=function(r){return new(r||e)(A(Yf),A(Ve))};static#t=this.\u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const L2=function(){return["/event"]};function V2(e,n){if(1&e){const t=lr();b(0,"ul",6)(1,"li",7)(2,"a",8)(3,"p",9),x(4,"Create Event"),w()()(),b(5,"li",7)(6,"a",10)(7,"p",9),x(8,"View Events"),w()()(),b(9,"li")(10,"button",11),ge("click",function(){return nr(t),rr(Mt().logOut())}),de(11,"i",12),w()()()}2&e&&(W(6),re("routerLink",function bD(e,n,t){const r=Ge()+e,o=v();return o[r]===j?Jt(o,r,t?n.call(t):n()):function wi(e,n){return e[n]}(o,r)}(1,L2)))}function j2(e,n){if(1&e){const t=lr();b(0,"div")(1,"button",13),ge("click",function(){return nr(t),rr(Mt().login())}),x(2,"Login"),w()()}}let B2=(()=>{class e{constructor(t,r){this.authService=t,this.router=r,this.isAuthenticated=!1}ngOnInit(){this.authService.user.subscribe(t=>{this.isAuthenticated=!!t})}logOut(){this.authService.logOut()}login(){this.router.navigate(["auth"])}home(){this.router.navigate(["home"])}static#e=this.\u0275fac=function(r){return new(r||e)(D(Wu),D(Ve))};static#t=this.\u0275cmp=Gt({type:e,selectors:[["app-header"]],decls:7,vars:2,consts:[[1,"navbar","sticky-top","navbar-light","p-3",2,"background-color","#98a9d1"],[1,"container-fluid"],[1,"navbar-header"],[1,"brand",2,"cursor","pointer",3,"click"],["class","nav",4,"ngIf"],[4,"ngIf"],[1,"nav"],["role","button","routerLinkActive","active",1,"nav-item"],["routerLink","/create"],[1,"m-2"],[1,"d-flex","flex-row",3,"routerLink"],[1,"btn","btn-tertiary","user-icon",3,"click"],[1,"bi","bi-box-arrow-right"],[1,"btn","btn-tertiary",3,"click"]],template:function(r,o){1&r&&(b(0,"nav",0)(1,"div",1)(2,"div",2)(3,"span",3),ge("click",function(){return o.home()}),x(4,"Event Management System"),w()(),Pt(5,V2,12,2,"ul",4),Pt(6,j2,3,0,"div",5),w()()),2&r&&(W(5),re("ngIf",o.isAuthenticated),W(1),re("ngIf",!o.isAuthenticated))},dependencies:[Bi,gs,JE],styles:[".user-icon[_ngcontent-%COMP%]{font-size:20px}.brand[_ngcontent-%COMP%]{font-size:25px}p[_ngcontent-%COMP%]{font-size:18px}a[_ngcontent-%COMP%]{text-decoration:none}"]})}return e})(),H2=(()=>{class e{constructor(t){this.authService=t}ngOnInit(){this.authService.autoLogin()}static#e=this.\u0275fac=function(r){return new(r||e)(D(Wu))};static#t=this.\u0275cmp=Gt({type:e,selectors:[["app-root"]],decls:2,vars:0,template:function(r,o){1&r&&de(0,"app-header")(1,"router-outlet")},dependencies:[hh,B2]})}return e})(),ub=(()=>{class e{constructor(t){this.http=t,this.partyDetailsSubject=new Dt,this.partyDetails=[]}storeData(){this.http.put("https://event-management-81f60-default-rtdb.asia-southeast1.firebasedatabase.app/party.json",this.partyDetails).subscribe(r=>{})}fetchData(){this.http.get("https://event-management-81f60-default-rtdb.asia-southeast1.firebasedatabase.app/party.json").subscribe(t=>{t&&(this.partyDetails=t,this.partyDetailsSubject.next(this.partyDetails))})}getPartyDetails(){return 0===this.partyDetails.length&&this.fetchData(),[...this.partyDetails]}createPartyDetails(t){return this.partyDetails.push(t),this.partyDetailsSubject.next(this.partyDetails),this.storeData(),!0}updatePartyDetails(t){this.partyDetails=this.partyDetails.filter(r=>r.id!==t.id),this.partyDetails.push(t),this.partyDetailsSubject.next(this.partyDetails),this.storeData()}deletePartyDetails(t){this.partyDetails=this.partyDetails.filter(r=>r.id!==t.id),this.partyDetailsSubject.next(this.partyDetails),this.storeData()}getPartyDetailById(t){return this.partyDetails.filter(r=>r.id===t)}search(t){const r=this.partyDetails.filter(o=>Object.values(o).join(";").toLocaleLowerCase().includes(t));this.partyDetailsSubject.next(r)}static#e=this.\u0275fac=function(r){return new(r||e)(A(Yf))};static#t=this.\u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function $2(e,n){1&e&&(b(0,"button",23),x(1,"Create Event"),w()),2&e&&re("disabled",!Mt().partyForm.valid)}function U2(e,n){if(1&e){const t=lr();b(0,"button",24),ge("click",function(){return nr(t),rr(Mt().onNavigate())}),x(1,"Back"),w()}}function z2(e,n){if(1&e){const t=lr();b(0,"button",25),ge("click",function(){return nr(t),rr(Mt().onUpdatePartyDetails())}),x(1,"Update Event Details"),w()}2&e&&re("disabled",!Mt().partyForm.valid)}function G2(e,n){if(1&e){const t=lr();b(0,"button",26),ge("click",function(){return nr(t),rr(Mt().onDeletePartyDetails())}),x(1,"Are you sure you want to delete"),w()}}let wh=(()=>{class e{constructor(t,r,o){this.datastoreService=t,this.route=r,this.router=o,this.mode="create"}ngOnInit(){this.partyForm=new qi({id:new Ht(""),fullName:new Ht("",{validators:[bn.required]}),address:new Ht("",{validators:[bn.required]}),mobileNo:new Ht("",{validators:[bn.required,bn.pattern(/^(\+91[\-\s]?)?[0]?(91)?[789]\d{9}$/)]}),description:new Ht(""),date:new Ht("",{validators:[bn.required]}),time:new Ht("",{validators:[bn.required]})}),this.routeSubs=this.route.params.subscribe(t=>{this.mode=this.checkModes(this.router.url),this.openFormInModes(t.id)})}getTodaysDate(){return(new Date).toISOString().slice(0,10)}getCurrentTime(){const t=new Date;return t.getHours()+":"+t.getMinutes()}checkModes(t){return t.includes("edit")?"edit":t.includes("delete")?"delete":"create"}openFormInModes(t){const r=this.datastoreService.getPartyDetailById(t);this.partyForm.patchValue(r[0])}getRandomNumber(){return Math.floor(1e10*Math.random()).toString()}onCreatePartyDetails(){if(this.partyForm.valid){const t=this.partyForm.getRawValue();t.id=this.getRandomNumber(),this.datastoreService.createPartyDetails(t)&&(this.partyForm.reset(),this.router.navigate(["/event"]))}}onUpdatePartyDetails(){if(this.partyForm.dirty){const t=this.partyForm.getRawValue();this.datastoreService.updatePartyDetails(t),this.router.navigate(["/event"])}}onDeletePartyDetails(){const t=this.partyForm.getRawValue();this.datastoreService.deletePartyDetails(t),this.router.navigate(["/event"])}onNavigate(){this.router.navigate(["/event"])}ngOnDestroy(){this.routeSubs.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||e)(D(ub),D(Qn),D(Ve))};static#t=this.\u0275cmp=Gt({type:e,selectors:[["app-create-party"]],decls:41,vars:13,consts:[[1,"form-container"],[1,"container","d-flex","align-items-center","justify-content-center","h-100"],[1,"border","border-1","p-4","rounded-3","bg-white","bg-opacity-50",2,"backdrop-filter","blur(50px)",3,"formGroup","submit"],[1,"d-flex","justify-content-center","p-3",2,"font-size","40px"],[1,"flex-column"],[1,"form-group","col-md-12","my-3","d-flex","flex-row"],["for","fullName",2,"width","300px","align-self","center"],["type","text","id","fullName","placeholder","FirstName LastName","formControlName","fullName",1,"form-control",3,"readOnly"],["for","address",2,"width","300px","align-self","center"],["type","text","id","address","placeholder","apartNo, street name, street number, city, state, pincode","formControlName","address",1,"form-control",3,"readOnly"],["for","mobileno",2,"width","300px","align-self","center"],["type","text","id","mobileno","placeholder","10 digit mobile number.","formControlName","mobileNo",1,"form-control",3,"readOnly"],["for","description",2,"width","300px","align-self","center"],["type","text","id","description","placeholder","Enter description","formControlName","description",1,"form-control",3,"readOnly"],["for","date",2,"width","300px","align-self","center"],["type","date","id","date","placeholder","Enter Event date","formControlName","date",1,"form-control",3,"min","readOnly"],["for","time",2,"width","300px","align-self","center"],["type","time","name","time","id","time","placeholder","Time","formControlName","time",1,"form-control",3,"min","readOnly"],[1,"d-flex","justify-content-center","align-items-center","my-5"],["type","submit","class","btn btn-primary",3,"disabled",4,"ngIf"],["type","button","class","btn btn-primary",3,"click",4,"ngIf"],["type","button","class","btn btn-primary",3,"disabled","click",4,"ngIf"],["type","button","class","btn btn-danger",3,"click",4,"ngIf"],["type","submit",1,"btn","btn-primary",3,"disabled"],["type","button",1,"btn","btn-primary",3,"click"],["type","button",1,"btn","btn-primary",3,"disabled","click"],["type","button",1,"btn","btn-danger",3,"click"]],template:function(r,o){1&r&&(b(0,"div",0)(1,"div",1)(2,"form",2),ge("submit",function(){return o.onCreatePartyDetails()}),b(3,"div",3),x(4," Form "),w(),b(5,"div",4)(6,"div",5)(7,"label",6),x(8,"Full Name"),w(),de(9,"input",7),w(),b(10,"div",5)(11,"label",8),x(12,"Address"),w(),de(13,"input",9),w(),b(14,"div",5)(15,"label",10),x(16,"Mobile No."),w(),de(17,"input",11),w(),b(18,"div",5)(19,"label",12),x(20,"Description"),w(),de(21,"input",13),w(),b(22,"div",5)(23,"label",14),x(24,"Date"),w(),de(25,"input",15),w(),b(26,"div",5)(27,"label",16),x(28,"Time"),w(),de(29,"input",17),w()(),b(30,"div",18),Pt(31,$2,2,1,"button",19),b(32,"span"),x(33,"\xa0"),w(),Pt(34,U2,2,0,"button",20),b(35,"span"),x(36,"\xa0"),w(),Pt(37,z2,2,1,"button",21),b(38,"span"),x(39,"\xa0"),w(),Pt(40,G2,2,0,"button",22),w()()()()),2&r&&(W(2),re("formGroup",o.partyForm),W(7),re("readOnly","delete"===o.mode),W(4),re("readOnly","delete"===o.mode),W(4),re("readOnly","delete"===o.mode),W(4),re("readOnly","delete"===o.mode),W(4),re("min",o.getTodaysDate())("readOnly","delete"===o.mode),W(4),re("min",o.getCurrentTime())("readOnly","delete"===o.mode),W(2),re("ngIf","create"===o.mode),W(3),re("ngIf","edit"===o.mode||"delete"===o.mode),W(3),re("ngIf","edit"===o.mode),W(3),re("ngIf","delete"===o.mode))},dependencies:[Bi,wu,Ui,Nf,hu,Qi,Eu],styles:["input.ng-invalid.ng-touched[_ngcontent-%COMP%], textarea.ng-invalid.ng-touched[_ngcontent-%COMP%]{border:1px solid red}.form-container[_ngcontent-%COMP%]{width:100vw;height:calc(100vh - 77px);background-image:url(https://images.pexels.com/photos/341858/pexels-photo-341858.jpeg?auto=compress&cs=tinysrgb&w=600);background-repeat:no-repeat;background-size:cover}"]})}return e})();const q2=function(e){return[e,"edit"]},W2=function(e){return[e,"delete"]};function Z2(e,n){if(1&e&&(b(0,"tr")(1,"th",12),x(2),w(),b(3,"td",13),x(4),w(),b(5,"td",14),x(6),w(),b(7,"td",13),x(8),w(),b(9,"td",13),x(10),w(),b(11,"td",13),x(12),w(),b(13,"td",13),x(14),w(),b(15,"td")(16,"div",15),de(17,"button",16),b(18,"ul",17)(19,"li")(20,"a",18),x(21,"Update"),w()(),b(22,"li")(23,"a",18),x(24,"Delete"),w()()()()()()),2&e){const t=n.$implicit,r=n.index,o=Mt();W(2),Lt(o.startIndex+r+1),W(2),Lt(t.fullName),W(2),Lt(t.address),W(2),Lt(t.mobileNo),W(2),Lt(t.description),W(2),Lt(t.date),W(2),Lt(t.time),W(6),re("routerLink",Ed(9,q2,t.id)),W(3),re("routerLink",Ed(11,W2,t.id))}}function Y2(e,n){if(1&e){const t=lr();b(0,"button",20),ge("click",function(){const i=nr(t).$implicit;return rr(Mt(2).addPagination(i))}),x(1),w()}if(2&e){const t=n.$implicit;W(1),Lt(t)}}function Q2(e,n){if(1&e&&(xa(0),Pt(1,Y2,2,1,"button",19),Ra()),2&e){const t=Mt();W(1),re("ngForOf",t.noOfPages)}}let X2=(()=>{class e{constructor(t){this.dataStoreService=t,this.parties=[],this.partiesPagination=[],this.page=0,this.noOfPages=[],this.recordsPerPage=5,this.startIndex=0}ngOnInit(){this.dataSubscription=this.dataStoreService.partyDetailsSubject.subscribe(t=>{this.parties=t,this.addPagination(1)}),this.parties=this.dataStoreService.getPartyDetails(),this.addPagination(1)}addPagination(t){this.noOfPages=Array.from({length:Math.ceil(this.parties.length/this.recordsPerPage)},(i,s)=>s+1);let r=(t-1)*this.recordsPerPage,o=r+this.recordsPerPage;this.startIndex=r,this.partiesPagination=this.parties.slice(r,o)}onSearch(t){this.dataStoreService.search(t.target.value)}ngOnDestroy(){this.dataSubscription.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||e)(D(ub))};static#t=this.\u0275cmp=Gt({type:e,selectors:[["app-party-details"]],decls:28,vars:2,consts:[[1,"main-box"],[1,"box"],[1,"d-flex","justify-content-center"],[1,"form-group","col-md-4","my-2","d-flex","flex-row"],["type","text","id","search","placeholder","search",1,"form-control",3,"input"],[1,"table",2,"height","300px","margin-bottom","0px","background-color","white"],["scope","col",2,"max-width","10px"],["scope","col",2,"max-width","50px"],["scope","col",2,"max-width","80px"],[4,"ngFor","ngForOf"],[1,"box","d-flex","flex-row","justify-content-center",2,"height","55px"],[4,"ngIf"],["scope","row",2,"max-width","10px"],[2,"max-width","50px"],[2,"max-width","80px"],[1,"dropdown"],["type","button","data-bs-toggle","dropdown",1,"btn","btn-secondary","dropdown-toggle"],[1,"dropdown-menu"],[1,"dropdown-item",3,"routerLink"],["class","btn btn-tertiary p-2",3,"click",4,"ngFor","ngForOf"],[1,"btn","btn-tertiary","p-2",3,"click"]],template:function(r,o){1&r&&(b(0,"div",0)(1,"div",1)(2,"form",2)(3,"div",3)(4,"input",4),ge("input",function(s){return o.onSearch(s)}),w()()()(),b(5,"table",5)(6,"thead")(7,"tr")(8,"th",6),x(9,"Sr No"),w(),b(10,"th",7),x(11,"Full Name"),w(),b(12,"th",8),x(13,"Address"),w(),b(14,"th",7),x(15,"Mobile Number"),w(),b(16,"th",7),x(17,"Description"),w(),b(18,"th",7),x(19,"Event Date"),w(),b(20,"th",7),x(21,"Time"),w(),b(22,"th",7),x(23,"Action"),w()()(),b(24,"tbody"),Pt(25,Z2,25,13,"tr",9),w()(),b(26,"div",10),Pt(27,Q2,2,1,"ng-container",11),w()()),2&r&&(W(25),re("ngForOf",o.partiesPagination),W(2),re("ngIf",o.noOfPages.length>1))},dependencies:[sC,Bi,wu,hu,Cu,gs],styles:[".main-box[_ngcontent-%COMP%]{width:100vw;height:calc(100vh - 77px);background-image:url(https://images.pexels.com/photos/341858/pexels-photo-341858.jpeg?auto=compress&cs=tinysrgb&w=600);background-repeat:no-repeat;background-size:cover}.box[_ngcontent-%COMP%]{width:100%;padding:5px;border:1px solid black;background-color:#d0efff}.cell-width-50[_ngcontent-%COMP%]{max-width:50px}.cell-width-80[_ngcontent-%COMP%]{max-width:80px}"]})}return e})(),J2=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=Gt({type:e,selectors:[["app-view-cards"]],decls:47,vars:0,consts:[["id","team",1,"pb-5"],[1,"container"],[1,"section-title","h1"],[1,"row"],[1,"col-xs-12","col-sm-6","col-md-4"],[1,"image-flip"],[1,"mainflip","flip-0"],[1,"frontside"],[1,"card"],[1,"card-body","text-center","d-flex","flex-column","justify-content-center","align-items-center"],[1,"card-title"],[1,"card-text"],[1,"backside"],[1,"card-body","text-center","mt-4","overflow-hidden",2,"height","312px"],["src","https://images.pexels.com/photos/226718/pexels-photo-226718.jpeg?auto=compress&cs=tinysrgb&w=600",1,"img-fluid"],["ontouchstart","this.classList.toggle('hover');",1,"image-flip"],[1,"mainflip"],["src","https://images.pexels.com/photos/2735037/pexels-photo-2735037.jpeg?auto=compress&cs=tinysrgb&w=600",1,"img-fluid"],["src","https://images.pexels.com/photos/889545/pexels-photo-889545.jpeg?auto=compress&cs=tinysrgb&w=600",1,"img-fluid"]],template:function(r,o){1&r&&(b(0,"section",0)(1,"div",1)(2,"h5",2),x(3,"OUR RESPONSIBILITY"),w(),b(4,"div",3)(5,"div",4)(6,"div",5)(7,"div",6)(8,"div",7)(9,"div",8)(10,"div",9)(11,"h4",10),x(12,"BirthDay Events"),w(),b(13,"p",11),x(14,"We made birthday special."),w()()()(),b(15,"div",12)(16,"div",8)(17,"div",13),de(18,"img",14),w()()()()()(),b(19,"div",4)(20,"div",15)(21,"div",16)(22,"div",7)(23,"div",8)(24,"div",9)(25,"h4",10),x(26,"Office Events"),w(),b(27,"p",11),x(28,"We made Office Events collaborative."),w()()()(),b(29,"div",12)(30,"div",8)(31,"div",13),de(32,"img",17),w()()()()()(),b(33,"div",4)(34,"div",15)(35,"div",16)(36,"div",7)(37,"div",8)(38,"div",9)(39,"h4",10),x(40,"Holi Events"),w(),b(41,"p",11),x(42,"We made Holi colorful."),w()()()(),b(43,"div",12)(44,"div",8)(45,"div",13),de(46,"img",18),w()()()()()()()()())},styles:['@import"https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css";#team[_ngcontent-%COMP%]{background:#eee!important}.btn-primary[_ngcontent-%COMP%]:hover, .btn-primary[_ngcontent-%COMP%]:focus{background-color:#108d6f;border-color:#108d6f;box-shadow:none;outline:none}.btn-primary[_ngcontent-%COMP%]{color:#fff;background-color:#007b5e;border-color:#007b5e}section[_ngcontent-%COMP%]{padding:60px 0}section[_ngcontent-%COMP%] .section-title[_ngcontent-%COMP%]{text-align:center;color:#007b5e;margin-bottom:50px;text-transform:uppercase}#team[_ngcontent-%COMP%] .card[_ngcontent-%COMP%]{border:none;background:#ffffff}.image-flip[_ngcontent-%COMP%]:hover .backside[_ngcontent-%COMP%], .image-flip.hover[_ngcontent-%COMP%] .backside[_ngcontent-%COMP%]{transform:rotateY(0);border-radius:.25rem}.image-flip[_ngcontent-%COMP%]:hover .frontside[_ngcontent-%COMP%], .image-flip.hover[_ngcontent-%COMP%] .frontside[_ngcontent-%COMP%]{transform:rotateY(180deg)}.mainflip[_ngcontent-%COMP%]{-webkit-transition:1s;-webkit-transform-style:preserve-3d;-ms-transition:1s;-moz-transition:1s;-moz-transform:perspective(1000px);-moz-transform-style:preserve-3d;-ms-transform-style:preserve-3d;transition:1s;transform-style:preserve-3d;position:relative}.frontside[_ngcontent-%COMP%]{position:relative;-webkit-transform:rotateY(0deg);-ms-transform:rotateY(0deg);z-index:2;margin-bottom:30px}.backside[_ngcontent-%COMP%]{position:absolute;top:0;left:0;background:white;transform:rotateY(-180deg);box-shadow:5px 7px 9px -4px #9e9e9e}.frontside[_ngcontent-%COMP%], .backside[_ngcontent-%COMP%]{backface-visibility:hidden;-webkit-transition:1s;-webkit-transform-style:preserve-3d;-moz-transition:1s;-moz-transform-style:preserve-3d;-o-transition:1s;-o-transform-style:preserve-3d;-ms-transition:1s;-ms-transform-style:preserve-3d;transition:1s;transform-style:preserve-3d}.frontside[_ngcontent-%COMP%] .card[_ngcontent-%COMP%], .backside[_ngcontent-%COMP%] .card[_ngcontent-%COMP%]{min-height:312px}.backside[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{font-size:18px;color:#007b5e!important}.frontside[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .card-title[_ngcontent-%COMP%], .backside[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .card-title[_ngcontent-%COMP%]{color:#007b5e!important}.frontside[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .card-body[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:120px;height:120px;border-radius:50%}']})}return e})(),K2=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=Gt({type:e,selectors:[["app-contact"]],decls:10,vars:0,consts:[[1,"container","d-flex","justify-content-center","align-items-center"],[1,"align-center","p-3"],[1,"d-flex","flex-column","align-center"],[1,"d-flex","align-items-center","justify-content-center"],["href","https://www.linkedin.com/in/mayuresh-takawane/","target","_blank",1,"m-2",2,"text-decoration","none"],[1,"bi","bi-linkedin","footer-icons"],["href","https://github.com/mayur8485","target","_blank",1,"m-2",2,"text-decoration","none"],[1,"bi","bi-github","footer-icons"]],template:function(r,o){1&r&&(b(0,"footer",0)(1,"div",1)(2,"div",2)(3,"h3"),x(4,"Mayuresh Takawane"),w(),b(5,"div",3)(6,"a",4),de(7,"i",5),w(),b(8,"a",6),de(9,"i",7),w()()()()())}})}return e})(),ej=(()=>{class e{constructor(){this.index=0,this.imageUrl=["https://images.pexels.com/photos/1190298/pexels-photo-1190298.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1","https://images.pexels.com/photos/1105666/pexels-photo-1105666.jpeg","https://images.pexels.com/photos/1071883/pexels-photo-1071883.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1","https://images.pexels.com/photos/332688/pexels-photo-332688.jpeg?auto=compress&cs=tinysrgb&w=600","https://images.pexels.com/photos/1243337/pexels-photo-1243337.jpeg?auto=compress&cs=tinysrgb&w=600"]}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=Gt({type:e,selectors:[["app-homepage"]],decls:14,vars:0,consts:[["id","carouselExampleInterval","data-bs-ride","carousel",1,"carousel","slide"],[1,"carousel-inner"],["data-bs-interval","2000",1,"carousel-item","active"],["src","https://images.pexels.com/photos/1190298/pexels-photo-1190298.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1","alt","party1",1,"d-block","w-100"],["data-bs-interval","2000",1,"carousel-item"],["src","https://images.pexels.com/photos/1105666/pexels-photo-1105666.jpeg","alt","party2",1,"d-block","w-100"],["src","https://images.pexels.com/photos/796607/pexels-photo-796607.jpeg?auto=compress&cs=tinysrgb&w=600","alt","party3",1,"d-block","w-100"],["src","https://images.pexels.com/photos/1684187/pexels-photo-1684187.jpeg?auto=compress&cs=tinysrgb&w=600","alt","party4",1,"d-block","w-100"],["src","https://images.pexels.com/photos/1243337/pexels-photo-1243337.jpeg?auto=compress&cs=tinysrgb&w=600","alt","party5",1,"d-block","w-100"]],template:function(r,o){1&r&&(b(0,"div",0)(1,"div",1)(2,"div",2),de(3,"img",3),w(),b(4,"div",4),de(5,"img",5),w(),b(6,"div",4),de(7,"img",6),w(),b(8,"div",4),de(9,"img",7),w(),b(10,"div",4),de(11,"img",8),w()()(),de(12,"app-view-cards")(13,"app-contact"))},dependencies:[J2,K2],styles:["img[_ngcontent-%COMP%]{height:calc(100vh - 180px);width:100%}.blur[_ngcontent-%COMP%]{filter:blur(5px)}"]})}return e})(),Zu=(()=>{class e{constructor(t,r){this.authService=t,this.router=r}canActivate(t,r){return this.authService.user.pipe(Cr(1),Z(o=>!!o||this.router.createUrlTree(["/auth"])))}static#e=this.\u0275fac=function(r){return new(r||e)(A(Wu),A(Ve))};static#t=this.\u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function tj(e,n){if(1&e&&(b(0,"p",15),x(1),w()),2&e){const t=Mt();W(1),Lt(t.errorMessage)}}const nj=[{path:"",redirectTo:"/home",pathMatch:"full"},{path:"home",component:ej,pathMatch:"full"},{path:"auth",component:(()=>{class e{constructor(t,r,o){this.authService=t,this.route=r,this.router=o,this.errorMessage=""}ngOnInit(){this.authForm=new qi({email:new Ht("",{validators:[bn.email]}),password:new Ht("",{validators:[bn.minLength(6),bn.pattern(/^(?=.*[0-9])(?=.*[a-z])(?=.*[A-Z])(?=.*\W)(?!.* ).{8,16}$/)]})})}signIn(){if(this.authForm.valid){const t=this.authForm.getRawValue();let r;r=this.authService.login(t),r.subscribe(o=>{o&&this.router.navigate(["/event"])},o=>{this.errorMessage=o})}}signUp(){if(this.authForm.valid){const t=this.authForm.getRawValue();let r;r=this.authService.signUp(t),r.subscribe(o=>{o&&this.router.navigate(["/event"])},o=>{this.errorMessage=o})}}static#e=this.\u0275fac=function(r){return new(r||e)(D(Wu),D(Qn),D(Ve))};static#t=this.\u0275cmp=Gt({type:e,selectors:[["app-auth"]],decls:25,vars:4,consts:[[1,"box","d-flex","justify-content-center","align-items-center"],[1,"container"],[1,"row","d-flex","justify-content-center","m-3"],[1,"cols-xs-12","col-md-4","col-md-offset-3","p-3","loginForm"],[3,"formGroup"],[1,"form-group","py-2","m-2"],["for","email",1,"my-2"],["type","email","id","email","required","","email","","formControlName","email",1,"form-control"],["for","password",1,"my-2"],["type","password","id","password","name","password","required","","minlength","6","formControlName","password",1,"form-control"],[1,"d-flex","justify-content-center","align-items-center"],[2,"font-size","12px"],["style","color: red;",4,"ngIf"],[1,"py-5","d-flex","justify-content-around"],["type","button",1,"btn","btn-primary","px-3",3,"disabled","click"],[2,"color","red"]],template:function(r,o){1&r&&(b(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"form",4)(5,"div",5)(6,"label",6),x(7,"Email"),w(),de(8,"input",7),w(),b(9,"div",5)(10,"label",8),x(11,"Password"),w(),de(12,"input",9),w(),b(13,"div",10)(14,"p",11),x(15,"Password shoul have 1 Special, 1 Capital& Min 8 Char "),w()(),b(16,"div",10),Pt(17,tj,2,1,"p",12),w(),b(18,"div",13)(19,"button",14),ge("click",function(){return o.signIn()}),x(20,"Log In"),w(),b(21,"span"),x(22,"\xa0"),w(),b(23,"button",14),ge("click",function(){return o.signUp()}),x(24,"Sign Up"),w()()()()()()()),2&r&&(W(4),re("formGroup",o.authForm),W(13),re("ngIf",o.errorMessage),W(2),re("disabled",!o.authForm.valid),W(4),re("disabled",!o.authForm.valid))},dependencies:[Bi,wu,Ui,Nf,hu,bu,Gf,zf,Qi,Eu],styles:[".box[_ngcontent-%COMP%]{width:100%;height:calc(100vh - 71px);position:relative;background-image:url(https://images.pexels.com/photos/796605/pexels-photo-796605.jpeg?auto=compress&cs=tinysrgb&w=600);background-repeat:no-repeat;background-size:cover}.blur[_ngcontent-%COMP%]{filter:blur(5px);width:100%;height:100%;position:absolute}.container[_ngcontent-%COMP%]{position:absolute}.loginForm[_ngcontent-%COMP%]{background-color:#fff;border-radius:10px}"]})}return e})()},{path:"create",component:wh,canActivate:[Zu]},{path:"event",component:X2,canActivate:[Zu]},{path:"event/:id/edit",component:wh,canActivate:[Zu]},{path:"event/:id/delete",component:wh,canActivate:[Zu]}];let rj=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Ct({type:e});static#n=this.\u0275inj=ct({imports:[sb.forRoot(nj,{useHash:!0}),sb]})}return e})(),oj=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Ct({type:e,bootstrap:[H2]});static#n=this.\u0275inj=ct({imports:[MF,Fk,kk,rj,aL]})}return e})();bF().bootstrapModule(oj).catch(e=>console.error(e))}},ne=>{ne(ne.s=334)}]); \ No newline at end of file diff --git a/src/app/environments/environment.prod.ts b/src/app/environments/environment.prod.ts index 35dfff2..e51d13a 100644 --- a/src/app/environments/environment.prod.ts +++ b/src/app/environments/environment.prod.ts @@ -1,4 +1,4 @@ export const environment = { production: true, - fireBaseKey: 'AIzaSyDLr0H-x0hQvgh3FpWcMy6YWbEUap76aOY' + fireBaseKey: 'AIzaSyDknLpY1n18YTw9-6hkTnq73rK9ehBuRp4' }; diff --git a/src/app/environments/environment.ts b/src/app/environments/environment.ts index db4deae..df134fb 100644 --- a/src/app/environments/environment.ts +++ b/src/app/environments/environment.ts @@ -4,7 +4,7 @@ export const environment = { production: false, - fireBaseKey: 'AIzaSyDLr0H-x0hQvgh3FpWcMy6YWbEUap76aOY' + fireBaseKey: 'AIzaSyDknLpY1n18YTw9-6hkTnq73rK9ehBuRp4' }; /*