1import{$ as Hy,$r as eE,$t as Q_,Ai as io$1,An as VC,Bn as WC,Bt as OM,C as Cr$1,Ca as qC,Cn as U,D,Da as qg,E as Cy,En as Un$1,Et as Lt$1,Fa as s8,Fi as jc$1,Fn as Vn$1,G as Fr$1,Gi as ls$1,Gt as P$1,H as FT,I as EN,Ii as jf,Ir as cN,It as Nd,J as Gm,Jn as X,Jr as dn,Kn as Wr,Kt as PC,L as Ea$1,Li as jy,Lt as Ne$1,Mi as jC,Mr as c8,Mt as Me,N as E8,Na as rh,Nn as Vf,Nr as cE,Oa as qt,On as Ut$1,Pi as jI,Pr as cI,Q as Hf,Qn as Xe$1,Qr as eD,Ri as k,Rr as cn,Rt as Nr$1,Si as ht,Sn as Ty,Tt as LT,U as Fe$1,V as FM,Va as tT,Vi as kr$1,W as Fo$1,Wi as lE,Wr as da$1,Wt as Ot$1,Xr as dx,Y as Gr$1,Ya as v8,Zi as mN,Zn as Xa$1,Zt as Pt$1,_ as Br$1,_n as T,_t as K$1,a as $f,aa as nr,at as Ie,b as CS,ba as po$1,bi as hn$1,c as Av,ci as fx,cn as Ro$1,co as xM,di as g_,dn as S3,do as xt$1,dt as J,eo as vt,er as Xi,f as BI,gi as h8,go as yl,gr as Zs$1,h as Bo$1,ha as oy,hi as gx,hn as St$1,hr as Zn$1,ht as Je$1,ia as nh,ii as fN,it as IS,jr as by,ki as id,l as Ay,m as Bn$1,mr as Ze$1,nr as YC,oi as fe$1,pa as ot,q as G$1,qr as dm,s as AE,sn as Rd,so as xE,st as It$1,ti as ep,tn as Qe$1,u as BD,ui as gN,un as S$1,ur as ZC,ut as Iy,v as C,vi as ha$1,vr as _l,w as Ct$1,wi as hx,wn as UE,xi as hs$1,yo as zC,yr as _w,yt as Ka$1,z as Ee$1,za as tD,zn as W,zt as Ny}from"./chunk-B6M1Bjt5.js";var pt=class{_doc;constructor(n){this._doc=n}manager};var ir=(()=>{class t extends pt{constructor(e){super(e)}supports(e){return!0}addEventListener(e,r,i,o){return e.addEventListener(r,i,o),()=>this.removeEventListener(e,r,i,o)}removeEventListener(e,r,i,o){return e.removeEventListener(r,i,o)}static ɵfac=function(r){return new(r||t)(G$1(Qe$1))};static ɵprov=k({token:t,factory:t.ɵfac})}return t})();var ar=new T(``);var gn=(()=>{class t{_zone;_plugins;_eventNameToPlugin=new Map;constructor(e,r){this._zone=r,e.forEach(s=>{s.manager=this});let i=e.filter(s=>!(s instanceof ir));this._plugins=i.slice().reverse();let o=e.find(s=>s instanceof ir);o&&this._plugins.push(o)}addEventListener(e,r,i,o){return this._findPluginFor(r).addEventListener(e,r,i,o)}getZone(){return this._zone}_findPluginFor(e){let r=this._eventNameToPlugin.get(e);if(r)return r;if(r=this._plugins.find(o=>o.supports(e)),!r)throw new C(-5101,!1);return this._eventNameToPlugin.set(e,r),r}static ɵfac=function(r){return new(r||t)(G$1(ar),G$1(X))};static ɵprov=k({token:t,factory:t.ɵfac})}return t})();var hn=`ng-app-id`;function no(t){for(let n of t)n.remove()}function io(t,n){let e=n.createElement(`style`);return e.textContent=t,e}function Ls(t,n,e,r){let i=t.head?.querySelectorAll(`style[${hn}="${n}"],link[${hn}="${n}"]`);if(!i||i.length===0)return!1;for(let o of i)o.removeAttribute(hn),o instanceof HTMLLinkElement?r.set(o.href.slice(o.href.lastIndexOf(`/`)+1),{usage:0,elements:[o]}):o.textContent&&e.set(o.textContent,{usage:0,elements:[o]});return!0}function pn(t,n){let e=n.createElement(`link`);return e.setAttribute(`rel`,`stylesheet`),e.setAttribute(`href`,t),e}var mn=(()=>{class t{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(e,r,i,o={}){this.doc=e,this.appId=r,this.nonce=i,Ls(e,r,this.inline,this.external)&&this.hosts.add(e.head)}addStyles(e,r){for(let i of e)this.addUsage(i,this.inline,io);r?.forEach(i=>this.addUsage(i,this.external,pn))}removeStyles(e,r){for(let i of e)this.removeUsage(i,this.inline);r?.forEach(i=>this.removeUsage(i,this.external))}addUsage(e,r,i){let o=r.get(e);o?o.usage++:r.set(e,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,i(e,this.doc)))})}removeUsage(e,r){let i=r.get(e);i&&(i.usage--,i.usage<=0&&(no(i.elements),r.delete(e)))}ngOnDestroy(){for(let[,{elements:e}]of[...this.inline,...this.external])no(e);this.hosts.clear()}addHost(e){if(!this.hosts.has(e)){this.hosts.add(e);for(let[r,{elements:i}]of this.inline)i.push(this.addElement(e,io(r,this.doc)));for(let[r,{elements:i}]of this.external)i.push(this.addElement(e,pn(r,this.doc)))}}removeHost(e){this.hosts.delete(e);for(let r of[...this.inline.values(),...this.external.values()]){let i=[];for(let o of r.elements)o.parentNode===e?o.remove():i.push(o);r.elements=i}}addElement(e,r){return this.nonce&&r.setAttribute(`nonce`,this.nonce),e.appendChild(r)}static ɵfac=function(r){return new(r||t)(G$1(Qe$1),G$1(nh),G$1(BI,8),G$1(jI))};static ɵprov=k({token:t,factory:t.ɵfac})}return t})();var fn={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`};var vn=/%COMP%/g;var so=`%COMP%`;var ks=`_nghost-${so}`;var js=`_ngcontent-${so}`;var Fs=!0;var Bs=new T(``,{factory:()=>Fs});function $s(t){return js.replace(vn,t)}function zs(t){return ks.replace(vn,t)}function ao(t,n){return n.map(e=>e.replace(vn,t))}var yn=(()=>{class t{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;constructor(e,r,i,o,s,c,a=null,l=null){this.eventManager=e,this.sharedStylesHost=r,this.appId=i,this.removeStylesOnCompDestroy=o,this.doc=s,this.ngZone=c,this.nonce=a,this.tracingService=l,this.defaultRenderer=new gt(e,s,c,this.tracingService)}createRenderer(e,r){if(!e||!r)return this.defaultRenderer;let i=this.getOrCreateRenderer(e,r);
vendor: 1,044 bytes, line 1
1return i instanceof sr?i.applyToHost(e):i instanceof mt&&i.applyStyles(),i}getOrCreateRenderer(e,r){let i=this.rendererByCompId,o=i.get(r.id);if(!o){let s=this.doc,c=this.ngZone,a=this.eventManager,l=this.sharedStylesHost,u=this.removeStylesOnCompDestroy,f=this.tracingService;switch(r.encapsulation){case Vn$1.Emulated:o=new sr(a,l,r,this.appId,u,s,c,f);break;case Vn$1.ShadowDom:return new or(a,e,r,s,c,this.nonce,f,l);case Vn$1.ExperimentalIsolatedShadowDom:return new or(a,e,r,s,c,this.nonce,f);default:o=new mt(a,l,r,u,s,c,f);break}i.set(r.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(e){this.rendererByCompId.delete(e)}static ɵfac=function(r){return new(r||t)(G$1(gn),G$1(Gm),G$1(nh),G$1(Bs),G$1(Qe$1),G$1(X),G$1(BI),G$1(Zn$1,8))};static ɵprov=k({token:t,factory:t.ɵfac})}return t})();var gt=class{eventManager;doc;ngZone;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(n,e,r,i){this.eventManager=n,this.doc=e,this.ngZone=r,this.tracingService=i}destroy(){}destroyNode=null;
vendor: 4,640 bytes, line 1
1createElement(n,e){return e?this.doc.createElementNS(fn[e]||e,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,e){(oo(n)?n.content:n).appendChild(e)}insertBefore(n,e,r){n&&(oo(n)?n.content:n).insertBefore(e,r)}removeChild(n,e){e.remove()}selectRootElement(n,e){let r=typeof n==`string`?this.doc.querySelector(n):n;if(!r)throw new C(-5104,!1);return e||(r.textContent=``),r}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,e,r,i){if(i){e=i+`:`+e;let o=fn[i];o?n.setAttributeNS(o,e,r):n.setAttribute(e,r)}else n.setAttribute(e,r)}removeAttribute(n,e,r){if(r){let i=fn[r];i?n.removeAttributeNS(i,e):n.removeAttribute(`${r}:${e}`)}else n.removeAttribute(e)}addClass(n,e){n.classList.add(e)}removeClass(n,e){n.classList.remove(e)}setStyle(n,e,r,i){i&(Cr$1.DashCase|Cr$1.Important)?n.style.setProperty(e,r,i&Cr$1.Important?`important`:``):n.style[e]=r}removeStyle(n,e,r){r&Cr$1.DashCase?n.style.removeProperty(e):n.style[e]=``}setProperty(n,e,r){n!=null&&(n[e]=r)}setValue(n,e){n.nodeValue=e}listen(n,e,r,i){if(typeof n==`string`&&(n=Ea$1().getGlobalEventTarget(this.doc,n),!n))throw new C(-5102,!1);let o=this.decoratePreventDefault(r);return this.tracingService?.wrapEventListener&&(o=this.tracingService.wrapEventListener(n,e,o)),this.eventManager.addEventListener(n,e,o,i)}decoratePreventDefault(n){return e=>{if(e===`__ngUnwrap__`)return n;n(e)===!1&&e.preventDefault()}}};function oo(t){return t.tagName===`TEMPLATE`&&t.content!==void 0}var or=class extends gt{hostEl;sharedStylesHost;shadowRoot;constructor(n,e,r,i,o,s,c,a){super(n,i,o,c),this.hostEl=e,this.sharedStylesHost=a,this.shadowRoot=e.attachShadow({mode:`open`}),this.sharedStylesHost&&this.sharedStylesHost.addHost(this.shadowRoot);let l=r.styles;l=ao(r.id,l);for(let f of l){let p=document.createElement(`style`);s&&p.setAttribute(`nonce`,s),p.textContent=f,this.shadowRoot.appendChild(p)}let u=r.getExternalStyles?.();if(u)for(let f of u){let p=pn(f,i);s&&p.setAttribute(`nonce`,s),this.shadowRoot.appendChild(p)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,e){return super.appendChild(this.nodeOrShadowRoot(n),e)}insertBefore(n,e,r){return super.insertBefore(this.nodeOrShadowRoot(n),e,r)}removeChild(n,e){return super.removeChild(null,e)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost&&this.sharedStylesHost.removeHost(this.shadowRoot)}};var mt=class extends gt{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(n,e,r,i,o,s,c,a){super(n,o,s,c),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=i;let l=r.styles;this.styles=a?ao(a,l):l,this.styleUrls=r.getExternalStyles?.(a)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&Bn$1.size===0&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}};var sr=class extends mt{contentAttr;hostAttr;constructor(n,e,r,i,o,s,c,a){let l=i+`-`+r.id;super(n,e,r,o,s,c,a,l),this.contentAttr=$s(l),this.hostAttr=zs(l)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,``)}createElement(n,e){let r=super.createElement(n,e);return super.setAttribute(r,this.contentAttr,``),r}};var cr=class t extends Rd{supportsDOMEvents=!0;static makeCurrent(){gN(new t)}onAndCancel(n,e,r,i){return n.addEventListener(e,r,i),()=>{n.removeEventListener(e,r,i)}}dispatchEvent(n,e){n.dispatchEvent(e)}remove(n){n.remove()}createElement(n,e){return e=e||this.getDefaultDocument(),e.createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument(`fakeTitle`)}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,e){return e===`window`?window:e===`document`?n:e===`body`?n.body:null}getBaseHref(n){let e=Hs();return e==null?null:Vs(e)}resetBaseElement(){yt=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return fx(document.cookie,n)}};var yt=null;function Hs(){return yt=yt||document.head.querySelector(`base`),yt?yt.getAttribute(`href`):null}function Vs(t){return new URL(t,document.baseURI).pathname}var lr=class{addToWindow(n){Ze$1.getAngularTestability=(r,i=!0)=>{let o=n.findTestabilityInTree(r,i);if(o==null)throw new C(5103,!1);return o},Ze$1.getAllAngularTestabilities=()=>n.getAllTestabilities(),Ze$1.getAllAngularRootElements=()=>n.getAllRootElements();let e=r=>{let i=Ze$1.getAllAngularTestabilities(),o=i.length,s=function(){o--,o==0&&r()};
1i.forEach(c=>{c.whenStable(s)})};Ze$1.frameworkStabilizers||(Ze$1.frameworkStabilizers=[]),Ze$1.frameworkStabilizers.push(e)}findTestabilityInTree(n,e,r){if(e==null)return null;return n.getTestability(e)??(r?Ea$1().isShadowRoot(e)?this.findTestabilityInTree(n,e.host,!0):this.findTestabilityInTree(n,e.parentElement,!0):null)}};var co=[`alt`,`control`,`meta`,`shift`];var qs={"\b":`Backspace`," ":`Tab`,"�":`Delete`,"\x1B":`Escape`,Del:`Delete`,Esc:`Escape`,Left:`ArrowLeft`,Right:`ArrowRight`,Up:`ArrowUp`,Down:`ArrowDown`,Menu:`ContextMenu`,Scroll:`ScrollLock`,Win:`OS`};var Gs={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};var lo=(()=>{class t extends pt{constructor(e){super(e)}supports(e){return t.parseEventName(e)!=null}addEventListener(e,r,i,o){let s=t.parseEventName(r),c=t.eventCallback(s.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Ea$1().onAndCancel(e,s.domEventName,c,o))}static parseEventName(e){let r=e.toLowerCase().split(`.`),i=r.shift();if(r.length===0||!(i===`keydown`||i===`keyup`))return null;let o=t._normalizeKey(r.pop()),s=``,c=r.indexOf(`code`);if(c>-1&&(r.splice(c,1),s=`code.`),co.forEach(l=>{let u=r.indexOf(l);u>-1&&(r.splice(u,1),s+=l+`.`)}),s+=o,r.length!=0||o.length===0)return null;let a={};return a.domEventName=i,a.fullKey=s,a}static matchEventFullKeyCode(e,r){let i=qs[e.key]||e.key,o=``;return r.indexOf(`code.`)>-1&&(i=e.code,o=`code.`),i==null||!i?!1:(i=i.toLowerCase(),i===` `?i=`space`:i===`.`&&(i=`dot`),co.forEach(s=>{if(s!==i){let c=Gs[s];c(e)&&(o+=s+`.`)}}),o+=i,o===r)}static eventCallback(e,r,i){return o=>{t.matchEventFullKeyCode(o,e)&&i.runGuarded(()=>r(o))}}static _normalizeKey(e){return e===`esc`?`escape`:e}static ɵfac=function(r){return new(r||t)(G$1(Qe$1))};static ɵprov=k({token:t,factory:t.ɵfac})}return t})();function Ws(){cr.makeCurrent()}function Xs(){return new xt$1}function Js(){return PC(document),document}var Ks=cN(v8,`browser`,[{provide:jI,useValue:gx},{provide:rh,useValue:Ws,multi:!0},{provide:Qe$1,useFactory:Js}]);var Zs=[{provide:Cy,useClass:lr},{provide:Iy,useClass:LT,deps:[X,by,Cy]},{provide:LT,useClass:LT,deps:[X,by,Cy]}];var Qs=[{provide:jc$1,useValue:`root`},{provide:xt$1,useFactory:Xs},{provide:ar,useClass:ir,multi:!0},{provide:ar,useClass:lo,multi:!0},yn,{provide:Gm,useClass:mn},{provide:mn,useExisting:Gm},gn,{provide:Ro$1,useExisting:yn},[]];var ea=(()=>{class t{constructor(){}static ɵfac=function(r){return new(r||t)};static ɵmod=da$1({type:t});static ɵinj=io$1({providers:[...Qs,...Zs],imports:[dx,h8]})}return t})();var oe=class t{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(n){n?typeof n==`string`?this.lazyInit=()=>{this.headers=new Map,n.split(` 2`).forEach(e=>{let r=e.indexOf(`:`);if(r>0){let i=e.slice(0,r),o=e.slice(r+1).trim();this.addHeaderEntry(i,o)}})}:typeof Headers<`u`&&n instanceof Headers?(this.headers=new Map,n.forEac
vendor: 8,901 bytes, line 2
2h((e,r)=>{this.addHeaderEntry(r,e)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(n).forEach(([e,r])=>{this.setHeaderEntries(e,r)})}:this.headers=new Map}has(n){return this.init(),this.headers.has(n.toLowerCase())}get(n){this.init();let e=this.headers.get(n.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(n){return this.init(),this.headers.get(n.toLowerCase())||null}append(n,e){return this.clone({name:n,value:e,op:`a`})}set(n,e){return this.clone({name:n,value:e,op:`s`})}delete(n,e){return this.clone({name:n,value:e,op:`d`})}maybeSetNormalizedName(n,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,n)}init(){this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(n=>this.applyUpdate(n)),this.lazyUpdate=null))}copyFrom(n){n.init(),Array.from(n.headers.keys()).forEach(e=>{this.headers.set(e,n.headers.get(e)),this.normalizedNames.set(e,n.normalizedNames.get(e))})}clone(n){let e=new t;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([n]),e}applyUpdate(n){let e=n.name.toLowerCase();switch(n.op){case`a`:case`s`:let r=n.value;if(typeof r==`string`&&(r=[r]),r.length===0)return;this.maybeSetNormalizedName(n.name,e);let i=(n.op===`a`?this.headers.get(e):void 0)||[];i.push(...r),this.headers.set(e,i);break;case`d`:let o=n.value;if(!o)this.headers.delete(e),this.normalizedNames.delete(e);else{let s=this.headers.get(e);if(!s)return;s=s.filter(c=>o.indexOf(c)===-1),s.length===0?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,s)}break}}addHeaderEntry(n,e){let r=n.toLowerCase();this.maybeSetNormalizedName(n,r),this.headers.has(r)?this.headers.get(r).push(e):this.headers.set(r,[e])}setHeaderEntries(n,e){let r=(Array.isArray(e)?e:[e]).map(o=>o.toString()),i=n.toLowerCase();this.headers.set(i,r),this.maybeSetNormalizedName(n,i)}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>n(this.normalizedNames.get(e),this.headers.get(e)))}};var wn=class{defaultValue;constructor(n){this.defaultValue=n}};var dr=class{map=new Map;set(n,e){return this.map.set(n,e),this}get(n){return this.map.has(n)||this.map.set(n,n.defaultValue()),this.map.get(n)}delete(n){return this.map.delete(n),this}has(n){return this.map.has(n)}keys(){return this.map.keys()}};var hr=class{encodeKey(n){return uo(n)}encodeValue(n){return uo(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}};function ta(t,n){let e=new Map;return t.length>0&&t.replace(/^\?/,``).split(`&`).forEach(i=>{let o=i.indexOf(`=`),[s,c]=o==-1?[n.decodeKey(i),``]:[n.decodeKey(i.slice(0,o)),n.decodeValue(i.slice(o+1))],a=e.get(s)||[];a.push(c),e.set(s,a)}),e}var ra=/%(\d[a-f0-9])/gi;var na={40:`@`,"3A":`:`,24:`$`,"2C":`,`,"3B":`;`,"3D":`=`,"3F":`?`,"2F":`/`};function uo(t){return encodeURIComponent(t).replace(ra,(n,e)=>na[e]??n)}function ur(t){return`${t}`}var de=class t{map;encoder;updates=null;cloneFrom=null;constructor(n={}){if(this.encoder=n.encoder||new hr,n.fromString){if(n.fromObject)throw new C(2805,!1);this.map=ta(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(e=>{let r=n.fromObject[e],i=Array.isArray(r)?r.map(ur):[ur(r)];this.map.set(e,i)})):this.map=null}has(n){return this.init(),this.map.has(n)}get(n){this.init();let e=this.map.get(n);return e?e[0]:null}getAll(n){return this.init(),this.map.get(n)||null}keys(){return this.init(),Array.from(this.map.keys())}append(n,e){return this.clone({param:n,value:e,op:`a`})}appendAll(n){let e=[];return Object.keys(n).forEach(r=>{let i=n[r];Array.isArray(i)?i.forEach(o=>{e.push({param:r,value:o,op:`a`})}):e.push({param:r,value:i,op:`a`})}),this.clone(e)}set(n,e){return this.clone({param:n,value:e,op:`s`})}delete(n,e){return this.clone({param:n,value:e,op:`d`})}toString(){return this.init(),this.keys().map(n=>{let e=this.encoder.encodeKey(n);return this.map.get(n).map(r=>e+`=`+this.encoder.encodeValue(r)).join(`&`)}).filter(n=>n!==``).join(`&`)}clone(n){let e=new t({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(n),e}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(n=>this.map.set(n,this.cloneFrom.map.get(n))),this.updates.forEach(n=>{switch(n.op){case`a`:case`s`:let e=(n.op===`a`?this.map.get(n.param):void 0)||[];e.push(ur(n.value)),this.map.set(n.param,e);break;case`d`:if(n.value!==void 0){let r=this.map.get(n.param)||[],i=r.indexOf(ur(n.value));i!==-1&&r.splice(i,1),r.length>0?this.map.set(n.param,r):this.map.delete(n.param)}else{this.map.delete(n.param);break}}}),this.cloneFrom=this.updates=null)}};function ia(t){switch(t){case`DELETE`:case`GET`:case`HEAD`:case`OPTIONS`:case`JSONP`:return!1;default:return!0}}function ho(t){return typeof ArrayBuffer<`u`&&t instanceof ArrayBuffer}function fo(t){return typeof Blob<`u`&&t instanceof Blob}function po(t){return typeof FormData<`u`&&t instanceof FormData}function oa(t){return typeof URLSearchParams<`u`&&t instanceof URLSearchParams}var Rt=`Content-Type`;var fr=`Accept`;var vo=`text/plain`;var yo=`application/json`;var Ro=`${yo}, ${vo}, */*`;var Fe=class t{url;body=null;headers;context;reportProgress=!1;reportUploadProgress=!1;reportDownloadProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;referrer;integrity;referrerPolicy;responseType=`json`;method;params;urlWithParams;transferCache;timeout;constructor(n,e,r,i){this.url=e,this.method=n.toUpperCase();let o;if(ia(this.method)||i?(this.body=r!==void 0?r:null,o=i):o=r,o){if(this.reportProgress=!!o.reportProgress,this.reportUploadProgress=!!o.reportUploadProgress,this.reportDownloadProgress=!!o.reportDownloadProgress,this.withCredentials=!!o.withCredentials,this.keepalive=!!o.keepalive,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),o.priority&&(this.priority=o.priority),o.cache&&(this.cache=o.cache),o.credentials&&(this.credentials=o.credentials),typeof o.timeout==`number`){if(o.timeout<1||!Number.isInteger(o.timeout))throw new C(2822,``);this.timeout=o.timeout}o.mode&&(this.mode=o.mode),o.redirect&&(this.redirect=o.redirect),o.integrity&&(this.integrity=o.integrity),o.referrer!==void 0&&(this.referrer=o.referrer),o.referrerPolicy&&(this.referrerPolicy=o.referrerPolicy),this.transferCache=o.transferCache}if(this.headers??=new oe,this.context??=new dr,!this.params)this.params=new de,this.urlWithParams=e;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=e;else{let c=e,a=``,l=e.indexOf(`#`);l!==-1&&(a=e.substring(l),c=e.substring(0,l));let u=c.indexOf(`?`),f=u===-1?`?`:u<c.length-1?`&`:``;this.urlWithParams=c+f+s+a}}}serializeBody(){return this.body===null?null:typeof this.body==`string`||ho(this.body)||fo(this.body)||po(this.body)||oa(this.body)?this.body:this.body instanceof de?this.body.toString():typeof this.body==`object`||typeof this.body==`boolean`||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return this.body===null||po(this.body)?null:fo(this.body)?this.body.type||null:ho(this.body)?null:typeof this.body==`string`?vo:this.body instanceof de?`application/x-www-form-urlencoded;charset=UTF-8`:typeof this.body==`object`||typeof this.body==`number`||typeof this.body==`boolean`?yo:null}clone(n={}){let e=n.method||this.method,r=n.url||this.url,i=n.responseType||this.responseType,o=n.keepalive??this.keepalive,s=n.priority||this.priority,c=n.cache||this.cache,a=n.mode||this.mode,l=n.redirect||this.redirect,u=n.credentials||this.credentials,f=n.referrer??this.referrer,p=n.integrity||this.integrity,I=n.referrerPolicy||this.referrerPolicy,D=n.transferCache??this.transferCache,L=n.timeout??this.timeout,A=n.body!==void 0?n.body:this.body,H=n.withCredentials??this.withCredentials,w=n.reportProgress??this.reportProgress,R=n.reportUploadProgress??this.reportUploadProgress,k=n.reportDownloadProgress??this.reportDownloadProgress,me=n.headers||this.headers,M=n.params||this.params,ve=n.context??this.context;return n.setHeaders!==void 0&&(me=Object.keys(n.setHeaders).reduce((ye,le)=>ye.set(le,n.setHeaders[le]),me)),n.setParams&&(M=Object.keys(n.setParams).reduce((ye,le)=>ye.set(le,n.setParams[le]),M)),new t(e,r,A,{params:M,headers:me,context:ve,reportProgress:w,reportUploadProgress:R,reportDownloadProgress:k,responseType:i,withCredentials:H,transferCache:D,keepalive:o,cache:c,priority:s,timeout:L,mode:a,redirect:l,credentials:u,referrer:f,integrity:p,referrerPolicy:I})}};var he=(function(t){return t[t.Sent=0]=`Sent`,t[t.UploadProgress=1]=`UploadProgress`,t[t.ResponseHeader=2]=`Re
2sponseHeader`,t[t.DownloadProgress=3]=`DownloadProgress`,t[t.Response=4]=`Response`,t[t.User=5]=`User`,t})(he||{});var Be=class{headers;status;statusText;url;ok;type;redirected;responseType;constructor(n,e=200,r=`OK`){this.headers=n.headers||new oe,this.status=n.status!==void 0?n.status:e,this.statusText=n.statusText||r,this.url=n.url||null,this.redirected=n.redirected,this.responseType=n.responseType,this.ok=this.status>=200&&this.status<300}};var wt=class t extends Be{constructor(n={}){super(n)}type=he.ResponseHeader;clone(n={}){return new t({headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}};var $e=class t extends Be{body;constructor(n={}){super(n),this.body=n.body!==void 0?n.body:null}type=he.Response;clone(n={}){return new t({body:n.body!==void 0?n.body:this.body,headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0,redirected:n.redirected??this.redirected,responseType:n.responseType??this.responseType})}};var ie=class extends Be{name=`HttpErrorResponse`;message;error;ok=!1;constructor(n){super(n,0,`Unknown Error`),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${n.url||`(unknown url)`}`:this.message=`Http failure response for ${n.url||`(unknown url)`}: ${n.status} ${n.statusText}`,this.error=n.error||null}};var wo=200;var sa=204;var So=(function(t){return t[t.Continue=100]=`Continue`,t[t.SwitchingProtocols=101]=`SwitchingProtocols`,t[t.Processing=102]=`Processing`,t[t.EarlyHints=103]=`EarlyHints`,t[t.Ok=200]=`Ok`,t[t.Created=201]=`Created`,t[t.Accepted=202]=`Accepted`,t[t.NonAuthoritativeInformation=203]=`NonAuthoritativeInformation`,t[t.NoContent=204]=`NoContent`,t[t.ResetContent=205]=`ResetContent`,t[t.PartialContent=206]=`PartialContent`,t[t.MultiStatus=207]=`MultiStatus`,t[t.AlreadyReported=208]=`AlreadyReported`,t[t.ImUsed=226]=`ImUsed`,t[t.MultipleChoices=300]=`MultipleChoices`,t[t.MovedPermanently=301]=`MovedPermanently`,t[t.Found=302]=`Found`,t[t.SeeOther=303]=`SeeOther`,t[t.NotModified=304]=`NotModified`,t[t.UseProxy=305]=`UseProxy`,t[t.Unused=306]=`Unused`,t[t.TemporaryRedirect=307]=`TemporaryRedirect`,t[t.PermanentRedirect=308]=`PermanentRedirect`,t[t.BadRequest=400]=`BadRequest`,t[t.Unauthorized=401]=`Unauthorized`,t[t.PaymentRequired=402]=`PaymentRequired`,t[t.Forbidden=403]=`Forbidden`,t[t.NotFound=404]=`NotFound`,t[t.MethodNotAllowed=405]=`MethodNotAllowed`,t[t.NotAcceptable=406]=`NotAcceptable`,t[t.ProxyAuthenticationRequired=407]=`ProxyAuthenticationRequired`,t[t.RequestTimeout=408]=`RequestTimeout`,t[t.Conflict=409]=`Conflict`,t[t.Gone=410]=`Gone`,t[t.LengthRequired=411]=`LengthRequired`,t[t.PreconditionFailed=412]=`PreconditionFailed`,t[t.PayloadTooLarge=413]=`PayloadTooLarge`,t[t.UriTooLong=414]=`UriTooLong`,t[t.UnsupportedMediaType=415]=`UnsupportedMediaType`,t[t.RangeNotSatisfiable=416]=`RangeNotSatisfiable`,t[t.ExpectationFailed=417]=`ExpectationFailed`,t[t.ImATeapot=418]=`ImATeapot`,t[t.MisdirectedRequest=421]=`MisdirectedRequest`,t[t.UnprocessableEntity=422]=`UnprocessableEntity`,t[t.Locked=423]=`Locked`,t[t.FailedDependency=424]=`FailedDependency`,t[t.TooEarly=425]=`TooEarly`,t[t.UpgradeRequired=426]=`UpgradeRequired`,t[t.PreconditionRequired=428]=`PreconditionRequired`,t[t.TooManyRequests=429]=`TooManyRequests`,t[t.RequestHeaderFieldsTooLarge=431]=`RequestHeaderFieldsTooLarge`,t[t.UnavailableForLegalReasons=451]=`UnavailableForLegalReasons`,t[t.InternalServerError=500]=`InternalServerError`,t[t.NotImplemented=501]=`NotImplemented`,t[t.BadGateway=502]=`BadGateway`,t[t.ServiceUnavailable=503]=`ServiceUnavailable`,t[t.GatewayTimeout=504]=`GatewayTimeout`,t[t.HttpVersionNotSupported=505]=`HttpVersionNotSupported`,t[t.VariantAlsoNegotiates=506]=`VariantAlsoNegotiates`,t[t.InsufficientStorage=507]=`InsufficientStorage`,t[t.LoopDetected=508]=`LoopDetected`,t[t.NotExtended=510]=`NotExtended`,t[t.NetworkAuthenticationRequired=511]=`NetworkAuthenticationRequired`,t})(So||{});var aa=/^\)\]\}',?\n/;var Eo=new T(``,{factory:()=>null});var pr=(()=>{class t{fetchImpl=D(Sn,{optional:!0})?.fetch??((...e)=>globalThis.fetch(...e));ngZone=D(X);destroyRef=D(Ne$1);maxResponseSize=D(Eo);handle(e){return new S$1(r=>{let i=new AbortController;this.doRequest(e,i.signal,r).then(En,s=>r.error(new ie({error:s})));let o;return e.timeout&&(o=this.ngZone.runOutsideAngular(()=>setTimeout(()=>{i.signal.aborted||i.abort(new DOMException(`signal timed out`,`TimeoutError`))},e.timeout))),()=>{o!==void 0&&clearTimeout(o),i.abort()}})}
2doRequest(e,r,i){return dn(this,null,function*(){let o=this.createRequestInit(e),s;try{let A=this.ngZone.runOutsideAngular(()=>this.fetchImpl(e.urlWithParams,W({signal:r},o)));ca(A),i.next({type:he.Sent}),s=yield A}catch(A){i.error(new ie({error:A,status:A.status??0,statusText:A.statusText,url:e.urlWithParams,headers:A.headers}));return}let c=new oe(s.headers),a=s.statusText,l=s.url||e.urlWithParams,u=s.status,f=null,p=e.reportProgress||e.reportDownloadProgress;if(p&&i.next(new wt({headers:c,status:u,statusText:a,url:l})),s.body){let A=s.headers.get(`content-length`),H=A!==null?Number(A):NaN;this.maxResponseSize!==null&&Number.isFinite(H)&&H>this.maxResponseSize&&go(this.maxResponseSize);let w=[],R=s.body.getReader(),k=0,me,M,ve=typeof Zone<`u`&&Zone.current,ye=!1;if(yield this.ngZone.runOutsideAngular(()=>dn(this,null,function*(){for(;;){if(this.destroyRef.destroyed){yield R.cancel(),ye=!0;break}let{done:tt,value:Wr}=yield R.read();if(tt)break;if(w.push(Wr),k+=Wr.length,this.maxResponseSize!==null&&k>this.maxResponseSize&&(yield R.cancel(),go(this.maxResponseSize)),p){M=e.responseType===`text`?(M??``)+(me??=new TextDecoder).decode(Wr,{stream:!0}):void 0;let si=()=>i.next({type:he.DownloadProgress,total:Number.isFinite(H)?H:void 0,loaded:k,partialText:M});ve?ve.run(si):si()}}})),ye){i.complete();return}let le=this.concatChunks(w,k);try{let tt=s.headers.get(Rt)??``;f=this.parseBody(e,le,tt,u)}catch(tt){i.error(new ie({error:tt,headers:new oe(s.headers),status:s.status,statusText:s.statusText,url:s.url||e.urlWithParams}));return}}u===0&&(u=f?wo:0);let I=u>=200&&u<300,D=s.redirected,L=s.type;I?(i.next(new $e({body:f,headers:c,status:u,statusText:a,url:l,redirected:D,responseType:L})),i.complete()):i.error(new ie({error:f,headers:c,status:u,statusText:a,url:l,redirected:D,responseType:L}))})}parseBody(e,r,i,o){switch(e.responseType){case`json`:let s=new TextDecoder().decode(r).replace(aa,``);if(s===``)return null;try{return JSON.parse(s)}catch(c){if(o<200||o>=300)return s;throw c}case`text`:return new TextDecoder().decode(r);case`blob`:return new Blob([r],{type:i});case`arraybuffer`:return r.buffer}}createRequestInit(e){if(e.reportUploadProgress)throw new C(2824,!1);let r={},i;if(i=e.credentials,e.withCredentials&&(i=`include`),e.headers.forEach((o,s)=>r[o]=s.join(`,`)),e.headers.has(fr)||(r[fr]=Ro),!e.headers.has(Rt)){let o=e.detectContentTypeHeader();o!==null&&(r[Rt]=o)}return{body:e.serializeBody(),method:e.method,headers:r,credentials:i,keepalive:e.keepalive,cache:e.cache,priority:e.priority,mode:e.mode,redirect:e.redirect,referrer:e.referrer,integrity:e.integrity,referrerPolicy:e.referrerPolicy}}concatChunks(e,r){let i=new Uint8Array(r),o=0;for(let s of e)i.set(s,o),o+=s.length;return i}static ɵfac=function(r){return new(r||t)};static ɵprov=vt({token:t,factory:t.ɵfac})}return t})();var Sn=class{};function En(){}function ca(t){t.then(En,En)}function go(t){throw new C(-2825,!1)}function To(t,n){return n(t)}function la(t,n){return(e,r)=>n.intercept(e,{handle:i=>t(i,r)})}function ua(t,n,e){return(r,i)=>Xi(e,()=>n(r,o=>t(o,i)))}var bo=new T(``);var bn=new T(``,{factory:()=>[]});var Co=new T(``);var Cn=new T(``,{factory:()=>!0});function da(){let t=null;return(n,e)=>{t===null&&(t=(D(bo,{optional:!0})??[]).reduceRight(la,To));let r=D(hs$1);if(D(Cn)){let o=r.add();return t(n,e).pipe(jf(o))}else return t(n,e)}}var mr=(()=>{class t{static ɵfac=function(r){return new(r||t)};static ɵprov=k({token:t,factory:function(r){let i=null;return r?i=new(r||t):i=G$1(pr),i},providedIn:`root`})}return t})();var gr=(()=>{class t{backend;injector;chain=null;pendingTasks=D(hs$1);contributeToStability=D(Cn);constructor(e,r){this.backend=e,this.injector=r}handle(e){if(this.chain===null){let i=Array.from(new Set([...this.injector.get(bn),...this.injector.get(Co,[])]));this.chain=i.reduceRight((o,s)=>ua(o,s,this.injector),To)}let r=this.chain;if(this.contributeToStability){let i=this.pendingTasks.add();return ha$1(()=>r(e,o=>this.backend.handle(o))).pipe(jf(i))}else return ha$1(()=>r(e,i=>this.backend.handle(i)))}static ɵfac=function(r){return new(r||t)(G$1(mr),G$1(Me))};static ɵprov=k({token:t,factory:t.ɵfac,providedIn:`root`})}return t})();var Mn=(()=>{class t{static ɵfac=function(r){return new(r||t)};static ɵprov=k({token:t,factory:function(r){let i=null;return r?i=new(r||t):i=G$1(gr),i},providedIn:`root`})}return t})();function Rn(t,n){return W({body:n},t)}var Mo=(()=>{class t{handler;constructor(e){this.handler=e}request(e,r,i={}){let o;if(e instanceof Fe)o=e;else{let a;i.headers instanceof oe?a=i.headers:a=new oe(i.headers);let l;i.params&&(i.params instanceof de?l=i.params:l=new de({fromObject:i.params})),o=new Fe(e,r,i.body!==void 0?i.body:null,{headers:a,context:i.context,params:l,reportProgress:i.reportProgress,reportUploadProgress:i.reportUploadProgress,reportDownloadProgress:i.reportDownloadProgress,responseType:i.responseType||`json`,withCredentials:i.withCredentials,transferCache:i.transferCache,keepalive:i.keepalive,priority:i.priority,cache:i.cache,mode:i.mode,redirect:i.redirect,credentials:i.credentials,referrer:i.referrer,referrerPolicy:i.referrerPolicy,integrity:i.integrity,timeout:i.timeout})}let s=eE(o).pipe(UE(a=>this.handler.handle(a)));if(e instanceof Fe||i.observe===`events`)return s;let c=s.pipe(Ut$1(a=>a instanceof $e));switch(i.observe||`body`){case`body`:switch(o.responseType){case`arraybuffer`:return c.pipe(Ie(a=>{if(a.body!==null&&!(a.body instanceof ArrayBuffer))throw new C(2806,!1);return a.body}));case`blob`:return c.pipe(Ie(a=>{if(a.body!==null&&!(a.body instanceof Blob))throw new C(2807,!1);return a.body}));case`text`:return c.pipe(Ie(a=>{if(a.body!==null&&typeof a.body!=`string`)throw new C(2808,!1);return a.body}));default:return c.pipe(Ie(a=>a.body))}case`response`:return c;default:throw new C(2809,!1)}}delete(e,r={}){return this.request(`DELETE`,e,r)}get(e,r={}){return this.request(`GET`,e,r)}head(e,r={}){return this.request(`HEAD`,e,r)}jsonp(e,r){return this.request(`JSONP`,e,{params:new de().append(r,`JSONP_CALLBACK`),observe:`body`,responseType:`json`})}options(e,r={}){return this.request(`OPTIONS`,e,r)}patch(e,r,i={}){return this.request(`PATCH`,e,Rn(i,r))}post(e,r,i={}){return this.request(`POST`,e,Rn(i,r))}put(e,r,i={}){return this.request(`PUT`,e,Rn(i,r))}static ɵfac=function(r){return new(r||t)(G$1(Mn))};static ɵprov=k({token:t,factory:t.ɵfac,providedIn:`root`})}return t})();var ha=/^\)\]\}',?\n/;var Tn=(()=>{class t{xhrFactory;tracingService=D(Zn$1,{optional:!0});constructor(e){this.xhrFactory=e}maybePropagateTrace(e){return this.tracingService?.propagate?this.tracingService.propagate(e):e}handle(e){if(e.method===`JSONP`)throw new C(-2800,!1);let r=this.xhrFactory;return eE(null).pipe(Gr$1(()=>new S$1(o=>{let s=r.build();if(s.open(e.method,e.urlWithParams),e.withCredentials&&(s.withCredentials=!0),e.headers.forEac
2h((w,R)=>s.setRequestHeader(w,R.join(`,`))),e.headers.has(fr)||s.setRequestHeader(fr,Ro),!e.headers.has(Rt)){let w=e.detectContentTypeHeader();w!==null&&s.setRequestHeader(Rt,w)}if(e.timeout&&(s.timeout=e.timeout),e.responseType){let w=e.responseType.toLowerCase();s.responseType=w!==`json`?w:`text`}let c=e.serializeBody(),a=null,l=()=>{if(a!==null)return a;let w=s.statusText||`OK`,R=new oe(s.getAllResponseHeaders()),k=s.responseURL||e.url;return a=new wt({headers:R,status:s.status,statusText:w,url:k}),a},u=this.maybePropagateTrace(()=>{let{headers:w,status:R,statusText:k,url:me}=l(),M=null;R!==sa&&(M=typeof s.response>`u`?s.responseText:s.response),R===0&&(R=M?wo:0);let ve=R>=200&&R<300;if(e.responseType===`json`&&typeof M==`string`){let ye=M;M=M.replace(ha,``);try{M=M!==``?JSON.parse(M):null}catch(le){M=ye,ve&&(ve=!1,M={error:le,text:M})}}ve?(o.next(new $e({body:M,headers:w,status:R,statusText:k,url:me||void 0})),o.complete()):o.error(new ie({error:M,headers:w,status:R,statusText:k,url:me||void 0}))}),f=this.maybePropagateTrace(w=>{let{url:R}=l(),k=new ie({error:w,status:s.status||0,statusText:s.statusText||`Unknown Error`,url:R||void 0});o.error(k)}),p=f;e.timeout&&(p=this.maybePropagateTrace(w=>{let{url:R}=l(),k=new ie({error:new DOMException(`Request timed out`,`TimeoutError`),status:s.status||0,statusText:s.statusText||`Request timeout`,url:R||void 0});o.error(k)}));let I=!1,D=this.maybePropagateTrace(w=>{I||(o.next(l()),I=!0);let R={type:he.DownloadProgress,loaded:w.loaded};w.lengthComputable&&(R.total=w.total),e.responseType===`text`&&s.responseText&&(R.partialText=s.responseText),o.next(R)}),L=this.maybePropagateTrace(w=>{let R={type:he.UploadProgress,loaded:w.loaded};w.lengthComputable&&(R.total=w.total),o.next(R)});s.addEventListener(`load`,u),s.addEventListener(`error`,f),s.addEventListener(`timeout`,p),s.addEventListener(`abort`,f);let A=e.reportProgress||e.reportUploadProgress,H=e.reportProgress||e.reportDownloadProgress;return H&&s.addEventListener(`progress`,D),A&&c!==null&&s.upload&&s.upload.addEventListener(`progress`,L),s.send(c),o.next({type:he.Sent}),()=>{s.removeEventListener(`error`,f),s.removeEventListener(`abort`,f),s.removeEventListener(`load`,u),s.removeEventListener(`timeout`,p),H&&s.removeEventListener(`progress`,D),A&&c!==null&&s.upload&&s.upload.removeEventListener(`progress`,L),s.readyState!==s.DONE&&s.abort()}})))}static ɵfac=function(r){return new(r||t)(G$1(hx))};static ɵprov=k({token:t,factory:t.ɵfac,providedIn:`root`})}return t})();var fa=new T(``,{factory:()=>!0});var pa=`XSRF-TOKEN`;var Io=new T(``,{factory:()=>pa});var ga=`X-XSRF-TOKEN`;var Ao=new T(``,{factory:()=>ga});var ma=(()=>{class t{cookieName=D(Io);doc=D(Qe$1);lastCookieString=``;lastToken=null;parseCount=0;getToken(){let e=this.doc.cookie||``;return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=fx(e,this.cookieName),this.lastCookieString=e),this.lastToken}static ɵfac=function(r){return new(r||t)};static ɵprov=vt({token:t,factory:t.ɵfac})}return t})();var _o=(()=>{class t{static ɵfac=function(r){return new(r||t)};static ɵprov=k({token:t,factory:function(r){let i=null;return r?i=new(r||t):i=G$1(ma),i},providedIn:`root`})}return t})();function va(t,n){if(!D(fa)||t.method===`GET`||t.method===`HEAD`)return n(t);try{let i=D(kr$1).href,{origin:o}=new URL(i),{origin:s}=new URL(t.url,o);if(o!==s)return n(t)}catch(i){return n(t)}let e=D(_o).getToken(),r=D(Ao);return e!=null&&!t.headers.has(r)&&(t=t.clone({headers:t.headers.set(r,e)})),n(t)}var St=(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[t.Xhr=7]=`Xhr`,t})(St||{});function In(t,n){return{ɵkind:t,ɵproviders:n}}function ya(...t){let n=[Mo,pr,gr,{provide:Mn,useExisting:gr},{provide:mr,useFactory:()=>D(pr)},{provide:bn,useValue:va,multi:!0}];for(let e of t)n.push(...e.ɵproviders);return po$1(n)}var mo=new T(``);function Ra(){return In(St.LegacyInterceptors,[{provide:mo,useFactory:da},{provide:bn,useExisting:mo,multi:!0}])}function wa({cookieName:t,headerName:n}){let e=[];return t!==void 0&&e.push({provide:Io,useValue:t}),n!==void 0&&e.push({provide:Ao,useValue:n}),In(St.CustomXsrfConfiguration,e)}function Sa(){return In(St.Xhr,[Tn,{provide:mr,useExisting:Tn}])}var Do=(()=>{class t{_doc;constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||``}static ɵfac=function(r){return new(r||t)(G$1(Qe$1))};static ɵprov=k({token:t,factory:t.ɵfac,providedIn:`root`})}return t})();var Ea=(()=>{class t{static ɵfac=function(r){return new(r||t)};static ɵprov=k({token:t,factory:function(r){let i=null;return r?i=new(r||t):i=G$1(Ta),i},providedIn:`root`})}return t})();var Ta=(()=>
2{class t extends Ea{_doc=D(Qe$1);sanitize(e,r){if(r==null)return null;switch(e){case Nr$1.NONE:return r;case Nr$1.HTML:return Fo$1(r,`HTML`)?Pt$1(r):qg(this._doc,String(r)).toString();case Nr$1.STYLE:return Fo$1(r,`Style`)?Pt$1(r):r;case Nr$1.SCRIPT:if(Fo$1(r,`Script`))return Pt$1(r);throw new C(5200,!1);case Nr$1.URL:return Fo$1(r,`URL`)?Pt$1(r):_l(String(r));case Nr$1.RESOURCE_URL:if(Fo$1(r,`ResourceURL`))return Pt$1(r);throw new C(-5201,!1);default:throw new C(5202,!1)}}bypassSecurityTrustHtml(e){return zC(e)}bypassSecurityTrustStyle(e){return WC(e)}bypassSecurityTrustScript(e){return qC(e)}bypassSecurityTrustUrl(e){return ZC(e)}bypassSecurityTrustResourceUrl(e){return YC(e)}static ɵfac=function(r){return new(r||t)};static ɵprov=vt({token:t,factory:t.ɵfac})}return t})();var m=`primary`;var Ut=Symbol(`RouteTitle`);var Pn=class{params;constructor(n){this.params=n||{}}has(n){return Object.prototype.hasOwnProperty.call(this.params,n)}get(n){if(this.has(n)){let e=this.params[n];return Array.isArray(e)?e[0]:e}return null}getAll(n){if(this.has(n)){let e=this.params[n];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}};function _e(t){return new Pn(t)}function An(t,n,e){for(let r=0;r<t.length;r++){let i=t[r],o=n[r];if(i[0]===`:`)e[i.substring(1)]=o;else if(i!==o.path)return!1}return!0}function jo(t,n,e){let r=e.path.split(`/`),i=r.indexOf(`**`);if(i===-1){if(r.length>t.length||e.pathMatch===`full`&&(n.hasChildren()||r.length<t.length))return null;let a={},l=t.slice(0,r.length);return An(r,l,a)?{consumed:l,posParams:a}:null}if(i!==r.lastIndexOf(`**`))return null;let o=r.slice(0,i),s=r.slice(i+1);if(o.length+s.length>t.length||e.pathMatch===`full`&&n.hasChildren()&&e.path!==`**`)return null;let c={};return!An(o,t.slice(0,o.length),c)||!An(s,t.slice(t.length-s.length),c)?null:{consumed:t,posParams:c}}function Er(t){return new Promise((n,e)=>{t.pipe(Vf()).subscribe({next:r=>n(r),error:r=>e(r)})})}function Ca(t,n){if(t.length!==n.length)return!1;for(let e=0;e<t.length;++e)if(!se(t[e],n[e]))return!1;return!0}function se(t,n){let e=t?On(t):void 0,r=n?On(n):void 0;if(!e||!r||e.length!=r.length)return!1;let i;for(let o=0;o<e.length;o++)if(i=e[o],!Fo(t[i],n[i]))return!1;return!0}function On(t){return[...Object.keys(t),...Object.getOwnPropertySymbols(t)]}function Fo(t,n){if(Array.isArray(t)&&Array.isArray(n)){if(t.length!==n.length)return!1;let e=[...t].sort(),r=[...n].sort();return e.every((i,o)=>r[o]===i)}else return t===n}function Ma(t){return t.length>0?t[t.length-1]:null}function Ne(t){return AE(t)?t:Bo$1(t)?ot(Promise.resolve(t)):eE(t)}function Bo(t){return AE(t)?Er(t):Promise.resolve(t)}var Ia={exact:zo,subset:Ho};var $o={exact:Aa,subset:_a,ignored:()=>!0};var Wn={paths:`exact`,fragment:`ignored`,matrixParams:`ignored`,queryParams:`exact`};var Mt={paths:`subset`,fragment:`ignored`,matrixParams:`ignored`,queryParams:`subset`};function Xn(t,n,e){let r=t instanceof F?t:n.parseUrl(t);return OM(()=>Un(n.lastSuccessfulNavigation()?.finalUrl??new F,r,W(W({},Mt),e)))}function Un(t,n,e){return Ia[e.paths](t.root,n.root,e.matrixParams)&&$o[e.queryParams](t.queryParams,n.queryParams)&&!(e.fragment===`exact`&&t.fragment!==n.fragment)}function Aa(t,n){return se(t,n)}function zo(t,n,e){if(!Ae(t.segments,n.segments)||!Rr(t.segments,n.segments,e)||t.numberOfChildren!==n.numberOfChildren)return!1;for(let r in n.children)if(!t.children[r]||!zo(t.children[r],n.children[r],e))return!1;return!0}function _a(t,n){return Object.keys(n).length<=Object.keys(t).length&&Object.keys(n).every(e=>Fo(t[e],n[e]))}function Ho(t,n,e){return Vo(t,n,n.segments,e)}function Vo(t,n,e,r){if(t.segments.length>e.length){let i=t.segments.slice(0,e.length);return!(!Ae(i,e)||n.hasChildren()||!Rr(i,e,r))}else if(t.segments.length===e.length){if(!Ae(t.segments,e)||!Rr(t.segments,e,r))return!1;for(let i in n.children)if(!t.children[i]||!Ho(t.children[i],n.children[i],r))return!1;return!0}else{let i=e.slice(0,t.segments.length),o=e.slice(t.segments.length);return!Ae(t.segments,i)||!Rr(t.segments,i,r)||!t.children[`primary`]?!1:Vo(t.children[m],n,o,r)}}function Rr(t,n,e){return n.every((r,i)=>$o[e](t[i].parameters,r.parameters))}var F=class{root;queryParams;fragment;_queryParamMap;constructor(n=new S([],{}),e={},r=null){this.root=n,this.queryParams=e,this.fragment=r}get queryParamMap(){return this._queryParamMap??=_e(this.queryParams),this._queryParamMap}toString(){return Pa.serialize(this)}};var S=class{segments;children;parent=null;constructor(n,e){this.segments=n,this.children=e,Object.values(e).forEach(r=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return wr(this)}};var we=class{path;parameters;_parameterMap;constructor(n,e){this.path=n,this.parameters=e}get parameterMap(){return this._parameterMap??=_e(this.parameters),this._parameterMap}toString(){return Go(this)}};function Da(t,n){return Ae(t,n)&&t.every((e,r)=>se(e.parameters,n[r].parameters))}function Ae(t,n){return t.length!==n.length?!1:t.every((e,r)=>e.path===n[r].path)}function Na(t,n){let e=[];
2return Object.entries(t.children).forEach(([r,i])=>{r===`primary`&&(e=e.concat(n(i,r)))}),Object.entries(t.children).forEach(([r,i])=>{r!==`primary`&&(e=e.concat(n(i,r)))}),e}var Te=(()=>{class t{static ɵfac=function(r){return new(r||t)};static ɵprov=vt({token:t,factory:()=>new pe})}return t})();var pe=class{parse(n){let e=new Ln(n);return new F(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(n){return`${`/${Et(n.root,!0)}`}${xa(n.queryParams)}${typeof n.fragment==`string`?`#${Oa(n.fragment)}`:``}`}};var Pa=new pe;function wr(t){return t.segments.map(n=>Go(n)).join(`/`)}function Et(t,n){if(!t.hasChildren())return wr(t);if(n){let e=t.children[`primary`]?Et(t.children[m],!1):``,r=[];return Object.entries(t.children).forEach(([i,o])=>{i!==`primary`&&r.push(`${i}:${Et(o,!1)}`)}),r.length>0?`${e}(${r.join(`//`)})`:e}else{let e=Na(t,(r,i)=>i===`primary`?[Et(t.children[m],!1)]:[`${i}:${Et(r,!1)}`]);return Object.keys(t.children).length===1&&t.children[`primary`]!=null?`${wr(t)}/${e[0]}`:`${wr(t)}/(${e.join(`//`)})`}}function qo(t){return encodeURIComponent(t).replace(/%40/g,`@`).replace(/%3A/gi,`:`).replace(/%24/g,`$`).replace(/%2C/gi,`,`)}function vr(t){return qo(t).replace(/%3B/gi,`;`)}function Oa(t){return encodeURI(t)}function xn(t){return qo(t).replace(/\(/g,`%28`).replace(/\)/g,`%29`).replace(/%26/gi,`&`)}function Sr(t){return decodeURIComponent(t)}function No(t){return Sr(t.replace(/\+/g,`%20`))}function Go(t){return`${xn(t.path)}${Ua(t.parameters)}`}function Ua(t){return Object.entries(t).map(([n,e])=>`;${xn(n)}=${xn(e)}`).join(``)}function xa(t){let n=Object.entries(t).map(([e,r])=>Array.isArray(r)?r.map(i=>`${vr(e)}=${vr(i)}`).join(`&`):`${vr(e)}=${vr(r)}`).filter(e=>e);return n.length?`?${n.join(`&`)}`:``}var La=/^[^\/()?;#]+/;function _n(t){let n=t.match(La);return n?n[0]:``}var ka=/^[^\/()?;=#]+/;function ja(t){let n=t.match(ka);return n?n[0]:``}var Fa=/^[^=?&#]+/;function Ba(t){let n=t.match(Fa);return n?n[0]:``}var $a=/^[^&#]+/;function za(t){let n=t.match($a);return n?n[0]:``}var Ln=class{url;remaining;constructor(n){this.url=n,this.remaining=n}parseRootSegment(){for(;this.consumeOptional(`/`););return this.remaining===``||this.peekStartsWith(`?`)||this.peekStartsWith(`#`)?new S([],{}):new S([],this.parseChildren())}parseQueryParams(){let n={};if(this.consumeOptional(`?`))do this.parseQueryParam(n);while(this.consumeOptional(`&`));return n}parseFragment(){return this.consumeOptional(`#`)?decodeURIComponent(this.remaining):null}parseChildren(n=0){if(n>50)throw new C(4010,!1);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,n));let i={};return this.peekStartsWith(`(`)&&(i=this.parseParens(!1,n)),(e.length>0||Object.keys(r).length>0)&&(i[`primary`]=new S(e,r)),i}parseSegment(){let n=_n(this.remaining);if(n===``&&this.peekStartsWith(`;`))throw new C(4009,!1);return this.capture(n),new we(Sr(n),this.parseMatrixParams())}parseMatrixParams(){let n={};for(;this.consumeOptional(`;`);)this.parseParam(n);return n}parseParam(n){let e=ja(this.remaining);if(!e)return;this.capture(e);let r=``;if(this.consumeOptional(`=`)){let i=_n(this.remaining);i&&(r=i,this.capture(r))}n[Sr(e)]=Sr(r)}parseQueryParam(n){let e=Ba(this.remaining);if(!e)return;this.capture(e);let r=``;if(this.consumeOptional(`=`)){let s=za(this.remaining);s&&(r=s,this.capture(r))}let i=No(e),o=No(r);if(Object.hasOwn(n,i)){let s=n[i];Array.isArray(s)||(s=[s],n[i]=s),s.push(o)}else n[i]=o}parseParens(n,e){let r=Object.create(null);for(this.capture(`(`);!this.consumeOptional(`)`)&&this.remaining.length>0;){let i=_n(this.remaining),o=this.remaining[i.length];if(o!==`/`&&o!==`)`&&o!==`;`)throw new C(4010,!1);let s;i.indexOf(`:`)>-1?(s=i.slice(0,i.indexOf(`:`)),this.capture(s),this.capture(`:`)):n&&(s=`primary`);let c=this.parseChildren(e+1);r[s??`primary`]=Object.keys(c).length===1&&c[`primary`]?c[m]:new S([],c),this.consumeOptional(`//`)}return r}peekStartsWith(n){return this.remaining.startsWith(n)}consumeOptional(n){return this.peekStartsWith(n)?(this.remaining=this.remaining.substring(n.length),!0):!1}capture(n){if(!this.consumeOptional(n))throw new C(4011,!1)}};function Wo(t){return t.segments.length>0?new S([],{[m]:t}):t}function Xo(t){let n=Object.create(null);for(let[r,i]of Object.entries(t.children)){let o=Xo(i);if(r===`primary`&&o.segments.length===0&&o.hasChildren())for(let[s,c]of Object.entries(o.children))n[s]=c;else(o.segments.length>0||o.hasChildren())&&(n[r]=o)}return Ha(new S(t.segments,n))}function Ha(t){if(t.numberOfChildren===1&&t.children[`primary`]){let n=t.children[m];return new S(t.segments.concat(n.segments),n.children)}return t}function Se(t){return t instanceof F}function Jo(t,n,e=null,r=null,i=new pe){return Ko(Yo(t),n,e,r,i)}function Yo(t){let n;function e(o){let s={};for(let a of o.children){let l=e(a);s[a.outlet]=l}let c=new S(o.url,s);return o===t&&(n=c),c}let i=Wo(e(t.root));return n??i}function Ko(t,n,e,r,i){let o=t;for(;o.parent;)o=o.parent;if(n.length===0)return Dn(o,o,o,e,r,i);let s=Va(n);if(s.toRoot())return Dn(o,o,new S([],{}),e,r,i);let c=qa(s,o,t),a=c.processChildren?bt(c.segmentGroup,c.index,s.commands):Qo(c.segmentGroup,c.index,s.commands);return Dn(o,c.segmentGroup,a,e,r,i)}function Tr(t){return typeof t==`object`&&t!=null&&!t.outlets&&!t.segmentPath}function It(t){return typeof t==`object`&&t!=null&&t.outlets}function Po(t,n,e){t||=`ɵ`;let r=new F;return r.queryParams={[t]:n},e.parse(e.serialize(r)).queryParams[t]}function Dn(t,n,e,r,i,o){let s={};for(let[l,u]of Object.entries(r??{}))s[l]=Array.isArray(u)?u.map(f=>Po(l,f,o)):Po(l,u,o);let c;t===n?c=e:c=Zo(t,n,e);return new F(Wo(Xo(c)),s,i)}function Zo(t,n,e){let r=Object.create(null);
vendor: 4,815 bytes, line 2
2return Object.entries(t.children).forEach(([i,o])=>{o===n?r[i]=e:r[i]=Zo(o,n,e)}),new S(t.segments,r)}var br=class{isAbsolute;numberOfDoubleDots;commands;constructor(n,e,r){if(this.isAbsolute=n,this.numberOfDoubleDots=e,this.commands=r,n&&r.length>0&&Tr(r[0]))throw new C(4003,!1);let i=r.find(It);if(i&&i!==Ma(r))throw new C(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]==`/`}};function Va(t){if(typeof t[0]==`string`&&t.length===1&&t[0]===`/`)return new br(!0,0,t);let n=0,e=!1,r=t.reduce((i,o,s)=>{if(typeof o==`object`&&o!=null){if(o.outlets){let c={};return Object.entries(o.outlets).forEach(([a,l])=>{c[a]=typeof l==`string`?l.split(`/`):l}),[...i,{outlets:c}]}if(o.segmentPath)return[...i,o.segmentPath]}return typeof o!=`string`?[...i,o]:s===0?(o.split(`/`).forEach((c,a)=>{a==0&&c===`.`||(a==0&&c===``?e=!0:c===`..`?n++:c!=``&&i.push(c))}),i):[...i,o]},[]);return new br(e,n,r)}var He=class{segmentGroup;processChildren;index;constructor(n,e,r){this.segmentGroup=n,this.processChildren=e,this.index=r}};function qa(t,n,e){if(t.isAbsolute)return new He(n,!0,0);if(!e)return new He(n,!1,NaN);if(e.parent===null)return new He(e,!0,0);let r=Tr(t.commands[0])?0:1;return Ga(e,e.segments.length-1+r,t.numberOfDoubleDots)}function Ga(t,n,e){let r=t,i=n,o=e;for(;o>i;){if(o-=i,r=r.parent,!r)throw new C(4005,!1);i=r.segments.length}return new He(r,!1,i-o)}function Wa(t){return It(t[0])?t[0].outlets:{[m]:t}}function Qo(t,n,e){if(t??=new S([],{}),t.segments.length===0&&t.hasChildren())return bt(t,n,e);let r=Xa(t,n,e),i=e.slice(r.commandIndex);if(r.match&&r.pathIndex<t.segments.length){let o=new S(t.segments.slice(0,r.pathIndex),{});return o.children[m]=new S(t.segments.slice(r.pathIndex),t.children),bt(o,0,i)}else return r.match&&i.length===0?new S(t.segments,{}):r.match&&!t.hasChildren()?kn(t,n,e):r.match?bt(t,0,i):kn(t,n,e)}function bt(t,n,e){if(e.length===0)return new S(t.segments,{});{let r=Wa(e),i=Object.create(null);if(Object.keys(r).some(o=>o!==`primary`)&&t.children[`primary`]&&t.numberOfChildren===1&&t.children[`primary`].segments.length===0){let o=bt(t.children[m],n,e);return new S(t.segments,o.children)}return Object.entries(r).forEach(([o,s])=>{typeof s==`string`&&(s=[s]),s!==null&&(i[o]=Qo(t.children[o],n,s))}),Object.entries(t.children).forEach(([o,s])=>{r[o]===void 0&&(i[o]=s)}),new S(t.segments,i)}}function Xa(t,n,e){let r=0,i=n,o={match:!1,pathIndex:0,commandIndex:0};for(;i<t.segments.length;){if(r>=e.length)return o;let s=t.segments[i],c=e[r];if(It(c))break;let a=`${c}`,l=r<e.length-1?e[r+1]:null;if(i>0&&a===void 0)break;if(a&&l&&typeof l==`object`&&l.outlets===void 0){if(!Uo(a,l,s))return o;r+=2}else{if(!Uo(a,{},s))return o;r++}i++}return{match:!0,pathIndex:i,commandIndex:r}}function kn(t,n,e){let r=t.segments.slice(0,n),i=0;for(;i<e.length;){let o=e[i];if(It(o))return new S(r,Ja(o.outlets));if(i===0&&Tr(e[0])){let a=t.segments[n];r.push(new we(a.path,Oo(e[0]))),i++;continue}let s=It(o)?o.outlets[m]:`${o}`,c=i<e.length-1?e[i+1]:null;s&&c&&Tr(c)?(r.push(new we(s,Oo(c))),i+=2):(r.push(new we(s,{})),i++)}return new S(r,{})}function Ja(t){let n={};return Object.entries(t).forEach(([e,r])=>{typeof r==`string`&&(r=[r]),r!==null&&(n[e]=kn(new S([],{}),0,r))}),n}function Oo(t){let n={};return Object.entries(t).forEach(([e,r])=>n[e]=`${r}`),n}function Uo(t,n,e){return t==e.path&&se(n,e.parameters)}var Ve=`imperative`;var P=(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})(P||{});var q=class{id;url;constructor(n,e){this.id=n,this.url=e}};var Ee=class extends q{type=P.NavigationStart;navigationTrigger;restoredState;constructor(n,e,r=`imperative`,i=null){super(n,e),this.navigationTrigger=r,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}};var G=class extends q{urlAfterRedirects;type=P.NavigationEnd;constructor(n,e,r){super(n,e),this.urlAfterRedirects=r}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}};var x=(function(t){return t[t.Redirect=0]=`Redirect`,t[t.SupersededByNewNavigation=1]=`SupersededByNewNavigation`,t[t.NoDataFromRe
2solver=2]=`NoDataFromResolver`,t[t.GuardRejected=3]=`GuardRejected`,t[t.Aborted=4]=`Aborted`,t})(x||{});var Ge=(function(t){return t[t.IgnoredSameUrlNavigation=0]=`IgnoredSameUrlNavigation`,t[t.IgnoredByUrlHandlingStrategy=1]=`IgnoredByUrlHandlingStrategy`,t})(Ge||{});var K=class extends q{reason;code;type=P.NavigationCancel;constructor(n,e,r,i){super(n,e),this.reason=r,this.code=i}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}};function es(t){return t instanceof K&&(t.code===x.Redirect||t.code===x.SupersededByNewNavigation)}var ae=class extends q{reason;code;type=P.NavigationSkipped;constructor(n,e,r,i){super(n,e),this.reason=r,this.code=i}};var De=class extends q{error;target;type=P.NavigationError;constructor(n,e,r,i){super(n,e),this.error=r,this.target=i}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}};var At=class extends q{urlAfterRedirects;state;type=P.RoutesRecognized;constructor(n,e,r,i){super(n,e),this.urlAfterRedirects=r,this.state=i}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}};var Cr=class extends q{urlAfterRedirects;state;type=P.GuardsCheckStart;constructor(n,e,r,i){super(n,e),this.urlAfterRedirects=r,this.state=i}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}};var Mr=class extends q{urlAfterRedirects;state;shouldActivate;type=P.GuardsCheckEnd;constructor(n,e,r,i,o){super(n,e),this.urlAfterRedirects=r,this.state=i,this.shouldActivate=o}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}};var Ir=class extends q{urlAfterRedirects;state;type=P.ResolveStart;constructor(n,e,r,i){super(n,e),this.urlAfterRedirects=r,this.state=i}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}};var Ar=class extends q{urlAfterRedirects;state;type=P.ResolveEnd;constructor(n,e,r,i){super(n,e),this.urlAfterRedirects=r,this.state=i}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}};var _r=class{route;type=P.RouteConfigLoadStart;constructor(n){this.route=n}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}};var Dr=class{route;type=P.RouteConfigLoadEnd;constructor(n){this.route=n}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}};var Nr=class{snapshot;type=P.ChildActivationStart;constructor(n){this.snapshot=n}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||``}')`}};var Pr=class{snapshot;type=P.ChildActivationEnd;constructor(n){this.snapshot=n}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||``}')`}};var Or=class{snapshot;type=P.ActivationStart;constructor(n){this.snapshot=n}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||``}')`}};var Ur=class{snapshot;type=P.ActivationEnd;constructor(n){this.snapshot=n}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||``}')`}};var We=class{routerEvent;position;anchor;scrollBehavior;type=P.Scroll;constructor(n,e,r,i){this.routerEvent=n,this.position=e,this.anchor=r,this.scrollBehavior=i}toString(){let n=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${n}')`}};var Xe=class{};var _t=class{};var Je=class{url;navigationBehaviorOptions;constructor(n,e){this.url=n,this.navigationBehaviorOptions=e}};function Ya(t){return!(t instanceof Xe)&&!(t instanceof Je)&&!(t instanceof _t)}var xr=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return this.route?.snapshot._environmentInjector??this.rootInjector}constructor(n){this.rootInjector=n,this.children=new Pe(this.rootInjector)}};var Pe=(()=>{class t{rootInjector;contexts=new Map;constructor(e){this.rootInjector=e}onChildOutletCreated(e,r){let i=this.getOrCreateContext(e);i.outlet=r,this.contexts.set(e,i)}onChildOutletDestroyed(e){let r=this.getContext(e);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){let e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let r=this.getContext(e);return r||(r=new xr(this.rootInjector),this.contexts.set(e,r)),r}getContext(e){return this.contexts.get(e)||null}static ɵfac=function(r){return new(r||t)(G$1(Me))};static ɵprov=k({token:t,factory:t.ɵfac,providedIn:`root`})}return t})();var Lr=class{_root;constructor(n){this._root=n}get root(){return this._root.value}
vendor: 8,097 bytes, line 2
2parent(n){let e=this.pathFromRoot(n);return e.length>1?e[e.length-2]:null}children(n){let e=jn(n,this._root);return e?e.children.map(r=>r.value):[]}firstChild(n){let e=jn(n,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(n){let e=Fn(n,this._root);return e.length<2?[]:e[e.length-2].children.map(i=>i.value).filter(i=>i!==n)}pathFromRoot(n){return Fn(n,this._root).map(e=>e.value)}};function jn(t,n){if(t===n.value)return n;for(let e of n.children){let r=jn(t,e);if(r)return r}return null}function Fn(t,n){if(t===n.value)return[n];for(let e of n.children){let r=Fn(t,e);if(r.length)return r.unshift(n),r}return[]}var V=class{value;children;constructor(n,e){this.value=n,this.children=e}toString(){return`TreeNode(${this.value})`}};function ze(t){let n={};return t&&t.children.forEach(e=>n[e.value.outlet]=e),n}var Dt=class extends Lr{snapshot;constructor(n,e){super(n),this.snapshot=e,Yn(this,n)}toString(){return this.snapshot.toString()}};function ts(t,n){let e=Ka(t,n),r=new Wr([new we(``,{})]),i=new Wr({}),o=new Wr({}),a=new ce(r,i,new Wr({}),new Wr(``),o,m,t,e.root);return a.snapshot=e.root,new Dt(new V(a,[]),e)}function Ka(t,n){return new Nt(``,new V(new Ye([],{},{},``,{},m,t,null,{},n),[]))}var ce=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;_localInjector;constructor(n,e,r,i,o,s,c,a){this.urlSubject=n,this.paramsSubject=e,this.queryParamsSubject=r,this.fragmentSubject=i,this.dataSubject=o,this.outlet=s,this.component=c,this._futureSnapshot=a,this.title=this.dataSubject?.pipe(Ie(l=>l[Ut]))??eE(void 0),this.url=n,this.params=e,this.queryParams=r,this.fragment=i,this.data=o}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(Ie(n=>_e(n))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(Ie(n=>_e(n))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};var Za=`always`;function Jn(t,n,e){let r,{routeConfig:i}=t;return n!==null&&(e===`always`||i?.path===``||!n.component&&!n.routeConfig?.loadComponent)?r={params:W(W({},n.params),t.params),data:W(W({},n.data),t.data),resolve:W(W(W(W({},t.data),n.data),i?.data),t._resolvedData)}:r={params:W({},t.params),data:W({},t.data),resolve:W(W({},t.data),t._resolvedData??{})},i&&ns(i)&&(r.resolve[Ut]=i.title),r}var Ye=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;_environmentInjector;get title(){return this.data?.[Ut]}constructor(n,e,r,i,o,s,c,a,l,u){this.url=n,this.params=e,this.queryParams=r,this.fragment=i,this.data=o,this.outlet=s,this.component=c,this.routeConfig=a,this._resolve=l,this._environmentInjector=u}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=_e(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=_e(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(r=>r.toString()).join(`/`)}', path:'${this.routeConfig?this.routeConfig.path:``}')`}};var Nt=class extends Lr{url;constructor(n,e){super(e),this.url=n,Yn(this,e)}toString(){return rs(this._root)}};function Yn(t,n){n.value._routerState=t,n.children.forEach(e=>Yn(t,e))}function rs(t){let n=t.children.length>0?` { ${t.children.map(rs).join(`, `)} } `:``;return`${t.value}${n}`}function Nn(t){if(t.snapshot){let n=t.snapshot,e=t._futureSnapshot;t.snapshot=e,se(n.queryParams,e.queryParams)||t.queryParamsSubject.next(e.queryParams),n.fragment!==e.fragment&&t.fragmentSubject.next(e.fragment),se(n.params,e.params)||t.paramsSubject.next(e.params),Ca(n.url,e.url)||t.urlSubject.next(e.url),se(n.data,e.data)||t.dataSubject.next(e.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function Bn(t,n){let e=se(t.params,n.params)&&Da(t.url,n.url),r=!t.parent!=!n.parent;return e&&!r&&(!t.parent||Bn(t.parent,n.parent))}function ns(t){return typeof t.title==`string`||t.title===null}var is=new T(``);var Kn=(()=>{class t{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=m;activateEvents=new St$1;deactivateEvents=new St$1;attachEvents=new St$1;detachEvents=new St$1;routerOutletData=c8();parentContexts=D(Pe);location=D(Je$1);changeDetector=D(Nd);inputBinder=D(xt,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(e){if(e.name){let{firstChange:r,previousValue:i}=e.name;if(r)return;this.isTrackedInParentContexts(i)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(i)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(e){return this.parentContexts.getContext(e)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let e=this.parentContexts.getContext(this.name);e?.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new C(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new C(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new C(4012,!1);this.location.detach();let e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,r){this.activated=e,this._activatedRoute=r,this.location.insert(e.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(e.instance)}deactivate(){if(this.activated){let e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,r){if(this.isActivated)throw new C(4013,!1);this._activatedRoute=e;let i=this.location,s=e.snapshot.component,c=this.parentContexts.getOrCreateContext(this.name).children,a=new $n(e,c,i.injector,this.routerOutletData);this.activated=i.createComponent(s,{index:i.length,injector:a,environmentInjector:r}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static ɵfac=function(r){return new(r||t)};static ɵdir=Xe$1({type:t,selectors:[[`router-outlet`]],inputs:{name:`name`,routerOutletData:[1,`routerOutletData`]},outputs:{activateEvents:`activate`,deactivateEvents:`deactivate`,attachEvents:`attach`,detachEvents:`detach`},exportAs:[`outlet`],features:[Zs$1]})}return t})();var $n=class{route;childContexts;parent;outletData;constructor(n,e,r,i){this.route=n,this.childContexts=e,this.parent=r,this.outletData=i}get(n,e){return n===ce?this.route:n===Pe?this.childContexts:n===is?this.outletData:this.parent.get(n,e)}};var xt=new T(``);var os=(()=>{class t{options;outletDataSubscriptions=new Map;outletSeenKeys=new Map;constructor(e){this.options=e,this.options.queryParams??=!0}bindActivatedRouteToOutletComponent(e){this.unsubscribeFromRouteData(e),this.subscribeToRouteData(e)}unsubscribeFromRouteData(e){this.outletDataSubscriptions.get(e)?.unsubscribe(),this.outletDataSubscriptions.delete(e),this.outletSeenKeys.delete(e)}subscribeToRouteData(e){let{activatedRoute:r}
2=e,i=cE([this.options.queryParams?r.queryParams:eE({}),r.params,r.data]).pipe(Gr$1(([o,s,c],a)=>(c=W(W(W({},o),s),c),a===0?eE(c):Promise.resolve(c)))).subscribe(o=>{if(!e.isActivated||!e.activatedComponentRef||e.activatedRoute!==r||r.component===null){this.unsubscribeFromRouteData(e);return}let s=E8(r.component);if(!s){this.unsubscribeFromRouteData(e);return}let c=this.outletSeenKeys.get(e);c||(c=new Set,this.outletSeenKeys.set(e,c));for(let l of Object.keys(o))c.add(l);let a=this.options.unmatchedInputBehavior??`alwaysUndefined`;for(let{templateName:l}of s.inputs){let u=o[l];(u!==void 0||a===`alwaysUndefined`||c.has(l))&&e.activatedComponentRef.setInput(l,u)}});this.outletDataSubscriptions.set(e,i)}static ɵfac=function(r){g_()};static ɵprov=k({token:t,factory:t.ɵfac})}return t})();var Zn=(()=>{class t{static ɵfac=function(r){return new(r||t)};static ɵcmp=Q_({type:t,selectors:[[`ng-component`]],exportAs:[`emptyRouterOutlet`],decls:1,vars:0,template:function(r,i){r&1&&Ay(0,`router-outlet`)},dependencies:[Kn],encapsulation:2,changeDetection:1})}return t})();function Qn(t){let n=t.children&&t.children.map(Qn),e=n?K$1(W({},t),{children:n}):W({},t);return!e.component&&!e.loadComponent&&(n||e.loadChildren)&&e.outlet&&e.outlet!==`primary`&&(e.component=Zn),e}function Qa(t,n,e){let r=new Set;return{newlyCreatedRoutes:r,state:new Dt(Pt(t,n._root,e?e._root:void 0,r),n)}}function Pt(t,n,e,r){if(e&&t.shouldReuseRoute(n.value,e.value.snapshot)){let i=e.value;i._futureSnapshot=n.value;return new V(i,ec(t,n,e,r))}else{if(t.shouldAttach(n.value)){let s=t.retrieve(n.value);if(s!==null){let c=s.route;return c.value._futureSnapshot=n.value,c.children=n.children.map(a=>Pt(t,a,void 0,r)),c}}let i=tc(n.value);r.add(i);return new V(i,n.children.map(s=>Pt(t,s,void 0,r)))}}function ec(t,n,e,r){return n.children.map(i=>{for(let o of e.children)if(t.shouldReuseRoute(i.value,o.value.snapshot))return Pt(t,i,o,r);return Pt(t,i,void 0,r)})}function tc(t){return new ce(new Wr(t.url),new Wr(t.params),new Wr(t.queryParams),new Wr(t.fragment),new Wr(t.data),t.outlet,t.component,t)}var Ke=class{redirectTo;navigationBehaviorOptions;constructor(n,e){this.redirectTo=n,this.navigationBehaviorOptions=e}};var ss=`ngNavigationCancelingError`;function kr(t,n){let{redirectTo:e,navigationBehaviorOptions:r}=Se(n)?{redirectTo:n,navigationBehaviorOptions:void 0}:n,i=as(!1,x.Redirect);return i.url=e,i.navigationBehaviorOptions=r,i}function as(t,n){let e=new Error(`NavigationCancelingError: ${t||``}`);return e[ss]=!0,e.cancellationCode=n,e}function rc(t){return cs(t)&&Se(t.url)}function cs(t){return!!t&&t[ss]}var zn=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(n,e,r,i,o){this.routeReuseStrategy=n,this.futureState=e,this.currState=r,this.forwardEvent=i,this.inputBindingEnabled=o}activate(n){let e=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,r,n),Nn(this.futureState.root),this.activateChildRoutes(e,r,n)}deactivateChildRoutes(n,e,r){let i=ze(e);n.children.forEach(o=>{let s=o.value.outlet;this.deactivateRoutes(o,i[s],r),delete i[s]}),Object.values(i).forEach(o=>{this.deactivateRouteAndItsChildren(o,r)})}deactivateRoutes(n,e,r){let i=n.value,o=e?e.value:null;if(i===o)if(i.component){let s=r.getContext(i.outlet);s&&this.deactivateChildRoutes(n,e,s.children)}else this.deactivateChildRoutes(n,e,r);else o&&this.deactivateRouteAndItsChildren(e,r)}deactivateRouteAndItsChildren(n,e){n.value.component&&this.routeReuseStrategy.shouldDetach(n.value.snapshot)?this.detachAndStoreRouteSubtree(n,e):this.deactivateRouteAndOutlet(n,e)}detachAndStoreRouteSubtree(n,e){let r=e.getContext(n.value.outlet),i=r&&n.value.component?r.children:e,o=ze(n);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);if(r&&r.outlet){let s=r.outlet.detach(),c=r.children.onOutletDeactivated();this.routeReuseStrategy.store(n.value.snapshot,{componentRef:s,route:n,contexts:c})}}deactivateRouteAndOutlet(n,e){let r=e.getContext(n.value.outlet),i=r&&n.value.component?r.children:e,o=ze(n);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);r&&(r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated()),r.attachRef=null,r.route=null),n.value._localInjector?.destroy()}activateChildRoutes(n,e,r){let i=ze(e);
vendor: 4,409 bytes, line 2
2n.children.forEach(o=>{this.activateRoutes(o,i[o.value.outlet],r),this.forwardEvent(new Ur(o.value.snapshot))}),n.children.length&&this.forwardEvent(new Pr(n.value.snapshot))}activateRoutes(n,e,r){let i=n.value,o=e?e.value:null;if(Nn(i),i===o)if(i.component){let s=r.getOrCreateContext(i.outlet);this.activateChildRoutes(n,e,s.children)}else this.activateChildRoutes(n,e,r);else if(i.component){let s=r.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){let c=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),s.children.onOutletReAttached(c.contexts),s.attachRef=c.componentRef,s.route=c.route.value,s.outlet&&s.outlet.attach(c.componentRef,c.route.value),Nn(c.route.value),this.activateChildRoutes(n,null,s.children)}else s.attachRef=null,s.route=i,s.outlet&&s.outlet.activateWith(i,s.injector),this.activateChildRoutes(n,null,s.children)}else this.activateChildRoutes(n,null,r)}};var jr=class{path;route;constructor(n){this.path=n,this.route=this.path[this.path.length-1]}};var qe=class{component;route;constructor(n,e){this.component=n,this.route=e}};function nc(t,n,e){let r=t._root;return Tt(r,n?n._root:null,e,[r.value])}function ic(t){let n=t.routeConfig?t.routeConfig.canActivateChild:null;return!n||n.length===0?null:{node:t,guards:n}}function Qe(t,n){let e=Symbol(),r=n.get(t,e);return r===e?typeof t==`function`&&!cI(t)?t:n.get(t):r}function Tt(t,n,e,r,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=ze(n);return t.children.forEach(s=>{oc(s,o[s.value.outlet],e,r.concat([s.value]),i),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,c])=>Ct(c,e.getContext(s),i)),i}function oc(t,n,e,r,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=t.value,s=n?n.value:null,c=e?e.getContext(t.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){let a=sc(s,o,o.routeConfig.runGuardsAndResolvers);a?i.canActivateChecks.push(new jr(r)):(o.data=s.data,o._resolvedData=s._resolvedData),o.component?Tt(t,n,c?c.children:null,r,i):Tt(t,n,e,r,i),a&&c&&c.outlet&&c.outlet.isActivated&&i.canDeactivateChecks.push(new qe(c.outlet.component,s))}else s&&Ct(n,c,i),i.canActivateChecks.push(new jr(r)),o.component?Tt(t,null,c?c.children:null,r,i):Tt(t,null,e,r,i);return i}function sc(t,n,e){if(typeof e==`function`)return Xi(n._environmentInjector,()=>e(t,n));switch(e){case`pathParamsChange`:return!Ae(t.url,n.url);case`pathParamsOrQueryParamsChange`:return!Ae(t.url,n.url)||!se(t.queryParams,n.queryParams);case`always`:return!0;case`paramsOrQueryParamsChange`:return!Bn(t,n)||!se(t.queryParams,n.queryParams);default:return!Bn(t,n)}}function Ct(t,n,e){let r=ze(t),i=t.value;Object.entries(r).forEach(([o,s])=>{i.component?n?Ct(s,n.children.getContext(o),e):Ct(s,null,e):Ct(s,n,e)}),i.component?n&&n.outlet&&n.outlet.isActivated?e.canDeactivateChecks.push(new qe(n.outlet.component,i)):e.canDeactivateChecks.push(new qe(null,i)):e.canDeactivateChecks.push(new qe(null,i))}function Lt(t){return typeof t==`function`}function ac(t){return typeof t==`boolean`}function cc(t){return t&&Lt(t.canLoad)}function lc(t){return t&&Lt(t.canActivate)}function uc(t){return t&&Lt(t.canActivateChild)}function dc(t){return t&&Lt(t.canDeactivate)}function hc(t){return t&&Lt(t.canMatch)}function ls(t){return t instanceof Ct$1||t?.name===`EmptyError`}var yr=Symbol(`INITIAL_VALUE`);function Ze(){return Gr$1(t=>cE(t.map(n=>n.pipe(hn$1(1),Hf(yr)))).pipe(Ie(n=>{for(let e of n)if(e!==!0){if(e===yr)return yr;if(e===!1||fc(e))return e}return!0}),Ut$1(n=>n!==yr),hn$1(1)))}function fc(t){return Se(t)||t instanceof Ke}function us(t){return t.aborted?eE(void 0).pipe(hn$1(1)):new S$1(n=>{let e=()=>{n.next(),n.complete()};return t.addEventListener(`abort`,e),()=>t.removeEventListener(`abort`,e)})}function ds(t){return ep(us(t))}function pc(t){return Fe$1(n=>{let{targetSnapshot:e,currentSnapshot:r,guards:{canActivateChecks:i,canDeactivateChecks:o}}=n;return o.length===0&&i.length===0?eE(K$1(W({},n),{guardsResult:!0})):gc(o,e,r).pipe(Fe$1(s=>s&&ac(s)?mc(e,i,t):eE(s)),Ie(s=>K$1(W({},n),{guardsResult:s})))})}function gc(t,n,e){return ot(t).pipe(Fe$1(r=>Sc(r.component,r.route,e,n)),Vf(r=>r!==!0,!0))}function mc(t,n,e){return ot(n).pipe(UE(r=>nr(yc(r.route.parent,e),vc(r.route,e),wc(t,r.path),Rc(t,r.route))),Vf(r=>r!==!0,!0))}function vc(t,n){return t!==null&&n&&n(new Or(t)),eE(!0)}function yc(t,n){return t!==null&&n&&n(new Nr(t)),eE(!0)}
2function Rc(t,n){let e=n.routeConfig?n.routeConfig.canActivate:null;if(!e||e.length===0)return eE(!0);return eE(e.map(i=>lE(()=>{let o=n._environmentInjector,s=Qe(i,o);return Ne(lc(s)?s.canActivate(n,t):Xi(o,()=>s(n,t))).pipe(Vf())}))).pipe(Ze())}function wc(t,n){let e=n[n.length-1];return eE(n.slice(0,n.length-1).reverse().map(o=>ic(o)).filter(o=>o!==null).map(o=>lE(()=>{return eE(o.guards.map(c=>{let a=o.node._environmentInjector,l=Qe(c,a);return Ne(uc(l)?l.canActivateChild(e,t):Xi(a,()=>l(e,t))).pipe(Vf())})).pipe(Ze())}))).pipe(Ze())}function Sc(t,n,e,r){let i=n&&n.routeConfig?n.routeConfig.canDeactivate:null;if(!i||i.length===0)return eE(!0);return eE(i.map(s=>{let c=n._environmentInjector,a=Qe(s,c);return Ne(dc(a)?a.canDeactivate(t,n,e,r):Xi(c,()=>a(t,n,e,r))).pipe(Vf())})).pipe(Ze())}function Ec(t,n,e,r,i){let o=n.canLoad;if(o===void 0||o.length===0)return eE(!0);return eE(o.map(c=>{let a=Qe(c,t),u=Ne(cc(a)?a.canLoad(n,e):Xi(t,()=>a(n,e)));return i?u.pipe(ds(i)):u})).pipe(Ze(),hs(r))}function hs(t){return BD($f(n=>{if(typeof n!=`boolean`)throw kr(t,n)}),Ie(n=>n===!0))}function Tc(t,n,e,r,i,o){let s=n.canMatch;if(!s||s.length===0)return eE(!0);return eE(s.map(a=>{let l=Qe(a,t);return Ne(hc(l)?l.canMatch(n,e,i):Xi(t,()=>l(n,e,i))).pipe(ds(o))})).pipe(Ze(),hs(r))}var fe=class t extends Error{segmentGroup;constructor(n){super(),this.segmentGroup=n||null,Object.setPrototypeOf(this,t.prototype)}};var Ot=class t extends Error{urlTree;constructor(n){super(),this.urlTree=n,Object.setPrototypeOf(this,t.prototype)}};function bc(t){throw new C(4e3,!1)}function Cc(t){throw as(!1,x.GuardRejected)}var Hn=class{urlSerializer;urlTree;constructor(n,e){this.urlSerializer=n,this.urlTree=e}lineralizeSegments(n,e){return dn(this,null,function*(){let r=[],i=e.root;for(;;){if(r=r.concat(i.segments),i.numberOfChildren===0)return r;if(i.numberOfChildren>1||!i.children[`primary`])throw bc(`${n.redirectTo}`);i=i.children[m]}})}applyRedirectCommands(n,e,r,i,o){return dn(this,null,function*(){let s=yield Mc(e,i,o);if(s instanceof F)throw new Ot(s);let c=this.applyRedirectCreateUrlTree(s,this.urlSerializer.parse(s),n,r);if(s[0]===`/`)throw new Ot(c);return c})}applyRedirectCreateUrlTree(n,e,r,i){return new F(this.createSegmentGroup(n,e.root,r,i),this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(n,e){let r={};return Object.entries(n).forEach(([i,o])=>{if(typeof o==`string`&&o[0]===`:`){let c=o.substring(1);r[i]=e[c]}else r[i]=o}),r}createSegmentGroup(n,e,r,i){let o=this.createSegments(n,e.segments,r,i),s=Object.create(null);return Object.entries(e.children).forEach(([c,a])=>{s[c]=this.createSegmentGroup(n,a,r,i)}),new S(o,s)}createSegments(n,e,r,i){return e.map(o=>o.path[0]===`:`?this.findPosParam(n,o,i):this.findOrReturn(o,r))}findPosParam(n,e,r){let i=r[e.path.substring(1)];if(!i)throw new C(4001,!1);return i}findOrReturn(n,e){let r=0;for(let i of e){if(i.path===n.path)return e.splice(r),i;r++}return n}};function Mc(t,n,e){if(typeof t==`string`)return Promise.resolve(t);let r=t;return Er(Ne(Xi(e,()=>r(n))))}function Ic(t,n){return t.providers&&!t._injector&&(t._injector=id(t.providers,n,`Route: ${t.path}`)),t._injector??n}function Z(t){return t.outlet||`primary`}function Ac(t,n){let e=t.filter(r=>Z(r)===n);return e.push(...t.filter(r=>Z(r)!==n)),e}var Vn={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function fs(t){return{routeConfig:t.routeConfig,url:t.url,params:t.params,queryParams:t.queryParams,fragment:t.fragment,data:t.data,outlet:t.outlet,title:t.title,paramMap:t.paramMap,queryParamMap:t.queryParamMap}}function _c(t,n,e,r,i,o,s){let c=ps(t,n,e);if(!c.matched)return eE(c);let a=fs(o(c));return r=Ic(n,r),Tc(r,n,e,i,a,s).pipe(Ie(l=>l===!0?c:W({},Vn)))}function ps(t,n,e){if(n.path===``)return n.pathMatch===`full`&&(t.hasChildren()||e.length>0)?W({},Vn):{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};let i=(n.matcher||jo)(e,t,n);if(!i)return W({},Vn);let o={};Object.entries(i.posParams??{}).forEach(([c,a])=>{o[c]=a.path});let s=i.consumed.length>0?W(W({},o),i.consumed[i.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:i.consumed,remainingSegments:e.slice(i.consumed.length),parameters:s,positionalParamSegments:i.posParams??{}}}function xo(t,n,e,r,i){return e.length>0&&Pc(t,e,r,i)?{segmentGroup:new S(n,Nc(r,new S(e,t.children))),slicedSegments:[]}:e.length===0&&Oc(t,e,r)?{segmentGroup:new S(t.segments,Dc(t,e,r,t.children)),slicedSegments:e}:{segmentGroup:new S(t.segments,t.children),slicedSegments:e}}function Dc(t,n,e,r){let i={};for(let o of e)if(Br(t,n,o)&&!r[Z(o)]){let s=new S([],{});i[Z(o)]=s}return W(W({},r),i)}function Nc(t,n){let e={};e[m]=n;for(let r of t)if(r.path===``&&Z(r)!==`primary`){let i=new S([],{});e[Z(r)]=i}return e}function Pc(t,n,e,r){return e.some(i=>!Br(t,n,i)||!(Z(i)!==`primary`)?!1:!(r!==void 0&&Z(i)===r))}function Oc(t,n,e){return e.some(r=>Br(t,n,r))}function Br(t,n,e){return(t.hasChildren()||n.length>0)&&e.pathMatch===`full`?!1:e.path===``}function Uc(t,n,e){return n.length===0&&!t.children[e]}var qn=class{};function xc(t,n,e,r,i,o,s,c){return dn(this,null,function*(){return new Gn(t,n,e,r,i,s,o,c).recognize()})}var Lc=31;var Gn=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;abortSignal;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(n,e,r,i,o,s,c,a){this.injector=n,this.configLoader=e,this.rootComponentType=r,this.config=i,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer
2=c,this.abortSignal=a,this.applyRedirects=new Hn(this.urlSerializer,this.urlTree)}noMatchError(n){return new C(4002,`'${n.segmentGroup}'`)}recognize(){return dn(this,null,function*(){let n=xo(this.urlTree.root,[],[],this.config).segmentGroup,{children:e,rootSnapshot:r}=yield this.match(n),o=new Nt(``,new V(r,e)),s=Jo(r,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),{state:o,tree:s}})}match(n){return dn(this,null,function*(){let e=new Ye([],Object.freeze({}),Object.freeze(W({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),m,this.rootComponentType,null,{},this.injector);try{return{children:yield this.processSegmentGroup(this.injector,this.config,n,m,e),rootSnapshot:e}}catch(r){if(r instanceof Ot)return this.urlTree=r.urlTree,this.match(r.urlTree.root);throw r instanceof fe?this.noMatchError(r):r}})}processSegmentGroup(n,e,r,i,o){return dn(this,null,function*(){if(r.segments.length===0&&r.hasChildren())return this.processChildren(n,e,r,o);let s=yield this.processSegment(n,e,r,r.segments,i,!0,o);return s instanceof V?[s]:[]})}processChildren(n,e,r,i){return dn(this,null,function*(){let o=[];for(let a of Object.keys(r.children))a===`primary`?o.unshift(a):o.push(a);let s=[];for(let a of o){let l=r.children[a],u=Ac(e,a),f=yield this.processSegmentGroup(n,u,l,a,i);s.push(...f)}let c=gs(s);return kc(c),c})}processSegment(n,e,r,i,o,s,c){return dn(this,null,function*(){for(let a of e)try{return yield this.processSegmentAgainstRoute(a._injector??n,e,a,r,i,o,s,c)}catch(l){if(l instanceof fe||ls(l))continue;throw l}if(Uc(r,i,o))return new qn;throw new fe(r)})}processSegmentAgainstRoute(n,e,r,i,o,s,c,a){return dn(this,null,function*(){if(Z(r)!==s&&(s===`primary`||!Br(i,o,r)))throw new fe(i);if(r.redirectTo===void 0)return this.matchSegmentAgainstRoute(n,i,r,o,s,a);if(this.allowRedirects&&c)return this.expandSegmentAgainstRouteUsingRedirect(n,i,e,r,o,s,a);throw new fe(i)})}expandSegmentAgainstRouteUsingRedirect(n,e,r,i,o,s,c){return dn(this,null,function*(){let{matched:a,parameters:l,consumedSegments:u,positionalParamSegments:f,remainingSegments:p}=ps(e,i,o);if(!a)throw new fe(e);typeof i.redirectTo==`string`&&i.redirectTo[0]===`/`&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>Lc&&(this.allowRedirects=!1));let I=this.createSnapshot(n,i,o,l,c);if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);let D=yield this.applyRedirects.applyRedirectCommands(u,i.redirectTo,f,fs(I),n),L=yield this.applyRedirects.lineralizeSegments(i,D);return this.processSegment(n,r,e,L.concat(p),s,!1,c)})}createSnapshot(n,e,r,i,o){let s=new Ye(r,i,Object.freeze(W({},this.urlTree.queryParams)),this.urlTree.fragment,Fc(e),Z(e),e.component??e._loadedComponent??null,e,Bc(e),n),c=Jn(s,o,this.paramsInheritanceStrategy);return s.params=Object.freeze(c.params),s.data=Object.freeze(c.data),s}matchSegmentAgainstRoute(n,e,r,i,o,s){return dn(this,null,function*(){if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);let c=R=>this.createSnapshot(n,r,R.consumedSegments,R.parameters,s),a=yield Er(_c(e,r,i,n,this.urlSerializer,c,this.abortSignal));if(r.path===`**`&&(e.children={}),!a?.matched)throw new fe(e);n=r._injector??n;let{routes:l}=yield this.getChildConfig(n,r,i),u=r._loadedInjector??n,{parameters:f,consumedSegments:p,remainingSegments:I}=a,D=this.createSnapshot(n,r,p,f,s),{segmentGroup:L,slicedSegments:A}=xo(e,p,I,l,o);if(A.length===0&&L.hasChildren())return new V(D,yield this.processChildren(u,l,L,D));if(l.length===0&&A.length===0)return new V(D,[]);let H=Z(r)===o,w=yield this.processSegment(u,l,L,A,H?m:o,!0,D);return new V(D,w instanceof V?[w]:[])})}getChildConfig(n,e,r){return dn(this,null,function*(){if(e.children)return{routes:e.children,injector:n};if(e.loadChildren){if(e._loadedRoutes!==void 0){let o=e._loadedNgModuleFactory;return o&&!e._loadedInjector&&(e._loadedInjector=o.create(n).injector),{routes:e._loadedRoutes,injector:e._loadedInjector}}if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);
2if(yield Er(Ec(n,e,r,this.urlSerializer,this.abortSignal))){let o=yield this.configLoader.loadChildren(n,e);return e._loadedRoutes=o.routes,e._loadedInjector=o.injector,e._loadedNgModuleFactory=o.factory,o}throw Cc(e)}return{routes:[],injector:n}})}};function kc(t){t.sort((n,e)=>n.value.outlet===`primary`?-1:e.value.outlet===`primary`?1:n.value.outlet.localeCompare(e.value.outlet))}function jc(t){let n=t.value.routeConfig;return n&&n.path===``}function gs(t){let n=[],e=new Set;for(let r of t){if(!jc(r)){n.push(r);continue}let i=n.find(o=>r.value.routeConfig===o.value.routeConfig);i!==void 0?(i.children.push(...r.children),e.add(i)):n.push(r)}for(let r of e){let i=gs(r.children);n.push(new V(r.value,i))}return n.filter(r=>!e.has(r))}function Fc(t){return t.data||{}}function Bc(t){return t.resolve||{}}function $c(t,n,e,r,i,o,s){return Fe$1(c=>dn(null,null,function*(){let{state:a,tree:l}=yield xc(t,n,e,r,c.extractedUrl,i,o,s);return K$1(W({},c),{targetSnapshot:a,urlAfterRedirects:l})}))}function zc(t){return Fe$1(n=>{let{targetSnapshot:e,guards:{canActivateChecks:r}}=n;if(!r.length)return eE(n);let i=new Set(r.map(c=>c.route)),o=new Set;for(let c of i)if(!o.has(c))for(let a of ms(c))o.add(a);let s=0;return ot(o).pipe(UE(c=>i.has(c)?Hc(c,e,t):(c.data=Jn(c,c.parent,t).resolve,eE(void 0))),$f(()=>s++),Xa$1(1),Fe$1(c=>s===o.size?eE(n):It$1))})}function ms(t){return[t,...t.children.map(e=>ms(e)).flat()]}function Hc(t,n,e){let r=t.routeConfig,i=t._resolve;return r?.title!==void 0&&!ns(r)&&(i[Ut]=r.title),lE(()=>(t.data=Jn(t,t.parent,e).resolve,Vc(i,t,n).pipe(Ie(o=>(t._resolvedData=o,t.data=W(W({},t.data),o),null)))))}function Vc(t,n,e){let r=On(t);if(r.length===0)return eE({});let i={};return ot(r).pipe(Fe$1(o=>qc(t[o],n,e).pipe(Vf(),$f(s=>{if(s instanceof Ke)throw kr(new pe,s);i[o]=s}))),Xa$1(1),Ie(()=>i),Ka$1(o=>ls(o)?It$1:xE(o)))}function qc(t,n,e){let r=n._environmentInjector,i=Qe(t,r);return Ne(i.resolve?i.resolve(n,e):Xi(r,()=>i(n,e)))}function Lo(t){return Gr$1(n=>{let e=t(n);return e?ot(e).pipe(Ie(()=>n)):eE(n)})}var ei=(()=>{class t{buildTitle(e){let r,i=e.root;for(;i!==void 0;)r=this.getResolvedTitleForRoute(i)??r,i=i.children.find(o=>o.outlet===m);return r}getResolvedTitleForRoute(e){return e.data[Ut]}static ɵfac=function(r){return new(r||t)};static ɵprov=vt({token:t,factory:()=>D(vs)})}return t})();var vs=(()=>{class t extends ei{title;constructor(e){super(),this.title=e}updateTitle(e){let r=this.buildTitle(e);r!==void 0&&this.title.setTitle(r)}static ɵfac=function(r){return new(r||t)(G$1(Do))};static ɵprov=k({token:t,factory:t.ɵfac,providedIn:`root`})}return t})();var ge=new T(``,{factory:()=>({})});var Oe=new T(``);var $r=(()=>{class t{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=D(xM);loadComponent(e,r){return dn(this,null,function*(){if(this.componentLoaders.get(r))return this.componentLoaders.get(r);if(r._loadedComponent)return Promise.resolve(r._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(r);let i=dn(this,null,function*(){try{let s=yield Rs(s8(yield Bo(Xi(e,()=>r.loadComponent()))));return this.onLoadEndListener&&this.onLoadEndListener(r),r._loadedComponent=s,s}finally{this.componentLoaders.delete(r)}});return this.componentLoaders.set(r,i),i})}loadChildren(e,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return Promise.resolve({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);let i=dn(this,null,function*(){try{let o=yield ys(r,this.compiler,e,this.onLoadEndListener);return r._loadedRoutes=o.routes,r._loadedInjector=o.injector,r._loadedNgModuleFactory=o.factory,o}finally{this.childrenLoaders.delete(r)}});return this.childrenLoaders.set(r,i),i}static ɵfac=function(r){return new(r||t)};static ɵprov=vt({token:t,factory:t.ɵfac})}return t})();function ys(t,n,e,r){return dn(this,null,function*(){let o=yield Rs(s8(yield Bo(Xi(e,()=>t.loadChildren())))),s;o instanceof oy||Array.isArray(o)?s=o:s=yield n.compileModuleAsync(o),r&&r(t);let c,a,u;return Array.isArray(s)?a=s:(c=s.create(e).injector,u=s,a=c.get(Oe,[],{optional:!0,self:!0}).flat()),{routes:a.map(Qn),injector:c,factory:u}})}function Rs(t){return dn(this,null,function*(){return t})}var zr=(()=>{class t{static ɵfac=function(r){return new(r||t)};static ɵprov=vt({token:t,factory:()=>D(Gc)})}return t})();var Gc=(()=>{class t{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,r){return e}static ɵfac=function(r){return new(r||t)};static ɵprov=vt({token:t,factory:t.ɵfac})}return t})();var ti=new T(``);var ri=new T(``);function ws(t,n,e){let r=t.get(ri),i=t.get(Qe$1);
2if(!i.startViewTransition||r.skipNextTransition)return r.skipNextTransition=!1,new Promise(l=>setTimeout(l));let o,s=new Promise(l=>{o=l}),c=i.startViewTransition(()=>(o(),Wc(t)));c.updateCallbackDone.catch(l=>{}),c.ready.catch(l=>{}),c.finished.catch(l=>{});let{onViewTransitionCreated:a}=r;return a&&Xi(t,()=>a({transition:c,from:n,to:e})),s}function Wc(t){return new Promise(n=>{dm({read:()=>setTimeout(n)},{injector:t})})}var Ss=new T(``);var Xc=()=>{};var ni=new T(``);var Hr=(()=>{class t{currentNavigation=ls$1(null,{equal:()=>!1});currentTransition=null;lastSuccessfulNavigation=ls$1(null);events=new J;transitionAbortWithErrorSubject=new J;configLoader=D($r);environmentInjector=D(Me);destroyRef=D(Ne$1);urlSerializer=D(Te);rootContexts=D(Pe);location=D(tD);inputBindingEnabled=D(xt,{optional:!0})!==null;titleStrategy=D(ei);options=D(ge,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||Za;urlHandlingStrategy=D(zr);createViewTransition=D(ti,{optional:!0});navigationErrorHandler=D(ni,{optional:!0});activatedRouteInjectorFeature=D(Ss,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>eE(void 0);rootComponentType=null;destroyed=!1;constructor(){let e=i=>this.events.next(new _r(i)),r=i=>this.events.next(new Dr(i));this.configLoader.onLoadEndListener=r,this.configLoader.onLoadStartListener=e,this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(e){let r=++this.navigationId;ha$1(()=>{this.transitions?.next(K$1(W({},e),{extractedUrl:this.urlHandlingStrategy.extract(e.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,id:r,routesRecognizeHandler:{},beforeActivateHandler:{}}))})}setupNavigations(e){return this.transitions=new Wr(null),this.transitions.pipe(Ut$1(r=>r!==null),Gr$1(r=>{let i=!0,o=!1,s=new AbortController,c=()=>!o&&this.currentTransition?.id===r.id;return eE(r).pipe(Gr$1(a=>{if(this.navigationId>r.id)return this.cancelNavigationTransition(r,``,x.SupersededByNewNavigation),It$1;this.currentTransition=r;let l=this.lastSuccessfulNavigation();this.currentNavigation.set({id:a.id,initialUrl:a.rawUrl,extractedUrl:a.extractedUrl,targetBrowserUrl:typeof a.extras.browserUrl==`string`?this.urlSerializer.parse(a.extras.browserUrl):a.extras.browserUrl,trigger:a.source,extras:a.extras,previousNavigation:l?K$1(W({},l),{previousNavigation:null}):null,abort:()=>s.abort(),routesRecognizeHandler:a.routesRecognizeHandler,beforeActivateHandler:a.beforeActivateHandler});let u=!e.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),f=a.extras.onSameUrlNavigation??e.onSameUrlNavigation;if(!u&&f!==`reload`)return this.events.next(new ae(a.id,this.urlSerializer.serialize(a.rawUrl),``,Ge.IgnoredSameUrlNavigation)),a.resolve(!1),It$1;if(this.urlHandlingStrategy.shouldProcessUrl(a.rawUrl))return eE(a).pipe(Gr$1(p=>(this.events.next(new Ee(p.id,this.urlSerializer.serialize(p.extractedUrl),p.source,p.restoredState)),p.id!==this.navigationId?It$1:Promise.resolve(p))),$c(this.environmentInjector,this.configLoader,this.rootComponentType,e.config,this.urlSerializer,this.paramsInheritanceStrategy,s.signal),$f(p=>{r.targetSnapshot=p.targetSnapshot,r.urlAfterRedirects=p.urlAfterRedirects,this.currentNavigation.update(I=>(I.finalUrl=p.urlAfterRedirects,I)),this.events.next(new _t)}),Gr$1(p=>ot(r.routesRecognizeHandler.deferredHandle??eE(void 0)).pipe(Ie(()=>p))),$f(()=>{let p=new At(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(p)}));if(u&&this.urlHandlingStrategy.shouldProcessUrl(a.currentRawUrl)){let{id:p,extractedUrl:I,source:D,restoredState:L,extras:A}=a,H=new Ee(p,this.urlSerializer.serialize(I),D,L);this.events.next(H);let w=ts(this.rootComponentType,this.environmentInjector).snapshot;return this.currentTransition=r=K$1(W({},a),{targetSnapshot:w,urlAfterRedirects:I,extras:K$1(W({},A),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.update(R=>(R.finalUrl=I,R)),eE(r)}else return this.events.next(new ae(a.id,this.urlSerializer.serialize(a.extractedUrl),``,Ge.IgnoredByUrlHandlingStrategy)),a.resolve(!1),It$1}),Ie(a=>{let l=new Cr(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);return this.events.next(l),this.currentTransition=r=K$1(W({},a),{guards:nc(a.targetSnapshot,a.currentSnapshot,this.rootContexts)}),r}),pc(a=>this.events.next(a)),Gr$1(a=>{if(r.guardsResult=a.guardsResult,a.guardsResult&&typeof a.guardsResult!=`boolean`)throw kr(this.urlSerializer,a.guardsResult);let l=new Mr(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot,!!a.guardsResult);if(this.events.next(l),!c())return It$1;if(!a.guardsResult)return this.cancelNavigationTransition(a,``,x.GuardRejected),It$1;if(a.guards.canActivateChecks.length===0)return eE(a);let u=new Ir(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);if(this.events.next(u),!c())return It$1;let f=!1;return eE(a).pipe(zc(this.paramsInheritanceStrategy),$f({next:()=>{f=!0;let p=new Ar(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(p)},complete:()=>
2{f||this.cancelNavigationTransition(a,``,x.NoDataFromResolver)}}))}),Lo(a=>{let l=f=>{let p=[];if(f.routeConfig?._loadedComponent)f.component=f.routeConfig?._loadedComponent;else if(f.routeConfig?.loadComponent){let I=f._environmentInjector;p.push(this.configLoader.loadComponent(I,f.routeConfig).then(D=>{f.component=D}))}for(let I of f.children)p.push(...l(I));return p},u=l(a.targetSnapshot.root);return u.length===0?eE(a):ot(Promise.all(u).then(()=>a))}),Gr$1(a=>{let{newlyCreatedRoutes:l,state:u}=Qa(e.routeReuseStrategy,a.targetSnapshot,a.currentRouterState);return this.currentTransition=r=a=K$1(W({},a),{targetRouterState:u,newlyCreatedRoutes:l}),this.currentNavigation.update(f=>(f.targetRouterState=u,f)),eE(a)}),this.activatedRouteInjectorFeature?.operator()??(a=>a),Lo(()=>this.afterPreactivation()),Gr$1(()=>{let{currentSnapshot:a,targetSnapshot:l}=r,u=this.createViewTransition?.(this.environmentInjector,a.root,l.root);return u?ot(u).pipe(Ie(()=>r)):eE(r)}),hn$1(1),Gr$1(a=>{i=!1,this.events.next(new Xe);let l=r.beforeActivateHandler.deferredHandle;return l?ot(l.then(()=>a)):eE(a)}),$f(a=>{new zn(e.routeReuseStrategy,r.targetRouterState,r.currentRouterState,l=>this.events.next(l),this.inputBindingEnabled).activate(this.rootContexts),a.newlyCreatedRoutes?.clear(),c()&&(o=!0,this.currentNavigation.update(l=>(l.abort=Xc,l)),this.lastSuccessfulNavigation.set(ha$1(this.currentNavigation)),this.events.next(new G(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects))),this.titleStrategy?.updateTitle(a.targetRouterState.snapshot),a.resolve(!0))}),ep(us(s.signal).pipe(Ut$1(()=>!o&&i),$f(()=>{this.cancelNavigationTransition(r,s.signal.reason+``,x.Aborted)}))),$f({complete:()=>{o=!0}}),ep(this.transitionAbortWithErrorSubject.pipe($f(a=>{throw a}))),jf(()=>{s.abort(),o||this.cancelNavigationTransition(r,``,x.SupersededByNewNavigation),this.currentTransition?.id===r.id&&(this.currentNavigation.set(null),this.currentTransition=null)}),Ka$1(a=>{if(o=!0,ko(r),this.destroyed)return r.resolve(!1),It$1;if(cs(a))this.events.next(new K(r.id,this.urlSerializer.serialize(r.extractedUrl),a.message,a.cancellationCode)),rc(a)?this.events.next(new Je(a.url,a.navigationBehaviorOptions)):r.resolve(!1);else{let l=new De(r.id,this.urlSerializer.serialize(r.extractedUrl),a,r.targetSnapshot??void 0);try{let u=Xi(this.environmentInjector,()=>this.navigationErrorHandler?.(l));if(u instanceof Ke){let{message:f,cancellationCode:p}=kr(this.urlSerializer,u);this.events.next(new K(r.id,this.urlSerializer.serialize(r.extractedUrl),f,p)),this.events.next(new Je(u.redirectTo,u.navigationBehaviorOptions))}else throw this.events.next(l),a}catch(u){this.options.resolveNavigationPromiseOnError?r.resolve(!1):r.reject(u)}}return It$1}))}))}cancelNavigationTransition(e,r,i){ko(e);let o=new K(e.id,this.urlSerializer.serialize(e.extractedUrl),r,i);this.events.next(o),e.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let e=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),r=ha$1(this.currentNavigation),i=r?.targetBrowserUrl??r?.extractedUrl;return e.toString()!==i?.toString()&&!r?.extras.skipLocationChange}static ɵfac=function(r){return new(r||t)};static ɵprov=vt({token:t,factory:t.ɵfac})}return t})();function Jc(t){return t!==Ve}function ko(t){if(t.newlyCreatedRoutes)for(let n of t.newlyCreatedRoutes)n._localInjector?.destroy()}var Es=new T(``);var Ts=(()=>{class t{static ɵfac=function(r){return new(r||t)};static ɵprov=vt({token:t,factory:()=>D(Yc)})}return t})();var Fr=class{shouldDetach(n){return!1}store(n,e){}shouldAttach(n){return!1}retrieve(n){return null}shouldReuseRoute(n,e){return n.routeConfig===e.routeConfig}shouldDestroyInjector(n){return!0}};var Yc=(()=>{class t extends Fr{static ɵfac=function(r){return new(r||t)};static ɵprov=vt({token:t,factory:t.ɵfac})}return t})();var Vr=(()=>{class t{urlSerializer=D(Te);options=D(ge,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||`replace`;location=D(tD);urlHandlingStrategy=D(zr);urlUpdateStrategy=this.options.urlUpdateStrategy||`deferred`;currentUrlTree=new F;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl:e,initialUrl:r,targetBrowserUrl:i}){let o=e!==void 0?this.urlHandlingStrategy.merge(e,r):r,s=i??o;return s instanceof F?this.urlSerializer.serialize(s):s}routerUrlState(e){return e?.targetBrowserUrl===void 0||e?.finalUrl===void 0?{}:{ɵrouterUrl:this.urlSerializer.serialize(e.finalUrl)}}commitTransition({targetRouterState:e,finalUrl:r,initialUrl:i}){r&&e?(this.currentUrlTree=r,this.rawUrlTree=this.urlHandlingStrategy.merge(r,i),this.routerState=e):this.rawUrlTree=i}routerState=ts(null,D(Me));getRouterState(){return this.routerState}_stateMemento=this.createStateMemento();get stateMemento(){return this._stateMemento}updateStateMemento(){this._stateMemento=this.createStateMemento()}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}restoredState(){return this.location.getState()}static ɵfac=function(r){return new(r||t)};static ɵprov=vt({token:t,factory:()=>D(Kc)})}return t})();var Kc=(()=>{class t extends Vr{currentPageId=0;lastSuccessfulId=-1;get browserPageId(){return this.canceledNavigationResolution!==`computed`?this.currentPageId:this.restoredState()?.ɵrouterPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(e){return this.location.subscribe(r=>{r.type===`popstate`&&setTimeout(()=>{e(r.url,r.state,`popstate`,{replaceUrl:!0})})})}handleRouterEvent(e,r){e instanceof Ee?this.updateStateMemento():e instanceof ae?this.commitTransition(r):e instanceof At?this.urlUpdateStrategy===`eager`&&(r.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(r),r)):e instanceof Xe?(this.commitTransition(r),this.urlUpdateStrategy===`deferred`&&!r.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(r),r)):e instanceof K&&!es(e)?this.restoreHistory(r):e instanceof De?this.restoreHistory(r,!0):e instanceof G&&(this.lastSuccessfulId=e.id,this.currentPageId=this.browserPageId)}setBrowserUrl(e,r){let{extras:i,id:o}=r,{replaceUrl:s,state:c}=i;
2if(this.location.isCurrentPathEqualTo(e)||s){let a=this.browserPageId,l=W(W({},c),this.generateNgRouterState(o,a,r));this.location.replaceState(e,``,l)}else{let a=W(W({},c),this.generateNgRouterState(o,this.browserPageId+1,r));this.location.go(e,``,a)}}restoreHistory(e,r=!1){if(this.canceledNavigationResolution===`computed`){let i=this.browserPageId,o=this.currentPageId-i;o!==0?this.location.historyGo(o):this.getCurrentUrlTree()===e.finalUrl&&o===0&&(this.resetInternalState(e),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution===`replace`&&(r&&this.resetInternalState(e),this.resetUrlToCurrentUrlTree())}resetInternalState({finalUrl:e}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),``,this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(e,r,i){return this.canceledNavigationResolution===`computed`?W({navigationId:e,ɵrouterPageId:r},this.routerUrlState(i)):W({navigationId:e},this.routerUrlState(i))}static ɵfac=function(r){return new(r||t)};static ɵprov=vt({token:t,factory:t.ɵfac})}return t})();function qr(t,n){t.events.pipe(Ut$1(e=>e instanceof G||e instanceof K||e instanceof De||e instanceof ae),Ie(e=>e instanceof G||e instanceof ae?0:(e instanceof K?e.code===x.Redirect||e.code===x.SupersededByNewNavigation:!1)?2:1),Ut$1(e=>e!==2),hn$1(1)).subscribe(()=>{n()})}var Q=(()=>{class t{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=D(FT);stateManager=D(Vr);options=D(ge,{optional:!0})||{};pendingTasks=D(Ot$1);urlUpdateStrategy=this.options.urlUpdateStrategy||`deferred`;navigationTransitions=D(Hr);urlSerializer=D(Te);location=D(tD);urlHandlingStrategy=D(zr);injector=D(Me);_events=new J;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=D(Ts);injectorCleanup=D(Es,{optional:!0});onSameUrlNavigation=this.options.onSameUrlNavigation||`ignore`;config=D(Oe,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!D(xt,{optional:!0});currentNavigation=this.navigationTransitions.currentNavigation.asReadonly();constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:e=>{}}),this.subscribeToNavigationEvents()}eventsSubscription=new U;subscribeToNavigationEvents(){let e=this.navigationTransitions.events.subscribe(r=>{try{let i=this.navigationTransitions.currentTransition,o=ha$1(this.navigationTransitions.currentNavigation);if(i!==null&&o!==null){if(this.stateManager.handleRouterEvent(r,o),r instanceof K&&r.code!==x.Redirect&&r.code!==x.SupersededByNewNavigation)this.navigated=!0;else if(r instanceof G)this.navigated=!0,this.injectorCleanup?.(this.routeReuseStrategy,this.routerState,this.config);else if(r instanceof Je){let s=r.navigationBehaviorOptions,c=this.urlHandlingStrategy.merge(r.url,i.currentRawUrl),a=W({scroll:i.extras.scroll,browserUrl:i.extras.browserUrl,info:i.extras.info,skipLocationChange:i.extras.skipLocationChange,replaceUrl:i.extras.replaceUrl||this.urlUpdateStrategy===`eager`||Jc(i.source)},s);this.scheduleNavigation(c,Ve,null,a,{resolve:i.resolve,reject:i.reject,promise:i.promise})}}Ya(r)&&this._events.next(r)}catch(i){this.navigationTransitions.transitionAbortWithErrorSubject.next(i)}});this.eventsSubscription.add(e)}resetRootComponentType(e){this.routerState.root.component=e,this.navigationTransitions.rootComponentType=e}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Ve,this.stateManager.restoredState(),{replaceUrl:!0})}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((e,r,i,o)=>{this.navigateToSyncWithBrowser(e,i,r,o)})}navigateToSyncWithBrowser(e,r,i,o){let s=i?.navigationId?i:null,c=i?.ɵrouterUrl??e;if(i?.ɵrouterUrl&&(o=K$1(W({},o),{browserUrl:e})),i){let l=W({},i);delete l.navigationId,delete l.ɵrouterPageId,delete l.ɵrouterUrl,Object.keys(l).length!==0&&(o.state=l)}let a=this.parseUrl(c);this.scheduleNavigation(a,r,s,o).catch(l=>{this.disposed||this.injector.get(ht)(l)})}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return ha$1(this.navigationTransitions.currentNavigation)}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(e){this.config=e.map(Qn),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription?.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0,this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(e,r={}){let{relativeTo:i,queryParams:o,fragment:s,queryParamsHandling:c,preserveFragment:a}=r,l=a?this.currentUrlTree.fragment:s,u=null;switch(c??this.options.defaultQueryParamsHandling){case`merge`:u=W(W({},this.currentUrlTree.queryParams),o);break;case`preserve`:u=this.currentUrlTree.queryParams;break;default:u=o||null}u!==null&&(u=this.removeEmptyProps(u));let f;try{f=Yo(i?i.snapshot:this.routerState.snapshot.root)}catch(p){(typeof e[0]!=`string`||e[0][0]!==`/`)&&(e=[]),f=this.currentUrlTree.root}return Ko(f,e,u,l??null,this.urlSerializer)}navigateByUrl(e,r={skipLocationChange:!1}){let i=Se(e)?e:this.parseUrl(e),o=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(o,Ve,null,r)}navigate(e,r={skipLocationChange:!1}){return Zc(e),this.navigateByUrl(this.createUrlTree(e,r),r)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){try{return this.urlSerializer.parse(e)}catch(r){return this.console.warn(qt(4018,!1)),this.urlSerializer.parse(`/`)}}isActive(e,r){let i;if(r===!0?i=W({},Wn):r===!1?i=W({},Mt):i=W(W({},Mt),r),Se(e))return Un(this.currentUrlTree,e,i);let o=this.parseUrl(e);return Un(this.currentUrlTree,o,i)}removeEmptyProps(e){return Object.entries(e).reduce((r,[i,o])=>(o!=null&&(r[i]=o),r),{})}
2scheduleNavigation(e,r,i,o,s){if(this.disposed)return Promise.resolve(!1);let c,a,l;s?(c=s.resolve,a=s.reject,l=s.promise):l=new Promise((f,p)=>{c=f,a=p});let u=this.pendingTasks.add();return qr(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(u))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:e,extras:o,resolve:c,reject:a,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(Promise.reject.bind(Promise))}static ɵfac=function(r){return new(r||t)};static ɵprov=vt({token:t,factory:t.ɵfac})}return t})();function Zc(t){for(let n=0;n<t.length;n++)if(t[n]==null)throw new C(4008,!1)}var Qc=(()=>{class t{router=D(Q);stateManager=D(Vr);fragment=ls$1(``);queryParams=ls$1({});path=ls$1(``);serializer=D(Te);constructor(){this.updateState(),this.router.events?.subscribe(e=>{e instanceof G&&this.updateState()})}updateState(){let{fragment:e,root:r,queryParams:i}=this.stateManager.getCurrentUrlTree();this.fragment.set(e),this.queryParams.set(i),this.path.set(this.serializer.serialize(new F(r)))}static ɵfac=function(r){return new(r||t)};static ɵprov=vt({token:t,factory:t.ɵfac})}return t})();var Gr=(()=>{class t{router;route;tabIndexAttribute;renderer;el;locationStrategy;hrefAttributeValue=D(new Av(`href`),{optional:!0});reactiveHref=FM(()=>this.isAnchorElement?this.computeHref(this._urlTree()):this.hrefAttributeValue);get href(){return ha$1(this.reactiveHref)}set href(e){this.reactiveHref.set(e)}set target(e){this._target.set(e)}get target(){return ha$1(this._target)}_target=ls$1(void 0);set queryParams(e){this._queryParams.set(e)}get queryParams(){return ha$1(this._queryParams)}_queryParams=ls$1(void 0,{equal:()=>!1});set fragment(e){this._fragment.set(e)}get fragment(){return ha$1(this._fragment)}_fragment=ls$1(void 0);set queryParamsHandling(e){this._queryParamsHandling.set(e)}get queryParamsHandling(){return ha$1(this._queryParamsHandling)}_queryParamsHandling=ls$1(void 0);set state(e){this._state.set(e)}get state(){return ha$1(this._state)}_state=ls$1(void 0,{equal:()=>!1});set info(e){this._info.set(e)}get info(){return ha$1(this._info)}_info=ls$1(void 0,{equal:()=>!1});set relativeTo(e){this._relativeTo.set(e)}get relativeTo(){return ha$1(this._relativeTo)}_relativeTo=ls$1(void 0);set preserveFragment(e){this._preserveFragment.set(e)}get preserveFragment(){return ha$1(this._preserveFragment)}_preserveFragment=ls$1(!1);set skipLocationChange(e){this._skipLocationChange.set(e)}get skipLocationChange(){return ha$1(this._skipLocationChange)}_skipLocationChange=ls$1(!1);set replaceUrl(e){this._replaceUrl.set(e)}get replaceUrl(){return ha$1(this._replaceUrl)}_replaceUrl=ls$1(!1);browserUrl=c8(void 0);isAnchorElement;onChanges=new J;applicationErrorHandler=D(ht);options=D(ge,{optional:!0});reactiveRouterState=D(Qc);constructor(e,r,i,o,s,c){this.router=e,this.route=r,this.tabIndexAttribute=i,this.renderer=o,this.el=s,this.locationStrategy=c;let a=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement=a===`a`||a===`area`||!!(typeof customElements==`object`&&customElements.get(a)?.observedAttributes?.includes?.(`href`))}setTabIndexIfNotOnNativeEl(e){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue(`tabindex`,e)}ngOnChanges(e){this.onChanges.next(this)}routerLinkInput=ls$1(null);set routerLink(e){e==null?(this.routerLinkInput.set(null),this.setTabIndexIfNotOnNativeEl(null)):(Se(e)?this.routerLinkInput.set(e):this.routerLinkInput.set(Array.isArray(e)?e:[e]),this.setTabIndexIfNotOnNativeEl(`0`))}onClick(e,r,i,o,s){let c=this._urlTree();if(c===null||this.isAnchorElement&&(e!==0||r||i||o||s||typeof this.target==`string`&&this.target!=`_self`))return!0;let a=this.browserUrl(),l=W({skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info},a!==void 0&&{browserUrl:a});return this.router.navigateByUrl(c,l)?.catch(u=>{this.applicationErrorHandler(u)}),!this.isAnchorElement}ngOnDestroy(){}applyAttributeValue(e,r){let i=this.renderer,o=this.el.nativeElement;r!==null?i.setAttribute(o,e,r):i.removeAttribute(o,e)}_urlTree=OM(()=>{this.reactiveRouterState.path(),this._preserveFragment()&&this.reactiveRouterState.fragment();let e=i=>i===`preserve`||i===`merge`;(e(this._queryParamsHandling())||e(this.options?.defaultQueryParamsHandling))&&this.reactiveRouterState.queryParams();let r=this.routerLinkInput();return r===null||!this.router.createUrlTree?null:Se(r)?r:this.router.createUrlTree(r,{relativeTo:this._relativeTo()!==void 0?this._relativeTo():this.route,queryParams:this._queryParams(),fragment:this._fragment(),queryParamsHandling:this._queryParamsHandling(),preserveFragment:this._preserveFragment()})},{equal:(e,r)=>this.computeHref(e)===this.computeHref(r)});get urlTree(){return ha$1(this._urlTree)}computeHref(e){return e!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(e))??``:null}static ɵfac=function(r){return new(r||t)(P$1(Q),P$1(ce),yl(`tabindex`),P$1(Un$1),P$1(Lt$1),P$1(Fr$1))};static ɵdir=Xe$1({type:t,selectors:[[``,`routerLink`,``]],hostVars:2,hostBindings:function(r,i){r&1&&jy(`click`,function(s){return i.onClick(s.button,s.ctrlKey,s.shiftKey,s.altKey,s.metaKey)}),r&2&&Ny(`href`,i.reactiveHref(),_w)(`target`,i._target())},inputs:{target:`target`,queryParams:`queryParams`,fragment:`fragment`,queryParamsHandling:`queryParamsHandling`,state:`state`,info:`info`,relativeTo:`relativeTo`,preserveFragment:[2,`preserveFragment`,`preserveFragment`,fN],skipLocationChange:[2,`skipLocationChange`,`skipLocationChange`,fN],replaceUrl:[2,`replaceUrl`,`replaceUrl`,fN],browserUrl:[1,`browserUrl`],routerLink:`routerLink`},features:[Zs$1]})}return t})();var el=(()=>{class t{router;element;renderer;cdr;links;classes=[];routerEventsSubscription;linkInputChangesSubscription;_isActive=!1;get isActive(){return this._isActive}routerLinkActiveOptions={exact:!1};ariaCurrentWhenActive;isActiveChange=new St$1;link=D(Gr,{optional:!0});constructor(e,r,i,o){this.router=e,this.element=r,this.renderer=i,this.cdr=o,this.routerEventsSubscription=e.events.subscribe(s=>{s instanceof G&&this.update()})}ngAfterContentInit(){eE(this.links.changes,eE(null)).pipe(Br$1()).subscribe(e=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();let e=[...this.links.toArray(),this.link].filter(r=>!!r).map(r=>r.onChanges);this.linkInputChangesSubscription=ot(e).pipe(Br$1()).subscribe(r=>{this._isActive!==this.isLinkActive(this.router)(r)&&this.update()})}set routerLinkActive(e){let r=Array.isArray(e)?e:e.split(` `);this.classes=r.filter(i=>!!i)}ngOnChanges(e){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{let e=this.hasActiveLinks();
2this.classes.forEach(r=>{e?this.renderer.addClass(this.element.nativeElement,r):this.renderer.removeClass(this.element.nativeElement,r)}),e&&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!==e&&(this._isActive=e,this.cdr.markForCheck(),this.isActiveChange.emit(e))})}isLinkActive(e){let r=tl(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact??!1?W({},Wn):W({},Mt);return i=>{let o=i.urlTree;return o?ha$1(Xn(o,e,r)):!1}}hasActiveLinks(){let e=this.isLinkActive(this.router);return this.link&&e(this.link)||this.links.some(e)}static ɵfac=function(r){return new(r||t)(P$1(Q),P$1(Lt$1),P$1(Un$1),P$1(Nd))};static ɵdir=Xe$1({type:t,selectors:[[``,`routerLinkActive`,``]],contentQueries:function(r,i,o){if(r&1&&Hy(o,Gr,5),r&2){let s;IS(s=CS())&&(i.links=s)}},inputs:{routerLinkActiveOptions:`routerLinkActiveOptions`,ariaCurrentWhenActive:`ariaCurrentWhenActive`,routerLinkActive:`routerLinkActive`},outputs:{isActiveChange:`isActiveChange`},exportAs:[`routerLinkActive`],features:[Zs$1]})}return t})();function tl(t){let n=t;return!!(n.paths||n.matrixParams||n.queryParams||n.fragment)}var kt=class{};var bs=(()=>{class t{router;injector;preloadingStrategy;loader;subscription;constructor(e,r,i,o){this.router=e,this.injector=r,this.preloadingStrategy=i,this.loader=o}setUpPreloading(){this.subscription=this.router.events.pipe(Ut$1(e=>e instanceof G),UE(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription?.unsubscribe()}processRoutes(e,r){let i=[];for(let o of r){o.providers&&!o._injector&&(o._injector=id(o.providers,e,``));let s=o._injector??e;o._loadedNgModuleFactory&&!o._loadedInjector&&(o._loadedInjector=o._loadedNgModuleFactory.create(s).injector);let c=o._loadedInjector??s;(o.loadChildren&&!o._loadedRoutes&&o.canLoad===void 0||o.loadComponent&&!o._loadedComponent)&&i.push(this.preloadConfig(s,o)),(o.children||o._loadedRoutes)&&i.push(this.processRoutes(c,o.children??o._loadedRoutes))}return ot(i).pipe(Br$1())}preloadConfig(e,r){return this.preloadingStrategy.preload(r,()=>{if(e.destroyed)return eE(null);let i;r.loadChildren&&r.canLoad===void 0?i=ot(this.loader.loadChildren(e,r)):i=eE(null);let o=i.pipe(Fe$1(s=>s===null?eE(void 0):(r._loadedRoutes=s.routes,r._loadedInjector=s.injector,r._loadedNgModuleFactory=s.factory,this.processRoutes(s.injector??e,s.routes))));if(r.loadComponent&&!r._loadedComponent)return ot([o,this.loader.loadComponent(e,r)]).pipe(Br$1());else return o})}static ɵfac=function(r){return new(r||t)(G$1(Q),G$1(Me),G$1(kt),G$1($r))};static ɵprov=k({token:t,factory:t.ɵfac,providedIn:`root`})}return t})();var Cs=new T(``);var rl=(()=>{class t{options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource=Ve;restoredId=0;store={};isHydrating=D(jC,{optional:!0})??!1;urlSerializer=D(Te);zone=D(X);viewportScroller=D(S3);transitions=D(Hr);constructor(e){this.options=e,this.options.scrollPositionRestoration||=`disabled`,this.options.anchorScrolling||=`disabled`,this.isHydrating&&D(cn).whenStable().then(()=>{this.isHydrating=!1})}init(){this.options.scrollPositionRestoration!==`disabled`&&this.viewportScroller.setHistoryScrollRestoration(`manual`),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof Ee?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof G?(this.lastId=e.id,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.urlAfterRedirects).fragment)):e instanceof ae&&e.code===Ge.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(e=>{if(!(e instanceof We)||e.scrollBehavior===`manual`)return;let r={behavior:`instant`};e.position?this.options.scrollPositionRestoration===`top`?this.viewportScroller.scrollToPosition([0,0],r):this.options.scrollPositionRestoration===`enabled`&&this.viewportScroller.scrollToPosition(e.position,r):e.anchor&&this.options.anchorScrolling===`enabled`?this.viewportScroller.scrollToAnchor(e.anchor):this.options.scrollPositionRestoration!==`disabled`&&this.viewportScroller.scrollToPosition([0,0])})}scheduleScrollEvent(e,r){if(this.isHydrating)return;let i=ha$1(this.transitions.currentNavigation)?.extras.scroll;this.zone.runOutsideAngular(()=>dn(this,null,function*(){yield new Promise(o=>{setTimeout(o),typeof requestAnimationFrame<`u`&&requestAnimationFrame(o)}),this.zone.run(()=>{this.transitions.events.next(new We(e,this.lastSource===`popstate`?this.store[this.restoredId]:null,r,i))})}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static ɵfac=function(r){g_()};static ɵprov=k({token:t,factory:t.ɵfac})}return t})();function nl(t,...n){return po$1([{provide:Oe,multi:!0,useValue:t},{provide:ce,useFactory:Ms},{provide:Ty,multi:!0,useFactory:Is},n.map(e=>e.ɵproviders)])}function Ms(){return D(Q).routerState.root}function et(t,n){return{ɵkind:t,ɵproviders:n}}function Is(){let t=D(fe$1);return n=>{let e=t.get(cn);if(n!==e.components[0])return;let r=t.get(Q),i=t.get(As);t.get(oi)===1&&r.initialNavigation(),t.get(Ns,null,{optional:!0})?.setUpPreloading(),t.get(Cs,null,{optional:!0})?.init(),r.resetRootComponentType(e.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}var As=new T(``,{factory:()=>new J});var oi=new T(``,{factory:()=>1});function _s(){return et(2,[{provide:VC,useValue:!0},{provide:oi,useValue:0},tT(()=>{let n=D(fe$1);return n.get(mN,Promise.resolve()).then(()=>new Promise(r=>{let i=n.get(Q),o=n.get(As);qr(i,()=>{r(!0)}),n.get(Hr).afterPreactivation=()=>(r(!0),o.closed?eE(void 0):o),i.initialNavigation()}))})])}function Ds(){return et(3,[tT(()=>{D(Q).setUpLocationChangeListener()}),{provide:oi,useValue:2}])}var Ns=new T(``);function Ps(t){return et(0,[{provide:Ns,useExisting:bs},{provide:kt,useExisting:t}])}function il(t){return et(5,[{provide:ge,useValue:t}])}function Os(t={}){return et(8,[{provide:xt,useFactory:()=>new os(t)}])}function Us(t){Ee$1(`NgRouterViewTransitions`);return et(9,[{provide:ti,useValue:ws},{provide:ri,useValue:W({skipNextTransition:!!t?.skipInitialTransition},t)}])}
2var xs=[tD,{provide:Te,useClass:pe},Q,Pe,{provide:ce,useFactory:Ms},$r];var ol=(()=>{class t{constructor(){}static forRoot(e,r){return{ngModule:t,providers:[xs,[],{provide:Oe,multi:!0,useValue:e},[],r?.errorHandler?{provide:ni,useValue:r.errorHandler}:[],{provide:ge,useValue:r||{}},r?.useHash?al():cl(),sl(),r?.preloadingStrategy?Ps(r.preloadingStrategy).ɵproviders:[],r?.initialNavigation?ll(r):[],r?.bindToComponentInputs?Os(typeof r.bindToComponentInputs==`object`?r.bindToComponentInputs:{}).ɵproviders:[],r?.enableViewTransitions?Us().ɵproviders:[],ul()]}}static forChild(e){return{ngModule:t,providers:[{provide:Oe,multi:!0,useValue:e}]}}static ɵfac=function(r){return new(r||t)};static ɵmod=da$1({type:t});static ɵinj=io$1({})}return t})();function sl(){return{provide:Cs,useFactory:()=>{let t=D(S3),n=D(ge);return n.scrollOffset&&t.setOffset(n.scrollOffset),new rl(n)}}}function al(){return{provide:Fr$1,useClass:EN}}function cl(){return{provide:Fr$1,useClass:eD}}function ll(t){return[t.initialNavigation===`disabled`?Ds().ɵproviders:[],t.initialNavigation===`enabledBlocking`?_s().ɵproviders:[]]}var ii=new T(``);function ul(){return[{provide:ii,useFactory:Is},{provide:Ty,multi:!0,useExisting:ii}]}export{ie as A,yn as B,bo as C,ea as D,dr as E,oe as F,ol as I,wa as L,m as M,mr as N,el as O,nl as P,wn as R,ae as S,de as T,So as _,Fe as a,Zn as b,Ke as c,Mo as d,Pe as f,Sa as g,S as h,F as i,il as j,he as k,Kn as l,Ra as m,Ea as n,G as o,Q as p,Ee as r,Gr as s,$e as t,Ks as u,Te as v,ce as w,_o as x,Ur as y,ya as z}; 3//# debugId=1ca8ffa6-8659-5dff-a10f-ba62b26b9af7
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.