File "router.min.2a288de38537.js"
Full Path: /home/lacostenacom/public_html/wp/wp./wp-content/plugins/imunify-security/assets/ui-app/assets/static/shared-dependencies/router.min.2a288de38537.js
File size: 94.74 KB
MIME-type: text/plain
Charset: utf-8
System.register(["@angular/core","rxjs","@angular/common","rxjs/operators"],(function(t){"use strict";var e,r,n,s,i,o,a,c,u,l,h,d,p,f,g,m,v,S,y,w,C,b,R,T,A,E,I,j,O,x,P,_,k,U,N,L,M,D,z,$,H,q,F,B,W,G,V,Z,K,Q,Y,X,J,tt,et,rt,nt,st,it,ot,at,ct,ut,lt,ht,dt,pt,ft,gt,mt,vt,St,yt,wt,Ct,bt,Rt,Tt,At,Et,It,jt,Ot,xt,Pt,_t,kt,Ut,Nt,Lt,Mt,Dt,zt,$t,Ht,qt,Ft,Bt,Wt,Gt,Vt,Zt,Kt,Qt,Yt,Xt,Jt,te;return{setters:[function(t){e=t,t.Injectable,r=t.InjectionToken,n=t["\u0275RuntimeError"],t.Inject,s=t.APP_ID,i=t.CSP_NONCE,o=t.PLATFORM_ID,a=t.Optional,c=t.ViewEncapsulation,u=t.RendererStyleFlags2,l=t.createPlatformFactory,h=t.platformCore,d=t["\u0275INJECTOR_SCOPE"],p=t.ErrorHandler,f=t.NgZone,g=t.RendererFactory2,m=t.ApplicationModule,t.NgModule,v=t.SkipSelf,S=t["\u0275Console"],t.forwardRef,t["\u0275XSS_SECURITY_URL"],y=t.SecurityContext,w=t["\u0275allowSanitizationBypassAndThrow"],C=t["\u0275unwrapSafeValue"],b=t["\u0275_sanitizeUrl"],R=t["\u0275_sanitizeHtml"],T=t["\u0275bypassSanitizationTrustHtml"],A=t["\u0275bypassSanitizationTrustStyle"],E=t["\u0275bypassSanitizationTrustScript"],I=t["\u0275bypassSanitizationTrustUrl"],j=t["\u0275bypassSanitizationTrustResourceUrl"],O=t.Injector,x=t.Version,P=t.PLATFORM_INITIALIZER,_=t["\u0275TESTABILITY_GETTER"],k=t["\u0275TESTABILITY"],U=t.Testability,N=t.TestabilityRegistry,L=t["\u0275\u0275inject"],M=t["\u0275global"],D=t["\u0275setDocument"],z=t.EventEmitter,$=t.inject,H=t.ViewContainerRef,q=t.ChangeDetectorRef,F=t.EnvironmentInjector,t.Directive,t.Input,t.Output,B=t.reflectComponentType,t.Component,W=t.Compiler,G=t.NgModuleFactory,V=t["\u0275InitialRenderPendingTasks"],Z=t["\u0275\u0275sanitizeUrlOrResourceUrl"],K=t.booleanAttribute,t.Attribute,t.HostBinding,t.HostListener,t.ContentChildren,Q=t.createEnvironmentInjector,Y=t.NgProbeToken,X=t.APP_BOOTSTRAP_LISTENER,J=t["\u0275isPromise"],t["\u0275isNgModule"],t.isStandalone,tt=t.makeEnvironmentProviders,et=t.ApplicationRef,rt=t.InjectFlags,nt=t["\u0275isInjectable"],st=t.ENVIRONMENT_INITIALIZER,it=t.APP_INITIALIZER},function(t){ot=t.combineLatest,at=t.of,ct=t.ConnectableObservable,ut=t.Subject,lt=t.from,ht=t.BehaviorSubject,dt=t.EMPTY,pt=t.Subscription,ft=t.isObservable,gt=t.concat,mt=t.defer,vt=t.throwError,St=t.EmptyError,yt=t.pipe},function(t){wt=t.isPlatformServer,Ct=t.DOCUMENT,bt=t["\u0275getDOM"],Rt=t.XhrFactory,Tt=t.CommonModule,At=t["\u0275PLATFORM_BROWSER_ID"],Et=t["\u0275setRootDomAdapter"],It=t["\u0275parseCookieValue"],jt=t["\u0275DomAdapter"],Ot=t.Location,xt=t,Pt=t.ViewportScroller,_t=t.LocationStrategy,kt=t.HashLocationStrategy,Ut=t.PathLocationStrategy,Nt=t.LOCATION_INITIALIZED},function(t){Lt=t.switchMap,Mt=t.map,Dt=t.tap,zt=t.finalize,$t=t.refCount,Ht=t.mergeMap,qt=t.filter,Ft=t.take,Bt=t.takeUntil,Wt=t.catchError,Gt=t.mergeAll,Vt=t.concatMap,Zt=t.first,Kt=t.defaultIfEmpty,Qt=t.startWith,Yt=t.scan,Xt=t.last,Jt=t.takeLast,te=t.mapTo}],execute:function(){t({convertToParamMap:Qe,createUrlTreeFromSnapshot:_r,defaultUrlMatcher:Ye,mapToCanActivate:function(t){return t.map((t=>(...e)=>$(t).canActivate(...e)))},mapToCanActivateChild:function(t){return t.map((t=>(...e)=>$(t).canActivateChild(...e)))},mapToCanDeactivate:function(t){return t.map((t=>(...e)=>$(t).canDeactivate(...e)))},mapToCanMatch:function(t){return t.map((t=>(...e)=>$(t).canMatch(...e)))},mapToResolve:function(t){return(...e)=>$(t).resolve(...e)},provideRouter:function(t,...e){return tt([{provide:As,multi:!0,useValue:t},[],{provide:Tn,useFactory:ei,deps:[Ws]},{provide:X,multi:!0,useFactory:ni},e.map((t=>t.\u0275providers))])},provideRoutes:function(t){return[{provide:As,multi:!0,useValue:t},[]]},withComponentInputBinding:hi,withDebugTracing:ci,withDisabledInitialNavigation:ai,withEnabledBlockingInitialNavigation:oi,withHashLocation:function(){return ri(5,[{provide:_t,useClass:kt}])},withInMemoryScrolling:function(t={}){return ri(4,[{provide:Js,useFactory:()=>{const e=$(Pt),r=$(f),n=$(Os),s=$(dr);return new ti(s,n,e,r,t)}}])},withNavigationErrorHandler:function(t){return ri(7,[{provide:st,multi:!0,useValue:()=>{const e=$(F);$(Ws).events.subscribe((r=>{r instanceof Jr&&e.runInContext((()=>t(r)))}))}}])},withPreloading:li,withRouterConfig:function(t){return ri(5,[{provide:Ls,useValue:t}])},\u0275afterNextNavigation:$s,\u0275loadChildren:Is});class ee extends jt{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class re extends ee{static makeCurrent(){Et(new re)}onAndCancel(t,e,r){return t.addEventListener(e,r),()=>{t.removeEventListener(e,r)}}dispatchEvent(t,e){t.dispatchEvent(e)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,e){return(e=e||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,e){return"window"===e?window:"document"===e?t:"body"===e?t.body:null}getBaseHref(t){const e=(se=se||document.querySelector("base"),se?se.getAttribute("href"):null);return null==e?null:function(t){ne=ne||document.createElement("a"),ne.setAttribute("href",t);const e=ne.pathname;return"/"===e.charAt(0)?e:`/${e}`}(e)}resetBaseElement(){se=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return It(document.cookie,t)}}let ne,se=null;class ie{build(){return new XMLHttpRequest}static{this.\u0275fac=function(t){return new(t||ie)}}static{this.\u0275prov=e.\u0275\u0275defineInjectable({token:ie,factory:ie.\u0275fac})}}const oe=new r("EventManagerPlugins");class ae{constructor(t,e){this._zone=e,this._eventNameToPlugin=new Map,t.forEach((t=>{t.manager=this})),this._plugins=t.slice().reverse()}addEventListener(t,e,r){return this._findPluginFor(e).addEventListener(t,e,r)}getZone(){return this._zone}_findPluginFor(t){let e=this._eventNameToPlugin.get(t);if(e)return e;if(e=this._plugins.find((e=>e.supports(t))),!e)throw new n(5101,!1);return this._eventNameToPlugin.set(t,e),e}static{this.\u0275fac=function(t){return new(t||ae)(e.\u0275\u0275inject(oe),e.\u0275\u0275inject(e.NgZone))}}static{this.\u0275prov=e.\u0275\u0275defineInjectable({token:ae,factory:ae.\u0275fac})}}class ce{constructor(t){this._doc=t}}const ue="ng-app-id";class le{constructor(t,e,r,n={}){this.doc=t,this.appId=e,this.nonce=r,this.platformId=n,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=wt(n),this.resetHostNodes()}addStyles(t){for(const e of t){1===this.changeUsageCount(e,1)&&this.onStyleAdded(e)}}removeStyles(t){for(const e of t){this.changeUsageCount(e,-1)<=0&&this.onStyleRemoved(e)}}ngOnDestroy(){const t=this.styleNodesInDOM;t&&(t.forEach((t=>t.remove())),t.clear());for(const t of this.getAllStyles())this.onStyleRemoved(t);this.resetHostNodes()}addHost(t){this.hostNodes.add(t);for(const e of this.getAllStyles())this.addStyleToHost(t,e)}removeHost(t){this.hostNodes.delete(t)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(t){for(const e of this.hostNodes)this.addStyleToHost(e,t)}onStyleRemoved(t){const e=this.styleRef;e.get(t)?.elements?.forEach((t=>t.remove())),e.delete(t)}collectServerRenderedStyles(){const t=this.doc.head?.querySelectorAll(`style[${ue}="${this.appId}"]`);if(t?.length){const e=new Map;return t.forEach((t=>{null!=t.textContent&&e.set(t.textContent,t)})),e}return null}changeUsageCount(t,e){const r=this.styleRef;if(r.has(t)){const n=r.get(t);return n.usage+=e,n.usage}return r.set(t,{usage:e,elements:[]}),e}getStyleElement(t,e){const r=this.styleNodesInDOM,n=r?.get(e);if(n?.parentNode===t)return r.delete(e),n.removeAttribute(ue),n;{const t=this.doc.createElement("style");return this.nonce&&t.setAttribute("nonce",this.nonce),t.textContent=e,this.platformIsServer&&t.setAttribute(ue,this.appId),t}}addStyleToHost(t,e){const r=this.getStyleElement(t,e);t.appendChild(r);const n=this.styleRef,s=n.get(e)?.elements;s?s.push(r):n.set(e,{elements:[r],usage:1})}resetHostNodes(){const t=this.hostNodes;t.clear(),t.add(this.doc.head)}static{this.\u0275fac=function(t){return new(t||le)(e.\u0275\u0275inject(Ct),e.\u0275\u0275inject(s),e.\u0275\u0275inject(i,8),e.\u0275\u0275inject(o))}}static{this.\u0275prov=e.\u0275\u0275defineInjectable({token:le,factory:le.\u0275fac})}}const he={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},de=/%COMP%/g,pe="%COMP%",fe=`_nghost-${pe}`,ge=`_ngcontent-${pe}`,me=new r("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>false});function ve(t,e){return e.map((e=>e.replace(de,t)))}class Se{constructor(t,e,r,n,s,i,o,a=null){this.eventManager=t,this.sharedStylesHost=e,this.appId=r,this.removeStylesOnCompDestroy=n,this.doc=s,this.platformId=i,this.ngZone=o,this.nonce=a,this.rendererByCompId=new Map,this.platformIsServer=wt(i),this.defaultRenderer=new ye(t,s,o,this.platformIsServer)}createRenderer(t,e){if(!t||!e)return this.defaultRenderer;this.platformIsServer&&e.encapsulation===c.ShadowDom&&(e={...e,encapsulation:c.Emulated});const r=this.getOrCreateRenderer(t,e);return r instanceof Re?r.applyToHost(t):r instanceof be&&r.applyStyles(),r}getOrCreateRenderer(t,e){const r=this.rendererByCompId;let n=r.get(e.id);if(!n){const s=this.doc,i=this.ngZone,o=this.eventManager,a=this.sharedStylesHost,u=this.removeStylesOnCompDestroy,l=this.platformIsServer;switch(e.encapsulation){case c.Emulated:n=new Re(o,a,e,this.appId,u,s,i,l);break;case c.ShadowDom:return new Ce(o,a,t,e,s,i,this.nonce,l);default:n=new be(o,a,e,u,s,i,l)}r.set(e.id,n)}return n}ngOnDestroy(){this.rendererByCompId.clear()}static{this.\u0275fac=function(t){return new(t||Se)(e.\u0275\u0275inject(ae),e.\u0275\u0275inject(le),e.\u0275\u0275inject(s),e.\u0275\u0275inject(me),e.\u0275\u0275inject(Ct),e.\u0275\u0275inject(o),e.\u0275\u0275inject(e.NgZone),e.\u0275\u0275inject(i))}}static{this.\u0275prov=e.\u0275\u0275defineInjectable({token:Se,factory:Se.\u0275fac})}}class ye{constructor(t,e,r,n){this.eventManager=t,this.doc=e,this.ngZone=r,this.platformIsServer=n,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(t,e){return e?this.doc.createElementNS(he[e]||e,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,e){(we(t)?t.content:t).appendChild(e)}insertBefore(t,e,r){if(t){(we(t)?t.content:t).insertBefore(e,r)}}removeChild(t,e){t&&t.removeChild(e)}selectRootElement(t,e){let r="string"==typeof t?this.doc.querySelector(t):t;if(!r)throw new n(-5104,!1);return e||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,e,r,n){if(n){e=n+":"+e;const s=he[n];s?t.setAttributeNS(s,e,r):t.setAttribute(e,r)}else t.setAttribute(e,r)}removeAttribute(t,e,r){if(r){const n=he[r];n?t.removeAttributeNS(n,e):t.removeAttribute(`${r}:${e}`)}else t.removeAttribute(e)}addClass(t,e){t.classList.add(e)}removeClass(t,e){t.classList.remove(e)}setStyle(t,e,r,n){n&(u.DashCase|u.Important)?t.style.setProperty(e,r,n&u.Important?"important":""):t.style[e]=r}removeStyle(t,e,r){r&u.DashCase?t.style.removeProperty(e):t.style[e]=""}setProperty(t,e,r){t[e]=r}setValue(t,e){t.nodeValue=e}listen(t,e,r){if("string"==typeof t&&!(t=bt().getGlobalEventTarget(this.doc,t)))throw new Error(`Unsupported event target ${t} for event ${e}`);return this.eventManager.addEventListener(t,e,this.decoratePreventDefault(r))}decoratePreventDefault(t){return e=>{if("__ngUnwrap__"===e)return t;!1===(this.platformIsServer?this.ngZone.runGuarded((()=>t(e))):t(e))&&e.preventDefault()}}}"@".charCodeAt(0);function we(t){return"TEMPLATE"===t.tagName&&void 0!==t.content}class Ce extends ye{constructor(t,e,r,n,s,i,o,a){super(t,s,i,a),this.sharedStylesHost=e,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const c=ve(n.id,n.styles);for(const t of c){const e=document.createElement("style");o&&e.setAttribute("nonce",o),e.textContent=t,this.shadowRoot.appendChild(e)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,e){return super.appendChild(this.nodeOrShadowRoot(t),e)}insertBefore(t,e,r){return super.insertBefore(this.nodeOrShadowRoot(t),e,r)}removeChild(t,e){return super.removeChild(this.nodeOrShadowRoot(t),e)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class be extends ye{constructor(t,e,r,n,s,i,o,a){super(t,s,i,o),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=n,this.styles=a?ve(a,r.styles):r.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class Re extends be{constructor(t,e,r,n,s,i,o,a){const c=n+"-"+r.id;var u;super(t,e,r,s,i,o,a,c),this.contentAttr=(u=c,ge.replace(de,u)),this.hostAttr=function(t){return fe.replace(de,t)}(c)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,e){const r=super.createElement(t,e);return super.setAttribute(r,this.contentAttr,""),r}}class Te extends ce{constructor(t){super(t)}supports(t){return!0}addEventListener(t,e,r){return t.addEventListener(e,r,!1),()=>this.removeEventListener(t,e,r)}removeEventListener(t,e,r){return t.removeEventListener(e,r)}static{this.\u0275fac=function(t){return new(t||Te)(e.\u0275\u0275inject(Ct))}}static{this.\u0275prov=e.\u0275\u0275defineInjectable({token:Te,factory:Te.\u0275fac})}}const Ae=["alt","control","meta","shift"],Ee={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Ie={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};class je extends ce{constructor(t){super(t)}supports(t){return null!=je.parseEventName(t)}addEventListener(t,e,r){const n=je.parseEventName(e),s=je.eventCallback(n.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular((()=>bt().onAndCancel(t,n.domEventName,s)))}static parseEventName(t){const e=t.toLowerCase().split("."),r=e.shift();if(0===e.length||"keydown"!==r&&"keyup"!==r)return null;const n=je._normalizeKey(e.pop());let s="",i=e.indexOf("code");if(i>-1&&(e.splice(i,1),s="code."),Ae.forEach((t=>{const r=e.indexOf(t);r>-1&&(e.splice(r,1),s+=t+".")})),s+=n,0!=e.length||0===n.length)return null;const o={};return o.domEventName=r,o.fullKey=s,o}static matchEventFullKeyCode(t,e){let r=Ee[t.key]||t.key,n="";return e.indexOf("code.")>-1&&(r=t.code,n="code."),!(null==r||!r)&&(r=r.toLowerCase()," "===r?r="space":"."===r&&(r="dot"),Ae.forEach((e=>{if(e!==r){(0,Ie[e])(t)&&(n+=e+".")}})),n+=r,n===e)}static eventCallback(t,e,r){return n=>{je.matchEventFullKeyCode(n,t)&&r.runGuarded((()=>e(n)))}}static _normalizeKey(t){return"esc"===t?"escape":t}static{this.\u0275fac=function(t){return new(t||je)(e.\u0275\u0275inject(Ct))}}static{this.\u0275prov=e.\u0275\u0275defineInjectable({token:je,factory:je.\u0275fac})}}l(h,"browser",[{provide:o,useValue:At},{provide:P,useValue:function(){re.makeCurrent()},multi:!0},{provide:Ct,useFactory:function(){return D(document),document},deps:[]}]);const Oe=new r(""),xe=[{provide:_,useClass:class{addToWindow(t){M.getAngularTestability=(e,r=!0)=>{const s=t.findTestabilityInTree(e,r);if(null==s)throw new n(5103,!1);return s},M.getAllAngularTestabilities=()=>t.getAllTestabilities(),M.getAllAngularRootElements=()=>t.getAllRootElements();M.frameworkStabilizers||(M.frameworkStabilizers=[]),M.frameworkStabilizers.push((t=>{const e=M.getAllAngularTestabilities();let r=e.length,n=!1;const s=function(e){n=n||e,r--,0==r&&t(n)};e.forEach((t=>{t.whenStable(s)}))}))}findTestabilityInTree(t,e,r){if(null==e)return null;const n=t.getTestability(e);return null!=n?n:r?bt().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null}},deps:[]},{provide:k,useClass:U,deps:[f,N,_]},{provide:U,useClass:U,deps:[f,N,_]}],Pe=[{provide:d,useValue:"root"},{provide:p,useFactory:function(){return new p},deps:[]},{provide:oe,useClass:Te,multi:!0,deps:[Ct,f,o]},{provide:oe,useClass:je,multi:!0,deps:[Ct]},Se,le,ae,{provide:g,useExisting:Se},{provide:Rt,useClass:ie,deps:[]},[]];class _e{constructor(t){0}static withServerTransition(t){return{ngModule:_e,providers:[{provide:s,useValue:t.appId}]}}static{this.\u0275fac=function(t){return new(t||_e)(e.\u0275\u0275inject(Oe,12))}}static{this.\u0275mod=e.\u0275\u0275defineNgModule({type:_e})}static{this.\u0275inj=e.\u0275\u0275defineInjector({providers:[...Pe,...xe],imports:[Tt,m]})}}function ke(){return new Ue(L(Ct))}class Ue{constructor(t){this._doc=t,this._dom=bt()}addTag(t,e=!1){return t?this._getOrCreateElement(t,e):null}addTags(t,e=!1){return t?t.reduce(((t,r)=>(r&&t.push(this._getOrCreateElement(r,e)),t)),[]):[]}getTag(t){return t&&this._doc.querySelector(`meta[${t}]`)||null}getTags(t){if(!t)return[];const e=this._doc.querySelectorAll(`meta[${t}]`);return e?[].slice.call(e):[]}updateTag(t,e){if(!t)return null;e=e||this._parseSelector(t);const r=this.getTag(e);return r?this._setMetaElementAttributes(t,r):this._getOrCreateElement(t,!0)}removeTag(t){this.removeTagElement(this.getTag(t))}removeTagElement(t){t&&this._dom.remove(t)}_getOrCreateElement(t,e=!1){if(!e){const e=this._parseSelector(t),r=this.getTags(e).filter((e=>this._containsAttributes(t,e)))[0];if(void 0!==r)return r}const r=this._dom.createElement("meta");this._setMetaElementAttributes(t,r);return this._doc.getElementsByTagName("head")[0].appendChild(r),r}_setMetaElementAttributes(t,e){return Object.keys(t).forEach((r=>e.setAttribute(this._getMetaKeyMap(r),t[r]))),e}_parseSelector(t){const e=t.name?"name":"property";return`${e}="${t[e]}"`}_containsAttributes(t,e){return Object.keys(t).every((r=>e.getAttribute(this._getMetaKeyMap(r))===t[r]))}_getMetaKeyMap(t){return Ne[t]||t}static{this.\u0275fac=function(t){return new(t||Ue)(e.\u0275\u0275inject(Ct))}}static{this.\u0275prov=e.\u0275\u0275defineInjectable({token:Ue,factory:function(t){let e=null;return e=t?new t:ke(),e},providedIn:"root"})}}const Ne={httpEquiv:"http-equiv"};function Le(){return new Me(L(Ct))}class Me{constructor(t){this._doc=t}getTitle(){return this._doc.title}setTitle(t){this._doc.title=t||""}static{this.\u0275fac=function(t){return new(t||Me)(e.\u0275\u0275inject(Ct))}}static{this.\u0275prov=e.\u0275\u0275defineInjectable({token:Me,factory:function(t){let e=null;return e=t?new t:Le(),e},providedIn:"root"})}}const De={pan:!0,panstart:!0,panmove:!0,panend:!0,pancancel:!0,panleft:!0,panright:!0,panup:!0,pandown:!0,pinch:!0,pinchstart:!0,pinchmove:!0,pinchend:!0,pinchcancel:!0,pinchin:!0,pinchout:!0,press:!0,pressup:!0,rotate:!0,rotatestart:!0,rotatemove:!0,rotateend:!0,rotatecancel:!0,swipe:!0,swipeleft:!0,swiperight:!0,swipeup:!0,swipedown:!0,tap:!0,doubletap:!0},ze=new r("HammerGestureConfig"),$e=new r("HammerLoader");class He{constructor(){this.events=[],this.overrides={}}buildHammer(t){const e=new Hammer(t,this.options);e.get("pinch").set({enable:!0}),e.get("rotate").set({enable:!0});for(const t in this.overrides)e.get(t).set(this.overrides[t]);return e}static{this.\u0275fac=function(t){return new(t||He)}}static{this.\u0275prov=e.\u0275\u0275defineInjectable({token:He,factory:He.\u0275fac})}}class qe extends ce{constructor(t,e,r,n){super(t),this._config=e,this.console=r,this.loader=n,this._loaderPromise=null}supports(t){return!(!De.hasOwnProperty(t.toLowerCase())&&!this.isCustomEvent(t))&&!(!window.Hammer&&!this.loader)}addEventListener(t,e,r){const n=this.manager.getZone();if(e=e.toLowerCase(),!window.Hammer&&this.loader){this._loaderPromise=this._loaderPromise||n.runOutsideAngular((()=>this.loader()));let s=!1,i=()=>{s=!0};return n.runOutsideAngular((()=>this._loaderPromise.then((()=>{window.Hammer?s||(i=this.addEventListener(t,e,r)):i=()=>{}})).catch((()=>{i=()=>{}})))),()=>{i()}}return n.runOutsideAngular((()=>{const s=this._config.buildHammer(t),i=function(t){n.runGuarded((function(){r(t)}))};return s.on(e,i),()=>{s.off(e,i),"function"==typeof s.destroy&&s.destroy()}}))}isCustomEvent(t){return this._config.events.indexOf(t)>-1}static{this.\u0275fac=function(t){return new(t||qe)(e.\u0275\u0275inject(Ct),e.\u0275\u0275inject(ze),e.\u0275\u0275inject(e.\u0275Console),e.\u0275\u0275inject($e,8))}}static{this.\u0275prov=e.\u0275\u0275defineInjectable({token:qe,factory:qe.\u0275fac})}}class Fe{static{this.\u0275fac=function(t){return new(t||Fe)}}static{this.\u0275mod=e.\u0275\u0275defineNgModule({type:Fe})}static{this.\u0275inj=e.\u0275\u0275defineInjector({providers:[{provide:oe,useClass:qe,multi:!0,deps:[Ct,ze,S,[new a,$e]]},{provide:ze,useClass:He,deps:[]}]})}}class Be{static{this.\u0275fac=function(t){return new(t||Be)}}static{this.\u0275prov=e.\u0275\u0275defineInjectable({token:Be,factory:function(t){let r=null;return r=t?new(t||Be):e.\u0275\u0275inject(Ge),r},providedIn:"root"})}}function We(t){return new Ge(t.get(Ct))}class Ge extends Be{constructor(t){super(),this._doc=t}sanitize(t,e){if(null==e)return null;switch(t){case y.NONE:return e;case y.HTML:return w(e,"HTML")?C(e):R(this._doc,String(e)).toString();case y.STYLE:return w(e,"Style")?C(e):e;case y.SCRIPT:if(w(e,"Script"))return C(e);throw new n(5200,!1);case y.URL:return w(e,"URL")?C(e):b(String(e));case y.RESOURCE_URL:if(w(e,"ResourceURL"))return C(e);throw new n(5201,!1);default:throw new n(5202,!1)}}bypassSecurityTrustHtml(t){return T(t)}bypassSecurityTrustStyle(t){return A(t)}bypassSecurityTrustScript(t){return E(t)}bypassSecurityTrustUrl(t){return I(t)}bypassSecurityTrustResourceUrl(t){return j(t)}static{this.\u0275fac=function(t){return new(t||Ge)(e.\u0275\u0275inject(Ct))}}static{this.\u0275prov=e.\u0275\u0275defineInjectable({token:Ge,factory:function(t){let r=null;return r=t?new t:We(e.\u0275\u0275inject(O)),r},providedIn:"root"})}}new x("16.2.12");const Ve=t("PRIMARY_OUTLET","primary"),Ze=Symbol("RouteTitle");class Ke{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e[0]:e}return null}getAll(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}}function Qe(t){return new Ke(t)}function Ye(t,e,r){const n=r.path.split("/");if(n.length>t.length)return null;if("full"===r.pathMatch&&(e.hasChildren()||n.length<t.length))return null;const s={};for(let e=0;e<n.length;e++){const r=n[e],i=t[e];if(r.startsWith(":"))s[r.substring(1)]=i;else if(r!==i.path)return null}return{consumed:t.slice(0,n.length),posParams:s}}function Xe(t,e){const r=t?Object.keys(t):void 0,n=e?Object.keys(e):void 0;if(!r||!n||r.length!=n.length)return!1;let s;for(let n=0;n<r.length;n++)if(s=r[n],!Je(t[s],e[s]))return!1;return!0}function Je(t,e){if(Array.isArray(t)&&Array.isArray(e)){if(t.length!==e.length)return!1;const r=[...t].sort(),n=[...e].sort();return r.every(((t,e)=>n[e]===t))}return t===e}function tr(t){return t.length>0?t[t.length-1]:null}function er(t){return ft(t)?t:J(t)?lt(Promise.resolve(t)):at(t)}const rr={exact:function t(e,r,n){if(!hr(e.segments,r.segments))return!1;if(!ar(e.segments,r.segments,n))return!1;if(e.numberOfChildren!==r.numberOfChildren)return!1;for(const s in r.children){if(!e.children[s])return!1;if(!t(e.children[s],r.children[s],n))return!1}return!0},subset:ir},nr={exact:function(t,e){return Xe(t,e)},subset:function(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every((r=>Je(t[r],e[r])))},ignored:()=>!0};function sr(t,e,r){return rr[r.paths](t.root,e.root,r.matrixParams)&&nr[r.queryParams](t.queryParams,e.queryParams)&&!("exact"===r.fragment&&t.fragment!==e.fragment)}function ir(t,e,r){return or(t,e,e.segments,r)}function or(t,e,r,n){if(t.segments.length>r.length){const s=t.segments.slice(0,r.length);return!!hr(s,r)&&(!e.hasChildren()&&!!ar(s,r,n))}if(t.segments.length===r.length){if(!hr(t.segments,r))return!1;if(!ar(t.segments,r,n))return!1;for(const r in e.children){if(!t.children[r])return!1;if(!ir(t.children[r],e.children[r],n))return!1}return!0}{const s=r.slice(0,t.segments.length),i=r.slice(t.segments.length);return!!hr(t.segments,s)&&(!!ar(t.segments,s,n)&&(!!t.children[Ve]&&or(t.children[Ve],e,i,n)))}}function ar(t,e,r){return e.every(((e,n)=>nr[r](t[n].parameters,e.parameters)))}class cr{constructor(t=new ur([],{}),e={},r=null){this.root=t,this.queryParams=e,this.fragment=r}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Qe(this.queryParams)),this._queryParamMap}toString(){return fr.serialize(this)}}t("UrlTree",cr);class ur{constructor(t,e){this.segments=t,this.children=e,this.parent=null,Object.values(e).forEach((t=>t.parent=this))}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return gr(this)}}t("UrlSegmentGroup",ur);class lr{constructor(t,e){this.path=t,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=Qe(this.parameters)),this._parameterMap}toString(){return br(this)}}function hr(t,e){return t.length===e.length&&t.every(((t,r)=>t.path===e[r].path))}t("UrlSegment",lr);class dr{static{this.\u0275fac=function(t){return new(t||dr)}}static{this.\u0275prov=e.\u0275\u0275defineInjectable({token:dr,factory:function(){return new pr},providedIn:"root"})}}t("UrlSerializer",dr);class pr{parse(t){const e=new jr(t);return new cr(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(t){const e=`/${mr(t.root,!0)}`,r=function(t){const e=Object.keys(t).map((e=>{const r=t[e];return Array.isArray(r)?r.map((t=>`${Sr(e)}=${Sr(t)}`)).join("&"):`${Sr(e)}=${Sr(r)}`})).filter((t=>!!t));return e.length?`?${e.join("&")}`:""}(t.queryParams);var n;return`${e}${r}${"string"==typeof t.fragment?`#${n=t.fragment,encodeURI(n)}`:""}`}}t("DefaultUrlSerializer",pr);const fr=new pr;function gr(t){return t.segments.map((t=>br(t))).join("/")}function mr(t,e){if(!t.hasChildren())return gr(t);if(e){const e=t.children[Ve]?mr(t.children[Ve],!1):"",r=[];return Object.entries(t.children).forEach((([t,e])=>{t!==Ve&&r.push(`${t}:${mr(e,!1)}`)})),r.length>0?`${e}(${r.join("//")})`:e}{const e=function(t,e){let r=[];return Object.entries(t.children).forEach((([t,n])=>{t===Ve&&(r=r.concat(e(n,t)))})),Object.entries(t.children).forEach((([t,n])=>{t!==Ve&&(r=r.concat(e(n,t)))})),r}(t,((e,r)=>r===Ve?[mr(t.children[Ve],!1)]:[`${r}:${mr(e,!1)}`]));return 1===Object.keys(t.children).length&&null!=t.children[Ve]?`${gr(t)}/${e[0]}`:`${gr(t)}/(${e.join("//")})`}}function vr(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Sr(t){return vr(t).replace(/%3B/gi,";")}function yr(t){return vr(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function wr(t){return decodeURIComponent(t)}function Cr(t){return wr(t.replace(/\+/g,"%20"))}function br(t){return`${yr(t.path)}${e=t.parameters,Object.keys(e).map((t=>`;${yr(t)}=${yr(e[t])}`)).join("")}`;var e}const Rr=/^[^\/()?;#]+/;function Tr(t){const e=t.match(Rr);return e?e[0]:""}const Ar=/^[^\/()?;=#]+/;const Er=/^[^=?&#]+/;const Ir=/^[^&#]+/;class jr{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new ur([],{}):new ur([],this.parseChildren())}parseQueryParams(){const t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1)),(t.length>0||Object.keys(e).length>0)&&(r[Ve]=new ur(t,e)),r}parseSegment(){const t=Tr(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new n(4009,!1);return this.capture(t),new lr(wr(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const e=function(t){const e=t.match(Ar);return e?e[0]:""}(this.remaining);if(!e)return;this.capture(e);let r="";if(this.consumeOptional("=")){const t=Tr(this.remaining);t&&(r=t,this.capture(r))}t[wr(e)]=wr(r)}parseQueryParam(t){const e=function(t){const e=t.match(Er);return e?e[0]:""}(this.remaining);if(!e)return;this.capture(e);let r="";if(this.consumeOptional("=")){const t=function(t){const e=t.match(Ir);return e?e[0]:""}(this.remaining);t&&(r=t,this.capture(r))}const n=Cr(e),s=Cr(r);if(t.hasOwnProperty(n)){let e=t[n];Array.isArray(e)||(e=[e],t[n]=e),e.push(s)}else t[n]=s}parseParens(t){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const r=Tr(this.remaining),s=this.remaining[r.length];if("/"!==s&&")"!==s&&";"!==s)throw new n(4010,!1);let i;r.indexOf(":")>-1?(i=r.slice(0,r.indexOf(":")),this.capture(i),this.capture(":")):t&&(i=Ve);const o=this.parseChildren();e[i]=1===Object.keys(o).length?o[Ve]:new ur([],o),this.consumeOptional("//")}return e}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)}capture(t){if(!this.consumeOptional(t))throw new n(4011,!1)}}function Or(t){return t.segments.length>0?new ur([],{[Ve]:t}):t}function xr(t){const e={};for(const r of Object.keys(t.children)){const n=xr(t.children[r]);if(r===Ve&&0===n.segments.length&&n.hasChildren())for(const[t,r]of Object.entries(n.children))e[t]=r;else(n.segments.length>0||n.hasChildren())&&(e[r]=n)}return function(t){if(1===t.numberOfChildren&&t.children[Ve]){const e=t.children[Ve];return new ur(t.segments.concat(e.segments),e.children)}return t}(new ur(t.segments,e))}function Pr(t){return t instanceof cr}function _r(t,e,r=null,n=null){return Ur(kr(t),e,r,n)}function kr(t){let e;const r=function r(n){const s={};for(const t of n.children){const e=r(t);s[t.outlet]=e}const i=new ur(n.url,s);return n===t&&(e=i),i}(t.root),n=Or(r);return e??n}function Ur(t,e,r,s){let i=t;for(;i.parent;)i=i.parent;if(0===e.length)return Mr(i,i,i,r,s);const o=function(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new zr(!0,0,t);let e=0,r=!1;const n=t.reduce(((t,n,s)=>{if("object"==typeof n&&null!=n){if(n.outlets){const e={};return Object.entries(n.outlets).forEach((([t,r])=>{e[t]="string"==typeof r?r.split("/"):r})),[...t,{outlets:e}]}if(n.segmentPath)return[...t,n.segmentPath]}return"string"!=typeof n?[...t,n]:0===s?(n.split("/").forEach(((n,s)=>{0==s&&"."===n||(0==s&&""===n?r=!0:".."===n?e++:""!=n&&t.push(n))})),t):[...t,n]}),[]);return new zr(r,e,n)}(e);if(o.toRoot())return Mr(i,i,new ur([],{}),r,s);const a=function(t,e,r){if(t.isAbsolute)return new $r(e,!0,0);if(!r)return new $r(e,!1,NaN);if(null===r.parent)return new $r(r,!0,0);const s=Nr(t.commands[0])?0:1,i=r.segments.length-1+s;return function(t,e,r){let s=t,i=e,o=r;for(;o>i;){if(o-=i,s=s.parent,!s)throw new n(4005,!1);i=s.segments.length}return new $r(s,!1,i-o)}(r,i,t.numberOfDoubleDots)}(o,i,t),c=a.processChildren?qr(a.segmentGroup,a.index,o.commands):Hr(a.segmentGroup,a.index,o.commands);return Mr(i,a.segmentGroup,c,r,s)}function Nr(t){return"object"==typeof t&&null!=t&&!t.outlets&&!t.segmentPath}function Lr(t){return"object"==typeof t&&null!=t&&t.outlets}function Mr(t,e,r,n,s){let i,o={};n&&Object.entries(n).forEach((([t,e])=>{o[t]=Array.isArray(e)?e.map((t=>`${t}`)):`${e}`})),i=t===e?r:Dr(t,e,r);const a=Or(xr(i));return new cr(a,o,s)}function Dr(t,e,r){const n={};return Object.entries(t.children).forEach((([t,s])=>{n[t]=s===e?r:Dr(s,e,r)})),new ur(t.segments,n)}class zr{constructor(t,e,r){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=r,t&&r.length>0&&Nr(r[0]))throw new n(4003,!1);const s=r.find(Lr);if(s&&s!==tr(r))throw new n(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class $r{constructor(t,e,r){this.segmentGroup=t,this.processChildren=e,this.index=r}}function Hr(t,e,r){if(t||(t=new ur([],{})),0===t.segments.length&&t.hasChildren())return qr(t,e,r);const n=function(t,e,r){let n=0,s=e;const i={match:!1,pathIndex:0,commandIndex:0};for(;s<t.segments.length;){if(n>=r.length)return i;const e=t.segments[s],o=r[n];if(Lr(o))break;const a=`${o}`,c=n<r.length-1?r[n+1]:null;if(s>0&&void 0===a)break;if(a&&c&&"object"==typeof c&&void 0===c.outlets){if(!Gr(a,c,e))return i;n+=2}else{if(!Gr(a,{},e))return i;n++}s++}return{match:!0,pathIndex:s,commandIndex:n}}(t,e,r),s=r.slice(n.commandIndex);if(n.match&&n.pathIndex<t.segments.length){const e=new ur(t.segments.slice(0,n.pathIndex),{});return e.children[Ve]=new ur(t.segments.slice(n.pathIndex),t.children),qr(e,0,s)}return n.match&&0===s.length?new ur(t.segments,{}):n.match&&!t.hasChildren()?Fr(t,e,r):n.match?qr(t,0,s):Fr(t,e,r)}function qr(t,e,r){if(0===r.length)return new ur(t.segments,{});{const n=function(t){return Lr(t[0])?t[0].outlets:{[Ve]:t}}(r),s={};if(Object.keys(n).some((t=>t!==Ve))&&t.children[Ve]&&1===t.numberOfChildren&&0===t.children[Ve].segments.length){const n=qr(t.children[Ve],e,r);return new ur(t.segments,n.children)}return Object.entries(n).forEach((([r,n])=>{"string"==typeof n&&(n=[n]),null!==n&&(s[r]=Hr(t.children[r],e,n))})),Object.entries(t.children).forEach((([t,e])=>{void 0===n[t]&&(s[t]=e)})),new ur(t.segments,s)}}function Fr(t,e,r){const n=t.segments.slice(0,e);let s=0;for(;s<r.length;){const i=r[s];if(Lr(i)){const t=Br(i.outlets);return new ur(n,t)}if(0===s&&Nr(r[0])){const i=t.segments[e];n.push(new lr(i.path,Wr(r[0]))),s++;continue}const o=Lr(i)?i.outlets[Ve]:`${i}`,a=s<r.length-1?r[s+1]:null;o&&a&&Nr(a)?(n.push(new lr(o,Wr(a))),s+=2):(n.push(new lr(o,{})),s++)}return new ur(n,{})}function Br(t){const e={};return Object.entries(t).forEach((([t,r])=>{"string"==typeof r&&(r=[r]),null!==r&&(e[t]=Fr(new ur([],{}),0,r))})),e}function Wr(t){const e={};return Object.entries(t).forEach((([t,r])=>e[t]=`${r}`)),e}function Gr(t,e,r){return t==r.path&&Xe(e,r.parameters)}const Vr="imperative";class Zr{constructor(t,e){this.id=t,this.url=e}}t("RouterEvent",Zr);class Kr extends Zr{constructor(t,e,r="imperative",n=null){super(t,e),this.type=0,this.navigationTrigger=r,this.restoredState=n}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}t("NavigationStart",Kr);class Qr extends Zr{constructor(t,e,r){super(t,e),this.urlAfterRedirects=r,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}t("NavigationEnd",Qr);class Yr extends Zr{constructor(t,e,r,n){super(t,e),this.reason=r,this.code=n,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}t("NavigationCancel",Yr);class Xr extends Zr{constructor(t,e,r,n){super(t,e),this.reason=r,this.code=n,this.type=16}}t("NavigationSkipped",Xr);class Jr extends Zr{constructor(t,e,r,n){super(t,e),this.error=r,this.target=n,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}t("NavigationError",Jr);class tn extends Zr{constructor(t,e,r,n){super(t,e),this.urlAfterRedirects=r,this.state=n,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}t("RoutesRecognized",tn);class en extends Zr{constructor(t,e,r,n){super(t,e),this.urlAfterRedirects=r,this.state=n,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}t("GuardsCheckStart",en);class rn extends Zr{constructor(t,e,r,n,s){super(t,e),this.urlAfterRedirects=r,this.state=n,this.shouldActivate=s,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}t("GuardsCheckEnd",rn);class nn extends Zr{constructor(t,e,r,n){super(t,e),this.urlAfterRedirects=r,this.state=n,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}t("ResolveStart",nn);class sn extends Zr{constructor(t,e,r,n){super(t,e),this.urlAfterRedirects=r,this.state=n,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}t("ResolveEnd",sn);class on{constructor(t){this.route=t,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}t("RouteConfigLoadStart",on);class an{constructor(t){this.route=t,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}t("RouteConfigLoadEnd",an);class cn{constructor(t){this.snapshot=t,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}t("ChildActivationStart",cn);class un{constructor(t){this.snapshot=t,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}t("ChildActivationEnd",un);class ln{constructor(t){this.snapshot=t,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}t("ActivationStart",ln);class hn{constructor(t){this.snapshot=t,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}t("ActivationEnd",hn);class dn{constructor(t,e,r){this.routerEvent=t,this.position=e,this.anchor=r,this.type=15}toString(){const t=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${t}')`}}t("Scroll",dn);class pn{}class fn{constructor(t){this.url=t}}class gn{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new mn,this.attachRef=null}}t("OutletContext",gn);class mn{constructor(){this.contexts=new Map}onChildOutletCreated(t,e){const r=this.getOrCreateContext(t);r.outlet=e,this.contexts.set(t,r)}onChildOutletDestroyed(t){const e=this.getContext(t);e&&(e.outlet=null,e.attachRef=null)}onOutletDeactivated(){const t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let e=this.getContext(t);return e||(e=new gn,this.contexts.set(t,e)),e}getContext(t){return this.contexts.get(t)||null}static{this.\u0275fac=function(t){return new(t||mn)}}static{this.\u0275prov=e.\u0275\u0275defineInjectable({token:mn,factory:mn.\u0275fac,providedIn:"root"})}}t("ChildrenOutletContexts",mn);class vn{constructor(t){this._root=t}get root(){return this._root.value}parent(t){const e=this.pathFromRoot(t);return e.length>1?e[e.length-2]:null}children(t){const e=Sn(t,this._root);return e?e.children.map((t=>t.value)):[]}firstChild(t){const e=Sn(t,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(t){const e=yn(t,this._root);if(e.length<2)return[];return e[e.length-2].children.map((t=>t.value)).filter((e=>e!==t))}pathFromRoot(t){return yn(t,this._root).map((t=>t.value))}}function Sn(t,e){if(t===e.value)return e;for(const r of e.children){const e=Sn(t,r);if(e)return e}return null}function yn(t,e){if(t===e.value)return[e];for(const r of e.children){const n=yn(t,r);if(n.length)return n.unshift(e),n}return[]}class wn{constructor(t,e){this.value=t,this.children=e}toString(){return`TreeNode(${this.value})`}}function Cn(t){const e={};return t&&t.children.forEach((t=>e[t.value.outlet]=t)),e}class bn extends vn{constructor(t,e){super(t),this.snapshot=e,jn(this,t)}toString(){return this.snapshot.toString()}}function Rn(t,e){const r=function(t,e){const r={},n={},s={},i="",o=new En([],r,s,i,n,Ve,e,null,{});return new In("",new wn(o,[]))}(0,e),n=new ht([new lr("",{})]),s=new ht({}),i=new ht({}),o=new ht({}),a=new ht(""),c=new Tn(n,s,o,a,i,Ve,e,r.root);return c.snapshot=r.root,new bn(new wn(c,[]),r)}t("RouterState",bn);class Tn{constructor(t,e,r,n,s,i,o,a){this.urlSubject=t,this.paramsSubject=e,this.queryParamsSubject=r,this.fragmentSubject=n,this.dataSubject=s,this.outlet=i,this.component=o,this._futureSnapshot=a,this.title=this.dataSubject?.pipe(Mt((t=>t[Ze])))??at(void 0),this.url=t,this.params=e,this.queryParams=r,this.fragment=n,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._paramMap=this.params.pipe(Mt((t=>Qe(t))))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(Mt((t=>Qe(t))))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function An(t,e="emptyOnly"){const r=t.pathFromRoot;let n=0;if("always"!==e)for(n=r.length-1;n>=1;){const t=r[n],e=r[n-1];if(t.routeConfig&&""===t.routeConfig.path)n--;else{if(e.component)break;n--}}return function(t){return t.reduce(((t,e)=>({params:{...t.params,...e.params},data:{...t.data,...e.data},resolve:{...e.data,...t.resolve,...e.routeConfig?.data,...e._resolvedData}})),{params:{},data:{},resolve:{}})}(r.slice(n))}t("ActivatedRoute",Tn);class En{get title(){return this.data?.[Ze]}constructor(t,e,r,n,s,i,o,a,c){this.url=t,this.params=e,this.queryParams=r,this.fragment=n,this.data=s,this.outlet=i,this.component=o,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||(this._paramMap=Qe(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Qe(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map((t=>t.toString())).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}t("ActivatedRouteSnapshot",En);class In extends vn{constructor(t,e){super(e),this.url=t,jn(this,e)}toString(){return On(this._root)}}function jn(t,e){e.value._routerState=t,e.children.forEach((e=>jn(t,e)))}function On(t){const e=t.children.length>0?` { ${t.children.map(On).join(", ")} } `:"";return`${t.value}${e}`}function xn(t){if(t.snapshot){const e=t.snapshot,r=t._futureSnapshot;t.snapshot=r,Xe(e.queryParams,r.queryParams)||t.queryParamsSubject.next(r.queryParams),e.fragment!==r.fragment&&t.fragmentSubject.next(r.fragment),Xe(e.params,r.params)||t.paramsSubject.next(r.params),function(t,e){if(t.length!==e.length)return!1;for(let r=0;r<t.length;++r)if(!Xe(t[r],e[r]))return!1;return!0}(e.url,r.url)||t.urlSubject.next(r.url),Xe(e.data,r.data)||t.dataSubject.next(r.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function Pn(t,e){const r=Xe(t.params,e.params)&&(n=t.url,s=e.url,hr(n,s)&&n.every(((t,e)=>Xe(t.parameters,s[e].parameters))));var n,s;const i=!t.parent!=!e.parent;return r&&!i&&(!t.parent||Pn(t.parent,e.parent))}t("RouterStateSnapshot",In);class _n{constructor(){this.activated=null,this._activatedRoute=null,this.name=Ve,this.activateEvents=new z,this.deactivateEvents=new z,this.attachEvents=new z,this.detachEvents=new z,this.parentContexts=$(mn),this.location=$(H),this.changeDetector=$(q),this.environmentInjector=$(F),this.inputBinder=$(Un,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(t){if(t.name){const{firstChange:e,previousValue:r}=t.name;if(e)return;this.isTrackedInParentContexts(r)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(r)),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;const 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 n(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new n(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new n(4012,!1);this.location.detach();const t=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(t.instance),t}attach(t,e){this.activated=t,this._activatedRoute=e,this.location.insert(t.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(t.instance)}deactivate(){if(this.activated){const t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,e){if(this.isActivated)throw new n(4013,!1);this._activatedRoute=t;const r=this.location,s=t.snapshot.component,i=this.parentContexts.getOrCreateContext(this.name).children,o=new kn(t,i,r.injector);this.activated=r.createComponent(s,{index:r.length,injector:o,environmentInjector:e??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static{this.\u0275fac=function(t){return new(t||_n)}}static{this.\u0275dir=e.\u0275\u0275defineDirective({type:_n,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[e.\u0275\u0275NgOnChangesFeature]})}}t("RouterOutlet",_n);class kn{constructor(t,e,r){this.route=t,this.childContexts=e,this.parent=r}get(t,e){return t===Tn?this.route:t===mn?this.childContexts:this.parent.get(t,e)}}const Un=new r("");class Nn{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){const{activatedRoute:e}=t,r=ot([e.queryParams,e.params,e.data]).pipe(Lt((([t,e,r],n)=>(r={...t,...e,...r},0===n?at(r):Promise.resolve(r))))).subscribe((r=>{if(!t.isActivated||!t.activatedComponentRef||t.activatedRoute!==e||null===e.component)return void this.unsubscribeFromRouteData(t);const n=B(e.component);if(n)for(const{templateName:e}of n.inputs)t.activatedComponentRef.setInput(e,r[e]);else this.unsubscribeFromRouteData(t)}));this.outletDataSubscriptions.set(t,r)}static{this.\u0275fac=function(t){return new(t||Nn)}}static{this.\u0275prov=e.\u0275\u0275defineInjectable({token:Nn,factory:Nn.\u0275fac})}}function Ln(t,e,r){if(r&&t.shouldReuseRoute(e.value,r.value.snapshot)){const n=r.value;n._futureSnapshot=e.value;const s=function(t,e,r){return e.children.map((e=>{for(const n of r.children)if(t.shouldReuseRoute(e.value,n.value.snapshot))return Ln(t,e,n);return Ln(t,e)}))}(t,e,r);return new wn(n,s)}{if(t.shouldAttach(e.value)){const r=t.retrieve(e.value);if(null!==r){const n=r.route;return n.value._futureSnapshot=e.value,n.children=e.children.map((e=>Ln(t,e))),n}}const r=(n=e.value,new Tn(new ht(n.url),new ht(n.params),new ht(n.queryParams),new ht(n.fragment),new ht(n.data),n.outlet,n.component,n)),s=e.children.map((e=>Ln(t,e)));return new wn(r,s)}var n}const Mn="ngNavigationCancelingError";function Dn(t,e){const{redirectTo:r,navigationBehaviorOptions:n}=Pr(e)?{redirectTo:e,navigationBehaviorOptions:void 0}:e,s=zn(!1,0,e);return s.url=r,s.navigationBehaviorOptions=n,s}function zn(t,e,r){const n=new Error("NavigationCancelingError: "+(t||""));return n[Mn]=!0,n.cancellationCode=e,r&&(n.url=r),n}function $n(t){return t&&t[Mn]}class Hn{static{this.\u0275fac=function(t){return new(t||Hn)}}static{this.\u0275cmp=e.\u0275\u0275defineComponent({type:Hn,selectors:[["ng-component"]],standalone:!0,features:[e.\u0275\u0275StandaloneFeature],decls:1,vars:0,template:function(t,r){1&t&&e.\u0275\u0275element(0,"router-outlet")},dependencies:[_n],encapsulation:2})}}function qn(t){const e=t.children&&t.children.map(qn),r=e?{...t,children:e}:{...t};return r.component||r.loadComponent||!e&&!r.loadChildren||!r.outlet||r.outlet===Ve||(r.component=Hn),r}function Fn(t){return t.outlet||Ve}function Bn(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let e=t.parent;e;e=e.parent){const t=e.routeConfig;if(t?._loadedInjector)return t._loadedInjector;if(t?._injector)return t._injector}return null}t("\u0275EmptyOutletComponent",Hn);class Wn{constructor(t,e,r,n,s){this.routeReuseStrategy=t,this.futureState=e,this.currState=r,this.forwardEvent=n,this.inputBindingEnabled=s}activate(t){const e=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,r,t),xn(this.futureState.root),this.activateChildRoutes(e,r,t)}deactivateChildRoutes(t,e,r){const n=Cn(e);t.children.forEach((t=>{const e=t.value.outlet;this.deactivateRoutes(t,n[e],r),delete n[e]})),Object.values(n).forEach((t=>{this.deactivateRouteAndItsChildren(t,r)}))}deactivateRoutes(t,e,r){const n=t.value,s=e?e.value:null;if(n===s)if(n.component){const s=r.getContext(n.outlet);s&&this.deactivateChildRoutes(t,e,s.children)}else this.deactivateChildRoutes(t,e,r);else s&&this.deactivateRouteAndItsChildren(e,r)}deactivateRouteAndItsChildren(t,e){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,e):this.deactivateRouteAndOutlet(t,e)}detachAndStoreRouteSubtree(t,e){const r=e.getContext(t.value.outlet),n=r&&t.value.component?r.children:e,s=Cn(t);for(const t of Object.keys(s))this.deactivateRouteAndItsChildren(s[t],n);if(r&&r.outlet){const e=r.outlet.detach(),n=r.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:e,route:t,contexts:n})}}deactivateRouteAndOutlet(t,e){const r=e.getContext(t.value.outlet),n=r&&t.value.component?r.children:e,s=Cn(t);for(const t of Object.keys(s))this.deactivateRouteAndItsChildren(s[t],n);r&&(r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated()),r.attachRef=null,r.route=null)}activateChildRoutes(t,e,r){const n=Cn(e);t.children.forEach((t=>{this.activateRoutes(t,n[t.value.outlet],r),this.forwardEvent(new hn(t.value.snapshot))})),t.children.length&&this.forwardEvent(new un(t.value.snapshot))}activateRoutes(t,e,r){const n=t.value,s=e?e.value:null;if(xn(n),n===s)if(n.component){const s=r.getOrCreateContext(n.outlet);this.activateChildRoutes(t,e,s.children)}else this.activateChildRoutes(t,e,r);else if(n.component){const e=r.getOrCreateContext(n.outlet);if(this.routeReuseStrategy.shouldAttach(n.snapshot)){const r=this.routeReuseStrategy.retrieve(n.snapshot);this.routeReuseStrategy.store(n.snapshot,null),e.children.onOutletReAttached(r.contexts),e.attachRef=r.componentRef,e.route=r.route.value,e.outlet&&e.outlet.attach(r.componentRef,r.route.value),xn(r.route.value),this.activateChildRoutes(t,null,e.children)}else{const r=Bn(n.snapshot);e.attachRef=null,e.route=n,e.injector=r,e.outlet&&e.outlet.activateWith(n,e.injector),this.activateChildRoutes(t,null,e.children)}}else this.activateChildRoutes(t,null,r)}}class Gn{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class Vn{constructor(t,e){this.component=t,this.route=e}}function Zn(t,e,r){const n=t._root;return Qn(n,e?e._root:null,r,[n.value])}function Kn(t,e){const r=Symbol(),n=e.get(t,r);return n===r?"function"!=typeof t||nt(t)?e.get(t):t:n}function Qn(t,e,r,n,s={canDeactivateChecks:[],canActivateChecks:[]}){const i=Cn(e);return t.children.forEach((t=>{!function(t,e,r,n,s={canDeactivateChecks:[],canActivateChecks:[]}){const i=t.value,o=e?e.value:null,a=r?r.getContext(t.value.outlet):null;if(o&&i.routeConfig===o.routeConfig){const c=function(t,e,r){if("function"==typeof r)return r(t,e);switch(r){case"pathParamsChange":return!hr(t.url,e.url);case"pathParamsOrQueryParamsChange":return!hr(t.url,e.url)||!Xe(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Pn(t,e)||!Xe(t.queryParams,e.queryParams);default:return!Pn(t,e)}}(o,i,i.routeConfig.runGuardsAndResolvers);c?s.canActivateChecks.push(new Gn(n)):(i.data=o.data,i._resolvedData=o._resolvedData),i.component?Qn(t,e,a?a.children:null,n,s):Qn(t,e,r,n,s),c&&a&&a.outlet&&a.outlet.isActivated&&s.canDeactivateChecks.push(new Vn(a.outlet.component,o))}else o&&Yn(e,a,s),s.canActivateChecks.push(new Gn(n)),i.component?Qn(t,null,a?a.children:null,n,s):Qn(t,null,r,n,s)}(t,i[t.value.outlet],r,n.concat([t.value]),s),delete i[t.value.outlet]})),Object.entries(i).forEach((([t,e])=>Yn(e,r.getContext(t),s))),s}function Yn(t,e,r){const n=Cn(t),s=t.value;Object.entries(n).forEach((([t,n])=>{s.component?Yn(n,e?e.children.getContext(t):null,r):Yn(n,e,r)})),s.component&&e&&e.outlet&&e.outlet.isActivated?r.canDeactivateChecks.push(new Vn(e.outlet.component,s)):r.canDeactivateChecks.push(new Vn(null,s))}function Xn(t){return"function"==typeof t}function Jn(t){return t instanceof St||"EmptyError"===t?.name}const ts=Symbol("INITIAL_VALUE");function es(){return Lt((t=>ot(t.map((t=>t.pipe(Ft(1),Qt(ts))))).pipe(Mt((t=>{for(const e of t)if(!0!==e){if(e===ts)return ts;if(!1===e||e instanceof cr)return e}return!0})),qt((t=>t!==ts)),Ft(1))))}function rs(t,e){return Ht((r=>{const{targetSnapshot:n,currentSnapshot:s,guards:{canActivateChecks:i,canDeactivateChecks:o}}=r;return 0===o.length&&0===i.length?at({...r,guardsResult:!0}):function(t,e,r,n){return lt(t).pipe(Ht((t=>function(t,e,r,n,s){const i=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!i||0===i.length)return at(!0);const o=i.map((i=>{const o=Bn(e)??s,a=Kn(i,o);return er(function(t){return t&&Xn(t.canDeactivate)}(a)?a.canDeactivate(t,e,r,n):o.runInContext((()=>a(t,e,r,n)))).pipe(Zt())}));return at(o).pipe(es())}(t.component,t.route,r,e,n))),Zt((t=>!0!==t),!0))}(o,n,s,t).pipe(Ht((r=>r&&"boolean"==typeof r?function(t,e,r,n){return lt(e).pipe(Vt((e=>gt(function(t,e){null!==t&&e&&e(new cn(t));return at(!0)}(e.route.parent,n),function(t,e){null!==t&&e&&e(new ln(t));return at(!0)}(e.route,n),function(t,e,r){const n=e[e.length-1],s=e.slice(0,e.length-1).reverse().map((t=>function(t){const e=t.routeConfig?t.routeConfig.canActivateChild:null;return e&&0!==e.length?{node:t,guards:e}:null}(t))).filter((t=>null!==t)).map((e=>mt((()=>{const s=e.guards.map((s=>{const i=Bn(e.node)??r,o=Kn(s,i);return er(function(t){return t&&Xn(t.canActivateChild)}(o)?o.canActivateChild(n,t):i.runInContext((()=>o(n,t)))).pipe(Zt())}));return at(s).pipe(es())}))));return at(s).pipe(es())}(t,e.path,r),function(t,e,r){const n=e.routeConfig?e.routeConfig.canActivate:null;if(!n||0===n.length)return at(!0);const s=n.map((n=>mt((()=>{const s=Bn(e)??r,i=Kn(n,s);return er(function(t){return t&&Xn(t.canActivate)}(i)?i.canActivate(e,t):s.runInContext((()=>i(e,t)))).pipe(Zt())}))));return at(s).pipe(es())}(t,e.route,r)))),Zt((t=>!0!==t),!0))}(n,i,t,e):at(r))),Mt((t=>({...r,guardsResult:t}))))}))}function ns(t,e,r,n){const s=e.canLoad;if(void 0===s||0===s.length)return at(!0);const i=s.map((n=>{const s=Kn(n,t);return er(function(t){return t&&Xn(t.canLoad)}(s)?s.canLoad(e,r):t.runInContext((()=>s(e,r))))}));return at(i).pipe(es(),ss(n))}function ss(t){return yt(Dt((t=>{if(Pr(t))throw Dn(0,t)})),Mt((t=>!0===t)))}function is(t,e,r,n){const s=e.canMatch;if(!s||0===s.length)return at(!0);const i=s.map((n=>{const s=Kn(n,t);return er(function(t){return t&&Xn(t.canMatch)}(s)?s.canMatch(e,r):t.runInContext((()=>s(e,r))))}));return at(i).pipe(es(),ss())}class os{constructor(t){this.segmentGroup=t||null}}class as{constructor(t){this.urlTree=t}}function cs(t){return vt(new os(t))}function us(t){return vt(new as(t))}class ls{constructor(t,e){this.urlSerializer=t,this.urlTree=e}noMatchError(t){return new n(4002,!1)}lineralizeSegments(t,e){let r=[],s=e.root;for(;;){if(r=r.concat(s.segments),0===s.numberOfChildren)return at(r);if(s.numberOfChildren>1||!s.children[Ve])return t.redirectTo,vt(new n(4e3,!1));s=s.children[Ve]}}applyRedirectCommands(t,e,r){return this.applyRedirectCreateUrlTree(e,this.urlSerializer.parse(e),t,r)}applyRedirectCreateUrlTree(t,e,r,n){const s=this.createSegmentGroup(t,e.root,r,n);return new cr(s,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(t,e){const r={};return Object.entries(t).forEach((([t,n])=>{if("string"==typeof n&&n.startsWith(":")){const s=n.substring(1);r[t]=e[s]}else r[t]=n})),r}createSegmentGroup(t,e,r,n){const s=this.createSegments(t,e.segments,r,n);let i={};return Object.entries(e.children).forEach((([e,s])=>{i[e]=this.createSegmentGroup(t,s,r,n)})),new ur(s,i)}createSegments(t,e,r,n){return e.map((e=>e.path.startsWith(":")?this.findPosParam(t,e,n):this.findOrReturn(e,r)))}findPosParam(t,e,r){const s=r[e.path.substring(1)];if(!s)throw new n(4001,!1);return s}findOrReturn(t,e){let r=0;for(const n of e){if(n.path===t.path)return e.splice(r),n;r++}return t}}const hs={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function ds(t,e,r,n,s){const i=ps(t,e,r);return i.matched?(n=function(t,e){return t.providers&&!t._injector&&(t._injector=Q(t.providers,e,`Route: ${t.path}`)),t._injector??e}(e,n),is(n,e,r).pipe(Mt((t=>!0===t?i:{...hs})))):at(i)}function ps(t,e,r){if(""===e.path)return"full"===e.pathMatch&&(t.hasChildren()||r.length>0)?{...hs}:{matched:!0,consumedSegments:[],remainingSegments:r,parameters:{},positionalParamSegments:{}};const n=(e.matcher||Ye)(r,t,e);if(!n)return{...hs};const s={};Object.entries(n.posParams??{}).forEach((([t,e])=>{s[t]=e.path}));const i=n.consumed.length>0?{...s,...n.consumed[n.consumed.length-1].parameters}:s;return{matched:!0,consumedSegments:n.consumed,remainingSegments:r.slice(n.consumed.length),parameters:i,positionalParamSegments:n.posParams??{}}}function fs(t,e,r,n){if(r.length>0&&function(t,e,r){return r.some((r=>gs(t,e,r)&&Fn(r)!==Ve))}(t,r,n)){return{segmentGroup:new ur(e,function(t,e){const r={};r[Ve]=e;for(const e of t)if(""===e.path&&Fn(e)!==Ve){const t=new ur([],{});r[Fn(e)]=t}return r}(n,new ur(r,t.children))),slicedSegments:[]}}if(0===r.length&&function(t,e,r){return r.some((r=>gs(t,e,r)))}(t,r,n)){const e=new ur(t.segments,function(t,e,r,n,s){const i={};for(const e of n)if(gs(t,r,e)&&!s[Fn(e)]){const t=new ur([],{});i[Fn(e)]=t}return{...s,...i}}(t,0,r,n,t.children));return{segmentGroup:e,slicedSegments:r}}return{segmentGroup:new ur(t.segments,t.children),slicedSegments:r}}function gs(t,e,r){return(!(t.hasChildren()||e.length>0)||"full"!==r.pathMatch)&&""===r.path}class ms{constructor(t,e,r,n,s,i,o){this.injector=t,this.configLoader=e,this.rootComponentType=r,this.config=n,this.urlTree=s,this.paramsInheritanceStrategy=i,this.urlSerializer=o,this.allowRedirects=!0,this.applyRedirects=new ls(this.urlSerializer,this.urlTree)}noMatchError(t){return new n(4002,!1)}recognize(){const t=fs(this.urlTree.root,[],[],this.config).segmentGroup;return this.processSegmentGroup(this.injector,this.config,t,Ve).pipe(Wt((t=>{if(t instanceof as)return this.allowRedirects=!1,this.urlTree=t.urlTree,this.match(t.urlTree);if(t instanceof os)throw this.noMatchError(t);throw t})),Mt((t=>{const e=new En([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},Ve,this.rootComponentType,null,{}),r=new wn(e,t),n=new In("",r),s=_r(e,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,n.url=this.urlSerializer.serialize(s),this.inheritParamsAndData(n._root),{state:n,tree:s}})))}match(t){return this.processSegmentGroup(this.injector,this.config,t.root,Ve).pipe(Wt((t=>{if(t instanceof os)throw this.noMatchError(t);throw t})))}inheritParamsAndData(t){const e=t.value,r=An(e,this.paramsInheritanceStrategy);e.params=Object.freeze(r.params),e.data=Object.freeze(r.data),t.children.forEach((t=>this.inheritParamsAndData(t)))}processSegmentGroup(t,e,r,n){return 0===r.segments.length&&r.hasChildren()?this.processChildren(t,e,r):this.processSegment(t,e,r,r.segments,n,!0)}processChildren(t,e,r){const n=[];for(const t of Object.keys(r.children))"primary"===t?n.unshift(t):n.push(t);return lt(n).pipe(Vt((n=>{const s=r.children[n],i=function(t,e){const r=t.filter((t=>Fn(t)===e));return r.push(...t.filter((t=>Fn(t)!==e))),r}(e,n);return this.processSegmentGroup(t,i,s,n)})),Yt(((t,e)=>(t.push(...e),t))),Kt(null),Xt(),Ht((t=>{if(null===t)return cs(r);const e=Ss(t);return e.sort(((t,e)=>t.value.outlet===Ve?-1:e.value.outlet===Ve?1:t.value.outlet.localeCompare(e.value.outlet))),at(e)})))}processSegment(t,e,r,n,s,i){return lt(e).pipe(Vt((o=>this.processSegmentAgainstRoute(o._injector??t,e,o,r,n,s,i).pipe(Wt((t=>{if(t instanceof os)return at(null);throw t}))))),Zt((t=>!!t)),Wt((t=>{if(Jn(t))return function(t,e,r){return 0===e.length&&!t.children[r]}(r,n,s)?at([]):cs(r);throw t})))}processSegmentAgainstRoute(t,e,r,n,s,i,o){return function(t,e,r,n){return!!(Fn(t)===n||n!==Ve&&gs(e,r,t))&&("**"===t.path||ps(e,t,r).matched)}(r,n,s,i)?void 0===r.redirectTo?this.matchSegmentAgainstRoute(t,n,r,s,i,o):o&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,n,e,r,s,i):cs(n):cs(n)}expandSegmentAgainstRouteUsingRedirect(t,e,r,n,s,i){return"**"===n.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,r,n,i):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,r,n,s,i)}expandWildCardWithParamsAgainstRouteUsingRedirect(t,e,r,n){const s=this.applyRedirects.applyRedirectCommands([],r.redirectTo,{});return r.redirectTo.startsWith("/")?us(s):this.applyRedirects.lineralizeSegments(r,s).pipe(Ht((r=>{const s=new ur(r,{});return this.processSegment(t,e,s,r,n,!1)})))}expandRegularSegmentAgainstRouteUsingRedirect(t,e,r,n,s,i){const{matched:o,consumedSegments:a,remainingSegments:c,positionalParamSegments:u}=ps(e,n,s);if(!o)return cs(e);const l=this.applyRedirects.applyRedirectCommands(a,n.redirectTo,u);return n.redirectTo.startsWith("/")?us(l):this.applyRedirects.lineralizeSegments(n,l).pipe(Ht((n=>this.processSegment(t,r,e,n.concat(c),i,!1))))}matchSegmentAgainstRoute(t,e,r,n,s,i){let o;if("**"===r.path){const t=n.length>0?tr(n).parameters:{},s=new En(n,t,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,ys(r),Fn(r),r.component??r._loadedComponent??null,r,ws(r));o=at({snapshot:s,consumedSegments:[],remainingSegments:[]}),e.children={}}else o=ds(e,r,n,t,this.urlSerializer).pipe(Mt((({matched:t,consumedSegments:e,remainingSegments:n,parameters:s})=>{if(!t)return null;return{snapshot:new En(e,s,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,ys(r),Fn(r),r.component??r._loadedComponent??null,r,ws(r)),consumedSegments:e,remainingSegments:n}})));return o.pipe(Lt((i=>null===i?cs(e):(t=r._injector??t,this.getChildConfig(t,r,n).pipe(Lt((({routes:n})=>{const o=r._loadedInjector??t,{snapshot:a,consumedSegments:c,remainingSegments:u}=i,{segmentGroup:l,slicedSegments:h}=fs(e,c,u,n);if(0===h.length&&l.hasChildren())return this.processChildren(o,n,l).pipe(Mt((t=>null===t?null:[new wn(a,t)])));if(0===n.length&&0===h.length)return at([new wn(a,[])]);const d=Fn(r)===s;return this.processSegment(o,n,l,h,d?Ve:s,!0).pipe(Mt((t=>[new wn(a,t)])))})))))))}getChildConfig(t,e,r){return e.children?at({routes:e.children,injector:t}):e.loadChildren?void 0!==e._loadedRoutes?at({routes:e._loadedRoutes,injector:e._loadedInjector}):ns(t,e,r,this.urlSerializer).pipe(Ht((r=>r?this.configLoader.loadChildren(t,e).pipe(Dt((t=>{e._loadedRoutes=t.routes,e._loadedInjector=t.injector}))):vt(zn(!1,3))))):at({routes:[],injector:t})}}function vs(t){const e=t.value.routeConfig;return e&&""===e.path}function Ss(t){const e=[],r=new Set;for(const n of t){if(!vs(n)){e.push(n);continue}const t=e.find((t=>n.value.routeConfig===t.value.routeConfig));void 0!==t?(t.children.push(...n.children),r.add(t)):e.push(n)}for(const t of r){const r=Ss(t.children);e.push(new wn(t.value,r))}return e.filter((t=>!r.has(t)))}function ys(t){return t.data||{}}function ws(t){return t.resolve||{}}function Cs(t,e,r,n,s,i){return Ht((o=>function(t,e,r,n,s,i,o="emptyOnly"){return new ms(t,e,r,n,s,o,i).recognize()}(t,e,r,n,o.extractedUrl,s,i).pipe(Mt((({state:t,tree:e})=>({...o,targetSnapshot:t,urlAfterRedirects:e}))))))}function bs(t,e){return Ht((r=>{const{targetSnapshot:n,guards:{canActivateChecks:s}}=r;if(!s.length)return at(r);let i=0;return lt(s).pipe(Vt((r=>function(t,e,r,n){const s=t.routeConfig,i=t._resolve;void 0===s?.title||Rs(s)||(i[Ze]=s.title);return function(t,e,r,n){const s=(i=t,[...Object.keys(i),...Object.getOwnPropertySymbols(i)]);var i;if(0===s.length)return at({});const o={};return lt(s).pipe(Ht((s=>function(t,e,r,n){const s=Bn(e)??n,i=Kn(t,s),o=i.resolve?i.resolve(e,r):s.runInContext((()=>i(e,r)));return er(o)}(t[s],e,r,n).pipe(Zt(),Dt((t=>{o[s]=t}))))),Jt(1),te(o),Wt((t=>Jn(t)?dt:vt(t))))}(i,t,e,n).pipe(Mt((e=>(t._resolvedData=e,t.data=An(t,r).resolve,s&&Rs(s)&&(t.data[Ze]=s.title),null))))}(r.route,n,t,e))),Dt((()=>i++)),Jt(1),Ht((t=>i===s.length?at(r):dt)))}))}function Rs(t){return"string"==typeof t.title||null===t.title}function Ts(t){return Lt((e=>{const r=t(e);return r?lt(r).pipe(Mt((()=>e))):at(e)}))}const As=t("ROUTES",new r("ROUTES"));class Es{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=$(W)}loadComponent(t){if(this.componentLoaders.get(t))return this.componentLoaders.get(t);if(t._loadedComponent)return at(t._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(t);const e=er(t.loadComponent()).pipe(Mt(js),Dt((e=>{this.onLoadEndListener&&this.onLoadEndListener(t),t._loadedComponent=e})),zt((()=>{this.componentLoaders.delete(t)}))),r=new ct(e,(()=>new ut)).pipe($t());return this.componentLoaders.set(t,r),r}loadChildren(t,e){if(this.childrenLoaders.get(e))return this.childrenLoaders.get(e);if(e._loadedRoutes)return at({routes:e._loadedRoutes,injector:e._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(e);const r=Is(e,this.compiler,t,this.onLoadEndListener).pipe(zt((()=>{this.childrenLoaders.delete(e)}))),n=new ct(r,(()=>new ut)).pipe($t());return this.childrenLoaders.set(e,n),n}static{this.\u0275fac=function(t){return new(t||Es)}}static{this.\u0275prov=e.\u0275\u0275defineInjectable({token:Es,factory:Es.\u0275fac,providedIn:"root"})}}function Is(t,e,r,n){return er(t.loadChildren()).pipe(Mt(js),Ht((t=>t instanceof G||Array.isArray(t)?at(t):lt(e.compileModuleAsync(t)))),Mt((e=>{let s,i;n&&n(t);let o=!1;Array.isArray(e)?(i=e,o=!0):(s=e.create(r).injector,i=s.get(As,[],{optional:!0,self:!0}).flat());const a=i.map(qn);return{routes:a,injector:s}})))}function js(t){return(e=t)&&"object"==typeof e&&"default"in e?t.default:t;var e}class Os{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new ut,this.transitionAbortSubject=new ut,this.configLoader=$(Es),this.environmentInjector=$(F),this.urlSerializer=$(dr),this.rootContexts=$(mn),this.inputBindingEnabled=null!==$(Un,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>at(void 0),this.rootComponentType=null;this.configLoader.onLoadEndListener=t=>this.events.next(new an(t)),this.configLoader.onLoadStartListener=t=>this.events.next(new on(t))}complete(){this.transitions?.complete()}handleNavigationRequest(t){const e=++this.navigationId;this.transitions?.next({...this.transitions.value,...t,id:e})}setupNavigations(t,e,r){return this.transitions=new ht({id:0,currentUrlTree:e,currentRawUrl:e,currentBrowserUrl:e,extractedUrl:t.urlHandlingStrategy.extract(e),urlAfterRedirects:t.urlHandlingStrategy.extract(e),rawUrl:e,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:Vr,restoredState:null,currentSnapshot:r.snapshot,targetSnapshot:null,currentRouterState:r,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(qt((t=>0!==t.id)),Mt((e=>({...e,extractedUrl:t.urlHandlingStrategy.extract(e.rawUrl)}))),Lt((e=>{this.currentTransition=e;let r=!1,n=!1;return at(e).pipe(Dt((t=>{this.currentNavigation={id:t.id,initialUrl:t.rawUrl,extractedUrl:t.extractedUrl,trigger:t.source,extras:t.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}})),Lt((r=>{const n=r.currentBrowserUrl.toString(),s=!t.navigated||r.extractedUrl.toString()!==n||n!==r.currentUrlTree.toString(),i=r.extras.onSameUrlNavigation??t.onSameUrlNavigation;if(!s&&"reload"!==i){const t="";return this.events.next(new Xr(r.id,this.urlSerializer.serialize(r.rawUrl),t,0)),r.resolve(null),dt}if(t.urlHandlingStrategy.shouldProcessUrl(r.rawUrl))return at(r).pipe(Lt((t=>{const e=this.transitions?.getValue();return this.events.next(new Kr(t.id,this.urlSerializer.serialize(t.extractedUrl),t.source,t.restoredState)),e!==this.transitions?.getValue()?dt:Promise.resolve(t)})),Cs(this.environmentInjector,this.configLoader,this.rootComponentType,t.config,this.urlSerializer,t.paramsInheritanceStrategy),Dt((t=>{e.targetSnapshot=t.targetSnapshot,e.urlAfterRedirects=t.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:t.urlAfterRedirects};const r=new tn(t.id,this.urlSerializer.serialize(t.extractedUrl),this.urlSerializer.serialize(t.urlAfterRedirects),t.targetSnapshot);this.events.next(r)})));if(s&&t.urlHandlingStrategy.shouldProcessUrl(r.currentRawUrl)){const{id:t,extractedUrl:n,source:s,restoredState:i,extras:o}=r,a=new Kr(t,this.urlSerializer.serialize(n),s,i);this.events.next(a);const c=Rn(0,this.rootComponentType).snapshot;return this.currentTransition=e={...r,targetSnapshot:c,urlAfterRedirects:n,extras:{...o,skipLocationChange:!1,replaceUrl:!1}},at(e)}{const t="";return this.events.next(new Xr(r.id,this.urlSerializer.serialize(r.extractedUrl),t,1)),r.resolve(null),dt}})),Dt((t=>{const e=new en(t.id,this.urlSerializer.serialize(t.extractedUrl),this.urlSerializer.serialize(t.urlAfterRedirects),t.targetSnapshot);this.events.next(e)})),Mt((t=>(this.currentTransition=e={...t,guards:Zn(t.targetSnapshot,t.currentSnapshot,this.rootContexts)},e))),rs(this.environmentInjector,(t=>this.events.next(t))),Dt((t=>{if(e.guardsResult=t.guardsResult,Pr(t.guardsResult))throw Dn(this.urlSerializer,t.guardsResult);const r=new rn(t.id,this.urlSerializer.serialize(t.extractedUrl),this.urlSerializer.serialize(t.urlAfterRedirects),t.targetSnapshot,!!t.guardsResult);this.events.next(r)})),qt((t=>!!t.guardsResult||(this.cancelNavigationTransition(t,"",3),!1))),Ts((e=>{if(e.guards.canActivateChecks.length)return at(e).pipe(Dt((t=>{const e=new nn(t.id,this.urlSerializer.serialize(t.extractedUrl),this.urlSerializer.serialize(t.urlAfterRedirects),t.targetSnapshot);this.events.next(e)})),Lt((e=>{let r=!1;return at(e).pipe(bs(t.paramsInheritanceStrategy,this.environmentInjector),Dt({next:()=>r=!0,complete:()=>{r||this.cancelNavigationTransition(e,"",2)}}))})),Dt((t=>{const e=new sn(t.id,this.urlSerializer.serialize(t.extractedUrl),this.urlSerializer.serialize(t.urlAfterRedirects),t.targetSnapshot);this.events.next(e)})))})),Ts((t=>{const e=t=>{const r=[];t.routeConfig?.loadComponent&&!t.routeConfig._loadedComponent&&r.push(this.configLoader.loadComponent(t.routeConfig).pipe(Dt((e=>{t.component=e})),Mt((()=>{}))));for(const n of t.children)r.push(...e(n));return r};return ot(e(t.targetSnapshot.root)).pipe(Kt(),Ft(1))})),Ts((()=>this.afterPreactivation())),Mt((r=>{const n=function(t,e,r){const n=Ln(t,e._root,r?r._root:void 0);return new bn(n,e)}(t.routeReuseStrategy,r.targetSnapshot,r.currentRouterState);return this.currentTransition=e={...r,targetRouterState:n},e})),Dt((()=>{this.events.next(new pn)})),(s=this.rootContexts,i=t.routeReuseStrategy,o=t=>this.events.next(t),a=this.inputBindingEnabled,Mt((t=>(new Wn(i,t.targetRouterState,t.currentRouterState,o,a).activate(s),t)))),Ft(1),Dt({next:e=>{r=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Qr(e.id,this.urlSerializer.serialize(e.extractedUrl),this.urlSerializer.serialize(e.urlAfterRedirects))),t.titleStrategy?.updateTitle(e.targetRouterState.snapshot),e.resolve(!0)},complete:()=>{r=!0}}),Bt(this.transitionAbortSubject.pipe(Dt((t=>{throw t})))),zt((()=>{if(!r&&!n){const t="";this.cancelNavigationTransition(e,t,1)}this.currentNavigation?.id===e.id&&(this.currentNavigation=null)})),Wt((r=>{if(n=!0,$n(r))this.events.next(new Yr(e.id,this.urlSerializer.serialize(e.extractedUrl),r.message,r.cancellationCode)),$n(s=r)&&Pr(s.url)?this.events.next(new fn(r.url)):e.resolve(!1);else{this.events.next(new Jr(e.id,this.urlSerializer.serialize(e.extractedUrl),r,e.targetSnapshot??void 0));try{e.resolve(t.errorHandler(r))}catch(t){e.reject(t)}}var s;return dt})));var s,i,o,a})))}cancelNavigationTransition(t,e,r){const n=new Yr(t.id,this.urlSerializer.serialize(t.extractedUrl),e,r);this.events.next(n),t.resolve(!1)}static{this.\u0275fac=function(t){return new(t||Os)}}static{this.\u0275prov=e.\u0275\u0275defineInjectable({token:Os,factory:Os.\u0275fac,providedIn:"root"})}}function xs(t){return t!==Vr}class Ps{buildTitle(t){let e,r=t.root;for(;void 0!==r;)e=this.getResolvedTitleForRoute(r)??e,r=r.children.find((t=>t.outlet===Ve));return e}getResolvedTitleForRoute(t){return t.data[Ze]}static{this.\u0275fac=function(t){return new(t||Ps)}}static{this.\u0275prov=e.\u0275\u0275defineInjectable({token:Ps,factory:function(){return $(_s)},providedIn:"root"})}}t("TitleStrategy",Ps);class _s extends Ps{constructor(t){super(),this.title=t}updateTitle(t){const e=this.buildTitle(t);void 0!==e&&this.title.setTitle(e)}static{this.\u0275fac=function(t){return new(t||_s)(e.\u0275\u0275inject(Me))}}static{this.\u0275prov=e.\u0275\u0275defineInjectable({token:_s,factory:_s.\u0275fac,providedIn:"root"})}}t("DefaultTitleStrategy",_s);class ks{static{this.\u0275fac=function(t){return new(t||ks)}}static{this.\u0275prov=e.\u0275\u0275defineInjectable({token:ks,factory:function(){return $(Ns)},providedIn:"root"})}}t("RouteReuseStrategy",ks);class Us{shouldDetach(t){return!1}store(t,e){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,e){return t.routeConfig===e.routeConfig}}t("BaseRouteReuseStrategy",Us);class Ns extends Us{static{this.\u0275fac=function(){let t;return function(r){return(t||(t=e.\u0275\u0275getInheritedFactory(Ns)))(r||Ns)}}()}static{this.\u0275prov=e.\u0275\u0275defineInjectable({token:Ns,factory:Ns.\u0275fac,providedIn:"root"})}}const Ls=t("ROUTER_CONFIGURATION",new r("",{providedIn:"root",factory:()=>({})}));class Ms{static{this.\u0275fac=function(t){return new(t||Ms)}}static{this.\u0275prov=e.\u0275\u0275defineInjectable({token:Ms,factory:function(){return $(Ds)},providedIn:"root"})}}t("UrlHandlingStrategy",Ms);class Ds{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,e){return t}static{this.\u0275fac=function(t){return new(t||Ds)}}static{this.\u0275prov=e.\u0275\u0275defineInjectable({token:Ds,factory:Ds.\u0275fac,providedIn:"root"})}}var zs;function $s(t,e){t.events.pipe(qt((t=>t instanceof Qr||t instanceof Yr||t instanceof Jr||t instanceof Xr)),Mt((t=>{if(t instanceof Qr||t instanceof Xr)return zs.COMPLETE;return t instanceof Yr&&(0===t.code||1===t.code)?zs.REDIRECTING:zs.FAILED})),qt((t=>t!==zs.REDIRECTING)),Ft(1)).subscribe((()=>{e()}))}function Hs(t){throw t}function qs(t,e,r){return e.parse("/")}!function(t){t[t.COMPLETE=0]="COMPLETE",t[t.FAILED=1]="FAILED",t[t.REDIRECTING=2]="REDIRECTING"}(zs||(zs={}));const Fs={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Bs={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};class Ws{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.location.getState()?.\u0275routerPageId??this.currentPageId}get events(){return this._events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=$(S),this.isNgZoneEnabled=!1,this._events=new ut,this.options=$(Ls,{optional:!0})||{},this.pendingTasks=$(V),this.errorHandler=this.options.errorHandler||Hs,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||qs,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=$(Ms),this.routeReuseStrategy=$(ks),this.titleStrategy=$(Ps),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.config=$(As,{optional:!0})?.flat()??[],this.navigationTransitions=$(Os),this.urlSerializer=$(dr),this.location=$(Ot),this.componentInputBindingEnabled=!!$(Un,{optional:!0}),this.eventsSubscription=new pt,this.isNgZoneEnabled=$(f)instanceof f&&f.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new cr,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=Rn(this.currentUrlTree,null),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe((t=>{this.lastSuccessfulId=t.id,this.currentPageId=this.browserPageId}),(t=>{this.console.warn(`Unhandled Navigation Error: ${t}`)})),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const t=this.navigationTransitions.events.subscribe((t=>{try{const{currentTransition:e}=this.navigationTransitions;if(null===e)return void(Gs(t)&&this._events.next(t));if(t instanceof Kr)xs(e.source)&&(this.browserUrlTree=e.extractedUrl);else if(t instanceof Xr)this.rawUrlTree=e.rawUrl;else if(t instanceof tn){if("eager"===this.urlUpdateStrategy){if(!e.extras.skipLocationChange){const t=this.urlHandlingStrategy.merge(e.urlAfterRedirects,e.rawUrl);this.setBrowserUrl(t,e)}this.browserUrlTree=e.urlAfterRedirects}}else if(t instanceof pn)this.currentUrlTree=e.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(e.urlAfterRedirects,e.rawUrl),this.routerState=e.targetRouterState,"deferred"===this.urlUpdateStrategy&&(e.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,e),this.browserUrlTree=e.urlAfterRedirects);else if(t instanceof Yr)0!==t.code&&1!==t.code&&(this.navigated=!0),3!==t.code&&2!==t.code||this.restoreHistory(e);else if(t instanceof fn){const r=this.urlHandlingStrategy.merge(t.url,e.currentRawUrl),n={skipLocationChange:e.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||xs(e.source)};this.scheduleNavigation(r,Vr,null,n,{resolve:e.resolve,reject:e.reject,promise:e.promise})}t instanceof Jr&&this.restoreHistory(e,!0),t instanceof Qr&&(this.navigated=!0),Gs(t)&&this._events.next(t)}catch(t){this.navigationTransitions.transitionAbortSubject.next(t)}}));this.eventsSubscription.add(t)}resetRootComponentType(t){this.routerState.root.component=t,this.navigationTransitions.rootComponentType=t}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){const t=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),Vr,t)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe((t=>{const e="popstate"===t.type?"popstate":"hashchange";"popstate"===e&&this.navigateToSyncWithBrowser(t.url,e,t.state)})))}navigateToSyncWithBrowser(t,e,r){const n={replaceUrl:!0},s=r?.navigationId?r:null;if(r){const t={...r};delete t.navigationId,delete t.\u0275routerPageId,0!==Object.keys(t).length&&(n.state=t)}const i=this.parseUrl(t);this.scheduleNavigation(i,e,s,n)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(t){this.config=t.map(qn),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(t,e={}){const{relativeTo:r,queryParams:n,fragment:s,queryParamsHandling:i,preserveFragment:o}=e,a=o?this.currentUrlTree.fragment:s;let c,u=null;switch(i){case"merge":u={...this.currentUrlTree.queryParams,...n};break;case"preserve":u=this.currentUrlTree.queryParams;break;default:u=n||null}null!==u&&(u=this.removeEmptyProps(u));try{c=kr(r?r.snapshot:this.routerState.snapshot.root)}catch(e){"string"==typeof t[0]&&t[0].startsWith("/")||(t=[]),c=this.currentUrlTree.root}return Ur(c,t,u,a??null)}navigateByUrl(t,e={skipLocationChange:!1}){const r=Pr(t)?t:this.parseUrl(t),n=this.urlHandlingStrategy.merge(r,this.rawUrlTree);return this.scheduleNavigation(n,Vr,null,e)}navigate(t,e={skipLocationChange:!1}){return function(t){for(let e=0;e<t.length;e++){const r=t[e];if(null==r)throw new n(4008,!1)}}(t),this.navigateByUrl(this.createUrlTree(t,e),e)}serializeUrl(t){return this.urlSerializer.serialize(t)}parseUrl(t){let e;try{e=this.urlSerializer.parse(t)}catch(r){e=this.malformedUriErrorHandler(r,this.urlSerializer,t)}return e}isActive(t,e){let r;if(r=!0===e?{...Fs}:!1===e?{...Bs}:e,Pr(t))return sr(this.currentUrlTree,t,r);const n=this.parseUrl(t);return sr(this.currentUrlTree,n,r)}removeEmptyProps(t){return Object.keys(t).reduce(((e,r)=>{const n=t[r];return null!=n&&(e[r]=n),e}),{})}scheduleNavigation(t,e,r,n,s){if(this.disposed)return Promise.resolve(!1);let i,o,a;s?(i=s.resolve,o=s.reject,a=s.promise):a=new Promise(((t,e)=>{i=t,o=e}));const c=this.pendingTasks.add();return $s(this,(()=>{queueMicrotask((()=>this.pendingTasks.remove(c)))})),this.navigationTransitions.handleNavigationRequest({source:e,restoredState:r,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,currentBrowserUrl:this.browserUrlTree,rawUrl:t,extras:n,resolve:i,reject:o,promise:a,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),a.catch((t=>Promise.reject(t)))}setBrowserUrl(t,e){const r=this.urlSerializer.serialize(t);if(this.location.isCurrentPathEqualTo(r)||e.extras.replaceUrl){const t=this.browserPageId,n={...e.extras.state,...this.generateNgRouterState(e.id,t)};this.location.replaceState(r,"",n)}else{const t={...e.extras.state,...this.generateNgRouterState(e.id,this.browserPageId+1)};this.location.go(r,"",t)}}restoreHistory(t,e=!1){if("computed"===this.canceledNavigationResolution){const e=this.browserPageId,r=this.currentPageId-e;0!==r?this.location.historyGo(r):this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===r&&(this.resetState(t),this.browserUrlTree=t.currentUrlTree,this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(e&&this.resetState(t),this.resetUrlToCurrentUrlTree())}resetState(t){this.routerState=t.currentRouterState,this.currentUrlTree=t.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(t,e){return"computed"===this.canceledNavigationResolution?{navigationId:t,\u0275routerPageId:e}:{navigationId:t}}static{this.\u0275fac=function(t){return new(t||Ws)}}static{this.\u0275prov=e.\u0275\u0275defineInjectable({token:Ws,factory:Ws.\u0275fac,providedIn:"root"})}}function Gs(t){return!(t instanceof pn||t instanceof fn)}t("Router",Ws);class Vs{constructor(t,e,r,n,s,i){this.router=t,this.route=e,this.tabIndexAttribute=r,this.renderer=n,this.el=s,this.locationStrategy=i,this.href=null,this.commands=null,this.onChanges=new ut,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const o=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===o||"area"===o,this.isAnchorElement?this.subscription=t.events.subscribe((t=>{t instanceof Qr&&this.updateHref()})):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(t){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",t)}ngOnChanges(t){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(t){null!=t?(this.commands=Array.isArray(t)?t:[t],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(t,e,r,n,s){if(null===this.urlTree)return!0;if(this.isAnchorElement){if(0!==t||e||r||n||s)return!0;if("string"==typeof this.target&&"_self"!=this.target)return!0}const i={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state};return this.router.navigateByUrl(this.urlTree,i),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=null!==this.urlTree&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;const t=null===this.href?null:Z(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",t)}applyAttributeValue(t,e){const r=this.renderer,n=this.el.nativeElement;null!==e?r.setAttribute(n,t,e):r.removeAttribute(n,t)}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(t){return new(t||Vs)(e.\u0275\u0275directiveInject(Ws),e.\u0275\u0275directiveInject(Tn),e.\u0275\u0275injectAttribute("tabindex"),e.\u0275\u0275directiveInject(e.Renderer2),e.\u0275\u0275directiveInject(e.ElementRef),e.\u0275\u0275directiveInject(xt.LocationStrategy))}}static{this.\u0275dir=e.\u0275\u0275defineDirective({type:Vs,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(t,r){1&t&&e.\u0275\u0275listener("click",(function(t){return r.onClick(t.button,t.ctrlKey,t.shiftKey,t.altKey,t.metaKey)})),2&t&&e.\u0275\u0275attribute("target",r.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:["preserveFragment","preserveFragment",K],skipLocationChange:["skipLocationChange","skipLocationChange",K],replaceUrl:["replaceUrl","replaceUrl",K],routerLink:"routerLink"},standalone:!0,features:[e.\u0275\u0275InputTransformsFeature,e.\u0275\u0275NgOnChangesFeature]})}}t({RouterLink:Vs,RouterLinkWithHref:Vs});class Zs{get isActive(){return this._isActive}constructor(t,e,r,n,s){this.router=t,this.element=e,this.renderer=r,this.cdr=n,this.link=s,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new z,this.routerEventsSubscription=t.events.subscribe((t=>{t instanceof Qr&&this.update()}))}ngAfterContentInit(){at(this.links.changes,at(null)).pipe(Gt()).subscribe((t=>{this.update(),this.subscribeToEachLinkOnChanges()}))}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const t=[...this.links.toArray(),this.link].filter((t=>!!t)).map((t=>t.onChanges));this.linkInputChangesSubscription=lt(t).pipe(Gt()).subscribe((t=>{this._isActive!==this.isLinkActive(this.router)(t)&&this.update()}))}set routerLinkActive(t){const e=Array.isArray(t)?t:t.split(" ");this.classes=e.filter((t=>!!t))}ngOnChanges(t){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){this.links&&this.router.navigated&&queueMicrotask((()=>{const t=this.hasActiveLinks();this._isActive!==t&&(this._isActive=t,this.cdr.markForCheck(),this.classes.forEach((e=>{t?this.renderer.addClass(this.element.nativeElement,e):this.renderer.removeClass(this.element.nativeElement,e)})),t&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this.isActiveChange.emit(t))}))}isLinkActive(t){const e=function(t){return!!t.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return r=>!!r.urlTree&&t.isActive(r.urlTree,e)}hasActiveLinks(){const t=this.isLinkActive(this.router);return this.link&&t(this.link)||this.links.some(t)}static{this.\u0275fac=function(t){return new(t||Zs)(e.\u0275\u0275directiveInject(Ws),e.\u0275\u0275directiveInject(e.ElementRef),e.\u0275\u0275directiveInject(e.Renderer2),e.\u0275\u0275directiveInject(e.ChangeDetectorRef),e.\u0275\u0275directiveInject(Vs,8))}}static{this.\u0275dir=e.\u0275\u0275defineDirective({type:Zs,selectors:[["","routerLinkActive",""]],contentQueries:function(t,r,n){if(1&t&&e.\u0275\u0275contentQuery(n,Vs,5),2&t){let t;e.\u0275\u0275queryRefresh(t=e.\u0275\u0275loadQuery())&&(r.links=t)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[e.\u0275\u0275NgOnChangesFeature]})}}t("RouterLinkActive",Zs);class Ks{}t("PreloadingStrategy",Ks);class Qs{preload(t,e){return e().pipe(Wt((()=>at(null))))}static{this.\u0275fac=function(t){return new(t||Qs)}}static{this.\u0275prov=e.\u0275\u0275defineInjectable({token:Qs,factory:Qs.\u0275fac,providedIn:"root"})}}t("PreloadAllModules",Qs);class Ys{preload(t,e){return at(null)}static{this.\u0275fac=function(t){return new(t||Ys)}}static{this.\u0275prov=e.\u0275\u0275defineInjectable({token:Ys,factory:Ys.\u0275fac,providedIn:"root"})}}t("NoPreloading",Ys);class Xs{constructor(t,e,r,n,s){this.router=t,this.injector=r,this.preloadingStrategy=n,this.loader=s}setUpPreloading(){this.subscription=this.router.events.pipe(qt((t=>t instanceof Qr)),Vt((()=>this.preload()))).subscribe((()=>{}))}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(t,e){const r=[];for(const n of e){n.providers&&!n._injector&&(n._injector=Q(n.providers,t,`Route: ${n.path}`));const e=n._injector??t,s=n._loadedInjector??e;(n.loadChildren&&!n._loadedRoutes&&void 0===n.canLoad||n.loadComponent&&!n._loadedComponent)&&r.push(this.preloadConfig(e,n)),(n.children||n._loadedRoutes)&&r.push(this.processRoutes(s,n.children??n._loadedRoutes))}return lt(r).pipe(Gt())}preloadConfig(t,e){return this.preloadingStrategy.preload(e,(()=>{let r;r=e.loadChildren&&void 0===e.canLoad?this.loader.loadChildren(t,e):at(null);const n=r.pipe(Ht((r=>null===r?at(void 0):(e._loadedRoutes=r.routes,e._loadedInjector=r.injector,this.processRoutes(r.injector??t,r.routes)))));if(e.loadComponent&&!e._loadedComponent){const t=this.loader.loadComponent(e);return lt([n,t]).pipe(Gt())}return n}))}static{this.\u0275fac=function(t){return new(t||Xs)(e.\u0275\u0275inject(Ws),e.\u0275\u0275inject(e.Compiler),e.\u0275\u0275inject(e.EnvironmentInjector),e.\u0275\u0275inject(Ks),e.\u0275\u0275inject(Es))}}static{this.\u0275prov=e.\u0275\u0275defineInjectable({token:Xs,factory:Xs.\u0275fac,providedIn:"root"})}}t("RouterPreloader",Xs);const Js=new r("");class ti{constructor(t,e,r,n,s={}){this.urlSerializer=t,this.transitions=e,this.viewportScroller=r,this.zone=n,this.options=s,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},s.scrollPositionRestoration=s.scrollPositionRestoration||"disabled",s.anchorScrolling=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((t=>{t instanceof Kr?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof Qr?(this.lastId=t.id,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.urlAfterRedirects).fragment)):t instanceof Xr&&0===t.code&&(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 dn&&(t.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(t.position):t.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(t.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))}))}scheduleScrollEvent(t,e){this.zone.runOutsideAngular((()=>{setTimeout((()=>{this.zone.run((()=>{this.transitions.events.next(new dn(t,"popstate"===this.lastSource?this.store[this.restoredId]:null,e))}))}),0)}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static{this.\u0275fac=function(t){e.\u0275\u0275invalidFactory()}}static{this.\u0275prov=e.\u0275\u0275defineInjectable({token:ti,factory:ti.\u0275fac})}}function ei(t){return t.routerState.root}function ri(t,e){return{\u0275kind:t,\u0275providers:e}}new r("",{providedIn:"root",factory:()=>!1});function ni(){const t=$(O);return e=>{const r=t.get(et);if(e!==r.components[0])return;const n=t.get(Ws),s=t.get(si);1===t.get(ii)&&n.initialNavigation(),t.get(ui,null,rt.Optional)?.setUpPreloading(),t.get(Js,null,rt.Optional)?.init(),n.resetRootComponentType(r.componentTypes[0]),s.closed||(s.next(),s.complete(),s.unsubscribe())}}const si=new r("",{factory:()=>new ut}),ii=new r("",{providedIn:"root",factory:()=>1});function oi(){return ri(2,[{provide:ii,useValue:0},{provide:it,multi:!0,deps:[O],useFactory:t=>{const e=t.get(Nt,Promise.resolve());return()=>e.then((()=>new Promise((e=>{const r=t.get(Ws),n=t.get(si);$s(r,(()=>{e(!0)})),t.get(Os).afterPreactivation=()=>(e(!0),n.closed?at(void 0):n),r.initialNavigation()}))))}}])}function ai(){return ri(3,[{provide:it,multi:!0,useFactory:()=>{const t=$(Ws);return()=>{t.setUpLocationChangeListener()}}},{provide:ii,useValue:2}])}function ci(){let t=[];return t=[],ri(1,t)}const ui=new r("");function li(t){return ri(0,[{provide:ui,useExisting:Xs},{provide:Ks,useExisting:t}])}function hi(){return ri(8,[Nn,{provide:Un,useExisting:Nn}])}const di=new r("ROUTER_FORROOT_GUARD"),pi=t("\u0275ROUTER_PROVIDERS",[Ot,{provide:dr,useClass:pr},Ws,mn,{provide:Tn,useFactory:ei,deps:[Ws]},Es,[]]);function fi(){return new Y("Router",Ws)}class gi{constructor(t){}static forRoot(t,e){return{ngModule:gi,providers:[pi,[],{provide:As,multi:!0,useValue:t},{provide:di,useFactory:mi,deps:[[Ws,new a,new v]]},{provide:Ls,useValue:e||{}},e?.useHash?{provide:_t,useClass:kt}:{provide:_t,useClass:Ut},{provide:Js,useFactory:()=>{const t=$(Pt),e=$(f),r=$(Ls),n=$(Os),s=$(dr);return r.scrollOffset&&t.setOffset(r.scrollOffset),new ti(s,n,t,e,r)}},e?.preloadingStrategy?li(e.preloadingStrategy).\u0275providers:[],{provide:Y,multi:!0,useFactory:fi},e?.initialNavigation?vi(e):[],e?.bindToComponentInputs?hi().\u0275providers:[],[{provide:Si,useFactory:ni},{provide:X,multi:!0,useExisting:Si}]]}}static forChild(t){return{ngModule:gi,providers:[{provide:As,multi:!0,useValue:t}]}}static{this.\u0275fac=function(t){return new(t||gi)(e.\u0275\u0275inject(di,8))}}static{this.\u0275mod=e.\u0275\u0275defineNgModule({type:gi})}static{this.\u0275inj=e.\u0275\u0275defineInjector({})}}function mi(t){return"guarded"}function vi(t){return["disabled"===t.initialNavigation?ai().\u0275providers:[],"enabledBlocking"===t.initialNavigation?oi().\u0275providers:[]]}t("RouterModule",gi);const Si=t("ROUTER_INITIALIZER",new r(""));t("VERSION",new x("16.2.12"))}}}));