diff --git a/index.html b/index.html index 33e4a33..cfc8b71 100644 --- a/index.html +++ b/index.html @@ -10,5 +10,5 @@ - + diff --git a/main-RETEWMJF.js b/main-4FTN3PWK.js similarity index 98% rename from main-RETEWMJF.js rename to main-4FTN3PWK.js index 6ab45f1..11ed335 100644 --- a/main-RETEWMJF.js +++ b/main-4FTN3PWK.js @@ -4,4 +4,4 @@ ${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(` `);return n===-1?t:t.substring(0,n)}function eu(e,t){return e==null||e===""?t===null?"":t:t==null||t===""?e:e+" "+t}var $h=j({__forward_ref__:j});function $u(e){return e.__forward_ref__=$u,e.toString=function(){return ce(this())},e}function pe(e){return Bu(e)?e():e}function Bu(e){return typeof e=="function"&&e.hasOwnProperty($h)&&e.__forward_ref__===$u}function E(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function yo(e){return tu(e,Hu)||tu(e,zu)}function Uu(e){return yo(e)!==null}function tu(e,t){return e.hasOwnProperty(t)?e[t]:null}function Bh(e){let t=e&&(e[Hu]||e[zu]);return t||null}function nu(e){return e&&(e.hasOwnProperty(ru)||e.hasOwnProperty(Uh))?e[ru]:null}var Hu=j({\u0275prov:j}),ru=j({\u0275inj:j}),zu=j({ngInjectableDef:j}),Uh=j({ngInjectorDef:j}),S=class{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=E({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Gu(e){return e&&!!e.\u0275providers}var Hh=j({\u0275cmp:j}),zh=j({\u0275dir:j}),Gh=j({\u0275pipe:j}),qh=j({\u0275mod:j}),Xr=j({\u0275fac:j}),Sn=j({__NG_ELEMENT_ID__:j}),ou=j({__NG_ENV_ID__:j});function Do(e){return typeof e=="string"?e:e==null?"":String(e)}function Wh(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():Do(e)}function Zh(e,t){let n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new D(-200,e)}function _s(e,t){throw new D(-201,!1)}var M=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}(M||{}),Vi;function qu(){return Vi}function he(e){let t=Vi;return Vi=e,t}function Wu(e,t,n){let r=yo(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&M.Optional)return null;if(t!==void 0)return t;_s(e,"Injector")}var Yh={},Tn=Yh,Qh="__NG_DI_FLAG__",eo="ngTempTokenPath",Kh="ngTokenPath",Jh=/\n/gm,Xh="\u0275",iu="__source",Yt;function ep(){return Yt}function nt(e){let t=Yt;return Yt=e,t}function tp(e,t=M.Default){if(Yt===void 0)throw new D(-203,!1);return Yt===null?Wu(e,void 0,t):Yt.get(e,t&M.Optional?null:void 0,t)}function x(e,t=M.Default){return(qu()||tp)(pe(e),t)}function p(e,t=M.Default){return x(e,wo(t))}function wo(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function $i(e){let t=[];for(let n=0;n ");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`${n}${r?"("+r+")":""}[${o}]: ${e.replace(Jh,` - `)}`}function Kt(e,t){let n=e.hasOwnProperty(Xr);return n?e[Xr]:null}function ip(e,t,n){if(e.length!==t.length)return!1;for(let r=0;rArray.isArray(n)?Ns(n,t):t(n))}function Zu(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function to(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}var _n={},Jt=[],Xt=new S(""),Yu=new S("",-1),Qu=new S(""),no=class{get(t,n=Tn){if(n===Tn){let r=new Error(`NullInjectorError: No provider for ${ce(t)}!`);throw r.name="NullInjectorError",r}return n}},Ku=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(Ku||{}),Pe=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(Pe||{}),en=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(en||{});function ap(e,t,n){let r=e.length;for(;;){let o=e.indexOf(t,n);if(o===-1)return o;if(o===0||e.charCodeAt(o-1)<=32){let i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}function Bi(e,t,n){let r=0;for(;rt){s=i-1;break}}}for(;i-1){let i;for(;++oi?d="":d=o[l+1].toLowerCase(),r&2&&u!==d){if(Se(r))return!1;s=!0}}}}return Se(r)||s}function Se(e){return(e&1)===0}function fp(e,t,n,r){if(t===null)return-1;let o=0;if(r||!n){let i=!1;for(;o-1)for(n++;n0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!Se(s)&&(t+=au(i,o),o=""),r=s,i=i||!Se(r);n++}return o!==""&&(t+=au(i,o)),t}function vp(e){return e.map(mp).join(",")}function yp(e){let t=[],n=[],r=1,o=2;for(;r{let t=ol(e),n=B(m({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Ku.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Pe.Emulated,styles:e.styles||Jt,_:null,schemas:e.schemas||null,tView:null,id:""});il(n);let r=e.dependencies;return n.directiveDefs=uu(r,!1),n.pipeDefs=uu(r,!0),n.id=Cp(n),n})}function Dp(e){return vt(e)||el(e)}function wp(e){return e!==null}function cu(e,t){if(e==null)return _n;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a=en.None;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i):(i=o,s=o),t?(n[i]=a!==en.None?[r,a]:r,t[i]=s):n[i]=r}return n}function Hn(e){return Ts(()=>{let t=ol(e);return il(t),t})}function vt(e){return e[Hh]||null}function el(e){return e[zh]||null}function tl(e){return e[Gh]||null}function nl(e){let t=vt(e)||el(e)||tl(e);return t!==null?t.standalone:!1}function rl(e,t){let n=e[qh]||null;if(!n&&t===!0)throw new Error(`Type ${ce(e)} does not have '\u0275mod' property.`);return n}function ol(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||_n,exportAs:e.exportAs||null,standalone:e.standalone===!0,signals:e.signals===!0,selectors:e.selectors||Jt,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:cu(e.inputs,t),outputs:cu(e.outputs),debugInfo:null}}function il(e){e.features?.forEach(t=>t(e))}function uu(e,t){if(!e)return null;let n=t?tl:Dp;return()=>(typeof e=="function"?e():e).map(r=>n(r)).filter(wp)}function Cp(e){let t=0,n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(let o of n)t=Math.imul(31,t)+o.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function Co(e){return{\u0275providers:e}}function Ep(...e){return{\u0275providers:sl(!0,e),\u0275fromNgModule:!0}}function sl(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return Ns(t,s=>{let a=s;Ui(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&al(o,i),n}function al(e,t){for(let n=0;n{t(i,r)})}}function Ui(e,t,n,r){if(e=pe(e),!e)return!1;let o=null,i=nu(e),s=!i&&vt(e);if(!i&&!s){let c=e.ngModule;if(i=nu(c),i)o=c;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let u of c)Ui(u,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let u;try{Ns(i.imports,l=>{Ui(l,t,n,r)&&(u||=[],u.push(l))})}finally{}u!==void 0&&al(u,t)}if(!a){let u=Kt(o)||(()=>new o);t({provide:o,useFactory:u,deps:Jt},o),t({provide:Qu,useValue:o,multi:!0},o),t({provide:Xt,useValue:()=>x(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let u=e;Os(c,l=>{t(l,u)})}}else return!1;return o!==e&&e.providers!==void 0}function Os(e,t){for(let n of e)Gu(n)&&(n=n.\u0275providers),Array.isArray(n)?Os(n,t):t(n)}var Ip=j({provide:String,useValue:j});function cl(e){return e!==null&&typeof e=="object"&&Ip in e}function bp(e){return!!(e&&e.useExisting)}function Mp(e){return!!(e&&e.useFactory)}function Hi(e){return typeof e=="function"}var Eo=new S(""),Wr={},Sp={},Ti;function ks(){return Ti===void 0&&(Ti=new no),Ti}var ge=class{},Nn=class extends ge{get destroyed(){return this._destroyed}constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Gi(t,s=>this.processProvider(s)),this.records.set(Yu,qt(void 0,this)),o.has("environment")&&this.records.set(ge,qt(void 0,this));let i=this.records.get(Eo);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Qu,Jt,M.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let t=A(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),A(t)}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();let n=nt(this),r=he(void 0),o;try{return t()}finally{nt(n),he(r)}}get(t,n=Tn,r=M.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(ou))return t[ou](this);r=wo(r);let o,i=nt(this),s=he(void 0);try{if(!(r&M.SkipSelf)){let c=this.records.get(t);if(c===void 0){let u=Rp(t)&&yo(t);u&&this.injectableDefInScope(u)?c=qt(zi(t),Wr):c=null,this.records.set(t,c)}if(c!=null)return this.hydrate(t,c)}let a=r&M.Self?ks():this.parent;return n=r&M.Optional&&n===Tn?null:n,a.get(t,n)}catch(a){if(a.name==="NullInjectorError"){if((a[eo]=a[eo]||[]).unshift(ce(t)),i)throw a;return rp(a,t,"R3InjectorError",this.source)}else throw a}finally{he(s),nt(i)}}resolveInjectorInitializers(){let t=A(null),n=nt(this),r=he(void 0),o;try{let i=this.get(Xt,Jt,M.Self);for(let s of i)s()}finally{nt(n),he(r),A(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(ce(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new D(205,!1)}processProvider(t){t=pe(t);let n=Hi(t)?t:pe(t&&t.provide),r=Tp(t);if(!Hi(t)&&t.multi===!0){let o=this.records.get(n);o||(o=qt(void 0,Wr,!0),o.factory=()=>$i(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){let r=A(null);try{return n.value===Wr&&(n.value=Sp,n.value=n.factory()),typeof n.value=="object"&&n.value&&Ap(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{A(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=pe(t.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){let n=this._onDestroyHooks.indexOf(t);n!==-1&&this._onDestroyHooks.splice(n,1)}};function zi(e){let t=yo(e),n=t!==null?t.factory:Kt(e);if(n!==null)return n;if(e instanceof S)throw new D(204,!1);if(e instanceof Function)return xp(e);throw new D(204,!1)}function xp(e){if(e.length>0)throw new D(204,!1);let n=Bh(e);return n!==null?()=>n.factory(e):()=>new e}function Tp(e){if(cl(e))return qt(void 0,e.useValue);{let t=_p(e);return qt(t,Wr)}}function _p(e,t,n){let r;if(Hi(e)){let o=pe(e);return Kt(o)||zi(o)}else if(cl(e))r=()=>pe(e.useValue);else if(Mp(e))r=()=>e.useFactory(...$i(e.deps||[]));else if(bp(e))r=()=>x(pe(e.useExisting));else{let o=pe(e&&(e.useClass||e.provide));if(Np(e))r=()=>new o(...$i(e.deps));else return Kt(o)||zi(o)}return r}function qt(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Np(e){return!!e.deps}function Ap(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function Rp(e){return typeof e=="function"||typeof e=="object"&&e instanceof S}function Gi(e,t){for(let n of e)Array.isArray(n)?Gi(n,t):n&&Gu(n)?Gi(n.\u0275providers,t):t(n)}function qe(e,t){e instanceof Nn&&e.assertNotDestroyed();let n,r=nt(e),o=he(void 0);try{return t()}finally{nt(r),he(o)}}function Op(){return qu()!==void 0||ep()!=null}function kp(e){return typeof e=="function"}var We=0,I=1,y=2,ne=3,xe=4,_e=5,An=6,Rn=7,ue=8,tn=9,Fe=10,re=11,On=12,lu=13,zn=14,Te=15,yt=16,Wt=17,He=18,Io=19,ul=20,rt=21,_i=22,Dt=23,ze=25,ll=1;var wt=7,ro=8,nn=9,te=10,oo=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(oo||{});function ot(e){return Array.isArray(e)&&typeof e[ll]=="object"}function Ze(e){return Array.isArray(e)&&e[ll]===!0}function dl(e){return(e.flags&4)!==0}function bo(e){return e.componentOffset>-1}function Ps(e){return(e.flags&1)===1}function Gn(e){return!!e.template}function qi(e){return(e[y]&512)!==0}var Wi=class{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function fl(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}function an(){return hl}function hl(e){return e.type.prototype.ngOnChanges&&(e.setInput=Fp),Pp}an.ngInherit=!0;function Pp(){let e=gl(this),t=e?.current;if(t){let n=e.previous;if(n===_n)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Fp(e,t,n,r,o){let i=this.declaredInputs[r],s=gl(e)||Lp(e,{previous:_n,current:null}),a=s.current||(s.current={}),c=s.previous,u=c[i];a[i]=new Wi(u&&u.currentValue,n,c===_n),fl(e,t,o,n)}var pl="__ngSimpleChanges__";function gl(e){return e[pl]||null}function Lp(e,t){return e[pl]=t}var du=null;var Oe=function(e,t,n){du?.(e,t,n)},ml="svg",jp="math";function Le(e){for(;Array.isArray(e);)e=e[We];return e}function Vp(e,t){return Le(t[e])}function ve(e,t){return Le(t[e.index])}function Fs(e,t){return e.data[t]}function st(e,t){let n=t[e];return ot(n)?n:n[We]}function $p(e){return(e[y]&4)===4}function Ls(e){return(e[y]&128)===128}function Bp(e){return Ze(e[ne])}function kn(e,t){return t==null?null:e[t]}function vl(e){e[Wt]=0}function Up(e){e[y]&1024||(e[y]|=1024,Ls(e)&&Mo(e))}function Pn(e){return!!(e[y]&9216||e[Dt]?.dirty)}function Zi(e){e[Fe].changeDetectionScheduler?.notify(7),e[y]&64&&(e[y]|=1024),Pn(e)&&Mo(e)}function Mo(e){e[Fe].changeDetectionScheduler?.notify(0);let t=Fn(e);for(;t!==null&&!(t[y]&8192||(t[y]|=8192,!Ls(t)));)t=Fn(t)}function yl(e,t){if((e[y]&256)===256)throw new D(911,!1);e[rt]===null&&(e[rt]=[]),e[rt].push(t)}function Hp(e,t){if(e[rt]===null)return;let n=e[rt].indexOf(t);n!==-1&&e[rt].splice(n,1)}function Fn(e){let t=e[ne];return Ze(t)?t[ne]:t}var R={lFrame:xl(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Dl=!1;function zp(){return R.lFrame.elementDepthCount}function Gp(){R.lFrame.elementDepthCount++}function qp(){R.lFrame.elementDepthCount--}function wl(){return R.bindingsEnabled}function Wp(){return R.skipHydrationRootTNode!==null}function Zp(e){return R.skipHydrationRootTNode===e}function Yp(){R.skipHydrationRootTNode=null}function $(){return R.lFrame.lView}function je(){return R.lFrame.tView}function ie(){let e=Cl();for(;e!==null&&e.type===64;)e=e.parent;return e}function Cl(){return R.lFrame.currentTNode}function Qp(){let e=R.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function qn(e,t){let n=R.lFrame;n.currentTNode=e,n.isParent=t}function El(){return R.lFrame.isParent}function Kp(){R.lFrame.isParent=!1}function Il(){return Dl}function fu(e){Dl=e}function Jp(e){return R.lFrame.bindingIndex=e}function So(){return R.lFrame.bindingIndex++}function Xp(){return R.lFrame.inI18n}function eg(e,t){let n=R.lFrame;n.bindingIndex=n.bindingRootIndex=e,Yi(t)}function tg(){return R.lFrame.currentDirectiveIndex}function Yi(e){R.lFrame.currentDirectiveIndex=e}function bl(){return R.lFrame.currentQueryIndex}function js(e){R.lFrame.currentQueryIndex=e}function ng(e){let t=e[I];return t.type===2?t.declTNode:t.type===1?e[_e]:null}function Ml(e,t,n){if(n&M.SkipSelf){let o=t,i=e;for(;o=o.parent,o===null&&!(n&M.Host);)if(o=ng(i),o===null||(i=i[zn],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=R.lFrame=Sl();return r.currentTNode=t,r.lView=e,!0}function Vs(e){let t=Sl(),n=e[I];R.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Sl(){let e=R.lFrame,t=e===null?null:e.child;return t===null?xl(e):t}function xl(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 Tl(){let e=R.lFrame;return R.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var _l=Tl;function $s(){let e=Tl();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 xo(){return R.lFrame.selectedIndex}function Ct(e){R.lFrame.selectedIndex=e}function Nl(){let e=R.lFrame;return Fs(e.tView,e.selectedIndex)}function Mt(){R.lFrame.currentNamespace=ml}function To(){rg()}function rg(){R.lFrame.currentNamespace=null}function og(){return R.lFrame.currentNamespace}var Al=!0;function Bs(){return Al}function Us(e){Al=e}function ig(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=hl(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}o&&(n.preOrderHooks??=[]).push(0-e,o),i&&((n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i))}function Hs(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[c]<0&&(e[Wt]+=65536),(a>14>16&&(e[y]&3)===t&&(e[y]+=16384,hu(a,i)):hu(a,i)}var Qt=-1,Ln=class{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}};function ag(e){return e instanceof Ln}function cg(e){return(e.flags&8)!==0}function ug(e){return(e.flags&16)!==0}function Ol(e){return e!==Qt}function io(e){return e&32767}function lg(e){return e>>16}function so(e,t){let n=lg(e),r=t;for(;n>0;)r=r[zn],n--;return r}var Qi=!0;function pu(e){let t=Qi;return Qi=e,t}var dg=256,kl=dg-1,Pl=5,fg=0,ke={};function hg(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(Sn)&&(r=n[Sn]),r==null&&(r=n[Sn]=fg++);let o=r&kl,i=1<>Pl)]|=i}function Fl(e,t){let n=Ll(e,t);if(n!==-1)return n;let r=t[I];r.firstCreatePass&&(e.injectorIndex=t.length,Ai(r.data,e),Ai(t,null),Ai(r.blueprint,null));let o=zs(e,t),i=e.injectorIndex;if(Ol(o)){let s=io(o),a=so(o,t),c=a[I].data;for(let u=0;u<8;u++)t[i+u]=a[s+u]|c[s+u]}return t[i+8]=o,i}function Ai(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Ll(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 n=0,r=null,o=t;for(;o!==null;){if(r=Ul(o),r===null)return Qt;if(n++,o=o[zn],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return Qt}function pg(e,t,n){hg(e,t,n)}function gg(e,t){if(t==="class")return e.classes;if(t==="style")return e.styles;let n=e.attrs;if(n){let r=n.length,o=0;for(;o>20,d=r?a:a+l,f=o?a+l:u;for(let h=d;h=c&&g.type===n)return h}if(o){let h=s[c];if(h&&Gn(h)&&h.type===n)return c}return null}function rn(e,t,n,r){let o=e[n],i=t.data;if(ag(o)){let s=o;s.resolving&&Zh(Wh(i[n]));let a=pu(s.canSeeViewProviders);s.resolving=!0;let c,u=s.injectImpl?he(s.injectImpl):null,l=Ml(e,r,M.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&ig(n,i[n],t)}finally{u!==null&&he(u),pu(a),s.resolving=!1,_l()}}return o}function vg(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(Sn)?e[Sn]:void 0;return typeof t=="number"?t>=0?t&kl:yg:t}function gu(e,t,n){let r=1<>Pl)]&r)}function mu(e,t){return!(e&M.Self)&&!(e&M.Host&&t)}var mt=class{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return $l(this._tNode,this._lView,t,wo(r),n)}};function yg(){return new mt(ie(),$())}function Gs(e){return Ts(()=>{let t=e.prototype.constructor,n=t[Xr]||Ki(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[Xr]||Ki(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Ki(e){return Bu(e)?()=>{let t=Ki(pe(e));return t&&t()}:Kt(e)}function Dg(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[y]&2048&&!(s[y]&512);){let a=Bl(i,s,n,r|M.Self,ke);if(a!==ke)return a;let c=i.parent;if(!c){let u=s[ul];if(u){let l=u.get(n,ke,r);if(l!==ke)return l}c=Ul(s),s=s[zn]}i=c}return o}function Ul(e){let t=e[I],n=t.type;return n===2?t.declTNode:n===1?e[_e]:null}function qs(e){return gg(ie(),e)}function vu(e,t=null,n=null,r){let o=Hl(e,t,n,r);return o.resolveInjectorInitializers(),o}function Hl(e,t=null,n=null,r,o=new Set){let i=[n||Jt,Ep(e)];return r=r||(typeof e=="object"?void 0:ce(e)),new Nn(i,t||ks(),r||null,o)}var gt=class gt{static create(t,n){if(Array.isArray(t))return vu({name:""},n,t,"");{let r=t.name??"";return vu({name:r},t.parent,t.providers,r)}}};gt.THROW_IF_NOT_FOUND=Tn,gt.NULL=new no,gt.\u0275prov=E({token:gt,providedIn:"any",factory:()=>x(Yu)}),gt.__NG_ELEMENT_ID__=-1;var Et=gt;var wg=new S("");wg.__NG_ELEMENT_ID__=e=>{let t=ie();if(t===null)throw new D(204,!1);if(t.type&2)return t.value;if(e&M.Optional)return null;throw new D(204,!1)};var Cg="ngOriginalError";function Ri(e){return e[Cg]}var Ge=class{constructor(){this._console=console}handleError(t){let n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&Ri(t);for(;n&&Ri(n);)n=Ri(n);return n||null}},zl=new S("",{providedIn:"root",factory:()=>p(Ge).handleError.bind(void 0)}),Gl=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=Eg,t.__NG_ENV_ID__=r=>r;let e=t;return e})(),Ji=class extends Gl{constructor(t){super(),this._lView=t}onDestroy(t){return yl(this._lView,t),()=>Hp(this._lView,t)}};function Eg(){return new Ji($())}function Ig(){return cn(ie(),$())}function cn(e,t){return new Ye(ve(e,t))}var Ye=(()=>{let t=class t{constructor(r){this.nativeElement=r}};t.__NG_ELEMENT_ID__=Ig;let e=t;return e})();function bg(e){return e instanceof Ye?e.nativeElement:e}var Xi=class extends ee{constructor(t=!1){super(),this.destroyRef=void 0,this.__isAsync=t,Op()&&(this.destroyRef=p(Gl,{optional:!0})??void 0)}emit(t){let n=A(null);try{super.next(t)}finally{A(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;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=Oi(i),o&&(o=Oi(o)),s&&(s=Oi(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof U&&t.add(a),a}};function Oi(e){return t=>{setTimeout(e,void 0,t)}}var J=Xi;function Mg(){return this._results[Symbol.iterator]()}var es=class e{get changes(){return this._changes??=new J}constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;let n=e.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=Mg)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){this.dirty=!1;let r=sp(t);(this._changesDetected=!ip(this._results,r,n))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}};function ql(e){return(e.flags&128)===128}var Wl=new Map,Sg=0;function xg(){return Sg++}function Tg(e){Wl.set(e[Io],e)}function _g(e){Wl.delete(e[Io])}var yu="__ngContext__";function It(e,t){ot(t)?(e[yu]=t[Io],Tg(t)):e[yu]=t}function Zl(e){return Ql(e[On])}function Yl(e){return Ql(e[xe])}function Ql(e){for(;e!==null&&!Ze(e);)e=e[xe];return e}var ts;function Kl(e){ts=e}function Ng(){if(ts!==void 0)return ts;if(typeof document<"u")return document;throw new D(210,!1)}var Ws=new S("",{providedIn:"root",factory:()=>Ag}),Ag="ng",Zs=new S(""),un=new S("",{providedIn:"platform",factory:()=>"unknown"});var Ys=new S("",{providedIn:"root",factory:()=>Ng().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var Rg="h",Og="b";var kg=()=>null;function Qs(e,t,n=!1){return kg(e,t,n)}var Jl=!1,Pg=new S("",{providedIn:"root",factory:()=>Jl});var qr;function Fg(){if(qr===void 0&&(qr=null,xn.trustedTypes))try{qr=xn.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return qr}function Du(e){return Fg()?.createScriptURL(e)||e}var ao=class{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Vu})`}};function _o(e){return e instanceof ao?e.changingThisBreaksApplicationSecurity:e}function Ks(e,t){let n=Lg(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Vu})`)}return n===t}function Lg(e){return e instanceof ao&&e.getTypeName()||null}var jg=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Xl(e){return e=String(e),e.match(jg)?e:"unsafe:"+e}var No=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(No||{});function Wn(e){let t=td();return t?t.sanitize(No.URL,e)||"":Ks(e,"URL")?_o(e):Xl(Do(e))}function Vg(e){let t=td();if(t)return Du(t.sanitize(No.RESOURCE_URL,e)||"");if(Ks(e,"ResourceURL"))return Du(_o(e));throw new D(904,!1)}function $g(e,t){return t==="src"&&(e==="embed"||e==="frame"||e==="iframe"||e==="media"||e==="script")||t==="href"&&(e==="base"||e==="link")?Vg:Wn}function ed(e,t,n){return $g(t,n)(e)}function td(){let e=$();return e&&e[Fe].sanitizer}function nd(e){return e instanceof Function?e():e}var St=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(St||{}),Bg;function Js(e,t){return Bg(e,t)}function Zt(e,t,n,r,o){if(r!=null){let i,s=!1;Ze(r)?i=r:ot(r)&&(s=!0,r=r[We]);let a=Le(r);e===0&&n!==null?o==null?sd(t,n,a):co(t,n,a,o||null,!0):e===1&&n!==null?co(t,n,a,o||null,!0):e===2?rm(t,a,s):e===3&&t.destroyNode(a),i!=null&&im(t,e,i,n,o)}}function Ug(e,t){return e.createText(t)}function Hg(e,t,n){e.setValue(t,n)}function rd(e,t,n){return e.createElement(t,n)}function zg(e,t){od(e,t),t[We]=null,t[_e]=null}function Gg(e,t,n,r,o,i){r[We]=o,r[_e]=t,Ro(e,r,n,1,o,i)}function od(e,t){t[Fe].changeDetectionScheduler?.notify(8),Ro(e,t,t[re],2,null,null)}function qg(e){let t=e[On];if(!t)return ki(e[I],e);for(;t;){let n=null;if(ot(t))n=t[On];else{let r=t[te];r&&(n=r)}if(!n){for(;t&&!t[xe]&&t!==e;)ot(t)&&ki(t[I],t),t=t[ne];t===null&&(t=e),ot(t)&&ki(t[I],t),n=t&&t[xe]}t=n}}function Wg(e,t,n,r){let o=te+r,i=n.length;r>0&&(n[o-1][xe]=t),r0&&(e[n-1][xe]=r[xe]);let i=to(e,te+t);zg(r[I],r);let s=i[He];s!==null&&s.detachView(i[I]),r[ne]=null,r[xe]=null,r[y]&=-129}return r}function Ao(e,t){if(!(t[y]&256)){let n=t[re];n.destroyNode&&Ro(e,t,n,3,null,null),qg(t)}}function ki(e,t){if(t[y]&256)return;let n=A(null);try{t[y]&=-129,t[y]|=256,t[Dt]&&bc(t[Dt]),Yg(e,t),Zg(e,t),t[I].type===1&&t[re].destroy();let r=t[yt];if(r!==null&&Ze(t[ne])){r!==t[ne]&&Xs(r,t);let o=t[He];o!==null&&o.detachView(e)}_g(t)}finally{A(n)}}function Zg(e,t){let n=e.cleanup,r=t[Rn];if(n!==null)for(let i=0;i=0?r[s]():r[-s].unsubscribe(),i+=2}else{let s=r[n[i+1]];n[i].call(s)}r!==null&&(t[Rn]=null);let o=t[rt];if(o!==null){t[rt]=null;for(let i=0;i-1){let{encapsulation:i}=e.data[r.directiveStart+o];if(i===Pe.None||i===Pe.Emulated)return null}return ve(r,n)}}function co(e,t,n,r,o){e.insertBefore(t,n,r,o)}function sd(e,t,n){e.appendChild(t,n)}function wu(e,t,n,r,o){r!==null?co(e,t,n,r,o):sd(e,t,n)}function Jg(e,t,n,r){e.removeChild(t,n,r)}function ea(e,t){return e.parentNode(t)}function Xg(e,t){return e.nextSibling(t)}function em(e,t,n){return nm(e,t,n)}function tm(e,t,n){return e.type&40?ve(e,n):null}var nm=tm,Cu;function ta(e,t,n,r){let o=Qg(e,r,t),i=t[re],s=r.parent||t[_e],a=em(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;cze&&ld(e,t,ze,!1),Oe(s?2:0,o),n(r,o)}finally{Ct(i),Oe(s?3:1,o)}}function pd(e,t,n){if(dl(t)){let r=A(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;snull;function hm(e,t,n,r){let o=Id(t);o.push(n),e.firstCreatePass&&bd(e).push(r,o.length-1)}function pm(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return Wp()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function Eu(e,t,n,r,o){for(let i in t){if(!t.hasOwnProperty(i))continue;let s=t[i];if(s===void 0)continue;r??={};let a,c=en.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?Iu(r,n,u,a,c):Iu(r,n,u,a)}return r}function Iu(e,t,n,r,o){let i;e.hasOwnProperty(n)?(i=e[n]).push(t,r):i=e[n]=[t,r],o!==void 0&&i.push(o)}function gm(e,t,n){let r=t.directiveStart,o=t.directiveEnd,i=e.data,s=t.attrs,a=[],c=null,u=null;for(let l=r;l0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function Cm(e,t,n,r){let o=n.directiveStart,i=n.directiveEnd;bo(n)&&Tm(t,n,e.data[o+n.componentOffset]),e.firstCreatePass||Fl(n,t),It(r,t);let s=n.initialInputs;for(let a=o;a{Mo(e.lView)},consumerOnSignalRead(){this.lView[Dt]=this}}),zm=100;function xd(e,t=!0,n=0){let r=e[Fe],o=r.rendererFactory,i=!1;i||o.begin?.();try{Gm(e,n)}catch(s){throw t&&Md(e,s),s}finally{i||(o.end?.(),r.inlineEffectRunner?.flush())}}function Gm(e,t){let n=Il();try{fu(!0),is(e,t);let r=0;for(;Pn(e);){if(r===zm)throw new D(103,!1);r++,is(e,1)}}finally{fu(n)}}function qm(e,t,n,r){let o=t[y];if((o&256)===256)return;let i=!1,s=!1;!i&&t[Fe].inlineEffectRunner?.flush(),Vs(t);let a=null,c=null;!i&&Wm(e)&&(c=$m(t),a=Ec(c));try{vl(t),Jp(e.bindingStartIndex),n!==null&&hd(e,t,n,2,r);let u=(o&3)===3;if(!i)if(u){let f=e.preOrderCheckHooks;f!==null&&Zr(t,f,null)}else{let f=e.preOrderHooks;f!==null&&Yr(t,f,0,null),Ni(t,0)}if(s||Zm(t),Td(t,0),e.contentQueries!==null&&Ed(e,t),!i)if(u){let f=e.contentCheckHooks;f!==null&&Zr(t,f)}else{let f=e.contentHooks;f!==null&&Yr(t,f,1),Ni(t,1)}am(e,t);let l=e.components;l!==null&&Nd(t,l,0);let d=e.viewQuery;if(d!==null&&os(2,d,r),!i)if(u){let f=e.viewCheckHooks;f!==null&&Zr(t,f)}else{let f=e.viewHooks;f!==null&&Yr(t,f,2),Ni(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[_i]){for(let f of t[_i])f();t[_i]=null}i||(t[y]&=-73)}catch(u){throw i||Mo(t),u}finally{c!==null&&(Ic(c,a),Um(c)),$s()}}function Wm(e){return e.type!==2}function Td(e,t){for(let n=Zl(e);n!==null;n=Yl(n))for(let r=te;r-1&&(jn(t,r),to(n,r))}this._attachedToViewContainer=!1}Ao(this._lView[I],this._lView)}onDestroy(t){yl(this._lView,t)}markForCheck(){ca(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[y]&=-129}reattach(){Zi(this._lView),this._lView[y]|=128}detectChanges(){this._lView[y]|=1024,xd(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new D(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=qi(this._lView),n=this._lView[yt];n!==null&&!t&&Xs(n,this._lView),od(this._lView[I],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new D(902,!1);this._appRef=t;let n=qi(this._lView),r=this._lView[yt];r!==null&&!n&&id(r,this._lView),Zi(this._lView)}},Vn=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=Jm;let e=t;return e})(),Qm=Vn,Km=class extends Qm{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){let o=sa(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:r});return new bt(o)}};function Jm(){return ua(ie(),$())}function ua(e,t){return e.type&4?new Km(t,e,cn(e,t)):null}var bM=new RegExp(`^(\\d+)*(${Og}|${Rg})*(.*)`);var Xm=()=>null;function fo(e,t){return Xm(e,t)}var $n=class{},la=new S("",{providedIn:"root",factory:()=>!1});var Ad=new S(""),ss=class{},ho=class{};function ev(e){let t=Error(`No component factory found for ${ce(e)}.`);return t[tv]=e,t}var tv="ngComponent";var as=class{resolveComponentFactory(t){throw ev(t)}},wa=class wa{};wa.NULL=new as;var on=wa,sn=class{},Zn=(()=>{let t=class t{constructor(){this.destroyNode=null}};t.__NG_ELEMENT_ID__=()=>nv();let e=t;return e})();function nv(){let e=$(),t=ie(),n=st(t.index,e);return(ot(n)?n:e)[re]}var rv=(()=>{let t=class t{};t.\u0275prov=E({token:t,providedIn:"root",factory:()=>null});let e=t;return e})(),Pi={};var bu=new Set;function Lo(e){bu.has(e)||(bu.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function Rd(e){let t=!0;return setTimeout(()=>{t&&(t=!1,e())}),typeof xn.requestAnimationFrame=="function"&&xn.requestAnimationFrame(()=>{t&&(t=!1,e())}),()=>{t=!1}}function Mu(e){let t=!0;return queueMicrotask(()=>{t&&e()}),()=>{t=!1}}function Su(...e){}var z=class e{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new J(!1),this.onMicrotaskEmpty=new J(!1),this.onStable=new J(!1),this.onError=new J(!1),typeof Zone>"u")throw new D(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=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.callbackScheduled=!1,sv(o)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get("isAngularZone")===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new D(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new D(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,ov,Su,Su);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}},ov={};function da(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 iv(e){e.isCheckStableRunning||e.callbackScheduled||(e.callbackScheduled=!0,Zone.root.run(()=>{Rd(()=>{e.callbackScheduled=!1,cs(e),e.isCheckStableRunning=!0,da(e),e.isCheckStableRunning=!1})}),cs(e))}function sv(e){let t=()=>{iv(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,a)=>{if(av(a))return n.invokeTask(o,i,s,a);try{return xu(e),n.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&i.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),Tu(e)}},onInvoke:(n,r,o,i,s,a,c)=>{try{return xu(e),n.invoke(o,i,s,a,c)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!cv(a)&&t(),Tu(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&(i.change=="microTask"?(e._hasPendingMicrotasks=i.microTask,cs(e),da(e)):i.change=="macroTask"&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(n,r,o,i)=>(n.handleError(o,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}function cs(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function xu(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Tu(e){e._nesting--,da(e)}var us=class{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new J,this.onMicrotaskEmpty=new J,this.onStable=new J,this.onError=new J}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}};function av(e){return Od(e,"__ignore_ng_zone__")}function cv(e){return Od(e,"__scheduler_tick__")}function Od(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var kd=(()=>{let t=class t{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){let r=[...this.internalCallbacks];this.internalCallbacks.length=0;for(let o of r)o()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}};t.\u0275prov=E({token:t,providedIn:"root",factory:()=>new t});let e=t;return e})();function ls(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(t!==null)for(let s=0;s0&&cd(e,n,i.join(" "))}}function gv(e,t,n){let r=e.projection=[];for(let o=0;o{let t=class t{};t.__NG_ELEMENT_ID__=vv;let e=t;return e})();function vv(){let e=ie();return Fd(e,$())}var yv=ln,Pd=class extends yv{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return cn(this._hostTNode,this._hostLView)}get injector(){return new mt(this._hostTNode,this._hostLView)}get parentInjector(){let t=zs(this._hostTNode,this._hostLView);if(Ol(t)){let n=so(t,this._hostLView),r=io(t),o=n[I].data[r+8];return new mt(o,n)}else return new mt(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=Nu(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-te}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=fo(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,uo(this._hostTNode,s)),a}createComponent(t,n,r,o,i){let s=t&&!kp(t),a;if(s)a=n;else{let g=n||{};a=g.index,r=g.injector,o=g.projectableNodes,i=g.environmentInjector||g.ngModuleRef}let c=s?t:new Bn(vt(t)),u=r||this.parentInjector;if(!i&&c.ngModule==null){let v=(s?u:this.parentInjector).get(ge,null);v&&(i=v)}let l=vt(c.componentType??{}),d=fo(this._lContainer,l?.id??null),f=d?.firstChild??null,h=c.create(u,o,f,i);return this.insertImpl(h.hostView,a,uo(this._hostTNode,d)),h}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(Bp(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[ne],u=new Pd(c,c[_e],c[ne]);u.detach(u.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return aa(s,o,i,r),t.attachToViewContainerRef(),Zu(Fi(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=Nu(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=jn(this._lContainer,n);r&&(to(Fi(this._lContainer),n),Ao(r[I],r))}detach(t){let n=this._adjustIndex(t,-1),r=jn(this._lContainer,n);return r&&to(Fi(this._lContainer),n)!=null?new bt(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Nu(e){return e[ro]}function Fi(e){return e[ro]||(e[ro]=[])}function Fd(e,t){let n,r=t[e.index];return Ze(r)?n=r:(n=Cd(r,t,null,e),t[e.index]=n,Fo(t,n)),wv(n,t,e,r),new Pd(n,e,t)}function Dv(e,t){let n=e[re],r=n.createComment(""),o=ve(t,e),i=ea(n,o);return co(n,i,r,Xg(n,o),!1),r}var wv=Iv,Cv=()=>!1;function Ev(e,t,n){return Cv(e,t,n)}function Iv(e,t,n,r){if(e[wt])return;let o;n.type&8?o=Le(r):o=Dv(t,n),e[wt]=o}var hs=class e{constructor(t){this.queryList=t,this.matches=null}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},ps=class e{constructor(t=[]){this.queries=t}createEmbeddedView(t){let n=t.queries;if(n!==null){let r=t.contentQueries!==null?t.contentQueries[0]:n.length,o=[];for(let i=0;i0)r.push(s[a/2]);else{let u=i[a+1],l=t[-c];for(let d=te;dt.trim())}function Rv(e,t,n){e.queries===null&&(e.queries=new ms),e.queries.track(new vs(t,n))}function Ov(e,t){let n=e.contentQueries||(e.contentQueries=[]),r=n.length?n[n.length-1]:-1;t!==r&&n.push(e.queries.length-1,t)}function fa(e,t){return e.queries.getByIndex(t)}function kv(e,t){let n=e[I],r=fa(n,t);return r.crossesNgTemplate?ys(n,e,t,[]):Ld(n,e,r,t)}function ha(e){let t=e.inputConfig,n={};for(let r in t)if(t.hasOwnProperty(r)){let o=t[r];Array.isArray(o)&&o[3]&&(n[r]=o[3])}e.inputTransforms=n}var it=class{},Un=class{};var Ds=class extends it{constructor(t,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new po(this);let o=rl(t);this._bootstrapComponents=nd(o.bootstrap),this._r3Injector=Hl(t,n,[{provide:it,useValue:this},{provide:on,useValue:this.componentFactoryResolver},...r],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(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}},ws=class extends Un{constructor(t){super(),this.moduleType=t}create(t){return new Ds(this.moduleType,t,[])}};var go=class extends it{constructor(t){super(),this.componentFactoryResolver=new po(this),this.instance=null;let n=new Nn([...t.providers,{provide:it,useValue:this},{provide:on,useValue:this.componentFactoryResolver}],t.parent||ks(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function pa(e,t,n=null){return new go({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var Yn=(()=>{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 r=this.taskId++;return this.pendingTasks.add(r),r}remove(r){this.pendingTasks.delete(r),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function jo(e,t,n){let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function Pv(e){return(e.flags&32)===32}function Fv(e,t,n,r,o,i,s,a,c){let u=t.consts,l=Po(t,e,4,s||null,a||null);yd(t,n,l,kn(u,c)),Hs(t,l);let d=l.tView=ra(2,l,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,u,null);return t.queries!==null&&(t.queries.template(t,l),d.queries=t.queries.embeddedTView(l)),l}function Au(e,t,n,r,o,i,s,a,c,u){let l=n+ze,d=t.firstCreatePass?Fv(l,t,e,r,o,i,s,a,c):t.data[l];qn(d,!1);let f=Lv(t,e,d,n);Bs()&&ta(t,e,f,d),It(f,e);let h=Cd(f,e,f,d);return e[l]=h,Fo(e,h),Ev(h,d,e),Ps(d)&&gd(t,e,d),c!=null&&md(e,d,u),d}var Lv=jv;function jv(e,t,n,r){return Us(!0),t[re].createComment("")}function ga(e,t,n,r){let o=$(),i=So();if(jo(o,i,t)){let s=je(),a=Nl();_m(a,o,e,t,n,r)}return ga}function Vv(e,t,n,r){return jo(e,So(),n)?t+Do(n)+r:Oo}function Qn(e,t,n){let r=$(),o=So();if(jo(r,o,t)){let i=je(),s=Nl();vm(i,s,r,e,t,r[re],n,!1)}return Qn}function Ru(e,t,n,r,o){let i=t.inputs,s=o?"class":"style";oa(e,n,i[s],s,r)}var Cs=class{destroy(t){}updateValue(t,n){}swap(t,n){let r=Math.min(t,n),o=Math.max(t,n),i=this.detach(o);if(o-r>1){let s=this.detach(r);this.attach(r,i),this.attach(o,s)}else this.attach(r,i)}move(t,n){this.attach(n,this.detach(t))}};function Li(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function $v(e,t,n){let r,o,i=0,s=e.length-1,a=void 0;if(Array.isArray(t)){let c=t.length-1;for(;i<=s&&i<=c;){let u=e.at(i),l=t[i],d=Li(i,u,i,l,n);if(d!==0){d<0&&e.updateValue(i,l),i++;continue}let f=e.at(s),h=t[c],g=Li(s,f,c,h,n);if(g!==0){g<0&&e.updateValue(s,h),s--,c--;continue}let v=n(i,u),O=n(s,f),F=n(i,l);if(Object.is(F,O)){let Y=n(c,h);Object.is(Y,v)?(e.swap(i,s),e.updateValue(s,h),c--,s--):e.move(s,i),e.updateValue(i,l),i++;continue}if(r??=new mo,o??=ku(e,i,s,n),Es(e,r,i,F))e.updateValue(i,l),i++,s++;else if(o.has(F))r.set(v,e.detach(i)),s--;else{let Y=e.create(i,t[i]);e.attach(i,Y),i++,s++}}for(;i<=c;)Ou(e,r,n,i,t[i]),i++}else if(t!=null){let c=t[Symbol.iterator](),u=c.next();for(;!u.done&&i<=s;){let l=e.at(i),d=u.value,f=Li(i,l,i,d,n);if(f!==0)f<0&&e.updateValue(i,d),i++,u=c.next();else{r??=new mo,o??=ku(e,i,s,n);let h=n(i,d);if(Es(e,r,i,h))e.updateValue(i,d),i++,s++,u=c.next();else if(!o.has(h))e.attach(i,e.create(i,d)),i++,s++,u=c.next();else{let g=n(i,l);r.set(g,e.detach(i)),s--}}}for(;!u.done;)Ou(e,r,n,e.length,u.value),u=c.next()}for(;i<=s;)e.destroy(e.detach(s--));r?.forEach(c=>{e.destroy(c)})}function Es(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function Ou(e,t,n,r,o){if(Es(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function ku(e,t,n,r){let o=new Set;for(let i=t;i<=n;i++)o.add(r(i,e.at(i)));return o}var mo=class{constructor(){this.kvMap=new Map,this._vMap=void 0}has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;let n=this.kvMap.get(t);return this._vMap!==void 0&&this._vMap.has(n)?(this.kvMap.set(t,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,n){if(this.kvMap.has(t)){let r=this.kvMap.get(t);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(r);)r=o.get(r);o.set(r,n)}else this.kvMap.set(t,n)}forEach(t){for(let[n,r]of this.kvMap)if(t(r,n),this._vMap!==void 0){let o=this._vMap;for(;o.has(r);)r=o.get(r),t(r,n)}}};var Is=class{constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-te}};function Kn(e,t){return t}var bs=class{constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function Jn(e,t,n,r,o,i,s,a,c,u,l,d,f){Lo("NgControlFlow");let h=$(),g=je(),v=c!==void 0,O=$(),F=a?s.bind(O[Te][ue]):s,Y=new bs(v,F);O[ze+e]=Y,Au(h,g,e+1,t,n,r,o,kn(g.consts,i)),v&&Au(h,g,e+2,c,u,l,d,kn(g.consts,f))}var Ms=class extends Cs{constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r,this.operationsCounter=void 0,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-te}at(t){return this.getLView(t)[ue].$implicit}attach(t,n){let r=n[An];this.needsIndexUpdate||=t!==this.length,aa(this.lContainer,n,t,uo(this.templateTNode,r))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,Bv(this.lContainer,t)}create(t,n){let r=fo(this.lContainer,this.templateTNode.tView.ssrId),o=sa(this.hostLView,this.templateTNode,new Is(this.lContainer,n,t),{dehydratedView:r});return this.operationsCounter?.recordCreate(),o}destroy(t){Ao(t[I],t),this.operationsCounter?.recordDestroy()}updateValue(t,n){this.getLView(t)[ue].$implicit=n}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t(Us(!0),rd(r,o,og()));var vo="en-US";var Gv=vo;function qv(e){typeof e=="string"&&(Gv=e.toLowerCase().replace(/_/g,"-"))}var Wv=(e,t,n)=>{};function ma(e,t,n,r){let o=$(),i=je(),s=ie();return Yv(i,o,o[re],s,e,t,r),ma}function Zv(e,t,n,r){let o=e.cleanup;if(o!=null)for(let i=0;ic?a[c]:null}typeof s=="string"&&(i+=2)}return null}function Yv(e,t,n,r,o,i,s){let a=Ps(r),u=e.firstCreatePass&&bd(e),l=t[ue],d=Id(t),f=!0;if(r.type&3||s){let v=ve(r,t),O=s?s(v):v,F=d.length,Y=s?$e=>s(Le($e[r.index])):r.index;Wv(v,o,i);let G=null;if(!s&&a&&(G=Zv(e,t,o,r.index)),G!==null){let $e=G.__ngLastListenerFn__||G;$e.__ngNextListenerFn__=i,G.__ngLastListenerFn__=i,f=!1}else{i=ju(r,t,l,i,!1);let $e=n.listen(O,o,i);d.push(i,$e),u&&u.push(o,Y,F,F+1)}}else i=ju(r,t,l,i,!1);let h=r.outputs,g;if(f&&h!==null&&(g=h[o])){let v=g.length;if(v)for(let O=0;O-1?st(e.index,t):t;ca(a,5);let c=Lu(t,n,r,s),u=i.__ngNextListenerFn__;for(;u;)c=Lu(t,n,u,s)&&c,u=u.__ngNextListenerFn__;return o&&c===!1&&s.preventDefault(),c}}function jd(e,t,n,r){Nv(e,t,n,r)}function Vd(e){let t=$(),n=je(),r=bl();js(r+1);let o=fa(n,r);if(e.dirty&&$p(t)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=kv(t,r);e.reset(i,bg),e.notifyOnChanges()}return!0}return!1}function $d(){return Tv($(),bl())}function Z(e,t=""){let n=$(),r=je(),o=e+ze,i=r.firstCreatePass?Po(r,o,1,t,null):r.data[o],s=Qv(r,n,i,t,e);n[o]=s,Bs()&&ta(r,n,s,i),qn(i,!1)}var Qv=(e,t,n,r,o)=>(Us(!0),Ug(t[re],r));function xt(e){return Bd("",e,""),xt}function Bd(e,t,n){let r=$(),o=Vv(r,e,t,n);return o!==Oo&&Om(r,xo(),o),Bd}var Kv=(()=>{let t=class t{constructor(r){this._injector=r,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(r){if(!r.standalone)return null;if(!this.cachedInjectors.has(r)){let o=sl(!1,r.type),i=o.length>0?pa([o],this._injector,`Standalone[${r.type.name}]`):null;this.cachedInjectors.set(r,i)}return this.cachedInjectors.get(r)}ngOnDestroy(){try{for(let r of this.cachedInjectors.values())r!==null&&r.destroy()}finally{this.cachedInjectors.clear()}}};t.\u0275prov=E({token:t,providedIn:"environment",factory:()=>new t(x(ge))});let e=t;return e})();function De(e){Lo("NgStandalone"),e.getStandaloneInjector=t=>t.get(Kv).getOrCreateStandaloneInjector(e)}var Vo=(()=>{let t=class t{log(r){console.log(r)}warn(r){console.warn(r)}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"platform"});let e=t;return e})();var Ud=new S("");function er(e){return!!e&&typeof e.then=="function"}function Hd(e){return!!e&&typeof e.subscribe=="function"}var zd=new S(""),Gd=(()=>{let t=class t{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,o)=>{this.resolve=r,this.reject=o}),this.appInits=p(zd,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let r=[];for(let i of this.appInits){let s=i();if(er(s))r.push(s);else if(Hd(s)){let a=new Promise((c,u)=>{s.subscribe({complete:c,error:u})});r.push(a)}}let o=()=>{this.done=!0,this.resolve()};Promise.all(r).then(()=>{o()}).catch(i=>{this.reject(i)}),r.length===0&&o(),this.initialized=!0}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),va=new S("");function Jv(){Mc(()=>{throw new D(600,!1)})}function Xv(e){return e.isBoundToModule}var ey=10;function ty(e,t,n){try{let r=n();return er(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}var dn=(()=>{let t=class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=p(zl),this.afterRenderEffectManager=p(kd),this.zonelessEnabled=p(la),this.externalTestViews=new Set,this.beforeRender=new ee,this.afterTick=new ee,this.componentTypes=[],this.components=[],this.isStable=p(Yn).hasPendingTasks.pipe(T(r=>!r)),this._injector=p(ge)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(r,o){let i=r instanceof ho;if(!this._injector.get(Gd).done){let h=!i&&nl(r),g=!1;throw new D(405,g)}let a;i?a=r:a=this._injector.get(on).resolveComponentFactory(r),this.componentTypes.push(a.componentType);let c=Xv(a)?void 0:this._injector.get(it),u=o||a.selector,l=a.create(Et.NULL,[],u,c),d=l.location.nativeElement,f=l.injector.get(Ud,null);return f?.registerApplication(d),l.onDestroy(()=>{this.detachView(l.hostView),ji(this.components,l),f?.unregisterApplication(d)}),this._loadComponent(l),l}tick(){this._tick(!0)}_tick(r){if(this._runningTick)throw new D(101,!1);let o=A(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(r)}catch(i){this.internalErrorHandler(i)}finally{this._runningTick=!1,A(o),this.afterTick.next()}}detectChangesInAttachedViews(r){let o=null;this._injector.destroyed||(o=this._injector.get(sn,null,{optional:!0}));let i=0,s=this.afterRenderEffectManager;for(;iPn(c))&&(s.execute(),!this.allViews.some(({_lView:c})=>Pn(c))))break}}attachView(r){let o=r;this._views.push(o),o.attachToAppRef(this)}detachView(r){let o=r;ji(this._views,o),o.detachFromAppRef()}_loadComponent(r){this.attachView(r.hostView),this.tick(),this.components.push(r);let o=this._injector.get(va,[]);[...this._bootstrapListeners,...o].forEach(i=>i(r))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(r=>r()),this._views.slice().forEach(r=>r.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(r){return this._destroyListeners.push(r),()=>ji(this._destroyListeners,r)}destroy(){if(this._destroyed)throw new D(406,!1);let r=this._injector;r.destroy&&!r.destroyed&&r.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function ji(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function ny(e,t,n,r){if(!n&&!Pn(e))return;xd(e,t,n&&!r?0:1)}var Ss=class{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},ya=(()=>{let t=class t{compileModuleSync(r){return new ws(r)}compileModuleAsync(r){return Promise.resolve(this.compileModuleSync(r))}compileModuleAndAllComponentsSync(r){let o=this.compileModuleSync(r),i=rl(r),s=nd(i.declarations).reduce((a,c)=>{let u=vt(c);return u&&a.push(new Bn(u)),a},[]);return new Ss(o,s)}compileModuleAndAllComponentsAsync(r){return Promise.resolve(this.compileModuleAndAllComponentsSync(r))}clearCache(){}clearCacheFor(r){}getModuleId(r){}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var ry=!0;var oy=(()=>{let t=class t{constructor(){this.appRef=p(dn),this.taskService=p(Yn),this.ngZone=p(z),this.zonelessEnabled=p(la),this.disableScheduling=p(Ad,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new U,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 us||!this.zoneIsDefined)}notify(r){if(!this.zonelessEnabled&&r===5)return;switch(r){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?Mu:Rd;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&&z.isInAngularZone())}tick(r){if(this.runningTick||this.appRef.destroyed)return;let o=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick(r)},void 0,this.schedulerTickApplyArgs)}catch(i){throw this.taskService.remove(o),i}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Mu(()=>{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 r=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(r)}}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var iy=(()=>{let t=class t{constructor(){this.zone=p(z),this.changeDetectionScheduler=p($n,{optional:!0}),this.applicationRef=p(dn)}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=E({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function qd({ngZoneFactory:e,ignoreChangesOutsideZone:t}){return e??=()=>new z(Zd()),[{provide:z,useFactory:e},{provide:Xt,multi:!0,useFactory:()=>{let n=p(iy,{optional:!0});return()=>n.initialize()}},{provide:Xt,multi:!0,useFactory:()=>{let n=p(ay);return()=>{n.initialize()}}},{provide:zl,useFactory:sy},t===!0?{provide:Ad,useValue:!0}:[],ry||t===!1?{provide:$n,useExisting:oy}:[]]}function sy(){let e=p(z),t=p(Ge);return n=>e.runOutsideAngular(()=>t.handleError(n))}function Wd(e){let t=e?.ignoreChangesOutsideZone,n=qd({ngZoneFactory:()=>{let r=Zd(e);return r.shouldCoalesceEventChangeDetection&&Lo("NgZone_CoalesceEvent"),new z(r)},ignoreChangesOutsideZone:t});return Co([[],{provide:la,useValue:!1},n])}function Zd(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var ay=(()=>{let t=class t{constructor(){this.subscription=new U,this.initialized=!1,this.zone=p(z),this.pendingTasks=p(Yn)}initialize(){if(this.initialized)return;this.initialized=!0;let r=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(r=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{z.assertNotInAngularZone(),queueMicrotask(()=>{r!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(r),r=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{z.assertInAngularZone(),r??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function cy(){return typeof $localize<"u"&&$localize.locale||vo}var Da=new S("",{providedIn:"root",factory:()=>p(Da,M.Optional|M.SkipSelf)||cy()});var Yd=new S("");var Jr=null;function uy(e=[],t){return Et.create({name:t,providers:[{provide:Eo,useValue:"platform"},{provide:Yd,useValue:new Set([()=>Jr=null])},...e]})}function ly(e=[]){if(Jr)return Jr;let t=uy(e);return Jr=t,Jv(),dy(t),t}function dy(e){e.get(Zs,null)?.forEach(n=>n())}var fn=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=fy;let e=t;return e})();function fy(e){return hy(ie(),$(),(e&16)===16)}function hy(e,t,n){if(bo(e)&&!n){let r=st(e.index,t);return new bt(r,r)}else if(e.type&47){let r=t[Te];return new bt(r,t)}return null}function Qd(e){try{let{rootComponent:t,appProviders:n,platformProviders:r}=e,o=ly(r),i=[qd({}),...n||[]],a=new go({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1}).injector,c=a.get(z);return c.run(()=>{a.resolveInjectorInitializers();let u=a.get(Ge,null),l;c.runOutsideAngular(()=>{l=c.onError.subscribe({next:h=>{u.handleError(h)}})});let d=()=>a.destroy(),f=o.get(Yd);return f.add(d),a.onDestroy(()=>{l.unsubscribe(),f.delete(d)}),ty(u,c,()=>{let h=a.get(Gd);return h.runInitializers(),h.donePromise.then(()=>{let g=a.get(Da,vo);qv(g||vo);let v=a.get(dn);return t!==void 0&&v.bootstrap(t),v})})})}catch(t){return Promise.reject(t)}}function tr(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}var nf=null;function hn(){return nf}function rf(e){nf??=e}var $o=class{};var we=new S(""),Ca=(()=>{let t=class t{historyGo(r){throw new Error("")}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=E({token:t,factory:()=>p(py),providedIn:"platform"});let e=t;return e})();var py=(()=>{let t=class t extends Ca{constructor(){super(),this._doc=p(we),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return hn().getBaseHref(this._doc)}onPopState(r){let o=hn().getGlobalEventTarget(this._doc,"window");return o.addEventListener("popstate",r,!1),()=>o.removeEventListener("popstate",r)}onHashChange(r){let o=hn().getGlobalEventTarget(this._doc,"window");return o.addEventListener("hashchange",r,!1),()=>o.removeEventListener("hashchange",r)}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(r){this._location.pathname=r}pushState(r,o,i){this._history.pushState(r,o,i)}replaceState(r,o,i){this._history.replaceState(r,o,i)}forward(){this._history.forward()}back(){this._history.back()}historyGo(r=0){this._history.go(r)}getState(){return this._history.state}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=E({token:t,factory:()=>new t,providedIn:"platform"});let e=t;return e})();function Ea(e,t){if(e.length==0)return t;if(t.length==0)return e;let n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,n==2?e+t.substring(1):n==1?e+t:e+"/"+t}function Kd(e){let t=e.match(/#|\?|$/),n=t&&t.index||e.length,r=n-(e[n-1]==="/"?1:0);return e.slice(0,r)+e.slice(n)}function Qe(e){return e&&e[0]!=="?"?"?"+e:e}var ct=(()=>{let t=class t{historyGo(r){throw new Error("")}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=E({token:t,factory:()=>p(sf),providedIn:"root"});let e=t;return e})(),of=new S(""),sf=(()=>{let t=class t extends ct{constructor(r,o){super(),this._platformLocation=r,this._removeListenerFns=[],this._baseHref=o??this._platformLocation.getBaseHrefFromDOM()??p(we).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(r){this._removeListenerFns.push(this._platformLocation.onPopState(r),this._platformLocation.onHashChange(r))}getBaseHref(){return this._baseHref}prepareExternalUrl(r){return Ea(this._baseHref,r)}path(r=!1){let o=this._platformLocation.pathname+Qe(this._platformLocation.search),i=this._platformLocation.hash;return i&&r?`${o}${i}`:o}pushState(r,o,i,s){let a=this.prepareExternalUrl(i+Qe(s));this._platformLocation.pushState(r,o,a)}replaceState(r,o,i,s){let a=this.prepareExternalUrl(i+Qe(s));this._platformLocation.replaceState(r,o,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(r=0){this._platformLocation.historyGo?.(r)}};t.\u0275fac=function(o){return new(o||t)(x(Ca),x(of,8))},t.\u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),af=(()=>{let t=class t extends ct{constructor(r,o){super(),this._platformLocation=r,this._baseHref="",this._removeListenerFns=[],o!=null&&(this._baseHref=o)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(r){this._removeListenerFns.push(this._platformLocation.onPopState(r),this._platformLocation.onHashChange(r))}getBaseHref(){return this._baseHref}path(r=!1){let o=this._platformLocation.hash??"#";return o.length>0?o.substring(1):o}prepareExternalUrl(r){let o=Ea(this._baseHref,r);return o.length>0?"#"+o:o}pushState(r,o,i,s){let a=this.prepareExternalUrl(i+Qe(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.pushState(r,o,a)}replaceState(r,o,i,s){let a=this.prepareExternalUrl(i+Qe(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.replaceState(r,o,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(r=0){this._platformLocation.historyGo?.(r)}};t.\u0275fac=function(o){return new(o||t)(x(Ca),x(of,8))},t.\u0275prov=E({token:t,factory:t.\u0275fac});let e=t;return e})(),nr=(()=>{let t=class t{constructor(r){this._subject=new J,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=r;let o=this._locationStrategy.getBaseHref();this._basePath=vy(Kd(Jd(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(r=!1){return this.normalize(this._locationStrategy.path(r))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(r,o=""){return this.path()==this.normalize(r+Qe(o))}normalize(r){return t.stripTrailingSlash(my(this._basePath,Jd(r)))}prepareExternalUrl(r){return r&&r[0]!=="/"&&(r="/"+r),this._locationStrategy.prepareExternalUrl(r)}go(r,o="",i=null){this._locationStrategy.pushState(i,"",r,o),this._notifyUrlChangeListeners(this.prepareExternalUrl(r+Qe(o)),i)}replaceState(r,o="",i=null){this._locationStrategy.replaceState(i,"",r,o),this._notifyUrlChangeListeners(this.prepareExternalUrl(r+Qe(o)),i)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(r=0){this._locationStrategy.historyGo?.(r)}onUrlChange(r){return this._urlChangeListeners.push(r),this._urlChangeSubscription??=this.subscribe(o=>{this._notifyUrlChangeListeners(o.url,o.state)}),()=>{let o=this._urlChangeListeners.indexOf(r);this._urlChangeListeners.splice(o,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(r="",o){this._urlChangeListeners.forEach(i=>i(r,o))}subscribe(r,o,i){return this._subject.subscribe({next:r,error:o,complete:i})}};t.normalizeQueryParams=Qe,t.joinWithSlash=Ea,t.stripTrailingSlash=Kd,t.\u0275fac=function(o){return new(o||t)(x(ct))},t.\u0275prov=E({token:t,factory:()=>gy(),providedIn:"root"});let e=t;return e})();function gy(){return new nr(x(ct))}function my(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function Jd(e){return e.replace(/\/index.html$/,"")}function vy(e){if(new RegExp("^(https?:)?//").test(e)){let[,n]=e.split(/\/\/[^\/]+/);return n}return e}function cf(e,t){t=encodeURIComponent(t);for(let n of e.split(";")){let r=n.indexOf("="),[o,i]=r==-1?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}var uf="browser",yy="server";function Ia(e){return e===yy}var Bo=class{};var Sa=class extends $o{constructor(){super(...arguments),this.supportsDOMEvents=!0}},xa=class e extends Sa{static makeCurrent(){rf(new e)}onAndCancel(t,n,r){return t.addEventListener(n,r),()=>{t.removeEventListener(n,r)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,n){return n=n||this.getDefaultDocument(),n.createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,n){return n==="window"?window:n==="document"?t:n==="body"?t.body:null}getBaseHref(t){let n=Cy();return n==null?null:Ey(n)}resetBaseElement(){rr=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return cf(document.cookie,t)}},rr=null;function Cy(){return rr=rr||document.querySelector("base"),rr?rr.getAttribute("href"):null}function Ey(e){return new URL(e,document.baseURI).pathname}var Iy=(()=>{let t=class t{build(){return new XMLHttpRequest}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=E({token:t,factory:t.\u0275fac});let e=t;return e})(),Ta=new S(""),hf=(()=>{let t=class t{constructor(r,o){this._zone=o,this._eventNameToPlugin=new Map,r.forEach(i=>{i.manager=this}),this._plugins=r.slice().reverse()}addEventListener(r,o,i){return this._findPluginFor(o).addEventListener(r,o,i)}getZone(){return this._zone}_findPluginFor(r){let o=this._eventNameToPlugin.get(r);if(o)return o;if(o=this._plugins.find(s=>s.supports(r)),!o)throw new D(5101,!1);return this._eventNameToPlugin.set(r,o),o}};t.\u0275fac=function(o){return new(o||t)(x(Ta),x(z))},t.\u0275prov=E({token:t,factory:t.\u0275fac});let e=t;return e})(),Uo=class{constructor(t){this._doc=t}},ba="ng-app-id",pf=(()=>{let t=class t{constructor(r,o,i,s={}){this.doc=r,this.appId=o,this.nonce=i,this.platformId=s,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=Ia(s),this.resetHostNodes()}addStyles(r){for(let o of r)this.changeUsageCount(o,1)===1&&this.onStyleAdded(o)}removeStyles(r){for(let o of r)this.changeUsageCount(o,-1)<=0&&this.onStyleRemoved(o)}ngOnDestroy(){let r=this.styleNodesInDOM;r&&(r.forEach(o=>o.remove()),r.clear());for(let o of this.getAllStyles())this.onStyleRemoved(o);this.resetHostNodes()}addHost(r){this.hostNodes.add(r);for(let o of this.getAllStyles())this.addStyleToHost(r,o)}removeHost(r){this.hostNodes.delete(r)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(r){for(let o of this.hostNodes)this.addStyleToHost(o,r)}onStyleRemoved(r){let o=this.styleRef;o.get(r)?.elements?.forEach(i=>i.remove()),o.delete(r)}collectServerRenderedStyles(){let r=this.doc.head?.querySelectorAll(`style[${ba}="${this.appId}"]`);if(r?.length){let o=new Map;return r.forEach(i=>{i.textContent!=null&&o.set(i.textContent,i)}),o}return null}changeUsageCount(r,o){let i=this.styleRef;if(i.has(r)){let s=i.get(r);return s.usage+=o,s.usage}return i.set(r,{usage:o,elements:[]}),o}getStyleElement(r,o){let i=this.styleNodesInDOM,s=i?.get(o);if(s?.parentNode===r)return i.delete(o),s.removeAttribute(ba),s;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=o,this.platformIsServer&&a.setAttribute(ba,this.appId),r.appendChild(a),a}}addStyleToHost(r,o){let i=this.getStyleElement(r,o),s=this.styleRef,a=s.get(o)?.elements;a?a.push(i):s.set(o,{elements:[i],usage:1})}resetHostNodes(){let r=this.hostNodes;r.clear(),r.add(this.doc.head)}};t.\u0275fac=function(o){return new(o||t)(x(we),x(Ws),x(Ys,8),x(un))},t.\u0275prov=E({token:t,factory:t.\u0275fac});let e=t;return e})(),Ma={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"},Na=/%COMP%/g,gf="%COMP%",by=`_nghost-${gf}`,My=`_ngcontent-${gf}`,Sy=!0,xy=new S("",{providedIn:"root",factory:()=>Sy});function Ty(e){return My.replace(Na,e)}function _y(e){return by.replace(Na,e)}function mf(e,t){return t.map(n=>n.replace(Na,e))}var lf=(()=>{let t=class t{constructor(r,o,i,s,a,c,u,l=null){this.eventManager=r,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=Ia(c),this.defaultRenderer=new or(r,a,u,this.platformIsServer)}createRenderer(r,o){if(!r||!o)return this.defaultRenderer;this.platformIsServer&&o.encapsulation===Pe.ShadowDom&&(o=B(m({},o),{encapsulation:Pe.Emulated}));let i=this.getOrCreateRenderer(r,o);return i instanceof Ho?i.applyToHost(r):i instanceof ir&&i.applyStyles(),i}getOrCreateRenderer(r,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,f=this.platformIsServer;switch(o.encapsulation){case Pe.Emulated:s=new Ho(u,l,o,this.appId,d,a,c,f);break;case Pe.ShadowDom:return new _a(u,l,r,o,a,c,this.nonce,f);default:s=new ir(u,l,o,d,a,c,f);break}i.set(o.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}};t.\u0275fac=function(o){return new(o||t)(x(hf),x(pf),x(Ws),x(xy),x(we),x(un),x(z),x(Ys))},t.\u0275prov=E({token:t,factory:t.\u0275fac});let e=t;return e})(),or=class{constructor(t,n,r,o){this.eventManager=t,this.doc=n,this.ngZone=r,this.platformIsServer=o,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(t,n){return n?this.doc.createElementNS(Ma[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(df(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(df(t)?t.content:t).insertBefore(n,r)}removeChild(t,n){t&&t.removeChild(n)}selectRootElement(t,n){let r=typeof t=="string"?this.doc.querySelector(t):t;if(!r)throw new D(-5104,!1);return n||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,r,o){if(o){n=o+":"+n;let i=Ma[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){let o=Ma[r];o?t.removeAttributeNS(o,n):t.removeAttribute(`${r}:${n}`)}else t.removeAttribute(n)}addClass(t,n){t.classList.add(n)}removeClass(t,n){t.classList.remove(n)}setStyle(t,n,r,o){o&(St.DashCase|St.Important)?t.style.setProperty(n,r,o&St.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&St.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,r){t!=null&&(t[n]=r)}setValue(t,n){t.nodeValue=n}listen(t,n,r){if(typeof t=="string"&&(t=hn().getGlobalEventTarget(this.doc,t),!t))throw new Error(`Unsupported event target ${t} for event ${n}`);return this.eventManager.addEventListener(t,n,this.decoratePreventDefault(r))}decoratePreventDefault(t){return n=>{if(n==="__ngUnwrap__")return t;(this.platformIsServer?this.ngZone.runGuarded(()=>t(n)):t(n))===!1&&n.preventDefault()}}};function df(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var _a=class extends or{constructor(t,n,r,o,i,s,a,c){super(t,i,s,c),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let u=mf(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,n){return super.appendChild(this.nodeOrShadowRoot(t),n)}insertBefore(t,n,r){return super.insertBefore(this.nodeOrShadowRoot(t),n,r)}removeChild(t,n){return super.removeChild(this.nodeOrShadowRoot(t),n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},ir=class extends or{constructor(t,n,r,o,i,s,a,c){super(t,i,s,a),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=o,this.styles=c?mf(c,r.styles):r.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},Ho=class extends ir{constructor(t,n,r,o,i,s,a,c){let u=o+"-"+r.id;super(t,n,r,i,s,a,c,u),this.contentAttr=Ty(u),this.hostAttr=_y(u)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,n){let r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,""),r}},Ny=(()=>{let t=class t extends Uo{constructor(r){super(r)}supports(r){return!0}addEventListener(r,o,i){return r.addEventListener(o,i,!1),()=>this.removeEventListener(r,o,i)}removeEventListener(r,o,i){return r.removeEventListener(o,i)}};t.\u0275fac=function(o){return new(o||t)(x(we))},t.\u0275prov=E({token:t,factory:t.\u0275fac});let e=t;return e})(),ff=["alt","control","meta","shift"],Ay={"\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"},Ry={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},Oy=(()=>{let t=class t extends Uo{constructor(r){super(r)}supports(r){return t.parseEventName(r)!=null}addEventListener(r,o,i){let s=t.parseEventName(o),a=t.eventCallback(s.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>hn().onAndCancel(r,s.domEventName,a))}static parseEventName(r){let o=r.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."),ff.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(r,o){let i=Ay[r.key]||r.key,s="";return o.indexOf("code.")>-1&&(i=r.code,s="code."),i==null||!i?!1:(i=i.toLowerCase(),i===" "?i="space":i==="."&&(i="dot"),ff.forEach(a=>{if(a!==i){let c=Ry[a];c(r)&&(s+=a+".")}}),s+=i,s===o)}static eventCallback(r,o,i){return s=>{t.matchEventFullKeyCode(s,r)&&i.runGuarded(()=>o(s))}}static _normalizeKey(r){return r==="esc"?"escape":r}};t.\u0275fac=function(o){return new(o||t)(x(we))},t.\u0275prov=E({token:t,factory:t.\u0275fac});let e=t;return e})();function vf(e,t){return Qd(m({rootComponent:e},ky(t)))}function ky(e){return{appProviders:[...Vy,...e?.providers??[]],platformProviders:jy}}function Py(){xa.makeCurrent()}function Fy(){return new Ge}function Ly(){return Kl(document),document}var jy=[{provide:un,useValue:uf},{provide:Zs,useValue:Py,multi:!0},{provide:we,useFactory:Ly,deps:[]}];var Vy=[{provide:Eo,useValue:"root"},{provide:Ge,useFactory:Fy,deps:[]},{provide:Ta,useClass:Ny,multi:!0,deps:[we,z,un]},{provide:Ta,useClass:Oy,multi:!0,deps:[we]},lf,pf,hf,{provide:sn,useExisting:lf},{provide:Bo,useClass:Iy,deps:[]},[]];var yf=(()=>{let t=class t{constructor(r){this._doc=r}getTitle(){return this._doc.title}setTitle(r){this._doc.title=r||""}};t.\u0275fac=function(o){return new(o||t)(x(we))},t.\u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var b="primary",Er=Symbol("RouteTitle"),Pa=class{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){let n=this.params[t];return Array.isArray(n)?n[0]:n}return null}getAll(t){if(this.has(t)){let n=this.params[t];return Array.isArray(n)?n:[n]}return[]}get keys(){return Object.keys(this.params)}};function Dn(e){return new Pa(e)}function By(e,t,n){let r=n.path.split("/");if(r.length>e.length||n.pathMatch==="full"&&(t.hasChildren()||r.lengthr[i]===o)}else return e===t}function xf(e){return e.length>0?e[e.length-1]:null}function dt(e){return Ei(e)?e:er(e)?H(Promise.resolve(e)):w(e)}var Hy={exact:_f,subset:Nf},Tf={exact:zy,subset:Gy,ignored:()=>!0};function Df(e,t,n){return Hy[n.paths](e.root,t.root,n.matrixParams)&&Tf[n.queryParams](e.queryParams,t.queryParams)&&!(n.fragment==="exact"&&e.fragment!==t.fragment)}function zy(e,t){return Ve(e,t)}function _f(e,t,n){if(!_t(e.segments,t.segments)||!qo(e.segments,t.segments,n)||e.numberOfChildren!==t.numberOfChildren)return!1;for(let r in t.children)if(!e.children[r]||!_f(e.children[r],t.children[r],n))return!1;return!0}function Gy(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(n=>Sf(e[n],t[n]))}function Nf(e,t,n){return Af(e,t,t.segments,n)}function Af(e,t,n,r){if(e.segments.length>n.length){let o=e.segments.slice(0,n.length);return!(!_t(o,n)||t.hasChildren()||!qo(o,n,r))}else if(e.segments.length===n.length){if(!_t(e.segments,n)||!qo(e.segments,n,r))return!1;for(let o in t.children)if(!e.children[o]||!Nf(e.children[o],t.children[o],r))return!1;return!0}else{let o=n.slice(0,e.segments.length),i=n.slice(e.segments.length);return!_t(e.segments,o)||!qo(e.segments,o,r)||!e.children[b]?!1:Af(e.children[b],t,i,r)}}function qo(e,t,n){return t.every((r,o)=>Tf[n](e[o].parameters,r.parameters))}var ut=class{constructor(t=new P([],{}),n={},r=null){this.root=t,this.queryParams=n,this.fragment=r}get queryParamMap(){return this._queryParamMap??=Dn(this.queryParams),this._queryParamMap}toString(){return Zy.serialize(this)}},P=class{constructor(t,n){this.segments=t,this.children=n,this.parent=null,Object.values(n).forEach(r=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Wo(this)}},Tt=class{constructor(t,n){this.path=t,this.parameters=n}get parameterMap(){return this._parameterMap??=Dn(this.parameters),this._parameterMap}toString(){return Of(this)}};function qy(e,t){return _t(e,t)&&e.every((n,r)=>Ve(n.parameters,t[r].parameters))}function _t(e,t){return e.length!==t.length?!1:e.every((n,r)=>n.path===t[r].path)}function Wy(e,t){let n=[];return Object.entries(e.children).forEach(([r,o])=>{r===b&&(n=n.concat(t(o,r)))}),Object.entries(e.children).forEach(([r,o])=>{r!==b&&(n=n.concat(t(o,r)))}),n}var cc=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=E({token:t,factory:()=>new fr,providedIn:"root"});let e=t;return e})(),fr=class{parse(t){let n=new ja(t);return new ut(n.parseRootSegment(),n.parseQueryParams(),n.parseFragment())}serialize(t){let n=`/${sr(t.root,!0)}`,r=Ky(t.queryParams),o=typeof t.fragment=="string"?`#${Yy(t.fragment)}`:"";return`${n}${r}${o}`}},Zy=new fr;function Wo(e){return e.segments.map(t=>Of(t)).join("/")}function sr(e,t){if(!e.hasChildren())return Wo(e);if(t){let n=e.children[b]?sr(e.children[b],!1):"",r=[];return Object.entries(e.children).forEach(([o,i])=>{o!==b&&r.push(`${o}:${sr(i,!1)}`)}),r.length>0?`${n}(${r.join("//")})`:n}else{let n=Wy(e,(r,o)=>o===b?[sr(e.children[b],!1)]:[`${o}:${sr(r,!1)}`]);return Object.keys(e.children).length===1&&e.children[b]!=null?`${Wo(e)}/${n[0]}`:`${Wo(e)}/(${n.join("//")})`}}function Rf(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function zo(e){return Rf(e).replace(/%3B/gi,";")}function Yy(e){return encodeURI(e)}function La(e){return Rf(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Zo(e){return decodeURIComponent(e)}function wf(e){return Zo(e.replace(/\+/g,"%20"))}function Of(e){return`${La(e.path)}${Qy(e.parameters)}`}function Qy(e){return Object.entries(e).map(([t,n])=>`;${La(t)}=${La(n)}`).join("")}function Ky(e){let t=Object.entries(e).map(([n,r])=>Array.isArray(r)?r.map(o=>`${zo(n)}=${zo(o)}`).join("&"):`${zo(n)}=${zo(r)}`).filter(n=>n);return t.length?`?${t.join("&")}`:""}var Jy=/^[^\/()?;#]+/;function Aa(e){let t=e.match(Jy);return t?t[0]:""}var Xy=/^[^\/()?;=#]+/;function eD(e){let t=e.match(Xy);return t?t[0]:""}var tD=/^[^=?&#]+/;function nD(e){let t=e.match(tD);return t?t[0]:""}var rD=/^[^&#]+/;function oD(e){let t=e.match(rD);return t?t[0]:""}var ja=class{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new P([],{}):new P([],this.parseChildren())}parseQueryParams(){let t={};if(this.consumeOptional("?"))do this.parseQueryParam(t);while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let n={};this.peekStartsWith("/(")&&(this.capture("/"),n=this.parseParens(!0));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1)),(t.length>0||Object.keys(n).length>0)&&(r[b]=new P(t,n)),r}parseSegment(){let t=Aa(this.remaining);if(t===""&&this.peekStartsWith(";"))throw new D(4009,!1);return this.capture(t),new Tt(Zo(t),this.parseMatrixParams())}parseMatrixParams(){let t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){let n=eD(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){let o=Aa(this.remaining);o&&(r=o,this.capture(r))}t[Zo(n)]=Zo(r)}parseQueryParam(t){let n=nD(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){let s=oD(this.remaining);s&&(r=s,this.capture(r))}let o=wf(n),i=wf(r);if(t.hasOwnProperty(o)){let s=t[o];Array.isArray(s)||(s=[s],t[o]=s),s.push(i)}else t[o]=i}parseParens(t){let n={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let r=Aa(this.remaining),o=this.remaining[r.length];if(o!=="/"&&o!==")"&&o!==";")throw new D(4010,!1);let i;r.indexOf(":")>-1?(i=r.slice(0,r.indexOf(":")),this.capture(i),this.capture(":")):t&&(i=b);let s=this.parseChildren();n[i]=Object.keys(s).length===1?s[b]:new P([],s),this.consumeOptional("//")}return n}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return this.peekStartsWith(t)?(this.remaining=this.remaining.substring(t.length),!0):!1}capture(t){if(!this.consumeOptional(t))throw new D(4011,!1)}};function kf(e){return e.segments.length>0?new P([],{[b]:e}):e}function Pf(e){let t={};for(let[r,o]of Object.entries(e.children)){let i=Pf(o);if(r===b&&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[r]=i)}let n=new P(e.segments,t);return iD(n)}function iD(e){if(e.numberOfChildren===1&&e.children[b]){let t=e.children[b];return new P(e.segments.concat(t.segments),t.children)}return e}function hr(e){return e instanceof ut}function sD(e,t,n=null,r=null){let o=Ff(e);return Lf(o,t,n,r)}function Ff(e){let t;function n(i){let s={};for(let c of i.children){let u=n(c);s[c.outlet]=u}let a=new P(i.url,s);return i===e&&(t=a),a}let r=n(e.root),o=kf(r);return t??o}function Lf(e,t,n,r){let o=e;for(;o.parent;)o=o.parent;if(t.length===0)return Ra(o,o,o,n,r);let i=aD(t);if(i.toRoot())return Ra(o,o,new P([],{}),n,r);let s=cD(i,o,e),a=s.processChildren?ur(s.segmentGroup,s.index,i.commands):Vf(s.segmentGroup,s.index,i.commands);return Ra(o,s.segmentGroup,a,n,r)}function Yo(e){return typeof e=="object"&&e!=null&&!e.outlets&&!e.segmentPath}function pr(e){return typeof e=="object"&&e!=null&&e.outlets}function Ra(e,t,n,r,o){let i={};r&&Object.entries(r).forEach(([c,u])=>{i[c]=Array.isArray(u)?u.map(l=>`${l}`):`${u}`});let s;e===t?s=n:s=jf(e,t,n);let a=kf(Pf(s));return new ut(a,i,o)}function jf(e,t,n){let r={};return Object.entries(e.children).forEach(([o,i])=>{i===t?r[o]=n:r[o]=jf(i,t,n)}),new P(e.segments,r)}var Qo=class{constructor(t,n,r){if(this.isAbsolute=t,this.numberOfDoubleDots=n,this.commands=r,t&&r.length>0&&Yo(r[0]))throw new D(4003,!1);let o=r.find(pr);if(o&&o!==xf(r))throw new D(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function aD(e){if(typeof e[0]=="string"&&e.length===1&&e[0]==="/")return new Qo(!0,0,e);let t=0,n=!1,r=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===""?n=!0:a===".."?t++:a!=""&&o.push(a))}),o):[...o,i]},[]);return new Qo(n,t,r)}var mn=class{constructor(t,n,r){this.segmentGroup=t,this.processChildren=n,this.index=r}};function cD(e,t,n){if(e.isAbsolute)return new mn(t,!0,0);if(!n)return new mn(t,!1,NaN);if(n.parent===null)return new mn(n,!0,0);let r=Yo(e.commands[0])?0:1,o=n.segments.length-1+r;return uD(n,o,e.numberOfDoubleDots)}function uD(e,t,n){let r=e,o=t,i=n;for(;i>o;){if(i-=o,r=r.parent,!r)throw new D(4005,!1);o=r.segments.length}return new mn(r,!1,o-i)}function lD(e){return pr(e[0])?e[0].outlets:{[b]:e}}function Vf(e,t,n){if(e??=new P([],{}),e.segments.length===0&&e.hasChildren())return ur(e,t,n);let r=dD(e,t,n),o=n.slice(r.commandIndex);if(r.match&&r.pathIndexi!==b)&&e.children[b]&&e.numberOfChildren===1&&e.children[b].segments.length===0){let i=ur(e.children[b],t,n);return new P(e.segments,i.children)}return Object.entries(r).forEach(([i,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(o[i]=Vf(e.children[i],t,s))}),Object.entries(e.children).forEach(([i,s])=>{r[i]===void 0&&(o[i]=s)}),new P(e.segments,o)}}function dD(e,t,n){let r=0,o=t,i={match:!1,pathIndex:0,commandIndex:0};for(;o=n.length)return i;let s=e.segments[o],a=n[r];if(pr(a))break;let c=`${a}`,u=r0&&c===void 0)break;if(c&&u&&typeof u=="object"&&u.outlets===void 0){if(!Ef(c,u,s))return i;r+=2}else{if(!Ef(c,{},s))return i;r++}o++}return{match:!0,pathIndex:o,commandIndex:r}}function Va(e,t,n){let r=e.segments.slice(0,t),o=0;for(;o{typeof r=="string"&&(r=[r]),r!==null&&(t[n]=Va(new P([],{}),0,r))}),t}function Cf(e){let t={};return Object.entries(e).forEach(([n,r])=>t[n]=`${r}`),t}function Ef(e,t,n){return e==n.path&&Ve(t,n.parameters)}var lr="imperative",X=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}(X||{}),Ce=class{constructor(t,n){this.id=t,this.url=n}},gr=class extends Ce{constructor(t,n,r="imperative",o=null){super(t,n),this.type=X.NavigationStart,this.navigationTrigger=r,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},Je=class extends Ce{constructor(t,n,r){super(t,n),this.urlAfterRedirects=r,this.type=X.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},fe=function(e){return e[e.Redirect=0]="Redirect",e[e.SupersededByNewNavigation=1]="SupersededByNewNavigation",e[e.NoDataFromResolver=2]="NoDataFromResolver",e[e.GuardRejected=3]="GuardRejected",e}(fe||{}),$a=function(e){return e[e.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",e[e.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",e}($a||{}),Ke=class extends Ce{constructor(t,n,r,o){super(t,n),this.reason=r,this.code=o,this.type=X.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},Nt=class extends Ce{constructor(t,n,r,o){super(t,n),this.reason=r,this.code=o,this.type=X.NavigationSkipped}},mr=class extends Ce{constructor(t,n,r,o){super(t,n),this.error=r,this.target=o,this.type=X.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Ko=class extends Ce{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=X.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Ba=class extends Ce{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=X.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Ua=class extends Ce{constructor(t,n,r,o,i){super(t,n),this.urlAfterRedirects=r,this.state=o,this.shouldActivate=i,this.type=X.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},Ha=class extends Ce{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=X.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},za=class extends Ce{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=X.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=X.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},qa=class{constructor(t){this.route=t,this.type=X.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Wa=class{constructor(t){this.snapshot=t,this.type=X.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Za=class{constructor(t){this.snapshot=t,this.type=X.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Ya=class{constructor(t){this.snapshot=t,this.type=X.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Qa=class{constructor(t){this.snapshot=t,this.type=X.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}};var vr=class{},wn=class{constructor(t,n){this.url=t,this.navigationBehaviorOptions=n}};var Ka=class{constructor(t){this.injector=t,this.outlet=null,this.route=null,this.children=new oi(this.injector),this.attachRef=null}},oi=(()=>{let t=class t{constructor(r){this.parentInjector=r,this.contexts=new Map}onChildOutletCreated(r,o){let i=this.getOrCreateContext(r);i.outlet=o,this.contexts.set(r,i)}onChildOutletDestroyed(r){let o=this.getContext(r);o&&(o.outlet=null,o.attachRef=null)}onOutletDeactivated(){let r=this.contexts;return this.contexts=new Map,r}onOutletReAttached(r){this.contexts=r}getOrCreateContext(r){let o=this.getContext(r);return o||(o=new Ka(this.parentInjector),this.contexts.set(r,o)),o}getContext(r){return this.contexts.get(r)||null}};t.\u0275fac=function(o){return new(o||t)(x(ge))},t.\u0275prov=E({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 n=this.pathFromRoot(t);return n.length>1?n[n.length-2]:null}children(t){let n=Ja(t,this._root);return n?n.children.map(r=>r.value):[]}firstChild(t){let n=Ja(t,this._root);return n&&n.children.length>0?n.children[0].value:null}siblings(t){let n=Xa(t,this._root);return n.length<2?[]:n[n.length-2].children.map(o=>o.value).filter(o=>o!==t)}pathFromRoot(t){return Xa(t,this._root).map(n=>n.value)}};function Ja(e,t){if(e===t.value)return t;for(let n of t.children){let r=Ja(e,n);if(r)return r}return null}function Xa(e,t){if(e===t.value)return[t];for(let n of t.children){let r=Xa(e,n);if(r.length)return r.unshift(t),r}return[]}var de=class{constructor(t,n){this.value=t,this.children=n}toString(){return`TreeNode(${this.value})`}};function gn(e){let t={};return e&&e.children.forEach(n=>t[n.value.outlet]=n),t}var Xo=class extends Jo{constructor(t,n){super(t),this.snapshot=n,uc(this,t)}toString(){return this.snapshot.toString()}};function $f(e){let t=hD(e),n=new Q([new Tt("",{})]),r=new Q({}),o=new Q({}),i=new Q({}),s=new Q(""),a=new At(n,r,i,s,o,b,e,t.root);return a.snapshot=t.root,new Xo(new de(a,[]),t)}function hD(e){let t={},n={},r={},o="",i=new vn([],t,r,o,n,b,e,null,{});return new ti("",new de(i,[]))}var At=class{constructor(t,n,r,o,i,s,a,c){this.urlSubject=t,this.paramsSubject=n,this.queryParamsSubject=r,this.fragmentSubject=o,this.dataSubject=i,this.outlet=s,this.component=a,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(T(u=>u[Er]))??w(void 0),this.url=t,this.params=n,this.queryParams=r,this.fragment=o,this.data=i}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(T(t=>Dn(t))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(T(t=>Dn(t))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function ei(e,t,n="emptyOnly"){let r,{routeConfig:o}=e;return t!==null&&(n==="always"||o?.path===""||!t.component&&!t.routeConfig?.loadComponent)?r={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)}:r={params:m({},e.params),data:m({},e.data),resolve:m(m({},e.data),e._resolvedData??{})},o&&Uf(o)&&(r.resolve[Er]=o.title),r}var vn=class{get title(){return this.data?.[Er]}constructor(t,n,r,o,i,s,a,c,u){this.url=t,this.params=n,this.queryParams=r,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??=Dn(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Dn(this.queryParams),this._queryParamMap}toString(){let t=this.url.map(r=>r.toString()).join("/"),n=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${t}', path:'${n}')`}},ti=class extends Jo{constructor(t,n){super(n),this.url=t,uc(this,n)}toString(){return Bf(this._root)}};function uc(e,t){t.value._routerState=e,t.children.forEach(n=>uc(e,n))}function Bf(e){let t=e.children.length>0?` { ${e.children.map(Bf).join(", ")} } `:"";return`${e.value}${t}`}function Oa(e){if(e.snapshot){let t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,Ve(t.queryParams,n.queryParams)||e.queryParamsSubject.next(n.queryParams),t.fragment!==n.fragment&&e.fragmentSubject.next(n.fragment),Ve(t.params,n.params)||e.paramsSubject.next(n.params),Uy(t.url,n.url)||e.urlSubject.next(n.url),Ve(t.data,n.data)||e.dataSubject.next(n.data)}else e.snapshot=e._futureSnapshot,e.dataSubject.next(e._futureSnapshot.data)}function ec(e,t){let n=Ve(e.params,t.params)&&qy(e.url,t.url),r=!e.parent!=!t.parent;return n&&!r&&(!e.parent||ec(e.parent,t.parent))}function Uf(e){return typeof e.title=="string"||e.title===null}var lc=(()=>{let t=class t{constructor(){this.activated=null,this._activatedRoute=null,this.name=b,this.activateEvents=new J,this.deactivateEvents=new J,this.attachEvents=new J,this.detachEvents=new J,this.parentContexts=p(oi),this.location=p(ln),this.changeDetector=p(fn),this.inputBinder=p(dc,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(r){if(r.name){let{firstChange:o,previousValue:i}=r.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(r){return this.parentContexts.getContext(r)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let r=this.parentContexts.getContext(this.name);r?.route&&(r.attachRef?this.attach(r.attachRef,r.route):this.activateWith(r.route,r.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new D(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new D(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new D(4012,!1);this.location.detach();let r=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(r.instance),r}attach(r,o){this.activated=r,this._activatedRoute=o,this.location.insert(r.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(r.instance)}deactivate(){if(this.activated){let r=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(r)}}activateWith(r,o){if(this.isActivated)throw new D(4013,!1);this._activatedRoute=r;let i=this.location,a=r.snapshot.component,c=this.parentContexts.getOrCreateContext(this.name).children,u=new tc(r,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=Hn({type:t,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[an]});let e=t;return e})(),tc=class e{__ngOutletInjector(t){return new e(this.route,this.childContexts,t)}constructor(t,n,r){this.route=t,this.childContexts=n,this.parent=r}get(t,n){return t===At?this.route:t===oi?this.childContexts:this.parent.get(t,n)}},dc=new S("");function pD(e,t,n){let r=yr(e,t._root,n?n._root:void 0);return new Xo(r,t)}function yr(e,t,n){if(n&&e.shouldReuseRoute(t.value,n.value.snapshot)){let r=n.value;r._futureSnapshot=t.value;let o=gD(e,t,n);return new de(r,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=>yr(e,a)),s}}let r=mD(t.value),o=t.children.map(i=>yr(e,i));return new de(r,o)}}function gD(e,t,n){return t.children.map(r=>{for(let o of n.children)if(e.shouldReuseRoute(r.value,o.value.snapshot))return yr(e,r,o);return yr(e,r)})}function mD(e){return new At(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 Dr=class{constructor(t,n){this.redirectTo=t,this.navigationBehaviorOptions=n}},Hf="ngNavigationCancelingError";function ni(e,t){let{redirectTo:n,navigationBehaviorOptions:r}=hr(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,o=zf(!1,fe.Redirect);return o.url=n,o.navigationBehaviorOptions=r,o}function zf(e,t){let n=new Error(`NavigationCancelingError: ${e||""}`);return n[Hf]=!0,n.cancellationCode=t,n}function vD(e){return Gf(e)&&hr(e.url)}function Gf(e){return!!e&&e[Hf]}var yD=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275cmp=me({type:t,selectors:[["ng-component"]],standalone:!0,features:[De],decls:1,vars:0,template:function(o,i){o&1&&ye(0,"router-outlet")},dependencies:[lc],encapsulation:2});let e=t;return e})();function DD(e,t){return e.providers&&!e._injector&&(e._injector=pa(e.providers,t,`Route: ${e.path}`)),e._injector??t}function fc(e){let t=e.children&&e.children.map(fc),n=t?B(m({},e),{children:t}):m({},e);return!n.component&&!n.loadComponent&&(t||n.loadChildren)&&n.outlet&&n.outlet!==b&&(n.component=yD),n}function Ae(e){return e.outlet||b}function wD(e,t){let n=e.filter(r=>Ae(r)===t);return n.push(...e.filter(r=>Ae(r)!==t)),n}function Ir(e){if(!e)return null;if(e.routeConfig?._injector)return e.routeConfig._injector;for(let t=e.parent;t;t=t.parent){let n=t.routeConfig;if(n?._loadedInjector)return n._loadedInjector;if(n?._injector)return n._injector}return null}var CD=(e,t,n,r)=>T(o=>(new nc(t,o.targetRouterState,o.currentRouterState,n,r).activate(e),o)),nc=class{constructor(t,n,r,o,i){this.routeReuseStrategy=t,this.futureState=n,this.currState=r,this.forwardEvent=o,this.inputBindingEnabled=i}activate(t){let n=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(n,r,t),Oa(this.futureState.root),this.activateChildRoutes(n,r,t)}deactivateChildRoutes(t,n,r){let o=gn(n);t.children.forEach(i=>{let s=i.value.outlet;this.deactivateRoutes(i,o[s],r),delete o[s]}),Object.values(o).forEach(i=>{this.deactivateRouteAndItsChildren(i,r)})}deactivateRoutes(t,n,r){let o=t.value,i=n?n.value:null;if(o===i)if(o.component){let s=r.getContext(o.outlet);s&&this.deactivateChildRoutes(t,n,s.children)}else this.deactivateChildRoutes(t,n,r);else i&&this.deactivateRouteAndItsChildren(n,r)}deactivateRouteAndItsChildren(t,n){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,n):this.deactivateRouteAndOutlet(t,n)}detachAndStoreRouteSubtree(t,n){let r=n.getContext(t.value.outlet),o=r&&t.value.component?r.children:n,i=gn(t);for(let s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);if(r&&r.outlet){let s=r.outlet.detach(),a=r.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:s,route:t,contexts:a})}}deactivateRouteAndOutlet(t,n){let r=n.getContext(t.value.outlet),o=r&&t.value.component?r.children:n,i=gn(t);for(let s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);r&&(r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated()),r.attachRef=null,r.route=null)}activateChildRoutes(t,n,r){let o=gn(n);t.children.forEach(i=>{this.activateRoutes(i,o[i.value.outlet],r),this.forwardEvent(new Qa(i.value.snapshot))}),t.children.length&&this.forwardEvent(new Za(t.value.snapshot))}activateRoutes(t,n,r){let o=t.value,i=n?n.value:null;if(Oa(o),o===i)if(o.component){let s=r.getOrCreateContext(o.outlet);this.activateChildRoutes(t,n,s.children)}else this.activateChildRoutes(t,n,r);else if(o.component){let s=r.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),Oa(a.route.value),this.activateChildRoutes(t,null,s.children)}else{let a=Ir(o.snapshot);s.attachRef=null,s.route=o,s.injector=a??s.injector,s.outlet&&s.outlet.activateWith(o,s.injector),this.activateChildRoutes(t,null,s.children)}}else this.activateChildRoutes(t,null,r)}},ri=class{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}},yn=class{constructor(t,n){this.component=t,this.route=n}};function ED(e,t,n){let r=e._root,o=t?t._root:null;return ar(r,o,n,[r.value])}function ID(e){let t=e.routeConfig?e.routeConfig.canActivateChild:null;return!t||t.length===0?null:{node:e,guards:t}}function En(e,t){let n=Symbol(),r=t.get(e,n);return r===n?typeof e=="function"&&!Uu(e)?e:t.get(e):r}function ar(e,t,n,r,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=gn(t);return e.children.forEach(s=>{bD(s,i[s.value.outlet],n,r.concat([s.value]),o),delete i[s.value.outlet]}),Object.entries(i).forEach(([s,a])=>dr(a,n.getContext(s),o)),o}function bD(e,t,n,r,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=e.value,s=t?t.value:null,a=n?n.getContext(e.value.outlet):null;if(s&&i.routeConfig===s.routeConfig){let c=MD(s,i,i.routeConfig.runGuardsAndResolvers);c?o.canActivateChecks.push(new ri(r)):(i.data=s.data,i._resolvedData=s._resolvedData),i.component?ar(e,t,a?a.children:null,r,o):ar(e,t,n,r,o),c&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new yn(a.outlet.component,s))}else s&&dr(t,a,o),o.canActivateChecks.push(new ri(r)),i.component?ar(e,null,a?a.children:null,r,o):ar(e,null,n,r,o);return o}function MD(e,t,n){if(typeof n=="function")return n(e,t);switch(n){case"pathParamsChange":return!_t(e.url,t.url);case"pathParamsOrQueryParamsChange":return!_t(e.url,t.url)||!Ve(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!ec(e,t)||!Ve(e.queryParams,t.queryParams);case"paramsChange":default:return!ec(e,t)}}function dr(e,t,n){let r=gn(e),o=e.value;Object.entries(r).forEach(([i,s])=>{o.component?t?dr(s,t.children.getContext(i),n):dr(s,null,n):dr(s,t,n)}),o.component?t&&t.outlet&&t.outlet.isActivated?n.canDeactivateChecks.push(new yn(t.outlet.component,o)):n.canDeactivateChecks.push(new yn(null,o)):n.canDeactivateChecks.push(new yn(null,o))}function br(e){return typeof e=="function"}function SD(e){return typeof e=="boolean"}function xD(e){return e&&br(e.canLoad)}function TD(e){return e&&br(e.canActivate)}function _D(e){return e&&br(e.canActivateChild)}function ND(e){return e&&br(e.canDeactivate)}function AD(e){return e&&br(e.canMatch)}function qf(e){return e instanceof Be||e?.name==="EmptyError"}var Go=Symbol("INITIAL_VALUE");function Cn(){return Me(e=>Hr(e.map(t=>t.pipe(Ue(1),Si(Go)))).pipe(T(t=>{for(let n of t)if(n!==!0){if(n===Go)return Go;if(n===!1||RD(n))return n}return!0}),be(t=>t!==Go),Ue(1)))}function RD(e){return hr(e)||e instanceof Dr}function OD(e,t){return q(n=>{let{targetSnapshot:r,currentSnapshot:o,guards:{canActivateChecks:i,canDeactivateChecks:s}}=n;return s.length===0&&i.length===0?w(B(m({},n),{guardsResult:!0})):kD(s,r,o,e).pipe(q(a=>a&&SD(a)?PD(r,i,e,t):w(a)),T(a=>B(m({},n),{guardsResult:a})))})}function kD(e,t,n,r){return H(e).pipe(q(o=>$D(o.component,o.route,n,t,r)),Re(o=>o!==!0,!0))}function PD(e,t,n,r){return H(t).pipe(zt(o=>Ht(LD(o.route.parent,r),FD(o.route,r),VD(e,o.path,n),jD(e,o.route,n))),Re(o=>o!==!0,!0))}function FD(e,t){return e!==null&&t&&t(new Ya(e)),w(!0)}function LD(e,t){return e!==null&&t&&t(new Wa(e)),w(!0)}function jD(e,t,n){let r=t.routeConfig?t.routeConfig.canActivate:null;if(!r||r.length===0)return w(!0);let o=r.map(i=>zr(()=>{let s=Ir(t)??n,a=En(i,s),c=TD(a)?a.canActivate(t,e):qe(s,()=>a(t,e));return dt(c).pipe(Re())}));return w(o).pipe(Cn())}function VD(e,t,n){let r=t[t.length-1],i=t.slice(0,t.length-1).reverse().map(s=>ID(s)).filter(s=>s!==null).map(s=>zr(()=>{let a=s.guards.map(c=>{let u=Ir(s.node)??n,l=En(c,u),d=_D(l)?l.canActivateChild(r,e):qe(u,()=>l(r,e));return dt(d).pipe(Re())});return w(a).pipe(Cn())}));return w(i).pipe(Cn())}function $D(e,t,n,r,o){let i=t&&t.routeConfig?t.routeConfig.canDeactivate:null;if(!i||i.length===0)return w(!0);let s=i.map(a=>{let c=Ir(t)??o,u=En(a,c),l=ND(u)?u.canDeactivate(e,t,n,r):qe(c,()=>u(e,t,n,r));return dt(l).pipe(Re())});return w(s).pipe(Cn())}function BD(e,t,n,r){let o=t.canLoad;if(o===void 0||o.length===0)return w(!0);let i=o.map(s=>{let a=En(s,e),c=xD(a)?a.canLoad(t,n):qe(e,()=>a(t,n));return dt(c)});return w(i).pipe(Cn(),Wf(r))}function Wf(e){return yi(K(t=>{if(typeof t!="boolean")throw ni(e,t)}),T(t=>t===!0))}function UD(e,t,n,r){let o=t.canMatch;if(!o||o.length===0)return w(!0);let i=o.map(s=>{let a=En(s,e),c=AD(a)?a.canMatch(t,n):qe(e,()=>a(t,n));return dt(c)});return w(i).pipe(Cn(),Wf(r))}var wr=class{constructor(t){this.segmentGroup=t||null}},Cr=class extends Error{constructor(t){super(),this.urlTree=t}};function pn(e){return Bt(new wr(e))}function HD(e){return Bt(new D(4e3,!1))}function zD(e){return Bt(zf(!1,fe.GuardRejected))}var rc=class{constructor(t,n){this.urlSerializer=t,this.urlTree=n}lineralizeSegments(t,n){let r=[],o=n.root;for(;;){if(r=r.concat(o.segments),o.numberOfChildren===0)return w(r);if(o.numberOfChildren>1||!o.children[b])return HD(`${t.redirectTo}`);o=o.children[b]}}applyRedirectCommands(t,n,r,o,i){if(typeof n!="string"){let a=n,{queryParams:c,fragment:u,routeConfig:l,url:d,outlet:f,params:h,data:g,title:v}=o,O=qe(i,()=>a({params:h,data:g,queryParams:c,fragment:u,routeConfig:l,url:d,outlet:f,title:v}));if(O instanceof ut)throw new Cr(O);n=O}let s=this.applyRedirectCreateUrlTree(n,this.urlSerializer.parse(n),t,r);if(n[0]==="/")throw new Cr(s);return s}applyRedirectCreateUrlTree(t,n,r,o){let i=this.createSegmentGroup(t,n.root,r,o);return new ut(i,this.createQueryParams(n.queryParams,this.urlTree.queryParams),n.fragment)}createQueryParams(t,n){let r={};return Object.entries(t).forEach(([o,i])=>{if(typeof i=="string"&&i[0]===":"){let a=i.substring(1);r[o]=n[a]}else r[o]=i}),r}createSegmentGroup(t,n,r,o){let i=this.createSegments(t,n.segments,r,o),s={};return Object.entries(n.children).forEach(([a,c])=>{s[a]=this.createSegmentGroup(t,c,r,o)}),new P(i,s)}createSegments(t,n,r,o){return n.map(i=>i.path[0]===":"?this.findPosParam(t,i,o):this.findOrReturn(i,r))}findPosParam(t,n,r){let o=r[n.path.substring(1)];if(!o)throw new D(4001,!1);return o}findOrReturn(t,n){let r=0;for(let o of n){if(o.path===t.path)return n.splice(r),o;r++}return t}},oc={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function GD(e,t,n,r,o){let i=hc(e,t,n);return i.matched?(r=DD(t,r),UD(r,t,n,o).pipe(T(s=>s===!0?i:m({},oc)))):w(i)}function hc(e,t,n){if(t.path==="**")return qD(n);if(t.path==="")return t.pathMatch==="full"&&(e.hasChildren()||n.length>0)?m({},oc):{matched:!0,consumedSegments:[],remainingSegments:n,parameters:{},positionalParamSegments:{}};let o=(t.matcher||By)(n,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:n.slice(o.consumed.length),parameters:s,positionalParamSegments:o.posParams??{}}}function qD(e){return{matched:!0,parameters:e.length>0?xf(e).parameters:{},consumedSegments:e,remainingSegments:[],positionalParamSegments:{}}}function If(e,t,n,r){return n.length>0&&YD(e,n,r)?{segmentGroup:new P(t,ZD(r,new P(n,e.children))),slicedSegments:[]}:n.length===0&&QD(e,n,r)?{segmentGroup:new P(e.segments,WD(e,n,r,e.children)),slicedSegments:n}:{segmentGroup:new P(e.segments,e.children),slicedSegments:n}}function WD(e,t,n,r){let o={};for(let i of n)if(ii(e,t,i)&&!r[Ae(i)]){let s=new P([],{});o[Ae(i)]=s}return m(m({},r),o)}function ZD(e,t){let n={};n[b]=t;for(let r of e)if(r.path===""&&Ae(r)!==b){let o=new P([],{});n[Ae(r)]=o}return n}function YD(e,t,n){return n.some(r=>ii(e,t,r)&&Ae(r)!==b)}function QD(e,t,n){return n.some(r=>ii(e,t,r))}function ii(e,t,n){return(e.hasChildren()||t.length>0)&&n.pathMatch==="full"?!1:n.path===""}function KD(e,t,n,r){return Ae(e)!==r&&(r===b||!ii(t,n,e))?!1:hc(t,e,n).matched}function JD(e,t,n){return t.length===0&&!e.children[n]}var ic=class{};function XD(e,t,n,r,o,i,s="emptyOnly"){return new sc(e,t,n,r,o,s,i).recognize()}var ew=31,sc=class{constructor(t,n,r,o,i,s,a){this.injector=t,this.configLoader=n,this.rootComponentType=r,this.config=o,this.urlTree=i,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new rc(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(t){return new D(4002,`'${t.segmentGroup}'`)}recognize(){let t=If(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(t).pipe(T(({children:n,rootSnapshot:r})=>{let o=new de(r,n),i=new ti("",o),s=sD(r,[],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 n=new vn([],Object.freeze({}),Object.freeze(m({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),b,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,t,b,n).pipe(T(r=>({children:r,rootSnapshot:n})),et(r=>{if(r instanceof Cr)return this.urlTree=r.urlTree,this.match(r.urlTree.root);throw r instanceof wr?this.noMatchError(r):r}))}processSegmentGroup(t,n,r,o,i){return r.segments.length===0&&r.hasChildren()?this.processChildren(t,n,r,i):this.processSegment(t,n,r,r.segments,o,!0,i).pipe(T(s=>s instanceof de?[s]:[]))}processChildren(t,n,r,o){let i=[];for(let s of Object.keys(r.children))s==="primary"?i.unshift(s):i.push(s);return H(i).pipe(zt(s=>{let a=r.children[s],c=wD(n,s);return this.processSegmentGroup(t,c,a,s,o)}),Mi((s,a)=>(s.push(...a),s)),tt(null),bi(),q(s=>{if(s===null)return pn(r);let a=Zf(s);return tw(a),w(a)}))}processSegment(t,n,r,o,i,s,a){return H(n).pipe(zt(c=>this.processSegmentAgainstRoute(c._injector??t,n,c,r,o,i,s,a).pipe(et(u=>{if(u instanceof wr)return w(null);throw u}))),Re(c=>!!c),et(c=>{if(qf(c))return JD(r,o,i)?w(new ic):pn(r);throw c}))}processSegmentAgainstRoute(t,n,r,o,i,s,a,c){return KD(r,o,i,s)?r.redirectTo===void 0?this.matchSegmentAgainstRoute(t,o,r,i,s,c):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(t,o,n,r,i,s,c):pn(o):pn(o)}expandSegmentAgainstRouteUsingRedirect(t,n,r,o,i,s,a){let{matched:c,parameters:u,consumedSegments:l,positionalParamSegments:d,remainingSegments:f}=hc(n,o,i);if(!c)return pn(n);typeof o.redirectTo=="string"&&o.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>ew&&(this.allowRedirects=!1));let h=new vn(i,u,Object.freeze(m({},this.urlTree.queryParams)),this.urlTree.fragment,bf(o),Ae(o),o.component??o._loadedComponent??null,o,Mf(o)),g=ei(h,a,this.paramsInheritanceStrategy);h.params=Object.freeze(g.params),h.data=Object.freeze(g.data);let v=this.applyRedirects.applyRedirectCommands(l,o.redirectTo,d,h,t);return this.applyRedirects.lineralizeSegments(o,v).pipe(q(O=>this.processSegment(t,r,n,O.concat(f),s,!1,a)))}matchSegmentAgainstRoute(t,n,r,o,i,s){let a=GD(n,r,o,t,this.urlSerializer);return r.path==="**"&&(n.children={}),a.pipe(Me(c=>c.matched?(t=r._injector??t,this.getChildConfig(t,r,o).pipe(Me(({routes:u})=>{let l=r._loadedInjector??t,{parameters:d,consumedSegments:f,remainingSegments:h}=c,g=new vn(f,d,Object.freeze(m({},this.urlTree.queryParams)),this.urlTree.fragment,bf(r),Ae(r),r.component??r._loadedComponent??null,r,Mf(r)),v=ei(g,s,this.paramsInheritanceStrategy);g.params=Object.freeze(v.params),g.data=Object.freeze(v.data);let{segmentGroup:O,slicedSegments:F}=If(n,f,h,u);if(F.length===0&&O.hasChildren())return this.processChildren(l,u,O,g).pipe(T(G=>new de(g,G)));if(u.length===0&&F.length===0)return w(new de(g,[]));let Y=Ae(r)===i;return this.processSegment(l,u,O,F,Y?b:i,!0,g).pipe(T(G=>new de(g,G instanceof de?[G]:[])))}))):pn(n)))}getChildConfig(t,n,r){return n.children?w({routes:n.children,injector:t}):n.loadChildren?n._loadedRoutes!==void 0?w({routes:n._loadedRoutes,injector:n._loadedInjector}):BD(t,n,r,this.urlSerializer).pipe(q(o=>o?this.configLoader.loadChildren(t,n).pipe(K(i=>{n._loadedRoutes=i.routes,n._loadedInjector=i.injector})):zD(n))):w({routes:[],injector:t})}};function tw(e){e.sort((t,n)=>t.value.outlet===b?-1:n.value.outlet===b?1:t.value.outlet.localeCompare(n.value.outlet))}function nw(e){let t=e.value.routeConfig;return t&&t.path===""}function Zf(e){let t=[],n=new Set;for(let r of e){if(!nw(r)){t.push(r);continue}let o=t.find(i=>r.value.routeConfig===i.value.routeConfig);o!==void 0?(o.children.push(...r.children),n.add(o)):t.push(r)}for(let r of n){let o=Zf(r.children);t.push(new de(r.value,o))}return t.filter(r=>!n.has(r))}function bf(e){return e.data||{}}function Mf(e){return e.resolve||{}}function rw(e,t,n,r,o,i){return q(s=>XD(e,t,n,r,s.extractedUrl,o,i).pipe(T(({state:a,tree:c})=>B(m({},s),{targetSnapshot:a,urlAfterRedirects:c}))))}function ow(e,t){return q(n=>{let{targetSnapshot:r,guards:{canActivateChecks:o}}=n;if(!o.length)return w(n);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 Yf(c))s.add(u);let a=0;return H(s).pipe(zt(c=>i.has(c)?iw(c,r,e,t):(c.data=ei(c,c.parent,e).resolve,w(void 0))),K(()=>a++),Gt(1),q(c=>a===s.size?w(n):ae))})}function Yf(e){let t=e.children.map(n=>Yf(n)).flat();return[e,...t]}function iw(e,t,n,r){let o=e.routeConfig,i=e._resolve;return o?.title!==void 0&&!Uf(o)&&(i[Er]=o.title),sw(i,e,t,r).pipe(T(s=>(e._resolvedData=s,e.data=ei(e,e.parent,n).resolve,null)))}function sw(e,t,n,r){let o=Fa(e);if(o.length===0)return w({});let i={};return H(o).pipe(q(s=>aw(e[s],t,n,r).pipe(Re(),K(a=>{if(a instanceof Dr)throw ni(new fr,a);i[s]=a}))),Gt(1),Ii(i),et(s=>qf(s)?ae:Bt(s)))}function aw(e,t,n,r){let o=Ir(t)??r,i=En(e,o),s=i.resolve?i.resolve(t,n):qe(o,()=>i(t,n));return dt(s)}function ka(e){return Me(t=>{let n=e(t);return n?H(n).pipe(T(()=>t)):w(t)})}var Qf=(()=>{let t=class t{buildTitle(r){let o,i=r.root;for(;i!==void 0;)o=this.getResolvedTitleForRoute(i)??o,i=i.children.find(s=>s.outlet===b);return o}getResolvedTitleForRoute(r){return r.data[Er]}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=E({token:t,factory:()=>p(cw),providedIn:"root"});let e=t;return e})(),cw=(()=>{let t=class t extends Qf{constructor(r){super(),this.title=r}updateTitle(r){let o=this.buildTitle(r);o!==void 0&&this.title.setTitle(o)}};t.\u0275fac=function(o){return new(o||t)(x(yf))},t.\u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),pc=new S("",{providedIn:"root",factory:()=>({})}),gc=new S(""),uw=(()=>{let t=class t{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=p(ya)}loadComponent(r){if(this.componentLoaders.get(r))return this.componentLoaders.get(r);if(r._loadedComponent)return w(r._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(r);let o=dt(r.loadComponent()).pipe(T(Kf),K(s=>{this.onLoadEndListener&&this.onLoadEndListener(r),r._loadedComponent=s}),Mn(()=>{this.componentLoaders.delete(r)})),i=new $t(o,()=>new ee).pipe(Vt());return this.componentLoaders.set(r,i),i}loadChildren(r,o){if(this.childrenLoaders.get(o))return this.childrenLoaders.get(o);if(o._loadedRoutes)return w({routes:o._loadedRoutes,injector:o._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(o);let s=lw(o,this.compiler,r,this.onLoadEndListener).pipe(Mn(()=>{this.childrenLoaders.delete(o)})),a=new $t(s,()=>new ee).pipe(Vt());return this.childrenLoaders.set(o,a),a}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function lw(e,t,n,r){return dt(e.loadChildren()).pipe(T(Kf),q(o=>o instanceof Un||Array.isArray(o)?w(o):H(t.compileModuleAsync(o))),T(o=>{r&&r(e);let i,s,a=!1;return Array.isArray(o)?(s=o,a=!0):(i=o.create(n).injector,s=i.get(gc,[],{optional:!0,self:!0}).flat()),{routes:s.map(fc),injector:i}}))}function dw(e){return e&&typeof e=="object"&&"default"in e}function Kf(e){return dw(e)?e.default:e}var mc=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=E({token:t,factory:()=>p(fw),providedIn:"root"});let e=t;return e})(),fw=(()=>{let t=class t{shouldProcessUrl(r){return!0}extract(r){return r}merge(r,o){return r}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),hw=new S("");var pw=new S(""),gw=(()=>{let t=class t{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new ee,this.transitionAbortSubject=new ee,this.configLoader=p(uw),this.environmentInjector=p(ge),this.urlSerializer=p(cc),this.rootContexts=p(oi),this.location=p(nr),this.inputBindingEnabled=p(dc,{optional:!0})!==null,this.titleStrategy=p(Qf),this.options=p(pc,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=p(mc),this.createViewTransition=p(hw,{optional:!0}),this.navigationErrorHandler=p(pw,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>w(void 0),this.rootComponentType=null;let r=i=>this.events.next(new Ga(i)),o=i=>this.events.next(new qa(i));this.configLoader.onLoadEndListener=o,this.configLoader.onLoadStartListener=r}complete(){this.transitions?.complete()}handleNavigationRequest(r){let o=++this.navigationId;this.transitions?.next(B(m(m({},this.transitions.value),r),{id:o}))}setupNavigations(r,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:lr,restoredState:null,currentSnapshot:i.snapshot,targetSnapshot:null,currentRouterState:i,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(be(s=>s.id!==0),T(s=>B(m({},s),{extractedUrl:this.urlHandlingStrategy.extract(s.rawUrl)})),Me(s=>{let a=!1,c=!1;return w(s).pipe(Me(u=>{if(this.navigationId>s.id)return this.cancelNavigationTransition(s,"",fe.SupersededByNewNavigation),ae;this.currentTransition=s,this.currentNavigation={id:u.id,initialUrl:u.rawUrl,extractedUrl:u.extractedUrl,trigger:u.source,extras:u.extras,previousNavigation:this.lastSuccessfulNavigation?B(m({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let l=!r.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),d=u.extras.onSameUrlNavigation??r.onSameUrlNavigation;if(!l&&d!=="reload"){let f="";return this.events.next(new Nt(u.id,this.urlSerializer.serialize(u.rawUrl),f,$a.IgnoredSameUrlNavigation)),u.resolve(!1),ae}if(this.urlHandlingStrategy.shouldProcessUrl(u.rawUrl))return w(u).pipe(Me(f=>{let h=this.transitions?.getValue();return this.events.next(new gr(f.id,this.urlSerializer.serialize(f.extractedUrl),f.source,f.restoredState)),h!==this.transitions?.getValue()?ae:Promise.resolve(f)}),rw(this.environmentInjector,this.configLoader,this.rootComponentType,r.config,this.urlSerializer,this.paramsInheritanceStrategy),K(f=>{s.targetSnapshot=f.targetSnapshot,s.urlAfterRedirects=f.urlAfterRedirects,this.currentNavigation=B(m({},this.currentNavigation),{finalUrl:f.urlAfterRedirects});let h=new Ko(f.id,this.urlSerializer.serialize(f.extractedUrl),this.urlSerializer.serialize(f.urlAfterRedirects),f.targetSnapshot);this.events.next(h)}));if(l&&this.urlHandlingStrategy.shouldProcessUrl(u.currentRawUrl)){let{id:f,extractedUrl:h,source:g,restoredState:v,extras:O}=u,F=new gr(f,this.urlSerializer.serialize(h),g,v);this.events.next(F);let Y=$f(this.rootComponentType).snapshot;return this.currentTransition=s=B(m({},u),{targetSnapshot:Y,urlAfterRedirects:h,extras:B(m({},O),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=h,w(s)}else{let f="";return this.events.next(new Nt(u.id,this.urlSerializer.serialize(u.extractedUrl),f,$a.IgnoredByUrlHandlingStrategy)),u.resolve(!1),ae}}),K(u=>{let l=new Ba(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(l)}),T(u=>(this.currentTransition=s=B(m({},u),{guards:ED(u.targetSnapshot,u.currentSnapshot,this.rootContexts)}),s)),OD(this.environmentInjector,u=>this.events.next(u)),K(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)}),be(u=>u.guardsResult?!0:(this.cancelNavigationTransition(u,"",fe.GuardRejected),!1)),ka(u=>{if(u.guards.canActivateChecks.length)return w(u).pipe(K(l=>{let d=new Ha(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(d)}),Me(l=>{let d=!1;return w(l).pipe(ow(this.paramsInheritanceStrategy,this.environmentInjector),K({next:()=>d=!0,complete:()=>{d||this.cancelNavigationTransition(l,"",fe.NoDataFromResolver)}}))}),K(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 f=[];d.routeConfig?.loadComponent&&!d.routeConfig._loadedComponent&&f.push(this.configLoader.loadComponent(d.routeConfig).pipe(K(h=>{d.component=h}),T(()=>{})));for(let h of d.children)f.push(...l(h));return f};return Hr(l(u.targetSnapshot.root)).pipe(tt(null),Ue(1))}),ka(()=>this.afterPreactivation()),Me(()=>{let{currentSnapshot:u,targetSnapshot:l}=s,d=this.createViewTransition?.(this.environmentInjector,u.root,l.root);return d?H(d).pipe(T(()=>s)):w(s)}),T(u=>{let l=pD(r.routeReuseStrategy,u.targetSnapshot,u.currentRouterState);return this.currentTransition=s=B(m({},u),{targetRouterState:l}),this.currentNavigation.targetRouterState=l,s}),K(()=>{this.events.next(new vr)}),CD(this.rootContexts,r.routeReuseStrategy,u=>this.events.next(u),this.inputBindingEnabled),Ue(1),K({next:u=>{a=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Je(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects))),this.titleStrategy?.updateTitle(u.targetRouterState.snapshot),u.resolve(!0)},complete:()=>{a=!0}}),xi(this.transitionAbortSubject.pipe(K(u=>{throw u}))),Mn(()=>{!a&&!c&&this.cancelNavigationTransition(s,"",fe.SupersededByNewNavigation),this.currentTransition?.id===s.id&&(this.currentNavigation=null,this.currentTransition=null)}),et(u=>{if(c=!0,Gf(u))this.events.next(new Ke(s.id,this.urlSerializer.serialize(s.extractedUrl),u.message,u.cancellationCode)),vD(u)?this.events.next(new wn(u.url,u.navigationBehaviorOptions)):s.resolve(!1);else{let l=new mr(s.id,this.urlSerializer.serialize(s.extractedUrl),u,s.targetSnapshot??void 0);try{let d=qe(this.environmentInjector,()=>this.navigationErrorHandler?.(l));if(d instanceof Dr){let{message:f,cancellationCode:h}=ni(this.urlSerializer,d);this.events.next(new Ke(s.id,this.urlSerializer.serialize(s.extractedUrl),f,h)),this.events.next(new wn(d.redirectTo,d.navigationBehaviorOptions))}else{this.events.next(l);let f=r.errorHandler(u);s.resolve(!!f)}}catch(d){this.options.resolveNavigationPromiseOnError?s.resolve(!1):s.reject(d)}}return ae}))}))}cancelNavigationTransition(r,o,i){let s=new Ke(r.id,this.urlSerializer.serialize(r.extractedUrl),o,i);this.events.next(s),r.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function mw(e){return e!==lr}var vw=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=E({token:t,factory:()=>p(yw),providedIn:"root"});let e=t;return e})(),ac=class{shouldDetach(t){return!1}store(t,n){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,n){return t.routeConfig===n.routeConfig}},yw=(()=>{let t=class t extends ac{};t.\u0275fac=(()=>{let r;return function(i){return(r||(r=Gs(t)))(i||t)}})(),t.\u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),Jf=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=E({token:t,factory:()=>p(Dw),providedIn:"root"});let e=t;return e})(),Dw=(()=>{let t=class t extends Jf{constructor(){super(...arguments),this.location=p(nr),this.urlSerializer=p(cc),this.options=p(pc,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=p(mc),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new ut,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=$f(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(r){return this.location.subscribe(o=>{o.type==="popstate"&&r(o.url,o.state)})}handleRouterEvent(r,o){if(r instanceof gr)this.stateMemento=this.createStateMemento();else if(r instanceof Nt)this.rawUrlTree=o.initialUrl;else if(r instanceof Ko){if(this.urlUpdateStrategy==="eager"&&!o.extras.skipLocationChange){let i=this.urlHandlingStrategy.merge(o.finalUrl,o.initialUrl);this.setBrowserUrl(i,o)}}else r instanceof vr?(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(this.rawUrlTree,o))):r instanceof Ke&&(r.code===fe.GuardRejected||r.code===fe.NoDataFromResolver)?this.restoreHistory(o):r instanceof mr?this.restoreHistory(o,!0):r instanceof Je&&(this.lastSuccessfulId=r.id,this.currentPageId=this.browserPageId)}setBrowserUrl(r,o){let i=this.urlSerializer.serialize(r);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(r,o=!1){if(this.canceledNavigationResolution==="computed"){let i=this.browserPageId,s=this.currentPageId-i;s!==0?this.location.historyGo(s):this.currentUrlTree===r.finalUrl&&s===0&&(this.resetState(r),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(o&&this.resetState(r),this.resetUrlToCurrentUrlTree())}resetState(r){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,r.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(r,o){return this.canceledNavigationResolution==="computed"?{navigationId:r,\u0275routerPageId:o}:{navigationId:r}}};t.\u0275fac=(()=>{let r;return function(i){return(r||(r=Gs(t)))(i||t)}})(),t.\u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),cr=function(e){return e[e.COMPLETE=0]="COMPLETE",e[e.FAILED=1]="FAILED",e[e.REDIRECTING=2]="REDIRECTING",e}(cr||{});function ww(e,t){e.events.pipe(be(n=>n instanceof Je||n instanceof Ke||n instanceof mr||n instanceof Nt),T(n=>n instanceof Je||n instanceof Nt?cr.COMPLETE:(n instanceof Ke?n.code===fe.Redirect||n.code===fe.SupersededByNewNavigation:!1)?cr.REDIRECTING:cr.FAILED),be(n=>n!==cr.REDIRECTING),Ue(1)).subscribe(()=>{t()})}function Cw(e){throw e}var Ew={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Iw={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},si=(()=>{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(Vo),this.stateManager=p(Jf),this.options=p(pc,{optional:!0})||{},this.pendingTasks=p(Yn),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=p(gw),this.urlSerializer=p(cc),this.location=p(nr),this.urlHandlingStrategy=p(mc),this._events=new ee,this.errorHandler=this.options.errorHandler||Cw,this.navigated=!1,this.routeReuseStrategy=p(vw),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=p(gc,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!p(dc,{optional:!0}),this.eventsSubscription=new U,this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:r=>{this.console.warn(r)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){let r=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 Ke&&o.code!==fe.Redirect&&o.code!==fe.SupersededByNewNavigation)this.navigated=!0;else if(o instanceof Je)this.navigated=!0;else if(o instanceof wn){let a=o.navigationBehaviorOptions,c=this.urlHandlingStrategy.merge(o.url,i.currentRawUrl),u=m({info:i.extras.info,skipLocationChange:i.extras.skipLocationChange,replaceUrl:i.extras.replaceUrl||this.urlUpdateStrategy==="eager"||mw(i.source)},a);this.scheduleNavigation(c,lr,null,u,{resolve:i.resolve,reject:i.reject,promise:i.promise})}}Mw(o)&&this._events.next(o)}catch(i){this.navigationTransitions.transitionAbortSubject.next(i)}});this.eventsSubscription.add(r)}resetRootComponentType(r){this.routerState.root.component=r,this.navigationTransitions.rootComponentType=r}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),lr,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((r,o)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(r,"popstate",o)},0)})}navigateToSyncWithBrowser(r,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(r);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(r){this.config=r.map(fc),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(r,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 f;try{let h=i?i.snapshot:this.routerState.snapshot.root;f=Ff(h)}catch{(typeof r[0]!="string"||r[0][0]!=="/")&&(r=[]),f=this.currentUrlTree.root}return Lf(f,r,d,l??null)}navigateByUrl(r,o={skipLocationChange:!1}){let i=hr(r)?r:this.parseUrl(r),s=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(s,lr,null,o)}navigate(r,o={skipLocationChange:!1}){return bw(r),this.navigateByUrl(this.createUrlTree(r,o),o)}serializeUrl(r){return this.urlSerializer.serialize(r)}parseUrl(r){try{return this.urlSerializer.parse(r)}catch{return this.urlSerializer.parse("/")}}isActive(r,o){let i;if(o===!0?i=m({},Ew):o===!1?i=m({},Iw):i=o,hr(r))return Df(this.currentUrlTree,r,i);let s=this.parseUrl(r);return Df(this.currentUrlTree,s,i)}removeEmptyProps(r){return Object.entries(r).reduce((o,[i,s])=>(s!=null&&(o[i]=s),o),{})}scheduleNavigation(r,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((f,h)=>{c=f,u=h});let d=this.pendingTasks.add();return ww(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(d))}),this.navigationTransitions.handleNavigationRequest({source:o,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:r,extras:s,resolve:c,reject:u,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(f=>Promise.reject(f))}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function bw(e){for(let t=0;t{let t=class t{constructor(r,o,i,s,a,c){this.router=r,this.route=o,this.tabIndexAttribute=i,this.renderer=s,this.el=a,this.locationStrategy=c,this.href=null,this.commands=null,this.onChanges=new ee,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;let u=a.nativeElement.tagName?.toLowerCase();this.isAnchorElement=u==="a"||u==="area",this.isAnchorElement?this.subscription=r.events.subscribe(l=>{l instanceof Je&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(r){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",r)}ngOnChanges(r){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(r){r!=null?(this.commands=Array.isArray(r)?r:[r],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(r,o,i,s,a){let c=this.urlTree;if(c===null||this.isAnchorElement&&(r!==0||o||i||s||a||typeof this.target=="string"&&this.target!="_self"))return!0;let u={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(c,u),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let r=this.urlTree;this.href=r!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(r)):null;let o=this.href===null?null:ed(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",o)}applyAttributeValue(r,o){let i=this.renderer,s=this.el.nativeElement;o!==null?i.setAttribute(s,r,o):i.removeAttribute(s,r)}get urlTree(){return this.commands===null?null:this.router.createUrlTree(this.commands,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}};t.\u0275fac=function(o){return new(o||t)(le(si),le(At),qs("tabindex"),le(Zn),le(Ye),le(ct))},t.\u0275dir=Hn({type:t,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(o,i){o&1&&ma("click",function(a){return i.onClick(a.button,a.ctrlKey,a.shiftKey,a.altKey,a.metaKey)}),o&2&&ga("target",i.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",tr],skipLocationChange:[2,"skipLocationChange","skipLocationChange",tr],replaceUrl:[2,"replaceUrl","replaceUrl",tr],routerLink:"routerLink"},standalone:!0,features:[ha,an]});let e=t;return e})(),ai=(()=>{let t=class t{get isActive(){return this._isActive}constructor(r,o,i,s,a){this.router=r,this.element=o,this.renderer=i,this.cdr=s,this.link=a,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new J,this.routerEventsSubscription=r.events.subscribe(c=>{c instanceof Je&&this.update()})}ngAfterContentInit(){w(this.links.changes,w(null)).pipe(Ut()).subscribe(r=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();let r=[...this.links.toArray(),this.link].filter(o=>!!o).map(o=>o.onChanges);this.linkInputChangesSubscription=H(r).pipe(Ut()).subscribe(o=>{this._isActive!==this.isLinkActive(this.router)(o)&&this.update()})}set routerLinkActive(r){let o=Array.isArray(r)?r:r.split(" ");this.classes=o.filter(i=>!!i)}ngOnChanges(r){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{let r=this.hasActiveLinks();this.classes.forEach(o=>{r?this.renderer.addClass(this.element.nativeElement,o):this.renderer.removeClass(this.element.nativeElement,o)}),r&&this.ariaCurrentWhenActive!==void 0?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this._isActive!==r&&(this._isActive=r,this.cdr.markForCheck(),this.isActiveChange.emit(r))})}isLinkActive(r){let o=Sw(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return i=>{let s=i.urlTree;return s?r.isActive(s,o):!1}}hasActiveLinks(){let r=this.isLinkActive(this.router);return this.link&&r(this.link)||this.links.some(r)}};t.\u0275fac=function(o){return new(o||t)(le(si),le(Ye),le(Zn),le(fn),le(lt,8))},t.\u0275dir=Hn({type:t,selectors:[["","routerLinkActive",""]],contentQueries:function(o,i,s){if(o&1&&jd(s,lt,5),o&2){let a;Vd(a=$d())&&(i.links=a)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[an]});let e=t;return e})();function Sw(e){return!!e.paths}var xw=new S("");function Xf(e,...t){return Co([{provide:gc,multi:!0,useValue:e},[],{provide:At,useFactory:Tw,deps:[si]},{provide:va,multi:!0,useFactory:Nw},t.map(n=>n.\u0275providers)])}function Tw(e){return e.routerState.root}function _w(e,t){return{\u0275kind:e,\u0275providers:t}}function Nw(){let e=p(Et);return t=>{let n=e.get(dn);if(t!==n.components[0])return;let r=e.get(si),o=e.get(Aw);e.get(Rw)===1&&r.initialNavigation(),e.get(Ow,null,M.Optional)?.setUpPreloading(),e.get(xw,null,M.Optional)?.init(),r.resetRootComponentType(n.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}var Aw=new S("",{factory:()=>new ee}),Rw=new S("",{providedIn:"root",factory:()=>1});var Ow=new S("");function eh(){return _w(6,[{provide:ct,useClass:af}])}function kw(e,t){if(e&1&&(k(0,"div",6)(1,"h2",7),Z(2),V(),k(3,"p",8),Z(4),V(),k(5,"a",9),Z(6,"Demo "),Mt(),k(7,"svg",10),ye(8,"path",11),V()()()),e&2){let n=t.$implicit;Ne(2),xt(n.name),Ne(2),xt(n.description),Ne(),Qn("href",n.url,Wn)}}var th=(()=>{let t=class t{constructor(){this.items=[{name:"Angular",description:"Welcome to our Angular App! This demo showcases the power of Angular's Routing module. With just a few lines of code, we've created a robust and scalable application that navigates between multiple pages. Explore our app and see how easily you can switch between different routes, each with its own unique component and functionality. Whether you're building a simple web page or a complex enterprise application, Angular's Routing module is the perfect tool to get you started.",url:"https://djvelimir.github.io/demo-spa-angular/"},{name:"Vue",description:"Welcome to our example Vue app with Router! In this demo, we've created a simple application that showcases the power of Vue Router. With just a few lines of code, we've built a fully functional app that allows users to navigate between different routes and views. Each route is carefully crafted to demonstrate the flexibility and scalability of Vue Router. Take a closer look and see how you can use Vue Router to build your own impressive web applications.",url:"https://djvelimir.github.io/demo-spa-vue/"},{name:"React",description:"Get started with React and routing in our comprehensive example app. Explore a simple but fully functional React app that utilizes the popular React Router library to manage client-side routing. This example app demonstrates how to set up routes and navigate between pages. Whether you're new to React or just looking to improve your skills, this example app is a great resource for learning how to add robust routing to your React projects.",url:"https://djvelimir.github.io/demo-spa-react/"},{name:"Vite + React",description:"Get started with a powerful React app using TypeScript, Vite, and React Router. This example showcases a fully-fledged React application built with TypeScript for robust type checking and Vite for fast development and zero-config setup. With React Router, navigate through a seamless user interface with easy-to-use routing features. Explore the code and learn how to leverage these popular technologies to build your next-generation web application.",url:"https://djvelimir.github.io/demo-spa-react-vite/"},{name:"Hugo",description:"Welcome to Hugo's World! This website showcases the versatility and power of Hugo, a modern open-source static site generator. With Hugo, we've built a comprehensive platform for exploring the world of web development, featuring tutorials, documentation, and resources for developers of all levels. Dive in to learn how to create your own stunning website with Hugo!",url:"https://djvelimir.github.io/blog/"}]}};t.\u0275fac=function(o){return new(o||t)},t.\u0275cmp=me({type:t,selectors:[["app-home"]],standalone:!0,features:[De],decls:10,vars:0,consts:[[1,"text-gray-400","body-font","bg-gray-900"],[1,"container","px-5","py-24","mx-auto"],[1,"flex","flex-col","text-center","w-full","mb-20"],[1,"sm:text-3xl","text-2xl","font-medium","title-font","mb-4","text-white"],[1,"lg:w-2/3","mx-auto","leading-relaxed","text-base"],[1,"flex","flex-wrap"],[1,"xl:w-1/4","lg:w-1/2","md:w-full","px-8","py-6","border-l-2","border-gray-800"],[1,"text-lg","sm:text-xl","text-white","font-medium","title-font","mb-2"],[1,"leading-relaxed","text-base","mb-4"],[1,"text-green-400","inline-flex","items-center",3,"href"],["fill","none","stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","viewBox","0 0 24 24","width","16","height","16",1,"w-4","h-4","ml-2"],["d","M5 12h14M12 5l7 7-7 7"]],template:function(o,i){o&1&&(k(0,"section",0)(1,"div",1)(2,"div",2)(3,"h1",3),Z(4,"Home"),V(),k(5,"p",4),Z(6,"On this homepage, I invite you to take a journey through my digital portfolio, where you'll discover a curated selection of my most impressive projects, each one telling a story of creativity, perseverance, and dedication to excellence. From sleek and intuitive user interfaces to robust and scalable backend architectures, every project is a testament to my ability to bring ideas to life. So, sit back, grab a cup of coffee, and let's dive into the world of code, where creativity meets logic and innovation knows no bounds. Welcome to my digital playground!"),V()(),k(7,"div",5),Jn(8,kw,9,3,"div",6,Kn),V()()()),o&2&&(Ne(8),Xn(i.items))}});let e=t;return e})();var nh=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275cmp=me({type:t,selectors:[["app-page-not-found"]],standalone:!0,features:[De],decls:7,vars:0,consts:[[1,"h-screen","w-full","flex","flex-col","justify-center","items-center","bg-[#1A2238]"],[1,"text-9xl","font-extrabold","text-white","tracking-widest"],[1,"bg-green-500","text-white","px-2","text-sm","rounded","rotate-12","absolute"],["ariaCurrentWhenActive","page","routerLinkActive","active","routerLink","/home",1,"mt-10","flex","mx-auto","text-white","bg-green-500","border-0","py-2","px-8","focus:outline-none","hover:bg-green-600","rounded","text-lg"]],template:function(o,i){o&1&&(k(0,"main",0)(1,"h1",1),Z(2,"404"),V(),k(3,"div",2),Z(4," Page Not Found "),V(),k(5,"button",3),Z(6,"Go Home"),V()())},dependencies:[lt,ai]});let e=t;return e})();var rh=[{path:"home",title:"Home",component:th},{path:"",redirectTo:"/home",pathMatch:"full"},{path:"**",title:"Page Not Found",component:nh}];var oh={providers:[Wd({eventCoalescing:!0}),Xf(rh,eh())]};var ih=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275cmp=me({type:t,selectors:[["app-navbar"]],standalone:!0,features:[De],decls:10,vars:0,consts:[[1,"text-gray-400","bg-gray-900","body-font"],[1,"container","mx-auto","flex","flex-wrap","p-5","flex-col","md:flex-row","items-center"],["ariaCurrentWhenActive","page","routerLink","/home",1,"flex","title-font","font-medium","items-center","text-white","mb-4","md:mb-0"],["xmlns","http://www.w3.org/2000/svg","fill","none","stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","viewBox","0 0 24 24","width","40","height","40",1,"w-10","h-10","text-white","p-2","bg-green-500","rounded-full"],["d","M12 2L2 7l10 5 10-5-10-5zM2 17l10 5 10-5M2 12l10 5 10-5"],[1,"ml-3","text-xl"],[1,"md:ml-auto","flex","flex-wrap","items-center","text-base","justify-center"],["ariaCurrentWhenActive","page","routerLinkActive","active","routerLink","/home",1,"mr-5","hover:text-white"]],template:function(o,i){o&1&&(k(0,"header",0)(1,"div",1)(2,"a",2),Mt(),k(3,"svg",3),ye(4,"path",4),V(),To(),k(5,"span",5),Z(6,"djvelimir.github.io"),V()(),k(7,"nav",6)(8,"a",7),Z(9,"Home"),V()()()())},dependencies:[lt,ai],styles:[".active[_ngcontent-%COMP%]{border-bottom:2px solid rgb(34 197 94/var(--tw-bg-opacity));transform:scale(1.1);transition:border-bottom .3s ease,color .3s ease,transform .3s ease}"]});let e=t;return e})();function Pw(e,t){if(e&1&&(k(0,"li")(1,"a",19),Z(2),V()()),e&2){let n=t.$implicit;Ne(),Qn("href",n.url,Wn),Ne(),xt(n.name)}}function Fw(e,t){if(e&1&&(k(0,"div",8)(1,"h2",17),Z(2),V(),k(3,"nav",18)(4,"ul"),Jn(5,Pw,3,2,"li",null,Kn),V()()()),e&2){let n=t.$implicit;Ne(2),xt(n.name),Ne(3),Xn(n.items)}}var sh=(()=>{let t=class t{constructor(){this.categories=[{name:"Frontend",items:[{name:"Angular",url:"https://github.com/djvelimir/demo-spa-angular"},{name:"Vue",url:"https://github.com/djvelimir/demo-spa-vue"},{name:"React",url:"https://github.com/djvelimir/demo-spa-react"},{name:"Vite + React",url:"https://github.com/djvelimir/demo-spa-react-vite"},{name:"Hugo",url:"https://github.com/djvelimir/blog"}]},{name:"Java & Kotlin",items:[{name:"Java - CLI",url:"https://github.com/djvelimir/demo-java-cli"},{name:"Java - Swing",url:"https://github.com/djvelimir/demo-java-swing"},{name:"Java - FX",url:"https://github.com/djvelimir/demo-java-fx"},{name:"Java - Spring Boot",url:"https://github.com/djvelimir/demo-java-spring-boot"},{name:"Kotlin - CLI",url:"https://github.com/djvelimir/demo-kotlin-cli"}]},{name:".NET",items:[{name:"C# .NET - CLI",url:"https://github.com/djvelimir/demo-dotnet-cli"},{name:"C# .NET - Benchmark",url:"https://github.com/djvelimir/demo-dotnet-benchmark"},{name:"C# .NET - WebApi",url:"https://github.com/djvelimir/demo-dotnet-web-api"}]},{name:"Mobile",items:[{name:"Android",url:"https://github.com/djvelimir/demo-mobile-android"},{name:"iOS",url:"https://github.com/djvelimir/demo-mobile-ios"}]},{name:"Misc",items:[{name:"C++ - CLI",url:"https://github.com/djvelimir/demo-cpp-cli"},{name:"Rust",url:"https://github.com/djvelimir/demo-rust"},{name:"Go (Golang)",url:"https://github.com/djvelimir/demo-go"},{name:"Python - CLI",url:"https://github.com/djvelimir/demo-python-cli"},{name:"Node.js",url:"https://github.com/djvelimir/demo-node"}]}]}};t.\u0275fac=function(o){return new(o||t)},t.\u0275cmp=me({type:t,selectors:[["app-footer"]],standalone:!0,features:[De],decls:20,vars:0,consts:[[1,"text-gray-400","bg-gray-900","body-font"],[1,"container","px-5","py-24","mx-auto","flex","md:items-center","lg:items-start","md:flex-row","md:flex-nowrap","flex-wrap","flex-col"],[1,"w-64","flex-shrink-0","md:mx-0","mx-auto","text-center","md:text-left"],["ariaCurrentWhenActive","page","routerLink","/home",1,"flex","title-font","font-medium","items-center","md:justify-start","justify-center","text-white"],["xmlns","http://www.w3.org/2000/svg","fill","none","stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","viewBox","0 0 24 24","width","40","height","40",1,"w-10","h-10","text-white","p-2","bg-green-500","rounded-full"],["d","M12 2L2 7l10 5 10-5-10-5zM2 17l10 5 10-5M2 12l10 5 10-5"],[1,"ml-3","text-xl"],[1,"flex-grow","flex","flex-wrap","md:pl-20","-mb-10","md:mt-0","mt-10","md:text-left","text-center"],[1,"lg:w-1/4","md:w-1/2","w-full","px-4"],[1,"bg-gray-800","bg-opacity-75"],[1,"container","mx-auto","py-4","px-5","flex","flex-wrap","flex-col","sm:flex-row"],[1,"text-gray-400","text-sm","text-center","sm:text-left"],[1,"inline-flex","sm:ml-auto","sm:mt-0","mt-2","justify-center","sm:justify-start"],["href","https://linkedin.com/in/djvelimir",1,"ml-3","text-gray-400"],["fill","currentColor","stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","0","viewBox","0 0 24 24","width","20","height","20",1,"w-5","h-5"],["stroke","none","d","M16 8a6 6 0 016 6v7h-4v-7a2 2 0 00-2-2 2 2 0 00-2 2v7h-4v-7a6 6 0 016-6zM2 9h4v12H2z"],["cx","4","cy","4","r","2","stroke","none"],[1,"title-font","font-medium","text-white","tracking-widest","text-sm","mb-3"],[1,"list-none","mb-10"],[1,"text-gray-400","hover:text-white",3,"href"]],template:function(o,i){o&1&&(k(0,"footer",0)(1,"div",1)(2,"div",2)(3,"a",3),Mt(),k(4,"svg",4),ye(5,"path",5),V(),To(),k(6,"span",6),Z(7,"djvelimir.github.io"),V()()(),k(8,"div",7),Jn(9,Fw,7,1,"div",8,Kn),V()(),k(11,"div",9)(12,"div",10)(13,"p",11),Z(14,"\xA9 2024 djvelimir.github.io"),V(),k(15,"span",12)(16,"a",13),Mt(),k(17,"svg",14),ye(18,"path",15)(19,"circle",16),V()()()()()()),o&2&&(Ne(9),Xn(i.categories))},dependencies:[lt]});let e=t;return e})();var ah=(()=>{let t=class t{constructor(){this.title="djvelimir.github.io"}};t.\u0275fac=function(o){return new(o||t)},t.\u0275cmp=me({type:t,selectors:[["app-root"]],standalone:!0,features:[De],decls:3,vars:0,template:function(o,i){o&1&&ye(0,"app-navbar")(1,"router-outlet")(2,"app-footer")},dependencies:[lc,ih,sh]});let e=t;return e})();vf(ah,oh).catch(e=>console.error(e)); + `)}`}function Kt(e,t){let n=e.hasOwnProperty(Xr);return n?e[Xr]:null}function ip(e,t,n){if(e.length!==t.length)return!1;for(let r=0;rArray.isArray(n)?Ns(n,t):t(n))}function Zu(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function to(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}var _n={},Jt=[],Xt=new S(""),Yu=new S("",-1),Qu=new S(""),no=class{get(t,n=Tn){if(n===Tn){let r=new Error(`NullInjectorError: No provider for ${ce(t)}!`);throw r.name="NullInjectorError",r}return n}},Ku=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(Ku||{}),Pe=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(Pe||{}),en=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(en||{});function ap(e,t,n){let r=e.length;for(;;){let o=e.indexOf(t,n);if(o===-1)return o;if(o===0||e.charCodeAt(o-1)<=32){let i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}function Bi(e,t,n){let r=0;for(;rt){s=i-1;break}}}for(;i-1){let i;for(;++oi?d="":d=o[l+1].toLowerCase(),r&2&&u!==d){if(Se(r))return!1;s=!0}}}}return Se(r)||s}function Se(e){return(e&1)===0}function fp(e,t,n,r){if(t===null)return-1;let o=0;if(r||!n){let i=!1;for(;o-1)for(n++;n0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!Se(s)&&(t+=au(i,o),o=""),r=s,i=i||!Se(r);n++}return o!==""&&(t+=au(i,o)),t}function vp(e){return e.map(mp).join(",")}function yp(e){let t=[],n=[],r=1,o=2;for(;r{let t=ol(e),n=B(m({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Ku.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Pe.Emulated,styles:e.styles||Jt,_:null,schemas:e.schemas||null,tView:null,id:""});il(n);let r=e.dependencies;return n.directiveDefs=uu(r,!1),n.pipeDefs=uu(r,!0),n.id=Cp(n),n})}function Dp(e){return vt(e)||el(e)}function wp(e){return e!==null}function cu(e,t){if(e==null)return _n;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a=en.None;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i):(i=o,s=o),t?(n[i]=a!==en.None?[r,a]:r,t[i]=s):n[i]=r}return n}function Hn(e){return Ts(()=>{let t=ol(e);return il(t),t})}function vt(e){return e[Hh]||null}function el(e){return e[zh]||null}function tl(e){return e[Gh]||null}function nl(e){let t=vt(e)||el(e)||tl(e);return t!==null?t.standalone:!1}function rl(e,t){let n=e[qh]||null;if(!n&&t===!0)throw new Error(`Type ${ce(e)} does not have '\u0275mod' property.`);return n}function ol(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||_n,exportAs:e.exportAs||null,standalone:e.standalone===!0,signals:e.signals===!0,selectors:e.selectors||Jt,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:cu(e.inputs,t),outputs:cu(e.outputs),debugInfo:null}}function il(e){e.features?.forEach(t=>t(e))}function uu(e,t){if(!e)return null;let n=t?tl:Dp;return()=>(typeof e=="function"?e():e).map(r=>n(r)).filter(wp)}function Cp(e){let t=0,n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(let o of n)t=Math.imul(31,t)+o.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function Co(e){return{\u0275providers:e}}function Ep(...e){return{\u0275providers:sl(!0,e),\u0275fromNgModule:!0}}function sl(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return Ns(t,s=>{let a=s;Ui(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&al(o,i),n}function al(e,t){for(let n=0;n{t(i,r)})}}function Ui(e,t,n,r){if(e=pe(e),!e)return!1;let o=null,i=nu(e),s=!i&&vt(e);if(!i&&!s){let c=e.ngModule;if(i=nu(c),i)o=c;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let u of c)Ui(u,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let u;try{Ns(i.imports,l=>{Ui(l,t,n,r)&&(u||=[],u.push(l))})}finally{}u!==void 0&&al(u,t)}if(!a){let u=Kt(o)||(()=>new o);t({provide:o,useFactory:u,deps:Jt},o),t({provide:Qu,useValue:o,multi:!0},o),t({provide:Xt,useValue:()=>x(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let u=e;Os(c,l=>{t(l,u)})}}else return!1;return o!==e&&e.providers!==void 0}function Os(e,t){for(let n of e)Gu(n)&&(n=n.\u0275providers),Array.isArray(n)?Os(n,t):t(n)}var Ip=j({provide:String,useValue:j});function cl(e){return e!==null&&typeof e=="object"&&Ip in e}function bp(e){return!!(e&&e.useExisting)}function Mp(e){return!!(e&&e.useFactory)}function Hi(e){return typeof e=="function"}var Eo=new S(""),Wr={},Sp={},Ti;function ks(){return Ti===void 0&&(Ti=new no),Ti}var ge=class{},Nn=class extends ge{get destroyed(){return this._destroyed}constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Gi(t,s=>this.processProvider(s)),this.records.set(Yu,qt(void 0,this)),o.has("environment")&&this.records.set(ge,qt(void 0,this));let i=this.records.get(Eo);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Qu,Jt,M.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let t=A(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),A(t)}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();let n=nt(this),r=he(void 0),o;try{return t()}finally{nt(n),he(r)}}get(t,n=Tn,r=M.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(ou))return t[ou](this);r=wo(r);let o,i=nt(this),s=he(void 0);try{if(!(r&M.SkipSelf)){let c=this.records.get(t);if(c===void 0){let u=Rp(t)&&yo(t);u&&this.injectableDefInScope(u)?c=qt(zi(t),Wr):c=null,this.records.set(t,c)}if(c!=null)return this.hydrate(t,c)}let a=r&M.Self?ks():this.parent;return n=r&M.Optional&&n===Tn?null:n,a.get(t,n)}catch(a){if(a.name==="NullInjectorError"){if((a[eo]=a[eo]||[]).unshift(ce(t)),i)throw a;return rp(a,t,"R3InjectorError",this.source)}else throw a}finally{he(s),nt(i)}}resolveInjectorInitializers(){let t=A(null),n=nt(this),r=he(void 0),o;try{let i=this.get(Xt,Jt,M.Self);for(let s of i)s()}finally{nt(n),he(r),A(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(ce(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new D(205,!1)}processProvider(t){t=pe(t);let n=Hi(t)?t:pe(t&&t.provide),r=Tp(t);if(!Hi(t)&&t.multi===!0){let o=this.records.get(n);o||(o=qt(void 0,Wr,!0),o.factory=()=>$i(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){let r=A(null);try{return n.value===Wr&&(n.value=Sp,n.value=n.factory()),typeof n.value=="object"&&n.value&&Ap(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{A(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=pe(t.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){let n=this._onDestroyHooks.indexOf(t);n!==-1&&this._onDestroyHooks.splice(n,1)}};function zi(e){let t=yo(e),n=t!==null?t.factory:Kt(e);if(n!==null)return n;if(e instanceof S)throw new D(204,!1);if(e instanceof Function)return xp(e);throw new D(204,!1)}function xp(e){if(e.length>0)throw new D(204,!1);let n=Bh(e);return n!==null?()=>n.factory(e):()=>new e}function Tp(e){if(cl(e))return qt(void 0,e.useValue);{let t=_p(e);return qt(t,Wr)}}function _p(e,t,n){let r;if(Hi(e)){let o=pe(e);return Kt(o)||zi(o)}else if(cl(e))r=()=>pe(e.useValue);else if(Mp(e))r=()=>e.useFactory(...$i(e.deps||[]));else if(bp(e))r=()=>x(pe(e.useExisting));else{let o=pe(e&&(e.useClass||e.provide));if(Np(e))r=()=>new o(...$i(e.deps));else return Kt(o)||zi(o)}return r}function qt(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Np(e){return!!e.deps}function Ap(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function Rp(e){return typeof e=="function"||typeof e=="object"&&e instanceof S}function Gi(e,t){for(let n of e)Array.isArray(n)?Gi(n,t):n&&Gu(n)?Gi(n.\u0275providers,t):t(n)}function qe(e,t){e instanceof Nn&&e.assertNotDestroyed();let n,r=nt(e),o=he(void 0);try{return t()}finally{nt(r),he(o)}}function Op(){return qu()!==void 0||ep()!=null}function kp(e){return typeof e=="function"}var We=0,I=1,y=2,ne=3,xe=4,_e=5,An=6,Rn=7,ue=8,tn=9,Fe=10,re=11,On=12,lu=13,zn=14,Te=15,yt=16,Wt=17,He=18,Io=19,ul=20,rt=21,_i=22,Dt=23,ze=25,ll=1;var wt=7,ro=8,nn=9,te=10,oo=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(oo||{});function ot(e){return Array.isArray(e)&&typeof e[ll]=="object"}function Ze(e){return Array.isArray(e)&&e[ll]===!0}function dl(e){return(e.flags&4)!==0}function bo(e){return e.componentOffset>-1}function Ps(e){return(e.flags&1)===1}function Gn(e){return!!e.template}function qi(e){return(e[y]&512)!==0}var Wi=class{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function fl(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}function an(){return hl}function hl(e){return e.type.prototype.ngOnChanges&&(e.setInput=Fp),Pp}an.ngInherit=!0;function Pp(){let e=gl(this),t=e?.current;if(t){let n=e.previous;if(n===_n)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Fp(e,t,n,r,o){let i=this.declaredInputs[r],s=gl(e)||Lp(e,{previous:_n,current:null}),a=s.current||(s.current={}),c=s.previous,u=c[i];a[i]=new Wi(u&&u.currentValue,n,c===_n),fl(e,t,o,n)}var pl="__ngSimpleChanges__";function gl(e){return e[pl]||null}function Lp(e,t){return e[pl]=t}var du=null;var Oe=function(e,t,n){du?.(e,t,n)},ml="svg",jp="math";function Le(e){for(;Array.isArray(e);)e=e[We];return e}function Vp(e,t){return Le(t[e])}function ve(e,t){return Le(t[e.index])}function Fs(e,t){return e.data[t]}function st(e,t){let n=t[e];return ot(n)?n:n[We]}function $p(e){return(e[y]&4)===4}function Ls(e){return(e[y]&128)===128}function Bp(e){return Ze(e[ne])}function kn(e,t){return t==null?null:e[t]}function vl(e){e[Wt]=0}function Up(e){e[y]&1024||(e[y]|=1024,Ls(e)&&Mo(e))}function Pn(e){return!!(e[y]&9216||e[Dt]?.dirty)}function Zi(e){e[Fe].changeDetectionScheduler?.notify(7),e[y]&64&&(e[y]|=1024),Pn(e)&&Mo(e)}function Mo(e){e[Fe].changeDetectionScheduler?.notify(0);let t=Fn(e);for(;t!==null&&!(t[y]&8192||(t[y]|=8192,!Ls(t)));)t=Fn(t)}function yl(e,t){if((e[y]&256)===256)throw new D(911,!1);e[rt]===null&&(e[rt]=[]),e[rt].push(t)}function Hp(e,t){if(e[rt]===null)return;let n=e[rt].indexOf(t);n!==-1&&e[rt].splice(n,1)}function Fn(e){let t=e[ne];return Ze(t)?t[ne]:t}var R={lFrame:xl(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Dl=!1;function zp(){return R.lFrame.elementDepthCount}function Gp(){R.lFrame.elementDepthCount++}function qp(){R.lFrame.elementDepthCount--}function wl(){return R.bindingsEnabled}function Wp(){return R.skipHydrationRootTNode!==null}function Zp(e){return R.skipHydrationRootTNode===e}function Yp(){R.skipHydrationRootTNode=null}function $(){return R.lFrame.lView}function je(){return R.lFrame.tView}function ie(){let e=Cl();for(;e!==null&&e.type===64;)e=e.parent;return e}function Cl(){return R.lFrame.currentTNode}function Qp(){let e=R.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function qn(e,t){let n=R.lFrame;n.currentTNode=e,n.isParent=t}function El(){return R.lFrame.isParent}function Kp(){R.lFrame.isParent=!1}function Il(){return Dl}function fu(e){Dl=e}function Jp(e){return R.lFrame.bindingIndex=e}function So(){return R.lFrame.bindingIndex++}function Xp(){return R.lFrame.inI18n}function eg(e,t){let n=R.lFrame;n.bindingIndex=n.bindingRootIndex=e,Yi(t)}function tg(){return R.lFrame.currentDirectiveIndex}function Yi(e){R.lFrame.currentDirectiveIndex=e}function bl(){return R.lFrame.currentQueryIndex}function js(e){R.lFrame.currentQueryIndex=e}function ng(e){let t=e[I];return t.type===2?t.declTNode:t.type===1?e[_e]:null}function Ml(e,t,n){if(n&M.SkipSelf){let o=t,i=e;for(;o=o.parent,o===null&&!(n&M.Host);)if(o=ng(i),o===null||(i=i[zn],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=R.lFrame=Sl();return r.currentTNode=t,r.lView=e,!0}function Vs(e){let t=Sl(),n=e[I];R.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Sl(){let e=R.lFrame,t=e===null?null:e.child;return t===null?xl(e):t}function xl(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 Tl(){let e=R.lFrame;return R.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var _l=Tl;function $s(){let e=Tl();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 xo(){return R.lFrame.selectedIndex}function Ct(e){R.lFrame.selectedIndex=e}function Nl(){let e=R.lFrame;return Fs(e.tView,e.selectedIndex)}function Mt(){R.lFrame.currentNamespace=ml}function To(){rg()}function rg(){R.lFrame.currentNamespace=null}function og(){return R.lFrame.currentNamespace}var Al=!0;function Bs(){return Al}function Us(e){Al=e}function ig(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=hl(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}o&&(n.preOrderHooks??=[]).push(0-e,o),i&&((n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i))}function Hs(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[c]<0&&(e[Wt]+=65536),(a>14>16&&(e[y]&3)===t&&(e[y]+=16384,hu(a,i)):hu(a,i)}var Qt=-1,Ln=class{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}};function ag(e){return e instanceof Ln}function cg(e){return(e.flags&8)!==0}function ug(e){return(e.flags&16)!==0}function Ol(e){return e!==Qt}function io(e){return e&32767}function lg(e){return e>>16}function so(e,t){let n=lg(e),r=t;for(;n>0;)r=r[zn],n--;return r}var Qi=!0;function pu(e){let t=Qi;return Qi=e,t}var dg=256,kl=dg-1,Pl=5,fg=0,ke={};function hg(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(Sn)&&(r=n[Sn]),r==null&&(r=n[Sn]=fg++);let o=r&kl,i=1<>Pl)]|=i}function Fl(e,t){let n=Ll(e,t);if(n!==-1)return n;let r=t[I];r.firstCreatePass&&(e.injectorIndex=t.length,Ai(r.data,e),Ai(t,null),Ai(r.blueprint,null));let o=zs(e,t),i=e.injectorIndex;if(Ol(o)){let s=io(o),a=so(o,t),c=a[I].data;for(let u=0;u<8;u++)t[i+u]=a[s+u]|c[s+u]}return t[i+8]=o,i}function Ai(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Ll(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 n=0,r=null,o=t;for(;o!==null;){if(r=Ul(o),r===null)return Qt;if(n++,o=o[zn],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return Qt}function pg(e,t,n){hg(e,t,n)}function gg(e,t){if(t==="class")return e.classes;if(t==="style")return e.styles;let n=e.attrs;if(n){let r=n.length,o=0;for(;o>20,d=r?a:a+l,f=o?a+l:u;for(let h=d;h=c&&g.type===n)return h}if(o){let h=s[c];if(h&&Gn(h)&&h.type===n)return c}return null}function rn(e,t,n,r){let o=e[n],i=t.data;if(ag(o)){let s=o;s.resolving&&Zh(Wh(i[n]));let a=pu(s.canSeeViewProviders);s.resolving=!0;let c,u=s.injectImpl?he(s.injectImpl):null,l=Ml(e,r,M.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&ig(n,i[n],t)}finally{u!==null&&he(u),pu(a),s.resolving=!1,_l()}}return o}function vg(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(Sn)?e[Sn]:void 0;return typeof t=="number"?t>=0?t&kl:yg:t}function gu(e,t,n){let r=1<>Pl)]&r)}function mu(e,t){return!(e&M.Self)&&!(e&M.Host&&t)}var mt=class{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return $l(this._tNode,this._lView,t,wo(r),n)}};function yg(){return new mt(ie(),$())}function Gs(e){return Ts(()=>{let t=e.prototype.constructor,n=t[Xr]||Ki(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[Xr]||Ki(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Ki(e){return Bu(e)?()=>{let t=Ki(pe(e));return t&&t()}:Kt(e)}function Dg(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[y]&2048&&!(s[y]&512);){let a=Bl(i,s,n,r|M.Self,ke);if(a!==ke)return a;let c=i.parent;if(!c){let u=s[ul];if(u){let l=u.get(n,ke,r);if(l!==ke)return l}c=Ul(s),s=s[zn]}i=c}return o}function Ul(e){let t=e[I],n=t.type;return n===2?t.declTNode:n===1?e[_e]:null}function qs(e){return gg(ie(),e)}function vu(e,t=null,n=null,r){let o=Hl(e,t,n,r);return o.resolveInjectorInitializers(),o}function Hl(e,t=null,n=null,r,o=new Set){let i=[n||Jt,Ep(e)];return r=r||(typeof e=="object"?void 0:ce(e)),new Nn(i,t||ks(),r||null,o)}var gt=class gt{static create(t,n){if(Array.isArray(t))return vu({name:""},n,t,"");{let r=t.name??"";return vu({name:r},t.parent,t.providers,r)}}};gt.THROW_IF_NOT_FOUND=Tn,gt.NULL=new no,gt.\u0275prov=E({token:gt,providedIn:"any",factory:()=>x(Yu)}),gt.__NG_ELEMENT_ID__=-1;var Et=gt;var wg=new S("");wg.__NG_ELEMENT_ID__=e=>{let t=ie();if(t===null)throw new D(204,!1);if(t.type&2)return t.value;if(e&M.Optional)return null;throw new D(204,!1)};var Cg="ngOriginalError";function Ri(e){return e[Cg]}var Ge=class{constructor(){this._console=console}handleError(t){let n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&Ri(t);for(;n&&Ri(n);)n=Ri(n);return n||null}},zl=new S("",{providedIn:"root",factory:()=>p(Ge).handleError.bind(void 0)}),Gl=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=Eg,t.__NG_ENV_ID__=r=>r;let e=t;return e})(),Ji=class extends Gl{constructor(t){super(),this._lView=t}onDestroy(t){return yl(this._lView,t),()=>Hp(this._lView,t)}};function Eg(){return new Ji($())}function Ig(){return cn(ie(),$())}function cn(e,t){return new Ye(ve(e,t))}var Ye=(()=>{let t=class t{constructor(r){this.nativeElement=r}};t.__NG_ELEMENT_ID__=Ig;let e=t;return e})();function bg(e){return e instanceof Ye?e.nativeElement:e}var Xi=class extends ee{constructor(t=!1){super(),this.destroyRef=void 0,this.__isAsync=t,Op()&&(this.destroyRef=p(Gl,{optional:!0})??void 0)}emit(t){let n=A(null);try{super.next(t)}finally{A(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;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=Oi(i),o&&(o=Oi(o)),s&&(s=Oi(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof U&&t.add(a),a}};function Oi(e){return t=>{setTimeout(e,void 0,t)}}var J=Xi;function Mg(){return this._results[Symbol.iterator]()}var es=class e{get changes(){return this._changes??=new J}constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;let n=e.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=Mg)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){this.dirty=!1;let r=sp(t);(this._changesDetected=!ip(this._results,r,n))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}};function ql(e){return(e.flags&128)===128}var Wl=new Map,Sg=0;function xg(){return Sg++}function Tg(e){Wl.set(e[Io],e)}function _g(e){Wl.delete(e[Io])}var yu="__ngContext__";function It(e,t){ot(t)?(e[yu]=t[Io],Tg(t)):e[yu]=t}function Zl(e){return Ql(e[On])}function Yl(e){return Ql(e[xe])}function Ql(e){for(;e!==null&&!Ze(e);)e=e[xe];return e}var ts;function Kl(e){ts=e}function Ng(){if(ts!==void 0)return ts;if(typeof document<"u")return document;throw new D(210,!1)}var Ws=new S("",{providedIn:"root",factory:()=>Ag}),Ag="ng",Zs=new S(""),un=new S("",{providedIn:"platform",factory:()=>"unknown"});var Ys=new S("",{providedIn:"root",factory:()=>Ng().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var Rg="h",Og="b";var kg=()=>null;function Qs(e,t,n=!1){return kg(e,t,n)}var Jl=!1,Pg=new S("",{providedIn:"root",factory:()=>Jl});var qr;function Fg(){if(qr===void 0&&(qr=null,xn.trustedTypes))try{qr=xn.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return qr}function Du(e){return Fg()?.createScriptURL(e)||e}var ao=class{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Vu})`}};function _o(e){return e instanceof ao?e.changingThisBreaksApplicationSecurity:e}function Ks(e,t){let n=Lg(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Vu})`)}return n===t}function Lg(e){return e instanceof ao&&e.getTypeName()||null}var jg=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Xl(e){return e=String(e),e.match(jg)?e:"unsafe:"+e}var No=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(No||{});function Wn(e){let t=td();return t?t.sanitize(No.URL,e)||"":Ks(e,"URL")?_o(e):Xl(Do(e))}function Vg(e){let t=td();if(t)return Du(t.sanitize(No.RESOURCE_URL,e)||"");if(Ks(e,"ResourceURL"))return Du(_o(e));throw new D(904,!1)}function $g(e,t){return t==="src"&&(e==="embed"||e==="frame"||e==="iframe"||e==="media"||e==="script")||t==="href"&&(e==="base"||e==="link")?Vg:Wn}function ed(e,t,n){return $g(t,n)(e)}function td(){let e=$();return e&&e[Fe].sanitizer}function nd(e){return e instanceof Function?e():e}var St=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(St||{}),Bg;function Js(e,t){return Bg(e,t)}function Zt(e,t,n,r,o){if(r!=null){let i,s=!1;Ze(r)?i=r:ot(r)&&(s=!0,r=r[We]);let a=Le(r);e===0&&n!==null?o==null?sd(t,n,a):co(t,n,a,o||null,!0):e===1&&n!==null?co(t,n,a,o||null,!0):e===2?rm(t,a,s):e===3&&t.destroyNode(a),i!=null&&im(t,e,i,n,o)}}function Ug(e,t){return e.createText(t)}function Hg(e,t,n){e.setValue(t,n)}function rd(e,t,n){return e.createElement(t,n)}function zg(e,t){od(e,t),t[We]=null,t[_e]=null}function Gg(e,t,n,r,o,i){r[We]=o,r[_e]=t,Ro(e,r,n,1,o,i)}function od(e,t){t[Fe].changeDetectionScheduler?.notify(8),Ro(e,t,t[re],2,null,null)}function qg(e){let t=e[On];if(!t)return ki(e[I],e);for(;t;){let n=null;if(ot(t))n=t[On];else{let r=t[te];r&&(n=r)}if(!n){for(;t&&!t[xe]&&t!==e;)ot(t)&&ki(t[I],t),t=t[ne];t===null&&(t=e),ot(t)&&ki(t[I],t),n=t&&t[xe]}t=n}}function Wg(e,t,n,r){let o=te+r,i=n.length;r>0&&(n[o-1][xe]=t),r0&&(e[n-1][xe]=r[xe]);let i=to(e,te+t);zg(r[I],r);let s=i[He];s!==null&&s.detachView(i[I]),r[ne]=null,r[xe]=null,r[y]&=-129}return r}function Ao(e,t){if(!(t[y]&256)){let n=t[re];n.destroyNode&&Ro(e,t,n,3,null,null),qg(t)}}function ki(e,t){if(t[y]&256)return;let n=A(null);try{t[y]&=-129,t[y]|=256,t[Dt]&&bc(t[Dt]),Yg(e,t),Zg(e,t),t[I].type===1&&t[re].destroy();let r=t[yt];if(r!==null&&Ze(t[ne])){r!==t[ne]&&Xs(r,t);let o=t[He];o!==null&&o.detachView(e)}_g(t)}finally{A(n)}}function Zg(e,t){let n=e.cleanup,r=t[Rn];if(n!==null)for(let i=0;i=0?r[s]():r[-s].unsubscribe(),i+=2}else{let s=r[n[i+1]];n[i].call(s)}r!==null&&(t[Rn]=null);let o=t[rt];if(o!==null){t[rt]=null;for(let i=0;i-1){let{encapsulation:i}=e.data[r.directiveStart+o];if(i===Pe.None||i===Pe.Emulated)return null}return ve(r,n)}}function co(e,t,n,r,o){e.insertBefore(t,n,r,o)}function sd(e,t,n){e.appendChild(t,n)}function wu(e,t,n,r,o){r!==null?co(e,t,n,r,o):sd(e,t,n)}function Jg(e,t,n,r){e.removeChild(t,n,r)}function ea(e,t){return e.parentNode(t)}function Xg(e,t){return e.nextSibling(t)}function em(e,t,n){return nm(e,t,n)}function tm(e,t,n){return e.type&40?ve(e,n):null}var nm=tm,Cu;function ta(e,t,n,r){let o=Qg(e,r,t),i=t[re],s=r.parent||t[_e],a=em(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;cze&&ld(e,t,ze,!1),Oe(s?2:0,o),n(r,o)}finally{Ct(i),Oe(s?3:1,o)}}function pd(e,t,n){if(dl(t)){let r=A(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;snull;function hm(e,t,n,r){let o=Id(t);o.push(n),e.firstCreatePass&&bd(e).push(r,o.length-1)}function pm(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return Wp()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function Eu(e,t,n,r,o){for(let i in t){if(!t.hasOwnProperty(i))continue;let s=t[i];if(s===void 0)continue;r??={};let a,c=en.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?Iu(r,n,u,a,c):Iu(r,n,u,a)}return r}function Iu(e,t,n,r,o){let i;e.hasOwnProperty(n)?(i=e[n]).push(t,r):i=e[n]=[t,r],o!==void 0&&i.push(o)}function gm(e,t,n){let r=t.directiveStart,o=t.directiveEnd,i=e.data,s=t.attrs,a=[],c=null,u=null;for(let l=r;l0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function Cm(e,t,n,r){let o=n.directiveStart,i=n.directiveEnd;bo(n)&&Tm(t,n,e.data[o+n.componentOffset]),e.firstCreatePass||Fl(n,t),It(r,t);let s=n.initialInputs;for(let a=o;a{Mo(e.lView)},consumerOnSignalRead(){this.lView[Dt]=this}}),zm=100;function xd(e,t=!0,n=0){let r=e[Fe],o=r.rendererFactory,i=!1;i||o.begin?.();try{Gm(e,n)}catch(s){throw t&&Md(e,s),s}finally{i||(o.end?.(),r.inlineEffectRunner?.flush())}}function Gm(e,t){let n=Il();try{fu(!0),is(e,t);let r=0;for(;Pn(e);){if(r===zm)throw new D(103,!1);r++,is(e,1)}}finally{fu(n)}}function qm(e,t,n,r){let o=t[y];if((o&256)===256)return;let i=!1,s=!1;!i&&t[Fe].inlineEffectRunner?.flush(),Vs(t);let a=null,c=null;!i&&Wm(e)&&(c=$m(t),a=Ec(c));try{vl(t),Jp(e.bindingStartIndex),n!==null&&hd(e,t,n,2,r);let u=(o&3)===3;if(!i)if(u){let f=e.preOrderCheckHooks;f!==null&&Zr(t,f,null)}else{let f=e.preOrderHooks;f!==null&&Yr(t,f,0,null),Ni(t,0)}if(s||Zm(t),Td(t,0),e.contentQueries!==null&&Ed(e,t),!i)if(u){let f=e.contentCheckHooks;f!==null&&Zr(t,f)}else{let f=e.contentHooks;f!==null&&Yr(t,f,1),Ni(t,1)}am(e,t);let l=e.components;l!==null&&Nd(t,l,0);let d=e.viewQuery;if(d!==null&&os(2,d,r),!i)if(u){let f=e.viewCheckHooks;f!==null&&Zr(t,f)}else{let f=e.viewHooks;f!==null&&Yr(t,f,2),Ni(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[_i]){for(let f of t[_i])f();t[_i]=null}i||(t[y]&=-73)}catch(u){throw i||Mo(t),u}finally{c!==null&&(Ic(c,a),Um(c)),$s()}}function Wm(e){return e.type!==2}function Td(e,t){for(let n=Zl(e);n!==null;n=Yl(n))for(let r=te;r-1&&(jn(t,r),to(n,r))}this._attachedToViewContainer=!1}Ao(this._lView[I],this._lView)}onDestroy(t){yl(this._lView,t)}markForCheck(){ca(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[y]&=-129}reattach(){Zi(this._lView),this._lView[y]|=128}detectChanges(){this._lView[y]|=1024,xd(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new D(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=qi(this._lView),n=this._lView[yt];n!==null&&!t&&Xs(n,this._lView),od(this._lView[I],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new D(902,!1);this._appRef=t;let n=qi(this._lView),r=this._lView[yt];r!==null&&!n&&id(r,this._lView),Zi(this._lView)}},Vn=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=Jm;let e=t;return e})(),Qm=Vn,Km=class extends Qm{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){let o=sa(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:r});return new bt(o)}};function Jm(){return ua(ie(),$())}function ua(e,t){return e.type&4?new Km(t,e,cn(e,t)):null}var bM=new RegExp(`^(\\d+)*(${Og}|${Rg})*(.*)`);var Xm=()=>null;function fo(e,t){return Xm(e,t)}var $n=class{},la=new S("",{providedIn:"root",factory:()=>!1});var Ad=new S(""),ss=class{},ho=class{};function ev(e){let t=Error(`No component factory found for ${ce(e)}.`);return t[tv]=e,t}var tv="ngComponent";var as=class{resolveComponentFactory(t){throw ev(t)}},wa=class wa{};wa.NULL=new as;var on=wa,sn=class{},Zn=(()=>{let t=class t{constructor(){this.destroyNode=null}};t.__NG_ELEMENT_ID__=()=>nv();let e=t;return e})();function nv(){let e=$(),t=ie(),n=st(t.index,e);return(ot(n)?n:e)[re]}var rv=(()=>{let t=class t{};t.\u0275prov=E({token:t,providedIn:"root",factory:()=>null});let e=t;return e})(),Pi={};var bu=new Set;function Lo(e){bu.has(e)||(bu.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function Rd(e){let t=!0;return setTimeout(()=>{t&&(t=!1,e())}),typeof xn.requestAnimationFrame=="function"&&xn.requestAnimationFrame(()=>{t&&(t=!1,e())}),()=>{t=!1}}function Mu(e){let t=!0;return queueMicrotask(()=>{t&&e()}),()=>{t=!1}}function Su(...e){}var z=class e{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new J(!1),this.onMicrotaskEmpty=new J(!1),this.onStable=new J(!1),this.onError=new J(!1),typeof Zone>"u")throw new D(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=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.callbackScheduled=!1,sv(o)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get("isAngularZone")===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new D(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new D(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,ov,Su,Su);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}},ov={};function da(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 iv(e){e.isCheckStableRunning||e.callbackScheduled||(e.callbackScheduled=!0,Zone.root.run(()=>{Rd(()=>{e.callbackScheduled=!1,cs(e),e.isCheckStableRunning=!0,da(e),e.isCheckStableRunning=!1})}),cs(e))}function sv(e){let t=()=>{iv(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,a)=>{if(av(a))return n.invokeTask(o,i,s,a);try{return xu(e),n.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&i.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),Tu(e)}},onInvoke:(n,r,o,i,s,a,c)=>{try{return xu(e),n.invoke(o,i,s,a,c)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!cv(a)&&t(),Tu(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&(i.change=="microTask"?(e._hasPendingMicrotasks=i.microTask,cs(e),da(e)):i.change=="macroTask"&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(n,r,o,i)=>(n.handleError(o,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}function cs(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function xu(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Tu(e){e._nesting--,da(e)}var us=class{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new J,this.onMicrotaskEmpty=new J,this.onStable=new J,this.onError=new J}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}};function av(e){return Od(e,"__ignore_ng_zone__")}function cv(e){return Od(e,"__scheduler_tick__")}function Od(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var kd=(()=>{let t=class t{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){let r=[...this.internalCallbacks];this.internalCallbacks.length=0;for(let o of r)o()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}};t.\u0275prov=E({token:t,providedIn:"root",factory:()=>new t});let e=t;return e})();function ls(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(t!==null)for(let s=0;s0&&cd(e,n,i.join(" "))}}function gv(e,t,n){let r=e.projection=[];for(let o=0;o{let t=class t{};t.__NG_ELEMENT_ID__=vv;let e=t;return e})();function vv(){let e=ie();return Fd(e,$())}var yv=ln,Pd=class extends yv{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return cn(this._hostTNode,this._hostLView)}get injector(){return new mt(this._hostTNode,this._hostLView)}get parentInjector(){let t=zs(this._hostTNode,this._hostLView);if(Ol(t)){let n=so(t,this._hostLView),r=io(t),o=n[I].data[r+8];return new mt(o,n)}else return new mt(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=Nu(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-te}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=fo(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,uo(this._hostTNode,s)),a}createComponent(t,n,r,o,i){let s=t&&!kp(t),a;if(s)a=n;else{let g=n||{};a=g.index,r=g.injector,o=g.projectableNodes,i=g.environmentInjector||g.ngModuleRef}let c=s?t:new Bn(vt(t)),u=r||this.parentInjector;if(!i&&c.ngModule==null){let v=(s?u:this.parentInjector).get(ge,null);v&&(i=v)}let l=vt(c.componentType??{}),d=fo(this._lContainer,l?.id??null),f=d?.firstChild??null,h=c.create(u,o,f,i);return this.insertImpl(h.hostView,a,uo(this._hostTNode,d)),h}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(Bp(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[ne],u=new Pd(c,c[_e],c[ne]);u.detach(u.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return aa(s,o,i,r),t.attachToViewContainerRef(),Zu(Fi(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=Nu(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=jn(this._lContainer,n);r&&(to(Fi(this._lContainer),n),Ao(r[I],r))}detach(t){let n=this._adjustIndex(t,-1),r=jn(this._lContainer,n);return r&&to(Fi(this._lContainer),n)!=null?new bt(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Nu(e){return e[ro]}function Fi(e){return e[ro]||(e[ro]=[])}function Fd(e,t){let n,r=t[e.index];return Ze(r)?n=r:(n=Cd(r,t,null,e),t[e.index]=n,Fo(t,n)),wv(n,t,e,r),new Pd(n,e,t)}function Dv(e,t){let n=e[re],r=n.createComment(""),o=ve(t,e),i=ea(n,o);return co(n,i,r,Xg(n,o),!1),r}var wv=Iv,Cv=()=>!1;function Ev(e,t,n){return Cv(e,t,n)}function Iv(e,t,n,r){if(e[wt])return;let o;n.type&8?o=Le(r):o=Dv(t,n),e[wt]=o}var hs=class e{constructor(t){this.queryList=t,this.matches=null}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},ps=class e{constructor(t=[]){this.queries=t}createEmbeddedView(t){let n=t.queries;if(n!==null){let r=t.contentQueries!==null?t.contentQueries[0]:n.length,o=[];for(let i=0;i0)r.push(s[a/2]);else{let u=i[a+1],l=t[-c];for(let d=te;dt.trim())}function Rv(e,t,n){e.queries===null&&(e.queries=new ms),e.queries.track(new vs(t,n))}function Ov(e,t){let n=e.contentQueries||(e.contentQueries=[]),r=n.length?n[n.length-1]:-1;t!==r&&n.push(e.queries.length-1,t)}function fa(e,t){return e.queries.getByIndex(t)}function kv(e,t){let n=e[I],r=fa(n,t);return r.crossesNgTemplate?ys(n,e,t,[]):Ld(n,e,r,t)}function ha(e){let t=e.inputConfig,n={};for(let r in t)if(t.hasOwnProperty(r)){let o=t[r];Array.isArray(o)&&o[3]&&(n[r]=o[3])}e.inputTransforms=n}var it=class{},Un=class{};var Ds=class extends it{constructor(t,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new po(this);let o=rl(t);this._bootstrapComponents=nd(o.bootstrap),this._r3Injector=Hl(t,n,[{provide:it,useValue:this},{provide:on,useValue:this.componentFactoryResolver},...r],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(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}},ws=class extends Un{constructor(t){super(),this.moduleType=t}create(t){return new Ds(this.moduleType,t,[])}};var go=class extends it{constructor(t){super(),this.componentFactoryResolver=new po(this),this.instance=null;let n=new Nn([...t.providers,{provide:it,useValue:this},{provide:on,useValue:this.componentFactoryResolver}],t.parent||ks(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function pa(e,t,n=null){return new go({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var Yn=(()=>{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 r=this.taskId++;return this.pendingTasks.add(r),r}remove(r){this.pendingTasks.delete(r),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function jo(e,t,n){let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function Pv(e){return(e.flags&32)===32}function Fv(e,t,n,r,o,i,s,a,c){let u=t.consts,l=Po(t,e,4,s||null,a||null);yd(t,n,l,kn(u,c)),Hs(t,l);let d=l.tView=ra(2,l,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,u,null);return t.queries!==null&&(t.queries.template(t,l),d.queries=t.queries.embeddedTView(l)),l}function Au(e,t,n,r,o,i,s,a,c,u){let l=n+ze,d=t.firstCreatePass?Fv(l,t,e,r,o,i,s,a,c):t.data[l];qn(d,!1);let f=Lv(t,e,d,n);Bs()&&ta(t,e,f,d),It(f,e);let h=Cd(f,e,f,d);return e[l]=h,Fo(e,h),Ev(h,d,e),Ps(d)&&gd(t,e,d),c!=null&&md(e,d,u),d}var Lv=jv;function jv(e,t,n,r){return Us(!0),t[re].createComment("")}function ga(e,t,n,r){let o=$(),i=So();if(jo(o,i,t)){let s=je(),a=Nl();_m(a,o,e,t,n,r)}return ga}function Vv(e,t,n,r){return jo(e,So(),n)?t+Do(n)+r:Oo}function Qn(e,t,n){let r=$(),o=So();if(jo(r,o,t)){let i=je(),s=Nl();vm(i,s,r,e,t,r[re],n,!1)}return Qn}function Ru(e,t,n,r,o){let i=t.inputs,s=o?"class":"style";oa(e,n,i[s],s,r)}var Cs=class{destroy(t){}updateValue(t,n){}swap(t,n){let r=Math.min(t,n),o=Math.max(t,n),i=this.detach(o);if(o-r>1){let s=this.detach(r);this.attach(r,i),this.attach(o,s)}else this.attach(r,i)}move(t,n){this.attach(n,this.detach(t))}};function Li(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function $v(e,t,n){let r,o,i=0,s=e.length-1,a=void 0;if(Array.isArray(t)){let c=t.length-1;for(;i<=s&&i<=c;){let u=e.at(i),l=t[i],d=Li(i,u,i,l,n);if(d!==0){d<0&&e.updateValue(i,l),i++;continue}let f=e.at(s),h=t[c],g=Li(s,f,c,h,n);if(g!==0){g<0&&e.updateValue(s,h),s--,c--;continue}let v=n(i,u),O=n(s,f),F=n(i,l);if(Object.is(F,O)){let Y=n(c,h);Object.is(Y,v)?(e.swap(i,s),e.updateValue(s,h),c--,s--):e.move(s,i),e.updateValue(i,l),i++;continue}if(r??=new mo,o??=ku(e,i,s,n),Es(e,r,i,F))e.updateValue(i,l),i++,s++;else if(o.has(F))r.set(v,e.detach(i)),s--;else{let Y=e.create(i,t[i]);e.attach(i,Y),i++,s++}}for(;i<=c;)Ou(e,r,n,i,t[i]),i++}else if(t!=null){let c=t[Symbol.iterator](),u=c.next();for(;!u.done&&i<=s;){let l=e.at(i),d=u.value,f=Li(i,l,i,d,n);if(f!==0)f<0&&e.updateValue(i,d),i++,u=c.next();else{r??=new mo,o??=ku(e,i,s,n);let h=n(i,d);if(Es(e,r,i,h))e.updateValue(i,d),i++,s++,u=c.next();else if(!o.has(h))e.attach(i,e.create(i,d)),i++,s++,u=c.next();else{let g=n(i,l);r.set(g,e.detach(i)),s--}}}for(;!u.done;)Ou(e,r,n,e.length,u.value),u=c.next()}for(;i<=s;)e.destroy(e.detach(s--));r?.forEach(c=>{e.destroy(c)})}function Es(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function Ou(e,t,n,r,o){if(Es(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function ku(e,t,n,r){let o=new Set;for(let i=t;i<=n;i++)o.add(r(i,e.at(i)));return o}var mo=class{constructor(){this.kvMap=new Map,this._vMap=void 0}has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;let n=this.kvMap.get(t);return this._vMap!==void 0&&this._vMap.has(n)?(this.kvMap.set(t,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,n){if(this.kvMap.has(t)){let r=this.kvMap.get(t);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(r);)r=o.get(r);o.set(r,n)}else this.kvMap.set(t,n)}forEach(t){for(let[n,r]of this.kvMap)if(t(r,n),this._vMap!==void 0){let o=this._vMap;for(;o.has(r);)r=o.get(r),t(r,n)}}};var Is=class{constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-te}};function Kn(e,t){return t}var bs=class{constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function Jn(e,t,n,r,o,i,s,a,c,u,l,d,f){Lo("NgControlFlow");let h=$(),g=je(),v=c!==void 0,O=$(),F=a?s.bind(O[Te][ue]):s,Y=new bs(v,F);O[ze+e]=Y,Au(h,g,e+1,t,n,r,o,kn(g.consts,i)),v&&Au(h,g,e+2,c,u,l,d,kn(g.consts,f))}var Ms=class extends Cs{constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r,this.operationsCounter=void 0,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-te}at(t){return this.getLView(t)[ue].$implicit}attach(t,n){let r=n[An];this.needsIndexUpdate||=t!==this.length,aa(this.lContainer,n,t,uo(this.templateTNode,r))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,Bv(this.lContainer,t)}create(t,n){let r=fo(this.lContainer,this.templateTNode.tView.ssrId),o=sa(this.hostLView,this.templateTNode,new Is(this.lContainer,n,t),{dehydratedView:r});return this.operationsCounter?.recordCreate(),o}destroy(t){Ao(t[I],t),this.operationsCounter?.recordDestroy()}updateValue(t,n){this.getLView(t)[ue].$implicit=n}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t(Us(!0),rd(r,o,og()));var vo="en-US";var Gv=vo;function qv(e){typeof e=="string"&&(Gv=e.toLowerCase().replace(/_/g,"-"))}var Wv=(e,t,n)=>{};function ma(e,t,n,r){let o=$(),i=je(),s=ie();return Yv(i,o,o[re],s,e,t,r),ma}function Zv(e,t,n,r){let o=e.cleanup;if(o!=null)for(let i=0;ic?a[c]:null}typeof s=="string"&&(i+=2)}return null}function Yv(e,t,n,r,o,i,s){let a=Ps(r),u=e.firstCreatePass&&bd(e),l=t[ue],d=Id(t),f=!0;if(r.type&3||s){let v=ve(r,t),O=s?s(v):v,F=d.length,Y=s?$e=>s(Le($e[r.index])):r.index;Wv(v,o,i);let G=null;if(!s&&a&&(G=Zv(e,t,o,r.index)),G!==null){let $e=G.__ngLastListenerFn__||G;$e.__ngNextListenerFn__=i,G.__ngLastListenerFn__=i,f=!1}else{i=ju(r,t,l,i,!1);let $e=n.listen(O,o,i);d.push(i,$e),u&&u.push(o,Y,F,F+1)}}else i=ju(r,t,l,i,!1);let h=r.outputs,g;if(f&&h!==null&&(g=h[o])){let v=g.length;if(v)for(let O=0;O-1?st(e.index,t):t;ca(a,5);let c=Lu(t,n,r,s),u=i.__ngNextListenerFn__;for(;u;)c=Lu(t,n,u,s)&&c,u=u.__ngNextListenerFn__;return o&&c===!1&&s.preventDefault(),c}}function jd(e,t,n,r){Nv(e,t,n,r)}function Vd(e){let t=$(),n=je(),r=bl();js(r+1);let o=fa(n,r);if(e.dirty&&$p(t)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=kv(t,r);e.reset(i,bg),e.notifyOnChanges()}return!0}return!1}function $d(){return Tv($(),bl())}function Z(e,t=""){let n=$(),r=je(),o=e+ze,i=r.firstCreatePass?Po(r,o,1,t,null):r.data[o],s=Qv(r,n,i,t,e);n[o]=s,Bs()&&ta(r,n,s,i),qn(i,!1)}var Qv=(e,t,n,r,o)=>(Us(!0),Ug(t[re],r));function xt(e){return Bd("",e,""),xt}function Bd(e,t,n){let r=$(),o=Vv(r,e,t,n);return o!==Oo&&Om(r,xo(),o),Bd}var Kv=(()=>{let t=class t{constructor(r){this._injector=r,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(r){if(!r.standalone)return null;if(!this.cachedInjectors.has(r)){let o=sl(!1,r.type),i=o.length>0?pa([o],this._injector,`Standalone[${r.type.name}]`):null;this.cachedInjectors.set(r,i)}return this.cachedInjectors.get(r)}ngOnDestroy(){try{for(let r of this.cachedInjectors.values())r!==null&&r.destroy()}finally{this.cachedInjectors.clear()}}};t.\u0275prov=E({token:t,providedIn:"environment",factory:()=>new t(x(ge))});let e=t;return e})();function De(e){Lo("NgStandalone"),e.getStandaloneInjector=t=>t.get(Kv).getOrCreateStandaloneInjector(e)}var Vo=(()=>{let t=class t{log(r){console.log(r)}warn(r){console.warn(r)}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"platform"});let e=t;return e})();var Ud=new S("");function er(e){return!!e&&typeof e.then=="function"}function Hd(e){return!!e&&typeof e.subscribe=="function"}var zd=new S(""),Gd=(()=>{let t=class t{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,o)=>{this.resolve=r,this.reject=o}),this.appInits=p(zd,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let r=[];for(let i of this.appInits){let s=i();if(er(s))r.push(s);else if(Hd(s)){let a=new Promise((c,u)=>{s.subscribe({complete:c,error:u})});r.push(a)}}let o=()=>{this.done=!0,this.resolve()};Promise.all(r).then(()=>{o()}).catch(i=>{this.reject(i)}),r.length===0&&o(),this.initialized=!0}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),va=new S("");function Jv(){Mc(()=>{throw new D(600,!1)})}function Xv(e){return e.isBoundToModule}var ey=10;function ty(e,t,n){try{let r=n();return er(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}var dn=(()=>{let t=class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=p(zl),this.afterRenderEffectManager=p(kd),this.zonelessEnabled=p(la),this.externalTestViews=new Set,this.beforeRender=new ee,this.afterTick=new ee,this.componentTypes=[],this.components=[],this.isStable=p(Yn).hasPendingTasks.pipe(T(r=>!r)),this._injector=p(ge)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(r,o){let i=r instanceof ho;if(!this._injector.get(Gd).done){let h=!i&&nl(r),g=!1;throw new D(405,g)}let a;i?a=r:a=this._injector.get(on).resolveComponentFactory(r),this.componentTypes.push(a.componentType);let c=Xv(a)?void 0:this._injector.get(it),u=o||a.selector,l=a.create(Et.NULL,[],u,c),d=l.location.nativeElement,f=l.injector.get(Ud,null);return f?.registerApplication(d),l.onDestroy(()=>{this.detachView(l.hostView),ji(this.components,l),f?.unregisterApplication(d)}),this._loadComponent(l),l}tick(){this._tick(!0)}_tick(r){if(this._runningTick)throw new D(101,!1);let o=A(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(r)}catch(i){this.internalErrorHandler(i)}finally{this._runningTick=!1,A(o),this.afterTick.next()}}detectChangesInAttachedViews(r){let o=null;this._injector.destroyed||(o=this._injector.get(sn,null,{optional:!0}));let i=0,s=this.afterRenderEffectManager;for(;iPn(c))&&(s.execute(),!this.allViews.some(({_lView:c})=>Pn(c))))break}}attachView(r){let o=r;this._views.push(o),o.attachToAppRef(this)}detachView(r){let o=r;ji(this._views,o),o.detachFromAppRef()}_loadComponent(r){this.attachView(r.hostView),this.tick(),this.components.push(r);let o=this._injector.get(va,[]);[...this._bootstrapListeners,...o].forEach(i=>i(r))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(r=>r()),this._views.slice().forEach(r=>r.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(r){return this._destroyListeners.push(r),()=>ji(this._destroyListeners,r)}destroy(){if(this._destroyed)throw new D(406,!1);let r=this._injector;r.destroy&&!r.destroyed&&r.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function ji(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function ny(e,t,n,r){if(!n&&!Pn(e))return;xd(e,t,n&&!r?0:1)}var Ss=class{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},ya=(()=>{let t=class t{compileModuleSync(r){return new ws(r)}compileModuleAsync(r){return Promise.resolve(this.compileModuleSync(r))}compileModuleAndAllComponentsSync(r){let o=this.compileModuleSync(r),i=rl(r),s=nd(i.declarations).reduce((a,c)=>{let u=vt(c);return u&&a.push(new Bn(u)),a},[]);return new Ss(o,s)}compileModuleAndAllComponentsAsync(r){return Promise.resolve(this.compileModuleAndAllComponentsSync(r))}clearCache(){}clearCacheFor(r){}getModuleId(r){}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var ry=!0;var oy=(()=>{let t=class t{constructor(){this.appRef=p(dn),this.taskService=p(Yn),this.ngZone=p(z),this.zonelessEnabled=p(la),this.disableScheduling=p(Ad,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new U,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 us||!this.zoneIsDefined)}notify(r){if(!this.zonelessEnabled&&r===5)return;switch(r){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?Mu:Rd;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&&z.isInAngularZone())}tick(r){if(this.runningTick||this.appRef.destroyed)return;let o=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick(r)},void 0,this.schedulerTickApplyArgs)}catch(i){throw this.taskService.remove(o),i}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Mu(()=>{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 r=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(r)}}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var iy=(()=>{let t=class t{constructor(){this.zone=p(z),this.changeDetectionScheduler=p($n,{optional:!0}),this.applicationRef=p(dn)}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=E({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function qd({ngZoneFactory:e,ignoreChangesOutsideZone:t}){return e??=()=>new z(Zd()),[{provide:z,useFactory:e},{provide:Xt,multi:!0,useFactory:()=>{let n=p(iy,{optional:!0});return()=>n.initialize()}},{provide:Xt,multi:!0,useFactory:()=>{let n=p(ay);return()=>{n.initialize()}}},{provide:zl,useFactory:sy},t===!0?{provide:Ad,useValue:!0}:[],ry||t===!1?{provide:$n,useExisting:oy}:[]]}function sy(){let e=p(z),t=p(Ge);return n=>e.runOutsideAngular(()=>t.handleError(n))}function Wd(e){let t=e?.ignoreChangesOutsideZone,n=qd({ngZoneFactory:()=>{let r=Zd(e);return r.shouldCoalesceEventChangeDetection&&Lo("NgZone_CoalesceEvent"),new z(r)},ignoreChangesOutsideZone:t});return Co([[],{provide:la,useValue:!1},n])}function Zd(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var ay=(()=>{let t=class t{constructor(){this.subscription=new U,this.initialized=!1,this.zone=p(z),this.pendingTasks=p(Yn)}initialize(){if(this.initialized)return;this.initialized=!0;let r=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(r=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{z.assertNotInAngularZone(),queueMicrotask(()=>{r!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(r),r=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{z.assertInAngularZone(),r??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function cy(){return typeof $localize<"u"&&$localize.locale||vo}var Da=new S("",{providedIn:"root",factory:()=>p(Da,M.Optional|M.SkipSelf)||cy()});var Yd=new S("");var Jr=null;function uy(e=[],t){return Et.create({name:t,providers:[{provide:Eo,useValue:"platform"},{provide:Yd,useValue:new Set([()=>Jr=null])},...e]})}function ly(e=[]){if(Jr)return Jr;let t=uy(e);return Jr=t,Jv(),dy(t),t}function dy(e){e.get(Zs,null)?.forEach(n=>n())}var fn=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=fy;let e=t;return e})();function fy(e){return hy(ie(),$(),(e&16)===16)}function hy(e,t,n){if(bo(e)&&!n){let r=st(e.index,t);return new bt(r,r)}else if(e.type&47){let r=t[Te];return new bt(r,t)}return null}function Qd(e){try{let{rootComponent:t,appProviders:n,platformProviders:r}=e,o=ly(r),i=[qd({}),...n||[]],a=new go({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1}).injector,c=a.get(z);return c.run(()=>{a.resolveInjectorInitializers();let u=a.get(Ge,null),l;c.runOutsideAngular(()=>{l=c.onError.subscribe({next:h=>{u.handleError(h)}})});let d=()=>a.destroy(),f=o.get(Yd);return f.add(d),a.onDestroy(()=>{l.unsubscribe(),f.delete(d)}),ty(u,c,()=>{let h=a.get(Gd);return h.runInitializers(),h.donePromise.then(()=>{let g=a.get(Da,vo);qv(g||vo);let v=a.get(dn);return t!==void 0&&v.bootstrap(t),v})})})}catch(t){return Promise.reject(t)}}function tr(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}var nf=null;function hn(){return nf}function rf(e){nf??=e}var $o=class{};var we=new S(""),Ca=(()=>{let t=class t{historyGo(r){throw new Error("")}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=E({token:t,factory:()=>p(py),providedIn:"platform"});let e=t;return e})();var py=(()=>{let t=class t extends Ca{constructor(){super(),this._doc=p(we),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return hn().getBaseHref(this._doc)}onPopState(r){let o=hn().getGlobalEventTarget(this._doc,"window");return o.addEventListener("popstate",r,!1),()=>o.removeEventListener("popstate",r)}onHashChange(r){let o=hn().getGlobalEventTarget(this._doc,"window");return o.addEventListener("hashchange",r,!1),()=>o.removeEventListener("hashchange",r)}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(r){this._location.pathname=r}pushState(r,o,i){this._history.pushState(r,o,i)}replaceState(r,o,i){this._history.replaceState(r,o,i)}forward(){this._history.forward()}back(){this._history.back()}historyGo(r=0){this._history.go(r)}getState(){return this._history.state}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=E({token:t,factory:()=>new t,providedIn:"platform"});let e=t;return e})();function Ea(e,t){if(e.length==0)return t;if(t.length==0)return e;let n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,n==2?e+t.substring(1):n==1?e+t:e+"/"+t}function Kd(e){let t=e.match(/#|\?|$/),n=t&&t.index||e.length,r=n-(e[n-1]==="/"?1:0);return e.slice(0,r)+e.slice(n)}function Qe(e){return e&&e[0]!=="?"?"?"+e:e}var ct=(()=>{let t=class t{historyGo(r){throw new Error("")}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=E({token:t,factory:()=>p(sf),providedIn:"root"});let e=t;return e})(),of=new S(""),sf=(()=>{let t=class t extends ct{constructor(r,o){super(),this._platformLocation=r,this._removeListenerFns=[],this._baseHref=o??this._platformLocation.getBaseHrefFromDOM()??p(we).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(r){this._removeListenerFns.push(this._platformLocation.onPopState(r),this._platformLocation.onHashChange(r))}getBaseHref(){return this._baseHref}prepareExternalUrl(r){return Ea(this._baseHref,r)}path(r=!1){let o=this._platformLocation.pathname+Qe(this._platformLocation.search),i=this._platformLocation.hash;return i&&r?`${o}${i}`:o}pushState(r,o,i,s){let a=this.prepareExternalUrl(i+Qe(s));this._platformLocation.pushState(r,o,a)}replaceState(r,o,i,s){let a=this.prepareExternalUrl(i+Qe(s));this._platformLocation.replaceState(r,o,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(r=0){this._platformLocation.historyGo?.(r)}};t.\u0275fac=function(o){return new(o||t)(x(Ca),x(of,8))},t.\u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),af=(()=>{let t=class t extends ct{constructor(r,o){super(),this._platformLocation=r,this._baseHref="",this._removeListenerFns=[],o!=null&&(this._baseHref=o)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(r){this._removeListenerFns.push(this._platformLocation.onPopState(r),this._platformLocation.onHashChange(r))}getBaseHref(){return this._baseHref}path(r=!1){let o=this._platformLocation.hash??"#";return o.length>0?o.substring(1):o}prepareExternalUrl(r){let o=Ea(this._baseHref,r);return o.length>0?"#"+o:o}pushState(r,o,i,s){let a=this.prepareExternalUrl(i+Qe(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.pushState(r,o,a)}replaceState(r,o,i,s){let a=this.prepareExternalUrl(i+Qe(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.replaceState(r,o,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(r=0){this._platformLocation.historyGo?.(r)}};t.\u0275fac=function(o){return new(o||t)(x(Ca),x(of,8))},t.\u0275prov=E({token:t,factory:t.\u0275fac});let e=t;return e})(),nr=(()=>{let t=class t{constructor(r){this._subject=new J,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=r;let o=this._locationStrategy.getBaseHref();this._basePath=vy(Kd(Jd(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(r=!1){return this.normalize(this._locationStrategy.path(r))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(r,o=""){return this.path()==this.normalize(r+Qe(o))}normalize(r){return t.stripTrailingSlash(my(this._basePath,Jd(r)))}prepareExternalUrl(r){return r&&r[0]!=="/"&&(r="/"+r),this._locationStrategy.prepareExternalUrl(r)}go(r,o="",i=null){this._locationStrategy.pushState(i,"",r,o),this._notifyUrlChangeListeners(this.prepareExternalUrl(r+Qe(o)),i)}replaceState(r,o="",i=null){this._locationStrategy.replaceState(i,"",r,o),this._notifyUrlChangeListeners(this.prepareExternalUrl(r+Qe(o)),i)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(r=0){this._locationStrategy.historyGo?.(r)}onUrlChange(r){return this._urlChangeListeners.push(r),this._urlChangeSubscription??=this.subscribe(o=>{this._notifyUrlChangeListeners(o.url,o.state)}),()=>{let o=this._urlChangeListeners.indexOf(r);this._urlChangeListeners.splice(o,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(r="",o){this._urlChangeListeners.forEach(i=>i(r,o))}subscribe(r,o,i){return this._subject.subscribe({next:r,error:o,complete:i})}};t.normalizeQueryParams=Qe,t.joinWithSlash=Ea,t.stripTrailingSlash=Kd,t.\u0275fac=function(o){return new(o||t)(x(ct))},t.\u0275prov=E({token:t,factory:()=>gy(),providedIn:"root"});let e=t;return e})();function gy(){return new nr(x(ct))}function my(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function Jd(e){return e.replace(/\/index.html$/,"")}function vy(e){if(new RegExp("^(https?:)?//").test(e)){let[,n]=e.split(/\/\/[^\/]+/);return n}return e}function cf(e,t){t=encodeURIComponent(t);for(let n of e.split(";")){let r=n.indexOf("="),[o,i]=r==-1?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}var uf="browser",yy="server";function Ia(e){return e===yy}var Bo=class{};var Sa=class extends $o{constructor(){super(...arguments),this.supportsDOMEvents=!0}},xa=class e extends Sa{static makeCurrent(){rf(new e)}onAndCancel(t,n,r){return t.addEventListener(n,r),()=>{t.removeEventListener(n,r)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,n){return n=n||this.getDefaultDocument(),n.createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,n){return n==="window"?window:n==="document"?t:n==="body"?t.body:null}getBaseHref(t){let n=Cy();return n==null?null:Ey(n)}resetBaseElement(){rr=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return cf(document.cookie,t)}},rr=null;function Cy(){return rr=rr||document.querySelector("base"),rr?rr.getAttribute("href"):null}function Ey(e){return new URL(e,document.baseURI).pathname}var Iy=(()=>{let t=class t{build(){return new XMLHttpRequest}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=E({token:t,factory:t.\u0275fac});let e=t;return e})(),Ta=new S(""),hf=(()=>{let t=class t{constructor(r,o){this._zone=o,this._eventNameToPlugin=new Map,r.forEach(i=>{i.manager=this}),this._plugins=r.slice().reverse()}addEventListener(r,o,i){return this._findPluginFor(o).addEventListener(r,o,i)}getZone(){return this._zone}_findPluginFor(r){let o=this._eventNameToPlugin.get(r);if(o)return o;if(o=this._plugins.find(s=>s.supports(r)),!o)throw new D(5101,!1);return this._eventNameToPlugin.set(r,o),o}};t.\u0275fac=function(o){return new(o||t)(x(Ta),x(z))},t.\u0275prov=E({token:t,factory:t.\u0275fac});let e=t;return e})(),Uo=class{constructor(t){this._doc=t}},ba="ng-app-id",pf=(()=>{let t=class t{constructor(r,o,i,s={}){this.doc=r,this.appId=o,this.nonce=i,this.platformId=s,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=Ia(s),this.resetHostNodes()}addStyles(r){for(let o of r)this.changeUsageCount(o,1)===1&&this.onStyleAdded(o)}removeStyles(r){for(let o of r)this.changeUsageCount(o,-1)<=0&&this.onStyleRemoved(o)}ngOnDestroy(){let r=this.styleNodesInDOM;r&&(r.forEach(o=>o.remove()),r.clear());for(let o of this.getAllStyles())this.onStyleRemoved(o);this.resetHostNodes()}addHost(r){this.hostNodes.add(r);for(let o of this.getAllStyles())this.addStyleToHost(r,o)}removeHost(r){this.hostNodes.delete(r)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(r){for(let o of this.hostNodes)this.addStyleToHost(o,r)}onStyleRemoved(r){let o=this.styleRef;o.get(r)?.elements?.forEach(i=>i.remove()),o.delete(r)}collectServerRenderedStyles(){let r=this.doc.head?.querySelectorAll(`style[${ba}="${this.appId}"]`);if(r?.length){let o=new Map;return r.forEach(i=>{i.textContent!=null&&o.set(i.textContent,i)}),o}return null}changeUsageCount(r,o){let i=this.styleRef;if(i.has(r)){let s=i.get(r);return s.usage+=o,s.usage}return i.set(r,{usage:o,elements:[]}),o}getStyleElement(r,o){let i=this.styleNodesInDOM,s=i?.get(o);if(s?.parentNode===r)return i.delete(o),s.removeAttribute(ba),s;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=o,this.platformIsServer&&a.setAttribute(ba,this.appId),r.appendChild(a),a}}addStyleToHost(r,o){let i=this.getStyleElement(r,o),s=this.styleRef,a=s.get(o)?.elements;a?a.push(i):s.set(o,{elements:[i],usage:1})}resetHostNodes(){let r=this.hostNodes;r.clear(),r.add(this.doc.head)}};t.\u0275fac=function(o){return new(o||t)(x(we),x(Ws),x(Ys,8),x(un))},t.\u0275prov=E({token:t,factory:t.\u0275fac});let e=t;return e})(),Ma={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"},Na=/%COMP%/g,gf="%COMP%",by=`_nghost-${gf}`,My=`_ngcontent-${gf}`,Sy=!0,xy=new S("",{providedIn:"root",factory:()=>Sy});function Ty(e){return My.replace(Na,e)}function _y(e){return by.replace(Na,e)}function mf(e,t){return t.map(n=>n.replace(Na,e))}var lf=(()=>{let t=class t{constructor(r,o,i,s,a,c,u,l=null){this.eventManager=r,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=Ia(c),this.defaultRenderer=new or(r,a,u,this.platformIsServer)}createRenderer(r,o){if(!r||!o)return this.defaultRenderer;this.platformIsServer&&o.encapsulation===Pe.ShadowDom&&(o=B(m({},o),{encapsulation:Pe.Emulated}));let i=this.getOrCreateRenderer(r,o);return i instanceof Ho?i.applyToHost(r):i instanceof ir&&i.applyStyles(),i}getOrCreateRenderer(r,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,f=this.platformIsServer;switch(o.encapsulation){case Pe.Emulated:s=new Ho(u,l,o,this.appId,d,a,c,f);break;case Pe.ShadowDom:return new _a(u,l,r,o,a,c,this.nonce,f);default:s=new ir(u,l,o,d,a,c,f);break}i.set(o.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}};t.\u0275fac=function(o){return new(o||t)(x(hf),x(pf),x(Ws),x(xy),x(we),x(un),x(z),x(Ys))},t.\u0275prov=E({token:t,factory:t.\u0275fac});let e=t;return e})(),or=class{constructor(t,n,r,o){this.eventManager=t,this.doc=n,this.ngZone=r,this.platformIsServer=o,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(t,n){return n?this.doc.createElementNS(Ma[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(df(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(df(t)?t.content:t).insertBefore(n,r)}removeChild(t,n){t&&t.removeChild(n)}selectRootElement(t,n){let r=typeof t=="string"?this.doc.querySelector(t):t;if(!r)throw new D(-5104,!1);return n||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,r,o){if(o){n=o+":"+n;let i=Ma[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){let o=Ma[r];o?t.removeAttributeNS(o,n):t.removeAttribute(`${r}:${n}`)}else t.removeAttribute(n)}addClass(t,n){t.classList.add(n)}removeClass(t,n){t.classList.remove(n)}setStyle(t,n,r,o){o&(St.DashCase|St.Important)?t.style.setProperty(n,r,o&St.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&St.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,r){t!=null&&(t[n]=r)}setValue(t,n){t.nodeValue=n}listen(t,n,r){if(typeof t=="string"&&(t=hn().getGlobalEventTarget(this.doc,t),!t))throw new Error(`Unsupported event target ${t} for event ${n}`);return this.eventManager.addEventListener(t,n,this.decoratePreventDefault(r))}decoratePreventDefault(t){return n=>{if(n==="__ngUnwrap__")return t;(this.platformIsServer?this.ngZone.runGuarded(()=>t(n)):t(n))===!1&&n.preventDefault()}}};function df(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var _a=class extends or{constructor(t,n,r,o,i,s,a,c){super(t,i,s,c),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let u=mf(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,n){return super.appendChild(this.nodeOrShadowRoot(t),n)}insertBefore(t,n,r){return super.insertBefore(this.nodeOrShadowRoot(t),n,r)}removeChild(t,n){return super.removeChild(this.nodeOrShadowRoot(t),n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},ir=class extends or{constructor(t,n,r,o,i,s,a,c){super(t,i,s,a),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=o,this.styles=c?mf(c,r.styles):r.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},Ho=class extends ir{constructor(t,n,r,o,i,s,a,c){let u=o+"-"+r.id;super(t,n,r,i,s,a,c,u),this.contentAttr=Ty(u),this.hostAttr=_y(u)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,n){let r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,""),r}},Ny=(()=>{let t=class t extends Uo{constructor(r){super(r)}supports(r){return!0}addEventListener(r,o,i){return r.addEventListener(o,i,!1),()=>this.removeEventListener(r,o,i)}removeEventListener(r,o,i){return r.removeEventListener(o,i)}};t.\u0275fac=function(o){return new(o||t)(x(we))},t.\u0275prov=E({token:t,factory:t.\u0275fac});let e=t;return e})(),ff=["alt","control","meta","shift"],Ay={"\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"},Ry={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},Oy=(()=>{let t=class t extends Uo{constructor(r){super(r)}supports(r){return t.parseEventName(r)!=null}addEventListener(r,o,i){let s=t.parseEventName(o),a=t.eventCallback(s.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>hn().onAndCancel(r,s.domEventName,a))}static parseEventName(r){let o=r.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."),ff.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(r,o){let i=Ay[r.key]||r.key,s="";return o.indexOf("code.")>-1&&(i=r.code,s="code."),i==null||!i?!1:(i=i.toLowerCase(),i===" "?i="space":i==="."&&(i="dot"),ff.forEach(a=>{if(a!==i){let c=Ry[a];c(r)&&(s+=a+".")}}),s+=i,s===o)}static eventCallback(r,o,i){return s=>{t.matchEventFullKeyCode(s,r)&&i.runGuarded(()=>o(s))}}static _normalizeKey(r){return r==="esc"?"escape":r}};t.\u0275fac=function(o){return new(o||t)(x(we))},t.\u0275prov=E({token:t,factory:t.\u0275fac});let e=t;return e})();function vf(e,t){return Qd(m({rootComponent:e},ky(t)))}function ky(e){return{appProviders:[...Vy,...e?.providers??[]],platformProviders:jy}}function Py(){xa.makeCurrent()}function Fy(){return new Ge}function Ly(){return Kl(document),document}var jy=[{provide:un,useValue:uf},{provide:Zs,useValue:Py,multi:!0},{provide:we,useFactory:Ly,deps:[]}];var Vy=[{provide:Eo,useValue:"root"},{provide:Ge,useFactory:Fy,deps:[]},{provide:Ta,useClass:Ny,multi:!0,deps:[we,z,un]},{provide:Ta,useClass:Oy,multi:!0,deps:[we]},lf,pf,hf,{provide:sn,useExisting:lf},{provide:Bo,useClass:Iy,deps:[]},[]];var yf=(()=>{let t=class t{constructor(r){this._doc=r}getTitle(){return this._doc.title}setTitle(r){this._doc.title=r||""}};t.\u0275fac=function(o){return new(o||t)(x(we))},t.\u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var b="primary",Er=Symbol("RouteTitle"),Pa=class{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){let n=this.params[t];return Array.isArray(n)?n[0]:n}return null}getAll(t){if(this.has(t)){let n=this.params[t];return Array.isArray(n)?n:[n]}return[]}get keys(){return Object.keys(this.params)}};function Dn(e){return new Pa(e)}function By(e,t,n){let r=n.path.split("/");if(r.length>e.length||n.pathMatch==="full"&&(t.hasChildren()||r.lengthr[i]===o)}else return e===t}function xf(e){return e.length>0?e[e.length-1]:null}function dt(e){return Ei(e)?e:er(e)?H(Promise.resolve(e)):w(e)}var Hy={exact:_f,subset:Nf},Tf={exact:zy,subset:Gy,ignored:()=>!0};function Df(e,t,n){return Hy[n.paths](e.root,t.root,n.matrixParams)&&Tf[n.queryParams](e.queryParams,t.queryParams)&&!(n.fragment==="exact"&&e.fragment!==t.fragment)}function zy(e,t){return Ve(e,t)}function _f(e,t,n){if(!_t(e.segments,t.segments)||!qo(e.segments,t.segments,n)||e.numberOfChildren!==t.numberOfChildren)return!1;for(let r in t.children)if(!e.children[r]||!_f(e.children[r],t.children[r],n))return!1;return!0}function Gy(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(n=>Sf(e[n],t[n]))}function Nf(e,t,n){return Af(e,t,t.segments,n)}function Af(e,t,n,r){if(e.segments.length>n.length){let o=e.segments.slice(0,n.length);return!(!_t(o,n)||t.hasChildren()||!qo(o,n,r))}else if(e.segments.length===n.length){if(!_t(e.segments,n)||!qo(e.segments,n,r))return!1;for(let o in t.children)if(!e.children[o]||!Nf(e.children[o],t.children[o],r))return!1;return!0}else{let o=n.slice(0,e.segments.length),i=n.slice(e.segments.length);return!_t(e.segments,o)||!qo(e.segments,o,r)||!e.children[b]?!1:Af(e.children[b],t,i,r)}}function qo(e,t,n){return t.every((r,o)=>Tf[n](e[o].parameters,r.parameters))}var ut=class{constructor(t=new P([],{}),n={},r=null){this.root=t,this.queryParams=n,this.fragment=r}get queryParamMap(){return this._queryParamMap??=Dn(this.queryParams),this._queryParamMap}toString(){return Zy.serialize(this)}},P=class{constructor(t,n){this.segments=t,this.children=n,this.parent=null,Object.values(n).forEach(r=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Wo(this)}},Tt=class{constructor(t,n){this.path=t,this.parameters=n}get parameterMap(){return this._parameterMap??=Dn(this.parameters),this._parameterMap}toString(){return Of(this)}};function qy(e,t){return _t(e,t)&&e.every((n,r)=>Ve(n.parameters,t[r].parameters))}function _t(e,t){return e.length!==t.length?!1:e.every((n,r)=>n.path===t[r].path)}function Wy(e,t){let n=[];return Object.entries(e.children).forEach(([r,o])=>{r===b&&(n=n.concat(t(o,r)))}),Object.entries(e.children).forEach(([r,o])=>{r!==b&&(n=n.concat(t(o,r)))}),n}var cc=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=E({token:t,factory:()=>new fr,providedIn:"root"});let e=t;return e})(),fr=class{parse(t){let n=new ja(t);return new ut(n.parseRootSegment(),n.parseQueryParams(),n.parseFragment())}serialize(t){let n=`/${sr(t.root,!0)}`,r=Ky(t.queryParams),o=typeof t.fragment=="string"?`#${Yy(t.fragment)}`:"";return`${n}${r}${o}`}},Zy=new fr;function Wo(e){return e.segments.map(t=>Of(t)).join("/")}function sr(e,t){if(!e.hasChildren())return Wo(e);if(t){let n=e.children[b]?sr(e.children[b],!1):"",r=[];return Object.entries(e.children).forEach(([o,i])=>{o!==b&&r.push(`${o}:${sr(i,!1)}`)}),r.length>0?`${n}(${r.join("//")})`:n}else{let n=Wy(e,(r,o)=>o===b?[sr(e.children[b],!1)]:[`${o}:${sr(r,!1)}`]);return Object.keys(e.children).length===1&&e.children[b]!=null?`${Wo(e)}/${n[0]}`:`${Wo(e)}/(${n.join("//")})`}}function Rf(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function zo(e){return Rf(e).replace(/%3B/gi,";")}function Yy(e){return encodeURI(e)}function La(e){return Rf(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Zo(e){return decodeURIComponent(e)}function wf(e){return Zo(e.replace(/\+/g,"%20"))}function Of(e){return`${La(e.path)}${Qy(e.parameters)}`}function Qy(e){return Object.entries(e).map(([t,n])=>`;${La(t)}=${La(n)}`).join("")}function Ky(e){let t=Object.entries(e).map(([n,r])=>Array.isArray(r)?r.map(o=>`${zo(n)}=${zo(o)}`).join("&"):`${zo(n)}=${zo(r)}`).filter(n=>n);return t.length?`?${t.join("&")}`:""}var Jy=/^[^\/()?;#]+/;function Aa(e){let t=e.match(Jy);return t?t[0]:""}var Xy=/^[^\/()?;=#]+/;function eD(e){let t=e.match(Xy);return t?t[0]:""}var tD=/^[^=?&#]+/;function nD(e){let t=e.match(tD);return t?t[0]:""}var rD=/^[^&#]+/;function oD(e){let t=e.match(rD);return t?t[0]:""}var ja=class{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new P([],{}):new P([],this.parseChildren())}parseQueryParams(){let t={};if(this.consumeOptional("?"))do this.parseQueryParam(t);while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let n={};this.peekStartsWith("/(")&&(this.capture("/"),n=this.parseParens(!0));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1)),(t.length>0||Object.keys(n).length>0)&&(r[b]=new P(t,n)),r}parseSegment(){let t=Aa(this.remaining);if(t===""&&this.peekStartsWith(";"))throw new D(4009,!1);return this.capture(t),new Tt(Zo(t),this.parseMatrixParams())}parseMatrixParams(){let t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){let n=eD(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){let o=Aa(this.remaining);o&&(r=o,this.capture(r))}t[Zo(n)]=Zo(r)}parseQueryParam(t){let n=nD(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){let s=oD(this.remaining);s&&(r=s,this.capture(r))}let o=wf(n),i=wf(r);if(t.hasOwnProperty(o)){let s=t[o];Array.isArray(s)||(s=[s],t[o]=s),s.push(i)}else t[o]=i}parseParens(t){let n={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let r=Aa(this.remaining),o=this.remaining[r.length];if(o!=="/"&&o!==")"&&o!==";")throw new D(4010,!1);let i;r.indexOf(":")>-1?(i=r.slice(0,r.indexOf(":")),this.capture(i),this.capture(":")):t&&(i=b);let s=this.parseChildren();n[i]=Object.keys(s).length===1?s[b]:new P([],s),this.consumeOptional("//")}return n}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return this.peekStartsWith(t)?(this.remaining=this.remaining.substring(t.length),!0):!1}capture(t){if(!this.consumeOptional(t))throw new D(4011,!1)}};function kf(e){return e.segments.length>0?new P([],{[b]:e}):e}function Pf(e){let t={};for(let[r,o]of Object.entries(e.children)){let i=Pf(o);if(r===b&&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[r]=i)}let n=new P(e.segments,t);return iD(n)}function iD(e){if(e.numberOfChildren===1&&e.children[b]){let t=e.children[b];return new P(e.segments.concat(t.segments),t.children)}return e}function hr(e){return e instanceof ut}function sD(e,t,n=null,r=null){let o=Ff(e);return Lf(o,t,n,r)}function Ff(e){let t;function n(i){let s={};for(let c of i.children){let u=n(c);s[c.outlet]=u}let a=new P(i.url,s);return i===e&&(t=a),a}let r=n(e.root),o=kf(r);return t??o}function Lf(e,t,n,r){let o=e;for(;o.parent;)o=o.parent;if(t.length===0)return Ra(o,o,o,n,r);let i=aD(t);if(i.toRoot())return Ra(o,o,new P([],{}),n,r);let s=cD(i,o,e),a=s.processChildren?ur(s.segmentGroup,s.index,i.commands):Vf(s.segmentGroup,s.index,i.commands);return Ra(o,s.segmentGroup,a,n,r)}function Yo(e){return typeof e=="object"&&e!=null&&!e.outlets&&!e.segmentPath}function pr(e){return typeof e=="object"&&e!=null&&e.outlets}function Ra(e,t,n,r,o){let i={};r&&Object.entries(r).forEach(([c,u])=>{i[c]=Array.isArray(u)?u.map(l=>`${l}`):`${u}`});let s;e===t?s=n:s=jf(e,t,n);let a=kf(Pf(s));return new ut(a,i,o)}function jf(e,t,n){let r={};return Object.entries(e.children).forEach(([o,i])=>{i===t?r[o]=n:r[o]=jf(i,t,n)}),new P(e.segments,r)}var Qo=class{constructor(t,n,r){if(this.isAbsolute=t,this.numberOfDoubleDots=n,this.commands=r,t&&r.length>0&&Yo(r[0]))throw new D(4003,!1);let o=r.find(pr);if(o&&o!==xf(r))throw new D(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function aD(e){if(typeof e[0]=="string"&&e.length===1&&e[0]==="/")return new Qo(!0,0,e);let t=0,n=!1,r=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===""?n=!0:a===".."?t++:a!=""&&o.push(a))}),o):[...o,i]},[]);return new Qo(n,t,r)}var mn=class{constructor(t,n,r){this.segmentGroup=t,this.processChildren=n,this.index=r}};function cD(e,t,n){if(e.isAbsolute)return new mn(t,!0,0);if(!n)return new mn(t,!1,NaN);if(n.parent===null)return new mn(n,!0,0);let r=Yo(e.commands[0])?0:1,o=n.segments.length-1+r;return uD(n,o,e.numberOfDoubleDots)}function uD(e,t,n){let r=e,o=t,i=n;for(;i>o;){if(i-=o,r=r.parent,!r)throw new D(4005,!1);o=r.segments.length}return new mn(r,!1,o-i)}function lD(e){return pr(e[0])?e[0].outlets:{[b]:e}}function Vf(e,t,n){if(e??=new P([],{}),e.segments.length===0&&e.hasChildren())return ur(e,t,n);let r=dD(e,t,n),o=n.slice(r.commandIndex);if(r.match&&r.pathIndexi!==b)&&e.children[b]&&e.numberOfChildren===1&&e.children[b].segments.length===0){let i=ur(e.children[b],t,n);return new P(e.segments,i.children)}return Object.entries(r).forEach(([i,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(o[i]=Vf(e.children[i],t,s))}),Object.entries(e.children).forEach(([i,s])=>{r[i]===void 0&&(o[i]=s)}),new P(e.segments,o)}}function dD(e,t,n){let r=0,o=t,i={match:!1,pathIndex:0,commandIndex:0};for(;o=n.length)return i;let s=e.segments[o],a=n[r];if(pr(a))break;let c=`${a}`,u=r0&&c===void 0)break;if(c&&u&&typeof u=="object"&&u.outlets===void 0){if(!Ef(c,u,s))return i;r+=2}else{if(!Ef(c,{},s))return i;r++}o++}return{match:!0,pathIndex:o,commandIndex:r}}function Va(e,t,n){let r=e.segments.slice(0,t),o=0;for(;o{typeof r=="string"&&(r=[r]),r!==null&&(t[n]=Va(new P([],{}),0,r))}),t}function Cf(e){let t={};return Object.entries(e).forEach(([n,r])=>t[n]=`${r}`),t}function Ef(e,t,n){return e==n.path&&Ve(t,n.parameters)}var lr="imperative",X=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}(X||{}),Ce=class{constructor(t,n){this.id=t,this.url=n}},gr=class extends Ce{constructor(t,n,r="imperative",o=null){super(t,n),this.type=X.NavigationStart,this.navigationTrigger=r,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},Je=class extends Ce{constructor(t,n,r){super(t,n),this.urlAfterRedirects=r,this.type=X.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},fe=function(e){return e[e.Redirect=0]="Redirect",e[e.SupersededByNewNavigation=1]="SupersededByNewNavigation",e[e.NoDataFromResolver=2]="NoDataFromResolver",e[e.GuardRejected=3]="GuardRejected",e}(fe||{}),$a=function(e){return e[e.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",e[e.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",e}($a||{}),Ke=class extends Ce{constructor(t,n,r,o){super(t,n),this.reason=r,this.code=o,this.type=X.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},Nt=class extends Ce{constructor(t,n,r,o){super(t,n),this.reason=r,this.code=o,this.type=X.NavigationSkipped}},mr=class extends Ce{constructor(t,n,r,o){super(t,n),this.error=r,this.target=o,this.type=X.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Ko=class extends Ce{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=X.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Ba=class extends Ce{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=X.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Ua=class extends Ce{constructor(t,n,r,o,i){super(t,n),this.urlAfterRedirects=r,this.state=o,this.shouldActivate=i,this.type=X.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},Ha=class extends Ce{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=X.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},za=class extends Ce{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=X.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=X.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},qa=class{constructor(t){this.route=t,this.type=X.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Wa=class{constructor(t){this.snapshot=t,this.type=X.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Za=class{constructor(t){this.snapshot=t,this.type=X.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Ya=class{constructor(t){this.snapshot=t,this.type=X.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Qa=class{constructor(t){this.snapshot=t,this.type=X.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}};var vr=class{},wn=class{constructor(t,n){this.url=t,this.navigationBehaviorOptions=n}};var Ka=class{constructor(t){this.injector=t,this.outlet=null,this.route=null,this.children=new oi(this.injector),this.attachRef=null}},oi=(()=>{let t=class t{constructor(r){this.parentInjector=r,this.contexts=new Map}onChildOutletCreated(r,o){let i=this.getOrCreateContext(r);i.outlet=o,this.contexts.set(r,i)}onChildOutletDestroyed(r){let o=this.getContext(r);o&&(o.outlet=null,o.attachRef=null)}onOutletDeactivated(){let r=this.contexts;return this.contexts=new Map,r}onOutletReAttached(r){this.contexts=r}getOrCreateContext(r){let o=this.getContext(r);return o||(o=new Ka(this.parentInjector),this.contexts.set(r,o)),o}getContext(r){return this.contexts.get(r)||null}};t.\u0275fac=function(o){return new(o||t)(x(ge))},t.\u0275prov=E({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 n=this.pathFromRoot(t);return n.length>1?n[n.length-2]:null}children(t){let n=Ja(t,this._root);return n?n.children.map(r=>r.value):[]}firstChild(t){let n=Ja(t,this._root);return n&&n.children.length>0?n.children[0].value:null}siblings(t){let n=Xa(t,this._root);return n.length<2?[]:n[n.length-2].children.map(o=>o.value).filter(o=>o!==t)}pathFromRoot(t){return Xa(t,this._root).map(n=>n.value)}};function Ja(e,t){if(e===t.value)return t;for(let n of t.children){let r=Ja(e,n);if(r)return r}return null}function Xa(e,t){if(e===t.value)return[t];for(let n of t.children){let r=Xa(e,n);if(r.length)return r.unshift(t),r}return[]}var de=class{constructor(t,n){this.value=t,this.children=n}toString(){return`TreeNode(${this.value})`}};function gn(e){let t={};return e&&e.children.forEach(n=>t[n.value.outlet]=n),t}var Xo=class extends Jo{constructor(t,n){super(t),this.snapshot=n,uc(this,t)}toString(){return this.snapshot.toString()}};function $f(e){let t=hD(e),n=new Q([new Tt("",{})]),r=new Q({}),o=new Q({}),i=new Q({}),s=new Q(""),a=new At(n,r,i,s,o,b,e,t.root);return a.snapshot=t.root,new Xo(new de(a,[]),t)}function hD(e){let t={},n={},r={},o="",i=new vn([],t,r,o,n,b,e,null,{});return new ti("",new de(i,[]))}var At=class{constructor(t,n,r,o,i,s,a,c){this.urlSubject=t,this.paramsSubject=n,this.queryParamsSubject=r,this.fragmentSubject=o,this.dataSubject=i,this.outlet=s,this.component=a,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(T(u=>u[Er]))??w(void 0),this.url=t,this.params=n,this.queryParams=r,this.fragment=o,this.data=i}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(T(t=>Dn(t))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(T(t=>Dn(t))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function ei(e,t,n="emptyOnly"){let r,{routeConfig:o}=e;return t!==null&&(n==="always"||o?.path===""||!t.component&&!t.routeConfig?.loadComponent)?r={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)}:r={params:m({},e.params),data:m({},e.data),resolve:m(m({},e.data),e._resolvedData??{})},o&&Uf(o)&&(r.resolve[Er]=o.title),r}var vn=class{get title(){return this.data?.[Er]}constructor(t,n,r,o,i,s,a,c,u){this.url=t,this.params=n,this.queryParams=r,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??=Dn(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Dn(this.queryParams),this._queryParamMap}toString(){let t=this.url.map(r=>r.toString()).join("/"),n=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${t}', path:'${n}')`}},ti=class extends Jo{constructor(t,n){super(n),this.url=t,uc(this,n)}toString(){return Bf(this._root)}};function uc(e,t){t.value._routerState=e,t.children.forEach(n=>uc(e,n))}function Bf(e){let t=e.children.length>0?` { ${e.children.map(Bf).join(", ")} } `:"";return`${e.value}${t}`}function Oa(e){if(e.snapshot){let t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,Ve(t.queryParams,n.queryParams)||e.queryParamsSubject.next(n.queryParams),t.fragment!==n.fragment&&e.fragmentSubject.next(n.fragment),Ve(t.params,n.params)||e.paramsSubject.next(n.params),Uy(t.url,n.url)||e.urlSubject.next(n.url),Ve(t.data,n.data)||e.dataSubject.next(n.data)}else e.snapshot=e._futureSnapshot,e.dataSubject.next(e._futureSnapshot.data)}function ec(e,t){let n=Ve(e.params,t.params)&&qy(e.url,t.url),r=!e.parent!=!t.parent;return n&&!r&&(!e.parent||ec(e.parent,t.parent))}function Uf(e){return typeof e.title=="string"||e.title===null}var lc=(()=>{let t=class t{constructor(){this.activated=null,this._activatedRoute=null,this.name=b,this.activateEvents=new J,this.deactivateEvents=new J,this.attachEvents=new J,this.detachEvents=new J,this.parentContexts=p(oi),this.location=p(ln),this.changeDetector=p(fn),this.inputBinder=p(dc,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(r){if(r.name){let{firstChange:o,previousValue:i}=r.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(r){return this.parentContexts.getContext(r)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let r=this.parentContexts.getContext(this.name);r?.route&&(r.attachRef?this.attach(r.attachRef,r.route):this.activateWith(r.route,r.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new D(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new D(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new D(4012,!1);this.location.detach();let r=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(r.instance),r}attach(r,o){this.activated=r,this._activatedRoute=o,this.location.insert(r.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(r.instance)}deactivate(){if(this.activated){let r=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(r)}}activateWith(r,o){if(this.isActivated)throw new D(4013,!1);this._activatedRoute=r;let i=this.location,a=r.snapshot.component,c=this.parentContexts.getOrCreateContext(this.name).children,u=new tc(r,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=Hn({type:t,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[an]});let e=t;return e})(),tc=class e{__ngOutletInjector(t){return new e(this.route,this.childContexts,t)}constructor(t,n,r){this.route=t,this.childContexts=n,this.parent=r}get(t,n){return t===At?this.route:t===oi?this.childContexts:this.parent.get(t,n)}},dc=new S("");function pD(e,t,n){let r=yr(e,t._root,n?n._root:void 0);return new Xo(r,t)}function yr(e,t,n){if(n&&e.shouldReuseRoute(t.value,n.value.snapshot)){let r=n.value;r._futureSnapshot=t.value;let o=gD(e,t,n);return new de(r,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=>yr(e,a)),s}}let r=mD(t.value),o=t.children.map(i=>yr(e,i));return new de(r,o)}}function gD(e,t,n){return t.children.map(r=>{for(let o of n.children)if(e.shouldReuseRoute(r.value,o.value.snapshot))return yr(e,r,o);return yr(e,r)})}function mD(e){return new At(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 Dr=class{constructor(t,n){this.redirectTo=t,this.navigationBehaviorOptions=n}},Hf="ngNavigationCancelingError";function ni(e,t){let{redirectTo:n,navigationBehaviorOptions:r}=hr(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,o=zf(!1,fe.Redirect);return o.url=n,o.navigationBehaviorOptions=r,o}function zf(e,t){let n=new Error(`NavigationCancelingError: ${e||""}`);return n[Hf]=!0,n.cancellationCode=t,n}function vD(e){return Gf(e)&&hr(e.url)}function Gf(e){return!!e&&e[Hf]}var yD=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275cmp=me({type:t,selectors:[["ng-component"]],standalone:!0,features:[De],decls:1,vars:0,template:function(o,i){o&1&&ye(0,"router-outlet")},dependencies:[lc],encapsulation:2});let e=t;return e})();function DD(e,t){return e.providers&&!e._injector&&(e._injector=pa(e.providers,t,`Route: ${e.path}`)),e._injector??t}function fc(e){let t=e.children&&e.children.map(fc),n=t?B(m({},e),{children:t}):m({},e);return!n.component&&!n.loadComponent&&(t||n.loadChildren)&&n.outlet&&n.outlet!==b&&(n.component=yD),n}function Ae(e){return e.outlet||b}function wD(e,t){let n=e.filter(r=>Ae(r)===t);return n.push(...e.filter(r=>Ae(r)!==t)),n}function Ir(e){if(!e)return null;if(e.routeConfig?._injector)return e.routeConfig._injector;for(let t=e.parent;t;t=t.parent){let n=t.routeConfig;if(n?._loadedInjector)return n._loadedInjector;if(n?._injector)return n._injector}return null}var CD=(e,t,n,r)=>T(o=>(new nc(t,o.targetRouterState,o.currentRouterState,n,r).activate(e),o)),nc=class{constructor(t,n,r,o,i){this.routeReuseStrategy=t,this.futureState=n,this.currState=r,this.forwardEvent=o,this.inputBindingEnabled=i}activate(t){let n=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(n,r,t),Oa(this.futureState.root),this.activateChildRoutes(n,r,t)}deactivateChildRoutes(t,n,r){let o=gn(n);t.children.forEach(i=>{let s=i.value.outlet;this.deactivateRoutes(i,o[s],r),delete o[s]}),Object.values(o).forEach(i=>{this.deactivateRouteAndItsChildren(i,r)})}deactivateRoutes(t,n,r){let o=t.value,i=n?n.value:null;if(o===i)if(o.component){let s=r.getContext(o.outlet);s&&this.deactivateChildRoutes(t,n,s.children)}else this.deactivateChildRoutes(t,n,r);else i&&this.deactivateRouteAndItsChildren(n,r)}deactivateRouteAndItsChildren(t,n){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,n):this.deactivateRouteAndOutlet(t,n)}detachAndStoreRouteSubtree(t,n){let r=n.getContext(t.value.outlet),o=r&&t.value.component?r.children:n,i=gn(t);for(let s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);if(r&&r.outlet){let s=r.outlet.detach(),a=r.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:s,route:t,contexts:a})}}deactivateRouteAndOutlet(t,n){let r=n.getContext(t.value.outlet),o=r&&t.value.component?r.children:n,i=gn(t);for(let s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);r&&(r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated()),r.attachRef=null,r.route=null)}activateChildRoutes(t,n,r){let o=gn(n);t.children.forEach(i=>{this.activateRoutes(i,o[i.value.outlet],r),this.forwardEvent(new Qa(i.value.snapshot))}),t.children.length&&this.forwardEvent(new Za(t.value.snapshot))}activateRoutes(t,n,r){let o=t.value,i=n?n.value:null;if(Oa(o),o===i)if(o.component){let s=r.getOrCreateContext(o.outlet);this.activateChildRoutes(t,n,s.children)}else this.activateChildRoutes(t,n,r);else if(o.component){let s=r.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),Oa(a.route.value),this.activateChildRoutes(t,null,s.children)}else{let a=Ir(o.snapshot);s.attachRef=null,s.route=o,s.injector=a??s.injector,s.outlet&&s.outlet.activateWith(o,s.injector),this.activateChildRoutes(t,null,s.children)}}else this.activateChildRoutes(t,null,r)}},ri=class{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}},yn=class{constructor(t,n){this.component=t,this.route=n}};function ED(e,t,n){let r=e._root,o=t?t._root:null;return ar(r,o,n,[r.value])}function ID(e){let t=e.routeConfig?e.routeConfig.canActivateChild:null;return!t||t.length===0?null:{node:e,guards:t}}function En(e,t){let n=Symbol(),r=t.get(e,n);return r===n?typeof e=="function"&&!Uu(e)?e:t.get(e):r}function ar(e,t,n,r,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=gn(t);return e.children.forEach(s=>{bD(s,i[s.value.outlet],n,r.concat([s.value]),o),delete i[s.value.outlet]}),Object.entries(i).forEach(([s,a])=>dr(a,n.getContext(s),o)),o}function bD(e,t,n,r,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=e.value,s=t?t.value:null,a=n?n.getContext(e.value.outlet):null;if(s&&i.routeConfig===s.routeConfig){let c=MD(s,i,i.routeConfig.runGuardsAndResolvers);c?o.canActivateChecks.push(new ri(r)):(i.data=s.data,i._resolvedData=s._resolvedData),i.component?ar(e,t,a?a.children:null,r,o):ar(e,t,n,r,o),c&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new yn(a.outlet.component,s))}else s&&dr(t,a,o),o.canActivateChecks.push(new ri(r)),i.component?ar(e,null,a?a.children:null,r,o):ar(e,null,n,r,o);return o}function MD(e,t,n){if(typeof n=="function")return n(e,t);switch(n){case"pathParamsChange":return!_t(e.url,t.url);case"pathParamsOrQueryParamsChange":return!_t(e.url,t.url)||!Ve(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!ec(e,t)||!Ve(e.queryParams,t.queryParams);case"paramsChange":default:return!ec(e,t)}}function dr(e,t,n){let r=gn(e),o=e.value;Object.entries(r).forEach(([i,s])=>{o.component?t?dr(s,t.children.getContext(i),n):dr(s,null,n):dr(s,t,n)}),o.component?t&&t.outlet&&t.outlet.isActivated?n.canDeactivateChecks.push(new yn(t.outlet.component,o)):n.canDeactivateChecks.push(new yn(null,o)):n.canDeactivateChecks.push(new yn(null,o))}function br(e){return typeof e=="function"}function SD(e){return typeof e=="boolean"}function xD(e){return e&&br(e.canLoad)}function TD(e){return e&&br(e.canActivate)}function _D(e){return e&&br(e.canActivateChild)}function ND(e){return e&&br(e.canDeactivate)}function AD(e){return e&&br(e.canMatch)}function qf(e){return e instanceof Be||e?.name==="EmptyError"}var Go=Symbol("INITIAL_VALUE");function Cn(){return Me(e=>Hr(e.map(t=>t.pipe(Ue(1),Si(Go)))).pipe(T(t=>{for(let n of t)if(n!==!0){if(n===Go)return Go;if(n===!1||RD(n))return n}return!0}),be(t=>t!==Go),Ue(1)))}function RD(e){return hr(e)||e instanceof Dr}function OD(e,t){return q(n=>{let{targetSnapshot:r,currentSnapshot:o,guards:{canActivateChecks:i,canDeactivateChecks:s}}=n;return s.length===0&&i.length===0?w(B(m({},n),{guardsResult:!0})):kD(s,r,o,e).pipe(q(a=>a&&SD(a)?PD(r,i,e,t):w(a)),T(a=>B(m({},n),{guardsResult:a})))})}function kD(e,t,n,r){return H(e).pipe(q(o=>$D(o.component,o.route,n,t,r)),Re(o=>o!==!0,!0))}function PD(e,t,n,r){return H(t).pipe(zt(o=>Ht(LD(o.route.parent,r),FD(o.route,r),VD(e,o.path,n),jD(e,o.route,n))),Re(o=>o!==!0,!0))}function FD(e,t){return e!==null&&t&&t(new Ya(e)),w(!0)}function LD(e,t){return e!==null&&t&&t(new Wa(e)),w(!0)}function jD(e,t,n){let r=t.routeConfig?t.routeConfig.canActivate:null;if(!r||r.length===0)return w(!0);let o=r.map(i=>zr(()=>{let s=Ir(t)??n,a=En(i,s),c=TD(a)?a.canActivate(t,e):qe(s,()=>a(t,e));return dt(c).pipe(Re())}));return w(o).pipe(Cn())}function VD(e,t,n){let r=t[t.length-1],i=t.slice(0,t.length-1).reverse().map(s=>ID(s)).filter(s=>s!==null).map(s=>zr(()=>{let a=s.guards.map(c=>{let u=Ir(s.node)??n,l=En(c,u),d=_D(l)?l.canActivateChild(r,e):qe(u,()=>l(r,e));return dt(d).pipe(Re())});return w(a).pipe(Cn())}));return w(i).pipe(Cn())}function $D(e,t,n,r,o){let i=t&&t.routeConfig?t.routeConfig.canDeactivate:null;if(!i||i.length===0)return w(!0);let s=i.map(a=>{let c=Ir(t)??o,u=En(a,c),l=ND(u)?u.canDeactivate(e,t,n,r):qe(c,()=>u(e,t,n,r));return dt(l).pipe(Re())});return w(s).pipe(Cn())}function BD(e,t,n,r){let o=t.canLoad;if(o===void 0||o.length===0)return w(!0);let i=o.map(s=>{let a=En(s,e),c=xD(a)?a.canLoad(t,n):qe(e,()=>a(t,n));return dt(c)});return w(i).pipe(Cn(),Wf(r))}function Wf(e){return yi(K(t=>{if(typeof t!="boolean")throw ni(e,t)}),T(t=>t===!0))}function UD(e,t,n,r){let o=t.canMatch;if(!o||o.length===0)return w(!0);let i=o.map(s=>{let a=En(s,e),c=AD(a)?a.canMatch(t,n):qe(e,()=>a(t,n));return dt(c)});return w(i).pipe(Cn(),Wf(r))}var wr=class{constructor(t){this.segmentGroup=t||null}},Cr=class extends Error{constructor(t){super(),this.urlTree=t}};function pn(e){return Bt(new wr(e))}function HD(e){return Bt(new D(4e3,!1))}function zD(e){return Bt(zf(!1,fe.GuardRejected))}var rc=class{constructor(t,n){this.urlSerializer=t,this.urlTree=n}lineralizeSegments(t,n){let r=[],o=n.root;for(;;){if(r=r.concat(o.segments),o.numberOfChildren===0)return w(r);if(o.numberOfChildren>1||!o.children[b])return HD(`${t.redirectTo}`);o=o.children[b]}}applyRedirectCommands(t,n,r,o,i){if(typeof n!="string"){let a=n,{queryParams:c,fragment:u,routeConfig:l,url:d,outlet:f,params:h,data:g,title:v}=o,O=qe(i,()=>a({params:h,data:g,queryParams:c,fragment:u,routeConfig:l,url:d,outlet:f,title:v}));if(O instanceof ut)throw new Cr(O);n=O}let s=this.applyRedirectCreateUrlTree(n,this.urlSerializer.parse(n),t,r);if(n[0]==="/")throw new Cr(s);return s}applyRedirectCreateUrlTree(t,n,r,o){let i=this.createSegmentGroup(t,n.root,r,o);return new ut(i,this.createQueryParams(n.queryParams,this.urlTree.queryParams),n.fragment)}createQueryParams(t,n){let r={};return Object.entries(t).forEach(([o,i])=>{if(typeof i=="string"&&i[0]===":"){let a=i.substring(1);r[o]=n[a]}else r[o]=i}),r}createSegmentGroup(t,n,r,o){let i=this.createSegments(t,n.segments,r,o),s={};return Object.entries(n.children).forEach(([a,c])=>{s[a]=this.createSegmentGroup(t,c,r,o)}),new P(i,s)}createSegments(t,n,r,o){return n.map(i=>i.path[0]===":"?this.findPosParam(t,i,o):this.findOrReturn(i,r))}findPosParam(t,n,r){let o=r[n.path.substring(1)];if(!o)throw new D(4001,!1);return o}findOrReturn(t,n){let r=0;for(let o of n){if(o.path===t.path)return n.splice(r),o;r++}return t}},oc={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function GD(e,t,n,r,o){let i=hc(e,t,n);return i.matched?(r=DD(t,r),UD(r,t,n,o).pipe(T(s=>s===!0?i:m({},oc)))):w(i)}function hc(e,t,n){if(t.path==="**")return qD(n);if(t.path==="")return t.pathMatch==="full"&&(e.hasChildren()||n.length>0)?m({},oc):{matched:!0,consumedSegments:[],remainingSegments:n,parameters:{},positionalParamSegments:{}};let o=(t.matcher||By)(n,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:n.slice(o.consumed.length),parameters:s,positionalParamSegments:o.posParams??{}}}function qD(e){return{matched:!0,parameters:e.length>0?xf(e).parameters:{},consumedSegments:e,remainingSegments:[],positionalParamSegments:{}}}function If(e,t,n,r){return n.length>0&&YD(e,n,r)?{segmentGroup:new P(t,ZD(r,new P(n,e.children))),slicedSegments:[]}:n.length===0&&QD(e,n,r)?{segmentGroup:new P(e.segments,WD(e,n,r,e.children)),slicedSegments:n}:{segmentGroup:new P(e.segments,e.children),slicedSegments:n}}function WD(e,t,n,r){let o={};for(let i of n)if(ii(e,t,i)&&!r[Ae(i)]){let s=new P([],{});o[Ae(i)]=s}return m(m({},r),o)}function ZD(e,t){let n={};n[b]=t;for(let r of e)if(r.path===""&&Ae(r)!==b){let o=new P([],{});n[Ae(r)]=o}return n}function YD(e,t,n){return n.some(r=>ii(e,t,r)&&Ae(r)!==b)}function QD(e,t,n){return n.some(r=>ii(e,t,r))}function ii(e,t,n){return(e.hasChildren()||t.length>0)&&n.pathMatch==="full"?!1:n.path===""}function KD(e,t,n,r){return Ae(e)!==r&&(r===b||!ii(t,n,e))?!1:hc(t,e,n).matched}function JD(e,t,n){return t.length===0&&!e.children[n]}var ic=class{};function XD(e,t,n,r,o,i,s="emptyOnly"){return new sc(e,t,n,r,o,s,i).recognize()}var ew=31,sc=class{constructor(t,n,r,o,i,s,a){this.injector=t,this.configLoader=n,this.rootComponentType=r,this.config=o,this.urlTree=i,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new rc(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(t){return new D(4002,`'${t.segmentGroup}'`)}recognize(){let t=If(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(t).pipe(T(({children:n,rootSnapshot:r})=>{let o=new de(r,n),i=new ti("",o),s=sD(r,[],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 n=new vn([],Object.freeze({}),Object.freeze(m({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),b,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,t,b,n).pipe(T(r=>({children:r,rootSnapshot:n})),et(r=>{if(r instanceof Cr)return this.urlTree=r.urlTree,this.match(r.urlTree.root);throw r instanceof wr?this.noMatchError(r):r}))}processSegmentGroup(t,n,r,o,i){return r.segments.length===0&&r.hasChildren()?this.processChildren(t,n,r,i):this.processSegment(t,n,r,r.segments,o,!0,i).pipe(T(s=>s instanceof de?[s]:[]))}processChildren(t,n,r,o){let i=[];for(let s of Object.keys(r.children))s==="primary"?i.unshift(s):i.push(s);return H(i).pipe(zt(s=>{let a=r.children[s],c=wD(n,s);return this.processSegmentGroup(t,c,a,s,o)}),Mi((s,a)=>(s.push(...a),s)),tt(null),bi(),q(s=>{if(s===null)return pn(r);let a=Zf(s);return tw(a),w(a)}))}processSegment(t,n,r,o,i,s,a){return H(n).pipe(zt(c=>this.processSegmentAgainstRoute(c._injector??t,n,c,r,o,i,s,a).pipe(et(u=>{if(u instanceof wr)return w(null);throw u}))),Re(c=>!!c),et(c=>{if(qf(c))return JD(r,o,i)?w(new ic):pn(r);throw c}))}processSegmentAgainstRoute(t,n,r,o,i,s,a,c){return KD(r,o,i,s)?r.redirectTo===void 0?this.matchSegmentAgainstRoute(t,o,r,i,s,c):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(t,o,n,r,i,s,c):pn(o):pn(o)}expandSegmentAgainstRouteUsingRedirect(t,n,r,o,i,s,a){let{matched:c,parameters:u,consumedSegments:l,positionalParamSegments:d,remainingSegments:f}=hc(n,o,i);if(!c)return pn(n);typeof o.redirectTo=="string"&&o.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>ew&&(this.allowRedirects=!1));let h=new vn(i,u,Object.freeze(m({},this.urlTree.queryParams)),this.urlTree.fragment,bf(o),Ae(o),o.component??o._loadedComponent??null,o,Mf(o)),g=ei(h,a,this.paramsInheritanceStrategy);h.params=Object.freeze(g.params),h.data=Object.freeze(g.data);let v=this.applyRedirects.applyRedirectCommands(l,o.redirectTo,d,h,t);return this.applyRedirects.lineralizeSegments(o,v).pipe(q(O=>this.processSegment(t,r,n,O.concat(f),s,!1,a)))}matchSegmentAgainstRoute(t,n,r,o,i,s){let a=GD(n,r,o,t,this.urlSerializer);return r.path==="**"&&(n.children={}),a.pipe(Me(c=>c.matched?(t=r._injector??t,this.getChildConfig(t,r,o).pipe(Me(({routes:u})=>{let l=r._loadedInjector??t,{parameters:d,consumedSegments:f,remainingSegments:h}=c,g=new vn(f,d,Object.freeze(m({},this.urlTree.queryParams)),this.urlTree.fragment,bf(r),Ae(r),r.component??r._loadedComponent??null,r,Mf(r)),v=ei(g,s,this.paramsInheritanceStrategy);g.params=Object.freeze(v.params),g.data=Object.freeze(v.data);let{segmentGroup:O,slicedSegments:F}=If(n,f,h,u);if(F.length===0&&O.hasChildren())return this.processChildren(l,u,O,g).pipe(T(G=>new de(g,G)));if(u.length===0&&F.length===0)return w(new de(g,[]));let Y=Ae(r)===i;return this.processSegment(l,u,O,F,Y?b:i,!0,g).pipe(T(G=>new de(g,G instanceof de?[G]:[])))}))):pn(n)))}getChildConfig(t,n,r){return n.children?w({routes:n.children,injector:t}):n.loadChildren?n._loadedRoutes!==void 0?w({routes:n._loadedRoutes,injector:n._loadedInjector}):BD(t,n,r,this.urlSerializer).pipe(q(o=>o?this.configLoader.loadChildren(t,n).pipe(K(i=>{n._loadedRoutes=i.routes,n._loadedInjector=i.injector})):zD(n))):w({routes:[],injector:t})}};function tw(e){e.sort((t,n)=>t.value.outlet===b?-1:n.value.outlet===b?1:t.value.outlet.localeCompare(n.value.outlet))}function nw(e){let t=e.value.routeConfig;return t&&t.path===""}function Zf(e){let t=[],n=new Set;for(let r of e){if(!nw(r)){t.push(r);continue}let o=t.find(i=>r.value.routeConfig===i.value.routeConfig);o!==void 0?(o.children.push(...r.children),n.add(o)):t.push(r)}for(let r of n){let o=Zf(r.children);t.push(new de(r.value,o))}return t.filter(r=>!n.has(r))}function bf(e){return e.data||{}}function Mf(e){return e.resolve||{}}function rw(e,t,n,r,o,i){return q(s=>XD(e,t,n,r,s.extractedUrl,o,i).pipe(T(({state:a,tree:c})=>B(m({},s),{targetSnapshot:a,urlAfterRedirects:c}))))}function ow(e,t){return q(n=>{let{targetSnapshot:r,guards:{canActivateChecks:o}}=n;if(!o.length)return w(n);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 Yf(c))s.add(u);let a=0;return H(s).pipe(zt(c=>i.has(c)?iw(c,r,e,t):(c.data=ei(c,c.parent,e).resolve,w(void 0))),K(()=>a++),Gt(1),q(c=>a===s.size?w(n):ae))})}function Yf(e){let t=e.children.map(n=>Yf(n)).flat();return[e,...t]}function iw(e,t,n,r){let o=e.routeConfig,i=e._resolve;return o?.title!==void 0&&!Uf(o)&&(i[Er]=o.title),sw(i,e,t,r).pipe(T(s=>(e._resolvedData=s,e.data=ei(e,e.parent,n).resolve,null)))}function sw(e,t,n,r){let o=Fa(e);if(o.length===0)return w({});let i={};return H(o).pipe(q(s=>aw(e[s],t,n,r).pipe(Re(),K(a=>{if(a instanceof Dr)throw ni(new fr,a);i[s]=a}))),Gt(1),Ii(i),et(s=>qf(s)?ae:Bt(s)))}function aw(e,t,n,r){let o=Ir(t)??r,i=En(e,o),s=i.resolve?i.resolve(t,n):qe(o,()=>i(t,n));return dt(s)}function ka(e){return Me(t=>{let n=e(t);return n?H(n).pipe(T(()=>t)):w(t)})}var Qf=(()=>{let t=class t{buildTitle(r){let o,i=r.root;for(;i!==void 0;)o=this.getResolvedTitleForRoute(i)??o,i=i.children.find(s=>s.outlet===b);return o}getResolvedTitleForRoute(r){return r.data[Er]}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=E({token:t,factory:()=>p(cw),providedIn:"root"});let e=t;return e})(),cw=(()=>{let t=class t extends Qf{constructor(r){super(),this.title=r}updateTitle(r){let o=this.buildTitle(r);o!==void 0&&this.title.setTitle(o)}};t.\u0275fac=function(o){return new(o||t)(x(yf))},t.\u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),pc=new S("",{providedIn:"root",factory:()=>({})}),gc=new S(""),uw=(()=>{let t=class t{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=p(ya)}loadComponent(r){if(this.componentLoaders.get(r))return this.componentLoaders.get(r);if(r._loadedComponent)return w(r._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(r);let o=dt(r.loadComponent()).pipe(T(Kf),K(s=>{this.onLoadEndListener&&this.onLoadEndListener(r),r._loadedComponent=s}),Mn(()=>{this.componentLoaders.delete(r)})),i=new $t(o,()=>new ee).pipe(Vt());return this.componentLoaders.set(r,i),i}loadChildren(r,o){if(this.childrenLoaders.get(o))return this.childrenLoaders.get(o);if(o._loadedRoutes)return w({routes:o._loadedRoutes,injector:o._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(o);let s=lw(o,this.compiler,r,this.onLoadEndListener).pipe(Mn(()=>{this.childrenLoaders.delete(o)})),a=new $t(s,()=>new ee).pipe(Vt());return this.childrenLoaders.set(o,a),a}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function lw(e,t,n,r){return dt(e.loadChildren()).pipe(T(Kf),q(o=>o instanceof Un||Array.isArray(o)?w(o):H(t.compileModuleAsync(o))),T(o=>{r&&r(e);let i,s,a=!1;return Array.isArray(o)?(s=o,a=!0):(i=o.create(n).injector,s=i.get(gc,[],{optional:!0,self:!0}).flat()),{routes:s.map(fc),injector:i}}))}function dw(e){return e&&typeof e=="object"&&"default"in e}function Kf(e){return dw(e)?e.default:e}var mc=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=E({token:t,factory:()=>p(fw),providedIn:"root"});let e=t;return e})(),fw=(()=>{let t=class t{shouldProcessUrl(r){return!0}extract(r){return r}merge(r,o){return r}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),hw=new S("");var pw=new S(""),gw=(()=>{let t=class t{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new ee,this.transitionAbortSubject=new ee,this.configLoader=p(uw),this.environmentInjector=p(ge),this.urlSerializer=p(cc),this.rootContexts=p(oi),this.location=p(nr),this.inputBindingEnabled=p(dc,{optional:!0})!==null,this.titleStrategy=p(Qf),this.options=p(pc,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=p(mc),this.createViewTransition=p(hw,{optional:!0}),this.navigationErrorHandler=p(pw,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>w(void 0),this.rootComponentType=null;let r=i=>this.events.next(new Ga(i)),o=i=>this.events.next(new qa(i));this.configLoader.onLoadEndListener=o,this.configLoader.onLoadStartListener=r}complete(){this.transitions?.complete()}handleNavigationRequest(r){let o=++this.navigationId;this.transitions?.next(B(m(m({},this.transitions.value),r),{id:o}))}setupNavigations(r,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:lr,restoredState:null,currentSnapshot:i.snapshot,targetSnapshot:null,currentRouterState:i,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(be(s=>s.id!==0),T(s=>B(m({},s),{extractedUrl:this.urlHandlingStrategy.extract(s.rawUrl)})),Me(s=>{let a=!1,c=!1;return w(s).pipe(Me(u=>{if(this.navigationId>s.id)return this.cancelNavigationTransition(s,"",fe.SupersededByNewNavigation),ae;this.currentTransition=s,this.currentNavigation={id:u.id,initialUrl:u.rawUrl,extractedUrl:u.extractedUrl,trigger:u.source,extras:u.extras,previousNavigation:this.lastSuccessfulNavigation?B(m({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let l=!r.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),d=u.extras.onSameUrlNavigation??r.onSameUrlNavigation;if(!l&&d!=="reload"){let f="";return this.events.next(new Nt(u.id,this.urlSerializer.serialize(u.rawUrl),f,$a.IgnoredSameUrlNavigation)),u.resolve(!1),ae}if(this.urlHandlingStrategy.shouldProcessUrl(u.rawUrl))return w(u).pipe(Me(f=>{let h=this.transitions?.getValue();return this.events.next(new gr(f.id,this.urlSerializer.serialize(f.extractedUrl),f.source,f.restoredState)),h!==this.transitions?.getValue()?ae:Promise.resolve(f)}),rw(this.environmentInjector,this.configLoader,this.rootComponentType,r.config,this.urlSerializer,this.paramsInheritanceStrategy),K(f=>{s.targetSnapshot=f.targetSnapshot,s.urlAfterRedirects=f.urlAfterRedirects,this.currentNavigation=B(m({},this.currentNavigation),{finalUrl:f.urlAfterRedirects});let h=new Ko(f.id,this.urlSerializer.serialize(f.extractedUrl),this.urlSerializer.serialize(f.urlAfterRedirects),f.targetSnapshot);this.events.next(h)}));if(l&&this.urlHandlingStrategy.shouldProcessUrl(u.currentRawUrl)){let{id:f,extractedUrl:h,source:g,restoredState:v,extras:O}=u,F=new gr(f,this.urlSerializer.serialize(h),g,v);this.events.next(F);let Y=$f(this.rootComponentType).snapshot;return this.currentTransition=s=B(m({},u),{targetSnapshot:Y,urlAfterRedirects:h,extras:B(m({},O),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=h,w(s)}else{let f="";return this.events.next(new Nt(u.id,this.urlSerializer.serialize(u.extractedUrl),f,$a.IgnoredByUrlHandlingStrategy)),u.resolve(!1),ae}}),K(u=>{let l=new Ba(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(l)}),T(u=>(this.currentTransition=s=B(m({},u),{guards:ED(u.targetSnapshot,u.currentSnapshot,this.rootContexts)}),s)),OD(this.environmentInjector,u=>this.events.next(u)),K(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)}),be(u=>u.guardsResult?!0:(this.cancelNavigationTransition(u,"",fe.GuardRejected),!1)),ka(u=>{if(u.guards.canActivateChecks.length)return w(u).pipe(K(l=>{let d=new Ha(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(d)}),Me(l=>{let d=!1;return w(l).pipe(ow(this.paramsInheritanceStrategy,this.environmentInjector),K({next:()=>d=!0,complete:()=>{d||this.cancelNavigationTransition(l,"",fe.NoDataFromResolver)}}))}),K(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 f=[];d.routeConfig?.loadComponent&&!d.routeConfig._loadedComponent&&f.push(this.configLoader.loadComponent(d.routeConfig).pipe(K(h=>{d.component=h}),T(()=>{})));for(let h of d.children)f.push(...l(h));return f};return Hr(l(u.targetSnapshot.root)).pipe(tt(null),Ue(1))}),ka(()=>this.afterPreactivation()),Me(()=>{let{currentSnapshot:u,targetSnapshot:l}=s,d=this.createViewTransition?.(this.environmentInjector,u.root,l.root);return d?H(d).pipe(T(()=>s)):w(s)}),T(u=>{let l=pD(r.routeReuseStrategy,u.targetSnapshot,u.currentRouterState);return this.currentTransition=s=B(m({},u),{targetRouterState:l}),this.currentNavigation.targetRouterState=l,s}),K(()=>{this.events.next(new vr)}),CD(this.rootContexts,r.routeReuseStrategy,u=>this.events.next(u),this.inputBindingEnabled),Ue(1),K({next:u=>{a=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Je(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects))),this.titleStrategy?.updateTitle(u.targetRouterState.snapshot),u.resolve(!0)},complete:()=>{a=!0}}),xi(this.transitionAbortSubject.pipe(K(u=>{throw u}))),Mn(()=>{!a&&!c&&this.cancelNavigationTransition(s,"",fe.SupersededByNewNavigation),this.currentTransition?.id===s.id&&(this.currentNavigation=null,this.currentTransition=null)}),et(u=>{if(c=!0,Gf(u))this.events.next(new Ke(s.id,this.urlSerializer.serialize(s.extractedUrl),u.message,u.cancellationCode)),vD(u)?this.events.next(new wn(u.url,u.navigationBehaviorOptions)):s.resolve(!1);else{let l=new mr(s.id,this.urlSerializer.serialize(s.extractedUrl),u,s.targetSnapshot??void 0);try{let d=qe(this.environmentInjector,()=>this.navigationErrorHandler?.(l));if(d instanceof Dr){let{message:f,cancellationCode:h}=ni(this.urlSerializer,d);this.events.next(new Ke(s.id,this.urlSerializer.serialize(s.extractedUrl),f,h)),this.events.next(new wn(d.redirectTo,d.navigationBehaviorOptions))}else{this.events.next(l);let f=r.errorHandler(u);s.resolve(!!f)}}catch(d){this.options.resolveNavigationPromiseOnError?s.resolve(!1):s.reject(d)}}return ae}))}))}cancelNavigationTransition(r,o,i){let s=new Ke(r.id,this.urlSerializer.serialize(r.extractedUrl),o,i);this.events.next(s),r.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function mw(e){return e!==lr}var vw=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=E({token:t,factory:()=>p(yw),providedIn:"root"});let e=t;return e})(),ac=class{shouldDetach(t){return!1}store(t,n){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,n){return t.routeConfig===n.routeConfig}},yw=(()=>{let t=class t extends ac{};t.\u0275fac=(()=>{let r;return function(i){return(r||(r=Gs(t)))(i||t)}})(),t.\u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),Jf=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=E({token:t,factory:()=>p(Dw),providedIn:"root"});let e=t;return e})(),Dw=(()=>{let t=class t extends Jf{constructor(){super(...arguments),this.location=p(nr),this.urlSerializer=p(cc),this.options=p(pc,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=p(mc),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new ut,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=$f(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(r){return this.location.subscribe(o=>{o.type==="popstate"&&r(o.url,o.state)})}handleRouterEvent(r,o){if(r instanceof gr)this.stateMemento=this.createStateMemento();else if(r instanceof Nt)this.rawUrlTree=o.initialUrl;else if(r instanceof Ko){if(this.urlUpdateStrategy==="eager"&&!o.extras.skipLocationChange){let i=this.urlHandlingStrategy.merge(o.finalUrl,o.initialUrl);this.setBrowserUrl(i,o)}}else r instanceof vr?(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(this.rawUrlTree,o))):r instanceof Ke&&(r.code===fe.GuardRejected||r.code===fe.NoDataFromResolver)?this.restoreHistory(o):r instanceof mr?this.restoreHistory(o,!0):r instanceof Je&&(this.lastSuccessfulId=r.id,this.currentPageId=this.browserPageId)}setBrowserUrl(r,o){let i=this.urlSerializer.serialize(r);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(r,o=!1){if(this.canceledNavigationResolution==="computed"){let i=this.browserPageId,s=this.currentPageId-i;s!==0?this.location.historyGo(s):this.currentUrlTree===r.finalUrl&&s===0&&(this.resetState(r),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(o&&this.resetState(r),this.resetUrlToCurrentUrlTree())}resetState(r){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,r.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(r,o){return this.canceledNavigationResolution==="computed"?{navigationId:r,\u0275routerPageId:o}:{navigationId:r}}};t.\u0275fac=(()=>{let r;return function(i){return(r||(r=Gs(t)))(i||t)}})(),t.\u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),cr=function(e){return e[e.COMPLETE=0]="COMPLETE",e[e.FAILED=1]="FAILED",e[e.REDIRECTING=2]="REDIRECTING",e}(cr||{});function ww(e,t){e.events.pipe(be(n=>n instanceof Je||n instanceof Ke||n instanceof mr||n instanceof Nt),T(n=>n instanceof Je||n instanceof Nt?cr.COMPLETE:(n instanceof Ke?n.code===fe.Redirect||n.code===fe.SupersededByNewNavigation:!1)?cr.REDIRECTING:cr.FAILED),be(n=>n!==cr.REDIRECTING),Ue(1)).subscribe(()=>{t()})}function Cw(e){throw e}var Ew={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Iw={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},si=(()=>{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(Vo),this.stateManager=p(Jf),this.options=p(pc,{optional:!0})||{},this.pendingTasks=p(Yn),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=p(gw),this.urlSerializer=p(cc),this.location=p(nr),this.urlHandlingStrategy=p(mc),this._events=new ee,this.errorHandler=this.options.errorHandler||Cw,this.navigated=!1,this.routeReuseStrategy=p(vw),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=p(gc,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!p(dc,{optional:!0}),this.eventsSubscription=new U,this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:r=>{this.console.warn(r)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){let r=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 Ke&&o.code!==fe.Redirect&&o.code!==fe.SupersededByNewNavigation)this.navigated=!0;else if(o instanceof Je)this.navigated=!0;else if(o instanceof wn){let a=o.navigationBehaviorOptions,c=this.urlHandlingStrategy.merge(o.url,i.currentRawUrl),u=m({info:i.extras.info,skipLocationChange:i.extras.skipLocationChange,replaceUrl:i.extras.replaceUrl||this.urlUpdateStrategy==="eager"||mw(i.source)},a);this.scheduleNavigation(c,lr,null,u,{resolve:i.resolve,reject:i.reject,promise:i.promise})}}Mw(o)&&this._events.next(o)}catch(i){this.navigationTransitions.transitionAbortSubject.next(i)}});this.eventsSubscription.add(r)}resetRootComponentType(r){this.routerState.root.component=r,this.navigationTransitions.rootComponentType=r}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),lr,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((r,o)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(r,"popstate",o)},0)})}navigateToSyncWithBrowser(r,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(r);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(r){this.config=r.map(fc),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(r,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 f;try{let h=i?i.snapshot:this.routerState.snapshot.root;f=Ff(h)}catch{(typeof r[0]!="string"||r[0][0]!=="/")&&(r=[]),f=this.currentUrlTree.root}return Lf(f,r,d,l??null)}navigateByUrl(r,o={skipLocationChange:!1}){let i=hr(r)?r:this.parseUrl(r),s=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(s,lr,null,o)}navigate(r,o={skipLocationChange:!1}){return bw(r),this.navigateByUrl(this.createUrlTree(r,o),o)}serializeUrl(r){return this.urlSerializer.serialize(r)}parseUrl(r){try{return this.urlSerializer.parse(r)}catch{return this.urlSerializer.parse("/")}}isActive(r,o){let i;if(o===!0?i=m({},Ew):o===!1?i=m({},Iw):i=o,hr(r))return Df(this.currentUrlTree,r,i);let s=this.parseUrl(r);return Df(this.currentUrlTree,s,i)}removeEmptyProps(r){return Object.entries(r).reduce((o,[i,s])=>(s!=null&&(o[i]=s),o),{})}scheduleNavigation(r,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((f,h)=>{c=f,u=h});let d=this.pendingTasks.add();return ww(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(d))}),this.navigationTransitions.handleNavigationRequest({source:o,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:r,extras:s,resolve:c,reject:u,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(f=>Promise.reject(f))}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function bw(e){for(let t=0;t{let t=class t{constructor(r,o,i,s,a,c){this.router=r,this.route=o,this.tabIndexAttribute=i,this.renderer=s,this.el=a,this.locationStrategy=c,this.href=null,this.commands=null,this.onChanges=new ee,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;let u=a.nativeElement.tagName?.toLowerCase();this.isAnchorElement=u==="a"||u==="area",this.isAnchorElement?this.subscription=r.events.subscribe(l=>{l instanceof Je&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(r){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",r)}ngOnChanges(r){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(r){r!=null?(this.commands=Array.isArray(r)?r:[r],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(r,o,i,s,a){let c=this.urlTree;if(c===null||this.isAnchorElement&&(r!==0||o||i||s||a||typeof this.target=="string"&&this.target!="_self"))return!0;let u={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(c,u),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let r=this.urlTree;this.href=r!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(r)):null;let o=this.href===null?null:ed(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",o)}applyAttributeValue(r,o){let i=this.renderer,s=this.el.nativeElement;o!==null?i.setAttribute(s,r,o):i.removeAttribute(s,r)}get urlTree(){return this.commands===null?null:this.router.createUrlTree(this.commands,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}};t.\u0275fac=function(o){return new(o||t)(le(si),le(At),qs("tabindex"),le(Zn),le(Ye),le(ct))},t.\u0275dir=Hn({type:t,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(o,i){o&1&&ma("click",function(a){return i.onClick(a.button,a.ctrlKey,a.shiftKey,a.altKey,a.metaKey)}),o&2&&ga("target",i.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",tr],skipLocationChange:[2,"skipLocationChange","skipLocationChange",tr],replaceUrl:[2,"replaceUrl","replaceUrl",tr],routerLink:"routerLink"},standalone:!0,features:[ha,an]});let e=t;return e})(),ai=(()=>{let t=class t{get isActive(){return this._isActive}constructor(r,o,i,s,a){this.router=r,this.element=o,this.renderer=i,this.cdr=s,this.link=a,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new J,this.routerEventsSubscription=r.events.subscribe(c=>{c instanceof Je&&this.update()})}ngAfterContentInit(){w(this.links.changes,w(null)).pipe(Ut()).subscribe(r=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();let r=[...this.links.toArray(),this.link].filter(o=>!!o).map(o=>o.onChanges);this.linkInputChangesSubscription=H(r).pipe(Ut()).subscribe(o=>{this._isActive!==this.isLinkActive(this.router)(o)&&this.update()})}set routerLinkActive(r){let o=Array.isArray(r)?r:r.split(" ");this.classes=o.filter(i=>!!i)}ngOnChanges(r){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{let r=this.hasActiveLinks();this.classes.forEach(o=>{r?this.renderer.addClass(this.element.nativeElement,o):this.renderer.removeClass(this.element.nativeElement,o)}),r&&this.ariaCurrentWhenActive!==void 0?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this._isActive!==r&&(this._isActive=r,this.cdr.markForCheck(),this.isActiveChange.emit(r))})}isLinkActive(r){let o=Sw(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return i=>{let s=i.urlTree;return s?r.isActive(s,o):!1}}hasActiveLinks(){let r=this.isLinkActive(this.router);return this.link&&r(this.link)||this.links.some(r)}};t.\u0275fac=function(o){return new(o||t)(le(si),le(Ye),le(Zn),le(fn),le(lt,8))},t.\u0275dir=Hn({type:t,selectors:[["","routerLinkActive",""]],contentQueries:function(o,i,s){if(o&1&&jd(s,lt,5),o&2){let a;Vd(a=$d())&&(i.links=a)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[an]});let e=t;return e})();function Sw(e){return!!e.paths}var xw=new S("");function Xf(e,...t){return Co([{provide:gc,multi:!0,useValue:e},[],{provide:At,useFactory:Tw,deps:[si]},{provide:va,multi:!0,useFactory:Nw},t.map(n=>n.\u0275providers)])}function Tw(e){return e.routerState.root}function _w(e,t){return{\u0275kind:e,\u0275providers:t}}function Nw(){let e=p(Et);return t=>{let n=e.get(dn);if(t!==n.components[0])return;let r=e.get(si),o=e.get(Aw);e.get(Rw)===1&&r.initialNavigation(),e.get(Ow,null,M.Optional)?.setUpPreloading(),e.get(xw,null,M.Optional)?.init(),r.resetRootComponentType(n.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}var Aw=new S("",{factory:()=>new ee}),Rw=new S("",{providedIn:"root",factory:()=>1});var Ow=new S("");function eh(){return _w(6,[{provide:ct,useClass:af}])}function kw(e,t){if(e&1&&(k(0,"div",6)(1,"h2",7),Z(2),V(),k(3,"p",8),Z(4),V(),k(5,"a",9),Z(6,"Demo "),Mt(),k(7,"svg",10),ye(8,"path",11),V()()()),e&2){let n=t.$implicit;Ne(2),xt(n.name),Ne(2),xt(n.description),Ne(),Qn("href",n.url,Wn)}}var th=(()=>{let t=class t{constructor(){this.items=[{name:"Angular",description:"Welcome to our Angular App! This demo showcases the power of Angular's Routing module. With just a few lines of code, we've created a robust and scalable application that navigates between multiple pages. Explore our app and see how easily you can switch between different routes, each with its own unique component and functionality. Whether you're building a simple web page or a complex enterprise application, Angular's Routing module is the perfect tool to get you started.",url:"https://djvelimir.github.io/demo-spa-angular/"},{name:"Vue",description:"Welcome to our example Vue app with Router! In this demo, we've created a simple application that showcases the power of Vue Router. With just a few lines of code, we've built a fully functional app that allows users to navigate between different routes and views. Each route is carefully crafted to demonstrate the flexibility and scalability of Vue Router. Take a closer look and see how you can use Vue Router to build your own impressive web applications.",url:"https://djvelimir.github.io/demo-spa-vue/"},{name:"React",description:"Get started with React and routing in our comprehensive example app. Explore a simple but fully functional React app that utilizes the popular React Router library to manage client-side routing. This example app demonstrates how to set up routes and navigate between pages. Whether you're new to React or just looking to improve your skills, this example app is a great resource for learning how to add robust routing to your React projects.",url:"https://djvelimir.github.io/demo-spa-react/"},{name:"Vite + React",description:"Get started with a powerful React app using TypeScript, Vite, and React Router. This example showcases a fully-fledged React application built with TypeScript for robust type checking and Vite for fast development and zero-config setup. With React Router, navigate through a seamless user interface with easy-to-use routing features. Explore the code and learn how to leverage these popular technologies to build your next-generation web application.",url:"https://djvelimir.github.io/demo-spa-react-vite/"},{name:"Hugo",description:"Welcome to Hugo's World! This website showcases the versatility and power of Hugo, a modern open-source static site generator. With Hugo, we've built a comprehensive platform for exploring the world of web development, featuring tutorials, documentation, and resources for developers of all levels. Dive in to learn how to create your own stunning website with Hugo!",url:"https://djvelimir.github.io/blog/"}]}};t.\u0275fac=function(o){return new(o||t)},t.\u0275cmp=me({type:t,selectors:[["app-home"]],standalone:!0,features:[De],decls:10,vars:0,consts:[[1,"text-gray-400","body-font","bg-gray-900"],[1,"container","px-5","py-24","mx-auto"],[1,"flex","flex-col","text-center","w-full","mb-20"],[1,"sm:text-3xl","text-2xl","font-medium","title-font","mb-4","text-white"],[1,"lg:w-2/3","mx-auto","leading-relaxed","text-base"],[1,"flex","flex-wrap"],[1,"xl:w-1/4","lg:w-1/2","md:w-full","px-8","py-6","border-l-2","border-gray-800"],[1,"text-lg","sm:text-xl","text-white","font-medium","title-font","mb-2"],[1,"leading-relaxed","text-base","mb-4"],[1,"text-green-400","inline-flex","items-center",3,"href"],["fill","none","stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","viewBox","0 0 24 24","width","16","height","16",1,"w-4","h-4","ml-2"],["d","M5 12h14M12 5l7 7-7 7"]],template:function(o,i){o&1&&(k(0,"section",0)(1,"div",1)(2,"div",2)(3,"h1",3),Z(4,"Home"),V(),k(5,"p",4),Z(6,"On this homepage, I invite you to take a journey through my digital portfolio, where you'll discover a curated selection of my most impressive projects, each one telling a story of creativity, perseverance, and dedication to excellence. From sleek and intuitive user interfaces to robust and scalable backend architectures, every project is a testament to my ability to bring ideas to life. So, sit back, grab a cup of coffee, and let's dive into the world of code, where creativity meets logic and innovation knows no bounds. Welcome to my digital playground!"),V()(),k(7,"div",5),Jn(8,kw,9,3,"div",6,Kn),V()()()),o&2&&(Ne(8),Xn(i.items))}});let e=t;return e})();var nh=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275cmp=me({type:t,selectors:[["app-page-not-found"]],standalone:!0,features:[De],decls:7,vars:0,consts:[[1,"h-screen","w-full","flex","flex-col","justify-center","items-center","bg-[#1A2238]"],[1,"text-9xl","font-extrabold","text-white","tracking-widest"],[1,"bg-green-500","text-white","px-2","text-sm","rounded","rotate-12","absolute"],["ariaCurrentWhenActive","page","routerLinkActive","active","routerLink","/home",1,"mt-10","flex","mx-auto","text-white","bg-green-500","border-0","py-2","px-8","focus:outline-none","hover:bg-green-600","rounded","text-lg"]],template:function(o,i){o&1&&(k(0,"main",0)(1,"h1",1),Z(2,"404"),V(),k(3,"div",2),Z(4," Page Not Found "),V(),k(5,"button",3),Z(6,"Go Home"),V()())},dependencies:[lt,ai]});let e=t;return e})();var rh=[{path:"home",title:"Home",component:th},{path:"",redirectTo:"/home",pathMatch:"full"},{path:"**",title:"Page Not Found",component:nh}];var oh={providers:[Wd({eventCoalescing:!0}),Xf(rh,eh())]};var ih=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275cmp=me({type:t,selectors:[["app-navbar"]],standalone:!0,features:[De],decls:10,vars:0,consts:[[1,"text-gray-400","bg-gray-900","body-font"],[1,"container","mx-auto","flex","flex-wrap","p-5","flex-col","md:flex-row","items-center"],["ariaCurrentWhenActive","page","routerLink","/home",1,"flex","title-font","font-medium","items-center","text-white","mb-4","md:mb-0"],["xmlns","http://www.w3.org/2000/svg","fill","none","stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","viewBox","0 0 24 24","width","40","height","40",1,"w-10","h-10","text-white","p-2","bg-green-500","rounded-full"],["d","M12 2L2 7l10 5 10-5-10-5zM2 17l10 5 10-5M2 12l10 5 10-5"],[1,"ml-3","text-xl"],[1,"md:ml-auto","flex","flex-wrap","items-center","text-base","justify-center"],["ariaCurrentWhenActive","page","routerLinkActive","active","routerLink","/home",1,"mr-5","hover:text-white"]],template:function(o,i){o&1&&(k(0,"header",0)(1,"div",1)(2,"a",2),Mt(),k(3,"svg",3),ye(4,"path",4),V(),To(),k(5,"span",5),Z(6,"djvelimir.github.io"),V()(),k(7,"nav",6)(8,"a",7),Z(9,"Home"),V()()()())},dependencies:[lt,ai],styles:[".active[_ngcontent-%COMP%]{border-bottom:2px solid rgb(34 197 94/var(--tw-bg-opacity));transform:scale(1.1);transition:border-bottom .3s ease,color .3s ease,transform .3s ease}"]});let e=t;return e})();function Pw(e,t){if(e&1&&(k(0,"li")(1,"a",19),Z(2),V()()),e&2){let n=t.$implicit;Ne(),Qn("href",n.url,Wn),Ne(),xt(n.name)}}function Fw(e,t){if(e&1&&(k(0,"div",8)(1,"h2",17),Z(2),V(),k(3,"nav",18)(4,"ul"),Jn(5,Pw,3,2,"li",null,Kn),V()()()),e&2){let n=t.$implicit;Ne(2),xt(n.name),Ne(3),Xn(n.items)}}var sh=(()=>{let t=class t{constructor(){this.categories=[{name:"Frontend",items:[{name:"Angular",url:"https://github.com/djvelimir/demo-spa-angular"},{name:"Vue",url:"https://github.com/djvelimir/demo-spa-vue"},{name:"React",url:"https://github.com/djvelimir/demo-spa-react"},{name:"Vite + React",url:"https://github.com/djvelimir/demo-spa-react-vite"},{name:"Hugo",url:"https://github.com/djvelimir/blog"}]},{name:"Java & Kotlin",items:[{name:"Java - CLI",url:"https://github.com/djvelimir/demo-java-cli"},{name:"Java - Swing",url:"https://github.com/djvelimir/demo-java-swing"},{name:"Java - FX",url:"https://github.com/djvelimir/demo-java-fx"},{name:"Java - Spring Boot",url:"https://github.com/djvelimir/demo-java-spring-boot"},{name:"Kotlin - CLI",url:"https://github.com/djvelimir/demo-kotlin-cli"}]},{name:".NET",items:[{name:"C# .NET - CLI",url:"https://github.com/djvelimir/demo-dotnet-cli"},{name:"C# .NET - Benchmark",url:"https://github.com/djvelimir/demo-dotnet-benchmark"},{name:"C# .NET - WebApi",url:"https://github.com/djvelimir/demo-dotnet-web-api"}]},{name:"Mobile",items:[{name:"Android",url:"https://github.com/djvelimir/demo-mobile-android"},{name:"iOS",url:"https://github.com/djvelimir/demo-mobile-ios"}]},{name:"Misc",items:[{name:"C++ - CLI",url:"https://github.com/djvelimir/demo-cpp-cli"},{name:"Rust",url:"https://github.com/djvelimir/demo-rust"},{name:"Go (Golang)",url:"https://github.com/djvelimir/demo-go"},{name:"Python - CLI",url:"https://github.com/djvelimir/demo-python-cli"},{name:"Node.js",url:"https://github.com/djvelimir/demo-node"},{name:"Ruby",url:"https://github.com/djvelimir/demo-ruby-quine"}]}]}};t.\u0275fac=function(o){return new(o||t)},t.\u0275cmp=me({type:t,selectors:[["app-footer"]],standalone:!0,features:[De],decls:20,vars:0,consts:[[1,"text-gray-400","bg-gray-900","body-font"],[1,"container","px-5","py-24","mx-auto","flex","md:items-center","lg:items-start","md:flex-row","md:flex-nowrap","flex-wrap","flex-col"],[1,"w-64","flex-shrink-0","md:mx-0","mx-auto","text-center","md:text-left"],["ariaCurrentWhenActive","page","routerLink","/home",1,"flex","title-font","font-medium","items-center","md:justify-start","justify-center","text-white"],["xmlns","http://www.w3.org/2000/svg","fill","none","stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","viewBox","0 0 24 24","width","40","height","40",1,"w-10","h-10","text-white","p-2","bg-green-500","rounded-full"],["d","M12 2L2 7l10 5 10-5-10-5zM2 17l10 5 10-5M2 12l10 5 10-5"],[1,"ml-3","text-xl"],[1,"flex-grow","flex","flex-wrap","md:pl-20","-mb-10","md:mt-0","mt-10","md:text-left","text-center"],[1,"lg:w-1/4","md:w-1/2","w-full","px-4"],[1,"bg-gray-800","bg-opacity-75"],[1,"container","mx-auto","py-4","px-5","flex","flex-wrap","flex-col","sm:flex-row"],[1,"text-gray-400","text-sm","text-center","sm:text-left"],[1,"inline-flex","sm:ml-auto","sm:mt-0","mt-2","justify-center","sm:justify-start"],["href","https://linkedin.com/in/djvelimir",1,"ml-3","text-gray-400"],["fill","currentColor","stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","0","viewBox","0 0 24 24","width","20","height","20",1,"w-5","h-5"],["stroke","none","d","M16 8a6 6 0 016 6v7h-4v-7a2 2 0 00-2-2 2 2 0 00-2 2v7h-4v-7a6 6 0 016-6zM2 9h4v12H2z"],["cx","4","cy","4","r","2","stroke","none"],[1,"title-font","font-medium","text-white","tracking-widest","text-sm","mb-3"],[1,"list-none","mb-10"],[1,"text-gray-400","hover:text-white",3,"href"]],template:function(o,i){o&1&&(k(0,"footer",0)(1,"div",1)(2,"div",2)(3,"a",3),Mt(),k(4,"svg",4),ye(5,"path",5),V(),To(),k(6,"span",6),Z(7,"djvelimir.github.io"),V()()(),k(8,"div",7),Jn(9,Fw,7,1,"div",8,Kn),V()(),k(11,"div",9)(12,"div",10)(13,"p",11),Z(14,"\xA9 2024 djvelimir.github.io"),V(),k(15,"span",12)(16,"a",13),Mt(),k(17,"svg",14),ye(18,"path",15)(19,"circle",16),V()()()()()()),o&2&&(Ne(9),Xn(i.categories))},dependencies:[lt]});let e=t;return e})();var ah=(()=>{let t=class t{constructor(){this.title="djvelimir.github.io"}};t.\u0275fac=function(o){return new(o||t)},t.\u0275cmp=me({type:t,selectors:[["app-root"]],standalone:!0,features:[De],decls:3,vars:0,template:function(o,i){o&1&&ye(0,"app-navbar")(1,"router-outlet")(2,"app-footer")},dependencies:[lc,ih,sh]});let e=t;return e})();vf(ah,oh).catch(e=>console.error(e));