1import{$ as en,$a as xr,$c as $e,A as ce,Aa as Sr,Ab as Gr,Ac as ti,B as te,Ba as Tr,Bc as pe,Ca as gt,D as Jt,Da as Cr,E as ue,Ea as ne,F as fr,Fc as ni,Ga as cn,Gc as je,H as Ae,Ha as un,Hc as ri,I as K,Ia as he,Ic as ii,J as Yt,Ja as de,Jb as Wr,Jc as A,K as pr,Ka as Er,Kc as si,L as gr,La as Ir,Lb as Xr,Lc as ke,Ma as Mr,Mb as Hr,Mc as oi,N as mr,Na as Ar,Nc as ai,O as L,Oa as Dr,Oc as Fe,P as vr,Pa as Or,Q as E,Qa as Pr,Qc as pn,R as T,Ra as re,S as Z,U as R,V as dt,W as yr,Wa as Nr,X as C,Y as Qt,Ya as xe,Yc as ci,Z as v,Zc as ui,_ as f,_a as fe,a as cr,aa as wr,ad as li,b as ur,ba as De,bc as vt,bd as hi,ca as ft,cb as Ur,d as Xt,da as pt,db as Lr,e as Ht,ea as tn,eb as jr,f as W,fa as Oe,fb as kr,g as U,ha as Rr,i as X,ia as Pe,ic as yt,j as D,ja as k,jc as Kr,k as g,kc as wt,l as Me,la as nn,lb as Fr,lc as Rt,m as lr,mb as $r,mc as hn,n as hr,nb as ln,nc as Zr,o as b,oc as dn,p as ht,pc as Ue,q as P,qa as rn,qc as Le,r as Kt,ra as br,rb as _r,rc as Jr,s as dr,sa as sn,sb as mt,sc as bt,t as Zt,tb as zr,ua as on,va as Ne,vb as Br,vc as fn,wa as F,x as H,xa as an,xc as Yr,yb as Vr,yc as Qr,za as le,zb as qr,zc as ei}from"./chunk-MFCEWV4B.js";import{a as h,b as M,c as ar}from"./chunk-XAEY6YYJ.js";var Tt=class n{constructor(e){this.normalizedNames=new Map,this.lazyUpdate=null,e?typeof e=="string"?this.lazyInit=()=>{this.headers=new Map,e.split(` 2`).forEach(i=>{let t=i.indexOf(":");if(t>0){let r=i.slice(0,t),s=r.toLowerCase(),o=i.slice(t+1).trim();this.maybeSetNormalizedName(r,s),this.headers.has(s)?this.headers.get(s).push(o):this.headers.set(s,[o])}})}:typeof Headers<"u"&&e instanceof Headers?(this.headers=new Map,e.forEach((i,t)=>{this.setHeaderEntries(t,i)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(e).forEach(([i,t])=>{this.setHeaderEntries(i,t)})}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();let i=this.headers.get(e.toLowerCase());return i&&i.length>0?i[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,i){return this.clone({name:e,value:i,op:"a"})}set(e,i){return this.clone({name:e,value:i,op:"s"})}delete(e,i){return this.clone({name:e,value:i,op:"d"})}maybeSetNormalizedName(e,i){this.normalizedNames.has(i)||this.normalizedNames.set(i,e)}init(){this.lazyInit&&(this.lazyInit instanceof n?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(e=>this.applyUpdate(e)),this.lazyUpdate=null))}copyFrom(e){e.init(),Array.from(e.headers.keys()).forEach(i=>{this.headers.set(i,e.headers.get(i)),this.normalizedNames.set(i,e.normalizedNames.get(i))})}clone(e){let i=new n;return i.lazyInit=this.lazyInit&&this.lazyInit instanceof n?this.lazyInit:this,i.lazyUpdate=(this.lazyUpdate||[]).concat([e]),i}applyUpdate(e){let i=e.name.toLowerCase();switch(e.op){case"a":case"s":let t=e.value;if(typeof t=="string"&&(t=[t]),t.length===0)return;this.maybeSetNormalizedName(e.name,i);let r=(e.op==="a"?this.headers.get(i):void 0)||[];r.push(...t),this.headers.set(i,r);break;case"d":let s=e.value;if(!s)this.headers.delete(i),this.normalizedNames.delete(i);else{let o=this.headers.get(i);if(!o)return;o=o.filter(a=>s.indexOf(a)===-1),o.length===0?(this.headers.delete(i),this.normalizedNames.delete(i)):this.headers.set(i,o)}break}}setHeaderEntries(e,i){let t=(Array.isArray(i)?i:[i]).map(s=>s.toString()),r=e.toLowerCase();this.headers.set(r,t),this.maybeSetNormalizedName(e,r)}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(i=>e(this.normalizedNames.get(i),this.headers.get(i)))}};var wi=function(n){return n[n.Sent=0]="Sent",n[n.UploadProgress=1]="UploadProgress",n[n.ResponseHeader=2]="ResponseHeader",n[n.DownloadProgress=3]="DownloadProgress",n[n.Response=4]="Response",n[n.User=5]="User",n}(wi||{}),gn=class{constructor(e,i=200,t="OK"){this.headers=e.headers||new Tt,this.status=e.status!==void 0?e.status:i,this.statusText=e.statusText||t,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}};var Ct=class n extends gn{constructor(e={}){super(e),this.type=wi.Response,this.body=e.body!==void 0?e.body:null}clone(e={}){return new n({body:e.body!==void 0?e.body:this.body,headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}};var Es=new C("");var Is=new C(""),di="b",fi="h",pi="s",gi="st",mi="u",vi="rt",St=new C(""),Ms=["GET","HEAD"];function As(n,e){let y=f(St),{isCacheActive:i}=y,t=ar(y,["isCacheActive"]),{transferCache:r,method:s}=n;if(!i||r===!1||s==="POST"&&!t.includePostRequests&&!r||s!=="POST"&&!Ms.includes(s)||!t.includeRequestsWithAuthHeaders&&Ds(n)||t.filter?.(n)===!1)return e(n);let o=f(un),a=f(Is,{optional:!0}),u=$e(f(ne));if(a&&!u)throw new T(2803,!1);let c=u&&a?xs(n.url,a):n.url,l=Ps(n,c),d=o.get(l,null),p=t.includeHeaders;if(typeof r=="object"&&r.includeHeaders&&(p=r.includeHeaders),d){let{[di]:S,[vi]:_,[fi]:O,[pi
2]:ee,[gi]:Ie,[mi]:ae}=d,Wt=S;switch(_){case"arraybuffer":Wt=new TextEncoder().encode(S).buffer;break;case"blob":Wt=new Blob([S]);break}let Ts=new Tt(O);return g(new Ct({body:Wt,headers:Ts,status:ee,statusText:Ie,url:ae}))}return e(n).pipe(E(S=>{S instanceof Ct&&u&&o.set(l,{[di]:S.body,[fi]:Os(S.headers,p),[pi]:S.status,[gi]:S.statusText,[mi]:c,[vi]:n.responseType})}))}function Ds(n){return n.headers.has("authorization")||n.headers.has("proxy-authorization")}function Os(n,e){if(!e)return{};let i={};for(let t of e){let r=n.getAll(t);r!==null&&(i[t]=r)}return i}function yi(n){return[...n.keys()].sort().map(e=>`${e}=${n.getAll(e)}`).join("&")}function Ps(n,e){let{params:i,method:t,responseType:r}=n,s=yi(i),o=n.serializeBody();o instanceof URLSearchParams?o=yi(o):typeof o!="string"&&(o="");let a=[t,r,e,o,s].join("|"),u=Ns(a);return u}function Ns(n){let e=0;for(let i of n)e=Math.imul(31,e)+i.charCodeAt(0)<<0;return e+=2147483648,e.toString()}function Ri(n){return[{provide:St,useFactory:()=>(kr("NgHttpTransferCache"),h({isCacheActive:!0},n))},{provide:Es,useValue:As,multi:!0,deps:[un,St]},{provide:Ue,multi:!0,useFactory:()=>{let e=f(Le),i=f(St);return()=>{Jr(e).then(()=>{i.isCacheActive=!1})}}}]}function xs(n,e){let i=new URL(n,"resolve://").origin,t=e[i];return t?n.replace(i,t):n}var yn=class extends ii{constructor(){super(...arguments),this.supportsDOMEvents=!0}},wn=class n extends yn{static makeCurrent(){ri(new n)}onAndCancel(e,i,t){return e.addEventListener(i,t),()=>{e.removeEventListener(i,t)}}dispatchEvent(e,i){e.dispatchEvent(i)}remove(e){e.remove()}createElement(e,i){return i=i||this.getDefaultDocument(),i.createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,i){return i==="window"?window:i==="document"?e:i==="body"?e.body:null}getBaseHref(e){let i=js();return i==null?null:ks(i)}resetBaseElement(){_e=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return pn(document.cookie,e)}},_e=null;function js(){return _e=_e||document.querySelector("base"),_e?_e.getAttribute("href"):null}function ks(n){return new URL(n,document.baseURI).pathname}var Rn=class{addToWindow(e){Z.getAngularTestability=(t,r=!0)=>{let s=e.findTestabilityInTree(t,r);if(s==null)throw new T(5103,!1);return s},Z.getAllAngularTestabilities=()=>e.getAllTestabilities(),Z.getAllAngularRootElements=()=>e.getAllRootElements();let i=t=>{let r=Z.getAllAngularTestabilities(),s=r.length,o=function(){s--,s==0&&t()};r.forEach(a=>{a.whenStable(o)})};Z.frameworkStabilizers||(Z.frameworkStabilizers=[]),Z.frameworkStabilizers.push(i)}findTestabilityInTree(e,i,t){if(i==null)return null;let r=e.getTestability(i);return r??(t?je().isShadowRoot(i)?this.findTestabilityInTree(e,i.host,!0):this.findTestabilityInTree(e,i.parentElement,!0):null)}},Fs=(()=>{let e=class e{build(){return new XMLHttpRequest}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=R({token:e,factory:e.\u0275fac});let n=e;return n})(),Et=new C(""),Ei=(()=>{let e=class e{constructor(t,r){this._zone=r,this._eventNameToPlugin=new Map,t.forEach(s=>{s.manager=this}),this._plugins=t.slice().reverse()}addEventListener(t,r,s){return this._findPluginFor(r).addEventListener(t,r,s)}getZone(){return this._zone}_findPluginFor(t){let r=this._eventNameToPlugin.get(t);if(r)return r;if(r=this._plugins.find(o=>o.supports(t)),!r)throw new T(5101,!1);return this._eventNameToPlugin.set(t,r),r}};e.\u0275fac=function(r){return new(r||e)(v(Et),v(F))},e.\u0275prov=R({token:e,factory:e.\u0275fac});let n=e;return n})(),ze=class{constructor(e){this._doc=e}},mn="ng-app-id",Ii=(()=>{let e=class e{constructor(t,r,s,o={}){this.doc=t,this.appId=r,this.nonce=s,this.platformId=o,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=$e(o),this.resetHostNodes()}addStyles(t){for(let r of t)this.changeUsageCount(r,1)===1&&this.onStyleAdded(r)}
2removeStyles(t){for(let r of t)this.changeUsageCount(r,-1)<=0&&this.onStyleRemoved(r)}ngOnDestroy(){let t=this.styleNodesInDOM;t&&(t.forEach(r=>r.remove()),t.clear());for(let r of this.getAllStyles())this.onStyleRemoved(r);this.resetHostNodes()}addHost(t){this.hostNodes.add(t);for(let r of this.getAllStyles())this.addStyleToHost(t,r)}removeHost(t){this.hostNodes.delete(t)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(t){for(let r of this.hostNodes)this.addStyleToHost(r,t)}onStyleRemoved(t){let r=this.styleRef;r.get(t)?.elements?.forEach(s=>s.remove()),r.delete(t)}collectServerRenderedStyles(){let t=this.doc.head?.querySelectorAll(`style[${mn}="${this.appId}"]`);if(t?.length){let r=new Map;return t.forEach(s=>{s.textContent!=null&&r.set(s.textContent,s)}),r}return null}changeUsageCount(t,r){let s=this.styleRef;if(s.has(t)){let o=s.get(t);return o.usage+=r,o.usage}return s.set(t,{usage:r,elements:[]}),r}getStyleElement(t,r){let s=this.styleNodesInDOM,o=s?.get(r);if(o?.parentNode===t)return s.delete(r),o.removeAttribute(mn),o;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=r,this.platformIsServer&&a.setAttribute(mn,this.appId),t.appendChild(a),a}}addStyleToHost(t,r){let s=this.getStyleElement(t,r),o=this.styleRef,a=o.get(r)?.elements;a?a.push(s):o.set(r,{elements:[s],usage:1})}resetHostNodes(){let t=this.hostNodes;t.clear(),t.add(this.doc.head)}};e.\u0275fac=function(r){return new(r||e)(v(A),v(gt),v(cn,8),v(ne))},e.\u0275prov=R({token:e,factory:e.\u0275fac});let n=e;return n})(),vn={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,Mi="%COMP%",$s=`_nghost-${Mi}`,_s=`_ngcontent-${Mi}`,zs=!0,Bs=new C("",{providedIn:"root",factory:()=>zs});function Vs(n){return _s.replace(Tn,n)}function qs(n){return $s.replace(Tn,n)}function Ai(n,e){return e.map(i=>i.replace(Tn,n))}var bi=(()=>{let e=class e{constructor(t,r,s,o,a,u,c,l=null){this.eventManager=t,this.sharedStylesHost=r,this.appId=s,this.removeStylesOnCompDestroy=o,this.doc=a,this.platformId=u,this.ngZone=c,this.nonce=l,this.rendererByCompId=new Map,this.platformIsServer=$e(u),this.defaultRenderer=new Be(t,a,c,this.platformIsServer)}createRenderer(t,r){if(!t||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===De.ShadowDom&&(r=M(h({},r),{encapsulation:De.Emulated}));let s=this.getOrCreateRenderer(t,r);return s instanceof It?s.applyToHost(t):s instanceof Ve&&s.applyStyles(),s}getOrCreateRenderer(t,r){let s=this.rendererByCompId,o=s.get(r.id);if(!o){let a=this.doc,u=this.ngZone,c=this.eventManager,l=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,p=this.platformIsServer;switch(r.encapsulation){case De.Emulated:o=new It(c,l,r,this.appId,d,a,u,p);break;case De.ShadowDom:return new bn(c,l,t,r,a,u,this.nonce,p);default:o=new Ve(c,l,r,d,a,u,p);break}s.set(r.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}};e.\u0275fac=function(r){return new(r||e)(v(Ei),v(Ii),v(gt),v(Bs),v(A),v(ne),v(F),v(cn))},e.\u0275prov=R({token:e,factory:e.\u0275fac});let n=e;return n})(),Be=class{constructor(e,i,t,r){this.eventManager=e,this.doc=i,this.ngZone=t,this.platformIsServer=r,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(e,i){return i?this.doc.createElementNS(vn[i]||i,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,i){(Si(e)?e.content:e).appendChild(i)}insertBefore(e,i,t){e&&(Si(e)?e.content:e).insertBefore(i,t)}removeChild(e,i){i.remove()}selectRootElement(e,i){let t=typeof e=="string"?this.doc.querySelector(e):e;if(!t)throw new T(-5104,!1);return i||(t.textContent=""),t}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,i,t,r){if(r){i=r+":"+i;let s=vn[r];s?e.setAttributeNS(s,i,t):e.setAttribute(i,t)}else e.setAttribute(i,t)}removeAttribute(e,i,t){if(t){let r=vn[t];r?e.removeAttributeNS(r,i):e.removeAttribute(`${t}:${i}`)}else e.removeAttribute(i)}addClass(e,i){e.classList.add(i)}removeClass(e,i){e.classList.remove(i)}
2setStyle(e,i,t,r){r&(xe.DashCase|xe.Important)?e.style.setProperty(i,t,r&xe.Important?"important":""):e.style[i]=t}removeStyle(e,i,t){t&xe.DashCase?e.style.removeProperty(i):e.style[i]=""}setProperty(e,i,t){e!=null&&(e[i]=t)}setValue(e,i){e.nodeValue=i}listen(e,i,t){if(typeof e=="string"&&(e=je().getGlobalEventTarget(this.doc,e),!e))throw new Error(`Unsupported event target ${e} for event ${i}`);return this.eventManager.addEventListener(e,i,this.decoratePreventDefault(t))}decoratePreventDefault(e){return i=>{if(i==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(i)):e(i))===!1&&i.preventDefault()}}};function Si(n){return n.tagName==="TEMPLATE"&&n.content!==void 0}var bn=class extends Be{constructor(e,i,t,r,s,o,a,u){super(e,s,o,u),this.sharedStylesHost=i,this.hostEl=t,this.shadowRoot=t.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let c=Ai(r.id,r.styles);for(let l of c){let d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=l,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,i){return super.appendChild(this.nodeOrShadowRoot(e),i)}insertBefore(e,i,t){return super.insertBefore(this.nodeOrShadowRoot(e),i,t)}removeChild(e,i){return super.removeChild(null,i)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Ve=class extends Be{constructor(e,i,t,r,s,o,a,u){super(e,s,o,a),this.sharedStylesHost=i,this.removeStylesOnCompDestroy=r,this.styles=u?Ai(u,t.styles):t.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},It=class extends Ve{constructor(e,i,t,r,s,o,a,u){let c=r+"-"+t.id;super(e,i,t,s,o,a,u,c),this.contentAttr=Vs(c),this.hostAttr=qs(c)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,i){let t=super.createElement(e,i);return super.setAttribute(t,this.contentAttr,""),t}},Gs=(()=>{let e=class e extends ze{constructor(t){super(t)}supports(t){return!0}addEventListener(t,r,s){return t.addEventListener(r,s,!1),()=>this.removeEventListener(t,r,s)}removeEventListener(t,r,s){return t.removeEventListener(r,s)}};e.\u0275fac=function(r){return new(r||e)(v(A))},e.\u0275prov=R({token:e,factory:e.\u0275fac});let n=e;return n})(),Ws=(()=>{let e=class e extends ze{constructor(t){super(t),this.delegate=f(ei,{optional:!0})}supports(t){return this.delegate?this.delegate.supports(t):!1}addEventListener(t,r,s){return this.delegate.addEventListener(t,r,s)}removeEventListener(t,r,s){return this.delegate.removeEventListener(t,r,s)}};e.\u0275fac=function(r){return new(r||e)(v(A))},e.\u0275prov=R({token:e,factory:e.\u0275fac});let n=e;return n})(),Ti=["alt","control","meta","shift"],Xs={"\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"},Hs={alt:n=>n.altKey,control:n=>n.ctrlKey,meta:n=>n.metaKey,shift:n=>n.shiftKey},Ks=(()=>{let e=class e extends ze{constructor(t){super(t)}supports(t){return e.parseEventName(t)!=null}addEventListener(t,r,s){let o=e.parseEventName(r),a=e.eventCallback(o.fullKey,s,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>je().onAndCancel(t,o.domEventName,a))}static parseEventName(t){let r=t.toLowerCase().split("."),s=r.shift();if(r.length===0||!(s==="keydown"||s==="keyup"))return null;let o=e._normalizeKey(r.pop()),a="",u=r.indexOf("code");if(u>-1&&(r.splice(u,1),a="code."),Ti.forEach(l=>{let d=r.indexOf(l);d>-1&&(r.splice(d,1),a+=l+".")}),a+=o,r.length!=0||o.length===0)return null;let c={};return c.domEventName=s,c.fullKey=a,c}static matchEventFullKeyCode(t,r){let s=Xs[t.key]||t.key,o="";return r.indexOf("code.")>-1&&(s=t.code,o="code."),s==null||!s?!1:(s=s.toLowerCase(),s===" "?s="space":s==="."&&(s="dot"),Ti.forEach(a=>{if(a!==s){let u=Hs[a];u(t)&&(o+=a+".")}}),o+=s,o===r)}static eventCallback(t,r,s){return o=>{e.matchEventFullKeyCode(o,t)&&s.runGuarded(()=>r(o))}}static _normalizeKey(t){return t==="esc"?"escape":t}};e.\u0275fac=function(r){return new(r||e)(v(A))},e.\u0275prov=R({token:e,factory:e.\u0275fac});let n=e;return n})();function Nc(n,e){return Qr(h({rootComponent:n},Zs(e)))}function Zs(n){return{appProviders:[...Di,...n?.providers??[]],platformProviders:eo}}function Js(){wn.makeCurrent()}function Ys(){return new an}function Qs(){return Tr(document),document}var eo=[{provide:ne,useValue:ui},{provide:Cr,useValue:Js,multi:!0},{provide:A,useFactory:Qs,deps:[]}];var to=new C(""),no=[{provide:wt,useClass:Rn,deps:[]},{provide:Kr,useClass:Rt,deps:[F,hn,wt]},{provide:Rt,useClass:Rt,deps:[F,hn,wt]}],Di=[{provide:Rr,useValue:"root"},{provide:an,useFactory:Ys,deps:[]},{provide:Et,useClass:Gs,multi:!0,deps:[A,F,ne]},{provide:Et,useClass:Ks,multi:!0,deps:[A]},{provide:Et,useClass:Ws,multi:!0},bi,Ii,Ei,{provide:Ur,useExisting:bi},{provide:hi,useClass:Fs,deps:[]},[]],xc=(()=>{let e=class e{constructor(t){}static withServerTransition(t){return{ngModule:e,providers:[{provide:gt,useValue:t.appId}]}}};e.\u0275fac=function(r){return new(r||e)(v(to,12))},e.\u0275mod=pt({type:e}
2),e.\u0275inj=dt({providers:[...Di,...no],imports:[ci,Yr]});let n=e;return n})(),Uc=(()=>{let e=class e{constructor(t){this._doc=t,this._dom=je()}addTag(t,r=!1){return t?this._getOrCreateElement(t,r):null}addTags(t,r=!1){return t?t.reduce((s,o)=>(o&&s.push(this._getOrCreateElement(o,r)),s),[]):[]}getTag(t){return t&&this._doc.querySelector(`meta[${t}]`)||null}getTags(t){if(!t)return[];let r=this._doc.querySelectorAll(`meta[${t}]`);return r?[].slice.call(r):[]}updateTag(t,r){if(!t)return null;r=r||this._parseSelector(t);let s=this.getTag(r);return s?this._setMetaElementAttributes(t,s):this._getOrCreateElement(t,!0)}removeTag(t){this.removeTagElement(this.getTag(t))}removeTagElement(t){t&&this._dom.remove(t)}_getOrCreateElement(t,r=!1){if(!r){let a=this._parseSelector(t),u=this.getTags(a).filter(c=>this._containsAttributes(t,c))[0];if(u!==void 0)return u}let s=this._dom.createElement("meta");return this._setMetaElementAttributes(t,s),this._doc.getElementsByTagName("head")[0].appendChild(s),s}_setMetaElementAttributes(t,r){return Object.keys(t).forEach(s=>r.setAttribute(this._getMetaKeyMap(s),t[s])),r}_parseSelector(t){let r=t.name?"name":"property";return`${r}="${t[r]}"`}_containsAttributes(t,r){return Object.keys(t).every(s=>r.getAttribute(this._getMetaKeyMap(s))===t[s])}_getMetaKeyMap(t){return ro[t]||t}};e.\u0275fac=function(r){return new(r||e)(v(A))},e.\u0275prov=R({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})(),ro={httpEquiv:"http-equiv"},Oi=(()=>{let e=class e{constructor(t){this._doc=t}getTitle(){return this._doc.title}setTitle(t){this._doc.title=t||""}};e.\u0275fac=function(r){return new(r||e)(v(A))},e.\u0275prov=R({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();var io=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=R({token:e,factory:function(r){let s=null;return r?s=new(r||e):s=v(so),s},providedIn:"root"});let n=e;return n})(),so=(()=>{let e=class e extends io{constructor(t){super(),this._doc=t}sanitize(t,r){if(r==null)return null;switch(t){case re.NONE:return r;case re.HTML:return de(r,"HTML")?he(r):Pr(this._doc,String(r)).toString();case re.STYLE:return de(r,"Style")?he(r):r;case re.SCRIPT:if(de(r,"Script"))return he(r);throw new T(5200,!1);case re.URL:return de(r,"URL")?he(r):Or(String(r));case re.RESOURCE_URL:if(de(r,"ResourceURL"))return he(r);throw new T(5201,!1);default:throw new T(5202,!1)}}bypassSecurityTrustHtml(t){return Er(t)}bypassSecurityTrustStyle(t){return Ir(t)}bypassSecurityTrustScript(t){return Mr(t)}bypassSecurityTrustUrl(t){return Ar(t)}bypassSecurityTrustResourceUrl(t){return Dr(t)}};e.\u0275fac=function(r){return new(r||e)(v(A))},e.\u0275prov=R({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})(),Sn=function(n){return n[n.NoHttpTransferCache=0]="NoHttpTransferCache",n[n.HttpTransferCacheOptions=1]="HttpTransferCacheOptions",n[n.I18nSupport=2]="I18nSupport",n[n.EventReplay=3]="EventReplay",n}(Sn||{});function Lc(...n){let e=[],i=new Set,t=i.has(Sn.HttpTransferCacheOptions);for(let{\u0275providers:r,\u0275kind:s}of n)i.add(s),r.length&&e.push(r);return Oe([[],ti(),i.has(Sn.NoHttpTransferCache)||t?[]:Ri({}),e])}var m="primary",it=Symbol("RouteTitle"),An=class{constructor(e){this.params=e||{}}has(e){return Object.prototype.hasOwnProperty.call(this.params,e)}get(e){if(this.has(e)){let i=this.params[e];return Array.isArray(i)?i[0]:i}return null}getAll(e){if(this.has(e)){let i=this.params[e];return Array.isArray(i)?i:[i]}return[]}get keys(){return Object.keys(this.params)}};function Re(n){return new An(n)}function ao(n,e,i){let t=i.path.split("/");if(t.length>n.length||i.pathMatch==="full"&&(e.hasChildren()||t.length<n.length))return null;let r={};for(let s=0;s<t.length;s++){let o=t[s],a=n[s];if(o[0]===":")r[o.substring(1)]=a;else if(o!==a.path)return null}return{consumed:n.slice(0,t.length),posParams:r}}function co(n,e){if(n.length!==e.length)return!1;for(let i=0;i<n.length;++i)if(!z(n[i],e[i]))return!1;return!0}function z(n,e){let i=n?Dn(n):void 0,t=e?Dn(e):void 0;if(!i||!t||i.length!=t.length)return!1;let r;for(let s=0;s<i.length;s++)if(r=i[s],!zi(n[r],e[r]))return!1;return!0}function Dn(n){return[...Object.keys(n),...Object.getOwnPropertySymbols(n)]}function zi(n,e){if(Array.isArray(n)&&Array.isArray(e)){if(n.length!==e.length)return!1;let i=[...n].sort(),t=[...e].sort();return i.every((r,s)=>t[s]===r)}else return n===e}function Bi(n){return n.length>0?n[n.length-1]:null}function Q(n){return lr(n)?n:Zr(n)?D(Promise.resolve(n)):g(n)}var uo={exact:qi,subset:Gi},Vi={exact:lo,subset:ho,ignored:()=>!0};function Pi(n,e,i){return uo[i.paths](n.root,e.root,i.matrixParams)&&Vi[i.queryParams](n.queryParams,e.queryParams)&&!(i.fragment==="exact"&&n.fragment!==e.fragment)}function lo(n,e){return z(n,e)}function qi(n,e,i){if(!se(n.segments,e.segments)||!Dt(n.segments,e.segments,i)||n.numberOfChildren!==e.numberOfChildren)return!1;for(let t in e.children)if(!n.children[t]||!qi(n.children[t],e.children[t],i))return!1;return!0}function ho(n,e){return Object.keys(e).length<=Object.keys(n).length&&Object.keys(e).every(i=>zi(n[i],e[i]))}function Gi(n,e,i){return Wi(n,e,e.segments,i)}function Wi(n,e,i,t){if(n.segments.length>i.length){let r=n.segments.slice(0,i.length);
vendor: 9,074 bytes, line 2
2return!(!se(r,i)||e.hasChildren()||!Dt(r,i,t))}else if(n.segments.length===i.length){if(!se(n.segments,i)||!Dt(n.segments,i,t))return!1;for(let r in e.children)if(!n.children[r]||!Gi(n.children[r],e.children[r],t))return!1;return!0}else{let r=i.slice(0,n.segments.length),s=i.slice(n.segments.length);return!se(n.segments,r)||!Dt(n.segments,r,t)||!n.children[m]?!1:Wi(n.children[m],e,s,t)}}function Dt(n,e,i){return e.every((t,r)=>Vi[i](n[r].parameters,t.parameters))}var q=class{constructor(e=new w([],{}),i={},t=null){this.root=e,this.queryParams=i,this.fragment=t}get queryParamMap(){return this._queryParamMap??=Re(this.queryParams),this._queryParamMap}toString(){return go.serialize(this)}},w=class{constructor(e,i){this.segments=e,this.children=i,this.parent=null,Object.values(i).forEach(t=>t.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Ot(this)}},ie=class{constructor(e,i){this.path=e,this.parameters=i}get parameterMap(){return this._parameterMap??=Re(this.parameters),this._parameterMap}toString(){return Hi(this)}};function fo(n,e){return se(n,e)&&n.every((i,t)=>z(i.parameters,e[t].parameters))}function se(n,e){return n.length!==e.length?!1:n.every((i,t)=>i.path===e[t].path)}function po(n,e){let i=[];return Object.entries(n.children).forEach(([t,r])=>{t===m&&(i=i.concat(e(r,t)))}),Object.entries(n.children).forEach(([t,r])=>{t!==m&&(i=i.concat(e(r,t)))}),i}var st=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=R({token:e,factory:()=>new be,providedIn:"root"});let n=e;return n})(),be=class{parse(e){let i=new Pn(e);return new q(i.parseRootSegment(),i.parseQueryParams(),i.parseFragment())}serialize(e){let i=`/${qe(e.root,!0)}`,t=yo(e.queryParams),r=typeof e.fragment=="string"?`#${mo(e.fragment)}`:"";return`${i}${t}${r}`}},go=new be;function Ot(n){return n.segments.map(e=>Hi(e)).join("/")}function qe(n,e){if(!n.hasChildren())return Ot(n);if(e){let i=n.children[m]?qe(n.children[m],!1):"",t=[];return Object.entries(n.children).forEach(([r,s])=>{r!==m&&t.push(`${r}:${qe(s,!1)}`)}),t.length>0?`${i}(${t.join("//")})`:i}else{let i=po(n,(t,r)=>r===m?[qe(n.children[m],!1)]:[`${r}:${qe(t,!1)}`]);return Object.keys(n.children).length===1&&n.children[m]!=null?`${Ot(n)}/${i[0]}`:`${Ot(n)}/(${i.join("//")})`}}function Xi(n){return encodeURIComponent(n).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Mt(n){return Xi(n).replace(/%3B/gi,";")}function mo(n){return encodeURI(n)}function On(n){return Xi(n).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Pt(n){return decodeURIComponent(n)}function Ni(n){return Pt(n.replace(/\+/g,"%20"))}function Hi(n){return`${On(n.path)}${vo(n.parameters)}`}function vo(n){return Object.entries(n).map(([e,i])=>`;${On(e)}=${On(i)}`).join("")}function yo(n){let e=Object.entries(n).map(([i,t])=>Array.isArray(t)?t.map(r=>`${Mt(i)}=${Mt(r)}`).join("&"):`${Mt(i)}=${Mt(t)}`).filter(i=>i);return e.length?`?${e.join("&")}`:""}var wo=/^[^\/()?;#]+/;function Cn(n){let e=n.match(wo);return e?e[0]:""}var Ro=/^[^\/()?;=#]+/;function bo(n){let e=n.match(Ro);return e?e[0]:""}var So=/^[^=?&#]+/;function To(n){let e=n.match(So);return e?e[0]:""}var Co=/^[^&#]+/;function Eo(n){let e=n.match(Co);return e?e[0]:""}var Pn=class{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new w([],{}):new w([],this.parseChildren())}parseQueryParams(){let e={};if(this.consumeOptional("?"))do this.parseQueryParam(e);while(this.consumeOptional("&"));return e}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let i={};this.peekStartsWith("/(")&&(this.capture("/"),i=this.parseParens(!0));let t={};return this.peekStartsWith("(")&&(t=this.parseParens(!1)),(e.length>0||Object.keys(i).length>0)&&(t[m]=new w(e,i)),t}parseSegment(){let e=Cn(this.remaining);if(e===""&&this.peekStartsWith(";"))throw new T(4009,!1);return this.capture(e),new ie(Pt(e),this.parseMatrixParams())}parseMatrixParams(){let e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){let i=bo(this.remaining);if(!i)return;this.capture(i);let t="";if(this.consumeOptional("=")){let r=Cn(this.remaining);r&&(t=r,this.capture(t))}e[Pt(i)]=Pt(t)}parseQueryParam(e){let i=To(this.remaining);if(!i)return;this.capture(i);let t="";if(this.consumeOptional("=")){let o=Eo(this.remaining);o&&(t=o,this.capture(t))}let r=Ni(i),s=Ni(t);if(e.hasOwnProperty(r)){let o=e[r];Array.isArray(o)||(o=[o],e[r]=o),o.push(s)}else e[r]=s}parseParens(e){let i={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let t=Cn(this.remaining),r=this.remaining[t.length];if(r!=="/"&&r!==")"&&r!==";")throw new T(4010,!1);let s;t.indexOf(":")>-1?(s=t.slice(0,t.indexOf(":")),this.capture(s),this.capture(":")):e&&(s=m);let o=this.parseChildren();i[s]=Object.keys(o).length===1?o[m]:new w([],o),this.consumeOptional("//")}return i}peekStartsWith(e){return this.remaining.startsWith(e)}consumeOptional(e){return this.peekStartsWith(e)?(this.remaining=this.remaining.substring(e.length),!0):!1}capture(e){if(!this.consumeOptional(e))throw new T(4011,!1)}};function Ki(n){return n.segments.length>0?new w([],{[m]:n}):n}function Zi(n){let e={};for(let[t,r]of Object.entries(n.children)){let s=Zi(r);if(t===m&&s.segments.length===0&&s.hasChildren())for(let[o,a]of Object.entries(s.children))e[o]=a;else(s.segments.length>0||s.hasChildren())&&(e[t]=s)}let i=new w(n.segments,e);return Io(i)}function Io(n){if(n.numberOfChildren===1&&n.children[m]){let e=n.children[m];return new w(n.segments.concat(e.segments),e.children)}return n}function oe(n){return n instanceof q}function Mo(n,e,i=null,t=null){let r=Ji(n);return Yi(r,e,i,t)}function Ji(n){let e;function i(s){let o={};for(let u of s.children){let c=i(u);o[u.outlet]=c}let a=new w(s.url,o);return s===n&&(e=a),a}let t=i(n.root),r=Ki(t);return e??r}function Yi(n,e,i,t){let r=n;for(;r.parent;)r=r.parent;if(e.length===0)return En(r,r,r,i,t);let s=Ao(e);if(s.toRoot())return En(r,r,new w([],{}),i,t);let o=Do(s,r,n),a=o.processChildren?Xe(o.segmentGroup,o.index,s.commands):es(o.segmentGroup,o.index,s.commands);return En(r,o.segmentGroup,a,i,t)}function Nt(n){return typeof n=="object"&&n!=null&&!n.outlets&&!n.segmentPath}function Ze(n){return typeof n=="object"&&n!=null&&n.outlets}function En(n,e,i,t,r){let s={};t&&Object.entries(t).forEach(([u,c])=>{s[u]=Array.isArray(c)?c.map(l=>`${l}`):`${c}`});let o;n===e?o=i:o=Qi(n,e,i);let a=Ki(Zi(o));return new q(a,s,r)}function Qi(n,e,i){let t={};return Object.entries(n.children).forEach(([r,s])=>{s===e?t[r]=i:t[r]=Qi(s,e,i)}),new w(n.segments,t)}var xt=class{constructor(e,i,t){if(this.isAbsolute=e,this.numberOfDoubleDots=i,this.commands=t,e&&t.length>0&&Nt(t[0]))throw new T(4003,!1);let r=t.find(Ze);if(r&&r!==Bi(t))throw new T(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function Ao(n){if(typeof n[0]=="string"&&n.length===1&&n[0]==="/")return new xt(!0,0,n);let e=0,i=!1,t=n.reduce((r,s,o)=>{if(typeof s=="object"&&s!=null){if(s.outlets){let a={};return Object.entries(s.outlets).forEach(([u,c])=>{a[u]=typeof c=="string"?c.split("/"):c}),[...r,{outlets:a}]}if(s.segmentPath)return[...r,s.segmentPath]}return typeof s!="string"?[...r,s]:o===0?(s.split("/").forEach((a,u)=>{u==0&&a==="."||(u==0&&a===""?i=!0:a===".."?e++:a!=""&&r.push(a))}),r):[...r,s]},[]);return new xt(i,e,t)}var ve=class{constructor(e,i,t){this.segmentGroup=e,this.processChildren=i,this.index=t}};function Do(n,e,i){if(n.isAbsolute)return new ve(e,!0,0);if(!i)return new ve(e,!1,NaN);if(i.parent===null)return new ve(i,!0,0);let t=Nt(n.commands[0])?0:1,r=i.segments.length-1+t;return Oo(i,r,n.numberOfDoubleDots)}function Oo(n,e,i){let t=n,r=e,s=i;for(;s>r;){if(s-=r,t=t.parent,!t)throw new T(4005,!1);r=t.segments.length}return new ve(t,!1,r-s)}function Po(n){return Ze(n[0])?n[0].outlets:{[m]:n}}function es(n,e,i){if(n??=new w([],{}),n.segments.length===0&&n.hasChildren())return Xe(n,e,i);let t=No(n,e,i),r=i.slice(t.commandIndex);if(t.match&&t.pathIndex<n.segments.length){let s=new w(n.segments.slice(0,t.pathIndex),{});return s.children[m]=new w(n.segments.slice(t.pathIndex),n.children),Xe(s,0,r)}else return t.match&&r.length===0?new w(n.segments,{}):t.match&&!n.hasChildren()?Nn(n,e,i):t.match?Xe(n,0,r):Nn(n,e,i)}function Xe(n,e,i){if(i.length===0)return new w(n.segments,{});{let t=Po(i),r={};if(Object.keys(t).some(s=>s!==m)&&n.children[m]&&n.numberOfChildren===1&&n.children[m].segments.length===0){let s=Xe(n.children[m],e,i);return new w(n.segments,s.children)}return Object.entries(t).forEach(([s,o])=>
2{typeof o=="string"&&(o=[o]),o!==null&&(r[s]=es(n.children[s],e,o))}),Object.entries(n.children).forEach(([s,o])=>{t[s]===void 0&&(r[s]=o)}),new w(n.segments,r)}}function No(n,e,i){let t=0,r=e,s={match:!1,pathIndex:0,commandIndex:0};for(;r<n.segments.length;){if(t>=i.length)return s;let o=n.segments[r],a=i[t];if(Ze(a))break;let u=`${a}`,c=t<i.length-1?i[t+1]:null;if(r>0&&u===void 0)break;if(u&&c&&typeof c=="object"&&c.outlets===void 0){if(!Ui(u,c,o))return s;t+=2}else{if(!Ui(u,{},o))return s;t++}r++}return{match:!0,pathIndex:r,commandIndex:t}}function Nn(n,e,i){let t=n.segments.slice(0,e),r=0;for(;r<i.length;){let s=i[r];if(Ze(s)){let u=xo(s.outlets);return new w(t,u)}if(r===0&&Nt(i[0])){let u=n.segments[e];t.push(new ie(u.path,xi(i[0]))),r++;continue}let o=Ze(s)?s.outlets[m]:`${s}`,a=r<i.length-1?i[r+1]:null;o&&a&&Nt(a)?(t.push(new ie(o,xi(a))),r+=2):(t.push(new ie(o,{})),r++)}return new w(t,{})}function xo(n){let e={};return Object.entries(n).forEach(([i,t])=>{typeof t=="string"&&(t=[t]),t!==null&&(e[i]=Nn(new w([],{}),0,t))}),e}function xi(n){let e={};return Object.entries(n).forEach(([i,t])=>e[i]=`${t}`),e}function Ui(n,e,i){return n==i.path&&z(e,i.parameters)}var He="imperative",I=function(n){return n[n.NavigationStart=0]="NavigationStart",n[n.NavigationEnd=1]="NavigationEnd",n[n.NavigationCancel=2]="NavigationCancel",n[n.NavigationError=3]="NavigationError",n[n.RoutesRecognized=4]="RoutesRecognized",n[n.ResolveStart=5]="ResolveStart",n[n.ResolveEnd=6]="ResolveEnd",n[n.GuardsCheckStart=7]="GuardsCheckStart",n[n.GuardsCheckEnd=8]="GuardsCheckEnd",n[n.RouteConfigLoadStart=9]="RouteConfigLoadStart",n[n.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",n[n.ChildActivationStart=11]="ChildActivationStart",n[n.ChildActivationEnd=12]="ChildActivationEnd",n[n.ActivationStart=13]="ActivationStart",n[n.ActivationEnd=14]="ActivationEnd",n[n.Scroll=15]="Scroll",n[n.NavigationSkipped=16]="NavigationSkipped",n}(I||{}),j=class{constructor(e,i){this.id=e,this.url=i}},Se=class extends j{constructor(e,i,t="imperative",r=null){super(e,i),this.type=I.NavigationStart,this.navigationTrigger=t,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},B=class extends j{constructor(e,i,t){super(e,i),this.urlAfterRedirects=t,this.type=I.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},x=function(n){return n[n.Redirect=0]="Redirect",n[n.SupersededByNewNavigation=1]="SupersededByNewNavigation",n[n.NoDataFromResolver=2]="NoDataFromResolver",n[n.GuardRejected=3]="GuardRejected",n}(x||{}),Ut=function(n){return n[n.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",n[n.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",n}(Ut||{}),V=class extends j{constructor(e,i,t,r){super(e,i),this.reason=t,this.code=r,this.type=I.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},J=class extends j{constructor(e,i,t,r){super(e,i),this.reason=t,this.code=r,this.type=I.NavigationSkipped}},Je=class extends j{constructor(e,i,t,r){super(e,i),this.error=t,this.target=r,this.type=I.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Lt=class extends j{constructor(e,i,t,r){super(e,i),this.urlAfterRedirects=t,this.state=r,this.type=I.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},xn=class extends j{constructor(e,i,t,r){super(e,i),this.urlAfterRedirects=t,this.state=r,this.type=I.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Un=class extends j{constructor(e,i,t,r,s){super(e,i),this.urlAfterRedirects=t,this.state=r,this.shouldActivate=s,this.type=I.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},Ln=class extends j{constructor(e,i,t,r){super(e,i),this.urlAfterRedirects=t,this.state=r,this.type=I.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},jn=class extends j{constructor(e,i,t,r){super(e,i),this.urlAfterRedirects=t,this.state=r,this.type=I.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},kn=class{constructor(e){this.route=e,this.type=I.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Fn=class{constructor(e){this.route=e,this.type=I.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},$n=class{constructor(e){this.snapshot=e,this.type=I.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},_n=class{constructor(e){this.snapshot=e,this.type=I.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},zn=class{constructor(e){this.snapshot=e,this.type=I.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Bn=class{constructor(e){this.snapshot=e,this.type=I.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},jt=class{constructor(e,i,t){this.routerEvent=e,this.position=i,this.anchor=t,this.type=I.Scroll}toString(){let e=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${e}')`}},Ye=class{},Te=class{constructor(e,i){this.url=e,this.navigationBehaviorOptions=i}};function Uo(n,e){return n.providers&&!n._injector&&(n._injector=ln(n.providers,e,`Route: ${n.path}`)),n._injector??e}function $(n){return n.outlet||m}function Lo(n,e){let i=n.filter(t=>$(t)===e);return i.push(...n.filter(t=>$(t)!==e)),i}function ot(n){if(!n)return null;
2if(n.routeConfig?._injector)return n.routeConfig._injector;for(let e=n.parent;e;e=e.parent){let i=e.routeConfig;if(i?._loadedInjector)return i._loadedInjector;if(i?._injector)return i._injector}return null}var Vn=class{get injector(){return ot(this.route?.snapshot)??this.rootInjector}set injector(e){}constructor(e){this.rootInjector=e,this.outlet=null,this.route=null,this.children=new at(this.rootInjector),this.attachRef=null}},at=(()=>{let e=class e{constructor(t){this.rootInjector=t,this.contexts=new Map}onChildOutletCreated(t,r){let s=this.getOrCreateContext(t);s.outlet=r,this.contexts.set(t,s)}onChildOutletDestroyed(t){let r=this.getContext(t);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){let t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let r=this.getContext(t);return r||(r=new Vn(this.rootInjector),this.contexts.set(t,r)),r}getContext(t){return this.contexts.get(t)||null}};e.\u0275fac=function(r){return new(r||e)(v(Pe))},e.\u0275prov=R({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})(),kt=class{constructor(e){this._root=e}get root(){return this._root.value}parent(e){let i=this.pathFromRoot(e);return i.length>1?i[i.length-2]:null}children(e){let i=qn(e,this._root);return i?i.children.map(t=>t.value):[]}firstChild(e){let i=qn(e,this._root);return i&&i.children.length>0?i.children[0].value:null}siblings(e){let i=Gn(e,this._root);return i.length<2?[]:i[i.length-2].children.map(r=>r.value).filter(r=>r!==e)}pathFromRoot(e){return Gn(e,this._root).map(i=>i.value)}};function qn(n,e){if(n===e.value)return e;for(let i of e.children){let t=qn(n,i);if(t)return t}return null}function Gn(n,e){if(n===e.value)return[e];for(let i of e.children){let t=Gn(n,i);if(t.length)return t.unshift(e),t}return[]}var N=class{constructor(e,i){this.value=e,this.children=i}toString(){return`TreeNode(${this.value})`}};function me(n){let e={};return n&&n.children.forEach(i=>e[i.value.outlet]=i),e}var Ft=class extends kt{constructor(e,i){super(e),this.snapshot=i,er(this,e)}toString(){return this.snapshot.toString()}};function ts(n){let e=jo(n),i=new U([new ie("",{})]),t=new U({}),r=new U({}),s=new U({}),o=new U(""),a=new Y(i,t,s,o,r,m,n,e.root);return a.snapshot=e.root,new Ft(new N(a,[]),e)}function jo(n){let e={},i={},t={},r="",s=new ye([],e,t,r,i,m,n,null,{});return new _t("",new N(s,[]))}var Y=class{constructor(e,i,t,r,s,o,a,u){this.urlSubject=e,this.paramsSubject=i,this.queryParamsSubject=t,this.fragmentSubject=r,this.dataSubject=s,this.outlet=o,this.component=a,this._futureSnapshot=u,this.title=this.dataSubject?.pipe(b(c=>c[it]))??g(void 0),this.url=e,this.params=i,this.queryParams=t,this.fragment=r,this.data=s}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(b(e=>Re(e))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(b(e=>Re(e))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function $t(n,e,i="emptyOnly"){let t,{routeConfig:r}=n;return e!==null&&(i==="always"||r?.path===""||!e.component&&!e.routeConfig?.loadComponent)?t={params:h(h({},e.params),n.params),data:h(h({},e.data),n.data),resolve:h(h(h(h({},n.data),e.data),r?.data),n._resolvedData)}:t={params:h({},n.params),data:h({},n.data),resolve:h(h({},n.data),n._resolvedData??{})},r&&rs(r)&&(t.resolve[it]=r.title),t}var ye=class{get title(){return this.data?.[it]}constructor(e,i,t,r,s,o,a,u,c){this.url=e,this.params=i,this.queryParams=t,this.fragment=r,this.data=s,this.outlet=o,this.component=a,this.routeConfig=u,this._resolve=c}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??=Re(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Re(this.queryParams),this._queryParamMap}toString(){let e=this.url.map(t=>t.toString()).join("/"),i=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${e}', path:'${i}')`}},_t=class extends kt{constructor(e,i){super(i),this.url=e,er(this,i)}toString(){return ns(this._root)}};
2function er(n,e){e.value._routerState=n,e.children.forEach(i=>er(n,i))}function ns(n){let e=n.children.length>0?` { ${n.children.map(ns).join(", ")} } `:"";return`${n.value}${e}`}function In(n){if(n.snapshot){let e=n.snapshot,i=n._futureSnapshot;n.snapshot=i,z(e.queryParams,i.queryParams)||n.queryParamsSubject.next(i.queryParams),e.fragment!==i.fragment&&n.fragmentSubject.next(i.fragment),z(e.params,i.params)||n.paramsSubject.next(i.params),co(e.url,i.url)||n.urlSubject.next(i.url),z(e.data,i.data)||n.dataSubject.next(i.data)}else n.snapshot=n._futureSnapshot,n.dataSubject.next(n._futureSnapshot.data)}function Wn(n,e){let i=z(n.params,e.params)&&fo(n.url,e.url),t=!n.parent!=!e.parent;return i&&!t&&(!n.parent||Wn(n.parent,e.parent))}function rs(n){return typeof n.title=="string"||n.title===null}var ko=(()=>{let e=class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=m,this.activateEvents=new Ne,this.deactivateEvents=new Ne,this.attachEvents=new Ne,this.detachEvents=new Ne,this.parentContexts=f(
2at),this.location=f(jr),this.changeDetector=f(fn),this.inputBinder=f(qt,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(t){if(t.name){let{firstChange:r,previousValue:s}=t.name;if(r)return;this.isTrackedInParentContexts(s)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(s)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(t){return this.parentContexts.getContext(t)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let t=this.parentContexts.getContext(this.name);t?.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new T(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new T(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new T(4012,!1);this.location.detach();let t=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(t.instance),t}attach(t,r){this.activated=t,this._activatedRoute=r,this.location.insert(t.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(t.instance)}deactivate(){if(this.activated){let t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,r){if(this.isActivated)throw new T(4013,!1);this._activatedRoute=t;let s=this.location,a=t.snapshot.component,u=this.parentContexts.getOrCreateContext(this.name).children,c=new Xn(t,u,s.injector);this.activated=s.createComponent(a,{index:s.length,injector:c,environmentInjector:r}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}};e.\u0275fac=function(r){return new(r||e)},e.\u0275dir=tn({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[nn]});let n=e;return n})(),Xn=class n{__ngOutletInjector(e){return new n(this.route,this.childContexts,e)}constructor(e,i,t){this.route=e,this.childContexts=i,this.parent=t}get(e,i){return e===Y?this.route:e===at?this.childContexts:this.parent.get(e,i)}},qt=new C(""),Li=(()=>{let e=class e{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(t){this.unsubscribeFromRouteData(t),this.subscribeToRouteData(t)}unsubscribeFromRouteData(t){this.outletDataSubscriptions.get(t)?.unsubscribe(),this.outletDataSubscriptions.delete(t)}subscribeToRouteData(t){let{activatedRoute:r}=t,s=ht([r.queryParams,r.params,r.data]).pipe(L(([o,a,u],c)=>(u=h(h(h({},o),a),u),c===0?g(u):Promise.resolve(u)))).subscribe(o=>{if(!t.isActivated||!t.activatedComponentRef||t.activatedRoute!==r||r.component===null){this.unsubscribeFromRouteData(t);return}let a=ni(r.component);if(!a){this.unsubscribeFromRouteData(t);return}for(let{templateName:u}of a.inputs)t.activatedComponentRef.setInput(u,o[u])});this.outletDataSubscriptions.set(t,s)}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=R({token:e,factory:e.\u0275fac});let n=e;return n})();function Fo(n,e,i){let t=Qe(n,e._root,i?i._root:void 0);return new Ft(t,e)}function Qe(n,e,i){if(i&&n.shouldReuseRoute(e.value,i.value.snapshot)){let t=i.value;t._futureSnapshot=e.value;let r=$o(n,e,i);return new N(t,r)}else{if(n.shouldAttach(e.value)){let s=n.retrieve(e.value);if(s!==null){let o=s.route;return o.value._futureSnapshot=e.value,o.children=e.children.map(a=>Qe(n,a)),o}}let t=_o(e.value),r=e.children.map(s=>Qe(n,s));return new N(t,r)}}function $o(n,e,i){return e.children.map(t=>{for(let r of i.children)if(n.shouldReuseRoute(t.value,r.value.snapshot))return Qe(n,t,r);return Qe(n,t)})}function _o(n){return new Y(new U(n.url),new U(n.params),new U(n.queryParams),new U(n.fragment),new U(n.data),n.outlet,n.component,n)}var et=class{constructor(e,i){this.redirectTo=e,this.navigationBehaviorOptions=i}},is="ngNavigationCancelingError";function zt(n,e){let{redirectTo:i,navigationBehaviorOptions:t}=oe(e)?{redirectTo:e,navigationBehaviorOptions:void 0}:e,r=ss(!1,x.Redirect);return r.url=i,r.navigationBehaviorOptions=t,r}function ss(n,e){let i=new Error(`NavigationCancelingError: ${n||""}`);return i[is]=!0,i.cancellationCode=e,i}function zo(n){return os(n)&&oe(n.url)}function os(n){return!!n&&n[is]}var Bo=(n,e,i,t)=>b(r=>(new Hn(e,r.targetRouterState,r.currentRouterState,i,t).activate(n),r)),Hn=class{constructor(e,i,t,r,s){this.routeReuseStrategy=e,this.futureState=i,this.currState=t,this.forwardEvent=r,this.inputBindingEnabled=s}activate(e){let i=this.futureState._root,t=this.currState?this.currState._root:null;this.deactivateChildRoutes(i,t,e),In(this.futureState.root),this.activateChildRoutes(i,t,e)}deactivateChildRoutes(e,i,t){let r=me(i);
vendor: 4,114 bytes, line 2
2e.children.forEach(s=>{let o=s.value.outlet;this.deactivateRoutes(s,r[o],t),delete r[o]}),Object.values(r).forEach(s=>{this.deactivateRouteAndItsChildren(s,t)})}deactivateRoutes(e,i,t){let r=e.value,s=i?i.value:null;if(r===s)if(r.component){let o=t.getContext(r.outlet);o&&this.deactivateChildRoutes(e,i,o.children)}else this.deactivateChildRoutes(e,i,t);else s&&this.deactivateRouteAndItsChildren(i,t)}deactivateRouteAndItsChildren(e,i){e.value.component&&this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,i):this.deactivateRouteAndOutlet(e,i)}detachAndStoreRouteSubtree(e,i){let t=i.getContext(e.value.outlet),r=t&&e.value.component?t.children:i,s=me(e);for(let o of Object.values(s))this.deactivateRouteAndItsChildren(o,r);if(t&&t.outlet){let o=t.outlet.detach(),a=t.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:o,route:e,contexts:a})}}deactivateRouteAndOutlet(e,i){let t=i.getContext(e.value.outlet),r=t&&e.value.component?t.children:i,s=me(e);for(let o of Object.values(s))this.deactivateRouteAndItsChildren(o,r);t&&(t.outlet&&(t.outlet.deactivate(),t.children.onOutletDeactivated()),t.attachRef=null,t.route=null)}activateChildRoutes(e,i,t){let r=me(i);e.children.forEach(s=>{this.activateRoutes(s,r[s.value.outlet],t),this.forwardEvent(new Bn(s.value.snapshot))}),e.children.length&&this.forwardEvent(new _n(e.value.snapshot))}activateRoutes(e,i,t){let r=e.value,s=i?i.value:null;if(In(r),r===s)if(r.component){let o=t.getOrCreateContext(r.outlet);this.activateChildRoutes(e,i,o.children)}else this.activateChildRoutes(e,i,t);else if(r.component){let o=t.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){let a=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),o.children.onOutletReAttached(a.contexts),o.attachRef=a.componentRef,o.route=a.route.value,o.outlet&&o.outlet.attach(a.componentRef,a.route.value),In(a.route.value),this.activateChildRoutes(e,null,o.children)}else o.attachRef=null,o.route=r,o.outlet&&o.outlet.activateWith(r,o.injector),this.activateChildRoutes(e,null,o.children)}else this.activateChildRoutes(e,null,t)}},Bt=class{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}},we=class{constructor(e,i){this.component=e,this.route=i}};function Vo(n,e,i){let t=n._root,r=e?e._root:null;return Ge(t,r,i,[t.value])}function qo(n){let e=n.routeConfig?n.routeConfig.canActivateChild:null;return!e||e.length===0?null:{node:n,guards:e}}function Ee(n,e){let i=Symbol(),t=e.get(n,i);return t===i?typeof n=="function"&&!yr(n)?n:e.get(n):t}function Ge(n,e,i,t,r={canDeactivateChecks:[],canActivateChecks:[]}){let s=me(e);return n.children.forEach(o=>{Go(o,s[o.value.outlet],i,t.concat([o.value]),r),delete s[o.value.outlet]}),Object.entries(s).forEach(([o,a])=>Ke(a,i.getContext(o),r)),r}function Go(n,e,i,t,r={canDeactivateChecks:[],canActivateChecks:[]}){let s=n.value,o=e?e.value:null,a=i?i.getContext(n.value.outlet):null;if(o&&s.routeConfig===o.routeConfig){let u=Wo(o,s,s.routeConfig.runGuardsAndResolvers);u?r.canActivateChecks.push(new Bt(t)):(s.data=o.data,s._resolvedData=o._resolvedData),s.component?Ge(n,e,a?a.children:null,t,r):Ge(n,e,i,t,r),u&&a&&a.outlet&&a.outlet.isActivated&&r.canDeactivateChecks.push(new we(a.outlet.component,o))}else o&&Ke(e,a,r),r.canActivateChecks.push(new Bt(t)),s.component?Ge(n,null,a?a.children:null,t,r):Ge(n,null,i,t,r);return r}function Wo(n,e,i){if(typeof i=="function")return i(n,e);switch(i){case"pathParamsChange":return!se(n.url,e.url);case"pathParamsOrQueryParamsChange":return!se(n.url,e.url)||!z(n.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Wn(n,e)||!z(n.queryParams,e.queryParams);case"paramsChange":default:return!Wn(n,e)}}function Ke(n,e,i){let t=me(n),r=n.value;Object.entries(t).forEach(([s,o])=>{r.component?e?Ke(o,e.children.getContext(s),i):Ke(o,null,i):Ke(o,e,i)}),r.component?e&&e.outlet&&e.outlet.isActivated?i.canDeactivateChecks.push(new we(e.outlet.component,r)):i.canDeactivateChecks.push(new we(null,r)):i.
2canDeactivateChecks.push(new we(null,r))}function ct(n){return typeof n=="function"}function Xo(n){return typeof n=="boolean"}function Ho(n){return n&&ct(n.canLoad)}function Ko(n){return n&&ct(n.canActivate)}function Zo(n){return n&&ct(n.canActivateChild)}function Jo(n){return n&&ct(n.canDeactivate)}function Yo(n){return n&&ct(n.canMatch)}function as(n){return n instanceof hr||n?.name==="EmptyError"}var At=Symbol("INITIAL_VALUE");function Ce(){return L(n=>ht(n.map(e=>e.pipe(ue(1),mr(At)))).pipe(b(e=>{for(let i of e)if(i!==!0){if(i===At)return At;if(i===!1||Qo(i))return i}return!0}),H(e=>e!==At),ue(1)))}function Qo(n){return oe(n)||n instanceof et}function ea(n,e){return P(i=>{let{targetSnapshot:t,currentSnapshot:r,guards:{canActivateChecks:s,canDeactivateChecks:o}}=i;return o.length===0&&s.length===0?g(M(h({},i),{guardsResult:!0})):ta(o,t,r,n).pipe(P(a=>a&&Xo(a)?na(t,s,n,e):g(a)),b(a=>M(h({},i),{guardsResult:a})))})}function ta(n,e,i,t){return D(n).pipe(P(r=>aa(r.component,r.route,i,e,t)),K(r=>r!==!0,!0))}function na(n,e,i,t){return D(e).pipe(te(r=>dr(ia(r.route.parent,t),ra(r.route,t),oa(n,r.path,i),sa(n,r.route,i))),K(r=>r!==!0,!0))}function ra(n,e){return n!==null&&e&&e(new zn(n)),g(!0)}function ia(n,e){return n!==null&&e&&e(new $n(n)),g(!0)}function sa(n,e,i){let t=e.routeConfig?e.routeConfig.canActivate:null;if(!t||t.length===0)return g(!0);let r=t.map(s=>Zt(()=>{let o=ot(e)??i,a=Ee(s,o),u=Ko(a)?a.canActivate(e,n):k(o,()=>a(e,n));return Q(u).pipe(K())}));return g(r).pipe(Ce())}function oa(n,e,i){let t=e[e.length-1],s=e.slice(0,e.length-1).reverse().map(o=>qo(o)).filter(o=>o!==null).map(o=>Zt(()=>{let a=o.guards.map(u=>{let c=ot(o.node)??i,l=Ee(u,c),d=Zo(l)?l.canActivateChild(t,n):k(c,()=>l(t,n));return Q(d).pipe(K())});return g(a).pipe(Ce())}));return g(s).pipe(Ce())}function aa(n,e,i,t,r){let s=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!s||s.length===0)return g(!0);let o=s.map(a=>{let u=ot(e)??r,c=Ee(a,u),l=Jo(c)?c.canDeactivate(n,e,i,t):k(u,()=>c(n,e,i,t));return Q(l).pipe(K())});return g(o).pipe(Ce())}function ca(n,e,i,t){let r=e.canLoad;if(r===void 0||r.length===0)return g(!0);let s=r.map(o=>{let a=Ee(o,n),u=Ho(a)?a.canLoad(e,i):k(n,()=>a(e,i));return Q(u)});return g(s).pipe(Ce(),cs(t))}function cs(n){return ur(E(e=>{if(typeof e!="boolean")throw zt(n,e)}),b(e=>e===!0))}function ua(n,e,i,t){let r=e.canMatch;if(!r||r.length===0)return g(!0);let s=r.map(o=>{let a=Ee(o,n),u=Yo(a)?a.canMatch(e,i):k(n,()=>a(e,i));return Q(u)});return g(s).pipe(Ce(),cs(t))}var tt=class{constructor(e){this.segmentGroup=e||null}},nt=class extends Error{constructor(e){super(),this.urlTree=e}};function ge(n){return Me(new tt(n))}function la(n){return Me(new T(4e3,!1))}function ha(n){return Me(ss(!1,x.GuardRejected))}var Kn=class{constructor(e,i){this.urlSerializer=e,this.urlTree=i}lineralizeSegments(e,i){let t=[],r=i.root;for(;;){if(t=t.concat(r.segments),r.numberOfChildren===0)return g(t);if(r.numberOfChildren>1||!r.children[m])return la(`${e.redirectTo}`);r=r.children[m]}}applyRedirectCommands(e,i,t,r,s){if(typeof i!="string"){let a=i,{queryParams:u,fragment:c,routeConfig:l,url:d,outlet:p,params:y,data:S,title:_}=r,O=k(s,()=>a({params:y,data:S,queryParams:u,fragment:c,routeConfig:l,url:d,outlet:p,title:_}));if(O instanceof q)throw new nt(O);i=O}let o=this.applyRedirectCreateUrlTree(i,this.urlSerializer.parse(i),e,t);if(i[0]==="/")throw new nt(o);return o}applyRedirectCreateUrlTree(e,i,t,r){let s=this.createSegmentGroup(e,i.root,t,r);return new q(s,this.createQueryParams(i.queryParams,this.urlTree.queryParams),i.fragment)}createQueryParams(e,i){let t={};return Object.entries(e).forEach(([r,s])=>{if(typeof s=="string"&&s[0]===":"){let a=s.substring(1);t[r]=i[a]}else t[r]=s}),t}createSegmentGroup(e,i,t,r){let s=this.createSegments(e,i.segments,t,r),o={};return Object.entries(i.children).forEach(([a,u])=>{o[a]=this.createSegmentGroup(e,u,t,r)}),new w(s,o)}createSegments(e,i,t,r){return i.map(s=>s.path[0]===":"?this.findPosParam(e,s,r):this.findOrReturn(s,t))}findPosParam(e,i,t){let r=t[i.path.substring(1)];if(!r)throw new T(4001,!1);return r}findOrReturn(e,i){let t=0;for(let r of i){if(r.path===e.path)return i.splice(t),r;t++}return e}},Zn={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function da(n,e,i,t,r){let s=us(n,e,i);return s.matched?(t=Uo(e,t),ua(t,e,i,r).pipe(b(o=>o===!0?s:h({},Zn)))):g(s)}function us(n,e,i){if(e.path==="**")return fa(i);if(e.path==="")return e.pathMatch==="full"&&(n.hasChildren()||i.length>0)?h({},Zn):{matched:!0,consumedSegments:[],remainingSegments:i,parameters:{},positionalParamSegments:{}};let r=(e.matcher||ao)(i,n,e);if(!r)return h({},Zn);let s={};Object.entries(r.posParams??{}
2).forEach(([a,u])=>{s[a]=u.path});let o=r.consumed.length>0?h(h({},s),r.consumed[r.consumed.length-1].parameters):s;return{matched:!0,consumedSegments:r.consumed,remainingSegments:i.slice(r.consumed.length),parameters:o,positionalParamSegments:r.posParams??{}}}function fa(n){return{matched:!0,parameters:n.length>0?Bi(n).parameters:{},consumedSegments:n,remainingSegments:[],positionalParamSegments:{}}}function ji(n,e,i,t){return i.length>0&&ma(n,i,t)?{segmentGroup:new w(e,ga(t,new w(i,n.children))),slicedSegments:[]}:i.length===0&&va(n,i,t)?{segmentGroup:new w(n.segments,pa(n,i,t,n.children)),slicedSegments:i}:{segmentGroup:new w(n.segments,n.children),slicedSegments:i}}function pa(n,e,i,t){let r={};for(let s of i)if(Gt(n,e,s)&&!t[$(s)]){let o=new w([],{});r[$(s)]=o}return h(h({},t),r)}function ga(n,e){let i={};i[m]=e;for(let t of n)if(t.path===""&&$(t)!==m){let r=new w([],{});i[$(t)]=r}return i}function ma(n,e,i){return i.some(t=>Gt(n,e,t)&&$(t)!==m)}function va(n,e,i){return i.some(t=>Gt(n,e,t))}function Gt(n,e,i){return(n.hasChildren()||e.length>0)&&i.pathMatch==="full"?!1:i.path===""}function ya(n,e,i){return e.length===0&&!n.children[i]}var Jn=class{};function wa(n,e,i,t,r,s,o="emptyOnly"){return new Yn(n,e,i,t,r,o,s).recognize()}var Ra=31,Yn=class{constructor(e,i,t,r,s,o,a){this.injector=e,this.configLoader=i,this.rootComponentType=t,this.config=r,this.urlTree=s,this.paramsInheritanceStrategy=o,this.urlSerializer=a,this.applyRedirects=new Kn(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(e){return new T(4002,`'${e.segmentGroup}'`)}recognize(){let e=ji(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(e).pipe(b(({children:i,rootSnapshot:t})=>{let r=new N(t,i),s=new _t("",r),o=Mo(t,[],this.urlTree.queryParams,this.urlTree.fragment);return o.queryParams=this.urlTree.queryParams,s.url=this.urlSerializer.serialize(o),{state:s,tree:o}}))}match(e){let i=new ye([],Object.freeze({}),Object.freeze(h({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),m,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,e,m,i).pipe(b(t=>({children:t,rootSnapshot:i})),ce(t=>{if(t instanceof nt)return this.urlTree=t.urlTree,this.match(t.urlTree.root);throw t instanceof tt?this.noMatchError(t):t}))}processSegmentGroup(e,i,t,r,s){return t.segments.length===0&&t.hasChildren()?this.processChildren(e,i,t,s):this.processSegment(e,i,t,t.segments,r,!0,s).pipe(b(o=>o instanceof N?[o]:[]))}processChildren(e,i,t,r){let s=[];for(let o of Object.keys(t.children))o==="primary"?s.unshift(o):s.push(o);return D(s).pipe(te(o=>{let a=t.children[o],u=Lo(i,o);return this.processSegmentGroup(e,u,a,o,r)}),gr((o,a)=>(o.push(...a),o)),Jt(null),pr(),P(o=>{if(o===null)return ge(t);let a=ls(o);return ba(a),g(a)}))}processSegment(e,i,t,r,s,o,a){return D(i).pipe(te(u=>this.processSegmentAgainstRoute(u._injector??e,i,u,t,r,s,o,a).pipe(ce(c=>{if(c instanceof tt)return g(null);throw c}))),K(u=>!!u),ce(u=>{if(as(u))return ya(t,r,s)?g(new Jn):ge(t);throw u}))}processSegmentAgainstRoute(e,i,t,r,s,o,a,u){return $(t)!==o&&(o===m||!Gt(r,s,t))?ge(r):t.redirectTo===void 0?this.matchSegmentAgainstRoute(e,r,t,s,o,u):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(e,r,i,t,s,o,u):ge(r)}expandSegmentAgainstRouteUsingRedirect(e,i,t,r,s,o,a){let{matched:u,parameters:c,consumedSegments:l,positionalParamSegments:d,remainingSegments:p}=us(i,r,s);if(!u)return ge(i);typeof r.redirectTo=="string"&&r.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>Ra&&(this.allowRedirects=!1));let y=new ye(s,c,Object.freeze(h({},this.urlTree.queryParams)),this.urlTree.fragment,ki(r),$(r),r.component??r._loadedComponent??null,r,Fi(r)),S=$t(y,a,this.paramsInheritanceStrategy);y.params=Object.freeze(S.params),y.data=Object.freeze(S.data);let _=this.applyRedirects.applyRedirectCommands(l,r.redirectTo,d,y,e);return this.applyRedirects.lineralizeSegments(r,_).pipe(P(O=>this.processSegment(e,t,i,O.concat(p),o,!1,a)))}matchSegmentAgainstRoute(e,i,t,r,s,o){let a=da(i,t,r,e,this.urlSerializer);return t.path==="**"&&(i.children={}),a.pipe(L(u=>u.matched?(e=t._injector??e,this.getChildConfig(e,t,r).pipe(L(({routes:c})=>{let l=t._loadedInjector??e,{parameters:d,consumedSegments:p,remainingSegments:y}=u,S=new ye(p,d,Object.freeze(h({},this.urlTree.queryParams)),this.urlTree.fragment,ki(t),$(t),t.component??t._loadedComponent??null,t,Fi(t)),_=$t(S,o,this.paramsInheritanceStrategy);S.params=Object.freeze(_.params),S.data=Object.freeze(_.data);let{segmentGroup:O,slicedSegments:ee}=ji(i,p,y,c);if(ee.length===0&&O.hasChildren())return this.processChildren(l,c,O,S).pipe(b(ae=>new N(S,ae)));if(c.length===0&&ee.length===0)return g(new N(S,[]));let Ie=$(t)===s;return this.processSegment(l,c,O,ee,Ie?m:s,!0,S).pipe(b(ae=>new N(S,ae instanceof N?[ae]:[])))}))):ge(i)))}getChildConfig(e,i,t){return i.children?g({routes:i.children,injector:e}):i.loadChildren?i._loadedRoutes!==void 0?g({routes:i._loadedRoutes,injector:i._loadedInjector}):ca(e,i,t,this.urlSerializer).pipe(P(r=>r?this.configLoader.loadChildren(e,i).pipe(E(s=>{i._loadedRoutes=s.routes,i._loadedInjector=s.injector})):ha(i))):g({routes:[],injector:e})}};function ba(n){n.sort((e,i)=>e.value.outlet===m?-1:i.value.outlet===m?1:e.value.outlet.localeCompare(i.value.outlet))}function Sa(n){let e=n.value.routeConfig;return e&&e.path===""}function ls(n){let e=[],i=new Set;for(let t of n){if(!Sa(t)){e.push(t);continue}let r=e.find(s=>
2t.value.routeConfig===s.value.routeConfig);r!==void 0?(r.children.push(...t.children),i.add(r)):e.push(t)}for(let t of i){let r=ls(t.children);e.push(new N(t.value,r))}return e.filter(t=>!i.has(t))}function ki(n){return n.data||{}}function Fi(n){return n.resolve||{}}function Ta(n,e,i,t,r,s){return P(o=>wa(n,e,i,t,o.extractedUrl,r,s).pipe(b(({state:a,tree:u})=>M(h({},o),{targetSnapshot:a,urlAfterRedirects:u}))))}function Ca(n,e){return P(i=>{let{targetSnapshot:t,guards:{canActivateChecks:r}}=i;if(!r.length)return g(i);let s=new Set(r.map(u=>u.route)),o=new Set;for(let u of s)if(!o.has(u))for(let c of hs(u))o.add(c);let a=0;return D(o).pipe(te(u=>s.has(u)?Ea(u,t,n,e):(u.data=$t(u,u.parent,n).resolve,g(void 0))),E(()=>a++),Yt(1),P(u=>a===o.size?g(i):X))})}function hs(n){let e=n.children.map(i=>hs(i)).flat();return[n,...e]}function Ea(n,e,i,t){let r=n.routeConfig,s=n._resolve;return r?.title!==void 0&&!rs(r)&&(s[it]=r.title),Ia(s,n,e,t).pipe(b(o=>(n._resolvedData=o,n.data=$t(n,n.parent,i).resolve,null)))}function Ia(n,e,i,t){let r=Dn(n);if(r.length===0)return g({});let s={};return D(r).pipe(P(o=>Ma(n[o],e,i,t).pipe(K(),E(a=>{if(a instanceof et)throw zt(new be,a);s[o]=a}))),Yt(1),fr(s),ce(o=>as(o)?X:Me(o)))}function Ma(n,e,i,t){let r=ot(e)??t,s=Ee(n,r),o=s.resolve?s.resolve(e,i):k(r,()=>s(e,i));return Q(o)}function Mn(n){return L(e=>{let i=n(e);return i?D(i).pipe(b(()=>e)):g(e)})}var ds=(()=>{let e=class e{buildTitle(t){let r,s=t.root;for(;s!==void 0;)r=this.getResolvedTitleForRoute(s)??r,s=s.children.find(o=>o.outlet===m);return r}getResolvedTitleForRoute(t){return t.data[it]}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=R({token:e,factory:()=>f(Aa),providedIn:"root"});let n=e;return n})(),Aa=(()=>{let e=class e extends ds{constructor(t){super(),this.title=t}updateTitle(t){let r=this.buildTitle(t);r!==void 0&&this.title.setTitle(r)}};e.\u0275fac=function(r){return new(r||e)(v(Oi))},e.\u0275prov=R({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})(),ut=new C("",{providedIn:"root",factory:()=>({})}),Da=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=ft({type:e,selectors:[["ng-component"]],standalone:!0,features:[vt],decls:1,vars:0,template:function(r,s){r&1&&Gr(0,"router-outlet")},dependencies:[ko],encapsulation:2});let n=e;return n})();function tr(n){let e=n.children&&n.children.map(tr),i=e?M(h({},n),{children:e}):h({},n);return!i.component&&!i.loadComponent&&(e||i.loadChildren)&&i.outlet&&i.outlet!==m&&(i.component=Da),i}var rt=new C(""),nr=(()=>{let e=class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=f(bt)}loadComponent(t){if(this.componentLoaders.get(t))return this.componentLoaders.get(t);if(t._loadedComponent)return g(t._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(t);let r=Q(t.loadComponent()).pipe(b(fs),E(o=>{this.onLoadEndListener&&this.onLoadEndListener(t),t._loadedComponent=o}),Ae(()=>{this.componentLoaders.delete(t)})),s=new Ht(r,()=>new W).pipe(Xt());return this.componentLoaders.set(t,s),s}loadChildren(t,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return g({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);let o=Oa(r,this.compiler,t,this.onLoadEndListener).pipe(Ae(()=>{this.childrenLoaders.delete(r)})),a=new Ht(o,()=>new W).pipe(Xt());return this.childrenLoaders.set(r,a),a}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=R({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();function Oa(n,e,i,t){return Q(n.loadChildren()).pipe(b(fs),P(r=>r instanceof $r||Array.isArray(r)?g(r):D(e.compileModuleAsync(r))),b(r=>{t&&t(n);let s,o,a=!1;return Array.isArray(r)?(o=r,a=!0):(s=r.create(i).injector,o=s.get(rt,[],{optional:!0,self:!0}).flat()),{routes:o.map(tr),injector:s}}))}function Pa(n){return n&&typeof n=="object"&&"default"in n}function fs(n){return Pa(n)?n.default:n}var rr=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=R({token:e,factory:()=>f(Na),providedIn:"root"});let n=e;return n})(),Na=(()=>{let e=class e{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,r){return t}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=R({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})(),ps=new C(""),gs=new C("");
2function xa(n,e,i){let t=n.get(gs),r=n.get(A);return n.get(F).runOutsideAngular(()=>{if(!r.startViewTransition||t.skipNextTransition)return t.skipNextTransition=!1,new Promise(c=>setTimeout(c));let s,o=new Promise(c=>{s=c}),a=r.startViewTransition(()=>(s(),Ua(n))),{onViewTransitionCreated:u}=t;return u&&k(n,()=>u({transition:a,from:e,to:i})),o})}function Ua(n){return new Promise(e=>{_r({read:()=>setTimeout(e)},{injector:n})})}var La=new C(""),ir=(()=>{let e=class e{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new W,this.transitionAbortSubject=new W,this.configLoader=f(nr),this.environmentInjector=f(Pe),this.urlSerializer=f(st),this.rootContexts=f(at),this.location=f(Fe),this.inputBindingEnabled=f(qt,{optional:!0})!==null,this.titleStrategy=f(ds),this.options=f(ut,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=f(rr),this.createViewTransition=f(ps,{optional:!0}),this.navigationErrorHandler=f(La,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>g(void 0),this.rootComponentType=null;let t=s=>this.events.next(new kn(s)),r=s=>this.events.next(new Fn(s));this.configLoader.onLoadEndListener=r,this.configLoader.onLoadStartListener=t}complete(){this.transitions?.complete()}handleNavigationRequest(t){let r=++this.navigationId;this.transitions?.next(M(h(h({},this.transitions.value),t),{id:r}))}setupNavigations(t,r,s){return this.transitions=new U({id:0,currentUrlTree:r,currentRawUrl:r,extractedUrl:this.urlHandlingStrategy.extract(r),urlAfterRedirects:this.urlHandlingStrategy.extract(r),rawUrl:r,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:He,restoredState:null,currentSnapshot:s.snapshot,targetSnapshot:null,currentRouterState:s,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(H(o=>o.id!==0),b(o=>M(h({},o),{extractedUrl:this.urlHandlingStrategy.extract(o.rawUrl)})),L(o=>{let a=!1,u=!1;return g(o).pipe(L(c=>{if(this.navigationId>o.id)return this.cancelNavigationTransition(o,"",x.SupersededByNewNavigation),X;this.currentTransition=o,this.currentNavigation={id:c.id,initialUrl:c.rawUrl,extractedUrl:c.extractedUrl,targetBrowserUrl:typeof c.extras.browserUrl=="string"?this.urlSerializer.parse(c.extras.browserUrl):c.extras.browserUrl,trigger:c.source,extras:c.extras,previousNavigation:this.lastSuccessfulNavigation?M(h({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let l=!t.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),d=c.extras.onSameUrlNavigation??t.onSameUrlNavigation;if(!l&&d!=="reload"){let p="";return this.events.next(new J(c.id,this.urlSerializer.serialize(c.rawUrl),p,Ut.IgnoredSameUrlNavigation)),c.resolve(!1),X}if(this.urlHandlingStrategy.shouldProcessUrl(c.rawUrl))return g(c).pipe(L(p=>{let y=this.transitions?.getValue();return this.events.next(new Se(p.id,this.urlSerializer.serialize(p.extractedUrl),p.source,p.restoredState)),y!==this.transitions?.getValue()?X:Promise.resolve(p)}),Ta(this.environmentInjector,this.configLoader,this.rootComponentType,t.config,this.urlSerializer,this.paramsInheritanceStrategy),E(p=>{o.targetSnapshot=p.targetSnapshot,o.urlAfterRedirects=p.urlAfterRedirects,this.currentNavigation=M(h({},this.currentNavigation),{finalUrl:p.urlAfterRedirects});let y=new Lt(p.id,this.urlSerializer.serialize(p.extractedUrl),this.urlSerializer.serialize(p.urlAfterRedirects),p.targetSnapshot);this.events.next(y)}));if(l&&this.urlHandlingStrategy.shouldProcessUrl(c.currentRawUrl)){let{id:p,extractedUrl:y,source:S,restoredState:_,extras:O}=c,ee=new Se(p,this.urlSerializer.serialize(y),S,_);this.events.next(ee);let Ie=ts(this.rootComponentType).snapshot;return this.currentTransition=o=M(h({},c),{targetSnapshot:Ie,urlAfterRedirects:y,extras:M(h({},O),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=y,g(o)}else{let p="";return this.events.next(new J(c.id,this.urlSerializer.serialize(c.extractedUrl),p,Ut.IgnoredByUrlHandlingStrategy)),c.resolve(!1),X}}),E(c=>{let l=new xn(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(l)}
2),b(c=>(this.currentTransition=o=M(h({},c),{guards:Vo(c.targetSnapshot,c.currentSnapshot,this.rootContexts)}),o)),ea(this.environmentInjector,c=>this.events.next(c)),E(c=>{if(o.guardsResult=c.guardsResult,c.guardsResult&&typeof c.guardsResult!="boolean")throw zt(this.urlSerializer,c.guardsResult);let l=new Un(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot,!!c.guardsResult);this.events.next(l)}),H(c=>c.guardsResult?!0:(this.cancelNavigationTransition(c,"",x.GuardRejected),!1)),Mn(c=>{if(c.guards.canActivateChecks.length)return g(c).pipe(E(l=>{let d=new Ln(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(d)}),L(l=>{let d=!1;return g(l).pipe(Ca(this.paramsInheritanceStrategy,this.environmentInjector),E({next:()=>d=!0,complete:()=>{d||this.cancelNavigationTransition(l,"",x.NoDataFromResolver)}}))}),E(l=>{let d=new jn(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(d)}))}),Mn(c=>{let l=d=>{let p=[];d.routeConfig?.loadComponent&&!d.routeConfig._loadedComponent&&p.push(this.configLoader.loadComponent(d.routeConfig).pipe(E(y=>{d.component=y}),b(()=>{})));for(let y of d.children)p.push(...l(y));return p};return ht(l(c.targetSnapshot.root)).pipe(Jt(null),ue(1))}),Mn(()=>this.afterPreactivation()),L(()=>{let{currentSnapshot:c,targetSnapshot:l}=o,d=this.createViewTransition?.(this.environmentInjector,c.root,l.root);return d?D(d).pipe(b(()=>o)):g(o)}),b(c=>{let l=Fo(t.routeReuseStrategy,c.targetSnapshot,c.currentRouterState);return this.currentTransition=o=M(h({},c),{targetRouterState:l}),this.currentNavigation.targetRouterState=l,o}),E(()=>{this.events.next(new Ye)}),Bo(this.rootContexts,t.routeReuseStrategy,c=>this.events.next(c),this.inputBindingEnabled),ue(1),E({next:c=>{a=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new B(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects))),this.titleStrategy?.updateTitle(c.targetRouterState.snapshot),c.resolve(!0)},complete:()=>{a=!0}}),vr(this.transitionAbortSubject.pipe(E(c=>{throw c}))),Ae(()=>{!a&&!u&&this.cancelNavigationTransition(o,"",x.SupersededByNewNavigation),this.currentTransition?.id===o.id&&(this.currentNavigation=null,this.currentTransition=null)}),ce(c=>{if(u=!0,os(c))this.events.next(new V(o.id,this.urlSerializer.serialize(o.extractedUrl),c.message,c.cancellationCode)),zo(c)?this.events.next(new Te(c.url,c.navigationBehaviorOptions)):o.resolve(!1);else{let l=new Je(o.id,this.urlSerializer.serialize(o.extractedUrl),c,o.targetSnapshot??void 0);try{let d=k(this.environmentInjector,()=>this.navigationErrorHandler?.(l));if(d instanceof et){let{message:p,cancellationCode:y}=zt(this.urlSerializer,d);this.events.next(new V(o.id,this.urlSerializer.serialize(o.extractedUrl),p,y)),this.events.next(new Te(d.redirectTo,d.navigationBehaviorOptions))}else{this.events.next(l);let p=t.errorHandler(c);o.resolve(!!p)}}catch(d){this.options.resolveNavigationPromiseOnError?o.resolve(!1):o.reject(d)}}return X}))}))}cancelNavigationTransition(t,r,s){let o=new V(t.id,this.urlSerializer.serialize(t.extractedUrl),r,s);this.events.next(o),t.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let t=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),r=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return t.toString()!==r?.toString()&&!this.currentNavigation?.extras.skipLocationChange}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=R({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();function ja(n){return n!==He}var ka=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=R({token:e,factory:()=>f(Fa),providedIn:"root"});let n=e;return n})(),Qn=class{shouldDetach(e){return!1}store(e,i){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,i){return e.routeConfig===i.routeConfig}},Fa=(()=>{let e=class e extends Qn{};e.\u0275fac=(()=>{let t;return function(s){return(t||(t=rn(e)))(s||e)}})(),e.\u0275prov=R({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})(),ms=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=R({token:e,factory:()=>f($a),providedIn:"root"});let n=e;return n})(),$a=(()=>{let e=class e extends ms{constructor(){super(...arguments),this.location=f(Fe),this.urlSerializer
2=f(st),this.options=f(ut,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=f(rr),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new q,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=ts(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(t){return this.location.subscribe(r=>{r.type==="popstate"&&t(r.url,r.state)})}handleRouterEvent(t,r){if(t instanceof Se)this.stateMemento=this.createStateMemento();else if(t instanceof J)this.rawUrlTree=r.initialUrl;else if(t instanceof Lt){if(this.urlUpdateStrategy==="eager"&&!r.extras.skipLocationChange){let s=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl);this.setBrowserUrl(r.targetBrowserUrl??s,r)}}else t instanceof Ye?(this.currentUrlTree=r.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl),this.routerState=r.targetRouterState,this.urlUpdateStrategy==="deferred"&&!r.extras.skipLocationChange&&this.setBrowserUrl(r.targetBrowserUrl??this.rawUrlTree,r)):t instanceof V&&(t.code===x.GuardRejected||t.code===x.NoDataFromResolver)?this.restoreHistory(r):t instanceof Je?this.restoreHistory(r,!0):t instanceof B&&(this.lastSuccessfulId=t.id,this.currentPageId=this.browserPageId)}setBrowserUrl(t,r){let s=t instanceof q?this.urlSerializer.serialize(t):t;if(this.location.isCurrentPathEqualTo(s)||r.extras.replaceUrl){let o=this.browserPageId,a=h(h({},r.extras.state),this.generateNgRouterState(r.id,o));this.location.replaceState(s,"",a)}else{let o=h(h({},r.extras.state),this.generateNgRouterState(r.id,this.browserPageId+1));this.location.go(s,"",o)}}restoreHistory(t,r=!1){if(this.canceledNavigationResolution==="computed"){let s=this.browserPageId,o=this.currentPageId-s;o!==0?this.location.historyGo(o):this.currentUrlTree===t.finalUrl&&o===0&&(this.resetState(t),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(r&&this.resetState(t),this.resetUrlToCurrentUrlTree())}resetState(t){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(t,r){return this.canceledNavigationResolution==="computed"?{navigationId:t,\u0275routerPageId:r}:{navigationId:t}}};e.\u0275fac=(()=>{let t;return function(s){return(t||(t=rn(e)))(s||e)}})(),e.\u0275prov=R({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})(),We=function(n){return n[n.COMPLETE=0]="COMPLETE",n[n.FAILED=1]="FAILED",n[n.REDIRECTING=2]="REDIRECTING",n}(We||{});function vs(n,e){n.events.pipe(H(i=>i instanceof B||i instanceof V||i instanceof Je||i instanceof J),b(i=>i instanceof B||i instanceof J?We.COMPLETE:(i instanceof V?i.code===x.Redirect||i.code===x.SupersededByNewNavigation:!1)?We.REDIRECTING:We.FAILED),H(i=>
2i!==We.REDIRECTING),ue(1)).subscribe(()=>{e()})}function _a(n){throw n}var za={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Ba={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},G=(()=>{let e=class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.console=f(yt),this.stateManager=f(ms),this.options=f(ut,{optional:!0})||{},this.pendingTasks=f(on),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=f(ir),this.urlSerializer=f(st),this.location=f(Fe),this.urlHandlingStrategy=f(rr),this._events=new W,this.errorHandler=this.options.errorHandler||_a,this.navigated=!1,this.routeReuseStrategy=f(ka),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=f(rt,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!f(qt,{optional:!0}),this.eventsSubscription=new cr,this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:t=>{this.console.warn(t)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){let t=this.navigationTransitions.events.subscribe(r=>{try{let s=this.navigationTransitions.currentTransition,o=this.navigationTransitions.currentNavigation;if(s!==null&&o!==null){if(this.stateManager.handleRouterEvent(r,o),r instanceof V&&r.code!==x.Redirect&&r.code!==x.SupersededByNewNavigation)this.navigated=!0;else if(r instanceof B)this.navigated=!0;else if(r instanceof Te){let a=r.navigationBehaviorOptions,u=this.urlHandlingStrategy.merge(r.url,s.currentRawUrl),c=h({browserUrl:s.extras.browserUrl,info:s.extras.info,skipLocationChange:s.extras.skipLocationChange,replaceUrl:s.extras.replaceUrl||this.urlUpdateStrategy==="eager"||ja(s.source)},a);this.scheduleNavigation(u,He,null,c,{resolve:s.resolve,reject:s.reject,promise:s.promise})}}qa(r)&&this._events.next(r)}catch(s){this.navigationTransitions.transitionAbortSubject.next(s)}});this.eventsSubscription.add(t)}resetRootComponentType(t){this.routerState.root.component=t,this.navigationTransitions.rootComponentType=t}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),He,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((t,r)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(t,"popstate",r)},0)})}navigateToSyncWithBrowser(t,r,s){let o={replaceUrl:!0},a=s?.navigationId?s:null;if(s){let c=h({},s);delete c.navigationId,delete c.\u0275routerPageId,Object.keys(c).length!==0&&(o.state=c)}let u=this.parseUrl(t);this.scheduleNavigation(u,r,a,o)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(t){this.config=t.map(tr),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(t,r={}){let{relativeTo:s,queryParams:o,fragment:a,queryParamsHandling:u,preserveFragment:c}=r,l=c?this.currentUrlTree.fragment:a,d=null;switch(u??this.options.defaultQueryParamsHandling){case"merge":d=h(h({},this.currentUrlTree.queryParams),o);break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=o||null}d!==null&&(d=this.removeEmptyProps(d));let p;try{let y=s?s.snapshot:this.routerState.snapshot.root;p=Ji(y)}catch{(typeof t[0]!="string"||t[0][0]!=="/")&&(t=[]),p=this.currentUrlTree.root}return Yi(p,t,d,l??null)}navigateByUrl(t,r={skipLocationChange:!1}){let s=oe(t)?t:this.parseUrl(t),o=this.urlHandlingStrategy.merge(s,this.rawUrlTree);return this.scheduleNavigation(o,He,null,r)}navigate(t,r={skipLocationChange:!1}){return Va(t),this.navigateByUrl(this.createUrlTree(t,r),r)}serializeUrl(t){return this.urlSerializer.serialize(t)}parseUrl(t){try{return this.urlSerializer.parse(t)}catch{return this.urlSerializer.parse("/")}}isActive(t,r){let s;if(r===!0?s=h({},za):r===!1?s=h({},Ba):s=r,oe(t))return Pi(this.currentUrlTree,t,s);let o=this.parseUrl(t);return Pi(this.currentUrlTree,o,s)}removeEmptyProps(t){return Object.entries(t).reduce((r,[s,o])=>(o!=null&&(r[s]=o),r),{})}scheduleNavigation(t,r,s,o,a){if(this.disposed)return Promise.resolve(!1);let u,c,l;a?(u=a.resolve,c=a.reject,l=a.promise):l=new Promise((p,y)=>{u=p,c=y});let d=this.pendingTasks.add();return vs(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(d))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:s,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:t,extras:o,resolve:u,reject:c,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(p=>Promise.reject(p))}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=R({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();function Va(n){for(let e=0;e<n.length;e++)if(n[e]==null)throw new T(4008,!1)}function qa(n){return!(n instanceof Ye)&&!(n instanceof Te)}var iu=(()=>{let e=class e{constructor(t,r,s,o,a,u){this.router=t,this.route=r,this.tabIndexAttribute=s,this.renderer=o,this.el=a,this.locationStrategy=u,this.href=null,this.onChanges=new W,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1,this.routerLinkInput=null;
2let c=a.nativeElement.tagName?.toLowerCase();this.isAnchorElement=c==="a"||c==="area",this.isAnchorElement?this.subscription=t.events.subscribe(l=>{l instanceof B&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(t){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",t)}ngOnChanges(t){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(t){t==null?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(oe(t)?this.routerLinkInput=t:this.routerLinkInput=Array.isArray(t)?t:[t],this.setTabIndexIfNotOnNativeEl("0"))}onClick(t,r,s,o,a){let u=this.urlTree;if(u===null||this.isAnchorElement&&(t!==0||r||s||o||a||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(u,c),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let t=this.urlTree;this.href=t!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(t)):null;let r=this.href===null?null:Nr(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",r)}applyAttributeValue(t,r){let s=this.renderer,o=this.el.nativeElement;r!==null?s.setAttribute(o,t,r):s.removeAttribute(o,t)}get urlTree(){return this.routerLinkInput===null?null:oe(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}};e.\u0275fac=function(r){return new(r||e)(fe(G),fe(Y),br("tabindex"),fe(Lr),fe(Sr),fe(ke))},e.\u0275dir=tn({type:e,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(r,s){r&1&&Wr("click",function(a){return s.onClick(a.button,a.ctrlKey,a.shiftKey,a.altKey,a.metaKey)}),r&2&&mt("target",s.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",pe],skipLocationChange:[2,"skipLocationChange","skipLocationChange",pe],replaceUrl:[2,"replaceUrl","replaceUrl",pe],routerLink:"routerLink"},standalone:!0,features:[Fr,nn]});let n=e;return n})();var Vt=class{};var Ga=(()=>{let e=class e{constructor(t,r,s,o,a){this.router=t,this.injector=s,this.preloadingStrategy=o,this.loader=a}setUpPreloading(){this.subscription=this.router.events.pipe(H(t=>t instanceof B),te(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(t,r){let s=[];for(let o of r){o.providers&&!o._injector&&(o._injector=ln(o.providers,t,`Route: ${o.path}`));let a=o._injector??t,u=o._loadedInjector??a;(o.loadChildren&&!o._loadedRoutes&&o.canLoad===void 0||o.loadComponent&&!o._loadedComponent)&&s.push(this.preloadConfig(a,o)),(o.children||o._loadedRoutes)&&s.push(this.processRoutes(u,o.children??o._loadedRoutes))}return D(s).pipe(Kt())}preloadConfig(t,r){return this.preloadingStrategy.preload(r,()=>{let s;r.loadChildren&&r.canLoad===void 0?s=this.loader.loadChildren(t,r):s=g(null);let o=s.pipe(P(a=>a===null?g(void 0):(r._loadedRoutes=a.routes,r._loadedInjector=a.injector,this.processRoutes(a.injector??t,a.routes))));if(r.loadComponent&&!r._loadedComponent){let a=this.loader.loadComponent(r);return D([o,a]).pipe(Kt())}else return o})}};e.\u0275fac=function(r){return new(r||e)(v(G),v(bt),v(Pe),v(Vt),v(nr))},e.\u0275prov=R({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})(),ys=new C(""),Wa=(()=>{let e=class e{constructor(t,r,s,o,a={}){this.urlSerializer=t,this.transitions=r,this.viewportScroller=s,this.zone=o,this.options=a,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},a.scrollPositionRestoration||="disabled",a.anchorScrolling||="disabled"}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(t=>{t instanceof Se?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof B?(this.lastId=t.id,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.urlAfterRedirects).fragment)):t instanceof J&&t.code===Ut.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(t=>{t instanceof jt&&(t.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(t.position):t.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(t.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(t,r){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new jt(t,this.lastSource==="popstate"?this.store[this.restoredId]:null,r))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}};e.\u0275fac=function(r){xr()},e.\u0275prov=R({token:e,factory:e.\u0275fac});let n=e;return n})();function su(n,...e){return Oe([{provide:rt,multi:!0,useValue:n},[],{provide:Y,useFactory:ws,deps:[G]},{provide:Ue,multi:!0,useFactory:Rs},e.map(i=>i.\u0275providers)])}function ws(n){return n.routerState.root}function lt(n,e){return{\u0275kind:n,\u0275providers:e}}function Rs(){let n=f(sn);return e=>{let i=n.get(Le);if(e!==i.components[0])return;let t=n.get(G),r=n.get(bs);n.get(sr)===1&&t.initialNavigation(),n.get(Ss,null,Qt.Optional)?.setUpPreloading(),n.get(ys,null,Qt.Optional)?.init(),t.resetRootComponentType(i.componentTypes[0]),r.closed||(r.next(),r.complete(),r.unsubscribe())}}var bs=new C("",{factory:()=>new W}),sr=new C("",{providedIn:"root",factory:()=>1});function Xa(){return lt(2,[{provide:sr,useValue:0},{provide:dn,multi:!0,deps:[sn],useFactory:e=>{let i=e.get(si,Promise.resolve());return()=>i.then(()=>new Promise(t=>{let r=e.get(G),s=e.get(bs);vs(r,()=>{t(!0)}),e.get(ir).afterPreactivation=()=>(t(!0),s.closed?g(void 0):s),r.initialNavigation()}))}}])}function Ha(){return lt(3,[{provide:dn,multi:!0,useFactory:()=>{let e=f(G);return()=>{e.setUpLocationChangeListener()}}},{provide:sr,useValue:2}])}var Ss=new C("");function Ka(n){return lt(0,[{provide:Ss,useExisting:Ga},{provide:Vt,useExisting:n}])}function Za(){return lt(8,[Li,{provide:qt,useExisting:Li}])}function Ja(n){let e=[{provide:ps,useValue:xa},{provide:gs,useValue:h({skipNextTransition:!!n?.skipInitialTransition},n)}];return lt(9,e)}var $i=new C("ROUTER_FORROOT_GUARD"),Ya=[Fe,{provide:st,useClass:be},G,at,{provide:Y,useFactory:ws,deps:[G]},nr,[]],ou=(()=>{let e=class e{constructor(t){}static forRoot(t,r){return{ngModule:e,providers:[Ya,[],{provide:rt,multi:!0,useValue:t},{provide:$i,useFactory:nc,deps:[[G,new en,new wr]]},{provide:ut,useValue:r||{}},r?.useHash?ec():tc(),Qa(),r?.preloadingStrategy?Ka(r.preloadingStrategy).\u0275providers:[],r?.initialNavigation?rc(r):[],r?.bindToComponentInputs?Za().\u0275providers:[],r?.enableViewTransitions?Ja().\u0275providers:[],ic()]}}static forChild(t){return{ngModule:e,providers:[{provide:rt,multi:!0,useValue:t}]}}};e.\u0275fac=function(r){return new(r||e)(v($i,8))},e.\u0275mod=pt({type:e}
2),e.\u0275inj=dt({});let n=e;return n})();function Qa(){return{provide:ys,useFactory:()=>{let n=f(li),e=f(F),i=f(ut),t=f(ir),r=f(st);return i.scrollOffset&&n.setOffset(i.scrollOffset),new Wa(r,t,n,e,i)}}}function ec(){return{provide:ke,useClass:ai}}function tc(){return{provide:ke,useClass:oi}}function nc(n){return"guarded"}function rc(n){return[n.initialNavigation==="disabled"?Ha().\u0275providers:[],n.initialNavigation==="enabledBlocking"?Xa().\u0275providers:[]]}var _i=new C("");function ic(){return[{provide:_i,useFactory:Rs},{provide:Ue,multi:!0,useExisting:_i}]}var sc=["*"],or=function(n){return n.Small="small",n.Large="large",n}(or||{}),du=(()=>{let e=class e{constructor(){this.ButtonSize=or,this.type=le("button"),this.size=le(or.Small),this.ariaLabel=le(""),this.disabled=le(!1,{transform:pe}),this.classes=le([])}};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=ft({type:e,selectors:[["cl-button"]],inputs:{type:[1,"type"],size:[1,"size"],ariaLabel:[1,"ariaLabel"],disabled:[1,"disabled"],classes:[1,"classes"]},standalone:!0,features:[vt],ngContentSelectors:sc,decls:2,vars:7,consts:[[3,"disabled"]],template:function(r,s){r&1&&(Xr(),Vr(0,"button",0),Hr(1),qr()),r&2&&(Br("large",s.size()===s.ButtonSize.Large)("small",s.size()===s.ButtonSize.Small),zr("disabled",s.disabled()),mt("type",s.type())("aria-label",s.ariaLabel()))},styles:["button[_ngcontent-%COMP%]{position:relative;display:flex;align-items:center;justify-content:center;cursor:pointer;gap:var(--gap-m);font-family:Roboto Light,Helvetica,Arial,sans-serif;font-size:calc(1rem * var(--roboto-hotfix-multiplier));line-height:1.6;font-weight:400;transition:all .1s ease}button[_ngcontent-%COMP%]:enabled{cursor:pointer}button[_ngcontent-%COMP%]:not(:active):hover{filter:drop-shadow(0px 0px 7px var(--color-primary))}button[_ngcontent-%COMP%]:active{transform:scale(.97)}[_nghost-%COMP%]:not([secondary]) button[_ngcontent-%COMP%]{border:1px solid transparent;background-color:var(--color-primary);color:var(--color-on-primary)}[secondary][_nghost-%COMP%] button[_ngcontent-%COMP%]{border:1px solid var(--color-primary);background-color:var(--color-secondary);color:var(--color-primary)}[_nghost-%COMP%]:not([small]) button[_ngcontent-%COMP%]{padding:.5rem 1rem;border-radius:1.25rem .5rem}[small][_nghost-%COMP%] button[_ngcontent-%COMP%]{padding:.375rem .75rem;border-radius:1rem .375rem;font-family:Roboto Light,Helvetica,Arial,sans-serif;font-size:calc(.875rem * var(--roboto-hotfix-multiplier));line-height:1}[smaller][_nghost-%COMP%] button[_ngcontent-%COMP%]{padding:.125rem .25rem;border-radius:.75rem .25rem;font-family:Roboto,Helvetica,Arial,sans-serif;font-size:calc(.65rem * var(--roboto-hotfix-multiplier));line-height:1}"],changeDetection:0});let n=e;return n})();export{bi as a,Nc as b,xc as c,Uc as d,Oi as e,io as f,Lc as g,B as h,Y as i,ko as j,G as k,iu as l,su as m,ou as n,du as o}; 3/**i18n:88bfb9264dbf2c9dec35d038d7005d727313bc033dfb0df3fe6d0b8c01863dec*/
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.