PageSourceSearch

https://cubara-boyaca.gov.co/chunk-SB5L2XE4.js

js cubara-boyaca.gov.co collected 2026-10-03 02:28:56 UTC 75,094 bytes, 1 lines download raw bytes

vendor: 14,514 bytes, line 1
1import{I as Zr,b as Hr,c as Wr,d as Ct,e as Gr,f as Qr,g as Rt,x as Kr}from"./chunk-BQLJE42W.js";import{$ as p,B as tt,C as et,D as ve,E as rt,F as gr,Fc as Vr,H as Vt,I as W,Ib as _r,J as me,K as vr,L as mr,N as yr,O as P,P as Cr,R as S,S as b,Ta as Er,V as R,W as Rr,X as Sr,Y as D,Ya as nt,Z as ye,Za as Ur,_,a as lr,aa as wr,b as hr,ba as br,bb as xr,bc as zr,cb as Pr,d as de,da as Ir,e as fe,ea as Ar,f as V,fa as Ce,fb as Nr,g as E,gb as jr,ha as Mr,hb as Ie,i as H,j as A,k as d,ka as mt,kb as $r,l as vt,la as $,lb as Lr,lc as Fr,m as dr,ma as Re,mc as qr,n as fr,oc as Ae,p as m,pc as Me,q as Bt,qc as Br,r as M,ra as Se,rc as Ht,s as pe,sa as Dr,t as pr,ta as we,u as ge,ua as Tr,va as yt,vc as De,wa as be,ya as Or,z as Z,zb as kr,zc as Wt}from"./chunk-YE3BF7DR.js";import{a as l,b as I}from"./chunk-4IDNTCH7.js";var g="primary",jt=Symbol("RouteTitle"),xe=class{constructor(r){this.params=r||{}}has(r){return Object.prototype.hasOwnProperty.call(this.params,r)}get(r){if(this.has(r)){let t=this.params[r];return Array.isArray(t)?t[0]:t}return null}getAll(r){if(this.has(r)){let t=this.params[r];return Array.isArray(t)?t:[t]}return[]}get keys(){return Object.keys(this.params)}};function ct(e){return new xe(e)}function Hn(e,r,t){let n=t.path.split("/");if(n.length>e.length||t.pathMatch==="full"&&(r.hasChildren()||n.length<e.length))return null;let i={};for(let s=0;s<n.length;s++){let o=n[s],u=e[s];if(o[0]===":")i[o.substring(1)]=u;else if(o!==u.path)return null}return{consumed:e.slice(0,n.length),posParams:i}}function Wn(e,r){if(e.length!==r.length)return!1;for(let t=0;t<e.length;++t)if(!L(e[t],r[t]))return!1;return!0}function L(e,r){let t=e?Pe(e):void 0,n=r?Pe(r):void 0;if(!t||!n||t.length!=n.length)return!1;let i;for(let s=0;s<t.length;s++)if(i=t[s],!un(e[i],r[i]))return!1;return!0}function Pe(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e)]}function un(e,r){if(Array.isArray(e)&&Array.isArray(r)){if(e.length!==r.length)return!1;let t=[...e].sort(),n=[...r].sort();return t.every((i,s)=>n[s]===i)}else return e===r}function cn(e){return e.length>0?e[e.length-1]:null}function K(e){return dr(e)?e:qr(e)?A(Promise.resolve(e)):d(e)}var Gn={exact:hn,subset:dn},ln={exact:Qn,subset:Kn,ignored:()=>!0};function Yr(e,r,t){return Gn[t.paths](e.root,r.root,t.matrixParams)&&ln[t.queryParams](e.queryParams,r.queryParams)&&!(t.fragment==="exact"&&e.fragment!==r.fragment)}function Qn(e,r){return L(e,r)}function hn(e,r,t){if(!X(e.segments,r.segments)||!Kt(e.segments,r.segments,t)||e.numberOfChildren!==r.numberOfChildren)return!1;for(let n in r.children)if(!e.children[n]||!hn(e.children[n],r.children[n],t))return!1;return!0}function Kn(e,r){return Object.keys(r).length<=Object.keys(e).length&&Object.keys(r).every(t=>un(e[t],r[t]))}function dn(e,r,t){return fn(e,r,r.segments,t)}function fn(e,r,t,n){if(e.segments.length>t.length){let i=e.segments.slice(0,t.length);return!(!X(i,t)||r.hasChildren()||!Kt(i,t,n))}else if(e.segments.length===t.length){if(!X(e.segments,t)||!Kt(e.segments,t,n))return!1;for(let i in r.children)if(!e.children[i]||!dn(e.children[i],r.children[i],n))return!1;return!0}else{let i=t.slice(0,e.segments.length),s=t.slice(e.segments.length);return!X(e.segments,i)||!Kt(e.segments,i,n)||!e.children[g]?!1:fn(e.children[g],r,s,n)}}function Kt(e,r,t){return r.every((n,i)=>ln[t](e[i].parameters,n.parameters))}var F=class{constructor(r=new v([],{}),t={},n=null){this.root=r,this.queryParams=t,this.fragment=n}get queryParamMap(){return this._queryParamMap??=ct(this.queryParams),this._queryParamMap}toString(){return Xn.serialize(this)}},v=class{constructor(r,t){this.segments=r,this.children=t,this.parent=null,Object.values(t).forEach(n=>n.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Zt(this)}},Y=class{constructor(r,t){this.path=r,this.parameters=t}get parameterMap(){return this._parameterMap??=ct(this.parameters),this._parameterMap}toString(){return gn(this)}};function Zn(e,r){return X(e,r)&&e.every((t,n)=>L(t.parameters,r[n].parameters))}function X(e,r){return e.length!==r.length?!1:e.every((t,n)=>t.path===r[n].path)}function Yn(e,r){let t=[];return Object.entries(e.children).forEach(([n,i])=>{n===g&&(t=t.concat(r(i,n)))}),Object.entries(e.children).forEach(([n,i])=>{n!==g&&(t=t.concat(r(i,n)))}),t}var $t=(()=>{class e{static{this.\u0275fac=function(n){return new(n||e)}}static{this.\u0275prov=R({token:e,factory:()=>new lt,providedIn:"root"})}}return e})(),lt=class{parse(r){let t=new je(r);return new F(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}serialize(r){let t=`/${St(r.root,!0)}`,n=ei(r.queryParams),i=typeof r.fragment=="string"?`#${Jn(r.fragment)}`:"";return`${t}${n}${i}`}},Xn=new lt;function Zt(e){return e.segments.map(r=>gn(r)).join("/")}function St(e,r){if(!e.hasChildren())return Zt(e);if(r){let t=e.children[g]?St(e.children[g],!1):"",n=[];return Object.entries(e.children).forEach(([i,s])=>{i!==g&&n.push(`${i}:${St(s,!1)}`)}),n.length>0?`${t}(${n.join("//")})`:t}else{let t=Yn(e,(n,i)=>i===g?[St(e.children[g],!1)]:[`${i}:${St(n,!1)}`]);return Object.keys(e.children).length===1&&e.children[g]!=null?`${Zt(e)}/${t[0]}`:`${Zt(e)}/(${t.join("//")})`}}function pn(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Gt(e){return pn(e).replace(/%3B/gi,";")}function Jn(e){return encodeURI(e)}function Ne(e){return pn(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Yt(e){return decodeURIComponent(e)}function Xr(e){return Yt(e.replace(/\+/g,"%20"))}function gn(e){return`${Ne(e.path)}${ti(e.parameters)}`}function ti(e){return Object.entries(e).map(([r,t])=>`;${Ne(r)}=${Ne(t)}`).join("")}function ei(e){let r=Object.entries(e).map(([t,n])=>Array.isArray(n)?n.map(i=>`${Gt(t)}=${Gt(i)}`).join("&"):`${Gt(t)}=${Gt(n)}`).filter(t=>t);return r.length?`?${r.join("&")}`:""}var ri=/^[^\/()?;#]+/;function Te(e){let r=e.match(ri);return r?r[0]:""}var ni=/^[^\/()?;=#]+/;function ii(e){let r=e.match(ni);return r?r[0]:""}var si=/^[^=?&#]+/;function oi(e){let r=e.match(si);return r?r[0]:""}var ai=/^[^&#]+/;function ui(e){let r=e.match(ai);return r?r[0]:""}var je=class{constructor(r){this.url=r,this.remaining=r}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new v([],{}):new v([],this.parseChildren())}parseQueryParams(){let r={};if(this.consumeOptional("?"))do this.parseQueryParam(r);while(this.consumeOptional("&"));return r}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let r=[];for(this.peekStartsWith("(")||r.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),r.push(this.parseSegment());let t={};this.peekStartsWith("/(")&&(this.capture("/"),t=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(r.length>0||Object.keys(t).length>0)&&(n[g]=new v(r,t)),n}parseSegment(){let r=Te(this.remaining);if(r===""&&this.peekStartsWith(";"))throw new b(4009,!1);return this.capture(r),new Y(Yt(r),this.parseMatrixParams())}parseMatrixParams(){let r={};for(;this.consumeOptional(";");)this.parseParam(r);return r}parseParam(r){let t=ii(this.remaining);if(!t)return;this.capture(t);let n="";if(this.consumeOptional("=")){let i=Te(this.remaining);i&&(n=i,this.capture(n))}r[Yt(t)]=Yt(n)}parseQueryParam(r){let t=oi(this.remaining);if(!t)return;this.capture(t);let n="";if(this.consumeOptional("=")){let o=ui(this.remaining);o&&(n=o,this.capture(n))}let i=Xr(t),s=Xr(n);if(r.hasOwnProperty(i)){let o=r[i];Array.isArray(o)||(o=[o],r[i]=o),o.push(s)}else r[i]=s}parseParens(r){let t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let n=Te(this.remaining),i=this.remaining[n.length];if(i!=="/"&&i!==")"&&i!==";")throw new b(4010,!1);let s;n.indexOf(":")>-1?(s=n.slice(0,n.indexOf(":")),this.capture(s),this.capture(":")):r&&(s=g);let o=this.parseChildren();t[s]=Object.keys(o).length===1?o[g]:new v([],o),this.consumeOptional("//")}return t}peekStartsWith(r){return this.remaining.startsWith(r)}consumeOptional(r){return this.peekStartsWith(r)?(this.remaining=this.remaining.substring(r.length),!0):!1}capture(r){if(!this.consumeOptional(r))throw new b(4011,!1)}};function vn(e){return e.segments.length>0?new v([],{[g]:e}):e}function mn(e){let r={};for(let[n,i]of Object.entries(e.children)){let s=mn(i);if(n===g&&s.segments.length===0&&s.hasChildren())for(let[o,u]of Object.entries(s.children))r[o]=u;else(s.segments.length>0||s.hasChildren())&&(r[n]=s)}let t=new v(e.segments,r);return ci(t)}function ci(e){if(e.numberOfChildren===1&&e.children[g]){let r=e.children[g];return new v(e.segments.concat(r.segments),r.children)}return e}function J(e){return e instanceof F}function li(e,r,t=null,n=null){let i=yn(e);return Cn(i,r,t,n)}function yn(e){let r;function t(s){let o={};for(let a of s.children){let c=t(a);o[a.outlet]=c}let u=new v(s.url,o);return s===e&&(r=u),u}let n=t(e.root),i=vn(n);return r??i}function Cn(e,r,t,n){let i=e;for(;i.parent;)i=i.parent;if(r.length===0)return Oe(i,i,i,t,n);let s=hi(r);if(s.toRoot())return Oe(i,i,new v([],{}),t,n);let o=di(s,i,e),u=o.processChildren?It(o.segmentGroup,o.index,s.commands):Sn(o.segmentGroup,o.index,s.commands);return Oe(i,o.segmentGroup,u,t,n)}function Xt(e){return typeof e=="object"&&e!=null&&!e.outlets&&!e.segmentPath}function Dt(e){return typeof e=="object"&&e!=null&&e.outlets}function Oe(e,r,t,n,i){let s={};n&&Object.entries(n).forEach(([a,c])=>{s[a]=Array.isArray(c)?c.map(h=>`${h}`):`${c}`});let o;e===r?o=t:o=Rn(e,r,t);let u=vn(mn(o));return new F(u,s,i)}function Rn(e,r,t){let n={};return Object.entries(e.children).forEach(([i,s])=>{s===r?n[i]=t:n[i]=Rn(s,r,t)}),new v(e.segments,n)}var Jt=class{constructor(r,t,n){if(this.isAbsolute=r,this.numberOfDoubleDots=t,this.commands=n,r&&n.length>0&&Xt(n[0]))throw new b(4003,!1);let i=n.find(Dt);if(i&&i!==cn(n))throw new b(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function hi(e){if(typeof e[0]=="string"&&e.length===1&&e[0]==="/")return new Jt(!0,0,e);let r=0,t=!1,n=e.reduce((i,s,o)=>{if(typeof s=="object"&&s!=null){if(s.outlets){let u={};return Object.entries(s.outlets).forEach(([a,c])=>{u[a]=typeof c=="string"?c.split("/"):c}),[...i,{outlets:u}]}if(s.segmentPath)return[...i,s.segmentPath]}return typeof s!="string"?[...i,s]:o===0?(s.split("/").forEach((u,a)=>{a==0&&u==="."||(a==0&&u===""?t=!0:u===".."?r++:u!=""&&i.push(u))}),i):[...i,s]},[]);return new Jt(t,r,n)}var ot=class{constructor(r,t,n){this.segmentGroup=r,this.processChildren=t,this.index=n}};function di(e,r,t){if(e.isAbsolute)return new ot(r,!0,0);if(!t)return new ot(r,!1,NaN);if(t.parent===null)return new ot(t,!0,0);let n=Xt(e.commands[0])?0:1,i=t.segments.length-1+n;return fi(t,i,e.numberOfDoubleDots)}function fi(e,r,t){let n=e,i=r,s=t;for(;s>i;){if(s-=i,n=n.parent,!n)throw new b(4005,!1);i=n.segments.length}return new ot(n,!1,i-s)}function pi(e){return Dt(e[0])?e[0].outlets:{[g]:e}}function Sn(e,r,t){if(e??=new v([],{}),e.segments.length===0&&e.hasChildren())return It(e,r,t);let n=gi(e,r,t),i=t.slice(n.commandIndex);if(n.match&&n.pathIndex<e.segments.length){let s=new v(e.segments.slice(0,n.pathIndex),{});return s.children[g]=new v(e.segments.slice(n.pathIndex),e.children),It(s,0,i)}else return n.match&&i.length===0?new v(e.segments,{}):n.match&&!e.hasChildren()?$e(e,r,t):n.match?It(e,0,i):$e(e,r,t)}function It(e,r,t){if(t.length===0)return new v(e.segments,{});{let n=pi(t),i={};if(Object.keys(n).some(s=>s!==g)&&e.children[g]&&e.numberOfChildren===1&&e.children[g].segments.length===0){let s=It(e.children[g],r,t);return new v(e.segments,s.children)}return Object.entries(n).forEach(([s,o])=>{typeof o=="string"&&(o=[o]),o!==null&&(i[s]=Sn(e.children[s],r,o))}),Object.entries(e.children).forEach(([s,o])=>{n[s]===void 0&&(i[s]=o)}),new v(e.segments,i)}}function gi(e,r,t){let n=0,i=r,s={match:!1,pathIndex:0,commandIndex:0};for(;i<e.segments.length;){if(n>=t.length)return s;let o=e.segments[i],u=t[n];if(Dt(u))break;let a=`${u}`,c=n<t.length-1?t[n+1]:null;if(i>0&&a===void 0)break;if(a&&c&&typeof c=="object"&&c.outlets===void 0){if(!tn(a,c,o))return s;n+=2}else{if(!tn(a,{},o))return s;n++}i++}return{match:!0,pathIndex:i,commandIndex:n}}function $e(e,r,t){let n=e.segments.slice(0,r),i=0;for(;i<t.length;){let s=t[i];if(Dt(s)){let a=vi(s.outlets);return new v(n,a)}if(i===0&&Xt(t[0])){let a=e.segments[r];n.push(new Y(a.path,Jr(t[0]))),i++;continue}let o=Dt(s)?s.outlets[g]:`${s}`,u=i<t.length-1?t[i+1]:null;o&&u&&Xt(u)?(n.push(new Y(o,Jr(u))),i+=2):(n.push(new Y(o,{})),i++)}return new v(n,{})}function vi(e){let r={};return Object.entries(e).forEach(([t,n])=>{typeof n=="string"&&(n=[n]),n!==null&&(r[t]=$e(new v([],{}),0,n))}),r}function Jr(e){let r={};return Object.entries(e).forEach(([t,n])=>r[t]=`${n}`),r}function tn(e,r,t){return e==t.path&&L(r,t.parameters)}var At="imperative",C=function(e){return e[e.NavigationStart=0]="NavigationStart",e[e.NavigationEnd=1]="NavigationEnd",e[e.NavigationCancel=2]="NavigationCancel",e[e.NavigationError=3]="NavigationError",e[e.RoutesRecognized=4]="RoutesRecognized",e[e.ResolveStart=5]="ResolveStart",e[e.ResolveEnd=6]="ResolveEnd",e[e.GuardsCheckStart=7]="GuardsCheckStart",e[e.GuardsCheckEnd=8]="GuardsCheckEnd",e[e.RouteConfigLoadStart=9]="RouteConfigLoadStart",e[e.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",e[e.ChildActivationStart=11]="ChildActivationStart",e[e.ChildActivationEnd=12]="ChildActivationEnd",e[e.ActivationStart=13]="ActivationStart",e[e.ActivationEnd=14]="ActivationEnd",e[e.Scroll=15]="Scroll",e[e.NavigationSkipped=16]="NavigationSkipped",e}(C||{}),U=class{constructor(r,t){this.id=r,this.url=t}},ht=class extends U{constructor(r,t,n="imperative",i=null){super(r,t),this.type=C.NavigationStart,this.navigationTrigger=n,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},k=class extends U{constructor(r,t,n){super(r,t),this.urlAfterRedirects=n,this.type=C.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},O=function(e){return e[e.Redirect=0]="Redirect",e[e.SupersededByNewNavigation=1]="SupersededByNewNavigation",e[e.NoDataFromRe
1solver=2]="NoDataFromResolver",e[e.GuardRejected=3]="GuardRejected",e}(O||{}),te=function(e){return e[e.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",e[e.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",e}(te||{}),z=class extends U{constructor(r,t,n,i){super(r,t),this.reason=n,this.code=i,this.type=C.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},G=class extends U{constructor(r,t,n,i){super(r,t),this.reason=n,this.code=i,this.type=C.NavigationSkipped}},Tt=class extends U{constructor(r,t,n,i){super(r,t),this.error=n,this.target=i,this.type=C.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},ee=class extends U{constructor(r,t,n,i){super(r,t),this.urlAfterRedirects=n,this.state=i,this.type=C.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Le=class extends U{constructor(r,t,n,i){super(r,t),this.urlAfterRedirects=n,this.state=i,this.type=C.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},ke=class extends U{constructor(r,t,n,i,s){super(r,t),this.urlAfterRedirects=n,this.state=i,this.shouldActivate=s,this.type=C.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},_e=class extends U{constructor(r,t,n,i){super(r,t),this.urlAfterRedirects=n,this.state=i,this.type=C.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},ze=class extends U{constructor(r,t,n,i){super(r,t),this.urlAfterRedirects=n,this.state=i,this.type=C.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Fe=class{constructor(r){this.route=r,this.type=C.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},qe=class{constructor(r){this.route=r,this.type=C.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Be=class{constructor(r){this.snapshot=r,this.type=C.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Ve=class{constructor(r){this.snapshot=r,this.type=C.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},He=class{constructor(r){this.snapshot=r,this.type=C.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},We=class{constructor(r){this.snapshot=r,this.type=C.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},re=class{constructor(r,t,n){this.routerEvent=r,this.position=t,this.anchor=n,this.type=C.Scroll}toString(){let r=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${r}')`}},Ot=class{},dt=class{constructor(r,t){this.url=r,this.navigationBehaviorOptions=t}};function mi(e,r){return e.providers&&!e._injector&&(e._injector=Ie(e.providers,r,`Route: ${e.path}`)),e._injector??r}function N(e){return e.outlet||g}function yi(e,r){let t=e.filter(n=>N(n)===r);return t.push(...e.filter(n=>N(n)!==r)),t}function Lt(e){if(!e)return null;if(e.routeConfig?._injector)return e.routeConfig._injector;for(let r=e.parent;r;r=r.parent){let t=r.routeConfig;if(t?._loadedInjector)return t._loadedInjector;if(t?._injector)return t._injector}return null}var Ge=class{get injector(){return Lt(this.route?.snapshot)??this.rootInjector}set injector(r){}constructor(r){this.rootInjector=r,this.outlet=null,this.route=null,this.children=new kt(this.rootInjector),this.attachRef=null}},kt=(()=>{class e{constructor(t){this.rootInjector=t,this.contexts=new Map}onChildOutletCreated(t,n){let i=this.getOrCreateContext(t);i.outlet=n,this.contexts.set(t,i)}onChildOutletDestroyed(t){let n=this.getContext(t);n&&(n.outlet=null,n.attachRef=null)}onOutletDeactivated(){let t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let n=this.getContext(t);return n||(n=new Ge(this.rootInjector),this.contexts.set(t,n)),n}getContext(t){return this.contexts.get(t)||null}static{this.\u0275fac=function(n){return new(n||e)(_(mt))}}static{this.\u0275prov=R({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),ne=class{constructor(r){this._root=r}get root(){return this._root.value}
vendor: 4,192 bytes, line 1
1parent(r){let t=this.pathFromRoot(r);return t.length>1?t[t.length-2]:null}children(r){let t=Qe(r,this._root);return t?t.children.map(n=>n.value):[]}firstChild(r){let t=Qe(r,this._root);return t&&t.children.length>0?t.children[0].value:null}siblings(r){let t=Ke(r,this._root);return t.length<2?[]:t[t.length-2].children.map(i=>i.value).filter(i=>i!==r)}pathFromRoot(r){return Ke(r,this._root).map(t=>t.value)}};function Qe(e,r){if(e===r.value)return r;for(let t of r.children){let n=Qe(e,t);if(n)return n}return null}function Ke(e,r){if(e===r.value)return[r];for(let t of r.children){let n=Ke(e,t);if(n.length)return n.unshift(r),n}return[]}var T=class{constructor(r,t){this.value=r,this.children=t}toString(){return`TreeNode(${this.value})`}};function st(e){let r={};return e&&e.children.forEach(t=>r[t.value.outlet]=t),r}var ie=class extends ne{constructor(r,t){super(r),this.snapshot=t,ir(this,r)}toString(){return this.snapshot.toString()}};function wn(e){let r=Ci(e),t=new E([new Y("",{})]),n=new E({}),i=new E({}),s=new E({}),o=new E(""),u=new Q(t,n,s,o,i,g,e,r.root);return u.snapshot=r.root,new ie(new T(u,[]),r)}function Ci(e){let r={},t={},n={},i="",s=new at([],r,n,i,t,g,e,null,{});return new oe("",new T(s,[]))}var Q=class{constructor(r,t,n,i,s,o,u,a){this.urlSubject=r,this.paramsSubject=t,this.queryParamsSubject=n,this.fragmentSubject=i,this.dataSubject=s,this.outlet=o,this.component=u,this._futureSnapshot=a,this.title=this.dataSubject?.pipe(m(c=>c[jt]))??d(void 0),this.url=r,this.params=t,this.queryParams=n,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(m(r=>ct(r))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(m(r=>ct(r))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function se(e,r,t="emptyOnly"){let n,{routeConfig:i}=e;return r!==null&&(t==="always"||i?.path===""||!r.component&&!r.routeConfig?.loadComponent)?n={params:l(l({},r.params),e.params),data:l(l({},r.data),e.data),resolve:l(l(l(l({},e.data),r.data),i?.data),e._resolvedData)}:n={params:l({},e.params),data:l({},e.data),resolve:l(l({},e.data),e._resolvedData??{})},i&&In(i)&&(n.resolve[jt]=i.title),n}var at=class{get title(){return this.data?.[jt]}constructor(r,t,n,i,s,o,u,a,c){this.url=r,this.params=t,this.queryParams=n,this.fragment=i,this.data=s,this.outlet=o,this.component=u,this.routeConfig=a,this._resolve=c}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=ct(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=ct(this.queryParams),this._queryParamMap}toString(){let r=this.url.map(n=>n.toString()).join("/"),t=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${r}', path:'${t}')`}},oe=class extends ne{constructor(r,t){super(t),this.url=r,ir(this,t)}toString(){return bn(this._root)}};function ir(e,r){r.value._routerState=e,r.children.forEach(t=>ir(e,t))}function bn(e){let r=e.children.length>0?` { ${e.children.map(bn).join(", ")} } `:"";return`${e.value}${r}`}function Ee(e){if(e.snapshot){let r=e.snapshot,t=e._futureSnapshot;e.snapshot=t,L(r.queryParams,t.queryParams)||e.queryParamsSubject.next(t.queryParams),r.fragment!==t.fragment&&e.fragmentSubject.next(t.fragment),L(r.params,t.params)||e.paramsSubject.next(t.params),Wn(r.url,t.url)||e.urlSubject.next(t.url),L(r.data,t.data)||e.dataSubject.next(t.data)}else e.snapshot=e._futureSnapshot,e.dataSubject.next(e._futureSnapshot.data)}function Ze(e,r){let t=L(e.params,r.params)&&Zn(e.url,r.url),n=!e.parent!=!r.parent;return t&&!n&&(!e.parent||Ze(e.parent,r.parent))}
1function In(e){return typeof e.title=="string"||e.title===null}var Ri=(()=>{class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=g,this.activateEvents=new yt,this.deactivateEvents=new yt,this.attachEvents=new yt,this.detachEvents=new yt,this.parentContexts=p(kt),this.location=p(Pr),this.changeDetector=p(De),this.inputBinder=p(le,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(t){if(t.name){let{firstChange:n,previousValue:i}=t.name;if(n)return;this.isTrackedInParentContexts(i)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(i)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(t){return this.parentContexts.getContext(t)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let t=this.parentContexts.getContext(this.name);t?.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new b(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new b(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new b(4012,!1);this.location.detach();let t=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(t.instance),t}attach(t,n){this.activated=t,this._activatedRoute=n,this.location.insert(t.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(t.instance)}deactivate(){if(this.activated){let t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,n){if(this.isActivated)throw new b(4013,!1);this._activatedRoute=t;let i=this.location,o=t.snapshot.component,u=this.parentContexts.getOrCreateContext(this.name).children,a=new Ye(t,u,i.injector);this.activated=i.createComponent(o,{index:i.length,injector:a,environmentInjector:n}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static{this.\u0275fac=function(n){return new(n||e)}}static{this.\u0275dir=Ce({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[Re]})}}return e})(),Ye=class e{__ngOutletInjector(r){return new e(this.route,this.childContexts,r)}constructor(r,t,n){this.route=r,this.childContexts=t,this.parent=n}get(r,t){return r===Q?this.route:r===kt?this.childContexts:this.parent.get(r,t)}},le=new D(""),en=(()=>{class e{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(t){this.unsubscribeFromRouteData(t),this.subscribeToRouteData(t)}unsubscribeFromRouteData(t){this.outletDataSubscriptions.get(t)?.unsubscribe(),this.outletDataSubscriptions.delete(t)}subscribeToRouteData(t){let{activatedRoute:n}=t,i=Bt([n.queryParams,n.params,n.data]).pipe(P(([s,o,u],a)=>(u=l(l(l({},s),o),u),a===0?d(u):Promise.resolve(u)))).subscribe(s=>{if(!t.isActivated||!t.activatedComponentRef||t.activatedRoute!==n||n.component===null){this.unsubscribeFromRouteData(t);return}let o=Vr(n.component);if(!o){this.unsubscribeFromRouteData(t);return}for(let{templateName:u}of o.inputs)t.activatedComponentRef.setInput(u,s[u])});this.outletDataSubscriptions.set(t,i)}static{this.\u0275fac=function(n){return new(n||e)}}static{this.\u0275prov=R({token:e,factory:e.\u0275fac})}}return e})();function Si(e,r,t){let n=Et(e,r._root,t?t._root:void 0);return new ie(n,r)}function Et(e,r,t){if(t&&e.shouldReuseRoute(r.value,t.value.snapshot)){let n=t.value;n._futureSnapshot=r.value;let i=wi(e,r,t);return new T(n,i)}else{if(e.shouldAttach(r.value)){let s=e.retrieve(r.value);if(s!==null){let o=s.route;return o.value._futureSnapshot=r.value,o.children=r.children.map(u=>Et(e,u)),o}}let n=bi(r.value),i=r.children.map(s=>Et(e,s));return new T(n,i)}}function wi(e,r,t){return r.children.map(n=>{for(let i of t.children)if(e.shouldReuseRoute(n.value,i.value.snapshot))return Et(e,n,i);return Et(e,n)})}function bi(e){return new Q(new E(e.url),new E(e.params),new E(e.queryParams),new E(e.fragment),new E(e.data),e.outlet,e.component,e)}var Ut=class{constructor(r,t){this.redirectTo=r,this.navigationBehaviorOptions=t}},An="ngNavigationCancelingError";function ae(e,r){let{redirectTo:t,navigationBehaviorOptions:n}=J(r)?{redirectTo:r,navigationBehaviorOptions:void 0}:r,i=Mn(!1,O.Redirect);return i.url=t,i.navigationBehaviorOptions=n,i}function Mn(e,r){let t=new Error(`NavigationCancelingError: ${e||""}`);return t[An]=!0,t.cancellationCode=r,t}function Ii(e){return Dn(e)&&J(e.url)}function Dn(e){return!!e&&e[An]}var Ai=(e,r,t,n)=>m(i=>(new Xe(r,i.targetRouterState,i.currentRouterState,t,n).activate(e),i)),Xe=class{constructor(r,t,n,i,s){this.routeReuseStrategy=r,this.futureState=t,this.currState=n,this.forwardEvent=i,this.inputBindingEnabled=s}activate(r){let t=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(t,n,r),Ee(this.futureState.root),this.activateChildRoutes(t,n,r)}deactivateChildRoutes(r,t,n){let i=st(t);
vendor: 5,501 bytes, line 1
1r.children.forEach(s=>{let o=s.value.outlet;this.deactivateRoutes(s,i[o],n),delete i[o]}),Object.values(i).forEach(s=>{this.deactivateRouteAndItsChildren(s,n)})}deactivateRoutes(r,t,n){let i=r.value,s=t?t.value:null;if(i===s)if(i.component){let o=n.getContext(i.outlet);o&&this.deactivateChildRoutes(r,t,o.children)}else this.deactivateChildRoutes(r,t,n);else s&&this.deactivateRouteAndItsChildren(t,n)}deactivateRouteAndItsChildren(r,t){r.value.component&&this.routeReuseStrategy.shouldDetach(r.value.snapshot)?this.detachAndStoreRouteSubtree(r,t):this.deactivateRouteAndOutlet(r,t)}detachAndStoreRouteSubtree(r,t){let n=t.getContext(r.value.outlet),i=n&&r.value.component?n.children:t,s=st(r);for(let o of Object.values(s))this.deactivateRouteAndItsChildren(o,i);if(n&&n.outlet){let o=n.outlet.detach(),u=n.children.onOutletDeactivated();this.routeReuseStrategy.store(r.value.snapshot,{componentRef:o,route:r,contexts:u})}}deactivateRouteAndOutlet(r,t){let n=t.getContext(r.value.outlet),i=n&&r.value.component?n.children:t,s=st(r);for(let o of Object.values(s))this.deactivateRouteAndItsChildren(o,i);n&&(n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated()),n.attachRef=null,n.route=null)}activateChildRoutes(r,t,n){let i=st(t);r.children.forEach(s=>{this.activateRoutes(s,i[s.value.outlet],n),this.forwardEvent(new We(s.value.snapshot))}),r.children.length&&this.forwardEvent(new Ve(r.value.snapshot))}activateRoutes(r,t,n){let i=r.value,s=t?t.value:null;if(Ee(i),i===s)if(i.component){let o=n.getOrCreateContext(i.outlet);this.activateChildRoutes(r,t,o.children)}else this.activateChildRoutes(r,t,n);else if(i.component){let o=n.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){let u=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),o.children.onOutletReAttached(u.contexts),o.attachRef=u.componentRef,o.route=u.route.value,o.outlet&&o.outlet.attach(u.componentRef,u.route.value),Ee(u.route.value),this.activateChildRoutes(r,null,o.children)}else o.attachRef=null,o.route=i,o.outlet&&o.outlet.activateWith(i,o.injector),this.activateChildRoutes(r,null,o.children)}else this.activateChildRoutes(r,null,n)}},ue=class{constructor(r){this.path=r,this.route=this.path[this.path.length-1]}},ut=class{constructor(r,t){this.component=r,this.route=t}};function Mi(e,r,t){let n=e._root,i=r?r._root:null;return wt(n,i,t,[n.value])}function Di(e){let r=e.routeConfig?e.routeConfig.canActivateChild:null;return!r||r.length===0?null:{node:e,guards:r}}function pt(e,r){let t=Symbol(),n=r.get(e,t);return n===t?typeof e=="function"&&!Sr(e)?e:r.get(e):n}function wt(e,r,t,n,i={canDeactivateChecks:[],canActivateChecks:[]}){let s=st(r);return e.children.forEach(o=>{Ti(o,s[o.value.outlet],t,n.concat([o.value]),i),delete s[o.value.outlet]}),Object.entries(s).forEach(([o,u])=>Mt(u,t.getContext(o),i)),i}function Ti(e,r,t,n,i={canDeactivateChecks:[],canActivateChecks:[]}){let s=e.value,o=r?r.value:null,u=t?t.getContext(e.value.outlet):null;if(o&&s.routeConfig===o.routeConfig){let a=Oi(o,s,s.routeConfig.runGuardsAndResolvers);a?i.canActivateChecks.push(new ue(n)):(s.data=o.data,s._resolvedData=o._resolvedData),s.component?wt(e,r,u?u.children:null,n,i):wt(e,r,t,n,i),a&&u&&u.outlet&&u.outlet.isActivated&&i.canDeactivateChecks.push(new ut(u.outlet.component,o))}else o&&Mt(r,u,i),i.canActivateChecks.push(new ue(n)),s.component?wt(e,null,u?u.children:null,n,i):wt(e,null,t,n,i);return i}function Oi(e,r,t){if(typeof t=="function")return t(e,r);switch(t){case"pathParamsChange":return!X(e.url,r.url);case"pathParamsOrQueryParamsChange":return!X(e.url,r.url)||!L(e.queryParams,r.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Ze(e,r)||!L(e.queryParams,r.queryParams);case"paramsChange":default:return!Ze(e,r)}}function Mt(e,r,t){let n=st(e),i=e.value;Object.entries(n).forEach(([s,o])=>{i.component?r?Mt(o,r.children.getContext(s),t):Mt(o,null,t):Mt(o,r,t)}),i.component?r&&r.outlet&&r.outlet.isActivated?t.canDeactivateChecks.push(new ut(r.outlet.component,i)):t.canDeactivateChecks.push(new ut(null,i)):t.canDeactivateChecks.push(new ut(null,i))}function _t(e){return typeof e=="function"}function Ei(e){return typeof e=="boolean"}function Ui(e){return e&&_t(e.canLoad)}function xi(e){return e&&_t(e.canActivate)}function Pi(e){return e&&_t(e.canActivateChild)}function Ni(e){return e&&_t(e.canDeactivate)}function ji(e){return e&&_t(e.canMatch)}function Tn(e){return e instanceof fr||e?.name==="EmptyError"}var Qt=Symbol("INITIAL_VALUE");function ft(){return P(e=>Bt(e.map(r=>r.pipe(rt(1),yr(Qt)))).pipe(m(r=>{for(let t of r)if(t!==!0){if(t===Qt)return Qt;if(t===!1||$i(t))return t}return!0}),Z(r=>r!==Qt),rt(1)))}function $i(e){return J(e)||e instanceof Ut}function Li(e,r){return M(t=>{let{targetSnapshot:n,currentSnapshot:i,guards:{canActivateChecks:s,canDeactivateChecks:o}}=t;return o.length===0&&s.length===0?d(I(l({},t),{guardsResult:!0})):ki(o,n,i,e).pipe(M(u=>u&&Ei(u)?_i(n,s,e,r):d(u)),m(u=>I(l({},t),{guardsResult:u})))})}function ki(e,r,t,n){return A(e).pipe(M(i=>Vi(i.component,i.route,t,r,n)),W(i=>i!==!0,!0))}function _i(e,r,t,n){return A(r).pipe(et(i=>pr(Fi(i.route.parent,n),zi(i.route,n),Bi(e,i.path,t),qi(e,i.route,t))),W(i=>i!==!0,!0))}function zi(e,r){return e!==null&&r&&r(new He(e)),d(!0)}function Fi(e,r){return e!==null&&r&&r(new Be(e)),d(!0)}function qi(e,r,t){let n=r.routeConfig?r.routeConfig.canActivate:null;if(!n||n.length===0)return d(!0);let i=n.map(s=>ge(()=>
1{let o=Lt(r)??t,u=pt(s,o),a=xi(u)?u.canActivate(r,e):$(o,()=>u(r,e));return K(a).pipe(W())}));return d(i).pipe(ft())}function Bi(e,r,t){let n=r[r.length-1],s=r.slice(0,r.length-1).reverse().map(o=>Di(o)).filter(o=>o!==null).map(o=>ge(()=>{let u=o.guards.map(a=>{let c=Lt(o.node)??t,h=pt(a,c),f=Pi(h)?h.canActivateChild(n,e):$(c,()=>h(n,e));return K(f).pipe(W())});return d(u).pipe(ft())}));return d(s).pipe(ft())}function Vi(e,r,t,n,i){let s=r&&r.routeConfig?r.routeConfig.canDeactivate:null;if(!s||s.length===0)return d(!0);let o=s.map(u=>{let a=Lt(r)??i,c=pt(u,a),h=Ni(c)?c.canDeactivate(e,r,t,n):$(a,()=>c(e,r,t,n));return K(h).pipe(W())});return d(o).pipe(ft())}function Hi(e,r,t,n){let i=r.canLoad;if(i===void 0||i.length===0)return d(!0);let s=i.map(o=>{let u=pt(o,e),a=Ui(u)?u.canLoad(r,t):$(e,()=>u(r,t));return K(a)});return d(s).pipe(ft(),On(n))}function On(e){return hr(S(r=>{if(typeof r!="boolean")throw ae(e,r)}),m(r=>r===!0))}function Wi(e,r,t,n){let i=r.canMatch;if(!i||i.length===0)return d(!0);let s=i.map(o=>{let u=pt(o,e),a=ji(u)?u.canMatch(r,t):$(e,()=>u(r,t));return K(a)});return d(s).pipe(ft(),On(n))}var xt=class{constructor(r){this.segmentGroup=r||null}},Pt=class extends Error{constructor(r){super(),this.urlTree=r}};function it(e){return vt(new xt(e))}function Gi(e){return vt(new b(4e3,!1))}function Qi(e){return vt(Mn(!1,O.GuardRejected))}var Je=class{constructor(r,t){this.urlSerializer=r,this.urlTree=t}lineralizeSegments(r,t){let n=[],i=t.root;for(;;){if(n=n.concat(i.segments),i.numberOfChildren===0)return d(n);if(i.numberOfChildren>1||!i.children[g])return Gi(`${r.redirectTo}`);i=i.children[g]}}applyRedirectCommands(r,t,n,i,s){if(typeof t!="string"){let u=t,{queryParams:a,fragment:c,routeConfig:h,url:f,outlet:y,params:j,data:w,title:B}=i,x=$(s,()=>u({params:j,data:w,queryParams:a,fragment:c,routeConfig:h,url:f,outlet:y,title:B}));if(x instanceof F)throw new Pt(x);t=x}let o=this.applyRedirectCreateUrlTree(t,this.urlSerializer.parse(t),r,n);if(t[0]==="/")throw new Pt(o);return o}applyRedirectCreateUrlTree(r,t,n,i){let s=this.createSegmentGroup(r,t.root,n,i);return new F(s,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}createQueryParams(r,t){let n={};return Object.entries(r).forEach(([i,s])=>{if(typeof s=="string"&&s[0]===":"){let u=s.substring(1);n[i]=t[u]}else n[i]=s}),n}createSegmentGroup(r,t,n,i){let s=this.createSegments(r,t.segments,n,i),o={};return Object.entries(t.children).forEach(([u,a])=>{o[u]=this.createSegmentGroup(r,a,n,i)}),new v(s,o)}createSegments(r,t,n,i){return t.map(s=>s.path[0]===":"?this.findPosParam(r,s,i):this.findOrReturn(s,n))}findPosParam(r,t,n){let i=n[t.path.substring(1)];if(!i)throw new b(4001,!1);return i}findOrReturn(r,t){let n=0;for(let i of t){if(i.path===r.path)return t.splice(n),i;n++}return r}},tr={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Ki(e,r,t,n,i){let s=En(e,r,t);return s.matched?(n=mi(r,n),Wi(n,r,t,i).pipe(m(o=>o===!0?s:l({},tr)))):d(s)}function En(e,r,t){if(r.path==="**")return Zi(t);if(r.path==="")return r.pathMatch==="full"&&(e.hasChildren()||t.length>0)?l({},tr):{matched:!0,consumedSegments:[],remainingSegments:t,parameters:{},positionalParamSegments:{}};let i=(r.matcher||Hn)(t,e,r);if(!i)return l({},tr);let s={};Object.entries(i.posParams??{}).forEach(([u,a])=>{s[u]=a.path});let o=i.consumed.length>0?l(l({},s),i.consumed[i.consumed.length-1].parameters):s;return{matched:!0,consumedSegments:i.consumed,remainingSegments:t.slice(i.consumed.length),parameters:o,positionalParamSegments:i.posParams??{}}}function Zi(e){return{matched:!0,parameters:e.length>0?cn(e).parameters:{},consumedSegments:e,remainingSegments:[],positionalParamSegments:{}}}function rn(e,r,t,n){return t.length>0&&Ji(e,t,n)?{segmentGroup:new v(r,Xi(n,new v(t,e.children))),slicedSegments:[]}:t.length===0&&ts(e,t,n)?{segmentGroup:new v(e.segments,Yi(e,t,n,e.children)),slicedSegments:t}:{segmentGroup:new v(e.segments,e.children),slicedSegments:t}}function Yi(e,r,t,n){let i={};for(let s of t)if(he(e,r,s)&&!n[N(s)]){let o=new v([],{});i[N(s)]=o}return l(l({},n),i)}function Xi(e,r){let t={};t[g]=r;for(let n of e)if(n.path===""&&N(n)!==g){let i=new v([],{});t[N(n)]=i}return t}function Ji(e,r,t){return t.some(n=>he(e,r,n)&&N(n)!==g)}function ts(e,r,t){return t.some(n=>he(e,r,n))}function he(e,r,t){return(e.hasChildren()||r.length>0)&&t.pathMatch==="full"?!1:t.path===""}function es(e,r,t){return r.length===0&&!e.children[t]}var er=class{};function rs(e,r,t,n,i,s,o="emptyOnly"){return new rr(e,r,t,n,i,o,s).recognize()}var ns=31,rr=class{constructor(r,t,n,i,s,o,u){this.injector=r,this.configLoader=t,this.rootComponentType=n,this.config=i,this.urlTree=s,this.paramsInheritanceStrategy=o,this.urlSerializer
1=u,this.applyRedirects=new Je(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(r){return new b(4002,`'${r.segmentGroup}'`)}recognize(){let r=rn(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(r).pipe(m(({children:t,rootSnapshot:n})=>{let i=new T(n,t),s=new oe("",i),o=li(n,[],this.urlTree.queryParams,this.urlTree.fragment);return o.queryParams=this.urlTree.queryParams,s.url=this.urlSerializer.serialize(o),{state:s,tree:o}}))}match(r){let t=new at([],Object.freeze({}),Object.freeze(l({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),g,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,r,g,t).pipe(m(n=>({children:n,rootSnapshot:t})),tt(n=>{if(n instanceof Pt)return this.urlTree=n.urlTree,this.match(n.urlTree.root);throw n instanceof xt?this.noMatchError(n):n}))}processSegmentGroup(r,t,n,i,s){return n.segments.length===0&&n.hasChildren()?this.processChildren(r,t,n,s):this.processSegment(r,t,n,n.segments,i,!0,s).pipe(m(o=>o instanceof T?[o]:[]))}processChildren(r,t,n,i){let s=[];for(let o of Object.keys(n.children))o==="primary"?s.unshift(o):s.push(o);return A(s).pipe(et(o=>{let u=n.children[o],a=yi(t,o);return this.processSegmentGroup(r,a,u,o,i)}),mr((o,u)=>(o.push(...u),o)),ve(null),vr(),M(o=>{if(o===null)return it(n);let u=Un(o);return is(u),d(u)}))}processSegment(r,t,n,i,s,o,u){return A(t).pipe(et(a=>this.processSegmentAgainstRoute(a._injector??r,t,a,n,i,s,o,u).pipe(tt(c=>{if(c instanceof xt)return d(null);throw c}))),W(a=>!!a),tt(a=>{if(Tn(a))return es(n,i,s)?d(new er):it(n);throw a}))}processSegmentAgainstRoute(r,t,n,i,s,o,u,a){return N(n)!==o&&(o===g||!he(i,s,n))?it(i):n.redirectTo===void 0?this.matchSegmentAgainstRoute(r,i,n,s,o,a):this.allowRedirects&&u?this.expandSegmentAgainstRouteUsingRedirect(r,i,t,n,s,o,a):it(i)}expandSegmentAgainstRouteUsingRedirect(r,t,n,i,s,o,u){let{matched:a,parameters:c,consumedSegments:h,positionalParamSegments:f,remainingSegments:y}=En(t,i,s);if(!a)return it(t);typeof i.redirectTo=="string"&&i.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>ns&&(this.allowRedirects=!1));let j=new at(s,c,Object.freeze(l({},this.urlTree.queryParams)),this.urlTree.fragment,nn(i),N(i),i.component??i._loadedComponent??null,i,sn(i)),w=se(j,u,this.paramsInheritanceStrategy);j.params=Object.freeze(w.params),j.data=Object.freeze(w.data);let B=this.applyRedirects.applyRedirectCommands(h,i.redirectTo,f,j,r);return this.applyRedirects.lineralizeSegments(i,B).pipe(M(x=>this.processSegment(r,n,t,x.concat(y),o,!1,u)))}matchSegmentAgainstRoute(r,t,n,i,s,o){let u=Ki(t,n,i,r,this.urlSerializer);return n.path==="**"&&(t.children={}),u.pipe(P(a=>a.matched?(r=n._injector??r,this.getChildConfig(r,n,i).pipe(P(({routes:c})=>{let h=n._loadedInjector??r,{parameters:f,consumedSegments:y,remainingSegments:j}=a,w=new at(y,f,Object.freeze(l({},this.urlTree.queryParams)),this.urlTree.fragment,nn(n),N(n),n.component??n._loadedComponent??null,n,sn(n)),B=se(w,o,this.paramsInheritanceStrategy);w.params=Object.freeze(B.params),w.data=Object.freeze(B.data);let{segmentGroup:x,slicedSegments:gt}=rn(t,y,j,c);if(gt.length===0&&x.hasChildren())return this.processChildren(h,c,x,w).pipe(m(qt=>new T(w,qt)));if(c.length===0&&gt.length===0)return d(new T(w,[]));let Vn=N(n)===s;return this.processSegment(h,c,x,gt,Vn?g:s,!0,w).pipe(m(qt=>new T(w,qt instanceof T?[qt]:[])))}))):it(t)))}getChildConfig(r,t,n){return t.children?d({routes:t.children,injector:r}):t.loadChildren?t._loadedRoutes!==void 0?d({routes:t._loadedRoutes,injector:t._loadedInjector}):Hi(r,t,n,this.urlSerializer).pipe(M(i=>i?this.configLoader.loadChildren(r,t).pipe(S(s=>{t._loadedRoutes=s.routes,t._loadedInjector=s.injector})):Qi(t))):d({routes:[],injector:r})}};function is(e){e.sort((r,t)=>r.value.outlet===g?-1:t.value.outlet===g?1:r.value.outlet.localeCompare(t.value.outlet))}function ss(e){let r=e.value.routeConfig;return r&&r.path===""}function Un(e){let r=[],t=new Set;for(let n of e){if(!ss(n)){r.push(n);continue}let i=r.find(s=>
1n.value.routeConfig===s.value.routeConfig);i!==void 0?(i.children.push(...n.children),t.add(i)):r.push(n)}for(let n of t){let i=Un(n.children);r.push(new T(n.value,i))}return r.filter(n=>!t.has(n))}function nn(e){return e.data||{}}function sn(e){return e.resolve||{}}function os(e,r,t,n,i,s){return M(o=>rs(e,r,t,n,o.extractedUrl,i,s).pipe(m(({state:u,tree:a})=>I(l({},o),{targetSnapshot:u,urlAfterRedirects:a}))))}function as(e,r){return M(t=>{let{targetSnapshot:n,guards:{canActivateChecks:i}}=t;if(!i.length)return d(t);let s=new Set(i.map(a=>a.route)),o=new Set;for(let a of s)if(!o.has(a))for(let c of xn(a))o.add(c);let u=0;return A(o).pipe(et(a=>s.has(a)?us(a,n,e,r):(a.data=se(a,a.parent,e).resolve,d(void 0))),S(()=>u++),me(1),M(a=>u===o.size?d(t):H))})}function xn(e){let r=e.children.map(t=>xn(t)).flat();return[e,...r]}function us(e,r,t,n){let i=e.routeConfig,s=e._resolve;return i?.title!==void 0&&!In(i)&&(s[jt]=i.title),cs(s,e,r,n).pipe(m(o=>(e._resolvedData=o,e.data=se(e,e.parent,t).resolve,null)))}function cs(e,r,t,n){let i=Pe(e);if(i.length===0)return d({});let s={};return A(i).pipe(M(o=>ls(e[o],r,t,n).pipe(W(),S(u=>{if(u instanceof Ut)throw ae(new lt,u);s[o]=u}))),me(1),gr(s),tt(o=>Tn(o)?H:vt(o)))}function ls(e,r,t,n){let i=Lt(r)??n,s=pt(e,i),o=s.resolve?s.resolve(r,t):$(i,()=>s(r,t));return K(o)}function Ue(e){return P(r=>{let t=e(r);return t?A(t).pipe(m(()=>r)):d(r)})}var Pn=(()=>{class e{buildTitle(t){let n,i=t.root;for(;i!==void 0;)n=this.getResolvedTitleForRoute(i)??n,i=i.children.find(s=>s.outlet===g);return n}getResolvedTitleForRoute(t){return t.data[jt]}static{this.\u0275fac=function(n){return new(n||e)}}static{this.\u0275prov=R({token:e,factory:()=>p(hs),providedIn:"root"})}}return e})(),hs=(()=>{class e extends Pn{constructor(t){super(),this.title=t}updateTitle(t){let n=this.buildTitle(t);n!==void 0&&this.title.setTitle(n)}static{this.\u0275fac=function(n){return new(n||e)(_(Zr))}}static{this.\u0275prov=R({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),zt=new D("",{providedIn:"root",factory:()=>({})}),ds=(()=>{class e{static{this.\u0275fac=function(n){return new(n||e)}}static{this.\u0275cmp=Ir({type:e,selectors:[["ng-component"]],standalone:!0,features:[zr],decls:1,vars:0,template:function(n,i){n&1&&kr(0,"router-outlet")},dependencies:[Ri],encapsulation:2})}}return e})();function sr(e){let r=e.children&&e.children.map(sr),t=r?I(l({},e),{children:r}):l({},e);return!t.component&&!t.loadComponent&&(r||t.loadChildren)&&t.outlet&&t.outlet!==g&&(t.component=ds),t}var Nt=new D(""),or=(()=>{class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=p(Ht)}loadComponent(t){if(this.componentLoaders.get(t))return this.componentLoaders.get(t);if(t._loadedComponent)return d(t._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(t);let n=K(t.loadComponent()).pipe(m(Nn),S(s=>{this.onLoadEndListener&&this.onLoadEndListener(t),t._loadedComponent=s}),Vt(()=>{this.componentLoaders.delete(t)})),i=new fe(n,()=>new V).pipe(de());return this.componentLoaders.set(t,i),i}loadChildren(t,n){if(this.childrenLoaders.get(n))return this.childrenLoaders.get(n);if(n._loadedRoutes)return d({routes:n._loadedRoutes,injector:n._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(n);let s=fs(n,this.compiler,t,this.onLoadEndListener).pipe(Vt(()=>{this.childrenLoaders.delete(n)})),o=new fe(s,()=>new V).pipe(de());return this.childrenLoaders.set(n,o),o}static{this.\u0275fac=function(n){return new(n||e)}}static{this.\u0275prov=R({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function fs(e,r,t,n){return K(e.loadChildren()).pipe(m(Nn),M(i=>i instanceof jr||Array.isArray(i)?d(i):A(r.compileModuleAsync(i))),m(i=>{n&&n(e);let s,o,u=!1;return Array.isArray(i)?(o=i,u=!0):(s=i.create(t).injector,o=s.get(Nt,[],{optional:!0,self:!0}).flat()),{routes:o.map(sr),injector:s}}))}function ps(e){return e&&typeof e=="object"&&"default"in e}function Nn(e){return ps(e)?e.default:e}var ar=(()=>{class e{static{this.\u0275fac=function(n){return new(n||e)}}static{this.\u0275prov=R({token:e,factory:()=>p(gs),providedIn:"root"})}}return e})(),gs=(()=>{class e{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,n){return t}static{this.\u0275fac=function(n){return new(n||e)}}static{this.\u0275prov=R({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),jn=new D(""),$n=new D("");function vs(e,r,t){let n=e.get($n),i=e.get(Hr);return e.get(be).runOutsideAngular(()=>{if(!i.startViewTransition||n.skipNextTransition)return n.skipNextTransition=!1,new Promise(c=>setTimeout(c));let s,o=new Promise(c=>{s=c}),u=i.startViewTransition(()=>(s(),ms(e))),{onViewTransitionCreated:a}=n;return a&&$(e,()=>a({transition:u,from:r,to:t})),o})}function ms(e){return new Promise(r=>{$r({read:()=>setTimeout(r)},{injector:e})})}var ys=new D(""),ur=(()=>{class e{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new V,this.transitionAbortSubject=ne
1w V,this.configLoader=p(or),this.environmentInjector=p(mt),this.urlSerializer=p($t),this.rootContexts=p(kt),this.location=p(Rt),this.inputBindingEnabled=p(le,{optional:!0})!==null,this.titleStrategy=p(Pn),this.options=p(zt,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=p(ar),this.createViewTransition=p(jn,{optional:!0}),this.navigationErrorHandler=p(ys,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>d(void 0),this.rootComponentType=null;let t=i=>this.events.next(new Fe(i)),n=i=>this.events.next(new qe(i));this.configLoader.onLoadEndListener=n,this.configLoader.onLoadStartListener=t}complete(){this.transitions?.complete()}handleNavigationRequest(t){let n=++this.navigationId;this.transitions?.next(I(l(l({},this.transitions.value),t),{id:n}))}setupNavigations(t,n,i){return this.transitions=new E({id:0,currentUrlTree:n,currentRawUrl:n,extractedUrl:this.urlHandlingStrategy.extract(n),urlAfterRedirects:this.urlHandlingStrategy.extract(n),rawUrl:n,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:At,restoredState:null,currentSnapshot:i.snapshot,targetSnapshot:null,currentRouterState:i,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(Z(s=>s.id!==0),m(s=>I(l({},s),{extractedUrl:this.urlHandlingStrategy.extract(s.rawUrl)})),P(s=>{let o=!1,u=!1;return d(s).pipe(P(a=>{if(this.navigationId>s.id)return this.cancelNavigationTransition(s,"",O.SupersededByNewNavigation),H;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?I(l({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let c=!t.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),h=a.extras.onSameUrlNavigation??t.onSameUrlNavigation;if(!c&&h!=="reload"){let f="";return this.events.next(new G(a.id,this.urlSerializer.serialize(a.rawUrl),f,te.IgnoredSameUrlNavigation)),a.resolve(!1),H}if(this.urlHandlingStrategy.shouldProcessUrl(a.rawUrl))return d(a).pipe(P(f=>{let y=this.transitions?.getValue();return this.events.next(new ht(f.id,this.urlSerializer.serialize(f.extractedUrl),f.source,f.restoredState)),y!==this.transitions?.getValue()?H:Promise.resolve(f)}),os(this.environmentInjector,this.configLoader,this.rootComponentType,t.config,this.urlSerializer,this.paramsInheritanceStrategy),S(f=>{s.targetSnapshot=f.targetSnapshot,s.urlAfterRedirects=f.urlAfterRedirects,this.currentNavigation=I(l({},this.currentNavigation),{finalUrl:f.urlAfterRedirects});let y=new ee(f.id,this.urlSerializer.serialize(f.extractedUrl),this.urlSerializer.serialize(f.urlAfterRedirects),f.targetSnapshot);this.events.next(y)}));if(c&&this.urlHandlingStrategy.shouldProcessUrl(a.currentRawUrl)){let{id:f,extractedUrl:y,source:j,restoredState:w,extras:B}=a,x=new ht(f,this.urlSerializer.serialize(y),j,w);this.events.next(x);let gt=wn(this.rootComponentType).snapshot;return this.currentTransition=s=I(l({},a),{targetSnapshot:gt,urlAfterRedirects:y,extras:I(l({},B),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=y,d(s)}else{let f="";return this.events.next(new G(a.id,this.urlSerializer.serialize(a.extractedUrl),f,te.IgnoredByUrlHandlingStrategy)),a.resolve(!1),H}}),S(a=>{let c=new Le(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(c)}),m(a=>(this.currentTransition=s=I(l({},a),{guards:Mi(a.targetSnapshot,a.currentSnapshot,this.rootContexts)}),s)),Li(this.environmentInjector,a=>this.events.next(a)),S(a=>{if(s.guardsResult=a.guardsResult,a.guardsResult&&typeof a.guardsResult!="boolean")throw ae(this.urlSerializer,a.guardsResult);let c=new ke(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot,!!a.guardsResult);this.events.next(c)}),Z(a=>a.guardsResult?!0:(this.cancelNavigationTransition(a,"",O.GuardRejected),!1)),Ue(a=>{if(a.guards.canActivateChecks.length)return d(a).pipe(S(c=>{let h=new _e(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(h)}),P(c=>{let h=!1;return d(c).pipe(as(this.paramsInheritanceStrategy,this.environmentInjector),S({next:()=>h=!0,complete:()=>
1{h||this.cancelNavigationTransition(c,"",O.NoDataFromResolver)}}))}),S(c=>{let h=new ze(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(h)}))}),Ue(a=>{let c=h=>{let f=[];h.routeConfig?.loadComponent&&!h.routeConfig._loadedComponent&&f.push(this.configLoader.loadComponent(h.routeConfig).pipe(S(y=>{h.component=y}),m(()=>{})));for(let y of h.children)f.push(...c(y));return f};return Bt(c(a.targetSnapshot.root)).pipe(ve(null),rt(1))}),Ue(()=>this.afterPreactivation()),P(()=>{let{currentSnapshot:a,targetSnapshot:c}=s,h=this.createViewTransition?.(this.environmentInjector,a.root,c.root);return h?A(h).pipe(m(()=>s)):d(s)}),m(a=>{let c=Si(t.routeReuseStrategy,a.targetSnapshot,a.currentRouterState);return this.currentTransition=s=I(l({},a),{targetRouterState:c}),this.currentNavigation.targetRouterState=c,s}),S(()=>{this.events.next(new Ot)}),Ai(this.rootContexts,t.routeReuseStrategy,a=>this.events.next(a),this.inputBindingEnabled),rt(1),S({next:a=>{o=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new k(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects))),this.titleStrategy?.updateTitle(a.targetRouterState.snapshot),a.resolve(!0)},complete:()=>{o=!0}}),Cr(this.transitionAbortSubject.pipe(S(a=>{throw a}))),Vt(()=>{!o&&!u&&this.cancelNavigationTransition(s,"",O.SupersededByNewNavigation),this.currentTransition?.id===s.id&&(this.currentNavigation=null,this.currentTransition=null)}),tt(a=>{if(u=!0,Dn(a))this.events.next(new z(s.id,this.urlSerializer.serialize(s.extractedUrl),a.message,a.cancellationCode)),Ii(a)?this.events.next(new dt(a.url,a.navigationBehaviorOptions)):s.resolve(!1);else{let c=new Tt(s.id,this.urlSerializer.serialize(s.extractedUrl),a,s.targetSnapshot??void 0);try{let h=$(this.environmentInjector,()=>this.navigationErrorHandler?.(c));if(h instanceof Ut){let{message:f,cancellationCode:y}=ae(this.urlSerializer,h);this.events.next(new z(s.id,this.urlSerializer.serialize(s.extractedUrl),f,y)),this.events.next(new dt(h.redirectTo,h.navigationBehaviorOptions))}else{this.events.next(c);let f=t.errorHandler(a);s.resolve(!!f)}}catch(h){this.options.resolveNavigationPromiseOnError?s.resolve(!1):s.reject(h)}}return H}))}))}cancelNavigationTransition(t,n,i){let s=new z(t.id,this.urlSerializer.serialize(t.extractedUrl),n,i);this.events.next(s),t.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let t=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),n=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return t.toString()!==n?.toString()&&!this.currentNavigation?.extras.skipLocationChange}static{this.\u0275fac=function(n){return new(n||e)}}static{this.\u0275prov=R({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function Cs(e){return e!==At}var Rs=(()=>{class e{static{this.\u0275fac=function(n){return new(n||e)}}static{this.\u0275prov=R({token:e,factory:()=>p(Ss),providedIn:"root"})}}return e})(),nr=class{shouldDetach(r){return!1}store(r,t){}shouldAttach(r){return!1}retrieve(r){return null}shouldReuseRoute(r,t){return r.routeConfig===t.routeConfig}},Ss=(()=>{class e extends nr{static{this.\u0275fac=(()=>{let t;return function(i){return(t||(t=Se(e)))(i||e)}})()}static{this.\u0275prov=R({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),Ln=(()=>{class e{static{this.\u0275fac=function(n){return new(n||e)}}static{this.\u0275prov=R({token:e,factory:()=>p(ws),providedIn:"root"})}}return e})(),ws=(()=>{class e extends Ln{constructor(){super(...arguments),this.location=p(Rt),this.urlSerializer=p($t),this.options=p(zt,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=p(ar),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new F,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=wn(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(t){return this.location.subscribe(n=>{n.type==="popstate"&&t(n.url,n.state)})}handleRouterEvent(t,n){if(t instanceof ht)this.stateMemento=this.createStateMemento();else if(t instanceof G)this.rawUrlTree=n.initialUrl;else if(t instanceof ee){if(this.urlUpdateStrategy==="eager"&&!n.extras.skipLocationChange){let i=this.urlHandlingStrategy.merge(n.finalUrl,n.initialUrl);this.setBrowserUrl(n.targetBrowserUrl??i,n)}}else t instanceof Ot?(this.currentUrlTree=n.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(n.finalUrl,n.initialUrl),this.routerState=n.targetRouterState,this.urlUpdateStrategy==="deferred"&&!n.extras.skipLocationChange&&this.setBrowserUrl(n.targetBrowserUrl??this.rawUrlTree,n)):t instanceof z&&(t.code===O.GuardRejected||t.code===O.NoDataFromRe
1solver)?this.restoreHistory(n):t instanceof Tt?this.restoreHistory(n,!0):t instanceof k&&(this.lastSuccessfulId=t.id,this.currentPageId=this.browserPageId)}setBrowserUrl(t,n){let i=t instanceof F?this.urlSerializer.serialize(t):t;if(this.location.isCurrentPathEqualTo(i)||n.extras.replaceUrl){let s=this.browserPageId,o=l(l({},n.extras.state),this.generateNgRouterState(n.id,s));this.location.replaceState(i,"",o)}else{let s=l(l({},n.extras.state),this.generateNgRouterState(n.id,this.browserPageId+1));this.location.go(i,"",s)}}restoreHistory(t,n=!1){if(this.canceledNavigationResolution==="computed"){let i=this.browserPageId,s=this.currentPageId-i;s!==0?this.location.historyGo(s):this.currentUrlTree===t.finalUrl&&s===0&&(this.resetState(t),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(n&&this.resetState(t),this.resetUrlToCurrentUrlTree())}resetState(t){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(t,n){return this.canceledNavigationResolution==="computed"?{navigationId:t,\u0275routerPageId:n}:{navigationId:t}}static{this.\u0275fac=(()=>{let t;return function(i){return(t||(t=Se(e)))(i||e)}})()}static{this.\u0275prov=R({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),bt=function(e){return e[e.COMPLETE=0]="COMPLETE",e[e.FAILED=1]="FAILED",e[e.REDIRECTING=2]="REDIRECTING",e}(bt||{});function kn(e,r){e.events.pipe(Z(t=>t instanceof k||t instanceof z||t instanceof Tt||t instanceof G),m(t=>t instanceof k||t instanceof G?bt.COMPLETE:(t instanceof z?t.code===O.Redirect||t.code===O.SupersededByNewNavigation:!1)?bt.REDIRECTING:bt.FAILED),Z(t=>t!==bt.REDIRECTING),rt(1)).subscribe(()=>{r()})}function bs(e){throw e}var Is={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},As={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},q=(()=>{class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.console=p(Fr),this.stateManager=p(Ln),this.options=p(zt,{optional:!0})||{},this.pendingTasks=p(Tr),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=p(ur),this.urlSerializer=p($t),this.location=p(Rt),this.urlHandlingStrategy=p(ar),this._events=new V,this.errorHandler=this.options.errorHandler||bs,this.navigated=!1,this.routeReuseStrategy=p(Rs),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=p(Nt,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!p(le,{optional:!0}),this.eventsSubscription=new lr,this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:t=>{this.console.warn(t)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){let t=this.navigationTransitions.events.subscribe(n=>{try{let i=this.navigationTransitions.currentTransition,s=this.navigationTransitions.currentNavigation;if(i!==null&&s!==null){if(this.stateManager.handleRouterEvent(n,s),n instanceof z&&n.code!==O.Redirect&&n.code!==O.SupersededByNewNavigation)this.navigated=!0;else if(n instanceof k)this.navigated=!0;else if(n instanceof dt){let o=n.navigationBehaviorOptions,u=this.urlHandlingStrategy.merge(n.url,i.currentRawUrl),a=l({browserUrl:i.extras.browserUrl,info:i.extras.info,skipLocationChange:i.extras.skipLocationChange,replaceUrl:i.extras.replaceUrl||this.urlUpdateStrategy==="eager"||Cs(i.source)},o);this.scheduleNavigation(u,At,null,a,{resolve:i.resolve,reject:i.reject,promise:i.promise})}}Ds(n)&&this._events.next(n)}catch(i){this.navigationTransitions.transitionAbortSubject.next(i)}});this.eventsSubscription.add(t)}resetRootComponentType(t){this.routerState.root.component=t,this.navigationTransitions.rootComponentType=t}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),At,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((t,n)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(t,"popstate",n)},0)})}navigateToSyncWithBrowser(t,n,i){let s={replaceUrl:!0},o=i?.navigationId?i:null;if(i){let a=l({},i);delete a.navigationId,delete a.\u0275routerPageId,Object.keys(a).length!==0&&(s.state=a)}let u=this.parseUrl(t);this.scheduleNavigation(u,n,o,s)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(t){this.config=t.map(sr),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(t,n={}){let{relativeTo:i,queryParams:s,fragment:o,queryParamsHandling:u,preserveFragment:a}=n,c=a?this.currentUrlTree.fragment:o,h=null;switch(u??this.options.defaultQueryParamsHandling){case"merge":h=l(l({},this.currentUrlTree.queryParams),s);break;case"preserve":h=this.currentUrlTree.queryParams;break;default:h=s||null}h!==null&&(h=this.removeEmptyProps(h));let f;try{let y=i?i.snapshot:this.routerState.snapshot.root;f=yn(y)}
1catch{(typeof t[0]!="string"||t[0][0]!=="/")&&(t=[]),f=this.currentUrlTree.root}return Cn(f,t,h,c??null)}navigateByUrl(t,n={skipLocationChange:!1}){let i=J(t)?t:this.parseUrl(t),s=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(s,At,null,n)}navigate(t,n={skipLocationChange:!1}){return Ms(t),this.navigateByUrl(this.createUrlTree(t,n),n)}serializeUrl(t){return this.urlSerializer.serialize(t)}parseUrl(t){try{return this.urlSerializer.parse(t)}catch{return this.urlSerializer.parse("/")}}isActive(t,n){let i;if(n===!0?i=l({},Is):n===!1?i=l({},As):i=n,J(t))return Yr(this.currentUrlTree,t,i);let s=this.parseUrl(t);return Yr(this.currentUrlTree,s,i)}removeEmptyProps(t){return Object.entries(t).reduce((n,[i,s])=>(s!=null&&(n[i]=s),n),{})}scheduleNavigation(t,n,i,s,o){if(this.disposed)return Promise.resolve(!1);let u,a,c;o?(u=o.resolve,a=o.reject,c=o.promise):c=new Promise((f,y)=>{u=f,a=y});let h=this.pendingTasks.add();return kn(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(h))}),this.navigationTransitions.handleNavigationRequest({source:n,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:t,extras:s,resolve:u,reject:a,promise:c,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),c.catch(f=>Promise.reject(f))}static{this.\u0275fac=function(n){return new(n||e)}}static{this.\u0275prov=R({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function Ms(e){for(let r=0;r<e.length;r++)if(e[r]==null)throw new b(4008,!1)}function Ds(e){return!(e instanceof Ot)&&!(e instanceof dt)}var po=(()=>{class e{constructor(t,n,i,s,o,u){this.router=t,this.route=n,this.tabIndexAttribute=i,this.renderer=s,this.el=o,this.locationStrategy=u,this.href=null,this.onChanges=new V,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=t.events.subscribe(c=>{c instanceof k&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(t){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",t)}ngOnChanges(t){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(t){t==null?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(J(t)?this.routerLinkInput=t:this.routerLinkInput=Array.isArray(t)?t:[t],this.setTabIndexIfNotOnNativeEl("0"))}onClick(t,n,i,s,o){let u=this.urlTree;if(u===null||this.isAnchorElement&&(t!==0||n||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(u,a),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let t=this.urlTree;this.href=t!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(t)):null;let n=this.href===null?null:Er(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",n)}applyAttributeValue(t,n){let i=this.renderer,s=this.el.nativeElement;n!==null?i.setAttribute(s,t,n):i.removeAttribute(s,t)}get urlTree(){return this.routerLinkInput===null?null:J(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(n){return new(n||e)(nt(q),nt(Q),Dr("tabindex"),nt(xr),nt(Or),nt(Ct))}}static{this.\u0275dir=Ce({type:e,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(n,i){n&1&&_r("click",function(o){return i.onClick(o.button,o.ctrlKey,o.shiftKey,o.altKey,o.metaKey)}),n&2&&Lr("target",i.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",Wt],skipLocationChange:[2,"skipLocationChange","skipLocationChange",Wt],replaceUrl:[2,"replaceUrl","replaceUrl",Wt],routerLink:"routerLink"},standalone:!0,features:[Nr,Re]})}}return e})();var ce=class{};var Ts=(()=>{class e{constructor(t,n,i,s,o){this.router=t,this.injector=i,this.preloadingStrategy=s,this.loader=o}setUpPreloading(){this.subscription=this.router.events.pipe(Z(t=>t instanceof k),et(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(t,n){let i=[];for(let s of n){s.providers&&!s._injector&&(s._injector=Ie(s.providers,t,`Route: ${s.path}`));let o=s._injector??t,u=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(u,s.children??s._loadedRoutes))}return A(i).pipe(pe())}preloadConfig(t,n){return this.preloadingStrategy.preload(n,()=>{let i;n.loadChildren&&n.canLoad===void 0?i=this.loader.loadChildren(t,n):i=d(null);let s=i.pipe(M(o=>o===null?d(void 0):(n._loadedRoutes=o.routes,n._loadedInjector=o.injector,this.processRoutes(o.injector??t,o.routes))));if(n.loadComponent&&!n._loadedComponent){let o=this.loader.loadComponent(n);return A([s,o]).pipe(pe())}else return s})}static{this.\u0275fac=function(n){return new(n||e)(_(q),_(Ht),_(mt),_(ce),_(or))}}static{this.\u0275prov=R({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),_n=new D(""),Os=(()=>{class e{constructor(t,n,i,s,o={}
1){this.urlSerializer=t,this.transitions=n,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(t=>{t instanceof ht?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof k?(this.lastId=t.id,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.urlAfterRedirects).fragment)):t instanceof G&&t.code===te.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(t=>{t instanceof re&&(t.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(t.position):t.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(t.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(t,n){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new re(t,this.lastSource==="popstate"?this.store[this.restoredId]:null,n))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static{this.\u0275fac=function(n){Ur()}}static{this.\u0275prov=R({token:e,factory:e.\u0275fac})}}return e})();function go(e,...r){return Mr([{provide:Nt,multi:!0,useValue:e},[],{provide:Q,useFactory:zn,deps:[q]},{provide:Me,multi:!0,useFactory:Fn},r.map(t=>t.\u0275providers)])}function zn(e){return e.routerState.root}function Ft(e,r){return{\u0275kind:e,\u0275providers:r}}function Fn(){let e=p(we);return r=>{let t=e.get(Br);if(r!==t.components[0])return;let n=e.get(q),i=e.get(qn);e.get(cr)===1&&n.initialNavigation(),e.get(Bn,null,ye.Optional)?.setUpPreloading(),e.get(_n,null,ye.Optional)?.init(),n.resetRootComponentType(t.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}var qn=new D("",{factory:()=>new V}),cr=new D("",{providedIn:"root",factory:()=>1});function Es(){return Ft(2,[{provide:cr,useValue:0},{provide:Ae,multi:!0,deps:[we],useFactory:r=>{let t=r.get(Wr,Promise.resolve());return()=>t.then(()=>new Promise(n=>{let i=r.get(q),s=r.get(qn);kn(i,()=>{n(!0)}),r.get(ur).afterPreactivation=()=>(n(!0),s.closed?d(void 0):s),i.initialNavigation()}))}}])}function Us(){return Ft(3,[{provide:Ae,multi:!0,useFactory:()=>{let r=p(q);return()=>{r.setUpLocationChangeListener()}}},{provide:cr,useValue:2}])}var Bn=new D("");function xs(e){return Ft(0,[{provide:Bn,useExisting:Ts},{provide:ce,useExisting:e}])}function Ps(){return Ft(8,[en,{provide:le,useExisting:en}])}function Ns(e){let r=[{provide:jn,useValue:vs},{provide:$n,useValue:l({skipNextTransition:!!e?.skipInitialTransition},e)}];return Ft(9,r)}var on=new D("ROUTER_FORROOT_GUARD"),js=[Rt,{provide:$t,useClass:lt},q,kt,{provide:Q,useFactory:zn,deps:[q]},or,[]],vo=(()=>{class e{constructor(t){}static forRoot(t,n){return{ngModule:e,providers:[js,[],{provide:Nt,multi:!0,useValue:t},{provide:on,useFactory:_s,deps:[[q,new wr,new br]]},{provide:zt,useValue:n||{}},n?.useHash?Ls():ks(),$s(),n?.preloadingStrategy?xs(n.preloadingStrategy).\u0275providers:[],n?.initialNavigation?zs(n):[],n?.bindToComponentInputs?Ps().\u0275providers:[],n?.enableViewTransitions?Ns().\u0275providers:[],Fs()]}}static forChild(t){return{ngModule:e,providers:[{provide:Nt,multi:!0,useValue:t}]}}static{this.\u0275fac=function(n){return new(n||e)(_(on,8))}}static{this.\u0275mod=Ar({type:e})}static{this.\u0275inj=Rr({})}}return e})();function $s(){return{provide:_n,useFactory:()=>{let e=p(Kr),r=p(be),t=p(zt),n=p(ur),i=p($t);return t.scrollOffset&&e.setOffset(t.scrollOffset),new Os(i,n,e,r,t)}}}function Ls(){return{provide:Ct,useClass:Qr}}function ks(){return{provide:Ct,useClass:Gr}}function _s(e){return"guarded"}function zs(e){return[e.initialNavigation==="disabled"?Us().\u0275providers:[],e.initialNavigation==="enabledBlocking"?Es().\u0275providers:[]]}var an=new D("");function Fs(){return[{provide:an,useFactory:Fn}
1,{provide:Me,multi:!0,useExisting:an}]}export{k as a,Q as b,Ri as c,q as d,po as e,go as f,vo as g};

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.