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