-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.23ab2635c3e7afc3.js
1 lines (1 loc) · 175 KB
/
main.23ab2635c3e7afc3.js
1
"use strict";(self.webpackChunkadmin=self.webpackChunkadmin||[]).push([[179],{903:()=>{function X(e){return"function"==typeof e}function jr(e){const n=e(r=>{Error.call(r),r.stack=(new Error).stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}const Yo=jr(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:\n${n.map((r,o)=>`${o+1}) ${r.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=n});function $r(e,t){if(e){const n=e.indexOf(t);0<=n&&e.splice(n,1)}}class et{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;const{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(const i of n)i.remove(this);else n.remove(this);const{initialTeardown:r}=this;if(X(r))try{r()}catch(i){t=i instanceof Yo?i.errors:[i]}const{_finalizers:o}=this;if(o){this._finalizers=null;for(const i of o)try{Hc(i)}catch(s){t=t??[],s instanceof Yo?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Yo(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Hc(t);else{if(t instanceof et){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(n=this._finalizers)&&void 0!==n?n:[]).push(t)}}_hasParent(t){const{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){const{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){const{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&$r(n,t)}remove(t){const{_finalizers:n}=this;n&&$r(n,t),t instanceof et&&t._removeParent(this)}}et.EMPTY=(()=>{const e=new et;return e.closed=!0,e})();const Uc=et.EMPTY;function Bc(e){return e instanceof et||e&&"closed"in e&&X(e.remove)&&X(e.add)&&X(e.unsubscribe)}function Hc(e){X(e)?e():e.unsubscribe()}const vn={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Ko={setTimeout(e,t,...n){const{delegate:r}=Ko;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){const{delegate:t}=Ko;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function zc(e){Ko.setTimeout(()=>{const{onUnhandledError:t}=vn;if(!t)throw e;t(e)})}function Gc(){}const fD=Ys("C",void 0,void 0);function Ys(e,t,n){return{kind:e,value:t,error:n}}let Dn=null;function Xo(e){if(vn.useDeprecatedSynchronousErrorHandling){const t=!Dn;if(t&&(Dn={errorThrown:!1,error:null}),e(),t){const{errorThrown:n,error:r}=Dn;if(Dn=null,n)throw r}}else e()}class Ks extends et{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Bc(t)&&t.add(this)):this.destination=DD}static create(t,n,r){return new Vr(t,n,r)}next(t){this.isStopped?Js(function pD(e){return Ys("N",e,void 0)}(t),this):this._next(t)}error(t){this.isStopped?Js(function hD(e){return Ys("E",void 0,e)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Js(fD,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const mD=Function.prototype.bind;function Xs(e,t){return mD.call(e,t)}class yD{constructor(t){this.partialObserver=t}next(t){const{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){Jo(r)}}error(t){const{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){Jo(r)}else Jo(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Jo(n)}}}class Vr extends Ks{constructor(t,n,r){let o;if(super(),X(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&vn.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&Xs(t.next,i),error:t.error&&Xs(t.error,i),complete:t.complete&&Xs(t.complete,i)}):o=t}this.destination=new yD(o)}}function Jo(e){vn.useDeprecatedSynchronousErrorHandling?function gD(e){vn.useDeprecatedSynchronousErrorHandling&&Dn&&(Dn.errorThrown=!0,Dn.error=e)}(e):zc(e)}function Js(e,t){const{onStoppedNotification:n}=vn;n&&Ko.setTimeout(()=>n(e,t))}const DD={closed:!0,next:Gc,error:function vD(e){throw e},complete:Gc},ea="function"==typeof Symbol&&Symbol.observable||"@@observable";function wn(e){return e}function Wc(e){return 0===e.length?wn:1===e.length?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}let ge=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){const r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){const i=function _D(e){return e&&e instanceof Ks||function CD(e){return e&&X(e.next)&&X(e.error)&&X(e.complete)}(e)&&Bc(e)}(n)?n:new Vr(n,r,o);return Xo(()=>{const{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return new(r=qc(r))((o,i)=>{const s=new Vr({next:a=>{try{n(a)}catch(u){i(u),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return null===(r=this.source)||void 0===r?void 0:r.subscribe(n)}[ea](){return this}pipe(...n){return Wc(n)(this)}toPromise(n){return new(n=qc(n))((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function qc(e){var t;return null!==(t=e??vn.Promise)&&void 0!==t?t:Promise}const ED=jr(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let Lt=(()=>{class e extends ge{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){const r=new Zc(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new ED}next(n){Xo(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const r of this.currentObservers)r.next(n)}})}error(n){Xo(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;const{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){Xo(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return(null===(n=this.observers)||void 0===n?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){const{hasError:r,isStopped:o,observers:i}=this;return r||o?Uc:(this.currentObservers=null,i.push(n),new et(()=>{this.currentObservers=null,$r(i,n)}))}_checkFinalizedStatuses(n){const{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){const n=new ge;return n.source=this,n}}return e.create=(t,n)=>new Zc(t,n),e})();class Zc extends Lt{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;null===(r=null===(n=this.destination)||void 0===n?void 0:n.next)||void 0===r||r.call(n,t)}error(t){var n,r;null===(r=null===(n=this.destination)||void 0===n?void 0:n.error)||void 0===r||r.call(n,t)}complete(){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===n||n.call(t)}_subscribe(t){var n,r;return null!==(r=null===(n=this.source)||void 0===n?void 0:n.subscribe(t))&&void 0!==r?r:Uc}}function Qc(e){return X(e?.lift)}function we(e){return t=>{if(Qc(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function Ce(e,t,n,r,o){return new SD(e,t,n,r,o)}class SD extends Ks{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(u){t.error(u)}}:super._next,this._error=o?function(a){try{o(a)}catch(u){t.error(u)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:n}=this;super.unsubscribe(),!n&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}}}function H(e,t){return we((n,r)=>{let o=0;n.subscribe(Ce(r,i=>{r.next(e.call(t,i,o++))}))})}function tn(e){return this instanceof tn?(this.v=e,this):new tn(e)}function Jc(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,t=e[Symbol.asyncIterator];return t?t.call(e):(e=function oa(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,u){!function o(i,s,a,u){Promise.resolve(u).then(function(l){i({value:l,done:a})},s)}(a,u,(s=e[i](s)).done,s.value)})}}}"function"==typeof SuppressedError&&SuppressedError;const ed=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function td(e){return X(e?.then)}function nd(e){return X(e[ea])}function rd(e){return Symbol.asyncIterator&&X(e?.[Symbol.asyncIterator])}function od(e){return new TypeError(`You provided ${null!==e&&"object"==typeof e?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const id=function WD(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function sd(e){return X(e?.[id])}function ad(e){return function Xc(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o,r=n.apply(e,t||[]),i=[];return o={},s("next"),s("throw"),s("return"),o[Symbol.asyncIterator]=function(){return this},o;function s(f){r[f]&&(o[f]=function(h){return new Promise(function(p,g){i.push([f,h,p,g])>1||a(f,h)})})}function a(f,h){try{!function u(f){f.value instanceof tn?Promise.resolve(f.value.v).then(l,c):d(i[0][2],f)}(r[f](h))}catch(p){d(i[0][3],p)}}function l(f){a("next",f)}function c(f){a("throw",f)}function d(f,h){f(h),i.shift(),i.length&&a(i[0][0],i[0][1])}}(this,arguments,function*(){const n=e.getReader();try{for(;;){const{value:r,done:o}=yield tn(n.read());if(o)return yield tn(void 0);yield yield tn(r)}}finally{n.releaseLock()}})}function ud(e){return X(e?.getReader)}function ct(e){if(e instanceof ge)return e;if(null!=e){if(nd(e))return function qD(e){return new ge(t=>{const n=e[ea]();if(X(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(ed(e))return function ZD(e){return new ge(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}(e);if(td(e))return function QD(e){return new ge(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,zc)})}(e);if(rd(e))return ld(e);if(sd(e))return function YD(e){return new ge(t=>{for(const n of e)if(t.next(n),t.closed)return;t.complete()})}(e);if(ud(e))return function KD(e){return ld(ad(e))}(e)}throw od(e)}function ld(e){return new ge(t=>{(function XD(e,t){var n,r,o,i;return function Yc(e,t,n,r){return new(n||(n=Promise))(function(i,s){function a(c){try{l(r.next(c))}catch(d){s(d)}}function u(c){try{l(r.throw(c))}catch(d){s(d)}}function l(c){c.done?i(c.value):function o(i){return i instanceof n?i:new n(function(s){s(i)})}(c.value).then(a,u)}l((r=r.apply(e,t||[])).next())})}(this,void 0,void 0,function*(){try{for(n=Jc(e);!(r=yield n.next()).done;)if(t.next(r.value),t.closed)return}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})})(e,t).catch(n=>t.error(n))})}function kt(e,t,n,r=0,o=!1){const i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function _e(e,t,n=1/0){return X(t)?_e((r,o)=>H((i,s)=>t(r,i,o,s))(ct(e(r,o))),n):("number"==typeof t&&(n=t),we((r,o)=>function JD(e,t,n,r,o,i,s,a){const u=[];let l=0,c=0,d=!1;const f=()=>{d&&!u.length&&!l&&t.complete()},h=g=>l<r?p(g):u.push(g),p=g=>{i&&t.next(g),l++;let y=!1;ct(n(g,c++)).subscribe(Ce(t,D=>{o?.(D),i?h(D):t.next(D)},()=>{y=!0},void 0,()=>{if(y)try{for(l--;u.length&&l<r;){const D=u.shift();s?kt(t,s,()=>p(D)):p(D)}f()}catch(D){t.error(D)}}))};return e.subscribe(Ce(t,h,()=>{d=!0,f()})),()=>{a?.()}}(r,o,e,n)))}function Un(e=1/0){return _e(wn,e)}const Et=new ge(e=>e.complete());function ia(e){return e[e.length-1]}function Ur(e){return function tw(e){return e&&X(e.schedule)}(ia(e))?e.pop():void 0}function cd(e,t=0){return we((n,r)=>{n.subscribe(Ce(r,o=>kt(r,e,()=>r.next(o),t),()=>kt(r,e,()=>r.complete(),t),o=>kt(r,e,()=>r.error(o),t)))})}function dd(e,t=0){return we((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function fd(e,t){if(!e)throw new Error("Iterable cannot be null");return new ge(n=>{kt(n,t,()=>{const r=e[Symbol.asyncIterator]();kt(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function me(e,t){return t?function lw(e,t){if(null!=e){if(nd(e))return function ow(e,t){return ct(e).pipe(dd(t),cd(t))}(e,t);if(ed(e))return function sw(e,t){return new ge(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}(e,t);if(td(e))return function iw(e,t){return ct(e).pipe(dd(t),cd(t))}(e,t);if(rd(e))return fd(e,t);if(sd(e))return function aw(e,t){return new ge(n=>{let r;return kt(n,t,()=>{r=e[id](),kt(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){return void n.error(s)}i?n.complete():n.next(o)},0,!0)}),()=>X(r?.return)&&r.return()})}(e,t);if(ud(e))return function uw(e,t){return fd(ad(e),t)}(e,t)}throw od(e)}(e,t):ct(e)}function sa(e,t,...n){if(!0===t)return void e();if(!1===t)return;const r=new Vr({next:()=>{r.unsubscribe(),e()}});return ct(t(...n)).subscribe(r)}function K(e){for(let t in e)if(e[t]===K)return t;throw Error("Could not find renamed property on target object.")}function J(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(J).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function ua(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const fw=K({__forward_ref__:K});function la(e){return e.__forward_ref__=la,e.toString=function(){return J(this())},e}function M(e){return ca(e)?e():e}function ca(e){return"function"==typeof e&&e.hasOwnProperty(fw)&&e.__forward_ref__===la}function da(e){return e&&!!e.\u0275providers}class w extends Error{constructor(t,n){super(ei(t,n)),this.code=t}}function ei(e,t){return`NG0${Math.abs(e)}${t?": "+t.trim():""}`}function Z(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():function O(e){return"string"==typeof e?e:null==e?"":String(e)}(e)}function ti(e,t){throw new w(-201,!1)}function tt(e,t){null==e&&function Q(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function P(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function rn(e){return{providers:e.providers||[],imports:e.imports||[]}}function ni(e){return pd(e,ri)||pd(e,md)}function pd(e,t){return e.hasOwnProperty(t)?e[t]:null}function gd(e){return e&&(e.hasOwnProperty(fa)||e.hasOwnProperty(ww))?e[fa]:null}const ri=K({\u0275prov:K}),fa=K({\u0275inj:K}),md=K({ngInjectableDef:K}),ww=K({ngInjectorDef:K});var T=(()=>((T=T||{})[T.Default=0]="Default",T[T.Host=1]="Host",T[T.Self=2]="Self",T[T.SkipSelf=4]="SkipSelf",T[T.Optional=8]="Optional",T))();let ha;function nt(e){const t=ha;return ha=e,t}function yd(e,t,n){const r=ni(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&T.Optional?null:void 0!==t?t:void ti(J(e))}const te=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),Br={},pa="__NG_DI_FLAG__",oi="ngTempTokenPath",_w="ngTokenPath",Ew=/\n/gm,Sw="\u0275",vd="__source";let Hr;function Bn(e){const t=Hr;return Hr=e,t}function Iw(e,t=T.Default){if(void 0===Hr)throw new w(-203,!1);return null===Hr?yd(e,void 0,t):Hr.get(e,t&T.Optional?null:void 0,t)}function A(e,t=T.Default){return(function Cw(){return ha}()||Iw)(M(e),t)}function z(e,t=T.Default){return A(e,ii(t))}function ii(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function ga(e){const t=[];for(let n=0;n<e.length;n++){const r=M(e[n]);if(Array.isArray(r)){if(0===r.length)throw new w(900,!1);let o,i=T.Default;for(let s=0;s<r.length;s++){const a=r[s],u=bw(a);"number"==typeof u?-1===u?o=a.token:i|=u:o=a}t.push(A(o,i))}else t.push(A(r))}return t}function zr(e,t){return e[pa]=t,e.prototype[pa]=t,e}function bw(e){return e[pa]}function jt(e){return{toString:e}.toString()}var St=(()=>((St=St||{})[St.OnPush=0]="OnPush",St[St.Default=1]="Default",St))(),It=(()=>{return(e=It||(It={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",It;var e})();const $t={},W=[],si=K({\u0275cmp:K}),ma=K({\u0275dir:K}),ya=K({\u0275pipe:K}),wd=K({\u0275mod:K}),Vt=K({\u0275fac:K}),Gr=K({__NG_ELEMENT_ID__:K});let Aw=0;function va(e){return jt(()=>{const t=_d(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===St.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,data:e.data||{},encapsulation:e.encapsulation||It.Emulated,id:"c"+Aw++,styles:e.styles||W,_:null,schemas:e.schemas||null,tView:null};Ed(n);const r=e.dependencies;return n.directiveDefs=ai(r,!1),n.pipeDefs=ai(r,!0),n})}function xw(e){return Y(e)||be(e)}function Nw(e){return null!==e}function Cn(e){return jt(()=>({type:e.type,bootstrap:e.bootstrap||W,declarations:e.declarations||W,imports:e.imports||W,exports:e.exports||W,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Cd(e,t){if(null==e)return $t;const n={};for(const r in e)if(e.hasOwnProperty(r)){let o=e[r],i=o;Array.isArray(o)&&(i=o[1],o=o[0]),n[o]=r,t&&(t[o]=i)}return n}function Ne(e){return jt(()=>{const t=_d(e);return Ed(t),t})}function Y(e){return e[si]||null}function be(e){return e[ma]||null}function Ve(e){return e[ya]||null}function qe(e,t){const n=e[wd]||null;if(!n&&!0===t)throw new Error(`Type ${J(e)} does not have '\u0275mod' property.`);return n}function _d(e){const t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,exportAs:e.exportAs||null,standalone:!0===e.standalone,selectors:e.selectors||W,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Cd(e.inputs,t),outputs:Cd(e.outputs)}}function Ed(e){e.features?.forEach(t=>t(e))}function ai(e,t){if(!e)return null;const n=t?Ve:xw;return()=>("function"==typeof e?e():e).map(r=>n(r)).filter(Nw)}const Ut=0,E=1,j=2,ie=3,dt=4,_n=5,Me=6,zn=7,ae=8,ui=9,li=10,V=11,Da=12,Wr=13,Sd=14,Gn=15,Te=16,qr=17,Wn=18,bt=19,Zr=20,Id=21,ne=22,wa=1,bd=2,ci=7,di=8,qn=9,Pe=10;function Ze(e){return Array.isArray(e)&&"object"==typeof e[wa]}function ft(e){return Array.isArray(e)&&!0===e[wa]}function Ca(e){return 0!=(4&e.flags)}function Qr(e){return e.componentOffset>-1}function ht(e){return!!e.template}function Ow(e){return 0!=(256&e[j])}function En(e,t){return e.hasOwnProperty(Vt)?e[Vt]:null}class kw{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function Sn(){return Ad}function Ad(e){return e.type.prototype.ngOnChanges&&(e.setInput=$w),jw}function jw(){const e=xd(this),t=e?.current;if(t){const n=e.previous;if(n===$t)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function $w(e,t,n,r){const o=this.declaredInputs[n],i=xd(e)||function Vw(e,t){return e[Rd]=t}(e,{previous:$t,current:null}),s=i.current||(i.current={}),a=i.previous,u=a[o];s[o]=new kw(u&&u.currentValue,t,a===$t),e[r]=t}Sn.ngInherit=!0;const Rd="__ngSimpleChanges__";function xd(e){return e[Rd]||null}const rt=function(e,t,n){};function Ee(e){for(;Array.isArray(e);)e=e[Ut];return e}function Qe(e,t){return Ee(t[e.index])}function Ue(e,t){const n=t[e];return Ze(n)?n:n[Ut]}function pi(e){return 64==(64&e[j])}function on(e,t){return null==t?null:e[t]}function Fd(e){e[Wn]=0}function Ea(e,t){e[_n]+=t;let n=e,r=e[ie];for(;null!==r&&(1===t&&1===n[_n]||-1===t&&0===n[_n]);)r[_n]+=t,n=r,r=r[ie]}const F={lFrame:Gd(null),bindingsEnabled:!0};function kd(){return F.bindingsEnabled}function v(){return F.lFrame.lView}function G(){return F.lFrame.tView}function Se(){let e=jd();for(;null!==e&&64===e.type;)e=e.parent;return e}function jd(){return F.lFrame.currentTNode}function Mt(e,t){const n=F.lFrame;n.currentTNode=e,n.isParent=t}function Sa(){return F.lFrame.isParent}function tC(e,t){const n=F.lFrame;n.bindingIndex=n.bindingRootIndex=e,ba(t)}function ba(e){F.lFrame.currentDirectiveIndex=e}function Ta(e){F.lFrame.currentQueryIndex=e}function rC(e){const t=e[E];return 2===t.type?t.declTNode:1===t.type?e[Me]:null}function Hd(e,t,n){if(n&T.SkipSelf){let o=t,i=e;for(;!(o=o.parent,null!==o||n&T.Host||(o=rC(i),null===o||(i=i[Gn],10&o.type))););if(null===o)return!1;t=o,e=i}const r=F.lFrame=zd();return r.currentTNode=t,r.lView=e,!0}function Aa(e){const t=zd(),n=e[E];F.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function zd(){const e=F.lFrame,t=null===e?null:e.child;return null===t?Gd(e):t}function Gd(e){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function Wd(){const e=F.lFrame;return F.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const qd=Wd;function Ra(){const e=Wd();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function In(e){F.lFrame.selectedIndex=e}function gi(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const i=e.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:u,ngAfterViewChecked:l,ngOnDestroy:c}=i;s&&(e.contentHooks??(e.contentHooks=[])).push(-n,s),a&&((e.contentHooks??(e.contentHooks=[])).push(n,a),(e.contentCheckHooks??(e.contentCheckHooks=[])).push(n,a)),u&&(e.viewHooks??(e.viewHooks=[])).push(-n,u),l&&((e.viewHooks??(e.viewHooks=[])).push(n,l),(e.viewCheckHooks??(e.viewCheckHooks=[])).push(n,l)),null!=c&&(e.destroyHooks??(e.destroyHooks=[])).push(n,c)}}function mi(e,t,n){Zd(e,t,3,n)}function yi(e,t,n,r){(3&e[j])===n&&Zd(e,t,n,r)}function xa(e,t){let n=e[j];(3&n)===t&&(n&=2047,n+=1,e[j]=n)}function Zd(e,t,n,r){const i=r??-1,s=t.length-1;let a=0;for(let u=void 0!==r?65535&e[Wn]:0;u<s;u++)if("number"==typeof t[u+1]){if(a=t[u],null!=r&&a>=r)break}else t[u]<0&&(e[Wn]+=65536),(a<i||-1==i)&&(fC(e,n,t,u),e[Wn]=(4294901760&e[Wn])+u+2),u++}function fC(e,t,n,r){const o=n[r]<0,i=n[r+1],a=e[o?-n[r]:n[r]];if(o){if(e[j]>>11<e[Wn]>>16&&(3&e[j])===t){e[j]+=2048,rt(4,a,i);try{i.call(a)}finally{rt(5,a,i)}}}else{rt(4,a,i);try{i.call(a)}finally{rt(5,a,i)}}}const Yn=-1;class Kr{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function Pa(e,t,n){let r=0;for(;r<n.length;){const o=n[r];if("number"==typeof o){if(0!==o)break;r++;const i=n[r++],s=n[r++],a=n[r++];e.setAttribute(t,s,a,i)}else{const i=o,s=n[++r];Yd(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function Qd(e){return 3===e||4===e||6===e}function Yd(e){return 64===e.charCodeAt(0)}function Xr(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){const o=t[r];"number"==typeof o?n=o:0===n||Kd(e,n,o,null,-1===n||2===n?t[++r]:null)}}return e}function Kd(e,t,n,r,o){let i=0,s=e.length;if(-1===t)s=-1;else for(;i<e.length;){const a=e[i++];if("number"==typeof a){if(a===t){s=-1;break}if(a>t){s=i-1;break}}}for(;i<e.length;){const a=e[i];if("number"==typeof a)break;if(a===n){if(null===r)return void(null!==o&&(e[i+1]=o));if(r===e[i+1])return void(e[i+2]=o)}i++,null!==r&&i++,null!==o&&i++}-1!==s&&(e.splice(s,0,t),i=s+1),e.splice(i++,0,n),null!==r&&e.splice(i++,0,r),null!==o&&e.splice(i++,0,o)}function Xd(e){return e!==Yn}function vi(e){return 32767&e}function Di(e,t){let n=function mC(e){return e>>16}(e),r=t;for(;n>0;)r=r[Gn],n--;return r}let Oa=!0;function wi(e){const t=Oa;return Oa=e,t}const Jd=255,ef=5;let yC=0;const Tt={};function Ci(e,t){const n=tf(e,t);if(-1!==n)return n;const r=t[E];r.firstCreatePass&&(e.injectorIndex=t.length,Fa(r.data,e),Fa(t,null),Fa(r.blueprint,null));const o=La(e,t),i=e.injectorIndex;if(Xd(o)){const s=vi(o),a=Di(o,t),u=a[E].data;for(let l=0;l<8;l++)t[i+l]=a[s+l]|u[s+l]}return t[i+8]=o,i}function Fa(e,t){e.push(0,0,0,0,0,0,0,0,t)}function tf(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function La(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;null!==o;){if(r=df(o),null===r)return Yn;if(n++,o=o[Gn],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return Yn}function ka(e,t,n){!function vC(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(Gr)&&(r=n[Gr]),null==r&&(r=n[Gr]=yC++);const o=r&Jd;t.data[e+(o>>ef)]|=1<<o}(e,t,n)}function nf(e,t,n){if(n&T.Optional||void 0!==e)return e;ti()}function rf(e,t,n,r){if(n&T.Optional&&void 0===r&&(r=null),!(n&(T.Self|T.Host))){const o=e[ui],i=nt(void 0);try{return o?o.get(t,r,n&T.Optional):yd(t,r,n&T.Optional)}finally{nt(i)}}return nf(r,0,n)}function sf(e,t,n,r=T.Default,o){if(null!==e){if(1024&t[j]){const s=function EC(e,t,n,r,o){let i=e,s=t;for(;null!==i&&null!==s&&1024&s[j]&&!(256&s[j]);){const a=af(i,s,n,r|T.Self,Tt);if(a!==Tt)return a;let u=i.parent;if(!u){const l=s[Id];if(l){const c=l.get(n,Tt,r);if(c!==Tt)return c}u=df(s),s=s[Gn]}i=u}return o}(e,t,n,r,Tt);if(s!==Tt)return s}const i=af(e,t,n,r,Tt);if(i!==Tt)return i}return rf(t,n,r,o)}function af(e,t,n,r,o){const i=function CC(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(Gr)?e[Gr]:void 0;return"number"==typeof t?t>=0?t&Jd:_C:t}(n);if("function"==typeof i){if(!Hd(t,e,r))return r&T.Host?nf(o,0,r):rf(t,n,r,o);try{const s=i(r);if(null!=s||r&T.Optional)return s;ti()}finally{qd()}}else if("number"==typeof i){let s=null,a=tf(e,t),u=Yn,l=r&T.Host?t[Te][Me]:null;for((-1===a||r&T.SkipSelf)&&(u=-1===a?La(e,t):t[a+8],u!==Yn&&lf(r,!1)?(s=t[E],a=vi(u),t=Di(u,t)):a=-1);-1!==a;){const c=t[E];if(uf(i,a,c.data)){const d=wC(a,t,n,s,r,l);if(d!==Tt)return d}u=t[a+8],u!==Yn&&lf(r,t[E].data[a+8]===l)&&uf(i,a,t)?(s=c,a=vi(u),t=Di(u,t)):a=-1}}return o}function wC(e,t,n,r,o,i){const s=t[E],a=s.data[e+8],c=function _i(e,t,n,r,o){const i=e.providerIndexes,s=t.data,a=1048575&i,u=e.directiveStart,c=i>>20,f=o?a+c:e.directiveEnd;for(let h=r?a:a+c;h<f;h++){const p=s[h];if(h<u&&n===p||h>=u&&p.type===n)return h}if(o){const h=s[u];if(h&&ht(h)&&h.type===n)return u}return null}(a,s,n,null==r?Qr(a)&&Oa:r!=s&&0!=(3&a.type),o&T.Host&&i===a);return null!==c?bn(t,s,c,a):Tt}function bn(e,t,n,r){let o=e[n];const i=t.data;if(function hC(e){return e instanceof Kr}(o)){const s=o;s.resolving&&function hw(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new w(-200,`Circular dependency in DI detected for ${e}${n}`)}(Z(i[n]));const a=wi(s.canSeeViewProviders);s.resolving=!0;const u=s.injectImpl?nt(s.injectImpl):null;Hd(e,r,T.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&function dC(e,t,n){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){const s=Ad(t);(n.preOrderHooks??(n.preOrderHooks=[])).push(e,s),(n.preOrderCheckHooks??(n.preOrderCheckHooks=[])).push(e,s)}o&&(n.preOrderHooks??(n.preOrderHooks=[])).push(0-e,o),i&&((n.preOrderHooks??(n.preOrderHooks=[])).push(e,i),(n.preOrderCheckHooks??(n.preOrderCheckHooks=[])).push(e,i))}(n,i[n],t)}finally{null!==u&&nt(u),wi(a),s.resolving=!1,qd()}}return o}function uf(e,t,n){return!!(n[t+(e>>ef)]&1<<e)}function lf(e,t){return!(e&T.Self||e&T.Host&&t)}class Kn{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return sf(this._tNode,this._lView,t,ii(r),n)}}function _C(){return new Kn(Se(),v())}function ja(e){return ca(e)?()=>{const t=ja(M(e));return t&&t()}:En(e)}function df(e){const t=e[E],n=t.type;return 2===n?t.declTNode:1===n?e[Me]:null}const Jn="__parameters__";function tr(e,t,n){return jt(()=>{const r=function $a(e){return function(...n){if(e){const r=e(...n);for(const o in r)this[o]=r[o]}}}(t);function o(...i){if(this instanceof o)return r.apply(this,i),this;const s=new o(...i);return a.annotation=s,a;function a(u,l,c){const d=u.hasOwnProperty(Jn)?u[Jn]:Object.defineProperty(u,Jn,{value:[]})[Jn];for(;d.length<=c;)d.push(null);return(d[c]=d[c]||[]).push(s),u}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}class R{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=P({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function Mn(e,t){e.forEach(n=>Array.isArray(n)?Mn(n,t):t(n))}function hf(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Si(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}const no=zr(tr("Optional"),8),ro=zr(tr("SkipSelf"),4);var Be=(()=>((Be=Be||{})[Be.Important=1]="Important",Be[Be.DashCase=2]="DashCase",Be))();const qa=new Map;let QC=0;const Qa="__ngContext__";function Ae(e,t){Ze(t)?(e[Qa]=t[Zr],function KC(e){qa.set(e[Zr],e)}(t)):e[Qa]=t}let Ya;function Ka(e,t){return Ya(e,t)}function ao(e){const t=e[ie];return ft(t)?t[ie]:t}function Xa(e){return Of(e[Wr])}function Ja(e){return Of(e[dt])}function Of(e){for(;null!==e&&!ft(e);)e=e[dt];return e}function or(e,t,n,r,o){if(null!=r){let i,s=!1;ft(r)?i=r:Ze(r)&&(s=!0,r=r[Ut]);const a=Ee(r);0===e&&null!==n?null==o?Vf(t,n,a):Tn(t,n,a,o||null,!0):1===e&&null!==n?Tn(t,n,a,o||null,!0):2===e?function su(e,t,n){const r=Ti(e,t);r&&function y_(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}(t,a,s):3===e&&t.destroyNode(a),null!=i&&function w_(e,t,n,r,o){const i=n[ci];i!==Ee(n)&&or(t,e,r,i,o);for(let a=Pe;a<n.length;a++){const u=n[a];uo(u[E],u,e,t,r,i)}}(t,e,i,n,o)}}function tu(e,t,n){return e.createElement(t,n)}function Lf(e,t){const n=e[qn],r=n.indexOf(t),o=t[ie];512&t[j]&&(t[j]&=-513,Ea(o,-1)),n.splice(r,1)}function nu(e,t){if(e.length<=Pe)return;const n=Pe+t,r=e[n];if(r){const o=r[qr];null!==o&&o!==e&&Lf(o,r),t>0&&(e[n-1][dt]=r[dt]);const i=Si(e,Pe+t);!function l_(e,t){uo(e,t,t[V],2,null,null),t[Ut]=null,t[Me]=null}(r[E],r);const s=i[bt];null!==s&&s.detachView(i[E]),r[ie]=null,r[dt]=null,r[j]&=-65}return r}function kf(e,t){if(!(128&t[j])){const n=t[V];n.destroyNode&&uo(e,t,n,3,null,null),function f_(e){let t=e[Wr];if(!t)return ru(e[E],e);for(;t;){let n=null;if(Ze(t))n=t[Wr];else{const r=t[Pe];r&&(n=r)}if(!n){for(;t&&!t[dt]&&t!==e;)Ze(t)&&ru(t[E],t),t=t[ie];null===t&&(t=e),Ze(t)&&ru(t[E],t),n=t&&t[dt]}t=n}}(t)}}function ru(e,t){if(!(128&t[j])){t[j]&=-65,t[j]|=128,function m_(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r<n.length;r+=2){const o=t[n[r]];if(!(o instanceof Kr)){const i=n[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){const a=o[i[s]],u=i[s+1];rt(4,a,u);try{u.call(a)}finally{rt(5,a,u)}}else{rt(4,o,i);try{i.call(o)}finally{rt(5,o,i)}}}}}(e,t),function g_(e,t){const n=e.cleanup,r=t[zn];let o=-1;if(null!==n)for(let i=0;i<n.length-1;i+=2)if("string"==typeof n[i]){const s=n[i+3];s>=0?r[o=s]():r[o=-s].unsubscribe(),i+=2}else{const s=r[o=n[i+1]];n[i].call(s)}if(null!==r){for(let i=o+1;i<r.length;i++)(0,r[i])();t[zn]=null}}(e,t),1===t[E].type&&t[V].destroy();const n=t[qr];if(null!==n&&ft(t[ie])){n!==t[ie]&&Lf(n,t);const r=t[bt];null!==r&&r.detachView(e)}!function XC(e){qa.delete(e[Zr])}(t)}}function jf(e,t,n){return function $f(e,t,n){let r=t;for(;null!==r&&40&r.type;)r=(t=r).parent;if(null===r)return n[Ut];{const{componentOffset:o}=r;if(o>-1){const{encapsulation:i}=e.data[r.directiveStart+o];if(i===It.None||i===It.Emulated)return null}return Qe(r,n)}}(e,t.parent,n)}function Tn(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Vf(e,t,n){e.appendChild(t,n)}function Uf(e,t,n,r,o){null!==r?Tn(e,t,n,r,o):Vf(e,t,n)}function Ti(e,t){return e.parentNode(t)}let ou,lu,zf=function Hf(e,t,n){return 40&e.type?Qe(e,n):null};function Ai(e,t,n,r){const o=jf(e,r,t),i=t[V],a=function Bf(e,t,n){return zf(e,t,n)}(r.parent||t[Me],r,t);if(null!=o)if(Array.isArray(n))for(let u=0;u<n.length;u++)Uf(i,o,n[u],a,!1);else Uf(i,o,n,a,!1);void 0!==ou&&ou(i,r,t,n,o)}function Ri(e,t){if(null!==t){const n=t.type;if(3&n)return Qe(t,e);if(4&n)return iu(-1,e[t.index]);if(8&n){const r=t.child;if(null!==r)return Ri(e,r);{const o=e[t.index];return ft(o)?iu(-1,o):Ee(o)}}if(32&n)return Ka(t,e)()||Ee(e[t.index]);{const r=Wf(e,t);return null!==r?Array.isArray(r)?r[0]:Ri(ao(e[Te]),r):Ri(e,t.next)}}return null}function Wf(e,t){return null!==t?e[Te][Me].projection[t.projection]:null}function iu(e,t){const n=Pe+e+1;if(n<t.length){const r=t[n],o=r[E].firstChild;if(null!==o)return Ri(r,o)}return t[ci]}function au(e,t,n,r,o,i,s){for(;null!=n;){const a=r[n.index],u=n.type;if(s&&0===t&&(a&&Ae(Ee(a),r),n.flags|=2),32!=(32&n.flags))if(8&u)au(e,t,n.child,r,o,i,!1),or(t,e,o,a,i);else if(32&u){const l=Ka(n,r);let c;for(;c=l();)or(t,e,o,c,i);or(t,e,o,a,i)}else 16&u?qf(e,t,r,n,o,i):or(t,e,o,a,i);n=s?n.projectionNext:n.next}}function uo(e,t,n,r,o,i){au(n,r,e.firstChild,t,o,i,!1)}function qf(e,t,n,r,o,i){const s=n[Te],u=s[Me].projection[r.projection];if(Array.isArray(u))for(let l=0;l<u.length;l++)or(t,e,o,u[l],i);else au(e,t,u,s[ie],o,i,!0)}function Zf(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Qf(e,t,n){const{mergedAttrs:r,classes:o,styles:i}=n;null!==r&&Pa(e,t,r),null!==o&&Zf(e,t,o),null!==i&&function __(e,t,n){e.setAttribute(t,"style",n)}(e,t,i)}const Oi=new R("ENVIRONMENT_INITIALIZER"),ch=new R("INJECTOR",-1),dh=new R("INJECTOR_DEF_TYPES");class fh{get(t,n=Br){if(n===Br){const r=new Error(`NullInjectorError: No provider for ${J(t)}!`);throw r.name="NullInjectorError",r}return n}}function Q_(...e){return{\u0275providers:hh(0,e),\u0275fromNgModule:!0}}function hh(e,...t){const n=[],r=new Set;let o;return Mn(t,i=>{const s=i;gu(s,n,[],r)&&(o||(o=[]),o.push(s))}),void 0!==o&&ph(o,n),n}function ph(e,t){for(let n=0;n<e.length;n++){const{providers:o}=e[n];mu(o,i=>{t.push(i)})}}function gu(e,t,n,r){if(!(e=M(e)))return!1;let o=null,i=gd(e);const s=!i&&Y(e);if(i||s){if(s&&!s.standalone)return!1;o=e}else{const u=e.ngModule;if(i=gd(u),!i)return!1;o=u}const a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){const u="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const l of u)gu(l,t,n,r)}}else{if(!i)return!1;{if(null!=i.imports&&!a){let l;r.add(o);try{Mn(i.imports,c=>{gu(c,t,n,r)&&(l||(l=[]),l.push(c))})}finally{}void 0!==l&&ph(l,t)}if(!a){const l=En(o)||(()=>new o);t.push({provide:o,useFactory:l,deps:W},{provide:dh,useValue:o,multi:!0},{provide:Oi,useValue:()=>A(o),multi:!0})}const u=i.providers;null==u||a||mu(u,c=>{t.push(c)})}}return o!==e&&void 0!==e.providers}function mu(e,t){for(let n of e)da(n)&&(n=n.\u0275providers),Array.isArray(n)?mu(n,t):t(n)}const Y_=K({provide:String,useValue:K});function yu(e){return null!==e&&"object"==typeof e&&Y_ in e}function An(e){return"function"==typeof e}const vu=new R("Set Injector scope."),Fi={},X_={};let Du;function Li(){return void 0===Du&&(Du=new fh),Du}class Gt{}class yh extends Gt{get destroyed(){return this._destroyed}constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Cu(t,s=>this.processProvider(s)),this.records.set(ch,sr(void 0,this)),o.has("environment")&&this.records.set(Gt,sr(void 0,this));const i=this.records.get(vu);null!=i&&"string"==typeof i.value&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(dh.multi,W,T.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();for(const t of this._onDestroyHooks)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(t){this._onDestroyHooks.push(t)}runInContext(t){this.assertNotDestroyed();const n=Bn(this),r=nt(void 0);try{return t()}finally{Bn(n),nt(r)}}get(t,n=Br,r=T.Default){this.assertNotDestroyed(),r=ii(r);const o=Bn(this),i=nt(void 0);try{if(!(r&T.SkipSelf)){let a=this.records.get(t);if(void 0===a){const u=function rE(e){return"function"==typeof e||"object"==typeof e&&e instanceof R}(t)&&ni(t);a=u&&this.injectableDefInScope(u)?sr(wu(t),Fi):null,this.records.set(t,a)}if(null!=a)return this.hydrate(t,a)}return(r&T.Self?Li():this.parent).get(t,n=r&T.Optional&&n===Br?null:n)}catch(s){if("NullInjectorError"===s.name){if((s[oi]=s[oi]||[]).unshift(J(t)),o)throw s;return function Mw(e,t,n,r){const o=e[oi];throw t[vd]&&o.unshift(t[vd]),e.message=function Tw(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&e.charAt(1)==Sw?e.slice(2):e;let o=J(t);if(Array.isArray(t))o=t.map(J).join(" -> ");else if("object"==typeof t){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];i.push(s+":"+("string"==typeof a?JSON.stringify(a):J(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(Ew,"\n ")}`}("\n"+e.message,o,n,r),e[_w]=o,e[oi]=null,e}(s,t,"R3InjectorError",this.source)}throw s}finally{nt(i),Bn(o)}}resolveInjectorInitializers(){const t=Bn(this),n=nt(void 0);try{const r=this.get(Oi.multi,W,T.Self);for(const o of r)o()}finally{Bn(t),nt(n)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(J(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new w(205,!1)}processProvider(t){let n=An(t=M(t))?t:M(t&&t.provide);const r=function eE(e){return yu(e)?sr(void 0,e.useValue):sr(function vh(e,t,n){let r;if(An(e)){const o=M(e);return En(o)||wu(o)}if(yu(e))r=()=>M(e.useValue);else if(function mh(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...ga(e.deps||[]));else if(function gh(e){return!(!e||!e.useExisting)}(e))r=()=>A(M(e.useExisting));else{const o=M(e&&(e.useClass||e.provide));if(!function tE(e){return!!e.deps}(e))return En(o)||wu(o);r=()=>new o(...ga(e.deps))}return r}(e),Fi)}(t);if(An(t)||!0!==t.multi)this.records.get(n);else{let o=this.records.get(n);o||(o=sr(void 0,Fi,!0),o.factory=()=>ga(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===Fi&&(n.value=X_,n.value=n.factory()),"object"==typeof n.value&&n.value&&function nE(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=M(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}}function wu(e){const t=ni(e),n=null!==t?t.factory:En(e);if(null!==n)return n;if(e instanceof R)throw new w(204,!1);if(e instanceof Function)return function J_(e){const t=e.length;if(t>0)throw function to(e,t){const n=[];for(let r=0;r<e;r++)n.push(t);return n}(t,"?"),new w(204,!1);const n=function Dw(e){return e&&(e[ri]||e[md])||null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new w(204,!1)}function sr(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Cu(e,t){for(const n of e)Array.isArray(n)?Cu(n,t):n&&da(n)?Cu(n.\u0275providers,t):t(n)}class oE{}class Dh{}class sE{resolveComponentFactory(t){throw function iE(e){const t=Error(`No component factory found for ${J(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let ho=(()=>{class e{}return e.NULL=new sE,e})();function aE(){return ar(Se(),v())}function ar(e,t){return new an(Qe(e,t))}let an=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=aE,e})();class Ch{}let cE=(()=>{class e{}return e.\u0275prov=P({token:e,providedIn:"root",factory:()=>null}),e})();class ji{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const dE=new ji("15.2.9"),_u={},Eu="ngOriginalError";function Su(e){return e[Eu]}class ur{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&Su(t);for(;n&&Su(n);)n=Su(n);return n||null}}function Wt(e){return e instanceof Function?e():e}function Eh(e,t,n){let r=e.length;for(;;){const o=e.indexOf(t,n);if(-1===o)return o;if(0===o||e.charCodeAt(o-1)<=32){const i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}const Sh="ng-template";function _E(e,t,n){let r=0,o=!0;for(;r<e.length;){let i=e[r++];if("string"==typeof i&&o){const s=e[r++];if(n&&"class"===i&&-1!==Eh(s.toLowerCase(),t,0))return!0}else{if(1===i){for(;r<e.length&&"string"==typeof(i=e[r++]);)if(i.toLowerCase()===t)return!0;return!1}"number"==typeof i&&(o=!1)}}return!1}function Ih(e){return 4===e.type&&e.value!==Sh}function EE(e,t,n){return t===(4!==e.type||n?e.value:Sh)}function SE(e,t,n){let r=4;const o=e.attrs||[],i=function ME(e){for(let t=0;t<e.length;t++)if(Qd(e[t]))return t;return e.length}(o);let s=!1;for(let a=0;a<t.length;a++){const u=t[a];if("number"!=typeof u){if(!s)if(4&r){if(r=2|1&r,""!==u&&!EE(e,u,n)||""===u&&1===t.length){if(pt(r))return!1;s=!0}}else{const l=8&r?u:t[++a];if(8&r&&null!==e.attrs){if(!_E(e.attrs,l,n)){if(pt(r))return!1;s=!0}continue}const d=IE(8&r?"class":u,o,Ih(e),n);if(-1===d){if(pt(r))return!1;s=!0;continue}if(""!==l){let f;f=d>i?"":o[d+1].toLowerCase();const h=8&r?f:null;if(h&&-1!==Eh(h,l,0)||2&r&&l!==f){if(pt(r))return!1;s=!0}}}}else{if(!s&&!pt(r)&&!pt(u))return!1;if(s&&pt(u))continue;s=!1,r=u|1&r}}return pt(r)||s}function pt(e){return 0==(1&e)}function IE(e,t,n,r){if(null===t)return-1;let o=0;if(r||!n){let i=!1;for(;o<t.length;){const s=t[o];if(s===e)return o;if(3===s||6===s)i=!0;else{if(1===s||2===s){let a=t[++o];for(;"string"==typeof a;)a=t[++o];continue}if(4===s)break;if(0===s){o+=4;continue}}o+=i?1:2}return-1}return function TE(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const r=e[n];if("number"==typeof r)return-1;if(r===t)return n;n++}return-1}(t,e)}function bh(e,t,n=!1){for(let r=0;r<t.length;r++)if(SE(e,t[r],n))return!0;return!1}function Mh(e,t){return e?":not("+t.trim()+")":t}function RE(e){let t=e[0],n=1,r=2,o="",i=!1;for(;n<e.length;){let s=e[n];if("string"==typeof s)if(2&r){const a=e[++n];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else 8&r?o+="."+s:4&r&&(o+=" "+s);else""!==o&&!pt(s)&&(t+=Mh(i,o),o=""),r=s,i=i||!pt(r);n++}return""!==o&&(t+=Mh(i,o)),t}const L={};function Nh(e,t=null,n=null,r){const o=Ph(e,t,n,r);return o.resolveInjectorInitializers(),o}function Ph(e,t=null,n=null,r,o=new Set){const i=[n||W,Q_(e)];return r=r||("object"==typeof e?void 0:J(e)),new yh(i,t||Li(),r||null,o)}let qt=(()=>{class e{static create(n,r){if(Array.isArray(n))return Nh({name:""},r,n,"");{const o=n.name??"";return Nh({name:o},n.parent,n.providers,o)}}}return e.THROW_IF_NOT_FOUND=Br,e.NULL=new fh,e.\u0275prov=P({token:e,providedIn:"any",factory:()=>A(ch)}),e.__NG_ELEMENT_ID__=-1,e})();function x(e,t=T.Default){const n=v();return null===n?A(e,t):sf(Se(),n,M(e),t)}function Uh(e,t){const n=e.contentQueries;if(null!==n)for(let r=0;r<n.length;r+=2){const i=n[r+1];if(-1!==i){const s=e.data[i];Ta(n[r]),s.contentQueries(2,t[i],i)}}}function Vi(e,t,n,r,o,i,s,a,u,l,c){const d=t.blueprint.slice();return d[Ut]=o,d[j]=76|r,(null!==c||e&&1024&e[j])&&(d[j]|=1024),Fd(d),d[ie]=d[Gn]=e,d[ae]=n,d[li]=s||e&&e[li],d[V]=a||e&&e[V],d[Da]=u||e&&e[Da]||null,d[ui]=l||e&&e[ui]||null,d[Me]=i,d[Zr]=function YC(){return QC++}(),d[Id]=c,d[Te]=2==t.type?e[Te]:d,d}function dr(e,t,n,r,o){let i=e.data[t];if(null===i)i=function Au(e,t,n,r,o){const i=jd(),s=Sa(),u=e.data[t]=function rS(e,t,n,r,o,i){return{type:n,index:r,insertBeforeIndex:null,injectorIndex:t?t.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:0,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,s?i:i&&i.parent,n,t,r,o);return null===e.firstChild&&(e.firstChild=u),null!==i&&(s?null==i.child&&null!==u.parent&&(i.child=u):null===i.next&&(i.next=u,u.prev=i)),u}(e,t,n,r,o),function eC(){return F.lFrame.inI18n}()&&(i.flags|=32);else if(64&i.type){i.type=n,i.value=r,i.attrs=o;const s=function Yr(){const e=F.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();i.injectorIndex=null===s?-1:s.injectorIndex}return Mt(i,!0),i}function po(e,t,n,r){if(0===n)return-1;const o=t.length;for(let i=0;i<n;i++)t.push(r),e.blueprint.push(r),e.data.push(null);return o}function Ru(e,t,n){Aa(t);try{const r=e.viewQuery;null!==r&&$u(1,r,n);const o=e.template;null!==o&&Bh(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&Uh(e,t),e.staticViewQueries&&$u(2,e.viewQuery,n);const i=e.components;null!==i&&function eS(e,t){for(let n=0;n<t.length;n++)ES(e,t[n])}(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[j]&=-5,Ra()}}function Ui(e,t,n,r){const o=t[j];if(128!=(128&o)){Aa(t);try{Fd(t),function Vd(e){return F.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&Bh(e,t,n,2,r);const s=3==(3&o);if(s){const l=e.preOrderCheckHooks;null!==l&&mi(t,l,null)}else{const l=e.preOrderHooks;null!==l&&yi(t,l,0,null),xa(t,0)}if(function CS(e){for(let t=Xa(e);null!==t;t=Ja(t)){if(!t[bd])continue;const n=t[qn];for(let r=0;r<n.length;r++){const o=n[r];512&o[j]||Ea(o[ie],1),o[j]|=512}}}(t),function wS(e){for(let t=Xa(e);null!==t;t=Ja(t))for(let n=Pe;n<t.length;n++){const r=t[n],o=r[E];pi(r)&&Ui(o,r,o.template,r[ae])}}(t),null!==e.contentQueries&&Uh(e,t),s){const l=e.contentCheckHooks;null!==l&&mi(t,l)}else{const l=e.contentHooks;null!==l&&yi(t,l,1),xa(t,1)}!function XE(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let r=0;r<n.length;r++){const o=n[r];if(o<0)In(~o);else{const i=o,s=n[++r],a=n[++r];tC(s,i),a(2,t[i])}}}finally{In(-1)}}(e,t);const a=e.components;null!==a&&function JE(e,t){for(let n=0;n<t.length;n++)_S(e,t[n])}(t,a);const u=e.viewQuery;if(null!==u&&$u(2,u,r),s){const l=e.viewCheckHooks;null!==l&&mi(t,l)}else{const l=e.viewHooks;null!==l&&yi(t,l,2),xa(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[j]&=-41,512&t[j]&&(t[j]&=-513,Ea(t[ie],-1))}finally{Ra()}}}function Bh(e,t,n,r,o){const i=function Fe(){return F.lFrame.selectedIndex}(),s=2&r;try{In(-1),s&&t.length>ne&&function Th(e,t,n,r){if(!r)if(3==(3&t[j])){const i=e.preOrderCheckHooks;null!==i&&mi(t,i,n)}else{const i=e.preOrderHooks;null!==i&&yi(t,i,0,n)}In(n)}(e,t,ne,!1),rt(s?2:0,o),n(r,o)}finally{In(i),rt(s?3:1,o)}}function xu(e,t,n){if(Ca(t)){const o=t.directiveEnd;for(let i=t.directiveStart;i<o;i++){const s=e.data[i];s.contentQueries&&s.contentQueries(1,n[i],i)}}}function Hh(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=Ou(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function Ou(e,t,n,r,o,i,s,a,u,l){const c=ne+r,d=c+o,f=function tS(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:L);return n}(c,d),h="function"==typeof l?l():l;return f[E]={type:e,blueprint:f,template:n,queries:null,viewQuery:a,declTNode:t,data:f.slice().fill(null,c),bindingStartIndex:c,expandoStartIndex:d,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof i?i():i,pipeRegistry:"function"==typeof s?s():s,firstChild:null,schemas:u,consts:h,incompleteFirstPass:!1}}function zh(e,t,n,r){const o=function Yh(e){return e[zn]||(e[zn]=[])}(t);null===n?o.push(r):(o.push(n),e.firstCreatePass&&function Kh(e){return e.cleanup||(e.cleanup=[])}(e).push(r,o.length-1))}function Gh(e,t,n,r){for(let o in e)if(e.hasOwnProperty(o)){n=null===n?{}:n;const i=e[o];null===r?Wh(n,t,o,i):r.hasOwnProperty(o)&&Wh(n,t,r[o],i)}return n}function Wh(e,t,n,r){e.hasOwnProperty(n)?e[n].push(t,r):e[n]=[t,r]}function qh(e,t,n,r,o,i){for(let l=0;l<r.length;l++)ka(Ci(n,t),e,r[l].type);!function gS(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}(n,e.data.length,r.length);for(let l=0;l<r.length;l++){const c=r[l];c.providersResolver&&c.providersResolver(c)}let s=!1,a=!1,u=po(e,t,r.length,null);for(let l=0;l<r.length;l++){const c=r[l];n.mergedAttrs=Xr(n.mergedAttrs,c.hostAttrs),mS(e,n,t,u,c),pS(u,c,o),null!==c.contentQueries&&(n.flags|=4),(null!==c.hostBindings||null!==c.hostAttrs||0!==c.hostVars)&&(n.flags|=64);const d=c.type.prototype;!s&&(d.ngOnChanges||d.ngOnInit||d.ngDoCheck)&&((e.preOrderHooks??(e.preOrderHooks=[])).push(n.index),s=!0),!a&&(d.ngOnChanges||d.ngDoCheck)&&((e.preOrderCheckHooks??(e.preOrderCheckHooks=[])).push(n.index),a=!0),u++}!function oS(e,t,n){const o=t.directiveEnd,i=e.data,s=t.attrs,a=[];let u=null,l=null;for(let c=t.directiveStart;c<o;c++){const d=i[c],f=n?n.get(d):null,p=f?f.outputs:null;u=Gh(d.inputs,c,u,f?f.inputs:null),l=Gh(d.outputs,c,l,p);const g=null===u||null===s||Ih(t)?null:DS(u,c,s);a.push(g)}null!==u&&(u.hasOwnProperty("class")&&(t.flags|=8),u.hasOwnProperty("style")&&(t.flags|=16)),t.initialInputs=a,t.inputs=u,t.outputs=l}(e,n,i)}function Zh(e,t,n){const r=n.directiveStart,o=n.directiveEnd,i=n.index,s=function nC(){return F.lFrame.currentDirectiveIndex}();try{In(i);for(let a=r;a<o;a++){const u=e.data[a],l=t[a];ba(a),(null!==u.hostBindings||0!==u.hostVars||null!==u.hostAttrs)&&dS(u,l)}}finally{In(-1),ba(s)}}function dS(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Lu(e,t,n){t.componentOffset=n,(e.components??(e.components=[])).push(t.index)}function pS(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;ht(t)&&(n[""]=e)}}function mS(e,t,n,r,o){e.data[r]=o;const i=o.factory||(o.factory=En(o.type)),s=new Kr(i,ht(o),x);e.blueprint[r]=s,n[r]=s,function uS(e,t,n,r,o){const i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;null===s&&(s=e.hostBindingOpCodes=[]);const a=~t.index;(function lS(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(s)!=a&&s.push(a),s.push(n,r,i)}}(e,t,r,po(e,n,o.hostVars,L),o)}function vS(e,t,n,r,o,i){const s=i[t];if(null!==s){const a=r.setInput;for(let u=0;u<s.length;){const l=s[u++],c=s[u++],d=s[u++];null!==a?r.setInput(n,d,l,c):n[c]=d}}}function DS(e,t,n){let r=null,o=0;for(;o<n.length;){const i=n[o];if(0!==i)if(5!==i){if("number"==typeof i)break;if(e.hasOwnProperty(i)){null===r&&(r=[]);const s=e[i];for(let a=0;a<s.length;a+=2)if(s[a]===t){r.push(i,s[a+1],n[o+1]);break}}o+=2}else o+=2;else o+=4}return r}function _S(e,t){const n=Ue(t,e);if(pi(n)){const r=n[E];48&n[j]?Ui(r,n,r.template,n[ae]):n[_n]>0&&ju(n)}}function ju(e){for(let r=Xa(e);null!==r;r=Ja(r))for(let o=Pe;o<r.length;o++){const i=r[o];if(pi(i))if(512&i[j]){const s=i[E];Ui(s,i,s.template,i[ae])}else i[_n]>0&&ju(i)}const n=e[E].components;if(null!==n)for(let r=0;r<n.length;r++){const o=Ue(n[r],e);pi(o)&&o[_n]>0&&ju(o)}}function ES(e,t){const n=Ue(t,e),r=n[E];(function SS(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])})(r,n),Ru(r,n,n[ae])}function Bi(e,t){return e[Wr]?e[Sd][dt]=t:e[Wr]=t,e[Sd]=t,t}function Hi(e){for(;e;){e[j]|=32;const t=ao(e);if(Ow(e)&&!t)return e;e=t}return null}function zi(e,t,n,r=!0){const o=t[li];o.begin&&o.begin();try{Ui(e,t,e.template,n)}catch(s){throw r&&function Jh(e,t){const n=e[ui],r=n?n.get(ur,null):null;r&&r.handleError(t)}(t,s),s}finally{o.end&&o.end()}}function $u(e,t,n){Ta(0),t(e,n)}function Vu(e,t,n,r,o){for(let i=0;i<n.length;){const s=n[i++],a=n[i++],u=t[s],l=e.data[s];null!==l.setInput?l.setInput(u,o,r,a):u[a]=o}}function Gi(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(null!==t)for(let s=0;s<t.length;s++){const a=t[s];"number"==typeof a?i=a:1==i?o=ua(o,a):2==i&&(r=ua(r,a+": "+t[++s]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function Wi(e,t,n,r,o=!1){for(;null!==n;){const i=t[n.index];if(null!==i&&r.push(Ee(i)),ft(i))for(let a=Pe;a<i.length;a++){const u=i[a],l=u[E].firstChild;null!==l&&Wi(u[E],u,l,r)}const s=n.type;if(8&s)Wi(e,t,n.child,r);else if(32&s){const a=Ka(n,t);let u;for(;u=a();)r.push(u)}else if(16&s){const a=Wf(t,n);if(Array.isArray(a))r.push(...a);else{const u=ao(t[Te]);Wi(u[E],u,a,r,!0)}}n=o?n.projectionNext:n.next}return r}class go{get rootNodes(){const t=this._lView,n=t[E];return Wi(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[ae]}set context(t){this._lView[ae]=t}get destroyed(){return 128==(128&this._lView[j])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[ie];if(ft(t)){const n=t[di],r=n?n.indexOf(this):-1;r>-1&&(nu(t,r),Si(n,r))}this._attachedToViewContainer=!1}kf(this._lView[E],this._lView)}onDestroy(t){zh(this._lView[E],this._lView,null,t)}markForCheck(){Hi(this._cdRefInjectingView||this._lView)}detach(){this._lView[j]&=-65}reattach(){this._lView[j]|=64}detectChanges(){zi(this._lView[E],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new w(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function d_(e,t){uo(e,t,t[V],2,null,null)}(this._lView[E],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new w(902,!1);this._appRef=t}}class IS extends go{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;zi(t[E],t,t[ae],!1)}checkNoChanges(){}get context(){return null}}class ep extends ho{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=Y(t);return new mo(n,this.ngModule)}}function tp(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class MS{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=ii(r);const o=this.injector.get(t,_u,r);return o!==_u||n===_u?o:this.parentInjector.get(t,n,r)}}class mo extends Dh{get inputs(){return tp(this.componentDef.inputs)}get outputs(){return tp(this.componentDef.outputs)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function xE(e){return e.map(RE).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,r,o){let i=(o=o||this.ngModule)instanceof Gt?o:o?.injector;i&&null!==this.componentDef.getStandaloneInjector&&(i=this.componentDef.getStandaloneInjector(i)||i);const s=i?new MS(t,i):t,a=s.get(Ch,null);if(null===a)throw new w(407,!1);const u=s.get(cE,null),l=a.createRenderer(null,this.componentDef),c=this.componentDef.selectors[0][0]||"div",d=r?function nS(e,t,n){return e.selectRootElement(t,n===It.ShadowDom)}(l,r,this.componentDef.encapsulation):tu(l,c,function bS(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(c)),f=this.componentDef.onPush?288:272,h=Ou(0,null,null,1,0,null,null,null,null,null),p=Vi(null,h,null,f,null,null,a,l,u,s,null);let g,y;Aa(p);try{const D=this.componentDef;let _,m=null;D.findHostDirectiveDefs?(_=[],m=new Map,D.findHostDirectiveDefs(D,_,m),_.push(D)):_=[D];const S=function AS(e,t){const n=e[E],r=ne;return e[r]=t,dr(n,r,2,"#host",null)}(p,d),q=function RS(e,t,n,r,o,i,s,a){const u=o[E];!function xS(e,t,n,r){for(const o of e)t.mergedAttrs=Xr(t.mergedAttrs,o.hostAttrs);null!==t.mergedAttrs&&(Gi(t,t.mergedAttrs,!0),null!==n&&Qf(r,n,t))}(r,e,t,s);const l=i.createRenderer(t,n),c=Vi(o,Hh(n),null,n.onPush?32:16,o[e.index],e,i,l,a||null,null,null);return u.firstCreatePass&&Lu(u,e,r.length-1),Bi(o,c),o[e.index]=c}(S,d,D,_,p,a,l);y=function Od(e,t){return e.data[t]}(h,ne),d&&function PS(e,t,n,r){if(r)Pa(e,n,["ng-version",dE.full]);else{const{attrs:o,classes:i}=function NE(e){const t=[],n=[];let r=1,o=2;for(;r<e.length;){let i=e[r];if("string"==typeof i)2===o?""!==i&&t.push(i,e[++r]):8===o&&n.push(i);else{if(!pt(o))break;o=i}r++}return{attrs:t,classes:n}}(t.selectors[0]);o&&Pa(e,n,o),i&&i.length>0&&Zf(e,n,i.join(" "))}}(l,D,d,r),void 0!==n&&function OS(e,t,n){const r=e.projection=[];for(let o=0;o<t.length;o++){const i=n[o];r.push(null!=i?Array.from(i):null)}}(y,this.ngContentSelectors,n),g=function NS(e,t,n,r,o,i){const s=Se(),a=o[E],u=Qe(s,o);qh(a,o,s,n,null,r);for(let c=0;c<n.length;c++)Ae(bn(o,a,s.directiveStart+c,s),o);Zh(a,o,s),u&&Ae(u,o);const l=bn(o,a,s.directiveStart+s.componentOffset,s);if(e[ae]=o[ae]=l,null!==i)for(const c of i)c(l,t);return xu(a,s,e),l}(q,D,_,m,p,[FS]),Ru(h,p,null)}finally{Ra()}return new TS(this.componentType,g,ar(y,p),p,y)}}class TS extends oE{constructor(t,n,r,o,i){super(),this.location=r,this._rootLView=o,this._tNode=i,this.instance=n,this.hostView=this.changeDetectorRef=new IS(o),this.componentType=t}setInput(t,n){const r=this._tNode.inputs;let o;if(null!==r&&(o=r[t])){const i=this._rootLView;Vu(i[E],i,o,t,n),Hi(Ue(this._tNode.index,i))}}get injector(){return new Kn(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function FS(){const e=Se();gi(v()[E],e)}function zu(e,t,n,r,o){const s=o?"class":"style";Vu(e,n,t.inputs[s],s,r)}function gt(e,t,n,r){const o=v(),i=G(),s=ne+e,a=o[V],u=i.firstCreatePass?function JS(e,t,n,r,o,i){const s=t.consts,u=dr(t,e,2,r,on(s,o));return function Fu(e,t,n,r){if(kd()){const o=null===r?null:{"":-1},i=function fS(e,t){const n=e.directiveRegistry;let r=null,o=null;if(n)for(let i=0;i<n.length;i++){const s=n[i];if(bh(t,s.selectors,!1))if(r||(r=[]),ht(s))if(null!==s.findHostDirectiveDefs){const a=[];o=o||new Map,s.findHostDirectiveDefs(s,a,o),r.unshift(...a,s),Lu(e,t,a.length)}else r.unshift(s),Lu(e,t,0);else o=o||new Map,s.findHostDirectiveDefs?.(s,r,o),r.push(s)}return null===r?null:[r,o]}(e,n);let s,a;null===i?s=a=null:[s,a]=i,null!==s&&qh(e,t,n,s,o,a),o&&function hS(e,t,n){if(t){const r=e.localNames=[];for(let o=0;o<t.length;o+=2){const i=n[t[o+1]];if(null==i)throw new w(-301,!1);r.push(t[o],i)}}}(n,r,o)}n.mergedAttrs=Xr(n.mergedAttrs,n.attrs)}(t,n,u,on(s,i)),null!==u.attrs&&Gi(u,u.attrs,!1),null!==u.mergedAttrs&&Gi(u,u.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,u),u}(s,i,o,t,n,r):i.data[s],l=o[s]=tu(a,t,function cC(){return F.lFrame.currentNamespace}()),c=function fi(e){return 1==(1&e.flags)}(u);return Mt(u,!0),Qf(a,l,u),32!=(32&u.flags)&&Ai(i,o,l,u),0===function Ww(){return F.lFrame.elementDepthCount}()&&Ae(l,o),function qw(){F.lFrame.elementDepthCount++}(),c&&(function Nu(e,t,n){kd()&&(function cS(e,t,n,r){const o=n.directiveStart,i=n.directiveEnd;Qr(n)&&function yS(e,t,n){const r=Qe(t,e),o=Hh(n),i=e[li],s=Bi(e,Vi(e,o,null,n.onPush?32:16,r,t,i,i.createRenderer(r,n),null,null,null));e[t.index]=s}(t,n,e.data[o+n.componentOffset]),e.firstCreatePass||Ci(n,t),Ae(r,t);const s=n.initialInputs;for(let a=o;a<i;a++){const u=e.data[a],l=bn(t,e,a,n);Ae(l,t),null!==s&&vS(0,a-o,l,u,0,s),ht(u)&&(Ue(n.index,t)[ae]=bn(t,e,a,n))}}(e,t,n,Qe(n,t)),64==(64&n.flags)&&Zh(e,t,n))}(i,o,u),xu(i,u,o)),null!==r&&function Pu(e,t,n=Qe){const r=t.localNames;if(null!==r){let o=t.index+1;for(let i=0;i<r.length;i+=2){const s=r[i+1],a=-1===s?n(t,e):e[s];e[o++]=a}}}(o,u),gt}function st(){let e=Se();Sa()?function Ia(){F.lFrame.isParent=!1}():(e=e.parent,Mt(e,!1));const t=e;!function Zw(){F.lFrame.elementDepthCount--}();const n=G();return n.firstCreatePass&&(gi(n,e),Ca(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function pC(e){return 0!=(8&e.flags)}(t)&&zu(n,t,v(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function gC(e){return 0!=(16&e.flags)}(t)&&zu(n,t,v(),t.stylesWithoutHost,!1),st}function xn(e,t,n,r){return gt(e,t,n,r),st(),xn}function Qi(e){return!!e&&"function"==typeof e.then}const Dp=function vp(e){return!!e&&"function"==typeof e.subscribe};function ln(e,t=""){const n=v(),r=G(),o=e+ne,i=r.firstCreatePass?dr(r,o,1,t,null):r.data[o],s=n[o]=function eu(e,t){return e.createText(t)}(n[V],t);Ai(r,n,s,i),Mt(i,!1)}const Er="en-US";let mg=Er;class Sr{}class Bg{}class Hg extends Sr{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new ep(this);const r=qe(t);this._bootstrapComponents=Wt(r.bootstrap),this._r3Injector=Ph(t,n,[{provide:Sr,useValue:this},{provide:ho,useValue:this.componentFactoryResolver}],J(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class sl extends Bg{constructor(t){super(),this.moduleType=t}create(t){return new Hg(this.moduleType,t)}}class Qb extends Sr{constructor(t,n,r){super(),this.componentFactoryResolver=new ep(this),this.instance=null;const o=new yh([...t,{provide:Sr,useValue:this},{provide:ho,useValue:this.componentFactoryResolver}],n||Li(),r,new Set(["environment"]));this.injector=o,o.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function ns(e,t,n=null){return new Qb(e,t,n).injector}let Yb=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n.id)){const r=hh(0,n.type),o=r.length>0?ns([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n.id,o)}return this.cachedInjectors.get(n.id)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}}return e.\u0275prov=P({token:e,providedIn:"environment",factory:()=>new e(A(Gt))}),e})();function zg(e){e.getStandaloneInjector=t=>t.get(Yb).getOrCreateStandaloneInjector(e)}function ul(e){return t=>{setTimeout(e,void 0,t)}}const ke=class E0 extends Lt{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&"object"==typeof t){const u=t;o=u.next?.bind(u),i=u.error?.bind(u),s=u.complete?.bind(u)}this.__isAsync&&(i=ul(i),o&&(o=ul(o)),s&&(s=ul(s)));const a=super.subscribe({next:o,error:i,complete:s});return t instanceof et&&t.add(a),a}};let vt=(()=>{class e{}return e.__NG_ELEMENT_ID__=T0,e})();function T0(){return function om(e,t){let n;const r=t[e.index];if(ft(r))n=r;else{let o;if(8&e.type)o=Ee(r);else{const i=t[V];o=i.createComment("");const s=Qe(e,t);Tn(i,Ti(i,s),o,function v_(e,t){return e.nextSibling(t)}(i,s),!1)}t[e.index]=n=function Qh(e,t,n,r){return[e,!0,!1,t,null,0,r,n,null,null]}(r,t,o,e),Bi(t,n)}return new nm(n,e,t)}(Se(),v())}const A0=vt,nm=class extends A0{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return ar(this._hostTNode,this._hostLView)}get injector(){return new Kn(this._hostTNode,this._hostLView)}get parentInjector(){const t=La(this._hostTNode,this._hostLView);if(Xd(t)){const n=Di(t,this._hostLView),r=vi(t);return new Kn(n[E].data[r+8],n)}return new Kn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=rm(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-Pe}createEmbeddedView(t,n,r){let o,i;"number"==typeof r?o=r:null!=r&&(o=r.index,i=r.injector);const s=t.createEmbeddedView(n||{},i);return this.insert(s,o),s}createComponent(t,n,r,o,i){const s=t&&!function eo(e){return"function"==typeof e}(t);let a;if(s)a=n;else{const d=n||{};a=d.index,r=d.injector,o=d.projectableNodes,i=d.environmentInjector||d.ngModuleRef}const u=s?t:new mo(Y(t)),l=r||this.parentInjector;if(!i&&null==u.ngModule){const f=(s?l:this.parentInjector).get(Gt,null);f&&(i=f)}const c=u.create(l,o,void 0,i);return this.insert(c.hostView,a),c}insert(t,n){const r=t._lView,o=r[E];if(function Gw(e){return ft(e[ie])}(r)){const c=this.indexOf(t);if(-1!==c)this.detach(c);else{const d=r[ie],f=new nm(d,d[Me],d[ie]);f.detach(f.indexOf(t))}}const i=this._adjustIndex(n),s=this._lContainer;!function h_(e,t,n,r){const o=Pe+r,i=n.length;r>0&&(n[o-1][dt]=t),r<i-Pe?(t[dt]=n[o],hf(n,Pe+r,t)):(n.push(t),t[dt]=null),t[ie]=n;const s=t[qr];null!==s&&n!==s&&function p_(e,t){const n=e[qn];t[Te]!==t[ie][ie][Te]&&(e[bd]=!0),null===n?e[qn]=[t]:n.push(t)}(s,t);const a=t[bt];null!==a&&a.insertView(e),t[j]|=64}(o,r,s,i);const a=iu(i,s),u=r[V],l=Ti(u,s[ci]);return null!==l&&function c_(e,t,n,r,o,i){r[Ut]=o,r[Me]=t,uo(e,r,n,1,o,i)}(o,s[Me],u,r,l,a),t.attachToViewContainerRef(),hf(cl(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=rm(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=nu(this._lContainer,n);r&&(Si(cl(this._lContainer),n),kf(r[E],r))}detach(t){const n=this._adjustIndex(t,-1),r=nu(this._lContainer,n);return r&&null!=Si(cl(this._lContainer),n)?new go(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function rm(e){return e[di]}function cl(e){return e[di]||(e[di]=[])}function is(...e){}const ss=new R("Application Initializer");let as=(()=>{class e{constructor(n){this.appInits=n,this.resolve=is,this.reject=is,this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,o)=>{this.resolve=r,this.reject=o})}runInitializers(){if(this.initialized)return;const n=[],r=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let o=0;o<this.appInits.length;o++){const i=this.appInits[o]();if(Qi(i))n.push(i);else if(Dp(i)){const s=new Promise((a,u)=>{i.subscribe({complete:a,error:u})});n.push(s)}}Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),0===n.length&&r(),this.initialized=!0}}return e.\u0275fac=function(n){return new(n||e)(A(ss,8))},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Mo=new R("AppId",{providedIn:"root",factory:function Rm(){return`${Cl()}${Cl()}${Cl()}`}});function Cl(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const xm=new R("Platform Initializer"),Nm=new R("Platform ID",{providedIn:"platform",factory:()=>"unknown"});let rM=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();const Yt=new R("LocaleId",{providedIn:"root",factory:()=>z(Yt,T.Optional|T.SkipSelf)||function oM(){return typeof $localize<"u"&&$localize.locale||Er}()});class sM{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let Pm=(()=>{class e{compileModuleSync(n){return new sl(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),i=Wt(qe(n).declarations).reduce((s,a)=>{const u=Y(a);return u&&s.push(new mo(u)),s},[]);return new sM(r,i)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const lM=(()=>Promise.resolve(0))();function _l(e){typeof Zone>"u"?lM.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class ue{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ke(!1),this.onMicrotaskEmpty=new ke(!1),this.onStable=new ke(!1),this.onError=new ke(!1),typeof Zone>"u")throw new w(908,!1);Zone.assertZonePatched();const o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function cM(){let e=te.requestAnimationFrame,t=te.cancelAnimationFrame;if(typeof Zone<"u"&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function hM(e){const t=()=>{!function fM(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(te,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Sl(e),e.isCheckStableRunning=!0,El(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Sl(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,a)=>{try{return Lm(e),n.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||e.shouldCoalesceRunChangeDetection)&&t(),km(e)}},onInvoke:(n,r,o,i,s,a,u)=>{try{return Lm(e),n.invoke(o,i,s,a,u)}finally{e.shouldCoalesceRunChangeDetection&&t(),km(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,Sl(e),El(e)):"macroTask"==i.change&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(n,r,o,i)=>(n.handleError(o,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}(o)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!ue.isInAngularZone())throw new w(909,!1)}static assertNotInAngularZone(){if(ue.isInAngularZone())throw new w(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){const i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,dM,is,is);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const dM={};function El(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function Sl(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Lm(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function km(e){e._nesting--,El(e)}class pM{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ke,this.onMicrotaskEmpty=new ke,this.onStable=new ke,this.onError=new ke}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}}const jm=new R(""),us=new R("");let Ml,Il=(()=>{class e{constructor(n,r,o){this._ngZone=n,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Ml||(function gM(e){Ml=e}(o),o.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{ue.assertNotInAngularZone(),_l(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())_l(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,o){let i=-1;r&&r>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==i),n(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:n,timeoutId:i,updateCb:o})}whenStable(n,r,o){if(o&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,o){return[]}}return e.\u0275fac=function(n){return new(n||e)(A(ue),A(bl),A(us))},e.\u0275prov=P({token:e,factory:e.\u0275fac}),e})(),bl=(()=>{class e{constructor(){this._applications=new Map}registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return Ml?.findTestabilityInTree(this,n,r)??null}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();const Kt=!1;let cn=null;const $m=new R("AllowMultipleToken"),Tl=new R("PlatformDestroyListeners"),Vm=new R("appBootstrapListener");class Um{constructor(t,n){this.name=t,this.token=n}}function Hm(e,t,n=[]){const r=`Platform: ${t}`,o=new R(r);return(i=[])=>{let s=Al();if(!s||s.injector.get($m,!1)){const a=[...n,...i,{provide:o,useValue:!0}];e?e(a):function vM(e){if(cn&&!cn.get($m,!1))throw new w(400,!1);cn=e;const t=e.get(Gm);(function Bm(e){const t=e.get(xm,null);t&&t.forEach(n=>n())})(e)}(function zm(e=[],t){return qt.create({name:t,providers:[{provide:vu,useValue:"platform"},{provide:Tl,useValue:new Set([()=>cn=null])},...e]})}(a,r))}return function wM(e){const t=Al();if(!t)throw new w(401,!1);return t}()}}function Al(){return cn?.get(Gm)??null}let Gm=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const o=function qm(e,t){let n;return n="noop"===e?new pM:("zone.js"===e?void 0:e)||new ue(t),n}(r?.ngZone,function Wm(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!e||!e.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!e||!e.ngZoneRunCoalescing)||!1}}(r)),i=[{provide:ue,useValue:o}];return o.run(()=>{const s=qt.create({providers:i,parent:this.injector,name:n.moduleType.name}),a=n.create(s),u=a.injector.get(ur,null);if(!u)throw new w(402,!1);return o.runOutsideAngular(()=>{const l=o.onError.subscribe({next:c=>{u.handleError(c)}});a.onDestroy(()=>{cs(this._modules,a),l.unsubscribe()})}),function Zm(e,t,n){try{const r=n();return Qi(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(u,o,()=>{const l=a.injector.get(as);return l.runInitializers(),l.donePromise.then(()=>(function yg(e){tt(e,"Expected localeId to be defined"),"string"==typeof e&&(mg=e.toLowerCase().replace(/_/g,"-"))}(a.injector.get(Yt,Er)||Er),this._moduleDoBootstrap(a),a))})})}bootstrapModule(n,r=[]){const o=Qm({},r);return function mM(e,t,n){const r=new sl(n);return Promise.resolve(r)}(0,0,n).then(i=>this.bootstrapModuleFactory(i,o))}_moduleDoBootstrap(n){const r=n.injector.get(ls);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(o=>r.bootstrap(o));else{if(!n.instance.ngDoBootstrap)throw new w(-403,!1);n.instance.ngDoBootstrap(r)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new w(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(Tl,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(n){return new(n||e)(A(qt))},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function Qm(e,t){return Array.isArray(t)?t.reduce(Qm,e):{...e,...t}}let ls=(()=>{class e{get destroyed(){return this._destroyed}get injector(){return this._injector}constructor(n,r,o){this._zone=n,this._injector=r,this._exceptionHandler=o,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this._destroyed=!1,this._destroyListeners=[],this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const i=new ge(a=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{a.next(this._stable),a.complete()})}),s=new ge(a=>{let u;this._zone.runOutsideAngular(()=>{u=this._zone.onStable.subscribe(()=>{ue.assertNotInAngularZone(),_l(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,a.next(!0))})})});const l=this._zone.onUnstable.subscribe(()=>{ue.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{a.next(!1)}))});return()=>{u.unsubscribe(),l.unsubscribe()}});this.isStable=function cw(...e){const t=Ur(e),n=function rw(e,t){return"number"==typeof ia(e)?e.pop():t}(e,1/0),r=e;return r.length?1===r.length?ct(r[0]):Un(n)(me(r,t)):Et}(i,s.pipe(function dw(e={}){const{connector:t=(()=>new Lt),resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,u,l=0,c=!1,d=!1;const f=()=>{a?.unsubscribe(),a=void 0},h=()=>{f(),s=u=void 0,c=d=!1},p=()=>{const g=s;h(),g?.unsubscribe()};return we((g,y)=>{l++,!d&&!c&&f();const D=u=u??t();y.add(()=>{l--,0===l&&!d&&!c&&(a=sa(p,o))}),D.subscribe(y),!s&&l>0&&(s=new Vr({next:_=>D.next(_),error:_=>{d=!0,f(),a=sa(h,n,_),D.error(_)},complete:()=>{c=!0,f(),a=sa(h,r),D.complete()}}),ct(g).subscribe(s))})(i)}}()))}bootstrap(n,r){const o=n instanceof Dh;if(!this._injector.get(as).done){!o&&function Hn(e){const t=Y(e)||be(e)||Ve(e);return null!==t&&t.standalone}(n);throw new w(405,Kt)}let s;s=o?n:this._injector.get(ho).resolveComponentFactory(n),this.componentTypes.push(s.componentType);const a=function yM(e){return e.isBoundToModule}(s)?void 0:this._injector.get(Sr),l=s.create(qt.NULL,[],r||s.selector,a),c=l.location.nativeElement,d=l.injector.get(jm,null);return d?.registerApplication(c),l.onDestroy(()=>{this.detachView(l.hostView),cs(this.components,l),d?.unregisterApplication(c)}),this._loadComponent(l),l}tick(){if(this._runningTick)throw new w(101,!1);try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(n))}finally{this._runningTick=!1}}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;cs(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const r=this._injector.get(Vm,[]);r.push(...this._bootstrapListeners),r.forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>cs(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new w(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return e.\u0275fac=function(n){return new(n||e)(A(ue),A(Gt),A(ur))},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function cs(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}let Rl=(()=>{class e{}return e.__NG_ELEMENT_ID__=_M,e})();function _M(e){return function EM(e,t,n){if(Qr(e)&&!n){const r=Ue(e.index,t);return new go(r,r)}return 47&e.type?new go(t[Te],t):null}(Se(),v(),16==(16&e))}const LM=Hm(null,"core",[]);let kM=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(A(ls))},e.\u0275mod=Cn({type:e}),e.\u0275inj=rn({}),e})(),Ll=null;function Fn(){return Ll}class VM{}const ze=new R("DocumentToken");let kl=(()=>{class e{historyGo(n){throw new Error("Not implemented")}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=P({token:e,factory:function(){return function UM(){return A(sy)}()},providedIn:"platform"}),e})();const BM=new R("Location Initialized");let sy=(()=>{class e extends kl{constructor(n){super(),this._doc=n,this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Fn().getBaseHref(this._doc)}onPopState(n){const r=Fn().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){const r=Fn().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",n,!1),()=>r.removeEventListener("hashchange",n)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(n){this._location.pathname=n}pushState(n,r,o){ay()?this._history.pushState(n,r,o):this._location.hash=o}replaceState(n,r,o){ay()?this._history.replaceState(n,r,o):this._location.hash=o}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}}return e.\u0275fac=function(n){return new(n||e)(A(ze))},e.\u0275prov=P({token:e,factory:function(){return function HM(){return new sy(A(ze))}()},providedIn:"platform"}),e})();function ay(){return!!window.history.pushState}function jl(e,t){if(0==e.length)return t;if(0==t.length)return e;let n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,2==n?e+t.substring(1):1==n?e+t:e+"/"+t}function uy(e){const t=e.match(/#|\?|$/),n=t&&t.index||e.length;return e.slice(0,n-("/"===e[n-1]?1:0))+e.slice(n)}function Xt(e){return e&&"?"!==e[0]?"?"+e:e}let Ln=(()=>{class e{historyGo(n){throw new Error("Not implemented")}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=P({token:e,factory:function(){return z(cy)},providedIn:"root"}),e})();const ly=new R("appBaseHref");let cy=(()=>{class e extends Ln{constructor(n,r){super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??z(ze).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return jl(this._baseHref,n)}path(n=!1){const r=this._platformLocation.pathname+Xt(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${r}${o}`:r}pushState(n,r,o,i){const s=this.prepareExternalUrl(o+Xt(i));this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){const s=this.prepareExternalUrl(o+Xt(i));this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}}return e.\u0275fac=function(n){return new(n||e)(A(kl),A(ly,8))},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),zM=(()=>{class e extends Ln{constructor(n,r){super(),this._platformLocation=n,this._baseHref="",this._removeListenerFns=[],null!=r&&(this._baseHref=r)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}path(n=!1){let r=this._platformLocation.hash;return null==r&&(r="#"),r.length>0?r.substring(1):r}prepareExternalUrl(n){const r=jl(this._baseHref,n);return r.length>0?"#"+r:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+Xt(i));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+Xt(i));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}}return e.\u0275fac=function(n){return new(n||e)(A(kl),A(ly,8))},e.\u0275prov=P({token:e,factory:e.\u0275fac}),e})(),$l=(()=>{class e{constructor(n){this._subject=new ke,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=n;const r=this._locationStrategy.getBaseHref();this._basePath=function qM(e){if(new RegExp("^(https?:)?//").test(e)){const[,n]=e.split(/\/\/[^\/]+/);return n}return e}(uy(dy(r))),this._locationStrategy.onPopState(o=>{this._subject.emit({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,r=""){return this.path()==this.normalize(n+Xt(r))}normalize(n){return e.stripTrailingSlash(function WM(e,t){if(!e||!t.startsWith(e))return t;const n=t.substring(e.length);return""===n||["/",";","?","#"].includes(n[0])?n:t}(this._basePath,dy(n)))}prepareExternalUrl(n){return n&&"/"!==n[0]&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,r="",o=null){this._locationStrategy.pushState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Xt(r)),o)}replaceState(n,r="",o=null){this._locationStrategy.replaceState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Xt(r)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)})),()=>{const r=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(r,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",r){this._urlChangeListeners.forEach(o=>o(n,r))}subscribe(n,r,o){return this._subject.subscribe({next:n,error:r,complete:o})}}return e.normalizeQueryParams=Xt,e.joinWithSlash=jl,e.stripTrailingSlash=uy,e.\u0275fac=function(n){return new(n||e)(A(Ln))},e.\u0275prov=P({token:e,factory:function(){return function GM(){return new $l(A(Ln))}()},providedIn:"root"}),e})();function dy(e){return e.replace(/\/index.html$/,"")}let uA=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Cn({type:e}),e.\u0275inj=rn({}),e})();let fA=(()=>{class e{}return e.\u0275prov=P({token:e,providedIn:"root",factory:()=>new hA(A(ze),window)}),e})();class hA{constructor(t,n){this.document=t,this.window=n,this.offset=()=>[0,0]}setOffset(t){this.offset=Array.isArray(t)?()=>t:t}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(t){this.supportsScrolling()&&this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){if(!this.supportsScrolling())return;const n=function pA(e,t){const n=e.getElementById(t)||e.getElementsByName(t)[0];if(n)return n;if("function"==typeof e.createTreeWalker&&e.body&&(e.body.createShadowRoot||e.body.attachShadow)){const r=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT);let o=r.currentNode;for(;o;){const i=o.shadowRoot;if(i){const s=i.getElementById(t)||i.querySelector(`[name="${t}"]`);if(s)return s}o=r.nextNode()}}return null}(this.document,t);n&&(this.scrollToElement(n),n.focus())}setHistoryScrollRestoration(t){if(this.supportScrollRestoration()){const n=this.window.history;n&&n.scrollRestoration&&(n.scrollRestoration=t)}}scrollToElement(t){const n=t.getBoundingClientRect(),r=n.left+this.window.pageXOffset,o=n.top+this.window.pageYOffset,i=this.offset();this.window.scrollTo(r-i[0],o-i[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const t=Ty(this.window.history)||Ty(Object.getPrototypeOf(this.window.history));return!(!t||!t.writable&&!t.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function Ty(e){return Object.getOwnPropertyDescriptor(e,"scrollRestoration")}class BA extends VM{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class nc extends BA{static makeCurrent(){!function $M(e){Ll||(Ll=e)}(new nc)}onAndCancel(t,n,r){return t.addEventListener(n,r,!1),()=>{t.removeEventListener(n,r,!1)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,n){return(n=n||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,n){return"window"===n?window:"document"===n?t:"body"===n?t.body:null}getBaseHref(t){const n=function HA(){return No=No||document.querySelector("base"),No?No.getAttribute("href"):null}();return null==n?null:function zA(e){Is=Is||document.createElement("a"),Is.setAttribute("href",e);const t=Is.pathname;return"/"===t.charAt(0)?t:`/${t}`}(n)}resetBaseElement(){No=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return function RT(e,t){t=encodeURIComponent(t);for(const n of e.split(";")){const r=n.indexOf("="),[o,i]=-1==r?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}(document.cookie,t)}}let Is,No=null;const Py=new R("TRANSITION_ID"),WA=[{provide:ss,useFactory:function GA(e,t,n){return()=>{n.get(as).donePromise.then(()=>{const r=Fn(),o=t.querySelectorAll(`style[ng-transition="${e}"]`);for(let i=0;i<o.length;i++)r.remove(o[i])})}},deps:[Py,ze,qt],multi:!0}];let ZA=(()=>{class e{build(){return new XMLHttpRequest}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=P({token:e,factory:e.\u0275fac}),e})();const bs=new R("EventManagerPlugins");let Ms=(()=>{class e{constructor(n,r){this._zone=r,this._eventNameToPlugin=new Map,n.forEach(o=>{o.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,r,o){return this._findPluginFor(r).addEventListener(n,r,o)}addGlobalEventListener(n,r,o){return this._findPluginFor(r).addGlobalEventListener(n,r,o)}getZone(){return this._zone}_findPluginFor(n){const r=this._eventNameToPlugin.get(n);if(r)return r;const o=this._plugins;for(let i=0;i<o.length;i++){const s=o[i];if(s.supports(n))return this._eventNameToPlugin.set(n,s),s}throw new Error(`No event manager plugin found for event ${n}`)}}return e.\u0275fac=function(n){return new(n||e)(A(bs),A(ue))},e.\u0275prov=P({token:e,factory:e.\u0275fac}),e})();class Oy{constructor(t){this._doc=t}addGlobalEventListener(t,n,r){const o=Fn().getGlobalEventTarget(this._doc,t);if(!o)throw new Error(`Unsupported event target ${o} for event ${n}`);return this.addEventListener(o,n,r)}}let Fy=(()=>{class e{constructor(){this.usageCount=new Map}addStyles(n){for(const r of n)1===this.changeUsageCount(r,1)&&this.onStyleAdded(r)}removeStyles(n){for(const r of n)0===this.changeUsageCount(r,-1)&&this.onStyleRemoved(r)}onStyleRemoved(n){}onStyleAdded(n){}getAllStyles(){return this.usageCount.keys()}changeUsageCount(n,r){const o=this.usageCount;let i=o.get(n)??0;return i+=r,i>0?o.set(n,i):o.delete(n),i}ngOnDestroy(){for(const n of this.getAllStyles())this.onStyleRemoved(n);this.usageCount.clear()}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=P({token:e,factory:e.\u0275fac}),e})(),Po=(()=>{class e extends Fy{constructor(n){super(),this.doc=n,this.styleRef=new Map,this.hostNodes=new Set,this.resetHostNodes()}onStyleAdded(n){for(const r of this.hostNodes)this.addStyleToHost(r,n)}onStyleRemoved(n){const r=this.styleRef;r.get(n)?.forEach(i=>i.remove()),r.delete(n)}ngOnDestroy(){super.ngOnDestroy(),this.styleRef.clear(),this.resetHostNodes()}addHost(n){this.hostNodes.add(n);for(const r of this.getAllStyles())this.addStyleToHost(n,r)}removeHost(n){this.hostNodes.delete(n)}addStyleToHost(n,r){const o=this.doc.createElement("style");o.textContent=r,n.appendChild(o);const i=this.styleRef.get(r);i?i.push(o):this.styleRef.set(r,[o])}resetHostNodes(){const n=this.hostNodes;n.clear(),n.add(this.doc.head)}}return e.\u0275fac=function(n){return new(n||e)(A(ze))},e.\u0275prov=P({token:e,factory:e.\u0275fac}),e})();const rc={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/"},oc=/%COMP%/g,jy=new R("RemoveStylesOnCompDestory",{providedIn:"root",factory:()=>!1});function $y(e,t){return t.flat(100).map(n=>n.replace(oc,e))}function Vy(e){return t=>{if("__ngUnwrap__"===t)return e;!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}let ic=(()=>{class e{constructor(n,r,o,i){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestory=i,this.rendererByCompId=new Map,this.defaultRenderer=new sc(n)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;const o=this.getOrCreateRenderer(n,r);return o instanceof Hy?o.applyToHost(n):o instanceof ac&&o.applyStyles(),o}getOrCreateRenderer(n,r){const o=this.rendererByCompId;let i=o.get(r.id);if(!i){const s=this.eventManager,a=this.sharedStylesHost,u=this.removeStylesOnCompDestory;switch(r.encapsulation){case It.Emulated:i=new Hy(s,a,r,this.appId,u);break;case It.ShadowDom:return new tR(s,a,n,r);default:i=new ac(s,a,r,u)}i.onDestroy=()=>o.delete(r.id),o.set(r.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}begin(){}end(){}}return e.\u0275fac=function(n){return new(n||e)(A(Ms),A(Po),A(Mo),A(jy))},e.\u0275prov=P({token:e,factory:e.\u0275fac}),e})();class sc{constructor(t){this.eventManager=t,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(t,n){return n?document.createElementNS(rc[n]||n,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,n){(By(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(By(t)?t.content:t).insertBefore(n,r)}removeChild(t,n){t&&t.removeChild(n)}selectRootElement(t,n){let r="string"==typeof t?document.querySelector(t):t;if(!r)throw new Error(`The selector "${t}" did not match any elements`);return n||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,r,o){if(o){n=o+":"+n;const i=rc[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){const o=rc[r];o?t.removeAttributeNS(o,n):t.removeAttribute(`${r}:${n}`)}else t.removeAttribute(n)}addClass(t,n){t.classList.add(n)}removeClass(t,n){t.classList.remove(n)}setStyle(t,n,r,o){o&(Be.DashCase|Be.Important)?t.style.setProperty(n,r,o&Be.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&Be.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,r){t[n]=r}setValue(t,n){t.nodeValue=n}listen(t,n,r){return"string"==typeof t?this.eventManager.addGlobalEventListener(t,n,Vy(r)):this.eventManager.addEventListener(t,n,Vy(r))}}function By(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class tR extends sc{constructor(t,n,r,o){super(t),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const i=$y(o.id,o.styles);for(const s of i){const a=document.createElement("style");a.textContent=s,this.shadowRoot.appendChild(a)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,n){return super.appendChild(this.nodeOrShadowRoot(t),n)}insertBefore(t,n,r){return super.insertBefore(this.nodeOrShadowRoot(t),n,r)}removeChild(t,n){return super.removeChild(this.nodeOrShadowRoot(t),n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class ac extends sc{constructor(t,n,r,o,i=r.id){super(t),this.sharedStylesHost=n,this.removeStylesOnCompDestory=o,this.rendererUsageCount=0,this.styles=$y(i,r.styles)}applyStyles(){this.sharedStylesHost.addStyles(this.styles),this.rendererUsageCount++}destroy(){this.removeStylesOnCompDestory&&(this.sharedStylesHost.removeStyles(this.styles),this.rendererUsageCount--,0===this.rendererUsageCount&&this.onDestroy?.())}}class Hy extends ac{constructor(t,n,r,o,i){const s=o+"-"+r.id;super(t,n,r,i,s),this.contentAttr=function XA(e){return"_ngcontent-%COMP%".replace(oc,e)}(s),this.hostAttr=function JA(e){return"_nghost-%COMP%".replace(oc,e)}(s)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,n){const r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,""),r}}let nR=(()=>{class e extends Oy{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,o){return n.addEventListener(r,o,!1),()=>this.removeEventListener(n,r,o)}removeEventListener(n,r,o){return n.removeEventListener(r,o)}}return e.\u0275fac=function(n){return new(n||e)(A(ze))},e.\u0275prov=P({token:e,factory:e.\u0275fac}),e})();const zy=["alt","control","meta","shift"],rR={"\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"},oR={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let iR=(()=>{class e extends Oy{constructor(n){super(n)}supports(n){return null!=e.parseEventName(n)}addEventListener(n,r,o){const i=e.parseEventName(r),s=e.eventCallback(i.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Fn().onAndCancel(n,i.domEventName,s))}static parseEventName(n){const r=n.toLowerCase().split("."),o=r.shift();if(0===r.length||"keydown"!==o&&"keyup"!==o)return null;const i=e._normalizeKey(r.pop());let s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),zy.forEach(l=>{const c=r.indexOf(l);c>-1&&(r.splice(c,1),s+=l+".")}),s+=i,0!=r.length||0===i.length)return null;const u={};return u.domEventName=o,u.fullKey=s,u}static matchEventFullKeyCode(n,r){let o=rR[n.key]||n.key,i="";return r.indexOf("code.")>-1&&(o=n.code,i="code."),!(null==o||!o)&&(o=o.toLowerCase()," "===o?o="space":"."===o&&(o="dot"),zy.forEach(s=>{s!==o&&(0,oR[s])(n)&&(i+=s+".")}),i+=o,i===r)}static eventCallback(n,r,o){return i=>{e.matchEventFullKeyCode(i,n)&&o.runGuarded(()=>r(i))}}static _normalizeKey(n){return"esc"===n?"escape":n}}return e.\u0275fac=function(n){return new(n||e)(A(ze))},e.\u0275prov=P({token:e,factory:e.\u0275fac}),e})();const lR=Hm(LM,"browser",[{provide:Nm,useValue:"browser"},{provide:xm,useValue:function sR(){nc.makeCurrent()},multi:!0},{provide:ze,useFactory:function uR(){return function b_(e){lu=e}(document),document},deps:[]}]),qy=new R(""),Zy=[{provide:us,useClass:class qA{addToWindow(t){te.getAngularTestability=(r,o=!0)=>{const i=t.findTestabilityInTree(r,o);if(null==i)throw new Error("Could not find testability for element.");return i},te.getAllAngularTestabilities=()=>t.getAllTestabilities(),te.getAllAngularRootElements=()=>t.getAllRootElements(),te.frameworkStabilizers||(te.frameworkStabilizers=[]),te.frameworkStabilizers.push(r=>{const o=te.getAllAngularTestabilities();let i=o.length,s=!1;const a=function(u){s=s||u,i--,0==i&&r(s)};o.forEach(function(u){u.whenStable(a)})})}findTestabilityInTree(t,n,r){return null==n?null:t.getTestability(n)??(r?Fn().isShadowRoot(n)?this.findTestabilityInTree(t,n.host,!0):this.findTestabilityInTree(t,n.parentElement,!0):null)}},deps:[]},{provide:jm,useClass:Il,deps:[ue,bl,us]},{provide:Il,useClass:Il,deps:[ue,bl,us]}],Qy=[{provide:vu,useValue:"root"},{provide:ur,useFactory:function aR(){return new ur},deps:[]},{provide:bs,useClass:nR,multi:!0,deps:[ze,ue,Nm]},{provide:bs,useClass:iR,multi:!0,deps:[ze]},{provide:ic,useClass:ic,deps:[Ms,Po,Mo,jy]},{provide:Ch,useExisting:ic},{provide:Fy,useExisting:Po},{provide:Po,useClass:Po,deps:[ze]},{provide:Ms,useClass:Ms,deps:[bs,ue]},{provide:class gA{},useClass:ZA,deps:[]},[]];let cR=(()=>{class e{constructor(n){}static withServerTransition(n){return{ngModule:e,providers:[{provide:Mo,useValue:n.appId},{provide:Py,useExisting:Mo},WA]}}}return e.\u0275fac=function(n){return new(n||e)(A(qy,12))},e.\u0275mod=Cn({type:e}),e.\u0275inj=rn({providers:[...Qy,...Zy],imports:[uA,kM]}),e})(),Yy=(()=>{class e{constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}}return e.\u0275fac=function(n){return new(n||e)(A(ze))},e.\u0275prov=P({token:e,factory:function(n){let r=null;return r=n?new n:function fR(){return new Yy(A(ze))}(),r},providedIn:"root"}),e})();function b(...e){return me(e,Ur(e))}typeof window<"u"&&window;class _t extends Lt{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){const{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}}const Ts=jr(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"}),{isArray:vR}=Array,{getPrototypeOf:DR,prototype:wR,keys:CR}=Object;const{isArray:SR}=Array;function Jy(...e){const t=Ur(e),n=function nw(e){return X(ia(e))?e.pop():void 0}(e),{args:r,keys:o}=function _R(e){if(1===e.length){const t=e[0];if(vR(t))return{args:t,keys:null};if(function ER(e){return e&&"object"==typeof e&&DR(e)===wR}(t)){const n=CR(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}(e);if(0===r.length)return me([],t);const i=new ge(function TR(e,t,n=wn){return r=>{ev(t,()=>{const{length:o}=e,i=new Array(o);let s=o,a=o;for(let u=0;u<o;u++)ev(t,()=>{const l=me(e[u],t);let c=!1;l.subscribe(Ce(r,d=>{i[u]=d,c||(c=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}(r,t,o?s=>function MR(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}(o,s):wn));return n?i.pipe(function bR(e){return H(t=>function IR(e,t){return SR(t)?e(...t):e(t)}(e,t))}(n)):i}function ev(e,t,n){e?kt(n,e,t):t()}function cc(...e){return function AR(){return Un(1)}()(me(e,Ur(e)))}function tv(e){return new ge(t=>{ct(e()).subscribe(t)})}function Oo(e,t){const n=X(e)?e:()=>e,r=o=>o.error(n());return new ge(t?o=>t.schedule(r,0,o):r)}function dc(){return we((e,t)=>{let n=null;e._refCount++;const r=Ce(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount)return void(n=null);const o=e._connection,i=n;n=null,o&&(!i||o===i)&&o.unsubscribe(),t.unsubscribe()});e.subscribe(r),r.closed||(n=e.connect())})}class nv extends ge{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,Qc(t)&&(this.lift=t.lift)}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){const t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:t}=this;this._subject=this._connection=null,t?.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new et;const n=this.getSubject();t.add(this.source.subscribe(Ce(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=et.EMPTY)}return t}refCount(){return dc()(this)}}function Pt(e,t){return we((n,r)=>{let o=null,i=0,s=!1;const a=()=>s&&!o&&r.complete();n.subscribe(Ce(r,u=>{o?.unsubscribe();let l=0;const c=i++;ct(e(u,c)).subscribe(o=Ce(r,d=>r.next(t?t(u,d,c,l++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function Mr(e){return e<=0?()=>Et:we((t,n)=>{let r=0;t.subscribe(Ce(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function fn(e,t){return we((n,r)=>{let o=0;n.subscribe(Ce(r,i=>e.call(t,i,o++)&&r.next(i)))})}function As(e){return we((t,n)=>{let r=!1;t.subscribe(Ce(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function rv(e=xR){return we((t,n)=>{let r=!1;t.subscribe(Ce(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function xR(){return new Ts}function hn(e,t){const n=arguments.length>=2;return r=>r.pipe(e?fn((o,i)=>e(o,i,r)):wn,Mr(1),n?As(t):rv(()=>new Ts))}function kn(e,t){return X(t)?_e(e,t,1):_e(e,1)}function xe(e,t,n){const r=X(e)||t||n?{next:e,error:t,complete:n}:e;return r?we((o,i)=>{var s;null===(s=r.subscribe)||void 0===s||s.call(r);let a=!0;o.subscribe(Ce(i,u=>{var l;null===(l=r.next)||void 0===l||l.call(r,u),i.next(u)},()=>{var u;a=!1,null===(u=r.complete)||void 0===u||u.call(r),i.complete()},u=>{var l;a=!1,null===(l=r.error)||void 0===l||l.call(r,u),i.error(u)},()=>{var u,l;a&&(null===(u=r.unsubscribe)||void 0===u||u.call(r)),null===(l=r.finalize)||void 0===l||l.call(r)}))}):wn}function pn(e){return we((t,n)=>{let i,r=null,o=!1;r=t.subscribe(Ce(n,void 0,void 0,s=>{i=ct(e(s,pn(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function ov(e,t){return we(function NR(e,t,n,r,o){return(i,s)=>{let a=n,u=t,l=0;i.subscribe(Ce(s,c=>{const d=l++;u=a?e(u,c,d):(a=!0,c),r&&s.next(u)},o&&(()=>{a&&s.next(u),s.complete()})))}}(e,t,arguments.length>=2,!0))}function fc(e){return e<=0?()=>Et:we((t,n)=>{let r=[];t.subscribe(Ce(n,o=>{r.push(o),e<r.length&&r.shift()},()=>{for(const o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function iv(e,t){const n=arguments.length>=2;return r=>r.pipe(e?fn((o,i)=>e(o,i,r)):wn,fc(1),n?As(t):rv(()=>new Ts))}function hc(e){return we((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}const k="primary",Fo=Symbol("RouteTitle");class FR{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){const n=this.params[t];return Array.isArray(n)?n[0]:n}return null}getAll(t){if(this.has(t)){const n=this.params[t];return Array.isArray(n)?n:[n]}return[]}get keys(){return Object.keys(this.params)}}function Tr(e){return new FR(e)}function LR(e,t,n){const r=n.path.split("/");if(r.length>e.length||"full"===n.pathMatch&&(t.hasChildren()||r.length<e.length))return null;const o={};for(let i=0;i<r.length;i++){const s=r[i],a=e[i];if(s.startsWith(":"))o[s.substring(1)]=a;else if(s!==a.path)return null}return{consumed:e.slice(0,r.length),posParams:o}}function Ot(e,t){const n=e?Object.keys(e):void 0,r=t?Object.keys(t):void 0;if(!n||!r||n.length!=r.length)return!1;let o;for(let i=0;i<n.length;i++)if(o=n[i],!sv(e[o],t[o]))return!1;return!0}function sv(e,t){if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return!1;const n=[...e].sort(),r=[...t].sort();return n.every((o,i)=>r[i]===o)}return e===t}function av(e){return Array.prototype.concat.apply([],e)}function uv(e){return e.length>0?e[e.length-1]:null}function Ie(e,t){for(const n in e)e.hasOwnProperty(n)&&t(e[n],n)}function gn(e){return Dp(e)?e:Qi(e)?me(Promise.resolve(e)):b(e)}const Rs=!1,jR={exact:function dv(e,t,n){if(!jn(e.segments,t.segments)||!xs(e.segments,t.segments,n)||e.numberOfChildren!==t.numberOfChildren)return!1;for(const r in t.children)if(!e.children[r]||!dv(e.children[r],t.children[r],n))return!1;return!0},subset:fv},lv={exact:function $R(e,t){return Ot(e,t)},subset:function VR(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(n=>sv(e[n],t[n]))},ignored:()=>!0};function cv(e,t,n){return jR[n.paths](e.root,t.root,n.matrixParams)&&lv[n.queryParams](e.queryParams,t.queryParams)&&!("exact"===n.fragment&&e.fragment!==t.fragment)}function fv(e,t,n){return hv(e,t,t.segments,n)}function hv(e,t,n,r){if(e.segments.length>n.length){const o=e.segments.slice(0,n.length);return!(!jn(o,n)||t.hasChildren()||!xs(o,n,r))}if(e.segments.length===n.length){if(!jn(e.segments,n)||!xs(e.segments,n,r))return!1;for(const o in t.children)if(!e.children[o]||!fv(e.children[o],t.children[o],r))return!1;return!0}{const o=n.slice(0,e.segments.length),i=n.slice(e.segments.length);return!!(jn(e.segments,o)&&xs(e.segments,o,r)&&e.children[k])&&hv(e.children[k],t,i,r)}}function xs(e,t,n){return t.every((r,o)=>lv[n](e[o].parameters,r.parameters))}class mn{constructor(t=new U([],{}),n={},r=null){this.root=t,this.queryParams=n,this.fragment=r}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Tr(this.queryParams)),this._queryParamMap}toString(){return HR.serialize(this)}}class U{constructor(t,n){this.segments=t,this.children=n,this.parent=null,Ie(n,(r,o)=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Ns(this)}}class Lo{constructor(t,n){this.path=t,this.parameters=n}get parameterMap(){return this._parameterMap||(this._parameterMap=Tr(this.parameters)),this._parameterMap}toString(){return mv(this)}}function jn(e,t){return e.length===t.length&&e.every((n,r)=>n.path===t[r].path)}let ko=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=P({token:e,factory:function(){return new pc},providedIn:"root"}),e})();class pc{parse(t){const n=new XR(t);return new mn(n.parseRootSegment(),n.parseQueryParams(),n.parseFragment())}serialize(t){const n=`/${jo(t.root,!0)}`,r=function WR(e){const t=Object.keys(e).map(n=>{const r=e[n];return Array.isArray(r)?r.map(o=>`${Ps(n)}=${Ps(o)}`).join("&"):`${Ps(n)}=${Ps(r)}`}).filter(n=>!!n);return t.length?`?${t.join("&")}`:""}(t.queryParams);return`${n}${r}${"string"==typeof t.fragment?`#${function zR(e){return encodeURI(e)}(t.fragment)}`:""}`}}const HR=new pc;function Ns(e){return e.segments.map(t=>mv(t)).join("/")}function jo(e,t){if(!e.hasChildren())return Ns(e);if(t){const n=e.children[k]?jo(e.children[k],!1):"",r=[];return Ie(e.children,(o,i)=>{i!==k&&r.push(`${i}:${jo(o,!1)}`)}),r.length>0?`${n}(${r.join("//")})`:n}{const n=function BR(e,t){let n=[];return Ie(e.children,(r,o)=>{o===k&&(n=n.concat(t(r,o)))}),Ie(e.children,(r,o)=>{o!==k&&(n=n.concat(t(r,o)))}),n}(e,(r,o)=>o===k?[jo(e.children[k],!1)]:[`${o}:${jo(r,!1)}`]);return 1===Object.keys(e.children).length&&null!=e.children[k]?`${Ns(e)}/${n[0]}`:`${Ns(e)}/(${n.join("//")})`}}function pv(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Ps(e){return pv(e).replace(/%3B/gi,";")}function gc(e){return pv(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Os(e){return decodeURIComponent(e)}function gv(e){return Os(e.replace(/\+/g,"%20"))}function mv(e){return`${gc(e.path)}${function GR(e){return Object.keys(e).map(t=>`;${gc(t)}=${gc(e[t])}`).join("")}(e.parameters)}`}const qR=/^[^\/()?;=#]+/;function Fs(e){const t=e.match(qR);return t?t[0]:""}const ZR=/^[^=?&#]+/,YR=/^[^&#]+/;class XR{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new U([],{}):new U([],this.parseChildren())}parseQueryParams(){const t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let n={};this.peekStartsWith("/(")&&(this.capture("/"),n=this.parseParens(!0));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1)),(t.length>0||Object.keys(n).length>0)&&(r[k]=new U(t,n)),r}parseSegment(){const t=Fs(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new w(4009,Rs);return this.capture(t),new Lo(Os(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const n=Fs(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){const o=Fs(this.remaining);o&&(r=o,this.capture(r))}t[Os(n)]=Os(r)}parseQueryParam(t){const n=function QR(e){const t=e.match(ZR);return t?t[0]:""}(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){const s=function KR(e){const t=e.match(YR);return t?t[0]:""}(this.remaining);s&&(r=s,this.capture(r))}const o=gv(n),i=gv(r);if(t.hasOwnProperty(o)){let s=t[o];Array.isArray(s)||(s=[s],t[o]=s),s.push(i)}else t[o]=i}parseParens(t){const n={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const r=Fs(this.remaining),o=this.remaining[r.length];if("/"!==o&&")"!==o&&";"!==o)throw new w(4010,Rs);let i;r.indexOf(":")>-1?(i=r.slice(0,r.indexOf(":")),this.capture(i),this.capture(":")):t&&(i=k);const s=this.parseChildren();n[i]=1===Object.keys(s).length?s[k]:new U([],s),this.consumeOptional("//")}return n}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)}capture(t){if(!this.consumeOptional(t))throw new w(4011,Rs)}}function mc(e){return e.segments.length>0?new U([],{[k]:e}):e}function Ls(e){const t={};for(const r of Object.keys(e.children)){const i=Ls(e.children[r]);(i.segments.length>0||i.hasChildren())&&(t[r]=i)}return function JR(e){if(1===e.numberOfChildren&&e.children[k]){const t=e.children[k];return new U(e.segments.concat(t.segments),t.children)}return e}(new U(e.segments,t))}function $n(e){return e instanceof mn}const yc=!1;function ex(e,t,n,r,o){if(0===n.length)return Ar(t.root,t.root,t.root,r,o);const i=function Cv(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new wv(!0,0,e);let t=0,n=!1;const r=e.reduce((o,i,s)=>{if("object"==typeof i&&null!=i){if(i.outlets){const a={};return Ie(i.outlets,(u,l)=>{a[l]="string"==typeof u?u.split("/"):u}),[...o,{outlets:a}]}if(i.segmentPath)return[...o,i.segmentPath]}return"string"!=typeof i?[...o,i]:0===s?(i.split("/").forEach((a,u)=>{0==u&&"."===a||(0==u&&""===a?n=!0:".."===a?t++:""!=a&&o.push(a))}),o):[...o,i]},[]);return new wv(n,t,r)}(n);return i.toRoot()?Ar(t.root,t.root,new U([],{}),r,o):function s(u){const l=function nx(e,t,n,r){if(e.isAbsolute)return new Rr(t.root,!0,0);if(-1===r)return new Rr(n,n===t.root,0);return function _v(e,t,n){let r=e,o=t,i=n;for(;i>o;){if(i-=o,r=r.parent,!r)throw new w(4005,yc&&"Invalid number of '../'");o=r.segments.length}return new Rr(r,!1,o-i)}(n,r+($o(e.commands[0])?0:1),e.numberOfDoubleDots)}(i,t,e.snapshot?._urlSegment,u),c=l.processChildren?xr(l.segmentGroup,l.index,i.commands):vc(l.segmentGroup,l.index,i.commands);return Ar(t.root,l.segmentGroup,c,r,o)}(e.snapshot?._lastPathIndex)}function $o(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function Vo(e){return"object"==typeof e&&null!=e&&e.outlets}function Ar(e,t,n,r,o){let s,i={};r&&Ie(r,(u,l)=>{i[l]=Array.isArray(u)?u.map(c=>`${c}`):`${u}`}),s=e===t?n:Dv(e,t,n);const a=mc(Ls(s));return new mn(a,i,o)}function Dv(e,t,n){const r={};return Ie(e.children,(o,i)=>{r[i]=o===t?n:Dv(o,t,n)}),new U(e.segments,r)}class wv{constructor(t,n,r){if(this.isAbsolute=t,this.numberOfDoubleDots=n,this.commands=r,t&&r.length>0&&$o(r[0]))throw new w(4003,yc&&"Root segment cannot have matrix parameters");const o=r.find(Vo);if(o&&o!==uv(r))throw new w(4004,yc&&"{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Rr{constructor(t,n,r){this.segmentGroup=t,this.processChildren=n,this.index=r}}function vc(e,t,n){if(e||(e=new U([],{})),0===e.segments.length&&e.hasChildren())return xr(e,t,n);const r=function ox(e,t,n){let r=0,o=t;const i={match:!1,pathIndex:0,commandIndex:0};for(;o<e.segments.length;){if(r>=n.length)return i;const s=e.segments[o],a=n[r];if(Vo(a))break;const u=`${a}`,l=r<n.length-1?n[r+1]:null;if(o>0&&void 0===u)break;if(u&&l&&"object"==typeof l&&void 0===l.outlets){if(!Sv(u,l,s))return i;r+=2}else{if(!Sv(u,{},s))return i;r++}o++}return{match:!0,pathIndex:o,commandIndex:r}}(e,t,n),o=n.slice(r.commandIndex);if(r.match&&r.pathIndex<e.segments.length){const i=new U(e.segments.slice(0,r.pathIndex),{});return i.children[k]=new U(e.segments.slice(r.pathIndex),e.children),xr(i,0,o)}return r.match&&0===o.length?new U(e.segments,{}):r.match&&!e.hasChildren()?Dc(e,t,n):r.match?xr(e,0,o):Dc(e,t,n)}function xr(e,t,n){if(0===n.length)return new U(e.segments,{});{const r=function rx(e){return Vo(e[0])?e[0].outlets:{[k]:e}}(n),o={};if(!r[k]&&e.children[k]&&1===e.numberOfChildren&&0===e.children[k].segments.length){const i=xr(e.children[k],t,n);return new U(e.segments,i.children)}return Ie(r,(i,s)=>{"string"==typeof i&&(i=[i]),null!==i&&(o[s]=vc(e.children[s],t,i))}),Ie(e.children,(i,s)=>{void 0===r[s]&&(o[s]=i)}),new U(e.segments,o)}}function Dc(e,t,n){const r=e.segments.slice(0,t);let o=0;for(;o<n.length;){const i=n[o];if(Vo(i)){const u=ix(i.outlets);return new U(r,u)}if(0===o&&$o(n[0])){r.push(new Lo(e.segments[t].path,Ev(n[0]))),o++;continue}const s=Vo(i)?i.outlets[k]:`${i}`,a=o<n.length-1?n[o+1]:null;s&&a&&$o(a)?(r.push(new Lo(s,Ev(a))),o+=2):(r.push(new Lo(s,{})),o++)}return new U(r,{})}function ix(e){const t={};return Ie(e,(n,r)=>{"string"==typeof n&&(n=[n]),null!==n&&(t[r]=Dc(new U([],{}),0,n))}),t}function Ev(e){const t={};return Ie(e,(n,r)=>t[r]=`${n}`),t}function Sv(e,t,n){return e==n.path&&Ot(t,n.parameters)}const Uo="imperative";class Ft{constructor(t,n){this.id=t,this.url=n}}class wc extends Ft{constructor(t,n,r="imperative",o=null){super(t,n),this.type=0,this.navigationTrigger=r,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Vn extends Ft{constructor(t,n,r){super(t,n),this.urlAfterRedirects=r,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class ks extends Ft{constructor(t,n,r,o){super(t,n),this.reason=r,this.code=o,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class js extends Ft{constructor(t,n,r,o){super(t,n),this.reason=r,this.code=o,this.type=16}}class Cc extends Ft{constructor(t,n,r,o){super(t,n),this.error=r,this.target=o,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class sx extends Ft{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ax extends Ft{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ux extends Ft{constructor(t,n,r,o,i){super(t,n),this.urlAfterRedirects=r,this.state=o,this.shouldActivate=i,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class lx extends Ft{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class cx extends Ft{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class dx{constructor(t){this.route=t,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class fx{constructor(t){this.route=t,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class hx{constructor(t){this.snapshot=t,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class px{constructor(t){this.snapshot=t,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class gx{constructor(t){this.snapshot=t,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class mx{constructor(t){this.snapshot=t,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Iv{constructor(t,n,r){this.routerEvent=t,this.position=n,this.anchor=r,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}let Dx=(()=>{class e{createUrlTree(n,r,o,i,s,a){return ex(n||r.root,o,i,s,a)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=P({token:e,factory:e.\u0275fac}),e})(),Cx=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=P({token:e,factory:function(t){return Dx.\u0275fac(t)},providedIn:"root"}),e})();class bv{constructor(t){this._root=t}get root(){return this._root.value}parent(t){const n=this.pathFromRoot(t);return n.length>1?n[n.length-2]:null}children(t){const n=_c(t,this._root);return n?n.children.map(r=>r.value):[]}firstChild(t){const n=_c(t,this._root);return n&&n.children.length>0?n.children[0].value:null}siblings(t){const n=Ec(t,this._root);return n.length<2?[]:n[n.length-2].children.map(o=>o.value).filter(o=>o!==t)}pathFromRoot(t){return Ec(t,this._root).map(n=>n.value)}}function _c(e,t){if(e===t.value)return t;for(const n of t.children){const r=_c(e,n);if(r)return r}return null}function Ec(e,t){if(e===t.value)return[t];for(const n of t.children){const r=Ec(e,n);if(r.length)return r.unshift(t),r}return[]}class en{constructor(t,n){this.value=t,this.children=n}toString(){return`TreeNode(${this.value})`}}function Nr(e){const t={};return e&&e.children.forEach(n=>t[n.value.outlet]=n),t}class Mv extends bv{constructor(t,n){super(t),this.snapshot=n,Sc(this,t)}toString(){return this.snapshot.toString()}}function Tv(e,t){const n=function _x(e,t){const s=new $s([],{},{},"",{},k,t,null,e.root,-1,{});return new Rv("",new en(s,[]))}(e,t),r=new _t([new Lo("",{})]),o=new _t({}),i=new _t({}),s=new _t({}),a=new _t(""),u=new Pr(r,o,s,a,i,k,t,n.root);return u.snapshot=n.root,new Mv(new en(u,[]),n)}class Pr{constructor(t,n,r,o,i,s,a,u){this.url=t,this.params=n,this.queryParams=r,this.fragment=o,this.data=i,this.outlet=s,this.component=a,this.title=this.data?.pipe(H(l=>l[Fo]))??b(void 0),this._futureSnapshot=u}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(H(t=>Tr(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(H(t=>Tr(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Av(e,t="emptyOnly"){const n=e.pathFromRoot;let r=0;if("always"!==t)for(r=n.length-1;r>=1;){const o=n[r],i=n[r-1];if(o.routeConfig&&""===o.routeConfig.path)r--;else{if(i.component)break;r--}}return function Ex(e){return e.reduce((t,n)=>({params:{...t.params,...n.params},data:{...t.data,...n.data},resolve:{...n.data,...t.resolve,...n.routeConfig?.data,...n._resolvedData}}),{params:{},data:{},resolve:{}})}(n.slice(r))}class $s{get title(){return this.data?.[Fo]}constructor(t,n,r,o,i,s,a,u,l,c,d){this.url=t,this.params=n,this.queryParams=r,this.fragment=o,this.data=i,this.outlet=s,this.component=a,this.routeConfig=u,this._urlSegment=l,this._lastPathIndex=c,this._resolve=d}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=Tr(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Tr(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(r=>r.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Rv extends bv{constructor(t,n){super(n),this.url=t,Sc(this,n)}toString(){return xv(this._root)}}function Sc(e,t){t.value._routerState=e,t.children.forEach(n=>Sc(e,n))}function xv(e){const t=e.children.length>0?` { ${e.children.map(xv).join(", ")} } `:"";return`${e.value}${t}`}function Ic(e){if(e.snapshot){const t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,Ot(t.queryParams,n.queryParams)||e.queryParams.next(n.queryParams),t.fragment!==n.fragment&&e.fragment.next(n.fragment),Ot(t.params,n.params)||e.params.next(n.params),function kR(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;++n)if(!Ot(e[n],t[n]))return!1;return!0}(t.url,n.url)||e.url.next(n.url),Ot(t.data,n.data)||e.data.next(n.data)}else e.snapshot=e._futureSnapshot,e.data.next(e._futureSnapshot.data)}function bc(e,t){const n=Ot(e.params,t.params)&&function UR(e,t){return jn(e,t)&&e.every((n,r)=>Ot(n.parameters,t[r].parameters))}(e.url,t.url);return n&&!(!e.parent!=!t.parent)&&(!e.parent||bc(e.parent,t.parent))}function Bo(e,t,n){if(n&&e.shouldReuseRoute(t.value,n.value.snapshot)){const r=n.value;r._futureSnapshot=t.value;const o=function Ix(e,t,n){return t.children.map(r=>{for(const o of n.children)if(e.shouldReuseRoute(r.value,o.value.snapshot))return Bo(e,r,o);return Bo(e,r)})}(e,t,n);return new en(r,o)}{if(e.shouldAttach(t.value)){const i=e.retrieve(t.value);if(null!==i){const s=i.route;return s.value._futureSnapshot=t.value,s.children=t.children.map(a=>Bo(e,a)),s}}const r=function bx(e){return new Pr(new _t(e.url),new _t(e.params),new _t(e.queryParams),new _t(e.fragment),new _t(e.data),e.outlet,e.component,e)}(t.value),o=t.children.map(i=>Bo(e,i));return new en(r,o)}}const Mc="ngNavigationCancelingError";function Nv(e,t){const{redirectTo:n,navigationBehaviorOptions:r}=$n(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,o=Pv(!1,0,t);return o.url=n,o.navigationBehaviorOptions=r,o}function Pv(e,t,n){const r=new Error("NavigationCancelingError: "+(e||""));return r[Mc]=!0,r.cancellationCode=t,n&&(r.url=n),r}function Ov(e){return Fv(e)&&$n(e.url)}function Fv(e){return e&&e[Mc]}class Mx{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.injector=null,this.children=new Ho,this.attachRef=null}}let Ho=(()=>{class e{constructor(){this.contexts=new Map}onChildOutletCreated(n,r){const o=this.getOrCreateContext(n);o.outlet=r,this.contexts.set(n,o)}onChildOutletDestroyed(n){const r=this.getContext(n);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){const n=this.contexts;return this.contexts=new Map,n}onOutletReAttached(n){this.contexts=n}getOrCreateContext(n){let r=this.getContext(n);return r||(r=new Mx,this.contexts.set(n,r)),r}getContext(n){return this.contexts.get(n)||null}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Vs=!1;let Lv=(()=>{class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=k,this.activateEvents=new ke,this.deactivateEvents=new ke,this.attachEvents=new ke,this.detachEvents=new ke,this.parentContexts=z(Ho),this.location=z(vt),this.changeDetector=z(Rl),this.environmentInjector=z(Gt)}ngOnChanges(n){if(n.name){const{firstChange:r,previousValue:o}=n.name;if(r)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name)}isTrackedInParentContexts(n){return this.parentContexts.getContext(n)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const n=this.parentContexts.getContext(this.name);n?.route&&(n.attachRef?this.attach(n.attachRef,n.route):this.activateWith(n.route,n.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new w(4012,Vs);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new w(4012,Vs);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new w(4012,Vs);this.location.detach();const n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}attach(n,r){this.activated=n,this._activatedRoute=r,this.location.insert(n.hostView),this.attachEvents.emit(n.instance)}deactivate(){if(this.activated){const n=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}}activateWith(n,r){if(this.isActivated)throw new w(4013,Vs);this._activatedRoute=n;const o=this.location,s=n.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,u=new Tx(n,a,o.injector);if(r&&function Ax(e){return!!e.resolveComponentFactory}(r)){const l=r.resolveComponentFactory(s);this.activated=o.createComponent(l,o.length,u)}else this.activated=o.createComponent(s,{index:o.length,injector:u,environmentInjector:r??this.environmentInjector});this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=Ne({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[Sn]}),e})();class Tx{constructor(t,n,r){this.route=t,this.childContexts=n,this.parent=r}get(t,n){return t===Pr?this.route:t===Ho?this.childContexts:this.parent.get(t,n)}}let Tc=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=va({type:e,selectors:[["ng-component"]],standalone:!0,features:[zg],decls:1,vars:0,template:function(n,r){1&n&&xn(0,"router-outlet")},dependencies:[Lv],encapsulation:2}),e})();function kv(e,t){return e.providers&&!e._injector&&(e._injector=ns(e.providers,t,`Route: ${e.path}`)),e._injector??t}function Rc(e){const t=e.children&&e.children.map(Rc),n=t?{...e,children:t}:{...e};return!n.component&&!n.loadComponent&&(t||n.loadChildren)&&n.outlet&&n.outlet!==k&&(n.component=Tc),n}function lt(e){return e.outlet||k}function jv(e,t){const n=e.filter(r=>lt(r)===t);return n.push(...e.filter(r=>lt(r)!==t)),n}function zo(e){if(!e)return null;if(e.routeConfig?._injector)return e.routeConfig._injector;for(let t=e.parent;t;t=t.parent){const n=t.routeConfig;if(n?._loadedInjector)return n._loadedInjector;if(n?._injector)return n._injector}return null}class Ox{constructor(t,n,r,o){this.routeReuseStrategy=t,this.futureState=n,this.currState=r,this.forwardEvent=o}activate(t){const n=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(n,r,t),Ic(this.futureState.root),this.activateChildRoutes(n,r,t)}deactivateChildRoutes(t,n,r){const o=Nr(n);t.children.forEach(i=>{const s=i.value.outlet;this.deactivateRoutes(i,o[s],r),delete o[s]}),Ie(o,(i,s)=>{this.deactivateRouteAndItsChildren(i,r)})}deactivateRoutes(t,n,r){const o=t.value,i=n?n.value:null;if(o===i)if(o.component){const s=r.getContext(o.outlet);s&&this.deactivateChildRoutes(t,n,s.children)}else this.deactivateChildRoutes(t,n,r);else i&&this.deactivateRouteAndItsChildren(n,r)}deactivateRouteAndItsChildren(t,n){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,n):this.deactivateRouteAndOutlet(t,n)}detachAndStoreRouteSubtree(t,n){const r=n.getContext(t.value.outlet),o=r&&t.value.component?r.children:n,i=Nr(t);for(const s of Object.keys(i))this.deactivateRouteAndItsChildren(i[s],o);if(r&&r.outlet){const s=r.outlet.detach(),a=r.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:s,route:t,contexts:a})}}deactivateRouteAndOutlet(t,n){const r=n.getContext(t.value.outlet),o=r&&t.value.component?r.children:n,i=Nr(t);for(const s of Object.keys(i))this.deactivateRouteAndItsChildren(i[s],o);r&&(r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated()),r.attachRef=null,r.resolver=null,r.route=null)}activateChildRoutes(t,n,r){const o=Nr(n);t.children.forEach(i=>{this.activateRoutes(i,o[i.value.outlet],r),this.forwardEvent(new mx(i.value.snapshot))}),t.children.length&&this.forwardEvent(new px(t.value.snapshot))}activateRoutes(t,n,r){const o=t.value,i=n?n.value:null;if(Ic(o),o===i)if(o.component){const s=r.getOrCreateContext(o.outlet);this.activateChildRoutes(t,n,s.children)}else this.activateChildRoutes(t,n,r);else if(o.component){const s=r.getOrCreateContext(o.outlet);if(this.routeReuseStrategy.shouldAttach(o.snapshot)){const a=this.routeReuseStrategy.retrieve(o.snapshot);this.routeReuseStrategy.store(o.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),Ic(a.route.value),this.activateChildRoutes(t,null,s.children)}else{const a=zo(o.snapshot),u=a?.get(ho)??null;s.attachRef=null,s.route=o,s.resolver=u,s.injector=a,s.outlet&&s.outlet.activateWith(o,s.injector),this.activateChildRoutes(t,null,s.children)}}else this.activateChildRoutes(t,null,r)}}class $v{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class Us{constructor(t,n){this.component=t,this.route=n}}function Fx(e,t,n){const r=e._root;return Go(r,t?t._root:null,n,[r.value])}function Or(e,t){const n=Symbol(),r=t.get(e,n);return r===n?"function"!=typeof e||function vw(e){return null!==ni(e)}(e)?t.get(e):e:r}function Go(e,t,n,r,o={canDeactivateChecks:[],canActivateChecks:[]}){const i=Nr(t);return e.children.forEach(s=>{(function kx(e,t,n,r,o={canDeactivateChecks:[],canActivateChecks:[]}){const i=e.value,s=t?t.value:null,a=n?n.getContext(e.value.outlet):null;if(s&&i.routeConfig===s.routeConfig){const u=function jx(e,t,n){if("function"==typeof n)return n(e,t);switch(n){case"pathParamsChange":return!jn(e.url,t.url);case"pathParamsOrQueryParamsChange":return!jn(e.url,t.url)||!Ot(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!bc(e,t)||!Ot(e.queryParams,t.queryParams);default:return!bc(e,t)}}(s,i,i.routeConfig.runGuardsAndResolvers);u?o.canActivateChecks.push(new $v(r)):(i.data=s.data,i._resolvedData=s._resolvedData),Go(e,t,i.component?a?a.children:null:n,r,o),u&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new Us(a.outlet.component,s))}else s&&Wo(t,a,o),o.canActivateChecks.push(new $v(r)),Go(e,null,i.component?a?a.children:null:n,r,o)})(s,i[s.value.outlet],n,r.concat([s.value]),o),delete i[s.value.outlet]}),Ie(i,(s,a)=>Wo(s,n.getContext(a),o)),o}function Wo(e,t,n){const r=Nr(e),o=e.value;Ie(r,(i,s)=>{Wo(i,o.component?t?t.children.getContext(s):null:t,n)}),n.canDeactivateChecks.push(new Us(o.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,o))}function qo(e){return"function"==typeof e}function xc(e){return e instanceof Ts||"EmptyError"===e?.name}const Bs=Symbol("INITIAL_VALUE");function Fr(){return Pt(e=>Jy(e.map(t=>t.pipe(Mr(1),function RR(...e){const t=Ur(e);return we((n,r)=>{(t?cc(e,n,t):cc(e,n)).subscribe(r)})}(Bs)))).pipe(H(t=>{for(const n of t)if(!0!==n){if(n===Bs)return Bs;if(!1===n||n instanceof mn)return n}return!0}),fn(t=>t!==Bs),Mr(1)))}function Vv(e){return function wD(...e){return Wc(e)}(xe(t=>{if($n(t))throw Nv(0,t)}),H(t=>!0===t))}const Nc={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Uv(e,t,n,r,o){const i=Pc(e,t,n);return i.matched?function tN(e,t,n,r){const o=t.canMatch;return o&&0!==o.length?b(o.map(s=>{const a=Or(s,e);return gn(function zx(e){return e&&qo(e.canMatch)}(a)?a.canMatch(t,n):e.runInContext(()=>a(t,n)))})).pipe(Fr(),Vv()):b(!0)}(r=kv(t,r),t,n).pipe(H(s=>!0===s?i:{...Nc})):b(i)}function Pc(e,t,n){if(""===t.path)return"full"===t.pathMatch&&(e.hasChildren()||n.length>0)?{...Nc}:{matched:!0,consumedSegments:[],remainingSegments:n,parameters:{},positionalParamSegments:{}};const o=(t.matcher||LR)(n,e,t);if(!o)return{...Nc};const i={};Ie(o.posParams,(a,u)=>{i[u]=a.path});const s=o.consumed.length>0?{...i,...o.consumed[o.consumed.length-1].parameters}:i;return{matched:!0,consumedSegments:o.consumed,remainingSegments:n.slice(o.consumed.length),parameters:s,positionalParamSegments:o.posParams??{}}}function Hs(e,t,n,r){if(n.length>0&&function oN(e,t,n){return n.some(r=>zs(e,t,r)&<(r)!==k)}(e,n,r)){const i=new U(t,function rN(e,t,n,r){const o={};o[k]=r,r._sourceSegment=e,r._segmentIndexShift=t.length;for(const i of n)if(""===i.path&<(i)!==k){const s=new U([],{});s._sourceSegment=e,s._segmentIndexShift=t.length,o[lt(i)]=s}return o}(e,t,r,new U(n,e.children)));return i._sourceSegment=e,i._segmentIndexShift=t.length,{segmentGroup:i,slicedSegments:[]}}if(0===n.length&&function iN(e,t,n){return n.some(r=>zs(e,t,r))}(e,n,r)){const i=new U(e.segments,function nN(e,t,n,r,o){const i={};for(const s of r)if(zs(e,n,s)&&!o[lt(s)]){const a=new U([],{});a._sourceSegment=e,a._segmentIndexShift=t.length,i[lt(s)]=a}return{...o,...i}}(e,t,n,r,e.children));return i._sourceSegment=e,i._segmentIndexShift=t.length,{segmentGroup:i,slicedSegments:n}}const o=new U(e.segments,e.children);return o._sourceSegment=e,o._segmentIndexShift=t.length,{segmentGroup:o,slicedSegments:n}}function zs(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path}function Bv(e,t,n,r){return!!(lt(e)===r||r!==k&&zs(t,n,e))&&("**"===e.path||Pc(t,e,n).matched)}function Hv(e,t,n){return 0===t.length&&!e.children[n]}const Gs=!1;class Ws{constructor(t){this.segmentGroup=t||null}}class zv{constructor(t){this.urlTree=t}}function Zo(e){return Oo(new Ws(e))}function Gv(e){return Oo(new zv(e))}class lN{constructor(t,n,r,o,i){this.injector=t,this.configLoader=n,this.urlSerializer=r,this.urlTree=o,this.config=i,this.allowRedirects=!0}apply(){const t=Hs(this.urlTree.root,[],[],this.config).segmentGroup,n=new U(t.segments,t.children);return this.expandSegmentGroup(this.injector,this.config,n,k).pipe(H(i=>this.createUrlTree(Ls(i),this.urlTree.queryParams,this.urlTree.fragment))).pipe(pn(i=>{if(i instanceof zv)return this.allowRedirects=!1,this.match(i.urlTree);throw i instanceof Ws?this.noMatchError(i):i}))}match(t){return this.expandSegmentGroup(this.injector,this.config,t.root,k).pipe(H(o=>this.createUrlTree(Ls(o),t.queryParams,t.fragment))).pipe(pn(o=>{throw o instanceof Ws?this.noMatchError(o):o}))}noMatchError(t){return new w(4002,Gs)}createUrlTree(t,n,r){const o=mc(t);return new mn(o,n,r)}expandSegmentGroup(t,n,r,o){return 0===r.segments.length&&r.hasChildren()?this.expandChildren(t,n,r).pipe(H(i=>new U([],i))):this.expandSegment(t,r,n,r.segments,o,!0)}expandChildren(t,n,r){const o=[];for(const i of Object.keys(r.children))"primary"===i?o.unshift(i):o.push(i);return me(o).pipe(kn(i=>{const s=r.children[i],a=jv(n,i);return this.expandSegmentGroup(t,a,s,i).pipe(H(u=>({segment:u,outlet:i})))}),ov((i,s)=>(i[s.outlet]=s.segment,i),{}),iv())}expandSegment(t,n,r,o,i,s){return me(r).pipe(kn(a=>this.expandSegmentAgainstRoute(t,n,r,a,o,i,s).pipe(pn(l=>{if(l instanceof Ws)return b(null);throw l}))),hn(a=>!!a),pn((a,u)=>{if(xc(a))return Hv(n,o,i)?b(new U([],{})):Zo(n);throw a}))}expandSegmentAgainstRoute(t,n,r,o,i,s,a){return Bv(o,n,i,s)?void 0===o.redirectTo?this.matchSegmentAgainstRoute(t,n,o,i,s):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,n,r,o,i,s):Zo(n):Zo(n)}expandSegmentAgainstRouteUsingRedirect(t,n,r,o,i,s){return"**"===o.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,r,o,s):this.expandRegularSegmentAgainstRouteUsingRedirect(t,n,r,o,i,s)}expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,r,o){const i=this.applyRedirectCommands([],r.redirectTo,{});return r.redirectTo.startsWith("/")?Gv(i):this.lineralizeSegments(r,i).pipe(_e(s=>{const a=new U(s,{});return this.expandSegment(t,a,n,s,o,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(t,n,r,o,i,s){const{matched:a,consumedSegments:u,remainingSegments:l,positionalParamSegments:c}=Pc(n,o,i);if(!a)return Zo(n);const d=this.applyRedirectCommands(u,o.redirectTo,c);return o.redirectTo.startsWith("/")?Gv(d):this.lineralizeSegments(o,d).pipe(_e(f=>this.expandSegment(t,n,r,f.concat(l),s,!1)))}matchSegmentAgainstRoute(t,n,r,o,i){return"**"===r.path?(t=kv(r,t),r.loadChildren?(r._loadedRoutes?b({routes:r._loadedRoutes,injector:r._loadedInjector}):this.configLoader.loadChildren(t,r)).pipe(H(a=>(r._loadedRoutes=a.routes,r._loadedInjector=a.injector,new U(o,{})))):b(new U(o,{}))):Uv(n,r,o,t).pipe(Pt(({matched:s,consumedSegments:a,remainingSegments:u})=>s?this.getChildConfig(t=r._injector??t,r,o).pipe(_e(c=>{const d=c.injector??t,f=c.routes,{segmentGroup:h,slicedSegments:p}=Hs(n,a,u,f),g=new U(h.segments,h.children);if(0===p.length&&g.hasChildren())return this.expandChildren(d,f,g).pipe(H(m=>new U(a,m)));if(0===f.length&&0===p.length)return b(new U(a,{}));const y=lt(r)===i;return this.expandSegment(d,g,f,p,y?k:i,!0).pipe(H(_=>new U(a.concat(_.segments),_.children)))})):Zo(n)))}getChildConfig(t,n,r){return n.children?b({routes:n.children,injector:t}):n.loadChildren?void 0!==n._loadedRoutes?b({routes:n._loadedRoutes,injector:n._loadedInjector}):function eN(e,t,n,r){const o=t.canLoad;return void 0===o||0===o.length?b(!0):b(o.map(s=>{const a=Or(s,e);return gn(function Vx(e){return e&&qo(e.canLoad)}(a)?a.canLoad(t,n):e.runInContext(()=>a(t,n)))})).pipe(Fr(),Vv())}(t,n,r).pipe(_e(o=>o?this.configLoader.loadChildren(t,n).pipe(xe(i=>{n._loadedRoutes=i.routes,n._loadedInjector=i.injector})):function aN(e){return Oo(Pv(Gs,3))}())):b({routes:[],injector:t})}lineralizeSegments(t,n){let r=[],o=n.root;for(;;){if(r=r.concat(o.segments),0===o.numberOfChildren)return b(r);if(o.numberOfChildren>1||!o.children[k])return t.redirectTo,Oo(new w(4e3,Gs));o=o.children[k]}}applyRedirectCommands(t,n,r){return this.applyRedirectCreateUrlTree(n,this.urlSerializer.parse(n),t,r)}applyRedirectCreateUrlTree(t,n,r,o){const i=this.createSegmentGroup(t,n.root,r,o);return new mn(i,this.createQueryParams(n.queryParams,this.urlTree.queryParams),n.fragment)}createQueryParams(t,n){const r={};return Ie(t,(o,i)=>{if("string"==typeof o&&o.startsWith(":")){const a=o.substring(1);r[i]=n[a]}else r[i]=o}),r}createSegmentGroup(t,n,r,o){const i=this.createSegments(t,n.segments,r,o);let s={};return Ie(n.children,(a,u)=>{s[u]=this.createSegmentGroup(t,a,r,o)}),new U(i,s)}createSegments(t,n,r,o){return n.map(i=>i.path.startsWith(":")?this.findPosParam(t,i,o):this.findOrReturn(i,r))}findPosParam(t,n,r){const o=r[n.path.substring(1)];if(!o)throw new w(4001,Gs);return o}findOrReturn(t,n){let r=0;for(const o of n){if(o.path===t.path)return n.splice(r),o;r++}return t}}class dN{}class pN{constructor(t,n,r,o,i,s,a){this.injector=t,this.rootComponentType=n,this.config=r,this.urlTree=o,this.url=i,this.paramsInheritanceStrategy=s,this.urlSerializer=a}recognize(){const t=Hs(this.urlTree.root,[],[],this.config.filter(n=>void 0===n.redirectTo)).segmentGroup;return this.processSegmentGroup(this.injector,this.config,t,k).pipe(H(n=>{if(null===n)return null;const r=new $s([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},k,this.rootComponentType,null,this.urlTree.root,-1,{}),o=new en(r,n),i=new Rv(this.url,o);return this.inheritParamsAndData(i._root),i}))}inheritParamsAndData(t){const n=t.value,r=Av(n,this.paramsInheritanceStrategy);n.params=Object.freeze(r.params),n.data=Object.freeze(r.data),t.children.forEach(o=>this.inheritParamsAndData(o))}processSegmentGroup(t,n,r,o){return 0===r.segments.length&&r.hasChildren()?this.processChildren(t,n,r):this.processSegment(t,n,r,r.segments,o)}processChildren(t,n,r){return me(Object.keys(r.children)).pipe(kn(o=>{const i=r.children[o],s=jv(n,o);return this.processSegmentGroup(t,s,i,o)}),ov((o,i)=>o&&i?(o.push(...i),o):null),function PR(e,t=!1){return we((n,r)=>{let o=0;n.subscribe(Ce(r,i=>{const s=e(i,o++);(s||t)&&r.next(i),!s&&r.complete()}))})}(o=>null!==o),As(null),iv(),H(o=>{if(null===o)return null;const i=qv(o);return function gN(e){e.sort((t,n)=>t.value.outlet===k?-1:n.value.outlet===k?1:t.value.outlet.localeCompare(n.value.outlet))}(i),i}))}processSegment(t,n,r,o,i){return me(n).pipe(kn(s=>this.processSegmentAgainstRoute(s._injector??t,s,r,o,i)),hn(s=>!!s),pn(s=>{if(xc(s))return Hv(r,o,i)?b([]):b(null);throw s}))}processSegmentAgainstRoute(t,n,r,o,i){if(n.redirectTo||!Bv(n,r,o,i))return b(null);let s;if("**"===n.path){const a=o.length>0?uv(o).parameters:{},u=Qv(r)+o.length;s=b({snapshot:new $s(o,a,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Yv(n),lt(n),n.component??n._loadedComponent??null,n,Zv(r),u,Kv(n)),consumedSegments:[],remainingSegments:[]})}else s=Uv(r,n,o,t).pipe(H(({matched:a,consumedSegments:u,remainingSegments:l,parameters:c})=>{if(!a)return null;const d=Qv(r)+u.length;return{snapshot:new $s(u,c,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Yv(n),lt(n),n.component??n._loadedComponent??null,n,Zv(r),d,Kv(n)),consumedSegments:u,remainingSegments:l}}));return s.pipe(Pt(a=>{if(null===a)return b(null);const{snapshot:u,consumedSegments:l,remainingSegments:c}=a;t=n._injector??t;const d=n._loadedInjector??t,f=function mN(e){return e.children?e.children:e.loadChildren?e._loadedRoutes:[]}(n),{segmentGroup:h,slicedSegments:p}=Hs(r,l,c,f.filter(y=>void 0===y.redirectTo));if(0===p.length&&h.hasChildren())return this.processChildren(d,f,h).pipe(H(y=>null===y?null:[new en(u,y)]));if(0===f.length&&0===p.length)return b([new en(u,[])]);const g=lt(n)===i;return this.processSegment(d,f,h,p,g?k:i).pipe(H(y=>null===y?null:[new en(u,y)]))}))}}function yN(e){const t=e.value.routeConfig;return t&&""===t.path&&void 0===t.redirectTo}function qv(e){const t=[],n=new Set;for(const r of e){if(!yN(r)){t.push(r);continue}const o=t.find(i=>r.value.routeConfig===i.value.routeConfig);void 0!==o?(o.children.push(...r.children),n.add(o)):t.push(r)}for(const r of n){const o=qv(r.children);t.push(new en(r.value,o))}return t.filter(r=>!n.has(r))}function Zv(e){let t=e;for(;t._sourceSegment;)t=t._sourceSegment;return t}function Qv(e){let t=e,n=t._segmentIndexShift??0;for(;t._sourceSegment;)t=t._sourceSegment,n+=t._segmentIndexShift??0;return n-1}function Yv(e){return e.data||{}}function Kv(e){return e.resolve||{}}function Xv(e){return"string"==typeof e.title||null===e.title}function Oc(e){return Pt(t=>{const n=e(t);return n?me(n).pipe(H(()=>t)):b(t)})}const Lr=new R("ROUTES");let Fc=(()=>{class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=z(Pm)}loadComponent(n){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return b(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);const r=gn(n.loadComponent()).pipe(H(eD),xe(i=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=i}),hc(()=>{this.componentLoaders.delete(n)})),o=new nv(r,()=>new Lt).pipe(dc());return this.componentLoaders.set(n,o),o}loadChildren(n,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return b({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);const i=this.loadModuleFactoryOrRoutes(r.loadChildren).pipe(H(a=>{this.onLoadEndListener&&this.onLoadEndListener(r);let u,l,c=!1;Array.isArray(a)?l=a:(u=a.create(n).injector,l=av(u.get(Lr,[],T.Self|T.Optional)));return{routes:l.map(Rc),injector:u}}),hc(()=>{this.childrenLoaders.delete(r)})),s=new nv(i,()=>new Lt).pipe(dc());return this.childrenLoaders.set(r,s),s}loadModuleFactoryOrRoutes(n){return gn(n()).pipe(H(eD),_e(r=>r instanceof Bg||Array.isArray(r)?b(r):me(this.compiler.compileModuleAsync(r))))}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function eD(e){return function IN(e){return e&&"object"==typeof e&&"default"in e}(e)?e.default:e}let Zs=(()=>{class e{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.lastSuccessfulNavigation=null,this.events=new Lt,this.configLoader=z(Fc),this.environmentInjector=z(Gt),this.urlSerializer=z(ko),this.rootContexts=z(Ho),this.navigationId=0,this.afterPreactivation=()=>b(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=o=>this.events.next(new fx(o)),this.configLoader.onLoadStartListener=o=>this.events.next(new dx(o))}complete(){this.transitions?.complete()}handleNavigationRequest(n){const r=++this.navigationId;this.transitions?.next({...this.transitions.value,...n,id:r})}setupNavigations(n){return this.transitions=new _t({id:0,targetPageId:0,currentUrlTree:n.currentUrlTree,currentRawUrl:n.currentUrlTree,extractedUrl:n.urlHandlingStrategy.extract(n.currentUrlTree),urlAfterRedirects:n.urlHandlingStrategy.extract(n.currentUrlTree),rawUrl:n.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:Uo,restoredState:null,currentSnapshot:n.routerState.snapshot,targetSnapshot:null,currentRouterState:n.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(fn(r=>0!==r.id),H(r=>({...r,extractedUrl:n.urlHandlingStrategy.extract(r.rawUrl)})),Pt(r=>{let o=!1,i=!1;return b(r).pipe(xe(s=>{this.currentNavigation={id:s.id,initialUrl:s.rawUrl,extractedUrl:s.extractedUrl,trigger:s.source,extras:s.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),Pt(s=>{const a=n.browserUrlTree.toString(),u=!n.navigated||s.extractedUrl.toString()!==a||a!==n.currentUrlTree.toString();if(!u&&"reload"!==(s.extras.onSameUrlNavigation??n.onSameUrlNavigation)){const c="";return this.events.next(new js(s.id,n.serializeUrl(r.rawUrl),c,0)),n.rawUrlTree=s.rawUrl,s.resolve(null),Et}if(n.urlHandlingStrategy.shouldProcessUrl(s.rawUrl))return tD(s.source)&&(n.browserUrlTree=s.extractedUrl),b(s).pipe(Pt(c=>{const d=this.transitions?.getValue();return this.events.next(new wc(c.id,this.urlSerializer.serialize(c.extractedUrl),c.source,c.restoredState)),d!==this.transitions?.getValue()?Et:Promise.resolve(c)}),function cN(e,t,n,r){return Pt(o=>function uN(e,t,n,r,o){return new lN(e,t,n,r,o).apply()}(e,t,n,o.extractedUrl,r).pipe(H(i=>({...o,urlAfterRedirects:i}))))}(this.environmentInjector,this.configLoader,this.urlSerializer,n.config),xe(c=>{this.currentNavigation={...this.currentNavigation,finalUrl:c.urlAfterRedirects},r.urlAfterRedirects=c.urlAfterRedirects}),function DN(e,t,n,r,o){return _e(i=>function hN(e,t,n,r,o,i,s="emptyOnly"){return new pN(e,t,n,r,o,s,i).recognize().pipe(Pt(a=>null===a?function fN(e){return new ge(t=>t.error(e))}(new dN):b(a)))}(e,t,n,i.urlAfterRedirects,r.serialize(i.urlAfterRedirects),r,o).pipe(H(s=>({...i,targetSnapshot:s}))))}(this.environmentInjector,this.rootComponentType,n.config,this.urlSerializer,n.paramsInheritanceStrategy),xe(c=>{if(r.targetSnapshot=c.targetSnapshot,"eager"===n.urlUpdateStrategy){if(!c.extras.skipLocationChange){const f=n.urlHandlingStrategy.merge(c.urlAfterRedirects,c.rawUrl);n.setBrowserUrl(f,c)}n.browserUrlTree=c.urlAfterRedirects}const d=new sx(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(d)}));if(u&&n.urlHandlingStrategy.shouldProcessUrl(n.rawUrlTree)){const{id:c,extractedUrl:d,source:f,restoredState:h,extras:p}=s,g=new wc(c,this.urlSerializer.serialize(d),f,h);this.events.next(g);const y=Tv(d,this.rootComponentType).snapshot;return b(r={...s,targetSnapshot:y,urlAfterRedirects:d,extras:{...p,skipLocationChange:!1,replaceUrl:!1}})}{const c="";return this.events.next(new js(s.id,n.serializeUrl(r.extractedUrl),c,1)),n.rawUrlTree=s.rawUrl,s.resolve(null),Et}}),xe(s=>{const a=new ax(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(a)}),H(s=>r={...s,guards:Fx(s.targetSnapshot,s.currentSnapshot,this.rootContexts)}),function Wx(e,t){return _e(n=>{const{targetSnapshot:r,currentSnapshot:o,guards:{canActivateChecks:i,canDeactivateChecks:s}}=n;return 0===s.length&&0===i.length?b({...n,guardsResult:!0}):function qx(e,t,n,r){return me(e).pipe(_e(o=>function Jx(e,t,n,r,o){const i=t&&t.routeConfig?t.routeConfig.canDeactivate:null;return i&&0!==i.length?b(i.map(a=>{const u=zo(t)??o,l=Or(a,u);return gn(function Hx(e){return e&&qo(e.canDeactivate)}(l)?l.canDeactivate(e,t,n,r):u.runInContext(()=>l(e,t,n,r))).pipe(hn())})).pipe(Fr()):b(!0)}(o.component,o.route,n,t,r)),hn(o=>!0!==o,!0))}(s,r,o,e).pipe(_e(a=>a&&function $x(e){return"boolean"==typeof e}(a)?function Zx(e,t,n,r){return me(t).pipe(kn(o=>cc(function Yx(e,t){return null!==e&&t&&t(new hx(e)),b(!0)}(o.route.parent,r),function Qx(e,t){return null!==e&&t&&t(new gx(e)),b(!0)}(o.route,r),function Xx(e,t,n){const r=t[t.length-1],i=t.slice(0,t.length-1).reverse().map(s=>function Lx(e){const t=e.routeConfig?e.routeConfig.canActivateChild:null;return t&&0!==t.length?{node:e,guards:t}:null}(s)).filter(s=>null!==s).map(s=>tv(()=>b(s.guards.map(u=>{const l=zo(s.node)??n,c=Or(u,l);return gn(function Bx(e){return e&&qo(e.canActivateChild)}(c)?c.canActivateChild(r,e):l.runInContext(()=>c(r,e))).pipe(hn())})).pipe(Fr())));return b(i).pipe(Fr())}(e,o.path,n),function Kx(e,t,n){const r=t.routeConfig?t.routeConfig.canActivate:null;if(!r||0===r.length)return b(!0);const o=r.map(i=>tv(()=>{const s=zo(t)??n,a=Or(i,s);return gn(function Ux(e){return e&&qo(e.canActivate)}(a)?a.canActivate(t,e):s.runInContext(()=>a(t,e))).pipe(hn())}));return b(o).pipe(Fr())}(e,o.route,n))),hn(o=>!0!==o,!0))}(r,i,e,t):b(a)),H(a=>({...n,guardsResult:a})))})}(this.environmentInjector,s=>this.events.next(s)),xe(s=>{if(r.guardsResult=s.guardsResult,$n(s.guardsResult))throw Nv(0,s.guardsResult);const a=new ux(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot,!!s.guardsResult);this.events.next(a)}),fn(s=>!!s.guardsResult||(n.restoreHistory(s),this.cancelNavigationTransition(s,"",3),!1)),Oc(s=>{if(s.guards.canActivateChecks.length)return b(s).pipe(xe(a=>{const u=new lx(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(u)}),Pt(a=>{let u=!1;return b(a).pipe(function wN(e,t){return _e(n=>{const{targetSnapshot:r,guards:{canActivateChecks:o}}=n;if(!o.length)return b(n);let i=0;return me(o).pipe(kn(s=>function CN(e,t,n,r){const o=e.routeConfig,i=e._resolve;return void 0!==o?.title&&!Xv(o)&&(i[Fo]=o.title),function _N(e,t,n,r){const o=function EN(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e)]}(e);if(0===o.length)return b({});const i={};return me(o).pipe(_e(s=>function SN(e,t,n,r){const o=zo(t)??r,i=Or(e,o);return gn(i.resolve?i.resolve(t,n):o.runInContext(()=>i(t,n)))}(e[s],t,n,r).pipe(hn(),xe(a=>{i[s]=a}))),fc(1),function OR(e){return H(()=>e)}(i),pn(s=>xc(s)?Et:Oo(s)))}(i,e,t,r).pipe(H(s=>(e._resolvedData=s,e.data=Av(e,n).resolve,o&&Xv(o)&&(e.data[Fo]=o.title),null)))}(s.route,r,e,t)),xe(()=>i++),fc(1),_e(s=>i===o.length?b(n):Et))})}(n.paramsInheritanceStrategy,this.environmentInjector),xe({next:()=>u=!0,complete:()=>{u||(n.restoreHistory(a),this.cancelNavigationTransition(a,"",2))}}))}),xe(a=>{const u=new cx(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(u)}))}),Oc(s=>{const a=u=>{const l=[];u.routeConfig?.loadComponent&&!u.routeConfig._loadedComponent&&l.push(this.configLoader.loadComponent(u.routeConfig).pipe(xe(c=>{u.component=c}),H(()=>{})));for(const c of u.children)l.push(...a(c));return l};return Jy(a(s.targetSnapshot.root)).pipe(As(),Mr(1))}),Oc(()=>this.afterPreactivation()),H(s=>{const a=function Sx(e,t,n){const r=Bo(e,t._root,n?n._root:void 0);return new Mv(r,t)}(n.routeReuseStrategy,s.targetSnapshot,s.currentRouterState);return r={...s,targetRouterState:a}}),xe(s=>{n.currentUrlTree=s.urlAfterRedirects,n.rawUrlTree=n.urlHandlingStrategy.merge(s.urlAfterRedirects,s.rawUrl),n.routerState=s.targetRouterState,"deferred"===n.urlUpdateStrategy&&(s.extras.skipLocationChange||n.setBrowserUrl(n.rawUrlTree,s),n.browserUrlTree=s.urlAfterRedirects)}),((e,t,n)=>H(r=>(new Ox(t,r.targetRouterState,r.currentRouterState,n).activate(e),r)))(this.rootContexts,n.routeReuseStrategy,s=>this.events.next(s)),Mr(1),xe({next:s=>{o=!0,this.lastSuccessfulNavigation=this.currentNavigation,n.navigated=!0,this.events.next(new Vn(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(n.currentUrlTree))),n.titleStrategy?.updateTitle(s.targetRouterState.snapshot),s.resolve(!0)},complete:()=>{o=!0}}),hc(()=>{o||i||this.cancelNavigationTransition(r,"",1),this.currentNavigation?.id===r.id&&(this.currentNavigation=null)}),pn(s=>{if(i=!0,Fv(s)){Ov(s)||(n.navigated=!0,n.restoreHistory(r,!0));const a=new ks(r.id,this.urlSerializer.serialize(r.extractedUrl),s.message,s.cancellationCode);if(this.events.next(a),Ov(s)){const u=n.urlHandlingStrategy.merge(s.url,n.rawUrlTree),l={skipLocationChange:r.extras.skipLocationChange,replaceUrl:"eager"===n.urlUpdateStrategy||tD(r.source)};n.scheduleNavigation(u,Uo,null,l,{resolve:r.resolve,reject:r.reject,promise:r.promise})}else r.resolve(!1)}else{n.restoreHistory(r,!0);const a=new Cc(r.id,this.urlSerializer.serialize(r.extractedUrl),s,r.targetSnapshot??void 0);this.events.next(a);try{r.resolve(n.errorHandler(s))}catch(u){r.reject(u)}}return Et}))}))}cancelNavigationTransition(n,r,o){const i=new ks(n.id,this.urlSerializer.serialize(n.extractedUrl),r,o);this.events.next(i),n.resolve(!1)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function tD(e){return e!==Uo}let nD=(()=>{class e{buildTitle(n){let r,o=n.root;for(;void 0!==o;)r=this.getResolvedTitleForRoute(o)??r,o=o.children.find(i=>i.outlet===k);return r}getResolvedTitleForRoute(n){return n.data[Fo]}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=P({token:e,factory:function(){return z(bN)},providedIn:"root"}),e})(),bN=(()=>{class e extends nD{constructor(n){super(),this.title=n}updateTitle(n){const r=this.buildTitle(n);void 0!==r&&this.title.setTitle(r)}}return e.\u0275fac=function(n){return new(n||e)(A(Yy))},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),MN=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=P({token:e,factory:function(){return z(AN)},providedIn:"root"}),e})();class TN{shouldDetach(t){return!1}store(t,n){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,n){return t.routeConfig===n.routeConfig}}let AN=(()=>{class e extends TN{}return e.\u0275fac=function(){let t;return function(r){return(t||(t=function cf(e){return jt(()=>{const t=e.prototype.constructor,n=t[Vt]||ja(t),r=Object.prototype;let o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){const i=o[Vt]||ja(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}(e)))(r||e)}}(),e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Qs=new R("",{providedIn:"root",factory:()=>({})});let xN=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=P({token:e,factory:function(){return z(NN)},providedIn:"root"}),e})(),NN=(()=>{class e{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,r){return n}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function PN(e){throw e}function ON(e,t,n){return t.parse("/")}const FN={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},LN={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Xe=(()=>{class e{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){if("computed"===this.canceledNavigationResolution)return this.location.getState()?.\u0275routerPageId}get events(){return this.navigationTransitions.events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=z(rM),this.isNgZoneEnabled=!1,this.options=z(Qs,{optional:!0})||{},this.errorHandler=this.options.errorHandler||PN,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||ON,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=z(xN),this.routeReuseStrategy=z(MN),this.urlCreationStrategy=z(Cx),this.titleStrategy=z(nD),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.config=av(z(Lr,{optional:!0})??[]),this.navigationTransitions=z(Zs),this.urlSerializer=z(ko),this.location=z($l),this.isNgZoneEnabled=z(ue)instanceof ue&&ue.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new mn,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=Tv(this.currentUrlTree,null),this.navigationTransitions.setupNavigations(this).subscribe(n=>{this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId??0},n=>{this.console.warn(`Unhandled Navigation Error: ${n}`)})}resetRootComponentType(n){this.routerState.root.component=n,this.navigationTransitions.rootComponentType=n}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){const n=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),Uo,n)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(n=>{const r="popstate"===n.type?"popstate":"hashchange";"popstate"===r&&setTimeout(()=>{this.navigateToSyncWithBrowser(n.url,r,n.state)},0)}))}navigateToSyncWithBrowser(n,r,o){const i={replaceUrl:!0},s=o?.navigationId?o:null;if(o){const u={...o};delete u.navigationId,delete u.\u0275routerPageId,0!==Object.keys(u).length&&(i.state=u)}const a=this.parseUrl(n);this.scheduleNavigation(a,r,s,i)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}resetConfig(n){this.config=n.map(Rc),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(n,r={}){const{relativeTo:o,queryParams:i,fragment:s,queryParamsHandling:a,preserveFragment:u}=r,l=u?this.currentUrlTree.fragment:s;let c=null;switch(a){case"merge":c={...this.currentUrlTree.queryParams,...i};break;case"preserve":c=this.currentUrlTree.queryParams;break;default:c=i||null}return null!==c&&(c=this.removeEmptyProps(c)),this.urlCreationStrategy.createUrlTree(o,this.routerState,this.currentUrlTree,n,c,l??null)}navigateByUrl(n,r={skipLocationChange:!1}){const o=$n(n)?n:this.parseUrl(n),i=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(i,Uo,null,r)}navigate(n,r={skipLocationChange:!1}){return function kN(e){for(let t=0;t<e.length;t++){const n=e[t];if(null==n)throw new w(4008,false)}}(n),this.navigateByUrl(this.createUrlTree(n,r),r)}serializeUrl(n){return this.urlSerializer.serialize(n)}parseUrl(n){let r;try{r=this.urlSerializer.parse(n)}catch(o){r=this.malformedUriErrorHandler(o,this.urlSerializer,n)}return r}isActive(n,r){let o;if(o=!0===r?{...FN}:!1===r?{...LN}:r,$n(n))return cv(this.currentUrlTree,n,o);const i=this.parseUrl(n);return cv(this.currentUrlTree,i,o)}removeEmptyProps(n){return Object.keys(n).reduce((r,o)=>{const i=n[o];return null!=i&&(r[o]=i),r},{})}scheduleNavigation(n,r,o,i,s){if(this.disposed)return Promise.resolve(!1);let a,u,l,c;return s?(a=s.resolve,u=s.reject,l=s.promise):l=new Promise((d,f)=>{a=d,u=f}),c="computed"===this.canceledNavigationResolution?o&&o.\u0275routerPageId?o.\u0275routerPageId:(this.browserPageId??0)+1:0,this.navigationTransitions.handleNavigationRequest({targetPageId:c,source:r,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:n,extras:i,resolve:a,reject:u,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(d=>Promise.reject(d))}setBrowserUrl(n,r){const o=this.urlSerializer.serialize(n);if(this.location.isCurrentPathEqualTo(o)||r.extras.replaceUrl){const s={...r.extras.state,...this.generateNgRouterState(r.id,this.browserPageId)};this.location.replaceState(o,"",s)}else{const i={...r.extras.state,...this.generateNgRouterState(r.id,r.targetPageId)};this.location.go(o,"",i)}}restoreHistory(n,r=!1){if("computed"===this.canceledNavigationResolution){const i=this.currentPageId-(this.browserPageId??this.currentPageId);0!==i?this.location.historyGo(i):this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===i&&(this.resetState(n),this.browserUrlTree=n.currentUrlTree,this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(r&&this.resetState(n),this.resetUrlToCurrentUrlTree())}resetState(n){this.routerState=n.currentRouterState,this.currentUrlTree=n.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(n,r){return"computed"===this.canceledNavigationResolution?{navigationId:n,\u0275routerPageId:r}:{navigationId:n}}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();class rD{}let VN=(()=>{class e{constructor(n,r,o,i,s){this.router=n,this.injector=o,this.preloadingStrategy=i,this.loader=s}setUpPreloading(){this.subscription=this.router.events.pipe(fn(n=>n instanceof Vn),kn(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(n,r){const o=[];for(const i of r){i.providers&&!i._injector&&(i._injector=ns(i.providers,n,`Route: ${i.path}`));const s=i._injector??n,a=i._loadedInjector??s;(i.loadChildren&&!i._loadedRoutes&&void 0===i.canLoad||i.loadComponent&&!i._loadedComponent)&&o.push(this.preloadConfig(s,i)),(i.children||i._loadedRoutes)&&o.push(this.processRoutes(a,i.children??i._loadedRoutes))}return me(o).pipe(Un())}preloadConfig(n,r){return this.preloadingStrategy.preload(r,()=>{let o;o=r.loadChildren&&void 0===r.canLoad?this.loader.loadChildren(n,r):b(null);const i=o.pipe(_e(s=>null===s?b(void 0):(r._loadedRoutes=s.routes,r._loadedInjector=s.injector,this.processRoutes(s.injector??n,s.routes))));return r.loadComponent&&!r._loadedComponent?me([i,this.loader.loadComponent(r)]).pipe(Un()):i})}}return e.\u0275fac=function(n){return new(n||e)(A(Xe),A(Pm),A(Gt),A(rD),A(Fc))},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const jc=new R("");let oD=(()=>{class e{constructor(n,r,o,i,s={}){this.urlSerializer=n,this.transitions=r,this.viewportScroller=o,this.zone=i,this.options=s,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},s.scrollPositionRestoration=s.scrollPositionRestoration||"disabled",s.anchorScrolling=s.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof wc?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=n.navigationTrigger,this.restoredId=n.restoredState?n.restoredState.navigationId:0):n instanceof Vn&&(this.lastId=n.id,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof Iv&&(n.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(n.position):n.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(n.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(n,r){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new Iv(n,"popstate"===this.lastSource?this.store[this.restoredId]:null,r))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}}return e.\u0275fac=function(n){!function Vh(){throw new Error("invalid")}()},e.\u0275prov=P({token:e,factory:e.\u0275fac}),e})();var Je=(()=>((Je=Je||{})[Je.COMPLETE=0]="COMPLETE",Je[Je.FAILED=1]="FAILED",Je[Je.REDIRECTING=2]="REDIRECTING",Je))();const kr=!1;function yn(e,t){return{\u0275kind:e,\u0275providers:t}}const $c=new R("",{providedIn:"root",factory:()=>!1});function sD(){const e=z(qt);return t=>{const n=e.get(ls);if(t!==n.components[0])return;const r=e.get(Xe),o=e.get(aD);1===e.get(Vc)&&r.initialNavigation(),e.get(uD,null,T.Optional)?.setUpPreloading(),e.get(jc,null,T.Optional)?.init(),r.resetRootComponentType(n.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}const aD=new R(kr?"bootstrap done indicator":"",{factory:()=>new Lt}),Vc=new R(kr?"initial navigation":"",{providedIn:"root",factory:()=>1});function GN(){let e=[];return e=kr?[{provide:Oi,multi:!0,useFactory:()=>{const t=z(Xe);return()=>t.events.subscribe(n=>{console.group?.(`Router Event: ${n.constructor.name}`),console.log(function yx(e){if(!("type"in e))return`Unknown Router Event: ${e.constructor.name}`;switch(e.type){case 14:return`ActivationEnd(path: '${e.snapshot.routeConfig?.path||""}')`;case 13:return`ActivationStart(path: '${e.snapshot.routeConfig?.path||""}')`;case 12:return`ChildActivationEnd(path: '${e.snapshot.routeConfig?.path||""}')`;case 11:return`ChildActivationStart(path: '${e.snapshot.routeConfig?.path||""}')`;case 8:return`GuardsCheckEnd(id: ${e.id}, url: '${e.url}', urlAfterRedirects: '${e.urlAfterRedirects}', state: ${e.state}, shouldActivate: ${e.shouldActivate})`;case 7:return`GuardsCheckStart(id: ${e.id}, url: '${e.url}', urlAfterRedirects: '${e.urlAfterRedirects}', state: ${e.state})`;case 2:return`NavigationCancel(id: ${e.id}, url: '${e.url}')`;case 16:return`NavigationSkipped(id: ${e.id}, url: '${e.url}')`;case 1:return`NavigationEnd(id: ${e.id}, url: '${e.url}', urlAfterRedirects: '${e.urlAfterRedirects}')`;case 3:return`NavigationError(id: ${e.id}, url: '${e.url}', error: ${e.error})`;case 0:return`NavigationStart(id: ${e.id}, url: '${e.url}')`;case 6:return`ResolveEnd(id: ${e.id}, url: '${e.url}', urlAfterRedirects: '${e.urlAfterRedirects}', state: ${e.state})`;case 5:return`ResolveStart(id: ${e.id}, url: '${e.url}', urlAfterRedirects: '${e.urlAfterRedirects}', state: ${e.state})`;case 10:return`RouteConfigLoadEnd(path: ${e.route.path})`;case 9:return`RouteConfigLoadStart(path: ${e.route.path})`;case 4:return`RoutesRecognized(id: ${e.id}, url: '${e.url}', urlAfterRedirects: '${e.urlAfterRedirects}', state: ${e.state})`;case 15:return`Scroll(anchor: '${e.anchor}', position: '${e.position?`${e.position[0]}, ${e.position[1]}`:null}')`}}(n)),console.log(n),console.groupEnd?.()})}}]:[],yn(1,e)}const uD=new R(kr?"router preloader":"");function WN(e){return yn(0,[{provide:uD,useExisting:VN},{provide:rD,useExisting:e}])}const Qo=!1,lD=new R(Qo?"router duplicate forRoot guard":"ROUTER_FORROOT_GUARD"),qN=[$l,{provide:ko,useClass:pc},Xe,Ho,{provide:Pr,useFactory:function iD(e){return e.routerState.root},deps:[Xe]},Fc,Qo?{provide:$c,useValue:!0}:[]];function ZN(){return new Um("Router",Xe)}let cD=(()=>{class e{constructor(n){}static forRoot(n,r){return{ngModule:e,providers:[qN,Qo&&r?.enableTracing?GN().\u0275providers:[],{provide:Lr,multi:!0,useValue:n},{provide:lD,useFactory:XN,deps:[[Xe,new no,new ro]]},{provide:Qs,useValue:r||{}},r?.useHash?{provide:Ln,useClass:zM}:{provide:Ln,useClass:cy},{provide:jc,useFactory:()=>{const e=z(fA),t=z(ue),n=z(Qs),r=z(Zs),o=z(ko);return n.scrollOffset&&e.setOffset(n.scrollOffset),new oD(o,r,e,t,n)}},r?.preloadingStrategy?WN(r.preloadingStrategy).\u0275providers:[],{provide:Um,multi:!0,useFactory:ZN},r?.initialNavigation?JN(r):[],[{provide:dD,useFactory:sD},{provide:Vm,multi:!0,useExisting:dD}]]}}static forChild(n){return{ngModule:e,providers:[{provide:Lr,multi:!0,useValue:n}]}}}return e.\u0275fac=function(n){return new(n||e)(A(lD,8))},e.\u0275mod=Cn({type:e}),e.\u0275inj=rn({imports:[Tc]}),e})();function XN(e){if(Qo&&e)throw new w(4007,"The Router was provided more than once. This can happen if 'forRoot' is used outside of the root injector. Lazy loaded modules should use RouterModule.forChild() instead.");return"guarded"}function JN(e){return["disabled"===e.initialNavigation?yn(3,[{provide:ss,multi:!0,useFactory:()=>{const t=z(Xe);return()=>{t.setUpLocationChangeListener()}}},{provide:Vc,useValue:2}]).\u0275providers:[],"enabledBlocking"===e.initialNavigation?yn(2,[{provide:Vc,useValue:0},{provide:ss,multi:!0,deps:[qt],useFactory:t=>{const n=t.get(BM,Promise.resolve());return()=>n.then(()=>new Promise(r=>{const o=t.get(Xe),i=t.get(aD);(function UN(e,t){e.events.pipe(fn(n=>n instanceof Vn||n instanceof ks||n instanceof Cc||n instanceof js),H(n=>n instanceof Vn||n instanceof js?Je.COMPLETE:n instanceof ks&&(0===n.code||1===n.code)?Je.REDIRECTING:Je.FAILED),fn(n=>n!==Je.REDIRECTING),Mr(1)).subscribe(()=>{t()})})(o,()=>{r(!0)}),t.get(Zs).afterPreactivation=()=>(r(!0),i.closed?b(void 0):i),o.initialNavigation()}))}}]).\u0275providers:[]]}const dD=new R(Qo?"Router Initializer":""),tP=[];let nP=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Cn({type:e});static#n=this.\u0275inj=rn({imports:[cD.forRoot(tP),cD]})}return e})(),rP=(()=>{class e{constructor(){this.title="admin"}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=va({type:e,selectors:[["app-root"]],decls:27,vars:0,consts:[[1,"rounded","overflow-hidden","border","w-full","lg:w-6/12","md:w-6/12","bg-white","mx-3","md:mx-0","lg:mx-0"],[1,"w-full","flex","justify-between","p-3"],[1,"flex"],[1,"rounded-full","h-8","w-8","bg-gray-500","flex","items-center","justify-center","overflow-hidden"],["src","https://avatars0.githubusercontent.com/u/38799309?v=4","alt","profilepic"],[1,"pt-1","ml-2","font-bold","text-sm"],[1,"px-2","hover:bg-gray-300","cursor-pointer","rounded"],[1,"fas","fa-ellipsis-h","pt-2","text-lg"],["src","https://3.bp.blogspot.com/-Chu20FDi9Ek/WoOD-ehQ29I/AAAAAAAAK7U/mc4CAiTYOY8VzOFzBKdR52aLRiyjqu0MwCLcBGAs/s1600/DSC04596%2B%25282%2529.JPG",1,"w-full","bg-cover"],[1,"px-3","pb-2"],[1,"pt-2"],[1,"far","fa-heart","cursor-pointer"],[1,"text-sm","text-gray-400","font-medium"],[1,"pt-1"],[1,"mb-2","text-sm"],[1,"font-medium","mr-2"],[1,"text-sm","mb-2","text-gray-400","cursor-pointer","font-medium"],[1,"mb-2"]],template:function(r,o){1&r&&(gt(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3),xn(4,"img",4),st(),gt(5,"span",5),ln(6,"braydoncoyer"),st()(),gt(7,"span",6),xn(8,"i",7),st()(),xn(9,"img",8),gt(10,"div",9)(11,"div",10),xn(12,"i",11),gt(13,"span",12),ln(14,"12 likes"),st()(),gt(15,"div",13)(16,"div",14)(17,"span",15),ln(18,"braydoncoyer"),st(),ln(19," Lord of the Rings is my favorite film-series. One day I'll make my way to New Zealand to visit the Hobbiton set! "),st()(),gt(20,"div",16),ln(21,"View all 14 comments"),st(),gt(22,"div",17)(23,"div",14)(24,"span",15),ln(25,"razzle_dazzle"),st(),ln(26," Dude! How cool! I went to New Zealand last summer and had a blast taking the tour! So much to see! Make sure you bring a good camera when you go! "),st()()()())}})}return e})(),oP=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Cn({type:e,bootstrap:[rP]});static#n=this.\u0275inj=rn({imports:[cR,nP]})}return e})();lR().bootstrapModule(oP).catch(e=>console.error(e))}},X=>{X(X.s=903)}]);