vendor: 4,893 bytes, line 1
1import{$ as Mr,A as $e,Aa as vn,B as ln,Ba as jr,C as dt,Ca as kr,D as He,Da as mt,Db as Br,Ea as $r,Fa as mn,G as W,Ga as yn,H as ht,Ha as Rn,Hb as Vr,I as dn,Ia as Hr,Ib as qr,J as vr,K as mr,Kb as Sn,L as yr,Lb as Gr,M as hn,Ma as zr,Mb as Wr,N as Rr,Nb as yt,O as ft,Ob as Yr,Pb as we,Q as fn,Qb as Qr,R as pn,Rb as Kr,S as pt,T as ye,Tb as Zr,U as Re,Ub as Be,V as Sr,Va as Fr,Vb as Jr,W as wr,Wb as Ce,X as Cr,Xb as Xr,Y as Er,Z as br,_ as Ir,a as S,aa as ae,b as an,c as q,e as m,ea as Tr,f as je,g as fr,h as E,i as y,ia as ze,j as h,ja as Ar,k as cn,ka as Dr,la as _r,m as pr,ma as gn,mc as ei,n as G,na as Or,nc as ti,o as D,oa as Nr,oc as ni,pa as Se,qa as Pr,qc as ri,ra as Ur,rc as wn,sa as Lr,ta as gt,ua as xr,v as ke,va as Fe,w as U,wa as vt,x as un,y as gr,z as me}from"./chunk-DBXDUEE4.js";import{C as P,Ca as ut,H as A,I as g,Ia as xe,J as cr,M as nn,N as ur,Qa as ve,Sb as hr,Tb as B,V as M,Xb as lt,Y as rn,Z as $,Zb as V,_ as on,aa as lr,b as or,ba as ct,fb as dr,h as sr,i as ar,ib as J,lb as sn,n as se,o as N,pa as Z}from"./chunk-TAAAIZHL.js";import{a as f,b as T,f as w}from"./chunk-EQDQRRRY.js";var Ve=class{_doc;constructor(r){this._doc=r}manager},Rt=(()=>{class t extends Ve{constructor(e){super(e)}supports(e){return!0}addEventListener(e,n,i,o){return e.addEventListener(n,i,o),()=>this.removeEventListener(e,n,i,o)}removeEventListener(e,n,i,o){return e.removeEventListener(n,i,o)}static \u0275fac=function(n){return new(n||t)(y(U))};static \u0275prov=m({token:t,factory:t.\u0275fac})}return t})(),Et=new E(""),In=(()=>{class t{_zone;_plugins;_eventNameToPlugin=new Map;constructor(e,n){this._zone=n,e.forEach(s=>{s.manager=this});let i=e.filter(s=>!(s instanceof Rt));this._plugins=i.slice().reverse();let o=e.find(s=>s instanceof Rt);o&&this._plugins.push(o)}addEventListener(e,n,i,o){return this._findPluginFor(n).addEventListener(e,n,i,o)}getZone(){return this._zone}_findPluginFor(e){let n=this._eventNameToPlugin.get(e);if(n)return n;if(n=this._plugins.find(o=>o.supports(e)),!n)throw new S(5101,!1);return this._eventNameToPlugin.set(e,n),n}static \u0275fac=function(n){return new(n||t)(y(Et),y($e))};static \u0275prov=m({token:t,factory:t.\u0275fac})}return t})(),Cn="ng-app-id";function ii(t){for(let r of t)r.remove()}function oi(t,r){let e=r.createElement("style");return e.textContent=t,e}function Eo(t,r,e,n){let i=t.head?.querySelectorAll(`style[${Cn}="${r}"],link[${Cn}="${r}"]`);if(i)for(let o of i)o.removeAttribute(Cn),o instanceof HTMLLinkElement?n.set(o.href.slice(o.href.lastIndexOf("/")+1),{usage:0,elements:[o]}):o.textContent&&e.set(o.textContent,{usage:0,elements:[o]})}function bn(t,r){let e=r.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,n,i,o={}){this.doc=e,this.appId=n,this.nonce=i,Eo(e,n,this.inline,this.external),this.hosts.add(e.head)}addStyles(e,n){for(let i of e)this.addUsage(i,this.inline,oi);n?.forEach(i=>this.addUsage(i,this.external,bn))}removeStyles(e,n){for(let i of e)this.removeUsage(i,this.inline);n?.forEach(i=>this.removeUsage(i,this.external))}addUsage(e,n,i){let o=n.get(e);o?o.usage++:n.set(e,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,i(e,this.doc)))})}removeUsage(e,n){let i=n.get(e);i&&(i.usage--,i.usage<=0&&(ii(i.elements),n.delete(e)))}ngOnDestroy(){for(let[,{elements:e}]of[...this.inline,...this.external])ii(e);this.hosts.clear()}addHost(e){this.hosts.add(e);for(let[n,{elements:i}]of this.inline)i.push(this.addElement(e,oi(n,this.doc)));for(let[n,{elements:i}]of this.external)i.push(this.addElement(e,bn(n,this.doc)))}removeHost(e){this.hosts.delete(e)}addElement(e,n){return this.nonce&&n.setAttribute("nonce",this.nonce),e.appendChild(n)}static \u0275fac=function(n){return new(n||t)(y(U),y(hn),y(fn,8),y(ft))};static \u0275prov=m({token:t,factory:t.\u0275fac})}return t})(),En={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"},Tn=/%COMP%/g;var ai="%COMP%",bo=`_nghost-${ai}`,Io=`_ngcontent-${ai}`,Mo=!0,To=new E("",{factory:()=>Mo});function Ao(t){return Io.replace(Tn,t)}function Do(t){return bo.replace(Tn,t)}function ci(t,r){return r.map(e=>e.replace(Tn,t))}var An=(()=>{class t{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;constructor(e,n,i,o,s,a,c=null,u=null){this.eventManager=e,this.sharedStylesHost=n,this.appId=i,this.removeStylesOnCompDestroy=o,this.doc=s,this.ngZone=a,this.nonce=c,this.tracingService=u,this.defaultRenderer=new qe(e,s,a,this.tracingService)}createRenderer(e,n){if(!e||!n)return this.defaultRenderer;let i=this.getOrCreateRenderer(e,n);
vendor: 5,629 bytes, line 1
1return i instanceof wt?i.applyToHost(e):i instanceof Ge&&i.applyStyles(),i}getOrCreateRenderer(e,n){let i=this.rendererByCompId,o=i.get(n.id);if(!o){let s=this.doc,a=this.ngZone,c=this.eventManager,u=this.sharedStylesHost,l=this.removeStylesOnCompDestroy,d=this.tracingService;switch(n.encapsulation){case pt.Emulated:o=new wt(c,u,n,this.appId,l,s,a,d);break;case pt.ShadowDom:return new St(c,e,n,s,a,this.nonce,d,u);case pt.ExperimentalIsolatedShadowDom:return new St(c,e,n,s,a,this.nonce,d);default:o=new Ge(c,u,n,l,s,a,d);break}i.set(n.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(e){this.rendererByCompId.delete(e)}static \u0275fac=function(n){return new(n||t)(y(In),y(Mn),y(hn),y(To),y(U),y($e),y(fn),y(Dr,8))};static \u0275prov=m({token:t,factory:t.\u0275fac})}return t})(),qe=class{eventManager;doc;ngZone;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(r,e,n,i){this.eventManager=r,this.doc=e,this.ngZone=n,this.tracingService=i}destroy(){}destroyNode=null;createElement(r,e){return e?this.doc.createElementNS(En[e]||e,r):this.doc.createElement(r)}createComment(r){return this.doc.createComment(r)}createText(r){return this.doc.createTextNode(r)}appendChild(r,e){(si(r)?r.content:r).appendChild(e)}insertBefore(r,e,n){r&&(si(r)?r.content:r).insertBefore(e,n)}removeChild(r,e){e.remove()}selectRootElement(r,e){let n=typeof r=="string"?this.doc.querySelector(r):r;if(!n)throw new S(-5104,!1);return e||(n.textContent=""),n}parentNode(r){return r.parentNode}nextSibling(r){return r.nextSibling}setAttribute(r,e,n,i){if(i){e=i+":"+e;let o=En[i];o?r.setAttributeNS(o,e,n):r.setAttribute(e,n)}else r.setAttribute(e,n)}removeAttribute(r,e,n){if(n){let i=En[n];i?r.removeAttributeNS(i,e):r.removeAttribute(`${n}:${e}`)}else r.removeAttribute(e)}addClass(r,e){r.classList.add(e)}removeClass(r,e){r.classList.remove(e)}setStyle(r,e,n,i){i&(ze.DashCase|ze.Important)?r.style.setProperty(e,n,i&ze.Important?"important":""):r.style[e]=n}removeStyle(r,e,n){n&ze.DashCase?r.style.removeProperty(e):r.style[e]=""}setProperty(r,e,n){r!=null&&(r[e]=n)}setValue(r,e){r.nodeValue=e}listen(r,e,n,i){if(typeof r=="string"&&(r=we().getGlobalEventTarget(this.doc,r),!r))throw new S(5102,!1);let o=this.decoratePreventDefault(n);return this.tracingService?.wrapEventListener&&(o=this.tracingService.wrapEventListener(r,e,o)),this.eventManager.addEventListener(r,e,o,i)}decoratePreventDefault(r){return e=>{if(e==="__ngUnwrap__")return r;r(e)===!1&&e.preventDefault()}}};function si(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var St=class extends qe{hostEl;sharedStylesHost;shadowRoot;constructor(r,e,n,i,o,s,a,c){super(r,i,o,a),this.hostEl=e,this.sharedStylesHost=c,this.shadowRoot=e.attachShadow({mode:"open"}),this.sharedStylesHost&&this.sharedStylesHost.addHost(this.shadowRoot);let u=n.styles;u=ci(n.id,u);for(let d of u){let R=document.createElement("style");s&&R.setAttribute("nonce",s),R.textContent=d,this.shadowRoot.appendChild(R)}let l=n.getExternalStyles?.();if(l)for(let d of l){let R=bn(d,i);s&&R.setAttribute("nonce",s),this.shadowRoot.appendChild(R)}}nodeOrShadowRoot(r){return r===this.hostEl?this.shadowRoot:r}appendChild(r,e){return super.appendChild(this.nodeOrShadowRoot(r),e)}insertBefore(r,e,n){return super.insertBefore(this.nodeOrShadowRoot(r),e,n)}removeChild(r,e){return super.removeChild(null,e)}parentNode(r){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(r)))}destroy(){this.sharedStylesHost&&this.sharedStylesHost.removeHost(this.shadowRoot)}},Ge=class extends qe{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(r,e,n,i,o,s,a,c){super(r,o,s,a),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=i;let u=n.styles;this.styles=c?ci(c,u):u,this.styleUrls=n.getExternalStyles?.(c)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&Ar.size===0&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},wt=class extends Ge{contentAttr;hostAttr;constructor(r,e,n,i,o,s,a,c){let u=i+"-"+n.id;super(r,e,n,o,s,a,c,u),this.contentAttr=Ao(u),this.hostAttr=Do(u)}applyToHost(r){this.applyStyles(),this.setAttribute(r,this.hostAttr,"")}createElement(r,e){let n=super.createElement(r,e);return super.setAttribute(n,this.contentAttr,""),n}};var bt=class t extends Kr{supportsDOMEvents=!0;static makeCurrent(){Qr(new t)}onAndCancel(r,e,n,i){return r.addEventListener(e,n,i),()=>{r.removeEventListener(e,n,i)}}dispatchEvent(r,e){r.dispatchEvent(e)}remove(r){r.remove()}createElement(r,e){return e=e||this.getDefaultDocument(),e.createElement(r)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(r){return r.nodeType===Node.ELEMENT_NODE}isShadowRoot(r){return r instanceof DocumentFragment}getGlobalEventTarget(r,e){return e==="window"?window:e==="document"?r:e==="body"?r.body:null}getBaseHref(r){let e=_o();return e==null?null:Oo(e)}resetBaseElement(){We=null}getUserAgent(){return window.navigator.userAgent}getCookie(r){return ti(document.cookie,r)}},We=null;function _o(){return We=We||document.head.querySelector("base"),We?We.getAttribute("href"):null}function Oo(t){return new URL(t,document.baseURI).pathname}var It=class{addToWindow(r){q.getAngularTestability=(n,i=!0)=>{let o=r.findTestabilityInTree(n,i);if(o==null)throw new S(5103,!1);return o},q.getAllAngularTestabilities=()=>r.getAllTestabilities(),q.getAllAngularRootElements=()=>r.getAllRootElements();let e=n=>{let i=q.getAllAngularTestabilities(),o=i.length,s=function(){o--,o==0&&n()};
1i.forEach(a=>{a.whenStable(s)})};q.frameworkStabilizers||(q.frameworkStabilizers=[]),q.frameworkStabilizers.push(e)}findTestabilityInTree(r,e,n){if(e==null)return null;let i=r.getTestability(e);return i??(n?we().isShadowRoot(e)?this.findTestabilityInTree(r,e.host,!0):this.findTestabilityInTree(r,e.parentElement,!0):null)}},No=(()=>{class t{build(){return new XMLHttpRequest}static \u0275fac=function(n){return new(n||t)};static \u0275prov=m({token:t,factory:t.\u0275fac})}return t})(),ui=["alt","control","meta","shift"],Po={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Uo={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},li=(()=>{class t extends Ve{constructor(e){super(e)}supports(e){return t.parseEventName(e)!=null}addEventListener(e,n,i,o){let s=t.parseEventName(n),a=t.eventCallback(s.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>we().onAndCancel(e,s.domEventName,a,o))}static parseEventName(e){let n=e.toLowerCase().split("."),i=n.shift();if(n.length===0||!(i==="keydown"||i==="keyup"))return null;let o=t._normalizeKey(n.pop()),s="",a=n.indexOf("code");if(a>-1&&(n.splice(a,1),s="code."),ui.forEach(u=>{let l=n.indexOf(u);l>-1&&(n.splice(l,1),s+=u+".")}),s+=o,n.length!=0||o.length===0)return null;let c={};return c.domEventName=i,c.fullKey=s,c}static matchEventFullKeyCode(e,n){let i=Po[e.key]||e.key,o="";return n.indexOf("code.")>-1&&(i=e.code,o="code."),i==null||!i?!1:(i=i.toLowerCase(),i===" "?i="space":i==="."&&(i="dot"),ui.forEach(s=>{if(s!==i){let a=Uo[s];a(e)&&(o+=s+".")}}),o+=i,o===n)}static eventCallback(e,n,i){return o=>{t.matchEventFullKeyCode(o,e)&&i.runGuarded(()=>n(o))}}static _normalizeKey(e){return e==="esc"?"escape":e}static \u0275fac=function(n){return new(n||t)(y(U))};static \u0275prov=m({token:t,factory:t.\u0275fac})}return t})();function Lo(t,r,e){return w(this,null,function*(){let n=f({rootComponent:t},xo(r,e));return Wr(n)})}function xo(t,r){return{platformRef:r?.platformRef,appProviders:[...di,...t?.providers??[]],platformProviders:Ho}}function jo(){bt.makeCurrent()}function ko(){return new ln}function $o(){return yr(document),document}var Ho=[{provide:ft,useValue:ri},{provide:Rr,useValue:jo,multi:!0},{provide:U,useFactory:$o}];var zo=[{provide:kr,useClass:It},{provide:jr,useClass:mt},{provide:mt,useClass:mt}],di=[{provide:pr,useValue:"root"},{provide:ln,useFactory:ko},{provide:Et,useClass:Rt,multi:!0},{provide:Et,useClass:li,multi:!0},An,Mn,In,{provide:Or,useExisting:An},{provide:ni,useClass:No},[]],Fo=(()=>{class t{constructor(){}static \u0275fac=function(n){return new(n||t)};static \u0275mod=Fe({type:t});static \u0275inj=je({providers:[...di,...zo],imports:[ei,Gr]})}return t})();var hi=(()=>{class t{_doc;constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}static \u0275fac=function(n){return new(n||t)(y(U))};static \u0275prov=m({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Vo=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275prov=m({token:t,factory:function(n){let i=null;return n?i=new(n||t):i=y(qo),i},providedIn:"root"})}return t})(),qo=(()=>{class t extends Vo{_doc;constructor(e){super(),this._doc=e}sanitize(e,n){if(n==null)return null;switch(e){case ae.NONE:return n;case ae.HTML:return Re(n,"HTML")?ye(n):Mr(this._doc,String(n)).toString();case ae.STYLE:return Re(n,"Style")?ye(n):n;case ae.SCRIPT:if(Re(n,"Script"))return ye(n);throw new S(5200,!1);case ae.URL:return Re(n,"URL")?ye(n):Ir(String(n));case ae.RESOURCE_URL:if(Re(n,"ResourceURL"))return ye(n);throw new S(5201,!1);default:throw new S(5202,!1)}}bypassSecurityTrustHtml(e){return Sr(e)}bypassSecurityTrustStyle(e){return wr(e)}bypassSecurityTrustScript(e){return Cr(e)}bypassSecurityTrustUrl(e){return Er(e)}bypassSecurityTrustResourceUrl(e){return br(e)}static \u0275fac=function(n){return new(n||t)(y(U))};static \u0275prov=m({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var p="primary",rt=Symbol("RouteTitle"),Pn=class{params;constructor(r){this.params=r||{}}has(r){return Object.prototype.hasOwnProperty.call(this.params,r)}get(r){if(this.has(r)){let e=this.params[r];return Array.isArray(e)?e[0]:e}return null}getAll(r){if(this.has(r)){let e=this.params[r];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}};function le(t){return new Pn(t)}function Dn(t,r,e){for(let n=0;n<t.length;n++){let i=t[n],o=r[n];if(i[0]===":")e[i.substring(1)]=o;else if(i!==o.path)return!1}return!0}function Ci(t,r,e){let n=e.path.split("/"),i=n.indexOf("**");if(i===-1){if(n.length>t.length||e.pathMatch==="full"&&(r.hasChildren()||n.length<t.length))return null;
vendor: 4,270 bytes, line 1
1let c={},u=t.slice(0,n.length);return Dn(n,u,c)?{consumed:u,posParams:c}:null}if(i!==n.lastIndexOf("**"))return null;let o=n.slice(0,i),s=n.slice(i+1);if(o.length+s.length>t.length||e.pathMatch==="full"&&r.hasChildren()&&e.path!=="**")return null;let a={};return!Dn(o,t.slice(0,o.length),a)||!Dn(s,t.slice(t.length-s.length),a)?null:{consumed:t,posParams:a}}function Ot(t){return new Promise((r,e)=>{t.pipe(J()).subscribe({next:n=>r(n),error:n=>e(n)})})}function Wo(t,r){if(t.length!==r.length)return!1;for(let e=0;e<t.length;++e)if(!H(t[e],r[e]))return!1;return!0}function H(t,r){let e=t?Un(t):void 0,n=r?Un(r):void 0;if(!e||!n||e.length!=n.length)return!1;let i;for(let o=0;o<e.length;o++)if(i=e[o],!Ei(t[i],r[i]))return!1;return!0}function Un(t){return[...Object.keys(t),...Object.getOwnPropertySymbols(t)]}function Ei(t,r){if(Array.isArray(t)&&Array.isArray(r)){if(t.length!==r.length)return!1;let e=[...t].sort(),n=[...r].sort();return e.every((i,o)=>n[o]===i)}else return t===r}function Yo(t){return t.length>0?t[t.length-1]:null}function he(t){return nn(t)?t:$r(t)?A(Promise.resolve(t)):g(t)}function bi(t){return nn(t)?Ot(t):Promise.resolve(t)}var Qo={exact:Mi,subset:Ti},Ii={exact:Ko,subset:Zo,ignored:()=>!0};function fi(t,r,e){return Qo[e.paths](t.root,r.root,e.matrixParams)&&Ii[e.queryParams](t.queryParams,r.queryParams)&&!(e.fragment==="exact"&&t.fragment!==r.fragment)}function Ko(t,r){return H(t,r)}function Mi(t,r,e){if(!ce(t.segments,r.segments)||!At(t.segments,r.segments,e)||t.numberOfChildren!==r.numberOfChildren)return!1;for(let n in r.children)if(!t.children[n]||!Mi(t.children[n],r.children[n],e))return!1;return!0}function Zo(t,r){return Object.keys(r).length<=Object.keys(t).length&&Object.keys(r).every(e=>Ei(t[e],r[e]))}function Ti(t,r,e){return Ai(t,r,r.segments,e)}function Ai(t,r,e,n){if(t.segments.length>e.length){let i=t.segments.slice(0,e.length);return!(!ce(i,e)||r.hasChildren()||!At(i,e,n))}else if(t.segments.length===e.length){if(!ce(t.segments,e)||!At(t.segments,e,n))return!1;for(let i in r.children)if(!t.children[i]||!Ti(t.children[i],r.children[i],n))return!1;return!0}else{let i=e.slice(0,t.segments.length),o=e.slice(t.segments.length);return!ce(t.segments,i)||!At(t.segments,i,n)||!t.children[p]?!1:Ai(t.children[p],r,o,n)}}function At(t,r,e){return r.every((n,i)=>Ii[e](t[i].parameters,n.parameters))}var k=class{root;queryParams;fragment;_queryParamMap;constructor(r=new v([],{}),e={},n=null){this.root=r,this.queryParams=e,this.fragment=n}get queryParamMap(){return this._queryParamMap??=le(this.queryParams),this._queryParamMap}toString(){return es.serialize(this)}},v=class{segments;children;parent=null;constructor(r,e){this.segments=r,this.children=e,Object.values(e).forEach(n=>n.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Dt(this)}},X=class{path;parameters;_parameterMap;constructor(r,e){this.path=r,this.parameters=e}get parameterMap(){return this._parameterMap??=le(this.parameters),this._parameterMap}toString(){return _i(this)}};function Jo(t,r){return ce(t,r)&&t.every((e,n)=>H(e.parameters,r[n].parameters))}function ce(t,r){return t.length!==r.length?!1:t.every((e,n)=>e.path===r[n].path)}function Xo(t,r){let e=[];return Object.entries(t.children).forEach(([n,i])=>{n===p&&(e=e.concat(r(i,n)))}),Object.entries(t.children).forEach(([n,i])=>{n!==p&&(e=e.concat(r(i,n)))}),e}var fe=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275prov=m({token:t,factory:()=>new Q,providedIn:"root"})}return t})(),Q=class{parse(r){let e=new xn(r);return new k(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(r){let e=`/${Ye(r.root,!0)}`,n=rs(r.queryParams),i=typeof r.fragment=="string"?`#${ts(r.fragment)}`:"";return`${e}${n}${i}`}},es=new Q;function Dt(t){return t.segments.map(r=>_i(r)).join("/")}function Ye(t,r){if(!t.hasChildren())return Dt(t);if(r){let e=t.children[p]?Ye(t.children[p],!1):"",n=[];return Object.entries(t.children).forEach(([i,o])=>{i!==p&&n.push(`${i}:${Ye(o,!1)}`)}),n.length>0?`${e}(${n.join("//")})`:e}else{let e=Xo(t,(n,i)=>i===p?[Ye(t.children[p],!1)]:[`${i}:${Ye(n,!1)}`]);return Object.keys(t.children).length===1&&t.children[p]!=null?`${Dt(t)}
1/${e[0]}`:`${Dt(t)}/(${e.join("//")})`}}function Di(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Mt(t){return Di(t).replace(/%3B/gi,";")}function ts(t){return encodeURI(t)}function Ln(t){return Di(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function _t(t){return decodeURIComponent(t)}function pi(t){return _t(t.replace(/\+/g,"%20"))}function _i(t){return`${Ln(t.path)}${ns(t.parameters)}`}function ns(t){return Object.entries(t).map(([r,e])=>`;${Ln(r)}=${Ln(e)}`).join("")}function rs(t){let r=Object.entries(t).map(([e,n])=>Array.isArray(n)?n.map(i=>`${Mt(e)}=${Mt(i)}`).join("&"):`${Mt(e)}=${Mt(n)}`).filter(e=>e);return r.length?`?${r.join("&")}`:""}var is=/^[^\/()?;#]+/;function _n(t){let r=t.match(is);return r?r[0]:""}var os=/^[^\/()?;=#]+/;function ss(t){let r=t.match(os);return r?r[0]:""}var as=/^[^=?&#]+/;function cs(t){let r=t.match(as);return r?r[0]:""}var us=/^[^&#]+/;function ls(t){let r=t.match(us);return r?r[0]:""}var xn=class{url;remaining;constructor(r){this.url=r,this.remaining=r}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new v([],{}):new v([],this.parseChildren())}parseQueryParams(){let r={};if(this.consumeOptional("?"))do this.parseQueryParam(r);while(this.consumeOptional("&"));return r}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let r=[];for(this.peekStartsWith("(")||r.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),r.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(r.length>0||Object.keys(e).length>0)&&(n[p]=new v(r,e)),n}parseSegment(){let r=_n(this.remaining);if(r===""&&this.peekStartsWith(";"))throw new S(4009,!1);return this.capture(r),new X(_t(r),this.parseMatrixParams())}parseMatrixParams(){let r={};for(;this.consumeOptional(";");)this.parseParam(r);return r}parseParam(r){let e=ss(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){let i=_n(this.remaining);i&&(n=i,this.capture(n))}r[_t(e)]=_t(n)}parseQueryParam(r){let e=cs(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){let s=ls(this.remaining);s&&(n=s,this.capture(n))}let i=pi(e),o=pi(n);if(r.hasOwnProperty(i)){let s=r[i];Array.isArray(s)||(s=[s],r[i]=s),s.push(o)}else r[i]=o}parseParens(r){let e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let n=_n(this.remaining),i=this.remaining[n.length];if(i!=="/"&&i!==")"&&i!==";")throw new S(4010,!1);let o;n.indexOf(":")>-1?(o=n.slice(0,n.indexOf(":")),this.capture(o),this.capture(":")):r&&(o=p);let s=this.parseChildren();e[o??p]=Object.keys(s).length===1&&s[p]?s[p]:new v([],s),this.consumeOptional("//")}return e}peekStartsWith(r){return this.remaining.startsWith(r)}consumeOptional(r){return this.peekStartsWith(r)?(this.remaining=this.remaining.substring(r.length),!0):!1}capture(r){if(!this.consumeOptional(r))throw new S(4011,!1)}};function Oi(t){return t.segments.length>0?new v([],{[p]:t}):t}function Ni(t){let r={};for(let[n,i]of Object.entries(t.children)){let o=Ni(i);if(n===p&&o.segments.length===0&&o.hasChildren())for(let[s,a]of Object.entries(o.children))r[s]=a;else(o.segments.length>0||o.hasChildren())&&(r[n]=o)}let e=new v(t.segments,r);return ds(e)}function ds(t){if(t.numberOfChildren===1&&t.children[p]){let r=t.children[p];return new v(t.segments.concat(r.segments),r.children)}return t}function ee(t){return t instanceof k}function Pi(t,r,e=null,n=null,i=new Q){let o=Ui(t);return Li(o,r,e,n,i)}function Ui(t){let r;function e(o){let s={};for(let c of o.children){let u=e(c);s[c.outlet]=u}let a=new v(o.url,s);return o===t&&(r=a),a}let n=e(t.root),i=Oi(n);return r??i}function Li(t,r,e,n,i){let o=t;for(;o.parent;)o=o.parent;if(r.length===0)return On(o,o,o,e,n,i);let s=hs(r);if(s.toRoot())return On(o,o,new v([],{}),e,n,i);let a=fs(s,o,t),c=a.processChildren?Ke(a.segmentGroup,a.index,s.commands):ji(a.segmentGroup,a.index,s.commands);return On(o,a.segmentGroup,c,e,n,i)}function Nt(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function Je(t){return typeof t=="object"&&t!=null&&t.outlets}function gi(t,r,e){t||="\u0275";let n=new k;return n.queryParams={[t]:r},e.parse(e.serialize(n)).queryParams[t]}function On(t,r,e,n,i,o){let s={};for(let[u,l]of Object.entries(n??{}))s[u]=Array.isArray(l)?l.map(d=>gi(u,d,o)):gi(u,l,o);let a;t===r?a=e:a=xi(t,r,e);let c=Oi(Ni(a));return new k(c,s,i)}function xi(t,r,e){let n={};
vendor: 4,763 bytes, line 1
1return Object.entries(t.children).forEach(([i,o])=>{o===r?n[i]=e:n[i]=xi(o,r,e)}),new v(t.segments,n)}var Pt=class{isAbsolute;numberOfDoubleDots;commands;constructor(r,e,n){if(this.isAbsolute=r,this.numberOfDoubleDots=e,this.commands=n,r&&n.length>0&&Nt(n[0]))throw new S(4003,!1);let i=n.find(Je);if(i&&i!==Yo(n))throw new S(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function hs(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new Pt(!0,0,t);let r=0,e=!1,n=t.reduce((i,o,s)=>{if(typeof o=="object"&&o!=null){if(o.outlets){let a={};return Object.entries(o.outlets).forEach(([c,u])=>{a[c]=typeof u=="string"?u.split("/"):u}),[...i,{outlets:a}]}if(o.segmentPath)return[...i,o.segmentPath]}return typeof o!="string"?[...i,o]:s===0?(o.split("/").forEach((a,c)=>{c==0&&a==="."||(c==0&&a===""?e=!0:a===".."?r++:a!=""&&i.push(a))}),i):[...i,o]},[]);return new Pt(e,r,n)}var be=class{segmentGroup;processChildren;index;constructor(r,e,n){this.segmentGroup=r,this.processChildren=e,this.index=n}};function fs(t,r,e){if(t.isAbsolute)return new be(r,!0,0);if(!e)return new be(r,!1,NaN);if(e.parent===null)return new be(e,!0,0);let n=Nt(t.commands[0])?0:1,i=e.segments.length-1+n;return ps(e,i,t.numberOfDoubleDots)}function ps(t,r,e){let n=t,i=r,o=e;for(;o>i;){if(o-=i,n=n.parent,!n)throw new S(4005,!1);i=n.segments.length}return new be(n,!1,i-o)}function gs(t){return Je(t[0])?t[0].outlets:{[p]:t}}function ji(t,r,e){if(t??=new v([],{}),t.segments.length===0&&t.hasChildren())return Ke(t,r,e);let n=vs(t,r,e),i=e.slice(n.commandIndex);if(n.match&&n.pathIndex<t.segments.length){let o=new v(t.segments.slice(0,n.pathIndex),{});return o.children[p]=new v(t.segments.slice(n.pathIndex),t.children),Ke(o,0,i)}else return n.match&&i.length===0?new v(t.segments,{}):n.match&&!t.hasChildren()?jn(t,r,e):n.match?Ke(t,0,i):jn(t,r,e)}function Ke(t,r,e){if(e.length===0)return new v(t.segments,{});{let n=gs(e),i={};if(Object.keys(n).some(o=>o!==p)&&t.children[p]&&t.numberOfChildren===1&&t.children[p].segments.length===0){let o=Ke(t.children[p],r,e);return new v(t.segments,o.children)}return Object.entries(n).forEach(([o,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(i[o]=ji(t.children[o],r,s))}),Object.entries(t.children).forEach(([o,s])=>{n[o]===void 0&&(i[o]=s)}),new v(t.segments,i)}}function vs(t,r,e){let n=0,i=r,o={match:!1,pathIndex:0,commandIndex:0};for(;i<t.segments.length;){if(n>=e.length)return o;let s=t.segments[i],a=e[n];if(Je(a))break;let c=`${a}`,u=n<e.length-1?e[n+1]:null;if(i>0&&c===void 0)break;if(c&&u&&typeof u=="object"&&u.outlets===void 0){if(!mi(c,u,s))return o;n+=2}else{if(!mi(c,{},s))return o;n++}i++}return{match:!0,pathIndex:i,commandIndex:n}}function jn(t,r,e){let n=t.segments.slice(0,r),i=0;for(;i<e.length;){let o=e[i];if(Je(o)){let c=ms(o.outlets);return new v(n,c)}if(i===0&&Nt(e[0])){let c=t.segments[r];n.push(new X(c.path,vi(e[0]))),i++;continue}let s=Je(o)?o.outlets[p]:`${o}`,a=i<e.length-1?e[i+1]:null;s&&a&&Nt(a)?(n.push(new X(s,vi(a))),i+=2):(n.push(new X(s,{})),i++)}return new v(n,{})}function ms(t){let r={};return Object.entries(t).forEach(([e,n])=>{typeof n=="string"&&(n=[n]),n!==null&&(r[e]=jn(new v([],{}),0,n))}),r}function vi(t){let r={};return Object.entries(t).forEach(([e,n])=>r[e]=`${n}`),r}function mi(t,r,e){return t==e.path&&H(r,e.parameters)}var Ie="imperative",b=(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})(b||{}),O=class{id;url;constructor(r,e){this.id=r,this.url=e}},te=class extends O{type=b.NavigationStart;navigationTrigger;restoredState;constructor(r,e,n="imperative",i=null){super(r,e),this.navigationTrigger=n,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},x=class extends O{urlAfterRedirects;type=b.NavigationEnd;constructor(r,e,n){super(r,e),this.urlAfterRedirects=n}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},I=(function(t){return t[t.Redirect=0]="Redirect",t[t.SupersededByNewNavigation=1]="SupersededByNewNavigation",t[t.NoDataFromRe
1solver=2]="NoDataFromResolver",t[t.GuardRejected=3]="GuardRejected",t[t.Aborted=4]="Aborted",t})(I||{}),Te=(function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t})(Te||{}),L=class extends O{reason;code;type=b.NavigationCancel;constructor(r,e,n,i){super(r,e),this.reason=n,this.code=i}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}};function ki(t){return t instanceof L&&(t.code===I.Redirect||t.code===I.SupersededByNewNavigation)}var z=class extends O{reason;code;type=b.NavigationSkipped;constructor(r,e,n,i){super(r,e),this.reason=n,this.code=i}},de=class extends O{error;target;type=b.NavigationError;constructor(r,e,n,i){super(r,e),this.error=n,this.target=i}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Ae=class extends O{urlAfterRedirects;state;type=b.RoutesRecognized;constructor(r,e,n,i){super(r,e),this.urlAfterRedirects=n,this.state=i}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Ut=class extends O{urlAfterRedirects;state;type=b.GuardsCheckStart;constructor(r,e,n,i){super(r,e),this.urlAfterRedirects=n,this.state=i}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Lt=class extends O{urlAfterRedirects;state;shouldActivate;type=b.GuardsCheckEnd;constructor(r,e,n,i,o){super(r,e),this.urlAfterRedirects=n,this.state=i,this.shouldActivate=o}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},xt=class extends O{urlAfterRedirects;state;type=b.ResolveStart;constructor(r,e,n,i){super(r,e),this.urlAfterRedirects=n,this.state=i}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},jt=class extends O{urlAfterRedirects;state;type=b.ResolveEnd;constructor(r,e,n,i){super(r,e),this.urlAfterRedirects=n,this.state=i}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},kt=class{route;type=b.RouteConfigLoadStart;constructor(r){this.route=r}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},$t=class{route;type=b.RouteConfigLoadEnd;constructor(r){this.route=r}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Ht=class{snapshot;type=b.ChildActivationStart;constructor(r){this.snapshot=r}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},zt=class{snapshot;type=b.ChildActivationEnd;constructor(r){this.snapshot=r}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Ft=class{snapshot;type=b.ActivationStart;constructor(r){this.snapshot=r}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Bt=class{snapshot;type=b.ActivationEnd;constructor(r){this.snapshot=r}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},De=class{routerEvent;position;anchor;scrollBehavior;type=b.Scroll;constructor(r,e,n,i){this.routerEvent=r,this.position=e,this.anchor=n,this.scrollBehavior=i}toString(){let r=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${r}')`}},_e=class{},Oe=class{url;navigationBehaviorOptions;constructor(r,e){this.url=r,this.navigationBehaviorOptions=e}};function ys(t){return!(t instanceof _e)&&!(t instanceof Oe)}var Vt=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return this.route?.snapshot._environmentInjector??this.rootInjector}constructor(r){this.rootInjector=r,this.children=new pe(this.rootInjector)}},pe=(()=>{class t{rootInjector;contexts=new Map;constructor(e){this.rootInjector=e}onChildOutletCreated(e,n){let i=this.getOrCreateContext(e);i.outlet=n,this.contexts.set(e,i)}onChildOutletDestroyed(e){let n=this.getContext(e);n&&(n.outlet=null,n.attachRef=null)}onOutletDeactivated(){let e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let n=this.getContext(e);return n||(n=new Vt(this.rootInjector),this.contexts.set(e,n)),n}getContext(e){return this.contexts.get(e)||null}static \u0275fac=function(n){return new(n||t)(y(G))};static \u0275prov=m({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),qt=class{_root;constructor(r){this._root=r}get root(){return this._root.value}
vendor: 21,818 bytes, line 1
1parent(r){let e=this.pathFromRoot(r);return e.length>1?e[e.length-2]:null}children(r){let e=kn(r,this._root);return e?e.children.map(n=>n.value):[]}firstChild(r){let e=kn(r,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(r){let e=$n(r,this._root);return e.length<2?[]:e[e.length-2].children.map(i=>i.value).filter(i=>i!==r)}pathFromRoot(r){return $n(r,this._root).map(e=>e.value)}};function kn(t,r){if(t===r.value)return r;for(let e of r.children){let n=kn(t,e);if(n)return n}return null}function $n(t,r){if(t===r.value)return[r];for(let e of r.children){let n=$n(t,e);if(n.length)return n.unshift(r),n}return[]}var _=class{value;children;constructor(r,e){this.value=r,this.children=e}toString(){return`TreeNode(${this.value})`}};function Ee(t){let r={};return t&&t.children.forEach(e=>r[e.value.outlet]=e),r}var Xe=class extends qt{snapshot;constructor(r,e){super(r),this.snapshot=e,Wn(this,r)}toString(){return this.snapshot.toString()}};function $i(t,r){let e=Rs(t,r),n=new N([new X("",{})]),i=new N({}),o=new N({}),s=new N({}),a=new N(""),c=new F(n,i,s,a,o,p,t,e.root);return c.snapshot=e.root,new Xe(new _(c,[]),e)}function Rs(t,r){let e={},n={},i={},s=new ue([],e,i,"",n,p,t,null,{},r);return new et("",new _(s,[]))}var F=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(r,e,n,i,o,s,a,c){this.urlSubject=r,this.paramsSubject=e,this.queryParamsSubject=n,this.fragmentSubject=i,this.dataSubject=o,this.outlet=s,this.component=a,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(M(u=>u[rt]))??g(void 0),this.url=r,this.params=e,this.queryParams=n,this.fragment=i,this.data=o}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(M(r=>le(r))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(M(r=>le(r))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function Gt(t,r,e="emptyOnly"){let n,{routeConfig:i}=t;return r!==null&&(e==="always"||i?.path===""||!r.component&&!r.routeConfig?.loadComponent)?n={params:f(f({},r.params),t.params),data:f(f({},r.data),t.data),resolve:f(f(f(f({},t.data),r.data),i?.data),t._resolvedData)}:n={params:f({},t.params),data:f({},t.data),resolve:f(f({},t.data),t._resolvedData??{})},i&&zi(i)&&(n.resolve[rt]=i.title),n}var ue=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;_environmentInjector;get title(){return this.data?.[rt]}constructor(r,e,n,i,o,s,a,c,u,l){this.url=r,this.params=e,this.queryParams=n,this.fragment=i,this.data=o,this.outlet=s,this.component=a,this.routeConfig=c,this._resolve=u,this._environmentInjector=l}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??=le(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=le(this.queryParams),this._queryParamMap}toString(){let r=this.url.map(n=>n.toString()).join("/"),e=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${r}', path:'${e}')`}},et=class extends qt{url;constructor(r,e){super(e),this.url=r,Wn(this,e)}toString(){return Hi(this._root)}};function Wn(t,r){r.value._routerState=t,r.children.forEach(e=>Wn(t,e))}function Hi(t){let r=t.children.length>0?` { ${t.children.map(Hi).join(", ")} } `:"";return`${t.value}${r}`}function Nn(t){if(t.snapshot){let r=t.snapshot,e=t._futureSnapshot;t.snapshot=e,H(r.queryParams,e.queryParams)||t.queryParamsSubject.next(e.queryParams),r.fragment!==e.fragment&&t.fragmentSubject.next(e.fragment),H(r.params,e.params)||t.paramsSubject.next(e.params),Wo(r.url,e.url)||t.urlSubject.next(e.url),H(r.data,e.data)||t.dataSubject.next(e.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function Hn(t,r){let e=H(t.params,r.params)&&Jo(t.url,r.url),n=!t.parent!=!r.parent;return e&&!n&&(!t.parent||Hn(t.parent,r.parent))}function zi(t){return typeof t.title=="string"||t.title===null}var Fi=new E(""),Yn=(()=>{class t{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=p;activateEvents=new me;deactivateEvents=new me;attachEvents=new me;detachEvents=new me;routerOutletData=qr();parentContexts=h(pe);location=h(Ur);changeDetector=h(Sn);inputBinder=h(it,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(e){if(e.name){let{firstChange:n,previousValue:i}=e.name;if(n)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 S(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new S(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new S(4012,!1);this.location.detach();let e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,n){this.activated=e,this._activatedRoute=n,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,n){if(this.isActivated)throw new S(4013,!1);this._activatedRoute=e;let i=this.location,s=e.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,c=new zn(e,a,i.injector,this.routerOutletData);this.activated=i.createComponent(s,{index:i.length,injector:c,environmentInjector:n}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(n){return new(n||t)};static \u0275dir=vt({type:t,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[ht]})}return t})(),zn=class{route;childContexts;parent;outletData;constructor(r,e,n,i){this.route=r,this.childContexts=e,this.parent=n,this.outletData=i}get(r,e){return r===F?this.route:r===pe?this.childContexts:r===Fi?this.outletData:this.parent.get(r,e)}},it=new E(""),Qn=(()=>{class t{outletDataSubscriptions=new Map;bindActivatedRouteToOutletComponent(e){this.unsubscribeFromRouteData(e),this.subscribeToRouteData(e)}unsubscribeFromRouteData(e){this.outletDataSubscriptions.get(e)?.unsubscribe(),this.outletDataSubscriptions.delete(e)}subscribeToRouteData(e){let{activatedRoute:n}=e,i=rn([n.queryParams,n.params,n.data]).pipe(B(([o,s,a],c)=>(a=f(f(f({},o),s),a),c===0?g(a):Promise.resolve(a)))).subscribe(o=>{if(!e.isActivated||!e.activatedComponentRef||e.activatedRoute!==n||n.component===null){this.unsubscribeFromRouteData(e);return}let s=Yr(n.component);if(!s){this.unsubscribeFromRouteData(e);return}for(let{templateName:a}of s.inputs)e.activatedComponentRef.setInput(a,o[a])});this.outletDataSubscriptions.set(e,i)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=m({token:t,factory:t.\u0275fac})}return t})(),Kn=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275cmp=xr({type:t,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(n,i){n&1&&zr(0,"router-outlet")},dependencies:[Yn],encapsulation:2})}return t})();function Zn(t){let r=t.children&&t.children.map(Zn),e=r?T(f({},t),{children:r}):f({},t);return!e.component&&!e.loadComponent&&(r||e.loadChildren)&&e.outlet&&e.outlet!==p&&(e.component=Kn),e}function Ss(t,r,e){let n=tt(t,r._root,e?e._root:void 0);return new Xe(n,r)}function tt(t,r,e){if(e&&t.shouldReuseRoute(r.value,e.value.snapshot)){let n=e.value;n._futureSnapshot=r.value;let i=ws(t,r,e);return new _(n,i)}else{if(t.shouldAttach(r.value)){let o=t.retrieve(r.value);if(o!==null){let s=o.route;return s.value._futureSnapshot=r.value,s.children=r.children.map(a=>tt(t,a)),s}}let n=Cs(r.value),i=r.children.map(o=>tt(t,o));return new _(n,i)}}function ws(t,r,e){return r.children.map(n=>{for(let i of e.children)if(t.shouldReuseRoute(n.value,i.value.snapshot))return tt(t,n,i);return tt(t,n)})}function Cs(t){return new F(new N(t.url),new N(t.params),new N(t.queryParams),new N(t.fragment),new N(t.data),t.outlet,t.component,t)}var Ne=class{redirectTo;navigationBehaviorOptions;constructor(r,e){this.redirectTo=r,this.navigationBehaviorOptions=e}},Bi="ngNavigationCancelingError";function Wt(t,r){let{redirectTo:e,navigationBehaviorOptions:n}=ee(r)?{redirectTo:r,navigationBehaviorOptions:void 0}:r,i=Vi(!1,I.Redirect);return i.url=e,i.navigationBehaviorOptions=n,i}function Vi(t,r){let e=new Error(`NavigationCancelingError: ${t||""}`);return e[Bi]=!0,e.cancellationCode=r,e}function Es(t){return qi(t)&&ee(t.url)}function qi(t){return!!t&&t[Bi]}var Fn=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(r,e,n,i,o){this.routeReuseStrategy=r,this.futureState=e,this.currState=n,this.forwardEvent=i,this.inputBindingEnabled=o}activate(r){let e=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,n,r),Nn(this.futureState.root),this.activateChildRoutes(e,n,r)}deactivateChildRoutes(r,e,n){let i=Ee(e);r.children.forEach(o=>{let s=o.value.outlet;this.deactivateRoutes(o,i[s],n),delete i[s]}),Object.values(i).forEach(o=>{this.deactivateRouteAndItsChildren(o,n)})}deactivateRoutes(r,e,n){let i=r.value,o=e?e.value:null;if(i===o)if(i.component){let s=n.getContext(i.outlet);s&&this.deactivateChildRoutes(r,e,s.children)}else this.deactivateChildRoutes(r,e,n);else o&&this.deactivateRouteAndItsChildren(e,n)}deactivateRouteAndItsChildren(r,e){r.value.component&&this.routeReuseStrategy.shouldDetach(r.value.snapshot)?this.detachAndStoreRouteSubtree(r,e):this.deactivateRouteAndOutlet(r,e)}detachAndStoreRouteSubtree(r,e){let n=e.getContext(r.value.outlet),i=n&&r.value.component?n.children:e,o=Ee(r);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);if(n&&n.outlet){let s=n.outlet.detach(),a=n.children.onOutletDeactivated();this.routeReuseStrategy.store(r.value.snapshot,{componentRef:s,route:r,contexts:a})}}deactivateRouteAndOutlet(r,e){let n=e.getContext(r.value.outlet),i=n&&r.value.component?n.children:e,o=Ee(r);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);n&&(n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated()),n.attachRef=null,n.route=null)}activateChildRoutes(r,e,n){let i=Ee(e);r.children.forEach(o=>{this.activateRoutes(o,i[o.value.outlet],n),this.forwardEvent(new Bt(o.value.snapshot))}),r.children.length&&this.forwardEvent(new zt(r.value.snapshot))}activateRoutes(r,e,n){let i=r.value,o=e?e.value:null;if(Nn(i),i===o)if(i.component){let s=n.getOrCreateContext(i.outlet);this.activateChildRoutes(r,e,s.children)}else this.activateChildRoutes(r,e,n);else if(i.component){let s=n.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){let a=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),Nn(a.route.value),this.activateChildRoutes(r,null,s.children)}else s.attachRef=null,s.route=i,s.outlet&&s.outlet.activateWith(i,s.injector),this.activateChildRoutes(r,null,s.children)}else this.activateChildRoutes(r,null,n)}},Yt=class{path;route;constructor(r){this.path=r,this.route=this.path[this.path.length-1]}},Me=class{component;route;constructor(r,e){this.component=r,this.route=e}};function bs(t,r,e){let n=t._root,i=r?r._root:null;return Qe(n,i,e,[n.value])}function Is(t){let r=t.routeConfig?t.routeConfig.canActivateChild:null;return!r||r.length===0?null:{node:t,guards:r}}function Ue(t,r){let e=Symbol(),n=r.get(t,e);return n===e?typeof t=="function"&&!fr(t)?t:r.get(t):n}function Qe(t,r,e,n,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=Ee(r);return t.children.forEach(s=>{Ms(s,o[s.value.outlet],e,n.concat([s.value]),i),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,a])=>Ze(a,e.getContext(s),i)),i}function Ms(t,r,e,n,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=t.value,s=r?r.value:null,a=e?e.getContext(t.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){let c=Ts(s,o,o.routeConfig.runGuardsAndResolvers);c?i.canActivateChecks.push(new Yt(n)):(o.data=s.data,o._resolvedData=s._resolvedData),o.component?Qe(t,r,a?a.children:null,n,i):Qe(t,r,e,n,i),c&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new Me(a.outlet.component,s))}else s&&Ze(r,a,i),i.canActivateChecks.push(new Yt(n)),o.component?Qe(t,null,a?a.children:null,n,i):Qe(t,null,e,n,i);return i}function Ts(t,r,e){if(typeof e=="function")return D(r._environmentInjector,()=>e(t,r));switch(e){case"pathParamsChange":return!ce(t.url,r.url);case"pathParamsOrQueryParamsChange":return!ce(t.url,r.url)||!H(t.queryParams,r.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Hn(t,r)||!H(t.queryParams,r.queryParams);default:return!Hn(t,r)}}function Ze(t,r,e){let n=Ee(t),i=t.value;Object.entries(n).forEach(([o,s])=>{i.component?r?Ze(s,r.children.getContext(o),e):Ze(s,null,e):Ze(s,r,e)}),i.component?r&&r.outlet&&r.outlet.isActivated?e.canDeactivateChecks.push(new Me(r.outlet.component,i)):e.canDeactivateChecks.push(new Me(null,i)):e.canDeactivateChecks.push(new Me(null,i))}function ot(t){return typeof t=="function"}function As(t){return typeof t=="boolean"}function Ds(t){return t&&ot(t.canLoad)}function _s(t){return t&&ot(t.canActivate)}function Os(t){return t&&ot(t.canActivateChild)}function Ns(t){return t&&ot(t.canDeactivate)}function Ps(t){return t&&ot(t.canMatch)}function Gi(t){return t instanceof ur||t?.name==="EmptyError"}var Tt=Symbol("INITIAL_VALUE");function Pe(){return B(t=>rn(t.map(r=>r.pipe(ve(1),hr(Tt)))).pipe(M(r=>{for(let e of r)if(e!==!0){if(e===Tt)return Tt;if(e===!1||Us(e))return e}return!0}),Z(r=>r!==Tt),ve(1)))}function Us(t){return ee(t)||t instanceof Ne}function Wi(t){return t.aborted?g(void 0).pipe(ve(1)):new ar(r=>{let e=()=>{r.next(),r.complete()};return t.addEventListener("abort",e),()=>t.removeEventListener("abort",e)})}function Yi(t){return lt(Wi(t))}function Ls(t){return $(r=>{let{targetSnapshot:e,currentSnapshot:n,guards:{canActivateChecks:i,canDeactivateChecks:o}}=r;return o.length===0&&i.length===0?g(T(f({},r),{guardsResult:!0})):xs(o,e,n).pipe($(s=>s&&As(s)?js(e,i,t):g(s)),M(s=>T(f({},r),{guardsResult:s})))})}function xs(t,r,e){return A(t).pipe($(n=>Fs(n.component,n.route,e,r)),J(n=>n!==!0,!0))}function js(t,r,e){return A(r).pipe(xe(n=>lr($s(n.route.parent,e),ks(n.route,e),zs(t,n.path),Hs(t,n.route))),J(n=>n!==!0,!0))}function ks(t,r){return t!==null&&r&&r(new Ft(t)),g(!0)}function $s(t,r){return t!==null&&r&&r(new Ht(t)),g(!0)}function Hs(t,r){let e=r.routeConfig?r.routeConfig.canActivate:null;if(!e||e.length===0)return g(!0);let n=e.map(i=>ct(()=>{let o=r._environmentInjector,s=Ue(i,o),a=_s(s)?s.canActivate(r,t):D(o,()=>s(r,t));return he(a).pipe(J())}));return g(n).pipe(Pe())}function zs(t,r){let e=r[r.length-1],i=r.slice(0,r.length-1).reverse().map(o=>Is(o)).filter(o=>o!==null).map(o=>ct(()=>{let s=o.guards.map(a=>{let c=o.node._environmentInjector,u=Ue(a,c),l=Os(u)?u.canActivateChild(e,t):D(c,()=>u(e,t));return he(l).pipe(J())});return g(s).pipe(Pe())}));return g(i).pipe(Pe())}function Fs(t,r,e,n){let i=r&&r.routeConfig?r.routeConfig.canDeactivate:null;if(!i||i.length===0)return g(!0);let o=i.map(s=>{let a=r._environmentInjector,c=Ue(s,a),u=Ns(c)?c.canDeactivate(t,r,e,n):D(a,()=>c(t,r,e,n));return he(u).pipe(J())});return g(o).pipe(Pe())}function Bs(t,r,e,n,i){let o=r.canLoad;if(o===void 0||o.length===0)return g(!0);let s=o.map(a=>{let c=Ue(a,t),u=Ds(c)?c.canLoad(r,e):D(t,()=>c(r,e)),l=he(u);return i?l.pipe(Yi(i)):l});return g(s).pipe(Pe(),Qi(n))}function Qi(t){return sr(V(r=>{if(typeof r!="boolean")throw Wt(t,r)}),M(r=>r===!0))}function Vs(t,r,e,n,i){let o=r.canMatch;if(!o||o.length===0)return g(!0);let s=o.map(a=>{let c=Ue(a,t),u=Ps(c)?c.canMatch(r,e):D(t,()=>c(r,e));return he(u).pipe(Yi(i))});return g(s).pipe(Pe(),Qi(n))}var Y=class t extends Error{segmentGroup;constructor(r){super(),this.segmentGroup=r||null,Object.setPrototypeOf(this,t.prototype)}},nt=class t extends Error{urlTree;constructor(r){super(),this.urlTree=r,Object.setPrototypeOf(this,t.prototype)}};function qs(t){throw new S(4e3,!1)}function Gs(t){throw Vi(!1,I.GuardRejected)}var Bn=class{urlSerializer;urlTree;constructor(r,e){this.urlSerializer=r,this.urlTree=e}lineralizeSegments(r,e){return w(this,null,function*(){let n=[],i=e.root;for(;;){if(n=n.concat(i.segments),i.numberOfChildren===0)return n;if(i.numberOfChildren>1||!i.children[p])throw qs(`${r.redirectTo}`);i=i.children[p]}})}applyRedirectCommands(r,e,n,i,o){return w(this,null,function*(){let s=yield Ws(e,i,o);if(s instanceof k)throw new nt(s);let a=this.applyRedirectCreateUrlTree(s,this.urlSerializer.parse(s),r,n);if(s[0]==="/")throw new nt(a);return a})}applyRedirectCreateUrlTree(r,e,n,i){let o=this.createSegmentGroup(r,e.root,n,i);return new k(o,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(r,e){let n={};return Object.entries(r).forEach(([i,o])=>{if(typeof o=="string"&&o[0]===":"){let a=o.substring(1);n[i]=e[a]}else n[i]=o}),n}createSegmentGroup(r,e,n,i){let o=this.createSegments(r,e.segments,n,i),s={};return Object.entries(e.children).forEach(([a,c])=>{s[a]=this.createSegmentGroup(r,c,n,i)}),new v(o,s)}createSegments(r,e,n,i){return e.map(o=>o.path[0]===":"?this.findPosParam(r,o,i):this.findOrReturn(o,n))}findPosParam(r,e,n){let i=n[e.path.substring(1)];if(!i)throw new S(4001,!1);return i}findOrReturn(r,e){let n=0;for(let i of e){if(i.path===r.path)return e.splice(n),i;n++}return r}};function Ws(t,r,e){if(typeof t=="string")return Promise.resolve(t);let n=t,{queryParams:i,fragment:o,routeConfig:s,url:a,outlet:c,params:u,data:l,title:d,paramMap:R,queryParamMap:C}=r;return Ot(he(D(e,()=>n({params:u,data:l,queryParams:i,fragment:o,routeConfig:s,url:a,outlet:c,title:d,paramMap:R,queryParamMap:C}))))}function Ys(t,r){return t.providers&&!t._injector&&(t._injector=gt(t.providers,r,`Route: ${t.path}`)),t._injector??r}function j(t){return t.outlet||p}function Qs(t,r){let e=t.filter(n=>j(n)===r);return e.push(...t.filter(n=>j(n)!==r)),e}var Vn={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Ks(t,r,e,n,i,o){let s=Ki(t,r,e);return s.matched?(n=Ys(r,n),Vs(n,r,e,i,o).pipe(M(a=>a===!0?s:f({},Vn)))):g(s)}function Ki(t,r,e){if(r.path==="")return r.pathMatch==="full"&&(t.hasChildren()||e.length>0)?f({},Vn):{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};let i=(r.matcher||Ci)(e,t,r);if(!i)return f({},Vn);let o={};Object.entries(i.posParams??{}).forEach(([a,c])=>{o[a]=c.path});let s=i.consumed.length>0?f(f({},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 yi(t,r,e,n){return e.length>0&&Xs(t,e,n)?{segmentGroup:new v(r,Js(n,new v(e,t.children))),slicedSegments:[]}:e.length===0&&ea(t,e,n)?{segmentGroup:new v(t.segments,Zs(t,e,n,t.children)),slicedSegments:e}:{segmentGroup:new v(t.segments,t.children),slicedSegments:e}}function Zs(t,r,e,n){let i={};for(let o of e)if(Kt(t,r,o)&&!n[j(o)]){let s=new v([],{});i[j(o)]=s}return f(f({},n),i)}function Js(t,r){let e={};e[p]=r;for(let n of t)if(n.path===""&&j(n)!==p){let i=new v([],{});e[j(n)]=i}return e}function Xs(t,r,e){return e.some(n=>Kt(t,r,n)&&j(n)!==p)}function ea(t,r,e){return e.some(n=>Kt(t,r,n))}function Kt(t,r,e){return(t.hasChildren()||r.length>0)&&e.pathMatch==="full"?!1:e.path===""}function ta(t,r,e){return r.length===0&&!t.children[e]}var qn=class{};function na(t,r,e,n,i,o,s="emptyOnly",a){return w(this,null,function*(){return new Gn(t,r,e,n,i,s,o,a).recognize()})}var ra=31,Gn=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;abortSignal;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(r,e,n,i,o,s,a,c){this.injector=r,this.configLoader=e,this.rootComponentType=n,this.config=i,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer
1=a,this.abortSignal=c,this.applyRedirects=new Bn(this.urlSerializer,this.urlTree)}noMatchError(r){return new S(4002,`'${r.segmentGroup}'`)}recognize(){return w(this,null,function*(){let r=yi(this.urlTree.root,[],[],this.config).segmentGroup,{children:e,rootSnapshot:n}=yield this.match(r),i=new _(n,e),o=new et("",i),s=Pi(n,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),{state:o,tree:s}})}match(r){return w(this,null,function*(){let e=new ue([],Object.freeze({}),Object.freeze(f({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),p,this.rootComponentType,null,{},this.injector);try{return{children:yield this.processSegmentGroup(this.injector,this.config,r,p,e),rootSnapshot:e}}catch(n){if(n instanceof nt)return this.urlTree=n.urlTree,this.match(n.urlTree.root);throw n instanceof Y?this.noMatchError(n):n}})}processSegmentGroup(r,e,n,i,o){return w(this,null,function*(){if(n.segments.length===0&&n.hasChildren())return this.processChildren(r,e,n,o);let s=yield this.processSegment(r,e,n,n.segments,i,!0,o);return s instanceof _?[s]:[]})}processChildren(r,e,n,i){return w(this,null,function*(){let o=[];for(let c of Object.keys(n.children))c==="primary"?o.unshift(c):o.push(c);let s=[];for(let c of o){let u=n.children[c],l=Qs(e,c),d=yield this.processSegmentGroup(r,l,u,c,i);s.push(...d)}let a=Zi(s);return ia(a),a})}processSegment(r,e,n,i,o,s,a){return w(this,null,function*(){for(let c of e)try{return yield this.processSegmentAgainstRoute(c._injector??r,e,c,n,i,o,s,a)}catch(u){if(u instanceof Y||Gi(u))continue;throw u}if(ta(n,i,o))return new qn;throw new Y(n)})}processSegmentAgainstRoute(r,e,n,i,o,s,a,c){return w(this,null,function*(){if(j(n)!==s&&(s===p||!Kt(i,o,n)))throw new Y(i);if(n.redirectTo===void 0)return this.matchSegmentAgainstRoute(r,i,n,o,s,c);if(this.allowRedirects&&a)return this.expandSegmentAgainstRouteUsingRedirect(r,i,e,n,o,s,c);throw new Y(i)})}expandSegmentAgainstRouteUsingRedirect(r,e,n,i,o,s,a){return w(this,null,function*(){let{matched:c,parameters:u,consumedSegments:l,positionalParamSegments:d,remainingSegments:R}=Ki(e,i,o);if(!c)throw new Y(e);typeof i.redirectTo=="string"&&i.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>ra&&(this.allowRedirects=!1));let C=new ue(o,u,Object.freeze(f({},this.urlTree.queryParams)),this.urlTree.fragment,Ri(i),j(i),i.component??i._loadedComponent??null,i,Si(i),r),re=Gt(C,a,this.paramsInheritanceStrategy);if(C.params=Object.freeze(re.params),C.data=Object.freeze(re.data),this.abortSignal.aborted)throw new Error(this.abortSignal.reason);let ie=yield this.applyRedirects.applyRedirectCommands(l,i.redirectTo,d,C,r),oe=yield this.applyRedirects.lineralizeSegments(i,ie);return this.processSegment(r,n,e,oe.concat(R),s,!1,a)})}matchSegmentAgainstRoute(r,e,n,i,o,s){return w(this,null,function*(){if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);let a=yield Ot(Ks(e,n,i,r,this.urlSerializer,this.abortSignal));if(n.path==="**"&&(e.children={}),!a?.matched)throw new Y(e);r=n._injector??r;let{routes:c}=yield this.getChildConfig(r,n,i),u=n._loadedInjector??r,{parameters:l,consumedSegments:d,remainingSegments:R}=a,C=new ue(d,l,Object.freeze(f({},this.urlTree.queryParams)),this.urlTree.fragment,Ri(n),j(n),n.component??n._loadedComponent??null,n,Si(n),r),re=Gt(C,s,this.paramsInheritanceStrategy);C.params=Object.freeze(re.params),C.data=Object.freeze(re.data);let{segmentGroup:ie,slicedSegments:oe}=yi(e,d,R,c);if(oe.length===0&&ie.hasChildren()){let Co=yield this.processChildren(u,c,ie,C);return new _(C,Co)}if(c.length===0&&oe.length===0)return new _(C,[]);let tn=j(n)===o,Le=yield this.processSegment(u,c,ie,oe,tn?p:o,!0,C);return new _(C,Le instanceof _?[Le]:[])})}getChildConfig(r,e,n){return w(this,null,function*(){if(e.children)return{routes:e.children,injector:r};if(e.loadChildren){if(e._loadedRoutes!==void 0){let o=e._loadedNgModuleFactory;return o&&!e._loadedInjector&&(e._loadedInjector=o.create(r).injector),{routes:e._loadedRoutes,injector:e._loadedInjector}}
1if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);if(yield Ot(Bs(r,e,n,this.urlSerializer,this.abortSignal))){let o=yield this.configLoader.loadChildren(r,e);return e._loadedRoutes=o.routes,e._loadedInjector=o.injector,e._loadedNgModuleFactory=o.factory,o}throw Gs(e)}return{routes:[],injector:r}})}};function ia(t){t.sort((r,e)=>r.value.outlet===p?-1:e.value.outlet===p?1:r.value.outlet.localeCompare(e.value.outlet))}function oa(t){let r=t.value.routeConfig;return r&&r.path===""}function Zi(t){let r=[],e=new Set;for(let n of t){if(!oa(n)){r.push(n);continue}let i=r.find(o=>n.value.routeConfig===o.value.routeConfig);i!==void 0?(i.children.push(...n.children),e.add(i)):r.push(n)}for(let n of e){let i=Zi(n.children);r.push(new _(n.value,i))}return r.filter(n=>!e.has(n))}function Ri(t){return t.data||{}}function Si(t){return t.resolve||{}}function sa(t,r,e,n,i,o,s){return $(a=>w(null,null,function*(){let{state:c,tree:u}=yield na(t,r,e,n,a.extractedUrl,i,o,s);return T(f({},a),{targetSnapshot:c,urlAfterRedirects:u})}))}function aa(t){return $(r=>{let{targetSnapshot:e,guards:{canActivateChecks:n}}=r;if(!n.length)return g(r);let i=new Set(n.map(a=>a.route)),o=new Set;for(let a of i)if(!o.has(a))for(let c of Ji(a))o.add(c);let s=0;return A(o).pipe(xe(a=>i.has(a)?ca(a,e,t):(a.data=Gt(a,a.parent,t).resolve,g(void 0))),V(()=>s++),sn(1),$(a=>s===o.size?g(r):P))})}function Ji(t){let r=t.children.map(e=>Ji(e)).flat();return[t,...r]}function ca(t,r,e){let n=t.routeConfig,i=t._resolve;return n?.title!==void 0&&!zi(n)&&(i[rt]=n.title),ct(()=>(t.data=Gt(t,t.parent,e).resolve,ua(i,t,r).pipe(M(o=>(t._resolvedData=o,t.data=f(f({},t.data),o),null)))))}function ua(t,r,e){let n=Un(t);if(n.length===0)return g({});let i={};return A(n).pipe($(o=>la(t[o],r,e).pipe(J(),V(s=>{if(s instanceof Ne)throw Wt(new Q,s);i[o]=s}))),sn(1),M(()=>i),ut(o=>
1Gi(o)?P:cr(o)))}function la(t,r,e){let n=r._environmentInjector,i=Ue(t,n),o=i.resolve?i.resolve(r,e):D(n,()=>i(r,e));return he(o)}function wi(t){return B(r=>{let e=t(r);return e?A(e).pipe(M(()=>r)):g(r)})}var Jn=(()=>{class t{buildTitle(e){let n,i=e.root;for(;i!==void 0;)n=this.getResolvedTitleForRoute(i)??n,i=i.children.find(o=>o.outlet===p);return n}getResolvedTitleForRoute(e){return e.data[rt]}static \u0275fac=function(n){return new(n||t)};static \u0275prov=m({token:t,factory:()=>h(Xi),providedIn:"root"})}return t})(),Xi=(()=>{class t extends Jn{title;constructor(e){super(),this.title=e}updateTitle(e){let n=this.buildTitle(e);n!==void 0&&this.title.setTitle(n)}static \u0275fac=function(n){return new(n||t)(y(hi))};static \u0275prov=m({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),ne=new E("",{factory:()=>({})}),ge=new E(""),Zt=(()=>{class t{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=h(Br);loadComponent(e,n){return w(this,null,function*(){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return Promise.resolve(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);let i=w(this,null,function*(){try{let o=yield bi(D(e,()=>n.loadComponent())),s=yield no(to(o));return this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=s,s}finally{this.componentLoaders.delete(n)}});return this.componentLoaders.set(n,i),i})}loadChildren(e,n){if(this.childrenLoaders.get(n))return this.childrenLoaders.get(n);if(n._loadedRoutes)return Promise.resolve({routes:n._loadedRoutes,injector:n._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(n);let i=w(this,null,function*(){try{let o=yield eo(n,this.compiler,e,this.onLoadEndListener);return n._loadedRoutes=o.routes,n._loadedInjector=o.injector,n._loadedNgModuleFactory=o.factory,o}finally{this.childrenLoaders.delete(n)}});return this.childrenLoaders.set(n,i),i}static \u0275fac=function(n){return new(n||t)};static \u0275prov=m({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function eo(t,r,e,n){return w(this,null,function*(){let i=yield bi(D(e,()=>t.loadChildren())),o=yield no(to(i)),s;o instanceof Lr||Array.isArray(o)?s=o:s=yield r.compileModuleAsync(o),n&&n(t);let a,c,u=!1,l;return Array.isArray(s)?(c=s,u=!0):(a=s.create(e).injector,l=s,c=a.get(ge,[],{optional:!0,self:!0}).flat()),{routes:c.map(Zn),injector:a,factory:l}})}function da(t){return t&&typeof t=="object"&&"default"in t}function to(t){return da(t)?t.default:t}function no(t){return w(this,null,function*(){return t})}var Jt=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275prov=m({token:t,factory:()=>h(ha),providedIn:"root"})}return t})(),ha=(()=>{class t{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,n){return e}static \u0275fac=function(n){return new(n||t)};static \u0275prov=m({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Xn=new E(""),er=new E("");function ro(t,r,e){let n=t.get(er),i=t.get(U);if(!i.startViewTransition||n.skipNextTransition)return n.skipNextTransition=!1,new Promise(u=>setTimeout(u));let o,s=new Promise(u=>{o=u}),a=i.startViewTransition(()=>(o(),fa(t)));a.updateCallbackDone.catch(u=>{}),a.ready.catch(u=>{}),a.finished.catch(u=>{});let{onViewTransitionCreated:c}=n;return c&&D(t,()=>c({transition:a,from:r,to:e})),s}function fa(t){return new Promise(r=>{gn({read:()=>setTimeout(r)},{injector:t})})}var pa=()=>{},tr=new E(""),Xt=(()=>{class t{currentNavigation=He(null,{equal:()=>!1});currentTransition=null;lastSuccessfulNavigation=He(null);events=new se;transitionAbortWithErrorSubject=new se;configLoader=h(Zt);environmentInjector=h(G);destroyRef=h(un);urlSerializer=h(fe);rootContexts=h(pe);location=h(Ce);inputBindingEnabled=h(it,{optional:!0})!==null;titleStrategy=h(Jn);options=h(ne,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=h(Jt);createViewTransition=h(Xn,{optional:!0});navigationErrorHandler=h(tr,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>g(void 0);rootComponentType=null;destroyed=!1;constructor(){let e=i=>this.events.next(new kt(i)),n=i=>this.events.next(new $t(i));this.configLoader.onLoadEndListener=n,this.configLoader.onLoadStartListener=e,this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(e){let n=++this.navigationId;W(()=>{this.transitions?.next(T(f({},e),{extractedUrl:this.urlHandlingStrategy.extract(e.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,id:n}))})}setupNavigations(e){return this.transitions=new N(null),this.transitions.pipe(Z(n=>n!==null),B(n=>{let i=!1,o=new AbortController,s=()=>!i&&this.currentTransition?.id===n.id;return g(n).pipe(B(a=>{if(this.navigationId>n.id)return this.cancelNavigationTransition(n,"",I.SupersededByNewNavigation),P;this.currentTransition=n;let c=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:c?T(f
1({},c),{previousNavigation:null}):null,abort:()=>o.abort()});let u=!e.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),l=a.extras.onSameUrlNavigation??e.onSameUrlNavigation;if(!u&&l!=="reload")return this.events.next(new z(a.id,this.urlSerializer.serialize(a.rawUrl),"",Te.IgnoredSameUrlNavigation)),a.resolve(!1),P;if(this.urlHandlingStrategy.shouldProcessUrl(a.rawUrl))return g(a).pipe(B(d=>(this.events.next(new te(d.id,this.urlSerializer.serialize(d.extractedUrl),d.source,d.restoredState)),d.id!==this.navigationId?P:Promise.resolve(d))),sa(this.environmentInjector,this.configLoader,this.rootComponentType,e.config,this.urlSerializer,this.paramsInheritanceStrategy,o.signal),V(d=>{n.targetSnapshot=d.targetSnapshot,n.urlAfterRedirects=d.urlAfterRedirects,this.currentNavigation.update(C=>(C.finalUrl=d.urlAfterRedirects,C));let R=new Ae(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot);this.events.next(R)}));if(u&&this.urlHandlingStrategy.shouldProcessUrl(a.currentRawUrl)){let{id:d,extractedUrl:R,source:C,restoredState:re,extras:ie}=a,oe=new te(d,this.urlSerializer.serialize(R),C,re);this.events.next(oe);let tn=$i(this.rootComponentType,this.environmentInjector).snapshot;return this.currentTransition=n=T(f({},a),{targetSnapshot:tn,urlAfterRedirects:R,extras:T(f({},ie),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.update(Le=>(Le.finalUrl=R,Le)),g(n)}else return this.events.next(new z(a.id,this.urlSerializer.serialize(a.extractedUrl),"",Te.IgnoredByUrlHandlingStrategy)),a.resolve(!1),P}),M(a=>{let c=new Ut(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);return this.events.next(c),this.currentTransition=n=T(f({},a),{guards:bs(a.targetSnapshot,a.currentSnapshot,this.rootContexts)}),n}),Ls(a=>this.events.next(a)),B(a=>{if(n.guardsResult=a.guardsResult,a.guardsResult&&typeof a.guardsResult!="boolean")throw Wt(this.urlSerializer,a.guardsResult);let c=new Lt(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot,!!a.guardsResult);if(this.events.next(c),!s())return P;if(!a.guardsResult)return this.cancelNavigationTransition(a,"",I.GuardRejected),P;if(a.guards.canActivateChecks.length===0)return g(a);let u=new xt(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);if(this.events.next(u),!s())return P;let l=!1;return g(a).pipe(aa(this.paramsInheritanceStrategy),V({next:()=>{l=!0;let d=new jt(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(d)},complete:()=>{l||this.cancelNavigationTransition(a,"",I.NoDataFromResolver)}}))}),wi(a=>{let c=l=>{let d=[];if(l.routeConfig?._loadedComponent)l.component=l.routeConfig?._loadedComponent;else if(l.routeConfig?.loadComponent){let R=l._environmentInjector;d.push(this.configLoader.loadComponent(R,l.routeConfig).then(C=>{l.component=C}))}for(let R of l.children)d.push(...c(R));return d},u=c(a.targetSnapshot.root);return u.length===0?g(a):A(Promise.all(u).then(()=>a))}),wi(()=>this.afterPreactivation()),B(()=>{let{currentSnapshot:a,targetSnapshot:c}=n,u=this.createViewTransition?.(this.environmentInjector,a.root,c.root);return u?A(u).pipe(M(()=>n)):g(n)}),ve(1),M(a=>{let c=Ss(e.routeReuseStrategy,a.targetSnapshot,a.currentRouterState);this.currentTransition=n=a=T(f({},a),{targetRouterState:c}),this.currentNavigation.update(u=>(u.targetRouterState=c,u)),this.events.next(new _e),s()&&(new Fn(e.routeReuseStrategy,n.targetRouterState,n.currentRouterState,u=>this.events.next(u),this.inputBindingEnabled).activate(this.rootContexts),s()&&(i=!0,this.currentNavigation.update(u=>(u.abort=pa,u)),this.lastSuccessfulNavigation.set(W(this.currentNavigation)),this.events.next(new x(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects))),this.titleStrategy?.updateTitle(a.targetRouterState.snapshot),a.resolve(!0)))}
vendor: 21,437 bytes, line 1
1),lt(Wi(o.signal).pipe(Z(()=>!i&&!n.targetRouterState),V(()=>{this.cancelNavigationTransition(n,o.signal.reason+"",I.Aborted)}))),V({complete:()=>{i=!0}}),lt(this.transitionAbortWithErrorSubject.pipe(V(a=>{throw a}))),dr(()=>{o.abort(),i||this.cancelNavigationTransition(n,"",I.SupersededByNewNavigation),this.currentTransition?.id===n.id&&(this.currentNavigation.set(null),this.currentTransition=null)}),ut(a=>{if(i=!0,this.destroyed)return n.resolve(!1),P;if(qi(a))this.events.next(new L(n.id,this.urlSerializer.serialize(n.extractedUrl),a.message,a.cancellationCode)),Es(a)?this.events.next(new Oe(a.url,a.navigationBehaviorOptions)):n.resolve(!1);else{let c=new de(n.id,this.urlSerializer.serialize(n.extractedUrl),a,n.targetSnapshot??void 0);try{let u=D(this.environmentInjector,()=>this.navigationErrorHandler?.(c));if(u instanceof Ne){let{message:l,cancellationCode:d}=Wt(this.urlSerializer,u);this.events.next(new L(n.id,this.urlSerializer.serialize(n.extractedUrl),l,d)),this.events.next(new Oe(u.redirectTo,u.navigationBehaviorOptions))}else throw this.events.next(c),a}catch(u){this.options.resolveNavigationPromiseOnError?n.resolve(!1):n.reject(u)}}return P}))}))}cancelNavigationTransition(e,n,i){let o=new L(e.id,this.urlSerializer.serialize(e.extractedUrl),n,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))),n=W(this.currentNavigation),i=n?.targetBrowserUrl??n?.extractedUrl;return e.toString()!==i?.toString()&&!n?.extras.skipLocationChange}static \u0275fac=function(n){return new(n||t)};static \u0275prov=m({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function ga(t){return t!==Ie}var io=new E("");var oo=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275prov=m({token:t,factory:()=>h(va),providedIn:"root"})}return t})(),Qt=class{shouldDetach(r){return!1}store(r,e){}shouldAttach(r){return!1}retrieve(r){return null}shouldReuseRoute(r,e){return r.routeConfig===e.routeConfig}shouldDestroyInjector(r){return!0}},va=(()=>{class t extends Qt{static \u0275fac=(()=>{let e;return function(i){return(e||(e=dn(t)))(i||t)}})();static \u0275prov=m({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),nr=(()=>{class t{urlSerializer=h(fe);options=h(ne,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=h(Ce);urlHandlingStrategy=h(Jt);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new k;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl:e,initialUrl:n,targetBrowserUrl:i}){let o=e!==void 0?this.urlHandlingStrategy.merge(e,n):n,s=i??o;return s instanceof k?this.urlSerializer.serialize(s):s}commitTransition({targetRouterState:e,finalUrl:n,initialUrl:i}){n&&e?(this.currentUrlTree=n,this.rawUrlTree=this.urlHandlingStrategy.merge(n,i),this.routerState=e):this.rawUrlTree=i}routerState=$i(null,h(G));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 \u0275fac=function(n){return new(n||t)};static \u0275prov=m({token:t,factory:()=>h(ma),providedIn:"root"})}return t})(),ma=(()=>{class t extends nr{currentPageId=0;lastSuccessfulId=-1;get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(e){return this.location.subscribe(n=>{n.type==="popstate"&&setTimeout(()=>{e(n.url,n.state,"popstate")})})}handleRouterEvent(e,n){e instanceof te?this.updateStateMemento():e instanceof z?this.commitTransition(n):e instanceof Ae?this.urlUpdateStrategy==="eager"&&(n.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(n),n)):e instanceof _e?(this.commitTransition(n),this.urlUpdateStrategy==="deferred"&&!n.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(n),n)):e instanceof L&&!ki(e)?this.restoreHistory(n):e instanceof de?this.restoreHistory(n,!0):e instanceof x&&(this.lastSuccessfulId=e.id,this.currentPageId=this.browserPageId)}setBrowserUrl(e,{extras:n,id:i}){let{replaceUrl:o,state:s}=n;if(this.location.isCurrentPathEqualTo(e)||o){let a=this.browserPageId,c=f(f({},s),this.generateNgRouterState(i,a));this.location.replaceState(e,"",c)}else{let a=f(f({},s),this.generateNgRouterState(i,this.browserPageId+1));this.location.go(e,"",a)}}restoreHistory(e,n=!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"&&(n&&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,n){return this.canceledNavigationResolution==="computed"?{navigationId:e,\u0275routerPageId:n}:{navigationId:e}}static \u0275fac=(()=>{let e;return function(i){return(e||(e=dn(t)))(i||t)}})();static \u0275prov=m({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function en(t,r){t.events.pipe(Z(e=>e instanceof x||e instanceof L||e instanceof de||e instanceof z),M(e=>e instanceof x||e instanceof z?0:(e instanceof L?e.code===I.Redirect||e.code===I.SupersededByNewNavigation:!1)?2:1),Z(e=>e!==2),ve(1)).subscribe(()=>{r()})}var so={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},ao={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},K=(()=>{class t{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=h(vn);stateManager=h(nr);options=h(ne,{optional:!0})||{};pendingTasks=h(gr);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=h(Xt);urlSerializer=h(fe);location=h(Ce);urlHandlingStrategy=h(Jt);injector=h(G);_events=new se;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=h(oo);injectorCleanup=h(io,{optional:!0});onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=h(ge,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!h(it,{optional:!0});currentNavigation=this.navigationTransitions.currentNavigation.asReadonly();constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:e=>{}}),this.subscribeToNavigationEvents()}eventsSubscription=new or;subscribeToNavigationEvents(){let e=this.navigationTransitions.events.subscribe(n=>{try{let i=this.navigationTransitions.currentTransition,o=W(this.navigationTransitions.currentNavigation);if(i!==null&&o!==null){if(this.stateManager.handleRouterEvent(n,o),n instanceof L&&n.code!==I.Redirect&&n.code!==I.SupersededByNewNavigation)this.navigated=!0;else if(n instanceof x)this.navigated=!0,this.injectorCleanup?.(this.routeReuseStrategy,this.routerState,this.config);else if(n instanceof Oe){let s=n.navigationBehaviorOptions,a=this.urlHandlingStrategy.merge(n.url,i.currentRawUrl),c=f({scroll:i.extras.scroll,browserUrl:i.extras.browserUrl,info:i.extras.info,skipLocationChange:i.extras.skipLocationChange,replaceUrl:i.extras.replaceUrl||this.urlUpdateStrategy==="eager"||ga(i.source)},s);this.scheduleNavigation(a,Ie,null,c,{resolve:i.resolve,reject:i.reject,promise:i.promise})}}ys(n)&&this._events.next(n)}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),Ie,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((e,n,i)=>{this.navigateToSyncWithBrowser(e,i,n)})}navigateToSyncWithBrowser(e,n,i){let o={replaceUrl:!0},s=i?.navigationId?i:null;if(i){let c=f({},i);delete c.navigationId,delete c.\u0275routerPageId,Object.keys(c).length!==0&&(o.state=c)}let a=this.parseUrl(e);this.scheduleNavigation(a,n,s,o).catch(c=>{this.disposed||this.injector.get(dt)(c)})}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return W(this.navigationTransitions.currentNavigation)}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(e){this.config=e.map(Zn),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,n={}){let{relativeTo:i,queryParams:o,fragment:s,queryParamsHandling:a,preserveFragment:c}=n,u=c?this.currentUrlTree.fragment:s,l=null;switch(a??this.options.defaultQueryParamsHandling){case"merge":l=f(f({},this.currentUrlTree.queryParams),o);break;case"preserve":l=this.currentUrlTree.queryParams;break;default:l=o||null}l!==null&&(l=this.removeEmptyProps(l));let d;try{let R=i?i.snapshot:this.routerState.snapshot.root;d=Ui(R)}catch(R){(typeof e[0]!="string"||e[0][0]!=="/")&&(e=[]),d=this.currentUrlTree.root}return Li(d,e,l,u??null,this.urlSerializer)}navigateByUrl(e,n={skipLocationChange:!1}){let i=ee(e)?e:this.parseUrl(e),o=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(o,Ie,null,n)}navigate(e,n={skipLocationChange:!1}){return ya(e),this.navigateByUrl(this.createUrlTree(e,n),n)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){try{return this.urlSerializer.parse(e)}catch(n){return this.console.warn(an(4018,!1)),this.urlSerializer.parse("/")}}isActive(e,n){let i;if(n===!0?i=f({},so):n===!1?i=f({},ao):i=n,ee(e))return fi(this.currentUrlTree,e,i);let o=this.parseUrl(e);return fi(this.currentUrlTree,o,i)}removeEmptyProps(e){return Object.entries(e).reduce((n,[i,o])=>(o!=null&&(n[i]=o),n),{})}scheduleNavigation(e,n,i,o,s){if(this.disposed)return Promise.resolve(!1);let a,c,u;s?(a=s.resolve,c=s.reject,u=s.promise):u=new Promise((d,R)=>{a=d,c=R});let l=this.pendingTasks.add();return en(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(l))}),this.navigationTransitions.handleNavigationRequest({source:n,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:e,extras:o,resolve:a,reject:c,promise:u,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),u.catch(d=>Promise.reject(d))}static \u0275fac=function(n){return new(n||t)};static \u0275prov=m({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function ya(t){for(let r=0;r<t.length;r++)if(t[r]==null)throw new S(4008,!1)}var co=(()=>{class t{router;route;tabIndexAttribute;renderer;el;locationStrategy;reactiveHref=He(null);get href(){return W(this.reactiveHref)}set href(e){this.reactiveHref.set(e)}target;queryParams;fragment;queryParamsHandling;state;info;relativeTo;isAnchorElement;subscription;onChanges=new se;applicationErrorHandler=h(dt);options=h(ne,{optional:!0});constructor(e,n,i,o,s,a){this.router=e,this.route=n,this.tabIndexAttribute=i,this.renderer=o,this.el=s,this.locationStrategy=a,this.reactiveHref.set(h(new Vr("href"),{optional:!0}));let c=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement=c==="a"||c==="area"||!!(typeof customElements=="object"&&customElements.get(c)?.observedAttributes?.includes?.("href")),this.isAnchorElement&&(this.setTabIndexIfNotOnNativeEl("0"),this.subscribeToNavigationEventsIfNecessary())}subscribeToNavigationEventsIfNecessary(){this.subscription===void 0&&(this.subscription=this.router.events.subscribe(e=>{e instanceof x&&this.updateHref()}))}preserveFragment=!1;skipLocationChange=!1;replaceUrl=!1;setTabIndexIfNotOnNativeEl(e){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",e)}ngOnChanges(e){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}routerLinkInput=null;set routerLink(e){e==null?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(ee(e)?this.routerLinkInput=e:this.routerLinkInput=Array.isArray(e)?e:[e],this.setTabIndexIfNotOnNativeEl("0"))}onClick(e,n,i,o,s){let a=this.urlTree;if(a===null||this.isAnchorElement&&(e!==0||n||i||o||s||typeof this.target=="string"&&this.target!="_self"))return!0;let c={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(a,c)?.catch(u=>{this.applicationErrorHandler(u)}),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let e=this.urlTree;this.reactiveHref.set(e!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(e))??"":null)}applyAttributeValue(e,n){let i=this.renderer,o=this.el.nativeElement;n!==null?i.setAttribute(o,e,n):i.removeAttribute(o,e)}get urlTree(){return this.routerLinkInput===null?null:ee(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static \u0275fac=function(n){return new(n||t)(Se(K),Se(F),vr("tabindex"),Se(Nr),Se(mr),Se(Be))};static \u0275dir=vt({type:t,selectors:[["","routerLink",""]],hostVars:2,hostBindings:function(n,i){n&1&&Fr("click",function(s){return i.onClick(s.button,s.ctrlKey,s.shiftKey,s.altKey,s.metaKey)}),n&2&&Hr("href",i.reactiveHref(),Tr)("target",i.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",yt],skipLocationChange:[2,"skipLocationChange","skipLocationChange",yt],replaceUrl:[2,"replaceUrl","replaceUrl",yt],routerLink:"routerLink"},features:[ht]})}return t})();var st=class{};var uo=(()=>{class t{router;injector;preloadingStrategy;loader;subscription;constructor(e,n,i,o){this.router=e,this.injector=n,this.preloadingStrategy=i,this.loader=o}setUpPreloading(){this.subscription=this.router.events.pipe(Z(e=>e instanceof x),xe(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription?.unsubscribe()}processRoutes(e,n){let i=[];for(let o of n){o.providers&&!o._injector&&(o._injector=gt(o.providers,e,""));let s=o._injector??e;o._loadedNgModuleFactory&&!o._loadedInjector&&(o._loadedInjector=o._loadedNgModuleFactory.create(s).injector);let a=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(a,o.children??o._loadedRoutes))}return A(i).pipe(on())}preloadConfig(e,n){return this.preloadingStrategy.preload(n,()=>{if(e.destroyed)return g(null);let i;n.loadChildren&&n.canLoad===void 0?i=A(this.loader.loadChildren(e,n)):i=g(null);let o=i.pipe($(s=>s===null?g(void 0):(n._loadedRoutes=s.routes,n._loadedInjector=s.injector,n._loadedNgModuleFactory=s.factory,this.processRoutes(s.injector??e,s.routes))));if(n.loadComponent&&!n._loadedComponent){let s=this.loader.loadComponent(e,n);return A([o,s]).pipe(on())}else return o})}static \u0275fac=function(n){return new(n||t)(y(K),y(G),y(st),y(Zt))};static \u0275prov=m({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),lo=new E(""),Sa=(()=>{class t{options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource=Ie;restoredId=0;store={};urlSerializer=h(fe);zone=h($e);viewportScroller=h(wn);transitions=h(Xt);constructor(e){this.options=e,this.options.scrollPositionRestoration||="disabled",this.options.anchorScrolling||="disabled"}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof te?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof x?(this.lastId=e.id,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.urlAfterRedirects).fragment)):e instanceof z&&e.code===Te.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 De)||e.scrollBehavior==="manual")return;let n={behavior:"instant"};e.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0],n):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(e.position,n):e.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(e.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0])})}scheduleScrollEvent(e,n){let i=W(this.transitions.currentNavigation)?.extras.scroll;this.zone.runOutsideAngular(()=>w(this,null,function*(){yield new Promise(o=>{setTimeout(o),typeof requestAnimationFrame<"u"&&requestAnimationFrame(o)}),this.zone.run(()=>{this.transitions.events.next(new De(e,this.lastSource==="popstate"?this.store[this.restoredId]:null,n,i))})}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static \u0275fac=function(n){Pr()};static \u0275prov=m({token:t,factory:t.\u0275fac})}return t})();function wa(t,...r){return cn([{provide:ge,multi:!0,useValue:t},[],{provide:F,useFactory:ho},{provide:yn,multi:!0,useFactory:fo},r.map(e=>e.\u0275providers)])}function ho(){return h(K).routerState.root}function at(t,r){return{\u0275kind:t,\u0275providers:r}}function fo(){let t=h(ke);return r=>{let e=t.get(Rn);if(r!==e.components[0])return;let n=t.get(K),i=t.get(po);t.get(ir)===1&&n.initialNavigation(),t.get(mo,null,{optional:!0})?.setUpPreloading(),t.get(lo,null,{optional:!0})?.init(),n.resetRootComponentType(e.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}var po=new E("",{factory:()=>new se}),ir=new E("",{factory:()=>1});function go(){let t=[{provide:pn,useValue:!0},{provide:ir,useValue:0},mn(()=>{let r=h(ke);return r.get(Zr,Promise.resolve()).then(()=>new Promise(n=>{let i=r.get(K),o=r.get(po);en(i,()=>{n(!0)}),r.get(Xt).afterPreactivation=()=>(n(!0),o.closed?g(void 0):o),i.initialNavigation()}))})];return at(2,t)}function vo(){let t=[mn(()=>{h(K).setUpLocationChangeListener()}),{provide:ir,useValue:2}];return at(3,t)}var mo=new E("");function yo(t){return at(0,[{provide:mo,useExisting:uo},{provide:st,useExisting:t}])}function Ro(){return at(8,[Qn,{provide:it,useExisting:Qn}])}function So(t){_r("NgRouterViewTransitions");let r=[{provide:Xn,useValue:ro},{provide:er,useValue:f({skipNextTransition:!!t?.skipInitialTransition},t)}];return at(9,r)}var wo=[Ce,{provide:fe,useClass:Q},K,pe,{provide:F,useFactory:ho},Zt,[]],Ca=(()=>{class t{constructor(){}static forRoot(e,n){return{ngModule:t,providers:[wo,[],{provide:ge,multi:!0,useValue:e},[],n?.errorHandler?{provide:tr,useValue:n.errorHandler}:[],{provide:ne,useValue:n||{}},n?.useHash?ba():Ia(),Ea(),n?.preloadingStrategy?yo(n.preloadingStrategy).\u0275providers:[],n?.initialNavigation?Ma(n):[],n?.bindToComponentInputs?Ro().\u0275providers:[],n?.enableViewTransitions?So().\u0275providers:[],Ta()]}}static forChild(e){return{ngModule:t,providers:[{provide:ge,multi:!0,useValue:e}]}}static \u0275fac=function(n){return new(n||t)};static \u0275mod=Fe({type:t});static \u0275inj=je({})}return t})();function Ea(){return{provide:lo,useFactory:()=>{let t=h(wn),r=h(ne);return r.scrollOffset&&t.setOffset(r.scrollOffset),new Sa(r)}}}function ba(){return{provide:Be,useClass:Xr}}function Ia(){return{provide:Be,useClass:Jr}}function Ma(t){return[t.initialNavigation==="disabled"?vo().\u0275providers:[],t.initialNavigation==="enabledBlocking"?go().\u0275providers:[]]}var rr=new E("");function Ta(){return[{provide:rr,useFactory:fo},{provide:yn,multi:!0,useExisting:rr}]}
1export{An as a,Lo as b,Fo as c,Vo as d,x as e,F as f,Yn as g,K as h,co as i,wa as j,Ca as k};
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.