diff --git a/404.html b/404.html
index 250d0cf..1ad8fa7 100644
--- a/404.html
+++ b/404.html
@@ -1,4 +1,4 @@
-
+
OrbitLab
@@ -7,6 +7,6 @@
-
+
\ No newline at end of file
diff --git a/index.html b/index.html
index 9906b8b..7989b3d 100644
--- a/index.html
+++ b/index.html
@@ -1,4 +1,4 @@
-
+
OrbitLab
@@ -7,6 +7,6 @@
-
+
\ No newline at end of file
diff --git a/main.39eb1449045995a9.js b/main.39eb1449045995a9.js
new file mode 100644
index 0000000..293877f
--- /dev/null
+++ b/main.39eb1449045995a9.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunkOrbitLab=self.webpackChunkOrbitLab||[]).push([[179],{450:()=>{function ie(e){return"function"==typeof e}function go(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 Fi=go(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 mo(e,t){if(e){const n=e.indexOf(t);0<=n&&e.splice(n,1)}}class pt{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(ie(r))try{r()}catch(i){t=i instanceof Fi?i.errors:[i]}const{_finalizers:o}=this;if(o){this._finalizers=null;for(const i of o)try{rf(i)}catch(s){t=t??[],s instanceof Fi?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Fi(t)}}add(t){var n;if(t&&t!==this)if(this.closed)rf(t);else{if(t instanceof pt){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)&&mo(n,t)}remove(t){const{_finalizers:n}=this;n&&mo(n,t),t instanceof pt&&t._removeParent(this)}}pt.EMPTY=(()=>{const e=new pt;return e.closed=!0,e})();const tf=pt.EMPTY;function nf(e){return e instanceof pt||e&&"closed"in e&&ie(e.remove)&&ie(e.add)&&ie(e.unsubscribe)}function rf(e){ie(e)?e():e.unsubscribe()}const Hn={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Pi={setTimeout(e,t,...n){const{delegate:r}=Pi;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){const{delegate:t}=Pi;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function sf(e){Pi.setTimeout(()=>{const{onUnhandledError:t}=Hn;if(!t)throw e;t(e)})}function af(){}const Ov=za("C",void 0,void 0);function za(e,t,n){return{kind:e,value:t,error:n}}let Gn=null;function ki(e){if(Hn.useDeprecatedSynchronousErrorHandling){const t=!Gn;if(t&&(Gn={errorThrown:!1,error:null}),e(),t){const{errorThrown:n,error:r}=Gn;if(Gn=null,n)throw r}}else e()}class Wa extends pt{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,nf(t)&&t.add(this)):this.destination=Vv}static create(t,n,r){return new _o(t,n,r)}next(t){this.isStopped?Ya(function Rv(e){return za("N",e,void 0)}(t),this):this._next(t)}error(t){this.isStopped?Ya(function Nv(e){return za("E",void 0,e)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Ya(Ov,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 Pv=Function.prototype.bind;function qa(e,t){return Pv.call(e,t)}class kv{constructor(t){this.partialObserver=t}next(t){const{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){Li(r)}}error(t){const{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){Li(r)}else Li(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Li(n)}}}class _o extends Wa{constructor(t,n,r){let o;if(super(),ie(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&Hn.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&qa(t.next,i),error:t.error&&qa(t.error,i),complete:t.complete&&qa(t.complete,i)}):o=t}this.destination=new kv(o)}}function Li(e){Hn.useDeprecatedSynchronousErrorHandling?function Fv(e){Hn.useDeprecatedSynchronousErrorHandling&&Gn&&(Gn.errorThrown=!0,Gn.error=e)}(e):sf(e)}function Ya(e,t){const{onStoppedNotification:n}=Hn;n&&Pi.setTimeout(()=>n(e,t))}const Vv={closed:!0,next:af,error:function Lv(e){throw e},complete:af},Za="function"==typeof Symbol&&Symbol.observable||"@@observable";function zn(e){return e}function lf(e){return 0===e.length?zn:1===e.length?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}let Ce=(()=>{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 Bv(e){return e&&e instanceof Wa||function $v(e){return e&&ie(e.next)&&ie(e.error)&&ie(e.complete)}(e)&&nf(e)}(n)?n:new _o(n,r,o);return ki(()=>{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=cf(r))((o,i)=>{const s=new _o({next:a=>{try{n(a)}catch(l){i(l),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)}[Za](){return this}pipe(...n){return lf(n)(this)}toPromise(n){return new(n=cf(n))((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function cf(e){var t;return null!==(t=e??Hn.Promise)&&void 0!==t?t:Promise}const Uv=go(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let on=(()=>{class e extends Ce{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){const r=new uf(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new Uv}next(n){ki(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const r of this.currentObservers)r.next(n)}})}error(n){ki(()=>{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(){ki(()=>{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?tf:(this.currentObservers=null,i.push(n),new pt(()=>{this.currentObservers=null,mo(i,n)}))}_checkFinalizedStatuses(n){const{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){const n=new Ce;return n.source=this,n}}return e.create=(t,n)=>new uf(t,n),e})();class uf extends on{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:tf}}function df(e){return ie(e?.lift)}function Ne(e){return t=>{if(df(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 Ie(e,t,n,r,o){return new Hv(e,t,n,r,o)}class Hv extends Wa{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(l){t.error(l)}}:super._next,this._error=o?function(a){try{o(a)}catch(l){t.error(l)}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 Y(e,t){return Ne((n,r)=>{let o=0;n.subscribe(Ie(r,i=>{r.next(e.call(t,i,o++))}))})}function Sn(e){return this instanceof Sn?(this.v=e,this):new Sn(e)}function gf(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 Ja(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,l){!function o(i,s,a,l){Promise.resolve(l).then(function(c){i({value:c,done:a})},s)}(a,l,(s=e[i](s)).done,s.value)})}}}const mf=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function _f(e){return ie(e?.then)}function xf(e){return ie(e[Za])}function yf(e){return Symbol.asyncIterator&&ie(e?.[Symbol.asyncIterator])}function vf(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 bf=function lb(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function Df(e){return ie(e?.[bf])}function Cf(e){return function pf(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 l(f){f.value instanceof Sn?Promise.resolve(f.value.v).then(c,u):d(i[0][2],f)}(r[f](h))}catch(p){d(i[0][3],p)}}function c(f){a("next",f)}function u(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 Sn(n.read());if(o)return yield Sn(void 0);yield yield Sn(r)}}finally{n.releaseLock()}})}function wf(e){return ie(e?.getReader)}function gt(e){if(e instanceof Ce)return e;if(null!=e){if(xf(e))return function cb(e){return new Ce(t=>{const n=e[Za]();if(ie(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(mf(e))return function ub(e){return new Ce(t=>{for(let n=0;n{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,sf)})}(e);if(yf(e))return Ef(e);if(Df(e))return function fb(e){return new Ce(t=>{for(const n of e)if(t.next(n),t.closed)return;t.complete()})}(e);if(wf(e))return function hb(e){return Ef(Cf(e))}(e)}throw vf(e)}function Ef(e){return new Ce(t=>{(function pb(e,t){var n,r,o,i;return function ff(e,t,n,r){return new(n||(n=Promise))(function(i,s){function a(u){try{c(r.next(u))}catch(d){s(d)}}function l(u){try{c(r.throw(u))}catch(d){s(d)}}function c(u){u.done?i(u.value):function o(i){return i instanceof n?i:new n(function(s){s(i)})}(u.value).then(a,l)}c((r=r.apply(e,t||[])).next())})}(this,void 0,void 0,function*(){try{for(n=gf(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 sn(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 Re(e,t,n=1/0){return ie(t)?Re((r,o)=>Y((i,s)=>t(r,i,o,s))(gt(e(r,o))),n):("number"==typeof t&&(n=t),Ne((r,o)=>function gb(e,t,n,r,o,i,s,a){const l=[];let c=0,u=0,d=!1;const f=()=>{d&&!l.length&&!c&&t.complete()},h=g=>c{i&&t.next(g),c++;let _=!1;gt(n(g,u++)).subscribe(Ie(t,v=>{o?.(v),i?h(v):t.next(v)},()=>{_=!0},void 0,()=>{if(_)try{for(c--;l.length&&cp(v)):p(v)}f()}catch(v){t.error(v)}}))};return e.subscribe(Ie(t,h,()=>{d=!0,f()})),()=>{a?.()}}(r,o,e,n)))}function dr(e=1/0){return Re(zn,e)}const Bt=new Ce(e=>e.complete());function el(e){return e[e.length-1]}function Sf(e){return ie(el(e))?e.pop():void 0}function xo(e){return function _b(e){return e&&ie(e.schedule)}(el(e))?e.pop():void 0}function Mf(e,t=0){return Ne((n,r)=>{n.subscribe(Ie(r,o=>sn(r,e,()=>r.next(o),t),()=>sn(r,e,()=>r.complete(),t),o=>sn(r,e,()=>r.error(o),t)))})}function If(e,t=0){return Ne((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Af(e,t){if(!e)throw new Error("Iterable cannot be null");return new Ce(n=>{sn(n,t,()=>{const r=e[Symbol.asyncIterator]();sn(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function we(e,t){return t?function wb(e,t){if(null!=e){if(xf(e))return function yb(e,t){return gt(e).pipe(If(t),Mf(t))}(e,t);if(mf(e))return function bb(e,t){return new Ce(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}(e,t);if(_f(e))return function vb(e,t){return gt(e).pipe(If(t),Mf(t))}(e,t);if(yf(e))return Af(e,t);if(Df(e))return function Db(e,t){return new Ce(n=>{let r;return sn(n,t,()=>{r=e[bf](),sn(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)}),()=>ie(r?.return)&&r.return()})}(e,t);if(wf(e))return function Cb(e,t){return Af(Cf(e),t)}(e,t)}throw vf(e)}(e,t):gt(e)}function tl(e,t,...n){if(!0===t)return void e();if(!1===t)return;const r=new _o({next:()=>{r.unsubscribe(),e()}});return gt(t(...n)).subscribe(r)}function oe(e){for(let t in e)if(e[t]===oe)return t;throw Error("Could not find renamed property on target object.")}function nl(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function se(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(se).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 rl(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const Mb=oe({__forward_ref__:oe});function ae(e){return e.__forward_ref__=ae,e.toString=function(){return se(this())},e}function R(e){return ol(e)?e():e}function ol(e){return"function"==typeof e&&e.hasOwnProperty(Mb)&&e.__forward_ref__===ae}function il(e){return e&&!!e.\u0275providers}class b extends Error{constructor(t,n){super(Vi(t,n)),this.code=t}}function Vi(e,t){return`NG0${Math.abs(e)}${t?": "+t.trim():""}`}function L(e){return"string"==typeof e?e:null==e?"":String(e)}function ji(e,t){throw new b(-201,!1)}function mt(e,t){null==e&&function te(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function I(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function St(e){return{providers:e.providers||[],imports:e.imports||[]}}function $i(e){return Of(e,Bi)||Of(e,Rf)}function Of(e,t){return e.hasOwnProperty(t)?e[t]:null}function Nf(e){return e&&(e.hasOwnProperty(sl)||e.hasOwnProperty(Pb))?e[sl]:null}const Bi=oe({\u0275prov:oe}),sl=oe({\u0275inj:oe}),Rf=oe({ngInjectableDef:oe}),Pb=oe({ngInjectorDef:oe});var F=(()=>((F=F||{})[F.Default=0]="Default",F[F.Host=1]="Host",F[F.Self=2]="Self",F[F.SkipSelf=4]="SkipSelf",F[F.Optional=8]="Optional",F))();let al;function _t(e){const t=al;return al=e,t}function Ff(e,t,n){const r=$i(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&F.Optional?null:void 0!==t?t:void ji(se(e))}const ce=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),yo={},ll="__NG_DI_FLAG__",Ui="ngTempTokenPath",Lb="ngTokenPath",Vb=/\n/gm,jb="\u0275",Pf="__source";let vo;function fr(e){const t=vo;return vo=e,t}function $b(e,t=F.Default){if(void 0===vo)throw new b(-203,!1);return null===vo?Ff(e,void 0,t):vo.get(e,t&F.Optional?null:void 0,t)}function A(e,t=F.Default){return(function kb(){return al}()||$b)(R(e),t)}function Z(e,t=F.Default){return A(e,Hi(t))}function Hi(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function cl(e){const t=[];for(let n=0;n((Ut=Ut||{})[Ut.OnPush=0]="OnPush",Ut[Ut.Default=1]="Default",Ut))(),Ht=(()=>{return(e=Ht||(Ht={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",Ht;var e})();const ln={},X=[],Gi=oe({\u0275cmp:oe}),ul=oe({\u0275dir:oe}),dl=oe({\u0275pipe:oe}),Lf=oe({\u0275mod:oe}),cn=oe({\u0275fac:oe}),Do=oe({__NG_ELEMENT_ID__:oe});let Gb=0;function Mt(e){return an(()=>{const t=jf(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Ut.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,data:e.data||{},encapsulation:e.encapsulation||Ht.Emulated,id:"c"+Gb++,styles:e.styles||X,_:null,schemas:e.schemas||null,tView:null};$f(n);const r=e.dependencies;return n.directiveDefs=zi(r,!1),n.pipeDefs=zi(r,!0),n})}function Wb(e){return ne(e)||Ve(e)}function qb(e){return null!==e}function Gt(e){return an(()=>({type:e.type,bootstrap:e.bootstrap||X,declarations:e.declarations||X,imports:e.imports||X,exports:e.exports||X,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Vf(e,t){if(null==e)return ln;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 k(e){return an(()=>{const t=jf(e);return $f(t),t})}function ne(e){return e[Gi]||null}function Ve(e){return e[ul]||null}function Je(e){return e[dl]||null}function at(e,t){const n=e[Lf]||null;if(!n&&!0===t)throw new Error(`Type ${se(e)} does not have '\u0275mod' property.`);return n}function jf(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||X,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Vf(e.inputs,t),outputs:Vf(e.outputs)}}function $f(e){e.features?.forEach(t=>t(e))}function zi(e,t){if(!e)return null;const n=t?Je:Wb;return()=>("function"==typeof e?e():e).map(r=>n(r)).filter(qb)}const un=0,w=1,U=2,me=3,It=4,Wn=5,je=6,pr=7,xe=8,Wi=9,qi=10,z=11,fl=12,Co=13,Bf=14,gr=15,$e=16,wo=17,mr=18,zt=19,Eo=20,Uf=21,ue=22,hl=1,Hf=2,Yi=7,Zi=8,_r=9,ze=10;function lt(e){return Array.isArray(e)&&"object"==typeof e[hl]}function At(e){return Array.isArray(e)&&!0===e[hl]}function pl(e){return 0!=(4&e.flags)}function So(e){return e.componentOffset>-1}function Qi(e){return 1==(1&e.flags)}function Tt(e){return!!e.template}function Zb(e){return 0!=(256&e[U])}function qn(e,t){return e.hasOwnProperty(cn)?e[cn]:null}class Xb{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function xt(){return Wf}function Wf(e){return e.type.prototype.ngOnChanges&&(e.setInput=eD),Jb}function Jb(){const e=Yf(this),t=e?.current;if(t){const n=e.previous;if(n===ln)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function eD(e,t,n,r){const o=this.declaredInputs[n],i=Yf(e)||function tD(e,t){return e[qf]=t}(e,{previous:ln,current:null}),s=i.current||(i.current={}),a=i.previous,l=a[o];s[o]=new Xb(l&&l.currentValue,t,a===ln),e[r]=t}xt.ngInherit=!0;const qf="__ngSimpleChanges__";function Yf(e){return e[qf]||null}const yt=function(e,t,n){},Zf="svg";function Fe(e){for(;Array.isArray(e);)e=e[un];return e}function Ki(e,t){return Fe(t[e])}function ct(e,t){return Fe(t[e.index])}function Kf(e,t){return e.data[t]}function et(e,t){const n=t[e];return lt(n)?n:n[un]}function Xi(e){return 64==(64&e[U])}function In(e,t){return null==t?null:e[t]}function Xf(e){e[mr]=0}function ml(e,t){e[Wn]+=t;let n=e,r=e[me];for(;null!==r&&(1===t&&1===n[Wn]||-1===t&&0===n[Wn]);)r[Wn]+=t,n=r,r=r[me]}const V={lFrame:lh(null),bindingsEnabled:!0};function eh(){return V.bindingsEnabled}function y(){return V.lFrame.lView}function Q(){return V.lFrame.tView}function yr(e){return V.lFrame.contextLView=e,e[xe]}function vr(e){return V.lFrame.contextLView=null,e}function Pe(){let e=th();for(;null!==e&&64===e.type;)e=e.parent;return e}function th(){return V.lFrame.currentTNode}function Wt(e,t){const n=V.lFrame;n.currentTNode=e,n.isParent=t}function _l(){return V.lFrame.isParent}function br(){return V.lFrame.bindingIndex++}function pD(e,t){const n=V.lFrame;n.bindingIndex=n.bindingRootIndex=e,yl(t)}function yl(e){V.lFrame.currentDirectiveIndex=e}function bl(e){V.lFrame.currentQueryIndex=e}function mD(e){const t=e[w];return 2===t.type?t.declTNode:1===t.type?e[je]:null}function sh(e,t,n){if(n&F.SkipSelf){let o=t,i=e;for(;!(o=o.parent,null!==o||n&F.Host||(o=mD(i),null===o||(i=i[gr],10&o.type))););if(null===o)return!1;t=o,e=i}const r=V.lFrame=ah();return r.currentTNode=t,r.lView=e,!0}function Dl(e){const t=ah(),n=e[w];V.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function ah(){const e=V.lFrame,t=null===e?null:e.child;return null===t?lh(e):t}function lh(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 ch(){const e=V.lFrame;return V.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const uh=ch;function Cl(){const e=ch();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 qe(){return V.lFrame.selectedIndex}function Yn(e){V.lFrame.selectedIndex=e}function fe(){const e=V.lFrame;return Kf(e.tView,e.selectedIndex)}function Ji(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[l]<0&&(e[mr]+=65536),(a>11>16&&(3&e[U])===t){e[U]+=2048,yt(4,a,i);try{i.call(a)}finally{yt(5,a,i)}}}else{yt(4,a,i);try{i.call(a)}finally{yt(5,a,i)}}}const Dr=-1;class Io{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function Sl(e,t,n){let r=0;for(;rt){s=i-1;break}}}for(;i>16}(e),r=t;for(;n>0;)r=r[gr],n--;return r}let Ml=!0;function os(e){const t=Ml;return Ml=e,t}const _h=255,xh=5;let AD=0;const qt={};function is(e,t){const n=yh(e,t);if(-1!==n)return n;const r=t[w];r.firstCreatePass&&(e.injectorIndex=t.length,Il(r.data,e),Il(t,null),Il(r.blueprint,null));const o=Al(e,t),i=e.injectorIndex;if(mh(o)){const s=ns(o),a=rs(o,t),l=a[w].data;for(let c=0;c<8;c++)t[i+c]=a[s+c]|l[s+c]}return t[i+8]=o,i}function Il(e,t){e.push(0,0,0,0,0,0,0,0,t)}function yh(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Al(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=Sh(o),null===r)return Dr;if(n++,o=o[gr],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return Dr}function Tl(e,t,n){!function TD(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(Do)&&(r=n[Do]),null==r&&(r=n[Do]=AD++);const o=r&_h;t.data[e+(o>>xh)]|=1<=0?t&_h:FD:t}(n);if("function"==typeof i){if(!sh(t,e,r))return r&F.Host?vh(o,0,r):bh(t,n,r,o);try{const s=i(r);if(null!=s||r&F.Optional)return s;ji()}finally{uh()}}else if("number"==typeof i){let s=null,a=yh(e,t),l=Dr,c=r&F.Host?t[$e][je]:null;for((-1===a||r&F.SkipSelf)&&(l=-1===a?Al(e,t):t[a+8],l!==Dr&&Eh(r,!1)?(s=t[w],a=ns(l),t=rs(l,t)):a=-1);-1!==a;){const u=t[w];if(wh(i,a,u.data)){const d=ND(a,t,n,s,r,c);if(d!==qt)return d}l=t[a+8],l!==Dr&&Eh(r,t[w].data[a+8]===c)&&wh(i,a,t)?(s=u,a=ns(l),t=rs(l,t)):a=-1}}return o}function ND(e,t,n,r,o,i){const s=t[w],a=s.data[e+8],u=function ss(e,t,n,r,o){const i=e.providerIndexes,s=t.data,a=1048575&i,l=e.directiveStart,u=i>>20,f=o?a+u:e.directiveEnd;for(let h=r?a:a+u;h=l&&p.type===n)return h}if(o){const h=s[l];if(h&&Tt(h)&&h.type===n)return l}return null}(a,s,n,null==r?So(a)&&Ml:r!=s&&0!=(3&a.type),o&F.Host&&i===a);return null!==u?Zn(t,s,u,a):qt}function Zn(e,t,n,r){let o=e[n];const i=t.data;if(function ED(e){return e instanceof Io}(o)){const s=o;s.resolving&&function Ib(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new b(-200,`Circular dependency in DI detected for ${e}${n}`)}(function ee(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():L(e)}(i[n]));const a=os(s.canSeeViewProviders);s.resolving=!0;const l=s.injectImpl?_t(s.injectImpl):null;sh(e,r,F.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&function CD(e,t,n){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){const s=Wf(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!==l&&_t(l),os(a),s.resolving=!1,uh()}}return o}function wh(e,t,n){return!!(n[t+(e>>xh)]&1<{const t=e.prototype.constructor,n=t[cn]||Ol(t),r=Object.prototype;let o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){const i=o[cn]||Ol(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Ol(e){return ol(e)?()=>{const t=Ol(R(e));return t&&t()}:qn(e)}function Sh(e){const t=e[w],n=t.type;return 2===n?t.declTNode:1===n?e[je]:null}const Er="__parameters__";function Mr(e,t,n){return an(()=>{const r=function Nl(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(l,c,u){const d=l.hasOwnProperty(Er)?l[Er]:Object.defineProperty(l,Er,{value:[]})[Er];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),l}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}class M{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=I({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function Qn(e,t){e.forEach(n=>Array.isArray(n)?Qn(n,t):t(n))}function Ih(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function ls(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function ut(e,t,n){let r=Ir(e,t);return r>=0?e[1|r]=n:(r=~r,function jD(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(1===o)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;)e[o]=e[o-2],o--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function Fl(e,t){const n=Ir(e,t);if(n>=0)return e[1|n]}function Ir(e,t){return function Ah(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){const i=r+(o-r>>1),s=e[i<t?o=i:r=i+1}return~(o<((tt=tt||{})[tt.Important=1]="Important",tt[tt.DashCase=2]="DashCase",tt))();const $l=new Map;let aC=0;const Ul="__ngContext__";function Be(e,t){lt(t)?(e[Ul]=t[Eo],function cC(e){$l.set(e[Eo],e)}(t)):e[Ul]=t}let Hl;function Gl(e,t){return Hl(e,t)}function Vo(e){const t=e[me];return At(t)?t[me]:t}function zl(e){return Zh(e[Co])}function Wl(e){return Zh(e[It])}function Zh(e){for(;null!==e&&!At(e);)e=e[It];return e}function Tr(e,t,n,r,o){if(null!=r){let i,s=!1;At(r)?i=r:lt(r)&&(s=!0,r=r[un]);const a=Fe(r);0===e&&null!==n?null==o?tp(t,n,a):Kn(t,n,a,o||null,!0):1===e&&null!==n?Kn(t,n,a,o||null,!0):2===e?function Jl(e,t,n){const r=fs(e,t);r&&function AC(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}(t,a,s):3===e&&t.destroyNode(a),null!=i&&function NC(e,t,n,r,o){const i=n[Yi];i!==Fe(n)&&Tr(t,e,r,i,o);for(let a=ze;a0&&(e[n-1][It]=r[It]);const i=ls(e,ze+t);!function bC(e,t){jo(e,t,t[z],2,null,null),t[un]=null,t[je]=null}(r[w],r);const s=i[zt];null!==s&&s.detachView(i[w]),r[me]=null,r[It]=null,r[U]&=-65}return r}function Xh(e,t){if(!(128&t[U])){const n=t[z];n.destroyNode&&jo(e,t,n,3,null,null),function wC(e){let t=e[Co];if(!t)return Ql(e[w],e);for(;t;){let n=null;if(lt(t))n=t[Co];else{const r=t[ze];r&&(n=r)}if(!n){for(;t&&!t[It]&&t!==e;)lt(t)&&Ql(t[w],t),t=t[me];null===t&&(t=e),lt(t)&&Ql(t[w],t),n=t&&t[It]}t=n}}(t)}}function Ql(e,t){if(!(128&t[U])){t[U]&=-65,t[U]|=128,function IC(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r=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-1){const{encapsulation:i}=e.data[r.directiveStart+o];if(i===Ht.None||i===Ht.Emulated)return null}return ct(r,n)}}(e,t.parent,n)}function Kn(e,t,n,r,o){e.insertBefore(t,n,r,o)}function tp(e,t,n){e.appendChild(t,n)}function np(e,t,n,r,o){null!==r?Kn(e,t,n,r,o):tp(e,t,n)}function fs(e,t){return e.parentNode(t)}let Kl,nc,ip=function op(e,t,n){return 40&e.type?ct(e,n):null};function hs(e,t,n,r){const o=Jh(e,r,t),i=t[z],a=function rp(e,t,n){return ip(e,t,n)}(r.parent||t[je],r,t);if(null!=o)if(Array.isArray(n))for(let l=0;l{const s=i;lc(s,n,[],r)&&(o||(o=[]),o.push(s))}),void 0!==o&&Ap(o,n),n}function Ap(e,t){for(let n=0;n{t.push(i)})}}function lc(e,t,n,r){if(!(e=R(e)))return!1;let o=null,i=Nf(e);const s=!i&&ne(e);if(i||s){if(s&&!s.standalone)return!1;o=e}else{const l=e.ngModule;if(i=Nf(l),!i)return!1;o=l}const a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){const l="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const c of l)lc(c,t,n,r)}}else{if(!i)return!1;{if(null!=i.imports&&!a){let c;r.add(o);try{Qn(i.imports,u=>{lc(u,t,n,r)&&(c||(c=[]),c.push(u))})}finally{}void 0!==c&&Ap(c,t)}if(!a){const c=qn(o)||(()=>new o);t.push({provide:o,useFactory:c,deps:X},{provide:Sp,useValue:o,multi:!0},{provide:xs,useValue:()=>A(o),multi:!0})}const l=i.providers;null==l||a||cc(l,u=>{t.push(u)})}}return o!==e&&void 0!==e.providers}function cc(e,t){for(let n of e)il(n)&&(n=n.\u0275providers),Array.isArray(n)?cc(n,t):t(n)}const l1=oe({provide:String,useValue:oe});function uc(e){return null!==e&&"object"==typeof e&&l1 in e}function Xn(e){return"function"==typeof e}const dc=new M("Set Injector scope."),ys={},u1={};let fc;function vs(){return void 0===fc&&(fc=new Mp),fc}class pn{}class Np extends pn{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,pc(t,s=>this.processProvider(s)),this.records.set(Ep,Nr(void 0,this)),o.has("environment")&&this.records.set(pn,Nr(void 0,this));const i=this.records.get(dc);null!=i&&"string"==typeof i.value&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Sp.multi,X,F.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=fr(this),r=_t(void 0);try{return t()}finally{fr(n),_t(r)}}get(t,n=yo,r=F.Default){this.assertNotDestroyed(),r=Hi(r);const o=fr(this),i=_t(void 0);try{if(!(r&F.SkipSelf)){let a=this.records.get(t);if(void 0===a){const l=function g1(e){return"function"==typeof e||"object"==typeof e&&e instanceof M}(t)&&$i(t);a=l&&this.injectableDefInScope(l)?Nr(hc(t),ys):null,this.records.set(t,a)}if(null!=a)return this.hydrate(t,a)}return(r&F.Self?vs():this.parent).get(t,n=r&F.Optional&&n===yo?null:n)}catch(s){if("NullInjectorError"===s.name){if((s[Ui]=s[Ui]||[]).unshift(se(t)),o)throw s;return function Ub(e,t,n,r){const o=e[Ui];throw t[Pf]&&o.unshift(t[Pf]),e.message=function Hb(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&e.charAt(1)==jb?e.slice(2):e;let o=se(t);if(Array.isArray(t))o=t.map(se).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):se(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(Vb,"\n ")}`}("\n"+e.message,o,n,r),e[Lb]=o,e[Ui]=null,e}(s,t,"R3InjectorError",this.source)}throw s}finally{_t(i),fr(o)}}resolveInjectorInitializers(){const t=fr(this),n=_t(void 0);try{const r=this.get(xs.multi,X,F.Self);for(const o of r)o()}finally{fr(t),_t(n)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(se(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new b(205,!1)}processProvider(t){let n=Xn(t=R(t))?t:R(t&&t.provide);const r=function f1(e){return uc(e)?Nr(void 0,e.useValue):Nr(Rp(e),ys)}(t);if(Xn(t)||!0!==t.multi)this.records.get(n);else{let o=this.records.get(n);o||(o=Nr(void 0,ys,!0),o.factory=()=>cl(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===ys&&(n.value=u1,n.value=n.factory()),"object"==typeof n.value&&n.value&&function p1(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=R(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}}function hc(e){const t=$i(e),n=null!==t?t.factory:qn(e);if(null!==n)return n;if(e instanceof M)throw new b(204,!1);if(e instanceof Function)return function d1(e){const t=e.length;if(t>0)throw function No(e,t){const n=[];for(let r=0;rn.factory(e):()=>new e}(e);throw new b(204,!1)}function Rp(e,t,n){let r;if(Xn(e)){const o=R(e);return qn(o)||hc(o)}if(uc(e))r=()=>R(e.useValue);else if(function Op(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...cl(e.deps||[]));else if(function Tp(e){return!(!e||!e.useExisting)}(e))r=()=>A(R(e.useExisting));else{const o=R(e&&(e.useClass||e.provide));if(!function h1(e){return!!e.deps}(e))return qn(o)||hc(o);r=()=>new o(...cl(e.deps))}return r}function Nr(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function pc(e,t){for(const n of e)Array.isArray(n)?pc(n,t):n&&il(n)?pc(n.\u0275providers,t):t(n)}class m1{}class Fp{}class x1{resolveComponentFactory(t){throw function _1(e){const t=Error(`No component factory found for ${se(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let Ho=(()=>{class e{}return e.NULL=new x1,e})();function y1(){return Rr(Pe(),y())}function Rr(e,t){return new dt(ct(e,t))}let dt=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=y1,e})();class kp{}let gn=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function b1(){const e=y(),n=et(Pe().index,e);return(lt(n)?n:e)[z]}(),e})(),D1=(()=>{class e{}return e.\u0275prov=I({token:e,providedIn:"root",factory:()=>null}),e})();class Go{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const C1=new Go("15.2.9"),gc={},mc="ngOriginalError";function _c(e){return e[mc]}class Fr{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&&_c(t);for(;n&&_c(n);)n=_c(n);return n||null}}function mn(e){return e instanceof Function?e():e}function Vp(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 jp="ng-template";function F1(e,t,n){let r=0,o=!0;for(;ri?"":o[d+1].toLowerCase();const h=8&r?f:null;if(h&&-1!==Vp(h,c,0)||2&r&&c!==f){if(Ot(r))return!1;s=!0}}}}else{if(!s&&!Ot(r)&&!Ot(l))return!1;if(s&&Ot(l))continue;s=!1,r=l|1&r}}return Ot(r)||s}function Ot(e){return 0==(1&e)}function L1(e,t,n,r){if(null===t)return-1;let o=0;if(r||!n){let i=!1;for(;o-1)for(n++;n0?'="'+a+'"':"")+"]"}else 8&r?o+="."+s:4&r&&(o+=" "+s);else""!==o&&!Ot(s)&&(t+=Up(i,o),o=""),r=s,i=i||!Ot(r);n++}return""!==o&&(t+=Up(i,o)),t}const j={};function K(e){Hp(Q(),y(),qe()+e,!1)}function Hp(e,t,n,r){if(!r)if(3==(3&t[U])){const i=e.preOrderCheckHooks;null!==i&&es(t,i,n)}else{const i=e.preOrderHooks;null!==i&&ts(t,i,0,n)}Yn(n)}function qp(e,t=null,n=null,r){const o=Yp(e,t,n,r);return o.resolveInjectorInitializers(),o}function Yp(e,t=null,n=null,r,o=new Set){const i=[n||X,a1(e)];return r=r||("object"==typeof e?void 0:se(e)),new Np(i,t||vs(),r||null,o)}let Yt=(()=>{class e{static create(n,r){if(Array.isArray(n))return qp({name:""},r,n,"");{const o=n.name??"";return qp({name:o},n.parent,n.providers,o)}}}return e.THROW_IF_NOT_FOUND=yo,e.NULL=new Mp,e.\u0275prov=I({token:e,providedIn:"any",factory:()=>A(Ep)}),e.__NG_ELEMENT_ID__=-1,e})();function x(e,t=F.Default){const n=y();return null===n?A(e,t):Dh(Pe(),n,R(e),t)}function ng(e,t){const n=e.contentQueries;if(null!==n)for(let r=0;rue&&Hp(e,t,ue,!1),yt(s?2:0,o),n(r,o)}finally{Yn(i),yt(s?3:1,o)}}function wc(e,t,n){if(pl(t)){const o=t.directiveEnd;for(let i=t.directiveStart;i0;){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,zo(e,n,o.hostVars,j),o)}function Zt(e,t,n,r,o,i){const s=ct(e,t);!function Tc(e,t,n,r,o,i,s){if(null==i)e.removeAttribute(t,o,n);else{const a=null==s?L(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}(t[z],s,i,e.value,n,r,o)}function Aw(e,t,n,r,o,i){const s=i[t];if(null!==s){const a=r.setInput;for(let l=0;l0&&Oc(n)}}function Oc(e){for(let r=zl(e);null!==r;r=Wl(r))for(let o=ze;o0&&Oc(i)}const n=e[w].components;if(null!==n)for(let r=0;r0&&Oc(o)}}function Fw(e,t){const n=et(t,e),r=n[w];(function Pw(e,t){for(let n=t.length;n-1&&(Zl(t,r),ls(n,r))}this._attachedToViewContainer=!1}Xh(this._lView[w],this._lView)}onDestroy(t){!function ig(e,t,n,r){const o=dg(t);null===n?o.push(r):(o.push(n),e.firstCreatePass&&fg(e).push(r,o.length-1))}(this._lView[w],this._lView,null,t)}markForCheck(){Es(this._cdRefInjectingView||this._lView)}detach(){this._lView[U]&=-65}reattach(){this._lView[U]|=64}detectChanges(){Ss(this._lView[w],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new b(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function CC(e,t){jo(e,t,t[z],2,null,null)}(this._lView[w],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new b(902,!1);this._appRef=t}}class kw extends Wo{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;Ss(t[w],t,t[xe],!1)}checkNoChanges(){}get context(){return null}}class gg extends Ho{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=ne(t);return new qo(n,this.ngModule)}}function mg(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class Vw{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=Hi(r);const o=this.injector.get(t,gc,r);return o!==gc||n===gc?o:this.parentInjector.get(t,n,r)}}class qo extends Fp{get inputs(){return mg(this.componentDef.inputs)}get outputs(){return mg(this.componentDef.outputs)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function H1(e){return e.map(U1).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,r,o){let i=(o=o||this.ngModule)instanceof pn?o:o?.injector;i&&null!==this.componentDef.getStandaloneInjector&&(i=this.componentDef.getStandaloneInjector(i)||i);const s=i?new Vw(t,i):t,a=s.get(kp,null);if(null===a)throw new b(407,!1);const l=s.get(D1,null),c=a.createRenderer(null,this.componentDef),u=this.componentDef.selectors[0][0]||"div",d=r?function hw(e,t,n){return e.selectRootElement(t,n===Ht.ShadowDom)}(c,r,this.componentDef.encapsulation):Yl(c,u,function Lw(e){const t=e.toLowerCase();return"svg"===t?Zf:"math"===t?"math":null}(u)),f=this.componentDef.onPush?288:272,h=Mc(0,null,null,1,0,null,null,null,null,null),p=Ds(null,h,null,f,null,null,a,c,l,s,null);let g,_;Dl(p);try{const v=this.componentDef;let C,m=null;v.findHostDirectiveDefs?(C=[],m=new Map,v.findHostDirectiveDefs(v,C,m),C.push(v)):C=[v];const T=function $w(e,t){const n=e[w],r=ue;return e[r]=t,Lr(n,r,2,"#host",null)}(p,d),J=function Bw(e,t,n,r,o,i,s,a){const l=o[w];!function Uw(e,t,n,r){for(const o of e)t.mergedAttrs=Ao(t.mergedAttrs,o.hostAttrs);null!==t.mergedAttrs&&(Ms(t,t.mergedAttrs,!0),null!==n&&up(r,n,t))}(r,e,t,s);const c=i.createRenderer(t,n),u=Ds(o,og(n),null,n.onPush?32:16,o[e.index],e,i,c,a||null,null,null);return l.firstCreatePass&&Ac(l,e,r.length-1),ws(o,u),o[e.index]=u}(T,d,v,C,p,a,c);_=Kf(h,ue),d&&function Gw(e,t,n,r){if(r)Sl(e,n,["ng-version",C1.full]);else{const{attrs:o,classes:i}=function G1(e){const t=[],n=[];let r=1,o=2;for(;r0&&cp(e,n,i.join(" "))}}(c,v,d,r),void 0!==n&&function zw(e,t,n){const r=e.projection=[];for(let o=0;o=0;r--){const o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=Ao(o.hostAttrs,n=Ao(n,o.hostAttrs))}}(r)}function Fc(e){return e===ln?{}:e===X?[]:e}function Yw(e,t){const n=e.viewQuery;e.viewQuery=n?(r,o)=>{t(r,o),n(r,o)}:t}function Zw(e,t){const n=e.contentQueries;e.contentQueries=n?(r,o,i)=>{t(r,o,i),n(r,o,i)}:t}function Qw(e,t){const n=e.hostBindings;e.hostBindings=n?(r,o)=>{t(r,o),n(r,o)}:t}function As(e){return!!function Pc(e){return null!==e&&("function"==typeof e||"object"==typeof e)}(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function Ue(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function rt(e,t,n,r){const o=y();return Ue(o,br(),t)&&(Q(),Zt(fe(),o,e,t,n,r)),rt}function Dt(e,t,n,r,o,i,s,a){const l=y(),c=Q(),u=e+ue,d=c.firstCreatePass?function sE(e,t,n,r,o,i,s,a,l){const c=t.consts,u=Lr(t,e,4,s||null,In(c,a));Ic(t,n,u,In(c,l)),Ji(t,u);const d=u.tView=Mc(2,u,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,c);return null!==t.queries&&(t.queries.template(t,u),d.queries=t.queries.embeddedTView(u)),u}(u,c,l,t,n,r,o,i,s):c.data[u];Wt(d,!1);const f=l[z].createComment("");hs(c,l,f,d),Be(f,l),ws(l,l[u]=ug(f,l,f,d)),Qi(d)&&Ec(c,l,d),null!=s&&Sc(l,d,a)}function he(e,t,n){const r=y();return Ue(r,br(),t)&&function ft(e,t,n,r,o,i,s,a){const l=ct(t,n);let u,c=t.inputs;!a&&null!=c&&(u=c[r])?(Rc(e,n,u,r,o),So(t)&&function _w(e,t){const n=et(t,e);16&n[U]||(n[U]|=32)}(n,t.index)):3&t.type&&(r=function mw(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),o=null!=s?s(o,t.value||"",r):o,i.setProperty(l,r,o))}(Q(),fe(),r,e,t,r[z],n,!1),he}function kc(e,t,n,r,o){const s=o?"class":"style";Rc(e,n,t.inputs[s],s,r)}function E(e,t,n,r){const o=y(),i=Q(),s=ue+e,a=o[z],l=i.firstCreatePass?function cE(e,t,n,r,o,i){const s=t.consts,l=Lr(t,e,2,r,In(s,o));return Ic(t,n,l,In(s,i)),null!==l.attrs&&Ms(l,l.attrs,!1),null!==l.mergedAttrs&&Ms(l,l.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,l),l}(s,i,o,t,n,r):i.data[s],c=o[s]=Yl(a,t,function DD(){return V.lFrame.currentNamespace}()),u=Qi(l);return Wt(l,!0),up(a,c,l),32!=(32&l.flags)&&hs(i,o,c,l),0===function aD(){return V.lFrame.elementDepthCount}()&&Be(c,o),function lD(){V.lFrame.elementDepthCount++}(),u&&(Ec(i,o,l),wc(i,l,o)),null!==r&&Sc(o,l),E}function S(){let e=Pe();_l()?function xl(){V.lFrame.isParent=!1}():(e=e.parent,Wt(e,!1));const t=e;!function cD(){V.lFrame.elementDepthCount--}();const n=Q();return n.firstCreatePass&&(Ji(n,e),pl(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function SD(e){return 0!=(8&e.flags)}(t)&&kc(n,t,y(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function MD(e){return 0!=(16&e.flags)}(t)&&kc(n,t,y(),t.stylesWithoutHost,!1),S}function Nt(e,t,n,r){return E(e,t,n,r),S(),Nt}function Zo(){return y()}function Qo(e){return!!e&&"function"==typeof e.then}const jc=function Og(e){return!!e&&"function"==typeof e.subscribe};function H(e,t,n,r){const o=y(),i=Q(),s=Pe();return function Rg(e,t,n,r,o,i,s){const a=Qi(r),c=e.firstCreatePass&&fg(e),u=t[xe],d=dg(t);let f=!0;if(3&r.type||s){const g=ct(r,t),_=s?s(g):g,v=d.length,C=s?T=>s(Fe(T[r.index])):r.index;let m=null;if(!s&&a&&(m=function dE(e,t,n,r){const o=e.cleanup;if(null!=o)for(let i=0;il?a[l]:null}"string"==typeof s&&(i+=2)}return null}(e,t,o,r.index)),null!==m)(m.__ngLastListenerFn__||m).__ngNextListenerFn__=i,m.__ngLastListenerFn__=i,f=!1;else{i=Pg(r,t,u,i,!1);const T=n.listen(_,o,i);d.push(i,T),c&&c.push(o,C,v,v+1)}}else i=Pg(r,t,u,i,!1);const h=r.outputs;let p;if(f&&null!==h&&(p=h[o])){const g=p.length;if(g)for(let _=0;_-1?et(e.index,t):t);let l=Fg(t,n,r,s),c=i.__ngNextListenerFn__;for(;c;)l=Fg(t,n,c,s)&&l,c=c.__ngNextListenerFn__;return o&&!1===l&&(s.preventDefault(),s.returnValue=!1),l}}function Kt(e=1){return function _D(e){return(V.lFrame.contextLView=function xD(e,t){for(;e>0;)t=t[gr],e--;return t}(e,V.lFrame.contextLView))[xe]}(e)}function Os(e,t){return e<<17|t<<2}function Tn(e){return e>>17&32767}function Bc(e){return 2|e}function er(e){return(131068&e)>>2}function Uc(e,t){return-131069&e|t<<2}function Hc(e){return 1|e}function zg(e,t,n,r,o){const i=e[n+1],s=null===t;let a=r?Tn(i):er(i),l=!1;for(;0!==a&&(!1===l||s);){const u=e[a+1];vE(e[a],t)&&(l=!0,e[a+1]=r?Hc(u):Bc(u)),a=r?Tn(u):er(u)}l&&(e[n+1]=r?Bc(i):Hc(i))}function vE(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Ir(e,t)>=0}function xn(e,t,n){return Rt(e,t,n,!1),xn}function Ns(e,t){return Rt(e,t,null,!0),Ns}function Rt(e,t,n,r){const o=y(),i=Q(),s=function fn(e){const t=V.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}(2);i.firstUpdatePass&&function Jg(e,t,n,r){const o=e.data;if(null===o[n+1]){const i=o[qe()],s=function Xg(e,t){return t>=e.expandoStartIndex}(e,n);(function rm(e,t){return 0!=(e.flags&(t?8:16))})(i,r)&&null===t&&!s&&(t=!1),t=function AE(e,t,n,r){const o=function vl(e){const t=V.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let i=r?t.residualClasses:t.residualStyles;if(null===o)0===(r?t.classBindings:t.styleBindings)&&(n=Ko(n=Gc(null,e,t,n,r),t.attrs,r),i=null);else{const s=t.directiveStylingLast;if(-1===s||e[s]!==o)if(n=Gc(o,e,t,n,r),null===i){let l=function TE(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==er(r))return e[Tn(r)]}(e,t,r);void 0!==l&&Array.isArray(l)&&(l=Gc(null,e,t,l[1],r),l=Ko(l,t.attrs,r),function OE(e,t,n,r){e[Tn(n?t.classBindings:t.styleBindings)]=r}(e,t,r,l))}else i=function NE(e,t,n){let r;const o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i0)&&(c=!0)):u=n,o)if(0!==l){const f=Tn(e[a+1]);e[r+1]=Os(f,a),0!==f&&(e[f+1]=Uc(e[f+1],r)),e[a+1]=function mE(e,t){return 131071&e|t<<17}(e[a+1],r)}else e[r+1]=Os(a,0),0!==a&&(e[a+1]=Uc(e[a+1],r)),a=r;else e[r+1]=Os(l,0),0===a?a=r:e[l+1]=Uc(e[l+1],r),l=r;c&&(e[r+1]=Bc(e[r+1])),zg(e,u,r,!0),zg(e,u,r,!1),function yE(e,t,n,r,o){const i=o?e.residualClasses:e.residualStyles;null!=i&&"string"==typeof t&&Ir(i,t)>=0&&(n[r+1]=Hc(n[r+1]))}(t,u,e,r,i),s=Os(a,l),i?t.classBindings=s:t.styleBindings=s}(o,i,t,n,s,r)}}(i,e,s,r),t!==j&&Ue(o,s,t)&&function tm(e,t,n,r,o,i,s,a){if(!(3&t.type))return;const l=e.data,c=l[a+1],u=function _E(e){return 1==(1&e)}(c)?nm(l,t,n,o,er(c),s):void 0;Rs(u)||(Rs(i)||function gE(e){return 2==(2&e)}(c)&&(i=nm(l,null,n,o,a,s)),function RC(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=-1===r.indexOf("-")?void 0:tt.DashCase;null==o?e.removeStyle(n,r,i):("string"==typeof o&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=tt.Important),e.setStyle(n,r,o,i))}}(r,s,Ki(qe(),n),o,i))}(i,i.data[qe()],o,o[z],e,o[s+1]=function kE(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=se(function An(e){return e instanceof gp?e.changingThisBreaksApplicationSecurity:e}(e)))),e}(t,n),r,s)}function Gc(e,t,n,r,o){let i=null;const s=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a0;){const l=e[o],c=Array.isArray(l),u=c?l[1]:l,d=null===u;let f=n[o+1];f===j&&(f=d?X:void 0);let h=d?Fl(f,r):u===r?f:void 0;if(c&&!Rs(h)&&(h=Fl(l,r)),Rs(h)&&(a=h,s))return a;const p=e[o+1];o=s?Tn(p):er(p)}if(null!==t){let l=i?t.residualClasses:t.residualStyles;null!=l&&(a=Fl(l,r))}return a}function Rs(e){return void 0!==e}function $(e,t=""){const n=y(),r=Q(),o=e+ue,i=r.firstCreatePass?Lr(r,o,1,t,null):r.data[o],s=n[o]=function ql(e,t){return e.createText(t)}(n[z],t);hs(r,n,s,i),Wt(i,!1)}function Xo(e){return Pt("",e,""),Xo}function Pt(e,t,n){const r=y(),o=function jr(e,t,n,r){return Ue(e,br(),n)?t+L(n)+r:j}(r,e,t,n);return o!==j&&function _n(e,t,n){const r=Ki(t,e);!function Qh(e,t,n){e.setValue(t,n)}(e[z],r,n)}(r,qe(),o),Pt}const Zr="en-US";let Em=Zr;function qc(e,t,n,r,o){if(e=R(e),Array.isArray(e))for(let i=0;i>20;if(Xn(e)||!e.multi){const h=new Io(l,o,x),p=Zc(a,t,o?u:u+f,d);-1===p?(Tl(is(c,s),i,a),Yc(i,e,t.length),t.push(a),c.directiveStart++,c.directiveEnd++,o&&(c.providerIndexes+=1048576),n.push(h),s.push(h)):(n[p]=h,s[p]=h)}else{const h=Zc(a,t,u+f,d),p=Zc(a,t,u,u+f),_=p>=0&&n[p];if(o&&!_||!o&&!(h>=0&&n[h])){Tl(is(c,s),i,a);const v=function eM(e,t,n,r,o){const i=new Io(e,n,x);return i.multi=[],i.index=t,i.componentProviders=0,Qm(i,o,r&&!n),i}(o?JS:XS,n.length,o,r,l);!o&&_&&(n[p].providerFactory=v),Yc(i,e,t.length,0),t.push(a),c.directiveStart++,c.directiveEnd++,o&&(c.providerIndexes+=1048576),n.push(v),s.push(v)}else Yc(i,e,h>-1?h:p,Qm(n[o?p:h],l,!o&&r));!o&&r&&_&&n[p].componentProviders++}}}function Yc(e,t,n,r){const o=Xn(t),i=function c1(e){return!!e.useClass}(t);if(o||i){const l=(i?R(t.useClass):t).prototype.ngOnDestroy;if(l){const c=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){const u=c.indexOf(n);-1===u?c.push(n,[r,l]):c[u+1].push(r,l)}else c.push(n,l)}}}function Qm(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Zc(e,t,n,r){for(let o=n;o{n.providersResolver=(r,o)=>function KS(e,t,n){const r=Q();if(r.firstCreatePass){const o=Tt(e);qc(n,r.data,r.blueprint,o,!0),qc(t,r.data,r.blueprint,o,!1)}}(r,o?o(e):e,t)}}class Qr{}class Km{}class Xm extends Qr{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new gg(this);const r=at(t);this._bootstrapComponents=mn(r.bootstrap),this._r3Injector=Yp(t,n,[{provide:Qr,useValue:this},{provide:Ho,useValue:this.componentFactoryResolver}],se(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 Kc extends Km{constructor(t){super(),this.moduleType=t}create(t){return new Xm(this.moduleType,t)}}class nM extends Qr{constructor(t,n,r){super(),this.componentFactoryResolver=new gg(this),this.instance=null;const o=new Np([...t,{provide:Qr,useValue:this},{provide:Ho,useValue:this.componentFactoryResolver}],n||vs(),r,new Set(["environment"]));this.injector=o,o.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function Vs(e,t,n=null){return new nM(e,t,n).injector}let rM=(()=>{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=Ip(0,n.type),o=r.length>0?Vs([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=I({token:e,providedIn:"environment",factory:()=>new e(A(pn))}),e})();function Jm(e){e.getStandaloneInjector=t=>t.get(rM).getOrCreateStandaloneInjector(e)}function Jc(e){return t=>{setTimeout(e,void 0,t)}}const pe=class AM extends on{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 l=t;o=l.next?.bind(l),i=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(i=Jc(i),o&&(o=Jc(o)),s&&(s=Jc(s)));const a=super.subscribe({next:o,error:i,complete:s});return t instanceof pt&&t.add(a),a}};let yn=(()=>{class e{}return e.__NG_ELEMENT_ID__=RM,e})();const OM=yn,NM=class extends OM{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}createEmbeddedView(t,n){const r=this._declarationTContainer.tView,o=Ds(this._declarationLView,r,t,16,null,r.declTNode,null,null,null,null,n||null);o[wo]=this._declarationLView[this._declarationTContainer.index];const s=this._declarationLView[zt];return null!==s&&(o[zt]=s.createEmbeddedView(r)),Cc(r,o,t),new Wo(o)}};function RM(){return function js(e,t){return 4&e.type?new NM(t,e,Rr(e,t)):null}(Pe(),y())}let kt=(()=>{class e{}return e.__NG_ELEMENT_ID__=FM,e})();function FM(){return function p0(e,t){let n;const r=t[e.index];if(At(r))n=r;else{let o;if(8&e.type)o=Fe(r);else{const i=t[z];o=i.createComment("");const s=ct(e,t);Kn(i,fs(i,s),o,function TC(e,t){return e.nextSibling(t)}(i,s),!1)}t[e.index]=n=ug(r,t,o,e),ws(t,n)}return new f0(n,e,t)}(Pe(),y())}const PM=kt,f0=class extends PM{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Rr(this._hostTNode,this._hostLView)}get injector(){return new Cr(this._hostTNode,this._hostLView)}get parentInjector(){const t=Al(this._hostTNode,this._hostLView);if(mh(t)){const n=rs(t,this._hostLView),r=ns(t);return new Cr(n[w].data[r+8],n)}return new Cr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=h0(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-ze}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 Oo(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 l=s?t:new qo(ne(t)),c=r||this.parentInjector;if(!i&&null==l.ngModule){const f=(s?c:this.parentInjector).get(pn,null);f&&(i=f)}const u=l.create(c,o,void 0,i);return this.insert(u.hostView,a),u}insert(t,n){const r=t._lView,o=r[w];if(function sD(e){return At(e[me])}(r)){const u=this.indexOf(t);if(-1!==u)this.detach(u);else{const d=r[me],f=new f0(d,d[je],d[me]);f.detach(f.indexOf(t))}}const i=this._adjustIndex(n),s=this._lContainer;!function EC(e,t,n,r){const o=ze+r,i=n.length;r>0&&(n[o-1][It]=t),r{class e{constructor(n){this.appInits=n,this.resolve=Bs,this.reject=Bs,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{i.subscribe({complete:a,error:l})});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(Us,8))},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const ai=new M("AppId",{providedIn:"root",factory:function $0(){return`${fu()}${fu()}${fu()}`}});function fu(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const B0=new M("Platform Initializer"),U0=new M("Platform ID",{providedIn:"platform",factory:()=>"unknown"});let cI=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();const vn=new M("LocaleId",{providedIn:"root",factory:()=>Z(vn,F.Optional|F.SkipSelf)||function uI(){return typeof $localize<"u"&&$localize.locale||Zr}()});class fI{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let H0=(()=>{class e{compileModuleSync(n){return new Kc(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),i=mn(at(n).declarations).reduce((s,a)=>{const l=ne(a);return l&&s.push(new qo(l)),s},[]);return new fI(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=I({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const gI=(()=>Promise.resolve(0))();function hu(e){typeof Zone>"u"?gI.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class ye{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new pe(!1),this.onMicrotaskEmpty=new pe(!1),this.onStable=new pe(!1),this.onError=new pe(!1),typeof Zone>"u")throw new b(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 mI(){let e=ce.requestAnimationFrame,t=ce.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 yI(e){const t=()=>{!function xI(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(ce,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,gu(e),e.isCheckStableRunning=!0,pu(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),gu(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,a)=>{try{return W0(e),n.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||e.shouldCoalesceRunChangeDetection)&&t(),q0(e)}},onInvoke:(n,r,o,i,s,a,l)=>{try{return W0(e),n.invoke(o,i,s,a,l)}finally{e.shouldCoalesceRunChangeDetection&&t(),q0(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,gu(e),pu(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(!ye.isInAngularZone())throw new b(909,!1)}static assertNotInAngularZone(){if(ye.isInAngularZone())throw new b(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,_I,Bs,Bs);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 _I={};function pu(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 gu(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function W0(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function q0(e){e._nesting--,pu(e)}class vI{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new pe,this.onMicrotaskEmpty=new pe,this.onStable=new pe,this.onError=new pe}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 Y0=new M(""),Gs=new M("");let xu,mu=(()=>{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,xu||(function bI(e){xu=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:()=>{ye.assertNotInAngularZone(),hu(()=>{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())hu(()=>{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(ye),A(_u),A(Gs))},e.\u0275prov=I({token:e,factory:e.\u0275fac}),e})(),_u=(()=>{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 xu?.findTestabilityInTree(this,n,r)??null}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();const bn=!1;let On=null;const Z0=new M("AllowMultipleToken"),yu=new M("PlatformDestroyListeners"),Q0=new M("appBootstrapListener");class K0{constructor(t,n){this.name=t,this.token=n}}function J0(e,t,n=[]){const r=`Platform: ${t}`,o=new M(r);return(i=[])=>{let s=vu();if(!s||s.injector.get(Z0,!1)){const a=[...n,...i,{provide:o,useValue:!0}];e?e(a):function wI(e){if(On&&!On.get(Z0,!1))throw new b(400,!1);On=e;const t=e.get(t_);(function X0(e){const t=e.get(B0,null);t&&t.forEach(n=>n())})(e)}(function e_(e=[],t){return Yt.create({name:t,providers:[{provide:dc,useValue:"platform"},{provide:yu,useValue:new Set([()=>On=null])},...e]})}(a,r))}return function SI(e){const t=vu();if(!t)throw new b(401,!1);return t}()}}function vu(){return On?.get(t_)??null}let t_=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const o=function r_(e,t){let n;return n="noop"===e?new vI:("zone.js"===e?void 0:e)||new ye(t),n}(r?.ngZone,function n_(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!e||!e.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!e||!e.ngZoneRunCoalescing)||!1}}(r)),i=[{provide:ye,useValue:o}];return o.run(()=>{const s=Yt.create({providers:i,parent:this.injector,name:n.moduleType.name}),a=n.create(s),l=a.injector.get(Fr,null);if(!l)throw new b(402,!1);return o.runOutsideAngular(()=>{const c=o.onError.subscribe({next:u=>{l.handleError(u)}});a.onDestroy(()=>{Ws(this._modules,a),c.unsubscribe()})}),function o_(e,t,n){try{const r=n();return Qo(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(l,o,()=>{const c=a.injector.get(Hs);return c.runInitializers(),c.donePromise.then(()=>(function Sm(e){mt(e,"Expected localeId to be defined"),"string"==typeof e&&(Em=e.toLowerCase().replace(/_/g,"-"))}(a.injector.get(vn,Zr)||Zr),this._moduleDoBootstrap(a),a))})})}bootstrapModule(n,r=[]){const o=i_({},r);return function DI(e,t,n){const r=new Kc(n);return Promise.resolve(r)}(0,0,n).then(i=>this.bootstrapModuleFactory(i,o))}_moduleDoBootstrap(n){const r=n.injector.get(zs);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(o=>r.bootstrap(o));else{if(!n.instance.ngDoBootstrap)throw new b(-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 b(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(yu,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(Yt))},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function i_(e,t){return Array.isArray(t)?t.reduce(i_,e):{...e,...t}}let zs=(()=>{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 Ce(a=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{a.next(this._stable),a.complete()})}),s=new Ce(a=>{let l;this._zone.runOutsideAngular(()=>{l=this._zone.onStable.subscribe(()=>{ye.assertNotInAngularZone(),hu(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,a.next(!0))})})});const c=this._zone.onUnstable.subscribe(()=>{ye.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{a.next(!1)}))});return()=>{l.unsubscribe(),c.unsubscribe()}});this.isStable=function Eb(...e){const t=xo(e),n=function xb(e,t){return"number"==typeof el(e)?e.pop():t}(e,1/0),r=e;return r.length?1===r.length?gt(r[0]):dr(n)(we(r,t)):Bt}(i,s.pipe(function Sb(e={}){const{connector:t=(()=>new on),resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,l,c=0,u=!1,d=!1;const f=()=>{a?.unsubscribe(),a=void 0},h=()=>{f(),s=l=void 0,u=d=!1},p=()=>{const g=s;h(),g?.unsubscribe()};return Ne((g,_)=>{c++,!d&&!u&&f();const v=l=l??t();_.add(()=>{c--,0===c&&!d&&!u&&(a=tl(p,o))}),v.subscribe(_),!s&&c>0&&(s=new _o({next:C=>v.next(C),error:C=>{d=!0,f(),a=tl(h,n,C),v.error(C)},complete:()=>{u=!0,f(),a=tl(h,r),v.complete()}}),gt(g).subscribe(s))})(i)}}()))}bootstrap(n,r){const o=n instanceof Fp;if(!this._injector.get(Hs).done){!o&&function hr(e){const t=ne(e)||Ve(e)||Je(e);return null!==t&&t.standalone}(n);throw new b(405,bn)}let s;s=o?n:this._injector.get(Ho).resolveComponentFactory(n),this.componentTypes.push(s.componentType);const a=function CI(e){return e.isBoundToModule}(s)?void 0:this._injector.get(Qr),c=s.create(Yt.NULL,[],r||s.selector,a),u=c.location.nativeElement,d=c.injector.get(Y0,null);return d?.registerApplication(u),c.onDestroy(()=>{this.detachView(c.hostView),Ws(this.components,c),d?.unregisterApplication(u)}),this._loadComponent(c),c}tick(){if(this._runningTick)throw new b(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;Ws(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const r=this._injector.get(Q0,[]);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),()=>Ws(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new b(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(ye),A(pn),A(Fr))},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function Ws(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}let qs=(()=>{class e{}return e.__NG_ELEMENT_ID__=II,e})();function II(e){return function AI(e,t,n){if(So(e)&&!n){const r=et(e.index,t);return new Wo(r,r)}return 47&e.type?new Wo(t[$e],t):null}(Pe(),y(),16==(16&e))}class u_{constructor(){}supports(t){return As(t)}create(t){return new PI(t)}}const FI=(e,t)=>t;class PI{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||FI}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,i=null;for(;n||r;){const s=!r||n&&n.currentIndex{s=this._trackByFn(o,a),null!==n&&Object.is(n.trackById,s)?(r&&(n=this._verifyReinsertion(n,a,s,o)),Object.is(n.item,a)||this._addIdentityChange(n,a)):(n=this._mismatch(n,a,s,o),r=!0),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,o){let i;return null===t?i=this._itTail:(i=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,i,o)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,o))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,o)):t=this._addAfter(new kI(n,r),i,o),t}_verifyReinsertion(t,n,r,o){let i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==i?t=this._reinsertAfter(i,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const o=t._prevRemoved,i=t._nextRemoved;return null===o?this._removalsHead=i:o._nextRemoved=i,null===i?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){const o=null===n?this._itHead:n._next;return t._next=o,t._prev=n,null===o?this._itTail=t:o._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new d_),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,r=t._next;return null===n?this._itHead=r:n._next=r,null===r?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new d_),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class kI{constructor(t,n){this.item=t,this.trackById=n,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class LI{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===n||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){const n=t._prevDup,r=t._nextDup;return null===n?this._head=r:n._nextDup=r,null===r?this._tail=n:r._prevDup=n,null===this._head}}class d_{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new LI,this.map.set(n,r)),r.add(t)}get(t,n){const o=this.map.get(t);return o?o.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function f_(e,t,n){const r=e.previousIndex;if(null===r)return r;let o=0;return n&&r{class e{constructor(n){this.factories=n}static create(n,r){if(null!=r){const o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||p_()),deps:[[e,new Fo,new Ro]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(null!=r)return r;throw new b(901,!1)}}return e.\u0275prov=I({token:e,providedIn:"root",factory:p_}),e})();const UI=J0(null,"core",[]);let HI=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(A(zs))},e.\u0275mod=Gt({type:e}),e.\u0275inj=St({}),e})();let Eu=null;function Dn(){return Eu}class WI{}const ot=new M("DocumentToken");let Su=(()=>{class e{historyGo(n){throw new Error("Not implemented")}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=I({token:e,factory:function(){return function qI(){return A(m_)}()},providedIn:"platform"}),e})();const YI=new M("Location Initialized");let m_=(()=>{class e extends Su{constructor(n){super(),this._doc=n,this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Dn().getBaseHref(this._doc)}onPopState(n){const r=Dn().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){const r=Dn().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){__()?this._history.pushState(n,r,o):this._location.hash=o}replaceState(n,r,o){__()?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(ot))},e.\u0275prov=I({token:e,factory:function(){return function ZI(){return new m_(A(ot))}()},providedIn:"platform"}),e})();function __(){return!!window.history.pushState}function Mu(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 x_(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 Cn(e){return e&&"?"!==e[0]?"?"+e:e}let rr=(()=>{class e{historyGo(n){throw new Error("Not implemented")}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=I({token:e,factory:function(){return Z(v_)},providedIn:"root"}),e})();const y_=new M("appBaseHref");let v_=(()=>{class e extends rr{constructor(n,r){super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??Z(ot).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 Mu(this._baseHref,n)}path(n=!1){const r=this._platformLocation.pathname+Cn(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${r}${o}`:r}pushState(n,r,o,i){const s=this.prepareExternalUrl(o+Cn(i));this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){const s=this.prepareExternalUrl(o+Cn(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(Su),A(y_,8))},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),QI=(()=>{class e extends rr{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=Mu(this._baseHref,n);return r.length>0?"#"+r:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+Cn(i));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+Cn(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(Su),A(y_,8))},e.\u0275prov=I({token:e,factory:e.\u0275fac}),e})(),Iu=(()=>{class e{constructor(n){this._subject=new pe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=n;const r=this._locationStrategy.getBaseHref();this._basePath=function JI(e){if(new RegExp("^(https?:)?//").test(e)){const[,n]=e.split(/\/\/[^\/]+/);return n}return e}(x_(b_(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+Cn(r))}normalize(n){return e.stripTrailingSlash(function XI(e,t){if(!e||!t.startsWith(e))return t;const n=t.substring(e.length);return""===n||["/",";","?","#"].includes(n[0])?n:t}(this._basePath,b_(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+Cn(r)),o)}replaceState(n,r="",o=null){this._locationStrategy.replaceState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Cn(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=Cn,e.joinWithSlash=Mu,e.stripTrailingSlash=x_,e.\u0275fac=function(n){return new(n||e)(A(rr))},e.\u0275prov=I({token:e,factory:function(){return function KI(){return new Iu(A(rr))}()},providedIn:"root"}),e})();function b_(e){return e.replace(/\/index.html$/,"")}class jA{constructor(t,n,r,o){this.$implicit=t,this.ngForOf=n,this.index=r,this.count=o}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let R_=(()=>{class e{set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}constructor(n,r,o){this._viewContainer=n,this._template=r,this._differs=o,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const n=this._ngForOf;!this._differ&&n&&(this._differ=this._differs.find(n).create(this.ngForTrackBy))}if(this._differ){const n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){const r=this._viewContainer;n.forEachOperation((o,i,s)=>{if(null==o.previousIndex)r.createEmbeddedView(this._template,new jA(o.item,this._ngForOf,-1,-1),null===s?void 0:s);else if(null==s)r.remove(null===i?void 0:i);else if(null!==i){const a=r.get(i);r.move(a,s),F_(a,o)}});for(let o=0,i=r.length;o{F_(r.get(o.currentIndex),o)})}static ngTemplateContextGuard(n,r){return!0}}return e.\u0275fac=function(n){return new(n||e)(x(kt),x(yn),x(Qs))},e.\u0275dir=k({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),e})();function F_(e,t){e.context.$implicit=t.item}let eo=(()=>{class e{constructor(n,r){this._viewContainer=n,this._context=new BA,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=r}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){P_("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){P_("ngIfElse",n),this._elseTemplateRef=n,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(n,r){return!0}}return e.\u0275fac=function(n){return new(n||e)(x(kt),x(yn))},e.\u0275dir=k({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),e})();class BA{constructor(){this.$implicit=null,this.ngIf=null}}function P_(e,t){if(t&&!t.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${se(t)}'.`)}let V_=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Gt({type:e}),e.\u0275inj=St({}),e})();let gT=(()=>{class e{}return e.\u0275prov=I({token:e,providedIn:"root",factory:()=>new mT(A(ot),window)}),e})();class mT{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 _T(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=$_(this.window.history)||$_(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 $_(e){return Object.getOwnPropertyDescriptor(e,"scrollRestoration")}class zT extends WI{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class zu extends zT{static makeCurrent(){!function zI(e){Eu||(Eu=e)}(new zu)}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 WT(){return fi=fi||document.querySelector("base"),fi?fi.getAttribute("href"):null}();return null==n?null:function qT(e){la=la||document.createElement("a"),la.setAttribute("href",e);const t=la.pathname;return"/"===t.charAt(0)?t:`/${t}`}(n)}resetBaseElement(){fi=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return function kA(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 la,fi=null;const z_=new M("TRANSITION_ID"),ZT=[{provide:Us,useFactory:function YT(e,t,n){return()=>{n.get(Hs).donePromise.then(()=>{const r=Dn(),o=t.querySelectorAll(`style[ng-transition="${e}"]`);for(let i=0;i{class e{build(){return new XMLHttpRequest}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac}),e})();const ca=new M("EventManagerPlugins");let ua=(()=>{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{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=I({token:e,factory:e.\u0275fac}),e})(),hi=(()=>{class e extends q_{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(ot))},e.\u0275prov=I({token:e,factory:e.\u0275fac}),e})();const Wu={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/"},qu=/%COMP%/g,Q_=new M("RemoveStylesOnCompDestory",{providedIn:"root",factory:()=>!1});function K_(e,t){return t.flat(100).map(n=>n.replace(qu,e))}function X_(e){return t=>{if("__ngUnwrap__"===t)return e;!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}let Yu=(()=>{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 Zu(n)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;const o=this.getOrCreateRenderer(n,r);return o instanceof tx?o.applyToHost(n):o instanceof Qu&&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,l=this.removeStylesOnCompDestory;switch(r.encapsulation){case Ht.Emulated:i=new tx(s,a,r,this.appId,l);break;case Ht.ShadowDom:return new o2(s,a,n,r);default:i=new Qu(s,a,r,l)}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(ua),A(hi),A(ai),A(Q_))},e.\u0275prov=I({token:e,factory:e.\u0275fac}),e})();class Zu{constructor(t){this.eventManager=t,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(t,n){return n?document.createElementNS(Wu[n]||n,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,n){(ex(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(ex(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=Wu[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){const o=Wu[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&(tt.DashCase|tt.Important)?t.style.setProperty(n,r,o&tt.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&tt.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,X_(r)):this.eventManager.addEventListener(t,n,X_(r))}}function ex(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class o2 extends Zu{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=K_(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 Qu extends Zu{constructor(t,n,r,o,i=r.id){super(t),this.sharedStylesHost=n,this.removeStylesOnCompDestory=o,this.rendererUsageCount=0,this.styles=K_(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 tx extends Qu{constructor(t,n,r,o,i){const s=o+"-"+r.id;super(t,n,r,i,s),this.contentAttr=function t2(e){return"_ngcontent-%COMP%".replace(qu,e)}(s),this.hostAttr=function n2(e){return"_nghost-%COMP%".replace(qu,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 i2=(()=>{class e extends W_{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(ot))},e.\u0275prov=I({token:e,factory:e.\u0275fac}),e})();const nx=["alt","control","meta","shift"],s2={"\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"},a2={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let l2=(()=>{class e extends W_{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(()=>Dn().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."),nx.forEach(c=>{const u=r.indexOf(c);u>-1&&(r.splice(u,1),s+=c+".")}),s+=i,0!=r.length||0===i.length)return null;const l={};return l.domEventName=o,l.fullKey=s,l}static matchEventFullKeyCode(n,r){let o=s2[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"),nx.forEach(s=>{s!==o&&(0,a2[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(ot))},e.\u0275prov=I({token:e,factory:e.\u0275fac}),e})();const f2=J0(UI,"browser",[{provide:U0,useValue:"browser"},{provide:B0,useValue:function c2(){zu.makeCurrent()},multi:!0},{provide:ot,useFactory:function d2(){return function VC(e){nc=e}(document),document},deps:[]}]),ix=new M(""),sx=[{provide:Gs,useClass:class QT{addToWindow(t){ce.getAngularTestability=(r,o=!0)=>{const i=t.findTestabilityInTree(r,o);if(null==i)throw new Error("Could not find testability for element.");return i},ce.getAllAngularTestabilities=()=>t.getAllTestabilities(),ce.getAllAngularRootElements=()=>t.getAllRootElements(),ce.frameworkStabilizers||(ce.frameworkStabilizers=[]),ce.frameworkStabilizers.push(r=>{const o=ce.getAllAngularTestabilities();let i=o.length,s=!1;const a=function(l){s=s||l,i--,0==i&&r(s)};o.forEach(function(l){l.whenStable(a)})})}findTestabilityInTree(t,n,r){return null==n?null:t.getTestability(n)??(r?Dn().isShadowRoot(n)?this.findTestabilityInTree(t,n.host,!0):this.findTestabilityInTree(t,n.parentElement,!0):null)}},deps:[]},{provide:Y0,useClass:mu,deps:[ye,_u,Gs]},{provide:mu,useClass:mu,deps:[ye,_u,Gs]}],ax=[{provide:dc,useValue:"root"},{provide:Fr,useFactory:function u2(){return new Fr},deps:[]},{provide:ca,useClass:i2,multi:!0,deps:[ot,ye,U0]},{provide:ca,useClass:l2,multi:!0,deps:[ot]},{provide:Yu,useClass:Yu,deps:[ua,hi,ai,Q_]},{provide:kp,useExisting:Yu},{provide:q_,useExisting:hi},{provide:hi,useClass:hi,deps:[ot]},{provide:ua,useClass:ua,deps:[ca,ye]},{provide:class xT{},useClass:KT,deps:[]},[]];let h2=(()=>{class e{constructor(n){}static withServerTransition(n){return{ngModule:e,providers:[{provide:ai,useValue:n.appId},{provide:z_,useExisting:ai},ZT]}}}return e.\u0275fac=function(n){return new(n||e)(A(ix,12))},e.\u0275mod=Gt({type:e}),e.\u0275inj=St({providers:[...ax,...sx],imports:[V_,HI]}),e})(),lx=(()=>{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(ot))},e.\u0275prov=I({token:e,factory:function(n){let r=null;return r=n?new n:function g2(){return new lx(A(ot))}(),r},providedIn:"root"}),e})();function N(...e){return we(e,xo(e))}typeof window<"u"&&window;class $t extends on{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 da=go(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"}),{isArray:b2}=Array,{getPrototypeOf:D2,prototype:C2,keys:w2}=Object;function dx(e){if(1===e.length){const t=e[0];if(b2(t))return{args:t,keys:null};if(function E2(e){return e&&"object"==typeof e&&D2(e)===C2}(t)){const n=w2(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}const{isArray:S2}=Array;function fx(e){return Y(t=>function M2(e,t){return S2(t)?e(...t):e(t)}(e,t))}function hx(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function px(...e){const t=xo(e),n=Sf(e),{args:r,keys:o}=dx(e);if(0===r.length)return we([],t);const i=new Ce(function I2(e,t,n=zn){return r=>{gx(t,()=>{const{length:o}=e,i=new Array(o);let s=o,a=o;for(let l=0;l{const c=we(e[l],t);let u=!1;c.subscribe(Ie(r,d=>{i[l]=d,u||(u=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}(r,t,o?s=>hx(o,s):zn));return n?i.pipe(fx(n)):i}function gx(e,t,n){e?sn(n,e,t):t()}function Ju(...e){return function A2(){return dr(1)}()(we(e,xo(e)))}function mx(e){return new Ce(t=>{gt(e()).subscribe(t)})}function pi(e,t){const n=ie(e)?e:()=>e,r=o=>o.error(n());return new Ce(t?o=>t.schedule(r,0,o):r)}function ed(){return Ne((e,t)=>{let n=null;e._refCount++;const r=Ie(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 _x extends Ce{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,df(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 pt;const n=this.getSubject();t.add(this.source.subscribe(Ie(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=pt.EMPTY)}return t}refCount(){return ed()(this)}}function en(e,t){return Ne((n,r)=>{let o=null,i=0,s=!1;const a=()=>s&&!o&&r.complete();n.subscribe(Ie(r,l=>{o?.unsubscribe();let c=0;const u=i++;gt(e(l,u)).subscribe(o=Ie(r,d=>r.next(t?t(l,d,u,c++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function to(e){return e<=0?()=>Bt:Ne((t,n)=>{let r=0;t.subscribe(Ie(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function Rn(e,t){return Ne((n,r)=>{let o=0;n.subscribe(Ie(r,i=>e.call(t,i,o++)&&r.next(i)))})}function fa(e){return Ne((t,n)=>{let r=!1;t.subscribe(Ie(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function xx(e=O2){return Ne((t,n)=>{let r=!1;t.subscribe(Ie(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function O2(){return new da}function Fn(e,t){const n=arguments.length>=2;return r=>r.pipe(e?Rn((o,i)=>e(o,i,r)):zn,to(1),n?fa(t):xx(()=>new da))}function or(e,t){return ie(t)?Re(e,t,1):Re(e,1)}function He(e,t,n){const r=ie(e)||t||n?{next:e,error:t,complete:n}:e;return r?Ne((o,i)=>{var s;null===(s=r.subscribe)||void 0===s||s.call(r);let a=!0;o.subscribe(Ie(i,l=>{var c;null===(c=r.next)||void 0===c||c.call(r,l),i.next(l)},()=>{var l;a=!1,null===(l=r.complete)||void 0===l||l.call(r),i.complete()},l=>{var c;a=!1,null===(c=r.error)||void 0===c||c.call(r,l),i.error(l)},()=>{var l,c;a&&(null===(l=r.unsubscribe)||void 0===l||l.call(r)),null===(c=r.finalize)||void 0===c||c.call(r)}))}):zn}function Pn(e){return Ne((t,n)=>{let i,r=null,o=!1;r=t.subscribe(Ie(n,void 0,void 0,s=>{i=gt(e(s,Pn(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function yx(e,t){return Ne(function N2(e,t,n,r,o){return(i,s)=>{let a=n,l=t,c=0;i.subscribe(Ie(s,u=>{const d=c++;l=a?e(l,u,d):(a=!0,u),r&&s.next(l)},o&&(()=>{a&&s.next(l),s.complete()})))}}(e,t,arguments.length>=2,!0))}function td(e){return e<=0?()=>Bt:Ne((t,n)=>{let r=[];t.subscribe(Ie(n,o=>{r.push(o),e{for(const o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function vx(e,t){const n=arguments.length>=2;return r=>r.pipe(e?Rn((o,i)=>e(o,i,r)):zn,td(1),n?fa(t):xx(()=>new da))}function nd(e){return Ne((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}const B="primary",gi=Symbol("RouteTitle");class P2{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 no(e){return new P2(e)}function k2(e,t,n){const r=n.path.split("/");if(r.length>e.length||"full"===n.pathMatch&&(t.hasChildren()||r.lengthr[i]===o)}return e===t}function Dx(e){return Array.prototype.concat.apply([],e)}function Cx(e){return e.length>0?e[e.length-1]:null}function Le(e,t){for(const n in e)e.hasOwnProperty(n)&&t(e[n],n)}function kn(e){return jc(e)?e:Qo(e)?we(Promise.resolve(e)):N(e)}const ha=!1,V2={exact:function Sx(e,t,n){if(!ir(e.segments,t.segments)||!pa(e.segments,t.segments,n)||e.numberOfChildren!==t.numberOfChildren)return!1;for(const r in t.children)if(!e.children[r]||!Sx(e.children[r],t.children[r],n))return!1;return!0},subset:Mx},wx={exact:function j2(e,t){return tn(e,t)},subset:function $2(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(n=>bx(e[n],t[n]))},ignored:()=>!0};function Ex(e,t,n){return V2[n.paths](e.root,t.root,n.matrixParams)&&wx[n.queryParams](e.queryParams,t.queryParams)&&!("exact"===n.fragment&&e.fragment!==t.fragment)}function Mx(e,t,n){return Ix(e,t,t.segments,n)}function Ix(e,t,n,r){if(e.segments.length>n.length){const o=e.segments.slice(0,n.length);return!(!ir(o,n)||t.hasChildren()||!pa(o,n,r))}if(e.segments.length===n.length){if(!ir(e.segments,n)||!pa(e.segments,n,r))return!1;for(const o in t.children)if(!e.children[o]||!Mx(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!!(ir(e.segments,o)&&pa(e.segments,o,r)&&e.children[B])&&Ix(e.children[B],t,i,r)}}function pa(e,t,n){return t.every((r,o)=>wx[n](e[o].parameters,r.parameters))}class Ln{constructor(t=new W([],{}),n={},r=null){this.root=t,this.queryParams=n,this.fragment=r}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=no(this.queryParams)),this._queryParamMap}toString(){return H2.serialize(this)}}class W{constructor(t,n){this.segments=t,this.children=n,this.parent=null,Le(n,(r,o)=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return ga(this)}}class mi{constructor(t,n){this.path=t,this.parameters=n}get parameterMap(){return this._parameterMap||(this._parameterMap=no(this.parameters)),this._parameterMap}toString(){return Ox(this)}}function ir(e,t){return e.length===t.length&&e.every((n,r)=>n.path===t[r].path)}let _i=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=I({token:e,factory:function(){return new rd},providedIn:"root"}),e})();class rd{parse(t){const n=new X2(t);return new Ln(n.parseRootSegment(),n.parseQueryParams(),n.parseFragment())}serialize(t){const n=`/${xi(t.root,!0)}`,r=function W2(e){const t=Object.keys(e).map(n=>{const r=e[n];return Array.isArray(r)?r.map(o=>`${ma(n)}=${ma(o)}`).join("&"):`${ma(n)}=${ma(r)}`}).filter(n=>!!n);return t.length?`?${t.join("&")}`:""}(t.queryParams);return`${n}${r}${"string"==typeof t.fragment?`#${function G2(e){return encodeURI(e)}(t.fragment)}`:""}`}}const H2=new rd;function ga(e){return e.segments.map(t=>Ox(t)).join("/")}function xi(e,t){if(!e.hasChildren())return ga(e);if(t){const n=e.children[B]?xi(e.children[B],!1):"",r=[];return Le(e.children,(o,i)=>{i!==B&&r.push(`${i}:${xi(o,!1)}`)}),r.length>0?`${n}(${r.join("//")})`:n}{const n=function U2(e,t){let n=[];return Le(e.children,(r,o)=>{o===B&&(n=n.concat(t(r,o)))}),Le(e.children,(r,o)=>{o!==B&&(n=n.concat(t(r,o)))}),n}(e,(r,o)=>o===B?[xi(e.children[B],!1)]:[`${o}:${xi(r,!1)}`]);return 1===Object.keys(e.children).length&&null!=e.children[B]?`${ga(e)}/${n[0]}`:`${ga(e)}/(${n.join("//")})`}}function Ax(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function ma(e){return Ax(e).replace(/%3B/gi,";")}function od(e){return Ax(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function _a(e){return decodeURIComponent(e)}function Tx(e){return _a(e.replace(/\+/g,"%20"))}function Ox(e){return`${od(e.path)}${function z2(e){return Object.keys(e).map(t=>`;${od(t)}=${od(e[t])}`).join("")}(e.parameters)}`}const q2=/^[^\/()?;=#]+/;function xa(e){const t=e.match(q2);return t?t[0]:""}const Y2=/^[^=?]+/,Q2=/^[^]+/;class X2{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new W([],{}):new W([],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[B]=new W(t,n)),r}parseSegment(){const t=xa(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new b(4009,ha);return this.capture(t),new mi(_a(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const n=xa(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){const o=xa(this.remaining);o&&(r=o,this.capture(r))}t[_a(n)]=_a(r)}parseQueryParam(t){const n=function Z2(e){const t=e.match(Y2);return t?t[0]:""}(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){const s=function K2(e){const t=e.match(Q2);return t?t[0]:""}(this.remaining);s&&(r=s,this.capture(r))}const o=Tx(n),i=Tx(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=xa(this.remaining),o=this.remaining[r.length];if("/"!==o&&")"!==o&&";"!==o)throw new b(4010,ha);let i;r.indexOf(":")>-1?(i=r.slice(0,r.indexOf(":")),this.capture(i),this.capture(":")):t&&(i=B);const s=this.parseChildren();n[i]=1===Object.keys(s).length?s[B]:new W([],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 b(4011,ha)}}function id(e){return e.segments.length>0?new W([],{[B]:e}):e}function ya(e){const t={};for(const r of Object.keys(e.children)){const i=ya(e.children[r]);(i.segments.length>0||i.hasChildren())&&(t[r]=i)}return function J2(e){if(1===e.numberOfChildren&&e.children[B]){const t=e.children[B];return new W(e.segments.concat(t.segments),t.children)}return e}(new W(e.segments,t))}function sr(e){return e instanceof Ln}const sd=!1;function eO(e,t,n,r,o){if(0===n.length)return ro(t.root,t.root,t.root,r,o);const i=function kx(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new Px(!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 Le(i.outlets,(l,c)=>{a[c]="string"==typeof l?l.split("/"):l}),[...o,{outlets:a}]}if(i.segmentPath)return[...o,i.segmentPath]}return"string"!=typeof i?[...o,i]:0===s?(i.split("/").forEach((a,l)=>{0==l&&"."===a||(0==l&&""===a?n=!0:".."===a?t++:""!=a&&o.push(a))}),o):[...o,i]},[]);return new Px(n,t,r)}(n);return i.toRoot()?ro(t.root,t.root,new W([],{}),r,o):function s(l){const c=function nO(e,t,n,r){if(e.isAbsolute)return new oo(t.root,!0,0);if(-1===r)return new oo(n,n===t.root,0);return function Lx(e,t,n){let r=e,o=t,i=n;for(;i>o;){if(i-=o,r=r.parent,!r)throw new b(4005,sd&&"Invalid number of '../'");o=r.segments.length}return new oo(r,!1,o-i)}(n,r+(yi(e.commands[0])?0:1),e.numberOfDoubleDots)}(i,t,e.snapshot?._urlSegment,l),u=c.processChildren?io(c.segmentGroup,c.index,i.commands):ad(c.segmentGroup,c.index,i.commands);return ro(t.root,c.segmentGroup,u,r,o)}(e.snapshot?._lastPathIndex)}function yi(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function vi(e){return"object"==typeof e&&null!=e&&e.outlets}function ro(e,t,n,r,o){let s,i={};r&&Le(r,(l,c)=>{i[c]=Array.isArray(l)?l.map(u=>`${u}`):`${l}`}),s=e===t?n:Fx(e,t,n);const a=id(ya(s));return new Ln(a,i,o)}function Fx(e,t,n){const r={};return Le(e.children,(o,i)=>{r[i]=o===t?n:Fx(o,t,n)}),new W(e.segments,r)}class Px{constructor(t,n,r){if(this.isAbsolute=t,this.numberOfDoubleDots=n,this.commands=r,t&&r.length>0&&yi(r[0]))throw new b(4003,sd&&"Root segment cannot have matrix parameters");const o=r.find(vi);if(o&&o!==Cx(r))throw new b(4004,sd&&"{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class oo{constructor(t,n,r){this.segmentGroup=t,this.processChildren=n,this.index=r}}function ad(e,t,n){if(e||(e=new W([],{})),0===e.segments.length&&e.hasChildren())return io(e,t,n);const r=function oO(e,t,n){let r=0,o=t;const i={match:!1,pathIndex:0,commandIndex:0};for(;o=n.length)return i;const s=e.segments[o],a=n[r];if(vi(a))break;const l=`${a}`,c=r0&&void 0===l)break;if(l&&c&&"object"==typeof c&&void 0===c.outlets){if(!jx(l,c,s))return i;r+=2}else{if(!jx(l,{},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{"string"==typeof i&&(i=[i]),null!==i&&(o[s]=ad(e.children[s],t,i))}),Le(e.children,(i,s)=>{void 0===r[s]&&(o[s]=i)}),new W(e.segments,o)}}function ld(e,t,n){const r=e.segments.slice(0,t);let o=0;for(;o{"string"==typeof n&&(n=[n]),null!==n&&(t[r]=ld(new W([],{}),0,n))}),t}function Vx(e){const t={};return Le(e,(n,r)=>t[r]=`${n}`),t}function jx(e,t,n){return e==n.path&&tn(t,n.parameters)}const bi="imperative";class nn{constructor(t,n){this.id=t,this.url=n}}class cd extends nn{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 ar extends nn{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 va extends nn{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 ba extends nn{constructor(t,n,r,o){super(t,n),this.reason=r,this.code=o,this.type=16}}class ud extends nn{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 sO extends nn{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 aO extends nn{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 lO extends nn{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 cO extends nn{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 uO extends nn{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 dO{constructor(t){this.route=t,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class fO{constructor(t){this.route=t,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class hO{constructor(t){this.snapshot=t,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class pO{constructor(t){this.snapshot=t,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class gO{constructor(t){this.snapshot=t,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class mO{constructor(t){this.snapshot=t,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class $x{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 yO=(()=>{class e{createUrlTree(n,r,o,i,s,a){return eO(n||r.root,o,i,s,a)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac}),e})(),bO=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=I({token:e,factory:function(t){return yO.\u0275fac(t)},providedIn:"root"}),e})();class Bx{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=dd(t,this._root);return n?n.children.map(r=>r.value):[]}firstChild(t){const n=dd(t,this._root);return n&&n.children.length>0?n.children[0].value:null}siblings(t){const n=fd(t,this._root);return n.length<2?[]:n[n.length-2].children.map(o=>o.value).filter(o=>o!==t)}pathFromRoot(t){return fd(t,this._root).map(n=>n.value)}}function dd(e,t){if(e===t.value)return t;for(const n of t.children){const r=dd(e,n);if(r)return r}return null}function fd(e,t){if(e===t.value)return[t];for(const n of t.children){const r=fd(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 so(e){const t={};return e&&e.children.forEach(n=>t[n.value.outlet]=n),t}class Ux extends Bx{constructor(t,n){super(t),this.snapshot=n,hd(this,t)}toString(){return this.snapshot.toString()}}function Hx(e,t){const n=function DO(e,t){const s=new Da([],{},{},"",{},B,t,null,e.root,-1,{});return new zx("",new En(s,[]))}(e,t),r=new $t([new mi("",{})]),o=new $t({}),i=new $t({}),s=new $t({}),a=new $t(""),l=new ao(r,o,s,a,i,B,t,n.root);return l.snapshot=n.root,new Ux(new En(l,[]),n)}class ao{constructor(t,n,r,o,i,s,a,l){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(Y(c=>c[gi]))??N(void 0),this._futureSnapshot=l}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(Y(t=>no(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(Y(t=>no(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Gx(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 CO(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 Da{get title(){return this.data?.[gi]}constructor(t,n,r,o,i,s,a,l,c,u,d){this.url=t,this.params=n,this.queryParams=r,this.fragment=o,this.data=i,this.outlet=s,this.component=a,this.routeConfig=l,this._urlSegment=c,this._lastPathIndex=u,this._resolve=d}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=no(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=no(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(r=>r.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class zx extends Bx{constructor(t,n){super(n),this.url=t,hd(this,n)}toString(){return Wx(this._root)}}function hd(e,t){t.value._routerState=e,t.children.forEach(n=>hd(e,n))}function Wx(e){const t=e.children.length>0?` { ${e.children.map(Wx).join(", ")} } `:"";return`${e.value}${t}`}function pd(e){if(e.snapshot){const t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,tn(t.queryParams,n.queryParams)||e.queryParams.next(n.queryParams),t.fragment!==n.fragment&&e.fragment.next(n.fragment),tn(t.params,n.params)||e.params.next(n.params),function L2(e,t){if(e.length!==t.length)return!1;for(let n=0;ntn(n.parameters,t[r].parameters))}(e.url,t.url);return n&&!(!e.parent!=!t.parent)&&(!e.parent||gd(e.parent,t.parent))}function Di(e,t,n){if(n&&e.shouldReuseRoute(t.value,n.value.snapshot)){const r=n.value;r._futureSnapshot=t.value;const o=function EO(e,t,n){return t.children.map(r=>{for(const o of n.children)if(e.shouldReuseRoute(r.value,o.value.snapshot))return Di(e,r,o);return Di(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=>Di(e,a)),s}}const r=function SO(e){return new ao(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=>Di(e,i));return new En(r,o)}}const md="ngNavigationCancelingError";function qx(e,t){const{redirectTo:n,navigationBehaviorOptions:r}=sr(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,o=Yx(!1,0,t);return o.url=n,o.navigationBehaviorOptions=r,o}function Yx(e,t,n){const r=new Error("NavigationCancelingError: "+(e||""));return r[md]=!0,r.cancellationCode=t,n&&(r.url=n),r}function Zx(e){return Qx(e)&&sr(e.url)}function Qx(e){return e&&e[md]}class MO{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.injector=null,this.children=new Ci,this.attachRef=null}}let Ci=(()=>{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 MO,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=I({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Ca=!1;let _d=(()=>{class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=B,this.activateEvents=new pe,this.deactivateEvents=new pe,this.attachEvents=new pe,this.detachEvents=new pe,this.parentContexts=Z(Ci),this.location=Z(kt),this.changeDetector=Z(qs),this.environmentInjector=Z(pn)}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 b(4012,Ca);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new b(4012,Ca);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new b(4012,Ca);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 b(4013,Ca);this._activatedRoute=n;const o=this.location,s=n.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,l=new IO(n,a,o.injector);if(r&&function AO(e){return!!e.resolveComponentFactory}(r)){const c=r.resolveComponentFactory(s);this.activated=o.createComponent(c,o.length,l)}else this.activated=o.createComponent(s,{index:o.length,injector:l,environmentInjector:r??this.environmentInjector});this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=k({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[xt]}),e})();class IO{constructor(t,n,r){this.route=t,this.childContexts=n,this.parent=r}get(t,n){return t===ao?this.route:t===Ci?this.childContexts:this.parent.get(t,n)}}let xd=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=Mt({type:e,selectors:[["ng-component"]],standalone:!0,features:[Jm],decls:1,vars:0,template:function(n,r){1&n&&Nt(0,"router-outlet")},dependencies:[_d],encapsulation:2}),e})();function Kx(e,t){return e.providers&&!e._injector&&(e._injector=Vs(e.providers,t,`Route: ${e.path}`)),e._injector??t}function vd(e){const t=e.children&&e.children.map(vd),n=t?{...e,children:t}:{...e};return!n.component&&!n.loadComponent&&(t||n.loadChildren)&&n.outlet&&n.outlet!==B&&(n.component=xd),n}function Et(e){return e.outlet||B}function Xx(e,t){const n=e.filter(r=>Et(r)===t);return n.push(...e.filter(r=>Et(r)!==t)),n}function wi(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 FO{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),pd(this.futureState.root),this.activateChildRoutes(n,r,t)}deactivateChildRoutes(t,n,r){const o=so(n);t.children.forEach(i=>{const s=i.value.outlet;this.deactivateRoutes(i,o[s],r),delete o[s]}),Le(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=so(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=so(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=so(n);t.children.forEach(i=>{this.activateRoutes(i,o[i.value.outlet],r),this.forwardEvent(new mO(i.value.snapshot))}),t.children.length&&this.forwardEvent(new pO(t.value.snapshot))}activateRoutes(t,n,r){const o=t.value,i=n?n.value:null;if(pd(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),pd(a.route.value),this.activateChildRoutes(t,null,s.children)}else{const a=wi(o.snapshot),l=a?.get(Ho)??null;s.attachRef=null,s.route=o,s.resolver=l,s.injector=a,s.outlet&&s.outlet.activateWith(o,s.injector),this.activateChildRoutes(t,null,s.children)}}else this.activateChildRoutes(t,null,r)}}class Jx{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class wa{constructor(t,n){this.component=t,this.route=n}}function PO(e,t,n){const r=e._root;return Ei(r,t?t._root:null,n,[r.value])}function lo(e,t){const n=Symbol(),r=t.get(e,n);return r===n?"function"!=typeof e||function Rb(e){return null!==$i(e)}(e)?t.get(e):e:r}function Ei(e,t,n,r,o={canDeactivateChecks:[],canActivateChecks:[]}){const i=so(t);return e.children.forEach(s=>{(function LO(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 l=function VO(e,t,n){if("function"==typeof n)return n(e,t);switch(n){case"pathParamsChange":return!ir(e.url,t.url);case"pathParamsOrQueryParamsChange":return!ir(e.url,t.url)||!tn(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!gd(e,t)||!tn(e.queryParams,t.queryParams);default:return!gd(e,t)}}(s,i,i.routeConfig.runGuardsAndResolvers);l?o.canActivateChecks.push(new Jx(r)):(i.data=s.data,i._resolvedData=s._resolvedData),Ei(e,t,i.component?a?a.children:null:n,r,o),l&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new wa(a.outlet.component,s))}else s&&Si(t,a,o),o.canActivateChecks.push(new Jx(r)),Ei(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]}),Le(i,(s,a)=>Si(s,n.getContext(a),o)),o}function Si(e,t,n){const r=so(e),o=e.value;Le(r,(i,s)=>{Si(i,o.component?t?t.children.getContext(s):null:t,n)}),n.canDeactivateChecks.push(new wa(o.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,o))}function Mi(e){return"function"==typeof e}function bd(e){return e instanceof da||"EmptyError"===e?.name}const Ea=Symbol("INITIAL_VALUE");function co(){return en(e=>px(e.map(t=>t.pipe(to(1),function T2(...e){const t=xo(e);return Ne((n,r)=>{(t?Ju(e,n,t):Ju(e,n)).subscribe(r)})}(Ea)))).pipe(Y(t=>{for(const n of t)if(!0!==n){if(n===Ea)return Ea;if(!1===n||n instanceof Ln)return n}return!0}),Rn(t=>t!==Ea),to(1)))}function ey(e){return function jv(...e){return lf(e)}(He(t=>{if(sr(t))throw qx(0,t)}),Y(t=>!0===t))}const Dd={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function ty(e,t,n,r,o){const i=Cd(e,t,n);return i.matched?function tN(e,t,n,r){const o=t.canMatch;return o&&0!==o.length?N(o.map(s=>{const a=lo(s,e);return kn(function GO(e){return e&&Mi(e.canMatch)}(a)?a.canMatch(t,n):e.runInContext(()=>a(t,n)))})).pipe(co(),ey()):N(!0)}(r=Kx(t,r),t,n).pipe(Y(s=>!0===s?i:{...Dd})):N(i)}function Cd(e,t,n){if(""===t.path)return"full"===t.pathMatch&&(e.hasChildren()||n.length>0)?{...Dd}:{matched:!0,consumedSegments:[],remainingSegments:n,parameters:{},positionalParamSegments:{}};const o=(t.matcher||k2)(n,e,t);if(!o)return{...Dd};const i={};Le(o.posParams,(a,l)=>{i[l]=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 Sa(e,t,n,r){if(n.length>0&&function oN(e,t,n){return n.some(r=>Ma(e,t,r)&&Et(r)!==B)}(e,n,r)){const i=new W(t,function rN(e,t,n,r){const o={};o[B]=r,r._sourceSegment=e,r._segmentIndexShift=t.length;for(const i of n)if(""===i.path&&Et(i)!==B){const s=new W([],{});s._sourceSegment=e,s._segmentIndexShift=t.length,o[Et(i)]=s}return o}(e,t,r,new W(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=>Ma(e,t,r))}(e,n,r)){const i=new W(e.segments,function nN(e,t,n,r,o){const i={};for(const s of r)if(Ma(e,n,s)&&!o[Et(s)]){const a=new W([],{});a._sourceSegment=e,a._segmentIndexShift=t.length,i[Et(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 W(e.segments,e.children);return o._sourceSegment=e,o._segmentIndexShift=t.length,{segmentGroup:o,slicedSegments:n}}function Ma(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path}function ny(e,t,n,r){return!!(Et(e)===r||r!==B&&Ma(t,n,e))&&("**"===e.path||Cd(t,e,n).matched)}function ry(e,t,n){return 0===t.length&&!e.children[n]}const Ia=!1;class Aa{constructor(t){this.segmentGroup=t||null}}class oy{constructor(t){this.urlTree=t}}function Ii(e){return pi(new Aa(e))}function iy(e){return pi(new oy(e))}class cN{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=Sa(this.urlTree.root,[],[],this.config).segmentGroup,n=new W(t.segments,t.children);return this.expandSegmentGroup(this.injector,this.config,n,B).pipe(Y(i=>this.createUrlTree(ya(i),this.urlTree.queryParams,this.urlTree.fragment))).pipe(Pn(i=>{if(i instanceof oy)return this.allowRedirects=!1,this.match(i.urlTree);throw i instanceof Aa?this.noMatchError(i):i}))}match(t){return this.expandSegmentGroup(this.injector,this.config,t.root,B).pipe(Y(o=>this.createUrlTree(ya(o),t.queryParams,t.fragment))).pipe(Pn(o=>{throw o instanceof Aa?this.noMatchError(o):o}))}noMatchError(t){return new b(4002,Ia)}createUrlTree(t,n,r){const o=id(t);return new Ln(o,n,r)}expandSegmentGroup(t,n,r,o){return 0===r.segments.length&&r.hasChildren()?this.expandChildren(t,n,r).pipe(Y(i=>new W([],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 we(o).pipe(or(i=>{const s=r.children[i],a=Xx(n,i);return this.expandSegmentGroup(t,a,s,i).pipe(Y(l=>({segment:l,outlet:i})))}),yx((i,s)=>(i[s.outlet]=s.segment,i),{}),vx())}expandSegment(t,n,r,o,i,s){return we(r).pipe(or(a=>this.expandSegmentAgainstRoute(t,n,r,a,o,i,s).pipe(Pn(c=>{if(c instanceof Aa)return N(null);throw c}))),Fn(a=>!!a),Pn((a,l)=>{if(bd(a))return ry(n,o,i)?N(new W([],{})):Ii(n);throw a}))}expandSegmentAgainstRoute(t,n,r,o,i,s,a){return ny(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):Ii(n):Ii(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("/")?iy(i):this.lineralizeSegments(r,i).pipe(Re(s=>{const a=new W(s,{});return this.expandSegment(t,a,n,s,o,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(t,n,r,o,i,s){const{matched:a,consumedSegments:l,remainingSegments:c,positionalParamSegments:u}=Cd(n,o,i);if(!a)return Ii(n);const d=this.applyRedirectCommands(l,o.redirectTo,u);return o.redirectTo.startsWith("/")?iy(d):this.lineralizeSegments(o,d).pipe(Re(f=>this.expandSegment(t,n,r,f.concat(c),s,!1)))}matchSegmentAgainstRoute(t,n,r,o,i){return"**"===r.path?(t=Kx(r,t),r.loadChildren?(r._loadedRoutes?N({routes:r._loadedRoutes,injector:r._loadedInjector}):this.configLoader.loadChildren(t,r)).pipe(Y(a=>(r._loadedRoutes=a.routes,r._loadedInjector=a.injector,new W(o,{})))):N(new W(o,{}))):ty(n,r,o,t).pipe(en(({matched:s,consumedSegments:a,remainingSegments:l})=>s?this.getChildConfig(t=r._injector??t,r,o).pipe(Re(u=>{const d=u.injector??t,f=u.routes,{segmentGroup:h,slicedSegments:p}=Sa(n,a,l,f),g=new W(h.segments,h.children);if(0===p.length&&g.hasChildren())return this.expandChildren(d,f,g).pipe(Y(m=>new W(a,m)));if(0===f.length&&0===p.length)return N(new W(a,{}));const _=Et(r)===i;return this.expandSegment(d,g,f,p,_?B:i,!0).pipe(Y(C=>new W(a.concat(C.segments),C.children)))})):Ii(n)))}getChildConfig(t,n,r){return n.children?N({routes:n.children,injector:t}):n.loadChildren?void 0!==n._loadedRoutes?N({routes:n._loadedRoutes,injector:n._loadedInjector}):function eN(e,t,n,r){const o=t.canLoad;return void 0===o||0===o.length?N(!0):N(o.map(s=>{const a=lo(s,e);return kn(function $O(e){return e&&Mi(e.canLoad)}(a)?a.canLoad(t,n):e.runInContext(()=>a(t,n)))})).pipe(co(),ey())}(t,n,r).pipe(Re(o=>o?this.configLoader.loadChildren(t,n).pipe(He(i=>{n._loadedRoutes=i.routes,n._loadedInjector=i.injector})):function aN(e){return pi(Yx(Ia,3))}())):N({routes:[],injector:t})}lineralizeSegments(t,n){let r=[],o=n.root;for(;;){if(r=r.concat(o.segments),0===o.numberOfChildren)return N(r);if(o.numberOfChildren>1||!o.children[B])return t.redirectTo,pi(new b(4e3,Ia));o=o.children[B]}}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 Ln(i,this.createQueryParams(n.queryParams,this.urlTree.queryParams),n.fragment)}createQueryParams(t,n){const r={};return Le(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 Le(n.children,(a,l)=>{s[l]=this.createSegmentGroup(t,a,r,o)}),new W(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 b(4001,Ia);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=Sa(this.urlTree.root,[],[],this.config.filter(n=>void 0===n.redirectTo)).segmentGroup;return this.processSegmentGroup(this.injector,this.config,t,B).pipe(Y(n=>{if(null===n)return null;const r=new Da([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},B,this.rootComponentType,null,this.urlTree.root,-1,{}),o=new En(r,n),i=new zx(this.url,o);return this.inheritParamsAndData(i._root),i}))}inheritParamsAndData(t){const n=t.value,r=Gx(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 we(Object.keys(r.children)).pipe(or(o=>{const i=r.children[o],s=Xx(n,o);return this.processSegmentGroup(t,s,i,o)}),yx((o,i)=>o&&i?(o.push(...i),o):null),function R2(e,t=!1){return Ne((n,r)=>{let o=0;n.subscribe(Ie(r,i=>{const s=e(i,o++);(s||t)&&r.next(i),!s&&r.complete()}))})}(o=>null!==o),fa(null),vx(),Y(o=>{if(null===o)return null;const i=ay(o);return function gN(e){e.sort((t,n)=>t.value.outlet===B?-1:n.value.outlet===B?1:t.value.outlet.localeCompare(n.value.outlet))}(i),i}))}processSegment(t,n,r,o,i){return we(n).pipe(or(s=>this.processSegmentAgainstRoute(s._injector??t,s,r,o,i)),Fn(s=>!!s),Pn(s=>{if(bd(s))return ry(r,o,i)?N([]):N(null);throw s}))}processSegmentAgainstRoute(t,n,r,o,i){if(n.redirectTo||!ny(n,r,o,i))return N(null);let s;if("**"===n.path){const a=o.length>0?Cx(o).parameters:{},l=cy(r)+o.length;s=N({snapshot:new Da(o,a,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,uy(n),Et(n),n.component??n._loadedComponent??null,n,ly(r),l,dy(n)),consumedSegments:[],remainingSegments:[]})}else s=ty(r,n,o,t).pipe(Y(({matched:a,consumedSegments:l,remainingSegments:c,parameters:u})=>{if(!a)return null;const d=cy(r)+l.length;return{snapshot:new Da(l,u,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,uy(n),Et(n),n.component??n._loadedComponent??null,n,ly(r),d,dy(n)),consumedSegments:l,remainingSegments:c}}));return s.pipe(en(a=>{if(null===a)return N(null);const{snapshot:l,consumedSegments:c,remainingSegments:u}=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}=Sa(r,c,u,f.filter(_=>void 0===_.redirectTo));if(0===p.length&&h.hasChildren())return this.processChildren(d,f,h).pipe(Y(_=>null===_?null:[new En(l,_)]));if(0===f.length&&0===p.length)return N([new En(l,[])]);const g=Et(n)===i;return this.processSegment(d,f,h,p,g?B:i).pipe(Y(_=>null===_?null:[new En(l,_)]))}))}}function _N(e){const t=e.value.routeConfig;return t&&""===t.path&&void 0===t.redirectTo}function ay(e){const t=[],n=new Set;for(const r of e){if(!_N(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=ay(r.children);t.push(new En(r.value,o))}return t.filter(r=>!n.has(r))}function ly(e){let t=e;for(;t._sourceSegment;)t=t._sourceSegment;return t}function cy(e){let t=e,n=t._segmentIndexShift??0;for(;t._sourceSegment;)t=t._sourceSegment,n+=t._segmentIndexShift??0;return n-1}function uy(e){return e.data||{}}function dy(e){return e.resolve||{}}function fy(e){return"string"==typeof e.title||null===e.title}function wd(e){return en(t=>{const n=e(t);return n?we(n).pipe(Y(()=>t)):N(t)})}const uo=new M("ROUTES");let Ed=(()=>{class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=Z(H0)}loadComponent(n){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return N(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);const r=kn(n.loadComponent()).pipe(Y(py),He(i=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=i}),nd(()=>{this.componentLoaders.delete(n)})),o=new _x(r,()=>new on).pipe(ed());return this.componentLoaders.set(n,o),o}loadChildren(n,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return N({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);const i=this.loadModuleFactoryOrRoutes(r.loadChildren).pipe(Y(a=>{this.onLoadEndListener&&this.onLoadEndListener(r);let l,c,u=!1;Array.isArray(a)?c=a:(l=a.create(n).injector,c=Dx(l.get(uo,[],F.Self|F.Optional)));return{routes:c.map(vd),injector:l}}),nd(()=>{this.childrenLoaders.delete(r)})),s=new _x(i,()=>new on).pipe(ed());return this.childrenLoaders.set(r,s),s}loadModuleFactoryOrRoutes(n){return kn(n()).pipe(Y(py),Re(r=>r instanceof Km||Array.isArray(r)?N(r):we(this.compiler.compileModuleAsync(r))))}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function py(e){return function EN(e){return e&&"object"==typeof e&&"default"in e}(e)?e.default:e}let Oa=(()=>{class e{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.lastSuccessfulNavigation=null,this.events=new on,this.configLoader=Z(Ed),this.environmentInjector=Z(pn),this.urlSerializer=Z(_i),this.rootContexts=Z(Ci),this.navigationId=0,this.afterPreactivation=()=>N(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=o=>this.events.next(new fO(o)),this.configLoader.onLoadStartListener=o=>this.events.next(new dO(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:bi,restoredState:null,currentSnapshot:n.routerState.snapshot,targetSnapshot:null,currentRouterState:n.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(Rn(r=>0!==r.id),Y(r=>({...r,extractedUrl:n.urlHandlingStrategy.extract(r.rawUrl)})),en(r=>{let o=!1,i=!1;return N(r).pipe(He(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}}),en(s=>{const a=n.browserUrlTree.toString(),l=!n.navigated||s.extractedUrl.toString()!==a||a!==n.currentUrlTree.toString();if(!l&&"reload"!==(s.extras.onSameUrlNavigation??n.onSameUrlNavigation)){const u="";return this.events.next(new ba(s.id,n.serializeUrl(r.rawUrl),u,0)),n.rawUrlTree=s.rawUrl,s.resolve(null),Bt}if(n.urlHandlingStrategy.shouldProcessUrl(s.rawUrl))return gy(s.source)&&(n.browserUrlTree=s.extractedUrl),N(s).pipe(en(u=>{const d=this.transitions?.getValue();return this.events.next(new cd(u.id,this.urlSerializer.serialize(u.extractedUrl),u.source,u.restoredState)),d!==this.transitions?.getValue()?Bt:Promise.resolve(u)}),function uN(e,t,n,r){return en(o=>function lN(e,t,n,r,o){return new cN(e,t,n,r,o).apply()}(e,t,n,o.extractedUrl,r).pipe(Y(i=>({...o,urlAfterRedirects:i}))))}(this.environmentInjector,this.configLoader,this.urlSerializer,n.config),He(u=>{this.currentNavigation={...this.currentNavigation,finalUrl:u.urlAfterRedirects},r.urlAfterRedirects=u.urlAfterRedirects}),function yN(e,t,n,r,o){return Re(i=>function hN(e,t,n,r,o,i,s="emptyOnly"){return new pN(e,t,n,r,o,s,i).recognize().pipe(en(a=>null===a?function fN(e){return new Ce(t=>t.error(e))}(new dN):N(a)))}(e,t,n,i.urlAfterRedirects,r.serialize(i.urlAfterRedirects),r,o).pipe(Y(s=>({...i,targetSnapshot:s}))))}(this.environmentInjector,this.rootComponentType,n.config,this.urlSerializer,n.paramsInheritanceStrategy),He(u=>{if(r.targetSnapshot=u.targetSnapshot,"eager"===n.urlUpdateStrategy){if(!u.extras.skipLocationChange){const f=n.urlHandlingStrategy.merge(u.urlAfterRedirects,u.rawUrl);n.setBrowserUrl(f,u)}n.browserUrlTree=u.urlAfterRedirects}const d=new sO(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(d)}));if(l&&n.urlHandlingStrategy.shouldProcessUrl(n.rawUrlTree)){const{id:u,extractedUrl:d,source:f,restoredState:h,extras:p}=s,g=new cd(u,this.urlSerializer.serialize(d),f,h);this.events.next(g);const _=Hx(d,this.rootComponentType).snapshot;return N(r={...s,targetSnapshot:_,urlAfterRedirects:d,extras:{...p,skipLocationChange:!1,replaceUrl:!1}})}{const u="";return this.events.next(new ba(s.id,n.serializeUrl(r.extractedUrl),u,1)),n.rawUrlTree=s.rawUrl,s.resolve(null),Bt}}),He(s=>{const a=new aO(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(a)}),Y(s=>r={...s,guards:PO(s.targetSnapshot,s.currentSnapshot,this.rootContexts)}),function WO(e,t){return Re(n=>{const{targetSnapshot:r,currentSnapshot:o,guards:{canActivateChecks:i,canDeactivateChecks:s}}=n;return 0===s.length&&0===i.length?N({...n,guardsResult:!0}):function qO(e,t,n,r){return we(e).pipe(Re(o=>function JO(e,t,n,r,o){const i=t&&t.routeConfig?t.routeConfig.canDeactivate:null;return i&&0!==i.length?N(i.map(a=>{const l=wi(t)??o,c=lo(a,l);return kn(function HO(e){return e&&Mi(e.canDeactivate)}(c)?c.canDeactivate(e,t,n,r):l.runInContext(()=>c(e,t,n,r))).pipe(Fn())})).pipe(co()):N(!0)}(o.component,o.route,n,t,r)),Fn(o=>!0!==o,!0))}(s,r,o,e).pipe(Re(a=>a&&function jO(e){return"boolean"==typeof e}(a)?function YO(e,t,n,r){return we(t).pipe(or(o=>Ju(function QO(e,t){return null!==e&&t&&t(new hO(e)),N(!0)}(o.route.parent,r),function ZO(e,t){return null!==e&&t&&t(new gO(e)),N(!0)}(o.route,r),function XO(e,t,n){const r=t[t.length-1],i=t.slice(0,t.length-1).reverse().map(s=>function kO(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=>mx(()=>N(s.guards.map(l=>{const c=wi(s.node)??n,u=lo(l,c);return kn(function UO(e){return e&&Mi(e.canActivateChild)}(u)?u.canActivateChild(r,e):c.runInContext(()=>u(r,e))).pipe(Fn())})).pipe(co())));return N(i).pipe(co())}(e,o.path,n),function KO(e,t,n){const r=t.routeConfig?t.routeConfig.canActivate:null;if(!r||0===r.length)return N(!0);const o=r.map(i=>mx(()=>{const s=wi(t)??n,a=lo(i,s);return kn(function BO(e){return e&&Mi(e.canActivate)}(a)?a.canActivate(t,e):s.runInContext(()=>a(t,e))).pipe(Fn())}));return N(o).pipe(co())}(e,o.route,n))),Fn(o=>!0!==o,!0))}(r,i,e,t):N(a)),Y(a=>({...n,guardsResult:a})))})}(this.environmentInjector,s=>this.events.next(s)),He(s=>{if(r.guardsResult=s.guardsResult,sr(s.guardsResult))throw qx(0,s.guardsResult);const a=new lO(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot,!!s.guardsResult);this.events.next(a)}),Rn(s=>!!s.guardsResult||(n.restoreHistory(s),this.cancelNavigationTransition(s,"",3),!1)),wd(s=>{if(s.guards.canActivateChecks.length)return N(s).pipe(He(a=>{const l=new cO(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(l)}),en(a=>{let l=!1;return N(a).pipe(function vN(e,t){return Re(n=>{const{targetSnapshot:r,guards:{canActivateChecks:o}}=n;if(!o.length)return N(n);let i=0;return we(o).pipe(or(s=>function bN(e,t,n,r){const o=e.routeConfig,i=e._resolve;return void 0!==o?.title&&!fy(o)&&(i[gi]=o.title),function DN(e,t,n,r){const o=function CN(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e)]}(e);if(0===o.length)return N({});const i={};return we(o).pipe(Re(s=>function wN(e,t,n,r){const o=wi(t)??r,i=lo(e,o);return kn(i.resolve?i.resolve(t,n):o.runInContext(()=>i(t,n)))}(e[s],t,n,r).pipe(Fn(),He(a=>{i[s]=a}))),td(1),function F2(e){return Y(()=>e)}(i),Pn(s=>bd(s)?Bt:pi(s)))}(i,e,t,r).pipe(Y(s=>(e._resolvedData=s,e.data=Gx(e,n).resolve,o&&fy(o)&&(e.data[gi]=o.title),null)))}(s.route,r,e,t)),He(()=>i++),td(1),Re(s=>i===o.length?N(n):Bt))})}(n.paramsInheritanceStrategy,this.environmentInjector),He({next:()=>l=!0,complete:()=>{l||(n.restoreHistory(a),this.cancelNavigationTransition(a,"",2))}}))}),He(a=>{const l=new uO(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(l)}))}),wd(s=>{const a=l=>{const c=[];l.routeConfig?.loadComponent&&!l.routeConfig._loadedComponent&&c.push(this.configLoader.loadComponent(l.routeConfig).pipe(He(u=>{l.component=u}),Y(()=>{})));for(const u of l.children)c.push(...a(u));return c};return px(a(s.targetSnapshot.root)).pipe(fa(),to(1))}),wd(()=>this.afterPreactivation()),Y(s=>{const a=function wO(e,t,n){const r=Di(e,t._root,n?n._root:void 0);return new Ux(r,t)}(n.routeReuseStrategy,s.targetSnapshot,s.currentRouterState);return r={...s,targetRouterState:a}}),He(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)=>Y(r=>(new FO(t,r.targetRouterState,r.currentRouterState,n).activate(e),r)))(this.rootContexts,n.routeReuseStrategy,s=>this.events.next(s)),to(1),He({next:s=>{o=!0,this.lastSuccessfulNavigation=this.currentNavigation,n.navigated=!0,this.events.next(new ar(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(n.currentUrlTree))),n.titleStrategy?.updateTitle(s.targetRouterState.snapshot),s.resolve(!0)},complete:()=>{o=!0}}),nd(()=>{o||i||this.cancelNavigationTransition(r,"",1),this.currentNavigation?.id===r.id&&(this.currentNavigation=null)}),Pn(s=>{if(i=!0,Qx(s)){Zx(s)||(n.navigated=!0,n.restoreHistory(r,!0));const a=new va(r.id,this.urlSerializer.serialize(r.extractedUrl),s.message,s.cancellationCode);if(this.events.next(a),Zx(s)){const l=n.urlHandlingStrategy.merge(s.url,n.rawUrlTree),c={skipLocationChange:r.extras.skipLocationChange,replaceUrl:"eager"===n.urlUpdateStrategy||gy(r.source)};n.scheduleNavigation(l,bi,null,c,{resolve:r.resolve,reject:r.reject,promise:r.promise})}else r.resolve(!1)}else{n.restoreHistory(r,!0);const a=new ud(r.id,this.urlSerializer.serialize(r.extractedUrl),s,r.targetSnapshot??void 0);this.events.next(a);try{r.resolve(n.errorHandler(s))}catch(l){r.reject(l)}}return Bt}))}))}cancelNavigationTransition(n,r,o){const i=new va(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=I({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function gy(e){return e!==bi}let my=(()=>{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===B);return r}getResolvedTitleForRoute(n){return n.data[gi]}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=I({token:e,factory:function(){return Z(SN)},providedIn:"root"}),e})(),SN=(()=>{class e extends my{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(lx))},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),MN=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=I({token:e,factory:function(){return Z(AN)},providedIn:"root"}),e})();class IN{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 IN{}return e.\u0275fac=function(){let t;return function(r){return(t||(t=ke(e)))(r||e)}}(),e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Na=new M("",{providedIn:"root",factory:()=>({})});let ON=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=I({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=I({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function RN(e){throw e}function FN(e,t,n){return t.parse("/")}const PN={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},kN={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Qe=(()=>{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(cI),this.isNgZoneEnabled=!1,this.options=Z(Na,{optional:!0})||{},this.errorHandler=this.options.errorHandler||RN,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||FN,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=Z(ON),this.routeReuseStrategy=Z(MN),this.urlCreationStrategy=Z(bO),this.titleStrategy=Z(my),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=Dx(Z(uo,{optional:!0})??[]),this.navigationTransitions=Z(Oa),this.urlSerializer=Z(_i),this.location=Z(Iu),this.isNgZoneEnabled=Z(ye)instanceof ye&&ye.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new Ln,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=Hx(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),bi,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 l={...o};delete l.navigationId,delete l.\u0275routerPageId,0!==Object.keys(l).length&&(i.state=l)}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(vd),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:l}=r,c=l?this.currentUrlTree.fragment:s;let u=null;switch(a){case"merge":u={...this.currentUrlTree.queryParams,...i};break;case"preserve":u=this.currentUrlTree.queryParams;break;default:u=i||null}return null!==u&&(u=this.removeEmptyProps(u)),this.urlCreationStrategy.createUrlTree(o,this.routerState,this.currentUrlTree,n,u,c??null)}navigateByUrl(n,r={skipLocationChange:!1}){const o=sr(n)?n:this.parseUrl(n),i=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(i,bi,null,r)}navigate(n,r={skipLocationChange:!1}){return function LN(e){for(let t=0;t{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,l,c,u;return s?(a=s.resolve,l=s.reject,c=s.promise):c=new Promise((d,f)=>{a=d,l=f}),u="computed"===this.canceledNavigationResolution?o&&o.\u0275routerPageId?o.\u0275routerPageId:(this.browserPageId??0)+1:0,this.navigationTransitions.handleNavigationRequest({targetPageId:u,source:r,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:n,extras:i,resolve:a,reject:l,promise:c,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),c.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=I({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();class _y{}let $N=(()=>{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(Rn(n=>n instanceof ar),or(()=>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=Vs(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 we(o).pipe(dr())}preloadConfig(n,r){return this.preloadingStrategy.preload(r,()=>{let o;o=r.loadChildren&&void 0===r.canLoad?this.loader.loadChildren(n,r):N(null);const i=o.pipe(Re(s=>null===s?N(void 0):(r._loadedRoutes=s.routes,r._loadedInjector=s.injector,this.processRoutes(s.injector??n,s.routes))));return r.loadComponent&&!r._loadedComponent?we([i,this.loader.loadComponent(r)]).pipe(dr()):i})}}return e.\u0275fac=function(n){return new(n||e)(A(Qe),A(H0),A(pn),A(_y),A(Ed))},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Id=new M("");let xy=(()=>{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 cd?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=n.navigationTrigger,this.restoredId=n.restoredState?n.restoredState.navigationId:0):n instanceof ar&&(this.lastId=n.id,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof $x&&(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 $x(n,"popstate"===this.lastSource?this.store[this.restoredId]:null,r))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}}return e.\u0275fac=function(n){!function tg(){throw new Error("invalid")}()},e.\u0275prov=I({token:e,factory:e.\u0275fac}),e})();var ht=(()=>((ht=ht||{})[ht.COMPLETE=0]="COMPLETE",ht[ht.FAILED=1]="FAILED",ht[ht.REDIRECTING=2]="REDIRECTING",ht))();const fo=!1;function Vn(e,t){return{\u0275kind:e,\u0275providers:t}}const Ad=new M("",{providedIn:"root",factory:()=>!1});function vy(){const e=Z(Yt);return t=>{const n=e.get(zs);if(t!==n.components[0])return;const r=e.get(Qe),o=e.get(by);1===e.get(Td)&&r.initialNavigation(),e.get(Dy,null,F.Optional)?.setUpPreloading(),e.get(Id,null,F.Optional)?.init(),r.resetRootComponentType(n.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}const by=new M(fo?"bootstrap done indicator":"",{factory:()=>new on}),Td=new M(fo?"initial navigation":"",{providedIn:"root",factory:()=>1});function zN(){let e=[];return e=fo?[{provide:xs,multi:!0,useFactory:()=>{const t=Z(Qe);return()=>t.events.subscribe(n=>{console.group?.(`Router Event: ${n.constructor.name}`),console.log(function _O(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?.()})}}]:[],Vn(1,e)}const Dy=new M(fo?"router preloader":"");function WN(e){return Vn(0,[{provide:Dy,useExisting:$N},{provide:_y,useExisting:e}])}const Ai=!1,Cy=new M(Ai?"router duplicate forRoot guard":"ROUTER_FORROOT_GUARD"),qN=[Iu,{provide:_i,useClass:rd},Qe,Ci,{provide:ao,useFactory:function yy(e){return e.routerState.root},deps:[Qe]},Ed,Ai?{provide:Ad,useValue:!0}:[]];function YN(){return new K0("Router",Qe)}let wy=(()=>{class e{constructor(n){}static forRoot(n,r){return{ngModule:e,providers:[qN,Ai&&r?.enableTracing?zN().\u0275providers:[],{provide:uo,multi:!0,useValue:n},{provide:Cy,useFactory:XN,deps:[[Qe,new Ro,new Fo]]},{provide:Na,useValue:r||{}},r?.useHash?{provide:rr,useClass:QI}:{provide:rr,useClass:v_},{provide:Id,useFactory:()=>{const e=Z(gT),t=Z(ye),n=Z(Na),r=Z(Oa),o=Z(_i);return n.scrollOffset&&e.setOffset(n.scrollOffset),new xy(o,r,e,t,n)}},r?.preloadingStrategy?WN(r.preloadingStrategy).\u0275providers:[],{provide:K0,multi:!0,useFactory:YN},r?.initialNavigation?JN(r):[],[{provide:Ey,useFactory:vy},{provide:Q0,multi:!0,useExisting:Ey}]]}}static forChild(n){return{ngModule:e,providers:[{provide:uo,multi:!0,useValue:n}]}}}return e.\u0275fac=function(n){return new(n||e)(A(Cy,8))},e.\u0275mod=Gt({type:e}),e.\u0275inj=St({imports:[xd]}),e})();function XN(e){if(Ai&&e)throw new b(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?Vn(3,[{provide:Us,multi:!0,useFactory:()=>{const t=Z(Qe);return()=>{t.setUpLocationChangeListener()}}},{provide:Td,useValue:2}]).\u0275providers:[],"enabledBlocking"===e.initialNavigation?Vn(2,[{provide:Td,useValue:0},{provide:Us,multi:!0,deps:[Yt],useFactory:t=>{const n=t.get(YI,Promise.resolve());return()=>n.then(()=>new Promise(r=>{const o=t.get(Qe),i=t.get(by);(function BN(e,t){e.events.pipe(Rn(n=>n instanceof ar||n instanceof va||n instanceof ud||n instanceof ba),Y(n=>n instanceof ar||n instanceof ba?ht.COMPLETE:n instanceof va&&(0===n.code||1===n.code)?ht.REDIRECTING:ht.FAILED),Rn(n=>n!==ht.REDIRECTING),to(1)).subscribe(()=>{t()})})(o,()=>{r(!0)}),t.get(Oa).afterPreactivation=()=>(r(!0),i.closed?N(void 0):i),o.initialNavigation()}))}}]).\u0275providers:[]]}const Ey=new M(Ai?"Router Initializer":"");class jn{constructor(t,n){this.x=t,this.y=n}add(t){return new jn(this.x+t.x,this.y+t.y)}sub(t){return new jn(this.x-t.x,this.y-t.y)}mult(t){return new jn(this.x*t,this.y*t)}div(t){return new jn(this.x/t,this.y/t)}length(){return Math.sqrt(this.x*this.x+this.y*this.y)}static getFromJson(t){return new jn(t.x,t.y)}}let Od=(()=>{class e{constructor(n,r,o,i,s,a,l="red"){this.moveVectorX=0,this.moveVectorY=0,this.history=[],this.id=e.idCounter++,this.name=n,this.x=r,this.y=o,this.radius=i,this.color=l,this.velocity=a,this.weight=s,this.makeHistoryPoint()}calculateGravityForce(n){let r=Math.sqrt((this.x-n.x)*(this.x-n.x)+(this.y-n.y)*(this.y-n.y)),o=this.weight*n.weight/(r*r),i=o*((n.x-this.x)/r),s=o*((n.y-this.y)/r);console.log(...function Sy(e,...t){try{(function Ra(){try{return(0,eval)("globalThis._console_ninja")||(0,eval)("/* https://github.com/wallabyjs/console-ninja#how-does-it-work */'use strict';function _0x2b7c(_0x260d6a,_0x145e28){var _0x2cbb0f=_0x2cbb();return _0x2b7c=function(_0x2b7c3a,_0x2ec08c){_0x2b7c3a=_0x2b7c3a-0xaa;var _0x113936=_0x2cbb0f[_0x2b7c3a];return _0x113936;},_0x2b7c(_0x260d6a,_0x145e28);}var _0x412ae9=_0x2b7c;(function(_0x58fb7d,_0x165ae8){var _0x4b6a83=_0x2b7c,_0x1c1762=_0x58fb7d();while(!![]){try{var _0x1cc6b2=-parseInt(_0x4b6a83(0x169))/0x1+-parseInt(_0x4b6a83(0x105))/0x2*(parseInt(_0x4b6a83(0x135))/0x3)+-parseInt(_0x4b6a83(0xfe))/0x4+parseInt(_0x4b6a83(0x16c))/0x5*(-parseInt(_0x4b6a83(0x140))/0x6)+parseInt(_0x4b6a83(0xaf))/0x7*(-parseInt(_0x4b6a83(0x154))/0x8)+parseInt(_0x4b6a83(0xd4))/0x9*(-parseInt(_0x4b6a83(0xc8))/0xa)+parseInt(_0x4b6a83(0x175))/0xb;if(_0x1cc6b2===_0x165ae8)break;else _0x1c1762['push'](_0x1c1762['shift']());}catch(_0x1f93c2){_0x1c1762['push'](_0x1c1762['shift']());}}}(_0x2cbb,0x29ba5));var j=Object['create'],X=Object[_0x412ae9(0x15c)],G=Object['getOwnPropertyDescriptor'],ee=Object[_0x412ae9(0x149)],te=Object[_0x412ae9(0x14c)],ne=Object[_0x412ae9(0x139)][_0x412ae9(0xcf)],re=(_0x37905a,_0xd50ae3,_0x41106c,_0x315bd3)=>{var _0xbc379a=_0x412ae9;if(_0xd50ae3&&typeof _0xd50ae3==_0xbc379a(0x188)||typeof _0xd50ae3=='function'){for(let _0x298457 of ee(_0xd50ae3))!ne[_0xbc379a(0xb6)](_0x37905a,_0x298457)&&_0x298457!==_0x41106c&&X(_0x37905a,_0x298457,{'get':()=>_0xd50ae3[_0x298457],'enumerable':!(_0x315bd3=G(_0xd50ae3,_0x298457))||_0x315bd3['enumerable']});}return _0x37905a;},K=(_0x460b4b,_0x29b516,_0x31f998)=>(_0x31f998=_0x460b4b!=null?j(te(_0x460b4b)):{},re(_0x29b516||!_0x460b4b||!_0x460b4b[_0x412ae9(0x184)]?X(_0x31f998,_0x412ae9(0x168),{'value':_0x460b4b,'enumerable':!0x0}):_0x31f998,_0x460b4b)),q=class{constructor(_0x230f6c,_0x117323,_0x31fad4,_0x4720f4,_0x15e215){var _0xd84976=_0x412ae9;this[_0xd84976(0x15e)]=_0x230f6c,this[_0xd84976(0x176)]=_0x117323,this[_0xd84976(0x177)]=_0x31fad4,this[_0xd84976(0x18c)]=_0x4720f4,this[_0xd84976(0x15a)]=_0x15e215,this['_allowedToSend']=!0x0,this[_0xd84976(0xc7)]=!0x0,this['_connected']=!0x1,this[_0xd84976(0x181)]=!0x1,this['_inBrowser']=!this[_0xd84976(0x15e)][_0xd84976(0xd5)]?.[_0xd84976(0x15b)],this[_0xd84976(0x145)]=null,this['_connectAttemptCount']=0x0,this[_0xd84976(0x146)]=0x14,this['_webSocketErrorDocsLink']=_0xd84976(0xb7),this[_0xd84976(0x12d)]=(this['_inBrowser']?_0xd84976(0xff):_0xd84976(0x125))+this[_0xd84976(0xe1)];}async[_0x412ae9(0x156)](){var _0x27b9b7=_0x412ae9;if(this[_0x27b9b7(0x145)])return this[_0x27b9b7(0x145)];let _0xeabb97;if(this[_0x27b9b7(0x17f)])_0xeabb97=this[_0x27b9b7(0x15e)][_0x27b9b7(0xea)];else{if(this[_0x27b9b7(0x15e)][_0x27b9b7(0xd5)]?.[_0x27b9b7(0x109)])_0xeabb97=this[_0x27b9b7(0x15e)][_0x27b9b7(0xd5)]?.['_WebSocket'];else try{let _0x3c2199=await import('path');_0xeabb97=(await import((await import(_0x27b9b7(0x13f)))['pathToFileURL'](_0x3c2199[_0x27b9b7(0x16e)](this[_0x27b9b7(0x18c)],'ws/index.js'))[_0x27b9b7(0x11c)]()))['default'];}catch{try{_0xeabb97=require(require(_0x27b9b7(0xe6))[_0x27b9b7(0x16e)](this[_0x27b9b7(0x18c)],'ws'));}catch{throw new Error(_0x27b9b7(0x18d));}}}return this[_0x27b9b7(0x145)]=_0xeabb97,_0xeabb97;}[_0x412ae9(0xf4)](){var _0x3480de=_0x412ae9;this['_connecting']||this[_0x3480de(0x167)]||this[_0x3480de(0xef)]>=this[_0x3480de(0x146)]||(this[_0x3480de(0xc7)]=!0x1,this[_0x3480de(0x181)]=!0x0,this[_0x3480de(0xef)]++,this[_0x3480de(0x11a)]=new Promise((_0x499217,_0xc46417)=>{var _0x1b3137=_0x3480de;this[_0x1b3137(0x156)]()['then'](_0x3e9d6f=>{var _0x55e041=_0x1b3137;let _0x34618e=new _0x3e9d6f(_0x55e041(0xc4)+(!this['_inBrowser']&&this[_0x55e041(0x15a)]?_0x55e041(0x18e):this['host'])+':'+this[_0x55e041(0x177)]);_0x34618e[_0x55e041(0x119)]=()=>{var _0x5c1048=_0x55e041;this[_0x5c1048(0x107)]=!0x1,this[_0x5c1048(0x131)](_0x34618e),this[_0x5c1048(0x187)](),_0xc46417(new Error(_0x5c1048(0x11d)));},_0x34618e[_0x55e041(0x14b)]=()=>{var _0xb07325=_0x55e041;this[_0xb07325(0x17f)]||_0x34618e[_0xb07325(0xbd)]&&_0x34618e['_socket']['unref']&&_0x34618e['_socket'][_0xb07325(0x152)](),_0x499217(_0x34618e);},_0x34618e['onclose']=()=>{var _0x55fb7f=_0x55e041;this[_0x55fb7f(0xc7)]=!0x0,this[_0x55fb7f(0x131)](_0x34618e),this[_0x55fb7f(0x187)]();},_0x34618e[_0x55e041(0xb2)]=_0x5f36df=>{var _0x3c160a=_0x55e041;try{_0x5f36df&&_0x5f36df[_0x3c160a(0x150)]&&this[_0x3c160a(0x17f)]&&JSON[_0x3c160a(0x103)](_0x5f36df[_0x3c160a(0x150)])[_0x3c160a(0x10c)]===_0x3c160a(0x13b)&&this[_0x3c160a(0x15e)][_0x3c160a(0x102)]['reload']();}catch{}};})[_0x1b3137(0x147)](_0x2021f4=>(this[_0x1b3137(0x167)]=!0x0,this['_connecting']=!0x1,this['_allowedToConnectOnSend']=!0x1,this[_0x1b3137(0x107)]=!0x0,this[_0x1b3137(0xef)]=0x0,_0x2021f4))[_0x1b3137(0xe7)](_0x411d4f=>(this[_0x1b3137(0x167)]=!0x1,this[_0x1b3137(0x181)]=!0x1,console[_0x1b3137(0xad)](_0x1b3137(0x106)+this[_0x1b3137(0xe1)]),_0xc46417(new Error('failed\\x20to\\x20connect\\x20to\\x20host:\\x20'+(_0x411d4f&&_0x411d4f[_0x1b3137(0xda)])))));}));}[_0x412ae9(0x131)](_0x1f15d1){var _0x58d68d=_0x412ae9;this[_0x58d68d(0x167)]=!0x1,this[_0x58d68d(0x181)]=!0x1;try{_0x1f15d1['onclose']=null,_0x1f15d1[_0x58d68d(0x119)]=null,_0x1f15d1[_0x58d68d(0x14b)]=null;}catch{}try{_0x1f15d1[_0x58d68d(0xc1)]<0x2&&_0x1f15d1['close']();}catch{}}[_0x412ae9(0x187)](){var _0x265d15=_0x412ae9;clearTimeout(this[_0x265d15(0x10d)]),!(this[_0x265d15(0xef)]>=this['_maxConnectAttemptCount'])&&(this[_0x265d15(0x10d)]=setTimeout(()=>{var _0x36976b=_0x265d15;this[_0x36976b(0x167)]||this[_0x36976b(0x181)]||(this[_0x36976b(0xf4)](),this['_ws']?.[_0x36976b(0xe7)](()=>this['_attemptToReconnectShortly']()));},0x1f4),this[_0x265d15(0x10d)][_0x265d15(0x152)]&&this['_reconnectTimeout'][_0x265d15(0x152)]());}async['send'](_0x53cdcf){var _0x5a74d9=_0x412ae9;try{if(!this[_0x5a74d9(0x107)])return;this['_allowedToConnectOnSend']&&this['_connectToHostNow'](),(await this[_0x5a74d9(0x11a)])['send'](JSON['stringify'](_0x53cdcf));}catch(_0x1b753b){console[_0x5a74d9(0xad)](this[_0x5a74d9(0x12d)]+':\\x20'+(_0x1b753b&&_0x1b753b[_0x5a74d9(0xda)])),this[_0x5a74d9(0x107)]=!0x1,this[_0x5a74d9(0x187)]();}}};function J(_0x46fff0,_0x4f670,_0x1410a7,_0x2612f5,_0x4dea0d,_0x117a56){var _0x1af8b1=_0x412ae9;let _0x458a33=_0x1410a7[_0x1af8b1(0xe3)](',')[_0x1af8b1(0x143)](_0x4c118a=>{var _0x52be3b=_0x1af8b1;try{_0x46fff0['_console_ninja_session']||((_0x4dea0d==='next.js'||_0x4dea0d===_0x52be3b(0x126)||_0x4dea0d===_0x52be3b(0x148))&&(_0x4dea0d+=_0x46fff0[_0x52be3b(0xd5)]?.[_0x52be3b(0x10e)]?.[_0x52be3b(0x18a)]?'\\x20server':_0x52be3b(0x14f)),_0x46fff0[_0x52be3b(0x182)]={'id':+new Date(),'tool':_0x4dea0d});let _0x58fa92=new q(_0x46fff0,_0x4f670,_0x4c118a,_0x2612f5,_0x117a56);return _0x58fa92['send'][_0x52be3b(0xd9)](_0x58fa92);}catch(_0x53521e){return console[_0x52be3b(0xad)](_0x52be3b(0x118),_0x53521e&&_0x53521e[_0x52be3b(0xda)]),()=>{};}});return _0x22dfe9=>_0x458a33['forEach'](_0x286063=>_0x286063(_0x22dfe9));}function W(_0xba72f3){var _0x4a9979=_0x412ae9;let _0x4a7c05=function(_0x1cf58d,_0x5ba849){return _0x5ba849-_0x1cf58d;},_0x453c00;if(_0xba72f3['performance'])_0x453c00=function(){var _0x372646=_0x2b7c;return _0xba72f3['performance'][_0x372646(0xc5)]();};else{if(_0xba72f3[_0x4a9979(0xd5)]&&_0xba72f3[_0x4a9979(0xd5)][_0x4a9979(0xc0)])_0x453c00=function(){var _0x15d80d=_0x4a9979;return _0xba72f3[_0x15d80d(0xd5)][_0x15d80d(0xc0)]();},_0x4a7c05=function(_0x257957,_0x50ed1b){return 0x3e8*(_0x50ed1b[0x0]-_0x257957[0x0])+(_0x50ed1b[0x1]-_0x257957[0x1])/0xf4240;};else try{let {performance:_0x3015d9}=require(_0x4a9979(0x120));_0x453c00=function(){var _0x51e241=_0x4a9979;return _0x3015d9[_0x51e241(0xc5)]();};}catch{_0x453c00=function(){return+new Date();};}}return{'elapsed':_0x4a7c05,'timeStamp':_0x453c00,'now':()=>Date[_0x4a9979(0xc5)]()};}function Y(_0x5673b1,_0x1838af,_0x2f7bfb){var _0x1a42be=_0x412ae9;if(_0x5673b1['_consoleNinjaAllowedToStart']!==void 0x0)return _0x5673b1[_0x1a42be(0x130)];let _0xc7546=_0x5673b1[_0x1a42be(0xd5)]?.[_0x1a42be(0x10e)]?.['node'];return _0xc7546&&_0x2f7bfb===_0x1a42be(0x116)?_0x5673b1[_0x1a42be(0x130)]=!0x1:_0x5673b1[_0x1a42be(0x130)]=_0xc7546||!_0x1838af||_0x5673b1['location']?.[_0x1a42be(0x132)]&&_0x1838af[_0x1a42be(0x13e)](_0x5673b1[_0x1a42be(0x102)][_0x1a42be(0x132)]),_0x5673b1[_0x1a42be(0x130)];}function _0x2cbb(){var _0x14bcfe=['_property','prototype','serialize','reload','isArray','_setNodeId','includes','url','1302dUyEMp','log','_setNodeQueryPath','map','autoExpandPropertyCount','_WebSocketClass','_maxConnectAttemptCount','then','astro','getOwnPropertyNames','negativeZero','onopen','getPrototypeOf','_setNodeExpandableState','name','\\x20browser','data','_treeNodePropertiesAfterFullValue','unref','elements','40UmKYFF','_HTMLAllCollection','getWebSocketClass','function','1694203894195','push','dockerizedApp','cwd','defineProperty','allStrLength','global','error','disabledTrace','sort','_getOwnPropertySymbols','constructor','toLowerCase','getOwnPropertyDescriptor','test','_connected','default','176266xSgffG','timeEnd','autoExpand','2265uoGSKR','noFunctions','join','rootExpression','_isNegativeZero','Map','1.0.0','_type','hits','11115401rcXNov','host','port','depth','bigint','positiveInfinity','current','expId','index','_regExpToString','_inBrowser','Error','_connecting','_console_ninja_session','_isPrimitiveWrapperType','__es'+'Module','length','cappedProps','_attemptToReconnectShortly','object','getOwnPropertySymbols','node','expressionsToEvaluate','nodeModules','failed\\x20to\\x20find\\x20and\\x20load\\x20WebSocket','gateway.docker.internal','root_exp','Boolean','elapsed','warn','concat','102228LdDRBX','resolveGetters','_addProperty','onmessage','disabledLog','_propertyName','timeStamp','call','https://tinyurl.com/37x8b79t','root_exp_id','RegExp','_isMap','count','match','_socket','_p_','Buffer','hrtime','readyState','negativeInfinity','string','ws://','now','sortProps','_allowedToConnectOnSend','11620UIpqdg','_setNodeExpressionPath','_console_ninja','type','_capIfString','autoExpandLimit','_Symbol','hasOwnProperty','parent','unshift','stackTraceLimit','_treeNodePropertiesBeforeFullValue','2367VchJSa','process',\"c:\\\\Users\\\\phil\\\\.vscode\\\\extensions\\\\wallabyjs.console-ninja-0.0.216\\\\node_modules\",'symbol','_quotedRegExp','bind','message','Set','_getOwnPropertyDescriptor','...','[object\\x20Array]','_sortProps','level','_webSocketErrorDocsLink','_p_length','split','_isSet','_blacklistedProperty','path','catch','_hasSetOnItsPath','_isPrimitiveType','WebSocket','strLength','_cleanNode','array','NEGATIVE_INFINITY','_connectAttemptCount','_processTreeNodeResult','replace','_addObjectProperty','[object\\x20BigInt]','_connectToHostNow','trace','nan','String','Number','cappedElements','_undefined','unknown','time','substr','742088NLRSjy','Console\\x20Ninja\\x20failed\\x20to\\x20send\\x20logs,\\x20refreshing\\x20the\\x20page\\x20may\\x20help;\\x20also\\x20see\\x20','valueOf','','location','parse','set','2ZDQfue','logger\\x20failed\\x20to\\x20connect\\x20to\\x20host,\\x20see\\x20','_allowedToSend','[object\\x20Map]','_WebSocket','pop','forEach','method','_reconnectTimeout','versions','number','date','setter','_keyStrRegExp','_hasSymbolPropertyOnItsPath','funcName','_setNodePermissions','nuxt','autoExpandMaxDepth','logger\\x20failed\\x20to\\x20connect\\x20to\\x20host','onerror','_ws','stringify','toString','logger\\x20websocket\\x20error','reduceLimits','autoExpandPreviousObjects','perf_hooks','props','value','_setNodeLabel','isExpressionToEvaluate','Console\\x20Ninja\\x20failed\\x20to\\x20send\\x20logs,\\x20restarting\\x20the\\x20process\\x20may\\x20help;\\x20also\\x20see\\x20','remix','console','null','_addFunctionsNode','_getOwnPropertyNames','capped','_dateToString','_sendErrorMessage','totalStrLength','_objectToString','_consoleNinjaAllowedToStart','_disposeWebsocket','hostname','HTMLAllCollection','_additionalMetadata','2577RRjwgX','slice','undefined'];_0x2cbb=function(){return _0x14bcfe;};return _0x2cbb();}function Q(_0x290e6d,_0x5d2345,_0x1d034e,_0x32b5bf){var _0x27fde3=_0x412ae9;_0x290e6d=_0x290e6d,_0x5d2345=_0x5d2345,_0x1d034e=_0x1d034e,_0x32b5bf=_0x32b5bf;let _0x2fd348=W(_0x290e6d),_0x5034eb=_0x2fd348[_0x27fde3(0xac)],_0xe1cf00=_0x2fd348[_0x27fde3(0xb5)];class _0x3607ac{constructor(){var _0x5a5936=_0x27fde3;this[_0x5a5936(0x112)]=/^(?!(?:do|if|in|for|let|new|try|var|case|else|enum|eval|false|null|this|true|void|with|break|catch|class|const|super|throw|while|yield|delete|export|import|public|return|static|switch|typeof|default|extends|finally|package|private|continue|debugger|function|arguments|interface|protected|implements|instanceof)$)[_$a-zA-Z\\xA0-\\uFFFF][_$a-zA-Z0-9\\xA0-\\uFFFF]*$/,this['_numberRegExp']=/^(0|[1-9][0-9]*)$/,this[_0x5a5936(0xd8)]=/'([^\\\\']|\\\\')*'/,this[_0x5a5936(0xfa)]=_0x290e6d[_0x5a5936(0x137)],this['_HTMLAllCollection']=_0x290e6d['HTMLAllCollection'],this[_0x5a5936(0xdc)]=Object[_0x5a5936(0x165)],this[_0x5a5936(0x12a)]=Object[_0x5a5936(0x149)],this[_0x5a5936(0xce)]=_0x290e6d['Symbol'],this[_0x5a5936(0x17e)]=RegExp[_0x5a5936(0x139)][_0x5a5936(0x11c)],this[_0x5a5936(0x12c)]=Date[_0x5a5936(0x139)][_0x5a5936(0x11c)];}['serialize'](_0x336de1,_0x25c239,_0x53319d,_0x4603c7){var _0x59bbde=_0x27fde3,_0x21ea3b=this,_0x243fc8=_0x53319d[_0x59bbde(0x16b)];function _0x7db955(_0x2d868a,_0x3547fa,_0x46ead3){var _0x12a29f=_0x59bbde;_0x3547fa[_0x12a29f(0xcb)]='unknown',_0x3547fa['error']=_0x2d868a[_0x12a29f(0xda)],_0x314554=_0x46ead3[_0x12a29f(0x18a)][_0x12a29f(0x17b)],_0x46ead3[_0x12a29f(0x18a)][_0x12a29f(0x17b)]=_0x3547fa,_0x21ea3b['_treeNodePropertiesBeforeFullValue'](_0x3547fa,_0x46ead3);}try{_0x53319d['level']++,_0x53319d[_0x59bbde(0x16b)]&&_0x53319d[_0x59bbde(0x11f)]['push'](_0x25c239);var _0x3fd16f,_0x296637,_0xd0cd01,_0x59a762,_0x29789f=[],_0x3aa9c1=[],_0x34e9d2,_0x1c4a92=this[_0x59bbde(0x173)](_0x25c239),_0x552152=_0x1c4a92===_0x59bbde(0xed),_0x130ab2=!0x1,_0x1a1286=_0x1c4a92==='function',_0x5003f2=this[_0x59bbde(0xe9)](_0x1c4a92),_0x4782b5=this[_0x59bbde(0x183)](_0x1c4a92),_0x2cf711=_0x5003f2||_0x4782b5,_0x43e890={},_0x4da75b=0x0,_0x3224c5=!0x1,_0x314554,_0x47b215=/^(([1-9]{1}[0-9]*)|0)$/;if(_0x53319d['depth']){if(_0x552152){if(_0x296637=_0x25c239['length'],_0x296637>_0x53319d[_0x59bbde(0x153)]){for(_0xd0cd01=0x0,_0x59a762=_0x53319d[_0x59bbde(0x153)],_0x3fd16f=_0xd0cd01;_0x3fd16f<_0x59a762;_0x3fd16f++)_0x3aa9c1[_0x59bbde(0x159)](_0x21ea3b['_addProperty'](_0x29789f,_0x25c239,_0x1c4a92,_0x3fd16f,_0x53319d));_0x336de1[_0x59bbde(0xf9)]=!0x0;}else{for(_0xd0cd01=0x0,_0x59a762=_0x296637,_0x3fd16f=_0xd0cd01;_0x3fd16f<_0x59a762;_0x3fd16f++)_0x3aa9c1[_0x59bbde(0x159)](_0x21ea3b[_0x59bbde(0xb1)](_0x29789f,_0x25c239,_0x1c4a92,_0x3fd16f,_0x53319d));}_0x53319d['autoExpandPropertyCount']+=_0x3aa9c1[_0x59bbde(0x185)];}if(!(_0x1c4a92==='null'||_0x1c4a92===_0x59bbde(0x137))&&!_0x5003f2&&_0x1c4a92!==_0x59bbde(0xf7)&&_0x1c4a92!==_0x59bbde(0xbf)&&_0x1c4a92!==_0x59bbde(0x179)){var _0x504b42=_0x4603c7[_0x59bbde(0x121)]||_0x53319d[_0x59bbde(0x121)];if(this[_0x59bbde(0xe4)](_0x25c239)?(_0x3fd16f=0x0,_0x25c239[_0x59bbde(0x10b)](function(_0x5b16aa){var _0x49794c=_0x59bbde;if(_0x4da75b++,_0x53319d[_0x49794c(0x144)]++,_0x4da75b>_0x504b42){_0x3224c5=!0x0;return;}if(!_0x53319d[_0x49794c(0x124)]&&_0x53319d['autoExpand']&&_0x53319d['autoExpandPropertyCount']>_0x53319d['autoExpandLimit']){_0x3224c5=!0x0;return;}_0x3aa9c1[_0x49794c(0x159)](_0x21ea3b[_0x49794c(0xb1)](_0x29789f,_0x25c239,_0x49794c(0xdb),_0x3fd16f++,_0x53319d,function(_0x45f4ef){return function(){return _0x45f4ef;};}(_0x5b16aa)));})):this[_0x59bbde(0xba)](_0x25c239)&&_0x25c239[_0x59bbde(0x10b)](function(_0x192721,_0x8ee187){var _0x5ac51f=_0x59bbde;if(_0x4da75b++,_0x53319d[_0x5ac51f(0x144)]++,_0x4da75b>_0x504b42){_0x3224c5=!0x0;return;}if(!_0x53319d[_0x5ac51f(0x124)]&&_0x53319d[_0x5ac51f(0x16b)]&&_0x53319d[_0x5ac51f(0x144)]>_0x53319d[_0x5ac51f(0xcd)]){_0x3224c5=!0x0;return;}var _0x12afdf=_0x8ee187['toString']();_0x12afdf['length']>0x64&&(_0x12afdf=_0x12afdf[_0x5ac51f(0x136)](0x0,0x64)+_0x5ac51f(0xdd)),_0x3aa9c1[_0x5ac51f(0x159)](_0x21ea3b['_addProperty'](_0x29789f,_0x25c239,_0x5ac51f(0x171),_0x12afdf,_0x53319d,function(_0x294b2e){return function(){return _0x294b2e;};}(_0x192721)));}),!_0x130ab2){try{for(_0x34e9d2 in _0x25c239)if(!(_0x552152&&_0x47b215[_0x59bbde(0x166)](_0x34e9d2))&&!this['_blacklistedProperty'](_0x25c239,_0x34e9d2,_0x53319d)){if(_0x4da75b++,_0x53319d[_0x59bbde(0x144)]++,_0x4da75b>_0x504b42){_0x3224c5=!0x0;break;}if(!_0x53319d['isExpressionToEvaluate']&&_0x53319d[_0x59bbde(0x16b)]&&_0x53319d[_0x59bbde(0x144)]>_0x53319d[_0x59bbde(0xcd)]){_0x3224c5=!0x0;break;}_0x3aa9c1[_0x59bbde(0x159)](_0x21ea3b['_addObjectProperty'](_0x29789f,_0x43e890,_0x25c239,_0x1c4a92,_0x34e9d2,_0x53319d));}}catch{}if(_0x43e890[_0x59bbde(0xe2)]=!0x0,_0x1a1286&&(_0x43e890['_p_name']=!0x0),!_0x3224c5){var _0x4d061e=[][_0x59bbde(0xae)](this[_0x59bbde(0x12a)](_0x25c239))[_0x59bbde(0xae)](this[_0x59bbde(0x162)](_0x25c239));for(_0x3fd16f=0x0,_0x296637=_0x4d061e['length'];_0x3fd16f<_0x296637;_0x3fd16f++)if(_0x34e9d2=_0x4d061e[_0x3fd16f],!(_0x552152&&_0x47b215[_0x59bbde(0x166)](_0x34e9d2[_0x59bbde(0x11c)]()))&&!this['_blacklistedProperty'](_0x25c239,_0x34e9d2,_0x53319d)&&!_0x43e890[_0x59bbde(0xbe)+_0x34e9d2[_0x59bbde(0x11c)]()]){if(_0x4da75b++,_0x53319d[_0x59bbde(0x144)]++,_0x4da75b>_0x504b42){_0x3224c5=!0x0;break;}if(!_0x53319d['isExpressionToEvaluate']&&_0x53319d['autoExpand']&&_0x53319d['autoExpandPropertyCount']>_0x53319d[_0x59bbde(0xcd)]){_0x3224c5=!0x0;break;}_0x3aa9c1[_0x59bbde(0x159)](_0x21ea3b[_0x59bbde(0xf2)](_0x29789f,_0x43e890,_0x25c239,_0x1c4a92,_0x34e9d2,_0x53319d));}}}}}if(_0x336de1[_0x59bbde(0xcb)]=_0x1c4a92,_0x2cf711?(_0x336de1['value']=_0x25c239['valueOf'](),this[_0x59bbde(0xcc)](_0x1c4a92,_0x336de1,_0x53319d,_0x4603c7)):_0x1c4a92===_0x59bbde(0x110)?_0x336de1[_0x59bbde(0x122)]=this[_0x59bbde(0x12c)][_0x59bbde(0xb6)](_0x25c239):_0x1c4a92==='bigint'?_0x336de1[_0x59bbde(0x122)]=_0x25c239[_0x59bbde(0x11c)]():_0x1c4a92===_0x59bbde(0xb9)?_0x336de1[_0x59bbde(0x122)]=this[_0x59bbde(0x17e)][_0x59bbde(0xb6)](_0x25c239):_0x1c4a92===_0x59bbde(0xd7)&&this[_0x59bbde(0xce)]?_0x336de1[_0x59bbde(0x122)]=this[_0x59bbde(0xce)][_0x59bbde(0x139)][_0x59bbde(0x11c)][_0x59bbde(0xb6)](_0x25c239):!_0x53319d[_0x59bbde(0x178)]&&!(_0x1c4a92===_0x59bbde(0x128)||_0x1c4a92===_0x59bbde(0x137))&&(delete _0x336de1['value'],_0x336de1[_0x59bbde(0x12b)]=!0x0),_0x3224c5&&(_0x336de1[_0x59bbde(0x186)]=!0x0),_0x314554=_0x53319d[_0x59bbde(0x18a)][_0x59bbde(0x17b)],_0x53319d['node'][_0x59bbde(0x17b)]=_0x336de1,this[_0x59bbde(0xd3)](_0x336de1,_0x53319d),_0x3aa9c1[_0x59bbde(0x185)]){for(_0x3fd16f=0x0,_0x296637=_0x3aa9c1[_0x59bbde(0x185)];_0x3fd16f<_0x296637;_0x3fd16f++)_0x3aa9c1[_0x3fd16f](_0x3fd16f);}_0x29789f[_0x59bbde(0x185)]&&(_0x336de1[_0x59bbde(0x121)]=_0x29789f);}catch(_0x5dfb0f){_0x7db955(_0x5dfb0f,_0x336de1,_0x53319d);}return this[_0x59bbde(0x134)](_0x25c239,_0x336de1),this[_0x59bbde(0x151)](_0x336de1,_0x53319d),_0x53319d[_0x59bbde(0x18a)][_0x59bbde(0x17b)]=_0x314554,_0x53319d[_0x59bbde(0xe0)]--,_0x53319d[_0x59bbde(0x16b)]=_0x243fc8,_0x53319d['autoExpand']&&_0x53319d['autoExpandPreviousObjects'][_0x59bbde(0x10a)](),_0x336de1;}['_getOwnPropertySymbols'](_0x448146){var _0x5386c2=_0x27fde3;return Object[_0x5386c2(0x189)]?Object['getOwnPropertySymbols'](_0x448146):[];}['_isSet'](_0x1fc54d){var _0x26d5eb=_0x27fde3;return!!(_0x1fc54d&&_0x290e6d['Set']&&this['_objectToString'](_0x1fc54d)==='[object\\x20Set]'&&_0x1fc54d[_0x26d5eb(0x10b)]);}[_0x27fde3(0xe5)](_0x2d0e27,_0x29608d,_0x4d03cb){var _0x411f2e=_0x27fde3;return _0x4d03cb['noFunctions']?typeof _0x2d0e27[_0x29608d]==_0x411f2e(0x157):!0x1;}[_0x27fde3(0x173)](_0x47abed){var _0x2b6a5b=_0x27fde3,_0x3a74b6='';return _0x3a74b6=typeof _0x47abed,_0x3a74b6===_0x2b6a5b(0x188)?this[_0x2b6a5b(0x12f)](_0x47abed)==='[object\\x20Array]'?_0x3a74b6=_0x2b6a5b(0xed):this['_objectToString'](_0x47abed)==='[object\\x20Date]'?_0x3a74b6=_0x2b6a5b(0x110):this['_objectToString'](_0x47abed)===_0x2b6a5b(0xf3)?_0x3a74b6=_0x2b6a5b(0x179):_0x47abed===null?_0x3a74b6='null':_0x47abed[_0x2b6a5b(0x163)]&&(_0x3a74b6=_0x47abed['constructor']['name']||_0x3a74b6):_0x3a74b6===_0x2b6a5b(0x137)&&this[_0x2b6a5b(0x155)]&&_0x47abed instanceof this[_0x2b6a5b(0x155)]&&(_0x3a74b6=_0x2b6a5b(0x133)),_0x3a74b6;}[_0x27fde3(0x12f)](_0x159939){var _0x4a0fc5=_0x27fde3;return Object[_0x4a0fc5(0x139)][_0x4a0fc5(0x11c)]['call'](_0x159939);}[_0x27fde3(0xe9)](_0x42e792){var _0x3678c0=_0x27fde3;return _0x42e792==='boolean'||_0x42e792===_0x3678c0(0xc3)||_0x42e792===_0x3678c0(0x10f);}[_0x27fde3(0x183)](_0x1e4c9f){var _0x599f75=_0x27fde3;return _0x1e4c9f===_0x599f75(0xab)||_0x1e4c9f==='String'||_0x1e4c9f==='Number';}[_0x27fde3(0xb1)](_0xc6955a,_0x444a8f,_0x42ba4a,_0x492910,_0x352859,_0x5d013d){var _0x27e5ba=this;return function(_0x545c84){var _0x303154=_0x2b7c,_0x219d6d=_0x352859[_0x303154(0x18a)][_0x303154(0x17b)],_0xdc9188=_0x352859[_0x303154(0x18a)]['index'],_0x3c63dd=_0x352859[_0x303154(0x18a)][_0x303154(0xd0)];_0x352859[_0x303154(0x18a)][_0x303154(0xd0)]=_0x219d6d,_0x352859['node'][_0x303154(0x17d)]=typeof _0x492910==_0x303154(0x10f)?_0x492910:_0x545c84,_0xc6955a['push'](_0x27e5ba[_0x303154(0x138)](_0x444a8f,_0x42ba4a,_0x492910,_0x352859,_0x5d013d)),_0x352859['node'][_0x303154(0xd0)]=_0x3c63dd,_0x352859[_0x303154(0x18a)][_0x303154(0x17d)]=_0xdc9188;};}[_0x27fde3(0xf2)](_0x4dfd94,_0x4131a3,_0x464fae,_0x2ac684,_0x33cb00,_0x32be84,_0x553091){var _0xbb02bf=_0x27fde3,_0x391bb9=this;return _0x4131a3[_0xbb02bf(0xbe)+_0x33cb00[_0xbb02bf(0x11c)]()]=!0x0,function(_0x24a3af){var _0x968c01=_0xbb02bf,_0x1957b1=_0x32be84[_0x968c01(0x18a)][_0x968c01(0x17b)],_0x569ba=_0x32be84[_0x968c01(0x18a)]['index'],_0xcde6f6=_0x32be84['node'][_0x968c01(0xd0)];_0x32be84[_0x968c01(0x18a)]['parent']=_0x1957b1,_0x32be84[_0x968c01(0x18a)][_0x968c01(0x17d)]=_0x24a3af,_0x4dfd94[_0x968c01(0x159)](_0x391bb9[_0x968c01(0x138)](_0x464fae,_0x2ac684,_0x33cb00,_0x32be84,_0x553091)),_0x32be84[_0x968c01(0x18a)][_0x968c01(0xd0)]=_0xcde6f6,_0x32be84['node'][_0x968c01(0x17d)]=_0x569ba;};}[_0x27fde3(0x138)](_0x551ee5,_0x3f1447,_0x17366a,_0x4ca077,_0x1fab5e){var _0x582297=_0x27fde3,_0x470f4d=this;_0x1fab5e||(_0x1fab5e=function(_0x499db0,_0x853d54){return _0x499db0[_0x853d54];});var _0x31cf12=_0x17366a['toString'](),_0x2abe69=_0x4ca077[_0x582297(0x18b)]||{},_0x4d9c04=_0x4ca077[_0x582297(0x178)],_0xe96e35=_0x4ca077[_0x582297(0x124)];try{var _0xee52ec=this[_0x582297(0xba)](_0x551ee5),_0x20061b=_0x31cf12;_0xee52ec&&_0x20061b[0x0]==='\\x27'&&(_0x20061b=_0x20061b[_0x582297(0xfd)](0x1,_0x20061b[_0x582297(0x185)]-0x2));var _0xe52cfd=_0x4ca077['expressionsToEvaluate']=_0x2abe69[_0x582297(0xbe)+_0x20061b];_0xe52cfd&&(_0x4ca077[_0x582297(0x178)]=_0x4ca077[_0x582297(0x178)]+0x1),_0x4ca077[_0x582297(0x124)]=!!_0xe52cfd;var _0x2f7df3=typeof _0x17366a=='symbol',_0x624358={'name':_0x2f7df3||_0xee52ec?_0x31cf12:this[_0x582297(0xb4)](_0x31cf12)};if(_0x2f7df3&&(_0x624358[_0x582297(0xd7)]=!0x0),!(_0x3f1447===_0x582297(0xed)||_0x3f1447===_0x582297(0x180))){var _0x1d4d65=this['_getOwnPropertyDescriptor'](_0x551ee5,_0x17366a);if(_0x1d4d65&&(_0x1d4d65[_0x582297(0x104)]&&(_0x624358[_0x582297(0x111)]=!0x0),_0x1d4d65['get']&&!_0xe52cfd&&!_0x4ca077[_0x582297(0xb0)]))return _0x624358['getter']=!0x0,this[_0x582297(0xf0)](_0x624358,_0x4ca077),_0x624358;}var _0x2ec494;try{_0x2ec494=_0x1fab5e(_0x551ee5,_0x17366a);}catch(_0x9fc7c5){return _0x624358={'name':_0x31cf12,'type':_0x582297(0xfb),'error':_0x9fc7c5['message']},this['_processTreeNodeResult'](_0x624358,_0x4ca077),_0x624358;}var _0x285bf4=this[_0x582297(0x173)](_0x2ec494),_0x495350=this['_isPrimitiveType'](_0x285bf4);if(_0x624358[_0x582297(0xcb)]=_0x285bf4,_0x495350)this[_0x582297(0xf0)](_0x624358,_0x4ca077,_0x2ec494,function(){var _0x2e5737=_0x582297;_0x624358[_0x2e5737(0x122)]=_0x2ec494[_0x2e5737(0x100)](),!_0xe52cfd&&_0x470f4d['_capIfString'](_0x285bf4,_0x624358,_0x4ca077,{});});else{var _0x49b0a9=_0x4ca077[_0x582297(0x16b)]&&_0x4ca077[_0x582297(0xe0)]<_0x4ca077['autoExpandMaxDepth']&&_0x4ca077['autoExpandPreviousObjects']['indexOf'](_0x2ec494)<0x0&&_0x285bf4!=='function'&&_0x4ca077[_0x582297(0x144)]<_0x4ca077[_0x582297(0xcd)];_0x49b0a9||_0x4ca077[_0x582297(0xe0)]<_0x4d9c04||_0xe52cfd?(this['serialize'](_0x624358,_0x2ec494,_0x4ca077,_0xe52cfd||{}),this['_additionalMetadata'](_0x2ec494,_0x624358)):this['_processTreeNodeResult'](_0x624358,_0x4ca077,_0x2ec494,function(){var _0x50ae1d=_0x582297;_0x285bf4==='null'||_0x285bf4===_0x50ae1d(0x137)||(delete _0x624358['value'],_0x624358[_0x50ae1d(0x12b)]=!0x0);});}return _0x624358;}finally{_0x4ca077['expressionsToEvaluate']=_0x2abe69,_0x4ca077[_0x582297(0x178)]=_0x4d9c04,_0x4ca077['isExpressionToEvaluate']=_0xe96e35;}}[_0x27fde3(0xcc)](_0x1929f8,_0x64218c,_0x45f324,_0x5e2ad0){var _0x47fbd1=_0x27fde3,_0x5da76f=_0x5e2ad0[_0x47fbd1(0xeb)]||_0x45f324[_0x47fbd1(0xeb)];if((_0x1929f8===_0x47fbd1(0xc3)||_0x1929f8===_0x47fbd1(0xf7))&&_0x64218c[_0x47fbd1(0x122)]){let _0x8b4bbd=_0x64218c[_0x47fbd1(0x122)][_0x47fbd1(0x185)];_0x45f324[_0x47fbd1(0x15d)]+=_0x8b4bbd,_0x45f324[_0x47fbd1(0x15d)]>_0x45f324['totalStrLength']?(_0x64218c['capped']='',delete _0x64218c['value']):_0x8b4bbd>_0x5da76f&&(_0x64218c['capped']=_0x64218c[_0x47fbd1(0x122)]['substr'](0x0,_0x5da76f),delete _0x64218c[_0x47fbd1(0x122)]);}}[_0x27fde3(0xba)](_0xf5cf55){var _0x317058=_0x27fde3;return!!(_0xf5cf55&&_0x290e6d[_0x317058(0x171)]&&this[_0x317058(0x12f)](_0xf5cf55)===_0x317058(0x108)&&_0xf5cf55['forEach']);}[_0x27fde3(0xb4)](_0x48f782){var _0x173e85=_0x27fde3;if(_0x48f782[_0x173e85(0xbc)](/^\\d+$/))return _0x48f782;var _0x2afef1;try{_0x2afef1=JSON[_0x173e85(0x11b)](''+_0x48f782);}catch{_0x2afef1='\\x22'+this['_objectToString'](_0x48f782)+'\\x22';}return _0x2afef1[_0x173e85(0xbc)](/^\"([a-zA-Z_][a-zA-Z_0-9]*)\"$/)?_0x2afef1=_0x2afef1[_0x173e85(0xfd)](0x1,_0x2afef1[_0x173e85(0x185)]-0x2):_0x2afef1=_0x2afef1[_0x173e85(0xf1)](/'/g,'\\x5c\\x27')[_0x173e85(0xf1)](/\\\\\"/g,'\\x22')[_0x173e85(0xf1)](/(^\"|\"$)/g,'\\x27'),_0x2afef1;}[_0x27fde3(0xf0)](_0x5b49ea,_0x1de7d1,_0x30f9c5,_0x2dc318){var _0x5688e8=_0x27fde3;this[_0x5688e8(0xd3)](_0x5b49ea,_0x1de7d1),_0x2dc318&&_0x2dc318(),this[_0x5688e8(0x134)](_0x30f9c5,_0x5b49ea),this[_0x5688e8(0x151)](_0x5b49ea,_0x1de7d1);}[_0x27fde3(0xd3)](_0x4611ef,_0x3233e0){var _0x5c26d4=_0x27fde3;this['_setNodeId'](_0x4611ef,_0x3233e0),this['_setNodeQueryPath'](_0x4611ef,_0x3233e0),this[_0x5c26d4(0xc9)](_0x4611ef,_0x3233e0),this[_0x5c26d4(0x115)](_0x4611ef,_0x3233e0);}[_0x27fde3(0x13d)](_0x4fb3b6,_0x5344e3){}[_0x27fde3(0x142)](_0x4512ed,_0x3cf9e3){}['_setNodeLabel'](_0x5e71a2,_0x22d5e6){}['_isUndefined'](_0x4d302a){return _0x4d302a===this['_undefined'];}[_0x27fde3(0x151)](_0x3b0072,_0x14c657){var _0x5bf6e4=_0x27fde3;this[_0x5bf6e4(0x123)](_0x3b0072,_0x14c657),this['_setNodeExpandableState'](_0x3b0072),_0x14c657[_0x5bf6e4(0xc6)]&&this['_sortProps'](_0x3b0072),this[_0x5bf6e4(0x129)](_0x3b0072,_0x14c657),this['_addLoadNode'](_0x3b0072,_0x14c657),this['_cleanNode'](_0x3b0072);}[_0x27fde3(0x134)](_0x5de5b7,_0x1ed045){var _0x16b8fa=_0x27fde3;let _0x2d9b32;try{_0x290e6d[_0x16b8fa(0x127)]&&(_0x2d9b32=_0x290e6d['console'][_0x16b8fa(0x15f)],_0x290e6d[_0x16b8fa(0x127)]['error']=function(){}),_0x5de5b7&&typeof _0x5de5b7[_0x16b8fa(0x185)]=='number'&&(_0x1ed045['length']=_0x5de5b7[_0x16b8fa(0x185)]);}catch{}finally{_0x2d9b32&&(_0x290e6d[_0x16b8fa(0x127)][_0x16b8fa(0x15f)]=_0x2d9b32);}if(_0x1ed045['type']===_0x16b8fa(0x10f)||_0x1ed045[_0x16b8fa(0xcb)]===_0x16b8fa(0xf8)){if(isNaN(_0x1ed045[_0x16b8fa(0x122)]))_0x1ed045[_0x16b8fa(0xf6)]=!0x0,delete _0x1ed045['value'];else switch(_0x1ed045['value']){case Number['POSITIVE_INFINITY']:_0x1ed045[_0x16b8fa(0x17a)]=!0x0,delete _0x1ed045['value'];break;case Number[_0x16b8fa(0xee)]:_0x1ed045[_0x16b8fa(0xc2)]=!0x0,delete _0x1ed045['value'];break;case 0x0:this['_isNegativeZero'](_0x1ed045[_0x16b8fa(0x122)])&&(_0x1ed045[_0x16b8fa(0x14a)]=!0x0);break;}}else _0x1ed045[_0x16b8fa(0xcb)]===_0x16b8fa(0x157)&&typeof _0x5de5b7[_0x16b8fa(0x14e)]==_0x16b8fa(0xc3)&&_0x5de5b7[_0x16b8fa(0x14e)]&&_0x1ed045['name']&&_0x5de5b7[_0x16b8fa(0x14e)]!==_0x1ed045[_0x16b8fa(0x14e)]&&(_0x1ed045[_0x16b8fa(0x114)]=_0x5de5b7[_0x16b8fa(0x14e)]);}[_0x27fde3(0x170)](_0xf1f197){var _0xd212b5=_0x27fde3;return 0x1/_0xf1f197===Number[_0xd212b5(0xee)];}[_0x27fde3(0xdf)](_0x4f81d7){var _0x43dad8=_0x27fde3;!_0x4f81d7[_0x43dad8(0x121)]||!_0x4f81d7[_0x43dad8(0x121)]['length']||_0x4f81d7[_0x43dad8(0xcb)]===_0x43dad8(0xed)||_0x4f81d7[_0x43dad8(0xcb)]===_0x43dad8(0x171)||_0x4f81d7[_0x43dad8(0xcb)]===_0x43dad8(0xdb)||_0x4f81d7[_0x43dad8(0x121)][_0x43dad8(0x161)](function(_0x18a94e,_0x41df81){var _0x115e99=_0x43dad8,_0x5c4fbd=_0x18a94e[_0x115e99(0x14e)][_0x115e99(0x164)](),_0x2d2a2d=_0x41df81['name'][_0x115e99(0x164)]();return _0x5c4fbd<_0x2d2a2d?-0x1:_0x5c4fbd>_0x2d2a2d?0x1:0x0;});}['_addFunctionsNode'](_0x1ad50a,_0xe0bf09){var _0x2e59ea=_0x27fde3;if(!(_0xe0bf09[_0x2e59ea(0x16d)]||!_0x1ad50a['props']||!_0x1ad50a[_0x2e59ea(0x121)][_0x2e59ea(0x185)])){for(var _0x4bbd0e=[],_0x210c57=[],_0x586890=0x0,_0x4c747a=_0x1ad50a[_0x2e59ea(0x121)][_0x2e59ea(0x185)];_0x586890<_0x4c747a;_0x586890++){var _0x5a8811=_0x1ad50a['props'][_0x586890];_0x5a8811[_0x2e59ea(0xcb)]===_0x2e59ea(0x157)?_0x4bbd0e[_0x2e59ea(0x159)](_0x5a8811):_0x210c57[_0x2e59ea(0x159)](_0x5a8811);}if(!(!_0x210c57[_0x2e59ea(0x185)]||_0x4bbd0e['length']<=0x1)){_0x1ad50a['props']=_0x210c57;var _0x301c10={'functionsNode':!0x0,'props':_0x4bbd0e};this[_0x2e59ea(0x13d)](_0x301c10,_0xe0bf09),this[_0x2e59ea(0x123)](_0x301c10,_0xe0bf09),this[_0x2e59ea(0x14d)](_0x301c10),this['_setNodePermissions'](_0x301c10,_0xe0bf09),_0x301c10['id']+='\\x20f',_0x1ad50a[_0x2e59ea(0x121)][_0x2e59ea(0xd1)](_0x301c10);}}}['_addLoadNode'](_0x53d2af,_0x276d8a){}['_setNodeExpandableState'](_0x40b745){}['_isArray'](_0x99aeaf){var _0x209e2a=_0x27fde3;return Array[_0x209e2a(0x13c)](_0x99aeaf)||typeof _0x99aeaf==_0x209e2a(0x188)&&this[_0x209e2a(0x12f)](_0x99aeaf)===_0x209e2a(0xde);}[_0x27fde3(0x115)](_0x581961,_0xf2b812){}[_0x27fde3(0xec)](_0x3db89f){var _0x544923=_0x27fde3;delete _0x3db89f[_0x544923(0x113)],delete _0x3db89f[_0x544923(0xe8)],delete _0x3db89f['_hasMapOnItsPath'];}[_0x27fde3(0xc9)](_0x2522e2,_0x15f212){}}let _0x1c8c6d=new _0x3607ac(),_0x33c478={'props':0x64,'elements':0x64,'strLength':0x400*0x32,'totalStrLength':0x400*0x32,'autoExpandLimit':0x1388,'autoExpandMaxDepth':0xa},_0x5ed33d={'props':0x5,'elements':0x5,'strLength':0x100,'totalStrLength':0x100*0x3,'autoExpandLimit':0x1e,'autoExpandMaxDepth':0x2};function _0x4bae95(_0x536f2e,_0x39ff12,_0x2ea389,_0x519fb0,_0x457ef3,_0x5d62ac){var _0x3d1f6d=_0x27fde3;let _0x47c1d7,_0x38a272;try{_0x38a272=_0xe1cf00(),_0x47c1d7=_0x1d034e[_0x39ff12],!_0x47c1d7||_0x38a272-_0x47c1d7['ts']>0x1f4&&_0x47c1d7[_0x3d1f6d(0xbb)]&&_0x47c1d7['time']/_0x47c1d7[_0x3d1f6d(0xbb)]<0x64?(_0x1d034e[_0x39ff12]=_0x47c1d7={'count':0x0,'time':0x0,'ts':_0x38a272},_0x1d034e[_0x3d1f6d(0x174)]={}):_0x38a272-_0x1d034e[_0x3d1f6d(0x174)]['ts']>0x32&&_0x1d034e[_0x3d1f6d(0x174)][_0x3d1f6d(0xbb)]&&_0x1d034e[_0x3d1f6d(0x174)]['time']/_0x1d034e[_0x3d1f6d(0x174)][_0x3d1f6d(0xbb)]<0x64&&(_0x1d034e[_0x3d1f6d(0x174)]={});let _0x38ca5c=[],_0x437642=_0x47c1d7[_0x3d1f6d(0x11e)]||_0x1d034e[_0x3d1f6d(0x174)][_0x3d1f6d(0x11e)]?_0x5ed33d:_0x33c478,_0xbaca36=_0x47c631=>{var _0x54942d=_0x3d1f6d;let _0x39d4a2={};return _0x39d4a2[_0x54942d(0x121)]=_0x47c631[_0x54942d(0x121)],_0x39d4a2[_0x54942d(0x153)]=_0x47c631[_0x54942d(0x153)],_0x39d4a2[_0x54942d(0xeb)]=_0x47c631[_0x54942d(0xeb)],_0x39d4a2[_0x54942d(0x12e)]=_0x47c631[_0x54942d(0x12e)],_0x39d4a2['autoExpandLimit']=_0x47c631['autoExpandLimit'],_0x39d4a2[_0x54942d(0x117)]=_0x47c631[_0x54942d(0x117)],_0x39d4a2['sortProps']=!0x1,_0x39d4a2[_0x54942d(0x16d)]=!_0x5d2345,_0x39d4a2['depth']=0x1,_0x39d4a2['level']=0x0,_0x39d4a2[_0x54942d(0x17c)]=_0x54942d(0xb8),_0x39d4a2[_0x54942d(0x16f)]=_0x54942d(0xaa),_0x39d4a2['autoExpand']=!0x0,_0x39d4a2[_0x54942d(0x11f)]=[],_0x39d4a2[_0x54942d(0x144)]=0x0,_0x39d4a2[_0x54942d(0xb0)]=!0x0,_0x39d4a2[_0x54942d(0x15d)]=0x0,_0x39d4a2[_0x54942d(0x18a)]={'current':void 0x0,'parent':void 0x0,'index':0x0},_0x39d4a2;};for(var _0x48ba80=0x0;_0x48ba80<_0x457ef3['length'];_0x48ba80++)_0x38ca5c[_0x3d1f6d(0x159)](_0x1c8c6d['serialize']({'timeNode':_0x536f2e===_0x3d1f6d(0xfc)||void 0x0},_0x457ef3[_0x48ba80],_0xbaca36(_0x437642),{}));if(_0x536f2e===_0x3d1f6d(0xf5)){let _0x2a815b=Error[_0x3d1f6d(0xd2)];try{Error[_0x3d1f6d(0xd2)]=0x1/0x0,_0x38ca5c[_0x3d1f6d(0x159)](_0x1c8c6d[_0x3d1f6d(0x13a)]({'stackNode':!0x0},new Error()['stack'],_0xbaca36(_0x437642),{'strLength':0x1/0x0}));}finally{Error[_0x3d1f6d(0xd2)]=_0x2a815b;}}return{'method':_0x3d1f6d(0x141),'version':_0x32b5bf,'args':[{'ts':_0x2ea389,'session':_0x519fb0,'args':_0x38ca5c,'id':_0x39ff12,'context':_0x5d62ac}]};}catch(_0x180345){return{'method':'log','version':_0x32b5bf,'args':[{'ts':_0x2ea389,'session':_0x519fb0,'args':[{'type':_0x3d1f6d(0xfb),'error':_0x180345&&_0x180345['message']}],'id':_0x39ff12,'context':_0x5d62ac}]};}finally{try{if(_0x47c1d7&&_0x38a272){let _0x339d55=_0xe1cf00();_0x47c1d7[_0x3d1f6d(0xbb)]++,_0x47c1d7['time']+=_0x5034eb(_0x38a272,_0x339d55),_0x47c1d7['ts']=_0x339d55,_0x1d034e[_0x3d1f6d(0x174)]['count']++,_0x1d034e[_0x3d1f6d(0x174)][_0x3d1f6d(0xfc)]+=_0x5034eb(_0x38a272,_0x339d55),_0x1d034e['hits']['ts']=_0x339d55,(_0x47c1d7[_0x3d1f6d(0xbb)]>0x32||_0x47c1d7[_0x3d1f6d(0xfc)]>0x64)&&(_0x47c1d7[_0x3d1f6d(0x11e)]=!0x0),(_0x1d034e[_0x3d1f6d(0x174)][_0x3d1f6d(0xbb)]>0x3e8||_0x1d034e[_0x3d1f6d(0x174)][_0x3d1f6d(0xfc)]>0x12c)&&(_0x1d034e['hits'][_0x3d1f6d(0x11e)]=!0x0);}}catch{}}}return _0x4bae95;}((_0x571127,_0x3a2dc0,_0x5865e5,_0x4f9b70,_0xf2d553,_0x46ce9a,_0xf11f1,_0x40e862,_0x557754,_0x4e73b0)=>{var _0x3f7583=_0x412ae9;if(_0x571127['_console_ninja'])return _0x571127[_0x3f7583(0xca)];if(!Y(_0x571127,_0x40e862,_0xf2d553))return _0x571127[_0x3f7583(0xca)]={'consoleLog':()=>{},'consoleTrace':()=>{},'consoleTime':()=>{},'consoleTimeEnd':()=>{},'autoLog':()=>{},'autoLogMany':()=>{},'autoTraceMany':()=>{},'coverage':()=>{},'autoTrace':()=>{},'autoTime':()=>{},'autoTimeEnd':()=>{}},_0x571127[_0x3f7583(0xca)];let _0x1e02b5=W(_0x571127),_0x165a18=_0x1e02b5['elapsed'],_0x21bfa1=_0x1e02b5[_0x3f7583(0xb5)],_0x5ecbea=_0x1e02b5[_0x3f7583(0xc5)],_0x276216={'hits':{},'ts':{}},_0x2185e6=Q(_0x571127,_0x557754,_0x276216,_0x46ce9a),_0x3ed04c=_0x24eb44=>{_0x276216['ts'][_0x24eb44]=_0x21bfa1();},_0x3ccd38=(_0x2937b1,_0x5187d0)=>{var _0x231c7a=_0x3f7583;let _0x1bccb2=_0x276216['ts'][_0x5187d0];if(delete _0x276216['ts'][_0x5187d0],_0x1bccb2){let _0x43c0c3=_0x165a18(_0x1bccb2,_0x21bfa1());_0x4756c9(_0x2185e6(_0x231c7a(0xfc),_0x2937b1,_0x5ecbea(),_0x1056bd,[_0x43c0c3],_0x5187d0));}},_0x5ec0d5=_0x14deae=>_0x2e0e1a=>{var _0x27d177=_0x3f7583;try{_0x3ed04c(_0x2e0e1a),_0x14deae(_0x2e0e1a);}finally{_0x571127[_0x27d177(0x127)]['time']=_0x14deae;}},_0x1af50d=_0x1f41d8=>_0x2cb9c4=>{var _0x17d6a8=_0x3f7583;try{let [_0x2cf5ec,_0x40ea28]=_0x2cb9c4[_0x17d6a8(0xe3)](':logPointId:');_0x3ccd38(_0x40ea28,_0x2cf5ec),_0x1f41d8(_0x2cf5ec);}finally{_0x571127[_0x17d6a8(0x127)][_0x17d6a8(0x16a)]=_0x1f41d8;}};_0x571127[_0x3f7583(0xca)]={'consoleLog':(_0x193776,_0x12ef27)=>{var _0x2ee307=_0x3f7583;_0x571127[_0x2ee307(0x127)][_0x2ee307(0x141)][_0x2ee307(0x14e)]!==_0x2ee307(0xb3)&&_0x4756c9(_0x2185e6(_0x2ee307(0x141),_0x193776,_0x5ecbea(),_0x1056bd,_0x12ef27));},'consoleTrace':(_0x465189,_0x4516d0)=>{var _0x4c6456=_0x3f7583;_0x571127[_0x4c6456(0x127)][_0x4c6456(0x141)]['name']!==_0x4c6456(0x160)&&_0x4756c9(_0x2185e6(_0x4c6456(0xf5),_0x465189,_0x5ecbea(),_0x1056bd,_0x4516d0));},'consoleTime':()=>{var _0xc0c7a9=_0x3f7583;_0x571127['console'][_0xc0c7a9(0xfc)]=_0x5ec0d5(_0x571127['console'][_0xc0c7a9(0xfc)]);},'consoleTimeEnd':()=>{var _0x5d7247=_0x3f7583;_0x571127[_0x5d7247(0x127)][_0x5d7247(0x16a)]=_0x1af50d(_0x571127[_0x5d7247(0x127)][_0x5d7247(0x16a)]);},'autoLog':(_0x2c4995,_0x11e3bb)=>{var _0x310ad4=_0x3f7583;_0x4756c9(_0x2185e6(_0x310ad4(0x141),_0x11e3bb,_0x5ecbea(),_0x1056bd,[_0x2c4995]));},'autoLogMany':(_0x353afb,_0xe41d16)=>{var _0x1acfa8=_0x3f7583;_0x4756c9(_0x2185e6(_0x1acfa8(0x141),_0x353afb,_0x5ecbea(),_0x1056bd,_0xe41d16));},'autoTrace':(_0x3628ed,_0x1049b6)=>{var _0x489950=_0x3f7583;_0x4756c9(_0x2185e6(_0x489950(0xf5),_0x1049b6,_0x5ecbea(),_0x1056bd,[_0x3628ed]));},'autoTraceMany':(_0x58e4ad,_0x1dca41)=>{var _0xe38e4=_0x3f7583;_0x4756c9(_0x2185e6(_0xe38e4(0xf5),_0x58e4ad,_0x5ecbea(),_0x1056bd,_0x1dca41));},'autoTime':(_0x19c4a9,_0x4760fe,_0x577ba7)=>{_0x3ed04c(_0x577ba7);},'autoTimeEnd':(_0x460b81,_0x43ec4b,_0x488fbb)=>{_0x3ccd38(_0x43ec4b,_0x488fbb);},'coverage':_0x4c56f9=>{_0x4756c9({'method':'coverage','version':_0x46ce9a,'args':[{'id':_0x4c56f9}]});}};let _0x4756c9=J(_0x571127,_0x3a2dc0,_0x5865e5,_0x4f9b70,_0xf2d553,_0x4e73b0),_0x1056bd=_0x571127[_0x3f7583(0x182)];return _0x571127[_0x3f7583(0xca)];})(globalThis,'127.0.0.1','55746',_0x412ae9(0xd6),'webpack',_0x412ae9(0x172),_0x412ae9(0x158),[\"localhost\",\"127.0.0.1\",\"example.cypress.io\",\"DESKTOP-T5EUUOO\",\"172.17.240.1\",\"192.168.2.111\"],_0x412ae9(0x101),'');")}catch{}})().consoleLog(e,t)}catch{}return t}("bd5fff5d_0",i,s)),this.velocity.x+=i/this.weight,this.velocity.y+=s/this.weight}stageMove(n=!0){n?(this.moveVectorX+=this.velocity.x,this.moveVectorY+=this.velocity.y):this.history.length>0&&(this.moveVectorX=this.history[this.history.length-1].x-this.x,this.moveVectorY=this.history[this.history.length-1].y-this.y)}applyMove(n=!0){this.x+=this.moveVectorX,this.y+=this.moveVectorY,this.moveVectorX=0,this.moveVectorY=0,n?this.makeHistoryPoint():this.history.length>1&&this.history.pop()}makeHistoryPoint(){this.history.push({x:this.x,y:this.y})}getScreenCoordinates(){return[this.x-this.radius+window.innerWidth/2,window.innerHeight/2-this.y-this.radius]}static getObjFromJson(n){return new e(n.name,n.x,n.y,n.radius,n.weight,jn.getFromJson(n.velocity),n.color)}}return e.idCounter=0,e})();let Nd=(()=>{class e{constructor(){}saveObjects(n){localStorage.setItem("objects",JSON.stringify(n))}getObjects(){const n=localStorage.getItem("objects");if(n){let r=JSON.parse(n),o=[];for(let i of r)o.push(Od.getObjFromJson(i));return o}return[]}getSettings(){const n=localStorage.getItem("settings");if(n)return JSON.parse(n)}saveSettings(n){localStorage.setItem("settings",JSON.stringify(n))}clear(){localStorage.clear()}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),My=(()=>{class e{constructor(n){this.localStorageService=n,this.showCoordinateSystem=!0;const r=this.localStorageService.getSettings();r&&(this.showCoordinateSystem=r.showCoordinateSystem)}toggleCoordinateSystem(){this.showCoordinateSystem=!this.showCoordinateSystem,this.saveSettings()}getShowCoordinateSystem(){return this.showCoordinateSystem}saveSettings(){this.localStorageService.saveSettings(this)}}return e.\u0275fac=function(n){return new(n||e)(A(Nd))},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),oR=(()=>{class e{constructor(n,r,o){this.router=n,this.localStorageService=r,this.settingsService=o}exportObjects(){const n=this.localStorageService.getObjects(),r="data:text/json;charset=utf-8,"+encodeURIComponent(JSON.stringify(n)),o=document.createElement("a");o.setAttribute("href",r),o.setAttribute("download","objects.json"),document.body.appendChild(o),o.click(),o.remove()}importObjects(){const n=document.createElement("input");n.type="file",n.accept=".json",n.onchange=r=>{const o=r.target.files[0],i=new FileReader;i.readAsText(o),i.onload=()=>{const s=JSON.parse(i.result);this.localStorageService.saveObjects(s),window.location.reload()}},n.click()}toggleCoordinateSystem(){this.settingsService.toggleCoordinateSystem()}getSettings(){return this.settingsService}clearLocalStorage(){this.localStorageService.clear(),alert("Local storage cleared!")}goToHome(){this.router.navigate([""])}}return e.\u0275fac=function(n){return new(n||e)(x(Qe),x(Nd),x(My))},e.\u0275cmp=Mt({type:e,selectors:[["app-settings"]],decls:41,vars:1,consts:[["src","assets/logo_small.png","alt","home",1,"smallLogo",3,"click"],[1,"settings"],[1,"row"],[1,"label"],[1,"actionButton",3,"click"],["href","mailto:philxsb@gmail.com",1,"actionLink"],[1,"actionButton",2,"margin-top","20px","margin-bottom","20px",3,"click"]],template:function(n,r){1&n&&(E(0,"img",0),H("click",function(){return r.goToHome()}),S(),E(1,"div",1)(2,"h1"),$(3,"OrbitLab Settings"),S(),E(4,"h2"),$(5,"View"),S(),E(6,"div",2)(7,"p",3),$(8,"Show coordinate system"),S(),E(9,"button",4),H("click",function(){return r.toggleCoordinateSystem()}),$(10),S()(),E(11,"h2"),$(12,"Import & Export"),S(),E(13,"div",2)(14,"p",3),$(15,"Import from JSON"),S(),E(16,"button",4),H("click",function(){return r.importObjects()}),$(17,"Import"),S()(),E(18,"div",2)(19,"p",3),$(20,"Export to JSON"),S(),E(21,"button",4),H("click",function(){return r.exportObjects()}),$(22,"Export"),S()(),E(23,"h2"),$(24,"Local Storage"),S(),E(25,"div",2)(26,"p",3),$(27,"Clear local storage"),S(),E(28,"button",4),H("click",function(){return r.clearLocalStorage()}),$(29,"Clear"),S()(),E(30,"h2"),$(31,"Contact"),S(),E(32,"div",2)(33,"p",3),$(34,"Report an issue"),S(),E(35,"a",5),$(36,"Report"),S()(),E(37,"div",2),Nt(38,"p",3),E(39,"button",6),H("click",function(){return r.goToHome()}),$(40," Back "),S()()()),2&n&&(K(10),Pt(" ",r.getSettings().getShowCoordinateSystem()?"ON":"OFF"," "))},styles:[".settings[_ngcontent-%COMP%]{margin-top:100px;margin-left:100px}.settings[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin-top:50px;font-size:45px}.settings[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{margin-top:50px;font-size:40px}.settings[_ngcontent-%COMP%] .row[_ngcontent-%COMP%]{display:flex;flex-direction:row;margin-bottom:20px}.settings[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .label[_ngcontent-%COMP%]{width:400px;font-size:20px}.settings[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .actionButton[_ngcontent-%COMP%]{margin-left:50px;width:200px;background-color:#06001f;border-radius:5px;border:2px solid rgb(255,255,255);box-shadow:0 0 5px #fff;color:#fff;font-size:16px;font-weight:700;outline:none;cursor:pointer;transition:.3s;height:40px;text-align:center;text-decoration:none}.settings[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .actionButton[_ngcontent-%COMP%]:hover{color:#000;background-color:#fff}.settings[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .actionLink[_ngcontent-%COMP%]{margin-left:50px;width:200px;background-color:#06001f;border-radius:5px;border:2px solid rgb(255,255,255);box-shadow:0 0 5px #fff;color:#fff;font-size:16px;font-weight:700;outline:none;cursor:pointer;transition:.3s;height:40px;text-align:center;text-decoration:none;justify-content:center;align-items:center;display:flex}.settings[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .actionLink[_ngcontent-%COMP%]:hover{color:#000;background-color:#fff}"]}),e})(),lr=(()=>{class e{constructor(n){this.localStorageService=n,this.objects=[],this.selectedObject=null,this.objects=this.localStorageService.getObjects(),Od.idCounter=this.objects.length}reset(){this.objects=this.localStorageService.getObjects()}getObjects(){return this.objects}addNewObject(n,r,o,i,s,a,l="red"){this.objects.push(new Od(n,r,o,i,s,a,l)),this.localStorageService.saveObjects(this.objects)}addObject(n){this.objects.push(n)}deleteObject(n){this.objects=this.objects.filter(r=>r.id!==n),this.localStorageService.saveObjects(this.objects)}getSelectedObject(){return this.selectedObject?this.selectedObject.id:-1}getSelectedObjectAsObject(){return this.selectedObject}setSelectedObject(n){this.selectedObject=n}deleteSelectedObject(){this.selectedObject&&this.deleteObject(this.selectedObject.id),this.selectedObject=null}}return e.\u0275fac=function(n){return new(n||e)(A(Nd))},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),iR=(()=>{class e{constructor(){this.startX=0,this.startY=0,this.endX=0,this.endY=0}getPath(){let n=0,r=0,o=0,i=0;return this.startX<=this.endX&&this.startY<=this.endY&&(o=this.getHeight(),r=this.getWidth()),this.startX<=this.endX&&this.startY>=this.endY&&(i=this.getHeight(),r=this.getWidth()),this.startX>=this.endX&&this.startY>=this.endY&&(i=this.getHeight(),n=this.getWidth()),this.startX>=this.endX&&this.startY<=this.endY&&(o=this.getHeight(),n=this.getWidth()),`M ${n} ${o} L ${r} ${i}`}getHeadPath(){return this.startX<=this.endX&&this.startY<=this.endY?[`M ${this.getWidth()} 0 L ${this.getWidth()} 15`,`M ${this.getWidth()-15} 0 L ${this.getWidth()} 0`]:this.startX<=this.endX&&this.startY>=this.endY?[`M ${this.getWidth()} ${this.getHeight()-15} L ${this.getWidth()} ${this.getHeight()}`,`M ${this.getWidth()-15} ${this.getHeight()} L ${this.getWidth()} ${this.getHeight()}`]:this.startX>=this.endX&&this.startY>=this.endY?[`M 0 ${this.getHeight()-15} L 0 ${this.getHeight()}`,`M 0 ${this.getHeight()} L 15 ${this.getHeight()}`]:this.startX>=this.endX&&this.startY<=this.endY?["M 0 0 L 0 15","M 0 0 L 15 0"]:[]}getWidth(){let n=Math.abs(this.startX-this.endX);return n<2?2:n}getHeight(){let n=Math.abs(this.startY-this.endY);return n<2?2:n}getScreenPosition(){let n=Math.max(this.startY,this.endY),r=Math.min(this.startX,this.endX);return n=window.innerHeight/2-n,r+=window.innerWidth/2,[n,r]}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=Mt({type:e,selectors:[["app-arrow"]],inputs:{startX:"startX",startY:"startY",endX:"endX",endY:"endY"},decls:4,vars:9,consts:[[1,"arrow"],[2,"stroke","rgb(230, 247, 3)","stroke-width","5px","fill","none","marker-end","url(#arrow)"],[2,"stroke","rgb(230, 247, 3)","stroke-width","2px","fill","none","marker-end","url(#arrow)"]],template:function(n,r){1&n&&(function dh(){V.lFrame.currentNamespace=Zf}(),E(0,"svg",0),Nt(1,"path",1)(2,"path",1)(3,"path",2),S()),2&n&&(xn("top",r.getScreenPosition()[0],"px")("left",r.getScreenPosition()[1],"px"),rt("width",r.getWidth())("height",r.getHeight()),K(1),rt("d",r.getHeadPath()[0]),K(1),rt("d",r.getHeadPath()[1]),K(1),rt("d",r.getPath()))},styles:[".arrow[_ngcontent-%COMP%]{position:fixed}"]}),e})();function sR(e,t){if(1&e&&(E(0,"p",4),$(1),S()),2&e){const n=Kt();xn("top",2*n.object.radius-20,"px"),K(1),Pt(" ",n.object.name," ")}}function aR(e,t){if(1&e&&(E(0,"p",5),$(1),S()),2&e){const n=Kt();xn("top",2*n.object.radius-20,"px"),K(1),Pt(" ",n.object.name," ")}}function lR(e,t){if(1&e&&Nt(0,"app-arrow",6),2&e){const n=Kt();he("startX",n.object.x)("startY",n.object.y)("endX",n.object.x+n.object.velocity.x)("endY",n.object.y+n.object.velocity.y)}}let cR=(()=>{class e{constructor(n){this.objectService=n}getObjectService(){return this.objectService}selectObject(){this.objectService.getSelectedObject()!==this.object.id?this.objectService.setSelectedObject(this.object):this.objectService.setSelectedObject(null)}}return e.\u0275fac=function(n){return new(n||e)(x(lr))},e.\u0275cmp=Mt({type:e,selectors:[["app-object"]],inputs:{object:"object"},decls:4,vars:13,consts:[[1,"object",3,"click"],["class","name",3,"top",4,"ngIf"],["class","nameSelected",3,"top",4,"ngIf"],[3,"startX","startY","endX","endY",4,"ngIf"],[1,"name"],[1,"nameSelected"],[3,"startX","startY","endX","endY"]],template:function(n,r){1&n&&(E(0,"div",0),H("click",function(){return r.selectObject()}),Dt(1,sR,2,3,"p",1),Dt(2,aR,2,3,"p",2),Dt(3,lR,1,4,"app-arrow",3),S()),2&n&&(xn("width",2*r.object.radius,"px")("height",2*r.object.radius,"px")("left",r.object.getScreenCoordinates()[0],"px")("top",r.object.getScreenCoordinates()[1],"px")("background-color",r.object.color),K(1),he("ngIf",r.getObjectService().getSelectedObject()!=r.object.id),K(1),he("ngIf",r.getObjectService().getSelectedObject()==r.object.id),K(1),he("ngIf",0!=r.object.velocity.length()))},dependencies:[eo,iR],styles:[".object[_ngcontent-%COMP%]{position:fixed;border-radius:100%;box-shadow:0 0 7px 7px #00000080;display:flex;cursor:pointer}.object[_ngcontent-%COMP%]:hover{box-shadow:0 0 7px 7px #000c}.object[_ngcontent-%COMP%]:hover .name[_ngcontent-%COMP%]{opacity:1;font-size:1.7rem}.object[_ngcontent-%COMP%] .name[_ngcontent-%COMP%]{position:absolute;color:#fff;font-size:1.5rem;font-weight:700;text-shadow:0 0 5px black;opacity:.3;cursor:pointer;left:50%;transform:translate(-50%)}.object[_ngcontent-%COMP%] .nameSelected[_ngcontent-%COMP%]{position:absolute;color:#fff;font-size:1.7rem;font-weight:700;text-shadow:0 0 5px black;opacity:1;cursor:pointer;left:50%;transform:translate(-50%)}"]}),e})(),uR=(()=>{class e{constructor(n){this.objectService=n}unselectObject(){this.objectService.setSelectedObject(null)}}return e.\u0275fac=function(n){return new(n||e)(x(lr))},e.\u0275cmp=Mt({type:e,selectors:[["app-coordinate-system"]],decls:3,vars:0,consts:[[1,"system",3,"click"],[1,"xBar"],[1,"yBar"]],template:function(n,r){1&n&&(E(0,"div",0),H("click",function(){return r.unselectObject()}),Nt(1,"div",1)(2,"div",2),S())},styles:[".system[_ngcontent-%COMP%]{position:fixed;width:100%;height:100%;opacity:.3;z-index:-100}.system[_ngcontent-%COMP%] .xBar[_ngcontent-%COMP%]{width:100%;height:1px;background-color:#fff;position:absolute;top:50%;left:0}.system[_ngcontent-%COMP%] .yBar[_ngcontent-%COMP%]{width:1px;height:100%;background-color:#fff;position:absolute;top:0;left:50%}"]}),e})(),Iy=(()=>{class e{constructor(n,r){this._renderer=n,this._elementRef=r,this.onChange=o=>{},this.onTouched=()=>{}}setProperty(n,r){this._renderer.setProperty(this._elementRef.nativeElement,n,r)}registerOnTouched(n){this.onTouched=n}registerOnChange(n){this.onChange=n}setDisabledState(n){this.setProperty("disabled",n)}}return e.\u0275fac=function(n){return new(n||e)(x(gn),x(dt))},e.\u0275dir=k({type:e}),e})(),cr=(()=>{class e extends Iy{}return e.\u0275fac=function(){let t;return function(r){return(t||(t=ke(e)))(r||e)}}(),e.\u0275dir=k({type:e,features:[re]}),e})();const rn=new M("NgValueAccessor"),hR={provide:rn,useExisting:ae(()=>Fa),multi:!0},gR=new M("CompositionEventMode");let Fa=(()=>{class e extends Iy{constructor(n,r,o){super(n,r),this._compositionMode=o,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function pR(){const e=Dn()?Dn().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(n){this.setProperty("value",n??"")}_handleInput(n){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(n)}_compositionStart(){this._composing=!0}_compositionEnd(n){this._composing=!1,this._compositionMode&&this.onChange(n)}}return e.\u0275fac=function(n){return new(n||e)(x(gn),x(dt),x(gR,8))},e.\u0275dir=k({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(n,r){1&n&&H("input",function(i){return r._handleInput(i.target.value)})("blur",function(){return r.onTouched()})("compositionstart",function(){return r._compositionStart()})("compositionend",function(i){return r._compositionEnd(i.target.value)})},features:[de([hR]),re]}),e})();const mR=!1,Ge=new M("NgValidators"),Bn=new M("NgAsyncValidators");function jy(e){return null!=e}function $y(e){const t=Qo(e)?we(e):e;if(mR&&!jc(t)){let n="Expected async validator to return Promise or Observable.";throw"object"==typeof e&&(n+=" Are you using a synchronous validator where an async validator is expected?"),new b(-1101,n)}return t}function By(e){let t={};return e.forEach(n=>{t=null!=n?{...t,...n}:t}),0===Object.keys(t).length?null:t}function Uy(e,t){return t.map(n=>n(e))}function Hy(e){return e.map(t=>function xR(e){return!e.validate}(t)?t:n=>t.validate(n))}function Rd(e){return null!=e?function Gy(e){if(!e)return null;const t=e.filter(jy);return 0==t.length?null:function(n){return By(Uy(n,t))}}(Hy(e)):null}function Fd(e){return null!=e?function zy(e){if(!e)return null;const t=e.filter(jy);return 0==t.length?null:function(n){return function dR(...e){const t=Sf(e),{args:n,keys:r}=dx(e),o=new Ce(i=>{const{length:s}=n;if(!s)return void i.complete();const a=new Array(s);let l=s,c=s;for(let u=0;u{d||(d=!0,c--),a[u]=f},()=>l--,void 0,()=>{(!l||!d)&&(c||i.next(r?hx(r,a):a),i.complete())}))}});return t?o.pipe(fx(t)):o}(Uy(n,t).map($y)).pipe(Y(By))}}(Hy(e)):null}function Wy(e,t){return null===e?[t]:Array.isArray(e)?[...e,t]:[e,t]}function Pd(e){return e?Array.isArray(e)?e:[e]:[]}function ka(e,t){return Array.isArray(e)?e.includes(t):e===t}function Zy(e,t){const n=Pd(t);return Pd(e).forEach(o=>{ka(n,o)||n.push(o)}),n}function Qy(e,t){return Pd(t).filter(n=>!ka(e,n))}class Ky{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(t){this._rawValidators=t||[],this._composedValidatorFn=Rd(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=Fd(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t){this.control&&this.control.reset(t)}hasError(t,n){return!!this.control&&this.control.hasError(t,n)}getError(t,n){return this.control?this.control.getError(t,n):null}}class Ke extends Ky{get formDirective(){return null}get path(){return null}}class Un extends Ky{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Xy{constructor(t){this._cd=t}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let Jy=(()=>{class e extends Xy{constructor(n){super(n)}}return e.\u0275fac=function(n){return new(n||e)(x(Un,2))},e.\u0275dir=k({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(n,r){2&n&&Ns("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)},features:[re]}),e})();const Ti="VALID",Va="INVALID",ho="PENDING",Oi="DISABLED";function ja(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}class rv{constructor(t,n){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(t),this._assignAsyncValidators(n)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get valid(){return this.status===Ti}get invalid(){return this.status===Va}get pending(){return this.status==ho}get disabled(){return this.status===Oi}get enabled(){return this.status!==Oi}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._assignValidators(t)}setAsyncValidators(t){this._assignAsyncValidators(t)}addValidators(t){this.setValidators(Zy(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(Zy(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(Qy(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(Qy(t,this._rawAsyncValidators))}hasValidator(t){return ka(this._rawValidators,t)}hasAsyncValidator(t){return ka(this._rawAsyncValidators,t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(t=>t.markAllAsTouched())}markAsUntouched(t={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(n=>{n.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}markAsDirty(t={}){this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)}markAsPristine(t={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(n=>{n.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}markAsPending(t={}){this.status=ho,!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}disable(t={}){const n=this._parentMarkedDirty(t.onlySelf);this.status=Oi,this.errors=null,this._forEachChild(r=>{r.disable({...t,onlySelf:!0})}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...t,skipPristineCheck:n}),this._onDisabledChange.forEach(r=>r(!0))}enable(t={}){const n=this._parentMarkedDirty(t.onlySelf);this.status=Ti,this._forEachChild(r=>{r.enable({...t,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors({...t,skipPristineCheck:n}),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(t){this._parent=t}getRawValue(){return this.value}updateValueAndValidity(t={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Ti||this.status===ho)&&this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(n=>n._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Oi:Ti}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=ho,this._hasOwnPendingAsyncValidator=!0;const n=$y(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(r=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(r,{emitEvent:t})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(t,n={}){this.errors=t,this._updateControlsErrors(!1!==n.emitEvent)}get(t){let n=t;return null==n||(Array.isArray(n)||(n=n.split(".")),0===n.length)?null:n.reduce((r,o)=>r&&r._find(o),this)}getError(t,n){const r=n?this.get(n):this;return r&&r.errors?r.errors[t]:null}hasError(t,n){return!!this.getError(t,n)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)}_initObservables(){this.valueChanges=new pe,this.statusChanges=new pe}_calculateStatus(){return this._allControlsDisabled()?Oi:this.errors?Va:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(ho)?ho:this._anyControlsHaveStatus(Va)?Va:Ti}_anyControlsHaveStatus(t){return this._anyControls(n=>n.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t={}){this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}_updateTouched(t={}){this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){ja(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(t){return null}_assignValidators(t){this._rawValidators=Array.isArray(t)?t.slice():t,this._composedValidatorFn=function SR(e){return Array.isArray(e)?Rd(e):e||null}(this._rawValidators)}_assignAsyncValidators(t){this._rawAsyncValidators=Array.isArray(t)?t.slice():t,this._composedAsyncValidatorFn=function MR(e){return Array.isArray(e)?Fd(e):e||null}(this._rawAsyncValidators)}}const po=new M("CallSetDisabledState",{providedIn:"root",factory:()=>$a}),$a="always";function Ni(e,t,n=$a){(function Ud(e,t){const n=function qy(e){return e._rawValidators}(e);null!==t.validator?e.setValidators(Wy(n,t.validator)):"function"==typeof n&&e.setValidators([n]);const r=function Yy(e){return e._rawAsyncValidators}(e);null!==t.asyncValidator?e.setAsyncValidators(Wy(r,t.asyncValidator)):"function"==typeof r&&e.setAsyncValidators([r]);const o=()=>e.updateValueAndValidity();Ha(t._rawValidators,o),Ha(t._rawAsyncValidators,o)})(e,t),t.valueAccessor.writeValue(e.value),(e.disabled||"always"===n)&&t.valueAccessor.setDisabledState?.(e.disabled),function TR(e,t){t.valueAccessor.registerOnChange(n=>{e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&ov(e,t)})}(e,t),function NR(e,t){const n=(r,o)=>{t.valueAccessor.writeValue(r),o&&t.viewToModelUpdate(r)};e.registerOnChange(n),t._registerOnDestroy(()=>{e._unregisterOnChange(n)})}(e,t),function OR(e,t){t.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&ov(e,t),"submit"!==e.updateOn&&e.markAsTouched()})}(e,t),function AR(e,t){if(t.valueAccessor.setDisabledState){const n=r=>{t.valueAccessor.setDisabledState(r)};e.registerOnDisabledChange(n),t._registerOnDestroy(()=>{e._unregisterOnDisabledChange(n)})}}(e,t)}function Ha(e,t){e.forEach(n=>{n.registerOnValidatorChange&&n.registerOnValidatorChange(t)})}function ov(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function av(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function lv(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}const cv=class extends rv{constructor(t=null,n,r){super(function jd(e){return(ja(e)?e.validators:e)||null}(n),function $d(e,t){return(ja(t)?t.asyncValidators:e)||null}(r,n)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(t),this._setUpdateStrategy(n),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),ja(n)&&(n.nonNullable||n.initialValueIsDefault)&&(this.defaultValue=lv(t)?t.value:t)}setValue(t,n={}){this.value=this._pendingValue=t,this._onChange.length&&!1!==n.emitModelToViewChange&&this._onChange.forEach(r=>r(this.value,!1!==n.emitViewToModelChange)),this.updateValueAndValidity(n)}patchValue(t,n={}){this.setValue(t,n)}reset(t=this.defaultValue,n={}){this._applyFormState(t),this.markAsPristine(n),this.markAsUntouched(n),this.setValue(this.value,n),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){av(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){av(this._onDisabledChange,t)}_forEachChild(t){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(t){lv(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}},$R={provide:Un,useExisting:ae(()=>qd)},fv=(()=>Promise.resolve())();let qd=(()=>{class e extends Un{constructor(n,r,o,i,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this.control=new cv,this._registered=!1,this.update=new pe,this._parent=n,this._setValidators(r),this._setAsyncValidators(o),this.valueAccessor=function zd(e,t){if(!t)return null;let n,r,o;return Array.isArray(t),t.forEach(i=>{i.constructor===Fa?n=i:function PR(e){return Object.getPrototypeOf(e.constructor)===cr}(i)?r=i:o=i}),o||r||n||null}(0,i)}ngOnChanges(n){if(this._checkForErrors(),!this._registered||"name"in n){if(this._registered&&(this._checkName(),this.formDirective)){const r=n.name.previousValue;this.formDirective.removeControl({name:r,path:this._getPath(r)})}this._setUpControl()}"isDisabled"in n&&this._updateDisabled(n),function Gd(e,t){if(!e.hasOwnProperty("model"))return!1;const n=e.model;return!!n.isFirstChange()||!Object.is(t,n.currentValue)}(n,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(n){this.viewModel=n,this.update.emit(n)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){Ni(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(n){fv.then(()=>{this.control.setValue(n,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(n){const r=n.isDisabled.currentValue,o=0!==r&&function Jr(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}(r);fv.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(n){return this._parent?function Ba(e,t){return[...t.path,e]}(n,this._parent):[n]}}return e.\u0275fac=function(n){return new(n||e)(x(Ke,9),x(Ge,10),x(Bn,10),x(rn,10),x(qs,8),x(po,8))},e.\u0275dir=k({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[de([$R]),re,xt]}),e})();const UR={provide:rn,useExisting:ae(()=>Yd),multi:!0};let Yd=(()=>{class e extends cr{writeValue(n){this.setProperty("value",n??"")}registerOnChange(n){this.onChange=r=>{n(""==r?null:parseFloat(r))}}}return e.\u0275fac=function(){let t;return function(r){return(t||(t=ke(e)))(r||e)}}(),e.\u0275dir=k({type:e,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(n,r){1&n&&H("input",function(i){return r.onChange(i.target.value)})("blur",function(){return r.onTouched()})},features:[de([UR]),re]}),e})(),hv=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Gt({type:e}),e.\u0275inj=St({}),e})(),dF=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Gt({type:e}),e.\u0275inj=St({imports:[hv]}),e})(),hF=(()=>{class e{static withConfig(n){return{ngModule:e,providers:[{provide:po,useValue:n.callSetDisabledState??$a}]}}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Gt({type:e}),e.\u0275inj=St({imports:[dF]}),e})();function pF(e,t){1&e&&(E(0,"p"),$(1,"Wrong input!"),S()),2&e&&xn("color","red")}let gF=(()=>{class e{constructor(n){this.objectService=n,this.name="",this.startX=0,this.startY=0,this.vX=0,this.vY=0,this.radius=10,this.weight=10,this.color="red",this.wrongInput=!1,this.closeForm=new pe}add(){""===this.name||this.radius<=0||""===this.color?this.wrongInput=!0:(this.objectService.addNewObject(this.name,this.startX,this.startY,this.radius,this.weight,new jn(this.vX,this.vY),this.color),this.name="",this.startX=0,this.startY=0,this.radius=10,this.color="red",this.wrongInput=!1)}close(){this.name="",this.startX=0,this.startY=0,this.radius=10,this.color="red",this.wrongInput=!1,this.closeForm.emit()}}return e.\u0275fac=function(n){return new(n||e)(x(lr))},e.\u0275cmp=Mt({type:e,selectors:[["app-add-object-form"]],outputs:{closeForm:"closeForm"},decls:42,vars:9,consts:[[1,"background",3,"click"],[1,"container"],[3,"color",4,"ngIf"],[1,"row"],["type","text","placeholder","Name",3,"ngModel","ngModelChange"],["type","number","placeholder","X",3,"ngModel","ngModelChange"],["type","number","placeholder","Y",3,"ngModel","ngModelChange"],["type","number","placeholder","Velocity X",3,"ngModel","ngModelChange"],["type","number","placeholder","Velocity Y",3,"ngModel","ngModelChange"],["type","number","placeholder","Weight",3,"ngModel","ngModelChange"],["type","number","placeholder","Radius",3,"ngModel","ngModelChange"],["type","color","placeholder","Color",1,"colorInput",3,"ngModel","ngModelChange"],[1,"buttonContainer"],[1,"closeButton",3,"click"],[1,"addButton",3,"click"]],template:function(n,r){1&n&&(E(0,"div",0),H("click",function(){return r.close()}),S(),E(1,"div",1)(2,"h1"),$(3,"Add Object"),S(),Dt(4,pF,2,2,"p",2),E(5,"div",3)(6,"p"),$(7,"Name:"),S(),E(8,"input",4),H("ngModelChange",function(i){return r.name=i}),S()(),E(9,"div",3)(10,"p"),$(11,"Start X:"),S(),E(12,"input",5),H("ngModelChange",function(i){return r.startX=i}),S()(),E(13,"div",3)(14,"p"),$(15,"Start Y:"),S(),E(16,"input",6),H("ngModelChange",function(i){return r.startY=i}),S()(),E(17,"div",3)(18,"p"),$(19,"Start velocity X:"),S(),E(20,"input",7),H("ngModelChange",function(i){return r.vX=i}),S()(),E(21,"div",3)(22,"p"),$(23,"Start velocity Y:"),S(),E(24,"input",8),H("ngModelChange",function(i){return r.vY=i}),S()(),E(25,"div",3)(26,"p"),$(27,"Weight:"),S(),E(28,"input",9),H("ngModelChange",function(i){return r.weight=i}),S()(),E(29,"div",3)(30,"p"),$(31,"Radius:"),S(),E(32,"input",10),H("ngModelChange",function(i){return r.radius=i}),S()(),E(33,"div",3)(34,"p"),$(35,"Color:"),S(),E(36,"input",11),H("ngModelChange",function(i){return r.color=i}),S()(),E(37,"div",12)(38,"button",13),H("click",function(){return r.close()}),$(39,"Close"),S(),E(40,"button",14),H("click",function(){return r.add()}),$(41,"Add"),S()()()),2&n&&(K(4),he("ngIf",r.wrongInput),K(4),he("ngModel",r.name),K(4),he("ngModel",r.startX),K(4),he("ngModel",r.startY),K(4),he("ngModel",r.vX),K(4),he("ngModel",r.vY),K(4),he("ngModel",r.weight),K(4),he("ngModel",r.radius),K(4),he("ngModel",r.color))},dependencies:[eo,Fa,Yd,Jy,qd],styles:[".background[_ngcontent-%COMP%]{position:fixed;width:100%;height:100%}.container[_ngcontent-%COMP%]{position:fixed;width:500px;left:50px;background-color:#06001f;border:1px solid white;border-radius:15px;display:flex;flex-direction:column;align-items:center;padding:20px;top:50%;transform:translateY(-50%);animation:_ngcontent-%COMP%_slideInFromLeft .3s;box-shadow:0 0 10px #fff;color:#fff}.container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;justify-content:space-between;width:90%}.container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:20px;font-weight:700;color:#fff}.container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{width:60%;height:30px;border-radius:5px;border:1px solid #333;padding:0 10px;font-size:16px;outline:none}.container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:focus{border:1px solid #666}.container[_ngcontent-%COMP%] .buttonContainer[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:space-between;width:90%;margin-top:20px}.container[_ngcontent-%COMP%] .buttonContainer[_ngcontent-%COMP%] .closeButton[_ngcontent-%COMP%]{background-color:red}.container[_ngcontent-%COMP%] .buttonContainer[_ngcontent-%COMP%] .addButton[_ngcontent-%COMP%]{background-color:green}.container[_ngcontent-%COMP%] .buttonContainer[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:100px;height:40px;border-radius:5px;border:none;box-shadow:0 0 5px #333;color:#fff;font-size:16px;font-weight:700;outline:none}.container[_ngcontent-%COMP%] .buttonContainer[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:hover{cursor:pointer;scale:1.1}.colorInput[_ngcontent-%COMP%]{width:30px}@keyframes _ngcontent-%COMP%_slideInFromLeft{0%{transform:translate(-100%,-50%)}to{transform:translateY(-50%)}}"]}),e})();function mF(e,t){if(1&e&&(E(0,"div",1)(1,"p"),$(2),S(),E(3,"p"),$(4),S(),E(5,"p"),$(6),S(),E(7,"p"),$(8),S(),E(9,"p"),$(10),S(),E(11,"p"),$(12),S()()),2&e){const n=Kt();K(2),Xo(n.getObjectService().getSelectedObjectAsObject().name),K(2),Xo("X: "+n.getObjectService().getSelectedObjectAsObject().x),K(2),Xo("Y: "+n.getObjectService().getSelectedObjectAsObject().y),K(2),Pt(" ","Velocity: ("+n.getObjectService().getSelectedObjectAsObject().velocity.x+";"+n.getObjectService().getSelectedObjectAsObject().velocity.y+")"," "),K(2),Pt(" ","Weight: "+n.getObjectService().getSelectedObjectAsObject().weight," "),K(2),Pt(" ","Radius: "+n.getObjectService().getSelectedObjectAsObject().radius," ")}}let _F=(()=>{class e{constructor(n){this.objectService=n}getObjectService(){return this.objectService}}return e.\u0275fac=function(n){return new(n||e)(x(lr))},e.\u0275cmp=Mt({type:e,selectors:[["app-object-meta-data"]],decls:1,vars:1,consts:[["class","container",4,"ngIf"],[1,"container"]],template:function(n,r){1&n&&Dt(0,mF,13,6,"div",0),2&n&&he("ngIf",-1!=r.getObjectService().getSelectedObject())},dependencies:[eo],styles:[".container[_ngcontent-%COMP%]{position:fixed;display:flex;flex-direction:column;bottom:10px;right:10px;background-color:#06001f;padding:20px;border-radius:15px;color:#fff;z-index:1000;font-size:20px;border:1px solid white;cursor:default;transition:.3s;box-shadow:0 0 10px #fff}"]}),e})(),xF=(()=>{class e{constructor(n){this.objectService=n,this.interval=null,this.isPlaying=!1,this.speed=1e3}setSpeed(n){this.speed=n,this.isPlaying&&this.start()}start(){this.interval&&clearInterval(this.interval),this.interval=setInterval(()=>{this.nextStep()},this.speed),this.isPlaying=!0}nextStep(){this.objectService.getObjects().forEach(n=>{this.objectService.getObjects().forEach(r=>{n.id!==r.id&&n.calculateGravityForce(r)}),n.stageMove()}),this.applyMoves()}prevStep(){this.objectService.getObjects().forEach(n=>{n.stageMove(!1)}),this.applyMoves(!1)}applyMoves(n=!0){this.objectService.getObjects().forEach(r=>{r.applyMove(n)})}stop(){this.interval&&clearInterval(this.interval),this.isPlaying=!1}}return e.G=66743e-15,e.\u0275fac=function(n){return new(n||e)(A(lr))},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function yF(e,t){if(1&e){const n=Zo();E(0,"div",1)(1,"button",2),H("click",function(){return yr(n),vr(Kt().prevStep())}),$(2," Previous "),S(),E(3,"button",2),H("click",function(){return yr(n),vr(Kt().nextStep())}),$(4," Next "),S()()}}let vF=(()=>{class e{constructor(n,r){this.moveService=n,this.objectService=r,this.playSpeed=1}nextStep(){this.moveService.nextStep()}prevStep(){this.moveService.prevStep()}toggleSpeed(){switch(this.playSpeed){case 1:this.playSpeed=2;break;case 2:this.playSpeed=5;break;case 5:this.playSpeed=10;break;case 10:this.playSpeed=.5;break;case.5:this.playSpeed=1}this.moveService.setSpeed(1e3/this.playSpeed)}togglePlayPause(){this.isPlaying()?this.pause():this.play()}play(){this.moveService.start()}pause(){this.moveService.stop()}reset(){this.pause(),this.objectService.reset()}isPlaying(){return this.moveService.isPlaying}}return e.\u0275fac=function(n){return new(n||e)(x(xF),x(lr))},e.\u0275cmp=Mt({type:e,selectors:[["app-play-bar"]],decls:8,vars:3,consts:[["class","container",4,"ngIf"],[1,"container"],[1,"myButton",2,"width","100px",3,"click"]],template:function(n,r){1&n&&(Dt(0,yF,5,0,"div",0),E(1,"div",1)(2,"button",2),H("click",function(){return r.reset()}),$(3,"Reset"),S(),E(4,"button",2),H("click",function(){return r.togglePlayPause()}),$(5),S(),E(6,"button",2),H("click",function(){return r.toggleSpeed()}),$(7),S()()),2&n&&(he("ngIf",!r.isPlaying()),K(5),Pt(" ",r.isPlaying()?"Pause":"Play"," "),K(2),Pt(" ","x"+r.playSpeed," "))},dependencies:[eo],styles:[".container[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:space-between;align-items:center;margin-top:20px}.container[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin:0 10px}"]}),e})();function bF(e,t){1&e&&Nt(0,"app-coordinate-system")}function DF(e,t){1&e&&Nt(0,"app-object",7),2&e&&he("object",t.$implicit)}function CF(e,t){if(1&e){const n=Zo();E(0,"app-add-object-form",8),H("closeForm",function(){return yr(n),vr(Kt().closeAddObjectForm())}),S()}}function wF(e,t){if(1&e){const n=Zo();E(0,"button",9),H("click",function(){return yr(n),vr(Kt().showAddObjectForm=!0)}),$(1," +\n"),S()}2&e&&xn("left",10,"px")}function EF(e,t){if(1&e){const n=Zo();E(0,"button",9),H("click",function(){return yr(n),vr(Kt().getObjectService().deleteSelectedObject())}),$(1," -\n"),S()}2&e&&xn("left",60,"px")}const SF=[{path:"",component:(()=>{class e{constructor(n,r,o){this.objectService=n,this.router=r,this.settingsService=o,this.showAddObjectForm=!1}getObjectService(){return this.objectService}closeAddObjectForm(){this.showAddObjectForm=!1}goToSettings(){this.router.navigate(["settings"])}getSettingsService(){return this.settingsService}}return e.\u0275fac=function(n){return new(n||e)(x(lr),x(Qe),x(My))},e.\u0275cmp=Mt({type:e,selectors:[["app-home"]],decls:9,vars:5,consts:[["src","assets/logo_small.png","alt","home",1,"smallLogo",3,"click"],["src","assets/settingsIcon.png","alt","settings",1,"settingsButton",3,"click"],[4,"ngIf"],[3,"object",4,"ngFor","ngForOf"],[3,"closeForm",4,"ngIf"],["class","interactButton myButton",3,"left","click",4,"ngIf"],[1,"playBar"],[3,"object"],[3,"closeForm"],[1,"interactButton","myButton",3,"click"]],template:function(n,r){1&n&&(E(0,"img",0),H("click",function(){return r.getObjectService().setSelectedObject(null)}),S(),E(1,"img",1),H("click",function(){return r.goToSettings()}),S(),Dt(2,bF,1,0,"app-coordinate-system",2),Dt(3,DF,1,1,"app-object",3),Dt(4,CF,1,0,"app-add-object-form",4),Dt(5,wF,2,2,"button",5),Dt(6,EF,2,2,"button",5),Nt(7,"app-play-bar",6)(8,"app-object-meta-data")),2&n&&(K(2),he("ngIf",r.getSettingsService().getShowCoordinateSystem()),K(1),he("ngForOf",r.getObjectService().getObjects()),K(1),he("ngIf",r.showAddObjectForm),K(1),he("ngIf",!r.showAddObjectForm),K(1),he("ngIf",-1!=r.getObjectService().getSelectedObject()))},dependencies:[R_,eo,cR,uR,gF,_F,vF],styles:[".interactButton[_ngcontent-%COMP%]{position:fixed;width:40px;bottom:10px}.settingsButton[_ngcontent-%COMP%]{position:fixed;top:20px;right:20px;width:40px;height:40px;border:none;outline:none;cursor:pointer;opacity:.3;transition:.3s}.settingsButton[_ngcontent-%COMP%]:hover{opacity:1;animation:rotate .5s}.playBar[_ngcontent-%COMP%]{position:fixed;bottom:10px;left:50%;transform:translate(-50%)}"]}),e})()},{path:"settings",component:oR}];let MF=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Gt({type:e}),e.\u0275inj=St({imports:[V_,wy.forRoot(SF),wy]}),e})(),IF=(()=>{class e{constructor(){this.title="OrbitLab"}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=Mt({type:e,selectors:[["app-root"]],decls:1,vars:0,template:function(n,r){1&n&&Nt(0,"router-outlet")},dependencies:[_d]}),e})(),AF=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Gt({type:e,bootstrap:[IF]}),e.\u0275inj=St({imports:[h2,MF,hF]}),e})();f2().bootstrapModule(AF).catch(e=>console.error(e))}},ie=>{ie(ie.s=450)}]);
\ No newline at end of file
diff --git a/main.6fb51004f76caeb3.js b/main.6fb51004f76caeb3.js
deleted file mode 100644
index 67058c8..0000000
--- a/main.6fb51004f76caeb3.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(self.webpackChunkOrbitLab=self.webpackChunkOrbitLab||[]).push([[179],{450:()=>{function ie(e){return"function"==typeof e}function go(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 Fi=go(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 mo(e,t){if(e){const n=e.indexOf(t);0<=n&&e.splice(n,1)}}class pt{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(ie(r))try{r()}catch(i){t=i instanceof Fi?i.errors:[i]}const{_finalizers:o}=this;if(o){this._finalizers=null;for(const i of o)try{tf(i)}catch(s){t=t??[],s instanceof Fi?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Fi(t)}}add(t){var n;if(t&&t!==this)if(this.closed)tf(t);else{if(t instanceof pt){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)&&mo(n,t)}remove(t){const{_finalizers:n}=this;n&&mo(n,t),t instanceof pt&&t._removeParent(this)}}pt.EMPTY=(()=>{const e=new pt;return e.closed=!0,e})();const Jd=pt.EMPTY;function ef(e){return e instanceof pt||e&&"closed"in e&&ie(e.remove)&&ie(e.add)&&ie(e.unsubscribe)}function tf(e){ie(e)?e():e.unsubscribe()}const Hn={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Pi={setTimeout(e,t,...n){const{delegate:r}=Pi;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){const{delegate:t}=Pi;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function nf(e){Pi.setTimeout(()=>{const{onUnhandledError:t}=Hn;if(!t)throw e;t(e)})}function rf(){}const IC=Ga("C",void 0,void 0);function Ga(e,t,n){return{kind:e,value:t,error:n}}let Gn=null;function ki(e){if(Hn.useDeprecatedSynchronousErrorHandling){const t=!Gn;if(t&&(Gn={errorThrown:!1,error:null}),e(),t){const{errorThrown:n,error:r}=Gn;if(Gn=null,n)throw r}}else e()}class za extends pt{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,ef(t)&&t.add(this)):this.destination=FC}static create(t,n,r){return new yo(t,n,r)}next(t){this.isStopped?qa(function TC(e){return Ga("N",e,void 0)}(t),this):this._next(t)}error(t){this.isStopped?qa(function AC(e){return Ga("E",void 0,e)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?qa(IC,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 xC=Function.prototype.bind;function Wa(e,t){return xC.call(e,t)}class RC{constructor(t){this.partialObserver=t}next(t){const{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){Li(r)}}error(t){const{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){Li(r)}else Li(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Li(n)}}}class yo extends za{constructor(t,n,r){let o;if(super(),ie(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&Hn.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&Wa(t.next,i),error:t.error&&Wa(t.error,i),complete:t.complete&&Wa(t.complete,i)}):o=t}this.destination=new RC(o)}}function Li(e){Hn.useDeprecatedSynchronousErrorHandling?function OC(e){Hn.useDeprecatedSynchronousErrorHandling&&Gn&&(Gn.errorThrown=!0,Gn.error=e)}(e):nf(e)}function qa(e,t){const{onStoppedNotification:n}=Hn;n&&Pi.setTimeout(()=>n(e,t))}const FC={closed:!0,next:rf,error:function NC(e){throw e},complete:rf},Ya="function"==typeof Symbol&&Symbol.observable||"@@observable";function zn(e){return e}function sf(e){return 0===e.length?zn:1===e.length?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}let be=(()=>{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 LC(e){return e&&e instanceof za||function kC(e){return e&&ie(e.next)&&ie(e.error)&&ie(e.complete)}(e)&&ef(e)}(n)?n:new yo(n,r,o);return ki(()=>{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=af(r))((o,i)=>{const s=new yo({next:a=>{try{n(a)}catch(l){i(l),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)}[Ya](){return this}pipe(...n){return sf(n)(this)}toPromise(n){return new(n=af(n))((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function af(e){var t;return null!==(t=e??Hn.Promise)&&void 0!==t?t:Promise}const VC=go(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let on=(()=>{class e extends be{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){const r=new lf(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new VC}next(n){ki(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const r of this.currentObservers)r.next(n)}})}error(n){ki(()=>{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(){ki(()=>{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?Jd:(this.currentObservers=null,i.push(n),new pt(()=>{this.currentObservers=null,mo(i,n)}))}_checkFinalizedStatuses(n){const{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){const n=new be;return n.source=this,n}}return e.create=(t,n)=>new lf(t,n),e})();class lf extends on{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:Jd}}function uf(e){return ie(e?.lift)}function Re(e){return t=>{if(uf(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 Ae(e,t,n,r,o){return new jC(e,t,n,r,o)}class jC extends za{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(l){t.error(l)}}:super._next,this._error=o?function(a){try{o(a)}catch(l){t.error(l)}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 Y(e,t){return Re((n,r)=>{let o=0;n.subscribe(Ae(r,i=>{r.next(e.call(t,i,o++))}))})}function Mn(e){return this instanceof Mn?(this.v=e,this):new Mn(e)}function hf(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 Xa(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,l){!function o(i,s,a,l){Promise.resolve(l).then(function(u){i({value:u,done:a})},s)}(a,l,(s=e[i](s)).done,s.value)})}}}const pf=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function gf(e){return ie(e?.then)}function mf(e){return ie(e[Ya])}function yf(e){return Symbol.asyncIterator&&ie(e?.[Symbol.asyncIterator])}function vf(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 _f=function ow(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function Df(e){return ie(e?.[_f])}function Cf(e){return function ff(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 l(f){f.value instanceof Mn?Promise.resolve(f.value.v).then(u,c):d(i[0][2],f)}(r[f](h))}catch(p){d(i[0][3],p)}}function u(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 Mn(n.read());if(o)return yield Mn(void 0);yield yield Mn(r)}}finally{n.releaseLock()}})}function wf(e){return ie(e?.getReader)}function gt(e){if(e instanceof be)return e;if(null!=e){if(mf(e))return function iw(e){return new be(t=>{const n=e[Ya]();if(ie(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(pf(e))return function sw(e){return new be(t=>{for(let n=0;n{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,nf)})}(e);if(yf(e))return bf(e);if(Df(e))return function lw(e){return new be(t=>{for(const n of e)if(t.next(n),t.closed)return;t.complete()})}(e);if(wf(e))return function uw(e){return bf(Cf(e))}(e)}throw vf(e)}function bf(e){return new be(t=>{(function cw(e,t){var n,r,o,i;return function cf(e,t,n,r){return new(n||(n=Promise))(function(i,s){function a(c){try{u(r.next(c))}catch(d){s(d)}}function l(c){try{u(r.throw(c))}catch(d){s(d)}}function u(c){c.done?i(c.value):function o(i){return i instanceof n?i:new n(function(s){s(i)})}(c.value).then(a,l)}u((r=r.apply(e,t||[])).next())})}(this,void 0,void 0,function*(){try{for(n=hf(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 sn(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 Ne(e,t,n=1/0){return ie(t)?Ne((r,o)=>Y((i,s)=>t(r,i,o,s))(gt(e(r,o))),n):("number"==typeof t&&(n=t),Re((r,o)=>function dw(e,t,n,r,o,i,s,a){const l=[];let u=0,c=0,d=!1;const f=()=>{d&&!l.length&&!u&&t.complete()},h=g=>u{i&&t.next(g),u++;let y=!1;gt(n(g,c++)).subscribe(Ae(t,D=>{o?.(D),i?h(D):t.next(D)},()=>{y=!0},void 0,()=>{if(y)try{for(u--;l.length&&up(D)):p(D)}f()}catch(D){t.error(D)}}))};return e.subscribe(Ae(t,h,()=>{d=!0,f()})),()=>{a?.()}}(r,o,e,n)))}function dr(e=1/0){return Ne(zn,e)}const jt=new be(e=>e.complete());function Ja(e){return e[e.length-1]}function Ef(e){return ie(Ja(e))?e.pop():void 0}function vo(e){return function hw(e){return e&&ie(e.schedule)}(Ja(e))?e.pop():void 0}function Sf(e,t=0){return Re((n,r)=>{n.subscribe(Ae(r,o=>sn(r,e,()=>r.next(o),t),()=>sn(r,e,()=>r.complete(),t),o=>sn(r,e,()=>r.error(o),t)))})}function Mf(e,t=0){return Re((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function If(e,t){if(!e)throw new Error("Iterable cannot be null");return new be(n=>{sn(n,t,()=>{const r=e[Symbol.asyncIterator]();sn(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function Ee(e,t){return t?function Dw(e,t){if(null!=e){if(mf(e))return function gw(e,t){return gt(e).pipe(Mf(t),Sf(t))}(e,t);if(pf(e))return function yw(e,t){return new be(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}(e,t);if(gf(e))return function mw(e,t){return gt(e).pipe(Mf(t),Sf(t))}(e,t);if(yf(e))return If(e,t);if(Df(e))return function vw(e,t){return new be(n=>{let r;return sn(n,t,()=>{r=e[_f](),sn(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)}),()=>ie(r?.return)&&r.return()})}(e,t);if(wf(e))return function _w(e,t){return If(Cf(e),t)}(e,t)}throw vf(e)}(e,t):gt(e)}function el(e,t,...n){if(!0===t)return void e();if(!1===t)return;const r=new yo({next:()=>{r.unsubscribe(),e()}});return gt(t(...n)).subscribe(r)}function oe(e){for(let t in e)if(e[t]===oe)return t;throw Error("Could not find renamed property on target object.")}function tl(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function se(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(se).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 nl(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const bw=oe({__forward_ref__:oe});function ae(e){return e.__forward_ref__=ae,e.toString=function(){return se(this())},e}function N(e){return rl(e)?e():e}function rl(e){return"function"==typeof e&&e.hasOwnProperty(bw)&&e.__forward_ref__===ae}function ol(e){return e&&!!e.\u0275providers}class C extends Error{constructor(t,n){super(Vi(t,n)),this.code=t}}function Vi(e,t){return`NG0${Math.abs(e)}${t?": "+t.trim():""}`}function L(e){return"string"==typeof e?e:null==e?"":String(e)}function ji(e,t){throw new C(-201,!1)}function mt(e,t){null==e&&function ee(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function A(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function St(e){return{providers:e.providers||[],imports:e.imports||[]}}function $i(e){return Tf(e,Bi)||Tf(e,xf)}function Tf(e,t){return e.hasOwnProperty(t)?e[t]:null}function Of(e){return e&&(e.hasOwnProperty(il)||e.hasOwnProperty(xw))?e[il]:null}const Bi=oe({\u0275prov:oe}),il=oe({\u0275inj:oe}),xf=oe({ngInjectableDef:oe}),xw=oe({ngInjectorDef:oe});var F=(()=>((F=F||{})[F.Default=0]="Default",F[F.Host=1]="Host",F[F.Self=2]="Self",F[F.SkipSelf=4]="SkipSelf",F[F.Optional=8]="Optional",F))();let sl;function yt(e){const t=sl;return sl=e,t}function Rf(e,t,n){const r=$i(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&F.Optional?null:void 0!==t?t:void ji(se(e))}const ue=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),_o={},al="__NG_DI_FLAG__",Ui="ngTempTokenPath",Nw="ngTokenPath",Fw=/\n/gm,Pw="\u0275",Nf="__source";let Do;function fr(e){const t=Do;return Do=e,t}function kw(e,t=F.Default){if(void 0===Do)throw new C(-203,!1);return null===Do?Rf(e,void 0,t):Do.get(e,t&F.Optional?null:void 0,t)}function O(e,t=F.Default){return(function Rw(){return sl}()||kw)(N(e),t)}function Z(e,t=F.Default){return O(e,Hi(t))}function Hi(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function ll(e){const t=[];for(let n=0;n(($t=$t||{})[$t.OnPush=0]="OnPush",$t[$t.Default=1]="Default",$t))(),Bt=(()=>{return(e=Bt||(Bt={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",Bt;var e})();const ln={},K=[],Gi=oe({\u0275cmp:oe}),ul=oe({\u0275dir:oe}),cl=oe({\u0275pipe:oe}),Pf=oe({\u0275mod:oe}),un=oe({\u0275fac:oe}),wo=oe({__NG_ELEMENT_ID__:oe});let $w=0;function Mt(e){return an(()=>{const t=Lf(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===$t.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,data:e.data||{},encapsulation:e.encapsulation||Bt.Emulated,id:"c"+$w++,styles:e.styles||K,_:null,schemas:e.schemas||null,tView:null};Vf(n);const r=e.dependencies;return n.directiveDefs=zi(r,!1),n.pipeDefs=zi(r,!0),n})}function Uw(e){return te(e)||Ve(e)}function Hw(e){return null!==e}function Ut(e){return an(()=>({type:e.type,bootstrap:e.bootstrap||K,declarations:e.declarations||K,imports:e.imports||K,exports:e.exports||K,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function kf(e,t){if(null==e)return ln;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 k(e){return an(()=>{const t=Lf(e);return Vf(t),t})}function te(e){return e[Gi]||null}function Ve(e){return e[ul]||null}function Je(e){return e[cl]||null}function at(e,t){const n=e[Pf]||null;if(!n&&!0===t)throw new Error(`Type ${se(e)} does not have '\u0275mod' property.`);return n}function Lf(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||K,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:kf(e.inputs,t),outputs:kf(e.outputs)}}function Vf(e){e.features?.forEach(t=>t(e))}function zi(e,t){if(!e)return null;const n=t?Je:Uw;return()=>("function"==typeof e?e():e).map(r=>n(r)).filter(Hw)}const cn=0,E=1,U=2,ge=3,It=4,Wn=5,je=6,pr=7,ve=8,Wi=9,qi=10,G=11,dl=12,bo=13,jf=14,gr=15,$e=16,Eo=17,mr=18,Ht=19,So=20,$f=21,ce=22,fl=1,Bf=2,Yi=7,Zi=8,yr=9,ze=10;function lt(e){return Array.isArray(e)&&"object"==typeof e[fl]}function At(e){return Array.isArray(e)&&!0===e[fl]}function hl(e){return 0!=(4&e.flags)}function Mo(e){return e.componentOffset>-1}function Qi(e){return 1==(1&e.flags)}function Tt(e){return!!e.template}function zw(e){return 0!=(256&e[U])}function qn(e,t){return e.hasOwnProperty(un)?e[un]:null}class Yw{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function vt(){return Gf}function Gf(e){return e.type.prototype.ngOnChanges&&(e.setInput=Qw),Zw}function Zw(){const e=Wf(this),t=e?.current;if(t){const n=e.previous;if(n===ln)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Qw(e,t,n,r){const o=this.declaredInputs[n],i=Wf(e)||function Kw(e,t){return e[zf]=t}(e,{previous:ln,current:null}),s=i.current||(i.current={}),a=i.previous,l=a[o];s[o]=new Yw(l&&l.currentValue,t,a===ln),e[r]=t}vt.ngInherit=!0;const zf="__ngSimpleChanges__";function Wf(e){return e[zf]||null}const _t=function(e,t,n){},qf="svg";function Fe(e){for(;Array.isArray(e);)e=e[cn];return e}function Ki(e,t){return Fe(t[e])}function ut(e,t){return Fe(t[e.index])}function Zf(e,t){return e.data[t]}function et(e,t){const n=t[e];return lt(n)?n:n[cn]}function Xi(e){return 64==(64&e[U])}function An(e,t){return null==t?null:e[t]}function Qf(e){e[mr]=0}function gl(e,t){e[Wn]+=t;let n=e,r=e[ge];for(;null!==r&&(1===t&&1===n[Wn]||-1===t&&0===n[Wn]);)r[Wn]+=t,n=r,r=r[ge]}const V={lFrame:sh(null),bindingsEnabled:!0};function Xf(){return V.bindingsEnabled}function _(){return V.lFrame.lView}function Q(){return V.lFrame.tView}function _r(e){return V.lFrame.contextLView=e,e[ve]}function Dr(e){return V.lFrame.contextLView=null,e}function Pe(){let e=Jf();for(;null!==e&&64===e.type;)e=e.parent;return e}function Jf(){return V.lFrame.currentTNode}function Gt(e,t){const n=V.lFrame;n.currentTNode=e,n.isParent=t}function ml(){return V.lFrame.isParent}function Cr(){return V.lFrame.bindingIndex++}function cb(e,t){const n=V.lFrame;n.bindingIndex=n.bindingRootIndex=e,vl(t)}function vl(e){V.lFrame.currentDirectiveIndex=e}function Dl(e){V.lFrame.currentQueryIndex=e}function fb(e){const t=e[E];return 2===t.type?t.declTNode:1===t.type?e[je]:null}function oh(e,t,n){if(n&F.SkipSelf){let o=t,i=e;for(;!(o=o.parent,null!==o||n&F.Host||(o=fb(i),null===o||(i=i[gr],10&o.type))););if(null===o)return!1;t=o,e=i}const r=V.lFrame=ih();return r.currentTNode=t,r.lView=e,!0}function Cl(e){const t=ih(),n=e[E];V.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function ih(){const e=V.lFrame,t=null===e?null:e.child;return null===t?sh(e):t}function sh(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 ah(){const e=V.lFrame;return V.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const lh=ah;function wl(){const e=ah();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 qe(){return V.lFrame.selectedIndex}function Yn(e){V.lFrame.selectedIndex=e}function fe(){const e=V.lFrame;return Zf(e.tView,e.selectedIndex)}function Ji(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[l]<0&&(e[mr]+=65536),(a>11>16&&(3&e[U])===t){e[U]+=2048,_t(4,a,i);try{i.call(a)}finally{_t(5,a,i)}}}else{_t(4,a,i);try{i.call(a)}finally{_t(5,a,i)}}}const wr=-1;class Ao{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function Sl(e,t,n){let r=0;for(;rt){s=i-1;break}}}for(;i>16}(e),r=t;for(;n>0;)r=r[gr],n--;return r}let Ml=!0;function os(e){const t=Ml;return Ml=e,t}const gh=255,mh=5;let Sb=0;const zt={};function is(e,t){const n=yh(e,t);if(-1!==n)return n;const r=t[E];r.firstCreatePass&&(e.injectorIndex=t.length,Il(r.data,e),Il(t,null),Il(r.blueprint,null));const o=Al(e,t),i=e.injectorIndex;if(ph(o)){const s=ns(o),a=rs(o,t),l=a[E].data;for(let u=0;u<8;u++)t[i+u]=a[s+u]|l[s+u]}return t[i+8]=o,i}function Il(e,t){e.push(0,0,0,0,0,0,0,0,t)}function yh(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Al(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=Eh(o),null===r)return wr;if(n++,o=o[gr],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return wr}function Tl(e,t,n){!function Mb(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(wo)&&(r=n[wo]),null==r&&(r=n[wo]=Sb++);const o=r&gh;t.data[e+(o>>mh)]|=1<=0?t&gh:Ob:t}(n);if("function"==typeof i){if(!oh(t,e,r))return r&F.Host?vh(o,0,r):_h(t,n,r,o);try{const s=i(r);if(null!=s||r&F.Optional)return s;ji()}finally{lh()}}else if("number"==typeof i){let s=null,a=yh(e,t),l=wr,u=r&F.Host?t[$e][je]:null;for((-1===a||r&F.SkipSelf)&&(l=-1===a?Al(e,t):t[a+8],l!==wr&&bh(r,!1)?(s=t[E],a=ns(l),t=rs(l,t)):a=-1);-1!==a;){const c=t[E];if(wh(i,a,c.data)){const d=Ab(a,t,n,s,r,u);if(d!==zt)return d}l=t[a+8],l!==wr&&bh(r,t[E].data[a+8]===u)&&wh(i,a,t)?(s=c,a=ns(l),t=rs(l,t)):a=-1}}return o}function Ab(e,t,n,r,o,i){const s=t[E],a=s.data[e+8],c=function ss(e,t,n,r,o){const i=e.providerIndexes,s=t.data,a=1048575&i,l=e.directiveStart,c=i>>20,f=o?a+c:e.directiveEnd;for(let h=r?a:a+c;h=l&&p.type===n)return h}if(o){const h=s[l];if(h&&Tt(h)&&h.type===n)return l}return null}(a,s,n,null==r?Mo(a)&&Ml:r!=s&&0!=(3&a.type),o&F.Host&&i===a);return null!==c?Zn(t,s,c,a):zt}function Zn(e,t,n,r){let o=e[n];const i=t.data;if(function Cb(e){return e instanceof Ao}(o)){const s=o;s.resolving&&function Ew(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new C(-200,`Circular dependency in DI detected for ${e}${n}`)}(function J(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():L(e)}(i[n]));const a=os(s.canSeeViewProviders);s.resolving=!0;const l=s.injectImpl?yt(s.injectImpl):null;oh(e,r,F.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&function _b(e,t,n){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){const s=Gf(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!==l&&yt(l),os(a),s.resolving=!1,lh()}}return o}function wh(e,t,n){return!!(n[t+(e>>mh)]&1<{const t=e.prototype.constructor,n=t[un]||Ol(t),r=Object.prototype;let o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){const i=o[un]||Ol(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Ol(e){return rl(e)?()=>{const t=Ol(N(e));return t&&t()}:qn(e)}function Eh(e){const t=e[E],n=t.type;return 2===n?t.declTNode:1===n?e[je]:null}const Sr="__parameters__";function Ir(e,t,n){return an(()=>{const r=function xl(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(l,u,c){const d=l.hasOwnProperty(Sr)?l[Sr]:Object.defineProperty(l,Sr,{value:[]})[Sr];for(;d.length<=c;)d.push(null);return(d[c]=d[c]||[]).push(s),l}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}class I{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=A({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function Qn(e,t){e.forEach(n=>Array.isArray(n)?Qn(n,t):t(n))}function Mh(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function ls(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function ct(e,t,n){let r=Ar(e,t);return r>=0?e[1|r]=n:(r=~r,function Pb(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(1===o)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;)e[o]=e[o-2],o--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function Nl(e,t){const n=Ar(e,t);if(n>=0)return e[1|n]}function Ar(e,t){return function Ih(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){const i=r+(o-r>>1),s=e[i<t?o=i:r=i+1}return~(o<((tt=tt||{})[tt.Important=1]="Important",tt[tt.DashCase=2]="DashCase",tt))();const jl=new Map;let rE=0;const Bl="__ngContext__";function Be(e,t){lt(t)?(e[Bl]=t[So],function iE(e){jl.set(e[So],e)}(t)):e[Bl]=t}let Ul;function Hl(e,t){return Ul(e,t)}function Vo(e){const t=e[ge];return At(t)?t[ge]:t}function Gl(e){return qh(e[bo])}function zl(e){return qh(e[It])}function qh(e){for(;null!==e&&!At(e);)e=e[It];return e}function Or(e,t,n,r,o){if(null!=r){let i,s=!1;At(r)?i=r:lt(r)&&(s=!0,r=r[cn]);const a=Fe(r);0===e&&null!==n?null==o?Jh(t,n,a):Kn(t,n,a,o||null,!0):1===e&&null!==n?Kn(t,n,a,o||null,!0):2===e?function Xl(e,t,n){const r=fs(e,t);r&&function SE(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}(t,a,s):3===e&&t.destroyNode(a),null!=i&&function AE(e,t,n,r,o){const i=n[Yi];i!==Fe(n)&&Or(t,e,r,i,o);for(let a=ze;a0&&(e[n-1][It]=r[It]);const i=ls(e,ze+t);!function yE(e,t){jo(e,t,t[G],2,null,null),t[cn]=null,t[je]=null}(r[E],r);const s=i[Ht];null!==s&&s.detachView(i[E]),r[ge]=null,r[It]=null,r[U]&=-65}return r}function Qh(e,t){if(!(128&t[U])){const n=t[G];n.destroyNode&&jo(e,t,n,3,null,null),function DE(e){let t=e[bo];if(!t)return Zl(e[E],e);for(;t;){let n=null;if(lt(t))n=t[bo];else{const r=t[ze];r&&(n=r)}if(!n){for(;t&&!t[It]&&t!==e;)lt(t)&&Zl(t[E],t),t=t[ge];null===t&&(t=e),lt(t)&&Zl(t[E],t),n=t&&t[It]}t=n}}(t)}}function Zl(e,t){if(!(128&t[U])){t[U]&=-65,t[U]|=128,function EE(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r=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-1){const{encapsulation:i}=e.data[r.directiveStart+o];if(i===Bt.None||i===Bt.Emulated)return null}return ut(r,n)}}(e,t.parent,n)}function Kn(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Jh(e,t,n){e.appendChild(t,n)}function ep(e,t,n,r,o){null!==r?Kn(e,t,n,r,o):Jh(e,t,n)}function fs(e,t){return e.parentNode(t)}let Ql,tu,rp=function np(e,t,n){return 40&e.type?ut(e,n):null};function hs(e,t,n,r){const o=Kh(e,r,t),i=t[G],a=function tp(e,t,n){return rp(e,t,n)}(r.parent||t[je],r,t);if(null!=o)if(Array.isArray(n))for(let l=0;l{const s=i;au(s,n,[],r)&&(o||(o=[]),o.push(s))}),void 0!==o&&Ip(o,n),n}function Ip(e,t){for(let n=0;n{t.push(i)})}}function au(e,t,n,r){if(!(e=N(e)))return!1;let o=null,i=Of(e);const s=!i&&te(e);if(i||s){if(s&&!s.standalone)return!1;o=e}else{const l=e.ngModule;if(i=Of(l),!i)return!1;o=l}const a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){const l="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const u of l)au(u,t,n,r)}}else{if(!i)return!1;{if(null!=i.imports&&!a){let u;r.add(o);try{Qn(i.imports,c=>{au(c,t,n,r)&&(u||(u=[]),u.push(c))})}finally{}void 0!==u&&Ip(u,t)}if(!a){const u=qn(o)||(()=>new o);t.push({provide:o,useFactory:u,deps:K},{provide:Ep,useValue:o,multi:!0},{provide:vs,useValue:()=>O(o),multi:!0})}const l=i.providers;null==l||a||lu(l,c=>{t.push(c)})}}return o!==e&&void 0!==e.providers}function lu(e,t){for(let n of e)ol(n)&&(n=n.\u0275providers),Array.isArray(n)?lu(n,t):t(n)}const oS=oe({provide:String,useValue:oe});function uu(e){return null!==e&&"object"==typeof e&&oS in e}function Xn(e){return"function"==typeof e}const cu=new I("Set Injector scope."),_s={},sS={};let du;function Ds(){return void 0===du&&(du=new Sp),du}class pn{}class Op extends pn{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,hu(t,s=>this.processProvider(s)),this.records.set(bp,Rr(void 0,this)),o.has("environment")&&this.records.set(pn,Rr(void 0,this));const i=this.records.get(cu);null!=i&&"string"==typeof i.value&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Ep.multi,K,F.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=fr(this),r=yt(void 0);try{return t()}finally{fr(n),yt(r)}}get(t,n=_o,r=F.Default){this.assertNotDestroyed(),r=Hi(r);const o=fr(this),i=yt(void 0);try{if(!(r&F.SkipSelf)){let a=this.records.get(t);if(void 0===a){const l=function dS(e){return"function"==typeof e||"object"==typeof e&&e instanceof I}(t)&&$i(t);a=l&&this.injectableDefInScope(l)?Rr(fu(t),_s):null,this.records.set(t,a)}if(null!=a)return this.hydrate(t,a)}return(r&F.Self?Ds():this.parent).get(t,n=r&F.Optional&&n===_o?null:n)}catch(s){if("NullInjectorError"===s.name){if((s[Ui]=s[Ui]||[]).unshift(se(t)),o)throw s;return function Vw(e,t,n,r){const o=e[Ui];throw t[Nf]&&o.unshift(t[Nf]),e.message=function jw(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&e.charAt(1)==Pw?e.slice(2):e;let o=se(t);if(Array.isArray(t))o=t.map(se).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):se(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(Fw,"\n ")}`}("\n"+e.message,o,n,r),e[Nw]=o,e[Ui]=null,e}(s,t,"R3InjectorError",this.source)}throw s}finally{yt(i),fr(o)}}resolveInjectorInitializers(){const t=fr(this),n=yt(void 0);try{const r=this.get(vs.multi,K,F.Self);for(const o of r)o()}finally{fr(t),yt(n)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(se(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new C(205,!1)}processProvider(t){let n=Xn(t=N(t))?t:N(t&&t.provide);const r=function lS(e){return uu(e)?Rr(void 0,e.useValue):Rr(xp(e),_s)}(t);if(Xn(t)||!0!==t.multi)this.records.get(n);else{let o=this.records.get(n);o||(o=Rr(void 0,_s,!0),o.factory=()=>ll(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===_s&&(n.value=sS,n.value=n.factory()),"object"==typeof n.value&&n.value&&function cS(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=N(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}}function fu(e){const t=$i(e),n=null!==t?t.factory:qn(e);if(null!==n)return n;if(e instanceof I)throw new C(204,!1);if(e instanceof Function)return function aS(e){const t=e.length;if(t>0)throw function Ro(e,t){const n=[];for(let r=0;rn.factory(e):()=>new e}(e);throw new C(204,!1)}function xp(e,t,n){let r;if(Xn(e)){const o=N(e);return qn(o)||fu(o)}if(uu(e))r=()=>N(e.useValue);else if(function Tp(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...ll(e.deps||[]));else if(function Ap(e){return!(!e||!e.useExisting)}(e))r=()=>O(N(e.useExisting));else{const o=N(e&&(e.useClass||e.provide));if(!function uS(e){return!!e.deps}(e))return qn(o)||fu(o);r=()=>new o(...ll(e.deps))}return r}function Rr(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function hu(e,t){for(const n of e)Array.isArray(n)?hu(n,t):n&&ol(n)?hu(n.\u0275providers,t):t(n)}class fS{}class Rp{}class pS{resolveComponentFactory(t){throw function hS(e){const t=Error(`No component factory found for ${se(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let Ho=(()=>{class e{}return e.NULL=new pS,e})();function gS(){return Nr(Pe(),_())}function Nr(e,t){return new dt(ut(e,t))}let dt=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=gS,e})();class Fp{}let gn=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function yS(){const e=_(),n=et(Pe().index,e);return(lt(n)?n:e)[G]}(),e})(),vS=(()=>{class e{}return e.\u0275prov=A({token:e,providedIn:"root",factory:()=>null}),e})();class Go{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const _S=new Go("15.2.9"),pu={},gu="ngOriginalError";function mu(e){return e[gu]}class Fr{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&&mu(t);for(;n&&mu(n);)n=mu(n);return n||null}}function mn(e){return e instanceof Function?e():e}function kp(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 Lp="ng-template";function OS(e,t,n){let r=0,o=!0;for(;ri?"":o[d+1].toLowerCase();const h=8&r?f:null;if(h&&-1!==kp(h,u,0)||2&r&&u!==f){if(Ot(r))return!1;s=!0}}}}else{if(!s&&!Ot(r)&&!Ot(l))return!1;if(s&&Ot(l))continue;s=!1,r=l|1&r}}return Ot(r)||s}function Ot(e){return 0==(1&e)}function NS(e,t,n,r){if(null===t)return-1;let o=0;if(r||!n){let i=!1;for(;o-1)for(n++;n0?'="'+a+'"':"")+"]"}else 8&r?o+="."+s:4&r&&(o+=" "+s);else""!==o&&!Ot(s)&&(t+=$p(i,o),o=""),r=s,i=i||!Ot(r);n++}return""!==o&&(t+=$p(i,o)),t}const j={};function ne(e){Bp(Q(),_(),qe()+e,!1)}function Bp(e,t,n,r){if(!r)if(3==(3&t[U])){const i=e.preOrderCheckHooks;null!==i&&es(t,i,n)}else{const i=e.preOrderHooks;null!==i&&ts(t,i,0,n)}Yn(n)}function zp(e,t=null,n=null,r){const o=Wp(e,t,n,r);return o.resolveInjectorInitializers(),o}function Wp(e,t=null,n=null,r,o=new Set){const i=[n||K,rS(e)];return r=r||("object"==typeof e?void 0:se(e)),new Op(i,t||Ds(),r||null,o)}let Wt=(()=>{class e{static create(n,r){if(Array.isArray(n))return zp({name:""},r,n,"");{const o=n.name??"";return zp({name:o},n.parent,n.providers,o)}}}return e.THROW_IF_NOT_FOUND=_o,e.NULL=new Sp,e.\u0275prov=A({token:e,providedIn:"any",factory:()=>O(bp)}),e.__NG_ELEMENT_ID__=-1,e})();function v(e,t=F.Default){const n=_();return null===n?O(e,t):Dh(Pe(),n,N(e),t)}function eg(e,t){const n=e.contentQueries;if(null!==n)for(let r=0;rce&&Bp(e,t,ce,!1),_t(s?2:0,o),n(r,o)}finally{Yn(i),_t(s?3:1,o)}}function bu(e,t,n){if(hl(t)){const o=t.directiveEnd;for(let i=t.directiveStart;i0;){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,zo(e,n,o.hostVars,j),o)}function qt(e,t,n,r,o,i){const s=ut(e,t);!function Tu(e,t,n,r,o,i,s){if(null==i)e.removeAttribute(t,o,n);else{const a=null==s?L(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}(t[G],s,i,e.value,n,r,o)}function M0(e,t,n,r,o,i){const s=i[t];if(null!==s){const a=r.setInput;for(let l=0;l0&&Ou(n)}}function Ou(e){for(let r=Gl(e);null!==r;r=zl(r))for(let o=ze;o0&&Ou(i)}const n=e[E].components;if(null!==n)for(let r=0;r0&&Ou(o)}}function x0(e,t){const n=et(t,e),r=n[E];(function R0(e,t){for(let n=t.length;n-1&&(Yl(t,r),ls(n,r))}this._attachedToViewContainer=!1}Qh(this._lView[E],this._lView)}onDestroy(t){!function rg(e,t,n,r){const o=ug(t);null===n?o.push(r):(o.push(n),e.firstCreatePass&&cg(e).push(r,o.length-1))}(this._lView[E],this._lView,null,t)}markForCheck(){Ss(this._cdRefInjectingView||this._lView)}detach(){this._lView[U]&=-65}reattach(){this._lView[U]|=64}detectChanges(){Ms(this._lView[E],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new C(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function _E(e,t){jo(e,t,t[G],2,null,null)}(this._lView[E],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new C(902,!1);this._appRef=t}}class N0 extends Wo{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;Ms(t[E],t,t[ve],!1)}checkNoChanges(){}get context(){return null}}class hg extends Ho{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=te(t);return new qo(n,this.ngModule)}}function pg(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class P0{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=Hi(r);const o=this.injector.get(t,pu,r);return o!==pu||n===pu?o:this.parentInjector.get(t,n,r)}}class qo extends Rp{get inputs(){return pg(this.componentDef.inputs)}get outputs(){return pg(this.componentDef.outputs)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function jS(e){return e.map(VS).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,r,o){let i=(o=o||this.ngModule)instanceof pn?o:o?.injector;i&&null!==this.componentDef.getStandaloneInjector&&(i=this.componentDef.getStandaloneInjector(i)||i);const s=i?new P0(t,i):t,a=s.get(Fp,null);if(null===a)throw new C(407,!1);const l=s.get(vS,null),u=a.createRenderer(null,this.componentDef),c=this.componentDef.selectors[0][0]||"div",d=r?function c0(e,t,n){return e.selectRootElement(t,n===Bt.ShadowDom)}(u,r,this.componentDef.encapsulation):ql(u,c,function F0(e){const t=e.toLowerCase();return"svg"===t?qf:"math"===t?"math":null}(c)),f=this.componentDef.onPush?288:272,h=Mu(0,null,null,1,0,null,null,null,null,null),p=ws(null,h,null,f,null,null,a,u,l,s,null);let g,y;Cl(p);try{const D=this.componentDef;let b,m=null;D.findHostDirectiveDefs?(b=[],m=new Map,D.findHostDirectiveDefs(D,b,m),b.push(D)):b=[D];const T=function L0(e,t){const n=e[E],r=ce;return e[r]=t,Lr(n,r,2,"#host",null)}(p,d),X=function V0(e,t,n,r,o,i,s,a){const l=o[E];!function j0(e,t,n,r){for(const o of e)t.mergedAttrs=To(t.mergedAttrs,o.hostAttrs);null!==t.mergedAttrs&&(Is(t,t.mergedAttrs,!0),null!==n&&lp(r,n,t))}(r,e,t,s);const u=i.createRenderer(t,n),c=ws(o,ng(n),null,n.onPush?32:16,o[e.index],e,i,u,a||null,null,null);return l.firstCreatePass&&Au(l,e,r.length-1),Es(o,c),o[e.index]=c}(T,d,D,b,p,a,u);y=Zf(h,ce),d&&function B0(e,t,n,r){if(r)Sl(e,n,["ng-version",_S.full]);else{const{attrs:o,classes:i}=function $S(e){const t=[],n=[];let r=1,o=2;for(;r0&&ap(e,n,i.join(" "))}}(u,D,d,r),void 0!==n&&function U0(e,t,n){const r=e.projection=[];for(let o=0;o=0;r--){const o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=To(o.hostAttrs,n=To(n,o.hostAttrs))}}(r)}function Nu(e){return e===ln?{}:e===K?[]:e}function z0(e,t){const n=e.viewQuery;e.viewQuery=n?(r,o)=>{t(r,o),n(r,o)}:t}function W0(e,t){const n=e.contentQueries;e.contentQueries=n?(r,o,i)=>{t(r,o,i),n(r,o,i)}:t}function q0(e,t){const n=e.hostBindings;e.hostBindings=n?(r,o)=>{t(r,o),n(r,o)}:t}function Ts(e){return!!function Fu(e){return null!==e&&("function"==typeof e||"object"==typeof e)}(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function Ue(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function rt(e,t,n,r){const o=_();return Ue(o,Cr(),t)&&(Q(),qt(fe(),o,e,t,n,r)),rt}function xt(e,t,n,r,o,i,s,a){const l=_(),u=Q(),c=e+ce,d=u.firstCreatePass?function rM(e,t,n,r,o,i,s,a,l){const u=t.consts,c=Lr(t,e,4,s||null,An(u,a));Iu(t,n,c,An(u,l)),Ji(t,c);const d=c.tView=Mu(2,c,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,u);return null!==t.queries&&(t.queries.template(t,c),d.queries=t.queries.embeddedTView(c)),c}(c,u,l,t,n,r,o,i,s):u.data[c];Gt(d,!1);const f=l[G].createComment("");hs(u,l,f,d),Be(f,l),Es(l,l[c]=lg(f,l,f,d)),Qi(d)&&Eu(u,l,d),null!=s&&Su(l,d,a)}function me(e,t,n){const r=_();return Ue(r,Cr(),t)&&function ft(e,t,n,r,o,i,s,a){const l=ut(t,n);let c,u=t.inputs;!a&&null!=u&&(c=u[r])?(Ru(e,n,c,r,o),Mo(t)&&function p0(e,t){const n=et(t,e);16&n[U]||(n[U]|=32)}(n,t.index)):3&t.type&&(r=function h0(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),o=null!=s?s(o,t.value||"",r):o,i.setProperty(l,r,o))}(Q(),fe(),r,e,t,r[G],n,!1),me}function Pu(e,t,n,r,o){const s=o?"class":"style";Ru(e,n,t.inputs[s],s,r)}function S(e,t,n,r){const o=_(),i=Q(),s=ce+e,a=o[G],l=i.firstCreatePass?function sM(e,t,n,r,o,i){const s=t.consts,l=Lr(t,e,2,r,An(s,o));return Iu(t,n,l,An(s,i)),null!==l.attrs&&Is(l,l.attrs,!1),null!==l.mergedAttrs&&Is(l,l.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,l),l}(s,i,o,t,n,r):i.data[s],u=o[s]=ql(a,t,function vb(){return V.lFrame.currentNamespace}()),c=Qi(l);return Gt(l,!0),lp(a,u,l),32!=(32&l.flags)&&hs(i,o,u,l),0===function rb(){return V.lFrame.elementDepthCount}()&&Be(u,o),function ob(){V.lFrame.elementDepthCount++}(),c&&(Eu(i,o,l),bu(i,l,o)),null!==r&&Su(o,l),S}function M(){let e=Pe();ml()?function yl(){V.lFrame.isParent=!1}():(e=e.parent,Gt(e,!1));const t=e;!function ib(){V.lFrame.elementDepthCount--}();const n=Q();return n.firstCreatePass&&(Ji(n,e),hl(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function wb(e){return 0!=(8&e.flags)}(t)&&Pu(n,t,_(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function bb(e){return 0!=(16&e.flags)}(t)&&Pu(n,t,_(),t.stylesWithoutHost,!1),M}function Zt(e,t,n,r){return S(e,t,n,r),M(),Zt}function Zo(){return _()}function Qo(e){return!!e&&"function"==typeof e.then}const Vu=function Tg(e){return!!e&&"function"==typeof e.subscribe};function z(e,t,n,r){const o=_(),i=Q(),s=Pe();return function xg(e,t,n,r,o,i,s){const a=Qi(r),u=e.firstCreatePass&&cg(e),c=t[ve],d=ug(t);let f=!0;if(3&r.type||s){const g=ut(r,t),y=s?s(g):g,D=d.length,b=s?T=>s(Fe(T[r.index])):r.index;let m=null;if(!s&&a&&(m=function lM(e,t,n,r){const o=e.cleanup;if(null!=o)for(let i=0;il?a[l]:null}"string"==typeof s&&(i+=2)}return null}(e,t,o,r.index)),null!==m)(m.__ngLastListenerFn__||m).__ngNextListenerFn__=i,m.__ngLastListenerFn__=i,f=!1;else{i=Ng(r,t,c,i,!1);const T=n.listen(y,o,i);d.push(i,T),u&&u.push(o,b,D,D+1)}}else i=Ng(r,t,c,i,!1);const h=r.outputs;let p;if(f&&null!==h&&(p=h[o])){const g=p.length;if(g)for(let y=0;y-1?et(e.index,t):t);let l=Rg(t,n,r,s),u=i.__ngNextListenerFn__;for(;u;)l=Rg(t,n,u,s)&&l,u=u.__ngNextListenerFn__;return o&&!1===l&&(s.preventDefault(),s.returnValue=!1),l}}function Qt(e=1){return function hb(e){return(V.lFrame.contextLView=function pb(e,t){for(;e>0;)t=t[gr],e--;return t}(e,V.lFrame.contextLView))[ve]}(e)}function xs(e,t){return e<<17|t<<2}function On(e){return e>>17&32767}function $u(e){return 2|e}function er(e){return(131068&e)>>2}function Bu(e,t){return-131069&e|t<<2}function Uu(e){return 1|e}function Hg(e,t,n,r,o){const i=e[n+1],s=null===t;let a=r?On(i):er(i),l=!1;for(;0!==a&&(!1===l||s);){const c=e[a+1];yM(e[a],t)&&(l=!0,e[a+1]=r?Uu(c):$u(c)),a=r?On(c):er(c)}l&&(e[n+1]=r?$u(i):Uu(i))}function yM(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Ar(e,t)>=0}function vn(e,t,n){return Rt(e,t,n,!1),vn}function Rs(e,t){return Rt(e,t,null,!0),Rs}function Rt(e,t,n,r){const o=_(),i=Q(),s=function fn(e){const t=V.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}(2);i.firstUpdatePass&&function Kg(e,t,n,r){const o=e.data;if(null===o[n+1]){const i=o[qe()],s=function Qg(e,t){return t>=e.expandoStartIndex}(e,n);(function tm(e,t){return 0!=(e.flags&(t?8:16))})(i,r)&&null===t&&!s&&(t=!1),t=function MM(e,t,n,r){const o=function _l(e){const t=V.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let i=r?t.residualClasses:t.residualStyles;if(null===o)0===(r?t.classBindings:t.styleBindings)&&(n=Ko(n=Hu(null,e,t,n,r),t.attrs,r),i=null);else{const s=t.directiveStylingLast;if(-1===s||e[s]!==o)if(n=Hu(o,e,t,n,r),null===i){let l=function IM(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==er(r))return e[On(r)]}(e,t,r);void 0!==l&&Array.isArray(l)&&(l=Hu(null,e,t,l[1],r),l=Ko(l,t.attrs,r),function AM(e,t,n,r){e[On(n?t.classBindings:t.styleBindings)]=r}(e,t,r,l))}else i=function TM(e,t,n){let r;const o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i0)&&(u=!0)):c=n,o)if(0!==l){const f=On(e[a+1]);e[r+1]=xs(f,a),0!==f&&(e[f+1]=Bu(e[f+1],r)),e[a+1]=function hM(e,t){return 131071&e|t<<17}(e[a+1],r)}else e[r+1]=xs(a,0),0!==a&&(e[a+1]=Bu(e[a+1],r)),a=r;else e[r+1]=xs(l,0),0===a?a=r:e[l+1]=Bu(e[l+1],r),l=r;u&&(e[r+1]=$u(e[r+1])),Hg(e,c,r,!0),Hg(e,c,r,!1),function mM(e,t,n,r,o){const i=o?e.residualClasses:e.residualStyles;null!=i&&"string"==typeof t&&Ar(i,t)>=0&&(n[r+1]=Uu(n[r+1]))}(t,c,e,r,i),s=xs(a,l),i?t.classBindings=s:t.styleBindings=s}(o,i,t,n,s,r)}}(i,e,s,r),t!==j&&Ue(o,s,t)&&function Jg(e,t,n,r,o,i,s,a){if(!(3&t.type))return;const l=e.data,u=l[a+1],c=function pM(e){return 1==(1&e)}(u)?em(l,t,n,o,er(u),s):void 0;Ns(c)||(Ns(i)||function fM(e){return 2==(2&e)}(u)&&(i=em(l,null,n,o,a,s)),function TE(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=-1===r.indexOf("-")?void 0:tt.DashCase;null==o?e.removeStyle(n,r,i):("string"==typeof o&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=tt.Important),e.setStyle(n,r,o,i))}}(r,s,Ki(qe(),n),o,i))}(i,i.data[qe()],o,o[G],e,o[s+1]=function NM(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=se(function Tn(e){return e instanceof hp?e.changingThisBreaksApplicationSecurity:e}(e)))),e}(t,n),r,s)}function Hu(e,t,n,r,o){let i=null;const s=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a0;){const l=e[o],u=Array.isArray(l),c=u?l[1]:l,d=null===c;let f=n[o+1];f===j&&(f=d?K:void 0);let h=d?Nl(f,r):c===r?f:void 0;if(u&&!Ns(h)&&(h=Nl(l,r)),Ns(h)&&(a=h,s))return a;const p=e[o+1];o=s?On(p):er(p)}if(null!==t){let l=i?t.residualClasses:t.residualStyles;null!=l&&(a=Nl(l,r))}return a}function Ns(e){return void 0!==e}function B(e,t=""){const n=_(),r=Q(),o=e+ce,i=r.firstCreatePass?Lr(r,o,1,t,null):r.data[o],s=n[o]=function Wl(e,t){return e.createText(t)}(n[G],t);hs(r,n,s,i),Gt(i,!1)}function Xo(e){return Jt("",e,""),Xo}function Jt(e,t,n){const r=_(),o=function jr(e,t,n,r){return Ue(e,Cr(),n)?t+L(n)+r:j}(r,e,t,n);return o!==j&&function yn(e,t,n){const r=Ki(t,e);!function Yh(e,t,n){e.setValue(t,n)}(e[G],r,n)}(r,qe(),o),Jt}const Zr="en-US";let bm=Zr;function Wu(e,t,n,r,o){if(e=N(e),Array.isArray(e))for(let i=0;i>20;if(Xn(e)||!e.multi){const h=new Ao(l,o,v),p=Yu(a,t,o?c:c+f,d);-1===p?(Tl(is(u,s),i,a),qu(i,e,t.length),t.push(a),u.directiveStart++,u.directiveEnd++,o&&(u.providerIndexes+=1048576),n.push(h),s.push(h)):(n[p]=h,s[p]=h)}else{const h=Yu(a,t,c+f,d),p=Yu(a,t,c,c+f),y=p>=0&&n[p];if(o&&!y||!o&&!(h>=0&&n[h])){Tl(is(u,s),i,a);const D=function KI(e,t,n,r,o){const i=new Ao(e,n,v);return i.multi=[],i.index=t,i.componentProviders=0,Ym(i,o,r&&!n),i}(o?QI:ZI,n.length,o,r,l);!o&&y&&(n[p].providerFactory=D),qu(i,e,t.length,0),t.push(a),u.directiveStart++,u.directiveEnd++,o&&(u.providerIndexes+=1048576),n.push(D),s.push(D)}else qu(i,e,h>-1?h:p,Ym(n[o?p:h],l,!o&&r));!o&&r&&y&&n[p].componentProviders++}}}function qu(e,t,n,r){const o=Xn(t),i=function iS(e){return!!e.useClass}(t);if(o||i){const l=(i?N(t.useClass):t).prototype.ngOnDestroy;if(l){const u=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){const c=u.indexOf(n);-1===c?u.push(n,[r,l]):u[c+1].push(r,l)}else u.push(n,l)}}}function Ym(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Yu(e,t,n,r){for(let o=n;o{n.providersResolver=(r,o)=>function YI(e,t,n){const r=Q();if(r.firstCreatePass){const o=Tt(e);Wu(n,r.data,r.blueprint,o,!0),Wu(t,r.data,r.blueprint,o,!1)}}(r,o?o(e):e,t)}}class Qr{}class Zm{}class Qm extends Qr{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new hg(this);const r=at(t);this._bootstrapComponents=mn(r.bootstrap),this._r3Injector=Wp(t,n,[{provide:Qr,useValue:this},{provide:Ho,useValue:this.componentFactoryResolver}],se(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 Qu extends Zm{constructor(t){super(),this.moduleType=t}create(t){return new Qm(this.moduleType,t)}}class JI extends Qr{constructor(t,n,r){super(),this.componentFactoryResolver=new hg(this),this.instance=null;const o=new Op([...t,{provide:Qr,useValue:this},{provide:Ho,useValue:this.componentFactoryResolver}],n||Ds(),r,new Set(["environment"]));this.injector=o,o.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function Vs(e,t,n=null){return new JI(e,t,n).injector}let eA=(()=>{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=Mp(0,n.type),o=r.length>0?Vs([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=A({token:e,providedIn:"environment",factory:()=>new e(O(pn))}),e})();function Km(e){e.getStandaloneInjector=t=>t.get(eA).getOrCreateStandaloneInjector(e)}function Xu(e){return t=>{setTimeout(e,void 0,t)}}const he=class MA extends on{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 l=t;o=l.next?.bind(l),i=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(i=Xu(i),o&&(o=Xu(o)),s&&(s=Xu(s)));const a=super.subscribe({next:o,error:i,complete:s});return t instanceof pt&&t.add(a),a}};let _n=(()=>{class e{}return e.__NG_ELEMENT_ID__=OA,e})();const AA=_n,TA=class extends AA{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}createEmbeddedView(t,n){const r=this._declarationTContainer.tView,o=ws(this._declarationLView,r,t,16,null,r.declTNode,null,null,null,null,n||null);o[Eo]=this._declarationLView[this._declarationTContainer.index];const s=this._declarationLView[Ht];return null!==s&&(o[Ht]=s.createEmbeddedView(r)),wu(r,o,t),new Wo(o)}};function OA(){return function js(e,t){return 4&e.type?new TA(t,e,Nr(e,t)):null}(Pe(),_())}let Ft=(()=>{class e{}return e.__NG_ELEMENT_ID__=xA,e})();function xA(){return function dy(e,t){let n;const r=t[e.index];if(At(r))n=r;else{let o;if(8&e.type)o=Fe(r);else{const i=t[G];o=i.createComment("");const s=ut(e,t);Kn(i,fs(i,s),o,function ME(e,t){return e.nextSibling(t)}(i,s),!1)}t[e.index]=n=lg(r,t,o,e),Es(t,n)}return new uy(n,e,t)}(Pe(),_())}const RA=Ft,uy=class extends RA{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Nr(this._hostTNode,this._hostLView)}get injector(){return new br(this._hostTNode,this._hostLView)}get parentInjector(){const t=Al(this._hostTNode,this._hostLView);if(ph(t)){const n=rs(t,this._hostLView),r=ns(t);return new br(n[E].data[r+8],n)}return new br(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=cy(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-ze}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 xo(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 l=s?t:new qo(te(t)),u=r||this.parentInjector;if(!i&&null==l.ngModule){const f=(s?u:this.parentInjector).get(pn,null);f&&(i=f)}const c=l.create(u,o,void 0,i);return this.insert(c.hostView,a),c}insert(t,n){const r=t._lView,o=r[E];if(function nb(e){return At(e[ge])}(r)){const c=this.indexOf(t);if(-1!==c)this.detach(c);else{const d=r[ge],f=new uy(d,d[je],d[ge]);f.detach(f.indexOf(t))}}const i=this._adjustIndex(n),s=this._lContainer;!function CE(e,t,n,r){const o=ze+r,i=n.length;r>0&&(n[o-1][It]=t),r{class e{constructor(n){this.appInits=n,this.resolve=Bs,this.reject=Bs,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{i.subscribe({complete:a,error:l})});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)(O(Us,8))},e.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const ai=new I("AppId",{providedIn:"root",factory:function Ly(){return`${dc()}${dc()}${dc()}`}});function dc(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Vy=new I("Platform Initializer"),jy=new I("Platform ID",{providedIn:"platform",factory:()=>"unknown"});let sT=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();const Dn=new I("LocaleId",{providedIn:"root",factory:()=>Z(Dn,F.Optional|F.SkipSelf)||function aT(){return typeof $localize<"u"&&$localize.locale||Zr}()});class uT{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let $y=(()=>{class e{compileModuleSync(n){return new Qu(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),i=mn(at(n).declarations).reduce((s,a)=>{const l=te(a);return l&&s.push(new qo(l)),s},[]);return new uT(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=A({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const fT=(()=>Promise.resolve(0))();function fc(e){typeof Zone>"u"?fT.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class _e{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new he(!1),this.onMicrotaskEmpty=new he(!1),this.onStable=new he(!1),this.onError=new he(!1),typeof Zone>"u")throw new C(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 hT(){let e=ue.requestAnimationFrame,t=ue.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 mT(e){const t=()=>{!function gT(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(ue,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,pc(e),e.isCheckStableRunning=!0,hc(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),pc(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,a)=>{try{return Hy(e),n.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||e.shouldCoalesceRunChangeDetection)&&t(),Gy(e)}},onInvoke:(n,r,o,i,s,a,l)=>{try{return Hy(e),n.invoke(o,i,s,a,l)}finally{e.shouldCoalesceRunChangeDetection&&t(),Gy(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,pc(e),hc(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(!_e.isInAngularZone())throw new C(909,!1)}static assertNotInAngularZone(){if(_e.isInAngularZone())throw new C(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,pT,Bs,Bs);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 pT={};function hc(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 pc(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Hy(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Gy(e){e._nesting--,hc(e)}class yT{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new he,this.onMicrotaskEmpty=new he,this.onStable=new he,this.onError=new he}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 zy=new I(""),Gs=new I("");let yc,gc=(()=>{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,yc||(function vT(e){yc=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:()=>{_e.assertNotInAngularZone(),fc(()=>{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())fc(()=>{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)(O(_e),O(mc),O(Gs))},e.\u0275prov=A({token:e,factory:e.\u0275fac}),e})(),mc=(()=>{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 yc?.findTestabilityInTree(this,n,r)??null}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();const Cn=!1;let xn=null;const Wy=new I("AllowMultipleToken"),vc=new I("PlatformDestroyListeners"),qy=new I("appBootstrapListener");class Yy{constructor(t,n){this.name=t,this.token=n}}function Qy(e,t,n=[]){const r=`Platform: ${t}`,o=new I(r);return(i=[])=>{let s=_c();if(!s||s.injector.get(Wy,!1)){const a=[...n,...i,{provide:o,useValue:!0}];e?e(a):function CT(e){if(xn&&!xn.get(Wy,!1))throw new C(400,!1);xn=e;const t=e.get(Xy);(function Zy(e){const t=e.get(Vy,null);t&&t.forEach(n=>n())})(e)}(function Ky(e=[],t){return Wt.create({name:t,providers:[{provide:cu,useValue:"platform"},{provide:vc,useValue:new Set([()=>xn=null])},...e]})}(a,r))}return function bT(e){const t=_c();if(!t)throw new C(401,!1);return t}()}}function _c(){return xn?.get(Xy)??null}let Xy=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const o=function ev(e,t){let n;return n="noop"===e?new yT:("zone.js"===e?void 0:e)||new _e(t),n}(r?.ngZone,function Jy(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!e||!e.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!e||!e.ngZoneRunCoalescing)||!1}}(r)),i=[{provide:_e,useValue:o}];return o.run(()=>{const s=Wt.create({providers:i,parent:this.injector,name:n.moduleType.name}),a=n.create(s),l=a.injector.get(Fr,null);if(!l)throw new C(402,!1);return o.runOutsideAngular(()=>{const u=o.onError.subscribe({next:c=>{l.handleError(c)}});a.onDestroy(()=>{Ws(this._modules,a),u.unsubscribe()})}),function tv(e,t,n){try{const r=n();return Qo(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(l,o,()=>{const u=a.injector.get(Hs);return u.runInitializers(),u.donePromise.then(()=>(function Em(e){mt(e,"Expected localeId to be defined"),"string"==typeof e&&(bm=e.toLowerCase().replace(/_/g,"-"))}(a.injector.get(Dn,Zr)||Zr),this._moduleDoBootstrap(a),a))})})}bootstrapModule(n,r=[]){const o=nv({},r);return function _T(e,t,n){const r=new Qu(n);return Promise.resolve(r)}(0,0,n).then(i=>this.bootstrapModuleFactory(i,o))}_moduleDoBootstrap(n){const r=n.injector.get(zs);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(o=>r.bootstrap(o));else{if(!n.instance.ngDoBootstrap)throw new C(-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 C(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(vc,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)(O(Wt))},e.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function nv(e,t){return Array.isArray(t)?t.reduce(nv,e):{...e,...t}}let zs=(()=>{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 be(a=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{a.next(this._stable),a.complete()})}),s=new be(a=>{let l;this._zone.runOutsideAngular(()=>{l=this._zone.onStable.subscribe(()=>{_e.assertNotInAngularZone(),fc(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,a.next(!0))})})});const u=this._zone.onUnstable.subscribe(()=>{_e.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{a.next(!1)}))});return()=>{l.unsubscribe(),u.unsubscribe()}});this.isStable=function Cw(...e){const t=vo(e),n=function pw(e,t){return"number"==typeof Ja(e)?e.pop():t}(e,1/0),r=e;return r.length?1===r.length?gt(r[0]):dr(n)(Ee(r,t)):jt}(i,s.pipe(function ww(e={}){const{connector:t=(()=>new on),resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,l,u=0,c=!1,d=!1;const f=()=>{a?.unsubscribe(),a=void 0},h=()=>{f(),s=l=void 0,c=d=!1},p=()=>{const g=s;h(),g?.unsubscribe()};return Re((g,y)=>{u++,!d&&!c&&f();const D=l=l??t();y.add(()=>{u--,0===u&&!d&&!c&&(a=el(p,o))}),D.subscribe(y),!s&&u>0&&(s=new yo({next:b=>D.next(b),error:b=>{d=!0,f(),a=el(h,n,b),D.error(b)},complete:()=>{c=!0,f(),a=el(h,r),D.complete()}}),gt(g).subscribe(s))})(i)}}()))}bootstrap(n,r){const o=n instanceof Rp;if(!this._injector.get(Hs).done){!o&&function hr(e){const t=te(e)||Ve(e)||Je(e);return null!==t&&t.standalone}(n);throw new C(405,Cn)}let s;s=o?n:this._injector.get(Ho).resolveComponentFactory(n),this.componentTypes.push(s.componentType);const a=function DT(e){return e.isBoundToModule}(s)?void 0:this._injector.get(Qr),u=s.create(Wt.NULL,[],r||s.selector,a),c=u.location.nativeElement,d=u.injector.get(zy,null);return d?.registerApplication(c),u.onDestroy(()=>{this.detachView(u.hostView),Ws(this.components,u),d?.unregisterApplication(c)}),this._loadComponent(u),u}tick(){if(this._runningTick)throw new C(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;Ws(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const r=this._injector.get(qy,[]);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),()=>Ws(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new C(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)(O(_e),O(pn),O(Fr))},e.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function Ws(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}let qs=(()=>{class e{}return e.__NG_ELEMENT_ID__=ST,e})();function ST(e){return function MT(e,t,n){if(Mo(e)&&!n){const r=et(e.index,t);return new Wo(r,r)}return 47&e.type?new Wo(t[$e],t):null}(Pe(),_(),16==(16&e))}class av{constructor(){}supports(t){return Ts(t)}create(t){return new RT(t)}}const xT=(e,t)=>t;class RT{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||xT}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,i=null;for(;n||r;){const s=!r||n&&n.currentIndex{s=this._trackByFn(o,a),null!==n&&Object.is(n.trackById,s)?(r&&(n=this._verifyReinsertion(n,a,s,o)),Object.is(n.item,a)||this._addIdentityChange(n,a)):(n=this._mismatch(n,a,s,o),r=!0),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,o){let i;return null===t?i=this._itTail:(i=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,i,o)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,o))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,o)):t=this._addAfter(new NT(n,r),i,o),t}_verifyReinsertion(t,n,r,o){let i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==i?t=this._reinsertAfter(i,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const o=t._prevRemoved,i=t._nextRemoved;return null===o?this._removalsHead=i:o._nextRemoved=i,null===i?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){const o=null===n?this._itHead:n._next;return t._next=o,t._prev=n,null===o?this._itTail=t:o._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new lv),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,r=t._next;return null===n?this._itHead=r:n._next=r,null===r?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new lv),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class NT{constructor(t,n){this.item=t,this.trackById=n,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class FT{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===n||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){const n=t._prevDup,r=t._nextDup;return null===n?this._head=r:n._nextDup=r,null===r?this._tail=n:r._prevDup=n,null===this._head}}class lv{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new FT,this.map.set(n,r)),r.add(t)}get(t,n){const o=this.map.get(t);return o?o.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function uv(e,t,n){const r=e.previousIndex;if(null===r)return r;let o=0;return n&&r{class e{constructor(n){this.factories=n}static create(n,r){if(null!=r){const o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||dv()),deps:[[e,new Fo,new No]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(null!=r)return r;throw new C(901,!1)}}return e.\u0275prov=A({token:e,providedIn:"root",factory:dv}),e})();const jT=Qy(null,"core",[]);let $T=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(O(zs))},e.\u0275mod=Ut({type:e}),e.\u0275inj=St({}),e})();let Ec=null;function wn(){return Ec}class HT{}const ot=new I("DocumentToken");let Sc=(()=>{class e{historyGo(n){throw new Error("Not implemented")}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=A({token:e,factory:function(){return function GT(){return O(hv)}()},providedIn:"platform"}),e})();const zT=new I("Location Initialized");let hv=(()=>{class e extends Sc{constructor(n){super(),this._doc=n,this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return wn().getBaseHref(this._doc)}onPopState(n){const r=wn().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){const r=wn().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){pv()?this._history.pushState(n,r,o):this._location.hash=o}replaceState(n,r,o){pv()?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)(O(ot))},e.\u0275prov=A({token:e,factory:function(){return function WT(){return new hv(O(ot))}()},providedIn:"platform"}),e})();function pv(){return!!window.history.pushState}function Mc(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 gv(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 bn(e){return e&&"?"!==e[0]?"?"+e:e}let rr=(()=>{class e{historyGo(n){throw new Error("Not implemented")}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=A({token:e,factory:function(){return Z(yv)},providedIn:"root"}),e})();const mv=new I("appBaseHref");let yv=(()=>{class e extends rr{constructor(n,r){super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??Z(ot).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 Mc(this._baseHref,n)}path(n=!1){const r=this._platformLocation.pathname+bn(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${r}${o}`:r}pushState(n,r,o,i){const s=this.prepareExternalUrl(o+bn(i));this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){const s=this.prepareExternalUrl(o+bn(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)(O(Sc),O(mv,8))},e.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),qT=(()=>{class e extends rr{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=Mc(this._baseHref,n);return r.length>0?"#"+r:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+bn(i));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+bn(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)(O(Sc),O(mv,8))},e.\u0275prov=A({token:e,factory:e.\u0275fac}),e})(),Ic=(()=>{class e{constructor(n){this._subject=new he,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=n;const r=this._locationStrategy.getBaseHref();this._basePath=function QT(e){if(new RegExp("^(https?:)?//").test(e)){const[,n]=e.split(/\/\/[^\/]+/);return n}return e}(gv(vv(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+bn(r))}normalize(n){return e.stripTrailingSlash(function ZT(e,t){if(!e||!t.startsWith(e))return t;const n=t.substring(e.length);return""===n||["/",";","?","#"].includes(n[0])?n:t}(this._basePath,vv(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+bn(r)),o)}replaceState(n,r="",o=null){this._locationStrategy.replaceState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+bn(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=bn,e.joinWithSlash=Mc,e.stripTrailingSlash=gv,e.\u0275fac=function(n){return new(n||e)(O(rr))},e.\u0275prov=A({token:e,factory:function(){return function YT(){return new Ic(O(rr))}()},providedIn:"root"}),e})();function vv(e){return e.replace(/\/index.html$/,"")}class kO{constructor(t,n,r,o){this.$implicit=t,this.ngForOf=n,this.index=r,this.count=o}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let Ov=(()=>{class e{set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}constructor(n,r,o){this._viewContainer=n,this._template=r,this._differs=o,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const n=this._ngForOf;!this._differ&&n&&(this._differ=this._differs.find(n).create(this.ngForTrackBy))}if(this._differ){const n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){const r=this._viewContainer;n.forEachOperation((o,i,s)=>{if(null==o.previousIndex)r.createEmbeddedView(this._template,new kO(o.item,this._ngForOf,-1,-1),null===s?void 0:s);else if(null==s)r.remove(null===i?void 0:i);else if(null!==i){const a=r.get(i);r.move(a,s),xv(a,o)}});for(let o=0,i=r.length;o{xv(r.get(o.currentIndex),o)})}static ngTemplateContextGuard(n,r){return!0}}return e.\u0275fac=function(n){return new(n||e)(v(Ft),v(_n),v(Qs))},e.\u0275dir=k({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),e})();function xv(e,t){e.context.$implicit=t.item}let eo=(()=>{class e{constructor(n,r){this._viewContainer=n,this._context=new VO,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=r}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){Rv("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){Rv("ngIfElse",n),this._elseTemplateRef=n,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(n,r){return!0}}return e.\u0275fac=function(n){return new(n||e)(v(Ft),v(_n))},e.\u0275dir=k({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),e})();class VO{constructor(){this.$implicit=null,this.ngIf=null}}function Rv(e,t){if(t&&!t.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${se(t)}'.`)}let Pv=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Ut({type:e}),e.\u0275inj=St({}),e})();let fx=(()=>{class e{}return e.\u0275prov=A({token:e,providedIn:"root",factory:()=>new hx(O(ot),window)}),e})();class hx{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 px(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=Lv(this.window.history)||Lv(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 Lv(e){return Object.getOwnPropertyDescriptor(e,"scrollRestoration")}class Ux extends HT{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class Gc extends Ux{static makeCurrent(){!function UT(e){Ec||(Ec=e)}(new Gc)}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 Hx(){return fi=fi||document.querySelector("base"),fi?fi.getAttribute("href"):null}();return null==n?null:function Gx(e){la=la||document.createElement("a"),la.setAttribute("href",e);const t=la.pathname;return"/"===t.charAt(0)?t:`/${t}`}(n)}resetBaseElement(){fi=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return function NO(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 la,fi=null;const Uv=new I("TRANSITION_ID"),Wx=[{provide:Us,useFactory:function zx(e,t,n){return()=>{n.get(Hs).donePromise.then(()=>{const r=wn(),o=t.querySelectorAll(`style[ng-transition="${e}"]`);for(let i=0;i{class e{build(){return new XMLHttpRequest}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=A({token:e,factory:e.\u0275fac}),e})();const ua=new I("EventManagerPlugins");let ca=(()=>{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{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=A({token:e,factory:e.\u0275fac}),e})(),hi=(()=>{class e extends Gv{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)(O(ot))},e.\u0275prov=A({token:e,factory:e.\u0275fac}),e})();const zc={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/"},Wc=/%COMP%/g,qv=new I("RemoveStylesOnCompDestory",{providedIn:"root",factory:()=>!1});function Yv(e,t){return t.flat(100).map(n=>n.replace(Wc,e))}function Zv(e){return t=>{if("__ngUnwrap__"===t)return e;!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}let qc=(()=>{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 Yc(n)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;const o=this.getOrCreateRenderer(n,r);return o instanceof Xv?o.applyToHost(n):o instanceof Zc&&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,l=this.removeStylesOnCompDestory;switch(r.encapsulation){case Bt.Emulated:i=new Xv(s,a,r,this.appId,l);break;case Bt.ShadowDom:return new tR(s,a,n,r);default:i=new Zc(s,a,r,l)}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)(O(ca),O(hi),O(ai),O(qv))},e.\u0275prov=A({token:e,factory:e.\u0275fac}),e})();class Yc{constructor(t){this.eventManager=t,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(t,n){return n?document.createElementNS(zc[n]||n,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,n){(Kv(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(Kv(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=zc[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){const o=zc[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&(tt.DashCase|tt.Important)?t.style.setProperty(n,r,o&tt.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&tt.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,Zv(r)):this.eventManager.addEventListener(t,n,Zv(r))}}function Kv(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class tR extends Yc{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=Yv(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 Zc extends Yc{constructor(t,n,r,o,i=r.id){super(t),this.sharedStylesHost=n,this.removeStylesOnCompDestory=o,this.rendererUsageCount=0,this.styles=Yv(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 Xv extends Zc{constructor(t,n,r,o,i){const s=o+"-"+r.id;super(t,n,r,i,s),this.contentAttr=function Xx(e){return"_ngcontent-%COMP%".replace(Wc,e)}(s),this.hostAttr=function Jx(e){return"_nghost-%COMP%".replace(Wc,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 Hv{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)(O(ot))},e.\u0275prov=A({token:e,factory:e.\u0275fac}),e})();const Jv=["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 Hv{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(()=>wn().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."),Jv.forEach(u=>{const c=r.indexOf(u);c>-1&&(r.splice(c,1),s+=u+".")}),s+=i,0!=r.length||0===i.length)return null;const l={};return l.domEventName=o,l.fullKey=s,l}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"),Jv.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)(O(ot))},e.\u0275prov=A({token:e,factory:e.\u0275fac}),e})();const uR=Qy(jT,"browser",[{provide:jy,useValue:"browser"},{provide:Vy,useValue:function sR(){Gc.makeCurrent()},multi:!0},{provide:ot,useFactory:function lR(){return function FE(e){tu=e}(document),document},deps:[]}]),n_=new I(""),r_=[{provide:Gs,useClass:class qx{addToWindow(t){ue.getAngularTestability=(r,o=!0)=>{const i=t.findTestabilityInTree(r,o);if(null==i)throw new Error("Could not find testability for element.");return i},ue.getAllAngularTestabilities=()=>t.getAllTestabilities(),ue.getAllAngularRootElements=()=>t.getAllRootElements(),ue.frameworkStabilizers||(ue.frameworkStabilizers=[]),ue.frameworkStabilizers.push(r=>{const o=ue.getAllAngularTestabilities();let i=o.length,s=!1;const a=function(l){s=s||l,i--,0==i&&r(s)};o.forEach(function(l){l.whenStable(a)})})}findTestabilityInTree(t,n,r){return null==n?null:t.getTestability(n)??(r?wn().isShadowRoot(n)?this.findTestabilityInTree(t,n.host,!0):this.findTestabilityInTree(t,n.parentElement,!0):null)}},deps:[]},{provide:zy,useClass:gc,deps:[_e,mc,Gs]},{provide:gc,useClass:gc,deps:[_e,mc,Gs]}],o_=[{provide:cu,useValue:"root"},{provide:Fr,useFactory:function aR(){return new Fr},deps:[]},{provide:ua,useClass:nR,multi:!0,deps:[ot,_e,jy]},{provide:ua,useClass:iR,multi:!0,deps:[ot]},{provide:qc,useClass:qc,deps:[ca,hi,ai,qv]},{provide:Fp,useExisting:qc},{provide:Gv,useExisting:hi},{provide:hi,useClass:hi,deps:[ot]},{provide:ca,useClass:ca,deps:[ua,_e]},{provide:class gx{},useClass:Yx,deps:[]},[]];let cR=(()=>{class e{constructor(n){}static withServerTransition(n){return{ngModule:e,providers:[{provide:ai,useValue:n.appId},{provide:Uv,useExisting:ai},Wx]}}}return e.\u0275fac=function(n){return new(n||e)(O(n_,12))},e.\u0275mod=Ut({type:e}),e.\u0275inj=St({providers:[...o_,...r_],imports:[Pv,$T]}),e})(),i_=(()=>{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)(O(ot))},e.\u0275prov=A({token:e,factory:function(n){let r=null;return r=n?new n:function fR(){return new i_(O(ot))}(),r},providedIn:"root"}),e})();function R(...e){return Ee(e,vo(e))}typeof window<"u"&&window;class Vt extends on{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 da=go(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"}),{isArray:vR}=Array,{getPrototypeOf:_R,prototype:DR,keys:CR}=Object;function l_(e){if(1===e.length){const t=e[0];if(vR(t))return{args:t,keys:null};if(function wR(e){return e&&"object"==typeof e&&_R(e)===DR}(t)){const n=CR(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}const{isArray:bR}=Array;function u_(e){return Y(t=>function ER(e,t){return bR(t)?e(...t):e(t)}(e,t))}function c_(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function d_(...e){const t=vo(e),n=Ef(e),{args:r,keys:o}=l_(e);if(0===r.length)return Ee([],t);const i=new be(function SR(e,t,n=zn){return r=>{f_(t,()=>{const{length:o}=e,i=new Array(o);let s=o,a=o;for(let l=0;l{const u=Ee(e[l],t);let c=!1;u.subscribe(Ae(r,d=>{i[l]=d,c||(c=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}(r,t,o?s=>c_(o,s):zn));return n?i.pipe(u_(n)):i}function f_(e,t,n){e?sn(n,e,t):t()}function Xc(...e){return function MR(){return dr(1)}()(Ee(e,vo(e)))}function h_(e){return new be(t=>{gt(e()).subscribe(t)})}function pi(e,t){const n=ie(e)?e:()=>e,r=o=>o.error(n());return new be(t?o=>t.schedule(r,0,o):r)}function Jc(){return Re((e,t)=>{let n=null;e._refCount++;const r=Ae(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 p_ extends be{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,uf(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 pt;const n=this.getSubject();t.add(this.source.subscribe(Ae(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=pt.EMPTY)}return t}refCount(){return Jc()(this)}}function en(e,t){return Re((n,r)=>{let o=null,i=0,s=!1;const a=()=>s&&!o&&r.complete();n.subscribe(Ae(r,l=>{o?.unsubscribe();let u=0;const c=i++;gt(e(l,c)).subscribe(o=Ae(r,d=>r.next(t?t(l,d,c,u++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function to(e){return e<=0?()=>jt:Re((t,n)=>{let r=0;t.subscribe(Ae(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function Nn(e,t){return Re((n,r)=>{let o=0;n.subscribe(Ae(r,i=>e.call(t,i,o++)&&r.next(i)))})}function fa(e){return Re((t,n)=>{let r=!1;t.subscribe(Ae(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function g_(e=AR){return Re((t,n)=>{let r=!1;t.subscribe(Ae(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function AR(){return new da}function Fn(e,t){const n=arguments.length>=2;return r=>r.pipe(e?Nn((o,i)=>e(o,i,r)):zn,to(1),n?fa(t):g_(()=>new da))}function or(e,t){return ie(t)?Ne(e,t,1):Ne(e,1)}function He(e,t,n){const r=ie(e)||t||n?{next:e,error:t,complete:n}:e;return r?Re((o,i)=>{var s;null===(s=r.subscribe)||void 0===s||s.call(r);let a=!0;o.subscribe(Ae(i,l=>{var u;null===(u=r.next)||void 0===u||u.call(r,l),i.next(l)},()=>{var l;a=!1,null===(l=r.complete)||void 0===l||l.call(r),i.complete()},l=>{var u;a=!1,null===(u=r.error)||void 0===u||u.call(r,l),i.error(l)},()=>{var l,u;a&&(null===(l=r.unsubscribe)||void 0===l||l.call(r)),null===(u=r.finalize)||void 0===u||u.call(r)}))}):zn}function Pn(e){return Re((t,n)=>{let i,r=null,o=!1;r=t.subscribe(Ae(n,void 0,void 0,s=>{i=gt(e(s,Pn(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function m_(e,t){return Re(function TR(e,t,n,r,o){return(i,s)=>{let a=n,l=t,u=0;i.subscribe(Ae(s,c=>{const d=u++;l=a?e(l,c,d):(a=!0,c),r&&s.next(l)},o&&(()=>{a&&s.next(l),s.complete()})))}}(e,t,arguments.length>=2,!0))}function ed(e){return e<=0?()=>jt:Re((t,n)=>{let r=[];t.subscribe(Ae(n,o=>{r.push(o),e{for(const o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function y_(e,t){const n=arguments.length>=2;return r=>r.pipe(e?Nn((o,i)=>e(o,i,r)):zn,ed(1),n?fa(t):g_(()=>new da))}function td(e){return Re((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}const $="primary",gi=Symbol("RouteTitle");class RR{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 no(e){return new RR(e)}function NR(e,t,n){const r=n.path.split("/");if(r.length>e.length||"full"===n.pathMatch&&(t.hasChildren()||r.lengthr[i]===o)}return e===t}function __(e){return Array.prototype.concat.apply([],e)}function D_(e){return e.length>0?e[e.length-1]:null}function Le(e,t){for(const n in e)e.hasOwnProperty(n)&&t(e[n],n)}function kn(e){return Vu(e)?e:Qo(e)?Ee(Promise.resolve(e)):R(e)}const ha=!1,PR={exact:function b_(e,t,n){if(!ir(e.segments,t.segments)||!pa(e.segments,t.segments,n)||e.numberOfChildren!==t.numberOfChildren)return!1;for(const r in t.children)if(!e.children[r]||!b_(e.children[r],t.children[r],n))return!1;return!0},subset:E_},C_={exact:function kR(e,t){return tn(e,t)},subset:function LR(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(n=>v_(e[n],t[n]))},ignored:()=>!0};function w_(e,t,n){return PR[n.paths](e.root,t.root,n.matrixParams)&&C_[n.queryParams](e.queryParams,t.queryParams)&&!("exact"===n.fragment&&e.fragment!==t.fragment)}function E_(e,t,n){return S_(e,t,t.segments,n)}function S_(e,t,n,r){if(e.segments.length>n.length){const o=e.segments.slice(0,n.length);return!(!ir(o,n)||t.hasChildren()||!pa(o,n,r))}if(e.segments.length===n.length){if(!ir(e.segments,n)||!pa(e.segments,n,r))return!1;for(const o in t.children)if(!e.children[o]||!E_(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!!(ir(e.segments,o)&&pa(e.segments,o,r)&&e.children[$])&&S_(e.children[$],t,i,r)}}function pa(e,t,n){return t.every((r,o)=>C_[n](e[o].parameters,r.parameters))}class Ln{constructor(t=new W([],{}),n={},r=null){this.root=t,this.queryParams=n,this.fragment=r}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=no(this.queryParams)),this._queryParamMap}toString(){return $R.serialize(this)}}class W{constructor(t,n){this.segments=t,this.children=n,this.parent=null,Le(n,(r,o)=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return ga(this)}}class mi{constructor(t,n){this.path=t,this.parameters=n}get parameterMap(){return this._parameterMap||(this._parameterMap=no(this.parameters)),this._parameterMap}toString(){return A_(this)}}function ir(e,t){return e.length===t.length&&e.every((n,r)=>n.path===t[r].path)}let yi=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=A({token:e,factory:function(){return new nd},providedIn:"root"}),e})();class nd{parse(t){const n=new ZR(t);return new Ln(n.parseRootSegment(),n.parseQueryParams(),n.parseFragment())}serialize(t){const n=`/${vi(t.root,!0)}`,r=function HR(e){const t=Object.keys(e).map(n=>{const r=e[n];return Array.isArray(r)?r.map(o=>`${ma(n)}=${ma(o)}`).join("&"):`${ma(n)}=${ma(r)}`}).filter(n=>!!n);return t.length?`?${t.join("&")}`:""}(t.queryParams);return`${n}${r}${"string"==typeof t.fragment?`#${function BR(e){return encodeURI(e)}(t.fragment)}`:""}`}}const $R=new nd;function ga(e){return e.segments.map(t=>A_(t)).join("/")}function vi(e,t){if(!e.hasChildren())return ga(e);if(t){const n=e.children[$]?vi(e.children[$],!1):"",r=[];return Le(e.children,(o,i)=>{i!==$&&r.push(`${i}:${vi(o,!1)}`)}),r.length>0?`${n}(${r.join("//")})`:n}{const n=function jR(e,t){let n=[];return Le(e.children,(r,o)=>{o===$&&(n=n.concat(t(r,o)))}),Le(e.children,(r,o)=>{o!==$&&(n=n.concat(t(r,o)))}),n}(e,(r,o)=>o===$?[vi(e.children[$],!1)]:[`${o}:${vi(r,!1)}`]);return 1===Object.keys(e.children).length&&null!=e.children[$]?`${ga(e)}/${n[0]}`:`${ga(e)}/(${n.join("//")})`}}function M_(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function ma(e){return M_(e).replace(/%3B/gi,";")}function rd(e){return M_(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function ya(e){return decodeURIComponent(e)}function I_(e){return ya(e.replace(/\+/g,"%20"))}function A_(e){return`${rd(e.path)}${function UR(e){return Object.keys(e).map(t=>`;${rd(t)}=${rd(e[t])}`).join("")}(e.parameters)}`}const GR=/^[^\/()?;=#]+/;function va(e){const t=e.match(GR);return t?t[0]:""}const zR=/^[^=?]+/,qR=/^[^]+/;class ZR{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new W([],{}):new W([],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[$]=new W(t,n)),r}parseSegment(){const t=va(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new C(4009,ha);return this.capture(t),new mi(ya(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const n=va(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){const o=va(this.remaining);o&&(r=o,this.capture(r))}t[ya(n)]=ya(r)}parseQueryParam(t){const n=function WR(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 YR(e){const t=e.match(qR);return t?t[0]:""}(this.remaining);s&&(r=s,this.capture(r))}const o=I_(n),i=I_(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=va(this.remaining),o=this.remaining[r.length];if("/"!==o&&")"!==o&&";"!==o)throw new C(4010,ha);let i;r.indexOf(":")>-1?(i=r.slice(0,r.indexOf(":")),this.capture(i),this.capture(":")):t&&(i=$);const s=this.parseChildren();n[i]=1===Object.keys(s).length?s[$]:new W([],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 C(4011,ha)}}function od(e){return e.segments.length>0?new W([],{[$]:e}):e}function _a(e){const t={};for(const r of Object.keys(e.children)){const i=_a(e.children[r]);(i.segments.length>0||i.hasChildren())&&(t[r]=i)}return function QR(e){if(1===e.numberOfChildren&&e.children[$]){const t=e.children[$];return new W(e.segments.concat(t.segments),t.children)}return e}(new W(e.segments,t))}function sr(e){return e instanceof Ln}const id=!1;function KR(e,t,n,r,o){if(0===n.length)return ro(t.root,t.root,t.root,r,o);const i=function N_(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new R_(!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 Le(i.outlets,(l,u)=>{a[u]="string"==typeof l?l.split("/"):l}),[...o,{outlets:a}]}if(i.segmentPath)return[...o,i.segmentPath]}return"string"!=typeof i?[...o,i]:0===s?(i.split("/").forEach((a,l)=>{0==l&&"."===a||(0==l&&""===a?n=!0:".."===a?t++:""!=a&&o.push(a))}),o):[...o,i]},[]);return new R_(n,t,r)}(n);return i.toRoot()?ro(t.root,t.root,new W([],{}),r,o):function s(l){const u=function JR(e,t,n,r){if(e.isAbsolute)return new oo(t.root,!0,0);if(-1===r)return new oo(n,n===t.root,0);return function F_(e,t,n){let r=e,o=t,i=n;for(;i>o;){if(i-=o,r=r.parent,!r)throw new C(4005,id&&"Invalid number of '../'");o=r.segments.length}return new oo(r,!1,o-i)}(n,r+(_i(e.commands[0])?0:1),e.numberOfDoubleDots)}(i,t,e.snapshot?._urlSegment,l),c=u.processChildren?io(u.segmentGroup,u.index,i.commands):sd(u.segmentGroup,u.index,i.commands);return ro(t.root,u.segmentGroup,c,r,o)}(e.snapshot?._lastPathIndex)}function _i(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function Di(e){return"object"==typeof e&&null!=e&&e.outlets}function ro(e,t,n,r,o){let s,i={};r&&Le(r,(l,u)=>{i[u]=Array.isArray(l)?l.map(c=>`${c}`):`${l}`}),s=e===t?n:x_(e,t,n);const a=od(_a(s));return new Ln(a,i,o)}function x_(e,t,n){const r={};return Le(e.children,(o,i)=>{r[i]=o===t?n:x_(o,t,n)}),new W(e.segments,r)}class R_{constructor(t,n,r){if(this.isAbsolute=t,this.numberOfDoubleDots=n,this.commands=r,t&&r.length>0&&_i(r[0]))throw new C(4003,id&&"Root segment cannot have matrix parameters");const o=r.find(Di);if(o&&o!==D_(r))throw new C(4004,id&&"{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class oo{constructor(t,n,r){this.segmentGroup=t,this.processChildren=n,this.index=r}}function sd(e,t,n){if(e||(e=new W([],{})),0===e.segments.length&&e.hasChildren())return io(e,t,n);const r=function tN(e,t,n){let r=0,o=t;const i={match:!1,pathIndex:0,commandIndex:0};for(;o=n.length)return i;const s=e.segments[o],a=n[r];if(Di(a))break;const l=`${a}`,u=r0&&void 0===l)break;if(l&&u&&"object"==typeof u&&void 0===u.outlets){if(!k_(l,u,s))return i;r+=2}else{if(!k_(l,{},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{"string"==typeof i&&(i=[i]),null!==i&&(o[s]=sd(e.children[s],t,i))}),Le(e.children,(i,s)=>{void 0===r[s]&&(o[s]=i)}),new W(e.segments,o)}}function ad(e,t,n){const r=e.segments.slice(0,t);let o=0;for(;o{"string"==typeof n&&(n=[n]),null!==n&&(t[r]=ad(new W([],{}),0,n))}),t}function P_(e){const t={};return Le(e,(n,r)=>t[r]=`${n}`),t}function k_(e,t,n){return e==n.path&&tn(t,n.parameters)}const Ci="imperative";class nn{constructor(t,n){this.id=t,this.url=n}}class ld extends nn{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 ar extends nn{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 Da extends nn{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 Ca extends nn{constructor(t,n,r,o){super(t,n),this.reason=r,this.code=o,this.type=16}}class ud extends nn{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 rN extends nn{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 oN extends nn{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 iN extends nn{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 sN extends nn{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 aN extends nn{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 lN{constructor(t){this.route=t,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class uN{constructor(t){this.route=t,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class cN{constructor(t){this.snapshot=t,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class dN{constructor(t){this.snapshot=t,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class fN{constructor(t){this.snapshot=t,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class hN{constructor(t){this.snapshot=t,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class L_{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 mN=(()=>{class e{createUrlTree(n,r,o,i,s,a){return KR(n||r.root,o,i,s,a)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=A({token:e,factory:e.\u0275fac}),e})(),vN=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=A({token:e,factory:function(t){return mN.\u0275fac(t)},providedIn:"root"}),e})();class V_{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=cd(t,this._root);return n?n.children.map(r=>r.value):[]}firstChild(t){const n=cd(t,this._root);return n&&n.children.length>0?n.children[0].value:null}siblings(t){const n=dd(t,this._root);return n.length<2?[]:n[n.length-2].children.map(o=>o.value).filter(o=>o!==t)}pathFromRoot(t){return dd(t,this._root).map(n=>n.value)}}function cd(e,t){if(e===t.value)return t;for(const n of t.children){const r=cd(e,n);if(r)return r}return null}function dd(e,t){if(e===t.value)return[t];for(const n of t.children){const r=dd(e,n);if(r.length)return r.unshift(t),r}return[]}class Sn{constructor(t,n){this.value=t,this.children=n}toString(){return`TreeNode(${this.value})`}}function so(e){const t={};return e&&e.children.forEach(n=>t[n.value.outlet]=n),t}class j_ extends V_{constructor(t,n){super(t),this.snapshot=n,fd(this,t)}toString(){return this.snapshot.toString()}}function $_(e,t){const n=function _N(e,t){const s=new wa([],{},{},"",{},$,t,null,e.root,-1,{});return new U_("",new Sn(s,[]))}(e,t),r=new Vt([new mi("",{})]),o=new Vt({}),i=new Vt({}),s=new Vt({}),a=new Vt(""),l=new ao(r,o,s,a,i,$,t,n.root);return l.snapshot=n.root,new j_(new Sn(l,[]),n)}class ao{constructor(t,n,r,o,i,s,a,l){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(Y(u=>u[gi]))??R(void 0),this._futureSnapshot=l}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(Y(t=>no(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(Y(t=>no(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function B_(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 DN(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 wa{get title(){return this.data?.[gi]}constructor(t,n,r,o,i,s,a,l,u,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=l,this._urlSegment=u,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=no(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=no(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(r=>r.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class U_ extends V_{constructor(t,n){super(n),this.url=t,fd(this,n)}toString(){return H_(this._root)}}function fd(e,t){t.value._routerState=e,t.children.forEach(n=>fd(e,n))}function H_(e){const t=e.children.length>0?` { ${e.children.map(H_).join(", ")} } `:"";return`${e.value}${t}`}function hd(e){if(e.snapshot){const t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,tn(t.queryParams,n.queryParams)||e.queryParams.next(n.queryParams),t.fragment!==n.fragment&&e.fragment.next(n.fragment),tn(t.params,n.params)||e.params.next(n.params),function FR(e,t){if(e.length!==t.length)return!1;for(let n=0;ntn(n.parameters,t[r].parameters))}(e.url,t.url);return n&&!(!e.parent!=!t.parent)&&(!e.parent||pd(e.parent,t.parent))}function wi(e,t,n){if(n&&e.shouldReuseRoute(t.value,n.value.snapshot)){const r=n.value;r._futureSnapshot=t.value;const o=function wN(e,t,n){return t.children.map(r=>{for(const o of n.children)if(e.shouldReuseRoute(r.value,o.value.snapshot))return wi(e,r,o);return wi(e,r)})}(e,t,n);return new Sn(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=>wi(e,a)),s}}const r=function bN(e){return new ao(new Vt(e.url),new Vt(e.params),new Vt(e.queryParams),new Vt(e.fragment),new Vt(e.data),e.outlet,e.component,e)}(t.value),o=t.children.map(i=>wi(e,i));return new Sn(r,o)}}const gd="ngNavigationCancelingError";function G_(e,t){const{redirectTo:n,navigationBehaviorOptions:r}=sr(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,o=z_(!1,0,t);return o.url=n,o.navigationBehaviorOptions=r,o}function z_(e,t,n){const r=new Error("NavigationCancelingError: "+(e||""));return r[gd]=!0,r.cancellationCode=t,n&&(r.url=n),r}function W_(e){return q_(e)&&sr(e.url)}function q_(e){return e&&e[gd]}class EN{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.injector=null,this.children=new bi,this.attachRef=null}}let bi=(()=>{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 EN,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=A({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const ba=!1;let md=(()=>{class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=$,this.activateEvents=new he,this.deactivateEvents=new he,this.attachEvents=new he,this.detachEvents=new he,this.parentContexts=Z(bi),this.location=Z(Ft),this.changeDetector=Z(qs),this.environmentInjector=Z(pn)}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 C(4012,ba);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new C(4012,ba);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new C(4012,ba);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 C(4013,ba);this._activatedRoute=n;const o=this.location,s=n.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,l=new SN(n,a,o.injector);if(r&&function MN(e){return!!e.resolveComponentFactory}(r)){const u=r.resolveComponentFactory(s);this.activated=o.createComponent(u,o.length,l)}else this.activated=o.createComponent(s,{index:o.length,injector:l,environmentInjector:r??this.environmentInjector});this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=k({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[vt]}),e})();class SN{constructor(t,n,r){this.route=t,this.childContexts=n,this.parent=r}get(t,n){return t===ao?this.route:t===bi?this.childContexts:this.parent.get(t,n)}}let yd=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=Mt({type:e,selectors:[["ng-component"]],standalone:!0,features:[Km],decls:1,vars:0,template:function(n,r){1&n&&Zt(0,"router-outlet")},dependencies:[md],encapsulation:2}),e})();function Y_(e,t){return e.providers&&!e._injector&&(e._injector=Vs(e.providers,t,`Route: ${e.path}`)),e._injector??t}function _d(e){const t=e.children&&e.children.map(_d),n=t?{...e,children:t}:{...e};return!n.component&&!n.loadComponent&&(t||n.loadChildren)&&n.outlet&&n.outlet!==$&&(n.component=yd),n}function Et(e){return e.outlet||$}function Z_(e,t){const n=e.filter(r=>Et(r)===t);return n.push(...e.filter(r=>Et(r)!==t)),n}function Ei(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 xN{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),hd(this.futureState.root),this.activateChildRoutes(n,r,t)}deactivateChildRoutes(t,n,r){const o=so(n);t.children.forEach(i=>{const s=i.value.outlet;this.deactivateRoutes(i,o[s],r),delete o[s]}),Le(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=so(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=so(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=so(n);t.children.forEach(i=>{this.activateRoutes(i,o[i.value.outlet],r),this.forwardEvent(new hN(i.value.snapshot))}),t.children.length&&this.forwardEvent(new dN(t.value.snapshot))}activateRoutes(t,n,r){const o=t.value,i=n?n.value:null;if(hd(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),hd(a.route.value),this.activateChildRoutes(t,null,s.children)}else{const a=Ei(o.snapshot),l=a?.get(Ho)??null;s.attachRef=null,s.route=o,s.resolver=l,s.injector=a,s.outlet&&s.outlet.activateWith(o,s.injector),this.activateChildRoutes(t,null,s.children)}}else this.activateChildRoutes(t,null,r)}}class Q_{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class Ea{constructor(t,n){this.component=t,this.route=n}}function RN(e,t,n){const r=e._root;return Si(r,t?t._root:null,n,[r.value])}function lo(e,t){const n=Symbol(),r=t.get(e,n);return r===n?"function"!=typeof e||function Tw(e){return null!==$i(e)}(e)?t.get(e):e:r}function Si(e,t,n,r,o={canDeactivateChecks:[],canActivateChecks:[]}){const i=so(t);return e.children.forEach(s=>{(function FN(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 l=function PN(e,t,n){if("function"==typeof n)return n(e,t);switch(n){case"pathParamsChange":return!ir(e.url,t.url);case"pathParamsOrQueryParamsChange":return!ir(e.url,t.url)||!tn(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!pd(e,t)||!tn(e.queryParams,t.queryParams);default:return!pd(e,t)}}(s,i,i.routeConfig.runGuardsAndResolvers);l?o.canActivateChecks.push(new Q_(r)):(i.data=s.data,i._resolvedData=s._resolvedData),Si(e,t,i.component?a?a.children:null:n,r,o),l&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new Ea(a.outlet.component,s))}else s&&Mi(t,a,o),o.canActivateChecks.push(new Q_(r)),Si(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]}),Le(i,(s,a)=>Mi(s,n.getContext(a),o)),o}function Mi(e,t,n){const r=so(e),o=e.value;Le(r,(i,s)=>{Mi(i,o.component?t?t.children.getContext(s):null:t,n)}),n.canDeactivateChecks.push(new Ea(o.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,o))}function Ii(e){return"function"==typeof e}function Dd(e){return e instanceof da||"EmptyError"===e?.name}const Sa=Symbol("INITIAL_VALUE");function uo(){return en(e=>d_(e.map(t=>t.pipe(to(1),function IR(...e){const t=vo(e);return Re((n,r)=>{(t?Xc(e,n,t):Xc(e,n)).subscribe(r)})}(Sa)))).pipe(Y(t=>{for(const n of t)if(!0!==n){if(n===Sa)return Sa;if(!1===n||n instanceof Ln)return n}return!0}),Nn(t=>t!==Sa),to(1)))}function K_(e){return function PC(...e){return sf(e)}(He(t=>{if(sr(t))throw G_(0,t)}),Y(t=>!0===t))}const Cd={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function X_(e,t,n,r,o){const i=wd(e,t,n);return i.matched?function XN(e,t,n,r){const o=t.canMatch;return o&&0!==o.length?R(o.map(s=>{const a=lo(s,e);return kn(function BN(e){return e&&Ii(e.canMatch)}(a)?a.canMatch(t,n):e.runInContext(()=>a(t,n)))})).pipe(uo(),K_()):R(!0)}(r=Y_(t,r),t,n).pipe(Y(s=>!0===s?i:{...Cd})):R(i)}function wd(e,t,n){if(""===t.path)return"full"===t.pathMatch&&(e.hasChildren()||n.length>0)?{...Cd}:{matched:!0,consumedSegments:[],remainingSegments:n,parameters:{},positionalParamSegments:{}};const o=(t.matcher||NR)(n,e,t);if(!o)return{...Cd};const i={};Le(o.posParams,(a,l)=>{i[l]=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 Ma(e,t,n,r){if(n.length>0&&function tF(e,t,n){return n.some(r=>Ia(e,t,r)&&Et(r)!==$)}(e,n,r)){const i=new W(t,function eF(e,t,n,r){const o={};o[$]=r,r._sourceSegment=e,r._segmentIndexShift=t.length;for(const i of n)if(""===i.path&&Et(i)!==$){const s=new W([],{});s._sourceSegment=e,s._segmentIndexShift=t.length,o[Et(i)]=s}return o}(e,t,r,new W(n,e.children)));return i._sourceSegment=e,i._segmentIndexShift=t.length,{segmentGroup:i,slicedSegments:[]}}if(0===n.length&&function nF(e,t,n){return n.some(r=>Ia(e,t,r))}(e,n,r)){const i=new W(e.segments,function JN(e,t,n,r,o){const i={};for(const s of r)if(Ia(e,n,s)&&!o[Et(s)]){const a=new W([],{});a._sourceSegment=e,a._segmentIndexShift=t.length,i[Et(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 W(e.segments,e.children);return o._sourceSegment=e,o._segmentIndexShift=t.length,{segmentGroup:o,slicedSegments:n}}function Ia(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path}function J_(e,t,n,r){return!!(Et(e)===r||r!==$&&Ia(t,n,e))&&("**"===e.path||wd(t,e,n).matched)}function eD(e,t,n){return 0===t.length&&!e.children[n]}const Aa=!1;class Ta{constructor(t){this.segmentGroup=t||null}}class tD{constructor(t){this.urlTree=t}}function Ai(e){return pi(new Ta(e))}function nD(e){return pi(new tD(e))}class sF{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=Ma(this.urlTree.root,[],[],this.config).segmentGroup,n=new W(t.segments,t.children);return this.expandSegmentGroup(this.injector,this.config,n,$).pipe(Y(i=>this.createUrlTree(_a(i),this.urlTree.queryParams,this.urlTree.fragment))).pipe(Pn(i=>{if(i instanceof tD)return this.allowRedirects=!1,this.match(i.urlTree);throw i instanceof Ta?this.noMatchError(i):i}))}match(t){return this.expandSegmentGroup(this.injector,this.config,t.root,$).pipe(Y(o=>this.createUrlTree(_a(o),t.queryParams,t.fragment))).pipe(Pn(o=>{throw o instanceof Ta?this.noMatchError(o):o}))}noMatchError(t){return new C(4002,Aa)}createUrlTree(t,n,r){const o=od(t);return new Ln(o,n,r)}expandSegmentGroup(t,n,r,o){return 0===r.segments.length&&r.hasChildren()?this.expandChildren(t,n,r).pipe(Y(i=>new W([],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 Ee(o).pipe(or(i=>{const s=r.children[i],a=Z_(n,i);return this.expandSegmentGroup(t,a,s,i).pipe(Y(l=>({segment:l,outlet:i})))}),m_((i,s)=>(i[s.outlet]=s.segment,i),{}),y_())}expandSegment(t,n,r,o,i,s){return Ee(r).pipe(or(a=>this.expandSegmentAgainstRoute(t,n,r,a,o,i,s).pipe(Pn(u=>{if(u instanceof Ta)return R(null);throw u}))),Fn(a=>!!a),Pn((a,l)=>{if(Dd(a))return eD(n,o,i)?R(new W([],{})):Ai(n);throw a}))}expandSegmentAgainstRoute(t,n,r,o,i,s,a){return J_(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):Ai(n):Ai(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("/")?nD(i):this.lineralizeSegments(r,i).pipe(Ne(s=>{const a=new W(s,{});return this.expandSegment(t,a,n,s,o,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(t,n,r,o,i,s){const{matched:a,consumedSegments:l,remainingSegments:u,positionalParamSegments:c}=wd(n,o,i);if(!a)return Ai(n);const d=this.applyRedirectCommands(l,o.redirectTo,c);return o.redirectTo.startsWith("/")?nD(d):this.lineralizeSegments(o,d).pipe(Ne(f=>this.expandSegment(t,n,r,f.concat(u),s,!1)))}matchSegmentAgainstRoute(t,n,r,o,i){return"**"===r.path?(t=Y_(r,t),r.loadChildren?(r._loadedRoutes?R({routes:r._loadedRoutes,injector:r._loadedInjector}):this.configLoader.loadChildren(t,r)).pipe(Y(a=>(r._loadedRoutes=a.routes,r._loadedInjector=a.injector,new W(o,{})))):R(new W(o,{}))):X_(n,r,o,t).pipe(en(({matched:s,consumedSegments:a,remainingSegments:l})=>s?this.getChildConfig(t=r._injector??t,r,o).pipe(Ne(c=>{const d=c.injector??t,f=c.routes,{segmentGroup:h,slicedSegments:p}=Ma(n,a,l,f),g=new W(h.segments,h.children);if(0===p.length&&g.hasChildren())return this.expandChildren(d,f,g).pipe(Y(m=>new W(a,m)));if(0===f.length&&0===p.length)return R(new W(a,{}));const y=Et(r)===i;return this.expandSegment(d,g,f,p,y?$:i,!0).pipe(Y(b=>new W(a.concat(b.segments),b.children)))})):Ai(n)))}getChildConfig(t,n,r){return n.children?R({routes:n.children,injector:t}):n.loadChildren?void 0!==n._loadedRoutes?R({routes:n._loadedRoutes,injector:n._loadedInjector}):function KN(e,t,n,r){const o=t.canLoad;return void 0===o||0===o.length?R(!0):R(o.map(s=>{const a=lo(s,e);return kn(function LN(e){return e&&Ii(e.canLoad)}(a)?a.canLoad(t,n):e.runInContext(()=>a(t,n)))})).pipe(uo(),K_())}(t,n,r).pipe(Ne(o=>o?this.configLoader.loadChildren(t,n).pipe(He(i=>{n._loadedRoutes=i.routes,n._loadedInjector=i.injector})):function oF(e){return pi(z_(Aa,3))}())):R({routes:[],injector:t})}lineralizeSegments(t,n){let r=[],o=n.root;for(;;){if(r=r.concat(o.segments),0===o.numberOfChildren)return R(r);if(o.numberOfChildren>1||!o.children[$])return t.redirectTo,pi(new C(4e3,Aa));o=o.children[$]}}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 Ln(i,this.createQueryParams(n.queryParams,this.urlTree.queryParams),n.fragment)}createQueryParams(t,n){const r={};return Le(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 Le(n.children,(a,l)=>{s[l]=this.createSegmentGroup(t,a,r,o)}),new W(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 C(4001,Aa);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 lF{}class dF{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=Ma(this.urlTree.root,[],[],this.config.filter(n=>void 0===n.redirectTo)).segmentGroup;return this.processSegmentGroup(this.injector,this.config,t,$).pipe(Y(n=>{if(null===n)return null;const r=new wa([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},$,this.rootComponentType,null,this.urlTree.root,-1,{}),o=new Sn(r,n),i=new U_(this.url,o);return this.inheritParamsAndData(i._root),i}))}inheritParamsAndData(t){const n=t.value,r=B_(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 Ee(Object.keys(r.children)).pipe(or(o=>{const i=r.children[o],s=Z_(n,o);return this.processSegmentGroup(t,s,i,o)}),m_((o,i)=>o&&i?(o.push(...i),o):null),function OR(e,t=!1){return Re((n,r)=>{let o=0;n.subscribe(Ae(r,i=>{const s=e(i,o++);(s||t)&&r.next(i),!s&&r.complete()}))})}(o=>null!==o),fa(null),y_(),Y(o=>{if(null===o)return null;const i=oD(o);return function fF(e){e.sort((t,n)=>t.value.outlet===$?-1:n.value.outlet===$?1:t.value.outlet.localeCompare(n.value.outlet))}(i),i}))}processSegment(t,n,r,o,i){return Ee(n).pipe(or(s=>this.processSegmentAgainstRoute(s._injector??t,s,r,o,i)),Fn(s=>!!s),Pn(s=>{if(Dd(s))return eD(r,o,i)?R([]):R(null);throw s}))}processSegmentAgainstRoute(t,n,r,o,i){if(n.redirectTo||!J_(n,r,o,i))return R(null);let s;if("**"===n.path){const a=o.length>0?D_(o).parameters:{},l=sD(r)+o.length;s=R({snapshot:new wa(o,a,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,aD(n),Et(n),n.component??n._loadedComponent??null,n,iD(r),l,lD(n)),consumedSegments:[],remainingSegments:[]})}else s=X_(r,n,o,t).pipe(Y(({matched:a,consumedSegments:l,remainingSegments:u,parameters:c})=>{if(!a)return null;const d=sD(r)+l.length;return{snapshot:new wa(l,c,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,aD(n),Et(n),n.component??n._loadedComponent??null,n,iD(r),d,lD(n)),consumedSegments:l,remainingSegments:u}}));return s.pipe(en(a=>{if(null===a)return R(null);const{snapshot:l,consumedSegments:u,remainingSegments:c}=a;t=n._injector??t;const d=n._loadedInjector??t,f=function hF(e){return e.children?e.children:e.loadChildren?e._loadedRoutes:[]}(n),{segmentGroup:h,slicedSegments:p}=Ma(r,u,c,f.filter(y=>void 0===y.redirectTo));if(0===p.length&&h.hasChildren())return this.processChildren(d,f,h).pipe(Y(y=>null===y?null:[new Sn(l,y)]));if(0===f.length&&0===p.length)return R([new Sn(l,[])]);const g=Et(n)===i;return this.processSegment(d,f,h,p,g?$:i).pipe(Y(y=>null===y?null:[new Sn(l,y)]))}))}}function pF(e){const t=e.value.routeConfig;return t&&""===t.path&&void 0===t.redirectTo}function oD(e){const t=[],n=new Set;for(const r of e){if(!pF(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=oD(r.children);t.push(new Sn(r.value,o))}return t.filter(r=>!n.has(r))}function iD(e){let t=e;for(;t._sourceSegment;)t=t._sourceSegment;return t}function sD(e){let t=e,n=t._segmentIndexShift??0;for(;t._sourceSegment;)t=t._sourceSegment,n+=t._segmentIndexShift??0;return n-1}function aD(e){return e.data||{}}function lD(e){return e.resolve||{}}function uD(e){return"string"==typeof e.title||null===e.title}function bd(e){return en(t=>{const n=e(t);return n?Ee(n).pipe(Y(()=>t)):R(t)})}const co=new I("ROUTES");let Ed=(()=>{class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=Z($y)}loadComponent(n){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return R(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);const r=kn(n.loadComponent()).pipe(Y(dD),He(i=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=i}),td(()=>{this.componentLoaders.delete(n)})),o=new p_(r,()=>new on).pipe(Jc());return this.componentLoaders.set(n,o),o}loadChildren(n,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return R({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);const i=this.loadModuleFactoryOrRoutes(r.loadChildren).pipe(Y(a=>{this.onLoadEndListener&&this.onLoadEndListener(r);let l,u,c=!1;Array.isArray(a)?u=a:(l=a.create(n).injector,u=__(l.get(co,[],F.Self|F.Optional)));return{routes:u.map(_d),injector:l}}),td(()=>{this.childrenLoaders.delete(r)})),s=new p_(i,()=>new on).pipe(Jc());return this.childrenLoaders.set(r,s),s}loadModuleFactoryOrRoutes(n){return kn(n()).pipe(Y(dD),Ne(r=>r instanceof Zm||Array.isArray(r)?R(r):Ee(this.compiler.compileModuleAsync(r))))}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function dD(e){return function wF(e){return e&&"object"==typeof e&&"default"in e}(e)?e.default:e}let xa=(()=>{class e{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.lastSuccessfulNavigation=null,this.events=new on,this.configLoader=Z(Ed),this.environmentInjector=Z(pn),this.urlSerializer=Z(yi),this.rootContexts=Z(bi),this.navigationId=0,this.afterPreactivation=()=>R(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=o=>this.events.next(new uN(o)),this.configLoader.onLoadStartListener=o=>this.events.next(new lN(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 Vt({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:Ci,restoredState:null,currentSnapshot:n.routerState.snapshot,targetSnapshot:null,currentRouterState:n.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(Nn(r=>0!==r.id),Y(r=>({...r,extractedUrl:n.urlHandlingStrategy.extract(r.rawUrl)})),en(r=>{let o=!1,i=!1;return R(r).pipe(He(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}}),en(s=>{const a=n.browserUrlTree.toString(),l=!n.navigated||s.extractedUrl.toString()!==a||a!==n.currentUrlTree.toString();if(!l&&"reload"!==(s.extras.onSameUrlNavigation??n.onSameUrlNavigation)){const c="";return this.events.next(new Ca(s.id,n.serializeUrl(r.rawUrl),c,0)),n.rawUrlTree=s.rawUrl,s.resolve(null),jt}if(n.urlHandlingStrategy.shouldProcessUrl(s.rawUrl))return fD(s.source)&&(n.browserUrlTree=s.extractedUrl),R(s).pipe(en(c=>{const d=this.transitions?.getValue();return this.events.next(new ld(c.id,this.urlSerializer.serialize(c.extractedUrl),c.source,c.restoredState)),d!==this.transitions?.getValue()?jt:Promise.resolve(c)}),function aF(e,t,n,r){return en(o=>function iF(e,t,n,r,o){return new sF(e,t,n,r,o).apply()}(e,t,n,o.extractedUrl,r).pipe(Y(i=>({...o,urlAfterRedirects:i}))))}(this.environmentInjector,this.configLoader,this.urlSerializer,n.config),He(c=>{this.currentNavigation={...this.currentNavigation,finalUrl:c.urlAfterRedirects},r.urlAfterRedirects=c.urlAfterRedirects}),function mF(e,t,n,r,o){return Ne(i=>function cF(e,t,n,r,o,i,s="emptyOnly"){return new dF(e,t,n,r,o,s,i).recognize().pipe(en(a=>null===a?function uF(e){return new be(t=>t.error(e))}(new lF):R(a)))}(e,t,n,i.urlAfterRedirects,r.serialize(i.urlAfterRedirects),r,o).pipe(Y(s=>({...i,targetSnapshot:s}))))}(this.environmentInjector,this.rootComponentType,n.config,this.urlSerializer,n.paramsInheritanceStrategy),He(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 rN(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(d)}));if(l&&n.urlHandlingStrategy.shouldProcessUrl(n.rawUrlTree)){const{id:c,extractedUrl:d,source:f,restoredState:h,extras:p}=s,g=new ld(c,this.urlSerializer.serialize(d),f,h);this.events.next(g);const y=$_(d,this.rootComponentType).snapshot;return R(r={...s,targetSnapshot:y,urlAfterRedirects:d,extras:{...p,skipLocationChange:!1,replaceUrl:!1}})}{const c="";return this.events.next(new Ca(s.id,n.serializeUrl(r.extractedUrl),c,1)),n.rawUrlTree=s.rawUrl,s.resolve(null),jt}}),He(s=>{const a=new oN(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(a)}),Y(s=>r={...s,guards:RN(s.targetSnapshot,s.currentSnapshot,this.rootContexts)}),function HN(e,t){return Ne(n=>{const{targetSnapshot:r,currentSnapshot:o,guards:{canActivateChecks:i,canDeactivateChecks:s}}=n;return 0===s.length&&0===i.length?R({...n,guardsResult:!0}):function GN(e,t,n,r){return Ee(e).pipe(Ne(o=>function QN(e,t,n,r,o){const i=t&&t.routeConfig?t.routeConfig.canDeactivate:null;return i&&0!==i.length?R(i.map(a=>{const l=Ei(t)??o,u=lo(a,l);return kn(function $N(e){return e&&Ii(e.canDeactivate)}(u)?u.canDeactivate(e,t,n,r):l.runInContext(()=>u(e,t,n,r))).pipe(Fn())})).pipe(uo()):R(!0)}(o.component,o.route,n,t,r)),Fn(o=>!0!==o,!0))}(s,r,o,e).pipe(Ne(a=>a&&function kN(e){return"boolean"==typeof e}(a)?function zN(e,t,n,r){return Ee(t).pipe(or(o=>Xc(function qN(e,t){return null!==e&&t&&t(new cN(e)),R(!0)}(o.route.parent,r),function WN(e,t){return null!==e&&t&&t(new fN(e)),R(!0)}(o.route,r),function ZN(e,t,n){const r=t[t.length-1],i=t.slice(0,t.length-1).reverse().map(s=>function NN(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=>h_(()=>R(s.guards.map(l=>{const u=Ei(s.node)??n,c=lo(l,u);return kn(function jN(e){return e&&Ii(e.canActivateChild)}(c)?c.canActivateChild(r,e):u.runInContext(()=>c(r,e))).pipe(Fn())})).pipe(uo())));return R(i).pipe(uo())}(e,o.path,n),function YN(e,t,n){const r=t.routeConfig?t.routeConfig.canActivate:null;if(!r||0===r.length)return R(!0);const o=r.map(i=>h_(()=>{const s=Ei(t)??n,a=lo(i,s);return kn(function VN(e){return e&&Ii(e.canActivate)}(a)?a.canActivate(t,e):s.runInContext(()=>a(t,e))).pipe(Fn())}));return R(o).pipe(uo())}(e,o.route,n))),Fn(o=>!0!==o,!0))}(r,i,e,t):R(a)),Y(a=>({...n,guardsResult:a})))})}(this.environmentInjector,s=>this.events.next(s)),He(s=>{if(r.guardsResult=s.guardsResult,sr(s.guardsResult))throw G_(0,s.guardsResult);const a=new iN(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot,!!s.guardsResult);this.events.next(a)}),Nn(s=>!!s.guardsResult||(n.restoreHistory(s),this.cancelNavigationTransition(s,"",3),!1)),bd(s=>{if(s.guards.canActivateChecks.length)return R(s).pipe(He(a=>{const l=new sN(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(l)}),en(a=>{let l=!1;return R(a).pipe(function yF(e,t){return Ne(n=>{const{targetSnapshot:r,guards:{canActivateChecks:o}}=n;if(!o.length)return R(n);let i=0;return Ee(o).pipe(or(s=>function vF(e,t,n,r){const o=e.routeConfig,i=e._resolve;return void 0!==o?.title&&!uD(o)&&(i[gi]=o.title),function _F(e,t,n,r){const o=function DF(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e)]}(e);if(0===o.length)return R({});const i={};return Ee(o).pipe(Ne(s=>function CF(e,t,n,r){const o=Ei(t)??r,i=lo(e,o);return kn(i.resolve?i.resolve(t,n):o.runInContext(()=>i(t,n)))}(e[s],t,n,r).pipe(Fn(),He(a=>{i[s]=a}))),ed(1),function xR(e){return Y(()=>e)}(i),Pn(s=>Dd(s)?jt:pi(s)))}(i,e,t,r).pipe(Y(s=>(e._resolvedData=s,e.data=B_(e,n).resolve,o&&uD(o)&&(e.data[gi]=o.title),null)))}(s.route,r,e,t)),He(()=>i++),ed(1),Ne(s=>i===o.length?R(n):jt))})}(n.paramsInheritanceStrategy,this.environmentInjector),He({next:()=>l=!0,complete:()=>{l||(n.restoreHistory(a),this.cancelNavigationTransition(a,"",2))}}))}),He(a=>{const l=new aN(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(l)}))}),bd(s=>{const a=l=>{const u=[];l.routeConfig?.loadComponent&&!l.routeConfig._loadedComponent&&u.push(this.configLoader.loadComponent(l.routeConfig).pipe(He(c=>{l.component=c}),Y(()=>{})));for(const c of l.children)u.push(...a(c));return u};return d_(a(s.targetSnapshot.root)).pipe(fa(),to(1))}),bd(()=>this.afterPreactivation()),Y(s=>{const a=function CN(e,t,n){const r=wi(e,t._root,n?n._root:void 0);return new j_(r,t)}(n.routeReuseStrategy,s.targetSnapshot,s.currentRouterState);return r={...s,targetRouterState:a}}),He(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)=>Y(r=>(new xN(t,r.targetRouterState,r.currentRouterState,n).activate(e),r)))(this.rootContexts,n.routeReuseStrategy,s=>this.events.next(s)),to(1),He({next:s=>{o=!0,this.lastSuccessfulNavigation=this.currentNavigation,n.navigated=!0,this.events.next(new ar(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(n.currentUrlTree))),n.titleStrategy?.updateTitle(s.targetRouterState.snapshot),s.resolve(!0)},complete:()=>{o=!0}}),td(()=>{o||i||this.cancelNavigationTransition(r,"",1),this.currentNavigation?.id===r.id&&(this.currentNavigation=null)}),Pn(s=>{if(i=!0,q_(s)){W_(s)||(n.navigated=!0,n.restoreHistory(r,!0));const a=new Da(r.id,this.urlSerializer.serialize(r.extractedUrl),s.message,s.cancellationCode);if(this.events.next(a),W_(s)){const l=n.urlHandlingStrategy.merge(s.url,n.rawUrlTree),u={skipLocationChange:r.extras.skipLocationChange,replaceUrl:"eager"===n.urlUpdateStrategy||fD(r.source)};n.scheduleNavigation(l,Ci,null,u,{resolve:r.resolve,reject:r.reject,promise:r.promise})}else r.resolve(!1)}else{n.restoreHistory(r,!0);const a=new ud(r.id,this.urlSerializer.serialize(r.extractedUrl),s,r.targetSnapshot??void 0);this.events.next(a);try{r.resolve(n.errorHandler(s))}catch(l){r.reject(l)}}return jt}))}))}cancelNavigationTransition(n,r,o){const i=new Da(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=A({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function fD(e){return e!==Ci}let hD=(()=>{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===$);return r}getResolvedTitleForRoute(n){return n.data[gi]}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=A({token:e,factory:function(){return Z(bF)},providedIn:"root"}),e})(),bF=(()=>{class e extends hD{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)(O(i_))},e.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),EF=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=A({token:e,factory:function(){return Z(MF)},providedIn:"root"}),e})();class SF{shouldDetach(t){return!1}store(t,n){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,n){return t.routeConfig===n.routeConfig}}let MF=(()=>{class e extends SF{}return e.\u0275fac=function(){let t;return function(r){return(t||(t=ke(e)))(r||e)}}(),e.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Ra=new I("",{providedIn:"root",factory:()=>({})});let AF=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=A({token:e,factory:function(){return Z(TF)},providedIn:"root"}),e})(),TF=(()=>{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=A({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function OF(e){throw e}function xF(e,t,n){return t.parse("/")}const RF={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},NF={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Qe=(()=>{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(sT),this.isNgZoneEnabled=!1,this.options=Z(Ra,{optional:!0})||{},this.errorHandler=this.options.errorHandler||OF,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||xF,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=Z(AF),this.routeReuseStrategy=Z(EF),this.urlCreationStrategy=Z(vN),this.titleStrategy=Z(hD),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=__(Z(co,{optional:!0})??[]),this.navigationTransitions=Z(xa),this.urlSerializer=Z(yi),this.location=Z(Ic),this.isNgZoneEnabled=Z(_e)instanceof _e&&_e.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new Ln,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=$_(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),Ci,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 l={...o};delete l.navigationId,delete l.\u0275routerPageId,0!==Object.keys(l).length&&(i.state=l)}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(_d),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:l}=r,u=l?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,u??null)}navigateByUrl(n,r={skipLocationChange:!1}){const o=sr(n)?n:this.parseUrl(n),i=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(i,Ci,null,r)}navigate(n,r={skipLocationChange:!1}){return function FF(e){for(let t=0;t{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,l,u,c;return s?(a=s.resolve,l=s.reject,u=s.promise):u=new Promise((d,f)=>{a=d,l=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:l,promise:u,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),u.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=A({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();class pD{}let LF=(()=>{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(Nn(n=>n instanceof ar),or(()=>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=Vs(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 Ee(o).pipe(dr())}preloadConfig(n,r){return this.preloadingStrategy.preload(r,()=>{let o;o=r.loadChildren&&void 0===r.canLoad?this.loader.loadChildren(n,r):R(null);const i=o.pipe(Ne(s=>null===s?R(void 0):(r._loadedRoutes=s.routes,r._loadedInjector=s.injector,this.processRoutes(s.injector??n,s.routes))));return r.loadComponent&&!r._loadedComponent?Ee([i,this.loader.loadComponent(r)]).pipe(dr()):i})}}return e.\u0275fac=function(n){return new(n||e)(O(Qe),O($y),O(pn),O(pD),O(Ed))},e.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Id=new I("");let gD=(()=>{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 ld?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=n.navigationTrigger,this.restoredId=n.restoredState?n.restoredState.navigationId:0):n instanceof ar&&(this.lastId=n.id,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof L_&&(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 L_(n,"popstate"===this.lastSource?this.store[this.restoredId]:null,r))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}}return e.\u0275fac=function(n){!function Jp(){throw new Error("invalid")}()},e.\u0275prov=A({token:e,factory:e.\u0275fac}),e})();var ht=(()=>((ht=ht||{})[ht.COMPLETE=0]="COMPLETE",ht[ht.FAILED=1]="FAILED",ht[ht.REDIRECTING=2]="REDIRECTING",ht))();const fo=!1;function Vn(e,t){return{\u0275kind:e,\u0275providers:t}}const Ad=new I("",{providedIn:"root",factory:()=>!1});function yD(){const e=Z(Wt);return t=>{const n=e.get(zs);if(t!==n.components[0])return;const r=e.get(Qe),o=e.get(vD);1===e.get(Td)&&r.initialNavigation(),e.get(_D,null,F.Optional)?.setUpPreloading(),e.get(Id,null,F.Optional)?.init(),r.resetRootComponentType(n.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}const vD=new I(fo?"bootstrap done indicator":"",{factory:()=>new on}),Td=new I(fo?"initial navigation":"",{providedIn:"root",factory:()=>1});function UF(){let e=[];return e=fo?[{provide:vs,multi:!0,useFactory:()=>{const t=Z(Qe);return()=>t.events.subscribe(n=>{console.group?.(`Router Event: ${n.constructor.name}`),console.log(function pN(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?.()})}}]:[],Vn(1,e)}const _D=new I(fo?"router preloader":"");function HF(e){return Vn(0,[{provide:_D,useExisting:LF},{provide:pD,useExisting:e}])}const Ti=!1,DD=new I(Ti?"router duplicate forRoot guard":"ROUTER_FORROOT_GUARD"),GF=[Ic,{provide:yi,useClass:nd},Qe,bi,{provide:ao,useFactory:function mD(e){return e.routerState.root},deps:[Qe]},Ed,Ti?{provide:Ad,useValue:!0}:[]];function zF(){return new Yy("Router",Qe)}let CD=(()=>{class e{constructor(n){}static forRoot(n,r){return{ngModule:e,providers:[GF,Ti&&r?.enableTracing?UF().\u0275providers:[],{provide:co,multi:!0,useValue:n},{provide:DD,useFactory:ZF,deps:[[Qe,new No,new Fo]]},{provide:Ra,useValue:r||{}},r?.useHash?{provide:rr,useClass:qT}:{provide:rr,useClass:yv},{provide:Id,useFactory:()=>{const e=Z(fx),t=Z(_e),n=Z(Ra),r=Z(xa),o=Z(yi);return n.scrollOffset&&e.setOffset(n.scrollOffset),new gD(o,r,e,t,n)}},r?.preloadingStrategy?HF(r.preloadingStrategy).\u0275providers:[],{provide:Yy,multi:!0,useFactory:zF},r?.initialNavigation?QF(r):[],[{provide:wD,useFactory:yD},{provide:qy,multi:!0,useExisting:wD}]]}}static forChild(n){return{ngModule:e,providers:[{provide:co,multi:!0,useValue:n}]}}}return e.\u0275fac=function(n){return new(n||e)(O(DD,8))},e.\u0275mod=Ut({type:e}),e.\u0275inj=St({imports:[yd]}),e})();function ZF(e){if(Ti&&e)throw new C(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 QF(e){return["disabled"===e.initialNavigation?Vn(3,[{provide:Us,multi:!0,useFactory:()=>{const t=Z(Qe);return()=>{t.setUpLocationChangeListener()}}},{provide:Td,useValue:2}]).\u0275providers:[],"enabledBlocking"===e.initialNavigation?Vn(2,[{provide:Td,useValue:0},{provide:Us,multi:!0,deps:[Wt],useFactory:t=>{const n=t.get(zT,Promise.resolve());return()=>n.then(()=>new Promise(r=>{const o=t.get(Qe),i=t.get(vD);(function VF(e,t){e.events.pipe(Nn(n=>n instanceof ar||n instanceof Da||n instanceof ud||n instanceof Ca),Y(n=>n instanceof ar||n instanceof Ca?ht.COMPLETE:n instanceof Da&&(0===n.code||1===n.code)?ht.REDIRECTING:ht.FAILED),Nn(n=>n!==ht.REDIRECTING),to(1)).subscribe(()=>{t()})})(o,()=>{r(!0)}),t.get(xa).afterPreactivation=()=>(r(!0),i.closed?R(void 0):i),o.initialNavigation()}))}}]).\u0275providers:[]]}const wD=new I(Ti?"Router Initializer":"");class jn{constructor(t,n){this.x=t,this.y=n}add(t){return new jn(this.x+t.x,this.y+t.y)}sub(t){return new jn(this.x-t.x,this.y-t.y)}mult(t){return new jn(this.x*t,this.y*t)}div(t){return new jn(this.x/t,this.y/t)}length(){return Math.sqrt(this.x*this.x+this.y*this.y)}static getFromJson(t){return new jn(t.x,t.y)}}let Od=(()=>{class e{constructor(n,r,o,i,s,a,l="red"){this.newX=void 0,this.newY=void 0,this.history=[],this.id=e.idCounter++,this.name=n,this.x=r,this.y=o,this.radius=i,this.color=l,this.velocity=a,this.weight=s,this.makeHistoryPoint()}stageMove(n=!0){n?(this.newX=this.x+this.velocity.x,this.newY=this.y+this.velocity.y):this.history.length>0&&(this.newX=this.history[this.history.length-1].x,this.newY=this.history[this.history.length-1].y)}applyMove(n=!0){void 0!==this.newX&&void 0!==this.newY&&(this.x=this.newX,this.y=this.newY,this.newX=void 0,this.newY=void 0,n?this.makeHistoryPoint():this.history.length>1&&this.history.pop())}makeHistoryPoint(){this.history.push({x:this.x,y:this.y})}getScreenCoordinates(){return[this.x-this.radius+window.innerWidth/2,window.innerHeight/2-this.y-this.radius]}static getObjFromJson(n){return new e(n.name,n.x,n.y,n.radius,n.weight,jn.getFromJson(n.velocity),n.color)}}return e.idCounter=0,e})(),bD=(()=>{class e{constructor(){}saveObjects(n){localStorage.setItem("objects",JSON.stringify(n))}getObjects(){const n=localStorage.getItem("objects");if(n){let r=JSON.parse(n),o=[];for(let i of r)o.push(Od.getObjFromJson(i));return o}return[]}clear(){localStorage.clear()}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),XF=(()=>{class e{constructor(){}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),JF=(()=>{class e{constructor(n,r,o){this.router=n,this.localStorageService=r,this.settingsService=o}exportObjects(){const n=this.localStorageService.getObjects(),r="data:text/json;charset=utf-8,"+encodeURIComponent(JSON.stringify(n)),o=document.createElement("a");o.setAttribute("href",r),o.setAttribute("download","objects.json"),document.body.appendChild(o),o.click(),o.remove()}importObjects(){const n=document.createElement("input");n.type="file",n.accept=".json",n.onchange=r=>{const o=r.target.files[0],i=new FileReader;i.readAsText(o),i.onload=()=>{const s=JSON.parse(i.result);this.localStorageService.saveObjects(s)}},n.click()}clearLocalStorage(){this.localStorageService.clear(),alert("Local storage cleared!")}goToHome(){this.router.navigate([""])}}return e.\u0275fac=function(n){return new(n||e)(v(Qe),v(bD),v(XF))},e.\u0275cmp=Mt({type:e,selectors:[["app-settings"]],decls:35,vars:0,consts:[["src","assets/logo_small.png","alt","home",1,"smallLogo",3,"click"],[1,"settings"],[1,"row"],[1,"label"],[1,"actionButton"],[1,"actionButton",3,"click"],["href","mailto:philxsb@gmail.com",1,"actionButton",3,"click"]],template:function(n,r){1&n&&(S(0,"img",0),z("click",function(){return r.goToHome()}),M(),S(1,"div",1)(2,"h1"),B(3,"View"),M(),S(4,"div",2)(5,"p",3),B(6,"Show coordinate system"),M(),S(7,"button",4),B(8,"ON"),M()(),S(9,"h1"),B(10,"Import & Export"),M(),S(11,"div",2)(12,"p",3),B(13,"Import from JSON"),M(),S(14,"button",5),z("click",function(){return r.importObjects()}),B(15,"Import"),M()(),S(16,"div",2)(17,"p",3),B(18,"Export to JSON"),M(),S(19,"button",5),z("click",function(){return r.exportObjects()}),B(20,"Export"),M()(),S(21,"h1"),B(22,"Local Storage"),M(),S(23,"div",2)(24,"p",3),B(25,"Clear local storage"),M(),S(26,"button",5),z("click",function(){return r.clearLocalStorage()}),B(27,"Clear"),M()(),S(28,"h1"),B(29,"Contact"),M(),S(30,"div",2)(31,"p",3),B(32,"Report an issue"),M(),S(33,"a",6),z("click",function(){return r.clearLocalStorage()}),B(34,"Report"),M()()())},styles:[".settings[_ngcontent-%COMP%]{margin-top:100px;margin-left:100px}.settings[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin-top:50px;font-size:40px}.settings[_ngcontent-%COMP%] .row[_ngcontent-%COMP%]{display:flex;flex-direction:row;margin-bottom:20px}.settings[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .label[_ngcontent-%COMP%]{width:400px;font-size:20px}.settings[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .actionButton[_ngcontent-%COMP%]{margin-left:50px;width:200px;background-color:#06001f;border-radius:5px;border:2px solid rgb(255,255,255);box-shadow:0 0 5px #fff;color:#fff;font-size:16px;font-weight:700;outline:none;cursor:pointer;transition:.3s;height:40px;text-align:center;text-decoration:none}.settings[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .actionButton[_ngcontent-%COMP%]:hover{color:#000;background-color:#fff}"]}),e})(),lr=(()=>{class e{constructor(n){this.localStorageService=n,this.objects=[],this.selectedObject=null,this.objects=this.localStorageService.getObjects(),Od.idCounter=this.objects.length}reset(){this.objects=this.localStorageService.getObjects()}getObjects(){return this.objects}addNewObject(n,r,o,i,s,a,l="red"){this.objects.push(new Od(n,r,o,i,s,a,l)),this.localStorageService.saveObjects(this.objects)}addObject(n){this.objects.push(n)}deleteObject(n){this.objects=this.objects.filter(r=>r.id!==n),this.localStorageService.saveObjects(this.objects)}getSelectedObject(){return this.selectedObject?this.selectedObject.id:-1}getSelectedObjectAsObject(){return this.selectedObject}setSelectedObject(n){this.selectedObject=n}deleteSelectedObject(){this.selectedObject&&this.deleteObject(this.selectedObject.id),this.selectedObject=null}}return e.\u0275fac=function(n){return new(n||e)(O(bD))},e.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),eP=(()=>{class e{constructor(){this.startX=0,this.startY=0,this.endX=0,this.endY=0}getPath(){let n=0,r=0,o=0,i=0;return this.startX<=this.endX&&this.startY<=this.endY&&(o=this.getHeight(),r=this.getWidth()),this.startX<=this.endX&&this.startY>=this.endY&&(i=this.getHeight(),r=this.getWidth()),this.startX>=this.endX&&this.startY>=this.endY&&(i=this.getHeight(),n=this.getWidth()),this.startX>=this.endX&&this.startY<=this.endY&&(o=this.getHeight(),n=this.getWidth()),`M ${n} ${o} L ${r} ${i}`}getHeadPath(){return this.startX<=this.endX&&this.startY<=this.endY?[`M ${this.getWidth()} 0 L ${this.getWidth()} 15`,`M ${this.getWidth()-15} 0 L ${this.getWidth()} 0`]:this.startX<=this.endX&&this.startY>=this.endY?[`M ${this.getWidth()} ${this.getHeight()-15} L ${this.getWidth()} ${this.getHeight()}`,`M ${this.getWidth()-15} ${this.getHeight()} L ${this.getWidth()} ${this.getHeight()}`]:this.startX>=this.endX&&this.startY>=this.endY?[`M 0 ${this.getHeight()-15} L 0 ${this.getHeight()}`,`M 0 ${this.getHeight()} L 15 ${this.getHeight()}`]:this.startX>=this.endX&&this.startY<=this.endY?["M 0 0 L 0 15","M 0 0 L 15 0"]:[]}getWidth(){let n=Math.abs(this.startX-this.endX);return n<2?2:n}getHeight(){let n=Math.abs(this.startY-this.endY);return n<2?2:n}getScreenPosition(){let n=Math.max(this.startY,this.endY),r=Math.min(this.startX,this.endX);return n=window.innerHeight/2-n,r+=window.innerWidth/2,[n,r]}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=Mt({type:e,selectors:[["app-arrow"]],inputs:{startX:"startX",startY:"startY",endX:"endX",endY:"endY"},decls:4,vars:9,consts:[[1,"arrow"],[2,"stroke","rgb(230, 247, 3)","stroke-width","5px","fill","none","marker-end","url(#arrow)"],[2,"stroke","rgb(230, 247, 3)","stroke-width","2px","fill","none","marker-end","url(#arrow)"]],template:function(n,r){1&n&&(function uh(){V.lFrame.currentNamespace=qf}(),S(0,"svg",0),Zt(1,"path",1)(2,"path",1)(3,"path",2),M()),2&n&&(vn("top",r.getScreenPosition()[0],"px")("left",r.getScreenPosition()[1],"px"),rt("width",r.getWidth())("height",r.getHeight()),ne(1),rt("d",r.getHeadPath()[0]),ne(1),rt("d",r.getHeadPath()[1]),ne(1),rt("d",r.getPath()))},styles:[".arrow[_ngcontent-%COMP%]{position:fixed}"]}),e})();function tP(e,t){if(1&e&&(S(0,"p",4),B(1),M()),2&e){const n=Qt();vn("top",2*n.object.radius-20,"px"),ne(1),Jt(" ",n.object.name," ")}}function nP(e,t){if(1&e&&(S(0,"p",5),B(1),M()),2&e){const n=Qt();vn("top",2*n.object.radius-20,"px"),ne(1),Jt(" ",n.object.name," ")}}function rP(e,t){if(1&e&&Zt(0,"app-arrow",6),2&e){const n=Qt();me("startX",n.object.x)("startY",n.object.y)("endX",n.object.x+n.object.velocity.x)("endY",n.object.y+n.object.velocity.y)}}let oP=(()=>{class e{constructor(n){this.objectService=n}getObjectService(){return this.objectService}selectObject(){this.objectService.getSelectedObject()!==this.object.id?this.objectService.setSelectedObject(this.object):this.objectService.setSelectedObject(null)}}return e.\u0275fac=function(n){return new(n||e)(v(lr))},e.\u0275cmp=Mt({type:e,selectors:[["app-object"]],inputs:{object:"object"},decls:4,vars:13,consts:[[1,"object",3,"click"],["class","name",3,"top",4,"ngIf"],["class","nameSelected",3,"top",4,"ngIf"],[3,"startX","startY","endX","endY",4,"ngIf"],[1,"name"],[1,"nameSelected"],[3,"startX","startY","endX","endY"]],template:function(n,r){1&n&&(S(0,"div",0),z("click",function(){return r.selectObject()}),xt(1,tP,2,3,"p",1),xt(2,nP,2,3,"p",2),xt(3,rP,1,4,"app-arrow",3),M()),2&n&&(vn("width",2*r.object.radius,"px")("height",2*r.object.radius,"px")("left",r.object.getScreenCoordinates()[0],"px")("top",r.object.getScreenCoordinates()[1],"px")("background-color",r.object.color),ne(1),me("ngIf",r.getObjectService().getSelectedObject()!=r.object.id),ne(1),me("ngIf",r.getObjectService().getSelectedObject()==r.object.id),ne(1),me("ngIf",0!=r.object.velocity.length()))},dependencies:[eo,eP],styles:[".object[_ngcontent-%COMP%]{position:fixed;border-radius:100%;box-shadow:0 0 7px 7px #00000080;display:flex;cursor:pointer}.object[_ngcontent-%COMP%]:hover{box-shadow:0 0 7px 7px #000c}.object[_ngcontent-%COMP%]:hover .name[_ngcontent-%COMP%]{opacity:1;font-size:1.7rem}.object[_ngcontent-%COMP%] .name[_ngcontent-%COMP%]{position:absolute;color:#fff;font-size:1.5rem;font-weight:700;text-shadow:0 0 5px black;opacity:.3;cursor:pointer;left:50%;transform:translate(-50%)}.object[_ngcontent-%COMP%] .nameSelected[_ngcontent-%COMP%]{position:absolute;color:#fff;font-size:1.7rem;font-weight:700;text-shadow:0 0 5px black;opacity:1;cursor:pointer;left:50%;transform:translate(-50%)}"]}),e})(),iP=(()=>{class e{constructor(n){this.objectService=n}unselectObject(){this.objectService.setSelectedObject(null)}}return e.\u0275fac=function(n){return new(n||e)(v(lr))},e.\u0275cmp=Mt({type:e,selectors:[["app-coordinate-system"]],decls:3,vars:0,consts:[[1,"system",3,"click"],[1,"xBar"],[1,"yBar"]],template:function(n,r){1&n&&(S(0,"div",0),z("click",function(){return r.unselectObject()}),Zt(1,"div",1)(2,"div",2),M())},styles:[".system[_ngcontent-%COMP%]{position:fixed;width:100%;height:100%;opacity:.3;z-index:-100}.system[_ngcontent-%COMP%] .xBar[_ngcontent-%COMP%]{width:100%;height:1px;background-color:#fff;position:absolute;top:50%;left:0}.system[_ngcontent-%COMP%] .yBar[_ngcontent-%COMP%]{width:1px;height:100%;background-color:#fff;position:absolute;top:0;left:50%}"]}),e})(),ED=(()=>{class e{constructor(n,r){this._renderer=n,this._elementRef=r,this.onChange=o=>{},this.onTouched=()=>{}}setProperty(n,r){this._renderer.setProperty(this._elementRef.nativeElement,n,r)}registerOnTouched(n){this.onTouched=n}registerOnChange(n){this.onChange=n}setDisabledState(n){this.setProperty("disabled",n)}}return e.\u0275fac=function(n){return new(n||e)(v(gn),v(dt))},e.\u0275dir=k({type:e}),e})(),ur=(()=>{class e extends ED{}return e.\u0275fac=function(){let t;return function(r){return(t||(t=ke(e)))(r||e)}}(),e.\u0275dir=k({type:e,features:[re]}),e})();const rn=new I("NgValueAccessor"),lP={provide:rn,useExisting:ae(()=>Na),multi:!0},cP=new I("CompositionEventMode");let Na=(()=>{class e extends ED{constructor(n,r,o){super(n,r),this._compositionMode=o,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function uP(){const e=wn()?wn().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(n){this.setProperty("value",n??"")}_handleInput(n){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(n)}_compositionStart(){this._composing=!0}_compositionEnd(n){this._composing=!1,this._compositionMode&&this.onChange(n)}}return e.\u0275fac=function(n){return new(n||e)(v(gn),v(dt),v(cP,8))},e.\u0275dir=k({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(n,r){1&n&&z("input",function(i){return r._handleInput(i.target.value)})("blur",function(){return r.onTouched()})("compositionstart",function(){return r._compositionStart()})("compositionend",function(i){return r._compositionEnd(i.target.value)})},features:[de([lP]),re]}),e})();const dP=!1,Ge=new I("NgValidators"),Bn=new I("NgAsyncValidators");function PD(e){return null!=e}function kD(e){const t=Qo(e)?Ee(e):e;if(dP&&!Vu(t)){let n="Expected async validator to return Promise or Observable.";throw"object"==typeof e&&(n+=" Are you using a synchronous validator where an async validator is expected?"),new C(-1101,n)}return t}function LD(e){let t={};return e.forEach(n=>{t=null!=n?{...t,...n}:t}),0===Object.keys(t).length?null:t}function VD(e,t){return t.map(n=>n(e))}function jD(e){return e.map(t=>function hP(e){return!e.validate}(t)?t:n=>t.validate(n))}function xd(e){return null!=e?function $D(e){if(!e)return null;const t=e.filter(PD);return 0==t.length?null:function(n){return LD(VD(n,t))}}(jD(e)):null}function Rd(e){return null!=e?function BD(e){if(!e)return null;const t=e.filter(PD);return 0==t.length?null:function(n){return function sP(...e){const t=Ef(e),{args:n,keys:r}=l_(e),o=new be(i=>{const{length:s}=n;if(!s)return void i.complete();const a=new Array(s);let l=s,u=s;for(let c=0;c{d||(d=!0,u--),a[c]=f},()=>l--,void 0,()=>{(!l||!d)&&(u||i.next(r?c_(r,a):a),i.complete())}))}});return t?o.pipe(u_(t)):o}(VD(n,t).map(kD)).pipe(Y(LD))}}(jD(e)):null}function UD(e,t){return null===e?[t]:Array.isArray(e)?[...e,t]:[e,t]}function Nd(e){return e?Array.isArray(e)?e:[e]:[]}function Pa(e,t){return Array.isArray(e)?e.includes(t):e===t}function zD(e,t){const n=Nd(t);return Nd(e).forEach(o=>{Pa(n,o)||n.push(o)}),n}function WD(e,t){return Nd(t).filter(n=>!Pa(e,n))}class qD{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(t){this._rawValidators=t||[],this._composedValidatorFn=xd(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=Rd(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t){this.control&&this.control.reset(t)}hasError(t,n){return!!this.control&&this.control.hasError(t,n)}getError(t,n){return this.control?this.control.getError(t,n):null}}class Ke extends qD{get formDirective(){return null}get path(){return null}}class Un extends qD{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class YD{constructor(t){this._cd=t}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let ZD=(()=>{class e extends YD{constructor(n){super(n)}}return e.\u0275fac=function(n){return new(n||e)(v(Un,2))},e.\u0275dir=k({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(n,r){2&n&&Rs("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)},features:[re]}),e})();const Oi="VALID",La="INVALID",ho="PENDING",xi="DISABLED";function Va(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}class JD{constructor(t,n){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(t),this._assignAsyncValidators(n)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get valid(){return this.status===Oi}get invalid(){return this.status===La}get pending(){return this.status==ho}get disabled(){return this.status===xi}get enabled(){return this.status!==xi}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._assignValidators(t)}setAsyncValidators(t){this._assignAsyncValidators(t)}addValidators(t){this.setValidators(zD(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(zD(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(WD(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(WD(t,this._rawAsyncValidators))}hasValidator(t){return Pa(this._rawValidators,t)}hasAsyncValidator(t){return Pa(this._rawAsyncValidators,t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(t=>t.markAllAsTouched())}markAsUntouched(t={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(n=>{n.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}markAsDirty(t={}){this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)}markAsPristine(t={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(n=>{n.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}markAsPending(t={}){this.status=ho,!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}disable(t={}){const n=this._parentMarkedDirty(t.onlySelf);this.status=xi,this.errors=null,this._forEachChild(r=>{r.disable({...t,onlySelf:!0})}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...t,skipPristineCheck:n}),this._onDisabledChange.forEach(r=>r(!0))}enable(t={}){const n=this._parentMarkedDirty(t.onlySelf);this.status=Oi,this._forEachChild(r=>{r.enable({...t,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors({...t,skipPristineCheck:n}),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(t){this._parent=t}getRawValue(){return this.value}updateValueAndValidity(t={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Oi||this.status===ho)&&this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(n=>n._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?xi:Oi}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=ho,this._hasOwnPendingAsyncValidator=!0;const n=kD(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(r=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(r,{emitEvent:t})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(t,n={}){this.errors=t,this._updateControlsErrors(!1!==n.emitEvent)}get(t){let n=t;return null==n||(Array.isArray(n)||(n=n.split(".")),0===n.length)?null:n.reduce((r,o)=>r&&r._find(o),this)}getError(t,n){const r=n?this.get(n):this;return r&&r.errors?r.errors[t]:null}hasError(t,n){return!!this.getError(t,n)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)}_initObservables(){this.valueChanges=new he,this.statusChanges=new he}_calculateStatus(){return this._allControlsDisabled()?xi:this.errors?La:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(ho)?ho:this._anyControlsHaveStatus(La)?La:Oi}_anyControlsHaveStatus(t){return this._anyControls(n=>n.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t={}){this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}_updateTouched(t={}){this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){Va(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(t){return null}_assignValidators(t){this._rawValidators=Array.isArray(t)?t.slice():t,this._composedValidatorFn=function CP(e){return Array.isArray(e)?xd(e):e||null}(this._rawValidators)}_assignAsyncValidators(t){this._rawAsyncValidators=Array.isArray(t)?t.slice():t,this._composedAsyncValidatorFn=function wP(e){return Array.isArray(e)?Rd(e):e||null}(this._rawAsyncValidators)}}const po=new I("CallSetDisabledState",{providedIn:"root",factory:()=>ja}),ja="always";function Ri(e,t,n=ja){(function $d(e,t){const n=function HD(e){return e._rawValidators}(e);null!==t.validator?e.setValidators(UD(n,t.validator)):"function"==typeof n&&e.setValidators([n]);const r=function GD(e){return e._rawAsyncValidators}(e);null!==t.asyncValidator?e.setAsyncValidators(UD(r,t.asyncValidator)):"function"==typeof r&&e.setAsyncValidators([r]);const o=()=>e.updateValueAndValidity();Ua(t._rawValidators,o),Ua(t._rawAsyncValidators,o)})(e,t),t.valueAccessor.writeValue(e.value),(e.disabled||"always"===n)&&t.valueAccessor.setDisabledState?.(e.disabled),function SP(e,t){t.valueAccessor.registerOnChange(n=>{e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&eC(e,t)})}(e,t),function IP(e,t){const n=(r,o)=>{t.valueAccessor.writeValue(r),o&&t.viewToModelUpdate(r)};e.registerOnChange(n),t._registerOnDestroy(()=>{e._unregisterOnChange(n)})}(e,t),function MP(e,t){t.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&eC(e,t),"submit"!==e.updateOn&&e.markAsTouched()})}(e,t),function EP(e,t){if(t.valueAccessor.setDisabledState){const n=r=>{t.valueAccessor.setDisabledState(r)};e.registerOnDisabledChange(n),t._registerOnDestroy(()=>{e._unregisterOnDisabledChange(n)})}}(e,t)}function Ua(e,t){e.forEach(n=>{n.registerOnValidatorChange&&n.registerOnValidatorChange(t)})}function eC(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function rC(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function oC(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}const iC=class extends JD{constructor(t=null,n,r){super(function Ld(e){return(Va(e)?e.validators:e)||null}(n),function Vd(e,t){return(Va(t)?t.asyncValidators:e)||null}(r,n)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(t),this._setUpdateStrategy(n),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Va(n)&&(n.nonNullable||n.initialValueIsDefault)&&(this.defaultValue=oC(t)?t.value:t)}setValue(t,n={}){this.value=this._pendingValue=t,this._onChange.length&&!1!==n.emitModelToViewChange&&this._onChange.forEach(r=>r(this.value,!1!==n.emitViewToModelChange)),this.updateValueAndValidity(n)}patchValue(t,n={}){this.setValue(t,n)}reset(t=this.defaultValue,n={}){this._applyFormState(t),this.markAsPristine(n),this.markAsUntouched(n),this.setValue(this.value,n),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){rC(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){rC(this._onDisabledChange,t)}_forEachChild(t){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(t){oC(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}},PP={provide:Un,useExisting:ae(()=>zd)},lC=(()=>Promise.resolve())();let zd=(()=>{class e extends Un{constructor(n,r,o,i,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this.control=new iC,this._registered=!1,this.update=new he,this._parent=n,this._setValidators(r),this._setAsyncValidators(o),this.valueAccessor=function Hd(e,t){if(!t)return null;let n,r,o;return Array.isArray(t),t.forEach(i=>{i.constructor===Na?n=i:function OP(e){return Object.getPrototypeOf(e.constructor)===ur}(i)?r=i:o=i}),o||r||n||null}(0,i)}ngOnChanges(n){if(this._checkForErrors(),!this._registered||"name"in n){if(this._registered&&(this._checkName(),this.formDirective)){const r=n.name.previousValue;this.formDirective.removeControl({name:r,path:this._getPath(r)})}this._setUpControl()}"isDisabled"in n&&this._updateDisabled(n),function Ud(e,t){if(!e.hasOwnProperty("model"))return!1;const n=e.model;return!!n.isFirstChange()||!Object.is(t,n.currentValue)}(n,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(n){this.viewModel=n,this.update.emit(n)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){Ri(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(n){lC.then(()=>{this.control.setValue(n,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(n){const r=n.isDisabled.currentValue,o=0!==r&&function Jr(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}(r);lC.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(n){return this._parent?function $a(e,t){return[...t.path,e]}(n,this._parent):[n]}}return e.\u0275fac=function(n){return new(n||e)(v(Ke,9),v(Ge,10),v(Bn,10),v(rn,10),v(qs,8),v(po,8))},e.\u0275dir=k({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[de([PP]),re,vt]}),e})();const LP={provide:rn,useExisting:ae(()=>Wd),multi:!0};let Wd=(()=>{class e extends ur{writeValue(n){this.setProperty("value",n??"")}registerOnChange(n){this.onChange=r=>{n(""==r?null:parseFloat(r))}}}return e.\u0275fac=function(){let t;return function(r){return(t||(t=ke(e)))(r||e)}}(),e.\u0275dir=k({type:e,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(n,r){1&n&&z("input",function(i){return r.onChange(i.target.value)})("blur",function(){return r.onTouched()})},features:[de([LP]),re]}),e})(),uC=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Ut({type:e}),e.\u0275inj=St({}),e})(),s1=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Ut({type:e}),e.\u0275inj=St({imports:[uC]}),e})(),l1=(()=>{class e{static withConfig(n){return{ngModule:e,providers:[{provide:po,useValue:n.callSetDisabledState??ja}]}}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Ut({type:e}),e.\u0275inj=St({imports:[s1]}),e})();function u1(e,t){1&e&&(S(0,"p"),B(1,"Wrong input!"),M()),2&e&&vn("color","red")}let c1=(()=>{class e{constructor(n){this.objectService=n,this.name="",this.startX=0,this.startY=0,this.vX=0,this.vY=0,this.radius=10,this.weight=10,this.color="red",this.wrongInput=!1,this.closeForm=new he}add(){""===this.name||this.radius<=0||""===this.color?this.wrongInput=!0:(this.objectService.addNewObject(this.name,this.startX,this.startY,this.radius,this.weight,new jn(this.vX,this.vY),this.color),this.name="",this.startX=0,this.startY=0,this.radius=10,this.color="red",this.wrongInput=!1)}close(){this.name="",this.startX=0,this.startY=0,this.radius=10,this.color="red",this.wrongInput=!1,this.closeForm.emit()}}return e.\u0275fac=function(n){return new(n||e)(v(lr))},e.\u0275cmp=Mt({type:e,selectors:[["app-add-object-form"]],outputs:{closeForm:"closeForm"},decls:42,vars:9,consts:[[1,"background",3,"click"],[1,"container"],[3,"color",4,"ngIf"],[1,"row"],["type","text","placeholder","Name",3,"ngModel","ngModelChange"],["type","number","placeholder","X",3,"ngModel","ngModelChange"],["type","number","placeholder","Y",3,"ngModel","ngModelChange"],["type","number","placeholder","Velocity X",3,"ngModel","ngModelChange"],["type","number","placeholder","Velocity Y",3,"ngModel","ngModelChange"],["type","number","placeholder","Weight",3,"ngModel","ngModelChange"],["type","number","placeholder","Radius",3,"ngModel","ngModelChange"],["type","color","placeholder","Color",3,"ngModel","ngModelChange"],[1,"buttonContainer"],[1,"closeButton",3,"click"],[1,"addButton",3,"click"]],template:function(n,r){1&n&&(S(0,"div",0),z("click",function(){return r.close()}),M(),S(1,"div",1)(2,"h1"),B(3,"Add Object"),M(),xt(4,u1,2,2,"p",2),S(5,"div",3)(6,"p"),B(7,"Name:"),M(),S(8,"input",4),z("ngModelChange",function(i){return r.name=i}),M()(),S(9,"div",3)(10,"p"),B(11,"Start X:"),M(),S(12,"input",5),z("ngModelChange",function(i){return r.startX=i}),M()(),S(13,"div",3)(14,"p"),B(15,"Start Y:"),M(),S(16,"input",6),z("ngModelChange",function(i){return r.startY=i}),M()(),S(17,"div",3)(18,"p"),B(19,"Start velocity X:"),M(),S(20,"input",7),z("ngModelChange",function(i){return r.vX=i}),M()(),S(21,"div",3)(22,"p"),B(23,"Start velocity Y:"),M(),S(24,"input",8),z("ngModelChange",function(i){return r.vY=i}),M()(),S(25,"div",3)(26,"p"),B(27,"Weight:"),M(),S(28,"input",9),z("ngModelChange",function(i){return r.weight=i}),M()(),S(29,"div",3)(30,"p"),B(31,"Radius:"),M(),S(32,"input",10),z("ngModelChange",function(i){return r.radius=i}),M()(),S(33,"div",3)(34,"p"),B(35,"Color:"),M(),S(36,"input",11),z("ngModelChange",function(i){return r.color=i}),M()(),S(37,"div",12)(38,"button",13),z("click",function(){return r.close()}),B(39,"Close"),M(),S(40,"button",14),z("click",function(){return r.add()}),B(41,"Add"),M()()()),2&n&&(ne(4),me("ngIf",r.wrongInput),ne(4),me("ngModel",r.name),ne(4),me("ngModel",r.startX),ne(4),me("ngModel",r.startY),ne(4),me("ngModel",r.vX),ne(4),me("ngModel",r.vY),ne(4),me("ngModel",r.weight),ne(4),me("ngModel",r.radius),ne(4),me("ngModel",r.color))},dependencies:[eo,Na,Wd,ZD,zd],styles:[".background[_ngcontent-%COMP%]{position:fixed;width:100%;height:100%}.container[_ngcontent-%COMP%]{position:fixed;width:500px;left:50px;background-color:#06001f;border:1px solid white;border-radius:15px;display:flex;flex-direction:column;align-items:center;padding:20px;top:50%;transform:translateY(-50%);animation:_ngcontent-%COMP%_slideInFromLeft .3s;box-shadow:0 0 10px #fff;color:#fff}.container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;justify-content:space-between;width:90%}.container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:20px;font-weight:700;color:#fff}.container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{width:60%;height:30px;border-radius:5px;border:1px solid #333;padding:0 10px;font-size:16px;outline:none}.container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:focus{border:1px solid #666}.container[_ngcontent-%COMP%] .buttonContainer[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:space-between;width:90%;margin-top:20px}.container[_ngcontent-%COMP%] .buttonContainer[_ngcontent-%COMP%] .closeButton[_ngcontent-%COMP%]{background-color:red}.container[_ngcontent-%COMP%] .buttonContainer[_ngcontent-%COMP%] .addButton[_ngcontent-%COMP%]{background-color:green}.container[_ngcontent-%COMP%] .buttonContainer[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:100px;height:40px;border-radius:5px;border:none;box-shadow:0 0 5px #333;color:#fff;font-size:16px;font-weight:700;outline:none}.container[_ngcontent-%COMP%] .buttonContainer[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:hover{cursor:pointer;scale:1.1}@keyframes _ngcontent-%COMP%_slideInFromLeft{0%{transform:translate(-100%,-50%)}to{transform:translateY(-50%)}}"]}),e})();function d1(e,t){if(1&e&&(S(0,"div",1)(1,"p"),B(2),M(),S(3,"p"),B(4),M(),S(5,"p"),B(6),M(),S(7,"p"),B(8),M(),S(9,"p"),B(10),M(),S(11,"p"),B(12),M()()),2&e){const n=Qt();ne(2),Xo(n.getObjectService().getSelectedObjectAsObject().name),ne(2),Xo("X: "+n.getObjectService().getSelectedObjectAsObject().x),ne(2),Xo("Y: "+n.getObjectService().getSelectedObjectAsObject().y),ne(2),Jt(" ","Velocity: ("+n.getObjectService().getSelectedObjectAsObject().velocity.x+";"+n.getObjectService().getSelectedObjectAsObject().velocity.y+")"," "),ne(2),Jt(" ","Weight: "+n.getObjectService().getSelectedObjectAsObject().weight," "),ne(2),Jt(" ","Radius: "+n.getObjectService().getSelectedObjectAsObject().radius," ")}}let f1=(()=>{class e{constructor(n){this.objectService=n}getObjectService(){return this.objectService}}return e.\u0275fac=function(n){return new(n||e)(v(lr))},e.\u0275cmp=Mt({type:e,selectors:[["app-object-meta-data"]],decls:1,vars:1,consts:[["class","container",4,"ngIf"],[1,"container"]],template:function(n,r){1&n&&xt(0,d1,13,6,"div",0),2&n&&me("ngIf",-1!=r.getObjectService().getSelectedObject())},dependencies:[eo],styles:[".container[_ngcontent-%COMP%]{position:fixed;display:flex;flex-direction:column;bottom:10px;right:10px;background-color:#06001f;padding:20px;border-radius:15px;color:#fff;z-index:1000;font-size:20px;border:1px solid white;cursor:default;transition:.3s;box-shadow:0 0 10px #fff}"]}),e})(),h1=(()=>{class e{constructor(n){this.objectService=n,this.interval=null,this.isPlaying=!1,this.speed=1e3}setSpeed(n){this.speed=n,this.isPlaying&&this.start()}start(){this.interval&&clearInterval(this.interval),this.interval=setInterval(()=>{this.nextStep()},this.speed),this.isPlaying=!0}nextStep(){this.objectService.getObjects().forEach(n=>{n.stageMove()}),this.applyMoves()}prevStep(){this.objectService.getObjects().forEach(n=>{n.stageMove(!1)}),this.applyMoves(!1)}applyMoves(n=!0){this.objectService.getObjects().forEach(r=>{r.applyMove(n)})}stop(){this.interval&&clearInterval(this.interval),this.isPlaying=!1}}return e.\u0275fac=function(n){return new(n||e)(O(lr))},e.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function p1(e,t){if(1&e){const n=Zo();S(0,"div",1)(1,"button",2),z("click",function(){return _r(n),Dr(Qt().prevStep())}),B(2," Previous "),M(),S(3,"button",2),z("click",function(){return _r(n),Dr(Qt().nextStep())}),B(4," Next "),M()()}}let g1=(()=>{class e{constructor(n,r){this.moveService=n,this.objectService=r,this.playSpeed=1}nextStep(){this.moveService.nextStep()}prevStep(){this.moveService.prevStep()}toggleSpeed(){switch(this.playSpeed){case 1:this.playSpeed=2;break;case 2:this.playSpeed=5;break;case 5:this.playSpeed=10;break;case 10:this.playSpeed=.5;break;case.5:this.playSpeed=1}this.moveService.setSpeed(1e3/this.playSpeed)}togglePlayPause(){this.isPlaying()?this.pause():this.play()}play(){this.moveService.start()}pause(){this.moveService.stop()}reset(){this.pause(),this.objectService.reset()}isPlaying(){return this.moveService.isPlaying}}return e.\u0275fac=function(n){return new(n||e)(v(h1),v(lr))},e.\u0275cmp=Mt({type:e,selectors:[["app-play-bar"]],decls:8,vars:3,consts:[["class","container",4,"ngIf"],[1,"container"],[1,"myButton",2,"width","100px",3,"click"]],template:function(n,r){1&n&&(xt(0,p1,5,0,"div",0),S(1,"div",1)(2,"button",2),z("click",function(){return r.reset()}),B(3,"Reset"),M(),S(4,"button",2),z("click",function(){return r.togglePlayPause()}),B(5),M(),S(6,"button",2),z("click",function(){return r.toggleSpeed()}),B(7),M()()),2&n&&(me("ngIf",!r.isPlaying()),ne(5),Jt(" ",r.isPlaying()?"Pause":"Play"," "),ne(2),Jt(" ","x"+r.playSpeed," "))},dependencies:[eo],styles:[".container[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:space-between;align-items:center;margin-top:20px}.container[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin:0 10px}"]}),e})();function m1(e,t){1&e&&Zt(0,"app-object",6),2&e&&me("object",t.$implicit)}function y1(e,t){if(1&e){const n=Zo();S(0,"app-add-object-form",7),z("closeForm",function(){return _r(n),Dr(Qt().closeAddObjectForm())}),M()}}function v1(e,t){if(1&e){const n=Zo();S(0,"button",8),z("click",function(){return _r(n),Dr(Qt().showAddObjectForm=!0)}),B(1," +\n"),M()}2&e&&vn("left",10,"px")}function _1(e,t){if(1&e){const n=Zo();S(0,"button",8),z("click",function(){return _r(n),Dr(Qt().getObjectService().deleteSelectedObject())}),B(1," -\n"),M()}2&e&&vn("left",60,"px")}const D1=[{path:"",component:(()=>{class e{constructor(n,r){this.objectService=n,this.router=r,this.showAddObjectForm=!1}getObjectService(){return this.objectService}closeAddObjectForm(){this.showAddObjectForm=!1}goToSettings(){this.router.navigate(["settings"])}}return e.\u0275fac=function(n){return new(n||e)(v(lr),v(Qe))},e.\u0275cmp=Mt({type:e,selectors:[["app-home"]],decls:9,vars:4,consts:[["src","assets/logo_small.png","alt","home",1,"smallLogo",3,"click"],["src","assets/settingsIcon.png","alt","settings",1,"settingsButton",3,"click"],[3,"object",4,"ngFor","ngForOf"],[3,"closeForm",4,"ngIf"],["class","interactButton myButton",3,"left","click",4,"ngIf"],[1,"playBar"],[3,"object"],[3,"closeForm"],[1,"interactButton","myButton",3,"click"]],template:function(n,r){1&n&&(S(0,"img",0),z("click",function(){return r.getObjectService().setSelectedObject(null)}),M(),S(1,"img",1),z("click",function(){return r.goToSettings()}),M(),Zt(2,"app-coordinate-system"),xt(3,m1,1,1,"app-object",2),xt(4,y1,1,0,"app-add-object-form",3),xt(5,v1,2,2,"button",4),xt(6,_1,2,2,"button",4),Zt(7,"app-play-bar",5)(8,"app-object-meta-data")),2&n&&(ne(3),me("ngForOf",r.getObjectService().getObjects()),ne(1),me("ngIf",r.showAddObjectForm),ne(1),me("ngIf",!r.showAddObjectForm),ne(1),me("ngIf",-1!=r.getObjectService().getSelectedObject()))},dependencies:[Ov,eo,oP,iP,c1,f1,g1],styles:[".interactButton[_ngcontent-%COMP%]{position:fixed;width:40px;bottom:10px}.settingsButton[_ngcontent-%COMP%]{position:fixed;top:20px;right:20px;width:40px;height:40px;border:none;outline:none;cursor:pointer;opacity:.3;transition:.3s}.settingsButton[_ngcontent-%COMP%]:hover{opacity:1;animation:rotate .5s}.playBar[_ngcontent-%COMP%]{position:fixed;bottom:10px;left:50%;transform:translate(-50%)}"]}),e})()},{path:"settings",component:JF}];let C1=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Ut({type:e}),e.\u0275inj=St({imports:[Pv,CD.forRoot(D1),CD]}),e})(),w1=(()=>{class e{constructor(){this.title="OrbitLab"}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=Mt({type:e,selectors:[["app-root"]],decls:1,vars:0,template:function(n,r){1&n&&Zt(0,"router-outlet")},dependencies:[md]}),e})(),b1=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Ut({type:e,bootstrap:[w1]}),e.\u0275inj=St({imports:[cR,C1,l1]}),e})();uR().bootstrapModule(b1).catch(e=>console.error(e))}},ie=>{ie(ie.s=450)}]);
\ No newline at end of file