(self.webpackChunkapp=self.webpackChunkapp||[]).push([[91,3117],{591:(j,M,h)=>{h.d(M,{X:()=>b});var o=h(8929),c=h(95279);class b extends o.xQ{constructor(T){super(),this._value=T}get value(){return this.getValue()}_subscribe(T){const S=super._subscribe(T);return S&&!S.closed&&T.next(this._value),S}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new c.N;return this._value}next(T){super.next(this._value=T)}}},56498:(j,M,h)=>{h.d(M,{y:()=>y});var o=h(43489),b=h(57668),R=h(73292),S=h(93821),w=h(4843),E=h(92830);let y=(()=>{class v{constructor(A){this._isScalar=!1,A&&(this._subscribe=A)}lift(A){const D=new v;return D.source=this,D.operator=A,D}subscribe(A,D,k){const{operator:U}=this,L=function T(v,_,A){if(v){if(v instanceof o.L)return v;if(v[b.b])return v[b.b]()}return v||_||A?new o.L(v,_,A):new o.L(R.c)}(A,D,k);if(L.add(U?U.call(L,this.source):this.source||E.v.useDeprecatedSynchronousErrorHandling&&!L.syncErrorThrowable?this._subscribe(L):this._trySubscribe(L)),E.v.useDeprecatedSynchronousErrorHandling&&L.syncErrorThrowable&&(L.syncErrorThrowable=!1,L.syncErrorThrown))throw L.syncErrorValue;return L}_trySubscribe(A){try{return this._subscribe(A)}catch(D){E.v.useDeprecatedSynchronousErrorHandling&&(A.syncErrorThrown=!0,A.syncErrorValue=D),function c(v){for(;v;){const{closed:_,destination:A,isStopped:D}=v;if(_||D)return!1;v=A&&A instanceof o.L?A:null}return!0}(A)?A.error(D):console.warn(D)}}forEach(A,D){return new(D=f(D))((k,U)=>{let L;L=this.subscribe(V=>{try{A(V)}catch(W){U(W),L&&L.unsubscribe()}},U,k)})}_subscribe(A){const{source:D}=this;return D&&D.subscribe(A)}[S.L](){return this}pipe(...A){return 0===A.length?this:(0,w.U)(A)(this)}toPromise(A){return new(A=f(A))((D,k)=>{let U;this.subscribe(L=>U=L,L=>k(L),()=>D(U))})}}return v.create=_=>new v(_),v})();function f(v){if(v||(v=E.v.Promise||Promise),!v)throw new Error("no Promise impl found");return v}},73292:(j,M,h)=>{h.d(M,{c:()=>b});var o=h(92830),c=h(22782);const b={closed:!0,next(R){},error(R){if(o.v.useDeprecatedSynchronousErrorHandling)throw R;(0,c.z)(R)},complete(){}}},8929:(j,M,h)=>{h.d(M,{Yc:()=>w,xQ:()=>E});var o=h(56498),c=h(43489),b=h(42654),R=h(95279),T=h(45283),S=h(57668);class w extends c.L{constructor(v){super(v),this.destination=v}}let E=(()=>{class f extends o.y{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[S.b](){return new w(this)}lift(_){const A=new y(this,this);return A.operator=_,A}next(_){if(this.closed)throw new R.N;if(!this.isStopped){const{observers:A}=this,D=A.length,k=A.slice();for(let U=0;Unew y(v,_),f})();class y extends E{constructor(v,_){super(),this.destination=v,this.source=_}next(v){const{destination:_}=this;_&&_.next&&_.next(v)}error(v){const{destination:_}=this;_&&_.error&&this.destination.error(v)}complete(){const{destination:v}=this;v&&v.complete&&this.destination.complete()}_subscribe(v){const{source:_}=this;return _?this.source.subscribe(v):b.w.EMPTY}}},45283:(j,M,h)=>{h.d(M,{W:()=>c});var o=h(42654);class c extends o.w{constructor(R,T){super(),this.subject=R,this.subscriber=T,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const R=this.subject,T=R.observers;if(this.subject=null,!T||0===T.length||R.isStopped||R.closed)return;const S=T.indexOf(this.subscriber);-1!==S&&T.splice(S,1)}}},43489:(j,M,h)=>{h.d(M,{L:()=>w});var o=h(67043),c=h(73292),b=h(42654),R=h(57668),T=h(92830),S=h(22782);class w extends b.w{constructor(f,v,_){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=c.c;break;case 1:if(!f){this.destination=c.c;break}if("object"==typeof f){f instanceof w?(this.syncErrorThrowable=f.syncErrorThrowable,this.destination=f,f.add(this)):(this.syncErrorThrowable=!0,this.destination=new E(this,f));break}default:this.syncErrorThrowable=!0,this.destination=new E(this,f,v,_)}}[R.b](){return this}static create(f,v,_){const A=new w(f,v,_);return A.syncErrorThrowable=!1,A}next(f){this.isStopped||this._next(f)}error(f){this.isStopped||(this.isStopped=!0,this._error(f))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(f){this.destination.next(f)}_error(f){this.destination.error(f),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:f}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=f,this}}class E extends w{constructor(f,v,_,A){super(),this._parentSubscriber=f;let D,k=this;(0,o.m)(v)?D=v:v&&(D=v.next,_=v.error,A=v.complete,v!==c.c&&(k=Object.create(v),(0,o.m)(k.unsubscribe)&&this.add(k.unsubscribe.bind(k)),k.unsubscribe=this.unsubscribe.bind(this))),this._context=k,this._next=D,this._error=_,this._complete=A}next(f){if(!this.isStopped&&this._next){const{_parentSubscriber:v}=this;T.v.useDeprecatedSynchronousErrorHandling&&v.syncErrorThrowable?this.__tryOrSetError(v,this._next,f)&&this.unsubscribe():this.__tryOrUnsub(this._next,f)}}error(f){if(!this.isStopped){const{_parentSubscriber:v}=this,{useDeprecatedSynchronousErrorHandling:_}=T.v;if(this._error)_&&v.syncErrorThrowable?(this.__tryOrSetError(v,this._error,f),this.unsubscribe()):(this.__tryOrUnsub(this._error,f),this.unsubscribe());else if(v.syncErrorThrowable)_?(v.syncErrorValue=f,v.syncErrorThrown=!0):(0,S.z)(f),this.unsubscribe();else{if(this.unsubscribe(),_)throw f;(0,S.z)(f)}}}complete(){if(!this.isStopped){const{_parentSubscriber:f}=this;if(this._complete){const v=()=>this._complete.call(this._context);T.v.useDeprecatedSynchronousErrorHandling&&f.syncErrorThrowable?(this.__tryOrSetError(f,v),this.unsubscribe()):(this.__tryOrUnsub(v),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(f,v){try{f.call(this._context,v)}catch(_){if(this.unsubscribe(),T.v.useDeprecatedSynchronousErrorHandling)throw _;(0,S.z)(_)}}__tryOrSetError(f,v,_){if(!T.v.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{v.call(this._context,_)}catch(A){return T.v.useDeprecatedSynchronousErrorHandling?(f.syncErrorValue=A,f.syncErrorThrown=!0,!0):((0,S.z)(A),!0)}return!1}_unsubscribe(){const{_parentSubscriber:f}=this;this._context=null,this._parentSubscriber=null,f.unsubscribe()}}},42654:(j,M,h)=>{h.d(M,{w:()=>S});var o=h(66688),c=h(57830),b=h(67043);const T=(()=>{function E(y){return Error.call(this),this.message=y?`${y.length} errors occurred during unsubscription:\n${y.map((f,v)=>`${v+1}) ${f.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=y,this}return E.prototype=Object.create(Error.prototype),E})();class S{constructor(y){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,y&&(this._ctorUnsubscribe=!0,this._unsubscribe=y)}unsubscribe(){let y;if(this.closed)return;let{_parentOrParents:f,_ctorUnsubscribe:v,_unsubscribe:_,_subscriptions:A}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,f instanceof S)f.remove(this);else if(null!==f)for(let D=0;Dy.concat(f instanceof T?f.errors:f),[])}S.EMPTY=((E=new S).closed=!0,E)},92830:(j,M,h)=>{h.d(M,{v:()=>c});let o=!1;const c={Promise:void 0,set useDeprecatedSynchronousErrorHandling(b){if(b){const R=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+R.stack)}else o&&console.log("RxJS: Back to a better error behavior. Thank you. <3");o=b},get useDeprecatedSynchronousErrorHandling(){return o}}},41177:(j,M,h)=>{h.d(M,{Ds:()=>S,IY:()=>R,ft:()=>E});var o=h(43489),c=h(56498),b=h(59249);class R extends o.L{constructor(f){super(),this.parent=f}_next(f){this.parent.notifyNext(f)}_error(f){this.parent.notifyError(f),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class S extends o.L{notifyNext(f){this.destination.next(f)}notifyError(f){this.destination.error(f)}notifyComplete(){this.destination.complete()}}function E(y,f){if(f.closed)return;if(y instanceof c.y)return y.subscribe(f);let v;try{v=(0,b.s)(y)(f)}catch(_){f.error(_)}return v}},71762:(j,M,h)=>{h.d(M,{N:()=>S,c:()=>T});var o=h(8929),c=h(56498),b=h(42654),R=h(74327);class T extends c.y{constructor(v,_){super(),this.source=v,this.subjectFactory=_,this._refCount=0,this._isComplete=!1}_subscribe(v){return this.getSubject().subscribe(v)}getSubject(){const v=this._subject;return(!v||v.isStopped)&&(this._subject=this.subjectFactory()),this._subject}connect(){let v=this._connection;return v||(this._isComplete=!1,v=this._connection=new b.w,v.add(this.source.subscribe(new w(this.getSubject(),this))),v.closed&&(this._connection=null,v=b.w.EMPTY)),v}refCount(){return(0,R.x)()(this)}}const S=(()=>{const f=T.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:f._subscribe},_isComplete:{value:f._isComplete,writable:!0},getSubject:{value:f.getSubject},connect:{value:f.connect},refCount:{value:f.refCount}}})();class w extends o.Yc{constructor(v,_){super(v),this.connectable=_}_error(v){this._unsubscribe(),super._error(v)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const v=this.connectable;if(v){this.connectable=null;const _=v._connection;v._refCount=0,v._subject=null,v._connection=null,_&&_.unsubscribe()}}}},61221:(j,M,h)=>{h.d(M,{z:()=>R});var o=h(21086),c=h(89146);function R(...T){return function b(){return(0,c.J)(1)}()((0,o.of)(...T))}},88514:(j,M,h)=>{h.d(M,{P:()=>R});var o=h(56498),c=h(5254),b=h(68896);function R(T){return new o.y(S=>{let w;try{w=T()}catch(y){return void S.error(y)}return(w?(0,c.D)(w):(0,b.c)()).subscribe(S)})}},68896:(j,M,h)=>{h.d(M,{E:()=>c,c:()=>b});var o=h(56498);const c=new o.y(T=>T.complete());function b(T){return T?function R(T){return new o.y(S=>T.schedule(()=>S.complete()))}(T):c}},5254:(j,M,h)=>{h.d(M,{D:()=>k});var o=h(56498),c=h(59249),b=h(42654),R=h(93821),w=h(66454),E=h(5430),v=h(98955),_=h(58515);function k(U,L){return L?function D(U,L){if(null!=U){if(function f(U){return U&&"function"==typeof U[R.L]}(U))return function T(U,L){return new o.y(V=>{const W=new b.w;return W.add(L.schedule(()=>{const K=U[R.L]();W.add(K.subscribe({next(te){W.add(L.schedule(()=>V.next(te)))},error(te){W.add(L.schedule(()=>V.error(te)))},complete(){W.add(L.schedule(()=>V.complete()))}}))})),W})}(U,L);if((0,v.t)(U))return function S(U,L){return new o.y(V=>{const W=new b.w;return W.add(L.schedule(()=>U.then(K=>{W.add(L.schedule(()=>{V.next(K),W.add(L.schedule(()=>V.complete()))}))},K=>{W.add(L.schedule(()=>V.error(K)))}))),W})}(U,L);if((0,_.z)(U))return(0,w.r)(U,L);if(function A(U){return U&&"function"==typeof U[E.hZ]}(U)||"string"==typeof U)return function y(U,L){if(!U)throw new Error("Iterable cannot be null");return new o.y(V=>{const W=new b.w;let K;return W.add(()=>{K&&"function"==typeof K.return&&K.return()}),W.add(L.schedule(()=>{K=U[E.hZ](),W.add(L.schedule(function(){if(V.closed)return;let te,Ce;try{const re=K.next();te=re.value,Ce=re.done}catch(re){return void V.error(re)}Ce?V.complete():(V.next(te),this.schedule())}))})),W})}(U,L)}throw new TypeError((null!==U&&typeof U||U)+" is not observable")}(U,L):U instanceof o.y?U:new o.y((0,c.s)(U))}},33009:(j,M,h)=>{h.d(M,{n:()=>R});var o=h(56498),c=h(13650),b=h(66454);function R(T,S){return S?(0,b.r)(T,S):new o.y((0,c.V)(T))}},21086:(j,M,h)=>{h.d(M,{of:()=>R});var o=h(72866),c=h(33009),b=h(66454);function R(...T){let S=T[T.length-1];return(0,o.K)(S)?(T.pop(),(0,b.r)(T,S)):(0,c.n)(T)}},61737:(j,M,h)=>{h.d(M,{_:()=>c});var o=h(56498);function c(R,T){return new o.y(T?S=>T.schedule(b,0,{error:R,subscriber:S}):S=>S.error(R))}function b({error:R,subscriber:T}){T.error(R)}},27221:(j,M,h)=>{h.d(M,{K:()=>c});var o=h(41177);function c(T){return function(w){const E=new b(T),y=w.lift(E);return E.caught=y}}class b{constructor(S){this.selector=S}call(S,w){return w.subscribe(new R(S,this.selector,this.caught))}}class R extends o.Ds{constructor(S,w,E){super(S),this.selector=w,this.caught=E}error(S){if(!this.isStopped){let w;try{w=this.selector(S,this.caught)}catch(f){return void super.error(f)}this._unsubscribeAndRecycle();const E=new o.IY(this);this.add(E);const y=(0,o.ft)(w,E);y!==E&&this.add(y)}}}},21406:(j,M,h)=>{h.d(M,{b:()=>c});var o=h(61709);function c(b,R){return(0,o.zg)(b,R,1)}},92198:(j,M,h)=>{h.d(M,{h:()=>c});var o=h(43489);function c(T,S){return function(E){return E.lift(new b(T,S))}}class b{constructor(S,w){this.predicate=S,this.thisArg=w}call(S,w){return w.subscribe(new R(S,this.predicate,this.thisArg))}}class R extends o.L{constructor(S,w,E){super(S),this.predicate=w,this.thisArg=E,this.count=0}_next(S){let w;try{w=this.predicate.call(this.thisArg,S,this.count++)}catch(E){return void this.destination.error(E)}w&&this.destination.next(S)}}},40537:(j,M,h)=>{h.d(M,{x:()=>b});var o=h(43489),c=h(42654);function b(S){return w=>w.lift(new R(S))}class R{constructor(w){this.callback=w}call(w,E){return E.subscribe(new T(w,this.callback))}}class T extends o.L{constructor(w,E){super(w),this.add(new c.w(E))}}},24850:(j,M,h)=>{h.d(M,{U:()=>c});var o=h(43489);function c(T,S){return function(E){if("function"!=typeof T)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return E.lift(new b(T,S))}}class b{constructor(S,w){this.project=S,this.thisArg=w}call(S,w){return w.subscribe(new R(S,this.project,this.thisArg))}}class R extends o.L{constructor(S,w,E){super(S),this.project=w,this.count=0,this.thisArg=E||this}_next(S){let w;try{w=this.project.call(this.thisArg,S,this.count++)}catch(E){return void this.destination.error(E)}this.destination.next(w)}}},89146:(j,M,h)=>{h.d(M,{J:()=>b});var o=h(61709),c=h(35379);function b(R=Number.POSITIVE_INFINITY){return(0,o.zg)(c.y,R)}},61709:(j,M,h)=>{h.d(M,{zg:()=>R});var o=h(24850),c=h(5254),b=h(41177);function R(E,y,f=Number.POSITIVE_INFINITY){return"function"==typeof y?v=>v.pipe(R((_,A)=>(0,c.D)(E(_,A)).pipe((0,o.U)((D,k)=>y(_,D,A,k))),f)):("number"==typeof y&&(f=y),v=>v.lift(new T(E,f)))}class T{constructor(y,f=Number.POSITIVE_INFINITY){this.project=y,this.concurrent=f}call(y,f){return f.subscribe(new S(y,this.project,this.concurrent))}}class S extends b.Ds{constructor(y,f,v=Number.POSITIVE_INFINITY){super(y),this.project=f,this.concurrent=v,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(y){this.active0?this._next(y.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}},74327:(j,M,h)=>{h.d(M,{x:()=>c});var o=h(43489);function c(){return function(S){return S.lift(new b(S))}}class b{constructor(S){this.connectable=S}call(S,w){const{connectable:E}=this;E._refCount++;const y=new R(S,E),f=w.subscribe(y);return y.closed||(y.connection=E.connect()),f}}class R extends o.L{constructor(S,w){super(S),this.connectable=w}_unsubscribe(){const{connectable:S}=this;if(!S)return void(this.connection=null);this.connectable=null;const w=S._refCount;if(w<=0)return void(this.connection=null);if(S._refCount=w-1,w>1)return void(this.connection=null);const{connection:E}=this,y=S._connection;this.connection=null,y&&(!E||y===E)&&y.unsubscribe()}}},87545:(j,M,h)=>{h.d(M,{w:()=>R});var o=h(24850),c=h(5254),b=h(41177);function R(w,E){return"function"==typeof E?y=>y.pipe(R((f,v)=>(0,c.D)(w(f,v)).pipe((0,o.U)((_,A)=>E(f,_,v,A))))):y=>y.lift(new T(w))}class T{constructor(E){this.project=E}call(E,y){return y.subscribe(new S(E,this.project))}}class S extends b.Ds{constructor(E,y){super(E),this.project=y,this.index=0}_next(E){let y;const f=this.index++;try{y=this.project(E,f)}catch(v){return void this.destination.error(v)}this._innerSub(y)}_innerSub(E){const y=this.innerSubscription;y&&y.unsubscribe();const f=new b.IY(this),v=this.destination;v.add(f),this.innerSubscription=(0,b.ft)(E,f),this.innerSubscription!==f&&v.add(this.innerSubscription)}_complete(){const{innerSubscription:E}=this;(!E||E.closed)&&super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(E){this.destination.next(E)}}},72986:(j,M,h)=>{h.d(M,{q:()=>R});var o=h(43489),c=h(94231),b=h(68896);function R(w){return E=>0===w?(0,b.c)():E.lift(new T(w))}class T{constructor(E){if(this.total=E,this.total<0)throw new c.W}call(E,y){return y.subscribe(new S(E,this.total))}}class S extends o.L{constructor(E,y){super(E),this.total=y,this.count=0}_next(E){const y=this.total,f=++this.count;f<=y&&(this.destination.next(E),f===y&&(this.destination.complete(),this.unsubscribe()))}}},92821:(j,M,h)=>{h.d(M,{h:()=>R});var o=h(43489),c=h(94231),b=h(68896);function R(w){return function(y){return 0===w?(0,b.c)():y.lift(new T(w))}}class T{constructor(E){if(this.total=E,this.total<0)throw new c.W}call(E,y){return y.subscribe(new S(E,this.total))}}class S extends o.L{constructor(E,y){super(E),this.total=y,this.ring=new Array,this.count=0}_next(E){const y=this.ring,f=this.total,v=this.count++;y.length0){const f=this.count>=this.total?this.total:this.count,v=this.ring;for(let _=0;_{h.d(M,{b:()=>R});var o=h(43489);function c(){}var b=h(67043);function R(w,E,y){return function(v){return v.lift(new T(w,E,y))}}class T{constructor(E,y,f){this.nextOrObserver=E,this.error=y,this.complete=f}call(E,y){return y.subscribe(new S(E,this.nextOrObserver,this.error,this.complete))}}class S extends o.L{constructor(E,y,f,v){super(E),this._tapNext=c,this._tapError=c,this._tapComplete=c,this._tapError=f||c,this._tapComplete=v||c,(0,b.m)(y)?(this._context=this,this._tapNext=y):y&&(this._context=y,this._tapNext=y.next||c,this._tapError=y.error||c,this._tapComplete=y.complete||c)}_next(E){try{this._tapNext.call(this._context,E)}catch(y){return void this.destination.error(y)}this.destination.next(E)}_error(E){try{this._tapError.call(this._context,E)}catch(y){return void this.destination.error(y)}this.destination.error(E)}_complete(){try{this._tapComplete.call(this._context)}catch(E){return void this.destination.error(E)}return this.destination.complete()}}},66454:(j,M,h)=>{h.d(M,{r:()=>b});var o=h(56498),c=h(42654);function b(R,T){return new o.y(S=>{const w=new c.w;let E=0;return w.add(T.schedule(function(){E!==R.length?(S.next(R[E++]),S.closed||w.add(this.schedule())):S.complete()})),w})}},5430:(j,M,h)=>{h.d(M,{hZ:()=>c});const c=function o(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},93821:(j,M,h)=>{h.d(M,{L:()=>o});const o="function"==typeof Symbol&&Symbol.observable||"@@observable"},57668:(j,M,h)=>{h.d(M,{b:()=>o});const o="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},94231:(j,M,h)=>{h.d(M,{W:()=>c});const c=(()=>{function b(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return b.prototype=Object.create(Error.prototype),b})()},95279:(j,M,h)=>{h.d(M,{N:()=>c});const c=(()=>{function b(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return b.prototype=Object.create(Error.prototype),b})()},22782:(j,M,h)=>{function o(c){setTimeout(()=>{throw c},0)}h.d(M,{z:()=>o})},35379:(j,M,h)=>{function o(c){return c}h.d(M,{y:()=>o})},66688:(j,M,h)=>{h.d(M,{k:()=>o});const o=Array.isArray||(c=>c&&"number"==typeof c.length)},58515:(j,M,h)=>{h.d(M,{z:()=>o});const o=c=>c&&"number"==typeof c.length&&"function"!=typeof c},67043:(j,M,h)=>{function o(c){return"function"==typeof c}h.d(M,{m:()=>o})},57830:(j,M,h)=>{function o(c){return null!==c&&"object"==typeof c}h.d(M,{K:()=>o})},98955:(j,M,h)=>{function o(c){return!!c&&"function"!=typeof c.subscribe&&"function"==typeof c.then}h.d(M,{t:()=>o})},72866:(j,M,h)=>{function o(c){return c&&"function"==typeof c.schedule}h.d(M,{K:()=>o})},4843:(j,M,h)=>{h.d(M,{U:()=>b,z:()=>c});var o=h(35379);function c(...R){return b(R)}function b(R){return 0===R.length?o.y:1===R.length?R[0]:function(S){return R.reduce((w,E)=>E(w),S)}}},59249:(j,M,h)=>{h.d(M,{s:()=>v});var o=h(13650),c=h(22782),R=h(5430),S=h(93821),E=h(58515),y=h(98955),f=h(57830);const v=_=>{if(_&&"function"==typeof _[S.L])return(_=>A=>{const D=_[S.L]();if("function"!=typeof D.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return D.subscribe(A)})(_);if((0,E.z)(_))return(0,o.V)(_);if((0,y.t)(_))return(_=>A=>(_.then(D=>{A.closed||(A.next(D),A.complete())},D=>A.error(D)).then(null,c.z),A))(_);if(_&&"function"==typeof _[R.hZ])return(_=>A=>{const D=_[R.hZ]();for(;;){let k;try{k=D.next()}catch(U){return A.error(U),A}if(k.done){A.complete();break}if(A.next(k.value),A.closed)break}return"function"==typeof D.return&&A.add(()=>{D.return&&D.return()}),A})(_);{const D=`You provided ${(0,f.K)(_)?"an invalid object":`'${_}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(D)}}},13650:(j,M,h)=>{h.d(M,{V:()=>o});const o=c=>b=>{for(let R=0,T=c.length;R{h.d(M,{Dx:()=>$,H7:()=>Et,b2:()=>Gt,q6:()=>Kt,se:()=>De});var o=h(90944),c=h(45449);class b extends o.\u0275DomAdapter{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class R extends b{static makeCurrent(){(0,o.\u0275setRootDomAdapter)(new R)}onAndCancel(d,l,p){return d.addEventListener(l,p,!1),()=>{d.removeEventListener(l,p,!1)}}dispatchEvent(d,l){d.dispatchEvent(l)}remove(d){d.parentNode&&d.parentNode.removeChild(d)}createElement(d,l){return(l=l||this.getDefaultDocument()).createElement(d)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(d){return d.nodeType===Node.ELEMENT_NODE}isShadowRoot(d){return d instanceof DocumentFragment}getGlobalEventTarget(d,l){return"window"===l?window:"document"===l?d:"body"===l?d.body:null}getBaseHref(d){const l=function S(){return T=T||document.querySelector("base"),T?T.getAttribute("href"):null}();return null==l?null:function E(g){w=w||document.createElement("a"),w.setAttribute("href",g);const d=w.pathname;return"/"===d.charAt(0)?d:`/${d}`}(l)}resetBaseElement(){T=null}getUserAgent(){return window.navigator.userAgent}getCookie(d){return(0,o.\u0275parseCookieValue)(document.cookie,d)}}let w,T=null;const y=new c.InjectionToken("TRANSITION_ID"),v=[{provide:c.APP_INITIALIZER,useFactory:function f(g,d,l){return()=>{l.get(c.ApplicationInitStatus).donePromise.then(()=>{const p=(0,o.\u0275getDOM)(),C=d.querySelectorAll(`style[ng-transition="${g}"]`);for(let x=0;x{class g{build(){return new XMLHttpRequest}}return g.\u0275fac=function(l){return new(l||g)},g.\u0275prov=c.\u0275\u0275defineInjectable({token:g,factory:g.\u0275fac}),g})();const D=new c.InjectionToken("EventManagerPlugins");let k=(()=>{class g{constructor(l,p){this._zone=p,this._eventNameToPlugin=new Map,l.forEach(C=>C.manager=this),this._plugins=l.slice().reverse()}addEventListener(l,p,C){return this._findPluginFor(p).addEventListener(l,p,C)}addGlobalEventListener(l,p,C){return this._findPluginFor(p).addGlobalEventListener(l,p,C)}getZone(){return this._zone}_findPluginFor(l){const p=this._eventNameToPlugin.get(l);if(p)return p;const C=this._plugins;for(let x=0;x{class g{constructor(){this._stylesSet=new Set}addStyles(l){const p=new Set;l.forEach(C=>{this._stylesSet.has(C)||(this._stylesSet.add(C),p.add(C))}),this.onStylesAdded(p)}onStylesAdded(l){}getAllStyles(){return Array.from(this._stylesSet)}}return g.\u0275fac=function(l){return new(l||g)},g.\u0275prov=c.\u0275\u0275defineInjectable({token:g,factory:g.\u0275fac}),g})(),V=(()=>{class g extends L{constructor(l){super(),this._doc=l,this._hostNodes=new Map,this._hostNodes.set(l.head,[])}_addStylesToHost(l,p,C){l.forEach(x=>{const H=this._doc.createElement("style");H.textContent=x,C.push(p.appendChild(H))})}addHost(l){const p=[];this._addStylesToHost(this._stylesSet,l,p),this._hostNodes.set(l,p)}removeHost(l){const p=this._hostNodes.get(l);p&&p.forEach(W),this._hostNodes.delete(l)}onStylesAdded(l){this._hostNodes.forEach((p,C)=>{this._addStylesToHost(l,C,p)})}ngOnDestroy(){this._hostNodes.forEach(l=>l.forEach(W))}}return g.\u0275fac=function(l){return new(l||g)(c.\u0275\u0275inject(o.DOCUMENT))},g.\u0275prov=c.\u0275\u0275defineInjectable({token:g,factory:g.\u0275fac}),g})();function W(g){(0,o.\u0275getDOM)().remove(g)}const K={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/"},te=/%COMP%/g;function z(g,d,l){for(let p=0;p{if("__ngUnwrap__"===d)return g;!1===g(d)&&(d.preventDefault(),d.returnValue=!1)}}let De=(()=>{class g{constructor(l,p,C){this.eventManager=l,this.sharedStylesHost=p,this.appId=C,this.rendererByCompId=new Map,this.defaultRenderer=new se(l)}createRenderer(l,p){if(!l||!p)return this.defaultRenderer;switch(p.encapsulation){case c.ViewEncapsulation.Emulated:{let C=this.rendererByCompId.get(p.id);return C||(C=new zt(this.eventManager,this.sharedStylesHost,p,this.appId),this.rendererByCompId.set(p.id,C)),C.applyToHost(l),C}case 1:case c.ViewEncapsulation.ShadowDom:return new at(this.eventManager,this.sharedStylesHost,l,p);default:if(!this.rendererByCompId.has(p.id)){const C=z(p.id,p.styles,[]);this.sharedStylesHost.addStyles(C),this.rendererByCompId.set(p.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return g.\u0275fac=function(l){return new(l||g)(c.\u0275\u0275inject(k),c.\u0275\u0275inject(V),c.\u0275\u0275inject(c.APP_ID))},g.\u0275prov=c.\u0275\u0275defineInjectable({token:g,factory:g.\u0275fac}),g})();class se{constructor(d){this.eventManager=d,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(d,l){return l?document.createElementNS(K[l]||l,d):document.createElement(d)}createComment(d){return document.createComment(d)}createText(d){return document.createTextNode(d)}appendChild(d,l){(ot(d)?d.content:d).appendChild(l)}insertBefore(d,l,p){d&&(ot(d)?d.content:d).insertBefore(l,p)}removeChild(d,l){d&&d.removeChild(l)}selectRootElement(d,l){let p="string"==typeof d?document.querySelector(d):d;if(!p)throw new Error(`The selector "${d}" did not match any elements`);return l||(p.textContent=""),p}parentNode(d){return d.parentNode}nextSibling(d){return d.nextSibling}setAttribute(d,l,p,C){if(C){l=C+":"+l;const x=K[C];x?d.setAttributeNS(x,l,p):d.setAttribute(l,p)}else d.setAttribute(l,p)}removeAttribute(d,l,p){if(p){const C=K[p];C?d.removeAttributeNS(C,l):d.removeAttribute(`${p}:${l}`)}else d.removeAttribute(l)}addClass(d,l){d.classList.add(l)}removeClass(d,l){d.classList.remove(l)}setStyle(d,l,p,C){C&(c.RendererStyleFlags2.DashCase|c.RendererStyleFlags2.Important)?d.style.setProperty(l,p,C&c.RendererStyleFlags2.Important?"important":""):d.style[l]=p}removeStyle(d,l,p){p&c.RendererStyleFlags2.DashCase?d.style.removeProperty(l):d.style[l]=""}setProperty(d,l,p){d[l]=p}setValue(d,l){d.nodeValue=l}listen(d,l,p){return"string"==typeof d?this.eventManager.addGlobalEventListener(d,l,ne(p)):this.eventManager.addEventListener(d,l,ne(p))}}function ot(g){return"TEMPLATE"===g.tagName&&void 0!==g.content}class zt extends se{constructor(d,l,p,C){super(d),this.component=p;const x=z(C+"-"+p.id,p.styles,[]);l.addStyles(x),this.contentAttr=function be(g){return"_ngcontent-%COMP%".replace(te,g)}(C+"-"+p.id),this.hostAttr=function ie(g){return"_nghost-%COMP%".replace(te,g)}(C+"-"+p.id)}applyToHost(d){super.setAttribute(d,this.hostAttr,"")}createElement(d,l){const p=super.createElement(d,l);return super.setAttribute(p,this.contentAttr,""),p}}class at extends se{constructor(d,l,p,C){super(d),this.sharedStylesHost=l,this.hostEl=p,this.shadowRoot=p.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const x=z(C.id,C.styles,[]);for(let H=0;H{class g extends U{constructor(l){super(l)}supports(l){return!0}addEventListener(l,p,C){return l.addEventListener(p,C,!1),()=>this.removeEventListener(l,p,C)}removeEventListener(l,p,C){return l.removeEventListener(p,C)}}return g.\u0275fac=function(l){return new(l||g)(c.\u0275\u0275inject(o.DOCUMENT))},g.\u0275prov=c.\u0275\u0275defineInjectable({token:g,factory:g.\u0275fac}),g})();const lt=["alt","control","meta","shift"],Wt={"\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"},ut={alt:g=>g.altKey,control:g=>g.ctrlKey,meta:g=>g.metaKey,shift:g=>g.shiftKey};let he=(()=>{class g extends U{constructor(l){super(l)}supports(l){return null!=g.parseEventName(l)}addEventListener(l,p,C){const x=g.parseEventName(p),H=g.eventCallback(x.fullKey,C,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,o.\u0275getDOM)().onAndCancel(l,x.domEventName,H))}static parseEventName(l){const p=l.toLowerCase().split("."),C=p.shift();if(0===p.length||"keydown"!==C&&"keyup"!==C)return null;const x=g._normalizeKey(p.pop());let H="",Y=p.indexOf("code");if(Y>-1&&(p.splice(Y,1),H="code."),lt.forEach(Ve=>{const Ke=p.indexOf(Ve);Ke>-1&&(p.splice(Ke,1),H+=Ve+".")}),H+=x,0!=p.length||0===x.length)return null;const J={};return J.domEventName=C,J.fullKey=H,J}static matchEventFullKeyCode(l,p){let C=Wt[l.key]||l.key,x="";return p.indexOf("code.")>-1&&(C=l.code,x="code."),!(null==C||!C)&&(C=C.toLowerCase()," "===C?C="space":"."===C&&(C="dot"),lt.forEach(H=>{H!==C&&(0,ut[H])(l)&&(x+=H+".")}),x+=C,x===p)}static eventCallback(l,p,C){return x=>{g.matchEventFullKeyCode(x,l)&&C.runGuarded(()=>p(x))}}static _normalizeKey(l){return"esc"===l?"escape":l}}return g.\u0275fac=function(l){return new(l||g)(c.\u0275\u0275inject(o.DOCUMENT))},g.\u0275prov=c.\u0275\u0275defineInjectable({token:g,factory:g.\u0275fac}),g})();const Kt=179==h.j?(0,c.createPlatformFactory)(c.platformCore,"browser",[{provide:c.PLATFORM_ID,useValue:o.\u0275PLATFORM_BROWSER_ID},{provide:c.PLATFORM_INITIALIZER,useValue:function Vt(){R.makeCurrent()},multi:!0},{provide:o.DOCUMENT,useFactory:function ct(){return(0,c.\u0275setDocument)(document),document},deps:[]}]):null,dt=new c.InjectionToken(""),ft=[{provide:c.\u0275TESTABILITY_GETTER,useClass:class _{addToWindow(d){c.\u0275global.getAngularTestability=(p,C=!0)=>{const x=d.findTestabilityInTree(p,C);if(null==x)throw new Error("Could not find testability for element.");return x},c.\u0275global.getAllAngularTestabilities=()=>d.getAllTestabilities(),c.\u0275global.getAllAngularRootElements=()=>d.getAllRootElements(),c.\u0275global.frameworkStabilizers||(c.\u0275global.frameworkStabilizers=[]),c.\u0275global.frameworkStabilizers.push(p=>{const C=c.\u0275global.getAllAngularTestabilities();let x=C.length,H=!1;const Y=function(J){H=H||J,x--,0==x&&p(H)};C.forEach(function(J){J.whenStable(Y)})})}findTestabilityInTree(d,l,p){return null==l?null:d.getTestability(l)??(p?(0,o.\u0275getDOM)().isShadowRoot(l)?this.findTestabilityInTree(d,l.host,!0):this.findTestabilityInTree(d,l.parentElement,!0):null)}},deps:[]},{provide:c.\u0275TESTABILITY,useClass:c.Testability,deps:[c.NgZone,c.TestabilityRegistry,c.\u0275TESTABILITY_GETTER]},{provide:c.Testability,useClass:c.Testability,deps:[c.NgZone,c.TestabilityRegistry,c.\u0275TESTABILITY_GETTER]}],pt=[{provide:c.\u0275INJECTOR_SCOPE,useValue:"root"},{provide:c.ErrorHandler,useFactory:function He(){return new c.ErrorHandler},deps:[]},{provide:D,useClass:Bt,multi:!0,deps:[o.DOCUMENT,c.NgZone,c.PLATFORM_ID]},{provide:D,useClass:he,multi:!0,deps:[o.DOCUMENT]},{provide:De,useClass:De,deps:[k,V,c.APP_ID]},{provide:c.RendererFactory2,useExisting:De},{provide:L,useExisting:V},{provide:V,useClass:V,deps:[o.DOCUMENT]},{provide:k,useClass:k,deps:[D,c.NgZone]},{provide:o.XhrFactory,useClass:A,deps:[]},[]];let Gt=179==h.j?(()=>{class g{constructor(l){}static withServerTransition(l){return{ngModule:g,providers:[{provide:c.APP_ID,useValue:l.appId},{provide:y,useExisting:c.APP_ID},v]}}}return g.\u0275fac=function(l){return new(l||g)(c.\u0275\u0275inject(dt,12))},g.\u0275mod=c.\u0275\u0275defineNgModule({type:g}),g.\u0275inj=c.\u0275\u0275defineInjector({providers:[...pt,...ft],imports:[o.CommonModule,c.ApplicationModule]}),g})():null,$=(()=>{class g{constructor(l){this._doc=l}getTitle(){return this._doc.title}setTitle(l){this._doc.title=l||""}}return g.\u0275fac=function(l){return new(l||g)(c.\u0275\u0275inject(o.DOCUMENT))},g.\u0275prov=c.\u0275\u0275defineInjectable({token:g,factory:function(l){let p=null;return p=l?new l:function Zt(){return new $((0,c.\u0275\u0275inject)(o.DOCUMENT))}(),p},providedIn:"root"}),g})();typeof window<"u"&&window;let Et=179==h.j?(()=>{class g{}return g.\u0275fac=function(l){return new(l||g)},g.\u0275prov=c.\u0275\u0275defineInjectable({token:g,factory:function(l){let p=null;return p=l?new(l||g):c.\u0275\u0275inject(St),p},providedIn:"root"}),g})():null,St=179==h.j?(()=>{class g extends Et{constructor(l){super(),this._doc=l}sanitize(l,p){if(null==p)return null;switch(l){case c.SecurityContext.NONE:return p;case c.SecurityContext.HTML:return(0,c.\u0275allowSanitizationBypassAndThrow)(p,"HTML")?(0,c.\u0275unwrapSafeValue)(p):(0,c.\u0275_sanitizeHtml)(this._doc,String(p)).toString();case c.SecurityContext.STYLE:return(0,c.\u0275allowSanitizationBypassAndThrow)(p,"Style")?(0,c.\u0275unwrapSafeValue)(p):p;case c.SecurityContext.SCRIPT:if((0,c.\u0275allowSanitizationBypassAndThrow)(p,"Script"))return(0,c.\u0275unwrapSafeValue)(p);throw new Error("unsafe value used in a script context");case c.SecurityContext.URL:return(0,c.\u0275allowSanitizationBypassAndThrow)(p,"URL")?(0,c.\u0275unwrapSafeValue)(p):(0,c.\u0275_sanitizeUrl)(String(p));case c.SecurityContext.RESOURCE_URL:if((0,c.\u0275allowSanitizationBypassAndThrow)(p,"ResourceURL"))return(0,c.\u0275unwrapSafeValue)(p);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${l} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(l){return(0,c.\u0275bypassSanitizationTrustHtml)(l)}bypassSecurityTrustStyle(l){return(0,c.\u0275bypassSanitizationTrustStyle)(l)}bypassSecurityTrustScript(l){return(0,c.\u0275bypassSanitizationTrustScript)(l)}bypassSecurityTrustUrl(l){return(0,c.\u0275bypassSanitizationTrustUrl)(l)}bypassSecurityTrustResourceUrl(l){return(0,c.\u0275bypassSanitizationTrustResourceUrl)(l)}}return g.\u0275fac=function(l){return new(l||g)(c.\u0275\u0275inject(o.DOCUMENT))},g.\u0275prov=c.\u0275\u0275defineInjectable({token:g,factory:function(l){let p=null;return p=l?new l:function me(g){return new St(g.get(o.DOCUMENT))}(c.\u0275\u0275inject(c.Injector)),p},providedIn:"root"}),g})():null},93117:(j,M,h)=>{h.r(M),h.d(M,{ActivatedRoute:()=>_e,ActivatedRouteSnapshot:()=>Xe,ActivationEnd:()=>qr,ActivationStart:()=>Jr,BaseRouteReuseStrategy:()=>Mn,ChildActivationEnd:()=>Xr,ChildActivationStart:()=>Qr,ChildrenOutletContexts:()=>je,DefaultTitleStrategy:()=>Mr,DefaultUrlSerializer:()=>g,GuardsCheckEnd:()=>Vr,GuardsCheckStart:()=>Wr,NavigationCancel:()=>Qe,NavigationEnd:()=>Se,NavigationError:()=>ur,NavigationStart:()=>wt,NoPreloading:()=>Cs,OutletContext:()=>un,PRIMARY_OUTLET:()=>$,PreloadAllModules:()=>_s,PreloadingStrategy:()=>Or,ROUTER_CONFIGURATION:()=>it,ROUTER_INITIALIZER:()=>Ur,ROUTES:()=>Lt,ResolveEnd:()=>Gr,ResolveStart:()=>Kr,RouteConfigLoadEnd:()=>Yr,RouteConfigLoadStart:()=>Zr,RouteReuseStrategy:()=>Tn,Router:()=>Q,RouterEvent:()=>de,RouterLink:()=>Nt,RouterLinkActive:()=>Un,RouterLinkWithHref:()=>$t,RouterModule:()=>As,RouterOutlet:()=>br,RouterPreloader:()=>xn,RouterState:()=>fr,RouterStateSnapshot:()=>pr,RoutesRecognized:()=>Br,Scroll:()=>cr,TitleStrategy:()=>Tr,UrlHandlingStrategy:()=>On,UrlSegment:()=>Me,UrlSegmentGroup:()=>F,UrlSerializer:()=>_t,UrlTree:()=>ge,VERSION:()=>Ls,convertToParamMap:()=>Ee,createUrlTreeFromSnapshot:()=>ti,defaultUrlMatcher:()=>Qt,provideRouter:()=>Rs,provideRoutes:()=>Ft,withDebugTracing:()=>Hn,withDisabledInitialNavigation:()=>Fn,withEnabledBlockingInitialNavigation:()=>kn,withInMemoryScrolling:()=>ws,withPreloading:()=>Pr,withRouterConfig:()=>Ts,\u0275EmptyOutletComponent:()=>Mt,\u0275ROUTER_PROVIDERS:()=>Wn,\u0275assignExtraOptionsToRouter:()=>In,\u0275flatten:()=>Be,\u0275withPreloading:()=>Pr});var o=h(45449),c=h(5254),b=h(21086),R=h(591);const S=(()=>{function t(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return t.prototype=Object.create(Error.prototype),t})();var w=h(72866),E=h(66688),y=h(43489);class f extends y.L{notifyNext(r,e,n,i,s){this.destination.next(e)}notifyError(r,e){this.destination.error(r)}notifyComplete(r){this.destination.complete()}}class v extends y.L{constructor(r,e,n){super(),this.parent=r,this.outerValue=e,this.outerIndex=n,this.index=0}_next(r){this.parent.notifyNext(this.outerValue,r,this.outerIndex,this.index++,this)}_error(r){this.parent.notifyError(r,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}var _=h(59249),A=h(56498);function D(t,r,e,n,i=new v(t,e,n)){if(!i.closed)return r instanceof A.y?r.subscribe(i):(0,_.s)(r)(i)}var k=h(33009);const U={};function L(...t){let r,e;return(0,w.K)(t[t.length-1])&&(e=t.pop()),"function"==typeof t[t.length-1]&&(r=t.pop()),1===t.length&&(0,E.k)(t[0])&&(t=t[0]),(0,k.n)(t,e).lift(new V(r))}class V{constructor(r){this.resultSelector=r}call(r,e){return e.subscribe(new W(r,this.resultSelector))}}class W extends f{constructor(r,e){super(r),this.resultSelector=e,this.active=0,this.values=[],this.observables=[]}_next(r){this.values.push(U),this.observables.push(r)}_complete(){const r=this.observables,e=r.length;if(0===e)this.destination.complete();else{this.active=e,this.toRespond=e;for(let n=0;nr.lift(new ot(t))}class ot{constructor(r){this.defaultValue=r}call(r,e){return e.subscribe(new zt(r,this.defaultValue))}}class zt extends y.L{constructor(r,e){super(r),this.defaultValue=e,this.isEmpty=!0}_next(r){this.isEmpty=!1,this.destination.next(r)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}function at(t=Wt){return r=>r.lift(new Bt(t))}class Bt{constructor(r){this.errorFactory=r}call(r,e){return e.subscribe(new lt(r,this.errorFactory))}}class lt extends y.L{constructor(r,e){super(r),this.errorFactory=e,this.hasValue=!1}_next(r){this.hasValue=!0,this.destination.next(r)}_complete(){if(this.hasValue)return this.destination.complete();{let r;try{r=this.errorFactory()}catch(e){r=e}this.destination.error(r)}}}function Wt(){return new S}var ut=h(35379);function he(t,r){const e=arguments.length>=2;return n=>n.pipe(t?(0,se.h)((i,s)=>t(i,s,n)):ut.y,(0,Ie.q)(1),e?we(r):at(()=>new S))}var le=h(21406),X=h(22868),fe=h(27221);function Fe(t,r){let e=!1;return arguments.length>=2&&(e=!0),function(i){return i.lift(new xr(t,r,e))}}class xr{constructor(r,e,n=!1){this.accumulator=r,this.seed=e,this.hasSeed=n}call(r,e){return e.subscribe(new Vt(r,this.accumulator,this.seed,this.hasSeed))}}class Vt extends y.L{constructor(r,e,n,i){super(r),this.accumulator=e,this._seed=n,this.hasSeed=i,this.index=0}get seed(){return this._seed}set seed(r){this.hasSeed=!0,this._seed=r}_next(r){if(this.hasSeed)return this._tryNext(r);this.seed=r,this.destination.next(r)}_tryNext(r){const e=this.index++;let n;try{n=this.accumulator(this.seed,r,e)}catch(i){this.destination.error(i)}this.seed=n,this.destination.next(n)}}var He=h(92821);function ct(t,r){const e=arguments.length>=2;return n=>n.pipe(t?(0,se.h)((i,s)=>t(i,s,n)):ut.y,(0,He.h)(1),e?we(r):at(()=>new S))}class Kt{constructor(r,e){this.predicate=r,this.inclusive=e}call(r,e){return e.subscribe(new dt(r,this.predicate,this.inclusive))}}class dt extends y.L{constructor(r,e,n){super(r),this.predicate=e,this.inclusive=n,this.index=0}_next(r){const e=this.destination;let n;try{n=this.predicate(r,this.index++)}catch(i){return void e.error(i)}this.nextOrComplete(r,n)}nextOrComplete(r,e){const n=this.destination;Boolean(e)?n.next(r):(this.inclusive&&n.next(r),n.complete())}}class pt{constructor(r){this.value=r}call(r,e){return e.subscribe(new Gt(r,this.value))}}class Gt extends y.L{constructor(r,e){super(r),this.value=e}_next(r){this.destination.next(this.value)}}var gt=h(40537),mt=h(74327),ze=h(89146),Zt=h(11481);const $="primary",Te=Symbol("RouteTitle");class Yt{constructor(r){this.params=r||{}}has(r){return Object.prototype.hasOwnProperty.call(this.params,r)}get(r){if(this.has(r)){const e=this.params[r];return Array.isArray(e)?e[0]:e}return null}getAll(r){if(this.has(r)){const e=this.params[r];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}}function Ee(t){return new Yt(t)}function Qt(t,r,e){const n=e.path.split("/");if(n.length>t.length||"full"===e.pathMatch&&(r.hasChildren()||n.lengthn[s]===i)}return t===r}function Be(t){return Array.prototype.concat.apply([],t)}function Pe(t){return t.length>0?t[t.length-1]:null}function Z(t,r){for(const e in t)t.hasOwnProperty(e)&&r(t[e],e)}function pe(t){return(0,o.\u0275isObservable)(t)?t:(0,o.\u0275isPromise)(t)?(0,c.D)(Promise.resolve(t)):(0,b.of)(t)}const Lr={exact:function tr(t,r,e){if(!me(t.segments,r.segments)||!We(t.segments,r.segments,e)||t.numberOfChildren!==r.numberOfChildren)return!1;for(const n in r.children)if(!t.children[n]||!tr(t.children[n],r.children[n],e))return!1;return!0},subset:nr},qt={exact:function jr(t,r){return G(t,r)},subset:function rr(t,r){return Object.keys(r).length<=Object.keys(t).length&&Object.keys(r).every(e=>yt(t[e],r[e]))},ignored:()=>!0};function er(t,r,e){return Lr[e.paths](t.root,r.root,e.matrixParams)&&qt[e.queryParams](t.queryParams,r.queryParams)&&!("exact"===e.fragment&&t.fragment!==r.fragment)}function nr(t,r,e){return ir(t,r,r.segments,e)}function ir(t,r,e,n){if(t.segments.length>e.length){const i=t.segments.slice(0,e.length);return!(!me(i,e)||r.hasChildren()||!We(i,e,n))}if(t.segments.length===e.length){if(!me(t.segments,e)||!We(t.segments,e,n))return!1;for(const i in r.children)if(!t.children[i]||!nr(t.children[i],r.children[i],n))return!1;return!0}{const i=e.slice(0,t.segments.length),s=e.slice(t.segments.length);return!!(me(t.segments,i)&&We(t.segments,i,n)&&t.children[$])&&ir(t.children[$],r,s,n)}}function We(t,r,e){return r.every((n,i)=>qt[e](t[i].parameters,n.parameters))}class ge{constructor(r,e,n){this.root=r,this.queryParams=e,this.fragment=n}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Ee(this.queryParams)),this._queryParamMap}toString(){return d.serialize(this)}}class F{constructor(r,e){this.segments=r,this.children=e,this.parent=null,Z(e,(n,i)=>n.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return l(this)}}class Me{constructor(r,e){this.path=r,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=Ee(this.parameters)),this._parameterMap}toString(){return Ke(this)}}function me(t,r){return t.length===r.length&&t.every((e,n)=>e.path===r[n].path)}let _t=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=o.\u0275\u0275defineInjectable({token:t,factory:function(){return new g},providedIn:"root"}),t})();class g{parse(r){const e=new qn(r);return new ge(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(r){const e=`/${p(r.root,!0)}`,n=function Gn(t){const r=Object.keys(t).map(e=>{const n=t[e];return Array.isArray(n)?n.map(i=>`${x(e)}=${x(i)}`).join("&"):`${x(e)}=${x(n)}`}).filter(e=>!!e);return r.length?`?${r.join("&")}`:""}(r.queryParams);return`${e}${n}${"string"==typeof r.fragment?`#${function H(t){return encodeURI(t)}(r.fragment)}`:""}`}}const d=new g;function l(t){return t.segments.map(r=>Ke(r)).join("/")}function p(t,r){if(!t.hasChildren())return l(t);if(r){const e=t.children[$]?p(t.children[$],!1):"",n=[];return Z(t.children,(i,s)=>{s!==$&&n.push(`${s}:${p(i,!1)}`)}),n.length>0?`${e}(${n.join("//")})`:e}{const e=function St(t,r){let e=[];return Z(t.children,(n,i)=>{i===$&&(e=e.concat(r(n,i)))}),Z(t.children,(n,i)=>{i!==$&&(e=e.concat(r(n,i)))}),e}(t,(n,i)=>i===$?[p(t.children[$],!1)]:[`${i}:${p(n,!1)}`]);return 1===Object.keys(t.children).length&&null!=t.children[$]?`${l(t)}/${e[0]}`:`${l(t)}/(${e.join("//")})`}}function C(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function x(t){return C(t).replace(/%3B/gi,";")}function Y(t){return C(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function J(t){return decodeURIComponent(t)}function Ve(t){return J(t.replace(/\+/g,"%20"))}function Ke(t){return`${Y(t.path)}${function Kn(t){return Object.keys(t).map(r=>`;${Y(r)}=${Y(t[r])}`).join("")}(t.parameters)}`}const Zn=/^[^\/()?;=#]+/;function Ct(t){const r=t.match(Zn);return r?r[0]:""}const Yn=/^[^=?&#]+/,Xn=/^[^&#]+/;class qn{constructor(r){this.url=r,this.remaining=r}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new F([],{}):new F([],this.parseChildren())}parseQueryParams(){const r={};if(this.consumeOptional("?"))do{this.parseQueryParam(r)}while(this.consumeOptional("&"));return r}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const r=[];for(this.peekStartsWith("(")||r.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),r.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(r.length>0||Object.keys(e).length>0)&&(n[$]=new F(r,e)),n}parseSegment(){const r=Ct(this.remaining);if(""===r&&this.peekStartsWith(";"))throw new o.\u0275RuntimeError(4009,!1);return this.capture(r),new Me(J(r),this.parseMatrixParams())}parseMatrixParams(){const r={};for(;this.consumeOptional(";");)this.parseParam(r);return r}parseParam(r){const e=Ct(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){const i=Ct(this.remaining);i&&(n=i,this.capture(n))}r[J(e)]=J(n)}parseQueryParam(r){const e=function Qn(t){const r=t.match(Yn);return r?r[0]:""}(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){const a=function Jn(t){const r=t.match(Xn);return r?r[0]:""}(this.remaining);a&&(n=a,this.capture(n))}const i=Ve(e),s=Ve(n);if(r.hasOwnProperty(i)){let a=r[i];Array.isArray(a)||(a=[a],r[i]=a),a.push(s)}else r[i]=s}parseParens(r){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const n=Ct(this.remaining),i=this.remaining[n.length];if("/"!==i&&")"!==i&&";"!==i)throw new o.\u0275RuntimeError(4010,!1);let s;n.indexOf(":")>-1?(s=n.slice(0,n.indexOf(":")),this.capture(s),this.capture(":")):r&&(s=$);const a=this.parseChildren();e[s]=1===Object.keys(a).length?a[$]:new F([],a),this.consumeOptional("//")}return e}peekStartsWith(r){return this.remaining.startsWith(r)}consumeOptional(r){return!!this.peekStartsWith(r)&&(this.remaining=this.remaining.substring(r.length),!0)}capture(r){if(!this.consumeOptional(r))throw new o.\u0275RuntimeError(4011,!1)}}function sr(t){return t.segments.length>0?new F([],{[$]:t}):t}function Rt(t){const r={};for(const n of Object.keys(t.children)){const s=Rt(t.children[n]);(s.segments.length>0||s.hasChildren())&&(r[n]=s)}return function ei(t){if(1===t.numberOfChildren&&t.children[$]){const r=t.children[$];return new F(t.segments.concat(r.segments),r.children)}return t}(new F(t.segments,r))}function Ae(t){return t instanceof ge}function ti(t,r,e=null,n=null){const i=function ri(t){var r;let e;const s=sr(function n(a){const u={};for(const O of a.children){const P=n(O);u[O.outlet]=P}const m=new F(a.url,u);return a===t&&(e=m),m}(t.root));return null!==(r=e)&&void 0!==r?r:s}(t);return function ni(t,r,e,n){let i=t;for(;i.parent;)i=i.parent;if(0===r.length)return Ue(i,i,i,e,n);const s=kr(r);if(s.toRoot())return Ue(i,i,new F([],{}),e,n);const a=function si(t,r,e){if(t.isAbsolute)return new xe(r,!0,0);if(!e)return new xe(r,!1,NaN);if(null===e.parent)return new xe(e,!0,0);const n=Ge(t.commands[0])?0:1;return Fr(e,e.segments.length-1+n,t.numberOfDoubleDots)}(s,i,t),u=a.processChildren?Ye(a.segmentGroup,a.index,s.commands):ar(a.segmentGroup,a.index,s.commands);return Ue(i,a.segmentGroup,u,e,n)}(i,r,e,n)}function Ge(t){return"object"==typeof t&&null!=t&&!t.outlets&&!t.segmentPath}function Ze(t){return"object"==typeof t&&null!=t&&t.outlets}function Ue(t,r,e,n,i){let a,s={};n&&Z(n,(m,O)=>{s[O]=Array.isArray(m)?m.map(P=>`${P}`):`${m}`}),a=t===r?e:Nr(t,r,e);const u=sr(Rt(a));return new ge(u,s,i)}function Nr(t,r,e){const n={};return Z(t.children,(i,s)=>{n[s]=i===r?e:Nr(i,r,e)}),new F(t.segments,n)}class $r{constructor(r,e,n){if(this.isAbsolute=r,this.numberOfDoubleDots=e,this.commands=n,r&&n.length>0&&Ge(n[0]))throw new o.\u0275RuntimeError(4003,!1);const i=n.find(Ze);if(i&&i!==Pe(n))throw new o.\u0275RuntimeError(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}function kr(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new $r(!0,0,t);let r=0,e=!1;const n=t.reduce((i,s,a)=>{if("object"==typeof s&&null!=s){if(s.outlets){const u={};return Z(s.outlets,(m,O)=>{u[O]="string"==typeof m?m.split("/"):m}),[...i,{outlets:u}]}if(s.segmentPath)return[...i,s.segmentPath]}return"string"!=typeof s?[...i,s]:0===a?(s.split("/").forEach((u,m)=>{0==m&&"."===u||(0==m&&""===u?e=!0:".."===u?r++:""!=u&&i.push(u))}),i):[...i,s]},[]);return new $r(e,r,n)}class xe{constructor(r,e,n){this.segmentGroup=r,this.processChildren=e,this.index=n}}function Fr(t,r,e){let n=t,i=r,s=e;for(;s>i;){if(s-=i,n=n.parent,!n)throw new o.\u0275RuntimeError(4005,!1);i=n.segments.length}return new xe(n,!1,i-s)}function ar(t,r,e){if(t||(t=new F([],{})),0===t.segments.length&&t.hasChildren())return Ye(t,r,e);const n=function li(t,r,e){let n=0,i=r;const s={match:!1,pathIndex:0,commandIndex:0};for(;i=e.length)return s;const a=t.segments[i],u=e[n];if(Ze(u))break;const m=`${u}`,O=n0&&void 0===m)break;if(m&&O&&"object"==typeof O&&void 0===O.outlets){if(!zr(m,O,a))return s;n+=2}else{if(!zr(m,{},a))return s;n++}i++}return{match:!0,pathIndex:i,commandIndex:n}}(t,r,e),i=e.slice(n.commandIndex);if(n.match&&n.pathIndex{"string"==typeof s&&(s=[s]),null!==s&&(i[a]=ar(t.children[a],r,s))}),Z(t.children,(s,a)=>{void 0===n[a]&&(i[a]=s)}),new F(t.segments,i)}}function lr(t,r,e){const n=t.segments.slice(0,r);let i=0;for(;i{"string"==typeof e&&(e=[e]),null!==e&&(r[n]=lr(new F([],{}),0,e))}),r}function Hr(t){const r={};return Z(t,(e,n)=>r[n]=`${e}`),r}function zr(t,r,e){return t==e.path&&G(r,e.parameters)}class de{constructor(r,e){this.id=r,this.url=e}}class wt extends de{constructor(r,e,n="imperative",i=null){super(r,e),this.type=0,this.navigationTrigger=n,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Se extends de{constructor(r,e,n){super(r,e),this.urlAfterRedirects=n,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Qe extends de{constructor(r,e,n,i){super(r,e),this.reason=n,this.code=i,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class ur extends de{constructor(r,e,n,i){super(r,e),this.error=n,this.target=i,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Br extends de{constructor(r,e,n,i){super(r,e),this.urlAfterRedirects=n,this.state=i,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Wr extends de{constructor(r,e,n,i){super(r,e),this.urlAfterRedirects=n,this.state=i,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Vr extends de{constructor(r,e,n,i,s){super(r,e),this.urlAfterRedirects=n,this.state=i,this.shouldActivate=s,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Kr extends de{constructor(r,e,n,i){super(r,e),this.urlAfterRedirects=n,this.state=i,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Gr extends de{constructor(r,e,n,i){super(r,e),this.urlAfterRedirects=n,this.state=i,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Zr{constructor(r){this.route=r,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Yr{constructor(r){this.route=r,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Qr{constructor(r){this.snapshot=r,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Xr{constructor(r){this.snapshot=r,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Jr{constructor(r){this.snapshot=r,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class qr{constructor(r){this.snapshot=r,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class cr{constructor(r,e,n){this.routerEvent=r,this.position=e,this.anchor=n,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class en{constructor(r){this._root=r}get root(){return this._root.value}parent(r){const e=this.pathFromRoot(r);return e.length>1?e[e.length-2]:null}children(r){const e=hr(r,this._root);return e?e.children.map(n=>n.value):[]}firstChild(r){const e=hr(r,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(r){const e=dr(r,this._root);return e.length<2?[]:e[e.length-2].children.map(i=>i.value).filter(i=>i!==r)}pathFromRoot(r){return dr(r,this._root).map(e=>e.value)}}function hr(t,r){if(t===r.value)return r;for(const e of r.children){const n=hr(t,e);if(n)return n}return null}function dr(t,r){if(t===r.value)return[r];for(const e of r.children){const n=dr(t,e);if(n.length)return n.unshift(r),n}return[]}class ve{constructor(r,e){this.value=r,this.children=e}toString(){return`TreeNode(${this.value})`}}function Le(t){const r={};return t&&t.children.forEach(e=>r[e.value.outlet]=e),r}class fr extends en{constructor(r,e){super(r),this.snapshot=e,gr(this,r)}toString(){return this.snapshot.toString()}}function tn(t,r){const e=function hi(t,r){const a=new Xe([],{},{},"",{},$,r,null,t.root,-1,{});return new pr("",new ve(a,[]))}(t,r),n=new R.X([new Me("",{})]),i=new R.X({}),s=new R.X({}),a=new R.X({}),u=new R.X(""),m=new _e(n,i,a,u,s,$,r,e.root);return m.snapshot=e.root,new fr(new ve(m,[]),e)}class _e{constructor(r,e,n,i,s,a,u,m){var O,P;this.url=r,this.params=e,this.queryParams=n,this.fragment=i,this.data=s,this.outlet=a,this.component=u,this.title=null!==(O=null===(P=this.data)||void 0===P?void 0:P.pipe((0,z.U)(I=>I[Te])))&&void 0!==O?O:(0,b.of)(void 0),this._futureSnapshot=m}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((0,z.U)(r=>Ee(r)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,z.U)(r=>Ee(r)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function rn(t,r="emptyOnly"){const e=t.pathFromRoot;let n=0;if("always"!==r)for(n=e.length-1;n>=1;){const i=e[n],s=e[n-1];if(i.routeConfig&&""===i.routeConfig.path)n--;else{if(s.component)break;n--}}return function di(t){return t.reduce((r,e)=>{var n;return{params:{...r.params,...e.params},data:{...r.data,...e.data},resolve:{...e.data,...r.resolve,...null===(n=e.routeConfig)||void 0===n?void 0:n.data,...e._resolvedData}}},{params:{},data:{},resolve:{}})}(e.slice(n))}class Xe{constructor(r,e,n,i,s,a,u,m,O,P,I,N){var B;this.url=r,this.params=e,this.queryParams=n,this.fragment=i,this.data=s,this.outlet=a,this.component=u,this.title=null===(B=this.data)||void 0===B?void 0:B[Te],this.routeConfig=m,this._urlSegment=O,this._lastPathIndex=P,this._correctedLastPathIndex=N??P,this._resolve=I}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=Ee(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Ee(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(n=>n.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class pr extends en{constructor(r,e){super(e),this.url=r,gr(this,e)}toString(){return nn(this._root)}}function gr(t,r){r.value._routerState=t,r.children.forEach(e=>gr(t,e))}function nn(t){const r=t.children.length>0?` { ${t.children.map(nn).join(", ")} } `:"";return`${t.value}${r}`}function mr(t){if(t.snapshot){const r=t.snapshot,e=t._futureSnapshot;t.snapshot=e,G(r.queryParams,e.queryParams)||t.queryParams.next(e.queryParams),r.fragment!==e.fragment&&t.fragment.next(e.fragment),G(r.params,e.params)||t.params.next(e.params),function vt(t,r){if(t.length!==r.length)return!1;for(let e=0;eG(e.parameters,r[n].parameters))}(t.url,r.url);return e&&!(!t.parent!=!r.parent)&&(!t.parent||vr(t.parent,r.parent))}function Je(t,r,e){if(e&&t.shouldReuseRoute(r.value,e.value.snapshot)){const n=e.value;n._futureSnapshot=r.value;const i=function pi(t,r,e){return r.children.map(n=>{for(const i of e.children)if(t.shouldReuseRoute(n.value,i.value.snapshot))return Je(t,n,i);return Je(t,n)})}(t,r,e);return new ve(n,i)}{if(t.shouldAttach(r.value)){const s=t.retrieve(r.value);if(null!==s){const a=s.route;return a.value._futureSnapshot=r.value,a.children=r.children.map(u=>Je(t,u)),a}}const n=function gi(t){return new _e(new R.X(t.url),new R.X(t.params),new R.X(t.queryParams),new R.X(t.fragment),new R.X(t.data),t.outlet,t.component,t)}(r.value),i=r.children.map(s=>Je(t,s));return new ve(n,i)}}const yr="ngNavigationCancelingError";function sn(t,r){const{redirectTo:e,navigationBehaviorOptions:n}=Ae(r)?{redirectTo:r,navigationBehaviorOptions:void 0}:r,i=on(!1,0,r);return i.url=e,i.navigationBehaviorOptions=n,i}function on(t,r,e){const n=new Error("NavigationCancelingError: "+(t||""));return n[yr]=!0,n.cancellationCode=r,e&&(n.url=e),n}function an(t){return ln(t)&&Ae(t.url)}function ln(t){return t&&t[yr]}class un{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.injector=null,this.children=new je,this.attachRef=null}}let je=(()=>{class t{constructor(){this.contexts=new Map}onChildOutletCreated(e,n){const i=this.getOrCreateContext(e);i.outlet=n,this.contexts.set(e,i)}onChildOutletDestroyed(e){const n=this.getContext(e);n&&(n.outlet=null,n.attachRef=null)}onOutletDeactivated(){const e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let n=this.getContext(e);return n||(n=new un,this.contexts.set(e,n)),n}getContext(e){return this.contexts.get(e)||null}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=o.\u0275\u0275defineInjectable({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const Tt=!1;let br=(()=>{class t{constructor(e,n,i,s,a){this.parentContexts=e,this.location=n,this.changeDetector=s,this.environmentInjector=a,this.activated=null,this._activatedRoute=null,this.activateEvents=new o.EventEmitter,this.deactivateEvents=new o.EventEmitter,this.attachEvents=new o.EventEmitter,this.detachEvents=new o.EventEmitter,this.name=i||$,e.onChildOutletCreated(this.name,this)}ngOnDestroy(){var e;(null===(e=this.parentContexts.getContext(this.name))||void 0===e?void 0:e.outlet)===this&&this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const e=this.parentContexts.getContext(this.name);e&&e.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.injector))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new o.\u0275RuntimeError(4012,Tt);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new o.\u0275RuntimeError(4012,Tt);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new o.\u0275RuntimeError(4012,Tt);this.location.detach();const e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,n){this.activated=e,this._activatedRoute=n,this.location.insert(e.hostView),this.attachEvents.emit(e.instance)}deactivate(){if(this.activated){const e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,n){if(this.isActivated)throw new o.\u0275RuntimeError(4013,Tt);this._activatedRoute=e;const i=this.location,a=e._futureSnapshot.component,u=this.parentContexts.getOrCreateContext(this.name).children,m=new mi(e,u,i.injector);if(n&&function vi(t){return!!t.resolveComponentFactory}(n)){const O=n.resolveComponentFactory(a);this.activated=i.createComponent(O,i.length,m)}else this.activated=i.createComponent(a,{index:i.length,injector:m,environmentInjector:n??this.environmentInjector});this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return t.\u0275fac=function(e){return new(e||t)(o.\u0275\u0275directiveInject(je),o.\u0275\u0275directiveInject(o.ViewContainerRef),o.\u0275\u0275injectAttribute("name"),o.\u0275\u0275directiveInject(o.ChangeDetectorRef),o.\u0275\u0275directiveInject(o.EnvironmentInjector))},t.\u0275dir=o.\u0275\u0275defineDirective({type:t,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0}),t})();class mi{constructor(r,e,n){this.route=r,this.childContexts=e,this.parent=n}get(r,e){return r===_e?this.route:r===je?this.childContexts:this.parent.get(r,e)}}let Mt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=o.\u0275\u0275defineComponent({type:t,selectors:[["ng-component"]],standalone:!0,features:[o.\u0275\u0275StandaloneFeature],decls:1,vars:0,template:function(e,n){1&e&&o.\u0275\u0275element(0,"router-outlet")},dependencies:[br],encapsulation:2}),t})();function cn(t,r){var e;return t.providers&&!t._injector&&(t._injector=(0,o.createEnvironmentInjector)(t.providers,r,`Route: ${t.path}`)),null!==(e=t._injector)&&void 0!==e?e:r}function Sr(t){const r=t.children&&t.children.map(Sr),e=r?{...t,children:r}:{...t};return!e.component&&!e.loadComponent&&(r||e.loadChildren)&&e.outlet&&e.outlet!==$&&(e.component=Mt),e}function oe(t){return t.outlet||$}function hn(t,r){const e=t.filter(n=>oe(n)===r);return e.push(...t.filter(n=>oe(n)!==r)),e}function qe(t){var r;if(!t)return null;if(null!==(r=t.routeConfig)&&void 0!==r&&r._injector)return t.routeConfig._injector;for(let e=t.parent;e;e=e.parent){const n=e.routeConfig;if(null!=n&&n._loadedInjector)return n._loadedInjector;if(null!=n&&n._injector)return n._injector}return null}class _i{constructor(r,e,n,i){this.routeReuseStrategy=r,this.futureState=e,this.currState=n,this.forwardEvent=i}activate(r){const e=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,n,r),mr(this.futureState.root),this.activateChildRoutes(e,n,r)}deactivateChildRoutes(r,e,n){const i=Le(e);r.children.forEach(s=>{const a=s.value.outlet;this.deactivateRoutes(s,i[a],n),delete i[a]}),Z(i,(s,a)=>{this.deactivateRouteAndItsChildren(s,n)})}deactivateRoutes(r,e,n){const i=r.value,s=e?e.value:null;if(i===s)if(i.component){const a=n.getContext(i.outlet);a&&this.deactivateChildRoutes(r,e,a.children)}else this.deactivateChildRoutes(r,e,n);else s&&this.deactivateRouteAndItsChildren(e,n)}deactivateRouteAndItsChildren(r,e){r.value.component&&this.routeReuseStrategy.shouldDetach(r.value.snapshot)?this.detachAndStoreRouteSubtree(r,e):this.deactivateRouteAndOutlet(r,e)}detachAndStoreRouteSubtree(r,e){const n=e.getContext(r.value.outlet),i=n&&r.value.component?n.children:e,s=Le(r);for(const a of Object.keys(s))this.deactivateRouteAndItsChildren(s[a],i);if(n&&n.outlet){const a=n.outlet.detach(),u=n.children.onOutletDeactivated();this.routeReuseStrategy.store(r.value.snapshot,{componentRef:a,route:r,contexts:u})}}deactivateRouteAndOutlet(r,e){const n=e.getContext(r.value.outlet),i=n&&r.value.component?n.children:e,s=Le(r);for(const a of Object.keys(s))this.deactivateRouteAndItsChildren(s[a],i);n&&n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated(),n.attachRef=null,n.resolver=null,n.route=null)}activateChildRoutes(r,e,n){const i=Le(e);r.children.forEach(s=>{this.activateRoutes(s,i[s.value.outlet],n),this.forwardEvent(new qr(s.value.snapshot))}),r.children.length&&this.forwardEvent(new Xr(r.value.snapshot))}activateRoutes(r,e,n){const i=r.value,s=e?e.value:null;if(mr(i),i===s)if(i.component){const u=n.getOrCreateContext(i.outlet);this.activateChildRoutes(r,e,u.children)}else this.activateChildRoutes(r,e,n);else if(i.component){const u=n.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){const m=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),u.children.onOutletReAttached(m.contexts),u.attachRef=m.componentRef,u.route=m.route.value,u.outlet&&u.outlet.attach(m.componentRef,m.route.value),mr(m.route.value),this.activateChildRoutes(r,null,u.children)}else{var a;const m=qe(i.snapshot),O=null!==(a=m?.get(o.ComponentFactoryResolver))&&void 0!==a?a:null;u.attachRef=null,u.route=i,u.resolver=O,u.injector=m,u.outlet&&u.outlet.activateWith(i,u.injector),this.activateChildRoutes(r,null,u.children)}}else this.activateChildRoutes(r,null,n)}}class dn{constructor(r){this.path=r,this.route=this.path[this.path.length-1]}}class At{constructor(r,e){this.component=r,this.route=e}}function Ci(t,r,e){const n=t._root;return et(n,r?r._root:null,e,[n.value])}function Ne(t,r){const e=Symbol(),n=r.get(t,e);return n===e?"function"!=typeof t||(0,o.\u0275isInjectable)(t)?r.get(t):t:n}function et(t,r,e,n,i={canDeactivateChecks:[],canActivateChecks:[]}){const s=Le(r);return t.children.forEach(a=>{(function wi(t,r,e,n,i={canDeactivateChecks:[],canActivateChecks:[]}){const s=t.value,a=r?r.value:null,u=e?e.getContext(t.value.outlet):null;if(a&&s.routeConfig===a.routeConfig){const m=function Ti(t,r,e){if("function"==typeof e)return e(t,r);switch(e){case"pathParamsChange":return!me(t.url,r.url);case"pathParamsOrQueryParamsChange":return!me(t.url,r.url)||!G(t.queryParams,r.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!vr(t,r)||!G(t.queryParams,r.queryParams);default:return!vr(t,r)}}(a,s,s.routeConfig.runGuardsAndResolvers);m?i.canActivateChecks.push(new dn(n)):(s.data=a.data,s._resolvedData=a._resolvedData),et(t,r,s.component?u?u.children:null:e,n,i),m&&u&&u.outlet&&u.outlet.isActivated&&i.canDeactivateChecks.push(new At(u.outlet.component,a))}else a&&tt(r,u,i),i.canActivateChecks.push(new dn(n)),et(t,null,s.component?u?u.children:null:e,n,i)})(a,s[a.value.outlet],e,n.concat([a.value]),i),delete s[a.value.outlet]}),Z(s,(a,u)=>tt(a,e.getContext(u),i)),i}function tt(t,r,e){const n=Le(t),i=t.value;Z(n,(s,a)=>{tt(s,i.component?r?r.children.getContext(a):null:r,e)}),e.canDeactivateChecks.push(new At(i.component&&r&&r.outlet&&r.outlet.isActivated?r.outlet.component:null,i))}function rt(t){return"function"==typeof t}function _r(t){return t instanceof S||"EmptyError"===t?.name}const Ot=Symbol("INITIAL_VALUE");function $e(){return(0,ne.w)(t=>L(t.map(r=>r.pipe((0,Ie.q)(1),function De(...t){const r=t[t.length-1];return(0,w.K)(r)?(t.pop(),e=>(0,K.z)(t,e,r)):e=>(0,K.z)(t,e)}(Ot)))).pipe((0,z.U)(r=>{for(const e of r)if(!0!==e){if(e===Ot)return Ot;if(!1===e||e instanceof ge)return e}return!0}),(0,se.h)(r=>r!==Ot),(0,Ie.q)(1)))}function fn(t){return(0,Ce.z)((0,X.b)(r=>{if(Ae(r))throw sn(0,r)}),(0,z.U)(r=>!0===r))}const Cr={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function pn(t,r,e,n,i){const s=Rr(t,r,e);return s.matched?function Bi(t,r,e,n){const i=r.canMatch;if(!i||0===i.length)return(0,b.of)(!0);const s=i.map(a=>{const u=Ne(a,t);return pe(function Pi(t){return t&&rt(t.canMatch)}(u)?u.canMatch(r,e):t.runInContext(()=>u(r,e)))});return(0,b.of)(s).pipe($e(),fn())}(n=cn(r,n),r,e).pipe((0,z.U)(a=>!0===a?s:{...Cr})):(0,b.of)(s)}function Rr(t,r,e){var n;if(""===r.path)return"full"===r.pathMatch&&(t.hasChildren()||e.length>0)?{...Cr}:{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};const s=(r.matcher||Qt)(e,t,r);if(!s)return{...Cr};const a={};Z(s.posParams,(m,O)=>{a[O]=m.path});const u=s.consumed.length>0?{...a,...s.consumed[s.consumed.length-1].parameters}:a;return{matched:!0,consumedSegments:s.consumed,remainingSegments:e.slice(s.consumed.length),parameters:u,positionalParamSegments:null!==(n=s.posParams)&&void 0!==n?n:{}}}function It(t,r,e,n,i="corrected"){if(e.length>0&&function Ki(t,r,e){return e.some(n=>Dt(t,r,n)&&oe(n)!==$)}(t,e,n)){const a=new F(r,function Vi(t,r,e,n){const i={};i[$]=n,n._sourceSegment=t,n._segmentIndexShift=r.length;for(const s of e)if(""===s.path&&oe(s)!==$){const a=new F([],{});a._sourceSegment=t,a._segmentIndexShift=r.length,i[oe(s)]=a}return i}(t,r,n,new F(e,t.children)));return a._sourceSegment=t,a._segmentIndexShift=r.length,{segmentGroup:a,slicedSegments:[]}}if(0===e.length&&function Gi(t,r,e){return e.some(n=>Dt(t,r,n))}(t,e,n)){const a=new F(t.segments,function Wi(t,r,e,n,i,s){const a={};for(const u of n)if(Dt(t,e,u)&&!i[oe(u)]){const m=new F([],{});m._sourceSegment=t,m._segmentIndexShift="legacy"===s?t.segments.length:r.length,a[oe(u)]=m}return{...i,...a}}(t,r,e,n,t.children,i));return a._sourceSegment=t,a._segmentIndexShift=r.length,{segmentGroup:a,slicedSegments:e}}const s=new F(t.segments,t.children);return s._sourceSegment=t,s._segmentIndexShift=r.length,{segmentGroup:s,slicedSegments:e}}function Dt(t,r,e){return(!(t.hasChildren()||r.length>0)||"full"!==e.pathMatch)&&""===e.path}function gn(t,r,e,n){return!!(oe(t)===n||n!==$&&Dt(r,e,t))&&("**"===t.path||Rr(r,t,e).matched)}function mn(t,r,e){return 0===r.length&&!t.children[e]}const Pt=!1;class Ut{constructor(r){this.segmentGroup=r||null}}class vn{constructor(r){this.urlTree=r}}function nt(t){return(0,re._)(new Ut(t))}function yn(t){return(0,re._)(new vn(t))}class Xi{constructor(r,e,n,i,s){this.injector=r,this.configLoader=e,this.urlSerializer=n,this.urlTree=i,this.config=s,this.allowRedirects=!0}apply(){const r=It(this.urlTree.root,[],[],this.config).segmentGroup,e=new F(r.segments,r.children);return this.expandSegmentGroup(this.injector,this.config,e,$).pipe((0,z.U)(s=>this.createUrlTree(Rt(s),this.urlTree.queryParams,this.urlTree.fragment))).pipe((0,fe.K)(s=>{if(s instanceof vn)return this.allowRedirects=!1,this.match(s.urlTree);throw s instanceof Ut?this.noMatchError(s):s}))}match(r){return this.expandSegmentGroup(this.injector,this.config,r.root,$).pipe((0,z.U)(i=>this.createUrlTree(Rt(i),r.queryParams,r.fragment))).pipe((0,fe.K)(i=>{throw i instanceof Ut?this.noMatchError(i):i}))}noMatchError(r){return new o.\u0275RuntimeError(4002,Pt)}createUrlTree(r,e,n){const i=sr(r);return new ge(i,e,n)}expandSegmentGroup(r,e,n,i){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(r,e,n).pipe((0,z.U)(s=>new F([],s))):this.expandSegment(r,n,e,n.segments,i,!0)}expandChildren(r,e,n){const i=[];for(const s of Object.keys(n.children))"primary"===s?i.unshift(s):i.push(s);return(0,c.D)(i).pipe((0,le.b)(s=>{const a=n.children[s],u=hn(e,s);return this.expandSegmentGroup(r,u,a,s).pipe((0,z.U)(m=>({segment:m,outlet:s})))}),Fe((s,a)=>(s[a.outlet]=a.segment,s),{}),ct())}expandSegment(r,e,n,i,s,a){return(0,c.D)(n).pipe((0,le.b)(u=>this.expandSegmentAgainstRoute(r,e,n,u,i,s,a).pipe((0,fe.K)(O=>{if(O instanceof Ut)return(0,b.of)(null);throw O}))),he(u=>!!u),(0,fe.K)((u,m)=>{if(_r(u))return mn(e,i,s)?(0,b.of)(new F([],{})):nt(e);throw u}))}expandSegmentAgainstRoute(r,e,n,i,s,a,u){return gn(i,e,s,a)?void 0===i.redirectTo?this.matchSegmentAgainstRoute(r,e,i,s,a):u&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(r,e,n,i,s,a):nt(e):nt(e)}expandSegmentAgainstRouteUsingRedirect(r,e,n,i,s,a){return"**"===i.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(r,n,i,a):this.expandRegularSegmentAgainstRouteUsingRedirect(r,e,n,i,s,a)}expandWildCardWithParamsAgainstRouteUsingRedirect(r,e,n,i){const s=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?yn(s):this.lineralizeSegments(n,s).pipe((0,ee.zg)(a=>{const u=new F(a,{});return this.expandSegment(r,u,e,a,i,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(r,e,n,i,s,a){const{matched:u,consumedSegments:m,remainingSegments:O,positionalParamSegments:P}=Rr(e,i,s);if(!u)return nt(e);const I=this.applyRedirectCommands(m,i.redirectTo,P);return i.redirectTo.startsWith("/")?yn(I):this.lineralizeSegments(i,I).pipe((0,ee.zg)(N=>this.expandSegment(r,e,n,N.concat(O),a,!1)))}matchSegmentAgainstRoute(r,e,n,i,s){return"**"===n.path?(r=cn(n,r),n.loadChildren?(n._loadedRoutes?(0,b.of)({routes:n._loadedRoutes,injector:n._loadedInjector}):this.configLoader.loadChildren(r,n)).pipe((0,z.U)(u=>(n._loadedRoutes=u.routes,n._loadedInjector=u.injector,new F(i,{})))):(0,b.of)(new F(i,{}))):pn(e,n,i,r).pipe((0,ne.w)(({matched:a,consumedSegments:u,remainingSegments:m})=>{var O;return a?(r=null!==(O=n._injector)&&void 0!==O?O:r,this.getChildConfig(r,n,i).pipe((0,ee.zg)(I=>{var N;const B=null!==(N=I.injector)&&void 0!==N?N:r,q=I.routes,{segmentGroup:ae,slicedSegments:ue}=It(e,u,m,q),ye=new F(ae.segments,ae.children);if(0===ue.length&&ye.hasChildren())return this.expandChildren(B,q,ye).pipe((0,z.U)(js=>new F(u,js)));if(0===q.length&&0===ue.length)return(0,b.of)(new F(u,{}));const Oe=oe(n)===s;return this.expandSegment(B,ye,q,ue,Oe?$:s,!0).pipe((0,z.U)(ce=>new F(u.concat(ce.segments),ce.children)))}))):nt(e)}))}getChildConfig(r,e,n){return e.children?(0,b.of)({routes:e.children,injector:r}):e.loadChildren?void 0!==e._loadedRoutes?(0,b.of)({routes:e._loadedRoutes,injector:e._loadedInjector}):function zi(t,r,e,n){const i=r.canLoad;if(void 0===i||0===i.length)return(0,b.of)(!0);const s=i.map(a=>{const u=Ne(a,t);return pe(function Ai(t){return t&&rt(t.canLoad)}(u)?u.canLoad(r,e):t.runInContext(()=>u(r,e)))});return(0,b.of)(s).pipe($e(),fn())}(r,e,n).pipe((0,ee.zg)(i=>i?this.configLoader.loadChildren(r,e).pipe((0,X.b)(s=>{e._loadedRoutes=s.routes,e._loadedInjector=s.injector})):function Yi(t){return(0,re._)(on(Pt,3))}())):(0,b.of)({routes:[],injector:r})}lineralizeSegments(r,e){let n=[],i=e.root;for(;;){if(n=n.concat(i.segments),0===i.numberOfChildren)return(0,b.of)(n);if(i.numberOfChildren>1||!i.children[$])return(0,re._)(new o.\u0275RuntimeError(4e3,Pt));i=i.children[$]}}applyRedirectCommands(r,e,n){return this.applyRedirectCreateUrlTree(e,this.urlSerializer.parse(e),r,n)}applyRedirectCreateUrlTree(r,e,n,i){const s=this.createSegmentGroup(r,e.root,n,i);return new ge(s,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(r,e){const n={};return Z(r,(i,s)=>{if("string"==typeof i&&i.startsWith(":")){const u=i.substring(1);n[s]=e[u]}else n[s]=i}),n}createSegmentGroup(r,e,n,i){const s=this.createSegments(r,e.segments,n,i);let a={};return Z(e.children,(u,m)=>{a[m]=this.createSegmentGroup(r,u,n,i)}),new F(s,a)}createSegments(r,e,n,i){return e.map(s=>s.path.startsWith(":")?this.findPosParam(r,s,i):this.findOrReturn(s,n))}findPosParam(r,e,n){const i=n[e.path.substring(1)];if(!i)throw new o.\u0275RuntimeError(4001,Pt);return i}findOrReturn(r,e){let n=0;for(const i of e){if(i.path===r.path)return e.splice(n),i;n++}return r}}class qi{}class rs{constructor(r,e,n,i,s,a,u,m){this.injector=r,this.rootComponentType=e,this.config=n,this.urlTree=i,this.url=s,this.paramsInheritanceStrategy=a,this.relativeLinkResolution=u,this.urlSerializer=m}recognize(){const r=It(this.urlTree.root,[],[],this.config.filter(e=>void 0===e.redirectTo),this.relativeLinkResolution).segmentGroup;return this.processSegmentGroup(this.injector,this.config,r,$).pipe((0,z.U)(e=>{if(null===e)return null;const n=new Xe([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},$,this.rootComponentType,null,this.urlTree.root,-1,{}),i=new ve(n,e),s=new pr(this.url,i);return this.inheritParamsAndData(s._root),s}))}inheritParamsAndData(r){const e=r.value,n=rn(e,this.paramsInheritanceStrategy);e.params=Object.freeze(n.params),e.data=Object.freeze(n.data),r.children.forEach(i=>this.inheritParamsAndData(i))}processSegmentGroup(r,e,n,i){return 0===n.segments.length&&n.hasChildren()?this.processChildren(r,e,n):this.processSegment(r,e,n,n.segments,i)}processChildren(r,e,n){return(0,c.D)(Object.keys(n.children)).pipe((0,le.b)(i=>{const s=n.children[i],a=hn(e,i);return this.processSegmentGroup(r,a,s,i)}),Fe((i,s)=>i&&s?(i.push(...s),i):null),function ht(t,r=!1){return e=>e.lift(new Kt(t,r))}(i=>null!==i),we(null),ct(),(0,z.U)(i=>{if(null===i)return null;const s=bn(i);return function ns(t){t.sort((r,e)=>r.value.outlet===$?-1:e.value.outlet===$?1:r.value.outlet.localeCompare(e.value.outlet))}(s),s}))}processSegment(r,e,n,i,s){return(0,c.D)(e).pipe((0,le.b)(a=>{var u;return this.processSegmentAgainstRoute(null!==(u=a._injector)&&void 0!==u?u:r,a,n,i,s)}),he(a=>!!a),(0,fe.K)(a=>{if(_r(a))return mn(n,i,s)?(0,b.of)([]):(0,b.of)(null);throw a}))}processSegmentAgainstRoute(r,e,n,i,s){if(e.redirectTo||!gn(e,n,i,s))return(0,b.of)(null);let a;if("**"===e.path){var u,m;const O=i.length>0?Pe(i).parameters:{},P=Sn(n)+i.length,I=new Xe(i,O,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Cn(e),oe(e),null!==(u=null!==(m=e.component)&&void 0!==m?m:e._loadedComponent)&&void 0!==u?u:null,e,En(n),P,Rn(e),P);a=(0,b.of)({snapshot:I,consumedSegments:[],remainingSegments:[]})}else a=pn(n,e,i,r).pipe((0,z.U)(({matched:O,consumedSegments:P,remainingSegments:I,parameters:N})=>{var B,q;if(!O)return null;const ae=Sn(n)+P.length;return{snapshot:new Xe(P,N,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Cn(e),oe(e),null!==(B=null!==(q=e.component)&&void 0!==q?q:e._loadedComponent)&&void 0!==B?B:null,e,En(n),ae,Rn(e),ae),consumedSegments:P,remainingSegments:I}}));return a.pipe((0,ne.w)(O=>{var P,I;if(null===O)return(0,b.of)(null);const{snapshot:N,consumedSegments:B,remainingSegments:q}=O;r=null!==(P=e._injector)&&void 0!==P?P:r;const ae=null!==(I=e._loadedInjector)&&void 0!==I?I:r,ue=function is(t){return t.children?t.children:t.loadChildren?t._loadedRoutes:[]}(e),{segmentGroup:ye,slicedSegments:Oe}=It(n,B,q,ue.filter(ce=>void 0===ce.redirectTo),this.relativeLinkResolution);if(0===Oe.length&&ye.hasChildren())return this.processChildren(ae,ue,ye).pipe((0,z.U)(ce=>null===ce?null:[new ve(N,ce)]));if(0===ue.length&&0===Oe.length)return(0,b.of)([new ve(N,[])]);const Vn=oe(e)===s;return this.processSegment(ae,ue,ye,Oe,Vn?$:s).pipe((0,z.U)(ce=>null===ce?null:[new ve(N,ce)]))}))}}function ss(t){const r=t.value.routeConfig;return r&&""===r.path&&void 0===r.redirectTo}function bn(t){const r=[],e=new Set;for(const n of t){if(!ss(n)){r.push(n);continue}const i=r.find(s=>n.value.routeConfig===s.value.routeConfig);void 0!==i?(i.children.push(...n.children),e.add(i)):r.push(n)}for(const n of e){const i=bn(n.children);r.push(new ve(n.value,i))}return r.filter(n=>!e.has(n))}function En(t){let r=t;for(;r._sourceSegment;)r=r._sourceSegment;return r}function Sn(t){var r;let e=t,n=null!==(r=e._segmentIndexShift)&&void 0!==r?r:0;for(;e._sourceSegment;){var i;e=e._sourceSegment,n+=null!==(i=e._segmentIndexShift)&&void 0!==i?i:0}return n-1}function Cn(t){return t.data||{}}function Rn(t){return t.resolve||{}}function wn(t){return"string"==typeof t.title||null===t.title}function wr(t){return(0,ne.w)(r=>{const e=t(r);return e?(0,c.D)(e).pipe((0,z.U)(()=>r)):(0,b.of)(r)})}let Tr=(()=>{class t{buildTitle(e){let n,i=e.root;for(;void 0!==i;){var s;n=null!==(s=this.getResolvedTitleForRoute(i))&&void 0!==s?s:n,i=i.children.find(a=>a.outlet===$)}return n}getResolvedTitleForRoute(e){return e.data[Te]}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=o.\u0275\u0275defineInjectable({token:t,factory:function(){return(0,o.inject)(Mr)},providedIn:"root"}),t})(),Mr=(()=>{class t extends Tr{constructor(e){super(),this.title=e}updateTitle(e){const n=this.buildTitle(e);void 0!==n&&this.title.setTitle(n)}}return t.\u0275fac=function(e){return new(e||t)(o.\u0275\u0275inject(Zt.Dx))},t.\u0275prov=o.\u0275\u0275defineInjectable({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();class Tn{}class Mn{shouldDetach(r){return!1}store(r,e){}shouldAttach(r){return!1}retrieve(r){return null}shouldReuseRoute(r,e){return r.routeConfig===e.routeConfig}}class fs extends Mn{}const it=new o.InjectionToken("",{providedIn:"root",factory:()=>({})}),Lt=new o.InjectionToken("ROUTES");let Ar=(()=>{class t{constructor(e,n){this.injector=e,this.compiler=n,this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap}loadComponent(e){if(this.componentLoaders.get(e))return this.componentLoaders.get(e);if(e._loadedComponent)return(0,b.of)(e._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(e);const n=pe(e.loadComponent()).pipe((0,X.b)(s=>{this.onLoadEndListener&&this.onLoadEndListener(e),e._loadedComponent=s}),(0,gt.x)(()=>{this.componentLoaders.delete(e)})),i=new st.c(n,()=>new be.xQ).pipe((0,mt.x)());return this.componentLoaders.set(e,i),i}loadChildren(e,n){if(this.childrenLoaders.get(n))return this.childrenLoaders.get(n);if(n._loadedRoutes)return(0,b.of)({routes:n._loadedRoutes,injector:n._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(n);const s=this.loadModuleFactoryOrRoutes(n.loadChildren).pipe((0,z.U)(u=>{this.onLoadEndListener&&this.onLoadEndListener(n);let m,O,P=!1;Array.isArray(u)?O=u:(m=u.create(e).injector,O=Be(m.get(Lt,[],o.InjectFlags.Self|o.InjectFlags.Optional)));return{routes:O.map(Sr),injector:m}}),(0,gt.x)(()=>{this.childrenLoaders.delete(n)})),a=new st.c(s,()=>new be.xQ).pipe((0,mt.x)());return this.childrenLoaders.set(n,a),a}loadModuleFactoryOrRoutes(e){return pe(e()).pipe((0,ee.zg)(n=>n instanceof o.NgModuleFactory||Array.isArray(n)?(0,b.of)(n):(0,c.D)(this.compiler.compileModuleAsync(n))))}}return t.\u0275fac=function(e){return new(e||t)(o.\u0275\u0275inject(o.Injector),o.\u0275\u0275inject(o.Compiler))},t.\u0275prov=o.\u0275\u0275defineInjectable({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();class On{}class gs{shouldProcessUrl(r){return!0}extract(r){return r}merge(r,e){return r}}function ms(t){throw t}function vs(t,r,e){return r.parse("/")}const ys={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},bs={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};function In(t,r){t.errorHandler&&(r.errorHandler=t.errorHandler),t.malformedUriErrorHandler&&(r.malformedUriErrorHandler=t.malformedUriErrorHandler),t.onSameUrlNavigation&&(r.onSameUrlNavigation=t.onSameUrlNavigation),t.paramsInheritanceStrategy&&(r.paramsInheritanceStrategy=t.paramsInheritanceStrategy),t.relativeLinkResolution&&(r.relativeLinkResolution=t.relativeLinkResolution),t.urlUpdateStrategy&&(r.urlUpdateStrategy=t.urlUpdateStrategy),t.canceledNavigationResolution&&(r.canceledNavigationResolution=t.canceledNavigationResolution)}function Dn(){var t,r;const e=(0,o.inject)(_t),n=(0,o.inject)(je),i=(0,o.inject)(ie.Location),s=(0,o.inject)(o.Injector),a=(0,o.inject)(o.Compiler),u=null!==(t=(0,o.inject)(Lt,{optional:!0}))&&void 0!==t?t:[],m=null!==(r=(0,o.inject)(it,{optional:!0}))&&void 0!==r?r:{},O=(0,o.inject)(Mr),P=(0,o.inject)(Tr,{optional:!0}),I=(0,o.inject)(On,{optional:!0}),N=(0,o.inject)(Tn,{optional:!0}),B=new Q(null,e,n,i,s,a,Be(u));return I&&(B.urlHandlingStrategy=I),N&&(B.routeReuseStrategy=N),B.titleStrategy=P??O,In(m,B),B}let Q=(()=>{class t{constructor(e,n,i,s,a,u,m){this.rootComponentType=e,this.urlSerializer=n,this.rootContexts=i,this.location=s,this.config=m,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new be.xQ,this.errorHandler=ms,this.malformedUriErrorHandler=vs,this.navigated=!1,this.lastSuccessfulId=-1,this.afterPreactivation=()=>(0,b.of)(void 0),this.urlHandlingStrategy=new gs,this.routeReuseStrategy=new fs,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.configLoader=a.get(Ar),this.configLoader.onLoadEndListener=N=>this.triggerEvent(new Yr(N)),this.configLoader.onLoadStartListener=N=>this.triggerEvent(new Zr(N)),this.ngModule=a.get(o.NgModuleRef),this.console=a.get(o.\u0275Console);const I=a.get(o.NgZone);this.isNgZoneEnabled=I instanceof o.NgZone&&o.NgZone.isInAngularZone(),this.resetConfig(m),this.currentUrlTree=function Jt(){return new ge(new F([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=tn(this.currentUrlTree,this.rootComponentType),this.transitions=new R.X({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}get browserPageId(){var e;return null===(e=this.location.getState())||void 0===e?void 0:e.\u0275routerPageId}setupNavigations(e){const n=this.events;return e.pipe((0,se.h)(i=>0!==i.id),(0,z.U)(i=>({...i,extractedUrl:this.urlHandlingStrategy.extract(i.rawUrl)})),(0,ne.w)(i=>{let s=!1,a=!1;return(0,b.of)(i).pipe((0,X.b)(u=>{this.currentNavigation={id:u.id,initialUrl:u.rawUrl,extractedUrl:u.extractedUrl,trigger:u.source,extras:u.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,ne.w)(u=>{const m=this.browserUrlTree.toString(),O=!this.navigated||u.extractedUrl.toString()!==m||m!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||O)&&this.urlHandlingStrategy.shouldProcessUrl(u.rawUrl))return Pn(u.source)&&(this.browserUrlTree=u.extractedUrl),(0,b.of)(u).pipe((0,ne.w)(I=>{const N=this.transitions.getValue();return n.next(new wt(I.id,this.serializeUrl(I.extractedUrl),I.source,I.restoredState)),N!==this.transitions.getValue()?Re.E:Promise.resolve(I)}),function Ji(t,r,e,n){return(0,ne.w)(i=>function Qi(t,r,e,n,i){return new Xi(t,r,e,n,i).apply()}(t,r,e,i.extractedUrl,n).pipe((0,z.U)(s=>({...i,urlAfterRedirects:s}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),(0,X.b)(I=>{this.currentNavigation={...this.currentNavigation,finalUrl:I.urlAfterRedirects},i.urlAfterRedirects=I.urlAfterRedirects}),function as(t,r,e,n,i,s){return(0,ee.zg)(a=>function ts(t,r,e,n,i,s,a="emptyOnly",u="legacy"){return new rs(t,r,e,n,i,a,u,s).recognize().pipe((0,ne.w)(m=>null===m?function es(t){return new A.y(r=>r.error(t))}(new qi):(0,b.of)(m)))}(t,r,e,a.urlAfterRedirects,n.serialize(a.urlAfterRedirects),n,i,s).pipe((0,z.U)(u=>({...a,targetSnapshot:u}))))}(this.ngModule.injector,this.rootComponentType,this.config,this.urlSerializer,this.paramsInheritanceStrategy,this.relativeLinkResolution),(0,X.b)(I=>{if(i.targetSnapshot=I.targetSnapshot,"eager"===this.urlUpdateStrategy){if(!I.extras.skipLocationChange){const B=this.urlHandlingStrategy.merge(I.urlAfterRedirects,I.rawUrl);this.setBrowserUrl(B,I)}this.browserUrlTree=I.urlAfterRedirects}const N=new Br(I.id,this.serializeUrl(I.extractedUrl),this.serializeUrl(I.urlAfterRedirects),I.targetSnapshot);n.next(N)}));if(O&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:N,extractedUrl:B,source:q,restoredState:ae,extras:ue}=u,ye=new wt(N,this.serializeUrl(B),q,ae);n.next(ye);const Oe=tn(B,this.rootComponentType).snapshot;return i={...u,targetSnapshot:Oe,urlAfterRedirects:B,extras:{...ue,skipLocationChange:!1,replaceUrl:!1}},(0,b.of)(i)}return this.rawUrlTree=u.rawUrl,u.resolve(null),Re.E}),(0,X.b)(u=>{const m=new Wr(u.id,this.serializeUrl(u.extractedUrl),this.serializeUrl(u.urlAfterRedirects),u.targetSnapshot);this.triggerEvent(m)}),(0,z.U)(u=>i={...u,guards:Ci(u.targetSnapshot,u.currentSnapshot,this.rootContexts)}),function xi(t,r){return(0,ee.zg)(e=>{const{targetSnapshot:n,currentSnapshot:i,guards:{canActivateChecks:s,canDeactivateChecks:a}}=e;return 0===a.length&&0===s.length?(0,b.of)({...e,guardsResult:!0}):function Li(t,r,e,n){return(0,c.D)(t).pipe((0,ee.zg)(i=>function Hi(t,r,e,n,i){const s=r&&r.routeConfig?r.routeConfig.canDeactivate:null;if(!s||0===s.length)return(0,b.of)(!0);const a=s.map(u=>{var m;const O=null!==(m=qe(r))&&void 0!==m?m:i,P=Ne(u,O);return pe(function Di(t){return t&&rt(t.canDeactivate)}(P)?P.canDeactivate(t,r,e,n):O.runInContext(()=>P(t,r,e,n))).pipe(he())});return(0,b.of)(a).pipe($e())}(i.component,i.route,e,r,n)),he(i=>!0!==i,!0))}(a,n,i,t).pipe((0,ee.zg)(u=>u&&function Mi(t){return"boolean"==typeof t}(u)?function ji(t,r,e,n){return(0,c.D)(r).pipe((0,le.b)(i=>(0,K.z)(function $i(t,r){return null!==t&&r&&r(new Qr(t)),(0,b.of)(!0)}(i.route.parent,n),function Ni(t,r){return null!==t&&r&&r(new Jr(t)),(0,b.of)(!0)}(i.route,n),function Fi(t,r,e){const n=r[r.length-1],s=r.slice(0,r.length-1).reverse().map(a=>function Ri(t){const r=t.routeConfig?t.routeConfig.canActivateChild:null;return r&&0!==r.length?{node:t,guards:r}:null}(a)).filter(a=>null!==a).map(a=>(0,te.P)(()=>{const u=a.guards.map(m=>{var O;const P=null!==(O=qe(a.node))&&void 0!==O?O:e,I=Ne(m,P);return pe(function Ii(t){return t&&rt(t.canActivateChild)}(I)?I.canActivateChild(n,t):P.runInContext(()=>I(n,t))).pipe(he())});return(0,b.of)(u).pipe($e())}));return(0,b.of)(s).pipe($e())}(t,i.path,e),function ki(t,r,e){const n=r.routeConfig?r.routeConfig.canActivate:null;if(!n||0===n.length)return(0,b.of)(!0);const i=n.map(s=>(0,te.P)(()=>{var a;const u=null!==(a=qe(r))&&void 0!==a?a:e,m=Ne(s,u);return pe(function Oi(t){return t&&rt(t.canActivate)}(m)?m.canActivate(r,t):u.runInContext(()=>m(r,t))).pipe(he())}));return(0,b.of)(i).pipe($e())}(t,i.route,e))),he(i=>!0!==i,!0))}(n,s,t,r):(0,b.of)(u)),(0,z.U)(u=>({...e,guardsResult:u})))})}(this.ngModule.injector,u=>this.triggerEvent(u)),(0,X.b)(u=>{if(i.guardsResult=u.guardsResult,Ae(u.guardsResult))throw sn(0,u.guardsResult);const m=new Vr(u.id,this.serializeUrl(u.extractedUrl),this.serializeUrl(u.urlAfterRedirects),u.targetSnapshot,!!u.guardsResult);this.triggerEvent(m)}),(0,se.h)(u=>!!u.guardsResult||(this.restoreHistory(u),this.cancelNavigationTransition(u,"",3),!1)),wr(u=>{if(u.guards.canActivateChecks.length)return(0,b.of)(u).pipe((0,X.b)(m=>{const O=new Kr(m.id,this.serializeUrl(m.extractedUrl),this.serializeUrl(m.urlAfterRedirects),m.targetSnapshot);this.triggerEvent(O)}),(0,ne.w)(m=>{let O=!1;return(0,b.of)(m).pipe(function ls(t,r){return(0,ee.zg)(e=>{const{targetSnapshot:n,guards:{canActivateChecks:i}}=e;if(!i.length)return(0,b.of)(e);let s=0;return(0,c.D)(i).pipe((0,le.b)(a=>function us(t,r,e,n){const i=t.routeConfig,s=t._resolve;return void 0!==i?.title&&!wn(i)&&(s[Te]=i.title),function cs(t,r,e,n){const i=function hs(t){return[...Object.keys(t),...Object.getOwnPropertySymbols(t)]}(t);if(0===i.length)return(0,b.of)({});const s={};return(0,c.D)(i).pipe((0,ee.zg)(a=>function ds(t,r,e,n){var i;const s=null!==(i=qe(r))&&void 0!==i?i:n,a=Ne(t,s);return pe(a.resolve?a.resolve(r,e):s.runInContext(()=>a(r,e)))}(t[a],r,e,n).pipe(he(),(0,X.b)(u=>{s[a]=u}))),(0,He.h)(1),function ft(t){return r=>r.lift(new pt(t))}(s),(0,fe.K)(a=>_r(a)?Re.E:(0,re._)(a)))}(s,t,r,n).pipe((0,z.U)(a=>(t._resolvedData=a,t.data=rn(t,e).resolve,i&&wn(i)&&(t.data[Te]=i.title),null)))}(a.route,n,t,r)),(0,X.b)(()=>s++),(0,He.h)(1),(0,ee.zg)(a=>s===i.length?(0,b.of)(e):Re.E))})}(this.paramsInheritanceStrategy,this.ngModule.injector),(0,X.b)({next:()=>O=!0,complete:()=>{O||(this.restoreHistory(m),this.cancelNavigationTransition(m,"",2))}}))}),(0,X.b)(m=>{const O=new Gr(m.id,this.serializeUrl(m.extractedUrl),this.serializeUrl(m.urlAfterRedirects),m.targetSnapshot);this.triggerEvent(O)}))}),wr(u=>{const m=O=>{var P;const I=[];null!==(P=O.routeConfig)&&void 0!==P&&P.loadComponent&&!O.routeConfig._loadedComponent&&I.push(this.configLoader.loadComponent(O.routeConfig).pipe((0,X.b)(N=>{O.component=N}),(0,z.U)(()=>{})));for(const N of O.children)I.push(...m(N));return I};return L(m(u.targetSnapshot.root)).pipe(we(),(0,Ie.q)(1))}),wr(()=>this.afterPreactivation()),(0,z.U)(u=>{const m=function fi(t,r,e){const n=Je(t,r._root,e?e._root:void 0);return new fr(n,r)}(this.routeReuseStrategy,u.targetSnapshot,u.currentRouterState);return i={...u,targetRouterState:m}}),(0,X.b)(u=>{this.currentUrlTree=u.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(u.urlAfterRedirects,u.rawUrl),this.routerState=u.targetRouterState,"deferred"===this.urlUpdateStrategy&&(u.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,u),this.browserUrlTree=u.urlAfterRedirects)}),((t,r,e)=>(0,z.U)(n=>(new _i(r,n.targetRouterState,n.currentRouterState,e).activate(t),n)))(this.rootContexts,this.routeReuseStrategy,u=>this.triggerEvent(u)),(0,X.b)({next(){s=!0},complete(){s=!0}}),(0,gt.x)(()=>{var u;s||a||this.cancelNavigationTransition(i,"",1),(null===(u=this.currentNavigation)||void 0===u?void 0:u.id)===i.id&&(this.currentNavigation=null)}),(0,fe.K)(u=>{if(a=!0,ln(u)){an(u)||(this.navigated=!0,this.restoreHistory(i,!0));const O=new Qe(i.id,this.serializeUrl(i.extractedUrl),u.message,u.cancellationCode);if(n.next(O),an(u)){const P=this.urlHandlingStrategy.merge(u.url,this.rawUrlTree),I={skipLocationChange:i.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||Pn(i.source)};this.scheduleNavigation(P,"imperative",null,I,{resolve:i.resolve,reject:i.reject,promise:i.promise})}else i.resolve(!1)}else{var m;this.restoreHistory(i,!0);const O=new ur(i.id,this.serializeUrl(i.extractedUrl),u,null!==(m=i.targetSnapshot)&&void 0!==m?m:void 0);n.next(O);try{i.resolve(this.errorHandler(u))}catch(P){i.reject(P)}}return Re.E}))}))}resetRootComponentType(e){this.rootComponentType=e,this.routerState.root.component=this.rootComponentType}setTransition(e){this.transitions.next({...this.transitions.value,...e})}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(e=>{const n="popstate"===e.type?"popstate":"hashchange";"popstate"===n&&setTimeout(()=>{var i;const s={replaceUrl:!0},a=null!==(i=e.state)&&void 0!==i&&i.navigationId?e.state:null;if(a){const m={...a};delete m.navigationId,delete m.\u0275routerPageId,0!==Object.keys(m).length&&(s.state=m)}const u=this.parseUrl(e.url);this.scheduleNavigation(u,n,a,s)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(e){this.events.next(e)}resetConfig(e){this.config=e.map(Sr),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(e,n={}){const{relativeTo:i,queryParams:s,fragment:a,queryParamsHandling:u,preserveFragment:m}=n,O=i||this.routerState.root,P=m?this.currentUrlTree.fragment:a;let I=null;switch(u){case"merge":I={...this.currentUrlTree.queryParams,...s};break;case"preserve":I=this.currentUrlTree.queryParams;break;default:I=s||null}return null!==I&&(I=this.removeEmptyProps(I)),function ii(t,r,e,n,i){var s;if(0===e.length)return Ue(r.root,r.root,r.root,n,i);const a=kr(e);if(a.toRoot())return Ue(r.root,r.root,new F([],{}),n,i);const m=function u(P){var I;const N=function oi(t,r,e,n){return t.isAbsolute?new xe(r.root,!0,0):-1===n?new xe(e,e===r.root,0):Fr(e,n+(Ge(t.commands[0])?0:1),t.numberOfDoubleDots)}(a,r,null===(I=t.snapshot)||void 0===I?void 0:I._urlSegment,P),B=N.processChildren?Ye(N.segmentGroup,N.index,a.commands):ar(N.segmentGroup,N.index,a.commands);return Ue(r.root,N.segmentGroup,B,n,i)}(null===(s=t.snapshot)||void 0===s?void 0:s._lastPathIndex);return m}(O,this.currentUrlTree,e,I,P??null)}navigateByUrl(e,n={skipLocationChange:!1}){const i=Ae(e)?e:this.parseUrl(e),s=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(s,"imperative",null,n)}navigate(e,n={skipLocationChange:!1}){return function Es(t){for(let r=0;r{const s=e[i];return null!=s&&(n[i]=s),n},{})}processNavigations(){this.navigations.subscribe(e=>{var n;this.navigated=!0,this.lastSuccessfulId=e.id,this.currentPageId=e.targetPageId,this.events.next(new Se(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,null===(n=this.titleStrategy)||void 0===n||n.updateTitle(this.routerState.snapshot),e.resolve(!0)},e=>{this.console.warn(`Unhandled Navigation Error: ${e}`)})}scheduleNavigation(e,n,i,s,a){if(this.disposed)return Promise.resolve(!1);let u,m,O;a?(u=a.resolve,m=a.reject,O=a.promise):O=new Promise((q,ae)=>{u=q,m=ae});const P=++this.navigationId;let I;if("computed"===this.canceledNavigationResolution)if(0===this.currentPageId&&(i=this.location.getState()),i&&i.\u0275routerPageId)I=i.\u0275routerPageId;else if(s.replaceUrl||s.skipLocationChange){var N;I=null!==(N=this.browserPageId)&&void 0!==N?N:0}else{var B;I=(null!==(B=this.browserPageId)&&void 0!==B?B:0)+1}else I=0;return this.setTransition({id:P,targetPageId:I,source:n,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:e,extras:s,resolve:u,reject:m,promise:O,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),O.catch(q=>Promise.reject(q))}setBrowserUrl(e,n){const i=this.urlSerializer.serialize(e),s={...n.extras.state,...this.generateNgRouterState(n.id,n.targetPageId)};this.location.isCurrentPathEqualTo(i)||n.extras.replaceUrl?this.location.replaceState(i,"",s):this.location.go(i,"",s)}restoreHistory(e,n=!1){if("computed"===this.canceledNavigationResolution){var i,s;const a=this.currentPageId-e.targetPageId;"popstate"!==e.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==(null===(i=this.currentNavigation)||void 0===i?void 0:i.finalUrl)||0===a?this.currentUrlTree===(null===(s=this.currentNavigation)||void 0===s?void 0:s.finalUrl)&&0===a&&(this.resetState(e),this.browserUrlTree=e.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(a)}else"replace"===this.canceledNavigationResolution&&(n&&this.resetState(e),this.resetUrlToCurrentUrlTree())}resetState(e){this.routerState=e.currentRouterState,this.currentUrlTree=e.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(e,n,i){const s=new Qe(e.id,this.serializeUrl(e.extractedUrl),n,i);this.triggerEvent(s),e.resolve(!1)}generateNgRouterState(e,n){return"computed"===this.canceledNavigationResolution?{navigationId:e,\u0275routerPageId:n}:{navigationId:e}}}return t.\u0275fac=function(e){o.\u0275\u0275invalidFactory()},t.\u0275prov=o.\u0275\u0275defineInjectable({token:t,factory:function(){return Dn()},providedIn:"root"}),t})();function Pn(t){return"imperative"!==t}let Nt=(()=>{class t{constructor(e,n,i,s,a){this.router=e,this.route=n,this.tabIndexAttribute=i,this.renderer=s,this.el=a,this._preserveFragment=!1,this._skipLocationChange=!1,this._replaceUrl=!1,this.commands=null,this.onChanges=new be.xQ,this.setTabIndexIfNotOnNativeEl("0")}set preserveFragment(e){this._preserveFragment=(0,o.\u0275coerceToBoolean)(e)}get preserveFragment(){return this._preserveFragment}set skipLocationChange(e){this._skipLocationChange=(0,o.\u0275coerceToBoolean)(e)}get skipLocationChange(){return this._skipLocationChange}set replaceUrl(e){this._replaceUrl=(0,o.\u0275coerceToBoolean)(e)}get replaceUrl(){return this._replaceUrl}setTabIndexIfNotOnNativeEl(e){if(null!=this.tabIndexAttribute)return;const n=this.renderer,i=this.el.nativeElement;null!==e?n.setAttribute(i,"tabindex",e):n.removeAttribute(i,"tabindex")}ngOnChanges(e){this.onChanges.next(this)}set routerLink(e){null!=e?(this.commands=Array.isArray(e)?e:[e],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(){return null===this.urlTree||this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!0}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})}}return t.\u0275fac=function(e){return new(e||t)(o.\u0275\u0275directiveInject(Q),o.\u0275\u0275directiveInject(_e),o.\u0275\u0275injectAttribute("tabindex"),o.\u0275\u0275directiveInject(o.Renderer2),o.\u0275\u0275directiveInject(o.ElementRef))},t.\u0275dir=o.\u0275\u0275defineDirective({type:t,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(e,n){1&e&&o.\u0275\u0275listener("click",function(){return n.onClick()})},inputs:{queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",routerLink:"routerLink"},standalone:!0,features:[o.\u0275\u0275NgOnChangesFeature]}),t})(),$t=(()=>{class t{constructor(e,n,i){this.router=e,this.route=n,this.locationStrategy=i,this._preserveFragment=!1,this._skipLocationChange=!1,this._replaceUrl=!1,this.commands=null,this.href=null,this.onChanges=new be.xQ,this.subscription=e.events.subscribe(s=>{s instanceof Se&&this.updateTargetUrlAndHref()})}set preserveFragment(e){this._preserveFragment=(0,o.\u0275coerceToBoolean)(e)}get preserveFragment(){return this._preserveFragment}set skipLocationChange(e){this._skipLocationChange=(0,o.\u0275coerceToBoolean)(e)}get skipLocationChange(){return this._skipLocationChange}set replaceUrl(e){this._replaceUrl=(0,o.\u0275coerceToBoolean)(e)}get replaceUrl(){return this._replaceUrl}set routerLink(e){this.commands=null!=e?Array.isArray(e)?e:[e]:null}ngOnChanges(e){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(e,n,i,s,a){return!!(0!==e||n||i||s||a||"string"==typeof this.target&&"_self"!=this.target||null===this.urlTree)||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!1)}updateTargetUrlAndHref(){this.href=null!==this.urlTree?this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null}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})}}return t.\u0275fac=function(e){return new(e||t)(o.\u0275\u0275directiveInject(Q),o.\u0275\u0275directiveInject(_e),o.\u0275\u0275directiveInject(ie.LocationStrategy))},t.\u0275dir=o.\u0275\u0275defineDirective({type:t,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(e,n){1&e&&o.\u0275\u0275listener("click",function(s){return n.onClick(s.button,s.ctrlKey,s.shiftKey,s.altKey,s.metaKey)}),2&e&&o.\u0275\u0275attribute("target",n.target)("href",n.href,o.\u0275\u0275sanitizeUrl)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",routerLink:"routerLink"},standalone:!0,features:[o.\u0275\u0275NgOnChangesFeature]}),t})(),Un=(()=>{class t{constructor(e,n,i,s,a,u){this.router=e,this.element=n,this.renderer=i,this.cdr=s,this.link=a,this.linkWithHref=u,this.classes=[],this.isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new o.EventEmitter,this.routerEventsSubscription=e.events.subscribe(m=>{m instanceof Se&&this.update()})}ngAfterContentInit(){(0,b.of)(this.links.changes,this.linksWithHrefs.changes,(0,b.of)(null)).pipe((0,ze.J)()).subscribe(e=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){var e;null===(e=this.linkInputChangesSubscription)||void 0===e||e.unsubscribe();const n=[...this.links.toArray(),...this.linksWithHrefs.toArray(),this.link,this.linkWithHref].filter(i=>!!i).map(i=>i.onChanges);this.linkInputChangesSubscription=(0,c.D)(n).pipe((0,ze.J)()).subscribe(i=>{this.isActive!==this.isLinkActive(this.router)(i)&&this.update()})}set routerLinkActive(e){const n=Array.isArray(e)?e:e.split(" ");this.classes=n.filter(i=>!!i)}ngOnChanges(e){this.update()}ngOnDestroy(){var e;this.routerEventsSubscription.unsubscribe(),null===(e=this.linkInputChangesSubscription)||void 0===e||e.unsubscribe()}update(){!this.links||!this.linksWithHrefs||!this.router.navigated||Promise.resolve().then(()=>{const e=this.hasActiveLinks();this.isActive!==e&&(this.isActive=e,this.cdr.markForCheck(),this.classes.forEach(n=>{e?this.renderer.addClass(this.element.nativeElement,n):this.renderer.removeClass(this.element.nativeElement,n)}),e&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this.isActiveChange.emit(e))})}isLinkActive(e){const n=function Ss(t){return!!t.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return i=>!!i.urlTree&&e.isActive(i.urlTree,n)}hasActiveLinks(){const e=this.isLinkActive(this.router);return this.link&&e(this.link)||this.linkWithHref&&e(this.linkWithHref)||this.links.some(e)||this.linksWithHrefs.some(e)}}return t.\u0275fac=function(e){return new(e||t)(o.\u0275\u0275directiveInject(Q),o.\u0275\u0275directiveInject(o.ElementRef),o.\u0275\u0275directiveInject(o.Renderer2),o.\u0275\u0275directiveInject(o.ChangeDetectorRef),o.\u0275\u0275directiveInject(Nt,8),o.\u0275\u0275directiveInject($t,8))},t.\u0275dir=o.\u0275\u0275defineDirective({type:t,selectors:[["","routerLinkActive",""]],contentQueries:function(e,n,i){if(1&e&&(o.\u0275\u0275contentQuery(i,Nt,5),o.\u0275\u0275contentQuery(i,$t,5)),2&e){let s;o.\u0275\u0275queryRefresh(s=o.\u0275\u0275loadQuery())&&(n.links=s),o.\u0275\u0275queryRefresh(s=o.\u0275\u0275loadQuery())&&(n.linksWithHrefs=s)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[o.\u0275\u0275NgOnChangesFeature]}),t})();class Or{}let _s=(()=>{class t{preload(e,n){return n().pipe((0,fe.K)(()=>(0,b.of)(null)))}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=o.\u0275\u0275defineInjectable({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Cs=(()=>{class t{preload(e,n){return(0,b.of)(null)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=o.\u0275\u0275defineInjectable({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),xn=(()=>{class t{constructor(e,n,i,s,a){this.router=e,this.injector=i,this.preloadingStrategy=s,this.loader=a}setUpPreloading(){this.subscription=this.router.events.pipe((0,se.h)(e=>e instanceof Se),(0,le.b)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,n){const i=[];for(const m of n){var s,a;m.providers&&!m._injector&&(m._injector=(0,o.createEnvironmentInjector)(m.providers,e,`Route: ${m.path}`));const O=null!==(s=m._injector)&&void 0!==s?s:e,P=null!==(a=m._loadedInjector)&&void 0!==a?a:O;if(m.loadChildren&&!m._loadedRoutes&&void 0===m.canLoad||m.loadComponent&&!m._loadedComponent)i.push(this.preloadConfig(O,m));else if(m.children||m._loadedRoutes){var u;i.push(this.processRoutes(P,null!==(u=m.children)&&void 0!==u?u:m._loadedRoutes))}}return(0,c.D)(i).pipe((0,ze.J)())}preloadConfig(e,n){return this.preloadingStrategy.preload(n,()=>{let i;i=n.loadChildren&&void 0===n.canLoad?this.loader.loadChildren(e,n):(0,b.of)(null);const s=i.pipe((0,ee.zg)(a=>{var u;return null===a?(0,b.of)(void 0):(n._loadedRoutes=a.routes,n._loadedInjector=a.injector,this.processRoutes(null!==(u=a.injector)&&void 0!==u?u:e,a.routes))}));if(n.loadComponent&&!n._loadedComponent){const a=this.loader.loadComponent(n);return(0,c.D)([s,a]).pipe((0,ze.J)())}return s})}}return t.\u0275fac=function(e){return new(e||t)(o.\u0275\u0275inject(Q),o.\u0275\u0275inject(o.Compiler),o.\u0275\u0275inject(o.EnvironmentInjector),o.\u0275\u0275inject(Or),o.\u0275\u0275inject(Ar))},t.\u0275prov=o.\u0275\u0275defineInjectable({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const Ir=new o.InjectionToken("");let Ln=(()=>{class t{constructor(e,n,i={}){this.router=e,this.viewportScroller=n,this.options=i,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},i.scrollPositionRestoration=i.scrollPositionRestoration||"disabled",i.anchorScrolling=i.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(e=>{e instanceof wt?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof Se&&(this.lastId=e.id,this.scheduleScrollEvent(e,this.router.parseUrl(e.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(e=>{e instanceof cr&&(e.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(e.position):e.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(e.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(e,n){this.router.triggerEvent(new cr(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,n))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return t.\u0275fac=function(e){o.\u0275\u0275invalidFactory()},t.\u0275prov=o.\u0275\u0275defineInjectable({token:t,factory:t.\u0275fac}),t})();function Rs(t,...r){return[Ft(t),{provide:_e,useFactory:jn,deps:[Q]},{provide:o.APP_BOOTSTRAP_LISTENER,multi:!0,useFactory:Nn},r.map(e=>e.\u0275providers)]}function jn(t){return t.routerState.root}function ke(t,r){return{\u0275kind:t,\u0275providers:r}}function Ft(t){return[{provide:Lt,multi:!0,useValue:t}]}function ws(t={}){return ke(4,[{provide:Ir,useFactory:()=>{const e=(0,o.inject)(Q),n=(0,o.inject)(ie.ViewportScroller);return new Ln(e,n,t)}}])}function Nn(){const t=(0,o.inject)(o.Injector);return r=>{var e,n;const i=t.get(o.ApplicationRef);if(r!==i.components[0])return;const s=t.get(Q),a=t.get($n);1===t.get(Dr)&&s.initialNavigation(),null===(e=t.get(zn,null,o.InjectFlags.Optional))||void 0===e||e.setUpPreloading(),null===(n=t.get(Ir,null,o.InjectFlags.Optional))||void 0===n||n.init(),s.resetRootComponentType(i.componentTypes[0]),a.closed||(a.next(),a.unsubscribe())}}const $n=new o.InjectionToken("",{factory:()=>new be.xQ}),Dr=new o.InjectionToken("",{providedIn:"root",factory:()=>1});function kn(){return ke(2,[{provide:Dr,useValue:0},{provide:o.APP_INITIALIZER,multi:!0,deps:[o.Injector],useFactory:r=>{const e=r.get(ie.LOCATION_INITIALIZED,Promise.resolve());let n=!1;return()=>e.then(()=>new Promise(s=>{const a=r.get(Q),u=r.get($n);(function i(s){r.get(Q).events.pipe((0,se.h)(u=>u instanceof Se||u instanceof Qe||u instanceof ur),(0,z.U)(u=>u instanceof Se||u instanceof Qe&&(0===u.code||1===u.code)&&null),(0,se.h)(u=>null!==u),(0,Ie.q)(1)).subscribe(()=>{s()})})(()=>{s(!0),n=!0}),a.afterPreactivation=()=>(s(!0),n||u.closed?(0,b.of)(void 0):u),a.initialNavigation()}))}}])}function Fn(){return ke(3,[{provide:o.APP_INITIALIZER,multi:!0,useFactory:()=>{const r=(0,o.inject)(Q);return()=>{r.setUpLocationChangeListener()}}},{provide:Dr,useValue:2}])}function Hn(){let t=[];return t=[],ke(1,t)}const zn=new o.InjectionToken("");function Pr(t){return ke(0,[{provide:zn,useExisting:xn},{provide:Or,useExisting:t}])}function Ts(t){return ke(5,[{provide:it,useValue:t}])}const Bn=new o.InjectionToken("ROUTER_FORROOT_GUARD"),Wn=[ie.Location,{provide:_t,useClass:g},{provide:Q,useFactory:Dn},je,{provide:_e,useFactory:jn,deps:[Q]},Ar];function Ms(){return new o.NgProbeToken("Router",Q)}let As=(()=>{class t{constructor(e){}static forRoot(e,n){return{ngModule:t,providers:[Wn,[],Ft(e),{provide:Bn,useFactory:Ps,deps:[[Q,new o.Optional,new o.SkipSelf]]},{provide:it,useValue:n||{}},null!=n&&n.useHash?{provide:ie.LocationStrategy,useClass:ie.HashLocationStrategy}:{provide:ie.LocationStrategy,useClass:ie.PathLocationStrategy},{provide:Ir,useFactory:()=>{const t=(0,o.inject)(Q),r=(0,o.inject)(ie.ViewportScroller),e=(0,o.inject)(it);return e.scrollOffset&&r.setOffset(e.scrollOffset),new Ln(t,r,e)}},null!=n&&n.preloadingStrategy?Pr(n.preloadingStrategy).\u0275providers:[],{provide:o.NgProbeToken,multi:!0,useFactory:Ms},null!=n&&n.initialNavigation?Us(n):[],[{provide:Ur,useFactory:Nn},{provide:o.APP_BOOTSTRAP_LISTENER,multi:!0,useExisting:Ur}]]}}static forChild(e){return{ngModule:t,providers:[Ft(e)]}}}return t.\u0275fac=function(e){return new(e||t)(o.\u0275\u0275inject(Bn,8))},t.\u0275mod=o.\u0275\u0275defineNgModule({type:t}),t.\u0275inj=o.\u0275\u0275defineInjector({imports:[Mt]}),t})();function Ps(t){return"guarded"}function Us(t){return["disabled"===t.initialNavigation?Fn().\u0275providers:[],"enabledBlocking"===t.initialNavigation?kn().\u0275providers:[]]}const Ur=new o.InjectionToken(""),Ls=new o.Version("14.3.0")}}]);