dealposbarcode 25.42.0 → 25.49.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/scss/core/sidebar/_sidebar.scss +3 -1
- package/chunk-4CITKGGL.js +1 -0
- package/chunk-4XEW2OFU.js +1 -0
- package/chunk-6FO5T3CC.js +1 -0
- package/chunk-6OSFQ5BS.js +1 -0
- package/chunk-BQSGSWKL.js +1 -0
- package/chunk-CARY4E7O.js +1 -0
- package/chunk-G2JXUY7S.js +2 -0
- package/chunk-GSH6QS3C.js +1 -0
- package/chunk-I535BP2A.js +1 -0
- package/chunk-LTVGOJEF.js +2 -0
- package/chunk-RH3ZV23S.js +4 -0
- package/chunk-SPKFLYGU.js +386 -0
- package/{chunk-7NBUTSCP.js → chunk-TRX4W32W.js} +1 -1
- package/chunk-UE2JJIFL.js +7 -0
- package/chunk-WBD3XQRN.js +1 -0
- package/{chunk-OF3S7PJO.js → chunk-X4PZGB4F.js} +1 -1
- package/chunk-XGFO3ZQU.js +1 -0
- package/index.html +4 -4
- package/main-RMDLQWTU.js +605 -0
- package/ngsw.json +40 -32
- package/package.json +1 -1
- package/{styles-DNJBCG2T.css → styles-7YJ7GGGE.css} +1 -1
- package/chunk-A6GS53BJ.js +0 -1
- package/chunk-AVMIS4JH.js +0 -5
- package/chunk-FJ7FELU6.js +0 -2
- package/chunk-JSALYWAE.js +0 -1
- package/chunk-JWV4A4IE.js +0 -1
- package/chunk-OPCDULBE.js +0 -390
- package/chunk-OWLOGNWL.js +0 -1
- package/chunk-T4TJ6V2K.js +0 -1
- package/chunk-UQPONBUU.js +0 -1
- package/chunk-YB6XMFOT.js +0 -7
- package/chunk-YZVBRXKJ.js +0 -1
- package/main-FVVEPY6I.js +0 -605
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{$a as fn,Aa as C,Ab as we,B as P,Ba as an,Bb as Br,Bd as ai,C as p,Ca as m,D as xe,Da as d,Dd as Ct,E as yr,Ea as cn,Ec as Yr,Ed as ci,F as wr,Fa as Mr,Fb as Vr,Fd as Et,Ga as Ue,Gb as qr,Ha as Ar,Hb as Gr,I as S,Ia as vt,J as gt,Ja as un,K as U,L as nn,La as Le,M as Rr,N as rn,Na as Dr,Oa as ue,Ob as Wr,Pa as F,Pb as Hr,Qb as mn,Qc as yt,Ra as ln,Rc as Qr,Sc as vn,Tb as Xr,Tc as wt,U as G,Ua as hn,Ub as Jr,Uc as Rt,Va as Or,Vc as St,Wa as dn,Xc as yn,Ya as ke,Yc as ei,Z as ge,Za as je,Zc as Tt,_ as Q,_a as B,a as f,b as O,ba as sn,bb as Pr,ca as me,da as Sr,db as Nr,dd as ti,eb as pn,ed as wn,fb as xr,fd as ni,g as Yt,gb as le,gc as Zr,gd as ri,ha as ce,hd as x,ia as ee,ib as gn,id as ii,ja as on,jb as ve,jd as Fe,ka as Tr,kb as ye,kd as si,l as mr,lb as Ur,ld as oi,m as vr,ma as br,mb as Lr,md as $e,n as Qt,nb as kr,nc as Kr,nd as bt,o as en,ob as jr,p as tn,pb as _r,q as K,qa as Cr,qb as Fr,r as _,ra as L,rb as $r,sa as Er,sb as he,ta as D,va as E,vb as zr,x as Y,xa as R,ya as mt,yb as _e,za as Ir}from"./chunk-UE2JJIFL.js";var Be=class{},Mt=class{},W=class t{constructor(n){this.normalizedNames=new Map,this.lazyUpdate=null,n?typeof n=="string"?this.lazyInit=()=>{this.headers=new Map,n.split(`
|
|
2
|
+
`).forEach(e=>{let r=e.indexOf(":");if(r>0){let i=e.slice(0,r),s=i.toLowerCase(),o=e.slice(r+1).trim();this.maybeSetNormalizedName(i,s),this.headers.has(s)?this.headers.get(s).push(o):this.headers.set(s,[o])}})}:typeof Headers<"u"&&n instanceof Headers?(this.headers=new Map,n.forEach((e,r)=>{this.setHeaderEntries(r,e)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(n).forEach(([e,r])=>{this.setHeaderEntries(e,r)})}:this.headers=new Map}has(n){return this.init(),this.headers.has(n.toLowerCase())}get(n){this.init();let e=this.headers.get(n.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(n){return this.init(),this.headers.get(n.toLowerCase())||null}append(n,e){return this.clone({name:n,value:e,op:"a"})}set(n,e){return this.clone({name:n,value:e,op:"s"})}delete(n,e){return this.clone({name:n,value:e,op:"d"})}maybeSetNormalizedName(n,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,n)}init(){this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(n=>this.applyUpdate(n)),this.lazyUpdate=null))}copyFrom(n){n.init(),Array.from(n.headers.keys()).forEach(e=>{this.headers.set(e,n.headers.get(e)),this.normalizedNames.set(e,n.normalizedNames.get(e))})}clone(n){let e=new t;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([n]),e}applyUpdate(n){let e=n.name.toLowerCase();switch(n.op){case"a":case"s":let r=n.value;if(typeof r=="string"&&(r=[r]),r.length===0)return;this.maybeSetNormalizedName(n.name,e);let i=(n.op==="a"?this.headers.get(e):void 0)||[];i.push(...r),this.headers.set(e,i);break;case"d":let s=n.value;if(!s)this.headers.delete(e),this.normalizedNames.delete(e);else{let o=this.headers.get(e);if(!o)return;o=o.filter(c=>s.indexOf(c)===-1),o.length===0?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,o)}break}}setHeaderEntries(n,e){let r=(Array.isArray(e)?e:[e]).map(s=>s.toString()),i=n.toLowerCase();this.headers.set(i,r),this.maybeSetNormalizedName(n,i)}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>n(this.normalizedNames.get(e),this.headers.get(e)))}};var Sn=class{encodeKey(n){return ui(n)}encodeValue(n){return ui(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}};function Es(t,n){let e=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(i=>{let s=i.indexOf("="),[o,c]=s==-1?[n.decodeKey(i),""]:[n.decodeKey(i.slice(0,s)),n.decodeValue(i.slice(s+1))],a=e.get(o)||[];a.push(c),e.set(o,a)}),e}var Is=/%(\d[a-f0-9])/gi,Ms={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function ui(t){return encodeURIComponent(t).replace(Is,(n,e)=>Ms[e]??n)}function It(t){return`${t}`}var ne=class t{constructor(n={}){if(this.updates=null,this.cloneFrom=null,this.encoder=n.encoder||new Sn,n.fromString){if(n.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=Es(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(e=>{let r=n.fromObject[e],i=Array.isArray(r)?r.map(It):[It(r)];this.map.set(e,i)})):this.map=null}has(n){return this.init(),this.map.has(n)}get(n){this.init();let e=this.map.get(n);return e?e[0]:null}getAll(n){return this.init(),this.map.get(n)||null}keys(){return this.init(),Array.from(this.map.keys())}append(n,e){return this.clone({param:n,value:e,op:"a"})}appendAll(n){let e=[];return Object.keys(n).forEach(r=>{let i=n[r];Array.isArray(i)?i.forEach(s=>{e.push({param:r,value:s,op:"a"})}):e.push({param:r,value:i,op:"a"})}),this.clone(e)}set(n,e){return this.clone({param:n,value:e,op:"s"})}delete(n,e){return this.clone({param:n,value:e,op:"d"})}toString(){return this.init(),this.keys().map(n=>{let e=this.encoder.encodeKey(n);return this.map.get(n).map(r=>e+"="+this.encoder.encodeValue(r)).join("&")}).filter(n=>n!=="").join("&")}clone(n){let e=new t({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(n),e}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(n=>this.map.set(n,this.cloneFrom.map.get(n))),this.updates.forEach(n=>{switch(n.op){case"a":case"s":let e=(n.op==="a"?this.map.get(n.param):void 0)||[];e.push(It(n.value)),this.map.set(n.param,e);break;case"d":if(n.value!==void 0){let r=this.map.get(n.param)||[],i=r.indexOf(It(n.value));i!==-1&&r.splice(i,1),r.length>0?this.map.set(n.param,r):this.map.delete(n.param)}else{this.map.delete(n.param);break}}}),this.cloneFrom=this.updates=null)}};var Tn=class{constructor(){this.map=new Map}set(n,e){return this.map.set(n,e),this}get(n){return this.map.has(n)||this.map.set(n,n.defaultValue()),this.map.get(n)}delete(n){return this.map.delete(n),this}has(n){return this.map.has(n)}keys(){return this.map.keys()}};function As(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function li(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function hi(t){return typeof Blob<"u"&&t instanceof Blob}function di(t){return typeof FormData<"u"&&t instanceof FormData}function Ds(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}var ze=class t{constructor(n,e,r,i){this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=n.toUpperCase();let s;if(As(this.method)||i?(this.body=r!==void 0?r:null,s=i):s=r,s&&(this.reportProgress=!!s.reportProgress,this.withCredentials=!!s.withCredentials,s.responseType&&(this.responseType=s.responseType),s.headers&&(this.headers=s.headers),s.context&&(this.context=s.context),s.params&&(this.params=s.params),this.transferCache=s.transferCache),this.headers??=new W,this.context??=new Tn,!this.params)this.params=new ne,this.urlWithParams=e;else{let o=this.params.toString();if(o.length===0)this.urlWithParams=e;else{let c=e.indexOf("?"),a=c===-1?"?":c<e.length-1?"&":"";this.urlWithParams=e+a+o}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||li(this.body)||hi(this.body)||di(this.body)||Ds(this.body)?this.body:this.body instanceof ne?this.body.toString():typeof this.body=="object"||typeof this.body=="boolean"||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return this.body===null||di(this.body)?null:hi(this.body)?this.body.type||null:li(this.body)?null:typeof this.body=="string"?"text/plain":this.body instanceof ne?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?"application/json":null}clone(n={}){let e=n.method||this.method,r=n.url||this.url,i=n.responseType||this.responseType,s=n.transferCache??this.transferCache,o=n.body!==void 0?n.body:this.body,c=n.withCredentials??this.withCredentials,a=n.reportProgress??this.reportProgress,u=n.headers||this.headers,l=n.params||this.params,h=n.context??this.context;return n.setHeaders!==void 0&&(u=Object.keys(n.setHeaders).reduce((y,T)=>y.set(T,n.setHeaders[T]),u)),n.setParams&&(l=Object.keys(n.setParams).reduce((y,T)=>y.set(T,n.setParams[T]),l)),new t(e,r,o,{params:l,headers:u,context:h,reportProgress:a,responseType:i,withCredentials:c,transferCache:s})}},re=function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t}(re||{}),Ve=class{constructor(n,e=200,r="OK"){this.headers=n.headers||new W,this.status=n.status!==void 0?n.status:e,this.statusText=n.statusText||r,this.url=n.url||null,this.ok=this.status>=200&&this.status<300}},At=class t extends Ve{constructor(n={}){super(n),this.type=re.ResponseHeader}clone(n={}){return new t({headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}},qe=class t extends Ve{constructor(n={}){super(n),this.type=re.Response,this.body=n.body!==void 0?n.body:null}clone(n={}){return new t({body:n.body!==void 0?n.body:this.body,headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}},te=class extends Ve{constructor(n){super(n,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${n.url||"(unknown url)"}`:this.message=`Http failure response for ${n.url||"(unknown url)"}: ${n.status} ${n.statusText}`,this.error=n.error||null}},yi=200,Os=204;function Rn(t,n){return{body:n,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials,transferCache:t.transferCache}}var Ps=(()=>{class t{constructor(e){this.handler=e}request(e,r,i={}){let s;if(e instanceof ze)s=e;else{let a;i.headers instanceof W?a=i.headers:a=new W(i.headers);let u;i.params&&(i.params instanceof ne?u=i.params:u=new ne({fromObject:i.params})),s=new ze(e,r,i.body!==void 0?i.body:null,{headers:a,context:i.context,params:u,reportProgress:i.reportProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials,transferCache:i.transferCache})}let o=p(s).pipe(Q(a=>this.handler.handle(a)));if(e instanceof ze||i.observe==="events")return o;let c=o.pipe(G(a=>a instanceof qe));switch(i.observe||"body"){case"body":switch(s.responseType){case"arraybuffer":return c.pipe(S(a=>{if(a.body!==null&&!(a.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return a.body}));case"blob":return c.pipe(S(a=>{if(a.body!==null&&!(a.body instanceof Blob))throw new Error("Response is not a Blob.");return a.body}));case"text":return c.pipe(S(a=>{if(a.body!==null&&typeof a.body!="string")throw new Error("Response is not a string.");return a.body}));case"json":default:return c.pipe(S(a=>a.body))}case"response":return c;default:throw new Error(`Unreachable: unhandled observe type ${i.observe}}`)}}delete(e,r={}){return this.request("DELETE",e,r)}get(e,r={}){return this.request("GET",e,r)}head(e,r={}){return this.request("HEAD",e,r)}jsonp(e,r){return this.request("JSONP",e,{params:new ne().append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,r={}){return this.request("OPTIONS",e,r)}patch(e,r,i={}){return this.request("PATCH",e,Rn(i,r))}post(e,r,i={}){return this.request("POST",e,Rn(i,r))}put(e,r,i={}){return this.request("PUT",e,Rn(i,r))}static{this.\u0275fac=function(r){return new(r||t)(m(Be))}}static{this.\u0275prov=R({token:t,factory:t.\u0275fac})}}return t})(),Ns=/^\)\]\}',?\n/,xs="X-Request-URL";function fi(t){if(t.url)return t.url;let n=xs.toLocaleLowerCase();return t.headers.get(n)}var Us=(()=>{class t{constructor(){this.fetchImpl=d(bn,{optional:!0})?.fetch??((...e)=>globalThis.fetch(...e)),this.ngZone=d(B)}handle(e){return new Qt(r=>{let i=new AbortController;return this.doRequest(e,i.signal,r).then(Cn,s=>r.error(new te({error:s}))),()=>i.abort()})}doRequest(e,r,i){return Yt(this,null,function*(){let s=this.createRequestInit(e),o;try{let T=this.ngZone.runOutsideAngular(()=>this.fetchImpl(e.urlWithParams,f({signal:r},s)));Ls(T),i.next({type:re.Sent}),o=yield T}catch(T){i.error(new te({error:T,status:T.status??0,statusText:T.statusText,url:e.urlWithParams,headers:T.headers}));return}let c=new W(o.headers),a=o.statusText,u=fi(o)??e.urlWithParams,l=o.status,h=null;if(e.reportProgress&&i.next(new At({headers:c,status:l,statusText:a,url:u})),o.body){let T=o.headers.get("content-length"),M=[],w=o.body.getReader(),v=0,N,Z,I=typeof Zone<"u"&&Zone.current;yield this.ngZone.runOutsideAngular(()=>Yt(this,null,function*(){for(;;){let{done:ae,value:Ne}=yield w.read();if(ae)break;if(M.push(Ne),v+=Ne.length,e.reportProgress){Z=e.responseType==="text"?(Z??"")+(N??=new TextDecoder).decode(Ne,{stream:!0}):void 0;let gr=()=>i.next({type:re.DownloadProgress,total:T?+T:void 0,loaded:v,partialText:Z});I?I.run(gr):gr()}}}));let Pe=this.concatChunks(M,v);try{let ae=o.headers.get("Content-Type")??"";h=this.parseBody(e,Pe,ae)}catch(ae){i.error(new te({error:ae,headers:new W(o.headers),status:o.status,statusText:o.statusText,url:fi(o)??e.urlWithParams}));return}}l===0&&(l=h?yi:0),l>=200&&l<300?(i.next(new qe({body:h,headers:c,status:l,statusText:a,url:u})),i.complete()):i.error(new te({error:h,headers:c,status:l,statusText:a,url:u}))})}parseBody(e,r,i){switch(e.responseType){case"json":let s=new TextDecoder().decode(r).replace(Ns,"");return s===""?null:JSON.parse(s);case"text":return new TextDecoder().decode(r);case"blob":return new Blob([r],{type:i});case"arraybuffer":return r.buffer}}createRequestInit(e){let r={},i=e.withCredentials?"include":void 0;if(e.headers.forEach((s,o)=>r[s]=o.join(",")),e.headers.has("Accept")||(r.Accept="application/json, text/plain, */*"),!e.headers.has("Content-Type")){let s=e.detectContentTypeHeader();s!==null&&(r["Content-Type"]=s)}return{body:e.serializeBody(),method:e.method,headers:r,credentials:i}}concatChunks(e,r){let i=new Uint8Array(r),s=0;for(let o of e)i.set(o,s),s+=o.length;return i}static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275prov=R({token:t,factory:t.\u0275fac})}}return t})(),bn=class{};function Cn(){}function Ls(t){t.then(Cn,Cn)}function wi(t,n){return n(t)}function ks(t,n){return(e,r)=>n.intercept(e,{handle:i=>t(i,r)})}function js(t,n,e){return(r,i)=>F(e,()=>n(r,s=>t(s,i)))}var _s=new C(""),Ot=new C(""),Fs=new C(""),Ri=new C("",{providedIn:"root",factory:()=>!0});function $s(){let t=null;return(n,e)=>{t===null&&(t=(d(_s,{optional:!0})??[]).reduceRight(ks,wi));let r=d(ke);if(d(Ri)){let s=r.add();return t(n,e).pipe(ce(()=>r.remove(s)))}else return t(n,e)}}var pi=(()=>{class t extends Be{constructor(e,r){super(),this.backend=e,this.injector=r,this.chain=null,this.pendingTasks=d(ke),this.contributeToStability=d(Ri)}handle(e){if(this.chain===null){let r=Array.from(new Set([...this.injector.get(Ot),...this.injector.get(Fs,[])]));this.chain=r.reduceRight((i,s)=>js(i,s,this.injector),wi)}if(this.contributeToStability){let r=this.pendingTasks.add();return this.chain(e,i=>this.backend.handle(i)).pipe(ce(()=>this.pendingTasks.remove(r)))}else return this.chain(e,r=>this.backend.handle(r))}static{this.\u0275fac=function(r){return new(r||t)(m(Mt),m(ue))}}static{this.\u0275prov=R({token:t,factory:t.\u0275fac})}}return t})();var zs=/^\)\]\}',?\n/;function Bs(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}var gi=(()=>{class t{constructor(e){this.xhrFactory=e}handle(e){if(e.method==="JSONP")throw new E(-2800,!1);let r=this.xhrFactory;return(r.\u0275loadImpl?P(r.\u0275loadImpl()):p(null)).pipe(L(()=>new Qt(s=>{let o=r.build();if(o.open(e.method,e.urlWithParams),e.withCredentials&&(o.withCredentials=!0),e.headers.forEach((w,v)=>o.setRequestHeader(w,v.join(","))),e.headers.has("Accept")||o.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){let w=e.detectContentTypeHeader();w!==null&&o.setRequestHeader("Content-Type",w)}if(e.responseType){let w=e.responseType.toLowerCase();o.responseType=w!=="json"?w:"text"}let c=e.serializeBody(),a=null,u=()=>{if(a!==null)return a;let w=o.statusText||"OK",v=new W(o.getAllResponseHeaders()),N=Bs(o)||e.url;return a=new At({headers:v,status:o.status,statusText:w,url:N}),a},l=()=>{let{headers:w,status:v,statusText:N,url:Z}=u(),I=null;v!==Os&&(I=typeof o.response>"u"?o.responseText:o.response),v===0&&(v=I?yi:0);let Pe=v>=200&&v<300;if(e.responseType==="json"&&typeof I=="string"){let ae=I;I=I.replace(zs,"");try{I=I!==""?JSON.parse(I):null}catch(Ne){I=ae,Pe&&(Pe=!1,I={error:Ne,text:I})}}Pe?(s.next(new qe({body:I,headers:w,status:v,statusText:N,url:Z||void 0})),s.complete()):s.error(new te({error:I,headers:w,status:v,statusText:N,url:Z||void 0}))},h=w=>{let{url:v}=u(),N=new te({error:w,status:o.status||0,statusText:o.statusText||"Unknown Error",url:v||void 0});s.error(N)},y=!1,T=w=>{y||(s.next(u()),y=!0);let v={type:re.DownloadProgress,loaded:w.loaded};w.lengthComputable&&(v.total=w.total),e.responseType==="text"&&o.responseText&&(v.partialText=o.responseText),s.next(v)},M=w=>{let v={type:re.UploadProgress,loaded:w.loaded};w.lengthComputable&&(v.total=w.total),s.next(v)};return o.addEventListener("load",l),o.addEventListener("error",h),o.addEventListener("timeout",h),o.addEventListener("abort",h),e.reportProgress&&(o.addEventListener("progress",T),c!==null&&o.upload&&o.upload.addEventListener("progress",M)),o.send(c),s.next({type:re.Sent}),()=>{o.removeEventListener("error",h),o.removeEventListener("abort",h),o.removeEventListener("load",l),o.removeEventListener("timeout",h),e.reportProgress&&(o.removeEventListener("progress",T),c!==null&&o.upload&&o.upload.removeEventListener("progress",M)),o.readyState!==o.DONE&&o.abort()}})))}static{this.\u0275fac=function(r){return new(r||t)(m(Et))}}static{this.\u0275prov=R({token:t,factory:t.\u0275fac})}}return t})(),Si=new C(""),Vs="XSRF-TOKEN",qs=new C("",{providedIn:"root",factory:()=>Vs}),Gs="X-XSRF-TOKEN",Ws=new C("",{providedIn:"root",factory:()=>Gs}),Dt=class{},Hs=(()=>{class t{constructor(e,r,i){this.doc=e,this.platform=r,this.cookieName=i,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if(this.platform==="server")return null;let e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=bt(e,this.cookieName),this.lastCookieString=e),this.lastToken}static{this.\u0275fac=function(r){return new(r||t)(m(x),m(le),m(qs))}}static{this.\u0275prov=R({token:t,factory:t.\u0275fac})}}return t})();function Xs(t,n){let e=t.url.toLowerCase();if(!d(Si)||t.method==="GET"||t.method==="HEAD"||e.startsWith("http://")||e.startsWith("https://"))return n(t);let r=d(Dt).getToken(),i=d(Ws);return r!=null&&!t.headers.has(i)&&(t=t.clone({headers:t.headers.set(i,r)})),n(t)}var En=function(t){return t[t.Interceptors=0]="Interceptors",t[t.LegacyInterceptors=1]="LegacyInterceptors",t[t.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",t[t.NoXsrfProtection=3]="NoXsrfProtection",t[t.JsonpSupport=4]="JsonpSupport",t[t.RequestsMadeViaParent=5]="RequestsMadeViaParent",t[t.Fetch=6]="Fetch",t}(En||{});function Ti(t,n){return{\u0275kind:t,\u0275providers:n}}function Pc(...t){let n=[Ps,gi,pi,{provide:Be,useExisting:pi},{provide:Mt,useFactory:()=>d(Us,{optional:!0})??d(gi)},{provide:Ot,useValue:Xs,multi:!0},{provide:Si,useValue:!0},{provide:Dt,useClass:Hs}];for(let e of t)n.push(...e.\u0275providers);return Le(n)}function Nc(t){return Ti(En.Interceptors,t.map(n=>({provide:Ot,useValue:n,multi:!0})))}var mi=new C("");function xc(){return Ti(En.LegacyInterceptors,[{provide:mi,useFactory:$s},{provide:Ot,useExisting:mi,multi:!0}])}var An=class extends ri{constructor(){super(...arguments),this.supportsDOMEvents=!0}},Dn=class t extends An{static makeCurrent(){ni(new t)}onAndCancel(n,e,r){return n.addEventListener(e,r),()=>{n.removeEventListener(e,r)}}dispatchEvent(n,e){n.dispatchEvent(e)}remove(n){n.remove()}createElement(n,e){return e=e||this.getDefaultDocument(),e.createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,e){return e==="window"?window:e==="document"?n:e==="body"?n.body:null}getBaseHref(n){let e=Ks();return e==null?null:Ys(e)}resetBaseElement(){Ge=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return bt(document.cookie,n)}},Ge=null;function Ks(){return Ge=Ge||document.querySelector("base"),Ge?Ge.getAttribute("href"):null}function Ys(t){return new URL(t,document.baseURI).pathname}var Qs=(()=>{class t{build(){return new XMLHttpRequest}static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275prov=R({token:t,factory:t.\u0275fac})}}return t})(),On=new C(""),Ii=(()=>{class t{constructor(e,r){this._zone=r,this._eventNameToPlugin=new Map,e.forEach(i=>{i.manager=this}),this._plugins=e.slice().reverse()}addEventListener(e,r,i){return this._findPluginFor(r).addEventListener(e,r,i)}getZone(){return this._zone}_findPluginFor(e){let r=this._eventNameToPlugin.get(e);if(r)return r;if(r=this._plugins.find(s=>s.supports(e)),!r)throw new E(5101,!1);return this._eventNameToPlugin.set(e,r),r}static{this.\u0275fac=function(r){return new(r||t)(m(On),m(B))}}static{this.\u0275prov=R({token:t,factory:t.\u0275fac})}}return t})(),Pt=class{constructor(n){this._doc=n}},In="ng-app-id",Mi=(()=>{class t{constructor(e,r,i,s={}){this.doc=e,this.appId=r,this.nonce=i,this.platformId=s,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=Ct(s),this.resetHostNodes()}addStyles(e){for(let r of e)this.changeUsageCount(r,1)===1&&this.onStyleAdded(r)}removeStyles(e){for(let r of e)this.changeUsageCount(r,-1)<=0&&this.onStyleRemoved(r)}ngOnDestroy(){let e=this.styleNodesInDOM;e&&(e.forEach(r=>r.remove()),e.clear());for(let r of this.getAllStyles())this.onStyleRemoved(r);this.resetHostNodes()}addHost(e){this.hostNodes.add(e);for(let r of this.getAllStyles())this.addStyleToHost(e,r)}removeHost(e){this.hostNodes.delete(e)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(e){for(let r of this.hostNodes)this.addStyleToHost(r,e)}onStyleRemoved(e){let r=this.styleRef;r.get(e)?.elements?.forEach(i=>i.remove()),r.delete(e)}collectServerRenderedStyles(){let e=this.doc.head?.querySelectorAll(`style[${In}="${this.appId}"]`);if(e?.length){let r=new Map;return e.forEach(i=>{i.textContent!=null&&r.set(i.textContent,i)}),r}return null}changeUsageCount(e,r){let i=this.styleRef;if(i.has(e)){let s=i.get(e);return s.usage+=r,s.usage}return i.set(e,{usage:r,elements:[]}),r}getStyleElement(e,r){let i=this.styleNodesInDOM,s=i?.get(r);if(s?.parentNode===e)return i.delete(r),s.removeAttribute(In),s;{let o=this.doc.createElement("style");return this.nonce&&o.setAttribute("nonce",this.nonce),o.textContent=r,this.platformIsServer&&o.setAttribute(In,this.appId),e.appendChild(o),o}}addStyleToHost(e,r){let i=this.getStyleElement(e,r),s=this.styleRef,o=s.get(r)?.elements;o?o.push(i):s.set(r,{elements:[i],usage:1})}resetHostNodes(){let e=this.hostNodes;e.clear(),e.add(this.doc.head)}static{this.\u0275fac=function(r){return new(r||t)(m(x),m(pn),m(gn,8),m(le))}}static{this.\u0275prov=R({token:t,factory:t.\u0275fac})}}return t})(),Mn={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"},Nn=/%COMP%/g,Ai="%COMP%",eo=`_nghost-${Ai}`,to=`_ngcontent-${Ai}`,no=!0,ro=new C("",{providedIn:"root",factory:()=>no});function io(t){return to.replace(Nn,t)}function so(t){return eo.replace(Nn,t)}function Di(t,n){return n.map(e=>e.replace(Nn,t))}var bi=(()=>{class t{constructor(e,r,i,s,o,c,a,u=null){this.eventManager=e,this.sharedStylesHost=r,this.appId=i,this.removeStylesOnCompDestroy=s,this.doc=o,this.platformId=c,this.ngZone=a,this.nonce=u,this.rendererByCompId=new Map,this.platformIsServer=Ct(c),this.defaultRenderer=new We(e,o,a,this.platformIsServer)}createRenderer(e,r){if(!e||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===Ue.ShadowDom&&(r=O(f({},r),{encapsulation:Ue.Emulated}));let i=this.getOrCreateRenderer(e,r);return i instanceof Nt?i.applyToHost(e):i instanceof He&&i.applyStyles(),i}getOrCreateRenderer(e,r){let i=this.rendererByCompId,s=i.get(r.id);if(!s){let o=this.doc,c=this.ngZone,a=this.eventManager,u=this.sharedStylesHost,l=this.removeStylesOnCompDestroy,h=this.platformIsServer;switch(r.encapsulation){case Ue.Emulated:s=new Nt(a,u,r,this.appId,l,o,c,h);break;case Ue.ShadowDom:return new Pn(a,u,e,r,o,c,this.nonce,h);default:s=new He(a,u,r,l,o,c,h);break}i.set(r.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}static{this.\u0275fac=function(r){return new(r||t)(m(Ii),m(Mi),m(pn),m(ro),m(x),m(le),m(B),m(gn))}}static{this.\u0275prov=R({token:t,factory:t.\u0275fac})}}return t})(),We=class{constructor(n,e,r,i){this.eventManager=n,this.doc=e,this.ngZone=r,this.platformIsServer=i,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(n,e){return e?this.doc.createElementNS(Mn[e]||e,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,e){(Ci(n)?n.content:n).appendChild(e)}insertBefore(n,e,r){n&&(Ci(n)?n.content:n).insertBefore(e,r)}removeChild(n,e){e.remove()}selectRootElement(n,e){let r=typeof n=="string"?this.doc.querySelector(n):n;if(!r)throw new E(-5104,!1);return e||(r.textContent=""),r}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,e,r,i){if(i){e=i+":"+e;let s=Mn[i];s?n.setAttributeNS(s,e,r):n.setAttribute(e,r)}else n.setAttribute(e,r)}removeAttribute(n,e,r){if(r){let i=Mn[r];i?n.removeAttributeNS(i,e):n.removeAttribute(`${r}:${e}`)}else n.removeAttribute(e)}addClass(n,e){n.classList.add(e)}removeClass(n,e){n.classList.remove(e)}setStyle(n,e,r,i){i&(_e.DashCase|_e.Important)?n.style.setProperty(e,r,i&_e.Important?"important":""):n.style[e]=r}removeStyle(n,e,r){r&_e.DashCase?n.style.removeProperty(e):n.style[e]=""}setProperty(n,e,r){n!=null&&(n[e]=r)}setValue(n,e){n.nodeValue=e}listen(n,e,r){if(typeof n=="string"&&(n=wn().getGlobalEventTarget(this.doc,n),!n))throw new Error(`Unsupported event target ${n} for event ${e}`);return this.eventManager.addEventListener(n,e,this.decoratePreventDefault(r))}decoratePreventDefault(n){return e=>{if(e==="__ngUnwrap__")return n;(this.platformIsServer?this.ngZone.runGuarded(()=>n(e)):n(e))===!1&&e.preventDefault()}}};function Ci(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var Pn=class extends We{constructor(n,e,r,i,s,o,c,a){super(n,s,o,a),this.sharedStylesHost=e,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let u=Di(i.id,i.styles);for(let l of u){let h=document.createElement("style");c&&h.setAttribute("nonce",c),h.textContent=l,this.shadowRoot.appendChild(h)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,e){return super.appendChild(this.nodeOrShadowRoot(n),e)}insertBefore(n,e,r){return super.insertBefore(this.nodeOrShadowRoot(n),e,r)}removeChild(n,e){return super.removeChild(null,e)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},He=class extends We{constructor(n,e,r,i,s,o,c,a){super(n,s,o,c),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=i,this.styles=a?Di(a,r.styles):r.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},Nt=class extends He{constructor(n,e,r,i,s,o,c,a){let u=i+"-"+r.id;super(n,e,r,s,o,c,a,u),this.contentAttr=io(u),this.hostAttr=so(u)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,e){let r=super.createElement(n,e);return super.setAttribute(r,this.contentAttr,""),r}},oo=(()=>{class t extends Pt{constructor(e){super(e)}supports(e){return!0}addEventListener(e,r,i){return e.addEventListener(r,i,!1),()=>this.removeEventListener(e,r,i)}removeEventListener(e,r,i){return e.removeEventListener(r,i)}static{this.\u0275fac=function(r){return new(r||t)(m(x))}}static{this.\u0275prov=R({token:t,factory:t.\u0275fac})}}return t})(),Ei=["alt","control","meta","shift"],ao={"\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"},co={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},uo=(()=>{class t extends Pt{constructor(e){super(e)}supports(e){return t.parseEventName(e)!=null}addEventListener(e,r,i){let s=t.parseEventName(r),o=t.eventCallback(s.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>wn().onAndCancel(e,s.domEventName,o))}static parseEventName(e){let r=e.toLowerCase().split("."),i=r.shift();if(r.length===0||!(i==="keydown"||i==="keyup"))return null;let s=t._normalizeKey(r.pop()),o="",c=r.indexOf("code");if(c>-1&&(r.splice(c,1),o="code."),Ei.forEach(u=>{let l=r.indexOf(u);l>-1&&(r.splice(l,1),o+=u+".")}),o+=s,r.length!=0||s.length===0)return null;let a={};return a.domEventName=i,a.fullKey=o,a}static matchEventFullKeyCode(e,r){let i=ao[e.key]||e.key,s="";return r.indexOf("code.")>-1&&(i=e.code,s="code."),i==null||!i?!1:(i=i.toLowerCase(),i===" "?i="space":i==="."&&(i="dot"),Ei.forEach(o=>{if(o!==i){let c=co[o];c(e)&&(s+=o+".")}}),s+=i,s===r)}static eventCallback(e,r,i){return s=>{t.matchEventFullKeyCode(s,e)&&i.runGuarded(()=>r(s))}}static _normalizeKey(e){return e==="esc"?"escape":e}static{this.\u0275fac=function(r){return new(r||t)(m(x))}}static{this.\u0275prov=R({token:t,factory:t.\u0275fac})}}return t})();function ru(t,n){return ei(f({rootComponent:t},lo(n)))}function lo(t){return{appProviders:[...mo,...t?.providers??[]],platformProviders:go}}function ho(){Dn.makeCurrent()}function fo(){return new fn}function po(){return Nr(document),document}var go=[{provide:le,useValue:ai},{provide:xr,useValue:ho,multi:!0},{provide:x,useFactory:po,deps:[]}];var mo=[{provide:Dr,useValue:"root"},{provide:fn,useFactory:fo,deps:[]},{provide:On,useClass:oo,multi:!0,deps:[x,B,le]},{provide:On,useClass:uo,multi:!0,deps:[x]},bi,Mi,Ii,{provide:Vr,useExisting:bi},{provide:Et,useClass:Qs,deps:[]},[]];var Oi=(()=>{class t{constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}static{this.\u0275fac=function(r){return new(r||t)(m(x))}}static{this.\u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var vo=(()=>{class t{static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275prov=R({token:t,factory:function(r){let i=null;return r?i=new(r||t):i=m(yo),i},providedIn:"root"})}}return t})(),yo=(()=>{class t extends vo{constructor(e){super(),this._doc=e}sanitize(e,r){if(r==null)return null;switch(e){case he.NONE:return r;case he.HTML:return ye(r,"HTML")?ve(r):$r(this._doc,String(r)).toString();case he.STYLE:return ye(r,"Style")?ve(r):r;case he.SCRIPT:if(ye(r,"Script"))return ve(r);throw new E(5200,!1);case he.URL:return ye(r,"URL")?ve(r):Fr(String(r));case he.RESOURCE_URL:if(ye(r,"ResourceURL"))return ve(r);throw new E(5201,!1);default:throw new E(5202,!1)}}bypassSecurityTrustHtml(e){return Ur(e)}bypassSecurityTrustStyle(e){return Lr(e)}bypassSecurityTrustScript(e){return kr(e)}bypassSecurityTrustUrl(e){return jr(e)}bypassSecurityTrustResourceUrl(e){return _r(e)}static{this.\u0275fac=function(r){return new(r||t)(m(x))}}static{this.\u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var g="primary",ct=Symbol("RouteTitle"),jn=class{constructor(n){this.params=n||{}}has(n){return Object.prototype.hasOwnProperty.call(this.params,n)}get(n){if(this.has(n)){let e=this.params[n];return Array.isArray(e)?e[0]:e}return null}getAll(n){if(this.has(n)){let e=this.params[n];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}};function Ee(t){return new jn(t)}function Ro(t,n,e){let r=e.path.split("/");if(r.length>t.length||e.pathMatch==="full"&&(n.hasChildren()||r.length<t.length))return null;let i={};for(let s=0;s<r.length;s++){let o=r[s],c=t[s];if(o[0]===":")i[o.substring(1)]=c;else if(o!==c.path)return null}return{consumed:t.slice(0,r.length),posParams:i}}function So(t,n){if(t.length!==n.length)return!1;for(let e=0;e<t.length;++e)if(!V(t[e],n[e]))return!1;return!0}function V(t,n){let e=t?_n(t):void 0,r=n?_n(n):void 0;if(!e||!r||e.length!=r.length)return!1;let i;for(let s=0;s<e.length;s++)if(i=e[s],!zi(t[i],n[i]))return!1;return!0}function _n(t){return[...Object.keys(t),...Object.getOwnPropertySymbols(t)]}function zi(t,n){if(Array.isArray(t)&&Array.isArray(n)){if(t.length!==n.length)return!1;let e=[...t].sort(),r=[...n].sort();return e.every((i,s)=>r[s]===i)}else return t===n}function Bi(t){return t.length>0?t[t.length-1]:null}function oe(t){return yr(t)?t:Qr(t)?P(Promise.resolve(t)):p(t)}var To={exact:qi,subset:Gi},Vi={exact:bo,subset:Co,ignored:()=>!0};function Pi(t,n,e){return To[e.paths](t.root,n.root,e.matrixParams)&&Vi[e.queryParams](t.queryParams,n.queryParams)&&!(e.fragment==="exact"&&t.fragment!==n.fragment)}function bo(t,n){return V(t,n)}function qi(t,n,e){if(!fe(t.segments,n.segments)||!Lt(t.segments,n.segments,e)||t.numberOfChildren!==n.numberOfChildren)return!1;for(let r in n.children)if(!t.children[r]||!qi(t.children[r],n.children[r],e))return!1;return!0}function Co(t,n){return Object.keys(n).length<=Object.keys(t).length&&Object.keys(n).every(e=>zi(t[e],n[e]))}function Gi(t,n,e){return Wi(t,n,n.segments,e)}function Wi(t,n,e,r){if(t.segments.length>e.length){let i=t.segments.slice(0,e.length);return!(!fe(i,e)||n.hasChildren()||!Lt(i,e,r))}else if(t.segments.length===e.length){if(!fe(t.segments,e)||!Lt(t.segments,e,r))return!1;for(let i in n.children)if(!t.children[i]||!Gi(t.children[i],n.children[i],r))return!1;return!0}else{let i=e.slice(0,t.segments.length),s=e.slice(t.segments.length);return!fe(t.segments,i)||!Lt(t.segments,i,r)||!t.children[g]?!1:Wi(t.children[g],n,s,r)}}function Lt(t,n,e){return n.every((r,i)=>Vi[e](t[i].parameters,r.parameters))}var X=class{constructor(n=new b([],{}),e={},r=null){this.root=n,this.queryParams=e,this.fragment=r}get queryParamMap(){return this._queryParamMap??=Ee(this.queryParams),this._queryParamMap}toString(){return Mo.serialize(this)}},b=class{constructor(n,e){this.segments=n,this.children=e,this.parent=null,Object.values(e).forEach(r=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return kt(this)}},de=class{constructor(n,e){this.path=n,this.parameters=e}get parameterMap(){return this._parameterMap??=Ee(this.parameters),this._parameterMap}toString(){return Xi(this)}};function Eo(t,n){return fe(t,n)&&t.every((e,r)=>V(e.parameters,n[r].parameters))}function fe(t,n){return t.length!==n.length?!1:t.every((e,r)=>e.path===n[r].path)}function Io(t,n){let e=[];return Object.entries(t.children).forEach(([r,i])=>{r===g&&(e=e.concat(n(i,r)))}),Object.entries(t.children).forEach(([r,i])=>{r!==g&&(e=e.concat(n(i,r)))}),e}var ut=(()=>{class t{static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275prov=R({token:t,factory:()=>new Ie,providedIn:"root"})}}return t})(),Ie=class{parse(n){let e=new $n(n);return new X(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(n){let e=`/${Xe(n.root,!0)}`,r=Oo(n.queryParams),i=typeof n.fragment=="string"?`#${Ao(n.fragment)}`:"";return`${e}${r}${i}`}},Mo=new Ie;function kt(t){return t.segments.map(n=>Xi(n)).join("/")}function Xe(t,n){if(!t.hasChildren())return kt(t);if(n){let e=t.children[g]?Xe(t.children[g],!1):"",r=[];return Object.entries(t.children).forEach(([i,s])=>{i!==g&&r.push(`${i}:${Xe(s,!1)}`)}),r.length>0?`${e}(${r.join("//")})`:e}else{let e=Io(t,(r,i)=>i===g?[Xe(t.children[g],!1)]:[`${i}:${Xe(r,!1)}`]);return Object.keys(t.children).length===1&&t.children[g]!=null?`${kt(t)}/${e[0]}`:`${kt(t)}/(${e.join("//")})`}}function Hi(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function xt(t){return Hi(t).replace(/%3B/gi,";")}function Ao(t){return encodeURI(t)}function Fn(t){return Hi(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function jt(t){return decodeURIComponent(t)}function Ni(t){return jt(t.replace(/\+/g,"%20"))}function Xi(t){return`${Fn(t.path)}${Do(t.parameters)}`}function Do(t){return Object.entries(t).map(([n,e])=>`;${Fn(n)}=${Fn(e)}`).join("")}function Oo(t){let n=Object.entries(t).map(([e,r])=>Array.isArray(r)?r.map(i=>`${xt(e)}=${xt(i)}`).join("&"):`${xt(e)}=${xt(r)}`).filter(e=>e);return n.length?`?${n.join("&")}`:""}var Po=/^[^\/()?;#]+/;function xn(t){let n=t.match(Po);return n?n[0]:""}var No=/^[^\/()?;=#]+/;function xo(t){let n=t.match(No);return n?n[0]:""}var Uo=/^[^=?&#]+/;function Lo(t){let n=t.match(Uo);return n?n[0]:""}var ko=/^[^&#]+/;function jo(t){let n=t.match(ko);return n?n[0]:""}var $n=class{constructor(n){this.url=n,this.remaining=n}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new b([],{}):new b([],this.parseChildren())}parseQueryParams(){let n={};if(this.consumeOptional("?"))do this.parseQueryParam(n);while(this.consumeOptional("&"));return n}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let n=[];for(this.peekStartsWith("(")||n.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),n.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1)),(n.length>0||Object.keys(e).length>0)&&(r[g]=new b(n,e)),r}parseSegment(){let n=xn(this.remaining);if(n===""&&this.peekStartsWith(";"))throw new E(4009,!1);return this.capture(n),new de(jt(n),this.parseMatrixParams())}parseMatrixParams(){let n={};for(;this.consumeOptional(";");)this.parseParam(n);return n}parseParam(n){let e=xo(this.remaining);if(!e)return;this.capture(e);let r="";if(this.consumeOptional("=")){let i=xn(this.remaining);i&&(r=i,this.capture(r))}n[jt(e)]=jt(r)}parseQueryParam(n){let e=Lo(this.remaining);if(!e)return;this.capture(e);let r="";if(this.consumeOptional("=")){let o=jo(this.remaining);o&&(r=o,this.capture(r))}let i=Ni(e),s=Ni(r);if(n.hasOwnProperty(i)){let o=n[i];Array.isArray(o)||(o=[o],n[i]=o),o.push(s)}else n[i]=s}parseParens(n){let e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let r=xn(this.remaining),i=this.remaining[r.length];if(i!=="/"&&i!==")"&&i!==";")throw new E(4010,!1);let s;r.indexOf(":")>-1?(s=r.slice(0,r.indexOf(":")),this.capture(s),this.capture(":")):n&&(s=g);let o=this.parseChildren();e[s]=Object.keys(o).length===1?o[g]:new b([],o),this.consumeOptional("//")}return e}peekStartsWith(n){return this.remaining.startsWith(n)}consumeOptional(n){return this.peekStartsWith(n)?(this.remaining=this.remaining.substring(n.length),!0):!1}capture(n){if(!this.consumeOptional(n))throw new E(4011,!1)}};function Ji(t){return t.segments.length>0?new b([],{[g]:t}):t}function Zi(t){let n={};for(let[r,i]of Object.entries(t.children)){let s=Zi(i);if(r===g&&s.segments.length===0&&s.hasChildren())for(let[o,c]of Object.entries(s.children))n[o]=c;else(s.segments.length>0||s.hasChildren())&&(n[r]=s)}let e=new b(t.segments,n);return _o(e)}function _o(t){if(t.numberOfChildren===1&&t.children[g]){let n=t.children[g];return new b(t.segments.concat(n.segments),n.children)}return t}function pe(t){return t instanceof X}function Fo(t,n,e=null,r=null){let i=Ki(t);return Yi(i,n,e,r)}function Ki(t){let n;function e(s){let o={};for(let a of s.children){let u=e(a);o[a.outlet]=u}let c=new b(s.url,o);return s===t&&(n=c),c}let r=e(t.root),i=Ji(r);return n??i}function Yi(t,n,e,r){let i=t;for(;i.parent;)i=i.parent;if(n.length===0)return Un(i,i,i,e,r);let s=$o(n);if(s.toRoot())return Un(i,i,new b([],{}),e,r);let o=zo(s,i,t),c=o.processChildren?Ke(o.segmentGroup,o.index,s.commands):es(o.segmentGroup,o.index,s.commands);return Un(i,o.segmentGroup,c,e,r)}function _t(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function et(t){return typeof t=="object"&&t!=null&&t.outlets}function Un(t,n,e,r,i){let s={};r&&Object.entries(r).forEach(([a,u])=>{s[a]=Array.isArray(u)?u.map(l=>`${l}`):`${u}`});let o;t===n?o=e:o=Qi(t,n,e);let c=Ji(Zi(o));return new X(c,s,i)}function Qi(t,n,e){let r={};return Object.entries(t.children).forEach(([i,s])=>{s===n?r[i]=e:r[i]=Qi(s,n,e)}),new b(t.segments,r)}var Ft=class{constructor(n,e,r){if(this.isAbsolute=n,this.numberOfDoubleDots=e,this.commands=r,n&&r.length>0&&_t(r[0]))throw new E(4003,!1);let i=r.find(et);if(i&&i!==Bi(r))throw new E(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function $o(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new Ft(!0,0,t);let n=0,e=!1,r=t.reduce((i,s,o)=>{if(typeof s=="object"&&s!=null){if(s.outlets){let c={};return Object.entries(s.outlets).forEach(([a,u])=>{c[a]=typeof u=="string"?u.split("/"):u}),[...i,{outlets:c}]}if(s.segmentPath)return[...i,s.segmentPath]}return typeof s!="string"?[...i,s]:o===0?(s.split("/").forEach((c,a)=>{a==0&&c==="."||(a==0&&c===""?e=!0:c===".."?n++:c!=""&&i.push(c))}),i):[...i,s]},[]);return new Ft(e,n,r)}var Te=class{constructor(n,e,r){this.segmentGroup=n,this.processChildren=e,this.index=r}};function zo(t,n,e){if(t.isAbsolute)return new Te(n,!0,0);if(!e)return new Te(n,!1,NaN);if(e.parent===null)return new Te(e,!0,0);let r=_t(t.commands[0])?0:1,i=e.segments.length-1+r;return Bo(e,i,t.numberOfDoubleDots)}function Bo(t,n,e){let r=t,i=n,s=e;for(;s>i;){if(s-=i,r=r.parent,!r)throw new E(4005,!1);i=r.segments.length}return new Te(r,!1,i-s)}function Vo(t){return et(t[0])?t[0].outlets:{[g]:t}}function es(t,n,e){if(t??=new b([],{}),t.segments.length===0&&t.hasChildren())return Ke(t,n,e);let r=qo(t,n,e),i=e.slice(r.commandIndex);if(r.match&&r.pathIndex<t.segments.length){let s=new b(t.segments.slice(0,r.pathIndex),{});return s.children[g]=new b(t.segments.slice(r.pathIndex),t.children),Ke(s,0,i)}else return r.match&&i.length===0?new b(t.segments,{}):r.match&&!t.hasChildren()?zn(t,n,e):r.match?Ke(t,0,i):zn(t,n,e)}function Ke(t,n,e){if(e.length===0)return new b(t.segments,{});{let r=Vo(e),i={};if(Object.keys(r).some(s=>s!==g)&&t.children[g]&&t.numberOfChildren===1&&t.children[g].segments.length===0){let s=Ke(t.children[g],n,e);return new b(t.segments,s.children)}return Object.entries(r).forEach(([s,o])=>{typeof o=="string"&&(o=[o]),o!==null&&(i[s]=es(t.children[s],n,o))}),Object.entries(t.children).forEach(([s,o])=>{r[s]===void 0&&(i[s]=o)}),new b(t.segments,i)}}function qo(t,n,e){let r=0,i=n,s={match:!1,pathIndex:0,commandIndex:0};for(;i<t.segments.length;){if(r>=e.length)return s;let o=t.segments[i],c=e[r];if(et(c))break;let a=`${c}`,u=r<e.length-1?e[r+1]:null;if(i>0&&a===void 0)break;if(a&&u&&typeof u=="object"&&u.outlets===void 0){if(!Ui(a,u,o))return s;r+=2}else{if(!Ui(a,{},o))return s;r++}i++}return{match:!0,pathIndex:i,commandIndex:r}}function zn(t,n,e){let r=t.segments.slice(0,n),i=0;for(;i<e.length;){let s=e[i];if(et(s)){let a=Go(s.outlets);return new b(r,a)}if(i===0&&_t(e[0])){let a=t.segments[n];r.push(new de(a.path,xi(e[0]))),i++;continue}let o=et(s)?s.outlets[g]:`${s}`,c=i<e.length-1?e[i+1]:null;o&&c&&_t(c)?(r.push(new de(o,xi(c))),i+=2):(r.push(new de(o,{})),i++)}return new b(r,{})}function Go(t){let n={};return Object.entries(t).forEach(([e,r])=>{typeof r=="string"&&(r=[r]),r!==null&&(n[e]=zn(new b([],{}),0,r))}),n}function xi(t){let n={};return Object.entries(t).forEach(([e,r])=>n[e]=`${r}`),n}function Ui(t,n,e){return t==e.path&&V(n,e.parameters)}var Ye="imperative",A=function(t){return t[t.NavigationStart=0]="NavigationStart",t[t.NavigationEnd=1]="NavigationEnd",t[t.NavigationCancel=2]="NavigationCancel",t[t.NavigationError=3]="NavigationError",t[t.RoutesRecognized=4]="RoutesRecognized",t[t.ResolveStart=5]="ResolveStart",t[t.ResolveEnd=6]="ResolveEnd",t[t.GuardsCheckStart=7]="GuardsCheckStart",t[t.GuardsCheckEnd=8]="GuardsCheckEnd",t[t.RouteConfigLoadStart=9]="RouteConfigLoadStart",t[t.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",t[t.ChildActivationStart=11]="ChildActivationStart",t[t.ChildActivationEnd=12]="ChildActivationEnd",t[t.ActivationStart=13]="ActivationStart",t[t.ActivationEnd=14]="ActivationEnd",t[t.Scroll=15]="Scroll",t[t.NavigationSkipped=16]="NavigationSkipped",t}(A||{}),$=class{constructor(n,e){this.id=n,this.url=e}},Me=class extends ${constructor(n,e,r="imperative",i=null){super(n,e),this.type=A.NavigationStart,this.navigationTrigger=r,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},q=class extends ${constructor(n,e,r){super(n,e),this.urlAfterRedirects=r,this.type=A.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},j=function(t){return t[t.Redirect=0]="Redirect",t[t.SupersededByNewNavigation=1]="SupersededByNewNavigation",t[t.NoDataFromResolver=2]="NoDataFromResolver",t[t.GuardRejected=3]="GuardRejected",t}(j||{}),$t=function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t}($t||{}),H=class extends ${constructor(n,e,r,i){super(n,e),this.reason=r,this.code=i,this.type=A.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},ie=class extends ${constructor(n,e,r,i){super(n,e),this.reason=r,this.code=i,this.type=A.NavigationSkipped}},tt=class extends ${constructor(n,e,r,i){super(n,e),this.error=r,this.target=i,this.type=A.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},zt=class extends ${constructor(n,e,r,i){super(n,e),this.urlAfterRedirects=r,this.state=i,this.type=A.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Bn=class extends ${constructor(n,e,r,i){super(n,e),this.urlAfterRedirects=r,this.state=i,this.type=A.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Vn=class extends ${constructor(n,e,r,i,s){super(n,e),this.urlAfterRedirects=r,this.state=i,this.shouldActivate=s,this.type=A.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},qn=class extends ${constructor(n,e,r,i){super(n,e),this.urlAfterRedirects=r,this.state=i,this.type=A.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Gn=class extends ${constructor(n,e,r,i){super(n,e),this.urlAfterRedirects=r,this.state=i,this.type=A.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Wn=class{constructor(n){this.route=n,this.type=A.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Hn=class{constructor(n){this.route=n,this.type=A.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Xn=class{constructor(n){this.snapshot=n,this.type=A.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Jn=class{constructor(n){this.snapshot=n,this.type=A.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Zn=class{constructor(n){this.snapshot=n,this.type=A.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Kn=class{constructor(n){this.snapshot=n,this.type=A.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Bt=class{constructor(n,e,r){this.routerEvent=n,this.position=e,this.anchor=r,this.type=A.Scroll}toString(){let n=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${n}')`}},nt=class{},Ae=class{constructor(n,e){this.url=n,this.navigationBehaviorOptions=e}};function Wo(t,n){return t.providers&&!t._injector&&(t._injector=mn(t.providers,n,`Route: ${t.path}`)),t._injector??n}function z(t){return t.outlet||g}function Ho(t,n){let e=t.filter(r=>z(r)===n);return e.push(...t.filter(r=>z(r)!==n)),e}function lt(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let n=t.parent;n;n=n.parent){let e=n.routeConfig;if(e?._loadedInjector)return e._loadedInjector;if(e?._injector)return e._injector}return null}var Yn=class{get injector(){return lt(this.route?.snapshot)??this.rootInjector}set injector(n){}constructor(n){this.rootInjector=n,this.outlet=null,this.route=null,this.children=new ht(this.rootInjector),this.attachRef=null}},ht=(()=>{class t{constructor(e){this.rootInjector=e,this.contexts=new Map}onChildOutletCreated(e,r){let i=this.getOrCreateContext(e);i.outlet=r,this.contexts.set(e,i)}onChildOutletDestroyed(e){let r=this.getContext(e);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){let e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let r=this.getContext(e);return r||(r=new Yn(this.rootInjector),this.contexts.set(e,r)),r}getContext(e){return this.contexts.get(e)||null}static{this.\u0275fac=function(r){return new(r||t)(m(ue))}}static{this.\u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),Vt=class{constructor(n){this._root=n}get root(){return this._root.value}parent(n){let e=this.pathFromRoot(n);return e.length>1?e[e.length-2]:null}children(n){let e=Qn(n,this._root);return e?e.children.map(r=>r.value):[]}firstChild(n){let e=Qn(n,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(n){let e=er(n,this._root);return e.length<2?[]:e[e.length-2].children.map(i=>i.value).filter(i=>i!==n)}pathFromRoot(n){return er(n,this._root).map(e=>e.value)}};function Qn(t,n){if(t===n.value)return n;for(let e of n.children){let r=Qn(t,e);if(r)return r}return null}function er(t,n){if(t===n.value)return[n];for(let e of n.children){let r=er(t,e);if(r.length)return r.unshift(n),r}return[]}var k=class{constructor(n,e){this.value=n,this.children=e}toString(){return`TreeNode(${this.value})`}};function Se(t){let n={};return t&&t.children.forEach(e=>n[e.value.outlet]=e),n}var qt=class extends Vt{constructor(n,e){super(n),this.snapshot=e,ur(this,n)}toString(){return this.snapshot.toString()}};function ts(t){let n=Xo(t),e=new _([new de("",{})]),r=new _({}),i=new _({}),s=new _({}),o=new _(""),c=new se(e,r,s,o,i,g,t,n.root);return c.snapshot=n.root,new qt(new k(c,[]),n)}function Xo(t){let n={},e={},r={},i="",s=new be([],n,r,i,e,g,t,null,{});return new Wt("",new k(s,[]))}var se=class{constructor(n,e,r,i,s,o,c,a){this.urlSubject=n,this.paramsSubject=e,this.queryParamsSubject=r,this.fragmentSubject=i,this.dataSubject=s,this.outlet=o,this.component=c,this._futureSnapshot=a,this.title=this.dataSubject?.pipe(S(u=>u[ct]))??p(void 0),this.url=n,this.params=e,this.queryParams=r,this.fragment=i,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(S(n=>Ee(n))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(S(n=>Ee(n))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function Gt(t,n,e="emptyOnly"){let r,{routeConfig:i}=t;return n!==null&&(e==="always"||i?.path===""||!n.component&&!n.routeConfig?.loadComponent)?r={params:f(f({},n.params),t.params),data:f(f({},n.data),t.data),resolve:f(f(f(f({},t.data),n.data),i?.data),t._resolvedData)}:r={params:f({},t.params),data:f({},t.data),resolve:f(f({},t.data),t._resolvedData??{})},i&&rs(i)&&(r.resolve[ct]=i.title),r}var be=class{get title(){return this.data?.[ct]}constructor(n,e,r,i,s,o,c,a,u){this.url=n,this.params=e,this.queryParams=r,this.fragment=i,this.data=s,this.outlet=o,this.component=c,this.routeConfig=a,this._resolve=u}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=Ee(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Ee(this.queryParams),this._queryParamMap}toString(){let n=this.url.map(r=>r.toString()).join("/"),e=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${n}', path:'${e}')`}},Wt=class extends Vt{constructor(n,e){super(e),this.url=n,ur(this,e)}toString(){return ns(this._root)}};function ur(t,n){n.value._routerState=t,n.children.forEach(e=>ur(t,e))}function ns(t){let n=t.children.length>0?` { ${t.children.map(ns).join(", ")} } `:"";return`${t.value}${n}`}function Ln(t){if(t.snapshot){let n=t.snapshot,e=t._futureSnapshot;t.snapshot=e,V(n.queryParams,e.queryParams)||t.queryParamsSubject.next(e.queryParams),n.fragment!==e.fragment&&t.fragmentSubject.next(e.fragment),V(n.params,e.params)||t.paramsSubject.next(e.params),So(n.url,e.url)||t.urlSubject.next(e.url),V(n.data,e.data)||t.dataSubject.next(e.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function tr(t,n){let e=V(t.params,n.params)&&Eo(t.url,n.url),r=!t.parent!=!n.parent;return e&&!r&&(!t.parent||tr(t.parent,n.parent))}function rs(t){return typeof t.title=="string"||t.title===null}var Jo=(()=>{class t{constructor(){this.activated=null,this._activatedRoute=null,this.name=g,this.activateEvents=new je,this.deactivateEvents=new je,this.attachEvents=new je,this.detachEvents=new je,this.parentContexts=d(ht),this.location=d(Gr),this.changeDetector=d(yn),this.inputBinder=d(Zt,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(e){if(e.name){let{firstChange:r,previousValue:i}=e.name;if(r)return;this.isTrackedInParentContexts(i)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(i)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(e){return this.parentContexts.getContext(e)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let e=this.parentContexts.getContext(this.name);e?.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new E(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new E(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new E(4012,!1);this.location.detach();let e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,r){this.activated=e,this._activatedRoute=r,this.location.insert(e.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(e.instance)}deactivate(){if(this.activated){let e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,r){if(this.isActivated)throw new E(4013,!1);this._activatedRoute=e;let i=this.location,o=e.snapshot.component,c=this.parentContexts.getOrCreateContext(this.name).children,a=new nr(e,c,i.injector);this.activated=i.createComponent(o,{index:i.length,injector:a,environmentInjector:r}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275dir=un({type:t,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[ln]})}}return t})(),nr=class t{__ngOutletInjector(n){return new t(this.route,this.childContexts,n)}constructor(n,e,r){this.route=n,this.childContexts=e,this.parent=r}get(n,e){return n===se?this.route:n===ht?this.childContexts:this.parent.get(n,e)}},Zt=new C(""),Li=(()=>{class t{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(e){this.unsubscribeFromRouteData(e),this.subscribeToRouteData(e)}unsubscribeFromRouteData(e){this.outletDataSubscriptions.get(e)?.unsubscribe(),this.outletDataSubscriptions.delete(e)}subscribeToRouteData(e){let{activatedRoute:r}=e,i=gt([r.queryParams,r.params,r.data]).pipe(L(([s,o,c],a)=>(c=f(f(f({},s),o),c),a===0?p(c):Promise.resolve(c)))).subscribe(s=>{if(!e.isActivated||!e.activatedComponentRef||e.activatedRoute!==r||r.component===null){this.unsubscribeFromRouteData(e);return}let o=ti(r.component);if(!o){this.unsubscribeFromRouteData(e);return}for(let{templateName:c}of o.inputs)e.activatedComponentRef.setInput(c,s[c])});this.outletDataSubscriptions.set(e,i)}static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275prov=R({token:t,factory:t.\u0275fac})}}return t})();function Zo(t,n,e){let r=rt(t,n._root,e?e._root:void 0);return new qt(r,n)}function rt(t,n,e){if(e&&t.shouldReuseRoute(n.value,e.value.snapshot)){let r=e.value;r._futureSnapshot=n.value;let i=Ko(t,n,e);return new k(r,i)}else{if(t.shouldAttach(n.value)){let s=t.retrieve(n.value);if(s!==null){let o=s.route;return o.value._futureSnapshot=n.value,o.children=n.children.map(c=>rt(t,c)),o}}let r=Yo(n.value),i=n.children.map(s=>rt(t,s));return new k(r,i)}}function Ko(t,n,e){return n.children.map(r=>{for(let i of e.children)if(t.shouldReuseRoute(r.value,i.value.snapshot))return rt(t,r,i);return rt(t,r)})}function Yo(t){return new se(new _(t.url),new _(t.params),new _(t.queryParams),new _(t.fragment),new _(t.data),t.outlet,t.component,t)}var it=class{constructor(n,e){this.redirectTo=n,this.navigationBehaviorOptions=e}},is="ngNavigationCancelingError";function Ht(t,n){let{redirectTo:e,navigationBehaviorOptions:r}=pe(n)?{redirectTo:n,navigationBehaviorOptions:void 0}:n,i=ss(!1,j.Redirect);return i.url=e,i.navigationBehaviorOptions=r,i}function ss(t,n){let e=new Error(`NavigationCancelingError: ${t||""}`);return e[is]=!0,e.cancellationCode=n,e}function Qo(t){return os(t)&&pe(t.url)}function os(t){return!!t&&t[is]}var ea=(t,n,e,r)=>S(i=>(new rr(n,i.targetRouterState,i.currentRouterState,e,r).activate(t),i)),rr=class{constructor(n,e,r,i,s){this.routeReuseStrategy=n,this.futureState=e,this.currState=r,this.forwardEvent=i,this.inputBindingEnabled=s}activate(n){let e=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,r,n),Ln(this.futureState.root),this.activateChildRoutes(e,r,n)}deactivateChildRoutes(n,e,r){let i=Se(e);n.children.forEach(s=>{let o=s.value.outlet;this.deactivateRoutes(s,i[o],r),delete i[o]}),Object.values(i).forEach(s=>{this.deactivateRouteAndItsChildren(s,r)})}deactivateRoutes(n,e,r){let i=n.value,s=e?e.value:null;if(i===s)if(i.component){let o=r.getContext(i.outlet);o&&this.deactivateChildRoutes(n,e,o.children)}else this.deactivateChildRoutes(n,e,r);else s&&this.deactivateRouteAndItsChildren(e,r)}deactivateRouteAndItsChildren(n,e){n.value.component&&this.routeReuseStrategy.shouldDetach(n.value.snapshot)?this.detachAndStoreRouteSubtree(n,e):this.deactivateRouteAndOutlet(n,e)}detachAndStoreRouteSubtree(n,e){let r=e.getContext(n.value.outlet),i=r&&n.value.component?r.children:e,s=Se(n);for(let o of Object.values(s))this.deactivateRouteAndItsChildren(o,i);if(r&&r.outlet){let o=r.outlet.detach(),c=r.children.onOutletDeactivated();this.routeReuseStrategy.store(n.value.snapshot,{componentRef:o,route:n,contexts:c})}}deactivateRouteAndOutlet(n,e){let r=e.getContext(n.value.outlet),i=r&&n.value.component?r.children:e,s=Se(n);for(let o of Object.values(s))this.deactivateRouteAndItsChildren(o,i);r&&(r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated()),r.attachRef=null,r.route=null)}activateChildRoutes(n,e,r){let i=Se(e);n.children.forEach(s=>{this.activateRoutes(s,i[s.value.outlet],r),this.forwardEvent(new Kn(s.value.snapshot))}),n.children.length&&this.forwardEvent(new Jn(n.value.snapshot))}activateRoutes(n,e,r){let i=n.value,s=e?e.value:null;if(Ln(i),i===s)if(i.component){let o=r.getOrCreateContext(i.outlet);this.activateChildRoutes(n,e,o.children)}else this.activateChildRoutes(n,e,r);else if(i.component){let o=r.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){let c=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),o.children.onOutletReAttached(c.contexts),o.attachRef=c.componentRef,o.route=c.route.value,o.outlet&&o.outlet.attach(c.componentRef,c.route.value),Ln(c.route.value),this.activateChildRoutes(n,null,o.children)}else o.attachRef=null,o.route=i,o.outlet&&o.outlet.activateWith(i,o.injector),this.activateChildRoutes(n,null,o.children)}else this.activateChildRoutes(n,null,r)}},Xt=class{constructor(n){this.path=n,this.route=this.path[this.path.length-1]}},Ce=class{constructor(n,e){this.component=n,this.route=e}};function ta(t,n,e){let r=t._root,i=n?n._root:null;return Je(r,i,e,[r.value])}function na(t){let n=t.routeConfig?t.routeConfig.canActivateChild:null;return!n||n.length===0?null:{node:t,guards:n}}function Oe(t,n){let e=Symbol(),r=n.get(t,e);return r===e?typeof t=="function"&&!Ir(t)?t:n.get(t):r}function Je(t,n,e,r,i={canDeactivateChecks:[],canActivateChecks:[]}){let s=Se(n);return t.children.forEach(o=>{ra(o,s[o.value.outlet],e,r.concat([o.value]),i),delete s[o.value.outlet]}),Object.entries(s).forEach(([o,c])=>Qe(c,e.getContext(o),i)),i}function ra(t,n,e,r,i={canDeactivateChecks:[],canActivateChecks:[]}){let s=t.value,o=n?n.value:null,c=e?e.getContext(t.value.outlet):null;if(o&&s.routeConfig===o.routeConfig){let a=ia(o,s,s.routeConfig.runGuardsAndResolvers);a?i.canActivateChecks.push(new Xt(r)):(s.data=o.data,s._resolvedData=o._resolvedData),s.component?Je(t,n,c?c.children:null,r,i):Je(t,n,e,r,i),a&&c&&c.outlet&&c.outlet.isActivated&&i.canDeactivateChecks.push(new Ce(c.outlet.component,o))}else o&&Qe(n,c,i),i.canActivateChecks.push(new Xt(r)),s.component?Je(t,null,c?c.children:null,r,i):Je(t,null,e,r,i);return i}function ia(t,n,e){if(typeof e=="function")return e(t,n);switch(e){case"pathParamsChange":return!fe(t.url,n.url);case"pathParamsOrQueryParamsChange":return!fe(t.url,n.url)||!V(t.queryParams,n.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!tr(t,n)||!V(t.queryParams,n.queryParams);case"paramsChange":default:return!tr(t,n)}}function Qe(t,n,e){let r=Se(t),i=t.value;Object.entries(r).forEach(([s,o])=>{i.component?n?Qe(o,n.children.getContext(s),e):Qe(o,null,e):Qe(o,n,e)}),i.component?n&&n.outlet&&n.outlet.isActivated?e.canDeactivateChecks.push(new Ce(n.outlet.component,i)):e.canDeactivateChecks.push(new Ce(null,i)):e.canDeactivateChecks.push(new Ce(null,i))}function dt(t){return typeof t=="function"}function sa(t){return typeof t=="boolean"}function oa(t){return t&&dt(t.canLoad)}function aa(t){return t&&dt(t.canActivate)}function ca(t){return t&&dt(t.canActivateChild)}function ua(t){return t&&dt(t.canDeactivate)}function la(t){return t&&dt(t.canMatch)}function as(t){return t instanceof wr||t?.name==="EmptyError"}var Ut=Symbol("INITIAL_VALUE");function De(){return L(t=>gt(t.map(n=>n.pipe(me(1),Cr(Ut)))).pipe(S(n=>{for(let e of n)if(e!==!0){if(e===Ut)return Ut;if(e===!1||ha(e))return e}return!0}),G(n=>n!==Ut),me(1)))}function ha(t){return pe(t)||t instanceof it}function da(t,n){return U(e=>{let{targetSnapshot:r,currentSnapshot:i,guards:{canActivateChecks:s,canDeactivateChecks:o}}=e;return o.length===0&&s.length===0?p(O(f({},e),{guardsResult:!0})):fa(o,r,i,t).pipe(U(c=>c&&sa(c)?pa(r,s,t,n):p(c)),S(c=>O(f({},e),{guardsResult:c})))})}function fa(t,n,e,r){return P(t).pipe(U(i=>wa(i.component,i.route,e,n,r)),ee(i=>i!==!0,!0))}function pa(t,n,e,r){return P(n).pipe(Q(i=>Rr(ma(i.route.parent,r),ga(i.route,r),ya(t,i.path,e),va(t,i.route,e))),ee(i=>i!==!0,!0))}function ga(t,n){return t!==null&&n&&n(new Zn(t)),p(!0)}function ma(t,n){return t!==null&&n&&n(new Xn(t)),p(!0)}function va(t,n,e){let r=n.routeConfig?n.routeConfig.canActivate:null;if(!r||r.length===0)return p(!0);let i=r.map(s=>rn(()=>{let o=lt(n)??e,c=Oe(s,o),a=aa(c)?c.canActivate(n,t):F(o,()=>c(n,t));return oe(a).pipe(ee())}));return p(i).pipe(De())}function ya(t,n,e){let r=n[n.length-1],s=n.slice(0,n.length-1).reverse().map(o=>na(o)).filter(o=>o!==null).map(o=>rn(()=>{let c=o.guards.map(a=>{let u=lt(o.node)??e,l=Oe(a,u),h=ca(l)?l.canActivateChild(r,t):F(u,()=>l(r,t));return oe(h).pipe(ee())});return p(c).pipe(De())}));return p(s).pipe(De())}function wa(t,n,e,r,i){let s=n&&n.routeConfig?n.routeConfig.canDeactivate:null;if(!s||s.length===0)return p(!0);let o=s.map(c=>{let a=lt(n)??i,u=Oe(c,a),l=ua(u)?u.canDeactivate(t,n,e,r):F(a,()=>u(t,n,e,r));return oe(l).pipe(ee())});return p(o).pipe(De())}function Ra(t,n,e,r){let i=n.canLoad;if(i===void 0||i.length===0)return p(!0);let s=i.map(o=>{let c=Oe(o,t),a=oa(c)?c.canLoad(n,e):F(t,()=>c(n,e));return oe(a)});return p(s).pipe(De(),cs(r))}function cs(t){return vr(D(n=>{if(typeof n!="boolean")throw Ht(t,n)}),S(n=>n===!0))}function Sa(t,n,e,r){let i=n.canMatch;if(!i||i.length===0)return p(!0);let s=i.map(o=>{let c=Oe(o,t),a=la(c)?c.canMatch(n,e):F(t,()=>c(n,e));return oe(a)});return p(s).pipe(De(),cs(r))}var st=class{constructor(n){this.segmentGroup=n||null}},ot=class extends Error{constructor(n){super(),this.urlTree=n}};function Re(t){return xe(new st(t))}function Ta(t){return xe(new E(4e3,!1))}function ba(t){return xe(ss(!1,j.GuardRejected))}var ir=class{constructor(n,e){this.urlSerializer=n,this.urlTree=e}lineralizeSegments(n,e){let r=[],i=e.root;for(;;){if(r=r.concat(i.segments),i.numberOfChildren===0)return p(r);if(i.numberOfChildren>1||!i.children[g])return Ta(`${n.redirectTo}`);i=i.children[g]}}applyRedirectCommands(n,e,r,i,s){if(typeof e!="string"){let c=e,{queryParams:a,fragment:u,routeConfig:l,url:h,outlet:y,params:T,data:M,title:w}=i,v=F(s,()=>c({params:T,data:M,queryParams:a,fragment:u,routeConfig:l,url:h,outlet:y,title:w}));if(v instanceof X)throw new ot(v);e=v}let o=this.applyRedirectCreateUrlTree(e,this.urlSerializer.parse(e),n,r);if(e[0]==="/")throw new ot(o);return o}applyRedirectCreateUrlTree(n,e,r,i){let s=this.createSegmentGroup(n,e.root,r,i);return new X(s,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(n,e){let r={};return Object.entries(n).forEach(([i,s])=>{if(typeof s=="string"&&s[0]===":"){let c=s.substring(1);r[i]=e[c]}else r[i]=s}),r}createSegmentGroup(n,e,r,i){let s=this.createSegments(n,e.segments,r,i),o={};return Object.entries(e.children).forEach(([c,a])=>{o[c]=this.createSegmentGroup(n,a,r,i)}),new b(s,o)}createSegments(n,e,r,i){return e.map(s=>s.path[0]===":"?this.findPosParam(n,s,i):this.findOrReturn(s,r))}findPosParam(n,e,r){let i=r[e.path.substring(1)];if(!i)throw new E(4001,!1);return i}findOrReturn(n,e){let r=0;for(let i of e){if(i.path===n.path)return e.splice(r),i;r++}return n}},sr={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Ca(t,n,e,r,i){let s=us(t,n,e);return s.matched?(r=Wo(n,r),Sa(r,n,e,i).pipe(S(o=>o===!0?s:f({},sr)))):p(s)}function us(t,n,e){if(n.path==="**")return Ea(e);if(n.path==="")return n.pathMatch==="full"&&(t.hasChildren()||e.length>0)?f({},sr):{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};let i=(n.matcher||Ro)(e,t,n);if(!i)return f({},sr);let s={};Object.entries(i.posParams??{}).forEach(([c,a])=>{s[c]=a.path});let o=i.consumed.length>0?f(f({},s),i.consumed[i.consumed.length-1].parameters):s;return{matched:!0,consumedSegments:i.consumed,remainingSegments:e.slice(i.consumed.length),parameters:o,positionalParamSegments:i.posParams??{}}}function Ea(t){return{matched:!0,parameters:t.length>0?Bi(t).parameters:{},consumedSegments:t,remainingSegments:[],positionalParamSegments:{}}}function ki(t,n,e,r){return e.length>0&&Aa(t,e,r)?{segmentGroup:new b(n,Ma(r,new b(e,t.children))),slicedSegments:[]}:e.length===0&&Da(t,e,r)?{segmentGroup:new b(t.segments,Ia(t,e,r,t.children)),slicedSegments:e}:{segmentGroup:new b(t.segments,t.children),slicedSegments:e}}function Ia(t,n,e,r){let i={};for(let s of e)if(Kt(t,n,s)&&!r[z(s)]){let o=new b([],{});i[z(s)]=o}return f(f({},r),i)}function Ma(t,n){let e={};e[g]=n;for(let r of t)if(r.path===""&&z(r)!==g){let i=new b([],{});e[z(r)]=i}return e}function Aa(t,n,e){return e.some(r=>Kt(t,n,r)&&z(r)!==g)}function Da(t,n,e){return e.some(r=>Kt(t,n,r))}function Kt(t,n,e){return(t.hasChildren()||n.length>0)&&e.pathMatch==="full"?!1:e.path===""}function Oa(t,n,e){return n.length===0&&!t.children[e]}var or=class{};function Pa(t,n,e,r,i,s,o="emptyOnly"){return new ar(t,n,e,r,i,o,s).recognize()}var Na=31,ar=class{constructor(n,e,r,i,s,o,c){this.injector=n,this.configLoader=e,this.rootComponentType=r,this.config=i,this.urlTree=s,this.paramsInheritanceStrategy=o,this.urlSerializer=c,this.applyRedirects=new ir(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(n){return new E(4002,`'${n.segmentGroup}'`)}recognize(){let n=ki(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(n).pipe(S(({children:e,rootSnapshot:r})=>{let i=new k(r,e),s=new Wt("",i),o=Fo(r,[],this.urlTree.queryParams,this.urlTree.fragment);return o.queryParams=this.urlTree.queryParams,s.url=this.urlSerializer.serialize(o),{state:s,tree:o}}))}match(n){let e=new be([],Object.freeze({}),Object.freeze(f({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),g,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,n,g,e).pipe(S(r=>({children:r,rootSnapshot:e})),ge(r=>{if(r instanceof ot)return this.urlTree=r.urlTree,this.match(r.urlTree.root);throw r instanceof st?this.noMatchError(r):r}))}processSegmentGroup(n,e,r,i,s){return r.segments.length===0&&r.hasChildren()?this.processChildren(n,e,r,s):this.processSegment(n,e,r,r.segments,i,!0,s).pipe(S(o=>o instanceof k?[o]:[]))}processChildren(n,e,r,i){let s=[];for(let o of Object.keys(r.children))o==="primary"?s.unshift(o):s.push(o);return P(s).pipe(Q(o=>{let c=r.children[o],a=Ho(e,o);return this.processSegmentGroup(n,a,c,o,i)}),br((o,c)=>(o.push(...c),o)),sn(null),Tr(),U(o=>{if(o===null)return Re(r);let c=ls(o);return xa(c),p(c)}))}processSegment(n,e,r,i,s,o,c){return P(e).pipe(Q(a=>this.processSegmentAgainstRoute(a._injector??n,e,a,r,i,s,o,c).pipe(ge(u=>{if(u instanceof st)return p(null);throw u}))),ee(a=>!!a),ge(a=>{if(as(a))return Oa(r,i,s)?p(new or):Re(r);throw a}))}processSegmentAgainstRoute(n,e,r,i,s,o,c,a){return z(r)!==o&&(o===g||!Kt(i,s,r))?Re(i):r.redirectTo===void 0?this.matchSegmentAgainstRoute(n,i,r,s,o,a):this.allowRedirects&&c?this.expandSegmentAgainstRouteUsingRedirect(n,i,e,r,s,o,a):Re(i)}expandSegmentAgainstRouteUsingRedirect(n,e,r,i,s,o,c){let{matched:a,parameters:u,consumedSegments:l,positionalParamSegments:h,remainingSegments:y}=us(e,i,s);if(!a)return Re(e);typeof i.redirectTo=="string"&&i.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>Na&&(this.allowRedirects=!1));let T=new be(s,u,Object.freeze(f({},this.urlTree.queryParams)),this.urlTree.fragment,ji(i),z(i),i.component??i._loadedComponent??null,i,_i(i)),M=Gt(T,c,this.paramsInheritanceStrategy);T.params=Object.freeze(M.params),T.data=Object.freeze(M.data);let w=this.applyRedirects.applyRedirectCommands(l,i.redirectTo,h,T,n);return this.applyRedirects.lineralizeSegments(i,w).pipe(U(v=>this.processSegment(n,r,e,v.concat(y),o,!1,c)))}matchSegmentAgainstRoute(n,e,r,i,s,o){let c=Ca(e,r,i,n,this.urlSerializer);return r.path==="**"&&(e.children={}),c.pipe(L(a=>a.matched?(n=r._injector??n,this.getChildConfig(n,r,i).pipe(L(({routes:u})=>{let l=r._loadedInjector??n,{parameters:h,consumedSegments:y,remainingSegments:T}=a,M=new be(y,h,Object.freeze(f({},this.urlTree.queryParams)),this.urlTree.fragment,ji(r),z(r),r.component??r._loadedComponent??null,r,_i(r)),w=Gt(M,o,this.paramsInheritanceStrategy);M.params=Object.freeze(w.params),M.data=Object.freeze(w.data);let{segmentGroup:v,slicedSegments:N}=ki(e,y,T,u);if(N.length===0&&v.hasChildren())return this.processChildren(l,u,v,M).pipe(S(I=>new k(M,I)));if(u.length===0&&N.length===0)return p(new k(M,[]));let Z=z(r)===s;return this.processSegment(l,u,v,N,Z?g:s,!0,M).pipe(S(I=>new k(M,I instanceof k?[I]:[])))}))):Re(e)))}getChildConfig(n,e,r){return e.children?p({routes:e.children,injector:n}):e.loadChildren?e._loadedRoutes!==void 0?p({routes:e._loadedRoutes,injector:e._loadedInjector}):Ra(n,e,r,this.urlSerializer).pipe(U(i=>i?this.configLoader.loadChildren(n,e).pipe(D(s=>{e._loadedRoutes=s.routes,e._loadedInjector=s.injector})):ba(e))):p({routes:[],injector:n})}};function xa(t){t.sort((n,e)=>n.value.outlet===g?-1:e.value.outlet===g?1:n.value.outlet.localeCompare(e.value.outlet))}function Ua(t){let n=t.value.routeConfig;return n&&n.path===""}function ls(t){let n=[],e=new Set;for(let r of t){if(!Ua(r)){n.push(r);continue}let i=n.find(s=>r.value.routeConfig===s.value.routeConfig);i!==void 0?(i.children.push(...r.children),e.add(i)):n.push(r)}for(let r of e){let i=ls(r.children);n.push(new k(r.value,i))}return n.filter(r=>!e.has(r))}function ji(t){return t.data||{}}function _i(t){return t.resolve||{}}function La(t,n,e,r,i,s){return U(o=>Pa(t,n,e,r,o.extractedUrl,i,s).pipe(S(({state:c,tree:a})=>O(f({},o),{targetSnapshot:c,urlAfterRedirects:a}))))}function ka(t,n){return U(e=>{let{targetSnapshot:r,guards:{canActivateChecks:i}}=e;if(!i.length)return p(e);let s=new Set(i.map(a=>a.route)),o=new Set;for(let a of s)if(!o.has(a))for(let u of hs(a))o.add(u);let c=0;return P(o).pipe(Q(a=>s.has(a)?ja(a,r,t,n):(a.data=Gt(a,a.parent,t).resolve,p(void 0))),D(()=>c++),on(1),U(a=>c===o.size?p(e):Y))})}function hs(t){let n=t.children.map(e=>hs(e)).flat();return[t,...n]}function ja(t,n,e,r){let i=t.routeConfig,s=t._resolve;return i?.title!==void 0&&!rs(i)&&(s[ct]=i.title),_a(s,t,n,r).pipe(S(o=>(t._resolvedData=o,t.data=Gt(t,t.parent,e).resolve,null)))}function _a(t,n,e,r){let i=_n(t);if(i.length===0)return p({});let s={};return P(i).pipe(U(o=>Fa(t[o],n,e,r).pipe(ee(),D(c=>{if(c instanceof it)throw Ht(new Ie,c);s[o]=c}))),on(1),Sr(s),ge(o=>as(o)?Y:xe(o)))}function Fa(t,n,e,r){let i=lt(n)??r,s=Oe(t,i),o=s.resolve?s.resolve(n,e):F(i,()=>s(n,e));return oe(o)}function kn(t){return L(n=>{let e=t(n);return e?P(e).pipe(S(()=>n)):p(n)})}var ds=(()=>{class t{buildTitle(e){let r,i=e.root;for(;i!==void 0;)r=this.getResolvedTitleForRoute(i)??r,i=i.children.find(s=>s.outlet===g);return r}getResolvedTitleForRoute(e){return e.data[ct]}static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275prov=R({token:t,factory:()=>d($a),providedIn:"root"})}}return t})(),$a=(()=>{class t extends ds{constructor(e){super(),this.title=e}updateTitle(e){let r=this.buildTitle(e);r!==void 0&&this.title.setTitle(r)}static{this.\u0275fac=function(r){return new(r||t)(m(Oi))}}static{this.\u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),ft=new C("",{providedIn:"root",factory:()=>({})}),za=(()=>{class t{static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275cmp=Ar({type:t,selectors:[["ng-component"]],standalone:!0,features:[Yr],decls:1,vars:0,template:function(r,i){r&1&&Zr(0,"router-outlet")},dependencies:[Jo],encapsulation:2})}}return t})();function lr(t){let n=t.children&&t.children.map(lr),e=n?O(f({},t),{children:n}):f({},t);return!e.component&&!e.loadComponent&&(n||e.loadChildren)&&e.outlet&&e.outlet!==g&&(e.component=za),e}var at=new C(""),hr=(()=>{class t{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=d(St)}loadComponent(e){if(this.componentLoaders.get(e))return this.componentLoaders.get(e);if(e._loadedComponent)return p(e._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(e);let r=oe(e.loadComponent()).pipe(S(fs),D(s=>{this.onLoadEndListener&&this.onLoadEndListener(e),e._loadedComponent=s}),ce(()=>{this.componentLoaders.delete(e)})),i=new tn(r,()=>new K).pipe(en());return this.componentLoaders.set(e,i),i}loadChildren(e,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return p({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);let s=Ba(r,this.compiler,e,this.onLoadEndListener).pipe(ce(()=>{this.childrenLoaders.delete(r)})),o=new tn(s,()=>new K).pipe(en());return this.childrenLoaders.set(r,o),o}static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function Ba(t,n,e,r){return oe(t.loadChildren()).pipe(S(fs),U(i=>i instanceof Hr||Array.isArray(i)?p(i):P(n.compileModuleAsync(i))),S(i=>{r&&r(t);let s,o,c=!1;return Array.isArray(i)?(o=i,c=!0):(s=i.create(e).injector,o=s.get(at,[],{optional:!0,self:!0}).flat()),{routes:o.map(lr),injector:s}}))}function Va(t){return t&&typeof t=="object"&&"default"in t}function fs(t){return Va(t)?t.default:t}var dr=(()=>{class t{static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275prov=R({token:t,factory:()=>d(qa),providedIn:"root"})}}return t})(),qa=(()=>{class t{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,r){return e}static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),ps=new C(""),gs=new C("");function Ga(t,n,e){let r=t.get(gs),i=t.get(x);return t.get(B).runOutsideAngular(()=>{if(!i.startViewTransition||r.skipNextTransition)return r.skipNextTransition=!1,new Promise(u=>setTimeout(u));let s,o=new Promise(u=>{s=u}),c=i.startViewTransition(()=>(s(),Wa(t))),{onViewTransitionCreated:a}=r;return a&&F(t,()=>a({transition:c,from:n,to:e})),o})}function Wa(t){return new Promise(n=>{Xr({read:()=>setTimeout(n)},{injector:t})})}var Ha=new C(""),fr=(()=>{class t{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new K,this.transitionAbortSubject=new K,this.configLoader=d(hr),this.environmentInjector=d(ue),this.urlSerializer=d(ut),this.rootContexts=d(ht),this.location=d($e),this.inputBindingEnabled=d(Zt,{optional:!0})!==null,this.titleStrategy=d(ds),this.options=d(ft,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=d(dr),this.createViewTransition=d(ps,{optional:!0}),this.navigationErrorHandler=d(Ha,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>p(void 0),this.rootComponentType=null;let e=i=>this.events.next(new Wn(i)),r=i=>this.events.next(new Hn(i));this.configLoader.onLoadEndListener=r,this.configLoader.onLoadStartListener=e}complete(){this.transitions?.complete()}handleNavigationRequest(e){let r=++this.navigationId;this.transitions?.next(O(f(f({},this.transitions.value),e),{id:r}))}setupNavigations(e,r,i){return this.transitions=new _({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:Ye,restoredState:null,currentSnapshot:i.snapshot,targetSnapshot:null,currentRouterState:i,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(G(s=>s.id!==0),S(s=>O(f({},s),{extractedUrl:this.urlHandlingStrategy.extract(s.rawUrl)})),L(s=>{let o=!1,c=!1;return p(s).pipe(L(a=>{if(this.navigationId>s.id)return this.cancelNavigationTransition(s,"",j.SupersededByNewNavigation),Y;this.currentTransition=s,this.currentNavigation={id:a.id,initialUrl:a.rawUrl,extractedUrl:a.extractedUrl,targetBrowserUrl:typeof a.extras.browserUrl=="string"?this.urlSerializer.parse(a.extras.browserUrl):a.extras.browserUrl,trigger:a.source,extras:a.extras,previousNavigation:this.lastSuccessfulNavigation?O(f({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let u=!e.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),l=a.extras.onSameUrlNavigation??e.onSameUrlNavigation;if(!u&&l!=="reload"){let h="";return this.events.next(new ie(a.id,this.urlSerializer.serialize(a.rawUrl),h,$t.IgnoredSameUrlNavigation)),a.resolve(!1),Y}if(this.urlHandlingStrategy.shouldProcessUrl(a.rawUrl))return p(a).pipe(L(h=>{let y=this.transitions?.getValue();return this.events.next(new Me(h.id,this.urlSerializer.serialize(h.extractedUrl),h.source,h.restoredState)),y!==this.transitions?.getValue()?Y:Promise.resolve(h)}),La(this.environmentInjector,this.configLoader,this.rootComponentType,e.config,this.urlSerializer,this.paramsInheritanceStrategy),D(h=>{s.targetSnapshot=h.targetSnapshot,s.urlAfterRedirects=h.urlAfterRedirects,this.currentNavigation=O(f({},this.currentNavigation),{finalUrl:h.urlAfterRedirects});let y=new zt(h.id,this.urlSerializer.serialize(h.extractedUrl),this.urlSerializer.serialize(h.urlAfterRedirects),h.targetSnapshot);this.events.next(y)}));if(u&&this.urlHandlingStrategy.shouldProcessUrl(a.currentRawUrl)){let{id:h,extractedUrl:y,source:T,restoredState:M,extras:w}=a,v=new Me(h,this.urlSerializer.serialize(y),T,M);this.events.next(v);let N=ts(this.rootComponentType).snapshot;return this.currentTransition=s=O(f({},a),{targetSnapshot:N,urlAfterRedirects:y,extras:O(f({},w),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=y,p(s)}else{let h="";return this.events.next(new ie(a.id,this.urlSerializer.serialize(a.extractedUrl),h,$t.IgnoredByUrlHandlingStrategy)),a.resolve(!1),Y}}),D(a=>{let u=new Bn(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(u)}),S(a=>(this.currentTransition=s=O(f({},a),{guards:ta(a.targetSnapshot,a.currentSnapshot,this.rootContexts)}),s)),da(this.environmentInjector,a=>this.events.next(a)),D(a=>{if(s.guardsResult=a.guardsResult,a.guardsResult&&typeof a.guardsResult!="boolean")throw Ht(this.urlSerializer,a.guardsResult);let u=new Vn(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot,!!a.guardsResult);this.events.next(u)}),G(a=>a.guardsResult?!0:(this.cancelNavigationTransition(a,"",j.GuardRejected),!1)),kn(a=>{if(a.guards.canActivateChecks.length)return p(a).pipe(D(u=>{let l=new qn(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(l)}),L(u=>{let l=!1;return p(u).pipe(ka(this.paramsInheritanceStrategy,this.environmentInjector),D({next:()=>l=!0,complete:()=>{l||this.cancelNavigationTransition(u,"",j.NoDataFromResolver)}}))}),D(u=>{let l=new Gn(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(l)}))}),kn(a=>{let u=l=>{let h=[];l.routeConfig?.loadComponent&&!l.routeConfig._loadedComponent&&h.push(this.configLoader.loadComponent(l.routeConfig).pipe(D(y=>{l.component=y}),S(()=>{})));for(let y of l.children)h.push(...u(y));return h};return gt(u(a.targetSnapshot.root)).pipe(sn(null),me(1))}),kn(()=>this.afterPreactivation()),L(()=>{let{currentSnapshot:a,targetSnapshot:u}=s,l=this.createViewTransition?.(this.environmentInjector,a.root,u.root);return l?P(l).pipe(S(()=>s)):p(s)}),S(a=>{let u=Zo(e.routeReuseStrategy,a.targetSnapshot,a.currentRouterState);return this.currentTransition=s=O(f({},a),{targetRouterState:u}),this.currentNavigation.targetRouterState=u,s}),D(()=>{this.events.next(new nt)}),ea(this.rootContexts,e.routeReuseStrategy,a=>this.events.next(a),this.inputBindingEnabled),me(1),D({next:a=>{o=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new q(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects))),this.titleStrategy?.updateTitle(a.targetRouterState.snapshot),a.resolve(!0)},complete:()=>{o=!0}}),Er(this.transitionAbortSubject.pipe(D(a=>{throw a}))),ce(()=>{!o&&!c&&this.cancelNavigationTransition(s,"",j.SupersededByNewNavigation),this.currentTransition?.id===s.id&&(this.currentNavigation=null,this.currentTransition=null)}),ge(a=>{if(c=!0,os(a))this.events.next(new H(s.id,this.urlSerializer.serialize(s.extractedUrl),a.message,a.cancellationCode)),Qo(a)?this.events.next(new Ae(a.url,a.navigationBehaviorOptions)):s.resolve(!1);else{let u=new tt(s.id,this.urlSerializer.serialize(s.extractedUrl),a,s.targetSnapshot??void 0);try{let l=F(this.environmentInjector,()=>this.navigationErrorHandler?.(u));if(l instanceof it){let{message:h,cancellationCode:y}=Ht(this.urlSerializer,l);this.events.next(new H(s.id,this.urlSerializer.serialize(s.extractedUrl),h,y)),this.events.next(new Ae(l.redirectTo,l.navigationBehaviorOptions))}else{this.events.next(u);let h=e.errorHandler(a);s.resolve(!!h)}}catch(l){this.options.resolveNavigationPromiseOnError?s.resolve(!1):s.reject(l)}}return Y}))}))}cancelNavigationTransition(e,r,i){let s=new H(e.id,this.urlSerializer.serialize(e.extractedUrl),r,i);this.events.next(s),e.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let e=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),r=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return e.toString()!==r?.toString()&&!this.currentNavigation?.extras.skipLocationChange}static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function Xa(t){return t!==Ye}var Ja=(()=>{class t{static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275prov=R({token:t,factory:()=>d(Za),providedIn:"root"})}}return t})(),cr=class{shouldDetach(n){return!1}store(n,e){}shouldAttach(n){return!1}retrieve(n){return null}shouldReuseRoute(n,e){return n.routeConfig===e.routeConfig}},Za=(()=>{class t extends cr{static{this.\u0275fac=(()=>{let e;return function(i){return(e||(e=hn(t)))(i||t)}})()}static{this.\u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),ms=(()=>{class t{static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275prov=R({token:t,factory:()=>d(Ka),providedIn:"root"})}}return t})(),Ka=(()=>{class t extends ms{constructor(){super(...arguments),this.location=d($e),this.urlSerializer=d(ut),this.options=d(ft,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=d(dr),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new X,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(e){return this.location.subscribe(r=>{r.type==="popstate"&&e(r.url,r.state)})}handleRouterEvent(e,r){if(e instanceof Me)this.stateMemento=this.createStateMemento();else if(e instanceof ie)this.rawUrlTree=r.initialUrl;else if(e instanceof zt){if(this.urlUpdateStrategy==="eager"&&!r.extras.skipLocationChange){let i=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl);this.setBrowserUrl(r.targetBrowserUrl??i,r)}}else e instanceof nt?(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)):e instanceof H&&(e.code===j.GuardRejected||e.code===j.NoDataFromResolver)?this.restoreHistory(r):e instanceof tt?this.restoreHistory(r,!0):e instanceof q&&(this.lastSuccessfulId=e.id,this.currentPageId=this.browserPageId)}setBrowserUrl(e,r){let i=e instanceof X?this.urlSerializer.serialize(e):e;if(this.location.isCurrentPathEqualTo(i)||r.extras.replaceUrl){let s=this.browserPageId,o=f(f({},r.extras.state),this.generateNgRouterState(r.id,s));this.location.replaceState(i,"",o)}else{let s=f(f({},r.extras.state),this.generateNgRouterState(r.id,this.browserPageId+1));this.location.go(i,"",s)}}restoreHistory(e,r=!1){if(this.canceledNavigationResolution==="computed"){let i=this.browserPageId,s=this.currentPageId-i;s!==0?this.location.historyGo(s):this.currentUrlTree===e.finalUrl&&s===0&&(this.resetState(e),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(r&&this.resetState(e),this.resetUrlToCurrentUrlTree())}resetState(e){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(e,r){return this.canceledNavigationResolution==="computed"?{navigationId:e,\u0275routerPageId:r}:{navigationId:e}}static{this.\u0275fac=(()=>{let e;return function(i){return(e||(e=hn(t)))(i||t)}})()}static{this.\u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),Ze=function(t){return t[t.COMPLETE=0]="COMPLETE",t[t.FAILED=1]="FAILED",t[t.REDIRECTING=2]="REDIRECTING",t}(Ze||{});function vs(t,n){t.events.pipe(G(e=>e instanceof q||e instanceof H||e instanceof tt||e instanceof ie),S(e=>e instanceof q||e instanceof ie?Ze.COMPLETE:(e instanceof H?e.code===j.Redirect||e.code===j.SupersededByNewNavigation:!1)?Ze.REDIRECTING:Ze.FAILED),G(e=>e!==Ze.REDIRECTING),me(1)).subscribe(()=>{n()})}function Ya(t){throw t}var Qa={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},ec={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},J=(()=>{class t{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=d(yt),this.stateManager=d(ms),this.options=d(ft,{optional:!0})||{},this.pendingTasks=d(ke),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=d(fr),this.urlSerializer=d(ut),this.location=d($e),this.urlHandlingStrategy=d(dr),this._events=new K,this.errorHandler=this.options.errorHandler||Ya,this.navigated=!1,this.routeReuseStrategy=d(Ja),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=d(at,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!d(Zt,{optional:!0}),this.eventsSubscription=new mr,this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:e=>{this.console.warn(e)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){let e=this.navigationTransitions.events.subscribe(r=>{try{let i=this.navigationTransitions.currentTransition,s=this.navigationTransitions.currentNavigation;if(i!==null&&s!==null){if(this.stateManager.handleRouterEvent(r,s),r instanceof H&&r.code!==j.Redirect&&r.code!==j.SupersededByNewNavigation)this.navigated=!0;else if(r instanceof q)this.navigated=!0;else if(r instanceof Ae){let o=r.navigationBehaviorOptions,c=this.urlHandlingStrategy.merge(r.url,i.currentRawUrl),a=f({browserUrl:i.extras.browserUrl,info:i.extras.info,skipLocationChange:i.extras.skipLocationChange,replaceUrl:i.extras.replaceUrl||this.urlUpdateStrategy==="eager"||Xa(i.source)},o);this.scheduleNavigation(c,Ye,null,a,{resolve:i.resolve,reject:i.reject,promise:i.promise})}}nc(r)&&this._events.next(r)}catch(i){this.navigationTransitions.transitionAbortSubject.next(i)}});this.eventsSubscription.add(e)}resetRootComponentType(e){this.routerState.root.component=e,this.navigationTransitions.rootComponentType=e}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Ye,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((e,r)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(e,"popstate",r)},0)})}navigateToSyncWithBrowser(e,r,i){let s={replaceUrl:!0},o=i?.navigationId?i:null;if(i){let a=f({},i);delete a.navigationId,delete a.\u0275routerPageId,Object.keys(a).length!==0&&(s.state=a)}let c=this.parseUrl(e);this.scheduleNavigation(c,r,o,s)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(e){this.config=e.map(lr),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(e,r={}){let{relativeTo:i,queryParams:s,fragment:o,queryParamsHandling:c,preserveFragment:a}=r,u=a?this.currentUrlTree.fragment:o,l=null;switch(c??this.options.defaultQueryParamsHandling){case"merge":l=f(f({},this.currentUrlTree.queryParams),s);break;case"preserve":l=this.currentUrlTree.queryParams;break;default:l=s||null}l!==null&&(l=this.removeEmptyProps(l));let h;try{let y=i?i.snapshot:this.routerState.snapshot.root;h=Ki(y)}catch{(typeof e[0]!="string"||e[0][0]!=="/")&&(e=[]),h=this.currentUrlTree.root}return Yi(h,e,l,u??null)}navigateByUrl(e,r={skipLocationChange:!1}){let i=pe(e)?e:this.parseUrl(e),s=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(s,Ye,null,r)}navigate(e,r={skipLocationChange:!1}){return tc(e),this.navigateByUrl(this.createUrlTree(e,r),r)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){try{return this.urlSerializer.parse(e)}catch{return this.urlSerializer.parse("/")}}isActive(e,r){let i;if(r===!0?i=f({},Qa):r===!1?i=f({},ec):i=r,pe(e))return Pi(this.currentUrlTree,e,i);let s=this.parseUrl(e);return Pi(this.currentUrlTree,s,i)}removeEmptyProps(e){return Object.entries(e).reduce((r,[i,s])=>(s!=null&&(r[i]=s),r),{})}scheduleNavigation(e,r,i,s,o){if(this.disposed)return Promise.resolve(!1);let c,a,u;o?(c=o.resolve,a=o.reject,u=o.promise):u=new Promise((h,y)=>{c=h,a=y});let l=this.pendingTasks.add();return vs(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(l))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:e,extras:s,resolve:c,reject:a,promise:u,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),u.catch(h=>Promise.reject(h))}static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function tc(t){for(let n=0;n<t.length;n++)if(t[n]==null)throw new E(4008,!1)}function nc(t){return!(t instanceof nt)&&!(t instanceof Ae)}var Eu=(()=>{class t{constructor(e,r,i,s,o,c){this.router=e,this.route=r,this.tabIndexAttribute=i,this.renderer=s,this.el=o,this.locationStrategy=c,this.href=null,this.onChanges=new K,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1,this.routerLinkInput=null;let a=o.nativeElement.tagName?.toLowerCase();this.isAnchorElement=a==="a"||a==="area",this.isAnchorElement?this.subscription=e.events.subscribe(u=>{u instanceof q&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(e){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",e)}ngOnChanges(e){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(e){e==null?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(pe(e)?this.routerLinkInput=e:this.routerLinkInput=Array.isArray(e)?e:[e],this.setTabIndexIfNotOnNativeEl("0"))}onClick(e,r,i,s,o){let c=this.urlTree;if(c===null||this.isAnchorElement&&(e!==0||r||i||s||o||typeof this.target=="string"&&this.target!="_self"))return!0;let a={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(c,a),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let e=this.urlTree;this.href=e!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(e)):null;let r=this.href===null?null:zr(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",r)}applyAttributeValue(e,r){let i=this.renderer,s=this.el.nativeElement;r!==null?i.setAttribute(s,e,r):i.removeAttribute(s,e)}get urlTree(){return this.routerLinkInput===null?null:pe(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static{this.\u0275fac=function(r){return new(r||t)(we(J),we(se),Or("tabindex"),we(qr),we(Pr),we(Fe))}}static{this.\u0275dir=un({type:t,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(r,i){r&1&&Kr("click",function(o){return i.onClick(o.button,o.ctrlKey,o.shiftKey,o.altKey,o.metaKey)}),r&2&&Jr("target",i.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",Tt],skipLocationChange:[2,"skipLocationChange","skipLocationChange",Tt],replaceUrl:[2,"replaceUrl","replaceUrl",Tt],routerLink:"routerLink"},standalone:!0,features:[Wr,ln]})}}return t})();var Jt=class{};var rc=(()=>{class t{constructor(e,r,i,s,o){this.router=e,this.injector=i,this.preloadingStrategy=s,this.loader=o}setUpPreloading(){this.subscription=this.router.events.pipe(G(e=>e instanceof q),Q(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,r){let i=[];for(let s of r){s.providers&&!s._injector&&(s._injector=mn(s.providers,e,`Route: ${s.path}`));let o=s._injector??e,c=s._loadedInjector??o;(s.loadChildren&&!s._loadedRoutes&&s.canLoad===void 0||s.loadComponent&&!s._loadedComponent)&&i.push(this.preloadConfig(o,s)),(s.children||s._loadedRoutes)&&i.push(this.processRoutes(c,s.children??s._loadedRoutes))}return P(i).pipe(nn())}preloadConfig(e,r){return this.preloadingStrategy.preload(r,()=>{let i;r.loadChildren&&r.canLoad===void 0?i=this.loader.loadChildren(e,r):i=p(null);let s=i.pipe(U(o=>o===null?p(void 0):(r._loadedRoutes=o.routes,r._loadedInjector=o.injector,this.processRoutes(o.injector??e,o.routes))));if(r.loadComponent&&!r._loadedComponent){let o=this.loader.loadComponent(r);return P([s,o]).pipe(nn())}else return s})}static{this.\u0275fac=function(r){return new(r||t)(m(J),m(St),m(ue),m(Jt),m(hr))}}static{this.\u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),ys=new C(""),ic=(()=>{class t{constructor(e,r,i,s,o={}){this.urlSerializer=e,this.transitions=r,this.viewportScroller=i,this.zone=s,this.options=o,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},o.scrollPositionRestoration||="disabled",o.anchorScrolling||="disabled"}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof Me?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof q?(this.lastId=e.id,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.urlAfterRedirects).fragment)):e instanceof ie&&e.code===$t.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof Bt&&(e.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(e.position):e.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(e.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(e,r){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new Bt(e,this.lastSource==="popstate"?this.store[this.restoredId]:null,r))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static{this.\u0275fac=function(r){Br()}}static{this.\u0275prov=R({token:t,factory:t.\u0275fac})}}return t})();function Iu(t,...n){return Le([{provide:at,multi:!0,useValue:t},[],{provide:se,useFactory:ws,deps:[J]},{provide:wt,multi:!0,useFactory:Rs},n.map(e=>e.\u0275providers)])}function ws(t){return t.routerState.root}function pt(t,n){return{\u0275kind:t,\u0275providers:n}}function Rs(){let t=d(dn);return n=>{let e=t.get(Rt);if(n!==e.components[0])return;let r=t.get(J),i=t.get(Ss);t.get(pr)===1&&r.initialNavigation(),t.get(Ts,null,an.Optional)?.setUpPreloading(),t.get(ys,null,an.Optional)?.init(),r.resetRootComponentType(e.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}var Ss=new C("",{factory:()=>new K}),pr=new C("",{providedIn:"root",factory:()=>1});function sc(){return pt(2,[{provide:pr,useValue:0},{provide:vn,multi:!0,deps:[dn],useFactory:n=>{let e=n.get(ii,Promise.resolve());return()=>e.then(()=>new Promise(r=>{let i=n.get(J),s=n.get(Ss);vs(i,()=>{r(!0)}),n.get(fr).afterPreactivation=()=>(r(!0),s.closed?p(void 0):s),i.initialNavigation()}))}}])}function oc(){return pt(3,[{provide:vn,multi:!0,useFactory:()=>{let n=d(J);return()=>{n.setUpLocationChangeListener()}}},{provide:pr,useValue:2}])}var Ts=new C("");function ac(t){return pt(0,[{provide:Ts,useExisting:rc},{provide:Jt,useExisting:t}])}function cc(){return pt(8,[Li,{provide:Zt,useExisting:Li}])}function uc(t){let n=[{provide:ps,useValue:Ga},{provide:gs,useValue:f({skipNextTransition:!!t?.skipInitialTransition},t)}];return pt(9,n)}var Fi=new C("ROUTER_FORROOT_GUARD"),lc=[$e,{provide:ut,useClass:Ie},J,ht,{provide:se,useFactory:ws,deps:[J]},hr,[]],Mu=(()=>{class t{constructor(e){}static forRoot(e,r){return{ngModule:t,providers:[lc,[],{provide:at,multi:!0,useValue:e},{provide:Fi,useFactory:pc,deps:[[J,new cn,new Mr]]},{provide:ft,useValue:r||{}},r?.useHash?dc():fc(),hc(),r?.preloadingStrategy?ac(r.preloadingStrategy).\u0275providers:[],r?.initialNavigation?gc(r):[],r?.bindToComponentInputs?cc().\u0275providers:[],r?.enableViewTransitions?uc().\u0275providers:[],mc()]}}static forChild(e){return{ngModule:t,providers:[{provide:at,multi:!0,useValue:e}]}}static{this.\u0275fac=function(r){return new(r||t)(m(Fi,8))}}static{this.\u0275mod=vt({type:t})}static{this.\u0275inj=mt({})}}return t})();function hc(){return{provide:ys,useFactory:()=>{let t=d(ci),n=d(B),e=d(ft),r=d(fr),i=d(ut);return e.scrollOffset&&t.setOffset(e.scrollOffset),new ic(i,r,t,n,e)}}}function dc(){return{provide:Fe,useClass:oi}}function fc(){return{provide:Fe,useClass:si}}function pc(t){return"guarded"}function gc(t){return[t.initialNavigation==="disabled"?oc().\u0275providers:[],t.initialNavigation==="enabledBlocking"?sc().\u0275providers:[]]}var $i=new C("");function mc(){return[{provide:$i,useFactory:Rs},{provide:wt,multi:!0,useExisting:$i}]}export{W as a,qe as b,te as c,Ps as d,Pc as e,Nc as f,xc as g,bi as h,ru as i,Oi as j,vo as k,se as l,Jo as m,J as n,Eu as o,Iu as p,Mu as q};
|