From 87100391d481d51a8dd8b16f92c320de3c0689b0 Mon Sep 17 00:00:00 2001 From: Daniel Palme Date: Sat, 1 Jun 2024 11:09:31 +0200 Subject: [PATCH] Update version --- docs/main-PKRGEOQU.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/main-PKRGEOQU.js b/docs/main-PKRGEOQU.js index 2e4c0a79..d2a0c6c0 100644 --- a/docs/main-PKRGEOQU.js +++ b/docs/main-PKRGEOQU.js @@ -5,7 +5,7 @@ ${r.map((n,i)=>`${i+1}) ${n.toString()}`).join(` `+t.message,i,r,n),t[iy]=i,t[Fo]=null,t}function dy(t,e,r,n=null){t=t&&t.charAt(0)===` `&&t.charAt(1)==sy?t.slice(2):t;let i=Oe(e);if(Array.isArray(e))i=e.map(Oe).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):Oe(a)))}i=`{${o.join(", ")}}`}return`${r}${n?"("+n+")":""}[${i}]: ${t.replace(oy,` `)}`}var ss=Zf(Uf("Optional"),8);var uc=Zf(Uf("SkipSelf"),4);function lr(t,e){let r=t.hasOwnProperty(Po);return r?t[Po]:null}function fy(t,e,r){if(t.length!==e.length)return!1;for(let n=0;nArray.isArray(r)?dc(r,e):e(r))}function Yf(t,e,r){e>=t.length?t.push(r):t.splice(e,0,r)}function Lo(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function py(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 my(t,e,r){let n=di(t,e);return n>=0?t[n|1]=r:(n=~n,py(t,n,e,r)),n}function Xa(t,e){let r=di(t,e);if(r>=0)return t[r|1]}function di(t,e){return gy(t,e,1)}function gy(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&&d!==m){if(lt(n))return!1;s=!0}}}}return lt(n)||s}function lt(t){return(t&1)===0}function by(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!==""&&!lt(s)&&(e+=af(o,i),i=""),n=s,o=o||!lt(n);r++}return i!==""&&(e+=af(o,i)),e}function Sy(t){return t.map(xy).join(",")}function My(t){let e=[],r=[],n=1,i=2;for(;n{let e=oh(t),r=K(b({},e),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===Jf.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&t.dependencies||null,getStandaloneInjector:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||Dt.Emulated,styles:t.styles||Xe,_:null,schemas:t.schemas||null,tView:null,id:""});sh(r);let n=t.dependencies;return r.directiveDefs=cf(n,!1),r.pipeDefs=cf(n,!0),r.id=Ny(r),r})}function Ty(t){return en(t)||th(t)}function Ay(t){return t!==null}function ze(t){return ui(()=>({type:t.type,bootstrap:t.bootstrap||Xe,declarations:t.declarations||Xe,imports:t.imports||Xe,exports:t.exports||Xe,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function lf(t,e){if(t==null)return cr;let r={};for(let n in t)if(t.hasOwnProperty(n)){let i=t[n],o,s,a=dr.None;Array.isArray(i)?(a=i[0],o=i[1],s=i[2]??o):(o=i,s=i),e?(r[o]=a!==dr.None?[n,a]:n,e[o]=s):r[o]=n}return r}function ne(t){return ui(()=>{let e=oh(t);return sh(e),e})}function en(t){return t[Kv]||null}function th(t){return t[Jv]||null}function nh(t){return t[Xv]||null}function rh(t){let e=en(t)||th(t)||nh(t);return e!==null?e.standalone:!1}function ih(t,e){let r=t[ey]||null;if(!r&&e===!0)throw new Error(`Type ${Oe(t)} does not have '\u0275mod' property.`);return r}function oh(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||cr,exportAs:t.exportAs||null,standalone:t.standalone===!0,signals:t.signals===!0,selectors:t.selectors||Xe,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:lf(t.inputs,e),outputs:lf(t.outputs),debugInfo:null}}function sh(t){t.features?.forEach(e=>e(t))}function cf(t,e){if(!t)return null;let r=e?nh:Ty;return()=>(typeof t=="function"?t():t).map(n=>r(n)).filter(Ay)}function Ny(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 hc(...t){return{\u0275providers:ah(!0,t),\u0275fromNgModule:!0}}function ah(t,...e){let r=[],n=new Set,i,o=s=>{r.push(s)};return dc(e,s=>{let a=s;yl(a,o,[],n)&&(i||=[],i.push(a))}),i!==void 0&&lh(i,o),r}function lh(t,e){for(let r=0;r{e(o,n)})}}function yl(t,e,r,n){if(t=ke(t),!t)return!1;let i=null,o=tf(t),s=!o&&en(t);if(!o&&!s){let l=t.ngModule;if(o=tf(l),o)i=l;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 l=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let d of l)yl(d,e,r,n)}}else if(o){if(o.imports!=null&&!a){n.add(i);let d;try{dc(o.imports,h=>{yl(h,e,r,n)&&(d||=[],d.push(h))})}finally{}d!==void 0&&lh(d,e)}if(!a){let d=lr(i)||(()=>new i);e({provide:i,useFactory:d,deps:Xe},i),e({provide:Kf,useValue:i,multi:!0},i),e({provide:ur,useValue:()=>I(i),multi:!0},i)}let l=o.providers;if(l!=null&&!a){let d=t;pc(l,h=>{e(h,d)})}}else return!1;return i!==t&&t.providers!==void 0}function pc(t,e){for(let r of t)zf(r)&&(r=r.\u0275providers),Array.isArray(r)?pc(r,e):e(r)}var Ry=te({provide:String,useValue:te});function ch(t){return t!==null&&typeof t=="object"&&Ry in t}function ky(t){return!!(t&&t.useExisting)}function Oy(t){return!!(t&&t.useFactory)}function fr(t){return typeof t=="function"}function Py(t){return!!t.useClass}var ls=new x(""),To={},Fy={},el;function mc(){return el===void 0&&(el=new Vo),el}var Me=class{},ri=class extends Me{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,Cl(e,s=>this.processProvider(s)),this.records.set(Qf,nr(void 0,this)),i.has("environment")&&this.records.set(Me,nr(void 0,this));let o=this.records.get(ls);o!=null&&typeof o.value=="string"&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(Kf,Xe,H.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=Kt(this),n=Je(void 0),i;try{return e()}finally{Kt(r),Je(n)}}get(e,r=ti,n=H.Default){if(this.assertNotDestroyed(),e.hasOwnProperty(rf))return e[rf](this);n=os(n);let i,o=Kt(this),s=Je(void 0);try{if(!(n&H.SkipSelf)){let l=this.records.get(e);if(l===void 0){let d=By(e)&&rs(e);d&&this.injectableDefInScope(d)?l=nr(Dl(e),To):l=null,this.records.set(e,l)}if(l!=null)return this.hydrate(e,l)}let a=n&H.Self?mc():this.parent;return r=n&H.Optional&&r===ti?null:r,a.get(e,r)}catch(a){if(a.name==="NullInjectorError"){if((a[Fo]=a[Fo]||[]).unshift(Oe(e)),o)throw a;return uy(a,e,"R3InjectorError",this.source)}else throw a}finally{Je(s),Kt(o)}}resolveInjectorInitializers(){let e=Y(null),r=Kt(this),n=Je(void 0),i;try{let o=this.get(ur,Xe,H.Self);for(let s of o)s()}finally{Kt(r),Je(n),Y(e)}}toString(){let e=[],r=this.records;for(let n of r.keys())e.push(Oe(n));return`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new M(205,!1)}processProvider(e){e=ke(e);let r=fr(e)?e:ke(e&&e.provide),n=Vy(e);if(!fr(e)&&e.multi===!0){let i=this.records.get(r);i||(i=nr(void 0,To,!0),i.factory=()=>gl(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===To&&(r.value=Fy,r.value=r.factory()),typeof r.value=="object"&&r.value&&Uy(r.value)&&this._ngOnDestroyHooks.add(r.value),r.value}finally{Y(n)}}injectableDefInScope(e){if(!e.providedIn)return!1;let r=ke(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 Dl(t){let e=rs(t),r=e!==null?e.factory:lr(t);if(r!==null)return r;if(t instanceof x)throw new M(204,!1);if(t instanceof Function)return Ly(t);throw new M(204,!1)}function Ly(t){if(t.length>0)throw new M(204,!1);let r=Yv(t);return r!==null?()=>r.factory(t):()=>new t}function Vy(t){if(ch(t))return nr(void 0,t.useValue);{let e=uh(t);return nr(e,To)}}function uh(t,e,r){let n;if(fr(t)){let i=ke(t);return lr(i)||Dl(i)}else if(ch(t))n=()=>ke(t.useValue);else if(Oy(t))n=()=>t.useFactory(...gl(t.deps||[]));else if(ky(t))n=()=>I(ke(t.useExisting));else{let i=ke(t&&(t.useClass||t.provide));if(jy(t))n=()=>new i(...gl(t.deps));else return lr(i)||Dl(i)}return n}function nr(t,e,r=!1){return{factory:t,value:e,multi:r?[]:void 0}}function jy(t){return!!t.deps}function Uy(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function By(t){return typeof t=="function"||typeof t=="object"&&t instanceof x}function Cl(t,e){for(let r of t)Array.isArray(r)?Cl(r,e):r&&zf(r)?Cl(r.\u0275providers,e):e(r)}function qe(t,e){t instanceof ri&&t.assertNotDestroyed();let r,n=Kt(t),i=Je(void 0);try{return e()}finally{Kt(n),Je(i)}}function dh(){return qf()!==void 0||ay()!=null}function $y(t){if(!dh())throw new M(-203,!1)}function Hy(t){return typeof t=="function"}var Pt=0,U=1,O=2,Te=3,ct=4,ut=5,jo=6,ii=7,tt=8,hr=9,Ct=10,pe=11,oi=12,uf=13,wr=14,wt=15,_n=16,rr=17,Rt=18,cs=19,fh=20,Jt=21,tl=22,In=23,nt=25,hh=1;var xn=7,Uo=8,pr=9,Ve=10,Bo=function(t){return t[t.None=0]="None",t[t.HasTransplantedViews=2]="HasTransplantedViews",t}(Bo||{});function Xt(t){return Array.isArray(t)&&typeof t[hh]=="object"}function Ft(t){return Array.isArray(t)&&t[hh]===!0}function gc(t){return(t.flags&4)!==0}function us(t){return t.componentOffset>-1}function ds(t){return(t.flags&1)===1}function tn(t){return!!t.template}function wl(t){return(t[O]&512)!==0}var bl=class{constructor(e,r,n){this.previousValue=e,this.currentValue=r,this.firstChange=n}isFirstChange(){return this.firstChange}};function ph(t,e,r,n){e!==null?e.applyValueToInputSignal(e,n):t[r]=n}function Lt(){return mh}function mh(t){return t.type.prototype.ngOnChanges&&(t.setInput=zy),Gy}Lt.ngInherit=!0;function Gy(){let t=vh(this),e=t?.current;if(e){let r=t.previous;if(r===cr)t.previous=e;else for(let n in e)r[n]=e[n];t.current=null,this.ngOnChanges(e)}}function zy(t,e,r,n,i){let o=this.declaredInputs[n],s=vh(t)||qy(t,{previous:cr,current:null}),a=s.current||(s.current={}),l=s.previous,d=l[o];a[o]=new bl(d&&d.currentValue,r,l===cr),ph(t,e,i,r)}var gh="__ngSimpleChanges__";function vh(t){return t[gh]||null}function qy(t,e){return t[gh]=e}var df=null;var vt=function(t,e,r){df?.(t,e,r)},Wy="svg",Zy="math";function bt(t){for(;Array.isArray(t);)t=t[Pt];return t}function yh(t,e){return bt(e[t])}function it(t,e){return bt(e[t.index])}function vc(t,e){return t.data[e]}function Yy(t,e){return t[e]}function on(t,e){let r=e[t];return Xt(r)?r:r[Pt]}function Qy(t){return(t[O]&4)===4}function yc(t){return(t[O]&128)===128}function Ky(t){return Ft(t[Te])}function mr(t,e){return e==null?null:t[e]}function Dh(t){t[rr]=0}function Jy(t){t[O]&1024||(t[O]|=1024,yc(t)&&fs(t))}function Xy(t,e){for(;t>0;)e=e[wr],t--;return e}function si(t){return!!(t[O]&9216||t[In]?.dirty)}function El(t){t[Ct].changeDetectionScheduler?.notify(7),t[O]&64&&(t[O]|=1024),si(t)&&fs(t)}function fs(t){t[Ct].changeDetectionScheduler?.notify(0);let e=ai(t);for(;e!==null&&!(e[O]&8192||(e[O]|=8192,!yc(e)));)e=ai(e)}function Ch(t,e){if((t[O]&256)===256)throw new M(911,!1);t[Jt]===null&&(t[Jt]=[]),t[Jt].push(e)}function e0(t,e){if(t[Jt]===null)return;let r=t[Jt].indexOf(e);r!==-1&&t[Jt].splice(r,1)}function ai(t){let e=t[Te];return Ft(e)?e[Te]:e}var G={lFrame:Th(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var wh=!1;function t0(){return G.lFrame.elementDepthCount}function n0(){G.lFrame.elementDepthCount++}function r0(){G.lFrame.elementDepthCount--}function bh(){return G.bindingsEnabled}function i0(){return G.skipHydrationRootTNode!==null}function o0(t){return G.skipHydrationRootTNode===t}function s0(){G.skipHydrationRootTNode=null}function Z(){return G.lFrame.lView}function be(){return G.lFrame.tView}function L(t){return G.lFrame.contextLView=t,t[tt]}function V(t){return G.lFrame.contextLView=null,t}function Se(){let t=Eh();for(;t!==null&&t.type===64;)t=t.parent;return t}function Eh(){return G.lFrame.currentTNode}function a0(){let t=G.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}function kn(t,e){let r=G.lFrame;r.currentTNode=t,r.isParent=e}function Dc(){return G.lFrame.isParent}function _h(){G.lFrame.isParent=!1}function l0(){return G.lFrame.contextLView}function Ih(){return wh}function ff(t){wh=t}function Cc(){let t=G.lFrame,e=t.bindingRootIndex;return e===-1&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function c0(t){return G.lFrame.bindingIndex=t}function fi(){return G.lFrame.bindingIndex++}function u0(t){let e=G.lFrame,r=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,r}function d0(){return G.lFrame.inI18n}function f0(t,e){let r=G.lFrame;r.bindingIndex=r.bindingRootIndex=t,_l(e)}function h0(){return G.lFrame.currentDirectiveIndex}function _l(t){G.lFrame.currentDirectiveIndex=t}function p0(t){let e=G.lFrame.currentDirectiveIndex;return e===-1?null:t[e]}function xh(){return G.lFrame.currentQueryIndex}function wc(t){G.lFrame.currentQueryIndex=t}function m0(t){let e=t[U];return e.type===2?e.declTNode:e.type===1?t[ut]:null}function Sh(t,e,r){if(r&H.SkipSelf){let i=e,o=t;for(;i=i.parent,i===null&&!(r&H.Host);)if(i=m0(o),i===null||(o=o[wr],i.type&10))break;if(i===null)return!1;e=i,t=o}let n=G.lFrame=Mh();return n.currentTNode=e,n.lView=t,!0}function bc(t){let e=Mh(),r=t[U];G.lFrame=e,e.currentTNode=r.firstChild,e.lView=t,e.tView=r,e.contextLView=t,e.bindingIndex=r.bindingStartIndex,e.inI18n=!1}function Mh(){let t=G.lFrame,e=t===null?null:t.child;return e===null?Th(t):e}function Th(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 Ah(){let t=G.lFrame;return G.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var Nh=Ah;function Ec(){let t=Ah();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 g0(t){return(G.lFrame.contextLView=Xy(t,G.lFrame.contextLView))[tt]}function br(){return G.lFrame.selectedIndex}function Sn(t){G.lFrame.selectedIndex=t}function hs(){let t=G.lFrame;return vc(t.tView,t.selectedIndex)}function v0(){return G.lFrame.currentNamespace}var Rh=!0;function ps(){return Rh}function ms(t){Rh=t}function y0(t,e,r){let{ngOnChanges:n,ngOnInit:i,ngDoCheck:o}=e.type.prototype;if(n){let s=mh(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 gs(t,e){for(let r=e.directiveStart,n=e.directiveEnd;r=n)break}else e[l]<0&&(t[rr]+=65536),(a>14>16&&(t[O]&3)===e&&(t[O]+=16384,hf(a,o)):hf(a,o)}var ar=-1,Mn=class{constructor(e,r,n){this.factory=e,this.resolving=!1,this.canSeeViewProviders=r,this.injectImpl=n}};function C0(t){return t instanceof Mn}function w0(t){return(t.flags&8)!==0}function b0(t){return(t.flags&16)!==0}function Oh(t){return t!==ar}function $o(t){return t&32767}function E0(t){return t>>16}function Ho(t,e){let r=E0(t),n=e;for(;r>0;)n=n[wr],r--;return n}var Il=!0;function pf(t){let e=Il;return Il=t,e}var _0=256,Ph=_0-1,Fh=5,I0=0,yt={};function x0(t,e,r){let n;typeof r=="string"?n=r.charCodeAt(0)||0:r.hasOwnProperty(ei)&&(n=r[ei]),n==null&&(n=r[ei]=I0++);let i=n&Ph,o=1<>Fh)]|=o}function Go(t,e){let r=Lh(t,e);if(r!==-1)return r;let n=e[U];n.firstCreatePass&&(t.injectorIndex=e.length,rl(n.data,t),rl(e,null),rl(n.blueprint,null));let i=_c(t,e),o=t.injectorIndex;if(Oh(i)){let s=$o(i),a=Ho(i,e),l=a[U].data;for(let d=0;d<8;d++)e[o+d]=a[s+d]|l[s+d]}return e[o+8]=i,o}function rl(t,e){t.push(0,0,0,0,0,0,0,0,e)}function Lh(t,e){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||e[t.injectorIndex+8]===null?-1:t.injectorIndex}function _c(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=$h(i),n===null)return ar;if(r++,i=i[wr],n.injectorIndex!==-1)return n.injectorIndex|r<<16}return ar}function xl(t,e,r){x0(t,e,r)}function S0(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,g=i?a+h:d;for(let D=m;D=l&&w.type===r)return D}if(i){let D=s[l];if(D&&tn(D)&&D.type===r)return l}return null}function Tn(t,e,r,n){let i=t[r],o=e.data;if(C0(i)){let s=i;s.resolving&&ny(ty(o[r]));let a=pf(s.canSeeViewProviders);s.resolving=!0;let l,d=s.injectImpl?Je(s.injectImpl):null,h=Sh(t,n,H.Default);try{i=t[r]=s.factory(void 0,o,t,n),e.firstCreatePass&&r>=n.directiveStart&&y0(r,o[r],e)}finally{d!==null&&Je(d),pf(a),s.resolving=!1,Nh()}}return i}function T0(t){if(typeof t=="string")return t.charCodeAt(0)||0;let e=t.hasOwnProperty(ei)?t[ei]:void 0;return typeof e=="number"?e>=0?e&Ph:A0:e}function mf(t,e,r){let n=1<>Fh)]&n)}function gf(t,e){return!(t&H.Self)&&!(t&H.Host&&e)}var En=class{constructor(e,r){this._tNode=e,this._lView=r}get(e,r,n){return Uh(this._tNode,this._lView,e,os(n),r)}};function A0(){return new En(Se(),Z())}function dt(t){return ui(()=>{let e=t.prototype.constructor,r=e[Po]||Sl(e),n=Object.prototype,i=Object.getPrototypeOf(t.prototype).constructor;for(;i&&i!==n;){let o=i[Po]||Sl(i);if(o&&o!==r)return o;i=Object.getPrototypeOf(i)}return o=>new o})}function Sl(t){return Bf(t)?()=>{let e=Sl(ke(t));return e&&e()}:lr(t)}function N0(t,e,r,n,i){let o=t,s=e;for(;o!==null&&s!==null&&s[O]&2048&&!(s[O]&512);){let a=Bh(o,s,r,n|H.Self,yt);if(a!==yt)return a;let l=o.parent;if(!l){let d=s[fh];if(d){let h=d.get(r,yt,n);if(h!==yt)return h}l=$h(s),s=s[wr]}o=l}return i}function $h(t){let e=t[U],r=e.type;return r===2?e.declTNode:r===1?t[ut]:null}function Ic(t){return S0(Se(),t)}function vf(t,e=null,r=null,n){let i=Hh(t,e,r,n);return i.resolveInjectorInitializers(),i}function Hh(t,e=null,r=null,n,i=new Set){let o=[r||Xe,hc(t)];return n=n||(typeof t=="object"?void 0:Oe(t)),new ri(o,e||mc(),n||null,i)}var bn=class bn{static create(e,r){if(Array.isArray(e))return vf({name:""},r,e,"");{let n=e.name??"";return vf({name:n},e.parent,e.providers,n)}}};bn.THROW_IF_NOT_FOUND=ti,bn.NULL=new Vo,bn.\u0275prov=_({token:bn,providedIn:"any",factory:()=>I(Qf)}),bn.__NG_ELEMENT_ID__=-1;var rt=bn;var R0=new x("");R0.__NG_ELEMENT_ID__=t=>{let e=Se();if(e===null)throw new M(204,!1);if(e.type&2)return e.value;if(t&H.Optional)return null;throw new M(204,!1)};var k0="ngOriginalError";function il(t){return t[k0]}var Et=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&&il(e);for(;r&&il(r);)r=il(r);return r||null}},Gh=new x("",{providedIn:"root",factory:()=>C(Et).handleError.bind(void 0)}),xc=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=O0,e.__NG_ENV_ID__=n=>n;let t=e;return t})(),Ml=class extends xc{constructor(e){super(),this._lView=e}onDestroy(e){return Ch(this._lView,e),()=>e0(this._lView,e)}};function O0(){return new Ml(Z())}function P0(){return Er(Se(),Z())}function Er(t,e){return new Ae(it(t,e))}var Ae=(()=>{let e=class e{constructor(n){this.nativeElement=n}};e.__NG_ELEMENT_ID__=P0;let t=e;return t})();function F0(t){return t instanceof Ae?t.nativeElement:t}var Tl=class extends Ce{constructor(e=!1){super(),this.destroyRef=void 0,this.__isAsync=e,dh()&&(this.destroyRef=C(xc,{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 l=e;i=l.next?.bind(l),o=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(o=ol(o),i&&(i=ol(i)),s&&(s=ol(s)));let a=super.subscribe({next:i,error:o,complete:s});return e instanceof ve&&e.add(a),a}};function ol(t){return e=>{setTimeout(t,void 0,e)}}var he=Tl;function L0(){return this._results[Symbol.iterator]()}var Al=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]=L0)}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=hy(e);(this._changesDetected=!fy(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 zh(t){return(t.flags&128)===128}var qh=new Map,V0=0;function j0(){return V0++}function U0(t){qh.set(t[cs],t)}function B0(t){qh.delete(t[cs])}var yf="__ngContext__";function nn(t,e){Xt(e)?(t[yf]=e[cs],U0(e)):t[yf]=e}function Wh(t){return Yh(t[oi])}function Zh(t){return Yh(t[ct])}function Yh(t){for(;t!==null&&!Ft(t);)t=t[ct];return t}var Nl;function Qh(t){Nl=t}function $0(){if(Nl!==void 0)return Nl;if(typeof document<"u")return document;throw new M(210,!1)}var vs=new x("",{providedIn:"root",factory:()=>H0}),H0="ng",Sc=new x(""),_t=new x("",{providedIn:"platform",factory:()=>"unknown"});var Mc=new x("",{providedIn:"root",factory:()=>$0().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var G0="h",z0="b";var q0=()=>null;function Tc(t,e,r=!1){return q0(t,e,r)}var Kh=!1,W0=new x("",{providedIn:"root",factory:()=>Kh});var xo;function Z0(){if(xo===void 0&&(xo=null,et.trustedTypes))try{xo=et.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return xo}function Df(t){return Z0()?.createScriptURL(t)||t}var zo=class{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${jf})`}};function hi(t){return t instanceof zo?t.changingThisBreaksApplicationSecurity:t}function Ac(t,e){let r=Y0(t);if(r!=null&&r!==e){if(r==="ResourceURL"&&e==="URL")return!0;throw new Error(`Required a safe ${e}, got a ${r} (see ${jf})`)}return r===e}function Y0(t){return t instanceof zo&&t.getTypeName()||null}var Q0=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Jh(t){return t=String(t),t.match(Q0)?t:"unsafe:"+t}var ys=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}(ys||{});function _r(t){let e=ep();return e?e.sanitize(ys.URL,t)||"":Ac(t,"URL")?hi(t):Jh(is(t))}function K0(t){let e=ep();if(e)return Df(e.sanitize(ys.RESOURCE_URL,t)||"");if(Ac(t,"ResourceURL"))return Df(hi(t));throw new M(904,!1)}function J0(t,e){return e==="src"&&(t==="embed"||t==="frame"||t==="iframe"||t==="media"||t==="script")||e==="href"&&(t==="base"||t==="link")?K0:_r}function Xh(t,e,r){return J0(e,r)(t)}function ep(){let t=Z();return t&&t[Ct].sanitizer}var X0=/^>|^->||--!>|)/g,tD="\u200B$1\u200B";function nD(t){return t.replace(X0,e=>e.replace(eD,tD))}function tp(t){return t instanceof Function?t():t}function rD(t){return(t??C(rt)).get(_t)==="browser"}var kt=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(kt||{}),iD;function Nc(t,e){return iD(t,e)}function ir(t,e,r,n,i){if(n!=null){let o,s=!1;Ft(n)?o=n:Xt(n)&&(s=!0,n=n[Pt]);let a=bt(n);t===0&&r!==null?i==null?op(e,r,a):Wo(e,r,a,i||null,!0):t===1&&r!==null?Wo(e,r,a,i||null,!0):t===2?wD(e,a,s):t===3&&e.destroyNode(a),o!=null&&ED(e,t,o,r,i)}}function oD(t,e){return t.createText(e)}function sD(t,e,r){t.setValue(e,r)}function aD(t,e){return t.createComment(nD(e))}function np(t,e,r){return t.createElement(e,r)}function lD(t,e){rp(t,e),e[Pt]=null,e[ut]=null}function cD(t,e,r,n,i,o){n[Pt]=i,n[ut]=e,Cs(t,n,r,1,i,o)}function rp(t,e){e[Ct].changeDetectionScheduler?.notify(8),Cs(t,e,e[pe],2,null,null)}function uD(t){let e=t[oi];if(!e)return sl(t[U],t);for(;e;){let r=null;if(Xt(e))r=e[oi];else{let n=e[Ve];n&&(r=n)}if(!r){for(;e&&!e[ct]&&e!==t;)Xt(e)&&sl(e[U],e),e=e[Te];e===null&&(e=t),Xt(e)&&sl(e[U],e),r=e&&e[ct]}e=r}}function dD(t,e,r,n){let i=Ve+n,o=r.length;n>0&&(r[i-1][ct]=e),n0&&(t[r-1][ct]=n[ct]);let o=Lo(t,Ve+e);lD(n[U],n);let s=o[Rt];s!==null&&s.detachView(o[U]),n[Te]=null,n[ct]=null,n[O]&=-129}return n}function kc(t,e){if(!(e[O]&256)){let r=e[pe];r.destroyNode&&Cs(t,e,r,3,null,null),uD(e)}}function sl(t,e){if(e[O]&256)return;let r=Y(null);try{e[O]&=-129,e[O]|=256,e[In]&&Sd(e[In]),hD(t,e),fD(t,e),e[U].type===1&&e[pe].destroy();let n=e[_n];if(n!==null&&Ft(e[Te])){n!==e[Te]&&Rc(n,e);let i=e[Rt];i!==null&&i.detachView(t)}B0(e)}finally{Y(r)}}function fD(t,e){let r=t.cleanup,n=e[ii];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[ii]=null);let i=e[Jt];if(i!==null){e[Jt]=null;for(let o=0;o-1){let{encapsulation:o}=t.data[n.directiveStart+i];if(o===Dt.None||o===Dt.Emulated)return null}return it(n,r)}}function Wo(t,e,r,n,i){t.insertBefore(e,r,n,i)}function op(t,e,r){t.appendChild(e,r)}function Cf(t,e,r,n,i){n!==null?Wo(t,e,r,n,i):op(t,e,r)}function gD(t,e,r,n){t.removeChild(e,r,n)}function Oc(t,e){return t.parentNode(e)}function vD(t,e){return t.nextSibling(e)}function yD(t,e,r){return CD(t,e,r)}function DD(t,e,r){return t.type&40?it(t,r):null}var CD=DD,wf;function Ds(t,e,r,n){let i=pD(t,n,e),o=e[pe],s=n.parent||e[ut],a=yD(s,n,e);if(i!=null)if(Array.isArray(r))for(let l=0;lnt&&cp(t,e,nt,!1),vt(s?2:0,i),r(n,i)}finally{Sn(o),vt(s?3:1,i)}}function Fc(t,e,r){if(gc(e)){let n=Y(null);try{let i=e.directiveStart,o=e.directiveEnd;for(let s=i;snull;function RD(t,e,r,n){let i=Dp(e);i.push(r),t.firstCreatePass&&Cp(t).push(n,i.length-1)}function kD(t,e,r,n,i,o){let s=e?e.injectorIndex:-1,a=0;return i0()&&(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 bf(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,l=dr.None;Array.isArray(s)?(a=s[0],l=s[1]):a=s;let d=o;if(i!==null){if(!i.hasOwnProperty(o))continue;d=i[o]}t===0?Ef(n,r,d,a,l):Ef(n,r,d,a)}return n}function Ef(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 OD(t,e,r){let n=e.directiveStart,i=e.directiveEnd,o=t.data,s=e.attrs,a=[],l=null,d=null;for(let h=n;h0;){let r=t[--e];if(typeof r=="number"&&r<0)return r}return 0}function jD(t,e,r,n){let i=r.directiveStart,o=r.directiveEnd;us(r)&&qD(e,r,t.data[i+r.componentOffset]),t.firstCreatePass||Go(r,e),nn(n,e);let s=r.initialInputs;for(let a=i;a{fs(t.lView)},consumerOnSignalRead(){this.lView[In]=this}}),lC=100;function Ip(t,e=!0,r=0){let n=t[Ct],i=n.rendererFactory,o=!1;o||i.begin?.();try{cC(t,r)}catch(s){throw e&&wp(t,s),s}finally{o||(i.end?.(),n.inlineEffectRunner?.flush())}}function cC(t,e){let r=Ih();try{ff(!0),Fl(t,e);let n=0;for(;si(t);){if(n===lC)throw new M(103,!1);n++,Fl(t,1)}}finally{ff(r)}}function uC(t,e,r,n){let i=e[O];if((i&256)===256)return;let o=!1,s=!1;!o&&e[Ct].inlineEffectRunner?.flush(),bc(e);let a=null,l=null;!o&&dC(t)&&(l=iC(e),a=Id(l));try{Dh(e),c0(t.bindingStartIndex),r!==null&&hp(t,e,r,2,n);let d=(i&3)===3;if(!o)if(d){let g=t.preOrderCheckHooks;g!==null&&Ao(e,g,null)}else{let g=t.preOrderHooks;g!==null&&No(e,g,0,null),nl(e,0)}if(s||fC(e),xp(e,0),t.contentQueries!==null&&yp(t,e),!o)if(d){let g=t.contentCheckHooks;g!==null&&Ao(e,g)}else{let g=t.contentHooks;g!==null&&No(e,g,1),nl(e,1)}xD(t,e);let h=t.components;h!==null&&Mp(e,h,0);let m=t.viewQuery;if(m!==null&&Ol(2,m,n),!o)if(d){let g=t.viewCheckHooks;g!==null&&Ao(e,g)}else{let g=t.viewHooks;g!==null&&No(e,g,2),nl(e,2)}if(t.firstUpdatePass===!0&&(t.firstUpdatePass=!1),e[tl]){for(let g of e[tl])g();e[tl]=null}o||(e[O]&=-73)}catch(d){throw o||fs(e),d}finally{l!==null&&(xd(l,a),sC(l)),Ec()}}function dC(t){return t.type!==2}function xp(t,e){for(let r=Wh(t);r!==null;r=Zh(r))for(let n=Ve;n-1&&(qo(e,n),Lo(r,n))}this._attachedToViewContainer=!1}kc(this._lView[U],this._lView)}onDestroy(e){Ch(this._lView,e)}markForCheck(){Gc(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[O]&=-129}reattach(){El(this._lView),this._lView[O]|=128}detectChanges(){this._lView[O]|=1024,Ip(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new M(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let e=wl(this._lView),r=this._lView[_n];r!==null&&!e&&Rc(r,this._lView),rp(this._lView[U],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new M(902,!1);this._appRef=e;let r=wl(this._lView),n=this._lView[_n];n!==null&&!r&&ip(n,this._lView),El(this._lView)}},Nn=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=gC;let t=e;return t})(),pC=Nn,mC=class extends pC{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=bp(this._declarationLView,this._declarationTContainer,e,{embeddedViewInjector:r,dehydratedView:n});return new An(i)}};function gC(){return zc(Se(),Z())}function zc(t,e){return t.type&4?new mC(e,t,Er(t,e)):null}var MR=new RegExp(`^(\\d+)*(${z0}|${G0})*(.*)`);var vC=()=>null;function Ll(t,e){return vC(t,e)}var gr=class{},Tp=new x("",{providedIn:"root",factory:()=>!1});var Ap=new x(""),Vl=class{},Yo=class{};function yC(t){let e=Error(`No component factory found for ${Oe(t)}.`);return e[DC]=t,e}var DC="ngComponent";var jl=class{resolveComponentFactory(e){throw yC(e)}},tu=class tu{};tu.NULL=new jl;var vr=tu,yr=class{},ot=(()=>{let e=class e{constructor(){this.destroyNode=null}};e.__NG_ELEMENT_ID__=()=>CC();let t=e;return t})();function CC(){let t=Z(),e=Se(),r=on(e.index,t);return(Xt(r)?r:t)[pe]}var wC=(()=>{let e=class e{};e.\u0275prov=_({token:e,providedIn:"root",factory:()=>null});let t=e;return t})(),al={};var _f=new Set;function mi(t){_f.has(t)||(_f.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}function Np(t){let e=!0;return setTimeout(()=>{e&&(e=!1,t())}),typeof et.requestAnimationFrame=="function"&&et.requestAnimationFrame(()=>{e&&(e=!1,t())}),()=>{e=!1}}function If(t){let e=!0;return queueMicrotask(()=>{e&&t()}),()=>{e=!1}}function xf(...t){}var X=class t{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:n=!1}){if(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),typeof Zone>"u")throw new M(908,!1);Zone.assertZonePatched();let i=this;i._nesting=0,i._outer=i._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(i._inner=i._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(i._inner=i._inner.fork(Zone.longStackTraceZoneSpec)),i.shouldCoalesceEventChangeDetection=!n&&r,i.shouldCoalesceRunChangeDetection=n,i.callbackScheduled=!1,_C(i)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get("isAngularZone")===!0}static assertInAngularZone(){if(!t.isInAngularZone())throw new M(909,!1)}static assertNotInAngularZone(){if(t.isInAngularZone())throw new M(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,bC,xf,xf);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)}},bC={};function qc(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 EC(t){t.isCheckStableRunning||t.callbackScheduled||(t.callbackScheduled=!0,Zone.root.run(()=>{Np(()=>{t.callbackScheduled=!1,Ul(t),t.isCheckStableRunning=!0,qc(t),t.isCheckStableRunning=!1})}),Ul(t))}function _C(t){let e=()=>{EC(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(r,n,i,o,s,a)=>{if(IC(a))return r.invokeTask(i,o,s,a);try{return Sf(t),r.invokeTask(i,o,s,a)}finally{(t.shouldCoalesceEventChangeDetection&&o.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&e(),Mf(t)}},onInvoke:(r,n,i,o,s,a,l)=>{try{return Sf(t),r.invoke(i,o,s,a,l)}finally{t.shouldCoalesceRunChangeDetection&&!t.callbackScheduled&&!xC(a)&&e(),Mf(t)}},onHasTask:(r,n,i,o)=>{r.hasTask(i,o),n===i&&(o.change=="microTask"?(t._hasPendingMicrotasks=o.microTask,Ul(t),qc(t)):o.change=="macroTask"&&(t.hasPendingMacrotasks=o.macroTask))},onHandleError:(r,n,i,o)=>(r.handleError(i,o),t.runOutsideAngular(()=>t.onError.emit(o)),!1)})}function Ul(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.callbackScheduled===!0?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function Sf(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Mf(t){t._nesting--,qc(t)}var Bl=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 IC(t){return Rp(t,"__ignore_ng_zone__")}function xC(t){return Rp(t,"__scheduler_tick__")}function Rp(t,e){return!Array.isArray(t)||t.length!==1?!1:t[0]?.data?.[e]===!0}var or=function(t){return t[t.EarlyRead=0]="EarlyRead",t[t.Write=1]="Write",t[t.MixedReadWrite=2]="MixedReadWrite",t[t.Read=3]="Read",t}(or||{}),SC={destroy(){}};function Es(t,e){!e&&$y(Es);let r=e?.injector??C(rt);if(!rD(r))return SC;mi("NgAfterNextRender");let n=r.get(Wc),i=n.handler??=new Hl,o=e?.phase??or.MixedReadWrite,s=()=>{i.unregister(l),a()},a=r.get(xc).onDestroy(s),l=qe(r,()=>new $l(o,()=>{s(),t()}));return i.register(l),{destroy:s}}var $l=class{constructor(e,r){this.phase=e,this.callbackFn=r,this.zone=C(X),this.errorHandler=C(Et,{optional:!0}),C(gr,{optional:!0})?.notify(6)}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(e){this.errorHandler?.handleError(e)}}},Hl=class{constructor(){this.executingCallbacks=!1,this.buckets={[or.EarlyRead]:new Set,[or.Write]:new Set,[or.MixedReadWrite]:new Set,[or.Read]:new Set},this.deferredCallbacks=new Set}register(e){(this.executingCallbacks?this.deferredCallbacks:this.buckets[e.phase]).add(e)}unregister(e){this.buckets[e.phase].delete(e),this.deferredCallbacks.delete(e)}execute(){this.executingCallbacks=!0;for(let e of Object.values(this.buckets))for(let r of e)r.invoke();this.executingCallbacks=!1;for(let e of this.deferredCallbacks)this.buckets[e.phase].add(e);this.deferredCallbacks.clear()}destroy(){for(let e of Object.values(this.buckets))e.clear();this.deferredCallbacks.clear()}},Wc=(()=>{let e=class e{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){let n=[...this.internalCallbacks];this.internalCallbacks.length=0;for(let i of n)i()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}};e.\u0275prov=_({token:e,providedIn:"root",factory:()=>new e});let t=e;return t})();function Qo(t,e,r){let n=r?t.styles:null,i=r?t.classes:null,o=0;if(e!==null)for(let s=0;s0&&ap(t,r,o.join(" "))}}function OC(t,e,r){let n=t.projection=[];for(let i=0;i{let e=class e{};e.__NG_ELEMENT_ID__=FC;let t=e;return t})();function FC(){let t=Se();return Op(t,Z())}var LC=sn,kp=class extends LC{constructor(e,r,n){super(),this._lContainer=e,this._hostTNode=r,this._hostLView=n}get element(){return Er(this._hostTNode,this._hostLView)}get injector(){return new En(this._hostTNode,this._hostLView)}get parentInjector(){let e=_c(this._hostTNode,this._hostLView);if(Oh(e)){let r=Ho(e,this._hostLView),n=$o(e),i=r[U].data[n+8];return new En(i,r)}else return new En(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){let r=Af(this._lContainer);return r!==null&&r[e]||null}get length(){return this._lContainer.length-Ve}createEmbeddedView(e,r,n){let i,o;typeof n=="number"?i=n:n!=null&&(i=n.index,o=n.injector);let s=Ll(this._lContainer,e.ssrId),a=e.createEmbeddedViewImpl(r||{},o,s);return this.insertImpl(a,i,Pl(this._hostTNode,s)),a}createComponent(e,r,n,i,o){let s=e&&!Hy(e),a;if(s)a=r;else{let w=r||{};a=w.index,n=w.injector,i=w.projectableNodes,o=w.environmentInjector||w.ngModuleRef}let l=s?e:new Dr(en(e)),d=n||this.parentInjector;if(!o&&l.ngModule==null){let k=(s?d:this.parentInjector).get(Me,null);k&&(o=k)}let h=en(l.componentType??{}),m=Ll(this._lContainer,h?.id??null),g=m?.firstChild??null,D=l.create(d,i,g,o);return this.insertImpl(D.hostView,a,Pl(this._hostTNode,m)),D}insert(e,r){return this.insertImpl(e,r,!0)}insertImpl(e,r,n){let i=e._lView;if(Ky(i)){let a=this.indexOf(e);if(a!==-1)this.detach(a);else{let l=i[Te],d=new kp(l,l[ut],l[Te]);d.detach(d.indexOf(e))}}let o=this._adjustIndex(r),s=this._lContainer;return Ep(s,i,o,n),e.attachToViewContainerRef(),Yf(ll(s),o,e),e}move(e,r){return this.insert(e,r)}indexOf(e){let r=Af(this._lContainer);return r!==null?r.indexOf(e):-1}remove(e){let r=this._adjustIndex(e,-1),n=qo(this._lContainer,r);n&&(Lo(ll(this._lContainer),r),kc(n[U],n))}detach(e){let r=this._adjustIndex(e,-1),n=qo(this._lContainer,r);return n&&Lo(ll(this._lContainer),r)!=null?new An(n):null}_adjustIndex(e,r=0){return e??this.length+r}};function Af(t){return t[Uo]}function ll(t){return t[Uo]||(t[Uo]=[])}function Op(t,e){let r,n=e[t.index];return Ft(n)?r=n:(r=vp(n,e,null,t),e[t.index]=r,bs(e,r)),jC(r,e,t,n),new kp(r,t,e)}function VC(t,e){let r=t[pe],n=r.createComment(""),i=it(e,t),o=Oc(r,i);return Wo(r,o,n,vD(r,i),!1),n}var jC=$C,UC=()=>!1;function BC(t,e,r){return UC(t,e,r)}function $C(t,e,r,n){if(t[xn])return;let i;r.type&8?i=bt(n):i=VC(e,r),t[xn]=i}var ql=class t{constructor(e){this.queryList=e,this.matches=null}clone(){return new t(this.queryList)}setDirty(){this.queryList.setDirty()}},Wl=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 d=o[a+1],h=e[-l];for(let m=Ve;me.trim())}function KC(t,e,r){t.queries===null&&(t.queries=new Yl),t.queries.track(new Ql(e,r))}function JC(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 Zc(t,e){return t.queries.getByIndex(e)}function XC(t,e){let r=t[U],n=Zc(r,e);return n.crossesNgTemplate?Kl(r,t,e,[]):Pp(r,t,n,e)}function ew(t){return typeof t=="function"&&t[ka]!==void 0}function Fp(t){return ew(t)&&typeof t.set=="function"}function tw(t){return Object.getPrototypeOf(t.prototype).constructor}function Pe(t){let e=tw(t.type),r=!0,n=[t];for(;e;){let i;if(tn(t))i=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new M(903,!1);i=e.\u0275dir}if(i){if(r){n.push(i);let s=t;s.inputs=So(t.inputs),s.inputTransforms=So(t.inputTransforms),s.declaredInputs=So(t.declaredInputs),s.outputs=So(t.outputs);let a=i.hostBindings;a&&sw(t,a);let l=i.viewQuery,d=i.contentQueries;if(l&&iw(t,l),d&&ow(t,d),nw(t,i),Wv(t.outputs,i.outputs),tn(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=ni(i.hostAttrs,r=ni(r,i.hostAttrs))}}function So(t){return t===cr?{}:t===Xe?[]:t}function iw(t,e){let r=t.viewQuery;r?t.viewQuery=(n,i)=>{e(n,i),r(n,i)}:t.viewQuery=e}function ow(t,e){let r=t.contentQueries;r?t.contentQueries=(n,i,o)=>{e(n,i,o),r(n,i,o)}:t.contentQueries=e}function sw(t,e){let r=t.hostBindings;r?t.hostBindings=(n,i)=>{e(n,i),r(n,i)}:t.hostBindings=e}function Yc(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 rn=class{},li=class{};var Jl=class extends rn{constructor(e,r,n){super(),this._parent=r,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Ko(this);let i=ih(e);this._bootstrapComponents=tp(i.bootstrap),this._r3Injector=Hh(e,r,[{provide:rn,useValue:this},{provide:vr,useValue:this.componentFactoryResolver},...n],Oe(e),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(e)}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)}},Xl=class extends li{constructor(e){super(),this.moduleType=e}create(e){return new Jl(this.moduleType,e,[])}};var Jo=class extends rn{constructor(e){super(),this.componentFactoryResolver=new Ko(this),this.instance=null;let r=new ri([...e.providers,{provide:rn,useValue:this},{provide:vr,useValue:this.componentFactoryResolver}],e.parent||mc(),e.debugName,new Set(["environment"]));this.injector=r,e.runEnvironmentInitializers&&r.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}};function _s(t,e,r=null){return new Jo({providers:t,parent:e,debugName:r,runEnvironmentInitializers:!0}).injector}var an=(()=>{let e=class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Ie(!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.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function Lp(t){return lw(t)?Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t:!1}function aw(t,e){if(Array.isArray(t))for(let r=0;r>17&32767}function gw(t){return(t&2)==2}function vw(t,e){return t&131071|e<<17}function ec(t){return t|2}function Cr(t){return(t&131068)>>2}function cl(t,e){return t&-131069|e<<2}function yw(t){return(t&1)===1}function tc(t){return t|1}function Dw(t,e,r,n,i,o){let s=o?e.classBindings:e.styleBindings,a=Rn(s),l=Cr(s);t[n]=r;let d=!1,h;if(Array.isArray(r)){let m=r;h=m[1],(h===null||di(m,h)>0)&&(d=!0)}else h=r;if(i)if(l!==0){let g=Rn(t[a+1]);t[n+1]=Mo(g,a),g!==0&&(t[g+1]=cl(t[g+1],n)),t[a+1]=vw(t[a+1],n)}else t[n+1]=Mo(a,0),a!==0&&(t[a+1]=cl(t[a+1],n)),a=n;else t[n+1]=Mo(l,0),a===0?a=n:t[l+1]=cl(t[l+1],n),l=n;d&&(t[n+1]=ec(t[n+1])),Nf(t,h,n,!0),Nf(t,h,n,!1),Cw(e,h,t,n,o),s=Mo(a,l),o?e.classBindings=s:e.styleBindings=s}function Cw(t,e,r,n,i){let o=i?t.residualClasses:t.residualStyles;o!=null&&typeof e=="string"&&di(o,e)>=0&&(r[n+1]=tc(r[n+1]))}function Nf(t,e,r,n){let i=t[r+1],o=e===null,s=n?Rn(i):Cr(i),a=!1;for(;s!==0&&(a===!1||o);){let l=t[s],d=t[s+1];ww(l,e)&&(a=!0,t[s+1]=n?tc(d):ec(d)),s=n?Rn(d):Cr(d)}a&&(t[r+1]=n?ec(i):tc(i))}function ww(t,e){return t===null||e==null||(Array.isArray(t)?t[1]:t)===e?!0:Array.isArray(t)&&typeof e=="string"?di(t,e)>=0:!1}function y(t,e,r){let n=Z(),i=fi();if(Ot(n,i,e)){let o=be(),s=hs();Uc(o,s,n,t,e,n[pe],r,!1)}return y}function Rf(t,e,r,n,i){let o=e.inputs,s=i?"class":"style";$c(t,r,o[s],s,n)}function Is(t,e){return bw(t,e,null,!0),Is}function bw(t,e,r,n){let i=Z(),o=be(),s=u0(2);if(o.firstUpdatePass&&_w(o,t,s,n),e!==It&&Ot(i,s,e)){let a=o.data[br()];Tw(o,a,i,i[pe],t,i[s+1]=Aw(e,r),n,s)}}function Ew(t,e){return e>=t.expandoStartIndex}function _w(t,e,r,n){let i=t.data;if(i[r+1]===null){let o=i[br()],s=Ew(t,r);Nw(o,n)&&e===null&&!s&&(e=!1),e=Iw(i,o,e,n),Dw(i,o,e,r,s,n)}}function Iw(t,e,r,n){let i=p0(t),o=n?e.residualClasses:e.residualStyles;if(i===null)(n?e.classBindings:e.styleBindings)===0&&(r=ul(null,t,e,r,n),r=ci(r,e.attrs,n),o=null);else{let s=e.directiveStylingLast;if(s===-1||t[s]!==i)if(r=ul(i,t,e,r,n),o===null){let l=xw(t,e,n);l!==void 0&&Array.isArray(l)&&(l=ul(null,t,e,l[1],n),l=ci(l,e.attrs,n),Sw(t,e,n,l))}else o=Mw(t,e,n)}return o!==void 0&&(n?e.residualClasses=o:e.residualStyles=o),r}function xw(t,e,r){let n=r?e.classBindings:e.styleBindings;if(Cr(n)!==0)return t[Rn(n)]}function Sw(t,e,r,n){let i=r?e.classBindings:e.styleBindings;t[Rn(i)]=n}function Mw(t,e,r){let n,i=e.directiveEnd;for(let o=1+e.directiveStylingLast;o0;){let l=t[i],d=Array.isArray(l),h=d?l[1]:l,m=h===null,g=r[i+1];g===It&&(g=m?Xe:void 0);let D=m?Xa(g,n):h===n?g:void 0;if(d&&!Xo(D)&&(D=Xa(l,n)),Xo(D)&&(a=D,s))return a;let w=t[i+1];i=s?Rn(w):Cr(w)}if(e!==null){let l=o?e.residualClasses:e.residualStyles;l!=null&&(a=Xa(l,n))}return a}function Xo(t){return t!==void 0}function Aw(t,e){return t==null||t===""||(typeof e=="string"?t=t+e:typeof t=="object"&&(t=Oe(hi(t)))),t}function Nw(t,e){return(t.flags&(e?8:16))!==0}function On(t,e){mi("NgControlFlow");let r=Z(),n=fi(),i=r[n]!==It?r[n]:-1,o=i!==-1?Of(r,nt+i):void 0,s=0;if(Ot(r,n,t)){let a=Y(null);try{if(o!==void 0&&nC(o,s),t!==-1){let l=nt+t,d=Of(r,l),h=Rw(r[U],l),m=Ll(d,h.tView.ssrId),g=bp(r,h,e,{dehydratedView:m});Ep(d,g,s,Pl(h,m))}}finally{Y(a)}}else if(o!==void 0){let a=tC(o,s);a!==void 0&&(a[tt]=e)}}function Of(t,e){return t[e]}function Rw(t,e){return vc(t,e)}function kw(t,e,r,n,i,o){let s=e.consts,a=mr(s,i),l=pi(e,t,2,n,a);return Bc(e,r,l,mr(s,o)),l.attrs!==null&&Qo(l,l.attrs,!1),l.mergedAttrs!==null&&Qo(l,l.mergedAttrs,!0),e.queries!==null&&e.queries.elementStart(e,l),l}function u(t,e,r,n){let i=Z(),o=be(),s=nt+t,a=i[pe],l=o.firstCreatePass?kw(s,o,i,e,r,n):o.data[s],d=Ow(o,i,l,a,e,t);i[s]=d;let h=ds(l);return kn(l,!0),lp(a,d,l),!dw(l)&&ps()&&Ds(o,i,d,l),t0()===0&&nn(d,i),n0(),h&&(Lc(o,i,l),Fc(o,l,i)),n!==null&&Vc(i,l),u}function f(){let t=Se();Dc()?_h():(t=t.parent,kn(t,!1));let e=t;o0(e)&&s0(),r0();let r=be();return r.firstCreatePass&&(gs(r,t),gc(t)&&r.queries.elementEnd(t)),e.classesWithoutHost!=null&&w0(e)&&Rf(r,e,Z(),e.classesWithoutHost,!0),e.stylesWithoutHost!=null&&b0(e)&&Rf(r,e,Z(),e.stylesWithoutHost,!1),f}function p(t,e,r,n){return u(t,e,r,n),f(),p}var Ow=(t,e,r,n,i,o)=>(ms(!0),np(n,i,v0()));function Pw(t,e,r,n,i){let o=e.consts,s=mr(o,n),a=pi(e,t,8,"ng-container",s);s!==null&&Qo(a,s,!0);let l=mr(o,i);return Bc(e,r,a,l),e.queries!==null&&e.queries.elementStart(e,a),a}function je(t,e,r){let n=Z(),i=be(),o=t+nt,s=i.firstCreatePass?Pw(o,i,n,e,r):i.data[o];kn(s,!0);let a=Fw(i,n,s,t);return n[o]=a,ps()&&Ds(i,n,a,s),nn(a,n),ds(s)&&(Lc(i,n,s),Fc(i,s,n)),r!=null&&Vc(n,s),je}function Ue(){let t=Se(),e=be();return Dc()?_h():(t=t.parent,kn(t,!1)),e.firstCreatePass&&(gs(e,t),gc(t)&&e.queries.elementEnd(t)),Ue}var Fw=(t,e,r,n)=>(ms(!0),aD(e[pe],""));function oe(){return Z()}var es="en-US";var Lw=es;function Vw(t){typeof t=="string"&&(Lw=t.toLowerCase().replace(/_/g,"-"))}var jw=(t,e,r)=>{};function A(t,e,r,n){let i=Z(),o=be(),s=Se();return jp(o,i,i[pe],s,t,e,n),A}function Uw(t,e,r,n){let i=t.cleanup;if(i!=null)for(let o=0;ol?a[l]:null}typeof s=="string"&&(o+=2)}return null}function jp(t,e,r,n,i,o,s){let a=ds(n),d=t.firstCreatePass&&Cp(t),h=e[tt],m=Dp(e),g=!0;if(n.type&3||s){let k=it(n,e),T=s?s(k):k,N=m.length,ge=s?ee=>s(bt(ee[n.index])):n.index;jw(k,i,o);let re=null;if(!s&&a&&(re=Uw(t,e,i,n.index)),re!==null){let ee=re.__ngLastListenerFn__||re;ee.__ngNextListenerFn__=o,re.__ngLastListenerFn__=o,g=!1}else{o=Ff(n,e,h,o,!1);let ee=r.listen(T,i,o);m.push(o,ee),d&&d.push(i,ge,N,N+1)}}else o=Ff(n,e,h,o,!1);let D=n.outputs,w;if(g&&D!==null&&(w=D[i])){let k=w.length;if(k)for(let T=0;T-1?on(t.index,e):e;Gc(a,5);let l=Pf(e,r,n,s),d=o.__ngNextListenerFn__;for(;d;)l=Pf(e,r,d,s)&&l,d=d.__ngNextListenerFn__;return i&&l===!1&&s.preventDefault(),l}}function E(t=1){return g0(t)}function xt(t,e,r,n,i){let o=Z(),s=Vp(o,e,r,n);if(s!==It){let a=be(),l=hs();Uc(a,l,o,t,s,o[pe],i,!1)}return xt}function Up(t,e,r,n){YC(t,e,r,n)}function Bp(t){let e=Z(),r=be(),n=xh();wc(n+1);let i=Zc(r,n);if(t.dirty&&Qy(e)===((i.metadata.flags&2)===2)){if(i.matches===null)t.reset([]);else{let o=XC(e,n);t.reset(o,F0),t.notifyOnChanges()}return!0}return!1}function $p(){return WC(Z(),xh())}function xs(t){let e=l0();return Yy(e,nt+t)}function c(t,e=""){let r=Z(),n=be(),i=t+nt,o=n.firstCreatePass?pi(n,i,1,e,null):n.data[i],s=Bw(n,r,o,e,t);r[i]=s,ps()&&Ds(n,r,s,o),kn(o,!1)}var Bw=(t,e,r,n,i)=>(ms(!0),oD(e[pe],n));function se(t){return ft("",t,""),se}function ft(t,e,r){let n=Z(),i=Vp(n,t,e,r);return i!==It&&KD(n,br(),i),ft}function ae(t,e,r){Fp(e)&&(e=e());let n=Z(),i=fi();if(Ot(n,i,e)){let o=be(),s=hs();Uc(o,s,n,t,e,n[pe],r,!1)}return ae}function ue(t,e){let r=Fp(t);return r&&t.set(e),r}function le(t,e){let r=Z(),n=be(),i=Se();return jp(n,r,r[pe],i,t,e),le}function $w(t,e,r){let n=be();if(n.firstCreatePass){let i=tn(t);nc(r,n.data,n.blueprint,i,!0),nc(e,n.data,n.blueprint,i,!1)}}function nc(t,e,r,n,i){if(t=ke(t),Array.isArray(t))for(let o=0;o>20;if(fr(t)||!t.multi){let D=new Mn(d,i,S),w=fl(l,e,i?h:h+g,m);w===-1?(xl(Go(a,s),o,l),dl(o,t,e.length),e.push(l),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),r.push(D),s.push(D)):(r[w]=D,s[w]=D)}else{let D=fl(l,e,h+g,m),w=fl(l,e,h,h+g),k=D>=0&&r[D],T=w>=0&&r[w];if(i&&!T||!i&&!k){xl(Go(a,s),o,l);let N=zw(i?Gw:Hw,r.length,i,n,d);!i&&T&&(r[w].providerFactory=N),dl(o,t,e.length,0),e.push(l),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),r.push(N),s.push(N)}else{let N=Hp(r[i?w:D],d,!i&&n);dl(o,t,D>-1?D:w,N)}!i&&n&&T&&r[w].componentProviders++}}}function dl(t,e,r,n){let i=fr(e),o=Py(e);if(i||o){let l=(o?ke(e.useClass):e).prototype.ngOnDestroy;if(l){let d=t.destroyHooks||(t.destroyHooks=[]);if(!i&&e.multi){let h=d.indexOf(r);h===-1?d.push(r,[n,l]):d[h+1].push(n,l)}else d.push(r,l)}}}function Hp(t,e,r){return r&&t.componentProviders++,t.multi.push(e)-1}function fl(t,e,r,n){for(let i=r;i{r.providersResolver=(n,i)=>$w(n,i?i(t):t,e)}}var qw=(()=>{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=ah(!1,n.type),o=i.length>0?_s([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(I(Me))});let t=e;return t})();function de(t){mi("NgStandalone"),t.getStandaloneInjector=e=>e.get(qw).getOrCreateStandaloneInjector(t)}function B(t,e,r){let n=Cc()+t,i=Z();return i[n]===It?Qc(i,n,r?e.call(r):e()):cw(i,n)}function Pn(t,e,r,n){return Ww(Z(),Cc(),t,e,r,n)}function Gp(t,e,r,n,i){return Zw(Z(),Cc(),t,e,r,n,i)}function zp(t,e){let r=t[e];return r===It?void 0:r}function Ww(t,e,r,n,i,o){let s=e+r;return Ot(t,s,i)?Qc(t,s+1,o?n.call(o,i):n(i)):zp(t,s+1)}function Zw(t,e,r,n,i,o,s){let a=e+r;return uw(t,a,i,o)?Qc(t,a+2,s?n.call(s,i,o):n(i,o)):zp(t,a+2)}var Ss=(()=>{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 Kc=new x(""),gi=new x(""),Ms=(()=>{let e=class e{constructor(n,i,o){this._ngZone=n,this.registry=i,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,Jc||(Yw(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:()=>{X.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)(I(X),I(Ts),I(gi))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})(),Ts=(()=>{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 Jc?.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 Yw(t){Jc=t}var Jc;function Fn(t){return!!t&&typeof t.then=="function"}function qp(t){return!!t&&typeof t.subscribe=="function"}var As=new x(""),Wp=(()=>{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=C(As,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let s=o();if(Fn(s))n.push(s);else if(qp(s)){let a=new Promise((l,d)=>{s.subscribe({complete:l,error:d})});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})(),Ns=new x("");function Qw(){Md(()=>{throw new M(600,!1)})}function Kw(t){return t.isBoundToModule}var Jw=10;function Xw(t,e,r){try{let n=r();return Fn(n)?n.catch(i=>{throw e.runOutsideAngular(()=>t.handleError(i)),i}):n}catch(n){throw e.runOutsideAngular(()=>t.handleError(n)),n}}var ln=(()=>{let e=class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=C(Gh),this.afterRenderEffectManager=C(Wc),this.zonelessEnabled=C(Tp),this.externalTestViews=new Set,this.beforeRender=new Ce,this.afterTick=new Ce,this.componentTypes=[],this.components=[],this.isStable=C(an).hasPendingTasks.pipe(F(n=>!n)),this._injector=C(Me)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,i){let o=n instanceof Yo;if(!this._injector.get(Wp).done){let D=!o&&rh(n),w=!1;throw new M(405,w)}let a;o?a=n:a=this._injector.get(vr).resolveComponentFactory(n),this.componentTypes.push(a.componentType);let l=Kw(a)?void 0:this._injector.get(rn),d=i||a.selector,h=a.create(rt.NULL,[],d,l),m=h.location.nativeElement,g=h.injector.get(Kc,null);return g?.registerApplication(m),h.onDestroy(()=>{this.detachView(h.hostView),hl(this.components,h),g?.unregisterApplication(m)}),this._loadComponent(h),h}tick(){this._tick(!0)}_tick(n){if(this._runningTick)throw new M(101,!1);let i=Y(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(n)}catch(o){this.internalErrorHandler(o)}finally{this._runningTick=!1,Y(i),this.afterTick.next()}}detectChangesInAttachedViews(n){let i=null;this._injector.destroyed||(i=this._injector.get(yr,null,{optional:!0}));let o=0,s=this.afterRenderEffectManager;for(;osi(l))&&(s.execute(),!this.allViews.some(({_lView:l})=>si(l))))break}}attachView(n){let i=n;this._views.push(i),i.attachToAppRef(this)}detachView(n){let i=n;hl(this._views,i),i.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);let i=this._injector.get(Ns,[]);[...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),()=>hl(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new M(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 hl(t,e){let r=t.indexOf(e);r>-1&&t.splice(r,1)}function eb(t,e,r,n){if(!r&&!si(t))return;Ip(t,e,r&&!n?0:1)}var ic=class{constructor(e,r){this.ngModuleFactory=e,this.componentFactories=r}},Rs=(()=>{let e=class e{compileModuleSync(n){return new Xl(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let i=this.compileModuleSync(n),o=ih(n),s=tp(o.declarations).reduce((a,l)=>{let d=en(l);return d&&a.push(new Dr(d)),a},[]);return new ic(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 tb=!0;var nb=(()=>{let e=class e{constructor(){this.appRef=C(ln),this.taskService=C(an),this.ngZone=C(X),this.zonelessEnabled=C(Tp),this.disableScheduling=C(Ap,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new ve,this.cancelScheduledCallback=null,this.shouldRefreshViews=!1,this.useMicrotaskScheduler=!1,this.runningTick=!1,this.pendingRenderTaskId=null,this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof Bl||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&n===5)return;switch(n){case 3:case 2:case 0:case 4:case 5:case 1:{this.shouldRefreshViews=!0;break}case 8:case 7:case 6:case 9:default:}if(!this.shouldScheduleTick())return;let i=this.useMicrotaskScheduler?If:Np;this.pendingRenderTaskId=this.taskService.add(),this.zoneIsDefined?Zone.root.run(()=>{this.cancelScheduledCallback=i(()=>{this.tick(this.shouldRefreshViews)})}):this.cancelScheduledCallback=i(()=>{this.tick(this.shouldRefreshViews)})}shouldScheduleTick(){return!(this.disableScheduling||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&X.isInAngularZone())}tick(n){if(this.runningTick||this.appRef.destroyed)return;let i=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick(n)},void 0,this.schedulerTickApplyArgs)}catch(o){throw this.taskService.remove(i),o}finally{this.cleanup()}this.useMicrotaskScheduler=!0,If(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(i)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.shouldRefreshViews=!1,this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var rb=(()=>{let e=class e{constructor(){this.zone=C(X),this.changeDetectionScheduler=C(gr,{optional:!0}),this.applicationRef=C(ln)}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 ib({ngZoneFactory:t,ignoreChangesOutsideZone:e}){return t??=()=>new X(sb()),[{provide:X,useFactory:t},{provide:ur,multi:!0,useFactory:()=>{let r=C(rb,{optional:!0});return()=>r.initialize()}},{provide:ur,multi:!0,useFactory:()=>{let r=C(ab);return()=>{r.initialize()}}},{provide:Gh,useFactory:ob},e===!0?{provide:Ap,useValue:!0}:[],tb||e===!1?{provide:gr,useExisting:nb}:[]]}function ob(){let t=C(X),e=C(Et);return r=>t.runOutsideAngular(()=>e.handleError(r))}function sb(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}var ab=(()=>{let e=class e{constructor(){this.subscription=new ve,this.initialized=!1,this.zone=C(X),this.pendingTasks=C(an)}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(()=>{X.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{X.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})();function lb(){return typeof $localize<"u"&&$localize.locale||es}var Xc=new x("",{providedIn:"root",factory:()=>C(Xc,H.Optional|H.SkipSelf)||lb()});var Zp=new x("");var Oo=null;function cb(t=[],e){return rt.create({name:e,providers:[{provide:ls,useValue:"platform"},{provide:Zp,useValue:new Set([()=>Oo=null])},...t]})}function ub(t=[]){if(Oo)return Oo;let e=cb(t);return Oo=e,Qw(),db(e),e}function db(t){t.get(Sc,null)?.forEach(r=>r())}var cn=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=fb;let t=e;return t})();function fb(t){return hb(Se(),Z(),(t&16)===16)}function hb(t,e,r){if(us(t)&&!r){let n=on(t.index,e);return new An(n,n)}else if(t.type&47){let n=e[wt];return new An(n,e)}return null}var oc=class{constructor(){}supports(e){return Lp(e)}create(e){return new sc(e)}},pb=(t,e)=>e,sc=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||pb}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 ac(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 ts),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 ts),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}},ac=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}},lc=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}},ts=class{constructor(){this.map=new Map}put(e){let r=e.trackById,n=this.map.get(r);n||(n=new lc,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 Lf(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||Vf()),deps:[[e,new uc,new ss]]}}find(n){let i=this.factories.find(o=>o.supports(n));if(i!=null)return i;throw new M(901,!1)}};e.\u0275prov=_({token:e,providedIn:"root",factory:Vf});let t=e;return t})();var Yp=(()=>{let e=class e{constructor(n){}};e.\u0275fac=function(i){return new(i||e)(I(ln))},e.\u0275mod=ze({type:e}),e.\u0275inj=Ge({});let t=e;return t})();function Qp(t){try{let{rootComponent:e,appProviders:r,platformProviders:n}=t,i=ub(n),o=[ib({}),...r||[]],a=new Jo({providers:o,parent:i,debugName:"",runEnvironmentInitializers:!1}).injector,l=a.get(X);return l.run(()=>{a.resolveInjectorInitializers();let d=a.get(Et,null),h;l.runOutsideAngular(()=>{h=l.onError.subscribe({next:D=>{d.handleError(D)}})});let m=()=>a.destroy(),g=i.get(Zp);return g.add(m),a.onDestroy(()=>{h.unsubscribe(),g.delete(m)}),Xw(d,l,()=>{let D=a.get(Wp);return D.runInitializers(),D.donePromise.then(()=>{let w=a.get(Xc,es);Vw(w||es);let k=a.get(ln);return e!==void 0&&k.bootstrap(e),k})})})}catch(e){return Promise.reject(e)}}function jt(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function Kp(t){let e=en(t);if(!e)return null;let r=new Dr(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 Q={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 rm=null;function St(){return rm}function im(t){rm??=t}var ks=class{};var Ee=new x(""),lu=(()=>{let e=class e{historyGo(n){throw new Error("")}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:()=>C(mb),providedIn:"platform"});let t=e;return t})(),om=new x(""),mb=(()=>{let e=class e extends lu{constructor(){super(),this._doc=C(Ee),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return St().getBaseHref(this._doc)}onPopState(n){let i=St().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",n,!1),()=>i.removeEventListener("popstate",n)}onHashChange(n){let i=St().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 cu(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 Jp(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 Ut(t){return t&&t[0]!=="?"?"?"+t:t}var Bt=(()=>{let e=class e{historyGo(n){throw new Error("")}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:()=>C(uu),providedIn:"root"});let t=e;return t})(),sm=new x(""),uu=(()=>{let e=class e extends Bt{constructor(n,i){super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??C(Ee).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return cu(this._baseHref,n)}path(n=!1){let i=this._platformLocation.pathname+Ut(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${i}${o}`:i}pushState(n,i,o,s){let a=this.prepareExternalUrl(o+Ut(s));this._platformLocation.pushState(n,i,a)}replaceState(n,i,o,s){let a=this.prepareExternalUrl(o+Ut(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)(I(lu),I(sm,8))},e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),am=(()=>{let e=class e extends Bt{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=cu(this._baseHref,n);return i.length>0?"#"+i:i}pushState(n,i,o,s){let a=this.prepareExternalUrl(o+Ut(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.pushState(n,i,a)}replaceState(n,i,o,s){let a=this.prepareExternalUrl(o+Ut(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)(I(lu),I(sm,8))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})(),xr=(()=>{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=yb(Jp(Xp(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+Ut(i))}normalize(n){return e.stripTrailingSlash(vb(this._basePath,Xp(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+Ut(i)),o)}replaceState(n,i="",o=null){this._locationStrategy.replaceState(o,"",n,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Ut(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=Ut,e.joinWithSlash=cu,e.stripTrailingSlash=Jp,e.\u0275fac=function(i){return new(i||e)(I(Bt))},e.\u0275prov=_({token:e,factory:()=>gb(),providedIn:"root"});let t=e;return t})();function gb(){return new xr(I(Bt))}function vb(t,e){if(!t||!e.startsWith(t))return e;let r=e.substring(t.length);return r===""||["/",";","?","#"].includes(r[0])?r:e}function Xp(t){return t.replace(/\/index.html$/,"")}function yb(t){if(new RegExp("^(https?:)?//").test(t)){let[,r]=t.split(/\/\/[^\/]+/);return r}return t}function Os(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 nu=/\s+/,em=[],Sr=(()=>{let e=class e{constructor(n,i){this._ngEl=n,this._renderer=i,this.initialClasses=em,this.stateMap=new Map}set klass(n){this.initialClasses=n!=null?n.trim().split(nu):em}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(nu):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(nu).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(Ae),S(ot))},e.\u0275dir=ne({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"},standalone:!0});let t=e;return t})();var ru=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}},Ps=(()=>{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 ru(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 l=i.get(s);i.move(l,a),tm(l,o)}});for(let o=0,s=i.length;o{let s=i.get(o.currentIndex);tm(s,o)})}static ngTemplateContextGuard(n,i){return!0}};e.\u0275fac=function(i){return new(i||e)(S(sn),S(Nn),S(eu))},e.\u0275dir=ne({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0});let t=e;return t})();function tm(t,e){t.context.$implicit=e.item}var Fs=(()=>{let e=class e{constructor(n,i){this._viewContainer=n,this._context=new iu,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){nm("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){nm("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(sn),S(Nn))},e.\u0275dir=ne({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0});let t=e;return t})(),iu=class{constructor(){this.$implicit=null,this.ngIf=null}};function nm(t,e){if(!!!(!e||e.createEmbeddedView))throw new Error(`${t} must be a TemplateRef, but received '${Oe(e)}'.`)}var lm=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=ze({type:e}),e.\u0275inj=Ge({});let t=e;return t})(),du="browser",Db="server";function Cb(t){return t===du}function Ls(t){return t===Db}var cm=(()=>{let e=class e{};e.\u0275prov=_({token:e,providedIn:"root",factory:()=>Cb(C(_t))?new ou(C(Ee),window):new su});let t=e;return t})(),ou=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=wb(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 wb(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 su=class{setOffset(e){}getScrollPosition(){return[0,0]}scrollToPosition(e){}scrollToAnchor(e){}setHistoryScrollRestoration(e){}},Ir=class{};var yi=class{},js=class{},$t=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 hu=class{encodeKey(e){return dm(e)}encodeValue(e){return dm(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}};function bb(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))],l=r.get(s)||[];l.push(a),r.set(s,l)}),r}var Eb=/%(\d[a-f0-9])/gi,_b={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function dm(t){return encodeURIComponent(t).replace(Eb,(e,r)=>_b[r]??e)}function Vs(t){return`${t}`}var dn=class t{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new hu,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=bb(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(Vs):[Vs(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(Vs(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(Vs(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 pu=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 Ib(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function fm(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function hm(t){return typeof Blob<"u"&&t instanceof Blob}function pm(t){return typeof FormData<"u"&&t instanceof FormData}function xb(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}var vi=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(Ib(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 $t,this.context??=new pu,!this.params)this.params=new dn,this.urlWithParams=r;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=r;else{let a=r.indexOf("?"),l=a===-1?"?":ag.set(D,e.setHeaders[D]),d)),e.setParams&&(h=Object.keys(e.setParams).reduce((g,D)=>g.set(D,e.setParams[D]),h)),new t(r,n,s,{params:h,headers:d,context:m,reportProgress:l,responseType:i,withCredentials:a,transferCache:o})}},fn=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}(fn||{}),Di=class{constructor(e,r=200,n="OK"){this.headers=e.headers||new $t,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}},Us=class t extends Di{constructor(e={}){super(e),this.type=fn.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})}},Ci=class t extends Di{constructor(e={}){super(e),this.type=fn.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})}},un=class extends Di{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}},Dm=200,Sb=204;function fu(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 wi=(()=>{let e=class e{constructor(n){this.handler=n}request(n,i,o={}){let s;if(n instanceof vi)s=n;else{let d;o.headers instanceof $t?d=o.headers:d=new $t(o.headers);let h;o.params&&(o.params instanceof dn?h=o.params:h=new dn({fromObject:o.params})),s=new vi(n,i,o.body!==void 0?o.body:null,{headers:d,context:o.context,params:h,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache})}let a=R(s).pipe(At(d=>this.handler.handle(d)));if(n instanceof vi||o.observe==="events")return a;let l=a.pipe(xe(d=>d instanceof Ci));switch(o.observe||"body"){case"body":switch(s.responseType){case"arraybuffer":return l.pipe(F(d=>{if(d.body!==null&&!(d.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return d.body}));case"blob":return l.pipe(F(d=>{if(d.body!==null&&!(d.body instanceof Blob))throw new Error("Response is not a Blob.");return d.body}));case"text":return l.pipe(F(d=>{if(d.body!==null&&typeof d.body!="string")throw new Error("Response is not a string.");return d.body}));case"json":default:return l.pipe(F(d=>d.body))}case"response":return l;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 dn().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,fu(o,i))}post(n,i,o={}){return this.request("POST",n,fu(o,i))}put(n,i,o={}){return this.request("PUT",n,fu(o,i))}};e.\u0275fac=function(i){return new(i||e)(I(yi))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})(),Mb=/^\)\]\}',?\n/,Tb="X-Request-URL";function mm(t){if(t.url)return t.url;let e=Tb.toLocaleLowerCase();return t.headers.get(e)}var Ab=(()=>{let e=class e{constructor(){this.fetchImpl=C(mu,{optional:!0})?.fetch??fetch.bind(globalThis),this.ngZone=C(X)}handle(n){return new q(i=>{let o=new AbortController;return this.doRequest(n,o.signal,i).then(gu,s=>i.error(new un({error:s}))),()=>o.abort()})}doRequest(n,i,o){return Qr(this,null,function*(){let s=this.createRequestInit(n),a;try{let w=this.fetchImpl(n.urlWithParams,b({signal:i},s));Nb(w),o.next({type:fn.Sent}),a=yield w}catch(w){o.error(new un({error:w,status:w.status??0,statusText:w.statusText,url:n.urlWithParams,headers:w.headers}));return}let l=new $t(a.headers),d=a.statusText,h=mm(a)??n.urlWithParams,m=a.status,g=null;if(n.reportProgress&&o.next(new Us({headers:l,status:m,statusText:d,url:h})),a.body){let w=a.headers.get("content-length"),k=[],T=a.body.getReader(),N=0,ge,re,ee=typeof Zone<"u"&&Zone.current;yield this.ngZone.runOutsideAngular(()=>Qr(this,null,function*(){for(;;){let{done:De,value:Ke}=yield T.read();if(De)break;if(k.push(Ke),N+=Ke.length,n.reportProgress){re=n.responseType==="text"?(re??"")+(ge??=new TextDecoder).decode(Ke,{stream:!0}):void 0;let zn=()=>o.next({type:fn.DownloadProgress,total:w?+w:void 0,loaded:N,partialText:re});ee?ee.run(zn):zn()}}}));let Qe=this.concatChunks(k,N);try{let De=a.headers.get("Content-Type")??"";g=this.parseBody(n,Qe,De)}catch(De){o.error(new un({error:De,headers:new $t(a.headers),status:a.status,statusText:a.statusText,url:mm(a)??n.urlWithParams}));return}}m===0&&(m=g?Dm:0),m>=200&&m<300?(o.next(new Ci({body:g,headers:l,status:m,statusText:d,url:h})),o.complete()):o.error(new un({error:g,headers:l,status:m,statusText:d,url:h}))})}parseBody(n,i,o){switch(n.responseType){case"json":let s=new TextDecoder().decode(i).replace(Mb,"");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(",")),i.Accept??="application/json, text/plain, */*",!i["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})(),mu=class{};function gu(){}function Nb(t){t.then(gu,gu)}function Cm(t,e){return e(t)}function Rb(t,e){return(r,n)=>e.intercept(r,{handle:i=>t(i,n)})}function kb(t,e,r){return(n,i)=>qe(r,()=>e(n,o=>t(o,i)))}var Ob=new x(""),vu=new x(""),Pb=new x(""),wm=new x("",{providedIn:"root",factory:()=>!0});function Fb(){let t=null;return(e,r)=>{t===null&&(t=(C(Ob,{optional:!0})??[]).reduceRight(Rb,Cm));let n=C(an);if(C(wm)){let o=n.add();return t(e,r).pipe(Qt(()=>n.remove(o)))}else return t(e,r)}}var gm=(()=>{let e=class e extends yi{constructor(n,i){super(),this.backend=n,this.injector=i,this.chain=null,this.pendingTasks=C(an),this.contributeToStability=C(wm)}handle(n){if(this.chain===null){let i=Array.from(new Set([...this.injector.get(vu),...this.injector.get(Pb,[])]));this.chain=i.reduceRight((o,s)=>kb(o,s,this.injector),Cm)}if(this.contributeToStability){let i=this.pendingTasks.add();return this.chain(n,o=>this.backend.handle(o)).pipe(Qt(()=>this.pendingTasks.remove(i)))}else return this.chain(n,i=>this.backend.handle(i))}};e.\u0275fac=function(i){return new(i||e)(I(js),I(Me))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})();var Lb=/^\)\]\}',?\n/;function Vb(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}var vm=(()=>{let e=class e{constructor(n){this.xhrFactory=n}handle(n){if(n.method==="JSONP")throw new M(-2800,!1);let i=this.xhrFactory;return(i.\u0275loadImpl?ie(i.\u0275loadImpl()):R(null)).pipe(Le(()=>new q(s=>{let a=i.build();if(a.open(n.method,n.urlWithParams),n.withCredentials&&(a.withCredentials=!0),n.headers.forEach((T,N)=>a.setRequestHeader(T,N.join(","))),n.headers.has("Accept")||a.setRequestHeader("Accept","application/json, text/plain, */*"),!n.headers.has("Content-Type")){let T=n.detectContentTypeHeader();T!==null&&a.setRequestHeader("Content-Type",T)}if(n.responseType){let T=n.responseType.toLowerCase();a.responseType=T!=="json"?T:"text"}let l=n.serializeBody(),d=null,h=()=>{if(d!==null)return d;let T=a.statusText||"OK",N=new $t(a.getAllResponseHeaders()),ge=Vb(a)||n.url;return d=new Us({headers:N,status:a.status,statusText:T,url:ge}),d},m=()=>{let{headers:T,status:N,statusText:ge,url:re}=h(),ee=null;N!==Sb&&(ee=typeof a.response>"u"?a.responseText:a.response),N===0&&(N=ee?Dm:0);let Qe=N>=200&&N<300;if(n.responseType==="json"&&typeof ee=="string"){let De=ee;ee=ee.replace(Lb,"");try{ee=ee!==""?JSON.parse(ee):null}catch(Ke){ee=De,Qe&&(Qe=!1,ee={error:Ke,text:ee})}}Qe?(s.next(new Ci({body:ee,headers:T,status:N,statusText:ge,url:re||void 0})),s.complete()):s.error(new un({error:ee,headers:T,status:N,statusText:ge,url:re||void 0}))},g=T=>{let{url:N}=h(),ge=new un({error:T,status:a.status||0,statusText:a.statusText||"Unknown Error",url:N||void 0});s.error(ge)},D=!1,w=T=>{D||(s.next(h()),D=!0);let N={type:fn.DownloadProgress,loaded:T.loaded};T.lengthComputable&&(N.total=T.total),n.responseType==="text"&&a.responseText&&(N.partialText=a.responseText),s.next(N)},k=T=>{let N={type:fn.UploadProgress,loaded:T.loaded};T.lengthComputable&&(N.total=T.total),s.next(N)};return a.addEventListener("load",m),a.addEventListener("error",g),a.addEventListener("timeout",g),a.addEventListener("abort",g),n.reportProgress&&(a.addEventListener("progress",w),l!==null&&a.upload&&a.upload.addEventListener("progress",k)),a.send(l),s.next({type:fn.Sent}),()=>{a.removeEventListener("error",g),a.removeEventListener("abort",g),a.removeEventListener("load",m),a.removeEventListener("timeout",g),n.reportProgress&&(a.removeEventListener("progress",w),l!==null&&a.upload&&a.upload.removeEventListener("progress",k)),a.readyState!==a.DONE&&a.abort()}})))}};e.\u0275fac=function(i){return new(i||e)(I(Ir))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})(),bm=new x(""),jb="XSRF-TOKEN",Ub=new x("",{providedIn:"root",factory:()=>jb}),Bb="X-XSRF-TOKEN",$b=new x("",{providedIn:"root",factory:()=>Bb}),Bs=class{},Hb=(()=>{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=Os(n,this.cookieName),this.lastCookieString=n),this.lastToken}};e.\u0275fac=function(i){return new(i||e)(I(Ee),I(_t),I(Ub))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})();function Gb(t,e){let r=t.url.toLowerCase();if(!C(bm)||t.method==="GET"||t.method==="HEAD"||r.startsWith("http://")||r.startsWith("https://"))return e(t);let n=C(Bs).getToken(),i=C($b);return n!=null&&!t.headers.has(i)&&(t=t.clone({headers:t.headers.set(i,n)})),e(t)}var Em=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}(Em||{});function zb(t,e){return{\u0275kind:t,\u0275providers:e}}function _m(...t){let e=[wi,vm,gm,{provide:yi,useExisting:gm},{provide:js,useFactory:()=>C(Ab,{optional:!0})??C(vm)},{provide:vu,useValue:Gb,multi:!0},{provide:bm,useValue:!0},{provide:Bs,useClass:Hb}];for(let r of t)e.push(...r.\u0275providers);return as(e)}var ym=new x("");function Im(){return zb(Em.LegacyInterceptors,[{provide:ym,useFactory:Fb},{provide:vu,useExisting:ym,multi:!0}])}var Cu=class extends ks{constructor(){super(...arguments),this.supportsDOMEvents=!0}},wu=class t extends Cu{static makeCurrent(){im(new t)}onAndCancel(e,r,n){return e.addEventListener(r,n),()=>{e.removeEventListener(r,n)}}dispatchEvent(e,r){e.dispatchEvent(r)}remove(e){e.parentNode&&e.parentNode.removeChild(e)}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=qb();return r==null?null:Wb(r)}resetBaseElement(){bi=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return Os(document.cookie,e)}},bi=null;function qb(){return bi=bi||document.querySelector("base"),bi?bi.getAttribute("href"):null}function Wb(t){return new URL(t,document.baseURI).pathname}var bu=class{addToWindow(e){et.getAngularTestability=(n,i=!0)=>{let o=e.findTestabilityInTree(n,i);if(o==null)throw new M(5103,!1);return o},et.getAllAngularTestabilities=()=>e.getAllTestabilities(),et.getAllAngularRootElements=()=>e.getAllRootElements();let r=n=>{let i=et.getAllAngularTestabilities(),o=i.length,s=function(){o--,o==0&&n()};i.forEach(a=>{a.whenStable(s)})};et.frameworkStabilizers||(et.frameworkStabilizers=[]),et.frameworkStabilizers.push(r)}findTestabilityInTree(e,r,n){if(r==null)return null;let i=e.getTestability(r);return i??(n?St().isShadowRoot(r)?this.findTestabilityInTree(e,r.host,!0):this.findTestabilityInTree(e,r.parentElement,!0):null)}},Zb=(()=>{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})(),Eu=new x(""),Am=(()=>{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 M(5101,!1);return this._eventNameToPlugin.set(n,i),i}};e.\u0275fac=function(i){return new(i||e)(I(Eu),I(X))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})(),$s=class{constructor(e){this._doc=e}},yu="ng-app-id",Nm=(()=>{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=Ls(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[${yu}="${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(yu),s;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=i,this.platformIsServer&&a.setAttribute(yu,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)(I(Ee),I(vs),I(Mc,8),I(_t))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})(),Du={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"},Iu=/%COMP%/g,Rm="%COMP%",Yb=`_nghost-${Rm}`,Qb=`_ngcontent-${Rm}`,Kb=!0,Jb=new x("",{providedIn:"root",factory:()=>Kb});function Xb(t){return Qb.replace(Iu,t)}function eE(t){return Yb.replace(Iu,t)}function km(t,e){return e.map(r=>r.replace(Iu,t))}var Sm=(()=>{let e=class e{constructor(n,i,o,s,a,l,d,h=null){this.eventManager=n,this.sharedStylesHost=i,this.appId=o,this.removeStylesOnCompDestroy=s,this.doc=a,this.platformId=l,this.ngZone=d,this.nonce=h,this.rendererByCompId=new Map,this.platformIsServer=Ls(l),this.defaultRenderer=new Ei(n,a,d,this.platformIsServer)}createRenderer(n,i){if(!n||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===Dt.ShadowDom&&(i=K(b({},i),{encapsulation:Dt.Emulated}));let o=this.getOrCreateRenderer(n,i);return o instanceof Hs?o.applyToHost(n):o instanceof _i&&o.applyStyles(),o}getOrCreateRenderer(n,i){let o=this.rendererByCompId,s=o.get(i.id);if(!s){let a=this.doc,l=this.ngZone,d=this.eventManager,h=this.sharedStylesHost,m=this.removeStylesOnCompDestroy,g=this.platformIsServer;switch(i.encapsulation){case Dt.Emulated:s=new Hs(d,h,i,this.appId,m,a,l,g);break;case Dt.ShadowDom:return new _u(d,h,n,i,a,l,this.nonce,g);default:s=new _i(d,h,i,m,a,l,g);break}o.set(i.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}};e.\u0275fac=function(i){return new(i||e)(I(Am),I(Nm),I(vs),I(Jb),I(Ee),I(_t),I(X),I(Mc))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})(),Ei=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(Du[r]||r,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,r){(Mm(e)?e.content:e).appendChild(r)}insertBefore(e,r,n){e&&(Mm(e)?e.content:e).insertBefore(r,n)}removeChild(e,r){e&&e.removeChild(r)}selectRootElement(e,r){let n=typeof e=="string"?this.doc.querySelector(e):e;if(!n)throw new M(-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=Du[i];o?e.setAttributeNS(o,r,n):e.setAttribute(r,n)}else e.setAttribute(r,n)}removeAttribute(e,r,n){if(n){let i=Du[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&(kt.DashCase|kt.Important)?e.style.setProperty(r,n,i&kt.Important?"important":""):e.style[r]=n}removeStyle(e,r,n){n&kt.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=St().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 Mm(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var _u=class extends Ei{constructor(e,r,n,i,o,s,a,l){super(e,o,s,l),this.sharedStylesHost=r,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let d=km(i.id,i.styles);for(let h of d){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(this.nodeOrShadowRoot(e),r)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},_i=class extends Ei{constructor(e,r,n,i,o,s,a,l){super(e,o,s,a),this.sharedStylesHost=r,this.removeStylesOnCompDestroy=i,this.styles=l?km(l,n.styles):n.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},Hs=class extends _i{constructor(e,r,n,i,o,s,a,l){let d=i+"-"+n.id;super(e,r,n,o,s,a,l,d),this.contentAttr=Xb(d),this.hostAttr=eE(d)}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}},tE=(()=>{let e=class e extends $s{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)(I(Ee))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})(),Tm=["alt","control","meta","shift"],nE={"\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"},rE={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},iE=(()=>{let e=class e extends $s{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(()=>St().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="",l=i.indexOf("code");if(l>-1&&(i.splice(l,1),a="code."),Tm.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 d={};return d.domEventName=o,d.fullKey=a,d}static matchEventFullKeyCode(n,i){let o=nE[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"),Tm.forEach(a=>{if(a!==o){let l=rE[a];l(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)(I(Ee))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})();function Om(t,e){return Qp(b({rootComponent:t},oE(e)))}function oE(t){return{appProviders:[...Pm,...t?.providers??[]],platformProviders:cE}}function sE(){wu.makeCurrent()}function aE(){return new Et}function lE(){return Qh(document),document}var cE=[{provide:_t,useValue:du},{provide:Sc,useValue:sE,multi:!0},{provide:Ee,useFactory:lE,deps:[]}];var uE=new x(""),dE=[{provide:gi,useClass:bu,deps:[]},{provide:Kc,useClass:Ms,deps:[X,Ts,gi]},{provide:Ms,useClass:Ms,deps:[X,Ts,gi]}],Pm=[{provide:ls,useValue:"root"},{provide:Et,useFactory:aE,deps:[]},{provide:Eu,useClass:tE,multi:!0,deps:[Ee,X,_t]},{provide:Eu,useClass:iE,multi:!0,deps:[Ee]},Sm,Nm,Am,{provide:yr,useExisting:Sm},{provide:Ir,useClass:Zb,deps:[]},[]],Fm=(()=>{let e=class e{constructor(n){}static withServerTransition(n){return{ngModule:e,providers:[{provide:vs,useValue:n.appId}]}}};e.\u0275fac=function(i){return new(i||e)(I(uE,12))},e.\u0275mod=ze({type:e}),e.\u0275inj=Ge({providers:[...Pm,...dE],imports:[lm,Yp]});let t=e;return t})();var Lm=(()=>{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)(I(Ee))},e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var $="primary",ji=Symbol("RouteTitle"),Au=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 kr(t){return new Au(t)}function hE(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 Ym(t){return t.length>0?t[t.length-1]:null}function mn(t){return qa(t)?t:Fn(t)?ie(Promise.resolve(t)):R(t)}var mE={exact:Km,subset:Jm},Qm={exact:gE,subset:vE,ignored:()=>!0};function Vm(t,e,r){return mE[r.paths](t.root,e.root,r.matrixParams)&&Qm[r.queryParams](t.queryParams,e.queryParams)&&!(r.fragment==="exact"&&t.fragment!==e.fragment)}function gE(t,e){return Mt(t,e)}function Km(t,e,r){if(!Vn(t.segments,e.segments)||!qs(t.segments,e.segments,r)||t.numberOfChildren!==e.numberOfChildren)return!1;for(let n in e.children)if(!t.children[n]||!Km(t.children[n],e.children[n],r))return!1;return!0}function vE(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(r=>Zm(t[r],e[r]))}function Jm(t,e,r){return Xm(t,e,e.segments,r)}function Xm(t,e,r,n){if(t.segments.length>r.length){let i=t.segments.slice(0,r.length);return!(!Vn(i,r)||e.hasChildren()||!qs(i,r,n))}else if(t.segments.length===r.length){if(!Vn(t.segments,r)||!qs(t.segments,r,n))return!1;for(let i in e.children)if(!t.children[i]||!Jm(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!Vn(t.segments,i)||!qs(t.segments,i,n)||!t.children[$]?!1:Xm(t.children[$],e,o,n)}}function qs(t,e,r){return e.every((n,i)=>Qm[r](t[i].parameters,n.parameters))}var hn=class{constructor(e=new J([],{}),r={},n=null){this.root=e,this.queryParams=r,this.fragment=n}get queryParamMap(){return this._queryParamMap??=kr(this.queryParams),this._queryParamMap}toString(){return CE.serialize(this)}},J=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 Ws(this)}},Ln=class{constructor(e,r){this.path=e,this.parameters=r}get parameterMap(){return this._parameterMap??=kr(this.parameters),this._parameterMap}toString(){return tg(this)}};function yE(t,e){return Vn(t,e)&&t.every((r,n)=>Mt(r.parameters,e[n].parameters))}function Vn(t,e){return t.length!==e.length?!1:t.every((r,n)=>r.path===e[n].path)}function DE(t,e){let r=[];return Object.entries(t.children).forEach(([n,i])=>{n===$&&(r=r.concat(e(i,n)))}),Object.entries(t.children).forEach(([n,i])=>{n!==$&&(r=r.concat(e(i,n)))}),r}var Ui=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:()=>new Or,providedIn:"root"});let t=e;return t})(),Or=class{parse(e){let r=new ku(e);return new hn(r.parseRootSegment(),r.parseQueryParams(),r.parseFragment())}serialize(e){let r=`/${Ii(e.root,!0)}`,n=EE(e.queryParams),i=typeof e.fragment=="string"?`#${wE(e.fragment)}`:"";return`${r}${n}${i}`}},CE=new Or;function Ws(t){return t.segments.map(e=>tg(e)).join("/")}function Ii(t,e){if(!t.hasChildren())return Ws(t);if(e){let r=t.children[$]?Ii(t.children[$],!1):"",n=[];return Object.entries(t.children).forEach(([i,o])=>{i!==$&&n.push(`${i}:${Ii(o,!1)}`)}),n.length>0?`${r}(${n.join("//")})`:r}else{let r=DE(t,(n,i)=>i===$?[Ii(t.children[$],!1)]:[`${i}:${Ii(n,!1)}`]);return Object.keys(t.children).length===1&&t.children[$]!=null?`${Ws(t)}/${r[0]}`:`${Ws(t)}/(${r.join("//")})`}}function eg(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Gs(t){return eg(t).replace(/%3B/gi,";")}function wE(t){return encodeURI(t)}function Ru(t){return eg(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Zs(t){return decodeURIComponent(t)}function jm(t){return Zs(t.replace(/\+/g,"%20"))}function tg(t){return`${Ru(t.path)}${bE(t.parameters)}`}function bE(t){return Object.entries(t).map(([e,r])=>`;${Ru(e)}=${Ru(r)}`).join("")}function EE(t){let e=Object.entries(t).map(([r,n])=>Array.isArray(n)?n.map(i=>`${Gs(r)}=${Gs(i)}`).join("&"):`${Gs(r)}=${Gs(n)}`).filter(r=>r);return e.length?`?${e.join("&")}`:""}var _E=/^[^\/()?;#]+/;function xu(t){let e=t.match(_E);return e?e[0]:""}var IE=/^[^\/()?;=#]+/;function xE(t){let e=t.match(IE);return e?e[0]:""}var SE=/^[^=?&#]+/;function ME(t){let e=t.match(SE);return e?e[0]:""}var TE=/^[^&#]+/;function AE(t){let e=t.match(TE);return e?e[0]:""}var ku=class{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new J([],{}):new J([],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[$]=new J(e,r)),n}parseSegment(){let e=xu(this.remaining);if(e===""&&this.peekStartsWith(";"))throw new M(4009,!1);return this.capture(e),new Ln(Zs(e),this.parseMatrixParams())}parseMatrixParams(){let e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){let r=xE(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){let i=xu(this.remaining);i&&(n=i,this.capture(n))}e[Zs(r)]=Zs(n)}parseQueryParam(e){let r=ME(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){let s=AE(this.remaining);s&&(n=s,this.capture(n))}let i=jm(r),o=jm(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=xu(this.remaining),i=this.remaining[n.length];if(i!=="/"&&i!==")"&&i!==";")throw new M(4010,!1);let o;n.indexOf(":")>-1?(o=n.slice(0,n.indexOf(":")),this.capture(o),this.capture(":")):e&&(o=$);let s=this.parseChildren();r[o]=Object.keys(s).length===1?s[$]:new J([],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 M(4011,!1)}};function ng(t){return t.segments.length>0?new J([],{[$]:t}):t}function rg(t){let e={};for(let[n,i]of Object.entries(t.children)){let o=rg(i);if(n===$&&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 J(t.segments,e);return NE(r)}function NE(t){if(t.numberOfChildren===1&&t.children[$]){let e=t.children[$];return new J(t.segments.concat(e.segments),e.children)}return t}function Ni(t){return t instanceof hn}function RE(t,e,r=null,n=null){let i=ig(t);return og(i,e,r,n)}function ig(t){let e;function r(o){let s={};for(let l of o.children){let d=r(l);s[l.outlet]=d}let a=new J(o.url,s);return o===t&&(e=a),a}let n=r(t.root),i=ng(n);return e??i}function og(t,e,r,n){let i=t;for(;i.parent;)i=i.parent;if(e.length===0)return Su(i,i,i,r,n);let o=kE(e);if(o.toRoot())return Su(i,i,new J([],{}),r,n);let s=OE(o,i,t),a=s.processChildren?Mi(s.segmentGroup,s.index,o.commands):ag(s.segmentGroup,s.index,o.commands);return Su(i,s.segmentGroup,a,r,n)}function Ys(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function Ri(t){return typeof t=="object"&&t!=null&&t.outlets}function Su(t,e,r,n,i){let o={};n&&Object.entries(n).forEach(([l,d])=>{o[l]=Array.isArray(d)?d.map(h=>`${h}`):`${d}`});let s;t===e?s=r:s=sg(t,e,r);let a=ng(rg(s));return new hn(a,o,i)}function sg(t,e,r){let n={};return Object.entries(t.children).forEach(([i,o])=>{o===e?n[i]=r:n[i]=sg(o,e,r)}),new J(t.segments,n)}var Qs=class{constructor(e,r,n){if(this.isAbsolute=e,this.numberOfDoubleDots=r,this.commands=n,e&&n.length>0&&Ys(n[0]))throw new M(4003,!1);let i=n.find(Ri);if(i&&i!==Ym(n))throw new M(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function kE(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new Qs(!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(([l,d])=>{a[l]=typeof d=="string"?d.split("/"):d}),[...i,{outlets:a}]}if(o.segmentPath)return[...i,o.segmentPath]}return typeof o!="string"?[...i,o]:s===0?(o.split("/").forEach((a,l)=>{l==0&&a==="."||(l==0&&a===""?r=!0:a===".."?e++:a!=""&&i.push(a))}),i):[...i,o]},[]);return new Qs(r,e,n)}var Ar=class{constructor(e,r,n){this.segmentGroup=e,this.processChildren=r,this.index=n}};function OE(t,e,r){if(t.isAbsolute)return new Ar(e,!0,0);if(!r)return new Ar(e,!1,NaN);if(r.parent===null)return new Ar(r,!0,0);let n=Ys(t.commands[0])?0:1,i=r.segments.length-1+n;return PE(r,i,t.numberOfDoubleDots)}function PE(t,e,r){let n=t,i=e,o=r;for(;o>i;){if(o-=i,n=n.parent,!n)throw new M(4005,!1);i=n.segments.length}return new Ar(n,!1,i-o)}function FE(t){return Ri(t[0])?t[0].outlets:{[$]:t}}function ag(t,e,r){if(t??=new J([],{}),t.segments.length===0&&t.hasChildren())return Mi(t,e,r);let n=LE(t,e,r),i=r.slice(n.commandIndex);if(n.match&&n.pathIndexo!==$)&&t.children[$]&&t.numberOfChildren===1&&t.children[$].segments.length===0){let o=Mi(t.children[$],e,r);return new J(t.segments,o.children)}return Object.entries(n).forEach(([o,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(i[o]=ag(t.children[o],e,s))}),Object.entries(t.children).forEach(([o,s])=>{n[o]===void 0&&(i[o]=s)}),new J(t.segments,i)}}function LE(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(Ri(a))break;let l=`${a}`,d=n0&&l===void 0)break;if(l&&d&&typeof d=="object"&&d.outlets===void 0){if(!Bm(l,d,s))return o;n+=2}else{if(!Bm(l,{},s))return o;n++}i++}return{match:!0,pathIndex:i,commandIndex:n}}function Ou(t,e,r){let n=t.segments.slice(0,e),i=0;for(;i{typeof n=="string"&&(n=[n]),n!==null&&(e[r]=Ou(new J([],{}),0,n))}),e}function Um(t){let e={};return Object.entries(t).forEach(([r,n])=>e[r]=`${n}`),e}function Bm(t,e,r){return t==r.path&&Mt(e,r.parameters)}var Ti="imperative",_e=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}(_e||{}),st=class{constructor(e,r){this.id=e,this.url=r}},Pr=class extends st{constructor(e,r,n="imperative",i=null){super(e,r),this.type=_e.NavigationStart,this.navigationTrigger=n,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},Ye=class extends st{constructor(e,r,n){super(e,r),this.urlAfterRedirects=n,this.type=_e.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},Ze=function(t){return t[t.Redirect=0]="Redirect",t[t.SupersededByNewNavigation=1]="SupersededByNewNavigation",t[t.NoDataFromResolver=2]="NoDataFromResolver",t[t.GuardRejected=3]="GuardRejected",t}(Ze||{}),Ks=function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t}(Ks||{}),Ht=class extends st{constructor(e,r,n,i){super(e,r),this.reason=n,this.code=i,this.type=_e.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},pn=class extends st{constructor(e,r,n,i){super(e,r),this.reason=n,this.code=i,this.type=_e.NavigationSkipped}},ki=class extends st{constructor(e,r,n,i){super(e,r),this.error=n,this.target=i,this.type=_e.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Js=class extends st{constructor(e,r,n,i){super(e,r),this.urlAfterRedirects=n,this.state=i,this.type=_e.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Pu=class extends st{constructor(e,r,n,i){super(e,r),this.urlAfterRedirects=n,this.state=i,this.type=_e.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Fu=class extends st{constructor(e,r,n,i,o){super(e,r),this.urlAfterRedirects=n,this.state=i,this.shouldActivate=o,this.type=_e.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},Lu=class extends st{constructor(e,r,n,i){super(e,r),this.urlAfterRedirects=n,this.state=i,this.type=_e.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Vu=class extends st{constructor(e,r,n,i){super(e,r),this.urlAfterRedirects=n,this.state=i,this.type=_e.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},ju=class{constructor(e){this.route=e,this.type=_e.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Uu=class{constructor(e){this.route=e,this.type=_e.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Bu=class{constructor(e){this.snapshot=e,this.type=_e.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},$u=class{constructor(e){this.snapshot=e,this.type=_e.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Hu=class{constructor(e){this.snapshot=e,this.type=_e.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Gu=class{constructor(e){this.snapshot=e,this.type=_e.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Xs=class{constructor(e,r,n){this.routerEvent=e,this.position=r,this.anchor=n,this.type=_e.Scroll}toString(){let e=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${e}')`}},Oi=class{},Fr=class{constructor(e,r){this.url=e,this.navigationBehaviorOptions=r}};var zu=class{constructor(e){this.injector=e,this.outlet=null,this.route=null,this.children=new Bi(this.injector),this.attachRef=null}},Bi=(()=>{let e=class e{constructor(n){this.parentInjector=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 zu(this.parentInjector),this.contexts.set(n,i)),i}getContext(n){return this.contexts.get(n)||null}};e.\u0275fac=function(i){return new(i||e)(I(Me))},e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),ea=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=qu(e,this._root);return r?r.children.map(n=>n.value):[]}firstChild(e){let r=qu(e,this._root);return r&&r.children.length>0?r.children[0].value:null}siblings(e){let r=Wu(e,this._root);return r.length<2?[]:r[r.length-2].children.map(i=>i.value).filter(i=>i!==e)}pathFromRoot(e){return Wu(e,this._root).map(r=>r.value)}};function qu(t,e){if(t===e.value)return e;for(let r of e.children){let n=qu(t,r);if(n)return n}return null}function Wu(t,e){if(t===e.value)return[e];for(let r of e.children){let n=Wu(t,r);if(n.length)return n.unshift(e),n}return[]}var We=class{constructor(e,r){this.value=e,this.children=r}toString(){return`TreeNode(${this.value})`}};function Tr(t){let e={};return t&&t.children.forEach(r=>e[r.value.outlet]=r),e}var ta=class extends ea{constructor(e,r){super(e),this.snapshot=r,nd(this,e)}toString(){return this.snapshot.toString()}};function lg(t){let e=jE(t),r=new Ie([new Ln("",{})]),n=new Ie({}),i=new Ie({}),o=new Ie({}),s=new Ie(""),a=new Gt(r,n,o,s,i,$,t,e.root);return a.snapshot=e.root,new ta(new We(a,[]),e)}function jE(t){let e={},r={},n={},i="",o=new Nr([],e,n,i,r,$,t,null,{});return new ra("",new We(o,[]))}var Gt=class{constructor(e,r,n,i,o,s,a,l){this.urlSubject=e,this.paramsSubject=r,this.queryParamsSubject=n,this.fragmentSubject=i,this.dataSubject=o,this.outlet=s,this.component=a,this._futureSnapshot=l,this.title=this.dataSubject?.pipe(F(d=>d[ji]))??R(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(F(e=>kr(e))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(F(e=>kr(e))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function na(t,e,r="emptyOnly"){let n,{routeConfig:i}=t;return e!==null&&(r==="always"||i?.path===""||!e.component&&!e.routeConfig?.loadComponent)?n={params:b(b({},e.params),t.params),data:b(b({},e.data),t.data),resolve:b(b(b(b({},t.data),e.data),i?.data),t._resolvedData)}:n={params:b({},t.params),data:b({},t.data),resolve:b(b({},t.data),t._resolvedData??{})},i&&ug(i)&&(n.resolve[ji]=i.title),n}var Nr=class{get title(){return this.data?.[ji]}constructor(e,r,n,i,o,s,a,l,d){this.url=e,this.params=r,this.queryParams=n,this.fragment=i,this.data=o,this.outlet=s,this.component=a,this.routeConfig=l,this._resolve=d}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??=kr(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=kr(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}')`}},ra=class extends ea{constructor(e,r){super(r),this.url=e,nd(this,r)}toString(){return cg(this._root)}};function nd(t,e){e.value._routerState=t,e.children.forEach(r=>nd(t,r))}function cg(t){let e=t.children.length>0?` { ${t.children.map(cg).join(", ")} } `:"";return`${t.value}${e}`}function Mu(t){if(t.snapshot){let e=t.snapshot,r=t._futureSnapshot;t.snapshot=r,Mt(e.queryParams,r.queryParams)||t.queryParamsSubject.next(r.queryParams),e.fragment!==r.fragment&&t.fragmentSubject.next(r.fragment),Mt(e.params,r.params)||t.paramsSubject.next(r.params),pE(e.url,r.url)||t.urlSubject.next(r.url),Mt(e.data,r.data)||t.dataSubject.next(r.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function Zu(t,e){let r=Mt(t.params,e.params)&&yE(t.url,e.url),n=!t.parent!=!e.parent;return r&&!n&&(!t.parent||Zu(t.parent,e.parent))}function ug(t){return typeof t.title=="string"||t.title===null}var rd=(()=>{let e=class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=$,this.activateEvents=new he,this.deactivateEvents=new he,this.attachEvents=new he,this.detachEvents=new he,this.parentContexts=C(Bi),this.location=C(sn),this.changeDetector=C(cn),this.inputBinder=C(la,{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 M(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new M(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new M(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 M(4013,!1);this._activatedRoute=n;let o=this.location,a=n.snapshot.component,l=this.parentContexts.getOrCreateContext(this.name).children,d=new Yu(n,l,o.injector);this.activated=o.createComponent(a,{index:o.length,injector:d,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=ne({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[Lt]});let t=e;return t})(),Yu=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===Gt?this.route:e===Bi?this.childContexts:this.parent.get(e,r)}},la=new x(""),$m=(()=>{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=Xr([i.queryParams,i.params,i.data]).pipe(Le(([s,a,l],d)=>(l=b(b(b({},s),a),l),d===0?R(l):Promise.resolve(l)))).subscribe(s=>{if(!n.isActivated||!n.activatedComponentRef||n.activatedRoute!==i||i.component===null){this.unsubscribeFromRouteData(n);return}let a=Kp(i.component);if(!a){this.unsubscribeFromRouteData(n);return}for(let{templateName:l}of a.inputs)n.activatedComponentRef.setInput(l,s[l])});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 UE(t,e,r){let n=Pi(t,e._root,r?r._root:void 0);return new ta(n,e)}function Pi(t,e,r){if(r&&t.shouldReuseRoute(e.value,r.value.snapshot)){let n=r.value;n._futureSnapshot=e.value;let i=BE(t,e,r);return new We(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=>Pi(t,a)),s}}let n=$E(e.value),i=e.children.map(o=>Pi(t,o));return new We(n,i)}}function BE(t,e,r){return e.children.map(n=>{for(let i of r.children)if(t.shouldReuseRoute(n.value,i.value.snapshot))return Pi(t,n,i);return Pi(t,n)})}function $E(t){return new Gt(new Ie(t.url),new Ie(t.params),new Ie(t.queryParams),new Ie(t.fragment),new Ie(t.data),t.outlet,t.component,t)}var Fi=class{constructor(e,r){this.redirectTo=e,this.navigationBehaviorOptions=r}},dg="ngNavigationCancelingError";function ia(t,e){let{redirectTo:r,navigationBehaviorOptions:n}=Ni(e)?{redirectTo:e,navigationBehaviorOptions:void 0}:e,i=fg(!1,Ze.Redirect);return i.url=r,i.navigationBehaviorOptions=n,i}function fg(t,e){let r=new Error(`NavigationCancelingError: ${t||""}`);return r[dg]=!0,r.cancellationCode=e,r}function HE(t){return hg(t)&&Ni(t.url)}function hg(t){return!!t&&t[dg]}var GE=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=ce({type:e,selectors:[["ng-component"]],standalone:!0,features:[de],decls:1,vars:0,template:function(i,o){i&1&&p(0,"router-outlet")},dependencies:[rd],encapsulation:2});let t=e;return t})();function zE(t,e){return t.providers&&!t._injector&&(t._injector=_s(t.providers,e,`Route: ${t.path}`)),t._injector??e}function id(t){let e=t.children&&t.children.map(id),r=e?K(b({},t),{children:e}):b({},t);return!r.component&&!r.loadComponent&&(e||r.loadChildren)&&r.outlet&&r.outlet!==$&&(r.component=GE),r}function pt(t){return t.outlet||$}function qE(t,e){let r=t.filter(n=>pt(n)===e);return r.push(...t.filter(n=>pt(n)!==e)),r}function $i(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 WE=(t,e,r,n)=>F(i=>(new Qu(e,i.targetRouterState,i.currentRouterState,r,n).activate(t),i)),Qu=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),Mu(this.futureState.root),this.activateChildRoutes(r,n,e)}deactivateChildRoutes(e,r,n){let i=Tr(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=Tr(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=Tr(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=Tr(r);e.children.forEach(o=>{this.activateRoutes(o,i[o.value.outlet],n),this.forwardEvent(new Gu(o.value.snapshot))}),e.children.length&&this.forwardEvent(new $u(e.value.snapshot))}activateRoutes(e,r,n){let i=e.value,o=r?r.value:null;if(Mu(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),Mu(a.route.value),this.activateChildRoutes(e,null,s.children)}else{let a=$i(i.snapshot);s.attachRef=null,s.route=i,s.injector=a??s.injector,s.outlet&&s.outlet.activateWith(i,s.injector),this.activateChildRoutes(e,null,s.children)}}else this.activateChildRoutes(e,null,n)}},oa=class{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}},Rr=class{constructor(e,r){this.component=e,this.route=r}};function ZE(t,e,r){let n=t._root,i=e?e._root:null;return xi(n,i,r,[n.value])}function YE(t){let e=t.routeConfig?t.routeConfig.canActivateChild:null;return!e||e.length===0?null:{node:t,guards:e}}function Vr(t,e){let r=Symbol(),n=e.get(t,r);return n===r?typeof t=="function"&&!$f(t)?t:e.get(t):n}function xi(t,e,r,n,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=Tr(e);return t.children.forEach(s=>{QE(s,o[s.value.outlet],r,n.concat([s.value]),i),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,a])=>Ai(a,r.getContext(s),i)),i}function QE(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 l=KE(s,o,o.routeConfig.runGuardsAndResolvers);l?i.canActivateChecks.push(new oa(n)):(o.data=s.data,o._resolvedData=s._resolvedData),o.component?xi(t,e,a?a.children:null,n,i):xi(t,e,r,n,i),l&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new Rr(a.outlet.component,s))}else s&&Ai(e,a,i),i.canActivateChecks.push(new oa(n)),o.component?xi(t,null,a?a.children:null,n,i):xi(t,null,r,n,i);return i}function KE(t,e,r){if(typeof r=="function")return r(t,e);switch(r){case"pathParamsChange":return!Vn(t.url,e.url);case"pathParamsOrQueryParamsChange":return!Vn(t.url,e.url)||!Mt(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Zu(t,e)||!Mt(t.queryParams,e.queryParams);case"paramsChange":default:return!Zu(t,e)}}function Ai(t,e,r){let n=Tr(t),i=t.value;Object.entries(n).forEach(([o,s])=>{i.component?e?Ai(s,e.children.getContext(o),r):Ai(s,null,r):Ai(s,e,r)}),i.component?e&&e.outlet&&e.outlet.isActivated?r.canDeactivateChecks.push(new Rr(e.outlet.component,i)):r.canDeactivateChecks.push(new Rr(null,i)):r.canDeactivateChecks.push(new Rr(null,i))}function Hi(t){return typeof t=="function"}function JE(t){return typeof t=="boolean"}function XE(t){return t&&Hi(t.canLoad)}function e_(t){return t&&Hi(t.canActivate)}function t_(t){return t&&Hi(t.canActivateChild)}function n_(t){return t&&Hi(t.canDeactivate)}function r_(t){return t&&Hi(t.canMatch)}function pg(t){return t instanceof Tt||t?.name==="EmptyError"}var zs=Symbol("INITIAL_VALUE");function Lr(){return Le(t=>Xr(t.map(e=>e.pipe(Nt(1),Ka(zs)))).pipe(F(e=>{for(let r of e)if(r!==!0){if(r===zs)return zs;if(r===!1||i_(r))return r}return!0}),xe(e=>e!==zs),Nt(1)))}function i_(t){return Ni(t)||t instanceof Fi}function o_(t,e){return fe(r=>{let{targetSnapshot:n,currentSnapshot:i,guards:{canActivateChecks:o,canDeactivateChecks:s}}=r;return s.length===0&&o.length===0?R(K(b({},r),{guardsResult:!0})):s_(s,n,i,t).pipe(fe(a=>a&&JE(a)?a_(n,o,t,e):R(a)),F(a=>K(b({},r),{guardsResult:a})))})}function s_(t,e,r,n){return ie(t).pipe(fe(i=>f_(i.component,i.route,r,e,n)),gt(i=>i!==!0,!0))}function a_(t,e,r,n){return ie(e).pipe(At(i=>er(c_(i.route.parent,n),l_(i.route,n),d_(t,i.path,r),u_(t,i.route,r))),gt(i=>i!==!0,!0))}function l_(t,e){return t!==null&&e&&e(new Hu(t)),R(!0)}function c_(t,e){return t!==null&&e&&e(new Bu(t)),R(!0)}function u_(t,e,r){let n=e.routeConfig?e.routeConfig.canActivate:null;if(!n||n.length===0)return R(!0);let i=n.map(o=>Eo(()=>{let s=$i(e)??r,a=Vr(o,s),l=e_(a)?a.canActivate(e,t):qe(s,()=>a(e,t));return mn(l).pipe(gt())}));return R(i).pipe(Lr())}function d_(t,e,r){let n=e[e.length-1],o=e.slice(0,e.length-1).reverse().map(s=>YE(s)).filter(s=>s!==null).map(s=>Eo(()=>{let a=s.guards.map(l=>{let d=$i(s.node)??r,h=Vr(l,d),m=t_(h)?h.canActivateChild(n,t):qe(d,()=>h(n,t));return mn(m).pipe(gt())});return R(a).pipe(Lr())}));return R(o).pipe(Lr())}function f_(t,e,r,n,i){let o=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!o||o.length===0)return R(!0);let s=o.map(a=>{let l=$i(e)??i,d=Vr(a,l),h=n_(d)?d.canDeactivate(t,e,r,n):qe(l,()=>d(t,e,r,n));return mn(h).pipe(gt())});return R(s).pipe(Lr())}function h_(t,e,r,n){let i=e.canLoad;if(i===void 0||i.length===0)return R(!0);let o=i.map(s=>{let a=Vr(s,t),l=XE(a)?a.canLoad(e,r):qe(t,()=>a(e,r));return mn(l)});return R(o).pipe(Lr(),mg(n))}function mg(t){return $a(we(e=>{if(typeof e!="boolean")throw ia(t,e)}),F(e=>e===!0))}function p_(t,e,r,n){let i=e.canMatch;if(!i||i.length===0)return R(!0);let o=i.map(s=>{let a=Vr(s,t),l=r_(a)?a.canMatch(e,r):qe(t,()=>a(e,r));return mn(l)});return R(o).pipe(Lr(),mg(n))}var Li=class{constructor(e){this.segmentGroup=e||null}},Vi=class extends Error{constructor(e){super(),this.urlTree=e}};function Mr(t){return Xn(new Li(t))}function m_(t){return Xn(new M(4e3,!1))}function g_(t){return Xn(fg(!1,Ze.GuardRejected))}var Ku=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 R(n);if(i.numberOfChildren>1||!i.children[$])return m_(`${e.redirectTo}`);i=i.children[$]}}applyRedirectCommands(e,r,n,i,o){if(typeof r!="string"){let a=r,{queryParams:l,fragment:d,routeConfig:h,url:m,outlet:g,params:D,data:w,title:k}=i,T=qe(o,()=>a({params:D,data:w,queryParams:l,fragment:d,routeConfig:h,url:m,outlet:g,title:k}));if(T instanceof hn)throw new Vi(T);r=T}let s=this.applyRedirectCreateUrlTree(r,this.urlSerializer.parse(r),e,n);if(r[0]==="/")throw new Vi(s);return s}applyRedirectCreateUrlTree(e,r,n,i){let o=this.createSegmentGroup(e,r.root,n,i);return new hn(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,l])=>{s[a]=this.createSegmentGroup(e,l,n,i)}),new J(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 M(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}},Ju={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function v_(t,e,r,n,i){let o=od(t,e,r);return o.matched?(n=zE(e,n),p_(n,e,r,i).pipe(F(s=>s===!0?o:b({},Ju)))):R(o)}function od(t,e,r){if(e.path==="**")return y_(r);if(e.path==="")return e.pathMatch==="full"&&(t.hasChildren()||r.length>0)?b({},Ju):{matched:!0,consumedSegments:[],remainingSegments:r,parameters:{},positionalParamSegments:{}};let i=(e.matcher||hE)(r,t,e);if(!i)return b({},Ju);let o={};Object.entries(i.posParams??{}).forEach(([a,l])=>{o[a]=l.path});let s=i.consumed.length>0?b(b({},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 y_(t){return{matched:!0,parameters:t.length>0?Ym(t).parameters:{},consumedSegments:t,remainingSegments:[],positionalParamSegments:{}}}function Hm(t,e,r,n){return r.length>0&&w_(t,r,n)?{segmentGroup:new J(e,C_(n,new J(r,t.children))),slicedSegments:[]}:r.length===0&&b_(t,r,n)?{segmentGroup:new J(t.segments,D_(t,r,n,t.children)),slicedSegments:r}:{segmentGroup:new J(t.segments,t.children),slicedSegments:r}}function D_(t,e,r,n){let i={};for(let o of r)if(ca(t,e,o)&&!n[pt(o)]){let s=new J([],{});i[pt(o)]=s}return b(b({},n),i)}function C_(t,e){let r={};r[$]=e;for(let n of t)if(n.path===""&&pt(n)!==$){let i=new J([],{});r[pt(n)]=i}return r}function w_(t,e,r){return r.some(n=>ca(t,e,n)&&pt(n)!==$)}function b_(t,e,r){return r.some(n=>ca(t,e,n))}function ca(t,e,r){return(t.hasChildren()||e.length>0)&&r.pathMatch==="full"?!1:r.path===""}function E_(t,e,r,n){return pt(t)!==n&&(n===$||!ca(e,r,t))?!1:od(e,t,r).matched}function __(t,e,r){return e.length===0&&!t.children[r]}var Xu=class{};function I_(t,e,r,n,i,o,s="emptyOnly"){return new ed(t,e,r,n,i,s,o).recognize()}var x_=31,ed=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 Ku(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(e){return new M(4002,`'${e.segmentGroup}'`)}recognize(){let e=Hm(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(e).pipe(F(({children:r,rootSnapshot:n})=>{let i=new We(n,r),o=new ra("",i),s=RE(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 Nr([],Object.freeze({}),Object.freeze(b({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),$,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,e,$,r).pipe(F(n=>({children:n,rootSnapshot:r})),Zt(n=>{if(n instanceof Vi)return this.urlTree=n.urlTree,this.match(n.urlTree.root);throw n instanceof Li?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(F(s=>s instanceof We?[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 ie(o).pipe(At(s=>{let a=n.children[s],l=qE(r,s);return this.processSegmentGroup(e,l,a,s,i)}),Qa((s,a)=>(s.push(...a),s)),Yt(null),Ya(),fe(s=>{if(s===null)return Mr(n);let a=gg(s);return S_(a),R(a)}))}processSegment(e,r,n,i,o,s,a){return ie(r).pipe(At(l=>this.processSegmentAgainstRoute(l._injector??e,r,l,n,i,o,s,a).pipe(Zt(d=>{if(d instanceof Li)return R(null);throw d}))),gt(l=>!!l),Zt(l=>{if(pg(l))return __(n,i,o)?R(new Xu):Mr(n);throw l}))}processSegmentAgainstRoute(e,r,n,i,o,s,a,l){return E_(n,i,o,s)?n.redirectTo===void 0?this.matchSegmentAgainstRoute(e,i,n,o,s,l):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(e,i,r,n,o,s,l):Mr(i):Mr(i)}expandSegmentAgainstRouteUsingRedirect(e,r,n,i,o,s,a){let{matched:l,parameters:d,consumedSegments:h,positionalParamSegments:m,remainingSegments:g}=od(r,i,o);if(!l)return Mr(r);typeof i.redirectTo=="string"&&i.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>x_&&(this.allowRedirects=!1));let D=new Nr(o,d,Object.freeze(b({},this.urlTree.queryParams)),this.urlTree.fragment,Gm(i),pt(i),i.component??i._loadedComponent??null,i,zm(i)),w=na(D,a,this.paramsInheritanceStrategy);D.params=Object.freeze(w.params),D.data=Object.freeze(w.data);let k=this.applyRedirects.applyRedirectCommands(h,i.redirectTo,m,D,e);return this.applyRedirects.lineralizeSegments(i,k).pipe(fe(T=>this.processSegment(e,n,r,T.concat(g),s,!1,a)))}matchSegmentAgainstRoute(e,r,n,i,o,s){let a=v_(r,n,i,e,this.urlSerializer);return n.path==="**"&&(r.children={}),a.pipe(Le(l=>l.matched?(e=n._injector??e,this.getChildConfig(e,n,i).pipe(Le(({routes:d})=>{let h=n._loadedInjector??e,{parameters:m,consumedSegments:g,remainingSegments:D}=l,w=new Nr(g,m,Object.freeze(b({},this.urlTree.queryParams)),this.urlTree.fragment,Gm(n),pt(n),n.component??n._loadedComponent??null,n,zm(n)),k=na(w,s,this.paramsInheritanceStrategy);w.params=Object.freeze(k.params),w.data=Object.freeze(k.data);let{segmentGroup:T,slicedSegments:N}=Hm(r,g,D,d);if(N.length===0&&T.hasChildren())return this.processChildren(h,d,T,w).pipe(F(re=>new We(w,re)));if(d.length===0&&N.length===0)return R(new We(w,[]));let ge=pt(n)===o;return this.processSegment(h,d,T,N,ge?$:o,!0,w).pipe(F(re=>new We(w,re instanceof We?[re]:[])))}))):Mr(r)))}getChildConfig(e,r,n){return r.children?R({routes:r.children,injector:e}):r.loadChildren?r._loadedRoutes!==void 0?R({routes:r._loadedRoutes,injector:r._loadedInjector}):h_(e,r,n,this.urlSerializer).pipe(fe(i=>i?this.configLoader.loadChildren(e,r).pipe(we(o=>{r._loadedRoutes=o.routes,r._loadedInjector=o.injector})):g_(r))):R({routes:[],injector:e})}};function S_(t){t.sort((e,r)=>e.value.outlet===$?-1:r.value.outlet===$?1:e.value.outlet.localeCompare(r.value.outlet))}function M_(t){let e=t.value.routeConfig;return e&&e.path===""}function gg(t){let e=[],r=new Set;for(let n of t){if(!M_(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=gg(n.children);e.push(new We(n.value,i))}return e.filter(n=>!r.has(n))}function Gm(t){return t.data||{}}function zm(t){return t.resolve||{}}function T_(t,e,r,n,i,o){return fe(s=>I_(t,e,r,n,s.extractedUrl,i,o).pipe(F(({state:a,tree:l})=>K(b({},s),{targetSnapshot:a,urlAfterRedirects:l}))))}function A_(t,e){return fe(r=>{let{targetSnapshot:n,guards:{canActivateChecks:i}}=r;if(!i.length)return R(r);let o=new Set(i.map(l=>l.route)),s=new Set;for(let l of o)if(!s.has(l))for(let d of vg(l))s.add(d);let a=0;return ie(s).pipe(At(l=>o.has(l)?N_(l,n,t,e):(l.data=na(l,l.parent,t).resolve,R(void 0))),we(()=>a++),tr(1),fe(l=>a===s.size?R(r):$e))})}function vg(t){let e=t.children.map(r=>vg(r)).flat();return[t,...e]}function N_(t,e,r,n){let i=t.routeConfig,o=t._resolve;return i?.title!==void 0&&!ug(i)&&(o[ji]=i.title),R_(o,t,e,n).pipe(F(s=>(t._resolvedData=s,t.data=na(t,t.parent,r).resolve,null)))}function R_(t,e,r,n){let i=Nu(t);if(i.length===0)return R({});let o={};return ie(i).pipe(fe(s=>k_(t[s],e,r,n).pipe(gt(),we(a=>{if(a instanceof Fi)throw ia(new Or,a);o[s]=a}))),tr(1),Za(o),Zt(s=>pg(s)?$e:Xn(s)))}function k_(t,e,r,n){let i=$i(e)??n,o=Vr(t,i),s=o.resolve?o.resolve(e,r):qe(i,()=>o(e,r));return mn(s)}function Tu(t){return Le(e=>{let r=t(e);return r?ie(r).pipe(F(()=>e)):R(e)})}var yg=(()=>{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===$);return i}getResolvedTitleForRoute(n){return n.data[ji]}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:()=>C(O_),providedIn:"root"});let t=e;return t})(),O_=(()=>{let e=class e extends yg{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)(I(Lm))},e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Gi=new x("",{providedIn:"root",factory:()=>({})}),sa=new x(""),sd=(()=>{let e=class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=C(Rs)}loadComponent(n){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return R(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);let i=mn(n.loadComponent()).pipe(F(Dg),we(s=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=s}),Qt(()=>{this.componentLoaders.delete(n)})),o=new Jn(i,()=>new Ce).pipe(Kn());return this.componentLoaders.set(n,o),o}loadChildren(n,i){if(this.childrenLoaders.get(i))return this.childrenLoaders.get(i);if(i._loadedRoutes)return R({routes:i._loadedRoutes,injector:i._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(i);let s=P_(i,this.compiler,n,this.onLoadEndListener).pipe(Qt(()=>{this.childrenLoaders.delete(i)})),a=new Jn(s,()=>new Ce).pipe(Kn());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 P_(t,e,r,n){return mn(t.loadChildren()).pipe(F(Dg),fe(i=>i instanceof li||Array.isArray(i)?R(i):ie(e.compileModuleAsync(i))),F(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(id),injector:o}}))}function F_(t){return t&&typeof t=="object"&&"default"in t}function Dg(t){return F_(t)?t.default:t}var ad=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:()=>C(L_),providedIn:"root"});let t=e;return t})(),L_=(()=>{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})(),Cg=new x(""),wg=new x("");function V_(t,e,r){let n=t.get(wg),i=t.get(Ee);return t.get(X).runOutsideAngular(()=>{if(!i.startViewTransition||n.skipNextTransition)return n.skipNextTransition=!1,new Promise(d=>setTimeout(d));let o,s=new Promise(d=>{o=d}),a=i.startViewTransition(()=>(o(),j_(t))),{onViewTransitionCreated:l}=n;return l&&qe(t,()=>l({transition:a,from:e,to:r})),s})}function j_(t){return new Promise(e=>{Es(e,{injector:t})})}var U_=new x(""),ld=(()=>{let e=class e{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new Ce,this.transitionAbortSubject=new Ce,this.configLoader=C(sd),this.environmentInjector=C(Me),this.urlSerializer=C(Ui),this.rootContexts=C(Bi),this.location=C(xr),this.inputBindingEnabled=C(la,{optional:!0})!==null,this.titleStrategy=C(yg),this.options=C(Gi,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=C(ad),this.createViewTransition=C(Cg,{optional:!0}),this.navigationErrorHandler=C(U_,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>R(void 0),this.rootComponentType=null;let n=o=>this.events.next(new ju(o)),i=o=>this.events.next(new Uu(o));this.configLoader.onLoadEndListener=i,this.configLoader.onLoadStartListener=n}complete(){this.transitions?.complete()}handleNavigationRequest(n){let i=++this.navigationId;this.transitions?.next(K(b(b({},this.transitions.value),n),{id:i}))}setupNavigations(n,i,o){return this.transitions=new Ie({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:Ti,restoredState:null,currentSnapshot:o.snapshot,targetSnapshot:null,currentRouterState:o,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(xe(s=>s.id!==0),F(s=>K(b({},s),{extractedUrl:this.urlHandlingStrategy.extract(s.rawUrl)})),Le(s=>{let a=!1,l=!1;return R(s).pipe(Le(d=>{if(this.navigationId>s.id)return this.cancelNavigationTransition(s,"",Ze.SupersededByNewNavigation),$e;this.currentTransition=s,this.currentNavigation={id:d.id,initialUrl:d.rawUrl,extractedUrl:d.extractedUrl,trigger:d.source,extras:d.extras,previousNavigation:this.lastSuccessfulNavigation?K(b({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let h=!n.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),m=d.extras.onSameUrlNavigation??n.onSameUrlNavigation;if(!h&&m!=="reload"){let g="";return this.events.next(new pn(d.id,this.urlSerializer.serialize(d.rawUrl),g,Ks.IgnoredSameUrlNavigation)),d.resolve(!1),$e}if(this.urlHandlingStrategy.shouldProcessUrl(d.rawUrl))return R(d).pipe(Le(g=>{let D=this.transitions?.getValue();return this.events.next(new Pr(g.id,this.urlSerializer.serialize(g.extractedUrl),g.source,g.restoredState)),D!==this.transitions?.getValue()?$e:Promise.resolve(g)}),T_(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,this.paramsInheritanceStrategy),we(g=>{s.targetSnapshot=g.targetSnapshot,s.urlAfterRedirects=g.urlAfterRedirects,this.currentNavigation=K(b({},this.currentNavigation),{finalUrl:g.urlAfterRedirects});let D=new Js(g.id,this.urlSerializer.serialize(g.extractedUrl),this.urlSerializer.serialize(g.urlAfterRedirects),g.targetSnapshot);this.events.next(D)}));if(h&&this.urlHandlingStrategy.shouldProcessUrl(d.currentRawUrl)){let{id:g,extractedUrl:D,source:w,restoredState:k,extras:T}=d,N=new Pr(g,this.urlSerializer.serialize(D),w,k);this.events.next(N);let ge=lg(this.rootComponentType).snapshot;return this.currentTransition=s=K(b({},d),{targetSnapshot:ge,urlAfterRedirects:D,extras:K(b({},T),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=D,R(s)}else{let g="";return this.events.next(new pn(d.id,this.urlSerializer.serialize(d.extractedUrl),g,Ks.IgnoredByUrlHandlingStrategy)),d.resolve(!1),$e}}),we(d=>{let h=new Pu(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot);this.events.next(h)}),F(d=>(this.currentTransition=s=K(b({},d),{guards:ZE(d.targetSnapshot,d.currentSnapshot,this.rootContexts)}),s)),o_(this.environmentInjector,d=>this.events.next(d)),we(d=>{if(s.guardsResult=d.guardsResult,d.guardsResult&&typeof d.guardsResult!="boolean")throw ia(this.urlSerializer,d.guardsResult);let h=new Fu(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot,!!d.guardsResult);this.events.next(h)}),xe(d=>d.guardsResult?!0:(this.cancelNavigationTransition(d,"",Ze.GuardRejected),!1)),Tu(d=>{if(d.guards.canActivateChecks.length)return R(d).pipe(we(h=>{let m=new Lu(h.id,this.urlSerializer.serialize(h.extractedUrl),this.urlSerializer.serialize(h.urlAfterRedirects),h.targetSnapshot);this.events.next(m)}),Le(h=>{let m=!1;return R(h).pipe(A_(this.paramsInheritanceStrategy,this.environmentInjector),we({next:()=>m=!0,complete:()=>{m||this.cancelNavigationTransition(h,"",Ze.NoDataFromResolver)}}))}),we(h=>{let m=new Vu(h.id,this.urlSerializer.serialize(h.extractedUrl),this.urlSerializer.serialize(h.urlAfterRedirects),h.targetSnapshot);this.events.next(m)}))}),Tu(d=>{let h=m=>{let g=[];m.routeConfig?.loadComponent&&!m.routeConfig._loadedComponent&&g.push(this.configLoader.loadComponent(m.routeConfig).pipe(we(D=>{m.component=D}),F(()=>{})));for(let D of m.children)g.push(...h(D));return g};return Xr(h(d.targetSnapshot.root)).pipe(Yt(null),Nt(1))}),Tu(()=>this.afterPreactivation()),Le(()=>{let{currentSnapshot:d,targetSnapshot:h}=s,m=this.createViewTransition?.(this.environmentInjector,d.root,h.root);return m?ie(m).pipe(F(()=>s)):R(s)}),F(d=>{let h=UE(n.routeReuseStrategy,d.targetSnapshot,d.currentRouterState);return this.currentTransition=s=K(b({},d),{targetRouterState:h}),this.currentNavigation.targetRouterState=h,s}),we(()=>{this.events.next(new Oi)}),WE(this.rootContexts,n.routeReuseStrategy,d=>this.events.next(d),this.inputBindingEnabled),Nt(1),we({next:d=>{a=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Ye(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects))),this.titleStrategy?.updateTitle(d.targetRouterState.snapshot),d.resolve(!0)},complete:()=>{a=!0}}),Ja(this.transitionAbortSubject.pipe(we(d=>{throw d}))),Qt(()=>{!a&&!l&&this.cancelNavigationTransition(s,"",Ze.SupersededByNewNavigation),this.currentTransition?.id===s.id&&(this.currentNavigation=null,this.currentTransition=null)}),Zt(d=>{if(l=!0,hg(d))this.events.next(new Ht(s.id,this.urlSerializer.serialize(s.extractedUrl),d.message,d.cancellationCode)),HE(d)?this.events.next(new Fr(d.url,d.navigationBehaviorOptions)):s.resolve(!1);else{let h=new ki(s.id,this.urlSerializer.serialize(s.extractedUrl),d,s.targetSnapshot??void 0);try{let m=qe(this.environmentInjector,()=>this.navigationErrorHandler?.(h));if(m instanceof Fi){let{message:g,cancellationCode:D}=ia(this.urlSerializer,m);this.events.next(new Ht(s.id,this.urlSerializer.serialize(s.extractedUrl),g,D)),this.events.next(new Fr(m.redirectTo,m.navigationBehaviorOptions))}else{this.events.next(h);let g=n.errorHandler(d);s.resolve(!!g)}}catch(m){this.options.resolveNavigationPromiseOnError?s.resolve(!1):s.reject(m)}}return $e}))}))}cancelNavigationTransition(n,i,o){let s=new Ht(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(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.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 B_(t){return t!==Ti}var $_=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:()=>C(H_),providedIn:"root"});let t=e;return t})(),td=class{shouldDetach(e){return!1}store(e,r){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,r){return e.routeConfig===r.routeConfig}},H_=(()=>{let e=class e extends td{};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=dt(e)))(o||e)}})(),e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),bg=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:()=>C(G_),providedIn:"root"});let t=e;return t})(),G_=(()=>{let e=class e extends bg{constructor(){super(...arguments),this.location=C(xr),this.urlSerializer=C(Ui),this.options=C(Gi,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=C(ad),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new hn,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=lg(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 Pr)this.stateMemento=this.createStateMemento();else if(n instanceof pn)this.rawUrlTree=i.initialUrl;else if(n instanceof Js){if(this.urlUpdateStrategy==="eager"&&!i.extras.skipLocationChange){let o=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl);this.setBrowserUrl(o,i)}}else n instanceof Oi?(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(this.rawUrlTree,i))):n instanceof Ht&&(n.code===Ze.GuardRejected||n.code===Ze.NoDataFromResolver)?this.restoreHistory(i):n instanceof ki?this.restoreHistory(i,!0):n instanceof Ye&&(this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId)}setBrowserUrl(n,i){let o=this.urlSerializer.serialize(n);if(this.location.isCurrentPathEqualTo(o)||i.extras.replaceUrl){let s=this.browserPageId,a=b(b({},i.extras.state),this.generateNgRouterState(i.id,s));this.location.replaceState(o,"",a)}else{let s=b(b({},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=dt(e)))(o||e)}})(),e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Si=function(t){return t[t.COMPLETE=0]="COMPLETE",t[t.FAILED=1]="FAILED",t[t.REDIRECTING=2]="REDIRECTING",t}(Si||{});function Eg(t,e){t.events.pipe(xe(r=>r instanceof Ye||r instanceof Ht||r instanceof ki||r instanceof pn),F(r=>r instanceof Ye||r instanceof pn?Si.COMPLETE:(r instanceof Ht?r.code===Ze.Redirect||r.code===Ze.SupersededByNewNavigation:!1)?Si.REDIRECTING:Si.FAILED),xe(r=>r!==Si.REDIRECTING),Nt(1)).subscribe(()=>{e()})}function z_(t){throw t}var q_={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},W_={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},mt=(()=>{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=C(Ss),this.stateManager=C(bg),this.options=C(Gi,{optional:!0})||{},this.pendingTasks=C(an),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=C(ld),this.urlSerializer=C(Ui),this.location=C(xr),this.urlHandlingStrategy=C(ad),this._events=new Ce,this.errorHandler=this.options.errorHandler||z_,this.navigated=!1,this.routeReuseStrategy=C($_),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=C(sa,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!C(la,{optional:!0}),this.eventsSubscription=new ve,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 Ht&&i.code!==Ze.Redirect&&i.code!==Ze.SupersededByNewNavigation)this.navigated=!0;else if(i instanceof Ye)this.navigated=!0;else if(i instanceof Fr){let a=i.navigationBehaviorOptions,l=this.urlHandlingStrategy.merge(i.url,o.currentRawUrl),d=b({info:o.extras.info,skipLocationChange:o.extras.skipLocationChange,replaceUrl:o.extras.replaceUrl||this.urlUpdateStrategy==="eager"||B_(o.source)},a);this.scheduleNavigation(l,Ti,null,d,{resolve:o.resolve,reject:o.reject,promise:o.promise})}}Y_(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),Ti,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 d=b({},o);delete d.navigationId,delete d.\u0275routerPageId,Object.keys(d).length!==0&&(s.state=d)}let l=this.parseUrl(n);this.scheduleNavigation(l,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(id),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:l,preserveFragment:d}=i,h=d?this.currentUrlTree.fragment:a,m=null;switch(l){case"merge":m=b(b({},this.currentUrlTree.queryParams),s);break;case"preserve":m=this.currentUrlTree.queryParams;break;default:m=s||null}m!==null&&(m=this.removeEmptyProps(m));let g;try{let D=o?o.snapshot:this.routerState.snapshot.root;g=ig(D)}catch{(typeof n[0]!="string"||n[0][0]!=="/")&&(n=[]),g=this.currentUrlTree.root}return og(g,n,m,h??null)}navigateByUrl(n,i={skipLocationChange:!1}){let o=Ni(n)?n:this.parseUrl(n),s=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(s,Ti,null,i)}navigate(n,i={skipLocationChange:!1}){return Z_(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=b({},q_):i===!1?o=b({},W_):o=i,Ni(n))return Vm(this.currentUrlTree,n,o);let s=this.parseUrl(n);return Vm(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 l,d,h;a?(l=a.resolve,d=a.reject,h=a.promise):h=new Promise((g,D)=>{l=g,d=D});let m=this.pendingTasks.add();return Eg(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(m))}),this.navigationTransitions.handleNavigationRequest({source:i,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:n,extras:s,resolve:l,reject:d,promise:h,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),h.catch(g=>Promise.reject(g))}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function Z_(t){for(let e=0;e{let e=class e{constructor(n,i,o,s,a,l){this.router=n,this.route=i,this.tabIndexAttribute=o,this.renderer=s,this.el=a,this.locationStrategy=l,this.href=null,this.commands=null,this.onChanges=new Ce,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;let d=a.nativeElement.tagName?.toLowerCase();this.isAnchorElement=d==="a"||d==="area",this.isAnchorElement?this.subscription=n.events.subscribe(h=>{h instanceof Ye&&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.commands=Array.isArray(n)?n:[n],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(n,i,o,s,a){let l=this.urlTree;if(l===null||this.isAnchorElement&&(n!==0||i||o||s||a||typeof this.target=="string"&&this.target!="_self"))return!0;let d={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(l,d),!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:Xh(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.commands===null?null:this.router.createUrlTree(this.commands,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}};e.\u0275fac=function(i){return new(i||e)(S(mt),S(Gt),Ic("tabindex"),S(ot),S(Ae),S(Bt))},e.\u0275dir=ne({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&&Vt("target",o.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",jt],skipLocationChange:[2,"skipLocationChange","skipLocationChange",jt],replaceUrl:[2,"replaceUrl","replaceUrl",jt],routerLink:"routerLink"},standalone:!0,features:[Yc,Lt]});let t=e;return t})(),_g=(()=>{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(l=>{l instanceof Ye&&this.update()})}ngAfterContentInit(){R(this.links.changes,R(null)).pipe(Wt()).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=ie(n).pipe(Wt()).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=Q_(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(mt),S(Ae),S(ot),S(cn),S(Ne,8))},e.\u0275dir=ne({type:e,selectors:[["","routerLinkActive",""]],contentQueries:function(i,o,s){if(i&1&&Up(s,Ne,5),i&2){let a;Bp(a=$p())&&(o.links=a)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[Lt]});let t=e;return t})();function Q_(t){return!!t.paths}var aa=class{};var K_=(()=>{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(xe(n=>n instanceof Ye),At(()=>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=_s(s.providers,n,`Route: ${s.path}`));let a=s._injector??n,l=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(l,s.children??s._loadedRoutes))}return ie(o).pipe(Wt())}preloadConfig(n,i){return this.preloadingStrategy.preload(i,()=>{let o;i.loadChildren&&i.canLoad===void 0?o=this.loader.loadChildren(n,i):o=R(null);let s=o.pipe(fe(a=>a===null?R(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 ie([s,a]).pipe(Wt())}else return s})}};e.\u0275fac=function(i){return new(i||e)(I(mt),I(Rs),I(Me),I(aa),I(sd))},e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Ig=new x(""),J_=(()=>{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={},this.environmentInjector=C(Me),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 Pr?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=n.navigationTrigger,this.restoredId=n.restoredState?n.restoredState.navigationId:0):n instanceof Ye?(this.lastId=n.id,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.urlAfterRedirects).fragment)):n instanceof pn&&n.code===Ks.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 Xs&&(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(()=>Qr(this,null,function*(){yield new Promise(o=>{setTimeout(()=>{o()}),Es(()=>{o()},{injector:this.environmentInjector})}),this.zone.run(()=>{this.transitions.events.next(new Xs(n,this.lastSource==="popstate"?this.store[this.restoredId]:null,i))})}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}};e.\u0275fac=function(i){up()},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})();function X_(t){return t.routerState.root}function zi(t,e){return{\u0275kind:t,\u0275providers:e}}function eI(){let t=C(rt);return e=>{let r=t.get(ln);if(e!==r.components[0])return;let n=t.get(mt),i=t.get(xg);t.get(cd)===1&&n.initialNavigation(),t.get(Sg,null,H.Optional)?.setUpPreloading(),t.get(Ig,null,H.Optional)?.init(),n.resetRootComponentType(r.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}var xg=new x("",{factory:()=>new Ce}),cd=new x("",{providedIn:"root",factory:()=>1});function tI(){return zi(2,[{provide:cd,useValue:0},{provide:As,multi:!0,deps:[rt],useFactory:e=>{let r=e.get(om,Promise.resolve());return()=>r.then(()=>new Promise(n=>{let i=e.get(mt),o=e.get(xg);Eg(i,()=>{n(!0)}),e.get(ld).afterPreactivation=()=>(n(!0),o.closed?R(void 0):o),i.initialNavigation()}))}}])}function nI(){return zi(3,[{provide:As,multi:!0,useFactory:()=>{let e=C(mt);return()=>{e.setUpLocationChangeListener()}}},{provide:cd,useValue:2}])}var Sg=new x("");function rI(t){return zi(0,[{provide:Sg,useExisting:K_},{provide:aa,useExisting:t}])}function iI(){return zi(8,[$m,{provide:la,useExisting:$m}])}function oI(t){let e=[{provide:Cg,useValue:V_},{provide:wg,useValue:b({skipNextTransition:!!t?.skipInitialTransition},t)}];return zi(9,e)}var qm=new x("ROUTER_FORROOT_GUARD"),sI=[xr,{provide:Ui,useClass:Or},mt,Bi,{provide:Gt,useFactory:X_,deps:[mt]},sd,[]],ud=(()=>{let e=class e{constructor(n){}static forRoot(n,i){return{ngModule:e,providers:[sI,[],{provide:sa,multi:!0,useValue:n},{provide:qm,useFactory:uI,deps:[[mt,new ss,new uc]]},{provide:Gi,useValue:i||{}},i?.useHash?lI():cI(),aI(),i?.preloadingStrategy?rI(i.preloadingStrategy).\u0275providers:[],i?.initialNavigation?dI(i):[],i?.bindToComponentInputs?iI().\u0275providers:[],i?.enableViewTransitions?oI().\u0275providers:[],fI()]}}static forChild(n){return{ngModule:e,providers:[{provide:sa,multi:!0,useValue:n}]}}};e.\u0275fac=function(i){return new(i||e)(I(qm,8))},e.\u0275mod=ze({type:e}),e.\u0275inj=Ge({});let t=e;return t})();function aI(){return{provide:Ig,useFactory:()=>{let t=C(cm),e=C(X),r=C(Gi),n=C(ld),i=C(Ui);return r.scrollOffset&&t.setOffset(r.scrollOffset),new J_(i,n,t,e,r)}}}function lI(){return{provide:Bt,useClass:am}}function cI(){return{provide:Bt,useClass:uu}}function uI(t){return"guarded"}function dI(t){return[t.initialNavigation==="disabled"?nI().\u0275providers:[],t.initialNavigation==="enabledBlocking"?tI().\u0275providers:[]]}var Wm=new x("");function fI(){return[{provide:Wm,useFactory:eI},{provide:Ns,multi:!0,useExisting:Wm}]}var pI=()=>["/pro"],Mg=(()=>{let e=class e{constructor(){this.years=new Date().getFullYear()-2009}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=ce({type:e,selectors:[["app-footer"]],standalone:!0,features:[de],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),f(),u(6,"div",6)(7,"h2"),c(8,"Who's behind"),f(),u(9,"p"),c(10,"My name is Daniel Palme. I'm a software developer from Germany."),f(),u(11,"p"),c(12," Back in 2009 I wanted to create code coverage reports based on "),u(13,"i"),c(14,"PartCover"),f(),c(15," files."),p(16,"br"),c(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"),c(19),u(20,"i"),c(21,"ReportGenerator"),f(),c(22,". "),f(),u(23,"p"),c(24," You can support the ongoing maintenance by buying a "),u(25,"a",7),c(26,"PRO license"),f(),c(27," or by becoming a "),p(28,"i",8),c(29,"\xA0"),u(30,"a",9),c(31,"GitHub sponsor"),f(),c(32,". "),f()()()()(),u(33,"div",2)(34,"div",3),p(35,"hr"),f()(),u(36,"div",1)(37,"div",2)(38,"div",3)(39,"div",10)(40,"p")(41,"b"),c(42,"GitHub"),f()(),u(43,"a",11),c(44,"Source code"),f(),p(45,"br"),u(46,"a",12),c(47,"Wiki"),f(),p(48,"br"),u(49,"a",13),c(50,"FAQ"),f()(),u(51,"div",14)(52,"p")(53,"b"),c(54,"Download"),f()(),u(55,"i"),c(56,"NuGet"),f(),p(57,"br"),u(58,"a",15),c(59,"ReportGenerator"),f(),p(60,"br"),u(61,"a",16),c(62,"dotnet-reportgenerator-globaltool"),f(),p(63,"br"),u(64,"a",17),c(65,"ReportGenerator.Core"),f(),p(66,"br")(67,"br"),u(68,"i"),c(69,"Integration"),f(),p(70,"br"),u(71,"a",18),c(72,"GitHub actions"),f(),p(73,"br"),u(74,"a",19),c(75,"Azure DevOps"),f()(),u(76,"div",20)(77,"p")(78,"b"),c(79,"Community"),f()(),u(80,"a",11),p(81,"i",21),c(82," GitHub"),f(),p(83,"br"),u(84,"a",22),p(85,"i",23),c(86," Twitter"),f(),p(87,"br")(88,"br"),u(89,"a",24),c(90,"Privacy"),f(),p(91,"br"),u(92,"a",25),c(93,"Imprint"),f()()()()()()),i&2&&(v(19),ft(" Fast forward ",o.years," years, I'm still maintaining "),v(6),y("routerLink",B(2,pI)))},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 Tg=()=>["/"],mI=t=>({show:t}),jr=()=>["link-active"],Ag=()=>({exact:!0}),gI=()=>["/features"],vI=()=>["/getstarted"],yI=()=>["/usage"],DI=()=>["/contact"],CI=()=>["/pro"],Ng=(()=>{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=ce({type:e,selectors:[["app-nav-menu"]],standalone:!0,features:[de],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),c(6,"ReportGenerator"),f()(),u(7,"button",6),A("click",function(){return o.toggle()}),p(8,"span",7),f(),u(9,"div",8)(10,"ul",9)(11,"li",10)(12,"a",11),c(13,"Home"),f()(),u(14,"li",10)(15,"a",11),c(16,"Features"),f()(),u(17,"li",12)(18,"a",13),c(19,"Get started"),f()(),u(20,"li",12)(21,"a",11),c(22,"Usage"),f()(),u(23,"li",12)(24,"a",11),c(25,"Contact"),f()(),u(26,"li",12)(27,"a",11)(28,"span",14),c(29,"PRO"),f()()()(),p(30,"hr",15),u(31,"ul",16)(32,"li",17)(33,"a",18),p(34,"i",19),u(35,"span",20),c(36,"GitHub"),f()()(),u(37,"li",17)(38,"a",21),p(39,"i",22),u(40,"span",20),c(41,"Twitter"),f()()()()()()()()),i&2&&(v(3),y("routerLink",B(17,Tg)),v(4),Vt("aria-expanded",o.isExpanded),v(2),y("ngClass",Pn(18,mI,o.isExpanded)),v(2),y("routerLinkActive",B(20,jr))("routerLinkActiveOptions",B(21,Ag)),v(),y("routerLink",B(22,Tg)),v(2),y("routerLinkActive",B(23,jr))("routerLinkActiveOptions",B(24,Ag)),v(),y("routerLink",B(25,gI)),v(2),y("routerLinkActive",B(26,jr)),v(),y("routerLink",B(27,vI)),v(2),y("routerLinkActive",B(28,jr)),v(),y("routerLink",B(29,yI)),v(2),y("routerLinkActive",B(30,jr)),v(),y("routerLink",B(31,DI)),v(2),y("routerLinkActive",B(32,jr)),v(),y("routerLink",B(33,CI)))},dependencies:[Ne,Sr,_g],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 Rg=(()=>{let e=class e{constructor(n,i,o){this.dom=n,this.router=i,this.activatedRoute=o}ngOnInit(){this.router.events.pipe(xe(n=>n instanceof Ye),F(()=>this.activatedRoute),F(n=>{for(;n.firstChild;)n=n.firstChild;return n}),xe(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(Ee),S(mt),S(Gt))},e.\u0275cmp=ce({type:e,selectors:[["app-root"]],standalone:!0,features:[de],decls:3,vars:0,template:function(i,o){i&1&&p(0,"app-nav-menu")(1,"router-outlet")(2,"app-footer")},dependencies:[Ng,rd,Mg],encapsulation:2});let t=e;return t})();var Bg=(()=>{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(ot),S(Ae))},e.\u0275dir=ne({type:e});let t=e;return t})(),va=(()=>{let e=class e extends Bg{};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=dt(e)))(o||e)}})(),e.\u0275dir=ne({type:e,features:[Pe]});let t=e;return t})(),Ki=new x("");var wI={provide:Ki,useExisting:He(()=>gn),multi:!0};function bI(){let t=St()?St().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}var EI=new x(""),gn=(()=>{let e=class e extends Bg{constructor(n,i,o){super(n,i),this._compositionMode=o,this._composing=!1,this._compositionMode==null&&(this._compositionMode=!bI())}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(ot),S(Ae),S(EI,8))},e.\u0275dir=ne({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:[ht([wI]),Pe]});let t=e;return t})();function hd(t){return t==null||(typeof t=="string"||Array.isArray(t))&&t.length===0}function _I(t){return t!=null&&typeof t.length=="number"}var zr=new x(""),$g=new x(""),II=/^(?=.{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 xI(t){return hd(t.value)?{required:!0}:null}function SI(t){return hd(t.value)||II.test(t.value)?null:{email:!0}}function MI(t){return e=>_I(e.value)&&e.value.length>t?{maxlength:{requiredLength:t,actualLength:e.value.length}}:null}function TI(t){if(!t)return dd;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(hd(n.value))return null;let i=n.value;return e.test(i)?null:{pattern:{requiredPattern:r,actualValue:i}}}}function dd(t){return null}function Hg(t){return t!=null}function Gg(t){return Fn(t)?ie(t):t}function zg(t){let e={};return t.forEach(r=>{e=r!=null?b(b({},e),r):e}),Object.keys(e).length===0?null:e}function qg(t,e){return e.map(r=>r(t))}function AI(t){return!t.validate}function Wg(t){return t.map(e=>AI(e)?e:r=>e.validate(r))}function NI(t){if(!t)return null;let e=t.filter(Hg);return e.length==0?null:function(r){return zg(qg(r,e))}}function pd(t){return t!=null?NI(Wg(t)):null}function RI(t){if(!t)return null;let e=t.filter(Hg);return e.length==0?null:function(r){let n=qg(r,e).map(Gg);return Wa(n).pipe(F(zg))}}function md(t){return t!=null?RI(Wg(t)):null}function kg(t,e){return t===null?[e]:Array.isArray(t)?[...t,e]:[t,e]}function kI(t){return t._rawValidators}function OI(t){return t._rawAsyncValidators}function fd(t){return t?Array.isArray(t)?t:[t]:[]}function da(t,e){return Array.isArray(t)?t.includes(e):t===e}function Og(t,e){let r=fd(e);return fd(t).forEach(i=>{da(r,i)||r.push(i)}),r}function Pg(t,e){return fd(e).filter(r=>!da(t,r))}var fa=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=pd(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=md(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}},$r=class extends fa{get formDirective(){return null}get path(){return null}},Hr=class extends fa{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}},ha=class{constructor(e){this._cd=e}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}},PI={"[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"},xO=K(b({},PI),{"[class.ng-submitted]":"isSubmitted"}),qr=(()=>{let e=class e extends ha{constructor(n){super(n)}};e.\u0275fac=function(i){return new(i||e)(S(Hr,2))},e.\u0275dir=ne({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,o){i&2&&Is("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:[Pe]});let t=e;return t})(),Wr=(()=>{let e=class e extends ha{constructor(n){super(n)}};e.\u0275fac=function(i){return new(i||e)(S($r,10))},e.\u0275dir=ne({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(i,o){i&2&&Is("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:[Pe]});let t=e;return t})();var qi="VALID",ua="INVALID",Ur="PENDING",Wi="DISABLED",Gr=class{},pa=class extends Gr{constructor(e,r){super(),this.value=e,this.source=r}},Yi=class extends Gr{constructor(e,r){super(),this.pristine=e,this.source=r}},Qi=class extends Gr{constructor(e,r){super(),this.touched=e,this.source=r}},Br=class extends Gr{constructor(e,r){super(),this.status=e,this.source=r}};function Zg(t){return(ya(t)?t.validators:t)||null}function FI(t){return Array.isArray(t)?pd(t):t||null}function Yg(t,e){return(ya(e)?e.asyncValidators:t)||null}function LI(t){return Array.isArray(t)?md(t):t||null}function ya(t){return t!=null&&!Array.isArray(t)&&typeof t=="object"}function VI(t,e,r){let n=t.controls;if(!(e?Object.keys(n):n).length)throw new M(1e3,"");if(!n[r])throw new M(1001,"")}function jI(t,e,r){t._forEachChild((n,i)=>{if(r[i]===void 0)throw new M(1002,"")})}var ma=class{constructor(e,r){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=null,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._events=new Ce,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 valid(){return this.status===qi}get invalid(){return this.status===ua}get pending(){return this.status==Ur}get disabled(){return this.status===Wi}get enabled(){return this.status!==Wi}get dirty(){return!this.pristine}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(Og(e,this._rawValidators))}addAsyncValidators(e){this.setAsyncValidators(Og(e,this._rawAsyncValidators))}removeValidators(e){this.setValidators(Pg(e,this._rawValidators))}removeAsyncValidators(e){this.setAsyncValidators(Pg(e,this._rawAsyncValidators))}hasValidator(e){return da(this._rawValidators,e)}hasAsyncValidator(e){return da(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(b({},e),{sourceControl:n})),r&&e.emitEvent!==!1&&this._events.next(new Qi(!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 Qi(!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(b({},e),{sourceControl:n})),r&&e.emitEvent!==!1&&this._events.next(new Yi(!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 Yi(!0,n))}markAsPending(e={}){this.status=Ur;let r=e.sourceControl??this;e.emitEvent!==!1&&(this._events.next(new Br(this.status,r)),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.markAsPending(K(b({},e),{sourceControl:r}))}disable(e={}){let r=this._parentMarkedDirty(e.onlySelf);this.status=Wi,this.errors=null,this._forEachChild(i=>{i.disable(K(b({},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 Br(this.status,n)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(K(b({},e),{skipPristineCheck:r}),this),this._onDisabledChange.forEach(i=>i(!0))}enable(e={}){let r=this._parentMarkedDirty(e.onlySelf);this.status=qi,this._forEachChild(n=>{n.enable(K(b({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(K(b({},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===qi||this.status===Ur)&&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 Br(this.status,r)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(K(b({},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()?Wi:qi}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e,r){if(this.asyncValidator){this.status=Ur,this._hasOwnPendingAsyncValidator={emitEvent:r!==!1};let n=Gg(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 Br(this.status,r)),this._parent&&this._parent._updateControlsErrors(e,r,n)}_initObservables(){this.valueChanges=new he,this.statusChanges=new he}_calculateStatus(){return this._allControlsDisabled()?Wi:this.errors?ua:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Ur)?Ur:this._anyControlsHaveStatus(ua)?ua:qi}_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 Yi(this.pristine,r))}_updateTouched(e={},r){this.touched=this._anyControlsTouched(),this._events.next(new Qi(this.touched,r)),this._parent&&!e.onlySelf&&this._parent._updateTouched(e,r)}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){ya(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=FI(this._rawValidators)}_assignAsyncValidators(e){this._rawAsyncValidators=Array.isArray(e)?e.slice():e,this._composedAsyncValidatorFn=LI(this._rawAsyncValidators)}},ga=class extends ma{constructor(e,r,n){super(Zg(r),Yg(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={}){jI(this,!0,e),Object.keys(e).forEach(n=>{VI(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 Da=new x("CallSetDisabledState",{providedIn:"root",factory:()=>Ca}),Ca="always";function UI(t,e){return[...e.path,t]}function Qg(t,e,r=Ca){Kg(t,e),e.valueAccessor.writeValue(t.value),(t.disabled||r==="always")&&e.valueAccessor.setDisabledState?.(t.disabled),$I(t,e),GI(t,e),HI(t,e),BI(t,e)}function Fg(t,e){t.forEach(r=>{r.registerOnValidatorChange&&r.registerOnValidatorChange(e)})}function BI(t,e){if(e.valueAccessor.setDisabledState){let r=n=>{e.valueAccessor.setDisabledState(n)};t.registerOnDisabledChange(r),e._registerOnDestroy(()=>{t._unregisterOnDisabledChange(r)})}}function Kg(t,e){let r=kI(t);e.validator!==null?t.setValidators(kg(r,e.validator)):typeof r=="function"&&t.setValidators([r]);let n=OI(t);e.asyncValidator!==null?t.setAsyncValidators(kg(n,e.asyncValidator)):typeof n=="function"&&t.setAsyncValidators([n]);let i=()=>t.updateValueAndValidity();Fg(e._rawValidators,i),Fg(e._rawAsyncValidators,i)}function $I(t,e){e.valueAccessor.registerOnChange(r=>{t._pendingValue=r,t._pendingChange=!0,t._pendingDirty=!0,t.updateOn==="change"&&Jg(t,e)})}function HI(t,e){e.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,t.updateOn==="blur"&&t._pendingChange&&Jg(t,e),t.updateOn!=="submit"&&t.markAsTouched()})}function Jg(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function GI(t,e){let r=(n,i)=>{e.valueAccessor.writeValue(n),i&&e.viewToModelUpdate(n)};t.registerOnChange(r),e._registerOnDestroy(()=>{t._unregisterOnChange(r)})}function zI(t,e){t==null,Kg(t,e)}function qI(t,e){if(!t.hasOwnProperty("model"))return!1;let r=t.model;return r.isFirstChange()?!0:!Object.is(e,r.currentValue)}function WI(t){return Object.getPrototypeOf(t.constructor)===va}function ZI(t,e){t._syncPendingControls(),e.forEach(r=>{let n=r.control;n.updateOn==="submit"&&n._pendingChange&&(r.viewToModelUpdate(n._pendingValue),n._pendingChange=!1)})}function YI(t,e){if(!e)return null;Array.isArray(e);let r,n,i;return e.forEach(o=>{o.constructor===gn?r=o:WI(o)?n=o:i=o}),i||n||r||null}var QI={provide:$r,useExisting:He(()=>jn)},Zi=Promise.resolve(),jn=(()=>{let e=class e extends $r{constructor(n,i,o){super(),this.callSetDisabledState=o,this.submitted=!1,this._directives=new Set,this.ngSubmit=new he,this.form=new ga({},pd(n),md(i))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(n){Zi.then(()=>{let i=this._findContainer(n.path);n.control=i.registerControl(n.name,n.control),Qg(n.control,n,this.callSetDisabledState),n.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(n)})}getControl(n){return this.form.get(n.path)}removeControl(n){Zi.then(()=>{let i=this._findContainer(n.path);i&&i.removeControl(n.name),this._directives.delete(n)})}addFormGroup(n){Zi.then(()=>{let i=this._findContainer(n.path),o=new ga({});zI(o,n),i.registerControl(n.name,o),o.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(n){Zi.then(()=>{let i=this._findContainer(n.path);i&&i.removeControl(n.name)})}getFormGroup(n){return this.form.get(n.path)}updateModel(n,i){Zi.then(()=>{this.form.get(n.path).setValue(i)})}setValue(n){this.control.setValue(n)}onSubmit(n){return this.submitted=!0,ZI(this.form,this._directives),this.ngSubmit.emit(n),n?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(n=void 0){this.form.reset(n),this.submitted=!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(zr,10),S($g,10),S(Da,8))},e.\u0275dir=ne({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:[ht([QI]),Pe]});let t=e;return t})();function Lg(t,e){let r=t.indexOf(e);r>-1&&t.splice(r,1)}function Vg(t){return typeof t=="object"&&t!==null&&Object.keys(t).length===2&&"value"in t&&"disabled"in t}var KI=class extends ma{constructor(e=null,r,n){super(Zg(r),Yg(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}),ya(r)&&(r.nonNullable||r.initialValueIsDefault)&&(Vg(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){Lg(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){Lg(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){Vg(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:Hr,useExisting:He(()=>Un)},jg=Promise.resolve(),Un=(()=>{let e=class e extends Hr{constructor(n,i,o,s,a,l){super(),this._changeDetectorRef=a,this.callSetDisabledState=l,this.control=new KI,this._registered=!1,this.name="",this.update=new he,this._parent=n,this._setValidators(i),this._setAsyncValidators(o),this.valueAccessor=YI(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),qI(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(){Qg(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){jg.then(()=>{this.control.setValue(n,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(n){let i=n.isDisabled.currentValue,o=i!==0&&jt(i);jg.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(n){return this._parent?UI(n,this._parent):[n]}};e.\u0275fac=function(i){return new(i||e)(S($r,9),S(zr,10),S($g,10),S(Ki,10),S(cn,8),S(Da,8))},e.\u0275dir=ne({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:[ht([JI]),Pe,Lt]});let t=e;return t})(),Zr=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=ne({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]});let t=e;return t})();var XI={provide:Ki,useExisting:He(()=>gd),multi:!0};var ex=(()=>{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})(),gd=(()=>{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=C(Da,{optional:!0})??Ca}ngOnInit(){this._control=this._injector.get(Hr),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(ot),S(Ae),S(ex),S(rt))},e.\u0275dir=ne({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:[ht([XI]),Pe]});let t=e;return t})();var tx={provide:Ki,useExisting:He(()=>wa),multi:!0};function Xg(t,e){return t==null?`${e}`:(e&&typeof e=="object"&&(e="Object"),`${t}: ${e}`.slice(0,50))}function nx(t){return t.split(":")[0]}var wa=(()=>{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=Xg(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=nx(n);return this._optionMap.has(i)?this._optionMap.get(i):n}};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=dt(e)))(o||e)}})(),e.\u0275dir=ne({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:[ht([tx]),Pe]});let t=e;return t})(),ev=(()=>{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(Xg(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(Ae),S(ot),S(wa,9))},e.\u0275dir=ne({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}});let t=e;return t})(),rx={provide:Ki,useExisting:He(()=>tv),multi:!0};function Ug(t,e){return t==null?`${e}`:(typeof e=="string"&&(e=`'${e}'`),e&&typeof e=="object"&&(e="Object"),`${t}: ${e}`.slice(0,50))}function ix(t){return t.split(":")[0]}var tv=(()=>{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 l=0;l{let n;return function(o){return(n||(n=dt(e)))(o||e)}})(),e.\u0275dir=ne({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:[ht([rx]),Pe]});let t=e;return t})(),nv=(()=>{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(Ug(this.id,n)),this._select.writeValue(this._select.value))}set value(n){this._select?(this._value=n,this._setElementValue(Ug(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(Ae),S(ot),S(tv,9))},e.\u0275dir=ne({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}});let t=e;return t})();function ox(t){return typeof t=="number"?t:parseInt(t,10)}var ba=(()=>{let e=class e{constructor(){this._validator=dd}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):dd,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=ne({type:e,features:[Lt]});let t=e;return t})();var sx={provide:zr,useExisting:He(()=>Bn),multi:!0};var Bn=(()=>{let e=class e extends ba{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=jt,this.createValidator=n=>xI}enabled(n){return n}};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=dt(e)))(o||e)}})(),e.\u0275dir=ne({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&&Vt("required",o._enabled?"":null)},inputs:{required:"required"},features:[ht([sx]),Pe]});let t=e;return t})();var ax={provide:zr,useExisting:He(()=>Ji),multi:!0},Ji=(()=>{let e=class e extends ba{constructor(){super(...arguments),this.inputName="email",this.normalizeInput=jt,this.createValidator=n=>SI}enabled(n){return n}};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=dt(e)))(o||e)}})(),e.\u0275dir=ne({type:e,selectors:[["","email","","formControlName",""],["","email","","formControl",""],["","email","","ngModel",""]],inputs:{email:"email"},features:[ht([ax]),Pe]});let t=e;return t})();var lx={provide:zr,useExisting:He(()=>vd),multi:!0},vd=(()=>{let e=class e extends ba{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=n=>ox(n),this.createValidator=n=>MI(n)}};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=dt(e)))(o||e)}})(),e.\u0275dir=ne({type:e,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(i,o){i&2&&Vt("maxlength",o._enabled?o.maxlength:null)},inputs:{maxlength:"maxlength"},features:[ht([lx]),Pe]});let t=e;return t})(),cx={provide:zr,useExisting:He(()=>yd),multi:!0},yd=(()=>{let e=class e extends ba{constructor(){super(...arguments),this.inputName="pattern",this.normalizeInput=n=>n,this.createValidator=n=>TI(n)}};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=dt(e)))(o||e)}})(),e.\u0275dir=ne({type:e,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(i,o){i&2&&Vt("pattern",o._enabled?o.pattern:null)},inputs:{pattern:"pattern"},features:[ht([cx]),Pe]});let t=e;return t})();var ux=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=ze({type:e}),e.\u0275inj=Ge({});let t=e;return t})();var vn=(()=>{let e=class e{static withConfig(n){return{ngModule:e,providers:[{provide:Da,useValue:n.callSetDisabledState??Ca}]}}};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=ze({type:e}),e.\u0275inj=Ge({imports:[ux]});let t=e;return t})();var Ea=class{constructor(){this.name="",this.email="",this.message=""}};var _a=(()=>{let e=class e{constructor(n){this.httpClient=n}postContactForm(n){return this.httpClient.post(`${Q.apiBaseUrl}contact`,n)}};e.\u0275fac=function(i){return new(i||e)(I(wi))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})();function fx(t,e){if(t&1){let r=oe();u(0,"form",5,0),A("ngSubmit",function(){L(r);let i=E();return V(i.submit())}),u(2,"div",6)(3,"label",7),c(4,"Name "),u(5,"span",8),c(6,"*"),f()(),u(7,"input",9),le("ngModelChange",function(i){L(r);let o=E();return ue(o.contactViewModel.name,i)||(o.contactViewModel.name=i),V(i)}),f()(),u(8,"div",6)(9,"label",10),c(10,"Email address "),u(11,"span",8),c(12,"*"),f()(),u(13,"input",11),le("ngModelChange",function(i){L(r);let o=E();return ue(o.contactViewModel.email,i)||(o.contactViewModel.email=i),V(i)}),f()(),u(14,"div",6)(15,"label",12),c(16,"Message "),u(17,"span",8),c(18,"*"),f()(),u(19,"textarea",13),le("ngModelChange",function(i){L(r);let o=E();return ue(o.contactViewModel.message,i)||(o.contactViewModel.message=i),V(i)}),f()(),u(20,"button",14),c(21,"Submit"),f()()}if(t&2){let r=xs(1),n=E();v(7),ae("ngModel",n.contactViewModel.name),v(6),ae("ngModel",n.contactViewModel.email),v(6),ae("ngModel",n.contactViewModel.message),v(),y("disabled",!r.valid||n.enableFormCountDown>0)}}function hx(t,e){t&1&&(u(0,"p"),c(1,"Thanks for your message."),f())}function px(t,e){t&1&&(u(0,"p",4),c(1,"Something went wrong. Please try again later."),f())}var rv=(()=>{let e=class e{constructor(n){this.contactService=n,this.contactViewModel=new Ea,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(_a))},e.\u0275cmp=ce({type:e,selectors:[["app-contact-component"]],standalone:!0,features:[de],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),c(2,"Contact"),f(),P(3,fx,22,4,"form",3)(4,hx,2,0,"p")(5,px,2,0,"p",4),f()),i&2&&(v(3),On(!o.success&&!o.error?3:-1),v(),On(o.success?4:-1),v(),On(o.error?5:-1))},dependencies:[vn,Zr,gn,qr,Wr,Bn,Ji,Un,jn]});let t=e;return t})();var iv=()=>["/pro"],ov=(()=>{let e=class e{scrollToAnchor(n){return document.querySelector(n)?.scrollIntoView(!0),!1}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=ce({type:e,selectors:[["app-features-component"]],standalone:!0,features:[de],decls:157,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),c(2,"Features"),f(),u(3,"h2",2),c(4,"Coverage quotas"),f(),u(5,"p"),c(6," The overiew cards provide a quick "),u(7,"span",3),c(8,"overview"),f(),c(9," of your coverage quotas."),p(10,"br"),c(11," You can use them to get a glimpse into the different "),u(12,"a",4),c(13,"coverage metrics"),f(),c(14,"\xA0"),u(15,"a",4),p(16,"i",5),f(),c(17,": "),f(),u(18,"ul")(19,"li"),c(20,"Line coverage"),f(),u(21,"li"),c(22,"Branch coverage"),f(),u(23,"li"),c(24,"Method coverage "),u(25,"a",6)(26,"span",7),c(27,"PRO"),f()()()(),p(28,"img",8)(29,"br"),u(30,"h2",9),c(31,"Coverage history"),f(),u(32,"p"),c(33," The history chart helps you to understand how your coverage quotas are "),u(34,"span",3),c(35,"evolving over time"),f(),c(36,". "),f(),p(37,"img",10)(38,"br"),u(39,"h2",11),c(40,"Summary table / Overview"),f(),u(41,"p"),c(42," The summary table helps you to identify classes with "),u(43,"span",3),c(44,"low test coverage"),f(),c(45,"."),p(46,"br"),c(47," The table offers various "),u(48,"span",3),c(49,"filter and sorting"),f(),c(50," options for quick navigation. "),f(),p(51,"img",12)(52,"br"),u(53,"h2",13),c(54,"Details page"),f(),u(55,"p"),c(56," The details page visualizes your "),u(57,"span",3),c(58,"line and branch coverage"),f(),c(59,". "),f(),u(60,"ul")(61,"li"),c(62,"Colors indicate the coverage status of each line."),f(),u(63,"li"),c(64,"Branch indicators help you to identity uncovered conditions."),f()(),p(65,"img",14)(66,"br"),u(67,"h2",15),c(68,"Metrics"),f(),u(69,"p"),c(70," Depending on your "),u(71,"a",16),c(72,"coverage tool"),f(),c(73,", metrics are provided to get further insigths in your "),u(74,"span",3),c(75,"code quality"),f(),c(76,". "),f(),u(77,"ul")(78,"li"),c(79,"The "),u(80,"a",17),A("click",function(){return o.scrollToAnchor("#details")}),c(81,"details page"),f(),c(82," contains information about the metrics of all methods of a class."),f(),u(83,"li"),c(84,"The "),u(85,"a",17),A("click",function(){return o.scrollToAnchor("#summary")}),c(86,"summary table"),f(),c(87," shows the lowest metrics of all methods of a class "),u(88,"a",6)(89,"span",7),c(90,"PRO"),f()()()(),u(91,"b"),c(92,"Details page"),f(),p(93,"br")(94,"img",18)(95,"br")(96,"br"),u(97,"b"),c(98,"Summary table"),f(),p(99,"br")(100,"img",19)(101,"br"),u(102,"h2",20),c(103,"Risk Hotspots"),f(),u(104,"p"),c(105," Based on the "),u(106,"a",17),A("click",function(){return o.scrollToAnchor("#metrics")}),c(107,"metrics"),f(),c(108," you get a list of potential risk hotspots."),p(109,"br"),c(110," The following metrics are analyzed if available, the warning thresholds are configurable: "),f(),u(111,"ul")(112,"li")(113,"a",21),c(114,"Cyclomatic complexity"),f(),c(115,"\xA0"),u(116,"a",21),p(117,"i",5),f()(),u(118,"li")(119,"a",22),c(120,"NPath complexity"),f(),c(121,"\xA0"),u(122,"a",22),p(123,"i",5),f()(),u(124,"li")(125,"a",23),c(126,"Crap score"),f(),c(127,"\xA0"),u(128,"a",23),p(129,"i",5),f()()(),p(130,"img",24),u(131,"h2",25),c(132,"Raw mode (for "),u(133,"i"),c(134,"Cobertura"),f(),c(135,") "),u(136,"span",7),c(137,"PRO"),f()(),u(138,"p"),c(139,' 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(140,"br"),c(141," This is useful to merge several "),u(142,"i"),c(143,"Cobertura"),f(),c(144," files into a single file, since the original class structure remains untouched. "),f(),u(145,"p"),c(146,"See "),u(147,"a",26),c(148,"Settings"),f(),c(149,"\xA0"),u(150,"a",26),p(151,"i",5),f()(),u(152,"p"),c(153,"Limitation: Raw mode is currently only supported for "),u(154,"i"),c(155,"Cobertura"),f(),c(156," files."),f()()),i&2&&(v(25),y("routerLink",B(2,iv)),v(63),y("routerLink",B(3,iv)))},dependencies:[Ne]});let t=e;return t})();var Re={dotnetSDKVersion:"8.x",majorVersion:"5",version:"5.3.4"};var mx=()=>["/usage"],sv=(()=>{let e=class e{constructor(){this.versions=Re}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=ce({type:e,selectors:[["app-getstarted"]],standalone:!0,features:[de],decls:72,vars:6,consts:[[1,"container"],[1,"mb-4"],[3,"routerLink"],["id","net",1,"mt-5"],["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),c(2,"Get started"),f(),u(3,"h2"),c(4,"General"),f(),u(5,"p"),c(6,"In general you need a tool that instruments your test code and collects coverage information."),p(7,"br"),c(8,"This information is typically stored in a XML file (e.g. in Cobertura format)."),p(9,"br"),u(10,"em"),c(11,"ReportGenerator"),f(),c(12," uses this file and generates a report in HTML format (other formats are available)."),f(),u(13,"p"),c(14,"Use the online "),u(15,"a",2),c(16,"configuration tool"),f(),c(17," to get started quickly."),f(),u(18,"h2",3),c(19,".NET"),f(),u(20,"p"),c(21,"For .NET you can use "),u(22,"a",4),c(23,"coverlet"),f(),c(24," or "),u(25,"a",5),c(26,"altcover"),f(),c(27," for instrumenting your test code."),f(),u(28,"p"),c(29,"After adding the dependencies to your project, you can execute your tests and generate the coverage report."),f(),u(30,"p")(31,"strong"),c(32,"Add dependencies to your "),u(33,"code"),c(34,"*.csproj"),f(),c(35," file:"),f()(),u(36,"pre",6),c(37),f(),u(38,"p")(39,"strong"),c(40,"Execute tests and create coverage report"),f()(),u(41,"pre",6),c(42),f(),u(43,"h2",7),c(44,"Java"),f(),u(45,"p"),c(46,"For Java you can use "),u(47,"a",8),c(48,"JaCoCo"),f(),c(49,` 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 hu=class{encodeKey(e){return dm(e)}encodeValue(e){return dm(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}};function bb(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))],l=r.get(s)||[];l.push(a),r.set(s,l)}),r}var Eb=/%(\d[a-f0-9])/gi,_b={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function dm(t){return encodeURIComponent(t).replace(Eb,(e,r)=>_b[r]??e)}function Vs(t){return`${t}`}var dn=class t{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new hu,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=bb(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(Vs):[Vs(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(Vs(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(Vs(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 pu=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 Ib(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function fm(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function hm(t){return typeof Blob<"u"&&t instanceof Blob}function pm(t){return typeof FormData<"u"&&t instanceof FormData}function xb(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}var vi=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(Ib(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 $t,this.context??=new pu,!this.params)this.params=new dn,this.urlWithParams=r;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=r;else{let a=r.indexOf("?"),l=a===-1?"?":ag.set(D,e.setHeaders[D]),d)),e.setParams&&(h=Object.keys(e.setParams).reduce((g,D)=>g.set(D,e.setParams[D]),h)),new t(r,n,s,{params:h,headers:d,context:m,reportProgress:l,responseType:i,withCredentials:a,transferCache:o})}},fn=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}(fn||{}),Di=class{constructor(e,r=200,n="OK"){this.headers=e.headers||new $t,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}},Us=class t extends Di{constructor(e={}){super(e),this.type=fn.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})}},Ci=class t extends Di{constructor(e={}){super(e),this.type=fn.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})}},un=class extends Di{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}},Dm=200,Sb=204;function fu(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 wi=(()=>{let e=class e{constructor(n){this.handler=n}request(n,i,o={}){let s;if(n instanceof vi)s=n;else{let d;o.headers instanceof $t?d=o.headers:d=new $t(o.headers);let h;o.params&&(o.params instanceof dn?h=o.params:h=new dn({fromObject:o.params})),s=new vi(n,i,o.body!==void 0?o.body:null,{headers:d,context:o.context,params:h,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache})}let a=R(s).pipe(At(d=>this.handler.handle(d)));if(n instanceof vi||o.observe==="events")return a;let l=a.pipe(xe(d=>d instanceof Ci));switch(o.observe||"body"){case"body":switch(s.responseType){case"arraybuffer":return l.pipe(F(d=>{if(d.body!==null&&!(d.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return d.body}));case"blob":return l.pipe(F(d=>{if(d.body!==null&&!(d.body instanceof Blob))throw new Error("Response is not a Blob.");return d.body}));case"text":return l.pipe(F(d=>{if(d.body!==null&&typeof d.body!="string")throw new Error("Response is not a string.");return d.body}));case"json":default:return l.pipe(F(d=>d.body))}case"response":return l;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 dn().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,fu(o,i))}post(n,i,o={}){return this.request("POST",n,fu(o,i))}put(n,i,o={}){return this.request("PUT",n,fu(o,i))}};e.\u0275fac=function(i){return new(i||e)(I(yi))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})(),Mb=/^\)\]\}',?\n/,Tb="X-Request-URL";function mm(t){if(t.url)return t.url;let e=Tb.toLocaleLowerCase();return t.headers.get(e)}var Ab=(()=>{let e=class e{constructor(){this.fetchImpl=C(mu,{optional:!0})?.fetch??fetch.bind(globalThis),this.ngZone=C(X)}handle(n){return new q(i=>{let o=new AbortController;return this.doRequest(n,o.signal,i).then(gu,s=>i.error(new un({error:s}))),()=>o.abort()})}doRequest(n,i,o){return Qr(this,null,function*(){let s=this.createRequestInit(n),a;try{let w=this.fetchImpl(n.urlWithParams,b({signal:i},s));Nb(w),o.next({type:fn.Sent}),a=yield w}catch(w){o.error(new un({error:w,status:w.status??0,statusText:w.statusText,url:n.urlWithParams,headers:w.headers}));return}let l=new $t(a.headers),d=a.statusText,h=mm(a)??n.urlWithParams,m=a.status,g=null;if(n.reportProgress&&o.next(new Us({headers:l,status:m,statusText:d,url:h})),a.body){let w=a.headers.get("content-length"),k=[],T=a.body.getReader(),N=0,ge,re,ee=typeof Zone<"u"&&Zone.current;yield this.ngZone.runOutsideAngular(()=>Qr(this,null,function*(){for(;;){let{done:De,value:Ke}=yield T.read();if(De)break;if(k.push(Ke),N+=Ke.length,n.reportProgress){re=n.responseType==="text"?(re??"")+(ge??=new TextDecoder).decode(Ke,{stream:!0}):void 0;let zn=()=>o.next({type:fn.DownloadProgress,total:w?+w:void 0,loaded:N,partialText:re});ee?ee.run(zn):zn()}}}));let Qe=this.concatChunks(k,N);try{let De=a.headers.get("Content-Type")??"";g=this.parseBody(n,Qe,De)}catch(De){o.error(new un({error:De,headers:new $t(a.headers),status:a.status,statusText:a.statusText,url:mm(a)??n.urlWithParams}));return}}m===0&&(m=g?Dm:0),m>=200&&m<300?(o.next(new Ci({body:g,headers:l,status:m,statusText:d,url:h})),o.complete()):o.error(new un({error:g,headers:l,status:m,statusText:d,url:h}))})}parseBody(n,i,o){switch(n.responseType){case"json":let s=new TextDecoder().decode(i).replace(Mb,"");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(",")),i.Accept??="application/json, text/plain, */*",!i["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})(),mu=class{};function gu(){}function Nb(t){t.then(gu,gu)}function Cm(t,e){return e(t)}function Rb(t,e){return(r,n)=>e.intercept(r,{handle:i=>t(i,n)})}function kb(t,e,r){return(n,i)=>qe(r,()=>e(n,o=>t(o,i)))}var Ob=new x(""),vu=new x(""),Pb=new x(""),wm=new x("",{providedIn:"root",factory:()=>!0});function Fb(){let t=null;return(e,r)=>{t===null&&(t=(C(Ob,{optional:!0})??[]).reduceRight(Rb,Cm));let n=C(an);if(C(wm)){let o=n.add();return t(e,r).pipe(Qt(()=>n.remove(o)))}else return t(e,r)}}var gm=(()=>{let e=class e extends yi{constructor(n,i){super(),this.backend=n,this.injector=i,this.chain=null,this.pendingTasks=C(an),this.contributeToStability=C(wm)}handle(n){if(this.chain===null){let i=Array.from(new Set([...this.injector.get(vu),...this.injector.get(Pb,[])]));this.chain=i.reduceRight((o,s)=>kb(o,s,this.injector),Cm)}if(this.contributeToStability){let i=this.pendingTasks.add();return this.chain(n,o=>this.backend.handle(o)).pipe(Qt(()=>this.pendingTasks.remove(i)))}else return this.chain(n,i=>this.backend.handle(i))}};e.\u0275fac=function(i){return new(i||e)(I(js),I(Me))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})();var Lb=/^\)\]\}',?\n/;function Vb(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}var vm=(()=>{let e=class e{constructor(n){this.xhrFactory=n}handle(n){if(n.method==="JSONP")throw new M(-2800,!1);let i=this.xhrFactory;return(i.\u0275loadImpl?ie(i.\u0275loadImpl()):R(null)).pipe(Le(()=>new q(s=>{let a=i.build();if(a.open(n.method,n.urlWithParams),n.withCredentials&&(a.withCredentials=!0),n.headers.forEach((T,N)=>a.setRequestHeader(T,N.join(","))),n.headers.has("Accept")||a.setRequestHeader("Accept","application/json, text/plain, */*"),!n.headers.has("Content-Type")){let T=n.detectContentTypeHeader();T!==null&&a.setRequestHeader("Content-Type",T)}if(n.responseType){let T=n.responseType.toLowerCase();a.responseType=T!=="json"?T:"text"}let l=n.serializeBody(),d=null,h=()=>{if(d!==null)return d;let T=a.statusText||"OK",N=new $t(a.getAllResponseHeaders()),ge=Vb(a)||n.url;return d=new Us({headers:N,status:a.status,statusText:T,url:ge}),d},m=()=>{let{headers:T,status:N,statusText:ge,url:re}=h(),ee=null;N!==Sb&&(ee=typeof a.response>"u"?a.responseText:a.response),N===0&&(N=ee?Dm:0);let Qe=N>=200&&N<300;if(n.responseType==="json"&&typeof ee=="string"){let De=ee;ee=ee.replace(Lb,"");try{ee=ee!==""?JSON.parse(ee):null}catch(Ke){ee=De,Qe&&(Qe=!1,ee={error:Ke,text:ee})}}Qe?(s.next(new Ci({body:ee,headers:T,status:N,statusText:ge,url:re||void 0})),s.complete()):s.error(new un({error:ee,headers:T,status:N,statusText:ge,url:re||void 0}))},g=T=>{let{url:N}=h(),ge=new un({error:T,status:a.status||0,statusText:a.statusText||"Unknown Error",url:N||void 0});s.error(ge)},D=!1,w=T=>{D||(s.next(h()),D=!0);let N={type:fn.DownloadProgress,loaded:T.loaded};T.lengthComputable&&(N.total=T.total),n.responseType==="text"&&a.responseText&&(N.partialText=a.responseText),s.next(N)},k=T=>{let N={type:fn.UploadProgress,loaded:T.loaded};T.lengthComputable&&(N.total=T.total),s.next(N)};return a.addEventListener("load",m),a.addEventListener("error",g),a.addEventListener("timeout",g),a.addEventListener("abort",g),n.reportProgress&&(a.addEventListener("progress",w),l!==null&&a.upload&&a.upload.addEventListener("progress",k)),a.send(l),s.next({type:fn.Sent}),()=>{a.removeEventListener("error",g),a.removeEventListener("abort",g),a.removeEventListener("load",m),a.removeEventListener("timeout",g),n.reportProgress&&(a.removeEventListener("progress",w),l!==null&&a.upload&&a.upload.removeEventListener("progress",k)),a.readyState!==a.DONE&&a.abort()}})))}};e.\u0275fac=function(i){return new(i||e)(I(Ir))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})(),bm=new x(""),jb="XSRF-TOKEN",Ub=new x("",{providedIn:"root",factory:()=>jb}),Bb="X-XSRF-TOKEN",$b=new x("",{providedIn:"root",factory:()=>Bb}),Bs=class{},Hb=(()=>{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=Os(n,this.cookieName),this.lastCookieString=n),this.lastToken}};e.\u0275fac=function(i){return new(i||e)(I(Ee),I(_t),I(Ub))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})();function Gb(t,e){let r=t.url.toLowerCase();if(!C(bm)||t.method==="GET"||t.method==="HEAD"||r.startsWith("http://")||r.startsWith("https://"))return e(t);let n=C(Bs).getToken(),i=C($b);return n!=null&&!t.headers.has(i)&&(t=t.clone({headers:t.headers.set(i,n)})),e(t)}var Em=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}(Em||{});function zb(t,e){return{\u0275kind:t,\u0275providers:e}}function _m(...t){let e=[wi,vm,gm,{provide:yi,useExisting:gm},{provide:js,useFactory:()=>C(Ab,{optional:!0})??C(vm)},{provide:vu,useValue:Gb,multi:!0},{provide:bm,useValue:!0},{provide:Bs,useClass:Hb}];for(let r of t)e.push(...r.\u0275providers);return as(e)}var ym=new x("");function Im(){return zb(Em.LegacyInterceptors,[{provide:ym,useFactory:Fb},{provide:vu,useExisting:ym,multi:!0}])}var Cu=class extends ks{constructor(){super(...arguments),this.supportsDOMEvents=!0}},wu=class t extends Cu{static makeCurrent(){im(new t)}onAndCancel(e,r,n){return e.addEventListener(r,n),()=>{e.removeEventListener(r,n)}}dispatchEvent(e,r){e.dispatchEvent(r)}remove(e){e.parentNode&&e.parentNode.removeChild(e)}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=qb();return r==null?null:Wb(r)}resetBaseElement(){bi=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return Os(document.cookie,e)}},bi=null;function qb(){return bi=bi||document.querySelector("base"),bi?bi.getAttribute("href"):null}function Wb(t){return new URL(t,document.baseURI).pathname}var bu=class{addToWindow(e){et.getAngularTestability=(n,i=!0)=>{let o=e.findTestabilityInTree(n,i);if(o==null)throw new M(5103,!1);return o},et.getAllAngularTestabilities=()=>e.getAllTestabilities(),et.getAllAngularRootElements=()=>e.getAllRootElements();let r=n=>{let i=et.getAllAngularTestabilities(),o=i.length,s=function(){o--,o==0&&n()};i.forEach(a=>{a.whenStable(s)})};et.frameworkStabilizers||(et.frameworkStabilizers=[]),et.frameworkStabilizers.push(r)}findTestabilityInTree(e,r,n){if(r==null)return null;let i=e.getTestability(r);return i??(n?St().isShadowRoot(r)?this.findTestabilityInTree(e,r.host,!0):this.findTestabilityInTree(e,r.parentElement,!0):null)}},Zb=(()=>{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})(),Eu=new x(""),Am=(()=>{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 M(5101,!1);return this._eventNameToPlugin.set(n,i),i}};e.\u0275fac=function(i){return new(i||e)(I(Eu),I(X))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})(),$s=class{constructor(e){this._doc=e}},yu="ng-app-id",Nm=(()=>{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=Ls(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[${yu}="${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(yu),s;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=i,this.platformIsServer&&a.setAttribute(yu,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)(I(Ee),I(vs),I(Mc,8),I(_t))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})(),Du={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"},Iu=/%COMP%/g,Rm="%COMP%",Yb=`_nghost-${Rm}`,Qb=`_ngcontent-${Rm}`,Kb=!0,Jb=new x("",{providedIn:"root",factory:()=>Kb});function Xb(t){return Qb.replace(Iu,t)}function eE(t){return Yb.replace(Iu,t)}function km(t,e){return e.map(r=>r.replace(Iu,t))}var Sm=(()=>{let e=class e{constructor(n,i,o,s,a,l,d,h=null){this.eventManager=n,this.sharedStylesHost=i,this.appId=o,this.removeStylesOnCompDestroy=s,this.doc=a,this.platformId=l,this.ngZone=d,this.nonce=h,this.rendererByCompId=new Map,this.platformIsServer=Ls(l),this.defaultRenderer=new Ei(n,a,d,this.platformIsServer)}createRenderer(n,i){if(!n||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===Dt.ShadowDom&&(i=K(b({},i),{encapsulation:Dt.Emulated}));let o=this.getOrCreateRenderer(n,i);return o instanceof Hs?o.applyToHost(n):o instanceof _i&&o.applyStyles(),o}getOrCreateRenderer(n,i){let o=this.rendererByCompId,s=o.get(i.id);if(!s){let a=this.doc,l=this.ngZone,d=this.eventManager,h=this.sharedStylesHost,m=this.removeStylesOnCompDestroy,g=this.platformIsServer;switch(i.encapsulation){case Dt.Emulated:s=new Hs(d,h,i,this.appId,m,a,l,g);break;case Dt.ShadowDom:return new _u(d,h,n,i,a,l,this.nonce,g);default:s=new _i(d,h,i,m,a,l,g);break}o.set(i.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}};e.\u0275fac=function(i){return new(i||e)(I(Am),I(Nm),I(vs),I(Jb),I(Ee),I(_t),I(X),I(Mc))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})(),Ei=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(Du[r]||r,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,r){(Mm(e)?e.content:e).appendChild(r)}insertBefore(e,r,n){e&&(Mm(e)?e.content:e).insertBefore(r,n)}removeChild(e,r){e&&e.removeChild(r)}selectRootElement(e,r){let n=typeof e=="string"?this.doc.querySelector(e):e;if(!n)throw new M(-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=Du[i];o?e.setAttributeNS(o,r,n):e.setAttribute(r,n)}else e.setAttribute(r,n)}removeAttribute(e,r,n){if(n){let i=Du[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&(kt.DashCase|kt.Important)?e.style.setProperty(r,n,i&kt.Important?"important":""):e.style[r]=n}removeStyle(e,r,n){n&kt.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=St().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 Mm(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var _u=class extends Ei{constructor(e,r,n,i,o,s,a,l){super(e,o,s,l),this.sharedStylesHost=r,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let d=km(i.id,i.styles);for(let h of d){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(this.nodeOrShadowRoot(e),r)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},_i=class extends Ei{constructor(e,r,n,i,o,s,a,l){super(e,o,s,a),this.sharedStylesHost=r,this.removeStylesOnCompDestroy=i,this.styles=l?km(l,n.styles):n.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},Hs=class extends _i{constructor(e,r,n,i,o,s,a,l){let d=i+"-"+n.id;super(e,r,n,o,s,a,l,d),this.contentAttr=Xb(d),this.hostAttr=eE(d)}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}},tE=(()=>{let e=class e extends $s{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)(I(Ee))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})(),Tm=["alt","control","meta","shift"],nE={"\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"},rE={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},iE=(()=>{let e=class e extends $s{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(()=>St().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="",l=i.indexOf("code");if(l>-1&&(i.splice(l,1),a="code."),Tm.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 d={};return d.domEventName=o,d.fullKey=a,d}static matchEventFullKeyCode(n,i){let o=nE[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"),Tm.forEach(a=>{if(a!==o){let l=rE[a];l(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)(I(Ee))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})();function Om(t,e){return Qp(b({rootComponent:t},oE(e)))}function oE(t){return{appProviders:[...Pm,...t?.providers??[]],platformProviders:cE}}function sE(){wu.makeCurrent()}function aE(){return new Et}function lE(){return Qh(document),document}var cE=[{provide:_t,useValue:du},{provide:Sc,useValue:sE,multi:!0},{provide:Ee,useFactory:lE,deps:[]}];var uE=new x(""),dE=[{provide:gi,useClass:bu,deps:[]},{provide:Kc,useClass:Ms,deps:[X,Ts,gi]},{provide:Ms,useClass:Ms,deps:[X,Ts,gi]}],Pm=[{provide:ls,useValue:"root"},{provide:Et,useFactory:aE,deps:[]},{provide:Eu,useClass:tE,multi:!0,deps:[Ee,X,_t]},{provide:Eu,useClass:iE,multi:!0,deps:[Ee]},Sm,Nm,Am,{provide:yr,useExisting:Sm},{provide:Ir,useClass:Zb,deps:[]},[]],Fm=(()=>{let e=class e{constructor(n){}static withServerTransition(n){return{ngModule:e,providers:[{provide:vs,useValue:n.appId}]}}};e.\u0275fac=function(i){return new(i||e)(I(uE,12))},e.\u0275mod=ze({type:e}),e.\u0275inj=Ge({providers:[...Pm,...dE],imports:[lm,Yp]});let t=e;return t})();var Lm=(()=>{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)(I(Ee))},e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var $="primary",ji=Symbol("RouteTitle"),Au=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 kr(t){return new Au(t)}function hE(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 Ym(t){return t.length>0?t[t.length-1]:null}function mn(t){return qa(t)?t:Fn(t)?ie(Promise.resolve(t)):R(t)}var mE={exact:Km,subset:Jm},Qm={exact:gE,subset:vE,ignored:()=>!0};function Vm(t,e,r){return mE[r.paths](t.root,e.root,r.matrixParams)&&Qm[r.queryParams](t.queryParams,e.queryParams)&&!(r.fragment==="exact"&&t.fragment!==e.fragment)}function gE(t,e){return Mt(t,e)}function Km(t,e,r){if(!Vn(t.segments,e.segments)||!qs(t.segments,e.segments,r)||t.numberOfChildren!==e.numberOfChildren)return!1;for(let n in e.children)if(!t.children[n]||!Km(t.children[n],e.children[n],r))return!1;return!0}function vE(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(r=>Zm(t[r],e[r]))}function Jm(t,e,r){return Xm(t,e,e.segments,r)}function Xm(t,e,r,n){if(t.segments.length>r.length){let i=t.segments.slice(0,r.length);return!(!Vn(i,r)||e.hasChildren()||!qs(i,r,n))}else if(t.segments.length===r.length){if(!Vn(t.segments,r)||!qs(t.segments,r,n))return!1;for(let i in e.children)if(!t.children[i]||!Jm(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!Vn(t.segments,i)||!qs(t.segments,i,n)||!t.children[$]?!1:Xm(t.children[$],e,o,n)}}function qs(t,e,r){return e.every((n,i)=>Qm[r](t[i].parameters,n.parameters))}var hn=class{constructor(e=new J([],{}),r={},n=null){this.root=e,this.queryParams=r,this.fragment=n}get queryParamMap(){return this._queryParamMap??=kr(this.queryParams),this._queryParamMap}toString(){return CE.serialize(this)}},J=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 Ws(this)}},Ln=class{constructor(e,r){this.path=e,this.parameters=r}get parameterMap(){return this._parameterMap??=kr(this.parameters),this._parameterMap}toString(){return tg(this)}};function yE(t,e){return Vn(t,e)&&t.every((r,n)=>Mt(r.parameters,e[n].parameters))}function Vn(t,e){return t.length!==e.length?!1:t.every((r,n)=>r.path===e[n].path)}function DE(t,e){let r=[];return Object.entries(t.children).forEach(([n,i])=>{n===$&&(r=r.concat(e(i,n)))}),Object.entries(t.children).forEach(([n,i])=>{n!==$&&(r=r.concat(e(i,n)))}),r}var Ui=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:()=>new Or,providedIn:"root"});let t=e;return t})(),Or=class{parse(e){let r=new ku(e);return new hn(r.parseRootSegment(),r.parseQueryParams(),r.parseFragment())}serialize(e){let r=`/${Ii(e.root,!0)}`,n=EE(e.queryParams),i=typeof e.fragment=="string"?`#${wE(e.fragment)}`:"";return`${r}${n}${i}`}},CE=new Or;function Ws(t){return t.segments.map(e=>tg(e)).join("/")}function Ii(t,e){if(!t.hasChildren())return Ws(t);if(e){let r=t.children[$]?Ii(t.children[$],!1):"",n=[];return Object.entries(t.children).forEach(([i,o])=>{i!==$&&n.push(`${i}:${Ii(o,!1)}`)}),n.length>0?`${r}(${n.join("//")})`:r}else{let r=DE(t,(n,i)=>i===$?[Ii(t.children[$],!1)]:[`${i}:${Ii(n,!1)}`]);return Object.keys(t.children).length===1&&t.children[$]!=null?`${Ws(t)}/${r[0]}`:`${Ws(t)}/(${r.join("//")})`}}function eg(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Gs(t){return eg(t).replace(/%3B/gi,";")}function wE(t){return encodeURI(t)}function Ru(t){return eg(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Zs(t){return decodeURIComponent(t)}function jm(t){return Zs(t.replace(/\+/g,"%20"))}function tg(t){return`${Ru(t.path)}${bE(t.parameters)}`}function bE(t){return Object.entries(t).map(([e,r])=>`;${Ru(e)}=${Ru(r)}`).join("")}function EE(t){let e=Object.entries(t).map(([r,n])=>Array.isArray(n)?n.map(i=>`${Gs(r)}=${Gs(i)}`).join("&"):`${Gs(r)}=${Gs(n)}`).filter(r=>r);return e.length?`?${e.join("&")}`:""}var _E=/^[^\/()?;#]+/;function xu(t){let e=t.match(_E);return e?e[0]:""}var IE=/^[^\/()?;=#]+/;function xE(t){let e=t.match(IE);return e?e[0]:""}var SE=/^[^=?&#]+/;function ME(t){let e=t.match(SE);return e?e[0]:""}var TE=/^[^&#]+/;function AE(t){let e=t.match(TE);return e?e[0]:""}var ku=class{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new J([],{}):new J([],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[$]=new J(e,r)),n}parseSegment(){let e=xu(this.remaining);if(e===""&&this.peekStartsWith(";"))throw new M(4009,!1);return this.capture(e),new Ln(Zs(e),this.parseMatrixParams())}parseMatrixParams(){let e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){let r=xE(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){let i=xu(this.remaining);i&&(n=i,this.capture(n))}e[Zs(r)]=Zs(n)}parseQueryParam(e){let r=ME(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){let s=AE(this.remaining);s&&(n=s,this.capture(n))}let i=jm(r),o=jm(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=xu(this.remaining),i=this.remaining[n.length];if(i!=="/"&&i!==")"&&i!==";")throw new M(4010,!1);let o;n.indexOf(":")>-1?(o=n.slice(0,n.indexOf(":")),this.capture(o),this.capture(":")):e&&(o=$);let s=this.parseChildren();r[o]=Object.keys(s).length===1?s[$]:new J([],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 M(4011,!1)}};function ng(t){return t.segments.length>0?new J([],{[$]:t}):t}function rg(t){let e={};for(let[n,i]of Object.entries(t.children)){let o=rg(i);if(n===$&&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 J(t.segments,e);return NE(r)}function NE(t){if(t.numberOfChildren===1&&t.children[$]){let e=t.children[$];return new J(t.segments.concat(e.segments),e.children)}return t}function Ni(t){return t instanceof hn}function RE(t,e,r=null,n=null){let i=ig(t);return og(i,e,r,n)}function ig(t){let e;function r(o){let s={};for(let l of o.children){let d=r(l);s[l.outlet]=d}let a=new J(o.url,s);return o===t&&(e=a),a}let n=r(t.root),i=ng(n);return e??i}function og(t,e,r,n){let i=t;for(;i.parent;)i=i.parent;if(e.length===0)return Su(i,i,i,r,n);let o=kE(e);if(o.toRoot())return Su(i,i,new J([],{}),r,n);let s=OE(o,i,t),a=s.processChildren?Mi(s.segmentGroup,s.index,o.commands):ag(s.segmentGroup,s.index,o.commands);return Su(i,s.segmentGroup,a,r,n)}function Ys(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function Ri(t){return typeof t=="object"&&t!=null&&t.outlets}function Su(t,e,r,n,i){let o={};n&&Object.entries(n).forEach(([l,d])=>{o[l]=Array.isArray(d)?d.map(h=>`${h}`):`${d}`});let s;t===e?s=r:s=sg(t,e,r);let a=ng(rg(s));return new hn(a,o,i)}function sg(t,e,r){let n={};return Object.entries(t.children).forEach(([i,o])=>{o===e?n[i]=r:n[i]=sg(o,e,r)}),new J(t.segments,n)}var Qs=class{constructor(e,r,n){if(this.isAbsolute=e,this.numberOfDoubleDots=r,this.commands=n,e&&n.length>0&&Ys(n[0]))throw new M(4003,!1);let i=n.find(Ri);if(i&&i!==Ym(n))throw new M(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function kE(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new Qs(!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(([l,d])=>{a[l]=typeof d=="string"?d.split("/"):d}),[...i,{outlets:a}]}if(o.segmentPath)return[...i,o.segmentPath]}return typeof o!="string"?[...i,o]:s===0?(o.split("/").forEach((a,l)=>{l==0&&a==="."||(l==0&&a===""?r=!0:a===".."?e++:a!=""&&i.push(a))}),i):[...i,o]},[]);return new Qs(r,e,n)}var Ar=class{constructor(e,r,n){this.segmentGroup=e,this.processChildren=r,this.index=n}};function OE(t,e,r){if(t.isAbsolute)return new Ar(e,!0,0);if(!r)return new Ar(e,!1,NaN);if(r.parent===null)return new Ar(r,!0,0);let n=Ys(t.commands[0])?0:1,i=r.segments.length-1+n;return PE(r,i,t.numberOfDoubleDots)}function PE(t,e,r){let n=t,i=e,o=r;for(;o>i;){if(o-=i,n=n.parent,!n)throw new M(4005,!1);i=n.segments.length}return new Ar(n,!1,i-o)}function FE(t){return Ri(t[0])?t[0].outlets:{[$]:t}}function ag(t,e,r){if(t??=new J([],{}),t.segments.length===0&&t.hasChildren())return Mi(t,e,r);let n=LE(t,e,r),i=r.slice(n.commandIndex);if(n.match&&n.pathIndexo!==$)&&t.children[$]&&t.numberOfChildren===1&&t.children[$].segments.length===0){let o=Mi(t.children[$],e,r);return new J(t.segments,o.children)}return Object.entries(n).forEach(([o,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(i[o]=ag(t.children[o],e,s))}),Object.entries(t.children).forEach(([o,s])=>{n[o]===void 0&&(i[o]=s)}),new J(t.segments,i)}}function LE(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(Ri(a))break;let l=`${a}`,d=n0&&l===void 0)break;if(l&&d&&typeof d=="object"&&d.outlets===void 0){if(!Bm(l,d,s))return o;n+=2}else{if(!Bm(l,{},s))return o;n++}i++}return{match:!0,pathIndex:i,commandIndex:n}}function Ou(t,e,r){let n=t.segments.slice(0,e),i=0;for(;i{typeof n=="string"&&(n=[n]),n!==null&&(e[r]=Ou(new J([],{}),0,n))}),e}function Um(t){let e={};return Object.entries(t).forEach(([r,n])=>e[r]=`${n}`),e}function Bm(t,e,r){return t==r.path&&Mt(e,r.parameters)}var Ti="imperative",_e=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}(_e||{}),st=class{constructor(e,r){this.id=e,this.url=r}},Pr=class extends st{constructor(e,r,n="imperative",i=null){super(e,r),this.type=_e.NavigationStart,this.navigationTrigger=n,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},Ye=class extends st{constructor(e,r,n){super(e,r),this.urlAfterRedirects=n,this.type=_e.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},Ze=function(t){return t[t.Redirect=0]="Redirect",t[t.SupersededByNewNavigation=1]="SupersededByNewNavigation",t[t.NoDataFromResolver=2]="NoDataFromResolver",t[t.GuardRejected=3]="GuardRejected",t}(Ze||{}),Ks=function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t}(Ks||{}),Ht=class extends st{constructor(e,r,n,i){super(e,r),this.reason=n,this.code=i,this.type=_e.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},pn=class extends st{constructor(e,r,n,i){super(e,r),this.reason=n,this.code=i,this.type=_e.NavigationSkipped}},ki=class extends st{constructor(e,r,n,i){super(e,r),this.error=n,this.target=i,this.type=_e.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Js=class extends st{constructor(e,r,n,i){super(e,r),this.urlAfterRedirects=n,this.state=i,this.type=_e.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Pu=class extends st{constructor(e,r,n,i){super(e,r),this.urlAfterRedirects=n,this.state=i,this.type=_e.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Fu=class extends st{constructor(e,r,n,i,o){super(e,r),this.urlAfterRedirects=n,this.state=i,this.shouldActivate=o,this.type=_e.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},Lu=class extends st{constructor(e,r,n,i){super(e,r),this.urlAfterRedirects=n,this.state=i,this.type=_e.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Vu=class extends st{constructor(e,r,n,i){super(e,r),this.urlAfterRedirects=n,this.state=i,this.type=_e.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},ju=class{constructor(e){this.route=e,this.type=_e.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Uu=class{constructor(e){this.route=e,this.type=_e.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Bu=class{constructor(e){this.snapshot=e,this.type=_e.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},$u=class{constructor(e){this.snapshot=e,this.type=_e.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Hu=class{constructor(e){this.snapshot=e,this.type=_e.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Gu=class{constructor(e){this.snapshot=e,this.type=_e.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Xs=class{constructor(e,r,n){this.routerEvent=e,this.position=r,this.anchor=n,this.type=_e.Scroll}toString(){let e=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${e}')`}},Oi=class{},Fr=class{constructor(e,r){this.url=e,this.navigationBehaviorOptions=r}};var zu=class{constructor(e){this.injector=e,this.outlet=null,this.route=null,this.children=new Bi(this.injector),this.attachRef=null}},Bi=(()=>{let e=class e{constructor(n){this.parentInjector=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 zu(this.parentInjector),this.contexts.set(n,i)),i}getContext(n){return this.contexts.get(n)||null}};e.\u0275fac=function(i){return new(i||e)(I(Me))},e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),ea=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=qu(e,this._root);return r?r.children.map(n=>n.value):[]}firstChild(e){let r=qu(e,this._root);return r&&r.children.length>0?r.children[0].value:null}siblings(e){let r=Wu(e,this._root);return r.length<2?[]:r[r.length-2].children.map(i=>i.value).filter(i=>i!==e)}pathFromRoot(e){return Wu(e,this._root).map(r=>r.value)}};function qu(t,e){if(t===e.value)return e;for(let r of e.children){let n=qu(t,r);if(n)return n}return null}function Wu(t,e){if(t===e.value)return[e];for(let r of e.children){let n=Wu(t,r);if(n.length)return n.unshift(e),n}return[]}var We=class{constructor(e,r){this.value=e,this.children=r}toString(){return`TreeNode(${this.value})`}};function Tr(t){let e={};return t&&t.children.forEach(r=>e[r.value.outlet]=r),e}var ta=class extends ea{constructor(e,r){super(e),this.snapshot=r,nd(this,e)}toString(){return this.snapshot.toString()}};function lg(t){let e=jE(t),r=new Ie([new Ln("",{})]),n=new Ie({}),i=new Ie({}),o=new Ie({}),s=new Ie(""),a=new Gt(r,n,o,s,i,$,t,e.root);return a.snapshot=e.root,new ta(new We(a,[]),e)}function jE(t){let e={},r={},n={},i="",o=new Nr([],e,n,i,r,$,t,null,{});return new ra("",new We(o,[]))}var Gt=class{constructor(e,r,n,i,o,s,a,l){this.urlSubject=e,this.paramsSubject=r,this.queryParamsSubject=n,this.fragmentSubject=i,this.dataSubject=o,this.outlet=s,this.component=a,this._futureSnapshot=l,this.title=this.dataSubject?.pipe(F(d=>d[ji]))??R(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(F(e=>kr(e))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(F(e=>kr(e))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function na(t,e,r="emptyOnly"){let n,{routeConfig:i}=t;return e!==null&&(r==="always"||i?.path===""||!e.component&&!e.routeConfig?.loadComponent)?n={params:b(b({},e.params),t.params),data:b(b({},e.data),t.data),resolve:b(b(b(b({},t.data),e.data),i?.data),t._resolvedData)}:n={params:b({},t.params),data:b({},t.data),resolve:b(b({},t.data),t._resolvedData??{})},i&&ug(i)&&(n.resolve[ji]=i.title),n}var Nr=class{get title(){return this.data?.[ji]}constructor(e,r,n,i,o,s,a,l,d){this.url=e,this.params=r,this.queryParams=n,this.fragment=i,this.data=o,this.outlet=s,this.component=a,this.routeConfig=l,this._resolve=d}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??=kr(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=kr(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}')`}},ra=class extends ea{constructor(e,r){super(r),this.url=e,nd(this,r)}toString(){return cg(this._root)}};function nd(t,e){e.value._routerState=t,e.children.forEach(r=>nd(t,r))}function cg(t){let e=t.children.length>0?` { ${t.children.map(cg).join(", ")} } `:"";return`${t.value}${e}`}function Mu(t){if(t.snapshot){let e=t.snapshot,r=t._futureSnapshot;t.snapshot=r,Mt(e.queryParams,r.queryParams)||t.queryParamsSubject.next(r.queryParams),e.fragment!==r.fragment&&t.fragmentSubject.next(r.fragment),Mt(e.params,r.params)||t.paramsSubject.next(r.params),pE(e.url,r.url)||t.urlSubject.next(r.url),Mt(e.data,r.data)||t.dataSubject.next(r.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function Zu(t,e){let r=Mt(t.params,e.params)&&yE(t.url,e.url),n=!t.parent!=!e.parent;return r&&!n&&(!t.parent||Zu(t.parent,e.parent))}function ug(t){return typeof t.title=="string"||t.title===null}var rd=(()=>{let e=class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=$,this.activateEvents=new he,this.deactivateEvents=new he,this.attachEvents=new he,this.detachEvents=new he,this.parentContexts=C(Bi),this.location=C(sn),this.changeDetector=C(cn),this.inputBinder=C(la,{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 M(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new M(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new M(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 M(4013,!1);this._activatedRoute=n;let o=this.location,a=n.snapshot.component,l=this.parentContexts.getOrCreateContext(this.name).children,d=new Yu(n,l,o.injector);this.activated=o.createComponent(a,{index:o.length,injector:d,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=ne({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[Lt]});let t=e;return t})(),Yu=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===Gt?this.route:e===Bi?this.childContexts:this.parent.get(e,r)}},la=new x(""),$m=(()=>{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=Xr([i.queryParams,i.params,i.data]).pipe(Le(([s,a,l],d)=>(l=b(b(b({},s),a),l),d===0?R(l):Promise.resolve(l)))).subscribe(s=>{if(!n.isActivated||!n.activatedComponentRef||n.activatedRoute!==i||i.component===null){this.unsubscribeFromRouteData(n);return}let a=Kp(i.component);if(!a){this.unsubscribeFromRouteData(n);return}for(let{templateName:l}of a.inputs)n.activatedComponentRef.setInput(l,s[l])});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 UE(t,e,r){let n=Pi(t,e._root,r?r._root:void 0);return new ta(n,e)}function Pi(t,e,r){if(r&&t.shouldReuseRoute(e.value,r.value.snapshot)){let n=r.value;n._futureSnapshot=e.value;let i=BE(t,e,r);return new We(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=>Pi(t,a)),s}}let n=$E(e.value),i=e.children.map(o=>Pi(t,o));return new We(n,i)}}function BE(t,e,r){return e.children.map(n=>{for(let i of r.children)if(t.shouldReuseRoute(n.value,i.value.snapshot))return Pi(t,n,i);return Pi(t,n)})}function $E(t){return new Gt(new Ie(t.url),new Ie(t.params),new Ie(t.queryParams),new Ie(t.fragment),new Ie(t.data),t.outlet,t.component,t)}var Fi=class{constructor(e,r){this.redirectTo=e,this.navigationBehaviorOptions=r}},dg="ngNavigationCancelingError";function ia(t,e){let{redirectTo:r,navigationBehaviorOptions:n}=Ni(e)?{redirectTo:e,navigationBehaviorOptions:void 0}:e,i=fg(!1,Ze.Redirect);return i.url=r,i.navigationBehaviorOptions=n,i}function fg(t,e){let r=new Error(`NavigationCancelingError: ${t||""}`);return r[dg]=!0,r.cancellationCode=e,r}function HE(t){return hg(t)&&Ni(t.url)}function hg(t){return!!t&&t[dg]}var GE=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=ce({type:e,selectors:[["ng-component"]],standalone:!0,features:[de],decls:1,vars:0,template:function(i,o){i&1&&p(0,"router-outlet")},dependencies:[rd],encapsulation:2});let t=e;return t})();function zE(t,e){return t.providers&&!t._injector&&(t._injector=_s(t.providers,e,`Route: ${t.path}`)),t._injector??e}function id(t){let e=t.children&&t.children.map(id),r=e?K(b({},t),{children:e}):b({},t);return!r.component&&!r.loadComponent&&(e||r.loadChildren)&&r.outlet&&r.outlet!==$&&(r.component=GE),r}function pt(t){return t.outlet||$}function qE(t,e){let r=t.filter(n=>pt(n)===e);return r.push(...t.filter(n=>pt(n)!==e)),r}function $i(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 WE=(t,e,r,n)=>F(i=>(new Qu(e,i.targetRouterState,i.currentRouterState,r,n).activate(t),i)),Qu=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),Mu(this.futureState.root),this.activateChildRoutes(r,n,e)}deactivateChildRoutes(e,r,n){let i=Tr(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=Tr(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=Tr(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=Tr(r);e.children.forEach(o=>{this.activateRoutes(o,i[o.value.outlet],n),this.forwardEvent(new Gu(o.value.snapshot))}),e.children.length&&this.forwardEvent(new $u(e.value.snapshot))}activateRoutes(e,r,n){let i=e.value,o=r?r.value:null;if(Mu(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),Mu(a.route.value),this.activateChildRoutes(e,null,s.children)}else{let a=$i(i.snapshot);s.attachRef=null,s.route=i,s.injector=a??s.injector,s.outlet&&s.outlet.activateWith(i,s.injector),this.activateChildRoutes(e,null,s.children)}}else this.activateChildRoutes(e,null,n)}},oa=class{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}},Rr=class{constructor(e,r){this.component=e,this.route=r}};function ZE(t,e,r){let n=t._root,i=e?e._root:null;return xi(n,i,r,[n.value])}function YE(t){let e=t.routeConfig?t.routeConfig.canActivateChild:null;return!e||e.length===0?null:{node:t,guards:e}}function Vr(t,e){let r=Symbol(),n=e.get(t,r);return n===r?typeof t=="function"&&!$f(t)?t:e.get(t):n}function xi(t,e,r,n,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=Tr(e);return t.children.forEach(s=>{QE(s,o[s.value.outlet],r,n.concat([s.value]),i),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,a])=>Ai(a,r.getContext(s),i)),i}function QE(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 l=KE(s,o,o.routeConfig.runGuardsAndResolvers);l?i.canActivateChecks.push(new oa(n)):(o.data=s.data,o._resolvedData=s._resolvedData),o.component?xi(t,e,a?a.children:null,n,i):xi(t,e,r,n,i),l&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new Rr(a.outlet.component,s))}else s&&Ai(e,a,i),i.canActivateChecks.push(new oa(n)),o.component?xi(t,null,a?a.children:null,n,i):xi(t,null,r,n,i);return i}function KE(t,e,r){if(typeof r=="function")return r(t,e);switch(r){case"pathParamsChange":return!Vn(t.url,e.url);case"pathParamsOrQueryParamsChange":return!Vn(t.url,e.url)||!Mt(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Zu(t,e)||!Mt(t.queryParams,e.queryParams);case"paramsChange":default:return!Zu(t,e)}}function Ai(t,e,r){let n=Tr(t),i=t.value;Object.entries(n).forEach(([o,s])=>{i.component?e?Ai(s,e.children.getContext(o),r):Ai(s,null,r):Ai(s,e,r)}),i.component?e&&e.outlet&&e.outlet.isActivated?r.canDeactivateChecks.push(new Rr(e.outlet.component,i)):r.canDeactivateChecks.push(new Rr(null,i)):r.canDeactivateChecks.push(new Rr(null,i))}function Hi(t){return typeof t=="function"}function JE(t){return typeof t=="boolean"}function XE(t){return t&&Hi(t.canLoad)}function e_(t){return t&&Hi(t.canActivate)}function t_(t){return t&&Hi(t.canActivateChild)}function n_(t){return t&&Hi(t.canDeactivate)}function r_(t){return t&&Hi(t.canMatch)}function pg(t){return t instanceof Tt||t?.name==="EmptyError"}var zs=Symbol("INITIAL_VALUE");function Lr(){return Le(t=>Xr(t.map(e=>e.pipe(Nt(1),Ka(zs)))).pipe(F(e=>{for(let r of e)if(r!==!0){if(r===zs)return zs;if(r===!1||i_(r))return r}return!0}),xe(e=>e!==zs),Nt(1)))}function i_(t){return Ni(t)||t instanceof Fi}function o_(t,e){return fe(r=>{let{targetSnapshot:n,currentSnapshot:i,guards:{canActivateChecks:o,canDeactivateChecks:s}}=r;return s.length===0&&o.length===0?R(K(b({},r),{guardsResult:!0})):s_(s,n,i,t).pipe(fe(a=>a&&JE(a)?a_(n,o,t,e):R(a)),F(a=>K(b({},r),{guardsResult:a})))})}function s_(t,e,r,n){return ie(t).pipe(fe(i=>f_(i.component,i.route,r,e,n)),gt(i=>i!==!0,!0))}function a_(t,e,r,n){return ie(e).pipe(At(i=>er(c_(i.route.parent,n),l_(i.route,n),d_(t,i.path,r),u_(t,i.route,r))),gt(i=>i!==!0,!0))}function l_(t,e){return t!==null&&e&&e(new Hu(t)),R(!0)}function c_(t,e){return t!==null&&e&&e(new Bu(t)),R(!0)}function u_(t,e,r){let n=e.routeConfig?e.routeConfig.canActivate:null;if(!n||n.length===0)return R(!0);let i=n.map(o=>Eo(()=>{let s=$i(e)??r,a=Vr(o,s),l=e_(a)?a.canActivate(e,t):qe(s,()=>a(e,t));return mn(l).pipe(gt())}));return R(i).pipe(Lr())}function d_(t,e,r){let n=e[e.length-1],o=e.slice(0,e.length-1).reverse().map(s=>YE(s)).filter(s=>s!==null).map(s=>Eo(()=>{let a=s.guards.map(l=>{let d=$i(s.node)??r,h=Vr(l,d),m=t_(h)?h.canActivateChild(n,t):qe(d,()=>h(n,t));return mn(m).pipe(gt())});return R(a).pipe(Lr())}));return R(o).pipe(Lr())}function f_(t,e,r,n,i){let o=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!o||o.length===0)return R(!0);let s=o.map(a=>{let l=$i(e)??i,d=Vr(a,l),h=n_(d)?d.canDeactivate(t,e,r,n):qe(l,()=>d(t,e,r,n));return mn(h).pipe(gt())});return R(s).pipe(Lr())}function h_(t,e,r,n){let i=e.canLoad;if(i===void 0||i.length===0)return R(!0);let o=i.map(s=>{let a=Vr(s,t),l=XE(a)?a.canLoad(e,r):qe(t,()=>a(e,r));return mn(l)});return R(o).pipe(Lr(),mg(n))}function mg(t){return $a(we(e=>{if(typeof e!="boolean")throw ia(t,e)}),F(e=>e===!0))}function p_(t,e,r,n){let i=e.canMatch;if(!i||i.length===0)return R(!0);let o=i.map(s=>{let a=Vr(s,t),l=r_(a)?a.canMatch(e,r):qe(t,()=>a(e,r));return mn(l)});return R(o).pipe(Lr(),mg(n))}var Li=class{constructor(e){this.segmentGroup=e||null}},Vi=class extends Error{constructor(e){super(),this.urlTree=e}};function Mr(t){return Xn(new Li(t))}function m_(t){return Xn(new M(4e3,!1))}function g_(t){return Xn(fg(!1,Ze.GuardRejected))}var Ku=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 R(n);if(i.numberOfChildren>1||!i.children[$])return m_(`${e.redirectTo}`);i=i.children[$]}}applyRedirectCommands(e,r,n,i,o){if(typeof r!="string"){let a=r,{queryParams:l,fragment:d,routeConfig:h,url:m,outlet:g,params:D,data:w,title:k}=i,T=qe(o,()=>a({params:D,data:w,queryParams:l,fragment:d,routeConfig:h,url:m,outlet:g,title:k}));if(T instanceof hn)throw new Vi(T);r=T}let s=this.applyRedirectCreateUrlTree(r,this.urlSerializer.parse(r),e,n);if(r[0]==="/")throw new Vi(s);return s}applyRedirectCreateUrlTree(e,r,n,i){let o=this.createSegmentGroup(e,r.root,n,i);return new hn(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,l])=>{s[a]=this.createSegmentGroup(e,l,n,i)}),new J(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 M(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}},Ju={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function v_(t,e,r,n,i){let o=od(t,e,r);return o.matched?(n=zE(e,n),p_(n,e,r,i).pipe(F(s=>s===!0?o:b({},Ju)))):R(o)}function od(t,e,r){if(e.path==="**")return y_(r);if(e.path==="")return e.pathMatch==="full"&&(t.hasChildren()||r.length>0)?b({},Ju):{matched:!0,consumedSegments:[],remainingSegments:r,parameters:{},positionalParamSegments:{}};let i=(e.matcher||hE)(r,t,e);if(!i)return b({},Ju);let o={};Object.entries(i.posParams??{}).forEach(([a,l])=>{o[a]=l.path});let s=i.consumed.length>0?b(b({},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 y_(t){return{matched:!0,parameters:t.length>0?Ym(t).parameters:{},consumedSegments:t,remainingSegments:[],positionalParamSegments:{}}}function Hm(t,e,r,n){return r.length>0&&w_(t,r,n)?{segmentGroup:new J(e,C_(n,new J(r,t.children))),slicedSegments:[]}:r.length===0&&b_(t,r,n)?{segmentGroup:new J(t.segments,D_(t,r,n,t.children)),slicedSegments:r}:{segmentGroup:new J(t.segments,t.children),slicedSegments:r}}function D_(t,e,r,n){let i={};for(let o of r)if(ca(t,e,o)&&!n[pt(o)]){let s=new J([],{});i[pt(o)]=s}return b(b({},n),i)}function C_(t,e){let r={};r[$]=e;for(let n of t)if(n.path===""&&pt(n)!==$){let i=new J([],{});r[pt(n)]=i}return r}function w_(t,e,r){return r.some(n=>ca(t,e,n)&&pt(n)!==$)}function b_(t,e,r){return r.some(n=>ca(t,e,n))}function ca(t,e,r){return(t.hasChildren()||e.length>0)&&r.pathMatch==="full"?!1:r.path===""}function E_(t,e,r,n){return pt(t)!==n&&(n===$||!ca(e,r,t))?!1:od(e,t,r).matched}function __(t,e,r){return e.length===0&&!t.children[r]}var Xu=class{};function I_(t,e,r,n,i,o,s="emptyOnly"){return new ed(t,e,r,n,i,s,o).recognize()}var x_=31,ed=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 Ku(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(e){return new M(4002,`'${e.segmentGroup}'`)}recognize(){let e=Hm(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(e).pipe(F(({children:r,rootSnapshot:n})=>{let i=new We(n,r),o=new ra("",i),s=RE(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 Nr([],Object.freeze({}),Object.freeze(b({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),$,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,e,$,r).pipe(F(n=>({children:n,rootSnapshot:r})),Zt(n=>{if(n instanceof Vi)return this.urlTree=n.urlTree,this.match(n.urlTree.root);throw n instanceof Li?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(F(s=>s instanceof We?[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 ie(o).pipe(At(s=>{let a=n.children[s],l=qE(r,s);return this.processSegmentGroup(e,l,a,s,i)}),Qa((s,a)=>(s.push(...a),s)),Yt(null),Ya(),fe(s=>{if(s===null)return Mr(n);let a=gg(s);return S_(a),R(a)}))}processSegment(e,r,n,i,o,s,a){return ie(r).pipe(At(l=>this.processSegmentAgainstRoute(l._injector??e,r,l,n,i,o,s,a).pipe(Zt(d=>{if(d instanceof Li)return R(null);throw d}))),gt(l=>!!l),Zt(l=>{if(pg(l))return __(n,i,o)?R(new Xu):Mr(n);throw l}))}processSegmentAgainstRoute(e,r,n,i,o,s,a,l){return E_(n,i,o,s)?n.redirectTo===void 0?this.matchSegmentAgainstRoute(e,i,n,o,s,l):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(e,i,r,n,o,s,l):Mr(i):Mr(i)}expandSegmentAgainstRouteUsingRedirect(e,r,n,i,o,s,a){let{matched:l,parameters:d,consumedSegments:h,positionalParamSegments:m,remainingSegments:g}=od(r,i,o);if(!l)return Mr(r);typeof i.redirectTo=="string"&&i.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>x_&&(this.allowRedirects=!1));let D=new Nr(o,d,Object.freeze(b({},this.urlTree.queryParams)),this.urlTree.fragment,Gm(i),pt(i),i.component??i._loadedComponent??null,i,zm(i)),w=na(D,a,this.paramsInheritanceStrategy);D.params=Object.freeze(w.params),D.data=Object.freeze(w.data);let k=this.applyRedirects.applyRedirectCommands(h,i.redirectTo,m,D,e);return this.applyRedirects.lineralizeSegments(i,k).pipe(fe(T=>this.processSegment(e,n,r,T.concat(g),s,!1,a)))}matchSegmentAgainstRoute(e,r,n,i,o,s){let a=v_(r,n,i,e,this.urlSerializer);return n.path==="**"&&(r.children={}),a.pipe(Le(l=>l.matched?(e=n._injector??e,this.getChildConfig(e,n,i).pipe(Le(({routes:d})=>{let h=n._loadedInjector??e,{parameters:m,consumedSegments:g,remainingSegments:D}=l,w=new Nr(g,m,Object.freeze(b({},this.urlTree.queryParams)),this.urlTree.fragment,Gm(n),pt(n),n.component??n._loadedComponent??null,n,zm(n)),k=na(w,s,this.paramsInheritanceStrategy);w.params=Object.freeze(k.params),w.data=Object.freeze(k.data);let{segmentGroup:T,slicedSegments:N}=Hm(r,g,D,d);if(N.length===0&&T.hasChildren())return this.processChildren(h,d,T,w).pipe(F(re=>new We(w,re)));if(d.length===0&&N.length===0)return R(new We(w,[]));let ge=pt(n)===o;return this.processSegment(h,d,T,N,ge?$:o,!0,w).pipe(F(re=>new We(w,re instanceof We?[re]:[])))}))):Mr(r)))}getChildConfig(e,r,n){return r.children?R({routes:r.children,injector:e}):r.loadChildren?r._loadedRoutes!==void 0?R({routes:r._loadedRoutes,injector:r._loadedInjector}):h_(e,r,n,this.urlSerializer).pipe(fe(i=>i?this.configLoader.loadChildren(e,r).pipe(we(o=>{r._loadedRoutes=o.routes,r._loadedInjector=o.injector})):g_(r))):R({routes:[],injector:e})}};function S_(t){t.sort((e,r)=>e.value.outlet===$?-1:r.value.outlet===$?1:e.value.outlet.localeCompare(r.value.outlet))}function M_(t){let e=t.value.routeConfig;return e&&e.path===""}function gg(t){let e=[],r=new Set;for(let n of t){if(!M_(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=gg(n.children);e.push(new We(n.value,i))}return e.filter(n=>!r.has(n))}function Gm(t){return t.data||{}}function zm(t){return t.resolve||{}}function T_(t,e,r,n,i,o){return fe(s=>I_(t,e,r,n,s.extractedUrl,i,o).pipe(F(({state:a,tree:l})=>K(b({},s),{targetSnapshot:a,urlAfterRedirects:l}))))}function A_(t,e){return fe(r=>{let{targetSnapshot:n,guards:{canActivateChecks:i}}=r;if(!i.length)return R(r);let o=new Set(i.map(l=>l.route)),s=new Set;for(let l of o)if(!s.has(l))for(let d of vg(l))s.add(d);let a=0;return ie(s).pipe(At(l=>o.has(l)?N_(l,n,t,e):(l.data=na(l,l.parent,t).resolve,R(void 0))),we(()=>a++),tr(1),fe(l=>a===s.size?R(r):$e))})}function vg(t){let e=t.children.map(r=>vg(r)).flat();return[t,...e]}function N_(t,e,r,n){let i=t.routeConfig,o=t._resolve;return i?.title!==void 0&&!ug(i)&&(o[ji]=i.title),R_(o,t,e,n).pipe(F(s=>(t._resolvedData=s,t.data=na(t,t.parent,r).resolve,null)))}function R_(t,e,r,n){let i=Nu(t);if(i.length===0)return R({});let o={};return ie(i).pipe(fe(s=>k_(t[s],e,r,n).pipe(gt(),we(a=>{if(a instanceof Fi)throw ia(new Or,a);o[s]=a}))),tr(1),Za(o),Zt(s=>pg(s)?$e:Xn(s)))}function k_(t,e,r,n){let i=$i(e)??n,o=Vr(t,i),s=o.resolve?o.resolve(e,r):qe(i,()=>o(e,r));return mn(s)}function Tu(t){return Le(e=>{let r=t(e);return r?ie(r).pipe(F(()=>e)):R(e)})}var yg=(()=>{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===$);return i}getResolvedTitleForRoute(n){return n.data[ji]}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:()=>C(O_),providedIn:"root"});let t=e;return t})(),O_=(()=>{let e=class e extends yg{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)(I(Lm))},e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Gi=new x("",{providedIn:"root",factory:()=>({})}),sa=new x(""),sd=(()=>{let e=class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=C(Rs)}loadComponent(n){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return R(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);let i=mn(n.loadComponent()).pipe(F(Dg),we(s=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=s}),Qt(()=>{this.componentLoaders.delete(n)})),o=new Jn(i,()=>new Ce).pipe(Kn());return this.componentLoaders.set(n,o),o}loadChildren(n,i){if(this.childrenLoaders.get(i))return this.childrenLoaders.get(i);if(i._loadedRoutes)return R({routes:i._loadedRoutes,injector:i._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(i);let s=P_(i,this.compiler,n,this.onLoadEndListener).pipe(Qt(()=>{this.childrenLoaders.delete(i)})),a=new Jn(s,()=>new Ce).pipe(Kn());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 P_(t,e,r,n){return mn(t.loadChildren()).pipe(F(Dg),fe(i=>i instanceof li||Array.isArray(i)?R(i):ie(e.compileModuleAsync(i))),F(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(id),injector:o}}))}function F_(t){return t&&typeof t=="object"&&"default"in t}function Dg(t){return F_(t)?t.default:t}var ad=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:()=>C(L_),providedIn:"root"});let t=e;return t})(),L_=(()=>{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})(),Cg=new x(""),wg=new x("");function V_(t,e,r){let n=t.get(wg),i=t.get(Ee);return t.get(X).runOutsideAngular(()=>{if(!i.startViewTransition||n.skipNextTransition)return n.skipNextTransition=!1,new Promise(d=>setTimeout(d));let o,s=new Promise(d=>{o=d}),a=i.startViewTransition(()=>(o(),j_(t))),{onViewTransitionCreated:l}=n;return l&&qe(t,()=>l({transition:a,from:e,to:r})),s})}function j_(t){return new Promise(e=>{Es(e,{injector:t})})}var U_=new x(""),ld=(()=>{let e=class e{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new Ce,this.transitionAbortSubject=new Ce,this.configLoader=C(sd),this.environmentInjector=C(Me),this.urlSerializer=C(Ui),this.rootContexts=C(Bi),this.location=C(xr),this.inputBindingEnabled=C(la,{optional:!0})!==null,this.titleStrategy=C(yg),this.options=C(Gi,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=C(ad),this.createViewTransition=C(Cg,{optional:!0}),this.navigationErrorHandler=C(U_,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>R(void 0),this.rootComponentType=null;let n=o=>this.events.next(new ju(o)),i=o=>this.events.next(new Uu(o));this.configLoader.onLoadEndListener=i,this.configLoader.onLoadStartListener=n}complete(){this.transitions?.complete()}handleNavigationRequest(n){let i=++this.navigationId;this.transitions?.next(K(b(b({},this.transitions.value),n),{id:i}))}setupNavigations(n,i,o){return this.transitions=new Ie({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:Ti,restoredState:null,currentSnapshot:o.snapshot,targetSnapshot:null,currentRouterState:o,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(xe(s=>s.id!==0),F(s=>K(b({},s),{extractedUrl:this.urlHandlingStrategy.extract(s.rawUrl)})),Le(s=>{let a=!1,l=!1;return R(s).pipe(Le(d=>{if(this.navigationId>s.id)return this.cancelNavigationTransition(s,"",Ze.SupersededByNewNavigation),$e;this.currentTransition=s,this.currentNavigation={id:d.id,initialUrl:d.rawUrl,extractedUrl:d.extractedUrl,trigger:d.source,extras:d.extras,previousNavigation:this.lastSuccessfulNavigation?K(b({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let h=!n.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),m=d.extras.onSameUrlNavigation??n.onSameUrlNavigation;if(!h&&m!=="reload"){let g="";return this.events.next(new pn(d.id,this.urlSerializer.serialize(d.rawUrl),g,Ks.IgnoredSameUrlNavigation)),d.resolve(!1),$e}if(this.urlHandlingStrategy.shouldProcessUrl(d.rawUrl))return R(d).pipe(Le(g=>{let D=this.transitions?.getValue();return this.events.next(new Pr(g.id,this.urlSerializer.serialize(g.extractedUrl),g.source,g.restoredState)),D!==this.transitions?.getValue()?$e:Promise.resolve(g)}),T_(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,this.paramsInheritanceStrategy),we(g=>{s.targetSnapshot=g.targetSnapshot,s.urlAfterRedirects=g.urlAfterRedirects,this.currentNavigation=K(b({},this.currentNavigation),{finalUrl:g.urlAfterRedirects});let D=new Js(g.id,this.urlSerializer.serialize(g.extractedUrl),this.urlSerializer.serialize(g.urlAfterRedirects),g.targetSnapshot);this.events.next(D)}));if(h&&this.urlHandlingStrategy.shouldProcessUrl(d.currentRawUrl)){let{id:g,extractedUrl:D,source:w,restoredState:k,extras:T}=d,N=new Pr(g,this.urlSerializer.serialize(D),w,k);this.events.next(N);let ge=lg(this.rootComponentType).snapshot;return this.currentTransition=s=K(b({},d),{targetSnapshot:ge,urlAfterRedirects:D,extras:K(b({},T),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=D,R(s)}else{let g="";return this.events.next(new pn(d.id,this.urlSerializer.serialize(d.extractedUrl),g,Ks.IgnoredByUrlHandlingStrategy)),d.resolve(!1),$e}}),we(d=>{let h=new Pu(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot);this.events.next(h)}),F(d=>(this.currentTransition=s=K(b({},d),{guards:ZE(d.targetSnapshot,d.currentSnapshot,this.rootContexts)}),s)),o_(this.environmentInjector,d=>this.events.next(d)),we(d=>{if(s.guardsResult=d.guardsResult,d.guardsResult&&typeof d.guardsResult!="boolean")throw ia(this.urlSerializer,d.guardsResult);let h=new Fu(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot,!!d.guardsResult);this.events.next(h)}),xe(d=>d.guardsResult?!0:(this.cancelNavigationTransition(d,"",Ze.GuardRejected),!1)),Tu(d=>{if(d.guards.canActivateChecks.length)return R(d).pipe(we(h=>{let m=new Lu(h.id,this.urlSerializer.serialize(h.extractedUrl),this.urlSerializer.serialize(h.urlAfterRedirects),h.targetSnapshot);this.events.next(m)}),Le(h=>{let m=!1;return R(h).pipe(A_(this.paramsInheritanceStrategy,this.environmentInjector),we({next:()=>m=!0,complete:()=>{m||this.cancelNavigationTransition(h,"",Ze.NoDataFromResolver)}}))}),we(h=>{let m=new Vu(h.id,this.urlSerializer.serialize(h.extractedUrl),this.urlSerializer.serialize(h.urlAfterRedirects),h.targetSnapshot);this.events.next(m)}))}),Tu(d=>{let h=m=>{let g=[];m.routeConfig?.loadComponent&&!m.routeConfig._loadedComponent&&g.push(this.configLoader.loadComponent(m.routeConfig).pipe(we(D=>{m.component=D}),F(()=>{})));for(let D of m.children)g.push(...h(D));return g};return Xr(h(d.targetSnapshot.root)).pipe(Yt(null),Nt(1))}),Tu(()=>this.afterPreactivation()),Le(()=>{let{currentSnapshot:d,targetSnapshot:h}=s,m=this.createViewTransition?.(this.environmentInjector,d.root,h.root);return m?ie(m).pipe(F(()=>s)):R(s)}),F(d=>{let h=UE(n.routeReuseStrategy,d.targetSnapshot,d.currentRouterState);return this.currentTransition=s=K(b({},d),{targetRouterState:h}),this.currentNavigation.targetRouterState=h,s}),we(()=>{this.events.next(new Oi)}),WE(this.rootContexts,n.routeReuseStrategy,d=>this.events.next(d),this.inputBindingEnabled),Nt(1),we({next:d=>{a=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Ye(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects))),this.titleStrategy?.updateTitle(d.targetRouterState.snapshot),d.resolve(!0)},complete:()=>{a=!0}}),Ja(this.transitionAbortSubject.pipe(we(d=>{throw d}))),Qt(()=>{!a&&!l&&this.cancelNavigationTransition(s,"",Ze.SupersededByNewNavigation),this.currentTransition?.id===s.id&&(this.currentNavigation=null,this.currentTransition=null)}),Zt(d=>{if(l=!0,hg(d))this.events.next(new Ht(s.id,this.urlSerializer.serialize(s.extractedUrl),d.message,d.cancellationCode)),HE(d)?this.events.next(new Fr(d.url,d.navigationBehaviorOptions)):s.resolve(!1);else{let h=new ki(s.id,this.urlSerializer.serialize(s.extractedUrl),d,s.targetSnapshot??void 0);try{let m=qe(this.environmentInjector,()=>this.navigationErrorHandler?.(h));if(m instanceof Fi){let{message:g,cancellationCode:D}=ia(this.urlSerializer,m);this.events.next(new Ht(s.id,this.urlSerializer.serialize(s.extractedUrl),g,D)),this.events.next(new Fr(m.redirectTo,m.navigationBehaviorOptions))}else{this.events.next(h);let g=n.errorHandler(d);s.resolve(!!g)}}catch(m){this.options.resolveNavigationPromiseOnError?s.resolve(!1):s.reject(m)}}return $e}))}))}cancelNavigationTransition(n,i,o){let s=new Ht(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(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.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 B_(t){return t!==Ti}var $_=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:()=>C(H_),providedIn:"root"});let t=e;return t})(),td=class{shouldDetach(e){return!1}store(e,r){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,r){return e.routeConfig===r.routeConfig}},H_=(()=>{let e=class e extends td{};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=dt(e)))(o||e)}})(),e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),bg=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:()=>C(G_),providedIn:"root"});let t=e;return t})(),G_=(()=>{let e=class e extends bg{constructor(){super(...arguments),this.location=C(xr),this.urlSerializer=C(Ui),this.options=C(Gi,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=C(ad),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new hn,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=lg(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 Pr)this.stateMemento=this.createStateMemento();else if(n instanceof pn)this.rawUrlTree=i.initialUrl;else if(n instanceof Js){if(this.urlUpdateStrategy==="eager"&&!i.extras.skipLocationChange){let o=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl);this.setBrowserUrl(o,i)}}else n instanceof Oi?(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(this.rawUrlTree,i))):n instanceof Ht&&(n.code===Ze.GuardRejected||n.code===Ze.NoDataFromResolver)?this.restoreHistory(i):n instanceof ki?this.restoreHistory(i,!0):n instanceof Ye&&(this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId)}setBrowserUrl(n,i){let o=this.urlSerializer.serialize(n);if(this.location.isCurrentPathEqualTo(o)||i.extras.replaceUrl){let s=this.browserPageId,a=b(b({},i.extras.state),this.generateNgRouterState(i.id,s));this.location.replaceState(o,"",a)}else{let s=b(b({},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=dt(e)))(o||e)}})(),e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Si=function(t){return t[t.COMPLETE=0]="COMPLETE",t[t.FAILED=1]="FAILED",t[t.REDIRECTING=2]="REDIRECTING",t}(Si||{});function Eg(t,e){t.events.pipe(xe(r=>r instanceof Ye||r instanceof Ht||r instanceof ki||r instanceof pn),F(r=>r instanceof Ye||r instanceof pn?Si.COMPLETE:(r instanceof Ht?r.code===Ze.Redirect||r.code===Ze.SupersededByNewNavigation:!1)?Si.REDIRECTING:Si.FAILED),xe(r=>r!==Si.REDIRECTING),Nt(1)).subscribe(()=>{e()})}function z_(t){throw t}var q_={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},W_={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},mt=(()=>{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=C(Ss),this.stateManager=C(bg),this.options=C(Gi,{optional:!0})||{},this.pendingTasks=C(an),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=C(ld),this.urlSerializer=C(Ui),this.location=C(xr),this.urlHandlingStrategy=C(ad),this._events=new Ce,this.errorHandler=this.options.errorHandler||z_,this.navigated=!1,this.routeReuseStrategy=C($_),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=C(sa,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!C(la,{optional:!0}),this.eventsSubscription=new ve,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 Ht&&i.code!==Ze.Redirect&&i.code!==Ze.SupersededByNewNavigation)this.navigated=!0;else if(i instanceof Ye)this.navigated=!0;else if(i instanceof Fr){let a=i.navigationBehaviorOptions,l=this.urlHandlingStrategy.merge(i.url,o.currentRawUrl),d=b({info:o.extras.info,skipLocationChange:o.extras.skipLocationChange,replaceUrl:o.extras.replaceUrl||this.urlUpdateStrategy==="eager"||B_(o.source)},a);this.scheduleNavigation(l,Ti,null,d,{resolve:o.resolve,reject:o.reject,promise:o.promise})}}Y_(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),Ti,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 d=b({},o);delete d.navigationId,delete d.\u0275routerPageId,Object.keys(d).length!==0&&(s.state=d)}let l=this.parseUrl(n);this.scheduleNavigation(l,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(id),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:l,preserveFragment:d}=i,h=d?this.currentUrlTree.fragment:a,m=null;switch(l){case"merge":m=b(b({},this.currentUrlTree.queryParams),s);break;case"preserve":m=this.currentUrlTree.queryParams;break;default:m=s||null}m!==null&&(m=this.removeEmptyProps(m));let g;try{let D=o?o.snapshot:this.routerState.snapshot.root;g=ig(D)}catch{(typeof n[0]!="string"||n[0][0]!=="/")&&(n=[]),g=this.currentUrlTree.root}return og(g,n,m,h??null)}navigateByUrl(n,i={skipLocationChange:!1}){let o=Ni(n)?n:this.parseUrl(n),s=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(s,Ti,null,i)}navigate(n,i={skipLocationChange:!1}){return Z_(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=b({},q_):i===!1?o=b({},W_):o=i,Ni(n))return Vm(this.currentUrlTree,n,o);let s=this.parseUrl(n);return Vm(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 l,d,h;a?(l=a.resolve,d=a.reject,h=a.promise):h=new Promise((g,D)=>{l=g,d=D});let m=this.pendingTasks.add();return Eg(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(m))}),this.navigationTransitions.handleNavigationRequest({source:i,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:n,extras:s,resolve:l,reject:d,promise:h,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),h.catch(g=>Promise.reject(g))}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function Z_(t){for(let e=0;e{let e=class e{constructor(n,i,o,s,a,l){this.router=n,this.route=i,this.tabIndexAttribute=o,this.renderer=s,this.el=a,this.locationStrategy=l,this.href=null,this.commands=null,this.onChanges=new Ce,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;let d=a.nativeElement.tagName?.toLowerCase();this.isAnchorElement=d==="a"||d==="area",this.isAnchorElement?this.subscription=n.events.subscribe(h=>{h instanceof Ye&&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.commands=Array.isArray(n)?n:[n],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(n,i,o,s,a){let l=this.urlTree;if(l===null||this.isAnchorElement&&(n!==0||i||o||s||a||typeof this.target=="string"&&this.target!="_self"))return!0;let d={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(l,d),!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:Xh(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.commands===null?null:this.router.createUrlTree(this.commands,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}};e.\u0275fac=function(i){return new(i||e)(S(mt),S(Gt),Ic("tabindex"),S(ot),S(Ae),S(Bt))},e.\u0275dir=ne({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&&Vt("target",o.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",jt],skipLocationChange:[2,"skipLocationChange","skipLocationChange",jt],replaceUrl:[2,"replaceUrl","replaceUrl",jt],routerLink:"routerLink"},standalone:!0,features:[Yc,Lt]});let t=e;return t})(),_g=(()=>{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(l=>{l instanceof Ye&&this.update()})}ngAfterContentInit(){R(this.links.changes,R(null)).pipe(Wt()).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=ie(n).pipe(Wt()).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=Q_(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(mt),S(Ae),S(ot),S(cn),S(Ne,8))},e.\u0275dir=ne({type:e,selectors:[["","routerLinkActive",""]],contentQueries:function(i,o,s){if(i&1&&Up(s,Ne,5),i&2){let a;Bp(a=$p())&&(o.links=a)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[Lt]});let t=e;return t})();function Q_(t){return!!t.paths}var aa=class{};var K_=(()=>{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(xe(n=>n instanceof Ye),At(()=>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=_s(s.providers,n,`Route: ${s.path}`));let a=s._injector??n,l=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(l,s.children??s._loadedRoutes))}return ie(o).pipe(Wt())}preloadConfig(n,i){return this.preloadingStrategy.preload(i,()=>{let o;i.loadChildren&&i.canLoad===void 0?o=this.loader.loadChildren(n,i):o=R(null);let s=o.pipe(fe(a=>a===null?R(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 ie([s,a]).pipe(Wt())}else return s})}};e.\u0275fac=function(i){return new(i||e)(I(mt),I(Rs),I(Me),I(aa),I(sd))},e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Ig=new x(""),J_=(()=>{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={},this.environmentInjector=C(Me),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 Pr?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=n.navigationTrigger,this.restoredId=n.restoredState?n.restoredState.navigationId:0):n instanceof Ye?(this.lastId=n.id,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.urlAfterRedirects).fragment)):n instanceof pn&&n.code===Ks.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 Xs&&(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(()=>Qr(this,null,function*(){yield new Promise(o=>{setTimeout(()=>{o()}),Es(()=>{o()},{injector:this.environmentInjector})}),this.zone.run(()=>{this.transitions.events.next(new Xs(n,this.lastSource==="popstate"?this.store[this.restoredId]:null,i))})}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}};e.\u0275fac=function(i){up()},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})();function X_(t){return t.routerState.root}function zi(t,e){return{\u0275kind:t,\u0275providers:e}}function eI(){let t=C(rt);return e=>{let r=t.get(ln);if(e!==r.components[0])return;let n=t.get(mt),i=t.get(xg);t.get(cd)===1&&n.initialNavigation(),t.get(Sg,null,H.Optional)?.setUpPreloading(),t.get(Ig,null,H.Optional)?.init(),n.resetRootComponentType(r.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}var xg=new x("",{factory:()=>new Ce}),cd=new x("",{providedIn:"root",factory:()=>1});function tI(){return zi(2,[{provide:cd,useValue:0},{provide:As,multi:!0,deps:[rt],useFactory:e=>{let r=e.get(om,Promise.resolve());return()=>r.then(()=>new Promise(n=>{let i=e.get(mt),o=e.get(xg);Eg(i,()=>{n(!0)}),e.get(ld).afterPreactivation=()=>(n(!0),o.closed?R(void 0):o),i.initialNavigation()}))}}])}function nI(){return zi(3,[{provide:As,multi:!0,useFactory:()=>{let e=C(mt);return()=>{e.setUpLocationChangeListener()}}},{provide:cd,useValue:2}])}var Sg=new x("");function rI(t){return zi(0,[{provide:Sg,useExisting:K_},{provide:aa,useExisting:t}])}function iI(){return zi(8,[$m,{provide:la,useExisting:$m}])}function oI(t){let e=[{provide:Cg,useValue:V_},{provide:wg,useValue:b({skipNextTransition:!!t?.skipInitialTransition},t)}];return zi(9,e)}var qm=new x("ROUTER_FORROOT_GUARD"),sI=[xr,{provide:Ui,useClass:Or},mt,Bi,{provide:Gt,useFactory:X_,deps:[mt]},sd,[]],ud=(()=>{let e=class e{constructor(n){}static forRoot(n,i){return{ngModule:e,providers:[sI,[],{provide:sa,multi:!0,useValue:n},{provide:qm,useFactory:uI,deps:[[mt,new ss,new uc]]},{provide:Gi,useValue:i||{}},i?.useHash?lI():cI(),aI(),i?.preloadingStrategy?rI(i.preloadingStrategy).\u0275providers:[],i?.initialNavigation?dI(i):[],i?.bindToComponentInputs?iI().\u0275providers:[],i?.enableViewTransitions?oI().\u0275providers:[],fI()]}}static forChild(n){return{ngModule:e,providers:[{provide:sa,multi:!0,useValue:n}]}}};e.\u0275fac=function(i){return new(i||e)(I(qm,8))},e.\u0275mod=ze({type:e}),e.\u0275inj=Ge({});let t=e;return t})();function aI(){return{provide:Ig,useFactory:()=>{let t=C(cm),e=C(X),r=C(Gi),n=C(ld),i=C(Ui);return r.scrollOffset&&t.setOffset(r.scrollOffset),new J_(i,n,t,e,r)}}}function lI(){return{provide:Bt,useClass:am}}function cI(){return{provide:Bt,useClass:uu}}function uI(t){return"guarded"}function dI(t){return[t.initialNavigation==="disabled"?nI().\u0275providers:[],t.initialNavigation==="enabledBlocking"?tI().\u0275providers:[]]}var Wm=new x("");function fI(){return[{provide:Wm,useFactory:eI},{provide:Ns,multi:!0,useExisting:Wm}]}var pI=()=>["/pro"],Mg=(()=>{let e=class e{constructor(){this.years=new Date().getFullYear()-2009}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=ce({type:e,selectors:[["app-footer"]],standalone:!0,features:[de],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),f(),u(6,"div",6)(7,"h2"),c(8,"Who's behind"),f(),u(9,"p"),c(10,"My name is Daniel Palme. I'm a software developer from Germany."),f(),u(11,"p"),c(12," Back in 2009 I wanted to create code coverage reports based on "),u(13,"i"),c(14,"PartCover"),f(),c(15," files."),p(16,"br"),c(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"),c(19),u(20,"i"),c(21,"ReportGenerator"),f(),c(22,". "),f(),u(23,"p"),c(24," You can support the ongoing maintenance by buying a "),u(25,"a",7),c(26,"PRO license"),f(),c(27," or by becoming a "),p(28,"i",8),c(29,"\xA0"),u(30,"a",9),c(31,"GitHub sponsor"),f(),c(32,". "),f()()()()(),u(33,"div",2)(34,"div",3),p(35,"hr"),f()(),u(36,"div",1)(37,"div",2)(38,"div",3)(39,"div",10)(40,"p")(41,"b"),c(42,"GitHub"),f()(),u(43,"a",11),c(44,"Source code"),f(),p(45,"br"),u(46,"a",12),c(47,"Wiki"),f(),p(48,"br"),u(49,"a",13),c(50,"FAQ"),f()(),u(51,"div",14)(52,"p")(53,"b"),c(54,"Download"),f()(),u(55,"i"),c(56,"NuGet"),f(),p(57,"br"),u(58,"a",15),c(59,"ReportGenerator"),f(),p(60,"br"),u(61,"a",16),c(62,"dotnet-reportgenerator-globaltool"),f(),p(63,"br"),u(64,"a",17),c(65,"ReportGenerator.Core"),f(),p(66,"br")(67,"br"),u(68,"i"),c(69,"Integration"),f(),p(70,"br"),u(71,"a",18),c(72,"GitHub actions"),f(),p(73,"br"),u(74,"a",19),c(75,"Azure DevOps"),f()(),u(76,"div",20)(77,"p")(78,"b"),c(79,"Community"),f()(),u(80,"a",11),p(81,"i",21),c(82," GitHub"),f(),p(83,"br"),u(84,"a",22),p(85,"i",23),c(86," Twitter"),f(),p(87,"br")(88,"br"),u(89,"a",24),c(90,"Privacy"),f(),p(91,"br"),u(92,"a",25),c(93,"Imprint"),f()()()()()()),i&2&&(v(19),ft(" Fast forward ",o.years," years, I'm still maintaining "),v(6),y("routerLink",B(2,pI)))},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 Tg=()=>["/"],mI=t=>({show:t}),jr=()=>["link-active"],Ag=()=>({exact:!0}),gI=()=>["/features"],vI=()=>["/getstarted"],yI=()=>["/usage"],DI=()=>["/contact"],CI=()=>["/pro"],Ng=(()=>{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=ce({type:e,selectors:[["app-nav-menu"]],standalone:!0,features:[de],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),c(6,"ReportGenerator"),f()(),u(7,"button",6),A("click",function(){return o.toggle()}),p(8,"span",7),f(),u(9,"div",8)(10,"ul",9)(11,"li",10)(12,"a",11),c(13,"Home"),f()(),u(14,"li",10)(15,"a",11),c(16,"Features"),f()(),u(17,"li",12)(18,"a",13),c(19,"Get started"),f()(),u(20,"li",12)(21,"a",11),c(22,"Usage"),f()(),u(23,"li",12)(24,"a",11),c(25,"Contact"),f()(),u(26,"li",12)(27,"a",11)(28,"span",14),c(29,"PRO"),f()()()(),p(30,"hr",15),u(31,"ul",16)(32,"li",17)(33,"a",18),p(34,"i",19),u(35,"span",20),c(36,"GitHub"),f()()(),u(37,"li",17)(38,"a",21),p(39,"i",22),u(40,"span",20),c(41,"Twitter"),f()()()()()()()()),i&2&&(v(3),y("routerLink",B(17,Tg)),v(4),Vt("aria-expanded",o.isExpanded),v(2),y("ngClass",Pn(18,mI,o.isExpanded)),v(2),y("routerLinkActive",B(20,jr))("routerLinkActiveOptions",B(21,Ag)),v(),y("routerLink",B(22,Tg)),v(2),y("routerLinkActive",B(23,jr))("routerLinkActiveOptions",B(24,Ag)),v(),y("routerLink",B(25,gI)),v(2),y("routerLinkActive",B(26,jr)),v(),y("routerLink",B(27,vI)),v(2),y("routerLinkActive",B(28,jr)),v(),y("routerLink",B(29,yI)),v(2),y("routerLinkActive",B(30,jr)),v(),y("routerLink",B(31,DI)),v(2),y("routerLinkActive",B(32,jr)),v(),y("routerLink",B(33,CI)))},dependencies:[Ne,Sr,_g],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 Rg=(()=>{let e=class e{constructor(n,i,o){this.dom=n,this.router=i,this.activatedRoute=o}ngOnInit(){this.router.events.pipe(xe(n=>n instanceof Ye),F(()=>this.activatedRoute),F(n=>{for(;n.firstChild;)n=n.firstChild;return n}),xe(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(Ee),S(mt),S(Gt))},e.\u0275cmp=ce({type:e,selectors:[["app-root"]],standalone:!0,features:[de],decls:3,vars:0,template:function(i,o){i&1&&p(0,"app-nav-menu")(1,"router-outlet")(2,"app-footer")},dependencies:[Ng,rd,Mg],encapsulation:2});let t=e;return t})();var Bg=(()=>{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(ot),S(Ae))},e.\u0275dir=ne({type:e});let t=e;return t})(),va=(()=>{let e=class e extends Bg{};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=dt(e)))(o||e)}})(),e.\u0275dir=ne({type:e,features:[Pe]});let t=e;return t})(),Ki=new x("");var wI={provide:Ki,useExisting:He(()=>gn),multi:!0};function bI(){let t=St()?St().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}var EI=new x(""),gn=(()=>{let e=class e extends Bg{constructor(n,i,o){super(n,i),this._compositionMode=o,this._composing=!1,this._compositionMode==null&&(this._compositionMode=!bI())}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(ot),S(Ae),S(EI,8))},e.\u0275dir=ne({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:[ht([wI]),Pe]});let t=e;return t})();function hd(t){return t==null||(typeof t=="string"||Array.isArray(t))&&t.length===0}function _I(t){return t!=null&&typeof t.length=="number"}var zr=new x(""),$g=new x(""),II=/^(?=.{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 xI(t){return hd(t.value)?{required:!0}:null}function SI(t){return hd(t.value)||II.test(t.value)?null:{email:!0}}function MI(t){return e=>_I(e.value)&&e.value.length>t?{maxlength:{requiredLength:t,actualLength:e.value.length}}:null}function TI(t){if(!t)return dd;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(hd(n.value))return null;let i=n.value;return e.test(i)?null:{pattern:{requiredPattern:r,actualValue:i}}}}function dd(t){return null}function Hg(t){return t!=null}function Gg(t){return Fn(t)?ie(t):t}function zg(t){let e={};return t.forEach(r=>{e=r!=null?b(b({},e),r):e}),Object.keys(e).length===0?null:e}function qg(t,e){return e.map(r=>r(t))}function AI(t){return!t.validate}function Wg(t){return t.map(e=>AI(e)?e:r=>e.validate(r))}function NI(t){if(!t)return null;let e=t.filter(Hg);return e.length==0?null:function(r){return zg(qg(r,e))}}function pd(t){return t!=null?NI(Wg(t)):null}function RI(t){if(!t)return null;let e=t.filter(Hg);return e.length==0?null:function(r){let n=qg(r,e).map(Gg);return Wa(n).pipe(F(zg))}}function md(t){return t!=null?RI(Wg(t)):null}function kg(t,e){return t===null?[e]:Array.isArray(t)?[...t,e]:[t,e]}function kI(t){return t._rawValidators}function OI(t){return t._rawAsyncValidators}function fd(t){return t?Array.isArray(t)?t:[t]:[]}function da(t,e){return Array.isArray(t)?t.includes(e):t===e}function Og(t,e){let r=fd(e);return fd(t).forEach(i=>{da(r,i)||r.push(i)}),r}function Pg(t,e){return fd(e).filter(r=>!da(t,r))}var fa=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=pd(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=md(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}},$r=class extends fa{get formDirective(){return null}get path(){return null}},Hr=class extends fa{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}},ha=class{constructor(e){this._cd=e}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}},PI={"[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"},xO=K(b({},PI),{"[class.ng-submitted]":"isSubmitted"}),qr=(()=>{let e=class e extends ha{constructor(n){super(n)}};e.\u0275fac=function(i){return new(i||e)(S(Hr,2))},e.\u0275dir=ne({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,o){i&2&&Is("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:[Pe]});let t=e;return t})(),Wr=(()=>{let e=class e extends ha{constructor(n){super(n)}};e.\u0275fac=function(i){return new(i||e)(S($r,10))},e.\u0275dir=ne({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(i,o){i&2&&Is("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:[Pe]});let t=e;return t})();var qi="VALID",ua="INVALID",Ur="PENDING",Wi="DISABLED",Gr=class{},pa=class extends Gr{constructor(e,r){super(),this.value=e,this.source=r}},Yi=class extends Gr{constructor(e,r){super(),this.pristine=e,this.source=r}},Qi=class extends Gr{constructor(e,r){super(),this.touched=e,this.source=r}},Br=class extends Gr{constructor(e,r){super(),this.status=e,this.source=r}};function Zg(t){return(ya(t)?t.validators:t)||null}function FI(t){return Array.isArray(t)?pd(t):t||null}function Yg(t,e){return(ya(e)?e.asyncValidators:t)||null}function LI(t){return Array.isArray(t)?md(t):t||null}function ya(t){return t!=null&&!Array.isArray(t)&&typeof t=="object"}function VI(t,e,r){let n=t.controls;if(!(e?Object.keys(n):n).length)throw new M(1e3,"");if(!n[r])throw new M(1001,"")}function jI(t,e,r){t._forEachChild((n,i)=>{if(r[i]===void 0)throw new M(1002,"")})}var ma=class{constructor(e,r){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=null,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._events=new Ce,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 valid(){return this.status===qi}get invalid(){return this.status===ua}get pending(){return this.status==Ur}get disabled(){return this.status===Wi}get enabled(){return this.status!==Wi}get dirty(){return!this.pristine}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(Og(e,this._rawValidators))}addAsyncValidators(e){this.setAsyncValidators(Og(e,this._rawAsyncValidators))}removeValidators(e){this.setValidators(Pg(e,this._rawValidators))}removeAsyncValidators(e){this.setAsyncValidators(Pg(e,this._rawAsyncValidators))}hasValidator(e){return da(this._rawValidators,e)}hasAsyncValidator(e){return da(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(b({},e),{sourceControl:n})),r&&e.emitEvent!==!1&&this._events.next(new Qi(!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 Qi(!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(b({},e),{sourceControl:n})),r&&e.emitEvent!==!1&&this._events.next(new Yi(!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 Yi(!0,n))}markAsPending(e={}){this.status=Ur;let r=e.sourceControl??this;e.emitEvent!==!1&&(this._events.next(new Br(this.status,r)),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.markAsPending(K(b({},e),{sourceControl:r}))}disable(e={}){let r=this._parentMarkedDirty(e.onlySelf);this.status=Wi,this.errors=null,this._forEachChild(i=>{i.disable(K(b({},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 Br(this.status,n)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(K(b({},e),{skipPristineCheck:r}),this),this._onDisabledChange.forEach(i=>i(!0))}enable(e={}){let r=this._parentMarkedDirty(e.onlySelf);this.status=qi,this._forEachChild(n=>{n.enable(K(b({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(K(b({},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===qi||this.status===Ur)&&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 Br(this.status,r)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(K(b({},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()?Wi:qi}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e,r){if(this.asyncValidator){this.status=Ur,this._hasOwnPendingAsyncValidator={emitEvent:r!==!1};let n=Gg(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 Br(this.status,r)),this._parent&&this._parent._updateControlsErrors(e,r,n)}_initObservables(){this.valueChanges=new he,this.statusChanges=new he}_calculateStatus(){return this._allControlsDisabled()?Wi:this.errors?ua:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Ur)?Ur:this._anyControlsHaveStatus(ua)?ua:qi}_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 Yi(this.pristine,r))}_updateTouched(e={},r){this.touched=this._anyControlsTouched(),this._events.next(new Qi(this.touched,r)),this._parent&&!e.onlySelf&&this._parent._updateTouched(e,r)}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){ya(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=FI(this._rawValidators)}_assignAsyncValidators(e){this._rawAsyncValidators=Array.isArray(e)?e.slice():e,this._composedAsyncValidatorFn=LI(this._rawAsyncValidators)}},ga=class extends ma{constructor(e,r,n){super(Zg(r),Yg(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={}){jI(this,!0,e),Object.keys(e).forEach(n=>{VI(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 Da=new x("CallSetDisabledState",{providedIn:"root",factory:()=>Ca}),Ca="always";function UI(t,e){return[...e.path,t]}function Qg(t,e,r=Ca){Kg(t,e),e.valueAccessor.writeValue(t.value),(t.disabled||r==="always")&&e.valueAccessor.setDisabledState?.(t.disabled),$I(t,e),GI(t,e),HI(t,e),BI(t,e)}function Fg(t,e){t.forEach(r=>{r.registerOnValidatorChange&&r.registerOnValidatorChange(e)})}function BI(t,e){if(e.valueAccessor.setDisabledState){let r=n=>{e.valueAccessor.setDisabledState(n)};t.registerOnDisabledChange(r),e._registerOnDestroy(()=>{t._unregisterOnDisabledChange(r)})}}function Kg(t,e){let r=kI(t);e.validator!==null?t.setValidators(kg(r,e.validator)):typeof r=="function"&&t.setValidators([r]);let n=OI(t);e.asyncValidator!==null?t.setAsyncValidators(kg(n,e.asyncValidator)):typeof n=="function"&&t.setAsyncValidators([n]);let i=()=>t.updateValueAndValidity();Fg(e._rawValidators,i),Fg(e._rawAsyncValidators,i)}function $I(t,e){e.valueAccessor.registerOnChange(r=>{t._pendingValue=r,t._pendingChange=!0,t._pendingDirty=!0,t.updateOn==="change"&&Jg(t,e)})}function HI(t,e){e.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,t.updateOn==="blur"&&t._pendingChange&&Jg(t,e),t.updateOn!=="submit"&&t.markAsTouched()})}function Jg(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function GI(t,e){let r=(n,i)=>{e.valueAccessor.writeValue(n),i&&e.viewToModelUpdate(n)};t.registerOnChange(r),e._registerOnDestroy(()=>{t._unregisterOnChange(r)})}function zI(t,e){t==null,Kg(t,e)}function qI(t,e){if(!t.hasOwnProperty("model"))return!1;let r=t.model;return r.isFirstChange()?!0:!Object.is(e,r.currentValue)}function WI(t){return Object.getPrototypeOf(t.constructor)===va}function ZI(t,e){t._syncPendingControls(),e.forEach(r=>{let n=r.control;n.updateOn==="submit"&&n._pendingChange&&(r.viewToModelUpdate(n._pendingValue),n._pendingChange=!1)})}function YI(t,e){if(!e)return null;Array.isArray(e);let r,n,i;return e.forEach(o=>{o.constructor===gn?r=o:WI(o)?n=o:i=o}),i||n||r||null}var QI={provide:$r,useExisting:He(()=>jn)},Zi=Promise.resolve(),jn=(()=>{let e=class e extends $r{constructor(n,i,o){super(),this.callSetDisabledState=o,this.submitted=!1,this._directives=new Set,this.ngSubmit=new he,this.form=new ga({},pd(n),md(i))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(n){Zi.then(()=>{let i=this._findContainer(n.path);n.control=i.registerControl(n.name,n.control),Qg(n.control,n,this.callSetDisabledState),n.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(n)})}getControl(n){return this.form.get(n.path)}removeControl(n){Zi.then(()=>{let i=this._findContainer(n.path);i&&i.removeControl(n.name),this._directives.delete(n)})}addFormGroup(n){Zi.then(()=>{let i=this._findContainer(n.path),o=new ga({});zI(o,n),i.registerControl(n.name,o),o.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(n){Zi.then(()=>{let i=this._findContainer(n.path);i&&i.removeControl(n.name)})}getFormGroup(n){return this.form.get(n.path)}updateModel(n,i){Zi.then(()=>{this.form.get(n.path).setValue(i)})}setValue(n){this.control.setValue(n)}onSubmit(n){return this.submitted=!0,ZI(this.form,this._directives),this.ngSubmit.emit(n),n?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(n=void 0){this.form.reset(n),this.submitted=!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(zr,10),S($g,10),S(Da,8))},e.\u0275dir=ne({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:[ht([QI]),Pe]});let t=e;return t})();function Lg(t,e){let r=t.indexOf(e);r>-1&&t.splice(r,1)}function Vg(t){return typeof t=="object"&&t!==null&&Object.keys(t).length===2&&"value"in t&&"disabled"in t}var KI=class extends ma{constructor(e=null,r,n){super(Zg(r),Yg(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}),ya(r)&&(r.nonNullable||r.initialValueIsDefault)&&(Vg(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){Lg(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){Lg(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){Vg(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:Hr,useExisting:He(()=>Un)},jg=Promise.resolve(),Un=(()=>{let e=class e extends Hr{constructor(n,i,o,s,a,l){super(),this._changeDetectorRef=a,this.callSetDisabledState=l,this.control=new KI,this._registered=!1,this.name="",this.update=new he,this._parent=n,this._setValidators(i),this._setAsyncValidators(o),this.valueAccessor=YI(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),qI(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(){Qg(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){jg.then(()=>{this.control.setValue(n,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(n){let i=n.isDisabled.currentValue,o=i!==0&&jt(i);jg.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(n){return this._parent?UI(n,this._parent):[n]}};e.\u0275fac=function(i){return new(i||e)(S($r,9),S(zr,10),S($g,10),S(Ki,10),S(cn,8),S(Da,8))},e.\u0275dir=ne({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:[ht([JI]),Pe,Lt]});let t=e;return t})(),Zr=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=ne({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]});let t=e;return t})();var XI={provide:Ki,useExisting:He(()=>gd),multi:!0};var ex=(()=>{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})(),gd=(()=>{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=C(Da,{optional:!0})??Ca}ngOnInit(){this._control=this._injector.get(Hr),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(ot),S(Ae),S(ex),S(rt))},e.\u0275dir=ne({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:[ht([XI]),Pe]});let t=e;return t})();var tx={provide:Ki,useExisting:He(()=>wa),multi:!0};function Xg(t,e){return t==null?`${e}`:(e&&typeof e=="object"&&(e="Object"),`${t}: ${e}`.slice(0,50))}function nx(t){return t.split(":")[0]}var wa=(()=>{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=Xg(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=nx(n);return this._optionMap.has(i)?this._optionMap.get(i):n}};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=dt(e)))(o||e)}})(),e.\u0275dir=ne({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:[ht([tx]),Pe]});let t=e;return t})(),ev=(()=>{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(Xg(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(Ae),S(ot),S(wa,9))},e.\u0275dir=ne({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}});let t=e;return t})(),rx={provide:Ki,useExisting:He(()=>tv),multi:!0};function Ug(t,e){return t==null?`${e}`:(typeof e=="string"&&(e=`'${e}'`),e&&typeof e=="object"&&(e="Object"),`${t}: ${e}`.slice(0,50))}function ix(t){return t.split(":")[0]}var tv=(()=>{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 l=0;l{let n;return function(o){return(n||(n=dt(e)))(o||e)}})(),e.\u0275dir=ne({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:[ht([rx]),Pe]});let t=e;return t})(),nv=(()=>{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(Ug(this.id,n)),this._select.writeValue(this._select.value))}set value(n){this._select?(this._value=n,this._setElementValue(Ug(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(Ae),S(ot),S(tv,9))},e.\u0275dir=ne({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}});let t=e;return t})();function ox(t){return typeof t=="number"?t:parseInt(t,10)}var ba=(()=>{let e=class e{constructor(){this._validator=dd}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):dd,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=ne({type:e,features:[Lt]});let t=e;return t})();var sx={provide:zr,useExisting:He(()=>Bn),multi:!0};var Bn=(()=>{let e=class e extends ba{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=jt,this.createValidator=n=>xI}enabled(n){return n}};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=dt(e)))(o||e)}})(),e.\u0275dir=ne({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&&Vt("required",o._enabled?"":null)},inputs:{required:"required"},features:[ht([sx]),Pe]});let t=e;return t})();var ax={provide:zr,useExisting:He(()=>Ji),multi:!0},Ji=(()=>{let e=class e extends ba{constructor(){super(...arguments),this.inputName="email",this.normalizeInput=jt,this.createValidator=n=>SI}enabled(n){return n}};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=dt(e)))(o||e)}})(),e.\u0275dir=ne({type:e,selectors:[["","email","","formControlName",""],["","email","","formControl",""],["","email","","ngModel",""]],inputs:{email:"email"},features:[ht([ax]),Pe]});let t=e;return t})();var lx={provide:zr,useExisting:He(()=>vd),multi:!0},vd=(()=>{let e=class e extends ba{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=n=>ox(n),this.createValidator=n=>MI(n)}};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=dt(e)))(o||e)}})(),e.\u0275dir=ne({type:e,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(i,o){i&2&&Vt("maxlength",o._enabled?o.maxlength:null)},inputs:{maxlength:"maxlength"},features:[ht([lx]),Pe]});let t=e;return t})(),cx={provide:zr,useExisting:He(()=>yd),multi:!0},yd=(()=>{let e=class e extends ba{constructor(){super(...arguments),this.inputName="pattern",this.normalizeInput=n=>n,this.createValidator=n=>TI(n)}};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=dt(e)))(o||e)}})(),e.\u0275dir=ne({type:e,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(i,o){i&2&&Vt("pattern",o._enabled?o.pattern:null)},inputs:{pattern:"pattern"},features:[ht([cx]),Pe]});let t=e;return t})();var ux=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=ze({type:e}),e.\u0275inj=Ge({});let t=e;return t})();var vn=(()=>{let e=class e{static withConfig(n){return{ngModule:e,providers:[{provide:Da,useValue:n.callSetDisabledState??Ca}]}}};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=ze({type:e}),e.\u0275inj=Ge({imports:[ux]});let t=e;return t})();var Ea=class{constructor(){this.name="",this.email="",this.message=""}};var _a=(()=>{let e=class e{constructor(n){this.httpClient=n}postContactForm(n){return this.httpClient.post(`${Q.apiBaseUrl}contact`,n)}};e.\u0275fac=function(i){return new(i||e)(I(wi))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})();function fx(t,e){if(t&1){let r=oe();u(0,"form",5,0),A("ngSubmit",function(){L(r);let i=E();return V(i.submit())}),u(2,"div",6)(3,"label",7),c(4,"Name "),u(5,"span",8),c(6,"*"),f()(),u(7,"input",9),le("ngModelChange",function(i){L(r);let o=E();return ue(o.contactViewModel.name,i)||(o.contactViewModel.name=i),V(i)}),f()(),u(8,"div",6)(9,"label",10),c(10,"Email address "),u(11,"span",8),c(12,"*"),f()(),u(13,"input",11),le("ngModelChange",function(i){L(r);let o=E();return ue(o.contactViewModel.email,i)||(o.contactViewModel.email=i),V(i)}),f()(),u(14,"div",6)(15,"label",12),c(16,"Message "),u(17,"span",8),c(18,"*"),f()(),u(19,"textarea",13),le("ngModelChange",function(i){L(r);let o=E();return ue(o.contactViewModel.message,i)||(o.contactViewModel.message=i),V(i)}),f()(),u(20,"button",14),c(21,"Submit"),f()()}if(t&2){let r=xs(1),n=E();v(7),ae("ngModel",n.contactViewModel.name),v(6),ae("ngModel",n.contactViewModel.email),v(6),ae("ngModel",n.contactViewModel.message),v(),y("disabled",!r.valid||n.enableFormCountDown>0)}}function hx(t,e){t&1&&(u(0,"p"),c(1,"Thanks for your message."),f())}function px(t,e){t&1&&(u(0,"p",4),c(1,"Something went wrong. Please try again later."),f())}var rv=(()=>{let e=class e{constructor(n){this.contactService=n,this.contactViewModel=new Ea,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(_a))},e.\u0275cmp=ce({type:e,selectors:[["app-contact-component"]],standalone:!0,features:[de],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),c(2,"Contact"),f(),P(3,fx,22,4,"form",3)(4,hx,2,0,"p")(5,px,2,0,"p",4),f()),i&2&&(v(3),On(!o.success&&!o.error?3:-1),v(),On(o.success?4:-1),v(),On(o.error?5:-1))},dependencies:[vn,Zr,gn,qr,Wr,Bn,Ji,Un,jn]});let t=e;return t})();var iv=()=>["/pro"],ov=(()=>{let e=class e{scrollToAnchor(n){return document.querySelector(n)?.scrollIntoView(!0),!1}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=ce({type:e,selectors:[["app-features-component"]],standalone:!0,features:[de],decls:157,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),c(2,"Features"),f(),u(3,"h2",2),c(4,"Coverage quotas"),f(),u(5,"p"),c(6," The overiew cards provide a quick "),u(7,"span",3),c(8,"overview"),f(),c(9," of your coverage quotas."),p(10,"br"),c(11," You can use them to get a glimpse into the different "),u(12,"a",4),c(13,"coverage metrics"),f(),c(14,"\xA0"),u(15,"a",4),p(16,"i",5),f(),c(17,": "),f(),u(18,"ul")(19,"li"),c(20,"Line coverage"),f(),u(21,"li"),c(22,"Branch coverage"),f(),u(23,"li"),c(24,"Method coverage "),u(25,"a",6)(26,"span",7),c(27,"PRO"),f()()()(),p(28,"img",8)(29,"br"),u(30,"h2",9),c(31,"Coverage history"),f(),u(32,"p"),c(33," The history chart helps you to understand how your coverage quotas are "),u(34,"span",3),c(35,"evolving over time"),f(),c(36,". "),f(),p(37,"img",10)(38,"br"),u(39,"h2",11),c(40,"Summary table / Overview"),f(),u(41,"p"),c(42," The summary table helps you to identify classes with "),u(43,"span",3),c(44,"low test coverage"),f(),c(45,"."),p(46,"br"),c(47," The table offers various "),u(48,"span",3),c(49,"filter and sorting"),f(),c(50," options for quick navigation. "),f(),p(51,"img",12)(52,"br"),u(53,"h2",13),c(54,"Details page"),f(),u(55,"p"),c(56," The details page visualizes your "),u(57,"span",3),c(58,"line and branch coverage"),f(),c(59,". "),f(),u(60,"ul")(61,"li"),c(62,"Colors indicate the coverage status of each line."),f(),u(63,"li"),c(64,"Branch indicators help you to identity uncovered conditions."),f()(),p(65,"img",14)(66,"br"),u(67,"h2",15),c(68,"Metrics"),f(),u(69,"p"),c(70," Depending on your "),u(71,"a",16),c(72,"coverage tool"),f(),c(73,", metrics are provided to get further insigths in your "),u(74,"span",3),c(75,"code quality"),f(),c(76,". "),f(),u(77,"ul")(78,"li"),c(79,"The "),u(80,"a",17),A("click",function(){return o.scrollToAnchor("#details")}),c(81,"details page"),f(),c(82," contains information about the metrics of all methods of a class."),f(),u(83,"li"),c(84,"The "),u(85,"a",17),A("click",function(){return o.scrollToAnchor("#summary")}),c(86,"summary table"),f(),c(87," shows the lowest metrics of all methods of a class "),u(88,"a",6)(89,"span",7),c(90,"PRO"),f()()()(),u(91,"b"),c(92,"Details page"),f(),p(93,"br")(94,"img",18)(95,"br")(96,"br"),u(97,"b"),c(98,"Summary table"),f(),p(99,"br")(100,"img",19)(101,"br"),u(102,"h2",20),c(103,"Risk Hotspots"),f(),u(104,"p"),c(105," Based on the "),u(106,"a",17),A("click",function(){return o.scrollToAnchor("#metrics")}),c(107,"metrics"),f(),c(108," you get a list of potential risk hotspots."),p(109,"br"),c(110," The following metrics are analyzed if available, the warning thresholds are configurable: "),f(),u(111,"ul")(112,"li")(113,"a",21),c(114,"Cyclomatic complexity"),f(),c(115,"\xA0"),u(116,"a",21),p(117,"i",5),f()(),u(118,"li")(119,"a",22),c(120,"NPath complexity"),f(),c(121,"\xA0"),u(122,"a",22),p(123,"i",5),f()(),u(124,"li")(125,"a",23),c(126,"Crap score"),f(),c(127,"\xA0"),u(128,"a",23),p(129,"i",5),f()()(),p(130,"img",24),u(131,"h2",25),c(132,"Raw mode (for "),u(133,"i"),c(134,"Cobertura"),f(),c(135,") "),u(136,"span",7),c(137,"PRO"),f()(),u(138,"p"),c(139,' 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(140,"br"),c(141," This is useful to merge several "),u(142,"i"),c(143,"Cobertura"),f(),c(144," files into a single file, since the original class structure remains untouched. "),f(),u(145,"p"),c(146,"See "),u(147,"a",26),c(148,"Settings"),f(),c(149,"\xA0"),u(150,"a",26),p(151,"i",5),f()(),u(152,"p"),c(153,"Limitation: Raw mode is currently only supported for "),u(154,"i"),c(155,"Cobertura"),f(),c(156," files."),f()()),i&2&&(v(25),y("routerLink",B(2,iv)),v(63),y("routerLink",B(3,iv)))},dependencies:[Ne]});let t=e;return t})();var Re={dotnetSDKVersion:"8.x",majorVersion:"5",version:"5.3.5"};var mx=()=>["/usage"],sv=(()=>{let e=class e{constructor(){this.versions=Re}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=ce({type:e,selectors:[["app-getstarted"]],standalone:!0,features:[de],decls:72,vars:6,consts:[[1,"container"],[1,"mb-4"],[3,"routerLink"],["id","net",1,"mt-5"],["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),c(2,"Get started"),f(),u(3,"h2"),c(4,"General"),f(),u(5,"p"),c(6,"In general you need a tool that instruments your test code and collects coverage information."),p(7,"br"),c(8,"This information is typically stored in a XML file (e.g. in Cobertura format)."),p(9,"br"),u(10,"em"),c(11,"ReportGenerator"),f(),c(12," uses this file and generates a report in HTML format (other formats are available)."),f(),u(13,"p"),c(14,"Use the online "),u(15,"a",2),c(16,"configuration tool"),f(),c(17," to get started quickly."),f(),u(18,"h2",3),c(19,".NET"),f(),u(20,"p"),c(21,"For .NET you can use "),u(22,"a",4),c(23,"coverlet"),f(),c(24," or "),u(25,"a",5),c(26,"altcover"),f(),c(27," for instrumenting your test code."),f(),u(28,"p"),c(29,"After adding the dependencies to your project, you can execute your tests and generate the coverage report."),f(),u(30,"p")(31,"strong"),c(32,"Add dependencies to your "),u(33,"code"),c(34,"*.csproj"),f(),c(35," file:"),f()(),u(36,"pre",6),c(37),f(),u(38,"p")(39,"strong"),c(40,"Execute tests and create coverage report"),f()(),u(41,"pre",6),c(42),f(),u(43,"h2",7),c(44,"Java"),f(),u(45,"p"),c(46,"For Java you can use "),u(47,"a",8),c(48,"JaCoCo"),f(),c(49,` for instrumenting your test code. After adding JaCoCo to your project (here with Maven), you can execute your tests and generate the coverage report.`),f(),u(50,"p")(51,"strong"),c(52,"Add dependencies to your "),u(53,"code"),c(54,"pom.xml"),f(),c(55," file:"),f()(),u(56,"pre",6),c(57,`