From f7a3d6de839621370f2d7bd93862472a1e01f125 Mon Sep 17 00:00:00 2001 From: Daniel Palme Date: Sat, 21 Dec 2024 21:18:27 +0100 Subject: [PATCH] Release 5.4.2 --- .github/workflows/ci.yml | 6 +++--- docs/main-74Z5QU6R.js | 2 +- global.json | 2 +- src/AzureDevopsTask/ReportGenerator/task.json | 2 +- src/AzureDevopsTask/vss-extension.json | 2 +- src/Deployment/nuget/Readme_ReportGenerator.md | 6 +++--- .../nuget/Readme_dotnet-reportgenerator-globaltool.md | 6 +++--- .../ReportGenerator.Console.NetCore.csproj | 4 ++-- .../ReportGenerator.Console.Net.csproj | 4 ++-- .../ReportGenerator.Core.Test.csproj | 4 ++-- src/ReportGenerator.Core/ReportGenerator.Core.csproj | 4 ++-- .../ReportGenerator.DotnetCorePluginLoader.csproj | 4 ++-- .../ReportGenerator.DotnetGlobalTool.csproj | 4 ++-- src/ReportGenerator.MSBuild/ReportGenerator.MSBuild.csproj | 4 ++-- src/build.proj | 2 +- 15 files changed, 28 insertions(+), 28 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8836e0d5..bc0932bd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,9 +6,9 @@ env: solution: 'src\ReportGenerator.sln' buildPlatform: Any CPU buildConfiguration: Release - version: 5.4.1 - dotnetSDKVersion: 9.0.100 - nodeVersion: 20 + version: 5.4.2 + dotnetSDKVersion: 9.0.101 + nodeVersion: 22 jobs: build: diff --git a/docs/main-74Z5QU6R.js b/docs/main-74Z5QU6R.js index 6fd20d73..988bf38b 100644 --- a/docs/main-74Z5QU6R.js +++ b/docs/main-74Z5QU6R.js @@ -5,7 +5,7 @@ ${r.map((n,i)=>`${i+1}) ${n.toString()}`).join(` `+t.message,i,r,n),t[Hv]=i,t[rs]=null,t}function Qv(t,e,r,n=null){t=t&&t.charAt(0)===` `&&t.charAt(1)==Gv?t.slice(2):t;let i=ke(e);if(Array.isArray(e))i=e.map(ke).join(" -> ");else if(typeof e=="object"){let o=[];for(let s in e)if(e.hasOwnProperty(s)){let a=e[s];o.push(s+":"+(typeof a=="string"?JSON.stringify(a):ke(a)))}i=`{${o.join(", ")}}`}return`${r}${n?"("+n+")":""}[${i}]: ${t.replace(qv,` `)}`}var Ts=_h(gh("Optional"),8);var kc=_h(gh("SkipSelf"),4);function br(t,e){let r=t.hasOwnProperty(ns);return r?t[ns]:null}function Kv(t,e,r){if(t.length!==e.length)return!1;for(let n=0;nArray.isArray(r)?Pc(r,e):e(r))}function xh(t,e,r){e>=t.length?t.push(r):t.splice(e,0,r)}function is(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function Xv(t,e,r,n){let i=t.length;if(i==e)t.push(r,n);else if(i===1)t.push(n,t[0]),t[0]=r;else{for(i--,t.push(t[i-1],t[i]);i>e;){let o=i-2;t[i]=t[o],i--}t[e]=r,t[e+1]=n}}function ey(t,e,r){let n=Ei(t,e);return n>=0?t[n|1]=r:(n=~n,Xv(t,n,e,r)),n}function El(t,e){let r=Ei(t,e);if(r>=0)return t[r|1]}function Ei(t,e){return ty(t,e,1)}function ty(t,e,r){let n=0,i=t.length>>r;for(;i!==n;){let o=n+(i-n>>1),s=t[o<e?i=o:n=o+1}return~(i<e){s=o-1;break}}}for(;o-1){let o;for(;++io?m="":m=i[h+1].toLowerCase(),n&2&&f!==m){if(ft(n))return!1;s=!0}}}}return ft(n)||s}function ft(t){return(t&1)===0}function ay(t,e,r,n){if(e===null)return-1;let i=0;if(n||!r){let o=!1;for(;i-1)for(r++;r0?'="'+a+'"':"")+"]"}else n&8?i+="."+s:n&4&&(i+=" "+s);else i!==""&&!ft(s)&&(e+=Vf(o,i),i=""),n=s,o=o||!ft(n);r++}return i!==""&&(e+=Vf(o,i)),e}function fy(t){return t.map(dy).join(",")}function hy(t){let e=[],r=[],n=1,i=2;for(;n{let e=Ph(t),r=K(E({},e),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===Mh.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&t.dependencies||null,getStandaloneInjector:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||xt.Emulated,styles:t.styles||tt,_:null,schemas:t.schemas||null,tView:null,id:""});Fh(r);let n=t.dependencies;return r.directiveDefs=Uf(n,!1),r.pipeDefs=Uf(n,!0),r.id=gy(r),r})}function py(t){return gn(t)||Nh(t)}function my(t){return t!==null}function We(t){return bi(()=>({type:t.type,bootstrap:t.bootstrap||tt,declarations:t.declarations||tt,imports:t.imports||tt,exports:t.exports||tt,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function jf(t,e){if(t==null)return Er;let r={};for(let n in t)if(t.hasOwnProperty(n)){let i=t[n],o,s,a=mn.None;Array.isArray(i)?(a=i[0],o=i[1],s=i[2]??o):(o=i,s=i),e?(r[o]=a!==mn.None?[n,a]:n,e[o]=s):r[o]=n}return r}function ie(t){return bi(()=>{let e=Ph(t);return Fh(e),e})}function gn(t){return t[Fv]||null}function Nh(t){return t[Lv]||null}function Rh(t){return t[Vv]||null}function Oh(t){let e=gn(t)||Nh(t)||Rh(t);return e!==null?e.standalone:!1}function kh(t,e){let r=t[jv]||null;if(!r&&e===!0)throw new Error(`Type ${ke(t)} does not have '\u0275mod' property.`);return r}function Ph(t){let e={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputTransforms:null,inputConfig:t.inputs||Er,exportAs:t.exportAs||null,standalone:t.standalone===!0,signals:t.signals===!0,selectors:t.selectors||tt,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:jf(t.inputs,e),outputs:jf(t.outputs),debugInfo:null}}function Fh(t){t.features?.forEach(e=>e(t))}function Uf(t,e){if(!t)return null;let r=e?Rh:py;return()=>(typeof t=="function"?t():t).map(n=>r(n)).filter(my)}function gy(t){let e=0,r=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,t.consts,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery].join("|");for(let i of r)e=Math.imul(31,e)+i.charCodeAt(0)<<0;return e+=2147483648,"c"+e}function As(t){return{\u0275providers:t}}function Lc(...t){return{\u0275providers:Lh(!0,t),\u0275fromNgModule:!0}}function Lh(t,...e){let r=[],n=new Set,i,o=s=>{r.push(s)};return Pc(e,s=>{let a=s;Ul(a,o,[],n)&&(i||=[],i.push(a))}),i!==void 0&&Vh(i,o),r}function Vh(t,e){for(let r=0;r{e(o,n)})}}function Ul(t,e,r,n){if(t=Oe(t),!t)return!1;let i=null,o=Of(t),s=!o&&gn(t);if(!o&&!s){let c=t.ngModule;if(o=Of(c),o)i=c;else return!1}else{if(s&&!s.standalone)return!1;i=t}let a=n.has(i);if(s){if(a)return!1;if(n.add(i),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let f of c)Ul(f,e,r,n)}}else if(o){if(o.imports!=null&&!a){n.add(i);let f;try{Pc(o.imports,h=>{Ul(h,e,r,n)&&(f||=[],f.push(h))})}finally{}f!==void 0&&Vh(f,e)}if(!a){let f=br(i)||(()=>new i);e({provide:i,useFactory:f,deps:tt},i),e({provide:Sh,useValue:i,multi:!0},i),e({provide:_r,useValue:()=>M(i),multi:!0},i)}let c=o.providers;if(c!=null&&!a){let f=t;Vc(c,h=>{e(h,f)})}}else return!1;return i!==t&&t.providers!==void 0}function Vc(t,e){for(let r of t)wh(r)&&(r=r.\u0275providers),Array.isArray(r)?Vc(r,e):e(r)}var vy=se({provide:String,useValue:se});function jh(t){return t!==null&&typeof t=="object"&&vy in t}function yy(t){return!!(t&&t.useExisting)}function Cy(t){return!!(t&&t.useFactory)}function xr(t){return typeof t=="function"}function Dy(t){return!!t.useClass}var Ns=new T(""),Qo={},wy={},_l;function jc(){return _l===void 0&&(_l=new os),_l}var Pe=class{},yi=class extends Pe{get destroyed(){return this._destroyed}constructor(e,r,n,i){super(),this.parent=r,this.source=n,this.scopes=i,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,$l(e,s=>this.processProvider(s)),this.records.set(Ih,mr(void 0,this)),i.has("environment")&&this.records.set(Pe,mr(void 0,this));let o=this.records.get(Ns);o!=null&&typeof o.value=="string"&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(Sh,tt,W.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let e=Y(null);try{for(let n of this._ngOnDestroyHooks)n.ngOnDestroy();let r=this._onDestroyHooks;this._onDestroyHooks=[];for(let n of r)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),Y(e)}}onDestroy(e){return this.assertNotDestroyed(),this._onDestroyHooks.push(e),()=>this.removeOnDestroy(e)}runInContext(e){this.assertNotDestroyed();let r=fn(this),n=et(void 0),i;try{return e()}finally{fn(r),et(n)}}get(e,r=gi,n=W.Default){if(this.assertNotDestroyed(),e.hasOwnProperty(Pf))return e[Pf](this);n=Ms(n);let i,o=fn(this),s=et(void 0);try{if(!(n&W.SkipSelf)){let c=this.records.get(e);if(c===void 0){let f=Iy(e)&&Ss(e);f&&this.injectableDefInScope(f)?c=mr(Bl(e),Qo):c=null,this.records.set(e,c)}if(c!=null)return this.hydrate(e,c)}let a=n&W.Self?jc():this.parent;return r=n&W.Optional&&r===gi?null:r,a.get(e,r)}catch(a){if(a.name==="NullInjectorError"){if((a[rs]=a[rs]||[]).unshift(ke(e)),o)throw a;return Yv(a,e,"R3InjectorError",this.source)}else throw a}finally{et(s),fn(o)}}resolveInjectorInitializers(){let e=Y(null),r=fn(this),n=et(void 0),i;try{let o=this.get(_r,tt,W.Self);for(let s of o)s()}finally{fn(r),et(n),Y(e)}}toString(){let e=[],r=this.records;for(let n of r.keys())e.push(ke(n));return`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new N(205,!1)}processProvider(e){e=Oe(e);let r=xr(e)?e:Oe(e&&e.provide),n=Ey(e);if(!xr(e)&&e.multi===!0){let i=this.records.get(r);i||(i=mr(void 0,Qo,!0),i.factory=()=>Vl(i.multi),this.records.set(r,i)),r=e,i.multi.push(e)}this.records.set(r,n)}hydrate(e,r){let n=Y(null);try{return r.value===Qo&&(r.value=wy,r.value=r.factory()),typeof r.value=="object"&&r.value&&xy(r.value)&&this._ngOnDestroyHooks.add(r.value),r.value}finally{Y(n)}}injectableDefInScope(e){if(!e.providedIn)return!1;let r=Oe(e.providedIn);return typeof r=="string"?r==="any"||this.scopes.has(r):this.injectorDefTypes.has(r)}removeOnDestroy(e){let r=this._onDestroyHooks.indexOf(e);r!==-1&&this._onDestroyHooks.splice(r,1)}};function Bl(t){let e=Ss(t),r=e!==null?e.factory:br(t);if(r!==null)return r;if(t instanceof T)throw new N(204,!1);if(t instanceof Function)return by(t);throw new N(204,!1)}function by(t){if(t.length>0)throw new N(204,!1);let r=kv(t);return r!==null?()=>r.factory(t):()=>new t}function Ey(t){if(jh(t))return mr(void 0,t.useValue);{let e=Uh(t);return mr(e,Qo)}}function Uh(t,e,r){let n;if(xr(t)){let i=Oe(t);return br(i)||Bl(i)}else if(jh(t))n=()=>Oe(t.useValue);else if(Cy(t))n=()=>t.useFactory(...Vl(t.deps||[]));else if(yy(t))n=()=>M(Oe(t.useExisting));else{let i=Oe(t&&(t.useClass||t.provide));if(_y(t))n=()=>new i(...Vl(t.deps));else return br(i)||Bl(i)}return n}function mr(t,e,r=!1){return{factory:t,value:e,multi:r?[]:void 0}}function _y(t){return!!t.deps}function xy(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function Iy(t){return typeof t=="function"||typeof t=="object"&&t instanceof T}function $l(t,e){for(let r of t)Array.isArray(r)?$l(r,e):r&&wh(r)?$l(r.\u0275providers,e):e(r)}function st(t,e){t instanceof yi&&t.assertNotDestroyed();let r,n=fn(t),i=et(void 0);try{return e()}finally{fn(n),et(i)}}function Bh(){return bh()!==void 0||zv()!=null}function Sy(t){if(!Bh())throw new N(-203,!1)}function My(t){return typeof t=="function"}var Ht=0,j=1,F=2,Ae=3,ht=4,pt=5,ss=6,as=7,rt=8,Ir=9,It=10,ve=11,Ci=12,Bf=13,kr=14,St=15,jn=16,gr=17,jt=18,Rs=19,$h=20,hn=21,xl=22,nt=23,it=25,Hh=1;var Un=7,ls=8,Sr=9,$e=10,cs=function(t){return t[t.None=0]="None",t[t.HasTransplantedViews=2]="HasTransplantedViews",t}(cs||{});function pn(t){return Array.isArray(t)&&typeof t[Hh]=="object"}function qt(t){return Array.isArray(t)&&t[Hh]===!0}function Uc(t){return(t.flags&4)!==0}function Os(t){return t.componentOffset>-1}function ks(t){return(t.flags&1)===1}function vn(t){return!!t.template}function Hl(t){return(t[F]&512)!==0}var ql=class{constructor(e,r,n){this.previousValue=e,this.currentValue=r,this.firstChange=n}isFirstChange(){return this.firstChange}};function qh(t,e,r,n){e!==null?e.applyValueToInputSignal(e,n):t[r]=n}function Gt(){return Gh}function Gh(t){return t.type.prototype.ngOnChanges&&(t.setInput=Ay),Ty}Gt.ngInherit=!0;function Ty(){let t=Wh(this),e=t?.current;if(e){let r=t.previous;if(r===Er)t.previous=e;else for(let n in e)r[n]=e[n];t.current=null,this.ngOnChanges(e)}}function Ay(t,e,r,n,i){let o=this.declaredInputs[n],s=Wh(t)||Ny(t,{previous:Er,current:null}),a=s.current||(s.current={}),c=s.previous,f=c[o];a[o]=new ql(f&&f.currentValue,r,c===Er),qh(t,e,i,r)}var zh="__ngSimpleChanges__";function Wh(t){return t[zh]||null}function Ny(t,e){return t[zh]=e}var $f=null;var bt=function(t,e,r){$f?.(t,e,r)},Ry="svg",Oy="math";function Mt(t){for(;Array.isArray(t);)t=t[Ht];return t}function Zh(t,e){return Mt(e[t])}function at(t,e){return Mt(e[t.index])}function Bc(t,e){return t.data[e]}function ky(t,e){return t[e]}function Dn(t,e){let r=e[t];return pn(r)?r:r[Ht]}function Py(t){return(t[F]&4)===4}function $c(t){return(t[F]&128)===128}function Fy(t){return qt(t[Ae])}function Mr(t,e){return e==null?null:t[e]}function Yh(t){t[gr]=0}function Qh(t){t[F]&1024||(t[F]|=1024,$c(t)&&Fs(t))}function Ly(t,e){for(;t>0;)e=e[kr],t--;return e}function Ps(t){return!!(t[F]&9216||t[nt]?.dirty)}function Gl(t){t[It].changeDetectionScheduler?.notify(8),t[F]&64&&(t[F]|=1024),Ps(t)&&Fs(t)}function Fs(t){t[It].changeDetectionScheduler?.notify(0);let e=Bn(t);for(;e!==null&&!(e[F]&8192||(e[F]|=8192,!$c(e)));)e=Bn(e)}function Kh(t,e){if((t[F]&256)===256)throw new N(911,!1);t[hn]===null&&(t[hn]=[]),t[hn].push(e)}function Vy(t,e){if(t[hn]===null)return;let r=t[hn].indexOf(e);r!==-1&&t[hn].splice(r,1)}function Bn(t){let e=t[Ae];return qt(e)?e[Ae]:e}var G={lFrame:ap(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Jh=!1;function jy(){return G.lFrame.elementDepthCount}function Uy(){G.lFrame.elementDepthCount++}function By(){G.lFrame.elementDepthCount--}function Xh(){return G.bindingsEnabled}function $y(){return G.skipHydrationRootTNode!==null}function Hy(t){return G.skipHydrationRootTNode===t}function qy(){G.skipHydrationRootTNode=null}function Q(){return G.lFrame.lView}function Ee(){return G.lFrame.tView}function x(t){return G.lFrame.contextLView=t,t[rt]}function I(t){return G.lFrame.contextLView=null,t}function Te(){let t=ep();for(;t!==null&&t.type===64;)t=t.parent;return t}function ep(){return G.lFrame.currentTNode}function Gy(){let t=G.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}function Zn(t,e){let r=G.lFrame;r.currentTNode=t,r.isParent=e}function Hc(){return G.lFrame.isParent}function tp(){G.lFrame.isParent=!1}function zy(){return G.lFrame.contextLView}function np(){return Jh}function Hf(t){Jh=t}function qc(){let t=G.lFrame,e=t.bindingRootIndex;return e===-1&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function Wy(){return G.lFrame.bindingIndex}function Zy(t){return G.lFrame.bindingIndex=t}function _i(){return G.lFrame.bindingIndex++}function rp(t){let e=G.lFrame,r=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,r}function Yy(){return G.lFrame.inI18n}function Qy(t,e){let r=G.lFrame;r.bindingIndex=r.bindingRootIndex=t,zl(e)}function Ky(){return G.lFrame.currentDirectiveIndex}function zl(t){G.lFrame.currentDirectiveIndex=t}function Jy(t){let e=G.lFrame.currentDirectiveIndex;return e===-1?null:t[e]}function ip(){return G.lFrame.currentQueryIndex}function Gc(t){G.lFrame.currentQueryIndex=t}function Xy(t){let e=t[j];return e.type===2?e.declTNode:e.type===1?t[pt]:null}function op(t,e,r){if(r&W.SkipSelf){let i=e,o=t;for(;i=i.parent,i===null&&!(r&W.Host);)if(i=Xy(o),i===null||(o=o[kr],i.type&10))break;if(i===null)return!1;e=i,t=o}let n=G.lFrame=sp();return n.currentTNode=e,n.lView=t,!0}function zc(t){let e=sp(),r=t[j];G.lFrame=e,e.currentTNode=r.firstChild,e.lView=t,e.tView=r,e.contextLView=t,e.bindingIndex=r.bindingStartIndex,e.inI18n=!1}function sp(){let t=G.lFrame,e=t===null?null:t.child;return e===null?ap(t):e}function ap(t){let e={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:t,child:null,inI18n:!1};return t!==null&&(t.child=e),e}function lp(){let t=G.lFrame;return G.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var cp=lp;function Wc(){let t=lp();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function eC(t){return(G.lFrame.contextLView=Ly(t,G.lFrame.contextLView))[rt]}function Yn(){return G.lFrame.selectedIndex}function $n(t){G.lFrame.selectedIndex=t}function Ls(){let t=G.lFrame;return Bc(t.tView,t.selectedIndex)}function tC(){return G.lFrame.currentNamespace}var up=!0;function Vs(){return up}function js(t){up=t}function nC(t,e,r){let{ngOnChanges:n,ngOnInit:i,ngDoCheck:o}=e.type.prototype;if(n){let s=Gh(e);(r.preOrderHooks??=[]).push(t,s),(r.preOrderCheckHooks??=[]).push(t,s)}i&&(r.preOrderHooks??=[]).push(0-t,i),o&&((r.preOrderHooks??=[]).push(t,o),(r.preOrderCheckHooks??=[]).push(t,o))}function Us(t,e){for(let r=e.directiveStart,n=e.directiveEnd;r=n)break}else e[c]<0&&(t[gr]+=65536),(a>14>16&&(t[F]&3)===e&&(t[F]+=16384,qf(a,o)):qf(a,o)}var Dr=-1,Hn=class{constructor(e,r,n){this.factory=e,this.resolving=!1,this.canSeeViewProviders=r,this.injectImpl=n}};function iC(t){return t instanceof Hn}function oC(t){return(t.flags&8)!==0}function sC(t){return(t.flags&16)!==0}var Sl={},Wl=class{constructor(e,r){this.injector=e,this.parentInjector=r}get(e,r,n){n=Ms(n);let i=this.injector.get(e,Sl,n);return i!==Sl||r===Sl?i:this.parentInjector.get(e,r,n)}};function fp(t){return t!==Dr}function us(t){return t&32767}function aC(t){return t>>16}function ds(t,e){let r=aC(t),n=e;for(;r>0;)n=n[kr],r--;return n}var Zl=!0;function Gf(t){let e=Zl;return Zl=t,e}var lC=256,hp=lC-1,pp=5,cC=0,Et={};function uC(t,e,r){let n;typeof r=="string"?n=r.charCodeAt(0)||0:r.hasOwnProperty(mi)&&(n=r[mi]),n==null&&(n=r[mi]=cC++);let i=n&hp,o=1<>pp)]|=o}function fs(t,e){let r=mp(t,e);if(r!==-1)return r;let n=e[j];n.firstCreatePass&&(t.injectorIndex=e.length,Ml(n.data,t),Ml(e,null),Ml(n.blueprint,null));let i=Zc(t,e),o=t.injectorIndex;if(fp(i)){let s=us(i),a=ds(i,e),c=a[j].data;for(let f=0;f<8;f++)e[o+f]=a[s+f]|c[s+f]}return e[o+8]=i,o}function Ml(t,e){t.push(0,0,0,0,0,0,0,0,e)}function mp(t,e){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||e[t.injectorIndex+8]===null?-1:t.injectorIndex}function Zc(t,e){if(t.parent&&t.parent.injectorIndex!==-1)return t.parent.injectorIndex;let r=0,n=null,i=e;for(;i!==null;){if(n=Dp(i),n===null)return Dr;if(r++,i=i[kr],n.injectorIndex!==-1)return n.injectorIndex|r<<16}return Dr}function Yl(t,e,r){uC(t,e,r)}function dC(t,e){if(e==="class")return t.classes;if(e==="style")return t.styles;let r=t.attrs;if(r){let n=r.length,i=0;for(;i>20,m=n?a:a+h,v=i?a+h:f;for(let y=m;y=c&&b.type===r)return y}if(i){let y=s[c];if(y&&vn(y)&&y.type===r)return c}return null}function qn(t,e,r,n){let i=t[r],o=e.data;if(iC(i)){let s=i;s.resolving&&Bv(Uv(o[r]));let a=Gf(s.canSeeViewProviders);s.resolving=!0;let c,f=s.injectImpl?et(s.injectImpl):null,h=op(t,n,W.Default);try{i=t[r]=s.factory(void 0,o,t,n),e.firstCreatePass&&r>=n.directiveStart&&nC(r,o[r],e)}finally{f!==null&&et(f),Gf(a),s.resolving=!1,cp()}}return i}function hC(t){if(typeof t=="string")return t.charCodeAt(0)||0;let e=t.hasOwnProperty(mi)?t[mi]:void 0;return typeof e=="number"?e>=0?e&hp:pC:e}function zf(t,e,r){let n=1<>pp)]&n)}function Wf(t,e){return!(t&W.Self)&&!(t&W.Host&&e)}var Vn=class{constructor(e,r){this._tNode=e,this._lView=r}get(e,r,n){return yp(this._tNode,this._lView,e,Ms(n),r)}};function pC(){return new Vn(Te(),Q())}function mt(t){return bi(()=>{let e=t.prototype.constructor,r=e[ns]||Ql(e),n=Object.prototype,i=Object.getPrototypeOf(t.prototype).constructor;for(;i&&i!==n;){let o=i[ns]||Ql(i);if(o&&o!==r)return o;i=Object.getPrototypeOf(i)}return o=>new o})}function Ql(t){return vh(t)?()=>{let e=Ql(Oe(t));return e&&e()}:br(t)}function mC(t,e,r,n,i){let o=t,s=e;for(;o!==null&&s!==null&&s[F]&2048&&!(s[F]&512);){let a=Cp(o,s,r,n|W.Self,Et);if(a!==Et)return a;let c=o.parent;if(!c){let f=s[$h];if(f){let h=f.get(r,Et,n);if(h!==Et)return h}c=Dp(s),s=s[kr]}o=c}return i}function Dp(t){let e=t[j],r=e.type;return r===2?e.declTNode:r===1?t[pt]:null}function Yc(t){return dC(Te(),t)}function Zf(t,e=null,r=null,n){let i=wp(t,e,r,n);return i.resolveInjectorInitializers(),i}function wp(t,e=null,r=null,n,i=new Set){let o=[r||tt,Lc(t)];return n=n||(typeof t=="object"?void 0:ke(t)),new yi(o,e||jc(),n||null,i)}var Fn=class Fn{static create(e,r){if(Array.isArray(e))return Zf({name:""},r,e,"");{let n=e.name??"";return Zf({name:n},e.parent,e.providers,n)}}};Fn.THROW_IF_NOT_FOUND=gi,Fn.NULL=new os,Fn.\u0275prov=_({token:Fn,providedIn:"any",factory:()=>M(Ih)}),Fn.__NG_ELEMENT_ID__=-1;var ot=Fn;var gC=new T("");gC.__NG_ELEMENT_ID__=t=>{let e=Te();if(e===null)throw new N(204,!1);if(e.type&2)return e.value;if(t&W.Optional)return null;throw new N(204,!1)};var vC="ngOriginalError";function Tl(t){return t[vC]}var bp=!0,Qc=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=yC,e.__NG_ENV_ID__=n=>n;let t=e;return t})(),Kl=class extends Qc{constructor(e){super(),this._lView=e}onDestroy(e){return Kh(this._lView,e),()=>Vy(this._lView,e)}};function yC(){return new Kl(Q())}var zt=(()=>{let e=class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Se(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}};e.\u0275prov=_({token:e,providedIn:"root",factory:()=>new e});let t=e;return t})();var Jl=class extends we{constructor(e=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=e,Bh()&&(this.destroyRef=D(Qc,{optional:!0})??void 0,this.pendingTasks=D(zt,{optional:!0})??void 0)}emit(e){let r=Y(null);try{super.next(e)}finally{Y(r)}}subscribe(e,r,n){let i=e,o=r||(()=>null),s=n;if(e&&typeof e=="object"){let c=e;i=c.next?.bind(c),o=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(o=this.wrapInTimeout(o),i&&(i=this.wrapInTimeout(i)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:i,error:o,complete:s});return e instanceof ye&&e.add(a),a}wrapInTimeout(e){return r=>{let n=this.pendingTasks?.add();setTimeout(()=>{e(r),n!==void 0&&this.pendingTasks?.remove(n)})}}},he=Jl;function hs(...t){}function Ep(t){let e,r;function n(){t=hs;try{r!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(r),e!==void 0&&clearTimeout(e)}catch{}}return e=setTimeout(()=>{t(),n()}),typeof requestAnimationFrame=="function"&&(r=requestAnimationFrame(()=>{t(),n()})),()=>n()}function Yf(t){return queueMicrotask(()=>t()),()=>{t=hs}}var Kc="isAngularZone",ps=Kc+"_ID",CC=0,oe=class t{constructor(e){this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new he(!1),this.onMicrotaskEmpty=new he(!1),this.onStable=new he(!1),this.onError=new he(!1);let{enableLongStackTrace:r=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:i=!1,scheduleInRootZone:o=bp}=e;if(typeof Zone>"u")throw new N(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),r&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!i&&n,s.shouldCoalesceRunChangeDetection=i,s.callbackScheduled=!1,s.scheduleInRootZone=o,bC(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Kc)===!0}static assertInAngularZone(){if(!t.isInAngularZone())throw new N(909,!1)}static assertNotInAngularZone(){if(t.isInAngularZone())throw new N(909,!1)}run(e,r,n){return this._inner.run(e,r,n)}runTask(e,r,n,i){let o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+i,e,DC,hs,hs);try{return o.runTask(s,r,n)}finally{o.cancelTask(s)}}runGuarded(e,r,n){return this._inner.runGuarded(e,r,n)}runOutsideAngular(e){return this._outer.run(e)}},DC={};function Jc(t){if(t._nesting==0&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function wC(t){if(t.isCheckStableRunning||t.callbackScheduled)return;t.callbackScheduled=!0;function e(){Ep(()=>{t.callbackScheduled=!1,Xl(t),t.isCheckStableRunning=!0,Jc(t),t.isCheckStableRunning=!1})}t.scheduleInRootZone?Zone.root.run(()=>{e()}):t._outer.run(()=>{e()}),Xl(t)}function bC(t){let e=()=>{wC(t)},r=CC++;t._inner=t._inner.fork({name:"angular",properties:{[Kc]:!0,[ps]:r,[ps+r]:!0},onInvokeTask:(n,i,o,s,a,c)=>{if(EC(c))return n.invokeTask(o,s,a,c);try{return Qf(t),n.invokeTask(o,s,a,c)}finally{(t.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&e(),Kf(t)}},onInvoke:(n,i,o,s,a,c,f)=>{try{return Qf(t),n.invoke(o,s,a,c,f)}finally{t.shouldCoalesceRunChangeDetection&&!t.callbackScheduled&&!_C(c)&&e(),Kf(t)}},onHasTask:(n,i,o,s)=>{n.hasTask(o,s),i===o&&(s.change=="microTask"?(t._hasPendingMicrotasks=s.microTask,Xl(t),Jc(t)):s.change=="macroTask"&&(t.hasPendingMacrotasks=s.macroTask))},onHandleError:(n,i,o,s)=>(n.handleError(o,s),t.runOutsideAngular(()=>t.onError.emit(s)),!1)})}function Xl(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.callbackScheduled===!0?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function Qf(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Kf(t){t._nesting--,Jc(t)}var ec=class{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new he,this.onMicrotaskEmpty=new he,this.onStable=new he,this.onError=new he}run(e,r,n){return e.apply(r,n)}runGuarded(e,r,n){return e.apply(r,n)}runOutsideAngular(e){return e()}runTask(e,r,n,i){return e.apply(r,n)}};function EC(t){return _p(t,"__ignore_ng_zone__")}function _C(t){return _p(t,"__scheduler_tick__")}function _p(t,e){return!Array.isArray(t)||t.length!==1?!1:t[0]?.data?.[e]===!0}var Ut=class{constructor(){this._console=console}handleError(e){let r=this._findOriginalError(e);this._console.error("ERROR",e),r&&this._console.error("ORIGINAL ERROR",r)}_findOriginalError(e){let r=e&&Tl(e);for(;r&&Tl(r);)r=Tl(r);return r||null}},xC=new T("",{providedIn:"root",factory:()=>{let t=D(oe),e=D(Ut);return r=>t.runOutsideAngular(()=>e.handleError(r))}});function IC(){return Pr(Te(),Q())}function Pr(t,e){return new _e(at(t,e))}var _e=(()=>{let e=class e{constructor(n){this.nativeElement=n}};e.__NG_ELEMENT_ID__=IC;let t=e;return t})();function SC(t){return t instanceof _e?t.nativeElement:t}function MC(){return this._results[Symbol.iterator]()}var tc=class t{get changes(){return this._changes??=new he}constructor(e=!1){this._emitDistinctChangesOnly=e,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 r=t.prototype;r[Symbol.iterator]||(r[Symbol.iterator]=MC)}get(e){return this._results[e]}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,r){return this._results.reduce(e,r)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,r){this.dirty=!1;let n=Jv(e);(this._changesDetected=!Kv(this._results,n,r))&&(this._results=n,this.length=n.length,this.last=n[this.length-1],this.first=n[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}onDirty(e){this._onDirty=e}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}};function xp(t){return(t.flags&128)===128}var Ip=new Map,TC=0;function AC(){return TC++}function NC(t){Ip.set(t[Rs],t)}function nc(t){Ip.delete(t[Rs])}var Jf="__ngContext__";function yn(t,e){pn(e)?(t[Jf]=e[Rs],NC(e)):t[Jf]=e}function Sp(t){return Tp(t[Ci])}function Mp(t){return Tp(t[ht])}function Tp(t){for(;t!==null&&!qt(t);)t=t[ht];return t}var rc;function Ap(t){rc=t}function RC(){if(rc!==void 0)return rc;if(typeof document<"u")return document;throw new N(210,!1)}var Bs=new T("",{providedIn:"root",factory:()=>OC}),OC="ng",Xc=new T(""),Tt=new T("",{providedIn:"platform",factory:()=>"unknown"});var eu=new T("",{providedIn:"root",factory:()=>RC().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var kC="h",PC="b";var FC=()=>null;function tu(t,e,r=!1){return FC(t,e,r)}var Np=!1,LC=new T("",{providedIn:"root",factory:()=>Np});var zo;function VC(){if(zo===void 0&&(zo=null,_t.trustedTypes))try{zo=_t.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return zo}function Xf(t){return VC()?.createScriptURL(t)||t}var ms=class{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${mh})`}};function xi(t){return t instanceof ms?t.changingThisBreaksApplicationSecurity:t}function nu(t,e){let r=jC(t);if(r!=null&&r!==e){if(r==="ResourceURL"&&e==="URL")return!0;throw new Error(`Required a safe ${e}, got a ${r} (see ${mh})`)}return r===e}function jC(t){return t instanceof ms&&t.getTypeName()||null}var UC=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Rp(t){return t=String(t),t.match(UC)?t:"unsafe:"+t}var $s=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}($s||{});function Fr(t){let e=kp();return e?e.sanitize($s.URL,t)||"":nu(t,"URL")?xi(t):Rp(wr(t))}function BC(t){let e=kp();if(e)return Xf(e.sanitize($s.RESOURCE_URL,t)||"");if(nu(t,"ResourceURL"))return Xf(xi(t));throw new N(904,!1)}function $C(t,e){return e==="src"&&(t==="embed"||t==="frame"||t==="iframe"||t==="media"||t==="script")||e==="href"&&(t==="base"||t==="link")?BC:Fr}function Op(t,e,r){return $C(e,r)(t)}function kp(){let t=Q();return t&&t[It].sanitizer}var HC=/^>|^->||--!>|)/g,GC="\u200B$1\u200B";function zC(t){return t.replace(HC,e=>e.replace(qC,GC))}function Pp(t){return t instanceof Function?t():t}function WC(t){return(t??D(ot)).get(Tt)==="browser"}var Bt=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(Bt||{}),ZC;function ru(t,e){return ZC(t,e)}function vr(t,e,r,n,i){if(n!=null){let o,s=!1;qt(n)?o=n:pn(n)&&(s=!0,n=n[Ht]);let a=Mt(n);t===0&&r!==null?i==null?jp(e,r,a):vs(e,r,a,i||null,!0):t===1&&r!==null?vs(e,r,a,i||null,!0):t===2?uD(e,a,s):t===3&&e.destroyNode(a),o!=null&&fD(e,t,o,r,i)}}function YC(t,e){return t.createText(e)}function QC(t,e,r){t.setValue(e,r)}function KC(t,e){return t.createComment(zC(e))}function Fp(t,e,r){return t.createElement(e,r)}function JC(t,e){Lp(t,e),e[Ht]=null,e[pt]=null}function XC(t,e,r,n,i,o){n[Ht]=i,n[pt]=e,qs(t,n,r,1,i,o)}function Lp(t,e){e[It].changeDetectionScheduler?.notify(9),qs(t,e,e[ve],2,null,null)}function eD(t){let e=t[Ci];if(!e)return Al(t[j],t);for(;e;){let r=null;if(pn(e))r=e[Ci];else{let n=e[$e];n&&(r=n)}if(!r){for(;e&&!e[ht]&&e!==t;)pn(e)&&Al(e[j],e),e=e[Ae];e===null&&(e=t),pn(e)&&Al(e[j],e),r=e&&e[ht]}e=r}}function tD(t,e,r,n){let i=$e+n,o=r.length;n>0&&(r[i-1][ht]=e),n0&&(t[r-1][ht]=n[ht]);let o=is(t,$e+e);JC(n[j],n);let s=o[jt];s!==null&&s.detachView(o[j]),n[Ae]=null,n[ht]=null,n[F]&=-129}return n}function ou(t,e){if(!(e[F]&256)){let r=e[ve];r.destroyNode&&qs(t,e,r,3,null,null),eD(e)}}function Al(t,e){if(e[F]&256)return;let r=Y(null);try{e[F]&=-129,e[F]|=256,e[nt]&&ol(e[nt]),rD(t,e),nD(t,e),e[j].type===1&&e[ve].destroy();let n=e[jn];if(n!==null&&qt(e[Ae])){n!==e[Ae]&&iu(n,e);let i=e[jt];i!==null&&i.detachView(t)}nc(e)}finally{Y(r)}}function nD(t,e){let r=t.cleanup,n=e[as];if(r!==null)for(let o=0;o=0?n[s]():n[-s].unsubscribe(),o+=2}else{let s=n[r[o+1]];r[o].call(s)}n!==null&&(e[as]=null);let i=e[hn];if(i!==null){e[hn]=null;for(let o=0;o-1){let{encapsulation:o}=t.data[n.directiveStart+i];if(o===xt.None||o===xt.Emulated)return null}return at(n,r)}}function vs(t,e,r,n,i){t.insertBefore(e,r,n,i)}function jp(t,e,r){t.appendChild(e,r)}function eh(t,e,r,n,i){n!==null?vs(t,e,r,n,i):jp(t,e,r)}function Up(t,e){return t.parentNode(e)}function sD(t,e){return t.nextSibling(e)}function aD(t,e,r){return cD(t,e,r)}function lD(t,e,r){return t.type&40?at(t,r):null}var cD=lD,th;function Hs(t,e,r,n){let i=iD(t,n,e),o=e[ve],s=n.parent||e[pt],a=aD(s,n,e);if(i!=null)if(Array.isArray(r))for(let c=0;cit&&qp(t,e,it,!1),bt(s?2:0,i),r(n,i)}finally{$n(o),bt(s?3:1,i)}}function au(t,e,r){if(Uc(e)){let n=Y(null);try{let i=e.directiveStart,o=e.directiveEnd;for(let s=i;snull;function wD(t,e,r,n){let i=em(e);i.push(r),t.firstCreatePass&&tm(t).push(n,i.length-1)}function bD(t,e,r,n,i,o){let s=e?e.injectorIndex:-1,a=0;return $y()&&(a|=128),{type:r,index:n,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:i,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function nh(t,e,r,n,i){for(let o in e){if(!e.hasOwnProperty(o))continue;let s=e[o];if(s===void 0)continue;n??={};let a,c=mn.None;Array.isArray(s)?(a=s[0],c=s[1]):a=s;let f=o;if(i!==null){if(!i.hasOwnProperty(o))continue;f=i[o]}t===0?rh(n,r,f,a,c):rh(n,r,f,a)}return n}function rh(t,e,r,n,i){let o;t.hasOwnProperty(r)?(o=t[r]).push(e,n):o=t[r]=[e,n],i!==void 0&&o.push(i)}function ED(t,e,r){let n=e.directiveStart,i=e.directiveEnd,o=t.data,s=e.attrs,a=[],c=null,f=null;for(let h=n;h0;){let r=t[--e];if(typeof r=="number"&&r<0)return r}return 0}function MD(t,e,r,n){let i=r.directiveStart,o=r.directiveEnd;Os(r)&&PD(e,r,t.data[i+r.componentOffset]),t.firstCreatePass||fs(r,e),yn(n,e);let s=r.initialInputs;for(let a=i;a{Fs(t.lView)},consumerOnSignalRead(){this.lView[nt]=this}});function QD(t){let e=t[nt]??Object.create(KD);return e.lView=t,e}var KD=K(E({},ui),{consumerIsAlwaysLive:!0,consumerMarkedDirty:t=>{let e=Bn(t.lView);for(;e&&!am(e[j]);)e=Bn(e);e&&Qh(e)},consumerOnSignalRead(){this.lView[nt]=this}});function am(t){return t.type!==2}var JD=100;function lm(t,e=!0,r=0){let n=t[It],i=n.rendererFactory,o=!1;o||i.begin?.();try{XD(t,r)}catch(s){throw e&&nm(t,s),s}finally{o||(i.end?.(),n.inlineEffectRunner?.flush())}}function XD(t,e){let r=np();try{Hf(!0),lc(t,e);let n=0;for(;Ps(t);){if(n===JD)throw new N(103,!1);n++,lc(t,1)}}finally{Hf(r)}}function ew(t,e,r,n){let i=e[F];if((i&256)===256)return;let o=!1,s=!1;!o&&e[It].inlineEffectRunner?.flush(),zc(e);let a=!0,c=null,f=null;o||(am(t)?(f=zD(e),c=Co(f)):zd()===null?(a=!1,f=QD(e),c=Co(f)):e[nt]&&(ol(e[nt]),e[nt]=null));try{Yh(e),Zy(t.bindingStartIndex),r!==null&&Zp(t,e,r,2,n);let h=(i&3)===3;if(!o)if(h){let y=t.preOrderCheckHooks;y!==null&&Ko(e,y,null)}else{let y=t.preOrderHooks;y!==null&&Jo(e,y,0,null),Il(e,0)}if(s||tw(e),cm(e,0),t.contentQueries!==null&&Xp(t,e),!o)if(h){let y=t.contentCheckHooks;y!==null&&Ko(e,y)}else{let y=t.contentHooks;y!==null&&Jo(e,y,1),Il(e,1)}mD(t,e);let m=t.components;m!==null&&dm(e,m,0);let v=t.viewQuery;if(v!==null&&sc(2,v,n),!o)if(h){let y=t.viewCheckHooks;y!==null&&Ko(e,y)}else{let y=t.viewHooks;y!==null&&Jo(e,y,2),Il(e,2)}if(t.firstUpdatePass===!0&&(t.firstUpdatePass=!1),e[xl]){for(let y of e[xl])y();e[xl]=null}o||(e[F]&=-73)}catch(h){throw o||Fs(e),h}finally{f!==null&&(rl(f,c),a&&ZD(f)),Wc()}}function cm(t,e){for(let r=Sp(t);r!==null;r=Mp(r))for(let n=$e;n-1&&(gs(e,n),is(r,n))}this._attachedToViewContainer=!1}ou(this._lView[j],this._lView)}onDestroy(e){Kh(this._lView,e)}markForCheck(){mu(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[F]&=-129}reattach(){Gl(this._lView),this._lView[F]|=128}detectChanges(){this._lView[F]|=1024,lm(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new N(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let e=Hl(this._lView),r=this._lView[jn];r!==null&&!e&&iu(r,this._lView),Lp(this._lView[j],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new N(902,!1);this._appRef=e;let r=Hl(this._lView),n=this._lView[jn];n!==null&&!r&&Vp(n,this._lView),Gl(this._lView)}},zn=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=ow;let t=e;return t})(),rw=zn,iw=class extends rw{constructor(e,r,n){super(),this._declarationLView=e,this._declarationTContainer=r,this.elementRef=n}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(e,r){return this.createEmbeddedViewImpl(e,r)}createEmbeddedViewImpl(e,r,n){let i=im(this._declarationLView,this._declarationTContainer,e,{embeddedViewInjector:r,dehydratedView:n});return new Gn(i)}};function ow(){return gu(Te(),Q())}function gu(t,e){return t.type&4?new iw(e,t,Pr(t,e)):null}var hO=new RegExp(`^(\\d+)*(${PC}|${kC})*(.*)`);var sw=()=>null;function cc(t,e){return sw(t,e)}var Tr=class{},vu=new T("",{providedIn:"root",factory:()=>!1});var fm=new T(""),hm=new T(""),uc=class{},Cs=class{};function aw(t){let e=Error(`No component factory found for ${ke(t)}.`);return e[lw]=t,e}var lw="ngComponent";var dc=class{resolveComponentFactory(e){throw aw(e)}},Iu=class Iu{};Iu.NULL=new dc;var Ar=Iu,Nr=class{},ct=(()=>{let e=class e{constructor(){this.destroyNode=null}};e.__NG_ELEMENT_ID__=()=>cw();let t=e;return t})();function cw(){let t=Q(),e=Te(),r=Dn(e.index,t);return(pn(r)?r:t)[ve]}var uw=(()=>{let e=class e{};e.\u0275prov=_({token:e,providedIn:"root",factory:()=>null});let t=e;return t})();function Ds(t,e,r){let n=r?t.styles:null,i=r?t.classes:null,o=0;if(e!==null)for(let s=0;s0&&$p(t,r,o.join(" "))}}function vw(t,e,r){let n=t.projection=[];for(let i=0;i{let e=class e{};e.__NG_ELEMENT_ID__=Cw;let t=e;return t})();function Cw(){let t=Te();return mm(t,Q())}var Dw=wn,pm=class extends Dw{constructor(e,r,n){super(),this._lContainer=e,this._hostTNode=r,this._hostLView=n}get element(){return Pr(this._hostTNode,this._hostLView)}get injector(){return new Vn(this._hostTNode,this._hostLView)}get parentInjector(){let e=Zc(this._hostTNode,this._hostLView);if(fp(e)){let r=ds(e,this._hostLView),n=us(e),i=r[j].data[n+8];return new Vn(i,r)}else return new Vn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){let r=oh(this._lContainer);return r!==null&&r[e]||null}get length(){return this._lContainer.length-$e}createEmbeddedView(e,r,n){let i,o;typeof n=="number"?i=n:n!=null&&(i=n.index,o=n.injector);let s=cc(this._lContainer,e.ssrId),a=e.createEmbeddedViewImpl(r||{},o,s);return this.insertImpl(a,i,ac(this._hostTNode,s)),a}createComponent(e,r,n,i,o){let s=e&&!My(e),a;if(s)a=r;else{let b=r||{};a=b.index,n=b.injector,i=b.projectableNodes,o=b.environmentInjector||b.ngModuleRef}let c=s?e:new Rr(gn(e)),f=n||this.parentInjector;if(!o&&c.ngModule==null){let U=(s?f:this.parentInjector).get(Pe,null);U&&(o=U)}let h=gn(c.componentType??{}),m=cc(this._lContainer,h?.id??null),v=m?.firstChild??null,y=c.create(f,i,v,o);return this.insertImpl(y.hostView,a,ac(this._hostTNode,m)),y}insert(e,r){return this.insertImpl(e,r,!0)}insertImpl(e,r,n){let i=e._lView;if(Fy(i)){let a=this.indexOf(e);if(a!==-1)this.detach(a);else{let c=i[Ae],f=new pm(c,c[pt],c[Ae]);f.detach(f.indexOf(e))}}let o=this._adjustIndex(r),s=this._lContainer;return om(s,i,o,n),e.attachToViewContainerRef(),xh(Nl(s),o,e),e}move(e,r){return this.insert(e,r)}indexOf(e){let r=oh(this._lContainer);return r!==null?r.indexOf(e):-1}remove(e){let r=this._adjustIndex(e,-1),n=gs(this._lContainer,r);n&&(is(Nl(this._lContainer),r),ou(n[j],n))}detach(e){let r=this._adjustIndex(e,-1),n=gs(this._lContainer,r);return n&&is(Nl(this._lContainer),r)!=null?new Gn(n):null}_adjustIndex(e,r=0){return e??this.length+r}};function oh(t){return t[ls]}function Nl(t){return t[ls]||(t[ls]=[])}function mm(t,e){let r,n=e[t.index];return qt(n)?r=n:(r=Jp(n,e,null,t),e[t.index]=r,zs(e,r)),bw(r,e,t,n),new pm(r,t,e)}function ww(t,e){let r=t[ve],n=r.createComment(""),i=at(e,t),o=Up(r,i);return vs(r,o,n,sD(r,i),!1),n}var bw=xw,Ew=()=>!1;function _w(t,e,r){return Ew(t,e,r)}function xw(t,e,r,n){if(t[Un])return;let i;r.type&8?i=Mt(n):i=ww(e,r),t[Un]=i}var hc=class t{constructor(e){this.queryList=e,this.matches=null}clone(){return new t(this.queryList)}setDirty(){this.queryList.setDirty()}},pc=class t{constructor(e=[]){this.queries=e}createEmbeddedView(e){let r=e.queries;if(r!==null){let n=e.contentQueries!==null?e.contentQueries[0]:r.length,i=[];for(let o=0;o0)n.push(s[a/2]);else{let f=o[a+1],h=e[-c];for(let m=$e;me.trim())}function kw(t,e,r){t.queries===null&&(t.queries=new gc),t.queries.track(new vc(e,r))}function Pw(t,e){let r=t.contentQueries||(t.contentQueries=[]),n=r.length?r[r.length-1]:-1;e!==n&&r.push(t.queries.length-1,e)}function yu(t,e){return t.queries.getByIndex(e)}function Fw(t,e){let r=t[j],n=yu(r,e);return n.crossesNgTemplate?yc(r,t,e,[]):gm(r,t,n,e)}var sh=new Set;function Qn(t){sh.has(t)||(sh.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}function Lw(t){return typeof t=="function"&&t[Pt]!==void 0}function Si(t,e){Qn("NgSignals");let r=rf(t),n=r[Pt];return e?.equal&&(n.equal=e.equal),r.set=i=>sl(n,i),r.update=i=>of(n,i),r.asReadonly=Vw.bind(r),r}function Vw(){let t=this[Pt];if(t.readonlyFn===void 0){let e=()=>this();e[Pt]=t,t.readonlyFn=e}return t.readonlyFn}function vm(t){return Lw(t)&&typeof t.set=="function"}function jw(t){return Object.getPrototypeOf(t.prototype).constructor}function Fe(t){let e=jw(t.type),r=!0,n=[t];for(;e;){let i;if(vn(t))i=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new N(903,!1);i=e.\u0275dir}if(i){if(r){n.push(i);let s=t;s.inputs=Wo(t.inputs),s.inputTransforms=Wo(t.inputTransforms),s.declaredInputs=Wo(t.declaredInputs),s.outputs=Wo(t.outputs);let a=i.hostBindings;a&&qw(t,a);let c=i.viewQuery,f=i.contentQueries;if(c&&$w(t,c),f&&Hw(t,f),Uw(t,i),Rv(t.outputs,i.outputs),vn(i)&&i.data.animation){let h=t.data;h.animation=(h.animation||[]).concat(i.data.animation)}}let o=i.features;if(o)for(let s=0;s=0;n--){let i=t[n];i.hostVars=e+=i.hostVars,i.hostAttrs=vi(i.hostAttrs,r=vi(r,i.hostAttrs))}}function Wo(t){return t===Er?{}:t===tt?[]:t}function $w(t,e){let r=t.viewQuery;r?t.viewQuery=(n,i)=>{e(n,i),r(n,i)}:t.viewQuery=e}function Hw(t,e){let r=t.contentQueries;r?t.contentQueries=(n,i,o)=>{e(n,i,o),r(n,i,o)}:t.contentQueries=e}function qw(t,e){let r=t.hostBindings;r?t.hostBindings=(n,i)=>{e(n,i),r(n,i)}:t.hostBindings=e}function Cu(t){let e=t.inputConfig,r={};for(let n in e)if(e.hasOwnProperty(n)){let i=e[n];Array.isArray(i)&&i[3]&&(r[n]=i[3])}t.inputTransforms=r}var Cn=class{},Di=class{};var Cc=class extends Cn{constructor(e,r,n,i=!0){super(),this.ngModuleType=e,this._parent=r,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new ws(this);let o=kh(e);this._bootstrapComponents=Pp(o.bootstrap),this._r3Injector=wp(e,r,[{provide:Cn,useValue:this},{provide:Ar,useValue:this.componentFactoryResolver},...n],ke(e),new Set(["environment"])),i&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(r=>r()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}},Dc=class extends Di{constructor(e){super(),this.moduleType=e}create(e){return new Cc(this.moduleType,e,[])}};var bs=class extends Cn{constructor(e){super(),this.componentFactoryResolver=new ws(this),this.instance=null;let r=new yi([...e.providers,{provide:Cn,useValue:this},{provide:Ar,useValue:this.componentFactoryResolver}],e.parent||jc(),e.debugName,new Set(["environment"]));this.injector=r,e.runEnvironmentInitializers&&r.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}};function Ws(t,e,r=null){return new bs({providers:t,parent:e,debugName:r,runEnvironmentInitializers:!0}).injector}function ym(t){return zw(t)?Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t:!1}function Gw(t,e){if(Array.isArray(t))for(let r=0;r{let e=class e{constructor(){this.impl=null}execute(){this.impl?.execute()}};e.\u0275prov=_({token:e,providedIn:"root",factory:()=>new e});let t=e;return t})(),Ln=class Ln{constructor(){this.ngZone=D(oe),this.scheduler=D(Tr),this.errorHandler=D(Ut,{optional:!0}),this.sequences=new Set,this.deferredRegistrations=new Set,this.executing=!1}execute(){this.executing=!0;for(let e of Ln.PHASES)for(let r of this.sequences)if(!(r.erroredOrDestroyed||!r.hooks[e]))try{r.pipelinedValue=this.ngZone.runOutsideAngular(()=>r.hooks[e](r.pipelinedValue))}catch(n){r.erroredOrDestroyed=!0,this.errorHandler?.handleError(n)}this.executing=!1;for(let e of this.sequences)e.afterRun(),e.once&&(this.sequences.delete(e),e.destroy());for(let e of this.deferredRegistrations)this.sequences.add(e);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear()}register(e){this.executing?this.deferredRegistrations.add(e):(this.sequences.add(e),this.scheduler.notify(6))}unregister(e){this.executing&&this.sequences.has(e)?(e.erroredOrDestroyed=!0,e.pipelinedValue=void 0,e.once=!0):(this.sequences.delete(e),this.deferredRegistrations.delete(e))}};Ln.PHASES=[yr.EarlyRead,yr.Write,yr.MixedReadWrite,yr.Read],Ln.\u0275prov=_({token:Ln,providedIn:"root",factory:()=>new Ln});var wc=Ln,bc=class{constructor(e,r,n,i){this.impl=e,this.hooks=r,this.once=n,this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.unregisterOnDestroy=i?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.()}};function wu(t,e){!e?.injector&&Sy(wu);let r=e?.injector??D(ot);return WC(r)?(Qn("NgAfterNextRender"),eb(t,r,e,!0)):tb}function Xw(t,e){if(t instanceof Function){let r=[void 0,void 0,void 0,void 0];return r[e]=t,r}else return[t.earlyRead,t.write,t.mixedReadWrite,t.read]}function eb(t,e,r,n){let i=e.get(Dm);i.impl??=e.get(wc);let o=r?.phase??yr.MixedReadWrite,s=r?.manualCleanup!==!0?e.get(Qc):null,a=new bc(i.impl,Xw(t,o),n,s);return i.impl.register(a),a}var tb={destroy(){}};function Ze(t,e,r,n){let i=Q(),o=_i();if($t(i,o,e)){let s=Ee(),a=Ls();FD(a,i,t,e,r,n)}return Ze}function wm(t,e,r,n){return $t(t,_i(),r)?e+wr(r)+n:lt}function nb(t,e,r,n,i,o){let s=Wy(),a=Cm(t,s,r,i);return rp(2),a?e+wr(r)+n+wr(i)+o:lt}function Zo(t,e){return t<<17|e<<2}function Wn(t){return t>>17&32767}function rb(t){return(t&2)==2}function ib(t,e){return t&131071|e<<17}function Ec(t){return t|2}function Or(t){return(t&131068)>>2}function Rl(t,e){return t&-131069|e<<2}function ob(t){return(t&1)===1}function _c(t){return t|1}function sb(t,e,r,n,i,o){let s=o?e.classBindings:e.styleBindings,a=Wn(s),c=Or(s);t[n]=r;let f=!1,h;if(Array.isArray(r)){let m=r;h=m[1],(h===null||Ei(m,h)>0)&&(f=!0)}else h=r;if(i)if(c!==0){let v=Wn(t[a+1]);t[n+1]=Zo(v,a),v!==0&&(t[v+1]=Rl(t[v+1],n)),t[a+1]=ib(t[a+1],n)}else t[n+1]=Zo(a,0),a!==0&&(t[a+1]=Rl(t[a+1],n)),a=n;else t[n+1]=Zo(c,0),a===0?a=n:t[c+1]=Rl(t[c+1],n),c=n;f&&(t[n+1]=Ec(t[n+1])),ah(t,h,n,!0),ah(t,h,n,!1),ab(e,h,t,n,o),s=Zo(a,c),o?e.classBindings=s:e.styleBindings=s}function ab(t,e,r,n,i){let o=i?t.residualClasses:t.residualStyles;o!=null&&typeof e=="string"&&Ei(o,e)>=0&&(r[n+1]=_c(r[n+1]))}function ah(t,e,r,n){let i=t[r+1],o=e===null,s=n?Wn(i):Or(i),a=!1;for(;s!==0&&(a===!1||o);){let c=t[s],f=t[s+1];lb(c,e)&&(a=!0,t[s+1]=n?_c(f):Ec(f)),s=n?Wn(f):Or(f)}a&&(t[r+1]=n?Ec(i):_c(i))}function lb(t,e){return t===null||e==null||(Array.isArray(t)?t[1]:t)===e?!0:Array.isArray(t)&&typeof e=="string"?Ei(t,e)>=0:!1}function C(t,e,r){let n=Q(),i=_i();if($t(n,i,e)){let o=Ee(),s=Ls();du(o,s,n,t,e,n[ve],r,!1)}return C}function lh(t,e,r,n,i){let o=e.inputs,s=i?"class":"style";hu(t,r,o[s],s,n)}function Zs(t,e){return cb(t,e,null,!0),Zs}function cb(t,e,r,n){let i=Q(),o=Ee(),s=rp(2);if(o.firstUpdatePass&&db(o,t,s,n),e!==lt&&$t(i,s,e)){let a=o.data[Yn()];gb(o,a,i,i[ve],t,i[s+1]=vb(e,r),n,s)}}function ub(t,e){return e>=t.expandoStartIndex}function db(t,e,r,n){let i=t.data;if(i[r+1]===null){let o=i[Yn()],s=ub(t,r);yb(o,n)&&e===null&&!s&&(e=!1),e=fb(i,o,e,n),sb(i,o,e,r,s,n)}}function fb(t,e,r,n){let i=Jy(t),o=n?e.residualClasses:e.residualStyles;if(i===null)(n?e.classBindings:e.styleBindings)===0&&(r=Ol(null,t,e,r,n),r=wi(r,e.attrs,n),o=null);else{let s=e.directiveStylingLast;if(s===-1||t[s]!==i)if(r=Ol(i,t,e,r,n),o===null){let c=hb(t,e,n);c!==void 0&&Array.isArray(c)&&(c=Ol(null,t,e,c[1],n),c=wi(c,e.attrs,n),pb(t,e,n,c))}else o=mb(t,e,n)}return o!==void 0&&(n?e.residualClasses=o:e.residualStyles=o),r}function hb(t,e,r){let n=r?e.classBindings:e.styleBindings;if(Or(n)!==0)return t[Wn(n)]}function pb(t,e,r,n){let i=r?e.classBindings:e.styleBindings;t[Wn(i)]=n}function mb(t,e,r){let n,i=e.directiveEnd;for(let o=1+e.directiveStylingLast;o0;){let c=t[i],f=Array.isArray(c),h=f?c[1]:c,m=h===null,v=r[i+1];v===lt&&(v=m?tt:void 0);let y=m?El(v,n):h===n?v:void 0;if(f&&!Es(y)&&(y=El(c,n)),Es(y)&&(a=y,s))return a;let b=t[i+1];i=s?Wn(b):Or(b)}if(e!==null){let c=o?e.residualClasses:e.residualStyles;c!=null&&(a=El(c,n))}return a}function Es(t){return t!==void 0}function vb(t,e){return t==null||t===""||(typeof e=="string"?t=t+e:typeof t=="object"&&(t=ke(xi(t)))),t}function yb(t,e){return(t.flags&(e?8:16))!==0}function gt(t,e){Qn("NgControlFlow");let r=Q(),n=_i(),i=r[n]!==lt?r[n]:-1,o=i!==-1?uh(r,it+i):void 0,s=0;if($t(r,n,t)){let a=Y(null);try{if(o!==void 0&&qD(o,s),t!==-1){let c=it+t,f=uh(r,c),h=Cb(r[j],c),m=cc(f,h.tView.ssrId),v=im(r,h,e,{dehydratedView:m});om(f,v,s,ac(h,m))}}finally{Y(a)}}else if(o!==void 0){let a=HD(o,s);a!==void 0&&(a[rt]=e)}}function uh(t,e){return t[e]}function Cb(t,e){return Bc(t,e)}function Db(t,e,r,n,i,o){let s=e.consts,a=Mr(s,i),c=Ii(e,t,2,n,a);return fu(e,r,c,Mr(s,o)),c.attrs!==null&&Ds(c,c.attrs,!1),c.mergedAttrs!==null&&Ds(c,c.mergedAttrs,!0),e.queries!==null&&e.queries.elementStart(e,c),c}function u(t,e,r,n){let i=Q(),o=Ee(),s=it+t,a=i[ve],c=o.firstCreatePass?Db(s,o,i,e,r,n):o.data[s],f=wb(o,i,c,a,e,t);i[s]=f;let h=ks(c);return Zn(c,!0),Hp(a,f,c),!Zw(c)&&Vs()&&Hs(o,i,f,c),jy()===0&&yn(f,i),Uy(),h&&(lu(o,i,c),au(o,c,i)),n!==null&&cu(i,c),u}function d(){let t=Te();Hc()?tp():(t=t.parent,Zn(t,!1));let e=t;Hy(e)&&qy(),By();let r=Ee();return r.firstCreatePass&&(Us(r,t),Uc(t)&&r.queries.elementEnd(t)),e.classesWithoutHost!=null&&oC(e)&&lh(r,e,Q(),e.classesWithoutHost,!0),e.stylesWithoutHost!=null&&sC(e)&&lh(r,e,Q(),e.stylesWithoutHost,!1),d}function p(t,e,r,n){return u(t,e,r,n),d(),p}var wb=(t,e,r,n,i,o)=>(js(!0),Fp(n,i,tC()));function bb(t,e,r,n,i){let o=e.consts,s=Mr(o,n),a=Ii(e,t,8,"ng-container",s);s!==null&&Ds(a,s,!0);let c=Mr(o,i);return fu(e,r,a,c),e.queries!==null&&e.queries.elementStart(e,a),a}function Le(t,e,r){let n=Q(),i=Ee(),o=t+it,s=i.firstCreatePass?bb(o,i,n,e,r):i.data[o];Zn(s,!0);let a=Eb(i,n,s,t);return n[o]=a,Vs()&&Hs(i,n,a,s),yn(a,n),ks(s)&&(lu(i,n,s),au(i,s,n)),r!=null&&cu(n,s),Le}function Ve(){let t=Te(),e=Ee();return Hc()?tp():(t=t.parent,Zn(t,!1)),e.firstCreatePass&&(Us(e,t),Uc(t)&&e.queries.elementEnd(t)),Ve}var Eb=(t,e,r,n)=>(js(!0),KC(e[ve],""));function te(){return Q()}var _s="en-US";var _b=_s;function xb(t){typeof t=="string"&&(_b=t.toLowerCase().replace(/_/g,"-"))}var Ib=(t,e,r)=>{};function A(t,e,r,n){let i=Q(),o=Ee(),s=Te();return bm(o,i,i[ve],s,t,e,n),A}function Sb(t,e,r,n){let i=t.cleanup;if(i!=null)for(let o=0;oc?a[c]:null}typeof s=="string"&&(o+=2)}return null}function bm(t,e,r,n,i,o,s){let a=ks(n),f=t.firstCreatePass&&tm(t),h=e[rt],m=em(e),v=!0;if(n.type&3||s){let U=at(n,e),O=s?s(U):U,R=m.length,ue=s?re=>s(Mt(re[n.index])):n.index,me=null;if(!s&&a&&(me=Sb(t,e,i,n.index)),me!==null){let re=me.__ngLastListenerFn__||me;re.__ngNextListenerFn__=o,me.__ngLastListenerFn__=o,v=!1}else{o=fh(n,e,h,o),Ib(U,i,o);let re=r.listen(O,i,o);m.push(o,re),f&&f.push(i,ue,R,R+1)}}else o=fh(n,e,h,o);let y=n.outputs,b;if(v&&y!==null&&(b=y[i])){let U=b.length;if(U)for(let O=0;O-1?Dn(t.index,e):e;mu(s,5);let a=dh(e,r,n,o),c=i.__ngNextListenerFn__;for(;c;)a=dh(e,r,c,o)&&a,c=c.__ngNextListenerFn__;return a}}function w(t=1){return eC(t)}function At(t,e,r,n,i){let o=Q(),s=wm(o,e,r,n);if(s!==lt){let a=Ee(),c=Ls();du(a,c,o,t,s,o[ve],i,!1)}return At}function Em(t,e,r,n){Rw(t,e,r,n)}function _m(t){let e=Q(),r=Ee(),n=ip();Gc(n+1);let i=yu(r,n);if(t.dirty&&Py(e)===((i.metadata.flags&2)===2)){if(i.matches===null)t.reset([]);else{let o=Fw(e,n);t.reset(o,SC),t.notifyOnChanges()}return!0}return!1}function xm(){return Aw(Q(),ip())}function Lr(t){let e=zy();return ky(e,it+t)}function l(t,e=""){let r=Q(),n=Ee(),i=t+it,o=n.firstCreatePass?Ii(n,i,1,e,null):n.data[i],s=Mb(n,r,o,e,t);r[i]=s,Vs()&&Hs(n,r,s,o),Zn(o,!1)}var Mb=(t,e,r,n,i)=>(js(!0),YC(e[ve],n));function pe(t){return je("",t,""),pe}function je(t,e,r){let n=Q(),i=wm(n,t,e,r);return i!==lt&&rm(n,Yn(),i),je}function Mi(t,e,r,n,i){let o=Q(),s=nb(o,t,e,r,n,i);return s!==lt&&rm(o,Yn(),s),Mi}function B(t,e,r){vm(e)&&(e=e());let n=Q(),i=_i();if($t(n,i,e)){let o=Ee(),s=Ls();du(o,s,n,t,e,n[ve],r,!1)}return B}function z(t,e){let r=vm(t);return r&&t.set(e),r}function $(t,e){let r=Q(),n=Ee(),i=Te();return bm(n,r,r[ve],i,t,e),$}function Tb(t,e,r){let n=Ee();if(n.firstCreatePass){let i=vn(t);xc(r,n.data,n.blueprint,i,!0),xc(e,n.data,n.blueprint,i,!1)}}function xc(t,e,r,n,i){if(t=Oe(t),Array.isArray(t))for(let o=0;o>20;if(xr(t)||!t.multi){let y=new Hn(f,i,S),b=Pl(c,e,i?h:h+v,m);b===-1?(Yl(fs(a,s),o,c),kl(o,t,e.length),e.push(c),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),r.push(y),s.push(y)):(r[b]=y,s[b]=y)}else{let y=Pl(c,e,h+v,m),b=Pl(c,e,h,h+v),U=y>=0&&r[y],O=b>=0&&r[b];if(i&&!O||!i&&!U){Yl(fs(a,s),o,c);let R=Rb(i?Nb:Ab,r.length,i,n,f);!i&&O&&(r[b].providerFactory=R),kl(o,t,e.length,0),e.push(c),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),r.push(R),s.push(R)}else{let R=Im(r[i?b:y],f,!i&&n);kl(o,t,y>-1?y:b,R)}!i&&n&&O&&r[b].componentProviders++}}}function kl(t,e,r,n){let i=xr(e),o=Dy(e);if(i||o){let c=(o?Oe(e.useClass):e).prototype.ngOnDestroy;if(c){let f=t.destroyHooks||(t.destroyHooks=[]);if(!i&&e.multi){let h=f.indexOf(r);h===-1?f.push(r,[n,c]):f[h+1].push(n,c)}else f.push(r,c)}}}function Im(t,e,r){return r&&t.componentProviders++,t.multi.push(e)-1}function Pl(t,e,r,n){for(let i=r;i{r.providersResolver=(n,i)=>Tb(n,i?i(t):t,e)}}var Ob=(()=>{let e=class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let i=Lh(!1,n.type),o=i.length>0?Ws([i],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}};e.\u0275prov=_({token:e,providedIn:"environment",factory:()=>new e(M(Pe))});let t=e;return t})();function ce(t){Qn("NgStandalone"),t.getStandaloneInjector=e=>e.get(Ob).getOrCreateStandaloneInjector(t)}function H(t,e,r){let n=qc()+t,i=Q();return i[n]===lt?Du(i,n,r?e.call(r):e()):Ww(i,n)}function Kn(t,e,r,n){return kb(Q(),qc(),t,e,r,n)}function Sm(t,e,r,n,i){return Pb(Q(),qc(),t,e,r,n,i)}function Mm(t,e){let r=t[e];return r===lt?void 0:r}function kb(t,e,r,n,i,o){let s=e+r;return $t(t,s,i)?Du(t,s+1,o?n.call(o,i):n(i)):Mm(t,s+1)}function Pb(t,e,r,n,i,o,s){let a=e+r;return Cm(t,a,i,o)?Du(t,a+2,s?n.call(s,i,o):n(i,o)):Mm(t,a+2)}var Ys=(()=>{let e=class e{log(n){console.log(n)}warn(n){console.warn(n)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"platform"});let t=e;return t})();var bu=new T(""),Ti=new T(""),Qs=(()=>{let e=class e{constructor(n,i,o){this._ngZone=n,this.registry=i,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,Eu||(Fb(o),o.addToWindow(i)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{oe.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;this._callbacks.length!==0;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb()}});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(i=>i.updateCb&&i.updateCb(n)?(clearTimeout(i.timeoutId),!1):!0)}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,i,o){let s=-1;i&&i>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(a=>a.timeoutId!==s),n()},i)),this._callbacks.push({doneCb:n,timeoutId:s,updateCb:o})}whenStable(n,i,o){if(o&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,i,o),this._runCallbacksIfReady()}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,i,o){return[]}};e.\u0275fac=function(i){return new(i||e)(M(oe),M(Ks),M(Ti))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})(),Ks=(()=>{let e=class e{constructor(){this._applications=new Map}registerApplication(n,i){this._applications.set(n,i)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,i=!0){return Eu?.findTestabilityInTree(this,n,i)??null}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"platform"});let t=e;return t})();function Fb(t){Eu=t}var Eu;function Jn(t){return!!t&&typeof t.then=="function"}function Tm(t){return!!t&&typeof t.subscribe=="function"}var Js=new T(""),Am=(()=>{let e=class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,i)=>{this.resolve=n,this.reject=i}),this.appInits=D(Js,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let s=o();if(Jn(s))n.push(s);else if(Tm(s)){let a=new Promise((c,f)=>{s.subscribe({complete:c,error:f})});n.push(a)}}let i=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{i()}).catch(o=>{this.reject(o)}),n.length===0&&i(),this.initialized=!0}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Xs=new T("");function Lb(){nf(()=>{throw new N(600,!1)})}function Vb(t){return t.isBoundToModule}var jb=10;function Ub(t,e,r){try{let n=r();return Jn(n)?n.catch(i=>{throw e.runOutsideAngular(()=>t.handleError(i)),i}):n}catch(n){throw e.runOutsideAngular(()=>t.handleError(n)),n}}var Wt=(()=>{let e=class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=D(xC),this.afterRenderManager=D(Dm),this.zonelessEnabled=D(vu),this.dirtyFlags=0,this.deferredDirtyFlags=0,this.externalTestViews=new Set,this.beforeRender=new we,this.afterTick=new we,this.componentTypes=[],this.components=[],this.isStable=D(zt).hasPendingTasks.pipe(L(n=>!n)),this._injector=D(Pe)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}whenStable(){let n;return new Promise(i=>{n=this.isStable.subscribe({next:o=>{o&&i()}})}).finally(()=>{n.unsubscribe()})}get injector(){return this._injector}bootstrap(n,i){let o=n instanceof Cs;if(!this._injector.get(Am).done){let y=!o&&Oh(n),b=!1;throw new N(405,b)}let a;o?a=n:a=this._injector.get(Ar).resolveComponentFactory(n),this.componentTypes.push(a.componentType);let c=Vb(a)?void 0:this._injector.get(Cn),f=i||a.selector,h=a.create(ot.NULL,[],f,c),m=h.location.nativeElement,v=h.injector.get(bu,null);return v?.registerApplication(m),h.onDestroy(()=>{this.detachView(h.hostView),es(this.components,h),v?.unregisterApplication(m)}),this._loadComponent(h),h}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){if(this._runningTick)throw new N(101,!1);let n=Y(null);try{this._runningTick=!0,this.synchronize()}catch(i){this.internalErrorHandler(i)}finally{this._runningTick=!1,Y(n),this.afterTick.next()}}synchronize(){let n=null;this._injector.destroyed||(n=this._injector.get(Nr,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let i=0;for(;this.dirtyFlags!==0&&i++Ps(n))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(n){let i=n;this._views.push(i),i.attachToAppRef(this)}detachView(n){let i=n;es(this._views,i),i.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);let i=this._injector.get(Xs,[]);[...this._bootstrapListeners,...i].forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>es(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new N(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function es(t,e){let r=t.indexOf(e);r>-1&&t.splice(r,1)}function Bb(t,e,r,n){if(!r&&!Ps(t))return;lm(t,e,r&&!n?0:1)}var Sc=class{constructor(e,r){this.ngModuleFactory=e,this.componentFactories=r}},ea=(()=>{let e=class e{compileModuleSync(n){return new Dc(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let i=this.compileModuleSync(n),o=kh(n),s=Pp(o.declarations).reduce((a,c)=>{let f=gn(c);return f&&a.push(new Rr(f)),a},[]);return new Sc(i,s)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var $b=(()=>{let e=class e{constructor(){this.zone=D(oe),this.changeDetectionScheduler=D(Tr),this.applicationRef=D(Wt)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function Hb({ngZoneFactory:t,ignoreChangesOutsideZone:e,scheduleInRootZone:r}){return t??=()=>new oe(K(E({},qb()),{scheduleInRootZone:r})),[{provide:oe,useFactory:t},{provide:_r,multi:!0,useFactory:()=>{let n=D($b,{optional:!0});return()=>n.initialize()}},{provide:_r,multi:!0,useFactory:()=>{let n=D(Gb);return()=>{n.initialize()}}},e===!0?{provide:fm,useValue:!0}:[],{provide:hm,useValue:r??bp}]}function qb(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}var Gb=(()=>{let e=class e{constructor(){this.subscription=new ye,this.initialized=!1,this.zone=D(oe),this.pendingTasks=D(zt)}initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{oe.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{oe.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var zb=(()=>{let e=class e{constructor(){this.appRef=D(Wt),this.taskService=D(zt),this.ngZone=D(oe),this.zonelessEnabled=D(vu),this.disableScheduling=D(fm,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new ye,this.angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(ps):null,this.scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(D(hm,{optional:!0})??!1),this.cancelScheduledCallback=null,this.useMicrotaskScheduler=!1,this.runningTick=!1,this.pendingRenderTaskId=null,this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof ec||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&n===5)return;switch(n){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 7:{this.appRef.deferredDirtyFlags|=8;break}case 9:case 8:case 6:case 10:default:this.appRef.dirtyFlags|=8}if(!this.shouldScheduleTick())return;let i=this.useMicrotaskScheduler?Yf:Ep;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>i(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>i(()=>this.tick()))}shouldScheduleTick(){return!(this.disableScheduling||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(ps+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(i){throw this.taskService.remove(n),i}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Yf(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function Wb(){return typeof $localize<"u"&&$localize.locale||_s}var _u=new T("",{providedIn:"root",factory:()=>D(_u,W.Optional|W.SkipSelf)||Wb()});var Mc=new T("");function Yo(t){return!t.moduleRef}function Zb(t){let e=Yo(t)?t.r3Injector:t.moduleRef.injector,r=e.get(oe);return r.run(()=>{Yo(t)?t.r3Injector.resolveInjectorInitializers():t.moduleRef.resolveInjectorInitializers();let n=e.get(Ut,null),i;if(r.runOutsideAngular(()=>{i=r.onError.subscribe({next:o=>{n.handleError(o)}})}),Yo(t)){let o=()=>e.destroy(),s=t.platformInjector.get(Mc);s.add(o),e.onDestroy(()=>{i.unsubscribe(),s.delete(o)})}else{let o=()=>t.moduleRef.destroy(),s=t.platformInjector.get(Mc);s.add(o),t.moduleRef.onDestroy(()=>{es(t.allPlatformModules,t.moduleRef),i.unsubscribe(),s.delete(o)})}return Ub(n,r,()=>{let o=e.get(Am);return o.runInitializers(),o.donePromise.then(()=>{let s=e.get(_u,_s);if(xb(s||_s),Yo(t)){let a=e.get(Wt);return t.rootComponent!==void 0&&a.bootstrap(t.rootComponent),a}else return Yb(t.moduleRef,t.allPlatformModules),t.moduleRef})})})}function Yb(t,e){let r=t.injector.get(Wt);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(n=>r.bootstrap(n));else if(t.instance.ngDoBootstrap)t.instance.ngDoBootstrap(r);else throw new N(-403,!1);e.push(t)}var ts=null;function Qb(t=[],e){return ot.create({name:e,providers:[{provide:Ns,useValue:"platform"},{provide:Mc,useValue:new Set([()=>ts=null])},...t]})}function Kb(t=[]){if(ts)return ts;let e=Qb(t);return ts=e,Lb(),Jb(e),e}function Jb(t){t.get(Xc,null)?.forEach(r=>r())}var bn=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=Xb;let t=e;return t})();function Xb(t){return eE(Te(),Q(),(t&16)===16)}function eE(t,e,r){if(Os(t)&&!r){let n=Dn(t.index,e);return new Gn(n,n)}else if(t.type&175){let n=e[St];return new Gn(n,e)}return null}var Tc=class{constructor(){}supports(e){return ym(e)}create(e){return new Ac(e)}},tE=(t,e)=>e,Ac=class{constructor(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||tE}forEachItem(e){let r;for(r=this._itHead;r!==null;r=r._next)e(r)}forEachOperation(e){let r=this._itHead,n=this._removalsHead,i=0,o=null;for(;r||n;){let s=!n||r&&r.currentIndex{s=this._trackByFn(i,a),r===null||!Object.is(r.trackById,s)?(r=this._mismatch(r,a,s,i),n=!0):(n&&(r=this._verifyReinsertion(r,a,s,i)),Object.is(r.item,a)||this._addIdentityChange(r,a)),r=r._next,i++}),this.length=i;return this._truncate(r),this.collection=e,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let e;for(e=this._previousItHead=this._itHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;e!==null;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;e!==null;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,r,n,i){let o;return e===null?o=this._itTail:(o=e._prev,this._remove(e)),e=this._unlinkedRecords===null?null:this._unlinkedRecords.get(n,null),e!==null?(Object.is(e.item,r)||this._addIdentityChange(e,r),this._reinsertAfter(e,o,i)):(e=this._linkedRecords===null?null:this._linkedRecords.get(n,i),e!==null?(Object.is(e.item,r)||this._addIdentityChange(e,r),this._moveAfter(e,o,i)):e=this._addAfter(new Nc(r,n),o,i)),e}_verifyReinsertion(e,r,n,i){let o=this._unlinkedRecords===null?null:this._unlinkedRecords.get(n,null);return o!==null?e=this._reinsertAfter(o,e._prev,i):e.currentIndex!=i&&(e.currentIndex=i,this._addToMoves(e,i)),e}_truncate(e){for(;e!==null;){let r=e._next;this._addToRemovals(this._unlink(e)),e=r}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(e,r,n){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(e);let i=e._prevRemoved,o=e._nextRemoved;return i===null?this._removalsHead=o:i._nextRemoved=o,o===null?this._removalsTail=i:o._prevRemoved=i,this._insertAfter(e,r,n),this._addToMoves(e,n),e}_moveAfter(e,r,n){return this._unlink(e),this._insertAfter(e,r,n),this._addToMoves(e,n),e}_addAfter(e,r,n){return this._insertAfter(e,r,n),this._additionsTail===null?this._additionsTail=this._additionsHead=e:this._additionsTail=this._additionsTail._nextAdded=e,e}_insertAfter(e,r,n){let i=r===null?this._itHead:r._next;return e._next=i,e._prev=r,i===null?this._itTail=e:i._prev=e,r===null?this._itHead=e:r._next=e,this._linkedRecords===null&&(this._linkedRecords=new xs),this._linkedRecords.put(e),e.currentIndex=n,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){this._linkedRecords!==null&&this._linkedRecords.remove(e);let r=e._prev,n=e._next;return r===null?this._itHead=n:r._next=n,n===null?this._itTail=r:n._prev=r,e}_addToMoves(e,r){return e.previousIndex===r||(this._movesTail===null?this._movesTail=this._movesHead=e:this._movesTail=this._movesTail._nextMoved=e),e}_addToRemovals(e){return this._unlinkedRecords===null&&(this._unlinkedRecords=new xs),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,r){return e.item=r,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=e:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=e,e}},Nc=class{constructor(e,r){this.item=e,this.trackById=r,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}},Rc=class{constructor(){this._head=null,this._tail=null}add(e){this._head===null?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,r){let n;for(n=this._head;n!==null;n=n._nextDup)if((r===null||r<=n.currentIndex)&&Object.is(n.trackById,e))return n;return null}remove(e){let r=e._prevDup,n=e._nextDup;return r===null?this._head=n:r._nextDup=n,n===null?this._tail=r:n._prevDup=r,this._head===null}},xs=class{constructor(){this.map=new Map}put(e){let r=e.trackById,n=this.map.get(r);n||(n=new Rc,this.map.set(r,n)),n.add(e)}get(e,r){let n=e,i=this.map.get(n);return i?i.get(e,r):null}remove(e){let r=e.trackById;return this.map.get(r).remove(e)&&this.map.delete(r),e}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function hh(t,e,r){let n=t.previousIndex;if(n===null)return n;let i=0;return r&&n{let e=class e{constructor(n){this.factories=n}static create(n,i){if(i!=null){let o=i.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:i=>e.create(n,i||ph()),deps:[[e,new kc,new Ts]]}}find(n){let i=this.factories.find(o=>o.supports(n));if(i!=null)return i;throw new N(901,!1)}};e.\u0275prov=_({token:e,providedIn:"root",factory:ph});let t=e;return t})();var Nm=(()=>{let e=class e{constructor(n){}};e.\u0275fac=function(i){return new(i||e)(M(Wt))},e.\u0275mod=We({type:e}),e.\u0275inj=ze({});let t=e;return t})();function Rm(t){try{let{rootComponent:e,appProviders:r,platformProviders:n}=t,i=Kb(n),o=[Hb({}),{provide:Tr,useExisting:zb},...r||[]],s=new bs({providers:o,parent:i,debugName:"",runEnvironmentInitializers:!1});return Zb({r3Injector:s.injector,platformInjector:i,rootComponent:e})}catch(e){return Promise.reject(e)}}function Zt(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function Ai(t,e){Qn("NgSignals");let r=Xd(t);return e?.equal&&(r[Pt].equal=e.equal),r}function Yt(t){let e=Y(null);try{return t()}finally{Y(e)}}function Om(t){let e=gn(t);if(!e)return null;let r=new Rr(e);return{get selector(){return r.selector},get type(){return r.componentType},get inputs(){return r.inputs},get outputs(){return r.outputs},get ngContentSelectors(){return r.ngContentSelectors},get isStandalone(){return e.standalone},get isSignal(){return e.signals}}}var ee={production:!0,apiBaseUrl:"https://www.palmmedia.de/api/",loginUrl:"https://github.com/login/oauth/authorize",clientId:"ecab9484932b59a12fd4",redirectUri:"/pro",scope:null,paddleEnvironment:null,paddleVendorId:144162,paddleIndividualLicense:762579,paddleTeamLicense:762580,paddleEnterpriseLicense:762581,paddleIndividualLifetimeLicense:833943,paddleTeamLifetimeLicense:833944,paddleEnterpriseLifetimeLicense:833945};var jm=null;function Nt(){return jm}function Um(t){jm??=t}var ta=class{};var xe=new T(""),Ou=(()=>{let e=class e{historyGo(n){throw new Error("")}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:()=>D(rE),providedIn:"platform"});let t=e;return t})(),Bm=new T(""),rE=(()=>{let e=class e extends Ou{constructor(){super(),this._doc=D(xe),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Nt().getBaseHref(this._doc)}onPopState(n){let i=Nt().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",n,!1),()=>i.removeEventListener("popstate",n)}onHashChange(n){let i=Nt().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",n,!1),()=>i.removeEventListener("hashchange",n)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(n){this._location.pathname=n}pushState(n,i,o){this._history.pushState(n,i,o)}replaceState(n,i,o){this._history.replaceState(n,i,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:()=>new e,providedIn:"platform"});let t=e;return t})();function ku(t,e){if(t.length==0)return e;if(e.length==0)return t;let r=0;return t.endsWith("/")&&r++,e.startsWith("/")&&r++,r==2?t+e.substring(1):r==1?t+e:t+"/"+e}function km(t){let e=t.match(/#|\?|$/),r=e&&e.index||t.length,n=r-(t[r-1]==="/"?1:0);return t.slice(0,n)+t.slice(r)}function Qt(t){return t&&t[0]!=="?"?"?"+t:t}var Kt=(()=>{let e=class e{historyGo(n){throw new Error("")}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:()=>D(Pu),providedIn:"root"});let t=e;return t})(),$m=new T(""),Pu=(()=>{let e=class e extends Kt{constructor(n,i){super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??D(xe).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return ku(this._baseHref,n)}path(n=!1){let i=this._platformLocation.pathname+Qt(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${i}${o}`:i}pushState(n,i,o,s){let a=this.prepareExternalUrl(o+Qt(s));this._platformLocation.pushState(n,i,a)}replaceState(n,i,o,s){let a=this.prepareExternalUrl(o+Qt(s));this._platformLocation.replaceState(n,i,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}};e.\u0275fac=function(i){return new(i||e)(M(Ou),M($m,8))},e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Hm=(()=>{let e=class e extends Kt{constructor(n,i){super(),this._platformLocation=n,this._baseHref="",this._removeListenerFns=[],i!=null&&(this._baseHref=i)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}path(n=!1){let i=this._platformLocation.hash??"#";return i.length>0?i.substring(1):i}prepareExternalUrl(n){let i=ku(this._baseHref,n);return i.length>0?"#"+i:i}pushState(n,i,o,s){let a=this.prepareExternalUrl(o+Qt(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.pushState(n,i,a)}replaceState(n,i,o,s){let a=this.prepareExternalUrl(o+Qt(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.replaceState(n,i,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}};e.\u0275fac=function(i){return new(i||e)(M(Ou),M($m,8))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})(),jr=(()=>{let e=class e{constructor(n){this._subject=new he,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=n;let i=this._locationStrategy.getBaseHref();this._basePath=sE(km(Pm(i))),this._locationStrategy.onPopState(o=>{this._subject.emit({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,i=""){return this.path()==this.normalize(n+Qt(i))}normalize(n){return e.stripTrailingSlash(oE(this._basePath,Pm(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,i="",o=null){this._locationStrategy.pushState(o,"",n,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Qt(i)),o)}replaceState(n,i="",o=null){this._locationStrategy.replaceState(o,"",n,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Qt(i)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription??=this.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state)}),()=>{let i=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(i,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",i){this._urlChangeListeners.forEach(o=>o(n,i))}subscribe(n,i,o){return this._subject.subscribe({next:n,error:i,complete:o})}};e.normalizeQueryParams=Qt,e.joinWithSlash=ku,e.stripTrailingSlash=km,e.\u0275fac=function(i){return new(i||e)(M(Kt))},e.\u0275prov=_({token:e,factory:()=>iE(),providedIn:"root"});let t=e;return t})();function iE(){return new jr(M(Kt))}function oE(t,e){if(!t||!e.startsWith(t))return e;let r=e.substring(t.length);return r===""||["/",";","?","#"].includes(r[0])?r:e}function Pm(t){return t.replace(/\/index.html$/,"")}function sE(t){if(new RegExp("^(https?:)?//").test(t)){let[,r]=t.split(/\/\/[^\/]+/);return r}return t}function na(t,e){e=encodeURIComponent(e);for(let r of t.split(";")){let n=r.indexOf("="),[i,o]=n==-1?[r,""]:[r.slice(0,n),r.slice(n+1)];if(i.trim()===e)return decodeURIComponent(o)}return null}var Su=/\s+/,Fm=[],Ur=(()=>{let e=class e{constructor(n,i){this._ngEl=n,this._renderer=i,this.initialClasses=Fm,this.stateMap=new Map}set klass(n){this.initialClasses=n!=null?n.trim().split(Su):Fm}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(Su):n}ngDoCheck(){for(let i of this.initialClasses)this._updateState(i,!0);let n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(let i of n)this._updateState(i,!0);else if(n!=null)for(let i of Object.keys(n))this._updateState(i,!!n[i]);this._applyStateDiff()}_updateState(n,i){let o=this.stateMap.get(n);o!==void 0?(o.enabled!==i&&(o.changed=!0,o.enabled=i),o.touched=!0):this.stateMap.set(n,{enabled:i,changed:!0,touched:!0})}_applyStateDiff(){for(let n of this.stateMap){let i=n[0],o=n[1];o.changed?(this._toggleClass(i,o.enabled),o.changed=!1):o.touched||(o.enabled&&this._toggleClass(i,!1),this.stateMap.delete(i)),o.touched=!1}}_toggleClass(n,i){n=n.trim(),n.length>0&&n.split(Su).forEach(o=>{i?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}};e.\u0275fac=function(i){return new(i||e)(S(_e),S(ct))},e.\u0275dir=ie({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"},standalone:!0});let t=e;return t})();var Mu=class{constructor(e,r,n,i){this.$implicit=e,this.ngForOf=r,this.index=n,this.count=i}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},ra=(()=>{let e=class e{set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}constructor(n,i,o){this._viewContainer=n,this._template=i,this._differs=o,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let n=this._ngForOf;if(!this._differ&&n)if(0)try{}catch{}else this._differ=this._differs.find(n).create(this.ngForTrackBy)}if(this._differ){let n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){let i=this._viewContainer;n.forEachOperation((o,s,a)=>{if(o.previousIndex==null)i.createEmbeddedView(this._template,new Mu(o.item,this._ngForOf,-1,-1),a===null?void 0:a);else if(a==null)i.remove(s===null?void 0:s);else if(s!==null){let c=i.get(s);i.move(c,a),Lm(c,o)}});for(let o=0,s=i.length;o{let s=i.get(o.currentIndex);Lm(s,o)})}static ngTemplateContextGuard(n,i){return!0}};e.\u0275fac=function(i){return new(i||e)(S(wn),S(zn),S(xu))},e.\u0275dir=ie({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0});let t=e;return t})();function Lm(t,e){t.context.$implicit=e.item}var Br=(()=>{let e=class e{constructor(n,i){this._viewContainer=n,this._context=new Tu,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=i}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){Vm("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){Vm("ngIfElse",n),this._elseTemplateRef=n,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(n,i){return!0}};e.\u0275fac=function(i){return new(i||e)(S(wn),S(zn))},e.\u0275dir=ie({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0});let t=e;return t})(),Tu=class{constructor(){this.$implicit=null,this.ngIf=null}};function Vm(t,e){if(!!!(!e||e.createEmbeddedView))throw new Error(`${t} must be a TemplateRef, but received '${ke(e)}'.`)}var qm=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=We({type:e}),e.\u0275inj=ze({});let t=e;return t})(),Fu="browser",aE="server";function lE(t){return t===Fu}function ia(t){return t===aE}var Gm=(()=>{let e=class e{};e.\u0275prov=_({token:e,providedIn:"root",factory:()=>lE(D(Tt))?new Au(D(xe),window):new Nu});let t=e;return t})(),Au=class{constructor(e,r){this.document=e,this.window=r,this.offset=()=>[0,0]}setOffset(e){Array.isArray(e)?this.offset=()=>e:this.offset=e}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(e){this.window.scrollTo(e[0],e[1])}scrollToAnchor(e){let r=cE(this.document,e);r&&(this.scrollToElement(r),r.focus())}setHistoryScrollRestoration(e){this.window.history.scrollRestoration=e}scrollToElement(e){let r=e.getBoundingClientRect(),n=r.left+this.window.pageXOffset,i=r.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(n-o[0],i-o[1])}};function cE(t,e){let r=t.getElementById(e)||t.getElementsByName(e)[0];if(r)return r;if(typeof t.createTreeWalker=="function"&&t.body&&typeof t.body.attachShadow=="function"){let n=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT),i=n.currentNode;for(;i;){let o=i.shadowRoot;if(o){let s=o.getElementById(e)||o.querySelector(`[name="${e}"]`);if(s)return s}i=n.nextNode()}}return null}var Nu=class{setOffset(e){}getScrollPosition(){return[0,0]}scrollToPosition(e){}scrollToAnchor(e){}setHistoryScrollRestoration(e){}},Vr=class{};var Ri=class{},sa=class{},Jt=class t{constructor(e){this.normalizedNames=new Map,this.lazyUpdate=null,e?typeof e=="string"?this.lazyInit=()=>{this.headers=new Map,e.split(` -`).forEach(r=>{let n=r.indexOf(":");if(n>0){let i=r.slice(0,n),o=i.toLowerCase(),s=r.slice(n+1).trim();this.maybeSetNormalizedName(i,o),this.headers.has(o)?this.headers.get(o).push(s):this.headers.set(o,[s])}})}:typeof Headers<"u"&&e instanceof Headers?(this.headers=new Map,e.forEach((r,n)=>{this.setHeaderEntries(n,r)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(e).forEach(([r,n])=>{this.setHeaderEntries(r,n)})}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();let r=this.headers.get(e.toLowerCase());return r&&r.length>0?r[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,r){return this.clone({name:e,value:r,op:"a"})}set(e,r){return this.clone({name:e,value:r,op:"s"})}delete(e,r){return this.clone({name:e,value:r,op:"d"})}maybeSetNormalizedName(e,r){this.normalizedNames.has(r)||this.normalizedNames.set(r,e)}init(){this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(e=>this.applyUpdate(e)),this.lazyUpdate=null))}copyFrom(e){e.init(),Array.from(e.headers.keys()).forEach(r=>{this.headers.set(r,e.headers.get(r)),this.normalizedNames.set(r,e.normalizedNames.get(r))})}clone(e){let r=new t;return r.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,r.lazyUpdate=(this.lazyUpdate||[]).concat([e]),r}applyUpdate(e){let r=e.name.toLowerCase();switch(e.op){case"a":case"s":let n=e.value;if(typeof n=="string"&&(n=[n]),n.length===0)return;this.maybeSetNormalizedName(e.name,r);let i=(e.op==="a"?this.headers.get(r):void 0)||[];i.push(...n),this.headers.set(r,i);break;case"d":let o=e.value;if(!o)this.headers.delete(r),this.normalizedNames.delete(r);else{let s=this.headers.get(r);if(!s)return;s=s.filter(a=>o.indexOf(a)===-1),s.length===0?(this.headers.delete(r),this.normalizedNames.delete(r)):this.headers.set(r,s)}break}}setHeaderEntries(e,r){let n=(Array.isArray(r)?r:[r]).map(o=>o.toString()),i=e.toLowerCase();this.headers.set(i,n),this.maybeSetNormalizedName(e,i)}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(r=>e(this.normalizedNames.get(r),this.headers.get(r)))}};var Vu=class{encodeKey(e){return Wm(e)}encodeValue(e){return Wm(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}};function uE(t,e){let r=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(i=>{let o=i.indexOf("="),[s,a]=o==-1?[e.decodeKey(i),""]:[e.decodeKey(i.slice(0,o)),e.decodeValue(i.slice(o+1))],c=r.get(s)||[];c.push(a),r.set(s,c)}),r}var dE=/%(\d[a-f0-9])/gi,fE={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Wm(t){return encodeURIComponent(t).replace(dE,(e,r)=>fE[r]??e)}function oa(t){return`${t}`}var _n=class t{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new Vu,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=uE(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(r=>{let n=e.fromObject[r],i=Array.isArray(n)?n.map(oa):[oa(n)];this.map.set(r,i)})):this.map=null}has(e){return this.init(),this.map.has(e)}get(e){this.init();let r=this.map.get(e);return r?r[0]:null}getAll(e){return this.init(),this.map.get(e)||null}keys(){return this.init(),Array.from(this.map.keys())}append(e,r){return this.clone({param:e,value:r,op:"a"})}appendAll(e){let r=[];return Object.keys(e).forEach(n=>{let i=e[n];Array.isArray(i)?i.forEach(o=>{r.push({param:n,value:o,op:"a"})}):r.push({param:n,value:i,op:"a"})}),this.clone(r)}set(e,r){return this.clone({param:e,value:r,op:"s"})}delete(e,r){return this.clone({param:e,value:r,op:"d"})}toString(){return this.init(),this.keys().map(e=>{let r=this.encoder.encodeKey(e);return this.map.get(e).map(n=>r+"="+this.encoder.encodeValue(n)).join("&")}).filter(e=>e!=="").join("&")}clone(e){let r=new t({encoder:this.encoder});return r.cloneFrom=this.cloneFrom||this,r.updates=(this.updates||[]).concat(e),r}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(e=>this.map.set(e,this.cloneFrom.map.get(e))),this.updates.forEach(e=>{switch(e.op){case"a":case"s":let r=(e.op==="a"?this.map.get(e.param):void 0)||[];r.push(oa(e.value)),this.map.set(e.param,r);break;case"d":if(e.value!==void 0){let n=this.map.get(e.param)||[],i=n.indexOf(oa(e.value));i!==-1&&n.splice(i,1),n.length>0?this.map.set(e.param,n):this.map.delete(e.param)}else{this.map.delete(e.param);break}}}),this.cloneFrom=this.updates=null)}};var ju=class{constructor(){this.map=new Map}set(e,r){return this.map.set(e,r),this}get(e){return this.map.has(e)||this.map.set(e,e.defaultValue()),this.map.get(e)}delete(e){return this.map.delete(e),this}has(e){return this.map.has(e)}keys(){return this.map.keys()}};function hE(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function Zm(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function Ym(t){return typeof Blob<"u"&&t instanceof Blob}function Qm(t){return typeof FormData<"u"&&t instanceof FormData}function pE(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}var Ni=class t{constructor(e,r,n,i){this.url=r,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase();let o;if(hE(this.method)||i?(this.body=n!==void 0?n:null,o=i):o=n,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),this.transferCache=o.transferCache),this.headers??=new Jt,this.context??=new ju,!this.params)this.params=new _n,this.urlWithParams=r;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=r;else{let a=r.indexOf("?"),c=a===-1?"?":av.set(y,e.setHeaders[y]),f)),e.setParams&&(h=Object.keys(e.setParams).reduce((v,y)=>v.set(y,e.setParams[y]),h)),new t(r,n,s,{params:h,headers:f,context:m,reportProgress:c,responseType:i,withCredentials:a,transferCache:o})}},xn=function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t}(xn||{}),Oi=class{constructor(e,r=200,n="OK"){this.headers=e.headers||new Jt,this.status=e.status!==void 0?e.status:r,this.statusText=e.statusText||n,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}},aa=class t extends Oi{constructor(e={}){super(e),this.type=xn.ResponseHeader}clone(e={}){return new t({headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},ki=class t extends Oi{constructor(e={}){super(e),this.type=xn.Response,this.body=e.body!==void 0?e.body:null}clone(e={}){return new t({body:e.body!==void 0?e.body:this.body,headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},En=class extends Oi{constructor(e){super(e,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${e.url||"(unknown url)"}`:this.message=`Http failure response for ${e.url||"(unknown url)"}: ${e.status} ${e.statusText}`,this.error=e.error||null}},tg=200,mE=204;function Lu(t,e){return{body:e,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials,transferCache:t.transferCache}}var Pi=(()=>{let e=class e{constructor(n){this.handler=n}request(n,i,o={}){let s;if(n instanceof Ni)s=n;else{let f;o.headers instanceof Jt?f=o.headers:f=new Jt(o.headers);let h;o.params&&(o.params instanceof _n?h=o.params:h=new _n({fromObject:o.params})),s=new Ni(n,i,o.body!==void 0?o.body:null,{headers:f,context:o.context,params:h,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache})}let a=k(s).pipe(Lt(f=>this.handler.handle(f)));if(n instanceof Ni||o.observe==="events")return a;let c=a.pipe(Me(f=>f instanceof ki));switch(o.observe||"body"){case"body":switch(s.responseType){case"arraybuffer":return c.pipe(L(f=>{if(f.body!==null&&!(f.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return f.body}));case"blob":return c.pipe(L(f=>{if(f.body!==null&&!(f.body instanceof Blob))throw new Error("Response is not a Blob.");return f.body}));case"text":return c.pipe(L(f=>{if(f.body!==null&&typeof f.body!="string")throw new Error("Response is not a string.");return f.body}));case"json":default:return c.pipe(L(f=>f.body))}case"response":return c;default:throw new Error(`Unreachable: unhandled observe type ${o.observe}}`)}}delete(n,i={}){return this.request("DELETE",n,i)}get(n,i={}){return this.request("GET",n,i)}head(n,i={}){return this.request("HEAD",n,i)}jsonp(n,i){return this.request("JSONP",n,{params:new _n().append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,i={}){return this.request("OPTIONS",n,i)}patch(n,i,o={}){return this.request("PATCH",n,Lu(o,i))}post(n,i,o={}){return this.request("POST",n,Lu(o,i))}put(n,i,o={}){return this.request("PUT",n,Lu(o,i))}};e.\u0275fac=function(i){return new(i||e)(M(Ri))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})(),gE=/^\)\]\}',?\n/,vE="X-Request-URL";function Km(t){if(t.url)return t.url;let e=vE.toLocaleLowerCase();return t.headers.get(e)}var yE=(()=>{let e=class e{constructor(){this.fetchImpl=D(Uu,{optional:!0})?.fetch??((...n)=>globalThis.fetch(...n)),this.ngZone=D(oe)}handle(n){return new J(i=>{let o=new AbortController;return this.doRequest(n,o.signal,i).then(Bu,s=>i.error(new En({error:s}))),()=>o.abort()})}doRequest(n,i,o){return mo(this,null,function*(){let s=this.createRequestInit(n),a;try{let b=this.ngZone.runOutsideAngular(()=>this.fetchImpl(n.urlWithParams,E({signal:i},s)));CE(b),o.next({type:xn.Sent}),a=yield b}catch(b){o.error(new En({error:b,status:b.status??0,statusText:b.statusText,url:n.urlWithParams,headers:b.headers}));return}let c=new Jt(a.headers),f=a.statusText,h=Km(a)??n.urlWithParams,m=a.status,v=null;if(n.reportProgress&&o.next(new aa({headers:c,status:m,statusText:f,url:h})),a.body){let b=a.headers.get("content-length"),U=[],O=a.body.getReader(),R=0,ue,me,re=typeof Zone<"u"&&Zone.current;yield this.ngZone.runOutsideAngular(()=>mo(this,null,function*(){for(;;){let{done:ge,value:Xe}=yield O.read();if(ge)break;if(U.push(Xe),R+=Xe.length,n.reportProgress){me=n.responseType==="text"?(me??"")+(ue??=new TextDecoder).decode(Xe,{stream:!0}):void 0;let ir=()=>o.next({type:xn.DownloadProgress,total:b?+b:void 0,loaded:R,partialText:me});re?re.run(ir):ir()}}}));let Je=this.concatChunks(U,R);try{let ge=a.headers.get("Content-Type")??"";v=this.parseBody(n,Je,ge)}catch(ge){o.error(new En({error:ge,headers:new Jt(a.headers),status:a.status,statusText:a.statusText,url:Km(a)??n.urlWithParams}));return}}m===0&&(m=v?tg:0),m>=200&&m<300?(o.next(new ki({body:v,headers:c,status:m,statusText:f,url:h})),o.complete()):o.error(new En({error:v,headers:c,status:m,statusText:f,url:h}))})}parseBody(n,i,o){switch(n.responseType){case"json":let s=new TextDecoder().decode(i).replace(gE,"");return s===""?null:JSON.parse(s);case"text":return new TextDecoder().decode(i);case"blob":return new Blob([i],{type:o});case"arraybuffer":return i.buffer}}createRequestInit(n){let i={},o=n.withCredentials?"include":void 0;if(n.headers.forEach((s,a)=>i[s]=a.join(",")),n.headers.has("Accept")||(i.Accept="application/json, text/plain, */*"),!n.headers.has("Content-Type")){let s=n.detectContentTypeHeader();s!==null&&(i["Content-Type"]=s)}return{body:n.serializeBody(),method:n.method,headers:i,credentials:o}}concatChunks(n,i){let o=new Uint8Array(i),s=0;for(let a of n)o.set(a,s),s+=a.length;return o}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})(),Uu=class{};function Bu(){}function CE(t){t.then(Bu,Bu)}function ng(t,e){return e(t)}function DE(t,e){return(r,n)=>e.intercept(r,{handle:i=>t(i,n)})}function wE(t,e,r){return(n,i)=>st(r,()=>e(n,o=>t(o,i)))}var bE=new T(""),$u=new T(""),EE=new T(""),rg=new T("",{providedIn:"root",factory:()=>!0});function _E(){let t=null;return(e,r)=>{t===null&&(t=(D(bE,{optional:!0})??[]).reduceRight(DE,ng));let n=D(zt);if(D(rg)){let o=n.add();return t(e,r).pipe(dn(()=>n.remove(o)))}else return t(e,r)}}var Jm=(()=>{let e=class e extends Ri{constructor(n,i){super(),this.backend=n,this.injector=i,this.chain=null,this.pendingTasks=D(zt),this.contributeToStability=D(rg)}handle(n){if(this.chain===null){let i=Array.from(new Set([...this.injector.get($u),...this.injector.get(EE,[])]));this.chain=i.reduceRight((o,s)=>wE(o,s,this.injector),ng)}if(this.contributeToStability){let i=this.pendingTasks.add();return this.chain(n,o=>this.backend.handle(o)).pipe(dn(()=>this.pendingTasks.remove(i)))}else return this.chain(n,i=>this.backend.handle(i))}};e.\u0275fac=function(i){return new(i||e)(M(sa),M(Pe))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})();var xE=/^\)\]\}',?\n/;function IE(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}var Xm=(()=>{let e=class e{constructor(n){this.xhrFactory=n}handle(n){if(n.method==="JSONP")throw new N(-2800,!1);let i=this.xhrFactory;return(i.\u0275loadImpl?ae(i.\u0275loadImpl()):k(null)).pipe(Be(()=>new J(s=>{let a=i.build();if(a.open(n.method,n.urlWithParams),n.withCredentials&&(a.withCredentials=!0),n.headers.forEach((O,R)=>a.setRequestHeader(O,R.join(","))),n.headers.has("Accept")||a.setRequestHeader("Accept","application/json, text/plain, */*"),!n.headers.has("Content-Type")){let O=n.detectContentTypeHeader();O!==null&&a.setRequestHeader("Content-Type",O)}if(n.responseType){let O=n.responseType.toLowerCase();a.responseType=O!=="json"?O:"text"}let c=n.serializeBody(),f=null,h=()=>{if(f!==null)return f;let O=a.statusText||"OK",R=new Jt(a.getAllResponseHeaders()),ue=IE(a)||n.url;return f=new aa({headers:R,status:a.status,statusText:O,url:ue}),f},m=()=>{let{headers:O,status:R,statusText:ue,url:me}=h(),re=null;R!==mE&&(re=typeof a.response>"u"?a.responseText:a.response),R===0&&(R=re?tg:0);let Je=R>=200&&R<300;if(n.responseType==="json"&&typeof re=="string"){let ge=re;re=re.replace(xE,"");try{re=re!==""?JSON.parse(re):null}catch(Xe){re=ge,Je&&(Je=!1,re={error:Xe,text:re})}}Je?(s.next(new ki({body:re,headers:O,status:R,statusText:ue,url:me||void 0})),s.complete()):s.error(new En({error:re,headers:O,status:R,statusText:ue,url:me||void 0}))},v=O=>{let{url:R}=h(),ue=new En({error:O,status:a.status||0,statusText:a.statusText||"Unknown Error",url:R||void 0});s.error(ue)},y=!1,b=O=>{y||(s.next(h()),y=!0);let R={type:xn.DownloadProgress,loaded:O.loaded};O.lengthComputable&&(R.total=O.total),n.responseType==="text"&&a.responseText&&(R.partialText=a.responseText),s.next(R)},U=O=>{let R={type:xn.UploadProgress,loaded:O.loaded};O.lengthComputable&&(R.total=O.total),s.next(R)};return a.addEventListener("load",m),a.addEventListener("error",v),a.addEventListener("timeout",v),a.addEventListener("abort",v),n.reportProgress&&(a.addEventListener("progress",b),c!==null&&a.upload&&a.upload.addEventListener("progress",U)),a.send(c),s.next({type:xn.Sent}),()=>{a.removeEventListener("error",v),a.removeEventListener("abort",v),a.removeEventListener("load",m),a.removeEventListener("timeout",v),n.reportProgress&&(a.removeEventListener("progress",b),c!==null&&a.upload&&a.upload.removeEventListener("progress",U)),a.readyState!==a.DONE&&a.abort()}})))}};e.\u0275fac=function(i){return new(i||e)(M(Vr))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})(),ig=new T(""),SE="XSRF-TOKEN",ME=new T("",{providedIn:"root",factory:()=>SE}),TE="X-XSRF-TOKEN",AE=new T("",{providedIn:"root",factory:()=>TE}),la=class{},NE=(()=>{let e=class e{constructor(n,i,o){this.doc=n,this.platform=i,this.cookieName=o,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if(this.platform==="server")return null;let n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=na(n,this.cookieName),this.lastCookieString=n),this.lastToken}};e.\u0275fac=function(i){return new(i||e)(M(xe),M(Tt),M(ME))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})();function RE(t,e){let r=t.url.toLowerCase();if(!D(ig)||t.method==="GET"||t.method==="HEAD"||r.startsWith("http://")||r.startsWith("https://"))return e(t);let n=D(la).getToken(),i=D(AE);return n!=null&&!t.headers.has(i)&&(t=t.clone({headers:t.headers.set(i,n)})),e(t)}var og=function(t){return t[t.Interceptors=0]="Interceptors",t[t.LegacyInterceptors=1]="LegacyInterceptors",t[t.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",t[t.NoXsrfProtection=3]="NoXsrfProtection",t[t.JsonpSupport=4]="JsonpSupport",t[t.RequestsMadeViaParent=5]="RequestsMadeViaParent",t[t.Fetch=6]="Fetch",t}(og||{});function OE(t,e){return{\u0275kind:t,\u0275providers:e}}function sg(...t){let e=[Pi,Xm,Jm,{provide:Ri,useExisting:Jm},{provide:sa,useFactory:()=>D(yE,{optional:!0})??D(Xm)},{provide:$u,useValue:RE,multi:!0},{provide:ig,useValue:!0},{provide:la,useClass:NE}];for(let r of t)e.push(...r.\u0275providers);return As(e)}var eg=new T("");function ag(){return OE(og.LegacyInterceptors,[{provide:eg,useFactory:_E},{provide:$u,useExisting:eg,multi:!0}])}var Gu=class extends ta{constructor(){super(...arguments),this.supportsDOMEvents=!0}},zu=class t extends Gu{static makeCurrent(){Um(new t)}onAndCancel(e,r,n){return e.addEventListener(r,n),()=>{e.removeEventListener(r,n)}}dispatchEvent(e,r){e.dispatchEvent(r)}remove(e){e.remove()}createElement(e,r){return r=r||this.getDefaultDocument(),r.createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,r){return r==="window"?window:r==="document"?e:r==="body"?e.body:null}getBaseHref(e){let r=kE();return r==null?null:PE(r)}resetBaseElement(){Fi=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return na(document.cookie,e)}},Fi=null;function kE(){return Fi=Fi||document.querySelector("base"),Fi?Fi.getAttribute("href"):null}function PE(t){return new URL(t,document.baseURI).pathname}var Wu=class{addToWindow(e){_t.getAngularTestability=(n,i=!0)=>{let o=e.findTestabilityInTree(n,i);if(o==null)throw new N(5103,!1);return o},_t.getAllAngularTestabilities=()=>e.getAllTestabilities(),_t.getAllAngularRootElements=()=>e.getAllRootElements();let r=n=>{let i=_t.getAllAngularTestabilities(),o=i.length,s=function(){o--,o==0&&n()};i.forEach(a=>{a.whenStable(s)})};_t.frameworkStabilizers||(_t.frameworkStabilizers=[]),_t.frameworkStabilizers.push(r)}findTestabilityInTree(e,r,n){if(r==null)return null;let i=e.getTestability(r);return i??(n?Nt().isShadowRoot(r)?this.findTestabilityInTree(e,r.host,!0):this.findTestabilityInTree(e,r.parentElement,!0):null)}},FE=(()=>{let e=class e{build(){return new XMLHttpRequest}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})(),Zu=new T(""),fg=(()=>{let e=class e{constructor(n,i){this._zone=i,this._eventNameToPlugin=new Map,n.forEach(o=>{o.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,i,o){return this._findPluginFor(i).addEventListener(n,i,o)}getZone(){return this._zone}_findPluginFor(n){let i=this._eventNameToPlugin.get(n);if(i)return i;if(i=this._plugins.find(s=>s.supports(n)),!i)throw new N(5101,!1);return this._eventNameToPlugin.set(n,i),i}};e.\u0275fac=function(i){return new(i||e)(M(Zu),M(oe))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})(),ca=class{constructor(e){this._doc=e}},Hu="ng-app-id",hg=(()=>{let e=class e{constructor(n,i,o,s={}){this.doc=n,this.appId=i,this.nonce=o,this.platformId=s,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=ia(s),this.resetHostNodes()}addStyles(n){for(let i of n)this.changeUsageCount(i,1)===1&&this.onStyleAdded(i)}removeStyles(n){for(let i of n)this.changeUsageCount(i,-1)<=0&&this.onStyleRemoved(i)}ngOnDestroy(){let n=this.styleNodesInDOM;n&&(n.forEach(i=>i.remove()),n.clear());for(let i of this.getAllStyles())this.onStyleRemoved(i);this.resetHostNodes()}addHost(n){this.hostNodes.add(n);for(let i of this.getAllStyles())this.addStyleToHost(n,i)}removeHost(n){this.hostNodes.delete(n)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(n){for(let i of this.hostNodes)this.addStyleToHost(i,n)}onStyleRemoved(n){let i=this.styleRef;i.get(n)?.elements?.forEach(o=>o.remove()),i.delete(n)}collectServerRenderedStyles(){let n=this.doc.head?.querySelectorAll(`style[${Hu}="${this.appId}"]`);if(n?.length){let i=new Map;return n.forEach(o=>{o.textContent!=null&&i.set(o.textContent,o)}),i}return null}changeUsageCount(n,i){let o=this.styleRef;if(o.has(n)){let s=o.get(n);return s.usage+=i,s.usage}return o.set(n,{usage:i,elements:[]}),i}getStyleElement(n,i){let o=this.styleNodesInDOM,s=o?.get(i);if(s?.parentNode===n)return o.delete(i),s.removeAttribute(Hu),s;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=i,this.platformIsServer&&a.setAttribute(Hu,this.appId),n.appendChild(a),a}}addStyleToHost(n,i){let o=this.getStyleElement(n,i),s=this.styleRef,a=s.get(i)?.elements;a?a.push(o):s.set(i,{elements:[o],usage:1})}resetHostNodes(){let n=this.hostNodes;n.clear(),n.add(this.doc.head)}};e.\u0275fac=function(i){return new(i||e)(M(xe),M(Bs),M(eu,8),M(Tt))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})(),qu={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"},Qu=/%COMP%/g,pg="%COMP%",LE=`_nghost-${pg}`,VE=`_ngcontent-${pg}`,jE=!0,UE=new T("",{providedIn:"root",factory:()=>jE});function BE(t){return VE.replace(Qu,t)}function $E(t){return LE.replace(Qu,t)}function mg(t,e){return e.map(r=>r.replace(Qu,t))}var cg=(()=>{let e=class e{constructor(n,i,o,s,a,c,f,h=null){this.eventManager=n,this.sharedStylesHost=i,this.appId=o,this.removeStylesOnCompDestroy=s,this.doc=a,this.platformId=c,this.ngZone=f,this.nonce=h,this.rendererByCompId=new Map,this.platformIsServer=ia(c),this.defaultRenderer=new Li(n,a,f,this.platformIsServer)}createRenderer(n,i){if(!n||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===xt.ShadowDom&&(i=K(E({},i),{encapsulation:xt.Emulated}));let o=this.getOrCreateRenderer(n,i);return o instanceof ua?o.applyToHost(n):o instanceof Vi&&o.applyStyles(),o}getOrCreateRenderer(n,i){let o=this.rendererByCompId,s=o.get(i.id);if(!s){let a=this.doc,c=this.ngZone,f=this.eventManager,h=this.sharedStylesHost,m=this.removeStylesOnCompDestroy,v=this.platformIsServer;switch(i.encapsulation){case xt.Emulated:s=new ua(f,h,i,this.appId,m,a,c,v);break;case xt.ShadowDom:return new Yu(f,h,n,i,a,c,this.nonce,v);default:s=new Vi(f,h,i,m,a,c,v);break}o.set(i.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}};e.\u0275fac=function(i){return new(i||e)(M(fg),M(hg),M(Bs),M(UE),M(xe),M(Tt),M(oe),M(eu))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})(),Li=class{constructor(e,r,n,i){this.eventManager=e,this.doc=r,this.ngZone=n,this.platformIsServer=i,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(e,r){return r?this.doc.createElementNS(qu[r]||r,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,r){(ug(e)?e.content:e).appendChild(r)}insertBefore(e,r,n){e&&(ug(e)?e.content:e).insertBefore(r,n)}removeChild(e,r){r.remove()}selectRootElement(e,r){let n=typeof e=="string"?this.doc.querySelector(e):e;if(!n)throw new N(-5104,!1);return r||(n.textContent=""),n}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,r,n,i){if(i){r=i+":"+r;let o=qu[i];o?e.setAttributeNS(o,r,n):e.setAttribute(r,n)}else e.setAttribute(r,n)}removeAttribute(e,r,n){if(n){let i=qu[n];i?e.removeAttributeNS(i,r):e.removeAttribute(`${n}:${r}`)}else e.removeAttribute(r)}addClass(e,r){e.classList.add(r)}removeClass(e,r){e.classList.remove(r)}setStyle(e,r,n,i){i&(Bt.DashCase|Bt.Important)?e.style.setProperty(r,n,i&Bt.Important?"important":""):e.style[r]=n}removeStyle(e,r,n){n&Bt.DashCase?e.style.removeProperty(r):e.style[r]=""}setProperty(e,r,n){e!=null&&(e[r]=n)}setValue(e,r){e.nodeValue=r}listen(e,r,n){if(typeof e=="string"&&(e=Nt().getGlobalEventTarget(this.doc,e),!e))throw new Error(`Unsupported event target ${e} for event ${r}`);return this.eventManager.addEventListener(e,r,this.decoratePreventDefault(n))}decoratePreventDefault(e){return r=>{if(r==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(r)):e(r))===!1&&r.preventDefault()}}};function ug(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var Yu=class extends Li{constructor(e,r,n,i,o,s,a,c){super(e,o,s,c),this.sharedStylesHost=r,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let f=mg(i.id,i.styles);for(let h of f){let m=document.createElement("style");a&&m.setAttribute("nonce",a),m.textContent=h,this.shadowRoot.appendChild(m)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,r){return super.appendChild(this.nodeOrShadowRoot(e),r)}insertBefore(e,r,n){return super.insertBefore(this.nodeOrShadowRoot(e),r,n)}removeChild(e,r){return super.removeChild(null,r)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Vi=class extends Li{constructor(e,r,n,i,o,s,a,c){super(e,o,s,a),this.sharedStylesHost=r,this.removeStylesOnCompDestroy=i,this.styles=c?mg(c,n.styles):n.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},ua=class extends Vi{constructor(e,r,n,i,o,s,a,c){let f=i+"-"+n.id;super(e,r,n,o,s,a,c,f),this.contentAttr=BE(f),this.hostAttr=$E(f)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,r){let n=super.createElement(e,r);return super.setAttribute(n,this.contentAttr,""),n}},HE=(()=>{let e=class e extends ca{constructor(n){super(n)}supports(n){return!0}addEventListener(n,i,o){return n.addEventListener(i,o,!1),()=>this.removeEventListener(n,i,o)}removeEventListener(n,i,o){return n.removeEventListener(i,o)}};e.\u0275fac=function(i){return new(i||e)(M(xe))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})(),dg=["alt","control","meta","shift"],qE={"\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"},GE={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},zE=(()=>{let e=class e extends ca{constructor(n){super(n)}supports(n){return e.parseEventName(n)!=null}addEventListener(n,i,o){let s=e.parseEventName(i),a=e.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Nt().onAndCancel(n,s.domEventName,a))}static parseEventName(n){let i=n.toLowerCase().split("."),o=i.shift();if(i.length===0||!(o==="keydown"||o==="keyup"))return null;let s=e._normalizeKey(i.pop()),a="",c=i.indexOf("code");if(c>-1&&(i.splice(c,1),a="code."),dg.forEach(h=>{let m=i.indexOf(h);m>-1&&(i.splice(m,1),a+=h+".")}),a+=s,i.length!=0||s.length===0)return null;let f={};return f.domEventName=o,f.fullKey=a,f}static matchEventFullKeyCode(n,i){let o=qE[n.key]||n.key,s="";return i.indexOf("code.")>-1&&(o=n.code,s="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),dg.forEach(a=>{if(a!==o){let c=GE[a];c(n)&&(s+=a+".")}}),s+=o,s===i)}static eventCallback(n,i,o){return s=>{e.matchEventFullKeyCode(s,n)&&o.runGuarded(()=>i(s))}}static _normalizeKey(n){return n==="esc"?"escape":n}};e.\u0275fac=function(i){return new(i||e)(M(xe))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})();function gg(t,e){return Rm(E({rootComponent:t},WE(e)))}function WE(t){return{appProviders:[...vg,...t?.providers??[]],platformProviders:KE}}function ZE(){zu.makeCurrent()}function YE(){return new Ut}function QE(){return Ap(document),document}var KE=[{provide:Tt,useValue:Fu},{provide:Xc,useValue:ZE,multi:!0},{provide:xe,useFactory:QE,deps:[]}];var JE=new T(""),XE=[{provide:Ti,useClass:Wu,deps:[]},{provide:bu,useClass:Qs,deps:[oe,Ks,Ti]},{provide:Qs,useClass:Qs,deps:[oe,Ks,Ti]}],vg=[{provide:Ns,useValue:"root"},{provide:Ut,useFactory:YE,deps:[]},{provide:Zu,useClass:HE,multi:!0,deps:[xe,oe,Tt]},{provide:Zu,useClass:zE,multi:!0,deps:[xe]},cg,hg,fg,{provide:Nr,useExisting:cg},{provide:Vr,useClass:FE,deps:[]},[]],yg=(()=>{let e=class e{constructor(n){}static withServerTransition(n){return{ngModule:e,providers:[{provide:Bs,useValue:n.appId}]}}};e.\u0275fac=function(i){return new(i||e)(M(JE,12))},e.\u0275mod=We({type:e}),e.\u0275inj=ze({providers:[...vg,...XE],imports:[qm,Nm]});let t=e;return t})();var Cg=(()=>{let e=class e{constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}};e.\u0275fac=function(i){return new(i||e)(M(xe))},e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var q="primary",Ji=Symbol("RouteTitle"),td=class{constructor(e){this.params=e||{}}has(e){return Object.prototype.hasOwnProperty.call(this.params,e)}get(e){if(this.has(e)){let r=this.params[e];return Array.isArray(r)?r[0]:r}return null}getAll(e){if(this.has(e)){let r=this.params[e];return Array.isArray(r)?r:[r]}return[]}get keys(){return Object.keys(this.params)}};function Wr(t){return new td(t)}function t_(t,e,r){let n=r.path.split("/");if(n.length>t.length||r.pathMatch==="full"&&(e.hasChildren()||n.lengthn[o]===i)}else return t===e}function Ng(t){return t.length>0?t[t.length-1]:null}function Sn(t){return gl(t)?t:Jn(t)?ae(Promise.resolve(t)):k(t)}var r_={exact:Og,subset:kg},Rg={exact:i_,subset:o_,ignored:()=>!0};function Dg(t,e,r){return r_[r.paths](t.root,e.root,r.matrixParams)&&Rg[r.queryParams](t.queryParams,e.queryParams)&&!(r.fragment==="exact"&&t.fragment!==e.fragment)}function i_(t,e){return Rt(t,e)}function Og(t,e,r){if(!er(t.segments,e.segments)||!ha(t.segments,e.segments,r)||t.numberOfChildren!==e.numberOfChildren)return!1;for(let n in e.children)if(!t.children[n]||!Og(t.children[n],e.children[n],r))return!1;return!0}function o_(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(r=>Ag(t[r],e[r]))}function kg(t,e,r){return Pg(t,e,e.segments,r)}function Pg(t,e,r,n){if(t.segments.length>r.length){let i=t.segments.slice(0,r.length);return!(!er(i,r)||e.hasChildren()||!ha(i,r,n))}else if(t.segments.length===r.length){if(!er(t.segments,r)||!ha(t.segments,r,n))return!1;for(let i in e.children)if(!t.children[i]||!kg(t.children[i],e.children[i],n))return!1;return!0}else{let i=r.slice(0,t.segments.length),o=r.slice(t.segments.length);return!er(t.segments,i)||!ha(t.segments,i,n)||!t.children[q]?!1:Pg(t.children[q],e,o,n)}}function ha(t,e,r){return e.every((n,i)=>Rg[r](t[i].parameters,n.parameters))}var en=class{constructor(e=new ne([],{}),r={},n=null){this.root=e,this.queryParams=r,this.fragment=n}get queryParamMap(){return this._queryParamMap??=Wr(this.queryParams),this._queryParamMap}toString(){return l_.serialize(this)}},ne=class{constructor(e,r){this.segments=e,this.children=r,this.parent=null,Object.values(r).forEach(n=>n.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return pa(this)}},Xn=class{constructor(e,r){this.path=e,this.parameters=r}get parameterMap(){return this._parameterMap??=Wr(this.parameters),this._parameterMap}toString(){return Lg(this)}};function s_(t,e){return er(t,e)&&t.every((r,n)=>Rt(r.parameters,e[n].parameters))}function er(t,e){return t.length!==e.length?!1:t.every((r,n)=>r.path===e[n].path)}function a_(t,e){let r=[];return Object.entries(t.children).forEach(([n,i])=>{n===q&&(r=r.concat(e(i,n)))}),Object.entries(t.children).forEach(([n,i])=>{n!==q&&(r=r.concat(e(i,n)))}),r}var Xi=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:()=>new Zr,providedIn:"root"});let t=e;return t})(),Zr=class{parse(e){let r=new id(e);return new en(r.parseRootSegment(),r.parseQueryParams(),r.parseFragment())}serialize(e){let r=`/${ji(e.root,!0)}`,n=d_(e.queryParams),i=typeof e.fragment=="string"?`#${c_(e.fragment)}`:"";return`${r}${n}${i}`}},l_=new Zr;function pa(t){return t.segments.map(e=>Lg(e)).join("/")}function ji(t,e){if(!t.hasChildren())return pa(t);if(e){let r=t.children[q]?ji(t.children[q],!1):"",n=[];return Object.entries(t.children).forEach(([i,o])=>{i!==q&&n.push(`${i}:${ji(o,!1)}`)}),n.length>0?`${r}(${n.join("//")})`:r}else{let r=a_(t,(n,i)=>i===q?[ji(t.children[q],!1)]:[`${i}:${ji(n,!1)}`]);return Object.keys(t.children).length===1&&t.children[q]!=null?`${pa(t)}/${r[0]}`:`${pa(t)}/(${r.join("//")})`}}function Fg(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function da(t){return Fg(t).replace(/%3B/gi,";")}function c_(t){return encodeURI(t)}function rd(t){return Fg(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function ma(t){return decodeURIComponent(t)}function wg(t){return ma(t.replace(/\+/g,"%20"))}function Lg(t){return`${rd(t.path)}${u_(t.parameters)}`}function u_(t){return Object.entries(t).map(([e,r])=>`;${rd(e)}=${rd(r)}`).join("")}function d_(t){let e=Object.entries(t).map(([r,n])=>Array.isArray(n)?n.map(i=>`${da(r)}=${da(i)}`).join("&"):`${da(r)}=${da(n)}`).filter(r=>r);return e.length?`?${e.join("&")}`:""}var f_=/^[^\/()?;#]+/;function Ku(t){let e=t.match(f_);return e?e[0]:""}var h_=/^[^\/()?;=#]+/;function p_(t){let e=t.match(h_);return e?e[0]:""}var m_=/^[^=?&#]+/;function g_(t){let e=t.match(m_);return e?e[0]:""}var v_=/^[^&#]+/;function y_(t){let e=t.match(v_);return e?e[0]:""}var id=class{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new ne([],{}):new ne([],this.parseChildren())}parseQueryParams(){let e={};if(this.consumeOptional("?"))do this.parseQueryParam(e);while(this.consumeOptional("&"));return e}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let r={};this.peekStartsWith("/(")&&(this.capture("/"),r=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(e.length>0||Object.keys(r).length>0)&&(n[q]=new ne(e,r)),n}parseSegment(){let e=Ku(this.remaining);if(e===""&&this.peekStartsWith(";"))throw new N(4009,!1);return this.capture(e),new Xn(ma(e),this.parseMatrixParams())}parseMatrixParams(){let e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){let r=p_(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){let i=Ku(this.remaining);i&&(n=i,this.capture(n))}e[ma(r)]=ma(n)}parseQueryParam(e){let r=g_(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){let s=y_(this.remaining);s&&(n=s,this.capture(n))}let i=wg(r),o=wg(n);if(e.hasOwnProperty(i)){let s=e[i];Array.isArray(s)||(s=[s],e[i]=s),s.push(o)}else e[i]=o}parseParens(e){let r={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let n=Ku(this.remaining),i=this.remaining[n.length];if(i!=="/"&&i!==")"&&i!==";")throw new N(4010,!1);let o;n.indexOf(":")>-1?(o=n.slice(0,n.indexOf(":")),this.capture(o),this.capture(":")):e&&(o=q);let s=this.parseChildren();r[o]=Object.keys(s).length===1?s[q]:new ne([],s),this.consumeOptional("//")}return r}peekStartsWith(e){return this.remaining.startsWith(e)}consumeOptional(e){return this.peekStartsWith(e)?(this.remaining=this.remaining.substring(e.length),!0):!1}capture(e){if(!this.consumeOptional(e))throw new N(4011,!1)}};function Vg(t){return t.segments.length>0?new ne([],{[q]:t}):t}function jg(t){let e={};for(let[n,i]of Object.entries(t.children)){let o=jg(i);if(n===q&&o.segments.length===0&&o.hasChildren())for(let[s,a]of Object.entries(o.children))e[s]=a;else(o.segments.length>0||o.hasChildren())&&(e[n]=o)}let r=new ne(t.segments,e);return C_(r)}function C_(t){if(t.numberOfChildren===1&&t.children[q]){let e=t.children[q];return new ne(t.segments.concat(e.segments),e.children)}return t}function tr(t){return t instanceof en}function D_(t,e,r=null,n=null){let i=Ug(t);return Bg(i,e,r,n)}function Ug(t){let e;function r(o){let s={};for(let c of o.children){let f=r(c);s[c.outlet]=f}let a=new ne(o.url,s);return o===t&&(e=a),a}let n=r(t.root),i=Vg(n);return e??i}function Bg(t,e,r,n){let i=t;for(;i.parent;)i=i.parent;if(e.length===0)return Ju(i,i,i,r,n);let o=w_(e);if(o.toRoot())return Ju(i,i,new ne([],{}),r,n);let s=b_(o,i,t),a=s.processChildren?$i(s.segmentGroup,s.index,o.commands):Hg(s.segmentGroup,s.index,o.commands);return Ju(i,s.segmentGroup,a,r,n)}function ga(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function Gi(t){return typeof t=="object"&&t!=null&&t.outlets}function Ju(t,e,r,n,i){let o={};n&&Object.entries(n).forEach(([c,f])=>{o[c]=Array.isArray(f)?f.map(h=>`${h}`):`${f}`});let s;t===e?s=r:s=$g(t,e,r);let a=Vg(jg(s));return new en(a,o,i)}function $g(t,e,r){let n={};return Object.entries(t.children).forEach(([i,o])=>{o===e?n[i]=r:n[i]=$g(o,e,r)}),new ne(t.segments,n)}var va=class{constructor(e,r,n){if(this.isAbsolute=e,this.numberOfDoubleDots=r,this.commands=n,e&&n.length>0&&ga(n[0]))throw new N(4003,!1);let i=n.find(Gi);if(i&&i!==Ng(n))throw new N(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function w_(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new va(!0,0,t);let e=0,r=!1,n=t.reduce((i,o,s)=>{if(typeof o=="object"&&o!=null){if(o.outlets){let a={};return Object.entries(o.outlets).forEach(([c,f])=>{a[c]=typeof f=="string"?f.split("/"):f}),[...i,{outlets:a}]}if(o.segmentPath)return[...i,o.segmentPath]}return typeof o!="string"?[...i,o]:s===0?(o.split("/").forEach((a,c)=>{c==0&&a==="."||(c==0&&a===""?r=!0:a===".."?e++:a!=""&&i.push(a))}),i):[...i,o]},[]);return new va(r,e,n)}var qr=class{constructor(e,r,n){this.segmentGroup=e,this.processChildren=r,this.index=n}};function b_(t,e,r){if(t.isAbsolute)return new qr(e,!0,0);if(!r)return new qr(e,!1,NaN);if(r.parent===null)return new qr(r,!0,0);let n=ga(t.commands[0])?0:1,i=r.segments.length-1+n;return E_(r,i,t.numberOfDoubleDots)}function E_(t,e,r){let n=t,i=e,o=r;for(;o>i;){if(o-=i,n=n.parent,!n)throw new N(4005,!1);i=n.segments.length}return new qr(n,!1,i-o)}function __(t){return Gi(t[0])?t[0].outlets:{[q]:t}}function Hg(t,e,r){if(t??=new ne([],{}),t.segments.length===0&&t.hasChildren())return $i(t,e,r);let n=x_(t,e,r),i=r.slice(n.commandIndex);if(n.match&&n.pathIndexo!==q)&&t.children[q]&&t.numberOfChildren===1&&t.children[q].segments.length===0){let o=$i(t.children[q],e,r);return new ne(t.segments,o.children)}return Object.entries(n).forEach(([o,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(i[o]=Hg(t.children[o],e,s))}),Object.entries(t.children).forEach(([o,s])=>{n[o]===void 0&&(i[o]=s)}),new ne(t.segments,i)}}function x_(t,e,r){let n=0,i=e,o={match:!1,pathIndex:0,commandIndex:0};for(;i=r.length)return o;let s=t.segments[i],a=r[n];if(Gi(a))break;let c=`${a}`,f=n0&&c===void 0)break;if(c&&f&&typeof f=="object"&&f.outlets===void 0){if(!Eg(c,f,s))return o;n+=2}else{if(!Eg(c,{},s))return o;n++}i++}return{match:!0,pathIndex:i,commandIndex:n}}function od(t,e,r){let n=t.segments.slice(0,e),i=0;for(;i{typeof n=="string"&&(n=[n]),n!==null&&(e[r]=od(new ne([],{}),0,n))}),e}function bg(t){let e={};return Object.entries(t).forEach(([r,n])=>e[r]=`${n}`),e}function Eg(t,e,r){return t==r.path&&Rt(e,r.parameters)}var Hi="imperative",Ie=function(t){return t[t.NavigationStart=0]="NavigationStart",t[t.NavigationEnd=1]="NavigationEnd",t[t.NavigationCancel=2]="NavigationCancel",t[t.NavigationError=3]="NavigationError",t[t.RoutesRecognized=4]="RoutesRecognized",t[t.ResolveStart=5]="ResolveStart",t[t.ResolveEnd=6]="ResolveEnd",t[t.GuardsCheckStart=7]="GuardsCheckStart",t[t.GuardsCheckEnd=8]="GuardsCheckEnd",t[t.RouteConfigLoadStart=9]="RouteConfigLoadStart",t[t.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",t[t.ChildActivationStart=11]="ChildActivationStart",t[t.ChildActivationEnd=12]="ChildActivationEnd",t[t.ActivationStart=13]="ActivationStart",t[t.ActivationEnd=14]="ActivationEnd",t[t.Scroll=15]="Scroll",t[t.NavigationSkipped=16]="NavigationSkipped",t}(Ie||{}),ut=class{constructor(e,r){this.id=e,this.url=r}},Yr=class extends ut{constructor(e,r,n="imperative",i=null){super(e,r),this.type=Ie.NavigationStart,this.navigationTrigger=n,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},Ke=class extends ut{constructor(e,r,n){super(e,r),this.urlAfterRedirects=n,this.type=Ie.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},Qe=function(t){return t[t.Redirect=0]="Redirect",t[t.SupersededByNewNavigation=1]="SupersededByNewNavigation",t[t.NoDataFromResolver=2]="NoDataFromResolver",t[t.GuardRejected=3]="GuardRejected",t}(Qe||{}),ya=function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t}(ya||{}),Xt=class extends ut{constructor(e,r,n,i){super(e,r),this.reason=n,this.code=i,this.type=Ie.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},In=class extends ut{constructor(e,r,n,i){super(e,r),this.reason=n,this.code=i,this.type=Ie.NavigationSkipped}},zi=class extends ut{constructor(e,r,n,i){super(e,r),this.error=n,this.target=i,this.type=Ie.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Ca=class extends ut{constructor(e,r,n,i){super(e,r),this.urlAfterRedirects=n,this.state=i,this.type=Ie.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},sd=class extends ut{constructor(e,r,n,i){super(e,r),this.urlAfterRedirects=n,this.state=i,this.type=Ie.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},ad=class extends ut{constructor(e,r,n,i,o){super(e,r),this.urlAfterRedirects=n,this.state=i,this.shouldActivate=o,this.type=Ie.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},ld=class extends ut{constructor(e,r,n,i){super(e,r),this.urlAfterRedirects=n,this.state=i,this.type=Ie.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},cd=class extends ut{constructor(e,r,n,i){super(e,r),this.urlAfterRedirects=n,this.state=i,this.type=Ie.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},ud=class{constructor(e){this.route=e,this.type=Ie.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},dd=class{constructor(e){this.route=e,this.type=Ie.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},fd=class{constructor(e){this.snapshot=e,this.type=Ie.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},hd=class{constructor(e){this.snapshot=e,this.type=Ie.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},pd=class{constructor(e){this.snapshot=e,this.type=Ie.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},md=class{constructor(e){this.snapshot=e,this.type=Ie.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Da=class{constructor(e,r,n){this.routerEvent=e,this.position=r,this.anchor=n,this.type=Ie.Scroll}toString(){let e=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${e}')`}},Wi=class{},Qr=class{constructor(e,r){this.url=e,this.navigationBehaviorOptions=r}};function S_(t,e){return t.providers&&!t._injector&&(t._injector=Ws(t.providers,e,`Route: ${t.path}`)),t._injector??e}function yt(t){return t.outlet||q}function M_(t,e){let r=t.filter(n=>yt(n)===e);return r.push(...t.filter(n=>yt(n)!==e)),r}function eo(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let e=t.parent;e;e=e.parent){let r=e.routeConfig;if(r?._loadedInjector)return r._loadedInjector;if(r?._injector)return r._injector}return null}var gd=class{get injector(){return eo(this.route?.snapshot)??this.rootInjector}set injector(e){}constructor(e){this.rootInjector=e,this.outlet=null,this.route=null,this.children=new to(this.rootInjector),this.attachRef=null}},to=(()=>{let e=class e{constructor(n){this.rootInjector=n,this.contexts=new Map}onChildOutletCreated(n,i){let o=this.getOrCreateContext(n);o.outlet=i,this.contexts.set(n,o)}onChildOutletDestroyed(n){let i=this.getContext(n);i&&(i.outlet=null,i.attachRef=null)}onOutletDeactivated(){let n=this.contexts;return this.contexts=new Map,n}onOutletReAttached(n){this.contexts=n}getOrCreateContext(n){let i=this.getContext(n);return i||(i=new gd(this.rootInjector),this.contexts.set(n,i)),i}getContext(n){return this.contexts.get(n)||null}};e.\u0275fac=function(i){return new(i||e)(M(Pe))},e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),wa=class{constructor(e){this._root=e}get root(){return this._root.value}parent(e){let r=this.pathFromRoot(e);return r.length>1?r[r.length-2]:null}children(e){let r=vd(e,this._root);return r?r.children.map(n=>n.value):[]}firstChild(e){let r=vd(e,this._root);return r&&r.children.length>0?r.children[0].value:null}siblings(e){let r=yd(e,this._root);return r.length<2?[]:r[r.length-2].children.map(i=>i.value).filter(i=>i!==e)}pathFromRoot(e){return yd(e,this._root).map(r=>r.value)}};function vd(t,e){if(t===e.value)return e;for(let r of e.children){let n=vd(t,r);if(n)return n}return null}function yd(t,e){if(t===e.value)return[e];for(let r of e.children){let n=yd(t,r);if(n.length)return n.unshift(e),n}return[]}var Ye=class{constructor(e,r){this.value=e,this.children=r}toString(){return`TreeNode(${this.value})`}};function Hr(t){let e={};return t&&t.children.forEach(r=>e[r.value.outlet]=r),e}var ba=class extends wa{constructor(e,r){super(e),this.snapshot=r,Sd(this,e)}toString(){return this.snapshot.toString()}};function qg(t){let e=T_(t),r=new Se([new Xn("",{})]),n=new Se({}),i=new Se({}),o=new Se({}),s=new Se(""),a=new tn(r,n,o,s,i,q,t,e.root);return a.snapshot=e.root,new ba(new Ye(a,[]),e)}function T_(t){let e={},r={},n={},i="",o=new Gr([],e,n,i,r,q,t,null,{});return new _a("",new Ye(o,[]))}var tn=class{constructor(e,r,n,i,o,s,a,c){this.urlSubject=e,this.paramsSubject=r,this.queryParamsSubject=n,this.fragmentSubject=i,this.dataSubject=o,this.outlet=s,this.component=a,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(L(f=>f[Ji]))??k(void 0),this.url=e,this.params=r,this.queryParams=n,this.fragment=i,this.data=o}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(L(e=>Wr(e))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(L(e=>Wr(e))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function Ea(t,e,r="emptyOnly"){let n,{routeConfig:i}=t;return e!==null&&(r==="always"||i?.path===""||!e.component&&!e.routeConfig?.loadComponent)?n={params:E(E({},e.params),t.params),data:E(E({},e.data),t.data),resolve:E(E(E(E({},t.data),e.data),i?.data),t._resolvedData)}:n={params:E({},t.params),data:E({},t.data),resolve:E(E({},t.data),t._resolvedData??{})},i&&zg(i)&&(n.resolve[Ji]=i.title),n}var Gr=class{get title(){return this.data?.[Ji]}constructor(e,r,n,i,o,s,a,c,f){this.url=e,this.params=r,this.queryParams=n,this.fragment=i,this.data=o,this.outlet=s,this.component=a,this.routeConfig=c,this._resolve=f}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??=Wr(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Wr(this.queryParams),this._queryParamMap}toString(){let e=this.url.map(n=>n.toString()).join("/"),r=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${e}', path:'${r}')`}},_a=class extends wa{constructor(e,r){super(r),this.url=e,Sd(this,r)}toString(){return Gg(this._root)}};function Sd(t,e){e.value._routerState=t,e.children.forEach(r=>Sd(t,r))}function Gg(t){let e=t.children.length>0?` { ${t.children.map(Gg).join(", ")} } `:"";return`${t.value}${e}`}function Xu(t){if(t.snapshot){let e=t.snapshot,r=t._futureSnapshot;t.snapshot=r,Rt(e.queryParams,r.queryParams)||t.queryParamsSubject.next(r.queryParams),e.fragment!==r.fragment&&t.fragmentSubject.next(r.fragment),Rt(e.params,r.params)||t.paramsSubject.next(r.params),n_(e.url,r.url)||t.urlSubject.next(r.url),Rt(e.data,r.data)||t.dataSubject.next(r.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function Cd(t,e){let r=Rt(t.params,e.params)&&s_(t.url,e.url),n=!t.parent!=!e.parent;return r&&!n&&(!t.parent||Cd(t.parent,e.parent))}function zg(t){return typeof t.title=="string"||t.title===null}var Md=(()=>{let e=class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=q,this.activateEvents=new he,this.deactivateEvents=new he,this.attachEvents=new he,this.detachEvents=new he,this.parentContexts=D(to),this.location=D(wn),this.changeDetector=D(bn),this.inputBinder=D(Ta,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(n){if(n.name){let{firstChange:i,previousValue:o}=n.name;if(i)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(n){return this.parentContexts.getContext(n)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let n=this.parentContexts.getContext(this.name);n?.route&&(n.attachRef?this.attach(n.attachRef,n.route):this.activateWith(n.route,n.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new N(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new N(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new N(4012,!1);this.location.detach();let n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}attach(n,i){this.activated=n,this._activatedRoute=i,this.location.insert(n.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(n.instance)}deactivate(){if(this.activated){let n=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}}activateWith(n,i){if(this.isActivated)throw new N(4013,!1);this._activatedRoute=n;let o=this.location,a=n.snapshot.component,c=this.parentContexts.getOrCreateContext(this.name).children,f=new Dd(n,c,o.injector);this.activated=o.createComponent(a,{index:o.length,injector:f,environmentInjector:i}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=ie({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[Gt]});let t=e;return t})(),Dd=class t{__ngOutletInjector(e){return new t(this.route,this.childContexts,e)}constructor(e,r,n){this.route=e,this.childContexts=r,this.parent=n}get(e,r){return e===tn?this.route:e===to?this.childContexts:this.parent.get(e,r)}},Ta=new T(""),_g=(()=>{let e=class e{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(n){this.unsubscribeFromRouteData(n),this.subscribeToRouteData(n)}unsubscribeFromRouteData(n){this.outletDataSubscriptions.get(n)?.unsubscribe(),this.outletDataSubscriptions.delete(n)}subscribeToRouteData(n){let{activatedRoute:i}=n,o=hi([i.queryParams,i.params,i.data]).pipe(Be(([s,a,c],f)=>(c=E(E(E({},s),a),c),f===0?k(c):Promise.resolve(c)))).subscribe(s=>{if(!n.isActivated||!n.activatedComponentRef||n.activatedRoute!==i||i.component===null){this.unsubscribeFromRouteData(n);return}let a=Om(i.component);if(!a){this.unsubscribeFromRouteData(n);return}for(let{templateName:c}of a.inputs)n.activatedComponentRef.setInput(c,s[c])});this.outletDataSubscriptions.set(n,o)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})();function A_(t,e,r){let n=Zi(t,e._root,r?r._root:void 0);return new ba(n,e)}function Zi(t,e,r){if(r&&t.shouldReuseRoute(e.value,r.value.snapshot)){let n=r.value;n._futureSnapshot=e.value;let i=N_(t,e,r);return new Ye(n,i)}else{if(t.shouldAttach(e.value)){let o=t.retrieve(e.value);if(o!==null){let s=o.route;return s.value._futureSnapshot=e.value,s.children=e.children.map(a=>Zi(t,a)),s}}let n=R_(e.value),i=e.children.map(o=>Zi(t,o));return new Ye(n,i)}}function N_(t,e,r){return e.children.map(n=>{for(let i of r.children)if(t.shouldReuseRoute(n.value,i.value.snapshot))return Zi(t,n,i);return Zi(t,n)})}function R_(t){return new tn(new Se(t.url),new Se(t.params),new Se(t.queryParams),new Se(t.fragment),new Se(t.data),t.outlet,t.component,t)}var Yi=class{constructor(e,r){this.redirectTo=e,this.navigationBehaviorOptions=r}},Wg="ngNavigationCancelingError";function xa(t,e){let{redirectTo:r,navigationBehaviorOptions:n}=tr(e)?{redirectTo:e,navigationBehaviorOptions:void 0}:e,i=Zg(!1,Qe.Redirect);return i.url=r,i.navigationBehaviorOptions=n,i}function Zg(t,e){let r=new Error(`NavigationCancelingError: ${t||""}`);return r[Wg]=!0,r.cancellationCode=e,r}function O_(t){return Yg(t)&&tr(t.url)}function Yg(t){return!!t&&t[Wg]}var k_=(t,e,r,n)=>L(i=>(new wd(e,i.targetRouterState,i.currentRouterState,r,n).activate(t),i)),wd=class{constructor(e,r,n,i,o){this.routeReuseStrategy=e,this.futureState=r,this.currState=n,this.forwardEvent=i,this.inputBindingEnabled=o}activate(e){let r=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(r,n,e),Xu(this.futureState.root),this.activateChildRoutes(r,n,e)}deactivateChildRoutes(e,r,n){let i=Hr(r);e.children.forEach(o=>{let s=o.value.outlet;this.deactivateRoutes(o,i[s],n),delete i[s]}),Object.values(i).forEach(o=>{this.deactivateRouteAndItsChildren(o,n)})}deactivateRoutes(e,r,n){let i=e.value,o=r?r.value:null;if(i===o)if(i.component){let s=n.getContext(i.outlet);s&&this.deactivateChildRoutes(e,r,s.children)}else this.deactivateChildRoutes(e,r,n);else o&&this.deactivateRouteAndItsChildren(r,n)}deactivateRouteAndItsChildren(e,r){e.value.component&&this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,r):this.deactivateRouteAndOutlet(e,r)}detachAndStoreRouteSubtree(e,r){let n=r.getContext(e.value.outlet),i=n&&e.value.component?n.children:r,o=Hr(e);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);if(n&&n.outlet){let s=n.outlet.detach(),a=n.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:s,route:e,contexts:a})}}deactivateRouteAndOutlet(e,r){let n=r.getContext(e.value.outlet),i=n&&e.value.component?n.children:r,o=Hr(e);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);n&&(n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated()),n.attachRef=null,n.route=null)}activateChildRoutes(e,r,n){let i=Hr(r);e.children.forEach(o=>{this.activateRoutes(o,i[o.value.outlet],n),this.forwardEvent(new md(o.value.snapshot))}),e.children.length&&this.forwardEvent(new hd(e.value.snapshot))}activateRoutes(e,r,n){let i=e.value,o=r?r.value:null;if(Xu(i),i===o)if(i.component){let s=n.getOrCreateContext(i.outlet);this.activateChildRoutes(e,r,s.children)}else this.activateChildRoutes(e,r,n);else if(i.component){let s=n.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){let a=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),Xu(a.route.value),this.activateChildRoutes(e,null,s.children)}else s.attachRef=null,s.route=i,s.outlet&&s.outlet.activateWith(i,s.injector),this.activateChildRoutes(e,null,s.children)}else this.activateChildRoutes(e,null,n)}},Ia=class{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}},zr=class{constructor(e,r){this.component=e,this.route=r}};function P_(t,e,r){let n=t._root,i=e?e._root:null;return Ui(n,i,r,[n.value])}function F_(t){let e=t.routeConfig?t.routeConfig.canActivateChild:null;return!e||e.length===0?null:{node:t,guards:e}}function Jr(t,e){let r=Symbol(),n=e.get(t,r);return n===r?typeof t=="function"&&!yh(t)?t:e.get(t):n}function Ui(t,e,r,n,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=Hr(e);return t.children.forEach(s=>{L_(s,o[s.value.outlet],r,n.concat([s.value]),i),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,a])=>qi(a,r.getContext(s),i)),i}function L_(t,e,r,n,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=t.value,s=e?e.value:null,a=r?r.getContext(t.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){let c=V_(s,o,o.routeConfig.runGuardsAndResolvers);c?i.canActivateChecks.push(new Ia(n)):(o.data=s.data,o._resolvedData=s._resolvedData),o.component?Ui(t,e,a?a.children:null,n,i):Ui(t,e,r,n,i),c&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new zr(a.outlet.component,s))}else s&&qi(e,a,i),i.canActivateChecks.push(new Ia(n)),o.component?Ui(t,null,a?a.children:null,n,i):Ui(t,null,r,n,i);return i}function V_(t,e,r){if(typeof r=="function")return r(t,e);switch(r){case"pathParamsChange":return!er(t.url,e.url);case"pathParamsOrQueryParamsChange":return!er(t.url,e.url)||!Rt(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Cd(t,e)||!Rt(t.queryParams,e.queryParams);case"paramsChange":default:return!Cd(t,e)}}function qi(t,e,r){let n=Hr(t),i=t.value;Object.entries(n).forEach(([o,s])=>{i.component?e?qi(s,e.children.getContext(o),r):qi(s,null,r):qi(s,e,r)}),i.component?e&&e.outlet&&e.outlet.isActivated?r.canDeactivateChecks.push(new zr(e.outlet.component,i)):r.canDeactivateChecks.push(new zr(null,i)):r.canDeactivateChecks.push(new zr(null,i))}function no(t){return typeof t=="function"}function j_(t){return typeof t=="boolean"}function U_(t){return t&&no(t.canLoad)}function B_(t){return t&&no(t.canActivate)}function $_(t){return t&&no(t.canActivateChild)}function H_(t){return t&&no(t.canDeactivate)}function q_(t){return t&&no(t.canMatch)}function Qg(t){return t instanceof Ft||t?.name==="EmptyError"}var fa=Symbol("INITIAL_VALUE");function Kr(){return Be(t=>hi(t.map(e=>e.pipe(Vt(1),wl(fa)))).pipe(L(e=>{for(let r of e)if(r!==!0){if(r===fa)return fa;if(r===!1||G_(r))return r}return!0}),Me(e=>e!==fa),Vt(1)))}function G_(t){return tr(t)||t instanceof Yi}function z_(t,e){return fe(r=>{let{targetSnapshot:n,currentSnapshot:i,guards:{canActivateChecks:o,canDeactivateChecks:s}}=r;return s.length===0&&o.length===0?k(K(E({},r),{guardsResult:!0})):W_(s,n,i,t).pipe(fe(a=>a&&j_(a)?Z_(n,o,t,e):k(a)),L(a=>K(E({},r),{guardsResult:a})))})}function W_(t,e,r,n){return ae(t).pipe(fe(i=>X_(i.component,i.route,r,e,n)),wt(i=>i!==!0,!0))}function Z_(t,e,r,n){return ae(e).pipe(Lt(i=>hr(Q_(i.route.parent,n),Y_(i.route,n),J_(t,i.path,r),K_(t,i.route,r))),wt(i=>i!==!0,!0))}function Y_(t,e){return t!==null&&e&&e(new pd(t)),k(!0)}function Q_(t,e){return t!==null&&e&&e(new fd(t)),k(!0)}function K_(t,e,r){let n=e.routeConfig?e.routeConfig.canActivate:null;if(!n||n.length===0)return k(!0);let i=n.map(o=>Ho(()=>{let s=eo(e)??r,a=Jr(o,s),c=B_(a)?a.canActivate(e,t):st(s,()=>a(e,t));return Sn(c).pipe(wt())}));return k(i).pipe(Kr())}function J_(t,e,r){let n=e[e.length-1],o=e.slice(0,e.length-1).reverse().map(s=>F_(s)).filter(s=>s!==null).map(s=>Ho(()=>{let a=s.guards.map(c=>{let f=eo(s.node)??r,h=Jr(c,f),m=$_(h)?h.canActivateChild(n,t):st(f,()=>h(n,t));return Sn(m).pipe(wt())});return k(a).pipe(Kr())}));return k(o).pipe(Kr())}function X_(t,e,r,n,i){let o=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!o||o.length===0)return k(!0);let s=o.map(a=>{let c=eo(e)??i,f=Jr(a,c),h=H_(f)?f.canDeactivate(t,e,r,n):st(c,()=>f(t,e,r,n));return Sn(h).pipe(wt())});return k(s).pipe(Kr())}function ex(t,e,r,n){let i=e.canLoad;if(i===void 0||i.length===0)return k(!0);let o=i.map(s=>{let a=Jr(s,t),c=U_(a)?a.canLoad(e,r):st(t,()=>a(e,r));return Sn(c)});return k(o).pipe(Kr(),Kg(n))}function Kg(t){return fl(be(e=>{if(typeof e!="boolean")throw xa(t,e)}),L(e=>e===!0))}function tx(t,e,r,n){let i=e.canMatch;if(!i||i.length===0)return k(!0);let o=i.map(s=>{let a=Jr(s,t),c=q_(a)?a.canMatch(e,r):st(t,()=>a(e,r));return Sn(c)});return k(o).pipe(Kr(),Kg(n))}var Qi=class{constructor(e){this.segmentGroup=e||null}},Ki=class extends Error{constructor(e){super(),this.urlTree=e}};function $r(t){return fr(new Qi(t))}function nx(t){return fr(new N(4e3,!1))}function rx(t){return fr(Zg(!1,Qe.GuardRejected))}var bd=class{constructor(e,r){this.urlSerializer=e,this.urlTree=r}lineralizeSegments(e,r){let n=[],i=r.root;for(;;){if(n=n.concat(i.segments),i.numberOfChildren===0)return k(n);if(i.numberOfChildren>1||!i.children[q])return nx(`${e.redirectTo}`);i=i.children[q]}}applyRedirectCommands(e,r,n,i,o){if(typeof r!="string"){let a=r,{queryParams:c,fragment:f,routeConfig:h,url:m,outlet:v,params:y,data:b,title:U}=i,O=st(o,()=>a({params:y,data:b,queryParams:c,fragment:f,routeConfig:h,url:m,outlet:v,title:U}));if(O instanceof en)throw new Ki(O);r=O}let s=this.applyRedirectCreateUrlTree(r,this.urlSerializer.parse(r),e,n);if(r[0]==="/")throw new Ki(s);return s}applyRedirectCreateUrlTree(e,r,n,i){let o=this.createSegmentGroup(e,r.root,n,i);return new en(o,this.createQueryParams(r.queryParams,this.urlTree.queryParams),r.fragment)}createQueryParams(e,r){let n={};return Object.entries(e).forEach(([i,o])=>{if(typeof o=="string"&&o[0]===":"){let a=o.substring(1);n[i]=r[a]}else n[i]=o}),n}createSegmentGroup(e,r,n,i){let o=this.createSegments(e,r.segments,n,i),s={};return Object.entries(r.children).forEach(([a,c])=>{s[a]=this.createSegmentGroup(e,c,n,i)}),new ne(o,s)}createSegments(e,r,n,i){return r.map(o=>o.path[0]===":"?this.findPosParam(e,o,i):this.findOrReturn(o,n))}findPosParam(e,r,n){let i=n[r.path.substring(1)];if(!i)throw new N(4001,!1);return i}findOrReturn(e,r){let n=0;for(let i of r){if(i.path===e.path)return r.splice(n),i;n++}return e}},Ed={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function ix(t,e,r,n,i){let o=Jg(t,e,r);return o.matched?(n=S_(e,n),tx(n,e,r,i).pipe(L(s=>s===!0?o:E({},Ed)))):k(o)}function Jg(t,e,r){if(e.path==="**")return ox(r);if(e.path==="")return e.pathMatch==="full"&&(t.hasChildren()||r.length>0)?E({},Ed):{matched:!0,consumedSegments:[],remainingSegments:r,parameters:{},positionalParamSegments:{}};let i=(e.matcher||t_)(r,t,e);if(!i)return E({},Ed);let o={};Object.entries(i.posParams??{}).forEach(([a,c])=>{o[a]=c.path});let s=i.consumed.length>0?E(E({},o),i.consumed[i.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:i.consumed,remainingSegments:r.slice(i.consumed.length),parameters:s,positionalParamSegments:i.posParams??{}}}function ox(t){return{matched:!0,parameters:t.length>0?Ng(t).parameters:{},consumedSegments:t,remainingSegments:[],positionalParamSegments:{}}}function xg(t,e,r,n){return r.length>0&&lx(t,r,n)?{segmentGroup:new ne(e,ax(n,new ne(r,t.children))),slicedSegments:[]}:r.length===0&&cx(t,r,n)?{segmentGroup:new ne(t.segments,sx(t,r,n,t.children)),slicedSegments:r}:{segmentGroup:new ne(t.segments,t.children),slicedSegments:r}}function sx(t,e,r,n){let i={};for(let o of r)if(Aa(t,e,o)&&!n[yt(o)]){let s=new ne([],{});i[yt(o)]=s}return E(E({},n),i)}function ax(t,e){let r={};r[q]=e;for(let n of t)if(n.path===""&&yt(n)!==q){let i=new ne([],{});r[yt(n)]=i}return r}function lx(t,e,r){return r.some(n=>Aa(t,e,n)&&yt(n)!==q)}function cx(t,e,r){return r.some(n=>Aa(t,e,n))}function Aa(t,e,r){return(t.hasChildren()||e.length>0)&&r.pathMatch==="full"?!1:r.path===""}function ux(t,e,r){return e.length===0&&!t.children[r]}var _d=class{};function dx(t,e,r,n,i,o,s="emptyOnly"){return new xd(t,e,r,n,i,s,o).recognize()}var fx=31,xd=class{constructor(e,r,n,i,o,s,a){this.injector=e,this.configLoader=r,this.rootComponentType=n,this.config=i,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new bd(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(e){return new N(4002,`'${e.segmentGroup}'`)}recognize(){let e=xg(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(e).pipe(L(({children:r,rootSnapshot:n})=>{let i=new Ye(n,r),o=new _a("",i),s=D_(n,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),{state:o,tree:s}}))}match(e){let r=new Gr([],Object.freeze({}),Object.freeze(E({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),q,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,e,q,r).pipe(L(n=>({children:n,rootSnapshot:r})),cn(n=>{if(n instanceof Ki)return this.urlTree=n.urlTree,this.match(n.urlTree.root);throw n instanceof Qi?this.noMatchError(n):n}))}processSegmentGroup(e,r,n,i,o){return n.segments.length===0&&n.hasChildren()?this.processChildren(e,r,n,o):this.processSegment(e,r,n,n.segments,i,!0,o).pipe(L(s=>s instanceof Ye?[s]:[]))}processChildren(e,r,n,i){let o=[];for(let s of Object.keys(n.children))s==="primary"?o.unshift(s):o.push(s);return ae(o).pipe(Lt(s=>{let a=n.children[s],c=M_(r,s);return this.processSegmentGroup(e,c,a,s,i)}),Dl((s,a)=>(s.push(...a),s)),un(null),Cl(),fe(s=>{if(s===null)return $r(n);let a=Xg(s);return hx(a),k(a)}))}processSegment(e,r,n,i,o,s,a){return ae(r).pipe(Lt(c=>this.processSegmentAgainstRoute(c._injector??e,r,c,n,i,o,s,a).pipe(cn(f=>{if(f instanceof Qi)return k(null);throw f}))),wt(c=>!!c),cn(c=>{if(Qg(c))return ux(n,i,o)?k(new _d):$r(n);throw c}))}processSegmentAgainstRoute(e,r,n,i,o,s,a,c){return yt(n)!==s&&(s===q||!Aa(i,o,n))?$r(i):n.redirectTo===void 0?this.matchSegmentAgainstRoute(e,i,n,o,s,c):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(e,i,r,n,o,s,c):$r(i)}expandSegmentAgainstRouteUsingRedirect(e,r,n,i,o,s,a){let{matched:c,parameters:f,consumedSegments:h,positionalParamSegments:m,remainingSegments:v}=Jg(r,i,o);if(!c)return $r(r);typeof i.redirectTo=="string"&&i.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>fx&&(this.allowRedirects=!1));let y=new Gr(o,f,Object.freeze(E({},this.urlTree.queryParams)),this.urlTree.fragment,Ig(i),yt(i),i.component??i._loadedComponent??null,i,Sg(i)),b=Ea(y,a,this.paramsInheritanceStrategy);y.params=Object.freeze(b.params),y.data=Object.freeze(b.data);let U=this.applyRedirects.applyRedirectCommands(h,i.redirectTo,m,y,e);return this.applyRedirects.lineralizeSegments(i,U).pipe(fe(O=>this.processSegment(e,n,r,O.concat(v),s,!1,a)))}matchSegmentAgainstRoute(e,r,n,i,o,s){let a=ix(r,n,i,e,this.urlSerializer);return n.path==="**"&&(r.children={}),a.pipe(Be(c=>c.matched?(e=n._injector??e,this.getChildConfig(e,n,i).pipe(Be(({routes:f})=>{let h=n._loadedInjector??e,{parameters:m,consumedSegments:v,remainingSegments:y}=c,b=new Gr(v,m,Object.freeze(E({},this.urlTree.queryParams)),this.urlTree.fragment,Ig(n),yt(n),n.component??n._loadedComponent??null,n,Sg(n)),U=Ea(b,s,this.paramsInheritanceStrategy);b.params=Object.freeze(U.params),b.data=Object.freeze(U.data);let{segmentGroup:O,slicedSegments:R}=xg(r,v,y,f);if(R.length===0&&O.hasChildren())return this.processChildren(h,f,O,b).pipe(L(me=>new Ye(b,me)));if(f.length===0&&R.length===0)return k(new Ye(b,[]));let ue=yt(n)===o;return this.processSegment(h,f,O,R,ue?q:o,!0,b).pipe(L(me=>new Ye(b,me instanceof Ye?[me]:[])))}))):$r(r)))}getChildConfig(e,r,n){return r.children?k({routes:r.children,injector:e}):r.loadChildren?r._loadedRoutes!==void 0?k({routes:r._loadedRoutes,injector:r._loadedInjector}):ex(e,r,n,this.urlSerializer).pipe(fe(i=>i?this.configLoader.loadChildren(e,r).pipe(be(o=>{r._loadedRoutes=o.routes,r._loadedInjector=o.injector})):rx(r))):k({routes:[],injector:e})}};function hx(t){t.sort((e,r)=>e.value.outlet===q?-1:r.value.outlet===q?1:e.value.outlet.localeCompare(r.value.outlet))}function px(t){let e=t.value.routeConfig;return e&&e.path===""}function Xg(t){let e=[],r=new Set;for(let n of t){if(!px(n)){e.push(n);continue}let i=e.find(o=>n.value.routeConfig===o.value.routeConfig);i!==void 0?(i.children.push(...n.children),r.add(i)):e.push(n)}for(let n of r){let i=Xg(n.children);e.push(new Ye(n.value,i))}return e.filter(n=>!r.has(n))}function Ig(t){return t.data||{}}function Sg(t){return t.resolve||{}}function mx(t,e,r,n,i,o){return fe(s=>dx(t,e,r,n,s.extractedUrl,i,o).pipe(L(({state:a,tree:c})=>K(E({},s),{targetSnapshot:a,urlAfterRedirects:c}))))}function gx(t,e){return fe(r=>{let{targetSnapshot:n,guards:{canActivateChecks:i}}=r;if(!i.length)return k(r);let o=new Set(i.map(c=>c.route)),s=new Set;for(let c of o)if(!s.has(c))for(let f of e0(c))s.add(f);let a=0;return ae(s).pipe(Lt(c=>o.has(c)?vx(c,n,t,e):(c.data=Ea(c,c.parent,t).resolve,k(void 0))),be(()=>a++),pr(1),fe(c=>a===s.size?k(r):qe))})}function e0(t){let e=t.children.map(r=>e0(r)).flat();return[t,...e]}function vx(t,e,r,n){let i=t.routeConfig,o=t._resolve;return i?.title!==void 0&&!zg(i)&&(o[Ji]=i.title),yx(o,t,e,n).pipe(L(s=>(t._resolvedData=s,t.data=Ea(t,t.parent,r).resolve,null)))}function yx(t,e,r,n){let i=nd(t);if(i.length===0)return k({});let o={};return ae(i).pipe(fe(s=>Cx(t[s],e,r,n).pipe(wt(),be(a=>{if(a instanceof Yi)throw xa(new Zr,a);o[s]=a}))),pr(1),yl(o),cn(s=>Qg(s)?qe:fr(s)))}function Cx(t,e,r,n){let i=eo(e)??n,o=Jr(t,i),s=o.resolve?o.resolve(e,r):st(i,()=>o(e,r));return Sn(s)}function ed(t){return Be(e=>{let r=t(e);return r?ae(r).pipe(L(()=>e)):k(e)})}var t0=(()=>{let e=class e{buildTitle(n){let i,o=n.root;for(;o!==void 0;)i=this.getResolvedTitleForRoute(o)??i,o=o.children.find(s=>s.outlet===q);return i}getResolvedTitleForRoute(n){return n.data[Ji]}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:()=>D(Dx),providedIn:"root"});let t=e;return t})(),Dx=(()=>{let e=class e extends t0{constructor(n){super(),this.title=n}updateTitle(n){let i=this.buildTitle(n);i!==void 0&&this.title.setTitle(i)}};e.\u0275fac=function(i){return new(i||e)(M(Cg))},e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),ro=new T("",{providedIn:"root",factory:()=>({})}),wx=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=le({type:e,selectors:[["ng-component"]],standalone:!0,features:[ce],decls:1,vars:0,template:function(i,o){i&1&&p(0,"router-outlet")},dependencies:[Md],encapsulation:2});let t=e;return t})();function Td(t){let e=t.children&&t.children.map(Td),r=e?K(E({},t),{children:e}):E({},t);return!r.component&&!r.loadComponent&&(e||r.loadChildren)&&r.outlet&&r.outlet!==q&&(r.component=wx),r}var Sa=new T(""),Ad=(()=>{let e=class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=D(ea)}loadComponent(n){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return k(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);let i=Sn(n.loadComponent()).pipe(L(n0),be(s=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=s}),dn(()=>{this.componentLoaders.delete(n)})),o=new dr(i,()=>new we).pipe(ur());return this.componentLoaders.set(n,o),o}loadChildren(n,i){if(this.childrenLoaders.get(i))return this.childrenLoaders.get(i);if(i._loadedRoutes)return k({routes:i._loadedRoutes,injector:i._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(i);let s=bx(i,this.compiler,n,this.onLoadEndListener).pipe(dn(()=>{this.childrenLoaders.delete(i)})),a=new dr(s,()=>new we).pipe(ur());return this.childrenLoaders.set(i,a),a}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function bx(t,e,r,n){return Sn(t.loadChildren()).pipe(L(n0),fe(i=>i instanceof Di||Array.isArray(i)?k(i):ae(e.compileModuleAsync(i))),L(i=>{n&&n(t);let o,s,a=!1;return Array.isArray(i)?(s=i,a=!0):(o=i.create(r).injector,s=o.get(Sa,[],{optional:!0,self:!0}).flat()),{routes:s.map(Td),injector:o}}))}function Ex(t){return t&&typeof t=="object"&&"default"in t}function n0(t){return Ex(t)?t.default:t}var Nd=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:()=>D(_x),providedIn:"root"});let t=e;return t})(),_x=(()=>{let e=class e{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,i){return n}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),r0=new T(""),i0=new T("");function xx(t,e,r){let n=t.get(i0),i=t.get(xe);return t.get(oe).runOutsideAngular(()=>{if(!i.startViewTransition||n.skipNextTransition)return n.skipNextTransition=!1,new Promise(f=>setTimeout(f));let o,s=new Promise(f=>{o=f}),a=i.startViewTransition(()=>(o(),Ix(t))),{onViewTransitionCreated:c}=n;return c&&st(t,()=>c({transition:a,from:e,to:r})),s})}function Ix(t){return new Promise(e=>{wu({read:()=>setTimeout(e)},{injector:t})})}var Sx=new T(""),Rd=(()=>{let e=class e{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new we,this.transitionAbortSubject=new we,this.configLoader=D(Ad),this.environmentInjector=D(Pe),this.urlSerializer=D(Xi),this.rootContexts=D(to),this.location=D(jr),this.inputBindingEnabled=D(Ta,{optional:!0})!==null,this.titleStrategy=D(t0),this.options=D(ro,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=D(Nd),this.createViewTransition=D(r0,{optional:!0}),this.navigationErrorHandler=D(Sx,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>k(void 0),this.rootComponentType=null;let n=o=>this.events.next(new ud(o)),i=o=>this.events.next(new dd(o));this.configLoader.onLoadEndListener=i,this.configLoader.onLoadStartListener=n}complete(){this.transitions?.complete()}handleNavigationRequest(n){let i=++this.navigationId;this.transitions?.next(K(E(E({},this.transitions.value),n),{id:i}))}setupNavigations(n,i,o){return this.transitions=new Se({id:0,currentUrlTree:i,currentRawUrl:i,extractedUrl:this.urlHandlingStrategy.extract(i),urlAfterRedirects:this.urlHandlingStrategy.extract(i),rawUrl:i,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:Hi,restoredState:null,currentSnapshot:o.snapshot,targetSnapshot:null,currentRouterState:o,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(Me(s=>s.id!==0),L(s=>K(E({},s),{extractedUrl:this.urlHandlingStrategy.extract(s.rawUrl)})),Be(s=>{let a=!1,c=!1;return k(s).pipe(Be(f=>{if(this.navigationId>s.id)return this.cancelNavigationTransition(s,"",Qe.SupersededByNewNavigation),qe;this.currentTransition=s,this.currentNavigation={id:f.id,initialUrl:f.rawUrl,extractedUrl:f.extractedUrl,targetBrowserUrl:typeof f.extras.browserUrl=="string"?this.urlSerializer.parse(f.extras.browserUrl):f.extras.browserUrl,trigger:f.source,extras:f.extras,previousNavigation:this.lastSuccessfulNavigation?K(E({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let h=!n.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),m=f.extras.onSameUrlNavigation??n.onSameUrlNavigation;if(!h&&m!=="reload"){let v="";return this.events.next(new In(f.id,this.urlSerializer.serialize(f.rawUrl),v,ya.IgnoredSameUrlNavigation)),f.resolve(!1),qe}if(this.urlHandlingStrategy.shouldProcessUrl(f.rawUrl))return k(f).pipe(Be(v=>{let y=this.transitions?.getValue();return this.events.next(new Yr(v.id,this.urlSerializer.serialize(v.extractedUrl),v.source,v.restoredState)),y!==this.transitions?.getValue()?qe:Promise.resolve(v)}),mx(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,this.paramsInheritanceStrategy),be(v=>{s.targetSnapshot=v.targetSnapshot,s.urlAfterRedirects=v.urlAfterRedirects,this.currentNavigation=K(E({},this.currentNavigation),{finalUrl:v.urlAfterRedirects});let y=new Ca(v.id,this.urlSerializer.serialize(v.extractedUrl),this.urlSerializer.serialize(v.urlAfterRedirects),v.targetSnapshot);this.events.next(y)}));if(h&&this.urlHandlingStrategy.shouldProcessUrl(f.currentRawUrl)){let{id:v,extractedUrl:y,source:b,restoredState:U,extras:O}=f,R=new Yr(v,this.urlSerializer.serialize(y),b,U);this.events.next(R);let ue=qg(this.rootComponentType).snapshot;return this.currentTransition=s=K(E({},f),{targetSnapshot:ue,urlAfterRedirects:y,extras:K(E({},O),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=y,k(s)}else{let v="";return this.events.next(new In(f.id,this.urlSerializer.serialize(f.extractedUrl),v,ya.IgnoredByUrlHandlingStrategy)),f.resolve(!1),qe}}),be(f=>{let h=new sd(f.id,this.urlSerializer.serialize(f.extractedUrl),this.urlSerializer.serialize(f.urlAfterRedirects),f.targetSnapshot);this.events.next(h)}),L(f=>(this.currentTransition=s=K(E({},f),{guards:P_(f.targetSnapshot,f.currentSnapshot,this.rootContexts)}),s)),z_(this.environmentInjector,f=>this.events.next(f)),be(f=>{if(s.guardsResult=f.guardsResult,f.guardsResult&&typeof f.guardsResult!="boolean")throw xa(this.urlSerializer,f.guardsResult);let h=new ad(f.id,this.urlSerializer.serialize(f.extractedUrl),this.urlSerializer.serialize(f.urlAfterRedirects),f.targetSnapshot,!!f.guardsResult);this.events.next(h)}),Me(f=>f.guardsResult?!0:(this.cancelNavigationTransition(f,"",Qe.GuardRejected),!1)),ed(f=>{if(f.guards.canActivateChecks.length)return k(f).pipe(be(h=>{let m=new ld(h.id,this.urlSerializer.serialize(h.extractedUrl),this.urlSerializer.serialize(h.urlAfterRedirects),h.targetSnapshot);this.events.next(m)}),Be(h=>{let m=!1;return k(h).pipe(gx(this.paramsInheritanceStrategy,this.environmentInjector),be({next:()=>m=!0,complete:()=>{m||this.cancelNavigationTransition(h,"",Qe.NoDataFromResolver)}}))}),be(h=>{let m=new cd(h.id,this.urlSerializer.serialize(h.extractedUrl),this.urlSerializer.serialize(h.urlAfterRedirects),h.targetSnapshot);this.events.next(m)}))}),ed(f=>{let h=m=>{let v=[];m.routeConfig?.loadComponent&&!m.routeConfig._loadedComponent&&v.push(this.configLoader.loadComponent(m.routeConfig).pipe(be(y=>{m.component=y}),L(()=>{})));for(let y of m.children)v.push(...h(y));return v};return hi(h(f.targetSnapshot.root)).pipe(un(null),Vt(1))}),ed(()=>this.afterPreactivation()),Be(()=>{let{currentSnapshot:f,targetSnapshot:h}=s,m=this.createViewTransition?.(this.environmentInjector,f.root,h.root);return m?ae(m).pipe(L(()=>s)):k(s)}),L(f=>{let h=A_(n.routeReuseStrategy,f.targetSnapshot,f.currentRouterState);return this.currentTransition=s=K(E({},f),{targetRouterState:h}),this.currentNavigation.targetRouterState=h,s}),be(()=>{this.events.next(new Wi)}),k_(this.rootContexts,n.routeReuseStrategy,f=>this.events.next(f),this.inputBindingEnabled),Vt(1),be({next:f=>{a=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Ke(f.id,this.urlSerializer.serialize(f.extractedUrl),this.urlSerializer.serialize(f.urlAfterRedirects))),this.titleStrategy?.updateTitle(f.targetRouterState.snapshot),f.resolve(!0)},complete:()=>{a=!0}}),bl(this.transitionAbortSubject.pipe(be(f=>{throw f}))),dn(()=>{!a&&!c&&this.cancelNavigationTransition(s,"",Qe.SupersededByNewNavigation),this.currentTransition?.id===s.id&&(this.currentNavigation=null,this.currentTransition=null)}),cn(f=>{if(c=!0,Yg(f))this.events.next(new Xt(s.id,this.urlSerializer.serialize(s.extractedUrl),f.message,f.cancellationCode)),O_(f)?this.events.next(new Qr(f.url,f.navigationBehaviorOptions)):s.resolve(!1);else{let h=new zi(s.id,this.urlSerializer.serialize(s.extractedUrl),f,s.targetSnapshot??void 0);try{let m=st(this.environmentInjector,()=>this.navigationErrorHandler?.(h));if(m instanceof Yi){let{message:v,cancellationCode:y}=xa(this.urlSerializer,m);this.events.next(new Xt(s.id,this.urlSerializer.serialize(s.extractedUrl),v,y)),this.events.next(new Qr(m.redirectTo,m.navigationBehaviorOptions))}else{this.events.next(h);let v=n.errorHandler(f);s.resolve(!!v)}}catch(m){this.options.resolveNavigationPromiseOnError?s.resolve(!1):s.reject(m)}}return qe}))}))}cancelNavigationTransition(n,i,o){let s=new Xt(n.id,this.urlSerializer.serialize(n.extractedUrl),i,o);this.events.next(s),n.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let n=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),i=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return n.toString()!==i?.toString()&&!this.currentNavigation?.extras.skipLocationChange}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function Mx(t){return t!==Hi}var Tx=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:()=>D(Ax),providedIn:"root"});let t=e;return t})(),Id=class{shouldDetach(e){return!1}store(e,r){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,r){return e.routeConfig===r.routeConfig}},Ax=(()=>{let e=class e extends Id{};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=mt(e)))(o||e)}})(),e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),o0=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:()=>D(Nx),providedIn:"root"});let t=e;return t})(),Nx=(()=>{let e=class e extends o0{constructor(){super(...arguments),this.location=D(jr),this.urlSerializer=D(Xi),this.options=D(ro,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=D(Nd),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new en,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=qg(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(n){return this.location.subscribe(i=>{i.type==="popstate"&&n(i.url,i.state)})}handleRouterEvent(n,i){if(n instanceof Yr)this.stateMemento=this.createStateMemento();else if(n instanceof In)this.rawUrlTree=i.initialUrl;else if(n instanceof Ca){if(this.urlUpdateStrategy==="eager"&&!i.extras.skipLocationChange){let o=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl);this.setBrowserUrl(i.targetBrowserUrl??o,i)}}else n instanceof Wi?(this.currentUrlTree=i.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl),this.routerState=i.targetRouterState,this.urlUpdateStrategy==="deferred"&&!i.extras.skipLocationChange&&this.setBrowserUrl(i.targetBrowserUrl??this.rawUrlTree,i)):n instanceof Xt&&(n.code===Qe.GuardRejected||n.code===Qe.NoDataFromResolver)?this.restoreHistory(i):n instanceof zi?this.restoreHistory(i,!0):n instanceof Ke&&(this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId)}setBrowserUrl(n,i){let o=n instanceof en?this.urlSerializer.serialize(n):n;if(this.location.isCurrentPathEqualTo(o)||i.extras.replaceUrl){let s=this.browserPageId,a=E(E({},i.extras.state),this.generateNgRouterState(i.id,s));this.location.replaceState(o,"",a)}else{let s=E(E({},i.extras.state),this.generateNgRouterState(i.id,this.browserPageId+1));this.location.go(o,"",s)}}restoreHistory(n,i=!1){if(this.canceledNavigationResolution==="computed"){let o=this.browserPageId,s=this.currentPageId-o;s!==0?this.location.historyGo(s):this.currentUrlTree===n.finalUrl&&s===0&&(this.resetState(n),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(i&&this.resetState(n),this.resetUrlToCurrentUrlTree())}resetState(n){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(n,i){return this.canceledNavigationResolution==="computed"?{navigationId:n,\u0275routerPageId:i}:{navigationId:n}}};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=mt(e)))(o||e)}})(),e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Bi=function(t){return t[t.COMPLETE=0]="COMPLETE",t[t.FAILED=1]="FAILED",t[t.REDIRECTING=2]="REDIRECTING",t}(Bi||{});function s0(t,e){t.events.pipe(Me(r=>r instanceof Ke||r instanceof Xt||r instanceof zi||r instanceof In),L(r=>r instanceof Ke||r instanceof In?Bi.COMPLETE:(r instanceof Xt?r.code===Qe.Redirect||r.code===Qe.SupersededByNewNavigation:!1)?Bi.REDIRECTING:Bi.FAILED),Me(r=>r!==Bi.REDIRECTING),Vt(1)).subscribe(()=>{e()})}function Rx(t){throw t}var Ox={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},kx={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},Ct=(()=>{let e=class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.console=D(Ys),this.stateManager=D(o0),this.options=D(ro,{optional:!0})||{},this.pendingTasks=D(zt),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=D(Rd),this.urlSerializer=D(Xi),this.location=D(jr),this.urlHandlingStrategy=D(Nd),this._events=new we,this.errorHandler=this.options.errorHandler||Rx,this.navigated=!1,this.routeReuseStrategy=D(Tx),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=D(Sa,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!D(Ta,{optional:!0}),this.eventsSubscription=new ye,this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:n=>{this.console.warn(n)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){let n=this.navigationTransitions.events.subscribe(i=>{try{let o=this.navigationTransitions.currentTransition,s=this.navigationTransitions.currentNavigation;if(o!==null&&s!==null){if(this.stateManager.handleRouterEvent(i,s),i instanceof Xt&&i.code!==Qe.Redirect&&i.code!==Qe.SupersededByNewNavigation)this.navigated=!0;else if(i instanceof Ke)this.navigated=!0;else if(i instanceof Qr){let a=i.navigationBehaviorOptions,c=this.urlHandlingStrategy.merge(i.url,o.currentRawUrl),f=E({browserUrl:o.extras.browserUrl,info:o.extras.info,skipLocationChange:o.extras.skipLocationChange,replaceUrl:o.extras.replaceUrl||this.urlUpdateStrategy==="eager"||Mx(o.source)},a);this.scheduleNavigation(c,Hi,null,f,{resolve:o.resolve,reject:o.reject,promise:o.promise})}}Fx(i)&&this._events.next(i)}catch(o){this.navigationTransitions.transitionAbortSubject.next(o)}});this.eventsSubscription.add(n)}resetRootComponentType(n){this.routerState.root.component=n,this.navigationTransitions.rootComponentType=n}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Hi,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((n,i)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(n,"popstate",i)},0)})}navigateToSyncWithBrowser(n,i,o){let s={replaceUrl:!0},a=o?.navigationId?o:null;if(o){let f=E({},o);delete f.navigationId,delete f.\u0275routerPageId,Object.keys(f).length!==0&&(s.state=f)}let c=this.parseUrl(n);this.scheduleNavigation(c,i,a,s)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(n){this.config=n.map(Td),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(n,i={}){let{relativeTo:o,queryParams:s,fragment:a,queryParamsHandling:c,preserveFragment:f}=i,h=f?this.currentUrlTree.fragment:a,m=null;switch(c??this.options.defaultQueryParamsHandling){case"merge":m=E(E({},this.currentUrlTree.queryParams),s);break;case"preserve":m=this.currentUrlTree.queryParams;break;default:m=s||null}m!==null&&(m=this.removeEmptyProps(m));let v;try{let y=o?o.snapshot:this.routerState.snapshot.root;v=Ug(y)}catch{(typeof n[0]!="string"||n[0][0]!=="/")&&(n=[]),v=this.currentUrlTree.root}return Bg(v,n,m,h??null)}navigateByUrl(n,i={skipLocationChange:!1}){let o=tr(n)?n:this.parseUrl(n),s=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(s,Hi,null,i)}navigate(n,i={skipLocationChange:!1}){return Px(n),this.navigateByUrl(this.createUrlTree(n,i),i)}serializeUrl(n){return this.urlSerializer.serialize(n)}parseUrl(n){try{return this.urlSerializer.parse(n)}catch{return this.urlSerializer.parse("/")}}isActive(n,i){let o;if(i===!0?o=E({},Ox):i===!1?o=E({},kx):o=i,tr(n))return Dg(this.currentUrlTree,n,o);let s=this.parseUrl(n);return Dg(this.currentUrlTree,s,o)}removeEmptyProps(n){return Object.entries(n).reduce((i,[o,s])=>(s!=null&&(i[o]=s),i),{})}scheduleNavigation(n,i,o,s,a){if(this.disposed)return Promise.resolve(!1);let c,f,h;a?(c=a.resolve,f=a.reject,h=a.promise):h=new Promise((v,y)=>{c=v,f=y});let m=this.pendingTasks.add();return s0(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(m))}),this.navigationTransitions.handleNavigationRequest({source:i,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:n,extras:s,resolve:c,reject:f,promise:h,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),h.catch(v=>Promise.reject(v))}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function Px(t){for(let e=0;e{let e=class e{constructor(n,i,o,s,a,c){this.router=n,this.route=i,this.tabIndexAttribute=o,this.renderer=s,this.el=a,this.locationStrategy=c,this.href=null,this.onChanges=new we,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1,this.routerLinkInput=null;let f=a.nativeElement.tagName?.toLowerCase();this.isAnchorElement=f==="a"||f==="area",this.isAnchorElement?this.subscription=n.events.subscribe(h=>{h instanceof Ke&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(n){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",n)}ngOnChanges(n){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(n){n==null?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(tr(n)?this.routerLinkInput=n:this.routerLinkInput=Array.isArray(n)?n:[n],this.setTabIndexIfNotOnNativeEl("0"))}onClick(n,i,o,s,a){let c=this.urlTree;if(c===null||this.isAnchorElement&&(n!==0||i||o||s||a||typeof this.target=="string"&&this.target!="_self"))return!0;let f={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(c,f),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let n=this.urlTree;this.href=n!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(n)):null;let i=this.href===null?null:Op(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",i)}applyAttributeValue(n,i){let o=this.renderer,s=this.el.nativeElement;i!==null?o.setAttribute(s,n,i):o.removeAttribute(s,n)}get urlTree(){return this.routerLinkInput===null?null:tr(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}};e.\u0275fac=function(i){return new(i||e)(S(Ct),S(tn),Yc("tabindex"),S(ct),S(_e),S(Kt))},e.\u0275dir=ie({type:e,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(i,o){i&1&&A("click",function(a){return o.onClick(a.button,a.ctrlKey,a.shiftKey,a.altKey,a.metaKey)}),i&2&&Ze("target",o.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",Zt],skipLocationChange:[2,"skipLocationChange","skipLocationChange",Zt],replaceUrl:[2,"replaceUrl","replaceUrl",Zt],routerLink:"routerLink"},standalone:!0,features:[Cu,Gt]});let t=e;return t})(),a0=(()=>{let e=class e{get isActive(){return this._isActive}constructor(n,i,o,s,a){this.router=n,this.element=i,this.renderer=o,this.cdr=s,this.link=a,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new he,this.routerEventsSubscription=n.events.subscribe(c=>{c instanceof Ke&&this.update()})}ngAfterContentInit(){k(this.links.changes,k(null)).pipe(ln()).subscribe(n=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();let n=[...this.links.toArray(),this.link].filter(i=>!!i).map(i=>i.onChanges);this.linkInputChangesSubscription=ae(n).pipe(ln()).subscribe(i=>{this._isActive!==this.isLinkActive(this.router)(i)&&this.update()})}set routerLinkActive(n){let i=Array.isArray(n)?n:n.split(" ");this.classes=i.filter(o=>!!o)}ngOnChanges(n){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{let n=this.hasActiveLinks();this.classes.forEach(i=>{n?this.renderer.addClass(this.element.nativeElement,i):this.renderer.removeClass(this.element.nativeElement,i)}),n&&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!==n&&(this._isActive=n,this.cdr.markForCheck(),this.isActiveChange.emit(n))})}isLinkActive(n){let i=Lx(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return o=>{let s=o.urlTree;return s?n.isActive(s,i):!1}}hasActiveLinks(){let n=this.isLinkActive(this.router);return this.link&&n(this.link)||this.links.some(n)}};e.\u0275fac=function(i){return new(i||e)(S(Ct),S(_e),S(ct),S(bn),S(Ne,8))},e.\u0275dir=ie({type:e,selectors:[["","routerLinkActive",""]],contentQueries:function(i,o,s){if(i&1&&Em(s,Ne,5),i&2){let a;_m(a=xm())&&(o.links=a)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[Gt]});let t=e;return t})();function Lx(t){return!!t.paths}var Ma=class{};var Vx=(()=>{let e=class e{constructor(n,i,o,s,a){this.router=n,this.injector=o,this.preloadingStrategy=s,this.loader=a}setUpPreloading(){this.subscription=this.router.events.pipe(Me(n=>n instanceof Ke),Lt(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(n,i){let o=[];for(let s of i){s.providers&&!s._injector&&(s._injector=Ws(s.providers,n,`Route: ${s.path}`));let a=s._injector??n,c=s._loadedInjector??a;(s.loadChildren&&!s._loadedRoutes&&s.canLoad===void 0||s.loadComponent&&!s._loadedComponent)&&o.push(this.preloadConfig(a,s)),(s.children||s._loadedRoutes)&&o.push(this.processRoutes(c,s.children??s._loadedRoutes))}return ae(o).pipe(ln())}preloadConfig(n,i){return this.preloadingStrategy.preload(i,()=>{let o;i.loadChildren&&i.canLoad===void 0?o=this.loader.loadChildren(n,i):o=k(null);let s=o.pipe(fe(a=>a===null?k(void 0):(i._loadedRoutes=a.routes,i._loadedInjector=a.injector,this.processRoutes(a.injector??n,a.routes))));if(i.loadComponent&&!i._loadedComponent){let a=this.loader.loadComponent(i);return ae([s,a]).pipe(ln())}else return s})}};e.\u0275fac=function(i){return new(i||e)(M(Ct),M(ea),M(Pe),M(Ma),M(Ad))},e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),l0=new T(""),jx=(()=>{let e=class e{constructor(n,i,o,s,a={}){this.urlSerializer=n,this.transitions=i,this.viewportScroller=o,this.zone=s,this.options=a,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},a.scrollPositionRestoration||="disabled",a.anchorScrolling||="disabled"}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof Yr?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=n.navigationTrigger,this.restoredId=n.restoredState?n.restoredState.navigationId:0):n instanceof Ke?(this.lastId=n.id,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.urlAfterRedirects).fragment)):n instanceof In&&n.code===ya.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof Da&&(n.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(n.position):n.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(n.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(n,i){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new Da(n,this.lastSource==="popstate"?this.store[this.restoredId]:null,i))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}};e.\u0275fac=function(i){Gp()},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})();function Ux(t){return t.routerState.root}function io(t,e){return{\u0275kind:t,\u0275providers:e}}function Bx(){let t=D(ot);return e=>{let r=t.get(Wt);if(e!==r.components[0])return;let n=t.get(Ct),i=t.get(c0);t.get(Od)===1&&n.initialNavigation(),t.get(u0,null,W.Optional)?.setUpPreloading(),t.get(l0,null,W.Optional)?.init(),n.resetRootComponentType(r.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}var c0=new T("",{factory:()=>new we}),Od=new T("",{providedIn:"root",factory:()=>1});function $x(){return io(2,[{provide:Od,useValue:0},{provide:Js,multi:!0,deps:[ot],useFactory:e=>{let r=e.get(Bm,Promise.resolve());return()=>r.then(()=>new Promise(n=>{let i=e.get(Ct),o=e.get(c0);s0(i,()=>{n(!0)}),e.get(Rd).afterPreactivation=()=>(n(!0),o.closed?k(void 0):o),i.initialNavigation()}))}}])}function Hx(){return io(3,[{provide:Js,multi:!0,useFactory:()=>{let e=D(Ct);return()=>{e.setUpLocationChangeListener()}}},{provide:Od,useValue:2}])}var u0=new T("");function qx(t){return io(0,[{provide:u0,useExisting:Vx},{provide:Ma,useExisting:t}])}function Gx(){return io(8,[_g,{provide:Ta,useExisting:_g}])}function zx(t){let e=[{provide:r0,useValue:xx},{provide:i0,useValue:E({skipNextTransition:!!t?.skipInitialTransition},t)}];return io(9,e)}var Mg=new T("ROUTER_FORROOT_GUARD"),Wx=[jr,{provide:Xi,useClass:Zr},Ct,to,{provide:tn,useFactory:Ux,deps:[Ct]},Ad,[]],kd=(()=>{let e=class e{constructor(n){}static forRoot(n,i){return{ngModule:e,providers:[Wx,[],{provide:Sa,multi:!0,useValue:n},{provide:Mg,useFactory:Kx,deps:[[Ct,new Ts,new kc]]},{provide:ro,useValue:i||{}},i?.useHash?Yx():Qx(),Zx(),i?.preloadingStrategy?qx(i.preloadingStrategy).\u0275providers:[],i?.initialNavigation?Jx(i):[],i?.bindToComponentInputs?Gx().\u0275providers:[],i?.enableViewTransitions?zx().\u0275providers:[],Xx()]}}static forChild(n){return{ngModule:e,providers:[{provide:Sa,multi:!0,useValue:n}]}}};e.\u0275fac=function(i){return new(i||e)(M(Mg,8))},e.\u0275mod=We({type:e}),e.\u0275inj=ze({});let t=e;return t})();function Zx(){return{provide:l0,useFactory:()=>{let t=D(Gm),e=D(oe),r=D(ro),n=D(Rd),i=D(Xi);return r.scrollOffset&&t.setOffset(r.scrollOffset),new jx(i,n,t,e,r)}}}function Yx(){return{provide:Kt,useClass:Hm}}function Qx(){return{provide:Kt,useClass:Pu}}function Kx(t){return"guarded"}function Jx(t){return[t.initialNavigation==="disabled"?Hx().\u0275providers:[],t.initialNavigation==="enabledBlocking"?$x().\u0275providers:[]]}var Tg=new T("");function Xx(){return[{provide:Tg,useFactory:Bx},{provide:Xs,multi:!0,useExisting:Tg}]}var tI=()=>["/pro"],d0=(()=>{let e=class e{constructor(){this.years=new Date().getFullYear()-2009}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=le({type:e,selectors:[["app-footer"]],standalone:!0,features:[ce],decls:94,vars:3,consts:[[1,"container-fluid","mt-5"],[1,"p-5"],[1,"container"],[1,"row"],[1,"col-xs-12","col-md-4","text-center"],["src","resources/portrait_600.jpg","alt","Portrait",1,"img-fluid","img-thumbnail","mb-5","portrait"],[1,"col-xs-12","col-md-8"],[3,"routerLink"],[1,"fa-solid","fa-heart","githubheart"],["href","https://github.com/sponsors/danielpalme","target","_blank"],[1,"col-md-3","offset-md-2"],["href","https://github.com/danielpalme/ReportGenerator","target","_blank"],["href","https://github.com/danielpalme/ReportGenerator/wiki","target","_blank"],["href","https://github.com/danielpalme/ReportGenerator/wiki/FAQ","target","_blank"],[1,"col-md-4","mt-4","mt-md-0"],["href","https://www.nuget.org/packages/ReportGenerator","target","_blank"],["href","https://www.nuget.org/packages/dotnet-reportgenerator-globaltool","target","_blank"],["href","https://www.nuget.org/packages/ReportGenerator.Core","target","_blank"],["href","https://github.com/marketplace/actions/reportgenerator","target","_blank"],["href","https://marketplace.visualstudio.com/items?itemName=Palmmedia.reportgenerator","target","_blank"],[1,"col-md-3","mt-4","mt-md-0"],[1,"fa-brands","fa-github"],["href","https://twitter.com/danielpalme","target","_blank"],[1,"fa-brands","fa-twitter"],["href","https://www.palmmedia.de/Privacy","target","_blank"],["href","https://www.palmmedia.de/Imprint","target","_blank"]],template:function(i,o){i&1&&(u(0,"footer",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4),p(5,"img",5),d(),u(6,"div",6)(7,"h2"),l(8,"Who's behind"),d(),u(9,"p"),l(10,"My name is Daniel Palme. I'm a software developer from Germany."),d(),u(11,"p"),l(12," Back in 2009 I wanted to create code coverage reports based on "),u(13,"i"),l(14,"PartCover"),d(),l(15," files."),p(16,"br"),l(17," Since no existing tool was able to merge several coverage files and generate a visual appealing report, I decided to create my own."),p(18,"br"),l(19),u(20,"i"),l(21,"ReportGenerator"),d(),l(22,". "),d(),u(23,"p"),l(24," You can support the ongoing maintenance by buying a "),u(25,"a",7),l(26,"PRO license"),d(),l(27," or by becoming a "),p(28,"i",8),l(29,"\xA0"),u(30,"a",9),l(31,"GitHub sponsor"),d(),l(32,". "),d()()()()(),u(33,"div",2)(34,"div",3),p(35,"hr"),d()(),u(36,"div",1)(37,"div",2)(38,"div",3)(39,"div",10)(40,"p")(41,"b"),l(42,"GitHub"),d()(),u(43,"a",11),l(44,"Source code"),d(),p(45,"br"),u(46,"a",12),l(47,"Wiki"),d(),p(48,"br"),u(49,"a",13),l(50,"FAQ"),d()(),u(51,"div",14)(52,"p")(53,"b"),l(54,"Download"),d()(),u(55,"i"),l(56,"NuGet"),d(),p(57,"br"),u(58,"a",15),l(59,"ReportGenerator"),d(),p(60,"br"),u(61,"a",16),l(62,"dotnet-reportgenerator-globaltool"),d(),p(63,"br"),u(64,"a",17),l(65,"ReportGenerator.Core"),d(),p(66,"br")(67,"br"),u(68,"i"),l(69,"Integration"),d(),p(70,"br"),u(71,"a",18),l(72,"GitHub actions"),d(),p(73,"br"),u(74,"a",19),l(75,"Azure DevOps"),d()(),u(76,"div",20)(77,"p")(78,"b"),l(79,"Community"),d()(),u(80,"a",11),p(81,"i",21),l(82," GitHub"),d(),p(83,"br"),u(84,"a",22),p(85,"i",23),l(86," Twitter"),d(),p(87,"br")(88,"br"),u(89,"a",24),l(90,"Privacy"),d(),p(91,"br"),u(92,"a",25),l(93,"Imprint"),d()()()()()()),i&2&&(g(19),je(" Fast forward ",o.years," years, I'm still maintaining "),g(6),C("routerLink",H(2,tI)))},dependencies:[Ne],styles:["footer[_ngcontent-%COMP%]{background-color:#464646}footer[_ngcontent-%COMP%], a[_ngcontent-%COMP%]{color:#fff}.portrait[_ngcontent-%COMP%]{max-height:300px}"]});let t=e;return t})();var f0=()=>["/"],nI=t=>({show:t}),Xr=()=>["link-active"],h0=()=>({exact:!0}),rI=()=>["/features"],iI=()=>["/getstarted"],oI=()=>["/usage"],sI=()=>["/contact"],aI=()=>["/pro"],p0=(()=>{let e=class e{constructor(){this.isExpanded=!1}collapse(){this.isExpanded=!1}toggle(){this.isExpanded=!this.isExpanded}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=le({type:e,selectors:[["app-nav-menu"]],standalone:!0,features:[ce],decls:42,vars:34,consts:[[1,"mb-5"],[1,"navbar","fixed-top","navbar-expand-sm","navbar-toggleable-sm","navbar-light","bg-white","border-bottom","box-shadow","mb-3"],[1,"container-xxl","flex-wrap","flex-md-nowrap"],[1,"navbar-brand",3,"routerLink"],["src","resources/logo.svg","height","40","alt","Icon",1,"me-2"],[1,"d-sm-none","d-md-none","d-lg-inline","ms-2"],["type","button","data-toggle","collapse","data-target",".navbar-collapse","aria-label","Toggle navigation",1,"navbar-toggler",3,"click"],[1,"navbar-toggler-icon"],[1,"navbar-collapse","collapse","d-sm-inline-flex",3,"ngClass"],[1,"navbar-nav","flex-grow"],[1,"nav-item",3,"routerLinkActive","routerLinkActiveOptions"],[1,"nav-link","text-dark",3,"routerLink"],[1,"nav-item",3,"routerLinkActive"],[1,"nav-link","text-dark","text-nowrap",3,"routerLink"],[1,"pro-button"],[1,"d-md-none","text-secondary"],[1,"navbar-nav","flex-row","flex-wrap","ms-md-auto","d-sm-none","d-md-flex"],[1,"nav-item","col-6","col-md-auto"],["href","https://github.com/danielpalme/ReportGenerator","target","_blank","title","GitHub",1,"nav-link","text-dark"],[1,"fa-brands","fa-github"],[1,"d-inline","d-sm-none","ms-2"],["href","https://twitter.com/danielpalme","target","_blank","title","Twitter",1,"nav-link","text-dark"],[1,"fa-brands","fa-twitter"]],template:function(i,o){i&1&&(u(0,"header",0)(1,"nav",1)(2,"div",2)(3,"a",3),p(4,"img",4),u(5,"span",5),l(6,"ReportGenerator"),d()(),u(7,"button",6),A("click",function(){return o.toggle()}),p(8,"span",7),d(),u(9,"div",8)(10,"ul",9)(11,"li",10)(12,"a",11),l(13,"Home"),d()(),u(14,"li",10)(15,"a",11),l(16,"Features"),d()(),u(17,"li",12)(18,"a",13),l(19,"Get started"),d()(),u(20,"li",12)(21,"a",11),l(22,"Usage"),d()(),u(23,"li",12)(24,"a",11),l(25,"Contact"),d()(),u(26,"li",12)(27,"a",11)(28,"span",14),l(29,"PRO"),d()()()(),p(30,"hr",15),u(31,"ul",16)(32,"li",17)(33,"a",18),p(34,"i",19),u(35,"span",20),l(36,"GitHub"),d()()(),u(37,"li",17)(38,"a",21),p(39,"i",22),u(40,"span",20),l(41,"Twitter"),d()()()()()()()()),i&2&&(g(3),C("routerLink",H(17,f0)),g(4),Ze("aria-expanded",o.isExpanded),g(2),C("ngClass",Kn(18,nI,o.isExpanded)),g(2),C("routerLinkActive",H(20,Xr))("routerLinkActiveOptions",H(21,h0)),g(),C("routerLink",H(22,f0)),g(2),C("routerLinkActive",H(23,Xr))("routerLinkActiveOptions",H(24,h0)),g(),C("routerLink",H(25,rI)),g(2),C("routerLinkActive",H(26,Xr)),g(),C("routerLink",H(27,iI)),g(2),C("routerLinkActive",H(28,Xr)),g(),C("routerLink",H(29,oI)),g(2),C("routerLinkActive",H(30,Xr)),g(),C("routerLink",H(31,sI)),g(2),C("routerLinkActive",H(32,Xr)),g(),C("routerLink",H(33,aI)))},dependencies:[Ne,Ur,a0],styles:[".box-shadow[_ngcontent-%COMP%]{box-shadow:0 .25rem .75rem #0000000d}@keyframes _ngcontent-%COMP%_pro-button-animation{0%{background-color:var(--rg-primary-color);background-image:linear-gradient(50deg,var(--rg-gradient-from) 0%,var(--rg-gradient-to) 100%)}50%{background-color:vvar(--rg-primary-hover-color);background-image:linear-gradient(50deg,var(--rg-gradient-hover-from) 0%,var(--rg-gradient-hover-from) 100%);box-shadow:0 0 6px 1px var(--rg-primary-color)}to{background-color:var(--rg-primary-color);background-image:linear-gradient(50deg,var(--rg-gradient-from) 0%,var(--rg-gradient-to) 100%)}}.pro-button[_ngcontent-%COMP%]{animation-name:_ngcontent-%COMP%_pro-button-animation;animation-duration:2s;animation-iteration-count:2}.pro-button[_ngcontent-%COMP%]:hover, .link-active[_ngcontent-%COMP%] .pro-button[_ngcontent-%COMP%]{background-color:var(--rg-primary-hover-color);background-image:linear-gradient(50deg,var(--rg-gradient-hover-from) 0%,var(--rg-gradient-hover-from) 100%);box-shadow:0 0 6px 1px var(--rg-primary-color)}.nav-link[_ngcontent-%COMP%]{text-transform:uppercase;font-weight:500}.nav-link[_ngcontent-%COMP%]:hover{text-decoration:underline;text-underline-offset:2px}.link-active[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:var(--rg-primary-hover-color)!important;font-weight:400}"]});let t=e;return t})();var m0=(()=>{let e=class e{constructor(n,i,o){this.dom=n,this.router=i,this.activatedRoute=o}ngOnInit(){this.router.events.pipe(Me(n=>n instanceof Ke),L(()=>this.activatedRoute),L(n=>{for(;n.firstChild;)n=n.firstChild;return n}),Me(n=>n.outlet==="primary"),fe(n=>n.data)).subscribe(n=>{let i=`${window.location.protocol}//${window.location.hostname}`;n.canonical?this.updateCanonicalUrl(i+n.canonical):this.updateCanonicalUrl(i+this.router.url)})}updateCanonicalUrl(n){let i=this.dom.getElementsByTagName("head")[0];var o=this.dom.querySelector("link[rel='canonical']")||null;o==null&&(o=this.dom.createElement("link"),i.appendChild(o)),o.setAttribute("rel","canonical"),o.setAttribute("href",n)}};e.\u0275fac=function(i){return new(i||e)(S(xe),S(Ct),S(tn))},e.\u0275cmp=le({type:e,selectors:[["app-root"]],standalone:!0,features:[ce],decls:3,vars:0,template:function(i,o){i&1&&p(0,"app-nav-menu")(1,"router-outlet")(2,"app-footer")},dependencies:[p0,Md,d0],encapsulation:2});let t=e;return t})();var _0=(()=>{let e=class e{constructor(n,i){this._renderer=n,this._elementRef=i,this.onChange=o=>{},this.onTouched=()=>{}}setProperty(n,i){this._renderer.setProperty(this._elementRef.nativeElement,n,i)}registerOnTouched(n){this.onTouched=n}registerOnChange(n){this.onChange=n}setDisabledState(n){this.setProperty("disabled",n)}};e.\u0275fac=function(i){return new(i||e)(S(ct),S(_e))},e.\u0275dir=ie({type:e});let t=e;return t})(),Va=(()=>{let e=class e extends _0{};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=mt(e)))(o||e)}})(),e.\u0275dir=ie({type:e,features:[Fe]});let t=e;return t})(),uo=new T("");var lI={provide:uo,useExisting:Ge(()=>Ot),multi:!0};function cI(){let t=Nt()?Nt().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}var uI=new T(""),Ot=(()=>{let e=class e extends _0{constructor(n,i,o){super(n,i),this._compositionMode=o,this._composing=!1,this._compositionMode==null&&(this._compositionMode=!cI())}writeValue(n){let i=n??"";this.setProperty("value",i)}_handleInput(n){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(n)}_compositionStart(){this._composing=!0}_compositionEnd(n){this._composing=!1,this._compositionMode&&this.onChange(n)}};e.\u0275fac=function(i){return new(i||e)(S(ct),S(_e),S(uI,8))},e.\u0275dir=ie({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(i,o){i&1&&A("input",function(a){return o._handleInput(a.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(a){return o._compositionEnd(a.target.value)})},features:[vt([lI]),Fe]});let t=e;return t})();function Ld(t){return t==null||(typeof t=="string"||Array.isArray(t))&&t.length===0}function dI(t){return t!=null&&typeof t.length=="number"}var oi=new T(""),x0=new T(""),fI=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;function hI(t){return Ld(t.value)?{required:!0}:null}function pI(t){return Ld(t.value)||fI.test(t.value)?null:{email:!0}}function mI(t){return e=>dI(e.value)&&e.value.length>t?{maxlength:{requiredLength:t,actualLength:e.value.length}}:null}function gI(t){if(!t)return Pd;let e,r;return typeof t=="string"?(r="",t.charAt(0)!=="^"&&(r+="^"),r+=t,t.charAt(t.length-1)!=="$"&&(r+="$"),e=new RegExp(r)):(r=t.toString(),e=t),n=>{if(Ld(n.value))return null;let i=n.value;return e.test(i)?null:{pattern:{requiredPattern:r,actualValue:i}}}}function Pd(t){return null}function I0(t){return t!=null}function S0(t){return Jn(t)?ae(t):t}function M0(t){let e={};return t.forEach(r=>{e=r!=null?E(E({},e),r):e}),Object.keys(e).length===0?null:e}function T0(t,e){return e.map(r=>r(t))}function vI(t){return!t.validate}function A0(t){return t.map(e=>vI(e)?e:r=>e.validate(r))}function yI(t){if(!t)return null;let e=t.filter(I0);return e.length==0?null:function(r){return M0(T0(r,e))}}function Vd(t){return t!=null?yI(A0(t)):null}function CI(t){if(!t)return null;let e=t.filter(I0);return e.length==0?null:function(r){let n=T0(r,e).map(S0);return vl(n).pipe(L(M0))}}function jd(t){return t!=null?CI(A0(t)):null}function g0(t,e){return t===null?[e]:Array.isArray(t)?[...t,e]:[t,e]}function DI(t){return t._rawValidators}function wI(t){return t._rawAsyncValidators}function Fd(t){return t?Array.isArray(t)?t:[t]:[]}function Ra(t,e){return Array.isArray(t)?t.includes(e):t===e}function v0(t,e){let r=Fd(e);return Fd(t).forEach(i=>{Ra(r,i)||r.push(i)}),r}function y0(t,e){return Fd(e).filter(r=>!Ra(t,r))}var Oa=class{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(e){this._rawValidators=e||[],this._composedValidatorFn=Vd(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=jd(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(e){this._onDestroyCallbacks.push(e)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(e=>e()),this._onDestroyCallbacks=[]}reset(e=void 0){this.control&&this.control.reset(e)}hasError(e,r){return this.control?this.control.hasError(e,r):!1}getError(e,r){return this.control?this.control.getError(e,r):null}},ni=class extends Oa{get formDirective(){return null}get path(){return null}},ri=class extends Oa{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}},ka=class{constructor(e){this._cd=e}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}},bI={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},uP=K(E({},bI),{"[class.ng-submitted]":"isSubmitted"}),Mn=(()=>{let e=class e extends ka{constructor(n){super(n)}};e.\u0275fac=function(i){return new(i||e)(S(ri,2))},e.\u0275dir=ie({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,o){i&2&&Zs("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)},features:[Fe]});let t=e;return t})(),Tn=(()=>{let e=class e extends ka{constructor(n){super(n)}};e.\u0275fac=function(i){return new(i||e)(S(ni,10))},e.\u0275dir=ie({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(i,o){i&2&&Zs("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)("ng-submitted",o.isSubmitted)},features:[Fe]});let t=e;return t})();var oo="VALID",Na="INVALID",ei="PENDING",so="DISABLED",ii=class{},Pa=class extends ii{constructor(e,r){super(),this.value=e,this.source=r}},lo=class extends ii{constructor(e,r){super(),this.pristine=e,this.source=r}},co=class extends ii{constructor(e,r){super(),this.touched=e,this.source=r}},ti=class extends ii{constructor(e,r){super(),this.status=e,this.source=r}};function N0(t){return(ja(t)?t.validators:t)||null}function EI(t){return Array.isArray(t)?Vd(t):t||null}function R0(t,e){return(ja(e)?e.asyncValidators:t)||null}function _I(t){return Array.isArray(t)?jd(t):t||null}function ja(t){return t!=null&&!Array.isArray(t)&&typeof t=="object"}function xI(t,e,r){let n=t.controls;if(!(e?Object.keys(n):n).length)throw new N(1e3,"");if(!n[r])throw new N(1001,"")}function II(t,e,r){t._forEachChild((n,i)=>{if(r[i]===void 0)throw new N(1002,"")})}var Fa=class{constructor(e,r){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=null,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this._status=Ai(()=>this.statusReactive()),this.statusReactive=Si(void 0),this._pristine=Ai(()=>this.pristineReactive()),this.pristineReactive=Si(!0),this._touched=Ai(()=>this.touchedReactive()),this.touchedReactive=Si(!1),this._events=new we,this.events=this._events.asObservable(),this._onDisabledChange=[],this._assignValidators(e),this._assignAsyncValidators(r)}get validator(){return this._composedValidatorFn}set validator(e){this._rawValidators=this._composedValidatorFn=e}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}get parent(){return this._parent}get status(){return Yt(this.statusReactive)}set status(e){Yt(()=>this.statusReactive.set(e))}get valid(){return this.status===oo}get invalid(){return this.status===Na}get pending(){return this.status==ei}get disabled(){return this.status===so}get enabled(){return this.status!==so}get pristine(){return Yt(this.pristineReactive)}set pristine(e){Yt(()=>this.pristineReactive.set(e))}get dirty(){return!this.pristine}get touched(){return Yt(this.touchedReactive)}set touched(e){Yt(()=>this.touchedReactive.set(e))}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(e){this._assignValidators(e)}setAsyncValidators(e){this._assignAsyncValidators(e)}addValidators(e){this.setValidators(v0(e,this._rawValidators))}addAsyncValidators(e){this.setAsyncValidators(v0(e,this._rawAsyncValidators))}removeValidators(e){this.setValidators(y0(e,this._rawValidators))}removeAsyncValidators(e){this.setAsyncValidators(y0(e,this._rawAsyncValidators))}hasValidator(e){return Ra(this._rawValidators,e)}hasAsyncValidator(e){return Ra(this._rawAsyncValidators,e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){let r=this.touched===!1;this.touched=!0;let n=e.sourceControl??this;this._parent&&!e.onlySelf&&this._parent.markAsTouched(K(E({},e),{sourceControl:n})),r&&e.emitEvent!==!1&&this._events.next(new co(!0,n))}markAllAsTouched(e={}){this.markAsTouched({onlySelf:!0,emitEvent:e.emitEvent,sourceControl:this}),this._forEachChild(r=>r.markAllAsTouched(e))}markAsUntouched(e={}){let r=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let n=e.sourceControl??this;this._forEachChild(i=>{i.markAsUntouched({onlySelf:!0,emitEvent:e.emitEvent,sourceControl:n})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e,n),r&&e.emitEvent!==!1&&this._events.next(new co(!1,n))}markAsDirty(e={}){let r=this.pristine===!0;this.pristine=!1;let n=e.sourceControl??this;this._parent&&!e.onlySelf&&this._parent.markAsDirty(K(E({},e),{sourceControl:n})),r&&e.emitEvent!==!1&&this._events.next(new lo(!1,n))}markAsPristine(e={}){let r=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let n=e.sourceControl??this;this._forEachChild(i=>{i.markAsPristine({onlySelf:!0,emitEvent:e.emitEvent})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e,n),r&&e.emitEvent!==!1&&this._events.next(new lo(!0,n))}markAsPending(e={}){this.status=ei;let r=e.sourceControl??this;e.emitEvent!==!1&&(this._events.next(new ti(this.status,r)),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.markAsPending(K(E({},e),{sourceControl:r}))}disable(e={}){let r=this._parentMarkedDirty(e.onlySelf);this.status=so,this.errors=null,this._forEachChild(i=>{i.disable(K(E({},e),{onlySelf:!0}))}),this._updateValue();let n=e.sourceControl??this;e.emitEvent!==!1&&(this._events.next(new Pa(this.value,n)),this._events.next(new ti(this.status,n)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(K(E({},e),{skipPristineCheck:r}),this),this._onDisabledChange.forEach(i=>i(!0))}enable(e={}){let r=this._parentMarkedDirty(e.onlySelf);this.status=oo,this._forEachChild(n=>{n.enable(K(E({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(K(E({},e),{skipPristineCheck:r}),this),this._onDisabledChange.forEach(n=>n(!1))}_updateAncestors(e,r){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine({},r),this._parent._updateTouched({},r))}setParent(e){this._parent=e}getRawValue(){return this.value}updateValueAndValidity(e={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let n=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===oo||this.status===ei)&&this._runAsyncValidator(n,e.emitEvent)}let r=e.sourceControl??this;e.emitEvent!==!1&&(this._events.next(new Pa(this.value,r)),this._events.next(new ti(this.status,r)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(K(E({},e),{sourceControl:r}))}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(r=>r._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?so:oo}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e,r){if(this.asyncValidator){this.status=ei,this._hasOwnPendingAsyncValidator={emitEvent:r!==!1};let n=S0(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(i=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(i,{emitEvent:r,shouldHaveEmitted:e})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let e=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,e}return!1}setErrors(e,r={}){this.errors=e,this._updateControlsErrors(r.emitEvent!==!1,this,r.shouldHaveEmitted)}get(e){let r=e;return r==null||(Array.isArray(r)||(r=r.split(".")),r.length===0)?null:r.reduce((n,i)=>n&&n._find(i),this)}getError(e,r){let n=r?this.get(r):this;return n&&n.errors?n.errors[e]:null}hasError(e,r){return!!this.getError(e,r)}get root(){let e=this;for(;e._parent;)e=e._parent;return e}_updateControlsErrors(e,r,n){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),(e||n)&&this._events.next(new ti(this.status,r)),this._parent&&this._parent._updateControlsErrors(e,r,n)}_initObservables(){this.valueChanges=new he,this.statusChanges=new he}_calculateStatus(){return this._allControlsDisabled()?so:this.errors?Na:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(ei)?ei:this._anyControlsHaveStatus(Na)?Na:oo}_anyControlsHaveStatus(e){return this._anyControls(r=>r.status===e)}_anyControlsDirty(){return this._anyControls(e=>e.dirty)}_anyControlsTouched(){return this._anyControls(e=>e.touched)}_updatePristine(e,r){let n=!this._anyControlsDirty(),i=this.pristine!==n;this.pristine=n,this._parent&&!e.onlySelf&&this._parent._updatePristine(e,r),i&&this._events.next(new lo(this.pristine,r))}_updateTouched(e={},r){this.touched=this._anyControlsTouched(),this._events.next(new co(this.touched,r)),this._parent&&!e.onlySelf&&this._parent._updateTouched(e,r)}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){ja(e)&&e.updateOn!=null&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){let r=this._parent&&this._parent.dirty;return!e&&!!r&&!this._parent._anyControlsDirty()}_find(e){return null}_assignValidators(e){this._rawValidators=Array.isArray(e)?e.slice():e,this._composedValidatorFn=EI(this._rawValidators)}_assignAsyncValidators(e){this._rawAsyncValidators=Array.isArray(e)?e.slice():e,this._composedAsyncValidatorFn=_I(this._rawAsyncValidators)}},La=class extends Fa{constructor(e,r,n){super(N0(r),R0(n,r)),this.controls=e,this._initObservables(),this._setUpdateStrategy(r),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(e,r){return this.controls[e]?this.controls[e]:(this.controls[e]=r,r.setParent(this),r._registerOnCollectionChange(this._onCollectionChange),r)}addControl(e,r,n={}){this.registerControl(e,r),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}removeControl(e,r={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}setControl(e,r,n={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],r&&this.registerControl(e,r),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}contains(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}setValue(e,r={}){II(this,!0,e),Object.keys(e).forEach(n=>{xI(this,!0,n),this.controls[n].setValue(e[n],{onlySelf:!0,emitEvent:r.emitEvent})}),this.updateValueAndValidity(r)}patchValue(e,r={}){e!=null&&(Object.keys(e).forEach(n=>{let i=this.controls[n];i&&i.patchValue(e[n],{onlySelf:!0,emitEvent:r.emitEvent})}),this.updateValueAndValidity(r))}reset(e={},r={}){this._forEachChild((n,i)=>{n.reset(e?e[i]:null,{onlySelf:!0,emitEvent:r.emitEvent})}),this._updatePristine(r,this),this._updateTouched(r,this),this.updateValueAndValidity(r)}getRawValue(){return this._reduceChildren({},(e,r,n)=>(e[n]=r.getRawValue(),e))}_syncPendingControls(){let e=this._reduceChildren(!1,(r,n)=>n._syncPendingControls()?!0:r);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_forEachChild(e){Object.keys(this.controls).forEach(r=>{let n=this.controls[r];n&&e(n,r)})}_setUpControls(){this._forEachChild(e=>{e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(e){for(let[r,n]of Object.entries(this.controls))if(this.contains(r)&&e(n))return!0;return!1}_reduceValue(){let e={};return this._reduceChildren(e,(r,n,i)=>((n.enabled||this.disabled)&&(r[i]=n.value),r))}_reduceChildren(e,r){let n=e;return this._forEachChild((i,o)=>{n=r(n,i,o)}),n}_allControlsDisabled(){for(let e of Object.keys(this.controls))if(this.controls[e].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(e){return this.controls.hasOwnProperty(e)?this.controls[e]:null}};var Ua=new T("CallSetDisabledState",{providedIn:"root",factory:()=>Ba}),Ba="always";function SI(t,e){return[...e.path,t]}function O0(t,e,r=Ba){k0(t,e),e.valueAccessor.writeValue(t.value),(t.disabled||r==="always")&&e.valueAccessor.setDisabledState?.(t.disabled),TI(t,e),NI(t,e),AI(t,e),MI(t,e)}function C0(t,e){t.forEach(r=>{r.registerOnValidatorChange&&r.registerOnValidatorChange(e)})}function MI(t,e){if(e.valueAccessor.setDisabledState){let r=n=>{e.valueAccessor.setDisabledState(n)};t.registerOnDisabledChange(r),e._registerOnDestroy(()=>{t._unregisterOnDisabledChange(r)})}}function k0(t,e){let r=DI(t);e.validator!==null?t.setValidators(g0(r,e.validator)):typeof r=="function"&&t.setValidators([r]);let n=wI(t);e.asyncValidator!==null?t.setAsyncValidators(g0(n,e.asyncValidator)):typeof n=="function"&&t.setAsyncValidators([n]);let i=()=>t.updateValueAndValidity();C0(e._rawValidators,i),C0(e._rawAsyncValidators,i)}function TI(t,e){e.valueAccessor.registerOnChange(r=>{t._pendingValue=r,t._pendingChange=!0,t._pendingDirty=!0,t.updateOn==="change"&&P0(t,e)})}function AI(t,e){e.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,t.updateOn==="blur"&&t._pendingChange&&P0(t,e),t.updateOn!=="submit"&&t.markAsTouched()})}function P0(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function NI(t,e){let r=(n,i)=>{e.valueAccessor.writeValue(n),i&&e.viewToModelUpdate(n)};t.registerOnChange(r),e._registerOnDestroy(()=>{t._unregisterOnChange(r)})}function RI(t,e){t==null,k0(t,e)}function OI(t,e){if(!t.hasOwnProperty("model"))return!1;let r=t.model;return r.isFirstChange()?!0:!Object.is(e,r.currentValue)}function kI(t){return Object.getPrototypeOf(t.constructor)===Va}function PI(t,e){t._syncPendingControls(),e.forEach(r=>{let n=r.control;n.updateOn==="submit"&&n._pendingChange&&(r.viewToModelUpdate(n._pendingValue),n._pendingChange=!1)})}function FI(t,e){if(!e)return null;Array.isArray(e);let r,n,i;return e.forEach(o=>{o.constructor===Ot?r=o:kI(o)?n=o:i=o}),i||n||r||null}var LI={provide:ni,useExisting:Ge(()=>nn)},ao=Promise.resolve(),nn=(()=>{let e=class e extends ni{get submitted(){return Yt(this.submittedReactive)}constructor(n,i,o){super(),this.callSetDisabledState=o,this._submitted=Ai(()=>this.submittedReactive()),this.submittedReactive=Si(!1),this._directives=new Set,this.ngSubmit=new he,this.form=new La({},Vd(n),jd(i))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(n){ao.then(()=>{let i=this._findContainer(n.path);n.control=i.registerControl(n.name,n.control),O0(n.control,n,this.callSetDisabledState),n.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(n)})}getControl(n){return this.form.get(n.path)}removeControl(n){ao.then(()=>{let i=this._findContainer(n.path);i&&i.removeControl(n.name),this._directives.delete(n)})}addFormGroup(n){ao.then(()=>{let i=this._findContainer(n.path),o=new La({});RI(o,n),i.registerControl(n.name,o),o.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(n){ao.then(()=>{let i=this._findContainer(n.path);i&&i.removeControl(n.name)})}getFormGroup(n){return this.form.get(n.path)}updateModel(n,i){ao.then(()=>{this.form.get(n.path).setValue(i)})}setValue(n){this.control.setValue(n)}onSubmit(n){return this.submittedReactive.set(!0),PI(this.form,this._directives),this.ngSubmit.emit(n),n?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(n=void 0){this.form.reset(n),this.submittedReactive.set(!1)}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(n){return n.pop(),n.length?this.form.get(n):this.form}};e.\u0275fac=function(i){return new(i||e)(S(oi,10),S(x0,10),S(Ua,8))},e.\u0275dir=ie({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(i,o){i&1&&A("submit",function(a){return o.onSubmit(a)})("reset",function(){return o.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[vt([LI]),Fe]});let t=e;return t})();function D0(t,e){let r=t.indexOf(e);r>-1&&t.splice(r,1)}function w0(t){return typeof t=="object"&&t!==null&&Object.keys(t).length===2&&"value"in t&&"disabled"in t}var VI=class extends Fa{constructor(e=null,r,n){super(N0(r),R0(n,r)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(e),this._setUpdateStrategy(r),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),ja(r)&&(r.nonNullable||r.initialValueIsDefault)&&(w0(e)?this.defaultValue=e.value:this.defaultValue=e)}setValue(e,r={}){this.value=this._pendingValue=e,this._onChange.length&&r.emitModelToViewChange!==!1&&this._onChange.forEach(n=>n(this.value,r.emitViewToModelChange!==!1)),this.updateValueAndValidity(r)}patchValue(e,r={}){this.setValue(e,r)}reset(e=this.defaultValue,r={}){this._applyFormState(e),this.markAsPristine(r),this.markAsUntouched(r),this.setValue(this.value,r),this._pendingChange=!1}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(e){this._onChange.push(e)}_unregisterOnChange(e){D0(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){D0(this._onDisabledChange,e)}_forEachChild(e){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(e){w0(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}};var jI={provide:ri,useExisting:Ge(()=>rn)},b0=Promise.resolve(),rn=(()=>{let e=class e extends ri{constructor(n,i,o,s,a,c){super(),this._changeDetectorRef=a,this.callSetDisabledState=c,this.control=new VI,this._registered=!1,this.name="",this.update=new he,this._parent=n,this._setValidators(i),this._setAsyncValidators(o),this.valueAccessor=FI(this,s)}ngOnChanges(n){if(this._checkForErrors(),!this._registered||"name"in n){if(this._registered&&(this._checkName(),this.formDirective)){let i=n.name.previousValue;this.formDirective.removeControl({name:i,path:this._getPath(i)})}this._setUpControl()}"isDisabled"in n&&this._updateDisabled(n),OI(n,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(n){this.viewModel=n,this.update.emit(n)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){O0(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(n){b0.then(()=>{this.control.setValue(n,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(n){let i=n.isDisabled.currentValue,o=i!==0&&Zt(i);b0.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(n){return this._parent?SI(n,this._parent):[n]}};e.\u0275fac=function(i){return new(i||e)(S(ni,9),S(oi,10),S(x0,10),S(uo,10),S(bn,8),S(Ua,8))},e.\u0275dir=ie({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[vt([jI]),Fe,Gt]});let t=e;return t})(),An=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=ie({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]});let t=e;return t})();var UI={provide:uo,useExisting:Ge(()=>Ud),multi:!0};var BI=(()=>{let e=class e{constructor(){this._accessors=[]}add(n,i){this._accessors.push([n,i])}remove(n){for(let i=this._accessors.length-1;i>=0;--i)if(this._accessors[i][1]===n){this._accessors.splice(i,1);return}}select(n){this._accessors.forEach(i=>{this._isSameGroup(i,n)&&i[1]!==n&&i[1].fireUncheck(n.value)})}_isSameGroup(n,i){return n[0].control?n[0]._parent===i._control._parent&&n[1].name===i.name:!1}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Ud=(()=>{let e=class e extends Va{constructor(n,i,o,s){super(n,i),this._registry=o,this._injector=s,this.setDisabledStateFired=!1,this.onChange=()=>{},this.callSetDisabledState=D(Ua,{optional:!0})??Ba}ngOnInit(){this._control=this._injector.get(ri),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(n){this._state=n===this.value,this.setProperty("checked",this._state)}registerOnChange(n){this._fn=n,this.onChange=()=>{n(this.value),this._registry.select(this)}}setDisabledState(n){(this.setDisabledStateFired||n||this.callSetDisabledState==="whenDisabledForLegacyCode")&&this.setProperty("disabled",n),this.setDisabledStateFired=!0}fireUncheck(n){this.writeValue(n)}_checkName(){this.name&&this.formControlName&&(this.name,this.formControlName),!this.name&&this.formControlName&&(this.name=this.formControlName)}};e.\u0275fac=function(i){return new(i||e)(S(ct),S(_e),S(BI),S(ot))},e.\u0275dir=ie({type:e,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(i,o){i&1&&A("change",function(){return o.onChange()})("blur",function(){return o.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[vt([UI]),Fe]});let t=e;return t})();var $I={provide:uo,useExisting:Ge(()=>si),multi:!0};function F0(t,e){return t==null?`${e}`:(e&&typeof e=="object"&&(e="Object"),`${t}: ${e}`.slice(0,50))}function HI(t){return t.split(":")[0]}var si=(()=>{let e=class e extends Va{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(n){this._compareWith=n}writeValue(n){this.value=n;let i=this._getOptionId(n),o=F0(i,n);this.setProperty("value",o)}registerOnChange(n){this.onChange=i=>{this.value=this._getOptionValue(i),n(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(n){for(let i of this._optionMap.keys())if(this._compareWith(this._optionMap.get(i),n))return i;return null}_getOptionValue(n){let i=HI(n);return this._optionMap.has(i)?this._optionMap.get(i):n}};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=mt(e)))(o||e)}})(),e.\u0275dir=ie({type:e,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(i,o){i&1&&A("change",function(a){return o.onChange(a.target.value)})("blur",function(){return o.onTouched()})},inputs:{compareWith:"compareWith"},features:[vt([$I]),Fe]});let t=e;return t})(),$a=(()=>{let e=class e{constructor(n,i,o){this._element=n,this._renderer=i,this._select=o,this._select&&(this.id=this._select._registerOption())}set ngValue(n){this._select!=null&&(this._select._optionMap.set(this.id,n),this._setElementValue(F0(this.id,n)),this._select.writeValue(this._select.value))}set value(n){this._setElementValue(n),this._select&&this._select.writeValue(this._select.value)}_setElementValue(n){this._renderer.setProperty(this._element.nativeElement,"value",n)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}};e.\u0275fac=function(i){return new(i||e)(S(_e),S(ct),S(si,9))},e.\u0275dir=ie({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}});let t=e;return t})(),qI={provide:uo,useExisting:Ge(()=>L0),multi:!0};function E0(t,e){return t==null?`${e}`:(typeof e=="string"&&(e=`'${e}'`),e&&typeof e=="object"&&(e="Object"),`${t}: ${e}`.slice(0,50))}function GI(t){return t.split(":")[0]}var L0=(()=>{let e=class e extends Va{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(n){this._compareWith=n}writeValue(n){this.value=n;let i;if(Array.isArray(n)){let o=n.map(s=>this._getOptionId(s));i=(s,a)=>{s._setSelected(o.indexOf(a.toString())>-1)}}else i=(o,s)=>{o._setSelected(!1)};this._optionMap.forEach(i)}registerOnChange(n){this.onChange=i=>{let o=[],s=i.selectedOptions;if(s!==void 0){let a=s;for(let c=0;c{let n;return function(o){return(n||(n=mt(e)))(o||e)}})(),e.\u0275dir=ie({type:e,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(i,o){i&1&&A("change",function(a){return o.onChange(a.target)})("blur",function(){return o.onTouched()})},inputs:{compareWith:"compareWith"},features:[vt([qI]),Fe]});let t=e;return t})(),Ha=(()=>{let e=class e{constructor(n,i,o){this._element=n,this._renderer=i,this._select=o,this._select&&(this.id=this._select._registerOption(this))}set ngValue(n){this._select!=null&&(this._value=n,this._setElementValue(E0(this.id,n)),this._select.writeValue(this._select.value))}set value(n){this._select?(this._value=n,this._setElementValue(E0(this.id,n)),this._select.writeValue(this._select.value)):this._setElementValue(n)}_setElementValue(n){this._renderer.setProperty(this._element.nativeElement,"value",n)}_setSelected(n){this._renderer.setProperty(this._element.nativeElement,"selected",n)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}};e.\u0275fac=function(i){return new(i||e)(S(_e),S(ct),S(L0,9))},e.\u0275dir=ie({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}});let t=e;return t})();function zI(t){return typeof t=="number"?t:parseInt(t,10)}var qa=(()=>{let e=class e{constructor(){this._validator=Pd}ngOnChanges(n){if(this.inputName in n){let i=this.normalizeInput(n[this.inputName].currentValue);this._enabled=this.enabled(i),this._validator=this._enabled?this.createValidator(i):Pd,this._onChange&&this._onChange()}}validate(n){return this._validator(n)}registerOnValidatorChange(n){this._onChange=n}enabled(n){return n!=null}};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=ie({type:e,features:[Gt]});let t=e;return t})();var WI={provide:oi,useExisting:Ge(()=>on),multi:!0};var on=(()=>{let e=class e extends qa{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=Zt,this.createValidator=n=>hI}enabled(n){return n}};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=mt(e)))(o||e)}})(),e.\u0275dir=ie({type:e,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(i,o){i&2&&Ze("required",o._enabled?"":null)},inputs:{required:"required"},features:[vt([WI]),Fe]});let t=e;return t})();var ZI={provide:oi,useExisting:Ge(()=>fo),multi:!0},fo=(()=>{let e=class e extends qa{constructor(){super(...arguments),this.inputName="email",this.normalizeInput=Zt,this.createValidator=n=>pI}enabled(n){return n}};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=mt(e)))(o||e)}})(),e.\u0275dir=ie({type:e,selectors:[["","email","","formControlName",""],["","email","","formControl",""],["","email","","ngModel",""]],inputs:{email:"email"},features:[vt([ZI]),Fe]});let t=e;return t})();var YI={provide:oi,useExisting:Ge(()=>ho),multi:!0},ho=(()=>{let e=class e extends qa{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=n=>zI(n),this.createValidator=n=>mI(n)}};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=mt(e)))(o||e)}})(),e.\u0275dir=ie({type:e,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(i,o){i&2&&Ze("maxlength",o._enabled?o.maxlength:null)},inputs:{maxlength:"maxlength"},features:[vt([YI]),Fe]});let t=e;return t})(),QI={provide:oi,useExisting:Ge(()=>Bd),multi:!0},Bd=(()=>{let e=class e extends qa{constructor(){super(...arguments),this.inputName="pattern",this.normalizeInput=n=>n,this.createValidator=n=>gI(n)}};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=mt(e)))(o||e)}})(),e.\u0275dir=ie({type:e,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(i,o){i&2&&Ze("pattern",o._enabled?o.pattern:null)},inputs:{pattern:"pattern"},features:[vt([QI]),Fe]});let t=e;return t})();var KI=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=We({type:e}),e.\u0275inj=ze({});let t=e;return t})();var kt=(()=>{let e=class e{static withConfig(n){return{ngModule:e,providers:[{provide:Ua,useValue:n.callSetDisabledState??Ba}]}}};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=We({type:e}),e.\u0275inj=ze({imports:[KI]});let t=e;return t})();var za=class{constructor(){this.name="",this.email="",this.message=""}};var Wa=(()=>{let e=class e{constructor(n){this.httpClient=n}postContactForm(n){return this.httpClient.post(`${ee.apiBaseUrl}contact`,n)}};e.\u0275fac=function(i){return new(i||e)(M(Pi))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})();function XI(t,e){if(t&1){let r=te();u(0,"form",5,0),A("ngSubmit",function(){x(r);let i=w();return I(i.submit())}),u(2,"div",6)(3,"label",7),l(4,"Name "),u(5,"span",8),l(6,"*"),d()(),u(7,"input",9),$("ngModelChange",function(i){x(r);let o=w();return z(o.contactViewModel.name,i)||(o.contactViewModel.name=i),I(i)}),d()(),u(8,"div",6)(9,"label",10),l(10,"Email address "),u(11,"span",8),l(12,"*"),d()(),u(13,"input",11),$("ngModelChange",function(i){x(r);let o=w();return z(o.contactViewModel.email,i)||(o.contactViewModel.email=i),I(i)}),d()(),u(14,"div",6)(15,"label",12),l(16,"Message "),u(17,"span",8),l(18,"*"),d()(),u(19,"textarea",13),$("ngModelChange",function(i){x(r);let o=w();return z(o.contactViewModel.message,i)||(o.contactViewModel.message=i),I(i)}),d()(),u(20,"button",14),l(21,"Submit"),d()()}if(t&2){let r=Lr(1),n=w();g(7),B("ngModel",n.contactViewModel.name),g(6),B("ngModel",n.contactViewModel.email),g(6),B("ngModel",n.contactViewModel.message),g(),C("disabled",!r.valid||n.enableFormCountDown>0)}}function eS(t,e){t&1&&(u(0,"p"),l(1,"Thanks for your message."),d())}function tS(t,e){t&1&&(u(0,"p",4),l(1,"Something went wrong. Please try again later."),d())}var V0=(()=>{let e=class e{constructor(n){this.contactService=n,this.contactViewModel=new za,this.success=!1,this.error=!1,this.enableFormCountDown=100,this.intervalId=null}ngOnInit(){this.intervalId=setInterval(()=>{this.enableFormCountDown-=1,this.enableFormCountDown===0&&clearInterval(this.intervalId)},50)}ngOnDestroy(){this.intervalId&&clearInterval(this.intervalId)}submit(){this.contactService.postContactForm(this.contactViewModel).subscribe({next:n=>{console.log("Submitted form"),this.success=!0},error:n=>{console.error(n),this.error=!0},complete:()=>console.info("complete")})}};e.\u0275fac=function(i){return new(i||e)(S(Wa))},e.\u0275cmp=le({type:e,selectors:[["app-contact-component"]],standalone:!0,features:[ce],decls:6,vars:3,consts:[["contactForm","ngForm"],[1,"container"],[1,"mb-4"],["method","post"],[1,"text-danger"],["method","post",3,"ngSubmit"],[1,"mb-3"],["for","Name"],[1,"required"],["type","text","id","Name","name","Name","required","",1,"form-control",3,"ngModelChange","ngModel"],["for","Email"],["type","email","id","Email","name","Email","email","","required","",1,"form-control",3,"ngModelChange","ngModel"],["for","Message"],["rows","7","id","Message","name","Message","required","",1,"form-control",3,"ngModelChange","ngModel"],["type","submit",1,"btn","btn-primary",3,"disabled"]],template:function(i,o){i&1&&(u(0,"div",1)(1,"h1",2),l(2,"Contact"),d(),P(3,XI,22,4,"form",3)(4,eS,2,0,"p")(5,tS,2,0,"p",4),d()),i&2&&(g(3),gt(!o.success&&!o.error?3:-1),g(),gt(o.success?4:-1),g(),gt(o.error?5:-1))},dependencies:[kt,An,Ot,Mn,Tn,on,fo,rn,nn]});let t=e;return t})();var Dt={paddleIndividualLicensePrice:"US$49",paddleTeamLicensePrice:"US$149",paddleEnterpriseLicensePrice:"US$299",paddleIndividualLifetimeLicensePrice:"US$79",paddleTeamLifetimeLicensePrice:"US$249",paddleEnterpriseLifetimeLicensePrice:"US$499",paddleIndividualLifetimeLicensePriceEuro:"\u20AC79",paddleTeamLifetimeLicensePriceEuro:"\u20AC249",paddleEnterpriseLifetimeLicensePriceEuro:"\u20AC499"};var ai=(()=>{let e=class e{constructor(n){this.httpClient=n}getLicense(n){return this.httpClient.get(`${ee.apiBaseUrl}reportgenerator/license?code=${encodeURIComponent(n)}`)}getTrialLicense(n){return this.httpClient.post(`${ee.apiBaseUrl}reportgenerator/triallicense`,n)}getPaddleLicense(n){return this.httpClient.post(`${ee.apiBaseUrl}reportgenerator/paddlelicense`,n)}requestInvoice(n){return this.httpClient.post(`${ee.apiBaseUrl}reportgenerator/invoice`,n)}};e.\u0275fac=function(i){return new(i||e)(M(Pi))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})();function nS(t,e){if(t&1){let r=te();u(0,"form",14,0),A("ngSubmit",function(){x(r);let i=w();return I(i.requestInvoice())}),u(2,"div",15)(3,"select",16),$("ngModelChange",function(i){x(r);let o=w();return z(o.requestInvoiceData.currency,i)||(o.requestInvoiceData.currency=i),I(i)}),u(4,"option",17),l(5,"EUR"),d(),u(6,"option",18),l(7,"US$"),d()(),u(8,"label",19),l(9,"Currency"),d()(),u(10,"div",15)(11,"select",20),$("ngModelChange",function(i){x(r);let o=w();return z(o.requestInvoiceData.product,i)||(o.requestInvoiceData.product=i),I(i)}),u(12,"option",21),l(13,"Select product"),d(),u(14,"option",22),l(15),d(),u(16,"option",23),l(17),d(),u(18,"option",24),l(19),d()(),u(20,"label",25),l(21,"Product "),u(22,"span",26),l(23,"*"),d()()(),u(24,"div",15)(25,"select",27),$("ngModelChange",function(i){x(r);let o=w();return z(o.requestInvoiceData.type,i)||(o.requestInvoiceData.type=i),I(i)}),u(26,"option",28),l(27,"Business"),d(),u(28,"option",29),l(29,"Single"),d()(),u(30,"label",30),l(31,"Type"),d()(),u(32,"div",15)(33,"input",31),$("ngModelChange",function(i){x(r);let o=w();return z(o.requestInvoiceData.name,i)||(o.requestInvoiceData.name=i),I(i)}),d(),u(34,"label",32),l(35,"Company name "),u(36,"span",26),l(37,"*"),d()()(),u(38,"div",15)(39,"input",33),$("ngModelChange",function(i){x(r);let o=w();return z(o.requestInvoiceData.country,i)||(o.requestInvoiceData.country=i),I(i)}),d(),u(40,"label",34),l(41,"Country "),u(42,"span",26),l(43,"*"),d()()(),u(44,"div",15)(45,"input",35),$("ngModelChange",function(i){x(r);let o=w();return z(o.requestInvoiceData.address,i)||(o.requestInvoiceData.address=i),I(i)}),d(),u(46,"label",36),l(47,"Address "),u(48,"span",26),l(49,"*"),d()()(),u(50,"div",15)(51,"input",37),$("ngModelChange",function(i){x(r);let o=w();return z(o.requestInvoiceData.city,i)||(o.requestInvoiceData.city=i),I(i)}),d(),u(52,"label",38),l(53,"City/town "),u(54,"span",26),l(55,"*"),d()()(),u(56,"div",15)(57,"input",39),$("ngModelChange",function(i){x(r);let o=w();return z(o.requestInvoiceData.state,i)||(o.requestInvoiceData.state=i),I(i)}),d(),u(58,"label",40),l(59,"State/province "),u(60,"span",26),l(61,"*"),d()()(),u(62,"div",15)(63,"input",41),$("ngModelChange",function(i){x(r);let o=w();return z(o.requestInvoiceData.postcode,i)||(o.requestInvoiceData.postcode=i),I(i)}),d(),u(64,"label",42),l(65,"Postcode "),u(66,"span",26),l(67,"*"),d()()(),u(68,"div",15)(69,"input",43),$("ngModelChange",function(i){x(r);let o=w();return z(o.requestInvoiceData.contactName,i)||(o.requestInvoiceData.contactName=i),I(i)}),d(),u(70,"label",44),l(71,"Contact name "),u(72,"span",26),l(73,"*"),d()()(),u(74,"div",15)(75,"input",45),$("ngModelChange",function(i){x(r);let o=w();return z(o.requestInvoiceData.email,i)||(o.requestInvoiceData.email=i),I(i)}),d(),u(76,"label",46),l(77,"Email "),u(78,"span",26),l(79,"*"),d()()(),u(80,"div",15)(81,"input",47),$("ngModelChange",function(i){x(r);let o=w();return z(o.requestInvoiceData.financeEmail,i)||(o.requestInvoiceData.financeEmail=i),I(i)}),d(),u(82,"label",48),l(83,"POC/finance email"),d()(),u(84,"div",15)(85,"input",49),$("ngModelChange",function(i){x(r);let o=w();return z(o.requestInvoiceData.vatNumber,i)||(o.requestInvoiceData.vatNumber=i),I(i)}),d(),u(86,"label",50),l(87,"Sales tax/VAT number"),d()(),u(88,"div",15)(89,"input",51),$("ngModelChange",function(i){x(r);let o=w();return z(o.requestInvoiceData.companyNumber,i)||(o.requestInvoiceData.companyNumber=i),I(i)}),d(),u(90,"label",52),l(91,"Company number"),d()(),u(92,"div",15)(93,"textarea",53),$("ngModelChange",function(i){x(r);let o=w();return z(o.requestInvoiceData.comment,i)||(o.requestInvoiceData.comment=i),I(i)}),d(),u(94,"label",54),l(95,"Comment"),d()(),u(96,"button",55),l(97,"Request invoice"),d()()}if(t&2){let r=Lr(1),n=w();g(3),B("ngModel",n.requestInvoiceData.currency),g(8),B("ngModel",n.requestInvoiceData.product),g(4),Mi("Individual - Lifetime license - ",n.requestInvoiceData.currency," ",n.paddleIndividualLifetimeLicensePriceEuro,""),g(2),Mi("Team - Lifetime license - ",n.requestInvoiceData.currency," ",n.paddleTeamLifetimeLicensePriceEuro,""),g(2),Mi("Enterprise - Lifetime license - ",n.requestInvoiceData.currency," ",n.paddleEnterpriseLifetimeLicensePriceEuro,""),g(6),B("ngModel",n.requestInvoiceData.type),g(8),B("ngModel",n.requestInvoiceData.name),g(6),B("ngModel",n.requestInvoiceData.country),g(6),B("ngModel",n.requestInvoiceData.address),g(6),B("ngModel",n.requestInvoiceData.city),g(6),B("ngModel",n.requestInvoiceData.state),g(6),B("ngModel",n.requestInvoiceData.postcode),g(6),B("ngModel",n.requestInvoiceData.contactName),g(6),B("ngModel",n.requestInvoiceData.email),g(6),B("ngModel",n.requestInvoiceData.financeEmail),g(4),B("ngModel",n.requestInvoiceData.vatNumber),g(4),B("ngModel",n.requestInvoiceData.companyNumber),g(4),B("ngModel",n.requestInvoiceData.comment),g(3),C("disabled",!r.valid)}}function rS(t,e){t&1&&(Le(0),u(1,"div",56)(2,"span",57),l(3,"Loading..."),d()(),u(4,"span",58),l(5,"Please wait."),d(),Ve())}function iS(t,e){t&1&&(u(0,"div",59),l(1," Thanks for you request. You will receive an invoice as soon as possible. "),d())}var U0=(()=>{let e=class e{constructor(n){this.licenseService=n,this.paddleIndividualLifetimeLicensePriceEuro=Dt.paddleIndividualLifetimeLicensePriceEuro,this.paddleTeamLifetimeLicensePriceEuro=Dt.paddleTeamLifetimeLicensePriceEuro,this.paddleEnterpriseLifetimeLicensePriceEuro=Dt.paddleEnterpriseLifetimeLicensePriceEuro,this.invoiceRequested=!1,this.invoiceSuccessResponse=!1,this.requestInvoiceData={product:"",currency:"EUR",type:"Business",name:"",country:"",address:"",city:"",state:"",postcode:"",contactName:"",email:"",financeEmail:null,vatNumber:null,companyNumber:null,comment:null}}requestInvoice(){this.licenseService.requestInvoice(this.requestInvoiceData).subscribe({next:n=>{this.invoiceRequested=!0},error:n=>{console.error(n)},complete:()=>{this.invoiceSuccessResponse=!0}})}};e.\u0275fac=function(i){return new(i||e)(S(ai))},e.\u0275cmp=le({type:e,selectors:[["app-enterprise-component"]],standalone:!0,features:[ce],decls:53,vars:3,consts:[["requestInvoiceForm","ngForm"],[1,"container"],[1,"mb-4"],["href","https://www.paddle.com/about/procurement","target","_blank"],[1,"fa-solid","fa-image","text-secondary","me-1"],["href","resources/enterprise/email@2x.webp"],["href","resources/enterprise/confirmation@2x.webp"],["href","resources/enterprise/invoice@2x.webp"],[1,"fa-solid","fa-file-pdf","text-secondary","me-1"],["href","resources/enterprise/invoice.pdf"],[1,"mt-5"],["method","post",3,"ngSubmit",4,"ngIf"],[4,"ngIf"],["class","col-xs-12 col-md-6",4,"ngIf"],["method","post",3,"ngSubmit"],[1,"form-floating","mb-3"],["id","currency","name","currency","placeholder","Currency",1,"form-select",3,"ngModelChange","ngModel"],["value","EUR"],["value","US$"],["for","currency"],["id","product","name","product","placeholder","Product","required","",1,"form-select",3,"ngModelChange","ngModel"],["value",""],["value","Individual"],["value","Team"],["value","Enterprise"],["for","product"],[1,"required"],["id","type","name","type","placeholder","Type",1,"form-select",3,"ngModelChange","ngModel"],["value","Business"],["value","Single"],["for","type"],["type","text","id","name","name","name","required","","maxlength","150","placeholder","Company name",1,"form-control",3,"ngModelChange","ngModel"],["for","name"],["type","text","id","country","name","country","required","","maxlength","150","placeholder","Country",1,"form-control",3,"ngModelChange","ngModel"],["for","country"],["type","text","id","address","name","address","required","","maxlength","150","placeholder","Address",1,"form-control",3,"ngModelChange","ngModel"],["for","address"],["type","text","id","city","name","city","required","","maxlength","150","placeholder","City/town",1,"form-control",3,"ngModelChange","ngModel"],["for","city"],["type","text","id","state","name","state","required","","maxlength","150","placeholder","State/province",1,"form-control",3,"ngModelChange","ngModel"],["for","state"],["type","text","id","postcode","name","postcode","required","","maxlength","150","placeholder","Postcode",1,"form-control",3,"ngModelChange","ngModel"],["for","postcode"],["type","text","id","contactName","name","contactName","required","","maxlength","150","placeholder","Contact name",1,"form-control",3,"ngModelChange","ngModel"],["for","contactName"],["type","email","id","email","name","email","required","","maxlength","150","placeholder","Email",1,"form-control",3,"ngModelChange","ngModel"],["for","email"],["type","email","id","financeEmail","name","financeEmail","maxlength","150","placeholder","POC/finance email",1,"form-control",3,"ngModelChange","ngModel"],["for","financeEmail"],["type","text","id","vatNumber","name","vatNumber","maxlength","150","placeholder","Sales tax/VAT number",1,"form-control",3,"ngModelChange","ngModel"],["for","vatNumber"],["type","text","id","companyNumber","name","companyNumber","maxlength","150","placeholder","Company number",1,"form-control",3,"ngModelChange","ngModel"],["for","companyNumber"],["id","comment","name","comment","placeholder","Comment",1,"form-control",2,"height","100px",3,"ngModelChange","ngModel"],["for","comment"],["type","submit",1,"btn","btn-primary",3,"disabled"],["role","status",1,"spinner-border","text-info"],[1,"visually-hidden"],[1,"position-relative","ms-4"],[1,"col-xs-12","col-md-6"]],template:function(i,o){i&1&&(u(0,"div",1)(1,"h1",2),l(2,"Enterprise"),d(),u(3,"p"),l(4," If you can't pay via credit card, you can also request an invoice which you can pay via bank/wire transfer."),p(5,"br"),d(),u(6,"p"),l(7," All invoices are issued by "),u(8,"i"),l(9,"Paddle.com"),d(),l(10," which acts as the Merchant of Record for all orders."),p(11,"br"),l(12," Here you can find additional "),u(13,"a",3),l(14,"procurement information"),d(),l(15,". "),d(),u(16,"p"),l(17,"The process is as follows:"),d(),u(18,"ol")(19,"li"),l(20,"Request invoice through the form below"),d(),u(21,"li"),l(22,"You will receive an email from "),u(23,"i"),l(24,"Paddle.com"),d(),l(25," ("),p(26,"i",4),u(27,"a",5),l(28,"Sample email"),d(),l(29,")"),d(),u(30,"li"),l(31,"You confirm the invoice ("),p(32,"i",4),u(33,"a",6),l(34,"Confirmation dialog"),d(),l(35,")"),d(),u(36,"li"),l(37,"You pay the invoice ("),p(38,"i",4),u(39,"a",7),l(40,"Sample invoice"),d(),l(41," | "),p(42,"i",8),u(43,"a",9),l(44,"Sample PDF invoice"),d(),l(45,")"),d(),u(46,"li"),l(47,"After your payment is confirmed, you will receive your license key within one business day"),d()(),u(48,"h2",10),l(49,"Request invoice"),d(),P(50,nS,98,22,"form",11)(51,rS,6,0,"ng-container",12)(52,iS,2,0,"div",13),d()),i&2&&(g(50),C("ngIf",!o.invoiceRequested),g(),C("ngIf",o.invoiceRequested&&!o.invoiceSuccessResponse),g(),C("ngIf",o.invoiceSuccessResponse))},dependencies:[Br,kt,An,$a,Ha,Ot,si,Mn,Tn,on,ho,rn,nn]});let t=e;return t})();var B0=()=>["/pro"],$0=(()=>{let e=class e{scrollToAnchor(n){return document.querySelector(n)?.scrollIntoView(!0),!1}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=le({type:e,selectors:[["app-features-component"]],standalone:!0,features:[ce],decls:163,vars:4,consts:[[1,"container"],[1,"mb-4"],["id","coveragequota"],[1,"pro-text"],["href","https://en.wikipedia.org/wiki/Code_coverage","target","_blank"],[1,"fa-solid","fa-arrow-up-right-from-square"],[3,"routerLink"],[1,"pro-button","pro-button-tiny"],["loading","lazy","srcset","resources/features/quota@1x.webp 1x, resources/features/quota@2x.webp 2x","src","resources/features/quota1x.webp","alt","Coverage quotas",1,"img-fluid"],["id","coveragehistory",1,"mt-5"],["loading","lazy","srcset","resources/features/history@1x.webp 1x, resources/features/history@2x.webp 2x","src","resources/features/history@1x.webp","alt","Coverage history",1,"img-fluid"],["id","summary",1,"mt-5"],["loading","lazy","srcset","resources/features/summary@1x.webp 1x, resources/features/summary@2x.webp 2x","src","resources/features/summary.webp","alt","Summary table / Overview",1,"img-fluid"],["id","details",1,"mt-5"],["loading","lazy","srcset","resources/features/details@1x.webp 1x, resources/features/details@2x.webp 2x","src","resources/features/details.webp","alt","Details",1,"img-fluid"],["id","metrics",1,"mt-5"],["href","https://github.com/danielpalme/ReportGenerator/wiki/FAQ#which-coverage-tool-supports-which-features-in-the-html-report","target","_blank"],["href","",3,"click"],["loading","lazy","srcset","resources/features/metrics_details@1x.webp 1x, resources/features/metrics_details@2x.webp 2x","src","resources/features/metrics_details.webp","alt","Metrics - Details",1,"img-fluid"],["loading","lazy","srcset","resources/features/metrics_summary@1x.webp 1x, resources/features/metrics_summary@2x.webp 2x","src","resources/features/metrics_summary.webp","alt","Metrics - Summary",1,"img-fluid"],["id","riskhotspots",1,"mt-5"],["href","https://en.wikipedia.org/wiki/Cyclomatic_complexity","target","_blank"],["href","https://modess.io/npath-complexity-cyclomatic-complexity-explained","target","_blank"],["href","https://testing.googleblog.com/2011/02/this-code-is-crap.html","target","_blank"],["loading","lazy","srcset","resources/features/riskhotspots@1x.webp 1x, resources/features/riskhotspots@2x.webp 2x","src","resources/features/riskhotspots.webp","alt","Risk Hotspots",1,"img-fluid"],["id","rawmode",1,"mt-5"],["href","https://github.com/danielpalme/ReportGenerator/wiki/Settings#other-settings","target","_blank"]],template:function(i,o){i&1&&(u(0,"div",0)(1,"h1",1),l(2,"Features"),d(),u(3,"h2",2),l(4,"Coverage quotas"),d(),u(5,"p"),l(6," The overiew cards provide a quick "),u(7,"span",3),l(8,"overview"),d(),l(9," of your coverage quotas."),p(10,"br"),l(11," You can use them to get a glimpse into the different "),u(12,"a",4),l(13,"coverage metrics"),d(),l(14,"\xA0"),u(15,"a",4),p(16,"i",5),d(),l(17,": "),d(),u(18,"ul")(19,"li"),l(20,"Line coverage"),d(),u(21,"li"),l(22,"Branch coverage"),d(),u(23,"li"),l(24,"Method coverage "),u(25,"a",6)(26,"span",7),l(27,"PRO"),d()()()(),p(28,"img",8)(29,"br"),u(30,"h2",9),l(31,"Coverage history"),d(),u(32,"p"),l(33," The history chart helps you to understand how your coverage quotas are "),u(34,"span",3),l(35,"evolving over time"),d(),l(36,". "),d(),p(37,"img",10)(38,"br"),u(39,"h2",11),l(40,"Summary table / Overview"),d(),u(41,"p"),l(42," The summary table helps you to identify classes with "),u(43,"span",3),l(44,"low test coverage"),d(),l(45,"."),p(46,"br"),l(47," The table offers various "),u(48,"span",3),l(49,"filter and sorting"),d(),l(50," options for quick navigation. "),d(),p(51,"img",12)(52,"br"),u(53,"h2",13),l(54,"Details page"),d(),u(55,"p"),l(56," The details page visualizes your "),u(57,"span",3),l(58,"line and branch coverage"),d(),l(59,". "),d(),u(60,"ul")(61,"li"),l(62,"Colors indicate the coverage status of each line."),d(),u(63,"li"),l(64,"Branch indicators help you to identity uncovered conditions."),d()(),p(65,"img",14)(66,"br"),u(67,"h2",15),l(68,"Metrics"),d(),u(69,"p"),l(70," Depending on your "),u(71,"a",16),l(72,"coverage tool"),d(),l(73,", metrics are provided to get further insigths in your "),u(74,"span",3),l(75,"code quality"),d(),l(76,". "),d(),u(77,"ul")(78,"li"),l(79,"The "),u(80,"a",17),A("click",function(){return o.scrollToAnchor("#details")}),l(81,"details page"),d(),l(82," contains information about the metrics of all methods of a class."),d(),u(83,"li"),l(84,"The "),u(85,"a",17),A("click",function(){return o.scrollToAnchor("#summary")}),l(86,"summary table"),d(),l(87," shows the lowest metrics of all methods of a class "),u(88,"a",6)(89,"span",7),l(90,"PRO"),d()()()(),u(91,"b"),l(92,"Details page"),d(),p(93,"br")(94,"img",18)(95,"br")(96,"br"),u(97,"b"),l(98,"Summary table"),d(),p(99,"br")(100,"img",19)(101,"br"),u(102,"h2",20),l(103,"Risk Hotspots"),d(),u(104,"p"),l(105," Based on the "),u(106,"a",17),A("click",function(){return o.scrollToAnchor("#metrics")}),l(107,"metrics"),d(),l(108," you get a list of potential risk hotspots."),p(109,"br"),l(110," The following metrics are analyzed if available, the warning thresholds are configurable: "),d(),u(111,"ul")(112,"li")(113,"a",21),l(114,"Cyclomatic complexity"),d(),l(115,"\xA0"),u(116,"a",21),p(117,"i",5),d()(),u(118,"li")(119,"a",22),l(120,"NPath complexity"),d(),l(121,"\xA0"),u(122,"a",22),p(123,"i",5),d()(),u(124,"li")(125,"a",23),l(126,"Crap score"),d(),l(127,"\xA0"),u(128,"a",23),p(129,"i",5),d()()(),p(130,"img",24),u(131,"h2",25),l(132,"Raw mode (for "),u(133,"i"),l(134,"Cobertura"),d(),l(135," and "),u(136,"i"),l(137,"dotCover"),d(),l(138,") "),u(139,"span",7),l(140,"PRO"),d()(),u(141,"p"),l(142,' With "raw mode" (settings:rawMode=true) you can disable that coverage data of nested or compiler generated classes is included in the parent class.'),p(143,"br"),l(144," This is useful to merge several "),u(145,"i"),l(146,"Cobertura"),d(),l(147," files into a single file, since the original class structure remains untouched. "),d(),u(148,"p"),l(149,"See "),u(150,"a",26),l(151,"Settings"),d(),l(152,"\xA0"),u(153,"a",26),p(154,"i",5),d()(),u(155,"p"),l(156,"Limitation: Raw mode is currently only supported for "),u(157,"i"),l(158,"Cobertura"),d(),l(159," and "),u(160,"i"),l(161,"dotCover"),d(),l(162," files."),d()()),i&2&&(g(25),C("routerLink",H(2,B0)),g(63),C("routerLink",H(3,B0)))},dependencies:[Ne]});let t=e;return t})();var Re={dotnetSDKVersion:"8.x",majorVersion:"5",version:"5.4.1"};var oS=()=>["/usage"],H0=(()=>{let e=class e{constructor(){this.versions=Re}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=le({type:e,selectors:[["app-getstarted"]],standalone:!0,features:[ce],decls:75,vars:6,consts:[[1,"container"],[1,"mb-4"],[3,"routerLink"],["id","net",1,"mt-5"],["href","https://github.com/microsoft/codecoverage"],["href","https://github.com/coverlet-coverage/coverlet"],["href","https://github.com/SteveGilham/altcover"],[1,"text-dark","bg-light","p-2","border"],["id","java",1,"mt-5"],["href","https://github.com/jacoco/jacoco"],["id","nodejs",1,"mt-5"],["href","https://github.com/istanbuljs/nyc"]],template:function(i,o){i&1&&(u(0,"div",0)(1,"h1",1),l(2,"Get started"),d(),u(3,"h2"),l(4,"General"),d(),u(5,"p"),l(6,"In general you need a tool that instruments your test code and collects coverage information."),p(7,"br"),l(8,"This information is typically stored in a XML file (e.g. in Cobertura format)."),p(9,"br"),u(10,"em"),l(11,"ReportGenerator"),d(),l(12," uses this file and generates a report in HTML format (other formats are available)."),d(),u(13,"p"),l(14,"Use the online "),u(15,"a",2),l(16,"configuration tool"),d(),l(17," to get started quickly."),d(),u(18,"h2",3),l(19,".NET"),d(),u(20,"p"),l(21,"For .NET you can use "),u(22,"a",4),l(23,"Microsoft CodeCoverage"),d(),l(24,", "),u(25,"a",5),l(26,"coverlet"),d(),l(27," or "),u(28,"a",6),l(29,"altcover"),d(),l(30," for instrumenting your test code."),d(),u(31,"p"),l(32,"After adding the dependencies to your project, you can execute your tests and generate the coverage report."),d(),u(33,"p")(34,"strong"),l(35,"Add dependencies to your "),u(36,"code"),l(37,"*.csproj"),d(),l(38," file:"),d()(),u(39,"pre",7),l(40),d(),u(41,"p")(42,"strong"),l(43,"Execute tests and create coverage report"),d()(),u(44,"pre",7),l(45),d(),u(46,"h2",8),l(47,"Java"),d(),u(48,"p"),l(49,"For Java you can use "),u(50,"a",9),l(51,"JaCoCo"),d(),l(52,` for instrumenting your test code. +`).forEach(r=>{let n=r.indexOf(":");if(n>0){let i=r.slice(0,n),o=i.toLowerCase(),s=r.slice(n+1).trim();this.maybeSetNormalizedName(i,o),this.headers.has(o)?this.headers.get(o).push(s):this.headers.set(o,[s])}})}:typeof Headers<"u"&&e instanceof Headers?(this.headers=new Map,e.forEach((r,n)=>{this.setHeaderEntries(n,r)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(e).forEach(([r,n])=>{this.setHeaderEntries(r,n)})}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();let r=this.headers.get(e.toLowerCase());return r&&r.length>0?r[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,r){return this.clone({name:e,value:r,op:"a"})}set(e,r){return this.clone({name:e,value:r,op:"s"})}delete(e,r){return this.clone({name:e,value:r,op:"d"})}maybeSetNormalizedName(e,r){this.normalizedNames.has(r)||this.normalizedNames.set(r,e)}init(){this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(e=>this.applyUpdate(e)),this.lazyUpdate=null))}copyFrom(e){e.init(),Array.from(e.headers.keys()).forEach(r=>{this.headers.set(r,e.headers.get(r)),this.normalizedNames.set(r,e.normalizedNames.get(r))})}clone(e){let r=new t;return r.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,r.lazyUpdate=(this.lazyUpdate||[]).concat([e]),r}applyUpdate(e){let r=e.name.toLowerCase();switch(e.op){case"a":case"s":let n=e.value;if(typeof n=="string"&&(n=[n]),n.length===0)return;this.maybeSetNormalizedName(e.name,r);let i=(e.op==="a"?this.headers.get(r):void 0)||[];i.push(...n),this.headers.set(r,i);break;case"d":let o=e.value;if(!o)this.headers.delete(r),this.normalizedNames.delete(r);else{let s=this.headers.get(r);if(!s)return;s=s.filter(a=>o.indexOf(a)===-1),s.length===0?(this.headers.delete(r),this.normalizedNames.delete(r)):this.headers.set(r,s)}break}}setHeaderEntries(e,r){let n=(Array.isArray(r)?r:[r]).map(o=>o.toString()),i=e.toLowerCase();this.headers.set(i,n),this.maybeSetNormalizedName(e,i)}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(r=>e(this.normalizedNames.get(r),this.headers.get(r)))}};var Vu=class{encodeKey(e){return Wm(e)}encodeValue(e){return Wm(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}};function uE(t,e){let r=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(i=>{let o=i.indexOf("="),[s,a]=o==-1?[e.decodeKey(i),""]:[e.decodeKey(i.slice(0,o)),e.decodeValue(i.slice(o+1))],c=r.get(s)||[];c.push(a),r.set(s,c)}),r}var dE=/%(\d[a-f0-9])/gi,fE={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Wm(t){return encodeURIComponent(t).replace(dE,(e,r)=>fE[r]??e)}function oa(t){return`${t}`}var _n=class t{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new Vu,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=uE(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(r=>{let n=e.fromObject[r],i=Array.isArray(n)?n.map(oa):[oa(n)];this.map.set(r,i)})):this.map=null}has(e){return this.init(),this.map.has(e)}get(e){this.init();let r=this.map.get(e);return r?r[0]:null}getAll(e){return this.init(),this.map.get(e)||null}keys(){return this.init(),Array.from(this.map.keys())}append(e,r){return this.clone({param:e,value:r,op:"a"})}appendAll(e){let r=[];return Object.keys(e).forEach(n=>{let i=e[n];Array.isArray(i)?i.forEach(o=>{r.push({param:n,value:o,op:"a"})}):r.push({param:n,value:i,op:"a"})}),this.clone(r)}set(e,r){return this.clone({param:e,value:r,op:"s"})}delete(e,r){return this.clone({param:e,value:r,op:"d"})}toString(){return this.init(),this.keys().map(e=>{let r=this.encoder.encodeKey(e);return this.map.get(e).map(n=>r+"="+this.encoder.encodeValue(n)).join("&")}).filter(e=>e!=="").join("&")}clone(e){let r=new t({encoder:this.encoder});return r.cloneFrom=this.cloneFrom||this,r.updates=(this.updates||[]).concat(e),r}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(e=>this.map.set(e,this.cloneFrom.map.get(e))),this.updates.forEach(e=>{switch(e.op){case"a":case"s":let r=(e.op==="a"?this.map.get(e.param):void 0)||[];r.push(oa(e.value)),this.map.set(e.param,r);break;case"d":if(e.value!==void 0){let n=this.map.get(e.param)||[],i=n.indexOf(oa(e.value));i!==-1&&n.splice(i,1),n.length>0?this.map.set(e.param,n):this.map.delete(e.param)}else{this.map.delete(e.param);break}}}),this.cloneFrom=this.updates=null)}};var ju=class{constructor(){this.map=new Map}set(e,r){return this.map.set(e,r),this}get(e){return this.map.has(e)||this.map.set(e,e.defaultValue()),this.map.get(e)}delete(e){return this.map.delete(e),this}has(e){return this.map.has(e)}keys(){return this.map.keys()}};function hE(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function Zm(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function Ym(t){return typeof Blob<"u"&&t instanceof Blob}function Qm(t){return typeof FormData<"u"&&t instanceof FormData}function pE(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}var Ni=class t{constructor(e,r,n,i){this.url=r,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase();let o;if(hE(this.method)||i?(this.body=n!==void 0?n:null,o=i):o=n,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),this.transferCache=o.transferCache),this.headers??=new Jt,this.context??=new ju,!this.params)this.params=new _n,this.urlWithParams=r;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=r;else{let a=r.indexOf("?"),c=a===-1?"?":av.set(y,e.setHeaders[y]),f)),e.setParams&&(h=Object.keys(e.setParams).reduce((v,y)=>v.set(y,e.setParams[y]),h)),new t(r,n,s,{params:h,headers:f,context:m,reportProgress:c,responseType:i,withCredentials:a,transferCache:o})}},xn=function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t}(xn||{}),Oi=class{constructor(e,r=200,n="OK"){this.headers=e.headers||new Jt,this.status=e.status!==void 0?e.status:r,this.statusText=e.statusText||n,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}},aa=class t extends Oi{constructor(e={}){super(e),this.type=xn.ResponseHeader}clone(e={}){return new t({headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},ki=class t extends Oi{constructor(e={}){super(e),this.type=xn.Response,this.body=e.body!==void 0?e.body:null}clone(e={}){return new t({body:e.body!==void 0?e.body:this.body,headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},En=class extends Oi{constructor(e){super(e,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${e.url||"(unknown url)"}`:this.message=`Http failure response for ${e.url||"(unknown url)"}: ${e.status} ${e.statusText}`,this.error=e.error||null}},tg=200,mE=204;function Lu(t,e){return{body:e,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials,transferCache:t.transferCache}}var Pi=(()=>{let e=class e{constructor(n){this.handler=n}request(n,i,o={}){let s;if(n instanceof Ni)s=n;else{let f;o.headers instanceof Jt?f=o.headers:f=new Jt(o.headers);let h;o.params&&(o.params instanceof _n?h=o.params:h=new _n({fromObject:o.params})),s=new Ni(n,i,o.body!==void 0?o.body:null,{headers:f,context:o.context,params:h,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache})}let a=k(s).pipe(Lt(f=>this.handler.handle(f)));if(n instanceof Ni||o.observe==="events")return a;let c=a.pipe(Me(f=>f instanceof ki));switch(o.observe||"body"){case"body":switch(s.responseType){case"arraybuffer":return c.pipe(L(f=>{if(f.body!==null&&!(f.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return f.body}));case"blob":return c.pipe(L(f=>{if(f.body!==null&&!(f.body instanceof Blob))throw new Error("Response is not a Blob.");return f.body}));case"text":return c.pipe(L(f=>{if(f.body!==null&&typeof f.body!="string")throw new Error("Response is not a string.");return f.body}));case"json":default:return c.pipe(L(f=>f.body))}case"response":return c;default:throw new Error(`Unreachable: unhandled observe type ${o.observe}}`)}}delete(n,i={}){return this.request("DELETE",n,i)}get(n,i={}){return this.request("GET",n,i)}head(n,i={}){return this.request("HEAD",n,i)}jsonp(n,i){return this.request("JSONP",n,{params:new _n().append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,i={}){return this.request("OPTIONS",n,i)}patch(n,i,o={}){return this.request("PATCH",n,Lu(o,i))}post(n,i,o={}){return this.request("POST",n,Lu(o,i))}put(n,i,o={}){return this.request("PUT",n,Lu(o,i))}};e.\u0275fac=function(i){return new(i||e)(M(Ri))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})(),gE=/^\)\]\}',?\n/,vE="X-Request-URL";function Km(t){if(t.url)return t.url;let e=vE.toLocaleLowerCase();return t.headers.get(e)}var yE=(()=>{let e=class e{constructor(){this.fetchImpl=D(Uu,{optional:!0})?.fetch??((...n)=>globalThis.fetch(...n)),this.ngZone=D(oe)}handle(n){return new J(i=>{let o=new AbortController;return this.doRequest(n,o.signal,i).then(Bu,s=>i.error(new En({error:s}))),()=>o.abort()})}doRequest(n,i,o){return mo(this,null,function*(){let s=this.createRequestInit(n),a;try{let b=this.ngZone.runOutsideAngular(()=>this.fetchImpl(n.urlWithParams,E({signal:i},s)));CE(b),o.next({type:xn.Sent}),a=yield b}catch(b){o.error(new En({error:b,status:b.status??0,statusText:b.statusText,url:n.urlWithParams,headers:b.headers}));return}let c=new Jt(a.headers),f=a.statusText,h=Km(a)??n.urlWithParams,m=a.status,v=null;if(n.reportProgress&&o.next(new aa({headers:c,status:m,statusText:f,url:h})),a.body){let b=a.headers.get("content-length"),U=[],O=a.body.getReader(),R=0,ue,me,re=typeof Zone<"u"&&Zone.current;yield this.ngZone.runOutsideAngular(()=>mo(this,null,function*(){for(;;){let{done:ge,value:Xe}=yield O.read();if(ge)break;if(U.push(Xe),R+=Xe.length,n.reportProgress){me=n.responseType==="text"?(me??"")+(ue??=new TextDecoder).decode(Xe,{stream:!0}):void 0;let ir=()=>o.next({type:xn.DownloadProgress,total:b?+b:void 0,loaded:R,partialText:me});re?re.run(ir):ir()}}}));let Je=this.concatChunks(U,R);try{let ge=a.headers.get("Content-Type")??"";v=this.parseBody(n,Je,ge)}catch(ge){o.error(new En({error:ge,headers:new Jt(a.headers),status:a.status,statusText:a.statusText,url:Km(a)??n.urlWithParams}));return}}m===0&&(m=v?tg:0),m>=200&&m<300?(o.next(new ki({body:v,headers:c,status:m,statusText:f,url:h})),o.complete()):o.error(new En({error:v,headers:c,status:m,statusText:f,url:h}))})}parseBody(n,i,o){switch(n.responseType){case"json":let s=new TextDecoder().decode(i).replace(gE,"");return s===""?null:JSON.parse(s);case"text":return new TextDecoder().decode(i);case"blob":return new Blob([i],{type:o});case"arraybuffer":return i.buffer}}createRequestInit(n){let i={},o=n.withCredentials?"include":void 0;if(n.headers.forEach((s,a)=>i[s]=a.join(",")),n.headers.has("Accept")||(i.Accept="application/json, text/plain, */*"),!n.headers.has("Content-Type")){let s=n.detectContentTypeHeader();s!==null&&(i["Content-Type"]=s)}return{body:n.serializeBody(),method:n.method,headers:i,credentials:o}}concatChunks(n,i){let o=new Uint8Array(i),s=0;for(let a of n)o.set(a,s),s+=a.length;return o}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})(),Uu=class{};function Bu(){}function CE(t){t.then(Bu,Bu)}function ng(t,e){return e(t)}function DE(t,e){return(r,n)=>e.intercept(r,{handle:i=>t(i,n)})}function wE(t,e,r){return(n,i)=>st(r,()=>e(n,o=>t(o,i)))}var bE=new T(""),$u=new T(""),EE=new T(""),rg=new T("",{providedIn:"root",factory:()=>!0});function _E(){let t=null;return(e,r)=>{t===null&&(t=(D(bE,{optional:!0})??[]).reduceRight(DE,ng));let n=D(zt);if(D(rg)){let o=n.add();return t(e,r).pipe(dn(()=>n.remove(o)))}else return t(e,r)}}var Jm=(()=>{let e=class e extends Ri{constructor(n,i){super(),this.backend=n,this.injector=i,this.chain=null,this.pendingTasks=D(zt),this.contributeToStability=D(rg)}handle(n){if(this.chain===null){let i=Array.from(new Set([...this.injector.get($u),...this.injector.get(EE,[])]));this.chain=i.reduceRight((o,s)=>wE(o,s,this.injector),ng)}if(this.contributeToStability){let i=this.pendingTasks.add();return this.chain(n,o=>this.backend.handle(o)).pipe(dn(()=>this.pendingTasks.remove(i)))}else return this.chain(n,i=>this.backend.handle(i))}};e.\u0275fac=function(i){return new(i||e)(M(sa),M(Pe))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})();var xE=/^\)\]\}',?\n/;function IE(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}var Xm=(()=>{let e=class e{constructor(n){this.xhrFactory=n}handle(n){if(n.method==="JSONP")throw new N(-2800,!1);let i=this.xhrFactory;return(i.\u0275loadImpl?ae(i.\u0275loadImpl()):k(null)).pipe(Be(()=>new J(s=>{let a=i.build();if(a.open(n.method,n.urlWithParams),n.withCredentials&&(a.withCredentials=!0),n.headers.forEach((O,R)=>a.setRequestHeader(O,R.join(","))),n.headers.has("Accept")||a.setRequestHeader("Accept","application/json, text/plain, */*"),!n.headers.has("Content-Type")){let O=n.detectContentTypeHeader();O!==null&&a.setRequestHeader("Content-Type",O)}if(n.responseType){let O=n.responseType.toLowerCase();a.responseType=O!=="json"?O:"text"}let c=n.serializeBody(),f=null,h=()=>{if(f!==null)return f;let O=a.statusText||"OK",R=new Jt(a.getAllResponseHeaders()),ue=IE(a)||n.url;return f=new aa({headers:R,status:a.status,statusText:O,url:ue}),f},m=()=>{let{headers:O,status:R,statusText:ue,url:me}=h(),re=null;R!==mE&&(re=typeof a.response>"u"?a.responseText:a.response),R===0&&(R=re?tg:0);let Je=R>=200&&R<300;if(n.responseType==="json"&&typeof re=="string"){let ge=re;re=re.replace(xE,"");try{re=re!==""?JSON.parse(re):null}catch(Xe){re=ge,Je&&(Je=!1,re={error:Xe,text:re})}}Je?(s.next(new ki({body:re,headers:O,status:R,statusText:ue,url:me||void 0})),s.complete()):s.error(new En({error:re,headers:O,status:R,statusText:ue,url:me||void 0}))},v=O=>{let{url:R}=h(),ue=new En({error:O,status:a.status||0,statusText:a.statusText||"Unknown Error",url:R||void 0});s.error(ue)},y=!1,b=O=>{y||(s.next(h()),y=!0);let R={type:xn.DownloadProgress,loaded:O.loaded};O.lengthComputable&&(R.total=O.total),n.responseType==="text"&&a.responseText&&(R.partialText=a.responseText),s.next(R)},U=O=>{let R={type:xn.UploadProgress,loaded:O.loaded};O.lengthComputable&&(R.total=O.total),s.next(R)};return a.addEventListener("load",m),a.addEventListener("error",v),a.addEventListener("timeout",v),a.addEventListener("abort",v),n.reportProgress&&(a.addEventListener("progress",b),c!==null&&a.upload&&a.upload.addEventListener("progress",U)),a.send(c),s.next({type:xn.Sent}),()=>{a.removeEventListener("error",v),a.removeEventListener("abort",v),a.removeEventListener("load",m),a.removeEventListener("timeout",v),n.reportProgress&&(a.removeEventListener("progress",b),c!==null&&a.upload&&a.upload.removeEventListener("progress",U)),a.readyState!==a.DONE&&a.abort()}})))}};e.\u0275fac=function(i){return new(i||e)(M(Vr))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})(),ig=new T(""),SE="XSRF-TOKEN",ME=new T("",{providedIn:"root",factory:()=>SE}),TE="X-XSRF-TOKEN",AE=new T("",{providedIn:"root",factory:()=>TE}),la=class{},NE=(()=>{let e=class e{constructor(n,i,o){this.doc=n,this.platform=i,this.cookieName=o,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if(this.platform==="server")return null;let n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=na(n,this.cookieName),this.lastCookieString=n),this.lastToken}};e.\u0275fac=function(i){return new(i||e)(M(xe),M(Tt),M(ME))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})();function RE(t,e){let r=t.url.toLowerCase();if(!D(ig)||t.method==="GET"||t.method==="HEAD"||r.startsWith("http://")||r.startsWith("https://"))return e(t);let n=D(la).getToken(),i=D(AE);return n!=null&&!t.headers.has(i)&&(t=t.clone({headers:t.headers.set(i,n)})),e(t)}var og=function(t){return t[t.Interceptors=0]="Interceptors",t[t.LegacyInterceptors=1]="LegacyInterceptors",t[t.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",t[t.NoXsrfProtection=3]="NoXsrfProtection",t[t.JsonpSupport=4]="JsonpSupport",t[t.RequestsMadeViaParent=5]="RequestsMadeViaParent",t[t.Fetch=6]="Fetch",t}(og||{});function OE(t,e){return{\u0275kind:t,\u0275providers:e}}function sg(...t){let e=[Pi,Xm,Jm,{provide:Ri,useExisting:Jm},{provide:sa,useFactory:()=>D(yE,{optional:!0})??D(Xm)},{provide:$u,useValue:RE,multi:!0},{provide:ig,useValue:!0},{provide:la,useClass:NE}];for(let r of t)e.push(...r.\u0275providers);return As(e)}var eg=new T("");function ag(){return OE(og.LegacyInterceptors,[{provide:eg,useFactory:_E},{provide:$u,useExisting:eg,multi:!0}])}var Gu=class extends ta{constructor(){super(...arguments),this.supportsDOMEvents=!0}},zu=class t extends Gu{static makeCurrent(){Um(new t)}onAndCancel(e,r,n){return e.addEventListener(r,n),()=>{e.removeEventListener(r,n)}}dispatchEvent(e,r){e.dispatchEvent(r)}remove(e){e.remove()}createElement(e,r){return r=r||this.getDefaultDocument(),r.createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,r){return r==="window"?window:r==="document"?e:r==="body"?e.body:null}getBaseHref(e){let r=kE();return r==null?null:PE(r)}resetBaseElement(){Fi=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return na(document.cookie,e)}},Fi=null;function kE(){return Fi=Fi||document.querySelector("base"),Fi?Fi.getAttribute("href"):null}function PE(t){return new URL(t,document.baseURI).pathname}var Wu=class{addToWindow(e){_t.getAngularTestability=(n,i=!0)=>{let o=e.findTestabilityInTree(n,i);if(o==null)throw new N(5103,!1);return o},_t.getAllAngularTestabilities=()=>e.getAllTestabilities(),_t.getAllAngularRootElements=()=>e.getAllRootElements();let r=n=>{let i=_t.getAllAngularTestabilities(),o=i.length,s=function(){o--,o==0&&n()};i.forEach(a=>{a.whenStable(s)})};_t.frameworkStabilizers||(_t.frameworkStabilizers=[]),_t.frameworkStabilizers.push(r)}findTestabilityInTree(e,r,n){if(r==null)return null;let i=e.getTestability(r);return i??(n?Nt().isShadowRoot(r)?this.findTestabilityInTree(e,r.host,!0):this.findTestabilityInTree(e,r.parentElement,!0):null)}},FE=(()=>{let e=class e{build(){return new XMLHttpRequest}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})(),Zu=new T(""),fg=(()=>{let e=class e{constructor(n,i){this._zone=i,this._eventNameToPlugin=new Map,n.forEach(o=>{o.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,i,o){return this._findPluginFor(i).addEventListener(n,i,o)}getZone(){return this._zone}_findPluginFor(n){let i=this._eventNameToPlugin.get(n);if(i)return i;if(i=this._plugins.find(s=>s.supports(n)),!i)throw new N(5101,!1);return this._eventNameToPlugin.set(n,i),i}};e.\u0275fac=function(i){return new(i||e)(M(Zu),M(oe))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})(),ca=class{constructor(e){this._doc=e}},Hu="ng-app-id",hg=(()=>{let e=class e{constructor(n,i,o,s={}){this.doc=n,this.appId=i,this.nonce=o,this.platformId=s,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=ia(s),this.resetHostNodes()}addStyles(n){for(let i of n)this.changeUsageCount(i,1)===1&&this.onStyleAdded(i)}removeStyles(n){for(let i of n)this.changeUsageCount(i,-1)<=0&&this.onStyleRemoved(i)}ngOnDestroy(){let n=this.styleNodesInDOM;n&&(n.forEach(i=>i.remove()),n.clear());for(let i of this.getAllStyles())this.onStyleRemoved(i);this.resetHostNodes()}addHost(n){this.hostNodes.add(n);for(let i of this.getAllStyles())this.addStyleToHost(n,i)}removeHost(n){this.hostNodes.delete(n)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(n){for(let i of this.hostNodes)this.addStyleToHost(i,n)}onStyleRemoved(n){let i=this.styleRef;i.get(n)?.elements?.forEach(o=>o.remove()),i.delete(n)}collectServerRenderedStyles(){let n=this.doc.head?.querySelectorAll(`style[${Hu}="${this.appId}"]`);if(n?.length){let i=new Map;return n.forEach(o=>{o.textContent!=null&&i.set(o.textContent,o)}),i}return null}changeUsageCount(n,i){let o=this.styleRef;if(o.has(n)){let s=o.get(n);return s.usage+=i,s.usage}return o.set(n,{usage:i,elements:[]}),i}getStyleElement(n,i){let o=this.styleNodesInDOM,s=o?.get(i);if(s?.parentNode===n)return o.delete(i),s.removeAttribute(Hu),s;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=i,this.platformIsServer&&a.setAttribute(Hu,this.appId),n.appendChild(a),a}}addStyleToHost(n,i){let o=this.getStyleElement(n,i),s=this.styleRef,a=s.get(i)?.elements;a?a.push(o):s.set(i,{elements:[o],usage:1})}resetHostNodes(){let n=this.hostNodes;n.clear(),n.add(this.doc.head)}};e.\u0275fac=function(i){return new(i||e)(M(xe),M(Bs),M(eu,8),M(Tt))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})(),qu={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"},Qu=/%COMP%/g,pg="%COMP%",LE=`_nghost-${pg}`,VE=`_ngcontent-${pg}`,jE=!0,UE=new T("",{providedIn:"root",factory:()=>jE});function BE(t){return VE.replace(Qu,t)}function $E(t){return LE.replace(Qu,t)}function mg(t,e){return e.map(r=>r.replace(Qu,t))}var cg=(()=>{let e=class e{constructor(n,i,o,s,a,c,f,h=null){this.eventManager=n,this.sharedStylesHost=i,this.appId=o,this.removeStylesOnCompDestroy=s,this.doc=a,this.platformId=c,this.ngZone=f,this.nonce=h,this.rendererByCompId=new Map,this.platformIsServer=ia(c),this.defaultRenderer=new Li(n,a,f,this.platformIsServer)}createRenderer(n,i){if(!n||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===xt.ShadowDom&&(i=K(E({},i),{encapsulation:xt.Emulated}));let o=this.getOrCreateRenderer(n,i);return o instanceof ua?o.applyToHost(n):o instanceof Vi&&o.applyStyles(),o}getOrCreateRenderer(n,i){let o=this.rendererByCompId,s=o.get(i.id);if(!s){let a=this.doc,c=this.ngZone,f=this.eventManager,h=this.sharedStylesHost,m=this.removeStylesOnCompDestroy,v=this.platformIsServer;switch(i.encapsulation){case xt.Emulated:s=new ua(f,h,i,this.appId,m,a,c,v);break;case xt.ShadowDom:return new Yu(f,h,n,i,a,c,this.nonce,v);default:s=new Vi(f,h,i,m,a,c,v);break}o.set(i.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}};e.\u0275fac=function(i){return new(i||e)(M(fg),M(hg),M(Bs),M(UE),M(xe),M(Tt),M(oe),M(eu))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})(),Li=class{constructor(e,r,n,i){this.eventManager=e,this.doc=r,this.ngZone=n,this.platformIsServer=i,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(e,r){return r?this.doc.createElementNS(qu[r]||r,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,r){(ug(e)?e.content:e).appendChild(r)}insertBefore(e,r,n){e&&(ug(e)?e.content:e).insertBefore(r,n)}removeChild(e,r){r.remove()}selectRootElement(e,r){let n=typeof e=="string"?this.doc.querySelector(e):e;if(!n)throw new N(-5104,!1);return r||(n.textContent=""),n}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,r,n,i){if(i){r=i+":"+r;let o=qu[i];o?e.setAttributeNS(o,r,n):e.setAttribute(r,n)}else e.setAttribute(r,n)}removeAttribute(e,r,n){if(n){let i=qu[n];i?e.removeAttributeNS(i,r):e.removeAttribute(`${n}:${r}`)}else e.removeAttribute(r)}addClass(e,r){e.classList.add(r)}removeClass(e,r){e.classList.remove(r)}setStyle(e,r,n,i){i&(Bt.DashCase|Bt.Important)?e.style.setProperty(r,n,i&Bt.Important?"important":""):e.style[r]=n}removeStyle(e,r,n){n&Bt.DashCase?e.style.removeProperty(r):e.style[r]=""}setProperty(e,r,n){e!=null&&(e[r]=n)}setValue(e,r){e.nodeValue=r}listen(e,r,n){if(typeof e=="string"&&(e=Nt().getGlobalEventTarget(this.doc,e),!e))throw new Error(`Unsupported event target ${e} for event ${r}`);return this.eventManager.addEventListener(e,r,this.decoratePreventDefault(n))}decoratePreventDefault(e){return r=>{if(r==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(r)):e(r))===!1&&r.preventDefault()}}};function ug(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var Yu=class extends Li{constructor(e,r,n,i,o,s,a,c){super(e,o,s,c),this.sharedStylesHost=r,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let f=mg(i.id,i.styles);for(let h of f){let m=document.createElement("style");a&&m.setAttribute("nonce",a),m.textContent=h,this.shadowRoot.appendChild(m)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,r){return super.appendChild(this.nodeOrShadowRoot(e),r)}insertBefore(e,r,n){return super.insertBefore(this.nodeOrShadowRoot(e),r,n)}removeChild(e,r){return super.removeChild(null,r)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Vi=class extends Li{constructor(e,r,n,i,o,s,a,c){super(e,o,s,a),this.sharedStylesHost=r,this.removeStylesOnCompDestroy=i,this.styles=c?mg(c,n.styles):n.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},ua=class extends Vi{constructor(e,r,n,i,o,s,a,c){let f=i+"-"+n.id;super(e,r,n,o,s,a,c,f),this.contentAttr=BE(f),this.hostAttr=$E(f)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,r){let n=super.createElement(e,r);return super.setAttribute(n,this.contentAttr,""),n}},HE=(()=>{let e=class e extends ca{constructor(n){super(n)}supports(n){return!0}addEventListener(n,i,o){return n.addEventListener(i,o,!1),()=>this.removeEventListener(n,i,o)}removeEventListener(n,i,o){return n.removeEventListener(i,o)}};e.\u0275fac=function(i){return new(i||e)(M(xe))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})(),dg=["alt","control","meta","shift"],qE={"\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"},GE={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},zE=(()=>{let e=class e extends ca{constructor(n){super(n)}supports(n){return e.parseEventName(n)!=null}addEventListener(n,i,o){let s=e.parseEventName(i),a=e.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Nt().onAndCancel(n,s.domEventName,a))}static parseEventName(n){let i=n.toLowerCase().split("."),o=i.shift();if(i.length===0||!(o==="keydown"||o==="keyup"))return null;let s=e._normalizeKey(i.pop()),a="",c=i.indexOf("code");if(c>-1&&(i.splice(c,1),a="code."),dg.forEach(h=>{let m=i.indexOf(h);m>-1&&(i.splice(m,1),a+=h+".")}),a+=s,i.length!=0||s.length===0)return null;let f={};return f.domEventName=o,f.fullKey=a,f}static matchEventFullKeyCode(n,i){let o=qE[n.key]||n.key,s="";return i.indexOf("code.")>-1&&(o=n.code,s="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),dg.forEach(a=>{if(a!==o){let c=GE[a];c(n)&&(s+=a+".")}}),s+=o,s===i)}static eventCallback(n,i,o){return s=>{e.matchEventFullKeyCode(s,n)&&o.runGuarded(()=>i(s))}}static _normalizeKey(n){return n==="esc"?"escape":n}};e.\u0275fac=function(i){return new(i||e)(M(xe))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})();function gg(t,e){return Rm(E({rootComponent:t},WE(e)))}function WE(t){return{appProviders:[...vg,...t?.providers??[]],platformProviders:KE}}function ZE(){zu.makeCurrent()}function YE(){return new Ut}function QE(){return Ap(document),document}var KE=[{provide:Tt,useValue:Fu},{provide:Xc,useValue:ZE,multi:!0},{provide:xe,useFactory:QE,deps:[]}];var JE=new T(""),XE=[{provide:Ti,useClass:Wu,deps:[]},{provide:bu,useClass:Qs,deps:[oe,Ks,Ti]},{provide:Qs,useClass:Qs,deps:[oe,Ks,Ti]}],vg=[{provide:Ns,useValue:"root"},{provide:Ut,useFactory:YE,deps:[]},{provide:Zu,useClass:HE,multi:!0,deps:[xe,oe,Tt]},{provide:Zu,useClass:zE,multi:!0,deps:[xe]},cg,hg,fg,{provide:Nr,useExisting:cg},{provide:Vr,useClass:FE,deps:[]},[]],yg=(()=>{let e=class e{constructor(n){}static withServerTransition(n){return{ngModule:e,providers:[{provide:Bs,useValue:n.appId}]}}};e.\u0275fac=function(i){return new(i||e)(M(JE,12))},e.\u0275mod=We({type:e}),e.\u0275inj=ze({providers:[...vg,...XE],imports:[qm,Nm]});let t=e;return t})();var Cg=(()=>{let e=class e{constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}};e.\u0275fac=function(i){return new(i||e)(M(xe))},e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var q="primary",Ji=Symbol("RouteTitle"),td=class{constructor(e){this.params=e||{}}has(e){return Object.prototype.hasOwnProperty.call(this.params,e)}get(e){if(this.has(e)){let r=this.params[e];return Array.isArray(r)?r[0]:r}return null}getAll(e){if(this.has(e)){let r=this.params[e];return Array.isArray(r)?r:[r]}return[]}get keys(){return Object.keys(this.params)}};function Wr(t){return new td(t)}function t_(t,e,r){let n=r.path.split("/");if(n.length>t.length||r.pathMatch==="full"&&(e.hasChildren()||n.lengthn[o]===i)}else return t===e}function Ng(t){return t.length>0?t[t.length-1]:null}function Sn(t){return gl(t)?t:Jn(t)?ae(Promise.resolve(t)):k(t)}var r_={exact:Og,subset:kg},Rg={exact:i_,subset:o_,ignored:()=>!0};function Dg(t,e,r){return r_[r.paths](t.root,e.root,r.matrixParams)&&Rg[r.queryParams](t.queryParams,e.queryParams)&&!(r.fragment==="exact"&&t.fragment!==e.fragment)}function i_(t,e){return Rt(t,e)}function Og(t,e,r){if(!er(t.segments,e.segments)||!ha(t.segments,e.segments,r)||t.numberOfChildren!==e.numberOfChildren)return!1;for(let n in e.children)if(!t.children[n]||!Og(t.children[n],e.children[n],r))return!1;return!0}function o_(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(r=>Ag(t[r],e[r]))}function kg(t,e,r){return Pg(t,e,e.segments,r)}function Pg(t,e,r,n){if(t.segments.length>r.length){let i=t.segments.slice(0,r.length);return!(!er(i,r)||e.hasChildren()||!ha(i,r,n))}else if(t.segments.length===r.length){if(!er(t.segments,r)||!ha(t.segments,r,n))return!1;for(let i in e.children)if(!t.children[i]||!kg(t.children[i],e.children[i],n))return!1;return!0}else{let i=r.slice(0,t.segments.length),o=r.slice(t.segments.length);return!er(t.segments,i)||!ha(t.segments,i,n)||!t.children[q]?!1:Pg(t.children[q],e,o,n)}}function ha(t,e,r){return e.every((n,i)=>Rg[r](t[i].parameters,n.parameters))}var en=class{constructor(e=new ne([],{}),r={},n=null){this.root=e,this.queryParams=r,this.fragment=n}get queryParamMap(){return this._queryParamMap??=Wr(this.queryParams),this._queryParamMap}toString(){return l_.serialize(this)}},ne=class{constructor(e,r){this.segments=e,this.children=r,this.parent=null,Object.values(r).forEach(n=>n.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return pa(this)}},Xn=class{constructor(e,r){this.path=e,this.parameters=r}get parameterMap(){return this._parameterMap??=Wr(this.parameters),this._parameterMap}toString(){return Lg(this)}};function s_(t,e){return er(t,e)&&t.every((r,n)=>Rt(r.parameters,e[n].parameters))}function er(t,e){return t.length!==e.length?!1:t.every((r,n)=>r.path===e[n].path)}function a_(t,e){let r=[];return Object.entries(t.children).forEach(([n,i])=>{n===q&&(r=r.concat(e(i,n)))}),Object.entries(t.children).forEach(([n,i])=>{n!==q&&(r=r.concat(e(i,n)))}),r}var Xi=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:()=>new Zr,providedIn:"root"});let t=e;return t})(),Zr=class{parse(e){let r=new id(e);return new en(r.parseRootSegment(),r.parseQueryParams(),r.parseFragment())}serialize(e){let r=`/${ji(e.root,!0)}`,n=d_(e.queryParams),i=typeof e.fragment=="string"?`#${c_(e.fragment)}`:"";return`${r}${n}${i}`}},l_=new Zr;function pa(t){return t.segments.map(e=>Lg(e)).join("/")}function ji(t,e){if(!t.hasChildren())return pa(t);if(e){let r=t.children[q]?ji(t.children[q],!1):"",n=[];return Object.entries(t.children).forEach(([i,o])=>{i!==q&&n.push(`${i}:${ji(o,!1)}`)}),n.length>0?`${r}(${n.join("//")})`:r}else{let r=a_(t,(n,i)=>i===q?[ji(t.children[q],!1)]:[`${i}:${ji(n,!1)}`]);return Object.keys(t.children).length===1&&t.children[q]!=null?`${pa(t)}/${r[0]}`:`${pa(t)}/(${r.join("//")})`}}function Fg(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function da(t){return Fg(t).replace(/%3B/gi,";")}function c_(t){return encodeURI(t)}function rd(t){return Fg(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function ma(t){return decodeURIComponent(t)}function wg(t){return ma(t.replace(/\+/g,"%20"))}function Lg(t){return`${rd(t.path)}${u_(t.parameters)}`}function u_(t){return Object.entries(t).map(([e,r])=>`;${rd(e)}=${rd(r)}`).join("")}function d_(t){let e=Object.entries(t).map(([r,n])=>Array.isArray(n)?n.map(i=>`${da(r)}=${da(i)}`).join("&"):`${da(r)}=${da(n)}`).filter(r=>r);return e.length?`?${e.join("&")}`:""}var f_=/^[^\/()?;#]+/;function Ku(t){let e=t.match(f_);return e?e[0]:""}var h_=/^[^\/()?;=#]+/;function p_(t){let e=t.match(h_);return e?e[0]:""}var m_=/^[^=?&#]+/;function g_(t){let e=t.match(m_);return e?e[0]:""}var v_=/^[^&#]+/;function y_(t){let e=t.match(v_);return e?e[0]:""}var id=class{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new ne([],{}):new ne([],this.parseChildren())}parseQueryParams(){let e={};if(this.consumeOptional("?"))do this.parseQueryParam(e);while(this.consumeOptional("&"));return e}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let r={};this.peekStartsWith("/(")&&(this.capture("/"),r=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(e.length>0||Object.keys(r).length>0)&&(n[q]=new ne(e,r)),n}parseSegment(){let e=Ku(this.remaining);if(e===""&&this.peekStartsWith(";"))throw new N(4009,!1);return this.capture(e),new Xn(ma(e),this.parseMatrixParams())}parseMatrixParams(){let e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){let r=p_(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){let i=Ku(this.remaining);i&&(n=i,this.capture(n))}e[ma(r)]=ma(n)}parseQueryParam(e){let r=g_(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){let s=y_(this.remaining);s&&(n=s,this.capture(n))}let i=wg(r),o=wg(n);if(e.hasOwnProperty(i)){let s=e[i];Array.isArray(s)||(s=[s],e[i]=s),s.push(o)}else e[i]=o}parseParens(e){let r={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let n=Ku(this.remaining),i=this.remaining[n.length];if(i!=="/"&&i!==")"&&i!==";")throw new N(4010,!1);let o;n.indexOf(":")>-1?(o=n.slice(0,n.indexOf(":")),this.capture(o),this.capture(":")):e&&(o=q);let s=this.parseChildren();r[o]=Object.keys(s).length===1?s[q]:new ne([],s),this.consumeOptional("//")}return r}peekStartsWith(e){return this.remaining.startsWith(e)}consumeOptional(e){return this.peekStartsWith(e)?(this.remaining=this.remaining.substring(e.length),!0):!1}capture(e){if(!this.consumeOptional(e))throw new N(4011,!1)}};function Vg(t){return t.segments.length>0?new ne([],{[q]:t}):t}function jg(t){let e={};for(let[n,i]of Object.entries(t.children)){let o=jg(i);if(n===q&&o.segments.length===0&&o.hasChildren())for(let[s,a]of Object.entries(o.children))e[s]=a;else(o.segments.length>0||o.hasChildren())&&(e[n]=o)}let r=new ne(t.segments,e);return C_(r)}function C_(t){if(t.numberOfChildren===1&&t.children[q]){let e=t.children[q];return new ne(t.segments.concat(e.segments),e.children)}return t}function tr(t){return t instanceof en}function D_(t,e,r=null,n=null){let i=Ug(t);return Bg(i,e,r,n)}function Ug(t){let e;function r(o){let s={};for(let c of o.children){let f=r(c);s[c.outlet]=f}let a=new ne(o.url,s);return o===t&&(e=a),a}let n=r(t.root),i=Vg(n);return e??i}function Bg(t,e,r,n){let i=t;for(;i.parent;)i=i.parent;if(e.length===0)return Ju(i,i,i,r,n);let o=w_(e);if(o.toRoot())return Ju(i,i,new ne([],{}),r,n);let s=b_(o,i,t),a=s.processChildren?$i(s.segmentGroup,s.index,o.commands):Hg(s.segmentGroup,s.index,o.commands);return Ju(i,s.segmentGroup,a,r,n)}function ga(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function Gi(t){return typeof t=="object"&&t!=null&&t.outlets}function Ju(t,e,r,n,i){let o={};n&&Object.entries(n).forEach(([c,f])=>{o[c]=Array.isArray(f)?f.map(h=>`${h}`):`${f}`});let s;t===e?s=r:s=$g(t,e,r);let a=Vg(jg(s));return new en(a,o,i)}function $g(t,e,r){let n={};return Object.entries(t.children).forEach(([i,o])=>{o===e?n[i]=r:n[i]=$g(o,e,r)}),new ne(t.segments,n)}var va=class{constructor(e,r,n){if(this.isAbsolute=e,this.numberOfDoubleDots=r,this.commands=n,e&&n.length>0&&ga(n[0]))throw new N(4003,!1);let i=n.find(Gi);if(i&&i!==Ng(n))throw new N(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function w_(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new va(!0,0,t);let e=0,r=!1,n=t.reduce((i,o,s)=>{if(typeof o=="object"&&o!=null){if(o.outlets){let a={};return Object.entries(o.outlets).forEach(([c,f])=>{a[c]=typeof f=="string"?f.split("/"):f}),[...i,{outlets:a}]}if(o.segmentPath)return[...i,o.segmentPath]}return typeof o!="string"?[...i,o]:s===0?(o.split("/").forEach((a,c)=>{c==0&&a==="."||(c==0&&a===""?r=!0:a===".."?e++:a!=""&&i.push(a))}),i):[...i,o]},[]);return new va(r,e,n)}var qr=class{constructor(e,r,n){this.segmentGroup=e,this.processChildren=r,this.index=n}};function b_(t,e,r){if(t.isAbsolute)return new qr(e,!0,0);if(!r)return new qr(e,!1,NaN);if(r.parent===null)return new qr(r,!0,0);let n=ga(t.commands[0])?0:1,i=r.segments.length-1+n;return E_(r,i,t.numberOfDoubleDots)}function E_(t,e,r){let n=t,i=e,o=r;for(;o>i;){if(o-=i,n=n.parent,!n)throw new N(4005,!1);i=n.segments.length}return new qr(n,!1,i-o)}function __(t){return Gi(t[0])?t[0].outlets:{[q]:t}}function Hg(t,e,r){if(t??=new ne([],{}),t.segments.length===0&&t.hasChildren())return $i(t,e,r);let n=x_(t,e,r),i=r.slice(n.commandIndex);if(n.match&&n.pathIndexo!==q)&&t.children[q]&&t.numberOfChildren===1&&t.children[q].segments.length===0){let o=$i(t.children[q],e,r);return new ne(t.segments,o.children)}return Object.entries(n).forEach(([o,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(i[o]=Hg(t.children[o],e,s))}),Object.entries(t.children).forEach(([o,s])=>{n[o]===void 0&&(i[o]=s)}),new ne(t.segments,i)}}function x_(t,e,r){let n=0,i=e,o={match:!1,pathIndex:0,commandIndex:0};for(;i=r.length)return o;let s=t.segments[i],a=r[n];if(Gi(a))break;let c=`${a}`,f=n0&&c===void 0)break;if(c&&f&&typeof f=="object"&&f.outlets===void 0){if(!Eg(c,f,s))return o;n+=2}else{if(!Eg(c,{},s))return o;n++}i++}return{match:!0,pathIndex:i,commandIndex:n}}function od(t,e,r){let n=t.segments.slice(0,e),i=0;for(;i{typeof n=="string"&&(n=[n]),n!==null&&(e[r]=od(new ne([],{}),0,n))}),e}function bg(t){let e={};return Object.entries(t).forEach(([r,n])=>e[r]=`${n}`),e}function Eg(t,e,r){return t==r.path&&Rt(e,r.parameters)}var Hi="imperative",Ie=function(t){return t[t.NavigationStart=0]="NavigationStart",t[t.NavigationEnd=1]="NavigationEnd",t[t.NavigationCancel=2]="NavigationCancel",t[t.NavigationError=3]="NavigationError",t[t.RoutesRecognized=4]="RoutesRecognized",t[t.ResolveStart=5]="ResolveStart",t[t.ResolveEnd=6]="ResolveEnd",t[t.GuardsCheckStart=7]="GuardsCheckStart",t[t.GuardsCheckEnd=8]="GuardsCheckEnd",t[t.RouteConfigLoadStart=9]="RouteConfigLoadStart",t[t.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",t[t.ChildActivationStart=11]="ChildActivationStart",t[t.ChildActivationEnd=12]="ChildActivationEnd",t[t.ActivationStart=13]="ActivationStart",t[t.ActivationEnd=14]="ActivationEnd",t[t.Scroll=15]="Scroll",t[t.NavigationSkipped=16]="NavigationSkipped",t}(Ie||{}),ut=class{constructor(e,r){this.id=e,this.url=r}},Yr=class extends ut{constructor(e,r,n="imperative",i=null){super(e,r),this.type=Ie.NavigationStart,this.navigationTrigger=n,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},Ke=class extends ut{constructor(e,r,n){super(e,r),this.urlAfterRedirects=n,this.type=Ie.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},Qe=function(t){return t[t.Redirect=0]="Redirect",t[t.SupersededByNewNavigation=1]="SupersededByNewNavigation",t[t.NoDataFromResolver=2]="NoDataFromResolver",t[t.GuardRejected=3]="GuardRejected",t}(Qe||{}),ya=function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t}(ya||{}),Xt=class extends ut{constructor(e,r,n,i){super(e,r),this.reason=n,this.code=i,this.type=Ie.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},In=class extends ut{constructor(e,r,n,i){super(e,r),this.reason=n,this.code=i,this.type=Ie.NavigationSkipped}},zi=class extends ut{constructor(e,r,n,i){super(e,r),this.error=n,this.target=i,this.type=Ie.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Ca=class extends ut{constructor(e,r,n,i){super(e,r),this.urlAfterRedirects=n,this.state=i,this.type=Ie.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},sd=class extends ut{constructor(e,r,n,i){super(e,r),this.urlAfterRedirects=n,this.state=i,this.type=Ie.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},ad=class extends ut{constructor(e,r,n,i,o){super(e,r),this.urlAfterRedirects=n,this.state=i,this.shouldActivate=o,this.type=Ie.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},ld=class extends ut{constructor(e,r,n,i){super(e,r),this.urlAfterRedirects=n,this.state=i,this.type=Ie.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},cd=class extends ut{constructor(e,r,n,i){super(e,r),this.urlAfterRedirects=n,this.state=i,this.type=Ie.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},ud=class{constructor(e){this.route=e,this.type=Ie.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},dd=class{constructor(e){this.route=e,this.type=Ie.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},fd=class{constructor(e){this.snapshot=e,this.type=Ie.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},hd=class{constructor(e){this.snapshot=e,this.type=Ie.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},pd=class{constructor(e){this.snapshot=e,this.type=Ie.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},md=class{constructor(e){this.snapshot=e,this.type=Ie.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Da=class{constructor(e,r,n){this.routerEvent=e,this.position=r,this.anchor=n,this.type=Ie.Scroll}toString(){let e=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${e}')`}},Wi=class{},Qr=class{constructor(e,r){this.url=e,this.navigationBehaviorOptions=r}};function S_(t,e){return t.providers&&!t._injector&&(t._injector=Ws(t.providers,e,`Route: ${t.path}`)),t._injector??e}function yt(t){return t.outlet||q}function M_(t,e){let r=t.filter(n=>yt(n)===e);return r.push(...t.filter(n=>yt(n)!==e)),r}function eo(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let e=t.parent;e;e=e.parent){let r=e.routeConfig;if(r?._loadedInjector)return r._loadedInjector;if(r?._injector)return r._injector}return null}var gd=class{get injector(){return eo(this.route?.snapshot)??this.rootInjector}set injector(e){}constructor(e){this.rootInjector=e,this.outlet=null,this.route=null,this.children=new to(this.rootInjector),this.attachRef=null}},to=(()=>{let e=class e{constructor(n){this.rootInjector=n,this.contexts=new Map}onChildOutletCreated(n,i){let o=this.getOrCreateContext(n);o.outlet=i,this.contexts.set(n,o)}onChildOutletDestroyed(n){let i=this.getContext(n);i&&(i.outlet=null,i.attachRef=null)}onOutletDeactivated(){let n=this.contexts;return this.contexts=new Map,n}onOutletReAttached(n){this.contexts=n}getOrCreateContext(n){let i=this.getContext(n);return i||(i=new gd(this.rootInjector),this.contexts.set(n,i)),i}getContext(n){return this.contexts.get(n)||null}};e.\u0275fac=function(i){return new(i||e)(M(Pe))},e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),wa=class{constructor(e){this._root=e}get root(){return this._root.value}parent(e){let r=this.pathFromRoot(e);return r.length>1?r[r.length-2]:null}children(e){let r=vd(e,this._root);return r?r.children.map(n=>n.value):[]}firstChild(e){let r=vd(e,this._root);return r&&r.children.length>0?r.children[0].value:null}siblings(e){let r=yd(e,this._root);return r.length<2?[]:r[r.length-2].children.map(i=>i.value).filter(i=>i!==e)}pathFromRoot(e){return yd(e,this._root).map(r=>r.value)}};function vd(t,e){if(t===e.value)return e;for(let r of e.children){let n=vd(t,r);if(n)return n}return null}function yd(t,e){if(t===e.value)return[e];for(let r of e.children){let n=yd(t,r);if(n.length)return n.unshift(e),n}return[]}var Ye=class{constructor(e,r){this.value=e,this.children=r}toString(){return`TreeNode(${this.value})`}};function Hr(t){let e={};return t&&t.children.forEach(r=>e[r.value.outlet]=r),e}var ba=class extends wa{constructor(e,r){super(e),this.snapshot=r,Sd(this,e)}toString(){return this.snapshot.toString()}};function qg(t){let e=T_(t),r=new Se([new Xn("",{})]),n=new Se({}),i=new Se({}),o=new Se({}),s=new Se(""),a=new tn(r,n,o,s,i,q,t,e.root);return a.snapshot=e.root,new ba(new Ye(a,[]),e)}function T_(t){let e={},r={},n={},i="",o=new Gr([],e,n,i,r,q,t,null,{});return new _a("",new Ye(o,[]))}var tn=class{constructor(e,r,n,i,o,s,a,c){this.urlSubject=e,this.paramsSubject=r,this.queryParamsSubject=n,this.fragmentSubject=i,this.dataSubject=o,this.outlet=s,this.component=a,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(L(f=>f[Ji]))??k(void 0),this.url=e,this.params=r,this.queryParams=n,this.fragment=i,this.data=o}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(L(e=>Wr(e))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(L(e=>Wr(e))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function Ea(t,e,r="emptyOnly"){let n,{routeConfig:i}=t;return e!==null&&(r==="always"||i?.path===""||!e.component&&!e.routeConfig?.loadComponent)?n={params:E(E({},e.params),t.params),data:E(E({},e.data),t.data),resolve:E(E(E(E({},t.data),e.data),i?.data),t._resolvedData)}:n={params:E({},t.params),data:E({},t.data),resolve:E(E({},t.data),t._resolvedData??{})},i&&zg(i)&&(n.resolve[Ji]=i.title),n}var Gr=class{get title(){return this.data?.[Ji]}constructor(e,r,n,i,o,s,a,c,f){this.url=e,this.params=r,this.queryParams=n,this.fragment=i,this.data=o,this.outlet=s,this.component=a,this.routeConfig=c,this._resolve=f}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??=Wr(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Wr(this.queryParams),this._queryParamMap}toString(){let e=this.url.map(n=>n.toString()).join("/"),r=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${e}', path:'${r}')`}},_a=class extends wa{constructor(e,r){super(r),this.url=e,Sd(this,r)}toString(){return Gg(this._root)}};function Sd(t,e){e.value._routerState=t,e.children.forEach(r=>Sd(t,r))}function Gg(t){let e=t.children.length>0?` { ${t.children.map(Gg).join(", ")} } `:"";return`${t.value}${e}`}function Xu(t){if(t.snapshot){let e=t.snapshot,r=t._futureSnapshot;t.snapshot=r,Rt(e.queryParams,r.queryParams)||t.queryParamsSubject.next(r.queryParams),e.fragment!==r.fragment&&t.fragmentSubject.next(r.fragment),Rt(e.params,r.params)||t.paramsSubject.next(r.params),n_(e.url,r.url)||t.urlSubject.next(r.url),Rt(e.data,r.data)||t.dataSubject.next(r.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function Cd(t,e){let r=Rt(t.params,e.params)&&s_(t.url,e.url),n=!t.parent!=!e.parent;return r&&!n&&(!t.parent||Cd(t.parent,e.parent))}function zg(t){return typeof t.title=="string"||t.title===null}var Md=(()=>{let e=class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=q,this.activateEvents=new he,this.deactivateEvents=new he,this.attachEvents=new he,this.detachEvents=new he,this.parentContexts=D(to),this.location=D(wn),this.changeDetector=D(bn),this.inputBinder=D(Ta,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(n){if(n.name){let{firstChange:i,previousValue:o}=n.name;if(i)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(n){return this.parentContexts.getContext(n)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let n=this.parentContexts.getContext(this.name);n?.route&&(n.attachRef?this.attach(n.attachRef,n.route):this.activateWith(n.route,n.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new N(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new N(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new N(4012,!1);this.location.detach();let n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}attach(n,i){this.activated=n,this._activatedRoute=i,this.location.insert(n.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(n.instance)}deactivate(){if(this.activated){let n=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}}activateWith(n,i){if(this.isActivated)throw new N(4013,!1);this._activatedRoute=n;let o=this.location,a=n.snapshot.component,c=this.parentContexts.getOrCreateContext(this.name).children,f=new Dd(n,c,o.injector);this.activated=o.createComponent(a,{index:o.length,injector:f,environmentInjector:i}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=ie({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[Gt]});let t=e;return t})(),Dd=class t{__ngOutletInjector(e){return new t(this.route,this.childContexts,e)}constructor(e,r,n){this.route=e,this.childContexts=r,this.parent=n}get(e,r){return e===tn?this.route:e===to?this.childContexts:this.parent.get(e,r)}},Ta=new T(""),_g=(()=>{let e=class e{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(n){this.unsubscribeFromRouteData(n),this.subscribeToRouteData(n)}unsubscribeFromRouteData(n){this.outletDataSubscriptions.get(n)?.unsubscribe(),this.outletDataSubscriptions.delete(n)}subscribeToRouteData(n){let{activatedRoute:i}=n,o=hi([i.queryParams,i.params,i.data]).pipe(Be(([s,a,c],f)=>(c=E(E(E({},s),a),c),f===0?k(c):Promise.resolve(c)))).subscribe(s=>{if(!n.isActivated||!n.activatedComponentRef||n.activatedRoute!==i||i.component===null){this.unsubscribeFromRouteData(n);return}let a=Om(i.component);if(!a){this.unsubscribeFromRouteData(n);return}for(let{templateName:c}of a.inputs)n.activatedComponentRef.setInput(c,s[c])});this.outletDataSubscriptions.set(n,o)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})();function A_(t,e,r){let n=Zi(t,e._root,r?r._root:void 0);return new ba(n,e)}function Zi(t,e,r){if(r&&t.shouldReuseRoute(e.value,r.value.snapshot)){let n=r.value;n._futureSnapshot=e.value;let i=N_(t,e,r);return new Ye(n,i)}else{if(t.shouldAttach(e.value)){let o=t.retrieve(e.value);if(o!==null){let s=o.route;return s.value._futureSnapshot=e.value,s.children=e.children.map(a=>Zi(t,a)),s}}let n=R_(e.value),i=e.children.map(o=>Zi(t,o));return new Ye(n,i)}}function N_(t,e,r){return e.children.map(n=>{for(let i of r.children)if(t.shouldReuseRoute(n.value,i.value.snapshot))return Zi(t,n,i);return Zi(t,n)})}function R_(t){return new tn(new Se(t.url),new Se(t.params),new Se(t.queryParams),new Se(t.fragment),new Se(t.data),t.outlet,t.component,t)}var Yi=class{constructor(e,r){this.redirectTo=e,this.navigationBehaviorOptions=r}},Wg="ngNavigationCancelingError";function xa(t,e){let{redirectTo:r,navigationBehaviorOptions:n}=tr(e)?{redirectTo:e,navigationBehaviorOptions:void 0}:e,i=Zg(!1,Qe.Redirect);return i.url=r,i.navigationBehaviorOptions=n,i}function Zg(t,e){let r=new Error(`NavigationCancelingError: ${t||""}`);return r[Wg]=!0,r.cancellationCode=e,r}function O_(t){return Yg(t)&&tr(t.url)}function Yg(t){return!!t&&t[Wg]}var k_=(t,e,r,n)=>L(i=>(new wd(e,i.targetRouterState,i.currentRouterState,r,n).activate(t),i)),wd=class{constructor(e,r,n,i,o){this.routeReuseStrategy=e,this.futureState=r,this.currState=n,this.forwardEvent=i,this.inputBindingEnabled=o}activate(e){let r=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(r,n,e),Xu(this.futureState.root),this.activateChildRoutes(r,n,e)}deactivateChildRoutes(e,r,n){let i=Hr(r);e.children.forEach(o=>{let s=o.value.outlet;this.deactivateRoutes(o,i[s],n),delete i[s]}),Object.values(i).forEach(o=>{this.deactivateRouteAndItsChildren(o,n)})}deactivateRoutes(e,r,n){let i=e.value,o=r?r.value:null;if(i===o)if(i.component){let s=n.getContext(i.outlet);s&&this.deactivateChildRoutes(e,r,s.children)}else this.deactivateChildRoutes(e,r,n);else o&&this.deactivateRouteAndItsChildren(r,n)}deactivateRouteAndItsChildren(e,r){e.value.component&&this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,r):this.deactivateRouteAndOutlet(e,r)}detachAndStoreRouteSubtree(e,r){let n=r.getContext(e.value.outlet),i=n&&e.value.component?n.children:r,o=Hr(e);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);if(n&&n.outlet){let s=n.outlet.detach(),a=n.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:s,route:e,contexts:a})}}deactivateRouteAndOutlet(e,r){let n=r.getContext(e.value.outlet),i=n&&e.value.component?n.children:r,o=Hr(e);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);n&&(n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated()),n.attachRef=null,n.route=null)}activateChildRoutes(e,r,n){let i=Hr(r);e.children.forEach(o=>{this.activateRoutes(o,i[o.value.outlet],n),this.forwardEvent(new md(o.value.snapshot))}),e.children.length&&this.forwardEvent(new hd(e.value.snapshot))}activateRoutes(e,r,n){let i=e.value,o=r?r.value:null;if(Xu(i),i===o)if(i.component){let s=n.getOrCreateContext(i.outlet);this.activateChildRoutes(e,r,s.children)}else this.activateChildRoutes(e,r,n);else if(i.component){let s=n.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){let a=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),Xu(a.route.value),this.activateChildRoutes(e,null,s.children)}else s.attachRef=null,s.route=i,s.outlet&&s.outlet.activateWith(i,s.injector),this.activateChildRoutes(e,null,s.children)}else this.activateChildRoutes(e,null,n)}},Ia=class{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}},zr=class{constructor(e,r){this.component=e,this.route=r}};function P_(t,e,r){let n=t._root,i=e?e._root:null;return Ui(n,i,r,[n.value])}function F_(t){let e=t.routeConfig?t.routeConfig.canActivateChild:null;return!e||e.length===0?null:{node:t,guards:e}}function Jr(t,e){let r=Symbol(),n=e.get(t,r);return n===r?typeof t=="function"&&!yh(t)?t:e.get(t):n}function Ui(t,e,r,n,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=Hr(e);return t.children.forEach(s=>{L_(s,o[s.value.outlet],r,n.concat([s.value]),i),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,a])=>qi(a,r.getContext(s),i)),i}function L_(t,e,r,n,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=t.value,s=e?e.value:null,a=r?r.getContext(t.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){let c=V_(s,o,o.routeConfig.runGuardsAndResolvers);c?i.canActivateChecks.push(new Ia(n)):(o.data=s.data,o._resolvedData=s._resolvedData),o.component?Ui(t,e,a?a.children:null,n,i):Ui(t,e,r,n,i),c&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new zr(a.outlet.component,s))}else s&&qi(e,a,i),i.canActivateChecks.push(new Ia(n)),o.component?Ui(t,null,a?a.children:null,n,i):Ui(t,null,r,n,i);return i}function V_(t,e,r){if(typeof r=="function")return r(t,e);switch(r){case"pathParamsChange":return!er(t.url,e.url);case"pathParamsOrQueryParamsChange":return!er(t.url,e.url)||!Rt(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Cd(t,e)||!Rt(t.queryParams,e.queryParams);case"paramsChange":default:return!Cd(t,e)}}function qi(t,e,r){let n=Hr(t),i=t.value;Object.entries(n).forEach(([o,s])=>{i.component?e?qi(s,e.children.getContext(o),r):qi(s,null,r):qi(s,e,r)}),i.component?e&&e.outlet&&e.outlet.isActivated?r.canDeactivateChecks.push(new zr(e.outlet.component,i)):r.canDeactivateChecks.push(new zr(null,i)):r.canDeactivateChecks.push(new zr(null,i))}function no(t){return typeof t=="function"}function j_(t){return typeof t=="boolean"}function U_(t){return t&&no(t.canLoad)}function B_(t){return t&&no(t.canActivate)}function $_(t){return t&&no(t.canActivateChild)}function H_(t){return t&&no(t.canDeactivate)}function q_(t){return t&&no(t.canMatch)}function Qg(t){return t instanceof Ft||t?.name==="EmptyError"}var fa=Symbol("INITIAL_VALUE");function Kr(){return Be(t=>hi(t.map(e=>e.pipe(Vt(1),wl(fa)))).pipe(L(e=>{for(let r of e)if(r!==!0){if(r===fa)return fa;if(r===!1||G_(r))return r}return!0}),Me(e=>e!==fa),Vt(1)))}function G_(t){return tr(t)||t instanceof Yi}function z_(t,e){return fe(r=>{let{targetSnapshot:n,currentSnapshot:i,guards:{canActivateChecks:o,canDeactivateChecks:s}}=r;return s.length===0&&o.length===0?k(K(E({},r),{guardsResult:!0})):W_(s,n,i,t).pipe(fe(a=>a&&j_(a)?Z_(n,o,t,e):k(a)),L(a=>K(E({},r),{guardsResult:a})))})}function W_(t,e,r,n){return ae(t).pipe(fe(i=>X_(i.component,i.route,r,e,n)),wt(i=>i!==!0,!0))}function Z_(t,e,r,n){return ae(e).pipe(Lt(i=>hr(Q_(i.route.parent,n),Y_(i.route,n),J_(t,i.path,r),K_(t,i.route,r))),wt(i=>i!==!0,!0))}function Y_(t,e){return t!==null&&e&&e(new pd(t)),k(!0)}function Q_(t,e){return t!==null&&e&&e(new fd(t)),k(!0)}function K_(t,e,r){let n=e.routeConfig?e.routeConfig.canActivate:null;if(!n||n.length===0)return k(!0);let i=n.map(o=>Ho(()=>{let s=eo(e)??r,a=Jr(o,s),c=B_(a)?a.canActivate(e,t):st(s,()=>a(e,t));return Sn(c).pipe(wt())}));return k(i).pipe(Kr())}function J_(t,e,r){let n=e[e.length-1],o=e.slice(0,e.length-1).reverse().map(s=>F_(s)).filter(s=>s!==null).map(s=>Ho(()=>{let a=s.guards.map(c=>{let f=eo(s.node)??r,h=Jr(c,f),m=$_(h)?h.canActivateChild(n,t):st(f,()=>h(n,t));return Sn(m).pipe(wt())});return k(a).pipe(Kr())}));return k(o).pipe(Kr())}function X_(t,e,r,n,i){let o=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!o||o.length===0)return k(!0);let s=o.map(a=>{let c=eo(e)??i,f=Jr(a,c),h=H_(f)?f.canDeactivate(t,e,r,n):st(c,()=>f(t,e,r,n));return Sn(h).pipe(wt())});return k(s).pipe(Kr())}function ex(t,e,r,n){let i=e.canLoad;if(i===void 0||i.length===0)return k(!0);let o=i.map(s=>{let a=Jr(s,t),c=U_(a)?a.canLoad(e,r):st(t,()=>a(e,r));return Sn(c)});return k(o).pipe(Kr(),Kg(n))}function Kg(t){return fl(be(e=>{if(typeof e!="boolean")throw xa(t,e)}),L(e=>e===!0))}function tx(t,e,r,n){let i=e.canMatch;if(!i||i.length===0)return k(!0);let o=i.map(s=>{let a=Jr(s,t),c=q_(a)?a.canMatch(e,r):st(t,()=>a(e,r));return Sn(c)});return k(o).pipe(Kr(),Kg(n))}var Qi=class{constructor(e){this.segmentGroup=e||null}},Ki=class extends Error{constructor(e){super(),this.urlTree=e}};function $r(t){return fr(new Qi(t))}function nx(t){return fr(new N(4e3,!1))}function rx(t){return fr(Zg(!1,Qe.GuardRejected))}var bd=class{constructor(e,r){this.urlSerializer=e,this.urlTree=r}lineralizeSegments(e,r){let n=[],i=r.root;for(;;){if(n=n.concat(i.segments),i.numberOfChildren===0)return k(n);if(i.numberOfChildren>1||!i.children[q])return nx(`${e.redirectTo}`);i=i.children[q]}}applyRedirectCommands(e,r,n,i,o){if(typeof r!="string"){let a=r,{queryParams:c,fragment:f,routeConfig:h,url:m,outlet:v,params:y,data:b,title:U}=i,O=st(o,()=>a({params:y,data:b,queryParams:c,fragment:f,routeConfig:h,url:m,outlet:v,title:U}));if(O instanceof en)throw new Ki(O);r=O}let s=this.applyRedirectCreateUrlTree(r,this.urlSerializer.parse(r),e,n);if(r[0]==="/")throw new Ki(s);return s}applyRedirectCreateUrlTree(e,r,n,i){let o=this.createSegmentGroup(e,r.root,n,i);return new en(o,this.createQueryParams(r.queryParams,this.urlTree.queryParams),r.fragment)}createQueryParams(e,r){let n={};return Object.entries(e).forEach(([i,o])=>{if(typeof o=="string"&&o[0]===":"){let a=o.substring(1);n[i]=r[a]}else n[i]=o}),n}createSegmentGroup(e,r,n,i){let o=this.createSegments(e,r.segments,n,i),s={};return Object.entries(r.children).forEach(([a,c])=>{s[a]=this.createSegmentGroup(e,c,n,i)}),new ne(o,s)}createSegments(e,r,n,i){return r.map(o=>o.path[0]===":"?this.findPosParam(e,o,i):this.findOrReturn(o,n))}findPosParam(e,r,n){let i=n[r.path.substring(1)];if(!i)throw new N(4001,!1);return i}findOrReturn(e,r){let n=0;for(let i of r){if(i.path===e.path)return r.splice(n),i;n++}return e}},Ed={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function ix(t,e,r,n,i){let o=Jg(t,e,r);return o.matched?(n=S_(e,n),tx(n,e,r,i).pipe(L(s=>s===!0?o:E({},Ed)))):k(o)}function Jg(t,e,r){if(e.path==="**")return ox(r);if(e.path==="")return e.pathMatch==="full"&&(t.hasChildren()||r.length>0)?E({},Ed):{matched:!0,consumedSegments:[],remainingSegments:r,parameters:{},positionalParamSegments:{}};let i=(e.matcher||t_)(r,t,e);if(!i)return E({},Ed);let o={};Object.entries(i.posParams??{}).forEach(([a,c])=>{o[a]=c.path});let s=i.consumed.length>0?E(E({},o),i.consumed[i.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:i.consumed,remainingSegments:r.slice(i.consumed.length),parameters:s,positionalParamSegments:i.posParams??{}}}function ox(t){return{matched:!0,parameters:t.length>0?Ng(t).parameters:{},consumedSegments:t,remainingSegments:[],positionalParamSegments:{}}}function xg(t,e,r,n){return r.length>0&&lx(t,r,n)?{segmentGroup:new ne(e,ax(n,new ne(r,t.children))),slicedSegments:[]}:r.length===0&&cx(t,r,n)?{segmentGroup:new ne(t.segments,sx(t,r,n,t.children)),slicedSegments:r}:{segmentGroup:new ne(t.segments,t.children),slicedSegments:r}}function sx(t,e,r,n){let i={};for(let o of r)if(Aa(t,e,o)&&!n[yt(o)]){let s=new ne([],{});i[yt(o)]=s}return E(E({},n),i)}function ax(t,e){let r={};r[q]=e;for(let n of t)if(n.path===""&&yt(n)!==q){let i=new ne([],{});r[yt(n)]=i}return r}function lx(t,e,r){return r.some(n=>Aa(t,e,n)&&yt(n)!==q)}function cx(t,e,r){return r.some(n=>Aa(t,e,n))}function Aa(t,e,r){return(t.hasChildren()||e.length>0)&&r.pathMatch==="full"?!1:r.path===""}function ux(t,e,r){return e.length===0&&!t.children[r]}var _d=class{};function dx(t,e,r,n,i,o,s="emptyOnly"){return new xd(t,e,r,n,i,s,o).recognize()}var fx=31,xd=class{constructor(e,r,n,i,o,s,a){this.injector=e,this.configLoader=r,this.rootComponentType=n,this.config=i,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new bd(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(e){return new N(4002,`'${e.segmentGroup}'`)}recognize(){let e=xg(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(e).pipe(L(({children:r,rootSnapshot:n})=>{let i=new Ye(n,r),o=new _a("",i),s=D_(n,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),{state:o,tree:s}}))}match(e){let r=new Gr([],Object.freeze({}),Object.freeze(E({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),q,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,e,q,r).pipe(L(n=>({children:n,rootSnapshot:r})),cn(n=>{if(n instanceof Ki)return this.urlTree=n.urlTree,this.match(n.urlTree.root);throw n instanceof Qi?this.noMatchError(n):n}))}processSegmentGroup(e,r,n,i,o){return n.segments.length===0&&n.hasChildren()?this.processChildren(e,r,n,o):this.processSegment(e,r,n,n.segments,i,!0,o).pipe(L(s=>s instanceof Ye?[s]:[]))}processChildren(e,r,n,i){let o=[];for(let s of Object.keys(n.children))s==="primary"?o.unshift(s):o.push(s);return ae(o).pipe(Lt(s=>{let a=n.children[s],c=M_(r,s);return this.processSegmentGroup(e,c,a,s,i)}),Dl((s,a)=>(s.push(...a),s)),un(null),Cl(),fe(s=>{if(s===null)return $r(n);let a=Xg(s);return hx(a),k(a)}))}processSegment(e,r,n,i,o,s,a){return ae(r).pipe(Lt(c=>this.processSegmentAgainstRoute(c._injector??e,r,c,n,i,o,s,a).pipe(cn(f=>{if(f instanceof Qi)return k(null);throw f}))),wt(c=>!!c),cn(c=>{if(Qg(c))return ux(n,i,o)?k(new _d):$r(n);throw c}))}processSegmentAgainstRoute(e,r,n,i,o,s,a,c){return yt(n)!==s&&(s===q||!Aa(i,o,n))?$r(i):n.redirectTo===void 0?this.matchSegmentAgainstRoute(e,i,n,o,s,c):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(e,i,r,n,o,s,c):$r(i)}expandSegmentAgainstRouteUsingRedirect(e,r,n,i,o,s,a){let{matched:c,parameters:f,consumedSegments:h,positionalParamSegments:m,remainingSegments:v}=Jg(r,i,o);if(!c)return $r(r);typeof i.redirectTo=="string"&&i.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>fx&&(this.allowRedirects=!1));let y=new Gr(o,f,Object.freeze(E({},this.urlTree.queryParams)),this.urlTree.fragment,Ig(i),yt(i),i.component??i._loadedComponent??null,i,Sg(i)),b=Ea(y,a,this.paramsInheritanceStrategy);y.params=Object.freeze(b.params),y.data=Object.freeze(b.data);let U=this.applyRedirects.applyRedirectCommands(h,i.redirectTo,m,y,e);return this.applyRedirects.lineralizeSegments(i,U).pipe(fe(O=>this.processSegment(e,n,r,O.concat(v),s,!1,a)))}matchSegmentAgainstRoute(e,r,n,i,o,s){let a=ix(r,n,i,e,this.urlSerializer);return n.path==="**"&&(r.children={}),a.pipe(Be(c=>c.matched?(e=n._injector??e,this.getChildConfig(e,n,i).pipe(Be(({routes:f})=>{let h=n._loadedInjector??e,{parameters:m,consumedSegments:v,remainingSegments:y}=c,b=new Gr(v,m,Object.freeze(E({},this.urlTree.queryParams)),this.urlTree.fragment,Ig(n),yt(n),n.component??n._loadedComponent??null,n,Sg(n)),U=Ea(b,s,this.paramsInheritanceStrategy);b.params=Object.freeze(U.params),b.data=Object.freeze(U.data);let{segmentGroup:O,slicedSegments:R}=xg(r,v,y,f);if(R.length===0&&O.hasChildren())return this.processChildren(h,f,O,b).pipe(L(me=>new Ye(b,me)));if(f.length===0&&R.length===0)return k(new Ye(b,[]));let ue=yt(n)===o;return this.processSegment(h,f,O,R,ue?q:o,!0,b).pipe(L(me=>new Ye(b,me instanceof Ye?[me]:[])))}))):$r(r)))}getChildConfig(e,r,n){return r.children?k({routes:r.children,injector:e}):r.loadChildren?r._loadedRoutes!==void 0?k({routes:r._loadedRoutes,injector:r._loadedInjector}):ex(e,r,n,this.urlSerializer).pipe(fe(i=>i?this.configLoader.loadChildren(e,r).pipe(be(o=>{r._loadedRoutes=o.routes,r._loadedInjector=o.injector})):rx(r))):k({routes:[],injector:e})}};function hx(t){t.sort((e,r)=>e.value.outlet===q?-1:r.value.outlet===q?1:e.value.outlet.localeCompare(r.value.outlet))}function px(t){let e=t.value.routeConfig;return e&&e.path===""}function Xg(t){let e=[],r=new Set;for(let n of t){if(!px(n)){e.push(n);continue}let i=e.find(o=>n.value.routeConfig===o.value.routeConfig);i!==void 0?(i.children.push(...n.children),r.add(i)):e.push(n)}for(let n of r){let i=Xg(n.children);e.push(new Ye(n.value,i))}return e.filter(n=>!r.has(n))}function Ig(t){return t.data||{}}function Sg(t){return t.resolve||{}}function mx(t,e,r,n,i,o){return fe(s=>dx(t,e,r,n,s.extractedUrl,i,o).pipe(L(({state:a,tree:c})=>K(E({},s),{targetSnapshot:a,urlAfterRedirects:c}))))}function gx(t,e){return fe(r=>{let{targetSnapshot:n,guards:{canActivateChecks:i}}=r;if(!i.length)return k(r);let o=new Set(i.map(c=>c.route)),s=new Set;for(let c of o)if(!s.has(c))for(let f of e0(c))s.add(f);let a=0;return ae(s).pipe(Lt(c=>o.has(c)?vx(c,n,t,e):(c.data=Ea(c,c.parent,t).resolve,k(void 0))),be(()=>a++),pr(1),fe(c=>a===s.size?k(r):qe))})}function e0(t){let e=t.children.map(r=>e0(r)).flat();return[t,...e]}function vx(t,e,r,n){let i=t.routeConfig,o=t._resolve;return i?.title!==void 0&&!zg(i)&&(o[Ji]=i.title),yx(o,t,e,n).pipe(L(s=>(t._resolvedData=s,t.data=Ea(t,t.parent,r).resolve,null)))}function yx(t,e,r,n){let i=nd(t);if(i.length===0)return k({});let o={};return ae(i).pipe(fe(s=>Cx(t[s],e,r,n).pipe(wt(),be(a=>{if(a instanceof Yi)throw xa(new Zr,a);o[s]=a}))),pr(1),yl(o),cn(s=>Qg(s)?qe:fr(s)))}function Cx(t,e,r,n){let i=eo(e)??n,o=Jr(t,i),s=o.resolve?o.resolve(e,r):st(i,()=>o(e,r));return Sn(s)}function ed(t){return Be(e=>{let r=t(e);return r?ae(r).pipe(L(()=>e)):k(e)})}var t0=(()=>{let e=class e{buildTitle(n){let i,o=n.root;for(;o!==void 0;)i=this.getResolvedTitleForRoute(o)??i,o=o.children.find(s=>s.outlet===q);return i}getResolvedTitleForRoute(n){return n.data[Ji]}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:()=>D(Dx),providedIn:"root"});let t=e;return t})(),Dx=(()=>{let e=class e extends t0{constructor(n){super(),this.title=n}updateTitle(n){let i=this.buildTitle(n);i!==void 0&&this.title.setTitle(i)}};e.\u0275fac=function(i){return new(i||e)(M(Cg))},e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),ro=new T("",{providedIn:"root",factory:()=>({})}),wx=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=le({type:e,selectors:[["ng-component"]],standalone:!0,features:[ce],decls:1,vars:0,template:function(i,o){i&1&&p(0,"router-outlet")},dependencies:[Md],encapsulation:2});let t=e;return t})();function Td(t){let e=t.children&&t.children.map(Td),r=e?K(E({},t),{children:e}):E({},t);return!r.component&&!r.loadComponent&&(e||r.loadChildren)&&r.outlet&&r.outlet!==q&&(r.component=wx),r}var Sa=new T(""),Ad=(()=>{let e=class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=D(ea)}loadComponent(n){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return k(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);let i=Sn(n.loadComponent()).pipe(L(n0),be(s=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=s}),dn(()=>{this.componentLoaders.delete(n)})),o=new dr(i,()=>new we).pipe(ur());return this.componentLoaders.set(n,o),o}loadChildren(n,i){if(this.childrenLoaders.get(i))return this.childrenLoaders.get(i);if(i._loadedRoutes)return k({routes:i._loadedRoutes,injector:i._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(i);let s=bx(i,this.compiler,n,this.onLoadEndListener).pipe(dn(()=>{this.childrenLoaders.delete(i)})),a=new dr(s,()=>new we).pipe(ur());return this.childrenLoaders.set(i,a),a}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function bx(t,e,r,n){return Sn(t.loadChildren()).pipe(L(n0),fe(i=>i instanceof Di||Array.isArray(i)?k(i):ae(e.compileModuleAsync(i))),L(i=>{n&&n(t);let o,s,a=!1;return Array.isArray(i)?(s=i,a=!0):(o=i.create(r).injector,s=o.get(Sa,[],{optional:!0,self:!0}).flat()),{routes:s.map(Td),injector:o}}))}function Ex(t){return t&&typeof t=="object"&&"default"in t}function n0(t){return Ex(t)?t.default:t}var Nd=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:()=>D(_x),providedIn:"root"});let t=e;return t})(),_x=(()=>{let e=class e{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,i){return n}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),r0=new T(""),i0=new T("");function xx(t,e,r){let n=t.get(i0),i=t.get(xe);return t.get(oe).runOutsideAngular(()=>{if(!i.startViewTransition||n.skipNextTransition)return n.skipNextTransition=!1,new Promise(f=>setTimeout(f));let o,s=new Promise(f=>{o=f}),a=i.startViewTransition(()=>(o(),Ix(t))),{onViewTransitionCreated:c}=n;return c&&st(t,()=>c({transition:a,from:e,to:r})),s})}function Ix(t){return new Promise(e=>{wu({read:()=>setTimeout(e)},{injector:t})})}var Sx=new T(""),Rd=(()=>{let e=class e{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new we,this.transitionAbortSubject=new we,this.configLoader=D(Ad),this.environmentInjector=D(Pe),this.urlSerializer=D(Xi),this.rootContexts=D(to),this.location=D(jr),this.inputBindingEnabled=D(Ta,{optional:!0})!==null,this.titleStrategy=D(t0),this.options=D(ro,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=D(Nd),this.createViewTransition=D(r0,{optional:!0}),this.navigationErrorHandler=D(Sx,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>k(void 0),this.rootComponentType=null;let n=o=>this.events.next(new ud(o)),i=o=>this.events.next(new dd(o));this.configLoader.onLoadEndListener=i,this.configLoader.onLoadStartListener=n}complete(){this.transitions?.complete()}handleNavigationRequest(n){let i=++this.navigationId;this.transitions?.next(K(E(E({},this.transitions.value),n),{id:i}))}setupNavigations(n,i,o){return this.transitions=new Se({id:0,currentUrlTree:i,currentRawUrl:i,extractedUrl:this.urlHandlingStrategy.extract(i),urlAfterRedirects:this.urlHandlingStrategy.extract(i),rawUrl:i,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:Hi,restoredState:null,currentSnapshot:o.snapshot,targetSnapshot:null,currentRouterState:o,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(Me(s=>s.id!==0),L(s=>K(E({},s),{extractedUrl:this.urlHandlingStrategy.extract(s.rawUrl)})),Be(s=>{let a=!1,c=!1;return k(s).pipe(Be(f=>{if(this.navigationId>s.id)return this.cancelNavigationTransition(s,"",Qe.SupersededByNewNavigation),qe;this.currentTransition=s,this.currentNavigation={id:f.id,initialUrl:f.rawUrl,extractedUrl:f.extractedUrl,targetBrowserUrl:typeof f.extras.browserUrl=="string"?this.urlSerializer.parse(f.extras.browserUrl):f.extras.browserUrl,trigger:f.source,extras:f.extras,previousNavigation:this.lastSuccessfulNavigation?K(E({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let h=!n.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),m=f.extras.onSameUrlNavigation??n.onSameUrlNavigation;if(!h&&m!=="reload"){let v="";return this.events.next(new In(f.id,this.urlSerializer.serialize(f.rawUrl),v,ya.IgnoredSameUrlNavigation)),f.resolve(!1),qe}if(this.urlHandlingStrategy.shouldProcessUrl(f.rawUrl))return k(f).pipe(Be(v=>{let y=this.transitions?.getValue();return this.events.next(new Yr(v.id,this.urlSerializer.serialize(v.extractedUrl),v.source,v.restoredState)),y!==this.transitions?.getValue()?qe:Promise.resolve(v)}),mx(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,this.paramsInheritanceStrategy),be(v=>{s.targetSnapshot=v.targetSnapshot,s.urlAfterRedirects=v.urlAfterRedirects,this.currentNavigation=K(E({},this.currentNavigation),{finalUrl:v.urlAfterRedirects});let y=new Ca(v.id,this.urlSerializer.serialize(v.extractedUrl),this.urlSerializer.serialize(v.urlAfterRedirects),v.targetSnapshot);this.events.next(y)}));if(h&&this.urlHandlingStrategy.shouldProcessUrl(f.currentRawUrl)){let{id:v,extractedUrl:y,source:b,restoredState:U,extras:O}=f,R=new Yr(v,this.urlSerializer.serialize(y),b,U);this.events.next(R);let ue=qg(this.rootComponentType).snapshot;return this.currentTransition=s=K(E({},f),{targetSnapshot:ue,urlAfterRedirects:y,extras:K(E({},O),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=y,k(s)}else{let v="";return this.events.next(new In(f.id,this.urlSerializer.serialize(f.extractedUrl),v,ya.IgnoredByUrlHandlingStrategy)),f.resolve(!1),qe}}),be(f=>{let h=new sd(f.id,this.urlSerializer.serialize(f.extractedUrl),this.urlSerializer.serialize(f.urlAfterRedirects),f.targetSnapshot);this.events.next(h)}),L(f=>(this.currentTransition=s=K(E({},f),{guards:P_(f.targetSnapshot,f.currentSnapshot,this.rootContexts)}),s)),z_(this.environmentInjector,f=>this.events.next(f)),be(f=>{if(s.guardsResult=f.guardsResult,f.guardsResult&&typeof f.guardsResult!="boolean")throw xa(this.urlSerializer,f.guardsResult);let h=new ad(f.id,this.urlSerializer.serialize(f.extractedUrl),this.urlSerializer.serialize(f.urlAfterRedirects),f.targetSnapshot,!!f.guardsResult);this.events.next(h)}),Me(f=>f.guardsResult?!0:(this.cancelNavigationTransition(f,"",Qe.GuardRejected),!1)),ed(f=>{if(f.guards.canActivateChecks.length)return k(f).pipe(be(h=>{let m=new ld(h.id,this.urlSerializer.serialize(h.extractedUrl),this.urlSerializer.serialize(h.urlAfterRedirects),h.targetSnapshot);this.events.next(m)}),Be(h=>{let m=!1;return k(h).pipe(gx(this.paramsInheritanceStrategy,this.environmentInjector),be({next:()=>m=!0,complete:()=>{m||this.cancelNavigationTransition(h,"",Qe.NoDataFromResolver)}}))}),be(h=>{let m=new cd(h.id,this.urlSerializer.serialize(h.extractedUrl),this.urlSerializer.serialize(h.urlAfterRedirects),h.targetSnapshot);this.events.next(m)}))}),ed(f=>{let h=m=>{let v=[];m.routeConfig?.loadComponent&&!m.routeConfig._loadedComponent&&v.push(this.configLoader.loadComponent(m.routeConfig).pipe(be(y=>{m.component=y}),L(()=>{})));for(let y of m.children)v.push(...h(y));return v};return hi(h(f.targetSnapshot.root)).pipe(un(null),Vt(1))}),ed(()=>this.afterPreactivation()),Be(()=>{let{currentSnapshot:f,targetSnapshot:h}=s,m=this.createViewTransition?.(this.environmentInjector,f.root,h.root);return m?ae(m).pipe(L(()=>s)):k(s)}),L(f=>{let h=A_(n.routeReuseStrategy,f.targetSnapshot,f.currentRouterState);return this.currentTransition=s=K(E({},f),{targetRouterState:h}),this.currentNavigation.targetRouterState=h,s}),be(()=>{this.events.next(new Wi)}),k_(this.rootContexts,n.routeReuseStrategy,f=>this.events.next(f),this.inputBindingEnabled),Vt(1),be({next:f=>{a=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Ke(f.id,this.urlSerializer.serialize(f.extractedUrl),this.urlSerializer.serialize(f.urlAfterRedirects))),this.titleStrategy?.updateTitle(f.targetRouterState.snapshot),f.resolve(!0)},complete:()=>{a=!0}}),bl(this.transitionAbortSubject.pipe(be(f=>{throw f}))),dn(()=>{!a&&!c&&this.cancelNavigationTransition(s,"",Qe.SupersededByNewNavigation),this.currentTransition?.id===s.id&&(this.currentNavigation=null,this.currentTransition=null)}),cn(f=>{if(c=!0,Yg(f))this.events.next(new Xt(s.id,this.urlSerializer.serialize(s.extractedUrl),f.message,f.cancellationCode)),O_(f)?this.events.next(new Qr(f.url,f.navigationBehaviorOptions)):s.resolve(!1);else{let h=new zi(s.id,this.urlSerializer.serialize(s.extractedUrl),f,s.targetSnapshot??void 0);try{let m=st(this.environmentInjector,()=>this.navigationErrorHandler?.(h));if(m instanceof Yi){let{message:v,cancellationCode:y}=xa(this.urlSerializer,m);this.events.next(new Xt(s.id,this.urlSerializer.serialize(s.extractedUrl),v,y)),this.events.next(new Qr(m.redirectTo,m.navigationBehaviorOptions))}else{this.events.next(h);let v=n.errorHandler(f);s.resolve(!!v)}}catch(m){this.options.resolveNavigationPromiseOnError?s.resolve(!1):s.reject(m)}}return qe}))}))}cancelNavigationTransition(n,i,o){let s=new Xt(n.id,this.urlSerializer.serialize(n.extractedUrl),i,o);this.events.next(s),n.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let n=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),i=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return n.toString()!==i?.toString()&&!this.currentNavigation?.extras.skipLocationChange}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function Mx(t){return t!==Hi}var Tx=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:()=>D(Ax),providedIn:"root"});let t=e;return t})(),Id=class{shouldDetach(e){return!1}store(e,r){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,r){return e.routeConfig===r.routeConfig}},Ax=(()=>{let e=class e extends Id{};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=mt(e)))(o||e)}})(),e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),o0=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:()=>D(Nx),providedIn:"root"});let t=e;return t})(),Nx=(()=>{let e=class e extends o0{constructor(){super(...arguments),this.location=D(jr),this.urlSerializer=D(Xi),this.options=D(ro,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=D(Nd),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new en,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=qg(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(n){return this.location.subscribe(i=>{i.type==="popstate"&&n(i.url,i.state)})}handleRouterEvent(n,i){if(n instanceof Yr)this.stateMemento=this.createStateMemento();else if(n instanceof In)this.rawUrlTree=i.initialUrl;else if(n instanceof Ca){if(this.urlUpdateStrategy==="eager"&&!i.extras.skipLocationChange){let o=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl);this.setBrowserUrl(i.targetBrowserUrl??o,i)}}else n instanceof Wi?(this.currentUrlTree=i.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl),this.routerState=i.targetRouterState,this.urlUpdateStrategy==="deferred"&&!i.extras.skipLocationChange&&this.setBrowserUrl(i.targetBrowserUrl??this.rawUrlTree,i)):n instanceof Xt&&(n.code===Qe.GuardRejected||n.code===Qe.NoDataFromResolver)?this.restoreHistory(i):n instanceof zi?this.restoreHistory(i,!0):n instanceof Ke&&(this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId)}setBrowserUrl(n,i){let o=n instanceof en?this.urlSerializer.serialize(n):n;if(this.location.isCurrentPathEqualTo(o)||i.extras.replaceUrl){let s=this.browserPageId,a=E(E({},i.extras.state),this.generateNgRouterState(i.id,s));this.location.replaceState(o,"",a)}else{let s=E(E({},i.extras.state),this.generateNgRouterState(i.id,this.browserPageId+1));this.location.go(o,"",s)}}restoreHistory(n,i=!1){if(this.canceledNavigationResolution==="computed"){let o=this.browserPageId,s=this.currentPageId-o;s!==0?this.location.historyGo(s):this.currentUrlTree===n.finalUrl&&s===0&&(this.resetState(n),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(i&&this.resetState(n),this.resetUrlToCurrentUrlTree())}resetState(n){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(n,i){return this.canceledNavigationResolution==="computed"?{navigationId:n,\u0275routerPageId:i}:{navigationId:n}}};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=mt(e)))(o||e)}})(),e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Bi=function(t){return t[t.COMPLETE=0]="COMPLETE",t[t.FAILED=1]="FAILED",t[t.REDIRECTING=2]="REDIRECTING",t}(Bi||{});function s0(t,e){t.events.pipe(Me(r=>r instanceof Ke||r instanceof Xt||r instanceof zi||r instanceof In),L(r=>r instanceof Ke||r instanceof In?Bi.COMPLETE:(r instanceof Xt?r.code===Qe.Redirect||r.code===Qe.SupersededByNewNavigation:!1)?Bi.REDIRECTING:Bi.FAILED),Me(r=>r!==Bi.REDIRECTING),Vt(1)).subscribe(()=>{e()})}function Rx(t){throw t}var Ox={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},kx={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},Ct=(()=>{let e=class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.console=D(Ys),this.stateManager=D(o0),this.options=D(ro,{optional:!0})||{},this.pendingTasks=D(zt),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=D(Rd),this.urlSerializer=D(Xi),this.location=D(jr),this.urlHandlingStrategy=D(Nd),this._events=new we,this.errorHandler=this.options.errorHandler||Rx,this.navigated=!1,this.routeReuseStrategy=D(Tx),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=D(Sa,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!D(Ta,{optional:!0}),this.eventsSubscription=new ye,this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:n=>{this.console.warn(n)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){let n=this.navigationTransitions.events.subscribe(i=>{try{let o=this.navigationTransitions.currentTransition,s=this.navigationTransitions.currentNavigation;if(o!==null&&s!==null){if(this.stateManager.handleRouterEvent(i,s),i instanceof Xt&&i.code!==Qe.Redirect&&i.code!==Qe.SupersededByNewNavigation)this.navigated=!0;else if(i instanceof Ke)this.navigated=!0;else if(i instanceof Qr){let a=i.navigationBehaviorOptions,c=this.urlHandlingStrategy.merge(i.url,o.currentRawUrl),f=E({browserUrl:o.extras.browserUrl,info:o.extras.info,skipLocationChange:o.extras.skipLocationChange,replaceUrl:o.extras.replaceUrl||this.urlUpdateStrategy==="eager"||Mx(o.source)},a);this.scheduleNavigation(c,Hi,null,f,{resolve:o.resolve,reject:o.reject,promise:o.promise})}}Fx(i)&&this._events.next(i)}catch(o){this.navigationTransitions.transitionAbortSubject.next(o)}});this.eventsSubscription.add(n)}resetRootComponentType(n){this.routerState.root.component=n,this.navigationTransitions.rootComponentType=n}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Hi,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((n,i)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(n,"popstate",i)},0)})}navigateToSyncWithBrowser(n,i,o){let s={replaceUrl:!0},a=o?.navigationId?o:null;if(o){let f=E({},o);delete f.navigationId,delete f.\u0275routerPageId,Object.keys(f).length!==0&&(s.state=f)}let c=this.parseUrl(n);this.scheduleNavigation(c,i,a,s)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(n){this.config=n.map(Td),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(n,i={}){let{relativeTo:o,queryParams:s,fragment:a,queryParamsHandling:c,preserveFragment:f}=i,h=f?this.currentUrlTree.fragment:a,m=null;switch(c??this.options.defaultQueryParamsHandling){case"merge":m=E(E({},this.currentUrlTree.queryParams),s);break;case"preserve":m=this.currentUrlTree.queryParams;break;default:m=s||null}m!==null&&(m=this.removeEmptyProps(m));let v;try{let y=o?o.snapshot:this.routerState.snapshot.root;v=Ug(y)}catch{(typeof n[0]!="string"||n[0][0]!=="/")&&(n=[]),v=this.currentUrlTree.root}return Bg(v,n,m,h??null)}navigateByUrl(n,i={skipLocationChange:!1}){let o=tr(n)?n:this.parseUrl(n),s=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(s,Hi,null,i)}navigate(n,i={skipLocationChange:!1}){return Px(n),this.navigateByUrl(this.createUrlTree(n,i),i)}serializeUrl(n){return this.urlSerializer.serialize(n)}parseUrl(n){try{return this.urlSerializer.parse(n)}catch{return this.urlSerializer.parse("/")}}isActive(n,i){let o;if(i===!0?o=E({},Ox):i===!1?o=E({},kx):o=i,tr(n))return Dg(this.currentUrlTree,n,o);let s=this.parseUrl(n);return Dg(this.currentUrlTree,s,o)}removeEmptyProps(n){return Object.entries(n).reduce((i,[o,s])=>(s!=null&&(i[o]=s),i),{})}scheduleNavigation(n,i,o,s,a){if(this.disposed)return Promise.resolve(!1);let c,f,h;a?(c=a.resolve,f=a.reject,h=a.promise):h=new Promise((v,y)=>{c=v,f=y});let m=this.pendingTasks.add();return s0(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(m))}),this.navigationTransitions.handleNavigationRequest({source:i,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:n,extras:s,resolve:c,reject:f,promise:h,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),h.catch(v=>Promise.reject(v))}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function Px(t){for(let e=0;e{let e=class e{constructor(n,i,o,s,a,c){this.router=n,this.route=i,this.tabIndexAttribute=o,this.renderer=s,this.el=a,this.locationStrategy=c,this.href=null,this.onChanges=new we,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1,this.routerLinkInput=null;let f=a.nativeElement.tagName?.toLowerCase();this.isAnchorElement=f==="a"||f==="area",this.isAnchorElement?this.subscription=n.events.subscribe(h=>{h instanceof Ke&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(n){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",n)}ngOnChanges(n){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(n){n==null?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(tr(n)?this.routerLinkInput=n:this.routerLinkInput=Array.isArray(n)?n:[n],this.setTabIndexIfNotOnNativeEl("0"))}onClick(n,i,o,s,a){let c=this.urlTree;if(c===null||this.isAnchorElement&&(n!==0||i||o||s||a||typeof this.target=="string"&&this.target!="_self"))return!0;let f={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(c,f),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let n=this.urlTree;this.href=n!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(n)):null;let i=this.href===null?null:Op(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",i)}applyAttributeValue(n,i){let o=this.renderer,s=this.el.nativeElement;i!==null?o.setAttribute(s,n,i):o.removeAttribute(s,n)}get urlTree(){return this.routerLinkInput===null?null:tr(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}};e.\u0275fac=function(i){return new(i||e)(S(Ct),S(tn),Yc("tabindex"),S(ct),S(_e),S(Kt))},e.\u0275dir=ie({type:e,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(i,o){i&1&&A("click",function(a){return o.onClick(a.button,a.ctrlKey,a.shiftKey,a.altKey,a.metaKey)}),i&2&&Ze("target",o.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",Zt],skipLocationChange:[2,"skipLocationChange","skipLocationChange",Zt],replaceUrl:[2,"replaceUrl","replaceUrl",Zt],routerLink:"routerLink"},standalone:!0,features:[Cu,Gt]});let t=e;return t})(),a0=(()=>{let e=class e{get isActive(){return this._isActive}constructor(n,i,o,s,a){this.router=n,this.element=i,this.renderer=o,this.cdr=s,this.link=a,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new he,this.routerEventsSubscription=n.events.subscribe(c=>{c instanceof Ke&&this.update()})}ngAfterContentInit(){k(this.links.changes,k(null)).pipe(ln()).subscribe(n=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();let n=[...this.links.toArray(),this.link].filter(i=>!!i).map(i=>i.onChanges);this.linkInputChangesSubscription=ae(n).pipe(ln()).subscribe(i=>{this._isActive!==this.isLinkActive(this.router)(i)&&this.update()})}set routerLinkActive(n){let i=Array.isArray(n)?n:n.split(" ");this.classes=i.filter(o=>!!o)}ngOnChanges(n){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{let n=this.hasActiveLinks();this.classes.forEach(i=>{n?this.renderer.addClass(this.element.nativeElement,i):this.renderer.removeClass(this.element.nativeElement,i)}),n&&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!==n&&(this._isActive=n,this.cdr.markForCheck(),this.isActiveChange.emit(n))})}isLinkActive(n){let i=Lx(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return o=>{let s=o.urlTree;return s?n.isActive(s,i):!1}}hasActiveLinks(){let n=this.isLinkActive(this.router);return this.link&&n(this.link)||this.links.some(n)}};e.\u0275fac=function(i){return new(i||e)(S(Ct),S(_e),S(ct),S(bn),S(Ne,8))},e.\u0275dir=ie({type:e,selectors:[["","routerLinkActive",""]],contentQueries:function(i,o,s){if(i&1&&Em(s,Ne,5),i&2){let a;_m(a=xm())&&(o.links=a)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[Gt]});let t=e;return t})();function Lx(t){return!!t.paths}var Ma=class{};var Vx=(()=>{let e=class e{constructor(n,i,o,s,a){this.router=n,this.injector=o,this.preloadingStrategy=s,this.loader=a}setUpPreloading(){this.subscription=this.router.events.pipe(Me(n=>n instanceof Ke),Lt(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(n,i){let o=[];for(let s of i){s.providers&&!s._injector&&(s._injector=Ws(s.providers,n,`Route: ${s.path}`));let a=s._injector??n,c=s._loadedInjector??a;(s.loadChildren&&!s._loadedRoutes&&s.canLoad===void 0||s.loadComponent&&!s._loadedComponent)&&o.push(this.preloadConfig(a,s)),(s.children||s._loadedRoutes)&&o.push(this.processRoutes(c,s.children??s._loadedRoutes))}return ae(o).pipe(ln())}preloadConfig(n,i){return this.preloadingStrategy.preload(i,()=>{let o;i.loadChildren&&i.canLoad===void 0?o=this.loader.loadChildren(n,i):o=k(null);let s=o.pipe(fe(a=>a===null?k(void 0):(i._loadedRoutes=a.routes,i._loadedInjector=a.injector,this.processRoutes(a.injector??n,a.routes))));if(i.loadComponent&&!i._loadedComponent){let a=this.loader.loadComponent(i);return ae([s,a]).pipe(ln())}else return s})}};e.\u0275fac=function(i){return new(i||e)(M(Ct),M(ea),M(Pe),M(Ma),M(Ad))},e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),l0=new T(""),jx=(()=>{let e=class e{constructor(n,i,o,s,a={}){this.urlSerializer=n,this.transitions=i,this.viewportScroller=o,this.zone=s,this.options=a,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},a.scrollPositionRestoration||="disabled",a.anchorScrolling||="disabled"}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof Yr?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=n.navigationTrigger,this.restoredId=n.restoredState?n.restoredState.navigationId:0):n instanceof Ke?(this.lastId=n.id,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.urlAfterRedirects).fragment)):n instanceof In&&n.code===ya.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof Da&&(n.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(n.position):n.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(n.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(n,i){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new Da(n,this.lastSource==="popstate"?this.store[this.restoredId]:null,i))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}};e.\u0275fac=function(i){Gp()},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})();function Ux(t){return t.routerState.root}function io(t,e){return{\u0275kind:t,\u0275providers:e}}function Bx(){let t=D(ot);return e=>{let r=t.get(Wt);if(e!==r.components[0])return;let n=t.get(Ct),i=t.get(c0);t.get(Od)===1&&n.initialNavigation(),t.get(u0,null,W.Optional)?.setUpPreloading(),t.get(l0,null,W.Optional)?.init(),n.resetRootComponentType(r.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}var c0=new T("",{factory:()=>new we}),Od=new T("",{providedIn:"root",factory:()=>1});function $x(){return io(2,[{provide:Od,useValue:0},{provide:Js,multi:!0,deps:[ot],useFactory:e=>{let r=e.get(Bm,Promise.resolve());return()=>r.then(()=>new Promise(n=>{let i=e.get(Ct),o=e.get(c0);s0(i,()=>{n(!0)}),e.get(Rd).afterPreactivation=()=>(n(!0),o.closed?k(void 0):o),i.initialNavigation()}))}}])}function Hx(){return io(3,[{provide:Js,multi:!0,useFactory:()=>{let e=D(Ct);return()=>{e.setUpLocationChangeListener()}}},{provide:Od,useValue:2}])}var u0=new T("");function qx(t){return io(0,[{provide:u0,useExisting:Vx},{provide:Ma,useExisting:t}])}function Gx(){return io(8,[_g,{provide:Ta,useExisting:_g}])}function zx(t){let e=[{provide:r0,useValue:xx},{provide:i0,useValue:E({skipNextTransition:!!t?.skipInitialTransition},t)}];return io(9,e)}var Mg=new T("ROUTER_FORROOT_GUARD"),Wx=[jr,{provide:Xi,useClass:Zr},Ct,to,{provide:tn,useFactory:Ux,deps:[Ct]},Ad,[]],kd=(()=>{let e=class e{constructor(n){}static forRoot(n,i){return{ngModule:e,providers:[Wx,[],{provide:Sa,multi:!0,useValue:n},{provide:Mg,useFactory:Kx,deps:[[Ct,new Ts,new kc]]},{provide:ro,useValue:i||{}},i?.useHash?Yx():Qx(),Zx(),i?.preloadingStrategy?qx(i.preloadingStrategy).\u0275providers:[],i?.initialNavigation?Jx(i):[],i?.bindToComponentInputs?Gx().\u0275providers:[],i?.enableViewTransitions?zx().\u0275providers:[],Xx()]}}static forChild(n){return{ngModule:e,providers:[{provide:Sa,multi:!0,useValue:n}]}}};e.\u0275fac=function(i){return new(i||e)(M(Mg,8))},e.\u0275mod=We({type:e}),e.\u0275inj=ze({});let t=e;return t})();function Zx(){return{provide:l0,useFactory:()=>{let t=D(Gm),e=D(oe),r=D(ro),n=D(Rd),i=D(Xi);return r.scrollOffset&&t.setOffset(r.scrollOffset),new jx(i,n,t,e,r)}}}function Yx(){return{provide:Kt,useClass:Hm}}function Qx(){return{provide:Kt,useClass:Pu}}function Kx(t){return"guarded"}function Jx(t){return[t.initialNavigation==="disabled"?Hx().\u0275providers:[],t.initialNavigation==="enabledBlocking"?$x().\u0275providers:[]]}var Tg=new T("");function Xx(){return[{provide:Tg,useFactory:Bx},{provide:Xs,multi:!0,useExisting:Tg}]}var tI=()=>["/pro"],d0=(()=>{let e=class e{constructor(){this.years=new Date().getFullYear()-2009}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=le({type:e,selectors:[["app-footer"]],standalone:!0,features:[ce],decls:94,vars:3,consts:[[1,"container-fluid","mt-5"],[1,"p-5"],[1,"container"],[1,"row"],[1,"col-xs-12","col-md-4","text-center"],["src","resources/portrait_600.jpg","alt","Portrait",1,"img-fluid","img-thumbnail","mb-5","portrait"],[1,"col-xs-12","col-md-8"],[3,"routerLink"],[1,"fa-solid","fa-heart","githubheart"],["href","https://github.com/sponsors/danielpalme","target","_blank"],[1,"col-md-3","offset-md-2"],["href","https://github.com/danielpalme/ReportGenerator","target","_blank"],["href","https://github.com/danielpalme/ReportGenerator/wiki","target","_blank"],["href","https://github.com/danielpalme/ReportGenerator/wiki/FAQ","target","_blank"],[1,"col-md-4","mt-4","mt-md-0"],["href","https://www.nuget.org/packages/ReportGenerator","target","_blank"],["href","https://www.nuget.org/packages/dotnet-reportgenerator-globaltool","target","_blank"],["href","https://www.nuget.org/packages/ReportGenerator.Core","target","_blank"],["href","https://github.com/marketplace/actions/reportgenerator","target","_blank"],["href","https://marketplace.visualstudio.com/items?itemName=Palmmedia.reportgenerator","target","_blank"],[1,"col-md-3","mt-4","mt-md-0"],[1,"fa-brands","fa-github"],["href","https://twitter.com/danielpalme","target","_blank"],[1,"fa-brands","fa-twitter"],["href","https://www.palmmedia.de/Privacy","target","_blank"],["href","https://www.palmmedia.de/Imprint","target","_blank"]],template:function(i,o){i&1&&(u(0,"footer",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4),p(5,"img",5),d(),u(6,"div",6)(7,"h2"),l(8,"Who's behind"),d(),u(9,"p"),l(10,"My name is Daniel Palme. I'm a software developer from Germany."),d(),u(11,"p"),l(12," Back in 2009 I wanted to create code coverage reports based on "),u(13,"i"),l(14,"PartCover"),d(),l(15," files."),p(16,"br"),l(17," Since no existing tool was able to merge several coverage files and generate a visual appealing report, I decided to create my own."),p(18,"br"),l(19),u(20,"i"),l(21,"ReportGenerator"),d(),l(22,". "),d(),u(23,"p"),l(24," You can support the ongoing maintenance by buying a "),u(25,"a",7),l(26,"PRO license"),d(),l(27," or by becoming a "),p(28,"i",8),l(29,"\xA0"),u(30,"a",9),l(31,"GitHub sponsor"),d(),l(32,". "),d()()()()(),u(33,"div",2)(34,"div",3),p(35,"hr"),d()(),u(36,"div",1)(37,"div",2)(38,"div",3)(39,"div",10)(40,"p")(41,"b"),l(42,"GitHub"),d()(),u(43,"a",11),l(44,"Source code"),d(),p(45,"br"),u(46,"a",12),l(47,"Wiki"),d(),p(48,"br"),u(49,"a",13),l(50,"FAQ"),d()(),u(51,"div",14)(52,"p")(53,"b"),l(54,"Download"),d()(),u(55,"i"),l(56,"NuGet"),d(),p(57,"br"),u(58,"a",15),l(59,"ReportGenerator"),d(),p(60,"br"),u(61,"a",16),l(62,"dotnet-reportgenerator-globaltool"),d(),p(63,"br"),u(64,"a",17),l(65,"ReportGenerator.Core"),d(),p(66,"br")(67,"br"),u(68,"i"),l(69,"Integration"),d(),p(70,"br"),u(71,"a",18),l(72,"GitHub actions"),d(),p(73,"br"),u(74,"a",19),l(75,"Azure DevOps"),d()(),u(76,"div",20)(77,"p")(78,"b"),l(79,"Community"),d()(),u(80,"a",11),p(81,"i",21),l(82," GitHub"),d(),p(83,"br"),u(84,"a",22),p(85,"i",23),l(86," Twitter"),d(),p(87,"br")(88,"br"),u(89,"a",24),l(90,"Privacy"),d(),p(91,"br"),u(92,"a",25),l(93,"Imprint"),d()()()()()()),i&2&&(g(19),je(" Fast forward ",o.years," years, I'm still maintaining "),g(6),C("routerLink",H(2,tI)))},dependencies:[Ne],styles:["footer[_ngcontent-%COMP%]{background-color:#464646}footer[_ngcontent-%COMP%], a[_ngcontent-%COMP%]{color:#fff}.portrait[_ngcontent-%COMP%]{max-height:300px}"]});let t=e;return t})();var f0=()=>["/"],nI=t=>({show:t}),Xr=()=>["link-active"],h0=()=>({exact:!0}),rI=()=>["/features"],iI=()=>["/getstarted"],oI=()=>["/usage"],sI=()=>["/contact"],aI=()=>["/pro"],p0=(()=>{let e=class e{constructor(){this.isExpanded=!1}collapse(){this.isExpanded=!1}toggle(){this.isExpanded=!this.isExpanded}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=le({type:e,selectors:[["app-nav-menu"]],standalone:!0,features:[ce],decls:42,vars:34,consts:[[1,"mb-5"],[1,"navbar","fixed-top","navbar-expand-sm","navbar-toggleable-sm","navbar-light","bg-white","border-bottom","box-shadow","mb-3"],[1,"container-xxl","flex-wrap","flex-md-nowrap"],[1,"navbar-brand",3,"routerLink"],["src","resources/logo.svg","height","40","alt","Icon",1,"me-2"],[1,"d-sm-none","d-md-none","d-lg-inline","ms-2"],["type","button","data-toggle","collapse","data-target",".navbar-collapse","aria-label","Toggle navigation",1,"navbar-toggler",3,"click"],[1,"navbar-toggler-icon"],[1,"navbar-collapse","collapse","d-sm-inline-flex",3,"ngClass"],[1,"navbar-nav","flex-grow"],[1,"nav-item",3,"routerLinkActive","routerLinkActiveOptions"],[1,"nav-link","text-dark",3,"routerLink"],[1,"nav-item",3,"routerLinkActive"],[1,"nav-link","text-dark","text-nowrap",3,"routerLink"],[1,"pro-button"],[1,"d-md-none","text-secondary"],[1,"navbar-nav","flex-row","flex-wrap","ms-md-auto","d-sm-none","d-md-flex"],[1,"nav-item","col-6","col-md-auto"],["href","https://github.com/danielpalme/ReportGenerator","target","_blank","title","GitHub",1,"nav-link","text-dark"],[1,"fa-brands","fa-github"],[1,"d-inline","d-sm-none","ms-2"],["href","https://twitter.com/danielpalme","target","_blank","title","Twitter",1,"nav-link","text-dark"],[1,"fa-brands","fa-twitter"]],template:function(i,o){i&1&&(u(0,"header",0)(1,"nav",1)(2,"div",2)(3,"a",3),p(4,"img",4),u(5,"span",5),l(6,"ReportGenerator"),d()(),u(7,"button",6),A("click",function(){return o.toggle()}),p(8,"span",7),d(),u(9,"div",8)(10,"ul",9)(11,"li",10)(12,"a",11),l(13,"Home"),d()(),u(14,"li",10)(15,"a",11),l(16,"Features"),d()(),u(17,"li",12)(18,"a",13),l(19,"Get started"),d()(),u(20,"li",12)(21,"a",11),l(22,"Usage"),d()(),u(23,"li",12)(24,"a",11),l(25,"Contact"),d()(),u(26,"li",12)(27,"a",11)(28,"span",14),l(29,"PRO"),d()()()(),p(30,"hr",15),u(31,"ul",16)(32,"li",17)(33,"a",18),p(34,"i",19),u(35,"span",20),l(36,"GitHub"),d()()(),u(37,"li",17)(38,"a",21),p(39,"i",22),u(40,"span",20),l(41,"Twitter"),d()()()()()()()()),i&2&&(g(3),C("routerLink",H(17,f0)),g(4),Ze("aria-expanded",o.isExpanded),g(2),C("ngClass",Kn(18,nI,o.isExpanded)),g(2),C("routerLinkActive",H(20,Xr))("routerLinkActiveOptions",H(21,h0)),g(),C("routerLink",H(22,f0)),g(2),C("routerLinkActive",H(23,Xr))("routerLinkActiveOptions",H(24,h0)),g(),C("routerLink",H(25,rI)),g(2),C("routerLinkActive",H(26,Xr)),g(),C("routerLink",H(27,iI)),g(2),C("routerLinkActive",H(28,Xr)),g(),C("routerLink",H(29,oI)),g(2),C("routerLinkActive",H(30,Xr)),g(),C("routerLink",H(31,sI)),g(2),C("routerLinkActive",H(32,Xr)),g(),C("routerLink",H(33,aI)))},dependencies:[Ne,Ur,a0],styles:[".box-shadow[_ngcontent-%COMP%]{box-shadow:0 .25rem .75rem #0000000d}@keyframes _ngcontent-%COMP%_pro-button-animation{0%{background-color:var(--rg-primary-color);background-image:linear-gradient(50deg,var(--rg-gradient-from) 0%,var(--rg-gradient-to) 100%)}50%{background-color:vvar(--rg-primary-hover-color);background-image:linear-gradient(50deg,var(--rg-gradient-hover-from) 0%,var(--rg-gradient-hover-from) 100%);box-shadow:0 0 6px 1px var(--rg-primary-color)}to{background-color:var(--rg-primary-color);background-image:linear-gradient(50deg,var(--rg-gradient-from) 0%,var(--rg-gradient-to) 100%)}}.pro-button[_ngcontent-%COMP%]{animation-name:_ngcontent-%COMP%_pro-button-animation;animation-duration:2s;animation-iteration-count:2}.pro-button[_ngcontent-%COMP%]:hover, .link-active[_ngcontent-%COMP%] .pro-button[_ngcontent-%COMP%]{background-color:var(--rg-primary-hover-color);background-image:linear-gradient(50deg,var(--rg-gradient-hover-from) 0%,var(--rg-gradient-hover-from) 100%);box-shadow:0 0 6px 1px var(--rg-primary-color)}.nav-link[_ngcontent-%COMP%]{text-transform:uppercase;font-weight:500}.nav-link[_ngcontent-%COMP%]:hover{text-decoration:underline;text-underline-offset:2px}.link-active[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:var(--rg-primary-hover-color)!important;font-weight:400}"]});let t=e;return t})();var m0=(()=>{let e=class e{constructor(n,i,o){this.dom=n,this.router=i,this.activatedRoute=o}ngOnInit(){this.router.events.pipe(Me(n=>n instanceof Ke),L(()=>this.activatedRoute),L(n=>{for(;n.firstChild;)n=n.firstChild;return n}),Me(n=>n.outlet==="primary"),fe(n=>n.data)).subscribe(n=>{let i=`${window.location.protocol}//${window.location.hostname}`;n.canonical?this.updateCanonicalUrl(i+n.canonical):this.updateCanonicalUrl(i+this.router.url)})}updateCanonicalUrl(n){let i=this.dom.getElementsByTagName("head")[0];var o=this.dom.querySelector("link[rel='canonical']")||null;o==null&&(o=this.dom.createElement("link"),i.appendChild(o)),o.setAttribute("rel","canonical"),o.setAttribute("href",n)}};e.\u0275fac=function(i){return new(i||e)(S(xe),S(Ct),S(tn))},e.\u0275cmp=le({type:e,selectors:[["app-root"]],standalone:!0,features:[ce],decls:3,vars:0,template:function(i,o){i&1&&p(0,"app-nav-menu")(1,"router-outlet")(2,"app-footer")},dependencies:[p0,Md,d0],encapsulation:2});let t=e;return t})();var _0=(()=>{let e=class e{constructor(n,i){this._renderer=n,this._elementRef=i,this.onChange=o=>{},this.onTouched=()=>{}}setProperty(n,i){this._renderer.setProperty(this._elementRef.nativeElement,n,i)}registerOnTouched(n){this.onTouched=n}registerOnChange(n){this.onChange=n}setDisabledState(n){this.setProperty("disabled",n)}};e.\u0275fac=function(i){return new(i||e)(S(ct),S(_e))},e.\u0275dir=ie({type:e});let t=e;return t})(),Va=(()=>{let e=class e extends _0{};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=mt(e)))(o||e)}})(),e.\u0275dir=ie({type:e,features:[Fe]});let t=e;return t})(),uo=new T("");var lI={provide:uo,useExisting:Ge(()=>Ot),multi:!0};function cI(){let t=Nt()?Nt().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}var uI=new T(""),Ot=(()=>{let e=class e extends _0{constructor(n,i,o){super(n,i),this._compositionMode=o,this._composing=!1,this._compositionMode==null&&(this._compositionMode=!cI())}writeValue(n){let i=n??"";this.setProperty("value",i)}_handleInput(n){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(n)}_compositionStart(){this._composing=!0}_compositionEnd(n){this._composing=!1,this._compositionMode&&this.onChange(n)}};e.\u0275fac=function(i){return new(i||e)(S(ct),S(_e),S(uI,8))},e.\u0275dir=ie({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(i,o){i&1&&A("input",function(a){return o._handleInput(a.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(a){return o._compositionEnd(a.target.value)})},features:[vt([lI]),Fe]});let t=e;return t})();function Ld(t){return t==null||(typeof t=="string"||Array.isArray(t))&&t.length===0}function dI(t){return t!=null&&typeof t.length=="number"}var oi=new T(""),x0=new T(""),fI=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;function hI(t){return Ld(t.value)?{required:!0}:null}function pI(t){return Ld(t.value)||fI.test(t.value)?null:{email:!0}}function mI(t){return e=>dI(e.value)&&e.value.length>t?{maxlength:{requiredLength:t,actualLength:e.value.length}}:null}function gI(t){if(!t)return Pd;let e,r;return typeof t=="string"?(r="",t.charAt(0)!=="^"&&(r+="^"),r+=t,t.charAt(t.length-1)!=="$"&&(r+="$"),e=new RegExp(r)):(r=t.toString(),e=t),n=>{if(Ld(n.value))return null;let i=n.value;return e.test(i)?null:{pattern:{requiredPattern:r,actualValue:i}}}}function Pd(t){return null}function I0(t){return t!=null}function S0(t){return Jn(t)?ae(t):t}function M0(t){let e={};return t.forEach(r=>{e=r!=null?E(E({},e),r):e}),Object.keys(e).length===0?null:e}function T0(t,e){return e.map(r=>r(t))}function vI(t){return!t.validate}function A0(t){return t.map(e=>vI(e)?e:r=>e.validate(r))}function yI(t){if(!t)return null;let e=t.filter(I0);return e.length==0?null:function(r){return M0(T0(r,e))}}function Vd(t){return t!=null?yI(A0(t)):null}function CI(t){if(!t)return null;let e=t.filter(I0);return e.length==0?null:function(r){let n=T0(r,e).map(S0);return vl(n).pipe(L(M0))}}function jd(t){return t!=null?CI(A0(t)):null}function g0(t,e){return t===null?[e]:Array.isArray(t)?[...t,e]:[t,e]}function DI(t){return t._rawValidators}function wI(t){return t._rawAsyncValidators}function Fd(t){return t?Array.isArray(t)?t:[t]:[]}function Ra(t,e){return Array.isArray(t)?t.includes(e):t===e}function v0(t,e){let r=Fd(e);return Fd(t).forEach(i=>{Ra(r,i)||r.push(i)}),r}function y0(t,e){return Fd(e).filter(r=>!Ra(t,r))}var Oa=class{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(e){this._rawValidators=e||[],this._composedValidatorFn=Vd(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=jd(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(e){this._onDestroyCallbacks.push(e)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(e=>e()),this._onDestroyCallbacks=[]}reset(e=void 0){this.control&&this.control.reset(e)}hasError(e,r){return this.control?this.control.hasError(e,r):!1}getError(e,r){return this.control?this.control.getError(e,r):null}},ni=class extends Oa{get formDirective(){return null}get path(){return null}},ri=class extends Oa{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}},ka=class{constructor(e){this._cd=e}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}},bI={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},uP=K(E({},bI),{"[class.ng-submitted]":"isSubmitted"}),Mn=(()=>{let e=class e extends ka{constructor(n){super(n)}};e.\u0275fac=function(i){return new(i||e)(S(ri,2))},e.\u0275dir=ie({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,o){i&2&&Zs("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)},features:[Fe]});let t=e;return t})(),Tn=(()=>{let e=class e extends ka{constructor(n){super(n)}};e.\u0275fac=function(i){return new(i||e)(S(ni,10))},e.\u0275dir=ie({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(i,o){i&2&&Zs("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)("ng-submitted",o.isSubmitted)},features:[Fe]});let t=e;return t})();var oo="VALID",Na="INVALID",ei="PENDING",so="DISABLED",ii=class{},Pa=class extends ii{constructor(e,r){super(),this.value=e,this.source=r}},lo=class extends ii{constructor(e,r){super(),this.pristine=e,this.source=r}},co=class extends ii{constructor(e,r){super(),this.touched=e,this.source=r}},ti=class extends ii{constructor(e,r){super(),this.status=e,this.source=r}};function N0(t){return(ja(t)?t.validators:t)||null}function EI(t){return Array.isArray(t)?Vd(t):t||null}function R0(t,e){return(ja(e)?e.asyncValidators:t)||null}function _I(t){return Array.isArray(t)?jd(t):t||null}function ja(t){return t!=null&&!Array.isArray(t)&&typeof t=="object"}function xI(t,e,r){let n=t.controls;if(!(e?Object.keys(n):n).length)throw new N(1e3,"");if(!n[r])throw new N(1001,"")}function II(t,e,r){t._forEachChild((n,i)=>{if(r[i]===void 0)throw new N(1002,"")})}var Fa=class{constructor(e,r){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=null,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this._status=Ai(()=>this.statusReactive()),this.statusReactive=Si(void 0),this._pristine=Ai(()=>this.pristineReactive()),this.pristineReactive=Si(!0),this._touched=Ai(()=>this.touchedReactive()),this.touchedReactive=Si(!1),this._events=new we,this.events=this._events.asObservable(),this._onDisabledChange=[],this._assignValidators(e),this._assignAsyncValidators(r)}get validator(){return this._composedValidatorFn}set validator(e){this._rawValidators=this._composedValidatorFn=e}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}get parent(){return this._parent}get status(){return Yt(this.statusReactive)}set status(e){Yt(()=>this.statusReactive.set(e))}get valid(){return this.status===oo}get invalid(){return this.status===Na}get pending(){return this.status==ei}get disabled(){return this.status===so}get enabled(){return this.status!==so}get pristine(){return Yt(this.pristineReactive)}set pristine(e){Yt(()=>this.pristineReactive.set(e))}get dirty(){return!this.pristine}get touched(){return Yt(this.touchedReactive)}set touched(e){Yt(()=>this.touchedReactive.set(e))}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(e){this._assignValidators(e)}setAsyncValidators(e){this._assignAsyncValidators(e)}addValidators(e){this.setValidators(v0(e,this._rawValidators))}addAsyncValidators(e){this.setAsyncValidators(v0(e,this._rawAsyncValidators))}removeValidators(e){this.setValidators(y0(e,this._rawValidators))}removeAsyncValidators(e){this.setAsyncValidators(y0(e,this._rawAsyncValidators))}hasValidator(e){return Ra(this._rawValidators,e)}hasAsyncValidator(e){return Ra(this._rawAsyncValidators,e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){let r=this.touched===!1;this.touched=!0;let n=e.sourceControl??this;this._parent&&!e.onlySelf&&this._parent.markAsTouched(K(E({},e),{sourceControl:n})),r&&e.emitEvent!==!1&&this._events.next(new co(!0,n))}markAllAsTouched(e={}){this.markAsTouched({onlySelf:!0,emitEvent:e.emitEvent,sourceControl:this}),this._forEachChild(r=>r.markAllAsTouched(e))}markAsUntouched(e={}){let r=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let n=e.sourceControl??this;this._forEachChild(i=>{i.markAsUntouched({onlySelf:!0,emitEvent:e.emitEvent,sourceControl:n})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e,n),r&&e.emitEvent!==!1&&this._events.next(new co(!1,n))}markAsDirty(e={}){let r=this.pristine===!0;this.pristine=!1;let n=e.sourceControl??this;this._parent&&!e.onlySelf&&this._parent.markAsDirty(K(E({},e),{sourceControl:n})),r&&e.emitEvent!==!1&&this._events.next(new lo(!1,n))}markAsPristine(e={}){let r=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let n=e.sourceControl??this;this._forEachChild(i=>{i.markAsPristine({onlySelf:!0,emitEvent:e.emitEvent})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e,n),r&&e.emitEvent!==!1&&this._events.next(new lo(!0,n))}markAsPending(e={}){this.status=ei;let r=e.sourceControl??this;e.emitEvent!==!1&&(this._events.next(new ti(this.status,r)),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.markAsPending(K(E({},e),{sourceControl:r}))}disable(e={}){let r=this._parentMarkedDirty(e.onlySelf);this.status=so,this.errors=null,this._forEachChild(i=>{i.disable(K(E({},e),{onlySelf:!0}))}),this._updateValue();let n=e.sourceControl??this;e.emitEvent!==!1&&(this._events.next(new Pa(this.value,n)),this._events.next(new ti(this.status,n)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(K(E({},e),{skipPristineCheck:r}),this),this._onDisabledChange.forEach(i=>i(!0))}enable(e={}){let r=this._parentMarkedDirty(e.onlySelf);this.status=oo,this._forEachChild(n=>{n.enable(K(E({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(K(E({},e),{skipPristineCheck:r}),this),this._onDisabledChange.forEach(n=>n(!1))}_updateAncestors(e,r){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine({},r),this._parent._updateTouched({},r))}setParent(e){this._parent=e}getRawValue(){return this.value}updateValueAndValidity(e={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let n=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===oo||this.status===ei)&&this._runAsyncValidator(n,e.emitEvent)}let r=e.sourceControl??this;e.emitEvent!==!1&&(this._events.next(new Pa(this.value,r)),this._events.next(new ti(this.status,r)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(K(E({},e),{sourceControl:r}))}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(r=>r._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?so:oo}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e,r){if(this.asyncValidator){this.status=ei,this._hasOwnPendingAsyncValidator={emitEvent:r!==!1};let n=S0(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(i=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(i,{emitEvent:r,shouldHaveEmitted:e})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let e=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,e}return!1}setErrors(e,r={}){this.errors=e,this._updateControlsErrors(r.emitEvent!==!1,this,r.shouldHaveEmitted)}get(e){let r=e;return r==null||(Array.isArray(r)||(r=r.split(".")),r.length===0)?null:r.reduce((n,i)=>n&&n._find(i),this)}getError(e,r){let n=r?this.get(r):this;return n&&n.errors?n.errors[e]:null}hasError(e,r){return!!this.getError(e,r)}get root(){let e=this;for(;e._parent;)e=e._parent;return e}_updateControlsErrors(e,r,n){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),(e||n)&&this._events.next(new ti(this.status,r)),this._parent&&this._parent._updateControlsErrors(e,r,n)}_initObservables(){this.valueChanges=new he,this.statusChanges=new he}_calculateStatus(){return this._allControlsDisabled()?so:this.errors?Na:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(ei)?ei:this._anyControlsHaveStatus(Na)?Na:oo}_anyControlsHaveStatus(e){return this._anyControls(r=>r.status===e)}_anyControlsDirty(){return this._anyControls(e=>e.dirty)}_anyControlsTouched(){return this._anyControls(e=>e.touched)}_updatePristine(e,r){let n=!this._anyControlsDirty(),i=this.pristine!==n;this.pristine=n,this._parent&&!e.onlySelf&&this._parent._updatePristine(e,r),i&&this._events.next(new lo(this.pristine,r))}_updateTouched(e={},r){this.touched=this._anyControlsTouched(),this._events.next(new co(this.touched,r)),this._parent&&!e.onlySelf&&this._parent._updateTouched(e,r)}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){ja(e)&&e.updateOn!=null&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){let r=this._parent&&this._parent.dirty;return!e&&!!r&&!this._parent._anyControlsDirty()}_find(e){return null}_assignValidators(e){this._rawValidators=Array.isArray(e)?e.slice():e,this._composedValidatorFn=EI(this._rawValidators)}_assignAsyncValidators(e){this._rawAsyncValidators=Array.isArray(e)?e.slice():e,this._composedAsyncValidatorFn=_I(this._rawAsyncValidators)}},La=class extends Fa{constructor(e,r,n){super(N0(r),R0(n,r)),this.controls=e,this._initObservables(),this._setUpdateStrategy(r),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(e,r){return this.controls[e]?this.controls[e]:(this.controls[e]=r,r.setParent(this),r._registerOnCollectionChange(this._onCollectionChange),r)}addControl(e,r,n={}){this.registerControl(e,r),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}removeControl(e,r={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}setControl(e,r,n={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],r&&this.registerControl(e,r),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}contains(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}setValue(e,r={}){II(this,!0,e),Object.keys(e).forEach(n=>{xI(this,!0,n),this.controls[n].setValue(e[n],{onlySelf:!0,emitEvent:r.emitEvent})}),this.updateValueAndValidity(r)}patchValue(e,r={}){e!=null&&(Object.keys(e).forEach(n=>{let i=this.controls[n];i&&i.patchValue(e[n],{onlySelf:!0,emitEvent:r.emitEvent})}),this.updateValueAndValidity(r))}reset(e={},r={}){this._forEachChild((n,i)=>{n.reset(e?e[i]:null,{onlySelf:!0,emitEvent:r.emitEvent})}),this._updatePristine(r,this),this._updateTouched(r,this),this.updateValueAndValidity(r)}getRawValue(){return this._reduceChildren({},(e,r,n)=>(e[n]=r.getRawValue(),e))}_syncPendingControls(){let e=this._reduceChildren(!1,(r,n)=>n._syncPendingControls()?!0:r);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_forEachChild(e){Object.keys(this.controls).forEach(r=>{let n=this.controls[r];n&&e(n,r)})}_setUpControls(){this._forEachChild(e=>{e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(e){for(let[r,n]of Object.entries(this.controls))if(this.contains(r)&&e(n))return!0;return!1}_reduceValue(){let e={};return this._reduceChildren(e,(r,n,i)=>((n.enabled||this.disabled)&&(r[i]=n.value),r))}_reduceChildren(e,r){let n=e;return this._forEachChild((i,o)=>{n=r(n,i,o)}),n}_allControlsDisabled(){for(let e of Object.keys(this.controls))if(this.controls[e].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(e){return this.controls.hasOwnProperty(e)?this.controls[e]:null}};var Ua=new T("CallSetDisabledState",{providedIn:"root",factory:()=>Ba}),Ba="always";function SI(t,e){return[...e.path,t]}function O0(t,e,r=Ba){k0(t,e),e.valueAccessor.writeValue(t.value),(t.disabled||r==="always")&&e.valueAccessor.setDisabledState?.(t.disabled),TI(t,e),NI(t,e),AI(t,e),MI(t,e)}function C0(t,e){t.forEach(r=>{r.registerOnValidatorChange&&r.registerOnValidatorChange(e)})}function MI(t,e){if(e.valueAccessor.setDisabledState){let r=n=>{e.valueAccessor.setDisabledState(n)};t.registerOnDisabledChange(r),e._registerOnDestroy(()=>{t._unregisterOnDisabledChange(r)})}}function k0(t,e){let r=DI(t);e.validator!==null?t.setValidators(g0(r,e.validator)):typeof r=="function"&&t.setValidators([r]);let n=wI(t);e.asyncValidator!==null?t.setAsyncValidators(g0(n,e.asyncValidator)):typeof n=="function"&&t.setAsyncValidators([n]);let i=()=>t.updateValueAndValidity();C0(e._rawValidators,i),C0(e._rawAsyncValidators,i)}function TI(t,e){e.valueAccessor.registerOnChange(r=>{t._pendingValue=r,t._pendingChange=!0,t._pendingDirty=!0,t.updateOn==="change"&&P0(t,e)})}function AI(t,e){e.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,t.updateOn==="blur"&&t._pendingChange&&P0(t,e),t.updateOn!=="submit"&&t.markAsTouched()})}function P0(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function NI(t,e){let r=(n,i)=>{e.valueAccessor.writeValue(n),i&&e.viewToModelUpdate(n)};t.registerOnChange(r),e._registerOnDestroy(()=>{t._unregisterOnChange(r)})}function RI(t,e){t==null,k0(t,e)}function OI(t,e){if(!t.hasOwnProperty("model"))return!1;let r=t.model;return r.isFirstChange()?!0:!Object.is(e,r.currentValue)}function kI(t){return Object.getPrototypeOf(t.constructor)===Va}function PI(t,e){t._syncPendingControls(),e.forEach(r=>{let n=r.control;n.updateOn==="submit"&&n._pendingChange&&(r.viewToModelUpdate(n._pendingValue),n._pendingChange=!1)})}function FI(t,e){if(!e)return null;Array.isArray(e);let r,n,i;return e.forEach(o=>{o.constructor===Ot?r=o:kI(o)?n=o:i=o}),i||n||r||null}var LI={provide:ni,useExisting:Ge(()=>nn)},ao=Promise.resolve(),nn=(()=>{let e=class e extends ni{get submitted(){return Yt(this.submittedReactive)}constructor(n,i,o){super(),this.callSetDisabledState=o,this._submitted=Ai(()=>this.submittedReactive()),this.submittedReactive=Si(!1),this._directives=new Set,this.ngSubmit=new he,this.form=new La({},Vd(n),jd(i))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(n){ao.then(()=>{let i=this._findContainer(n.path);n.control=i.registerControl(n.name,n.control),O0(n.control,n,this.callSetDisabledState),n.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(n)})}getControl(n){return this.form.get(n.path)}removeControl(n){ao.then(()=>{let i=this._findContainer(n.path);i&&i.removeControl(n.name),this._directives.delete(n)})}addFormGroup(n){ao.then(()=>{let i=this._findContainer(n.path),o=new La({});RI(o,n),i.registerControl(n.name,o),o.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(n){ao.then(()=>{let i=this._findContainer(n.path);i&&i.removeControl(n.name)})}getFormGroup(n){return this.form.get(n.path)}updateModel(n,i){ao.then(()=>{this.form.get(n.path).setValue(i)})}setValue(n){this.control.setValue(n)}onSubmit(n){return this.submittedReactive.set(!0),PI(this.form,this._directives),this.ngSubmit.emit(n),n?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(n=void 0){this.form.reset(n),this.submittedReactive.set(!1)}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(n){return n.pop(),n.length?this.form.get(n):this.form}};e.\u0275fac=function(i){return new(i||e)(S(oi,10),S(x0,10),S(Ua,8))},e.\u0275dir=ie({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(i,o){i&1&&A("submit",function(a){return o.onSubmit(a)})("reset",function(){return o.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[vt([LI]),Fe]});let t=e;return t})();function D0(t,e){let r=t.indexOf(e);r>-1&&t.splice(r,1)}function w0(t){return typeof t=="object"&&t!==null&&Object.keys(t).length===2&&"value"in t&&"disabled"in t}var VI=class extends Fa{constructor(e=null,r,n){super(N0(r),R0(n,r)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(e),this._setUpdateStrategy(r),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),ja(r)&&(r.nonNullable||r.initialValueIsDefault)&&(w0(e)?this.defaultValue=e.value:this.defaultValue=e)}setValue(e,r={}){this.value=this._pendingValue=e,this._onChange.length&&r.emitModelToViewChange!==!1&&this._onChange.forEach(n=>n(this.value,r.emitViewToModelChange!==!1)),this.updateValueAndValidity(r)}patchValue(e,r={}){this.setValue(e,r)}reset(e=this.defaultValue,r={}){this._applyFormState(e),this.markAsPristine(r),this.markAsUntouched(r),this.setValue(this.value,r),this._pendingChange=!1}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(e){this._onChange.push(e)}_unregisterOnChange(e){D0(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){D0(this._onDisabledChange,e)}_forEachChild(e){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(e){w0(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}};var jI={provide:ri,useExisting:Ge(()=>rn)},b0=Promise.resolve(),rn=(()=>{let e=class e extends ri{constructor(n,i,o,s,a,c){super(),this._changeDetectorRef=a,this.callSetDisabledState=c,this.control=new VI,this._registered=!1,this.name="",this.update=new he,this._parent=n,this._setValidators(i),this._setAsyncValidators(o),this.valueAccessor=FI(this,s)}ngOnChanges(n){if(this._checkForErrors(),!this._registered||"name"in n){if(this._registered&&(this._checkName(),this.formDirective)){let i=n.name.previousValue;this.formDirective.removeControl({name:i,path:this._getPath(i)})}this._setUpControl()}"isDisabled"in n&&this._updateDisabled(n),OI(n,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(n){this.viewModel=n,this.update.emit(n)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){O0(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(n){b0.then(()=>{this.control.setValue(n,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(n){let i=n.isDisabled.currentValue,o=i!==0&&Zt(i);b0.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(n){return this._parent?SI(n,this._parent):[n]}};e.\u0275fac=function(i){return new(i||e)(S(ni,9),S(oi,10),S(x0,10),S(uo,10),S(bn,8),S(Ua,8))},e.\u0275dir=ie({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[vt([jI]),Fe,Gt]});let t=e;return t})(),An=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=ie({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]});let t=e;return t})();var UI={provide:uo,useExisting:Ge(()=>Ud),multi:!0};var BI=(()=>{let e=class e{constructor(){this._accessors=[]}add(n,i){this._accessors.push([n,i])}remove(n){for(let i=this._accessors.length-1;i>=0;--i)if(this._accessors[i][1]===n){this._accessors.splice(i,1);return}}select(n){this._accessors.forEach(i=>{this._isSameGroup(i,n)&&i[1]!==n&&i[1].fireUncheck(n.value)})}_isSameGroup(n,i){return n[0].control?n[0]._parent===i._control._parent&&n[1].name===i.name:!1}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Ud=(()=>{let e=class e extends Va{constructor(n,i,o,s){super(n,i),this._registry=o,this._injector=s,this.setDisabledStateFired=!1,this.onChange=()=>{},this.callSetDisabledState=D(Ua,{optional:!0})??Ba}ngOnInit(){this._control=this._injector.get(ri),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(n){this._state=n===this.value,this.setProperty("checked",this._state)}registerOnChange(n){this._fn=n,this.onChange=()=>{n(this.value),this._registry.select(this)}}setDisabledState(n){(this.setDisabledStateFired||n||this.callSetDisabledState==="whenDisabledForLegacyCode")&&this.setProperty("disabled",n),this.setDisabledStateFired=!0}fireUncheck(n){this.writeValue(n)}_checkName(){this.name&&this.formControlName&&(this.name,this.formControlName),!this.name&&this.formControlName&&(this.name=this.formControlName)}};e.\u0275fac=function(i){return new(i||e)(S(ct),S(_e),S(BI),S(ot))},e.\u0275dir=ie({type:e,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(i,o){i&1&&A("change",function(){return o.onChange()})("blur",function(){return o.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[vt([UI]),Fe]});let t=e;return t})();var $I={provide:uo,useExisting:Ge(()=>si),multi:!0};function F0(t,e){return t==null?`${e}`:(e&&typeof e=="object"&&(e="Object"),`${t}: ${e}`.slice(0,50))}function HI(t){return t.split(":")[0]}var si=(()=>{let e=class e extends Va{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(n){this._compareWith=n}writeValue(n){this.value=n;let i=this._getOptionId(n),o=F0(i,n);this.setProperty("value",o)}registerOnChange(n){this.onChange=i=>{this.value=this._getOptionValue(i),n(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(n){for(let i of this._optionMap.keys())if(this._compareWith(this._optionMap.get(i),n))return i;return null}_getOptionValue(n){let i=HI(n);return this._optionMap.has(i)?this._optionMap.get(i):n}};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=mt(e)))(o||e)}})(),e.\u0275dir=ie({type:e,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(i,o){i&1&&A("change",function(a){return o.onChange(a.target.value)})("blur",function(){return o.onTouched()})},inputs:{compareWith:"compareWith"},features:[vt([$I]),Fe]});let t=e;return t})(),$a=(()=>{let e=class e{constructor(n,i,o){this._element=n,this._renderer=i,this._select=o,this._select&&(this.id=this._select._registerOption())}set ngValue(n){this._select!=null&&(this._select._optionMap.set(this.id,n),this._setElementValue(F0(this.id,n)),this._select.writeValue(this._select.value))}set value(n){this._setElementValue(n),this._select&&this._select.writeValue(this._select.value)}_setElementValue(n){this._renderer.setProperty(this._element.nativeElement,"value",n)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}};e.\u0275fac=function(i){return new(i||e)(S(_e),S(ct),S(si,9))},e.\u0275dir=ie({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}});let t=e;return t})(),qI={provide:uo,useExisting:Ge(()=>L0),multi:!0};function E0(t,e){return t==null?`${e}`:(typeof e=="string"&&(e=`'${e}'`),e&&typeof e=="object"&&(e="Object"),`${t}: ${e}`.slice(0,50))}function GI(t){return t.split(":")[0]}var L0=(()=>{let e=class e extends Va{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(n){this._compareWith=n}writeValue(n){this.value=n;let i;if(Array.isArray(n)){let o=n.map(s=>this._getOptionId(s));i=(s,a)=>{s._setSelected(o.indexOf(a.toString())>-1)}}else i=(o,s)=>{o._setSelected(!1)};this._optionMap.forEach(i)}registerOnChange(n){this.onChange=i=>{let o=[],s=i.selectedOptions;if(s!==void 0){let a=s;for(let c=0;c{let n;return function(o){return(n||(n=mt(e)))(o||e)}})(),e.\u0275dir=ie({type:e,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(i,o){i&1&&A("change",function(a){return o.onChange(a.target)})("blur",function(){return o.onTouched()})},inputs:{compareWith:"compareWith"},features:[vt([qI]),Fe]});let t=e;return t})(),Ha=(()=>{let e=class e{constructor(n,i,o){this._element=n,this._renderer=i,this._select=o,this._select&&(this.id=this._select._registerOption(this))}set ngValue(n){this._select!=null&&(this._value=n,this._setElementValue(E0(this.id,n)),this._select.writeValue(this._select.value))}set value(n){this._select?(this._value=n,this._setElementValue(E0(this.id,n)),this._select.writeValue(this._select.value)):this._setElementValue(n)}_setElementValue(n){this._renderer.setProperty(this._element.nativeElement,"value",n)}_setSelected(n){this._renderer.setProperty(this._element.nativeElement,"selected",n)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}};e.\u0275fac=function(i){return new(i||e)(S(_e),S(ct),S(L0,9))},e.\u0275dir=ie({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}});let t=e;return t})();function zI(t){return typeof t=="number"?t:parseInt(t,10)}var qa=(()=>{let e=class e{constructor(){this._validator=Pd}ngOnChanges(n){if(this.inputName in n){let i=this.normalizeInput(n[this.inputName].currentValue);this._enabled=this.enabled(i),this._validator=this._enabled?this.createValidator(i):Pd,this._onChange&&this._onChange()}}validate(n){return this._validator(n)}registerOnValidatorChange(n){this._onChange=n}enabled(n){return n!=null}};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=ie({type:e,features:[Gt]});let t=e;return t})();var WI={provide:oi,useExisting:Ge(()=>on),multi:!0};var on=(()=>{let e=class e extends qa{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=Zt,this.createValidator=n=>hI}enabled(n){return n}};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=mt(e)))(o||e)}})(),e.\u0275dir=ie({type:e,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(i,o){i&2&&Ze("required",o._enabled?"":null)},inputs:{required:"required"},features:[vt([WI]),Fe]});let t=e;return t})();var ZI={provide:oi,useExisting:Ge(()=>fo),multi:!0},fo=(()=>{let e=class e extends qa{constructor(){super(...arguments),this.inputName="email",this.normalizeInput=Zt,this.createValidator=n=>pI}enabled(n){return n}};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=mt(e)))(o||e)}})(),e.\u0275dir=ie({type:e,selectors:[["","email","","formControlName",""],["","email","","formControl",""],["","email","","ngModel",""]],inputs:{email:"email"},features:[vt([ZI]),Fe]});let t=e;return t})();var YI={provide:oi,useExisting:Ge(()=>ho),multi:!0},ho=(()=>{let e=class e extends qa{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=n=>zI(n),this.createValidator=n=>mI(n)}};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=mt(e)))(o||e)}})(),e.\u0275dir=ie({type:e,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(i,o){i&2&&Ze("maxlength",o._enabled?o.maxlength:null)},inputs:{maxlength:"maxlength"},features:[vt([YI]),Fe]});let t=e;return t})(),QI={provide:oi,useExisting:Ge(()=>Bd),multi:!0},Bd=(()=>{let e=class e extends qa{constructor(){super(...arguments),this.inputName="pattern",this.normalizeInput=n=>n,this.createValidator=n=>gI(n)}};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=mt(e)))(o||e)}})(),e.\u0275dir=ie({type:e,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(i,o){i&2&&Ze("pattern",o._enabled?o.pattern:null)},inputs:{pattern:"pattern"},features:[vt([QI]),Fe]});let t=e;return t})();var KI=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=We({type:e}),e.\u0275inj=ze({});let t=e;return t})();var kt=(()=>{let e=class e{static withConfig(n){return{ngModule:e,providers:[{provide:Ua,useValue:n.callSetDisabledState??Ba}]}}};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=We({type:e}),e.\u0275inj=ze({imports:[KI]});let t=e;return t})();var za=class{constructor(){this.name="",this.email="",this.message=""}};var Wa=(()=>{let e=class e{constructor(n){this.httpClient=n}postContactForm(n){return this.httpClient.post(`${ee.apiBaseUrl}contact`,n)}};e.\u0275fac=function(i){return new(i||e)(M(Pi))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})();function XI(t,e){if(t&1){let r=te();u(0,"form",5,0),A("ngSubmit",function(){x(r);let i=w();return I(i.submit())}),u(2,"div",6)(3,"label",7),l(4,"Name "),u(5,"span",8),l(6,"*"),d()(),u(7,"input",9),$("ngModelChange",function(i){x(r);let o=w();return z(o.contactViewModel.name,i)||(o.contactViewModel.name=i),I(i)}),d()(),u(8,"div",6)(9,"label",10),l(10,"Email address "),u(11,"span",8),l(12,"*"),d()(),u(13,"input",11),$("ngModelChange",function(i){x(r);let o=w();return z(o.contactViewModel.email,i)||(o.contactViewModel.email=i),I(i)}),d()(),u(14,"div",6)(15,"label",12),l(16,"Message "),u(17,"span",8),l(18,"*"),d()(),u(19,"textarea",13),$("ngModelChange",function(i){x(r);let o=w();return z(o.contactViewModel.message,i)||(o.contactViewModel.message=i),I(i)}),d()(),u(20,"button",14),l(21,"Submit"),d()()}if(t&2){let r=Lr(1),n=w();g(7),B("ngModel",n.contactViewModel.name),g(6),B("ngModel",n.contactViewModel.email),g(6),B("ngModel",n.contactViewModel.message),g(),C("disabled",!r.valid||n.enableFormCountDown>0)}}function eS(t,e){t&1&&(u(0,"p"),l(1,"Thanks for your message."),d())}function tS(t,e){t&1&&(u(0,"p",4),l(1,"Something went wrong. Please try again later."),d())}var V0=(()=>{let e=class e{constructor(n){this.contactService=n,this.contactViewModel=new za,this.success=!1,this.error=!1,this.enableFormCountDown=100,this.intervalId=null}ngOnInit(){this.intervalId=setInterval(()=>{this.enableFormCountDown-=1,this.enableFormCountDown===0&&clearInterval(this.intervalId)},50)}ngOnDestroy(){this.intervalId&&clearInterval(this.intervalId)}submit(){this.contactService.postContactForm(this.contactViewModel).subscribe({next:n=>{console.log("Submitted form"),this.success=!0},error:n=>{console.error(n),this.error=!0},complete:()=>console.info("complete")})}};e.\u0275fac=function(i){return new(i||e)(S(Wa))},e.\u0275cmp=le({type:e,selectors:[["app-contact-component"]],standalone:!0,features:[ce],decls:6,vars:3,consts:[["contactForm","ngForm"],[1,"container"],[1,"mb-4"],["method","post"],[1,"text-danger"],["method","post",3,"ngSubmit"],[1,"mb-3"],["for","Name"],[1,"required"],["type","text","id","Name","name","Name","required","",1,"form-control",3,"ngModelChange","ngModel"],["for","Email"],["type","email","id","Email","name","Email","email","","required","",1,"form-control",3,"ngModelChange","ngModel"],["for","Message"],["rows","7","id","Message","name","Message","required","",1,"form-control",3,"ngModelChange","ngModel"],["type","submit",1,"btn","btn-primary",3,"disabled"]],template:function(i,o){i&1&&(u(0,"div",1)(1,"h1",2),l(2,"Contact"),d(),P(3,XI,22,4,"form",3)(4,eS,2,0,"p")(5,tS,2,0,"p",4),d()),i&2&&(g(3),gt(!o.success&&!o.error?3:-1),g(),gt(o.success?4:-1),g(),gt(o.error?5:-1))},dependencies:[kt,An,Ot,Mn,Tn,on,fo,rn,nn]});let t=e;return t})();var Dt={paddleIndividualLicensePrice:"US$49",paddleTeamLicensePrice:"US$149",paddleEnterpriseLicensePrice:"US$299",paddleIndividualLifetimeLicensePrice:"US$79",paddleTeamLifetimeLicensePrice:"US$249",paddleEnterpriseLifetimeLicensePrice:"US$499",paddleIndividualLifetimeLicensePriceEuro:"\u20AC79",paddleTeamLifetimeLicensePriceEuro:"\u20AC249",paddleEnterpriseLifetimeLicensePriceEuro:"\u20AC499"};var ai=(()=>{let e=class e{constructor(n){this.httpClient=n}getLicense(n){return this.httpClient.get(`${ee.apiBaseUrl}reportgenerator/license?code=${encodeURIComponent(n)}`)}getTrialLicense(n){return this.httpClient.post(`${ee.apiBaseUrl}reportgenerator/triallicense`,n)}getPaddleLicense(n){return this.httpClient.post(`${ee.apiBaseUrl}reportgenerator/paddlelicense`,n)}requestInvoice(n){return this.httpClient.post(`${ee.apiBaseUrl}reportgenerator/invoice`,n)}};e.\u0275fac=function(i){return new(i||e)(M(Pi))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})();function nS(t,e){if(t&1){let r=te();u(0,"form",14,0),A("ngSubmit",function(){x(r);let i=w();return I(i.requestInvoice())}),u(2,"div",15)(3,"select",16),$("ngModelChange",function(i){x(r);let o=w();return z(o.requestInvoiceData.currency,i)||(o.requestInvoiceData.currency=i),I(i)}),u(4,"option",17),l(5,"EUR"),d(),u(6,"option",18),l(7,"US$"),d()(),u(8,"label",19),l(9,"Currency"),d()(),u(10,"div",15)(11,"select",20),$("ngModelChange",function(i){x(r);let o=w();return z(o.requestInvoiceData.product,i)||(o.requestInvoiceData.product=i),I(i)}),u(12,"option",21),l(13,"Select product"),d(),u(14,"option",22),l(15),d(),u(16,"option",23),l(17),d(),u(18,"option",24),l(19),d()(),u(20,"label",25),l(21,"Product "),u(22,"span",26),l(23,"*"),d()()(),u(24,"div",15)(25,"select",27),$("ngModelChange",function(i){x(r);let o=w();return z(o.requestInvoiceData.type,i)||(o.requestInvoiceData.type=i),I(i)}),u(26,"option",28),l(27,"Business"),d(),u(28,"option",29),l(29,"Single"),d()(),u(30,"label",30),l(31,"Type"),d()(),u(32,"div",15)(33,"input",31),$("ngModelChange",function(i){x(r);let o=w();return z(o.requestInvoiceData.name,i)||(o.requestInvoiceData.name=i),I(i)}),d(),u(34,"label",32),l(35,"Company name "),u(36,"span",26),l(37,"*"),d()()(),u(38,"div",15)(39,"input",33),$("ngModelChange",function(i){x(r);let o=w();return z(o.requestInvoiceData.country,i)||(o.requestInvoiceData.country=i),I(i)}),d(),u(40,"label",34),l(41,"Country "),u(42,"span",26),l(43,"*"),d()()(),u(44,"div",15)(45,"input",35),$("ngModelChange",function(i){x(r);let o=w();return z(o.requestInvoiceData.address,i)||(o.requestInvoiceData.address=i),I(i)}),d(),u(46,"label",36),l(47,"Address "),u(48,"span",26),l(49,"*"),d()()(),u(50,"div",15)(51,"input",37),$("ngModelChange",function(i){x(r);let o=w();return z(o.requestInvoiceData.city,i)||(o.requestInvoiceData.city=i),I(i)}),d(),u(52,"label",38),l(53,"City/town "),u(54,"span",26),l(55,"*"),d()()(),u(56,"div",15)(57,"input",39),$("ngModelChange",function(i){x(r);let o=w();return z(o.requestInvoiceData.state,i)||(o.requestInvoiceData.state=i),I(i)}),d(),u(58,"label",40),l(59,"State/province "),u(60,"span",26),l(61,"*"),d()()(),u(62,"div",15)(63,"input",41),$("ngModelChange",function(i){x(r);let o=w();return z(o.requestInvoiceData.postcode,i)||(o.requestInvoiceData.postcode=i),I(i)}),d(),u(64,"label",42),l(65,"Postcode "),u(66,"span",26),l(67,"*"),d()()(),u(68,"div",15)(69,"input",43),$("ngModelChange",function(i){x(r);let o=w();return z(o.requestInvoiceData.contactName,i)||(o.requestInvoiceData.contactName=i),I(i)}),d(),u(70,"label",44),l(71,"Contact name "),u(72,"span",26),l(73,"*"),d()()(),u(74,"div",15)(75,"input",45),$("ngModelChange",function(i){x(r);let o=w();return z(o.requestInvoiceData.email,i)||(o.requestInvoiceData.email=i),I(i)}),d(),u(76,"label",46),l(77,"Email "),u(78,"span",26),l(79,"*"),d()()(),u(80,"div",15)(81,"input",47),$("ngModelChange",function(i){x(r);let o=w();return z(o.requestInvoiceData.financeEmail,i)||(o.requestInvoiceData.financeEmail=i),I(i)}),d(),u(82,"label",48),l(83,"POC/finance email"),d()(),u(84,"div",15)(85,"input",49),$("ngModelChange",function(i){x(r);let o=w();return z(o.requestInvoiceData.vatNumber,i)||(o.requestInvoiceData.vatNumber=i),I(i)}),d(),u(86,"label",50),l(87,"Sales tax/VAT number"),d()(),u(88,"div",15)(89,"input",51),$("ngModelChange",function(i){x(r);let o=w();return z(o.requestInvoiceData.companyNumber,i)||(o.requestInvoiceData.companyNumber=i),I(i)}),d(),u(90,"label",52),l(91,"Company number"),d()(),u(92,"div",15)(93,"textarea",53),$("ngModelChange",function(i){x(r);let o=w();return z(o.requestInvoiceData.comment,i)||(o.requestInvoiceData.comment=i),I(i)}),d(),u(94,"label",54),l(95,"Comment"),d()(),u(96,"button",55),l(97,"Request invoice"),d()()}if(t&2){let r=Lr(1),n=w();g(3),B("ngModel",n.requestInvoiceData.currency),g(8),B("ngModel",n.requestInvoiceData.product),g(4),Mi("Individual - Lifetime license - ",n.requestInvoiceData.currency," ",n.paddleIndividualLifetimeLicensePriceEuro,""),g(2),Mi("Team - Lifetime license - ",n.requestInvoiceData.currency," ",n.paddleTeamLifetimeLicensePriceEuro,""),g(2),Mi("Enterprise - Lifetime license - ",n.requestInvoiceData.currency," ",n.paddleEnterpriseLifetimeLicensePriceEuro,""),g(6),B("ngModel",n.requestInvoiceData.type),g(8),B("ngModel",n.requestInvoiceData.name),g(6),B("ngModel",n.requestInvoiceData.country),g(6),B("ngModel",n.requestInvoiceData.address),g(6),B("ngModel",n.requestInvoiceData.city),g(6),B("ngModel",n.requestInvoiceData.state),g(6),B("ngModel",n.requestInvoiceData.postcode),g(6),B("ngModel",n.requestInvoiceData.contactName),g(6),B("ngModel",n.requestInvoiceData.email),g(6),B("ngModel",n.requestInvoiceData.financeEmail),g(4),B("ngModel",n.requestInvoiceData.vatNumber),g(4),B("ngModel",n.requestInvoiceData.companyNumber),g(4),B("ngModel",n.requestInvoiceData.comment),g(3),C("disabled",!r.valid)}}function rS(t,e){t&1&&(Le(0),u(1,"div",56)(2,"span",57),l(3,"Loading..."),d()(),u(4,"span",58),l(5,"Please wait."),d(),Ve())}function iS(t,e){t&1&&(u(0,"div",59),l(1," Thanks for you request. You will receive an invoice as soon as possible. "),d())}var U0=(()=>{let e=class e{constructor(n){this.licenseService=n,this.paddleIndividualLifetimeLicensePriceEuro=Dt.paddleIndividualLifetimeLicensePriceEuro,this.paddleTeamLifetimeLicensePriceEuro=Dt.paddleTeamLifetimeLicensePriceEuro,this.paddleEnterpriseLifetimeLicensePriceEuro=Dt.paddleEnterpriseLifetimeLicensePriceEuro,this.invoiceRequested=!1,this.invoiceSuccessResponse=!1,this.requestInvoiceData={product:"",currency:"EUR",type:"Business",name:"",country:"",address:"",city:"",state:"",postcode:"",contactName:"",email:"",financeEmail:null,vatNumber:null,companyNumber:null,comment:null}}requestInvoice(){this.licenseService.requestInvoice(this.requestInvoiceData).subscribe({next:n=>{this.invoiceRequested=!0},error:n=>{console.error(n)},complete:()=>{this.invoiceSuccessResponse=!0}})}};e.\u0275fac=function(i){return new(i||e)(S(ai))},e.\u0275cmp=le({type:e,selectors:[["app-enterprise-component"]],standalone:!0,features:[ce],decls:53,vars:3,consts:[["requestInvoiceForm","ngForm"],[1,"container"],[1,"mb-4"],["href","https://www.paddle.com/about/procurement","target","_blank"],[1,"fa-solid","fa-image","text-secondary","me-1"],["href","resources/enterprise/email@2x.webp"],["href","resources/enterprise/confirmation@2x.webp"],["href","resources/enterprise/invoice@2x.webp"],[1,"fa-solid","fa-file-pdf","text-secondary","me-1"],["href","resources/enterprise/invoice.pdf"],[1,"mt-5"],["method","post",3,"ngSubmit",4,"ngIf"],[4,"ngIf"],["class","col-xs-12 col-md-6",4,"ngIf"],["method","post",3,"ngSubmit"],[1,"form-floating","mb-3"],["id","currency","name","currency","placeholder","Currency",1,"form-select",3,"ngModelChange","ngModel"],["value","EUR"],["value","US$"],["for","currency"],["id","product","name","product","placeholder","Product","required","",1,"form-select",3,"ngModelChange","ngModel"],["value",""],["value","Individual"],["value","Team"],["value","Enterprise"],["for","product"],[1,"required"],["id","type","name","type","placeholder","Type",1,"form-select",3,"ngModelChange","ngModel"],["value","Business"],["value","Single"],["for","type"],["type","text","id","name","name","name","required","","maxlength","150","placeholder","Company name",1,"form-control",3,"ngModelChange","ngModel"],["for","name"],["type","text","id","country","name","country","required","","maxlength","150","placeholder","Country",1,"form-control",3,"ngModelChange","ngModel"],["for","country"],["type","text","id","address","name","address","required","","maxlength","150","placeholder","Address",1,"form-control",3,"ngModelChange","ngModel"],["for","address"],["type","text","id","city","name","city","required","","maxlength","150","placeholder","City/town",1,"form-control",3,"ngModelChange","ngModel"],["for","city"],["type","text","id","state","name","state","required","","maxlength","150","placeholder","State/province",1,"form-control",3,"ngModelChange","ngModel"],["for","state"],["type","text","id","postcode","name","postcode","required","","maxlength","150","placeholder","Postcode",1,"form-control",3,"ngModelChange","ngModel"],["for","postcode"],["type","text","id","contactName","name","contactName","required","","maxlength","150","placeholder","Contact name",1,"form-control",3,"ngModelChange","ngModel"],["for","contactName"],["type","email","id","email","name","email","required","","maxlength","150","placeholder","Email",1,"form-control",3,"ngModelChange","ngModel"],["for","email"],["type","email","id","financeEmail","name","financeEmail","maxlength","150","placeholder","POC/finance email",1,"form-control",3,"ngModelChange","ngModel"],["for","financeEmail"],["type","text","id","vatNumber","name","vatNumber","maxlength","150","placeholder","Sales tax/VAT number",1,"form-control",3,"ngModelChange","ngModel"],["for","vatNumber"],["type","text","id","companyNumber","name","companyNumber","maxlength","150","placeholder","Company number",1,"form-control",3,"ngModelChange","ngModel"],["for","companyNumber"],["id","comment","name","comment","placeholder","Comment",1,"form-control",2,"height","100px",3,"ngModelChange","ngModel"],["for","comment"],["type","submit",1,"btn","btn-primary",3,"disabled"],["role","status",1,"spinner-border","text-info"],[1,"visually-hidden"],[1,"position-relative","ms-4"],[1,"col-xs-12","col-md-6"]],template:function(i,o){i&1&&(u(0,"div",1)(1,"h1",2),l(2,"Enterprise"),d(),u(3,"p"),l(4," If you can't pay via credit card, you can also request an invoice which you can pay via bank/wire transfer."),p(5,"br"),d(),u(6,"p"),l(7," All invoices are issued by "),u(8,"i"),l(9,"Paddle.com"),d(),l(10," which acts as the Merchant of Record for all orders."),p(11,"br"),l(12," Here you can find additional "),u(13,"a",3),l(14,"procurement information"),d(),l(15,". "),d(),u(16,"p"),l(17,"The process is as follows:"),d(),u(18,"ol")(19,"li"),l(20,"Request invoice through the form below"),d(),u(21,"li"),l(22,"You will receive an email from "),u(23,"i"),l(24,"Paddle.com"),d(),l(25," ("),p(26,"i",4),u(27,"a",5),l(28,"Sample email"),d(),l(29,")"),d(),u(30,"li"),l(31,"You confirm the invoice ("),p(32,"i",4),u(33,"a",6),l(34,"Confirmation dialog"),d(),l(35,")"),d(),u(36,"li"),l(37,"You pay the invoice ("),p(38,"i",4),u(39,"a",7),l(40,"Sample invoice"),d(),l(41," | "),p(42,"i",8),u(43,"a",9),l(44,"Sample PDF invoice"),d(),l(45,")"),d(),u(46,"li"),l(47,"After your payment is confirmed, you will receive your license key within one business day"),d()(),u(48,"h2",10),l(49,"Request invoice"),d(),P(50,nS,98,22,"form",11)(51,rS,6,0,"ng-container",12)(52,iS,2,0,"div",13),d()),i&2&&(g(50),C("ngIf",!o.invoiceRequested),g(),C("ngIf",o.invoiceRequested&&!o.invoiceSuccessResponse),g(),C("ngIf",o.invoiceSuccessResponse))},dependencies:[Br,kt,An,$a,Ha,Ot,si,Mn,Tn,on,ho,rn,nn]});let t=e;return t})();var B0=()=>["/pro"],$0=(()=>{let e=class e{scrollToAnchor(n){return document.querySelector(n)?.scrollIntoView(!0),!1}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=le({type:e,selectors:[["app-features-component"]],standalone:!0,features:[ce],decls:163,vars:4,consts:[[1,"container"],[1,"mb-4"],["id","coveragequota"],[1,"pro-text"],["href","https://en.wikipedia.org/wiki/Code_coverage","target","_blank"],[1,"fa-solid","fa-arrow-up-right-from-square"],[3,"routerLink"],[1,"pro-button","pro-button-tiny"],["loading","lazy","srcset","resources/features/quota@1x.webp 1x, resources/features/quota@2x.webp 2x","src","resources/features/quota1x.webp","alt","Coverage quotas",1,"img-fluid"],["id","coveragehistory",1,"mt-5"],["loading","lazy","srcset","resources/features/history@1x.webp 1x, resources/features/history@2x.webp 2x","src","resources/features/history@1x.webp","alt","Coverage history",1,"img-fluid"],["id","summary",1,"mt-5"],["loading","lazy","srcset","resources/features/summary@1x.webp 1x, resources/features/summary@2x.webp 2x","src","resources/features/summary.webp","alt","Summary table / Overview",1,"img-fluid"],["id","details",1,"mt-5"],["loading","lazy","srcset","resources/features/details@1x.webp 1x, resources/features/details@2x.webp 2x","src","resources/features/details.webp","alt","Details",1,"img-fluid"],["id","metrics",1,"mt-5"],["href","https://github.com/danielpalme/ReportGenerator/wiki/FAQ#which-coverage-tool-supports-which-features-in-the-html-report","target","_blank"],["href","",3,"click"],["loading","lazy","srcset","resources/features/metrics_details@1x.webp 1x, resources/features/metrics_details@2x.webp 2x","src","resources/features/metrics_details.webp","alt","Metrics - Details",1,"img-fluid"],["loading","lazy","srcset","resources/features/metrics_summary@1x.webp 1x, resources/features/metrics_summary@2x.webp 2x","src","resources/features/metrics_summary.webp","alt","Metrics - Summary",1,"img-fluid"],["id","riskhotspots",1,"mt-5"],["href","https://en.wikipedia.org/wiki/Cyclomatic_complexity","target","_blank"],["href","https://modess.io/npath-complexity-cyclomatic-complexity-explained","target","_blank"],["href","https://testing.googleblog.com/2011/02/this-code-is-crap.html","target","_blank"],["loading","lazy","srcset","resources/features/riskhotspots@1x.webp 1x, resources/features/riskhotspots@2x.webp 2x","src","resources/features/riskhotspots.webp","alt","Risk Hotspots",1,"img-fluid"],["id","rawmode",1,"mt-5"],["href","https://github.com/danielpalme/ReportGenerator/wiki/Settings#other-settings","target","_blank"]],template:function(i,o){i&1&&(u(0,"div",0)(1,"h1",1),l(2,"Features"),d(),u(3,"h2",2),l(4,"Coverage quotas"),d(),u(5,"p"),l(6," The overiew cards provide a quick "),u(7,"span",3),l(8,"overview"),d(),l(9," of your coverage quotas."),p(10,"br"),l(11," You can use them to get a glimpse into the different "),u(12,"a",4),l(13,"coverage metrics"),d(),l(14,"\xA0"),u(15,"a",4),p(16,"i",5),d(),l(17,": "),d(),u(18,"ul")(19,"li"),l(20,"Line coverage"),d(),u(21,"li"),l(22,"Branch coverage"),d(),u(23,"li"),l(24,"Method coverage "),u(25,"a",6)(26,"span",7),l(27,"PRO"),d()()()(),p(28,"img",8)(29,"br"),u(30,"h2",9),l(31,"Coverage history"),d(),u(32,"p"),l(33," The history chart helps you to understand how your coverage quotas are "),u(34,"span",3),l(35,"evolving over time"),d(),l(36,". "),d(),p(37,"img",10)(38,"br"),u(39,"h2",11),l(40,"Summary table / Overview"),d(),u(41,"p"),l(42," The summary table helps you to identify classes with "),u(43,"span",3),l(44,"low test coverage"),d(),l(45,"."),p(46,"br"),l(47," The table offers various "),u(48,"span",3),l(49,"filter and sorting"),d(),l(50," options for quick navigation. "),d(),p(51,"img",12)(52,"br"),u(53,"h2",13),l(54,"Details page"),d(),u(55,"p"),l(56," The details page visualizes your "),u(57,"span",3),l(58,"line and branch coverage"),d(),l(59,". "),d(),u(60,"ul")(61,"li"),l(62,"Colors indicate the coverage status of each line."),d(),u(63,"li"),l(64,"Branch indicators help you to identity uncovered conditions."),d()(),p(65,"img",14)(66,"br"),u(67,"h2",15),l(68,"Metrics"),d(),u(69,"p"),l(70," Depending on your "),u(71,"a",16),l(72,"coverage tool"),d(),l(73,", metrics are provided to get further insigths in your "),u(74,"span",3),l(75,"code quality"),d(),l(76,". "),d(),u(77,"ul")(78,"li"),l(79,"The "),u(80,"a",17),A("click",function(){return o.scrollToAnchor("#details")}),l(81,"details page"),d(),l(82," contains information about the metrics of all methods of a class."),d(),u(83,"li"),l(84,"The "),u(85,"a",17),A("click",function(){return o.scrollToAnchor("#summary")}),l(86,"summary table"),d(),l(87," shows the lowest metrics of all methods of a class "),u(88,"a",6)(89,"span",7),l(90,"PRO"),d()()()(),u(91,"b"),l(92,"Details page"),d(),p(93,"br")(94,"img",18)(95,"br")(96,"br"),u(97,"b"),l(98,"Summary table"),d(),p(99,"br")(100,"img",19)(101,"br"),u(102,"h2",20),l(103,"Risk Hotspots"),d(),u(104,"p"),l(105," Based on the "),u(106,"a",17),A("click",function(){return o.scrollToAnchor("#metrics")}),l(107,"metrics"),d(),l(108," you get a list of potential risk hotspots."),p(109,"br"),l(110," The following metrics are analyzed if available, the warning thresholds are configurable: "),d(),u(111,"ul")(112,"li")(113,"a",21),l(114,"Cyclomatic complexity"),d(),l(115,"\xA0"),u(116,"a",21),p(117,"i",5),d()(),u(118,"li")(119,"a",22),l(120,"NPath complexity"),d(),l(121,"\xA0"),u(122,"a",22),p(123,"i",5),d()(),u(124,"li")(125,"a",23),l(126,"Crap score"),d(),l(127,"\xA0"),u(128,"a",23),p(129,"i",5),d()()(),p(130,"img",24),u(131,"h2",25),l(132,"Raw mode (for "),u(133,"i"),l(134,"Cobertura"),d(),l(135," and "),u(136,"i"),l(137,"dotCover"),d(),l(138,") "),u(139,"span",7),l(140,"PRO"),d()(),u(141,"p"),l(142,' With "raw mode" (settings:rawMode=true) you can disable that coverage data of nested or compiler generated classes is included in the parent class.'),p(143,"br"),l(144," This is useful to merge several "),u(145,"i"),l(146,"Cobertura"),d(),l(147," files into a single file, since the original class structure remains untouched. "),d(),u(148,"p"),l(149,"See "),u(150,"a",26),l(151,"Settings"),d(),l(152,"\xA0"),u(153,"a",26),p(154,"i",5),d()(),u(155,"p"),l(156,"Limitation: Raw mode is currently only supported for "),u(157,"i"),l(158,"Cobertura"),d(),l(159," and "),u(160,"i"),l(161,"dotCover"),d(),l(162," files."),d()()),i&2&&(g(25),C("routerLink",H(2,B0)),g(63),C("routerLink",H(3,B0)))},dependencies:[Ne]});let t=e;return t})();var Re={dotnetSDKVersion:"8.x",majorVersion:"5",version:"5.4.2"};var oS=()=>["/usage"],H0=(()=>{let e=class e{constructor(){this.versions=Re}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=le({type:e,selectors:[["app-getstarted"]],standalone:!0,features:[ce],decls:75,vars:6,consts:[[1,"container"],[1,"mb-4"],[3,"routerLink"],["id","net",1,"mt-5"],["href","https://github.com/microsoft/codecoverage"],["href","https://github.com/coverlet-coverage/coverlet"],["href","https://github.com/SteveGilham/altcover"],[1,"text-dark","bg-light","p-2","border"],["id","java",1,"mt-5"],["href","https://github.com/jacoco/jacoco"],["id","nodejs",1,"mt-5"],["href","https://github.com/istanbuljs/nyc"]],template:function(i,o){i&1&&(u(0,"div",0)(1,"h1",1),l(2,"Get started"),d(),u(3,"h2"),l(4,"General"),d(),u(5,"p"),l(6,"In general you need a tool that instruments your test code and collects coverage information."),p(7,"br"),l(8,"This information is typically stored in a XML file (e.g. in Cobertura format)."),p(9,"br"),u(10,"em"),l(11,"ReportGenerator"),d(),l(12," uses this file and generates a report in HTML format (other formats are available)."),d(),u(13,"p"),l(14,"Use the online "),u(15,"a",2),l(16,"configuration tool"),d(),l(17," to get started quickly."),d(),u(18,"h2",3),l(19,".NET"),d(),u(20,"p"),l(21,"For .NET you can use "),u(22,"a",4),l(23,"Microsoft CodeCoverage"),d(),l(24,", "),u(25,"a",5),l(26,"coverlet"),d(),l(27," or "),u(28,"a",6),l(29,"altcover"),d(),l(30," for instrumenting your test code."),d(),u(31,"p"),l(32,"After adding the dependencies to your project, you can execute your tests and generate the coverage report."),d(),u(33,"p")(34,"strong"),l(35,"Add dependencies to your "),u(36,"code"),l(37,"*.csproj"),d(),l(38," file:"),d()(),u(39,"pre",7),l(40),d(),u(41,"p")(42,"strong"),l(43,"Execute tests and create coverage report"),d()(),u(44,"pre",7),l(45),d(),u(46,"h2",8),l(47,"Java"),d(),u(48,"p"),l(49,"For Java you can use "),u(50,"a",9),l(51,"JaCoCo"),d(),l(52,` for instrumenting your test code. After adding JaCoCo to your project (here with Maven), you can execute your tests and generate the coverage report.`),d(),u(53,"p")(54,"strong"),l(55,"Add dependencies to your "),u(56,"code"),l(57,"pom.xml"),d(),l(58," file:"),d()(),u(59,"pre",7),l(60,` diff --git a/global.json b/global.json index b3c9d993..2cbaab19 100644 --- a/global.json +++ b/global.json @@ -1,6 +1,6 @@ { "sdk": { - "version": "9.0.100", + "version": "9.0.101", "rollForward": "latestMajor" } } \ No newline at end of file diff --git a/src/AzureDevopsTask/ReportGenerator/task.json b/src/AzureDevopsTask/ReportGenerator/task.json index 7ebcdf50..0b56b240 100644 --- a/src/AzureDevopsTask/ReportGenerator/task.json +++ b/src/AzureDevopsTask/ReportGenerator/task.json @@ -13,7 +13,7 @@ "version": { "Major": 5, "Minor": 4, - "Patch": 1 + "Patch": 2 }, "instanceNameFormat": "ReportGenerator", "groups": [ diff --git a/src/AzureDevopsTask/vss-extension.json b/src/AzureDevopsTask/vss-extension.json index 9bfdf5ca..1c487541 100644 --- a/src/AzureDevopsTask/vss-extension.json +++ b/src/AzureDevopsTask/vss-extension.json @@ -2,7 +2,7 @@ "manifestVersion": 1, "id": "reportgenerator", "name": "ReportGenerator", - "version": "5.4.1", + "version": "5.4.2", "publisher": "Palmmedia", "public": true, "targets": [ diff --git a/src/Deployment/nuget/Readme_ReportGenerator.md b/src/Deployment/nuget/Readme_ReportGenerator.md index 647604ad..b9af26dc 100644 --- a/src/Deployment/nuget/Readme_ReportGenerator.md +++ b/src/Deployment/nuget/Readme_ReportGenerator.md @@ -13,13 +13,13 @@ ReportGenerator converts coverage reports generated by coverlet, OpenCover, dotC ### .NET Core ``` -dotnet $(UserProfile)\.nuget\packages\reportgenerator\5.4.1\tools\net8.0\ReportGenerator.dll [options] -$(UserProfile)\.nuget\packages\reportgenerator\5.4.1\tools\net8.0\ReportGenerator.exe [options] +dotnet $(UserProfile)\.nuget\packages\reportgenerator\5.4.2\tools\net8.0\ReportGenerator.dll [options] +$(UserProfile)\.nuget\packages\reportgenerator\5.4.2\tools\net8.0\ReportGenerator.exe [options] ``` ### .NET Framework ``` -$(UserProfile)\.nuget\packages\reportgenerator\5.4.1\tools\net47\ReportGenerator.exe [options] +$(UserProfile)\.nuget\packages\reportgenerator\5.4.2\tools\net47\ReportGenerator.exe [options] ``` ## Additional information diff --git a/src/Deployment/nuget/Readme_dotnet-reportgenerator-globaltool.md b/src/Deployment/nuget/Readme_dotnet-reportgenerator-globaltool.md index 36c4d98f..475ddd7b 100644 --- a/src/Deployment/nuget/Readme_dotnet-reportgenerator-globaltool.md +++ b/src/Deployment/nuget/Readme_dotnet-reportgenerator-globaltool.md @@ -13,12 +13,12 @@ ReportGenerator converts coverage reports generated by coverlet, OpenCover, dotC ### Installation ``` -dotnet tool install --global dotnet-reportgenerator-globaltool --version 5.4.1 +dotnet tool install --global dotnet-reportgenerator-globaltool --version 5.4.2 -dotnet tool install dotnet-reportgenerator-globaltool --tool-path tools --version 5.4.1 +dotnet tool install dotnet-reportgenerator-globaltool --tool-path tools --version 5.4.2 dotnet new tool-manifest -dotnet tool install dotnet-reportgenerator-globaltool --version 5.4.1 +dotnet tool install dotnet-reportgenerator-globaltool --version 5.4.2 ``` ### Execution diff --git a/src/ReportGenerator.Console.NetCore/ReportGenerator.Console.NetCore.csproj b/src/ReportGenerator.Console.NetCore/ReportGenerator.Console.NetCore.csproj index 1493c84e..9080e550 100644 --- a/src/ReportGenerator.Console.NetCore/ReportGenerator.Console.NetCore.csproj +++ b/src/ReportGenerator.Console.NetCore/ReportGenerator.Console.NetCore.csproj @@ -7,8 +7,8 @@ ReportGenerator Palmmedia.ReportGenerator Palmmedia.ReportGenerator.Console.NetCore.Program - 5.4.1.0 - 5.4.1.0 + 5.4.2.0 + 5.4.2.0 diff --git a/src/ReportGenerator.Console/ReportGenerator.Console.Net.csproj b/src/ReportGenerator.Console/ReportGenerator.Console.Net.csproj index b0c6a91b..2f1fee0f 100644 --- a/src/ReportGenerator.Console/ReportGenerator.Console.Net.csproj +++ b/src/ReportGenerator.Console/ReportGenerator.Console.Net.csproj @@ -8,8 +8,8 @@ ReportGenerator.Console ReportGenerator.Console Copyright © 2022 - 5.4.1.0 - 5.4.1.0 + 5.4.2.0 + 5.4.2.0 bin\$(Configuration)\ false diff --git a/src/ReportGenerator.Core.Test/ReportGenerator.Core.Test.csproj b/src/ReportGenerator.Core.Test/ReportGenerator.Core.Test.csproj index dd636264..ea1e9530 100644 --- a/src/ReportGenerator.Core.Test/ReportGenerator.Core.Test.csproj +++ b/src/ReportGenerator.Core.Test/ReportGenerator.Core.Test.csproj @@ -4,8 +4,8 @@ net8.0 false Palmmedia.ReportGenerator.Core.Test - 5.4.1.0 - 5.4.1.0 + 5.4.2.0 + 5.4.2.0 false diff --git a/src/ReportGenerator.Core/ReportGenerator.Core.csproj b/src/ReportGenerator.Core/ReportGenerator.Core.csproj index 71f6c874..212b49de 100644 --- a/src/ReportGenerator.Core/ReportGenerator.Core.csproj +++ b/src/ReportGenerator.Core/ReportGenerator.Core.csproj @@ -7,8 +7,8 @@ false true ReportGenerator.Core - 5.4.1.0 - 5.4.1.0 + 5.4.2.0 + 5.4.2.0 diff --git a/src/ReportGenerator.DotnetCorePluginLoader/ReportGenerator.DotnetCorePluginLoader.csproj b/src/ReportGenerator.DotnetCorePluginLoader/ReportGenerator.DotnetCorePluginLoader.csproj index f33d8542..9da95263 100644 --- a/src/ReportGenerator.DotnetCorePluginLoader/ReportGenerator.DotnetCorePluginLoader.csproj +++ b/src/ReportGenerator.DotnetCorePluginLoader/ReportGenerator.DotnetCorePluginLoader.csproj @@ -2,8 +2,8 @@ net8.0;net9.0 ReportGenerator.DotnetCorePluginLoader - 5.4.1.0 - 5.4.1.0 + 5.4.2.0 + 5.4.2.0 True diff --git a/src/ReportGenerator.DotnetGlobalTool/ReportGenerator.DotnetGlobalTool.csproj b/src/ReportGenerator.DotnetGlobalTool/ReportGenerator.DotnetGlobalTool.csproj index 5f032f29..e3aeab03 100644 --- a/src/ReportGenerator.DotnetGlobalTool/ReportGenerator.DotnetGlobalTool.csproj +++ b/src/ReportGenerator.DotnetGlobalTool/ReportGenerator.DotnetGlobalTool.csproj @@ -7,8 +7,8 @@ ReportGenerator Palmmedia.ReportGenerator Palmmedia.ReportGenerator.DotnetGlobalTool.Program - 5.4.1.0 - 5.4.1.0 + 5.4.2.0 + 5.4.2.0 diff --git a/src/ReportGenerator.MSBuild/ReportGenerator.MSBuild.csproj b/src/ReportGenerator.MSBuild/ReportGenerator.MSBuild.csproj index c1fc57b0..2eec799a 100644 --- a/src/ReportGenerator.MSBuild/ReportGenerator.MSBuild.csproj +++ b/src/ReportGenerator.MSBuild/ReportGenerator.MSBuild.csproj @@ -5,8 +5,8 @@ Palmmedia.ReportGenerator.MSBuild false true - 5.4.1.0 - 5.4.1.0 + 5.4.2.0 + 5.4.2.0 diff --git a/src/build.proj b/src/build.proj index 7f2d1bb9..bbc2cd7b 100644 --- a/src/build.proj +++ b/src/build.proj @@ -22,7 +22,7 @@ - 5.4.1 + 5.4.2