-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.796db36e5b80b3b1.js
1 lines (1 loc) · 254 KB
/
main.796db36e5b80b3b1.js
1
"use strict";(self.webpackChunktd_calc=self.webpackChunktd_calc||[]).push([[179],{753:()=>{let Ie=null,Vr=1;const jr=Symbol("SIGNAL");function Ce(e){const t=Ie;return Ie=e,t}function yp(e){if((!ii(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==Vr)){if(!e.producerMustRecompute(e)&&!Cl(e))return e.dirty=!1,void(e.lastCleanEpoch=Vr);e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=Vr}}function Cl(e){Ur(e);for(let t=0;t<e.producerNode.length;t++){const n=e.producerNode[t],r=e.producerLastReadVersion[t];if(r!==n.version||(yp(n),r!==n.version))return!0}return!1}function Ls(e,t){if(function Mp(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}(e),Ur(e),1===e.liveConsumerNode.length)for(let r=0;r<e.producerNode.length;r++)Ls(e.producerNode[r],e.producerIndexOfThis[r]);const n=e.liveConsumerNode.length-1;if(e.liveConsumerNode[t]=e.liveConsumerNode[n],e.liveConsumerIndexOfThis[t]=e.liveConsumerIndexOfThis[n],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,t<e.liveConsumerNode.length){const r=e.liveConsumerIndexOfThis[t],o=e.liveConsumerNode[t];Ur(o),o.producerIndexOfThis[r]=t}}function ii(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function Ur(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}let Sp=null;function me(e){return"function"==typeof e}function El(e){const n=e(r=>{Error.call(r),r.stack=(new Error).stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}const bl=El(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:\n${n.map((r,o)=>`${o+1}) ${r.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=n});function Il(e,t){if(e){const n=e.indexOf(t);0<=n&&e.splice(n,1)}}class dt{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;const{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(const i of n)i.remove(this);else n.remove(this);const{initialTeardown:r}=this;if(me(r))try{r()}catch(i){t=i instanceof bl?i.errors:[i]}const{_finalizers:o}=this;if(o){this._finalizers=null;for(const i of o)try{Rp(i)}catch(s){t=t??[],s instanceof bl?t=[...t,...s.errors]:t.push(s)}}if(t)throw new bl(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Rp(t);else{if(t instanceof dt){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(n=this._finalizers)&&void 0!==n?n:[]).push(t)}}_hasParent(t){const{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){const{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){const{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&Il(n,t)}remove(t){const{_finalizers:n}=this;n&&Il(n,t),t instanceof dt&&t._removeParent(this)}}dt.EMPTY=(()=>{const e=new dt;return e.closed=!0,e})();const xp=dt.EMPTY;function Np(e){return e instanceof dt||e&&"closed"in e&&me(e.remove)&&me(e.add)&&me(e.unsubscribe)}function Rp(e){me(e)?e():e.unsubscribe()}const ur={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Vs={setTimeout(e,t,...n){const{delegate:r}=Vs;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){const{delegate:t}=Vs;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Op(e){Vs.setTimeout(()=>{const{onUnhandledError:t}=ur;if(!t)throw e;t(e)})}function Ml(){}const FI=Sl("C",void 0,void 0);function Sl(e,t,n){return{kind:e,value:t,error:n}}let lr=null;function js(e){if(ur.useDeprecatedSynchronousErrorHandling){const t=!lr;if(t&&(lr={errorThrown:!1,error:null}),e(),t){const{errorThrown:n,error:r}=lr;if(lr=null,n)throw r}}else e()}class Tl extends dt{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Np(t)&&t.add(this)):this.destination=$I}static create(t,n,r){return new xl(t,n,r)}next(t){this.isStopped?Nl(function kI(e){return Sl("N",e,void 0)}(t),this):this._next(t)}error(t){this.isStopped?Nl(function PI(e){return Sl("E",void 0,e)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Nl(FI,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const VI=Function.prototype.bind;function Al(e,t){return VI.call(e,t)}class jI{constructor(t){this.partialObserver=t}next(t){const{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){Us(r)}}error(t){const{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){Us(r)}else Us(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Us(n)}}}class xl extends Tl{constructor(t,n,r){let o;if(super(),me(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&ur.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&Al(t.next,i),error:t.error&&Al(t.error,i),complete:t.complete&&Al(t.complete,i)}):o=t}this.destination=new jI(o)}}function Us(e){ur.useDeprecatedSynchronousErrorHandling?function LI(e){ur.useDeprecatedSynchronousErrorHandling&&lr&&(lr.errorThrown=!0,lr.error=e)}(e):Op(e)}function Nl(e,t){const{onStoppedNotification:n}=ur;n&&Vs.setTimeout(()=>n(e,t))}const $I={closed:!0,next:Ml,error:function UI(e){throw e},complete:Ml},Rl="function"==typeof Symbol&&Symbol.observable||"@@observable";function cr(e){return e}function Fp(e){return 0===e.length?cr:1===e.length?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}let $e=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){const r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){const i=function GI(e){return e&&e instanceof Tl||function HI(e){return e&&me(e.next)&&me(e.error)&&me(e.complete)}(e)&&Np(e)}(n)?n:new xl(n,r,o);return js(()=>{const{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return new(r=Pp(r))((o,i)=>{const s=new xl({next:a=>{try{n(a)}catch(u){i(u),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return null===(r=this.source)||void 0===r?void 0:r.subscribe(n)}[Rl](){return this}pipe(...n){return Fp(n)(this)}toPromise(n){return new(n=Pp(n))((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function Pp(e){var t;return null!==(t=e??ur.Promise)&&void 0!==t?t:Promise}const zI=El(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let Yt=(()=>{class e extends $e{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){const r=new kp(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new zI}next(n){js(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const r of this.currentObservers)r.next(n)}})}error(n){js(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;const{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){js(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return(null===(n=this.observers)||void 0===n?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){const{hasError:r,isStopped:o,observers:i}=this;return r||o?xp:(this.currentObservers=null,i.push(n),new dt(()=>{this.currentObservers=null,Il(i,n)}))}_checkFinalizedStatuses(n){const{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){const n=new $e;return n.source=this,n}}return e.create=(t,n)=>new kp(t,n),e})();class kp extends Yt{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;null===(r=null===(n=this.destination)||void 0===n?void 0:n.next)||void 0===r||r.call(n,t)}error(t){var n,r;null===(r=null===(n=this.destination)||void 0===n?void 0:n.error)||void 0===r||r.call(n,t)}complete(){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===n||n.call(t)}_subscribe(t){var n,r;return null!==(r=null===(n=this.source)||void 0===n?void 0:n.subscribe(t))&&void 0!==r?r:xp}}class Tt extends Yt{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){const{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}}function Lp(e){return me(e?.lift)}function ze(e){return t=>{if(Lp(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function Fe(e,t,n,r,o){return new qI(e,t,n,r,o)}class qI extends Tl{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(u){t.error(u)}}:super._next,this._error=o?function(a){try{o(a)}catch(u){t.error(u)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:n}=this;super.unsubscribe(),!n&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}}}function ne(e,t){return ze((n,r)=>{let o=0;n.subscribe(Fe(r,i=>{r.next(e.call(t,i,o++))}))})}class _ extends Error{constructor(t,n){super(function $r(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,n)),this.code=t}}function re(e){for(let t in e)if(e[t]===re)return t;throw Error("Could not find renamed property on target object.")}function ZI(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function Pe(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(Pe).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function Ol(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const QI=re({__forward_ref__:re});function ue(e){return e.__forward_ref__=ue,e.toString=function(){return Pe(this())},e}function N(e){return $s(e)?e():e}function $s(e){return"function"==typeof e&&e.hasOwnProperty(QI)&&e.__forward_ref__===ue}function Fl(e){return e&&!!e.\u0275providers}const si=re({\u0275cmp:re}),Pl=re({\u0275dir:re}),kl=re({\u0275pipe:re}),$p=re({\u0275mod:re}),Dn=re({\u0275fac:re}),ai=re({__NG_ELEMENT_ID__:re}),Bp=re({__NG_ENV_ID__:re});function V(e){return"string"==typeof e?e:null==e?"":String(e)}function Ll(e,t){throw new _(-201,!1)}function ft(e,t){null==e&&function R(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function T(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Lt(e){return{providers:e.providers||[],imports:e.imports||[]}}function Bs(e){return Hp(e,Gs)||Hp(e,Gp)}function Hp(e,t){return e.hasOwnProperty(t)?e[t]:null}function Hs(e){return e&&(e.hasOwnProperty(Vl)||e.hasOwnProperty(oM))?e[Vl]:null}const Gs=re({\u0275prov:re}),Vl=re({\u0275inj:re}),Gp=re({ngInjectableDef:re}),oM=re({ngInjectorDef:re});var q=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}(q||{});let jl;function zp(){return jl}function ht(e){const t=jl;return jl=e,t}function qp(e,t,n){const r=Bs(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&q.Optional?null:void 0!==t?t:void Ll()}const le=globalThis;class S{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=T({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const ui={},Gl="__NG_DI_FLAG__",zs="ngTempTokenPath",aM=/\n/gm,Zp="__source";let Br;function Un(e){const t=Br;return Br=e,t}function cM(e,t=q.Default){if(void 0===Br)throw new _(-203,!1);return null===Br?qp(e,void 0,t):Br.get(e,t&q.Optional?null:void 0,t)}function O(e,t=q.Default){return(zp()||cM)(N(e),t)}function E(e,t=q.Default){return O(e,qs(t))}function qs(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function zl(e){const t=[];for(let n=0;n<e.length;n++){const r=N(e[n]);if(Array.isArray(r)){if(0===r.length)throw new _(900,!1);let o,i=q.Default;for(let s=0;s<r.length;s++){const a=r[s],u=dM(a);"number"==typeof u?-1===u?o=a.token:i|=u:o=a}t.push(O(o,i))}else t.push(O(r))}return t}function li(e,t){return e[Gl]=t,e.prototype[Gl]=t,e}function dM(e){return e[Gl]}function Cn(e){return{toString:e}.toString()}var Ws=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(Ws||{}),Vt=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(Vt||{});const Kt={},Q=[];var ve=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(ve||{});function Yp(e,t,n){let r=e.length;for(;;){const o=e.indexOf(t,n);if(-1===o)return o;if(0===o||e.charCodeAt(o-1)<=32){const i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}function ql(e,t,n){let r=0;for(;r<n.length;){const o=n[r];if("number"==typeof o){if(0!==o)break;r++;const i=n[r++],s=n[r++],a=n[r++];e.setAttribute(t,s,a,i)}else{const i=o,s=n[++r];Jp(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function Kp(e){return 3===e||4===e||6===e}function Jp(e){return 64===e.charCodeAt(0)}function ci(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){const o=t[r];"number"==typeof o?n=o:0===n||Xp(e,n,o,null,-1===n||2===n?t[++r]:null)}}return e}function Xp(e,t,n,r,o){let i=0,s=e.length;if(-1===t)s=-1;else for(;i<e.length;){const a=e[i++];if("number"==typeof a){if(a===t){s=-1;break}if(a>t){s=i-1;break}}}for(;i<e.length;){const a=e[i];if("number"==typeof a)break;if(a===n){if(null===r)return void(null!==o&&(e[i+1]=o));if(r===e[i+1])return void(e[i+2]=o)}i++,null!==r&&i++,null!==o&&i++}-1!==s&&(e.splice(s,0,t),i=s+1),e.splice(i++,0,n),null!==r&&e.splice(i++,0,r),null!==o&&e.splice(i++,0,o)}const eg="ng-template";function pM(e,t,n){let r=0,o=!0;for(;r<e.length;){let i=e[r++];if("string"==typeof i&&o){const s=e[r++];if(n&&"class"===i&&-1!==Yp(s.toLowerCase(),t,0))return!0}else{if(1===i){for(;r<e.length&&"string"==typeof(i=e[r++]);)if(i.toLowerCase()===t)return!0;return!1}"number"==typeof i&&(o=!1)}}return!1}function tg(e){return 4===e.type&&e.value!==eg}function gM(e,t,n){return t===(4!==e.type||n?e.value:eg)}function mM(e,t,n){let r=4;const o=e.attrs||[],i=function _M(e){for(let t=0;t<e.length;t++)if(Kp(e[t]))return t;return e.length}(o);let s=!1;for(let a=0;a<t.length;a++){const u=t[a];if("number"!=typeof u){if(!s)if(4&r){if(r=2|1&r,""!==u&&!gM(e,u,n)||""===u&&1===t.length){if(jt(r))return!1;s=!0}}else{const l=8&r?u:t[++a];if(8&r&&null!==e.attrs){if(!pM(e.attrs,l,n)){if(jt(r))return!1;s=!0}continue}const d=vM(8&r?"class":u,o,tg(e),n);if(-1===d){if(jt(r))return!1;s=!0;continue}if(""!==l){let f;f=d>i?"":o[d+1].toLowerCase();const h=8&r?f:null;if(h&&-1!==Yp(h,l,0)||2&r&&l!==f){if(jt(r))return!1;s=!0}}}}else{if(!s&&!jt(r)&&!jt(u))return!1;if(s&&jt(u))continue;s=!1,r=u|1&r}}return jt(r)||s}function jt(e){return 0==(1&e)}function vM(e,t,n,r){if(null===t)return-1;let o=0;if(r||!n){let i=!1;for(;o<t.length;){const s=t[o];if(s===e)return o;if(3===s||6===s)i=!0;else{if(1===s||2===s){let a=t[++o];for(;"string"==typeof a;)a=t[++o];continue}if(4===s)break;if(0===s){o+=4;continue}}o+=i?1:2}return-1}return function DM(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const r=e[n];if("number"==typeof r)return-1;if(r===t)return n;n++}return-1}(t,e)}function ng(e,t,n=!1){for(let r=0;r<t.length;r++)if(mM(e,t[r],n))return!0;return!1}function rg(e,t){return e?":not("+t.trim()+")":t}function wM(e){let t=e[0],n=1,r=2,o="",i=!1;for(;n<e.length;){let s=e[n];if("string"==typeof s)if(2&r){const a=e[++n];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else 8&r?o+="."+s:4&r&&(o+=" "+s);else""!==o&&!jt(s)&&(t+=rg(i,o),o=""),r=s,i=i||!jt(r);n++}return""!==o&&(t+=rg(i,o)),t}function Zs(e){return Cn(()=>{const t=ig(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Ws.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Vt.Emulated,styles:e.styles||Q,_:null,schemas:e.schemas||null,tView:null,id:""};sg(n);const r=e.dependencies;return n.directiveDefs=Qs(r,!1),n.pipeDefs=Qs(r,!0),n.id=function TM(e){let t=0;const n=[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 n)t=Math.imul(31,t)+o.charCodeAt(0)<<0;return t+=2147483648,"c"+t}(n),n})}function IM(e){return z(e)||ke(e)}function MM(e){return null!==e}function Jt(e){return Cn(()=>({type:e.type,bootstrap:e.bootstrap||Q,declarations:e.declarations||Q,imports:e.imports||Q,exports:e.exports||Q,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function og(e,t){if(null==e)return Kt;const n={};for(const r in e)if(e.hasOwnProperty(r)){const o=e[r];let i,s,a=ve.None;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i):(i=o,s=o),t?(n[i]=a!==ve.None?[r,a]:r,t[i]=s):n[i]=r}return n}function P(e){return Cn(()=>{const t=ig(e);return sg(t),t})}function pt(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function z(e){return e[si]||null}function ke(e){return e[Pl]||null}function qe(e){return e[kl]||null}function We(e,t){const n=e[$p]||null;if(!n&&!0===t)throw new Error(`Type ${Pe(e)} does not have '\u0275mod' property.`);return n}function ig(e){const t={};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:t,inputTransforms:null,inputConfig:e.inputs||Kt,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||Q,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:og(e.inputs,t),outputs:og(e.outputs),debugInfo:null}}function sg(e){e.features?.forEach(t=>t(e))}function Qs(e,t){if(!e)return null;const n=t?qe:IM;return()=>("function"==typeof e?e():e).map(r=>n(r)).filter(MM)}const we=0,w=1,x=2,Me=3,Ut=4,Ze=5,$t=6,Hr=7,ce=8,nt=9,wn=10,U=11,di=12,ag=13,Gr=14,De=15,fi=16,zr=17,Xt=18,hi=19,ug=20,Bn=21,Ys=22,dr=23,j=25,Wl=1,en=7,qr=9,Se=10;var Zl=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(Zl||{});function Qe(e){return Array.isArray(e)&&"object"==typeof e[Wl]}function Ye(e){return Array.isArray(e)&&!0===e[Wl]}function Ql(e){return 0!=(4&e.flags)}function fr(e){return e.componentOffset>-1}function Js(e){return 1==(1&e.flags)}function Bt(e){return!!e.template}function Yl(e){return 0!=(512&e[x])}function hr(e,t){return e.hasOwnProperty(Dn)?e[Dn]:null}class RM{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function fg(e,t,n,r){null!==t?t.applyValueToInputSignal(t,r):e[n]=r}function At(){return hg}function hg(e){return e.type.prototype.ngOnChanges&&(e.setInput=FM),OM}function OM(){const e=gg(this),t=e?.current;if(t){const n=e.previous;if(n===Kt)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function FM(e,t,n,r,o){const i=this.declaredInputs[r],s=gg(e)||function PM(e,t){return e[pg]=t}(e,{previous:Kt,current:null}),a=s.current||(s.current={}),u=s.previous,l=u[i];a[i]=new RM(l&&l.currentValue,n,u===Kt),fg(e,t,o,n)}At.ngInherit=!0;const pg="__ngSimpleChanges__";function gg(e){return e[pg]||null}const tn=function(e,t,n){};let yg=!1;function de(e){for(;Array.isArray(e);)e=e[we];return e}function gi(e,t){return de(t[e])}function rt(e,t){return de(t[e.index])}function mi(e,t){return e.data[t]}function Wr(e,t){return e[t]}function Ct(e,t){const n=t[e];return Qe(n)?n:n[we]}function tc(e){return 128==(128&e[x])}function nn(e,t){return null==t?null:e[t]}function _g(e){e[zr]=0}function $M(e){1024&e[x]||(e[x]|=1024,tc(e)&&vi(e))}function Cg(e){return 9216&e[x]||e[dr]?.dirty}function nc(e){Cg(e)?vi(e):64&e[x]&&(function LM(){return yg}()?(e[x]|=1024,vi(e)):e[wn].changeDetectionScheduler?.notify())}function vi(e){e[wn].changeDetectionScheduler?.notify();let t=pr(e);for(;null!==t&&!(8192&t[x])&&(t[x]|=8192,tc(t));)t=pr(t)}function Xs(e,t){if(256==(256&e[x]))throw new _(911,!1);null===e[Bn]&&(e[Bn]=[]),e[Bn].push(t)}function pr(e){const t=e[Me];return Ye(t)?t[Me]:t}const F={lFrame:Ng(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Eg(){return F.bindingsEnabled}function m(){return F.lFrame.lView}function W(){return F.lFrame.tView}function ot(e){return F.lFrame.contextLView=e,e[ce]}function it(e){return F.lFrame.contextLView=null,e}function ie(){let e=bg();for(;null!==e&&64===e.type;)e=e.parent;return e}function bg(){return F.lFrame.currentTNode}function rn(e,t){const n=F.lFrame;n.currentTNode=e,n.isParent=t}function oc(){return F.lFrame.isParent}function st(){const e=F.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function on(){return F.lFrame.bindingIndex++}function bn(e){const t=F.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function JM(e,t){const n=F.lFrame;n.bindingIndex=n.bindingRootIndex=e,sc(t)}function sc(e){F.lFrame.currentDirectiveIndex=e}function uc(e){F.lFrame.currentQueryIndex=e}function eS(e){const t=e[w];return 2===t.type?t.declTNode:1===t.type?e[Ze]:null}function Ag(e,t,n){if(n&q.SkipSelf){let o=t,i=e;for(;!(o=o.parent,null!==o||n&q.Host||(o=eS(i),null===o||(i=i[Gr],10&o.type))););if(null===o)return!1;t=o,e=i}const r=F.lFrame=xg();return r.currentTNode=t,r.lView=e,!0}function lc(e){const t=xg(),n=e[w];F.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function xg(){const e=F.lFrame,t=null===e?null:e.child;return null===t?Ng(e):t}function Ng(e){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function Rg(){const e=F.lFrame;return F.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Og=Rg;function cc(){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 Ke(){return F.lFrame.selectedIndex}function gr(e){F.lFrame.selectedIndex=e}let Pg=!0;function ea(){return Pg}function Hn(e){Pg=e}function ta(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const i=e.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:u,ngAfterViewChecked:l,ngOnDestroy:c}=i;s&&(e.contentHooks??=[]).push(-n,s),a&&((e.contentHooks??=[]).push(n,a),(e.contentCheckHooks??=[]).push(n,a)),u&&(e.viewHooks??=[]).push(-n,u),l&&((e.viewHooks??=[]).push(n,l),(e.viewCheckHooks??=[]).push(n,l)),null!=c&&(e.destroyHooks??=[]).push(n,c)}}function na(e,t,n){kg(e,t,3,n)}function ra(e,t,n,r){(3&e[x])===n&&kg(e,t,n,r)}function dc(e,t){let n=e[x];(3&n)===t&&(n&=16383,n+=1,e[x]=n)}function kg(e,t,n,r){const i=r??-1,s=t.length-1;let a=0;for(let u=void 0!==r?65535&e[zr]:0;u<s;u++)if("number"==typeof t[u+1]){if(a=t[u],null!=r&&a>=r)break}else t[u]<0&&(e[zr]+=65536),(a<i||-1==i)&&(aS(e,n,t,u),e[zr]=(4294901760&e[zr])+u+2),u++}function Lg(e,t){tn(4,e,t);const n=Ce(null);try{t.call(e)}finally{Ce(n),tn(5,e,t)}}function aS(e,t,n,r){const o=n[r]<0,i=n[r+1],a=e[o?-n[r]:n[r]];o?e[x]>>14<e[zr]>>16&&(3&e[x])===t&&(e[x]+=16384,Lg(a,i)):Lg(a,i)}const Qr=-1;class _i{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function hc(e){return e!==Qr}function Di(e){return 32767&e}function Ci(e,t){let n=function fS(e){return e>>16}(e),r=t;for(;n>0;)r=r[Gr],n--;return r}let pc=!0;function oa(e){const t=pc;return pc=e,t}const Vg=255,jg=5;let hS=0;const sn={};function ia(e,t){const n=Ug(e,t);if(-1!==n)return n;const r=t[w];r.firstCreatePass&&(e.injectorIndex=t.length,gc(r.data,e),gc(t,null),gc(r.blueprint,null));const o=sa(e,t),i=e.injectorIndex;if(hc(o)){const s=Di(o),a=Ci(o,t),u=a[w].data;for(let l=0;l<8;l++)t[i+l]=a[s+l]|u[s+l]}return t[i+8]=o,i}function gc(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Ug(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function sa(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;null!==o;){if(r=Wg(o),null===r)return Qr;if(n++,o=o[Gr],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return Qr}function mc(e,t,n){!function pS(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(ai)&&(r=n[ai]),null==r&&(r=n[ai]=hS++);const o=r&Vg;t.data[e+(o>>jg)]|=1<<o}(e,t,n)}function $g(e,t,n){if(n&q.Optional||void 0!==e)return e;Ll()}function Bg(e,t,n,r){if(n&q.Optional&&void 0===r&&(r=null),!(n&(q.Self|q.Host))){const o=e[nt],i=ht(void 0);try{return o?o.get(t,r,n&q.Optional):qp(t,r,n&q.Optional)}finally{ht(i)}}return $g(r,0,n)}function Hg(e,t,n,r=q.Default,o){if(null!==e){if(2048&t[x]&&!(r&q.Self)){const s=function _S(e,t,n,r,o){let i=e,s=t;for(;null!==i&&null!==s&&2048&s[x]&&!(512&s[x]);){const a=Gg(i,s,n,r|q.Self,sn);if(a!==sn)return a;let u=i.parent;if(!u){const l=s[ug];if(l){const c=l.get(n,sn,r);if(c!==sn)return c}u=Wg(s),s=s[Gr]}i=u}return o}(e,t,n,r,sn);if(s!==sn)return s}const i=Gg(e,t,n,r,sn);if(i!==sn)return i}return Bg(t,n,r,o)}function Gg(e,t,n,r,o){const i=function vS(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(ai)?e[ai]:void 0;return"number"==typeof t?t>=0?t&Vg:yS:t}(n);if("function"==typeof i){if(!Ag(t,e,r))return r&q.Host?$g(o,0,r):Bg(t,n,r,o);try{let s;if(s=i(r),null!=s||r&q.Optional)return s;Ll()}finally{Og()}}else if("number"==typeof i){let s=null,a=Ug(e,t),u=Qr,l=r&q.Host?t[De][Ze]:null;for((-1===a||r&q.SkipSelf)&&(u=-1===a?sa(e,t):t[a+8],u!==Qr&&qg(r,!1)?(s=t[w],a=Di(u),t=Ci(u,t)):a=-1);-1!==a;){const c=t[w];if(zg(i,a,c.data)){const d=mS(a,t,n,s,r,l);if(d!==sn)return d}u=t[a+8],u!==Qr&&qg(r,t[w].data[a+8]===l)&&zg(i,a,t)?(s=c,a=Di(u),t=Ci(u,t)):a=-1}}return o}function mS(e,t,n,r,o,i){const s=t[w],a=s.data[e+8],c=function aa(e,t,n,r,o){const i=e.providerIndexes,s=t.data,a=1048575&i,u=e.directiveStart,c=i>>20,f=o?a+c:e.directiveEnd;for(let h=r?a:a+c;h<f;h++){const p=s[h];if(h<u&&n===p||h>=u&&p.type===n)return h}if(o){const h=s[u];if(h&&Bt(h)&&h.type===n)return u}return null}(a,s,n,null==r?fr(a)&&pc:r!=s&&0!=(3&a.type),o&q.Host&&i===a);return null!==c?mr(t,s,c,a):sn}function mr(e,t,n,r){let o=e[n];const i=t.data;if(function uS(e){return e instanceof _i}(o)){const s=o;s.resolving&&function KI(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new _(-200,`Circular dependency in DI detected for ${e}${n}`)}(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():V(e)}(i[n]));const a=oa(s.canSeeViewProviders);s.resolving=!0;const l=s.injectImpl?ht(s.injectImpl):null;Ag(e,r,q.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&function sS(e,t,n){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){const s=hg(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}o&&(n.preOrderHooks??=[]).push(0-e,o),i&&((n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i))}(n,i[n],t)}finally{null!==l&&ht(l),oa(a),s.resolving=!1,Og()}}return o}function zg(e,t,n){return!!(n[t+(e>>jg)]&1<<e)}function qg(e,t){return!(e&q.Self||e&q.Host&&t)}class Le{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return Hg(this._tNode,this._lView,t,qs(r),n)}}function yS(){return new Le(ie(),m())}function Be(e){return Cn(()=>{const t=e.prototype.constructor,n=t[Dn]||vc(t),r=Object.prototype;let o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){const i=o[Dn]||vc(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function vc(e){return $s(e)?()=>{const t=vc(N(e));return t&&t()}:hr(e)}function Wg(e){const t=e[w],n=t.type;return 2===n?t.declTNode:1===n?e[Ze]:null}const Xr="__parameters__";function to(e,t,n){return Cn(()=>{const r=function yc(e){return function(...n){if(e){const r=e(...n);for(const o in r)this[o]=r[o]}}}(t);function o(...i){if(this instanceof o)return r.apply(this,i),this;const s=new o(...i);return a.annotation=s,a;function a(u,l,c){const d=u.hasOwnProperty(Xr)?u[Xr]:Object.defineProperty(u,Xr,{value:[]})[Xr];for(;d.length<=c;)d.push(null);return(d[c]=d[c]||[]).push(s),u}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}function ro(e,t){e.forEach(n=>Array.isArray(n)?ro(n,t):t(n))}function Qg(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function la(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function wt(e,t,n){let r=oo(e,t);return r>=0?e[1|r]=n:(r=~r,function Yg(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(1===o)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;)e[o]=e[o-2],o--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function Dc(e,t){const n=oo(e,t);if(n>=0)return e[1|n]}function oo(e,t){return function Kg(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){const i=r+(o-r>>1),s=e[i<<n];if(t===s)return i<<n;s>t?o=i:r=i+1}return~(o<<n)}(e,t,1)}const fa=li(to("Optional"),8),ha=li(to("SkipSelf"),4),vr=new S("ENVIRONMENT_INITIALIZER"),tm=new S("INJECTOR",-1),Ec=new S("INJECTOR_DEF_TYPES");class ga{get(t,n=ui){if(n===ui){const r=new Error(`NullInjectorError: No provider for ${Pe(t)}!`);throw r.name="NullInjectorError",r}return n}}function $S(...e){return{\u0275providers:nm(0,e),\u0275fromNgModule:!0}}function nm(e,...t){const n=[],r=new Set;let o;const i=s=>{n.push(s)};return ro(t,s=>{const a=s;ma(a,i,[],r)&&(o||=[],o.push(a))}),void 0!==o&&rm(o,i),n}function rm(e,t){for(let n=0;n<e.length;n++){const{ngModule:r,providers:o}=e[n];Ic(o,i=>{t(i,r)})}}function ma(e,t,n,r){if(!(e=N(e)))return!1;let o=null,i=Hs(e);const s=!i&&z(e);if(i||s){if(s&&!s.standalone)return!1;o=e}else{const u=e.ngModule;if(i=Hs(u),!i)return!1;o=u}const a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){const u="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const l of u)ma(l,t,n,r)}}else{if(!i)return!1;{if(null!=i.imports&&!a){let l;r.add(o);try{ro(i.imports,c=>{ma(c,t,n,r)&&(l||=[],l.push(c))})}finally{}void 0!==l&&rm(l,t)}if(!a){const l=hr(o)||(()=>new o);t({provide:o,useFactory:l,deps:Q},o),t({provide:Ec,useValue:o,multi:!0},o),t({provide:vr,useValue:()=>O(o),multi:!0},o)}const u=i.providers;if(null!=u&&!a){const l=e;Ic(u,c=>{t(c,l)})}}}return o!==e&&void 0!==e.providers}function Ic(e,t){for(let n of e)Fl(n)&&(n=n.\u0275providers),Array.isArray(n)?Ic(n,t):t(n)}const BS=re({provide:String,useValue:re});function Mc(e){return null!==e&&"object"==typeof e&&BS in e}function yr(e){return"function"==typeof e}const Sc=new S("Set Injector scope."),va={},GS={};let Tc;function ya(){return void 0===Tc&&(Tc=new ga),Tc}class xt{}class so extends xt{get destroyed(){return this._destroyed}constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,xc(t,s=>this.processProvider(s)),this.records.set(tm,ao(void 0,this)),o.has("environment")&&this.records.set(xt,ao(void 0,this));const i=this.records.get(Sc);null!=i&&"string"==typeof i.value&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Ec,Q,q.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const n of this._ngOnDestroyHooks)n.ngOnDestroy();const t=this._onDestroyHooks;this._onDestroyHooks=[];for(const n of t)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const n=Un(this),r=ht(void 0);try{return t()}finally{Un(n),ht(r)}}get(t,n=ui,r=q.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(Bp))return t[Bp](this);r=qs(r);const i=Un(this),s=ht(void 0);try{if(!(r&q.SkipSelf)){let u=this.records.get(t);if(void 0===u){const l=function QS(e){return"function"==typeof e||"object"==typeof e&&e instanceof S}(t)&&Bs(t);u=l&&this.injectableDefInScope(l)?ao(Ac(t),va):null,this.records.set(t,u)}if(null!=u)return this.hydrate(t,u)}return(r&q.Self?ya():this.parent).get(t,n=r&q.Optional&&n===ui?null:n)}catch(a){if("NullInjectorError"===a.name){if((a[zs]=a[zs]||[]).unshift(Pe(t)),i)throw a;return function fM(e,t,n,r){const o=e[zs];throw t[Zp]&&o.unshift(t[Zp]),e.message=function hM(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let o=Pe(t);if(Array.isArray(t))o=t.map(Pe).join(" -> ");else if("object"==typeof t){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];i.push(s+":"+("string"==typeof a?JSON.stringify(a):Pe(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(aM,"\n ")}`}("\n"+e.message,o,n,r),e.ngTokenPath=o,e[zs]=null,e}(a,t,"R3InjectorError",this.source)}throw a}finally{ht(s),Un(i)}}resolveInjectorInitializers(){const t=Un(this),n=ht(void 0);try{const o=this.get(vr,Q,q.Self);for(const i of o)i()}finally{Un(t),ht(n)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(Pe(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new _(205,!1)}processProvider(t){let n=yr(t=N(t))?t:N(t&&t.provide);const r=function qS(e){return Mc(e)?ao(void 0,e.useValue):ao(sm(e),va)}(t);if(!yr(t)&&!0===t.multi){let o=this.records.get(n);o||(o=ao(void 0,va,!0),o.factory=()=>zl(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===va&&(n.value=GS,n.value=n.factory()),"object"==typeof n.value&&n.value&&function ZS(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=N(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){const n=this._onDestroyHooks.indexOf(t);-1!==n&&this._onDestroyHooks.splice(n,1)}}function Ac(e){const t=Bs(e),n=null!==t?t.factory:hr(e);if(null!==n)return n;if(e instanceof S)throw new _(204,!1);if(e instanceof Function)return function zS(e){if(e.length>0)throw new _(204,!1);const n=function rM(e){return e&&(e[Gs]||e[Gp])||null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new _(204,!1)}function sm(e,t,n){let r;if(yr(e)){const o=N(e);return hr(o)||Ac(o)}if(Mc(e))r=()=>N(e.useValue);else if(function im(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...zl(e.deps||[]));else if(function om(e){return!(!e||!e.useExisting)}(e))r=()=>O(N(e.useExisting));else{const o=N(e&&(e.useClass||e.provide));if(!function WS(e){return!!e.deps}(e))return hr(o)||Ac(o);r=()=>new o(...zl(e.deps))}return r}function ao(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function xc(e,t){for(const n of e)Array.isArray(n)?xc(n,t):n&&Fl(n)?xc(n.\u0275providers,t):t(n)}function _r(e,t){e instanceof so&&e.assertNotDestroyed();const r=Un(e),o=ht(void 0);try{return t()}finally{Un(r),ht(o)}}function cm(e,t=null,n=null,r){const o=dm(e,t,n,r);return o.resolveInjectorInitializers(),o}function dm(e,t=null,n=null,r,o=new Set){const i=[n||Q,$S(e)];return r=r||("object"==typeof e?void 0:Pe(e)),new so(i,t||ya(),r||null,o)}let Oc,mt=(()=>{class e{static#e=this.THROW_IF_NOT_FOUND=ui;static#t=this.NULL=new ga;static create(n,r){if(Array.isArray(n))return cm({name:""},r,n,"");{const o=n.name??"";return cm({name:o},n.parent,n.providers,o)}}static#n=this.\u0275prov=T({token:e,providedIn:"any",factory:()=>O(tm)});static#r=this.__NG_ELEMENT_ID__=-1}return e})();const Da=new S("AppId",{providedIn:"root",factory:()=>o0}),o0="ng",hm=new S("Platform Initializer"),Dr=new S("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),pm=new S("CSP nonce",{providedIn:"root",factory:()=>function zn(){if(void 0!==Oc)return Oc;if(typeof document<"u")return document;throw new _(210,!1)}().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});function Et(e){return e instanceof Function?e():e}function ba(e){return 128==(128&e.flags)}var Zn=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Zn||{});const Vc=new Map;let y0=0;const Uc="__ngContext__";function Je(e,t){Qe(t)?(e[Uc]=t[hi],function D0(e){Vc.set(e[hi],e)}(t)):e[Uc]=t}let $c;function Bc(e,t){return $c(e,t)}function lo(e,t,n,r,o){if(null!=r){let i,s=!1;Ye(r)?i=r:Qe(r)&&(s=!0,r=r[we]);const a=de(r);0===e&&null!==n?null==o?km(t,n,a):Cr(t,n,a,o||null,!0):1===e&&null!==n?Cr(t,n,a,o||null,!0):2===e?function Na(e,t,n){const r=Aa(e,t);r&&function k0(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}(t,a,s):3===e&&t.destroyNode(a),null!=i&&function j0(e,t,n,r,o){const i=n[en];i!==de(n)&&lo(t,e,r,i,o);for(let a=Se;a<n.length;a++){const u=n[a];Ra(u[w],u,e,t,r,i)}}(t,e,i,n,o)}}function Sa(e,t,n){return e.createElement(t,n)}function Om(e,t){Ra(e,t,t[U],2,null,null)}function Fm(e,t){const n=e[qr],r=n.indexOf(t);n.splice(r,1)}function Ti(e,t){if(e.length<=Se)return;const n=Se+t,r=e[n];if(r){const o=r[fi];null!==o&&o!==e&&Fm(o,r),t>0&&(e[n-1][Ut]=r[Ut]);const i=la(e,Se+t);!function A0(e,t){Om(e,t),t[we]=null,t[Ze]=null}(r[w],r);const s=i[Xt];null!==s&&s.detachView(i[w]),r[Me]=null,r[Ut]=null,r[x]&=-129}return r}function Ta(e,t){if(!(256&t[x])){const n=t[U];n.destroyNode&&Ra(e,t,n,3,null,null),function N0(e){let t=e[di];if(!t)return Gc(e[w],e);for(;t;){let n=null;if(Qe(t))n=t[di];else{const r=t[Se];r&&(n=r)}if(!n){for(;t&&!t[Ut]&&t!==e;)Qe(t)&&Gc(t[w],t),t=t[Me];null===t&&(t=e),Qe(t)&&Gc(t[w],t),n=t&&t[Ut]}t=n}}(t)}}function Gc(e,t){if(!(256&t[x])){t[x]&=-129,t[x]|=256,t[dr]&&function bp(e){if(Ur(e),ii(e))for(let t=0;t<e.producerNode.length;t++)Ls(e.producerNode[t],e.producerIndexOfThis[t]);e.producerNode.length=e.producerLastReadVersion.length=e.producerIndexOfThis.length=0,e.liveConsumerNode&&(e.liveConsumerNode.length=e.liveConsumerIndexOfThis.length=0)}(t[dr]),function P0(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r<n.length;r+=2){const o=t[n[r]];if(!(o instanceof _i)){const i=n[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){const a=o[i[s]],u=i[s+1];tn(4,a,u);try{u.call(a)}finally{tn(5,a,u)}}else{tn(4,o,i);try{i.call(o)}finally{tn(5,o,i)}}}}}(e,t),function F0(e,t){const n=e.cleanup,r=t[Hr];if(null!==n)for(let i=0;i<n.length-1;i+=2)if("string"==typeof n[i]){const s=n[i+3];s>=0?r[s]():r[-s].unsubscribe(),i+=2}else n[i].call(r[n[i+1]]);null!==r&&(t[Hr]=null);const o=t[Bn];if(null!==o){t[Bn]=null;for(let i=0;i<o.length;i++)(0,o[i])()}}(e,t),1===t[w].type&&t[U].destroy();const n=t[fi];if(null!==n&&Ye(t[Me])){n!==t[Me]&&Fm(n,t);const r=t[Xt];null!==r&&r.detachView(e)}!function C0(e){Vc.delete(e[hi])}(t)}}function zc(e,t,n){return function Pm(e,t,n){let r=t;for(;null!==r&&40&r.type;)r=(t=r).parent;if(null===r)return n[we];{const{componentOffset:o}=r;if(o>-1){const{encapsulation:i}=e.data[r.directiveStart+o];if(i===Vt.None||i===Vt.Emulated)return null}return rt(r,n)}}(e,t.parent,n)}function Cr(e,t,n,r,o){e.insertBefore(t,n,r,o)}function km(e,t,n){e.appendChild(t,n)}function Lm(e,t,n,r,o){null!==r?Cr(e,t,n,r,o):km(e,t,n)}function Aa(e,t){return e.parentNode(t)}let qc,Um=function jm(e,t,n){return 40&e.type?rt(e,n):null};function xa(e,t,n,r){const o=zc(e,r,t),i=t[U],a=function Vm(e,t,n){return Um(e,t,n)}(r.parent||t[Ze],r,t);if(null!=o)if(Array.isArray(n))for(let u=0;u<n.length;u++)Lm(i,o,n[u],a,!1);else Lm(i,o,n,a,!1);void 0!==qc&&qc(i,r,t,n,o)}function Ai(e,t){if(null!==t){const n=t.type;if(3&n)return rt(t,e);if(4&n)return Wc(-1,e[t.index]);if(8&n){const r=t.child;if(null!==r)return Ai(e,r);{const o=e[t.index];return Ye(o)?Wc(-1,o):de(o)}}if(32&n)return Bc(t,e)()||de(e[t.index]);{const r=Bm(e,t);return null!==r?Array.isArray(r)?r[0]:Ai(pr(e[De]),r):Ai(e,t.next)}}return null}function Bm(e,t){return null!==t?e[De][Ze].projection[t.projection]:null}function Wc(e,t){const n=Se+e+1;if(n<t.length){const r=t[n],o=r[w].firstChild;if(null!==o)return Ai(r,o)}return t[en]}function Zc(e,t,n,r,o,i,s){for(;null!=n;){const a=r[n.index],u=n.type;if(s&&0===t&&(a&&Je(de(a),r),n.flags|=2),32!=(32&n.flags))if(8&u)Zc(e,t,n.child,r,o,i,!1),lo(t,e,o,a,i);else if(32&u){const l=Bc(n,r);let c;for(;c=l();)lo(t,e,o,c,i);lo(t,e,o,a,i)}else 16&u?Gm(e,t,r,n,o,i):lo(t,e,o,a,i);n=s?n.projectionNext:n.next}}function Ra(e,t,n,r,o,i){Zc(n,r,e.firstChild,t,o,i,!1)}function Gm(e,t,n,r,o,i){const s=n[De],u=s[Ze].projection[r.projection];if(Array.isArray(u))for(let l=0;l<u.length;l++)lo(t,e,o,u[l],i);else{let l=u;const c=s[Me];ba(r)&&(l.flags|=128),Zc(e,t,l,c,o,i,!0)}}function zm(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function qm(e,t,n){const{mergedAttrs:r,classes:o,styles:i}=n;null!==r&&ql(e,t,r),null!==o&&zm(e,t,o),null!==i&&function $0(e,t,n){e.setAttribute(t,"style",n)}(e,t,i)}class Ym{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class sv{}let av=()=>null;function ud(e,t,n=!1){return av(e,t,n)}class CT{}class cv{}class ET{resolveComponentFactory(t){throw function wT(e){const t=Error(`No component factory found for ${Pe(e)}.`);return t.ngComponent=e,t}(t)}}let $a=(()=>{class e{static#e=this.NULL=new ET}return e})();function bT(){return go(ie(),m())}function go(e,t){return new bt(rt(e,t))}let bt=(()=>{class e{constructor(n){this.nativeElement=n}static#e=this.__NG_ELEMENT_ID__=bT}return e})();class fv{}let Mn=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function MT(){const e=m(),n=Ct(ie().index,e);return(Qe(n)?n:e)[U]}()}return e})(),ST=(()=>{class e{static#e=this.\u0275prov=T({token:e,providedIn:"root",factory:()=>null})}return e})();const dd={};function Pi(e,t,n,r,o=!1){for(;null!==n;){const i=t[n.index];null!==i&&r.push(de(i)),Ye(i)&&Dv(i,r);const s=n.type;if(8&s)Pi(e,t,n.child,r);else if(32&s){const a=Bc(n,t);let u;for(;u=a();)r.push(u)}else if(16&s){const a=Bm(t,n);if(Array.isArray(a))r.push(...a);else{const u=pr(t[De]);Pi(u[w],u,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function Dv(e,t){for(let n=Se;n<e.length;n++){const r=e[n],o=r[w].firstChild;null!==o&&Pi(r[w],r,o,t)}e[en]!==e[we]&&t.push(e[en])}let Cv=[];const BT={version:0,lastCleanEpoch: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:()=>{},consumerOnSignalRead:()=>{},consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{vi(e.lView)},consumerOnSignalRead(){this.lView[dr]=this}};function wv(e){return bv(e[di])}function Ev(e){return bv(e[Ut])}function bv(e){for(;null!==e&&!Ye(e);)e=e[Ut];return e}function pd(e){return e.ngOriginalError}class Sn{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&pd(t);for(;n&&pd(n);)n=pd(n);return n||null}}const Mv=new S("",{providedIn:"root",factory:()=>E(Sn).handleError.bind(void 0)}),Tv=new S("",{providedIn:"root",factory:()=>!1}),$={};function B(e=1){Rv(W(),m(),Ke()+e,!1)}function Rv(e,t,n,r){if(!r)if(3==(3&t[x])){const i=e.preOrderCheckHooks;null!==i&&na(t,i,n)}else{const i=e.preOrderHooks;null!==i&&ra(t,i,0,n)}gr(n)}function C(e,t=q.Default){const n=m();return null===n?O(e,t):Hg(ie(),n,N(e),t)}function Fv(e,t,n,r,o,i){const s=Ce(null);try{let a=null;o&ve.SignalBased&&(a=t[r][jr]),null!==a&&void 0!==a.transformFn&&(i=a.transformFn(i)),o&ve.HasDecoratorInputTransform&&(i=e.inputTransforms[r].call(t,i)),null!==e.setInput?e.setInput(t,a,i,n,r):fg(t,a,r,i)}finally{Ce(s)}}function za(e,t,n,r,o,i,s,a,u,l,c){const d=t.blueprint.slice();return d[we]=o,d[x]=204|r,(null!==l||e&&2048&e[x])&&(d[x]|=2048),_g(d),d[Me]=d[Gr]=e,d[ce]=n,d[wn]=s||e&&e[wn],d[U]=a||e&&e[U],d[nt]=u||e&&e[nt]||null,d[Ze]=i,d[hi]=function _0(){return y0++}(),d[$t]=c,d[ug]=l,d[De]=2==t.type?e[De]:d,d}function mo(e,t,n,r,o){let i=e.data[t];if(null===i)i=function gd(e,t,n,r,o){const i=bg(),s=oc(),u=e.data[t]=function rA(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return function Zr(){return null!==F.skipHydrationRootTNode}()&&(a|=128),{type:n,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:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,s?i:i&&i.parent,n,t,r,o);return null===e.firstChild&&(e.firstChild=u),null!==i&&(s?null==i.child&&null!==u.parent&&(i.child=u):null===i.next&&(i.next=u,u.prev=i)),u}(e,t,n,r,o),function KM(){return F.lFrame.inI18n}()&&(i.flags|=32);else if(64&i.type){i.type=n,i.value=r,i.attrs=o;const s=function yi(){const e=F.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();i.injectorIndex=null===s?-1:s.injectorIndex}return rn(i,!0),i}function ki(e,t,n,r){if(0===n)return-1;const o=t.length;for(let i=0;i<n;i++)t.push(r),e.blueprint.push(r),e.data.push(null);return o}function Pv(e,t,n,r,o){const i=Ke(),s=2&r;try{gr(-1),s&&t.length>j&&Rv(e,t,j,!1),tn(s?2:0,o),n(r,o)}finally{gr(i),tn(s?3:1,o)}}function md(e,t,n){if(Ql(t)){const r=Ce(null);try{const i=t.directiveEnd;for(let s=t.directiveStart;s<i;s++){const a=e.data[s];a.contentQueries&&a.contentQueries(1,n[s],s)}}finally{Ce(r)}}}function vd(e,t,n){Eg()&&(function cA(e,t,n,r){const o=n.directiveStart,i=n.directiveEnd;fr(n)&&function vA(e,t,n){const r=rt(t,e),o=kv(n);let s=16;n.signals?s=4096:n.onPush&&(s=64);const a=qa(e,za(e,o,null,s,r,t,null,e[wn].rendererFactory.createRenderer(r,n),null,null,null));e[t.index]=a}(t,n,e.data[o+n.componentOffset]),e.firstCreatePass||ia(n,t),Je(r,t);const s=n.initialInputs;for(let a=o;a<i;a++){const u=e.data[a],l=mr(t,e,a,n);Je(l,t),null!==s&&yA(0,a-o,l,u,0,s),Bt(u)&&(Ct(n.index,t)[ce]=mr(t,e,a,n))}}(e,t,n,rt(n,t)),64==(64&n.flags)&&$v(e,t,n))}function yd(e,t,n=rt){const r=t.localNames;if(null!==r){let o=t.index+1;for(let i=0;i<r.length;i+=2){const s=r[i+1],a=-1===s?n(t,e):e[s];e[o++]=a}}}function kv(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=_d(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function _d(e,t,n,r,o,i,s,a,u,l,c){const d=j+r,f=d+o,h=function KT(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:$);return n}(d,f),p="function"==typeof l?l():l;return h[w]={type:e,blueprint:h,template:n,queries:null,viewQuery:a,declTNode:t,data:h.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:f,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof i?i():i,pipeRegistry:"function"==typeof s?s():s,firstChild:null,schemas:u,consts:p,incompleteFirstPass:!1,ssrId:c}}let Lv=()=>null;function Vv(e,t,n,r,o){for(let i in t){if(!t.hasOwnProperty(i))continue;const s=t[i];if(void 0===s)continue;r??={};let a,u=ve.None;Array.isArray(s)?(a=s[0],u=s[1]):a=s;let l=i;if(null!==o){if(!o.hasOwnProperty(i))continue;l=o[i]}0===e?jv(r,n,l,a,u):jv(r,n,l,a)}return r}function jv(e,t,n,r,o){let i;e.hasOwnProperty(n)?(i=e[n]).push(t,r):i=e[n]=[t,r],void 0!==o&&i.push(o)}function Dd(e,t,n,r){if(Eg()){const o=null===r?null:{"":-1},i=function fA(e,t){const n=e.directiveRegistry;let r=null,o=null;if(n)for(let i=0;i<n.length;i++){const s=n[i];if(ng(t,s.selectors,!1))if(r||(r=[]),Bt(s))if(null!==s.findHostDirectiveDefs){const a=[];o=o||new Map,s.findHostDirectiveDefs(s,a,o),r.unshift(...a,s),Cd(e,t,a.length)}else r.unshift(s),Cd(e,t,0);else o=o||new Map,s.findHostDirectiveDefs?.(s,r,o),r.push(s)}return null===r?null:[r,o]}(e,n);let s,a;null===i?s=a=null:[s,a]=i,null!==s&&Uv(e,t,n,s,o,a),o&&function hA(e,t,n){if(t){const r=e.localNames=[];for(let o=0;o<t.length;o+=2){const i=n[t[o+1]];if(null==i)throw new _(-301,!1);r.push(t[o],i)}}}(n,r,o)}n.mergedAttrs=ci(n.mergedAttrs,n.attrs)}function Uv(e,t,n,r,o,i){for(let l=0;l<r.length;l++)mc(ia(n,t),e,r[l].type);!function gA(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}(n,e.data.length,r.length);for(let l=0;l<r.length;l++){const c=r[l];c.providersResolver&&c.providersResolver(c)}let s=!1,a=!1,u=ki(e,t,r.length,null);for(let l=0;l<r.length;l++){const c=r[l];n.mergedAttrs=ci(n.mergedAttrs,c.hostAttrs),mA(e,n,t,u,c),pA(u,c,o),null!==c.contentQueries&&(n.flags|=4),(null!==c.hostBindings||null!==c.hostAttrs||0!==c.hostVars)&&(n.flags|=64);const d=c.type.prototype;!s&&(d.ngOnChanges||d.ngOnInit||d.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),s=!0),!a&&(d.ngOnChanges||d.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),a=!0),u++}!function oA(e,t,n){const o=t.directiveEnd,i=e.data,s=t.attrs,a=[];let u=null,l=null;for(let c=t.directiveStart;c<o;c++){const d=i[c],f=n?n.get(d):null,p=f?f.outputs:null;u=Vv(0,d.inputs,c,u,f?f.inputs:null),l=Vv(1,d.outputs,c,l,p);const g=null===u||null===s||tg(t)?null:_A(u,c,s);a.push(g)}null!==u&&(u.hasOwnProperty("class")&&(t.flags|=8),u.hasOwnProperty("style")&&(t.flags|=16)),t.initialInputs=a,t.inputs=u,t.outputs=l}(e,n,i)}function $v(e,t,n){const r=n.directiveStart,o=n.directiveEnd,i=n.index,s=function XM(){return F.lFrame.currentDirectiveIndex}();try{gr(i);for(let a=r;a<o;a++){const u=e.data[a],l=t[a];sc(a),(null!==u.hostBindings||0!==u.hostVars||null!==u.hostAttrs)&&dA(u,l)}}finally{gr(-1),sc(s)}}function dA(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Cd(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function pA(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;Bt(t)&&(n[""]=e)}}function mA(e,t,n,r,o){e.data[r]=o;const i=o.factory||(o.factory=hr(o.type)),s=new _i(i,Bt(o),C);e.blueprint[r]=s,n[r]=s,function uA(e,t,n,r,o){const i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;null===s&&(s=e.hostBindingOpCodes=[]);const a=~t.index;(function lA(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(s)!=a&&s.push(a),s.push(n,r,i)}}(e,t,r,ki(e,n,o.hostVars,$),o)}function yA(e,t,n,r,o,i){const s=i[t];if(null!==s)for(let a=0;a<s.length;)Fv(r,n,s[a++],s[a++],s[a++],s[a++])}function _A(e,t,n){let r=null,o=0;for(;o<n.length;){const i=n[o];if(0!==i)if(5!==i){if("number"==typeof i)break;if(e.hasOwnProperty(i)){null===r&&(r=[]);const s=e[i];for(let a=0;a<s.length;a+=3)if(s[a]===t){r.push(i,s[a+1],s[a+2],n[o+1]);break}}o+=2}else o+=2;else o+=4}return r}function Bv(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function Hv(e,t){const n=e.contentQueries;if(null!==n){const r=Ce(null);try{for(let o=0;o<n.length;o+=2){const s=n[o+1];if(-1!==s){const a=e.data[s];uc(n[o]),a.contentQueries(2,t[s],s)}}}finally{Ce(r)}}}function qa(e,t){return e[di]?e[ag][Ut]=t:e[di]=t,e[ag]=t,t}function Ed(e,t,n){uc(0);const r=Ce(null);try{t(e,n)}finally{Ce(r)}}function Wa(e,t){const n=e[nt],r=n?n.get(Sn,null):null;r&&r.handleError(t)}function bd(e,t,n,r,o){for(let i=0;i<n.length;){const s=n[i++],a=n[i++],u=n[i++];Fv(e.data[s],t[s],r,a,u,o)}}function Tn(e,t,n){const r=gi(t,e);!function Rm(e,t,n){e.setValue(t,n)}(e[U],r,n)}function wA(e,t,n,r){const o=t[x];if(256==(256&o))return;t[wn].inlineEffectRunner?.flush(),lc(t);let s=null,a=null;(function EA(e){return 2!==e.type})(e)&&(a=function jT(e){return e[dr]??function UT(e){const t=Cv.pop()??Object.create(BT);return t.lView=e,t}(e)}(t),s=function wp(e){return e&&(e.nextProducerIndex=0),Ce(e)}(a));try{_g(t),function Mg(e){return F.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&Pv(e,t,n,2,r);const u=3==(3&o);if(u){const d=e.preOrderCheckHooks;null!==d&&na(t,d,null)}else{const d=e.preOrderHooks;null!==d&&ra(t,d,0,null),dc(t,0)}if(function bA(e){for(let t=wv(e);null!==t;t=Ev(t)){if(!(t[x]&Zl.HasTransplantedViews))continue;const n=t[qr];for(let r=0;r<n.length;r++){$M(n[r])}}}(t),Wv(t,0),null!==e.contentQueries&&Hv(e,t),u){const d=e.contentCheckHooks;null!==d&&na(t,d)}else{const d=e.contentHooks;null!==d&&ra(t,d,1),dc(t,1)}!function YT(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let r=0;r<n.length;r++){const o=n[r];if(o<0)gr(~o);else{const i=o,s=n[++r],a=n[++r];JM(s,i),a(2,t[i])}}}finally{gr(-1)}}(e,t);const l=e.components;null!==l&&Qv(t,l,0);const c=e.viewQuery;if(null!==c&&Ed(2,c,r),u){const d=e.viewCheckHooks;null!==d&&na(t,d)}else{const d=e.viewHooks;null!==d&&ra(t,d,2),dc(t,2)}if(!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[Ys]){for(const d of t[Ys])d();t[Ys]=null}t[x]&=-73}catch(u){throw vi(t),u}finally{null!==a&&(function Ep(e,t){if(Ce(t),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if(ii(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)Ls(e.producerNode[n],e.producerIndexOfThis[n]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}(a,s),function $T(e){e.lView[dr]!==e&&(e.lView=null,Cv.push(e))}(a)),cc()}}function Wv(e,t){for(let n=wv(e);null!==n;n=Ev(n))for(let r=Se;r<n.length;r++)Zv(n[r],t)}function IA(e,t,n){Zv(Ct(t,e),n)}function Zv(e,t){tc(e)&&Md(e,t)}function Md(e,t){const r=e[w],o=e[x],i=e[dr];let s=!!(0===t&&16&o);if(s||=!!(64&o&&0===t),s||=!!(1024&o),s||=!(!i?.dirty||!Cl(i)),i&&(i.dirty=!1),e[x]&=-9217,s)wA(r,e,r.template,e[ce]);else if(8192&o){Wv(e,1);const a=r.components;null!==a&&Qv(e,a,1)}}function Qv(e,t,n){for(let r=0;r<t.length;r++)IA(e,t[r],n)}function Li(e){for(e[wn].changeDetectionScheduler?.notify();e;){e[x]|=64;const t=pr(e);if(Yl(e)&&!t)return e;e=t}return null}class Vi{get rootNodes(){const t=this._lView,n=t[w];return Pi(n,t,n.firstChild,[])}constructor(t,n,r=!0){this._lView=t,this._cdRefInjectingView=n,this.notifyErrorHandler=r,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[ce]}set context(t){this._lView[ce]=t}get destroyed(){return 256==(256&this._lView[x])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[Me];if(Ye(t)){const n=t[8],r=n?n.indexOf(this):-1;r>-1&&(Ti(t,r),la(n,r))}this._attachedToViewContainer=!1}Ta(this._lView[w],this._lView)}onDestroy(t){Xs(this._lView,t)}markForCheck(){Li(this._cdRefInjectingView||this._lView)}detach(){this._lView[x]&=-129}reattach(){nc(this._lView),this._lView[x]|=128}detectChanges(){this._lView[x]|=1024,function Id(e,t=!0){const n=e[wn],r=n.rendererFactory;r.begin?.();try{!function CA(e){Md(e,0);let t=0;for(;Cg(e);){if(100===t)throw new _(103,!1);t++,Md(e,1)}}(e)}catch(i){throw t&&Wa(e,i),i}finally{r.end?.(),n.inlineEffectRunner?.flush()}}(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new _(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,Om(this._lView[w],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new _(902,!1);this._appRef=t,nc(this._lView)}}let ji=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=MA}return e})();function MA(e){return function SA(e,t,n){if(fr(e)&&!n){const r=Ct(e.index,t);return new Vi(r,r)}return 47&e.type?new Vi(t[De],t):null}(ie(),m(),16==(16&e))}let Za=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=NA;static#t=this.__NG_ENV_ID__=n=>n}return e})();class xA extends Za{constructor(t){super(),this._lView=t}onDestroy(t){return Xs(this._lView,t),()=>function rc(e,t){if(null===e[Bn])return;const n=e[Bn].indexOf(t);-1!==n&&e[Bn].splice(n,1)}(this._lView,t)}}function NA(){return new xA(m())}const Yv=new Set;function wr(e){Yv.has(e)||(Yv.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function Sd(e){return t=>{setTimeout(e,void 0,t)}}const Ee=class LA extends Yt{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&"object"==typeof t){const u=t;o=u.next?.bind(u),i=u.error?.bind(u),s=u.complete?.bind(u)}this.__isAsync&&(i=Sd(i),o&&(o=Sd(o)),s&&(s=Sd(s)));const a=super.subscribe({next:o,error:i,complete:s});return t instanceof dt&&t.add(a),a}};function Kv(...e){}class te{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Ee(!1),this.onMicrotaskEmpty=new Ee(!1),this.onStable=new Ee(!1),this.onError=new Ee(!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)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function VA(){const e="function"==typeof le.requestAnimationFrame;let t=le[e?"requestAnimationFrame":"setTimeout"],n=le[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&n){const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r);const o=n[Zone.__symbol__("OriginalDelegate")];o&&(n=o)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}().nativeRequestAnimationFrame,function $A(e){const t=()=>{!function UA(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(le,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Ad(e),e.isCheckStableRunning=!0,Td(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Ad(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,a)=>{if(function BA(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}(a))return n.invokeTask(o,i,s,a);try{return Jv(e),n.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||e.shouldCoalesceRunChangeDetection)&&t(),Xv(e)}},onInvoke:(n,r,o,i,s,a,u)=>{try{return Jv(e),n.invoke(o,i,s,a,u)}finally{e.shouldCoalesceRunChangeDetection&&t(),Xv(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,Ad(e),Td(e)):"macroTask"==i.change&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(n,r,o,i)=>(n.handleError(o,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}(o)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!te.isInAngularZone())throw new _(909,!1)}static assertNotInAngularZone(){if(te.isInAngularZone())throw new _(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){const i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,jA,Kv,Kv);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const jA={};function Td(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 Ad(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Jv(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Xv(e){e._nesting--,Td(e)}class ey{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Ee,this.onMicrotaskEmpty=new Ee,this.onStable=new Ee,this.onError=new Ee}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}}var Er=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(Er||{});const ty={destroy(){}};function ry(e,t){!t&&function Nc(e){if(!zp()&&!function lM(){return Br}())throw new _(-203,!1)}();const n=t?.injector??E(mt);if(!function qn(e){return"browser"===(e??E(mt)).get(Dr)}(n))return ty;wr("NgAfterNextRender");const r=n.get(Ui),o=r.handler??=new iy,i=t?.phase??Er.MixedReadWrite,s=()=>{o.unregister(u),a()},a=n.get(Za).onDestroy(s),u=new oy(n,i,()=>{s(),e()});return o.register(u),{destroy:s}}class oy{constructor(t,n,r){this.phase=n,this.callbackFn=r,this.zone=t.get(te),this.errorHandler=t.get(Sn,null,{optional:!0})}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(t){this.errorHandler?.handleError(t)}}}class iy{constructor(){this.executingCallbacks=!1,this.buckets={[Er.EarlyRead]:new Set,[Er.Write]:new Set,[Er.MixedReadWrite]:new Set,[Er.Read]:new Set},this.deferredCallbacks=new Set}register(t){(this.executingCallbacks?this.deferredCallbacks:this.buckets[t.phase]).add(t)}unregister(t){this.buckets[t.phase].delete(t),this.deferredCallbacks.delete(t)}execute(){let t=!1;this.executingCallbacks=!0;for(const n of Object.values(this.buckets))for(const r of n)t=!0,r.invoke();this.executingCallbacks=!1;for(const n of this.deferredCallbacks)this.buckets[n.phase].add(n);return this.deferredCallbacks.clear(),t}destroy(){for(const t of Object.values(this.buckets))t.clear();this.deferredCallbacks.clear()}}let Ui=(()=>{class e{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){const n=[...this.internalCallbacks];this.internalCallbacks.length=0;for(const o of n)o();return!!this.handler?.execute()||n.length>0}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}static#e=this.\u0275prov=T({token:e,providedIn:"root",factory:()=>new e})}return e})();function zA(e,t){const n=Ct(t,e),r=n[w];!function qA(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}(r,n);const o=n[we];null!==o&&null===n[$t]&&(n[$t]=ud(o,n[nt])),xd(r,n,n[ce])}function xd(e,t,n){lc(t);try{const r=e.viewQuery;null!==r&&Ed(1,r,n);const o=e.template;null!==o&&Pv(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&Hv(e,t),e.staticViewQueries&&Ed(2,e.viewQuery,n);const i=e.components;null!==i&&function WA(e,t){for(let n=0;n<t.length;n++)zA(e,t[n])}(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[x]&=-5,cc()}}function Qa(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(null!==t)for(let s=0;s<t.length;s++){const a=t[s];"number"==typeof a?i=a:1==i?o=Ol(o,a):2==i&&(r=Ol(r,a+": "+t[++s]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}class sy extends $a{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=z(t);return new $i(n,this.ngModule)}}function ay(e){const t=[];for(const n in e){if(!e.hasOwnProperty(n))continue;const r=e[n];void 0!==r&&t.push({propName:Array.isArray(r)?r[0]:r,templateName:n})}return t}class QA{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=qs(r);const o=this.injector.get(t,dd,r);return o!==dd||n===dd?o:this.parentInjector.get(t,n,r)}}class $i extends cv{get inputs(){const t=this.componentDef,n=t.inputTransforms,r=ay(t.inputs);if(null!==n)for(const o of r)n.hasOwnProperty(o.propName)&&(o.transform=n[o.propName]);return r}get outputs(){return ay(this.componentDef.outputs)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function EM(e){return e.map(wM).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,r,o){let i=(o=o||this.ngModule)instanceof xt?o:o?.injector;i&&null!==this.componentDef.getStandaloneInjector&&(i=this.componentDef.getStandaloneInjector(i)||i);const s=i?new QA(t,i):t,a=s.get(fv,null);if(null===a)throw new _(407,!1);const d={rendererFactory:a,sanitizer:s.get(ST,null),inlineEffectRunner:null,afterRenderEventManager:s.get(Ui,null),changeDetectionScheduler:s.get(sv,null)},f=a.createRenderer(null,this.componentDef),h=this.componentDef.selectors[0][0]||"div",p=r?function JT(e,t,n,r){const i=r.get(Tv,!1)||n===Vt.ShadowDom,s=e.selectRootElement(t,i);return function XT(e){Lv(e)}(s),s}(f,r,this.componentDef.encapsulation,s):Sa(f,h,function ZA(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(h));let g=512;this.componentDef.signals?g|=4096:this.componentDef.onPush||(g|=16);let y=null;null!==p&&(y=ud(p,s,!0));const D=_d(0,null,null,1,0,null,null,null,null,null,null),v=za(null,D,null,g,null,null,d,f,s,null,y);let A,L;lc(v);try{const H=this.componentDef;let Oe,yl=null;H.findHostDirectiveDefs?(Oe=[],yl=new Map,H.findHostDirectiveDefs(H,Oe,yl),Oe.push(H)):Oe=[H];const y$=function KA(e,t){const n=e[w],r=j;return e[r]=t,mo(n,r,2,"#host",null)}(v,p),_$=function JA(e,t,n,r,o,i,s){const a=o[w];!function XA(e,t,n,r){for(const o of e)t.mergedAttrs=ci(t.mergedAttrs,o.hostAttrs);null!==t.mergedAttrs&&(Qa(t,t.mergedAttrs,!0),null!==n&&qm(r,n,t))}(r,e,t,s);let u=null;null!==t&&(u=ud(t,o[nt]));const l=i.rendererFactory.createRenderer(t,n);let c=16;n.signals?c=4096:n.onPush&&(c=64);const d=za(o,kv(n),null,c,o[e.index],e,i,l,null,null,u);return a.firstCreatePass&&Cd(a,e,r.length-1),qa(o,d),o[e.index]=d}(y$,p,H,Oe,v,d,f);L=mi(D,j),p&&function tx(e,t,n,r){if(r)ql(e,n,["ng-version","17.1.1"]);else{const{attrs:o,classes:i}=function bM(e){const t=[],n=[];let r=1,o=2;for(;r<e.length;){let i=e[r];if("string"==typeof i)2===o?""!==i&&t.push(i,e[++r]):8===o&&n.push(i);else{if(!jt(o))break;o=i}r++}return{attrs:t,classes:n}}(t.selectors[0]);o&&ql(e,n,o),i&&i.length>0&&zm(e,n,i.join(" "))}}(f,H,p,r),void 0!==n&&function nx(e,t,n){const r=e.projection=[];for(let o=0;o<t.length;o++){const i=n[o];r.push(null!=i?Array.from(i):null)}}(L,this.ngContentSelectors,n),A=function ex(e,t,n,r,o,i){const s=ie(),a=o[w],u=rt(s,o);Uv(a,o,s,n,null,r);for(let c=0;c<n.length;c++)Je(mr(o,a,s.directiveStart+c,s),o);$v(a,o,s),u&&Je(u,o);const l=mr(o,a,s.directiveStart+s.componentOffset,s);if(e[ce]=o[ce]=l,null!==i)for(const c of i)c(l,t);return md(a,s,e),l}(_$,H,Oe,yl,v,[rx]),xd(D,v,null)}finally{cc()}return new YA(this.componentType,A,go(L,v),v,L)}}class YA extends CT{constructor(t,n,r,o,i){super(),this.location=r,this._rootLView=o,this._tNode=i,this.previousInputValues=null,this.instance=n,this.hostView=this.changeDetectorRef=new Vi(o,void 0,!1),this.componentType=t}setInput(t,n){const r=this._tNode.inputs;let o;if(null!==r&&(o=r[t])){if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;const i=this._rootLView;bd(i[w],i,o,t,n),this.previousInputValues.set(t,n),Li(Ct(this._tNode.index,i))}}get injector(){return new Le(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function rx(){const e=ie();ta(m()[w],e)}function oe(e){let t=function uy(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const r=[e];for(;t;){let o;if(Bt(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new _(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);const s=e;s.inputs=Ya(e.inputs),s.inputTransforms=Ya(e.inputTransforms),s.declaredInputs=Ya(e.declaredInputs),s.outputs=Ya(e.outputs);const a=o.hostBindings;a&&ux(e,a);const u=o.viewQuery,l=o.contentQueries;if(u&&sx(e,u),l&&ax(e,l),ox(e,o),ZI(e.outputs,o.outputs),Bt(o)&&o.data.animation){const c=e.data;c.animation=(c.animation||[]).concat(o.data.animation)}}const i=o.features;if(i)for(let s=0;s<i.length;s++){const a=i[s];a&&a.ngInherit&&a(e),a===oe&&(n=!1)}}t=Object.getPrototypeOf(t)}!function ix(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){const o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=ci(o.hostAttrs,n=ci(n,o.hostAttrs))}}(r)}function ox(e,t){for(const n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;const r=t.inputs[n];if(void 0!==r&&(e.inputs[n]=r,e.declaredInputs[n]=t.declaredInputs[n],null!==t.inputTransforms)){const o=Array.isArray(r)?r[0]:r;if(!t.inputTransforms.hasOwnProperty(o))continue;e.inputTransforms??={},e.inputTransforms[o]=t.inputTransforms[o]}}}function Ya(e){return e===Kt?{}:e===Q?[]:e}function sx(e,t){const n=e.viewQuery;e.viewQuery=n?(r,o)=>{t(r,o),n(r,o)}:t}function ax(e,t){const n=e.contentQueries;e.contentQueries=n?(r,o,i)=>{t(r,o,i),n(r,o,i)}:t}function ux(e,t){const n=e.hostBindings;e.hostBindings=n?(r,o)=>{t(r,o),n(r,o)}:t}function yo(e,t){return!t||null===t.firstChild||ba(e)}function Wi(e,t,n,r=!0){const o=t[w];if(function R0(e,t,n,r){const o=Se+r,i=n.length;r>0&&(n[o-1][Ut]=t),r<i-Se?(t[Ut]=n[o],Qg(n,Se+r,t)):(n.push(t),t[Ut]=null),t[Me]=n;const s=t[fi];null!==s&&n!==s&&function O0(e,t){const n=e[qr];t[De]!==t[Me][Me][De]&&(e[x]|=Zl.HasTransplantedViews),null===n?e[qr]=[t]:n.push(t)}(s,t);const a=t[Xt];null!==a&&a.insertView(e),nc(t),t[x]|=128}(o,t,e,n),r){const s=Wc(n,e),a=t[U],u=Aa(a,e[en]);null!==u&&function x0(e,t,n,r,o,i){r[we]=o,r[Ze]=t,Ra(e,r,n,1,o,i)}(o,e[Ze],a,t,u,s)}const i=t[$t];null!==i&&null!==i.firstChild&&(i.firstChild=null)}let Ht=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=Px}return e})();function Px(){return function wy(e,t){let n;const r=t[e.index];return Ye(r)?n=r:(n=Bv(r,t,null,e),t[e.index]=n,qa(t,n)),Ey(n,t,e,r),new Dy(n,e,t)}(ie(),m())}const kx=Ht,Dy=class extends kx{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return go(this._hostTNode,this._hostLView)}get injector(){return new Le(this._hostTNode,this._hostLView)}get parentInjector(){const t=sa(this._hostTNode,this._hostLView);if(hc(t)){const n=Ci(t,this._hostLView),r=Di(t);return new Le(n[w].data[r+8],n)}return new Le(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=Cy(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-Se}createEmbeddedView(t,n,r){let o,i;"number"==typeof r?o=r:null!=r&&(o=r.index,i=r.injector);const a=t.createEmbeddedViewImpl(n||{},i,null);return this.insertImpl(a,o,yo(this._hostTNode,null)),a}createComponent(t,n,r,o,i){const s=t&&!function wi(e){return"function"==typeof e}(t);let a;if(s)a=n;else{const p=n||{};a=p.index,r=p.injector,o=p.projectableNodes,i=p.environmentInjector||p.ngModuleRef}const u=s?t:new $i(z(t)),l=r||this.parentInjector;if(!i&&null==u.ngModule){const g=(s?l:this.parentInjector).get(xt,null);g&&(i=g)}z(u.componentType??{});const h=u.create(l,o,null,i);return this.insertImpl(h.hostView,a,yo(this._hostTNode,null)),h}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){const o=t._lView;if(function UM(e){return Ye(e[Me])}(o)){const a=this.indexOf(t);if(-1!==a)this.detach(a);else{const u=o[Me],l=new Dy(u,u[Ze],u[Me]);l.detach(l.indexOf(t))}}const i=this._adjustIndex(n),s=this._lContainer;return Wi(s,o,i,r),t.attachToViewContainerRef(),Qg(Ld(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=Cy(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=Ti(this._lContainer,n);r&&(la(Ld(this._lContainer),n),Ta(r[w],r))}detach(t){const n=this._adjustIndex(t,-1),r=Ti(this._lContainer,n);return r&&null!=la(Ld(this._lContainer),n)?new Vi(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Cy(e){return e[8]}function Ld(e){return e[8]||(e[8]=[])}let Ey=function Iy(e,t,n,r){if(e[en])return;let o;o=8&n.type?de(r):function Lx(e,t){const n=e[U],r=n.createComment(""),o=rt(t,e);return Cr(n,Aa(n,o),r,function L0(e,t){return e.nextSibling(t)}(n,o),!1),r}(t,n),e[en]=o},Vd=()=>!1;function un(e,t,n){return e[t]=n}function xe(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function br(e,t,n,r){const o=xe(e,t,n);return xe(e,t+1,r)||o}function yt(e,t,n,r,o,i,s,a){const u=m(),l=W(),c=e+j,d=l.firstCreatePass?function $x(e,t,n,r,o,i,s,a,u){const l=t.consts,c=mo(t,e,4,s||null,nn(l,a));Dd(t,n,c,nn(l,u)),ta(t,c);const d=c.tView=_d(2,c,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,l,null);return null!==t.queries&&(t.queries.template(t,c),d.queries=t.queries.embeddedTView(c)),c}(c,l,u,t,n,r,o,i,s):l.data[c];rn(d,!1);const f=My(l,u,d,e);ea()&&xa(l,u,f,d),Je(f,u);const h=Bv(f,u,f,d);return u[c]=h,qa(u,h),function by(e,t,n){return Vd(e,t,n)}(h,d,u),Js(d)&&vd(l,u,d),null!=s&&yd(u,d,a),yt}let My=function Sy(e,t,n,r){return Hn(!0),t[U].createComment("")};function So(e,t,n,r,o,i){const a=br(e,function En(){return F.lFrame.bindingIndex}(),n,o);return bn(2),a?t+V(n)+r+V(o)+i:$}function au(e,t){return e<<17|t<<2}function Kn(e){return e>>17&32767}function Wd(e){return 2|e}function Mr(e){return(131068&e)>>2}function Zd(e,t){return-131069&e|t<<2}function Qd(e){return 1|e}function i_(e,t,n,r){const o=e[n+1],i=null===t;let s=r?Kn(o):Mr(o),a=!1;for(;0!==s&&(!1===a||i);){const l=e[s+1];IN(e[s],t)&&(a=!0,e[s+1]=r?Qd(l):Wd(l)),s=r?Kn(l):Mr(l)}a&&(e[n+1]=r?Wd(o):Qd(o))}function IN(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&oo(e,t)>=0}function Y(e,t,n){const r=m();return xe(r,on(),t)&&function It(e,t,n,r,o,i,s,a){const u=rt(t,n);let c,l=t.inputs;!a&&null!=l&&(c=l[r])?(bd(e,n,c,r,o),fr(t)&&function sA(e,t){const n=Ct(t,e);16&n[x]||(n[x]|=64)}(n,t.index)):3&t.type&&(r=function iA(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),o=null!=s?s(o,t.value||"",r):o,i.setProperty(u,r,o))}(W(),function ye(){const e=F.lFrame;return mi(e.tView,e.selectedIndex)}(),r,e,t,r[U],n,!1),Y}function Yd(e,t,n,r,o){const s=o?"class":"style";bd(e,n,t.inputs[s],s,r)}function uu(e,t){return function Gt(e,t,n,r){const o=m(),i=W(),s=bn(2);i.firstUpdatePass&&function p_(e,t,n,r){const o=e.data;if(null===o[n+1]){const i=o[Ke()],s=function h_(e,t){return t>=e.expandoStartIndex}(e,n);(function y_(e,t){return 0!=(e.flags&(t?8:16))})(i,r)&&null===t&&!s&&(t=!1),t=function FN(e,t,n,r){const o=function ac(e){const t=F.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let i=r?t.residualClasses:t.residualStyles;if(null===o)0===(r?t.classBindings:t.styleBindings)&&(n=Ji(n=Kd(null,e,t,n,r),t.attrs,r),i=null);else{const s=t.directiveStylingLast;if(-1===s||e[s]!==o)if(n=Kd(o,e,t,n,r),null===i){let u=function PN(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==Mr(r))return e[Kn(r)]}(e,t,r);void 0!==u&&Array.isArray(u)&&(u=Kd(null,e,t,u[1],r),u=Ji(u,t.attrs,r),function kN(e,t,n,r){e[Kn(n?t.classBindings:t.styleBindings)]=r}(e,t,r,u))}else i=function LN(e,t,n){let r;const o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++)r=Ji(r,e[i].hostAttrs,n);return Ji(r,t.attrs,n)}(e,t,r)}return void 0!==i&&(r?t.residualClasses=i:t.residualStyles=i),n}(o,i,t,r),function EN(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=Kn(s),u=Mr(s);e[r]=n;let c,l=!1;if(Array.isArray(n)?(c=n[1],(null===c||oo(n,c)>0)&&(l=!0)):c=n,o)if(0!==u){const f=Kn(e[a+1]);e[r+1]=au(f,a),0!==f&&(e[f+1]=Zd(e[f+1],r)),e[a+1]=function CN(e,t){return 131071&e|t<<17}(e[a+1],r)}else e[r+1]=au(a,0),0!==a&&(e[a+1]=Zd(e[a+1],r)),a=r;else e[r+1]=au(u,0),0===a?a=r:e[u+1]=Zd(e[u+1],r),u=r;l&&(e[r+1]=Wd(e[r+1])),i_(e,c,r,!0),i_(e,c,r,!1),function bN(e,t,n,r,o){const i=o?e.residualClasses:e.residualStyles;null!=i&&"string"==typeof t&&oo(i,t)>=0&&(n[r+1]=Qd(n[r+1]))}(t,c,e,r,i),s=au(a,u),i?t.classBindings=s:t.styleBindings=s}(o,i,t,n,s,r)}}(i,e,s,r),t!==$&&xe(o,s,t)&&function m_(e,t,n,r,o,i,s,a){if(!(3&t.type))return;const u=e.data,l=u[a+1],c=function wN(e){return 1==(1&e)}(l)?v_(u,t,n,o,Mr(l),s):void 0;lu(c)||(lu(i)||function DN(e){return 2==(2&e)}(l)&&(i=v_(u,null,n,o,a,s)),function U0(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=-1===r.indexOf("-")?void 0:Zn.DashCase;null==o?e.removeStyle(n,r,i):("string"==typeof o&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=Zn.Important),e.setStyle(n,r,o,i))}}(r,s,gi(Ke(),n),o,i))}(i,i.data[Ke()],o,o[U],e,o[s+1]=function $N(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=Pe(function Qn(e){return e instanceof Ym?e.changingThisBreaksApplicationSecurity:e}(e)))),e}(t,n),r,s)}(e,t,null,!0),uu}function Kd(e,t,n,r,o){let i=null;const s=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a<s&&(i=t[a],r=Ji(r,i.hostAttrs,o),i!==e);)a++;return null!==e&&(n.directiveStylingLast=a),r}function Ji(e,t,n){const r=n?1:2;let o=-1;if(null!==t)for(let i=0;i<t.length;i++){const s=t[i];"number"==typeof s?o=s:o===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),wt(e,s,!!n||t[++i]))}return void 0===e?null:e}function v_(e,t,n,r,o,i){const s=null===t;let a;for(;o>0;){const u=e[o],l=Array.isArray(u),c=l?u[1]:u,d=null===c;let f=n[o+1];f===$&&(f=d?Q:void 0);let h=d?Dc(f,r):c===r?f:void 0;if(l&&!lu(h)&&(h=Dc(u,r)),lu(h)&&(a=h,s))return a;const p=e[o+1];o=s?Kn(p):Mr(p)}if(null!==t){let u=i?t.residualClasses:t.residualStyles;null!=u&&(a=Dc(u,r))}return a}function lu(e){return void 0!==e}function b(e,t,n,r){const o=m(),i=W(),s=j+e,a=o[U],u=i.firstCreatePass?function cR(e,t,n,r,o,i){const s=t.consts,u=mo(t,e,2,r,nn(s,o));return Dd(t,n,u,nn(s,i)),null!==u.attrs&&Qa(u,u.attrs,!1),null!==u.mergedAttrs&&Qa(u,u.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,u),u}(s,i,o,t,n,r):i.data[s],l=w_(i,o,u,a,t,e);o[s]=l;const c=Js(u);return rn(u,!0),qm(a,l,u),32!=(32&u.flags)&&ea()&&xa(i,o,l,u),0===function BM(){return F.lFrame.elementDepthCount}()&&Je(l,o),function HM(){F.lFrame.elementDepthCount++}(),c&&(vd(i,o,u),md(i,u,o)),null!==r&&yd(o,u),b}function I(){let e=ie();oc()?function ic(){F.lFrame.isParent=!1}():(e=e.parent,rn(e,!1));const t=e;(function zM(e){return F.skipHydrationRootTNode===e})(t)&&function QM(){F.skipHydrationRootTNode=null}(),function GM(){F.lFrame.elementDepthCount--}();const n=W();return n.firstCreatePass&&(ta(n,e),Ql(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function cS(e){return 0!=(8&e.flags)}(t)&&Yd(n,t,m(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function dS(e){return 0!=(16&e.flags)}(t)&&Yd(n,t,m(),t.stylesWithoutHost,!1),I}function Po(e,t,n,r){return b(e,t,n,r),I(),Po}let w_=(e,t,n,r,o,i)=>(Hn(!0),Sa(r,o,function Fg(){return F.lFrame.currentNamespace}()));function Ot(){return m()}const Sr=void 0;var vR=["en",[["a","p"],["AM","PM"],Sr],[["AM","PM"],Sr,Sr],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Sr,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Sr,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Sr,"{1} 'at' {0}",Sr],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function mR(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let ko={};function at(e){const t=function yR(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=T_(t);if(n)return n;const r=t.split("-")[0];if(n=T_(r),n)return n;if("en"===r)return vR;throw new _(701,!1)}function T_(e){return e in ko||(ko[e]=le.ng&&le.ng.common&&le.ng.common.locales&&le.ng.common.locales[e]),ko[e]}var fe=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}(fe||{});const Lo="en-US";let A_=Lo;function os(e){return!!e&&"function"==typeof e.then}function eD(e){return!!e&&"function"==typeof e.subscribe}function he(e,t,n,r){const o=m(),i=W(),s=ie();return function nD(e,t,n,r,o,i,s){const a=Js(r),l=e.firstCreatePass&&function zv(e){return e.cleanup||(e.cleanup=[])}(e),c=t[ce],d=function Gv(e){return e[Hr]||(e[Hr]=[])}(t);let f=!0;if(3&r.type||s){const g=rt(r,t),y=s?s(g):g,D=d.length,v=s?L=>s(de(L[r.index])):r.index;let A=null;if(!s&&a&&(A=function fO(e,t,n,r){const o=e.cleanup;if(null!=o)for(let i=0;i<o.length-1;i+=2){const s=o[i];if(s===n&&o[i+1]===r){const a=t[Hr],u=o[i+2];return a.length>u?a[u]:null}"string"==typeof s&&(i+=2)}return null}(e,t,o,r.index)),null!==A)(A.__ngLastListenerFn__||A).__ngNextListenerFn__=i,A.__ngLastListenerFn__=i,f=!1;else{i=oD(r,t,c,i,!1);const L=n.listen(y,o,i);d.push(i,L),l&&l.push(o,v,D,D+1)}}else i=oD(r,t,c,i,!1);const h=r.outputs;let p;if(f&&null!==h&&(p=h[o])){const g=p.length;if(g)for(let y=0;y<g;y+=2){const H=t[p[y]][p[y+1]].subscribe(i),Oe=d.length;d.push(i,H),l&&l.push(o,r.index,Oe,-(Oe+1))}}}(i,o,o[U],s,e,t,r),he}function rD(e,t,n,r){try{return tn(6,t,n),!1!==n(r)}catch(o){return Wa(e,o),!1}finally{tn(7,t,n)}}function oD(e,t,n,r,o){return function i(s){if(s===Function)return r;Li(e.componentOffset>-1?Ct(e.index,t):t);let u=rD(t,n,r,s),l=i.__ngNextListenerFn__;for(;l;)u=rD(t,n,l,s)&&u,l=l.__ngNextListenerFn__;return o&&!1===u&&s.preventDefault(),u}}function K(e=1){return function tS(e){return(F.lFrame.contextLView=function Dg(e,t){for(;e>0;)t=t[Gr],e--;return t}(e,F.lFrame.contextLView))[ce]}(e)}Symbol;let An=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=_O}return e})();const vO=An,yO=class extends vO{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){const o=function qi(e,t,n,r){const o=t.tView,a=za(e,o,n,4096&e[x]?4096:16,null,t,null,null,null,r?.injector??null,r?.dehydratedView??null);a[fi]=e[t.index];const l=e[Xt];return null!==l&&(a[Xt]=l.createEmbeddedView(o)),xd(o,a,n),a}(this._declarationLView,this._declarationTContainer,t,{injector:n,dehydratedView:r});return new Vi(o)}};function _O(){return function pu(e,t){return 4&e.type?new yO(t,e,go(e,t)):null}(ie(),m())}function M(e,t=""){const n=m(),r=W(),o=e+j,i=r.firstCreatePass?mo(r,o,1,t,null):r.data[o],s=ND(r,n,i,t,e);n[o]=s,ea()&&xa(r,n,s,i),rn(i,!1)}let ND=(e,t,n,r,o)=>(Hn(!0),function Ma(e,t){return e.createText(t)}(t[U],r));function xn(e){return Jn("",e,""),xn}function Jn(e,t,n){const r=m(),o=function Mo(e,t,n,r){return xe(e,on(),n)?t+V(n)+r:$}(r,e,t,n);return o!==$&&Tn(r,Ke(),o),Jn}function fn(e,t,n,r,o){const i=m(),s=So(i,e,t,n,r,o);return s!==$&&Tn(i,Ke(),s),fn}function gf(e,t,n,r,o){if(e=N(e),Array.isArray(e))for(let i=0;i<e.length;i++)gf(e[i],t,n,r,o);else{const i=W(),s=m(),a=ie();let u=yr(e)?e:N(e.provide);const l=sm(e),c=1048575&a.providerIndexes,d=a.directiveStart,f=a.providerIndexes>>20;if(yr(e)||!e.multi){const h=new _i(l,o,C),p=vf(u,t,o?c:c+f,d);-1===p?(mc(ia(a,s),i,u),mf(i,e,t.length),t.push(u),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(h),s.push(h)):(n[p]=h,s[p]=h)}else{const h=vf(u,t,c+f,d),p=vf(u,t,c,c+f),y=p>=0&&n[p];if(o&&!y||!o&&!(h>=0&&n[h])){mc(ia(a,s),i,u);const D=function HO(e,t,n,r,o){const i=new _i(e,n,C);return i.multi=[],i.index=t,i.componentProviders=0,jD(i,o,r&&!n),i}(o?BO:$O,n.length,o,r,l);!o&&y&&(n[p].providerFactory=D),mf(i,e,t.length,0),t.push(u),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(D),s.push(D)}else mf(i,e,h>-1?h:p,jD(n[o?p:h],l,!o&&r));!o&&r&&y&&n[p].componentProviders++}}}function mf(e,t,n,r){const o=yr(t),i=function HS(e){return!!e.useClass}(t);if(o||i){const u=(i?N(t.useClass):t).prototype.ngOnDestroy;if(u){const l=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){const c=l.indexOf(n);-1===c?l.push(n,[r,u]):l[c+1].push(r,u)}else l.push(n,u)}}}function jD(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function vf(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function $O(e,t,n,r){return yf(this.multi,[])}function BO(e,t,n,r){const o=this.multi;let i;if(this.providerFactory){const s=this.providerFactory.componentProviders,a=mr(n,n[w],this.providerFactory.index,r);i=a.slice(0,s),yf(o,i);for(let u=s;u<a.length;u++)i.push(a[u])}else i=[],yf(o,i);return i}function yf(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function _e(e,t=[]){return n=>{n.providersResolver=(r,o)=>function UO(e,t,n){const r=W();if(r.firstCreatePass){const o=Bt(e);gf(n,r.data,r.blueprint,o,!0),gf(t,r.data,r.blueprint,o,!1)}}(r,o?o(e):e,t)}}class Tr{}class UD{}class _f extends Tr{constructor(t,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new sy(this);const o=We(t);this._bootstrapComponents=Et(o.bootstrap),this._r3Injector=dm(t,n,[{provide:Tr,useValue:this},{provide:$a,useValue:this.componentFactoryResolver},...r],Pe(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Df extends UD{constructor(t){super(),this.moduleType=t}create(t){return new _f(this.moduleType,t,[])}}class $D extends Tr{constructor(t){super(),this.componentFactoryResolver=new sy(this),this.instance=null;const n=new so([...t.providers,{provide:Tr,useValue:this},{provide:$a,useValue:this.componentFactoryResolver}],t.parent||ya(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function Cf(e,t,n=null){return new $D({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}let qO=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){const r=nm(0,n.type),o=r.length>0?Cf([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=T({token:e,providedIn:"environment",factory:()=>new e(O(xt))})}return e})();function BD(e){wr("NgStandalone"),e.getStandaloneInjector=t=>t.get(qO).getOrCreateStandaloneInjector(e)}function is(e,t){const n=e[t];return n===$?void 0:n}function eC(e,t,n,r,o,i,s,a,u){const l=t+n;return function Nt(e,t,n,r,o,i){const s=br(e,t,n,r);return br(e,t+2,o,i)||s}(e,l,o,i,s,a)?un(e,l+4,u?r.call(u,o,i,s,a):r(o,i,s,a)):is(e,l+4)}function pe(e,t){const n=W();let r;const o=e+j;n.firstCreatePass?(r=function h1(e,t){if(t)for(let n=t.length-1;n>=0;n--){const r=t[n];if(e===r.name)return r}}(t,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks??=[]).push(o,r.onDestroy)):r=n.data[o];const i=r.factory||(r.factory=hr(r.type)),a=ht(C);try{const u=oa(!1),l=i();return oa(u),function SO(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(n,m(),o,l),l}finally{ht(a)}}function Nn(e,t,n,r){const o=e+j,i=m(),s=Wr(i,o);return ss(i,o)?function JD(e,t,n,r,o,i,s){const a=t+n;return br(e,a,o,i)?un(e,a+2,s?r.call(s,o,i):r(o,i)):is(e,a+2)}(i,st(),t,s.transform,n,r,s):s.transform(n,r)}function He(e,t,n,r,o,i){const s=e+j,a=m(),u=Wr(a,s);return ss(a,s)?eC(a,st(),t,u.transform,n,r,o,i,u):u.transform(n,r,o,i)}function ss(e,t){return e[w].data[t].pure}let vC=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();class j1{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let yC=(()=>{class e{compileModuleSync(n){return new Df(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),i=Et(We(n).declarations).reduce((s,a)=>{const u=z(a);return u&&s.push(new $i(u)),s},[]);return new j1(r,i)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),yu=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Tt(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),0===this.pendingTasks.size&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&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})();const EC=new S(""),Du=new S("");let xf,Tf=(()=>{class e{constructor(n,r,o){this._ngZone=n,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,xf||(function fF(e){xf=e}(o),o.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{te.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,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 n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb()}});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1))}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,o){let i=-1;r&&r>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==i),n()},r)),this._callbacks.push({doneCb:n,timeoutId:i,updateCb:o})}whenStable(n,r,o){if(o&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,o){return[]}static#e=this.\u0275fac=function(r){return new(r||e)(O(te),O(Af),O(Du))};static#t=this.\u0275prov=T({token:e,factory:e.\u0275fac})}return e})(),Af=(()=>{class e{constructor(){this._applications=new Map}registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return xf?.findTestabilityInTree(this,n,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})();const Nf=new S("Application Initializer");let Rf=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r}),this.appInits=E(Nf,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const n=[];for(const o of this.appInits){const i=o();if(os(i))n.push(i);else if(eD(i)){const s=new Promise((a,u)=>{i.subscribe({complete:a,error:u})});n.push(s)}}const r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),0===n.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})();const Of=new S("appBootstrapListener");function MC(e,t){return Array.isArray(t)?t.reduce(MC,e):{...e,...t}}let Ar=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=E(Mv),this.afterRenderEffectManager=E(Ui),this.componentTypes=[],this.components=[],this.isStable=E(yu).hasPendingTasks.pipe(ne(n=>!n)),this._injector=E(xt)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,r){const o=n instanceof cv;if(!this._injector.get(Rf).done)throw!o&&function $n(e){const t=z(e)||ke(e)||qe(e);return null!==t&&t.standalone}(n),new _(405,!1);let s;s=o?n:this._injector.get($a).resolveComponentFactory(n),this.componentTypes.push(s.componentType);const a=function pF(e){return e.isBoundToModule}(s)?void 0:this._injector.get(Tr),l=s.create(mt.NULL,[],r||s.selector,a),c=l.location.nativeElement,d=l.injector.get(EC,null);return d?.registerApplication(c),l.onDestroy(()=>{this.detachView(l.hostView),Cu(this.components,l),d?.unregisterApplication(c)}),this._loadComponent(l),l}tick(){if(this._runningTick)throw new _(101,!1);try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this.internalErrorHandler(n)}finally{try{this.afterRenderEffectManager.execute()}catch(n){this.internalErrorHandler(n)}this._runningTick=!1}}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;Cu(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const r=this._injector.get(Of,[]);[...this._bootstrapListeners,...r].forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Cu(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new _(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.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 Cu(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}let mF=(()=>{class e{constructor(){this.zone=E(te),this.applicationRef=E(Ar)}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})();function vF(){const e=E(te),t=E(Sn);return n=>e.runOutsideAngular(()=>t.handleError(n))}let _F=(()=>{class e{constructor(){this.subscription=new dt,this.initialized=!1,this.zone=E(te),this.pendingTasks=E(yu)}initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{te.assertNotInAngularZone(),queueMicrotask(()=>{null!==n&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{te.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.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})();const Rn=new S("LocaleId",{providedIn:"root",factory:()=>E(Rn,q.Optional|q.SkipSelf)||function DF(){return typeof $localize<"u"&&$localize.locale||Lo}()}),CF=new S("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"}),Ff=new S("PlatformDestroyListeners");let xC=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const o=function HA(e="zone.js",t){return"noop"===e?new ey:"zone.js"===e?new te(t):e}(r?.ngZone,function AC(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing}));return o.run(()=>{const i=function zO(e,t,n){return new _f(e,t,n)}(n.moduleType,this.injector,function TC(e){return[{provide:te,useFactory:e},{provide:vr,multi:!0,useFactory:()=>{const t=E(mF,{optional:!0});return()=>t.initialize()}},{provide:vr,multi:!0,useFactory:()=>{const t=E(_F);return()=>{t.initialize()}}},{provide:Mv,useFactory:vF}]}(()=>o)),s=i.injector.get(Sn,null);return o.runOutsideAngular(()=>{const a=o.onError.subscribe({next:u=>{s.handleError(u)}});i.onDestroy(()=>{Cu(this._modules,i),a.unsubscribe()})}),function IC(e,t,n){try{const r=n();return os(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(s,o,()=>{const a=i.injector.get(Rf);return a.runInitializers(),a.donePromise.then(()=>(function x_(e){ft(e,"Expected localeId to be defined"),"string"==typeof e&&(A_=e.toLowerCase().replace(/_/g,"-"))}(i.injector.get(Rn,Lo)||Lo),this._moduleDoBootstrap(i),i))})})}bootstrapModule(n,r=[]){const o=MC({},r);return function hF(e,t,n){const r=new Df(n);return Promise.resolve(r)}(0,0,n).then(i=>this.bootstrapModuleFactory(i,o))}_moduleDoBootstrap(n){const r=n.injector.get(Ar);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(o=>r.bootstrap(o));else{if(!n.instance.ngDoBootstrap)throw new _(-403,!1);n.instance.ngDoBootstrap(r)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new _(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(Ff,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(r){return new(r||e)(O(mt))};static#t=this.\u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),Xn=null;const NC=new S("AllowMultipleToken");function RC(e,t,n=[]){const r=`Platform: ${t}`,o=new S(r);return(i=[])=>{let s=Pf();if(!s||s.injector.get(NC,!1)){const a=[...n,...i,{provide:o,useValue:!0}];e?e(a):function EF(e){if(Xn&&!Xn.get(NC,!1))throw new _(400,!1);(function bC(){!function AI(e){Sp=e}(()=>{throw new _(600,!1)})})(),Xn=e;const t=e.get(xC);(function FC(e){e.get(hm,null)?.forEach(n=>n())})(e)}(function OC(e=[],t){return mt.create({name:t,providers:[{provide:Sc,useValue:"platform"},{provide:Ff,useValue:new Set([()=>Xn=null])},...e]})}(a,r))}return function bF(e){const t=Pf();if(!t)throw new _(401,!1);return t}()}}function Pf(){return Xn?.get(xC)??null}const xF=RC(null,"core",[]);let NF=(()=>{class e{constructor(n){}static#e=this.\u0275fac=function(r){return new(r||e)(O(Ar))};static#t=this.\u0275mod=Jt({type:e});static#n=this.\u0275inj=Lt({})}return e})();let Bf=null;function er(){return Bf}class aP{}const Mt=new S("DocumentToken");let Hf=(()=>{class e{historyGo(n){throw new Error("Not implemented")}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=T({token:e,factory:()=>E(lP),providedIn:"platform"})}return e})();const uP=new S("Location Initialized");let lP=(()=>{class e extends Hf{constructor(){super(),this._doc=E(Mt),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return er().getBaseHref(this._doc)}onPopState(n){const r=er().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){const r=er().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",n,!1),()=>r.removeEventListener("hashchange",n)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(n){this._location.pathname=n}pushState(n,r,o){this._history.pushState(n,r,o)}replaceState(n,r,o){this._history.replaceState(n,r,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=T({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function Gf(e,t){if(0==e.length)return t;if(0==t.length)return e;let n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,2==n?e+t.substring(1):1==n?e+t:e+"/"+t}function ow(e){const t=e.match(/#|\?|$/),n=t&&t.index||e.length;return e.slice(0,n-("/"===e[n-1]?1:0))+e.slice(n)}function On(e){return e&&"?"!==e[0]?"?"+e:e}let Nr=(()=>{class e{historyGo(n){throw new Error("Not implemented")}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=T({token:e,factory:()=>E(sw),providedIn:"root"})}return e})();const iw=new S("appBaseHref");let sw=(()=>{class e extends Nr{constructor(n,r){super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??E(Mt).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return Gf(this._baseHref,n)}path(n=!1){const r=this._platformLocation.pathname+On(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${r}${o}`:r}pushState(n,r,o,i){const s=this.prepareExternalUrl(o+On(i));this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){const s=this.prepareExternalUrl(o+On(i));this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}static#e=this.\u0275fac=function(r){return new(r||e)(O(Hf),O(iw,8))};static#t=this.\u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),cP=(()=>{class e extends Nr{constructor(n,r){super(),this._platformLocation=n,this._baseHref="",this._removeListenerFns=[],null!=r&&(this._baseHref=r)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}path(n=!1){let r=this._platformLocation.hash;return null==r&&(r="#"),r.length>0?r.substring(1):r}prepareExternalUrl(n){const r=Gf(this._baseHref,n);return r.length>0?"#"+r:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+On(i));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+On(i));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}static#e=this.\u0275fac=function(r){return new(r||e)(O(Hf),O(iw,8))};static#t=this.\u0275prov=T({token:e,factory:e.\u0275fac})}return e})(),fs=(()=>{class e{constructor(n){this._subject=new Ee,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=n;const r=this._locationStrategy.getBaseHref();this._basePath=function hP(e){if(new RegExp("^(https?:)?//").test(e)){const[,n]=e.split(/\/\/[^\/]+/);return n}return e}(ow(aw(r))),this._locationStrategy.onPopState(o=>{this._subject.emit({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,r=""){return this.path()==this.normalize(n+On(r))}normalize(n){return e.stripTrailingSlash(function fP(e,t){if(!e||!t.startsWith(e))return t;const n=t.substring(e.length);return""===n||["/",";","?","#"].includes(n[0])?n:t}(this._basePath,aw(n)))}prepareExternalUrl(n){return n&&"/"!==n[0]&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,r="",o=null){this._locationStrategy.pushState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+On(r)),o)}replaceState(n,r="",o=null){this._locationStrategy.replaceState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+On(r)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)})),()=>{const r=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(r,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",r){this._urlChangeListeners.forEach(o=>o(n,r))}subscribe(n,r,o){return this._subject.subscribe({next:n,error:r,complete:o})}static#e=this.normalizeQueryParams=On;static#t=this.joinWithSlash=Gf;static#n=this.stripTrailingSlash=ow;static#r=this.\u0275fac=function(r){return new(r||e)(O(Nr))};static#o=this.\u0275prov=T({token:e,factory:()=>function dP(){return new fs(O(Nr))}(),providedIn:"root"})}return e})();function aw(e){return e.replace(/\/index.html$/,"")}const uw={ADP:[void 0,void 0,0],AFN:[void 0,"\u060b",0],ALL:[void 0,void 0,0],AMD:[void 0,"\u058f",2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],AZN:[void 0,"\u20bc"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09f3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,void 0,2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xa5","\xa5"],COP:[void 0,"$",2],CRC:[void 0,"\u20a1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010d",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xa3"],ESP:[void 0,"\u20a7",0],EUR:["\u20ac"],FJD:[void 0,"$"],FKP:[void 0,"\xa3"],GBP:["\xa3"],GEL:[void 0,"\u20be"],GHS:[void 0,"GH\u20b5"],GIP:[void 0,"\xa3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20aa"],INR:["\u20b9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xa5",void 0,0],KHR:[void 0,"\u17db"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20a9",0],KRW:["\u20a9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20b8"],LAK:[void 0,"\u20ad",0],LBP:[void 0,"L\xa3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20ae",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20a6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:["\u20b1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20b2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20bd"],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xa3"],SLE:[void 0,void 0,2],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xa3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xa3",0],THB:[void 0,"\u0e3f"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20ba"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20b4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20ab",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["F\u202fCFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xa4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]};var xu=function(e){return e[e.Decimal=0]="Decimal",e[e.Percent=1]="Percent",e[e.Currency=2]="Currency",e[e.Scientific=3]="Scientific",e}(xu||{}),Ae=function(e){return e[e.Decimal=0]="Decimal",e[e.Group=1]="Group",e[e.List=2]="List",e[e.PercentSign=3]="PercentSign",e[e.PlusSign=4]="PlusSign",e[e.MinusSign=5]="MinusSign",e[e.Exponential=6]="Exponential",e[e.SuperscriptingExponent=7]="SuperscriptingExponent",e[e.PerMille=8]="PerMille",e[e.Infinity=9]="Infinity",e[e.NaN=10]="NaN",e[e.TimeSeparator=11]="TimeSeparator",e[e.CurrencyDecimal=12]="CurrencyDecimal",e[e.CurrencyGroup=13]="CurrencyGroup",e}(Ae||{});function Ft(e,t){const n=at(e),r=n[fe.NumberSymbols][t];if(typeof r>"u"){if(t===Ae.CurrencyDecimal)return n[fe.NumberSymbols][Ae.Decimal];if(t===Ae.CurrencyGroup)return n[fe.NumberSymbols][Ae.Group]}return r}function zf(e,t){return at(e)[fe.NumberFormats][t]}const UP=/^(\d+)?\.((\d+)(-(\d+))?)?$/,hw=22,ju=".",ps="0",$P=";",BP=",",Qf="#";function Yf(e,t,n,r,o,i,s=!1){let a="",u=!1;if(isFinite(e)){let l=function ZP(e){let r,o,i,s,a,t=Math.abs(e)+"",n=0;for((o=t.indexOf(ju))>-1&&(t=t.replace(ju,"")),(i=t.search(/e/i))>0?(o<0&&(o=i),o+=+t.slice(i+1),t=t.substring(0,i)):o<0&&(o=t.length),i=0;t.charAt(i)===ps;i++);if(i===(a=t.length))r=[0],o=1;else{for(a--;t.charAt(a)===ps;)a--;for(o-=i,r=[],s=0;i<=a;i++,s++)r[s]=Number(t.charAt(i))}return o>hw&&(r=r.splice(0,hw-1),n=o-1,o=1),{digits:r,exponent:n,integerLen:o}}(e);s&&(l=function WP(e){if(0===e.digits[0])return e;const t=e.digits.length-e.integerLen;return e.exponent?e.exponent+=2:(0===t?e.digits.push(0,0):1===t&&e.digits.push(0),e.integerLen+=2),e}(l));let c=t.minInt,d=t.minFrac,f=t.maxFrac;if(i){const v=i.match(UP);if(null===v)throw new Error(`${i} is not a valid digit info`);const A=v[1],L=v[3],H=v[5];null!=A&&(c=Jf(A)),null!=L&&(d=Jf(L)),null!=H?f=Jf(H):null!=L&&d>f&&(f=d)}!function QP(e,t,n){if(t>n)throw new Error(`The minimum number of digits after fraction (${t}) is higher than the maximum (${n}).`);let r=e.digits,o=r.length-e.integerLen;const i=Math.min(Math.max(t,o),n);let s=i+e.integerLen,a=r[s];if(s>0){r.splice(Math.max(e.integerLen,s));for(let d=s;d<r.length;d++)r[d]=0}else{o=Math.max(0,o),e.integerLen=1,r.length=Math.max(1,s=i+1),r[0]=0;for(let d=1;d<s;d++)r[d]=0}if(a>=5)if(s-1<0){for(let d=0;d>s;d--)r.unshift(0),e.integerLen++;r.unshift(1),e.integerLen++}else r[s-1]++;for(;o<Math.max(0,i);o++)r.push(0);let u=0!==i;const l=t+e.integerLen,c=r.reduceRight(function(d,f,h,p){return p[h]=(f+=d)<10?f:f-10,u&&(0===p[h]&&h>=l?p.pop():u=!1),f>=10?1:0},0);c&&(r.unshift(c),e.integerLen++)}(l,d,f);let h=l.digits,p=l.integerLen;const g=l.exponent;let y=[];for(u=h.every(v=>!v);p<c;p++)h.unshift(0);for(;p<0;p++)h.unshift(0);p>0?y=h.splice(p,h.length):(y=h,h=[0]);const D=[];for(h.length>=t.lgSize&&D.unshift(h.splice(-t.lgSize,h.length).join(""));h.length>t.gSize;)D.unshift(h.splice(-t.gSize,h.length).join(""));h.length&&D.unshift(h.join("")),a=D.join(Ft(n,r)),y.length&&(a+=Ft(n,o)+y.join("")),g&&(a+=Ft(n,Ae.Exponential)+"+"+g)}else a=Ft(n,Ae.Infinity);return a=e<0&&!u?t.negPre+a+t.negSuf:t.posPre+a+t.posSuf,a}function Kf(e,t="-"){const n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},r=e.split($P),o=r[0],i=r[1],s=-1!==o.indexOf(ju)?o.split(ju):[o.substring(0,o.lastIndexOf(ps)+1),o.substring(o.lastIndexOf(ps)+1)],a=s[0],u=s[1]||"";n.posPre=a.substring(0,a.indexOf(Qf));for(let c=0;c<u.length;c++){const d=u.charAt(c);d===ps?n.minFrac=n.maxFrac=c+1:d===Qf?n.maxFrac=c+1:n.posSuf+=d}const l=a.split(BP);if(n.gSize=l[1]?l[1].length:0,n.lgSize=l[2]||l[1]?(l[2]||l[1]).length:0,i){const c=o.length-n.posPre.length-n.posSuf.length,d=i.indexOf(Qf);n.negPre=i.substring(0,d).replace(/'/g,""),n.negSuf=i.slice(d+c).replace(/'/g,"")}else n.negPre=t+n.posPre,n.negSuf=n.posSuf;return n}function Jf(e){const t=parseInt(e);if(isNaN(t))throw new Error("Invalid integer literal when parsing "+e);return t}let _w=(()=>{class e{constructor(n,r){this._viewContainer=n,this._context=new nk,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=r}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){Dw("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){Dw("ngIfElse",n),this._elseTemplateRef=n,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(n,r){return!0}static#e=this.\u0275fac=function(r){return new(r||e)(C(Ht),C(An))};static#t=this.\u0275dir=P({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return e})();class nk{constructor(){this.$implicit=null,this.ngIf=null}}function Dw(e,t){if(t&&!t.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${Pe(t)}'.`)}function Wt(e,t){return new _(2100,!1)}let Ew=(()=>{class e{constructor(n){this._locale=n}transform(n,r,o){if(!rh(n))return null;o=o||this._locale;try{return function zP(e,t,n){return Yf(e,Kf(zf(t,xu.Percent),Ft(t,Ae.MinusSign)),t,Ae.Group,Ae.Decimal,n,!0).replace(new RegExp("%","g"),Ft(t,Ae.PercentSign))}(oh(n),o,r)}catch(i){throw Wt()}}static#e=this.\u0275fac=function(r){return new(r||e)(C(Rn,16))};static#t=this.\u0275pipe=pt({name:"percent",type:e,pure:!0,standalone:!0})}return e})(),bw=(()=>{class e{constructor(n,r="USD"){this._locale=n,this._defaultCurrencyCode=r}transform(n,r=this._defaultCurrencyCode,o="symbol",i,s){if(!rh(n))return null;s=s||this._locale,"boolean"==typeof o&&(o=o?"symbol":"code");let a=r||this._defaultCurrencyCode;"code"!==o&&(a="symbol"===o||"symbol-narrow"===o?function bP(e,t,n="en"){const r=function DP(e){return at(e)[fe.Currencies]}(n)[e]||uw[e]||[],o=r[1];return"narrow"===t&&"string"==typeof o?o:r[0]||e}(a,"symbol"===o?"wide":"narrow",s):o);try{return function GP(e,t,n,r,o){const s=Kf(zf(t,xu.Currency),Ft(t,Ae.MinusSign));return s.minFrac=function MP(e){let t;const n=uw[e];return n&&(t=n[2]),"number"==typeof t?t:2}(r),s.maxFrac=s.minFrac,Yf(e,s,t,Ae.CurrencyGroup,Ae.CurrencyDecimal,o).replace("\xa4",n).replace("\xa4","").trim()}(oh(n),s,a,r,i)}catch(u){throw Wt()}}static#e=this.\u0275fac=function(r){return new(r||e)(C(Rn,16),C(CF,16))};static#t=this.\u0275pipe=pt({name:"currency",type:e,pure:!0,standalone:!0})}return e})();function rh(e){return!(null==e||""===e||e!=e)}function oh(e){if("string"==typeof e&&!isNaN(Number(e)-parseFloat(e)))return Number(e);if("number"!=typeof e)throw new Error(`${e} is not a number`);return e}let Mk=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Jt({type:e});static#n=this.\u0275inj=Lt({})}return e})();const Iw="browser";function Mw(e){return"server"===e}let Nk=(()=>{class e{static#e=this.\u0275prov=T({token:e,providedIn:"root",factory:()=>function xk(e){return e===Iw}(E(Dr))?new Rk(E(Mt),window):new Fk})}return e})();class Rk{constructor(t,n){this.document=t,this.window=n,this.offset=()=>[0,0]}setOffset(t){this.offset=Array.isArray(t)?()=>t:t}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(t){this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){const n=function Ok(e,t){const n=e.getElementById(t)||e.getElementsByName(t)[0];if(n)return n;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(t)||i.querySelector(`[name="${t}"]`);if(s)return s}o=r.nextNode()}}return null}(this.document,t);n&&(this.scrollToElement(n),n.focus())}setHistoryScrollRestoration(t){this.window.history.scrollRestoration=t}scrollToElement(t){const n=t.getBoundingClientRect(),r=n.left+this.window.pageXOffset,o=n.top+this.window.pageYOffset,i=this.offset();this.window.scrollTo(r-i[0],o-i[1])}}class Fk{setOffset(t){}getScrollPosition(){return[0,0]}scrollToPosition(t){}scrollToAnchor(t){}setHistoryScrollRestoration(t){}}class oL extends aP{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class ah extends oL{static makeCurrent(){!function sP(e){Bf||(Bf=e)}(new ah)}onAndCancel(t,n,r){return t.addEventListener(n,r),()=>{t.removeEventListener(n,r)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,n){return(n=n||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,n){return"window"===n?window:"document"===n?t:"body"===n?t.body:null}getBaseHref(t){const n=function iL(){return ms=ms||document.querySelector("base"),ms?ms.getAttribute("href"):null}();return null==n?null:function sL(e){return new URL(e,document.baseURI).pathname}(n)}resetBaseElement(){ms=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return function KP(e,t){t=encodeURIComponent(t);for(const n of e.split(";")){const r=n.indexOf("="),[o,i]=-1==r?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}(document.cookie,t)}}let ms=null,uL=(()=>{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 uh=new S("EventManagerPlugins");let xw=(()=>{class e{constructor(n,r){this._zone=r,this._eventNameToPlugin=new Map,n.forEach(o=>{o.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,r,o){return this._findPluginFor(r).addEventListener(n,r,o)}getZone(){return this._zone}_findPluginFor(n){let r=this._eventNameToPlugin.get(n);if(r)return r;if(r=this._plugins.find(i=>i.supports(n)),!r)throw new _(5101,!1);return this._eventNameToPlugin.set(n,r),r}static#e=this.\u0275fac=function(r){return new(r||e)(O(uh),O(te))};static#t=this.\u0275prov=T({token:e,factory:e.\u0275fac})}return e})();class Nw{constructor(t){this._doc=t}}const lh="ng-app-id";let Rw=(()=>{class e{constructor(n,r,o,i={}){this.doc=n,this.appId=r,this.nonce=o,this.platformId=i,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=Mw(i),this.resetHostNodes()}addStyles(n){for(const r of n)1===this.changeUsageCount(r,1)&&this.onStyleAdded(r)}removeStyles(n){for(const r of n)this.changeUsageCount(r,-1)<=0&&this.onStyleRemoved(r)}ngOnDestroy(){const n=this.styleNodesInDOM;n&&(n.forEach(r=>r.remove()),n.clear());for(const r of this.getAllStyles())this.onStyleRemoved(r);this.resetHostNodes()}addHost(n){this.hostNodes.add(n);for(const r of this.getAllStyles())this.addStyleToHost(n,r)}removeHost(n){this.hostNodes.delete(n)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(n){for(const r of this.hostNodes)this.addStyleToHost(r,n)}onStyleRemoved(n){const r=this.styleRef;r.get(n)?.elements?.forEach(o=>o.remove()),r.delete(n)}collectServerRenderedStyles(){const n=this.doc.head?.querySelectorAll(`style[${lh}="${this.appId}"]`);if(n?.length){const r=new Map;return n.forEach(o=>{null!=o.textContent&&r.set(o.textContent,o)}),r}return null}changeUsageCount(n,r){const o=this.styleRef;if(o.has(n)){const i=o.get(n);return i.usage+=r,i.usage}return o.set(n,{usage:r,elements:[]}),r}getStyleElement(n,r){const o=this.styleNodesInDOM,i=o?.get(r);if(i?.parentNode===n)return o.delete(r),i.removeAttribute(lh),i;{const s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=r,this.platformIsServer&&s.setAttribute(lh,this.appId),n.appendChild(s),s}}addStyleToHost(n,r){const o=this.getStyleElement(n,r),i=this.styleRef,s=i.get(r)?.elements;s?s.push(o):i.set(r,{elements:[o],usage:1})}resetHostNodes(){const n=this.hostNodes;n.clear(),n.add(this.doc.head)}static#e=this.\u0275fac=function(r){return new(r||e)(O(Mt),O(Da),O(pm,8),O(Dr))};static#t=this.\u0275prov=T({token:e,factory:e.\u0275fac})}return e})();const ch={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/"},dh=/%COMP%/g,fL=new S("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!0});function Fw(e,t){return t.map(n=>n.replace(dh,e))}let Pw=(()=>{class e{constructor(n,r,o,i,s,a,u,l=null){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=i,this.doc=s,this.platformId=a,this.ngZone=u,this.nonce=l,this.rendererByCompId=new Map,this.platformIsServer=Mw(a),this.defaultRenderer=new fh(n,s,u,this.platformIsServer)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===Vt.ShadowDom&&(r={...r,encapsulation:Vt.Emulated});const o=this.getOrCreateRenderer(n,r);return o instanceof Lw?o.applyToHost(n):o instanceof hh&&o.applyStyles(),o}getOrCreateRenderer(n,r){const o=this.rendererByCompId;let i=o.get(r.id);if(!i){const s=this.doc,a=this.ngZone,u=this.eventManager,l=this.sharedStylesHost,c=this.removeStylesOnCompDestroy,d=this.platformIsServer;switch(r.encapsulation){case Vt.Emulated:i=new Lw(u,l,r,this.appId,c,s,a,d);break;case Vt.ShadowDom:return new mL(u,l,n,r,s,a,this.nonce,d);default:i=new hh(u,l,r,c,s,a,d)}o.set(r.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(r){return new(r||e)(O(xw),O(Rw),O(Da),O(fL),O(Mt),O(Dr),O(te),O(pm))};static#t=this.\u0275prov=T({token:e,factory:e.\u0275fac})}return e})();class fh{constructor(t,n,r,o){this.eventManager=t,this.doc=n,this.ngZone=r,this.platformIsServer=o,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(t,n){return n?this.doc.createElementNS(ch[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(kw(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(kw(t)?t.content:t).insertBefore(n,r)}removeChild(t,n){t&&t.removeChild(n)}selectRootElement(t,n){let r="string"==typeof t?this.doc.querySelector(t):t;if(!r)throw new _(-5104,!1);return n||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,r,o){if(o){n=o+":"+n;const i=ch[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){const o=ch[r];o?t.removeAttributeNS(o,n):t.removeAttribute(`${r}:${n}`)}else t.removeAttribute(n)}addClass(t,n){t.classList.add(n)}removeClass(t,n){t.classList.remove(n)}setStyle(t,n,r,o){o&(Zn.DashCase|Zn.Important)?t.style.setProperty(n,r,o&Zn.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&Zn.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,r){null!=t&&(t[n]=r)}setValue(t,n){t.nodeValue=n}listen(t,n,r){if("string"==typeof t&&!(t=er().getGlobalEventTarget(this.doc,t)))throw new Error(`Unsupported event target ${t} for event ${n}`);return this.eventManager.addEventListener(t,n,this.decoratePreventDefault(r))}decoratePreventDefault(t){return n=>{if("__ngUnwrap__"===n)return t;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>t(n)):t(n))&&n.preventDefault()}}}function kw(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class mL extends fh{constructor(t,n,r,o,i,s,a,u){super(t,i,s,u),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const l=Fw(o.id,o.styles);for(const c of l){const d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=c,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,n){return super.appendChild(this.nodeOrShadowRoot(t),n)}insertBefore(t,n,r){return super.insertBefore(this.nodeOrShadowRoot(t),n,r)}removeChild(t,n){return super.removeChild(this.nodeOrShadowRoot(t),n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class hh extends fh{constructor(t,n,r,o,i,s,a,u){super(t,i,s,a),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=o,this.styles=u?Fw(u,r.styles):r.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class Lw extends hh{constructor(t,n,r,o,i,s,a,u){const l=o+"-"+r.id;super(t,n,r,i,s,a,u,l),this.contentAttr=function hL(e){return"_ngcontent-%COMP%".replace(dh,e)}(l),this.hostAttr=function pL(e){return"_nghost-%COMP%".replace(dh,e)}(l)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,n){const r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,""),r}}let vL=(()=>{class e extends Nw{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,o){return n.addEventListener(r,o,!1),()=>this.removeEventListener(n,r,o)}removeEventListener(n,r,o){return n.removeEventListener(r,o)}static#e=this.\u0275fac=function(r){return new(r||e)(O(Mt))};static#t=this.\u0275prov=T({token:e,factory:e.\u0275fac})}return e})();const Vw=["alt","control","meta","shift"],yL={"\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"},_L={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let DL=(()=>{class e extends Nw{constructor(n){super(n)}supports(n){return null!=e.parseEventName(n)}addEventListener(n,r,o){const i=e.parseEventName(r),s=e.eventCallback(i.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>er().onAndCancel(n,i.domEventName,s))}static parseEventName(n){const r=n.toLowerCase().split("."),o=r.shift();if(0===r.length||"keydown"!==o&&"keyup"!==o)return null;const i=e._normalizeKey(r.pop());let s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),Vw.forEach(l=>{const c=r.indexOf(l);c>-1&&(r.splice(c,1),s+=l+".")}),s+=i,0!=r.length||0===i.length)return null;const u={};return u.domEventName=o,u.fullKey=s,u}static matchEventFullKeyCode(n,r){let o=yL[n.key]||n.key,i="";return r.indexOf("code.")>-1&&(o=n.code,i="code."),!(null==o||!o)&&(o=o.toLowerCase()," "===o?o="space":"."===o&&(o="dot"),Vw.forEach(s=>{s!==o&&(0,_L[s])(n)&&(i+=s+".")}),i+=o,i===r)}static eventCallback(n,r,o){return i=>{e.matchEventFullKeyCode(i,n)&&o.runGuarded(()=>r(i))}}static _normalizeKey(n){return"esc"===n?"escape":n}static#e=this.\u0275fac=function(r){return new(r||e)(O(Mt))};static#t=this.\u0275prov=T({token:e,factory:e.\u0275fac})}return e})();const bL=RC(xF,"browser",[{provide:Dr,useValue:Iw},{provide:hm,useValue:function CL(){ah.makeCurrent()},multi:!0},{provide:Mt,useFactory:function EL(){return function r0(e){Oc=e}(document),document},deps:[]}]),IL=new S(""),$w=[{provide:Du,useClass:class aL{addToWindow(t){le.getAngularTestability=(r,o=!0)=>{const i=t.findTestabilityInTree(r,o);if(null==i)throw new _(5103,!1);return i},le.getAllAngularTestabilities=()=>t.getAllTestabilities(),le.getAllAngularRootElements=()=>t.getAllRootElements(),le.frameworkStabilizers||(le.frameworkStabilizers=[]),le.frameworkStabilizers.push(r=>{const o=le.getAllAngularTestabilities();let i=o.length;const s=function(){i--,0==i&&r()};o.forEach(a=>{a.whenStable(s)})})}findTestabilityInTree(t,n,r){return null==n?null:t.getTestability(n)??(r?er().isShadowRoot(n)?this.findTestabilityInTree(t,n.host,!0):this.findTestabilityInTree(t,n.parentElement,!0):null)}},deps:[]},{provide:EC,useClass:Tf,deps:[te,Af,Du]},{provide:Tf,useClass:Tf,deps:[te,Af,Du]}],Bw=[{provide:Sc,useValue:"root"},{provide:Sn,useFactory:function wL(){return new Sn},deps:[]},{provide:uh,useClass:vL,multi:!0,deps:[Mt,te,Dr]},{provide:uh,useClass:DL,multi:!0,deps:[Mt]},Pw,Rw,xw,{provide:fv,useExisting:Pw},{provide:class Pk{},useClass:uL,deps:[]},[]];let ML=(()=>{class e{constructor(n){}static withServerTransition(n){return{ngModule:e,providers:[{provide:Da,useValue:n.appId}]}}static#e=this.\u0275fac=function(r){return new(r||e)(O(IL,12))};static#t=this.\u0275mod=Jt({type:e});static#n=this.\u0275inj=Lt({providers:[...Bw,...$w],imports:[Mk,NF]})}return e})(),Hw=(()=>{class e{constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}static#e=this.\u0275fac=function(r){return new(r||e)(O(Mt))};static#t=this.\u0275prov=T({token:e,factory:function(r){let o=null;return o=r?new r:function TL(){return new Hw(O(Mt))}(),o},providedIn:"root"})}return e})();function nr(e){return this instanceof nr?(this.v=e,this):new nr(e)}function Yw(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,t=e[Symbol.asyncIterator];return t?t.call(e):(e=function yh(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,u){!function o(i,s,a,u){Promise.resolve(u).then(function(l){i({value:l,done:a})},s)}(a,u,(s=e[i](s)).done,s.value)})}}}typeof window<"u"&&window,"function"==typeof SuppressedError&&SuppressedError;const Kw=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function Jw(e){return me(e?.then)}function Xw(e){return me(e[Rl])}function eE(e){return Symbol.asyncIterator&&me(e?.[Symbol.asyncIterator])}function tE(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 nE=function tV(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function rE(e){return me(e?.[nE])}function oE(e){return function Qw(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o,r=n.apply(e,t||[]),i=[];return o={},s("next"),s("throw"),s("return"),o[Symbol.asyncIterator]=function(){return this},o;function s(f){r[f]&&(o[f]=function(h){return new Promise(function(p,g){i.push([f,h,p,g])>1||a(f,h)})})}function a(f,h){try{!function u(f){f.value instanceof nr?Promise.resolve(f.value.v).then(l,c):d(i[0][2],f)}(r[f](h))}catch(p){d(i[0][3],p)}}function l(f){a("next",f)}function c(f){a("throw",f)}function d(f,h){f(h),i.shift(),i.length&&a(i[0][0],i[0][1])}}(this,arguments,function*(){const n=e.getReader();try{for(;;){const{value:r,done:o}=yield nr(n.read());if(o)return yield nr(void 0);yield yield nr(r)}}finally{n.releaseLock()}})}function iE(e){return me(e?.getReader)}function hn(e){if(e instanceof $e)return e;if(null!=e){if(Xw(e))return function nV(e){return new $e(t=>{const n=e[Rl]();if(me(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(Kw(e))return function rV(e){return new $e(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}(e);if(Jw(e))return function oV(e){return new $e(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Op)})}(e);if(eE(e))return sE(e);if(rE(e))return function iV(e){return new $e(t=>{for(const n of e)if(t.next(n),t.closed)return;t.complete()})}(e);if(iE(e))return function sV(e){return sE(oE(e))}(e)}throw tE(e)}function sE(e){return new $e(t=>{(function aV(e,t){var n,r,o,i;return function Ww(e,t,n,r){return new(n||(n=Promise))(function(i,s){function a(c){try{l(r.next(c))}catch(d){s(d)}}function u(c){try{l(r.throw(c))}catch(d){s(d)}}function l(c){c.done?i(c.value):function o(i){return i instanceof n?i:new n(function(s){s(i)})}(c.value).then(a,u)}l((r=r.apply(e,t||[])).next())})}(this,void 0,void 0,function*(){try{for(n=Yw(e);!(r=yield n.next()).done;)if(t.next(r.value),t.closed)return}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})})(e,t).catch(n=>t.error(n))})}function kn(e,t,n,r=0,o=!1){const i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function aE(e,t=0){return ze((n,r)=>{n.subscribe(Fe(r,o=>kn(r,e,()=>r.next(o),t),()=>kn(r,e,()=>r.complete(),t),o=>kn(r,e,()=>r.error(o),t)))})}function uE(e,t=0){return ze((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function lE(e,t){if(!e)throw new Error("Iterable cannot be null");return new $e(n=>{kn(n,t,()=>{const r=e[Symbol.asyncIterator]();kn(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function Ge(e,t){return t?function hV(e,t){if(null!=e){if(Xw(e))return function uV(e,t){return hn(e).pipe(uE(t),aE(t))}(e,t);if(Kw(e))return function cV(e,t){return new $e(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}(e,t);if(Jw(e))return function lV(e,t){return hn(e).pipe(uE(t),aE(t))}(e,t);if(eE(e))return lE(e,t);if(rE(e))return function dV(e,t){return new $e(n=>{let r;return kn(n,t,()=>{r=e[nE](),kn(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){return void n.error(s)}i?n.complete():n.next(o)},0,!0)}),()=>me(r?.return)&&r.return()})}(e,t);if(iE(e))return function fV(e,t){return lE(oE(e),t)}(e,t)}throw tE(e)}(e,t):hn(e)}function _h(e){return e[e.length-1]}function cE(e){return me(_h(e))?e.pop():void 0}function Bu(e){return function pV(e){return e&&me(e.schedule)}(_h(e))?e.pop():void 0}function k(...e){return Ge(e,Bu(e))}const{isArray:gV}=Array,{getPrototypeOf:mV,prototype:vV,keys:yV}=Object;function dE(e){if(1===e.length){const t=e[0];if(gV(t))return{args:t,keys:null};if(function _V(e){return e&&"object"==typeof e&&mV(e)===vV}(t)){const n=yV(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}const{isArray:DV}=Array;function fE(e){return ne(t=>function CV(e,t){return DV(t)?e(...t):e(t)}(e,t))}function hE(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function Dh(...e){const t=Bu(e),n=cE(e),{args:r,keys:o}=dE(e);if(0===r.length)return Ge([],t);const i=new $e(function wV(e,t,n=cr){return r=>{pE(t,()=>{const{length:o}=e,i=new Array(o);let s=o,a=o;for(let u=0;u<o;u++)pE(t,()=>{const l=Ge(e[u],t);let c=!1;l.subscribe(Fe(r,d=>{i[u]=d,c||(c=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}(r,t,o?s=>hE(o,s):cr));return n?i.pipe(fE(n)):i}function pE(e,t,n){e?kn(n,e,t):t()}const Hu=El(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function Xe(e,t,n=1/0){return me(t)?Xe((r,o)=>ne((i,s)=>t(r,i,o,s))(hn(e(r,o))),n):("number"==typeof t&&(n=t),ze((r,o)=>function EV(e,t,n,r,o,i,s,a){const u=[];let l=0,c=0,d=!1;const f=()=>{d&&!u.length&&!l&&t.complete()},h=g=>l<r?p(g):u.push(g),p=g=>{i&&t.next(g),l++;let y=!1;hn(n(g,c++)).subscribe(Fe(t,D=>{o?.(D),i?h(D):t.next(D)},()=>{y=!0},void 0,()=>{if(y)try{for(l--;u.length&&l<r;){const D=u.shift();s?kn(t,s,()=>p(D)):p(D)}f()}catch(D){t.error(D)}}))};return e.subscribe(Fe(t,h,()=>{d=!0,f()})),()=>{a?.()}}(r,o,e,n)))}function ys(e=1/0){return Xe(cr,e)}function Ch(...e){return function bV(){return ys(1)}()(Ge(e,Bu(e)))}function gE(e){return new $e(t=>{hn(e()).subscribe(t)})}function Gu(e,t){const n=me(e)?e:()=>e,r=o=>o.error(n());return new $e(t?o=>t.schedule(r,0,o):r)}const Ln=new $e(e=>e.complete());function wh(){return ze((e,t)=>{let n=null;e._refCount++;const r=Fe(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount)return void(n=null);const o=e._connection,i=n;n=null,o&&(!i||o===i)&&o.unsubscribe(),t.unsubscribe()});e.subscribe(r),r.closed||(n=e.connect())})}class mE extends $e{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,Lp(t)&&(this.lift=t.lift)}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){const t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:t}=this;this._subject=this._connection=null,t?.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new dt;const n=this.getSubject();t.add(this.source.subscribe(Fe(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=dt.EMPTY)}return t}refCount(){return wh()(this)}}function pn(e,t){return ze((n,r)=>{let o=null,i=0,s=!1;const a=()=>s&&!o&&r.complete();n.subscribe(Fe(r,u=>{o?.unsubscribe();let l=0;const c=i++;hn(e(u,c)).subscribe(o=Fe(r,d=>r.next(t?t(u,d,c,l++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function Ho(e){return e<=0?()=>Ln:ze((t,n)=>{let r=0;t.subscribe(Fe(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function rr(e,t){return ze((n,r)=>{let o=0;n.subscribe(Fe(r,i=>e.call(t,i,o++)&&r.next(i)))})}function zu(e){return ze((t,n)=>{let r=!1;t.subscribe(Fe(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function vE(e=SV){return ze((t,n)=>{let r=!1;t.subscribe(Fe(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function SV(){return new Hu}function Rr(e,t){const n=arguments.length>=2;return r=>r.pipe(e?rr((o,i)=>e(o,i,r)):cr,Ho(1),n?zu(t):vE(()=>new Hu))}function _s(e,t){return me(t)?Xe(e,t,1):Xe(e,1)}function et(e,t,n){const r=me(e)||t||n?{next:e,error:t,complete:n}:e;return r?ze((o,i)=>{var s;null===(s=r.subscribe)||void 0===s||s.call(r);let a=!0;o.subscribe(Fe(i,u=>{var l;null===(l=r.next)||void 0===l||l.call(r,u),i.next(u)},()=>{var u;a=!1,null===(u=r.complete)||void 0===u||u.call(r),i.complete()},u=>{var l;a=!1,null===(l=r.error)||void 0===l||l.call(r,u),i.error(u)},()=>{var u,l;a&&(null===(u=r.unsubscribe)||void 0===u||u.call(r)),null===(l=r.finalize)||void 0===l||l.call(r)}))}):cr}function Go(e){return ze((t,n)=>{let i,r=null,o=!1;r=t.subscribe(Fe(n,void 0,void 0,s=>{i=hn(e(s,Go(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function Eh(e){return e<=0?()=>Ln:ze((t,n)=>{let r=[];t.subscribe(Fe(n,o=>{r.push(o),e<r.length&&r.shift()},()=>{for(const o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function bh(e){return ze((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}const G="primary",Ds=Symbol("RouteTitle");class OV{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){const n=this.params[t];return Array.isArray(n)?n[0]:n}return null}getAll(t){if(this.has(t)){const n=this.params[t];return Array.isArray(n)?n:[n]}return[]}get keys(){return Object.keys(this.params)}}function zo(e){return new OV(e)}function FV(e,t,n){const r=n.path.split("/");if(r.length>e.length||"full"===n.pathMatch&&(t.hasChildren()||r.length<e.length))return null;const o={};for(let i=0;i<r.length;i++){const s=r[i],a=e[i];if(s.startsWith(":"))o[s.substring(1)]=a;else if(s!==a.path)return null}return{consumed:e.slice(0,r.length),posParams:o}}function gn(e,t){const n=e?Ih(e):void 0,r=t?Ih(t):void 0;if(!n||!r||n.length!=r.length)return!1;let o;for(let i=0;i<n.length;i++)if(o=n[i],!yE(e[o],t[o]))return!1;return!0}function Ih(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e)]}function yE(e,t){if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return!1;const n=[...e].sort(),r=[...t].sort();return n.every((o,i)=>r[i]===o)}return e===t}function _E(e){return e.length>0?e[e.length-1]:null}function or(e){return function OL(e){return!!e&&(e instanceof $e||me(e.lift)&&me(e.subscribe))}(e)?e:os(e)?Ge(Promise.resolve(e)):k(e)}const kV={exact:function wE(e,t,n){if(!Or(e.segments,t.segments)||!qu(e.segments,t.segments,n)||e.numberOfChildren!==t.numberOfChildren)return!1;for(const r in t.children)if(!e.children[r]||!wE(e.children[r],t.children[r],n))return!1;return!0},subset:EE},DE={exact:function LV(e,t){return gn(e,t)},subset:function VV(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(n=>yE(e[n],t[n]))},ignored:()=>!0};function CE(e,t,n){return kV[n.paths](e.root,t.root,n.matrixParams)&&DE[n.queryParams](e.queryParams,t.queryParams)&&!("exact"===n.fragment&&e.fragment!==t.fragment)}function EE(e,t,n){return bE(e,t,t.segments,n)}function bE(e,t,n,r){if(e.segments.length>n.length){const o=e.segments.slice(0,n.length);return!(!Or(o,n)||t.hasChildren()||!qu(o,n,r))}if(e.segments.length===n.length){if(!Or(e.segments,n)||!qu(e.segments,n,r))return!1;for(const o in t.children)if(!e.children[o]||!EE(e.children[o],t.children[o],r))return!1;return!0}{const o=n.slice(0,e.segments.length),i=n.slice(e.segments.length);return!!(Or(e.segments,o)&&qu(e.segments,o,r)&&e.children[G])&&bE(e.children[G],t,i,r)}}function qu(e,t,n){return t.every((r,o)=>DE[n](e[o].parameters,r.parameters))}class qo{constructor(t=new se([],{}),n={},r=null){this.root=t,this.queryParams=n,this.fragment=r}get queryParamMap(){return this._queryParamMap??=zo(this.queryParams),this._queryParamMap}toString(){return $V.serialize(this)}}class se{constructor(t,n){this.segments=t,this.children=n,this.parent=null,Object.values(n).forEach(r=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Wu(this)}}class Cs{constructor(t,n){this.path=t,this.parameters=n}get parameterMap(){return this._parameterMap??=zo(this.parameters),this._parameterMap}toString(){return SE(this)}}function Or(e,t){return e.length===t.length&&e.every((n,r)=>n.path===t[r].path)}let Wo=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=T({token:e,factory:()=>new Mh,providedIn:"root"})}return e})();class Mh{parse(t){const n=new JV(t);return new qo(n.parseRootSegment(),n.parseQueryParams(),n.parseFragment())}serialize(t){const n=`/${ws(t.root,!0)}`,r=function GV(e){const t=Object.entries(e).map(([n,r])=>Array.isArray(r)?r.map(o=>`${Zu(n)}=${Zu(o)}`).join("&"):`${Zu(n)}=${Zu(r)}`).filter(n=>n);return t.length?`?${t.join("&")}`:""}(t.queryParams);return`${n}${r}${"string"==typeof t.fragment?`#${function BV(e){return encodeURI(e)}(t.fragment)}`:""}`}}const $V=new Mh;function Wu(e){return e.segments.map(t=>SE(t)).join("/")}function ws(e,t){if(!e.hasChildren())return Wu(e);if(t){const n=e.children[G]?ws(e.children[G],!1):"",r=[];return Object.entries(e.children).forEach(([o,i])=>{o!==G&&r.push(`${o}:${ws(i,!1)}`)}),r.length>0?`${n}(${r.join("//")})`:n}{const n=function UV(e,t){let n=[];return Object.entries(e.children).forEach(([r,o])=>{r===G&&(n=n.concat(t(o,r)))}),Object.entries(e.children).forEach(([r,o])=>{r!==G&&(n=n.concat(t(o,r)))}),n}(e,(r,o)=>o===G?[ws(e.children[G],!1)]:[`${o}:${ws(r,!1)}`]);return 1===Object.keys(e.children).length&&null!=e.children[G]?`${Wu(e)}/${n[0]}`:`${Wu(e)}/(${n.join("//")})`}}function IE(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Zu(e){return IE(e).replace(/%3B/gi,";")}function Sh(e){return IE(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Qu(e){return decodeURIComponent(e)}function ME(e){return Qu(e.replace(/\+/g,"%20"))}function SE(e){return`${Sh(e.path)}${function HV(e){return Object.entries(e).map(([t,n])=>`;${Sh(t)}=${Sh(n)}`).join("")}(e.parameters)}`}const zV=/^[^\/()?;#]+/;function Th(e){const t=e.match(zV);return t?t[0]:""}const qV=/^[^\/()?;=#]+/,ZV=/^[^=?&#]+/,YV=/^[^&#]+/;class JV{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new se([],{}):new se([],this.parseChildren())}parseQueryParams(){const t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let n={};this.peekStartsWith("/(")&&(this.capture("/"),n=this.parseParens(!0));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1)),(t.length>0||Object.keys(n).length>0)&&(r[G]=new se(t,n)),r}parseSegment(){const t=Th(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new _(4009,!1);return this.capture(t),new Cs(Qu(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const n=function WV(e){const t=e.match(qV);return t?t[0]:""}(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){const o=Th(this.remaining);o&&(r=o,this.capture(r))}t[Qu(n)]=Qu(r)}parseQueryParam(t){const n=function QV(e){const t=e.match(ZV);return t?t[0]:""}(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){const s=function KV(e){const t=e.match(YV);return t?t[0]:""}(this.remaining);s&&(r=s,this.capture(r))}const o=ME(n),i=ME(r);if(t.hasOwnProperty(o)){let s=t[o];Array.isArray(s)||(s=[s],t[o]=s),s.push(i)}else t[o]=i}parseParens(t){const n={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const r=Th(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(":")):t&&(i=G);const s=this.parseChildren();n[i]=1===Object.keys(s).length?s[G]:new se([],s),this.consumeOptional("//")}return n}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)}capture(t){if(!this.consumeOptional(t))throw new _(4011,!1)}}function TE(e){return e.segments.length>0?new se([],{[G]:e}):e}function AE(e){const t={};for(const[r,o]of Object.entries(e.children)){const i=AE(o);if(r===G&&0===i.segments.length&&i.hasChildren())for(const[s,a]of Object.entries(i.children))t[s]=a;else(i.segments.length>0||i.hasChildren())&&(t[r]=i)}return function XV(e){if(1===e.numberOfChildren&&e.children[G]){const t=e.children[G];return new se(e.segments.concat(t.segments),t.children)}return e}(new se(e.segments,t))}function Fr(e){return e instanceof qo}function xE(e){let t;const o=TE(function n(i){const s={};for(const u of i.children){const l=n(u);s[u.outlet]=l}const a=new se(i.url,s);return i===e&&(t=a),a}(e.root));return t??o}function NE(e,t,n,r){let o=e;for(;o.parent;)o=o.parent;if(0===t.length)return Ah(o,o,o,n,r);const i=function t2(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new OE(!0,0,e);let t=0,n=!1;const r=e.reduce((o,i,s)=>{if("object"==typeof i&&null!=i){if(i.outlets){const a={};return Object.entries(i.outlets).forEach(([u,l])=>{a[u]="string"==typeof l?l.split("/"):l}),[...o,{outlets:a}]}if(i.segmentPath)return[...o,i.segmentPath]}return"string"!=typeof i?[...o,i]:0===s?(i.split("/").forEach((a,u)=>{0==u&&"."===a||(0==u&&""===a?n=!0:".."===a?t++:""!=a&&o.push(a))}),o):[...o,i]},[]);return new OE(n,t,r)}(t);if(i.toRoot())return Ah(o,o,new se([],{}),n,r);const s=function n2(e,t,n){if(e.isAbsolute)return new Ku(t,!0,0);if(!n)return new Ku(t,!1,NaN);if(null===n.parent)return new Ku(n,!0,0);const r=Yu(e.commands[0])?0:1;return function r2(e,t,n){let r=e,o=t,i=n;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)}(n,n.segments.length-1+r,e.numberOfDoubleDots)}(i,o,e),a=s.processChildren?bs(s.segmentGroup,s.index,i.commands):FE(s.segmentGroup,s.index,i.commands);return Ah(o,s.segmentGroup,a,n,r)}function Yu(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function Es(e){return"object"==typeof e&&null!=e&&e.outlets}function Ah(e,t,n,r,o){let s,i={};r&&Object.entries(r).forEach(([u,l])=>{i[u]=Array.isArray(l)?l.map(c=>`${c}`):`${l}`}),s=e===t?n:RE(e,t,n);const a=TE(AE(s));return new qo(a,i,o)}function RE(e,t,n){const r={};return Object.entries(e.children).forEach(([o,i])=>{r[o]=i===t?n:RE(i,t,n)}),new se(e.segments,r)}class OE{constructor(t,n,r){if(this.isAbsolute=t,this.numberOfDoubleDots=n,this.commands=r,t&&r.length>0&&Yu(r[0]))throw new _(4003,!1);const o=r.find(Es);if(o&&o!==_E(r))throw new _(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Ku{constructor(t,n,r){this.segmentGroup=t,this.processChildren=n,this.index=r}}function FE(e,t,n){if(e??=new se([],{}),0===e.segments.length&&e.hasChildren())return bs(e,t,n);const r=function i2(e,t,n){let r=0,o=t;const i={match:!1,pathIndex:0,commandIndex:0};for(;o<e.segments.length;){if(r>=n.length)return i;const s=e.segments[o],a=n[r];if(Es(a))break;const u=`${a}`,l=r<n.length-1?n[r+1]:null;if(o>0&&void 0===u)break;if(u&&l&&"object"==typeof l&&void 0===l.outlets){if(!kE(u,l,s))return i;r+=2}else{if(!kE(u,{},s))return i;r++}o++}return{match:!0,pathIndex:o,commandIndex:r}}(e,t,n),o=n.slice(r.commandIndex);if(r.match&&r.pathIndex<e.segments.length){const i=new se(e.segments.slice(0,r.pathIndex),{});return i.children[G]=new se(e.segments.slice(r.pathIndex),e.children),bs(i,0,o)}return r.match&&0===o.length?new se(e.segments,{}):r.match&&!e.hasChildren()?xh(e,t,n):r.match?bs(e,0,o):xh(e,t,n)}function bs(e,t,n){if(0===n.length)return new se(e.segments,{});{const r=function o2(e){return Es(e[0])?e[0].outlets:{[G]:e}}(n),o={};if(Object.keys(r).some(i=>i!==G)&&e.children[G]&&1===e.numberOfChildren&&0===e.children[G].segments.length){const i=bs(e.children[G],t,n);return new se(e.segments,i.children)}return Object.entries(r).forEach(([i,s])=>{"string"==typeof s&&(s=[s]),null!==s&&(o[i]=FE(e.children[i],t,s))}),Object.entries(e.children).forEach(([i,s])=>{void 0===r[i]&&(o[i]=s)}),new se(e.segments,o)}}function xh(e,t,n){const r=e.segments.slice(0,t);let o=0;for(;o<n.length;){const i=n[o];if(Es(i)){const u=s2(i.outlets);return new se(r,u)}if(0===o&&Yu(n[0])){r.push(new Cs(e.segments[t].path,PE(n[0]))),o++;continue}const s=Es(i)?i.outlets[G]:`${i}`,a=o<n.length-1?n[o+1]:null;s&&a&&Yu(a)?(r.push(new Cs(s,PE(a))),o+=2):(r.push(new Cs(s,{})),o++)}return new se(r,{})}function s2(e){const t={};return Object.entries(e).forEach(([n,r])=>{"string"==typeof r&&(r=[r]),null!==r&&(t[n]=xh(new se([],{}),0,r))}),t}function PE(e){const t={};return Object.entries(e).forEach(([n,r])=>t[n]=`${r}`),t}function kE(e,t,n){return e==n.path&&gn(t,n.parameters)}const Is="imperative";var Z=function(e){return e[e.NavigationStart=0]="NavigationStart",e[e.NavigationEnd=1]="NavigationEnd",e[e.NavigationCancel=2]="NavigationCancel",e[e.NavigationError=3]="NavigationError",e[e.RoutesRecognized=4]="RoutesRecognized",e[e.ResolveStart=5]="ResolveStart",e[e.ResolveEnd=6]="ResolveEnd",e[e.GuardsCheckStart=7]="GuardsCheckStart",e[e.GuardsCheckEnd=8]="GuardsCheckEnd",e[e.RouteConfigLoadStart=9]="RouteConfigLoadStart",e[e.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",e[e.ChildActivationStart=11]="ChildActivationStart",e[e.ChildActivationEnd=12]="ChildActivationEnd",e[e.ActivationStart=13]="ActivationStart",e[e.ActivationEnd=14]="ActivationEnd",e[e.Scroll=15]="Scroll",e[e.NavigationSkipped=16]="NavigationSkipped",e}(Z||{});class mn{constructor(t,n){this.id=t,this.url=n}}class Ju extends mn{constructor(t,n,r="imperative",o=null){super(t,n),this.type=Z.NavigationStart,this.navigationTrigger=r,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Vn extends mn{constructor(t,n,r){super(t,n),this.urlAfterRedirects=r,this.type=Z.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}var kt=function(e){return e[e.Redirect=0]="Redirect",e[e.SupersededByNewNavigation=1]="SupersededByNewNavigation",e[e.NoDataFromResolver=2]="NoDataFromResolver",e[e.GuardRejected=3]="GuardRejected",e}(kt||{}),Xu=function(e){return e[e.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",e[e.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",e}(Xu||{});class Zo extends mn{constructor(t,n,r,o){super(t,n),this.reason=r,this.code=o,this.type=Z.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Qo extends mn{constructor(t,n,r,o){super(t,n),this.reason=r,this.code=o,this.type=Z.NavigationSkipped}}class el extends mn{constructor(t,n,r,o){super(t,n),this.error=r,this.target=o,this.type=Z.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class LE extends mn{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=Z.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class a2 extends mn{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=Z.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class u2 extends mn{constructor(t,n,r,o,i){super(t,n),this.urlAfterRedirects=r,this.state=o,this.shouldActivate=i,this.type=Z.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class l2 extends mn{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=Z.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class c2 extends mn{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=Z.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class d2{constructor(t){this.route=t,this.type=Z.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class f2{constructor(t){this.route=t,this.type=Z.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class h2{constructor(t){this.snapshot=t,this.type=Z.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class p2{constructor(t){this.snapshot=t,this.type=Z.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class g2{constructor(t){this.snapshot=t,this.type=Z.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class m2{constructor(t){this.snapshot=t,this.type=Z.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class VE{constructor(t,n,r){this.routerEvent=t,this.position=n,this.anchor=r,this.type=Z.Scroll}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class Nh{}class Rh{constructor(t){this.url=t}}class v2{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new Ms,this.attachRef=null}}let Ms=(()=>{class e{constructor(){this.contexts=new Map}onChildOutletCreated(n,r){const o=this.getOrCreateContext(n);o.outlet=r,this.contexts.set(n,o)}onChildOutletDestroyed(n){const r=this.getContext(n);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){const n=this.contexts;return this.contexts=new Map,n}onOutletReAttached(n){this.contexts=n}getOrCreateContext(n){let r=this.getContext(n);return r||(r=new v2,this.contexts.set(n,r)),r}getContext(n){return this.contexts.get(n)||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 jE{constructor(t){this._root=t}get root(){return this._root.value}parent(t){const n=this.pathFromRoot(t);return n.length>1?n[n.length-2]:null}children(t){const n=Oh(t,this._root);return n?n.children.map(r=>r.value):[]}firstChild(t){const n=Oh(t,this._root);return n&&n.children.length>0?n.children[0].value:null}siblings(t){const n=Fh(t,this._root);return n.length<2?[]:n[n.length-2].children.map(o=>o.value).filter(o=>o!==t)}pathFromRoot(t){return Fh(t,this._root).map(n=>n.value)}}function Oh(e,t){if(e===t.value)return t;for(const n of t.children){const r=Oh(e,n);if(r)return r}return null}function Fh(e,t){if(e===t.value)return[t];for(const n of t.children){const r=Fh(e,n);if(r.length)return r.unshift(t),r}return[]}class Zt{constructor(t,n){this.value=t,this.children=n}toString(){return`TreeNode(${this.value})`}}function Yo(e){const t={};return e&&e.children.forEach(n=>t[n.value.outlet]=n),t}class UE extends jE{constructor(t,n){super(t),this.snapshot=n,Lh(this,t)}toString(){return this.snapshot.toString()}}function $E(e){const t=function y2(e){const i=new kh([],{},{},"",{},G,e,null,{});return new BE("",new Zt(i,[]))}(e),n=new Tt([new Cs("",{})]),r=new Tt({}),o=new Tt({}),i=new Tt({}),s=new Tt(""),a=new Ko(n,r,i,s,o,G,e,t.root);return a.snapshot=t.root,new UE(new Zt(a,[]),t)}class Ko{constructor(t,n,r,o,i,s,a,u){this.urlSubject=t,this.paramsSubject=n,this.queryParamsSubject=r,this.fragmentSubject=o,this.dataSubject=i,this.outlet=s,this.component=a,this._futureSnapshot=u,this.title=this.dataSubject?.pipe(ne(l=>l[Ds]))??k(void 0),this.url=t,this.params=n,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.params.pipe(ne(t=>zo(t))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(ne(t=>zo(t))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Ph(e,t,n="emptyOnly"){let r;const{routeConfig:o}=e;return r=null===t||"always"!==n&&""!==o?.path&&(t.component||t.routeConfig?.loadComponent)?{params:{...e.params},data:{...e.data},resolve:{...e.data,...e._resolvedData??{}}}:{params:{...t.params,...e.params},data:{...t.data,...e.data},resolve:{...e.data,...t.data,...o?.data,...e._resolvedData}},o&&GE(o)&&(r.resolve[Ds]=o.title),r}class kh{get title(){return this.data?.[Ds]}constructor(t,n,r,o,i,s,a,u,l){this.url=t,this.params=n,this.queryParams=r,this.fragment=o,this.data=i,this.outlet=s,this.component=a,this.routeConfig=u,this._resolve=l}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??=zo(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=zo(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(r=>r.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class BE extends jE{constructor(t,n){super(n),this.url=t,Lh(this,n)}toString(){return HE(this._root)}}function Lh(e,t){t.value._routerState=e,t.children.forEach(n=>Lh(e,n))}function HE(e){const t=e.children.length>0?` { ${e.children.map(HE).join(", ")} } `:"";return`${e.value}${t}`}function Vh(e){if(e.snapshot){const t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,gn(t.queryParams,n.queryParams)||e.queryParamsSubject.next(n.queryParams),t.fragment!==n.fragment&&e.fragmentSubject.next(n.fragment),gn(t.params,n.params)||e.paramsSubject.next(n.params),function PV(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;++n)if(!gn(e[n],t[n]))return!1;return!0}(t.url,n.url)||e.urlSubject.next(n.url),gn(t.data,n.data)||e.dataSubject.next(n.data)}else e.snapshot=e._futureSnapshot,e.dataSubject.next(e._futureSnapshot.data)}function jh(e,t){const n=gn(e.params,t.params)&&function jV(e,t){return Or(e,t)&&e.every((n,r)=>gn(n.parameters,t[r].parameters))}(e.url,t.url);return n&&!(!e.parent!=!t.parent)&&(!e.parent||jh(e.parent,t.parent))}function GE(e){return"string"==typeof e.title||null===e.title}let Uh=(()=>{class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=G,this.activateEvents=new Ee,this.deactivateEvents=new Ee,this.attachEvents=new Ee,this.detachEvents=new Ee,this.parentContexts=E(Ms),this.location=E(Ht),this.changeDetector=E(ji),this.environmentInjector=E(xt),this.inputBinder=E(tl,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(n){if(n.name){const{firstChange:r,previousValue:o}=n.name;if(r)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(n){return this.parentContexts.getContext(n)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const n=this.parentContexts.getContext(this.name);n?.route&&(n.attachRef?this.attach(n.attachRef,n.route):this.activateWith(n.route,n.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new _(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 n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}attach(n,r){this.activated=n,this._activatedRoute=r,this.location.insert(n.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(n.instance)}deactivate(){if(this.activated){const n=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}}activateWith(n,r){if(this.isActivated)throw new _(4013,!1);this._activatedRoute=n;const o=this.location,s=n.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,u=new _2(n,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=P({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[At]})}return e})();class _2{constructor(t,n,r){this.route=t,this.childContexts=n,this.parent=r}get(t,n){return t===Ko?this.route:t===Ms?this.childContexts:this.parent.get(t,n)}}const tl=new S("");let zE=(()=>{class e{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(n){this.unsubscribeFromRouteData(n),this.subscribeToRouteData(n)}unsubscribeFromRouteData(n){this.outletDataSubscriptions.get(n)?.unsubscribe(),this.outletDataSubscriptions.delete(n)}subscribeToRouteData(n){const{activatedRoute:r}=n,o=Dh([r.queryParams,r.params,r.data]).pipe(pn(([i,s,a],u)=>(a={...i,...s,...a},0===u?k(a):Promise.resolve(a)))).subscribe(i=>{if(!n.isActivated||!n.activatedComponentRef||n.activatedRoute!==r||null===r.component)return void this.unsubscribeFromRouteData(n);const s=function iP(e){const t=z(e);if(!t)return null;const n=new $i(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}(r.component);if(s)for(const{templateName:a}of s.inputs)n.activatedComponentRef.setInput(a,i[a]);else this.unsubscribeFromRouteData(n)});this.outletDataSubscriptions.set(n,o)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=T({token:e,factory:e.\u0275fac})}return e})();function Ss(e,t,n){if(n&&e.shouldReuseRoute(t.value,n.value.snapshot)){const r=n.value;r._futureSnapshot=t.value;const o=function C2(e,t,n){return t.children.map(r=>{for(const o of n.children)if(e.shouldReuseRoute(r.value,o.value.snapshot))return Ss(e,r,o);return Ss(e,r)})}(e,t,n);return new Zt(r,o)}{if(e.shouldAttach(t.value)){const i=e.retrieve(t.value);if(null!==i){const s=i.route;return s.value._futureSnapshot=t.value,s.children=t.children.map(a=>Ss(e,a)),s}}const r=function w2(e){return new Ko(new Tt(e.url),new Tt(e.params),new Tt(e.queryParams),new Tt(e.fragment),new Tt(e.data),e.outlet,e.component,e)}(t.value),o=t.children.map(i=>Ss(e,i));return new Zt(r,o)}}const $h="ngNavigationCancelingError";function qE(e,t){const{redirectTo:n,navigationBehaviorOptions:r}=Fr(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,o=WE(!1,kt.Redirect,t);return o.url=n,o.navigationBehaviorOptions=r,o}function WE(e,t,n){const r=new Error("NavigationCancelingError: "+(e||""));return r[$h]=!0,r.cancellationCode=t,n&&(r.url=n),r}function ZE(e){return e&&e[$h]}let QE=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=Zs({type:e,selectors:[["ng-component"]],standalone:!0,features:[BD],decls:1,vars:0,template:function(r,o){1&r&&Po(0,"router-outlet")},dependencies:[Uh],encapsulation:2})}return e})();function Bh(e){const t=e.children&&e.children.map(Bh),n=t?{...e,children:t}:{...e};return!n.component&&!n.loadComponent&&(t||n.loadChildren)&&n.outlet&&n.outlet!==G&&(n.component=QE),n}function vn(e){return e.outlet||G}function Ts(e){if(!e)return null;if(e.routeConfig?._injector)return e.routeConfig._injector;for(let t=e.parent;t;t=t.parent){const n=t.routeConfig;if(n?._loadedInjector)return n._loadedInjector;if(n?._injector)return n._injector}return null}class x2{constructor(t,n,r,o,i){this.routeReuseStrategy=t,this.futureState=n,this.currState=r,this.forwardEvent=o,this.inputBindingEnabled=i}activate(t){const n=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(n,r,t),Vh(this.futureState.root),this.activateChildRoutes(n,r,t)}deactivateChildRoutes(t,n,r){const o=Yo(n);t.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(t,n,r){const o=t.value,i=n?n.value:null;if(o===i)if(o.component){const s=r.getContext(o.outlet);s&&this.deactivateChildRoutes(t,n,s.children)}else this.deactivateChildRoutes(t,n,r);else i&&this.deactivateRouteAndItsChildren(n,r)}deactivateRouteAndItsChildren(t,n){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,n):this.deactivateRouteAndOutlet(t,n)}detachAndStoreRouteSubtree(t,n){const r=n.getContext(t.value.outlet),o=r&&t.value.component?r.children:n,i=Yo(t);for(const s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);if(r&&r.outlet){const s=r.outlet.detach(),a=r.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:s,route:t,contexts:a})}}deactivateRouteAndOutlet(t,n){const r=n.getContext(t.value.outlet),o=r&&t.value.component?r.children:n,i=Yo(t);for(const s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);r&&(r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated()),r.attachRef=null,r.route=null)}activateChildRoutes(t,n,r){const o=Yo(n);t.children.forEach(i=>{this.activateRoutes(i,o[i.value.outlet],r),this.forwardEvent(new m2(i.value.snapshot))}),t.children.length&&this.forwardEvent(new p2(t.value.snapshot))}activateRoutes(t,n,r){const o=t.value,i=n?n.value:null;if(Vh(o),o===i)if(o.component){const s=r.getOrCreateContext(o.outlet);this.activateChildRoutes(t,n,s.children)}else this.activateChildRoutes(t,n,r);else if(o.component){const s=r.getOrCreateContext(o.outlet);if(this.routeReuseStrategy.shouldAttach(o.snapshot)){const a=this.routeReuseStrategy.retrieve(o.snapshot);this.routeReuseStrategy.store(o.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),Vh(a.route.value),this.activateChildRoutes(t,null,s.children)}else{const a=Ts(o.snapshot);s.attachRef=null,s.route=o,s.injector=a,s.outlet&&s.outlet.activateWith(o,s.injector),this.activateChildRoutes(t,null,s.children)}}else this.activateChildRoutes(t,null,r)}}class YE{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class nl{constructor(t,n){this.component=t,this.route=n}}function N2(e,t,n){const r=e._root;return As(r,t?t._root:null,n,[r.value])}function Jo(e,t){const n=Symbol(),r=t.get(e,n);return r===n?"function"!=typeof e||function nM(e){return null!==Bs(e)}(e)?t.get(e):e:r}function As(e,t,n,r,o={canDeactivateChecks:[],canActivateChecks:[]}){const i=Yo(t);return e.children.forEach(s=>{(function O2(e,t,n,r,o={canDeactivateChecks:[],canActivateChecks:[]}){const i=e.value,s=t?t.value:null,a=n?n.getContext(e.value.outlet):null;if(s&&i.routeConfig===s.routeConfig){const u=function F2(e,t,n){if("function"==typeof n)return n(e,t);switch(n){case"pathParamsChange":return!Or(e.url,t.url);case"pathParamsOrQueryParamsChange":return!Or(e.url,t.url)||!gn(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!jh(e,t)||!gn(e.queryParams,t.queryParams);default:return!jh(e,t)}}(s,i,i.routeConfig.runGuardsAndResolvers);u?o.canActivateChecks.push(new YE(r)):(i.data=s.data,i._resolvedData=s._resolvedData),As(e,t,i.component?a?a.children:null:n,r,o),u&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new nl(a.outlet.component,s))}else s&&xs(t,a,o),o.canActivateChecks.push(new YE(r)),As(e,null,i.component?a?a.children:null:n,r,o)})(s,i[s.value.outlet],n,r.concat([s.value]),o),delete i[s.value.outlet]}),Object.entries(i).forEach(([s,a])=>xs(a,n.getContext(s),o)),o}function xs(e,t,n){const r=Yo(e),o=e.value;Object.entries(r).forEach(([i,s])=>{xs(s,o.component?t?t.children.getContext(i):null:t,n)}),n.canDeactivateChecks.push(new nl(o.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,o))}function Ns(e){return"function"==typeof e}function KE(e){return e instanceof Hu||"EmptyError"===e?.name}const rl=Symbol("INITIAL_VALUE");function Xo(){return pn(e=>Dh(e.map(t=>t.pipe(Ho(1),function MV(...e){const t=Bu(e);return ze((n,r)=>{(t?Ch(e,n,t):Ch(e,n)).subscribe(r)})}(rl)))).pipe(ne(t=>{for(const n of t)if(!0!==n){if(n===rl)return rl;if(!1===n||n instanceof qo)return n}return!0}),rr(t=>t!==rl),Ho(1)))}function JE(e){return function BI(...e){return Fp(e)}(et(t=>{if(Fr(t))throw qE(0,t)}),ne(t=>!0===t))}class Hh{constructor(t){this.segmentGroup=t||null}}class Gh extends Error{constructor(t){super(),this.urlTree=t}}function ei(e){return Gu(new Hh(e))}class ej{constructor(t,n){this.urlSerializer=t,this.urlTree=n}lineralizeSegments(t,n){let r=[],o=n.root;for(;;){if(r=r.concat(o.segments),0===o.numberOfChildren)return k(r);if(o.numberOfChildren>1||!o.children[G])return Gu(new _(4e3,!1));o=o.children[G]}}applyRedirectCommands(t,n,r){const o=this.applyRedirectCreateUrlTree(n,this.urlSerializer.parse(n),t,r);if(n.startsWith("/"))throw new Gh(o);return o}applyRedirectCreateUrlTree(t,n,r,o){const i=this.createSegmentGroup(t,n.root,r,o);return new qo(i,this.createQueryParams(n.queryParams,this.urlTree.queryParams),n.fragment)}createQueryParams(t,n){const r={};return Object.entries(t).forEach(([o,i])=>{if("string"==typeof i&&i.startsWith(":")){const a=i.substring(1);r[o]=n[a]}else r[o]=i}),r}createSegmentGroup(t,n,r,o){const i=this.createSegments(t,n.segments,r,o);let s={};return Object.entries(n.children).forEach(([a,u])=>{s[a]=this.createSegmentGroup(t,u,r,o)}),new se(i,s)}createSegments(t,n,r,o){return n.map(i=>i.path.startsWith(":")?this.findPosParam(t,i,o):this.findOrReturn(i,r))}findPosParam(t,n,r){const o=r[n.path.substring(1)];if(!o)throw new _(4001,!1);return o}findOrReturn(t,n){let r=0;for(const o of n){if(o.path===t.path)return n.splice(r),o;r++}return t}}const zh={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function tj(e,t,n,r,o){const i=qh(e,t,n);return i.matched?(r=function b2(e,t){return e.providers&&!e._injector&&(e._injector=Cf(e.providers,t,`Route: ${e.path}`)),e._injector??t}(t,r),function K2(e,t,n,r){const o=t.canMatch;return o&&0!==o.length?k(o.map(s=>{const a=Jo(s,e);return or(function U2(e){return e&&Ns(e.canMatch)}(a)?a.canMatch(t,n):_r(e,()=>a(t,n)))})).pipe(Xo(),JE()):k(!0)}(r,t,n).pipe(ne(s=>!0===s?i:{...zh}))):k(i)}function qh(e,t,n){if("**"===t.path)return function nj(e){return{matched:!0,parameters:e.length>0?_E(e).parameters:{},consumedSegments:e,remainingSegments:[],positionalParamSegments:{}}}(n);if(""===t.path)return"full"===t.pathMatch&&(e.hasChildren()||n.length>0)?{...zh}:{matched:!0,consumedSegments:[],remainingSegments:n,parameters:{},positionalParamSegments:{}};const o=(t.matcher||FV)(n,e,t);if(!o)return{...zh};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:n.slice(o.consumed.length),parameters:s,positionalParamSegments:o.posParams??{}}}function XE(e,t,n,r){return n.length>0&&function ij(e,t,n){return n.some(r=>ol(e,t,r)&&vn(r)!==G)}(e,n,r)?{segmentGroup:new se(t,oj(r,new se(n,e.children))),slicedSegments:[]}:0===n.length&&function sj(e,t,n){return n.some(r=>ol(e,t,r))}(e,n,r)?{segmentGroup:new se(e.segments,rj(e,n,r,e.children)),slicedSegments:n}:{segmentGroup:new se(e.segments,e.children),slicedSegments:n}}function rj(e,t,n,r){const o={};for(const i of n)if(ol(e,t,i)&&!r[vn(i)]){const s=new se([],{});o[vn(i)]=s}return{...r,...o}}function oj(e,t){const n={};n[G]=t;for(const r of e)if(""===r.path&&vn(r)!==G){const o=new se([],{});n[vn(r)]=o}return n}function ol(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path}class lj{}class fj{constructor(t,n,r,o,i,s,a){this.injector=t,this.configLoader=n,this.rootComponentType=r,this.config=o,this.urlTree=i,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new ej(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(t){return new _(4002,`'${t.segmentGroup}'`)}recognize(){const t=XE(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(t).pipe(ne(n=>{const r=new kh([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},G,this.rootComponentType,null,{}),o=new Zt(r,n),i=new BE("",o),s=function e2(e,t,n=null,r=null){return NE(xE(e),t,n,r)}(r,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,i.url=this.urlSerializer.serialize(s),this.inheritParamsAndData(i._root,null),{state:i,tree:s}}))}match(t){return this.processSegmentGroup(this.injector,this.config,t,G).pipe(Go(r=>{if(r instanceof Gh)return this.urlTree=r.urlTree,this.match(r.urlTree.root);throw r instanceof Hh?this.noMatchError(r):r}))}inheritParamsAndData(t,n){const r=t.value,o=Ph(r,n,this.paramsInheritanceStrategy);r.params=Object.freeze(o.params),r.data=Object.freeze(o.data),t.children.forEach(i=>this.inheritParamsAndData(i,r))}processSegmentGroup(t,n,r,o){return 0===r.segments.length&&r.hasChildren()?this.processChildren(t,n,r):this.processSegment(t,n,r,r.segments,o,!0).pipe(ne(i=>i instanceof Zt?[i]:[]))}processChildren(t,n,r){const o=[];for(const i of Object.keys(r.children))"primary"===i?o.unshift(i):o.push(i);return Ge(o).pipe(_s(i=>{const s=r.children[i],a=function T2(e,t){const n=e.filter(r=>vn(r)===t);return n.push(...e.filter(r=>vn(r)!==t)),n}(n,i);return this.processSegmentGroup(t,a,s,i)}),function AV(e,t){return ze(function TV(e,t,n,r,o){return(i,s)=>{let a=n,u=t,l=0;i.subscribe(Fe(s,c=>{const d=l++;u=a?e(u,c,d):(a=!0,c),r&&s.next(u)},o&&(()=>{a&&s.next(u),s.complete()})))}}(e,t,arguments.length>=2,!0))}((i,s)=>(i.push(...s),i)),zu(null),function xV(e,t){const n=arguments.length>=2;return r=>r.pipe(e?rr((o,i)=>e(o,i,r)):cr,Eh(1),n?zu(t):vE(()=>new Hu))}(),Xe(i=>{if(null===i)return ei(r);const s=eb(i);return function hj(e){e.sort((t,n)=>t.value.outlet===G?-1:n.value.outlet===G?1:t.value.outlet.localeCompare(n.value.outlet))}(s),k(s)}))}processSegment(t,n,r,o,i,s){return Ge(n).pipe(_s(a=>this.processSegmentAgainstRoute(a._injector??t,n,a,r,o,i,s).pipe(Go(u=>{if(u instanceof Hh)return k(null);throw u}))),Rr(a=>!!a),Go(a=>{if(KE(a))return function uj(e,t,n){return 0===t.length&&!e.children[n]}(r,o,i)?k(new lj):ei(r);throw a}))}processSegmentAgainstRoute(t,n,r,o,i,s,a){return function aj(e,t,n,r){return!!(vn(e)===r||r!==G&&ol(t,n,e))&&qh(t,e,n).matched}(r,o,i,s)?void 0===r.redirectTo?this.matchSegmentAgainstRoute(t,o,r,i,s):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(t,o,n,r,i,s):ei(o):ei(o)}expandSegmentAgainstRouteUsingRedirect(t,n,r,o,i,s){const{matched:a,consumedSegments:u,positionalParamSegments:l,remainingSegments:c}=qh(n,o,i);if(!a)return ei(n);o.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const d=this.applyRedirects.applyRedirectCommands(u,o.redirectTo,l);return this.applyRedirects.lineralizeSegments(o,d).pipe(Xe(f=>this.processSegment(t,r,n,f.concat(c),s,!1)))}matchSegmentAgainstRoute(t,n,r,o,i){const s=tj(n,r,o,t);return"**"===r.path&&(n.children={}),s.pipe(pn(a=>a.matched?this.getChildConfig(t=r._injector??t,r,o).pipe(pn(({routes:u})=>{const l=r._loadedInjector??t,{consumedSegments:c,remainingSegments:d,parameters:f}=a,h=new kh(c,f,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,function gj(e){return e.data||{}}(r),vn(r),r.component??r._loadedComponent??null,r,function mj(e){return e.resolve||{}}(r)),{segmentGroup:p,slicedSegments:g}=XE(n,c,d,u);if(0===g.length&&p.hasChildren())return this.processChildren(l,u,p).pipe(ne(D=>null===D?null:new Zt(h,D)));if(0===u.length&&0===g.length)return k(new Zt(h,[]));const y=vn(r)===i;return this.processSegment(l,u,p,g,y?G:i,!0).pipe(ne(D=>new Zt(h,D instanceof Zt?[D]:[])))})):ei(n)))}getChildConfig(t,n,r){return n.children?k({routes:n.children,injector:t}):n.loadChildren?void 0!==n._loadedRoutes?k({routes:n._loadedRoutes,injector:n._loadedInjector}):function Y2(e,t,n,r){const o=t.canLoad;return void 0===o||0===o.length?k(!0):k(o.map(s=>{const a=Jo(s,e);return or(function k2(e){return e&&Ns(e.canLoad)}(a)?a.canLoad(t,n):_r(e,()=>a(t,n)))})).pipe(Xo(),JE())}(t,n,r).pipe(Xe(o=>o?this.configLoader.loadChildren(t,n).pipe(et(i=>{n._loadedRoutes=i.routes,n._loadedInjector=i.injector})):function X2(e){return Gu(WE(!1,kt.GuardRejected))}())):k({routes:[],injector:t})}}function pj(e){const t=e.value.routeConfig;return t&&""===t.path}function eb(e){const t=[],n=new Set;for(const r of e){if(!pj(r)){t.push(r);continue}const o=t.find(i=>r.value.routeConfig===i.value.routeConfig);void 0!==o?(o.children.push(...r.children),n.add(o)):t.push(r)}for(const r of n){const o=eb(r.children);t.push(new Zt(r.value,o))}return t.filter(r=>!n.has(r))}function tb(e){const t=e.children.map(n=>tb(n)).flat();return[e,...t]}function Wh(e){return pn(t=>{const n=e(t);return n?Ge(n).pipe(ne(()=>t)):k(t)})}let nb=(()=>{class e{buildTitle(n){let r,o=n.root;for(;void 0!==o;)r=this.getResolvedTitleForRoute(o)??r,o=o.children.find(i=>i.outlet===G);return r}getResolvedTitleForRoute(n){return n.data[Ds]}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=T({token:e,factory:()=>E(wj),providedIn:"root"})}return e})(),wj=(()=>{class e extends nb{constructor(n){super(),this.title=n}updateTitle(n){const r=this.buildTitle(n);void 0!==r&&this.title.setTitle(r)}static#e=this.\u0275fac=function(r){return new(r||e)(O(Hw))};static#t=this.\u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const ti=new S("",{providedIn:"root",factory:()=>({})}),ni=new S("ROUTES");let Zh=(()=>{class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=E(yC)}loadComponent(n){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return k(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);const r=or(n.loadComponent()).pipe(ne(rb),et(i=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=i}),bh(()=>{this.componentLoaders.delete(n)})),o=new mE(r,()=>new Yt).pipe(wh());return this.componentLoaders.set(n,o),o}loadChildren(n,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return k({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);const i=function Ej(e,t,n,r){return or(e.loadChildren()).pipe(ne(rb),Xe(o=>o instanceof UD||Array.isArray(o)?k(o):Ge(t.compileModuleAsync(o))),ne(o=>{r&&r(e);let i,s,a=!1;return Array.isArray(o)?(s=o,!0):(i=o.create(n).injector,s=i.get(ni,[],{optional:!0,self:!0}).flat()),{routes:s.map(Bh),injector:i}}))}(r,this.compiler,n,this.onLoadEndListener).pipe(bh(()=>{this.childrenLoaders.delete(r)})),s=new mE(i,()=>new Yt).pipe(wh());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 rb(e){return function bj(e){return e&&"object"==typeof e&&"default"in e}(e)?e.default:e}let Qh=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=T({token:e,factory:()=>E(Ij),providedIn:"root"})}return e})(),Ij=(()=>{class e{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,r){return n}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 ob=new S(""),ib=new S("");function Mj(e,t,n){const r=e.get(ib),o=e.get(Mt);return e.get(te).runOutsideAngular(()=>{if(!o.startViewTransition||r.skipNextTransition)return r.skipNextTransition=!1,Promise.resolve();let i;const s=new Promise(l=>{i=l}),a=o.startViewTransition(()=>(i(),function Sj(e){return new Promise(t=>{ry(t,{injector:e})})}(e))),{onViewTransitionCreated:u}=r;return u&&_r(e,()=>u({transition:a,from:t,to:n})),s})}let il=(()=>{class e{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new Yt,this.transitionAbortSubject=new Yt,this.configLoader=E(Zh),this.environmentInjector=E(xt),this.urlSerializer=E(Wo),this.rootContexts=E(Ms),this.location=E(fs),this.inputBindingEnabled=null!==E(tl,{optional:!0}),this.titleStrategy=E(nb),this.options=E(ti,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=E(Qh),this.createViewTransition=E(ob,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>k(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=o=>this.events.next(new f2(o)),this.configLoader.onLoadStartListener=o=>this.events.next(new d2(o))}complete(){this.transitions?.complete()}handleNavigationRequest(n){const r=++this.navigationId;this.transitions?.next({...this.transitions.value,...n,id:r})}setupNavigations(n,r,o){return this.transitions=new Tt({id:0,currentUrlTree:r,currentRawUrl:r,extractedUrl:this.urlHandlingStrategy.extract(r),urlAfterRedirects:this.urlHandlingStrategy.extract(r),rawUrl:r,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:Is,restoredState:null,currentSnapshot:o.snapshot,targetSnapshot:null,currentRouterState:o,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(rr(i=>0!==i.id),ne(i=>({...i,extractedUrl:this.urlHandlingStrategy.extract(i.rawUrl)})),pn(i=>{this.currentTransition=i;let s=!1,a=!1;return k(i).pipe(et(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}}),pn(u=>{const l=!n.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!l&&"reload"!==(u.extras.onSameUrlNavigation??n.onSameUrlNavigation)){const d="";return this.events.next(new Qo(u.id,this.urlSerializer.serialize(u.rawUrl),d,Xu.IgnoredSameUrlNavigation)),u.resolve(null),Ln}if(this.urlHandlingStrategy.shouldProcessUrl(u.rawUrl))return k(u).pipe(pn(d=>{const f=this.transitions?.getValue();return this.events.next(new Ju(d.id,this.urlSerializer.serialize(d.extractedUrl),d.source,d.restoredState)),f!==this.transitions?.getValue()?Ln:Promise.resolve(d)}),function vj(e,t,n,r,o,i){return Xe(s=>function cj(e,t,n,r,o,i,s="emptyOnly"){return new fj(e,t,n,r,o,s,i).recognize()}(e,t,n,r,s.extractedUrl,o,i).pipe(ne(({state:a,tree:u})=>({...s,targetSnapshot:a,urlAfterRedirects:u}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,this.paramsInheritanceStrategy),et(d=>{i.targetSnapshot=d.targetSnapshot,i.urlAfterRedirects=d.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:d.urlAfterRedirects};const f=new LE(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot);this.events.next(f)}));if(l&&this.urlHandlingStrategy.shouldProcessUrl(u.currentRawUrl)){const{id:d,extractedUrl:f,source:h,restoredState:p,extras:g}=u,y=new Ju(d,this.urlSerializer.serialize(f),h,p);this.events.next(y);const D=$E(this.rootComponentType).snapshot;return this.currentTransition=i={...u,targetSnapshot:D,urlAfterRedirects:f,extras:{...g,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=f,k(i)}{const d="";return this.events.next(new Qo(u.id,this.urlSerializer.serialize(u.extractedUrl),d,Xu.IgnoredByUrlHandlingStrategy)),u.resolve(null),Ln}}),et(u=>{const l=new a2(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(l)}),ne(u=>(this.currentTransition=i={...u,guards:N2(u.targetSnapshot,u.currentSnapshot,this.rootContexts)},i)),function B2(e,t){return Xe(n=>{const{targetSnapshot:r,currentSnapshot:o,guards:{canActivateChecks:i,canDeactivateChecks:s}}=n;return 0===s.length&&0===i.length?k({...n,guardsResult:!0}):function H2(e,t,n,r){return Ge(e).pipe(Xe(o=>function Q2(e,t,n,r,o){const i=t&&t.routeConfig?t.routeConfig.canDeactivate:null;return i&&0!==i.length?k(i.map(a=>{const u=Ts(t)??o,l=Jo(a,u);return or(function j2(e){return e&&Ns(e.canDeactivate)}(l)?l.canDeactivate(e,t,n,r):_r(u,()=>l(e,t,n,r))).pipe(Rr())})).pipe(Xo()):k(!0)}(o.component,o.route,n,t,r)),Rr(o=>!0!==o,!0))}(s,r,o,e).pipe(Xe(a=>a&&function P2(e){return"boolean"==typeof e}(a)?function G2(e,t,n,r){return Ge(t).pipe(_s(o=>Ch(function q2(e,t){return null!==e&&t&&t(new h2(e)),k(!0)}(o.route.parent,r),function z2(e,t){return null!==e&&t&&t(new g2(e)),k(!0)}(o.route,r),function Z2(e,t,n){const r=t[t.length-1],i=t.slice(0,t.length-1).reverse().map(s=>function R2(e){const t=e.routeConfig?e.routeConfig.canActivateChild:null;return t&&0!==t.length?{node:e,guards:t}:null}(s)).filter(s=>null!==s).map(s=>gE(()=>k(s.guards.map(u=>{const l=Ts(s.node)??n,c=Jo(u,l);return or(function V2(e){return e&&Ns(e.canActivateChild)}(c)?c.canActivateChild(r,e):_r(l,()=>c(r,e))).pipe(Rr())})).pipe(Xo())));return k(i).pipe(Xo())}(e,o.path,n),function W2(e,t,n){const r=t.routeConfig?t.routeConfig.canActivate:null;if(!r||0===r.length)return k(!0);const o=r.map(i=>gE(()=>{const s=Ts(t)??n,a=Jo(i,s);return or(function L2(e){return e&&Ns(e.canActivate)}(a)?a.canActivate(t,e):_r(s,()=>a(t,e))).pipe(Rr())}));return k(o).pipe(Xo())}(e,o.route,n))),Rr(o=>!0!==o,!0))}(r,i,e,t):k(a)),ne(a=>({...n,guardsResult:a})))})}(this.environmentInjector,u=>this.events.next(u)),et(u=>{if(i.guardsResult=u.guardsResult,Fr(u.guardsResult))throw qE(0,u.guardsResult);const l=new u2(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot,!!u.guardsResult);this.events.next(l)}),rr(u=>!!u.guardsResult||(this.cancelNavigationTransition(u,"",kt.GuardRejected),!1)),Wh(u=>{if(u.guards.canActivateChecks.length)return k(u).pipe(et(l=>{const c=new l2(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(c)}),pn(l=>{let c=!1;return k(l).pipe(function yj(e,t){return Xe(n=>{const{targetSnapshot:r,guards:{canActivateChecks:o}}=n;if(!o.length)return k(n);const i=new Set(o.map(u=>u.route)),s=new Set;for(const u of i)if(!s.has(u))for(const l of tb(u))s.add(l);let a=0;return Ge(s).pipe(_s(u=>i.has(u)?function _j(e,t,n,r){const o=e.routeConfig,i=e._resolve;return void 0!==o?.title&&!GE(o)&&(i[Ds]=o.title),function Dj(e,t,n,r){const o=Ih(e);if(0===o.length)return k({});const i={};return Ge(o).pipe(Xe(s=>function Cj(e,t,n,r){const o=Ts(t)??r,i=Jo(e,o);return or(i.resolve?i.resolve(t,n):_r(o,()=>i(t,n)))}(e[s],t,n,r).pipe(Rr(),et(a=>{i[s]=a}))),Eh(1),function NV(e){return ne(()=>e)}(i),Go(s=>KE(s)?Ln:Gu(s)))}(i,e,t,r).pipe(ne(s=>(e._resolvedData=s,e.data=Ph(e,e.parent,n).resolve,null)))}(u,r,e,t):(u.data=Ph(u,u.parent,e).resolve,k(void 0))),et(()=>a++),Eh(1),Xe(u=>a===s.size?k(n):Ln))})}(this.paramsInheritanceStrategy,this.environmentInjector),et({next:()=>c=!0,complete:()=>{c||this.cancelNavigationTransition(l,"",kt.NoDataFromResolver)}}))}),et(l=>{const c=new c2(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(c)}))}),Wh(u=>{const l=c=>{const d=[];c.routeConfig?.loadComponent&&!c.routeConfig._loadedComponent&&d.push(this.configLoader.loadComponent(c.routeConfig).pipe(et(f=>{c.component=f}),ne(()=>{})));for(const f of c.children)d.push(...l(f));return d};return Dh(l(u.targetSnapshot.root)).pipe(zu(null),Ho(1))}),Wh(()=>this.afterPreactivation()),pn(()=>{const{currentSnapshot:u,targetSnapshot:l}=i,c=this.createViewTransition?.(this.environmentInjector,u.root,l.root);return c?Ge(c).pipe(ne(()=>i)):k(i)}),ne(u=>{const l=function D2(e,t,n){const r=Ss(e,t._root,n?n._root:void 0);return new UE(r,t)}(n.routeReuseStrategy,u.targetSnapshot,u.currentRouterState);return this.currentTransition=i={...u,targetRouterState:l},this.currentNavigation.targetRouterState=l,i}),et(()=>{this.events.next(new Nh)}),((e,t,n,r)=>ne(o=>(new x2(t,o.targetRouterState,o.currentRouterState,n,r).activate(e),o)))(this.rootContexts,n.routeReuseStrategy,u=>this.events.next(u),this.inputBindingEnabled),Ho(1),et({next:u=>{s=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Vn(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects))),this.titleStrategy?.updateTitle(u.targetRouterState.snapshot),u.resolve(!0)},complete:()=>{s=!0}}),function RV(e){return ze((t,n)=>{hn(e).subscribe(Fe(n,()=>n.complete(),Ml)),!n.closed&&t.subscribe(n)})}(this.transitionAbortSubject.pipe(et(u=>{throw u}))),bh(()=>{!s&&!a&&this.cancelNavigationTransition(i,"",kt.SupersededByNewNavigation),this.currentNavigation?.id===i.id&&(this.currentNavigation=null)}),Go(u=>{if(a=!0,ZE(u))this.events.next(new Zo(i.id,this.urlSerializer.serialize(i.extractedUrl),u.message,u.cancellationCode)),function E2(e){return ZE(e)&&Fr(e.url)}(u)?this.events.next(new Rh(u.url)):i.resolve(!1);else{this.events.next(new el(i.id,this.urlSerializer.serialize(i.extractedUrl),u,i.targetSnapshot??void 0));try{i.resolve(n.errorHandler(u))}catch(l){this.options.resolveNavigationPromiseOnError?i.resolve(!1):i.reject(l)}}return Ln}))}))}cancelNavigationTransition(n,r,o){const i=new Zo(n.id,this.urlSerializer.serialize(n.extractedUrl),r,o);this.events.next(i),n.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}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 Tj(e){return e!==Is}let Aj=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=T({token:e,factory:()=>E(Nj),providedIn:"root"})}return e})();class xj{shouldDetach(t){return!1}store(t,n){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,n){return t.routeConfig===n.routeConfig}}let Nj=(()=>{class e extends xj{static#e=this.\u0275fac=(()=>{let n;return function(o){return(n||(n=Be(e)))(o||e)}})();static#t=this.\u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),sb=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=T({token:e,factory:()=>E(Rj),providedIn:"root"})}return e})(),Rj=(()=>{class e extends sb{constructor(){super(...arguments),this.location=E(fs),this.urlSerializer=E(Wo),this.options=E(ti,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=E(Qh),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new qo,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=$E(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(n){return this.location.subscribe(r=>{"popstate"===r.type&&n(r.url,r.state)})}handleRouterEvent(n,r){if(n instanceof Ju)this.stateMemento=this.createStateMemento();else if(n instanceof Qo)this.rawUrlTree=r.initialUrl;else if(n instanceof LE){if("eager"===this.urlUpdateStrategy&&!r.extras.skipLocationChange){const o=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl);this.setBrowserUrl(o,r)}}else n instanceof Nh?(this.currentUrlTree=r.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl),this.routerState=r.targetRouterState,"deferred"===this.urlUpdateStrategy&&(r.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,r))):n instanceof Zo&&(n.code===kt.GuardRejected||n.code===kt.NoDataFromResolver)?this.restoreHistory(r):n instanceof el?this.restoreHistory(r,!0):n instanceof Vn&&(this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId)}setBrowserUrl(n,r){const o=this.urlSerializer.serialize(n);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(n,r=!1){if("computed"===this.canceledNavigationResolution){const i=this.currentPageId-this.browserPageId;0!==i?this.location.historyGo(i):this.currentUrlTree===n.finalUrl&&0===i&&(this.resetState(n),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(r&&this.resetState(n),this.resetUrlToCurrentUrlTree())}resetState(n){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(n,r){return"computed"===this.canceledNavigationResolution?{navigationId:n,\u0275routerPageId:r}:{navigationId:n}}static#e=this.\u0275fac=(()=>{let n;return function(o){return(n||(n=Be(e)))(o||e)}})();static#t=this.\u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Rs=function(e){return e[e.COMPLETE=0]="COMPLETE",e[e.FAILED=1]="FAILED",e[e.REDIRECTING=2]="REDIRECTING",e}(Rs||{});function ab(e,t){e.events.pipe(rr(n=>n instanceof Vn||n instanceof Zo||n instanceof el||n instanceof Qo),ne(n=>n instanceof Vn||n instanceof Qo?Rs.COMPLETE:n instanceof Zo&&(n.code===kt.Redirect||n.code===kt.SupersededByNewNavigation)?Rs.REDIRECTING:Rs.FAILED),rr(n=>n!==Rs.REDIRECTING),Ho(1)).subscribe(()=>{t()})}function Oj(e){throw e}const Fj={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Pj={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Qt=(()=>{class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.isNgZoneEnabled=!1,this.console=E(vC),this.stateManager=E(sb),this.options=E(ti,{optional:!0})||{},this.pendingTasks=E(yu),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=E(il),this.urlSerializer=E(Wo),this.location=E(fs),this.urlHandlingStrategy=E(Qh),this._events=new Yt,this.errorHandler=this.options.errorHandler||Oj,this.navigated=!1,this.routeReuseStrategy=E(Aj),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=E(ni,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!E(tl,{optional:!0}),this.eventsSubscription=new dt,this.isNgZoneEnabled=E(te)instanceof te&&te.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:n=>{this.console.warn(n)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const n=this.navigationTransitions.events.subscribe(r=>{try{const o=this.navigationTransitions.currentTransition,i=this.navigationTransitions.currentNavigation;if(null!==o&&null!==i)if(this.stateManager.handleRouterEvent(r,i),r instanceof Zo&&r.code!==kt.Redirect&&r.code!==kt.SupersededByNewNavigation)this.navigated=!0;else if(r instanceof Vn)this.navigated=!0;else if(r instanceof Rh){const s=this.urlHandlingStrategy.merge(r.url,o.currentRawUrl),a={info:o.extras.info,skipLocationChange:o.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||Tj(o.source)};this.scheduleNavigation(s,Is,null,a,{resolve:o.resolve,reject:o.reject,promise:o.promise})}(function Lj(e){return!(e instanceof Nh||e instanceof Rh)})(r)&&this._events.next(r)}catch(o){this.navigationTransitions.transitionAbortSubject.next(o)}});this.eventsSubscription.add(n)}resetRootComponentType(n){this.routerState.root.component=n,this.navigationTransitions.rootComponentType=n}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Is,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((n,r)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(n,"popstate",r)},0)})}navigateToSyncWithBrowser(n,r,o){const i={replaceUrl:!0},s=o?.navigationId?o:null;if(o){const u={...o};delete u.navigationId,delete u.\u0275routerPageId,0!==Object.keys(u).length&&(i.state=u)}const a=this.parseUrl(n);this.scheduleNavigation(a,r,s,i)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(n){this.config=n.map(Bh),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(n,r={}){const{relativeTo:o,queryParams:i,fragment:s,queryParamsHandling:a,preserveFragment:u}=r,l=u?this.currentUrlTree.fragment:s;let d,c=null;switch(a){case"merge":c={...this.currentUrlTree.queryParams,...i};break;case"preserve":c=this.currentUrlTree.queryParams;break;default:c=i||null}null!==c&&(c=this.removeEmptyProps(c));try{d=xE(o?o.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof n[0]||!n[0].startsWith("/"))&&(n=[]),d=this.currentUrlTree.root}return NE(d,n,c,l??null)}navigateByUrl(n,r={skipLocationChange:!1}){const o=Fr(n)?n:this.parseUrl(n),i=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(i,Is,null,r)}navigate(n,r={skipLocationChange:!1}){return function kj(e){for(let t=0;t<e.length;t++)if(null==e[t])throw new _(4008,!1)}(n),this.navigateByUrl(this.createUrlTree(n,r),r)}serializeUrl(n){return this.urlSerializer.serialize(n)}parseUrl(n){try{return this.urlSerializer.parse(n)}catch{return this.urlSerializer.parse("/")}}isActive(n,r){let o;if(o=!0===r?{...Fj}:!1===r?{...Pj}:r,Fr(n))return CE(this.currentUrlTree,n,o);const i=this.parseUrl(n);return CE(this.currentUrlTree,i,o)}removeEmptyProps(n){return Object.entries(n).reduce((r,[o,i])=>(null!=i&&(r[o]=i),r),{})}scheduleNavigation(n,r,o,i,s){if(this.disposed)return Promise.resolve(!1);let a,u,l;s?(a=s.resolve,u=s.reject,l=s.promise):l=new Promise((d,f)=>{a=d,u=f});const c=this.pendingTasks.add();return ab(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(c))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:n,extras:i,resolve:a,reject:u,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(d=>Promise.reject(d))}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 ub{}let Uj=(()=>{class e{constructor(n,r,o,i,s){this.router=n,this.injector=o,this.preloadingStrategy=i,this.loader=s}setUpPreloading(){this.subscription=this.router.events.pipe(rr(n=>n instanceof Vn),_s(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(n,r){const o=[];for(const i of r){i.providers&&!i._injector&&(i._injector=Cf(i.providers,n,`Route: ${i.path}`));const s=i._injector??n,a=i._loadedInjector??s;(i.loadChildren&&!i._loadedRoutes&&void 0===i.canLoad||i.loadComponent&&!i._loadedComponent)&&o.push(this.preloadConfig(s,i)),(i.children||i._loadedRoutes)&&o.push(this.processRoutes(a,i.children??i._loadedRoutes))}return Ge(o).pipe(ys())}preloadConfig(n,r){return this.preloadingStrategy.preload(r,()=>{let o;o=r.loadChildren&&void 0===r.canLoad?this.loader.loadChildren(n,r):k(null);const i=o.pipe(Xe(s=>null===s?k(void 0):(r._loadedRoutes=s.routes,r._loadedInjector=s.injector,this.processRoutes(s.injector??n,s.routes))));return r.loadComponent&&!r._loadedComponent?Ge([i,this.loader.loadComponent(r)]).pipe(ys()):i})}static#e=this.\u0275fac=function(r){return new(r||e)(O(Qt),O(yC),O(xt),O(ub),O(Zh))};static#t=this.\u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Kh=new S("");let lb=(()=>{class e{constructor(n,r,o,i,s={}){this.urlSerializer=n,this.transitions=r,this.viewportScroller=o,this.zone=i,this.options=s,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},s.scrollPositionRestoration||="disabled",s.anchorScrolling||="disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof Ju?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=n.navigationTrigger,this.restoredId=n.restoredState?n.restoredState.navigationId:0):n instanceof Vn?(this.lastId=n.id,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.urlAfterRedirects).fragment)):n instanceof Qo&&n.code===Xu.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof VE&&(n.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(n.position):n.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(n.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(n,r){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new VE(n,"popstate"===this.lastSource?this.store[this.restoredId]:null,r))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static#e=this.\u0275fac=function(r){!function Ov(){throw new Error("invalid")}()};static#t=this.\u0275prov=T({token:e,factory:e.\u0275fac})}return e})();function yn(e,t){return{\u0275kind:e,\u0275providers:t}}function db(){const e=E(mt);return t=>{const n=e.get(Ar);if(t!==n.components[0])return;const r=e.get(Qt),o=e.get(fb);1===e.get(Jh)&&r.initialNavigation(),e.get(hb,null,q.Optional)?.setUpPreloading(),e.get(Kh,null,q.Optional)?.init(),r.resetRootComponentType(n.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}const fb=new S("",{factory:()=>new Yt}),Jh=new S("",{providedIn:"root",factory:()=>1}),hb=new S("");function Gj(e){return yn(0,[{provide:hb,useExisting:Uj},{provide:ub,useExisting:e}])}function qj(e){return yn(9,[{provide:ob,useValue:Mj},{provide:ib,useValue:{skipNextTransition:!!e?.skipInitialTransition,...e}}])}const pb=new S("ROUTER_FORROOT_GUARD"),Wj=[fs,{provide:Wo,useClass:Mh},Qt,Ms,{provide:Ko,useFactory:function cb(e){return e.routerState.root},deps:[Qt]},Zh,[]];let gb=(()=>{class e{constructor(n){}static forRoot(n,r){return{ngModule:e,providers:[Wj,[],{provide:ni,multi:!0,useValue:n},{provide:pb,useFactory:Kj,deps:[[Qt,new fa,new ha]]},{provide:ti,useValue:r||{}},r?.useHash?{provide:Nr,useClass:cP}:{provide:Nr,useClass:sw},{provide:Kh,useFactory:()=>{const e=E(Nk),t=E(te),n=E(ti),r=E(il),o=E(Wo);return n.scrollOffset&&e.setOffset(n.scrollOffset),new lb(o,r,e,t,n)}},r?.preloadingStrategy?Gj(r.preloadingStrategy).\u0275providers:[],r?.initialNavigation?Jj(r):[],r?.bindToComponentInputs?yn(8,[zE,{provide:tl,useExisting:zE}]).\u0275providers:[],r?.enableViewTransitions?qj().\u0275providers:[],[{provide:mb,useFactory:db},{provide:Of,multi:!0,useExisting:mb}]]}}static forChild(n){return{ngModule:e,providers:[{provide:ni,multi:!0,useValue:n}]}}static#e=this.\u0275fac=function(r){return new(r||e)(O(pb,8))};static#t=this.\u0275mod=Jt({type:e});static#n=this.\u0275inj=Lt({})}return e})();function Kj(e){return"guarded"}function Jj(e){return["disabled"===e.initialNavigation?yn(3,[{provide:Nf,multi:!0,useFactory:()=>{const t=E(Qt);return()=>{t.setUpLocationChangeListener()}}},{provide:Jh,useValue:2}]).\u0275providers:[],"enabledBlocking"===e.initialNavigation?yn(2,[{provide:Jh,useValue:0},{provide:Nf,multi:!0,deps:[mt],useFactory:t=>{const n=t.get(uP,Promise.resolve());return()=>n.then(()=>new Promise(r=>{const o=t.get(Qt),i=t.get(fb);ab(o,()=>{r(!0)}),t.get(il).afterPreactivation=()=>(r(!0),i.closed?k(void 0):i),o.initialNavigation()}))}}]).\u0275providers:[]]}const mb=new S("");let vb=(()=>{class e{constructor(n,r){this._renderer=n,this._elementRef=r,this.onChange=o=>{},this.onTouched=()=>{}}setProperty(n,r){this._renderer.setProperty(this._elementRef.nativeElement,n,r)}registerOnTouched(n){this.onTouched=n}registerOnChange(n){this.onChange=n}setDisabledState(n){this.setProperty("disabled",n)}static#e=this.\u0275fac=function(r){return new(r||e)(C(Mn),C(bt))};static#t=this.\u0275dir=P({type:e})}return e})(),Pr=(()=>{class e extends vb{static#e=this.\u0275fac=(()=>{let n;return function(o){return(n||(n=Be(e)))(o||e)}})();static#t=this.\u0275dir=P({type:e,features:[oe]})}return e})();const _n=new S("NgValueAccessor"),nU={provide:_n,useExisting:ue(()=>sl),multi:!0},oU=new S("CompositionEventMode");let sl=(()=>{class e extends vb{constructor(n,r,o){super(n,r),this._compositionMode=o,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function rU(){const e=er()?er().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(n){this.setProperty("value",n??"")}_handleInput(n){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(n)}_compositionStart(){this._composing=!0}_compositionEnd(n){this._composing=!1,this._compositionMode&&this.onChange(n)}static#e=this.\u0275fac=function(r){return new(r||e)(C(Mn),C(bt),C(oU,8))};static#t=this.\u0275dir=P({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&&he("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:[_e([nU]),oe]})}return e})();const tt=new S("NgValidators"),sr=new S("NgAsyncValidators");function Tb(e){return null!=e}function Ab(e){return os(e)?Ge(e):e}function xb(e){let t={};return e.forEach(n=>{t=null!=n?{...t,...n}:t}),0===Object.keys(t).length?null:t}function Nb(e,t){return t.map(n=>n(e))}function Rb(e){return e.map(t=>function sU(e){return!e.validate}(t)?t:n=>t.validate(n))}function Xh(e){return null!=e?function Ob(e){if(!e)return null;const t=e.filter(Tb);return 0==t.length?null:function(n){return xb(Nb(n,t))}}(Rb(e)):null}function ep(e){return null!=e?function Fb(e){if(!e)return null;const t=e.filter(Tb);return 0==t.length?null:function(n){return function eU(...e){const t=cE(e),{args:n,keys:r}=dE(e),o=new $e(i=>{const{length:s}=n;if(!s)return void i.complete();const a=new Array(s);let u=s,l=s;for(let c=0;c<s;c++){let d=!1;hn(n[c]).subscribe(Fe(i,f=>{d||(d=!0,l--),a[c]=f},()=>u--,void 0,()=>{(!u||!d)&&(l||i.next(r?hE(r,a):a),i.complete())}))}});return t?o.pipe(fE(t)):o}(Nb(n,t).map(Ab)).pipe(ne(xb))}}(Rb(e)):null}function Pb(e,t){return null===e?[t]:Array.isArray(e)?[...e,t]:[e,t]}function tp(e){return e?Array.isArray(e)?e:[e]:[]}function ul(e,t){return Array.isArray(e)?e.includes(t):e===t}function Vb(e,t){const n=tp(t);return tp(e).forEach(o=>{ul(n,o)||n.push(o)}),n}function jb(e,t){return tp(t).filter(n=>!ul(e,n))}class Ub{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(t){this._rawValidators=t||[],this._composedValidatorFn=Xh(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=ep(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t=void 0){this.control&&this.control.reset(t)}hasError(t,n){return!!this.control&&this.control.hasError(t,n)}getError(t,n){return this.control?this.control.getError(t,n):null}}class ct extends Ub{get formDirective(){return null}get path(){return null}}class ar extends Ub{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class $b{constructor(t){this._cd=t}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 Bb=(()=>{class e extends $b{constructor(n){super(n)}static#e=this.\u0275fac=function(r){return new(r||e)(C(ar,2))};static#t=this.\u0275dir=P({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(r,o){2&r&&uu("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:[oe]})}return e})();const Os="VALID",cl="INVALID",ri="PENDING",Fs="DISABLED";function dl(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}class qb{constructor(t,n){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(t),this._assignAsyncValidators(n)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get valid(){return this.status===Os}get invalid(){return this.status===cl}get pending(){return this.status==ri}get disabled(){return this.status===Fs}get enabled(){return this.status!==Fs}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._assignValidators(t)}setAsyncValidators(t){this._assignAsyncValidators(t)}addValidators(t){this.setValidators(Vb(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(Vb(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(jb(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(jb(t,this._rawAsyncValidators))}hasValidator(t){return ul(this._rawValidators,t)}hasAsyncValidator(t){return ul(this._rawAsyncValidators,t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(t=>t.markAllAsTouched())}markAsUntouched(t={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(n=>{n.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}markAsDirty(t={}){this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)}markAsPristine(t={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(n=>{n.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}markAsPending(t={}){this.status=ri,!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}disable(t={}){const n=this._parentMarkedDirty(t.onlySelf);this.status=Fs,this.errors=null,this._forEachChild(r=>{r.disable({...t,onlySelf:!0})}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...t,skipPristineCheck:n}),this._onDisabledChange.forEach(r=>r(!0))}enable(t={}){const n=this._parentMarkedDirty(t.onlySelf);this.status=Os,this._forEachChild(r=>{r.enable({...t,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors({...t,skipPristineCheck:n}),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(t){this._parent=t}getRawValue(){return this.value}updateValueAndValidity(t={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Os||this.status===ri)&&this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(n=>n._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Fs:Os}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=ri,this._hasOwnPendingAsyncValidator=!0;const n=Ab(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(r=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(r,{emitEvent:t})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(t,n={}){this.errors=t,this._updateControlsErrors(!1!==n.emitEvent)}get(t){let n=t;return null==n||(Array.isArray(n)||(n=n.split(".")),0===n.length)?null:n.reduce((r,o)=>r&&r._find(o),this)}getError(t,n){const r=n?this.get(n):this;return r&&r.errors?r.errors[t]:null}hasError(t,n){return!!this.getError(t,n)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)}_initObservables(){this.valueChanges=new Ee,this.statusChanges=new Ee}_calculateStatus(){return this._allControlsDisabled()?Fs:this.errors?cl:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(ri)?ri:this._anyControlsHaveStatus(cl)?cl:Os}_anyControlsHaveStatus(t){return this._anyControls(n=>n.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t={}){this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}_updateTouched(t={}){this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){dl(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(t){return null}_assignValidators(t){this._rawValidators=Array.isArray(t)?t.slice():t,this._composedValidatorFn=function dU(e){return Array.isArray(e)?Xh(e):e||null}(this._rawValidators)}_assignAsyncValidators(t){this._rawAsyncValidators=Array.isArray(t)?t.slice():t,this._composedAsyncValidatorFn=function fU(e){return Array.isArray(e)?ep(e):e||null}(this._rawAsyncValidators)}}const oi=new S("CallSetDisabledState",{providedIn:"root",factory:()=>fl}),fl="always";function Ps(e,t,n=fl){(function ap(e,t){const n=function kb(e){return e._rawValidators}(e);null!==t.validator?e.setValidators(Pb(n,t.validator)):"function"==typeof n&&e.setValidators([n]);const r=function Lb(e){return e._rawAsyncValidators}(e);null!==t.asyncValidator?e.setAsyncValidators(Pb(r,t.asyncValidator)):"function"==typeof r&&e.setAsyncValidators([r]);const o=()=>e.updateValueAndValidity();gl(t._rawValidators,o),gl(t._rawAsyncValidators,o)})(e,t),t.valueAccessor.writeValue(e.value),(e.disabled||"always"===n)&&t.valueAccessor.setDisabledState?.(e.disabled),function gU(e,t){t.valueAccessor.registerOnChange(n=>{e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&Wb(e,t)})}(e,t),function vU(e,t){const n=(r,o)=>{t.valueAccessor.writeValue(r),o&&t.viewToModelUpdate(r)};e.registerOnChange(n),t._registerOnDestroy(()=>{e._unregisterOnChange(n)})}(e,t),function mU(e,t){t.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&Wb(e,t),"submit"!==e.updateOn&&e.markAsTouched()})}(e,t),function pU(e,t){if(t.valueAccessor.setDisabledState){const n=r=>{t.valueAccessor.setDisabledState(r)};e.registerOnDisabledChange(n),t._registerOnDestroy(()=>{e._unregisterOnDisabledChange(n)})}}(e,t)}function gl(e,t){e.forEach(n=>{n.registerOnValidatorChange&&n.registerOnValidatorChange(t)})}function Wb(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function Yb(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function Kb(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}Promise.resolve();const Jb=class extends qb{constructor(t=null,n,r){super(function op(e){return(dl(e)?e.validators:e)||null}(n),function ip(e,t){return(dl(t)?t.asyncValidators:e)||null}(r,n)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(t),this._setUpdateStrategy(n),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),dl(n)&&(n.nonNullable||n.initialValueIsDefault)&&(this.defaultValue=Kb(t)?t.value:t)}setValue(t,n={}){this.value=this._pendingValue=t,this._onChange.length&&!1!==n.emitModelToViewChange&&this._onChange.forEach(r=>r(this.value,!1!==n.emitViewToModelChange)),this.updateValueAndValidity(n)}patchValue(t,n={}){this.setValue(t,n)}reset(t=this.defaultValue,n={}){this._applyFormState(t),this.markAsPristine(n),this.markAsUntouched(n),this.setValue(this.value,n),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){Yb(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){Yb(this._onDisabledChange,t)}_forEachChild(t){}_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(t){Kb(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}},IU={provide:ar,useExisting:ue(()=>fp)},tI=Promise.resolve();let fp=(()=>{class e extends ar{constructor(n,r,o,i,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this.control=new Jb,this._registered=!1,this.name="",this.update=new Ee,this._parent=n,this._setValidators(r),this._setAsyncValidators(o),this.valueAccessor=function cp(e,t){if(!t)return null;let n,r,o;return Array.isArray(t),t.forEach(i=>{i.constructor===sl?n=i:function DU(e){return Object.getPrototypeOf(e.constructor)===Pr}(i)?r=i:o=i}),o||r||n||null}(0,i)}ngOnChanges(n){if(this._checkForErrors(),!this._registered||"name"in n){if(this._registered&&(this._checkName(),this.formDirective)){const r=n.name.previousValue;this.formDirective.removeControl({name:r,path:this._getPath(r)})}this._setUpControl()}"isDisabled"in n&&this._updateDisabled(n),function lp(e,t){if(!e.hasOwnProperty("model"))return!1;const n=e.model;return!!n.isFirstChange()||!Object.is(t,n.currentValue)}(n,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(n){this.viewModel=n,this.update.emit(n)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){Ps(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(n){tI.then(()=>{this.control.setValue(n,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(n){const r=n.isDisabled.currentValue,o=0!==r&&function $o(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}(r);tI.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(n){return this._parent?function hl(e,t){return[...t.path,e]}(n,this._parent):[n]}static#e=this.\u0275fac=function(r){return new(r||e)(C(ct,9),C(tt,10),C(sr,10),C(_n,10),C(ji,8),C(oi,8))};static#t=this.\u0275dir=P({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[ve.None,"disabled","isDisabled"],model:[ve.None,"ngModel","model"],options:[ve.None,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[_e([IU]),oe,At]})}return e})(),rI=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Jt({type:e});static#n=this.\u0275inj=Lt({})}return e})();const kU={provide:_n,useExisting:ue(()=>vl),multi:!0};function cI(e,t){return null==e?`${t}`:(t&&"object"==typeof t&&(t="Object"),`${e}: ${t}`.slice(0,50))}let vl=(()=>{class e extends Pr{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(n){this._compareWith=n}writeValue(n){this.value=n;const o=cI(this._getOptionId(n),n);this.setProperty("value",o)}registerOnChange(n){this.onChange=r=>{this.value=this._getOptionValue(r),n(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(n){for(const r of this._optionMap.keys())if(this._compareWith(this._optionMap.get(r),n))return r;return null}_getOptionValue(n){const r=function LU(e){return e.split(":")[0]}(n);return this._optionMap.has(r)?this._optionMap.get(r):n}static#e=this.\u0275fac=(()=>{let n;return function(o){return(n||(n=Be(e)))(o||e)}})();static#t=this.\u0275dir=P({type:e,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(r,o){1&r&&he("change",function(s){return o.onChange(s.target.value)})("blur",function(){return o.onTouched()})},inputs:{compareWith:"compareWith"},features:[_e([kU]),oe]})}return e})(),dI=(()=>{class e{constructor(n,r,o){this._element=n,this._renderer=r,this._select=o,this._select&&(this.id=this._select._registerOption())}set ngValue(n){null!=this._select&&(this._select._optionMap.set(this.id,n),this._setElementValue(cI(this.id,n)),this._select.writeValue(this._select.value))}set value(n){this._setElementValue(n),this._select&&this._select.writeValue(this._select.value)}_setElementValue(n){this._renderer.setProperty(this._element.nativeElement,"value",n)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static#e=this.\u0275fac=function(r){return new(r||e)(C(bt),C(Mn),C(vl,9))};static#t=this.\u0275dir=P({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return e})();const VU={provide:_n,useExisting:ue(()=>mp),multi:!0};function fI(e,t){return null==e?`${t}`:("string"==typeof t&&(t=`'${t}'`),t&&"object"==typeof t&&(t="Object"),`${e}: ${t}`.slice(0,50))}let mp=(()=>{class e extends Pr{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(n){this._compareWith=n}writeValue(n){let r;if(this.value=n,Array.isArray(n)){const o=n.map(i=>this._getOptionId(i));r=(i,s)=>{i._setSelected(o.indexOf(s.toString())>-1)}}else r=(o,i)=>{o._setSelected(!1)};this._optionMap.forEach(r)}registerOnChange(n){this.onChange=r=>{const o=[],i=r.selectedOptions;if(void 0!==i){const s=i;for(let a=0;a<s.length;a++){const l=this._getOptionValue(s[a].value);o.push(l)}}else{const s=r.options;for(let a=0;a<s.length;a++){const u=s[a];if(u.selected){const l=this._getOptionValue(u.value);o.push(l)}}}this.value=o,n(o)}}_registerOption(n){const r=(this._idCounter++).toString();return this._optionMap.set(r,n),r}_getOptionId(n){for(const r of this._optionMap.keys())if(this._compareWith(this._optionMap.get(r)._value,n))return r;return null}_getOptionValue(n){const r=function jU(e){return e.split(":")[0]}(n);return this._optionMap.has(r)?this._optionMap.get(r)._value:n}static#e=this.\u0275fac=(()=>{let n;return function(o){return(n||(n=Be(e)))(o||e)}})();static#t=this.\u0275dir=P({type:e,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(r,o){1&r&&he("change",function(s){return o.onChange(s.target)})("blur",function(){return o.onTouched()})},inputs:{compareWith:"compareWith"},features:[_e([VU]),oe]})}return e})(),hI=(()=>{class e{constructor(n,r,o){this._element=n,this._renderer=r,this._select=o,this._select&&(this.id=this._select._registerOption(this))}set ngValue(n){null!=this._select&&(this._value=n,this._setElementValue(fI(this.id,n)),this._select.writeValue(this._select.value))}set value(n){this._select?(this._value=n,this._setElementValue(fI(this.id,n)),this._select.writeValue(this._select.value)):this._setElementValue(n)}_setElementValue(n){this._renderer.setProperty(this._element.nativeElement,"value",n)}_setSelected(n){this._renderer.setProperty(this._element.nativeElement,"selected",n)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static#e=this.\u0275fac=function(r){return new(r||e)(C(bt),C(Mn),C(mp,9))};static#t=this.\u0275dir=P({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return e})(),ZU=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Jt({type:e});static#n=this.\u0275inj=Lt({imports:[rI]})}return e})(),YU=(()=>{class e{static withConfig(n){return{ngModule:e,providers:[{provide:oi,useValue:n.callSetDisabledState??fl}]}}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Jt({type:e});static#n=this.\u0275inj=Lt({imports:[ZU]})}return e})();function KU(e,t){if(1&e){const n=Ot();b(0,"button",19),he("click",function(){return ot(n),it(K(2).toggleSelfEmploymentIncome())}),M(1,"Add"),I()}2&e&&Y("disabled",K(2).taxesCalculated)}function JU(e,t){if(1&e){const n=Ot();b(0,"input",16),he("ngModelChange",function(o){return ot(n),it(K(2).self_employment_income=o)}),I()}if(2&e){const n=K(2);Y("disabled",n.taxesCalculated)("ngModel",n.self_employment_income)}}function XU(e,t){if(1&e){const n=Ot();b(0,"button",19),he("click",function(){return ot(n),it(K(2).toggleRetirementContributions())}),M(1,"Add"),I()}2&e&&Y("disabled",K(2).taxesCalculated)}function e$(e,t){if(1&e){const n=Ot();b(0,"input",16),he("ngModelChange",function(o){return ot(n),it(K(2).traditional_retirement_contributions=o)}),I()}if(2&e){const n=K(2);Y("disabled",n.taxesCalculated)("ngModel",n.traditional_retirement_contributions)}}function t$(e,t){if(1&e){const n=Ot();b(0,"button",19),he("click",function(){return ot(n),it(K(2).toggleHSAContributions())}),M(1,"Add"),I()}2&e&&Y("disabled",K(2).taxesCalculated)}function n$(e,t){if(1&e){const n=Ot();b(0,"input",16),he("ngModelChange",function(o){return ot(n),it(K(2).hsa_contributions=o)}),I()}if(2&e){const n=K(2);Y("disabled",n.taxesCalculated)("ngModel",n.hsa_contributions)}}function r$(e,t){if(1&e){const n=Ot();b(0,"button",19),he("click",function(){return ot(n),it(K(2).toggleInsurancePremiums())}),M(1,"Add"),I()}2&e&&Y("disabled",K(2).taxesCalculated)}function o$(e,t){if(1&e){const n=Ot();b(0,"input",16),he("ngModelChange",function(o){return ot(n),it(K(2).insurance_premiums=o)}),I()}if(2&e){const n=K(2);Y("disabled",n.taxesCalculated)("ngModel",n.insurance_premiums)}}function i$(e,t){if(1&e){const n=Ot();b(0,"div")(1,"div",13)(2,"div",14)(3,"h3"),M(4,"Tax Year"),I()(),b(5,"div",9)(6,"select",15),he("ngModelChange",function(o){return ot(n),it(K().tax_year=o)}),b(7,"option"),M(8,"2024"),I(),b(9,"option"),M(10,"2023"),I(),b(11,"option"),M(12,"2022"),I()()()(),b(13,"div",13)(14,"div",14)(15,"h3"),M(16,"Filing Status"),I()(),b(17,"div",9)(18,"select",15),he("ngModelChange",function(o){return ot(n),it(K().filing_status=o)}),b(19,"option"),M(20,"Single"),I(),b(21,"option"),M(22,"Married Filing Jointly"),I(),b(23,"option"),M(24,"Married Filing Separately"),I()()()(),b(25,"div",13)(26,"div",14)(27,"h3"),M(28,"Gross Income"),I()(),b(29,"div",9)(30,"input",16),he("ngModelChange",function(o){return ot(n),it(K().gross_income=o)}),I()()(),b(31,"div",13)(32,"div",14)(33,"h3"),M(34,"State"),I()(),b(35,"div",9)(36,"select",15),he("ngModelChange",function(o){return ot(n),it(K().filing_state=o)}),b(37,"option"),M(38,"WV"),I()()()(),b(39,"div",13)(40,"div",14)(41,"h3"),M(42,"Self Employment Income"),I()(),b(43,"div",9),yt(44,KU,2,1,"button",17)(45,JU,1,2,"input",18),I()(),b(46,"div",13)(47,"div",14)(48,"h3"),M(49,"401K (Traditional)"),I()(),b(50,"div",9),yt(51,XU,2,1,"button",17)(52,e$,1,2,"input",18),I()(),b(53,"div",13)(54,"div",14)(55,"h3"),M(56,"HSA Contributions"),I()(),b(57,"div",9),yt(58,t$,2,1,"button",17)(59,n$,1,2,"input",18),I()(),b(60,"div",13)(61,"div",14)(62,"h3"),M(63,"Insurance Premiums"),I()(),b(64,"div",9),yt(65,r$,2,1,"button",17)(66,o$,1,2,"input",18),I()()()}if(2&e){const n=K();B(6),Y("disabled",n.taxesCalculated)("ngModel",n.tax_year),B(12),Y("disabled",n.taxesCalculated)("ngModel",n.filing_status),B(12),Y("disabled",n.taxesCalculated)("ngModel",n.gross_income),B(6),Y("disabled",!0)("ngModel",n.filing_state),B(8),Y("ngIf",!n.hasSelfEmploymentIncome),B(),Y("ngIf",n.hasSelfEmploymentIncome),B(6),Y("ngIf",!n.hasRetirementContributions),B(),Y("ngIf",n.hasRetirementContributions),B(6),Y("ngIf",!n.hasHSAContributions),B(),Y("ngIf",n.hasHSAContributions),B(6),Y("ngIf",!n.hasInsurancePremiums),B(),Y("ngIf",n.hasInsurancePremiums)}}function s$(e,t){if(1&e){const n=Ot();b(0,"div",20)(1,"div",21)(2,"button",22),he("click",function(){return ot(n),it(K().calculateTaxes())}),M(3,"Calculate Taxes"),I()()()}if(2&e){const n=K();B(2),Y("disabled",!(n.tax_year&&n.gross_income&&n.filing_status&&n.filing_state))}}function a$(e,t){if(1&e&&(b(0,"div",25)(1,"div",26)(2,"div",9)(3,"h3"),M(4,"Self Employment Income: "),I()(),b(5,"div",9)(6,"h3"),M(7),pe(8,"currency"),I()()()()),2&e){const n=K(2);B(7),xn(He(8,1,n.self_employment_income,"USD","symbol","1.0-0"))}}function u$(e,t){if(1&e&&(b(0,"div",25)(1,"div",26)(2,"div",9)(3,"h3"),M(4,"Trad. 401k Deduction: "),I()(),b(5,"div",9)(6,"h3"),M(7),pe(8,"currency"),I()()()()),2&e){const n=K(2);B(7),Jn("-",He(8,1,n.traditional_retirement_contributions,"USD","symbol","1.0-0"),"")}}function l$(e,t){if(1&e&&(b(0,"div",25)(1,"div",26)(2,"div",9)(3,"h3"),M(4,"HSA Deduction: "),I()(),b(5,"div",9)(6,"h3"),M(7),pe(8,"currency"),I()()()()),2&e){const n=K(2);B(7),Jn("-",He(8,1,n.hsa_contributions,"USD","symbol","1.0-0"),"")}}function c$(e,t){if(1&e&&(b(0,"div",25)(1,"div",26)(2,"div",9)(3,"h3"),M(4,"Insurance Premiums: "),I()(),b(5,"div",9)(6,"h3"),M(7),pe(8,"currency"),I()()()()),2&e){const n=K(2);B(7),Jn("-",He(8,1,n.insurance_premiums,"USD","symbol","1.0-0"),"")}}function d$(e,t){if(1&e&&(b(0,"div",25)(1,"div",26)(2,"div",9)(3,"h3"),M(4,"401k Contributions: "),I()(),b(5,"div",9)(6,"h3"),M(7),pe(8,"currency"),pe(9,"percent"),I()()()()),2&e){const n=K(2);let r;B(7),fn("-",He(8,2,n.traditional_retirement_contributions,"USD","symbol","1.0-0")," (",Nn(9,7,(null!==(r=n.traditional_retirement_contributions)&&void 0!==r?r:0)/(null!==(r=n.gross_income)&&void 0!==r?r:0),"1.2-2"),")")}}function f$(e,t){if(1&e&&(b(0,"div",25)(1,"div",26)(2,"div",9)(3,"h3"),M(4,"HSA Contributions: "),I()(),b(5,"div",9)(6,"h3"),M(7),pe(8,"currency"),pe(9,"percent"),I()()()()),2&e){const n=K(2);let r;B(7),fn("-",He(8,2,n.hsa_contributions,"USD","symbol","1.0-0")," (",Nn(9,7,(null!==(r=n.hsa_contributions)&&void 0!==r?r:0)/(null!==(r=n.gross_income)&&void 0!==r?r:0),"1.2-2"),")")}}function h$(e,t){if(1&e){const n=Ot();b(0,"div",23)(1,"div",21)(2,"h2",24),M(3,"Taxable Income:"),I(),b(4,"div",25)(5,"div",26)(6,"div",9)(7,"h3"),M(8,"Gross Income: "),I()(),b(9,"div",9)(10,"h3"),M(11),pe(12,"currency"),I()()()(),yt(13,a$,9,6,"div",27),b(14,"h2",24),M(15,"Deductions:"),I(),b(16,"div",25)(17,"div",26)(18,"div",9)(19,"h3"),M(20,"Standard Deduction: "),I()(),b(21,"div",9)(22,"h3"),M(23),pe(24,"currency"),I()()()(),yt(25,u$,9,6,"div",27)(26,l$,9,6,"div",27)(27,c$,9,6,"div",27),b(28,"h2",24),M(29,"Taxable Income:"),I(),b(30,"div",25)(31,"div",26)(32,"div",9)(33,"h3"),M(34,"Taxable Income: "),I()(),b(35,"div",9)(36,"h3"),M(37),pe(38,"currency"),I()()()(),Po(39,"hr"),b(40,"h2",24),M(41,"Estimated Taxes:"),I(),b(42,"div",25)(43,"div",26)(44,"div",9)(45,"h3"),M(46,"Federal Taxes: "),I()(),b(47,"div",9)(48,"h3"),M(49),pe(50,"currency"),pe(51,"percent"),I()()()(),b(52,"div",25)(53,"div",26)(54,"div",9)(55,"h3"),M(56,"State Taxes: "),I()(),b(57,"div",9)(58,"h3"),M(59),pe(60,"currency"),pe(61,"percent"),I()()()(),b(62,"div",25)(63,"div",26)(64,"div",9)(65,"h3"),M(66,"Social Security Taxes: "),I()(),b(67,"div",9)(68,"h3"),M(69),pe(70,"currency"),pe(71,"percent"),I()()()(),b(72,"div",25)(73,"div",26)(74,"div",9)(75,"h3"),M(76,"Medicare Taxes: "),I()(),b(77,"div",9)(78,"h3"),M(79),pe(80,"currency"),pe(81,"percent"),I()()()(),b(82,"div",28)(83,"div",26)(84,"div",9)(85,"h3"),M(86,"Employer FICA Contrubtions: "),I()(),b(87,"div",9)(88,"h3"),M(89),pe(90,"currency"),I()()()(),Po(91,"hr"),b(92,"h2",24),M(93,"Summary Breakdown:"),I(),b(94,"div",25)(95,"div",26)(96,"div",9)(97,"h3"),M(98,"Total Income: "),I()(),b(99,"div",9)(100,"h3"),M(101),pe(102,"currency"),I()()()(),b(103,"div",25)(104,"div",26)(105,"div",9)(106,"h3"),M(107,"Total Taxes: "),I()(),b(108,"div",9)(109,"h3"),M(110),pe(111,"currency"),pe(112,"percent"),I()()()(),yt(113,d$,10,10,"div",27)(114,f$,10,10,"div",27),b(115,"div",25)(116,"div",26)(117,"div",9)(118,"h3"),M(119,"Net Income: "),I()(),b(120,"div",9)(121,"h3"),M(122),pe(123,"currency"),pe(124,"percent"),I()()()(),b(125,"button",29),he("click",function(){return ot(n),it(K().resetData())}),M(126,"Reset"),I()()()}if(2&e){const n=K();let r,o,i,s,a,u;B(11),xn(He(12,23,n.gross_income,"USD","symbol","1.0-0")),B(2),Y("ngIf",n.self_employment_income),B(10),Jn("-",He(24,28,n.standard_deduction,"USD","symbol","1.0-0"),""),B(2),Y("ngIf",n.hasRetirementContributions),B(),Y("ngIf",n.hasHSAContributions),B(),Y("ngIf",n.hasInsurancePremiums),B(10),xn(He(38,33,n.taxable_income,"USD","symbol","1.0-0")),B(12),fn("",He(50,38,n.estimated_taxes,"USD","symbol","1.0-0")," (",Nn(51,43,(null!==(r=n.estimated_taxes)&&void 0!==r?r:0)/(null!==(r=n.taxable_income)&&void 0!==r?r:0),"1.2-2"),")"),B(10),fn("",He(60,46,n.estimated_state_taxes,"USD","symbol","1.0-0")," (",Nn(61,51,(null!==(o=n.estimated_state_taxes)&&void 0!==o?o:0)/(null!==(o=n.taxable_income)&&void 0!==o?o:0),"1.2-2"),")"),B(10),fn("",He(70,54,n.estimated_social_security_taxes,"USD","symbol","1.0-0")," (",Nn(71,59,(null!==(i=n.estimated_social_security_taxes)&&void 0!==i?i:0)/(null!==(i=n.taxable_income)&&void 0!==i?i:0),"1.2-2"),")"),B(10),fn("",He(80,62,n.estimated_medicare_taxes,"USD","symbol","1.0-0")," (",Nn(81,67,(null!==(s=n.estimated_medicare_taxes)&&void 0!==s?s:0)/(null!==(s=n.taxable_income)&&void 0!==s?s:0),"1.2-2"),")"),B(10),Jn("-",He(90,70,n.estimated_employer_fica_contribution,"USD","symbol","1.0-0"),""),B(12),xn(He(102,75,n.gross_income,"USD","symbol","1.0-0")),B(9),fn("-",He(111,80,n.estimated_total_taxes,"USD","symbol","1.0-0")," (",Nn(112,85,(null!==(a=n.estimated_total_taxes)&&void 0!==a?a:0)/(null!==(a=n.gross_income)&&void 0!==a?a:0),"1.2-2"),")"),B(3),Y("ngIf",n.hasRetirementContributions),B(),Y("ngIf",n.hasHSAContributions),B(8),fn("",He(123,88,n.estimated_net_income,"USD","symbol","1.0-0")," (",Nn(124,93,(null!==(u=n.estimated_net_income)&&void 0!==u?u:0)/(null!==(u=n.gross_income)&&void 0!==u?u:0),"1.2-2"),")")}}let EI=(()=>{class e{constructor(){this.taxesCalculated=!1,this.hasSelfEmploymentIncome=!1,this.hasRetirementContributions=!1,this.hasHSAContributions=!1,this.hasInsurancePremiums=!1}ngOnInit(){this.filing_state="WV",this.tax_year=2024}updateStandardDeduction(){if(2024==this.tax_year)switch(this.filing_status){case"Single":case"Married Filing Separately":this.standard_deduction=14600;break;case"Married Filing Jointly":this.standard_deduction=29200}if(2023==this.tax_year)switch(this.filing_status){case"Single":case"Married Filing Separately":this.standard_deduction=13850;break;case"Married Filing Jointly":this.standard_deduction=27700}if(2022==this.tax_year)switch(this.filing_status){case"Single":case"Married Filing Separately":this.standard_deduction=12950;break;case"Married Filing Jointly":this.standard_deduction=25900}}updateTaxableIncome(){this.gross_income&&this.standard_deduction&&(this.self_employment_income?(this.taxable_income=+this.gross_income+ +this.self_employment_income-this.standard_deduction-(this.traditional_retirement_contributions??0)-(this.hsa_contributions??0)-(this.insurance_premiums??0),this.state_taxable_income=+this.gross_income+ +this.self_employment_income-2e3-(this.traditional_retirement_contributions??0)-(this.hsa_contributions??0)-(this.insurance_premiums??0)):(this.taxable_income=this.gross_income-this.standard_deduction-(this.traditional_retirement_contributions??0)-(this.hsa_contributions??0)-(this.insurance_premiums??0),this.state_taxable_income=this.gross_income-2e3-(this.traditional_retirement_contributions??0)-(this.hsa_contributions??0)-(this.insurance_premiums??0)))}toggleSelfEmploymentIncome(){this.hasSelfEmploymentIncome=!0}toggleRetirementContributions(){this.hasRetirementContributions=!0}toggleHSAContributions(){this.hasHSAContributions=!0}toggleInsurancePremiums(){this.hasInsurancePremiums=!0}calculateTaxes(){if(this.updateStandardDeduction(),this.updateTaxableIncome(),console.log(this.gross_income),console.log(this.standard_deduction),console.log(this.taxable_income),console.log(this.gross_income),console.log(this.state_taxable_income),console.log(this.filing_status),console.log(this.tax_year),console.log(this.self_employment_income),this.taxable_income){if(this.hasSelfEmploymentIncome&&!this.self_employment_income&&(this.hasSelfEmploymentIncome=!1),this.hasRetirementContributions&&!this.traditional_retirement_contributions&&(this.hasRetirementContributions=!1),this.hasHSAContributions&&!this.hsa_contributions&&(this.hasHSAContributions=!1),this.hasInsurancePremiums&&!this.insurance_premiums&&(this.hasInsurancePremiums=!1),this.taxesCalculated=!0,this.calculateStateTaxes(),this.calculateFica(),2024==this.tax_year)if("Single"==this.filing_status||"Married Filing Separately"==this.filing_status){if(!(this.taxable_income>11600))return this.estimated_taxes=Math.round(.1*this.taxable_income),void this.calculateTotalTaxes();if(this.estimated_taxes=1160,!(this.taxable_income>44725))return this.estimated_taxes+=Math.round(.12*(this.taxable_income-11600)),void this.calculateTotalTaxes();if(this.estimated_taxes+=4266,!(this.taxable_income>100525))return this.estimated_taxes+=Math.round(.22*(this.taxable_income-47149)),void this.calculateTotalTaxes();if(this.estimated_taxes+=11743,!(this.taxable_income>191950))return this.estimated_taxes+=Math.round(.24*(this.taxable_income-100525)),void this.calculateTotalTaxes();this.estimated_taxes+=21942}else if("Married Filing Jointly"==this.filing_status){if(!(this.taxable_income>22e3))return this.estimated_taxes=Math.round(.1*this.taxable_income),void this.calculateTotalTaxes();if(this.estimated_taxes=2200,!(this.taxable_income>89450))return this.estimated_taxes+=Math.round(.12*(this.taxable_income-22e3)),void this.calculateTotalTaxes();if(this.estimated_taxes+=8094,!(this.taxable_income>190750))return this.estimated_taxes+=Math.round(.22*(this.taxable_income-89450)),void this.calculateTotalTaxes();if(this.estimated_taxes+=22286,!(this.taxable_income>364200))return this.estimated_taxes+=Math.round(.24*(this.taxable_income-190750)),void this.calculateTotalTaxes();this.estimated_taxes+=41628}if(2023==this.tax_year)if("Single"==this.filing_status||"Married Filing Separately"==this.filing_status){if(!(this.taxable_income>11e3))return this.estimated_taxes=Math.round(.1*this.taxable_income),void this.calculateTotalTaxes();if(this.estimated_taxes=1100,!(this.taxable_income>44725))return this.estimated_taxes+=Math.round(.12*(this.taxable_income-11e3)),void this.calculateTotalTaxes();if(this.estimated_taxes+=4047,!(this.taxable_income>95375))return this.estimated_taxes+=Math.round(.22*(this.taxable_income-44725)),void this.calculateTotalTaxes();if(this.estimated_taxes+=11143,!(this.taxable_income>182100))return this.estimated_taxes+=Math.round(.24*(this.taxable_income-95375)),void this.calculateTotalTaxes();this.estimated_taxes+=20814}else if("Married Filing Jointly"==this.filing_status){if(!(this.taxable_income>22e3))return this.estimated_taxes=Math.round(.1*this.taxable_income),void this.calculateTotalTaxes();if(this.estimated_taxes=2200,!(this.taxable_income>89450))return this.estimated_taxes+=Math.round(.12*(this.taxable_income-22e3)),void this.calculateTotalTaxes();if(this.estimated_taxes+=8094,!(this.taxable_income>190750))return this.estimated_taxes+=Math.round(.22*(this.taxable_income-89450)),void this.calculateTotalTaxes();if(this.estimated_taxes+=22286,!(this.taxable_income>364200))return this.estimated_taxes+=Math.round(.24*(this.taxable_income-190750)),void this.calculateTotalTaxes();this.estimated_taxes+=41628}if(2022==this.tax_year)if("Single"==this.filing_status||"Married Filing Separately"==this.filing_status){if(!(this.taxable_income>10275))return this.estimated_taxes=Math.round(.1*this.taxable_income),void this.calculateTotalTaxes();if(this.estimated_taxes=1027.5,!(this.taxable_income>41775))return this.estimated_taxes+=Math.round(.12*(this.taxable_income-10275)),void this.calculateTotalTaxes();if(this.estimated_taxes+=3780,!(this.taxable_income>89075))return this.estimated_taxes+=Math.round(.22*(this.taxable_income-41775)),void this.calculateTotalTaxes();if(this.estimated_taxes+=10406,!(this.taxable_income>170050))return this.estimated_taxes+=Math.round(.24*(this.taxable_income-89075)),void this.calculateTotalTaxes();this.estimated_taxes+=19434}else if("Married Filing Jointly"==this.filing_status){if(!(this.taxable_income>20550))return this.estimated_taxes=Math.round(.1*this.taxable_income),void this.calculateTotalTaxes();if(this.estimated_taxes=2055,!(this.taxable_income>83550))return this.estimated_taxes+=Math.round(.12*(this.taxable_income-20550)),void this.calculateTotalTaxes();if(this.estimated_taxes+=7560,!(this.taxable_income>178150))return this.estimated_taxes+=Math.round(.22*(this.taxable_income-83550)),void this.calculateTotalTaxes();if(this.estimated_taxes+=20812,!(this.taxable_income>340100))return this.estimated_taxes+=Math.round(.24*(this.taxable_income-178150)),void this.calculateTotalTaxes();this.estimated_taxes+=38868}}}calculateStateTaxes(){if(this.state_taxable_income){if(2024==this.tax_year){if(!(this.state_taxable_income>1e4))return void(this.estimated_state_taxes=Math.round(.0236*this.state_taxable_income));if(this.estimated_state_taxes=236,!(this.state_taxable_income>25e3))return void(this.estimated_state_taxes+=Math.round(.0315*(this.state_taxable_income-1e4)));if(this.estimated_state_taxes+=472.5,!(this.state_taxable_income>4e4))return void(this.estimated_state_taxes+=Math.round(.0354*(this.state_taxable_income-25e3)));if(this.estimated_state_taxes+=531,!(this.state_taxable_income>6e4))return void(this.estimated_state_taxes+=Math.round(.0472*(this.state_taxable_income-6e4)));this.estimated_state_taxes+=944,this.estimated_state_taxes+=Math.round(.0512*(this.state_taxable_income-6e4))}if(2023==this.tax_year){if(!(this.state_taxable_income>5e3))return void(this.estimated_state_taxes=Math.round(.0236*this.state_taxable_income));if(this.estimated_state_taxes=118,!(this.state_taxable_income>12500))return void(this.estimated_state_taxes+=Math.round(.0315*(this.state_taxable_income-5e3)));if(this.estimated_state_taxes+=236.25,!(this.state_taxable_income>2e4))return void(this.estimated_state_taxes+=Math.round(.0354*(this.state_taxable_income-12500)));if(this.estimated_state_taxes+=265.5,!(this.state_taxable_income>3e4))return void(this.estimated_state_taxes+=Math.round(.0472*(this.state_taxable_income-2e4)));this.estimated_state_taxes+=472,this.estimated_state_taxes+=Math.round(.0512*(this.state_taxable_income-3e4))}}}calculateFica(){this.gross_income&&(this.estimated_social_security_taxes=.062*this.gross_income,this.estimated_medicare_taxes=.0145*this.gross_income,this.self_employment_income&&(this.estimated_self_employed_social_security_taxes=.124*this.self_employment_income,this.estimated_self_employed_medicare_taxes=.029*this.self_employment_income,this.estimated_social_security_taxes+=this.estimated_self_employed_social_security_taxes,this.estimated_medicare_taxes+=this.estimated_self_employed_medicare_taxes))}calculateTotalTaxes(){this.gross_income&&(this.estimated_total_taxes=(this.estimated_state_taxes??0)+(this.estimated_social_security_taxes??0)+(this.estimated_medicare_taxes??0)+(this.estimated_taxes??0),this.estimated_net_income=this.gross_income-this.estimated_total_taxes-(this.hsa_contributions??0)-(this.traditional_retirement_contributions??0))}resetData(){this.estimated_net_income=void 0,this.estimated_taxes=void 0,this.estimated_total_taxes=void 0,this.estimated_state_taxes=void 0,this.estimated_social_security_taxes=void 0,this.estimated_medicare_taxes=void 0,this.estimated_self_employed_social_security_taxes=void 0,this.estimated_self_employed_medicare_taxes=void 0,this.estimated_employer_fica_contribution=void 0,this.taxesCalculated=!1,this.self_employment_income||(this.hasSelfEmploymentIncome=!1),this.traditional_retirement_contributions||(this.hasRetirementContributions=!1),this.hsa_contributions||(this.hasHSAContributions=!1),this.insurance_premiums||(this.hasInsurancePremiums=!1)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=Zs({type:e,selectors:[["app-tax-calculator"]],decls:40,vars:6,consts:[[1,"col-12","offset-0","col-md-6","offset-md-3"],[1,"container","my-3","pt-3","border","shadow"],[1,"row","border-bottom"],[1,"col-12","text-center","p-2"],[1,"row","py-1"],[4,"ngIf"],[1,"d-none"],[1,"row","my-2"],[1,"col-8"],[1,"col"],[1,"form-control","bg-secondary","text-white"],["class","row border-top mt-2",4,"ngIf"],["class","row mt-1",4,"ngIf"],[1,"row","my-1"],[1,"col-7"],[1,"form-select","w-75","m-auto","text-center",3,"disabled","ngModel","ngModelChange"],["type","tel","step","1000",1,"text-center","w-75","m-auto","form-control",3,"disabled","ngModel","ngModelChange"],["class","btn btn-success w-50",3,"disabled","click",4,"ngIf"],["type","tel","step","1000","class","text-center w-75 m-auto form-control",3,"disabled","ngModel","ngModelChange",4,"ngIf"],[1,"btn","btn-success","w-50",3,"disabled","click"],[1,"row","border-top","mt-2"],[1,"col-10","m-auto","py-3"],[1,"btn","w-100","btn-success","p-2","fs-3",3,"disabled","click"],[1,"row","mt-1"],[1,"text-start","text-decoration-underline"],[1,"w-100"],[1,"row","py-3"],["class","w-100",4,"ngIf"],[1,"w-100","d-none"],[1,"btn","w-100","btn-danger","p-2","fs-4",3,"click"]],template:function(r,o){1&r&&(b(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"h1"),M(5,"Tax Estimator Calculator"),I()()(),b(6,"div",4)(7,"div",3),yt(8,i$,67,16,"div",5),b(9,"div",6)(10,"div",7)(11,"div",8)(12,"h3"),M(13,"Standard Deduction"),I()(),b(14,"div",9)(15,"label",10),M(16),I()()(),b(17,"div",7)(18,"div",8)(19,"h3"),M(20,"Federal Taxable Income"),I()(),b(21,"div",9)(22,"label",10),M(23),I()()(),b(24,"div",7)(25,"div",8)(26,"h3"),M(27,"Standard Deduction (WV)"),I()(),b(28,"div",9)(29,"label",10),M(30,"2000"),I()()(),b(31,"div",7)(32,"div",8)(33,"h3"),M(34,"State Taxable Income"),I()(),b(35,"div",9)(36,"label",10),M(37),I()()()(),yt(38,s$,4,1,"div",11)(39,h$,127,96,"div",12),I()()()()),2&r&&(B(8),Y("ngIf",!o.taxesCalculated),B(8),xn(o.standard_deduction),B(7),xn(o.taxable_income),B(14),xn(o.state_taxable_income),B(),Y("ngIf",!o.taxesCalculated),B(),Y("ngIf",o.taxesCalculated))},dependencies:[_w,dI,hI,sl,vl,Bb,fp,Ew,bw],styles:["@media only screen and (max-width: 500px){.container[_ngcontent-%COMP%]{border:0px!important;margin-top:0!important}}"]})}return e})();const p$=[{path:"",component:EI,data:{title:"Home"}},{path:"calculator",component:EI,data:{title:"Home"}}];let g$=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Jt({type:e});static#n=this.\u0275inj=Lt({imports:[gb.forRoot(p$),gb]})}return e})(),m$=(()=>{class e{constructor(){this.title="td-calc"}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=Zs({type:e,selectors:[["app-root"]],decls:1,vars:0,template:function(r,o){1&r&&Po(0,"router-outlet")},dependencies:[Uh]})}return e})(),v$=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Jt({type:e,bootstrap:[m$]});static#n=this.\u0275inj=Lt({imports:[ML,g$,YU]})}return e})();bL().bootstrapModule(v$).catch(e=>console.error(e))}},_l=>{_l(_l.s=753)}]);