From f1a197c2f860399bfc75af576c7779b48f0c331f Mon Sep 17 00:00:00 2001 From: Peter MOUEZA <221372+moueza@users.noreply.github.com> Date: Fri, 19 Jul 2024 20:09:48 +0200 Subject: [PATCH] Fix: external .io, not found, base-href rm dist/ -Rf; rm ../docs -Rf ;ng build --watch --base-href https://moueza.github.io/Z-Anatomy/dist ++++ final slash Refs: v = 225 --- WEBSITE/src/app/app.component.ts | 2 +- docs/index.html | 4 ++-- docs/{main-5Y3SYC2B.js => main-5ROW7SN2.js} | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) rename docs/{main-5Y3SYC2B.js => main-5ROW7SN2.js} (99%) diff --git a/WEBSITE/src/app/app.component.ts b/WEBSITE/src/app/app.component.ts index 8a7f7555..c317f28d 100755 --- a/WEBSITE/src/app/app.component.ts +++ b/WEBSITE/src/app/app.component.ts @@ -8,7 +8,7 @@ import { Component } from '@angular/core'; export class AppComponent { title = 'Z-Anatomy'; - version = 224;//v = + version = 225;//v = cookiesONvar: boolean=false; /** private https://stackoverflow.com/questions/40371728/firing-an-angular-2-attribute-directive-after-model-load */ constructor() { diff --git a/docs/index.html b/docs/index.html index 6a88469d..0096f11c 100644 --- a/docs/index.html +++ b/docs/index.html @@ -18,7 +18,7 @@ Z-Anatomy - + @@ -32,5 +32,5 @@ - + diff --git a/docs/main-5Y3SYC2B.js b/docs/main-5ROW7SN2.js similarity index 99% rename from docs/main-5Y3SYC2B.js rename to docs/main-5ROW7SN2.js index b1b3ce97..7c1bef18 100644 --- a/docs/main-5Y3SYC2B.js +++ b/docs/main-5ROW7SN2.js @@ -4,4 +4,4 @@ ${r.map((n,o)=>`${o+1}) ${n.toString()}`).join(` `);return r===-1?t:t.substring(0,r)}function Gi(e,t){return e==null||e===""?t===null?"":t:t==null||t===""?e:e+" "+t}var Qh=F({__forward_ref__:F});function ku(e){return e.__forward_ref__=ku,e.toString=function(){return ce(this())},e}function ge(e){return Fu(e)?e():e}function Fu(e){return typeof e=="function"&&e.hasOwnProperty(Qh)&&e.__forward_ref__===ku}function y(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function xe(e){return{providers:e.providers||[],imports:e.imports||[]}}function mo(e){return Kc(e,ju)||Kc(e,Vu)}function Lu(e){return mo(e)!==null}function Kc(e,t){return e.hasOwnProperty(t)?e[t]:null}function Kh(e){let t=e&&(e[ju]||e[Vu]);return t||null}function Jc(e){return e&&(e.hasOwnProperty(Xc)||e.hasOwnProperty(Jh))?e[Xc]:null}var ju=F({\u0275prov:F}),Xc=F({\u0275inj:F}),Vu=F({ngInjectableDef:F}),Jh=F({ngInjectorDef:F}),w=class{constructor(t,r){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,typeof r=="number"?this.__NG_ELEMENT_ID__=r:r!==void 0&&(this.\u0275prov=y({token:this,providedIn:r.providedIn||"root",factory:r.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function $u(e){return e&&!!e.\u0275providers}var Xh=F({\u0275cmp:F}),ep=F({\u0275dir:F}),tp=F({\u0275pipe:F}),np=F({\u0275mod:F}),Wr=F({\u0275fac:F}),_n=F({__NG_ELEMENT_ID__:F}),eu=F({__NG_ENV_ID__:F});function Bu(e){return typeof e=="string"?e:e==null?"":String(e)}function rp(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():Bu(e)}function op(e,t){let r=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new v(-200,e)}function _s(e,t){throw new v(-201,!1)}var S=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}(S||{}),qi;function Uu(){return qi}function pe(e){let t=qi;return qi=e,t}function Hu(e,t,r){let n=mo(e);if(n&&n.providedIn=="root")return n.value===void 0?n.value=n.factory():n.value;if(r&S.Optional)return null;if(t!==void 0)return t;_s(e,"Injector")}var ip={},An=ip,Wi="__NG_DI_FLAG__",Zr="ngTempTokenPath",sp="ngTokenPath",ap=/\n/gm,cp="\u0275",tu="__source",Zt;function up(){return Zt}function ot(e){let t=Zt;return Zt=e,t}function lp(e,t=S.Default){if(Zt===void 0)throw new v(-203,!1);return Zt===null?Hu(e,void 0,t):Zt.get(e,t&S.Optional?null:void 0,t)}function D(e,t=S.Default){return(Uu()||lp)(ge(e),t)}function p(e,t=S.Default){return D(e,vo(t))}function vo(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Zi(e){let t=[];for(let r=0;r ");else if(typeof t=="object"){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];i.push(s+":"+(typeof a=="string"?JSON.stringify(a):ce(a)))}o=`{${i.join(", ")}}`}return`${r}${n?"("+n+")":""}[${o}]: ${e.replace(ap,` - `)}`}var Ns=zu(Pu("Optional"),8);var Gu=zu(Pu("SkipSelf"),4);function Qt(e,t){let r=e.hasOwnProperty(Wr);return r?e[Wr]:null}function As(e,t){e.forEach(r=>Array.isArray(r)?As(r,t):t(r))}function qu(e,t,r){t>=e.length?e.push(r):e.splice(t,0,r)}function Yr(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function pp(e,t,r,n){let o=e.length;if(o==t)e.push(r,n);else if(o===1)e.push(n,e[0]),e[0]=r;else{for(o--,e.push(e[o-1],e[o]);o>t;){let i=o-2;e[o]=e[i],o--}e[t]=r,e[t+1]=n}}function Rs(e,t,r){let n=Un(e,t);return n>=0?e[n|1]=r:(n=~n,pp(e,n,t,r)),n}function Pi(e,t){let r=Un(e,t);if(r>=0)return e[r|1]}function Un(e,t){return gp(e,t,1)}function gp(e,t,r){let n=0,o=e.length>>r;for(;o!==n;){let i=n+(o-n>>1),s=e[i<t?o=i:n=i+1}return~(o<t){s=i-1;break}}}for(;i-1){let i;for(;++oi?d="":d=o[l+1].toLowerCase(),n&2&&u!==d){if(Ie(n))return!1;s=!0}}}}return Ie(n)||s}function Ie(e){return(e&1)===0}function Ep(e,t,r,n){if(t===null)return-1;let o=0;if(n||!r){let i=!1;for(;o-1)for(r++;r0?'="'+a+'"':"")+"]"}else n&8?o+="."+s:n&4&&(o+=" "+s);else o!==""&&!Ie(s)&&(t+=ru(i,o),o=""),n=s,i=i||!Ie(n);r++}return o!==""&&(t+=ru(i,o)),t}function xp(e){return e.map(Sp).join(",")}function Tp(e){let t=[],r=[],n=1,o=2;for(;n{let t=tl(e),r=V(m({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Yu.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||ke.Emulated,styles:e.styles||ae,_:null,schemas:e.schemas||null,tView:null,id:""});nl(r);let n=e.dependencies;return r.directiveDefs=iu(n,!1),r.pipeDefs=iu(n,!0),r.id=Ap(r),r})}function _p(e){return at(e)||Ku(e)}function Np(e){return e!==null}function Te(e){return Bn(()=>({type:e.type,bootstrap:e.bootstrap||ae,declarations:e.declarations||ae,imports:e.imports||ae,exports:e.exports||ae,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function ou(e,t){if(e==null)return Rn;let r={};for(let n in e)if(e.hasOwnProperty(n)){let o=e[n],i,s,a=st.None;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i):(i=o,s=o),t?(r[i]=a!==st.None?[n,a]:n,t[i]=s):r[i]=n}return r}function ks(e){return Bn(()=>{let t=tl(e);return nl(t),t})}function at(e){return e[Xh]||null}function Ku(e){return e[ep]||null}function Ju(e){return e[tp]||null}function Xu(e){let t=at(e)||Ku(e)||Ju(e);return t!==null?t.standalone:!1}function el(e,t){let r=e[np]||null;if(!r&&t===!0)throw new Error(`Type ${ce(e)} does not have '\u0275mod' property.`);return r}function tl(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||Rn,exportAs:e.exportAs||null,standalone:e.standalone===!0,signals:e.signals===!0,selectors:e.selectors||ae,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:ou(e.inputs,t),outputs:ou(e.outputs),debugInfo:null}}function nl(e){e.features?.forEach(t=>t(e))}function iu(e,t){if(!e)return null;let r=t?Ju:_p;return()=>(typeof e=="function"?e():e).map(n=>r(n)).filter(Np)}function Ap(e){let t=0,r=[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 o of r)t=Math.imul(31,t)+o.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function Rp(...e){return{\u0275providers:rl(!0,e),\u0275fromNgModule:!0}}function rl(e,...t){let r=[],n=new Set,o,i=s=>{r.push(s)};return As(t,s=>{let a=s;Qi(a,i,[],n)&&(o||=[],o.push(a))}),o!==void 0&&ol(o,i),r}function ol(e,t){for(let r=0;r{t(i,n)})}}function Qi(e,t,r,n){if(e=ge(e),!e)return!1;let o=null,i=Jc(e),s=!i&&at(e);if(!i&&!s){let c=e.ngModule;if(i=Jc(c),i)o=c;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=n.has(o);if(s){if(a)return!1;if(n.add(o),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let u of c)Qi(u,t,r,n)}}else if(i){if(i.imports!=null&&!a){n.add(o);let u;try{As(i.imports,l=>{Qi(l,t,r,n)&&(u||=[],u.push(l))})}finally{}u!==void 0&&ol(u,t)}if(!a){let u=Qt(o)||(()=>new o);t({provide:o,useFactory:u,deps:ae},o),t({provide:Zu,useValue:o,multi:!0},o),t({provide:Kt,useValue:()=>D(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let u=e;Fs(c,l=>{t(l,u)})}}else return!1;return o!==e&&e.providers!==void 0}function Fs(e,t){for(let r of e)$u(r)&&(r=r.\u0275providers),Array.isArray(r)?Fs(r,t):t(r)}var Op=F({provide:String,useValue:F});function il(e){return e!==null&&typeof e=="object"&&Op in e}function Pp(e){return!!(e&&e.useExisting)}function kp(e){return!!(e&&e.useFactory)}function Ki(e){return typeof e=="function"}var Do=new w(""),Ur={},Fp={},ki;function Ls(){return ki===void 0&&(ki=new Qr),ki}var re=class{},On=class extends re{get destroyed(){return this._destroyed}constructor(t,r,n,o){super(),this.parent=r,this.source=n,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Xi(t,s=>this.processProvider(s)),this.records.set(Wu,Gt(void 0,this)),o.has("environment")&&this.records.set(re,Gt(void 0,this));let i=this.records.get(Do);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Zu,ae,S.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let t=P(null);try{for(let n of this._ngOnDestroyHooks)n.ngOnDestroy();let r=this._onDestroyHooks;this._onDestroyHooks=[];for(let n of r)n()}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 r=ot(this),n=pe(void 0),o;try{return t()}finally{ot(r),pe(n)}}get(t,r=An,n=S.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(eu))return t[eu](this);n=vo(n);let o,i=ot(this),s=pe(void 0);try{if(!(n&S.SkipSelf)){let c=this.records.get(t);if(c===void 0){let u=Up(t)&&mo(t);u&&this.injectableDefInScope(u)?c=Gt(Ji(t),Ur):c=null,this.records.set(t,c)}if(c!=null)return this.hydrate(t,c)}let a=n&S.Self?Ls():this.parent;return r=n&S.Optional&&r===An?null:r,a.get(t,r)}catch(a){if(a.name==="NullInjectorError"){if((a[Zr]=a[Zr]||[]).unshift(ce(t)),i)throw a;return fp(a,t,"R3InjectorError",this.source)}else throw a}finally{pe(s),ot(i)}}resolveInjectorInitializers(){let t=P(null),r=ot(this),n=pe(void 0),o;try{let i=this.get(Kt,ae,S.Self);for(let s of i)s()}finally{ot(r),pe(n),P(t)}}toString(){let t=[],r=this.records;for(let n of r.keys())t.push(ce(n));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new v(205,!1)}processProvider(t){t=ge(t);let r=Ki(t)?t:ge(t&&t.provide),n=jp(t);if(!Ki(t)&&t.multi===!0){let o=this.records.get(r);o||(o=Gt(void 0,Ur,!0),o.factory=()=>Zi(o.multi),this.records.set(r,o)),r=t,o.multi.push(t)}this.records.set(r,n)}hydrate(t,r){let n=P(null);try{return r.value===Ur&&(r.value=Fp,r.value=r.factory()),typeof r.value=="object"&&r.value&&Bp(r.value)&&this._ngOnDestroyHooks.add(r.value),r.value}finally{P(n)}}injectableDefInScope(t){if(!t.providedIn)return!1;let r=ge(t.providedIn);return typeof r=="string"?r==="any"||this.scopes.has(r):this.injectorDefTypes.has(r)}removeOnDestroy(t){let r=this._onDestroyHooks.indexOf(t);r!==-1&&this._onDestroyHooks.splice(r,1)}};function Ji(e){let t=mo(e),r=t!==null?t.factory:Qt(e);if(r!==null)return r;if(e instanceof w)throw new v(204,!1);if(e instanceof Function)return Lp(e);throw new v(204,!1)}function Lp(e){if(e.length>0)throw new v(204,!1);let r=Kh(e);return r!==null?()=>r.factory(e):()=>new e}function jp(e){if(il(e))return Gt(void 0,e.useValue);{let t=Vp(e);return Gt(t,Ur)}}function Vp(e,t,r){let n;if(Ki(e)){let o=ge(e);return Qt(o)||Ji(o)}else if(il(e))n=()=>ge(e.useValue);else if(kp(e))n=()=>e.useFactory(...Zi(e.deps||[]));else if(Pp(e))n=()=>D(ge(e.useExisting));else{let o=ge(e&&(e.useClass||e.provide));if($p(e))n=()=>new o(...Zi(e.deps));else return Qt(o)||Ji(o)}return n}function Gt(e,t,r=!1){return{factory:e,value:t,multi:r?[]:void 0}}function $p(e){return!!e.deps}function Bp(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function Up(e){return typeof e=="function"||typeof e=="object"&&e instanceof w}function Xi(e,t){for(let r of e)Array.isArray(r)?Xi(r,t):r&&$u(r)?Xi(r.\u0275providers,t):t(r)}function _e(e,t){e instanceof On&&e.assertNotDestroyed();let r,n=ot(e),o=pe(void 0);try{return t()}finally{ot(n),pe(o)}}function sl(){return Uu()!==void 0||up()!=null}function Hp(e){if(!sl())throw new v(-203,!1)}function zp(e){let t=Se.ng;if(t&&t.\u0275compilerFacade)return t.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}function Gp(e){return typeof e=="function"}var Ze=0,T=1,b=2,K=3,Me=4,Ne=5,Kr=6,Jr=7,Ge=8,Jt=9,qe=10,ue=11,Pn=12,su=13,Hn=14,Fe=15,kn=16,qt=17,wo=18,Co=19,al=20,it=21,Fi=22,me=23,wt=25,cl=1;var Ct=7,Xr=8,eo=9,ve=10,to=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(to||{});function yt(e){return Array.isArray(e)&&typeof e[cl]=="object"}function Ye(e){return Array.isArray(e)&&e[cl]===!0}function ul(e){return(e.flags&4)!==0}function js(e){return e.componentOffset>-1}function ll(e){return(e.flags&1)===1}function zn(e){return!!e.template}function es(e){return(e[b]&512)!==0}var ts=class{constructor(t,r,n){this.previousValue=t,this.currentValue=r,this.firstChange=n}isFirstChange(){return this.firstChange}};function dl(e,t,r,n){t!==null?t.applyValueToInputSignal(t,n):e[r]=n}function Eo(){return fl}function fl(e){return e.type.prototype.ngOnChanges&&(e.setInput=Wp),qp}Eo.ngInherit=!0;function qp(){let e=pl(this),t=e?.current;if(t){let r=e.previous;if(r===Rn)e.previous=t;else for(let n in t)r[n]=t[n];e.current=null,this.ngOnChanges(t)}}function Wp(e,t,r,n,o){let i=this.declaredInputs[n],s=pl(e)||Zp(e,{previous:Rn,current:null}),a=s.current||(s.current={}),c=s.previous,u=c[i];a[i]=new ts(u&&u.currentValue,r,c===Rn),dl(e,t,o,r)}var hl="__ngSimpleChanges__";function pl(e){return e[hl]||null}function Zp(e,t){return e[hl]=t}var au=null;var Oe=function(e,t,r){au?.(e,t,r)},gl="svg",Yp="math";function Le(e){for(;Array.isArray(e);)e=e[Ze];return e}function ml(e,t){return Le(t[e])}function Ve(e,t){return Le(t[e.index])}function Qp(e,t){return e.data[t]}function an(e,t){let r=t[e];return yt(r)?r:r[Ze]}function Vs(e){return(e[b]&128)===128}function Kp(e){return Ye(e[K])}function cu(e,t){return t==null?null:e[t]}function vl(e){e[qt]=0}function yl(e){e[b]&1024||(e[b]|=1024,Vs(e)&&Io(e))}function Fn(e){return!!(e[b]&9216||e[me]?.dirty)}function ns(e){e[qe].changeDetectionScheduler?.notify(7),e[b]&64&&(e[b]|=1024),Fn(e)&&Io(e)}function Io(e){e[qe].changeDetectionScheduler?.notify(0);let t=Et(e);for(;t!==null&&!(t[b]&8192||(t[b]|=8192,!Vs(t)));)t=Et(t)}function Dl(e,t){if((e[b]&256)===256)throw new v(911,!1);e[it]===null&&(e[it]=[]),e[it].push(t)}function Jp(e,t){if(e[it]===null)return;let r=e[it].indexOf(t);r!==-1&&e[it].splice(r,1)}function Et(e){let t=e[K];return Ye(t)?t[K]:t}var A={lFrame:Tl(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var wl=!1;function Xp(){return A.lFrame.elementDepthCount}function eg(){A.lFrame.elementDepthCount++}function tg(){A.lFrame.elementDepthCount--}function Cl(){return A.bindingsEnabled}function ng(){return A.skipHydrationRootTNode!==null}function rg(e){return A.skipHydrationRootTNode===e}function og(){A.skipHydrationRootTNode=null}function Z(){return A.lFrame.lView}function cn(){return A.lFrame.tView}function $e(){let e=El();for(;e!==null&&e.type===64;)e=e.parent;return e}function El(){return A.lFrame.currentTNode}function ig(){let e=A.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function bo(e,t){let r=A.lFrame;r.currentTNode=e,r.isParent=t}function Il(){return A.lFrame.isParent}function sg(){A.lFrame.isParent=!1}function bl(){return wl}function uu(e){wl=e}function ag(){let e=A.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function cg(e){return A.lFrame.bindingIndex=e}function ug(){return A.lFrame.bindingIndex++}function lg(e){let t=A.lFrame,r=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,r}function dg(){return A.lFrame.inI18n}function fg(e,t){let r=A.lFrame;r.bindingIndex=r.bindingRootIndex=e,rs(t)}function hg(){return A.lFrame.currentDirectiveIndex}function rs(e){A.lFrame.currentDirectiveIndex=e}function pg(e){let t=A.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function Ml(e){A.lFrame.currentQueryIndex=e}function gg(e){let t=e[T];return t.type===2?t.declTNode:t.type===1?e[Ne]:null}function Sl(e,t,r){if(r&S.SkipSelf){let o=t,i=e;for(;o=o.parent,o===null&&!(r&S.Host);)if(o=gg(i),o===null||(i=i[Hn],o.type&10))break;if(o===null)return!1;t=o,e=i}let n=A.lFrame=xl();return n.currentTNode=t,n.lView=e,!0}function $s(e){let t=xl(),r=e[T];A.lFrame=t,t.currentTNode=r.firstChild,t.lView=e,t.tView=r,t.contextLView=e,t.bindingIndex=r.bindingStartIndex,t.inI18n=!1}function xl(){let e=A.lFrame,t=e===null?null:e.child;return t===null?Tl(e):t}function Tl(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 _l(){let e=A.lFrame;return A.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Nl=_l;function Bs(){let e=_l();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 un(){return A.lFrame.selectedIndex}function It(e){A.lFrame.selectedIndex=e}function Us(){A.lFrame.currentNamespace=gl}function Hs(){mg()}function mg(){A.lFrame.currentNamespace=null}function vg(){return A.lFrame.currentNamespace}var Al=!0;function Rl(){return Al}function Ol(e){Al=e}function yg(e,t,r){let{ngOnChanges:n,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(n){let s=fl(t);(r.preOrderHooks??=[]).push(e,s),(r.preOrderCheckHooks??=[]).push(e,s)}o&&(r.preOrderHooks??=[]).push(0-e,o),i&&((r.preOrderHooks??=[]).push(e,i),(r.preOrderCheckHooks??=[]).push(e,i))}function Pl(e,t){for(let r=t.directiveStart,n=t.directiveEnd;r=n)break}else t[c]<0&&(e[qt]+=65536),(a>14>16&&(e[b]&3)===t&&(e[b]+=16384,lu(a,i)):lu(a,i)}var Yt=-1,Ln=class{constructor(t,r,n){this.factory=t,this.resolving=!1,this.canSeeViewProviders=r,this.injectImpl=n}};function wg(e){return e instanceof Ln}function Cg(e){return(e.flags&8)!==0}function Eg(e){return(e.flags&16)!==0}var ji={},os=class{constructor(t,r){this.injector=t,this.parentInjector=r}get(t,r,n){n=vo(n);let o=this.injector.get(t,ji,n);return o!==ji||r===ji?o:this.parentInjector.get(t,r,n)}};function Fl(e){return e!==Yt}function no(e){return e&32767}function Ig(e){return e>>16}function ro(e,t){let r=Ig(e),n=t;for(;r>0;)n=n[Hn],r--;return n}var is=!0;function du(e){let t=is;return is=e,t}var bg=256,Ll=bg-1,jl=5,Mg=0,Pe={};function Sg(e,t,r){let n;typeof r=="string"?n=r.charCodeAt(0)||0:r.hasOwnProperty(_n)&&(n=r[_n]),n==null&&(n=r[_n]=Mg++);let o=n&Ll,i=1<>jl)]|=i}function Vl(e,t){let r=$l(e,t);if(r!==-1)return r;let n=t[T];n.firstCreatePass&&(e.injectorIndex=t.length,Vi(n.data,e),Vi(t,null),Vi(n.blueprint,null));let o=zs(e,t),i=e.injectorIndex;if(Fl(o)){let s=no(o),a=ro(o,t),c=a[T].data;for(let u=0;u<8;u++)t[i+u]=a[s+u]|c[s+u]}return t[i+8]=o,i}function Vi(e,t){e.push(0,0,0,0,0,0,0,0,t)}function $l(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function zs(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let r=0,n=null,o=t;for(;o!==null;){if(n=Gl(o),n===null)return Yt;if(r++,o=o[Hn],n.injectorIndex!==-1)return n.injectorIndex|r<<16}return Yt}function xg(e,t,r){Sg(e,t,r)}function Bl(e,t,r){if(r&S.Optional||e!==void 0)return e;_s(t,"NodeInjector")}function Ul(e,t,r,n){if(r&S.Optional&&n===void 0&&(n=null),!(r&(S.Self|S.Host))){let o=e[Jt],i=pe(void 0);try{return o?o.get(t,n,r&S.Optional):Hu(t,n,r&S.Optional)}finally{pe(i)}}return Bl(n,t,r)}function Hl(e,t,r,n=S.Default,o){if(e!==null){if(t[b]&2048&&!(n&S.Self)){let s=Rg(e,t,r,n,Pe);if(s!==Pe)return s}let i=zl(e,t,r,n,Pe);if(i!==Pe)return i}return Ul(t,r,n,o)}function zl(e,t,r,n,o){let i=Ng(r);if(typeof i=="function"){if(!Sl(t,e,n))return n&S.Host?Bl(o,r,n):Ul(t,r,n,o);try{let s;if(s=i(n),s==null&&!(n&S.Optional))_s(r);else return s}finally{Nl()}}else if(typeof i=="number"){let s=null,a=$l(e,t),c=Yt,u=n&S.Host?t[Fe][Ne]:null;for((a===-1||n&S.SkipSelf)&&(c=a===-1?zs(e,t):t[a+8],c===Yt||!hu(n,!1)?a=-1:(s=t[T],a=no(c),t=ro(c,t)));a!==-1;){let l=t[T];if(fu(i,a,l.data)){let d=Tg(a,t,r,s,n,u);if(d!==Pe)return d}c=t[a+8],c!==Yt&&hu(n,t[T].data[a+8]===u)&&fu(i,a,t)?(s=l,a=no(c),t=ro(c,t)):a=-1}}return o}function Tg(e,t,r,n,o,i){let s=t[T],a=s.data[e+8],c=n==null?js(a)&&is:n!=s&&(a.type&3)!==0,u=o&S.Host&&i===a,l=_g(a,s,r,c,u);return l!==null?jn(t,s,l,a):Pe}function _g(e,t,r,n,o){let i=e.providerIndexes,s=t.data,a=i&1048575,c=e.directiveStart,u=e.directiveEnd,l=i>>20,d=n?a:a+l,h=o?a+l:u;for(let f=d;f=c&&g.type===r)return f}if(o){let f=s[c];if(f&&zn(f)&&f.type===r)return c}return null}function jn(e,t,r,n){let o=e[r],i=t.data;if(wg(o)){let s=o;s.resolving&&op(rp(i[r]));let a=du(s.canSeeViewProviders);s.resolving=!0;let c,u=s.injectImpl?pe(s.injectImpl):null,l=Sl(e,n,S.Default);try{o=e[r]=s.factory(void 0,i,e,n),t.firstCreatePass&&r>=n.directiveStart&&yg(r,i[r],t)}finally{u!==null&&pe(u),du(a),s.resolving=!1,Nl()}}return o}function Ng(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(_n)?e[_n]:void 0;return typeof t=="number"?t>=0?t&Ll:Ag:t}function fu(e,t,r){let n=1<>jl)]&n)}function hu(e,t){return!(e&S.Self)&&!(e&S.Host&&t)}var Dt=class{constructor(t,r){this._tNode=t,this._lView=r}get(t,r,n){return Hl(this._tNode,this._lView,t,vo(n),r)}};function Ag(){return new Dt($e(),Z())}function Gs(e){return Bn(()=>{let t=e.prototype.constructor,r=t[Wr]||ss(t),n=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==n;){let i=o[Wr]||ss(o);if(i&&i!==r)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function ss(e){return Fu(e)?()=>{let t=ss(ge(e));return t&&t()}:Qt(e)}function Rg(e,t,r,n,o){let i=e,s=t;for(;i!==null&&s!==null&&s[b]&2048&&!(s[b]&512);){let a=zl(i,s,r,n|S.Self,Pe);if(a!==Pe)return a;let c=i.parent;if(!c){let u=s[al];if(u){let l=u.get(r,Pe,n);if(l!==Pe)return l}c=Gl(s),s=s[Hn]}i=c}return o}function Gl(e){let t=e[T],r=t.type;return r===2?t.declTNode:r===1?e[Ne]:null}function pu(e,t=null,r=null,n){let o=ql(e,t,r,n);return o.resolveInjectorInitializers(),o}function ql(e,t=null,r=null,n,o=new Set){let i=[r||ae,Rp(e)];return n=n||(typeof e=="object"?void 0:ce(e)),new On(i,t||Ls(),n||null,o)}var vt=class vt{static create(t,r){if(Array.isArray(t))return pu({name:""},r,t,"");{let n=t.name??"";return pu({name:n},t.parent,t.providers,n)}}};vt.THROW_IF_NOT_FOUND=An,vt.NULL=new Qr,vt.\u0275prov=y({token:vt,providedIn:"any",factory:()=>D(Wu)}),vt.__NG_ELEMENT_ID__=-1;var ye=vt;var Og=new w("");Og.__NG_ELEMENT_ID__=e=>{let t=$e();if(t===null)throw new v(204,!1);if(t.type&2)return t.value;if(e&S.Optional)return null;throw new v(204,!1)};var Pg="ngOriginalError";function $i(e){return e[Pg]}var je=class{constructor(){this._console=console}handleError(t){let r=this._findOriginalError(t);this._console.error("ERROR",t),r&&this._console.error("ORIGINAL ERROR",r)}_findOriginalError(t){let r=t&&$i(t);for(;r&&$i(r);)r=$i(r);return r||null}},Wl=new w("",{providedIn:"root",factory:()=>p(je).handleError.bind(void 0)}),qs=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=kg,t.__NG_ENV_ID__=n=>n;let e=t;return e})(),as=class extends qs{constructor(t){super(),this._lView=t}onDestroy(t){return Dl(this._lView,t),()=>Jp(this._lView,t)}};function kg(){return new as(Z())}function Fg(){return Ws($e(),Z())}function Ws(e,t){return new Mo(Ve(e,t))}var Mo=(()=>{let t=class t{constructor(n){this.nativeElement=n}};t.__NG_ELEMENT_ID__=Fg;let e=t;return e})();var ln=(()=>{let t=class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new q(!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)}};t.\u0275prov=y({token:t,providedIn:"root",factory:()=>new t});let e=t;return e})();var cs=class extends Y{constructor(t=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=t,sl()&&(this.destroyRef=p(qs,{optional:!0})??void 0,this.pendingTasks=p(ln,{optional:!0})??void 0)}emit(t){let r=P(null);try{super.next(t)}finally{P(r)}}subscribe(t,r,n){let o=t,i=r||(()=>null),s=n;if(t&&typeof t=="object"){let c=t;o=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof B&&t.add(a),a}wrapInTimeout(t){return r=>{let n=this.pendingTasks?.add();setTimeout(()=>{t(r),n!==void 0&&this.pendingTasks?.remove(n)})}}},Q=cs;function Zl(e){return(e.flags&128)===128}var Yl=new Map,Lg=0;function jg(){return Lg++}function Vg(e){Yl.set(e[Co],e)}function $g(e){Yl.delete(e[Co])}var gu="__ngContext__";function Xt(e,t){yt(t)?(e[gu]=t[Co],Vg(t)):e[gu]=t}function Ql(e){return Jl(e[Pn])}function Kl(e){return Jl(e[Me])}function Jl(e){for(;e!==null&&!Ye(e);)e=e[Me];return e}var us;function Xl(e){us=e}function Bg(){if(us!==void 0)return us;if(typeof document<"u")return document;throw new v(210,!1)}var So=new w("",{providedIn:"root",factory:()=>Ug}),Ug="ng",Zs=new w(""),ut=new w("",{providedIn:"platform",factory:()=>"unknown"});var Ys=new w("",{providedIn:"root",factory:()=>Bg().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var Hg="h",zg="b";var Gg=()=>null;function Qs(e,t,r=!1){return Gg(e,t,r)}var ed=!1,qg=new w("",{providedIn:"root",factory:()=>ed});var ls=class{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Zh})`}};function Ks(e){return e instanceof ls?e.changingThisBreaksApplicationSecurity:e}function td(e){return e instanceof Function?e():e}function Wg(e){return(e??p(ye)).get(ut)==="browser"}var We=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(We||{}),Zg;function Js(e,t){return Zg(e,t)}function Wt(e,t,r,n,o){if(n!=null){let i,s=!1;Ye(n)?i=n:yt(n)&&(s=!0,n=n[Ze]);let a=Le(n);e===0&&r!==null?o==null?sd(t,r,a):oo(t,r,a,o||null,!0):e===1&&r!==null?oo(t,r,a,o||null,!0):e===2?lm(t,a,s):e===3&&t.destroyNode(a),i!=null&&fm(t,e,i,r,o)}}function Yg(e,t){return e.createText(t)}function Qg(e,t,r){e.setValue(t,r)}function nd(e,t,r){return e.createElement(t,r)}function Kg(e,t){rd(e,t),t[Ze]=null,t[Ne]=null}function Jg(e,t,r,n,o,i){n[Ze]=o,n[Ne]=t,xo(e,n,r,1,o,i)}function rd(e,t){t[qe].changeDetectionScheduler?.notify(8),xo(e,t,t[ue],2,null,null)}function Xg(e){let t=e[Pn];if(!t)return Bi(e[T],e);for(;t;){let r=null;if(yt(t))r=t[Pn];else{let n=t[ve];n&&(r=n)}if(!r){for(;t&&!t[Me]&&t!==e;)yt(t)&&Bi(t[T],t),t=t[K];t===null&&(t=e),yt(t)&&Bi(t[T],t),r=t&&t[Me]}t=r}}function em(e,t,r,n){let o=ve+n,i=r.length;n>0&&(r[o-1][Me]=t),n0&&(e[r-1][Me]=n[Me]);let i=Yr(e,ve+t);Kg(n[T],n);let s=i[wo];s!==null&&s.detachView(i[T]),n[K]=null,n[Me]=null,n[b]&=-129}return n}function id(e,t){if(!(t[b]&256)){let r=t[ue];r.destroyNode&&xo(e,t,r,3,null,null),Xg(t)}}function Bi(e,t){if(t[b]&256)return;let r=P(null);try{t[b]&=-129,t[b]|=256,t[me]&&gi(t[me]),nm(e,t),tm(e,t),t[T].type===1&&t[ue].destroy();let n=t[kn];if(n!==null&&Ye(t[K])){n!==t[K]&&Xs(n,t);let o=t[wo];o!==null&&o.detachView(e)}$g(t)}finally{P(r)}}function tm(e,t){let r=e.cleanup,n=t[Jr];if(r!==null)for(let i=0;i=0?n[s]():n[-s].unsubscribe(),i+=2}else{let s=n[r[i+1]];r[i].call(s)}n!==null&&(t[Jr]=null);let o=t[it];if(o!==null){t[it]=null;for(let i=0;i-1){let{encapsulation:i}=e.data[n.directiveStart+o];if(i===ke.None||i===ke.Emulated)return null}return Ve(n,r)}}function oo(e,t,r,n,o){e.insertBefore(t,r,n,o)}function sd(e,t,r){e.appendChild(t,r)}function mu(e,t,r,n,o){n!==null?oo(e,t,r,n,o):sd(e,t,r)}function im(e,t,r,n){e.removeChild(t,r,n)}function ea(e,t){return e.parentNode(t)}function sm(e,t){return e.nextSibling(t)}function am(e,t,r){return um(e,t,r)}function cm(e,t,r){return e.type&40?Ve(e,r):null}var um=cm,vu;function ad(e,t,r,n){let o=rm(e,n,t),i=t[ue],s=n.parent||t[Ne],a=am(s,n,t);if(o!=null)if(Array.isArray(r))for(let c=0;cwt&&dd(e,t,wt,!1),Oe(s?2:0,o),r(n,o)}finally{It(i),Oe(s?3:1,o)}}function md(e,t,r){if(ul(t)){let n=P(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;snull;function Im(e,t,r,n,o,i){let s=t?t.injectorIndex:-1,a=0;return ng()&&(a|=128),{type:r,index:n,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function yu(e,t,r,n,o){for(let i in t){if(!t.hasOwnProperty(i))continue;let s=t[i];if(s===void 0)continue;n??={};let a,c=st.None;Array.isArray(s)?(a=s[0],c=s[1]):a=s;let u=i;if(o!==null){if(!o.hasOwnProperty(i))continue;u=o[i]}e===0?Du(n,r,u,a,c):Du(n,r,u,a)}return n}function Du(e,t,r,n,o){let i;e.hasOwnProperty(r)?(i=e[r]).push(t,n):i=e[r]=[t,n],o!==void 0&&i.push(o)}function bm(e,t,r){let n=t.directiveStart,o=t.directiveEnd,i=e.data,s=t.attrs,a=[],c=null,u=null;for(let l=n;l0;){let r=e[--t];if(typeof r=="number"&&r<0)return r}return 0}function Tm(e,t,r,n){let o=r.directiveStart,i=r.directiveEnd;js(r)&&km(t,r,e.data[o+r.componentOffset]),e.firstCreatePass||Vl(r,t),Xt(n,t);let s=r.initialInputs;for(let a=o;a{Io(e.lView)},consumerOnSignalRead(){this.lView[me]=this}});function Km(e){let t=e[me]??Object.create(Jm);return t.lView=e,t}var Jm=V(m({},fi),{consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{let t=Et(e.lView);for(;t&&!Sd(t[T]);)t=Et(t);t&&yl(t)},consumerOnSignalRead(){this.lView[me]=this}});function Sd(e){return e.type!==2}var Xm=100;function xd(e,t=!0,r=0){let n=e[qe],o=n.rendererFactory,i=!1;i||o.begin?.();try{ev(e,r)}catch(s){throw t&&Ed(e,s),s}finally{i||(o.end?.(),n.inlineEffectRunner?.flush())}}function ev(e,t){let r=bl();try{uu(!0),gs(e,t);let n=0;for(;Fn(e);){if(n===Xm)throw new v(103,!1);n++,gs(e,1)}}finally{uu(r)}}function tv(e,t,r,n){let o=t[b];if((o&256)===256)return;let i=!1,s=!1;!i&&t[qe].inlineEffectRunner?.flush(),$s(t);let a=!0,c=null,u=null;i||(Sd(e)?(u=Wm(t),c=hi(u)):wc()===null?(a=!1,u=Km(t),c=hi(u)):t[me]&&(gi(t[me]),t[me]=null));try{vl(t),cg(e.bindingStartIndex),r!==null&&gd(e,t,r,2,n);let l=(o&3)===3;if(!i)if(l){let f=e.preOrderCheckHooks;f!==null&&Hr(t,f,null)}else{let f=e.preOrderHooks;f!==null&&zr(t,f,0,null),Li(t,0)}if(s||nv(t),Td(t,0),e.contentQueries!==null&&Cd(e,t),!i)if(l){let f=e.contentCheckHooks;f!==null&&Hr(t,f)}else{let f=e.contentHooks;f!==null&&zr(t,f,1),Li(t,1)}gm(e,t);let d=e.components;d!==null&&Nd(t,d,0);let h=e.viewQuery;if(h!==null&&ps(2,h,n),!i)if(l){let f=e.viewCheckHooks;f!==null&&Hr(t,f)}else{let f=e.viewHooks;f!==null&&zr(t,f,2),Li(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[Fi]){for(let f of t[Fi])f();t[Fi]=null}i||(t[b]&=-73)}catch(l){throw i||Io(t),l}finally{u!==null&&(Cc(u,c),a&&Ym(u)),Bs()}}function Td(e,t){for(let r=Ql(e);r!==null;r=Kl(r))for(let n=ve;n-1&&(ds(t,n),Yr(r,n))}this._attachedToViewContainer=!1}id(this._lView[T],this._lView)}onDestroy(t){Dl(this._lView,t)}markForCheck(){sa(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[b]&=-129}reattach(){ns(this._lView),this._lView[b]|=128}detectChanges(){this._lView[b]|=1024,xd(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new v(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=es(this._lView),r=this._lView[kn];r!==null&&!t&&Xs(r,this._lView),rd(this._lView[T],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new v(902,!1);this._appRef=t;let r=es(this._lView),n=this._lView[kn];n!==null&&!r&&od(n,this._lView),ns(this._lView)}};var aS=new RegExp(`^(\\d+)*(${zg}|${Hg})*(.*)`);var ov=()=>null;function Cu(e,t){return ov(e,t)}var tn=class{},Ad=new w("",{providedIn:"root",factory:()=>!1});var Rd=new w(""),ms=class{},so=class{};function iv(e){let t=Error(`No component factory found for ${ce(e)}.`);return t[sv]=e,t}var sv="ngComponent";var vs=class{resolveComponentFactory(t){throw iv(t)}},va=class va{};va.NULL=new vs;var nn=va,rn=class{};var av=(()=>{let t=class t{};t.\u0275prov=y({token:t,providedIn:"root",factory:()=>null});let e=t;return e})();var Eu=new Set;function aa(e){Eu.has(e)||(Eu.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function Od(e){let t=!0;return setTimeout(()=>{t&&(t=!1,e())}),typeof Se.requestAnimationFrame=="function"&&Se.requestAnimationFrame(()=>{t&&(t=!1,e())}),()=>{t=!1}}function Iu(e){let t=!0;return queueMicrotask(()=>{t&&e()}),()=>{t=!1}}function bu(...e){}var j=class e{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:n=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Q(!1),this.onMicrotaskEmpty=new Q(!1),this.onStable=new Q(!1),this.onError=new Q(!1),typeof Zone>"u")throw new v(908,!1);Zone.assertZonePatched();let o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!n&&r,o.shouldCoalesceRunChangeDetection=n,o.callbackScheduled=!1,lv(o)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get("isAngularZone")===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new v(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new v(909,!1)}run(t,r,n){return this._inner.run(t,r,n)}runTask(t,r,n,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,cv,bu,bu);try{return i.runTask(s,r,n)}finally{i.cancelTask(s)}}runGuarded(t,r,n){return this._inner.runGuarded(t,r,n)}runOutsideAngular(t){return this._outer.run(t)}},cv={};function ca(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 uv(e){e.isCheckStableRunning||e.callbackScheduled||(e.callbackScheduled=!0,Zone.root.run(()=>{Od(()=>{e.callbackScheduled=!1,ys(e),e.isCheckStableRunning=!0,ca(e),e.isCheckStableRunning=!1})}),ys(e))}function lv(e){let t=()=>{uv(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(r,n,o,i,s,a)=>{if(dv(a))return r.invokeTask(o,i,s,a);try{return Mu(e),r.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&i.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),Su(e)}},onInvoke:(r,n,o,i,s,a,c)=>{try{return Mu(e),r.invoke(o,i,s,a,c)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!fv(a)&&t(),Su(e)}},onHasTask:(r,n,o,i)=>{r.hasTask(o,i),n===o&&(i.change=="microTask"?(e._hasPendingMicrotasks=i.microTask,ys(e),ca(e)):i.change=="macroTask"&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(r,n,o,i)=>(r.handleError(o,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}function ys(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Mu(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Su(e){e._nesting--,ca(e)}var ao=class{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Q,this.onMicrotaskEmpty=new Q,this.onStable=new Q,this.onError=new Q}run(t,r,n){return t.apply(r,n)}runGuarded(t,r,n){return t.apply(r,n)}runOutsideAngular(t){return t()}runTask(t,r,n,o){return t.apply(r,n)}};function dv(e){return Pd(e,"__ignore_ng_zone__")}function fv(e){return Pd(e,"__scheduler_tick__")}function Pd(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}function hv(e="zone.js",t){return e==="noop"?new ao:e==="zone.js"?new j(t):e}var ne=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(ne||{}),pv={destroy(){}};function To(e,t){!t&&Hp(To);let r=t?.injector??p(ye);return Wg(r)?(aa("NgAfterNextRender"),mv(e,r,!0,t?.phase??ne.MixedReadWrite)):pv}function gv(e,t){if(e instanceof Function)switch(t){case ne.EarlyRead:return{earlyRead:e};case ne.Write:return{write:e};case ne.MixedReadWrite:return{mixedReadWrite:e};case ne.Read:return{read:e}}return e}function mv(e,t,r,n){let o=gv(e,n),i=t.get(ua),s=i.handler??=new ws,a=[],c=[],u=()=>{for(let f of c)s.unregister(f);l()},l=t.get(qs).onDestroy(u),d=0,h=(f,g)=>{if(!g)return;let E=r?(...L)=>{d--,d<1&&u(),g(...L)}:g,R=_e(t,()=>new Ds(f,a,E));s.register(R),c.push(R),d++};return h(ne.EarlyRead,o.earlyRead),h(ne.Write,o.write),h(ne.MixedReadWrite,o.mixedReadWrite),h(ne.Read,o.read),{destroy:u}}var Ds=class{constructor(t,r,n){this.phase=t,this.pipelinedArgs=r,this.callbackFn=n,this.zone=p(j),this.errorHandler=p(je,{optional:!0}),p(tn,{optional:!0})?.notify(6)}invoke(){try{let t=this.zone.runOutsideAngular(()=>this.callbackFn.apply(null,this.pipelinedArgs));this.pipelinedArgs.splice(0,this.pipelinedArgs.length,t)}catch(t){this.errorHandler?.handleError(t)}}},ws=class{constructor(){this.executingCallbacks=!1,this.buckets={[ne.EarlyRead]:new Set,[ne.Write]:new Set,[ne.MixedReadWrite]:new Set,[ne.Read]:new Set},this.deferredCallbacks=new Set}register(t){(this.executingCallbacks?this.deferredCallbacks:this.buckets[t.phase]).add(t)}unregister(t){this.buckets[t.phase].delete(t),this.deferredCallbacks.delete(t)}execute(){this.executingCallbacks=!0;for(let t of Object.values(this.buckets))for(let r of t)r.invoke();this.executingCallbacks=!1;for(let t of this.deferredCallbacks)this.buckets[t.phase].add(t);this.deferredCallbacks.clear()}destroy(){for(let t of Object.values(this.buckets))t.clear();this.deferredCallbacks.clear()}},ua=(()=>{let t=class t{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){let n=[...this.internalCallbacks];this.internalCallbacks.length=0;for(let o of n)o()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}};t.\u0275prov=y({token:t,providedIn:"root",factory:()=>new t});let e=t;return e})();function Cs(e,t,r){let n=r?e.styles:null,o=r?e.classes:null,i=0;if(t!==null)for(let s=0;s0&&ud(e,r,i.join(" "))}}function Iv(e,t,r){let n=e.projection=[];for(let o=0;o{let t=class t{};t.__NG_ELEMENT_ID__=Mv;let e=t;return e})();function Mv(){let e=$e();return xv(e,Z())}var Sv=_o,kd=class extends Sv{constructor(t,r,n){super(),this._lContainer=t,this._hostTNode=r,this._hostLView=n}get element(){return Ws(this._hostTNode,this._hostLView)}get injector(){return new Dt(this._hostTNode,this._hostLView)}get parentInjector(){let t=zs(this._hostTNode,this._hostLView);if(Fl(t)){let r=ro(t,this._hostLView),n=no(t),o=r[T].data[n+8];return new Dt(o,r)}else return new Dt(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let r=Tu(this._lContainer);return r!==null&&r[t]||null}get length(){return this._lContainer.length-ve}createEmbeddedView(t,r,n){let o,i;typeof n=="number"?o=n:n!=null&&(o=n.index,i=n.injector);let s=Cu(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(r||{},i,s);return this.insertImpl(a,o,wu(this._hostTNode,s)),a}createComponent(t,r,n,o,i){let s=t&&!Gp(t),a;if(s)a=r;else{let g=r||{};a=g.index,n=g.injector,o=g.projectableNodes,i=g.environmentInjector||g.ngModuleRef}let c=s?t:new on(at(t)),u=n||this.parentInjector;if(!i&&c.ngModule==null){let E=(s?u:this.parentInjector).get(re,null);E&&(i=E)}let l=at(c.componentType??{}),d=Cu(this._lContainer,l?.id??null),h=d?.firstChild??null,f=c.create(u,o,h,i);return this.insertImpl(f.hostView,a,wu(this._hostTNode,d)),f}insert(t,r){return this.insertImpl(t,r,!0)}insertImpl(t,r,n){let o=t._lView;if(Kp(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[K],u=new kd(c,c[Ne],c[K]);u.detach(u.indexOf(t))}}let i=this._adjustIndex(r),s=this._lContainer;return Gm(s,o,i,n),t.attachToViewContainerRef(),qu(Ui(s),i,t),t}move(t,r){return this.insert(t,r)}indexOf(t){let r=Tu(this._lContainer);return r!==null?r.indexOf(t):-1}remove(t){let r=this._adjustIndex(t,-1),n=ds(this._lContainer,r);n&&(Yr(Ui(this._lContainer),r),id(n[T],n))}detach(t){let r=this._adjustIndex(t,-1),n=ds(this._lContainer,r);return n&&Yr(Ui(this._lContainer),r)!=null?new en(n):null}_adjustIndex(t,r=0){return t??this.length+r}};function Tu(e){return e[Xr]}function Ui(e){return e[Xr]||(e[Xr]=[])}function xv(e,t){let r,n=t[e.index];return Ye(n)?r=n:(r=jm(n,t,null,e),t[e.index]=r,ia(t,r)),_v(r,t,e,n),new kd(r,e,t)}function Tv(e,t){let r=e[ue],n=r.createComment(""),o=Ve(t,e),i=ea(r,o);return oo(r,i,n,sm(r,o),!1),n}var _v=Nv;function Nv(e,t,r,n){if(e[Ct])return;let o;r.type&8?o=Le(n):o=Tv(t,r),e[Ct]=o}function Av(e){let t=[],r=new Map;function n(o){let i=r.get(o);if(!i){let s=e(o);r.set(o,i=s.then(kv))}return i}return uo.forEach((o,i)=>{let s=[];o.templateUrl&&s.push(n(o.templateUrl).then(u=>{o.template=u}));let a=typeof o.styles=="string"?[o.styles]:o.styles||[];if(o.styles=a,o.styleUrl&&o.styleUrls?.length)throw new Error("@Component cannot define both `styleUrl` and `styleUrls`. Use `styleUrl` if the component has one stylesheet, or `styleUrls` if it has multiple");if(o.styleUrls?.length){let u=o.styles.length,l=o.styleUrls;o.styleUrls.forEach((d,h)=>{a.push(""),s.push(n(d).then(f=>{a[u+h]=f,l.splice(l.indexOf(d),1),l.length==0&&(o.styleUrls=void 0)}))})}else o.styleUrl&&s.push(n(o.styleUrl).then(u=>{a.push(u),o.styleUrl=void 0}));let c=Promise.all(s).then(()=>Fv(i));t.push(c)}),Ov(),Promise.all(t).then(()=>{})}var uo=new Map,Rv=new Set;function Ov(){let e=uo;return uo=new Map,e}function Pv(){return uo.size===0}function kv(e){return typeof e=="string"?e:e.text()}function Fv(e){Rv.delete(e)}var ct=class{},Vn=class{};var lo=class extends ct{constructor(t,r,n){super(),this._parent=r,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new co(this);let o=el(t);this._bootstrapComponents=td(o.bootstrap),this._r3Injector=ql(t,r,[{provide:ct,useValue:this},{provide:nn,useValue:this.componentFactoryResolver},...n],ce(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){let t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(r=>r()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}},fo=class extends Vn{constructor(t){super(),this.moduleType=t}create(t){return new lo(this.moduleType,t,[])}};function Lv(e,t,r){return new lo(e,t,r)}var Is=class extends ct{constructor(t){super(),this.componentFactoryResolver=new co(this),this.instance=null;let r=new On([...t.providers,{provide:ct,useValue:this},{provide:nn,useValue:this.componentFactoryResolver}],t.parent||Ls(),t.debugName,new Set(["environment"]));this.injector=r,t.runEnvironmentInitializers&&r.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function No(e,t,r=null){return new Is({providers:e,parent:t,debugName:r,runEnvironmentInitializers:!0}).injector}function jv(e,t,r){return e[t]=r}function ho(e,t,r){let n=e[t];return Object.is(n,r)?!1:(e[t]=r,!0)}function Vv(e,t,r,n){let o=ho(e,t,r);return ho(e,t+1,n)||o}function $v(e){return(e.flags&32)===32}function Bv(e,t,r,n){return ho(e,ug(),r)?t+Bu(r)+n:lt}function $r(e,t){return e<<17|t<<2}function bt(e){return e>>17&32767}function Uv(e){return(e&2)==2}function Hv(e,t){return e&131071|t<<17}function bs(e){return e|2}function sn(e){return(e&131068)>>2}function Hi(e,t){return e&-131069|t<<2}function zv(e){return(e&1)===1}function Ms(e){return e|1}function Gv(e,t,r,n,o,i){let s=i?t.classBindings:t.styleBindings,a=bt(s),c=sn(s);e[n]=r;let u=!1,l;if(Array.isArray(r)){let d=r;l=d[1],(l===null||Un(d,l)>0)&&(u=!0)}else l=r;if(o)if(c!==0){let h=bt(e[a+1]);e[n+1]=$r(h,a),h!==0&&(e[h+1]=Hi(e[h+1],n)),e[a+1]=Hv(e[a+1],n)}else e[n+1]=$r(a,0),a!==0&&(e[a+1]=Hi(e[a+1],n)),a=n;else e[n+1]=$r(c,0),a===0?a=n:e[c+1]=Hi(e[c+1],n),c=n;u&&(e[n+1]=bs(e[n+1])),_u(e,l,n,!0),_u(e,l,n,!1),qv(t,l,e,n,i),s=$r(a,c),i?t.classBindings=s:t.styleBindings=s}function qv(e,t,r,n,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&Un(i,t)>=0&&(r[n+1]=Ms(r[n+1]))}function _u(e,t,r,n){let o=e[r+1],i=t===null,s=n?bt(o):sn(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],u=e[s+1];Wv(c,t)&&(a=!0,e[s+1]=n?Ms(u):bs(u)),s=n?bt(u):sn(u)}a&&(e[r+1]=n?bs(o):Ms(o))}function Wv(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?Un(e,t)>=0:!1}var be={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Zv(e){return e.substring(be.key,be.keyEnd)}function Yv(e){return Qv(e),Fd(e,Ld(e,0,be.textEnd))}function Fd(e,t){let r=be.textEnd;return r===t?-1:(t=be.keyEnd=Kv(e,be.key=t,r),Ld(e,t,r))}function Qv(e){be.key=0,be.keyEnd=0,be.value=0,be.valueEnd=0,be.textEnd=e.length}function Ld(e,t,r){for(;t32;)t++;return t}function Ss(e,t,r,n,o){let i=t.inputs,s=o?"class":"style";Id(e,r,i[s],s,n)}function la(e){Xv(sy,Jv,e,!0)}function Jv(e,t){for(let r=Yv(t);r>=0;r=Fd(t,r))Rs(e,Zv(t),!0)}function Xv(e,t,r,n){let o=cn(),i=lg(2);o.firstUpdatePass&&ey(o,null,i,n);let s=Z();if(r!==lt&&ho(s,i,r)){let a=o.data[un()];if(Vd(a,n)&&!jd(o,i)){let c=n?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(r=Gi(c,r||"")),Ss(o,a,s,r,n)}else ay(o,a,s,s[ue],s[i+1],s[i+1]=iy(e,t,r),n,i)}}function jd(e,t){return t>=e.expandoStartIndex}function ey(e,t,r,n){let o=e.data;if(o[r+1]===null){let i=o[un()],s=jd(e,r);Vd(i,n)&&t===null&&!s&&(t=!1),t=ty(o,i,t,n),Gv(o,i,t,r,s,n)}}function ty(e,t,r,n){let o=pg(e),i=n?t.residualClasses:t.residualStyles;if(o===null)(n?t.classBindings:t.styleBindings)===0&&(r=zi(null,e,t,r,n),r=$n(r,t.attrs,n),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(r=zi(o,e,t,r,n),i===null){let c=ny(e,t,n);c!==void 0&&Array.isArray(c)&&(c=zi(null,e,t,c[1],n),c=$n(c,t.attrs,n),ry(e,t,n,c))}else i=oy(e,t,n)}return i!==void 0&&(n?t.residualClasses=i:t.residualStyles=i),r}function ny(e,t,r){let n=r?t.classBindings:t.styleBindings;if(sn(n)!==0)return e[bt(n)]}function ry(e,t,r,n){let o=r?t.classBindings:t.styleBindings;e[bt(o)]=n}function oy(e,t,r){let n,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i0;){let c=e[o],u=Array.isArray(c),l=u?c[1]:c,d=l===null,h=r[o+1];h===lt&&(h=d?ae:void 0);let f=d?Pi(h,n):l===n?h:void 0;if(u&&!po(f)&&(f=Pi(c,n)),po(f)&&(a=f,s))return a;let g=e[o+1];o=s?bt(g):sn(g)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=Pi(c,n))}return a}function po(e){return e!==void 0}function Vd(e,t){return(e.flags&(t?8:16))!==0}function uy(e,t,r,n,o,i){let s=t.consts,a=cu(s,o),c=oa(t,e,2,n,a);return Mm(t,r,c,cu(s,i)),c.attrs!==null&&Cs(c,c.attrs,!1),c.mergedAttrs!==null&&Cs(c,c.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,c),c}function J(e,t,r,n){let o=Z(),i=cn(),s=wt+e,a=o[ue],c=i.firstCreatePass?uy(s,i,o,t,r,n):i.data[s],u=ly(i,o,c,a,t,e);o[s]=u;let l=ll(c);return bo(c,!0),ld(a,u,c),!$v(c)&&Rl()&&ad(i,o,u,c),Xp()===0&&Xt(u,o),eg(),l&&(vm(i,o,c),md(i,c,o)),n!==null&&ym(o,c),J}function X(){let e=$e();Il()?sg():(e=e.parent,bo(e,!1));let t=e;rg(t)&&og(),tg();let r=cn();return r.firstCreatePass&&(Pl(r,e),ul(e)&&r.queries.elementEnd(e)),t.classesWithoutHost!=null&&Cg(t)&&Ss(r,t,Z(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&Eg(t)&&Ss(r,t,Z(),t.stylesWithoutHost,!1),X}function Qe(e,t,r,n){return J(e,t,r,n),X(),Qe}var ly=(e,t,r,n,o,i)=>(Ol(!0),nd(n,o,vg()));var go="en-US";var dy=go;function fy(e){typeof e=="string"&&(dy=e.toLowerCase().replace(/_/g,"-"))}var hy=(e,t,r)=>{};function Ao(e,t,r,n){let o=Z(),i=cn(),s=$e();return gy(i,o,o[ue],s,e,t,n),Ao}function py(e,t,r,n){let o=e.cleanup;if(o!=null)for(let i=0;ic?a[c]:null}typeof s=="string"&&(i+=2)}return null}function gy(e,t,r,n,o,i,s){let a=ll(n),u=e.firstCreatePass&&$m(e),l=t[Ge],d=Vm(t),h=!0;if(n.type&3||s){let E=Ve(n,t),R=s?s(E):E,L=d.length,we=s?Ue=>s(Le(Ue[n.index])):n.index,H=null;if(!s&&a&&(H=py(e,t,o,n.index)),H!==null){let Ue=H.__ngLastListenerFn__||H;Ue.__ngNextListenerFn__=i,H.__ngLastListenerFn__=i,h=!1}else{i=Ru(n,t,l,i),hy(E,o,i);let Ue=r.listen(R,o,i);d.push(i,Ue),u&&u.push(o,we,L,L+1)}}else i=Ru(n,t,l,i);let f=n.outputs,g;if(h&&f!==null&&(g=f[o])){let E=g.length;if(E)for(let R=0;R-1?an(e.index,t):t;sa(s,5);let a=Au(t,r,n,i),c=o.__ngNextListenerFn__;for(;c;)a=Au(t,r,c,i)&&a,c=c.__ngNextListenerFn__;return a}}function oe(e,t=""){let r=Z(),n=cn(),o=e+wt,i=n.firstCreatePass?oa(n,o,1,t,null):n.data[o],s=my(n,r,i,t,e);r[o]=s,Rl()&&ad(n,r,s,i),bo(i,!1)}var my=(e,t,r,n,o)=>(Ol(!0),Yg(t[ue],n));function Ro(e){return Gn("",e,""),Ro}function Gn(e,t,r){let n=Z(),o=Bv(n,e,t,r);return o!==lt&&Bm(n,un(),o),Gn}var vy=(()=>{let t=class t{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let o=rl(!1,n.type),i=o.length>0?No([o],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()}}};t.\u0275prov=y({token:t,providedIn:"environment",factory:()=>new t(D(re))});let e=t;return e})();function $d(e){aa("NgStandalone"),e.getStandaloneInjector=t=>t.get(vy).getOrCreateStandaloneInjector(e)}function da(e,t,r,n,o){return Dy(Z(),ag(),e,t,r,n,o)}function yy(e,t){let r=e[t];return r===lt?void 0:r}function Dy(e,t,r,n,o,i,s){let a=t+r;return Vv(e,a,o,i)?jv(e,a+2,s?n.call(s,o,i):n(o,i)):yy(e,a+2)}var Br=null;function wy(e){Br!==null&&(e.defaultEncapsulation!==Br.defaultEncapsulation||e.preserveWhitespaces!==Br.preserveWhitespaces)||(Br=e)}var Oo=(()=>{let t=class t{log(n){console.log(n)}warn(n){console.warn(n)}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"platform"});let e=t;return e})();var fa=new w(""),qn=new w(""),Po=(()=>{let t=class t{constructor(n,o,i){this._ngZone=n,this.registry=o,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,ha||(Cy(i),i.addToWindow(o)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{j.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;this._callbacks.length!==0;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb()}});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(o=>o.updateCb&&o.updateCb(n)?(clearTimeout(o.timeoutId),!1):!0)}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,o,i){let s=-1;o&&o>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(a=>a.timeoutId!==s),n()},o)),this._callbacks.push({doneCb:n,timeoutId:s,updateCb:i})}whenStable(n,o,i){if(i&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,o,i),this._runCallbacksIfReady()}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,o,i){return[]}};t.\u0275fac=function(o){return new(o||t)(D(j),D(ko),D(qn))},t.\u0275prov=y({token:t,factory:t.\u0275fac});let e=t;return e})(),ko=(()=>{let t=class t{constructor(){this._applications=new Map}registerApplication(n,o){this._applications.set(n,o)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,o=!0){return ha?.findTestabilityInTree(this,n,o)??null}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"platform"});let e=t;return e})();function Cy(e){ha=e}var ha;function Wn(e){return!!e&&typeof e.then=="function"}function Bd(e){return!!e&&typeof e.subscribe=="function"}var Fo=new w(""),Ud=(()=>{let t=class t{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,o)=>{this.resolve=n,this.reject=o}),this.appInits=p(Fo,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let n=[];for(let i of this.appInits){let s=i();if(Wn(s))n.push(s);else if(Bd(s)){let a=new Promise((c,u)=>{s.subscribe({complete:c,error:u})});n.push(a)}}let o=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{o()}).catch(i=>{this.reject(i)}),n.length===0&&o(),this.initialized=!0}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),pa=new w("");function Ey(){Ec(()=>{throw new v(600,!1)})}function Iy(e){return e.isBoundToModule}var by=10;function My(e,t,r){try{let n=r();return Wn(n)?n.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):n}catch(n){throw t.runOutsideAngular(()=>e.handleError(n)),n}}function Hd(e,t){return Array.isArray(t)?t.reduce(Hd,e):m(m({},e),t)}var St=(()=>{let t=class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=p(Wl),this.afterRenderEffectManager=p(ua),this.zonelessEnabled=p(Ad),this.externalTestViews=new Set,this.beforeRender=new Y,this.afterTick=new Y,this.componentTypes=[],this.components=[],this.isStable=p(ln).hasPendingTasks.pipe(x(n=>!n)),this._injector=p(re)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,o){let i=n instanceof so;if(!this._injector.get(Ud).done){let f=!i&&Xu(n),g=!1;throw new v(405,g)}let a;i?a=n:a=this._injector.get(nn).resolveComponentFactory(n),this.componentTypes.push(a.componentType);let c=Iy(a)?void 0:this._injector.get(ct),u=o||a.selector,l=a.create(ye.NULL,[],u,c),d=l.location.nativeElement,h=l.injector.get(fa,null);return h?.registerApplication(d),l.onDestroy(()=>{this.detachView(l.hostView),qr(this.components,l),h?.unregisterApplication(d)}),this._loadComponent(l),l}tick(){this._tick(!0)}_tick(n){if(this._runningTick)throw new v(101,!1);let o=P(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(n)}catch(i){this.internalErrorHandler(i)}finally{this._runningTick=!1,P(o),this.afterTick.next()}}detectChangesInAttachedViews(n){let o=null;this._injector.destroyed||(o=this._injector.get(rn,null,{optional:!0}));let i=0,s=this.afterRenderEffectManager;for(;iFn(c))&&(s.execute(),!this.allViews.some(({_lView:c})=>Fn(c))))break}}attachView(n){let o=n;this._views.push(o),o.attachToAppRef(this)}detachView(n){let o=n;qr(this._views,o),o.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);let o=this._injector.get(pa,[]);[...this._bootstrapListeners,...o].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),()=>qr(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new v(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function qr(e,t){let r=e.indexOf(t);r>-1&&e.splice(r,1)}function Sy(e,t,r,n){if(!r&&!Fn(e))return;xd(e,t,r&&!n?0:1)}var xs=class{constructor(t,r){this.ngModuleFactory=t,this.componentFactories=r}},Lo=(()=>{let t=class t{compileModuleSync(n){return new fo(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let o=this.compileModuleSync(n),i=el(n),s=td(i.declarations).reduce((a,c)=>{let u=at(c);return u&&a.push(new on(u)),a},[]);return new xs(o,s)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),xy=new w("");function Ty(e,t,r){let n=new fo(r);return Promise.resolve(n)}function Ou(e){for(let t=e.length-1;t>=0;t--)if(e[t]!==void 0)return e[t]}var _y=(()=>{let t=class t{constructor(){this.zone=p(j),this.changeDetectionScheduler=p(tn),this.applicationRef=p(St)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function Ny({ngZoneFactory:e,ignoreChangesOutsideZone:t}){return e??=()=>new j(zd()),[{provide:j,useFactory:e},{provide:Kt,multi:!0,useFactory:()=>{let r=p(_y,{optional:!0});return()=>r.initialize()}},{provide:Kt,multi:!0,useFactory:()=>{let r=p(Ry);return()=>{r.initialize()}}},{provide:Wl,useFactory:Ay},t===!0?{provide:Rd,useValue:!0}:[]]}function Ay(){let e=p(j),t=p(je);return r=>e.runOutsideAngular(()=>t.handleError(r))}function zd(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var Ry=(()=>{let t=class t{constructor(){this.subscription=new B,this.initialized=!1,this.zone=p(j),this.pendingTasks=p(ln)}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(()=>{j.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{j.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var Oy=(()=>{let t=class t{constructor(){this.appRef=p(St),this.taskService=p(ln),this.ngZone=p(j),this.zonelessEnabled=p(Ad),this.disableScheduling=p(Rd,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new B,this.cancelScheduledCallback=null,this.shouldRefreshViews=!1,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 ao||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&n===5)return;switch(n){case 3:case 2:case 0:case 4:case 5:case 1:{this.shouldRefreshViews=!0;break}case 8:case 7:case 6:case 9:default:}if(!this.shouldScheduleTick())return;let o=this.useMicrotaskScheduler?Iu:Od;this.pendingRenderTaskId=this.taskService.add(),this.zoneIsDefined?Zone.root.run(()=>{this.cancelScheduledCallback=o(()=>{this.tick(this.shouldRefreshViews)})}):this.cancelScheduledCallback=o(()=>{this.tick(this.shouldRefreshViews)})}shouldScheduleTick(){return!(this.disableScheduling||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&j.isInAngularZone())}tick(n){if(this.runningTick||this.appRef.destroyed)return;let o=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick(n)},void 0,this.schedulerTickApplyArgs)}catch(i){throw this.taskService.remove(o),i}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Iu(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(o)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.shouldRefreshViews=!1,this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function Py(){return typeof $localize<"u"&&$localize.locale||go}var ga=new w("",{providedIn:"root",factory:()=>p(ga,S.Optional|S.SkipSelf)||Py()});var Gd=new w(""),qd=(()=>{let t=class t{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,o){let i=hv(o?.ngZone,zd({eventCoalescing:o?.ngZoneEventCoalescing,runCoalescing:o?.ngZoneRunCoalescing}));return i.run(()=>{let s=o?.ignoreChangesOutsideZone,a=Lv(n.moduleType,this.injector,[...Ny({ngZoneFactory:()=>i,ignoreChangesOutsideZone:s}),{provide:tn,useExisting:Oy}]),c=a.injector.get(je,null);return i.runOutsideAngular(()=>{let u=i.onError.subscribe({next:l=>{c.handleError(l)}});a.onDestroy(()=>{qr(this._modules,a),u.unsubscribe()})}),My(c,i,()=>{let u=a.injector.get(Ud);return u.runInitializers(),u.donePromise.then(()=>{let l=a.injector.get(ga,go);return fy(l||go),this._moduleDoBootstrap(a),a})})})}bootstrapModule(n,o=[]){let i=Hd({},o);return Ty(this.injector,i,n).then(s=>this.bootstrapModuleFactory(s,i))}_moduleDoBootstrap(n){let o=n.injector.get(St);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(i=>o.bootstrap(i));else if(n.instance.ngDoBootstrap)n.instance.ngDoBootstrap(o);else throw new v(-403,!1);this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new v(404,!1);this._modules.slice().forEach(o=>o.destroy()),this._destroyListeners.forEach(o=>o());let n=this._injector.get(Gd,null);n&&(n.forEach(o=>o()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}};t.\u0275fac=function(o){return new(o||t)(D(ye))},t.\u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"platform"});let e=t;return e})(),Nn=null,Wd=new w("");function ky(e){if(Nn&&!Nn.get(Wd,!1))throw new v(400,!1);Ey(),Nn=e;let t=e.get(qd);return jy(e),t}function ma(e,t,r=[]){let n=`Platform: ${t}`,o=new w(n);return(i=[])=>{let s=Zd();if(!s||s.injector.get(Wd,!1)){let a=[...r,...i,{provide:o,useValue:!0}];e?e(a):ky(Fy(a,n))}return Ly(o)}}function Fy(e=[],t){return ye.create({name:t,providers:[{provide:Do,useValue:"platform"},{provide:Gd,useValue:new Set([()=>Nn=null])},...e]})}function Ly(e){let t=Zd();if(!t)throw new v(401,!1);return t}function Zd(){return Nn?.get(qd)??null}function jy(e){e.get(Zs,null)?.forEach(r=>r())}var Zn=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=Vy;let e=t;return e})();function Vy(e){return $y($e(),Z(),(e&16)===16)}function $y(e,t,r){if(js(e)&&!r){let n=an(e.index,t);return new en(n,n)}else if(e.type&175){let n=t[Fe];return new en(n,t)}return null}var Yd=ma(null,"core",[]),Qd=(()=>{let t=class t{constructor(n){}};t.\u0275fac=function(o){return new(o||t)(D(St))},t.\u0275mod=Te({type:t}),t.\u0275inj=xe({});let e=t;return e})();var Kd=new w("");function Jd(e){let t=at(e);if(!t)return null;let r=new on(t);return{get selector(){return r.selector},get type(){return r.componentType},get inputs(){return r.inputs},get outputs(){return r.outputs},get ngContentSelectors(){return r.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}var rf=null;function xt(){return rf}function of(e){rf??=e}var jo=class{};var ee=new w(""),wa=(()=>{let t=class t{historyGo(n){throw new Error("")}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=y({token:t,factory:()=>p(zy),providedIn:"platform"});let e=t;return e})(),sf=new w(""),zy=(()=>{let t=class t extends wa{constructor(){super(),this._doc=p(ee),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return xt().getBaseHref(this._doc)}onPopState(n){let o=xt().getGlobalEventTarget(this._doc,"window");return o.addEventListener("popstate",n,!1),()=>o.removeEventListener("popstate",n)}onHashChange(n){let o=xt().getGlobalEventTarget(this._doc,"window");return o.addEventListener("hashchange",n,!1),()=>o.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,o,i){this._history.pushState(n,o,i)}replaceState(n,o,i){this._history.replaceState(n,o,i)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=y({token:t,factory:()=>new t,providedIn:"platform"});let e=t;return e})();function Ca(e,t){if(e.length==0)return t;if(t.length==0)return e;let r=0;return e.endsWith("/")&&r++,t.startsWith("/")&&r++,r==2?e+t.substring(1):r==1?e+t:e+"/"+t}function Xd(e){let t=e.match(/#|\?|$/),r=t&&t.index||e.length,n=r-(e[r-1]==="/"?1:0);return e.slice(0,n)+e.slice(r)}function Ke(e){return e&&e[0]!=="?"?"?"+e:e}var Tt=(()=>{let t=class t{historyGo(n){throw new Error("")}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=y({token:t,factory:()=>p(Ea),providedIn:"root"});let e=t;return e})(),af=new w(""),Ea=(()=>{let t=class t extends Tt{constructor(n,o){super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=o??this._platformLocation.getBaseHrefFromDOM()??p(ee).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 Ca(this._baseHref,n)}path(n=!1){let o=this._platformLocation.pathname+Ke(this._platformLocation.search),i=this._platformLocation.hash;return i&&n?`${o}${i}`:o}pushState(n,o,i,s){let a=this.prepareExternalUrl(i+Ke(s));this._platformLocation.pushState(n,o,a)}replaceState(n,o,i,s){let a=this.prepareExternalUrl(i+Ke(s));this._platformLocation.replaceState(n,o,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}};t.\u0275fac=function(o){return new(o||t)(D(wa),D(af,8))},t.\u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),cf=(()=>{let t=class t extends Tt{constructor(n,o){super(),this._platformLocation=n,this._baseHref="",this._removeListenerFns=[],o!=null&&(this._baseHref=o)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}path(n=!1){let o=this._platformLocation.hash??"#";return o.length>0?o.substring(1):o}prepareExternalUrl(n){let o=Ca(this._baseHref,n);return o.length>0?"#"+o:o}pushState(n,o,i,s){let a=this.prepareExternalUrl(i+Ke(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.pushState(n,o,a)}replaceState(n,o,i,s){let a=this.prepareExternalUrl(i+Ke(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.replaceState(n,o,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}};t.\u0275fac=function(o){return new(o||t)(D(wa),D(af,8))},t.\u0275prov=y({token:t,factory:t.\u0275fac});let e=t;return e})(),fn=(()=>{let t=class t{constructor(n){this._subject=new Q,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=n;let o=this._locationStrategy.getBaseHref();this._basePath=Wy(Xd(ef(o))),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,o=""){return this.path()==this.normalize(n+Ke(o))}normalize(n){return t.stripTrailingSlash(qy(this._basePath,ef(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,o="",i=null){this._locationStrategy.pushState(i,"",n,o),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Ke(o)),i)}replaceState(n,o="",i=null){this._locationStrategy.replaceState(i,"",n,o),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Ke(o)),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(o=>{this._notifyUrlChangeListeners(o.url,o.state)}),()=>{let o=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(o,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",o){this._urlChangeListeners.forEach(i=>i(n,o))}subscribe(n,o,i){return this._subject.subscribe({next:n,error:o,complete:i})}};t.normalizeQueryParams=Ke,t.joinWithSlash=Ca,t.stripTrailingSlash=Xd,t.\u0275fac=function(o){return new(o||t)(D(Tt))},t.\u0275prov=y({token:t,factory:()=>Gy(),providedIn:"root"});let e=t;return e})();function Gy(){return new fn(D(Tt))}function qy(e,t){if(!e||!t.startsWith(e))return t;let r=t.substring(e.length);return r===""||["/",";","?","#"].includes(r[0])?r:t}function ef(e){return e.replace(/\/index.html$/,"")}function Wy(e){if(new RegExp("^(https?:)?//").test(e)){let[,r]=e.split(/\/\/[^\/]+/);return r}return e}function uf(e,t){t=encodeURIComponent(t);for(let r of e.split(";")){let n=r.indexOf("="),[o,i]=n==-1?[r,""]:[r.slice(0,n),r.slice(n+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}var lf=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275mod=Te({type:t}),t.\u0275inj=xe({});let e=t;return e})(),Ia="browser",Zy="server";function Yy(e){return e===Ia}function ba(e){return e===Zy}var df=(()=>{let t=class t{};t.\u0275prov=y({token:t,providedIn:"root",factory:()=>Yy(p(ut))?new ya(p(ee),window):new Da});let e=t;return e})(),ya=class{constructor(t,r){this.document=t,this.window=r,this.offset=()=>[0,0]}setOffset(t){Array.isArray(t)?this.offset=()=>t:this.offset=t}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(t){this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){let r=Qy(this.document,t);r&&(this.scrollToElement(r),r.focus())}setHistoryScrollRestoration(t){this.window.history.scrollRestoration=t}scrollToElement(t){let r=t.getBoundingClientRect(),n=r.left+this.window.pageXOffset,o=r.top+this.window.pageYOffset,i=this.offset();this.window.scrollTo(n-i[0],o-i[1])}};function Qy(e,t){let r=e.getElementById(t)||e.getElementsByName(t)[0];if(r)return r;if(typeof e.createTreeWalker=="function"&&e.body&&typeof e.body.attachShadow=="function"){let n=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT),o=n.currentNode;for(;o;){let i=o.shadowRoot;if(i){let s=i.getElementById(t)||i.querySelector(`[name="${t}"]`);if(s)return s}o=n.nextNode()}}return null}var Da=class{setOffset(t){}getScrollPosition(){return[0,0]}scrollToPosition(t){}scrollToAnchor(t){}setHistoryScrollRestoration(t){}},Vo=class{};var xa=class extends jo{constructor(){super(...arguments),this.supportsDOMEvents=!0}},Ta=class e extends xa{static makeCurrent(){of(new e)}onAndCancel(t,r,n){return t.addEventListener(r,n),()=>{t.removeEventListener(r,n)}}dispatchEvent(t,r){t.dispatchEvent(r)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,r){return r=r||this.getDefaultDocument(),r.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,r){return r==="window"?window:r==="document"?t:r==="body"?t.body:null}getBaseHref(t){let r=Jy();return r==null?null:Xy(r)}resetBaseElement(){Yn=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return uf(document.cookie,t)}},Yn=null;function Jy(){return Yn=Yn||document.querySelector("base"),Yn?Yn.getAttribute("href"):null}function Xy(e){return new URL(e,document.baseURI).pathname}var _a=class{addToWindow(t){Se.getAngularTestability=(n,o=!0)=>{let i=t.findTestabilityInTree(n,o);if(i==null)throw new v(5103,!1);return i},Se.getAllAngularTestabilities=()=>t.getAllTestabilities(),Se.getAllAngularRootElements=()=>t.getAllRootElements();let r=n=>{let o=Se.getAllAngularTestabilities(),i=o.length,s=function(){i--,i==0&&n()};o.forEach(a=>{a.whenStable(s)})};Se.frameworkStabilizers||(Se.frameworkStabilizers=[]),Se.frameworkStabilizers.push(r)}findTestabilityInTree(t,r,n){if(r==null)return null;let o=t.getTestability(r);return o??(n?xt().isShadowRoot(r)?this.findTestabilityInTree(t,r.host,!0):this.findTestabilityInTree(t,r.parentElement,!0):null)}},eD=(()=>{let t=class t{build(){return new XMLHttpRequest}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=y({token:t,factory:t.\u0275fac});let e=t;return e})(),$o=new w(""),gf=(()=>{let t=class t{constructor(n,o){this._zone=o,this._eventNameToPlugin=new Map,n.forEach(i=>{i.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,o,i){return this._findPluginFor(o).addEventListener(n,o,i)}getZone(){return this._zone}_findPluginFor(n){let o=this._eventNameToPlugin.get(n);if(o)return o;if(o=this._plugins.find(s=>s.supports(n)),!o)throw new v(5101,!1);return this._eventNameToPlugin.set(n,o),o}};t.\u0275fac=function(o){return new(o||t)(D($o),D(j))},t.\u0275prov=y({token:t,factory:t.\u0275fac});let e=t;return e})(),Qn=class{constructor(t){this._doc=t}},Ma="ng-app-id",mf=(()=>{let t=class t{constructor(n,o,i,s={}){this.doc=n,this.appId=o,this.nonce=i,this.platformId=s,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=ba(s),this.resetHostNodes()}addStyles(n){for(let o of n)this.changeUsageCount(o,1)===1&&this.onStyleAdded(o)}removeStyles(n){for(let o of n)this.changeUsageCount(o,-1)<=0&&this.onStyleRemoved(o)}ngOnDestroy(){let n=this.styleNodesInDOM;n&&(n.forEach(o=>o.remove()),n.clear());for(let o of this.getAllStyles())this.onStyleRemoved(o);this.resetHostNodes()}addHost(n){this.hostNodes.add(n);for(let o of this.getAllStyles())this.addStyleToHost(n,o)}removeHost(n){this.hostNodes.delete(n)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(n){for(let o of this.hostNodes)this.addStyleToHost(o,n)}onStyleRemoved(n){let o=this.styleRef;o.get(n)?.elements?.forEach(i=>i.remove()),o.delete(n)}collectServerRenderedStyles(){let n=this.doc.head?.querySelectorAll(`style[${Ma}="${this.appId}"]`);if(n?.length){let o=new Map;return n.forEach(i=>{i.textContent!=null&&o.set(i.textContent,i)}),o}return null}changeUsageCount(n,o){let i=this.styleRef;if(i.has(n)){let s=i.get(n);return s.usage+=o,s.usage}return i.set(n,{usage:o,elements:[]}),o}getStyleElement(n,o){let i=this.styleNodesInDOM,s=i?.get(o);if(s?.parentNode===n)return i.delete(o),s.removeAttribute(Ma),s;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=o,this.platformIsServer&&a.setAttribute(Ma,this.appId),n.appendChild(a),a}}addStyleToHost(n,o){let i=this.getStyleElement(n,o),s=this.styleRef,a=s.get(o)?.elements;a?a.push(i):s.set(o,{elements:[i],usage:1})}resetHostNodes(){let n=this.hostNodes;n.clear(),n.add(this.doc.head)}};t.\u0275fac=function(o){return new(o||t)(D(ee),D(So),D(Ys,8),D(ut))},t.\u0275prov=y({token:t,factory:t.\u0275fac});let e=t;return e})(),Sa={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"},Aa=/%COMP%/g,vf="%COMP%",tD=`_nghost-${vf}`,nD=`_ngcontent-${vf}`,rD=!0,oD=new w("",{providedIn:"root",factory:()=>rD});function iD(e){return nD.replace(Aa,e)}function sD(e){return tD.replace(Aa,e)}function yf(e,t){return t.map(r=>r.replace(Aa,e))}var ff=(()=>{let t=class t{constructor(n,o,i,s,a,c,u,l=null){this.eventManager=n,this.sharedStylesHost=o,this.appId=i,this.removeStylesOnCompDestroy=s,this.doc=a,this.platformId=c,this.ngZone=u,this.nonce=l,this.rendererByCompId=new Map,this.platformIsServer=ba(c),this.defaultRenderer=new Kn(n,a,u,this.platformIsServer)}createRenderer(n,o){if(!n||!o)return this.defaultRenderer;this.platformIsServer&&o.encapsulation===ke.ShadowDom&&(o=V(m({},o),{encapsulation:ke.Emulated}));let i=this.getOrCreateRenderer(n,o);return i instanceof Bo?i.applyToHost(n):i instanceof Jn&&i.applyStyles(),i}getOrCreateRenderer(n,o){let i=this.rendererByCompId,s=i.get(o.id);if(!s){let a=this.doc,c=this.ngZone,u=this.eventManager,l=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,h=this.platformIsServer;switch(o.encapsulation){case ke.Emulated:s=new Bo(u,l,o,this.appId,d,a,c,h);break;case ke.ShadowDom:return new Na(u,l,n,o,a,c,this.nonce,h);default:s=new Jn(u,l,o,d,a,c,h);break}i.set(o.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}};t.\u0275fac=function(o){return new(o||t)(D(gf),D(mf),D(So),D(oD),D(ee),D(ut),D(j),D(Ys))},t.\u0275prov=y({token:t,factory:t.\u0275fac});let e=t;return e})(),Kn=class{constructor(t,r,n,o){this.eventManager=t,this.doc=r,this.ngZone=n,this.platformIsServer=o,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(t,r){return r?this.doc.createElementNS(Sa[r]||r,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,r){(hf(t)?t.content:t).appendChild(r)}insertBefore(t,r,n){t&&(hf(t)?t.content:t).insertBefore(r,n)}removeChild(t,r){t&&t.removeChild(r)}selectRootElement(t,r){let n=typeof t=="string"?this.doc.querySelector(t):t;if(!n)throw new v(-5104,!1);return r||(n.textContent=""),n}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,r,n,o){if(o){r=o+":"+r;let i=Sa[o];i?t.setAttributeNS(i,r,n):t.setAttribute(r,n)}else t.setAttribute(r,n)}removeAttribute(t,r,n){if(n){let o=Sa[n];o?t.removeAttributeNS(o,r):t.removeAttribute(`${n}:${r}`)}else t.removeAttribute(r)}addClass(t,r){t.classList.add(r)}removeClass(t,r){t.classList.remove(r)}setStyle(t,r,n,o){o&(We.DashCase|We.Important)?t.style.setProperty(r,n,o&We.Important?"important":""):t.style[r]=n}removeStyle(t,r,n){n&We.DashCase?t.style.removeProperty(r):t.style[r]=""}setProperty(t,r,n){t!=null&&(t[r]=n)}setValue(t,r){t.nodeValue=r}listen(t,r,n){if(typeof t=="string"&&(t=xt().getGlobalEventTarget(this.doc,t),!t))throw new Error(`Unsupported event target ${t} for event ${r}`);return this.eventManager.addEventListener(t,r,this.decoratePreventDefault(n))}decoratePreventDefault(t){return r=>{if(r==="__ngUnwrap__")return t;(this.platformIsServer?this.ngZone.runGuarded(()=>t(r)):t(r))===!1&&r.preventDefault()}}};function hf(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var Na=class extends Kn{constructor(t,r,n,o,i,s,a,c){super(t,i,s,c),this.sharedStylesHost=r,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let u=yf(o.id,o.styles);for(let l of u){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,r){return super.appendChild(this.nodeOrShadowRoot(t),r)}insertBefore(t,r,n){return super.insertBefore(this.nodeOrShadowRoot(t),r,n)}removeChild(t,r){return super.removeChild(this.nodeOrShadowRoot(t),r)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Jn=class extends Kn{constructor(t,r,n,o,i,s,a,c){super(t,i,s,a),this.sharedStylesHost=r,this.removeStylesOnCompDestroy=o,this.styles=c?yf(c,n.styles):n.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},Bo=class extends Jn{constructor(t,r,n,o,i,s,a,c){let u=o+"-"+n.id;super(t,r,n,i,s,a,c,u),this.contentAttr=iD(u),this.hostAttr=sD(u)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,r){let n=super.createElement(t,r);return super.setAttribute(n,this.contentAttr,""),n}},aD=(()=>{let t=class t extends Qn{constructor(n){super(n)}supports(n){return!0}addEventListener(n,o,i){return n.addEventListener(o,i,!1),()=>this.removeEventListener(n,o,i)}removeEventListener(n,o,i){return n.removeEventListener(o,i)}};t.\u0275fac=function(o){return new(o||t)(D(ee))},t.\u0275prov=y({token:t,factory:t.\u0275fac});let e=t;return e})(),cD=(()=>{let t=class t extends Qn{constructor(n){super(n),this.delegate=p(Kd,{optional:!0})}supports(n){return this.delegate?this.delegate.supports(n):!1}addEventListener(n,o,i){return this.delegate.addEventListener(n,o,i)}removeEventListener(n,o,i){return this.delegate.removeEventListener(n,o,i)}};t.\u0275fac=function(o){return new(o||t)(D(ee))},t.\u0275prov=y({token:t,factory:t.\u0275fac});let e=t;return e})(),pf=["alt","control","meta","shift"],uD={"\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"},lD={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},dD=(()=>{let t=class t extends Qn{constructor(n){super(n)}supports(n){return t.parseEventName(n)!=null}addEventListener(n,o,i){let s=t.parseEventName(o),a=t.eventCallback(s.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>xt().onAndCancel(n,s.domEventName,a))}static parseEventName(n){let o=n.toLowerCase().split("."),i=o.shift();if(o.length===0||!(i==="keydown"||i==="keyup"))return null;let s=t._normalizeKey(o.pop()),a="",c=o.indexOf("code");if(c>-1&&(o.splice(c,1),a="code."),pf.forEach(l=>{let d=o.indexOf(l);d>-1&&(o.splice(d,1),a+=l+".")}),a+=s,o.length!=0||s.length===0)return null;let u={};return u.domEventName=i,u.fullKey=a,u}static matchEventFullKeyCode(n,o){let i=uD[n.key]||n.key,s="";return o.indexOf("code.")>-1&&(i=n.code,s="code."),i==null||!i?!1:(i=i.toLowerCase(),i===" "?i="space":i==="."&&(i="dot"),pf.forEach(a=>{if(a!==i){let c=lD[a];c(n)&&(s+=a+".")}}),s+=i,s===o)}static eventCallback(n,o,i){return s=>{t.matchEventFullKeyCode(s,n)&&i.runGuarded(()=>o(s))}}static _normalizeKey(n){return n==="esc"?"escape":n}};t.\u0275fac=function(o){return new(o||t)(D(ee))},t.\u0275prov=y({token:t,factory:t.\u0275fac});let e=t;return e})();function fD(){Ta.makeCurrent()}function hD(){return new je}function pD(){return Xl(document),document}var gD=[{provide:ut,useValue:Ia},{provide:Zs,useValue:fD,multi:!0},{provide:ee,useFactory:pD,deps:[]}],Df=ma(Yd,"browser",gD),mD=new w(""),vD=[{provide:qn,useClass:_a,deps:[]},{provide:fa,useClass:Po,deps:[j,ko,qn]},{provide:Po,useClass:Po,deps:[j,ko,qn]}],yD=[{provide:Do,useValue:"root"},{provide:je,useFactory:hD,deps:[]},{provide:$o,useClass:aD,multi:!0,deps:[ee,j,ut]},{provide:$o,useClass:dD,multi:!0,deps:[ee]},{provide:$o,useClass:cD,multi:!0},ff,mf,gf,{provide:rn,useExisting:ff},{provide:Vo,useClass:eD,deps:[]},[]],wf=(()=>{let t=class t{constructor(n){}static withServerTransition(n){return{ngModule:t,providers:[{provide:So,useValue:n.appId}]}}};t.\u0275fac=function(o){return new(o||t)(D(mD,12))},t.\u0275mod=Te({type:t}),t.\u0275inj=xe({providers:[...yD,...vD],imports:[lf,Qd]});let e=t;return e})();var Cf=(()=>{let t=class t{constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}};t.\u0275fac=function(o){return new(o||t)(D(ee))},t.\u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var M="primary",hr=Symbol("RouteTitle"),Fa=class{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){let r=this.params[t];return Array.isArray(r)?r[0]:r}return null}getAll(t){if(this.has(t)){let r=this.params[t];return Array.isArray(r)?r:[r]}return[]}get keys(){return Object.keys(this.params)}};function yn(e){return new Fa(e)}function DD(e,t,r){let n=r.path.split("/");if(n.length>e.length||r.pathMatch==="full"&&(t.hasChildren()||n.lengthn[i]===o)}else return e===t}function Pf(e){return e.length>0?e[e.length-1]:null}function ft(e){return Ti(e)?e:Wn(e)?$(Promise.resolve(e)):C(e)}var CD={exact:Ff,subset:Lf},kf={exact:ED,subset:ID,ignored:()=>!0};function If(e,t,r){return CD[r.paths](e.root,t.root,r.matrixParams)&&kf[r.queryParams](e.queryParams,t.queryParams)&&!(r.fragment==="exact"&&e.fragment!==t.fragment)}function ED(e,t){return Be(e,t)}function Ff(e,t,r){if(!Nt(e.segments,t.segments)||!zo(e.segments,t.segments,r)||e.numberOfChildren!==t.numberOfChildren)return!1;for(let n in t.children)if(!e.children[n]||!Ff(e.children[n],t.children[n],r))return!1;return!0}function ID(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(r=>Of(e[r],t[r]))}function Lf(e,t,r){return jf(e,t,t.segments,r)}function jf(e,t,r,n){if(e.segments.length>r.length){let o=e.segments.slice(0,r.length);return!(!Nt(o,r)||t.hasChildren()||!zo(o,r,n))}else if(e.segments.length===r.length){if(!Nt(e.segments,r)||!zo(e.segments,r,n))return!1;for(let o in t.children)if(!e.children[o]||!Lf(e.children[o],t.children[o],n))return!1;return!0}else{let o=r.slice(0,e.segments.length),i=r.slice(e.segments.length);return!Nt(e.segments,o)||!zo(e.segments,o,n)||!e.children[M]?!1:jf(e.children[M],t,i,n)}}function zo(e,t,r){return t.every((n,o)=>kf[r](e[o].parameters,n.parameters))}var Xe=class{constructor(t=new O([],{}),r={},n=null){this.root=t,this.queryParams=r,this.fragment=n}get queryParamMap(){return this._queryParamMap??=yn(this.queryParams),this._queryParamMap}toString(){return SD.serialize(this)}},O=class{constructor(t,r){this.segments=t,this.children=r,this.parent=null,Object.values(r).forEach(n=>n.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Go(this)}},_t=class{constructor(t,r){this.path=t,this.parameters=r}get parameterMap(){return this._parameterMap??=yn(this.parameters),this._parameterMap}toString(){return $f(this)}};function bD(e,t){return Nt(e,t)&&e.every((r,n)=>Be(r.parameters,t[n].parameters))}function Nt(e,t){return e.length!==t.length?!1:e.every((r,n)=>r.path===t[n].path)}function MD(e,t){let r=[];return Object.entries(e.children).forEach(([n,o])=>{n===M&&(r=r.concat(t(o,n)))}),Object.entries(e.children).forEach(([n,o])=>{n!==M&&(r=r.concat(t(o,n)))}),r}var pr=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=y({token:t,factory:()=>new Dn,providedIn:"root"});let e=t;return e})(),Dn=class{parse(t){let r=new Va(t);return new Xe(r.parseRootSegment(),r.parseQueryParams(),r.parseFragment())}serialize(t){let r=`/${Xn(t.root,!0)}`,n=_D(t.queryParams),o=typeof t.fragment=="string"?`#${xD(t.fragment)}`:"";return`${r}${n}${o}`}},SD=new Dn;function Go(e){return e.segments.map(t=>$f(t)).join("/")}function Xn(e,t){if(!e.hasChildren())return Go(e);if(t){let r=e.children[M]?Xn(e.children[M],!1):"",n=[];return Object.entries(e.children).forEach(([o,i])=>{o!==M&&n.push(`${o}:${Xn(i,!1)}`)}),n.length>0?`${r}(${n.join("//")})`:r}else{let r=MD(e,(n,o)=>o===M?[Xn(e.children[M],!1)]:[`${o}:${Xn(n,!1)}`]);return Object.keys(e.children).length===1&&e.children[M]!=null?`${Go(e)}/${r[0]}`:`${Go(e)}/(${r.join("//")})`}}function Vf(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Uo(e){return Vf(e).replace(/%3B/gi,";")}function xD(e){return encodeURI(e)}function ja(e){return Vf(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function qo(e){return decodeURIComponent(e)}function bf(e){return qo(e.replace(/\+/g,"%20"))}function $f(e){return`${ja(e.path)}${TD(e.parameters)}`}function TD(e){return Object.entries(e).map(([t,r])=>`;${ja(t)}=${ja(r)}`).join("")}function _D(e){let t=Object.entries(e).map(([r,n])=>Array.isArray(n)?n.map(o=>`${Uo(r)}=${Uo(o)}`).join("&"):`${Uo(r)}=${Uo(n)}`).filter(r=>r);return t.length?`?${t.join("&")}`:""}var ND=/^[^\/()?;#]+/;function Ra(e){let t=e.match(ND);return t?t[0]:""}var AD=/^[^\/()?;=#]+/;function RD(e){let t=e.match(AD);return t?t[0]:""}var OD=/^[^=?&#]+/;function PD(e){let t=e.match(OD);return t?t[0]:""}var kD=/^[^&#]+/;function FD(e){let t=e.match(kD);return t?t[0]:""}var Va=class{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new O([],{}):new O([],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 r={};this.peekStartsWith("/(")&&(this.capture("/"),r=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(t.length>0||Object.keys(r).length>0)&&(n[M]=new O(t,r)),n}parseSegment(){let t=Ra(this.remaining);if(t===""&&this.peekStartsWith(";"))throw new v(4009,!1);return this.capture(t),new _t(qo(t),this.parseMatrixParams())}parseMatrixParams(){let t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){let r=RD(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){let o=Ra(this.remaining);o&&(n=o,this.capture(n))}t[qo(r)]=qo(n)}parseQueryParam(t){let r=PD(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){let s=FD(this.remaining);s&&(n=s,this.capture(n))}let o=bf(r),i=bf(n);if(t.hasOwnProperty(o)){let s=t[o];Array.isArray(s)||(s=[s],t[o]=s),s.push(i)}else t[o]=i}parseParens(t){let r={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let n=Ra(this.remaining),o=this.remaining[n.length];if(o!=="/"&&o!==")"&&o!==";")throw new v(4010,!1);let i;n.indexOf(":")>-1?(i=n.slice(0,n.indexOf(":")),this.capture(i),this.capture(":")):t&&(i=M);let s=this.parseChildren();r[i]=Object.keys(s).length===1?s[M]:new O([],s),this.consumeOptional("//")}return r}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 v(4011,!1)}};function Bf(e){return e.segments.length>0?new O([],{[M]:e}):e}function Uf(e){let t={};for(let[n,o]of Object.entries(e.children)){let i=Uf(o);if(n===M&&i.segments.length===0&&i.hasChildren())for(let[s,a]of Object.entries(i.children))t[s]=a;else(i.segments.length>0||i.hasChildren())&&(t[n]=i)}let r=new O(e.segments,t);return LD(r)}function LD(e){if(e.numberOfChildren===1&&e.children[M]){let t=e.children[M];return new O(e.segments.concat(t.segments),t.children)}return e}function ir(e){return e instanceof Xe}function jD(e,t,r=null,n=null){let o=Hf(e);return zf(o,t,r,n)}function Hf(e){let t;function r(i){let s={};for(let c of i.children){let u=r(c);s[c.outlet]=u}let a=new O(i.url,s);return i===e&&(t=a),a}let n=r(e.root),o=Bf(n);return t??o}function zf(e,t,r,n){let o=e;for(;o.parent;)o=o.parent;if(t.length===0)return Oa(o,o,o,r,n);let i=VD(t);if(i.toRoot())return Oa(o,o,new O([],{}),r,n);let s=$D(i,o,e),a=s.processChildren?nr(s.segmentGroup,s.index,i.commands):qf(s.segmentGroup,s.index,i.commands);return Oa(o,s.segmentGroup,a,r,n)}function Wo(e){return typeof e=="object"&&e!=null&&!e.outlets&&!e.segmentPath}function sr(e){return typeof e=="object"&&e!=null&&e.outlets}function Oa(e,t,r,n,o){let i={};n&&Object.entries(n).forEach(([c,u])=>{i[c]=Array.isArray(u)?u.map(l=>`${l}`):`${u}`});let s;e===t?s=r:s=Gf(e,t,r);let a=Bf(Uf(s));return new Xe(a,i,o)}function Gf(e,t,r){let n={};return Object.entries(e.children).forEach(([o,i])=>{i===t?n[o]=r:n[o]=Gf(i,t,r)}),new O(e.segments,n)}var Zo=class{constructor(t,r,n){if(this.isAbsolute=t,this.numberOfDoubleDots=r,this.commands=n,t&&n.length>0&&Wo(n[0]))throw new v(4003,!1);let o=n.find(sr);if(o&&o!==Pf(n))throw new v(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function VD(e){if(typeof e[0]=="string"&&e.length===1&&e[0]==="/")return new Zo(!0,0,e);let t=0,r=!1,n=e.reduce((o,i,s)=>{if(typeof i=="object"&&i!=null){if(i.outlets){let a={};return Object.entries(i.outlets).forEach(([c,u])=>{a[c]=typeof u=="string"?u.split("/"):u}),[...o,{outlets:a}]}if(i.segmentPath)return[...o,i.segmentPath]}return typeof i!="string"?[...o,i]:s===0?(i.split("/").forEach((a,c)=>{c==0&&a==="."||(c==0&&a===""?r=!0:a===".."?t++:a!=""&&o.push(a))}),o):[...o,i]},[]);return new Zo(r,t,n)}var gn=class{constructor(t,r,n){this.segmentGroup=t,this.processChildren=r,this.index=n}};function $D(e,t,r){if(e.isAbsolute)return new gn(t,!0,0);if(!r)return new gn(t,!1,NaN);if(r.parent===null)return new gn(r,!0,0);let n=Wo(e.commands[0])?0:1,o=r.segments.length-1+n;return BD(r,o,e.numberOfDoubleDots)}function BD(e,t,r){let n=e,o=t,i=r;for(;i>o;){if(i-=o,n=n.parent,!n)throw new v(4005,!1);o=n.segments.length}return new gn(n,!1,o-i)}function UD(e){return sr(e[0])?e[0].outlets:{[M]:e}}function qf(e,t,r){if(e??=new O([],{}),e.segments.length===0&&e.hasChildren())return nr(e,t,r);let n=HD(e,t,r),o=r.slice(n.commandIndex);if(n.match&&n.pathIndexi!==M)&&e.children[M]&&e.numberOfChildren===1&&e.children[M].segments.length===0){let i=nr(e.children[M],t,r);return new O(e.segments,i.children)}return Object.entries(n).forEach(([i,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(o[i]=qf(e.children[i],t,s))}),Object.entries(e.children).forEach(([i,s])=>{n[i]===void 0&&(o[i]=s)}),new O(e.segments,o)}}function HD(e,t,r){let n=0,o=t,i={match:!1,pathIndex:0,commandIndex:0};for(;o=r.length)return i;let s=e.segments[o],a=r[n];if(sr(a))break;let c=`${a}`,u=n0&&c===void 0)break;if(c&&u&&typeof u=="object"&&u.outlets===void 0){if(!Sf(c,u,s))return i;n+=2}else{if(!Sf(c,{},s))return i;n++}o++}return{match:!0,pathIndex:o,commandIndex:n}}function $a(e,t,r){let n=e.segments.slice(0,t),o=0;for(;o{typeof n=="string"&&(n=[n]),n!==null&&(t[r]=$a(new O([],{}),0,n))}),t}function Mf(e){let t={};return Object.entries(e).forEach(([r,n])=>t[r]=`${n}`),t}function Sf(e,t,r){return e==r.path&&Be(t,r.parameters)}var rr="imperative",G=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}(G||{}),De=class{constructor(t,r){this.id=t,this.url=r}},wn=class extends De{constructor(t,r,n="imperative",o=null){super(t,r),this.type=G.NavigationStart,this.navigationTrigger=n,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},et=class extends De{constructor(t,r,n){super(t,r),this.urlAfterRedirects=n,this.type=G.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},de=function(e){return e[e.Redirect=0]="Redirect",e[e.SupersededByNewNavigation=1]="SupersededByNewNavigation",e[e.NoDataFromResolver=2]="NoDataFromResolver",e[e.GuardRejected=3]="GuardRejected",e}(de||{}),Yo=function(e){return e[e.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",e[e.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",e}(Yo||{}),Je=class extends De{constructor(t,r,n,o){super(t,r),this.reason=n,this.code=o,this.type=G.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},dt=class extends De{constructor(t,r,n,o){super(t,r),this.reason=n,this.code=o,this.type=G.NavigationSkipped}},ar=class extends De{constructor(t,r,n,o){super(t,r),this.error=n,this.target=o,this.type=G.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Qo=class extends De{constructor(t,r,n,o){super(t,r),this.urlAfterRedirects=n,this.state=o,this.type=G.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Ba=class extends De{constructor(t,r,n,o){super(t,r),this.urlAfterRedirects=n,this.state=o,this.type=G.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Ua=class extends De{constructor(t,r,n,o,i){super(t,r),this.urlAfterRedirects=n,this.state=o,this.shouldActivate=i,this.type=G.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},Ha=class extends De{constructor(t,r,n,o){super(t,r),this.urlAfterRedirects=n,this.state=o,this.type=G.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},za=class extends De{constructor(t,r,n,o){super(t,r),this.urlAfterRedirects=n,this.state=o,this.type=G.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Ga=class{constructor(t){this.route=t,this.type=G.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},qa=class{constructor(t){this.route=t,this.type=G.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Wa=class{constructor(t){this.snapshot=t,this.type=G.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Za=class{constructor(t){this.snapshot=t,this.type=G.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Ya=class{constructor(t){this.snapshot=t,this.type=G.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Qa=class{constructor(t){this.snapshot=t,this.type=G.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Ko=class{constructor(t,r,n){this.routerEvent=t,this.position=r,this.anchor=n,this.type=G.Scroll}toString(){let t=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${t}')`}},cr=class{},Cn=class{constructor(t,r){this.url=t,this.navigationBehaviorOptions=r}};function GD(e,t){return e.providers&&!e._injector&&(e._injector=No(e.providers,t,`Route: ${e.path}`)),e._injector??t}function Ae(e){return e.outlet||M}function qD(e,t){let r=e.filter(n=>Ae(n)===t);return r.push(...e.filter(n=>Ae(n)!==t)),r}function gr(e){if(!e)return null;if(e.routeConfig?._injector)return e.routeConfig._injector;for(let t=e.parent;t;t=t.parent){let r=t.routeConfig;if(r?._loadedInjector)return r._loadedInjector;if(r?._injector)return r._injector}return null}var Ka=class{get injector(){return gr(this.route?.snapshot)??this.rootInjector}set injector(t){}constructor(t){this.rootInjector=t,this.outlet=null,this.route=null,this.children=new mr(this.rootInjector),this.attachRef=null}},mr=(()=>{let t=class t{constructor(n){this.rootInjector=n,this.contexts=new Map}onChildOutletCreated(n,o){let i=this.getOrCreateContext(n);i.outlet=o,this.contexts.set(n,i)}onChildOutletDestroyed(n){let o=this.getContext(n);o&&(o.outlet=null,o.attachRef=null)}onOutletDeactivated(){let n=this.contexts;return this.contexts=new Map,n}onOutletReAttached(n){this.contexts=n}getOrCreateContext(n){let o=this.getContext(n);return o||(o=new Ka(this.rootInjector),this.contexts.set(n,o)),o}getContext(n){return this.contexts.get(n)||null}};t.\u0275fac=function(o){return new(o||t)(D(re))},t.\u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),Jo=class{constructor(t){this._root=t}get root(){return this._root.value}parent(t){let r=this.pathFromRoot(t);return r.length>1?r[r.length-2]:null}children(t){let r=Ja(t,this._root);return r?r.children.map(n=>n.value):[]}firstChild(t){let r=Ja(t,this._root);return r&&r.children.length>0?r.children[0].value:null}siblings(t){let r=Xa(t,this._root);return r.length<2?[]:r[r.length-2].children.map(o=>o.value).filter(o=>o!==t)}pathFromRoot(t){return Xa(t,this._root).map(r=>r.value)}};function Ja(e,t){if(e===t.value)return t;for(let r of t.children){let n=Ja(e,r);if(n)return n}return null}function Xa(e,t){if(e===t.value)return[t];for(let r of t.children){let n=Xa(e,r);if(n.length)return n.unshift(t),n}return[]}var le=class{constructor(t,r){this.value=t,this.children=r}toString(){return`TreeNode(${this.value})`}};function pn(e){let t={};return e&&e.children.forEach(r=>t[r.value.outlet]=r),t}var Xo=class extends Jo{constructor(t,r){super(t),this.snapshot=r,cc(this,t)}toString(){return this.snapshot.toString()}};function Wf(e){let t=WD(e),r=new q([new _t("",{})]),n=new q({}),o=new q({}),i=new q({}),s=new q(""),a=new En(r,n,i,s,o,M,e,t.root);return a.snapshot=t.root,new Xo(new le(a,[]),t)}function WD(e){let t={},r={},n={},o="",i=new mn([],t,n,o,r,M,e,null,{});return new ti("",new le(i,[]))}var En=class{constructor(t,r,n,o,i,s,a,c){this.urlSubject=t,this.paramsSubject=r,this.queryParamsSubject=n,this.fragmentSubject=o,this.dataSubject=i,this.outlet=s,this.component=a,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(x(u=>u[hr]))??C(void 0),this.url=t,this.params=r,this.queryParams=n,this.fragment=o,this.data=i}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(x(t=>yn(t))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(x(t=>yn(t))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function ei(e,t,r="emptyOnly"){let n,{routeConfig:o}=e;return t!==null&&(r==="always"||o?.path===""||!t.component&&!t.routeConfig?.loadComponent)?n={params:m(m({},t.params),e.params),data:m(m({},t.data),e.data),resolve:m(m(m(m({},e.data),t.data),o?.data),e._resolvedData)}:n={params:m({},e.params),data:m({},e.data),resolve:m(m({},e.data),e._resolvedData??{})},o&&Yf(o)&&(n.resolve[hr]=o.title),n}var mn=class{get title(){return this.data?.[hr]}constructor(t,r,n,o,i,s,a,c,u){this.url=t,this.params=r,this.queryParams=n,this.fragment=o,this.data=i,this.outlet=s,this.component=a,this.routeConfig=c,this._resolve=u}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??=yn(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=yn(this.queryParams),this._queryParamMap}toString(){let t=this.url.map(n=>n.toString()).join("/"),r=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${t}', path:'${r}')`}},ti=class extends Jo{constructor(t,r){super(r),this.url=t,cc(this,r)}toString(){return Zf(this._root)}};function cc(e,t){t.value._routerState=e,t.children.forEach(r=>cc(e,r))}function Zf(e){let t=e.children.length>0?` { ${e.children.map(Zf).join(", ")} } `:"";return`${e.value}${t}`}function Pa(e){if(e.snapshot){let t=e.snapshot,r=e._futureSnapshot;e.snapshot=r,Be(t.queryParams,r.queryParams)||e.queryParamsSubject.next(r.queryParams),t.fragment!==r.fragment&&e.fragmentSubject.next(r.fragment),Be(t.params,r.params)||e.paramsSubject.next(r.params),wD(t.url,r.url)||e.urlSubject.next(r.url),Be(t.data,r.data)||e.dataSubject.next(r.data)}else e.snapshot=e._futureSnapshot,e.dataSubject.next(e._futureSnapshot.data)}function ec(e,t){let r=Be(e.params,t.params)&&bD(e.url,t.url),n=!e.parent!=!t.parent;return r&&!n&&(!e.parent||ec(e.parent,t.parent))}function Yf(e){return typeof e.title=="string"||e.title===null}var uc=(()=>{let t=class t{constructor(){this.activated=null,this._activatedRoute=null,this.name=M,this.activateEvents=new Q,this.deactivateEvents=new Q,this.attachEvents=new Q,this.detachEvents=new Q,this.parentContexts=p(mr),this.location=p(_o),this.changeDetector=p(Zn),this.inputBinder=p(si,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(n){if(n.name){let{firstChange:o,previousValue:i}=n.name;if(o)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 v(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new v(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new v(4012,!1);this.location.detach();let n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}attach(n,o){this.activated=n,this._activatedRoute=o,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,o){if(this.isActivated)throw new v(4013,!1);this._activatedRoute=n;let i=this.location,a=n.snapshot.component,c=this.parentContexts.getOrCreateContext(this.name).children,u=new tc(n,c,i.injector);this.activated=i.createComponent(a,{index:i.length,injector:u,environmentInjector:o}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}};t.\u0275fac=function(o){return new(o||t)},t.\u0275dir=ks({type:t,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[Eo]});let e=t;return e})(),tc=class e{__ngOutletInjector(t){return new e(this.route,this.childContexts,t)}constructor(t,r,n){this.route=t,this.childContexts=r,this.parent=n}get(t,r){return t===En?this.route:t===mr?this.childContexts:this.parent.get(t,r)}},si=new w(""),xf=(()=>{let t=class t{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(n){this.unsubscribeFromRouteData(n),this.subscribeToRouteData(n)}unsubscribeFromRouteData(n){this.outletDataSubscriptions.get(n)?.unsubscribe(),this.outletDataSubscriptions.delete(n)}subscribeToRouteData(n){let{activatedRoute:o}=n,i=xn([o.queryParams,o.params,o.data]).pipe(he(([s,a,c],u)=>(c=m(m(m({},s),a),c),u===0?C(c):Promise.resolve(c)))).subscribe(s=>{if(!n.isActivated||!n.activatedComponentRef||n.activatedRoute!==o||o.component===null){this.unsubscribeFromRouteData(n);return}let a=Jd(o.component);if(!a){this.unsubscribeFromRouteData(n);return}for(let{templateName:c}of a.inputs)n.activatedComponentRef.setInput(c,s[c])});this.outletDataSubscriptions.set(n,i)}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=y({token:t,factory:t.\u0275fac});let e=t;return e})();function ZD(e,t,r){let n=ur(e,t._root,r?r._root:void 0);return new Xo(n,t)}function ur(e,t,r){if(r&&e.shouldReuseRoute(t.value,r.value.snapshot)){let n=r.value;n._futureSnapshot=t.value;let o=YD(e,t,r);return new le(n,o)}else{if(e.shouldAttach(t.value)){let i=e.retrieve(t.value);if(i!==null){let s=i.route;return s.value._futureSnapshot=t.value,s.children=t.children.map(a=>ur(e,a)),s}}let n=QD(t.value),o=t.children.map(i=>ur(e,i));return new le(n,o)}}function YD(e,t,r){return t.children.map(n=>{for(let o of r.children)if(e.shouldReuseRoute(n.value,o.value.snapshot))return ur(e,n,o);return ur(e,n)})}function QD(e){return new En(new q(e.url),new q(e.params),new q(e.queryParams),new q(e.fragment),new q(e.data),e.outlet,e.component,e)}var lr=class{constructor(t,r){this.redirectTo=t,this.navigationBehaviorOptions=r}},Qf="ngNavigationCancelingError";function ni(e,t){let{redirectTo:r,navigationBehaviorOptions:n}=ir(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,o=Kf(!1,de.Redirect);return o.url=r,o.navigationBehaviorOptions=n,o}function Kf(e,t){let r=new Error(`NavigationCancelingError: ${e||""}`);return r[Qf]=!0,r.cancellationCode=t,r}function KD(e){return Jf(e)&&ir(e.url)}function Jf(e){return!!e&&e[Qf]}var JD=(e,t,r,n)=>x(o=>(new nc(t,o.targetRouterState,o.currentRouterState,r,n).activate(e),o)),nc=class{constructor(t,r,n,o,i){this.routeReuseStrategy=t,this.futureState=r,this.currState=n,this.forwardEvent=o,this.inputBindingEnabled=i}activate(t){let r=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(r,n,t),Pa(this.futureState.root),this.activateChildRoutes(r,n,t)}deactivateChildRoutes(t,r,n){let o=pn(r);t.children.forEach(i=>{let s=i.value.outlet;this.deactivateRoutes(i,o[s],n),delete o[s]}),Object.values(o).forEach(i=>{this.deactivateRouteAndItsChildren(i,n)})}deactivateRoutes(t,r,n){let o=t.value,i=r?r.value:null;if(o===i)if(o.component){let s=n.getContext(o.outlet);s&&this.deactivateChildRoutes(t,r,s.children)}else this.deactivateChildRoutes(t,r,n);else i&&this.deactivateRouteAndItsChildren(r,n)}deactivateRouteAndItsChildren(t,r){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,r):this.deactivateRouteAndOutlet(t,r)}detachAndStoreRouteSubtree(t,r){let n=r.getContext(t.value.outlet),o=n&&t.value.component?n.children:r,i=pn(t);for(let s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);if(n&&n.outlet){let s=n.outlet.detach(),a=n.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:s,route:t,contexts:a})}}deactivateRouteAndOutlet(t,r){let n=r.getContext(t.value.outlet),o=n&&t.value.component?n.children:r,i=pn(t);for(let s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);n&&(n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated()),n.attachRef=null,n.route=null)}activateChildRoutes(t,r,n){let o=pn(r);t.children.forEach(i=>{this.activateRoutes(i,o[i.value.outlet],n),this.forwardEvent(new Qa(i.value.snapshot))}),t.children.length&&this.forwardEvent(new Za(t.value.snapshot))}activateRoutes(t,r,n){let o=t.value,i=r?r.value:null;if(Pa(o),o===i)if(o.component){let s=n.getOrCreateContext(o.outlet);this.activateChildRoutes(t,r,s.children)}else this.activateChildRoutes(t,r,n);else if(o.component){let s=n.getOrCreateContext(o.outlet);if(this.routeReuseStrategy.shouldAttach(o.snapshot)){let a=this.routeReuseStrategy.retrieve(o.snapshot);this.routeReuseStrategy.store(o.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),Pa(a.route.value),this.activateChildRoutes(t,null,s.children)}else s.attachRef=null,s.route=o,s.outlet&&s.outlet.activateWith(o,s.injector),this.activateChildRoutes(t,null,s.children)}else this.activateChildRoutes(t,null,n)}},ri=class{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}},vn=class{constructor(t,r){this.component=t,this.route=r}};function XD(e,t,r){let n=e._root,o=t?t._root:null;return er(n,o,r,[n.value])}function ew(e){let t=e.routeConfig?e.routeConfig.canActivateChild:null;return!t||t.length===0?null:{node:e,guards:t}}function bn(e,t){let r=Symbol(),n=t.get(e,r);return n===r?typeof e=="function"&&!Lu(e)?e:t.get(e):n}function er(e,t,r,n,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=pn(t);return e.children.forEach(s=>{tw(s,i[s.value.outlet],r,n.concat([s.value]),o),delete i[s.value.outlet]}),Object.entries(i).forEach(([s,a])=>or(a,r.getContext(s),o)),o}function tw(e,t,r,n,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=e.value,s=t?t.value:null,a=r?r.getContext(e.value.outlet):null;if(s&&i.routeConfig===s.routeConfig){let c=nw(s,i,i.routeConfig.runGuardsAndResolvers);c?o.canActivateChecks.push(new ri(n)):(i.data=s.data,i._resolvedData=s._resolvedData),i.component?er(e,t,a?a.children:null,n,o):er(e,t,r,n,o),c&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new vn(a.outlet.component,s))}else s&&or(t,a,o),o.canActivateChecks.push(new ri(n)),i.component?er(e,null,a?a.children:null,n,o):er(e,null,r,n,o);return o}function nw(e,t,r){if(typeof r=="function")return r(e,t);switch(r){case"pathParamsChange":return!Nt(e.url,t.url);case"pathParamsOrQueryParamsChange":return!Nt(e.url,t.url)||!Be(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!ec(e,t)||!Be(e.queryParams,t.queryParams);case"paramsChange":default:return!ec(e,t)}}function or(e,t,r){let n=pn(e),o=e.value;Object.entries(n).forEach(([i,s])=>{o.component?t?or(s,t.children.getContext(i),r):or(s,null,r):or(s,t,r)}),o.component?t&&t.outlet&&t.outlet.isActivated?r.canDeactivateChecks.push(new vn(t.outlet.component,o)):r.canDeactivateChecks.push(new vn(null,o)):r.canDeactivateChecks.push(new vn(null,o))}function vr(e){return typeof e=="function"}function rw(e){return typeof e=="boolean"}function ow(e){return e&&vr(e.canLoad)}function iw(e){return e&&vr(e.canActivate)}function sw(e){return e&&vr(e.canActivateChild)}function aw(e){return e&&vr(e.canDeactivate)}function cw(e){return e&&vr(e.canMatch)}function Xf(e){return e instanceof He||e?.name==="EmptyError"}var Ho=Symbol("INITIAL_VALUE");function In(){return he(e=>xn(e.map(t=>t.pipe(ze(1),Ri(Ho)))).pipe(x(t=>{for(let r of t)if(r!==!0){if(r===Ho)return Ho;if(r===!1||uw(r))return r}return!0}),fe(t=>t!==Ho),ze(1)))}function uw(e){return ir(e)||e instanceof lr}function lw(e,t){return U(r=>{let{targetSnapshot:n,currentSnapshot:o,guards:{canActivateChecks:i,canDeactivateChecks:s}}=r;return s.length===0&&i.length===0?C(V(m({},r),{guardsResult:!0})):dw(s,n,o,e).pipe(U(a=>a&&rw(a)?fw(n,i,e,t):C(a)),x(a=>V(m({},r),{guardsResult:a})))})}function dw(e,t,r,n){return $(e).pipe(U(o=>vw(o.component,o.route,r,t,n)),Re(o=>o!==!0,!0))}function fw(e,t,r,n){return $(t).pipe(mt(o=>Ht(pw(o.route.parent,n),hw(o.route,n),mw(e,o.path,r),gw(e,o.route,r))),Re(o=>o!==!0,!0))}function hw(e,t){return e!==null&&t&&t(new Ya(e)),C(!0)}function pw(e,t){return e!==null&&t&&t(new Wa(e)),C(!0)}function gw(e,t,r){let n=t.routeConfig?t.routeConfig.canActivate:null;if(!n||n.length===0)return C(!0);let o=n.map(i=>Lr(()=>{let s=gr(t)??r,a=bn(i,s),c=iw(a)?a.canActivate(t,e):_e(s,()=>a(t,e));return ft(c).pipe(Re())}));return C(o).pipe(In())}function mw(e,t,r){let n=t[t.length-1],i=t.slice(0,t.length-1).reverse().map(s=>ew(s)).filter(s=>s!==null).map(s=>Lr(()=>{let a=s.guards.map(c=>{let u=gr(s.node)??r,l=bn(c,u),d=sw(l)?l.canActivateChild(n,e):_e(u,()=>l(n,e));return ft(d).pipe(Re())});return C(a).pipe(In())}));return C(i).pipe(In())}function vw(e,t,r,n,o){let i=t&&t.routeConfig?t.routeConfig.canDeactivate:null;if(!i||i.length===0)return C(!0);let s=i.map(a=>{let c=gr(t)??o,u=bn(a,c),l=aw(u)?u.canDeactivate(e,t,r,n):_e(c,()=>u(e,t,r,n));return ft(l).pipe(Re())});return C(s).pipe(In())}function yw(e,t,r,n){let o=t.canLoad;if(o===void 0||o.length===0)return C(!0);let i=o.map(s=>{let a=bn(s,e),c=ow(a)?a.canLoad(t,r):_e(e,()=>a(t,r));return ft(c)});return C(i).pipe(In(),eh(n))}function eh(e){return bi(W(t=>{if(typeof t!="boolean")throw ni(e,t)}),x(t=>t===!0))}function Dw(e,t,r,n){let o=t.canMatch;if(!o||o.length===0)return C(!0);let i=o.map(s=>{let a=bn(s,e),c=cw(a)?a.canMatch(t,r):_e(e,()=>a(t,r));return ft(c)});return C(i).pipe(In(),eh(n))}var dr=class{constructor(t){this.segmentGroup=t||null}},fr=class extends Error{constructor(t){super(),this.urlTree=t}};function hn(e){return Bt(new dr(e))}function ww(e){return Bt(new v(4e3,!1))}function Cw(e){return Bt(Kf(!1,de.GuardRejected))}var rc=class{constructor(t,r){this.urlSerializer=t,this.urlTree=r}lineralizeSegments(t,r){let n=[],o=r.root;for(;;){if(n=n.concat(o.segments),o.numberOfChildren===0)return C(n);if(o.numberOfChildren>1||!o.children[M])return ww(`${t.redirectTo}`);o=o.children[M]}}applyRedirectCommands(t,r,n,o,i){if(typeof r!="string"){let a=r,{queryParams:c,fragment:u,routeConfig:l,url:d,outlet:h,params:f,data:g,title:E}=o,R=_e(i,()=>a({params:f,data:g,queryParams:c,fragment:u,routeConfig:l,url:d,outlet:h,title:E}));if(R instanceof Xe)throw new fr(R);r=R}let s=this.applyRedirectCreateUrlTree(r,this.urlSerializer.parse(r),t,n);if(r[0]==="/")throw new fr(s);return s}applyRedirectCreateUrlTree(t,r,n,o){let i=this.createSegmentGroup(t,r.root,n,o);return new Xe(i,this.createQueryParams(r.queryParams,this.urlTree.queryParams),r.fragment)}createQueryParams(t,r){let n={};return Object.entries(t).forEach(([o,i])=>{if(typeof i=="string"&&i[0]===":"){let a=i.substring(1);n[o]=r[a]}else n[o]=i}),n}createSegmentGroup(t,r,n,o){let i=this.createSegments(t,r.segments,n,o),s={};return Object.entries(r.children).forEach(([a,c])=>{s[a]=this.createSegmentGroup(t,c,n,o)}),new O(i,s)}createSegments(t,r,n,o){return r.map(i=>i.path[0]===":"?this.findPosParam(t,i,o):this.findOrReturn(i,n))}findPosParam(t,r,n){let o=n[r.path.substring(1)];if(!o)throw new v(4001,!1);return o}findOrReturn(t,r){let n=0;for(let o of r){if(o.path===t.path)return r.splice(n),o;n++}return t}},oc={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Ew(e,t,r,n,o){let i=lc(e,t,r);return i.matched?(n=GD(t,n),Dw(n,t,r,o).pipe(x(s=>s===!0?i:m({},oc)))):C(i)}function lc(e,t,r){if(t.path==="**")return Iw(r);if(t.path==="")return t.pathMatch==="full"&&(e.hasChildren()||r.length>0)?m({},oc):{matched:!0,consumedSegments:[],remainingSegments:r,parameters:{},positionalParamSegments:{}};let o=(t.matcher||DD)(r,e,t);if(!o)return m({},oc);let i={};Object.entries(o.posParams??{}).forEach(([a,c])=>{i[a]=c.path});let s=o.consumed.length>0?m(m({},i),o.consumed[o.consumed.length-1].parameters):i;return{matched:!0,consumedSegments:o.consumed,remainingSegments:r.slice(o.consumed.length),parameters:s,positionalParamSegments:o.posParams??{}}}function Iw(e){return{matched:!0,parameters:e.length>0?Pf(e).parameters:{},consumedSegments:e,remainingSegments:[],positionalParamSegments:{}}}function Tf(e,t,r,n){return r.length>0&&Sw(e,r,n)?{segmentGroup:new O(t,Mw(n,new O(r,e.children))),slicedSegments:[]}:r.length===0&&xw(e,r,n)?{segmentGroup:new O(e.segments,bw(e,r,n,e.children)),slicedSegments:r}:{segmentGroup:new O(e.segments,e.children),slicedSegments:r}}function bw(e,t,r,n){let o={};for(let i of r)if(ai(e,t,i)&&!n[Ae(i)]){let s=new O([],{});o[Ae(i)]=s}return m(m({},n),o)}function Mw(e,t){let r={};r[M]=t;for(let n of e)if(n.path===""&&Ae(n)!==M){let o=new O([],{});r[Ae(n)]=o}return r}function Sw(e,t,r){return r.some(n=>ai(e,t,n)&&Ae(n)!==M)}function xw(e,t,r){return r.some(n=>ai(e,t,n))}function ai(e,t,r){return(e.hasChildren()||t.length>0)&&r.pathMatch==="full"?!1:r.path===""}function Tw(e,t,r,n){return Ae(e)!==n&&(n===M||!ai(t,r,e))?!1:lc(t,e,r).matched}function _w(e,t,r){return t.length===0&&!e.children[r]}var ic=class{};function Nw(e,t,r,n,o,i,s="emptyOnly"){return new sc(e,t,r,n,o,s,i).recognize()}var Aw=31,sc=class{constructor(t,r,n,o,i,s,a){this.injector=t,this.configLoader=r,this.rootComponentType=n,this.config=o,this.urlTree=i,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new rc(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(t){return new v(4002,`'${t.segmentGroup}'`)}recognize(){let t=Tf(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(t).pipe(x(({children:r,rootSnapshot:n})=>{let o=new le(n,r),i=new ti("",o),s=jD(n,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,i.url=this.urlSerializer.serialize(s),{state:i,tree:s}}))}match(t){let r=new mn([],Object.freeze({}),Object.freeze(m({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),M,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,t,M,r).pipe(x(n=>({children:n,rootSnapshot:r})),nt(n=>{if(n instanceof fr)return this.urlTree=n.urlTree,this.match(n.urlTree.root);throw n instanceof dr?this.noMatchError(n):n}))}processSegmentGroup(t,r,n,o,i){return n.segments.length===0&&n.hasChildren()?this.processChildren(t,r,n,i):this.processSegment(t,r,n,n.segments,o,!0,i).pipe(x(s=>s instanceof le?[s]:[]))}processChildren(t,r,n,o){let i=[];for(let s of Object.keys(n.children))s==="primary"?i.unshift(s):i.push(s);return $(i).pipe(mt(s=>{let a=n.children[s],c=qD(r,s);return this.processSegmentGroup(t,c,a,s,o)}),Ai((s,a)=>(s.push(...a),s)),rt(null),Ni(),U(s=>{if(s===null)return hn(n);let a=th(s);return Rw(a),C(a)}))}processSegment(t,r,n,o,i,s,a){return $(r).pipe(mt(c=>this.processSegmentAgainstRoute(c._injector??t,r,c,n,o,i,s,a).pipe(nt(u=>{if(u instanceof dr)return C(null);throw u}))),Re(c=>!!c),nt(c=>{if(Xf(c))return _w(n,o,i)?C(new ic):hn(n);throw c}))}processSegmentAgainstRoute(t,r,n,o,i,s,a,c){return Tw(n,o,i,s)?n.redirectTo===void 0?this.matchSegmentAgainstRoute(t,o,n,i,s,c):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(t,o,r,n,i,s,c):hn(o):hn(o)}expandSegmentAgainstRouteUsingRedirect(t,r,n,o,i,s,a){let{matched:c,parameters:u,consumedSegments:l,positionalParamSegments:d,remainingSegments:h}=lc(r,o,i);if(!c)return hn(r);typeof o.redirectTo=="string"&&o.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>Aw&&(this.allowRedirects=!1));let f=new mn(i,u,Object.freeze(m({},this.urlTree.queryParams)),this.urlTree.fragment,_f(o),Ae(o),o.component??o._loadedComponent??null,o,Nf(o)),g=ei(f,a,this.paramsInheritanceStrategy);f.params=Object.freeze(g.params),f.data=Object.freeze(g.data);let E=this.applyRedirects.applyRedirectCommands(l,o.redirectTo,d,f,t);return this.applyRedirects.lineralizeSegments(o,E).pipe(U(R=>this.processSegment(t,n,r,R.concat(h),s,!1,a)))}matchSegmentAgainstRoute(t,r,n,o,i,s){let a=Ew(r,n,o,t,this.urlSerializer);return n.path==="**"&&(r.children={}),a.pipe(he(c=>c.matched?(t=n._injector??t,this.getChildConfig(t,n,o).pipe(he(({routes:u})=>{let l=n._loadedInjector??t,{parameters:d,consumedSegments:h,remainingSegments:f}=c,g=new mn(h,d,Object.freeze(m({},this.urlTree.queryParams)),this.urlTree.fragment,_f(n),Ae(n),n.component??n._loadedComponent??null,n,Nf(n)),E=ei(g,s,this.paramsInheritanceStrategy);g.params=Object.freeze(E.params),g.data=Object.freeze(E.data);let{segmentGroup:R,slicedSegments:L}=Tf(r,h,f,u);if(L.length===0&&R.hasChildren())return this.processChildren(l,u,R,g).pipe(x(H=>new le(g,H)));if(u.length===0&&L.length===0)return C(new le(g,[]));let we=Ae(n)===i;return this.processSegment(l,u,R,L,we?M:i,!0,g).pipe(x(H=>new le(g,H instanceof le?[H]:[])))}))):hn(r)))}getChildConfig(t,r,n){return r.children?C({routes:r.children,injector:t}):r.loadChildren?r._loadedRoutes!==void 0?C({routes:r._loadedRoutes,injector:r._loadedInjector}):yw(t,r,n,this.urlSerializer).pipe(U(o=>o?this.configLoader.loadChildren(t,r).pipe(W(i=>{r._loadedRoutes=i.routes,r._loadedInjector=i.injector})):Cw(r))):C({routes:[],injector:t})}};function Rw(e){e.sort((t,r)=>t.value.outlet===M?-1:r.value.outlet===M?1:t.value.outlet.localeCompare(r.value.outlet))}function Ow(e){let t=e.value.routeConfig;return t&&t.path===""}function th(e){let t=[],r=new Set;for(let n of e){if(!Ow(n)){t.push(n);continue}let o=t.find(i=>n.value.routeConfig===i.value.routeConfig);o!==void 0?(o.children.push(...n.children),r.add(o)):t.push(n)}for(let n of r){let o=th(n.children);t.push(new le(n.value,o))}return t.filter(n=>!r.has(n))}function _f(e){return e.data||{}}function Nf(e){return e.resolve||{}}function Pw(e,t,r,n,o,i){return U(s=>Nw(e,t,r,n,s.extractedUrl,o,i).pipe(x(({state:a,tree:c})=>V(m({},s),{targetSnapshot:a,urlAfterRedirects:c}))))}function kw(e,t){return U(r=>{let{targetSnapshot:n,guards:{canActivateChecks:o}}=r;if(!o.length)return C(r);let i=new Set(o.map(c=>c.route)),s=new Set;for(let c of i)if(!s.has(c))for(let u of nh(c))s.add(u);let a=0;return $(s).pipe(mt(c=>i.has(c)?Fw(c,n,e,t):(c.data=ei(c,c.parent,e).resolve,C(void 0))),W(()=>a++),zt(1),U(c=>a===s.size?C(r):se))})}function nh(e){let t=e.children.map(r=>nh(r)).flat();return[e,...t]}function Fw(e,t,r,n){let o=e.routeConfig,i=e._resolve;return o?.title!==void 0&&!Yf(o)&&(i[hr]=o.title),Lw(i,e,t,n).pipe(x(s=>(e._resolvedData=s,e.data=ei(e,e.parent,r).resolve,null)))}function Lw(e,t,r,n){let o=La(e);if(o.length===0)return C({});let i={};return $(o).pipe(U(s=>jw(e[s],t,r,n).pipe(Re(),W(a=>{if(a instanceof lr)throw ni(new Dn,a);i[s]=a}))),zt(1),_i(i),nt(s=>Xf(s)?se:Bt(s)))}function jw(e,t,r,n){let o=gr(t)??n,i=bn(e,o),s=i.resolve?i.resolve(t,r):_e(o,()=>i(t,r));return ft(s)}function ka(e){return he(t=>{let r=e(t);return r?$(r).pipe(x(()=>t)):C(t)})}var rh=(()=>{let t=class t{buildTitle(n){let o,i=n.root;for(;i!==void 0;)o=this.getResolvedTitleForRoute(i)??o,i=i.children.find(s=>s.outlet===M);return o}getResolvedTitleForRoute(n){return n.data[hr]}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=y({token:t,factory:()=>p(Vw),providedIn:"root"});let e=t;return e})(),Vw=(()=>{let t=class t extends rh{constructor(n){super(),this.title=n}updateTitle(n){let o=this.buildTitle(n);o!==void 0&&this.title.setTitle(o)}};t.\u0275fac=function(o){return new(o||t)(D(Cf))},t.\u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),yr=new w("",{providedIn:"root",factory:()=>({})}),$w=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275cmp=yo({type:t,selectors:[["ng-component"]],standalone:!0,features:[$d],decls:1,vars:0,template:function(o,i){o&1&&Qe(0,"router-outlet")},dependencies:[uc],encapsulation:2});let e=t;return e})();function dc(e){let t=e.children&&e.children.map(dc),r=t?V(m({},e),{children:t}):m({},e);return!r.component&&!r.loadComponent&&(t||r.loadChildren)&&r.outlet&&r.outlet!==M&&(r.component=$w),r}var oi=new w(""),fc=(()=>{let t=class t{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=p(Lo)}loadComponent(n){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return C(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);let o=ft(n.loadComponent()).pipe(x(oh),W(s=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=s}),Tn(()=>{this.componentLoaders.delete(n)})),i=new $t(o,()=>new Y).pipe(Vt());return this.componentLoaders.set(n,i),i}loadChildren(n,o){if(this.childrenLoaders.get(o))return this.childrenLoaders.get(o);if(o._loadedRoutes)return C({routes:o._loadedRoutes,injector:o._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(o);let s=Bw(o,this.compiler,n,this.onLoadEndListener).pipe(Tn(()=>{this.childrenLoaders.delete(o)})),a=new $t(s,()=>new Y).pipe(Vt());return this.childrenLoaders.set(o,a),a}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function Bw(e,t,r,n){return ft(e.loadChildren()).pipe(x(oh),U(o=>o instanceof Vn||Array.isArray(o)?C(o):$(t.compileModuleAsync(o))),x(o=>{n&&n(e);let i,s,a=!1;return Array.isArray(o)?(s=o,a=!0):(i=o.create(r).injector,s=i.get(oi,[],{optional:!0,self:!0}).flat()),{routes:s.map(dc),injector:i}}))}function Uw(e){return e&&typeof e=="object"&&"default"in e}function oh(e){return Uw(e)?e.default:e}var hc=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=y({token:t,factory:()=>p(Hw),providedIn:"root"});let e=t;return e})(),Hw=(()=>{let t=class t{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,o){return n}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),ih=new w(""),sh=new w("");function zw(e,t,r){let n=e.get(sh),o=e.get(ee);return e.get(j).runOutsideAngular(()=>{if(!o.startViewTransition||n.skipNextTransition)return n.skipNextTransition=!1,new Promise(u=>setTimeout(u));let i,s=new Promise(u=>{i=u}),a=o.startViewTransition(()=>(i(),Gw(e))),{onViewTransitionCreated:c}=n;return c&&_e(e,()=>c({transition:a,from:t,to:r})),s})}function Gw(e){return new Promise(t=>{To({read:()=>setTimeout(t)},{injector:e})})}var qw=new w(""),pc=(()=>{let t=class t{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new Y,this.transitionAbortSubject=new Y,this.configLoader=p(fc),this.environmentInjector=p(re),this.urlSerializer=p(pr),this.rootContexts=p(mr),this.location=p(fn),this.inputBindingEnabled=p(si,{optional:!0})!==null,this.titleStrategy=p(rh),this.options=p(yr,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=p(hc),this.createViewTransition=p(ih,{optional:!0}),this.navigationErrorHandler=p(qw,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>C(void 0),this.rootComponentType=null;let n=i=>this.events.next(new Ga(i)),o=i=>this.events.next(new qa(i));this.configLoader.onLoadEndListener=o,this.configLoader.onLoadStartListener=n}complete(){this.transitions?.complete()}handleNavigationRequest(n){let o=++this.navigationId;this.transitions?.next(V(m(m({},this.transitions.value),n),{id:o}))}setupNavigations(n,o,i){return this.transitions=new q({id:0,currentUrlTree:o,currentRawUrl:o,extractedUrl:this.urlHandlingStrategy.extract(o),urlAfterRedirects:this.urlHandlingStrategy.extract(o),rawUrl:o,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:rr,restoredState:null,currentSnapshot:i.snapshot,targetSnapshot:null,currentRouterState:i,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(fe(s=>s.id!==0),x(s=>V(m({},s),{extractedUrl:this.urlHandlingStrategy.extract(s.rawUrl)})),he(s=>{let a=!1,c=!1;return C(s).pipe(he(u=>{if(this.navigationId>s.id)return this.cancelNavigationTransition(s,"",de.SupersededByNewNavigation),se;this.currentTransition=s,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?V(m({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let l=!n.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),d=u.extras.onSameUrlNavigation??n.onSameUrlNavigation;if(!l&&d!=="reload"){let h="";return this.events.next(new dt(u.id,this.urlSerializer.serialize(u.rawUrl),h,Yo.IgnoredSameUrlNavigation)),u.resolve(!1),se}if(this.urlHandlingStrategy.shouldProcessUrl(u.rawUrl))return C(u).pipe(he(h=>{let f=this.transitions?.getValue();return this.events.next(new wn(h.id,this.urlSerializer.serialize(h.extractedUrl),h.source,h.restoredState)),f!==this.transitions?.getValue()?se:Promise.resolve(h)}),Pw(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,this.paramsInheritanceStrategy),W(h=>{s.targetSnapshot=h.targetSnapshot,s.urlAfterRedirects=h.urlAfterRedirects,this.currentNavigation=V(m({},this.currentNavigation),{finalUrl:h.urlAfterRedirects});let f=new Qo(h.id,this.urlSerializer.serialize(h.extractedUrl),this.urlSerializer.serialize(h.urlAfterRedirects),h.targetSnapshot);this.events.next(f)}));if(l&&this.urlHandlingStrategy.shouldProcessUrl(u.currentRawUrl)){let{id:h,extractedUrl:f,source:g,restoredState:E,extras:R}=u,L=new wn(h,this.urlSerializer.serialize(f),g,E);this.events.next(L);let we=Wf(this.rootComponentType).snapshot;return this.currentTransition=s=V(m({},u),{targetSnapshot:we,urlAfterRedirects:f,extras:V(m({},R),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=f,C(s)}else{let h="";return this.events.next(new dt(u.id,this.urlSerializer.serialize(u.extractedUrl),h,Yo.IgnoredByUrlHandlingStrategy)),u.resolve(!1),se}}),W(u=>{let l=new Ba(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(l)}),x(u=>(this.currentTransition=s=V(m({},u),{guards:XD(u.targetSnapshot,u.currentSnapshot,this.rootContexts)}),s)),lw(this.environmentInjector,u=>this.events.next(u)),W(u=>{if(s.guardsResult=u.guardsResult,u.guardsResult&&typeof u.guardsResult!="boolean")throw ni(this.urlSerializer,u.guardsResult);let l=new Ua(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot,!!u.guardsResult);this.events.next(l)}),fe(u=>u.guardsResult?!0:(this.cancelNavigationTransition(u,"",de.GuardRejected),!1)),ka(u=>{if(u.guards.canActivateChecks.length)return C(u).pipe(W(l=>{let d=new Ha(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(d)}),he(l=>{let d=!1;return C(l).pipe(kw(this.paramsInheritanceStrategy,this.environmentInjector),W({next:()=>d=!0,complete:()=>{d||this.cancelNavigationTransition(l,"",de.NoDataFromResolver)}}))}),W(l=>{let d=new za(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(d)}))}),ka(u=>{let l=d=>{let h=[];d.routeConfig?.loadComponent&&!d.routeConfig._loadedComponent&&h.push(this.configLoader.loadComponent(d.routeConfig).pipe(W(f=>{d.component=f}),x(()=>{})));for(let f of d.children)h.push(...l(f));return h};return xn(l(u.targetSnapshot.root)).pipe(rt(null),ze(1))}),ka(()=>this.afterPreactivation()),he(()=>{let{currentSnapshot:u,targetSnapshot:l}=s,d=this.createViewTransition?.(this.environmentInjector,u.root,l.root);return d?$(d).pipe(x(()=>s)):C(s)}),x(u=>{let l=ZD(n.routeReuseStrategy,u.targetSnapshot,u.currentRouterState);return this.currentTransition=s=V(m({},u),{targetRouterState:l}),this.currentNavigation.targetRouterState=l,s}),W(()=>{this.events.next(new cr)}),JD(this.rootContexts,n.routeReuseStrategy,u=>this.events.next(u),this.inputBindingEnabled),ze(1),W({next:u=>{a=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new et(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects))),this.titleStrategy?.updateTitle(u.targetRouterState.snapshot),u.resolve(!0)},complete:()=>{a=!0}}),Oi(this.transitionAbortSubject.pipe(W(u=>{throw u}))),Tn(()=>{!a&&!c&&this.cancelNavigationTransition(s,"",de.SupersededByNewNavigation),this.currentTransition?.id===s.id&&(this.currentNavigation=null,this.currentTransition=null)}),nt(u=>{if(c=!0,Jf(u))this.events.next(new Je(s.id,this.urlSerializer.serialize(s.extractedUrl),u.message,u.cancellationCode)),KD(u)?this.events.next(new Cn(u.url,u.navigationBehaviorOptions)):s.resolve(!1);else{let l=new ar(s.id,this.urlSerializer.serialize(s.extractedUrl),u,s.targetSnapshot??void 0);try{let d=_e(this.environmentInjector,()=>this.navigationErrorHandler?.(l));if(d instanceof lr){let{message:h,cancellationCode:f}=ni(this.urlSerializer,d);this.events.next(new Je(s.id,this.urlSerializer.serialize(s.extractedUrl),h,f)),this.events.next(new Cn(d.redirectTo,d.navigationBehaviorOptions))}else{this.events.next(l);let h=n.errorHandler(u);s.resolve(!!h)}}catch(d){this.options.resolveNavigationPromiseOnError?s.resolve(!1):s.reject(d)}}return se}))}))}cancelNavigationTransition(n,o,i){let s=new Je(n.id,this.urlSerializer.serialize(n.extractedUrl),o,i);this.events.next(s),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))),o=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return n.toString()!==o?.toString()&&!this.currentNavigation?.extras.skipLocationChange}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function Ww(e){return e!==rr}var Zw=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=y({token:t,factory:()=>p(Yw),providedIn:"root"});let e=t;return e})(),ac=class{shouldDetach(t){return!1}store(t,r){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,r){return t.routeConfig===r.routeConfig}},Yw=(()=>{let t=class t extends ac{};t.\u0275fac=(()=>{let n;return function(i){return(n||(n=Gs(t)))(i||t)}})(),t.\u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),ah=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=y({token:t,factory:()=>p(Qw),providedIn:"root"});let e=t;return e})(),Qw=(()=>{let t=class t extends ah{constructor(){super(...arguments),this.location=p(fn),this.urlSerializer=p(pr),this.options=p(yr,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=p(hc),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new Xe,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=Wf(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(o=>{o.type==="popstate"&&n(o.url,o.state)})}handleRouterEvent(n,o){if(n instanceof wn)this.stateMemento=this.createStateMemento();else if(n instanceof dt)this.rawUrlTree=o.initialUrl;else if(n instanceof Qo){if(this.urlUpdateStrategy==="eager"&&!o.extras.skipLocationChange){let i=this.urlHandlingStrategy.merge(o.finalUrl,o.initialUrl);this.setBrowserUrl(o.targetBrowserUrl??i,o)}}else n instanceof cr?(this.currentUrlTree=o.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(o.finalUrl,o.initialUrl),this.routerState=o.targetRouterState,this.urlUpdateStrategy==="deferred"&&!o.extras.skipLocationChange&&this.setBrowserUrl(o.targetBrowserUrl??this.rawUrlTree,o)):n instanceof Je&&(n.code===de.GuardRejected||n.code===de.NoDataFromResolver)?this.restoreHistory(o):n instanceof ar?this.restoreHistory(o,!0):n instanceof et&&(this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId)}setBrowserUrl(n,o){let i=n instanceof Xe?this.urlSerializer.serialize(n):n;if(this.location.isCurrentPathEqualTo(i)||o.extras.replaceUrl){let s=this.browserPageId,a=m(m({},o.extras.state),this.generateNgRouterState(o.id,s));this.location.replaceState(i,"",a)}else{let s=m(m({},o.extras.state),this.generateNgRouterState(o.id,this.browserPageId+1));this.location.go(i,"",s)}}restoreHistory(n,o=!1){if(this.canceledNavigationResolution==="computed"){let i=this.browserPageId,s=this.currentPageId-i;s!==0?this.location.historyGo(s):this.currentUrlTree===n.finalUrl&&s===0&&(this.resetState(n),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(o&&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,o){return this.canceledNavigationResolution==="computed"?{navigationId:n,\u0275routerPageId:o}:{navigationId:n}}};t.\u0275fac=(()=>{let n;return function(i){return(n||(n=Gs(t)))(i||t)}})(),t.\u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),tr=function(e){return e[e.COMPLETE=0]="COMPLETE",e[e.FAILED=1]="FAILED",e[e.REDIRECTING=2]="REDIRECTING",e}(tr||{});function ch(e,t){e.events.pipe(fe(r=>r instanceof et||r instanceof Je||r instanceof ar||r instanceof dt),x(r=>r instanceof et||r instanceof dt?tr.COMPLETE:(r instanceof Je?r.code===de.Redirect||r.code===de.SupersededByNewNavigation:!1)?tr.REDIRECTING:tr.FAILED),fe(r=>r!==tr.REDIRECTING),ze(1)).subscribe(()=>{t()})}function Kw(e){throw e}var Jw={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Xw={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},At=(()=>{let t=class t{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=p(Oo),this.stateManager=p(ah),this.options=p(yr,{optional:!0})||{},this.pendingTasks=p(ln),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=p(pc),this.urlSerializer=p(pr),this.location=p(fn),this.urlHandlingStrategy=p(hc),this._events=new Y,this.errorHandler=this.options.errorHandler||Kw,this.navigated=!1,this.routeReuseStrategy=p(Zw),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=p(oi,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!p(si,{optional:!0}),this.eventsSubscription=new B,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(o=>{try{let i=this.navigationTransitions.currentTransition,s=this.navigationTransitions.currentNavigation;if(i!==null&&s!==null){if(this.stateManager.handleRouterEvent(o,s),o instanceof Je&&o.code!==de.Redirect&&o.code!==de.SupersededByNewNavigation)this.navigated=!0;else if(o instanceof et)this.navigated=!0;else if(o instanceof Cn){let a=o.navigationBehaviorOptions,c=this.urlHandlingStrategy.merge(o.url,i.currentRawUrl),u=m({browserUrl:i.extras.browserUrl,info:i.extras.info,skipLocationChange:i.extras.skipLocationChange,replaceUrl:i.extras.replaceUrl||this.urlUpdateStrategy==="eager"||Ww(i.source)},a);this.scheduleNavigation(c,rr,null,u,{resolve:i.resolve,reject:i.reject,promise:i.promise})}}tC(o)&&this._events.next(o)}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),rr,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((n,o)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(n,"popstate",o)},0)})}navigateToSyncWithBrowser(n,o,i){let s={replaceUrl:!0},a=i?.navigationId?i:null;if(i){let u=m({},i);delete u.navigationId,delete u.\u0275routerPageId,Object.keys(u).length!==0&&(s.state=u)}let c=this.parseUrl(n);this.scheduleNavigation(c,o,a,s)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(n){this.config=n.map(dc),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,o={}){let{relativeTo:i,queryParams:s,fragment:a,queryParamsHandling:c,preserveFragment:u}=o,l=u?this.currentUrlTree.fragment:a,d=null;switch(c){case"merge":d=m(m({},this.currentUrlTree.queryParams),s);break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=s||null}d!==null&&(d=this.removeEmptyProps(d));let h;try{let f=i?i.snapshot:this.routerState.snapshot.root;h=Hf(f)}catch{(typeof n[0]!="string"||n[0][0]!=="/")&&(n=[]),h=this.currentUrlTree.root}return zf(h,n,d,l??null)}navigateByUrl(n,o={skipLocationChange:!1}){let i=ir(n)?n:this.parseUrl(n),s=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(s,rr,null,o)}navigate(n,o={skipLocationChange:!1}){return eC(n),this.navigateByUrl(this.createUrlTree(n,o),o)}serializeUrl(n){return this.urlSerializer.serialize(n)}parseUrl(n){try{return this.urlSerializer.parse(n)}catch{return this.urlSerializer.parse("/")}}isActive(n,o){let i;if(o===!0?i=m({},Jw):o===!1?i=m({},Xw):i=o,ir(n))return If(this.currentUrlTree,n,i);let s=this.parseUrl(n);return If(this.currentUrlTree,s,i)}removeEmptyProps(n){return Object.entries(n).reduce((o,[i,s])=>(s!=null&&(o[i]=s),o),{})}scheduleNavigation(n,o,i,s,a){if(this.disposed)return Promise.resolve(!1);let c,u,l;a?(c=a.resolve,u=a.reject,l=a.promise):l=new Promise((h,f)=>{c=h,u=f});let d=this.pendingTasks.add();return ch(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(d))}),this.navigationTransitions.handleNavigationRequest({source:o,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:n,extras:s,resolve:c,reject:u,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(h=>Promise.reject(h))}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function eC(e){for(let t=0;t{let t=class t{constructor(n,o,i,s,a){this.router=n,this.injector=i,this.preloadingStrategy=s,this.loader=a}setUpPreloading(){this.subscription=this.router.events.pipe(fe(n=>n instanceof et),mt(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(n,o){let i=[];for(let s of o){s.providers&&!s._injector&&(s._injector=No(s.providers,n,`Route: ${s.path}`));let a=s._injector??n,c=s._loadedInjector??a;(s.loadChildren&&!s._loadedRoutes&&s.canLoad===void 0||s.loadComponent&&!s._loadedComponent)&&i.push(this.preloadConfig(a,s)),(s.children||s._loadedRoutes)&&i.push(this.processRoutes(c,s.children??s._loadedRoutes))}return $(i).pipe(Ut())}preloadConfig(n,o){return this.preloadingStrategy.preload(o,()=>{let i;o.loadChildren&&o.canLoad===void 0?i=this.loader.loadChildren(n,o):i=C(null);let s=i.pipe(U(a=>a===null?C(void 0):(o._loadedRoutes=a.routes,o._loadedInjector=a.injector,this.processRoutes(a.injector??n,a.routes))));if(o.loadComponent&&!o._loadedComponent){let a=this.loader.loadComponent(o);return $([s,a]).pipe(Ut())}else return s})}};t.\u0275fac=function(o){return new(o||t)(D(At),D(Lo),D(re),D(ii),D(fc))},t.\u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),uh=new w(""),rC=(()=>{let t=class t{constructor(n,o,i,s,a={}){this.urlSerializer=n,this.transitions=o,this.viewportScroller=i,this.zone=s,this.options=a,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},this.environmentInjector=p(re),a.scrollPositionRestoration||="disabled",a.anchorScrolling||="disabled"}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof wn?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=n.navigationTrigger,this.restoredId=n.restoredState?n.restoredState.navigationId:0):n instanceof et?(this.lastId=n.id,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.urlAfterRedirects).fragment)):n instanceof dt&&n.code===Yo.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof Ko&&(n.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(n.position):n.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(n.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(n,o){this.zone.runOutsideAngular(()=>ui(this,null,function*(){yield new Promise(i=>{setTimeout(()=>{i()}),To(()=>{i()},{injector:this.environmentInjector})}),this.zone.run(()=>{this.transitions.events.next(new Ko(n,this.lastSource==="popstate"?this.store[this.restoredId]:null,o))})}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}};t.\u0275fac=function(o){fd()},t.\u0275prov=y({token:t,factory:t.\u0275fac});let e=t;return e})();function oC(e){return e.routerState.root}function Dr(e,t){return{\u0275kind:e,\u0275providers:t}}function iC(){let e=p(ye);return t=>{let r=e.get(St);if(t!==r.components[0])return;let n=e.get(At),o=e.get(lh);e.get(gc)===1&&n.initialNavigation(),e.get(dh,null,S.Optional)?.setUpPreloading(),e.get(uh,null,S.Optional)?.init(),n.resetRootComponentType(r.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}var lh=new w("",{factory:()=>new Y}),gc=new w("",{providedIn:"root",factory:()=>1});function sC(){return Dr(2,[{provide:gc,useValue:0},{provide:Fo,multi:!0,deps:[ye],useFactory:t=>{let r=t.get(sf,Promise.resolve());return()=>r.then(()=>new Promise(n=>{let o=t.get(At),i=t.get(lh);ch(o,()=>{n(!0)}),t.get(pc).afterPreactivation=()=>(n(!0),i.closed?C(void 0):i),o.initialNavigation()}))}}])}function aC(){return Dr(3,[{provide:Fo,multi:!0,useFactory:()=>{let t=p(At);return()=>{t.setUpLocationChangeListener()}}},{provide:gc,useValue:2}])}var dh=new w("");function cC(e){return Dr(0,[{provide:dh,useExisting:nC},{provide:ii,useExisting:e}])}function uC(){return Dr(8,[xf,{provide:si,useExisting:xf}])}function lC(e){let t=[{provide:ih,useValue:zw},{provide:sh,useValue:m({skipNextTransition:!!e?.skipInitialTransition},e)}];return Dr(9,t)}var Af=new w("ROUTER_FORROOT_GUARD"),dC=[fn,{provide:pr,useClass:Dn},At,mr,{provide:En,useFactory:oC,deps:[At]},fc,[]],mc=(()=>{let t=class t{constructor(n){}static forRoot(n,o){return{ngModule:t,providers:[dC,[],{provide:oi,multi:!0,useValue:n},{provide:Af,useFactory:gC,deps:[[At,new Ns,new Gu]]},{provide:yr,useValue:o||{}},o?.useHash?hC():pC(),fC(),o?.preloadingStrategy?cC(o.preloadingStrategy).\u0275providers:[],o?.initialNavigation?mC(o):[],o?.bindToComponentInputs?uC().\u0275providers:[],o?.enableViewTransitions?lC().\u0275providers:[],vC()]}}static forChild(n){return{ngModule:t,providers:[{provide:oi,multi:!0,useValue:n}]}}};t.\u0275fac=function(o){return new(o||t)(D(Af,8))},t.\u0275mod=Te({type:t}),t.\u0275inj=xe({});let e=t;return e})();function fC(){return{provide:uh,useFactory:()=>{let e=p(df),t=p(j),r=p(yr),n=p(pc),o=p(pr);return r.scrollOffset&&e.setOffset(r.scrollOffset),new rC(o,n,e,t,r)}}}function hC(){return{provide:Tt,useClass:cf}}function pC(){return{provide:Tt,useClass:Ea}}function gC(e){return"guarded"}function mC(e){return[e.initialNavigation==="disabled"?aC().\u0275providers:[],e.initialNavigation==="enabledBlocking"?sC().\u0275providers:[]]}var Rf=new w("");function vC(){return[{provide:Rf,useFactory:iC},{provide:pa,multi:!0,useExisting:Rf}]}var DC=[],fh=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275mod=Te({type:t}),t.\u0275inj=xe({imports:[mc.forRoot(DC),mc]});let e=t;return e})();var wC=(e,t)=>({cookiesOFFclass:e,displayNone:t}),CC=(e,t)=>({cookiesONclass:e,displayNone:t}),hh=(()=>{let t=class t{constructor(){this.title="Z-Anatomy",this.version=224,this.cookiesONvar=!1,this.cookiesONvar=!1}ngOnInit(){this.myFunction()}myFunction(){var n;n=document?.getElementById("myPopup"),n?.classList.toggle("show")}clickOnOK(){this.cookiesONvar=!0,console.log("OK")}};t.\u0275fac=function(o){return new(o||t)},t.\u0275cmp=yo({type:t,selectors:[["app-root"]],decls:39,vars:14,consts:[["role","banner",1,"toolbar"],[1,"spacer"],["role","main",1,"content"],[1,"card","highlight-card","card-small"],[1,"popup"],["id","myPopup",1,"popuptext"],[3,"click"],[1,"card-container"],["href","/assets/Startup.blend",1,"card"],["xmlns","http://www.w3.org/2000/svg","width","24","height","24","viewBox","0 0 24 24",1,"material-icons"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"],["href","https://moueza.github.io/"],["href","https://github.com/moueza/Z-Anatomy"],["id","clouds","xmlns","http://www.w3.org/2000/svg","width","2611.084","height","485.677","viewBox","0 0 2611.084 485.677"],["id","Path_39","data-name","Path 39","d","M2379.709,863.793c10-93-77-171-168-149-52-114-225-105-264,15-75,3-140,59-152,133-30,2.83-66.725,9.829-93.5,26.25-26.771-16.421-63.5-23.42-93.5-26.25-12-74-77-130-152-133-39-120-212-129-264-15-54.084-13.075-106.753,9.173-138.488,48.9-31.734-39.726-84.4-61.974-138.487-48.9-52-114-225-105-264,15a162.027,162.027,0,0,0-103.147,43.044c-30.633-45.365-87.1-72.091-145.206-58.044-52-114-225-105-264,15-75,3-140,59-152,133-53,5-127,23-130,83-2,42,35,72,70,86,49,20,106,18,157,5a165.625,165.625,0,0,0,120,0c47,94,178,113,251,33,61.112,8.015,113.854-5.72,150.492-29.764a165.62,165.62,0,0,0,110.861-3.236c47,94,178,113,251,33,31.385,4.116,60.563,2.495,86.487-3.311,25.924,5.806,55.1,7.427,86.488,3.311,73,80,204,61,251-33a165.625,165.625,0,0,0,120,0c51,13,108,15,157-5a147.188,147.188,0,0,0,33.5-18.694,147.217,147.217,0,0,0,33.5,18.694c49,20,106,18,157,5a165.625,165.625,0,0,0,120,0c47,94,178,113,251,33C2446.709,1093.793,2554.709,922.793,2379.709,863.793Z","transform","translate(142.69 -634.312)","fill","#eee"]],template:function(o,i){o&1&&(J(0,"div",0)(1,"span"),oe(2,"Welcome"),X(),Qe(3,"div",1),X(),J(4,"div",2)(5,"div",3)(6,"span"),oe(7),X()(),Qe(8,"br"),oe(9),J(10,"div",4)(11,"span",5),oe(12,"Do you accept cookies, otherwise quit"),J(13,"button",6),Ao("click",function(){return i.clickOnOK()}),oe(14,"OK"),X()()()(),J(15,"div",2)(16,"div",3)(17,"span"),oe(18),X()(),J(19,"h2"),oe(20,"Resources"),X(),J(21,"div",7)(22,"a",8)(23,"span"),oe(24,"Indirect Download Startup.blend 2"),X(),Us(),J(25,"svg",9),Qe(26,"path",10),X()()(),Hs(),J(27,"footer"),oe(28),J(29,"a",11),oe(30,"Peter MOUEZA"),X(),oe(31,". "),J(32,"a",12),oe(33,"Github"),X()(),Us(),J(34,"svg",13)(35,"title"),oe(36,"Gray Clouds Background"),X(),Qe(37,"path",14),X()(),Hs(),Qe(38,"router-outlet")),o&2&&(Mt(4),la(da(8,wC,!i.cookiesONvar,i.cookiesONvar)),Mt(3),Ro(i.title),Mt(2),Gn(" v = ",i.version," "),Mt(6),la(da(11,CC,i.cookiesONvar,!i.cookiesONvar)),Mt(3),Ro(i.title),Mt(10),Gn(" v = ",i.version," Website created by "))},dependencies:[uc],styles:['@charset "UTF-8";[_nghost-%COMP%]{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol;font-size:14px;color:#333;box-sizing:border-box;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%], h3[_ngcontent-%COMP%], h4[_ngcontent-%COMP%], h5[_ngcontent-%COMP%], h6[_ngcontent-%COMP%]{margin:8px 0}p[_ngcontent-%COMP%]{margin:0}.spacer[_ngcontent-%COMP%]{flex:1}.toolbar[_ngcontent-%COMP%]{position:absolute;top:0;left:0;right:0;height:60px;display:flex;align-items:center;background-color:#1976d2;color:#fff;font-weight:600}.toolbar[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{margin:0 16px}.toolbar[_ngcontent-%COMP%] #twitter-logo[_ngcontent-%COMP%]{height:40px;margin:0 8px}.toolbar[_ngcontent-%COMP%] #youtube-logo[_ngcontent-%COMP%]{height:40px;margin:0 16px}.toolbar[_ngcontent-%COMP%] #twitter-logo[_ngcontent-%COMP%]:hover, .toolbar[_ngcontent-%COMP%] #youtube-logo[_ngcontent-%COMP%]:hover{opacity:.8}.content[_ngcontent-%COMP%]{display:flex;margin:82px auto 32px;padding:0 16px;max-width:960px;flex-direction:column;align-items:center}svg.material-icons[_ngcontent-%COMP%]{height:24px;width:auto}svg.material-icons[_ngcontent-%COMP%]:not(:last-child){margin-right:8px}.card[_ngcontent-%COMP%] svg.material-icons[_ngcontent-%COMP%] path[_ngcontent-%COMP%]{fill:#888}.card-container[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;justify-content:center;margin-top:16px}.card[_ngcontent-%COMP%]{all:unset;border-radius:4px;border:1px solid #eee;background-color:#fafafa;height:40px;width:200px;margin:0 8px 16px;padding:16px;display:flex;flex-direction:row;justify-content:center;align-items:center;transition:all .2s ease-in-out;line-height:24px}.card-container[_ngcontent-%COMP%] .card[_ngcontent-%COMP%]:not(:last-child){margin-right:0}.card.card-small[_ngcontent-%COMP%]{height:16px;width:168px}.card-container[_ngcontent-%COMP%] .card[_ngcontent-%COMP%]:not(.highlight-card){cursor:pointer}.card-container[_ngcontent-%COMP%] .card[_ngcontent-%COMP%]:not(.highlight-card):hover{transform:translateY(-3px);box-shadow:0 4px 17px #00000059}.card-container[_ngcontent-%COMP%] .card[_ngcontent-%COMP%]:not(.highlight-card):hover .material-icons[_ngcontent-%COMP%] path[_ngcontent-%COMP%]{fill:#696767}.card.highlight-card[_ngcontent-%COMP%]{background-color:#1976d2;color:#fff;font-weight:600;border:none;width:auto;min-width:30%;position:relative}.card.card.highlight-card[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{margin-left:60px}svg#rocket[_ngcontent-%COMP%]{width:80px;position:absolute;left:-10px;top:-24px}svg#rocket-smoke[_ngcontent-%COMP%]{height:calc(100vh - 95px);position:absolute;top:10px;right:180px;z-index:-10}a[_ngcontent-%COMP%], a[_ngcontent-%COMP%]:visited, a[_ngcontent-%COMP%]:hover{color:#1976d2;text-decoration:none}a[_ngcontent-%COMP%]:hover{color:#125699}.terminal[_ngcontent-%COMP%]{position:relative;width:80%;max-width:600px;border-radius:6px;padding-top:45px;margin-top:8px;overflow:hidden;background-color:#0f0f10}.terminal[_ngcontent-%COMP%]:before{content:"\\2022\\2022\\2022";position:absolute;top:0;left:0;height:4px;background:#3a3a3a;color:#c2c3c4;width:100%;font-size:2rem;line-height:0;padding:14px 0;text-indent:4px}.terminal[_ngcontent-%COMP%] pre[_ngcontent-%COMP%]{font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;color:#fff;padding:0 1rem 1rem;margin:0}.circle-link[_ngcontent-%COMP%]{height:40px;width:40px;border-radius:40px;margin:8px;background-color:#fff;border:1px solid #eeeeee;display:flex;justify-content:center;align-items:center;cursor:pointer;box-shadow:0 1px 3px #0000001f,0 1px 2px #0000003d;transition:1s ease-out}.circle-link[_ngcontent-%COMP%]:hover{transform:translateY(-.25rem);box-shadow:0 3px 15px #0003}footer[_ngcontent-%COMP%]{margin-top:8px;display:flex;align-items:center;line-height:20px}footer[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{display:flex;align-items:center}.github-star-badge[_ngcontent-%COMP%]{color:#24292e;display:flex;align-items:center;font-size:12px;padding:3px 10px;border:1px solid rgba(27,31,35,.2);border-radius:3px;background-image:linear-gradient(-180deg,#fafbfc,#eff3f6 90%);margin-left:4px;font-weight:600}.github-star-badge[_ngcontent-%COMP%]:hover{background-image:linear-gradient(-180deg,#f0f3f6,#e6ebf1 90%);border-color:#1b1f2359;background-position:-.5em}.github-star-badge[_ngcontent-%COMP%] .material-icons[_ngcontent-%COMP%]{height:16px;width:16px;margin-right:4px}svg#clouds[_ngcontent-%COMP%]{position:fixed;bottom:-160px;left:-230px;z-index:-10;width:1920px}@media screen and (max-width: 767px){.card-container[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:not(.circle-link), .terminal[_ngcontent-%COMP%]{width:100%}.card[_ngcontent-%COMP%]:not(.highlight-card){height:16px;margin:8px 0}.card.highlight-card[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{margin-left:72px}svg#rocket-smoke[_ngcontent-%COMP%]{right:120px;transform:rotate(-5deg)}}@media screen and (max-width: 575px){svg#rocket-smoke[_ngcontent-%COMP%]{display:none;visibility:hidden}}.popup[_ngcontent-%COMP%]{position:relative;display:inline-block;cursor:pointer}.popup[_ngcontent-%COMP%] .popuptext[_ngcontent-%COMP%]{visibility:hidden;width:160px;background-color:#555;color:#fff;text-align:center;border-radius:6px;padding:8px 0;position:absolute;z-index:1;bottom:125%;left:50%;margin-left:-80px}.popup[_ngcontent-%COMP%] .popuptext[_ngcontent-%COMP%]:after{content:"";position:absolute;top:100%;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:#555 transparent transparent transparent}.popup[_ngcontent-%COMP%] .show[_ngcontent-%COMP%]{visibility:visible;-webkit-animation:_ngcontent-%COMP%_fadeIn 1s;animation:_ngcontent-%COMP%_fadeIn 1s}@-webkit-keyframes _ngcontent-%COMP%_fadeIn{0%{opacity:0}to{opacity:1}}@keyframes _ngcontent-%COMP%_fadeIn{0%{opacity:0}to{opacity:1}}.cookiesOFFclass[_ngcontent-%COMP%]{color:red}.displayNone[_ngcontent-%COMP%]{display:none}']});let e=t;return e})();var ph=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275mod=Te({type:t,bootstrap:[hh]}),t.\u0275inj=xe({imports:[wf,fh]});let e=t;return e})();Df().bootstrapModule(ph).catch(e=>console.error(e)); + `)}`}var Ns=zu(Pu("Optional"),8);var Gu=zu(Pu("SkipSelf"),4);function Qt(e,t){let r=e.hasOwnProperty(Wr);return r?e[Wr]:null}function As(e,t){e.forEach(r=>Array.isArray(r)?As(r,t):t(r))}function qu(e,t,r){t>=e.length?e.push(r):e.splice(t,0,r)}function Yr(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function pp(e,t,r,n){let o=e.length;if(o==t)e.push(r,n);else if(o===1)e.push(n,e[0]),e[0]=r;else{for(o--,e.push(e[o-1],e[o]);o>t;){let i=o-2;e[o]=e[i],o--}e[t]=r,e[t+1]=n}}function Rs(e,t,r){let n=Un(e,t);return n>=0?e[n|1]=r:(n=~n,pp(e,n,t,r)),n}function Pi(e,t){let r=Un(e,t);if(r>=0)return e[r|1]}function Un(e,t){return gp(e,t,1)}function gp(e,t,r){let n=0,o=e.length>>r;for(;o!==n;){let i=n+(o-n>>1),s=e[i<t?o=i:n=i+1}return~(o<t){s=i-1;break}}}for(;i-1){let i;for(;++oi?d="":d=o[l+1].toLowerCase(),n&2&&u!==d){if(Ie(n))return!1;s=!0}}}}return Ie(n)||s}function Ie(e){return(e&1)===0}function Ep(e,t,r,n){if(t===null)return-1;let o=0;if(n||!r){let i=!1;for(;o-1)for(r++;r0?'="'+a+'"':"")+"]"}else n&8?o+="."+s:n&4&&(o+=" "+s);else o!==""&&!Ie(s)&&(t+=ru(i,o),o=""),n=s,i=i||!Ie(n);r++}return o!==""&&(t+=ru(i,o)),t}function xp(e){return e.map(Sp).join(",")}function Tp(e){let t=[],r=[],n=1,o=2;for(;n{let t=tl(e),r=V(m({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Yu.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||ke.Emulated,styles:e.styles||ae,_:null,schemas:e.schemas||null,tView:null,id:""});nl(r);let n=e.dependencies;return r.directiveDefs=iu(n,!1),r.pipeDefs=iu(n,!0),r.id=Ap(r),r})}function _p(e){return at(e)||Ku(e)}function Np(e){return e!==null}function Te(e){return Bn(()=>({type:e.type,bootstrap:e.bootstrap||ae,declarations:e.declarations||ae,imports:e.imports||ae,exports:e.exports||ae,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function ou(e,t){if(e==null)return Rn;let r={};for(let n in e)if(e.hasOwnProperty(n)){let o=e[n],i,s,a=st.None;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i):(i=o,s=o),t?(r[i]=a!==st.None?[n,a]:n,t[i]=s):r[i]=n}return r}function ks(e){return Bn(()=>{let t=tl(e);return nl(t),t})}function at(e){return e[Xh]||null}function Ku(e){return e[ep]||null}function Ju(e){return e[tp]||null}function Xu(e){let t=at(e)||Ku(e)||Ju(e);return t!==null?t.standalone:!1}function el(e,t){let r=e[np]||null;if(!r&&t===!0)throw new Error(`Type ${ce(e)} does not have '\u0275mod' property.`);return r}function tl(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||Rn,exportAs:e.exportAs||null,standalone:e.standalone===!0,signals:e.signals===!0,selectors:e.selectors||ae,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:ou(e.inputs,t),outputs:ou(e.outputs),debugInfo:null}}function nl(e){e.features?.forEach(t=>t(e))}function iu(e,t){if(!e)return null;let r=t?Ju:_p;return()=>(typeof e=="function"?e():e).map(n=>r(n)).filter(Np)}function Ap(e){let t=0,r=[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 o of r)t=Math.imul(31,t)+o.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function Rp(...e){return{\u0275providers:rl(!0,e),\u0275fromNgModule:!0}}function rl(e,...t){let r=[],n=new Set,o,i=s=>{r.push(s)};return As(t,s=>{let a=s;Qi(a,i,[],n)&&(o||=[],o.push(a))}),o!==void 0&&ol(o,i),r}function ol(e,t){for(let r=0;r{t(i,n)})}}function Qi(e,t,r,n){if(e=ge(e),!e)return!1;let o=null,i=Jc(e),s=!i&&at(e);if(!i&&!s){let c=e.ngModule;if(i=Jc(c),i)o=c;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=n.has(o);if(s){if(a)return!1;if(n.add(o),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let u of c)Qi(u,t,r,n)}}else if(i){if(i.imports!=null&&!a){n.add(o);let u;try{As(i.imports,l=>{Qi(l,t,r,n)&&(u||=[],u.push(l))})}finally{}u!==void 0&&ol(u,t)}if(!a){let u=Qt(o)||(()=>new o);t({provide:o,useFactory:u,deps:ae},o),t({provide:Zu,useValue:o,multi:!0},o),t({provide:Kt,useValue:()=>D(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let u=e;Fs(c,l=>{t(l,u)})}}else return!1;return o!==e&&e.providers!==void 0}function Fs(e,t){for(let r of e)$u(r)&&(r=r.\u0275providers),Array.isArray(r)?Fs(r,t):t(r)}var Op=F({provide:String,useValue:F});function il(e){return e!==null&&typeof e=="object"&&Op in e}function Pp(e){return!!(e&&e.useExisting)}function kp(e){return!!(e&&e.useFactory)}function Ki(e){return typeof e=="function"}var Do=new w(""),Ur={},Fp={},ki;function Ls(){return ki===void 0&&(ki=new Qr),ki}var re=class{},On=class extends re{get destroyed(){return this._destroyed}constructor(t,r,n,o){super(),this.parent=r,this.source=n,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Xi(t,s=>this.processProvider(s)),this.records.set(Wu,Gt(void 0,this)),o.has("environment")&&this.records.set(re,Gt(void 0,this));let i=this.records.get(Do);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Zu,ae,S.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let t=P(null);try{for(let n of this._ngOnDestroyHooks)n.ngOnDestroy();let r=this._onDestroyHooks;this._onDestroyHooks=[];for(let n of r)n()}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 r=ot(this),n=pe(void 0),o;try{return t()}finally{ot(r),pe(n)}}get(t,r=An,n=S.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(eu))return t[eu](this);n=vo(n);let o,i=ot(this),s=pe(void 0);try{if(!(n&S.SkipSelf)){let c=this.records.get(t);if(c===void 0){let u=Up(t)&&mo(t);u&&this.injectableDefInScope(u)?c=Gt(Ji(t),Ur):c=null,this.records.set(t,c)}if(c!=null)return this.hydrate(t,c)}let a=n&S.Self?Ls():this.parent;return r=n&S.Optional&&r===An?null:r,a.get(t,r)}catch(a){if(a.name==="NullInjectorError"){if((a[Zr]=a[Zr]||[]).unshift(ce(t)),i)throw a;return fp(a,t,"R3InjectorError",this.source)}else throw a}finally{pe(s),ot(i)}}resolveInjectorInitializers(){let t=P(null),r=ot(this),n=pe(void 0),o;try{let i=this.get(Kt,ae,S.Self);for(let s of i)s()}finally{ot(r),pe(n),P(t)}}toString(){let t=[],r=this.records;for(let n of r.keys())t.push(ce(n));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new v(205,!1)}processProvider(t){t=ge(t);let r=Ki(t)?t:ge(t&&t.provide),n=jp(t);if(!Ki(t)&&t.multi===!0){let o=this.records.get(r);o||(o=Gt(void 0,Ur,!0),o.factory=()=>Zi(o.multi),this.records.set(r,o)),r=t,o.multi.push(t)}this.records.set(r,n)}hydrate(t,r){let n=P(null);try{return r.value===Ur&&(r.value=Fp,r.value=r.factory()),typeof r.value=="object"&&r.value&&Bp(r.value)&&this._ngOnDestroyHooks.add(r.value),r.value}finally{P(n)}}injectableDefInScope(t){if(!t.providedIn)return!1;let r=ge(t.providedIn);return typeof r=="string"?r==="any"||this.scopes.has(r):this.injectorDefTypes.has(r)}removeOnDestroy(t){let r=this._onDestroyHooks.indexOf(t);r!==-1&&this._onDestroyHooks.splice(r,1)}};function Ji(e){let t=mo(e),r=t!==null?t.factory:Qt(e);if(r!==null)return r;if(e instanceof w)throw new v(204,!1);if(e instanceof Function)return Lp(e);throw new v(204,!1)}function Lp(e){if(e.length>0)throw new v(204,!1);let r=Kh(e);return r!==null?()=>r.factory(e):()=>new e}function jp(e){if(il(e))return Gt(void 0,e.useValue);{let t=Vp(e);return Gt(t,Ur)}}function Vp(e,t,r){let n;if(Ki(e)){let o=ge(e);return Qt(o)||Ji(o)}else if(il(e))n=()=>ge(e.useValue);else if(kp(e))n=()=>e.useFactory(...Zi(e.deps||[]));else if(Pp(e))n=()=>D(ge(e.useExisting));else{let o=ge(e&&(e.useClass||e.provide));if($p(e))n=()=>new o(...Zi(e.deps));else return Qt(o)||Ji(o)}return n}function Gt(e,t,r=!1){return{factory:e,value:t,multi:r?[]:void 0}}function $p(e){return!!e.deps}function Bp(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function Up(e){return typeof e=="function"||typeof e=="object"&&e instanceof w}function Xi(e,t){for(let r of e)Array.isArray(r)?Xi(r,t):r&&$u(r)?Xi(r.\u0275providers,t):t(r)}function _e(e,t){e instanceof On&&e.assertNotDestroyed();let r,n=ot(e),o=pe(void 0);try{return t()}finally{ot(n),pe(o)}}function sl(){return Uu()!==void 0||up()!=null}function Hp(e){if(!sl())throw new v(-203,!1)}function zp(e){let t=Se.ng;if(t&&t.\u0275compilerFacade)return t.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}function Gp(e){return typeof e=="function"}var Ze=0,T=1,b=2,K=3,Me=4,Ne=5,Kr=6,Jr=7,Ge=8,Jt=9,qe=10,ue=11,Pn=12,su=13,Hn=14,Fe=15,kn=16,qt=17,wo=18,Co=19,al=20,it=21,Fi=22,me=23,wt=25,cl=1;var Ct=7,Xr=8,eo=9,ve=10,to=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(to||{});function yt(e){return Array.isArray(e)&&typeof e[cl]=="object"}function Ye(e){return Array.isArray(e)&&e[cl]===!0}function ul(e){return(e.flags&4)!==0}function js(e){return e.componentOffset>-1}function ll(e){return(e.flags&1)===1}function zn(e){return!!e.template}function es(e){return(e[b]&512)!==0}var ts=class{constructor(t,r,n){this.previousValue=t,this.currentValue=r,this.firstChange=n}isFirstChange(){return this.firstChange}};function dl(e,t,r,n){t!==null?t.applyValueToInputSignal(t,n):e[r]=n}function Eo(){return fl}function fl(e){return e.type.prototype.ngOnChanges&&(e.setInput=Wp),qp}Eo.ngInherit=!0;function qp(){let e=pl(this),t=e?.current;if(t){let r=e.previous;if(r===Rn)e.previous=t;else for(let n in t)r[n]=t[n];e.current=null,this.ngOnChanges(t)}}function Wp(e,t,r,n,o){let i=this.declaredInputs[n],s=pl(e)||Zp(e,{previous:Rn,current:null}),a=s.current||(s.current={}),c=s.previous,u=c[i];a[i]=new ts(u&&u.currentValue,r,c===Rn),dl(e,t,o,r)}var hl="__ngSimpleChanges__";function pl(e){return e[hl]||null}function Zp(e,t){return e[hl]=t}var au=null;var Oe=function(e,t,r){au?.(e,t,r)},gl="svg",Yp="math";function Le(e){for(;Array.isArray(e);)e=e[Ze];return e}function ml(e,t){return Le(t[e])}function Ve(e,t){return Le(t[e.index])}function Qp(e,t){return e.data[t]}function an(e,t){let r=t[e];return yt(r)?r:r[Ze]}function Vs(e){return(e[b]&128)===128}function Kp(e){return Ye(e[K])}function cu(e,t){return t==null?null:e[t]}function vl(e){e[qt]=0}function yl(e){e[b]&1024||(e[b]|=1024,Vs(e)&&Io(e))}function Fn(e){return!!(e[b]&9216||e[me]?.dirty)}function ns(e){e[qe].changeDetectionScheduler?.notify(7),e[b]&64&&(e[b]|=1024),Fn(e)&&Io(e)}function Io(e){e[qe].changeDetectionScheduler?.notify(0);let t=Et(e);for(;t!==null&&!(t[b]&8192||(t[b]|=8192,!Vs(t)));)t=Et(t)}function Dl(e,t){if((e[b]&256)===256)throw new v(911,!1);e[it]===null&&(e[it]=[]),e[it].push(t)}function Jp(e,t){if(e[it]===null)return;let r=e[it].indexOf(t);r!==-1&&e[it].splice(r,1)}function Et(e){let t=e[K];return Ye(t)?t[K]:t}var A={lFrame:Tl(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var wl=!1;function Xp(){return A.lFrame.elementDepthCount}function eg(){A.lFrame.elementDepthCount++}function tg(){A.lFrame.elementDepthCount--}function Cl(){return A.bindingsEnabled}function ng(){return A.skipHydrationRootTNode!==null}function rg(e){return A.skipHydrationRootTNode===e}function og(){A.skipHydrationRootTNode=null}function Z(){return A.lFrame.lView}function cn(){return A.lFrame.tView}function $e(){let e=El();for(;e!==null&&e.type===64;)e=e.parent;return e}function El(){return A.lFrame.currentTNode}function ig(){let e=A.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function bo(e,t){let r=A.lFrame;r.currentTNode=e,r.isParent=t}function Il(){return A.lFrame.isParent}function sg(){A.lFrame.isParent=!1}function bl(){return wl}function uu(e){wl=e}function ag(){let e=A.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function cg(e){return A.lFrame.bindingIndex=e}function ug(){return A.lFrame.bindingIndex++}function lg(e){let t=A.lFrame,r=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,r}function dg(){return A.lFrame.inI18n}function fg(e,t){let r=A.lFrame;r.bindingIndex=r.bindingRootIndex=e,rs(t)}function hg(){return A.lFrame.currentDirectiveIndex}function rs(e){A.lFrame.currentDirectiveIndex=e}function pg(e){let t=A.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function Ml(e){A.lFrame.currentQueryIndex=e}function gg(e){let t=e[T];return t.type===2?t.declTNode:t.type===1?e[Ne]:null}function Sl(e,t,r){if(r&S.SkipSelf){let o=t,i=e;for(;o=o.parent,o===null&&!(r&S.Host);)if(o=gg(i),o===null||(i=i[Hn],o.type&10))break;if(o===null)return!1;t=o,e=i}let n=A.lFrame=xl();return n.currentTNode=t,n.lView=e,!0}function $s(e){let t=xl(),r=e[T];A.lFrame=t,t.currentTNode=r.firstChild,t.lView=e,t.tView=r,t.contextLView=e,t.bindingIndex=r.bindingStartIndex,t.inI18n=!1}function xl(){let e=A.lFrame,t=e===null?null:e.child;return t===null?Tl(e):t}function Tl(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 _l(){let e=A.lFrame;return A.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Nl=_l;function Bs(){let e=_l();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 un(){return A.lFrame.selectedIndex}function It(e){A.lFrame.selectedIndex=e}function Us(){A.lFrame.currentNamespace=gl}function Hs(){mg()}function mg(){A.lFrame.currentNamespace=null}function vg(){return A.lFrame.currentNamespace}var Al=!0;function Rl(){return Al}function Ol(e){Al=e}function yg(e,t,r){let{ngOnChanges:n,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(n){let s=fl(t);(r.preOrderHooks??=[]).push(e,s),(r.preOrderCheckHooks??=[]).push(e,s)}o&&(r.preOrderHooks??=[]).push(0-e,o),i&&((r.preOrderHooks??=[]).push(e,i),(r.preOrderCheckHooks??=[]).push(e,i))}function Pl(e,t){for(let r=t.directiveStart,n=t.directiveEnd;r=n)break}else t[c]<0&&(e[qt]+=65536),(a>14>16&&(e[b]&3)===t&&(e[b]+=16384,lu(a,i)):lu(a,i)}var Yt=-1,Ln=class{constructor(t,r,n){this.factory=t,this.resolving=!1,this.canSeeViewProviders=r,this.injectImpl=n}};function wg(e){return e instanceof Ln}function Cg(e){return(e.flags&8)!==0}function Eg(e){return(e.flags&16)!==0}var ji={},os=class{constructor(t,r){this.injector=t,this.parentInjector=r}get(t,r,n){n=vo(n);let o=this.injector.get(t,ji,n);return o!==ji||r===ji?o:this.parentInjector.get(t,r,n)}};function Fl(e){return e!==Yt}function no(e){return e&32767}function Ig(e){return e>>16}function ro(e,t){let r=Ig(e),n=t;for(;r>0;)n=n[Hn],r--;return n}var is=!0;function du(e){let t=is;return is=e,t}var bg=256,Ll=bg-1,jl=5,Mg=0,Pe={};function Sg(e,t,r){let n;typeof r=="string"?n=r.charCodeAt(0)||0:r.hasOwnProperty(_n)&&(n=r[_n]),n==null&&(n=r[_n]=Mg++);let o=n&Ll,i=1<>jl)]|=i}function Vl(e,t){let r=$l(e,t);if(r!==-1)return r;let n=t[T];n.firstCreatePass&&(e.injectorIndex=t.length,Vi(n.data,e),Vi(t,null),Vi(n.blueprint,null));let o=zs(e,t),i=e.injectorIndex;if(Fl(o)){let s=no(o),a=ro(o,t),c=a[T].data;for(let u=0;u<8;u++)t[i+u]=a[s+u]|c[s+u]}return t[i+8]=o,i}function Vi(e,t){e.push(0,0,0,0,0,0,0,0,t)}function $l(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function zs(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let r=0,n=null,o=t;for(;o!==null;){if(n=Gl(o),n===null)return Yt;if(r++,o=o[Hn],n.injectorIndex!==-1)return n.injectorIndex|r<<16}return Yt}function xg(e,t,r){Sg(e,t,r)}function Bl(e,t,r){if(r&S.Optional||e!==void 0)return e;_s(t,"NodeInjector")}function Ul(e,t,r,n){if(r&S.Optional&&n===void 0&&(n=null),!(r&(S.Self|S.Host))){let o=e[Jt],i=pe(void 0);try{return o?o.get(t,n,r&S.Optional):Hu(t,n,r&S.Optional)}finally{pe(i)}}return Bl(n,t,r)}function Hl(e,t,r,n=S.Default,o){if(e!==null){if(t[b]&2048&&!(n&S.Self)){let s=Rg(e,t,r,n,Pe);if(s!==Pe)return s}let i=zl(e,t,r,n,Pe);if(i!==Pe)return i}return Ul(t,r,n,o)}function zl(e,t,r,n,o){let i=Ng(r);if(typeof i=="function"){if(!Sl(t,e,n))return n&S.Host?Bl(o,r,n):Ul(t,r,n,o);try{let s;if(s=i(n),s==null&&!(n&S.Optional))_s(r);else return s}finally{Nl()}}else if(typeof i=="number"){let s=null,a=$l(e,t),c=Yt,u=n&S.Host?t[Fe][Ne]:null;for((a===-1||n&S.SkipSelf)&&(c=a===-1?zs(e,t):t[a+8],c===Yt||!hu(n,!1)?a=-1:(s=t[T],a=no(c),t=ro(c,t)));a!==-1;){let l=t[T];if(fu(i,a,l.data)){let d=Tg(a,t,r,s,n,u);if(d!==Pe)return d}c=t[a+8],c!==Yt&&hu(n,t[T].data[a+8]===u)&&fu(i,a,t)?(s=l,a=no(c),t=ro(c,t)):a=-1}}return o}function Tg(e,t,r,n,o,i){let s=t[T],a=s.data[e+8],c=n==null?js(a)&&is:n!=s&&(a.type&3)!==0,u=o&S.Host&&i===a,l=_g(a,s,r,c,u);return l!==null?jn(t,s,l,a):Pe}function _g(e,t,r,n,o){let i=e.providerIndexes,s=t.data,a=i&1048575,c=e.directiveStart,u=e.directiveEnd,l=i>>20,d=n?a:a+l,h=o?a+l:u;for(let f=d;f=c&&g.type===r)return f}if(o){let f=s[c];if(f&&zn(f)&&f.type===r)return c}return null}function jn(e,t,r,n){let o=e[r],i=t.data;if(wg(o)){let s=o;s.resolving&&op(rp(i[r]));let a=du(s.canSeeViewProviders);s.resolving=!0;let c,u=s.injectImpl?pe(s.injectImpl):null,l=Sl(e,n,S.Default);try{o=e[r]=s.factory(void 0,i,e,n),t.firstCreatePass&&r>=n.directiveStart&&yg(r,i[r],t)}finally{u!==null&&pe(u),du(a),s.resolving=!1,Nl()}}return o}function Ng(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(_n)?e[_n]:void 0;return typeof t=="number"?t>=0?t&Ll:Ag:t}function fu(e,t,r){let n=1<>jl)]&n)}function hu(e,t){return!(e&S.Self)&&!(e&S.Host&&t)}var Dt=class{constructor(t,r){this._tNode=t,this._lView=r}get(t,r,n){return Hl(this._tNode,this._lView,t,vo(n),r)}};function Ag(){return new Dt($e(),Z())}function Gs(e){return Bn(()=>{let t=e.prototype.constructor,r=t[Wr]||ss(t),n=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==n;){let i=o[Wr]||ss(o);if(i&&i!==r)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function ss(e){return Fu(e)?()=>{let t=ss(ge(e));return t&&t()}:Qt(e)}function Rg(e,t,r,n,o){let i=e,s=t;for(;i!==null&&s!==null&&s[b]&2048&&!(s[b]&512);){let a=zl(i,s,r,n|S.Self,Pe);if(a!==Pe)return a;let c=i.parent;if(!c){let u=s[al];if(u){let l=u.get(r,Pe,n);if(l!==Pe)return l}c=Gl(s),s=s[Hn]}i=c}return o}function Gl(e){let t=e[T],r=t.type;return r===2?t.declTNode:r===1?e[Ne]:null}function pu(e,t=null,r=null,n){let o=ql(e,t,r,n);return o.resolveInjectorInitializers(),o}function ql(e,t=null,r=null,n,o=new Set){let i=[r||ae,Rp(e)];return n=n||(typeof e=="object"?void 0:ce(e)),new On(i,t||Ls(),n||null,o)}var vt=class vt{static create(t,r){if(Array.isArray(t))return pu({name:""},r,t,"");{let n=t.name??"";return pu({name:n},t.parent,t.providers,n)}}};vt.THROW_IF_NOT_FOUND=An,vt.NULL=new Qr,vt.\u0275prov=y({token:vt,providedIn:"any",factory:()=>D(Wu)}),vt.__NG_ELEMENT_ID__=-1;var ye=vt;var Og=new w("");Og.__NG_ELEMENT_ID__=e=>{let t=$e();if(t===null)throw new v(204,!1);if(t.type&2)return t.value;if(e&S.Optional)return null;throw new v(204,!1)};var Pg="ngOriginalError";function $i(e){return e[Pg]}var je=class{constructor(){this._console=console}handleError(t){let r=this._findOriginalError(t);this._console.error("ERROR",t),r&&this._console.error("ORIGINAL ERROR",r)}_findOriginalError(t){let r=t&&$i(t);for(;r&&$i(r);)r=$i(r);return r||null}},Wl=new w("",{providedIn:"root",factory:()=>p(je).handleError.bind(void 0)}),qs=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=kg,t.__NG_ENV_ID__=n=>n;let e=t;return e})(),as=class extends qs{constructor(t){super(),this._lView=t}onDestroy(t){return Dl(this._lView,t),()=>Jp(this._lView,t)}};function kg(){return new as(Z())}function Fg(){return Ws($e(),Z())}function Ws(e,t){return new Mo(Ve(e,t))}var Mo=(()=>{let t=class t{constructor(n){this.nativeElement=n}};t.__NG_ELEMENT_ID__=Fg;let e=t;return e})();var ln=(()=>{let t=class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new q(!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)}};t.\u0275prov=y({token:t,providedIn:"root",factory:()=>new t});let e=t;return e})();var cs=class extends Y{constructor(t=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=t,sl()&&(this.destroyRef=p(qs,{optional:!0})??void 0,this.pendingTasks=p(ln,{optional:!0})??void 0)}emit(t){let r=P(null);try{super.next(t)}finally{P(r)}}subscribe(t,r,n){let o=t,i=r||(()=>null),s=n;if(t&&typeof t=="object"){let c=t;o=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof B&&t.add(a),a}wrapInTimeout(t){return r=>{let n=this.pendingTasks?.add();setTimeout(()=>{t(r),n!==void 0&&this.pendingTasks?.remove(n)})}}},Q=cs;function Zl(e){return(e.flags&128)===128}var Yl=new Map,Lg=0;function jg(){return Lg++}function Vg(e){Yl.set(e[Co],e)}function $g(e){Yl.delete(e[Co])}var gu="__ngContext__";function Xt(e,t){yt(t)?(e[gu]=t[Co],Vg(t)):e[gu]=t}function Ql(e){return Jl(e[Pn])}function Kl(e){return Jl(e[Me])}function Jl(e){for(;e!==null&&!Ye(e);)e=e[Me];return e}var us;function Xl(e){us=e}function Bg(){if(us!==void 0)return us;if(typeof document<"u")return document;throw new v(210,!1)}var So=new w("",{providedIn:"root",factory:()=>Ug}),Ug="ng",Zs=new w(""),ut=new w("",{providedIn:"platform",factory:()=>"unknown"});var Ys=new w("",{providedIn:"root",factory:()=>Bg().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var Hg="h",zg="b";var Gg=()=>null;function Qs(e,t,r=!1){return Gg(e,t,r)}var ed=!1,qg=new w("",{providedIn:"root",factory:()=>ed});var ls=class{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Zh})`}};function Ks(e){return e instanceof ls?e.changingThisBreaksApplicationSecurity:e}function td(e){return e instanceof Function?e():e}function Wg(e){return(e??p(ye)).get(ut)==="browser"}var We=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(We||{}),Zg;function Js(e,t){return Zg(e,t)}function Wt(e,t,r,n,o){if(n!=null){let i,s=!1;Ye(n)?i=n:yt(n)&&(s=!0,n=n[Ze]);let a=Le(n);e===0&&r!==null?o==null?sd(t,r,a):oo(t,r,a,o||null,!0):e===1&&r!==null?oo(t,r,a,o||null,!0):e===2?lm(t,a,s):e===3&&t.destroyNode(a),i!=null&&fm(t,e,i,r,o)}}function Yg(e,t){return e.createText(t)}function Qg(e,t,r){e.setValue(t,r)}function nd(e,t,r){return e.createElement(t,r)}function Kg(e,t){rd(e,t),t[Ze]=null,t[Ne]=null}function Jg(e,t,r,n,o,i){n[Ze]=o,n[Ne]=t,xo(e,n,r,1,o,i)}function rd(e,t){t[qe].changeDetectionScheduler?.notify(8),xo(e,t,t[ue],2,null,null)}function Xg(e){let t=e[Pn];if(!t)return Bi(e[T],e);for(;t;){let r=null;if(yt(t))r=t[Pn];else{let n=t[ve];n&&(r=n)}if(!r){for(;t&&!t[Me]&&t!==e;)yt(t)&&Bi(t[T],t),t=t[K];t===null&&(t=e),yt(t)&&Bi(t[T],t),r=t&&t[Me]}t=r}}function em(e,t,r,n){let o=ve+n,i=r.length;n>0&&(r[o-1][Me]=t),n0&&(e[r-1][Me]=n[Me]);let i=Yr(e,ve+t);Kg(n[T],n);let s=i[wo];s!==null&&s.detachView(i[T]),n[K]=null,n[Me]=null,n[b]&=-129}return n}function id(e,t){if(!(t[b]&256)){let r=t[ue];r.destroyNode&&xo(e,t,r,3,null,null),Xg(t)}}function Bi(e,t){if(t[b]&256)return;let r=P(null);try{t[b]&=-129,t[b]|=256,t[me]&&gi(t[me]),nm(e,t),tm(e,t),t[T].type===1&&t[ue].destroy();let n=t[kn];if(n!==null&&Ye(t[K])){n!==t[K]&&Xs(n,t);let o=t[wo];o!==null&&o.detachView(e)}$g(t)}finally{P(r)}}function tm(e,t){let r=e.cleanup,n=t[Jr];if(r!==null)for(let i=0;i=0?n[s]():n[-s].unsubscribe(),i+=2}else{let s=n[r[i+1]];r[i].call(s)}n!==null&&(t[Jr]=null);let o=t[it];if(o!==null){t[it]=null;for(let i=0;i-1){let{encapsulation:i}=e.data[n.directiveStart+o];if(i===ke.None||i===ke.Emulated)return null}return Ve(n,r)}}function oo(e,t,r,n,o){e.insertBefore(t,r,n,o)}function sd(e,t,r){e.appendChild(t,r)}function mu(e,t,r,n,o){n!==null?oo(e,t,r,n,o):sd(e,t,r)}function im(e,t,r,n){e.removeChild(t,r,n)}function ea(e,t){return e.parentNode(t)}function sm(e,t){return e.nextSibling(t)}function am(e,t,r){return um(e,t,r)}function cm(e,t,r){return e.type&40?Ve(e,r):null}var um=cm,vu;function ad(e,t,r,n){let o=rm(e,n,t),i=t[ue],s=n.parent||t[Ne],a=am(s,n,t);if(o!=null)if(Array.isArray(r))for(let c=0;cwt&&dd(e,t,wt,!1),Oe(s?2:0,o),r(n,o)}finally{It(i),Oe(s?3:1,o)}}function md(e,t,r){if(ul(t)){let n=P(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;snull;function Im(e,t,r,n,o,i){let s=t?t.injectorIndex:-1,a=0;return ng()&&(a|=128),{type:r,index:n,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function yu(e,t,r,n,o){for(let i in t){if(!t.hasOwnProperty(i))continue;let s=t[i];if(s===void 0)continue;n??={};let a,c=st.None;Array.isArray(s)?(a=s[0],c=s[1]):a=s;let u=i;if(o!==null){if(!o.hasOwnProperty(i))continue;u=o[i]}e===0?Du(n,r,u,a,c):Du(n,r,u,a)}return n}function Du(e,t,r,n,o){let i;e.hasOwnProperty(r)?(i=e[r]).push(t,n):i=e[r]=[t,n],o!==void 0&&i.push(o)}function bm(e,t,r){let n=t.directiveStart,o=t.directiveEnd,i=e.data,s=t.attrs,a=[],c=null,u=null;for(let l=n;l0;){let r=e[--t];if(typeof r=="number"&&r<0)return r}return 0}function Tm(e,t,r,n){let o=r.directiveStart,i=r.directiveEnd;js(r)&&km(t,r,e.data[o+r.componentOffset]),e.firstCreatePass||Vl(r,t),Xt(n,t);let s=r.initialInputs;for(let a=o;a{Io(e.lView)},consumerOnSignalRead(){this.lView[me]=this}});function Km(e){let t=e[me]??Object.create(Jm);return t.lView=e,t}var Jm=V(m({},fi),{consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{let t=Et(e.lView);for(;t&&!Sd(t[T]);)t=Et(t);t&&yl(t)},consumerOnSignalRead(){this.lView[me]=this}});function Sd(e){return e.type!==2}var Xm=100;function xd(e,t=!0,r=0){let n=e[qe],o=n.rendererFactory,i=!1;i||o.begin?.();try{ev(e,r)}catch(s){throw t&&Ed(e,s),s}finally{i||(o.end?.(),n.inlineEffectRunner?.flush())}}function ev(e,t){let r=bl();try{uu(!0),gs(e,t);let n=0;for(;Fn(e);){if(n===Xm)throw new v(103,!1);n++,gs(e,1)}}finally{uu(r)}}function tv(e,t,r,n){let o=t[b];if((o&256)===256)return;let i=!1,s=!1;!i&&t[qe].inlineEffectRunner?.flush(),$s(t);let a=!0,c=null,u=null;i||(Sd(e)?(u=Wm(t),c=hi(u)):wc()===null?(a=!1,u=Km(t),c=hi(u)):t[me]&&(gi(t[me]),t[me]=null));try{vl(t),cg(e.bindingStartIndex),r!==null&&gd(e,t,r,2,n);let l=(o&3)===3;if(!i)if(l){let f=e.preOrderCheckHooks;f!==null&&Hr(t,f,null)}else{let f=e.preOrderHooks;f!==null&&zr(t,f,0,null),Li(t,0)}if(s||nv(t),Td(t,0),e.contentQueries!==null&&Cd(e,t),!i)if(l){let f=e.contentCheckHooks;f!==null&&Hr(t,f)}else{let f=e.contentHooks;f!==null&&zr(t,f,1),Li(t,1)}gm(e,t);let d=e.components;d!==null&&Nd(t,d,0);let h=e.viewQuery;if(h!==null&&ps(2,h,n),!i)if(l){let f=e.viewCheckHooks;f!==null&&Hr(t,f)}else{let f=e.viewHooks;f!==null&&zr(t,f,2),Li(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[Fi]){for(let f of t[Fi])f();t[Fi]=null}i||(t[b]&=-73)}catch(l){throw i||Io(t),l}finally{u!==null&&(Cc(u,c),a&&Ym(u)),Bs()}}function Td(e,t){for(let r=Ql(e);r!==null;r=Kl(r))for(let n=ve;n-1&&(ds(t,n),Yr(r,n))}this._attachedToViewContainer=!1}id(this._lView[T],this._lView)}onDestroy(t){Dl(this._lView,t)}markForCheck(){sa(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[b]&=-129}reattach(){ns(this._lView),this._lView[b]|=128}detectChanges(){this._lView[b]|=1024,xd(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new v(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=es(this._lView),r=this._lView[kn];r!==null&&!t&&Xs(r,this._lView),rd(this._lView[T],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new v(902,!1);this._appRef=t;let r=es(this._lView),n=this._lView[kn];n!==null&&!r&&od(n,this._lView),ns(this._lView)}};var aS=new RegExp(`^(\\d+)*(${zg}|${Hg})*(.*)`);var ov=()=>null;function Cu(e,t){return ov(e,t)}var tn=class{},Ad=new w("",{providedIn:"root",factory:()=>!1});var Rd=new w(""),ms=class{},so=class{};function iv(e){let t=Error(`No component factory found for ${ce(e)}.`);return t[sv]=e,t}var sv="ngComponent";var vs=class{resolveComponentFactory(t){throw iv(t)}},va=class va{};va.NULL=new vs;var nn=va,rn=class{};var av=(()=>{let t=class t{};t.\u0275prov=y({token:t,providedIn:"root",factory:()=>null});let e=t;return e})();var Eu=new Set;function aa(e){Eu.has(e)||(Eu.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function Od(e){let t=!0;return setTimeout(()=>{t&&(t=!1,e())}),typeof Se.requestAnimationFrame=="function"&&Se.requestAnimationFrame(()=>{t&&(t=!1,e())}),()=>{t=!1}}function Iu(e){let t=!0;return queueMicrotask(()=>{t&&e()}),()=>{t=!1}}function bu(...e){}var j=class e{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:n=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Q(!1),this.onMicrotaskEmpty=new Q(!1),this.onStable=new Q(!1),this.onError=new Q(!1),typeof Zone>"u")throw new v(908,!1);Zone.assertZonePatched();let o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!n&&r,o.shouldCoalesceRunChangeDetection=n,o.callbackScheduled=!1,lv(o)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get("isAngularZone")===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new v(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new v(909,!1)}run(t,r,n){return this._inner.run(t,r,n)}runTask(t,r,n,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,cv,bu,bu);try{return i.runTask(s,r,n)}finally{i.cancelTask(s)}}runGuarded(t,r,n){return this._inner.runGuarded(t,r,n)}runOutsideAngular(t){return this._outer.run(t)}},cv={};function ca(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 uv(e){e.isCheckStableRunning||e.callbackScheduled||(e.callbackScheduled=!0,Zone.root.run(()=>{Od(()=>{e.callbackScheduled=!1,ys(e),e.isCheckStableRunning=!0,ca(e),e.isCheckStableRunning=!1})}),ys(e))}function lv(e){let t=()=>{uv(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(r,n,o,i,s,a)=>{if(dv(a))return r.invokeTask(o,i,s,a);try{return Mu(e),r.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&i.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),Su(e)}},onInvoke:(r,n,o,i,s,a,c)=>{try{return Mu(e),r.invoke(o,i,s,a,c)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!fv(a)&&t(),Su(e)}},onHasTask:(r,n,o,i)=>{r.hasTask(o,i),n===o&&(i.change=="microTask"?(e._hasPendingMicrotasks=i.microTask,ys(e),ca(e)):i.change=="macroTask"&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(r,n,o,i)=>(r.handleError(o,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}function ys(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Mu(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Su(e){e._nesting--,ca(e)}var ao=class{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Q,this.onMicrotaskEmpty=new Q,this.onStable=new Q,this.onError=new Q}run(t,r,n){return t.apply(r,n)}runGuarded(t,r,n){return t.apply(r,n)}runOutsideAngular(t){return t()}runTask(t,r,n,o){return t.apply(r,n)}};function dv(e){return Pd(e,"__ignore_ng_zone__")}function fv(e){return Pd(e,"__scheduler_tick__")}function Pd(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}function hv(e="zone.js",t){return e==="noop"?new ao:e==="zone.js"?new j(t):e}var ne=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(ne||{}),pv={destroy(){}};function To(e,t){!t&&Hp(To);let r=t?.injector??p(ye);return Wg(r)?(aa("NgAfterNextRender"),mv(e,r,!0,t?.phase??ne.MixedReadWrite)):pv}function gv(e,t){if(e instanceof Function)switch(t){case ne.EarlyRead:return{earlyRead:e};case ne.Write:return{write:e};case ne.MixedReadWrite:return{mixedReadWrite:e};case ne.Read:return{read:e}}return e}function mv(e,t,r,n){let o=gv(e,n),i=t.get(ua),s=i.handler??=new ws,a=[],c=[],u=()=>{for(let f of c)s.unregister(f);l()},l=t.get(qs).onDestroy(u),d=0,h=(f,g)=>{if(!g)return;let E=r?(...L)=>{d--,d<1&&u(),g(...L)}:g,R=_e(t,()=>new Ds(f,a,E));s.register(R),c.push(R),d++};return h(ne.EarlyRead,o.earlyRead),h(ne.Write,o.write),h(ne.MixedReadWrite,o.mixedReadWrite),h(ne.Read,o.read),{destroy:u}}var Ds=class{constructor(t,r,n){this.phase=t,this.pipelinedArgs=r,this.callbackFn=n,this.zone=p(j),this.errorHandler=p(je,{optional:!0}),p(tn,{optional:!0})?.notify(6)}invoke(){try{let t=this.zone.runOutsideAngular(()=>this.callbackFn.apply(null,this.pipelinedArgs));this.pipelinedArgs.splice(0,this.pipelinedArgs.length,t)}catch(t){this.errorHandler?.handleError(t)}}},ws=class{constructor(){this.executingCallbacks=!1,this.buckets={[ne.EarlyRead]:new Set,[ne.Write]:new Set,[ne.MixedReadWrite]:new Set,[ne.Read]:new Set},this.deferredCallbacks=new Set}register(t){(this.executingCallbacks?this.deferredCallbacks:this.buckets[t.phase]).add(t)}unregister(t){this.buckets[t.phase].delete(t),this.deferredCallbacks.delete(t)}execute(){this.executingCallbacks=!0;for(let t of Object.values(this.buckets))for(let r of t)r.invoke();this.executingCallbacks=!1;for(let t of this.deferredCallbacks)this.buckets[t.phase].add(t);this.deferredCallbacks.clear()}destroy(){for(let t of Object.values(this.buckets))t.clear();this.deferredCallbacks.clear()}},ua=(()=>{let t=class t{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){let n=[...this.internalCallbacks];this.internalCallbacks.length=0;for(let o of n)o()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}};t.\u0275prov=y({token:t,providedIn:"root",factory:()=>new t});let e=t;return e})();function Cs(e,t,r){let n=r?e.styles:null,o=r?e.classes:null,i=0;if(t!==null)for(let s=0;s0&&ud(e,r,i.join(" "))}}function Iv(e,t,r){let n=e.projection=[];for(let o=0;o{let t=class t{};t.__NG_ELEMENT_ID__=Mv;let e=t;return e})();function Mv(){let e=$e();return xv(e,Z())}var Sv=_o,kd=class extends Sv{constructor(t,r,n){super(),this._lContainer=t,this._hostTNode=r,this._hostLView=n}get element(){return Ws(this._hostTNode,this._hostLView)}get injector(){return new Dt(this._hostTNode,this._hostLView)}get parentInjector(){let t=zs(this._hostTNode,this._hostLView);if(Fl(t)){let r=ro(t,this._hostLView),n=no(t),o=r[T].data[n+8];return new Dt(o,r)}else return new Dt(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let r=Tu(this._lContainer);return r!==null&&r[t]||null}get length(){return this._lContainer.length-ve}createEmbeddedView(t,r,n){let o,i;typeof n=="number"?o=n:n!=null&&(o=n.index,i=n.injector);let s=Cu(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(r||{},i,s);return this.insertImpl(a,o,wu(this._hostTNode,s)),a}createComponent(t,r,n,o,i){let s=t&&!Gp(t),a;if(s)a=r;else{let g=r||{};a=g.index,n=g.injector,o=g.projectableNodes,i=g.environmentInjector||g.ngModuleRef}let c=s?t:new on(at(t)),u=n||this.parentInjector;if(!i&&c.ngModule==null){let E=(s?u:this.parentInjector).get(re,null);E&&(i=E)}let l=at(c.componentType??{}),d=Cu(this._lContainer,l?.id??null),h=d?.firstChild??null,f=c.create(u,o,h,i);return this.insertImpl(f.hostView,a,wu(this._hostTNode,d)),f}insert(t,r){return this.insertImpl(t,r,!0)}insertImpl(t,r,n){let o=t._lView;if(Kp(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[K],u=new kd(c,c[Ne],c[K]);u.detach(u.indexOf(t))}}let i=this._adjustIndex(r),s=this._lContainer;return Gm(s,o,i,n),t.attachToViewContainerRef(),qu(Ui(s),i,t),t}move(t,r){return this.insert(t,r)}indexOf(t){let r=Tu(this._lContainer);return r!==null?r.indexOf(t):-1}remove(t){let r=this._adjustIndex(t,-1),n=ds(this._lContainer,r);n&&(Yr(Ui(this._lContainer),r),id(n[T],n))}detach(t){let r=this._adjustIndex(t,-1),n=ds(this._lContainer,r);return n&&Yr(Ui(this._lContainer),r)!=null?new en(n):null}_adjustIndex(t,r=0){return t??this.length+r}};function Tu(e){return e[Xr]}function Ui(e){return e[Xr]||(e[Xr]=[])}function xv(e,t){let r,n=t[e.index];return Ye(n)?r=n:(r=jm(n,t,null,e),t[e.index]=r,ia(t,r)),_v(r,t,e,n),new kd(r,e,t)}function Tv(e,t){let r=e[ue],n=r.createComment(""),o=Ve(t,e),i=ea(r,o);return oo(r,i,n,sm(r,o),!1),n}var _v=Nv;function Nv(e,t,r,n){if(e[Ct])return;let o;r.type&8?o=Le(n):o=Tv(t,r),e[Ct]=o}function Av(e){let t=[],r=new Map;function n(o){let i=r.get(o);if(!i){let s=e(o);r.set(o,i=s.then(kv))}return i}return uo.forEach((o,i)=>{let s=[];o.templateUrl&&s.push(n(o.templateUrl).then(u=>{o.template=u}));let a=typeof o.styles=="string"?[o.styles]:o.styles||[];if(o.styles=a,o.styleUrl&&o.styleUrls?.length)throw new Error("@Component cannot define both `styleUrl` and `styleUrls`. Use `styleUrl` if the component has one stylesheet, or `styleUrls` if it has multiple");if(o.styleUrls?.length){let u=o.styles.length,l=o.styleUrls;o.styleUrls.forEach((d,h)=>{a.push(""),s.push(n(d).then(f=>{a[u+h]=f,l.splice(l.indexOf(d),1),l.length==0&&(o.styleUrls=void 0)}))})}else o.styleUrl&&s.push(n(o.styleUrl).then(u=>{a.push(u),o.styleUrl=void 0}));let c=Promise.all(s).then(()=>Fv(i));t.push(c)}),Ov(),Promise.all(t).then(()=>{})}var uo=new Map,Rv=new Set;function Ov(){let e=uo;return uo=new Map,e}function Pv(){return uo.size===0}function kv(e){return typeof e=="string"?e:e.text()}function Fv(e){Rv.delete(e)}var ct=class{},Vn=class{};var lo=class extends ct{constructor(t,r,n){super(),this._parent=r,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new co(this);let o=el(t);this._bootstrapComponents=td(o.bootstrap),this._r3Injector=ql(t,r,[{provide:ct,useValue:this},{provide:nn,useValue:this.componentFactoryResolver},...n],ce(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){let t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(r=>r()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}},fo=class extends Vn{constructor(t){super(),this.moduleType=t}create(t){return new lo(this.moduleType,t,[])}};function Lv(e,t,r){return new lo(e,t,r)}var Is=class extends ct{constructor(t){super(),this.componentFactoryResolver=new co(this),this.instance=null;let r=new On([...t.providers,{provide:ct,useValue:this},{provide:nn,useValue:this.componentFactoryResolver}],t.parent||Ls(),t.debugName,new Set(["environment"]));this.injector=r,t.runEnvironmentInitializers&&r.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function No(e,t,r=null){return new Is({providers:e,parent:t,debugName:r,runEnvironmentInitializers:!0}).injector}function jv(e,t,r){return e[t]=r}function ho(e,t,r){let n=e[t];return Object.is(n,r)?!1:(e[t]=r,!0)}function Vv(e,t,r,n){let o=ho(e,t,r);return ho(e,t+1,n)||o}function $v(e){return(e.flags&32)===32}function Bv(e,t,r,n){return ho(e,ug(),r)?t+Bu(r)+n:lt}function $r(e,t){return e<<17|t<<2}function bt(e){return e>>17&32767}function Uv(e){return(e&2)==2}function Hv(e,t){return e&131071|t<<17}function bs(e){return e|2}function sn(e){return(e&131068)>>2}function Hi(e,t){return e&-131069|t<<2}function zv(e){return(e&1)===1}function Ms(e){return e|1}function Gv(e,t,r,n,o,i){let s=i?t.classBindings:t.styleBindings,a=bt(s),c=sn(s);e[n]=r;let u=!1,l;if(Array.isArray(r)){let d=r;l=d[1],(l===null||Un(d,l)>0)&&(u=!0)}else l=r;if(o)if(c!==0){let h=bt(e[a+1]);e[n+1]=$r(h,a),h!==0&&(e[h+1]=Hi(e[h+1],n)),e[a+1]=Hv(e[a+1],n)}else e[n+1]=$r(a,0),a!==0&&(e[a+1]=Hi(e[a+1],n)),a=n;else e[n+1]=$r(c,0),a===0?a=n:e[c+1]=Hi(e[c+1],n),c=n;u&&(e[n+1]=bs(e[n+1])),_u(e,l,n,!0),_u(e,l,n,!1),qv(t,l,e,n,i),s=$r(a,c),i?t.classBindings=s:t.styleBindings=s}function qv(e,t,r,n,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&Un(i,t)>=0&&(r[n+1]=Ms(r[n+1]))}function _u(e,t,r,n){let o=e[r+1],i=t===null,s=n?bt(o):sn(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],u=e[s+1];Wv(c,t)&&(a=!0,e[s+1]=n?Ms(u):bs(u)),s=n?bt(u):sn(u)}a&&(e[r+1]=n?bs(o):Ms(o))}function Wv(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?Un(e,t)>=0:!1}var be={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Zv(e){return e.substring(be.key,be.keyEnd)}function Yv(e){return Qv(e),Fd(e,Ld(e,0,be.textEnd))}function Fd(e,t){let r=be.textEnd;return r===t?-1:(t=be.keyEnd=Kv(e,be.key=t,r),Ld(e,t,r))}function Qv(e){be.key=0,be.keyEnd=0,be.value=0,be.valueEnd=0,be.textEnd=e.length}function Ld(e,t,r){for(;t32;)t++;return t}function Ss(e,t,r,n,o){let i=t.inputs,s=o?"class":"style";Id(e,r,i[s],s,n)}function la(e){Xv(sy,Jv,e,!0)}function Jv(e,t){for(let r=Yv(t);r>=0;r=Fd(t,r))Rs(e,Zv(t),!0)}function Xv(e,t,r,n){let o=cn(),i=lg(2);o.firstUpdatePass&&ey(o,null,i,n);let s=Z();if(r!==lt&&ho(s,i,r)){let a=o.data[un()];if(Vd(a,n)&&!jd(o,i)){let c=n?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(r=Gi(c,r||"")),Ss(o,a,s,r,n)}else ay(o,a,s,s[ue],s[i+1],s[i+1]=iy(e,t,r),n,i)}}function jd(e,t){return t>=e.expandoStartIndex}function ey(e,t,r,n){let o=e.data;if(o[r+1]===null){let i=o[un()],s=jd(e,r);Vd(i,n)&&t===null&&!s&&(t=!1),t=ty(o,i,t,n),Gv(o,i,t,r,s,n)}}function ty(e,t,r,n){let o=pg(e),i=n?t.residualClasses:t.residualStyles;if(o===null)(n?t.classBindings:t.styleBindings)===0&&(r=zi(null,e,t,r,n),r=$n(r,t.attrs,n),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(r=zi(o,e,t,r,n),i===null){let c=ny(e,t,n);c!==void 0&&Array.isArray(c)&&(c=zi(null,e,t,c[1],n),c=$n(c,t.attrs,n),ry(e,t,n,c))}else i=oy(e,t,n)}return i!==void 0&&(n?t.residualClasses=i:t.residualStyles=i),r}function ny(e,t,r){let n=r?t.classBindings:t.styleBindings;if(sn(n)!==0)return e[bt(n)]}function ry(e,t,r,n){let o=r?t.classBindings:t.styleBindings;e[bt(o)]=n}function oy(e,t,r){let n,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i0;){let c=e[o],u=Array.isArray(c),l=u?c[1]:c,d=l===null,h=r[o+1];h===lt&&(h=d?ae:void 0);let f=d?Pi(h,n):l===n?h:void 0;if(u&&!po(f)&&(f=Pi(c,n)),po(f)&&(a=f,s))return a;let g=e[o+1];o=s?bt(g):sn(g)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=Pi(c,n))}return a}function po(e){return e!==void 0}function Vd(e,t){return(e.flags&(t?8:16))!==0}function uy(e,t,r,n,o,i){let s=t.consts,a=cu(s,o),c=oa(t,e,2,n,a);return Mm(t,r,c,cu(s,i)),c.attrs!==null&&Cs(c,c.attrs,!1),c.mergedAttrs!==null&&Cs(c,c.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,c),c}function J(e,t,r,n){let o=Z(),i=cn(),s=wt+e,a=o[ue],c=i.firstCreatePass?uy(s,i,o,t,r,n):i.data[s],u=ly(i,o,c,a,t,e);o[s]=u;let l=ll(c);return bo(c,!0),ld(a,u,c),!$v(c)&&Rl()&&ad(i,o,u,c),Xp()===0&&Xt(u,o),eg(),l&&(vm(i,o,c),md(i,c,o)),n!==null&&ym(o,c),J}function X(){let e=$e();Il()?sg():(e=e.parent,bo(e,!1));let t=e;rg(t)&&og(),tg();let r=cn();return r.firstCreatePass&&(Pl(r,e),ul(e)&&r.queries.elementEnd(e)),t.classesWithoutHost!=null&&Cg(t)&&Ss(r,t,Z(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&Eg(t)&&Ss(r,t,Z(),t.stylesWithoutHost,!1),X}function Qe(e,t,r,n){return J(e,t,r,n),X(),Qe}var ly=(e,t,r,n,o,i)=>(Ol(!0),nd(n,o,vg()));var go="en-US";var dy=go;function fy(e){typeof e=="string"&&(dy=e.toLowerCase().replace(/_/g,"-"))}var hy=(e,t,r)=>{};function Ao(e,t,r,n){let o=Z(),i=cn(),s=$e();return gy(i,o,o[ue],s,e,t,n),Ao}function py(e,t,r,n){let o=e.cleanup;if(o!=null)for(let i=0;ic?a[c]:null}typeof s=="string"&&(i+=2)}return null}function gy(e,t,r,n,o,i,s){let a=ll(n),u=e.firstCreatePass&&$m(e),l=t[Ge],d=Vm(t),h=!0;if(n.type&3||s){let E=Ve(n,t),R=s?s(E):E,L=d.length,we=s?Ue=>s(Le(Ue[n.index])):n.index,H=null;if(!s&&a&&(H=py(e,t,o,n.index)),H!==null){let Ue=H.__ngLastListenerFn__||H;Ue.__ngNextListenerFn__=i,H.__ngLastListenerFn__=i,h=!1}else{i=Ru(n,t,l,i),hy(E,o,i);let Ue=r.listen(R,o,i);d.push(i,Ue),u&&u.push(o,we,L,L+1)}}else i=Ru(n,t,l,i);let f=n.outputs,g;if(h&&f!==null&&(g=f[o])){let E=g.length;if(E)for(let R=0;R-1?an(e.index,t):t;sa(s,5);let a=Au(t,r,n,i),c=o.__ngNextListenerFn__;for(;c;)a=Au(t,r,c,i)&&a,c=c.__ngNextListenerFn__;return a}}function oe(e,t=""){let r=Z(),n=cn(),o=e+wt,i=n.firstCreatePass?oa(n,o,1,t,null):n.data[o],s=my(n,r,i,t,e);r[o]=s,Rl()&&ad(n,r,s,i),bo(i,!1)}var my=(e,t,r,n,o)=>(Ol(!0),Yg(t[ue],n));function Ro(e){return Gn("",e,""),Ro}function Gn(e,t,r){let n=Z(),o=Bv(n,e,t,r);return o!==lt&&Bm(n,un(),o),Gn}var vy=(()=>{let t=class t{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let o=rl(!1,n.type),i=o.length>0?No([o],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()}}};t.\u0275prov=y({token:t,providedIn:"environment",factory:()=>new t(D(re))});let e=t;return e})();function $d(e){aa("NgStandalone"),e.getStandaloneInjector=t=>t.get(vy).getOrCreateStandaloneInjector(e)}function da(e,t,r,n,o){return Dy(Z(),ag(),e,t,r,n,o)}function yy(e,t){let r=e[t];return r===lt?void 0:r}function Dy(e,t,r,n,o,i,s){let a=t+r;return Vv(e,a,o,i)?jv(e,a+2,s?n.call(s,o,i):n(o,i)):yy(e,a+2)}var Br=null;function wy(e){Br!==null&&(e.defaultEncapsulation!==Br.defaultEncapsulation||e.preserveWhitespaces!==Br.preserveWhitespaces)||(Br=e)}var Oo=(()=>{let t=class t{log(n){console.log(n)}warn(n){console.warn(n)}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"platform"});let e=t;return e})();var fa=new w(""),qn=new w(""),Po=(()=>{let t=class t{constructor(n,o,i){this._ngZone=n,this.registry=o,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,ha||(Cy(i),i.addToWindow(o)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{j.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;this._callbacks.length!==0;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb()}});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(o=>o.updateCb&&o.updateCb(n)?(clearTimeout(o.timeoutId),!1):!0)}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,o,i){let s=-1;o&&o>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(a=>a.timeoutId!==s),n()},o)),this._callbacks.push({doneCb:n,timeoutId:s,updateCb:i})}whenStable(n,o,i){if(i&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,o,i),this._runCallbacksIfReady()}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,o,i){return[]}};t.\u0275fac=function(o){return new(o||t)(D(j),D(ko),D(qn))},t.\u0275prov=y({token:t,factory:t.\u0275fac});let e=t;return e})(),ko=(()=>{let t=class t{constructor(){this._applications=new Map}registerApplication(n,o){this._applications.set(n,o)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,o=!0){return ha?.findTestabilityInTree(this,n,o)??null}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"platform"});let e=t;return e})();function Cy(e){ha=e}var ha;function Wn(e){return!!e&&typeof e.then=="function"}function Bd(e){return!!e&&typeof e.subscribe=="function"}var Fo=new w(""),Ud=(()=>{let t=class t{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,o)=>{this.resolve=n,this.reject=o}),this.appInits=p(Fo,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let n=[];for(let i of this.appInits){let s=i();if(Wn(s))n.push(s);else if(Bd(s)){let a=new Promise((c,u)=>{s.subscribe({complete:c,error:u})});n.push(a)}}let o=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{o()}).catch(i=>{this.reject(i)}),n.length===0&&o(),this.initialized=!0}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),pa=new w("");function Ey(){Ec(()=>{throw new v(600,!1)})}function Iy(e){return e.isBoundToModule}var by=10;function My(e,t,r){try{let n=r();return Wn(n)?n.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):n}catch(n){throw t.runOutsideAngular(()=>e.handleError(n)),n}}function Hd(e,t){return Array.isArray(t)?t.reduce(Hd,e):m(m({},e),t)}var St=(()=>{let t=class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=p(Wl),this.afterRenderEffectManager=p(ua),this.zonelessEnabled=p(Ad),this.externalTestViews=new Set,this.beforeRender=new Y,this.afterTick=new Y,this.componentTypes=[],this.components=[],this.isStable=p(ln).hasPendingTasks.pipe(x(n=>!n)),this._injector=p(re)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,o){let i=n instanceof so;if(!this._injector.get(Ud).done){let f=!i&&Xu(n),g=!1;throw new v(405,g)}let a;i?a=n:a=this._injector.get(nn).resolveComponentFactory(n),this.componentTypes.push(a.componentType);let c=Iy(a)?void 0:this._injector.get(ct),u=o||a.selector,l=a.create(ye.NULL,[],u,c),d=l.location.nativeElement,h=l.injector.get(fa,null);return h?.registerApplication(d),l.onDestroy(()=>{this.detachView(l.hostView),qr(this.components,l),h?.unregisterApplication(d)}),this._loadComponent(l),l}tick(){this._tick(!0)}_tick(n){if(this._runningTick)throw new v(101,!1);let o=P(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(n)}catch(i){this.internalErrorHandler(i)}finally{this._runningTick=!1,P(o),this.afterTick.next()}}detectChangesInAttachedViews(n){let o=null;this._injector.destroyed||(o=this._injector.get(rn,null,{optional:!0}));let i=0,s=this.afterRenderEffectManager;for(;iFn(c))&&(s.execute(),!this.allViews.some(({_lView:c})=>Fn(c))))break}}attachView(n){let o=n;this._views.push(o),o.attachToAppRef(this)}detachView(n){let o=n;qr(this._views,o),o.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);let o=this._injector.get(pa,[]);[...this._bootstrapListeners,...o].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),()=>qr(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new v(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function qr(e,t){let r=e.indexOf(t);r>-1&&e.splice(r,1)}function Sy(e,t,r,n){if(!r&&!Fn(e))return;xd(e,t,r&&!n?0:1)}var xs=class{constructor(t,r){this.ngModuleFactory=t,this.componentFactories=r}},Lo=(()=>{let t=class t{compileModuleSync(n){return new fo(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let o=this.compileModuleSync(n),i=el(n),s=td(i.declarations).reduce((a,c)=>{let u=at(c);return u&&a.push(new on(u)),a},[]);return new xs(o,s)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),xy=new w("");function Ty(e,t,r){let n=new fo(r);return Promise.resolve(n)}function Ou(e){for(let t=e.length-1;t>=0;t--)if(e[t]!==void 0)return e[t]}var _y=(()=>{let t=class t{constructor(){this.zone=p(j),this.changeDetectionScheduler=p(tn),this.applicationRef=p(St)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function Ny({ngZoneFactory:e,ignoreChangesOutsideZone:t}){return e??=()=>new j(zd()),[{provide:j,useFactory:e},{provide:Kt,multi:!0,useFactory:()=>{let r=p(_y,{optional:!0});return()=>r.initialize()}},{provide:Kt,multi:!0,useFactory:()=>{let r=p(Ry);return()=>{r.initialize()}}},{provide:Wl,useFactory:Ay},t===!0?{provide:Rd,useValue:!0}:[]]}function Ay(){let e=p(j),t=p(je);return r=>e.runOutsideAngular(()=>t.handleError(r))}function zd(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var Ry=(()=>{let t=class t{constructor(){this.subscription=new B,this.initialized=!1,this.zone=p(j),this.pendingTasks=p(ln)}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(()=>{j.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{j.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var Oy=(()=>{let t=class t{constructor(){this.appRef=p(St),this.taskService=p(ln),this.ngZone=p(j),this.zonelessEnabled=p(Ad),this.disableScheduling=p(Rd,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new B,this.cancelScheduledCallback=null,this.shouldRefreshViews=!1,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 ao||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&n===5)return;switch(n){case 3:case 2:case 0:case 4:case 5:case 1:{this.shouldRefreshViews=!0;break}case 8:case 7:case 6:case 9:default:}if(!this.shouldScheduleTick())return;let o=this.useMicrotaskScheduler?Iu:Od;this.pendingRenderTaskId=this.taskService.add(),this.zoneIsDefined?Zone.root.run(()=>{this.cancelScheduledCallback=o(()=>{this.tick(this.shouldRefreshViews)})}):this.cancelScheduledCallback=o(()=>{this.tick(this.shouldRefreshViews)})}shouldScheduleTick(){return!(this.disableScheduling||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&j.isInAngularZone())}tick(n){if(this.runningTick||this.appRef.destroyed)return;let o=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick(n)},void 0,this.schedulerTickApplyArgs)}catch(i){throw this.taskService.remove(o),i}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Iu(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(o)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.shouldRefreshViews=!1,this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function Py(){return typeof $localize<"u"&&$localize.locale||go}var ga=new w("",{providedIn:"root",factory:()=>p(ga,S.Optional|S.SkipSelf)||Py()});var Gd=new w(""),qd=(()=>{let t=class t{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,o){let i=hv(o?.ngZone,zd({eventCoalescing:o?.ngZoneEventCoalescing,runCoalescing:o?.ngZoneRunCoalescing}));return i.run(()=>{let s=o?.ignoreChangesOutsideZone,a=Lv(n.moduleType,this.injector,[...Ny({ngZoneFactory:()=>i,ignoreChangesOutsideZone:s}),{provide:tn,useExisting:Oy}]),c=a.injector.get(je,null);return i.runOutsideAngular(()=>{let u=i.onError.subscribe({next:l=>{c.handleError(l)}});a.onDestroy(()=>{qr(this._modules,a),u.unsubscribe()})}),My(c,i,()=>{let u=a.injector.get(Ud);return u.runInitializers(),u.donePromise.then(()=>{let l=a.injector.get(ga,go);return fy(l||go),this._moduleDoBootstrap(a),a})})})}bootstrapModule(n,o=[]){let i=Hd({},o);return Ty(this.injector,i,n).then(s=>this.bootstrapModuleFactory(s,i))}_moduleDoBootstrap(n){let o=n.injector.get(St);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(i=>o.bootstrap(i));else if(n.instance.ngDoBootstrap)n.instance.ngDoBootstrap(o);else throw new v(-403,!1);this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new v(404,!1);this._modules.slice().forEach(o=>o.destroy()),this._destroyListeners.forEach(o=>o());let n=this._injector.get(Gd,null);n&&(n.forEach(o=>o()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}};t.\u0275fac=function(o){return new(o||t)(D(ye))},t.\u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"platform"});let e=t;return e})(),Nn=null,Wd=new w("");function ky(e){if(Nn&&!Nn.get(Wd,!1))throw new v(400,!1);Ey(),Nn=e;let t=e.get(qd);return jy(e),t}function ma(e,t,r=[]){let n=`Platform: ${t}`,o=new w(n);return(i=[])=>{let s=Zd();if(!s||s.injector.get(Wd,!1)){let a=[...r,...i,{provide:o,useValue:!0}];e?e(a):ky(Fy(a,n))}return Ly(o)}}function Fy(e=[],t){return ye.create({name:t,providers:[{provide:Do,useValue:"platform"},{provide:Gd,useValue:new Set([()=>Nn=null])},...e]})}function Ly(e){let t=Zd();if(!t)throw new v(401,!1);return t}function Zd(){return Nn?.get(qd)??null}function jy(e){e.get(Zs,null)?.forEach(r=>r())}var Zn=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=Vy;let e=t;return e})();function Vy(e){return $y($e(),Z(),(e&16)===16)}function $y(e,t,r){if(js(e)&&!r){let n=an(e.index,t);return new en(n,n)}else if(e.type&175){let n=t[Fe];return new en(n,t)}return null}var Yd=ma(null,"core",[]),Qd=(()=>{let t=class t{constructor(n){}};t.\u0275fac=function(o){return new(o||t)(D(St))},t.\u0275mod=Te({type:t}),t.\u0275inj=xe({});let e=t;return e})();var Kd=new w("");function Jd(e){let t=at(e);if(!t)return null;let r=new on(t);return{get selector(){return r.selector},get type(){return r.componentType},get inputs(){return r.inputs},get outputs(){return r.outputs},get ngContentSelectors(){return r.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}var rf=null;function xt(){return rf}function of(e){rf??=e}var jo=class{};var ee=new w(""),wa=(()=>{let t=class t{historyGo(n){throw new Error("")}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=y({token:t,factory:()=>p(zy),providedIn:"platform"});let e=t;return e})(),sf=new w(""),zy=(()=>{let t=class t extends wa{constructor(){super(),this._doc=p(ee),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return xt().getBaseHref(this._doc)}onPopState(n){let o=xt().getGlobalEventTarget(this._doc,"window");return o.addEventListener("popstate",n,!1),()=>o.removeEventListener("popstate",n)}onHashChange(n){let o=xt().getGlobalEventTarget(this._doc,"window");return o.addEventListener("hashchange",n,!1),()=>o.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,o,i){this._history.pushState(n,o,i)}replaceState(n,o,i){this._history.replaceState(n,o,i)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=y({token:t,factory:()=>new t,providedIn:"platform"});let e=t;return e})();function Ca(e,t){if(e.length==0)return t;if(t.length==0)return e;let r=0;return e.endsWith("/")&&r++,t.startsWith("/")&&r++,r==2?e+t.substring(1):r==1?e+t:e+"/"+t}function Xd(e){let t=e.match(/#|\?|$/),r=t&&t.index||e.length,n=r-(e[r-1]==="/"?1:0);return e.slice(0,n)+e.slice(r)}function Ke(e){return e&&e[0]!=="?"?"?"+e:e}var Tt=(()=>{let t=class t{historyGo(n){throw new Error("")}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=y({token:t,factory:()=>p(Ea),providedIn:"root"});let e=t;return e})(),af=new w(""),Ea=(()=>{let t=class t extends Tt{constructor(n,o){super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=o??this._platformLocation.getBaseHrefFromDOM()??p(ee).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 Ca(this._baseHref,n)}path(n=!1){let o=this._platformLocation.pathname+Ke(this._platformLocation.search),i=this._platformLocation.hash;return i&&n?`${o}${i}`:o}pushState(n,o,i,s){let a=this.prepareExternalUrl(i+Ke(s));this._platformLocation.pushState(n,o,a)}replaceState(n,o,i,s){let a=this.prepareExternalUrl(i+Ke(s));this._platformLocation.replaceState(n,o,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}};t.\u0275fac=function(o){return new(o||t)(D(wa),D(af,8))},t.\u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),cf=(()=>{let t=class t extends Tt{constructor(n,o){super(),this._platformLocation=n,this._baseHref="",this._removeListenerFns=[],o!=null&&(this._baseHref=o)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}path(n=!1){let o=this._platformLocation.hash??"#";return o.length>0?o.substring(1):o}prepareExternalUrl(n){let o=Ca(this._baseHref,n);return o.length>0?"#"+o:o}pushState(n,o,i,s){let a=this.prepareExternalUrl(i+Ke(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.pushState(n,o,a)}replaceState(n,o,i,s){let a=this.prepareExternalUrl(i+Ke(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.replaceState(n,o,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}};t.\u0275fac=function(o){return new(o||t)(D(wa),D(af,8))},t.\u0275prov=y({token:t,factory:t.\u0275fac});let e=t;return e})(),fn=(()=>{let t=class t{constructor(n){this._subject=new Q,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=n;let o=this._locationStrategy.getBaseHref();this._basePath=Wy(Xd(ef(o))),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,o=""){return this.path()==this.normalize(n+Ke(o))}normalize(n){return t.stripTrailingSlash(qy(this._basePath,ef(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,o="",i=null){this._locationStrategy.pushState(i,"",n,o),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Ke(o)),i)}replaceState(n,o="",i=null){this._locationStrategy.replaceState(i,"",n,o),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Ke(o)),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(o=>{this._notifyUrlChangeListeners(o.url,o.state)}),()=>{let o=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(o,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",o){this._urlChangeListeners.forEach(i=>i(n,o))}subscribe(n,o,i){return this._subject.subscribe({next:n,error:o,complete:i})}};t.normalizeQueryParams=Ke,t.joinWithSlash=Ca,t.stripTrailingSlash=Xd,t.\u0275fac=function(o){return new(o||t)(D(Tt))},t.\u0275prov=y({token:t,factory:()=>Gy(),providedIn:"root"});let e=t;return e})();function Gy(){return new fn(D(Tt))}function qy(e,t){if(!e||!t.startsWith(e))return t;let r=t.substring(e.length);return r===""||["/",";","?","#"].includes(r[0])?r:t}function ef(e){return e.replace(/\/index.html$/,"")}function Wy(e){if(new RegExp("^(https?:)?//").test(e)){let[,r]=e.split(/\/\/[^\/]+/);return r}return e}function uf(e,t){t=encodeURIComponent(t);for(let r of e.split(";")){let n=r.indexOf("="),[o,i]=n==-1?[r,""]:[r.slice(0,n),r.slice(n+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}var lf=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275mod=Te({type:t}),t.\u0275inj=xe({});let e=t;return e})(),Ia="browser",Zy="server";function Yy(e){return e===Ia}function ba(e){return e===Zy}var df=(()=>{let t=class t{};t.\u0275prov=y({token:t,providedIn:"root",factory:()=>Yy(p(ut))?new ya(p(ee),window):new Da});let e=t;return e})(),ya=class{constructor(t,r){this.document=t,this.window=r,this.offset=()=>[0,0]}setOffset(t){Array.isArray(t)?this.offset=()=>t:this.offset=t}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(t){this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){let r=Qy(this.document,t);r&&(this.scrollToElement(r),r.focus())}setHistoryScrollRestoration(t){this.window.history.scrollRestoration=t}scrollToElement(t){let r=t.getBoundingClientRect(),n=r.left+this.window.pageXOffset,o=r.top+this.window.pageYOffset,i=this.offset();this.window.scrollTo(n-i[0],o-i[1])}};function Qy(e,t){let r=e.getElementById(t)||e.getElementsByName(t)[0];if(r)return r;if(typeof e.createTreeWalker=="function"&&e.body&&typeof e.body.attachShadow=="function"){let n=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT),o=n.currentNode;for(;o;){let i=o.shadowRoot;if(i){let s=i.getElementById(t)||i.querySelector(`[name="${t}"]`);if(s)return s}o=n.nextNode()}}return null}var Da=class{setOffset(t){}getScrollPosition(){return[0,0]}scrollToPosition(t){}scrollToAnchor(t){}setHistoryScrollRestoration(t){}},Vo=class{};var xa=class extends jo{constructor(){super(...arguments),this.supportsDOMEvents=!0}},Ta=class e extends xa{static makeCurrent(){of(new e)}onAndCancel(t,r,n){return t.addEventListener(r,n),()=>{t.removeEventListener(r,n)}}dispatchEvent(t,r){t.dispatchEvent(r)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,r){return r=r||this.getDefaultDocument(),r.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,r){return r==="window"?window:r==="document"?t:r==="body"?t.body:null}getBaseHref(t){let r=Jy();return r==null?null:Xy(r)}resetBaseElement(){Yn=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return uf(document.cookie,t)}},Yn=null;function Jy(){return Yn=Yn||document.querySelector("base"),Yn?Yn.getAttribute("href"):null}function Xy(e){return new URL(e,document.baseURI).pathname}var _a=class{addToWindow(t){Se.getAngularTestability=(n,o=!0)=>{let i=t.findTestabilityInTree(n,o);if(i==null)throw new v(5103,!1);return i},Se.getAllAngularTestabilities=()=>t.getAllTestabilities(),Se.getAllAngularRootElements=()=>t.getAllRootElements();let r=n=>{let o=Se.getAllAngularTestabilities(),i=o.length,s=function(){i--,i==0&&n()};o.forEach(a=>{a.whenStable(s)})};Se.frameworkStabilizers||(Se.frameworkStabilizers=[]),Se.frameworkStabilizers.push(r)}findTestabilityInTree(t,r,n){if(r==null)return null;let o=t.getTestability(r);return o??(n?xt().isShadowRoot(r)?this.findTestabilityInTree(t,r.host,!0):this.findTestabilityInTree(t,r.parentElement,!0):null)}},eD=(()=>{let t=class t{build(){return new XMLHttpRequest}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=y({token:t,factory:t.\u0275fac});let e=t;return e})(),$o=new w(""),gf=(()=>{let t=class t{constructor(n,o){this._zone=o,this._eventNameToPlugin=new Map,n.forEach(i=>{i.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,o,i){return this._findPluginFor(o).addEventListener(n,o,i)}getZone(){return this._zone}_findPluginFor(n){let o=this._eventNameToPlugin.get(n);if(o)return o;if(o=this._plugins.find(s=>s.supports(n)),!o)throw new v(5101,!1);return this._eventNameToPlugin.set(n,o),o}};t.\u0275fac=function(o){return new(o||t)(D($o),D(j))},t.\u0275prov=y({token:t,factory:t.\u0275fac});let e=t;return e})(),Qn=class{constructor(t){this._doc=t}},Ma="ng-app-id",mf=(()=>{let t=class t{constructor(n,o,i,s={}){this.doc=n,this.appId=o,this.nonce=i,this.platformId=s,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=ba(s),this.resetHostNodes()}addStyles(n){for(let o of n)this.changeUsageCount(o,1)===1&&this.onStyleAdded(o)}removeStyles(n){for(let o of n)this.changeUsageCount(o,-1)<=0&&this.onStyleRemoved(o)}ngOnDestroy(){let n=this.styleNodesInDOM;n&&(n.forEach(o=>o.remove()),n.clear());for(let o of this.getAllStyles())this.onStyleRemoved(o);this.resetHostNodes()}addHost(n){this.hostNodes.add(n);for(let o of this.getAllStyles())this.addStyleToHost(n,o)}removeHost(n){this.hostNodes.delete(n)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(n){for(let o of this.hostNodes)this.addStyleToHost(o,n)}onStyleRemoved(n){let o=this.styleRef;o.get(n)?.elements?.forEach(i=>i.remove()),o.delete(n)}collectServerRenderedStyles(){let n=this.doc.head?.querySelectorAll(`style[${Ma}="${this.appId}"]`);if(n?.length){let o=new Map;return n.forEach(i=>{i.textContent!=null&&o.set(i.textContent,i)}),o}return null}changeUsageCount(n,o){let i=this.styleRef;if(i.has(n)){let s=i.get(n);return s.usage+=o,s.usage}return i.set(n,{usage:o,elements:[]}),o}getStyleElement(n,o){let i=this.styleNodesInDOM,s=i?.get(o);if(s?.parentNode===n)return i.delete(o),s.removeAttribute(Ma),s;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=o,this.platformIsServer&&a.setAttribute(Ma,this.appId),n.appendChild(a),a}}addStyleToHost(n,o){let i=this.getStyleElement(n,o),s=this.styleRef,a=s.get(o)?.elements;a?a.push(i):s.set(o,{elements:[i],usage:1})}resetHostNodes(){let n=this.hostNodes;n.clear(),n.add(this.doc.head)}};t.\u0275fac=function(o){return new(o||t)(D(ee),D(So),D(Ys,8),D(ut))},t.\u0275prov=y({token:t,factory:t.\u0275fac});let e=t;return e})(),Sa={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"},Aa=/%COMP%/g,vf="%COMP%",tD=`_nghost-${vf}`,nD=`_ngcontent-${vf}`,rD=!0,oD=new w("",{providedIn:"root",factory:()=>rD});function iD(e){return nD.replace(Aa,e)}function sD(e){return tD.replace(Aa,e)}function yf(e,t){return t.map(r=>r.replace(Aa,e))}var ff=(()=>{let t=class t{constructor(n,o,i,s,a,c,u,l=null){this.eventManager=n,this.sharedStylesHost=o,this.appId=i,this.removeStylesOnCompDestroy=s,this.doc=a,this.platformId=c,this.ngZone=u,this.nonce=l,this.rendererByCompId=new Map,this.platformIsServer=ba(c),this.defaultRenderer=new Kn(n,a,u,this.platformIsServer)}createRenderer(n,o){if(!n||!o)return this.defaultRenderer;this.platformIsServer&&o.encapsulation===ke.ShadowDom&&(o=V(m({},o),{encapsulation:ke.Emulated}));let i=this.getOrCreateRenderer(n,o);return i instanceof Bo?i.applyToHost(n):i instanceof Jn&&i.applyStyles(),i}getOrCreateRenderer(n,o){let i=this.rendererByCompId,s=i.get(o.id);if(!s){let a=this.doc,c=this.ngZone,u=this.eventManager,l=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,h=this.platformIsServer;switch(o.encapsulation){case ke.Emulated:s=new Bo(u,l,o,this.appId,d,a,c,h);break;case ke.ShadowDom:return new Na(u,l,n,o,a,c,this.nonce,h);default:s=new Jn(u,l,o,d,a,c,h);break}i.set(o.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}};t.\u0275fac=function(o){return new(o||t)(D(gf),D(mf),D(So),D(oD),D(ee),D(ut),D(j),D(Ys))},t.\u0275prov=y({token:t,factory:t.\u0275fac});let e=t;return e})(),Kn=class{constructor(t,r,n,o){this.eventManager=t,this.doc=r,this.ngZone=n,this.platformIsServer=o,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(t,r){return r?this.doc.createElementNS(Sa[r]||r,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,r){(hf(t)?t.content:t).appendChild(r)}insertBefore(t,r,n){t&&(hf(t)?t.content:t).insertBefore(r,n)}removeChild(t,r){t&&t.removeChild(r)}selectRootElement(t,r){let n=typeof t=="string"?this.doc.querySelector(t):t;if(!n)throw new v(-5104,!1);return r||(n.textContent=""),n}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,r,n,o){if(o){r=o+":"+r;let i=Sa[o];i?t.setAttributeNS(i,r,n):t.setAttribute(r,n)}else t.setAttribute(r,n)}removeAttribute(t,r,n){if(n){let o=Sa[n];o?t.removeAttributeNS(o,r):t.removeAttribute(`${n}:${r}`)}else t.removeAttribute(r)}addClass(t,r){t.classList.add(r)}removeClass(t,r){t.classList.remove(r)}setStyle(t,r,n,o){o&(We.DashCase|We.Important)?t.style.setProperty(r,n,o&We.Important?"important":""):t.style[r]=n}removeStyle(t,r,n){n&We.DashCase?t.style.removeProperty(r):t.style[r]=""}setProperty(t,r,n){t!=null&&(t[r]=n)}setValue(t,r){t.nodeValue=r}listen(t,r,n){if(typeof t=="string"&&(t=xt().getGlobalEventTarget(this.doc,t),!t))throw new Error(`Unsupported event target ${t} for event ${r}`);return this.eventManager.addEventListener(t,r,this.decoratePreventDefault(n))}decoratePreventDefault(t){return r=>{if(r==="__ngUnwrap__")return t;(this.platformIsServer?this.ngZone.runGuarded(()=>t(r)):t(r))===!1&&r.preventDefault()}}};function hf(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var Na=class extends Kn{constructor(t,r,n,o,i,s,a,c){super(t,i,s,c),this.sharedStylesHost=r,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let u=yf(o.id,o.styles);for(let l of u){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,r){return super.appendChild(this.nodeOrShadowRoot(t),r)}insertBefore(t,r,n){return super.insertBefore(this.nodeOrShadowRoot(t),r,n)}removeChild(t,r){return super.removeChild(this.nodeOrShadowRoot(t),r)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Jn=class extends Kn{constructor(t,r,n,o,i,s,a,c){super(t,i,s,a),this.sharedStylesHost=r,this.removeStylesOnCompDestroy=o,this.styles=c?yf(c,n.styles):n.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},Bo=class extends Jn{constructor(t,r,n,o,i,s,a,c){let u=o+"-"+n.id;super(t,r,n,i,s,a,c,u),this.contentAttr=iD(u),this.hostAttr=sD(u)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,r){let n=super.createElement(t,r);return super.setAttribute(n,this.contentAttr,""),n}},aD=(()=>{let t=class t extends Qn{constructor(n){super(n)}supports(n){return!0}addEventListener(n,o,i){return n.addEventListener(o,i,!1),()=>this.removeEventListener(n,o,i)}removeEventListener(n,o,i){return n.removeEventListener(o,i)}};t.\u0275fac=function(o){return new(o||t)(D(ee))},t.\u0275prov=y({token:t,factory:t.\u0275fac});let e=t;return e})(),cD=(()=>{let t=class t extends Qn{constructor(n){super(n),this.delegate=p(Kd,{optional:!0})}supports(n){return this.delegate?this.delegate.supports(n):!1}addEventListener(n,o,i){return this.delegate.addEventListener(n,o,i)}removeEventListener(n,o,i){return this.delegate.removeEventListener(n,o,i)}};t.\u0275fac=function(o){return new(o||t)(D(ee))},t.\u0275prov=y({token:t,factory:t.\u0275fac});let e=t;return e})(),pf=["alt","control","meta","shift"],uD={"\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"},lD={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},dD=(()=>{let t=class t extends Qn{constructor(n){super(n)}supports(n){return t.parseEventName(n)!=null}addEventListener(n,o,i){let s=t.parseEventName(o),a=t.eventCallback(s.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>xt().onAndCancel(n,s.domEventName,a))}static parseEventName(n){let o=n.toLowerCase().split("."),i=o.shift();if(o.length===0||!(i==="keydown"||i==="keyup"))return null;let s=t._normalizeKey(o.pop()),a="",c=o.indexOf("code");if(c>-1&&(o.splice(c,1),a="code."),pf.forEach(l=>{let d=o.indexOf(l);d>-1&&(o.splice(d,1),a+=l+".")}),a+=s,o.length!=0||s.length===0)return null;let u={};return u.domEventName=i,u.fullKey=a,u}static matchEventFullKeyCode(n,o){let i=uD[n.key]||n.key,s="";return o.indexOf("code.")>-1&&(i=n.code,s="code."),i==null||!i?!1:(i=i.toLowerCase(),i===" "?i="space":i==="."&&(i="dot"),pf.forEach(a=>{if(a!==i){let c=lD[a];c(n)&&(s+=a+".")}}),s+=i,s===o)}static eventCallback(n,o,i){return s=>{t.matchEventFullKeyCode(s,n)&&i.runGuarded(()=>o(s))}}static _normalizeKey(n){return n==="esc"?"escape":n}};t.\u0275fac=function(o){return new(o||t)(D(ee))},t.\u0275prov=y({token:t,factory:t.\u0275fac});let e=t;return e})();function fD(){Ta.makeCurrent()}function hD(){return new je}function pD(){return Xl(document),document}var gD=[{provide:ut,useValue:Ia},{provide:Zs,useValue:fD,multi:!0},{provide:ee,useFactory:pD,deps:[]}],Df=ma(Yd,"browser",gD),mD=new w(""),vD=[{provide:qn,useClass:_a,deps:[]},{provide:fa,useClass:Po,deps:[j,ko,qn]},{provide:Po,useClass:Po,deps:[j,ko,qn]}],yD=[{provide:Do,useValue:"root"},{provide:je,useFactory:hD,deps:[]},{provide:$o,useClass:aD,multi:!0,deps:[ee,j,ut]},{provide:$o,useClass:dD,multi:!0,deps:[ee]},{provide:$o,useClass:cD,multi:!0},ff,mf,gf,{provide:rn,useExisting:ff},{provide:Vo,useClass:eD,deps:[]},[]],wf=(()=>{let t=class t{constructor(n){}static withServerTransition(n){return{ngModule:t,providers:[{provide:So,useValue:n.appId}]}}};t.\u0275fac=function(o){return new(o||t)(D(mD,12))},t.\u0275mod=Te({type:t}),t.\u0275inj=xe({providers:[...yD,...vD],imports:[lf,Qd]});let e=t;return e})();var Cf=(()=>{let t=class t{constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}};t.\u0275fac=function(o){return new(o||t)(D(ee))},t.\u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var M="primary",hr=Symbol("RouteTitle"),Fa=class{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){let r=this.params[t];return Array.isArray(r)?r[0]:r}return null}getAll(t){if(this.has(t)){let r=this.params[t];return Array.isArray(r)?r:[r]}return[]}get keys(){return Object.keys(this.params)}};function yn(e){return new Fa(e)}function DD(e,t,r){let n=r.path.split("/");if(n.length>e.length||r.pathMatch==="full"&&(t.hasChildren()||n.lengthn[i]===o)}else return e===t}function Pf(e){return e.length>0?e[e.length-1]:null}function ft(e){return Ti(e)?e:Wn(e)?$(Promise.resolve(e)):C(e)}var CD={exact:Ff,subset:Lf},kf={exact:ED,subset:ID,ignored:()=>!0};function If(e,t,r){return CD[r.paths](e.root,t.root,r.matrixParams)&&kf[r.queryParams](e.queryParams,t.queryParams)&&!(r.fragment==="exact"&&e.fragment!==t.fragment)}function ED(e,t){return Be(e,t)}function Ff(e,t,r){if(!Nt(e.segments,t.segments)||!zo(e.segments,t.segments,r)||e.numberOfChildren!==t.numberOfChildren)return!1;for(let n in t.children)if(!e.children[n]||!Ff(e.children[n],t.children[n],r))return!1;return!0}function ID(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(r=>Of(e[r],t[r]))}function Lf(e,t,r){return jf(e,t,t.segments,r)}function jf(e,t,r,n){if(e.segments.length>r.length){let o=e.segments.slice(0,r.length);return!(!Nt(o,r)||t.hasChildren()||!zo(o,r,n))}else if(e.segments.length===r.length){if(!Nt(e.segments,r)||!zo(e.segments,r,n))return!1;for(let o in t.children)if(!e.children[o]||!Lf(e.children[o],t.children[o],n))return!1;return!0}else{let o=r.slice(0,e.segments.length),i=r.slice(e.segments.length);return!Nt(e.segments,o)||!zo(e.segments,o,n)||!e.children[M]?!1:jf(e.children[M],t,i,n)}}function zo(e,t,r){return t.every((n,o)=>kf[r](e[o].parameters,n.parameters))}var Xe=class{constructor(t=new O([],{}),r={},n=null){this.root=t,this.queryParams=r,this.fragment=n}get queryParamMap(){return this._queryParamMap??=yn(this.queryParams),this._queryParamMap}toString(){return SD.serialize(this)}},O=class{constructor(t,r){this.segments=t,this.children=r,this.parent=null,Object.values(r).forEach(n=>n.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Go(this)}},_t=class{constructor(t,r){this.path=t,this.parameters=r}get parameterMap(){return this._parameterMap??=yn(this.parameters),this._parameterMap}toString(){return $f(this)}};function bD(e,t){return Nt(e,t)&&e.every((r,n)=>Be(r.parameters,t[n].parameters))}function Nt(e,t){return e.length!==t.length?!1:e.every((r,n)=>r.path===t[n].path)}function MD(e,t){let r=[];return Object.entries(e.children).forEach(([n,o])=>{n===M&&(r=r.concat(t(o,n)))}),Object.entries(e.children).forEach(([n,o])=>{n!==M&&(r=r.concat(t(o,n)))}),r}var pr=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=y({token:t,factory:()=>new Dn,providedIn:"root"});let e=t;return e})(),Dn=class{parse(t){let r=new Va(t);return new Xe(r.parseRootSegment(),r.parseQueryParams(),r.parseFragment())}serialize(t){let r=`/${Xn(t.root,!0)}`,n=_D(t.queryParams),o=typeof t.fragment=="string"?`#${xD(t.fragment)}`:"";return`${r}${n}${o}`}},SD=new Dn;function Go(e){return e.segments.map(t=>$f(t)).join("/")}function Xn(e,t){if(!e.hasChildren())return Go(e);if(t){let r=e.children[M]?Xn(e.children[M],!1):"",n=[];return Object.entries(e.children).forEach(([o,i])=>{o!==M&&n.push(`${o}:${Xn(i,!1)}`)}),n.length>0?`${r}(${n.join("//")})`:r}else{let r=MD(e,(n,o)=>o===M?[Xn(e.children[M],!1)]:[`${o}:${Xn(n,!1)}`]);return Object.keys(e.children).length===1&&e.children[M]!=null?`${Go(e)}/${r[0]}`:`${Go(e)}/(${r.join("//")})`}}function Vf(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Uo(e){return Vf(e).replace(/%3B/gi,";")}function xD(e){return encodeURI(e)}function ja(e){return Vf(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function qo(e){return decodeURIComponent(e)}function bf(e){return qo(e.replace(/\+/g,"%20"))}function $f(e){return`${ja(e.path)}${TD(e.parameters)}`}function TD(e){return Object.entries(e).map(([t,r])=>`;${ja(t)}=${ja(r)}`).join("")}function _D(e){let t=Object.entries(e).map(([r,n])=>Array.isArray(n)?n.map(o=>`${Uo(r)}=${Uo(o)}`).join("&"):`${Uo(r)}=${Uo(n)}`).filter(r=>r);return t.length?`?${t.join("&")}`:""}var ND=/^[^\/()?;#]+/;function Ra(e){let t=e.match(ND);return t?t[0]:""}var AD=/^[^\/()?;=#]+/;function RD(e){let t=e.match(AD);return t?t[0]:""}var OD=/^[^=?&#]+/;function PD(e){let t=e.match(OD);return t?t[0]:""}var kD=/^[^&#]+/;function FD(e){let t=e.match(kD);return t?t[0]:""}var Va=class{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new O([],{}):new O([],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 r={};this.peekStartsWith("/(")&&(this.capture("/"),r=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(t.length>0||Object.keys(r).length>0)&&(n[M]=new O(t,r)),n}parseSegment(){let t=Ra(this.remaining);if(t===""&&this.peekStartsWith(";"))throw new v(4009,!1);return this.capture(t),new _t(qo(t),this.parseMatrixParams())}parseMatrixParams(){let t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){let r=RD(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){let o=Ra(this.remaining);o&&(n=o,this.capture(n))}t[qo(r)]=qo(n)}parseQueryParam(t){let r=PD(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){let s=FD(this.remaining);s&&(n=s,this.capture(n))}let o=bf(r),i=bf(n);if(t.hasOwnProperty(o)){let s=t[o];Array.isArray(s)||(s=[s],t[o]=s),s.push(i)}else t[o]=i}parseParens(t){let r={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let n=Ra(this.remaining),o=this.remaining[n.length];if(o!=="/"&&o!==")"&&o!==";")throw new v(4010,!1);let i;n.indexOf(":")>-1?(i=n.slice(0,n.indexOf(":")),this.capture(i),this.capture(":")):t&&(i=M);let s=this.parseChildren();r[i]=Object.keys(s).length===1?s[M]:new O([],s),this.consumeOptional("//")}return r}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 v(4011,!1)}};function Bf(e){return e.segments.length>0?new O([],{[M]:e}):e}function Uf(e){let t={};for(let[n,o]of Object.entries(e.children)){let i=Uf(o);if(n===M&&i.segments.length===0&&i.hasChildren())for(let[s,a]of Object.entries(i.children))t[s]=a;else(i.segments.length>0||i.hasChildren())&&(t[n]=i)}let r=new O(e.segments,t);return LD(r)}function LD(e){if(e.numberOfChildren===1&&e.children[M]){let t=e.children[M];return new O(e.segments.concat(t.segments),t.children)}return e}function ir(e){return e instanceof Xe}function jD(e,t,r=null,n=null){let o=Hf(e);return zf(o,t,r,n)}function Hf(e){let t;function r(i){let s={};for(let c of i.children){let u=r(c);s[c.outlet]=u}let a=new O(i.url,s);return i===e&&(t=a),a}let n=r(e.root),o=Bf(n);return t??o}function zf(e,t,r,n){let o=e;for(;o.parent;)o=o.parent;if(t.length===0)return Oa(o,o,o,r,n);let i=VD(t);if(i.toRoot())return Oa(o,o,new O([],{}),r,n);let s=$D(i,o,e),a=s.processChildren?nr(s.segmentGroup,s.index,i.commands):qf(s.segmentGroup,s.index,i.commands);return Oa(o,s.segmentGroup,a,r,n)}function Wo(e){return typeof e=="object"&&e!=null&&!e.outlets&&!e.segmentPath}function sr(e){return typeof e=="object"&&e!=null&&e.outlets}function Oa(e,t,r,n,o){let i={};n&&Object.entries(n).forEach(([c,u])=>{i[c]=Array.isArray(u)?u.map(l=>`${l}`):`${u}`});let s;e===t?s=r:s=Gf(e,t,r);let a=Bf(Uf(s));return new Xe(a,i,o)}function Gf(e,t,r){let n={};return Object.entries(e.children).forEach(([o,i])=>{i===t?n[o]=r:n[o]=Gf(i,t,r)}),new O(e.segments,n)}var Zo=class{constructor(t,r,n){if(this.isAbsolute=t,this.numberOfDoubleDots=r,this.commands=n,t&&n.length>0&&Wo(n[0]))throw new v(4003,!1);let o=n.find(sr);if(o&&o!==Pf(n))throw new v(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function VD(e){if(typeof e[0]=="string"&&e.length===1&&e[0]==="/")return new Zo(!0,0,e);let t=0,r=!1,n=e.reduce((o,i,s)=>{if(typeof i=="object"&&i!=null){if(i.outlets){let a={};return Object.entries(i.outlets).forEach(([c,u])=>{a[c]=typeof u=="string"?u.split("/"):u}),[...o,{outlets:a}]}if(i.segmentPath)return[...o,i.segmentPath]}return typeof i!="string"?[...o,i]:s===0?(i.split("/").forEach((a,c)=>{c==0&&a==="."||(c==0&&a===""?r=!0:a===".."?t++:a!=""&&o.push(a))}),o):[...o,i]},[]);return new Zo(r,t,n)}var gn=class{constructor(t,r,n){this.segmentGroup=t,this.processChildren=r,this.index=n}};function $D(e,t,r){if(e.isAbsolute)return new gn(t,!0,0);if(!r)return new gn(t,!1,NaN);if(r.parent===null)return new gn(r,!0,0);let n=Wo(e.commands[0])?0:1,o=r.segments.length-1+n;return BD(r,o,e.numberOfDoubleDots)}function BD(e,t,r){let n=e,o=t,i=r;for(;i>o;){if(i-=o,n=n.parent,!n)throw new v(4005,!1);o=n.segments.length}return new gn(n,!1,o-i)}function UD(e){return sr(e[0])?e[0].outlets:{[M]:e}}function qf(e,t,r){if(e??=new O([],{}),e.segments.length===0&&e.hasChildren())return nr(e,t,r);let n=HD(e,t,r),o=r.slice(n.commandIndex);if(n.match&&n.pathIndexi!==M)&&e.children[M]&&e.numberOfChildren===1&&e.children[M].segments.length===0){let i=nr(e.children[M],t,r);return new O(e.segments,i.children)}return Object.entries(n).forEach(([i,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(o[i]=qf(e.children[i],t,s))}),Object.entries(e.children).forEach(([i,s])=>{n[i]===void 0&&(o[i]=s)}),new O(e.segments,o)}}function HD(e,t,r){let n=0,o=t,i={match:!1,pathIndex:0,commandIndex:0};for(;o=r.length)return i;let s=e.segments[o],a=r[n];if(sr(a))break;let c=`${a}`,u=n0&&c===void 0)break;if(c&&u&&typeof u=="object"&&u.outlets===void 0){if(!Sf(c,u,s))return i;n+=2}else{if(!Sf(c,{},s))return i;n++}o++}return{match:!0,pathIndex:o,commandIndex:n}}function $a(e,t,r){let n=e.segments.slice(0,t),o=0;for(;o{typeof n=="string"&&(n=[n]),n!==null&&(t[r]=$a(new O([],{}),0,n))}),t}function Mf(e){let t={};return Object.entries(e).forEach(([r,n])=>t[r]=`${n}`),t}function Sf(e,t,r){return e==r.path&&Be(t,r.parameters)}var rr="imperative",G=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}(G||{}),De=class{constructor(t,r){this.id=t,this.url=r}},wn=class extends De{constructor(t,r,n="imperative",o=null){super(t,r),this.type=G.NavigationStart,this.navigationTrigger=n,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},et=class extends De{constructor(t,r,n){super(t,r),this.urlAfterRedirects=n,this.type=G.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},de=function(e){return e[e.Redirect=0]="Redirect",e[e.SupersededByNewNavigation=1]="SupersededByNewNavigation",e[e.NoDataFromResolver=2]="NoDataFromResolver",e[e.GuardRejected=3]="GuardRejected",e}(de||{}),Yo=function(e){return e[e.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",e[e.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",e}(Yo||{}),Je=class extends De{constructor(t,r,n,o){super(t,r),this.reason=n,this.code=o,this.type=G.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},dt=class extends De{constructor(t,r,n,o){super(t,r),this.reason=n,this.code=o,this.type=G.NavigationSkipped}},ar=class extends De{constructor(t,r,n,o){super(t,r),this.error=n,this.target=o,this.type=G.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Qo=class extends De{constructor(t,r,n,o){super(t,r),this.urlAfterRedirects=n,this.state=o,this.type=G.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Ba=class extends De{constructor(t,r,n,o){super(t,r),this.urlAfterRedirects=n,this.state=o,this.type=G.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Ua=class extends De{constructor(t,r,n,o,i){super(t,r),this.urlAfterRedirects=n,this.state=o,this.shouldActivate=i,this.type=G.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},Ha=class extends De{constructor(t,r,n,o){super(t,r),this.urlAfterRedirects=n,this.state=o,this.type=G.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},za=class extends De{constructor(t,r,n,o){super(t,r),this.urlAfterRedirects=n,this.state=o,this.type=G.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Ga=class{constructor(t){this.route=t,this.type=G.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},qa=class{constructor(t){this.route=t,this.type=G.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Wa=class{constructor(t){this.snapshot=t,this.type=G.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Za=class{constructor(t){this.snapshot=t,this.type=G.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Ya=class{constructor(t){this.snapshot=t,this.type=G.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Qa=class{constructor(t){this.snapshot=t,this.type=G.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Ko=class{constructor(t,r,n){this.routerEvent=t,this.position=r,this.anchor=n,this.type=G.Scroll}toString(){let t=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${t}')`}},cr=class{},Cn=class{constructor(t,r){this.url=t,this.navigationBehaviorOptions=r}};function GD(e,t){return e.providers&&!e._injector&&(e._injector=No(e.providers,t,`Route: ${e.path}`)),e._injector??t}function Ae(e){return e.outlet||M}function qD(e,t){let r=e.filter(n=>Ae(n)===t);return r.push(...e.filter(n=>Ae(n)!==t)),r}function gr(e){if(!e)return null;if(e.routeConfig?._injector)return e.routeConfig._injector;for(let t=e.parent;t;t=t.parent){let r=t.routeConfig;if(r?._loadedInjector)return r._loadedInjector;if(r?._injector)return r._injector}return null}var Ka=class{get injector(){return gr(this.route?.snapshot)??this.rootInjector}set injector(t){}constructor(t){this.rootInjector=t,this.outlet=null,this.route=null,this.children=new mr(this.rootInjector),this.attachRef=null}},mr=(()=>{let t=class t{constructor(n){this.rootInjector=n,this.contexts=new Map}onChildOutletCreated(n,o){let i=this.getOrCreateContext(n);i.outlet=o,this.contexts.set(n,i)}onChildOutletDestroyed(n){let o=this.getContext(n);o&&(o.outlet=null,o.attachRef=null)}onOutletDeactivated(){let n=this.contexts;return this.contexts=new Map,n}onOutletReAttached(n){this.contexts=n}getOrCreateContext(n){let o=this.getContext(n);return o||(o=new Ka(this.rootInjector),this.contexts.set(n,o)),o}getContext(n){return this.contexts.get(n)||null}};t.\u0275fac=function(o){return new(o||t)(D(re))},t.\u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),Jo=class{constructor(t){this._root=t}get root(){return this._root.value}parent(t){let r=this.pathFromRoot(t);return r.length>1?r[r.length-2]:null}children(t){let r=Ja(t,this._root);return r?r.children.map(n=>n.value):[]}firstChild(t){let r=Ja(t,this._root);return r&&r.children.length>0?r.children[0].value:null}siblings(t){let r=Xa(t,this._root);return r.length<2?[]:r[r.length-2].children.map(o=>o.value).filter(o=>o!==t)}pathFromRoot(t){return Xa(t,this._root).map(r=>r.value)}};function Ja(e,t){if(e===t.value)return t;for(let r of t.children){let n=Ja(e,r);if(n)return n}return null}function Xa(e,t){if(e===t.value)return[t];for(let r of t.children){let n=Xa(e,r);if(n.length)return n.unshift(t),n}return[]}var le=class{constructor(t,r){this.value=t,this.children=r}toString(){return`TreeNode(${this.value})`}};function pn(e){let t={};return e&&e.children.forEach(r=>t[r.value.outlet]=r),t}var Xo=class extends Jo{constructor(t,r){super(t),this.snapshot=r,cc(this,t)}toString(){return this.snapshot.toString()}};function Wf(e){let t=WD(e),r=new q([new _t("",{})]),n=new q({}),o=new q({}),i=new q({}),s=new q(""),a=new En(r,n,i,s,o,M,e,t.root);return a.snapshot=t.root,new Xo(new le(a,[]),t)}function WD(e){let t={},r={},n={},o="",i=new mn([],t,n,o,r,M,e,null,{});return new ti("",new le(i,[]))}var En=class{constructor(t,r,n,o,i,s,a,c){this.urlSubject=t,this.paramsSubject=r,this.queryParamsSubject=n,this.fragmentSubject=o,this.dataSubject=i,this.outlet=s,this.component=a,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(x(u=>u[hr]))??C(void 0),this.url=t,this.params=r,this.queryParams=n,this.fragment=o,this.data=i}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(x(t=>yn(t))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(x(t=>yn(t))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function ei(e,t,r="emptyOnly"){let n,{routeConfig:o}=e;return t!==null&&(r==="always"||o?.path===""||!t.component&&!t.routeConfig?.loadComponent)?n={params:m(m({},t.params),e.params),data:m(m({},t.data),e.data),resolve:m(m(m(m({},e.data),t.data),o?.data),e._resolvedData)}:n={params:m({},e.params),data:m({},e.data),resolve:m(m({},e.data),e._resolvedData??{})},o&&Yf(o)&&(n.resolve[hr]=o.title),n}var mn=class{get title(){return this.data?.[hr]}constructor(t,r,n,o,i,s,a,c,u){this.url=t,this.params=r,this.queryParams=n,this.fragment=o,this.data=i,this.outlet=s,this.component=a,this.routeConfig=c,this._resolve=u}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??=yn(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=yn(this.queryParams),this._queryParamMap}toString(){let t=this.url.map(n=>n.toString()).join("/"),r=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${t}', path:'${r}')`}},ti=class extends Jo{constructor(t,r){super(r),this.url=t,cc(this,r)}toString(){return Zf(this._root)}};function cc(e,t){t.value._routerState=e,t.children.forEach(r=>cc(e,r))}function Zf(e){let t=e.children.length>0?` { ${e.children.map(Zf).join(", ")} } `:"";return`${e.value}${t}`}function Pa(e){if(e.snapshot){let t=e.snapshot,r=e._futureSnapshot;e.snapshot=r,Be(t.queryParams,r.queryParams)||e.queryParamsSubject.next(r.queryParams),t.fragment!==r.fragment&&e.fragmentSubject.next(r.fragment),Be(t.params,r.params)||e.paramsSubject.next(r.params),wD(t.url,r.url)||e.urlSubject.next(r.url),Be(t.data,r.data)||e.dataSubject.next(r.data)}else e.snapshot=e._futureSnapshot,e.dataSubject.next(e._futureSnapshot.data)}function ec(e,t){let r=Be(e.params,t.params)&&bD(e.url,t.url),n=!e.parent!=!t.parent;return r&&!n&&(!e.parent||ec(e.parent,t.parent))}function Yf(e){return typeof e.title=="string"||e.title===null}var uc=(()=>{let t=class t{constructor(){this.activated=null,this._activatedRoute=null,this.name=M,this.activateEvents=new Q,this.deactivateEvents=new Q,this.attachEvents=new Q,this.detachEvents=new Q,this.parentContexts=p(mr),this.location=p(_o),this.changeDetector=p(Zn),this.inputBinder=p(si,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(n){if(n.name){let{firstChange:o,previousValue:i}=n.name;if(o)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 v(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new v(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new v(4012,!1);this.location.detach();let n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}attach(n,o){this.activated=n,this._activatedRoute=o,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,o){if(this.isActivated)throw new v(4013,!1);this._activatedRoute=n;let i=this.location,a=n.snapshot.component,c=this.parentContexts.getOrCreateContext(this.name).children,u=new tc(n,c,i.injector);this.activated=i.createComponent(a,{index:i.length,injector:u,environmentInjector:o}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}};t.\u0275fac=function(o){return new(o||t)},t.\u0275dir=ks({type:t,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[Eo]});let e=t;return e})(),tc=class e{__ngOutletInjector(t){return new e(this.route,this.childContexts,t)}constructor(t,r,n){this.route=t,this.childContexts=r,this.parent=n}get(t,r){return t===En?this.route:t===mr?this.childContexts:this.parent.get(t,r)}},si=new w(""),xf=(()=>{let t=class t{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(n){this.unsubscribeFromRouteData(n),this.subscribeToRouteData(n)}unsubscribeFromRouteData(n){this.outletDataSubscriptions.get(n)?.unsubscribe(),this.outletDataSubscriptions.delete(n)}subscribeToRouteData(n){let{activatedRoute:o}=n,i=xn([o.queryParams,o.params,o.data]).pipe(he(([s,a,c],u)=>(c=m(m(m({},s),a),c),u===0?C(c):Promise.resolve(c)))).subscribe(s=>{if(!n.isActivated||!n.activatedComponentRef||n.activatedRoute!==o||o.component===null){this.unsubscribeFromRouteData(n);return}let a=Jd(o.component);if(!a){this.unsubscribeFromRouteData(n);return}for(let{templateName:c}of a.inputs)n.activatedComponentRef.setInput(c,s[c])});this.outletDataSubscriptions.set(n,i)}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=y({token:t,factory:t.\u0275fac});let e=t;return e})();function ZD(e,t,r){let n=ur(e,t._root,r?r._root:void 0);return new Xo(n,t)}function ur(e,t,r){if(r&&e.shouldReuseRoute(t.value,r.value.snapshot)){let n=r.value;n._futureSnapshot=t.value;let o=YD(e,t,r);return new le(n,o)}else{if(e.shouldAttach(t.value)){let i=e.retrieve(t.value);if(i!==null){let s=i.route;return s.value._futureSnapshot=t.value,s.children=t.children.map(a=>ur(e,a)),s}}let n=QD(t.value),o=t.children.map(i=>ur(e,i));return new le(n,o)}}function YD(e,t,r){return t.children.map(n=>{for(let o of r.children)if(e.shouldReuseRoute(n.value,o.value.snapshot))return ur(e,n,o);return ur(e,n)})}function QD(e){return new En(new q(e.url),new q(e.params),new q(e.queryParams),new q(e.fragment),new q(e.data),e.outlet,e.component,e)}var lr=class{constructor(t,r){this.redirectTo=t,this.navigationBehaviorOptions=r}},Qf="ngNavigationCancelingError";function ni(e,t){let{redirectTo:r,navigationBehaviorOptions:n}=ir(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,o=Kf(!1,de.Redirect);return o.url=r,o.navigationBehaviorOptions=n,o}function Kf(e,t){let r=new Error(`NavigationCancelingError: ${e||""}`);return r[Qf]=!0,r.cancellationCode=t,r}function KD(e){return Jf(e)&&ir(e.url)}function Jf(e){return!!e&&e[Qf]}var JD=(e,t,r,n)=>x(o=>(new nc(t,o.targetRouterState,o.currentRouterState,r,n).activate(e),o)),nc=class{constructor(t,r,n,o,i){this.routeReuseStrategy=t,this.futureState=r,this.currState=n,this.forwardEvent=o,this.inputBindingEnabled=i}activate(t){let r=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(r,n,t),Pa(this.futureState.root),this.activateChildRoutes(r,n,t)}deactivateChildRoutes(t,r,n){let o=pn(r);t.children.forEach(i=>{let s=i.value.outlet;this.deactivateRoutes(i,o[s],n),delete o[s]}),Object.values(o).forEach(i=>{this.deactivateRouteAndItsChildren(i,n)})}deactivateRoutes(t,r,n){let o=t.value,i=r?r.value:null;if(o===i)if(o.component){let s=n.getContext(o.outlet);s&&this.deactivateChildRoutes(t,r,s.children)}else this.deactivateChildRoutes(t,r,n);else i&&this.deactivateRouteAndItsChildren(r,n)}deactivateRouteAndItsChildren(t,r){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,r):this.deactivateRouteAndOutlet(t,r)}detachAndStoreRouteSubtree(t,r){let n=r.getContext(t.value.outlet),o=n&&t.value.component?n.children:r,i=pn(t);for(let s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);if(n&&n.outlet){let s=n.outlet.detach(),a=n.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:s,route:t,contexts:a})}}deactivateRouteAndOutlet(t,r){let n=r.getContext(t.value.outlet),o=n&&t.value.component?n.children:r,i=pn(t);for(let s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);n&&(n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated()),n.attachRef=null,n.route=null)}activateChildRoutes(t,r,n){let o=pn(r);t.children.forEach(i=>{this.activateRoutes(i,o[i.value.outlet],n),this.forwardEvent(new Qa(i.value.snapshot))}),t.children.length&&this.forwardEvent(new Za(t.value.snapshot))}activateRoutes(t,r,n){let o=t.value,i=r?r.value:null;if(Pa(o),o===i)if(o.component){let s=n.getOrCreateContext(o.outlet);this.activateChildRoutes(t,r,s.children)}else this.activateChildRoutes(t,r,n);else if(o.component){let s=n.getOrCreateContext(o.outlet);if(this.routeReuseStrategy.shouldAttach(o.snapshot)){let a=this.routeReuseStrategy.retrieve(o.snapshot);this.routeReuseStrategy.store(o.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),Pa(a.route.value),this.activateChildRoutes(t,null,s.children)}else s.attachRef=null,s.route=o,s.outlet&&s.outlet.activateWith(o,s.injector),this.activateChildRoutes(t,null,s.children)}else this.activateChildRoutes(t,null,n)}},ri=class{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}},vn=class{constructor(t,r){this.component=t,this.route=r}};function XD(e,t,r){let n=e._root,o=t?t._root:null;return er(n,o,r,[n.value])}function ew(e){let t=e.routeConfig?e.routeConfig.canActivateChild:null;return!t||t.length===0?null:{node:e,guards:t}}function bn(e,t){let r=Symbol(),n=t.get(e,r);return n===r?typeof e=="function"&&!Lu(e)?e:t.get(e):n}function er(e,t,r,n,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=pn(t);return e.children.forEach(s=>{tw(s,i[s.value.outlet],r,n.concat([s.value]),o),delete i[s.value.outlet]}),Object.entries(i).forEach(([s,a])=>or(a,r.getContext(s),o)),o}function tw(e,t,r,n,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=e.value,s=t?t.value:null,a=r?r.getContext(e.value.outlet):null;if(s&&i.routeConfig===s.routeConfig){let c=nw(s,i,i.routeConfig.runGuardsAndResolvers);c?o.canActivateChecks.push(new ri(n)):(i.data=s.data,i._resolvedData=s._resolvedData),i.component?er(e,t,a?a.children:null,n,o):er(e,t,r,n,o),c&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new vn(a.outlet.component,s))}else s&&or(t,a,o),o.canActivateChecks.push(new ri(n)),i.component?er(e,null,a?a.children:null,n,o):er(e,null,r,n,o);return o}function nw(e,t,r){if(typeof r=="function")return r(e,t);switch(r){case"pathParamsChange":return!Nt(e.url,t.url);case"pathParamsOrQueryParamsChange":return!Nt(e.url,t.url)||!Be(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!ec(e,t)||!Be(e.queryParams,t.queryParams);case"paramsChange":default:return!ec(e,t)}}function or(e,t,r){let n=pn(e),o=e.value;Object.entries(n).forEach(([i,s])=>{o.component?t?or(s,t.children.getContext(i),r):or(s,null,r):or(s,t,r)}),o.component?t&&t.outlet&&t.outlet.isActivated?r.canDeactivateChecks.push(new vn(t.outlet.component,o)):r.canDeactivateChecks.push(new vn(null,o)):r.canDeactivateChecks.push(new vn(null,o))}function vr(e){return typeof e=="function"}function rw(e){return typeof e=="boolean"}function ow(e){return e&&vr(e.canLoad)}function iw(e){return e&&vr(e.canActivate)}function sw(e){return e&&vr(e.canActivateChild)}function aw(e){return e&&vr(e.canDeactivate)}function cw(e){return e&&vr(e.canMatch)}function Xf(e){return e instanceof He||e?.name==="EmptyError"}var Ho=Symbol("INITIAL_VALUE");function In(){return he(e=>xn(e.map(t=>t.pipe(ze(1),Ri(Ho)))).pipe(x(t=>{for(let r of t)if(r!==!0){if(r===Ho)return Ho;if(r===!1||uw(r))return r}return!0}),fe(t=>t!==Ho),ze(1)))}function uw(e){return ir(e)||e instanceof lr}function lw(e,t){return U(r=>{let{targetSnapshot:n,currentSnapshot:o,guards:{canActivateChecks:i,canDeactivateChecks:s}}=r;return s.length===0&&i.length===0?C(V(m({},r),{guardsResult:!0})):dw(s,n,o,e).pipe(U(a=>a&&rw(a)?fw(n,i,e,t):C(a)),x(a=>V(m({},r),{guardsResult:a})))})}function dw(e,t,r,n){return $(e).pipe(U(o=>vw(o.component,o.route,r,t,n)),Re(o=>o!==!0,!0))}function fw(e,t,r,n){return $(t).pipe(mt(o=>Ht(pw(o.route.parent,n),hw(o.route,n),mw(e,o.path,r),gw(e,o.route,r))),Re(o=>o!==!0,!0))}function hw(e,t){return e!==null&&t&&t(new Ya(e)),C(!0)}function pw(e,t){return e!==null&&t&&t(new Wa(e)),C(!0)}function gw(e,t,r){let n=t.routeConfig?t.routeConfig.canActivate:null;if(!n||n.length===0)return C(!0);let o=n.map(i=>Lr(()=>{let s=gr(t)??r,a=bn(i,s),c=iw(a)?a.canActivate(t,e):_e(s,()=>a(t,e));return ft(c).pipe(Re())}));return C(o).pipe(In())}function mw(e,t,r){let n=t[t.length-1],i=t.slice(0,t.length-1).reverse().map(s=>ew(s)).filter(s=>s!==null).map(s=>Lr(()=>{let a=s.guards.map(c=>{let u=gr(s.node)??r,l=bn(c,u),d=sw(l)?l.canActivateChild(n,e):_e(u,()=>l(n,e));return ft(d).pipe(Re())});return C(a).pipe(In())}));return C(i).pipe(In())}function vw(e,t,r,n,o){let i=t&&t.routeConfig?t.routeConfig.canDeactivate:null;if(!i||i.length===0)return C(!0);let s=i.map(a=>{let c=gr(t)??o,u=bn(a,c),l=aw(u)?u.canDeactivate(e,t,r,n):_e(c,()=>u(e,t,r,n));return ft(l).pipe(Re())});return C(s).pipe(In())}function yw(e,t,r,n){let o=t.canLoad;if(o===void 0||o.length===0)return C(!0);let i=o.map(s=>{let a=bn(s,e),c=ow(a)?a.canLoad(t,r):_e(e,()=>a(t,r));return ft(c)});return C(i).pipe(In(),eh(n))}function eh(e){return bi(W(t=>{if(typeof t!="boolean")throw ni(e,t)}),x(t=>t===!0))}function Dw(e,t,r,n){let o=t.canMatch;if(!o||o.length===0)return C(!0);let i=o.map(s=>{let a=bn(s,e),c=cw(a)?a.canMatch(t,r):_e(e,()=>a(t,r));return ft(c)});return C(i).pipe(In(),eh(n))}var dr=class{constructor(t){this.segmentGroup=t||null}},fr=class extends Error{constructor(t){super(),this.urlTree=t}};function hn(e){return Bt(new dr(e))}function ww(e){return Bt(new v(4e3,!1))}function Cw(e){return Bt(Kf(!1,de.GuardRejected))}var rc=class{constructor(t,r){this.urlSerializer=t,this.urlTree=r}lineralizeSegments(t,r){let n=[],o=r.root;for(;;){if(n=n.concat(o.segments),o.numberOfChildren===0)return C(n);if(o.numberOfChildren>1||!o.children[M])return ww(`${t.redirectTo}`);o=o.children[M]}}applyRedirectCommands(t,r,n,o,i){if(typeof r!="string"){let a=r,{queryParams:c,fragment:u,routeConfig:l,url:d,outlet:h,params:f,data:g,title:E}=o,R=_e(i,()=>a({params:f,data:g,queryParams:c,fragment:u,routeConfig:l,url:d,outlet:h,title:E}));if(R instanceof Xe)throw new fr(R);r=R}let s=this.applyRedirectCreateUrlTree(r,this.urlSerializer.parse(r),t,n);if(r[0]==="/")throw new fr(s);return s}applyRedirectCreateUrlTree(t,r,n,o){let i=this.createSegmentGroup(t,r.root,n,o);return new Xe(i,this.createQueryParams(r.queryParams,this.urlTree.queryParams),r.fragment)}createQueryParams(t,r){let n={};return Object.entries(t).forEach(([o,i])=>{if(typeof i=="string"&&i[0]===":"){let a=i.substring(1);n[o]=r[a]}else n[o]=i}),n}createSegmentGroup(t,r,n,o){let i=this.createSegments(t,r.segments,n,o),s={};return Object.entries(r.children).forEach(([a,c])=>{s[a]=this.createSegmentGroup(t,c,n,o)}),new O(i,s)}createSegments(t,r,n,o){return r.map(i=>i.path[0]===":"?this.findPosParam(t,i,o):this.findOrReturn(i,n))}findPosParam(t,r,n){let o=n[r.path.substring(1)];if(!o)throw new v(4001,!1);return o}findOrReturn(t,r){let n=0;for(let o of r){if(o.path===t.path)return r.splice(n),o;n++}return t}},oc={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Ew(e,t,r,n,o){let i=lc(e,t,r);return i.matched?(n=GD(t,n),Dw(n,t,r,o).pipe(x(s=>s===!0?i:m({},oc)))):C(i)}function lc(e,t,r){if(t.path==="**")return Iw(r);if(t.path==="")return t.pathMatch==="full"&&(e.hasChildren()||r.length>0)?m({},oc):{matched:!0,consumedSegments:[],remainingSegments:r,parameters:{},positionalParamSegments:{}};let o=(t.matcher||DD)(r,e,t);if(!o)return m({},oc);let i={};Object.entries(o.posParams??{}).forEach(([a,c])=>{i[a]=c.path});let s=o.consumed.length>0?m(m({},i),o.consumed[o.consumed.length-1].parameters):i;return{matched:!0,consumedSegments:o.consumed,remainingSegments:r.slice(o.consumed.length),parameters:s,positionalParamSegments:o.posParams??{}}}function Iw(e){return{matched:!0,parameters:e.length>0?Pf(e).parameters:{},consumedSegments:e,remainingSegments:[],positionalParamSegments:{}}}function Tf(e,t,r,n){return r.length>0&&Sw(e,r,n)?{segmentGroup:new O(t,Mw(n,new O(r,e.children))),slicedSegments:[]}:r.length===0&&xw(e,r,n)?{segmentGroup:new O(e.segments,bw(e,r,n,e.children)),slicedSegments:r}:{segmentGroup:new O(e.segments,e.children),slicedSegments:r}}function bw(e,t,r,n){let o={};for(let i of r)if(ai(e,t,i)&&!n[Ae(i)]){let s=new O([],{});o[Ae(i)]=s}return m(m({},n),o)}function Mw(e,t){let r={};r[M]=t;for(let n of e)if(n.path===""&&Ae(n)!==M){let o=new O([],{});r[Ae(n)]=o}return r}function Sw(e,t,r){return r.some(n=>ai(e,t,n)&&Ae(n)!==M)}function xw(e,t,r){return r.some(n=>ai(e,t,n))}function ai(e,t,r){return(e.hasChildren()||t.length>0)&&r.pathMatch==="full"?!1:r.path===""}function Tw(e,t,r,n){return Ae(e)!==n&&(n===M||!ai(t,r,e))?!1:lc(t,e,r).matched}function _w(e,t,r){return t.length===0&&!e.children[r]}var ic=class{};function Nw(e,t,r,n,o,i,s="emptyOnly"){return new sc(e,t,r,n,o,s,i).recognize()}var Aw=31,sc=class{constructor(t,r,n,o,i,s,a){this.injector=t,this.configLoader=r,this.rootComponentType=n,this.config=o,this.urlTree=i,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new rc(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(t){return new v(4002,`'${t.segmentGroup}'`)}recognize(){let t=Tf(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(t).pipe(x(({children:r,rootSnapshot:n})=>{let o=new le(n,r),i=new ti("",o),s=jD(n,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,i.url=this.urlSerializer.serialize(s),{state:i,tree:s}}))}match(t){let r=new mn([],Object.freeze({}),Object.freeze(m({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),M,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,t,M,r).pipe(x(n=>({children:n,rootSnapshot:r})),nt(n=>{if(n instanceof fr)return this.urlTree=n.urlTree,this.match(n.urlTree.root);throw n instanceof dr?this.noMatchError(n):n}))}processSegmentGroup(t,r,n,o,i){return n.segments.length===0&&n.hasChildren()?this.processChildren(t,r,n,i):this.processSegment(t,r,n,n.segments,o,!0,i).pipe(x(s=>s instanceof le?[s]:[]))}processChildren(t,r,n,o){let i=[];for(let s of Object.keys(n.children))s==="primary"?i.unshift(s):i.push(s);return $(i).pipe(mt(s=>{let a=n.children[s],c=qD(r,s);return this.processSegmentGroup(t,c,a,s,o)}),Ai((s,a)=>(s.push(...a),s)),rt(null),Ni(),U(s=>{if(s===null)return hn(n);let a=th(s);return Rw(a),C(a)}))}processSegment(t,r,n,o,i,s,a){return $(r).pipe(mt(c=>this.processSegmentAgainstRoute(c._injector??t,r,c,n,o,i,s,a).pipe(nt(u=>{if(u instanceof dr)return C(null);throw u}))),Re(c=>!!c),nt(c=>{if(Xf(c))return _w(n,o,i)?C(new ic):hn(n);throw c}))}processSegmentAgainstRoute(t,r,n,o,i,s,a,c){return Tw(n,o,i,s)?n.redirectTo===void 0?this.matchSegmentAgainstRoute(t,o,n,i,s,c):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(t,o,r,n,i,s,c):hn(o):hn(o)}expandSegmentAgainstRouteUsingRedirect(t,r,n,o,i,s,a){let{matched:c,parameters:u,consumedSegments:l,positionalParamSegments:d,remainingSegments:h}=lc(r,o,i);if(!c)return hn(r);typeof o.redirectTo=="string"&&o.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>Aw&&(this.allowRedirects=!1));let f=new mn(i,u,Object.freeze(m({},this.urlTree.queryParams)),this.urlTree.fragment,_f(o),Ae(o),o.component??o._loadedComponent??null,o,Nf(o)),g=ei(f,a,this.paramsInheritanceStrategy);f.params=Object.freeze(g.params),f.data=Object.freeze(g.data);let E=this.applyRedirects.applyRedirectCommands(l,o.redirectTo,d,f,t);return this.applyRedirects.lineralizeSegments(o,E).pipe(U(R=>this.processSegment(t,n,r,R.concat(h),s,!1,a)))}matchSegmentAgainstRoute(t,r,n,o,i,s){let a=Ew(r,n,o,t,this.urlSerializer);return n.path==="**"&&(r.children={}),a.pipe(he(c=>c.matched?(t=n._injector??t,this.getChildConfig(t,n,o).pipe(he(({routes:u})=>{let l=n._loadedInjector??t,{parameters:d,consumedSegments:h,remainingSegments:f}=c,g=new mn(h,d,Object.freeze(m({},this.urlTree.queryParams)),this.urlTree.fragment,_f(n),Ae(n),n.component??n._loadedComponent??null,n,Nf(n)),E=ei(g,s,this.paramsInheritanceStrategy);g.params=Object.freeze(E.params),g.data=Object.freeze(E.data);let{segmentGroup:R,slicedSegments:L}=Tf(r,h,f,u);if(L.length===0&&R.hasChildren())return this.processChildren(l,u,R,g).pipe(x(H=>new le(g,H)));if(u.length===0&&L.length===0)return C(new le(g,[]));let we=Ae(n)===i;return this.processSegment(l,u,R,L,we?M:i,!0,g).pipe(x(H=>new le(g,H instanceof le?[H]:[])))}))):hn(r)))}getChildConfig(t,r,n){return r.children?C({routes:r.children,injector:t}):r.loadChildren?r._loadedRoutes!==void 0?C({routes:r._loadedRoutes,injector:r._loadedInjector}):yw(t,r,n,this.urlSerializer).pipe(U(o=>o?this.configLoader.loadChildren(t,r).pipe(W(i=>{r._loadedRoutes=i.routes,r._loadedInjector=i.injector})):Cw(r))):C({routes:[],injector:t})}};function Rw(e){e.sort((t,r)=>t.value.outlet===M?-1:r.value.outlet===M?1:t.value.outlet.localeCompare(r.value.outlet))}function Ow(e){let t=e.value.routeConfig;return t&&t.path===""}function th(e){let t=[],r=new Set;for(let n of e){if(!Ow(n)){t.push(n);continue}let o=t.find(i=>n.value.routeConfig===i.value.routeConfig);o!==void 0?(o.children.push(...n.children),r.add(o)):t.push(n)}for(let n of r){let o=th(n.children);t.push(new le(n.value,o))}return t.filter(n=>!r.has(n))}function _f(e){return e.data||{}}function Nf(e){return e.resolve||{}}function Pw(e,t,r,n,o,i){return U(s=>Nw(e,t,r,n,s.extractedUrl,o,i).pipe(x(({state:a,tree:c})=>V(m({},s),{targetSnapshot:a,urlAfterRedirects:c}))))}function kw(e,t){return U(r=>{let{targetSnapshot:n,guards:{canActivateChecks:o}}=r;if(!o.length)return C(r);let i=new Set(o.map(c=>c.route)),s=new Set;for(let c of i)if(!s.has(c))for(let u of nh(c))s.add(u);let a=0;return $(s).pipe(mt(c=>i.has(c)?Fw(c,n,e,t):(c.data=ei(c,c.parent,e).resolve,C(void 0))),W(()=>a++),zt(1),U(c=>a===s.size?C(r):se))})}function nh(e){let t=e.children.map(r=>nh(r)).flat();return[e,...t]}function Fw(e,t,r,n){let o=e.routeConfig,i=e._resolve;return o?.title!==void 0&&!Yf(o)&&(i[hr]=o.title),Lw(i,e,t,n).pipe(x(s=>(e._resolvedData=s,e.data=ei(e,e.parent,r).resolve,null)))}function Lw(e,t,r,n){let o=La(e);if(o.length===0)return C({});let i={};return $(o).pipe(U(s=>jw(e[s],t,r,n).pipe(Re(),W(a=>{if(a instanceof lr)throw ni(new Dn,a);i[s]=a}))),zt(1),_i(i),nt(s=>Xf(s)?se:Bt(s)))}function jw(e,t,r,n){let o=gr(t)??n,i=bn(e,o),s=i.resolve?i.resolve(t,r):_e(o,()=>i(t,r));return ft(s)}function ka(e){return he(t=>{let r=e(t);return r?$(r).pipe(x(()=>t)):C(t)})}var rh=(()=>{let t=class t{buildTitle(n){let o,i=n.root;for(;i!==void 0;)o=this.getResolvedTitleForRoute(i)??o,i=i.children.find(s=>s.outlet===M);return o}getResolvedTitleForRoute(n){return n.data[hr]}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=y({token:t,factory:()=>p(Vw),providedIn:"root"});let e=t;return e})(),Vw=(()=>{let t=class t extends rh{constructor(n){super(),this.title=n}updateTitle(n){let o=this.buildTitle(n);o!==void 0&&this.title.setTitle(o)}};t.\u0275fac=function(o){return new(o||t)(D(Cf))},t.\u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),yr=new w("",{providedIn:"root",factory:()=>({})}),$w=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275cmp=yo({type:t,selectors:[["ng-component"]],standalone:!0,features:[$d],decls:1,vars:0,template:function(o,i){o&1&&Qe(0,"router-outlet")},dependencies:[uc],encapsulation:2});let e=t;return e})();function dc(e){let t=e.children&&e.children.map(dc),r=t?V(m({},e),{children:t}):m({},e);return!r.component&&!r.loadComponent&&(t||r.loadChildren)&&r.outlet&&r.outlet!==M&&(r.component=$w),r}var oi=new w(""),fc=(()=>{let t=class t{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=p(Lo)}loadComponent(n){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return C(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);let o=ft(n.loadComponent()).pipe(x(oh),W(s=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=s}),Tn(()=>{this.componentLoaders.delete(n)})),i=new $t(o,()=>new Y).pipe(Vt());return this.componentLoaders.set(n,i),i}loadChildren(n,o){if(this.childrenLoaders.get(o))return this.childrenLoaders.get(o);if(o._loadedRoutes)return C({routes:o._loadedRoutes,injector:o._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(o);let s=Bw(o,this.compiler,n,this.onLoadEndListener).pipe(Tn(()=>{this.childrenLoaders.delete(o)})),a=new $t(s,()=>new Y).pipe(Vt());return this.childrenLoaders.set(o,a),a}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function Bw(e,t,r,n){return ft(e.loadChildren()).pipe(x(oh),U(o=>o instanceof Vn||Array.isArray(o)?C(o):$(t.compileModuleAsync(o))),x(o=>{n&&n(e);let i,s,a=!1;return Array.isArray(o)?(s=o,a=!0):(i=o.create(r).injector,s=i.get(oi,[],{optional:!0,self:!0}).flat()),{routes:s.map(dc),injector:i}}))}function Uw(e){return e&&typeof e=="object"&&"default"in e}function oh(e){return Uw(e)?e.default:e}var hc=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=y({token:t,factory:()=>p(Hw),providedIn:"root"});let e=t;return e})(),Hw=(()=>{let t=class t{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,o){return n}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),ih=new w(""),sh=new w("");function zw(e,t,r){let n=e.get(sh),o=e.get(ee);return e.get(j).runOutsideAngular(()=>{if(!o.startViewTransition||n.skipNextTransition)return n.skipNextTransition=!1,new Promise(u=>setTimeout(u));let i,s=new Promise(u=>{i=u}),a=o.startViewTransition(()=>(i(),Gw(e))),{onViewTransitionCreated:c}=n;return c&&_e(e,()=>c({transition:a,from:t,to:r})),s})}function Gw(e){return new Promise(t=>{To({read:()=>setTimeout(t)},{injector:e})})}var qw=new w(""),pc=(()=>{let t=class t{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new Y,this.transitionAbortSubject=new Y,this.configLoader=p(fc),this.environmentInjector=p(re),this.urlSerializer=p(pr),this.rootContexts=p(mr),this.location=p(fn),this.inputBindingEnabled=p(si,{optional:!0})!==null,this.titleStrategy=p(rh),this.options=p(yr,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=p(hc),this.createViewTransition=p(ih,{optional:!0}),this.navigationErrorHandler=p(qw,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>C(void 0),this.rootComponentType=null;let n=i=>this.events.next(new Ga(i)),o=i=>this.events.next(new qa(i));this.configLoader.onLoadEndListener=o,this.configLoader.onLoadStartListener=n}complete(){this.transitions?.complete()}handleNavigationRequest(n){let o=++this.navigationId;this.transitions?.next(V(m(m({},this.transitions.value),n),{id:o}))}setupNavigations(n,o,i){return this.transitions=new q({id:0,currentUrlTree:o,currentRawUrl:o,extractedUrl:this.urlHandlingStrategy.extract(o),urlAfterRedirects:this.urlHandlingStrategy.extract(o),rawUrl:o,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:rr,restoredState:null,currentSnapshot:i.snapshot,targetSnapshot:null,currentRouterState:i,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(fe(s=>s.id!==0),x(s=>V(m({},s),{extractedUrl:this.urlHandlingStrategy.extract(s.rawUrl)})),he(s=>{let a=!1,c=!1;return C(s).pipe(he(u=>{if(this.navigationId>s.id)return this.cancelNavigationTransition(s,"",de.SupersededByNewNavigation),se;this.currentTransition=s,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?V(m({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let l=!n.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),d=u.extras.onSameUrlNavigation??n.onSameUrlNavigation;if(!l&&d!=="reload"){let h="";return this.events.next(new dt(u.id,this.urlSerializer.serialize(u.rawUrl),h,Yo.IgnoredSameUrlNavigation)),u.resolve(!1),se}if(this.urlHandlingStrategy.shouldProcessUrl(u.rawUrl))return C(u).pipe(he(h=>{let f=this.transitions?.getValue();return this.events.next(new wn(h.id,this.urlSerializer.serialize(h.extractedUrl),h.source,h.restoredState)),f!==this.transitions?.getValue()?se:Promise.resolve(h)}),Pw(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,this.paramsInheritanceStrategy),W(h=>{s.targetSnapshot=h.targetSnapshot,s.urlAfterRedirects=h.urlAfterRedirects,this.currentNavigation=V(m({},this.currentNavigation),{finalUrl:h.urlAfterRedirects});let f=new Qo(h.id,this.urlSerializer.serialize(h.extractedUrl),this.urlSerializer.serialize(h.urlAfterRedirects),h.targetSnapshot);this.events.next(f)}));if(l&&this.urlHandlingStrategy.shouldProcessUrl(u.currentRawUrl)){let{id:h,extractedUrl:f,source:g,restoredState:E,extras:R}=u,L=new wn(h,this.urlSerializer.serialize(f),g,E);this.events.next(L);let we=Wf(this.rootComponentType).snapshot;return this.currentTransition=s=V(m({},u),{targetSnapshot:we,urlAfterRedirects:f,extras:V(m({},R),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=f,C(s)}else{let h="";return this.events.next(new dt(u.id,this.urlSerializer.serialize(u.extractedUrl),h,Yo.IgnoredByUrlHandlingStrategy)),u.resolve(!1),se}}),W(u=>{let l=new Ba(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(l)}),x(u=>(this.currentTransition=s=V(m({},u),{guards:XD(u.targetSnapshot,u.currentSnapshot,this.rootContexts)}),s)),lw(this.environmentInjector,u=>this.events.next(u)),W(u=>{if(s.guardsResult=u.guardsResult,u.guardsResult&&typeof u.guardsResult!="boolean")throw ni(this.urlSerializer,u.guardsResult);let l=new Ua(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot,!!u.guardsResult);this.events.next(l)}),fe(u=>u.guardsResult?!0:(this.cancelNavigationTransition(u,"",de.GuardRejected),!1)),ka(u=>{if(u.guards.canActivateChecks.length)return C(u).pipe(W(l=>{let d=new Ha(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(d)}),he(l=>{let d=!1;return C(l).pipe(kw(this.paramsInheritanceStrategy,this.environmentInjector),W({next:()=>d=!0,complete:()=>{d||this.cancelNavigationTransition(l,"",de.NoDataFromResolver)}}))}),W(l=>{let d=new za(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(d)}))}),ka(u=>{let l=d=>{let h=[];d.routeConfig?.loadComponent&&!d.routeConfig._loadedComponent&&h.push(this.configLoader.loadComponent(d.routeConfig).pipe(W(f=>{d.component=f}),x(()=>{})));for(let f of d.children)h.push(...l(f));return h};return xn(l(u.targetSnapshot.root)).pipe(rt(null),ze(1))}),ka(()=>this.afterPreactivation()),he(()=>{let{currentSnapshot:u,targetSnapshot:l}=s,d=this.createViewTransition?.(this.environmentInjector,u.root,l.root);return d?$(d).pipe(x(()=>s)):C(s)}),x(u=>{let l=ZD(n.routeReuseStrategy,u.targetSnapshot,u.currentRouterState);return this.currentTransition=s=V(m({},u),{targetRouterState:l}),this.currentNavigation.targetRouterState=l,s}),W(()=>{this.events.next(new cr)}),JD(this.rootContexts,n.routeReuseStrategy,u=>this.events.next(u),this.inputBindingEnabled),ze(1),W({next:u=>{a=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new et(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects))),this.titleStrategy?.updateTitle(u.targetRouterState.snapshot),u.resolve(!0)},complete:()=>{a=!0}}),Oi(this.transitionAbortSubject.pipe(W(u=>{throw u}))),Tn(()=>{!a&&!c&&this.cancelNavigationTransition(s,"",de.SupersededByNewNavigation),this.currentTransition?.id===s.id&&(this.currentNavigation=null,this.currentTransition=null)}),nt(u=>{if(c=!0,Jf(u))this.events.next(new Je(s.id,this.urlSerializer.serialize(s.extractedUrl),u.message,u.cancellationCode)),KD(u)?this.events.next(new Cn(u.url,u.navigationBehaviorOptions)):s.resolve(!1);else{let l=new ar(s.id,this.urlSerializer.serialize(s.extractedUrl),u,s.targetSnapshot??void 0);try{let d=_e(this.environmentInjector,()=>this.navigationErrorHandler?.(l));if(d instanceof lr){let{message:h,cancellationCode:f}=ni(this.urlSerializer,d);this.events.next(new Je(s.id,this.urlSerializer.serialize(s.extractedUrl),h,f)),this.events.next(new Cn(d.redirectTo,d.navigationBehaviorOptions))}else{this.events.next(l);let h=n.errorHandler(u);s.resolve(!!h)}}catch(d){this.options.resolveNavigationPromiseOnError?s.resolve(!1):s.reject(d)}}return se}))}))}cancelNavigationTransition(n,o,i){let s=new Je(n.id,this.urlSerializer.serialize(n.extractedUrl),o,i);this.events.next(s),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))),o=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return n.toString()!==o?.toString()&&!this.currentNavigation?.extras.skipLocationChange}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function Ww(e){return e!==rr}var Zw=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=y({token:t,factory:()=>p(Yw),providedIn:"root"});let e=t;return e})(),ac=class{shouldDetach(t){return!1}store(t,r){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,r){return t.routeConfig===r.routeConfig}},Yw=(()=>{let t=class t extends ac{};t.\u0275fac=(()=>{let n;return function(i){return(n||(n=Gs(t)))(i||t)}})(),t.\u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),ah=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=y({token:t,factory:()=>p(Qw),providedIn:"root"});let e=t;return e})(),Qw=(()=>{let t=class t extends ah{constructor(){super(...arguments),this.location=p(fn),this.urlSerializer=p(pr),this.options=p(yr,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=p(hc),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new Xe,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=Wf(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(o=>{o.type==="popstate"&&n(o.url,o.state)})}handleRouterEvent(n,o){if(n instanceof wn)this.stateMemento=this.createStateMemento();else if(n instanceof dt)this.rawUrlTree=o.initialUrl;else if(n instanceof Qo){if(this.urlUpdateStrategy==="eager"&&!o.extras.skipLocationChange){let i=this.urlHandlingStrategy.merge(o.finalUrl,o.initialUrl);this.setBrowserUrl(o.targetBrowserUrl??i,o)}}else n instanceof cr?(this.currentUrlTree=o.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(o.finalUrl,o.initialUrl),this.routerState=o.targetRouterState,this.urlUpdateStrategy==="deferred"&&!o.extras.skipLocationChange&&this.setBrowserUrl(o.targetBrowserUrl??this.rawUrlTree,o)):n instanceof Je&&(n.code===de.GuardRejected||n.code===de.NoDataFromResolver)?this.restoreHistory(o):n instanceof ar?this.restoreHistory(o,!0):n instanceof et&&(this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId)}setBrowserUrl(n,o){let i=n instanceof Xe?this.urlSerializer.serialize(n):n;if(this.location.isCurrentPathEqualTo(i)||o.extras.replaceUrl){let s=this.browserPageId,a=m(m({},o.extras.state),this.generateNgRouterState(o.id,s));this.location.replaceState(i,"",a)}else{let s=m(m({},o.extras.state),this.generateNgRouterState(o.id,this.browserPageId+1));this.location.go(i,"",s)}}restoreHistory(n,o=!1){if(this.canceledNavigationResolution==="computed"){let i=this.browserPageId,s=this.currentPageId-i;s!==0?this.location.historyGo(s):this.currentUrlTree===n.finalUrl&&s===0&&(this.resetState(n),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(o&&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,o){return this.canceledNavigationResolution==="computed"?{navigationId:n,\u0275routerPageId:o}:{navigationId:n}}};t.\u0275fac=(()=>{let n;return function(i){return(n||(n=Gs(t)))(i||t)}})(),t.\u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),tr=function(e){return e[e.COMPLETE=0]="COMPLETE",e[e.FAILED=1]="FAILED",e[e.REDIRECTING=2]="REDIRECTING",e}(tr||{});function ch(e,t){e.events.pipe(fe(r=>r instanceof et||r instanceof Je||r instanceof ar||r instanceof dt),x(r=>r instanceof et||r instanceof dt?tr.COMPLETE:(r instanceof Je?r.code===de.Redirect||r.code===de.SupersededByNewNavigation:!1)?tr.REDIRECTING:tr.FAILED),fe(r=>r!==tr.REDIRECTING),ze(1)).subscribe(()=>{t()})}function Kw(e){throw e}var Jw={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Xw={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},At=(()=>{let t=class t{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=p(Oo),this.stateManager=p(ah),this.options=p(yr,{optional:!0})||{},this.pendingTasks=p(ln),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=p(pc),this.urlSerializer=p(pr),this.location=p(fn),this.urlHandlingStrategy=p(hc),this._events=new Y,this.errorHandler=this.options.errorHandler||Kw,this.navigated=!1,this.routeReuseStrategy=p(Zw),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=p(oi,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!p(si,{optional:!0}),this.eventsSubscription=new B,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(o=>{try{let i=this.navigationTransitions.currentTransition,s=this.navigationTransitions.currentNavigation;if(i!==null&&s!==null){if(this.stateManager.handleRouterEvent(o,s),o instanceof Je&&o.code!==de.Redirect&&o.code!==de.SupersededByNewNavigation)this.navigated=!0;else if(o instanceof et)this.navigated=!0;else if(o instanceof Cn){let a=o.navigationBehaviorOptions,c=this.urlHandlingStrategy.merge(o.url,i.currentRawUrl),u=m({browserUrl:i.extras.browserUrl,info:i.extras.info,skipLocationChange:i.extras.skipLocationChange,replaceUrl:i.extras.replaceUrl||this.urlUpdateStrategy==="eager"||Ww(i.source)},a);this.scheduleNavigation(c,rr,null,u,{resolve:i.resolve,reject:i.reject,promise:i.promise})}}tC(o)&&this._events.next(o)}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),rr,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((n,o)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(n,"popstate",o)},0)})}navigateToSyncWithBrowser(n,o,i){let s={replaceUrl:!0},a=i?.navigationId?i:null;if(i){let u=m({},i);delete u.navigationId,delete u.\u0275routerPageId,Object.keys(u).length!==0&&(s.state=u)}let c=this.parseUrl(n);this.scheduleNavigation(c,o,a,s)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(n){this.config=n.map(dc),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,o={}){let{relativeTo:i,queryParams:s,fragment:a,queryParamsHandling:c,preserveFragment:u}=o,l=u?this.currentUrlTree.fragment:a,d=null;switch(c){case"merge":d=m(m({},this.currentUrlTree.queryParams),s);break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=s||null}d!==null&&(d=this.removeEmptyProps(d));let h;try{let f=i?i.snapshot:this.routerState.snapshot.root;h=Hf(f)}catch{(typeof n[0]!="string"||n[0][0]!=="/")&&(n=[]),h=this.currentUrlTree.root}return zf(h,n,d,l??null)}navigateByUrl(n,o={skipLocationChange:!1}){let i=ir(n)?n:this.parseUrl(n),s=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(s,rr,null,o)}navigate(n,o={skipLocationChange:!1}){return eC(n),this.navigateByUrl(this.createUrlTree(n,o),o)}serializeUrl(n){return this.urlSerializer.serialize(n)}parseUrl(n){try{return this.urlSerializer.parse(n)}catch{return this.urlSerializer.parse("/")}}isActive(n,o){let i;if(o===!0?i=m({},Jw):o===!1?i=m({},Xw):i=o,ir(n))return If(this.currentUrlTree,n,i);let s=this.parseUrl(n);return If(this.currentUrlTree,s,i)}removeEmptyProps(n){return Object.entries(n).reduce((o,[i,s])=>(s!=null&&(o[i]=s),o),{})}scheduleNavigation(n,o,i,s,a){if(this.disposed)return Promise.resolve(!1);let c,u,l;a?(c=a.resolve,u=a.reject,l=a.promise):l=new Promise((h,f)=>{c=h,u=f});let d=this.pendingTasks.add();return ch(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(d))}),this.navigationTransitions.handleNavigationRequest({source:o,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:n,extras:s,resolve:c,reject:u,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(h=>Promise.reject(h))}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function eC(e){for(let t=0;t{let t=class t{constructor(n,o,i,s,a){this.router=n,this.injector=i,this.preloadingStrategy=s,this.loader=a}setUpPreloading(){this.subscription=this.router.events.pipe(fe(n=>n instanceof et),mt(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(n,o){let i=[];for(let s of o){s.providers&&!s._injector&&(s._injector=No(s.providers,n,`Route: ${s.path}`));let a=s._injector??n,c=s._loadedInjector??a;(s.loadChildren&&!s._loadedRoutes&&s.canLoad===void 0||s.loadComponent&&!s._loadedComponent)&&i.push(this.preloadConfig(a,s)),(s.children||s._loadedRoutes)&&i.push(this.processRoutes(c,s.children??s._loadedRoutes))}return $(i).pipe(Ut())}preloadConfig(n,o){return this.preloadingStrategy.preload(o,()=>{let i;o.loadChildren&&o.canLoad===void 0?i=this.loader.loadChildren(n,o):i=C(null);let s=i.pipe(U(a=>a===null?C(void 0):(o._loadedRoutes=a.routes,o._loadedInjector=a.injector,this.processRoutes(a.injector??n,a.routes))));if(o.loadComponent&&!o._loadedComponent){let a=this.loader.loadComponent(o);return $([s,a]).pipe(Ut())}else return s})}};t.\u0275fac=function(o){return new(o||t)(D(At),D(Lo),D(re),D(ii),D(fc))},t.\u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),uh=new w(""),rC=(()=>{let t=class t{constructor(n,o,i,s,a={}){this.urlSerializer=n,this.transitions=o,this.viewportScroller=i,this.zone=s,this.options=a,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},this.environmentInjector=p(re),a.scrollPositionRestoration||="disabled",a.anchorScrolling||="disabled"}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof wn?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=n.navigationTrigger,this.restoredId=n.restoredState?n.restoredState.navigationId:0):n instanceof et?(this.lastId=n.id,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.urlAfterRedirects).fragment)):n instanceof dt&&n.code===Yo.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof Ko&&(n.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(n.position):n.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(n.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(n,o){this.zone.runOutsideAngular(()=>ui(this,null,function*(){yield new Promise(i=>{setTimeout(()=>{i()}),To(()=>{i()},{injector:this.environmentInjector})}),this.zone.run(()=>{this.transitions.events.next(new Ko(n,this.lastSource==="popstate"?this.store[this.restoredId]:null,o))})}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}};t.\u0275fac=function(o){fd()},t.\u0275prov=y({token:t,factory:t.\u0275fac});let e=t;return e})();function oC(e){return e.routerState.root}function Dr(e,t){return{\u0275kind:e,\u0275providers:t}}function iC(){let e=p(ye);return t=>{let r=e.get(St);if(t!==r.components[0])return;let n=e.get(At),o=e.get(lh);e.get(gc)===1&&n.initialNavigation(),e.get(dh,null,S.Optional)?.setUpPreloading(),e.get(uh,null,S.Optional)?.init(),n.resetRootComponentType(r.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}var lh=new w("",{factory:()=>new Y}),gc=new w("",{providedIn:"root",factory:()=>1});function sC(){return Dr(2,[{provide:gc,useValue:0},{provide:Fo,multi:!0,deps:[ye],useFactory:t=>{let r=t.get(sf,Promise.resolve());return()=>r.then(()=>new Promise(n=>{let o=t.get(At),i=t.get(lh);ch(o,()=>{n(!0)}),t.get(pc).afterPreactivation=()=>(n(!0),i.closed?C(void 0):i),o.initialNavigation()}))}}])}function aC(){return Dr(3,[{provide:Fo,multi:!0,useFactory:()=>{let t=p(At);return()=>{t.setUpLocationChangeListener()}}},{provide:gc,useValue:2}])}var dh=new w("");function cC(e){return Dr(0,[{provide:dh,useExisting:nC},{provide:ii,useExisting:e}])}function uC(){return Dr(8,[xf,{provide:si,useExisting:xf}])}function lC(e){let t=[{provide:ih,useValue:zw},{provide:sh,useValue:m({skipNextTransition:!!e?.skipInitialTransition},e)}];return Dr(9,t)}var Af=new w("ROUTER_FORROOT_GUARD"),dC=[fn,{provide:pr,useClass:Dn},At,mr,{provide:En,useFactory:oC,deps:[At]},fc,[]],mc=(()=>{let t=class t{constructor(n){}static forRoot(n,o){return{ngModule:t,providers:[dC,[],{provide:oi,multi:!0,useValue:n},{provide:Af,useFactory:gC,deps:[[At,new Ns,new Gu]]},{provide:yr,useValue:o||{}},o?.useHash?hC():pC(),fC(),o?.preloadingStrategy?cC(o.preloadingStrategy).\u0275providers:[],o?.initialNavigation?mC(o):[],o?.bindToComponentInputs?uC().\u0275providers:[],o?.enableViewTransitions?lC().\u0275providers:[],vC()]}}static forChild(n){return{ngModule:t,providers:[{provide:oi,multi:!0,useValue:n}]}}};t.\u0275fac=function(o){return new(o||t)(D(Af,8))},t.\u0275mod=Te({type:t}),t.\u0275inj=xe({});let e=t;return e})();function fC(){return{provide:uh,useFactory:()=>{let e=p(df),t=p(j),r=p(yr),n=p(pc),o=p(pr);return r.scrollOffset&&e.setOffset(r.scrollOffset),new rC(o,n,e,t,r)}}}function hC(){return{provide:Tt,useClass:cf}}function pC(){return{provide:Tt,useClass:Ea}}function gC(e){return"guarded"}function mC(e){return[e.initialNavigation==="disabled"?aC().\u0275providers:[],e.initialNavigation==="enabledBlocking"?sC().\u0275providers:[]]}var Rf=new w("");function vC(){return[{provide:Rf,useFactory:iC},{provide:pa,multi:!0,useExisting:Rf}]}var DC=[],fh=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275mod=Te({type:t}),t.\u0275inj=xe({imports:[mc.forRoot(DC),mc]});let e=t;return e})();var wC=(e,t)=>({cookiesOFFclass:e,displayNone:t}),CC=(e,t)=>({cookiesONclass:e,displayNone:t}),hh=(()=>{let t=class t{constructor(){this.title="Z-Anatomy",this.version=225,this.cookiesONvar=!1,this.cookiesONvar=!1}ngOnInit(){this.myFunction()}myFunction(){var n;n=document?.getElementById("myPopup"),n?.classList.toggle("show")}clickOnOK(){this.cookiesONvar=!0,console.log("OK")}};t.\u0275fac=function(o){return new(o||t)},t.\u0275cmp=yo({type:t,selectors:[["app-root"]],decls:39,vars:14,consts:[["role","banner",1,"toolbar"],[1,"spacer"],["role","main",1,"content"],[1,"card","highlight-card","card-small"],[1,"popup"],["id","myPopup",1,"popuptext"],[3,"click"],[1,"card-container"],["href","/assets/Startup.blend",1,"card"],["xmlns","http://www.w3.org/2000/svg","width","24","height","24","viewBox","0 0 24 24",1,"material-icons"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"],["href","https://moueza.github.io/"],["href","https://github.com/moueza/Z-Anatomy"],["id","clouds","xmlns","http://www.w3.org/2000/svg","width","2611.084","height","485.677","viewBox","0 0 2611.084 485.677"],["id","Path_39","data-name","Path 39","d","M2379.709,863.793c10-93-77-171-168-149-52-114-225-105-264,15-75,3-140,59-152,133-30,2.83-66.725,9.829-93.5,26.25-26.771-16.421-63.5-23.42-93.5-26.25-12-74-77-130-152-133-39-120-212-129-264-15-54.084-13.075-106.753,9.173-138.488,48.9-31.734-39.726-84.4-61.974-138.487-48.9-52-114-225-105-264,15a162.027,162.027,0,0,0-103.147,43.044c-30.633-45.365-87.1-72.091-145.206-58.044-52-114-225-105-264,15-75,3-140,59-152,133-53,5-127,23-130,83-2,42,35,72,70,86,49,20,106,18,157,5a165.625,165.625,0,0,0,120,0c47,94,178,113,251,33,61.112,8.015,113.854-5.72,150.492-29.764a165.62,165.62,0,0,0,110.861-3.236c47,94,178,113,251,33,31.385,4.116,60.563,2.495,86.487-3.311,25.924,5.806,55.1,7.427,86.488,3.311,73,80,204,61,251-33a165.625,165.625,0,0,0,120,0c51,13,108,15,157-5a147.188,147.188,0,0,0,33.5-18.694,147.217,147.217,0,0,0,33.5,18.694c49,20,106,18,157,5a165.625,165.625,0,0,0,120,0c47,94,178,113,251,33C2446.709,1093.793,2554.709,922.793,2379.709,863.793Z","transform","translate(142.69 -634.312)","fill","#eee"]],template:function(o,i){o&1&&(J(0,"div",0)(1,"span"),oe(2,"Welcome"),X(),Qe(3,"div",1),X(),J(4,"div",2)(5,"div",3)(6,"span"),oe(7),X()(),Qe(8,"br"),oe(9),J(10,"div",4)(11,"span",5),oe(12,"Do you accept cookies, otherwise quit"),J(13,"button",6),Ao("click",function(){return i.clickOnOK()}),oe(14,"OK"),X()()()(),J(15,"div",2)(16,"div",3)(17,"span"),oe(18),X()(),J(19,"h2"),oe(20,"Resources"),X(),J(21,"div",7)(22,"a",8)(23,"span"),oe(24,"Indirect Download Startup.blend 2"),X(),Us(),J(25,"svg",9),Qe(26,"path",10),X()()(),Hs(),J(27,"footer"),oe(28),J(29,"a",11),oe(30,"Peter MOUEZA"),X(),oe(31,". "),J(32,"a",12),oe(33,"Github"),X()(),Us(),J(34,"svg",13)(35,"title"),oe(36,"Gray Clouds Background"),X(),Qe(37,"path",14),X()(),Hs(),Qe(38,"router-outlet")),o&2&&(Mt(4),la(da(8,wC,!i.cookiesONvar,i.cookiesONvar)),Mt(3),Ro(i.title),Mt(2),Gn(" v = ",i.version," "),Mt(6),la(da(11,CC,i.cookiesONvar,!i.cookiesONvar)),Mt(3),Ro(i.title),Mt(10),Gn(" v = ",i.version," Website created by "))},dependencies:[uc],styles:['@charset "UTF-8";[_nghost-%COMP%]{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol;font-size:14px;color:#333;box-sizing:border-box;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%], h3[_ngcontent-%COMP%], h4[_ngcontent-%COMP%], h5[_ngcontent-%COMP%], h6[_ngcontent-%COMP%]{margin:8px 0}p[_ngcontent-%COMP%]{margin:0}.spacer[_ngcontent-%COMP%]{flex:1}.toolbar[_ngcontent-%COMP%]{position:absolute;top:0;left:0;right:0;height:60px;display:flex;align-items:center;background-color:#1976d2;color:#fff;font-weight:600}.toolbar[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{margin:0 16px}.toolbar[_ngcontent-%COMP%] #twitter-logo[_ngcontent-%COMP%]{height:40px;margin:0 8px}.toolbar[_ngcontent-%COMP%] #youtube-logo[_ngcontent-%COMP%]{height:40px;margin:0 16px}.toolbar[_ngcontent-%COMP%] #twitter-logo[_ngcontent-%COMP%]:hover, .toolbar[_ngcontent-%COMP%] #youtube-logo[_ngcontent-%COMP%]:hover{opacity:.8}.content[_ngcontent-%COMP%]{display:flex;margin:82px auto 32px;padding:0 16px;max-width:960px;flex-direction:column;align-items:center}svg.material-icons[_ngcontent-%COMP%]{height:24px;width:auto}svg.material-icons[_ngcontent-%COMP%]:not(:last-child){margin-right:8px}.card[_ngcontent-%COMP%] svg.material-icons[_ngcontent-%COMP%] path[_ngcontent-%COMP%]{fill:#888}.card-container[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;justify-content:center;margin-top:16px}.card[_ngcontent-%COMP%]{all:unset;border-radius:4px;border:1px solid #eee;background-color:#fafafa;height:40px;width:200px;margin:0 8px 16px;padding:16px;display:flex;flex-direction:row;justify-content:center;align-items:center;transition:all .2s ease-in-out;line-height:24px}.card-container[_ngcontent-%COMP%] .card[_ngcontent-%COMP%]:not(:last-child){margin-right:0}.card.card-small[_ngcontent-%COMP%]{height:16px;width:168px}.card-container[_ngcontent-%COMP%] .card[_ngcontent-%COMP%]:not(.highlight-card){cursor:pointer}.card-container[_ngcontent-%COMP%] .card[_ngcontent-%COMP%]:not(.highlight-card):hover{transform:translateY(-3px);box-shadow:0 4px 17px #00000059}.card-container[_ngcontent-%COMP%] .card[_ngcontent-%COMP%]:not(.highlight-card):hover .material-icons[_ngcontent-%COMP%] path[_ngcontent-%COMP%]{fill:#696767}.card.highlight-card[_ngcontent-%COMP%]{background-color:#1976d2;color:#fff;font-weight:600;border:none;width:auto;min-width:30%;position:relative}.card.card.highlight-card[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{margin-left:60px}svg#rocket[_ngcontent-%COMP%]{width:80px;position:absolute;left:-10px;top:-24px}svg#rocket-smoke[_ngcontent-%COMP%]{height:calc(100vh - 95px);position:absolute;top:10px;right:180px;z-index:-10}a[_ngcontent-%COMP%], a[_ngcontent-%COMP%]:visited, a[_ngcontent-%COMP%]:hover{color:#1976d2;text-decoration:none}a[_ngcontent-%COMP%]:hover{color:#125699}.terminal[_ngcontent-%COMP%]{position:relative;width:80%;max-width:600px;border-radius:6px;padding-top:45px;margin-top:8px;overflow:hidden;background-color:#0f0f10}.terminal[_ngcontent-%COMP%]:before{content:"\\2022\\2022\\2022";position:absolute;top:0;left:0;height:4px;background:#3a3a3a;color:#c2c3c4;width:100%;font-size:2rem;line-height:0;padding:14px 0;text-indent:4px}.terminal[_ngcontent-%COMP%] pre[_ngcontent-%COMP%]{font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;color:#fff;padding:0 1rem 1rem;margin:0}.circle-link[_ngcontent-%COMP%]{height:40px;width:40px;border-radius:40px;margin:8px;background-color:#fff;border:1px solid #eeeeee;display:flex;justify-content:center;align-items:center;cursor:pointer;box-shadow:0 1px 3px #0000001f,0 1px 2px #0000003d;transition:1s ease-out}.circle-link[_ngcontent-%COMP%]:hover{transform:translateY(-.25rem);box-shadow:0 3px 15px #0003}footer[_ngcontent-%COMP%]{margin-top:8px;display:flex;align-items:center;line-height:20px}footer[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{display:flex;align-items:center}.github-star-badge[_ngcontent-%COMP%]{color:#24292e;display:flex;align-items:center;font-size:12px;padding:3px 10px;border:1px solid rgba(27,31,35,.2);border-radius:3px;background-image:linear-gradient(-180deg,#fafbfc,#eff3f6 90%);margin-left:4px;font-weight:600}.github-star-badge[_ngcontent-%COMP%]:hover{background-image:linear-gradient(-180deg,#f0f3f6,#e6ebf1 90%);border-color:#1b1f2359;background-position:-.5em}.github-star-badge[_ngcontent-%COMP%] .material-icons[_ngcontent-%COMP%]{height:16px;width:16px;margin-right:4px}svg#clouds[_ngcontent-%COMP%]{position:fixed;bottom:-160px;left:-230px;z-index:-10;width:1920px}@media screen and (max-width: 767px){.card-container[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:not(.circle-link), .terminal[_ngcontent-%COMP%]{width:100%}.card[_ngcontent-%COMP%]:not(.highlight-card){height:16px;margin:8px 0}.card.highlight-card[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{margin-left:72px}svg#rocket-smoke[_ngcontent-%COMP%]{right:120px;transform:rotate(-5deg)}}@media screen and (max-width: 575px){svg#rocket-smoke[_ngcontent-%COMP%]{display:none;visibility:hidden}}.popup[_ngcontent-%COMP%]{position:relative;display:inline-block;cursor:pointer}.popup[_ngcontent-%COMP%] .popuptext[_ngcontent-%COMP%]{visibility:hidden;width:160px;background-color:#555;color:#fff;text-align:center;border-radius:6px;padding:8px 0;position:absolute;z-index:1;bottom:125%;left:50%;margin-left:-80px}.popup[_ngcontent-%COMP%] .popuptext[_ngcontent-%COMP%]:after{content:"";position:absolute;top:100%;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:#555 transparent transparent transparent}.popup[_ngcontent-%COMP%] .show[_ngcontent-%COMP%]{visibility:visible;-webkit-animation:_ngcontent-%COMP%_fadeIn 1s;animation:_ngcontent-%COMP%_fadeIn 1s}@-webkit-keyframes _ngcontent-%COMP%_fadeIn{0%{opacity:0}to{opacity:1}}@keyframes _ngcontent-%COMP%_fadeIn{0%{opacity:0}to{opacity:1}}.cookiesOFFclass[_ngcontent-%COMP%]{color:red}.displayNone[_ngcontent-%COMP%]{display:none}']});let e=t;return e})();var ph=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275mod=Te({type:t,bootstrap:[hh]}),t.\u0275inj=xe({imports:[wf,fh]});let e=t;return e})();Df().bootstrapModule(ph).catch(e=>console.error(e));