PageSourceSearch

https://care.siriusxm.ca/phx-wc/chunk-G61qLI1O.js

js siriusxm.ca collected 2026-10-02 04:30:53 UTC 85,896 bytes, 1 lines download raw bytes

1import{$ as K$1,$i as ve,$n as _,$r as kd,Aa as __esmMin,Ai as ra,Bn as Xm,C as Dd,Ci as pm,E as Dn$1,Er as eu,Fi as sr$1,Fn as XT,Ft as Pa,Hr as jB,Ii as st,In as Xe,Jn as Yv,K as In$1,L as H,Ln as Xg,N as GI,Nn as X,Nr as hT,O as Ed,Oa as zb,Oi as qs,On as W,Or as fe$1,Pi as so$1,Ri as sv,Rr as im,Sa as ye$1,Sn as VB,Ta as yt$1,Ti as qB,Tn as Ve$1,U as Id,Ui as th,Vi as ta,W as Ii$1,Wi as to$1,Wn as Yc,X as JT,Xt as Rg,Yt as Rd,Z as Jm,Zt as Ri$1,_r as dD,ai as l_,ar as am,br as dr$1,cn as Sg,d as Av,da as xD,di as me$1,dn as Sw,dt as M$1,en as Rw,fi as mm,fn as T,gi as no$1,gn as Tr$1,gt as Ms,ha as xe$1,ht as Mn$1,i as AB,ir as aa,it as Ky,ji as rn,ki as r_,l as Ai$1,lr as be$1,nn as SB,pn as TE,qn as Ys,qr as jt$1,rr as a_,si as le$1,sn as Se$1,tn as S$1,un as St$1,ut as Lw,va as xy,wr as ee$1,xa as yd,xi as pe$1,y as CE,zn as Xl,zr as init_chunk_OCROI5TG}from"./chunk-CvJdhWqv.js";import{K as he$1,St as zr,X as j,Y as init_chunk_DBQOBYUG,_t as wn$1,at as pn,vt as xe$2}from"./chunk-Bht2-ckb.js";import{l as ho$1,u as init_chunk_XWNVBNT2}from"./chunk-1J1s0KDK.js";function de(t){return new ir(t)}function er(t,n,e){for(let r=0;r<t.length;r++){let i=t[r],o=n[r];if(i[0]===`:`)e[i.substring(1)]=o;else if(i!==o.path)return!1}return!0}function En(t,n,e){let r=e.path.split(`/`),i=r.indexOf(`**`);if(i===-1){if(r.length>t.length||e.pathMatch===`full`&&(n.hasChildren()||r.length<t.length))return null;let a={},u=t.slice(0,r.length);return er(r,u,a)?{consumed:u,posParams:a}:null}if(i!==r.lastIndexOf(`**`))return null;let o=r.slice(0,i),s=r.slice(i+1);if(o.length+s.length>t.length||e.pathMatch===`full`&&n.hasChildren()&&e.path!==`**`)return null;let c={};return!er(o,t.slice(0,o.length),c)||!er(s,t.slice(t.length-s.length),c)?null:{consumed:t,posParams:c}}function gt(t){return new Promise((n,e)=>{t.pipe(Av()).subscribe({next:r=>n(r),error:r=>e(r)})})}function bi(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?or(t):void 0,r=n?or(n):void 0;if(!e||!r||e.length!=r.length)return!1;let i;for(let o=0;o<e.length;o++)if(i=e[o],!An(t[i],n[i]))return!1;return!0}function or(t){return[...Object.keys(t),...Object.getOwnPropertySymbols(t)]}function An(t,n){if(Array.isArray(t)&&Array.isArray(n)){if(t.length!==n.length)return!1;let e=[...t].sort(),r=[...n].sort();return e.every((i,o)=>r[o]===i)}else return t===n}function Ii(t){return t.length>0?t[t.length-1]:null}function fe(t){return sv(t)?t:Xl(t)?Ve$1(Promise.resolve(t)):ta(t)}function Mn(t){return sv(t)?gt(t):Promise.resolve(t)}function Cr(t,n,e){let r=t instanceof M?t:n.parseUrl(t);return a_(()=>sr(n.lastSuccessfulNavigation()?.finalUrl??new M,r,W(W({},Ce),e)))}function sr(t,n,e){return Ei[e.paths](t.root,n.root,e.matrixParams)&&Nn[e.queryParams](t.queryParams,n.queryParams)&&!(e.fragment===`exact`&&t.fragment!==n.fragment)}function Ai(t,n){return V(t,n)}function Tn(t,n,e){if(!le(t.segments,n.segments)||!ht(t.segments,n.segments,e)||t.numberOfChildren!==n.numberOfChildren)return!1;for(let r in n.children)if(!t.children[r]||!Tn(t.children[r],n.children[r],e))return!1;return!0}function Mi(t,n){return Object.keys(n).length<=Object.keys(t).length&&Object.keys(n).every(e=>An(t[e],n[e]))}function _n(t,n,e){return Dn(t,n,n.segments,e)}function Dn(t,n,e,r){if(t.segments.length>e.length){let i=t.segments.slice(0,e.length);return!(!le(i,e)||n.hasChildren()||!ht(i,e,r))}else if(t.segments.length===e.length){if(!le(t.segments,e)||!ht(t.segments,e,r))return!1;for(let i in n.children)if(!t.children[i]||!_n(t.children[i],n.children[i],r))return!1;return!0}else{let i=e.slice(0,t.segments.length),o=e.slice(t.segments.length);return!le(t.segments,i)||!ht(t.segments,i,r)||!t.children[p]?!1:Dn(t.children[p],n,o,r)}}function ht(t,n,e){return n.every((r,i)=>Nn[e](t[i].parameters,r.parameters))}function Ni(t,n){return le(t,n)&&t.every((e,r)=>V(e.parameters,n[r].parameters))}function le(t,n){return t.length!==n.length?!1:t.every((e,r)=>e.path===n[r].path)}function Ti(t,n){let e=[];return Object.entries(t.children).forEach(([r,i])=>{r===p&&(e=e.concat(n(i,r)))}
vendor: 4,805 bytes, line 1
1),Object.entries(t.children).forEach(([r,i])=>{r!==p&&(e=e.concat(n(i,r)))}),e}function ft(t){return t.segments.map(n=>On(n)).join(`/`)}function xe(t,n){if(!t.hasChildren())return ft(t);if(n){let e=t.children[p]?xe(t.children[p],!1):``,r=[];return Object.entries(t.children).forEach(([i,o])=>{i!==p&&r.push(`${i}:${xe(o,!1)}`)}),r.length>0?`${e}(${r.join(`//`)})`:e}else{let e=Ti(t,(r,i)=>i===p?[xe(t.children[p],!1)]:[`${i}:${xe(r,!1)}`]);return Object.keys(t.children).length===1&&t.children[p]!=null?`${ft(t)}/${e[0]}`:`${ft(t)}/(${e.join(`//`)})`}}function Un(t){return encodeURIComponent(t).replace(/%40/g,`@`).replace(/%3A/gi,`:`).replace(/%24/g,`$`).replace(/%2C/gi,`,`)}function lt(t){return Un(t).replace(/%3B/gi,`;`)}function Di(t){return encodeURI(t)}function ar(t){return Un(t).replace(/\(/g,`%28`).replace(/\)/g,`%29`).replace(/%26/gi,`&`)}function pt(t){return decodeURIComponent(t)}function Rn(t){return pt(t.replace(/\+/g,`%20`))}function On(t){return`${ar(t.path)}${Ui(t.parameters)}`}function Ui(t){return Object.entries(t).map(([n,e])=>`;${ar(n)}=${ar(e)}`).join(``)}function Oi(t){let n=Object.entries(t).map(([e,r])=>Array.isArray(r)?r.map(i=>`${lt(e)}=${lt(i)}`).join(`&`):`${lt(e)}=${lt(r)}`).filter(e=>e);return n.length?`?${n.join(`&`)}`:``}function tr(t){let n=t.match(Pi);return n?n[0]:``}function ji(t){let n=t.match(Li);return n?n[0]:``}function ki(t){let n=t.match(xi);return n?n[0]:``}function zi(t){let n=t.match($i);return n?n[0]:``}function Pn(t){return t.segments.length>0?new m([],{[p]:t}):t}function Ln(t){let n=Object.create(null);for(let[r,i]of Object.entries(t.children)){let o=Ln(i);if(r===p&&o.segments.length===0&&o.hasChildren())for(let[s,c]of Object.entries(o.children))n[s]=c;else(o.segments.length>0||o.hasChildren())&&(n[r]=o)}return qi(new m(t.segments,n))}function qi(t){if(t.numberOfChildren===1&&t.children[p]){let n=t.children[p];return new m(t.segments.concat(n.segments),n.children)}return t}function te(t){return t instanceof M}function jn(t,n,e=null,r=null,i=new K){return kn(xn(t),n,e,r,i)}function xn(t){let n;function e(o){let s={};for(let a of o.children){let u=e(a);s[a.outlet]=u}let c=new m(o.url,s);return o===t&&(n=c),c}let i=Pn(e(t.root));return n??i}function kn(t,n,e,r,i){let o=t;for(;o.parent;)o=o.parent;if(n.length===0)return rr(o,o,o,e,r,i);let s=Fi(n);if(s.toRoot())return rr(o,o,new m([],{}),e,r,i);let c=Hi(s,o,t),a=c.processChildren?$e(c.segmentGroup,c.index,s.commands):zn(c.segmentGroup,c.index,s.commands);return rr(o,c.segmentGroup,a,e,r,i)}function vt(t){return typeof t==`object`&&t!=null&&!t.outlets&&!t.segmentPath}function qe(t){return typeof t==`object`&&t!=null&&t.outlets}function Sn(t,n,e){t||=`ɵ`;let r=new M;return r.queryParams={[t]:n},e.parse(e.serialize(r)).queryParams[t]}function rr(t,n,e,r,i,o){let s={};for(let[u,h]of Object.entries(r??{}))s[u]=Array.isArray(h)?h.map(v=>Sn(u,v,o)):Sn(u,h,o);let c;t===n?c=e:c=$n(t,n,e);return new M(Pn(Ln(c)),s,i)}function $n(t,n,e){let r=Object.create(null);return Object.entries(t.children).forEach(([i,o])=>{o===n?r[i]=e:r[i]=$n(o,n,e)}),new m(t.segments,r)}function Fi(t){if(typeof t[0]==`string`&&t.length===1&&t[0]===`/`)return new mt(!0,0,t);let n=0,e=!1,r=t.reduce((i,o,s)=>{if(typeof o==`object`&&o!=null){if(o.outlets){let c={};return Object.entries(o.outlets).forEach(([a,u])=>{c[a]=typeof u==`string`?u.split(`/`):u}),[...i,{outlets:c}]}if(o.segmentPath)return[...i,o.segmentPath]}return typeof o!=`string`?[...i,o]:s===0?(o.split(`/`).forEach((c,a)=>{a==0&&c===`.`||(a==0&&c===``?e=!0:c===`..`?n++:c!=``&&i.push(c))}),i):[...i,o]},[]);return new mt(e,n,r)}function Hi(t,n,e){if(t.isAbsolute)return new ye(n,!0,0);if(!e)return new ye(n,!1,NaN);if(e.parent===null)return new ye(e,!0,0);let r=vt(t.commands[0])?0:1;return Bi(e,e.segments.length-1+r,t.numberOfDoubleDots)}function Bi(t,n,e){let r=t,i=n,o=e;for(;o>i;){if(o-=i,r=r.parent,!r)throw new _(4005,!1);i=r.segments.length}return new ye(r,!1,i-o)}function Vi(t){return qe(t[0])?t[0].outlets:{[p]:t}}function zn(t,n,e){if(t??=new m([],{}),t.segments.length===0&&t.hasChildren())return $e(t,n,e);let r=Gi(t,n,e),i=e.slice(r.commandIndex);if(r.match&&r.pathIndex<t.segments.length){let o=new m(t.segments.slice(0,r.pathIndex),{});return o.children[p]=new m(t.segments.slice(r.pathIndex),t.children),$e(o,0,i)}else return r.match&&i.length===0?new m(t.segments,{}):r.match&&!t.hasChildren()?ur(t,n,e):r.match?$e(t,0,i):ur(t,n,e)}function $e(t,n,e){if(e.length===0)return new m(t.segments,{});{let r=Vi(e),i=Object.create(null);if(Object.keys(r).some(o=>o!==p)&&t.children[p]&&t.numberOfChildren===1&&t.children[p].segments.length===0){let o=$e(t.children[p],n,e);return new m(t.segments,o.children)}return Object.entries(r).forEach(([o,s])=>{typeof s==`string`&&(s=[s]),s!==null&&(i[o]=zn(t.children[o],n,s))}
1),Object.entries(t.children).forEach(([o,s])=>{r[o]===void 0&&(i[o]=s)}),new m(t.segments,i)}}function Gi(t,n,e){let r=0,i=n,o={match:!1,pathIndex:0,commandIndex:0};for(;i<t.segments.length;){if(r>=e.length)return o;let s=t.segments[i],c=e[r];if(qe(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(!wn(a,u,s))return o;r+=2}else{if(!wn(a,{},s))return o;r++}i++}return{match:!0,pathIndex:i,commandIndex:r}}function ur(t,n,e){let r=t.segments.slice(0,n),i=0;for(;i<e.length;){let o=e[i];if(qe(o))return new m(r,Wi(o.outlets));if(i===0&&vt(e[0])){let a=t.segments[n];r.push(new ee(a.path,Cn(e[0]))),i++;continue}let s=qe(o)?o.outlets[p]:`${o}`,c=i<e.length-1?e[i+1]:null;s&&c&&vt(c)?(r.push(new ee(s,Cn(c))),i+=2):(r.push(new ee(s,{})),i++)}return new m(r,{})}function Wi(t){let n={};return Object.entries(t).forEach(([e,r])=>{typeof r==`string`&&(r=[r]),r!==null&&(n[e]=ur(new m([],{}),0,r))}),n}function Cn(t){let n={};return Object.entries(t).forEach(([e,r])=>n[e]=`${r}`),n}function wn(t,n,e){return t==e.path&&V(n,e.parameters)}function qn(t){return t instanceof k&&(t.code===E.Redirect||t.code===E.SupersededByNewNavigation)}function Qi(t){return!(t instanceof Ie)&&!(t instanceof Ee)&&!(t instanceof He)}function lr(t,n){if(t===n.value)return n;for(let e of n.children){let r=lr(t,e);if(r)return r}return null}function dr(t,n){if(t===n.value)return[n];for(let e of n.children){let r=dr(t,e);if(r.length)return r.unshift(n),r}return[]}function me(t){let n={};return t&&t.children.forEach(e=>n[e.value.outlet]=e),n}function Fn(t,n){let e=Ki(t,n),r=new sr$1([new ee(``,{})]),i=new sr$1({}),o=new sr$1({}),a=new Y(r,i,new sr$1({}),new sr$1(``),o,p,t,e.root);return a.snapshot=e.root,new Be(new U(a,[]),e)}function Ki(t,n){return new Ve(``,new U(new Ae([],{},{},``,{},p,t,null,{},n),[]))}function wr(t,n,e){let r,{routeConfig:i}=t;return n!==null&&(e===`always`||i?.path===``||!n.component&&!n.routeConfig?.loadComponent)?r={params:W(W({},n.params),t.params),data:W(W({},n.data),t.data),resolve:W(W(W(W({},t.data),n.data),i?.data),t._resolvedData)}:r={params:W({},t.params),data:W({},t.data),resolve:W(W({},t.data),t._resolvedData??{})},i&&Bn(i)&&(r.resolve[Qe]=i.title),r}function br(t,n){n.value._routerState=t,n.children.forEach(e=>br(t,e))}function Hn(t){let n=t.children.length>0?` { ${t.children.map(Hn).join(`, `)} } `:``;return`${t.value}${n}`}function nr(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),bi(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 hr(t,n){let e=V(t.params,n.params)&&Ni(t.url,n.url),r=!t.parent!=!n.parent;return e&&!r&&(!t.parent||hr(t.parent,n.parent))}function Bn(t){return typeof t.title==`string`||t.title===null}function Ar(t){let n=t.children&&t.children.map(Ar),e=n?X(W({},t),{children:n}):W({},t);return!e.component&&!e.loadComponent&&(n||e.loadChildren)&&e.outlet&&e.outlet!==p&&(e.component=Er),e}function Zi(t,n,e){let r=new Set;return{newlyCreatedRoutes:r,state:new Be(Ge(t,n._root,e?e._root:void 0,r),n)}}function Ge(t,n,e,r){if(e&&t.shouldReuseRoute(n.value,e.value.snapshot)){let i=e.value;i._setPending(n.value);return new U(i,Ji(t,n,e,r))}else{if(t.shouldAttach(n.value)){let s=t.retrieve(n.value);if(s!==null){let c=s.route;return c.value._setPending(n.value),c.children=n.children.map(a=>Ge(t,a,void 0,r)),c}}let i=Xi(n.value);i._setPending(n.value),r.add(i);return new U(i,n.children.map(s=>Ge(t,s,void 0,r)))}}function Ji(t,n,e,r){return n.children.map(i=>{for(let o of e.children)if(t.shouldReuseRoute(i.value,o.value.snapshot))return Ge(t,i,o,r);return Ge(t,i,void 0,r)})}function Xi(t){return new Y(new sr$1(t.url),new sr$1(t.params),new sr$1(t.queryParams),new sr$1(t.fragment),new sr$1(t.data),t.outlet,t.component,t)}function _t(t,n){let{redirectTo:e,navigationBehaviorOptions:r}=te(n)?{redirectTo:n,navigationBehaviorOptions:void 0}:n,i=Qn(!1,E.Redirect);return i.url=e,i.navigationBehaviorOptions=r,i}function Qn(t,n){let e=new Error(`NavigationCancelingError: ${t||``}`);return e[Wn]=!0,e.cancellationCode=n,e}function eo(t){return Kn(t)&&te(t.url)}function Kn(t){return!!t&&t[Wn]}function to(t,n,e){let r=t._root;return ke(r,n?n._root:null,e,[r.value])}function ro(t){let n=t.routeConfig?t.routeConfig.canActivateChild:null;return!n||n.length===0?null:{node:t,guards:n}}function Te(t,n){let e=Symbol(),r=n.get(t,e);return r===e?typeof t==`function`&&!Yv(t)?t:n.get(t):r}function ke(t,n,e,r,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=me(n);
1return t.children.forEach(s=>{no(s,o[s.value.outlet],e,r.concat([s.value]),i),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,c])=>ze(c,e.getContext(s),e,i)),i}function no(t,n,e,r,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=t.value,s=n?n.value:null,c=e?e.getContext(t.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){let a=io(s,o,o.routeConfig.runGuardsAndResolvers);a?i.canActivateChecks.push(new Dt(r)):(o.data=s.data,o._resolvedData=s._resolvedData),o.component?ke(t,n,c?c.children:null,r,i):ke(t,n,e,r,i),a&&c&&c.outlet&&c.outlet.isActivated&&i.canDeactivateChecks.push(new Se(c.outlet.component,s))}else s&&ze(n,c,e,i),i.canActivateChecks.push(new Dt(r)),o.component?ke(t,null,c?c.children:null,r,i):ke(t,null,e,r,i);return i}function io(t,n,e){if(typeof e==`function`)return Ii$1(n._environmentInjector,()=>e(t,n));switch(e){case`pathParamsChange`:return!le(t.url,n.url);case`pathParamsOrQueryParamsChange`:return!le(t.url,n.url)||!V(t.queryParams,n.queryParams);case`always`:return!0;case`paramsOrQueryParamsChange`:return!hr(t,n)||!V(t.queryParams,n.queryParams);default:return!hr(t,n)}}function ze(t,n,e,r){let i=me(t),o=t.value;Object.entries(i).forEach(([s,c])=>{o.component?n?ze(c,n.children.getContext(s),n.children,r):ze(c,null,null,r):ze(c,e?e.getContext(s):null,e,r)}),o.component?n&&n.outlet&&n.outlet.isActivated?r.canDeactivateChecks.push(new Se(n.outlet.component,o)):r.canDeactivateChecks.push(new Se(null,o)):r.canDeactivateChecks.push(new Se(null,o))}function Ye(t){return typeof t==`function`}function oo(t){return typeof t==`boolean`}function so(t){return t&&Ye(t.canLoad)}function ao(t){return t&&Ye(t.canActivate)}function co(t){return t&&Ye(t.canActivateChild)}function uo(t){return t&&Ye(t.canDeactivate)}function lo(t){return t&&Ye(t.canMatch)}function Yn(t){return t instanceof xe$1||t?.name===`EmptyError`}function Ne(){return kd(t=>Ky(t.map(n=>n.pipe(jt$1(1),Id(dt)))).pipe(fe$1(n=>{for(let e of n)if(e!==!0){if(e===dt)return dt;if(e===!1||ho(e))return e}return!0}),yt$1(n=>n!==dt),jt$1(1)))}function ho(t){return te(t)||t instanceof Me}function Zn(t){return t.aborted?ta(void 0).pipe(jt$1(1)):new T(n=>{let e=()=>{n.next(),n.complete()};return t.addEventListener(`abort`,e),()=>t.removeEventListener(`abort`,e)})}function Jn(t){return Ed(Zn(t))}function fo(t){return pe$1(n=>{let{targetSnapshot:e,currentSnapshot:r,guards:{canActivateChecks:i,canDeactivateChecks:o}}=n;return o.length===0&&i.length===0?ta(X(W({},n),{guardsResult:!0})):po(o,e,r).pipe(pe$1(s=>s&&oo(s)?go(e,i,t):ta(s)),fe$1(s=>X(W({},n),{guardsResult:s})))})}function po(t,n,e){return Ve$1(t).pipe(pe$1(r=>So(r.component,r.route,e,n)),Av(r=>r!==!0,!0))}function go(t,n,e){return Ve$1(n).pipe(yd(r=>Mn$1(mo(r.route.parent,e),vo(r.route,e),Ro(t,r.path),yo(t,r.route))),Av(r=>r!==!0,!0))}function vo(t,n){return t!==null&&n&&n(new At(t)),ta(!0)}function mo(t,n){return t!==null&&n&&n(new It(t)),ta(!0)}function yo(t,n){let e=n.routeConfig?n.routeConfig.canActivate:null;if(!e||e.length===0)return ta(!0);return ta(e.map(i=>ra(()=>{let o=n._environmentInjector,s=Te(i,o);return fe(ao(s)?s.canActivate(n,t):Ii$1(o,()=>s(n,t))).pipe(Av())}))).pipe(Ne())}function Ro(t,n){let e=n[n.length-1];return ta(n.slice(0,n.length-1).reverse().map(o=>ro(o)).filter(o=>o!==null).map(o=>ra(()=>{return ta(o.guards.map(c=>{let a=o.node._environmentInjector,u=Te(c,a);return fe(co(u)?u.canActivateChild(e,t):Ii$1(a,()=>u(e,t))).pipe(Av())})).pipe(Ne())}))).pipe(Ne())}function So(t,n,e,r){let i=n&&n.routeConfig?n.routeConfig.canDeactivate:null;if(!i||i.length===0)return ta(!0);return ta(i.map(s=>{let c=n._environmentInjector,a=Te(s,c);return fe(uo(a)?a.canDeactivate(t,n,e,r):Ii$1(c,()=>a(t,n,e,r))).pipe(Av())})).pipe(Ne())}function Co(t,n,e,r,i){let o=n.canLoad;if(o===void 0||o.length===0)return ta(!0);return ta(o.map(c=>{let a=Te(c,t),h=fe(so(a)?a.canLoad(n,e):Ii$1(t,()=>a(n,e)));return i?h.pipe(Jn(i)):h})).pipe(Ne(),Xn(r))}function Xn(t){return xy(Dd(n=>{if(typeof n!=`boolean`)throw _t(t,n)}),fe$1(n=>n===!0))}function wo(t,n,e,r,i,o){let s=n.canMatch;if(!s||s.length===0)return ta(!0);return ta(s.map(a=>{let u=Te(a,t);return fe(lo(u)?u.canMatch(n,e,i):Ii$1(t,()=>u(n,e,i))).pipe(Jn(o))})).pipe(Ne(),Xn(r))}function bo(t){throw new _(4e3,!1)}function Io(t){throw Qn(!1,E.GuardRejected)}function Eo(t,n,e){if(typeof t==`string`)return Promise.resolve(t);let r=t;return gt(fe(Ii$1(e,()=>r(n))))}function Ao(t,n){return t.providers&&!t._injector&&(t._injector=eu(t.providers,n,`Route: ${t.path}`)),t._injector??n}function q(t){return t.outlet||p}function Mo(t,n){let e=t.filter(r=>q(r)===n);return e.push(...t.filter(r=>q(r)!==n)),e}function ei(t){return{routeConfig:t.routeConfig,url:t.url,params:t.params,queryParams:t.queryParams,fragment:t.fragment,data:t.data,outlet:t.outlet,title:t.title,paramMap:t.paramMap,queryParamMap:t.queryParamMap}}
1function No(t,n,e,r,i,o,s){let c=ti(t,n,e);if(!c.matched)return ta(c);let a=ei(o(c));return r=Ao(n,r),wo(r,n,e,i,a,s).pipe(fe$1(u=>u===!0?c:W({},vr)))}function ti(t,n,e){if(n.path===``)return n.pathMatch===`full`&&(t.hasChildren()||e.length>0)?W({},vr):{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};let i=(n.matcher||En)(e,t,n);if(!i)return W({},vr);let o={};Object.entries(i.posParams??{}).forEach(([c,a])=>{o[c]=a.path});let s=i.consumed.length>0?W(W({},o),i.consumed[i.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:i.consumed,remainingSegments:e.slice(i.consumed.length),parameters:s,positionalParamSegments:i.posParams??{}}}function bn(t,n,e,r,i){return e.length>0&&Do(t,e,r,i)?{segmentGroup:new m(n,_o(r,new m(e,t.children))),slicedSegments:[]}:e.length===0&&Uo(t,e,r)?{segmentGroup:new m(t.segments,To(t,e,r,t.children)),slicedSegments:e}:{segmentGroup:new m(t.segments,t.children),slicedSegments:e}}function To(t,n,e,r){let i={};for(let o of e)if(Ot(t,n,o)&&!r[q(o)]){let s=new m([],{});i[q(o)]=s}return W(W({},r),i)}function _o(t,n){let e={};e[p]=n;for(let r of t)if(r.path===``&&q(r)!==p){let i=new m([],{});e[q(r)]=i}return e}function Do(t,n,e,r){return e.some(i=>!Ot(t,n,i)||!(q(i)!==p)?!1:!(r!==void 0&&q(i)===r))}function Uo(t,n,e){return e.some(r=>Ot(t,n,r))}function Ot(t,n,e){return(t.hasChildren()||n.length>0)&&e.pathMatch===`full`?!1:e.path===``}function Oo(t,n,e){return n.length===0&&!t.children[e]}function Po(t,n,e,r,i,o,s,c){return Dn$1(this,null,function*(){return new yr(t,n,e,r,i,s,o,c).recognize()})}function jo(t){t.sort((n,e)=>n.value.outlet===p?-1:e.value.outlet===p?1:n.value.outlet.localeCompare(e.value.outlet))}function xo(t){let n=t.value.routeConfig;return n&&n.path===``}function ri(t){let n=[],e=new Set;for(let r of t){if(!xo(r)){n.push(r);continue}let i=n.find(o=>r.value.routeConfig===o.value.routeConfig);i!==void 0?(i.children.push(...r.children),e.add(i)):n.push(r)}for(let r of e){let i=ri(r.children);n.push(new U(r.value,i))}return n.filter(r=>!e.has(r))}function ko(t){return t.data||{}}function $o(t){return t.resolve||{}}function zo(t,n,e,r,i,o,s){return pe$1(c=>Dn$1(null,null,function*(){let{state:a,tree:u}=yield Po(t,n,e,r,c.extractedUrl,i,o,s);return X(W({},c),{targetSnapshot:a,urlAfterRedirects:u})}))}function qo(t){return pe$1(n=>{let{targetSnapshot:e,guards:{canActivateChecks:r}}=n;if(!r.length)return ta(n);let i=new Set(r.map(c=>c.route)),o=new Set;for(let c of i)if(!o.has(c))for(let a of ni(c))o.add(a);let s=0;return Ve$1(o).pipe(yd(c=>i.has(c)?Fo(c,e,t):(c.data=wr(c,c.parent,t).resolve,ta(void 0))),Dd(()=>s++),aa(1),pe$1(c=>s===o.size?ta(n):Se$1))})}function ni(t){return[t,...t.children.map(e=>ni(e)).flat()]}function Fo(t,n,e){let r=t.routeConfig,i=t._resolve;return r?.title!==void 0&&!Bn(r)&&(i[Qe]=r.title),ra(()=>(t.data=wr(t,t.parent,e).resolve,Ho(i,t,n).pipe(fe$1(o=>(t._resolvedData=o,t.data=W(W({},t.data),o),null)))))}function Ho(t,n,e){let r=or(t);if(r.length===0)return ta({});let i={};return Ve$1(r).pipe(pe$1(o=>Bo(t[o],n,e).pipe(Av(),Dd(s=>{if(s instanceof Me)throw _t(new K,s);i[o]=s}))),aa(1),fe$1(()=>i),Ys(o=>Yn(o)?Se$1:qs(o)))}function Bo(t,n,e){let r=n._environmentInjector,i=Te(t,r);return fe(i.resolve?i.resolve(n,e):Ii$1(r,()=>i(n,e)))}function Rr(t){return kd(n=>{let e=t(n);return e?Ve$1(e).pipe(fe$1(()=>n)):ta(n)})}function si(t,n,e,r){return Dn$1(this,null,function*(){let o=yield ai(SB(yield Mn(Ii$1(e,()=>t.loadChildren())))),s;o instanceof Sg||Array.isArray(o)?s=o:s=yield n.compileModuleAsync(o),r&&r(t);let c,a,h;return Array.isArray(s)?a=s:(c=s.create(e).injector,h=s,a=c.get(_e,[],{optional:!0,self:!0}).flat()),{routes:a.map(Ar),injector:c,factory:h}})}function ai(t){return Dn$1(this,null,function*(){return t})}function ci(t,n,e){let r=t.get(Tr),i=t.get(Ai$1);if(!i.startViewTransition||r.skipNextTransition)return r.skipNextTransition=!1,new Promise(u=>setTimeout(u));let o,s=new Promise(u=>{o=u}),c=i.startViewTransition(()=>(o(),Go(t)));c.updateCallbackDone.catch(u=>{}),c.ready.catch(u=>{}),c.finished.catch(u=>{});let{onViewTransitionCreated:a}=r;return a&&Ii$1(t,()=>a({transition:c,from:n,to:e})),s}function Go(t){return new Promise(n=>{xD({read:()=>setTimeout(n)},{injector:t})})}function Qo(t){return t!==Re}function In(t){for(let n of t.newlyCreatedRoutes??[])n._localInjector?.destroy(),n._localInjector=void 0;ui(t.targetRouterState)}function ui(t){if(!t)return;let n=e=>
1{e.value.pending?.set(!1),e.children.forEach(n)};n(t._root)}function kt(t,n){t.events.pipe(yt$1(e=>e instanceof P||e instanceof k||e instanceof he||e instanceof G),fe$1(e=>e instanceof P||e instanceof G?0:(e instanceof k?e.code===E.Redirect||e.code===E.SupersededByNewNavigation:!1)?2:1),yt$1(e=>e!==2),jt$1(1)).subscribe(()=>{n()})}function Zo(t){for(let n=0;n<t.length;n++)if(t[n]==null)throw new _(4008,!1)}function es(t){let n=t;return!!(n.paths||n.matrixParams||n.queryParams||n.fragment)}function rs(){return M$1(F).routerState.root}function Je(t,n){return{ɵkind:t,ɵproviders:n}}function ns(){let t=M$1(ye$1);return n=>{let e=t.get(In$1);if(n!==e.components[0])return;let r=t.get(F),i=t.get(pi);t.get(Ur)===1&&r.initialNavigation(),t.get(mi,null,{optional:!0})?.setUpPreloading(),t.get(fi,null,{optional:!0})?.init(),r.resetRootComponentType(e.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}function gi(){return Je(2,[{provide:CE,useValue:!0},{provide:Ur,useValue:0},Lw(()=>{let n=M$1(ye$1);return n.get(pn,Promise.resolve()).then(()=>new Promise(r=>{let i=n.get(F),o=n.get(pi);kt(i,()=>{r(!0)}),n.get(jt).afterPreactivation=()=>(r(!0),o.closed?ta(void 0):o),i.initialNavigation()}))})])}function vi(){return Je(3,[Lw(()=>{M$1(F).setUpLocationChangeListener()}),{provide:Ur,useValue:2}])}function yi(t){return Je(0,[{provide:mi,useExisting:hi},{provide:Ze,useExisting:t}])}function Ri(t={}){return Je(8,[{provide:Ke,useFactory:()=>new Gn(t)}])}function Si(t){Xe(`NgRouterViewTransitions`);return Je(9,[{provide:Nr,useValue:ci},{provide:Tr,useValue:W({skipNextTransition:!!t?.skipInitialTransition},t)}])}function os(){return{provide:fi,useFactory:()=>{let t=M$1(zr),n=M$1(ie);return n.scrollOffset&&t.setOffset(n.scrollOffset),new ts(n)}}}function ss(){return{provide:j,useClass:wn$1}}function as(){return{provide:j,useClass:he$1}}function cs(t){return[t.initialNavigation===`disabled`?vi().ɵproviders:[],t.initialNavigation===`enabledBlocking`?gi().ɵproviders:[]]}function us(){return[{provide:Dr,useFactory:ns},{provide:Xg,multi:!0,useExisting:Dr}]}var p,Qe,ir,Ei,Nn,Sr,Ce,M,m,ee,ne,K,_i,Pi,Li,xi,$i,cr,mt,ye,Re,S,O,re,P,E,we,k,G,he,Fe,yt,Rt,St,Ct,wt,bt,It,Et,At,Mt,be,Ie,He,Ee,Nt,pe,Tt,U,Be,Y,Yi,Ae,Ve,Vn,Ir,fr,Ke,Gn,Er,Me,Wn,pr,Dt,Se,dt,Q,We,gr,vr,mr,Lo,yr,ii,Mr,oi,ie,_e,Pt,Lt,Vo,Nr,Tr,Wo,_r,jt,li,di,Ut,Ko,xt,Yo,F,Jo,$t,Xo,Ze,hi,fi,ts,pi,Ur,mi,Ci,is,Dr;var init_chunk_Z6MTVVU3=__esmMin((()=>{init_chunk_XWNVBNT2();init_chunk_DBQOBYUG();init_chunk_OCROI5TG();p=`primary`;Qe=Symbol(`RouteTitle`);ir=class{params;constructor(n){this.params=n||{}}has(n){return Object.hasOwn(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)}};Ei={exact:Tn,subset:_n};Nn={exact:Ai,subset:Mi,ignored:()=>!0};Sr={paths:`exact`,fragment:`ignored`,matrixParams:`ignored`,queryParams:`exact`};Ce={paths:`subset`,fragment:`ignored`,matrixParams:`ignored`,queryParams:`subset`};M=class{root;queryParams;fragment;_queryParamMap;constructor(n=new m([],{}),e={},r=null){this.root=n,this.queryParams=e,this.fragment=r}get queryParamMap(){return this._queryParamMap??=de(this.queryParams),this._queryParamMap}toString(){return _i.serialize(this)}};m=class{segments;children;parent=null;constructor(n,e){this.segments=n,this.children=e,Object.values(e).forEach(r=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return ft(this)}};ee=class{path;parameters;_parameterMap;constructor(n,e){this.path=n,this.parameters=e}get parameterMap(){return this._parameterMap??=de(this.parameters),this._parameterMap}toString(){return On(this)}};ne=(()=>{class t{static ɵfac=function(r){return new(r||t)};static ɵprov=to$1({token:t,factory:()=>new K})}return t})();K=class{parse(n){let e=new cr(n);return new M(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(n){return`${`/${xe(n.root,!0)}`}${Oi(n.queryParams)}${typeof n.fragment==`string`?`#${Di(n.fragment)}`:``}`}};_i=new K;Pi=/^[^\/()?;#]+/;Li=/^[^\/()?;=#]+/;xi=/^[^=?&#]+/;$i=/^[^&#]+/;cr=class{url;remaining;constructor(n){this.url=n,this.remaining=n}parseRootSegment(){for(;this.consumeOptional(`/`););return this.remaining===``||this.peekStartsWith(`?`)||this.peekStartsWith(`#`)?new m([],{}):new m([],this.parseChildren())}parseQueryParams(){let n={};if(this.consumeOptional(`?`))do this.parseQueryParam(n);while(this.consumeOptional(`&`));return n}
1parseFragment(){return this.consumeOptional(`#`)?decodeURIComponent(this.remaining):null}parseChildren(n=0){if(n>50)throw new _(4010,!1);if(this.remaining===``)return{};this.consumeOptional(`/`);let e=[];for(this.peekStartsWith(`(`)||e.push(this.parseSegment());this.peekStartsWith(`/`)&&!this.peekStartsWith(`//`)&&!this.peekStartsWith(`/(`);)this.capture(`/`),e.push(this.parseSegment());let r={};this.peekStartsWith(`/(`)&&(this.capture(`/`),r=this.parseParens(!0,n));let i={};return this.peekStartsWith(`(`)&&(i=this.parseParens(!1,n)),(e.length>0||Object.keys(r).length>0)&&(i[p]=new m(e,r)),i}parseSegment(){let n=tr(this.remaining);if(n===``&&this.peekStartsWith(`;`))throw new _(4009,!1);return this.capture(n),new ee(pt(n),this.parseMatrixParams())}parseMatrixParams(){let n={};for(;this.consumeOptional(`;`);)this.parseParam(n);return n}parseParam(n){let e=ji(this.remaining);if(!e)return;this.capture(e);let r=``;if(this.consumeOptional(`=`)){let i=tr(this.remaining);i&&(r=i,this.capture(r))}n[pt(e)]=pt(r)}parseQueryParam(n){let e=ki(this.remaining);if(!e)return;this.capture(e);let r=``;if(this.consumeOptional(`=`)){let s=zi(this.remaining);s&&(r=s,this.capture(r))}let i=Rn(e),o=Rn(r);if(Object.hasOwn(n,i)){let s=n[i];Array.isArray(s)||(s=[s],n[i]=s),s.push(o)}else n[i]=o}parseParens(n,e){let r=Object.create(null);for(this.capture(`(`);!this.consumeOptional(`)`)&&this.remaining.length>0;){let i=tr(this.remaining),o=this.remaining[i.length];if(o!==`/`&&o!==`)`&&o!==`;`)throw new _(4010,!1);let s;i.indexOf(`:`)>-1?(s=i.slice(0,i.indexOf(`:`)),this.capture(s),this.capture(`:`)):n&&(s=p);let c=this.parseChildren(e+1);r[s??p]=Object.keys(c).length===1&&c[p]?c[p]:new m([],c),this.consumeOptional(`//`)}return r}peekStartsWith(n){return this.remaining.startsWith(n)}consumeOptional(n){return this.peekStartsWith(n)?(this.remaining=this.remaining.substring(n.length),!0):!1}capture(n){if(!this.consumeOptional(n))throw new _(4011,!1)}};mt=class{isAbsolute;numberOfDoubleDots;commands;constructor(n,e,r){if(this.isAbsolute=n,this.numberOfDoubleDots=e,this.commands=r,n&&r.length>0&&vt(r[0]))throw new _(4003,!1);let i=r.find(qe);if(i&&i!==Ii(r))throw new _(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]==`/`}};ye=class{segmentGroup;processChildren;index;constructor(n,e,r){this.segmentGroup=n,this.processChildren=e,this.index=r}};Re=`imperative`;S=(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})(S||{});O=class{id;url;constructor(n,e){this.id=n,this.url=e}};re=class extends O{type=S.NavigationStart;navigationTrigger;restoredState;constructor(n,e,r=`imperative`,i=null){super(n,e),this.navigationTrigger=r,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}};P=class extends O{urlAfterRedirects;type=S.NavigationEnd;constructor(n,e,r){super(n,e),this.urlAfterRedirects=r}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}};E=(function(t){return t[t.Redirect=0]=`Redirect`,t[t.SupersededByNewNavigation=1]=`SupersededByNewNavigation`,t[t.NoDataFromResolver=2]=`NoDataFromResolver`,t[t.GuardRejected=3]=`GuardRejected`,t[t.Aborted=4]=`Aborted`,t})(E||{});we=(function(t){return t[t.IgnoredSameUrlNavigation=0]=`IgnoredSameUrlNavigation`,t[t.IgnoredByUrlHandlingStrategy=1]=`IgnoredByUrlHandlingStrategy`,t})(we||{});k=class extends O{reason;code;type=S.NavigationCancel;
1constructor(n,e,r,i){super(n,e),this.reason=r,this.code=i}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}};G=class extends O{reason;code;type=S.NavigationSkipped;constructor(n,e,r,i){super(n,e),this.reason=r,this.code=i}};he=class extends O{error;target;type=S.NavigationError;constructor(n,e,r,i){super(n,e),this.error=r,this.target=i}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}};Fe=class extends O{urlAfterRedirects;state;type=S.RoutesRecognized;constructor(n,e,r,i){super(n,e),this.urlAfterRedirects=r,this.state=i}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}};yt=class extends O{urlAfterRedirects;state;type=S.GuardsCheckStart;constructor(n,e,r,i){super(n,e),this.urlAfterRedirects=r,this.state=i}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}};Rt=class extends O{urlAfterRedirects;state;shouldActivate;type=S.GuardsCheckEnd;constructor(n,e,r,i,o){super(n,e),this.urlAfterRedirects=r,this.state=i,this.shouldActivate=o}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}};St=class extends O{urlAfterRedirects;state;type=S.ResolveStart;constructor(n,e,r,i){super(n,e),this.urlAfterRedirects=r,this.state=i}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}};Ct=class extends O{urlAfterRedirects;state;type=S.ResolveEnd;constructor(n,e,r,i){super(n,e),this.urlAfterRedirects=r,this.state=i}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}};wt=class{route;type=S.RouteConfigLoadStart;constructor(n){this.route=n}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}};bt=class{route;type=S.RouteConfigLoadEnd;constructor(n){this.route=n}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}};It=class{snapshot;type=S.ChildActivationStart;constructor(n){this.snapshot=n}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||``}')`}};Et=class{snapshot;type=S.ChildActivationEnd;constructor(n){this.snapshot=n}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||``}')`}};At=class{snapshot;type=S.ActivationStart;constructor(n){this.snapshot=n}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||``}')`}};Mt=class{snapshot;type=S.ActivationEnd;constructor(n){this.snapshot=n}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||``}')`}};be=class{routerEvent;position;anchor;scrollBehavior;type=S.Scroll;constructor(n,e,r,i){this.routerEvent=n,this.position=e,this.anchor=r,this.scrollBehavior=i}toString(){let n=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${n}')`}};Ie=class{};He=class{};Ee=class{url;navigationBehaviorOptions;constructor(n,e){this.url=n,this.navigationBehaviorOptions=e}};Nt=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return this.route?.snapshot._environmentInjector??this.rootInjector}constructor(n){this.rootInjector=n,this.children=new pe(this.rootInjector)}};pe=(()=>{class t{rootInjector;contexts=new Map;constructor(e){this.rootInjector=e}onChildOutletCreated(e,r){let i=this.getOrCreateContext(e);i.outlet=r,this.contexts.set(e,i)}onChildOutletDestroyed(e){let r=this.getContext(e);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){let e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let r=this.getContext(e);return r||(r=new Nt(this.rootInjector),this.contexts.set(e,r)),r}getContext(e){return this.contexts.get(e)||null}static ɵfac=function(r){return new(r||t)(le$1(me$1))};static ɵprov=K$1({token:t,factory:t.ɵfac,providedIn:`root`})}return t})();Tt=class{_root;constructor(n){this._root=n}get root(){return this._root.value}
1parent(n){let e=this.pathFromRoot(n);return e.length>1?e[e.length-2]:null}children(n){let e=lr(n,this._root);return e?e.children.map(r=>r.value):[]}firstChild(n){let e=lr(n,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(n){let e=dr(n,this._root);return e.length<2?[]:e[e.length-2].children.map(i=>i.value).filter(i=>i!==n)}pathFromRoot(n){return dr(n,this._root).map(e=>e.value)}};U=class{value;children;constructor(n,e){this.value=n,this.children=e}toString(){return`TreeNode(${this.value})`}};Be=class extends Tt{snapshot;constructor(n,e){super(n),this.snapshot=e,br(this,n)}toString(){return this.snapshot.toString()}};Y=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;resources;_localInjector;pending;paramsSignal;queryParamsSignal;paramMapSignal;queryParamMapSignal;fragmentSignal;dataSignal;constructor(n,e,r,i,o,s,c,a){this.urlSubject=n,this.paramsSubject=e,this.queryParamsSubject=r,this.fragmentSubject=i,this.dataSubject=o,this.outlet=s,this.component=c,this._futureSnapshot=a,this.title=this.dataSubject?.pipe(fe$1(u=>u[Qe]))??ta(void 0),this.url=n,this.params=e,this.queryParams=r,this.fragment=i,this.data=o}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(fe$1(n=>de(n))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(fe$1(n=>de(n))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}_setPending(n){this._futureSnapshot=n,this.pending?.set(!0)}};Yi=`always`;Ae=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;_environmentInjector;resources;get title(){return this.data?.[Qe]}constructor(n,e,r,i,o,s,c,a,u,h){this.url=n,this.params=e,this.queryParams=r,this.fragment=i,this.data=o,this.outlet=s,this.component=c,this.routeConfig=a,this._resolve=u,this._environmentInjector=h}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??=de(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=de(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(r=>r.toString()).join(`/`)}', path:'${this.routeConfig?this.routeConfig.path:``}')`}};Ve=class extends Tt{url;constructor(n,e){super(e),this.url=n,br(this,e)}toString(){return Hn(this._root)}};Vn=new S$1(``);Ir=(()=>{class t{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=p;activateEvents=new st;deactivateEvents=new st;attachEvents=new st;detachEvents=new st;routerOutletData=AB();parentContexts=M$1(pe);location=M$1(Ms);changeDetector=M$1(jB);inputBinder=M$1(Ke,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(e){if(e.name){let{firstChange:r,previousValue:i}=e.name;if(r)return;this.isTrackedInParentContexts(i)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(i)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(e){return this.parentContexts.getContext(e)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let e=this.parentContexts.getContext(this.name);e?.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new _(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new _(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new _(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 _(4013,!1);this._activatedRoute=e;let i=this.location,s=e.snapshot.component,c=this.parentContexts.getOrCreateContext(this.name).children,a=new fr(e,c,i.injector,this.routerOutletData);this.activated=i.createComponent(s,{index:i.length,injector:a,environmentInjector:r}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static ɵfac=function(r){return new(r||t)};static ɵdir=Rw({type:t,selectors:[[`router-outlet`]],inputs:{name:`name`,routerOutletData:[1,`routerOutletData`]},outputs:{activateEvents:`activate`,deactivateEvents:`deactivate`,attachEvents:`attach`,detachEvents:`detach`},exportAs:[`outlet`],features:[GI]})}return t})();fr=class{route;childContexts;parent;outletData;constructor(n,e,r,i){this.route=n,this.childContexts=e,this.parent=r,this.outletData=i}get(n,e){return n===Y?this.route:n===pe?this.childContexts:n===Vn?this.outletData:this.parent.get(n,e)}};Ke=new S$1(``);Gn=(()=>{class t{options;outletDataSubscriptions=new Map;outletSeenKeys=new Map;constructor(e){this.options=e,this.options.queryParams??=!0}bindActivatedRouteToOutletComponent(e){this.unsubscribeFromRouteData(e),this.subscribeToRouteData(e)}unsubscribeFromRouteData(e){this.outletDataSubscriptions.get(e)?.unsubscribe(),this.outletDataSubscriptions.delete(e),this.outletSeenKeys.delete(e)}subscribeToRouteData(e){let{activatedRoute:r}=e,i=Ky([this.options.queryParams?r.queryParams:ta({}),r.params,r.data]).pipe(kd(([o,s,c],a)=>(c=W(W(W({},o),s),c),a===0?ta(c):Promise.resolve(c)))).subscribe(o=>{if(!e.isActivated||!e.activatedComponentRef||e.activatedRoute!==r||r.component===null){this.unsubscribeFromRouteData(e);return}let s=qB(r.component);if(!s){this.unsubscribeFromRouteData(e);return}let c=this.outletSeenKeys.get(e);c||(c=new Set,this.outletSeenKeys.set(e,c));for(let u of Object.keys(o))c.add(u);let a=this.options.unmatchedInputBehavior??`alwaysUndefined`;for(let{templateName:u}of s.inputs){let h=o[u];(h!==void 0||a===`alwaysUndefined`||c.has(u))&&e.activatedComponentRef.setInput(u,h)}});this.outletDataSubscriptions.set(e,i)}static ɵfac=function(r){zb()};static ɵprov=K$1({token:t,factory:t.ɵfac})}return t})();Er=(()=>{class t{static ɵfac=function(r){return new(r||t)};static ɵcmp=Sw({type:t,selectors:[[`ng-component`]],exportAs:[`emptyRouterOutlet`],decls:1,vars:0,template:function(r,i){r&1&&am(0,`router-outlet`)},dependencies:[Ir],encapsulation:2,changeDetection:1})}return t})();Me=class{redirectTo;navigationBehaviorOptions;constructor(n,e){this.redirectTo=n,this.navigationBehaviorOptions=e}};Wn=`ngNavigationCancelingError`;pr=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(n,e,r,i,o){this.routeReuseStrategy=n,this.futureState=e,this.currState=r,this.forwardEvent=i,this.inputBindingEnabled=o}activate(n){let e=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,r,n),nr(this.futureState.root),this.activateChildRoutes(e,r,n)}deactivateChildRoutes(n,e,r){let i=me(e);
1n.children.forEach(o=>{let s=o.value.outlet;this.deactivateRoutes(o,i[s],r),delete i[s]}),Object.values(i).forEach(o=>{this.deactivateRouteAndItsChildren(o,r)})}deactivateRoutes(n,e,r){let i=n.value,o=e?e.value:null;if(i===o)if(i.component){let s=r.getContext(i.outlet);s&&this.deactivateChildRoutes(n,e,s.children)}else this.deactivateChildRoutes(n,e,r);else o&&this.deactivateRouteAndItsChildren(e,r)}deactivateRouteAndItsChildren(n,e){n.value.component&&this.routeReuseStrategy.shouldDetach(n.value.snapshot)?this.detachAndStoreRouteSubtree(n,e):this.deactivateRouteAndOutlet(n,e)}detachAndStoreRouteSubtree(n,e){let r=e.getContext(n.value.outlet),i=r&&n.value.component?r.children:e,o=me(n);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);if(r&&r.outlet){let s=r.outlet.detach(),c=r.children.onOutletDeactivated();this.routeReuseStrategy.store(n.value.snapshot,{componentRef:s,route:n,contexts:c})}}deactivateRouteAndOutlet(n,e){let r=e.getContext(n.value.outlet),i=r&&n.value.component?r.children:e,o=me(n);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);r&&(r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated()),r.attachRef=null,r.route=null),n.value._localInjector?.destroy()}activateChildRoutes(n,e,r){let i=me(e);n.children.forEach(o=>{this.activateRoutes(o,i[o.value.outlet],r),this.forwardEvent(new Mt(o.value.snapshot))}),n.children.length&&this.forwardEvent(new Et(n.value.snapshot))}activateRoutes(n,e,r){let i=n.value,o=e?e.value:null;if(nr(i),i===o)if(i.component){let s=r.getOrCreateContext(i.outlet);this.activateChildRoutes(n,e,s.children)}else this.activateChildRoutes(n,e,r);else if(i.component){let s=r.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){let c=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),s.children.onOutletReAttached(c.contexts),s.attachRef=c.componentRef,s.route=c.route.value,s.outlet&&s.outlet.attach(c.componentRef,c.route.value),nr(c.route.value),this.activateChildRoutes(n,null,s.children)}else s.attachRef=null,s.route=i,s.outlet&&s.outlet.activateWith(i,s.injector),this.activateChildRoutes(n,null,s.children)}else this.activateChildRoutes(n,null,r)}};Dt=class{path;route;constructor(n){this.path=n,this.route=this.path[this.path.length-1]}};Se=class{component;route;constructor(n,e){this.component=n,this.route=e}};dt=Symbol(`INITIAL_VALUE`);Q=class t extends Error{segmentGroup;constructor(n){super(),this.segmentGroup=n||null,Object.setPrototypeOf(this,t.prototype)}};We=class t extends Error{urlTree;constructor(n){super(),this.urlTree=n,Object.setPrototypeOf(this,t.prototype)}};gr=class{urlSerializer;urlTree;constructor(n,e){this.urlSerializer=n,this.urlTree=e}lineralizeSegments(n,e){return Dn$1(this,null,function*(){let r=[],i=e.root;for(;;){if(r=r.concat(i.segments),i.numberOfChildren===0)return r;if(i.numberOfChildren>1||!i.children[p])throw bo(`${n.redirectTo}`);i=i.children[p]}})}applyRedirectCommands(n,e,r,i,o){return Dn$1(this,null,function*(){let s=yield Eo(e,i,o);if(s instanceof M)throw new We(s);let c=this.applyRedirectCreateUrlTree(s,this.urlSerializer.parse(s),n,r);if(s[0]===`/`)throw new We(c);return c})}applyRedirectCreateUrlTree(n,e,r,i){return new M(this.createSegmentGroup(n,e.root,r,i),this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(n,e){let r={};return Object.entries(n).forEach(([i,o])=>{if(typeof o==`string`&&o[0]===`:`){let c=o.substring(1);r[i]=e[c]}else r[i]=o}),r}createSegmentGroup(n,e,r,i){let o=this.createSegments(n,e.segments,r,i),s=Object.create(null);return Object.entries(e.children).forEach(([c,a])=>{s[c]=this.createSegmentGroup(n,a,r,i)}),new m(o,s)}createSegments(n,e,r,i){return e.map(o=>o.path[0]===`:`?this.findPosParam(n,o,i):this.findOrReturn(o,r))}findPosParam(n,e,r){let i=r[e.path.substring(1)];if(!i)throw new _(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}};vr={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};mr=class{};Lo=31;yr=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;abortSignal;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(n,e,r,i,o,s,c,a){this.injector=n,this.configLoader=e,this.rootComponentType=r,this.config=i,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer
1=c,this.abortSignal=a,this.applyRedirects=new gr(this.urlSerializer,this.urlTree)}noMatchError(n){return new _(4002,`'${n.segmentGroup}'`)}recognize(){return Dn$1(this,null,function*(){let n=bn(this.urlTree.root,[],[],this.config).segmentGroup,{children:e,rootSnapshot:r}=yield this.match(n),o=new Ve(``,new U(r,e)),s=jn(r,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),{state:o,tree:s}})}match(n){return Dn$1(this,null,function*(){let e=new Ae([],Object.freeze({}),Object.freeze(W({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),p,this.rootComponentType,null,{},this.injector);try{return{children:yield this.processSegmentGroup(this.injector,this.config,n,p,e),rootSnapshot:e}}catch(r){if(r instanceof We)return this.urlTree=r.urlTree,this.match(r.urlTree.root);throw r instanceof Q?this.noMatchError(r):r}})}processSegmentGroup(n,e,r,i,o){return Dn$1(this,null,function*(){if(r.segments.length===0&&r.hasChildren())return this.processChildren(n,e,r,o);let s=yield this.processSegment(n,e,r,r.segments,i,!0,o);return s instanceof U?[s]:[]})}processChildren(n,e,r,i){return Dn$1(this,null,function*(){let o=[];for(let a of Object.keys(r.children))a===`primary`?o.unshift(a):o.push(a);let s=[];for(let a of o){let u=r.children[a],h=Mo(e,a),v=yield this.processSegmentGroup(n,h,u,a,i);s.push(...v)}let c=ri(s);return jo(c),c})}processSegment(n,e,r,i,o,s,c){return Dn$1(this,null,function*(){for(let a of e)try{return yield this.processSegmentAgainstRoute(a._injector??n,e,a,r,i,o,s,c)}catch(u){if(u instanceof Q||Yn(u))continue;throw u}if(Oo(r,i,o))return new mr;throw new Q(r)})}processSegmentAgainstRoute(n,e,r,i,o,s,c,a){return Dn$1(this,null,function*(){if(q(r)!==s&&(s===p||!Ot(i,o,r)))throw new Q(i);if(r.redirectTo===void 0)return this.matchSegmentAgainstRoute(n,i,r,o,s,a);if(this.allowRedirects&&c)return this.expandSegmentAgainstRouteUsingRedirect(n,i,e,r,o,s,a);throw new Q(i)})}expandSegmentAgainstRouteUsingRedirect(n,e,r,i,o,s,c){return Dn$1(this,null,function*(){let{matched:a,parameters:u,consumedSegments:h,positionalParamSegments:v,remainingSegments:g}=ti(e,i,o);if(!a)throw new Q(e);typeof i.redirectTo==`string`&&i.redirectTo[0]===`/`&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>Lo&&(this.allowRedirects=!1));let N=this.createSnapshot(n,i,o,u,c);if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);let $=yield this.applyRedirects.applyRedirectCommands(h,i.redirectTo,v,ei(N),n),oe=yield this.applyRedirects.lineralizeSegments(i,$);return this.processSegment(n,r,e,oe.concat(g),s,!1,c)})}createSnapshot(n,e,r,i,o){let s=new Ae(r,i,Object.freeze(W({},this.urlTree.queryParams)),this.urlTree.fragment,ko(e),q(e),e.component??e._loadedComponent??null,e,$o(e),n),c=wr(s,o,this.paramsInheritanceStrategy);return s.params=Object.freeze(c.params),s.data=Object.freeze(c.data),s}matchSegmentAgainstRoute(n,e,r,i,o,s){return Dn$1(this,null,function*(){if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);let c=se=>this.createSnapshot(n,r,se.consumedSegments,se.parameters,s),a=yield gt(No(e,r,i,n,this.urlSerializer,c,this.abortSignal));if(r.path===`**`&&(e.children={}),!a?.matched)throw new Q(e);n=r._injector??n;let{routes:u}=yield this.getChildConfig(n,r,i),h=r._loadedInjector??n,{parameters:v,consumedSegments:g,remainingSegments:N}=a,$=this.createSnapshot(n,r,g,v,s),{segmentGroup:oe,slicedSegments:De}=bn(e,g,N,u,o);if(De.length===0&&oe.hasChildren())return new U($,yield this.processChildren(h,u,oe,$));if(u.length===0&&De.length===0)return new U($,[]);let zt=q(r)===o,Xe=yield this.processSegment(h,u,oe,De,zt?p:o,!0,$);return new U($,Xe instanceof U?[Xe]:[])})}getChildConfig(n,e,r){return Dn$1(this,null,function*(){if(e.children)return{routes:e.children,injector:n};if(e.loadChildren){if(e._loadedRoutes!==void 0){let o=e._loadedNgModuleFactory;return o&&!e._loadedInjector&&(e._loadedInjector=o.create(n).injector),{routes:e._loadedRoutes,injector:e._loadedInjector}}
1if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);if(yield gt(Co(n,e,r,this.urlSerializer,this.abortSignal))){let o=yield this.configLoader.loadChildren(n,e);return e._loadedRoutes=o.routes,e._loadedInjector=o.injector,e._loadedNgModuleFactory=o.factory,o}throw Io(e)}return{routes:[],injector:n}})}};ii=new S$1(``);Mr=(()=>{class t{buildTitle(e){let r,i=e.root;for(;i!==void 0;)r=this.getResolvedTitleForRoute(i)??r,i=i.children.find(o=>o.outlet===p);return r}getResolvedTitleForRoute(e){return e.data[Qe]}static ɵfac=function(r){return new(r||t)};static ɵprov=to$1({token:t,factory:()=>M$1(oi)})}return t})();oi=(()=>{class t extends Mr{title;constructor(e){super(),this.title=e}updateTitle(e){let r=this.buildTitle(e);r!==void 0&&this.title.setTitle(r)}static ɵfac=function(r){return new(r||t)(le$1(ho$1))};static ɵprov=K$1({token:t,factory:t.ɵfac,providedIn:`root`})}return t})();ie=new S$1(``,{factory:()=>({})});_e=new S$1(``);Pt=(()=>{class t{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=M$1(r_);loadComponent(e,r){return Dn$1(this,null,function*(){if(this.componentLoaders.get(r))return this.componentLoaders.get(r);if(r._loadedComponent)return Promise.resolve(r._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(r);let i=Dn$1(this,null,function*(){try{let s=yield ai(SB(yield Mn(Ii$1(e,()=>r.loadComponent()))));return this.onLoadEndListener&&this.onLoadEndListener(r),r._loadedComponent=s,s}finally{this.componentLoaders.delete(r)}});return this.componentLoaders.set(r,i),i})}loadChildren(e,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return Promise.resolve({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);let i=Dn$1(this,null,function*(){try{let o=yield si(r,this.compiler,e,this.onLoadEndListener);return r._loadedRoutes=o.routes,r._loadedInjector=o.injector,r._loadedNgModuleFactory=o.factory,o}finally{this.childrenLoaders.delete(r)}});return this.childrenLoaders.set(r,i),i}static ɵfac=function(r){return new(r||t)};static ɵprov=to$1({token:t,factory:t.ɵfac})}return t})();Lt=(()=>{class t{static ɵfac=function(r){return new(r||t)};static ɵprov=to$1({token:t,factory:()=>M$1(Vo)})}return t})();Vo=(()=>{class t{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,r){return e}static ɵfac=function(r){return new(r||t)};static ɵprov=to$1({token:t,factory:t.ɵfac})}return t})();Nr=new S$1(``);Tr=new S$1(``);Wo=()=>{};_r=new S$1(``);jt=(()=>{class t{currentNavigation=Ri$1(null,{equal:()=>!1});currentTransition=null;lastSuccessfulNavigation=Ri$1(null);events=new ee$1;transitionAbortWithErrorSubject=new ee$1;configLoader=M$1(Pt);environmentInjector=M$1(me$1);destroyRef=M$1(be$1);urlSerializer=M$1(ne);rootContexts=M$1(pe);location=M$1(xe$2);inputBindingEnabled=M$1(Ke,{optional:!0})!==null;titleStrategy=M$1(Mr);options=M$1(ie,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||Yi;urlHandlingStrategy=M$1(Lt);createViewTransition=M$1(Nr,{optional:!0});navigationErrorHandler=M$1(_r,{optional:!0});routerResourcesFeature=M$1(ii,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>ta(void 0);rootComponentType=null;destroyed=!1;constructor(){let e=i=>this.events.next(new wt(i)),r=i=>this.events.next(new bt(i));this.configLoader.onLoadEndListener=r,this.configLoader.onLoadStartListener=e,this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(e){let r=++this.navigationId;Jm(()=>{this.transitions?.next(X(W({},e),{extractedUrl:this.urlHandlingStrategy.extract(e.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,id:r,routesRecognizeHandler:{},beforeActivateHandler:{}}))})}setupNavigations(e){return this.transitions=new sr$1(null),this.transitions.pipe(yt$1(r=>r!==null),kd(r=>{let i=!0,o=!1,s=new AbortController,c=()=>!o&&this.currentTransition?.id===r.id;return ta(r).pipe(kd(a=>{if(this.navigationId>r.id)return this.cancelNavigationTransition(r,``,E.SupersededByNewNavigation),Se$1;this.currentTransition=r;let u=this.lastSuccessfulNavigation();this.currentNavigation.set({id:a.id,initialUrl:a.rawUrl,extractedUrl:a.extractedUrl,targetBrowserUrl:typeof a.extras.browserUrl==`string`?this.urlSerializer.parse(a.extras.browserUrl):a.extras.browserUrl,trigger:a.source,extras:a.extras,previousNavigation:u?X(W({},u),{previousNavigation:null}):null,abort:()=>s.abort(),routesRecognizeHandler:a.routesRecognizeHandler,beforeActivateHandler:a.beforeActivateHandler});let h=!e.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),v=a.extras.onSameUrlNavigation??e.onSameUrlNavigation;if(!h&&v!==`reload`)return this.events.next(new G(a.id,this.urlSerializer.serialize(a.rawUrl),``,we.IgnoredSameUrlNavigation)),a.resolve(!1),Se$1;if(this.urlHandlingStrategy.shouldProcessUrl(a.rawUrl))return ta(a).pipe(kd(g=>(this.events.next(new re(g.id,this.urlSerializer.serialize(g.extractedUrl),g.source,g.restoredState)),g.id!==this.navigationId?Se$1:Promise.resolve(g))),zo(this.environmentInjector,this.configLoader,this.rootComponentType,e.config,this.urlSerializer,this.paramsInheritanceStrategy,s.signal),Dd(g=>{r.targetSnapshot=g.targetSnapshot,r.urlAfterRedirects=g.urlAfterRedirects,this.currentNavigation.update(N=>(N.finalUrl=g.urlAfterRedirects,N)),this.events.next(new He)}),kd(g=>Ve$1(r.routesRecognizeHandler.deferredHandle??ta(void 0)).pipe(fe$1(()=>g))),Dd(()=>{let g=new Fe(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(g)}));if(h&&this.urlHandlingStrategy.shouldProcessUrl(a.currentRawUrl)){let{id:g,extractedUrl:N,source:$,restoredState:oe,extras:De}=a,zt=new re(g,this.urlSerializer.serialize(N),$,oe);this.events.next(zt);let Xe=Fn(this.rootComponentType,this.environmentInjector).snapshot;return this.currentTransition=r=X(W({},a),{targetSnapshot:Xe,urlAfterRedirects:N,extras:X(W({},De),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.update(se=>(se.finalUrl=N,se)),ta(r)}else return this.events.next(new G(a.id,this.urlSerializer.serialize(a.extractedUrl),``,we.IgnoredByUrlHandlingStrategy)),a.resolve(!1),Se$1}),fe$1(a=>{let u=new yt(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);return this.events.next(u),this.currentTransition=r=X(W({},a),{guards:to(a.targetSnapshot,a.currentSnapshot,this.rootContexts)}),r}),fo(a=>this.events.next(a)),kd(a=>{if(r.guardsResult=a.guardsResult,a.guardsResult&&typeof a.guardsResult!=`boolean`)throw _t(this.urlSerializer,a.guardsResult);
1let u=new Rt(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot,!!a.guardsResult);if(this.events.next(u),!c())return Se$1;if(!a.guardsResult)return this.cancelNavigationTransition(a,``,E.GuardRejected),Se$1;if(a.guards.canActivateChecks.length===0)return ta(a);let h=new St(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);if(this.events.next(h),!c())return Se$1;let v=!1;return ta(a).pipe(qo(this.paramsInheritanceStrategy),Dd({next:()=>{v=!0;let g=new Ct(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(g)},complete:()=>{v||this.cancelNavigationTransition(a,``,E.NoDataFromResolver)}}))}),Rr(a=>{let u=v=>{let g=[];if(v.routeConfig?._loadedComponent)v.component=v.routeConfig?._loadedComponent;else if(v.routeConfig?.loadComponent){let N=v._environmentInjector;g.push(this.configLoader.loadComponent(N,v.routeConfig).then($=>{v.component=$}))}for(let N of v.children)g.push(...u(N));return g},h=u(a.targetSnapshot.root);return h.length===0?ta(a):Ve$1(Promise.all(h).then(()=>a))}),kd(a=>{let{newlyCreatedRoutes:u,state:h}=Zi(e.routeReuseStrategy,a.targetSnapshot,a.currentRouterState);return this.currentTransition=r=a=X(W({},a),{targetRouterState:h,newlyCreatedRoutes:u}),this.currentNavigation.update(v=>(v.targetRouterState=h,v)),ta(a)}),this.routerResourcesFeature?.setupAndRunResources(s.signal)??(a=>a),Rr(()=>this.afterPreactivation()),kd(()=>{let{currentSnapshot:a,targetSnapshot:u}=r,h=this.createViewTransition?.(this.environmentInjector,a.root,u.root);return h?Ve$1(h).pipe(fe$1(()=>r)):ta(r)}),jt$1(1),kd(a=>{i=!1,this.events.next(new Ie);let u=r.beforeActivateHandler.deferredHandle;return u?Ve$1(u.then(()=>a)):ta(a)}),Dd(a=>{new pr(e.routeReuseStrategy,r.targetRouterState,r.currentRouterState,u=>this.events.next(u),this.inputBindingEnabled).activate(this.rootContexts),a.newlyCreatedRoutes?.clear(),c()&&(ui(a.targetRouterState),o=!0,this.currentNavigation.update(u=>(u.abort=Wo,u)),this.lastSuccessfulNavigation.set(Jm(this.currentNavigation)),this.events.next(new P(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects))),this.titleStrategy?.updateTitle(a.targetRouterState.snapshot),a.resolve(!0))}),Ed(Zn(s.signal).pipe(yt$1(()=>!o&&i),Dd(()=>{this.cancelNavigationTransition(r,s.signal.reason+``,E.Aborted)}))),Dd({complete:()=>{o=!0}}),Ed(this.transitionAbortWithErrorSubject.pipe(Dd(a=>{throw a}))),Rd(()=>{s.abort(),o||this.cancelNavigationTransition(r,``,E.SupersededByNewNavigation),this.currentTransition?.id===r.id&&(this.currentNavigation.set(null),this.currentTransition=null)}),Ys(a=>{if(o=!0,In(r),this.destroyed)return r.resolve(!1),Se$1;if(Kn(a))this.events.next(new k(r.id,this.urlSerializer.serialize(r.extractedUrl),a.message,a.cancellationCode)),eo(a)?this.events.next(new Ee(a.url,a.navigationBehaviorOptions)):r.resolve(!1);else{let u=new he(r.id,this.urlSerializer.serialize(r.extractedUrl),a,r.targetSnapshot??void 0);try{let h=Ii$1(this.environmentInjector,()=>this.navigationErrorHandler?.(u));if(h instanceof Me){let{message:v,cancellationCode:g}=_t(this.urlSerializer,h);this.events.next(new k(r.id,this.urlSerializer.serialize(r.extractedUrl),v,g)),this.events.next(new Ee(h.redirectTo,h.navigationBehaviorOptions))}else throw this.events.next(u),a}catch(h){this.options.resolveNavigationPromiseOnError?r.resolve(!1):r.reject(h)}}return Se$1}))}))}cancelNavigationTransition(e,r,i){In(e);let o=new k(e.id,this.urlSerializer.serialize(e.extractedUrl),r,i);this.events.next(o),e.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let e=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),r=Jm(this.currentNavigation),i=r?.targetBrowserUrl??r?.extractedUrl;return e.toString()!==i?.toString()&&!r?.extras.skipLocationChange}static ɵfac=function(r){return new(r||t)};static ɵprov=to$1({token:t,factory:t.ɵfac})}return t})();li=new S$1(``);di=(()=>{class t{static ɵfac=function(r){return new(r||t)};static ɵprov=to$1({token:t,factory:()=>M$1(Ko)})}return t})();Ut=class{shouldDetach(n){return!1}store(n,e){}shouldAttach(n){return!1}retrieve(n){return null}
1shouldReuseRoute(n,e){return n.routeConfig===e.routeConfig}shouldDestroyInjector(n){return!0}};Ko=(()=>{class t extends Ut{static ɵfac=function(r){return new(r||t)};static ɵprov=to$1({token:t,factory:t.ɵfac})}return t})();xt=(()=>{class t{urlSerializer=M$1(ne);options=M$1(ie,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||`replace`;location=M$1(xe$2);urlHandlingStrategy=M$1(Lt);urlUpdateStrategy=this.options.urlUpdateStrategy||`deferred`;currentUrlTree=new M;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl:e,initialUrl:r,targetBrowserUrl:i}){let o=e!==void 0?this.urlHandlingStrategy.merge(e,r):r,s=i??o;return s instanceof M?this.urlSerializer.serialize(s):s}routerUrlState(e){return e?.targetBrowserUrl===void 0||e?.finalUrl===void 0?{}:{ɵrouterUrl:this.urlSerializer.serialize(e.finalUrl)}}commitTransition({targetRouterState:e,finalUrl:r,initialUrl:i}){r&&e?(this.currentUrlTree=r,this.rawUrlTree=this.urlHandlingStrategy.merge(r,i),this.routerState=e):this.rawUrlTree=i}routerState=Fn(null,M$1(me$1));getRouterState(){return this.routerState}_stateMemento=this.createStateMemento();get stateMemento(){return this._stateMemento}updateStateMemento(){this._stateMemento=this.createStateMemento()}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}restoredState(){return this.location.getState()}static ɵfac=function(r){return new(r||t)};static ɵprov=to$1({token:t,factory:()=>M$1(Yo)})}return t})();Yo=(()=>{class t extends xt{currentPageId=0;lastSuccessfulId=-1;get browserPageId(){return this.canceledNavigationResolution!==`computed`?this.currentPageId:this.restoredState()?.ɵrouterPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(e){return this.location.subscribe(r=>{r.type===`popstate`&&setTimeout(()=>{e(r.url,r.state,`popstate`,{replaceUrl:!0})})})}handleRouterEvent(e,r){e instanceof re?this.updateStateMemento():e instanceof G?this.commitTransition(r):e instanceof Fe?this.urlUpdateStrategy===`eager`&&(r.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(r),r)):e instanceof Ie?(this.commitTransition(r),this.urlUpdateStrategy===`deferred`&&!r.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(r),r)):e instanceof k&&!qn(e)?this.restoreHistory(r):e instanceof he?this.restoreHistory(r,!0):e instanceof P&&(this.lastSuccessfulId=e.id,this.currentPageId=this.browserPageId)}setBrowserUrl(e,r){let{extras:i,id:o}=r,{replaceUrl:s,state:c}=i;
1if(this.location.isCurrentPathEqualTo(e)||s){let a=this.browserPageId,u=W(W({},c),this.generateNgRouterState(o,a,r));this.location.replaceState(e,``,u)}else{let a=W(W({},c),this.generateNgRouterState(o,this.browserPageId+1,r));this.location.go(e,``,a)}}restoreHistory(e,r=!1){if(this.canceledNavigationResolution===`computed`){let i=this.browserPageId,o=this.currentPageId-i;o!==0?this.location.historyGo(o):this.getCurrentUrlTree()===e.finalUrl&&o===0&&(this.resetInternalState(e),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution===`replace`&&(r&&this.resetInternalState(e),this.resetUrlToCurrentUrlTree())}resetInternalState({finalUrl:e}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),``,this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(e,r,i){return this.canceledNavigationResolution===`computed`?W({navigationId:e,ɵrouterPageId:r},this.routerUrlState(i)):W({navigationId:e},this.routerUrlState(i))}static ɵfac=function(r){return new(r||t)};static ɵprov=to$1({token:t,factory:t.ɵfac})}return t})();F=(()=>{class t{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=M$1(hT);stateManager=M$1(xt);options=M$1(ie,{optional:!0})||{};pendingTasks=M$1(St$1);urlUpdateStrategy=this.options.urlUpdateStrategy||`deferred`;navigationTransitions=M$1(jt);urlSerializer=M$1(ne);location=M$1(xe$2);urlHandlingStrategy=M$1(Lt);injector=M$1(me$1);_events=new ee$1;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=M$1(di);injectorCleanup=M$1(li,{optional:!0});onSameUrlNavigation=this.options.onSameUrlNavigation||`ignore`;config=M$1(_e,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!M$1(Ke,{optional:!0});currentNavigation=this.navigationTransitions.currentNavigation.asReadonly();constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:e=>{}}),this.subscribeToNavigationEvents()}eventsSubscription=new H;subscribeToNavigationEvents(){let e=this.navigationTransitions.events.subscribe(r=>{try{let i=this.navigationTransitions.currentTransition,o=Jm(this.navigationTransitions.currentNavigation);if(i!==null&&o!==null){if(this.stateManager.handleRouterEvent(r,o),r instanceof k&&r.code!==E.Redirect&&r.code!==E.SupersededByNewNavigation)this.navigated=!0;else if(r instanceof P)this.navigated=!0,this.injectorCleanup?.(this.routeReuseStrategy,this.routerState,this.config);else if(r instanceof Ee){let s=r.navigationBehaviorOptions,c=this.urlHandlingStrategy.merge(r.url,i.currentRawUrl),a=W({scroll:i.extras.scroll,browserUrl:i.extras.browserUrl,info:i.extras.info,skipLocationChange:i.extras.skipLocationChange,replaceUrl:i.extras.replaceUrl||this.urlUpdateStrategy===`eager`||Qo(i.source)},s);this.scheduleNavigation(c,Re,null,a,{resolve:i.resolve,reject:i.reject,promise:i.promise})}}Qi(r)&&this._events.next(r)}catch(i){this.navigationTransitions.transitionAbortWithErrorSubject.next(i)}});this.eventsSubscription.add(e)}resetRootComponentType(e){this.routerState.root.component=e,this.navigationTransitions.rootComponentType=e}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Re,this.stateManager.restoredState(),{replaceUrl:!0})}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((e,r,i,o)=>{this.navigateToSyncWithBrowser(e,i,r,o)})}navigateToSyncWithBrowser(e,r,i,o){let s=i?.navigationId?i:null,c=i?.ɵrouterUrl??e;if(i?.ɵrouterUrl&&(o=X(W({},o),{browserUrl:e})),i){let u=W({},i);delete u.navigationId,delete u.ɵrouterPageId,delete u.ɵrouterUrl,Object.keys(u).length!==0&&(o.state=u)}let a=this.parseUrl(c);this.scheduleNavigation(a,r,s,o).catch(u=>{this.disposed||this.injector.get(rn)(u)})}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return Jm(this.navigationTransitions.currentNavigation)}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(e){this.config=e.map(Ar),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription?.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0,this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(e,r={}){let{relativeTo:i,queryParams:o,fragment:s,queryParamsHandling:c,preserveFragment:a}=r,u=a?this.currentUrlTree.fragment:s,h=null;switch(c??this.options.defaultQueryParamsHandling){case`merge`:h=W(W({},this.currentUrlTree.queryParams),o);break;case`preserve`:h=this.currentUrlTree.queryParams;break;default:h=o||null}h!==null&&(h=this.removeEmptyProps(h));let v;try{v=xn(i?i.snapshot:this.routerState.snapshot.root)}catch(g){(typeof e[0]!=`string`||e[0][0]!==`/`)&&(e=[]),v=this.currentUrlTree.root}return kn(v,e,h,u??null,this.urlSerializer)}navigateByUrl(e,r={skipLocationChange:!1}){let i=te(e)?e:this.parseUrl(e),o=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(o,Re,null,r)}navigate(e,r={skipLocationChange:!1}){return Zo(e),this.navigateByUrl(this.createUrlTree(e,r),r)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){try{return this.urlSerializer.parse(e)}catch(r){return this.console.warn(Tr$1(4018,!1)),this.urlSerializer.parse(`/`)}}isActive(e,r){let i;if(r===!0?i=W({},Sr):r===!1?i=W({},Ce):i=W(W({},Ce),r),te(e))return sr(this.currentUrlTree,e,i);let o=this.parseUrl(e);return sr(this.currentUrlTree,o,i)}removeEmptyProps(e){return Object.entries(e).reduce((r,[i,o])=>(o!=null&&(r[i]=o),r),{})}
1scheduleNavigation(e,r,i,o,s){if(this.disposed)return Promise.resolve(!1);let c,a,u;s?(c=s.resolve,a=s.reject,u=s.promise):u=new Promise((v,g)=>{c=v,a=g});let h=this.pendingTasks.add();return kt(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(h))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:e,extras:o,resolve:c,reject:a,promise:u,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),u.catch(Promise.reject.bind(Promise))}static ɵfac=function(r){return new(r||t)};static ɵprov=to$1({token:t,factory:t.ɵfac})}return t})();Jo=(()=>{class t{router=M$1(F);stateManager=M$1(xt);fragment=Ri$1(``);queryParams=Ri$1({});path=Ri$1(``);serializer=M$1(ne);constructor(){this.updateState(),this.router.events?.subscribe(e=>{e instanceof P&&this.updateState()})}updateState(){let{fragment:e,root:r,queryParams:i}=this.stateManager.getCurrentUrlTree();this.fragment.set(e),this.queryParams.set(i),this.path.set(this.serializer.serialize(new M(r)))}static ɵfac=function(r){return new(r||t)};static ɵprov=to$1({token:t,factory:t.ɵfac})}return t})();$t=(()=>{class t{router;route;tabIndexAttribute;renderer;el;locationStrategy;hrefAttributeValue=M$1(new Xm(`href`),{optional:!0});reactiveHref=l_(()=>this.isAnchorElement?this.computeHref(this._urlTree()):this.hrefAttributeValue);get href(){return Jm(this.reactiveHref)}set href(e){this.reactiveHref.set(e)}set target(e){this._target.set(e)}get target(){return Jm(this._target)}_target=Ri$1(void 0);set queryParams(e){this._queryParams.set(e)}get queryParams(){return Jm(this._queryParams)}_queryParams=Ri$1(void 0,{equal:()=>!1});set fragment(e){this._fragment.set(e)}get fragment(){return Jm(this._fragment)}_fragment=Ri$1(void 0);set queryParamsHandling(e){this._queryParamsHandling.set(e)}get queryParamsHandling(){return Jm(this._queryParamsHandling)}_queryParamsHandling=Ri$1(void 0);set state(e){this._state.set(e)}get state(){return Jm(this._state)}_state=Ri$1(void 0,{equal:()=>!1});set info(e){this._info.set(e)}get info(){return Jm(this._info)}_info=Ri$1(void 0,{equal:()=>!1});set relativeTo(e){this._relativeTo.set(e)}get relativeTo(){return Jm(this._relativeTo)}_relativeTo=Ri$1(void 0);set preserveFragment(e){this._preserveFragment.set(e)}get preserveFragment(){return Jm(this._preserveFragment)}_preserveFragment=Ri$1(!1);set skipLocationChange(e){this._skipLocationChange.set(e)}get skipLocationChange(){return Jm(this._skipLocationChange)}_skipLocationChange=Ri$1(!1);set replaceUrl(e){this._replaceUrl.set(e)}get replaceUrl(){return Jm(this._replaceUrl)}_replaceUrl=Ri$1(!1);browserUrl=AB(void 0);isAnchorElement;onChanges=new ee$1;applicationErrorHandler=M$1(rn);options=M$1(ie,{optional:!0});reactiveRouterState=M$1(Jo);constructor(e,r,i,o,s,c){this.router=e,this.route=r,this.tabIndexAttribute=i,this.renderer=o,this.el=s,this.locationStrategy=c;let a=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement=a===`a`||a===`area`||!!(typeof customElements==`object`&&customElements.get(a)?.observedAttributes?.includes?.(`href`))}setTabIndexIfNotOnNativeEl(e){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue(`tabindex`,e)}ngOnChanges(e){this.onChanges.next(this)}routerLinkInput=Ri$1(null);set routerLink(e){e==null?(this.routerLinkInput.set(null),this.setTabIndexIfNotOnNativeEl(null)):(te(e)?this.routerLinkInput.set(e):this.routerLinkInput.set(Array.isArray(e)?e:[e]),this.setTabIndexIfNotOnNativeEl(`0`))}onClick(e,r,i,o,s){let c=this._urlTree();if(c===null||this.isAnchorElement&&(e!==0||r||i||o||s||typeof this.target==`string`&&this.target!=`_self`))return!0;let a=this.browserUrl(),u=W({skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info},a!==void 0&&{browserUrl:a});return this.router.navigateByUrl(c,u)?.catch(h=>{this.applicationErrorHandler(h)}),!this.isAnchorElement}ngOnDestroy(){}applyAttributeValue(e,r){let i=this.renderer,o=this.el.nativeElement;r!==null?i.setAttribute(o,e,r):i.removeAttribute(o,e)}_urlTree=a_(()=>{this.reactiveRouterState.path(),this._preserveFragment()&&this.reactiveRouterState.fragment();let e=i=>i===`preserve`||i===`merge`;(e(this._queryParamsHandling())||e(this.options?.defaultQueryParamsHandling))&&this.reactiveRouterState.queryParams();let r=this.routerLinkInput();return r===null||!this.router.createUrlTree?null:te(r)?r:this.router.createUrlTree(r,{relativeTo:this._relativeTo()!==void 0?this._relativeTo():this.route,queryParams:this._queryParams(),fragment:this._fragment(),queryParamsHandling:this._queryParamsHandling(),preserveFragment:this._preserveFragment()})},{equal:(e,r)=>this.computeHref(e)===this.computeHref(r)});get urlTree(){return Jm(this._urlTree)}computeHref(e){return e!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(e))??``:null}static ɵfac=function(r){return new(r||t)(so$1(F),so$1(Y),th(`tabindex`),so$1(Yc),so$1(no$1),so$1(j))};static ɵdir=Rw({type:t,selectors:[[``,`routerLink`,``]],hostVars:2,hostBindings:function(r,i){r&1&&pm(`click`,function(s){return i.onClick(s.button,s.ctrlKey,s.shiftKey,s.altKey,s.metaKey)}),r&2&&im(`href`,i.reactiveHref(),dD)(`target`,i._target())},inputs:{target:`target`,queryParams:`queryParams`,fragment:`fragment`,queryParamsHandling:`queryParamsHandling`,state:`state`,info:`info`,relativeTo:`relativeTo`,preserveFragment:[2,`preserveFragment`,`preserveFragment`,VB],skipLocationChange:[2,`skipLocationChange`,`skipLocationChange`,VB],replaceUrl:[2,`replaceUrl`,`replaceUrl`,VB],browserUrl:[1,`browserUrl`],routerLink:`routerLink`},features:[GI]})}return t})();Xo=(()=>{class t{router;element;renderer;cdr;links;classes=[];routerEventsSubscription;linkInputChangesSubscription;_isActive=!1;get isActive(){return this._isActive}routerLinkActiveOptions={exact:!1};ariaCurrentWhenActive;isActiveChange=new st;link=M$1($t,{optional:!0});constructor(e,r,i,o){this.router=e,this.element=r,this.renderer=i,this.cdr=o,this.routerEventsSubscription=e.events.subscribe(s=>{s instanceof P&&this.update()})}ngAfterContentInit(){ta(this.links.changes,ta(null)).pipe(dr$1()).subscribe(e=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();let e=[...this.links.toArray(),this.link].filter(r=>!!r).map(r=>r.onChanges);this.linkInputChangesSubscription=Ve$1(e).pipe(dr$1()).subscribe(r=>{this._isActive!==this.isLinkActive(this.router)(r)&&this.update()})}set routerLinkActive(e){if(e==null){this.classes=[];return}let r=Array.isArray(e)?e:e.split(` `);this.classes=r.filter(i=>!!i)}ngOnChanges(e){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||this.routerLinkActiveOptions===null&&!this._isActive||queueMicrotask(()=>{let e=this.hasActiveLinks();
1this.classes.forEach(r=>{e?this.renderer.addClass(this.element.nativeElement,r):this.renderer.removeClass(this.element.nativeElement,r)}),e&&this.ariaCurrentWhenActive!==void 0?this.renderer.setAttribute(this.element.nativeElement,`aria-current`,this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,`aria-current`),this._isActive!==e&&(this._isActive=e,this.cdr.markForCheck(),this.isActiveChange.emit(e))})}isLinkActive(e){let r=this.routerLinkActiveOptions;if(r===null)return()=>!1;let i;return r===void 0?i=W({},Ce):es(r)?i=r:r.exact??!1?i=W({},Sr):i=W({},Ce),o=>{let s=o.urlTree;return s?Jm(Cr(s,e,i)):!1}}hasActiveLinks(){let e=this.isLinkActive(this.router);return this.link&&e(this.link)||this.links.some(e)}static ɵfac=function(r){return new(r||t)(so$1(F),so$1(no$1),so$1(Yc),so$1(jB))};static ɵdir=Rw({type:t,selectors:[[``,`routerLinkActive`,``]],contentQueries:function(r,i,o){if(r&1&&mm(o,$t,5),r&2){let s;JT(s=XT())&&(i.links=s)}},inputs:{routerLinkActiveOptions:`routerLinkActiveOptions`,ariaCurrentWhenActive:`ariaCurrentWhenActive`,routerLinkActive:`routerLinkActive`},outputs:{isActiveChange:`isActiveChange`},exportAs:[`routerLinkActive`],features:[GI]})}return t})();Ze=class{};hi=(()=>{class t{router;injector;preloadingStrategy;loader;subscription;constructor(e,r,i,o){this.router=e,this.injector=r,this.preloadingStrategy=i,this.loader=o}setUpPreloading(){this.subscription=this.router.events.pipe(yt$1(e=>e instanceof P),yd(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription?.unsubscribe()}processRoutes(e,r){let i=[];for(let o of r){o.providers&&!o._injector&&(o._injector=eu(o.providers,e,``));let s=o._injector??e;o._loadedNgModuleFactory&&!o._loadedInjector&&(o._loadedInjector=o._loadedNgModuleFactory.create(s).injector);let c=o._loadedInjector??s;(o.loadChildren&&!o._loadedRoutes&&o.canLoad===void 0||o.loadComponent&&!o._loadedComponent)&&i.push(this.preloadConfig(s,o)),(o.children||o._loadedRoutes)&&i.push(this.processRoutes(c,o.children??o._loadedRoutes))}return Ve$1(i).pipe(dr$1())}preloadConfig(e,r){return this.preloadingStrategy.preload(r,()=>{if(e.destroyed)return ta(null);let i;r.loadChildren&&r.canLoad===void 0?i=Ve$1(this.loader.loadChildren(e,r)):i=ta(null);let o=i.pipe(pe$1(s=>s===null?ta(void 0):(r._loadedRoutes=s.routes,r._loadedInjector=s.injector,r._loadedNgModuleFactory=s.factory,this.processRoutes(s.injector??e,s.routes))));if(r.loadComponent&&!r._loadedComponent)return Ve$1([o,this.loader.loadComponent(e,r)]).pipe(dr$1());else return o})}static ɵfac=function(r){return new(r||t)(le$1(F),le$1(me$1),le$1(Ze),le$1(Pt))};static ɵprov=K$1({token:t,factory:t.ɵfac,providedIn:`root`})}return t})();fi=new S$1(``);ts=(()=>{class t{options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource=Re;restoredId=0;store={};isHydrating=M$1(TE,{optional:!0})??!1;urlSerializer=M$1(ne);zone=M$1(ve);viewportScroller=M$1(zr);transitions=M$1(jt);constructor(e){this.options=e,this.options.scrollPositionRestoration||=`disabled`,this.options.anchorScrolling||=`disabled`,this.isHydrating&&M$1(In$1).whenStable().then(()=>{this.isHydrating=!1})}init(){this.options.scrollPositionRestoration!==`disabled`&&this.viewportScroller.setHistoryScrollRestoration(`manual`),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof re?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof P?(this.lastId=e.id,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.urlAfterRedirects).fragment)):e instanceof G&&e.code===we.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(e=>{if(!(e instanceof be)||e.scrollBehavior===`manual`)return;let r={behavior:`instant`};e.position?this.options.scrollPositionRestoration===`top`?this.viewportScroller.scrollToPosition([0,0],r):this.options.scrollPositionRestoration===`enabled`&&this.viewportScroller.scrollToPosition(e.position,r):e.anchor&&this.options.anchorScrolling===`enabled`?this.viewportScroller.scrollToAnchor(e.anchor):this.options.scrollPositionRestoration!==`disabled`&&this.viewportScroller.scrollToPosition([0,0])})}scheduleScrollEvent(e,r){if(this.isHydrating)return;let i=Jm(this.transitions.currentNavigation)?.extras.scroll;this.zone.runOutsideAngular(()=>Dn$1(this,null,function*(){yield new Promise(o=>{setTimeout(o),typeof requestAnimationFrame<`u`&&requestAnimationFrame(o)}),this.zone.run(()=>{this.transitions.events.next(new be(e,this.lastSource===`popstate`?this.store[this.restoredId]:null,r,i))})}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static ɵfac=function(r){zb()};static ɵprov=K$1({token:t,factory:t.ɵfac})}return t})();pi=new S$1(``,{factory:()=>new ee$1});Ur=new S$1(``,{factory:()=>1});mi=new S$1(``);Ci=[xe$2,{provide:ne,useClass:K},F,pe,{provide:Y,useFactory:rs},Pt];is=(()=>{class t{constructor(){}static forRoot(e,r){return{ngModule:t,providers:[Ci,[],{provide:_e,multi:!0,useValue:e},[],r?.errorHandler?{provide:_r,useValue:r.errorHandler}:[],{provide:ie,useValue:r||{}},r?.useHash?ss():as(),os(),r?.preloadingStrategy?yi(r.preloadingStrategy).ɵproviders:[],r?.initialNavigation?cs(r):[],r?.bindToComponentInputs?Ri(typeof r.bindToComponentInputs==`object`?r.bindToComponentInputs:{}).ɵproviders:[],r?.enableViewTransitions?Si().ɵproviders:[],us()]}}static forChild(e){return{ngModule:t,providers:[{provide:_e,multi:!0,useValue:e}]}}static ɵfac=function(r){return new(r||t)};static ɵmod=Rg({type:t});static ɵinj=Pa({})}return t})();Dr=new S$1(``)}));export{wt as _,Ir as a,Xo as c,he as d,init_chunk_Z6MTVVU3 as f,re as g,k as h,Fe as i,Y as l,jn as m,Er as n,Mr as o,is as p,F as r,P as s,$t as t,bt as u};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.