From 4c81d39be7eb0af6f42eb7974a965b78f6367fed Mon Sep 17 00:00:00 2001 From: SondreB Date: Sun, 17 Nov 2024 17:57:16 +0000 Subject: [PATCH] Auto-generated commit Triggered by commit: https://github.com/sondreb/blur/commit/c5aa76695feeaf69b8c33263f04e2d6ece84d5f3 --- 404.html | 2 +- index.html | 2 +- main-UDCRRYV7.js => main-JGT3P5UO.js | 2 +- ngsw.json | 8 ++++---- 4 files changed, 7 insertions(+), 7 deletions(-) rename main-UDCRRYV7.js => main-JGT3P5UO.js (98%) diff --git a/404.html b/404.html index 1a37d39..bfd8f2d 100644 --- a/404.html +++ b/404.html @@ -13,5 +13,5 @@ - + diff --git a/index.html b/index.html index 1a37d39..bfd8f2d 100644 --- a/index.html +++ b/index.html @@ -13,5 +13,5 @@ - + diff --git a/main-UDCRRYV7.js b/main-JGT3P5UO.js similarity index 98% rename from main-UDCRRYV7.js rename to main-JGT3P5UO.js index c9055e2..5fbe0d4 100644 --- a/main-UDCRRYV7.js +++ b/main-JGT3P5UO.js @@ -4,4 +4,4 @@ ${n.map((r,i)=>`${i+1}) ${r.toString()}`).join(` `);return n===-1?t:t.substring(0,n)}function Kl(e,t){return e==null||e===""?t===null?"":t:t==null||t===""?e:e+" "+t}var im=B({__forward_ref__:B});function Pn(e){return e.__forward_ref__=Pn,e.toString=function(){return de(this())},e}function ue(e){return Fd(e)?e():e}function Fd(e){return typeof e=="function"&&e.hasOwnProperty(im)&&e.__forward_ref__===Pn}function w(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Ct(e){return{providers:e.providers||[],imports:e.imports||[]}}function xo(e){return Jl(e,kd)||Jl(e,Ld)}function Pd(e){return xo(e)!==null}function Jl(e,t){return e.hasOwnProperty(t)?e[t]:null}function om(e){let t=e&&(e[kd]||e[Ld]);return t||null}function Xl(e){return e&&(e.hasOwnProperty(ed)||e.hasOwnProperty(sm))?e[ed]:null}var kd=B({\u0275prov:B}),ed=B({\u0275inj:B}),Ld=B({ngInjectableDef:B}),sm=B({ngInjectorDef:B}),C=class{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=w({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Vd(e){return e&&!!e.\u0275providers}var am=B({\u0275cmp:B}),um=B({\u0275dir:B}),cm=B({\u0275pipe:B}),lm=B({\u0275mod:B}),no=B({\u0275fac:B}),gr=B({__NG_ELEMENT_ID__:B}),td=B({__NG_ENV_ID__:B});function jd(e){return typeof e=="string"?e:e==null?"":String(e)}function dm(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():jd(e)}function fm(e,t){let n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new D(-200,e)}function du(e,t){throw new D(-201,!1)}var x=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}(x||{}),Ma;function Bd(){return Ma}function ye(e){let t=Ma;return Ma=e,t}function Ud(e,t,n){let r=xo(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&x.Optional)return null;if(t!==void 0)return t;du(e,"Injector")}var hm={},mr=hm,pm="__NG_DI_FLAG__",ro="ngTempTokenPath",gm="ngTokenPath",mm=/\n/gm,vm="\u0275",nd="__source",Cn;function ym(){return Cn}function pt(e){let t=Cn;return Cn=e,t}function Dm(e,t=x.Default){if(Cn===void 0)throw new D(-203,!1);return Cn===null?Ud(e,void 0,t):Cn.get(e,t&x.Optional?null:void 0,t)}function O(e,t=x.Default){return(Bd()||Dm)(ue(e),t)}function m(e,t=x.Default){return O(e,To(t))}function To(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Sa(e){let t=[];for(let n=0;n ");else if(typeof t=="object"){let o=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];o.push(s+":"+(typeof a=="string"?JSON.stringify(a):de(a)))}i=`{${o.join(", ")}}`}return`${n}${r?"("+r+")":""}[${i}]: ${e.replace(mm,` - `)}`}function En(e,t){let n=e.hasOwnProperty(no);return n?e[no]:null}function fu(e,t){e.forEach(n=>Array.isArray(n)?fu(n,t):t(n))}function $d(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function io(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Im(e,t,n,r){let i=e.length;if(i==t)e.push(n,r);else if(i===1)e.push(r,e[0]),e[0]=n;else{for(i--,e.push(e[i-1],e[i]);i>t;){let o=i-2;e[i]=e[o],i--}e[t]=n,e[t+1]=r}}function bm(e,t,n){let r=Ir(e,t);return r>=0?e[r|1]=n:(r=~r,Im(e,r,t,n)),r}function ha(e,t){let n=Ir(e,t);if(n>=0)return e[n|1]}function Ir(e,t){return _m(e,t,1)}function _m(e,t,n){let r=0,i=e.length>>n;for(;i!==r;){let o=r+(i-r>>1),s=e[o<t?i=o:r=o+1}return~(i<t){s=o-1;break}}}for(;o-1){let o;for(;++io?d="":d=i[l+1].toLowerCase(),r&2&&c!==d){if(Te(r))return!1;s=!0}}}}return Te(r)||s}function Te(e){return(e&1)===0}function Rm(e,t,n,r){if(t===null)return-1;let i=0;if(r||!n){let o=!1;for(;i-1)for(n++;n0?'="'+a+'"':"")+"]"}else r&8?i+="."+s:r&4&&(i+=" "+s);else i!==""&&!Te(s)&&(t+=id(o,i),i=""),r=s,o=o||!Te(r);n++}return i!==""&&(t+=id(o,i)),t}function Lm(e){return e.map(km).join(",")}function Vm(e){let t=[],n=[],r=1,i=2;for(;r{let t=Kd(e),n=k(p({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Gd.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Ue.Emulated,styles:e.styles||De,_:null,schemas:e.schemas||null,tView:null,id:""});Jd(n);let r=e.dependencies;return n.directiveDefs=sd(r,!1),n.pipeDefs=sd(r,!0),n.id=Um(n),n})}function jm(e){return Lt(e)||qd(e)}function Bm(e){return e!==null}function wt(e){return So(()=>({type:e.type,bootstrap:e.bootstrap||De,declarations:e.declarations||De,imports:e.imports||De,exports:e.exports||De,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function od(e,t){if(e==null)return In;let n={};for(let r in e)if(e.hasOwnProperty(r)){let i=e[r],o,s,a=vt.None;Array.isArray(i)?(a=i[0],o=i[1],s=i[2]??o):(o=i,s=i),t?(n[o]=a!==vt.None?[r,a]:r,t[o]=s):n[o]=r}return n}function We(e){return So(()=>{let t=Kd(e);return Jd(t),t})}function Lt(e){return e[am]||null}function qd(e){return e[um]||null}function Zd(e){return e[cm]||null}function Yd(e){let t=Lt(e)||qd(e)||Zd(e);return t!==null?t.standalone:!1}function Qd(e,t){let n=e[lm]||null;if(!n&&t===!0)throw new Error(`Type ${de(e)} does not have '\u0275mod' property.`);return n}function Kd(e){let 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||In,exportAs:e.exportAs||null,standalone:e.standalone===!0,signals:e.signals===!0,selectors:e.selectors||De,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:od(e.inputs,t),outputs:od(e.outputs),debugInfo:null}}function Jd(e){e.features?.forEach(t=>t(e))}function sd(e,t){if(!e)return null;let n=t?Zd:jm;return()=>(typeof e=="function"?e():e).map(r=>n(r)).filter(Bm)}function Um(e){let t=0,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(let i of n)t=Math.imul(31,t)+i.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function kn(e){return{\u0275providers:e}}function $m(...e){return{\u0275providers:Xd(!0,e),\u0275fromNgModule:!0}}function Xd(e,...t){let n=[],r=new Set,i,o=s=>{n.push(s)};return fu(t,s=>{let a=s;Ta(a,o,[],r)&&(i||=[],i.push(a))}),i!==void 0&&ef(i,o),n}function ef(e,t){for(let n=0;n{t(o,r)})}}function Ta(e,t,n,r){if(e=ue(e),!e)return!1;let i=null,o=Xl(e),s=!o&&Lt(e);if(!o&&!s){let u=e.ngModule;if(o=Xl(u),o)i=u;else return!1}else{if(s&&!s.standalone)return!1;i=e}let a=r.has(i);if(s){if(a)return!1;if(r.add(i),s.dependencies){let u=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let c of u)Ta(c,t,n,r)}}else if(o){if(o.imports!=null&&!a){r.add(i);let c;try{fu(o.imports,l=>{Ta(l,t,n,r)&&(c||=[],c.push(l))})}finally{}c!==void 0&&ef(c,t)}if(!a){let c=En(i)||(()=>new i);t({provide:i,useFactory:c,deps:De},i),t({provide:zd,useValue:i,multi:!0},i),t({provide:bn,useValue:()=>O(i),multi:!0},i)}let u=o.providers;if(u!=null&&!a){let c=e;pu(u,l=>{t(l,c)})}}else return!1;return i!==e&&e.providers!==void 0}function pu(e,t){for(let n of e)Vd(n)&&(n=n.\u0275providers),Array.isArray(n)?pu(n,t):t(n)}var Hm=B({provide:String,useValue:B});function tf(e){return e!==null&&typeof e=="object"&&Hm in e}function zm(e){return!!(e&&e.useExisting)}function Gm(e){return!!(e&&e.useFactory)}function _n(e){return typeof e=="function"}function Wm(e){return!!e.useClass}var No=new C(""),Ki={},qm={},pa;function gu(){return pa===void 0&&(pa=new oo),pa}var we=class{},yr=class extends we{get destroyed(){return this._destroyed}constructor(t,n,r,i){super(),this.parent=n,this.source=r,this.scopes=i,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Na(t,s=>this.processProvider(s)),this.records.set(Hd,vn(void 0,this)),i.has("environment")&&this.records.set(we,vn(void 0,this));let o=this.records.get(No);o!=null&&typeof o.value=="string"&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(zd,De,x.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let t=P(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),P(t)}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();let n=pt(this),r=ye(void 0),i;try{return t()}finally{pt(n),ye(r)}}get(t,n=mr,r=x.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(td))return t[td](this);r=To(r);let i,o=pt(this),s=ye(void 0);try{if(!(r&x.SkipSelf)){let u=this.records.get(t);if(u===void 0){let c=Jm(t)&&xo(t);c&&this.injectableDefInScope(c)?u=vn(Aa(t),Ki):u=null,this.records.set(t,u)}if(u!=null)return this.hydrate(t,u)}let a=r&x.Self?gu():this.parent;return n=r&x.Optional&&n===mr?null:n,a.get(t,n)}catch(a){if(a.name==="NullInjectorError"){if((a[ro]=a[ro]||[]).unshift(de(t)),o)throw a;return wm(a,t,"R3InjectorError",this.source)}else throw a}finally{ye(s),pt(o)}}resolveInjectorInitializers(){let t=P(null),n=pt(this),r=ye(void 0),i;try{let o=this.get(bn,De,x.Self);for(let s of o)s()}finally{pt(n),ye(r),P(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(de(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new D(205,!1)}processProvider(t){t=ue(t);let n=_n(t)?t:ue(t&&t.provide),r=Ym(t);if(!_n(t)&&t.multi===!0){let i=this.records.get(n);i||(i=vn(void 0,Ki,!0),i.factory=()=>Sa(i.multi),this.records.set(n,i)),n=t,i.multi.push(t)}this.records.set(n,r)}hydrate(t,n){let r=P(null);try{return n.value===Ki&&(n.value=qm,n.value=n.factory()),typeof n.value=="object"&&n.value&&Km(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{P(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=ue(t.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){let n=this._onDestroyHooks.indexOf(t);n!==-1&&this._onDestroyHooks.splice(n,1)}};function Aa(e){let t=xo(e),n=t!==null?t.factory:En(e);if(n!==null)return n;if(e instanceof C)throw new D(204,!1);if(e instanceof Function)return Zm(e);throw new D(204,!1)}function Zm(e){if(e.length>0)throw new D(204,!1);let n=om(e);return n!==null?()=>n.factory(e):()=>new e}function Ym(e){if(tf(e))return vn(void 0,e.useValue);{let t=nf(e);return vn(t,Ki)}}function nf(e,t,n){let r;if(_n(e)){let i=ue(e);return En(i)||Aa(i)}else if(tf(e))r=()=>ue(e.useValue);else if(Gm(e))r=()=>e.useFactory(...Sa(e.deps||[]));else if(zm(e))r=()=>O(ue(e.useExisting));else{let i=ue(e&&(e.useClass||e.provide));if(Qm(e))r=()=>new i(...Sa(e.deps));else return En(i)||Aa(i)}return r}function vn(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Qm(e){return!!e.deps}function Km(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function Jm(e){return typeof e=="function"||typeof e=="object"&&e instanceof C}function Na(e,t){for(let n of e)Array.isArray(n)?Na(n,t):n&&Vd(n)?Na(n.\u0275providers,t):t(n)}function rt(e,t){e instanceof yr&&e.assertNotDestroyed();let n,r=pt(e),i=ye(void 0);try{return t()}finally{pt(r),ye(i)}}function Xm(){return Bd()!==void 0||ym()!=null}function ev(e){return typeof e=="function"}var it=0,R=1,I=2,ce=3,Ae=4,Re=5,so=6,ao=7,Ee=8,Mn=9,$e=10,ne=11,Dr=12,ad=13,Ln=14,He=15,Sn=16,yn=17,xn=18,Ro=19,rf=20,gt=21,ga=22,Ce=23,Ne=25,of=1;var Vt=7,uo=8,co=9,pe=10,lo=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(lo||{});function mt(e){return Array.isArray(e)&&typeof e[of]=="object"}function ot(e){return Array.isArray(e)&&e[of]===!0}function sf(e){return(e.flags&4)!==0}function Oo(e){return e.componentOffset>-1}function mu(e){return(e.flags&1)===1}function yt(e){return!!e.template}function Ra(e){return(e[I]&512)!==0}var Oa=class{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function af(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}function Vn(){return uf}function uf(e){return e.type.prototype.ngOnChanges&&(e.setInput=nv),tv}Vn.ngInherit=!0;function tv(){let e=lf(this),t=e?.current;if(t){let n=e.previous;if(n===In)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function nv(e,t,n,r,i){let o=this.declaredInputs[r],s=lf(e)||rv(e,{previous:In,current:null}),a=s.current||(s.current={}),u=s.previous,c=u[o];a[o]=new Oa(c&&c.currentValue,n,u===In),af(e,t,i,n)}var cf="__ngSimpleChanges__";function lf(e){return e[cf]||null}function rv(e,t){return e[cf]=t}var ud=null;var je=function(e,t,n){ud?.(e,t,n)},iv="svg",ov="math";function ze(e){for(;Array.isArray(e);)e=e[it];return e}function sv(e,t){return ze(t[e])}function Oe(e,t){return ze(t[e.index])}function vu(e,t){return e.data[t]}function av(e,t){return e[t]}function Et(e,t){let n=t[e];return mt(n)?n:n[it]}function yu(e){return(e[I]&128)===128}function uv(e){return ot(e[ce])}function fo(e,t){return t==null?null:e[t]}function df(e){e[yn]=0}function ff(e){e[I]&1024||(e[I]|=1024,yu(e)&&Po(e))}function cv(e,t){for(;e>0;)t=t[Ln],e--;return t}function Fo(e){return!!(e[I]&9216||e[Ce]?.dirty)}function Fa(e){e[$e].changeDetectionScheduler?.notify(8),e[I]&64&&(e[I]|=1024),Fo(e)&&Po(e)}function Po(e){e[$e].changeDetectionScheduler?.notify(0);let t=jt(e);for(;t!==null&&!(t[I]&8192||(t[I]|=8192,!yu(t)));)t=jt(t)}function hf(e,t){if((e[I]&256)===256)throw new D(911,!1);e[gt]===null&&(e[gt]=[]),e[gt].push(t)}function lv(e,t){if(e[gt]===null)return;let n=e[gt].indexOf(t);n!==-1&&e[gt].splice(n,1)}function jt(e){let t=e[ce];return ot(t)?t[ce]:t}var F={lFrame:Ef(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var pf=!1;function dv(){return F.lFrame.elementDepthCount}function fv(){F.lFrame.elementDepthCount++}function hv(){F.lFrame.elementDepthCount--}function gf(){return F.bindingsEnabled}function pv(){return F.skipHydrationRootTNode!==null}function gv(e){return F.skipHydrationRootTNode===e}function mv(){F.skipHydrationRootTNode=null}function G(){return F.lFrame.lView}function Ie(){return F.lFrame.tView}function qe(e){return F.lFrame.contextLView=e,e[Ee]}function Ze(e){return F.lFrame.contextLView=null,e}function ge(){let e=mf();for(;e!==null&&e.type===64;)e=e.parent;return e}function mf(){return F.lFrame.currentTNode}function vv(){let e=F.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function br(e,t){let n=F.lFrame;n.currentTNode=e,n.isParent=t}function vf(){return F.lFrame.isParent}function yv(){F.lFrame.isParent=!1}function Dv(){return F.lFrame.contextLView}function yf(){return pf}function cd(e){pf=e}function Cv(e){return F.lFrame.bindingIndex=e}function Du(){return F.lFrame.bindingIndex++}function wv(e){let t=F.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Ev(){return F.lFrame.inI18n}function Iv(e,t){let n=F.lFrame;n.bindingIndex=n.bindingRootIndex=e,Pa(t)}function bv(){return F.lFrame.currentDirectiveIndex}function Pa(e){F.lFrame.currentDirectiveIndex=e}function _v(e){let t=F.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function Df(e){F.lFrame.currentQueryIndex=e}function Mv(e){let t=e[R];return t.type===2?t.declTNode:t.type===1?e[Re]:null}function Cf(e,t,n){if(n&x.SkipSelf){let i=t,o=e;for(;i=i.parent,i===null&&!(n&x.Host);)if(i=Mv(o),i===null||(o=o[Ln],i.type&10))break;if(i===null)return!1;t=i,e=o}let r=F.lFrame=wf();return r.currentTNode=t,r.lView=e,!0}function Cu(e){let t=wf(),n=e[R];F.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function wf(){let e=F.lFrame,t=e===null?null:e.child;return t===null?Ef(e):t}function Ef(e){let 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 e!==null&&(e.child=t),t}function If(){let e=F.lFrame;return F.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var bf=If;function wu(){let e=If();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 Sv(e){return(F.lFrame.contextLView=cv(e,F.lFrame.contextLView))[Ee]}function _r(){return F.lFrame.selectedIndex}function Bt(e){F.lFrame.selectedIndex=e}function _f(){let e=F.lFrame;return vu(e.tView,e.selectedIndex)}function xv(){return F.lFrame.currentNamespace}var Mf=!0;function Eu(){return Mf}function Iu(e){Mf=e}function Tv(e,t,n){let{ngOnChanges:r,ngOnInit:i,ngDoCheck:o}=t.type.prototype;if(r){let s=uf(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}i&&(n.preOrderHooks??=[]).push(0-e,i),o&&((n.preOrderHooks??=[]).push(e,o),(n.preOrderCheckHooks??=[]).push(e,o))}function bu(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[u]<0&&(e[yn]+=65536),(a>14>16&&(e[I]&3)===t&&(e[I]+=16384,ld(a,o)):ld(a,o)}var wn=-1,Ut=class{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}};function Nv(e){return e instanceof Ut}function Rv(e){return(e.flags&8)!==0}function Ov(e){return(e.flags&16)!==0}var va={},ka=class{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=To(r);let i=this.injector.get(t,va,r);return i!==va||n===va?i:this.parentInjector.get(t,n,r)}};function xf(e){return e!==wn}function ho(e){return e&32767}function Fv(e){return e>>16}function po(e,t){let n=Fv(e),r=t;for(;n>0;)r=r[Ln],n--;return r}var La=!0;function dd(e){let t=La;return La=e,t}var Pv=256,Tf=Pv-1,Af=5,kv=0,Be={};function Lv(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(gr)&&(r=n[gr]),r==null&&(r=n[gr]=kv++);let i=r&Tf,o=1<>Af)]|=o}function go(e,t){let n=Nf(e,t);if(n!==-1)return n;let r=t[R];r.firstCreatePass&&(e.injectorIndex=t.length,ya(r.data,e),ya(t,null),ya(r.blueprint,null));let i=_u(e,t),o=e.injectorIndex;if(xf(i)){let s=ho(i),a=po(i,t),u=a[R].data;for(let c=0;c<8;c++)t[o+c]=a[s+c]|u[s+c]}return t[o+8]=i,o}function ya(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Nf(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function _u(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let n=0,r=null,i=t;for(;i!==null;){if(r=kf(i),r===null)return wn;if(n++,i=i[Ln],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return wn}function Va(e,t,n){Lv(e,t,n)}function Rf(e,t,n){if(n&x.Optional||e!==void 0)return e;du(t,"NodeInjector")}function Of(e,t,n,r){if(n&x.Optional&&r===void 0&&(r=null),!(n&(x.Self|x.Host))){let i=e[Mn],o=ye(void 0);try{return i?i.get(t,r,n&x.Optional):Ud(t,r,n&x.Optional)}finally{ye(o)}}return Rf(r,t,n)}function Ff(e,t,n,r=x.Default,i){if(e!==null){if(t[I]&2048&&!(r&x.Self)){let s=$v(e,t,n,r,Be);if(s!==Be)return s}let o=Pf(e,t,n,r,Be);if(o!==Be)return o}return Of(t,n,r,i)}function Pf(e,t,n,r,i){let o=Bv(n);if(typeof o=="function"){if(!Cf(t,e,r))return r&x.Host?Rf(i,n,r):Of(t,n,r,i);try{let s;if(s=o(r),s==null&&!(r&x.Optional))du(n);else return s}finally{bf()}}else if(typeof o=="number"){let s=null,a=Nf(e,t),u=wn,c=r&x.Host?t[He][Re]:null;for((a===-1||r&x.SkipSelf)&&(u=a===-1?_u(e,t):t[a+8],u===wn||!hd(r,!1)?a=-1:(s=t[R],a=ho(u),t=po(u,t)));a!==-1;){let l=t[R];if(fd(o,a,l.data)){let d=Vv(a,t,n,s,r,c);if(d!==Be)return d}u=t[a+8],u!==wn&&hd(r,t[R].data[a+8]===c)&&fd(o,a,t)?(s=l,a=ho(u),t=po(u,t)):a=-1}}return i}function Vv(e,t,n,r,i,o){let s=t[R],a=s.data[e+8],u=r==null?Oo(a)&&La:r!=s&&(a.type&3)!==0,c=i&x.Host&&o===a,l=jv(a,s,n,u,c);return l!==null?Tn(t,s,l,a):Be}function jv(e,t,n,r,i){let o=e.providerIndexes,s=t.data,a=o&1048575,u=e.directiveStart,c=e.directiveEnd,l=o>>20,d=r?a:a+l,h=i?a+l:c;for(let f=d;f=u&&g.type===n)return f}if(i){let f=s[u];if(f&&yt(f)&&f.type===n)return u}return null}function Tn(e,t,n,r){let i=e[n],o=t.data;if(Nv(i)){let s=i;s.resolving&&fm(dm(o[n]));let a=dd(s.canSeeViewProviders);s.resolving=!0;let u,c=s.injectImpl?ye(s.injectImpl):null,l=Cf(e,r,x.Default);try{i=e[n]=s.factory(void 0,o,e,r),t.firstCreatePass&&n>=r.directiveStart&&Tv(n,o[n],t)}finally{c!==null&&ye(c),dd(a),s.resolving=!1,bf()}}return i}function Bv(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(gr)?e[gr]:void 0;return typeof t=="number"?t>=0?t&Tf:Uv:t}function fd(e,t,n){let r=1<>Af)]&r)}function hd(e,t){return!(e&x.Self)&&!(e&x.Host&&t)}var kt=class{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return Ff(this._tNode,this._lView,t,To(r),n)}};function Uv(){return new kt(ge(),G())}function jn(e){return So(()=>{let t=e.prototype.constructor,n=t[no]||ja(t),r=Object.prototype,i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==r;){let o=i[no]||ja(i);if(o&&o!==n)return o;i=Object.getPrototypeOf(i)}return o=>new o})}function ja(e){return Fd(e)?()=>{let t=ja(ue(e));return t&&t()}:En(e)}function $v(e,t,n,r,i){let o=e,s=t;for(;o!==null&&s!==null&&s[I]&2048&&!(s[I]&512);){let a=Pf(o,s,n,r|x.Self,Be);if(a!==Be)return a;let u=o.parent;if(!u){let c=s[rf];if(c){let l=c.get(n,Be,r);if(l!==Be)return l}u=kf(s),s=s[Ln]}o=u}return i}function kf(e){let t=e[R],n=t.type;return n===2?t.declTNode:n===1?e[Re]:null}function pd(e,t=null,n=null,r){let i=Lf(e,t,n,r);return i.resolveInjectorInitializers(),i}function Lf(e,t=null,n=null,r,i=new Set){let o=[n||De,$m(e)];return r=r||(typeof e=="object"?void 0:de(e)),new yr(o,t||gu(),r||null,i)}var Ge=class e{static{this.THROW_IF_NOT_FOUND=mr}static{this.NULL=new oo}static create(t,n){if(Array.isArray(t))return pd({name:""},n,t,"");{let r=t.name??"";return pd({name:r},t.parent,t.providers,r)}}static{this.\u0275prov=w({token:e,providedIn:"any",factory:()=>O(Hd)})}static{this.__NG_ELEMENT_ID__=-1}};var Hv=new C("");Hv.__NG_ELEMENT_ID__=e=>{let t=ge();if(t===null)throw new D(204,!1);if(t.type&2)return t.value;if(e&x.Optional)return null;throw new D(204,!1)};var zv="ngOriginalError";function Da(e){return e[zv]}var Vf=!0,jf=(()=>{class e{static{this.__NG_ELEMENT_ID__=Gv}static{this.__NG_ENV_ID__=n=>n}}return e})(),Ba=class extends jf{constructor(t){super(),this._lView=t}onDestroy(t){return hf(this._lView,t),()=>lv(this._lView,t)}};function Gv(){return new Ba(G())}var Bn=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new te(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static{this.\u0275prov=w({token:e,providedIn:"root",factory:()=>new e})}}return e})();var Ua=class extends H{constructor(t=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=t,Xm()&&(this.destroyRef=m(jf,{optional:!0})??void 0,this.pendingTasks=m(Bn,{optional:!0})??void 0)}emit(t){let n=P(null);try{super.next(t)}finally{P(n)}}subscribe(t,n,r){let i=t,o=n||(()=>null),s=r;if(t&&typeof t=="object"){let u=t;i=u.next?.bind(u),o=u.error?.bind(u),s=u.complete?.bind(u)}this.__isAsync&&(o=this.wrapInTimeout(o),i&&(i=this.wrapInTimeout(i)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:i,error:o,complete:s});return t instanceof W&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{t(n),r!==void 0&&this.pendingTasks?.remove(r)})}}},X=Ua;function mo(...e){}function Bf(e){let t,n;function r(){e=mo;try{n!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(n),t!==void 0&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),r()}),typeof requestAnimationFrame=="function"&&(n=requestAnimationFrame(()=>{e(),r()})),()=>r()}function gd(e){return queueMicrotask(()=>e()),()=>{e=mo}}var Mu="isAngularZone",vo=Mu+"_ID",Wv=0,q=class e{constructor(t){this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new X(!1),this.onMicrotaskEmpty=new X(!1),this.onStable=new X(!1),this.onError=new X(!1);let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:i=!1,scheduleInRootZone:o=Vf}=t;if(typeof Zone>"u")throw new D(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!i&&r,s.shouldCoalesceRunChangeDetection=i,s.callbackScheduled=!1,s.scheduleInRootZone=o,Yv(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Mu)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new D(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new D(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,i){let o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+i,t,qv,mo,mo);try{return o.runTask(s,n,r)}finally{o.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}},qv={};function Su(e){if(e._nesting==0&&!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 Zv(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){Bf(()=>{e.callbackScheduled=!1,$a(e),e.isCheckStableRunning=!0,Su(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),$a(e)}function Yv(e){let t=()=>{Zv(e)},n=Wv++;e._inner=e._inner.fork({name:"angular",properties:{[Mu]:!0,[vo]:n,[vo+n]:!0},onInvokeTask:(r,i,o,s,a,u)=>{if(Qv(u))return r.invokeTask(o,s,a,u);try{return md(e),r.invokeTask(o,s,a,u)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),vd(e)}},onInvoke:(r,i,o,s,a,u,c)=>{try{return md(e),r.invoke(o,s,a,u,c)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!Kv(u)&&t(),vd(e)}},onHasTask:(r,i,o,s)=>{r.hasTask(o,s),i===o&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,$a(e),Su(e)):s.change=="macroTask"&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,i,o,s)=>(r.handleError(o,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}function $a(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function md(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function vd(e){e._nesting--,Su(e)}var Ha=class{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new X,this.onMicrotaskEmpty=new X,this.onStable=new X,this.onError=new X}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,i){return t.apply(n,r)}};function Qv(e){return Uf(e,"__ignore_ng_zone__")}function Kv(e){return Uf(e,"__scheduler_tick__")}function Uf(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var tt=class{constructor(){this._console=console}handleError(t){let n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&Da(t);for(;n&&Da(n);)n=Da(n);return n||null}},Jv=new C("",{providedIn:"root",factory:()=>{let e=m(q),t=m(tt);return n=>e.runOutsideAngular(()=>t.handleError(n))}});function Xv(){return xu(ge(),G())}function xu(e,t){return new zt(Oe(e,t))}var zt=(()=>{class e{constructor(n){this.nativeElement=n}static{this.__NG_ELEMENT_ID__=Xv}}return e})();function $f(e){return(e.flags&128)===128}var Hf=new Map,ey=0;function ty(){return ey++}function ny(e){Hf.set(e[Ro],e)}function za(e){Hf.delete(e[Ro])}var yd="__ngContext__";function $t(e,t){mt(t)?(e[yd]=t[Ro],ny(t)):e[yd]=t}function zf(e){return Wf(e[Dr])}function Gf(e){return Wf(e[Ae])}function Wf(e){for(;e!==null&&!ot(e);)e=e[Ae];return e}var Ga;function qf(e){Ga=e}function ry(){if(Ga!==void 0)return Ga;if(typeof document<"u")return document;throw new D(210,!1)}var Tu=new C("",{providedIn:"root",factory:()=>iy}),iy="ng",Au=new C(""),st=new C("",{providedIn:"platform",factory:()=>"unknown"});var Nu=new C("",{providedIn:"root",factory:()=>ry().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var oy="h",sy="b";var ay=()=>null;function Ru(e,t,n=!1){return ay(e,t,n)}var Zf=!1,uy=new C("",{providedIn:"root",factory:()=>Zf});var yo=class{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Od})`}};function ko(e){return e instanceof yo?e.changingThisBreaksApplicationSecurity:e}function Yf(e,t){let n=cy(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Od})`)}return n===t}function cy(e){return e instanceof yo&&e.getTypeName()||null}var ly=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Qf(e){return e=String(e),e.match(ly)?e:"unsafe:"+e}var Ou=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(Ou||{});function Kf(e){let t=dy();return t?t.sanitize(Ou.URL,e)||"":Yf(e,"URL")?ko(e):Qf(jd(e))}function dy(){let e=G();return e&&e[$e].sanitizer}function Jf(e){return e instanceof Function?e():e}var nt=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(nt||{}),fy;function Fu(e,t){return fy(e,t)}function Dn(e,t,n,r,i){if(r!=null){let o,s=!1;ot(r)?o=r:mt(r)&&(s=!0,r=r[it]);let a=ze(r);e===0&&n!==null?i==null?nh(t,n,a):Co(t,n,a,i||null,!0):e===1&&n!==null?Co(t,n,a,i||null,!0):e===2?My(t,a,s):e===3&&t.destroyNode(a),o!=null&&xy(t,e,o,n,i)}}function hy(e,t){return e.createText(t)}function Xf(e,t,n){return e.createElement(t,n)}function py(e,t){eh(e,t),t[it]=null,t[Re]=null}function gy(e,t,n,r,i,o){r[it]=i,r[Re]=t,Lo(e,r,n,1,i,o)}function eh(e,t){t[$e].changeDetectionScheduler?.notify(9),Lo(e,t,t[ne],2,null,null)}function my(e){let t=e[Dr];if(!t)return Ca(e[R],e);for(;t;){let n=null;if(mt(t))n=t[Dr];else{let r=t[pe];r&&(n=r)}if(!n){for(;t&&!t[Ae]&&t!==e;)mt(t)&&Ca(t[R],t),t=t[ce];t===null&&(t=e),mt(t)&&Ca(t[R],t),n=t&&t[Ae]}t=n}}function vy(e,t,n,r){let i=pe+r,o=n.length;r>0&&(n[i-1][Ae]=t),r0&&(e[n-1][Ae]=r[Ae]);let o=io(e,pe+t);py(r[R],r);let s=o[xn];s!==null&&s.detachView(o[R]),r[ce]=null,r[Ae]=null,r[I]&=-129}return r}function ku(e,t){if(!(t[I]&256)){let n=t[ne];n.destroyNode&&Lo(e,t,n,3,null,null),my(t)}}function Ca(e,t){if(t[I]&256)return;let n=P(null);try{t[I]&=-129,t[I]|=256,t[Ce]&&zs(t[Ce]),Dy(e,t),yy(e,t),t[R].type===1&&t[ne].destroy();let r=t[Sn];if(r!==null&&ot(t[ce])){r!==t[ce]&&Pu(r,t);let i=t[xn];i!==null&&i.detachView(e)}za(t)}finally{P(n)}}function yy(e,t){let n=e.cleanup,r=t[ao];if(n!==null)for(let o=0;o=0?r[s]():r[-s].unsubscribe(),o+=2}else{let s=r[n[o+1]];n[o].call(s)}r!==null&&(t[ao]=null);let i=t[gt];if(i!==null){t[gt]=null;for(let o=0;o-1){let{encapsulation:o}=e.data[r.directiveStart+i];if(o===Ue.None||o===Ue.Emulated)return null}return Oe(r,n)}}function Co(e,t,n,r,i){e.insertBefore(t,n,r,i)}function nh(e,t,n){e.appendChild(t,n)}function Dd(e,t,n,r,i){r!==null?Co(e,t,n,r,i):nh(e,t,n)}function rh(e,t){return e.parentNode(t)}function Ey(e,t){return e.nextSibling(t)}function Iy(e,t,n){return _y(e,t,n)}function by(e,t,n){return e.type&40?Oe(e,n):null}var _y=by,Cd;function Lu(e,t,n,r){let i=Cy(e,r,t),o=t[ne],s=r.parent||t[Re],a=Iy(s,r,t);if(i!=null)if(Array.isArray(n))for(let u=0;uNe&&ah(e,t,Ne,!1),je(s?2:0,i),n(r,i)}finally{Bt(o),je(s?3:1,i)}}function dh(e,t,n){if(sf(t)){let r=P(null);try{let i=t.directiveStart,o=t.directiveEnd;for(let s=i;snull;function Ly(e,t,n,r,i,o){let s=t?t.injectorIndex:-1,a=0;return pv()&&(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:i,attrs:o,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}}function wd(e,t,n,r,i){for(let o in t){if(!t.hasOwnProperty(o))continue;let s=t[o];if(s===void 0)continue;r??={};let a,u=vt.None;Array.isArray(s)?(a=s[0],u=s[1]):a=s;let c=o;if(i!==null){if(!i.hasOwnProperty(o))continue;c=i[o]}e===0?Ed(r,n,c,a,u):Ed(r,n,c,a)}return r}function Ed(e,t,n,r,i){let o;e.hasOwnProperty(n)?(o=e[n]).push(t,r):o=e[n]=[t,r],i!==void 0&&o.push(i)}function Vy(e,t,n){let r=t.directiveStart,i=t.directiveEnd,o=e.data,s=t.attrs,a=[],u=null,c=null;for(let l=r;l0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function Hy(e,t,n,r){let i=n.directiveStart,o=n.directiveEnd;Oo(n)&&Qy(t,n,e.data[i+n.componentOffset]),e.firstCreatePass||go(n,t),$t(r,t);let s=n.initialInputs;for(let a=i;a{Po(e.lView)},consumerOnSignalRead(){this.lView[Ce]=this}});function fD(e){let t=e[Ce]??Object.create(hD);return t.lView=e,t}var hD=k(p({},ur),{consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{let t=jt(e.lView);for(;t&&!bh(t[R]);)t=jt(t);t&&ff(t)},consumerOnSignalRead(){this.lView[Ce]=this}});function bh(e){return e.type!==2}var pD=100;function _h(e,t=!0,n=0){let r=e[$e],i=r.rendererFactory,o=!1;o||i.begin?.();try{gD(e,n)}catch(s){throw t&&wh(e,s),s}finally{o||(i.end?.(),r.inlineEffectRunner?.flush())}}function gD(e,t){let n=yf();try{cd(!0),Qa(e,t);let r=0;for(;Fo(e);){if(r===pD)throw new D(103,!1);r++,Qa(e,1)}}finally{cd(n)}}function mD(e,t,n,r){let i=t[I];if((i&256)===256)return;let o=!1,s=!1;!o&&t[$e].inlineEffectRunner?.flush(),Cu(t);let a=!0,u=null,c=null;o||(bh(e)?(c=uD(t),u=yi(c)):al()===null?(a=!1,c=fD(t),u=yi(c)):t[Ce]&&(zs(t[Ce]),t[Ce]=null));try{df(t),Cv(e.bindingStartIndex),n!==null&&lh(e,t,n,2,r);let l=(i&3)===3;if(!o)if(l){let f=e.preOrderCheckHooks;f!==null&&Ji(t,f,null)}else{let f=e.preOrderHooks;f!==null&&Xi(t,f,0,null),ma(t,0)}if(s||vD(t),Mh(t,0),e.contentQueries!==null&&Ch(e,t),!o)if(l){let f=e.contentCheckHooks;f!==null&&Ji(t,f)}else{let f=e.contentHooks;f!==null&&Xi(t,f,1),ma(t,1)}Ny(e,t);let d=e.components;d!==null&&xh(t,d,0);let h=e.viewQuery;if(h!==null&&Za(2,h,r),!o)if(l){let f=e.viewCheckHooks;f!==null&&Ji(t,f)}else{let f=e.viewHooks;f!==null&&Xi(t,f,2),ma(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[ga]){for(let f of t[ga])f();t[ga]=null}o||(t[I]&=-73)}catch(l){throw o||Po(t),l}finally{c!==null&&($s(c,u),a&&lD(c)),wu()}}function Mh(e,t){for(let n=zf(e);n!==null;n=Gf(n))for(let r=pe;r-1&&(Do(t,r),io(n,r))}this._attachedToViewContainer=!1}ku(this._lView[R],this._lView)}onDestroy(t){hf(this._lView,t)}markForCheck(){$u(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[I]&=-129}reattach(){Fa(this._lView),this._lView[I]|=128}detectChanges(){this._lView[I]|=1024,_h(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new D(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=Ra(this._lView),n=this._lView[Sn];n!==null&&!t&&Pu(n,this._lView),eh(this._lView[R],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new D(902,!1);this._appRef=t;let n=Ra(this._lView),r=this._lView[Sn];r!==null&&!n&&th(r,this._lView),Fa(this._lView)}};var uA=new RegExp(`^(\\d+)*(${sy}|${oy})*(.*)`);var DD=()=>null;function Ka(e,t){return DD(e,t)}var Nn=class{},Uo=new C("",{providedIn:"root",factory:()=>!1});var Th=new C(""),Ah=new C(""),Ja=class{},Eo=class{};function CD(e){let t=Error(`No component factory found for ${de(e)}.`);return t[wD]=e,t}var wD="ngComponent";var Xa=class{resolveComponentFactory(t){throw CD(t)}},Rn=class{static{this.NULL=new Xa}},On=class{},Un=(()=>{class e{constructor(){this.destroyNode=null}static{this.__NG_ELEMENT_ID__=()=>ED()}}return e})();function ED(){let e=G(),t=ge(),n=Et(t.index,e);return(mt(n)?n:e)[ne]}var ID=(()=>{class e{static{this.\u0275prov=w({token:e,providedIn:"root",factory:()=>null})}}return e})();function eu(e,t,n){let r=n?e.styles:null,i=n?e.classes:null,o=0;if(t!==null)for(let s=0;s0&&oh(e,n,o.join(" "))}}function AD(e,t,n){let r=e.projection=[];for(let i=0;i{class e{static{this.__NG_ELEMENT_ID__=RD}}return e})();function RD(){let e=ge();return FD(e,G())}var OD=$o,Nh=class extends OD{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return xu(this._hostTNode,this._hostLView)}get injector(){return new kt(this._hostTNode,this._hostLView)}get parentInjector(){let t=_u(this._hostTNode,this._hostLView);if(xf(t)){let n=po(t,this._hostLView),r=ho(t),i=n[R].data[r+8];return new kt(i,n)}else return new kt(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=bd(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-pe}createEmbeddedView(t,n,r){let i,o;typeof r=="number"?i=r:r!=null&&(i=r.index,o=r.injector);let s=Ka(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},o,s);return this.insertImpl(a,i,Ya(this._hostTNode,s)),a}createComponent(t,n,r,i,o){let s=t&&!ev(t),a;if(s)a=n;else{let g=n||{};a=g.index,r=g.injector,i=g.projectableNodes,o=g.environmentInjector||g.ngModuleRef}let u=s?t:new Cr(Lt(t)),c=r||this.parentInjector;if(!o&&u.ngModule==null){let M=(s?c:this.parentInjector).get(we,null);M&&(o=M)}let l=Lt(u.componentType??{}),d=Ka(this._lContainer,l?.id??null),h=d?.firstChild??null,f=u.create(c,i,h,o);return this.insertImpl(f.hostView,a,Ya(this._hostTNode,d)),f}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let i=t._lView;if(uv(i)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let u=i[ce],c=new Nh(u,u[Re],u[ce]);c.detach(c.indexOf(t))}}let o=this._adjustIndex(n),s=this._lContainer;return Eh(s,i,o,r),t.attachToViewContainerRef(),$d(wa(s),o,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=bd(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=Do(this._lContainer,n);r&&(io(wa(this._lContainer),n),ku(r[R],r))}detach(t){let n=this._adjustIndex(t,-1),r=Do(this._lContainer,n);return r&&io(wa(this._lContainer),n)!=null?new An(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function bd(e){return e[uo]}function wa(e){return e[uo]||(e[uo]=[])}function FD(e,t){let n,r=t[e.index];return ot(r)?n=r:(n=Dh(r,t,null,e),t[e.index]=n,Bo(t,n)),kD(n,t,e,r),new Nh(n,e,t)}function PD(e,t){let n=e[ne],r=n.createComment(""),i=Oe(t,e),o=rh(n,i);return Co(n,o,r,Ey(n,i),!1),r}var kD=jD,LD=()=>!1;function VD(e,t,n){return LD(e,t,n)}function jD(e,t,n,r){if(e[Vt])return;let i;n.type&8?i=ze(r):i=PD(t,n),e[Vt]=i}var _d=new Set;function $n(e){_d.has(e)||(_d.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function BD(e){return typeof e=="function"&&e[Je]!==void 0}function Ho(e,t){$n("NgSignals");let n=yl(e),r=n[Je];return t?.equal&&(r.equal=t.equal),n.set=i=>Gs(r,i),n.update=i=>Dl(r,i),n.asReadonly=UD.bind(n),n}function UD(){let e=this[Je];if(e.readonlyFn===void 0){let t=()=>this();t[Je]=e,e.readonlyFn=t}return e.readonlyFn}function Rh(e){return BD(e)&&typeof e.set=="function"}function $D(e){return Object.getPrototypeOf(e.prototype).constructor}function Wt(e){let t=$D(e.type),n=!0,r=[e];for(;t;){let i;if(yt(e))i=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new D(903,!1);i=t.\u0275dir}if(i){if(n){r.push(i);let s=e;s.inputs=Zi(e.inputs),s.inputTransforms=Zi(e.inputTransforms),s.declaredInputs=Zi(e.declaredInputs),s.outputs=Zi(e.outputs);let a=i.hostBindings;a&&qD(e,a);let u=i.viewQuery,c=i.contentQueries;if(u&&GD(e,u),c&&WD(e,c),HD(e,i),rm(e.outputs,i.outputs),yt(i)&&i.data.animation){let l=e.data;l.animation=(l.animation||[]).concat(i.data.animation)}}let o=i.features;if(o)for(let s=0;s=0;r--){let i=e[r];i.hostVars=t+=i.hostVars,i.hostAttrs=vr(i.hostAttrs,n=vr(n,i.hostAttrs))}}function Zi(e){return e===In?{}:e===De?[]:e}function GD(e,t){let n=e.viewQuery;n?e.viewQuery=(r,i)=>{t(r,i),n(r,i)}:e.viewQuery=t}function WD(e,t){let n=e.contentQueries;n?e.contentQueries=(r,i,o)=>{t(r,i,o),n(r,i,o)}:e.contentQueries=t}function qD(e,t){let n=e.hostBindings;n?e.hostBindings=(r,i)=>{t(r,i),n(r,i)}:e.hostBindings=t}var Dt=class{},wr=class{};var nu=class extends Dt{constructor(t,n,r,i=!0){super(),this.ngModuleType=t,this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Io(this);let o=Qd(t);this._bootstrapComponents=Jf(o.bootstrap),this._r3Injector=Lf(t,n,[{provide:Dt,useValue:this},{provide:Rn,useValue:this.componentFactoryResolver},...r],de(t),new Set(["environment"])),i&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}},ru=class extends wr{constructor(t){super(),this.moduleType=t}create(t){return new nu(this.moduleType,t,[])}};var bo=class extends Dt{constructor(t){super(),this.componentFactoryResolver=new Io(this),this.instance=null;let n=new yr([...t.providers,{provide:Dt,useValue:this},{provide:Rn,useValue:this.componentFactoryResolver}],t.parent||gu(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function Hu(e,t,n=null){return new bo({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}function zo(e,t,n){let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function ZD(e){return(e.flags&32)===32}function YD(e,t,n,r,i,o,s,a,u){let c=t.consts,l=jo(t,e,4,s||null,a||null);mh(t,n,l,fo(c,u)),bu(t,l);let d=l.tView=ju(2,l,r,i,o,t.directiveRegistry,t.pipeRegistry,null,t.schemas,c,null);return t.queries!==null&&(t.queries.template(t,l),d.queries=t.queries.embeddedTView(l)),l}function QD(e,t,n,r,i,o,s,a,u,c){let l=n+Ne,d=t.firstCreatePass?YD(l,t,e,r,i,o,s,a,u):t.data[l];br(d,!1);let h=KD(t,e,d,n);Eu()&&Lu(t,e,h,d),$t(h,e);let f=Dh(h,e,h,d);return e[l]=f,Bo(e,f),VD(f,d,e),mu(d)&&fh(t,e,d),u!=null&&hh(e,d,c),d}function Go(e,t,n,r,i,o,s,a){let u=G(),c=Ie(),l=fo(c.consts,o);return QD(u,c,e,t,n,r,i,l,s,a),Go}var KD=JD;function JD(e,t,n,r){return Iu(!0),t[ne].createComment("")}var pr=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(pr||{}),XD=(()=>{class e{constructor(){this.impl=null}execute(){this.impl?.execute()}static{this.\u0275prov=w({token:e,providedIn:"root",factory:()=>new e})}}return e})(),Md=class e{constructor(){this.ngZone=m(q),this.scheduler=m(Nn),this.errorHandler=m(tt,{optional:!0}),this.sequences=new Set,this.deferredRegistrations=new Set,this.executing=!1}static{this.PHASES=[pr.EarlyRead,pr.Write,pr.MixedReadWrite,pr.Read]}execute(){this.executing=!0;for(let t of e.PHASES)for(let n of this.sequences)if(!(n.erroredOrDestroyed||!n.hooks[t]))try{n.pipelinedValue=this.ngZone.runOutsideAngular(()=>n.hooks[t](n.pipelinedValue))}catch(r){n.erroredOrDestroyed=!0,this.errorHandler?.handleError(r)}this.executing=!1;for(let t of this.sequences)t.afterRun(),t.once&&(this.sequences.delete(t),t.destroy());for(let t of this.deferredRegistrations)this.sequences.add(t);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear()}register(t){this.executing?this.deferredRegistrations.add(t):(this.sequences.add(t),this.scheduler.notify(6))}unregister(t){this.executing&&this.sequences.has(t)?(t.erroredOrDestroyed=!0,t.pipelinedValue=void 0,t.once=!0):(this.sequences.delete(t),this.deferredRegistrations.delete(t))}static{this.\u0275prov=w({token:e,providedIn:"root",factory:()=>new e})}};function Yi(e,t){return e<<17|t<<2}function Ht(e){return e>>17&32767}function eC(e){return(e&2)==2}function tC(e,t){return e&131071|t<<17}function iu(e){return e|2}function Fn(e){return(e&131068)>>2}function Ea(e,t){return e&-131069|t<<2}function nC(e){return(e&1)===1}function ou(e){return e|1}function rC(e,t,n,r,i,o){let s=o?t.classBindings:t.styleBindings,a=Ht(s),u=Fn(s);e[r]=n;let c=!1,l;if(Array.isArray(n)){let d=n;l=d[1],(l===null||Ir(d,l)>0)&&(c=!0)}else l=n;if(i)if(u!==0){let h=Ht(e[a+1]);e[r+1]=Yi(h,a),h!==0&&(e[h+1]=Ea(e[h+1],r)),e[a+1]=tC(e[a+1],r)}else e[r+1]=Yi(a,0),a!==0&&(e[a+1]=Ea(e[a+1],r)),a=r;else e[r+1]=Yi(u,0),a===0?a=r:e[u+1]=Ea(e[u+1],r),u=r;c&&(e[r+1]=iu(e[r+1])),Sd(e,l,r,!0),Sd(e,l,r,!1),iC(t,l,e,r,o),s=Yi(a,u),o?t.classBindings=s:t.styleBindings=s}function iC(e,t,n,r,i){let o=i?e.residualClasses:e.residualStyles;o!=null&&typeof t=="string"&&Ir(o,t)>=0&&(n[r+1]=ou(n[r+1]))}function Sd(e,t,n,r){let i=e[n+1],o=t===null,s=r?Ht(i):Fn(i),a=!1;for(;s!==0&&(a===!1||o);){let u=e[s],c=e[s+1];oC(u,t)&&(a=!0,e[s+1]=r?ou(c):iu(c)),s=r?Ht(c):Fn(c)}a&&(e[n+1]=r?iu(i):ou(i))}function oC(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?Ir(e,t)>=0:!1}function zu(e,t,n){let r=G(),i=Du();if(zo(r,i,t)){let o=Ie(),s=_f();gh(o,s,r,e,t,r[ne],n,!1)}return zu}function xd(e,t,n,r,i){let o=t.inputs,s=i?"class":"style";Bu(e,n,o[s],s,r)}function Sr(e,t){return sC(e,t,null,!0),Sr}function sC(e,t,n,r){let i=G(),o=Ie(),s=wv(2);if(o.firstUpdatePass&&uC(o,e,s,r),t!==Mr&&zo(i,s,t)){let a=o.data[_r()];hC(o,a,i,i[ne],e,i[s+1]=pC(t,n),r,s)}}function aC(e,t){return t>=e.expandoStartIndex}function uC(e,t,n,r){let i=e.data;if(i[n+1]===null){let o=i[_r()],s=aC(e,n);gC(o,r)&&t===null&&!s&&(t=!1),t=cC(i,o,t,r),rC(i,o,t,n,s,r)}}function cC(e,t,n,r){let i=_v(e),o=r?t.residualClasses:t.residualStyles;if(i===null)(r?t.classBindings:t.styleBindings)===0&&(n=Ia(null,e,t,n,r),n=Er(n,t.attrs,r),o=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==i)if(n=Ia(i,e,t,n,r),o===null){let u=lC(e,t,r);u!==void 0&&Array.isArray(u)&&(u=Ia(null,e,t,u[1],r),u=Er(u,t.attrs,r),dC(e,t,r,u))}else o=fC(e,t,r)}return o!==void 0&&(r?t.residualClasses=o:t.residualStyles=o),n}function lC(e,t,n){let r=n?t.classBindings:t.styleBindings;if(Fn(r)!==0)return e[Ht(r)]}function dC(e,t,n,r){let i=n?t.classBindings:t.styleBindings;e[Ht(i)]=r}function fC(e,t,n){let r,i=t.directiveEnd;for(let o=1+t.directiveStylingLast;o0;){let u=e[i],c=Array.isArray(u),l=c?u[1]:u,d=l===null,h=n[i+1];h===Mr&&(h=d?De:void 0);let f=d?ha(h,r):l===r?h:void 0;if(c&&!_o(f)&&(f=ha(u,r)),_o(f)&&(a=f,s))return a;let g=e[i+1];i=s?Ht(g):Fn(g)}if(t!==null){let u=o?t.residualClasses:t.residualStyles;u!=null&&(a=ha(u,r))}return a}function _o(e){return e!==void 0}function pC(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=de(ko(e)))),e}function gC(e,t){return(e.flags&(t?8:16))!==0}function xr(e,t){$n("NgControlFlow");let n=G(),r=Du(),i=n[r]!==Mr?n[r]:-1,o=i!==-1?Ad(n,Ne+i):void 0,s=0;if(zo(n,r,e)){let a=P(null);try{if(o!==void 0&&sD(o,s),e!==-1){let u=Ne+e,c=Ad(n,u),l=mC(n[R],u),d=Ka(c,l.tView.ssrId),h=iD(n,l,t,{dehydratedView:d});Eh(c,h,s,Ya(l,d))}}finally{P(a)}}else if(o!==void 0){let a=oD(o,s);a!==void 0&&(a[Ee]=t)}}function Ad(e,t){return e[t]}function mC(e,t){return vu(e,t)}function vC(e,t,n,r,i,o){let s=t.consts,a=fo(s,i),u=jo(t,e,2,r,a);return mh(t,n,u,fo(s,o)),u.attrs!==null&&eu(u,u.attrs,!1),u.mergedAttrs!==null&&eu(u,u.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,u),u}function be(e,t,n,r){let i=G(),o=Ie(),s=Ne+e,a=i[ne],u=o.firstCreatePass?vC(s,o,i,t,n,r):o.data[s],c=yC(o,i,u,a,t,e);i[s]=c;let l=mu(u);return br(u,!0),sh(a,c,u),!ZD(u)&&Eu()&&Lu(o,i,c,u),dv()===0&&$t(c,i),fv(),l&&(fh(o,i,u),dh(o,u,i)),r!==null&&hh(i,u),be}function Fe(){let e=ge();vf()?yv():(e=e.parent,br(e,!1));let t=e;gv(t)&&mv(),hv();let n=Ie();return n.firstCreatePass&&(bu(n,e),sf(e)&&n.queries.elementEnd(e)),t.classesWithoutHost!=null&&Rv(t)&&xd(n,t,G(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&Ov(t)&&xd(n,t,G(),t.stylesWithoutHost,!1),Fe}function Hn(e,t,n,r){return be(e,t,n,r),Fe(),Hn}var yC=(e,t,n,r,i,o)=>(Iu(!0),Xf(r,i,xv()));function Wo(){return G()}var Mo="en-US";var DC=Mo;function CC(e){typeof e=="string"&&(DC=e.toLowerCase().replace(/_/g,"-"))}var wC=(e,t,n)=>{};function _e(e,t,n,r){let i=G(),o=Ie(),s=ge();return Oh(o,i,i[ne],s,e,t,r),_e}function EC(e,t,n,r){let i=e.cleanup;if(i!=null)for(let o=0;ou?a[u]:null}typeof s=="string"&&(o+=2)}return null}function Oh(e,t,n,r,i,o,s){let a=mu(r),c=e.firstCreatePass&&eD(e),l=t[Ee],d=Xy(t),h=!0;if(r.type&3||s){let M=Oe(r,t),y=s?s(M):M,b=d.length,Z=s?L=>s(ze(L[r.index])):r.index,Y=null;if(!s&&a&&(Y=EC(e,t,i,r.index)),Y!==null){let L=Y.__ngLastListenerFn__||Y;L.__ngNextListenerFn__=o,Y.__ngLastListenerFn__=o,h=!1}else{o=Rd(r,t,l,o),wC(M,i,o);let L=n.listen(y,i,o);d.push(o,L),c&&c.push(i,Z,b,b+1)}}else o=Rd(r,t,l,o);let f=r.outputs,g;if(h&&f!==null&&(g=f[i])){let M=g.length;if(M)for(let y=0;y-1?Et(e.index,t):t;$u(s,5);let a=Nd(t,n,r,o),u=i.__ngNextListenerFn__;for(;u;)a=Nd(t,n,u,o)&&a,u=u.__ngNextListenerFn__;return a}}function qt(e=1){return Sv(e)}function Fh(e){let t=Dv();return av(t,Ne+e)}function zn(e,t=""){let n=G(),r=Ie(),i=e+Ne,o=r.firstCreatePass?jo(r,i,1,t,null):r.data[i],s=IC(r,n,o,t,e);n[i]=s,Eu()&&Lu(r,n,s,o),br(o,!1)}var IC=(e,t,n,r,i)=>(Iu(!0),hy(t[ne],r));function Gu(e,t,n){Rh(t)&&(t=t());let r=G(),i=Du();if(zo(r,i,t)){let o=Ie(),s=_f();gh(o,s,r,e,t,r[ne],n,!1)}return Gu}function Ph(e,t){let n=Rh(e);return n&&e.set(t),n}function Wu(e,t){let n=G(),r=Ie(),i=ge();return Oh(r,n,n[ne],i,e,t),Wu}function bC(e,t,n){let r=Ie();if(r.firstCreatePass){let i=yt(e);su(n,r.data,r.blueprint,i,!0),su(t,r.data,r.blueprint,i,!1)}}function su(e,t,n,r,i){if(e=ue(e),Array.isArray(e))for(let o=0;o>20;if(_n(e)||!e.multi){let f=new Ut(c,i,ee),g=_a(u,t,i?l:l+h,d);g===-1?(Va(go(a,s),o,u),ba(o,e,t.length),t.push(u),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),n.push(f),s.push(f)):(n[g]=f,s[g]=f)}else{let f=_a(u,t,l+h,d),g=_a(u,t,l,l+h),M=f>=0&&n[f],y=g>=0&&n[g];if(i&&!y||!i&&!M){Va(go(a,s),o,u);let b=SC(i?MC:_C,n.length,i,r,c);!i&&y&&(n[g].providerFactory=b),ba(o,e,t.length,0),t.push(u),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),n.push(b),s.push(b)}else{let b=kh(n[i?g:f],c,!i&&r);ba(o,e,f>-1?f:g,b)}!i&&r&&y&&n[g].componentProviders++}}}function ba(e,t,n,r){let i=_n(t),o=Wm(t);if(i||o){let u=(o?ue(t.useClass):t).prototype.ngOnDestroy;if(u){let c=e.destroyHooks||(e.destroyHooks=[]);if(!i&&t.multi){let l=c.indexOf(n);l===-1?c.push(n,[r,u]):c[l+1].push(r,u)}else c.push(n,u)}}}function kh(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function _a(e,t,n,r){for(let i=n;i{n.providersResolver=(r,i)=>bC(r,i?i(e):e,t)}}var xC=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let r=Xd(!1,n.type),i=r.length>0?Hu([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,i)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static{this.\u0275prov=w({token:e,providedIn:"environment",factory:()=>new e(O(we))})}}return e})();function Zo(e){$n("NgStandalone"),e.getStandaloneInjector=t=>t.get(xC).getOrCreateStandaloneInjector(e)}var Yo=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"platform"})}}return e})();var Lh=new C("");function Zt(e){return!!e&&typeof e.then=="function"}function Vh(e){return!!e&&typeof e.subscribe=="function"}var Qo=new C(""),jh=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r}),this.appInits=m(Qo,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let n=[];for(let i of this.appInits){let o=i();if(Zt(o))n.push(o);else if(Vh(o)){let s=new Promise((a,u)=>{o.subscribe({complete:a,error:u})});n.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(i=>{this.reject(i)}),n.length===0&&r(),this.initialized=!0}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),qu=new C("");function TC(){vl(()=>{throw new D(600,!1)})}function AC(e){return e.isBoundToModule}var NC=10;function RC(e,t,n){try{let r=n();return Zt(r)?r.catch(i=>{throw t.runOutsideAngular(()=>e.handleError(i)),i}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}var Ye=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=m(Jv),this.afterRenderManager=m(XD),this.zonelessEnabled=m(Uo),this.dirtyFlags=0,this.deferredDirtyFlags=0,this.externalTestViews=new Set,this.beforeRender=new H,this.afterTick=new H,this.componentTypes=[],this.components=[],this.isStable=m(Bn).hasPendingTasks.pipe(_(n=>!n)),this._injector=m(we)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:i=>{i&&r()}})}).finally(()=>{n.unsubscribe()})}get injector(){return this._injector}bootstrap(n,r){let i=n instanceof Eo;if(!this._injector.get(jh).done){let h=!i&&Yd(n),f=!1;throw new D(405,f)}let s;i?s=n:s=this._injector.get(Rn).resolveComponentFactory(n),this.componentTypes.push(s.componentType);let a=AC(s)?void 0:this._injector.get(Dt),u=r||s.selector,c=s.create(Ge.NULL,[],u,a),l=c.location.nativeElement,d=c.injector.get(Lh,null);return d?.registerApplication(l),c.onDestroy(()=>{this.detachView(c.hostView),eo(this.components,c),d?.unregisterApplication(l)}),this._loadComponent(c),c}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){if(this._runningTick)throw new D(101,!1);let n=P(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,P(n),this.afterTick.next()}}synchronize(){let n=null;this._injector.destroyed||(n=this._injector.get(On,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let r=0;for(;this.dirtyFlags!==0&&r++Fo(n))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(n){let r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){let r=n;eo(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);let r=this._injector.get(qu,[]);[...this._bootstrapListeners,...r].forEach(i=>i(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),()=>eo(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new D(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function eo(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function OC(e,t,n,r){if(!n&&!Fo(e))return;_h(e,t,n&&!r?0:1)}var uu=class{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},Zu=(()=>{class e{compileModuleSync(n){return new ru(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let r=this.compileModuleSync(n),i=Qd(n),o=Jf(i.declarations).reduce((s,a)=>{let u=Lt(a);return u&&s.push(new Cr(u)),s},[]);return new uu(r,o)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var FC=(()=>{class e{constructor(){this.zone=m(q),this.changeDetectionScheduler=m(Nn),this.applicationRef=m(Ye)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),PC=new C("",{factory:()=>!1});function Bh({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new q(k(p({},$h()),{scheduleInRootZone:n})),[{provide:q,useFactory:e},{provide:bn,multi:!0,useFactory:()=>{let r=m(FC,{optional:!0});return()=>r.initialize()}},{provide:bn,multi:!0,useFactory:()=>{let r=m(kC);return()=>{r.initialize()}}},t===!0?{provide:Th,useValue:!0}:[],{provide:Ah,useValue:n??Vf}]}function Uh(e){let t=e?.ignoreChangesOutsideZone,n=e?.scheduleInRootZone,r=Bh({ngZoneFactory:()=>{let i=$h(e);return i.scheduleInRootZone=n,i.shouldCoalesceEventChangeDetection&&$n("NgZone_CoalesceEvent"),new q(i)},ignoreChangesOutsideZone:t,scheduleInRootZone:n});return kn([{provide:PC,useValue:!0},{provide:Uo,useValue:!1},r])}function $h(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var kC=(()=>{class e{constructor(){this.subscription=new W,this.initialized=!1,this.zone=m(q),this.pendingTasks=m(Bn)}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(()=>{q.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{q.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var LC=(()=>{class e{constructor(){this.appRef=m(Ye),this.taskService=m(Bn),this.ngZone=m(q),this.zonelessEnabled=m(Uo),this.disableScheduling=m(Th,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new W,this.angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(vo):null,this.scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(m(Ah,{optional:!0})??!1),this.cancelScheduledCallback=null,this.useMicrotaskScheduler=!1,this.runningTick=!1,this.pendingRenderTaskId=null,this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof Ha||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&n===5)return;switch(n){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 7:{this.appRef.deferredDirtyFlags|=8;break}case 9:case 8:case 6:case 10:default:this.appRef.dirtyFlags|=8}if(!this.shouldScheduleTick())return;let r=this.useMicrotaskScheduler?gd:Bf;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>r(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>r(()=>this.tick()))}shouldScheduleTick(){return!(this.disableScheduling||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(vo+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){throw this.taskService.remove(n),r}finally{this.cleanup()}this.useMicrotaskScheduler=!0,gd(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function VC(){return typeof $localize<"u"&&$localize.locale||Mo}var Yu=new C("",{providedIn:"root",factory:()=>m(Yu,x.Optional|x.SkipSelf)||VC()});var cu=new C("");function Qi(e){return!e.moduleRef}function jC(e){let t=Qi(e)?e.r3Injector:e.moduleRef.injector,n=t.get(q);return n.run(()=>{Qi(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(tt,null),i;if(n.runOutsideAngular(()=>{i=n.onError.subscribe({next:o=>{r.handleError(o)}})}),Qi(e)){let o=()=>t.destroy(),s=e.platformInjector.get(cu);s.add(o),t.onDestroy(()=>{i.unsubscribe(),s.delete(o)})}else{let o=()=>e.moduleRef.destroy(),s=e.platformInjector.get(cu);s.add(o),e.moduleRef.onDestroy(()=>{eo(e.allPlatformModules,e.moduleRef),i.unsubscribe(),s.delete(o)})}return RC(r,n,()=>{let o=t.get(jh);return o.runInitializers(),o.donePromise.then(()=>{let s=t.get(Yu,Mo);if(CC(s||Mo),Qi(e)){let a=t.get(Ye);return e.rootComponent!==void 0&&a.bootstrap(e.rootComponent),a}else return BC(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}function BC(e,t){let n=e.injector.get(Ye);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>n.bootstrap(r));else if(e.instance.ngDoBootstrap)e.instance.ngDoBootstrap(n);else throw new D(-403,!1);t.push(e)}var to=null;function UC(e=[],t){return Ge.create({name:t,providers:[{provide:No,useValue:"platform"},{provide:cu,useValue:new Set([()=>to=null])},...e]})}function $C(e=[]){if(to)return to;let t=UC(e);return to=t,TC(),HC(t),t}function HC(e){e.get(Au,null)?.forEach(n=>n())}function Hh(){return!1}var Yt=(()=>{class e{static{this.__NG_ELEMENT_ID__=zC}}return e})();function zC(e){return GC(ge(),G(),(e&16)===16)}function GC(e,t,n){if(Oo(e)&&!n){let r=Et(e.index,t);return new An(r,r)}else if(e.type&175){let r=t[He];return new An(r,t)}return null}function zh(e){try{let{rootComponent:t,appProviders:n,platformProviders:r}=e,i=$C(r),o=[Bh({}),{provide:Nn,useExisting:LC},...n||[]],s=new bo({providers:o,parent:i,debugName:"",runEnvironmentInitializers:!1});return jC({r3Injector:s.injector,platformInjector:i,rootComponent:t})}catch(t){return Promise.reject(t)}}function Ko(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function Jo(e,t){$n("NgSignals");let n=pl(e);return t?.equal&&(n[Je].equal=t.equal),n}function It(e){let t=P(null);try{return e()}finally{P(t)}}var qh=null;function at(){return qh}function Zh(e){qh??=e}var Xo=class{};var Me=new C(""),Yh=(()=>{class e{historyGo(n){throw new Error("")}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=w({token:e,factory:()=>m(ZC),providedIn:"platform"})}}return e})();var ZC=(()=>{class e extends Yh{constructor(){super(),this._doc=m(Me),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return at().getBaseHref(this._doc)}onPopState(n){let r=at().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){let r=at().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",n,!1),()=>r.removeEventListener("hashchange",n)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(n){this._location.pathname=n}pushState(n,r,i){this._history.pushState(n,r,i)}replaceState(n,r,i){this._history.replaceState(n,r,i)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=w({token:e,factory:()=>new e,providedIn:"platform"})}}return e})();function Qh(e,t){if(e.length==0)return t;if(t.length==0)return e;let n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,n==2?e+t.substring(1):n==1?e+t:e+"/"+t}function Gh(e){let t=e.match(/#|\?|$/),n=t&&t.index||e.length,r=n-(e[n-1]==="/"?1:0);return e.slice(0,r)+e.slice(n)}function Qt(e){return e&&e[0]!=="?"?"?"+e:e}var ts=(()=>{class e{historyGo(n){throw new Error("")}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=w({token:e,factory:()=>m(Kh),providedIn:"root"})}}return e})(),YC=new C(""),Kh=(()=>{class e extends ts{constructor(n,r){super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??m(Me).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 Qh(this._baseHref,n)}path(n=!1){let r=this._platformLocation.pathname+Qt(this._platformLocation.search),i=this._platformLocation.hash;return i&&n?`${r}${i}`:r}pushState(n,r,i,o){let s=this.prepareExternalUrl(i+Qt(o));this._platformLocation.pushState(n,r,s)}replaceState(n,r,i,o){let s=this.prepareExternalUrl(i+Qt(o));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{this.\u0275fac=function(r){return new(r||e)(O(Yh),O(YC,8))}}static{this.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var Tr=(()=>{class e{constructor(n){this._subject=new X,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=n;let r=this._locationStrategy.getBaseHref();this._basePath=JC(Gh(Wh(r))),this._locationStrategy.onPopState(i=>{this._subject.emit({url:this.path(!0),pop:!0,state:i.state,type:i.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+Qt(r))}normalize(n){return e.stripTrailingSlash(KC(this._basePath,Wh(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,r="",i=null){this._locationStrategy.pushState(i,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Qt(r)),i)}replaceState(n,r="",i=null){this._locationStrategy.replaceState(i,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Qt(r)),i)}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.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}),()=>{let r=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(r,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",r){this._urlChangeListeners.forEach(i=>i(n,r))}subscribe(n,r,i){return this._subject.subscribe({next:n,error:r,complete:i})}static{this.normalizeQueryParams=Qt}static{this.joinWithSlash=Qh}static{this.stripTrailingSlash=Gh}static{this.\u0275fac=function(r){return new(r||e)(O(ts))}}static{this.\u0275prov=w({token:e,factory:()=>QC(),providedIn:"root"})}}return e})();function QC(){return new Tr(O(ts))}function KC(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function Wh(e){return e.replace(/\/index.html$/,"")}function JC(e){if(new RegExp("^(https?:)?//").test(e)){let[,n]=e.split(/\/\/[^\/]+/);return n}return e}function Jh(e,t){t=encodeURIComponent(t);for(let n of e.split(";")){let r=n.indexOf("="),[i,o]=r==-1?[n,""]:[n.slice(0,r),n.slice(r+1)];if(i.trim()===t)return decodeURIComponent(o)}return null}var Ku=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275mod=wt({type:e})}static{this.\u0275inj=Ct({})}}return e})(),Ju="browser",XC="server";function Xu(e){return e===Ju}function ec(e){return e===XC}var es=class{};var rc=class extends Xo{constructor(){super(...arguments),this.supportsDOMEvents=!0}},ic=class e extends rc{static makeCurrent(){Zh(new e)}onAndCancel(t,n,r){return t.addEventListener(n,r),()=>{t.removeEventListener(n,r)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.remove()}createElement(t,n){return n=n||this.getDefaultDocument(),n.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 n==="window"?window:n==="document"?t:n==="body"?t.body:null}getBaseHref(t){let n=tw();return n==null?null:nw(n)}resetBaseElement(){Ar=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return Jh(document.cookie,t)}},Ar=null;function tw(){return Ar=Ar||document.querySelector("base"),Ar?Ar.getAttribute("href"):null}function nw(e){return new URL(e,document.baseURI).pathname}var rw=(()=>{class e{build(){return new XMLHttpRequest}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=w({token:e,factory:e.\u0275fac})}}return e})(),oc=new C(""),np=(()=>{class e{constructor(n,r){this._zone=r,this._eventNameToPlugin=new Map,n.forEach(i=>{i.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,r,i){return this._findPluginFor(r).addEventListener(n,r,i)}getZone(){return this._zone}_findPluginFor(n){let r=this._eventNameToPlugin.get(n);if(r)return r;if(r=this._plugins.find(o=>o.supports(n)),!r)throw new D(5101,!1);return this._eventNameToPlugin.set(n,r),r}static{this.\u0275fac=function(r){return new(r||e)(O(oc),O(q))}}static{this.\u0275prov=w({token:e,factory:e.\u0275fac})}}return e})(),ns=class{constructor(t){this._doc=t}},tc="ng-app-id",rp=(()=>{class e{constructor(n,r,i,o={}){this.doc=n,this.appId=r,this.nonce=i,this.platformId=o,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=ec(o),this.resetHostNodes()}addStyles(n){for(let r of n)this.changeUsageCount(r,1)===1&&this.onStyleAdded(r)}removeStyles(n){for(let r of n)this.changeUsageCount(r,-1)<=0&&this.onStyleRemoved(r)}ngOnDestroy(){let n=this.styleNodesInDOM;n&&(n.forEach(r=>r.remove()),n.clear());for(let r of this.getAllStyles())this.onStyleRemoved(r);this.resetHostNodes()}addHost(n){this.hostNodes.add(n);for(let r of this.getAllStyles())this.addStyleToHost(n,r)}removeHost(n){this.hostNodes.delete(n)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(n){for(let r of this.hostNodes)this.addStyleToHost(r,n)}onStyleRemoved(n){let r=this.styleRef;r.get(n)?.elements?.forEach(i=>i.remove()),r.delete(n)}collectServerRenderedStyles(){let n=this.doc.head?.querySelectorAll(`style[${tc}="${this.appId}"]`);if(n?.length){let r=new Map;return n.forEach(i=>{i.textContent!=null&&r.set(i.textContent,i)}),r}return null}changeUsageCount(n,r){let i=this.styleRef;if(i.has(n)){let o=i.get(n);return o.usage+=r,o.usage}return i.set(n,{usage:r,elements:[]}),r}getStyleElement(n,r){let i=this.styleNodesInDOM,o=i?.get(r);if(o?.parentNode===n)return i.delete(r),o.removeAttribute(tc),o;{let s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=r,this.platformIsServer&&s.setAttribute(tc,this.appId),n.appendChild(s),s}}addStyleToHost(n,r){let i=this.getStyleElement(n,r),o=this.styleRef,s=o.get(r)?.elements;s?s.push(i):o.set(r,{elements:[i],usage:1})}resetHostNodes(){let n=this.hostNodes;n.clear(),n.add(this.doc.head)}static{this.\u0275fac=function(r){return new(r||e)(O(Me),O(Tu),O(Nu,8),O(st))}}static{this.\u0275prov=w({token:e,factory:e.\u0275fac})}}return e})(),nc={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/Math/MathML"},ac=/%COMP%/g,ip="%COMP%",iw=`_nghost-${ip}`,ow=`_ngcontent-${ip}`,sw=!0,aw=new C("",{providedIn:"root",factory:()=>sw});function uw(e){return ow.replace(ac,e)}function cw(e){return iw.replace(ac,e)}function op(e,t){return t.map(n=>n.replace(ac,e))}var Xh=(()=>{class e{constructor(n,r,i,o,s,a,u,c=null){this.eventManager=n,this.sharedStylesHost=r,this.appId=i,this.removeStylesOnCompDestroy=o,this.doc=s,this.platformId=a,this.ngZone=u,this.nonce=c,this.rendererByCompId=new Map,this.platformIsServer=ec(a),this.defaultRenderer=new Nr(n,s,u,this.platformIsServer)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===Ue.ShadowDom&&(r=k(p({},r),{encapsulation:Ue.Emulated}));let i=this.getOrCreateRenderer(n,r);return i instanceof rs?i.applyToHost(n):i instanceof Rr&&i.applyStyles(),i}getOrCreateRenderer(n,r){let i=this.rendererByCompId,o=i.get(r.id);if(!o){let s=this.doc,a=this.ngZone,u=this.eventManager,c=this.sharedStylesHost,l=this.removeStylesOnCompDestroy,d=this.platformIsServer;switch(r.encapsulation){case Ue.Emulated:o=new rs(u,c,r,this.appId,l,s,a,d);break;case Ue.ShadowDom:return new sc(u,c,n,r,s,a,this.nonce,d);default:o=new Rr(u,c,r,l,s,a,d);break}i.set(r.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}static{this.\u0275fac=function(r){return new(r||e)(O(np),O(rp),O(Tu),O(aw),O(Me),O(st),O(q),O(Nu))}}static{this.\u0275prov=w({token:e,factory:e.\u0275fac})}}return e})(),Nr=class{constructor(t,n,r,i){this.eventManager=t,this.doc=n,this.ngZone=r,this.platformIsServer=i,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(t,n){return n?this.doc.createElementNS(nc[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(ep(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(ep(t)?t.content:t).insertBefore(n,r)}removeChild(t,n){n.remove()}selectRootElement(t,n){let r=typeof t=="string"?this.doc.querySelector(t):t;if(!r)throw new D(-5104,!1);return n||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,r,i){if(i){n=i+":"+n;let o=nc[i];o?t.setAttributeNS(o,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){let i=nc[r];i?t.removeAttributeNS(i,n):t.removeAttribute(`${r}:${n}`)}else t.removeAttribute(n)}addClass(t,n){t.classList.add(n)}removeClass(t,n){t.classList.remove(n)}setStyle(t,n,r,i){i&(nt.DashCase|nt.Important)?t.style.setProperty(n,r,i&nt.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&nt.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,r){t!=null&&(t[n]=r)}setValue(t,n){t.nodeValue=n}listen(t,n,r){if(typeof t=="string"&&(t=at().getGlobalEventTarget(this.doc,t),!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(n==="__ngUnwrap__")return t;(this.platformIsServer?this.ngZone.runGuarded(()=>t(n)):t(n))===!1&&n.preventDefault()}}};function ep(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var sc=class extends Nr{constructor(t,n,r,i,o,s,a,u){super(t,o,s,u),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let c=op(i.id,i.styles);for(let l of c){let d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=l,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(null,n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Rr=class extends Nr{constructor(t,n,r,i,o,s,a,u){super(t,o,s,a),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=i,this.styles=u?op(u,r.styles):r.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},rs=class extends Rr{constructor(t,n,r,i,o,s,a,u){let c=i+"-"+r.id;super(t,n,r,o,s,a,u,c),this.contentAttr=uw(c),this.hostAttr=cw(c)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,n){let r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,""),r}},lw=(()=>{class e extends ns{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,i){return n.addEventListener(r,i,!1),()=>this.removeEventListener(n,r,i)}removeEventListener(n,r,i){return n.removeEventListener(r,i)}static{this.\u0275fac=function(r){return new(r||e)(O(Me))}}static{this.\u0275prov=w({token:e,factory:e.\u0275fac})}}return e})(),tp=["alt","control","meta","shift"],dw={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},fw={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},hw=(()=>{class e extends ns{constructor(n){super(n)}supports(n){return e.parseEventName(n)!=null}addEventListener(n,r,i){let o=e.parseEventName(r),s=e.eventCallback(o.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>at().onAndCancel(n,o.domEventName,s))}static parseEventName(n){let r=n.toLowerCase().split("."),i=r.shift();if(r.length===0||!(i==="keydown"||i==="keyup"))return null;let o=e._normalizeKey(r.pop()),s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),tp.forEach(c=>{let l=r.indexOf(c);l>-1&&(r.splice(l,1),s+=c+".")}),s+=o,r.length!=0||o.length===0)return null;let u={};return u.domEventName=i,u.fullKey=s,u}static matchEventFullKeyCode(n,r){let i=dw[n.key]||n.key,o="";return r.indexOf("code.")>-1&&(i=n.code,o="code."),i==null||!i?!1:(i=i.toLowerCase(),i===" "?i="space":i==="."&&(i="dot"),tp.forEach(s=>{if(s!==i){let a=fw[s];a(n)&&(o+=s+".")}}),o+=i,o===r)}static eventCallback(n,r,i){return o=>{e.matchEventFullKeyCode(o,n)&&i.runGuarded(()=>r(o))}}static _normalizeKey(n){return n==="esc"?"escape":n}static{this.\u0275fac=function(r){return new(r||e)(O(Me))}}static{this.\u0275prov=w({token:e,factory:e.\u0275fac})}}return e})();function sp(e,t){return zh(p({rootComponent:e},pw(t)))}function pw(e){return{appProviders:[...Dw,...e?.providers??[]],platformProviders:yw}}function gw(){ic.makeCurrent()}function mw(){return new tt}function vw(){return qf(document),document}var yw=[{provide:st,useValue:Ju},{provide:Au,useValue:gw,multi:!0},{provide:Me,useFactory:vw,deps:[]}];var Dw=[{provide:No,useValue:"root"},{provide:tt,useFactory:mw,deps:[]},{provide:oc,useClass:lw,multi:!0,deps:[Me,q,st]},{provide:oc,useClass:hw,multi:!0,deps:[Me]},Xh,rp,np,{provide:On,useExisting:Xh},{provide:es,useClass:rw,deps:[]},[]];var ap=(()=>{class e{constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}static{this.\u0275fac=function(r){return new(r||e)(O(Me))}}static{this.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var S="primary",Yr=Symbol("RouteTitle"),fc=class{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){let n=this.params[t];return Array.isArray(n)?n[0]:n}return null}getAll(t){if(this.has(t)){let n=this.params[t];return Array.isArray(n)?n:[n]}return[]}get keys(){return Object.keys(this.params)}};function Kn(e){return new fc(e)}function Ew(e,t,n){let r=n.path.split("/");if(r.length>e.length||n.pathMatch==="full"&&(t.hasChildren()||r.lengthr[o]===i)}else return e===t}function mp(e){return e.length>0?e[e.length-1]:null}function bt(e){return ia(e)?e:Zt(e)?$(Promise.resolve(e)):E(e)}var bw={exact:yp,subset:Dp},vp={exact:_w,subset:Mw,ignored:()=>!0};function up(e,t,n){return bw[n.paths](e.root,t.root,n.matrixParams)&&vp[n.queryParams](e.queryParams,t.queryParams)&&!(n.fragment==="exact"&&e.fragment!==t.fragment)}function _w(e,t){return Qe(e,t)}function yp(e,t,n){if(!Jt(e.segments,t.segments)||!ss(e.segments,t.segments,n)||e.numberOfChildren!==t.numberOfChildren)return!1;for(let r in t.children)if(!e.children[r]||!yp(e.children[r],t.children[r],n))return!1;return!0}function Mw(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(n=>gp(e[n],t[n]))}function Dp(e,t,n){return Cp(e,t,t.segments,n)}function Cp(e,t,n,r){if(e.segments.length>n.length){let i=e.segments.slice(0,n.length);return!(!Jt(i,n)||t.hasChildren()||!ss(i,n,r))}else if(e.segments.length===n.length){if(!Jt(e.segments,n)||!ss(e.segments,n,r))return!1;for(let i in t.children)if(!e.children[i]||!Dp(e.children[i],t.children[i],r))return!1;return!0}else{let i=n.slice(0,e.segments.length),o=n.slice(e.segments.length);return!Jt(e.segments,i)||!ss(e.segments,i,r)||!e.children[S]?!1:Cp(e.children[S],t,o,r)}}function ss(e,t,n){return t.every((r,i)=>vp[n](e[i].parameters,r.parameters))}var ct=class{constructor(t=new V([],{}),n={},r=null){this.root=t,this.queryParams=n,this.fragment=r}get queryParamMap(){return this._queryParamMap??=Kn(this.queryParams),this._queryParamMap}toString(){return Tw.serialize(this)}},V=class{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 as(this)}},Kt=class{constructor(t,n){this.path=t,this.parameters=n}get parameterMap(){return this._parameterMap??=Kn(this.parameters),this._parameterMap}toString(){return Ep(this)}};function Sw(e,t){return Jt(e,t)&&e.every((n,r)=>Qe(n.parameters,t[r].parameters))}function Jt(e,t){return e.length!==t.length?!1:e.every((n,r)=>n.path===t[r].path)}function xw(e,t){let n=[];return Object.entries(e.children).forEach(([r,i])=>{r===S&&(n=n.concat(t(i,r)))}),Object.entries(e.children).forEach(([r,i])=>{r!==S&&(n=n.concat(t(i,r)))}),n}var jc=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=w({token:e,factory:()=>new jr,providedIn:"root"})}}return e})(),jr=class{parse(t){let n=new gc(t);return new ct(n.parseRootSegment(),n.parseQueryParams(),n.parseFragment())}serialize(t){let n=`/${Or(t.root,!0)}`,r=Rw(t.queryParams),i=typeof t.fragment=="string"?`#${Aw(t.fragment)}`:"";return`${n}${r}${i}`}},Tw=new jr;function as(e){return e.segments.map(t=>Ep(t)).join("/")}function Or(e,t){if(!e.hasChildren())return as(e);if(t){let n=e.children[S]?Or(e.children[S],!1):"",r=[];return Object.entries(e.children).forEach(([i,o])=>{i!==S&&r.push(`${i}:${Or(o,!1)}`)}),r.length>0?`${n}(${r.join("//")})`:n}else{let n=xw(e,(r,i)=>i===S?[Or(e.children[S],!1)]:[`${i}:${Or(r,!1)}`]);return Object.keys(e.children).length===1&&e.children[S]!=null?`${as(e)}/${n[0]}`:`${as(e)}/(${n.join("//")})`}}function wp(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function is(e){return wp(e).replace(/%3B/gi,";")}function Aw(e){return encodeURI(e)}function pc(e){return wp(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function us(e){return decodeURIComponent(e)}function cp(e){return us(e.replace(/\+/g,"%20"))}function Ep(e){return`${pc(e.path)}${Nw(e.parameters)}`}function Nw(e){return Object.entries(e).map(([t,n])=>`;${pc(t)}=${pc(n)}`).join("")}function Rw(e){let t=Object.entries(e).map(([n,r])=>Array.isArray(r)?r.map(i=>`${is(n)}=${is(i)}`).join("&"):`${is(n)}=${is(r)}`).filter(n=>n);return t.length?`?${t.join("&")}`:""}var Ow=/^[^\/()?;#]+/;function uc(e){let t=e.match(Ow);return t?t[0]:""}var Fw=/^[^\/()?;=#]+/;function Pw(e){let t=e.match(Fw);return t?t[0]:""}var kw=/^[^=?&#]+/;function Lw(e){let t=e.match(kw);return t?t[0]:""}var Vw=/^[^&#]+/;function jw(e){let t=e.match(Vw);return t?t[0]:""}var gc=class{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new V([],{}):new V([],this.parseChildren())}parseQueryParams(){let 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("/");let 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[S]=new V(t,n)),r}parseSegment(){let t=uc(this.remaining);if(t===""&&this.peekStartsWith(";"))throw new D(4009,!1);return this.capture(t),new Kt(us(t),this.parseMatrixParams())}parseMatrixParams(){let t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){let n=Pw(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){let i=uc(this.remaining);i&&(r=i,this.capture(r))}t[us(n)]=us(r)}parseQueryParam(t){let n=Lw(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){let s=jw(this.remaining);s&&(r=s,this.capture(r))}let i=cp(n),o=cp(r);if(t.hasOwnProperty(i)){let s=t[i];Array.isArray(s)||(s=[s],t[i]=s),s.push(o)}else t[i]=o}parseParens(t){let n={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let r=uc(this.remaining),i=this.remaining[r.length];if(i!=="/"&&i!==")"&&i!==";")throw new D(4010,!1);let o;r.indexOf(":")>-1?(o=r.slice(0,r.indexOf(":")),this.capture(o),this.capture(":")):t&&(o=S);let s=this.parseChildren();n[o]=Object.keys(s).length===1?s[S]:new V([],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):!1}capture(t){if(!this.consumeOptional(t))throw new D(4011,!1)}};function Ip(e){return e.segments.length>0?new V([],{[S]:e}):e}function bp(e){let t={};for(let[r,i]of Object.entries(e.children)){let o=bp(i);if(r===S&&o.segments.length===0&&o.hasChildren())for(let[s,a]of Object.entries(o.children))t[s]=a;else(o.segments.length>0||o.hasChildren())&&(t[r]=o)}let n=new V(e.segments,t);return Bw(n)}function Bw(e){if(e.numberOfChildren===1&&e.children[S]){let t=e.children[S];return new V(e.segments.concat(t.segments),t.children)}return e}function Br(e){return e instanceof ct}function Uw(e,t,n=null,r=null){let i=_p(e);return Mp(i,t,n,r)}function _p(e){let t;function n(o){let s={};for(let u of o.children){let c=n(u);s[u.outlet]=c}let a=new V(o.url,s);return o===e&&(t=a),a}let r=n(e.root),i=Ip(r);return t??i}function Mp(e,t,n,r){let i=e;for(;i.parent;)i=i.parent;if(t.length===0)return cc(i,i,i,n,r);let o=$w(t);if(o.toRoot())return cc(i,i,new V([],{}),n,r);let s=Hw(o,i,e),a=s.processChildren?kr(s.segmentGroup,s.index,o.commands):xp(s.segmentGroup,s.index,o.commands);return cc(i,s.segmentGroup,a,n,r)}function cs(e){return typeof e=="object"&&e!=null&&!e.outlets&&!e.segmentPath}function Ur(e){return typeof e=="object"&&e!=null&&e.outlets}function cc(e,t,n,r,i){let o={};r&&Object.entries(r).forEach(([u,c])=>{o[u]=Array.isArray(c)?c.map(l=>`${l}`):`${c}`});let s;e===t?s=n:s=Sp(e,t,n);let a=Ip(bp(s));return new ct(a,o,i)}function Sp(e,t,n){let r={};return Object.entries(e.children).forEach(([i,o])=>{o===t?r[i]=n:r[i]=Sp(o,t,n)}),new V(e.segments,r)}var ls=class{constructor(t,n,r){if(this.isAbsolute=t,this.numberOfDoubleDots=n,this.commands=r,t&&r.length>0&&cs(r[0]))throw new D(4003,!1);let i=r.find(Ur);if(i&&i!==mp(r))throw new D(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function $w(e){if(typeof e[0]=="string"&&e.length===1&&e[0]==="/")return new ls(!0,0,e);let t=0,n=!1,r=e.reduce((i,o,s)=>{if(typeof o=="object"&&o!=null){if(o.outlets){let a={};return Object.entries(o.outlets).forEach(([u,c])=>{a[u]=typeof c=="string"?c.split("/"):c}),[...i,{outlets:a}]}if(o.segmentPath)return[...i,o.segmentPath]}return typeof o!="string"?[...i,o]:s===0?(o.split("/").forEach((a,u)=>{u==0&&a==="."||(u==0&&a===""?n=!0:a===".."?t++:a!=""&&i.push(a))}),i):[...i,o]},[]);return new ls(n,t,r)}var Zn=class{constructor(t,n,r){this.segmentGroup=t,this.processChildren=n,this.index=r}};function Hw(e,t,n){if(e.isAbsolute)return new Zn(t,!0,0);if(!n)return new Zn(t,!1,NaN);if(n.parent===null)return new Zn(n,!0,0);let r=cs(e.commands[0])?0:1,i=n.segments.length-1+r;return zw(n,i,e.numberOfDoubleDots)}function zw(e,t,n){let r=e,i=t,o=n;for(;o>i;){if(o-=i,r=r.parent,!r)throw new D(4005,!1);i=r.segments.length}return new Zn(r,!1,i-o)}function Gw(e){return Ur(e[0])?e[0].outlets:{[S]:e}}function xp(e,t,n){if(e??=new V([],{}),e.segments.length===0&&e.hasChildren())return kr(e,t,n);let r=Ww(e,t,n),i=n.slice(r.commandIndex);if(r.match&&r.pathIndexo!==S)&&e.children[S]&&e.numberOfChildren===1&&e.children[S].segments.length===0){let o=kr(e.children[S],t,n);return new V(e.segments,o.children)}return Object.entries(r).forEach(([o,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(i[o]=xp(e.children[o],t,s))}),Object.entries(e.children).forEach(([o,s])=>{r[o]===void 0&&(i[o]=s)}),new V(e.segments,i)}}function Ww(e,t,n){let r=0,i=t,o={match:!1,pathIndex:0,commandIndex:0};for(;i=n.length)return o;let s=e.segments[i],a=n[r];if(Ur(a))break;let u=`${a}`,c=r0&&u===void 0)break;if(u&&c&&typeof c=="object"&&c.outlets===void 0){if(!dp(u,c,s))return o;r+=2}else{if(!dp(u,{},s))return o;r++}i++}return{match:!0,pathIndex:i,commandIndex:r}}function mc(e,t,n){let r=e.segments.slice(0,t),i=0;for(;i{typeof r=="string"&&(r=[r]),r!==null&&(t[n]=mc(new V([],{}),0,r))}),t}function lp(e){let t={};return Object.entries(e).forEach(([n,r])=>t[n]=`${r}`),t}function dp(e,t,n){return e==n.path&&Qe(t,n.parameters)}var Lr="imperative",re=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}(re||{}),Se=class{constructor(t,n){this.id=t,this.url=n}},$r=class extends Se{constructor(t,n,r="imperative",i=null){super(t,n),this.type=re.NavigationStart,this.navigationTrigger=r,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},Xt=class extends Se{constructor(t,n,r){super(t,n),this.urlAfterRedirects=r,this.type=re.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},ve=function(e){return e[e.Redirect=0]="Redirect",e[e.SupersededByNewNavigation=1]="SupersededByNewNavigation",e[e.NoDataFromResolver=2]="NoDataFromResolver",e[e.GuardRejected=3]="GuardRejected",e}(ve||{}),vc=function(e){return e[e.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",e[e.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",e}(vc||{}),ut=class extends Se{constructor(t,n,r,i){super(t,n),this.reason=r,this.code=i,this.type=re.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},en=class extends Se{constructor(t,n,r,i){super(t,n),this.reason=r,this.code=i,this.type=re.NavigationSkipped}},Hr=class extends Se{constructor(t,n,r,i){super(t,n),this.error=r,this.target=i,this.type=re.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},ds=class extends Se{constructor(t,n,r,i){super(t,n),this.urlAfterRedirects=r,this.state=i,this.type=re.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},yc=class extends Se{constructor(t,n,r,i){super(t,n),this.urlAfterRedirects=r,this.state=i,this.type=re.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Dc=class extends Se{constructor(t,n,r,i,o){super(t,n),this.urlAfterRedirects=r,this.state=i,this.shouldActivate=o,this.type=re.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},Cc=class extends Se{constructor(t,n,r,i){super(t,n),this.urlAfterRedirects=r,this.state=i,this.type=re.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},wc=class extends Se{constructor(t,n,r,i){super(t,n),this.urlAfterRedirects=r,this.state=i,this.type=re.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Ec=class{constructor(t){this.route=t,this.type=re.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Ic=class{constructor(t){this.route=t,this.type=re.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},bc=class{constructor(t){this.snapshot=t,this.type=re.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},_c=class{constructor(t){this.snapshot=t,this.type=re.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Mc=class{constructor(t){this.snapshot=t,this.type=re.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Sc=class{constructor(t){this.snapshot=t,this.type=re.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}};var zr=class{},Jn=class{constructor(t,n){this.url=t,this.navigationBehaviorOptions=n}};function Zw(e,t){return e.providers&&!e._injector&&(e._injector=Hu(e.providers,t,`Route: ${e.path}`)),e._injector??t}function Pe(e){return e.outlet||S}function Yw(e,t){let n=e.filter(r=>Pe(r)===t);return n.push(...e.filter(r=>Pe(r)!==t)),n}function Qr(e){if(!e)return null;if(e.routeConfig?._injector)return e.routeConfig._injector;for(let t=e.parent;t;t=t.parent){let n=t.routeConfig;if(n?._loadedInjector)return n._loadedInjector;if(n?._injector)return n._injector}return null}var xc=class{get injector(){return Qr(this.route?.snapshot)??this.rootInjector}set injector(t){}constructor(t){this.rootInjector=t,this.outlet=null,this.route=null,this.children=new ys(this.rootInjector),this.attachRef=null}},ys=(()=>{class e{constructor(n){this.rootInjector=n,this.contexts=new Map}onChildOutletCreated(n,r){let i=this.getOrCreateContext(n);i.outlet=r,this.contexts.set(n,i)}onChildOutletDestroyed(n){let r=this.getContext(n);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){let 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 xc(this.rootInjector),this.contexts.set(n,r)),r}getContext(n){return this.contexts.get(n)||null}static{this.\u0275fac=function(r){return new(r||e)(O(we))}}static{this.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),fs=class{constructor(t){this._root=t}get root(){return this._root.value}parent(t){let n=this.pathFromRoot(t);return n.length>1?n[n.length-2]:null}children(t){let n=Tc(t,this._root);return n?n.children.map(r=>r.value):[]}firstChild(t){let n=Tc(t,this._root);return n&&n.children.length>0?n.children[0].value:null}siblings(t){let n=Ac(t,this._root);return n.length<2?[]:n[n.length-2].children.map(i=>i.value).filter(i=>i!==t)}pathFromRoot(t){return Ac(t,this._root).map(n=>n.value)}};function Tc(e,t){if(e===t.value)return t;for(let n of t.children){let r=Tc(e,n);if(r)return r}return null}function Ac(e,t){if(e===t.value)return[t];for(let n of t.children){let r=Ac(e,n);if(r.length)return r.unshift(t),r}return[]}var me=class{constructor(t,n){this.value=t,this.children=n}toString(){return`TreeNode(${this.value})`}};function qn(e){let t={};return e&&e.children.forEach(n=>t[n.value.outlet]=n),t}var hs=class extends fs{constructor(t,n){super(t),this.snapshot=n,Bc(this,t)}toString(){return this.snapshot.toString()}};function Tp(e){let t=Qw(e),n=new te([new Kt("",{})]),r=new te({}),i=new te({}),o=new te({}),s=new te(""),a=new Xn(n,r,o,s,i,S,e,t.root);return a.snapshot=t.root,new hs(new me(a,[]),t)}function Qw(e){let t={},n={},r={},i="",o=new Yn([],t,r,i,n,S,e,null,{});return new gs("",new me(o,[]))}var Xn=class{constructor(t,n,r,i,o,s,a,u){this.urlSubject=t,this.paramsSubject=n,this.queryParamsSubject=r,this.fragmentSubject=i,this.dataSubject=o,this.outlet=s,this.component=a,this._futureSnapshot=u,this.title=this.dataSubject?.pipe(_(c=>c[Yr]))??E(void 0),this.url=t,this.params=n,this.queryParams=r,this.fragment=i,this.data=o}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(_(t=>Kn(t))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(_(t=>Kn(t))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function ps(e,t,n="emptyOnly"){let r,{routeConfig:i}=e;return t!==null&&(n==="always"||i?.path===""||!t.component&&!t.routeConfig?.loadComponent)?r={params:p(p({},t.params),e.params),data:p(p({},t.data),e.data),resolve:p(p(p(p({},e.data),t.data),i?.data),e._resolvedData)}:r={params:p({},e.params),data:p({},e.data),resolve:p(p({},e.data),e._resolvedData??{})},i&&Np(i)&&(r.resolve[Yr]=i.title),r}var Yn=class{get title(){return this.data?.[Yr]}constructor(t,n,r,i,o,s,a,u,c){this.url=t,this.params=n,this.queryParams=r,this.fragment=i,this.data=o,this.outlet=s,this.component=a,this.routeConfig=u,this._resolve=c}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=Kn(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Kn(this.queryParams),this._queryParamMap}toString(){let t=this.url.map(r=>r.toString()).join("/"),n=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${t}', path:'${n}')`}},gs=class extends fs{constructor(t,n){super(n),this.url=t,Bc(this,n)}toString(){return Ap(this._root)}};function Bc(e,t){t.value._routerState=e,t.children.forEach(n=>Bc(e,n))}function Ap(e){let t=e.children.length>0?` { ${e.children.map(Ap).join(", ")} } `:"";return`${e.value}${t}`}function lc(e){if(e.snapshot){let t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,Qe(t.queryParams,n.queryParams)||e.queryParamsSubject.next(n.queryParams),t.fragment!==n.fragment&&e.fragmentSubject.next(n.fragment),Qe(t.params,n.params)||e.paramsSubject.next(n.params),Iw(t.url,n.url)||e.urlSubject.next(n.url),Qe(t.data,n.data)||e.dataSubject.next(n.data)}else e.snapshot=e._futureSnapshot,e.dataSubject.next(e._futureSnapshot.data)}function Nc(e,t){let n=Qe(e.params,t.params)&&Sw(e.url,t.url),r=!e.parent!=!t.parent;return n&&!r&&(!e.parent||Nc(e.parent,t.parent))}function Np(e){return typeof e.title=="string"||e.title===null}var Uc=(()=>{class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=S,this.activateEvents=new X,this.deactivateEvents=new X,this.attachEvents=new X,this.detachEvents=new X,this.parentContexts=m(ys),this.location=m($o),this.changeDetector=m(Yt),this.inputBinder=m($c,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(n){if(n.name){let{firstChange:r,previousValue:i}=n.name;if(r)return;this.isTrackedInParentContexts(i)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(i)),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;let 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 D(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new D(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new D(4012,!1);this.location.detach();let 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){let n=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}}activateWith(n,r){if(this.isActivated)throw new D(4013,!1);this._activatedRoute=n;let i=this.location,s=n.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,u=new Rc(n,a,i.injector);this.activated=i.createComponent(s,{index:i.length,injector:u,environmentInjector:r}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275dir=We({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[Vn]})}}return e})(),Rc=class e{__ngOutletInjector(t){return new e(this.route,this.childContexts,t)}constructor(t,n,r){this.route=t,this.childContexts=n,this.parent=r}get(t,n){return t===Xn?this.route:t===ys?this.childContexts:this.parent.get(t,n)}},$c=new C("");function Kw(e,t,n){let r=Gr(e,t._root,n?n._root:void 0);return new hs(r,t)}function Gr(e,t,n){if(n&&e.shouldReuseRoute(t.value,n.value.snapshot)){let r=n.value;r._futureSnapshot=t.value;let i=Jw(e,t,n);return new me(r,i)}else{if(e.shouldAttach(t.value)){let o=e.retrieve(t.value);if(o!==null){let s=o.route;return s.value._futureSnapshot=t.value,s.children=t.children.map(a=>Gr(e,a)),s}}let r=Xw(t.value),i=t.children.map(o=>Gr(e,o));return new me(r,i)}}function Jw(e,t,n){return t.children.map(r=>{for(let i of n.children)if(e.shouldReuseRoute(r.value,i.value.snapshot))return Gr(e,r,i);return Gr(e,r)})}function Xw(e){return new Xn(new te(e.url),new te(e.params),new te(e.queryParams),new te(e.fragment),new te(e.data),e.outlet,e.component,e)}var Wr=class{constructor(t,n){this.redirectTo=t,this.navigationBehaviorOptions=n}},Rp="ngNavigationCancelingError";function ms(e,t){let{redirectTo:n,navigationBehaviorOptions:r}=Br(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,i=Op(!1,ve.Redirect);return i.url=n,i.navigationBehaviorOptions=r,i}function Op(e,t){let n=new Error(`NavigationCancelingError: ${e||""}`);return n[Rp]=!0,n.cancellationCode=t,n}function eE(e){return Fp(e)&&Br(e.url)}function Fp(e){return!!e&&e[Rp]}var tE=(e,t,n,r)=>_(i=>(new Oc(t,i.targetRouterState,i.currentRouterState,n,r).activate(e),i)),Oc=class{constructor(t,n,r,i,o){this.routeReuseStrategy=t,this.futureState=n,this.currState=r,this.forwardEvent=i,this.inputBindingEnabled=o}activate(t){let n=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(n,r,t),lc(this.futureState.root),this.activateChildRoutes(n,r,t)}deactivateChildRoutes(t,n,r){let i=qn(n);t.children.forEach(o=>{let s=o.value.outlet;this.deactivateRoutes(o,i[s],r),delete i[s]}),Object.values(i).forEach(o=>{this.deactivateRouteAndItsChildren(o,r)})}deactivateRoutes(t,n,r){let i=t.value,o=n?n.value:null;if(i===o)if(i.component){let s=r.getContext(i.outlet);s&&this.deactivateChildRoutes(t,n,s.children)}else this.deactivateChildRoutes(t,n,r);else o&&this.deactivateRouteAndItsChildren(n,r)}deactivateRouteAndItsChildren(t,n){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,n):this.deactivateRouteAndOutlet(t,n)}detachAndStoreRouteSubtree(t,n){let r=n.getContext(t.value.outlet),i=r&&t.value.component?r.children:n,o=qn(t);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);if(r&&r.outlet){let s=r.outlet.detach(),a=r.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:s,route:t,contexts:a})}}deactivateRouteAndOutlet(t,n){let r=n.getContext(t.value.outlet),i=r&&t.value.component?r.children:n,o=qn(t);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);r&&(r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated()),r.attachRef=null,r.route=null)}activateChildRoutes(t,n,r){let i=qn(n);t.children.forEach(o=>{this.activateRoutes(o,i[o.value.outlet],r),this.forwardEvent(new Sc(o.value.snapshot))}),t.children.length&&this.forwardEvent(new _c(t.value.snapshot))}activateRoutes(t,n,r){let i=t.value,o=n?n.value:null;if(lc(i),i===o)if(i.component){let s=r.getOrCreateContext(i.outlet);this.activateChildRoutes(t,n,s.children)}else this.activateChildRoutes(t,n,r);else if(i.component){let s=r.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){let a=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),lc(a.route.value),this.activateChildRoutes(t,null,s.children)}else s.attachRef=null,s.route=i,s.outlet&&s.outlet.activateWith(i,s.injector),this.activateChildRoutes(t,null,s.children)}else this.activateChildRoutes(t,null,r)}},vs=class{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}},Qn=class{constructor(t,n){this.component=t,this.route=n}};function nE(e,t,n){let r=e._root,i=t?t._root:null;return Fr(r,i,n,[r.value])}function rE(e){let t=e.routeConfig?e.routeConfig.canActivateChild:null;return!t||t.length===0?null:{node:e,guards:t}}function tr(e,t){let n=Symbol(),r=t.get(e,n);return r===n?typeof e=="function"&&!Pd(e)?e:t.get(e):r}function Fr(e,t,n,r,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=qn(t);return e.children.forEach(s=>{iE(s,o[s.value.outlet],n,r.concat([s.value]),i),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,a])=>Vr(a,n.getContext(s),i)),i}function iE(e,t,n,r,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=e.value,s=t?t.value:null,a=n?n.getContext(e.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){let u=oE(s,o,o.routeConfig.runGuardsAndResolvers);u?i.canActivateChecks.push(new vs(r)):(o.data=s.data,o._resolvedData=s._resolvedData),o.component?Fr(e,t,a?a.children:null,r,i):Fr(e,t,n,r,i),u&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new Qn(a.outlet.component,s))}else s&&Vr(t,a,i),i.canActivateChecks.push(new vs(r)),o.component?Fr(e,null,a?a.children:null,r,i):Fr(e,null,n,r,i);return i}function oE(e,t,n){if(typeof n=="function")return n(e,t);switch(n){case"pathParamsChange":return!Jt(e.url,t.url);case"pathParamsOrQueryParamsChange":return!Jt(e.url,t.url)||!Qe(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Nc(e,t)||!Qe(e.queryParams,t.queryParams);case"paramsChange":default:return!Nc(e,t)}}function Vr(e,t,n){let r=qn(e),i=e.value;Object.entries(r).forEach(([o,s])=>{i.component?t?Vr(s,t.children.getContext(o),n):Vr(s,null,n):Vr(s,t,n)}),i.component?t&&t.outlet&&t.outlet.isActivated?n.canDeactivateChecks.push(new Qn(t.outlet.component,i)):n.canDeactivateChecks.push(new Qn(null,i)):n.canDeactivateChecks.push(new Qn(null,i))}function Kr(e){return typeof e=="function"}function sE(e){return typeof e=="boolean"}function aE(e){return e&&Kr(e.canLoad)}function uE(e){return e&&Kr(e.canActivate)}function cE(e){return e&&Kr(e.canActivateChild)}function lE(e){return e&&Kr(e.canDeactivate)}function dE(e){return e&&Kr(e.canMatch)}function Pp(e){return e instanceof et||e?.name==="EmptyError"}var os=Symbol("INITIAL_VALUE");function er(){return se(e=>zi(e.map(t=>t.pipe(K(1),da(os)))).pipe(_(t=>{for(let n of t)if(n!==!0){if(n===os)return os;if(n===!1||fE(n))return n}return!0}),oe(t=>t!==os),K(1)))}function fE(e){return Br(e)||e instanceof Wr}function hE(e,t){return z(n=>{let{targetSnapshot:r,currentSnapshot:i,guards:{canActivateChecks:o,canDeactivateChecks:s}}=n;return s.length===0&&o.length===0?E(k(p({},n),{guardsResult:!0})):pE(s,r,i,e).pipe(z(a=>a&&sE(a)?gE(r,o,e,t):E(a)),_(a=>k(p({},n),{guardsResult:a})))})}function pE(e,t,n,r){return $(e).pipe(z(i=>CE(i.component,i.route,n,t,r)),Ve(i=>i!==!0,!0))}function gE(e,t,n,r){return $(t).pipe(gn(i=>Le(vE(i.route.parent,r),mE(i.route,r),DE(e,i.path,n),yE(e,i.route,n))),Ve(i=>i!==!0,!0))}function mE(e,t){return e!==null&&t&&t(new Mc(e)),E(!0)}function vE(e,t){return e!==null&&t&&t(new bc(e)),E(!0)}function yE(e,t,n){let r=t.routeConfig?t.routeConfig.canActivate:null;if(!r||r.length===0)return E(!0);let i=r.map(o=>Ft(()=>{let s=Qr(t)??n,a=tr(o,s),u=uE(a)?a.canActivate(t,e):rt(s,()=>a(t,e));return bt(u).pipe(Ve())}));return E(i).pipe(er())}function DE(e,t,n){let r=t[t.length-1],o=t.slice(0,t.length-1).reverse().map(s=>rE(s)).filter(s=>s!==null).map(s=>Ft(()=>{let a=s.guards.map(u=>{let c=Qr(s.node)??n,l=tr(u,c),d=cE(l)?l.canActivateChild(r,e):rt(c,()=>l(r,e));return bt(d).pipe(Ve())});return E(a).pipe(er())}));return E(o).pipe(er())}function CE(e,t,n,r,i){let o=t&&t.routeConfig?t.routeConfig.canDeactivate:null;if(!o||o.length===0)return E(!0);let s=o.map(a=>{let u=Qr(t)??i,c=tr(a,u),l=lE(c)?c.canDeactivate(e,t,n,r):rt(u,()=>c(e,t,n,r));return bt(l).pipe(Ve())});return E(s).pipe(er())}function wE(e,t,n,r){let i=t.canLoad;if(i===void 0||i.length===0)return E(!0);let o=i.map(s=>{let a=tr(s,e),u=aE(a)?a.canLoad(t,n):rt(e,()=>a(t,n));return bt(u)});return E(o).pipe(er(),kp(r))}function kp(e){return Ks(J(t=>{if(typeof t!="boolean")throw ms(e,t)}),_(t=>t===!0))}function EE(e,t,n,r){let i=t.canMatch;if(!i||i.length===0)return E(!0);let o=i.map(s=>{let a=tr(s,e),u=dE(a)?a.canMatch(t,n):rt(e,()=>a(t,n));return bt(u)});return E(o).pipe(er(),kp(r))}var qr=class{constructor(t){this.segmentGroup=t||null}},Zr=class extends Error{constructor(t){super(),this.urlTree=t}};function Wn(e){return dt(new qr(e))}function IE(e){return dt(new D(4e3,!1))}function bE(e){return dt(Op(!1,ve.GuardRejected))}var Fc=class{constructor(t,n){this.urlSerializer=t,this.urlTree=n}lineralizeSegments(t,n){let r=[],i=n.root;for(;;){if(r=r.concat(i.segments),i.numberOfChildren===0)return E(r);if(i.numberOfChildren>1||!i.children[S])return IE(`${t.redirectTo}`);i=i.children[S]}}applyRedirectCommands(t,n,r,i,o){if(typeof n!="string"){let a=n,{queryParams:u,fragment:c,routeConfig:l,url:d,outlet:h,params:f,data:g,title:M}=i,y=rt(o,()=>a({params:f,data:g,queryParams:u,fragment:c,routeConfig:l,url:d,outlet:h,title:M}));if(y instanceof ct)throw new Zr(y);n=y}let s=this.applyRedirectCreateUrlTree(n,this.urlSerializer.parse(n),t,r);if(n[0]==="/")throw new Zr(s);return s}applyRedirectCreateUrlTree(t,n,r,i){let o=this.createSegmentGroup(t,n.root,r,i);return new ct(o,this.createQueryParams(n.queryParams,this.urlTree.queryParams),n.fragment)}createQueryParams(t,n){let r={};return Object.entries(t).forEach(([i,o])=>{if(typeof o=="string"&&o[0]===":"){let a=o.substring(1);r[i]=n[a]}else r[i]=o}),r}createSegmentGroup(t,n,r,i){let o=this.createSegments(t,n.segments,r,i),s={};return Object.entries(n.children).forEach(([a,u])=>{s[a]=this.createSegmentGroup(t,u,r,i)}),new V(o,s)}createSegments(t,n,r,i){return n.map(o=>o.path[0]===":"?this.findPosParam(t,o,i):this.findOrReturn(o,r))}findPosParam(t,n,r){let i=r[n.path.substring(1)];if(!i)throw new D(4001,!1);return i}findOrReturn(t,n){let r=0;for(let i of n){if(i.path===t.path)return n.splice(r),i;r++}return t}},Pc={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function _E(e,t,n,r,i){let o=Lp(e,t,n);return o.matched?(r=Zw(t,r),EE(r,t,n,i).pipe(_(s=>s===!0?o:p({},Pc)))):E(o)}function Lp(e,t,n){if(t.path==="**")return ME(n);if(t.path==="")return t.pathMatch==="full"&&(e.hasChildren()||n.length>0)?p({},Pc):{matched:!0,consumedSegments:[],remainingSegments:n,parameters:{},positionalParamSegments:{}};let i=(t.matcher||Ew)(n,e,t);if(!i)return p({},Pc);let o={};Object.entries(i.posParams??{}).forEach(([a,u])=>{o[a]=u.path});let s=i.consumed.length>0?p(p({},o),i.consumed[i.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:i.consumed,remainingSegments:n.slice(i.consumed.length),parameters:s,positionalParamSegments:i.posParams??{}}}function ME(e){return{matched:!0,parameters:e.length>0?mp(e).parameters:{},consumedSegments:e,remainingSegments:[],positionalParamSegments:{}}}function fp(e,t,n,r){return n.length>0&&TE(e,n,r)?{segmentGroup:new V(t,xE(r,new V(n,e.children))),slicedSegments:[]}:n.length===0&&AE(e,n,r)?{segmentGroup:new V(e.segments,SE(e,n,r,e.children)),slicedSegments:n}:{segmentGroup:new V(e.segments,e.children),slicedSegments:n}}function SE(e,t,n,r){let i={};for(let o of n)if(Ds(e,t,o)&&!r[Pe(o)]){let s=new V([],{});i[Pe(o)]=s}return p(p({},r),i)}function xE(e,t){let n={};n[S]=t;for(let r of e)if(r.path===""&&Pe(r)!==S){let i=new V([],{});n[Pe(r)]=i}return n}function TE(e,t,n){return n.some(r=>Ds(e,t,r)&&Pe(r)!==S)}function AE(e,t,n){return n.some(r=>Ds(e,t,r))}function Ds(e,t,n){return(e.hasChildren()||t.length>0)&&n.pathMatch==="full"?!1:n.path===""}function NE(e,t,n){return t.length===0&&!e.children[n]}var kc=class{};function RE(e,t,n,r,i,o,s="emptyOnly"){return new Lc(e,t,n,r,i,s,o).recognize()}var OE=31,Lc=class{constructor(t,n,r,i,o,s,a){this.injector=t,this.configLoader=n,this.rootComponentType=r,this.config=i,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new Fc(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(t){return new D(4002,`'${t.segmentGroup}'`)}recognize(){let t=fp(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(t).pipe(_(({children:n,rootSnapshot:r})=>{let i=new me(r,n),o=new gs("",i),s=Uw(r,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),{state:o,tree:s}}))}match(t){let n=new Yn([],Object.freeze({}),Object.freeze(p({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),S,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,t,S,n).pipe(_(r=>({children:r,rootSnapshot:n})),ft(r=>{if(r instanceof Zr)return this.urlTree=r.urlTree,this.match(r.urlTree.root);throw r instanceof qr?this.noMatchError(r):r}))}processSegmentGroup(t,n,r,i,o){return r.segments.length===0&&r.hasChildren()?this.processChildren(t,n,r,o):this.processSegment(t,n,r,r.segments,i,!0,o).pipe(_(s=>s instanceof me?[s]:[]))}processChildren(t,n,r,i){let o=[];for(let s of Object.keys(r.children))s==="primary"?o.unshift(s):o.push(s);return $(o).pipe(gn(s=>{let a=r.children[s],u=Yw(n,s);return this.processSegmentGroup(t,u,a,s,i)}),la((s,a)=>(s.push(...a),s)),ht(null),ua(),z(s=>{if(s===null)return Wn(r);let a=Vp(s);return FE(a),E(a)}))}processSegment(t,n,r,i,o,s,a){return $(n).pipe(gn(u=>this.processSegmentAgainstRoute(u._injector??t,n,u,r,i,o,s,a).pipe(ft(c=>{if(c instanceof qr)return E(null);throw c}))),Ve(u=>!!u),ft(u=>{if(Pp(u))return NE(r,i,o)?E(new kc):Wn(r);throw u}))}processSegmentAgainstRoute(t,n,r,i,o,s,a,u){return Pe(r)!==s&&(s===S||!Ds(i,o,r))?Wn(i):r.redirectTo===void 0?this.matchSegmentAgainstRoute(t,i,r,o,s,u):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(t,i,n,r,o,s,u):Wn(i)}expandSegmentAgainstRouteUsingRedirect(t,n,r,i,o,s,a){let{matched:u,parameters:c,consumedSegments:l,positionalParamSegments:d,remainingSegments:h}=Lp(n,i,o);if(!u)return Wn(n);typeof i.redirectTo=="string"&&i.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>OE&&(this.allowRedirects=!1));let f=new Yn(o,c,Object.freeze(p({},this.urlTree.queryParams)),this.urlTree.fragment,hp(i),Pe(i),i.component??i._loadedComponent??null,i,pp(i)),g=ps(f,a,this.paramsInheritanceStrategy);f.params=Object.freeze(g.params),f.data=Object.freeze(g.data);let M=this.applyRedirects.applyRedirectCommands(l,i.redirectTo,d,f,t);return this.applyRedirects.lineralizeSegments(i,M).pipe(z(y=>this.processSegment(t,r,n,y.concat(h),s,!1,a)))}matchSegmentAgainstRoute(t,n,r,i,o,s){let a=_E(n,r,i,t,this.urlSerializer);return r.path==="**"&&(n.children={}),a.pipe(se(u=>u.matched?(t=r._injector??t,this.getChildConfig(t,r,i).pipe(se(({routes:c})=>{let l=r._loadedInjector??t,{parameters:d,consumedSegments:h,remainingSegments:f}=u,g=new Yn(h,d,Object.freeze(p({},this.urlTree.queryParams)),this.urlTree.fragment,hp(r),Pe(r),r.component??r._loadedComponent??null,r,pp(r)),M=ps(g,s,this.paramsInheritanceStrategy);g.params=Object.freeze(M.params),g.data=Object.freeze(M.data);let{segmentGroup:y,slicedSegments:b}=fp(n,h,f,c);if(b.length===0&&y.hasChildren())return this.processChildren(l,c,y,g).pipe(_(Y=>new me(g,Y)));if(c.length===0&&b.length===0)return E(new me(g,[]));let Z=Pe(r)===o;return this.processSegment(l,c,y,b,Z?S:o,!0,g).pipe(_(Y=>new me(g,Y instanceof me?[Y]:[])))}))):Wn(n)))}getChildConfig(t,n,r){return n.children?E({routes:n.children,injector:t}):n.loadChildren?n._loadedRoutes!==void 0?E({routes:n._loadedRoutes,injector:n._loadedInjector}):wE(t,n,r,this.urlSerializer).pipe(z(i=>i?this.configLoader.loadChildren(t,n).pipe(J(o=>{n._loadedRoutes=o.routes,n._loadedInjector=o.injector})):bE(n))):E({routes:[],injector:t})}};function FE(e){e.sort((t,n)=>t.value.outlet===S?-1:n.value.outlet===S?1:t.value.outlet.localeCompare(n.value.outlet))}function PE(e){let t=e.value.routeConfig;return t&&t.path===""}function Vp(e){let t=[],n=new Set;for(let r of e){if(!PE(r)){t.push(r);continue}let i=t.find(o=>r.value.routeConfig===o.value.routeConfig);i!==void 0?(i.children.push(...r.children),n.add(i)):t.push(r)}for(let r of n){let i=Vp(r.children);t.push(new me(r.value,i))}return t.filter(r=>!n.has(r))}function hp(e){return e.data||{}}function pp(e){return e.resolve||{}}function kE(e,t,n,r,i,o){return z(s=>RE(e,t,n,r,s.extractedUrl,i,o).pipe(_(({state:a,tree:u})=>k(p({},s),{targetSnapshot:a,urlAfterRedirects:u}))))}function LE(e,t){return z(n=>{let{targetSnapshot:r,guards:{canActivateChecks:i}}=n;if(!i.length)return E(n);let o=new Set(i.map(u=>u.route)),s=new Set;for(let u of o)if(!s.has(u))for(let c of jp(u))s.add(c);let a=0;return $(s).pipe(gn(u=>o.has(u)?VE(u,r,e,t):(u.data=ps(u,u.parent,e).resolve,E(void 0))),J(()=>a++),mn(1),z(u=>a===s.size?E(n):ae))})}function jp(e){let t=e.children.map(n=>jp(n)).flat();return[e,...t]}function VE(e,t,n,r){let i=e.routeConfig,o=e._resolve;return i?.title!==void 0&&!Np(i)&&(o[Yr]=i.title),jE(o,e,t,r).pipe(_(s=>(e._resolvedData=s,e.data=ps(e,e.parent,n).resolve,null)))}function jE(e,t,n,r){let i=hc(e);if(i.length===0)return E({});let o={};return $(i).pipe(z(s=>BE(e[s],t,n,r).pipe(Ve(),J(a=>{if(a instanceof Wr)throw ms(new jr,a);o[s]=a}))),mn(1),dr(o),ft(s=>Pp(s)?ae:dt(s)))}function BE(e,t,n,r){let i=Qr(t)??r,o=tr(e,i),s=o.resolve?o.resolve(t,n):rt(i,()=>o(t,n));return bt(s)}function dc(e){return se(t=>{let n=e(t);return n?$(n).pipe(_(()=>t)):E(t)})}var Bp=(()=>{class e{buildTitle(n){let r,i=n.root;for(;i!==void 0;)r=this.getResolvedTitleForRoute(i)??r,i=i.children.find(o=>o.outlet===S);return r}getResolvedTitleForRoute(n){return n.data[Yr]}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=w({token:e,factory:()=>m(UE),providedIn:"root"})}}return e})(),UE=(()=>{class e extends Bp{constructor(n){super(),this.title=n}updateTitle(n){let r=this.buildTitle(n);r!==void 0&&this.title.setTitle(r)}static{this.\u0275fac=function(r){return new(r||e)(O(ap))}}static{this.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),Hc=new C("",{providedIn:"root",factory:()=>({})}),$E=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275cmp=Ao({type:e,selectors:[["ng-component"]],standalone:!0,features:[Zo],decls:1,vars:0,template:function(r,i){r&1&&Hn(0,"router-outlet")},dependencies:[Uc],encapsulation:2})}}return e})();function zc(e){let t=e.children&&e.children.map(zc),n=t?k(p({},e),{children:t}):p({},e);return!n.component&&!n.loadComponent&&(t||n.loadChildren)&&n.outlet&&n.outlet!==S&&(n.component=$E),n}var Gc=new C(""),HE=(()=>{class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=m(Zu)}loadComponent(n){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return E(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);let r=bt(n.loadComponent()).pipe(_(Up),J(o=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=o}),fr(()=>{this.componentLoaders.delete(n)})),i=new lt(r,()=>new H).pipe(ln());return this.componentLoaders.set(n,i),i}loadChildren(n,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return E({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);let o=zE(r,this.compiler,n,this.onLoadEndListener).pipe(fr(()=>{this.childrenLoaders.delete(r)})),s=new lt(o,()=>new H).pipe(ln());return this.childrenLoaders.set(r,s),s}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function zE(e,t,n,r){return bt(e.loadChildren()).pipe(_(Up),z(i=>i instanceof wr||Array.isArray(i)?E(i):$(t.compileModuleAsync(i))),_(i=>{r&&r(e);let o,s,a=!1;return Array.isArray(i)?(s=i,a=!0):(o=i.create(n).injector,s=o.get(Gc,[],{optional:!0,self:!0}).flat()),{routes:s.map(zc),injector:o}}))}function GE(e){return e&&typeof e=="object"&&"default"in e}function Up(e){return GE(e)?e.default:e}var Wc=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=w({token:e,factory:()=>m(WE),providedIn:"root"})}}return e})(),WE=(()=>{class e{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,r){return n}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),qE=new C("");var ZE=new C(""),YE=(()=>{class e{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new H,this.transitionAbortSubject=new H,this.configLoader=m(HE),this.environmentInjector=m(we),this.urlSerializer=m(jc),this.rootContexts=m(ys),this.location=m(Tr),this.inputBindingEnabled=m($c,{optional:!0})!==null,this.titleStrategy=m(Bp),this.options=m(Hc,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=m(Wc),this.createViewTransition=m(qE,{optional:!0}),this.navigationErrorHandler=m(ZE,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>E(void 0),this.rootComponentType=null;let n=i=>this.events.next(new Ec(i)),r=i=>this.events.next(new Ic(i));this.configLoader.onLoadEndListener=r,this.configLoader.onLoadStartListener=n}complete(){this.transitions?.complete()}handleNavigationRequest(n){let r=++this.navigationId;this.transitions?.next(k(p(p({},this.transitions.value),n),{id:r}))}setupNavigations(n,r,i){return this.transitions=new te({id:0,currentUrlTree:r,currentRawUrl:r,extractedUrl:this.urlHandlingStrategy.extract(r),urlAfterRedirects:this.urlHandlingStrategy.extract(r),rawUrl:r,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:Lr,restoredState:null,currentSnapshot:i.snapshot,targetSnapshot:null,currentRouterState:i,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(oe(o=>o.id!==0),_(o=>k(p({},o),{extractedUrl:this.urlHandlingStrategy.extract(o.rawUrl)})),se(o=>{let s=!1,a=!1;return E(o).pipe(se(u=>{if(this.navigationId>o.id)return this.cancelNavigationTransition(o,"",ve.SupersededByNewNavigation),ae;this.currentTransition=o,this.currentNavigation={id:u.id,initialUrl:u.rawUrl,extractedUrl:u.extractedUrl,targetBrowserUrl:typeof u.extras.browserUrl=="string"?this.urlSerializer.parse(u.extras.browserUrl):u.extras.browserUrl,trigger:u.source,extras:u.extras,previousNavigation:this.lastSuccessfulNavigation?k(p({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let c=!n.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),l=u.extras.onSameUrlNavigation??n.onSameUrlNavigation;if(!c&&l!=="reload"){let d="";return this.events.next(new en(u.id,this.urlSerializer.serialize(u.rawUrl),d,vc.IgnoredSameUrlNavigation)),u.resolve(!1),ae}if(this.urlHandlingStrategy.shouldProcessUrl(u.rawUrl))return E(u).pipe(se(d=>{let h=this.transitions?.getValue();return this.events.next(new $r(d.id,this.urlSerializer.serialize(d.extractedUrl),d.source,d.restoredState)),h!==this.transitions?.getValue()?ae:Promise.resolve(d)}),kE(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,this.paramsInheritanceStrategy),J(d=>{o.targetSnapshot=d.targetSnapshot,o.urlAfterRedirects=d.urlAfterRedirects,this.currentNavigation=k(p({},this.currentNavigation),{finalUrl:d.urlAfterRedirects});let h=new ds(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot);this.events.next(h)}));if(c&&this.urlHandlingStrategy.shouldProcessUrl(u.currentRawUrl)){let{id:d,extractedUrl:h,source:f,restoredState:g,extras:M}=u,y=new $r(d,this.urlSerializer.serialize(h),f,g);this.events.next(y);let b=Tp(this.rootComponentType).snapshot;return this.currentTransition=o=k(p({},u),{targetSnapshot:b,urlAfterRedirects:h,extras:k(p({},M),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=h,E(o)}else{let d="";return this.events.next(new en(u.id,this.urlSerializer.serialize(u.extractedUrl),d,vc.IgnoredByUrlHandlingStrategy)),u.resolve(!1),ae}}),J(u=>{let c=new yc(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(c)}),_(u=>(this.currentTransition=o=k(p({},u),{guards:nE(u.targetSnapshot,u.currentSnapshot,this.rootContexts)}),o)),hE(this.environmentInjector,u=>this.events.next(u)),J(u=>{if(o.guardsResult=u.guardsResult,u.guardsResult&&typeof u.guardsResult!="boolean")throw ms(this.urlSerializer,u.guardsResult);let c=new Dc(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot,!!u.guardsResult);this.events.next(c)}),oe(u=>u.guardsResult?!0:(this.cancelNavigationTransition(u,"",ve.GuardRejected),!1)),dc(u=>{if(u.guards.canActivateChecks.length)return E(u).pipe(J(c=>{let l=new Cc(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(l)}),se(c=>{let l=!1;return E(c).pipe(LE(this.paramsInheritanceStrategy,this.environmentInjector),J({next:()=>l=!0,complete:()=>{l||this.cancelNavigationTransition(c,"",ve.NoDataFromResolver)}}))}),J(c=>{let l=new wc(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(l)}))}),dc(u=>{let c=l=>{let d=[];l.routeConfig?.loadComponent&&!l.routeConfig._loadedComponent&&d.push(this.configLoader.loadComponent(l.routeConfig).pipe(J(h=>{l.component=h}),_(()=>{})));for(let h of l.children)d.push(...c(h));return d};return zi(c(u.targetSnapshot.root)).pipe(ht(null),K(1))}),dc(()=>this.afterPreactivation()),se(()=>{let{currentSnapshot:u,targetSnapshot:c}=o,l=this.createViewTransition?.(this.environmentInjector,u.root,c.root);return l?$(l).pipe(_(()=>o)):E(o)}),_(u=>{let c=Kw(n.routeReuseStrategy,u.targetSnapshot,u.currentRouterState);return this.currentTransition=o=k(p({},u),{targetRouterState:c}),this.currentNavigation.targetRouterState=c,o}),J(()=>{this.events.next(new zr)}),tE(this.rootContexts,n.routeReuseStrategy,u=>this.events.next(u),this.inputBindingEnabled),K(1),J({next:u=>{s=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Xt(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects))),this.titleStrategy?.updateTitle(u.targetRouterState.snapshot),u.resolve(!0)},complete:()=>{s=!0}}),fa(this.transitionAbortSubject.pipe(J(u=>{throw u}))),fr(()=>{!s&&!a&&this.cancelNavigationTransition(o,"",ve.SupersededByNewNavigation),this.currentTransition?.id===o.id&&(this.currentNavigation=null,this.currentTransition=null)}),ft(u=>{if(a=!0,Fp(u))this.events.next(new ut(o.id,this.urlSerializer.serialize(o.extractedUrl),u.message,u.cancellationCode)),eE(u)?this.events.next(new Jn(u.url,u.navigationBehaviorOptions)):o.resolve(!1);else{let c=new Hr(o.id,this.urlSerializer.serialize(o.extractedUrl),u,o.targetSnapshot??void 0);try{let l=rt(this.environmentInjector,()=>this.navigationErrorHandler?.(c));if(l instanceof Wr){let{message:d,cancellationCode:h}=ms(this.urlSerializer,l);this.events.next(new ut(o.id,this.urlSerializer.serialize(o.extractedUrl),d,h)),this.events.next(new Jn(l.redirectTo,l.navigationBehaviorOptions))}else{this.events.next(c);let d=n.errorHandler(u);o.resolve(!!d)}}catch(l){this.options.resolveNavigationPromiseOnError?o.resolve(!1):o.reject(l)}}return ae}))}))}cancelNavigationTransition(n,r,i){let o=new ut(n.id,this.urlSerializer.serialize(n.extractedUrl),r,i);this.events.next(o),n.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let n=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),r=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return n.toString()!==r?.toString()&&!this.currentNavigation?.extras.skipLocationChange}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function QE(e){return e!==Lr}var KE=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=w({token:e,factory:()=>m(JE),providedIn:"root"})}}return e})(),Vc=class{shouldDetach(t){return!1}store(t,n){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,n){return t.routeConfig===n.routeConfig}},JE=(()=>{class e extends Vc{static{this.\u0275fac=(()=>{let n;return function(i){return(n||(n=jn(e)))(i||e)}})()}static{this.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),$p=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=w({token:e,factory:()=>m(XE),providedIn:"root"})}}return e})(),XE=(()=>{class e extends $p{constructor(){super(...arguments),this.location=m(Tr),this.urlSerializer=m(jc),this.options=m(Hc,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=m(Wc),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new ct,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=Tp(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?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=>{r.type==="popstate"&&n(r.url,r.state)})}handleRouterEvent(n,r){if(n instanceof $r)this.stateMemento=this.createStateMemento();else if(n instanceof en)this.rawUrlTree=r.initialUrl;else if(n instanceof ds){if(this.urlUpdateStrategy==="eager"&&!r.extras.skipLocationChange){let i=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl);this.setBrowserUrl(r.targetBrowserUrl??i,r)}}else n instanceof zr?(this.currentUrlTree=r.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl),this.routerState=r.targetRouterState,this.urlUpdateStrategy==="deferred"&&!r.extras.skipLocationChange&&this.setBrowserUrl(r.targetBrowserUrl??this.rawUrlTree,r)):n instanceof ut&&(n.code===ve.GuardRejected||n.code===ve.NoDataFromResolver)?this.restoreHistory(r):n instanceof Hr?this.restoreHistory(r,!0):n instanceof Xt&&(this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId)}setBrowserUrl(n,r){let i=n instanceof ct?this.urlSerializer.serialize(n):n;if(this.location.isCurrentPathEqualTo(i)||r.extras.replaceUrl){let o=this.browserPageId,s=p(p({},r.extras.state),this.generateNgRouterState(r.id,o));this.location.replaceState(i,"",s)}else{let o=p(p({},r.extras.state),this.generateNgRouterState(r.id,this.browserPageId+1));this.location.go(i,"",o)}}restoreHistory(n,r=!1){if(this.canceledNavigationResolution==="computed"){let i=this.browserPageId,o=this.currentPageId-i;o!==0?this.location.historyGo(o):this.currentUrlTree===n.finalUrl&&o===0&&(this.resetState(n),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(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 this.canceledNavigationResolution==="computed"?{navigationId:n,\u0275routerPageId:r}:{navigationId:n}}static{this.\u0275fac=(()=>{let n;return function(i){return(n||(n=jn(e)))(i||e)}})()}static{this.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),Pr=function(e){return e[e.COMPLETE=0]="COMPLETE",e[e.FAILED=1]="FAILED",e[e.REDIRECTING=2]="REDIRECTING",e}(Pr||{});function eI(e,t){e.events.pipe(oe(n=>n instanceof Xt||n instanceof ut||n instanceof Hr||n instanceof en),_(n=>n instanceof Xt||n instanceof en?Pr.COMPLETE:(n instanceof ut?n.code===ve.Redirect||n.code===ve.SupersededByNewNavigation:!1)?Pr.REDIRECTING:Pr.FAILED),oe(n=>n!==Pr.REDIRECTING),K(1)).subscribe(()=>{t()})}function tI(e){throw e}var nI={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},rI={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},Hp=(()=>{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.console=m(Yo),this.stateManager=m($p),this.options=m(Hc,{optional:!0})||{},this.pendingTasks=m(Bn),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=m(YE),this.urlSerializer=m(jc),this.location=m(Tr),this.urlHandlingStrategy=m(Wc),this._events=new H,this.errorHandler=this.options.errorHandler||tI,this.navigated=!1,this.routeReuseStrategy=m(KE),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=m(Gc,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!m($c,{optional:!0}),this.eventsSubscription=new W,this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:n=>{this.console.warn(n)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){let n=this.navigationTransitions.events.subscribe(r=>{try{let i=this.navigationTransitions.currentTransition,o=this.navigationTransitions.currentNavigation;if(i!==null&&o!==null){if(this.stateManager.handleRouterEvent(r,o),r instanceof ut&&r.code!==ve.Redirect&&r.code!==ve.SupersededByNewNavigation)this.navigated=!0;else if(r instanceof Xt)this.navigated=!0;else if(r instanceof Jn){let s=r.navigationBehaviorOptions,a=this.urlHandlingStrategy.merge(r.url,i.currentRawUrl),u=p({browserUrl:i.extras.browserUrl,info:i.extras.info,skipLocationChange:i.extras.skipLocationChange,replaceUrl:i.extras.replaceUrl||this.urlUpdateStrategy==="eager"||QE(i.source)},s);this.scheduleNavigation(a,Lr,null,u,{resolve:i.resolve,reject:i.reject,promise:i.promise})}}oI(r)&&this._events.next(r)}catch(i){this.navigationTransitions.transitionAbortSubject.next(i)}});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),Lr,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((n,r)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(n,"popstate",r)},0)})}navigateToSyncWithBrowser(n,r,i){let o={replaceUrl:!0},s=i?.navigationId?i:null;if(i){let u=p({},i);delete u.navigationId,delete u.\u0275routerPageId,Object.keys(u).length!==0&&(o.state=u)}let a=this.parseUrl(n);this.scheduleNavigation(a,r,s,o)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(n){this.config=n.map(zc),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={}){let{relativeTo:i,queryParams:o,fragment:s,queryParamsHandling:a,preserveFragment:u}=r,c=u?this.currentUrlTree.fragment:s,l=null;switch(a??this.options.defaultQueryParamsHandling){case"merge":l=p(p({},this.currentUrlTree.queryParams),o);break;case"preserve":l=this.currentUrlTree.queryParams;break;default:l=o||null}l!==null&&(l=this.removeEmptyProps(l));let d;try{let h=i?i.snapshot:this.routerState.snapshot.root;d=_p(h)}catch{(typeof n[0]!="string"||n[0][0]!=="/")&&(n=[]),d=this.currentUrlTree.root}return Mp(d,n,l,c??null)}navigateByUrl(n,r={skipLocationChange:!1}){let i=Br(n)?n:this.parseUrl(n),o=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(o,Lr,null,r)}navigate(n,r={skipLocationChange:!1}){return iI(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 i;if(r===!0?i=p({},nI):r===!1?i=p({},rI):i=r,Br(n))return up(this.currentUrlTree,n,i);let o=this.parseUrl(n);return up(this.currentUrlTree,o,i)}removeEmptyProps(n){return Object.entries(n).reduce((r,[i,o])=>(o!=null&&(r[i]=o),r),{})}scheduleNavigation(n,r,i,o,s){if(this.disposed)return Promise.resolve(!1);let a,u,c;s?(a=s.resolve,u=s.reject,c=s.promise):c=new Promise((d,h)=>{a=d,u=h});let l=this.pendingTasks.add();return eI(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(l))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:n,extras:o,resolve:a,reject:u,promise:c,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),c.catch(d=>Promise.reject(d))}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function iI(e){for(let t=0;tn.\u0275providers)])}function aI(e){return e.routerState.root}function uI(){let e=m(Ge);return t=>{let n=e.get(Ye);if(t!==n.components[0])return;let r=e.get(Hp),i=e.get(cI);e.get(lI)===1&&r.initialNavigation(),e.get(dI,null,x.Optional)?.setUpPreloading(),e.get(sI,null,x.Optional)?.init(),r.resetRootComponentType(n.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}var cI=new C("",{factory:()=>new H}),lI=new C("",{providedIn:"root",factory:()=>1});var dI=new C("");var Gp=[];var Xr="Service workers are disabled or not supported by this browser";function fI(e){return Ft(()=>dt(new Error(e)))}var nr=class{constructor(t){if(this.serviceWorker=t,!t)this.worker=this.events=this.registration=fI(Xr);else{let r=pn(t,"controllerchange").pipe(_(()=>t.controller)),i=Ft(()=>E(t.controller)),o=Le(i,r);this.worker=o.pipe(oe(l=>!!l)),this.registration=this.worker.pipe(se(()=>t.getRegistration()));let c=pn(t,"message").pipe(_(l=>l.data)).pipe(oe(l=>l&&l.type)).pipe(ca());c.connect(),this.events=c}}postMessage(t,n){return this.worker.pipe(K(1),J(r=>{r.postMessage(p({action:t},n))})).toPromise().then(()=>{})}postMessageWithOperation(t,n,r){let i=this.waitForOperationCompleted(r),o=this.postMessage(t,n);return Promise.all([o,i]).then(([,s])=>s)}generateNonce(){return Math.round(Math.random()*1e7)}eventsOfType(t){let n;return typeof t=="string"?n=r=>r.type===t:n=r=>t.includes(r.type),this.events.pipe(oe(n))}nextEventOfType(t){return this.eventsOfType(t).pipe(K(1))}waitForOperationCompleted(t){return this.eventsOfType("OPERATION_COMPLETED").pipe(oe(n=>n.nonce===t),K(1),_(n=>{if(n.result!==void 0)return n.result;throw new Error(n.error)})).toPromise()}get isEnabled(){return!!this.serviceWorker}},hI=(()=>{class e{get isEnabled(){return this.sw.isEnabled}constructor(n){if(this.sw=n,this.pushManager=null,this.subscriptionChanges=new H,!n.isEnabled){this.messages=Pt,this.notificationClicks=Pt,this.subscription=Pt;return}this.messages=this.sw.eventsOfType("PUSH").pipe(_(i=>i.data)),this.notificationClicks=this.sw.eventsOfType("NOTIFICATION_CLICK").pipe(_(i=>i.data)),this.pushManager=this.sw.registration.pipe(_(i=>i.pushManager));let r=this.pushManager.pipe(se(i=>i.getSubscription()));this.subscription=Gi(r,this.subscriptionChanges)}requestSubscription(n){if(!this.sw.isEnabled||this.pushManager===null)return Promise.reject(new Error(Xr));let r={userVisibleOnly:!0},i=this.decodeBase64(n.serverPublicKey.replace(/_/g,"/").replace(/-/g,"+")),o=new Uint8Array(new ArrayBuffer(i.length));for(let s=0;ss.subscribe(r)),K(1)).toPromise().then(s=>(this.subscriptionChanges.next(s),s))}unsubscribe(){if(!this.sw.isEnabled)return Promise.reject(new Error(Xr));let n=r=>{if(r===null)throw new Error("Not subscribed to push notifications.");return r.unsubscribe().then(i=>{if(!i)throw new Error("Unsubscribe failed!");this.subscriptionChanges.next(null)})};return this.subscription.pipe(K(1),se(n)).toPromise()}decodeBase64(n){return atob(n)}static{this.\u0275fac=function(r){return new(r||e)(O(nr))}}static{this.\u0275prov=w({token:e,factory:e.\u0275fac})}}return e})(),pI=(()=>{class e{get isEnabled(){return this.sw.isEnabled}constructor(n){if(this.sw=n,!n.isEnabled){this.versionUpdates=Pt,this.unrecoverable=Pt;return}this.versionUpdates=this.sw.eventsOfType(["VERSION_DETECTED","VERSION_INSTALLATION_FAILED","VERSION_READY","NO_NEW_VERSION_DETECTED"]),this.unrecoverable=this.sw.eventsOfType("UNRECOVERABLE_STATE")}checkForUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(Xr));let n=this.sw.generateNonce();return this.sw.postMessageWithOperation("CHECK_FOR_UPDATES",{nonce:n},n)}activateUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(Xr));let n=this.sw.generateNonce();return this.sw.postMessageWithOperation("ACTIVATE_UPDATE",{nonce:n},n)}static{this.\u0275fac=function(r){return new(r||e)(O(nr))}}static{this.\u0275prov=w({token:e,factory:e.\u0275fac})}}return e})();var Wp=new C("");function gI(e,t,n,r){return()=>{if(!(Xu(r)&&"serviceWorker"in navigator&&n.enabled!==!1))return;let i=e.get(q),o=e.get(Ye);i.runOutsideAngular(()=>{let a=navigator.serviceWorker,u=()=>a.controller?.postMessage({action:"INITIALIZE"});a.addEventListener("controllerchange",u),o.onDestroy(()=>{a.removeEventListener("controllerchange",u)})});let s;if(typeof n.registrationStrategy=="function")s=n.registrationStrategy();else{let[a,...u]=(n.registrationStrategy||"registerWhenStable:30000").split(":");switch(a){case"registerImmediately":s=E(null);break;case"registerWithDelay":s=qp(+u[0]||0);break;case"registerWhenStable":let c=$(e.get(Ye).whenStable());s=u[0]?Gi(c,qp(+u[0])):c;break;default:throw new Error(`Unknown ServiceWorker registration strategy: ${n.registrationStrategy}`)}}i.runOutsideAngular(()=>s.pipe(K(1)).subscribe(()=>navigator.serviceWorker.register(t,{scope:n.scope}).catch(a=>console.error("Service worker registration failed with:",a))))}}function qp(e){return E(null).pipe(aa(e))}function mI(e,t){return new nr(Xu(t)&&e.enabled!==!1?navigator.serviceWorker:void 0)}var Jr=class{};function Zp(e,t={}){return kn([hI,pI,{provide:Wp,useValue:e},{provide:Jr,useValue:t},{provide:nr,useFactory:mI,deps:[Jr,st]},{provide:Qo,useFactory:gI,deps:[Ge,Wp,Jr,st],multi:!0}])}var Yp={providers:[Uh({eventCoalescing:!0}),zp(Gp),Zp("ngsw-worker.js",{enabled:!Hh(),registrationStrategy:"registerWhenStable:30000"})]};var rg=(()=>{class e{constructor(n,r){this._renderer=n,this._elementRef=r,this.onChange=i=>{},this.onTouched=()=>{}}setProperty(n,r){this._renderer.setProperty(this._elementRef.nativeElement,n,r)}registerOnTouched(n){this.onTouched=n}registerOnChange(n){this.onChange=n}setDisabledState(n){this.setProperty("disabled",n)}static{this.\u0275fac=function(r){return new(r||e)(ee(Un),ee(zt))}}static{this.\u0275dir=We({type:e})}}return e})(),ig=(()=>{class e extends rg{static{this.\u0275fac=(()=>{let n;return function(i){return(n||(n=jn(e)))(i||e)}})()}static{this.\u0275dir=We({type:e,features:[Wt]})}}return e})(),Kc=new C("");var vI={provide:Kc,useExisting:Pn(()=>bs),multi:!0};function yI(){let e=at()?at().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}var DI=new C(""),bs=(()=>{class e extends rg{constructor(n,r,i){super(n,r),this._compositionMode=i,this._composing=!1,this._compositionMode==null&&(this._compositionMode=!yI())}writeValue(n){let r=n??"";this.setProperty("value",r)}_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{this.\u0275fac=function(r){return new(r||e)(ee(Un),ee(zt),ee(DI,8))}}static{this.\u0275dir=We({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,i){r&1&&_e("input",function(s){return i._handleInput(s.target.value)})("blur",function(){return i.onTouched()})("compositionstart",function(){return i._compositionStart()})("compositionend",function(s){return i._compositionEnd(s.target.value)})},features:[qo([vI]),Wt]})}}return e})();var CI=new C(""),wI=new C("");function og(e){return e!=null}function sg(e){return Zt(e)?$(e):e}function ag(e){let t={};return e.forEach(n=>{t=n!=null?p(p({},t),n):t}),Object.keys(t).length===0?null:t}function ug(e,t){return t.map(n=>n(e))}function EI(e){return!e.validate}function cg(e){return e.map(t=>EI(t)?t:n=>t.validate(n))}function II(e){if(!e)return null;let t=e.filter(og);return t.length==0?null:function(n){return ag(ug(n,t))}}function lg(e){return e!=null?II(cg(e)):null}function bI(e){if(!e)return null;let t=e.filter(og);return t.length==0?null:function(n){let r=ug(n,t).map(sg);return oa(r).pipe(_(ag))}}function dg(e){return e!=null?bI(cg(e)):null}function Qp(e,t){return e===null?[t]:Array.isArray(e)?[...e,t]:[e,t]}function _I(e){return e._rawValidators}function MI(e){return e._rawAsyncValidators}function qc(e){return e?Array.isArray(e)?e:[e]:[]}function ws(e,t){return Array.isArray(e)?e.includes(t):e===t}function Kp(e,t){let n=qc(t);return qc(e).forEach(i=>{ws(n,i)||n.push(i)}),n}function Jp(e,t){return qc(t).filter(n=>!ws(e,n))}var Es=class{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=lg(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=dg(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):!1}getError(t,n){return this.control?this.control.getError(t,n):null}},Zc=class extends Es{get formDirective(){return null}get path(){return null}},ii=class extends Es{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}},Yc=class{constructor(t){this._cd=t}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}},SI={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},mR=k(p({},SI),{"[class.ng-submitted]":"isSubmitted"}),fg=(()=>{class e extends Yc{constructor(n){super(n)}static{this.\u0275fac=function(r){return new(r||e)(ee(ii,2))}}static{this.\u0275dir=We({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(r,i){r&2&&Sr("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)},features:[Wt]})}}return e})();var ei="VALID",Cs="INVALID",rr="PENDING",ti="DISABLED",or=class{},Is=class extends or{constructor(t,n){super(),this.value=t,this.source=n}},ni=class extends or{constructor(t,n){super(),this.pristine=t,this.source=n}},ri=class extends or{constructor(t,n){super(),this.touched=t,this.source=n}},ir=class extends or{constructor(t,n){super(),this.status=t,this.source=n}};function xI(e){return(_s(e)?e.validators:e)||null}function TI(e){return Array.isArray(e)?lg(e):e||null}function AI(e,t){return(_s(t)?t.asyncValidators:e)||null}function NI(e){return Array.isArray(e)?dg(e):e||null}function _s(e){return e!=null&&!Array.isArray(e)&&typeof e=="object"}var Qc=class{constructor(t,n){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=null,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this._status=Jo(()=>this.statusReactive()),this.statusReactive=Ho(void 0),this._pristine=Jo(()=>this.pristineReactive()),this.pristineReactive=Ho(!0),this._touched=Jo(()=>this.touchedReactive()),this.touchedReactive=Ho(!1),this._events=new H,this.events=this._events.asObservable(),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 status(){return It(this.statusReactive)}set status(t){It(()=>this.statusReactive.set(t))}get valid(){return this.status===ei}get invalid(){return this.status===Cs}get pending(){return this.status==rr}get disabled(){return this.status===ti}get enabled(){return this.status!==ti}get pristine(){return It(this.pristineReactive)}set pristine(t){It(()=>this.pristineReactive.set(t))}get dirty(){return!this.pristine}get touched(){return It(this.touchedReactive)}set touched(t){It(()=>this.touchedReactive.set(t))}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(Kp(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(Kp(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(Jp(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(Jp(t,this._rawAsyncValidators))}hasValidator(t){return ws(this._rawValidators,t)}hasAsyncValidator(t){return ws(this._rawAsyncValidators,t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){let n=this.touched===!1;this.touched=!0;let r=t.sourceControl??this;this._parent&&!t.onlySelf&&this._parent.markAsTouched(k(p({},t),{sourceControl:r})),n&&t.emitEvent!==!1&&this._events.next(new ri(!0,r))}markAllAsTouched(t={}){this.markAsTouched({onlySelf:!0,emitEvent:t.emitEvent,sourceControl:this}),this._forEachChild(n=>n.markAllAsTouched(t))}markAsUntouched(t={}){let n=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let r=t.sourceControl??this;this._forEachChild(i=>{i.markAsUntouched({onlySelf:!0,emitEvent:t.emitEvent,sourceControl:r})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t,r),n&&t.emitEvent!==!1&&this._events.next(new ri(!1,r))}markAsDirty(t={}){let n=this.pristine===!0;this.pristine=!1;let r=t.sourceControl??this;this._parent&&!t.onlySelf&&this._parent.markAsDirty(k(p({},t),{sourceControl:r})),n&&t.emitEvent!==!1&&this._events.next(new ni(!1,r))}markAsPristine(t={}){let n=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let r=t.sourceControl??this;this._forEachChild(i=>{i.markAsPristine({onlySelf:!0,emitEvent:t.emitEvent})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t,r),n&&t.emitEvent!==!1&&this._events.next(new ni(!0,r))}markAsPending(t={}){this.status=rr;let n=t.sourceControl??this;t.emitEvent!==!1&&(this._events.next(new ir(this.status,n)),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.markAsPending(k(p({},t),{sourceControl:n}))}disable(t={}){let n=this._parentMarkedDirty(t.onlySelf);this.status=ti,this.errors=null,this._forEachChild(i=>{i.disable(k(p({},t),{onlySelf:!0}))}),this._updateValue();let r=t.sourceControl??this;t.emitEvent!==!1&&(this._events.next(new Is(this.value,r)),this._events.next(new ir(this.status,r)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(k(p({},t),{skipPristineCheck:n}),this),this._onDisabledChange.forEach(i=>i(!0))}enable(t={}){let n=this._parentMarkedDirty(t.onlySelf);this.status=ei,this._forEachChild(r=>{r.enable(k(p({},t),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(k(p({},t),{skipPristineCheck:n}),this),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(t,n){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine({},n),this._parent._updateTouched({},n))}setParent(t){this._parent=t}getRawValue(){return this.value}updateValueAndValidity(t={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let r=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===ei||this.status===rr)&&this._runAsyncValidator(r,t.emitEvent)}let n=t.sourceControl??this;t.emitEvent!==!1&&(this._events.next(new Is(this.value,n)),this._events.next(new ir(this.status,n)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(k(p({},t),{sourceControl:n}))}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(n=>n._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?ti:ei}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t,n){if(this.asyncValidator){this.status=rr,this._hasOwnPendingAsyncValidator={emitEvent:n!==!1};let r=sg(this.asyncValidator(this));this._asyncValidationSubscription=r.subscribe(i=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(i,{emitEvent:n,shouldHaveEmitted:t})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let t=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,t}return!1}setErrors(t,n={}){this.errors=t,this._updateControlsErrors(n.emitEvent!==!1,this,n.shouldHaveEmitted)}get(t){let n=t;return n==null||(Array.isArray(n)||(n=n.split(".")),n.length===0)?null:n.reduce((r,i)=>r&&r._find(i),this)}getError(t,n){let 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,n,r){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),(t||r)&&this._events.next(new ir(this.status,n)),this._parent&&this._parent._updateControlsErrors(t,n,r)}_initObservables(){this.valueChanges=new X,this.statusChanges=new X}_calculateStatus(){return this._allControlsDisabled()?ti:this.errors?Cs:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(rr)?rr:this._anyControlsHaveStatus(Cs)?Cs:ei}_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,n){let r=!this._anyControlsDirty(),i=this.pristine!==r;this.pristine=r,this._parent&&!t.onlySelf&&this._parent._updatePristine(t,n),i&&this._events.next(new ni(this.pristine,n))}_updateTouched(t={},n){this.touched=this._anyControlsTouched(),this._events.next(new ri(this.touched,n)),this._parent&&!t.onlySelf&&this._parent._updateTouched(t,n)}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){_s(t)&&t.updateOn!=null&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){let n=this._parent&&this._parent.dirty;return!t&&!!n&&!this._parent._anyControlsDirty()}_find(t){return null}_assignValidators(t){this._rawValidators=Array.isArray(t)?t.slice():t,this._composedValidatorFn=TI(this._rawValidators)}_assignAsyncValidators(t){this._rawAsyncValidators=Array.isArray(t)?t.slice():t,this._composedAsyncValidatorFn=NI(this._rawAsyncValidators)}};var hg=new C("CallSetDisabledState",{providedIn:"root",factory:()=>Jc}),Jc="always";function RI(e,t){return[...t.path,e]}function OI(e,t,n=Jc){PI(e,t),t.valueAccessor.writeValue(e.value),(e.disabled||n==="always")&&t.valueAccessor.setDisabledState?.(e.disabled),kI(e,t),VI(e,t),LI(e,t),FI(e,t)}function Xp(e,t){e.forEach(n=>{n.registerOnValidatorChange&&n.registerOnValidatorChange(t)})}function FI(e,t){if(t.valueAccessor.setDisabledState){let n=r=>{t.valueAccessor.setDisabledState(r)};e.registerOnDisabledChange(n),t._registerOnDestroy(()=>{e._unregisterOnDisabledChange(n)})}}function PI(e,t){let n=_I(e);t.validator!==null?e.setValidators(Qp(n,t.validator)):typeof n=="function"&&e.setValidators([n]);let r=MI(e);t.asyncValidator!==null?e.setAsyncValidators(Qp(r,t.asyncValidator)):typeof r=="function"&&e.setAsyncValidators([r]);let i=()=>e.updateValueAndValidity();Xp(t._rawValidators,i),Xp(t._rawAsyncValidators,i)}function kI(e,t){t.valueAccessor.registerOnChange(n=>{e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,e.updateOn==="change"&&pg(e,t)})}function LI(e,t){t.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,e.updateOn==="blur"&&e._pendingChange&&pg(e,t),e.updateOn!=="submit"&&e.markAsTouched()})}function pg(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function VI(e,t){let n=(r,i)=>{t.valueAccessor.writeValue(r),i&&t.viewToModelUpdate(r)};e.registerOnChange(n),t._registerOnDestroy(()=>{e._unregisterOnChange(n)})}function jI(e,t){if(!e.hasOwnProperty("model"))return!1;let n=e.model;return n.isFirstChange()?!0:!Object.is(t,n.currentValue)}function BI(e){return Object.getPrototypeOf(e.constructor)===ig}function UI(e,t){if(!t)return null;Array.isArray(t);let n,r,i;return t.forEach(o=>{o.constructor===bs?n=o:BI(o)?r=o:i=o}),i||r||n||null}function eg(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function tg(e){return typeof e=="object"&&e!==null&&Object.keys(e).length===2&&"value"in e&&"disabled"in e}var $I=class extends Qc{constructor(t=null,n,r){super(xI(n),AI(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}),_s(n)&&(n.nonNullable||n.initialValueIsDefault)&&(tg(t)?this.defaultValue=t.value:this.defaultValue=t)}setValue(t,n={}){this.value=this._pendingValue=t,this._onChange.length&&n.emitModelToViewChange!==!1&&this._onChange.forEach(r=>r(this.value,n.emitViewToModelChange!==!1)),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){eg(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){eg(this._onDisabledChange,t)}_forEachChild(t){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(t){tg(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}};var HI={provide:ii,useExisting:Pn(()=>Xc)},ng=Promise.resolve(),Xc=(()=>{class e extends ii{constructor(n,r,i,o,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this.control=new $I,this._registered=!1,this.name="",this.update=new X,this._parent=n,this._setValidators(r),this._setAsyncValidators(i),this.valueAccessor=UI(this,o)}ngOnChanges(n){if(this._checkForErrors(),!this._registered||"name"in n){if(this._registered&&(this._checkName(),this.formDirective)){let r=n.name.previousValue;this.formDirective.removeControl({name:r,path:this._getPath(r)})}this._setUpControl()}"isDisabled"in n&&this._updateDisabled(n),jI(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&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){OI(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()&&this.name}_updateValue(n){ng.then(()=>{this.control.setValue(n,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(n){let r=n.isDisabled.currentValue,i=r!==0&&Ko(r);ng.then(()=>{i&&!this.control.disabled?this.control.disable():!i&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(n){return this._parent?RI(n,this._parent):[n]}static{this.\u0275fac=function(r){return new(r||e)(ee(Zc,9),ee(CI,10),ee(wI,10),ee(Kc,10),ee(Yt,8),ee(hg,8))}}static{this.\u0275dir=We({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[qo([HI]),Wt,Vn]})}}return e})();var zI={provide:Kc,useExisting:Pn(()=>el),multi:!0},el=(()=>{class e extends ig{writeValue(n){this.setProperty("value",parseFloat(n))}registerOnChange(n){this.onChange=r=>{n(r==""?null:parseFloat(r))}}static{this.\u0275fac=(()=>{let n;return function(i){return(n||(n=jn(e)))(i||e)}})()}static{this.\u0275dir=We({type:e,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(r,i){r&1&&_e("change",function(s){return i.onChange(s.target.value)})("input",function(s){return i.onChange(s.target.value)})("blur",function(){return i.onTouched()})},features:[qo([zI]),Wt]})}}return e})();var GI=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275mod=wt({type:e})}static{this.\u0275inj=Ct({})}}return e})();var gg=(()=>{class e{static withConfig(n){return{ngModule:e,providers:[{provide:hg,useValue:n.callSetDisabledState??Jc}]}}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275mod=wt({type:e})}static{this.\u0275inj=Ct({imports:[GI]})}}return e})();function Ms(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Ms=function(t){return typeof t}:Ms=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ms(e)}function qI(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var ZI=[512,512,456,512,328,456,335,512,405,328,271,456,388,335,292,512,454,405,364,328,298,271,496,456,420,388,360,335,312,292,273,512,482,454,428,405,383,364,345,328,312,298,284,271,259,496,475,456,437,420,404,388,374,360,347,335,323,312,302,292,282,273,265,512,497,482,468,454,441,428,417,405,394,383,373,364,354,345,337,328,320,312,305,298,291,284,278,271,265,259,507,496,485,475,465,456,446,437,428,420,412,404,396,388,381,374,367,360,354,347,341,335,329,323,318,312,307,302,297,292,287,282,278,273,269,265,261,512,505,497,489,482,475,468,461,454,447,441,435,428,422,417,411,405,399,394,389,383,378,373,368,364,359,354,350,345,341,337,332,328,324,320,316,312,309,305,301,298,294,291,287,284,281,278,274,271,268,265,262,259,257,507,501,496,491,485,480,475,470,465,460,456,451,446,442,437,433,428,424,420,416,412,408,404,400,396,392,388,385,381,377,374,370,367,363,360,357,354,350,347,344,341,338,335,332,329,326,323,320,318,315,312,310,307,304,302,299,297,294,292,289,287,285,282,280,278,275,273,271,269,267,265,263,261,259],YI=[9,11,12,13,13,14,14,15,15,15,15,16,16,16,16,17,17,17,17,17,17,17,18,18,18,18,18,18,18,18,18,19,19,19,19,19,19,19,19,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24];function QI(e,t,n,r,i){if(typeof e=="string"&&(e=document.getElementById(e)),!e||Ms(e)!=="object"||!("getContext"in e))throw new TypeError("Expecting canvas with `getContext` method in processCanvasRGB(A) calls!");var o=e.getContext("2d");try{return o.getImageData(t,n,r,i)}catch(s){throw new Error("unable to access image data: "+s)}}function vg(e,t,n,r,i,o){if(!(isNaN(o)||o<1)){o|=0;var s=QI(e,t,n,r,i);s=KI(s,t,n,r,i,o),e.getContext("2d").putImageData(s,t,n)}}function KI(e,t,n,r,i,o){for(var s=e.data,a=2*o+1,u=r-1,c=i-1,l=o+1,d=l*(l+1)/2,h=new mg,f=h,g,M=1;M>>Y,s[U+1]=si*Z>>>Y,s[U+2]=ai*Z>>>Y,oi-=xs,si-=Ts,ai-=As,xs-=y.r,Ts-=y.g,As-=y.b,L=ie+((L=Ns+o+1)>>Y,s[L+1]=fi*Z>>>Y,s[L+2]=hi*Z>>>Y,di-=Rs,fi-=Os,hi-=Fs,Rs-=y.r,Os-=y.g,Fs-=y.b,L=nn+((L=Vs+l){let r=new FileReader;r.onload=()=>n(r.result),r.readAsDataURL(t)})}isSafari(){let t=navigator.userAgent.toLowerCase();return t.includes("safari")&&!t.includes("chrome")}applyBlur(t){return new Promise(n=>{let r=new Image;r.onload=()=>{let i=document.createElement("canvas"),o=i.getContext("2d"),s=r.width/r.height,a=1920,u=Math.round(a/s);i.width=a,i.height=u,o.drawImage(r,0,0,i.width,i.height),vg(i,0,0,i.width,i.height,this.blurAmount),n(i.toDataURL("image/jpeg",.95))},r.src=t})}handleInstallPrompt(){window.addEventListener("beforeinstallprompt",t=>{t.preventDefault(),this.deferredPrompt=t,this.showInstallButton=!0}),window.addEventListener("appinstalled",()=>{this.showInstallButton=!1,this.deferredPrompt=null})}installPwa(){return rn(this,null,function*(){if(!this.deferredPrompt)return;this.deferredPrompt.prompt();let{outcome:t}=yield this.deferredPrompt.userChoice;t==="accepted"&&(this.showInstallButton=!1),this.deferredPrompt=null})}downloadImage(){if(this.blurredImageUrl){let t=document.createElement("a");t.href=this.blurredImageUrl,t.download="blurred.jpg",t.click()}}reset(){this.imageUrl=null,this.blurredImageUrl=null,this.blurAmount=100}static \u0275fac=function(n){return new(n||e)};static \u0275cmp=Ao({type:e,selectors:[["app-root"]],standalone:!0,features:[Zo],decls:8,vars:6,consts:[["fileInput",""],[1,"container",3,"dragover","drop","click"],["type","file","accept","image/*",2,"display","none",3,"change"],[1,"result"],[1,"install-button"],["alt","Blurred image",3,"src"],[1,"overlay"],[1,"controls"],["type","range","min","20","max","200",3,"ngModelChange","ngModel"],[1,"button-group"],[3,"click"],[1,"reset",3,"click"],[1,"install-button",3,"click"]],template:function(n,r){if(n&1){let i=Wo();be(0,"div",1),_e("dragover",function(s){return qe(i),Ze(r.onDragOver(s))})("drop",function(s){return qe(i),Ze(r.onDrop(s))})("click",function(){qe(i);let s=Fh(2);return Ze(!r.imageUrl&&s.click())}),be(1,"input",2,0),_e("change",function(s){return qe(i),Ze(r.onFileSelected(s))}),Fe(),Go(3,XI,2,0,"p")(4,eb,2,0,"p")(5,tb,11,2,"div",3),Fe(),Go(6,nb,2,0,"button",4),Hn(7,"router-outlet")}n&2&&(Sr("has-image",r.imageUrl),Gt(3),xr(r.imageUrl?-1:3),Gt(),xr(r.isProcessing?4:-1),Gt(),xr(r.blurredImageUrl?5:-1),Gt(),xr(r.showInstallButton?6:-1))},dependencies:[Uc,Ku,gg,bs,el,fg,Xc],styles:["*[_ngcontent-%COMP%]{box-sizing:border-box}.container[_ngcontent-%COMP%]{height:100vh;padding:0;margin:0;overflow:hidden;display:flex;flex-direction:column;box-sizing:border-box;justify-content:center;align-items:center}.container[_ngcontent-%COMP%]:not(.has-image){border:4px dashed #ccc;border-radius:4px;padding:20px;cursor:pointer}.result[_ngcontent-%COMP%]{margin:0;position:relative;width:100%;height:100%;display:flex}.result[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%;height:100%;object-fit:cover;border-radius:0;box-shadow:none}.overlay[_ngcontent-%COMP%]{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:flex-start;align-items:center;gap:20px;background:#0003;opacity:.1;transition:opacity .3s ease;border-radius:8px;padding-top:20px}.overlay[_ngcontent-%COMP%]:hover{opacity:1}.controls[_ngcontent-%COMP%]{background:#000000b3;padding:8px 15px;border-radius:4px}.controls[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:10px;align-items:center;color:#fff}.controls[_ngcontent-%COMP%] input[type=range][_ngcontent-%COMP%]{width:200px}button[_ngcontent-%COMP%]:hover{background-color:#0056b3}.button-group[_ngcontent-%COMP%]{display:flex;gap:10px}.reset[_ngcontent-%COMP%]{background-color:#dc3545}.reset[_ngcontent-%COMP%]:hover{background-color:#c82333}.container[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:1.2rem;color:#666}.install-button[_ngcontent-%COMP%]{position:fixed;bottom:20px;right:20px;padding:12px 24px;background-color:#007bff;color:#fff;border:none;border-radius:24px;cursor:pointer;box-shadow:0 2px 5px #0003;z-index:1000;transition:transform .2s ease}.install-button[_ngcontent-%COMP%]:hover{transform:scale(1.05);background-color:#0056b3}"]})};sp(Ss,Yp).catch(e=>console.error(e)); + `)}`}function En(e,t){let n=e.hasOwnProperty(no);return n?e[no]:null}function fu(e,t){e.forEach(n=>Array.isArray(n)?fu(n,t):t(n))}function $d(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function io(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Im(e,t,n,r){let i=e.length;if(i==t)e.push(n,r);else if(i===1)e.push(r,e[0]),e[0]=n;else{for(i--,e.push(e[i-1],e[i]);i>t;){let o=i-2;e[i]=e[o],i--}e[t]=n,e[t+1]=r}}function bm(e,t,n){let r=Ir(e,t);return r>=0?e[r|1]=n:(r=~r,Im(e,r,t,n)),r}function ha(e,t){let n=Ir(e,t);if(n>=0)return e[n|1]}function Ir(e,t){return _m(e,t,1)}function _m(e,t,n){let r=0,i=e.length>>n;for(;i!==r;){let o=r+(i-r>>1),s=e[o<t?i=o:r=o+1}return~(i<t){s=o-1;break}}}for(;o-1){let o;for(;++io?d="":d=i[l+1].toLowerCase(),r&2&&c!==d){if(Te(r))return!1;s=!0}}}}return Te(r)||s}function Te(e){return(e&1)===0}function Rm(e,t,n,r){if(t===null)return-1;let i=0;if(r||!n){let o=!1;for(;i-1)for(n++;n0?'="'+a+'"':"")+"]"}else r&8?i+="."+s:r&4&&(i+=" "+s);else i!==""&&!Te(s)&&(t+=id(o,i),i=""),r=s,o=o||!Te(r);n++}return i!==""&&(t+=id(o,i)),t}function Lm(e){return e.map(km).join(",")}function Vm(e){let t=[],n=[],r=1,i=2;for(;r{let t=Kd(e),n=k(p({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Gd.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Ue.Emulated,styles:e.styles||De,_:null,schemas:e.schemas||null,tView:null,id:""});Jd(n);let r=e.dependencies;return n.directiveDefs=sd(r,!1),n.pipeDefs=sd(r,!0),n.id=Um(n),n})}function jm(e){return Lt(e)||qd(e)}function Bm(e){return e!==null}function wt(e){return So(()=>({type:e.type,bootstrap:e.bootstrap||De,declarations:e.declarations||De,imports:e.imports||De,exports:e.exports||De,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function od(e,t){if(e==null)return In;let n={};for(let r in e)if(e.hasOwnProperty(r)){let i=e[r],o,s,a=vt.None;Array.isArray(i)?(a=i[0],o=i[1],s=i[2]??o):(o=i,s=i),t?(n[o]=a!==vt.None?[r,a]:r,t[o]=s):n[o]=r}return n}function We(e){return So(()=>{let t=Kd(e);return Jd(t),t})}function Lt(e){return e[am]||null}function qd(e){return e[um]||null}function Zd(e){return e[cm]||null}function Yd(e){let t=Lt(e)||qd(e)||Zd(e);return t!==null?t.standalone:!1}function Qd(e,t){let n=e[lm]||null;if(!n&&t===!0)throw new Error(`Type ${de(e)} does not have '\u0275mod' property.`);return n}function Kd(e){let 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||In,exportAs:e.exportAs||null,standalone:e.standalone===!0,signals:e.signals===!0,selectors:e.selectors||De,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:od(e.inputs,t),outputs:od(e.outputs),debugInfo:null}}function Jd(e){e.features?.forEach(t=>t(e))}function sd(e,t){if(!e)return null;let n=t?Zd:jm;return()=>(typeof e=="function"?e():e).map(r=>n(r)).filter(Bm)}function Um(e){let t=0,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(let i of n)t=Math.imul(31,t)+i.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function kn(e){return{\u0275providers:e}}function $m(...e){return{\u0275providers:Xd(!0,e),\u0275fromNgModule:!0}}function Xd(e,...t){let n=[],r=new Set,i,o=s=>{n.push(s)};return fu(t,s=>{let a=s;Ta(a,o,[],r)&&(i||=[],i.push(a))}),i!==void 0&&ef(i,o),n}function ef(e,t){for(let n=0;n{t(o,r)})}}function Ta(e,t,n,r){if(e=ue(e),!e)return!1;let i=null,o=Xl(e),s=!o&&Lt(e);if(!o&&!s){let u=e.ngModule;if(o=Xl(u),o)i=u;else return!1}else{if(s&&!s.standalone)return!1;i=e}let a=r.has(i);if(s){if(a)return!1;if(r.add(i),s.dependencies){let u=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let c of u)Ta(c,t,n,r)}}else if(o){if(o.imports!=null&&!a){r.add(i);let c;try{fu(o.imports,l=>{Ta(l,t,n,r)&&(c||=[],c.push(l))})}finally{}c!==void 0&&ef(c,t)}if(!a){let c=En(i)||(()=>new i);t({provide:i,useFactory:c,deps:De},i),t({provide:zd,useValue:i,multi:!0},i),t({provide:bn,useValue:()=>O(i),multi:!0},i)}let u=o.providers;if(u!=null&&!a){let c=e;pu(u,l=>{t(l,c)})}}else return!1;return i!==e&&e.providers!==void 0}function pu(e,t){for(let n of e)Vd(n)&&(n=n.\u0275providers),Array.isArray(n)?pu(n,t):t(n)}var Hm=B({provide:String,useValue:B});function tf(e){return e!==null&&typeof e=="object"&&Hm in e}function zm(e){return!!(e&&e.useExisting)}function Gm(e){return!!(e&&e.useFactory)}function _n(e){return typeof e=="function"}function Wm(e){return!!e.useClass}var No=new C(""),Ki={},qm={},pa;function gu(){return pa===void 0&&(pa=new oo),pa}var we=class{},yr=class extends we{get destroyed(){return this._destroyed}constructor(t,n,r,i){super(),this.parent=n,this.source=r,this.scopes=i,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Na(t,s=>this.processProvider(s)),this.records.set(Hd,vn(void 0,this)),i.has("environment")&&this.records.set(we,vn(void 0,this));let o=this.records.get(No);o!=null&&typeof o.value=="string"&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(zd,De,x.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let t=P(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),P(t)}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();let n=pt(this),r=ye(void 0),i;try{return t()}finally{pt(n),ye(r)}}get(t,n=mr,r=x.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(td))return t[td](this);r=To(r);let i,o=pt(this),s=ye(void 0);try{if(!(r&x.SkipSelf)){let u=this.records.get(t);if(u===void 0){let c=Jm(t)&&xo(t);c&&this.injectableDefInScope(c)?u=vn(Aa(t),Ki):u=null,this.records.set(t,u)}if(u!=null)return this.hydrate(t,u)}let a=r&x.Self?gu():this.parent;return n=r&x.Optional&&n===mr?null:n,a.get(t,n)}catch(a){if(a.name==="NullInjectorError"){if((a[ro]=a[ro]||[]).unshift(de(t)),o)throw a;return wm(a,t,"R3InjectorError",this.source)}else throw a}finally{ye(s),pt(o)}}resolveInjectorInitializers(){let t=P(null),n=pt(this),r=ye(void 0),i;try{let o=this.get(bn,De,x.Self);for(let s of o)s()}finally{pt(n),ye(r),P(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(de(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new D(205,!1)}processProvider(t){t=ue(t);let n=_n(t)?t:ue(t&&t.provide),r=Ym(t);if(!_n(t)&&t.multi===!0){let i=this.records.get(n);i||(i=vn(void 0,Ki,!0),i.factory=()=>Sa(i.multi),this.records.set(n,i)),n=t,i.multi.push(t)}this.records.set(n,r)}hydrate(t,n){let r=P(null);try{return n.value===Ki&&(n.value=qm,n.value=n.factory()),typeof n.value=="object"&&n.value&&Km(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{P(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=ue(t.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){let n=this._onDestroyHooks.indexOf(t);n!==-1&&this._onDestroyHooks.splice(n,1)}};function Aa(e){let t=xo(e),n=t!==null?t.factory:En(e);if(n!==null)return n;if(e instanceof C)throw new D(204,!1);if(e instanceof Function)return Zm(e);throw new D(204,!1)}function Zm(e){if(e.length>0)throw new D(204,!1);let n=om(e);return n!==null?()=>n.factory(e):()=>new e}function Ym(e){if(tf(e))return vn(void 0,e.useValue);{let t=nf(e);return vn(t,Ki)}}function nf(e,t,n){let r;if(_n(e)){let i=ue(e);return En(i)||Aa(i)}else if(tf(e))r=()=>ue(e.useValue);else if(Gm(e))r=()=>e.useFactory(...Sa(e.deps||[]));else if(zm(e))r=()=>O(ue(e.useExisting));else{let i=ue(e&&(e.useClass||e.provide));if(Qm(e))r=()=>new i(...Sa(e.deps));else return En(i)||Aa(i)}return r}function vn(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Qm(e){return!!e.deps}function Km(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function Jm(e){return typeof e=="function"||typeof e=="object"&&e instanceof C}function Na(e,t){for(let n of e)Array.isArray(n)?Na(n,t):n&&Vd(n)?Na(n.\u0275providers,t):t(n)}function rt(e,t){e instanceof yr&&e.assertNotDestroyed();let n,r=pt(e),i=ye(void 0);try{return t()}finally{pt(r),ye(i)}}function Xm(){return Bd()!==void 0||ym()!=null}function ev(e){return typeof e=="function"}var it=0,R=1,I=2,ce=3,Ae=4,Re=5,so=6,ao=7,Ee=8,Mn=9,$e=10,ne=11,Dr=12,ad=13,Ln=14,He=15,Sn=16,yn=17,xn=18,Ro=19,rf=20,gt=21,ga=22,Ce=23,Ne=25,of=1;var Vt=7,uo=8,co=9,pe=10,lo=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(lo||{});function mt(e){return Array.isArray(e)&&typeof e[of]=="object"}function ot(e){return Array.isArray(e)&&e[of]===!0}function sf(e){return(e.flags&4)!==0}function Oo(e){return e.componentOffset>-1}function mu(e){return(e.flags&1)===1}function yt(e){return!!e.template}function Ra(e){return(e[I]&512)!==0}var Oa=class{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function af(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}function Vn(){return uf}function uf(e){return e.type.prototype.ngOnChanges&&(e.setInput=nv),tv}Vn.ngInherit=!0;function tv(){let e=lf(this),t=e?.current;if(t){let n=e.previous;if(n===In)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function nv(e,t,n,r,i){let o=this.declaredInputs[r],s=lf(e)||rv(e,{previous:In,current:null}),a=s.current||(s.current={}),u=s.previous,c=u[o];a[o]=new Oa(c&&c.currentValue,n,u===In),af(e,t,i,n)}var cf="__ngSimpleChanges__";function lf(e){return e[cf]||null}function rv(e,t){return e[cf]=t}var ud=null;var je=function(e,t,n){ud?.(e,t,n)},iv="svg",ov="math";function ze(e){for(;Array.isArray(e);)e=e[it];return e}function sv(e,t){return ze(t[e])}function Oe(e,t){return ze(t[e.index])}function vu(e,t){return e.data[t]}function av(e,t){return e[t]}function Et(e,t){let n=t[e];return mt(n)?n:n[it]}function yu(e){return(e[I]&128)===128}function uv(e){return ot(e[ce])}function fo(e,t){return t==null?null:e[t]}function df(e){e[yn]=0}function ff(e){e[I]&1024||(e[I]|=1024,yu(e)&&Po(e))}function cv(e,t){for(;e>0;)t=t[Ln],e--;return t}function Fo(e){return!!(e[I]&9216||e[Ce]?.dirty)}function Fa(e){e[$e].changeDetectionScheduler?.notify(8),e[I]&64&&(e[I]|=1024),Fo(e)&&Po(e)}function Po(e){e[$e].changeDetectionScheduler?.notify(0);let t=jt(e);for(;t!==null&&!(t[I]&8192||(t[I]|=8192,!yu(t)));)t=jt(t)}function hf(e,t){if((e[I]&256)===256)throw new D(911,!1);e[gt]===null&&(e[gt]=[]),e[gt].push(t)}function lv(e,t){if(e[gt]===null)return;let n=e[gt].indexOf(t);n!==-1&&e[gt].splice(n,1)}function jt(e){let t=e[ce];return ot(t)?t[ce]:t}var F={lFrame:Ef(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var pf=!1;function dv(){return F.lFrame.elementDepthCount}function fv(){F.lFrame.elementDepthCount++}function hv(){F.lFrame.elementDepthCount--}function gf(){return F.bindingsEnabled}function pv(){return F.skipHydrationRootTNode!==null}function gv(e){return F.skipHydrationRootTNode===e}function mv(){F.skipHydrationRootTNode=null}function G(){return F.lFrame.lView}function Ie(){return F.lFrame.tView}function qe(e){return F.lFrame.contextLView=e,e[Ee]}function Ze(e){return F.lFrame.contextLView=null,e}function ge(){let e=mf();for(;e!==null&&e.type===64;)e=e.parent;return e}function mf(){return F.lFrame.currentTNode}function vv(){let e=F.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function br(e,t){let n=F.lFrame;n.currentTNode=e,n.isParent=t}function vf(){return F.lFrame.isParent}function yv(){F.lFrame.isParent=!1}function Dv(){return F.lFrame.contextLView}function yf(){return pf}function cd(e){pf=e}function Cv(e){return F.lFrame.bindingIndex=e}function Du(){return F.lFrame.bindingIndex++}function wv(e){let t=F.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Ev(){return F.lFrame.inI18n}function Iv(e,t){let n=F.lFrame;n.bindingIndex=n.bindingRootIndex=e,Pa(t)}function bv(){return F.lFrame.currentDirectiveIndex}function Pa(e){F.lFrame.currentDirectiveIndex=e}function _v(e){let t=F.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function Df(e){F.lFrame.currentQueryIndex=e}function Mv(e){let t=e[R];return t.type===2?t.declTNode:t.type===1?e[Re]:null}function Cf(e,t,n){if(n&x.SkipSelf){let i=t,o=e;for(;i=i.parent,i===null&&!(n&x.Host);)if(i=Mv(o),i===null||(o=o[Ln],i.type&10))break;if(i===null)return!1;t=i,e=o}let r=F.lFrame=wf();return r.currentTNode=t,r.lView=e,!0}function Cu(e){let t=wf(),n=e[R];F.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function wf(){let e=F.lFrame,t=e===null?null:e.child;return t===null?Ef(e):t}function Ef(e){let 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 e!==null&&(e.child=t),t}function If(){let e=F.lFrame;return F.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var bf=If;function wu(){let e=If();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 Sv(e){return(F.lFrame.contextLView=cv(e,F.lFrame.contextLView))[Ee]}function _r(){return F.lFrame.selectedIndex}function Bt(e){F.lFrame.selectedIndex=e}function _f(){let e=F.lFrame;return vu(e.tView,e.selectedIndex)}function xv(){return F.lFrame.currentNamespace}var Mf=!0;function Eu(){return Mf}function Iu(e){Mf=e}function Tv(e,t,n){let{ngOnChanges:r,ngOnInit:i,ngDoCheck:o}=t.type.prototype;if(r){let s=uf(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}i&&(n.preOrderHooks??=[]).push(0-e,i),o&&((n.preOrderHooks??=[]).push(e,o),(n.preOrderCheckHooks??=[]).push(e,o))}function bu(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[u]<0&&(e[yn]+=65536),(a>14>16&&(e[I]&3)===t&&(e[I]+=16384,ld(a,o)):ld(a,o)}var wn=-1,Ut=class{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}};function Nv(e){return e instanceof Ut}function Rv(e){return(e.flags&8)!==0}function Ov(e){return(e.flags&16)!==0}var va={},ka=class{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=To(r);let i=this.injector.get(t,va,r);return i!==va||n===va?i:this.parentInjector.get(t,n,r)}};function xf(e){return e!==wn}function ho(e){return e&32767}function Fv(e){return e>>16}function po(e,t){let n=Fv(e),r=t;for(;n>0;)r=r[Ln],n--;return r}var La=!0;function dd(e){let t=La;return La=e,t}var Pv=256,Tf=Pv-1,Af=5,kv=0,Be={};function Lv(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(gr)&&(r=n[gr]),r==null&&(r=n[gr]=kv++);let i=r&Tf,o=1<>Af)]|=o}function go(e,t){let n=Nf(e,t);if(n!==-1)return n;let r=t[R];r.firstCreatePass&&(e.injectorIndex=t.length,ya(r.data,e),ya(t,null),ya(r.blueprint,null));let i=_u(e,t),o=e.injectorIndex;if(xf(i)){let s=ho(i),a=po(i,t),u=a[R].data;for(let c=0;c<8;c++)t[o+c]=a[s+c]|u[s+c]}return t[o+8]=i,o}function ya(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Nf(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function _u(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let n=0,r=null,i=t;for(;i!==null;){if(r=kf(i),r===null)return wn;if(n++,i=i[Ln],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return wn}function Va(e,t,n){Lv(e,t,n)}function Rf(e,t,n){if(n&x.Optional||e!==void 0)return e;du(t,"NodeInjector")}function Of(e,t,n,r){if(n&x.Optional&&r===void 0&&(r=null),!(n&(x.Self|x.Host))){let i=e[Mn],o=ye(void 0);try{return i?i.get(t,r,n&x.Optional):Ud(t,r,n&x.Optional)}finally{ye(o)}}return Rf(r,t,n)}function Ff(e,t,n,r=x.Default,i){if(e!==null){if(t[I]&2048&&!(r&x.Self)){let s=$v(e,t,n,r,Be);if(s!==Be)return s}let o=Pf(e,t,n,r,Be);if(o!==Be)return o}return Of(t,n,r,i)}function Pf(e,t,n,r,i){let o=Bv(n);if(typeof o=="function"){if(!Cf(t,e,r))return r&x.Host?Rf(i,n,r):Of(t,n,r,i);try{let s;if(s=o(r),s==null&&!(r&x.Optional))du(n);else return s}finally{bf()}}else if(typeof o=="number"){let s=null,a=Nf(e,t),u=wn,c=r&x.Host?t[He][Re]:null;for((a===-1||r&x.SkipSelf)&&(u=a===-1?_u(e,t):t[a+8],u===wn||!hd(r,!1)?a=-1:(s=t[R],a=ho(u),t=po(u,t)));a!==-1;){let l=t[R];if(fd(o,a,l.data)){let d=Vv(a,t,n,s,r,c);if(d!==Be)return d}u=t[a+8],u!==wn&&hd(r,t[R].data[a+8]===c)&&fd(o,a,t)?(s=l,a=ho(u),t=po(u,t)):a=-1}}return i}function Vv(e,t,n,r,i,o){let s=t[R],a=s.data[e+8],u=r==null?Oo(a)&&La:r!=s&&(a.type&3)!==0,c=i&x.Host&&o===a,l=jv(a,s,n,u,c);return l!==null?Tn(t,s,l,a):Be}function jv(e,t,n,r,i){let o=e.providerIndexes,s=t.data,a=o&1048575,u=e.directiveStart,c=e.directiveEnd,l=o>>20,d=r?a:a+l,h=i?a+l:c;for(let f=d;f=u&&g.type===n)return f}if(i){let f=s[u];if(f&&yt(f)&&f.type===n)return u}return null}function Tn(e,t,n,r){let i=e[n],o=t.data;if(Nv(i)){let s=i;s.resolving&&fm(dm(o[n]));let a=dd(s.canSeeViewProviders);s.resolving=!0;let u,c=s.injectImpl?ye(s.injectImpl):null,l=Cf(e,r,x.Default);try{i=e[n]=s.factory(void 0,o,e,r),t.firstCreatePass&&n>=r.directiveStart&&Tv(n,o[n],t)}finally{c!==null&&ye(c),dd(a),s.resolving=!1,bf()}}return i}function Bv(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(gr)?e[gr]:void 0;return typeof t=="number"?t>=0?t&Tf:Uv:t}function fd(e,t,n){let r=1<>Af)]&r)}function hd(e,t){return!(e&x.Self)&&!(e&x.Host&&t)}var kt=class{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return Ff(this._tNode,this._lView,t,To(r),n)}};function Uv(){return new kt(ge(),G())}function jn(e){return So(()=>{let t=e.prototype.constructor,n=t[no]||ja(t),r=Object.prototype,i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==r;){let o=i[no]||ja(i);if(o&&o!==n)return o;i=Object.getPrototypeOf(i)}return o=>new o})}function ja(e){return Fd(e)?()=>{let t=ja(ue(e));return t&&t()}:En(e)}function $v(e,t,n,r,i){let o=e,s=t;for(;o!==null&&s!==null&&s[I]&2048&&!(s[I]&512);){let a=Pf(o,s,n,r|x.Self,Be);if(a!==Be)return a;let u=o.parent;if(!u){let c=s[rf];if(c){let l=c.get(n,Be,r);if(l!==Be)return l}u=kf(s),s=s[Ln]}o=u}return i}function kf(e){let t=e[R],n=t.type;return n===2?t.declTNode:n===1?e[Re]:null}function pd(e,t=null,n=null,r){let i=Lf(e,t,n,r);return i.resolveInjectorInitializers(),i}function Lf(e,t=null,n=null,r,i=new Set){let o=[n||De,$m(e)];return r=r||(typeof e=="object"?void 0:de(e)),new yr(o,t||gu(),r||null,i)}var Ge=class e{static{this.THROW_IF_NOT_FOUND=mr}static{this.NULL=new oo}static create(t,n){if(Array.isArray(t))return pd({name:""},n,t,"");{let r=t.name??"";return pd({name:r},t.parent,t.providers,r)}}static{this.\u0275prov=w({token:e,providedIn:"any",factory:()=>O(Hd)})}static{this.__NG_ELEMENT_ID__=-1}};var Hv=new C("");Hv.__NG_ELEMENT_ID__=e=>{let t=ge();if(t===null)throw new D(204,!1);if(t.type&2)return t.value;if(e&x.Optional)return null;throw new D(204,!1)};var zv="ngOriginalError";function Da(e){return e[zv]}var Vf=!0,jf=(()=>{class e{static{this.__NG_ELEMENT_ID__=Gv}static{this.__NG_ENV_ID__=n=>n}}return e})(),Ba=class extends jf{constructor(t){super(),this._lView=t}onDestroy(t){return hf(this._lView,t),()=>lv(this._lView,t)}};function Gv(){return new Ba(G())}var Bn=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new te(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static{this.\u0275prov=w({token:e,providedIn:"root",factory:()=>new e})}}return e})();var Ua=class extends H{constructor(t=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=t,Xm()&&(this.destroyRef=m(jf,{optional:!0})??void 0,this.pendingTasks=m(Bn,{optional:!0})??void 0)}emit(t){let n=P(null);try{super.next(t)}finally{P(n)}}subscribe(t,n,r){let i=t,o=n||(()=>null),s=r;if(t&&typeof t=="object"){let u=t;i=u.next?.bind(u),o=u.error?.bind(u),s=u.complete?.bind(u)}this.__isAsync&&(o=this.wrapInTimeout(o),i&&(i=this.wrapInTimeout(i)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:i,error:o,complete:s});return t instanceof W&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{t(n),r!==void 0&&this.pendingTasks?.remove(r)})}}},X=Ua;function mo(...e){}function Bf(e){let t,n;function r(){e=mo;try{n!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(n),t!==void 0&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),r()}),typeof requestAnimationFrame=="function"&&(n=requestAnimationFrame(()=>{e(),r()})),()=>r()}function gd(e){return queueMicrotask(()=>e()),()=>{e=mo}}var Mu="isAngularZone",vo=Mu+"_ID",Wv=0,q=class e{constructor(t){this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new X(!1),this.onMicrotaskEmpty=new X(!1),this.onStable=new X(!1),this.onError=new X(!1);let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:i=!1,scheduleInRootZone:o=Vf}=t;if(typeof Zone>"u")throw new D(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!i&&r,s.shouldCoalesceRunChangeDetection=i,s.callbackScheduled=!1,s.scheduleInRootZone=o,Yv(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Mu)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new D(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new D(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,i){let o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+i,t,qv,mo,mo);try{return o.runTask(s,n,r)}finally{o.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}},qv={};function Su(e){if(e._nesting==0&&!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 Zv(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){Bf(()=>{e.callbackScheduled=!1,$a(e),e.isCheckStableRunning=!0,Su(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),$a(e)}function Yv(e){let t=()=>{Zv(e)},n=Wv++;e._inner=e._inner.fork({name:"angular",properties:{[Mu]:!0,[vo]:n,[vo+n]:!0},onInvokeTask:(r,i,o,s,a,u)=>{if(Qv(u))return r.invokeTask(o,s,a,u);try{return md(e),r.invokeTask(o,s,a,u)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),vd(e)}},onInvoke:(r,i,o,s,a,u,c)=>{try{return md(e),r.invoke(o,s,a,u,c)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!Kv(u)&&t(),vd(e)}},onHasTask:(r,i,o,s)=>{r.hasTask(o,s),i===o&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,$a(e),Su(e)):s.change=="macroTask"&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,i,o,s)=>(r.handleError(o,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}function $a(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function md(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function vd(e){e._nesting--,Su(e)}var Ha=class{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new X,this.onMicrotaskEmpty=new X,this.onStable=new X,this.onError=new X}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,i){return t.apply(n,r)}};function Qv(e){return Uf(e,"__ignore_ng_zone__")}function Kv(e){return Uf(e,"__scheduler_tick__")}function Uf(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var tt=class{constructor(){this._console=console}handleError(t){let n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&Da(t);for(;n&&Da(n);)n=Da(n);return n||null}},Jv=new C("",{providedIn:"root",factory:()=>{let e=m(q),t=m(tt);return n=>e.runOutsideAngular(()=>t.handleError(n))}});function Xv(){return xu(ge(),G())}function xu(e,t){return new zt(Oe(e,t))}var zt=(()=>{class e{constructor(n){this.nativeElement=n}static{this.__NG_ELEMENT_ID__=Xv}}return e})();function $f(e){return(e.flags&128)===128}var Hf=new Map,ey=0;function ty(){return ey++}function ny(e){Hf.set(e[Ro],e)}function za(e){Hf.delete(e[Ro])}var yd="__ngContext__";function $t(e,t){mt(t)?(e[yd]=t[Ro],ny(t)):e[yd]=t}function zf(e){return Wf(e[Dr])}function Gf(e){return Wf(e[Ae])}function Wf(e){for(;e!==null&&!ot(e);)e=e[Ae];return e}var Ga;function qf(e){Ga=e}function ry(){if(Ga!==void 0)return Ga;if(typeof document<"u")return document;throw new D(210,!1)}var Tu=new C("",{providedIn:"root",factory:()=>iy}),iy="ng",Au=new C(""),st=new C("",{providedIn:"platform",factory:()=>"unknown"});var Nu=new C("",{providedIn:"root",factory:()=>ry().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var oy="h",sy="b";var ay=()=>null;function Ru(e,t,n=!1){return ay(e,t,n)}var Zf=!1,uy=new C("",{providedIn:"root",factory:()=>Zf});var yo=class{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Od})`}};function ko(e){return e instanceof yo?e.changingThisBreaksApplicationSecurity:e}function Yf(e,t){let n=cy(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Od})`)}return n===t}function cy(e){return e instanceof yo&&e.getTypeName()||null}var ly=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Qf(e){return e=String(e),e.match(ly)?e:"unsafe:"+e}var Ou=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(Ou||{});function Kf(e){let t=dy();return t?t.sanitize(Ou.URL,e)||"":Yf(e,"URL")?ko(e):Qf(jd(e))}function dy(){let e=G();return e&&e[$e].sanitizer}function Jf(e){return e instanceof Function?e():e}var nt=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(nt||{}),fy;function Fu(e,t){return fy(e,t)}function Dn(e,t,n,r,i){if(r!=null){let o,s=!1;ot(r)?o=r:mt(r)&&(s=!0,r=r[it]);let a=ze(r);e===0&&n!==null?i==null?nh(t,n,a):Co(t,n,a,i||null,!0):e===1&&n!==null?Co(t,n,a,i||null,!0):e===2?My(t,a,s):e===3&&t.destroyNode(a),o!=null&&xy(t,e,o,n,i)}}function hy(e,t){return e.createText(t)}function Xf(e,t,n){return e.createElement(t,n)}function py(e,t){eh(e,t),t[it]=null,t[Re]=null}function gy(e,t,n,r,i,o){r[it]=i,r[Re]=t,Lo(e,r,n,1,i,o)}function eh(e,t){t[$e].changeDetectionScheduler?.notify(9),Lo(e,t,t[ne],2,null,null)}function my(e){let t=e[Dr];if(!t)return Ca(e[R],e);for(;t;){let n=null;if(mt(t))n=t[Dr];else{let r=t[pe];r&&(n=r)}if(!n){for(;t&&!t[Ae]&&t!==e;)mt(t)&&Ca(t[R],t),t=t[ce];t===null&&(t=e),mt(t)&&Ca(t[R],t),n=t&&t[Ae]}t=n}}function vy(e,t,n,r){let i=pe+r,o=n.length;r>0&&(n[i-1][Ae]=t),r0&&(e[n-1][Ae]=r[Ae]);let o=io(e,pe+t);py(r[R],r);let s=o[xn];s!==null&&s.detachView(o[R]),r[ce]=null,r[Ae]=null,r[I]&=-129}return r}function ku(e,t){if(!(t[I]&256)){let n=t[ne];n.destroyNode&&Lo(e,t,n,3,null,null),my(t)}}function Ca(e,t){if(t[I]&256)return;let n=P(null);try{t[I]&=-129,t[I]|=256,t[Ce]&&zs(t[Ce]),Dy(e,t),yy(e,t),t[R].type===1&&t[ne].destroy();let r=t[Sn];if(r!==null&&ot(t[ce])){r!==t[ce]&&Pu(r,t);let i=t[xn];i!==null&&i.detachView(e)}za(t)}finally{P(n)}}function yy(e,t){let n=e.cleanup,r=t[ao];if(n!==null)for(let o=0;o=0?r[s]():r[-s].unsubscribe(),o+=2}else{let s=r[n[o+1]];n[o].call(s)}r!==null&&(t[ao]=null);let i=t[gt];if(i!==null){t[gt]=null;for(let o=0;o-1){let{encapsulation:o}=e.data[r.directiveStart+i];if(o===Ue.None||o===Ue.Emulated)return null}return Oe(r,n)}}function Co(e,t,n,r,i){e.insertBefore(t,n,r,i)}function nh(e,t,n){e.appendChild(t,n)}function Dd(e,t,n,r,i){r!==null?Co(e,t,n,r,i):nh(e,t,n)}function rh(e,t){return e.parentNode(t)}function Ey(e,t){return e.nextSibling(t)}function Iy(e,t,n){return _y(e,t,n)}function by(e,t,n){return e.type&40?Oe(e,n):null}var _y=by,Cd;function Lu(e,t,n,r){let i=Cy(e,r,t),o=t[ne],s=r.parent||t[Re],a=Iy(s,r,t);if(i!=null)if(Array.isArray(n))for(let u=0;uNe&&ah(e,t,Ne,!1),je(s?2:0,i),n(r,i)}finally{Bt(o),je(s?3:1,i)}}function dh(e,t,n){if(sf(t)){let r=P(null);try{let i=t.directiveStart,o=t.directiveEnd;for(let s=i;snull;function Ly(e,t,n,r,i,o){let s=t?t.injectorIndex:-1,a=0;return pv()&&(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:i,attrs:o,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}}function wd(e,t,n,r,i){for(let o in t){if(!t.hasOwnProperty(o))continue;let s=t[o];if(s===void 0)continue;r??={};let a,u=vt.None;Array.isArray(s)?(a=s[0],u=s[1]):a=s;let c=o;if(i!==null){if(!i.hasOwnProperty(o))continue;c=i[o]}e===0?Ed(r,n,c,a,u):Ed(r,n,c,a)}return r}function Ed(e,t,n,r,i){let o;e.hasOwnProperty(n)?(o=e[n]).push(t,r):o=e[n]=[t,r],i!==void 0&&o.push(i)}function Vy(e,t,n){let r=t.directiveStart,i=t.directiveEnd,o=e.data,s=t.attrs,a=[],u=null,c=null;for(let l=r;l0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function Hy(e,t,n,r){let i=n.directiveStart,o=n.directiveEnd;Oo(n)&&Qy(t,n,e.data[i+n.componentOffset]),e.firstCreatePass||go(n,t),$t(r,t);let s=n.initialInputs;for(let a=i;a{Po(e.lView)},consumerOnSignalRead(){this.lView[Ce]=this}});function fD(e){let t=e[Ce]??Object.create(hD);return t.lView=e,t}var hD=k(p({},ur),{consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{let t=jt(e.lView);for(;t&&!bh(t[R]);)t=jt(t);t&&ff(t)},consumerOnSignalRead(){this.lView[Ce]=this}});function bh(e){return e.type!==2}var pD=100;function _h(e,t=!0,n=0){let r=e[$e],i=r.rendererFactory,o=!1;o||i.begin?.();try{gD(e,n)}catch(s){throw t&&wh(e,s),s}finally{o||(i.end?.(),r.inlineEffectRunner?.flush())}}function gD(e,t){let n=yf();try{cd(!0),Qa(e,t);let r=0;for(;Fo(e);){if(r===pD)throw new D(103,!1);r++,Qa(e,1)}}finally{cd(n)}}function mD(e,t,n,r){let i=t[I];if((i&256)===256)return;let o=!1,s=!1;!o&&t[$e].inlineEffectRunner?.flush(),Cu(t);let a=!0,u=null,c=null;o||(bh(e)?(c=uD(t),u=yi(c)):al()===null?(a=!1,c=fD(t),u=yi(c)):t[Ce]&&(zs(t[Ce]),t[Ce]=null));try{df(t),Cv(e.bindingStartIndex),n!==null&&lh(e,t,n,2,r);let l=(i&3)===3;if(!o)if(l){let f=e.preOrderCheckHooks;f!==null&&Ji(t,f,null)}else{let f=e.preOrderHooks;f!==null&&Xi(t,f,0,null),ma(t,0)}if(s||vD(t),Mh(t,0),e.contentQueries!==null&&Ch(e,t),!o)if(l){let f=e.contentCheckHooks;f!==null&&Ji(t,f)}else{let f=e.contentHooks;f!==null&&Xi(t,f,1),ma(t,1)}Ny(e,t);let d=e.components;d!==null&&xh(t,d,0);let h=e.viewQuery;if(h!==null&&Za(2,h,r),!o)if(l){let f=e.viewCheckHooks;f!==null&&Ji(t,f)}else{let f=e.viewHooks;f!==null&&Xi(t,f,2),ma(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[ga]){for(let f of t[ga])f();t[ga]=null}o||(t[I]&=-73)}catch(l){throw o||Po(t),l}finally{c!==null&&($s(c,u),a&&lD(c)),wu()}}function Mh(e,t){for(let n=zf(e);n!==null;n=Gf(n))for(let r=pe;r-1&&(Do(t,r),io(n,r))}this._attachedToViewContainer=!1}ku(this._lView[R],this._lView)}onDestroy(t){hf(this._lView,t)}markForCheck(){$u(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[I]&=-129}reattach(){Fa(this._lView),this._lView[I]|=128}detectChanges(){this._lView[I]|=1024,_h(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new D(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=Ra(this._lView),n=this._lView[Sn];n!==null&&!t&&Pu(n,this._lView),eh(this._lView[R],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new D(902,!1);this._appRef=t;let n=Ra(this._lView),r=this._lView[Sn];r!==null&&!n&&th(r,this._lView),Fa(this._lView)}};var uA=new RegExp(`^(\\d+)*(${sy}|${oy})*(.*)`);var DD=()=>null;function Ka(e,t){return DD(e,t)}var Nn=class{},Uo=new C("",{providedIn:"root",factory:()=>!1});var Th=new C(""),Ah=new C(""),Ja=class{},Eo=class{};function CD(e){let t=Error(`No component factory found for ${de(e)}.`);return t[wD]=e,t}var wD="ngComponent";var Xa=class{resolveComponentFactory(t){throw CD(t)}},Rn=class{static{this.NULL=new Xa}},On=class{},Un=(()=>{class e{constructor(){this.destroyNode=null}static{this.__NG_ELEMENT_ID__=()=>ED()}}return e})();function ED(){let e=G(),t=ge(),n=Et(t.index,e);return(mt(n)?n:e)[ne]}var ID=(()=>{class e{static{this.\u0275prov=w({token:e,providedIn:"root",factory:()=>null})}}return e})();function eu(e,t,n){let r=n?e.styles:null,i=n?e.classes:null,o=0;if(t!==null)for(let s=0;s0&&oh(e,n,o.join(" "))}}function AD(e,t,n){let r=e.projection=[];for(let i=0;i{class e{static{this.__NG_ELEMENT_ID__=RD}}return e})();function RD(){let e=ge();return FD(e,G())}var OD=$o,Nh=class extends OD{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return xu(this._hostTNode,this._hostLView)}get injector(){return new kt(this._hostTNode,this._hostLView)}get parentInjector(){let t=_u(this._hostTNode,this._hostLView);if(xf(t)){let n=po(t,this._hostLView),r=ho(t),i=n[R].data[r+8];return new kt(i,n)}else return new kt(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=bd(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-pe}createEmbeddedView(t,n,r){let i,o;typeof r=="number"?i=r:r!=null&&(i=r.index,o=r.injector);let s=Ka(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},o,s);return this.insertImpl(a,i,Ya(this._hostTNode,s)),a}createComponent(t,n,r,i,o){let s=t&&!ev(t),a;if(s)a=n;else{let g=n||{};a=g.index,r=g.injector,i=g.projectableNodes,o=g.environmentInjector||g.ngModuleRef}let u=s?t:new Cr(Lt(t)),c=r||this.parentInjector;if(!o&&u.ngModule==null){let M=(s?c:this.parentInjector).get(we,null);M&&(o=M)}let l=Lt(u.componentType??{}),d=Ka(this._lContainer,l?.id??null),h=d?.firstChild??null,f=u.create(c,i,h,o);return this.insertImpl(f.hostView,a,Ya(this._hostTNode,d)),f}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let i=t._lView;if(uv(i)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let u=i[ce],c=new Nh(u,u[Re],u[ce]);c.detach(c.indexOf(t))}}let o=this._adjustIndex(n),s=this._lContainer;return Eh(s,i,o,r),t.attachToViewContainerRef(),$d(wa(s),o,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=bd(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=Do(this._lContainer,n);r&&(io(wa(this._lContainer),n),ku(r[R],r))}detach(t){let n=this._adjustIndex(t,-1),r=Do(this._lContainer,n);return r&&io(wa(this._lContainer),n)!=null?new An(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function bd(e){return e[uo]}function wa(e){return e[uo]||(e[uo]=[])}function FD(e,t){let n,r=t[e.index];return ot(r)?n=r:(n=Dh(r,t,null,e),t[e.index]=n,Bo(t,n)),kD(n,t,e,r),new Nh(n,e,t)}function PD(e,t){let n=e[ne],r=n.createComment(""),i=Oe(t,e),o=rh(n,i);return Co(n,o,r,Ey(n,i),!1),r}var kD=jD,LD=()=>!1;function VD(e,t,n){return LD(e,t,n)}function jD(e,t,n,r){if(e[Vt])return;let i;n.type&8?i=ze(r):i=PD(t,n),e[Vt]=i}var _d=new Set;function $n(e){_d.has(e)||(_d.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function BD(e){return typeof e=="function"&&e[Je]!==void 0}function Ho(e,t){$n("NgSignals");let n=yl(e),r=n[Je];return t?.equal&&(r.equal=t.equal),n.set=i=>Gs(r,i),n.update=i=>Dl(r,i),n.asReadonly=UD.bind(n),n}function UD(){let e=this[Je];if(e.readonlyFn===void 0){let t=()=>this();t[Je]=e,e.readonlyFn=t}return e.readonlyFn}function Rh(e){return BD(e)&&typeof e.set=="function"}function $D(e){return Object.getPrototypeOf(e.prototype).constructor}function Wt(e){let t=$D(e.type),n=!0,r=[e];for(;t;){let i;if(yt(e))i=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new D(903,!1);i=t.\u0275dir}if(i){if(n){r.push(i);let s=e;s.inputs=Zi(e.inputs),s.inputTransforms=Zi(e.inputTransforms),s.declaredInputs=Zi(e.declaredInputs),s.outputs=Zi(e.outputs);let a=i.hostBindings;a&&qD(e,a);let u=i.viewQuery,c=i.contentQueries;if(u&&GD(e,u),c&&WD(e,c),HD(e,i),rm(e.outputs,i.outputs),yt(i)&&i.data.animation){let l=e.data;l.animation=(l.animation||[]).concat(i.data.animation)}}let o=i.features;if(o)for(let s=0;s=0;r--){let i=e[r];i.hostVars=t+=i.hostVars,i.hostAttrs=vr(i.hostAttrs,n=vr(n,i.hostAttrs))}}function Zi(e){return e===In?{}:e===De?[]:e}function GD(e,t){let n=e.viewQuery;n?e.viewQuery=(r,i)=>{t(r,i),n(r,i)}:e.viewQuery=t}function WD(e,t){let n=e.contentQueries;n?e.contentQueries=(r,i,o)=>{t(r,i,o),n(r,i,o)}:e.contentQueries=t}function qD(e,t){let n=e.hostBindings;n?e.hostBindings=(r,i)=>{t(r,i),n(r,i)}:e.hostBindings=t}var Dt=class{},wr=class{};var nu=class extends Dt{constructor(t,n,r,i=!0){super(),this.ngModuleType=t,this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Io(this);let o=Qd(t);this._bootstrapComponents=Jf(o.bootstrap),this._r3Injector=Lf(t,n,[{provide:Dt,useValue:this},{provide:Rn,useValue:this.componentFactoryResolver},...r],de(t),new Set(["environment"])),i&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}},ru=class extends wr{constructor(t){super(),this.moduleType=t}create(t){return new nu(this.moduleType,t,[])}};var bo=class extends Dt{constructor(t){super(),this.componentFactoryResolver=new Io(this),this.instance=null;let n=new yr([...t.providers,{provide:Dt,useValue:this},{provide:Rn,useValue:this.componentFactoryResolver}],t.parent||gu(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function Hu(e,t,n=null){return new bo({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}function zo(e,t,n){let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function ZD(e){return(e.flags&32)===32}function YD(e,t,n,r,i,o,s,a,u){let c=t.consts,l=jo(t,e,4,s||null,a||null);mh(t,n,l,fo(c,u)),bu(t,l);let d=l.tView=ju(2,l,r,i,o,t.directiveRegistry,t.pipeRegistry,null,t.schemas,c,null);return t.queries!==null&&(t.queries.template(t,l),d.queries=t.queries.embeddedTView(l)),l}function QD(e,t,n,r,i,o,s,a,u,c){let l=n+Ne,d=t.firstCreatePass?YD(l,t,e,r,i,o,s,a,u):t.data[l];br(d,!1);let h=KD(t,e,d,n);Eu()&&Lu(t,e,h,d),$t(h,e);let f=Dh(h,e,h,d);return e[l]=f,Bo(e,f),VD(f,d,e),mu(d)&&fh(t,e,d),u!=null&&hh(e,d,c),d}function Go(e,t,n,r,i,o,s,a){let u=G(),c=Ie(),l=fo(c.consts,o);return QD(u,c,e,t,n,r,i,l,s,a),Go}var KD=JD;function JD(e,t,n,r){return Iu(!0),t[ne].createComment("")}var pr=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(pr||{}),XD=(()=>{class e{constructor(){this.impl=null}execute(){this.impl?.execute()}static{this.\u0275prov=w({token:e,providedIn:"root",factory:()=>new e})}}return e})(),Md=class e{constructor(){this.ngZone=m(q),this.scheduler=m(Nn),this.errorHandler=m(tt,{optional:!0}),this.sequences=new Set,this.deferredRegistrations=new Set,this.executing=!1}static{this.PHASES=[pr.EarlyRead,pr.Write,pr.MixedReadWrite,pr.Read]}execute(){this.executing=!0;for(let t of e.PHASES)for(let n of this.sequences)if(!(n.erroredOrDestroyed||!n.hooks[t]))try{n.pipelinedValue=this.ngZone.runOutsideAngular(()=>n.hooks[t](n.pipelinedValue))}catch(r){n.erroredOrDestroyed=!0,this.errorHandler?.handleError(r)}this.executing=!1;for(let t of this.sequences)t.afterRun(),t.once&&(this.sequences.delete(t),t.destroy());for(let t of this.deferredRegistrations)this.sequences.add(t);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear()}register(t){this.executing?this.deferredRegistrations.add(t):(this.sequences.add(t),this.scheduler.notify(6))}unregister(t){this.executing&&this.sequences.has(t)?(t.erroredOrDestroyed=!0,t.pipelinedValue=void 0,t.once=!0):(this.sequences.delete(t),this.deferredRegistrations.delete(t))}static{this.\u0275prov=w({token:e,providedIn:"root",factory:()=>new e})}};function Yi(e,t){return e<<17|t<<2}function Ht(e){return e>>17&32767}function eC(e){return(e&2)==2}function tC(e,t){return e&131071|t<<17}function iu(e){return e|2}function Fn(e){return(e&131068)>>2}function Ea(e,t){return e&-131069|t<<2}function nC(e){return(e&1)===1}function ou(e){return e|1}function rC(e,t,n,r,i,o){let s=o?t.classBindings:t.styleBindings,a=Ht(s),u=Fn(s);e[r]=n;let c=!1,l;if(Array.isArray(n)){let d=n;l=d[1],(l===null||Ir(d,l)>0)&&(c=!0)}else l=n;if(i)if(u!==0){let h=Ht(e[a+1]);e[r+1]=Yi(h,a),h!==0&&(e[h+1]=Ea(e[h+1],r)),e[a+1]=tC(e[a+1],r)}else e[r+1]=Yi(a,0),a!==0&&(e[a+1]=Ea(e[a+1],r)),a=r;else e[r+1]=Yi(u,0),a===0?a=r:e[u+1]=Ea(e[u+1],r),u=r;c&&(e[r+1]=iu(e[r+1])),Sd(e,l,r,!0),Sd(e,l,r,!1),iC(t,l,e,r,o),s=Yi(a,u),o?t.classBindings=s:t.styleBindings=s}function iC(e,t,n,r,i){let o=i?e.residualClasses:e.residualStyles;o!=null&&typeof t=="string"&&Ir(o,t)>=0&&(n[r+1]=ou(n[r+1]))}function Sd(e,t,n,r){let i=e[n+1],o=t===null,s=r?Ht(i):Fn(i),a=!1;for(;s!==0&&(a===!1||o);){let u=e[s],c=e[s+1];oC(u,t)&&(a=!0,e[s+1]=r?ou(c):iu(c)),s=r?Ht(c):Fn(c)}a&&(e[n+1]=r?iu(i):ou(i))}function oC(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?Ir(e,t)>=0:!1}function zu(e,t,n){let r=G(),i=Du();if(zo(r,i,t)){let o=Ie(),s=_f();gh(o,s,r,e,t,r[ne],n,!1)}return zu}function xd(e,t,n,r,i){let o=t.inputs,s=i?"class":"style";Bu(e,n,o[s],s,r)}function Sr(e,t){return sC(e,t,null,!0),Sr}function sC(e,t,n,r){let i=G(),o=Ie(),s=wv(2);if(o.firstUpdatePass&&uC(o,e,s,r),t!==Mr&&zo(i,s,t)){let a=o.data[_r()];hC(o,a,i,i[ne],e,i[s+1]=pC(t,n),r,s)}}function aC(e,t){return t>=e.expandoStartIndex}function uC(e,t,n,r){let i=e.data;if(i[n+1]===null){let o=i[_r()],s=aC(e,n);gC(o,r)&&t===null&&!s&&(t=!1),t=cC(i,o,t,r),rC(i,o,t,n,s,r)}}function cC(e,t,n,r){let i=_v(e),o=r?t.residualClasses:t.residualStyles;if(i===null)(r?t.classBindings:t.styleBindings)===0&&(n=Ia(null,e,t,n,r),n=Er(n,t.attrs,r),o=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==i)if(n=Ia(i,e,t,n,r),o===null){let u=lC(e,t,r);u!==void 0&&Array.isArray(u)&&(u=Ia(null,e,t,u[1],r),u=Er(u,t.attrs,r),dC(e,t,r,u))}else o=fC(e,t,r)}return o!==void 0&&(r?t.residualClasses=o:t.residualStyles=o),n}function lC(e,t,n){let r=n?t.classBindings:t.styleBindings;if(Fn(r)!==0)return e[Ht(r)]}function dC(e,t,n,r){let i=n?t.classBindings:t.styleBindings;e[Ht(i)]=r}function fC(e,t,n){let r,i=t.directiveEnd;for(let o=1+t.directiveStylingLast;o0;){let u=e[i],c=Array.isArray(u),l=c?u[1]:u,d=l===null,h=n[i+1];h===Mr&&(h=d?De:void 0);let f=d?ha(h,r):l===r?h:void 0;if(c&&!_o(f)&&(f=ha(u,r)),_o(f)&&(a=f,s))return a;let g=e[i+1];i=s?Ht(g):Fn(g)}if(t!==null){let u=o?t.residualClasses:t.residualStyles;u!=null&&(a=ha(u,r))}return a}function _o(e){return e!==void 0}function pC(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=de(ko(e)))),e}function gC(e,t){return(e.flags&(t?8:16))!==0}function xr(e,t){$n("NgControlFlow");let n=G(),r=Du(),i=n[r]!==Mr?n[r]:-1,o=i!==-1?Ad(n,Ne+i):void 0,s=0;if(zo(n,r,e)){let a=P(null);try{if(o!==void 0&&sD(o,s),e!==-1){let u=Ne+e,c=Ad(n,u),l=mC(n[R],u),d=Ka(c,l.tView.ssrId),h=iD(n,l,t,{dehydratedView:d});Eh(c,h,s,Ya(l,d))}}finally{P(a)}}else if(o!==void 0){let a=oD(o,s);a!==void 0&&(a[Ee]=t)}}function Ad(e,t){return e[t]}function mC(e,t){return vu(e,t)}function vC(e,t,n,r,i,o){let s=t.consts,a=fo(s,i),u=jo(t,e,2,r,a);return mh(t,n,u,fo(s,o)),u.attrs!==null&&eu(u,u.attrs,!1),u.mergedAttrs!==null&&eu(u,u.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,u),u}function be(e,t,n,r){let i=G(),o=Ie(),s=Ne+e,a=i[ne],u=o.firstCreatePass?vC(s,o,i,t,n,r):o.data[s],c=yC(o,i,u,a,t,e);i[s]=c;let l=mu(u);return br(u,!0),sh(a,c,u),!ZD(u)&&Eu()&&Lu(o,i,c,u),dv()===0&&$t(c,i),fv(),l&&(fh(o,i,u),dh(o,u,i)),r!==null&&hh(i,u),be}function Fe(){let e=ge();vf()?yv():(e=e.parent,br(e,!1));let t=e;gv(t)&&mv(),hv();let n=Ie();return n.firstCreatePass&&(bu(n,e),sf(e)&&n.queries.elementEnd(e)),t.classesWithoutHost!=null&&Rv(t)&&xd(n,t,G(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&Ov(t)&&xd(n,t,G(),t.stylesWithoutHost,!1),Fe}function Hn(e,t,n,r){return be(e,t,n,r),Fe(),Hn}var yC=(e,t,n,r,i,o)=>(Iu(!0),Xf(r,i,xv()));function Wo(){return G()}var Mo="en-US";var DC=Mo;function CC(e){typeof e=="string"&&(DC=e.toLowerCase().replace(/_/g,"-"))}var wC=(e,t,n)=>{};function _e(e,t,n,r){let i=G(),o=Ie(),s=ge();return Oh(o,i,i[ne],s,e,t,r),_e}function EC(e,t,n,r){let i=e.cleanup;if(i!=null)for(let o=0;ou?a[u]:null}typeof s=="string"&&(o+=2)}return null}function Oh(e,t,n,r,i,o,s){let a=mu(r),c=e.firstCreatePass&&eD(e),l=t[Ee],d=Xy(t),h=!0;if(r.type&3||s){let M=Oe(r,t),y=s?s(M):M,b=d.length,Z=s?L=>s(ze(L[r.index])):r.index,Y=null;if(!s&&a&&(Y=EC(e,t,i,r.index)),Y!==null){let L=Y.__ngLastListenerFn__||Y;L.__ngNextListenerFn__=o,Y.__ngLastListenerFn__=o,h=!1}else{o=Rd(r,t,l,o),wC(M,i,o);let L=n.listen(y,i,o);d.push(o,L),c&&c.push(i,Z,b,b+1)}}else o=Rd(r,t,l,o);let f=r.outputs,g;if(h&&f!==null&&(g=f[i])){let M=g.length;if(M)for(let y=0;y-1?Et(e.index,t):t;$u(s,5);let a=Nd(t,n,r,o),u=i.__ngNextListenerFn__;for(;u;)a=Nd(t,n,u,o)&&a,u=u.__ngNextListenerFn__;return a}}function qt(e=1){return Sv(e)}function Fh(e){let t=Dv();return av(t,Ne+e)}function zn(e,t=""){let n=G(),r=Ie(),i=e+Ne,o=r.firstCreatePass?jo(r,i,1,t,null):r.data[i],s=IC(r,n,o,t,e);n[i]=s,Eu()&&Lu(r,n,s,o),br(o,!1)}var IC=(e,t,n,r,i)=>(Iu(!0),hy(t[ne],r));function Gu(e,t,n){Rh(t)&&(t=t());let r=G(),i=Du();if(zo(r,i,t)){let o=Ie(),s=_f();gh(o,s,r,e,t,r[ne],n,!1)}return Gu}function Ph(e,t){let n=Rh(e);return n&&e.set(t),n}function Wu(e,t){let n=G(),r=Ie(),i=ge();return Oh(r,n,n[ne],i,e,t),Wu}function bC(e,t,n){let r=Ie();if(r.firstCreatePass){let i=yt(e);su(n,r.data,r.blueprint,i,!0),su(t,r.data,r.blueprint,i,!1)}}function su(e,t,n,r,i){if(e=ue(e),Array.isArray(e))for(let o=0;o>20;if(_n(e)||!e.multi){let f=new Ut(c,i,ee),g=_a(u,t,i?l:l+h,d);g===-1?(Va(go(a,s),o,u),ba(o,e,t.length),t.push(u),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),n.push(f),s.push(f)):(n[g]=f,s[g]=f)}else{let f=_a(u,t,l+h,d),g=_a(u,t,l,l+h),M=f>=0&&n[f],y=g>=0&&n[g];if(i&&!y||!i&&!M){Va(go(a,s),o,u);let b=SC(i?MC:_C,n.length,i,r,c);!i&&y&&(n[g].providerFactory=b),ba(o,e,t.length,0),t.push(u),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),n.push(b),s.push(b)}else{let b=kh(n[i?g:f],c,!i&&r);ba(o,e,f>-1?f:g,b)}!i&&r&&y&&n[g].componentProviders++}}}function ba(e,t,n,r){let i=_n(t),o=Wm(t);if(i||o){let u=(o?ue(t.useClass):t).prototype.ngOnDestroy;if(u){let c=e.destroyHooks||(e.destroyHooks=[]);if(!i&&t.multi){let l=c.indexOf(n);l===-1?c.push(n,[r,u]):c[l+1].push(r,u)}else c.push(n,u)}}}function kh(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function _a(e,t,n,r){for(let i=n;i{n.providersResolver=(r,i)=>bC(r,i?i(e):e,t)}}var xC=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let r=Xd(!1,n.type),i=r.length>0?Hu([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,i)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static{this.\u0275prov=w({token:e,providedIn:"environment",factory:()=>new e(O(we))})}}return e})();function Zo(e){$n("NgStandalone"),e.getStandaloneInjector=t=>t.get(xC).getOrCreateStandaloneInjector(e)}var Yo=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"platform"})}}return e})();var Lh=new C("");function Zt(e){return!!e&&typeof e.then=="function"}function Vh(e){return!!e&&typeof e.subscribe=="function"}var Qo=new C(""),jh=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r}),this.appInits=m(Qo,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let n=[];for(let i of this.appInits){let o=i();if(Zt(o))n.push(o);else if(Vh(o)){let s=new Promise((a,u)=>{o.subscribe({complete:a,error:u})});n.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(i=>{this.reject(i)}),n.length===0&&r(),this.initialized=!0}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),qu=new C("");function TC(){vl(()=>{throw new D(600,!1)})}function AC(e){return e.isBoundToModule}var NC=10;function RC(e,t,n){try{let r=n();return Zt(r)?r.catch(i=>{throw t.runOutsideAngular(()=>e.handleError(i)),i}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}var Ye=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=m(Jv),this.afterRenderManager=m(XD),this.zonelessEnabled=m(Uo),this.dirtyFlags=0,this.deferredDirtyFlags=0,this.externalTestViews=new Set,this.beforeRender=new H,this.afterTick=new H,this.componentTypes=[],this.components=[],this.isStable=m(Bn).hasPendingTasks.pipe(_(n=>!n)),this._injector=m(we)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:i=>{i&&r()}})}).finally(()=>{n.unsubscribe()})}get injector(){return this._injector}bootstrap(n,r){let i=n instanceof Eo;if(!this._injector.get(jh).done){let h=!i&&Yd(n),f=!1;throw new D(405,f)}let s;i?s=n:s=this._injector.get(Rn).resolveComponentFactory(n),this.componentTypes.push(s.componentType);let a=AC(s)?void 0:this._injector.get(Dt),u=r||s.selector,c=s.create(Ge.NULL,[],u,a),l=c.location.nativeElement,d=c.injector.get(Lh,null);return d?.registerApplication(l),c.onDestroy(()=>{this.detachView(c.hostView),eo(this.components,c),d?.unregisterApplication(l)}),this._loadComponent(c),c}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){if(this._runningTick)throw new D(101,!1);let n=P(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,P(n),this.afterTick.next()}}synchronize(){let n=null;this._injector.destroyed||(n=this._injector.get(On,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let r=0;for(;this.dirtyFlags!==0&&r++Fo(n))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(n){let r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){let r=n;eo(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);let r=this._injector.get(qu,[]);[...this._bootstrapListeners,...r].forEach(i=>i(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),()=>eo(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new D(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function eo(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function OC(e,t,n,r){if(!n&&!Fo(e))return;_h(e,t,n&&!r?0:1)}var uu=class{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},Zu=(()=>{class e{compileModuleSync(n){return new ru(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let r=this.compileModuleSync(n),i=Qd(n),o=Jf(i.declarations).reduce((s,a)=>{let u=Lt(a);return u&&s.push(new Cr(u)),s},[]);return new uu(r,o)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var FC=(()=>{class e{constructor(){this.zone=m(q),this.changeDetectionScheduler=m(Nn),this.applicationRef=m(Ye)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),PC=new C("",{factory:()=>!1});function Bh({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new q(k(p({},$h()),{scheduleInRootZone:n})),[{provide:q,useFactory:e},{provide:bn,multi:!0,useFactory:()=>{let r=m(FC,{optional:!0});return()=>r.initialize()}},{provide:bn,multi:!0,useFactory:()=>{let r=m(kC);return()=>{r.initialize()}}},t===!0?{provide:Th,useValue:!0}:[],{provide:Ah,useValue:n??Vf}]}function Uh(e){let t=e?.ignoreChangesOutsideZone,n=e?.scheduleInRootZone,r=Bh({ngZoneFactory:()=>{let i=$h(e);return i.scheduleInRootZone=n,i.shouldCoalesceEventChangeDetection&&$n("NgZone_CoalesceEvent"),new q(i)},ignoreChangesOutsideZone:t,scheduleInRootZone:n});return kn([{provide:PC,useValue:!0},{provide:Uo,useValue:!1},r])}function $h(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var kC=(()=>{class e{constructor(){this.subscription=new W,this.initialized=!1,this.zone=m(q),this.pendingTasks=m(Bn)}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(()=>{q.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{q.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var LC=(()=>{class e{constructor(){this.appRef=m(Ye),this.taskService=m(Bn),this.ngZone=m(q),this.zonelessEnabled=m(Uo),this.disableScheduling=m(Th,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new W,this.angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(vo):null,this.scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(m(Ah,{optional:!0})??!1),this.cancelScheduledCallback=null,this.useMicrotaskScheduler=!1,this.runningTick=!1,this.pendingRenderTaskId=null,this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof Ha||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&n===5)return;switch(n){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 7:{this.appRef.deferredDirtyFlags|=8;break}case 9:case 8:case 6:case 10:default:this.appRef.dirtyFlags|=8}if(!this.shouldScheduleTick())return;let r=this.useMicrotaskScheduler?gd:Bf;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>r(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>r(()=>this.tick()))}shouldScheduleTick(){return!(this.disableScheduling||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(vo+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){throw this.taskService.remove(n),r}finally{this.cleanup()}this.useMicrotaskScheduler=!0,gd(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function VC(){return typeof $localize<"u"&&$localize.locale||Mo}var Yu=new C("",{providedIn:"root",factory:()=>m(Yu,x.Optional|x.SkipSelf)||VC()});var cu=new C("");function Qi(e){return!e.moduleRef}function jC(e){let t=Qi(e)?e.r3Injector:e.moduleRef.injector,n=t.get(q);return n.run(()=>{Qi(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(tt,null),i;if(n.runOutsideAngular(()=>{i=n.onError.subscribe({next:o=>{r.handleError(o)}})}),Qi(e)){let o=()=>t.destroy(),s=e.platformInjector.get(cu);s.add(o),t.onDestroy(()=>{i.unsubscribe(),s.delete(o)})}else{let o=()=>e.moduleRef.destroy(),s=e.platformInjector.get(cu);s.add(o),e.moduleRef.onDestroy(()=>{eo(e.allPlatformModules,e.moduleRef),i.unsubscribe(),s.delete(o)})}return RC(r,n,()=>{let o=t.get(jh);return o.runInitializers(),o.donePromise.then(()=>{let s=t.get(Yu,Mo);if(CC(s||Mo),Qi(e)){let a=t.get(Ye);return e.rootComponent!==void 0&&a.bootstrap(e.rootComponent),a}else return BC(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}function BC(e,t){let n=e.injector.get(Ye);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>n.bootstrap(r));else if(e.instance.ngDoBootstrap)e.instance.ngDoBootstrap(n);else throw new D(-403,!1);t.push(e)}var to=null;function UC(e=[],t){return Ge.create({name:t,providers:[{provide:No,useValue:"platform"},{provide:cu,useValue:new Set([()=>to=null])},...e]})}function $C(e=[]){if(to)return to;let t=UC(e);return to=t,TC(),HC(t),t}function HC(e){e.get(Au,null)?.forEach(n=>n())}function Hh(){return!1}var Yt=(()=>{class e{static{this.__NG_ELEMENT_ID__=zC}}return e})();function zC(e){return GC(ge(),G(),(e&16)===16)}function GC(e,t,n){if(Oo(e)&&!n){let r=Et(e.index,t);return new An(r,r)}else if(e.type&175){let r=t[He];return new An(r,t)}return null}function zh(e){try{let{rootComponent:t,appProviders:n,platformProviders:r}=e,i=$C(r),o=[Bh({}),{provide:Nn,useExisting:LC},...n||[]],s=new bo({providers:o,parent:i,debugName:"",runEnvironmentInitializers:!1});return jC({r3Injector:s.injector,platformInjector:i,rootComponent:t})}catch(t){return Promise.reject(t)}}function Ko(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function Jo(e,t){$n("NgSignals");let n=pl(e);return t?.equal&&(n[Je].equal=t.equal),n}function It(e){let t=P(null);try{return e()}finally{P(t)}}var qh=null;function at(){return qh}function Zh(e){qh??=e}var Xo=class{};var Me=new C(""),Yh=(()=>{class e{historyGo(n){throw new Error("")}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=w({token:e,factory:()=>m(ZC),providedIn:"platform"})}}return e})();var ZC=(()=>{class e extends Yh{constructor(){super(),this._doc=m(Me),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return at().getBaseHref(this._doc)}onPopState(n){let r=at().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){let r=at().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",n,!1),()=>r.removeEventListener("hashchange",n)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(n){this._location.pathname=n}pushState(n,r,i){this._history.pushState(n,r,i)}replaceState(n,r,i){this._history.replaceState(n,r,i)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=w({token:e,factory:()=>new e,providedIn:"platform"})}}return e})();function Qh(e,t){if(e.length==0)return t;if(t.length==0)return e;let n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,n==2?e+t.substring(1):n==1?e+t:e+"/"+t}function Gh(e){let t=e.match(/#|\?|$/),n=t&&t.index||e.length,r=n-(e[n-1]==="/"?1:0);return e.slice(0,r)+e.slice(n)}function Qt(e){return e&&e[0]!=="?"?"?"+e:e}var ts=(()=>{class e{historyGo(n){throw new Error("")}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=w({token:e,factory:()=>m(Kh),providedIn:"root"})}}return e})(),YC=new C(""),Kh=(()=>{class e extends ts{constructor(n,r){super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??m(Me).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 Qh(this._baseHref,n)}path(n=!1){let r=this._platformLocation.pathname+Qt(this._platformLocation.search),i=this._platformLocation.hash;return i&&n?`${r}${i}`:r}pushState(n,r,i,o){let s=this.prepareExternalUrl(i+Qt(o));this._platformLocation.pushState(n,r,s)}replaceState(n,r,i,o){let s=this.prepareExternalUrl(i+Qt(o));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{this.\u0275fac=function(r){return new(r||e)(O(Yh),O(YC,8))}}static{this.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var Tr=(()=>{class e{constructor(n){this._subject=new X,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=n;let r=this._locationStrategy.getBaseHref();this._basePath=JC(Gh(Wh(r))),this._locationStrategy.onPopState(i=>{this._subject.emit({url:this.path(!0),pop:!0,state:i.state,type:i.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+Qt(r))}normalize(n){return e.stripTrailingSlash(KC(this._basePath,Wh(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,r="",i=null){this._locationStrategy.pushState(i,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Qt(r)),i)}replaceState(n,r="",i=null){this._locationStrategy.replaceState(i,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Qt(r)),i)}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.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}),()=>{let r=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(r,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",r){this._urlChangeListeners.forEach(i=>i(n,r))}subscribe(n,r,i){return this._subject.subscribe({next:n,error:r,complete:i})}static{this.normalizeQueryParams=Qt}static{this.joinWithSlash=Qh}static{this.stripTrailingSlash=Gh}static{this.\u0275fac=function(r){return new(r||e)(O(ts))}}static{this.\u0275prov=w({token:e,factory:()=>QC(),providedIn:"root"})}}return e})();function QC(){return new Tr(O(ts))}function KC(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function Wh(e){return e.replace(/\/index.html$/,"")}function JC(e){if(new RegExp("^(https?:)?//").test(e)){let[,n]=e.split(/\/\/[^\/]+/);return n}return e}function Jh(e,t){t=encodeURIComponent(t);for(let n of e.split(";")){let r=n.indexOf("="),[i,o]=r==-1?[n,""]:[n.slice(0,r),n.slice(r+1)];if(i.trim()===t)return decodeURIComponent(o)}return null}var Ku=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275mod=wt({type:e})}static{this.\u0275inj=Ct({})}}return e})(),Ju="browser",XC="server";function Xu(e){return e===Ju}function ec(e){return e===XC}var es=class{};var rc=class extends Xo{constructor(){super(...arguments),this.supportsDOMEvents=!0}},ic=class e extends rc{static makeCurrent(){Zh(new e)}onAndCancel(t,n,r){return t.addEventListener(n,r),()=>{t.removeEventListener(n,r)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.remove()}createElement(t,n){return n=n||this.getDefaultDocument(),n.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 n==="window"?window:n==="document"?t:n==="body"?t.body:null}getBaseHref(t){let n=tw();return n==null?null:nw(n)}resetBaseElement(){Ar=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return Jh(document.cookie,t)}},Ar=null;function tw(){return Ar=Ar||document.querySelector("base"),Ar?Ar.getAttribute("href"):null}function nw(e){return new URL(e,document.baseURI).pathname}var rw=(()=>{class e{build(){return new XMLHttpRequest}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=w({token:e,factory:e.\u0275fac})}}return e})(),oc=new C(""),np=(()=>{class e{constructor(n,r){this._zone=r,this._eventNameToPlugin=new Map,n.forEach(i=>{i.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,r,i){return this._findPluginFor(r).addEventListener(n,r,i)}getZone(){return this._zone}_findPluginFor(n){let r=this._eventNameToPlugin.get(n);if(r)return r;if(r=this._plugins.find(o=>o.supports(n)),!r)throw new D(5101,!1);return this._eventNameToPlugin.set(n,r),r}static{this.\u0275fac=function(r){return new(r||e)(O(oc),O(q))}}static{this.\u0275prov=w({token:e,factory:e.\u0275fac})}}return e})(),ns=class{constructor(t){this._doc=t}},tc="ng-app-id",rp=(()=>{class e{constructor(n,r,i,o={}){this.doc=n,this.appId=r,this.nonce=i,this.platformId=o,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=ec(o),this.resetHostNodes()}addStyles(n){for(let r of n)this.changeUsageCount(r,1)===1&&this.onStyleAdded(r)}removeStyles(n){for(let r of n)this.changeUsageCount(r,-1)<=0&&this.onStyleRemoved(r)}ngOnDestroy(){let n=this.styleNodesInDOM;n&&(n.forEach(r=>r.remove()),n.clear());for(let r of this.getAllStyles())this.onStyleRemoved(r);this.resetHostNodes()}addHost(n){this.hostNodes.add(n);for(let r of this.getAllStyles())this.addStyleToHost(n,r)}removeHost(n){this.hostNodes.delete(n)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(n){for(let r of this.hostNodes)this.addStyleToHost(r,n)}onStyleRemoved(n){let r=this.styleRef;r.get(n)?.elements?.forEach(i=>i.remove()),r.delete(n)}collectServerRenderedStyles(){let n=this.doc.head?.querySelectorAll(`style[${tc}="${this.appId}"]`);if(n?.length){let r=new Map;return n.forEach(i=>{i.textContent!=null&&r.set(i.textContent,i)}),r}return null}changeUsageCount(n,r){let i=this.styleRef;if(i.has(n)){let o=i.get(n);return o.usage+=r,o.usage}return i.set(n,{usage:r,elements:[]}),r}getStyleElement(n,r){let i=this.styleNodesInDOM,o=i?.get(r);if(o?.parentNode===n)return i.delete(r),o.removeAttribute(tc),o;{let s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=r,this.platformIsServer&&s.setAttribute(tc,this.appId),n.appendChild(s),s}}addStyleToHost(n,r){let i=this.getStyleElement(n,r),o=this.styleRef,s=o.get(r)?.elements;s?s.push(i):o.set(r,{elements:[i],usage:1})}resetHostNodes(){let n=this.hostNodes;n.clear(),n.add(this.doc.head)}static{this.\u0275fac=function(r){return new(r||e)(O(Me),O(Tu),O(Nu,8),O(st))}}static{this.\u0275prov=w({token:e,factory:e.\u0275fac})}}return e})(),nc={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/Math/MathML"},ac=/%COMP%/g,ip="%COMP%",iw=`_nghost-${ip}`,ow=`_ngcontent-${ip}`,sw=!0,aw=new C("",{providedIn:"root",factory:()=>sw});function uw(e){return ow.replace(ac,e)}function cw(e){return iw.replace(ac,e)}function op(e,t){return t.map(n=>n.replace(ac,e))}var Xh=(()=>{class e{constructor(n,r,i,o,s,a,u,c=null){this.eventManager=n,this.sharedStylesHost=r,this.appId=i,this.removeStylesOnCompDestroy=o,this.doc=s,this.platformId=a,this.ngZone=u,this.nonce=c,this.rendererByCompId=new Map,this.platformIsServer=ec(a),this.defaultRenderer=new Nr(n,s,u,this.platformIsServer)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===Ue.ShadowDom&&(r=k(p({},r),{encapsulation:Ue.Emulated}));let i=this.getOrCreateRenderer(n,r);return i instanceof rs?i.applyToHost(n):i instanceof Rr&&i.applyStyles(),i}getOrCreateRenderer(n,r){let i=this.rendererByCompId,o=i.get(r.id);if(!o){let s=this.doc,a=this.ngZone,u=this.eventManager,c=this.sharedStylesHost,l=this.removeStylesOnCompDestroy,d=this.platformIsServer;switch(r.encapsulation){case Ue.Emulated:o=new rs(u,c,r,this.appId,l,s,a,d);break;case Ue.ShadowDom:return new sc(u,c,n,r,s,a,this.nonce,d);default:o=new Rr(u,c,r,l,s,a,d);break}i.set(r.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}static{this.\u0275fac=function(r){return new(r||e)(O(np),O(rp),O(Tu),O(aw),O(Me),O(st),O(q),O(Nu))}}static{this.\u0275prov=w({token:e,factory:e.\u0275fac})}}return e})(),Nr=class{constructor(t,n,r,i){this.eventManager=t,this.doc=n,this.ngZone=r,this.platformIsServer=i,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(t,n){return n?this.doc.createElementNS(nc[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(ep(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(ep(t)?t.content:t).insertBefore(n,r)}removeChild(t,n){n.remove()}selectRootElement(t,n){let r=typeof t=="string"?this.doc.querySelector(t):t;if(!r)throw new D(-5104,!1);return n||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,r,i){if(i){n=i+":"+n;let o=nc[i];o?t.setAttributeNS(o,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){let i=nc[r];i?t.removeAttributeNS(i,n):t.removeAttribute(`${r}:${n}`)}else t.removeAttribute(n)}addClass(t,n){t.classList.add(n)}removeClass(t,n){t.classList.remove(n)}setStyle(t,n,r,i){i&(nt.DashCase|nt.Important)?t.style.setProperty(n,r,i&nt.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&nt.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,r){t!=null&&(t[n]=r)}setValue(t,n){t.nodeValue=n}listen(t,n,r){if(typeof t=="string"&&(t=at().getGlobalEventTarget(this.doc,t),!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(n==="__ngUnwrap__")return t;(this.platformIsServer?this.ngZone.runGuarded(()=>t(n)):t(n))===!1&&n.preventDefault()}}};function ep(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var sc=class extends Nr{constructor(t,n,r,i,o,s,a,u){super(t,o,s,u),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let c=op(i.id,i.styles);for(let l of c){let d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=l,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(null,n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Rr=class extends Nr{constructor(t,n,r,i,o,s,a,u){super(t,o,s,a),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=i,this.styles=u?op(u,r.styles):r.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},rs=class extends Rr{constructor(t,n,r,i,o,s,a,u){let c=i+"-"+r.id;super(t,n,r,o,s,a,u,c),this.contentAttr=uw(c),this.hostAttr=cw(c)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,n){let r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,""),r}},lw=(()=>{class e extends ns{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,i){return n.addEventListener(r,i,!1),()=>this.removeEventListener(n,r,i)}removeEventListener(n,r,i){return n.removeEventListener(r,i)}static{this.\u0275fac=function(r){return new(r||e)(O(Me))}}static{this.\u0275prov=w({token:e,factory:e.\u0275fac})}}return e})(),tp=["alt","control","meta","shift"],dw={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},fw={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},hw=(()=>{class e extends ns{constructor(n){super(n)}supports(n){return e.parseEventName(n)!=null}addEventListener(n,r,i){let o=e.parseEventName(r),s=e.eventCallback(o.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>at().onAndCancel(n,o.domEventName,s))}static parseEventName(n){let r=n.toLowerCase().split("."),i=r.shift();if(r.length===0||!(i==="keydown"||i==="keyup"))return null;let o=e._normalizeKey(r.pop()),s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),tp.forEach(c=>{let l=r.indexOf(c);l>-1&&(r.splice(l,1),s+=c+".")}),s+=o,r.length!=0||o.length===0)return null;let u={};return u.domEventName=i,u.fullKey=s,u}static matchEventFullKeyCode(n,r){let i=dw[n.key]||n.key,o="";return r.indexOf("code.")>-1&&(i=n.code,o="code."),i==null||!i?!1:(i=i.toLowerCase(),i===" "?i="space":i==="."&&(i="dot"),tp.forEach(s=>{if(s!==i){let a=fw[s];a(n)&&(o+=s+".")}}),o+=i,o===r)}static eventCallback(n,r,i){return o=>{e.matchEventFullKeyCode(o,n)&&i.runGuarded(()=>r(o))}}static _normalizeKey(n){return n==="esc"?"escape":n}static{this.\u0275fac=function(r){return new(r||e)(O(Me))}}static{this.\u0275prov=w({token:e,factory:e.\u0275fac})}}return e})();function sp(e,t){return zh(p({rootComponent:e},pw(t)))}function pw(e){return{appProviders:[...Dw,...e?.providers??[]],platformProviders:yw}}function gw(){ic.makeCurrent()}function mw(){return new tt}function vw(){return qf(document),document}var yw=[{provide:st,useValue:Ju},{provide:Au,useValue:gw,multi:!0},{provide:Me,useFactory:vw,deps:[]}];var Dw=[{provide:No,useValue:"root"},{provide:tt,useFactory:mw,deps:[]},{provide:oc,useClass:lw,multi:!0,deps:[Me,q,st]},{provide:oc,useClass:hw,multi:!0,deps:[Me]},Xh,rp,np,{provide:On,useExisting:Xh},{provide:es,useClass:rw,deps:[]},[]];var ap=(()=>{class e{constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}static{this.\u0275fac=function(r){return new(r||e)(O(Me))}}static{this.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var S="primary",Yr=Symbol("RouteTitle"),fc=class{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){let n=this.params[t];return Array.isArray(n)?n[0]:n}return null}getAll(t){if(this.has(t)){let n=this.params[t];return Array.isArray(n)?n:[n]}return[]}get keys(){return Object.keys(this.params)}};function Kn(e){return new fc(e)}function Ew(e,t,n){let r=n.path.split("/");if(r.length>e.length||n.pathMatch==="full"&&(t.hasChildren()||r.lengthr[o]===i)}else return e===t}function mp(e){return e.length>0?e[e.length-1]:null}function bt(e){return ia(e)?e:Zt(e)?$(Promise.resolve(e)):E(e)}var bw={exact:yp,subset:Dp},vp={exact:_w,subset:Mw,ignored:()=>!0};function up(e,t,n){return bw[n.paths](e.root,t.root,n.matrixParams)&&vp[n.queryParams](e.queryParams,t.queryParams)&&!(n.fragment==="exact"&&e.fragment!==t.fragment)}function _w(e,t){return Qe(e,t)}function yp(e,t,n){if(!Jt(e.segments,t.segments)||!ss(e.segments,t.segments,n)||e.numberOfChildren!==t.numberOfChildren)return!1;for(let r in t.children)if(!e.children[r]||!yp(e.children[r],t.children[r],n))return!1;return!0}function Mw(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(n=>gp(e[n],t[n]))}function Dp(e,t,n){return Cp(e,t,t.segments,n)}function Cp(e,t,n,r){if(e.segments.length>n.length){let i=e.segments.slice(0,n.length);return!(!Jt(i,n)||t.hasChildren()||!ss(i,n,r))}else if(e.segments.length===n.length){if(!Jt(e.segments,n)||!ss(e.segments,n,r))return!1;for(let i in t.children)if(!e.children[i]||!Dp(e.children[i],t.children[i],r))return!1;return!0}else{let i=n.slice(0,e.segments.length),o=n.slice(e.segments.length);return!Jt(e.segments,i)||!ss(e.segments,i,r)||!e.children[S]?!1:Cp(e.children[S],t,o,r)}}function ss(e,t,n){return t.every((r,i)=>vp[n](e[i].parameters,r.parameters))}var ct=class{constructor(t=new V([],{}),n={},r=null){this.root=t,this.queryParams=n,this.fragment=r}get queryParamMap(){return this._queryParamMap??=Kn(this.queryParams),this._queryParamMap}toString(){return Tw.serialize(this)}},V=class{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 as(this)}},Kt=class{constructor(t,n){this.path=t,this.parameters=n}get parameterMap(){return this._parameterMap??=Kn(this.parameters),this._parameterMap}toString(){return Ep(this)}};function Sw(e,t){return Jt(e,t)&&e.every((n,r)=>Qe(n.parameters,t[r].parameters))}function Jt(e,t){return e.length!==t.length?!1:e.every((n,r)=>n.path===t[r].path)}function xw(e,t){let n=[];return Object.entries(e.children).forEach(([r,i])=>{r===S&&(n=n.concat(t(i,r)))}),Object.entries(e.children).forEach(([r,i])=>{r!==S&&(n=n.concat(t(i,r)))}),n}var jc=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=w({token:e,factory:()=>new jr,providedIn:"root"})}}return e})(),jr=class{parse(t){let n=new gc(t);return new ct(n.parseRootSegment(),n.parseQueryParams(),n.parseFragment())}serialize(t){let n=`/${Or(t.root,!0)}`,r=Rw(t.queryParams),i=typeof t.fragment=="string"?`#${Aw(t.fragment)}`:"";return`${n}${r}${i}`}},Tw=new jr;function as(e){return e.segments.map(t=>Ep(t)).join("/")}function Or(e,t){if(!e.hasChildren())return as(e);if(t){let n=e.children[S]?Or(e.children[S],!1):"",r=[];return Object.entries(e.children).forEach(([i,o])=>{i!==S&&r.push(`${i}:${Or(o,!1)}`)}),r.length>0?`${n}(${r.join("//")})`:n}else{let n=xw(e,(r,i)=>i===S?[Or(e.children[S],!1)]:[`${i}:${Or(r,!1)}`]);return Object.keys(e.children).length===1&&e.children[S]!=null?`${as(e)}/${n[0]}`:`${as(e)}/(${n.join("//")})`}}function wp(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function is(e){return wp(e).replace(/%3B/gi,";")}function Aw(e){return encodeURI(e)}function pc(e){return wp(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function us(e){return decodeURIComponent(e)}function cp(e){return us(e.replace(/\+/g,"%20"))}function Ep(e){return`${pc(e.path)}${Nw(e.parameters)}`}function Nw(e){return Object.entries(e).map(([t,n])=>`;${pc(t)}=${pc(n)}`).join("")}function Rw(e){let t=Object.entries(e).map(([n,r])=>Array.isArray(r)?r.map(i=>`${is(n)}=${is(i)}`).join("&"):`${is(n)}=${is(r)}`).filter(n=>n);return t.length?`?${t.join("&")}`:""}var Ow=/^[^\/()?;#]+/;function uc(e){let t=e.match(Ow);return t?t[0]:""}var Fw=/^[^\/()?;=#]+/;function Pw(e){let t=e.match(Fw);return t?t[0]:""}var kw=/^[^=?&#]+/;function Lw(e){let t=e.match(kw);return t?t[0]:""}var Vw=/^[^&#]+/;function jw(e){let t=e.match(Vw);return t?t[0]:""}var gc=class{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new V([],{}):new V([],this.parseChildren())}parseQueryParams(){let 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("/");let 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[S]=new V(t,n)),r}parseSegment(){let t=uc(this.remaining);if(t===""&&this.peekStartsWith(";"))throw new D(4009,!1);return this.capture(t),new Kt(us(t),this.parseMatrixParams())}parseMatrixParams(){let t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){let n=Pw(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){let i=uc(this.remaining);i&&(r=i,this.capture(r))}t[us(n)]=us(r)}parseQueryParam(t){let n=Lw(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){let s=jw(this.remaining);s&&(r=s,this.capture(r))}let i=cp(n),o=cp(r);if(t.hasOwnProperty(i)){let s=t[i];Array.isArray(s)||(s=[s],t[i]=s),s.push(o)}else t[i]=o}parseParens(t){let n={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let r=uc(this.remaining),i=this.remaining[r.length];if(i!=="/"&&i!==")"&&i!==";")throw new D(4010,!1);let o;r.indexOf(":")>-1?(o=r.slice(0,r.indexOf(":")),this.capture(o),this.capture(":")):t&&(o=S);let s=this.parseChildren();n[o]=Object.keys(s).length===1?s[S]:new V([],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):!1}capture(t){if(!this.consumeOptional(t))throw new D(4011,!1)}};function Ip(e){return e.segments.length>0?new V([],{[S]:e}):e}function bp(e){let t={};for(let[r,i]of Object.entries(e.children)){let o=bp(i);if(r===S&&o.segments.length===0&&o.hasChildren())for(let[s,a]of Object.entries(o.children))t[s]=a;else(o.segments.length>0||o.hasChildren())&&(t[r]=o)}let n=new V(e.segments,t);return Bw(n)}function Bw(e){if(e.numberOfChildren===1&&e.children[S]){let t=e.children[S];return new V(e.segments.concat(t.segments),t.children)}return e}function Br(e){return e instanceof ct}function Uw(e,t,n=null,r=null){let i=_p(e);return Mp(i,t,n,r)}function _p(e){let t;function n(o){let s={};for(let u of o.children){let c=n(u);s[u.outlet]=c}let a=new V(o.url,s);return o===e&&(t=a),a}let r=n(e.root),i=Ip(r);return t??i}function Mp(e,t,n,r){let i=e;for(;i.parent;)i=i.parent;if(t.length===0)return cc(i,i,i,n,r);let o=$w(t);if(o.toRoot())return cc(i,i,new V([],{}),n,r);let s=Hw(o,i,e),a=s.processChildren?kr(s.segmentGroup,s.index,o.commands):xp(s.segmentGroup,s.index,o.commands);return cc(i,s.segmentGroup,a,n,r)}function cs(e){return typeof e=="object"&&e!=null&&!e.outlets&&!e.segmentPath}function Ur(e){return typeof e=="object"&&e!=null&&e.outlets}function cc(e,t,n,r,i){let o={};r&&Object.entries(r).forEach(([u,c])=>{o[u]=Array.isArray(c)?c.map(l=>`${l}`):`${c}`});let s;e===t?s=n:s=Sp(e,t,n);let a=Ip(bp(s));return new ct(a,o,i)}function Sp(e,t,n){let r={};return Object.entries(e.children).forEach(([i,o])=>{o===t?r[i]=n:r[i]=Sp(o,t,n)}),new V(e.segments,r)}var ls=class{constructor(t,n,r){if(this.isAbsolute=t,this.numberOfDoubleDots=n,this.commands=r,t&&r.length>0&&cs(r[0]))throw new D(4003,!1);let i=r.find(Ur);if(i&&i!==mp(r))throw new D(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function $w(e){if(typeof e[0]=="string"&&e.length===1&&e[0]==="/")return new ls(!0,0,e);let t=0,n=!1,r=e.reduce((i,o,s)=>{if(typeof o=="object"&&o!=null){if(o.outlets){let a={};return Object.entries(o.outlets).forEach(([u,c])=>{a[u]=typeof c=="string"?c.split("/"):c}),[...i,{outlets:a}]}if(o.segmentPath)return[...i,o.segmentPath]}return typeof o!="string"?[...i,o]:s===0?(o.split("/").forEach((a,u)=>{u==0&&a==="."||(u==0&&a===""?n=!0:a===".."?t++:a!=""&&i.push(a))}),i):[...i,o]},[]);return new ls(n,t,r)}var Zn=class{constructor(t,n,r){this.segmentGroup=t,this.processChildren=n,this.index=r}};function Hw(e,t,n){if(e.isAbsolute)return new Zn(t,!0,0);if(!n)return new Zn(t,!1,NaN);if(n.parent===null)return new Zn(n,!0,0);let r=cs(e.commands[0])?0:1,i=n.segments.length-1+r;return zw(n,i,e.numberOfDoubleDots)}function zw(e,t,n){let r=e,i=t,o=n;for(;o>i;){if(o-=i,r=r.parent,!r)throw new D(4005,!1);i=r.segments.length}return new Zn(r,!1,i-o)}function Gw(e){return Ur(e[0])?e[0].outlets:{[S]:e}}function xp(e,t,n){if(e??=new V([],{}),e.segments.length===0&&e.hasChildren())return kr(e,t,n);let r=Ww(e,t,n),i=n.slice(r.commandIndex);if(r.match&&r.pathIndexo!==S)&&e.children[S]&&e.numberOfChildren===1&&e.children[S].segments.length===0){let o=kr(e.children[S],t,n);return new V(e.segments,o.children)}return Object.entries(r).forEach(([o,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(i[o]=xp(e.children[o],t,s))}),Object.entries(e.children).forEach(([o,s])=>{r[o]===void 0&&(i[o]=s)}),new V(e.segments,i)}}function Ww(e,t,n){let r=0,i=t,o={match:!1,pathIndex:0,commandIndex:0};for(;i=n.length)return o;let s=e.segments[i],a=n[r];if(Ur(a))break;let u=`${a}`,c=r0&&u===void 0)break;if(u&&c&&typeof c=="object"&&c.outlets===void 0){if(!dp(u,c,s))return o;r+=2}else{if(!dp(u,{},s))return o;r++}i++}return{match:!0,pathIndex:i,commandIndex:r}}function mc(e,t,n){let r=e.segments.slice(0,t),i=0;for(;i{typeof r=="string"&&(r=[r]),r!==null&&(t[n]=mc(new V([],{}),0,r))}),t}function lp(e){let t={};return Object.entries(e).forEach(([n,r])=>t[n]=`${r}`),t}function dp(e,t,n){return e==n.path&&Qe(t,n.parameters)}var Lr="imperative",re=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}(re||{}),Se=class{constructor(t,n){this.id=t,this.url=n}},$r=class extends Se{constructor(t,n,r="imperative",i=null){super(t,n),this.type=re.NavigationStart,this.navigationTrigger=r,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},Xt=class extends Se{constructor(t,n,r){super(t,n),this.urlAfterRedirects=r,this.type=re.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},ve=function(e){return e[e.Redirect=0]="Redirect",e[e.SupersededByNewNavigation=1]="SupersededByNewNavigation",e[e.NoDataFromResolver=2]="NoDataFromResolver",e[e.GuardRejected=3]="GuardRejected",e}(ve||{}),vc=function(e){return e[e.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",e[e.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",e}(vc||{}),ut=class extends Se{constructor(t,n,r,i){super(t,n),this.reason=r,this.code=i,this.type=re.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},en=class extends Se{constructor(t,n,r,i){super(t,n),this.reason=r,this.code=i,this.type=re.NavigationSkipped}},Hr=class extends Se{constructor(t,n,r,i){super(t,n),this.error=r,this.target=i,this.type=re.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},ds=class extends Se{constructor(t,n,r,i){super(t,n),this.urlAfterRedirects=r,this.state=i,this.type=re.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},yc=class extends Se{constructor(t,n,r,i){super(t,n),this.urlAfterRedirects=r,this.state=i,this.type=re.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Dc=class extends Se{constructor(t,n,r,i,o){super(t,n),this.urlAfterRedirects=r,this.state=i,this.shouldActivate=o,this.type=re.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},Cc=class extends Se{constructor(t,n,r,i){super(t,n),this.urlAfterRedirects=r,this.state=i,this.type=re.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},wc=class extends Se{constructor(t,n,r,i){super(t,n),this.urlAfterRedirects=r,this.state=i,this.type=re.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Ec=class{constructor(t){this.route=t,this.type=re.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Ic=class{constructor(t){this.route=t,this.type=re.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},bc=class{constructor(t){this.snapshot=t,this.type=re.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},_c=class{constructor(t){this.snapshot=t,this.type=re.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Mc=class{constructor(t){this.snapshot=t,this.type=re.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Sc=class{constructor(t){this.snapshot=t,this.type=re.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}};var zr=class{},Jn=class{constructor(t,n){this.url=t,this.navigationBehaviorOptions=n}};function Zw(e,t){return e.providers&&!e._injector&&(e._injector=Hu(e.providers,t,`Route: ${e.path}`)),e._injector??t}function Pe(e){return e.outlet||S}function Yw(e,t){let n=e.filter(r=>Pe(r)===t);return n.push(...e.filter(r=>Pe(r)!==t)),n}function Qr(e){if(!e)return null;if(e.routeConfig?._injector)return e.routeConfig._injector;for(let t=e.parent;t;t=t.parent){let n=t.routeConfig;if(n?._loadedInjector)return n._loadedInjector;if(n?._injector)return n._injector}return null}var xc=class{get injector(){return Qr(this.route?.snapshot)??this.rootInjector}set injector(t){}constructor(t){this.rootInjector=t,this.outlet=null,this.route=null,this.children=new ys(this.rootInjector),this.attachRef=null}},ys=(()=>{class e{constructor(n){this.rootInjector=n,this.contexts=new Map}onChildOutletCreated(n,r){let i=this.getOrCreateContext(n);i.outlet=r,this.contexts.set(n,i)}onChildOutletDestroyed(n){let r=this.getContext(n);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){let 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 xc(this.rootInjector),this.contexts.set(n,r)),r}getContext(n){return this.contexts.get(n)||null}static{this.\u0275fac=function(r){return new(r||e)(O(we))}}static{this.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),fs=class{constructor(t){this._root=t}get root(){return this._root.value}parent(t){let n=this.pathFromRoot(t);return n.length>1?n[n.length-2]:null}children(t){let n=Tc(t,this._root);return n?n.children.map(r=>r.value):[]}firstChild(t){let n=Tc(t,this._root);return n&&n.children.length>0?n.children[0].value:null}siblings(t){let n=Ac(t,this._root);return n.length<2?[]:n[n.length-2].children.map(i=>i.value).filter(i=>i!==t)}pathFromRoot(t){return Ac(t,this._root).map(n=>n.value)}};function Tc(e,t){if(e===t.value)return t;for(let n of t.children){let r=Tc(e,n);if(r)return r}return null}function Ac(e,t){if(e===t.value)return[t];for(let n of t.children){let r=Ac(e,n);if(r.length)return r.unshift(t),r}return[]}var me=class{constructor(t,n){this.value=t,this.children=n}toString(){return`TreeNode(${this.value})`}};function qn(e){let t={};return e&&e.children.forEach(n=>t[n.value.outlet]=n),t}var hs=class extends fs{constructor(t,n){super(t),this.snapshot=n,Bc(this,t)}toString(){return this.snapshot.toString()}};function Tp(e){let t=Qw(e),n=new te([new Kt("",{})]),r=new te({}),i=new te({}),o=new te({}),s=new te(""),a=new Xn(n,r,o,s,i,S,e,t.root);return a.snapshot=t.root,new hs(new me(a,[]),t)}function Qw(e){let t={},n={},r={},i="",o=new Yn([],t,r,i,n,S,e,null,{});return new gs("",new me(o,[]))}var Xn=class{constructor(t,n,r,i,o,s,a,u){this.urlSubject=t,this.paramsSubject=n,this.queryParamsSubject=r,this.fragmentSubject=i,this.dataSubject=o,this.outlet=s,this.component=a,this._futureSnapshot=u,this.title=this.dataSubject?.pipe(_(c=>c[Yr]))??E(void 0),this.url=t,this.params=n,this.queryParams=r,this.fragment=i,this.data=o}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(_(t=>Kn(t))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(_(t=>Kn(t))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function ps(e,t,n="emptyOnly"){let r,{routeConfig:i}=e;return t!==null&&(n==="always"||i?.path===""||!t.component&&!t.routeConfig?.loadComponent)?r={params:p(p({},t.params),e.params),data:p(p({},t.data),e.data),resolve:p(p(p(p({},e.data),t.data),i?.data),e._resolvedData)}:r={params:p({},e.params),data:p({},e.data),resolve:p(p({},e.data),e._resolvedData??{})},i&&Np(i)&&(r.resolve[Yr]=i.title),r}var Yn=class{get title(){return this.data?.[Yr]}constructor(t,n,r,i,o,s,a,u,c){this.url=t,this.params=n,this.queryParams=r,this.fragment=i,this.data=o,this.outlet=s,this.component=a,this.routeConfig=u,this._resolve=c}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=Kn(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Kn(this.queryParams),this._queryParamMap}toString(){let t=this.url.map(r=>r.toString()).join("/"),n=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${t}', path:'${n}')`}},gs=class extends fs{constructor(t,n){super(n),this.url=t,Bc(this,n)}toString(){return Ap(this._root)}};function Bc(e,t){t.value._routerState=e,t.children.forEach(n=>Bc(e,n))}function Ap(e){let t=e.children.length>0?` { ${e.children.map(Ap).join(", ")} } `:"";return`${e.value}${t}`}function lc(e){if(e.snapshot){let t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,Qe(t.queryParams,n.queryParams)||e.queryParamsSubject.next(n.queryParams),t.fragment!==n.fragment&&e.fragmentSubject.next(n.fragment),Qe(t.params,n.params)||e.paramsSubject.next(n.params),Iw(t.url,n.url)||e.urlSubject.next(n.url),Qe(t.data,n.data)||e.dataSubject.next(n.data)}else e.snapshot=e._futureSnapshot,e.dataSubject.next(e._futureSnapshot.data)}function Nc(e,t){let n=Qe(e.params,t.params)&&Sw(e.url,t.url),r=!e.parent!=!t.parent;return n&&!r&&(!e.parent||Nc(e.parent,t.parent))}function Np(e){return typeof e.title=="string"||e.title===null}var Uc=(()=>{class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=S,this.activateEvents=new X,this.deactivateEvents=new X,this.attachEvents=new X,this.detachEvents=new X,this.parentContexts=m(ys),this.location=m($o),this.changeDetector=m(Yt),this.inputBinder=m($c,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(n){if(n.name){let{firstChange:r,previousValue:i}=n.name;if(r)return;this.isTrackedInParentContexts(i)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(i)),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;let 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 D(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new D(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new D(4012,!1);this.location.detach();let 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){let n=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}}activateWith(n,r){if(this.isActivated)throw new D(4013,!1);this._activatedRoute=n;let i=this.location,s=n.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,u=new Rc(n,a,i.injector);this.activated=i.createComponent(s,{index:i.length,injector:u,environmentInjector:r}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275dir=We({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[Vn]})}}return e})(),Rc=class e{__ngOutletInjector(t){return new e(this.route,this.childContexts,t)}constructor(t,n,r){this.route=t,this.childContexts=n,this.parent=r}get(t,n){return t===Xn?this.route:t===ys?this.childContexts:this.parent.get(t,n)}},$c=new C("");function Kw(e,t,n){let r=Gr(e,t._root,n?n._root:void 0);return new hs(r,t)}function Gr(e,t,n){if(n&&e.shouldReuseRoute(t.value,n.value.snapshot)){let r=n.value;r._futureSnapshot=t.value;let i=Jw(e,t,n);return new me(r,i)}else{if(e.shouldAttach(t.value)){let o=e.retrieve(t.value);if(o!==null){let s=o.route;return s.value._futureSnapshot=t.value,s.children=t.children.map(a=>Gr(e,a)),s}}let r=Xw(t.value),i=t.children.map(o=>Gr(e,o));return new me(r,i)}}function Jw(e,t,n){return t.children.map(r=>{for(let i of n.children)if(e.shouldReuseRoute(r.value,i.value.snapshot))return Gr(e,r,i);return Gr(e,r)})}function Xw(e){return new Xn(new te(e.url),new te(e.params),new te(e.queryParams),new te(e.fragment),new te(e.data),e.outlet,e.component,e)}var Wr=class{constructor(t,n){this.redirectTo=t,this.navigationBehaviorOptions=n}},Rp="ngNavigationCancelingError";function ms(e,t){let{redirectTo:n,navigationBehaviorOptions:r}=Br(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,i=Op(!1,ve.Redirect);return i.url=n,i.navigationBehaviorOptions=r,i}function Op(e,t){let n=new Error(`NavigationCancelingError: ${e||""}`);return n[Rp]=!0,n.cancellationCode=t,n}function eE(e){return Fp(e)&&Br(e.url)}function Fp(e){return!!e&&e[Rp]}var tE=(e,t,n,r)=>_(i=>(new Oc(t,i.targetRouterState,i.currentRouterState,n,r).activate(e),i)),Oc=class{constructor(t,n,r,i,o){this.routeReuseStrategy=t,this.futureState=n,this.currState=r,this.forwardEvent=i,this.inputBindingEnabled=o}activate(t){let n=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(n,r,t),lc(this.futureState.root),this.activateChildRoutes(n,r,t)}deactivateChildRoutes(t,n,r){let i=qn(n);t.children.forEach(o=>{let s=o.value.outlet;this.deactivateRoutes(o,i[s],r),delete i[s]}),Object.values(i).forEach(o=>{this.deactivateRouteAndItsChildren(o,r)})}deactivateRoutes(t,n,r){let i=t.value,o=n?n.value:null;if(i===o)if(i.component){let s=r.getContext(i.outlet);s&&this.deactivateChildRoutes(t,n,s.children)}else this.deactivateChildRoutes(t,n,r);else o&&this.deactivateRouteAndItsChildren(n,r)}deactivateRouteAndItsChildren(t,n){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,n):this.deactivateRouteAndOutlet(t,n)}detachAndStoreRouteSubtree(t,n){let r=n.getContext(t.value.outlet),i=r&&t.value.component?r.children:n,o=qn(t);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);if(r&&r.outlet){let s=r.outlet.detach(),a=r.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:s,route:t,contexts:a})}}deactivateRouteAndOutlet(t,n){let r=n.getContext(t.value.outlet),i=r&&t.value.component?r.children:n,o=qn(t);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);r&&(r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated()),r.attachRef=null,r.route=null)}activateChildRoutes(t,n,r){let i=qn(n);t.children.forEach(o=>{this.activateRoutes(o,i[o.value.outlet],r),this.forwardEvent(new Sc(o.value.snapshot))}),t.children.length&&this.forwardEvent(new _c(t.value.snapshot))}activateRoutes(t,n,r){let i=t.value,o=n?n.value:null;if(lc(i),i===o)if(i.component){let s=r.getOrCreateContext(i.outlet);this.activateChildRoutes(t,n,s.children)}else this.activateChildRoutes(t,n,r);else if(i.component){let s=r.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){let a=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),lc(a.route.value),this.activateChildRoutes(t,null,s.children)}else s.attachRef=null,s.route=i,s.outlet&&s.outlet.activateWith(i,s.injector),this.activateChildRoutes(t,null,s.children)}else this.activateChildRoutes(t,null,r)}},vs=class{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}},Qn=class{constructor(t,n){this.component=t,this.route=n}};function nE(e,t,n){let r=e._root,i=t?t._root:null;return Fr(r,i,n,[r.value])}function rE(e){let t=e.routeConfig?e.routeConfig.canActivateChild:null;return!t||t.length===0?null:{node:e,guards:t}}function tr(e,t){let n=Symbol(),r=t.get(e,n);return r===n?typeof e=="function"&&!Pd(e)?e:t.get(e):r}function Fr(e,t,n,r,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=qn(t);return e.children.forEach(s=>{iE(s,o[s.value.outlet],n,r.concat([s.value]),i),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,a])=>Vr(a,n.getContext(s),i)),i}function iE(e,t,n,r,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=e.value,s=t?t.value:null,a=n?n.getContext(e.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){let u=oE(s,o,o.routeConfig.runGuardsAndResolvers);u?i.canActivateChecks.push(new vs(r)):(o.data=s.data,o._resolvedData=s._resolvedData),o.component?Fr(e,t,a?a.children:null,r,i):Fr(e,t,n,r,i),u&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new Qn(a.outlet.component,s))}else s&&Vr(t,a,i),i.canActivateChecks.push(new vs(r)),o.component?Fr(e,null,a?a.children:null,r,i):Fr(e,null,n,r,i);return i}function oE(e,t,n){if(typeof n=="function")return n(e,t);switch(n){case"pathParamsChange":return!Jt(e.url,t.url);case"pathParamsOrQueryParamsChange":return!Jt(e.url,t.url)||!Qe(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Nc(e,t)||!Qe(e.queryParams,t.queryParams);case"paramsChange":default:return!Nc(e,t)}}function Vr(e,t,n){let r=qn(e),i=e.value;Object.entries(r).forEach(([o,s])=>{i.component?t?Vr(s,t.children.getContext(o),n):Vr(s,null,n):Vr(s,t,n)}),i.component?t&&t.outlet&&t.outlet.isActivated?n.canDeactivateChecks.push(new Qn(t.outlet.component,i)):n.canDeactivateChecks.push(new Qn(null,i)):n.canDeactivateChecks.push(new Qn(null,i))}function Kr(e){return typeof e=="function"}function sE(e){return typeof e=="boolean"}function aE(e){return e&&Kr(e.canLoad)}function uE(e){return e&&Kr(e.canActivate)}function cE(e){return e&&Kr(e.canActivateChild)}function lE(e){return e&&Kr(e.canDeactivate)}function dE(e){return e&&Kr(e.canMatch)}function Pp(e){return e instanceof et||e?.name==="EmptyError"}var os=Symbol("INITIAL_VALUE");function er(){return se(e=>zi(e.map(t=>t.pipe(K(1),da(os)))).pipe(_(t=>{for(let n of t)if(n!==!0){if(n===os)return os;if(n===!1||fE(n))return n}return!0}),oe(t=>t!==os),K(1)))}function fE(e){return Br(e)||e instanceof Wr}function hE(e,t){return z(n=>{let{targetSnapshot:r,currentSnapshot:i,guards:{canActivateChecks:o,canDeactivateChecks:s}}=n;return s.length===0&&o.length===0?E(k(p({},n),{guardsResult:!0})):pE(s,r,i,e).pipe(z(a=>a&&sE(a)?gE(r,o,e,t):E(a)),_(a=>k(p({},n),{guardsResult:a})))})}function pE(e,t,n,r){return $(e).pipe(z(i=>CE(i.component,i.route,n,t,r)),Ve(i=>i!==!0,!0))}function gE(e,t,n,r){return $(t).pipe(gn(i=>Le(vE(i.route.parent,r),mE(i.route,r),DE(e,i.path,n),yE(e,i.route,n))),Ve(i=>i!==!0,!0))}function mE(e,t){return e!==null&&t&&t(new Mc(e)),E(!0)}function vE(e,t){return e!==null&&t&&t(new bc(e)),E(!0)}function yE(e,t,n){let r=t.routeConfig?t.routeConfig.canActivate:null;if(!r||r.length===0)return E(!0);let i=r.map(o=>Ft(()=>{let s=Qr(t)??n,a=tr(o,s),u=uE(a)?a.canActivate(t,e):rt(s,()=>a(t,e));return bt(u).pipe(Ve())}));return E(i).pipe(er())}function DE(e,t,n){let r=t[t.length-1],o=t.slice(0,t.length-1).reverse().map(s=>rE(s)).filter(s=>s!==null).map(s=>Ft(()=>{let a=s.guards.map(u=>{let c=Qr(s.node)??n,l=tr(u,c),d=cE(l)?l.canActivateChild(r,e):rt(c,()=>l(r,e));return bt(d).pipe(Ve())});return E(a).pipe(er())}));return E(o).pipe(er())}function CE(e,t,n,r,i){let o=t&&t.routeConfig?t.routeConfig.canDeactivate:null;if(!o||o.length===0)return E(!0);let s=o.map(a=>{let u=Qr(t)??i,c=tr(a,u),l=lE(c)?c.canDeactivate(e,t,n,r):rt(u,()=>c(e,t,n,r));return bt(l).pipe(Ve())});return E(s).pipe(er())}function wE(e,t,n,r){let i=t.canLoad;if(i===void 0||i.length===0)return E(!0);let o=i.map(s=>{let a=tr(s,e),u=aE(a)?a.canLoad(t,n):rt(e,()=>a(t,n));return bt(u)});return E(o).pipe(er(),kp(r))}function kp(e){return Ks(J(t=>{if(typeof t!="boolean")throw ms(e,t)}),_(t=>t===!0))}function EE(e,t,n,r){let i=t.canMatch;if(!i||i.length===0)return E(!0);let o=i.map(s=>{let a=tr(s,e),u=dE(a)?a.canMatch(t,n):rt(e,()=>a(t,n));return bt(u)});return E(o).pipe(er(),kp(r))}var qr=class{constructor(t){this.segmentGroup=t||null}},Zr=class extends Error{constructor(t){super(),this.urlTree=t}};function Wn(e){return dt(new qr(e))}function IE(e){return dt(new D(4e3,!1))}function bE(e){return dt(Op(!1,ve.GuardRejected))}var Fc=class{constructor(t,n){this.urlSerializer=t,this.urlTree=n}lineralizeSegments(t,n){let r=[],i=n.root;for(;;){if(r=r.concat(i.segments),i.numberOfChildren===0)return E(r);if(i.numberOfChildren>1||!i.children[S])return IE(`${t.redirectTo}`);i=i.children[S]}}applyRedirectCommands(t,n,r,i,o){if(typeof n!="string"){let a=n,{queryParams:u,fragment:c,routeConfig:l,url:d,outlet:h,params:f,data:g,title:M}=i,y=rt(o,()=>a({params:f,data:g,queryParams:u,fragment:c,routeConfig:l,url:d,outlet:h,title:M}));if(y instanceof ct)throw new Zr(y);n=y}let s=this.applyRedirectCreateUrlTree(n,this.urlSerializer.parse(n),t,r);if(n[0]==="/")throw new Zr(s);return s}applyRedirectCreateUrlTree(t,n,r,i){let o=this.createSegmentGroup(t,n.root,r,i);return new ct(o,this.createQueryParams(n.queryParams,this.urlTree.queryParams),n.fragment)}createQueryParams(t,n){let r={};return Object.entries(t).forEach(([i,o])=>{if(typeof o=="string"&&o[0]===":"){let a=o.substring(1);r[i]=n[a]}else r[i]=o}),r}createSegmentGroup(t,n,r,i){let o=this.createSegments(t,n.segments,r,i),s={};return Object.entries(n.children).forEach(([a,u])=>{s[a]=this.createSegmentGroup(t,u,r,i)}),new V(o,s)}createSegments(t,n,r,i){return n.map(o=>o.path[0]===":"?this.findPosParam(t,o,i):this.findOrReturn(o,r))}findPosParam(t,n,r){let i=r[n.path.substring(1)];if(!i)throw new D(4001,!1);return i}findOrReturn(t,n){let r=0;for(let i of n){if(i.path===t.path)return n.splice(r),i;r++}return t}},Pc={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function _E(e,t,n,r,i){let o=Lp(e,t,n);return o.matched?(r=Zw(t,r),EE(r,t,n,i).pipe(_(s=>s===!0?o:p({},Pc)))):E(o)}function Lp(e,t,n){if(t.path==="**")return ME(n);if(t.path==="")return t.pathMatch==="full"&&(e.hasChildren()||n.length>0)?p({},Pc):{matched:!0,consumedSegments:[],remainingSegments:n,parameters:{},positionalParamSegments:{}};let i=(t.matcher||Ew)(n,e,t);if(!i)return p({},Pc);let o={};Object.entries(i.posParams??{}).forEach(([a,u])=>{o[a]=u.path});let s=i.consumed.length>0?p(p({},o),i.consumed[i.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:i.consumed,remainingSegments:n.slice(i.consumed.length),parameters:s,positionalParamSegments:i.posParams??{}}}function ME(e){return{matched:!0,parameters:e.length>0?mp(e).parameters:{},consumedSegments:e,remainingSegments:[],positionalParamSegments:{}}}function fp(e,t,n,r){return n.length>0&&TE(e,n,r)?{segmentGroup:new V(t,xE(r,new V(n,e.children))),slicedSegments:[]}:n.length===0&&AE(e,n,r)?{segmentGroup:new V(e.segments,SE(e,n,r,e.children)),slicedSegments:n}:{segmentGroup:new V(e.segments,e.children),slicedSegments:n}}function SE(e,t,n,r){let i={};for(let o of n)if(Ds(e,t,o)&&!r[Pe(o)]){let s=new V([],{});i[Pe(o)]=s}return p(p({},r),i)}function xE(e,t){let n={};n[S]=t;for(let r of e)if(r.path===""&&Pe(r)!==S){let i=new V([],{});n[Pe(r)]=i}return n}function TE(e,t,n){return n.some(r=>Ds(e,t,r)&&Pe(r)!==S)}function AE(e,t,n){return n.some(r=>Ds(e,t,r))}function Ds(e,t,n){return(e.hasChildren()||t.length>0)&&n.pathMatch==="full"?!1:n.path===""}function NE(e,t,n){return t.length===0&&!e.children[n]}var kc=class{};function RE(e,t,n,r,i,o,s="emptyOnly"){return new Lc(e,t,n,r,i,s,o).recognize()}var OE=31,Lc=class{constructor(t,n,r,i,o,s,a){this.injector=t,this.configLoader=n,this.rootComponentType=r,this.config=i,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new Fc(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(t){return new D(4002,`'${t.segmentGroup}'`)}recognize(){let t=fp(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(t).pipe(_(({children:n,rootSnapshot:r})=>{let i=new me(r,n),o=new gs("",i),s=Uw(r,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),{state:o,tree:s}}))}match(t){let n=new Yn([],Object.freeze({}),Object.freeze(p({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),S,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,t,S,n).pipe(_(r=>({children:r,rootSnapshot:n})),ft(r=>{if(r instanceof Zr)return this.urlTree=r.urlTree,this.match(r.urlTree.root);throw r instanceof qr?this.noMatchError(r):r}))}processSegmentGroup(t,n,r,i,o){return r.segments.length===0&&r.hasChildren()?this.processChildren(t,n,r,o):this.processSegment(t,n,r,r.segments,i,!0,o).pipe(_(s=>s instanceof me?[s]:[]))}processChildren(t,n,r,i){let o=[];for(let s of Object.keys(r.children))s==="primary"?o.unshift(s):o.push(s);return $(o).pipe(gn(s=>{let a=r.children[s],u=Yw(n,s);return this.processSegmentGroup(t,u,a,s,i)}),la((s,a)=>(s.push(...a),s)),ht(null),ua(),z(s=>{if(s===null)return Wn(r);let a=Vp(s);return FE(a),E(a)}))}processSegment(t,n,r,i,o,s,a){return $(n).pipe(gn(u=>this.processSegmentAgainstRoute(u._injector??t,n,u,r,i,o,s,a).pipe(ft(c=>{if(c instanceof qr)return E(null);throw c}))),Ve(u=>!!u),ft(u=>{if(Pp(u))return NE(r,i,o)?E(new kc):Wn(r);throw u}))}processSegmentAgainstRoute(t,n,r,i,o,s,a,u){return Pe(r)!==s&&(s===S||!Ds(i,o,r))?Wn(i):r.redirectTo===void 0?this.matchSegmentAgainstRoute(t,i,r,o,s,u):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(t,i,n,r,o,s,u):Wn(i)}expandSegmentAgainstRouteUsingRedirect(t,n,r,i,o,s,a){let{matched:u,parameters:c,consumedSegments:l,positionalParamSegments:d,remainingSegments:h}=Lp(n,i,o);if(!u)return Wn(n);typeof i.redirectTo=="string"&&i.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>OE&&(this.allowRedirects=!1));let f=new Yn(o,c,Object.freeze(p({},this.urlTree.queryParams)),this.urlTree.fragment,hp(i),Pe(i),i.component??i._loadedComponent??null,i,pp(i)),g=ps(f,a,this.paramsInheritanceStrategy);f.params=Object.freeze(g.params),f.data=Object.freeze(g.data);let M=this.applyRedirects.applyRedirectCommands(l,i.redirectTo,d,f,t);return this.applyRedirects.lineralizeSegments(i,M).pipe(z(y=>this.processSegment(t,r,n,y.concat(h),s,!1,a)))}matchSegmentAgainstRoute(t,n,r,i,o,s){let a=_E(n,r,i,t,this.urlSerializer);return r.path==="**"&&(n.children={}),a.pipe(se(u=>u.matched?(t=r._injector??t,this.getChildConfig(t,r,i).pipe(se(({routes:c})=>{let l=r._loadedInjector??t,{parameters:d,consumedSegments:h,remainingSegments:f}=u,g=new Yn(h,d,Object.freeze(p({},this.urlTree.queryParams)),this.urlTree.fragment,hp(r),Pe(r),r.component??r._loadedComponent??null,r,pp(r)),M=ps(g,s,this.paramsInheritanceStrategy);g.params=Object.freeze(M.params),g.data=Object.freeze(M.data);let{segmentGroup:y,slicedSegments:b}=fp(n,h,f,c);if(b.length===0&&y.hasChildren())return this.processChildren(l,c,y,g).pipe(_(Y=>new me(g,Y)));if(c.length===0&&b.length===0)return E(new me(g,[]));let Z=Pe(r)===o;return this.processSegment(l,c,y,b,Z?S:o,!0,g).pipe(_(Y=>new me(g,Y instanceof me?[Y]:[])))}))):Wn(n)))}getChildConfig(t,n,r){return n.children?E({routes:n.children,injector:t}):n.loadChildren?n._loadedRoutes!==void 0?E({routes:n._loadedRoutes,injector:n._loadedInjector}):wE(t,n,r,this.urlSerializer).pipe(z(i=>i?this.configLoader.loadChildren(t,n).pipe(J(o=>{n._loadedRoutes=o.routes,n._loadedInjector=o.injector})):bE(n))):E({routes:[],injector:t})}};function FE(e){e.sort((t,n)=>t.value.outlet===S?-1:n.value.outlet===S?1:t.value.outlet.localeCompare(n.value.outlet))}function PE(e){let t=e.value.routeConfig;return t&&t.path===""}function Vp(e){let t=[],n=new Set;for(let r of e){if(!PE(r)){t.push(r);continue}let i=t.find(o=>r.value.routeConfig===o.value.routeConfig);i!==void 0?(i.children.push(...r.children),n.add(i)):t.push(r)}for(let r of n){let i=Vp(r.children);t.push(new me(r.value,i))}return t.filter(r=>!n.has(r))}function hp(e){return e.data||{}}function pp(e){return e.resolve||{}}function kE(e,t,n,r,i,o){return z(s=>RE(e,t,n,r,s.extractedUrl,i,o).pipe(_(({state:a,tree:u})=>k(p({},s),{targetSnapshot:a,urlAfterRedirects:u}))))}function LE(e,t){return z(n=>{let{targetSnapshot:r,guards:{canActivateChecks:i}}=n;if(!i.length)return E(n);let o=new Set(i.map(u=>u.route)),s=new Set;for(let u of o)if(!s.has(u))for(let c of jp(u))s.add(c);let a=0;return $(s).pipe(gn(u=>o.has(u)?VE(u,r,e,t):(u.data=ps(u,u.parent,e).resolve,E(void 0))),J(()=>a++),mn(1),z(u=>a===s.size?E(n):ae))})}function jp(e){let t=e.children.map(n=>jp(n)).flat();return[e,...t]}function VE(e,t,n,r){let i=e.routeConfig,o=e._resolve;return i?.title!==void 0&&!Np(i)&&(o[Yr]=i.title),jE(o,e,t,r).pipe(_(s=>(e._resolvedData=s,e.data=ps(e,e.parent,n).resolve,null)))}function jE(e,t,n,r){let i=hc(e);if(i.length===0)return E({});let o={};return $(i).pipe(z(s=>BE(e[s],t,n,r).pipe(Ve(),J(a=>{if(a instanceof Wr)throw ms(new jr,a);o[s]=a}))),mn(1),dr(o),ft(s=>Pp(s)?ae:dt(s)))}function BE(e,t,n,r){let i=Qr(t)??r,o=tr(e,i),s=o.resolve?o.resolve(t,n):rt(i,()=>o(t,n));return bt(s)}function dc(e){return se(t=>{let n=e(t);return n?$(n).pipe(_(()=>t)):E(t)})}var Bp=(()=>{class e{buildTitle(n){let r,i=n.root;for(;i!==void 0;)r=this.getResolvedTitleForRoute(i)??r,i=i.children.find(o=>o.outlet===S);return r}getResolvedTitleForRoute(n){return n.data[Yr]}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=w({token:e,factory:()=>m(UE),providedIn:"root"})}}return e})(),UE=(()=>{class e extends Bp{constructor(n){super(),this.title=n}updateTitle(n){let r=this.buildTitle(n);r!==void 0&&this.title.setTitle(r)}static{this.\u0275fac=function(r){return new(r||e)(O(ap))}}static{this.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),Hc=new C("",{providedIn:"root",factory:()=>({})}),$E=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275cmp=Ao({type:e,selectors:[["ng-component"]],standalone:!0,features:[Zo],decls:1,vars:0,template:function(r,i){r&1&&Hn(0,"router-outlet")},dependencies:[Uc],encapsulation:2})}}return e})();function zc(e){let t=e.children&&e.children.map(zc),n=t?k(p({},e),{children:t}):p({},e);return!n.component&&!n.loadComponent&&(t||n.loadChildren)&&n.outlet&&n.outlet!==S&&(n.component=$E),n}var Gc=new C(""),HE=(()=>{class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=m(Zu)}loadComponent(n){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return E(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);let r=bt(n.loadComponent()).pipe(_(Up),J(o=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=o}),fr(()=>{this.componentLoaders.delete(n)})),i=new lt(r,()=>new H).pipe(ln());return this.componentLoaders.set(n,i),i}loadChildren(n,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return E({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);let o=zE(r,this.compiler,n,this.onLoadEndListener).pipe(fr(()=>{this.childrenLoaders.delete(r)})),s=new lt(o,()=>new H).pipe(ln());return this.childrenLoaders.set(r,s),s}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function zE(e,t,n,r){return bt(e.loadChildren()).pipe(_(Up),z(i=>i instanceof wr||Array.isArray(i)?E(i):$(t.compileModuleAsync(i))),_(i=>{r&&r(e);let o,s,a=!1;return Array.isArray(i)?(s=i,a=!0):(o=i.create(n).injector,s=o.get(Gc,[],{optional:!0,self:!0}).flat()),{routes:s.map(zc),injector:o}}))}function GE(e){return e&&typeof e=="object"&&"default"in e}function Up(e){return GE(e)?e.default:e}var Wc=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=w({token:e,factory:()=>m(WE),providedIn:"root"})}}return e})(),WE=(()=>{class e{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,r){return n}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),qE=new C("");var ZE=new C(""),YE=(()=>{class e{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new H,this.transitionAbortSubject=new H,this.configLoader=m(HE),this.environmentInjector=m(we),this.urlSerializer=m(jc),this.rootContexts=m(ys),this.location=m(Tr),this.inputBindingEnabled=m($c,{optional:!0})!==null,this.titleStrategy=m(Bp),this.options=m(Hc,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=m(Wc),this.createViewTransition=m(qE,{optional:!0}),this.navigationErrorHandler=m(ZE,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>E(void 0),this.rootComponentType=null;let n=i=>this.events.next(new Ec(i)),r=i=>this.events.next(new Ic(i));this.configLoader.onLoadEndListener=r,this.configLoader.onLoadStartListener=n}complete(){this.transitions?.complete()}handleNavigationRequest(n){let r=++this.navigationId;this.transitions?.next(k(p(p({},this.transitions.value),n),{id:r}))}setupNavigations(n,r,i){return this.transitions=new te({id:0,currentUrlTree:r,currentRawUrl:r,extractedUrl:this.urlHandlingStrategy.extract(r),urlAfterRedirects:this.urlHandlingStrategy.extract(r),rawUrl:r,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:Lr,restoredState:null,currentSnapshot:i.snapshot,targetSnapshot:null,currentRouterState:i,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(oe(o=>o.id!==0),_(o=>k(p({},o),{extractedUrl:this.urlHandlingStrategy.extract(o.rawUrl)})),se(o=>{let s=!1,a=!1;return E(o).pipe(se(u=>{if(this.navigationId>o.id)return this.cancelNavigationTransition(o,"",ve.SupersededByNewNavigation),ae;this.currentTransition=o,this.currentNavigation={id:u.id,initialUrl:u.rawUrl,extractedUrl:u.extractedUrl,targetBrowserUrl:typeof u.extras.browserUrl=="string"?this.urlSerializer.parse(u.extras.browserUrl):u.extras.browserUrl,trigger:u.source,extras:u.extras,previousNavigation:this.lastSuccessfulNavigation?k(p({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let c=!n.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),l=u.extras.onSameUrlNavigation??n.onSameUrlNavigation;if(!c&&l!=="reload"){let d="";return this.events.next(new en(u.id,this.urlSerializer.serialize(u.rawUrl),d,vc.IgnoredSameUrlNavigation)),u.resolve(!1),ae}if(this.urlHandlingStrategy.shouldProcessUrl(u.rawUrl))return E(u).pipe(se(d=>{let h=this.transitions?.getValue();return this.events.next(new $r(d.id,this.urlSerializer.serialize(d.extractedUrl),d.source,d.restoredState)),h!==this.transitions?.getValue()?ae:Promise.resolve(d)}),kE(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,this.paramsInheritanceStrategy),J(d=>{o.targetSnapshot=d.targetSnapshot,o.urlAfterRedirects=d.urlAfterRedirects,this.currentNavigation=k(p({},this.currentNavigation),{finalUrl:d.urlAfterRedirects});let h=new ds(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot);this.events.next(h)}));if(c&&this.urlHandlingStrategy.shouldProcessUrl(u.currentRawUrl)){let{id:d,extractedUrl:h,source:f,restoredState:g,extras:M}=u,y=new $r(d,this.urlSerializer.serialize(h),f,g);this.events.next(y);let b=Tp(this.rootComponentType).snapshot;return this.currentTransition=o=k(p({},u),{targetSnapshot:b,urlAfterRedirects:h,extras:k(p({},M),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=h,E(o)}else{let d="";return this.events.next(new en(u.id,this.urlSerializer.serialize(u.extractedUrl),d,vc.IgnoredByUrlHandlingStrategy)),u.resolve(!1),ae}}),J(u=>{let c=new yc(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(c)}),_(u=>(this.currentTransition=o=k(p({},u),{guards:nE(u.targetSnapshot,u.currentSnapshot,this.rootContexts)}),o)),hE(this.environmentInjector,u=>this.events.next(u)),J(u=>{if(o.guardsResult=u.guardsResult,u.guardsResult&&typeof u.guardsResult!="boolean")throw ms(this.urlSerializer,u.guardsResult);let c=new Dc(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot,!!u.guardsResult);this.events.next(c)}),oe(u=>u.guardsResult?!0:(this.cancelNavigationTransition(u,"",ve.GuardRejected),!1)),dc(u=>{if(u.guards.canActivateChecks.length)return E(u).pipe(J(c=>{let l=new Cc(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(l)}),se(c=>{let l=!1;return E(c).pipe(LE(this.paramsInheritanceStrategy,this.environmentInjector),J({next:()=>l=!0,complete:()=>{l||this.cancelNavigationTransition(c,"",ve.NoDataFromResolver)}}))}),J(c=>{let l=new wc(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(l)}))}),dc(u=>{let c=l=>{let d=[];l.routeConfig?.loadComponent&&!l.routeConfig._loadedComponent&&d.push(this.configLoader.loadComponent(l.routeConfig).pipe(J(h=>{l.component=h}),_(()=>{})));for(let h of l.children)d.push(...c(h));return d};return zi(c(u.targetSnapshot.root)).pipe(ht(null),K(1))}),dc(()=>this.afterPreactivation()),se(()=>{let{currentSnapshot:u,targetSnapshot:c}=o,l=this.createViewTransition?.(this.environmentInjector,u.root,c.root);return l?$(l).pipe(_(()=>o)):E(o)}),_(u=>{let c=Kw(n.routeReuseStrategy,u.targetSnapshot,u.currentRouterState);return this.currentTransition=o=k(p({},u),{targetRouterState:c}),this.currentNavigation.targetRouterState=c,o}),J(()=>{this.events.next(new zr)}),tE(this.rootContexts,n.routeReuseStrategy,u=>this.events.next(u),this.inputBindingEnabled),K(1),J({next:u=>{s=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Xt(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects))),this.titleStrategy?.updateTitle(u.targetRouterState.snapshot),u.resolve(!0)},complete:()=>{s=!0}}),fa(this.transitionAbortSubject.pipe(J(u=>{throw u}))),fr(()=>{!s&&!a&&this.cancelNavigationTransition(o,"",ve.SupersededByNewNavigation),this.currentTransition?.id===o.id&&(this.currentNavigation=null,this.currentTransition=null)}),ft(u=>{if(a=!0,Fp(u))this.events.next(new ut(o.id,this.urlSerializer.serialize(o.extractedUrl),u.message,u.cancellationCode)),eE(u)?this.events.next(new Jn(u.url,u.navigationBehaviorOptions)):o.resolve(!1);else{let c=new Hr(o.id,this.urlSerializer.serialize(o.extractedUrl),u,o.targetSnapshot??void 0);try{let l=rt(this.environmentInjector,()=>this.navigationErrorHandler?.(c));if(l instanceof Wr){let{message:d,cancellationCode:h}=ms(this.urlSerializer,l);this.events.next(new ut(o.id,this.urlSerializer.serialize(o.extractedUrl),d,h)),this.events.next(new Jn(l.redirectTo,l.navigationBehaviorOptions))}else{this.events.next(c);let d=n.errorHandler(u);o.resolve(!!d)}}catch(l){this.options.resolveNavigationPromiseOnError?o.resolve(!1):o.reject(l)}}return ae}))}))}cancelNavigationTransition(n,r,i){let o=new ut(n.id,this.urlSerializer.serialize(n.extractedUrl),r,i);this.events.next(o),n.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let n=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),r=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return n.toString()!==r?.toString()&&!this.currentNavigation?.extras.skipLocationChange}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function QE(e){return e!==Lr}var KE=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=w({token:e,factory:()=>m(JE),providedIn:"root"})}}return e})(),Vc=class{shouldDetach(t){return!1}store(t,n){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,n){return t.routeConfig===n.routeConfig}},JE=(()=>{class e extends Vc{static{this.\u0275fac=(()=>{let n;return function(i){return(n||(n=jn(e)))(i||e)}})()}static{this.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),$p=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=w({token:e,factory:()=>m(XE),providedIn:"root"})}}return e})(),XE=(()=>{class e extends $p{constructor(){super(...arguments),this.location=m(Tr),this.urlSerializer=m(jc),this.options=m(Hc,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=m(Wc),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new ct,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=Tp(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?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=>{r.type==="popstate"&&n(r.url,r.state)})}handleRouterEvent(n,r){if(n instanceof $r)this.stateMemento=this.createStateMemento();else if(n instanceof en)this.rawUrlTree=r.initialUrl;else if(n instanceof ds){if(this.urlUpdateStrategy==="eager"&&!r.extras.skipLocationChange){let i=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl);this.setBrowserUrl(r.targetBrowserUrl??i,r)}}else n instanceof zr?(this.currentUrlTree=r.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl),this.routerState=r.targetRouterState,this.urlUpdateStrategy==="deferred"&&!r.extras.skipLocationChange&&this.setBrowserUrl(r.targetBrowserUrl??this.rawUrlTree,r)):n instanceof ut&&(n.code===ve.GuardRejected||n.code===ve.NoDataFromResolver)?this.restoreHistory(r):n instanceof Hr?this.restoreHistory(r,!0):n instanceof Xt&&(this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId)}setBrowserUrl(n,r){let i=n instanceof ct?this.urlSerializer.serialize(n):n;if(this.location.isCurrentPathEqualTo(i)||r.extras.replaceUrl){let o=this.browserPageId,s=p(p({},r.extras.state),this.generateNgRouterState(r.id,o));this.location.replaceState(i,"",s)}else{let o=p(p({},r.extras.state),this.generateNgRouterState(r.id,this.browserPageId+1));this.location.go(i,"",o)}}restoreHistory(n,r=!1){if(this.canceledNavigationResolution==="computed"){let i=this.browserPageId,o=this.currentPageId-i;o!==0?this.location.historyGo(o):this.currentUrlTree===n.finalUrl&&o===0&&(this.resetState(n),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(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 this.canceledNavigationResolution==="computed"?{navigationId:n,\u0275routerPageId:r}:{navigationId:n}}static{this.\u0275fac=(()=>{let n;return function(i){return(n||(n=jn(e)))(i||e)}})()}static{this.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),Pr=function(e){return e[e.COMPLETE=0]="COMPLETE",e[e.FAILED=1]="FAILED",e[e.REDIRECTING=2]="REDIRECTING",e}(Pr||{});function eI(e,t){e.events.pipe(oe(n=>n instanceof Xt||n instanceof ut||n instanceof Hr||n instanceof en),_(n=>n instanceof Xt||n instanceof en?Pr.COMPLETE:(n instanceof ut?n.code===ve.Redirect||n.code===ve.SupersededByNewNavigation:!1)?Pr.REDIRECTING:Pr.FAILED),oe(n=>n!==Pr.REDIRECTING),K(1)).subscribe(()=>{t()})}function tI(e){throw e}var nI={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},rI={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},Hp=(()=>{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.console=m(Yo),this.stateManager=m($p),this.options=m(Hc,{optional:!0})||{},this.pendingTasks=m(Bn),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=m(YE),this.urlSerializer=m(jc),this.location=m(Tr),this.urlHandlingStrategy=m(Wc),this._events=new H,this.errorHandler=this.options.errorHandler||tI,this.navigated=!1,this.routeReuseStrategy=m(KE),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=m(Gc,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!m($c,{optional:!0}),this.eventsSubscription=new W,this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:n=>{this.console.warn(n)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){let n=this.navigationTransitions.events.subscribe(r=>{try{let i=this.navigationTransitions.currentTransition,o=this.navigationTransitions.currentNavigation;if(i!==null&&o!==null){if(this.stateManager.handleRouterEvent(r,o),r instanceof ut&&r.code!==ve.Redirect&&r.code!==ve.SupersededByNewNavigation)this.navigated=!0;else if(r instanceof Xt)this.navigated=!0;else if(r instanceof Jn){let s=r.navigationBehaviorOptions,a=this.urlHandlingStrategy.merge(r.url,i.currentRawUrl),u=p({browserUrl:i.extras.browserUrl,info:i.extras.info,skipLocationChange:i.extras.skipLocationChange,replaceUrl:i.extras.replaceUrl||this.urlUpdateStrategy==="eager"||QE(i.source)},s);this.scheduleNavigation(a,Lr,null,u,{resolve:i.resolve,reject:i.reject,promise:i.promise})}}oI(r)&&this._events.next(r)}catch(i){this.navigationTransitions.transitionAbortSubject.next(i)}});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),Lr,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((n,r)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(n,"popstate",r)},0)})}navigateToSyncWithBrowser(n,r,i){let o={replaceUrl:!0},s=i?.navigationId?i:null;if(i){let u=p({},i);delete u.navigationId,delete u.\u0275routerPageId,Object.keys(u).length!==0&&(o.state=u)}let a=this.parseUrl(n);this.scheduleNavigation(a,r,s,o)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(n){this.config=n.map(zc),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={}){let{relativeTo:i,queryParams:o,fragment:s,queryParamsHandling:a,preserveFragment:u}=r,c=u?this.currentUrlTree.fragment:s,l=null;switch(a??this.options.defaultQueryParamsHandling){case"merge":l=p(p({},this.currentUrlTree.queryParams),o);break;case"preserve":l=this.currentUrlTree.queryParams;break;default:l=o||null}l!==null&&(l=this.removeEmptyProps(l));let d;try{let h=i?i.snapshot:this.routerState.snapshot.root;d=_p(h)}catch{(typeof n[0]!="string"||n[0][0]!=="/")&&(n=[]),d=this.currentUrlTree.root}return Mp(d,n,l,c??null)}navigateByUrl(n,r={skipLocationChange:!1}){let i=Br(n)?n:this.parseUrl(n),o=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(o,Lr,null,r)}navigate(n,r={skipLocationChange:!1}){return iI(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 i;if(r===!0?i=p({},nI):r===!1?i=p({},rI):i=r,Br(n))return up(this.currentUrlTree,n,i);let o=this.parseUrl(n);return up(this.currentUrlTree,o,i)}removeEmptyProps(n){return Object.entries(n).reduce((r,[i,o])=>(o!=null&&(r[i]=o),r),{})}scheduleNavigation(n,r,i,o,s){if(this.disposed)return Promise.resolve(!1);let a,u,c;s?(a=s.resolve,u=s.reject,c=s.promise):c=new Promise((d,h)=>{a=d,u=h});let l=this.pendingTasks.add();return eI(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(l))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:n,extras:o,resolve:a,reject:u,promise:c,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),c.catch(d=>Promise.reject(d))}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function iI(e){for(let t=0;tn.\u0275providers)])}function aI(e){return e.routerState.root}function uI(){let e=m(Ge);return t=>{let n=e.get(Ye);if(t!==n.components[0])return;let r=e.get(Hp),i=e.get(cI);e.get(lI)===1&&r.initialNavigation(),e.get(dI,null,x.Optional)?.setUpPreloading(),e.get(sI,null,x.Optional)?.init(),r.resetRootComponentType(n.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}var cI=new C("",{factory:()=>new H}),lI=new C("",{providedIn:"root",factory:()=>1});var dI=new C("");var Gp=[];var Xr="Service workers are disabled or not supported by this browser";function fI(e){return Ft(()=>dt(new Error(e)))}var nr=class{constructor(t){if(this.serviceWorker=t,!t)this.worker=this.events=this.registration=fI(Xr);else{let r=pn(t,"controllerchange").pipe(_(()=>t.controller)),i=Ft(()=>E(t.controller)),o=Le(i,r);this.worker=o.pipe(oe(l=>!!l)),this.registration=this.worker.pipe(se(()=>t.getRegistration()));let c=pn(t,"message").pipe(_(l=>l.data)).pipe(oe(l=>l&&l.type)).pipe(ca());c.connect(),this.events=c}}postMessage(t,n){return this.worker.pipe(K(1),J(r=>{r.postMessage(p({action:t},n))})).toPromise().then(()=>{})}postMessageWithOperation(t,n,r){let i=this.waitForOperationCompleted(r),o=this.postMessage(t,n);return Promise.all([o,i]).then(([,s])=>s)}generateNonce(){return Math.round(Math.random()*1e7)}eventsOfType(t){let n;return typeof t=="string"?n=r=>r.type===t:n=r=>t.includes(r.type),this.events.pipe(oe(n))}nextEventOfType(t){return this.eventsOfType(t).pipe(K(1))}waitForOperationCompleted(t){return this.eventsOfType("OPERATION_COMPLETED").pipe(oe(n=>n.nonce===t),K(1),_(n=>{if(n.result!==void 0)return n.result;throw new Error(n.error)})).toPromise()}get isEnabled(){return!!this.serviceWorker}},hI=(()=>{class e{get isEnabled(){return this.sw.isEnabled}constructor(n){if(this.sw=n,this.pushManager=null,this.subscriptionChanges=new H,!n.isEnabled){this.messages=Pt,this.notificationClicks=Pt,this.subscription=Pt;return}this.messages=this.sw.eventsOfType("PUSH").pipe(_(i=>i.data)),this.notificationClicks=this.sw.eventsOfType("NOTIFICATION_CLICK").pipe(_(i=>i.data)),this.pushManager=this.sw.registration.pipe(_(i=>i.pushManager));let r=this.pushManager.pipe(se(i=>i.getSubscription()));this.subscription=Gi(r,this.subscriptionChanges)}requestSubscription(n){if(!this.sw.isEnabled||this.pushManager===null)return Promise.reject(new Error(Xr));let r={userVisibleOnly:!0},i=this.decodeBase64(n.serverPublicKey.replace(/_/g,"/").replace(/-/g,"+")),o=new Uint8Array(new ArrayBuffer(i.length));for(let s=0;ss.subscribe(r)),K(1)).toPromise().then(s=>(this.subscriptionChanges.next(s),s))}unsubscribe(){if(!this.sw.isEnabled)return Promise.reject(new Error(Xr));let n=r=>{if(r===null)throw new Error("Not subscribed to push notifications.");return r.unsubscribe().then(i=>{if(!i)throw new Error("Unsubscribe failed!");this.subscriptionChanges.next(null)})};return this.subscription.pipe(K(1),se(n)).toPromise()}decodeBase64(n){return atob(n)}static{this.\u0275fac=function(r){return new(r||e)(O(nr))}}static{this.\u0275prov=w({token:e,factory:e.\u0275fac})}}return e})(),pI=(()=>{class e{get isEnabled(){return this.sw.isEnabled}constructor(n){if(this.sw=n,!n.isEnabled){this.versionUpdates=Pt,this.unrecoverable=Pt;return}this.versionUpdates=this.sw.eventsOfType(["VERSION_DETECTED","VERSION_INSTALLATION_FAILED","VERSION_READY","NO_NEW_VERSION_DETECTED"]),this.unrecoverable=this.sw.eventsOfType("UNRECOVERABLE_STATE")}checkForUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(Xr));let n=this.sw.generateNonce();return this.sw.postMessageWithOperation("CHECK_FOR_UPDATES",{nonce:n},n)}activateUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(Xr));let n=this.sw.generateNonce();return this.sw.postMessageWithOperation("ACTIVATE_UPDATE",{nonce:n},n)}static{this.\u0275fac=function(r){return new(r||e)(O(nr))}}static{this.\u0275prov=w({token:e,factory:e.\u0275fac})}}return e})();var Wp=new C("");function gI(e,t,n,r){return()=>{if(!(Xu(r)&&"serviceWorker"in navigator&&n.enabled!==!1))return;let i=e.get(q),o=e.get(Ye);i.runOutsideAngular(()=>{let a=navigator.serviceWorker,u=()=>a.controller?.postMessage({action:"INITIALIZE"});a.addEventListener("controllerchange",u),o.onDestroy(()=>{a.removeEventListener("controllerchange",u)})});let s;if(typeof n.registrationStrategy=="function")s=n.registrationStrategy();else{let[a,...u]=(n.registrationStrategy||"registerWhenStable:30000").split(":");switch(a){case"registerImmediately":s=E(null);break;case"registerWithDelay":s=qp(+u[0]||0);break;case"registerWhenStable":let c=$(e.get(Ye).whenStable());s=u[0]?Gi(c,qp(+u[0])):c;break;default:throw new Error(`Unknown ServiceWorker registration strategy: ${n.registrationStrategy}`)}}i.runOutsideAngular(()=>s.pipe(K(1)).subscribe(()=>navigator.serviceWorker.register(t,{scope:n.scope}).catch(a=>console.error("Service worker registration failed with:",a))))}}function qp(e){return E(null).pipe(aa(e))}function mI(e,t){return new nr(Xu(t)&&e.enabled!==!1?navigator.serviceWorker:void 0)}var Jr=class{};function Zp(e,t={}){return kn([hI,pI,{provide:Wp,useValue:e},{provide:Jr,useValue:t},{provide:nr,useFactory:mI,deps:[Jr,st]},{provide:Qo,useFactory:gI,deps:[Ge,Wp,Jr,st],multi:!0}])}var Yp={providers:[Uh({eventCoalescing:!0}),zp(Gp),Zp("ngsw-worker.js",{enabled:!Hh(),registrationStrategy:"registerWhenStable:30000"})]};var rg=(()=>{class e{constructor(n,r){this._renderer=n,this._elementRef=r,this.onChange=i=>{},this.onTouched=()=>{}}setProperty(n,r){this._renderer.setProperty(this._elementRef.nativeElement,n,r)}registerOnTouched(n){this.onTouched=n}registerOnChange(n){this.onChange=n}setDisabledState(n){this.setProperty("disabled",n)}static{this.\u0275fac=function(r){return new(r||e)(ee(Un),ee(zt))}}static{this.\u0275dir=We({type:e})}}return e})(),ig=(()=>{class e extends rg{static{this.\u0275fac=(()=>{let n;return function(i){return(n||(n=jn(e)))(i||e)}})()}static{this.\u0275dir=We({type:e,features:[Wt]})}}return e})(),Kc=new C("");var vI={provide:Kc,useExisting:Pn(()=>bs),multi:!0};function yI(){let e=at()?at().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}var DI=new C(""),bs=(()=>{class e extends rg{constructor(n,r,i){super(n,r),this._compositionMode=i,this._composing=!1,this._compositionMode==null&&(this._compositionMode=!yI())}writeValue(n){let r=n??"";this.setProperty("value",r)}_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{this.\u0275fac=function(r){return new(r||e)(ee(Un),ee(zt),ee(DI,8))}}static{this.\u0275dir=We({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,i){r&1&&_e("input",function(s){return i._handleInput(s.target.value)})("blur",function(){return i.onTouched()})("compositionstart",function(){return i._compositionStart()})("compositionend",function(s){return i._compositionEnd(s.target.value)})},features:[qo([vI]),Wt]})}}return e})();var CI=new C(""),wI=new C("");function og(e){return e!=null}function sg(e){return Zt(e)?$(e):e}function ag(e){let t={};return e.forEach(n=>{t=n!=null?p(p({},t),n):t}),Object.keys(t).length===0?null:t}function ug(e,t){return t.map(n=>n(e))}function EI(e){return!e.validate}function cg(e){return e.map(t=>EI(t)?t:n=>t.validate(n))}function II(e){if(!e)return null;let t=e.filter(og);return t.length==0?null:function(n){return ag(ug(n,t))}}function lg(e){return e!=null?II(cg(e)):null}function bI(e){if(!e)return null;let t=e.filter(og);return t.length==0?null:function(n){let r=ug(n,t).map(sg);return oa(r).pipe(_(ag))}}function dg(e){return e!=null?bI(cg(e)):null}function Qp(e,t){return e===null?[t]:Array.isArray(e)?[...e,t]:[e,t]}function _I(e){return e._rawValidators}function MI(e){return e._rawAsyncValidators}function qc(e){return e?Array.isArray(e)?e:[e]:[]}function ws(e,t){return Array.isArray(e)?e.includes(t):e===t}function Kp(e,t){let n=qc(t);return qc(e).forEach(i=>{ws(n,i)||n.push(i)}),n}function Jp(e,t){return qc(t).filter(n=>!ws(e,n))}var Es=class{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=lg(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=dg(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):!1}getError(t,n){return this.control?this.control.getError(t,n):null}},Zc=class extends Es{get formDirective(){return null}get path(){return null}},ii=class extends Es{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}},Yc=class{constructor(t){this._cd=t}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}},SI={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},mR=k(p({},SI),{"[class.ng-submitted]":"isSubmitted"}),fg=(()=>{class e extends Yc{constructor(n){super(n)}static{this.\u0275fac=function(r){return new(r||e)(ee(ii,2))}}static{this.\u0275dir=We({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(r,i){r&2&&Sr("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)},features:[Wt]})}}return e})();var ei="VALID",Cs="INVALID",rr="PENDING",ti="DISABLED",or=class{},Is=class extends or{constructor(t,n){super(),this.value=t,this.source=n}},ni=class extends or{constructor(t,n){super(),this.pristine=t,this.source=n}},ri=class extends or{constructor(t,n){super(),this.touched=t,this.source=n}},ir=class extends or{constructor(t,n){super(),this.status=t,this.source=n}};function xI(e){return(_s(e)?e.validators:e)||null}function TI(e){return Array.isArray(e)?lg(e):e||null}function AI(e,t){return(_s(t)?t.asyncValidators:e)||null}function NI(e){return Array.isArray(e)?dg(e):e||null}function _s(e){return e!=null&&!Array.isArray(e)&&typeof e=="object"}var Qc=class{constructor(t,n){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=null,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this._status=Jo(()=>this.statusReactive()),this.statusReactive=Ho(void 0),this._pristine=Jo(()=>this.pristineReactive()),this.pristineReactive=Ho(!0),this._touched=Jo(()=>this.touchedReactive()),this.touchedReactive=Ho(!1),this._events=new H,this.events=this._events.asObservable(),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 status(){return It(this.statusReactive)}set status(t){It(()=>this.statusReactive.set(t))}get valid(){return this.status===ei}get invalid(){return this.status===Cs}get pending(){return this.status==rr}get disabled(){return this.status===ti}get enabled(){return this.status!==ti}get pristine(){return It(this.pristineReactive)}set pristine(t){It(()=>this.pristineReactive.set(t))}get dirty(){return!this.pristine}get touched(){return It(this.touchedReactive)}set touched(t){It(()=>this.touchedReactive.set(t))}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(Kp(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(Kp(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(Jp(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(Jp(t,this._rawAsyncValidators))}hasValidator(t){return ws(this._rawValidators,t)}hasAsyncValidator(t){return ws(this._rawAsyncValidators,t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){let n=this.touched===!1;this.touched=!0;let r=t.sourceControl??this;this._parent&&!t.onlySelf&&this._parent.markAsTouched(k(p({},t),{sourceControl:r})),n&&t.emitEvent!==!1&&this._events.next(new ri(!0,r))}markAllAsTouched(t={}){this.markAsTouched({onlySelf:!0,emitEvent:t.emitEvent,sourceControl:this}),this._forEachChild(n=>n.markAllAsTouched(t))}markAsUntouched(t={}){let n=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let r=t.sourceControl??this;this._forEachChild(i=>{i.markAsUntouched({onlySelf:!0,emitEvent:t.emitEvent,sourceControl:r})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t,r),n&&t.emitEvent!==!1&&this._events.next(new ri(!1,r))}markAsDirty(t={}){let n=this.pristine===!0;this.pristine=!1;let r=t.sourceControl??this;this._parent&&!t.onlySelf&&this._parent.markAsDirty(k(p({},t),{sourceControl:r})),n&&t.emitEvent!==!1&&this._events.next(new ni(!1,r))}markAsPristine(t={}){let n=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let r=t.sourceControl??this;this._forEachChild(i=>{i.markAsPristine({onlySelf:!0,emitEvent:t.emitEvent})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t,r),n&&t.emitEvent!==!1&&this._events.next(new ni(!0,r))}markAsPending(t={}){this.status=rr;let n=t.sourceControl??this;t.emitEvent!==!1&&(this._events.next(new ir(this.status,n)),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.markAsPending(k(p({},t),{sourceControl:n}))}disable(t={}){let n=this._parentMarkedDirty(t.onlySelf);this.status=ti,this.errors=null,this._forEachChild(i=>{i.disable(k(p({},t),{onlySelf:!0}))}),this._updateValue();let r=t.sourceControl??this;t.emitEvent!==!1&&(this._events.next(new Is(this.value,r)),this._events.next(new ir(this.status,r)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(k(p({},t),{skipPristineCheck:n}),this),this._onDisabledChange.forEach(i=>i(!0))}enable(t={}){let n=this._parentMarkedDirty(t.onlySelf);this.status=ei,this._forEachChild(r=>{r.enable(k(p({},t),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(k(p({},t),{skipPristineCheck:n}),this),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(t,n){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine({},n),this._parent._updateTouched({},n))}setParent(t){this._parent=t}getRawValue(){return this.value}updateValueAndValidity(t={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let r=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===ei||this.status===rr)&&this._runAsyncValidator(r,t.emitEvent)}let n=t.sourceControl??this;t.emitEvent!==!1&&(this._events.next(new Is(this.value,n)),this._events.next(new ir(this.status,n)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(k(p({},t),{sourceControl:n}))}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(n=>n._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?ti:ei}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t,n){if(this.asyncValidator){this.status=rr,this._hasOwnPendingAsyncValidator={emitEvent:n!==!1};let r=sg(this.asyncValidator(this));this._asyncValidationSubscription=r.subscribe(i=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(i,{emitEvent:n,shouldHaveEmitted:t})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let t=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,t}return!1}setErrors(t,n={}){this.errors=t,this._updateControlsErrors(n.emitEvent!==!1,this,n.shouldHaveEmitted)}get(t){let n=t;return n==null||(Array.isArray(n)||(n=n.split(".")),n.length===0)?null:n.reduce((r,i)=>r&&r._find(i),this)}getError(t,n){let 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,n,r){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),(t||r)&&this._events.next(new ir(this.status,n)),this._parent&&this._parent._updateControlsErrors(t,n,r)}_initObservables(){this.valueChanges=new X,this.statusChanges=new X}_calculateStatus(){return this._allControlsDisabled()?ti:this.errors?Cs:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(rr)?rr:this._anyControlsHaveStatus(Cs)?Cs:ei}_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,n){let r=!this._anyControlsDirty(),i=this.pristine!==r;this.pristine=r,this._parent&&!t.onlySelf&&this._parent._updatePristine(t,n),i&&this._events.next(new ni(this.pristine,n))}_updateTouched(t={},n){this.touched=this._anyControlsTouched(),this._events.next(new ri(this.touched,n)),this._parent&&!t.onlySelf&&this._parent._updateTouched(t,n)}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){_s(t)&&t.updateOn!=null&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){let n=this._parent&&this._parent.dirty;return!t&&!!n&&!this._parent._anyControlsDirty()}_find(t){return null}_assignValidators(t){this._rawValidators=Array.isArray(t)?t.slice():t,this._composedValidatorFn=TI(this._rawValidators)}_assignAsyncValidators(t){this._rawAsyncValidators=Array.isArray(t)?t.slice():t,this._composedAsyncValidatorFn=NI(this._rawAsyncValidators)}};var hg=new C("CallSetDisabledState",{providedIn:"root",factory:()=>Jc}),Jc="always";function RI(e,t){return[...t.path,e]}function OI(e,t,n=Jc){PI(e,t),t.valueAccessor.writeValue(e.value),(e.disabled||n==="always")&&t.valueAccessor.setDisabledState?.(e.disabled),kI(e,t),VI(e,t),LI(e,t),FI(e,t)}function Xp(e,t){e.forEach(n=>{n.registerOnValidatorChange&&n.registerOnValidatorChange(t)})}function FI(e,t){if(t.valueAccessor.setDisabledState){let n=r=>{t.valueAccessor.setDisabledState(r)};e.registerOnDisabledChange(n),t._registerOnDestroy(()=>{e._unregisterOnDisabledChange(n)})}}function PI(e,t){let n=_I(e);t.validator!==null?e.setValidators(Qp(n,t.validator)):typeof n=="function"&&e.setValidators([n]);let r=MI(e);t.asyncValidator!==null?e.setAsyncValidators(Qp(r,t.asyncValidator)):typeof r=="function"&&e.setAsyncValidators([r]);let i=()=>e.updateValueAndValidity();Xp(t._rawValidators,i),Xp(t._rawAsyncValidators,i)}function kI(e,t){t.valueAccessor.registerOnChange(n=>{e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,e.updateOn==="change"&&pg(e,t)})}function LI(e,t){t.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,e.updateOn==="blur"&&e._pendingChange&&pg(e,t),e.updateOn!=="submit"&&e.markAsTouched()})}function pg(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function VI(e,t){let n=(r,i)=>{t.valueAccessor.writeValue(r),i&&t.viewToModelUpdate(r)};e.registerOnChange(n),t._registerOnDestroy(()=>{e._unregisterOnChange(n)})}function jI(e,t){if(!e.hasOwnProperty("model"))return!1;let n=e.model;return n.isFirstChange()?!0:!Object.is(t,n.currentValue)}function BI(e){return Object.getPrototypeOf(e.constructor)===ig}function UI(e,t){if(!t)return null;Array.isArray(t);let n,r,i;return t.forEach(o=>{o.constructor===bs?n=o:BI(o)?r=o:i=o}),i||r||n||null}function eg(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function tg(e){return typeof e=="object"&&e!==null&&Object.keys(e).length===2&&"value"in e&&"disabled"in e}var $I=class extends Qc{constructor(t=null,n,r){super(xI(n),AI(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}),_s(n)&&(n.nonNullable||n.initialValueIsDefault)&&(tg(t)?this.defaultValue=t.value:this.defaultValue=t)}setValue(t,n={}){this.value=this._pendingValue=t,this._onChange.length&&n.emitModelToViewChange!==!1&&this._onChange.forEach(r=>r(this.value,n.emitViewToModelChange!==!1)),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){eg(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){eg(this._onDisabledChange,t)}_forEachChild(t){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(t){tg(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}};var HI={provide:ii,useExisting:Pn(()=>Xc)},ng=Promise.resolve(),Xc=(()=>{class e extends ii{constructor(n,r,i,o,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this.control=new $I,this._registered=!1,this.name="",this.update=new X,this._parent=n,this._setValidators(r),this._setAsyncValidators(i),this.valueAccessor=UI(this,o)}ngOnChanges(n){if(this._checkForErrors(),!this._registered||"name"in n){if(this._registered&&(this._checkName(),this.formDirective)){let r=n.name.previousValue;this.formDirective.removeControl({name:r,path:this._getPath(r)})}this._setUpControl()}"isDisabled"in n&&this._updateDisabled(n),jI(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&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){OI(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()&&this.name}_updateValue(n){ng.then(()=>{this.control.setValue(n,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(n){let r=n.isDisabled.currentValue,i=r!==0&&Ko(r);ng.then(()=>{i&&!this.control.disabled?this.control.disable():!i&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(n){return this._parent?RI(n,this._parent):[n]}static{this.\u0275fac=function(r){return new(r||e)(ee(Zc,9),ee(CI,10),ee(wI,10),ee(Kc,10),ee(Yt,8),ee(hg,8))}}static{this.\u0275dir=We({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[qo([HI]),Wt,Vn]})}}return e})();var zI={provide:Kc,useExisting:Pn(()=>el),multi:!0},el=(()=>{class e extends ig{writeValue(n){this.setProperty("value",parseFloat(n))}registerOnChange(n){this.onChange=r=>{n(r==""?null:parseFloat(r))}}static{this.\u0275fac=(()=>{let n;return function(i){return(n||(n=jn(e)))(i||e)}})()}static{this.\u0275dir=We({type:e,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(r,i){r&1&&_e("change",function(s){return i.onChange(s.target.value)})("input",function(s){return i.onChange(s.target.value)})("blur",function(){return i.onTouched()})},features:[qo([zI]),Wt]})}}return e})();var GI=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275mod=wt({type:e})}static{this.\u0275inj=Ct({})}}return e})();var gg=(()=>{class e{static withConfig(n){return{ngModule:e,providers:[{provide:hg,useValue:n.callSetDisabledState??Jc}]}}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275mod=wt({type:e})}static{this.\u0275inj=Ct({imports:[GI]})}}return e})();function Ms(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Ms=function(t){return typeof t}:Ms=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ms(e)}function qI(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var ZI=[512,512,456,512,328,456,335,512,405,328,271,456,388,335,292,512,454,405,364,328,298,271,496,456,420,388,360,335,312,292,273,512,482,454,428,405,383,364,345,328,312,298,284,271,259,496,475,456,437,420,404,388,374,360,347,335,323,312,302,292,282,273,265,512,497,482,468,454,441,428,417,405,394,383,373,364,354,345,337,328,320,312,305,298,291,284,278,271,265,259,507,496,485,475,465,456,446,437,428,420,412,404,396,388,381,374,367,360,354,347,341,335,329,323,318,312,307,302,297,292,287,282,278,273,269,265,261,512,505,497,489,482,475,468,461,454,447,441,435,428,422,417,411,405,399,394,389,383,378,373,368,364,359,354,350,345,341,337,332,328,324,320,316,312,309,305,301,298,294,291,287,284,281,278,274,271,268,265,262,259,257,507,501,496,491,485,480,475,470,465,460,456,451,446,442,437,433,428,424,420,416,412,408,404,400,396,392,388,385,381,377,374,370,367,363,360,357,354,350,347,344,341,338,335,332,329,326,323,320,318,315,312,310,307,304,302,299,297,294,292,289,287,285,282,280,278,275,273,271,269,267,265,263,261,259],YI=[9,11,12,13,13,14,14,15,15,15,15,16,16,16,16,17,17,17,17,17,17,17,18,18,18,18,18,18,18,18,18,19,19,19,19,19,19,19,19,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24];function QI(e,t,n,r,i){if(typeof e=="string"&&(e=document.getElementById(e)),!e||Ms(e)!=="object"||!("getContext"in e))throw new TypeError("Expecting canvas with `getContext` method in processCanvasRGB(A) calls!");var o=e.getContext("2d");try{return o.getImageData(t,n,r,i)}catch(s){throw new Error("unable to access image data: "+s)}}function vg(e,t,n,r,i,o){if(!(isNaN(o)||o<1)){o|=0;var s=QI(e,t,n,r,i);s=KI(s,t,n,r,i,o),e.getContext("2d").putImageData(s,t,n)}}function KI(e,t,n,r,i,o){for(var s=e.data,a=2*o+1,u=r-1,c=i-1,l=o+1,d=l*(l+1)/2,h=new mg,f=h,g,M=1;M>>Y,s[U+1]=si*Z>>>Y,s[U+2]=ai*Z>>>Y,oi-=xs,si-=Ts,ai-=As,xs-=y.r,Ts-=y.g,As-=y.b,L=ie+((L=Ns+o+1)>>Y,s[L+1]=fi*Z>>>Y,s[L+2]=hi*Z>>>Y,di-=Rs,fi-=Os,hi-=Fs,Rs-=y.r,Os-=y.g,Fs-=y.b,L=nn+((L=Vs+l){let r=new FileReader;r.onload=()=>n(r.result),r.readAsDataURL(t)})}isSafari(){let t=navigator.userAgent.toLowerCase();return t.includes("safari")&&!t.includes("chrome")}applyBlur(t){return new Promise(n=>{let r=new Image;r.onload=()=>{let i=document.createElement("canvas"),o=i.getContext("2d"),s=r.width/r.height,a=1920,u=Math.round(a/s);i.width=a,i.height=u,this.isSafari()?(o.drawImage(r,0,0,i.width,i.height),vg(i,0,0,i.width,i.height,this.blurAmount)):(o.filter=`blur(${this.blurAmount}px)`,o.drawImage(r,0,0,i.width,i.height),o.globalCompositeOperation="source-over",o.filter=`blur(${this.blurAmount*.8}px) brightness(1.2) contrast(1.3)`,o.globalAlpha=.4,o.drawImage(r,0,0,i.width,i.height),o.globalCompositeOperation="overlay",o.globalAlpha=.1,o.drawImage(r,0,0,i.width,i.height)),n(i.toDataURL("image/jpeg",.95))},r.src=t})}handleInstallPrompt(){window.addEventListener("beforeinstallprompt",t=>{t.preventDefault(),this.deferredPrompt=t,this.showInstallButton=!0}),window.addEventListener("appinstalled",()=>{this.showInstallButton=!1,this.deferredPrompt=null})}installPwa(){return rn(this,null,function*(){if(!this.deferredPrompt)return;this.deferredPrompt.prompt();let{outcome:t}=yield this.deferredPrompt.userChoice;t==="accepted"&&(this.showInstallButton=!1),this.deferredPrompt=null})}downloadImage(){if(this.blurredImageUrl){let t=document.createElement("a");t.href=this.blurredImageUrl,t.download="blurred.jpg",t.click()}}reset(){this.imageUrl=null,this.blurredImageUrl=null,this.blurAmount=100}static \u0275fac=function(n){return new(n||e)};static \u0275cmp=Ao({type:e,selectors:[["app-root"]],standalone:!0,features:[Zo],decls:8,vars:6,consts:[["fileInput",""],[1,"container",3,"dragover","drop","click"],["type","file","accept","image/*",2,"display","none",3,"change"],[1,"result"],[1,"install-button"],["alt","Blurred image",3,"src"],[1,"overlay"],[1,"controls"],["type","range","min","20","max","200",3,"ngModelChange","ngModel"],[1,"button-group"],[3,"click"],[1,"reset",3,"click"],[1,"install-button",3,"click"]],template:function(n,r){if(n&1){let i=Wo();be(0,"div",1),_e("dragover",function(s){return qe(i),Ze(r.onDragOver(s))})("drop",function(s){return qe(i),Ze(r.onDrop(s))})("click",function(){qe(i);let s=Fh(2);return Ze(!r.imageUrl&&s.click())}),be(1,"input",2,0),_e("change",function(s){return qe(i),Ze(r.onFileSelected(s))}),Fe(),Go(3,XI,2,0,"p")(4,eb,2,0,"p")(5,tb,11,2,"div",3),Fe(),Go(6,nb,2,0,"button",4),Hn(7,"router-outlet")}n&2&&(Sr("has-image",r.imageUrl),Gt(3),xr(r.imageUrl?-1:3),Gt(),xr(r.isProcessing?4:-1),Gt(),xr(r.blurredImageUrl?5:-1),Gt(),xr(r.showInstallButton?6:-1))},dependencies:[Uc,Ku,gg,bs,el,fg,Xc],styles:["*[_ngcontent-%COMP%]{box-sizing:border-box}.container[_ngcontent-%COMP%]{height:100vh;padding:0;margin:0;overflow:hidden;display:flex;flex-direction:column;box-sizing:border-box;justify-content:center;align-items:center}.container[_ngcontent-%COMP%]:not(.has-image){border:4px dashed #ccc;border-radius:4px;padding:20px;cursor:pointer}.result[_ngcontent-%COMP%]{margin:0;position:relative;width:100%;height:100%;display:flex}.result[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%;height:100%;object-fit:cover;border-radius:0;box-shadow:none}.overlay[_ngcontent-%COMP%]{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:flex-start;align-items:center;gap:20px;background:#0003;opacity:.1;transition:opacity .3s ease;border-radius:8px;padding-top:20px}.overlay[_ngcontent-%COMP%]:hover{opacity:1}.controls[_ngcontent-%COMP%]{background:#000000b3;padding:8px 15px;border-radius:4px}.controls[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:10px;align-items:center;color:#fff}.controls[_ngcontent-%COMP%] input[type=range][_ngcontent-%COMP%]{width:200px}button[_ngcontent-%COMP%]:hover{background-color:#0056b3}.button-group[_ngcontent-%COMP%]{display:flex;gap:10px}.reset[_ngcontent-%COMP%]{background-color:#dc3545}.reset[_ngcontent-%COMP%]:hover{background-color:#c82333}.container[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:1.2rem;color:#666}.install-button[_ngcontent-%COMP%]{position:fixed;bottom:20px;right:20px;padding:12px 24px;background-color:#007bff;color:#fff;border:none;border-radius:24px;cursor:pointer;box-shadow:0 2px 5px #0003;z-index:1000;transition:transform .2s ease}.install-button[_ngcontent-%COMP%]:hover{transform:scale(1.05);background-color:#0056b3}"]})};sp(Ss,Yp).catch(e=>console.error(e)); diff --git a/ngsw.json b/ngsw.json index d862966..542d466 100644 --- a/ngsw.json +++ b/ngsw.json @@ -1,6 +1,6 @@ { "configVersion": 1, - "timestamp": 1731865689815, + "timestamp": 1731866235651, "index": "/index.html", "assetGroups": [ { @@ -12,7 +12,7 @@ }, "urls": [ "/index.html", - "/main-UDCRRYV7.js", + "/main-JGT3P5UO.js", "/manifest.webmanifest", "/polyfills-FFHMD2TL.js", "/styles-IH7QB2KV.css" @@ -51,8 +51,8 @@ "/icons/icon-512x512.png": "cd40b87e4f512eb3a2b58683ef0ae2b0d7c8c0fe", "/icons/icon-72x72.png": "07871cf6100dcda9b3fa6405f7eda8d3ca222ace", "/icons/icon-96x96.png": "8062df6a91de14cae02b34ba5cba37f1af03d383", - "/index.html": "eceb434dc13a87ceb4e733e5754d4619159f80bb", - "/main-UDCRRYV7.js": "86d6d63efac73a85569915b8e7716ad02ddcbc93", + "/index.html": "84c631191d47f06db1daa6a0a253f96c4cae1aa1", + "/main-JGT3P5UO.js": "064bf59ecc1584bd701f291193eccce080f1f70d", "/manifest.webmanifest": "9a84f24cd1efc6aeffe787653ae8590a795f3a2d", "/polyfills-FFHMD2TL.js": "f49b49a155bc7d192db62a4c15d0a612b460a667", "/styles-IH7QB2KV.css": "420e493224bf31e7de01bcdf9fd81bb33c95d60c"