PageSourceSearch

https://prod.portal.fd.colmedica.com/clientesjs/550.e2bdf0470071c6a0.js

js colmedica.com collected 2026-10-04 18:31:22 UTC 88,782 bytes, 1 lines download raw bytes

1(self.webpackChunkclientesApp=self.webpackChunkclientesApp||[]).push([[550],{4412:(x,I,l)=>{l.d(I,{t:()=>a});var E=l(1413);class a extends E.B{constructor(f){super(),this._value=f}get value(){return this.getValue()}_subscribe(f){const h=super._subscribe(f);return!h.closed&&f.next(this._value),h}getValue(){const{hasError:f,thrownError:h,_value:g}=this;if(f)throw h;return this._throwIfClosed(),g}next(f){super.next(this._value=f)}}},8810:(x,I,l)=>{l.d(I,{$:()=>w});var E=l(1985),a=l(8071);function w(f,h){const g=(0,a.T)(f)?f:()=>f,y=R=>R.error(g());return new E.c(h?R=>h.schedule(y,0,R):y)}},9437:(x,I,l)=>{l.d(I,{W:()=>f});var E=l(8750),a=l(4360),w=l(9974);function f(h){return(0,w.N)((g,y)=>{let b,R=null,S=!1;R=g.subscribe((0,a._)(y,void 0,void 0,D=>{b=(0,E.Tg)(h(D,f(h)(g))),R?(R.unsubscribe(),R=null,b.subscribe(y)):S=!0})),S&&(R.unsubscribe(),R=null,b.subscribe(y))})}},9901:(x,I,l)=>{l.d(I,{U:()=>w});var E=l(9974),a=l(4360);function w(f){return(0,E.N)((h,g)=>{let y=!1;h.subscribe((0,a._)(g,R=>{y=!0,g.next(R)},()=>{y||g.next(f),g.complete()}))})}},5964:(x,I,l)=>{l.d(I,{p:()=>w});var E=l(9974),a=l(4360);function w(f,h){return(0,E.N)((g,y)=>{let R=0;g.subscribe((0,a._)(y,S=>f.call(h,S,R++)&&y.next(S)))})}},980:(x,I,l)=>{l.d(I,{j:()=>a});var E=l(9974);function a(w){return(0,E.N)((f,h)=>{try{f.subscribe(h)}finally{h.add(w)}})}},1594:(x,I,l)=>{l.d(I,{$:()=>y});var E=l(9350),a=l(5964),w=l(6697),f=l(9901),h=l(3774),g=l(3669);function y(R,S){const b=arguments.length>=2;return D=>D.pipe(R?(0,a.p)((G,$)=>R(G,$,D)):g.D,(0,w.s)(1),b?(0,f.U)(S):(0,h.v)(()=>new E.G))}},3703:(x,I,l)=>{l.d(I,{u:()=>a});var E=l(6354);function a(w){return(0,E.T)(()=>w)}},9172:(x,I,l)=>{l.d(I,{Z:()=>f});var E=l(8793),a=l(9326),w=l(9974);function f(...h){const g=(0,a.lI)(h);return(0,w.N)((y,R)=>{(g?(0,E.x)(h,y,g):(0,E.x)(h,y)).subscribe(R)})}},6977:(x,I,l)=>{l.d(I,{Q:()=>h});var E=l(9974),a=l(4360),w=l(8750),f=l(5343);function h(g){return(0,E.N)((y,R)=>{(0,w.Tg)(g).subscribe((0,a._)(R,()=>R.complete(),f.l)),!R.closed&&y.subscribe(R)})}},8141:(x,I,l)=>{l.d(I,{M:()=>h});var E=l(8071),a=l(9974),w=l(4360),f=l(3669);function h(g,y,R){const S=(0,E.T)(g)||y||R?{next:g,error:y,complete:R}:g;return S?(0,a.N)((b,D)=>{var G;null===(G=S.subscribe)||void 0===G||G.call(S);let $=!0;b.subscribe((0,w._)(D,O=>{var j;null===(j=S.next)||void 0===j||j.call(S,O),D.next(O)},()=>{var O;$=!1,null===(O=S.complete)||void 0===O||O.call(S),D.complete()},O=>{var j;$=!1,null===(j=S.error)||void 0===j||j.call(S,O),D.error(O)},()=>{var O,j;$&&(null===(O=S.unsubscribe)||void 0===O||O.call(S)),null===(j=S.finalize)||void 0===j||j.call(S)}))}):f.D}},3774:(x,I,l)=>{l.d(I,{v:()=>f});var E=l(9350),a=l(9974),w=l(4360);function f(g=h){return(0,a.N)((y,R)=>{let S=!1;y.subscribe((0,w._)(R,b=>{S=!0,R.next(b)},()=>S?R.complete():R.error(g())))})}function h(){return new E.G}},9350:(x,I,l)=>{l.d(I,{G:()=>a});const a=(0,l(4234).L)(w=>function(){w(this),this.name="EmptyError",this.message="no elements in sequence"})},4550:(x,I,l)=>{l.r(I),l.d(I,{ActivatedRoute:()=>it,ActivatedRouteSnapshot:()=>Gt,ActivationEnd:()=>Cn,ActivationStart:()=>Rn,BaseRouteReuseStrategy:()=>Bn,ChildActivationEnd:()=>mn,ChildActivationStart:()=>vn,ChildrenOutletContexts:()=>ht,DefaultTitleStrategy:()=>Ln,DefaultUrlSerializer:()=>kt,EventType:()=>C,GuardsCheckEnd:()=>hn,GuardsCheckStart:()=>ln,NavigationCancel:()=>nt,NavigationCancellationCode:()=>N,NavigationEnd:()=>W,NavigationError:()=>At,NavigationSkipped:()=>rt,NavigationSkippedCode:()=>wt,NavigationStart:()=>It,NoPreloading:()=>ro,OutletContext:()=>Sn,PRIMARY_OUTLET:()=>v,PreloadAllModules:()=>no,PreloadingStrategy:()=>Pe,ROUTER_CONFIGURATION:()=>ot,ROUTER_INITIALIZER:()=>Le,ROUTES:()=>st,ResolveEnd:()=>fn,ResolveStart:()=>dn,RouteConfigLoadEnd:()=>gn,RouteConfigLoadStart:()=>pn,RouteReuseStrategy:()=>Fn,Router:()=>_,RouterEvent:()=>z,RouterLink:()=>Ut,RouterLinkActive:()=>Vn,RouterLinkWithHref:()=>Ut,RouterModule:()=>fo,RouterOutlet:()=>ye,RouterPreloader:()=>Hn,RouterState:()=>ge,RouterStateSnapshot:()=>me,RoutesRecognized:()=>ce,Scroll:()=>le,TitleStrategy:()=>Oe,UrlHandlingStrategy:()=>qt,UrlSegment:()=>ct,UrlSegmentGroup:()=>A,UrlSerializer:()=>et,UrlTree:()=>J,VERSION:()=>Ao,convertToParamMap:()=>X,createUrlTreeFromSnapshot:()=>en,defaultUrlMatcher:()=>Be,mapToCanActivate:()=>yo,mapToCanActivateChild:()=>Eo,mapToCanDeactivate:()=>Io,mapToCanMatch:()=>So,mapToResolve:()=>wo,provideRouter:()=>io,provideRoutes:()=>so,withComponentInputBinding:()=>tr,withDebugTracing:()=>uo,withDisabledInitialNavigation:()=>qn,withEnabledBlockingInitialNavigation:()=>Yn,withHashLocation:()=>lo,withInMemoryScrolling:()=>ao,withNavigationErrorHandler:()=>ho,withPreloading:()=>Jn,withRouterConfig:()=>co,withViewTransitions:()=>er,\u0275EmptyOutletComponent:()=>Ie,\u0275ROUTER_PROVIDERS:()=>rr,\u0275afterNextNavigation:()=>Ue,\u0275loadChildren:()=>_n});var E=l(467),a=l(2331),w=l(4402),f=l(6648),h=l(7673),g=l(4412),y=l(1985),R=l(3073),S=l(3669),b=l(6450),D=l(9326),G=l(8496),$=l(4360),O=l(5225);function j(...t){const n=(0,D.lI)(t),e=(0,D.ms)(t),{args:r,keys:i}=(0,R.D)(t);if(0===r.length)return(0,f.H)([],n);const o=new y.c(function ir(t,n,e=S.D){return r=>{$e(n,()=>{const{length:i}=t,o=new Array(i);let s=i,c=i;for(let u=0;u<i;u++)$e(n,()=>{const d=(0,f.H)(t[u],n);let p=!1;d.subscribe((0,$._)(r,m=>{o[u]=m,p||(p=!0,c--),c||r.next(e(o.slice()))},()=>{--s||r.complete()}
1))},r)},r)}}(r,n,i?s=>(0,G.e)(i,s):S.D));return e?o.pipe((0,b.I)(e)):o}function $e(t,n,e){t?(0,O.N)(e,t,n):n()}var ze=l(9350),or=l(8793),ke=l(9030),sr=l(1203),Lt=l(8810),K=l(983),Jt=l(8359),_t=l(9974);function te(){return(0,_t.N)((t,n)=>{let e=null;t._refCount++;const r=(0,$._)(n,void 0,void 0,void 0,()=>{if(!t||t._refCount<=0||0<--t._refCount)return void(e=null);const i=t._connection,o=e;e=null,i&&(!o||i===o)&&i.unsubscribe(),n.unsubscribe()});t.subscribe(r),r.closed||(e=t.connect())})}class Fe extends y.c{constructor(n,e){super(),this.source=n,this.subjectFactory=e,this._subject=null,this._refCount=0,this._connection=null,(0,_t.S)(n)&&(this.lift=n.lift)}_subscribe(n){return this.getSubject().subscribe(n)}getSubject(){const n=this._subject;return(!n||n.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:n}=this;this._subject=this._connection=null,n?.unsubscribe()}connect(){let n=this._connection;if(!n){n=this._connection=new Jt.yU;const e=this.getSubject();n.add(this.source.subscribe((0,$._)(e,void 0,()=>{this._teardown(),e.complete()},r=>{this._teardown(),e.error(r)},()=>this._teardown()))),n.closed&&(this._connection=null,n=Jt.yU.EMPTY)}return n}refCount(){return te()(this)}}var Q=l(1413),U=l(8701),T=l(6354),F=l(5558),vt=l(6697),ar=l(9172),Y=l(5964),L=l(1397),q=l(1594),mt=l(274),P=l(8141),ut=l(9437);var ee=l(9901);function ne(t){return t<=0?()=>K.w:(0,_t.N)((n,e)=>{let r=[];n.subscribe((0,$._)(e,i=>{r.push(i),t<r.length&&r.shift()},()=>{for(const i of r)e.next(i);e.complete()},void 0,()=>{r=null}))})}var lr=l(3774),dr=l(3703),re=l(980),fr=l(6977),$t=l(6365),pr=l(345);const v="primary",Rt=Symbol("RouteTitle");class gr{constructor(n){this.params=n||{}}has(n){return Object.prototype.hasOwnProperty.call(this.params,n)}get(n){if(this.has(n)){const e=this.params[n];return Array.isArray(e)?e[0]:e}return null}getAll(n){if(this.has(n)){const e=this.params[n];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}}function X(t){return new gr(t)}function Be(t,n,e){const r=e.path.split("/");if(r.length>t.length||"full"===e.pathMatch&&(n.hasChildren()||r.length<t.length))return null;const i={};for(let o=0;o<r.length;o++){const s=r[o],c=t[o];if(s.startsWith(":"))i[s.substring(1)]=c;else if(s!==c.path)return null}return{consumed:t.slice(0,r.length),posParams:i}}function B(t,n){const e=t?ie(t):void 0,r=n?ie(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],!We(t[i],n[i]))return!1;return!0}function ie(t){return[...Object.keys(t),...Object.getOwnPropertySymbols(t)]}function We(t,n){if(Array.isArray(t)&&Array.isArray(n)){if(t.length!==n.length)return!1;const e=[...t].sort(),r=[...n].sort();return e.every((i,o)=>r[o]===i)}return t===n}function Ve(t){return t.length>0?t[t.length-1]:null}function Z(t){return(0,w.A)(t)?t:(0,a.\u0275isPromise)(t)?(0,f.H)(Promise.resolve(t)):(0,h.of)(t)}const mr={exact:function Ke(t,n,e){if(!tt(t.segments,n.segments)||!zt(t.segments,n.segments,e)||t.numberOfChildren!==n.numberOfChildren)return!1;for(const r in n.children)if(!t.children[r]||!Ke(t.children[r],n.children[r],e))return!1;return!0},subset:Ze},He={exact:function Rr(t,n){return B(t,n)},subset:function Cr(t,n){return Object.keys(n).length<=Object.keys(t).length&&Object.keys(n).every(e=>We(t[e],n[e]))},ignored:()=>!0};function Ge(t,n,e){return mr[e.paths](t.root,n.root,e.matrixParams)&&He[e.queryParams](t.queryParams,n.queryParams)&&!("exact"===e.fragment&&t.fragment!==n.fragment)}function Ze(t,n,e){return Qe(t,n,n.segments,e)}function Qe(t,n,e,r){if(t.segments.length>e.length){const i=t.segments.slice(0,e.length);return!(!tt(i,e)||n.hasChildren()||!zt(i,e,r))}if(t.segments.length===e.length){if(!tt(t.segments,e)||!zt(t.segments,e,r))return!1;for(const i in n.children)if(!t.children[i]||!Ze(t.children[i],n.children[i],r))return!1;return!0}{const i=e.slice(0,t.segments.length),o=e.slice(t.segments.length);return!!(tt(t.segments,i)&&zt(t.segments,i,r)&&t.children[v])&&Qe(t.children[v],n,o,r)}}function zt(t,n,e){return n.every((r,i)=>He[e](t[i].parameters,r.parameters))}class J{constructor(n=new A([],{}),e={},r=null){this.root=n,this.queryParams=e,this.fragment=r}get queryParamMap(){return this._queryParamMap??=X(this.queryParams),this._queryParamMap}toString(){return Er.serialize(this)}}class A{constructor(n,e){this.segments=n,this.children=e,this.parent=null,Object.values(e).forEach(r=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Ft(this)}}class ct{constructor(n,e){this.path=n,this.parameters=e}get parameterMap(){return this._parameterMap??=X(this.parameters),this._parameterMap}toString(){return Xe(this)}}function tt(t,n){return t.length===n.length&&t.every((e,r)=>e.path===n[r].path)}let et=(()=>{class t{static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275prov=a.\u0275\u0275defineInjectable({token:t,factory:()=>new kt,providedIn:"root"})}}return t})();class kt{parse(n){const e=new Pr(n);
1return new J(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(n){const e=`/${Ct(n.root,!0)}`,r=function Ar(t){const n=Object.entries(t).map(([e,r])=>Array.isArray(r)?r.map(i=>`${Bt(e)}=${Bt(i)}`).join("&"):`${Bt(e)}=${Bt(r)}`).filter(e=>e);return n.length?`?${n.join("&")}`:""}(n.queryParams);return`${e}${r}${"string"==typeof n.fragment?`#${function Ir(t){return encodeURI(t)}(n.fragment)}`:""}`}}const Er=new kt;function Ft(t){return t.segments.map(n=>Xe(n)).join("/")}function Ct(t,n){if(!t.hasChildren())return Ft(t);if(n){const e=t.children[v]?Ct(t.children[v],!1):"",r=[];return Object.entries(t.children).forEach(([i,o])=>{i!==v&&r.push(`${i}:${Ct(o,!1)}`)}),r.length>0?`${e}(${r.join("//")})`:e}{const e=function yr(t,n){let e=[];return Object.entries(t.children).forEach(([r,i])=>{r===v&&(e=e.concat(n(i,r)))}),Object.entries(t.children).forEach(([r,i])=>{r!==v&&(e=e.concat(n(i,r)))}),e}(t,(r,i)=>i===v?[Ct(t.children[v],!1)]:[`${i}:${Ct(r,!1)}`]);return 1===Object.keys(t.children).length&&null!=t.children[v]?`${Ft(t)}/${e[0]}`:`${Ft(t)}/(${e.join("//")})`}}function Ye(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Bt(t){return Ye(t).replace(/%3B/gi,";")}function oe(t){return Ye(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Wt(t){return decodeURIComponent(t)}function qe(t){return Wt(t.replace(/\+/g,"%20"))}function Xe(t){return`${oe(t.path)}${function wr(t){return Object.entries(t).map(([n,e])=>`;${oe(n)}=${oe(e)}`).join("")}(t.parameters)}`}const Tr=/^[^\/()?;#]+/;function se(t){const n=t.match(Tr);return n?n[0]:""}const Mr=/^[^\/()?;=#]+/,br=/^[^=?&#]+/,jr=/^[^&#]+/;class Pr{constructor(n){this.url=n,this.remaining=n}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new A([],{}):new A([],this.parseChildren())}parseQueryParams(){const n={};if(this.consumeOptional("?"))do{this.parseQueryParam(n)}while(this.consumeOptional("&"));return n}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const n=[];for(this.peekStartsWith("(")||n.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),n.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1)),(n.length>0||Object.keys(e).length>0)&&(r[v]=new A(n,e)),r}parseSegment(){const n=se(this.remaining);if(""===n&&this.peekStartsWith(";"))throw new a.\u0275RuntimeError(4009,!1);return this.capture(n),new ct(Wt(n),this.parseMatrixParams())}parseMatrixParams(){const n={};for(;this.consumeOptional(";");)this.parseParam(n);return n}parseParam(n){const e=function Dr(t){const n=t.match(Mr);return n?n[0]:""}(this.remaining);if(!e)return;this.capture(e);let r="";if(this.consumeOptional("=")){const i=se(this.remaining);i&&(r=i,this.capture(r))}n[Wt(e)]=Wt(r)}parseQueryParam(n){const e=function Or(t){const n=t.match(br);return n?n[0]:""}(this.remaining);if(!e)return;this.capture(e);let r="";if(this.consumeOptional("=")){const s=function Ur(t){const n=t.match(jr);return n?n[0]:""}(this.remaining);s&&(r=s,this.capture(r))}const i=qe(e),o=qe(r);if(n.hasOwnProperty(i)){let s=n[i];Array.isArray(s)||(s=[s],n[i]=s),s.push(o)}else n[i]=o}parseParens(n){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const r=se(this.remaining),i=this.remaining[r.length];if("/"!==i&&")"!==i&&";"!==i)throw new a.\u0275RuntimeError(4010,!1);let o;r.indexOf(":")>-1?(o=r.slice(0,r.indexOf(":")),this.capture(o),this.capture(":")):n&&(o=v);const s=this.parseChildren();e[o]=1===Object.keys(s).length?s[v]:new A([],s),this.consumeOptional("//")}return e}peekStartsWith(n){return this.remaining.startsWith(n)}consumeOptional(n){return!!this.peekStartsWith(n)&&(this.remaining=this.remaining.substring(n.length),!0)}capture(n){if(!this.consumeOptional(n))throw new a.\u0275RuntimeError(4011,!1)}}function Je(t){return t.segments.length>0?new A([],{[v]:t}):t}function tn(t){const n={};for(const[r,i]of Object.entries(t.children)){const o=tn(i);if(r===v&&0===o.segments.length&&o.hasChildren())for(const[s,c]of Object.entries(o.children))n[s]=c;else(o.segments.length>0||o.hasChildren())&&(n[r]=o)}return function xr(t){if(1===t.numberOfChildren&&t.children[v]){const n=t.children[v];return new A(t.segments.concat(n.segments),n.children)}return t}(new A(t.segments,n))}function lt(t){return t instanceof J}function en(t,n,e=null,r=null){return rn(nn(t),n,e,r)}function nn(t){let n;const i=Je(function e(o){const s={};for(const u of o.children){const d=e(u);s[u.outlet]=d}const c=new A(o.url,s);return o===t&&(n=c),c}(t.root));return n??i}function rn(t,n,e,r){let i=t;for(;i.parent;)i=i.parent;if(0===n.length)return ae(i,i,i,e,r);const o=function Nr(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new sn(!0,0,t);let n=0,e=!1;const r=t.reduce((i,o,s)=>
1{if("object"==typeof o&&null!=o){if(o.outlets){const c={};return Object.entries(o.outlets).forEach(([u,d])=>{c[u]="string"==typeof d?d.split("/"):d}),[...i,{outlets:c}]}if(o.segmentPath)return[...i,o.segmentPath]}return"string"!=typeof o?[...i,o]:0===s?(o.split("/").forEach((c,u)=>{0==u&&"."===c||(0==u&&""===c?e=!0:".."===c?n++:""!=c&&i.push(c))}),i):[...i,o]},[]);return new sn(e,n,r)}(n);if(o.toRoot())return ae(i,i,new A([],{}),e,r);const s=function Lr(t,n,e){if(t.isAbsolute)return new Ht(n,!0,0);if(!e)return new Ht(n,!1,NaN);if(null===e.parent)return new Ht(e,!0,0);const r=Vt(t.commands[0])?0:1;return function _r(t,n,e){let r=t,i=n,o=e;for(;o>i;){if(o-=i,r=r.parent,!r)throw new a.\u0275RuntimeError(4005,!1);i=r.segments.length}return new Ht(r,!1,i-o)}(e,e.segments.length-1+r,t.numberOfDoubleDots)}(o,i,t),c=s.processChildren?yt(s.segmentGroup,s.index,o.commands):an(s.segmentGroup,s.index,o.commands);return ae(i,s.segmentGroup,c,e,r)}function Vt(t){return"object"==typeof t&&null!=t&&!t.outlets&&!t.segmentPath}function St(t){return"object"==typeof t&&null!=t&&t.outlets}function ae(t,n,e,r,i){let s,o={};r&&Object.entries(r).forEach(([u,d])=>{o[u]=Array.isArray(d)?d.map(p=>`${p}`):`${d}`}),s=t===n?e:on(t,n,e);const c=Je(tn(s));return new J(c,o,i)}function on(t,n,e){const r={};return Object.entries(t.children).forEach(([i,o])=>{r[i]=o===n?e:on(o,n,e)}),new A(t.segments,r)}class sn{constructor(n,e,r){if(this.isAbsolute=n,this.numberOfDoubleDots=e,this.commands=r,n&&r.length>0&&Vt(r[0]))throw new a.\u0275RuntimeError(4003,!1);const i=r.find(St);if(i&&i!==Ve(r))throw new a.\u0275RuntimeError(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Ht{constructor(n,e,r){this.segmentGroup=n,this.processChildren=e,this.index=r}}function an(t,n,e){if(t??=new A([],{}),0===t.segments.length&&t.hasChildren())return yt(t,n,e);const r=function zr(t,n,e){let r=0,i=n;const o={match:!1,pathIndex:0,commandIndex:0};for(;i<t.segments.length;){if(r>=e.length)return o;const s=t.segments[i],c=e[r];if(St(c))break;const u=`${c}`,d=r<e.length-1?e[r+1]:null;if(i>0&&void 0===u)break;if(u&&d&&"object"==typeof d&&void 0===d.outlets){if(!cn(u,d,s))return o;r+=2}else{if(!cn(u,{},s))return o;r++}i++}return{match:!0,pathIndex:i,commandIndex:r}}(t,n,e),i=e.slice(r.commandIndex);if(r.match&&r.pathIndex<t.segments.length){const o=new A(t.segments.slice(0,r.pathIndex),{});return o.children[v]=new A(t.segments.slice(r.pathIndex),t.children),yt(o,0,i)}return r.match&&0===i.length?new A(t.segments,{}):r.match&&!t.hasChildren()?ue(t,n,e):r.match?yt(t,0,i):ue(t,n,e)}function yt(t,n,e){if(0===e.length)return new A(t.segments,{});{const r=function $r(t){return St(t[0])?t[0].outlets:{[v]:t}}(e),i={};if(Object.keys(r).some(o=>o!==v)&&t.children[v]&&1===t.numberOfChildren&&0===t.children[v].segments.length){const o=yt(t.children[v],n,e);return new A(t.segments,o.children)}return Object.entries(r).forEach(([o,s])=>{"string"==typeof s&&(s=[s]),null!==s&&(i[o]=an(t.children[o],n,s))}),Object.entries(t.children).forEach(([o,s])=>{void 0===r[o]&&(i[o]=s)}),new A(t.segments,i)}}function ue(t,n,e){const r=t.segments.slice(0,n);let i=0;for(;i<e.length;){const o=e[i];if(St(o)){const u=kr(o.outlets);return new A(r,u)}if(0===i&&Vt(e[0])){r.push(new ct(t.segments[n].path,un(e[0]))),i++;continue}const s=St(o)?o.outlets[v]:`${o}`,c=i<e.length-1?e[i+1]:null;s&&c&&Vt(c)?(r.push(new ct(s,un(c))),i+=2):(r.push(new ct(s,{})),i++)}return new A(r,{})}function kr(t){const n={};return Object.entries(t).forEach(([e,r])=>{"string"==typeof r&&(r=[r]),null!==r&&(n[e]=ue(new A([],{}),0,r))}),n}function un(t){const n={};return Object.entries(t).forEach(([e,r])=>n[e]=`${r}`),n}function cn(t,n,e){return t==e.path&&B(n,e.parameters)}const Et="imperative";var C=function(t){return t[t.NavigationStart=0]="NavigationStart",t[t.NavigationEnd=1]="NavigationEnd",t[t.NavigationCancel=2]="NavigationCancel",t[t.NavigationError=3]="NavigationError",t[t.RoutesRecognized=4]="RoutesRecognized",t[t.ResolveStart=5]="ResolveStart",t[t.ResolveEnd=6]="ResolveEnd",t[t.GuardsCheckStart=7]="GuardsCheckStart",t[t.GuardsCheckEnd=8]="GuardsCheckEnd",t[t.RouteConfigLoadStart=9]="RouteConfigLoadStart",t[t.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",t[t.ChildActivationStart=11]="ChildActivationStart",t[t.ChildActivationEnd=12]="ChildActivationEnd",t[t.ActivationStart=13]="ActivationStart",t[t.ActivationEnd=14]="ActivationEnd",t[t.Scroll=15]="Scroll",t[t.NavigationSkipped=16]="NavigationSkipped",t}(C||{});class z{constructor(n,e){this.id=n,this.url=e}}class It extends z{constructor(n,e,r="imperative",i=null){super(n,e),this.type=C.NavigationStart,this.navigationTrigger=r,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class W extends z{constructor(n,e,r){super(n,e),this.urlAfterRedirects=r,this.type=C.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}var N=function(t){return t[t.Redirect=0]="Redirect",t[t.SupersededByNewNavigation=1]="SupersededByNewNavigation",t[t.NoDataFromRe
1solver=2]="NoDataFromResolver",t[t.GuardRejected=3]="GuardRejected",t}(N||{}),wt=function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t}(wt||{});class nt extends z{constructor(n,e,r,i){super(n,e),this.reason=r,this.code=i,this.type=C.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class rt extends z{constructor(n,e,r,i){super(n,e),this.reason=r,this.code=i,this.type=C.NavigationSkipped}}class At extends z{constructor(n,e,r,i){super(n,e),this.error=r,this.target=i,this.type=C.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class ce extends z{constructor(n,e,r,i){super(n,e),this.urlAfterRedirects=r,this.state=i,this.type=C.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ln extends z{constructor(n,e,r,i){super(n,e),this.urlAfterRedirects=r,this.state=i,this.type=C.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class hn extends z{constructor(n,e,r,i,o){super(n,e),this.urlAfterRedirects=r,this.state=i,this.shouldActivate=o,this.type=C.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class dn extends z{constructor(n,e,r,i){super(n,e),this.urlAfterRedirects=r,this.state=i,this.type=C.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class fn extends z{constructor(n,e,r,i){super(n,e),this.urlAfterRedirects=r,this.state=i,this.type=C.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class pn{constructor(n){this.route=n,this.type=C.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class gn{constructor(n){this.route=n,this.type=C.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class vn{constructor(n){this.snapshot=n,this.type=C.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class mn{constructor(n){this.snapshot=n,this.type=C.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Rn{constructor(n){this.snapshot=n,this.type=C.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Cn{constructor(n){this.snapshot=n,this.type=C.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class le{constructor(n,e,r){this.routerEvent=n,this.position=e,this.anchor=r,this.type=C.Scroll}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class he{}class de{constructor(n){this.url=n}}class Sn{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new ht,this.attachRef=null}}let ht=(()=>{class t{constructor(){this.contexts=new Map}onChildOutletCreated(e,r){const i=this.getOrCreateContext(e);i.outlet=r,this.contexts.set(e,i)}onChildOutletDestroyed(e){const r=this.getContext(e);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){const 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 Sn,this.contexts.set(e,r)),r}getContext(e){return this.contexts.get(e)||null}static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275prov=a.\u0275\u0275defineInjectable({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();class yn{constructor(n){this._root=n}get root(){return this._root.value}
1parent(n){const e=this.pathFromRoot(n);return e.length>1?e[e.length-2]:null}children(n){const e=fe(n,this._root);return e?e.children.map(r=>r.value):[]}firstChild(n){const e=fe(n,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(n){const e=pe(n,this._root);return e.length<2?[]:e[e.length-2].children.map(i=>i.value).filter(i=>i!==n)}pathFromRoot(n){return pe(n,this._root).map(e=>e.value)}}function fe(t,n){if(t===n.value)return n;for(const e of n.children){const r=fe(t,e);if(r)return r}return null}function pe(t,n){if(t===n.value)return[n];for(const e of n.children){const r=pe(t,e);if(r.length)return r.unshift(n),r}return[]}class k{constructor(n,e){this.value=n,this.children=e}toString(){return`TreeNode(${this.value})`}}function dt(t){const n={};return t&&t.children.forEach(e=>n[e.value.outlet]=e),n}class ge extends yn{constructor(n,e){super(n),this.snapshot=e,Re(this,n)}toString(){return this.snapshot.toString()}}function En(t){const n=function Fr(t){const o=new Gt([],{},{},"",{},v,t,null,{});return new me("",new k(o,[]))}(t),e=new g.t([new ct("",{})]),r=new g.t({}),i=new g.t({}),o=new g.t({}),s=new g.t(""),c=new it(e,r,o,s,i,v,t,n.root);return c.snapshot=n.root,new ge(new k(c,[]),n)}class it{constructor(n,e,r,i,o,s,c,u){this.urlSubject=n,this.paramsSubject=e,this.queryParamsSubject=r,this.fragmentSubject=i,this.dataSubject=o,this.outlet=s,this.component=c,this._futureSnapshot=u,this.title=this.dataSubject?.pipe((0,T.T)(d=>d[Rt]))??(0,h.of)(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((0,T.T)(n=>X(n))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe((0,T.T)(n=>X(n))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function ve(t,n,e="emptyOnly"){let r;const{routeConfig:i}=t;return r=null===n||"always"!==e&&""!==i?.path&&(n.component||n.routeConfig?.loadComponent)?{params:{...t.params},data:{...t.data},resolve:{...t.data,...t._resolvedData??{}}}:{params:{...n.params,...t.params},data:{...n.data,...t.data},resolve:{...t.data,...n.data,...i?.data,...t._resolvedData}},i&&wn(i)&&(r.resolve[Rt]=i.title),r}class Gt{get title(){return this.data?.[Rt]}constructor(n,e,r,i,o,s,c,u,d){this.url=n,this.params=e,this.queryParams=r,this.fragment=i,this.data=o,this.outlet=s,this.component=c,this.routeConfig=u,this._resolve=d}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??=X(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=X(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(r=>r.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class me extends yn{constructor(n,e){super(e),this.url=n,Re(this,e)}toString(){return In(this._root)}}function Re(t,n){n.value._routerState=t,n.children.forEach(e=>Re(t,e))}function In(t){const n=t.children.length>0?` { ${t.children.map(In).join(", ")} } `:"";return`${t.value}${n}`}function Ce(t){if(t.snapshot){const n=t.snapshot,e=t._futureSnapshot;t.snapshot=e,B(n.queryParams,e.queryParams)||t.queryParamsSubject.next(e.queryParams),n.fragment!==e.fragment&&t.fragmentSubject.next(e.fragment),B(n.params,e.params)||t.paramsSubject.next(e.params),function vr(t,n){if(t.length!==n.length)return!1;for(let e=0;e<t.length;++e)if(!B(t[e],n[e]))return!1;return!0}(n.url,e.url)||t.urlSubject.next(e.url),B(n.data,e.data)||t.dataSubject.next(e.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function Se(t,n){const e=B(t.params,n.params)&&function Sr(t,n){return tt(t,n)&&t.every((e,r)=>B(e.parameters,n[r].parameters))}(t.url,n.url);return e&&!(!t.parent!=!n.parent)&&(!t.parent||Se(t.parent,n.parent))}function wn(t){return"string"==typeof t.title||null===t.title}let ye=(()=>{class t{constructor(){this.activated=null,this._activatedRoute=null,this.name=v,this.activateEvents=new a.EventEmitter,this.deactivateEvents=new a.EventEmitter,this.attachEvents=new a.EventEmitter,this.detachEvents=new a.EventEmitter,this.parentContexts=(0,a.inject)(ht),this.location=(0,a.inject)(a.ViewContainerRef),this.changeDetector=(0,a.inject)(a.ChangeDetectorRef),this.environmentInjector=(0,a.inject)(a.EnvironmentInjector),this.inputBinder=(0,a.inject)(Kt,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(e){if(e.name){const{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;const 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 a.\u0275RuntimeError(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new a.\u0275RuntimeError(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new a.\u0275RuntimeError(4012,!1);this.location.detach();const 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){const e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,r){if(this.isActivated)throw new a.\u0275RuntimeError(4013,!1);this._activatedRoute=e;const i=this.location,s=e.snapshot.component,c=this.parentContexts.getOrCreateContext(this.name).children,u=new Ee(e,c,i.injector);this.activated=i.createComponent(s,{index:i.length,injector:u,environmentInjector:r??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275dir=a.\u0275\u0275defineDirective({type:t,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"}
1,exportAs:["outlet"],standalone:!0,features:[a.\u0275\u0275NgOnChangesFeature]})}}return t})();class Ee{__ngOutletInjector(n){return new Ee(this.route,this.childContexts,n)}constructor(n,e,r){this.route=n,this.childContexts=e,this.parent=r}get(n,e){return n===it?this.route:n===ht?this.childContexts:this.parent.get(n,e)}}const Kt=new a.InjectionToken("");let An=(()=>{class t{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(e){this.unsubscribeFromRouteData(e),this.subscribeToRouteData(e)}unsubscribeFromRouteData(e){this.outletDataSubscriptions.get(e)?.unsubscribe(),this.outletDataSubscriptions.delete(e)}subscribeToRouteData(e){const{activatedRoute:r}=e,i=j([r.queryParams,r.params,r.data]).pipe((0,F.n)(([o,s,c],u)=>(c={...o,...s,...c},0===u?(0,h.of)(c):Promise.resolve(c)))).subscribe(o=>{if(!e.isActivated||!e.activatedComponentRef||e.activatedRoute!==r||null===r.component)return void this.unsubscribeFromRouteData(e);const s=(0,a.reflectComponentType)(r.component);if(s)for(const{templateName:c}of s.inputs)e.activatedComponentRef.setInput(c,o[c]);else this.unsubscribeFromRouteData(e)});this.outletDataSubscriptions.set(e,i)}static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275prov=a.\u0275\u0275defineInjectable({token:t,factory:t.\u0275fac})}}return t})();function Tt(t,n,e){if(e&&t.shouldReuseRoute(n.value,e.value.snapshot)){const r=e.value;r._futureSnapshot=n.value;const i=function Wr(t,n,e){return n.children.map(r=>{for(const i of e.children)if(t.shouldReuseRoute(r.value,i.value.snapshot))return Tt(t,r,i);return Tt(t,r)})}(t,n,e);return new k(r,i)}{if(t.shouldAttach(n.value)){const o=t.retrieve(n.value);if(null!==o){const s=o.route;return s.value._futureSnapshot=n.value,s.children=n.children.map(c=>Tt(t,c)),s}}const r=function Vr(t){return new it(new g.t(t.url),new g.t(t.params),new g.t(t.queryParams),new g.t(t.fragment),new g.t(t.data),t.outlet,t.component,t)}(n.value),i=n.children.map(o=>Tt(t,o));return new k(r,i)}}const Tn="ngNavigationCancelingError";function Mn(t,n){const{redirectTo:e,navigationBehaviorOptions:r}=lt(n)?{redirectTo:n,navigationBehaviorOptions:void 0}:n,i=Dn(!1,N.Redirect);return i.url=e,i.navigationBehaviorOptions=r,i}function Dn(t,n){const e=new Error(`NavigationCancelingError: ${t||""}`);return e[Tn]=!0,e.cancellationCode=n,e}function bn(t){return!!t&&t[Tn]}let Ie=(()=>{class t{static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275cmp=a.\u0275\u0275defineComponent({type:t,selectors:[["ng-component"]],standalone:!0,features:[a.\u0275\u0275StandaloneFeature],decls:1,vars:0,template:function(r,i){1&r&&a.\u0275\u0275element(0,"router-outlet")},dependencies:[ye],encapsulation:2})}}return t})();function we(t){const n=t.children&&t.children.map(we),e=n?{...t,children:n}:{...t};return!e.component&&!e.loadComponent&&(n||e.loadChildren)&&e.outlet&&e.outlet!==v&&(e.component=Ie),e}function V(t){return t.outlet||v}function Mt(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let n=t.parent;n;n=n.parent){const e=n.routeConfig;if(e?._loadedInjector)return e._loadedInjector;if(e?._injector)return e._injector}return null}class Xr{constructor(n,e,r,i,o){this.routeReuseStrategy=n,this.futureState=e,this.currState=r,this.forwardEvent=i,this.inputBindingEnabled=o}activate(n){const e=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,r,n),Ce(this.futureState.root),this.activateChildRoutes(e,r,n)}deactivateChildRoutes(n,e,r){const i=dt(e);n.children.forEach(o=>{const 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){const i=n.value,o=e?e.value:null;if(i===o)if(i.component){const 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){const r=e.getContext(n.value.outlet),i=r&&n.value.component?r.children:e,o=dt(n);for(const s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);if(r&&r.outlet){const s=r.outlet.detach(),c=r.children.onOutletDeactivated();this.routeReuseStrategy.store(n.value.snapshot,{componentRef:s,route:n,contexts:c})}}deactivateRouteAndOutlet(n,e){const r=e.getContext(n.value.outlet),i=r&&n.value.component?r.children:e,o=dt(n);for(const s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);r&&(r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated()),r.attachRef=null,r.route=null)}activateChildRoutes(n,e,r){const i=dt(e);
1n.children.forEach(o=>{this.activateRoutes(o,i[o.value.outlet],r),this.forwardEvent(new Cn(o.value.snapshot))}),n.children.length&&this.forwardEvent(new mn(n.value.snapshot))}activateRoutes(n,e,r){const i=n.value,o=e?e.value:null;if(Ce(i),i===o)if(i.component){const s=r.getOrCreateContext(i.outlet);this.activateChildRoutes(n,e,s.children)}else this.activateChildRoutes(n,e,r);else if(i.component){const s=r.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){const 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),Ce(c.route.value),this.activateChildRoutes(n,null,s.children)}else{const c=Mt(i.snapshot);s.attachRef=null,s.route=i,s.injector=c,s.outlet&&s.outlet.activateWith(i,s.injector),this.activateChildRoutes(n,null,s.children)}}else this.activateChildRoutes(n,null,r)}}class On{constructor(n){this.path=n,this.route=this.path[this.path.length-1]}}class Zt{constructor(n,e){this.component=n,this.route=e}}function Jr(t,n,e){const r=t._root;return Dt(r,n?n._root:null,e,[r.value])}function ft(t,n){const e=Symbol(),r=n.get(t,e);return r===e?"function"!=typeof t||(0,a.\u0275isInjectable)(t)?n.get(t):t:r}function Dt(t,n,e,r,i={canDeactivateChecks:[],canActivateChecks:[]}){const o=dt(n);return t.children.forEach(s=>{(function ei(t,n,e,r,i={canDeactivateChecks:[],canActivateChecks:[]}){const o=t.value,s=n?n.value:null,c=e?e.getContext(t.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){const u=function ni(t,n,e){if("function"==typeof e)return e(t,n);switch(e){case"pathParamsChange":return!tt(t.url,n.url);case"pathParamsOrQueryParamsChange":return!tt(t.url,n.url)||!B(t.queryParams,n.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Se(t,n)||!B(t.queryParams,n.queryParams);default:return!Se(t,n)}}(s,o,o.routeConfig.runGuardsAndResolvers);u?i.canActivateChecks.push(new On(r)):(o.data=s.data,o._resolvedData=s._resolvedData),Dt(t,n,o.component?c?c.children:null:e,r,i),u&&c&&c.outlet&&c.outlet.isActivated&&i.canDeactivateChecks.push(new Zt(c.outlet.component,s))}else s&&bt(n,c,i),i.canActivateChecks.push(new On(r)),Dt(t,null,o.component?c?c.children:null:e,r,i)})(s,o[s.value.outlet],e,r.concat([s.value]),i),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,c])=>bt(c,e.getContext(s),i)),i}function bt(t,n,e){const r=dt(t),i=t.value;Object.entries(r).forEach(([o,s])=>{bt(s,i.component?n?n.children.getContext(o):null:n,e)}),e.canDeactivateChecks.push(new Zt(i.component&&n&&n.outlet&&n.outlet.isActivated?n.outlet.component:null,i))}function Ot(t){return"function"==typeof t}function jn(t){return t instanceof ze.G||"EmptyError"===t?.name}const Qt=Symbol("INITIAL_VALUE");function pt(){return(0,F.n)(t=>j(t.map(n=>n.pipe((0,vt.s)(1),(0,ar.Z)(Qt)))).pipe((0,T.T)(n=>{for(const e of n)if(!0!==e){if(e===Qt)return Qt;if(!1===e||e instanceof J)return e}return!0}),(0,Y.p)(n=>n!==Qt),(0,vt.s)(1)))}function Un(t){return(0,sr.F)((0,P.M)(n=>{if(lt(n))throw Mn(0,n)}),(0,T.T)(n=>!0===n))}class Ae{constructor(n){this.segmentGroup=n||null}}class Te extends Error{constructor(n){super(),this.urlTree=n}}function gt(t){return(0,Lt.$)(new Ae(t))}class yi{constructor(n,e){this.urlSerializer=n,this.urlTree=e}lineralizeSegments(n,e){let r=[],i=e.root;for(;;){if(r=r.concat(i.segments),0===i.numberOfChildren)return(0,h.of)(r);if(i.numberOfChildren>1||!i.children[v])return(0,Lt.$)(new a.\u0275RuntimeError(4e3,!1));i=i.children[v]}}applyRedirectCommands(n,e,r){const i=this.applyRedirectCreateUrlTree(e,this.urlSerializer.parse(e),n,r);if(e.startsWith("/"))throw new Te(i);return i}applyRedirectCreateUrlTree(n,e,r,i){const o=this.createSegmentGroup(n,e.root,r,i);return new J(o,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(n,e){const r={};return Object.entries(n).forEach(([i,o])=>{if("string"==typeof o&&o.startsWith(":")){const c=o.substring(1);r[i]=e[c]}else r[i]=o}),r}createSegmentGroup(n,e,r,i){const o=this.createSegments(n,e.segments,r,i);let s={};
1return Object.entries(e.children).forEach(([c,u])=>{s[c]=this.createSegmentGroup(n,u,r,i)}),new A(o,s)}createSegments(n,e,r,i){return e.map(o=>o.path.startsWith(":")?this.findPosParam(n,o,i):this.findOrReturn(o,r))}findPosParam(n,e,r){const i=r[e.path.substring(1)];if(!i)throw new a.\u0275RuntimeError(4001,!1);return i}findOrReturn(n,e){let r=0;for(const i of e){if(i.path===n.path)return e.splice(r),i;r++}return n}}const Me={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Ei(t,n,e,r,i){const o=De(t,n,e);return o.matched?(r=function Gr(t,n){return t.providers&&!t._injector&&(t._injector=(0,a.createEnvironmentInjector)(t.providers,n,`Route: ${t.path}`)),t._injector??n}(n,r),function Ri(t,n,e,r){const i=n.canMatch;if(!i||0===i.length)return(0,h.of)(!0);const o=i.map(s=>{const c=ft(s,t);return Z(function ui(t){return t&&Ot(t.canMatch)}(c)?c.canMatch(n,e):(0,a.runInInjectionContext)(t,()=>c(n,e)))});return(0,h.of)(o).pipe(pt(),Un())}(r,n,e).pipe((0,T.T)(s=>!0===s?o:{...Me}))):(0,h.of)(o)}function De(t,n,e){if("**"===n.path)return function Ii(t){return{matched:!0,parameters:t.length>0?Ve(t).parameters:{},consumedSegments:t,remainingSegments:[],positionalParamSegments:{}}}(e);if(""===n.path)return"full"===n.pathMatch&&(t.hasChildren()||e.length>0)?{...Me}:{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};const i=(n.matcher||Be)(e,t,n);if(!i)return{...Me};const o={};Object.entries(i.posParams??{}).forEach(([c,u])=>{o[c]=u.path});const s=i.consumed.length>0?{...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 Pn(t,n,e,r){return e.length>0&&function Ti(t,n,e){return e.some(r=>Yt(t,n,r)&&V(r)!==v)}(t,e,r)?{segmentGroup:new A(n,Ai(r,new A(e,t.children))),slicedSegments:[]}:0===e.length&&function Mi(t,n,e){return e.some(r=>Yt(t,n,r))}(t,e,r)?{segmentGroup:new A(t.segments,wi(t,e,r,t.children)),slicedSegments:e}:{segmentGroup:new A(t.segments,t.children),slicedSegments:e}}function wi(t,n,e,r){const i={};for(const o of e)if(Yt(t,n,o)&&!r[V(o)]){const s=new A([],{});i[V(o)]=s}return{...r,...i}}function Ai(t,n){const e={};e[v]=n;for(const r of t)if(""===r.path&&V(r)!==v){const i=new A([],{});e[V(r)]=i}return e}function Yt(t,n,e){return(!(t.hasChildren()||n.length>0)||"full"!==e.pathMatch)&&""===e.path}class Oi{}class Pi{constructor(n,e,r,i,o,s,c){this.injector=n,this.configLoader=e,this.rootComponentType=r,this.config=i,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer=c,this.applyRedirects=new yi(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(n){return new a.\u0275RuntimeError(4002,`'${n.segmentGroup}'`)}recognize(){const n=Pn(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(n).pipe((0,T.T)(e=>{const r=new Gt([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},v,this.rootComponentType,null,{}),i=new k(r,e),o=new me("",i),s=en(r,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),this.inheritParamsAndData(o._root,null),{state:o,tree:s}}))}match(n){return this.processSegmentGroup(this.injector,this.config,n,v).pipe((0,ut.W)(r=>{if(r instanceof Te)return this.urlTree=r.urlTree,this.match(r.urlTree.root);throw r instanceof Ae?this.noMatchError(r):r}))}inheritParamsAndData(n,e){const r=n.value,i=ve(r,e,this.paramsInheritanceStrategy);r.params=Object.freeze(i.params),r.data=Object.freeze(i.data),n.children.forEach(o=>this.inheritParamsAndData(o,r))}processSegmentGroup(n,e,r,i){return 0===r.segments.length&&r.hasChildren()?this.processChildren(n,e,r):this.processSegment(n,e,r,r.segments,i,!0).pipe((0,T.T)(o=>o instanceof k?[o]:[]))}processChildren(n,e,r){const i=[];for(const o of Object.keys(r.children))"primary"===o?i.unshift(o):i.push(o);return(0,f.H)(i).pipe((0,mt.H)(o=>{const s=r.children[o],c=function Yr(t,n){const e=t.filter(r=>V(r)===n);return e.push(...t.filter(r=>V(r)!==n)),e}(e,o);return this.processSegmentGroup(n,c,s,o)}),function cr(t,n){return(0,_t.N)(function ur(t,n,e,r,i){return(o,s)=>{let c=e,u=n,d=0;o.subscribe((0,$._)(s,p=>{const m=d++;u=c?t(u,p,m):(c=!0,p),r&&s.next(u)},i&&(()=>{c&&s.next(u),s.complete()}
1)))}}(t,n,arguments.length>=2,!0))}((o,s)=>(o.push(...s),o)),(0,ee.U)(null),function hr(t,n){const e=arguments.length>=2;return r=>r.pipe(t?(0,Y.p)((i,o)=>t(i,o,r)):S.D,ne(1),e?(0,ee.U)(n):(0,lr.v)(()=>new ze.G))}(),(0,L.Z)(o=>{if(null===o)return gt(r);const s=xn(o);return function xi(t){t.sort((n,e)=>n.value.outlet===v?-1:e.value.outlet===v?1:n.value.outlet.localeCompare(e.value.outlet))}(s),(0,h.of)(s)}))}processSegment(n,e,r,i,o,s){return(0,f.H)(e).pipe((0,mt.H)(c=>this.processSegmentAgainstRoute(c._injector??n,e,c,r,i,o,s).pipe((0,ut.W)(u=>{if(u instanceof Ae)return(0,h.of)(null);throw u}))),(0,q.$)(c=>!!c),(0,ut.W)(c=>{if(jn(c))return function bi(t,n,e){return 0===n.length&&!t.children[e]}(r,i,o)?(0,h.of)(new Oi):gt(r);throw c}))}processSegmentAgainstRoute(n,e,r,i,o,s,c){return function Di(t,n,e,r){return!!(V(t)===r||r!==v&&Yt(n,e,t))&&De(n,t,e).matched}(r,i,o,s)?void 0===r.redirectTo?this.matchSegmentAgainstRoute(n,i,r,o,s):this.allowRedirects&&c?this.expandSegmentAgainstRouteUsingRedirect(n,i,e,r,o,s):gt(i):gt(i)}expandSegmentAgainstRouteUsingRedirect(n,e,r,i,o,s){const{matched:c,consumedSegments:u,positionalParamSegments:d,remainingSegments:p}=De(e,i,o);if(!c)return gt(e);i.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const m=this.applyRedirects.applyRedirectCommands(u,i.redirectTo,d);return this.applyRedirects.lineralizeSegments(i,m).pipe((0,L.Z)(M=>this.processSegment(n,r,e,M.concat(p),s,!1)))}matchSegmentAgainstRoute(n,e,r,i,o){const s=Ei(e,r,i,n);return"**"===r.path&&(e.children={}),s.pipe((0,F.n)(c=>c.matched?this.getChildConfig(n=r._injector??n,r,i).pipe((0,F.n)(({routes:u})=>{const d=r._loadedInjector??n,{consumedSegments:p,remainingSegments:m,parameters:M}=c,Pt=new Gt(p,M,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,function Li(t){return t.data||{}}(r),V(r),r.component??r._loadedComponent??null,r,function _i(t){return t.resolve||{}}(r)),{segmentGroup:xt,slicedSegments:Nt}=Pn(e,p,m,u);if(0===Nt.length&&xt.hasChildren())return this.processChildren(d,u,xt).pipe((0,T.T)(at=>null===at?null:new k(Pt,at)));if(0===u.length&&0===Nt.length)return(0,h.of)(new k(Pt,[]));const _e=V(r)===o;return this.processSegment(d,u,xt,Nt,_e?v:o,!0).pipe((0,T.T)(at=>new k(Pt,at instanceof k?[at]:[])))})):gt(e)))}getChildConfig(n,e,r){return e.children?(0,h.of)({routes:e.children,injector:n}):e.loadChildren?void 0!==e._loadedRoutes?(0,h.of)({routes:e._loadedRoutes,injector:e._loadedInjector}):function mi(t,n,e,r){const i=n.canLoad;if(void 0===i||0===i.length)return(0,h.of)(!0);const o=i.map(s=>{const c=ft(s,t);return Z(function ii(t){return t&&Ot(t.canLoad)}(c)?c.canLoad(n,e):(0,a.runInInjectionContext)(t,()=>c(n,e)))});return(0,h.of)(o).pipe(pt(),Un())}(n,e,r).pipe((0,L.Z)(i=>i?this.configLoader.loadChildren(n,e).pipe((0,P.M)(o=>{e._loadedRoutes=o.routes,e._loadedInjector=o.injector})):function Si(t){return(0,Lt.$)(Dn(!1,N.GuardRejected))}())):(0,h.of)({routes:[],injector:n})}}function Ni(t){const n=t.value.routeConfig;return n&&""===n.path}function xn(t){const n=[],e=new Set;for(const r of t){if(!Ni(r)){n.push(r);continue}const i=n.find(o=>r.value.routeConfig===o.value.routeConfig);void 0!==i?(i.children.push(...r.children),e.add(i)):n.push(r)}for(const r of e){const i=xn(r.children);n.push(new k(r.value,i))}return n.filter(r=>!e.has(r))}function Nn(t){const n=t.children.map(e=>Nn(e)).flat();return[t,...n]}function be(t){return(0,F.n)(n=>{const e=t(n);return e?(0,f.H)(e).pipe((0,T.T)(()=>n)):(0,h.of)(n)})}let Oe=(()=>{class t{buildTitle(e){let r,i=e.root;for(;void 0!==i;)r=this.getResolvedTitleForRoute(i)??r,i=i.children.find(o=>o.outlet===v);return r}getResolvedTitleForRoute(e){return e.data[Rt]}static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275prov=a.\u0275\u0275defineInjectable({token:t,factory:()=>(0,a.inject)(Ln),providedIn:"root"})}}return t})(),Ln=(()=>{class t extends Oe{constructor(e){super(),this.title=e}updateTitle(e){const r=this.buildTitle(e);void 0!==r&&this.title.setTitle(r)}static{this.\u0275fac=function(r){return new(r||t)(a.\u0275\u0275inject(pr.hE))}}static{this.\u0275prov=a.\u0275\u0275defineInjectable({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();const ot=new a.InjectionToken("",{providedIn:"root",factory:()=>({})}),st=new a.InjectionToken("");let je=(()=>{class t{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,a.inject)(a.Compiler)}loadComponent(e){if(this.componentLoaders.get(e))return this.componentLoaders.get(e);if(e._loadedComponent)return(0,h.of)(e._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(e);const r=Z(e.loadComponent()).pipe((0,T.T)($n),(0,P.M)(o=>{this.onLoadEndListener&&this.onLoadEndListener(e),e._loadedComponent=o}),(0,re.j)(()=>{this.componentLoaders.delete(e)})),i=new Fe(r,()=>new Q.B).pipe(te());return this.componentLoaders.set(e,i),i}loadChildren(e,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return(0,h.of)({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);const o=_n(r,this.compiler,e,this.onLoadEndListener).pipe((0,re.j)(()=>{this.childrenLoaders.delete(r)})),s=new Fe(o,()=>new Q.B).pipe(te());return this.childrenLoaders.set(r,s),s}static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275prov=a.\u0275\u0275defineInjectable({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function _n(t,n,e,r){return Z(t.loadChildren()).pipe((0,T.T)($n),(0,L.Z)(i=>i instanceof a.NgModuleFactory||Array.isArray(i)?(0,h.of)(i):(0,f.H)(n.compileModuleAsync(i))),(0,T.T)(i=>{r&&r(t);let o,s;return Array.isArray(i)?s=i:(o=i.create(e).injector,s=o.get(st,[],{optional:!0,self:!0}).flat()),{routes:s.map(we),injector:o}}))}function $n(t){return function Wi(t){return t&&"object"==typeof t&&"default"in t}(t)?t.default:t}let qt=(()=>{class t{static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275prov=a.\u0275\u0275defineInjectable({token:t,factory:()=>(0,a.inject)(Vi),providedIn:"root"})}}return t})(),Vi=(()=>{class t{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,r){return e}static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275prov=a.\u0275\u0275defineInjectable({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();const zn=new a.InjectionToken(""),kn=new a.InjectionToken("");function Hi(t,n,e){const r=t.get(kn),i=t.get(U.DOCUMENT);return t.get(a.NgZone).runOutsideAngular(()=>
1{if(!i.startViewTransition||r.skipNextTransition)return r.skipNextTransition=!1,new Promise(d=>setTimeout(d));let o;const s=new Promise(d=>{o=d}),c=i.startViewTransition(()=>(o(),function Gi(t){return new Promise(n=>{(0,a.afterNextRender)(n,{injector:t})})}(t))),{onViewTransitionCreated:u}=r;return u&&(0,a.runInInjectionContext)(t,()=>u({transition:c,from:n,to:e})),s})}let Xt=(()=>{class t{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new Q.B,this.transitionAbortSubject=new Q.B,this.configLoader=(0,a.inject)(je),this.environmentInjector=(0,a.inject)(a.EnvironmentInjector),this.urlSerializer=(0,a.inject)(et),this.rootContexts=(0,a.inject)(ht),this.location=(0,a.inject)(U.Location),this.inputBindingEnabled=null!==(0,a.inject)(Kt,{optional:!0}),this.titleStrategy=(0,a.inject)(Oe),this.options=(0,a.inject)(ot,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=(0,a.inject)(qt),this.createViewTransition=(0,a.inject)(zn,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,h.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=i=>this.events.next(new gn(i)),this.configLoader.onLoadStartListener=i=>this.events.next(new pn(i))}complete(){this.transitions?.complete()}handleNavigationRequest(e){const r=++this.navigationId;this.transitions?.next({...this.transitions.value,...e,id:r})}setupNavigations(e,r,i){return this.transitions=new g.t({id:0,currentUrlTree:r,currentRawUrl:r,extractedUrl:this.urlHandlingStrategy.extract(r),urlAfterRedirects:this.urlHandlingStrategy.extract(r),rawUrl:r,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:Et,restoredState:null,currentSnapshot:i.snapshot,targetSnapshot:null,currentRouterState:i,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,Y.p)(o=>0!==o.id),(0,T.T)(o=>({...o,extractedUrl:this.urlHandlingStrategy.extract(o.rawUrl)})),(0,F.n)(o=>{let s=!1,c=!1;return(0,h.of)(o).pipe((0,F.n)(u=>{if(this.navigationId>o.id)return this.cancelNavigationTransition(o,"",N.SupersededByNewNavigation),K.w;this.currentTransition=o,this.currentNavigation={id:u.id,initialUrl:u.rawUrl,extractedUrl:u.extractedUrl,trigger:u.source,extras:u.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null};const d=!e.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!d&&"reload"!==(u.extras.onSameUrlNavigation??e.onSameUrlNavigation)){const m="";return this.events.next(new rt(u.id,this.urlSerializer.serialize(u.rawUrl),m,wt.IgnoredSameUrlNavigation)),u.resolve(null),K.w}if(this.urlHandlingStrategy.shouldProcessUrl(u.rawUrl))return(0,h.of)(u).pipe((0,F.n)(m=>{const M=this.transitions?.getValue();return this.events.next(new It(m.id,this.urlSerializer.serialize(m.extractedUrl),m.source,m.restoredState)),M!==this.transitions?.getValue()?K.w:Promise.resolve(m)}),function $i(t,n,e,r,i,o){return(0,L.Z)(s=>function ji(t,n,e,r,i,o,s="emptyOnly"){return new Pi(t,n,e,r,i,s,o).recognize()}(t,n,e,r,s.extractedUrl,i,o).pipe((0,T.T)(({state:c,tree:u})=>({...s,targetSnapshot:c,urlAfterRedirects:u}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,e.config,this.urlSerializer,this.paramsInheritanceStrategy),(0,P.M)(m=>{o.targetSnapshot=m.targetSnapshot,o.urlAfterRedirects=m.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:m.urlAfterRedirects};const M=new ce(m.id,this.urlSerializer.serialize(m.extractedUrl),this.urlSerializer.serialize(m.urlAfterRedirects),m.targetSnapshot);this.events.next(M)}));if(d&&this.urlHandlingStrategy.shouldProcessUrl(u.currentRawUrl)){const{id:m,extractedUrl:M,source:Pt,restoredState:xt,extras:Nt}=u,_e=new It(m,this.urlSerializer.serialize(M),Pt,xt);this.events.next(_e);const at=En(this.rootComponentType).snapshot;return this.currentTransition=o={...u,targetSnapshot:at,urlAfterRedirects:M,extras:{...Nt,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=M,(0,h.of)(o)}{const m="";return this.events.next(new rt(u.id,this.urlSerializer.serialize(u.extractedUrl),m,wt.IgnoredByUrlHandlingStrategy)),u.resolve(null),K.w}}),(0,P.M)(u=>{const d=new ln(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(d)}),(0,T.T)(u=>(this.currentTransition=o={...u,guards:Jr(u.targetSnapshot,u.currentSnapshot,this.rootContexts)},o)),function ci(t,n){return(0,L.Z)(e=>{const{targetSnapshot:r,currentSnapshot:i,guards:{canActivateChecks:o,canDeactivateChecks:s}}=e;return 0===s.length&&0===o.length?(0,h.of)({...e,guardsResult:!0}):function li(t,n,e,r){return(0,f.H)(t).pipe((0,L.Z)(i=>
1function vi(t,n,e,r,i){const o=n&&n.routeConfig?n.routeConfig.canDeactivate:null;if(!o||0===o.length)return(0,h.of)(!0);const s=o.map(c=>{const u=Mt(n)??i,d=ft(c,u);return Z(function ai(t){return t&&Ot(t.canDeactivate)}(d)?d.canDeactivate(t,n,e,r):(0,a.runInInjectionContext)(u,()=>d(t,n,e,r))).pipe((0,q.$)())});return(0,h.of)(s).pipe(pt())}(i.component,i.route,e,n,r)),(0,q.$)(i=>!0!==i,!0))}(s,r,i,t).pipe((0,L.Z)(c=>c&&function ri(t){return"boolean"==typeof t}(c)?function hi(t,n,e,r){return(0,f.H)(n).pipe((0,mt.H)(i=>(0,or.x)(function fi(t,n){return null!==t&&n&&n(new vn(t)),(0,h.of)(!0)}(i.route.parent,r),function di(t,n){return null!==t&&n&&n(new Rn(t)),(0,h.of)(!0)}(i.route,r),function gi(t,n,e){const r=n[n.length-1],o=n.slice(0,n.length-1).reverse().map(s=>function ti(t){const n=t.routeConfig?t.routeConfig.canActivateChild:null;return n&&0!==n.length?{node:t,guards:n}:null}(s)).filter(s=>null!==s).map(s=>(0,ke.v)(()=>{const c=s.guards.map(u=>{const d=Mt(s.node)??e,p=ft(u,d);return Z(function si(t){return t&&Ot(t.canActivateChild)}(p)?p.canActivateChild(r,t):(0,a.runInInjectionContext)(d,()=>p(r,t))).pipe((0,q.$)())});return(0,h.of)(c).pipe(pt())}));return(0,h.of)(o).pipe(pt())}(t,i.path,e),function pi(t,n,e){const r=n.routeConfig?n.routeConfig.canActivate:null;if(!r||0===r.length)return(0,h.of)(!0);const i=r.map(o=>(0,ke.v)(()=>{const s=Mt(n)??e,c=ft(o,s);return Z(function oi(t){return t&&Ot(t.canActivate)}(c)?c.canActivate(n,t):(0,a.runInInjectionContext)(s,()=>c(n,t))).pipe((0,q.$)())}));return(0,h.of)(i).pipe(pt())}(t,i.route,e))),(0,q.$)(i=>!0!==i,!0))}(r,o,t,n):(0,h.of)(c)),(0,T.T)(c=>({...e,guardsResult:c})))})}(this.environmentInjector,u=>this.events.next(u)),(0,P.M)(u=>{if(o.guardsResult=u.guardsResult,lt(u.guardsResult))throw Mn(0,u.guardsResult);const d=new hn(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot,!!u.guardsResult);this.events.next(d)}),(0,Y.p)(u=>!!u.guardsResult||(this.cancelNavigationTransition(u,"",N.GuardRejected),!1)),be(u=>{if(u.guards.canActivateChecks.length)return(0,h.of)(u).pipe((0,P.M)(d=>{const p=new dn(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot);this.events.next(p)}),(0,F.n)(d=>{let p=!1;return(0,h.of)(d).pipe(function zi(t,n){return(0,L.Z)(e=>{const{targetSnapshot:r,guards:{canActivateChecks:i}}=e;if(!i.length)return(0,h.of)(e);const o=new Set(i.map(u=>u.route)),s=new Set;for(const u of o)if(!s.has(u))for(const d of Nn(u))s.add(d);let c=0;return(0,f.H)(s).pipe((0,mt.H)(u=>o.has(u)?function ki(t,n,e,r){const i=t.routeConfig,o=t._resolve;return void 0!==i?.title&&!wn(i)&&(o[Rt]=i.title),function Fi(t,n,e,r){const i=ie(t);if(0===i.length)return(0,h.of)({});const o={};return(0,f.H)(i).pipe((0,L.Z)(s=>function Bi(t,n,e,r){const i=Mt(n)??r,o=ft(t,i);return Z(o.resolve?o.resolve(n,e):(0,a.runInInjectionContext)(i,()=>o(n,e)))}(t[s],n,e,r).pipe((0,q.$)(),(0,P.M)(c=>{o[s]=c}))),ne(1),(0,dr.u)(o),(0,ut.W)(s=>jn(s)?K.w:(0,Lt.$)(s)))}(o,t,n,r).pipe((0,T.T)(s=>(t._resolvedData=s,t.data=ve(t,t.parent,e).resolve,null)))}(u,r,t,n):(u.data=ve(u,u.parent,t).resolve,(0,h.of)(void 0))),(0,P.M)(()=>c++),ne(1),(0,L.Z)(u=>c===s.size?(0,h.of)(e):K.w))})}(this.paramsInheritanceStrategy,this.environmentInjector),(0,P.M)({next:()=>p=!0,complete:()=>{p||this.cancelNavigationTransition(d,"",N.NoDataFromResolver)}}))}),(0,P.M)(d=>{const p=new fn(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot);this.events.next(p)}))}),be(u=>{const d=p=>{const m=[];p.routeConfig?.loadComponent&&!p.routeConfig._loadedComponent&&m.push(this.configLoader.loadComponent(p.routeConfig).pipe((0,P.M)(M=>{p.component=M}),(0,T.T)(()=>{})));for(const M of p.children)m.push(...d(M));return m};return j(d(u.targetSnapshot.root)).pipe((0,ee.U)(null),(0,vt.s)(1))}),be(()=>this.afterPreactivation()),(0,F.n)(()=>{const{currentSnapshot:u,targetSnapshot:d}=o,p=this.createViewTransition?.(this.environmentInjector,u.root,d.root);return p?(0,f.H)(p).pipe((0,T.T)(()=>o)):(0,h.of)(o)}),(0,T.T)(u=>{const d=function Br(t,n,e){const r=Tt(t,n._root,e?e._root:void 0);return new ge(r,n)}(e.routeReuseStrategy,u.targetSnapshot,u.currentRouterState);return this.currentTransition=o={...u,targetRouterState:d},this.currentNavigation.targetRouterState=d,o}),(0,P.M)(()=>{this.events.next(new he)}),((t,n,e,r)=>(0,T.T)(i=>(new Xr(n,i.targetRouterState,i.currentRouterState,e,r).activate(t),i)))(this.rootContexts,e.routeReuseStrategy,u=>this.events.next(u),this.inputBindingEnabled),(0,vt.s)(1),(0,P.M)({next:u=>{s=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new W(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects))),this.titleStrategy?.updateTitle(u.targetRouterState.snapshot),u.resolve(!0)},complete:()=>{s=!0}}),(0,fr.Q)(this.transitionAbortSubject.pipe((0,P.M)(u=>{throw u}))),(0,re.j)(()=>{!s&&!c&&this.cancelNavigationTransition(o,"",N.SupersededByNewNavigation),this.currentTransition?.id===o.id&&(this.currentNavigation=null,this.currentTransition=null)}),(0,ut.W)(u=>{if(c=!0,bn(u))this.events.next(new nt(o.id,this.urlSerializer.serialize(o.extractedUrl),u.message,u.cancellationCode)),function Hr(t){return bn(t)&&lt(t.url)}(u)?this.events.next(new de(u.url)):o.resolve(!1);else{this.events.next(new At(o.id,this.urlSerializer.serialize(o.extractedUrl),u,o.targetSnapshot??void 0));try{o.resolve(e.errorHandler(u))}catch(d){this.options.resolveNavigationPromiseOnError?o.resolve(!1):o.reject(d)}}return K.w}))}))}cancelNavigationTransition(e,r,i){const o=new nt(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(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275prov=a.\u0275\u0275defineInjectable({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function Ki(t){return t!==Et}let Fn=(()=>{class t{static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275prov=a.\u0275\u0275defineInjectable({token:t,factory:()=>(0,a.inject)(Zi),providedIn:"root"})}}return t})();class Bn{shouldDetach(n){return!1}store(n,e){}shouldAttach(n){return!1}retrieve(n){return null}
1shouldReuseRoute(n,e){return n.routeConfig===e.routeConfig}}let Zi=(()=>{class t extends Bn{static{this.\u0275fac=(()=>{let e;return function(i){return(e||(e=a.\u0275\u0275getInheritedFactory(t)))(i||t)}})()}static{this.\u0275prov=a.\u0275\u0275defineInjectable({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),Wn=(()=>{class t{static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275prov=a.\u0275\u0275defineInjectable({token:t,factory:()=>(0,a.inject)(Qi),providedIn:"root"})}}return t})(),Qi=(()=>{class t extends Wn{constructor(){super(...arguments),this.location=(0,a.inject)(U.Location),this.urlSerializer=(0,a.inject)(et),this.options=(0,a.inject)(ot,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=(0,a.inject)(qt),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new J,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=En(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(e){return this.location.subscribe(r=>{"popstate"===r.type&&e(r.url,r.state)})}handleRouterEvent(e,r){if(e instanceof It)this.stateMemento=this.createStateMemento();else if(e instanceof rt)this.rawUrlTree=r.initialUrl;else if(e instanceof ce){if("eager"===this.urlUpdateStrategy&&!r.extras.skipLocationChange){const i=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl);this.setBrowserUrl(i,r)}}else e instanceof he?(this.currentUrlTree=r.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl),this.routerState=r.targetRouterState,"deferred"===this.urlUpdateStrategy&&(r.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,r))):e instanceof nt&&(e.code===N.GuardRejected||e.code===N.NoDataFromResolver)?this.restoreHistory(r):e instanceof At?this.restoreHistory(r,!0):e instanceof W&&(this.lastSuccessfulId=e.id,this.currentPageId=this.browserPageId)}setBrowserUrl(e,r){const i=this.urlSerializer.serialize(e);if(this.location.isCurrentPathEqualTo(i)||r.extras.replaceUrl){const s={...r.extras.state,...this.generateNgRouterState(r.id,this.browserPageId)};this.location.replaceState(i,"",s)}else{const o={...r.extras.state,...this.generateNgRouterState(r.id,this.browserPageId+1)};this.location.go(i,"",o)}}restoreHistory(e,r=!1){if("computed"===this.canceledNavigationResolution){const o=this.currentPageId-this.browserPageId;0!==o?this.location.historyGo(o):this.currentUrlTree===e.finalUrl&&0===o&&(this.resetState(e),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(r&&this.resetState(e),this.resetUrlToCurrentUrlTree())}resetState(e){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(e,r){return"computed"===this.canceledNavigationResolution?{navigationId:e,\u0275routerPageId:r}:{navigationId:e}}static{this.\u0275fac=(()=>{let e;return function(i){return(e||(e=a.\u0275\u0275getInheritedFactory(t)))(i||t)}})()}static{this.\u0275prov=a.\u0275\u0275defineInjectable({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var jt=function(t){return t[t.COMPLETE=0]="COMPLETE",t[t.FAILED=1]="FAILED",t[t.REDIRECTING=2]="REDIRECTING",t}(jt||{});function Ue(t,n){t.events.pipe((0,Y.p)(e=>e instanceof W||e instanceof nt||e instanceof At||e instanceof rt),(0,T.T)(e=>e instanceof W||e instanceof rt?jt.COMPLETE:e instanceof nt&&(e.code===N.Redirect||e.code===N.SupersededByNewNavigation)?jt.REDIRECTING:jt.FAILED),(0,Y.p)(e=>e!==jt.REDIRECTING),(0,vt.s)(1)).subscribe(()=>{n()})}function Yi(t){throw t}const qi={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Xi={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let _=(()=>{class t{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.isNgZoneEnabled=!1,this.console=(0,a.inject)(a.\u0275Console),this.stateManager=(0,a.inject)(Wn),this.options=(0,a.inject)(ot,{optional:!0})||{},this.pendingTasks=(0,a.inject)(a.\u0275PendingTasks),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=(0,a.inject)(Xt),this.urlSerializer
1=(0,a.inject)(et),this.location=(0,a.inject)(U.Location),this.urlHandlingStrategy=(0,a.inject)(qt),this._events=new Q.B,this.errorHandler=this.options.errorHandler||Yi,this.navigated=!1,this.routeReuseStrategy=(0,a.inject)(Fn),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=(0,a.inject)(st,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!(0,a.inject)(Kt,{optional:!0}),this.eventsSubscription=new Jt.yU,this.isNgZoneEnabled=(0,a.inject)(a.NgZone)instanceof a.NgZone&&a.NgZone.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:e=>{this.console.warn(e)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const e=this.navigationTransitions.events.subscribe(r=>{try{const i=this.navigationTransitions.currentTransition,o=this.navigationTransitions.currentNavigation;if(null!==i&&null!==o)if(this.stateManager.handleRouterEvent(r,o),r instanceof nt&&r.code!==N.Redirect&&r.code!==N.SupersededByNewNavigation)this.navigated=!0;else if(r instanceof W)this.navigated=!0;else if(r instanceof de){const s=this.urlHandlingStrategy.merge(r.url,i.currentRawUrl),c={info:i.extras.info,skipLocationChange:i.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||Ki(i.source)};this.scheduleNavigation(s,Et,null,c,{resolve:i.resolve,reject:i.reject,promise:i.promise})}(function to(t){return!(t instanceof he||t instanceof de)})(r)&&this._events.next(r)}catch(i){this.navigationTransitions.transitionAbortSubject.next(i)}});this.eventsSubscription.add(e)}resetRootComponentType(e){this.routerState.root.component=e,this.navigationTransitions.rootComponentType=e}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Et,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((e,r)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(e,"popstate",r)},0)})}navigateToSyncWithBrowser(e,r,i){const o={replaceUrl:!0},s=i?.navigationId?i:null;if(i){const u={...i};delete u.navigationId,delete u.\u0275routerPageId,0!==Object.keys(u).length&&(o.state=u)}const c=this.parseUrl(e);this.scheduleNavigation(c,r,s,o)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(e){this.config=e.map(we),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(e,r={}){const{relativeTo:i,queryParams:o,fragment:s,queryParamsHandling:c,preserveFragment:u}=r,d=u?this.currentUrlTree.fragment:s;let m,p=null;switch(c){case"merge":p={...this.currentUrlTree.queryParams,...o};break;case"preserve":p=this.currentUrlTree.queryParams;break;default:p=o||null}null!==p&&(p=this.removeEmptyProps(p));try{m=nn(i?i.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof e[0]||!e[0].startsWith("/"))&&(e=[]),m=this.currentUrlTree.root}return rn(m,e,p,d??null)}navigateByUrl(e,r={skipLocationChange:!1}){const i=lt(e)?e:this.parseUrl(e),o=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(o,Et,null,r)}navigate(e,r={skipLocationChange:!1}){return function Ji(t){for(let n=0;n<t.length;n++)if(null==t[n])throw new a.\u0275RuntimeError(4008,!1)}(e),this.navigateByUrl(this.createUrlTree(e,r),r)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){try{return this.urlSerializer.parse(e)}catch{return this.urlSerializer.parse("/")}}isActive(e,r){let i;if(i=!0===r?{...qi}:!1===r?{...Xi}:r,lt(e))return Ge(this.currentUrlTree,e,i);const o=this.parseUrl(e);return Ge(this.currentUrlTree,o,i)}removeEmptyProps(e){return Object.entries(e).reduce((r,[i,o])=>(null!=o&&(r[i]=o),r),{})}
1scheduleNavigation(e,r,i,o,s){if(this.disposed)return Promise.resolve(!1);let c,u,d;s?(c=s.resolve,u=s.reject,d=s.promise):d=new Promise((m,M)=>{c=m,u=M});const p=this.pendingTasks.add();return Ue(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(p))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:e,extras:o,resolve:c,reject:u,promise:d,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),d.catch(m=>Promise.reject(m))}static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275prov=a.\u0275\u0275defineInjectable({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),Ut=(()=>{class t{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,this.href=null,this.commands=null,this.onChanges=new Q.B,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const u=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===u||"area"===u,this.isAnchorElement?this.subscription=e.events.subscribe(d=>{d instanceof W&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(e){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",e)}ngOnChanges(e){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(e){null!=e?(this.commands=Array.isArray(e)?e:[e],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(e,r,i,o,s){const c=this.urlTree;return!!(null===c||this.isAnchorElement&&(0!==e||r||i||o||s||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(c,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){const e=this.urlTree;this.href=null!==e&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(e)):null;const r=null===this.href?null:(0,a.\u0275\u0275sanitizeUrlOrResourceUrl)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",r)}applyAttributeValue(e,r){const i=this.renderer,o=this.el.nativeElement;null!==r?i.setAttribute(o,e,r):i.removeAttribute(o,e)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static{this.\u0275fac=function(r){return new(r||t)(a.\u0275\u0275directiveInject(_),a.\u0275\u0275directiveInject(it),a.\u0275\u0275injectAttribute("tabindex"),a.\u0275\u0275directiveInject(a.Renderer2),a.\u0275\u0275directiveInject(a.ElementRef),a.\u0275\u0275directiveInject(U.LocationStrategy))}}static{this.\u0275dir=a.\u0275\u0275defineDirective({type:t,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(r,i){1&r&&a.\u0275\u0275listener("click",function(s){return i.onClick(s.button,s.ctrlKey,s.shiftKey,s.altKey,s.metaKey)}),2&r&&a.\u0275\u0275attribute("target",i.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[a.\u0275\u0275InputFlags.HasDecoratorInputTransform,"preserveFragment","preserveFragment",a.booleanAttribute],skipLocationChange:[a.\u0275\u0275InputFlags.HasDecoratorInputTransform,"skipLocationChange","skipLocationChange",a.booleanAttribute],replaceUrl:[a.\u0275\u0275InputFlags.HasDecoratorInputTransform,"replaceUrl","replaceUrl",a.booleanAttribute],routerLink:"routerLink"},standalone:!0,features:[a.\u0275\u0275InputTransformsFeature,a.\u0275\u0275NgOnChangesFeature]})}}return t})(),Vn=(()=>{class t{get isActive(){return this._isActive}constructor(e,r,i,o,s){this.router=e,this.element=r,this.renderer=i,this.cdr=o,this.link=s,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new a.EventEmitter,this.routerEventsSubscription=e.events.subscribe(c=>{c instanceof W&&this.update()})}ngAfterContentInit(){(0,h.of)(this.links.changes,(0,h.of)(null)).pipe((0,$t.U)()).subscribe(e=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const e=[...this.links.toArray(),this.link].filter(r=>!!r).map(r=>r.onChanges);this.linkInputChangesSubscription=(0,f.H)(e).pipe((0,$t.U)()).subscribe(r=>{this._isActive!==this.isLinkActive(this.router)(r)&&this.update()})}set routerLinkActive(e){const r=Array.isArray(e)?e:e.split(" ");this.classes=r.filter(i=>!!i)}ngOnChanges(e){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{const e=this.hasActiveLinks();
1this.classes.forEach(r=>{e?this.renderer.addClass(this.element.nativeElement,r):this.renderer.removeClass(this.element.nativeElement,r)}),e&&void 0!==this.ariaCurrentWhenActive?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){const r=function eo(t){return!!t.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return i=>{const o=i.urlTree;return!!o&&e.isActive(o,r)}}hasActiveLinks(){const e=this.isLinkActive(this.router);return this.link&&e(this.link)||this.links.some(e)}static{this.\u0275fac=function(r){return new(r||t)(a.\u0275\u0275directiveInject(_),a.\u0275\u0275directiveInject(a.ElementRef),a.\u0275\u0275directiveInject(a.Renderer2),a.\u0275\u0275directiveInject(a.ChangeDetectorRef),a.\u0275\u0275directiveInject(Ut,8))}}static{this.\u0275dir=a.\u0275\u0275defineDirective({type:t,selectors:[["","routerLinkActive",""]],contentQueries:function(r,i,o){if(1&r&&a.\u0275\u0275contentQuery(o,Ut,5),2&r){let s;a.\u0275\u0275queryRefresh(s=a.\u0275\u0275loadQuery())&&(i.links=s)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[a.\u0275\u0275NgOnChangesFeature]})}}return t})();class Pe{}let no=(()=>{class t{preload(e,r){return r().pipe((0,ut.W)(()=>(0,h.of)(null)))}static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275prov=a.\u0275\u0275defineInjectable({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),ro=(()=>{class t{preload(e,r){return(0,h.of)(null)}static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275prov=a.\u0275\u0275defineInjectable({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),Hn=(()=>{class t{constructor(e,r,i,o,s){this.router=e,this.injector=i,this.preloadingStrategy=o,this.loader=s}setUpPreloading(){this.subscription=this.router.events.pipe((0,Y.p)(e=>e instanceof W),(0,mt.H)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,r){const i=[];for(const o of r){o.providers&&!o._injector&&(o._injector=(0,a.createEnvironmentInjector)(o.providers,e,`Route: ${o.path}`));const s=o._injector??e,c=o._loadedInjector??s;(o.loadChildren&&!o._loadedRoutes&&void 0===o.canLoad||o.loadComponent&&!o._loadedComponent)&&i.push(this.preloadConfig(s,o)),(o.children||o._loadedRoutes)&&i.push(this.processRoutes(c,o.children??o._loadedRoutes))}return(0,f.H)(i).pipe((0,$t.U)())}preloadConfig(e,r){return this.preloadingStrategy.preload(r,()=>{let i;i=r.loadChildren&&void 0===r.canLoad?this.loader.loadChildren(e,r):(0,h.of)(null);const o=i.pipe((0,L.Z)(s=>null===s?(0,h.of)(void 0):(r._loadedRoutes=s.routes,r._loadedInjector=s.injector,this.processRoutes(s.injector??e,s.routes))));if(r.loadComponent&&!r._loadedComponent){const s=this.loader.loadComponent(r);return(0,f.H)([o,s]).pipe((0,$t.U)())}return o})}static{this.\u0275fac=function(r){return new(r||t)(a.\u0275\u0275inject(_),a.\u0275\u0275inject(a.Compiler),a.\u0275\u0275inject(a.EnvironmentInjector),a.\u0275\u0275inject(Pe),a.\u0275\u0275inject(je))}}static{this.\u0275prov=a.\u0275\u0275defineInjectable({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();const xe=new a.InjectionToken("");let Gn=(()=>{class t{constructor(e,r,i,o,s={}){this.urlSerializer=e,this.transitions=r,this.viewportScroller=i,this.zone=o,this.options=s,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},this.environmentInjector=(0,a.inject)(a.EnvironmentInjector),s.scrollPositionRestoration||="disabled",s.anchorScrolling||="disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof It?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof W?(this.lastId=e.id,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.urlAfterRedirects).fragment)):e instanceof rt&&e.code===wt.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof le&&(e.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(e.position):e.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(e.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(e,r){var i=this;this.zone.runOutsideAngular((0,E.A)(function*(){yield new Promise(o=>{setTimeout(()=>{o()}),(0,a.afterNextRender)(()=>{o()},{injector:i.environmentInjector})}),i.zone.run(()=>{i.transitions.events.next(new le(e,"popstate"===i.lastSource?i.store[i.restoredId]:null,r))})}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static{this.\u0275fac=function(r){a.\u0275\u0275invalidFactory()}}static{this.\u0275prov=a.\u0275\u0275defineInjectable({token:t,factory:t.\u0275fac})}}return t})();function io(t,...n){return(0,a.makeEnvironmentProviders)([{provide:st,multi:!0,useValue:t},[],{provide:it,useFactory:Kn,deps:[_]},{provide:a.APP_BOOTSTRAP_LISTENER,multi:!0,useFactory:Zn},n.map(e=>e.\u0275providers)])}function Kn(t){return t.routerState.root}function H(t,n){return{\u0275kind:t,\u0275providers:n}}function so(t){return[{provide:st,multi:!0,useValue:t},[]]}function ao(t={}){return H(4,[{provide:xe,useFactory:()=>{const e=(0,a.inject)(U.ViewportScroller),r=(0,a.inject)(a.NgZone),i=(0,a.inject)(Xt),o=(0,a.inject)(et);return new Gn(o,i,e,r,t)}}])}function Zn(){const t=(0,a.inject)(a.Injector);return n=>{const e=t.get(a.ApplicationRef);if(n!==e.components[0])return;const r=t.get(_),i=t.get(Qn);1===t.get(Ne)&&r.initialNavigation(),t.get(Xn,null,a.InjectFlags.Optional)?.setUpPreloading(),t.get(xe,null,a.InjectFlags.Optional)?.init(),r.resetRootComponentType(e.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}const Qn=new a.InjectionToken("",{factory:()=>new Q.B}),Ne=new a.InjectionToken("",{providedIn:"root",factory:()=>1});function Yn(){return H(2,[{provide:Ne,useValue:0},{provide:a.APP_INITIALIZER,multi:!0,deps:[a.Injector],useFactory:n=>{const e=n.get(U.LOCATION_INITIALIZED,Promise.resolve());return()=>e.then(()=>new Promise(r=>{const i=n.get(_),o=n.get(Qn);Ue(i,()=>{r(!0)}),n.get(Xt).afterPreactivation=()=>(r(!0),o.closed?(0,h.of)(void 0):o),i.initialNavigation()}))}}])}function qn(){return H(3,[{provide:a.APP_INITIALIZER,multi:!0,useFactory:()=>{const n=(0,a.inject)(_);return()=>{n.setUpLocationChangeListener()}}},{provide:Ne,useValue:2}])}function uo(){let t=[];return t=[],H(1,t)}const Xn=new a.InjectionToken("");function Jn(t){return H(0,[{provide:Xn,useExisting:Hn},{provide:Pe,useExisting:t}])}function co(t){return H(5,[{provide:ot,useValue:t}])}function lo(){return H(6,[{provide:U.LocationStrategy,useClass:U.HashLocationStrategy}])}function ho(t){return H(7,[{provide:a.ENVIRONMENT_INITIALIZER,multi:!0,useValue:()=>{const e=(0,a.inject)(a.EnvironmentInjector);(0,a.inject)(_).events.subscribe(r=>{r instanceof At&&(0,a.runInInjectionContext)(e,()=>t(r))})}}])}function tr(){return H(8,[An,{provide:Kt,useExisting:An}])}function er(t){return H(9,[{provide:zn,useValue:Hi},{provide:kn,useValue:{skipNextTransition:!!t?.skipInitialTransition,...t}}])}const nr=new a.InjectionToken("ROUTER_FORROOT_GUARD"),rr=[U.Location,{provide:et,useClass:kt},_,ht,{provide:it,useFactory:Kn,deps:[_]},je,[]];let fo=(()=>{class t{constructor(e){}static forRoot(e,r){return{ngModule:t,providers:[rr,[],{provide:st,multi:!0,useValue:e},{provide:nr,useFactory:mo,deps:[[_,new a.Optional,new a.SkipSelf]]},{provide:ot,useValue:r||{}},r?.useHash?{provide:U.LocationStrategy,useClass:U.HashLocationStrategy}:{provide:U.LocationStrategy,useClass:U.PathLocationStrategy},{provide:xe,useFactory:()=>{const t=(0,a.inject)(U.ViewportScroller),n=(0,a.inject)(a.NgZone),e=(0,a.inject)(ot),r=(0,a.inject)(Xt),i=(0,a.inject)(et);return e.scrollOffset&&t.setOffset(e.scrollOffset),new Gn(i,r,t,n,e)}},r?.preloadingStrategy?Jn(r.preloadingStrategy).\u0275providers:[],r?.initialNavigation?Ro(r):[],r?.bindToComponentInputs?tr().\u0275providers:[],r?.enableViewTransitions?er().\u0275providers:[],[{provide:Le,useFactory:Zn},{provide:a.APP_BOOTSTRAP_LISTENER,multi:!0,useExisting:Le}]]}}static forChild(e){return{ngModule:t,providers:[{provide:st,multi:!0,useValue:e}]}}static{this.\u0275fac=function(r){return new(r||t)(a.\u0275\u0275inject(nr,8))}}static{this.\u0275mod=a.\u0275\u0275defineNgModule({type:t})}static{this.\u0275inj=a.\u0275\u0275defineInjector({})}}return t})();function mo(t){return"guarded"}function Ro(t){return["disabled"===t.initialNavigation?qn().\u0275providers:[],"enabledBlocking"===t.initialNavigation?Yn().\u0275providers:[]]}const Le=new a.InjectionToken("");function So(t){return t.map(n=>(...e)=>(0,a.inject)(n).canMatch(...e))}function yo(t){return t.map(n=>(...e)=>(0,a.inject)(n).canActivate(...e))}function Eo(t){return t.map(n=>(...e)=>(0,a.inject)(n).canActivateChild(...e))}function Io(t){return t.map(n=>(...e)=>(0,a.inject)(n).canDeactivate(...e))}function wo(t){return(...n)=>(0,a.inject)(t).resolve(...n)}const Ao=new a.Version("17.3.12")},467:(x,I,l)=>{function E(w,f,h,g,y,R,S){try{var b=w[R](S),D=b.value}catch(G){return void h(G)}b.done?f(D):Promise.resolve(D).then(g,y)}function a(w){return function(){var f=this,h=arguments;return new Promise(function(g,y){var R=w.apply(f,h);function S(D){E(R,g,y,S,b,"next",D)}function b(D){E(R,g,y,S,b,"throw",D)}S(void 0)})}}l.d(I,{A:()=>a})}}]);

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.