diff --git a/404.html b/404.html index 6e699a7..266b276 100644 --- a/404.html +++ b/404.html @@ -25,6 +25,6 @@ - + \ No newline at end of file diff --git a/index.html b/index.html index 6e699a7..266b276 100644 --- a/index.html +++ b/index.html @@ -25,6 +25,6 @@ - + \ No newline at end of file diff --git a/main.1b3a4ba611b5624f.js b/main.ea73ca3e7d4322a2.js similarity index 87% rename from main.1b3a4ba611b5624f.js rename to main.ea73ca3e7d4322a2.js index 3f4c0c1..4322cdd 100644 --- a/main.1b3a4ba611b5624f.js +++ b/main.ea73ca3e7d4322a2.js @@ -1 +1 @@ -"use strict";(self.webpackChunkacnh_directory=self.webpackChunkacnh_directory||[]).push([[179],{35:()=>{function de(e){return"function"==typeof e}function Ai(e){const t=e(r=>{Error.call(r),r.stack=(new Error).stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}const rs=Ai(e=>function(t){e(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((r,i)=>`${i+1}) ${r.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=t});function Ti(e,n){if(e){const t=e.indexOf(n);0<=t&&e.splice(t,1)}}class It{constructor(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let n;if(!this.closed){this.closed=!0;const{_parentage:t}=this;if(t)if(this._parentage=null,Array.isArray(t))for(const o of t)o.remove(this);else t.remove(this);const{initialTeardown:r}=this;if(de(r))try{r()}catch(o){n=o instanceof rs?o.errors:[o]}const{_finalizers:i}=this;if(i){this._finalizers=null;for(const o of i)try{ah(o)}catch(s){n=n??[],s instanceof rs?n=[...n,...s.errors]:n.push(s)}}if(n)throw new rs(n)}}add(n){var t;if(n&&n!==this)if(this.closed)ah(n);else{if(n instanceof It){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=null!==(t=this._finalizers)&&void 0!==t?t:[]).push(n)}}_hasParent(n){const{_parentage:t}=this;return t===n||Array.isArray(t)&&t.includes(n)}_addParent(n){const{_parentage:t}=this;this._parentage=Array.isArray(t)?(t.push(n),t):t?[t,n]:n}_removeParent(n){const{_parentage:t}=this;t===n?this._parentage=null:Array.isArray(t)&&Ti(t,n)}remove(n){const{_finalizers:t}=this;t&&Ti(t,n),n instanceof It&&n._removeParent(this)}}It.EMPTY=(()=>{const e=new It;return e.closed=!0,e})();const oh=It.EMPTY;function sh(e){return e instanceof It||e&&"closed"in e&&de(e.remove)&&de(e.add)&&de(e.unsubscribe)}function ah(e){de(e)?e():e.unsubscribe()}const Jn={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},is={setTimeout(e,n,...t){const{delegate:r}=is;return r?.setTimeout?r.setTimeout(e,n,...t):setTimeout(e,n,...t)},clearTimeout(e){const{delegate:n}=is;return(n?.clearTimeout||clearTimeout)(e)},delegate:void 0};function lh(e){is.setTimeout(()=>{const{onUnhandledError:n}=Jn;if(!n)throw e;n(e)})}function ch(){}const Ib=bl("C",void 0,void 0);function bl(e,n,t){return{kind:e,value:n,error:t}}let er=null;function os(e){if(Jn.useDeprecatedSynchronousErrorHandling){const n=!er;if(n&&(er={errorThrown:!1,error:null}),e(),n){const{errorThrown:t,error:r}=er;if(er=null,t)throw r}}else e()}class El extends It{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,sh(n)&&n.add(this)):this.destination=Pb}static create(n,t,r){return new xi(n,t,r)}next(n){this.isStopped?Sl(function Tb(e){return bl("N",e,void 0)}(n),this):this._next(n)}error(n){this.isStopped?Sl(function Ab(e){return bl("E",void 0,e)}(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?Sl(Ib,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(n){this.destination.next(n)}_error(n){try{this.destination.error(n)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const Nb=Function.prototype.bind;function Ml(e,n){return Nb.call(e,n)}class Ob{constructor(n){this.partialObserver=n}next(n){const{partialObserver:t}=this;if(t.next)try{t.next(n)}catch(r){ss(r)}}error(n){const{partialObserver:t}=this;if(t.error)try{t.error(n)}catch(r){ss(r)}else ss(n)}complete(){const{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(t){ss(t)}}}class xi extends El{constructor(n,t,r){let i;if(super(),de(n)||!n)i={next:n??void 0,error:t??void 0,complete:r??void 0};else{let o;this&&Jn.useDeprecatedNextContext?(o=Object.create(n),o.unsubscribe=()=>this.unsubscribe(),i={next:n.next&&Ml(n.next,o),error:n.error&&Ml(n.error,o),complete:n.complete&&Ml(n.complete,o)}):i=n}this.destination=new Ob(i)}}function ss(e){Jn.useDeprecatedSynchronousErrorHandling?function xb(e){Jn.useDeprecatedSynchronousErrorHandling&&er&&(er.errorThrown=!0,er.error=e)}(e):lh(e)}function Sl(e,n){const{onStoppedNotification:t}=Jn;t&&is.setTimeout(()=>t(e,n))}const Pb={closed:!0,next:ch,error:function Rb(e){throw e},complete:ch},Il="function"==typeof Symbol&&Symbol.observable||"@@observable";function kn(e){return e}function uh(e){return 0===e.length?kn:1===e.length?e[0]:function(t){return e.reduce((r,i)=>i(r),t)}}let be=(()=>{class e{constructor(t){t&&(this._subscribe=t)}lift(t){const r=new e;return r.source=this,r.operator=t,r}subscribe(t,r,i){const o=function Lb(e){return e&&e instanceof El||function Fb(e){return e&&de(e.next)&&de(e.error)&&de(e.complete)}(e)&&sh(e)}(t)?t:new xi(t,r,i);return os(()=>{const{operator:s,source:a}=this;o.add(s?s.call(o,a):a?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(t){try{return this._subscribe(t)}catch(r){t.error(r)}}forEach(t,r){return new(r=dh(r))((i,o)=>{const s=new xi({next:a=>{try{t(a)}catch(l){o(l),s.unsubscribe()}},error:o,complete:i});this.subscribe(s)})}_subscribe(t){var r;return null===(r=this.source)||void 0===r?void 0:r.subscribe(t)}[Il](){return this}pipe(...t){return uh(t)(this)}toPromise(t){return new(t=dh(t))((r,i)=>{let o;this.subscribe(s=>o=s,s=>i(s),()=>r(o))})}}return e.create=n=>new e(n),e})();function dh(e){var n;return null!==(n=e??Jn.Promise)&&void 0!==n?n:Promise}const Vb=Ai(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let hn=(()=>{class e extends be{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){const r=new fh(this,this);return r.operator=t,r}_throwIfClosed(){if(this.closed)throw new Vb}next(t){os(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const r of this.currentObservers)r.next(t)}})}error(t){os(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=t;const{observers:r}=this;for(;r.length;)r.shift().error(t)}})}complete(){os(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:t}=this;for(;t.length;)t.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var t;return(null===(t=this.observers)||void 0===t?void 0:t.length)>0}_trySubscribe(t){return this._throwIfClosed(),super._trySubscribe(t)}_subscribe(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)}_innerSubscribe(t){const{hasError:r,isStopped:i,observers:o}=this;return r||i?oh:(this.currentObservers=null,o.push(t),new It(()=>{this.currentObservers=null,Ti(o,t)}))}_checkFinalizedStatuses(t){const{hasError:r,thrownError:i,isStopped:o}=this;r?t.error(i):o&&t.complete()}asObservable(){const t=new be;return t.source=this,t}}return e.create=(n,t)=>new fh(n,t),e})();class fh extends hn{constructor(n,t){super(),this.destination=n,this.source=t}next(n){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===r||r.call(t,n)}error(n){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===r||r.call(t,n)}complete(){var n,t;null===(t=null===(n=this.destination)||void 0===n?void 0:n.complete)||void 0===t||t.call(n)}_subscribe(n){var t,r;return null!==(r=null===(t=this.source)||void 0===t?void 0:t.subscribe(n))&&void 0!==r?r:oh}}class At extends hn{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){const t=super._subscribe(n);return!t.closed&&n.next(this._value),t}getValue(){const{hasError:n,thrownError:t,_value:r}=this;if(n)throw t;return this._throwIfClosed(),r}next(n){super.next(this._value=n)}}function hh(e){return de(e?.lift)}function je(e){return n=>{if(hh(n))return n.lift(function(t){try{return e(t,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function Oe(e,n,t,r,i){return new jb(e,n,t,r,i)}class jb extends El{constructor(n,t,r,i,o,s){super(n),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=t?function(a){try{t(a)}catch(l){n.error(l)}}:super._next,this._error=i?function(a){try{i(a)}catch(l){n.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){n.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:t}=this;super.unsubscribe(),!t&&(null===(n=this.onFinalize)||void 0===n||n.call(this))}}}function J(e,n){return je((t,r)=>{let i=0;t.subscribe(Oe(r,o=>{r.next(e.call(n,o,i++))}))})}function Fn(e){return this instanceof Fn?(this.v=e,this):new Fn(e)}function yh(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=function Nl(e){var n="function"==typeof Symbol&&Symbol.iterator,t=n&&e[n],r=0;if(t)return t.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(n?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(o){t[o]=e[o]&&function(s){return new Promise(function(a,l){!function i(o,s,a,l){Promise.resolve(l).then(function(c){o({value:c,done:a})},s)}(a,l,(s=e[o](s)).done,s.value)})}}}const vh=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function _h(e){return de(e?.then)}function Dh(e){return de(e[Il])}function Ch(e){return Symbol.asyncIterator&&de(e?.[Symbol.asyncIterator])}function wh(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 bh=function iE(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function Eh(e){return de(e?.[bh])}function Mh(e){return function mh(e,n,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i,r=t.apply(e,n||[]),o=[];return i={},s("next"),s("throw"),s("return"),i[Symbol.asyncIterator]=function(){return this},i;function s(f){r[f]&&(i[f]=function(h){return new Promise(function(p,g){o.push([f,h,p,g])>1||a(f,h)})})}function a(f,h){try{!function l(f){f.value instanceof Fn?Promise.resolve(f.value.v).then(c,u):d(o[0][2],f)}(r[f](h))}catch(p){d(o[0][3],p)}}function c(f){a("next",f)}function u(f){a("throw",f)}function d(f,h){f(h),o.shift(),o.length&&a(o[0][0],o[0][1])}}(this,arguments,function*(){const t=e.getReader();try{for(;;){const{value:r,done:i}=yield Fn(t.read());if(i)return yield Fn(void 0);yield yield Fn(r)}}finally{t.releaseLock()}})}function Sh(e){return de(e?.getReader)}function Tt(e){if(e instanceof be)return e;if(null!=e){if(Dh(e))return function oE(e){return new be(n=>{const t=e[Il]();if(de(t.subscribe))return t.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(vh(e))return function sE(e){return new be(n=>{for(let t=0;t{e.then(t=>{n.closed||(n.next(t),n.complete())},t=>n.error(t)).then(null,lh)})}(e);if(Ch(e))return Ih(e);if(Eh(e))return function lE(e){return new be(n=>{for(const t of e)if(n.next(t),n.closed)return;n.complete()})}(e);if(Sh(e))return function cE(e){return Ih(Mh(e))}(e)}throw wh(e)}function Ih(e){return new be(n=>{(function uE(e,n){var t,r,i,o;return function ph(e,n,t,r){return new(t||(t=Promise))(function(o,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?o(u.value):function i(o){return o instanceof t?o:new t(function(s){s(o)})}(u.value).then(a,l)}c((r=r.apply(e,n||[])).next())})}(this,void 0,void 0,function*(){try{for(t=yh(e);!(r=yield t.next()).done;)if(n.next(r.value),n.closed)return}catch(s){i={error:s}}finally{try{r&&!r.done&&(o=t.return)&&(yield o.call(t))}finally{if(i)throw i.error}}n.complete()})})(e,n).catch(t=>n.error(t))})}function pn(e,n,t,r=0,i=!1){const o=n.schedule(function(){t(),i?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(o),!i)return o}function He(e,n,t=1/0){return de(n)?He((r,i)=>J((o,s)=>n(r,o,i,s))(Tt(e(r,i))),t):("number"==typeof n&&(t=n),je((r,i)=>function dE(e,n,t,r,i,o,s,a){const l=[];let c=0,u=0,d=!1;const f=()=>{d&&!l.length&&!c&&n.complete()},h=g=>c{o&&n.next(g),c++;let y=!1;Tt(t(g,u++)).subscribe(Oe(n,C=>{i?.(C),o?h(C):n.next(C)},()=>{y=!0},void 0,()=>{if(y)try{for(c--;l.length&&cp(C)):p(C)}f()}catch(C){n.error(C)}}))};return e.subscribe(Oe(n,h,()=>{d=!0,f()})),()=>{a?.()}}(r,i,e,t)))}function Mr(e=1/0){return He(kn,e)}const Zt=new be(e=>e.complete());function Ol(e){return e[e.length-1]}function Ah(e){return de(Ol(e))?e.pop():void 0}function Ni(e){return function hE(e){return e&&de(e.schedule)}(Ol(e))?e.pop():void 0}function Th(e,n=0){return je((t,r)=>{t.subscribe(Oe(r,i=>pn(r,e,()=>r.next(i),n),()=>pn(r,e,()=>r.complete(),n),i=>pn(r,e,()=>r.error(i),n)))})}function xh(e,n=0){return je((t,r)=>{r.add(e.schedule(()=>t.subscribe(r),n))})}function Nh(e,n){if(!e)throw new Error("Iterable cannot be null");return new be(t=>{pn(t,n,()=>{const r=e[Symbol.asyncIterator]();pn(t,n,()=>{r.next().then(i=>{i.done?t.complete():t.next(i.value)})},0,!0)})})}function Re(e,n){return n?function DE(e,n){if(null!=e){if(Dh(e))return function gE(e,n){return Tt(e).pipe(xh(n),Th(n))}(e,n);if(vh(e))return function yE(e,n){return new be(t=>{let r=0;return n.schedule(function(){r===e.length?t.complete():(t.next(e[r++]),t.closed||this.schedule())})})}(e,n);if(_h(e))return function mE(e,n){return Tt(e).pipe(xh(n),Th(n))}(e,n);if(Ch(e))return Nh(e,n);if(Eh(e))return function vE(e,n){return new be(t=>{let r;return pn(t,n,()=>{r=e[bh](),pn(t,n,()=>{let i,o;try{({value:i,done:o}=r.next())}catch(s){return void t.error(s)}o?t.complete():t.next(i)},0,!0)}),()=>de(r?.return)&&r.return()})}(e,n);if(Sh(e))return function _E(e,n){return Nh(Mh(e),n)}(e,n)}throw wh(e)}(e,n):Tt(e)}function L(...e){return Re(e,Ni(e))}function Oh(e={}){const{connector:n=(()=>new hn),resetOnError:t=!0,resetOnComplete:r=!0,resetOnRefCountZero:i=!0}=e;return o=>{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 je((g,y)=>{c++,!d&&!u&&f();const C=l=l??n();y.add(()=>{c--,0===c&&!d&&!u&&(a=Rl(p,i))}),C.subscribe(y),!s&&c>0&&(s=new xi({next:m=>C.next(m),error:m=>{d=!0,f(),a=Rl(h,t,m),C.error(m)},complete:()=>{u=!0,f(),a=Rl(h,r),C.complete()}}),Tt(g).subscribe(s))})(o)}}function Rl(e,n,...t){if(!0===n)return void e();if(!1===n)return;const r=new xi({next:()=>{r.unsubscribe(),e()}});return Tt(n(...t)).subscribe(r)}function bE(e,n){return e===n}function se(e){for(let n in e)if(e[n]===se)return n;throw Error("Could not find renamed property on target object.")}function Pl(e,n){for(const t in n)n.hasOwnProperty(t)&&!e.hasOwnProperty(t)&&(e[t]=n[t])}function Pe(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(Pe).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const n=e.toString();if(null==n)return""+n;const t=n.indexOf("\n");return-1===t?n:n.substring(0,t)}function kl(e,n){return null==e||""===e?null===n?"":n:null==n||""===n?e:e+" "+n}const EE=se({__forward_ref__:se});function fe(e){return e.__forward_ref__=fe,e.toString=function(){return Pe(this())},e}function H(e){return Fl(e)?e():e}function Fl(e){return"function"==typeof e&&e.hasOwnProperty(EE)&&e.__forward_ref__===fe}function Ll(e){return e&&!!e.\u0275providers}const Rh="https://g.co/ng/security#xss";class _ extends Error{constructor(n,t){super(function as(e,n){return`NG0${Math.abs(e)}${n?": "+n:""}`}(n,t)),this.code=n}}function B(e){return"string"==typeof e?e:null==e?"":String(e)}function ls(e,n){throw new _(-201,!1)}function xt(e,n){null==e&&function ie(e,n,t,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${t} ${r} ${n} <=Actual]`))}(n,e,null,"!=")}function O(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function rt(e){return{providers:e.providers||[],imports:e.imports||[]}}function cs(e){return Ph(e,us)||Ph(e,Fh)}function Ph(e,n){return e.hasOwnProperty(n)?e[n]:null}function kh(e){return e&&(e.hasOwnProperty(Vl)||e.hasOwnProperty(OE))?e[Vl]:null}const us=se({\u0275prov:se}),Vl=se({\u0275inj:se}),Fh=se({ngInjectableDef:se}),OE=se({ngInjectorDef:se});var R=(()=>((R=R||{})[R.Default=0]="Default",R[R.Host=1]="Host",R[R.Self=2]="Self",R[R.SkipSelf=4]="SkipSelf",R[R.Optional=8]="Optional",R))();let jl;function it(e){const n=jl;return jl=e,n}function Vh(e,n,t){const r=cs(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:t&R.Optional?null:void 0!==n?n:void ls(Pe(e))}const he=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),Oi={},Hl="__NG_DI_FLAG__",ds="ngTempTokenPath",PE=/\n/gm,jh="__source";let Sr;function Vn(e){const n=Sr;return Sr=e,n}function LE(e,n=R.Default){if(void 0===Sr)throw new _(-203,!1);return null===Sr?Vh(e,void 0,n):Sr.get(e,n&R.Optional?null:void 0,n)}function N(e,n=R.Default){return(function Lh(){return jl}()||LE)(H(e),n)}function I(e,n=R.Default){return N(e,fs(n))}function fs(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Bl(e){const n=[];for(let t=0;t((Yt=Yt||{})[Yt.OnPush=0]="OnPush",Yt[Yt.Default=1]="Default",Yt))(),gt=(()=>{return(e=gt||(gt={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",gt;var e})();const mn={},X=[],hs=se({\u0275cmp:se}),$l=se({\u0275dir:se}),Ul=se({\u0275pipe:se}),Bh=se({\u0275mod:se}),yn=se({\u0275fac:se}),Pi=se({__NG_ELEMENT_ID__:se}),$h=se({__NG_ENV_ID__:se});function Uh(e,n,t){let r=e.length;for(;;){const i=e.indexOf(n,t);if(-1===i)return i;if(0===i||e.charCodeAt(i-1)<=32){const o=n.length;if(i+o===r||e.charCodeAt(i+o)<=32)return i}t=i+1}}function zl(e,n,t){let r=0;for(;rn){s=o-1;break}}}for(;oo?"":i[d+1].toLowerCase();const h=8&r?f:null;if(h&&-1!==Uh(h,c,0)||2&r&&c!==f){if(Lt(r))return!1;s=!0}}}}else{if(!s&&!Lt(r)&&!Lt(l))return!1;if(s&&Lt(l))continue;s=!1,r=l|1&r}}return Lt(r)||s}function Lt(e){return 0==(1&e)}function zE(e,n,t,r){if(null===n)return-1;let i=0;if(r||!t){let o=!1;for(;i-1)for(t++;t0?'="'+a+'"':"")+"]"}else 8&r?i+="."+s:4&r&&(i+=" "+s);else""!==i&&!Lt(s)&&(n+=Qh(o,i),i=""),r=s,o=o||!Lt(r);t++}return""!==i&&(n+=Qh(o,i)),n}function Ir(e){return gn(()=>{const n=Xh(e),t={...n,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Yt.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&e.dependencies||null,getStandaloneInjector:null,data:e.data||{},encapsulation:e.encapsulation||gt.Emulated,styles:e.styles||X,_:null,schemas:e.schemas||null,tView:null,id:""};Jh(t);const r=e.dependencies;return t.directiveDefs=ps(r,!1),t.pipeDefs=ps(r,!0),t.id=function rM(e){let n=0;const t=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const i of t)n=Math.imul(31,n)+i.charCodeAt(0)<<0;return n+=2147483648,"c"+n}(t),t})}function JE(e){return ee(e)||Ge(e)}function eM(e){return null!==e}function mt(e){return gn(()=>({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 Kh(e,n){if(null==e)return mn;const t={};for(const r in e)if(e.hasOwnProperty(r)){let i=e[r],o=i;Array.isArray(i)&&(o=i[1],i=i[0]),t[i]=r,n&&(n[i]=o)}return t}function V(e){return gn(()=>{const n=Xh(e);return Jh(n),n})}function Qe(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function ee(e){return e[hs]||null}function Ge(e){return e[$l]||null}function ot(e){return e[Ul]||null}function yt(e,n){const t=e[Bh]||null;if(!t&&!0===n)throw new Error(`Type ${Pe(e)} does not have '\u0275mod' property.`);return t}function Xh(e){const n={};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:n,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:Kh(e.inputs,n),outputs:Kh(e.outputs)}}function Jh(e){e.features?.forEach(n=>n(e))}function ps(e,n){if(!e)return null;const t=n?ot:JE;return()=>("function"==typeof e?e():e).map(r=>t(r)).filter(eM)}const ke=0,M=1,z=2,ye=3,Vt=4,tr=5,We=6,Tr=7,Ce=8,xr=9,nr=10,$=11,Fi=12,ep=13,Nr=14,Ie=15,Li=16,Or=17,Qt=18,Vi=19,tp=20,jn=21,vn=22,gs=23,ms=24,Q=25,Gl=1,np=2,Kt=7,ys=8,Rr=9,$e=11;function vt(e){return Array.isArray(e)&&"object"==typeof e[Gl]}function st(e){return Array.isArray(e)&&!0===e[Gl]}function Wl(e){return 0!=(4&e.flags)}function rr(e){return e.componentOffset>-1}function vs(e){return 1==(1&e.flags)}function jt(e){return!!e.template}function ql(e){return 0!=(512&e[z])}function ir(e,n){return e.hasOwnProperty(yn)?e[yn]:null}let lM=he.WeakRef??class aM{constructor(n){this.ref=n}deref(){return this.ref}},uM=0,Xt=null,_s=!1;function Be(e){const n=Xt;return Xt=e,n}class ap{constructor(){this.id=uM++,this.ref=function cM(e){return new lM(e)}(this),this.producers=new Map,this.consumers=new Map,this.trackingVersion=0,this.valueVersion=0}consumerPollProducersForChange(){for(const[n,t]of this.producers){const r=t.producerNode.deref();if(void 0!==r&&t.atTrackingVersion===this.trackingVersion){if(r.producerPollStatus(t.seenValueVersion))return!0}else this.producers.delete(n),r?.consumers.delete(this.id)}return!1}producerMayHaveChanged(){const n=_s;_s=!0;try{for(const[t,r]of this.consumers){const i=r.consumerNode.deref();void 0!==i&&i.trackingVersion===r.atTrackingVersion?i.onConsumerDependencyMayHaveChanged():(this.consumers.delete(t),i?.producers.delete(this.id))}}finally{_s=n}}producerAccessed(){if(_s)throw new Error("");if(null===Xt)return;let n=Xt.producers.get(this.id);void 0===n?(n={consumerNode:Xt.ref,producerNode:this.ref,seenValueVersion:this.valueVersion,atTrackingVersion:Xt.trackingVersion},Xt.producers.set(this.id,n),this.consumers.set(Xt.id,n)):(n.seenValueVersion=this.valueVersion,n.atTrackingVersion=Xt.trackingVersion)}get hasProducers(){return this.producers.size>0}get producerUpdatesAllowed(){return!1!==Xt?.consumerAllowSignalWrites}producerPollStatus(n){return this.valueVersion!==n||(this.onProducerUpdateValueVersion(),this.valueVersion!==n)}}let lp=null;const up=()=>{};class pM extends ap{constructor(n,t,r){super(),this.watch=n,this.schedule=t,this.dirty=!1,this.cleanupFn=up,this.registerOnCleanup=i=>{this.cleanupFn=i},this.consumerAllowSignalWrites=r}notify(){this.dirty||this.schedule(this),this.dirty=!0}onConsumerDependencyMayHaveChanged(){this.notify()}onProducerUpdateValueVersion(){}run(){if(this.dirty=!1,0!==this.trackingVersion&&!this.consumerPollProducersForChange())return;const n=Be(this);this.trackingVersion++;try{this.cleanupFn(),this.cleanupFn=up,this.watch(this.registerOnCleanup)}finally{Be(n)}}cleanup(){this.cleanupFn()}}class gM{constructor(n,t,r){this.previousValue=n,this.currentValue=t,this.firstChange=r}isFirstChange(){return this.firstChange}}function Nt(){return dp}function dp(e){return e.type.prototype.ngOnChanges&&(e.setInput=yM),mM}function mM(){const e=hp(this),n=e?.current;if(n){const t=e.previous;if(t===mn)e.previous=n;else for(let r in n)t[r]=n[r];e.current=null,this.ngOnChanges(n)}}function yM(e,n,t,r){const i=this.declaredInputs[t],o=hp(e)||function vM(e,n){return e[fp]=n}(e,{previous:mn,current:null}),s=o.current||(o.current={}),a=o.previous,l=a[i];s[i]=new gM(l&&l.currentValue,n,a===mn),e[r]=n}Nt.ngInherit=!0;const fp="__ngSimpleChanges__";function hp(e){return e[fp]||null}const Jt=function(e,n,t){};function ge(e){for(;Array.isArray(e);)e=e[ke];return e}function ws(e,n){return ge(n[e])}function at(e,n){return ge(n[e.index])}function mp(e,n){return e.data[n]}function Pr(e,n){return e[n]}function lt(e,n){const t=n[e];return vt(t)?t:t[ke]}function bs(e){return 128==(128&e[z])}function Hn(e,n){return null==n?null:e[n]}function yp(e){e[Or]=0}function EM(e){1024&e[z]||(e[z]|=1024,_p(e,1))}function vp(e){1024&e[z]&&(e[z]&=-1025,_p(e,-1))}function _p(e,n){let t=e[ye];if(null===t)return;t[tr]+=n;let r=t;for(t=t[ye];null!==t&&(1===n&&1===r[tr]||-1===n&&0===r[tr]);)t[tr]+=n,r=t,t=t[ye]}const j={lFrame:xp(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function wp(){return j.bindingsEnabled}function v(){return j.lFrame.lView}function K(){return j.lFrame.tView}function _n(e){return j.lFrame.contextLView=e,e[Ce]}function Dn(e){return j.lFrame.contextLView=null,e}function Ue(){let e=bp();for(;null!==e&&64===e.type;)e=e.parent;return e}function bp(){return j.lFrame.currentTNode}function en(e,n){const t=j.lFrame;t.currentTNode=e,t.isParent=n}function Jl(){return j.lFrame.isParent}function Ke(){const e=j.lFrame;let n=e.bindingRootIndex;return-1===n&&(n=e.bindingRootIndex=e.tView.bindingStartIndex),n}function Fr(){return j.lFrame.bindingIndex++}function FM(e,n){const t=j.lFrame;t.bindingIndex=t.bindingRootIndex=e,tc(n)}function tc(e){j.lFrame.currentDirectiveIndex=e}function rc(e){j.lFrame.currentQueryIndex=e}function VM(e){const n=e[M];return 2===n.type?n.declTNode:1===n.type?e[We]:null}function Ap(e,n,t){if(t&R.SkipSelf){let i=n,o=e;for(;!(i=i.parent,null!==i||t&R.Host||(i=VM(o),null===i||(o=o[Nr],10&i.type))););if(null===i)return!1;n=i,e=o}const r=j.lFrame=Tp();return r.currentTNode=n,r.lView=e,!0}function ic(e){const n=Tp(),t=e[M];j.lFrame=n,n.currentTNode=t.firstChild,n.lView=e,n.tView=t,n.contextLView=e,n.bindingIndex=t.bindingStartIndex,n.inI18n=!1}function Tp(){const e=j.lFrame,n=null===e?null:e.child;return null===n?xp(e):n}function xp(e){const n={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=n),n}function Np(){const e=j.lFrame;return j.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Op=Np;function oc(){const e=Np();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 Xe(){return j.lFrame.selectedIndex}function or(e){j.lFrame.selectedIndex=e}function ve(){const e=j.lFrame;return mp(e.tView,e.selectedIndex)}let Pp=!0;function Es(){return Pp}function Bn(e){Pp=e}function Ms(e,n){for(let t=n.directiveStart,r=n.directiveEnd;t=r)break}else n[l]<0&&(e[Or]+=65536),(a>12>16&&(3&e[z])===n&&(e[z]+=4096,Fp(a,o)):Fp(a,o)}const Lr=-1;class Bi{constructor(n,t,r){this.factory=n,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=r}}function Lp(e){return e!==Lr}function As(e){return 32767&e}function Ts(e,n){let t=function QM(e){return e>>16}(e),r=n;for(;t>0;)r=r[Nr],t--;return r}let lc=!0;function xs(e){const n=lc;return lc=e,n}const Vp=255,jp=5;let KM=0;const tn={};function Ns(e,n){const t=Hp(e,n);if(-1!==t)return t;const r=n[M];r.firstCreatePass&&(e.injectorIndex=n.length,cc(r.data,e),cc(n,null),cc(r.blueprint,null));const i=uc(e,n),o=e.injectorIndex;if(Lp(i)){const s=As(i),a=Ts(i,n),l=a[M].data;for(let c=0;c<8;c++)n[o+c]=a[s+c]|l[s+c]}return n[o+8]=i,o}function cc(e,n){e.push(0,0,0,0,0,0,0,0,n)}function Hp(e,n){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===n[e.injectorIndex+8]?-1:e.injectorIndex}function uc(e,n){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let t=0,r=null,i=n;for(;null!==i;){if(r=qp(i),null===r)return Lr;if(t++,i=i[Nr],-1!==r.injectorIndex)return r.injectorIndex|t<<16}return Lr}function dc(e,n,t){!function XM(e,n,t){let r;"string"==typeof t?r=t.charCodeAt(0)||0:t.hasOwnProperty(Pi)&&(r=t[Pi]),null==r&&(r=t[Pi]=KM++);const i=r&Vp;n.data[e+(i>>jp)]|=1<=0?n&Vp:nS:n}(t);if("function"==typeof o){if(!Ap(n,e,r))return r&R.Host?Bp(i,0,r):$p(n,t,r,i);try{const s=o(r);if(null!=s||r&R.Optional)return s;ls()}finally{Op()}}else if("number"==typeof o){let s=null,a=Hp(e,n),l=Lr,c=r&R.Host?n[Ie][We]:null;for((-1===a||r&R.SkipSelf)&&(l=-1===a?uc(e,n):n[a+8],l!==Lr&&Wp(r,!1)?(s=n[M],a=As(l),n=Ts(l,n)):a=-1);-1!==a;){const u=n[M];if(Gp(o,a,u.data)){const d=eS(a,n,t,s,r,c);if(d!==tn)return d}l=n[a+8],l!==Lr&&Wp(r,n[M].data[a+8]===c)&&Gp(o,a,n)?(s=u,a=As(l),n=Ts(l,n)):a=-1}}return i}function eS(e,n,t,r,i,o){const s=n[M],a=s.data[e+8],u=function Os(e,n,t,r,i){const o=e.providerIndexes,s=n.data,a=1048575&o,l=e.directiveStart,u=o>>20,f=i?a+u:e.directiveEnd;for(let h=r?a:a+u;h=l&&p.type===t)return h}if(i){const h=s[l];if(h&&jt(h)&&h.type===t)return l}return null}(a,s,t,null==r?rr(a)&&lc:r!=s&&0!=(3&a.type),i&R.Host&&o===a);return null!==u?sr(n,s,u,a):tn}function sr(e,n,t,r){let i=e[t];const o=n.data;if(function qM(e){return e instanceof Bi}(i)){const s=i;s.resolving&&function ME(e,n){const t=n?`. Dependency path: ${n.join(" > ")} > ${e}`:"";throw new _(-200,`Circular dependency in DI detected for ${e}${t}`)}(function re(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():B(e)}(o[t]));const a=xs(s.canSeeViewProviders);s.resolving=!0;const l=s.injectImpl?it(s.injectImpl):null;Ap(e,r,R.Default);try{i=e[t]=s.factory(void 0,o,e,r),n.firstCreatePass&&t>=r.directiveStart&&function GM(e,n,t){const{ngOnChanges:r,ngOnInit:i,ngDoCheck:o}=n.type.prototype;if(r){const s=dp(n);(t.preOrderHooks??=[]).push(e,s),(t.preOrderCheckHooks??=[]).push(e,s)}i&&(t.preOrderHooks??=[]).push(0-e,i),o&&((t.preOrderHooks??=[]).push(e,o),(t.preOrderCheckHooks??=[]).push(e,o))}(t,o[t],n)}finally{null!==l&&it(l),xs(a),s.resolving=!1,Op()}}return i}function Gp(e,n,t){return!!(t[n+(e>>jp)]&1<{const n=e.prototype.constructor,t=n[yn]||fc(n),r=Object.prototype;let i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==r;){const o=i[yn]||fc(i);if(o&&o!==t)return o;i=Object.getPrototypeOf(i)}return o=>new o})}function fc(e){return Fl(e)?()=>{const n=fc(H(e));return n&&n()}:ir(e)}function qp(e){const n=e[M],t=n.type;return 2===t?n.declTNode:1===t?e[We]:null}const Hr="__parameters__";function $r(e,n,t){return gn(()=>{const r=function hc(e){return function(...t){if(e){const r=e(...t);for(const i in r)this[i]=r[i]}}}(n);function i(...o){if(this instanceof i)return r.apply(this,o),this;const s=new i(...o);return a.annotation=s,a;function a(l,c,u){const d=l.hasOwnProperty(Hr)?l[Hr]:Object.defineProperty(l,Hr,{value:[]})[Hr];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),l}}return t&&(i.prototype=Object.create(t.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i})}function zi(e,n){e.forEach(t=>Array.isArray(t)?zi(t,n):n(t))}function Yp(e,n,t){n>=e.length?e.push(t):e.splice(n,0,t)}function Ps(e,n){return n>=e.length-1?e.pop():e.splice(n,1)[0]}function _t(e,n,t){let r=Ur(e,n);return r>=0?e[1|r]=t:(r=~r,function lS(e,n,t,r){let i=e.length;if(i==n)e.push(t,r);else if(1===i)e.push(r,e[0]),e[0]=t;else{for(i--,e.push(e[i-1],e[i]);i>n;)e[i]=e[i-2],i--;e[n]=t,e[n+1]=r}}(e,r,n,t)),r}function pc(e,n){const t=Ur(e,n);if(t>=0)return e[1|t]}function Ur(e,n){return function Qp(e,n,t){let r=0,i=e.length>>t;for(;i!==r;){const o=r+(i-r>>1),s=e[o<n?i=o:r=o+1}return~(i<((ct=ct||{})[ct.Important=1]="Important",ct[ct.DashCase=2]="DashCase",ct))();const Dc=new Map;let OS=0;const wc="__ngContext__";function qe(e,n){vt(n)?(e[wc]=n[Vi],function PS(e){Dc.set(e[Vi],e)}(n)):e[wc]=n}let bc;function Ec(e,n){return bc(e,n)}function Zi(e){const n=e[ye];return st(n)?n[ye]:n}function Mc(e){return gg(e[Fi])}function Sc(e){return gg(e[Vt])}function gg(e){for(;null!==e&&!st(e);)e=e[Vt];return e}function Wr(e,n,t,r,i){if(null!=r){let o,s=!1;st(r)?o=r:vt(r)&&(s=!0,r=r[ke]);const a=ge(r);0===e&&null!==t?null==i?Dg(n,t,a):ar(n,t,a,i||null,!0):1===e&&null!==t?ar(n,t,a,i||null,!0):2===e?function qs(e,n,t){const r=Gs(e,n);r&&function JS(e,n,t,r){e.removeChild(n,t,r)}(e,r,n,t)}(n,a,s):3===e&&n.destroyNode(a),null!=o&&function nI(e,n,t,r,i){const o=t[Kt];o!==ge(t)&&Wr(n,e,r,o,i);for(let a=$e;a0&&(e[t-1][Vt]=r[Vt]);const o=Ps(e,$e+n);!function GS(e,n){Qi(e,n,n[$],2,null,null),n[ke]=null,n[We]=null}(r[M],r);const s=o[Qt];null!==s&&s.detachView(o[M]),r[ye]=null,r[Vt]=null,r[z]&=-129}return r}function vg(e,n){if(!(256&n[z])){const t=n[$];n[gs]?.destroy(),n[ms]?.destroy(),t.destroyNode&&Qi(e,n,t,3,null,null),function ZS(e){let n=e[Fi];if(!n)return Tc(e[M],e);for(;n;){let t=null;if(vt(n))t=n[Fi];else{const r=n[$e];r&&(t=r)}if(!t){for(;n&&!n[Vt]&&n!==e;)vt(n)&&Tc(n[M],n),n=n[ye];null===n&&(n=e),vt(n)&&Tc(n[M],n),t=n&&n[Vt]}n=t}}(n)}}function Tc(e,n){if(!(256&n[z])){n[z]&=-129,n[z]|=256,function XS(e,n){let t;if(null!=e&&null!=(t=e.destroyHooks))for(let r=0;r=0?r[s]():r[-s].unsubscribe(),o+=2}else t[o].call(r[t[o+1]]);null!==r&&(n[Tr]=null);const i=n[jn];if(null!==i){n[jn]=null;for(let o=0;o-1){const{encapsulation:o}=e.data[r.directiveStart+i];if(o===gt.None||o===gt.Emulated)return null}return at(r,t)}}(e,n.parent,t)}function ar(e,n,t,r,i){e.insertBefore(n,t,r,i)}function Dg(e,n,t){e.appendChild(n,t)}function Cg(e,n,t,r,i){null!==r?ar(e,n,t,r,i):Dg(e,n,t)}function Gs(e,n){return e.parentNode(n)}let Nc,kc,Eg=function bg(e,n,t){return 40&e.type?at(e,t):null};function Ws(e,n,t,r){const i=xc(e,r,n),o=n[$],a=function wg(e,n,t){return Eg(e,n,t)}(r.parent||n[We],r,n);if(null!=i)if(Array.isArray(t))for(let l=0;l((Ae=Ae||{})[Ae.NONE=0]="NONE",Ae[Ae.HTML=1]="HTML",Ae[Ae.STYLE=2]="STYLE",Ae[Ae.SCRIPT=3]="SCRIPT",Ae[Ae.URL=4]="URL",Ae[Ae.RESOURCE_URL=5]="RESOURCE_URL",Ae))();function dt(e){const n=function eo(){const e=v();return e&&e[nr].sanitizer}();return n?n.sanitize(Ae.URL,e)||"":function Xi(e,n){const t=function pI(e){return e instanceof Pg&&e.getTypeName()||null}(e);if(null!=t&&t!==n){if("ResourceURL"===t&&"URL"===n)return!0;throw new Error(`Required a safe ${n}, got a ${t} (see ${Rh})`)}return t===n}(e,"URL")?$n(e):function Lc(e){return(e=String(e)).match(vI)?e:"unsafe:"+e}(B(e))}class A{constructor(n,t){this._desc=n,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof t?this.__NG_ELEMENT_ID__=t:void 0!==t&&(this.\u0275prov=O({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const to=new A("ENVIRONMENT_INITIALIZER"),Ug=new A("INJECTOR",-1),zg=new A("INJECTOR_DEF_TYPES");class Gg{get(n,t=Oi){if(t===Oi){const r=new Error(`NullInjectorError: No provider for ${Pe(n)}!`);throw r.name="NullInjectorError",r}return t}}function NI(...e){return{\u0275providers:Wg(0,e),\u0275fromNgModule:!0}}function Wg(e,...n){const t=[],r=new Set;let i;return zi(n,o=>{const s=o;$c(s,t,[],r)&&(i||=[],i.push(s))}),void 0!==i&&qg(i,t),t}function qg(e,n){for(let t=0;t{n.push(o)})}}function $c(e,n,t,r){if(!(e=H(e)))return!1;let i=null,o=kh(e);const s=!o&&ee(e);if(o||s){if(s&&!s.standalone)return!1;i=e}else{const l=e.ngModule;if(o=kh(l),!o)return!1;i=l}const a=r.has(i);if(s){if(a)return!1;if(r.add(i),s.dependencies){const l="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const c of l)$c(c,n,t,r)}}else{if(!o)return!1;{if(null!=o.imports&&!a){let c;r.add(i);try{zi(o.imports,u=>{$c(u,n,t,r)&&(c||=[],c.push(u))})}finally{}void 0!==c&&qg(c,n)}if(!a){const c=ir(i)||(()=>new i);n.push({provide:i,useFactory:c,deps:X},{provide:zg,useValue:i,multi:!0},{provide:to,useValue:()=>N(i),multi:!0})}const l=o.providers;null==l||a||Uc(l,u=>{n.push(u)})}}return i!==e&&void 0!==e.providers}function Uc(e,n){for(let t of e)Ll(t)&&(t=t.\u0275providers),Array.isArray(t)?Uc(t,n):n(t)}const OI=se({provide:String,useValue:se});function zc(e){return null!==e&&"object"==typeof e&&OI in e}function lr(e){return"function"==typeof e}const Gc=new A("Set Injector scope."),Ks={},PI={};let Wc;function Xs(){return void 0===Wc&&(Wc=new Gg),Wc}class nn{}class qc extends nn{get destroyed(){return this._destroyed}constructor(n,t,r,i){super(),this.parent=t,this.source=r,this.scopes=i,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Yc(n,s=>this.processProvider(s)),this.records.set(Ug,Zr(void 0,this)),i.has("environment")&&this.records.set(nn,Zr(void 0,this));const o=this.records.get(Gc);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(zg.multi,X,R.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();const n=this._onDestroyHooks;this._onDestroyHooks=[];for(const t of n)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(n){return this.assertNotDestroyed(),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){this.assertNotDestroyed();const t=Vn(this),r=it(void 0);try{return n()}finally{Vn(t),it(r)}}get(n,t=Oi,r=R.Default){if(this.assertNotDestroyed(),n.hasOwnProperty($h))return n[$h](this);r=fs(r);const i=Vn(this),o=it(void 0);try{if(!(r&R.SkipSelf)){let a=this.records.get(n);if(void 0===a){const l=function jI(e){return"function"==typeof e||"object"==typeof e&&e instanceof A}(n)&&cs(n);a=l&&this.injectableDefInScope(l)?Zr(Zc(n),Ks):null,this.records.set(n,a)}if(null!=a)return this.hydrate(n,a)}return(r&R.Self?Xs():this.parent).get(n,t=r&R.Optional&&t===Oi?null:t)}catch(s){if("NullInjectorError"===s.name){if((s[ds]=s[ds]||[]).unshift(Pe(n)),i)throw s;return function jE(e,n,t,r){const i=e[ds];throw n[jh]&&i.unshift(n[jh]),e.message=function HE(e,n,t,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let i=Pe(n);if(Array.isArray(n))i=n.map(Pe).join(" -> ");else if("object"==typeof n){let o=[];for(let s in n)if(n.hasOwnProperty(s)){let a=n[s];o.push(s+":"+("string"==typeof a?JSON.stringify(a):Pe(a)))}i=`{${o.join(", ")}}`}return`${t}${r?"("+r+")":""}[${i}]: ${e.replace(PE,"\n ")}`}("\n"+e.message,i,t,r),e.ngTokenPath=i,e[ds]=null,e}(s,n,"R3InjectorError",this.source)}throw s}finally{it(o),Vn(i)}}resolveInjectorInitializers(){const n=Vn(this),t=it(void 0);try{const r=this.get(to.multi,X,R.Self);for(const i of r)i()}finally{Vn(n),it(t)}}toString(){const n=[],t=this.records;for(const r of t.keys())n.push(Pe(r));return`R3Injector[${n.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new _(205,!1)}processProvider(n){let t=lr(n=H(n))?n:H(n&&n.provide);const r=function FI(e){return zc(e)?Zr(void 0,e.useValue):Zr(Qg(e),Ks)}(n);if(lr(n)||!0!==n.multi)this.records.get(t);else{let i=this.records.get(t);i||(i=Zr(void 0,Ks,!0),i.factory=()=>Bl(i.multi),this.records.set(t,i)),t=n,i.multi.push(n)}this.records.set(t,r)}hydrate(n,t){return t.value===Ks&&(t.value=PI,t.value=t.factory()),"object"==typeof t.value&&t.value&&function VI(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(t.value)&&this._ngOnDestroyHooks.add(t.value),t.value}injectableDefInScope(n){if(!n.providedIn)return!1;const t=H(n.providedIn);return"string"==typeof t?"any"===t||this.scopes.has(t):this.injectorDefTypes.has(t)}removeOnDestroy(n){const t=this._onDestroyHooks.indexOf(n);-1!==t&&this._onDestroyHooks.splice(t,1)}}function Zc(e){const n=cs(e),t=null!==n?n.factory:ir(e);if(null!==t)return t;if(e instanceof A)throw new _(204,!1);if(e instanceof Function)return function kI(e){const n=e.length;if(n>0)throw function Gi(e,n){const t=[];for(let r=0;rt.factory(e):()=>new e}(e);throw new _(204,!1)}function Qg(e,n,t){let r;if(lr(e)){const i=H(e);return ir(i)||Zc(i)}if(zc(e))r=()=>H(e.useValue);else if(function Yg(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...Bl(e.deps||[]));else if(function Zg(e){return!(!e||!e.useExisting)}(e))r=()=>N(H(e.useExisting));else{const i=H(e&&(e.useClass||e.provide));if(!function LI(e){return!!e.deps}(e))return ir(i)||Zc(i);r=()=>new i(...Bl(e.deps))}return r}function Zr(e,n,t=!1){return{factory:e,value:n,multi:t?[]:void 0}}function Yc(e,n){for(const t of e)Array.isArray(t)?Yc(t,n):t&&Ll(t)?Yc(t.\u0275providers,n):n(t)}const Js=new A("AppId",{providedIn:"root",factory:()=>HI}),HI="ng",Kg=new A("Platform Initializer"),cr=new A("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),Xg=new A("CSP nonce",{providedIn:"root",factory:()=>function Ki(){if(void 0!==kc)return kc;if(typeof document<"u")return document;throw new _(210,!1)}().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let em=(e,n)=>null;function tm(e,n){return em(e,n)}class YI{}class im{}class KI{resolveComponentFactory(n){throw function QI(e){const n=Error(`No component factory found for ${Pe(e)}.`);return n.ngComponent=e,n}(n)}}let ia=(()=>{class e{static#e=this.NULL=new KI}return e})();function XI(){return Yr(Ue(),v())}function Yr(e,n){return new ft(at(e,n))}let ft=(()=>{class e{constructor(t){this.nativeElement=t}static#e=this.__NG_ELEMENT_ID__=XI}return e})();class sm{}let En=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=()=>function e0(){const e=v(),t=lt(Ue().index,e);return(vt(t)?t:e)[$]}()}return e})(),t0=(()=>{class e{static#e=this.\u0275prov=O({token:e,providedIn:"root",factory:()=>null})}return e})();class oo{constructor(n){this.full=n,this.major=n.split(".")[0],this.minor=n.split(".")[1],this.patch=n.split(".").slice(2).join(".")}}const n0=new oo("16.0.4"),su={};function so(e){for(;e;){e[z]|=64;const n=Zi(e);if(ql(e)&&!n)return e;e=n}return null}function au(e){return e.ngOriginalError}class ur{constructor(){this._console=console}handleError(n){const t=this._findOriginalError(n);this._console.error("ERROR",n),t&&this._console.error("ORIGINAL ERROR",t)}_findOriginalError(n){let t=n&&au(n);for(;t&&au(t);)t=au(t);return t||null}}const cm=new A("",{providedIn:"root",factory:()=>!1});function um(e){return e.ownerDocument}function Mn(e){return e instanceof Function?e():e}class gm extends ap{constructor(){super(...arguments),this.consumerAllowSignalWrites=!1,this._lView=null}set lView(n){this._lView=n}onConsumerDependencyMayHaveChanged(){so(this._lView)}onProducerUpdateValueVersion(){}get hasReadASignal(){return this.hasProducers}runInContext(n,t,r){const i=Be(this);this.trackingVersion++;try{n(t,r)}finally{Be(i)}}destroy(){this.trackingVersion++}}let sa=null;function mm(){return sa??=new gm,sa}function ym(e,n){return e[n]??mm()}function vm(e,n){const t=mm();t.hasReadASignal&&(e[n]=sa,t.lView=e,sa=new gm)}const U={};function T(e){_m(K(),v(),Xe()+e,!1)}function _m(e,n,t,r){if(!r)if(3==(3&n[z])){const o=e.preOrderCheckHooks;null!==o&&Ss(n,o,t)}else{const o=e.preOrderHooks;null!==o&&Is(n,o,0,t)}or(t)}function bm(e,n=null,t=null,r){const i=Em(e,n,t,r);return i.resolveInjectorInitializers(),i}function Em(e,n=null,t=null,r,i=new Set){const o=[t||X,NI(e)];return r=r||("object"==typeof e?void 0:Pe(e)),new qc(o,n||Xs(),r||null,i)}let rn=(()=>{class e{static#e=this.THROW_IF_NOT_FOUND=Oi;static#t=this.NULL=new Gg;static create(t,r){if(Array.isArray(t))return bm({name:""},r,t,"");{const i=t.name??"";return bm({name:i},t.parent,t.providers,i)}}static#n=this.\u0275prov=O({token:e,providedIn:"any",factory:()=>N(Ug)});static#r=this.__NG_ELEMENT_ID__=-1}return e})();function D(e,n=R.Default){const t=v();return null===t?N(e,n):Up(Ue(),t,H(e),n)}function aa(e,n,t,r,i,o,s,a,l,c,u){const d=n.blueprint.slice();return d[ke]=i,d[z]=140|r,(null!==c||e&&2048&e[z])&&(d[z]|=2048),yp(d),d[ye]=d[Nr]=e,d[Ce]=t,d[nr]=s||e&&e[nr],d[$]=a||e&&e[$],d[xr]=l||e&&e[xr]||null,d[We]=o,d[Vi]=function RS(){return OS++}(),d[vn]=u,d[tp]=c,d[Ie]=2==n.type?e[Ie]:d,d}function Kr(e,n,t,r,i){let o=e.data[n];if(null===o)o=function lu(e,n,t,r,i){const o=bp(),s=Jl(),l=e.data[n]=function b0(e,n,t,r,i,o){let s=n?n.injectorIndex:-1,a=0;return function kr(){return null!==j.skipHydrationRootTNode}()&&(a|=128),{type:t,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:i,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:n,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,s?o:o&&o.parent,t,n,r,i);return null===e.firstChild&&(e.firstChild=l),null!==o&&(s?null==o.child&&null!==l.parent&&(o.child=l):null===o.next&&(o.next=l,l.prev=o)),l}(e,n,t,r,i),function kM(){return j.lFrame.inI18n}()&&(o.flags|=32);else if(64&o.type){o.type=t,o.value=r,o.attrs=i;const s=function Hi(){const e=j.lFrame,n=e.currentTNode;return e.isParent?n:n.parent}();o.injectorIndex=null===s?-1:s.injectorIndex}return en(o,!0),o}function ao(e,n,t,r){if(0===t)return-1;const i=n.length;for(let o=0;oQ&&_m(e,n,Q,!1),Jt(a?2:0,i),a)o.runInContext(t,r,i);else{const c=Be(null);try{t(r,i)}finally{Be(c)}}}finally{a&&null===n[gs]&&vm(n,gs),or(s),Jt(a?3:1,i)}}function cu(e,n,t){if(Wl(n)){const r=Be(null);try{const o=n.directiveEnd;for(let s=n.directiveStart;snull;function Tm(e,n,t,r){for(let i in e)if(e.hasOwnProperty(i)){t=null===t?{}:t;const o=e[i];null===r?xm(t,n,i,o):r.hasOwnProperty(i)&&xm(t,n,r[i],o)}return t}function xm(e,n,t,r){e.hasOwnProperty(t)?e[t].push(n,r):e[t]=[n,r]}function Dt(e,n,t,r,i,o,s,a){const l=at(n,t);let u,c=n.inputs;!a&&null!=c&&(u=c[r])?(yu(e,t,u,r,i),rr(n)&&function S0(e,n){const t=lt(n,e);16&t[z]||(t[z]|=64)}(t,n.index)):3&n.type&&(r=function M0(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),i=null!=s?s(i,n.value||"",r):i,o.setProperty(l,r,i))}function hu(e,n,t,r){if(wp()){const i=null===r?null:{"":-1},o=function O0(e,n){const t=e.directiveRegistry;let r=null,i=null;if(t)for(let o=0;o0;){const t=e[--n];if("number"==typeof t&&t<0)return t}return 0})(s)!=a&&s.push(a),s.push(t,r,o)}}(e,n,r,ao(e,t,i.hostVars,U),i)}function on(e,n,t,r,i,o){const s=at(e,n);!function gu(e,n,t,r,i,o,s){if(null==o)e.removeAttribute(n,i,t);else{const a=null==s?B(o):s(o,r||"",i);e.setAttribute(n,i,a,t)}}(n[$],s,o,e.value,t,r,i)}function V0(e,n,t,r,i,o){const s=o[n];if(null!==s)for(let a=0;a{class e{constructor(){this.all=new Set,this.queue=new Map}create(t,r,i){const o=typeof Zone>"u"?null:Zone.current,s=new pM(t,c=>{this.all.has(c)&&this.queue.set(c,o)},i);let a;this.all.add(s),s.notify();const l=()=>{s.cleanup(),a?.(),this.all.delete(s),this.queue.delete(s)};return a=r?.onDestroy(l),{destroy:l}}flush(){if(0!==this.queue.size)for(const[t,r]of this.queue)this.queue.delete(t),r?r.run(()=>t.run()):t.run()}get isQueueEmpty(){return 0===this.queue.size}static#e=this.\u0275prov=O({token:e,providedIn:"root",factory:()=>new e})}return e})();function ca(e,n,t){let r=t?e.styles:null,i=t?e.classes:null,o=0;if(null!==n)for(let s=0;s0&&_u(t)}}function _u(e){for(let r=Mc(e);null!==r;r=Sc(r))for(let i=$e;i0&&_u(o)}const t=e[M].components;if(null!==t)for(let r=0;r0&&_u(i)}}class co{get rootNodes(){const n=this._lView,t=n[M];return lo(t,n,t.firstChild,[])}constructor(n,t){this._lView=n,this._cdRefInjectingView=t,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[Ce]}set context(n){this._lView[Ce]=n}get destroyed(){return 256==(256&this._lView[z])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const n=this._lView[ye];if(st(n)){const t=n[ys],r=t?t.indexOf(this):-1;r>-1&&(Ac(n,r),Ps(t,r))}this._attachedToViewContainer=!1}vg(this._lView[M],this._lView)}onDestroy(n){!function Dp(e,n){if(256==(256&e[z]))throw new _(911,!1);null===e[jn]&&(e[jn]=[]),e[jn].push(n)}(this._lView,n)}markForCheck(){so(this._cdRefInjectingView||this._lView)}detach(){this._lView[z]&=-129}reattach(){this._lView[z]|=128}detectChanges(){ua(this._lView[M],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new _(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function qS(e,n){Qi(e,n,n[$],2,null,null)}(this._lView[M],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new _(902,!1);this._appRef=n}}class K0 extends co{constructor(n){super(n),this._view=n}detectChanges(){const n=this._view;ua(n[M],n,n[Ce],!1)}checkNoChanges(){}get context(){return null}}class Bm extends ia{constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){const t=ee(n);return new uo(t,this.ngModule)}}function $m(e){const n=[];for(let t in e)e.hasOwnProperty(t)&&n.push({propName:e[t],templateName:t});return n}class J0{constructor(n,t){this.injector=n,this.parentInjector=t}get(n,t,r){r=fs(r);const i=this.injector.get(n,su,r);return i!==su||t===su?i:this.parentInjector.get(n,t,r)}}class uo extends im{get inputs(){return $m(this.componentDef.inputs)}get outputs(){return $m(this.componentDef.outputs)}constructor(n,t){super(),this.componentDef=n,this.ngModule=t,this.componentType=n.type,this.selector=function QE(e){return e.map(YE).join(",")}(n.selectors),this.ngContentSelectors=n.ngContentSelectors?n.ngContentSelectors:[],this.isBoundToModule=!!t}create(n,t,r,i){let o=(i=i||this.ngModule)instanceof nn?i:i?.injector;o&&null!==this.componentDef.getStandaloneInjector&&(o=this.componentDef.getStandaloneInjector(o)||o);const s=o?new J0(n,o):n,a=s.get(sm,null);if(null===a)throw new _(407,!1);const u={rendererFactory:a,sanitizer:s.get(t0,null),effectManager:s.get(Hm,null)},d=a.createRenderer(null,this.componentDef),f=this.componentDef.selectors[0][0]||"div",h=r?function v0(e,n,t,r){const o=r.get(cm,!1)||t===gt.ShadowDom,s=e.selectRootElement(n,o);return function _0(e){Am(e)}(s),s}(d,r,this.componentDef.encapsulation,s):zs(d,f,function X0(e){const n=e.toLowerCase();return"svg"===n?"svg":"math"===n?"math":null}(f)),p=this.componentDef.onPush?576:528,g=fu(0,null,null,1,0,null,null,null,null,null,null),y=aa(null,g,null,p,null,null,u,d,s,null,null);let C,m;ic(y);try{const E=this.componentDef;let k,q=null;E.findHostDirectiveDefs?(k=[],q=new Map,E.findHostDirectiveDefs(E,k,q),k.push(E)):k=[E];const St=function tA(e,n){const t=e[M],r=Q;return e[r]=n,Kr(t,r,2,"#host",null)}(y,h),Sb=function nA(e,n,t,r,i,o,s){const a=i[M];!function rA(e,n,t,r){for(const i of e)n.mergedAttrs=ki(n.mergedAttrs,i.hostAttrs);null!==n.mergedAttrs&&(ca(n,n.mergedAttrs,!0),null!==t&&xg(r,t,n))}(r,e,n,s);let l=null;null!==n&&(l=tm(n,i[xr]));const c=o.rendererFactory.createRenderer(n,t),u=aa(i,Im(t),null,t.onPush?64:16,i[e.index],e,o,c,null,null,l);return a.firstCreatePass&&pu(a,e,r.length-1),la(i,u),i[e.index]=u}(St,h,E,k,y,u,d);m=mp(g,Q),h&&function oA(e,n,t,r){if(r)zl(e,t,["ng-version",n0.full]);else{const{attrs:i,classes:o}=function KE(e){const n=[],t=[];let r=1,i=2;for(;r0&&Tg(e,t,o.join(" "))}}(d,E,h,r),void 0!==t&&function sA(e,n,t){const r=e.projection=[];for(let i=0;i=0;r--){const i=e[r];i.hostVars=n+=i.hostVars,i.hostAttrs=ki(i.hostAttrs,t=ki(t,i.hostAttrs))}}(r)}function Du(e){return e===mn?{}:e===X?[]:e}function cA(e,n){const t=e.viewQuery;e.viewQuery=t?(r,i)=>{n(r,i),t(r,i)}:n}function uA(e,n){const t=e.contentQueries;e.contentQueries=t?(r,i,o)=>{n(r,i,o),t(r,i,o)}:n}function dA(e,n){const t=e.hostBindings;e.hostBindings=t?(r,i)=>{n(r,i),t(r,i)}:n}function fa(e){return!!Cu(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function Cu(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function sn(e,n,t){return e[n]=t}function Ze(e,n,t){return!Object.is(e[n],t)&&(e[n]=t,!0)}function Ct(e,n,t,r){const i=v();return Ze(i,Fr(),n)&&(K(),on(ve(),i,e,n,t,r)),Ct}function Jr(e,n,t,r){return Ze(e,Fr(),t)?n+B(t)+r:U}function le(e,n,t,r,i,o,s,a){const l=v(),c=K(),u=e+Q,d=c.firstCreatePass?function FA(e,n,t,r,i,o,s,a,l){const c=n.consts,u=Kr(n,e,4,s||null,Hn(c,a));hu(n,t,u,Hn(c,l)),Ms(n,u);const d=u.tView=fu(2,u,r,i,o,n.directiveRegistry,n.pipeRegistry,null,n.schemas,c,null);return null!==n.queries&&(n.queries.template(n,u),d.queries=n.queries.embeddedTView(u)),u}(u,c,l,n,t,r,i,o,s):c.data[u];en(d,!1);const f=oy(c,l,d,e);Es()&&Ws(c,l,f,d),qe(f,l),la(l,l[u]=Pm(f,l,f,d)),vs(d)&&uu(c,l,d),null!=s&&du(l,d,a)}let oy=function sy(e,n,t,r){return Bn(!0),n[$].createComment("")};function Iu(e){return Pr(function PM(){return j.lFrame.contextLView}(),Q+e)}function Z(e,n,t){const r=v();return Ze(r,Fr(),n)&&Dt(K(),ve(),r,e,n,r[$],t,!1),Z}function Au(e,n,t,r,i){const s=i?"class":"style";yu(e,t,n.inputs[s],s,r)}function w(e,n,t,r){const i=v(),o=K(),s=Q+e,a=i[$],l=o.firstCreatePass?function HA(e,n,t,r,i,o){const s=n.consts,l=Kr(n,e,2,r,Hn(s,i));return hu(n,t,l,Hn(s,o)),null!==l.attrs&&ca(l,l.attrs,!1),null!==l.mergedAttrs&&ca(l,l.mergedAttrs,!0),null!==n.queries&&n.queries.elementStart(n,l),l}(s,o,i,n,t,r):o.data[s],c=ay(o,i,l,a,n,e);i[s]=c;const u=vs(l);return en(l,!0),xg(a,c,l),32!=(32&l.flags)&&Es()&&Ws(o,i,c,l),0===function SM(){return j.lFrame.elementDepthCount}()&&qe(c,i),function IM(){j.lFrame.elementDepthCount++}(),u&&(uu(o,i,l),cu(o,l,i)),null!==r&&du(i,l),w}function b(){let e=Ue();Jl()?function ec(){j.lFrame.isParent=!1}():(e=e.parent,en(e,!1));const n=e;(function TM(e){return j.skipHydrationRootTNode===e})(n)&&function RM(){j.skipHydrationRootTNode=null}(),function AM(){j.lFrame.elementDepthCount--}();const t=K();return t.firstCreatePass&&(Ms(t,e),Wl(e)&&t.queries.elementEnd(e)),null!=n.classesWithoutHost&&function ZM(e){return 0!=(8&e.flags)}(n)&&Au(t,n,v(),n.classesWithoutHost,!0),null!=n.stylesWithoutHost&&function YM(e){return 0!=(16&e.flags)}(n)&&Au(t,n,v(),n.stylesWithoutHost,!1),b}function te(e,n,t,r){return w(e,n,t,r),b(),te}let ay=(e,n,t,r,i,o)=>(Bn(!0),zs(r,i,function Rp(){return j.lFrame.currentNamespace}()));function Un(){return v()}function mo(e){return!!e&&"function"==typeof e.then}function uy(e){return!!e&&"function"==typeof e.subscribe}function oe(e,n,t,r){const i=v(),o=K(),s=Ue();return function fy(e,n,t,r,i,o,s){const a=vs(r),c=e.firstCreatePass&&function Lm(e){return e.cleanup||(e.cleanup=[])}(e),u=n[Ce],d=function Fm(e){return e[Tr]||(e[Tr]=[])}(n);let f=!0;if(3&r.type||s){const g=at(r,n),y=s?s(g):g,C=d.length,m=s?k=>s(ge(k[r.index])):r.index;let E=null;if(!s&&a&&(E=function WA(e,n,t,r){const i=e.cleanup;if(null!=i)for(let o=0;ol?a[l]:null}"string"==typeof s&&(o+=2)}return null}(e,n,i,r.index)),null!==E)(E.__ngLastListenerFn__||E).__ngNextListenerFn__=o,E.__ngLastListenerFn__=o,f=!1;else{o=py(r,n,u,o,!1);const k=t.listen(y,i,o);d.push(o,k),c&&c.push(i,m,C,C+1)}}else o=py(r,n,u,o,!1);const h=r.outputs;let p;if(f&&null!==h&&(p=h[i])){const g=p.length;if(g)for(let y=0;y-1?lt(e.index,n):n);let l=hy(n,t,r,s),c=o.__ngNextListenerFn__;for(;c;)l=hy(n,t,c,s)&&l,c=c.__ngNextListenerFn__;return i&&!1===l&&s.preventDefault(),l}}function ne(e=1){return function jM(e){return(j.lFrame.contextLView=function HM(e,n){for(;e>0;)n=n[Nr],e--;return n}(e,j.lFrame.contextLView))[Ce]}(e)}function wt(e,n,t){return In(e,"",n,"",t),wt}function In(e,n,t,r,i){const o=v(),s=Jr(o,n,t,r);return s!==U&&Dt(K(),ve(),o,e,s,o[$],i,!1),In}function ya(e,n){return e<<17|n<<2}function zn(e){return e>>17&32767}function Nu(e){return 2|e}function fr(e){return(131068&e)>>2}function Ou(e,n){return-131069&e|n<<2}function Ru(e){return 1|e}function by(e,n,t,r,i){const o=e[t+1],s=null===n;let a=r?zn(o):fr(o),l=!1;for(;0!==a&&(!1===l||s);){const u=e[a+1];tT(e[a],n)&&(l=!0,e[a+1]=r?Ru(u):Nu(u)),a=r?zn(u):fr(u)}l&&(e[t+1]=r?Nu(o):Ru(o))}function tT(e,n){return null===e||null==n||(Array.isArray(e)?e[1]:e)===n||!(!Array.isArray(e)||"string"!=typeof n)&&Ur(e,n)>=0}function Pu(e,n,t){return Ht(e,n,t,!1),Pu}function hr(e,n){return Ht(e,n,null,!0),hr}function Ht(e,n,t,r){const i=v(),o=K(),s=function wn(e){const n=j.lFrame,t=n.bindingIndex;return n.bindingIndex=n.bindingIndex+e,t}(2);o.firstUpdatePass&&function Ny(e,n,t,r){const i=e.data;if(null===i[t+1]){const o=i[Xe()],s=function xy(e,n){return n>=e.expandoStartIndex}(e,t);(function ky(e,n){return 0!=(e.flags&(n?8:16))})(o,r)&&null===n&&!s&&(n=!1),n=function uT(e,n,t,r){const i=function nc(e){const n=j.lFrame.currentDirectiveIndex;return-1===n?null:e[n]}(e);let o=r?n.residualClasses:n.residualStyles;if(null===i)0===(r?n.classBindings:n.styleBindings)&&(t=yo(t=ku(null,e,n,t,r),n.attrs,r),o=null);else{const s=n.directiveStylingLast;if(-1===s||e[s]!==i)if(t=ku(i,e,n,t,r),null===o){let l=function dT(e,n,t){const r=t?n.classBindings:n.styleBindings;if(0!==fr(r))return e[zn(r)]}(e,n,r);void 0!==l&&Array.isArray(l)&&(l=ku(null,e,n,l[1],r),l=yo(l,n.attrs,r),function fT(e,n,t,r){e[zn(t?n.classBindings:n.styleBindings)]=r}(e,n,r,l))}else o=function hT(e,n,t){let r;const i=n.directiveEnd;for(let o=1+n.directiveStylingLast;o0)&&(c=!0)):u=t,i)if(0!==l){const f=zn(e[a+1]);e[r+1]=ya(f,a),0!==f&&(e[f+1]=Ou(e[f+1],r)),e[a+1]=function KA(e,n){return 131071&e|n<<17}(e[a+1],r)}else e[r+1]=ya(a,0),0!==a&&(e[a+1]=Ou(e[a+1],r)),a=r;else e[r+1]=ya(l,0),0===a?a=r:e[l+1]=Ou(e[l+1],r),l=r;c&&(e[r+1]=Nu(e[r+1])),by(e,u,r,!0),by(e,u,r,!1),function eT(e,n,t,r,i){const o=i?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof n&&Ur(o,n)>=0&&(t[r+1]=Ru(t[r+1]))}(n,u,e,r,o),s=ya(a,l),o?n.classBindings=s:n.styleBindings=s}(i,o,n,t,s,r)}}(o,e,s,r),n!==U&&Ze(i,s,n)&&function Ry(e,n,t,r,i,o,s,a){if(!(3&n.type))return;const l=e.data,c=l[a+1],u=function XA(e){return 1==(1&e)}(c)?Py(l,n,t,i,fr(c),s):void 0;va(u)||(va(o)||function QA(e){return 2==(2&e)}(c)&&(o=Py(l,null,t,i,a,s)),function rI(e,n,t,r,i){if(n)i?e.addClass(t,r):e.removeClass(t,r);else{let o=-1===r.indexOf("-")?void 0:ct.DashCase;null==i?e.removeStyle(t,r,o):("string"==typeof i&&i.endsWith("!important")&&(i=i.slice(0,-10),o|=ct.Important),e.setStyle(t,r,i,o))}}(r,s,ws(Xe(),t),i,o))}(o,o.data[Xe()],i,i[$],e,i[s+1]=function yT(e,n){return null==e||""===e||("string"==typeof n?e+=n:"object"==typeof e&&(e=Pe($n(e)))),e}(n,t),r,s)}function ku(e,n,t,r,i){let o=null;const s=t.directiveEnd;let a=t.directiveStylingLast;for(-1===a?a=t.directiveStart:a++;a0;){const l=e[i],c=Array.isArray(l),u=c?l[1]:l,d=null===u;let f=t[i+1];f===U&&(f=d?X:void 0);let h=d?pc(f,r):u===r?f:void 0;if(c&&!va(h)&&(h=pc(l,r)),va(h)&&(a=h,s))return a;const p=e[i+1];i=s?zn(p):fr(p)}if(null!==n){let l=o?n.residualClasses:n.residualStyles;null!=l&&(a=pc(l,r))}return a}function va(e){return void 0!==e}function x(e,n=""){const t=v(),r=K(),i=e+Q,o=r.firstCreatePass?Kr(r,i,1,n,null):r.data[i],s=Fy(r,t,o,n,e);t[i]=s,Es()&&Ws(r,t,s,o),en(o,!1)}let Fy=(e,n,t,r,i)=>(Bn(!0),function Us(e,n){return e.createText(n)}(n[$],r));function bt(e){return vo("",e,""),bt}function vo(e,n,t){const r=v(),i=Jr(r,e,n,t);return i!==U&&function Sn(e,n,t){const r=ws(n,e);!function mg(e,n,t){e.setValue(n,t)}(e[$],r,t)}(r,Xe(),i),vo}const ci="en-US";let iv=ci;function Vu(e,n,t,r,i){if(e=H(e),Array.isArray(e))for(let o=0;o>20;if(lr(e)||!e.multi){const h=new Bi(l,i,D),p=Hu(a,n,i?u:u+f,d);-1===p?(dc(Ns(c,s),o,a),ju(o,e,n.length),n.push(a),c.directiveStart++,c.directiveEnd++,i&&(c.providerIndexes+=1048576),t.push(h),s.push(h)):(t[p]=h,s[p]=h)}else{const h=Hu(a,n,u+f,d),p=Hu(a,n,u,u+f),y=p>=0&&t[p];if(i&&!y||!i&&!(h>=0&&t[h])){dc(Ns(c,s),o,a);const C=function Lx(e,n,t,r,i){const o=new Bi(e,t,D);return o.multi=[],o.index=n,o.componentProviders=0,Tv(o,i,r&&!t),o}(i?Fx:kx,t.length,i,r,l);!i&&y&&(t[p].providerFactory=C),ju(o,e,n.length,0),n.push(a),c.directiveStart++,c.directiveEnd++,i&&(c.providerIndexes+=1048576),t.push(C),s.push(C)}else ju(o,e,h>-1?h:p,Tv(t[i?p:h],l,!i&&r));!i&&r&&y&&t[p].componentProviders++}}}function ju(e,n,t,r){const i=lr(n),o=function RI(e){return!!e.useClass}(n);if(i||o){const l=(o?H(n.useClass):n).prototype.ngOnDestroy;if(l){const c=e.destroyHooks||(e.destroyHooks=[]);if(!i&&n.multi){const u=c.indexOf(t);-1===u?c.push(t,[r,l]):c[u+1].push(r,l)}else c.push(t,l)}}}function Tv(e,n,t){return t&&e.componentProviders++,e.multi.push(n)-1}function Hu(e,n,t,r){for(let i=t;i{t.providersResolver=(r,i)=>function Px(e,n,t){const r=K();if(r.firstCreatePass){const i=jt(e);Vu(t,r.data,r.blueprint,i,!0),Vu(n,r.data,r.blueprint,i,!1)}}(r,i?i(e):e,n)}}class ui{}class xv{}class $u extends ui{constructor(n,t,r){super(),this._parent=t,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Bm(this);const i=yt(n);this._bootstrapComponents=Mn(i.bootstrap),this._r3Injector=Em(n,t,[{provide:ui,useValue:this},{provide:ia,useValue:this.componentFactoryResolver},...r],Pe(n),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(n)}get injector(){return this._r3Injector}destroy(){const n=this._r3Injector;!n.destroyed&&n.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(n){this.destroyCbs.push(n)}}class Uu extends xv{constructor(n){super(),this.moduleType=n}create(n){return new $u(this.moduleType,n,[])}}class Nv extends ui{constructor(n){super(),this.componentFactoryResolver=new Bm(this),this.instance=null;const t=new qc([...n.providers,{provide:ui,useValue:this},{provide:ia,useValue:this.componentFactoryResolver}],n.parent||Xs(),n.debugName,new Set(["environment"]));this.injector=t,n.runEnvironmentInitializers&&t.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}}function zu(e,n,t=null){return new Nv({providers:e,parent:n,debugName:t,runEnvironmentInitializers:!0}).injector}let Hx=(()=>{class e{constructor(t){this._injector=t,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(t){if(!t.standalone)return null;if(!this.cachedInjectors.has(t.id)){const r=Wg(0,t.type),i=r.length>0?zu([r],this._injector,`Standalone[${t.type.name}]`):null;this.cachedInjectors.set(t.id,i)}return this.cachedInjectors.get(t.id)}ngOnDestroy(){try{for(const t of this.cachedInjectors.values())null!==t&&t.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=O({token:e,providedIn:"environment",factory:()=>new e(N(nn))})}return e})();function Ov(e){e.getStandaloneInjector=n=>n.get(Hx).getOrCreateStandaloneInjector(e)}function jv(e,n,t,r){return function Hv(e,n,t,r,i,o){const s=n+t;return Ze(e,s,i)?sn(e,s+1,o?r.call(o,i):r(i)):Eo(e,s+1)}(v(),Ke(),e,n,t,r)}function Eo(e,n){const t=e[n];return t===U?void 0:t}function Bv(e,n,t,r,i,o,s){const a=n+t;return function dr(e,n,t,r){const i=Ze(e,n,t);return Ze(e,n+1,r)||i}(e,a,i,o)?sn(e,a+2,s?r.call(s,i,o):r(i,o)):Eo(e,a+2)}function Wu(e,n){const t=K();let r;const i=e+Q;t.firstCreatePass?(r=function iN(e,n){if(n)for(let t=n.length-1;t>=0;t--){const r=n[t];if(e===r.name)return r}}(n,t.pipeRegistry),t.data[i]=r,r.onDestroy&&(t.destroyHooks??=[]).push(i,r.onDestroy)):r=t.data[i];const o=r.factory||(r.factory=ir(r.type)),s=it(D);try{const a=xs(!1),l=o();return xs(a),function jA(e,n,t,r){t>=e.data.length&&(e.data[t]=null,e.blueprint[t]=null),n[t]=r}(t,v(),i,l),l}finally{it(s)}}function qu(e,n,t,r){const i=e+Q,o=v(),s=Pr(o,i);return function Mo(e,n){return e[M].data[n].pure}(o,i)?Bv(o,Ke(),n,s.transform,t,r,s):s.transform(t,r)}function Zu(e){return n=>{setTimeout(e,void 0,n)}}const ce=class cN extends hn{constructor(n=!1){super(),this.__isAsync=n}emit(n){super.next(n)}subscribe(n,t,r){let i=n,o=t||(()=>null),s=r;if(n&&"object"==typeof n){const l=n;i=l.next?.bind(l),o=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(o=Zu(o),i&&(i=Zu(i)),s&&(s=Zu(s)));const a=super.subscribe({next:i,error:o,complete:s});return n instanceof It&&n.add(a),a}};class Yu{static#e=Symbol.iterator;get changes(){return this._changes||(this._changes=new ce)}constructor(n=!1){this._emitDistinctChangesOnly=n,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const t=Yu.prototype;t[Symbol.iterator]||(t[Symbol.iterator]=uN)}get(n){return this._results[n]}map(n){return this._results.map(n)}filter(n){return this._results.filter(n)}find(n){return this._results.find(n)}reduce(n,t){return this._results.reduce(n,t)}forEach(n){this._results.forEach(n)}some(n){return this._results.some(n)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(n,t){const r=this;r.dirty=!1;const i=Ot(n);(this._changesDetected=!function sS(e,n,t){if(e.length!==n.length)return!1;for(let r=0;r{class e{static#e=this.__NG_ELEMENT_ID__=hN}return e})();const dN=An,fN=class extends dN{constructor(n,t,r){super(),this._declarationLView=n,this._declarationTContainer=t,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,t){return this.createEmbeddedViewImpl(n,t,null)}createEmbeddedViewImpl(n,t,r){const i=this._declarationTContainer.tView,o=aa(this._declarationLView,i,n,16,null,i.declTNode,null,null,null,t||null,r||null);o[Li]=this._declarationLView[this._declarationTContainer.index];const a=this._declarationLView[Qt];return null!==a&&(o[Qt]=a.createEmbeddedView(i)),vu(i,o,n),new co(o)}};function hN(){return ba(Ue(),v())}function ba(e,n){return 4&e.type?new fN(n,e,Yr(e,n)):null}let $t=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=DN}return e})();function DN(){return function Qv(e,n){let t;const r=n[e.index];return st(r)?t=r:(t=Pm(r,n,null,e),n[e.index]=t,la(n,t)),Kv(t,n,e,r),new Zv(t,e,n)}(Ue(),v())}const CN=$t,Zv=class extends CN{constructor(n,t,r){super(),this._lContainer=n,this._hostTNode=t,this._hostLView=r}get element(){return Yr(this._hostTNode,this._hostLView)}get injector(){return new Vr(this._hostTNode,this._hostLView)}get parentInjector(){const n=uc(this._hostTNode,this._hostLView);if(Lp(n)){const t=Ts(n,this._hostLView),r=As(n);return new Vr(t[M].data[r+8],t)}return new Vr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){const t=Yv(this._lContainer);return null!==t&&t[n]||null}get length(){return this._lContainer.length-$e}createEmbeddedView(n,t,r){let i,o;"number"==typeof r?i=r:null!=r&&(i=r.index,o=r.injector);const a=n.createEmbeddedViewImpl(t||{},o,null);return this.insertImpl(a,i,false),a}createComponent(n,t,r,i,o){const s=n&&!function Ui(e){return"function"==typeof e}(n);let a;if(s)a=t;else{const g=t||{};a=g.index,r=g.injector,i=g.projectableNodes,o=g.environmentInjector||g.ngModuleRef}const l=s?n:new uo(ee(n)),c=r||this.parentInjector;if(!o&&null==l.ngModule){const y=(s?c:this.parentInjector).get(nn,null);y&&(o=y)}ee(l.componentType??{});const h=l.create(c,i,null,o);return this.insertImpl(h.hostView,a,false),h}insert(n,t){return this.insertImpl(n,t,!1)}insertImpl(n,t,r){const i=n._lView,o=i[M];if(function bM(e){return st(e[ye])}(i)){const l=this.indexOf(n);if(-1!==l)this.detach(l);else{const c=i[ye],u=new Zv(c,c[We],c[ye]);u.detach(u.indexOf(n))}}const s=this._adjustIndex(t),a=this._lContainer;if(function YS(e,n,t,r){const i=$e+r,o=t.length;r>0&&(t[i-1][Vt]=n),r{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((t,r)=>{this.resolve=t,this.reject=r}),this.appInits=I(cd,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const t=[];for(const i of this.appInits){const o=i();if(mo(o))t.push(o);else if(uy(o)){const s=new Promise((a,l)=>{o.subscribe({complete:a,error:l})});t.push(s)}}const r=()=>{this.done=!0,this.resolve()};Promise.all(t).then(()=>{r()}).catch(i=>{this.reject(i)}),0===t.length&&r(),this.initialized=!0}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),b_=(()=>{class e{log(t){console.log(t)}warn(t){console.warn(t)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();const Tn=new A("LocaleId",{providedIn:"root",factory:()=>I(Tn,R.Optional|R.SkipSelf)||function XN(){return typeof $localize<"u"&&$localize.locale||ci}()});let Ma=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new At(!1)}add(){this.hasPendingTasks.next(!0);const t=this.taskId++;return this.pendingTasks.add(t),t}remove(t){this.pendingTasks.delete(t),0===this.pendingTasks.size&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();class eO{constructor(n,t){this.ngModuleFactory=n,this.componentFactories=t}}let E_=(()=>{class e{compileModuleSync(t){return new Uu(t)}compileModuleAsync(t){return Promise.resolve(this.compileModuleSync(t))}compileModuleAndAllComponentsSync(t){const r=this.compileModuleSync(t),o=Mn(yt(t).declarations).reduce((s,a)=>{const l=ee(a);return l&&s.push(new uo(l)),s},[]);return new eO(r,o)}compileModuleAndAllComponentsAsync(t){return Promise.resolve(this.compileModuleAndAllComponentsSync(t))}clearCache(){}clearCacheFor(t){}getModuleId(t){}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const rO=(()=>Promise.resolve(0))();function dd(e){typeof Zone>"u"?rO.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}function I_(...e){}class _e{constructor({enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:t=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ce(!1),this.onMicrotaskEmpty=new ce(!1),this.onStable=new ce(!1),this.onError=new ce(!1),typeof Zone>"u")throw new _(908,!1);Zone.assertZonePatched();const i=this;i._nesting=0,i._outer=i._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(i._inner=i._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(i._inner=i._inner.fork(Zone.longStackTraceZoneSpec)),i.shouldCoalesceEventChangeDetection=!r&&t,i.shouldCoalesceRunChangeDetection=r,i.lastRequestAnimationFrameId=-1,i.nativeRequestAnimationFrame=function iO(){let e=he.requestAnimationFrame,n=he.cancelAnimationFrame;if(typeof Zone<"u"&&e&&n){const t=e[Zone.__symbol__("OriginalDelegate")];t&&(e=t);const r=n[Zone.__symbol__("OriginalDelegate")];r&&(n=r)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:n}}().nativeRequestAnimationFrame,function aO(e){const n=()=>{!function sO(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(he,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,hd(e),e.isCheckStableRunning=!0,fd(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),hd(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(t,r,i,o,s,a)=>{try{return A_(e),t.invokeTask(i,o,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||e.shouldCoalesceRunChangeDetection)&&n(),T_(e)}},onInvoke:(t,r,i,o,s,a,l)=>{try{return A_(e),t.invoke(i,o,s,a,l)}finally{e.shouldCoalesceRunChangeDetection&&n(),T_(e)}},onHasTask:(t,r,i,o)=>{t.hasTask(i,o),r===i&&("microTask"==o.change?(e._hasPendingMicrotasks=o.microTask,hd(e),fd(e)):"macroTask"==o.change&&(e.hasPendingMacrotasks=o.macroTask))},onHandleError:(t,r,i,o)=>(t.handleError(i,o),e.runOutsideAngular(()=>e.onError.emit(o)),!1)})}(i)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!_e.isInAngularZone())throw new _(909,!1)}static assertNotInAngularZone(){if(_e.isInAngularZone())throw new _(909,!1)}run(n,t,r){return this._inner.run(n,t,r)}runTask(n,t,r,i){const o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+i,n,oO,I_,I_);try{return o.runTask(s,t,r)}finally{o.cancelTask(s)}}runGuarded(n,t,r){return this._inner.runGuarded(n,t,r)}runOutsideAngular(n){return this._outer.run(n)}}const oO={};function fd(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 hd(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function A_(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function T_(e){e._nesting--,fd(e)}class lO{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ce,this.onMicrotaskEmpty=new ce,this.onStable=new ce,this.onError=new ce}run(n,t,r){return n.apply(t,r)}runGuarded(n,t,r){return n.apply(t,r)}runOutsideAngular(n){return n()}runTask(n,t,r,i){return n.apply(t,r)}}const x_=new A("",{providedIn:"root",factory:N_});function N_(){const e=I(_e);let n=!0;return function CE(...e){const n=Ni(e),t=function pE(e,n){return"number"==typeof Ol(e)?e.pop():n}(e,1/0),r=e;return r.length?1===r.length?Tt(r[0]):Mr(t)(Re(r,n)):Zt}(new be(i=>{n=e.isStable&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks,e.runOutsideAngular(()=>{i.next(n),i.complete()})}),new be(i=>{let o;e.runOutsideAngular(()=>{o=e.onStable.subscribe(()=>{_e.assertNotInAngularZone(),dd(()=>{!n&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks&&(n=!0,i.next(!0))})})});const s=e.onUnstable.subscribe(()=>{_e.assertInAngularZone(),n&&(n=!1,e.runOutsideAngular(()=>{i.next(!1)}))});return()=>{o.unsubscribe(),s.unsubscribe()}}).pipe(Oh()))}const O_=new A(""),Sa=new A("");let md,pd=(()=>{class e{constructor(t,r,i){this._ngZone=t,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,md||(function cO(e){md=e}(i),i.addToWindow(r)),this._watchAngularEvents(),t.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(),dd(()=>{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())dd(()=>{for(;0!==this._callbacks.length;){let t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb(this._didWork)}this._didWork=!1});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(t)||(clearTimeout(r.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,r,i){let o=-1;r&&r>0&&(o=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==o),t(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:t,timeoutId:o,updateCb:i})}whenStable(t,r,i){if(i&&!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(t,r,i),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(t){this.registry.registerApplication(t,this)}unregisterApplication(t){this.registry.unregisterApplication(t)}findProviders(t,r,i){return[]}static#e=this.\u0275fac=function(r){return new(r||e)(N(_e),N(gd),N(Sa))};static#t=this.\u0275prov=O({token:e,factory:e.\u0275fac})}return e})(),gd=(()=>{class e{constructor(){this._applications=new Map}registerApplication(t,r){this._applications.set(t,r)}unregisterApplication(t){this._applications.delete(t)}unregisterAllApplications(){this._applications.clear()}getTestability(t){return this._applications.get(t)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(t,r=!0){return md?.findTestabilityInTree(this,t,r)??null}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),Gn=null;const R_=new A("AllowMultipleToken"),yd=new A("PlatformDestroyListeners"),vd=new A("appBootstrapListener");class k_{constructor(n,t){this.name=n,this.token=t}}function L_(e,n,t=[]){const r=`Platform: ${n}`,i=new A(r);return(o=[])=>{let s=_d();if(!s||s.injector.get(R_,!1)){const a=[...t,...o,{provide:i,useValue:!0}];e?e(a):function fO(e){if(Gn&&!Gn.get(R_,!1))throw new _(400,!1);(function P_(){!function fM(e){lp=e}(()=>{throw new _(600,!1)})})(),Gn=e;const n=e.get(j_);(function F_(e){e.get(Kg,null)?.forEach(t=>t())})(e)}(function V_(e=[],n){return rn.create({name:n,providers:[{provide:Gc,useValue:"platform"},{provide:yd,useValue:new Set([()=>Gn=null])},...e]})}(a,r))}return function pO(e){const n=_d();if(!n)throw new _(401,!1);return n}()}}function _d(){return Gn?.get(j_)??null}let j_=(()=>{class e{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,r){const i=function gO(e="zone.js",n){return"noop"===e?new lO:"zone.js"===e?new _e(n):e}(r?.ngZone,function H_(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing}));return i.run(()=>{const o=function jx(e,n,t){return new $u(e,n,t)}(t.moduleType,this.injector,function G_(e){return[{provide:_e,useFactory:e},{provide:to,multi:!0,useFactory:()=>{const n=I(yO,{optional:!0});return()=>n.initialize()}},{provide:z_,useFactory:mO},{provide:x_,useFactory:N_}]}(()=>i)),s=o.injector.get(ur,null);return i.runOutsideAngular(()=>{const a=i.onError.subscribe({next:l=>{s.handleError(l)}});o.onDestroy(()=>{Ia(this._modules,o),a.unsubscribe()})}),function B_(e,n,t){try{const r=t();return mo(r)?r.catch(i=>{throw n.runOutsideAngular(()=>e.handleError(i)),i}):r}catch(r){throw n.runOutsideAngular(()=>e.handleError(r)),r}}(s,i,()=>{const a=o.injector.get(ud);return a.runInitializers(),a.donePromise.then(()=>(function ov(e){xt(e,"Expected localeId to be defined"),"string"==typeof e&&(iv=e.toLowerCase().replace(/_/g,"-"))}(o.injector.get(Tn,ci)||ci),this._moduleDoBootstrap(o),o))})})}bootstrapModule(t,r=[]){const i=$_({},r);return function uO(e,n,t){const r=new Uu(t);return Promise.resolve(r)}(0,0,t).then(o=>this.bootstrapModuleFactory(o,i))}_moduleDoBootstrap(t){const r=t.injector.get(hi);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(i=>r.bootstrap(i));else{if(!t.instance.ngDoBootstrap)throw new _(-403,!1);t.instance.ngDoBootstrap(r)}this._modules.push(t)}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new _(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const t=this._injector.get(yd,null);t&&(t.forEach(r=>r()),t.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(r){return new(r||e)(N(rn))};static#t=this.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function $_(e,n){return Array.isArray(n)?n.reduce($_,e):{...e,...n}}let hi=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=I(z_),this.zoneIsStable=I(x_),this.componentTypes=[],this.components=[],this.isStable=I(Ma).hasPendingTasks.pipe(He(t=>t?L(!1):this.zoneIsStable),function wE(e,n=kn){return e=e??bE,je((t,r)=>{let i,o=!0;t.subscribe(Oe(r,s=>{const a=n(s);(o||!e(i,a))&&(o=!1,i=a,r.next(s))}))})}(),Oh()),this._injector=I(nn)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(t,r){const i=t instanceof im;if(!this._injector.get(ud).done)throw!i&&function Ar(e){const n=ee(e)||Ge(e)||ot(e);return null!==n&&n.standalone}(t),new _(405,!1);let s;s=i?t:this._injector.get(ia).resolveComponentFactory(t),this.componentTypes.push(s.componentType);const a=function dO(e){return e.isBoundToModule}(s)?void 0:this._injector.get(ui),c=s.create(rn.NULL,[],r||s.selector,a),u=c.location.nativeElement,d=c.injector.get(O_,null);return d?.registerApplication(u),c.onDestroy(()=>{this.detachView(c.hostView),Ia(this.components,c),d?.unregisterApplication(u)}),this._loadComponent(c),c}tick(){if(this._runningTick)throw new _(101,!1);try{this._runningTick=!0;for(let t of this._views)t.detectChanges()}catch(t){this.internalErrorHandler(t)}finally{this._runningTick=!1}}attachView(t){const r=t;this._views.push(r),r.attachToAppRef(this)}detachView(t){const r=t;Ia(this._views,r),r.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t);const r=this._injector.get(vd,[]);r.push(...this._bootstrapListeners),r.forEach(i=>i(t))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(t=>t()),this._views.slice().forEach(t=>t.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(t){return this._destroyListeners.push(t),()=>Ia(this._destroyListeners,t)}destroy(){if(this._destroyed)throw new _(406,!1);const t=this._injector;t.destroy&&!t.destroyed&&t.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Ia(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}const z_=new A("",{providedIn:"root",factory:()=>I(ur).handleError.bind(void 0)});function mO(){const e=I(_e),n=I(ur);return t=>e.runOutsideAngular(()=>n.handleError(t))}let yO=(()=>{class e{constructor(){this.zone=I(_e),this.applicationRef=I(hi)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();let Io=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=_O}return e})();function _O(e){return function DO(e,n,t){if(rr(e)&&!t){const r=lt(e.index,n);return new co(r,r)}return 47&e.type?new co(n[Ie],n):null}(Ue(),v(),16==(16&e))}class Y_{constructor(){}supports(n){return fa(n)}create(n){return new SO(n)}}const MO=(e,n)=>n;class SO{constructor(n){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=n||MO}forEachItem(n){let t;for(t=this._itHead;null!==t;t=t._next)n(t)}forEachOperation(n){let t=this._itHead,r=this._removalsHead,i=0,o=null;for(;t||r;){const s=!r||t&&t.currentIndex{s=this._trackByFn(i,a),null!==t&&Object.is(t.trackById,s)?(r&&(t=this._verifyReinsertion(t,a,s,i)),Object.is(t.item,a)||this._addIdentityChange(t,a)):(t=this._mismatch(t,a,s,i),r=!0),t=t._next,i++}),this.length=i;return this._truncate(t),this.collection=n,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let n;for(n=this._previousItHead=this._itHead;null!==n;n=n._next)n._nextPrevious=n._next;for(n=this._additionsHead;null!==n;n=n._nextAdded)n.previousIndex=n.currentIndex;for(this._additionsHead=this._additionsTail=null,n=this._movesHead;null!==n;n=n._nextMoved)n.previousIndex=n.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(n,t,r,i){let o;return null===n?o=this._itTail:(o=n._prev,this._remove(n)),null!==(n=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(n.item,t)||this._addIdentityChange(n,t),this._reinsertAfter(n,o,i)):null!==(n=null===this._linkedRecords?null:this._linkedRecords.get(r,i))?(Object.is(n.item,t)||this._addIdentityChange(n,t),this._moveAfter(n,o,i)):n=this._addAfter(new IO(t,r),o,i),n}_verifyReinsertion(n,t,r,i){let o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==o?n=this._reinsertAfter(o,n._prev,i):n.currentIndex!=i&&(n.currentIndex=i,this._addToMoves(n,i)),n}_truncate(n){for(;null!==n;){const t=n._next;this._addToRemovals(this._unlink(n)),n=t}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(n,t,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(n);const i=n._prevRemoved,o=n._nextRemoved;return null===i?this._removalsHead=o:i._nextRemoved=o,null===o?this._removalsTail=i:o._prevRemoved=i,this._insertAfter(n,t,r),this._addToMoves(n,r),n}_moveAfter(n,t,r){return this._unlink(n),this._insertAfter(n,t,r),this._addToMoves(n,r),n}_addAfter(n,t,r){return this._insertAfter(n,t,r),this._additionsTail=null===this._additionsTail?this._additionsHead=n:this._additionsTail._nextAdded=n,n}_insertAfter(n,t,r){const i=null===t?this._itHead:t._next;return n._next=i,n._prev=t,null===i?this._itTail=n:i._prev=n,null===t?this._itHead=n:t._next=n,null===this._linkedRecords&&(this._linkedRecords=new Q_),this._linkedRecords.put(n),n.currentIndex=r,n}_remove(n){return this._addToRemovals(this._unlink(n))}_unlink(n){null!==this._linkedRecords&&this._linkedRecords.remove(n);const t=n._prev,r=n._next;return null===t?this._itHead=r:t._next=r,null===r?this._itTail=t:r._prev=t,n}_addToMoves(n,t){return n.previousIndex===t||(this._movesTail=null===this._movesTail?this._movesHead=n:this._movesTail._nextMoved=n),n}_addToRemovals(n){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Q_),this._unlinkedRecords.put(n),n.currentIndex=null,n._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=n,n._prevRemoved=null):(n._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=n),n}_addIdentityChange(n,t){return n.item=t,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=n:this._identityChangesTail._nextIdentityChange=n,n}}class IO{constructor(n,t){this.item=n,this.trackById=t,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 AO{constructor(){this._head=null,this._tail=null}add(n){null===this._head?(this._head=this._tail=n,n._nextDup=null,n._prevDup=null):(this._tail._nextDup=n,n._prevDup=this._tail,n._nextDup=null,this._tail=n)}get(n,t){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===t||t<=r.currentIndex)&&Object.is(r.trackById,n))return r;return null}remove(n){const t=n._prevDup,r=n._nextDup;return null===t?this._head=r:t._nextDup=r,null===r?this._tail=t:r._prevDup=t,null===this._head}}class Q_{constructor(){this.map=new Map}put(n){const t=n.trackById;let r=this.map.get(t);r||(r=new AO,this.map.set(t,r)),r.add(n)}get(n,t){const i=this.map.get(n);return i?i.get(n,t):null}remove(n){const t=n.trackById;return this.map.get(t).remove(n)&&this.map.delete(t),n}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function K_(e,n,t){const r=e.previousIndex;if(null===r)return r;let i=0;return t&&r{if(t&&t.key===i)this._maybeAddToChanges(t,r),this._appendAfter=t,t=t._next;else{const o=this._getOrCreateRecordForKey(i,r);t=this._insertBeforeOrAppend(t,o)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let r=t;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(n,t){if(n){const r=n._prev;return t._next=n,t._prev=r,n._prev=t,r&&(r._next=t),n===this._mapHead&&(this._mapHead=t),this._appendAfter=n,n}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}_getOrCreateRecordForKey(n,t){if(this._records.has(n)){const i=this._records.get(n);this._maybeAddToChanges(i,t);const o=i._prev,s=i._next;return o&&(o._next=s),s&&(s._prev=o),i._next=null,i._prev=null,i}const r=new xO(n);return this._records.set(n,r),r.currentValue=t,this._addToAdditions(r),r}_reset(){if(this.isDirty){let n;for(this._previousMapHead=this._mapHead,n=this._previousMapHead;null!==n;n=n._next)n._nextPrevious=n._next;for(n=this._changesHead;null!==n;n=n._nextChanged)n.previousValue=n.currentValue;for(n=this._additionsHead;null!=n;n=n._nextAdded)n.previousValue=n.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(n,t){Object.is(t,n.currentValue)||(n.previousValue=n.currentValue,n.currentValue=t,this._addToChanges(n))}_addToAdditions(n){null===this._additionsHead?this._additionsHead=this._additionsTail=n:(this._additionsTail._nextAdded=n,this._additionsTail=n)}_addToChanges(n){null===this._changesHead?this._changesHead=this._changesTail=n:(this._changesTail._nextChanged=n,this._changesTail=n)}_forEach(n,t){n instanceof Map?n.forEach(t):Object.keys(n).forEach(r=>t(n[r],r))}}class xO{constructor(n){this.key=n,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function J_(){return new xa([new Y_])}let xa=(()=>{class e{static#e=this.\u0275prov=O({token:e,providedIn:"root",factory:J_});constructor(t){this.factories=t}static create(t,r){if(null!=r){const i=r.factories.slice();t=t.concat(i)}return new e(t)}static extend(t){return{provide:e,useFactory:r=>e.create(t,r||J_()),deps:[[e,new Ls,new Fs]]}}find(t){const r=this.factories.find(i=>i.supports(t));if(null!=r)return r;throw new _(901,!1)}}return e})();function eD(){return new Ao([new X_])}let Ao=(()=>{class e{static#e=this.\u0275prov=O({token:e,providedIn:"root",factory:eD});constructor(t){this.factories=t}static create(t,r){if(r){const i=r.factories.slice();t=t.concat(i)}return new e(t)}static extend(t){return{provide:e,useFactory:r=>e.create(t,r||eD()),deps:[[e,new Ls,new Fs]]}}find(t){const r=this.factories.find(i=>i.supports(t));if(r)return r;throw new _(901,!1)}}return e})();const RO=L_(null,"core",[]);let PO=(()=>{class e{constructor(t){}static#e=this.\u0275fac=function(r){return new(r||e)(N(hi))};static#t=this.\u0275mod=mt({type:e});static#n=this.\u0275inj=rt({})}return e})();let Sd=null;function Wn(){return Sd}class WO{}const Et=new A("DocumentToken");let Id=(()=>{class e{historyGo(t){throw new Error("Not implemented")}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=O({token:e,factory:function(){return I(ZO)},providedIn:"platform"})}return e})();const qO=new A("Location Initialized");let ZO=(()=>{class e extends Id{constructor(){super(),this._doc=I(Et),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Wn().getBaseHref(this._doc)}onPopState(t){const r=Wn().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",t,!1),()=>r.removeEventListener("popstate",t)}onHashChange(t){const r=Wn().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",t,!1),()=>r.removeEventListener("hashchange",t)}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(t){this._location.pathname=t}pushState(t,r,i){this._history.pushState(t,r,i)}replaceState(t,r,i){this._history.replaceState(t,r,i)}forward(){this._history.forward()}back(){this._history.back()}historyGo(t=0){this._history.go(t)}getState(){return this._history.state}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=O({token:e,factory:function(){return new e},providedIn:"platform"})}return e})();function Ad(e,n){if(0==e.length)return n;if(0==n.length)return e;let t=0;return e.endsWith("/")&&t++,n.startsWith("/")&&t++,2==t?e+n.substring(1):1==t?e+n:e+"/"+n}function aD(e){const n=e.match(/#|\?|$/),t=n&&n.index||e.length;return e.slice(0,t-("/"===e[t-1]?1:0))+e.slice(t)}function xn(e){return e&&"?"!==e[0]?"?"+e:e}let mr=(()=>{class e{historyGo(t){throw new Error("Not implemented")}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=O({token:e,factory:function(){return I(cD)},providedIn:"root"})}return e})();const lD=new A("appBaseHref");let cD=(()=>{class e extends mr{constructor(t,r){super(),this._platformLocation=t,this._removeListenerFns=[],this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??I(Et).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return Ad(this._baseHref,t)}path(t=!1){const r=this._platformLocation.pathname+xn(this._platformLocation.search),i=this._platformLocation.hash;return i&&t?`${r}${i}`:r}pushState(t,r,i,o){const s=this.prepareExternalUrl(i+xn(o));this._platformLocation.pushState(t,r,s)}replaceState(t,r,i,o){const s=this.prepareExternalUrl(i+xn(o));this._platformLocation.replaceState(t,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}static#e=this.\u0275fac=function(r){return new(r||e)(N(Id),N(lD,8))};static#t=this.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),YO=(()=>{class e extends mr{constructor(t,r){super(),this._platformLocation=t,this._baseHref="",this._removeListenerFns=[],null!=r&&(this._baseHref=r)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}path(t=!1){let r=this._platformLocation.hash;return null==r&&(r="#"),r.length>0?r.substring(1):r}prepareExternalUrl(t){const r=Ad(this._baseHref,t);return r.length>0?"#"+r:r}pushState(t,r,i,o){let s=this.prepareExternalUrl(i+xn(o));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(t,r,s)}replaceState(t,r,i,o){let s=this.prepareExternalUrl(i+xn(o));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(t,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}static#e=this.\u0275fac=function(r){return new(r||e)(N(Id),N(lD,8))};static#t=this.\u0275prov=O({token:e,factory:e.\u0275fac})}return e})(),Td=(()=>{class e{constructor(t){this._subject=new ce,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=t;const r=this._locationStrategy.getBaseHref();this._basePath=function XO(e){if(new RegExp("^(https?:)?//").test(e)){const[,t]=e.split(/\/\/[^\/]+/);return t}return e}(aD(uD(r))),this._locationStrategy.onPopState(i=>{this._subject.emit({url:this.path(!0),pop:!0,state:i.state,type:i.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(t=!1){return this.normalize(this._locationStrategy.path(t))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(t,r=""){return this.path()==this.normalize(t+xn(r))}normalize(t){return e.stripTrailingSlash(function KO(e,n){if(!e||!n.startsWith(e))return n;const t=n.substring(e.length);return""===t||["/",";","?","#"].includes(t[0])?t:n}(this._basePath,uD(t)))}prepareExternalUrl(t){return t&&"/"!==t[0]&&(t="/"+t),this._locationStrategy.prepareExternalUrl(t)}go(t,r="",i=null){this._locationStrategy.pushState(i,"",t,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+xn(r)),i)}replaceState(t,r="",i=null){this._locationStrategy.replaceState(i,"",t,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+xn(r)),i)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(t=0){this._locationStrategy.historyGo?.(t)}onUrlChange(t){return this._urlChangeListeners.push(t),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)})),()=>{const r=this._urlChangeListeners.indexOf(t);this._urlChangeListeners.splice(r,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(t="",r){this._urlChangeListeners.forEach(i=>i(t,r))}subscribe(t,r,i){return this._subject.subscribe({next:t,error:r,complete:i})}static#e=this.normalizeQueryParams=xn;static#t=this.joinWithSlash=Ad;static#n=this.stripTrailingSlash=aD;static#r=this.\u0275fac=function(r){return new(r||e)(N(mr))};static#i=this.\u0275prov=O({token:e,factory:function(){return function QO(){return new Td(N(mr))}()},providedIn:"root"})}return e})();function uD(e){return e.replace(/\/index.html$/,"")}function _D(e,n){n=encodeURIComponent(n);for(const t of e.split(";")){const r=t.indexOf("="),[i,o]=-1==r?[t,""]:[t.slice(0,r),t.slice(r+1)];if(i.trim()===n)return decodeURIComponent(o)}return null}const jd=/\s+/,DD=[];let CD=(()=>{class e{constructor(t,r,i,o){this._iterableDiffers=t,this._keyValueDiffers=r,this._ngEl=i,this._renderer=o,this.initialClasses=DD,this.stateMap=new Map}set klass(t){this.initialClasses=null!=t?t.trim().split(jd):DD}set ngClass(t){this.rawClass="string"==typeof t?t.trim().split(jd):t}ngDoCheck(){for(const r of this.initialClasses)this._updateState(r,!0);const t=this.rawClass;if(Array.isArray(t)||t instanceof Set)for(const r of t)this._updateState(r,!0);else if(null!=t)for(const r of Object.keys(t))this._updateState(r,!!t[r]);this._applyStateDiff()}_updateState(t,r){const i=this.stateMap.get(t);void 0!==i?(i.enabled!==r&&(i.changed=!0,i.enabled=r),i.touched=!0):this.stateMap.set(t,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(const t of this.stateMap){const r=t[0],i=t[1];i.changed?(this._toggleClass(r,i.enabled),i.changed=!1):i.touched||(i.enabled&&this._toggleClass(r,!1),this.stateMap.delete(r)),i.touched=!1}}_toggleClass(t,r){(t=t.trim()).length>0&&t.split(jd).forEach(i=>{r?this._renderer.addClass(this._ngEl.nativeElement,i):this._renderer.removeClass(this._ngEl.nativeElement,i)})}static#e=this.\u0275fac=function(r){return new(r||e)(D(xa),D(Ao),D(ft),D(En))};static#t=this.\u0275dir=V({type:e,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0})}return e})();class F1{constructor(n,t,r,i){this.$implicit=n,this.ngForOf=t,this.index=r,this.count=i}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 Hd=(()=>{class e{set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}constructor(t,r,i){this._viewContainer=t,this._template=r,this._differs=i,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const t=this._ngForOf;!this._differ&&t&&(this._differ=this._differs.find(t).create(this.ngForTrackBy))}if(this._differ){const t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){const r=this._viewContainer;t.forEachOperation((i,o,s)=>{if(null==i.previousIndex)r.createEmbeddedView(this._template,new F1(i.item,this._ngForOf,-1,-1),null===s?void 0:s);else if(null==s)r.remove(null===o?void 0:o);else if(null!==o){const a=r.get(o);r.move(a,s),bD(a,i)}});for(let i=0,o=r.length;i{bD(r.get(i.currentIndex),i)})}static ngTemplateContextGuard(t,r){return!0}static#e=this.\u0275fac=function(r){return new(r||e)(D($t),D(An),D(xa))};static#t=this.\u0275dir=V({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return e})();function bD(e,n){e.context.$implicit=n.item}let Bd=(()=>{class e{constructor(t,r){this._viewContainer=t,this._context=new L1,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=r}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){ED("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){ED("ngIfElse",t),this._elseTemplateRef=t,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(t,r){return!0}static#e=this.\u0275fac=function(r){return new(r||e)(D($t),D(An))};static#t=this.\u0275dir=V({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return e})();class L1{constructor(){this.$implicit=null,this.ngIf=null}}function ED(e,n){if(n&&!n.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${Pe(n)}'.`)}let ID=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=mt({type:e});static#n=this.\u0275inj=rt({})}return e})();function TD(e){return"server"===e}let dR=(()=>{class e{static#e=this.\u0275prov=O({token:e,providedIn:"root",factory:()=>new fR(N(Et),window)})}return e})();class fR{constructor(n,t){this.document=n,this.window=t,this.offset=()=>[0,0]}setOffset(n){this.offset=Array.isArray(n)?()=>n:n}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(n){this.supportsScrolling()&&this.window.scrollTo(n[0],n[1])}scrollToAnchor(n){if(!this.supportsScrolling())return;const t=function hR(e,n){const t=e.getElementById(n)||e.getElementsByName(n)[0];if(t)return t;if("function"==typeof e.createTreeWalker&&e.body&&"function"==typeof e.body.attachShadow){const r=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT);let i=r.currentNode;for(;i;){const o=i.shadowRoot;if(o){const s=o.getElementById(n)||o.querySelector(`[name="${n}"]`);if(s)return s}i=r.nextNode()}}return null}(this.document,n);t&&(this.scrollToElement(t),t.focus())}setHistoryScrollRestoration(n){if(this.supportScrollRestoration()){const t=this.window.history;t&&t.scrollRestoration&&(t.scrollRestoration=n)}}scrollToElement(n){const t=n.getBoundingClientRect(),r=t.left+this.window.pageXOffset,i=t.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(r-o[0],i-o[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const n=xD(this.window.history)||xD(Object.getPrototypeOf(this.window.history));return!(!n||!n.writable&&!n.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function xD(e){return Object.getOwnPropertyDescriptor(e,"scrollRestoration")}class ND{}class HR extends WO{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class Zd extends HR{static makeCurrent(){!function GO(e){Sd||(Sd=e)}(new Zd)}onAndCancel(n,t,r){return n.addEventListener(t,r),()=>{n.removeEventListener(t,r)}}dispatchEvent(n,t){n.dispatchEvent(t)}remove(n){n.parentNode&&n.parentNode.removeChild(n)}createElement(n,t){return(t=t||this.getDefaultDocument()).createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,t){return"window"===t?window:"document"===t?n:"body"===t?n.body:null}getBaseHref(n){const t=function BR(){return Oo=Oo||document.querySelector("base"),Oo?Oo.getAttribute("href"):null}();return null==t?null:function $R(e){za=za||document.createElement("a"),za.setAttribute("href",e);const n=za.pathname;return"/"===n.charAt(0)?n:`/${n}`}(t)}resetBaseElement(){Oo=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return _D(document.cookie,n)}}let za,Oo=null,zR=(()=>{class e{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=O({token:e,factory:e.\u0275fac})}return e})();const Yd=new A("EventManagerPlugins");let FD=(()=>{class e{constructor(t,r){this._zone=r,this._eventNameToPlugin=new Map,t.forEach(i=>{i.manager=this}),this._plugins=t.slice().reverse()}addEventListener(t,r,i){return this._findPluginFor(r).addEventListener(t,r,i)}getZone(){return this._zone}_findPluginFor(t){let r=this._eventNameToPlugin.get(t);if(r)return r;if(r=this._plugins.find(o=>o.supports(t)),!r)throw new _(5101,!1);return this._eventNameToPlugin.set(t,r),r}static#e=this.\u0275fac=function(r){return new(r||e)(N(Yd),N(_e))};static#t=this.\u0275prov=O({token:e,factory:e.\u0275fac})}return e})();class LD{constructor(n){this._doc=n}}const Qd="ng-app-id";let VD=(()=>{class e{constructor(t,r,i,o={}){this.doc=t,this.appId=r,this.nonce=i,this.platformId=o,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=TD(o),this.resetHostNodes()}addStyles(t){for(const r of t)1===this.changeUsageCount(r,1)&&this.onStyleAdded(r)}removeStyles(t){for(const r of t)this.changeUsageCount(r,-1)<=0&&this.onStyleRemoved(r)}ngOnDestroy(){const t=this.styleNodesInDOM;t&&(t.forEach(r=>r.remove()),t.clear());for(const r of this.getAllStyles())this.onStyleRemoved(r);this.resetHostNodes()}addHost(t){this.hostNodes.add(t);for(const r of this.getAllStyles())this.addStyleToHost(t,r)}removeHost(t){this.hostNodes.delete(t)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(t){for(const r of this.hostNodes)this.addStyleToHost(r,t)}onStyleRemoved(t){const r=this.styleRef;r.get(t)?.elements?.forEach(i=>i.remove()),r.delete(t)}collectServerRenderedStyles(){const t=this.doc.head?.querySelectorAll(`style[${Qd}="${this.appId}"]`);if(t?.length){const r=new Map;return t.forEach(i=>{null!=i.textContent&&r.set(i.textContent,i)}),r}return null}changeUsageCount(t,r){const i=this.styleRef;if(i.has(t)){const o=i.get(t);return o.usage+=r,o.usage}return i.set(t,{usage:r,elements:[]}),r}getStyleElement(t,r){const i=this.styleNodesInDOM,o=i?.get(r);if(o?.parentNode===t)return i.delete(r),o.removeAttribute(Qd),o;{const s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=r,this.platformIsServer&&s.setAttribute(Qd,this.appId),s}}addStyleToHost(t,r){const i=this.getStyleElement(t,r);t.appendChild(i);const o=this.styleRef,s=o.get(r)?.elements;s?s.push(i):o.set(r,{elements:[i],usage:1})}resetHostNodes(){const t=this.hostNodes;t.clear(),t.add(this.doc.head)}static#e=this.\u0275fac=function(r){return new(r||e)(N(Et),N(Js),N(Xg,8),N(cr))};static#t=this.\u0275prov=O({token:e,factory:e.\u0275fac})}return e})();const Kd={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/"},Xd=/%COMP%/g,ZR=new A("RemoveStylesOnCompDestory",{providedIn:"root",factory:()=>!1});function HD(e,n){return n.map(t=>t.replace(Xd,e))}let BD=(()=>{class e{constructor(t,r,i,o,s,a,l,c=null){this.eventManager=t,this.sharedStylesHost=r,this.appId=i,this.removeStylesOnCompDestory=o,this.doc=s,this.platformId=a,this.ngZone=l,this.nonce=c,this.rendererByCompId=new Map,this.platformIsServer=TD(a),this.defaultRenderer=new Jd(t,s,l,this.platformIsServer)}createRenderer(t,r){if(!t||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===gt.ShadowDom&&(r={...r,encapsulation:gt.Emulated});const i=this.getOrCreateRenderer(t,r);return i instanceof UD?i.applyToHost(t):i instanceof ef&&i.applyStyles(),i}getOrCreateRenderer(t,r){const i=this.rendererByCompId;let o=i.get(r.id);if(!o){const s=this.doc,a=this.ngZone,l=this.eventManager,c=this.sharedStylesHost,u=this.removeStylesOnCompDestory,d=this.platformIsServer;switch(r.encapsulation){case gt.Emulated:o=new UD(l,c,r,this.appId,u,s,a,d);break;case gt.ShadowDom:return new XR(l,c,t,r,s,a,this.nonce,d);default:o=new ef(l,c,r,u,s,a,d)}o.onDestroy=()=>i.delete(r.id),i.set(r.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(r){return new(r||e)(N(FD),N(VD),N(Js),N(ZR),N(Et),N(cr),N(_e),N(Xg))};static#t=this.\u0275prov=O({token:e,factory:e.\u0275fac})}return e})();class Jd{constructor(n,t,r,i){this.eventManager=n,this.doc=t,this.ngZone=r,this.platformIsServer=i,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(n,t){return t?this.doc.createElementNS(Kd[t]||t,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,t){($D(n)?n.content:n).appendChild(t)}insertBefore(n,t,r){n&&($D(n)?n.content:n).insertBefore(t,r)}removeChild(n,t){n&&n.removeChild(t)}selectRootElement(n,t){let r="string"==typeof n?this.doc.querySelector(n):n;if(!r)throw new _(5104,!1);return t||(r.textContent=""),r}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,t,r,i){if(i){t=i+":"+t;const o=Kd[i];o?n.setAttributeNS(o,t,r):n.setAttribute(t,r)}else n.setAttribute(t,r)}removeAttribute(n,t,r){if(r){const i=Kd[r];i?n.removeAttributeNS(i,t):n.removeAttribute(`${r}:${t}`)}else n.removeAttribute(t)}addClass(n,t){n.classList.add(t)}removeClass(n,t){n.classList.remove(t)}setStyle(n,t,r,i){i&(ct.DashCase|ct.Important)?n.style.setProperty(t,r,i&ct.Important?"important":""):n.style[t]=r}removeStyle(n,t,r){r&ct.DashCase?n.style.removeProperty(t):n.style[t]=""}setProperty(n,t,r){n[t]=r}setValue(n,t){n.nodeValue=t}listen(n,t,r){if("string"==typeof n&&!(n=Wn().getGlobalEventTarget(this.doc,n)))throw new Error(`Unsupported event target ${n} for event ${t}`);return this.eventManager.addEventListener(n,t,this.decoratePreventDefault(r))}decoratePreventDefault(n){return t=>{if("__ngUnwrap__"===t)return n;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>n(t)):n(t))&&t.preventDefault()}}}function $D(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class XR extends Jd{constructor(n,t,r,i,o,s,a,l){super(n,o,s,l),this.sharedStylesHost=t,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const c=HD(i.id,i.styles);for(const u of c){const d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=u,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,t){return super.appendChild(this.nodeOrShadowRoot(n),t)}insertBefore(n,t,r){return super.insertBefore(this.nodeOrShadowRoot(n),t,r)}removeChild(n,t){return super.removeChild(this.nodeOrShadowRoot(n),t)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class ef extends Jd{constructor(n,t,r,i,o,s,a,l){super(n,o,s,a),this.sharedStylesHost=t,this.removeStylesOnCompDestory=i,this.rendererUsageCount=0,this.styles=l?HD(l,r.styles):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 UD extends ef{constructor(n,t,r,i,o,s,a,l){const c=i+"-"+r.id;super(n,t,r,o,s,a,l,c),this.contentAttr=function YR(e){return"_ngcontent-%COMP%".replace(Xd,e)}(c),this.hostAttr=function QR(e){return"_nghost-%COMP%".replace(Xd,e)}(c)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,t){const r=super.createElement(n,t);return super.setAttribute(r,this.contentAttr,""),r}}let JR=(()=>{class e extends LD{constructor(t){super(t)}supports(t){return!0}addEventListener(t,r,i){return t.addEventListener(r,i,!1),()=>this.removeEventListener(t,r,i)}removeEventListener(t,r,i){return t.removeEventListener(r,i)}static#e=this.\u0275fac=function(r){return new(r||e)(N(Et))};static#t=this.\u0275prov=O({token:e,factory:e.\u0275fac})}return e})();const zD=["alt","control","meta","shift"],eP={"\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"},tP={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let nP=(()=>{class e extends LD{constructor(t){super(t)}supports(t){return null!=e.parseEventName(t)}addEventListener(t,r,i){const o=e.parseEventName(r),s=e.eventCallback(o.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Wn().onAndCancel(t,o.domEventName,s))}static parseEventName(t){const r=t.toLowerCase().split("."),i=r.shift();if(0===r.length||"keydown"!==i&&"keyup"!==i)return null;const o=e._normalizeKey(r.pop());let s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),zD.forEach(c=>{const u=r.indexOf(c);u>-1&&(r.splice(u,1),s+=c+".")}),s+=o,0!=r.length||0===o.length)return null;const l={};return l.domEventName=i,l.fullKey=s,l}static matchEventFullKeyCode(t,r){let i=eP[t.key]||t.key,o="";return r.indexOf("code.")>-1&&(i=t.code,o="code."),!(null==i||!i)&&(i=i.toLowerCase()," "===i?i="space":"."===i&&(i="dot"),zD.forEach(s=>{s!==i&&(0,tP[s])(t)&&(o+=s+".")}),o+=i,o===r)}static eventCallback(t,r,i){return o=>{e.matchEventFullKeyCode(o,t)&&i.runGuarded(()=>r(o))}}static _normalizeKey(t){return"esc"===t?"escape":t}static#e=this.\u0275fac=function(r){return new(r||e)(N(Et))};static#t=this.\u0275prov=O({token:e,factory:e.\u0275fac})}return e})();const sP=L_(RO,"browser",[{provide:cr,useValue:"browser"},{provide:Kg,useValue:function rP(){Zd.makeCurrent()},multi:!0},{provide:Et,useFactory:function oP(){return function lI(e){kc=e}(document),document},deps:[]}]),aP=new A(""),qD=[{provide:Sa,useClass:class UR{addToWindow(n){he.getAngularTestability=(r,i=!0)=>{const o=n.findTestabilityInTree(r,i);if(null==o)throw new _(5103,!1);return o},he.getAllAngularTestabilities=()=>n.getAllTestabilities(),he.getAllAngularRootElements=()=>n.getAllRootElements(),he.frameworkStabilizers||(he.frameworkStabilizers=[]),he.frameworkStabilizers.push(r=>{const i=he.getAllAngularTestabilities();let o=i.length,s=!1;const a=function(l){s=s||l,o--,0==o&&r(s)};i.forEach(function(l){l.whenStable(a)})})}findTestabilityInTree(n,t,r){return null==t?null:n.getTestability(t)??(r?Wn().isShadowRoot(t)?this.findTestabilityInTree(n,t.host,!0):this.findTestabilityInTree(n,t.parentElement,!0):null)}},deps:[]},{provide:O_,useClass:pd,deps:[_e,gd,Sa]},{provide:pd,useClass:pd,deps:[_e,gd,Sa]}],ZD=[{provide:Gc,useValue:"root"},{provide:ur,useFactory:function iP(){return new ur},deps:[]},{provide:Yd,useClass:JR,multi:!0,deps:[Et,_e,cr]},{provide:Yd,useClass:nP,multi:!0,deps:[Et]},BD,VD,FD,{provide:sm,useExisting:BD},{provide:ND,useClass:zR,deps:[]},[]];let lP=(()=>{class e{constructor(t){}static withServerTransition(t){return{ngModule:e,providers:[{provide:Js,useValue:t.appId}]}}static#e=this.\u0275fac=function(r){return new(r||e)(N(aP,12))};static#t=this.\u0275mod=mt({type:e});static#n=this.\u0275inj=rt({providers:[...ZD,...qD],imports:[ID,PO]})}return e})(),YD=(()=>{class e{constructor(t){this._doc=t}getTitle(){return this._doc.title}setTitle(t){this._doc.title=t||""}static#e=this.\u0275fac=function(r){return new(r||e)(N(Et))};static#t=this.\u0275prov=O({token:e,factory:function(r){let i=null;return i=r?new r:function uP(){return new YD(N(Et))}(),i},providedIn:"root"})}return e})();function gi(e,n){return de(n)?He(e,n,1):He(e,1)}function On(e,n){return je((t,r)=>{let i=0;t.subscribe(Oe(r,o=>e.call(n,o,i++)&&r.next(o)))})}function Ro(e){return je((n,t)=>{try{n.subscribe(t)}finally{t.add(e)}})}function cn(e,n){return je((t,r)=>{let i=null,o=0,s=!1;const a=()=>s&&!i&&r.complete();t.subscribe(Oe(r,l=>{i?.unsubscribe();let c=0;const u=o++;Tt(e(l,u)).subscribe(i=Oe(r,d=>r.next(n?n(l,d,u,c++):d),()=>{i=null,a()}))},()=>{s=!0,a()}))})}typeof window<"u"&&window;class Ga{}class nf{}class un{constructor(n){this.normalizedNames=new Map,this.lazyUpdate=null,n?this.lazyInit="string"==typeof n?()=>{this.headers=new Map,n.split("\n").forEach(t=>{const r=t.indexOf(":");if(r>0){const i=t.slice(0,r),o=i.toLowerCase(),s=t.slice(r+1).trim();this.maybeSetNormalizedName(i,o),this.headers.has(o)?this.headers.get(o).push(s):this.headers.set(o,[s])}})}:()=>{this.headers=new Map,Object.entries(n).forEach(([t,r])=>{let i;if(i="string"==typeof r?[r]:"number"==typeof r?[r.toString()]:r.map(o=>o.toString()),i.length>0){const o=t.toLowerCase();this.headers.set(o,i),this.maybeSetNormalizedName(t,o)}})}:this.headers=new Map}has(n){return this.init(),this.headers.has(n.toLowerCase())}get(n){this.init();const t=this.headers.get(n.toLowerCase());return t&&t.length>0?t[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(n){return this.init(),this.headers.get(n.toLowerCase())||null}append(n,t){return this.clone({name:n,value:t,op:"a"})}set(n,t){return this.clone({name:n,value:t,op:"s"})}delete(n,t){return this.clone({name:n,value:t,op:"d"})}maybeSetNormalizedName(n,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,n)}init(){this.lazyInit&&(this.lazyInit instanceof un?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(n=>this.applyUpdate(n)),this.lazyUpdate=null))}copyFrom(n){n.init(),Array.from(n.headers.keys()).forEach(t=>{this.headers.set(t,n.headers.get(t)),this.normalizedNames.set(t,n.normalizedNames.get(t))})}clone(n){const t=new un;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof un?this.lazyInit:this,t.lazyUpdate=(this.lazyUpdate||[]).concat([n]),t}applyUpdate(n){const t=n.name.toLowerCase();switch(n.op){case"a":case"s":let r=n.value;if("string"==typeof r&&(r=[r]),0===r.length)return;this.maybeSetNormalizedName(n.name,t);const i=("a"===n.op?this.headers.get(t):void 0)||[];i.push(...r),this.headers.set(t,i);break;case"d":const o=n.value;if(o){let s=this.headers.get(t);if(!s)return;s=s.filter(a=>-1===o.indexOf(a)),0===s.length?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,s)}else this.headers.delete(t),this.normalizedNames.delete(t)}}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(t=>n(this.normalizedNames.get(t),this.headers.get(t)))}}class gP{encodeKey(n){return JD(n)}encodeValue(n){return JD(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}}const yP=/%(\d[a-f0-9])/gi,vP={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function JD(e){return encodeURIComponent(e).replace(yP,(n,t)=>vP[t]??n)}function Wa(e){return`${e}`}class Zn{constructor(n={}){if(this.updates=null,this.cloneFrom=null,this.encoder=n.encoder||new gP,n.fromString){if(n.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function mP(e,n){const t=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(i=>{const o=i.indexOf("="),[s,a]=-1==o?[n.decodeKey(i),""]:[n.decodeKey(i.slice(0,o)),n.decodeValue(i.slice(o+1))],l=t.get(s)||[];l.push(a),t.set(s,l)}),t}(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(t=>{const r=n.fromObject[t],i=Array.isArray(r)?r.map(Wa):[Wa(r)];this.map.set(t,i)})):this.map=null}has(n){return this.init(),this.map.has(n)}get(n){this.init();const t=this.map.get(n);return t?t[0]:null}getAll(n){return this.init(),this.map.get(n)||null}keys(){return this.init(),Array.from(this.map.keys())}append(n,t){return this.clone({param:n,value:t,op:"a"})}appendAll(n){const t=[];return Object.keys(n).forEach(r=>{const i=n[r];Array.isArray(i)?i.forEach(o=>{t.push({param:r,value:o,op:"a"})}):t.push({param:r,value:i,op:"a"})}),this.clone(t)}set(n,t){return this.clone({param:n,value:t,op:"s"})}delete(n,t){return this.clone({param:n,value:t,op:"d"})}toString(){return this.init(),this.keys().map(n=>{const t=this.encoder.encodeKey(n);return this.map.get(n).map(r=>t+"="+this.encoder.encodeValue(r)).join("&")}).filter(n=>""!==n).join("&")}clone(n){const t=new Zn({encoder:this.encoder});return t.cloneFrom=this.cloneFrom||this,t.updates=(this.updates||[]).concat(n),t}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(n=>this.map.set(n,this.cloneFrom.map.get(n))),this.updates.forEach(n=>{switch(n.op){case"a":case"s":const t=("a"===n.op?this.map.get(n.param):void 0)||[];t.push(Wa(n.value)),this.map.set(n.param,t);break;case"d":if(void 0===n.value){this.map.delete(n.param);break}{let r=this.map.get(n.param)||[];const i=r.indexOf(Wa(n.value));-1!==i&&r.splice(i,1),r.length>0?this.map.set(n.param,r):this.map.delete(n.param)}}}),this.cloneFrom=this.updates=null)}}class _P{constructor(){this.map=new Map}set(n,t){return this.map.set(n,t),this}get(n){return this.map.has(n)||this.map.set(n,n.defaultValue()),this.map.get(n)}delete(n){return this.map.delete(n),this}has(n){return this.map.has(n)}keys(){return this.map.keys()}}function eC(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function tC(e){return typeof Blob<"u"&&e instanceof Blob}function nC(e){return typeof FormData<"u"&&e instanceof FormData}class Po{constructor(n,t,r,i){let o;if(this.url=t,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=n.toUpperCase(),function DP(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||i?(this.body=void 0!==r?r:null,o=i):o=r,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params)),this.headers||(this.headers=new un),this.context||(this.context=new _P),this.params){const s=this.params.toString();if(0===s.length)this.urlWithParams=t;else{const a=t.indexOf("?");this.urlWithParams=t+(-1===a?"?":ad.set(f,n.setHeaders[f]),l)),n.setParams&&(c=Object.keys(n.setParams).reduce((d,f)=>d.set(f,n.setParams[f]),c)),new Po(t,r,o,{params:c,headers:l,context:u,reportProgress:a,responseType:i,withCredentials:s})}}var Ne=(()=>((Ne=Ne||{})[Ne.Sent=0]="Sent",Ne[Ne.UploadProgress=1]="UploadProgress",Ne[Ne.ResponseHeader=2]="ResponseHeader",Ne[Ne.DownloadProgress=3]="DownloadProgress",Ne[Ne.Response=4]="Response",Ne[Ne.User=5]="User",Ne))();class rf{constructor(n,t=200,r="OK"){this.headers=n.headers||new un,this.status=void 0!==n.status?n.status:t,this.statusText=n.statusText||r,this.url=n.url||null,this.ok=this.status>=200&&this.status<300}}class sf extends rf{constructor(n={}){super(n),this.type=Ne.ResponseHeader}clone(n={}){return new sf({headers:n.headers||this.headers,status:void 0!==n.status?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}}class mi extends rf{constructor(n={}){super(n),this.type=Ne.Response,this.body=void 0!==n.body?n.body:null}clone(n={}){return new mi({body:void 0!==n.body?n.body:this.body,headers:n.headers||this.headers,status:void 0!==n.status?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}}class rC extends rf{constructor(n){super(n,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${n.url||"(unknown url)"}`:`Http failure response for ${n.url||"(unknown url)"}: ${n.status} ${n.statusText}`,this.error=n.error||null}}function af(e,n){return{body:n,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials}}let wP=(()=>{class e{constructor(t){this.handler=t}request(t,r,i={}){let o;if(t instanceof Po)o=t;else{let l,c;l=i.headers instanceof un?i.headers:new un(i.headers),i.params&&(c=i.params instanceof Zn?i.params:new Zn({fromObject:i.params})),o=new Po(t,r,void 0!==i.body?i.body:null,{headers:l,context:i.context,params:c,reportProgress:i.reportProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials})}const s=L(o).pipe(gi(l=>this.handler.handle(l)));if(t instanceof Po||"events"===i.observe)return s;const a=s.pipe(On(l=>l instanceof mi));switch(i.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return a.pipe(J(l=>{if(null!==l.body&&!(l.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return l.body}));case"blob":return a.pipe(J(l=>{if(null!==l.body&&!(l.body instanceof Blob))throw new Error("Response is not a Blob.");return l.body}));case"text":return a.pipe(J(l=>{if(null!==l.body&&"string"!=typeof l.body)throw new Error("Response is not a string.");return l.body}));default:return a.pipe(J(l=>l.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${i.observe}}`)}}delete(t,r={}){return this.request("DELETE",t,r)}get(t,r={}){return this.request("GET",t,r)}head(t,r={}){return this.request("HEAD",t,r)}jsonp(t,r){return this.request("JSONP",t,{params:(new Zn).append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,r={}){return this.request("OPTIONS",t,r)}patch(t,r,i={}){return this.request("PATCH",t,af(i,r))}post(t,r,i={}){return this.request("POST",t,af(i,r))}put(t,r,i={}){return this.request("PUT",t,af(i,r))}static#e=this.\u0275fac=function(r){return new(r||e)(N(Ga))};static#t=this.\u0275prov=O({token:e,factory:e.\u0275fac})}return e})();function iC(e,n){return n(e)}function bP(e,n){return(t,r)=>n.intercept(t,{handle:i=>e(i,r)})}const MP=new A(""),ko=new A(""),oC=new A("");function SP(){let e=null;return(n,t)=>{null===e&&(e=(I(MP,{optional:!0})??[]).reduceRight(bP,iC));const r=I(Ma),i=r.add();return e(n,t).pipe(Ro(()=>r.remove(i)))}}let sC=(()=>{class e extends Ga{constructor(t,r){super(),this.backend=t,this.injector=r,this.chain=null,this.pendingTasks=I(Ma)}handle(t){if(null===this.chain){const i=Array.from(new Set([...this.injector.get(ko),...this.injector.get(oC,[])]));this.chain=i.reduceRight((o,s)=>function EP(e,n,t){return(r,i)=>t.runInContext(()=>n(r,o=>e(o,i)))}(o,s,this.injector),iC)}const r=this.pendingTasks.add();return this.chain(t,i=>this.backend.handle(i)).pipe(Ro(()=>this.pendingTasks.remove(r)))}static#e=this.\u0275fac=function(r){return new(r||e)(N(nf),N(nn))};static#t=this.\u0275prov=O({token:e,factory:e.\u0275fac})}return e})();const xP=/^\)\]\}',?\n/;let lC=(()=>{class e{constructor(t){this.xhrFactory=t}handle(t){if("JSONP"===t.method)throw new _(-2800,!1);const r=this.xhrFactory;return(r.\u0275loadImpl?Re(r.\u0275loadImpl()):L(null)).pipe(cn(()=>new be(o=>{const s=r.build();if(s.open(t.method,t.urlWithParams),t.withCredentials&&(s.withCredentials=!0),t.headers.forEach((g,y)=>s.setRequestHeader(g,y.join(","))),t.headers.has("Accept")||s.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){const g=t.detectContentTypeHeader();null!==g&&s.setRequestHeader("Content-Type",g)}if(t.responseType){const g=t.responseType.toLowerCase();s.responseType="json"!==g?g:"text"}const a=t.serializeBody();let l=null;const c=()=>{if(null!==l)return l;const g=s.statusText||"OK",y=new un(s.getAllResponseHeaders()),C=function NP(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(s)||t.url;return l=new sf({headers:y,status:s.status,statusText:g,url:C}),l},u=()=>{let{headers:g,status:y,statusText:C,url:m}=c(),E=null;204!==y&&(E=typeof s.response>"u"?s.responseText:s.response),0===y&&(y=E?200:0);let k=y>=200&&y<300;if("json"===t.responseType&&"string"==typeof E){const q=E;E=E.replace(xP,"");try{E=""!==E?JSON.parse(E):null}catch(St){E=q,k&&(k=!1,E={error:St,text:E})}}k?(o.next(new mi({body:E,headers:g,status:y,statusText:C,url:m||void 0})),o.complete()):o.error(new rC({error:E,headers:g,status:y,statusText:C,url:m||void 0}))},d=g=>{const{url:y}=c(),C=new rC({error:g,status:s.status||0,statusText:s.statusText||"Unknown Error",url:y||void 0});o.error(C)};let f=!1;const h=g=>{f||(o.next(c()),f=!0);let y={type:Ne.DownloadProgress,loaded:g.loaded};g.lengthComputable&&(y.total=g.total),"text"===t.responseType&&s.responseText&&(y.partialText=s.responseText),o.next(y)},p=g=>{let y={type:Ne.UploadProgress,loaded:g.loaded};g.lengthComputable&&(y.total=g.total),o.next(y)};return s.addEventListener("load",u),s.addEventListener("error",d),s.addEventListener("timeout",d),s.addEventListener("abort",d),t.reportProgress&&(s.addEventListener("progress",h),null!==a&&s.upload&&s.upload.addEventListener("progress",p)),s.send(a),o.next({type:Ne.Sent}),()=>{s.removeEventListener("error",d),s.removeEventListener("abort",d),s.removeEventListener("load",u),s.removeEventListener("timeout",d),t.reportProgress&&(s.removeEventListener("progress",h),null!==a&&s.upload&&s.upload.removeEventListener("progress",p)),s.readyState!==s.DONE&&s.abort()}})))}static#e=this.\u0275fac=function(r){return new(r||e)(N(ND))};static#t=this.\u0275prov=O({token:e,factory:e.\u0275fac})}return e})();const lf=new A("XSRF_ENABLED"),cC=new A("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),uC=new A("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class dC{}let PP=(()=>{class e{constructor(t,r,i){this.doc=t,this.platform=r,this.cookieName=i,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=_D(t,this.cookieName),this.lastCookieString=t),this.lastToken}static#e=this.\u0275fac=function(r){return new(r||e)(N(Et),N(cr),N(cC))};static#t=this.\u0275prov=O({token:e,factory:e.\u0275fac})}return e})();function kP(e,n){const t=e.url.toLowerCase();if(!I(lf)||"GET"===e.method||"HEAD"===e.method||t.startsWith("http://")||t.startsWith("https://"))return n(e);const r=I(dC).getToken(),i=I(uC);return null!=r&&!e.headers.has(i)&&(e=e.clone({headers:e.headers.set(i,r)})),n(e)}var Se=(()=>((Se=Se||{})[Se.Interceptors=0]="Interceptors",Se[Se.LegacyInterceptors=1]="LegacyInterceptors",Se[Se.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",Se[Se.NoXsrfProtection=3]="NoXsrfProtection",Se[Se.JsonpSupport=4]="JsonpSupport",Se[Se.RequestsMadeViaParent=5]="RequestsMadeViaParent",Se))();function FP(...e){const n=[wP,lC,sC,{provide:Ga,useExisting:sC},{provide:nf,useExisting:lC},{provide:ko,useValue:kP,multi:!0},{provide:lf,useValue:!0},{provide:dC,useClass:PP}];for(const t of e)n.push(...t.\u0275providers);return function Bc(e){return{\u0275providers:e}}(n)}const fC=new A("LEGACY_INTERCEPTOR_FN");function LP(){return function yi(e,n){return{\u0275kind:e,\u0275providers:n}}(Se.LegacyInterceptors,[{provide:fC,useFactory:SP},{provide:ko,useExisting:fC,multi:!0}])}let VP=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=mt({type:e});static#n=this.\u0275inj=rt({providers:[FP(LP())]})}return e})();const{isArray:zP}=Array,{getPrototypeOf:GP,prototype:WP,keys:qP}=Object;function hC(e){if(1===e.length){const n=e[0];if(zP(n))return{args:n,keys:null};if(function ZP(e){return e&&"object"==typeof e&&GP(e)===WP}(n)){const t=qP(n);return{args:t.map(r=>n[r]),keys:t}}}return{args:e,keys:null}}const{isArray:YP}=Array;function pC(e){return J(n=>function QP(e,n){return YP(n)?e(...n):e(n)}(e,n))}function gC(e,n){return e.reduce((t,r,i)=>(t[r]=n[i],t),{})}let mC=(()=>{class e{constructor(t,r){this._renderer=t,this._elementRef=r,this.onChange=i=>{},this.onTouched=()=>{}}setProperty(t,r){this._renderer.setProperty(this._elementRef.nativeElement,t,r)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}static#e=this.\u0275fac=function(r){return new(r||e)(D(En),D(ft))};static#t=this.\u0275dir=V({type:e})}return e})(),yr=(()=>{class e extends mC{static#e=this.\u0275fac=function(){let t;return function(i){return(t||(t=ze(e)))(i||e)}}();static#t=this.\u0275dir=V({type:e,features:[ae]})}return e})();const Wt=new A("NgValueAccessor"),JP={provide:Wt,useExisting:fe(()=>Fo),multi:!0},tk=new A("CompositionEventMode");let Fo=(()=>{class e extends mC{constructor(t,r,i){super(t,r),this._compositionMode=i,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function ek(){const e=Wn()?Wn().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(t){this.setProperty("value",t??"")}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}static#e=this.\u0275fac=function(r){return new(r||e)(D(En),D(ft),D(tk,8))};static#t=this.\u0275dir=V({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(r,i){1&r&&oe("input",function(s){return i._handleInput(s.target.value)})("blur",function(){return i.onTouched()})("compositionstart",function(){return i._compositionStart()})("compositionend",function(s){return i._compositionEnd(s.target.value)})},features:[me([JP]),ae]})}return e})();const Ye=new A("NgValidators"),Qn=new A("NgAsyncValidators");function IC(e){return null!=e}function AC(e){return mo(e)?Re(e):e}function TC(e){let n={};return e.forEach(t=>{n=null!=t?{...n,...t}:n}),0===Object.keys(n).length?null:n}function xC(e,n){return n.map(t=>t(e))}function NC(e){return e.map(n=>function rk(e){return!e.validate}(n)?n:t=>n.validate(t))}function cf(e){return null!=e?function OC(e){if(!e)return null;const n=e.filter(IC);return 0==n.length?null:function(t){return TC(xC(t,n))}}(NC(e)):null}function uf(e){return null!=e?function RC(e){if(!e)return null;const n=e.filter(IC);return 0==n.length?null:function(t){return function KP(...e){const n=Ah(e),{args:t,keys:r}=hC(e),i=new be(o=>{const{length:s}=t;if(!s)return void o.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||o.next(r?gC(r,a):a),o.complete())}))}});return n?i.pipe(pC(n)):i}(xC(t,n).map(AC)).pipe(J(TC))}}(NC(e)):null}function PC(e,n){return null===e?[n]:Array.isArray(e)?[...e,n]:[e,n]}function kC(e){return e._rawValidators}function FC(e){return e._rawAsyncValidators}function df(e){return e?Array.isArray(e)?e:[e]:[]}function Ya(e,n){return Array.isArray(e)?e.includes(n):e===n}function LC(e,n){const t=df(n);return df(e).forEach(i=>{Ya(t,i)||t.push(i)}),t}function VC(e,n){return df(n).filter(t=>!Ya(e,t))}class jC{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(n){this._rawValidators=n||[],this._composedValidatorFn=cf(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=uf(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(n){this._onDestroyCallbacks.push(n)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(n=>n()),this._onDestroyCallbacks=[]}reset(n=void 0){this.control&&this.control.reset(n)}hasError(n,t){return!!this.control&&this.control.hasError(n,t)}getError(n,t){return this.control?this.control.getError(n,t):null}}class tt extends jC{get formDirective(){return null}get path(){return null}}class Kn extends jC{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class HC{constructor(n){this._cd=n}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 ff=(()=>{class e extends HC{constructor(t){super(t)}static#e=this.\u0275fac=function(r){return new(r||e)(D(Kn,2))};static#t=this.\u0275dir=V({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(r,i){2&r&&hr("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)},features:[ae]})}return e})(),BC=(()=>{class e extends HC{constructor(t){super(t)}static#e=this.\u0275fac=function(r){return new(r||e)(D(tt,10))};static#t=this.\u0275dir=V({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(r,i){2&r&&hr("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)("ng-submitted",i.isSubmitted)},features:[ae]})}return e})();const Lo="VALID",Ka="INVALID",vi="PENDING",Vo="DISABLED";function gf(e){return(Xa(e)?e.validators:e)||null}function mf(e,n){return(Xa(n)?n.asyncValidators:e)||null}function Xa(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}class GC{constructor(n,t){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(n),this._assignAsyncValidators(t)}get validator(){return this._composedValidatorFn}set validator(n){this._rawValidators=this._composedValidatorFn=n}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(n){this._rawAsyncValidators=this._composedAsyncValidatorFn=n}get parent(){return this._parent}get valid(){return this.status===Lo}get invalid(){return this.status===Ka}get pending(){return this.status==vi}get disabled(){return this.status===Vo}get enabled(){return this.status!==Vo}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._assignValidators(n)}setAsyncValidators(n){this._assignAsyncValidators(n)}addValidators(n){this.setValidators(LC(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(LC(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(VC(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(VC(n,this._rawAsyncValidators))}hasValidator(n){return Ya(this._rawValidators,n)}hasAsyncValidator(n){return Ya(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){this.touched=!0,this._parent&&!n.onlySelf&&this._parent.markAsTouched(n)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(n=>n.markAllAsTouched())}markAsUntouched(n={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(t=>{t.markAsUntouched({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}markAsDirty(n={}){this.pristine=!1,this._parent&&!n.onlySelf&&this._parent.markAsDirty(n)}markAsPristine(n={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(t=>{t.markAsPristine({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}markAsPending(n={}){this.status=vi,!1!==n.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!n.onlySelf&&this._parent.markAsPending(n)}disable(n={}){const t=this._parentMarkedDirty(n.onlySelf);this.status=Vo,this.errors=null,this._forEachChild(r=>{r.disable({...n,onlySelf:!0})}),this._updateValue(),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...n,skipPristineCheck:t}),this._onDisabledChange.forEach(r=>r(!0))}enable(n={}){const t=this._parentMarkedDirty(n.onlySelf);this.status=Lo,this._forEachChild(r=>{r.enable({...n,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors({...n,skipPristineCheck:t}),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(n){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Lo||this.status===vi)&&this._runAsyncValidator(n.emitEvent)),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity(n)}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Vo:Lo}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n){if(this.asyncValidator){this.status=vi,this._hasOwnPendingAsyncValidator=!0;const t=AC(this.asyncValidator(this));this._asyncValidationSubscription=t.subscribe(r=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(r,{emitEvent:n})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(n,t={}){this.errors=n,this._updateControlsErrors(!1!==t.emitEvent)}get(n){let t=n;return null==t||(Array.isArray(t)||(t=t.split(".")),0===t.length)?null:t.reduce((r,i)=>r&&r._find(i),this)}getError(n,t){const r=t?this.get(t):this;return r&&r.errors?r.errors[n]:null}hasError(n,t){return!!this.getError(n,t)}get root(){let n=this;for(;n._parent;)n=n._parent;return n}_updateControlsErrors(n){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(n)}_initObservables(){this.valueChanges=new ce,this.statusChanges=new ce}_calculateStatus(){return this._allControlsDisabled()?Vo:this.errors?Ka:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(vi)?vi:this._anyControlsHaveStatus(Ka)?Ka:Lo}_anyControlsHaveStatus(n){return this._anyControls(t=>t.status===n)}_anyControlsDirty(){return this._anyControls(n=>n.dirty)}_anyControlsTouched(){return this._anyControls(n=>n.touched)}_updatePristine(n={}){this.pristine=!this._anyControlsDirty(),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}_updateTouched(n={}){this.touched=this._anyControlsTouched(),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){Xa(n)&&null!=n.updateOn&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){return!n&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(n){return null}_assignValidators(n){this._rawValidators=Array.isArray(n)?n.slice():n,this._composedValidatorFn=function ak(e){return Array.isArray(e)?cf(e):e||null}(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=function lk(e){return Array.isArray(e)?uf(e):e||null}(this._rawAsyncValidators)}}class Ja extends GC{constructor(n,t,r){super(gf(t),mf(r,t)),this.controls=n,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(n,t){return this.controls[n]?this.controls[n]:(this.controls[n]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}addControl(n,t,r={}){this.registerControl(n,t),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}removeControl(n,t={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}setControl(n,t,r={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],t&&this.registerControl(n,t),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}contains(n){return this.controls.hasOwnProperty(n)&&this.controls[n].enabled}setValue(n,t={}){(function zC(e,n,t){e._forEachChild((r,i)=>{if(void 0===t[i])throw new _(1002,"")})})(this,0,n),Object.keys(n).forEach(r=>{(function UC(e,n,t){const r=e.controls;if(!(n?Object.keys(r):r).length)throw new _(1e3,"");if(!r[t])throw new _(1001,"")})(this,!0,r),this.controls[r].setValue(n[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(n,t={}){null!=n&&(Object.keys(n).forEach(r=>{const i=this.controls[r];i&&i.patchValue(n[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(n={},t={}){this._forEachChild((r,i)=>{r.reset(n[i],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this._reduceChildren({},(n,t,r)=>(n[r]=t.getRawValue(),n))}_syncPendingControls(){let n=this._reduceChildren(!1,(t,r)=>!!r._syncPendingControls()||t);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){Object.keys(this.controls).forEach(t=>{const r=this.controls[t];r&&n(r,t)})}_setUpControls(){this._forEachChild(n=>{n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(n){for(const[t,r]of Object.entries(this.controls))if(this.contains(t)&&n(r))return!0;return!1}_reduceValue(){return this._reduceChildren({},(t,r,i)=>((r.enabled||this.disabled)&&(t[i]=r.value),t))}_reduceChildren(n,t){let r=n;return this._forEachChild((i,o)=>{r=t(r,i,o)}),r}_allControlsDisabled(){for(const n of Object.keys(this.controls))if(this.controls[n].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(n){return this.controls.hasOwnProperty(n)?this.controls[n]:null}}const vr=new A("CallSetDisabledState",{providedIn:"root",factory:()=>jo}),jo="always";function el(e,n){return[...n.path,e]}function Ho(e,n,t=jo){yf(e,n),n.valueAccessor.writeValue(e.value),(e.disabled||"always"===t)&&n.valueAccessor.setDisabledState?.(e.disabled),function dk(e,n){n.valueAccessor.registerOnChange(t=>{e._pendingValue=t,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&WC(e,n)})}(e,n),function hk(e,n){const t=(r,i)=>{n.valueAccessor.writeValue(r),i&&n.viewToModelUpdate(r)};e.registerOnChange(t),n._registerOnDestroy(()=>{e._unregisterOnChange(t)})}(e,n),function fk(e,n){n.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&WC(e,n),"submit"!==e.updateOn&&e.markAsTouched()})}(e,n),function uk(e,n){if(n.valueAccessor.setDisabledState){const t=r=>{n.valueAccessor.setDisabledState(r)};e.registerOnDisabledChange(t),n._registerOnDestroy(()=>{e._unregisterOnDisabledChange(t)})}}(e,n)}function tl(e,n,t=!0){const r=()=>{};n.valueAccessor&&(n.valueAccessor.registerOnChange(r),n.valueAccessor.registerOnTouched(r)),rl(e,n),e&&(n._invokeOnDestroyCallbacks(),e._registerOnCollectionChange(()=>{}))}function nl(e,n){e.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(n)})}function yf(e,n){const t=kC(e);null!==n.validator?e.setValidators(PC(t,n.validator)):"function"==typeof t&&e.setValidators([t]);const r=FC(e);null!==n.asyncValidator?e.setAsyncValidators(PC(r,n.asyncValidator)):"function"==typeof r&&e.setAsyncValidators([r]);const i=()=>e.updateValueAndValidity();nl(n._rawValidators,i),nl(n._rawAsyncValidators,i)}function rl(e,n){let t=!1;if(null!==e){if(null!==n.validator){const i=kC(e);if(Array.isArray(i)&&i.length>0){const o=i.filter(s=>s!==n.validator);o.length!==i.length&&(t=!0,e.setValidators(o))}}if(null!==n.asyncValidator){const i=FC(e);if(Array.isArray(i)&&i.length>0){const o=i.filter(s=>s!==n.asyncValidator);o.length!==i.length&&(t=!0,e.setAsyncValidators(o))}}}const r=()=>{};return nl(n._rawValidators,r),nl(n._rawAsyncValidators,r),t}function WC(e,n){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function _f(e,n){if(!e.hasOwnProperty("model"))return!1;const t=e.model;return!!t.isFirstChange()||!Object.is(n,t.currentValue)}function Df(e,n){if(!n)return null;let t,r,i;return Array.isArray(n),n.forEach(o=>{o.constructor===Fo?t=o:function mk(e){return Object.getPrototypeOf(e.constructor)===yr}(o)?r=o:i=o}),i||r||t||null}function YC(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}function QC(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}const wf=class extends GC{constructor(n=null,t,r){super(gf(t),mf(r,t)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(n),this._setUpdateStrategy(t),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Xa(t)&&(t.nonNullable||t.initialValueIsDefault)&&(this.defaultValue=QC(n)?n.value:n)}setValue(n,t={}){this.value=this._pendingValue=n,this._onChange.length&&!1!==t.emitModelToViewChange&&this._onChange.forEach(r=>r(this.value,!1!==t.emitViewToModelChange)),this.updateValueAndValidity(t)}patchValue(n,t={}){this.setValue(n,t)}reset(n=this.defaultValue,t={}){this._applyFormState(n),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){YC(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){YC(this._onDisabledChange,n)}_forEachChild(n){}_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(n){QC(n)?(this.value=this._pendingValue=n.value,n.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=n}},Ck={provide:Kn,useExisting:fe(()=>il)},JC=(()=>Promise.resolve())();let il=(()=>{class e extends Kn{constructor(t,r,i,o,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this.control=new wf,this._registered=!1,this.name="",this.update=new ce,this._parent=t,this._setValidators(r),this._setAsyncValidators(i),this.valueAccessor=Df(0,o)}ngOnChanges(t){if(this._checkForErrors(),!this._registered||"name"in t){if(this._registered&&(this._checkName(),this.formDirective)){const r=t.name.previousValue;this.formDirective.removeControl({name:r,path:this._getPath(r)})}this._setUpControl()}"isDisabled"in t&&this._updateDisabled(t),_f(t,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(t){this.viewModel=t,this.update.emit(t)}_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(){Ho(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(t){JC.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(t){const r=t.isDisabled.currentValue,i=0!==r&&function pi(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}(r);JC.then(()=>{i&&!this.control.disabled?this.control.disable():!i&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(t){return this._parent?el(t,this._parent):[t]}static#e=this.\u0275fac=function(r){return new(r||e)(D(tt,9),D(Ye,10),D(Qn,10),D(Wt,10),D(Io,8),D(vr,8))};static#t=this.\u0275dir=V({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:[me([Ck]),ae,Nt]})}return e})(),ew=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275dir=V({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}return e})();const bk={provide:Wt,useExisting:fe(()=>bf),multi:!0};let nw=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=mt({type:e});static#n=this.\u0275inj=rt({})}return e})(),Ek=(()=>{class e{constructor(){this._accessors=[]}add(t,r){this._accessors.push([t,r])}remove(t){for(let r=this._accessors.length-1;r>=0;--r)if(this._accessors[r][1]===t)return void this._accessors.splice(r,1)}select(t){this._accessors.forEach(r=>{this._isSameGroup(r,t)&&r[1]!==t&&r[1].fireUncheck(t.value)})}_isSameGroup(t,r){return!!t[0].control&&t[0]._parent===r._control._parent&&t[1].name===r.name}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:nw})}return e})(),bf=(()=>{class e extends yr{constructor(t,r,i,o){super(t,r),this._registry=i,this._injector=o,this.setDisabledStateFired=!1,this.onChange=()=>{},this.callSetDisabledState=I(vr,{optional:!0})??jo}ngOnInit(){this._control=this._injector.get(Kn),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(t){this._state=t===this.value,this.setProperty("checked",this._state)}registerOnChange(t){this._fn=t,this.onChange=()=>{t(this.value),this._registry.select(this)}}setDisabledState(t){(this.setDisabledStateFired||t||"whenDisabledForLegacyCode"===this.callSetDisabledState)&&this.setProperty("disabled",t),this.setDisabledStateFired=!0}fireUncheck(t){this.writeValue(t)}_checkName(){!this.name&&this.formControlName&&(this.name=this.formControlName)}static#e=this.\u0275fac=function(r){return new(r||e)(D(En),D(ft),D(Ek),D(rn))};static#t=this.\u0275dir=V({type:e,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(r,i){1&r&&oe("change",function(){return i.onChange()})("blur",function(){return i.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[me([bk]),ae]})}return e})();const Ef=new A("NgModelWithFormControlWarning"),Ik={provide:tt,useExisting:fe(()=>ol)};let ol=(()=>{class e extends tt{constructor(t,r,i){super(),this.callSetDisabledState=i,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new ce,this._setValidators(t),this._setAsyncValidators(r)}ngOnChanges(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(rl(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(t){const r=this.form.get(t.path);return Ho(r,t,this.callSetDisabledState),r.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),r}getControl(t){return this.form.get(t.path)}removeControl(t){tl(t.control||null,t,!1),function yk(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}(this.directives,t)}addFormGroup(t){this._setUpFormContainer(t)}removeFormGroup(t){this._cleanUpFormContainer(t)}getFormGroup(t){return this.form.get(t.path)}addFormArray(t){this._setUpFormContainer(t)}removeFormArray(t){this._cleanUpFormContainer(t)}getFormArray(t){return this.form.get(t.path)}updateModel(t,r){this.form.get(t.path).setValue(r)}onSubmit(t){return this.submitted=!0,function ZC(e,n){e._syncPendingControls(),n.forEach(t=>{const r=t.control;"submit"===r.updateOn&&r._pendingChange&&(t.viewToModelUpdate(r._pendingValue),r._pendingChange=!1)})}(this.form,this.directives),this.ngSubmit.emit(t),"dialog"===t?.target?.method}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this.submitted=!1}_updateDomValue(){this.directives.forEach(t=>{const r=t.control,i=this.form.get(t.path);r!==i&&(tl(r||null,t),(e=>e instanceof wf)(i)&&(Ho(i,t,this.callSetDisabledState),t.control=i))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(t){const r=this.form.get(t.path);(function qC(e,n){yf(e,n)})(r,t),r.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(t){if(this.form){const r=this.form.get(t.path);r&&function pk(e,n){return rl(e,n)}(r,t)&&r.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){yf(this.form,this),this._oldForm&&rl(this._oldForm,this)}_checkFormPresent(){}static#e=this.\u0275fac=function(r){return new(r||e)(D(Ye,10),D(Qn,10),D(vr,8))};static#t=this.\u0275dir=V({type:e,selectors:[["","formGroup",""]],hostBindings:function(r,i){1&r&&oe("submit",function(s){return i.onSubmit(s)})("reset",function(){return i.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[me([Ik]),ae,Nt]})}return e})();const xk={provide:Kn,useExisting:fe(()=>If)};let If=(()=>{class e extends Kn{set isDisabled(t){}static#e=this._ngModelWarningSentOnce=!1;constructor(t,r,i,o,s){super(),this._ngModelWarningConfig=s,this._added=!1,this.name=null,this.update=new ce,this._ngModelWarningSent=!1,this._parent=t,this._setValidators(r),this._setAsyncValidators(i),this.valueAccessor=Df(0,o)}ngOnChanges(t){this._added||this._setUpControl(),_f(t,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}get path(){return el(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}static#t=this.\u0275fac=function(r){return new(r||e)(D(tt,13),D(Ye,10),D(Qn,10),D(Wt,10),D(Ef,8))};static#n=this.\u0275dir=V({type:e,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[me([xk]),ae,Nt]})}return e})(),yw=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=mt({type:e});static#n=this.\u0275inj=rt({imports:[nw]})}return e})(),vw=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:vr,useValue:t.callSetDisabledState??jo}]}}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=mt({type:e});static#n=this.\u0275inj=rt({imports:[yw]})}return e})(),Wk=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:Ef,useValue:t.warnOnNgModelWithFormControl??"always"},{provide:vr,useValue:t.callSetDisabledState??jo}]}}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=mt({type:e});static#n=this.\u0275inj=rt({imports:[yw]})}return e})();function qk(e,n){if(1&e&&(w(0,"span"),x(1),b()),2&e){const t=ne();T(1),bt(t._placeholder)}}function Zk(e,n){if(1&e){const t=Un();w(0,"span",15)(1,"span",16)(2,"span"),x(3),b(),w(4,"a",17),oe("click",function(i){const s=_n(t).$implicit;return Dn(ne().onItemClick(i,s))}),x(5,"x"),b()()()}if(2&e){const t=n.$implicit,r=n.index,i=ne();T(1),Z("hidden",r>i._settings.itemsShowLimit-1),Ct("title",t.tooltip),T(2),vo("",t.text,"\xa0")}}function Yk(e,n){if(1&e&&(w(0,"span",18),x(1),b()),2&e){const t=ne();T(1),vo("+",t.itemShowRemaining(),"")}}function Qk(e,n){if(1&e){const t=Un();w(0,"li",19),oe("click",function(){return _n(t),Dn(ne().toggleSelectAll())}),te(1,"input",20),w(2,"div"),x(3),b()()}if(2&e){const t=ne();T(1),Z("checked",t.isAllItemsSelected())("disabled",t.disabled||t.isLimitSelectionReached()),T(2),bt(t.isAllItemsSelected()?t._settings.unSelectAllText:t._settings.selectAllText)}}function Kk(e,n){if(1&e){const t=Un();w(0,"li",21)(1,"input",22),oe("ngModelChange",function(i){return _n(t),Dn(ne().filter.text=i)})("ngModelChange",function(i){return _n(t),Dn(ne().onFilterTextChange(i))}),b()()}if(2&e){const t=ne();T(1),Z("readOnly",t.disabled)("placeholder",t._settings.searchPlaceholderText)("ngModel",t.filter.text)}}function Xk(e,n){if(1&e){const t=Un();w(0,"li",23),oe("click",function(i){const s=_n(t).$implicit;return Dn(ne().onItemClick(i,s))}),te(1,"input",24),w(2,"div"),x(3),b()()}if(2&e){const t=n.$implicit,r=ne();Ct("title",t.tooltip),T(1),Z("checked",r.isSelected(t))("disabled",r.disabled||r.isLimitSelectionReached()&&!r.isSelected(t)||t.isDisabled),Ct("aria-label",t.text),T(2),bt(t.text)}}function Jk(e,n){if(1&e&&(w(0,"li",25)(1,"h5"),x(2),b()()),2&e){const t=ne();T(2),bt(t._settings.noFilteredDataAvailablePlaceholderText)}}function eF(e,n){if(1&e&&(w(0,"li",26)(1,"h5"),x(2),b()()),2&e){const t=ne();T(2),bt(t._settings.noDataAvailablePlaceholderText)}}const tF=function(e){return{"dropdown-multiselect--active":e}};class Nf{constructor(n){("string"==typeof n||"number"==typeof n)&&(this.id=this.text=n,this.isDisabled=!1),"object"==typeof n&&(this.id=n.id,this.text=n.text,this.tooltip=n.tooltip,this.isDisabled=n.isDisabled)}}let Of=(()=>{class e{transform(t,r){return t&&r?t.filter(i=>this.applyFilter(i,r)):t}applyFilter(t,r){return"string"==typeof t.text&&"string"==typeof r.text?!(r.text&&t.text&&-1===t.text.toLowerCase().indexOf(r.text.toLowerCase())):!(r.text&&t.text&&-1===t.text.toString().toLowerCase().indexOf(r.text.toString().toLowerCase()))}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275pipe=Qe({name:"multiSelectFilter",type:e,pure:!1})}return e})(),nF=(()=>{class e{constructor(t){this._elementRef=t,this.clickOutside=new ce}onClick(t,r){r&&(this._elementRef.nativeElement.contains(r)||this.clickOutside.emit(t))}static#e=this.\u0275fac=function(r){return new(r||e)(D(ft))};static#t=this.\u0275dir=V({type:e,selectors:[["","clickOutside",""]],hostBindings:function(r,i){1&r&&oe("click",function(s){return i.onClick(s,s.target)},0,um)},outputs:{clickOutside:"clickOutside"}})}return e})();const rF={provide:Wt,useExisting:fe(()=>Dw),multi:!0},_w=()=>{};let Dw=(()=>{class e{set placeholder(t){this._placeholder=t||"Select"}set settings(t){this._settings=t?Object.assign(this.defaultSettings,t):Object.assign(this.defaultSettings)}set data(t){if(t){const r=t[0];this._sourceDataType=typeof r,this._sourceDataFields=this.getFields(r),this._data=t.map(i=>this.deobjectify(i))}else this._data=[]}onFilterTextChange(t){this.onFilterChange.emit(t)}constructor(t,r){this.listFilterPipe=t,this.cdr=r,this._settings={singleSelection:!1,idField:"id",textField:"text",tooltipField:"tooltip",disabledField:"isDisabled",enableCheckAll:!0,selectAllText:"Select All",unSelectAllText:"UnSelect All",allowSearchFilter:!1,limitSelection:-1,clearSearchFilter:!0,maxHeight:197,itemsShowLimit:999999999999,searchPlaceholderText:"Search",noDataAvailablePlaceholderText:"No data available",noFilteredDataAvailablePlaceholderText:"No filtered data available",closeDropDownOnSelection:!1,showSelectedItemsAtTop:!1,defaultOpen:!1,allowRemoteDataSearch:!1},this._data=[],this.selectedItems=[],this.isDropdownOpen=!0,this._placeholder="Select",this._sourceDataFields=[],this.filter=new Nf(this.data),this.defaultSettings={singleSelection:!1,idField:"id",textField:"text",tooltipField:"tooltip",disabledField:"isDisabled",enableCheckAll:!0,selectAllText:"Select All",unSelectAllText:"UnSelect All",allowSearchFilter:!1,limitSelection:-1,clearSearchFilter:!0,maxHeight:197,itemsShowLimit:999999999999,searchPlaceholderText:"Search",noDataAvailablePlaceholderText:"No data available",noFilteredDataAvailablePlaceholderText:"No filtered data available",closeDropDownOnSelection:!1,showSelectedItemsAtTop:!1,defaultOpen:!1,allowRemoteDataSearch:!1},this.disabled=!1,this.onFilterChange=new ce,this.onDropDownClose=new ce,this.onSelect=new ce,this.onDeSelect=new ce,this.onSelectAll=new ce,this.onDeSelectAll=new ce,this.onTouchedCallback=_w,this.onChangeCallback=_w}onItemClick(t,r){if(this.disabled||r.isDisabled)return!1;const i=this.isSelected(r),o=-1===this._settings.limitSelection||this._settings.limitSelection>0&&this.selectedItems.length0)if(this._settings.singleSelection)try{t.length>=1&&(this.selectedItems=[this.deobjectify(t[0])])}catch{}else{const r=t.map(i=>this.deobjectify(i));this.selectedItems=this._settings.limitSelection>0?r.splice(0,this._settings.limitSelection):r}else this.selectedItems=[];this.onChangeCallback(t),this.cdr.markForCheck()}registerOnChange(t){this.onChangeCallback=t}registerOnTouched(t){this.onTouchedCallback=t}onTouched(){this.onTouchedCallback()}trackByFn(t,r){return r.id}isSelected(t){let r=!1;return this.selectedItems.forEach(i=>{t.id===i.id&&(r=!0)}),r}isLimitSelectionReached(){return this._settings.limitSelection===this.selectedItems.length}isAllItemsSelected(){let t=this.listFilterPipe.transform(this._data,this.filter);const r=t.filter(i=>i.isDisabled).length;return!((!this.data||0===this.data.length)&&this._settings.allowRemoteDataSearch)&&t.length===this.selectedItems.length+r}showButton(){return!(this._settings.singleSelection||this._settings.limitSelection>0)}itemShowRemaining(){return this.selectedItems.length-this._settings.itemsShowLimit}addSelected(t){this._settings.singleSelection?(this.selectedItems=[],this.selectedItems.push(t)):this.selectedItems.push(t),this.onChangeCallback(this.emittedValue(this.selectedItems)),this.onSelect.emit(this.emittedValue(t))}removeSelected(t){this.selectedItems.forEach(r=>{t.id===r.id&&this.selectedItems.splice(this.selectedItems.indexOf(r),1)}),this.onChangeCallback(this.emittedValue(this.selectedItems)),this.onDeSelect.emit(this.emittedValue(t))}emittedValue(t){const r=[];if(Array.isArray(t))t.map(i=>{r.push(this.objectify(i))});else if(t)return this.objectify(t);return r}objectify(t){if("object"===this._sourceDataType){const r=Object.assign({});return r[this._settings.idField]=t.id,r[this._settings.textField]=t.text,this._sourceDataFields.includes(this._settings.disabledField)&&(r[this._settings.disabledField]=t.isDisabled),this._sourceDataFields.includes(this._settings.tooltipField)&&(r[this._settings.tooltipField]=t.tooltip),r}return"number"===this._sourceDataType?Number(t.id):t.text}deobjectify(t){return new Nf("string"==typeof t||"number"==typeof t?t:{id:t[this._settings.idField],text:t[this._settings.textField],tooltip:t[this._settings.tooltipField],isDisabled:t[this._settings.disabledField]})}toggleDropdown(t){t.preventDefault(),(!this.disabled||!this._settings.singleSelection)&&(this._settings.defaultOpen=!this._settings.defaultOpen,this._settings.defaultOpen||this.onDropDownClose.emit())}closeDropdown(){this._settings.defaultOpen=!1,this._settings.clearSearchFilter&&(this.filter.text=""),this.onDropDownClose.emit()}toggleSelectAll(){if(this.disabled)return!1;this.isAllItemsSelected()?(this.selectedItems=[],this.onDeSelectAll.emit(this.emittedValue(this.selectedItems))):(this.selectedItems=this.listFilterPipe.transform(this._data,this.filter).filter(t=>!t.isDisabled).slice(),this.onSelectAll.emit(this.emittedValue(this.selectedItems))),this.onChangeCallback(this.emittedValue(this.selectedItems))}getFields(t){const r=[];if("object"!=typeof t)return r;for(const i in t)r.push(i);return r}static#e=this.\u0275fac=function(r){return new(r||e)(D(Of),D(Io))};static#t=this.\u0275cmp=Ir({type:e,selectors:[["ng-multiselect-dropdown3"]],hostBindings:function(r,i){1&r&&oe("blur",function(){return i.onTouched()})},inputs:{placeholder:"placeholder",disabled:"disabled",settings:"settings",data:"data"},outputs:{onFilterChange:"onFilterChange",onDropDownClose:"onDropDownClose",onSelect:"onSelect",onDeSelect:"onDeSelect",onSelectAll:"onSelectAll",onDeSelectAll:"onDeSelectAll"},features:[me([rF])],decls:18,vars:23,consts:[["tabindex","0",1,"multiselect-dropdown",3,"blur","clickOutside"],["tabindex","-1",1,"dropdown-btn",3,"click"],[4,"ngIf"],["class","selected-item-container",4,"ngFor","ngForOf","ngForTrackBy"],[2,"float","right !important","padding-right","4px",3,"ngClass"],["style","padding-right: 15px;",4,"ngIf"],[1,"dropdown-multiselect__caret"],[1,"dropdown-list",3,"hidden"],[1,"item1"],["class","multiselect-item-checkbox","style","border-bottom: 1px solid #ccc;padding:10px",3,"click",4,"ngIf"],["class","filter-textbox",4,"ngIf"],[1,"item2"],["class","multiselect-item-checkbox",3,"click",4,"ngFor","ngForOf"],["class","no-filtered-data",4,"ngIf"],["class","no-data",4,"ngIf"],[1,"selected-item-container"],[1,"selected-item",3,"hidden"],[2,"padding-left","2px","color","white",3,"click"],[2,"padding-right","15px"],[1,"multiselect-item-checkbox",2,"border-bottom","1px solid #ccc","padding","10px",3,"click"],["type","checkbox","aria-label","multiselect-select-all",3,"checked","disabled"],[1,"filter-textbox"],["type","text","aria-label","multiselect-search",3,"readOnly","placeholder","ngModel","ngModelChange"],[1,"multiselect-item-checkbox",3,"click"],["type","checkbox",3,"checked","disabled"],[1,"no-filtered-data"],[1,"no-data"]],template:function(r,i){1&r&&(w(0,"div",0),oe("blur",function(){return i.onTouched()})("clickOutside",function(){return i.closeDropdown()}),w(1,"div")(2,"span",1),oe("click",function(s){return i.toggleDropdown(s)}),le(3,qk,2,1,"span",2),le(4,Zk,6,3,"span",3),w(5,"span",4),le(6,Yk,2,1,"span",5),te(7,"span",6),b()()(),w(8,"div",7)(9,"ul",8),le(10,Qk,4,3,"li",9),le(11,Kk,2,3,"li",10),b(),w(12,"ul",11),le(13,Xk,4,5,"li",12),Wu(14,"multiSelectFilter"),le(15,Jk,3,1,"li",13),Wu(16,"multiSelectFilter"),le(17,eF,3,1,"li",14),b()()()),2&r&&(T(1),hr("disabled",i.disabled),T(2),Z("ngIf",0==i.selectedItems.length),T(1),Z("ngForOf",i.selectedItems)("ngForTrackBy",i.trackByFn),T(1),Z("ngClass",jv(21,tF,i._settings.defaultOpen)),T(1),Z("ngIf",i.itemShowRemaining()>0),T(2),Z("hidden",!i._settings.defaultOpen),T(2),Z("ngIf",(i._data.length>0||i._settings.allowRemoteDataSearch)&&!i._settings.singleSelection&&i._settings.enableCheckAll&&-1===i._settings.limitSelection),T(1),Z("ngIf",(i._data.length>0||i._settings.allowRemoteDataSearch)&&i._settings.allowSearchFilter),T(1),Pu("max-height",i._settings.maxHeight+"px"),T(1),Z("ngForOf",qu(14,15,i._data,i.filter)),T(2),Z("ngIf",0!=i._data.length&&0==qu(16,18,i._data,i.filter).length&&!i._settings.allowRemoteDataSearch),T(2),Z("ngIf",0==i._data.length&&!i._settings.allowRemoteDataSearch))},dependencies:[CD,Hd,Bd,Fo,ff,il,nF,Of],styles:['.multiselect-dropdown[_ngcontent-%COMP%]{position:relative;width:100%;font-size:inherit;font-family:inherit}.multiselect-dropdown[_ngcontent-%COMP%] .dropdown-btn[_ngcontent-%COMP%]{display:inline-block;border:1px solid #adadad;width:100%;padding:6px 12px;margin-bottom:0;font-weight:400;line-height:1.52857143;text-align:left;vertical-align:middle;cursor:pointer;background-image:none;border-radius:4px}.multiselect-dropdown[_ngcontent-%COMP%] .dropdown-btn[_ngcontent-%COMP%] .selected-item-container[_ngcontent-%COMP%]{display:flex;float:left;max-width:93%}.multiselect-dropdown[_ngcontent-%COMP%] .dropdown-btn[_ngcontent-%COMP%] .selected-item-container[_ngcontent-%COMP%] .selected-item[_ngcontent-%COMP%]{border:1px solid #337ab7;margin-right:4px;margin-bottom:4px;background:#337ab7;padding:0 5px;color:#fff;border-radius:2px;float:left}.multiselect-dropdown[_ngcontent-%COMP%] .dropdown-btn[_ngcontent-%COMP%] .selected-item-container[_ngcontent-%COMP%] .selected-item[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis}.multiselect-dropdown[_ngcontent-%COMP%] .dropdown-btn[_ngcontent-%COMP%] .selected-item-container[_ngcontent-%COMP%] .selected-item[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none}.multiselect-dropdown[_ngcontent-%COMP%] .dropdown-btn[_ngcontent-%COMP%] .selected-item[_ngcontent-%COMP%]:hover{box-shadow:1px 1px #959595}.multiselect-dropdown[_ngcontent-%COMP%] .dropdown-btn[_ngcontent-%COMP%] .dropdown-multiselect__caret[_ngcontent-%COMP%]{line-height:16px;display:block;position:absolute;box-sizing:border-box;width:40px;height:38px;right:1px;top:0;padding:4px 8px;margin:0;text-decoration:none;text-align:center;cursor:pointer;transition:transform .2s ease}.multiselect-dropdown[_ngcontent-%COMP%] .dropdown-btn[_ngcontent-%COMP%] .dropdown-multiselect__caret[_ngcontent-%COMP%]:before{position:relative;right:0;top:65%;color:#999;margin-top:4px;border-style:solid;border-width:8px 8px 0 8px;border-color:#999999 transparent;content:""}.multiselect-dropdown[_ngcontent-%COMP%] .dropdown-btn[_ngcontent-%COMP%] .dropdown-multiselect--active[_ngcontent-%COMP%] .dropdown-multiselect__caret[_ngcontent-%COMP%]{transform:rotate(180deg)}.multiselect-dropdown[_ngcontent-%COMP%] .disabled[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{background-color:#eceeef}.dropdown-list[_ngcontent-%COMP%]{position:absolute;padding-top:6px;width:100%;z-index:9999;border:1px solid #ccc;border-radius:3px;background:#fff;margin-top:10px;box-shadow:0 1px 5px #959595}.dropdown-list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{padding:0;list-style:none;overflow:auto;margin:0}.dropdown-list[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{padding:6px 10px;cursor:pointer;text-align:left}.dropdown-list[_ngcontent-%COMP%] .filter-textbox[_ngcontent-%COMP%]{border-bottom:1px solid #ccc;position:relative;padding:10px}.dropdown-list[_ngcontent-%COMP%] .filter-textbox[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{border:0px;width:100%;padding:0 0 0 26px}.dropdown-list[_ngcontent-%COMP%] .filter-textbox[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:focus{outline:none}.multiselect-item-checkbox[_ngcontent-%COMP%]:hover{background-color:#e4e3e3}.multiselect-item-checkbox[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.multiselect-item-checkbox[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]:focus+div:before, .multiselect-item-checkbox[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]:hover+div:before{border-color:#337ab7;background-color:#f2f2f2}.multiselect-item-checkbox[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]:active+div:before{transition-duration:0s}.multiselect-item-checkbox[_ngcontent-%COMP%] input[type=checkbox]+div[_ngcontent-%COMP%]{position:relative;padding-left:2em;vertical-align:middle;-webkit-user-select:none;user-select:none;cursor:pointer;margin:0;color:#000}.multiselect-item-checkbox[_ngcontent-%COMP%] input[type=checkbox]+div[_ngcontent-%COMP%]:before{box-sizing:content-box;content:"";color:#337ab7;position:absolute;top:50%;left:0;width:14px;height:14px;margin-top:-9px;border:2px solid #337ab7;text-align:center;transition:all .4s ease}.multiselect-item-checkbox[_ngcontent-%COMP%] input[type=checkbox]+div[_ngcontent-%COMP%]:after{box-sizing:content-box;content:"";background-color:#337ab7;position:absolute;top:50%;left:4px;width:10px;height:10px;margin-top:-5px;transform:scale(0);transform-origin:50%;transition:transform .2s ease-out}.multiselect-item-checkbox[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]:disabled+div:before{border-color:#ccc}.multiselect-item-checkbox[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]:disabled:focus+div:before .multiselect-item-checkbox[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]:disabled:hover+div:before{background-color:inherit}.multiselect-item-checkbox[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]:disabled:checked+div:before{background-color:#ccc}.multiselect-item-checkbox[_ngcontent-%COMP%] input[type=checkbox]+div[_ngcontent-%COMP%]:after{background-color:transparent;top:50%;left:4px;width:8px;height:3px;margin-top:-4px;border-style:solid;border-color:#fff;border-width:0 0 3px 3px;border-image:none;transform:rotate(-45deg) scale(0)}.multiselect-item-checkbox[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]:checked+div:after{content:"";transform:rotate(-45deg) scale(1);transition:transform .2s ease-out}.multiselect-item-checkbox[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]:checked+div:before{animation:_ngcontent-%COMP%_borderscale .2s ease-in;background:#337ab7}.multiselect-item-checkbox[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]:checked+div:after{transform:rotate(-45deg) scale(1)}@keyframes _ngcontent-%COMP%_borderscale{50%{box-shadow:0 0 0 2px #337ab7}}'],changeDetection:0})}return e})(),iF=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=mt({type:e});static#n=this.\u0275inj=rt({providers:[Of],imports:[ID,vw]})}return e})();function Rf(...e){const n=Ni(e),t=Ah(e),{args:r,keys:i}=hC(e);if(0===r.length)return Re([],n);const o=new be(function sF(e,n,t=kn){return r=>{Cw(n,()=>{const{length:i}=e,o=new Array(i);let s=i,a=i;for(let l=0;l{const c=Re(e[l],n);let u=!1;c.subscribe(Oe(r,d=>{o[l]=d,u||(u=!0,a--),a||r.next(t(o.slice()))},()=>{--s||r.complete()}))},r)},r)}}(r,n,i?s=>gC(i,s):kn));return t?o.pipe(pC(t)):o}function Cw(e,n,t){e?pn(t,e,n):n()}const sl=Ai(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function Pf(...e){return function aF(){return Mr(1)}()(Re(e,Ni(e)))}function ww(e){return new be(n=>{Tt(e()).subscribe(n)})}function $o(e,n){const t=de(e)?e:()=>e,r=i=>i.error(t());return new be(n?i=>n.schedule(r,0,i):r)}function kf(){return je((e,n)=>{let t=null;e._refCount++;const r=Oe(n,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount)return void(t=null);const i=e._connection,o=t;t=null,i&&(!o||i===o)&&i.unsubscribe(),n.unsubscribe()});e.subscribe(r),r.closed||(t=e.connect())})}class bw extends be{constructor(n,t){super(),this.source=n,this.subjectFactory=t,this._subject=null,this._refCount=0,this._connection=null,hh(n)&&(this.lift=n.lift)}_subscribe(n){return this.getSubject().subscribe(n)}getSubject(){const n=this._subject;return(!n||n.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:n}=this;this._subject=this._connection=null,n?.unsubscribe()}connect(){let n=this._connection;if(!n){n=this._connection=new It;const t=this.getSubject();n.add(this.source.subscribe(Oe(t,void 0,()=>{this._teardown(),t.complete()},r=>{this._teardown(),t.error(r)},()=>this._teardown()))),n.closed&&(this._connection=null,n=It.EMPTY)}return n}refCount(){return kf()(this)}}function _i(e){return e<=0?()=>Zt:je((n,t)=>{let r=0;n.subscribe(Oe(t,i=>{++r<=e&&(t.next(i),e<=r&&t.complete())}))})}function al(e){return je((n,t)=>{let r=!1;n.subscribe(Oe(t,i=>{r=!0,t.next(i)},()=>{r||t.next(e),t.complete()}))})}function Ew(e=cF){return je((n,t)=>{let r=!1;n.subscribe(Oe(t,i=>{r=!0,t.next(i)},()=>r?t.complete():t.error(e())))})}function cF(){return new sl}function Dr(e,n){const t=arguments.length>=2;return r=>r.pipe(e?On((i,o)=>e(i,o,r)):kn,_i(1),t?al(n):Ew(()=>new sl))}function nt(e,n,t){const r=de(e)||n||t?{next:e,error:n,complete:t}:e;return r?je((i,o)=>{var s;null===(s=r.subscribe)||void 0===s||s.call(r);let a=!0;i.subscribe(Oe(o,l=>{var c;null===(c=r.next)||void 0===c||c.call(r,l),o.next(l)},()=>{var l;a=!1,null===(l=r.complete)||void 0===l||l.call(r),o.complete()},l=>{var c;a=!1,null===(c=r.error)||void 0===c||c.call(r,l),o.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)}))}):kn}function Cr(e){return je((n,t)=>{let o,r=null,i=!1;r=n.subscribe(Oe(t,void 0,void 0,s=>{o=Tt(e(s,Cr(e)(n))),r?(r.unsubscribe(),r=null,o.subscribe(t)):i=!0})),i&&(r.unsubscribe(),r=null,o.subscribe(t))})}function Ff(e){return e<=0?()=>Zt:je((n,t)=>{let r=[];n.subscribe(Oe(t,i=>{r.push(i),e{for(const i of r)t.next(i);t.complete()},void 0,()=>{r=null}))})}const G="primary",Uo=Symbol("RouteTitle");class pF{constructor(n){this.params=n||{}}has(n){return Object.prototype.hasOwnProperty.call(this.params,n)}get(n){if(this.has(n)){const t=this.params[n];return Array.isArray(t)?t[0]:t}return null}getAll(n){if(this.has(n)){const t=this.params[n];return Array.isArray(t)?t:[t]}return[]}get keys(){return Object.keys(this.params)}}function Di(e){return new pF(e)}function gF(e,n,t){const r=t.path.split("/");if(r.length>e.length||"full"===t.pathMatch&&(n.hasChildren()||r.lengthr[o]===i)}return e===n}function Sw(e){return e.length>0?e[e.length-1]:null}function Xn(e){return function oF(e){return!!e&&(e instanceof be||de(e.lift)&&de(e.subscribe))}(e)?e:mo(e)?Re(Promise.resolve(e)):L(e)}const yF={exact:function Tw(e,n,t){if(!wr(e.segments,n.segments)||!ll(e.segments,n.segments,t)||e.numberOfChildren!==n.numberOfChildren)return!1;for(const r in n.children)if(!e.children[r]||!Tw(e.children[r],n.children[r],t))return!1;return!0},subset:xw},Iw={exact:function vF(e,n){return dn(e,n)},subset:function _F(e,n){return Object.keys(n).length<=Object.keys(e).length&&Object.keys(n).every(t=>Mw(e[t],n[t]))},ignored:()=>!0};function Aw(e,n,t){return yF[t.paths](e.root,n.root,t.matrixParams)&&Iw[t.queryParams](e.queryParams,n.queryParams)&&!("exact"===t.fragment&&e.fragment!==n.fragment)}function xw(e,n,t){return Nw(e,n,n.segments,t)}function Nw(e,n,t,r){if(e.segments.length>t.length){const i=e.segments.slice(0,t.length);return!(!wr(i,t)||n.hasChildren()||!ll(i,t,r))}if(e.segments.length===t.length){if(!wr(e.segments,t)||!ll(e.segments,t,r))return!1;for(const i in n.children)if(!e.children[i]||!xw(e.children[i],n.children[i],r))return!1;return!0}{const i=t.slice(0,e.segments.length),o=t.slice(e.segments.length);return!!(wr(e.segments,i)&&ll(e.segments,i,r)&&e.children[G])&&Nw(e.children[G],n,o,r)}}function ll(e,n,t){return n.every((r,i)=>Iw[t](e[i].parameters,r.parameters))}class Ci{constructor(n=new ue([],{}),t={},r=null){this.root=n,this.queryParams=t,this.fragment=r}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Di(this.queryParams)),this._queryParamMap}toString(){return wF.serialize(this)}}class ue{constructor(n,t){this.segments=n,this.children=t,this.parent=null,Object.values(t).forEach(r=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return cl(this)}}class zo{constructor(n,t){this.path=n,this.parameters=t}get parameterMap(){return this._parameterMap||(this._parameterMap=Di(this.parameters)),this._parameterMap}toString(){return Pw(this)}}function wr(e,n){return e.length===n.length&&e.every((t,r)=>t.path===n[r].path)}let Go=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=O({token:e,factory:function(){return new Lf},providedIn:"root"})}return e})();class Lf{parse(n){const t=new RF(n);return new Ci(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}serialize(n){const t=`/${Wo(n.root,!0)}`,r=function MF(e){const n=Object.keys(e).map(t=>{const r=e[t];return Array.isArray(r)?r.map(i=>`${ul(t)}=${ul(i)}`).join("&"):`${ul(t)}=${ul(r)}`}).filter(t=>!!t);return n.length?`?${n.join("&")}`:""}(n.queryParams);return`${t}${r}${"string"==typeof n.fragment?`#${function bF(e){return encodeURI(e)}(n.fragment)}`:""}`}}const wF=new Lf;function cl(e){return e.segments.map(n=>Pw(n)).join("/")}function Wo(e,n){if(!e.hasChildren())return cl(e);if(n){const t=e.children[G]?Wo(e.children[G],!1):"",r=[];return Object.entries(e.children).forEach(([i,o])=>{i!==G&&r.push(`${i}:${Wo(o,!1)}`)}),r.length>0?`${t}(${r.join("//")})`:t}{const t=function CF(e,n){let t=[];return Object.entries(e.children).forEach(([r,i])=>{r===G&&(t=t.concat(n(i,r)))}),Object.entries(e.children).forEach(([r,i])=>{r!==G&&(t=t.concat(n(i,r)))}),t}(e,(r,i)=>i===G?[Wo(e.children[G],!1)]:[`${i}:${Wo(r,!1)}`]);return 1===Object.keys(e.children).length&&null!=e.children[G]?`${cl(e)}/${t[0]}`:`${cl(e)}/(${t.join("//")})`}}function Ow(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function ul(e){return Ow(e).replace(/%3B/gi,";")}function Vf(e){return Ow(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function dl(e){return decodeURIComponent(e)}function Rw(e){return dl(e.replace(/\+/g,"%20"))}function Pw(e){return`${Vf(e.path)}${function EF(e){return Object.keys(e).map(n=>`;${Vf(n)}=${Vf(e[n])}`).join("")}(e.parameters)}`}const SF=/^[^\/()?;#]+/;function jf(e){const n=e.match(SF);return n?n[0]:""}const IF=/^[^\/()?;=#]+/,TF=/^[^=?&#]+/,NF=/^[^&#]+/;class RF{constructor(n){this.url=n,this.remaining=n}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new ue([],{}):new ue([],this.parseChildren())}parseQueryParams(){const n={};if(this.consumeOptional("?"))do{this.parseQueryParam(n)}while(this.consumeOptional("&"));return n}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const n=[];for(this.peekStartsWith("(")||n.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),n.push(this.parseSegment());let t={};this.peekStartsWith("/(")&&(this.capture("/"),t=this.parseParens(!0));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1)),(n.length>0||Object.keys(t).length>0)&&(r[G]=new ue(n,t)),r}parseSegment(){const n=jf(this.remaining);if(""===n&&this.peekStartsWith(";"))throw new _(4009,!1);return this.capture(n),new zo(dl(n),this.parseMatrixParams())}parseMatrixParams(){const n={};for(;this.consumeOptional(";");)this.parseParam(n);return n}parseParam(n){const t=function AF(e){const n=e.match(IF);return n?n[0]:""}(this.remaining);if(!t)return;this.capture(t);let r="";if(this.consumeOptional("=")){const i=jf(this.remaining);i&&(r=i,this.capture(r))}n[dl(t)]=dl(r)}parseQueryParam(n){const t=function xF(e){const n=e.match(TF);return n?n[0]:""}(this.remaining);if(!t)return;this.capture(t);let r="";if(this.consumeOptional("=")){const s=function OF(e){const n=e.match(NF);return n?n[0]:""}(this.remaining);s&&(r=s,this.capture(r))}const i=Rw(t),o=Rw(r);if(n.hasOwnProperty(i)){let s=n[i];Array.isArray(s)||(s=[s],n[i]=s),s.push(o)}else n[i]=o}parseParens(n){const t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const r=jf(this.remaining),i=this.remaining[r.length];if("/"!==i&&")"!==i&&";"!==i)throw new _(4010,!1);let o;r.indexOf(":")>-1?(o=r.slice(0,r.indexOf(":")),this.capture(o),this.capture(":")):n&&(o=G);const s=this.parseChildren();t[o]=1===Object.keys(s).length?s[G]:new ue([],s),this.consumeOptional("//")}return t}peekStartsWith(n){return this.remaining.startsWith(n)}consumeOptional(n){return!!this.peekStartsWith(n)&&(this.remaining=this.remaining.substring(n.length),!0)}capture(n){if(!this.consumeOptional(n))throw new _(4011,!1)}}function kw(e){return e.segments.length>0?new ue([],{[G]:e}):e}function Fw(e){const n={};for(const r of Object.keys(e.children)){const o=Fw(e.children[r]);if(r===G&&0===o.segments.length&&o.hasChildren())for(const[s,a]of Object.entries(o.children))n[s]=a;else(o.segments.length>0||o.hasChildren())&&(n[r]=o)}return function PF(e){if(1===e.numberOfChildren&&e.children[G]){const n=e.children[G];return new ue(e.segments.concat(n.segments),n.children)}return e}(new ue(e.segments,n))}function br(e){return e instanceof Ci}function Lw(e){let n;const i=kw(function t(o){const s={};for(const l of o.children){const c=t(l);s[l.outlet]=c}const a=new ue(o.url,s);return o===e&&(n=a),a}(e.root));return n??i}function Vw(e,n,t,r){let i=e;for(;i.parent;)i=i.parent;if(0===n.length)return Hf(i,i,i,t,r);const o=function FF(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new Hw(!0,0,e);let n=0,t=!1;const r=e.reduce((i,o,s)=>{if("object"==typeof o&&null!=o){if(o.outlets){const a={};return Object.entries(o.outlets).forEach(([l,c])=>{a[l]="string"==typeof c?c.split("/"):c}),[...i,{outlets:a}]}if(o.segmentPath)return[...i,o.segmentPath]}return"string"!=typeof o?[...i,o]:0===s?(o.split("/").forEach((a,l)=>{0==l&&"."===a||(0==l&&""===a?t=!0:".."===a?n++:""!=a&&i.push(a))}),i):[...i,o]},[]);return new Hw(t,n,r)}(n);if(o.toRoot())return Hf(i,i,new ue([],{}),t,r);const s=function LF(e,n,t){if(e.isAbsolute)return new hl(n,!0,0);if(!t)return new hl(n,!1,NaN);if(null===t.parent)return new hl(t,!0,0);const r=fl(e.commands[0])?0:1;return function VF(e,n,t){let r=e,i=n,o=t;for(;o>i;){if(o-=i,r=r.parent,!r)throw new _(4005,!1);i=r.segments.length}return new hl(r,!1,i-o)}(t,t.segments.length-1+r,e.numberOfDoubleDots)}(o,i,e),a=s.processChildren?Zo(s.segmentGroup,s.index,o.commands):Bw(s.segmentGroup,s.index,o.commands);return Hf(i,s.segmentGroup,a,t,r)}function fl(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function qo(e){return"object"==typeof e&&null!=e&&e.outlets}function Hf(e,n,t,r,i){let s,o={};r&&Object.entries(r).forEach(([l,c])=>{o[l]=Array.isArray(c)?c.map(u=>`${u}`):`${c}`}),s=e===n?t:jw(e,n,t);const a=kw(Fw(s));return new Ci(a,o,i)}function jw(e,n,t){const r={};return Object.entries(e.children).forEach(([i,o])=>{r[i]=o===n?t:jw(o,n,t)}),new ue(e.segments,r)}class Hw{constructor(n,t,r){if(this.isAbsolute=n,this.numberOfDoubleDots=t,this.commands=r,n&&r.length>0&&fl(r[0]))throw new _(4003,!1);const i=r.find(qo);if(i&&i!==Sw(r))throw new _(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class hl{constructor(n,t,r){this.segmentGroup=n,this.processChildren=t,this.index=r}}function Bw(e,n,t){if(e||(e=new ue([],{})),0===e.segments.length&&e.hasChildren())return Zo(e,n,t);const r=function HF(e,n,t){let r=0,i=n;const o={match:!1,pathIndex:0,commandIndex:0};for(;i=t.length)return o;const s=e.segments[i],a=t[r];if(qo(a))break;const l=`${a}`,c=r0&&void 0===l)break;if(l&&c&&"object"==typeof c&&void 0===c.outlets){if(!Uw(l,c,s))return o;r+=2}else{if(!Uw(l,{},s))return o;r++}i++}return{match:!0,pathIndex:i,commandIndex:r}}(e,n,t),i=t.slice(r.commandIndex);if(r.match&&r.pathIndex{"string"==typeof s&&(s=[s]),null!==s&&(i[o]=Bw(e.children[o],n,s))}),Object.entries(e.children).forEach(([o,s])=>{void 0===r[o]&&(i[o]=s)}),new ue(e.segments,i)}}function Bf(e,n,t){const r=e.segments.slice(0,n);let i=0;for(;i{"string"==typeof r&&(r=[r]),null!==r&&(n[t]=Bf(new ue([],{}),0,r))}),n}function $w(e){const n={};return Object.entries(e).forEach(([t,r])=>n[t]=`${r}`),n}function Uw(e,n,t){return e==t.path&&dn(n,t.parameters)}const Yo="imperative";class fn{constructor(n,t){this.id=n,this.url=t}}class $f extends fn{constructor(n,t,r="imperative",i=null){super(n,t),this.type=0,this.navigationTrigger=r,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Er extends fn{constructor(n,t,r){super(n,t),this.urlAfterRedirects=r,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class pl extends fn{constructor(n,t,r,i){super(n,t),this.reason=r,this.code=i,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Qo extends fn{constructor(n,t,r,i){super(n,t),this.reason=r,this.code=i,this.type=16}}class Uf extends fn{constructor(n,t,r,i){super(n,t),this.error=r,this.target=i,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class $F extends fn{constructor(n,t,r,i){super(n,t),this.urlAfterRedirects=r,this.state=i,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class UF extends fn{constructor(n,t,r,i){super(n,t),this.urlAfterRedirects=r,this.state=i,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class zF extends fn{constructor(n,t,r,i,o){super(n,t),this.urlAfterRedirects=r,this.state=i,this.shouldActivate=o,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class GF extends fn{constructor(n,t,r,i){super(n,t),this.urlAfterRedirects=r,this.state=i,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class WF extends fn{constructor(n,t,r,i){super(n,t),this.urlAfterRedirects=r,this.state=i,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class qF{constructor(n){this.route=n,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class ZF{constructor(n){this.route=n,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class YF{constructor(n){this.snapshot=n,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class QF{constructor(n){this.snapshot=n,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class KF{constructor(n){this.snapshot=n,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class XF{constructor(n){this.snapshot=n,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class zw{constructor(n,t,r){this.routerEvent=n,this.position=t,this.anchor=r,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class JF{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new Ko,this.attachRef=null}}let Ko=(()=>{class e{constructor(){this.contexts=new Map}onChildOutletCreated(t,r){const i=this.getOrCreateContext(t);i.outlet=r,this.contexts.set(t,i)}onChildOutletDestroyed(t){const r=this.getContext(t);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){const t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let r=this.getContext(t);return r||(r=new JF,this.contexts.set(t,r)),r}getContext(t){return this.contexts.get(t)||null}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();class Gw{constructor(n){this._root=n}get root(){return this._root.value}parent(n){const t=this.pathFromRoot(n);return t.length>1?t[t.length-2]:null}children(n){const t=zf(n,this._root);return t?t.children.map(r=>r.value):[]}firstChild(n){const t=zf(n,this._root);return t&&t.children.length>0?t.children[0].value:null}siblings(n){const t=Gf(n,this._root);return t.length<2?[]:t[t.length-2].children.map(i=>i.value).filter(i=>i!==n)}pathFromRoot(n){return Gf(n,this._root).map(t=>t.value)}}function zf(e,n){if(e===n.value)return n;for(const t of n.children){const r=zf(e,t);if(r)return r}return null}function Gf(e,n){if(e===n.value)return[n];for(const t of n.children){const r=Gf(e,t);if(r.length)return r.unshift(n),r}return[]}class Rn{constructor(n,t){this.value=n,this.children=t}toString(){return`TreeNode(${this.value})`}}function wi(e){const n={};return e&&e.children.forEach(t=>n[t.value.outlet]=t),n}class Ww extends Gw{constructor(n,t){super(n),this.snapshot=t,Wf(this,n)}toString(){return this.snapshot.toString()}}function qw(e,n){const t=function eL(e,n){const s=new gl([],{},{},"",{},G,n,null,{});return new Yw("",new Rn(s,[]))}(0,n),r=new At([new zo("",{})]),i=new At({}),o=new At({}),s=new At({}),a=new At(""),l=new bi(r,i,s,a,o,G,n,t.root);return l.snapshot=t.root,new Ww(new Rn(l,[]),t)}class bi{constructor(n,t,r,i,o,s,a,l){this.urlSubject=n,this.paramsSubject=t,this.queryParamsSubject=r,this.fragmentSubject=i,this.dataSubject=o,this.outlet=s,this.component=a,this._futureSnapshot=l,this.title=this.dataSubject?.pipe(J(c=>c[Uo]))??L(void 0),this.url=n,this.params=t,this.queryParams=r,this.fragment=i,this.data=o}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe(J(n=>Di(n)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(J(n=>Di(n)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Zw(e,n="emptyOnly"){const t=e.pathFromRoot;let r=0;if("always"!==n)for(r=t.length-1;r>=1;){const i=t[r],o=t[r-1];if(i.routeConfig&&""===i.routeConfig.path)r--;else{if(o.component)break;r--}}return function tL(e){return e.reduce((n,t)=>({params:{...n.params,...t.params},data:{...n.data,...t.data},resolve:{...t.data,...n.resolve,...t.routeConfig?.data,...t._resolvedData}}),{params:{},data:{},resolve:{}})}(t.slice(r))}class gl{get title(){return this.data?.[Uo]}constructor(n,t,r,i,o,s,a,l,c){this.url=n,this.params=t,this.queryParams=r,this.fragment=i,this.data=o,this.outlet=s,this.component=a,this.routeConfig=l,this._resolve=c}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=Di(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Di(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(r=>r.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Yw extends Gw{constructor(n,t){super(t),this.url=n,Wf(this,t)}toString(){return Qw(this._root)}}function Wf(e,n){n.value._routerState=e,n.children.forEach(t=>Wf(e,t))}function Qw(e){const n=e.children.length>0?` { ${e.children.map(Qw).join(", ")} } `:"";return`${e.value}${n}`}function qf(e){if(e.snapshot){const n=e.snapshot,t=e._futureSnapshot;e.snapshot=t,dn(n.queryParams,t.queryParams)||e.queryParamsSubject.next(t.queryParams),n.fragment!==t.fragment&&e.fragmentSubject.next(t.fragment),dn(n.params,t.params)||e.paramsSubject.next(t.params),function mF(e,n){if(e.length!==n.length)return!1;for(let t=0;tdn(t.parameters,n[r].parameters))}(e.url,n.url);return t&&!(!e.parent!=!n.parent)&&(!e.parent||Zf(e.parent,n.parent))}let Yf=(()=>{class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=G,this.activateEvents=new ce,this.deactivateEvents=new ce,this.attachEvents=new ce,this.detachEvents=new ce,this.parentContexts=I(Ko),this.location=I($t),this.changeDetector=I(Io),this.environmentInjector=I(nn),this.inputBinder=I(ml,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(t){if(t.name){const{firstChange:r,previousValue:i}=t.name;if(r)return;this.isTrackedInParentContexts(i)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(i)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(t){return this.parentContexts.getContext(t)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const t=this.parentContexts.getContext(this.name);t?.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new _(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new _(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new _(4012,!1);this.location.detach();const t=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(t.instance),t}attach(t,r){this.activated=t,this._activatedRoute=r,this.location.insert(t.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(t.instance)}deactivate(){if(this.activated){const t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,r){if(this.isActivated)throw new _(4013,!1);this._activatedRoute=t;const i=this.location,s=t.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,l=new nL(t,a,i.injector);this.activated=i.createComponent(s,{index:i.length,injector:l,environmentInjector:r??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275dir=V({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[Nt]})}return e})();class nL{constructor(n,t,r){this.route=n,this.childContexts=t,this.parent=r}get(n,t){return n===bi?this.route:n===Ko?this.childContexts:this.parent.get(n,t)}}const ml=new A("");let Kw=(()=>{class e{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(t){this.unsubscribeFromRouteData(t),this.subscribeToRouteData(t)}unsubscribeFromRouteData(t){this.outletDataSubscriptions.get(t)?.unsubscribe(),this.outletDataSubscriptions.delete(t)}subscribeToRouteData(t){const{activatedRoute:r}=t,i=Rf([r.queryParams,r.params,r.data]).pipe(cn(([o,s,a],l)=>(a={...o,...s,...a},0===l?L(a):Promise.resolve(a)))).subscribe(o=>{if(!t.isActivated||!t.activatedComponentRef||t.activatedRoute!==r||null===r.component)return void this.unsubscribeFromRouteData(t);const s=function zO(e){const n=ee(e);if(!n)return null;const t=new uo(n);return{get selector(){return t.selector},get type(){return t.componentType},get inputs(){return t.inputs},get outputs(){return t.outputs},get ngContentSelectors(){return t.ngContentSelectors},get isStandalone(){return n.standalone}}}(r.component);if(s)for(const{templateName:a}of s.inputs)t.activatedComponentRef.setInput(a,o[a]);else this.unsubscribeFromRouteData(t)});this.outletDataSubscriptions.set(t,i)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=O({token:e,factory:e.\u0275fac})}return e})();function Xo(e,n,t){if(t&&e.shouldReuseRoute(n.value,t.value.snapshot)){const r=t.value;r._futureSnapshot=n.value;const i=function iL(e,n,t){return n.children.map(r=>{for(const i of t.children)if(e.shouldReuseRoute(r.value,i.value.snapshot))return Xo(e,r,i);return Xo(e,r)})}(e,n,t);return new Rn(r,i)}{if(e.shouldAttach(n.value)){const o=e.retrieve(n.value);if(null!==o){const s=o.route;return s.value._futureSnapshot=n.value,s.children=n.children.map(a=>Xo(e,a)),s}}const r=function oL(e){return new bi(new At(e.url),new At(e.params),new At(e.queryParams),new At(e.fragment),new At(e.data),e.outlet,e.component,e)}(n.value),i=n.children.map(o=>Xo(e,o));return new Rn(r,i)}}const Qf="ngNavigationCancelingError";function Xw(e,n){const{redirectTo:t,navigationBehaviorOptions:r}=br(n)?{redirectTo:n,navigationBehaviorOptions:void 0}:n,i=Jw(!1,0,n);return i.url=t,i.navigationBehaviorOptions=r,i}function Jw(e,n,t){const r=new Error("NavigationCancelingError: "+(e||""));return r[Qf]=!0,r.cancellationCode=n,t&&(r.url=t),r}function eb(e){return tb(e)&&br(e.url)}function tb(e){return e&&e[Qf]}let nb=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=Ir({type:e,selectors:[["ng-component"]],standalone:!0,features:[Ov],decls:1,vars:0,template:function(r,i){1&r&&te(0,"router-outlet")},dependencies:[Yf],encapsulation:2})}return e})();function Kf(e){const n=e.children&&e.children.map(Kf),t=n?{...e,children:n}:{...e};return!t.component&&!t.loadComponent&&(n||t.loadChildren)&&t.outlet&&t.outlet!==G&&(t.component=nb),t}function qt(e){return e.outlet||G}function Jo(e){if(!e)return null;if(e.routeConfig?._injector)return e.routeConfig._injector;for(let n=e.parent;n;n=n.parent){const t=n.routeConfig;if(t?._loadedInjector)return t._loadedInjector;if(t?._injector)return t._injector}return null}class fL{constructor(n,t,r,i,o){this.routeReuseStrategy=n,this.futureState=t,this.currState=r,this.forwardEvent=i,this.inputBindingEnabled=o}activate(n){const t=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(t,r,n),qf(this.futureState.root),this.activateChildRoutes(t,r,n)}deactivateChildRoutes(n,t,r){const i=wi(t);n.children.forEach(o=>{const s=o.value.outlet;this.deactivateRoutes(o,i[s],r),delete i[s]}),Object.values(i).forEach(o=>{this.deactivateRouteAndItsChildren(o,r)})}deactivateRoutes(n,t,r){const i=n.value,o=t?t.value:null;if(i===o)if(i.component){const s=r.getContext(i.outlet);s&&this.deactivateChildRoutes(n,t,s.children)}else this.deactivateChildRoutes(n,t,r);else o&&this.deactivateRouteAndItsChildren(t,r)}deactivateRouteAndItsChildren(n,t){n.value.component&&this.routeReuseStrategy.shouldDetach(n.value.snapshot)?this.detachAndStoreRouteSubtree(n,t):this.deactivateRouteAndOutlet(n,t)}detachAndStoreRouteSubtree(n,t){const r=t.getContext(n.value.outlet),i=r&&n.value.component?r.children:t,o=wi(n);for(const s of Object.keys(o))this.deactivateRouteAndItsChildren(o[s],i);if(r&&r.outlet){const s=r.outlet.detach(),a=r.children.onOutletDeactivated();this.routeReuseStrategy.store(n.value.snapshot,{componentRef:s,route:n,contexts:a})}}deactivateRouteAndOutlet(n,t){const r=t.getContext(n.value.outlet),i=r&&n.value.component?r.children:t,o=wi(n);for(const s of Object.keys(o))this.deactivateRouteAndItsChildren(o[s],i);r&&(r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated()),r.attachRef=null,r.route=null)}activateChildRoutes(n,t,r){const i=wi(t);n.children.forEach(o=>{this.activateRoutes(o,i[o.value.outlet],r),this.forwardEvent(new XF(o.value.snapshot))}),n.children.length&&this.forwardEvent(new QF(n.value.snapshot))}activateRoutes(n,t,r){const i=n.value,o=t?t.value:null;if(qf(i),i===o)if(i.component){const s=r.getOrCreateContext(i.outlet);this.activateChildRoutes(n,t,s.children)}else this.activateChildRoutes(n,t,r);else if(i.component){const s=r.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){const a=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.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),qf(a.route.value),this.activateChildRoutes(n,null,s.children)}else{const a=Jo(i.snapshot);s.attachRef=null,s.route=i,s.injector=a,s.outlet&&s.outlet.activateWith(i,s.injector),this.activateChildRoutes(n,null,s.children)}}else this.activateChildRoutes(n,null,r)}}class rb{constructor(n){this.path=n,this.route=this.path[this.path.length-1]}}class yl{constructor(n,t){this.component=n,this.route=t}}function hL(e,n,t){const r=e._root;return es(r,n?n._root:null,t,[r.value])}function Ei(e,n){const t=Symbol(),r=n.get(e,t);return r===t?"function"!=typeof e||function xE(e){return null!==cs(e)}(e)?n.get(e):e:r}function es(e,n,t,r,i={canDeactivateChecks:[],canActivateChecks:[]}){const o=wi(n);return e.children.forEach(s=>{(function gL(e,n,t,r,i={canDeactivateChecks:[],canActivateChecks:[]}){const o=e.value,s=n?n.value:null,a=t?t.getContext(e.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){const l=function mL(e,n,t){if("function"==typeof t)return t(e,n);switch(t){case"pathParamsChange":return!wr(e.url,n.url);case"pathParamsOrQueryParamsChange":return!wr(e.url,n.url)||!dn(e.queryParams,n.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Zf(e,n)||!dn(e.queryParams,n.queryParams);default:return!Zf(e,n)}}(s,o,o.routeConfig.runGuardsAndResolvers);l?i.canActivateChecks.push(new rb(r)):(o.data=s.data,o._resolvedData=s._resolvedData),es(e,n,o.component?a?a.children:null:t,r,i),l&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new yl(a.outlet.component,s))}else s&&ts(n,a,i),i.canActivateChecks.push(new rb(r)),es(e,null,o.component?a?a.children:null:t,r,i)})(s,o[s.value.outlet],t,r.concat([s.value]),i),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,a])=>ts(a,t.getContext(s),i)),i}function ts(e,n,t){const r=wi(e),i=e.value;Object.entries(r).forEach(([o,s])=>{ts(s,i.component?n?n.children.getContext(o):null:n,t)}),t.canDeactivateChecks.push(new yl(i.component&&n&&n.outlet&&n.outlet.isActivated?n.outlet.component:null,i))}function ns(e){return"function"==typeof e}function ib(e){return e instanceof sl||"EmptyError"===e?.name}const vl=Symbol("INITIAL_VALUE");function Mi(){return cn(e=>Rf(e.map(n=>n.pipe(_i(1),function lF(...e){const n=Ni(e);return je((t,r)=>{(n?Pf(e,t,n):Pf(e,t)).subscribe(r)})}(vl)))).pipe(J(n=>{for(const t of n)if(!0!==t){if(t===vl)return vl;if(!1===t||t instanceof Ci)return t}return!0}),On(n=>n!==vl),_i(1)))}function ob(e){return function kb(...e){return uh(e)}(nt(n=>{if(br(n))throw Xw(0,n)}),J(n=>!0===n))}class _l{constructor(n){this.segmentGroup=n||null}}class sb{constructor(n){this.urlTree=n}}function Si(e){return $o(new _l(e))}function ab(e){return $o(new sb(e))}class FL{constructor(n,t){this.urlSerializer=n,this.urlTree=t}noMatchError(n){return new _(4002,!1)}lineralizeSegments(n,t){let r=[],i=t.root;for(;;){if(r=r.concat(i.segments),0===i.numberOfChildren)return L(r);if(i.numberOfChildren>1||!i.children[G])return $o(new _(4e3,!1));i=i.children[G]}}applyRedirectCommands(n,t,r){return this.applyRedirectCreateUrlTree(t,this.urlSerializer.parse(t),n,r)}applyRedirectCreateUrlTree(n,t,r,i){const o=this.createSegmentGroup(n,t.root,r,i);return new Ci(o,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}createQueryParams(n,t){const r={};return Object.entries(n).forEach(([i,o])=>{if("string"==typeof o&&o.startsWith(":")){const a=o.substring(1);r[i]=t[a]}else r[i]=o}),r}createSegmentGroup(n,t,r,i){const o=this.createSegments(n,t.segments,r,i);let s={};return Object.entries(t.children).forEach(([a,l])=>{s[a]=this.createSegmentGroup(n,l,r,i)}),new ue(o,s)}createSegments(n,t,r,i){return t.map(o=>o.path.startsWith(":")?this.findPosParam(n,o,i):this.findOrReturn(o,r))}findPosParam(n,t,r){const i=r[t.path.substring(1)];if(!i)throw new _(4001,!1);return i}findOrReturn(n,t){let r=0;for(const i of t){if(i.path===n.path)return t.splice(r),i;r++}return n}}const Xf={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function LL(e,n,t,r,i){const o=Jf(e,n,t);return o.matched?(r=function sL(e,n){return e.providers&&!e._injector&&(e._injector=zu(e.providers,n,`Route: ${e.path}`)),e._injector??n}(n,r),function RL(e,n,t,r){const i=n.canMatch;return i&&0!==i.length?L(i.map(s=>{const a=Ei(s,e);return Xn(function wL(e){return e&&ns(e.canMatch)}(a)?a.canMatch(n,t):e.runInContext(()=>a(n,t)))})).pipe(Mi(),ob()):L(!0)}(r,n,t).pipe(J(s=>!0===s?o:{...Xf}))):L(o)}function Jf(e,n,t){if(""===n.path)return"full"===n.pathMatch&&(e.hasChildren()||t.length>0)?{...Xf}:{matched:!0,consumedSegments:[],remainingSegments:t,parameters:{},positionalParamSegments:{}};const i=(n.matcher||gF)(t,e,n);if(!i)return{...Xf};const o={};Object.entries(i.posParams??{}).forEach(([a,l])=>{o[a]=l.path});const s=i.consumed.length>0?{...o,...i.consumed[i.consumed.length-1].parameters}:o;return{matched:!0,consumedSegments:i.consumed,remainingSegments:t.slice(i.consumed.length),parameters:s,positionalParamSegments:i.posParams??{}}}function lb(e,n,t,r){return t.length>0&&function HL(e,n,t){return t.some(r=>Dl(e,n,r)&&qt(r)!==G)}(e,t,r)?{segmentGroup:new ue(n,jL(r,new ue(t,e.children))),slicedSegments:[]}:0===t.length&&function BL(e,n,t){return t.some(r=>Dl(e,n,r))}(e,t,r)?{segmentGroup:new ue(e.segments,VL(e,0,t,r,e.children)),slicedSegments:t}:{segmentGroup:new ue(e.segments,e.children),slicedSegments:t}}function VL(e,n,t,r,i){const o={};for(const s of r)if(Dl(e,t,s)&&!i[qt(s)]){const a=new ue([],{});o[qt(s)]=a}return{...i,...o}}function jL(e,n){const t={};t[G]=n;for(const r of e)if(""===r.path&&qt(r)!==G){const i=new ue([],{});t[qt(r)]=i}return t}function Dl(e,n,t){return(!(e.hasChildren()||n.length>0)||"full"!==t.pathMatch)&&""===t.path}class GL{constructor(n,t,r,i,o,s,a){this.injector=n,this.configLoader=t,this.rootComponentType=r,this.config=i,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.allowRedirects=!0,this.applyRedirects=new FL(this.urlSerializer,this.urlTree)}noMatchError(n){return new _(4002,!1)}recognize(){const n=lb(this.urlTree.root,[],[],this.config).segmentGroup;return this.processSegmentGroup(this.injector,this.config,n,G).pipe(Cr(t=>{if(t instanceof sb)return this.allowRedirects=!1,this.urlTree=t.urlTree,this.match(t.urlTree);throw t instanceof _l?this.noMatchError(t):t}),J(t=>{const r=new gl([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},G,this.rootComponentType,null,{}),i=new Rn(r,t),o=new Yw("",i),s=function kF(e,n,t=null,r=null){return Vw(Lw(e),n,t,r)}(r,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),this.inheritParamsAndData(o._root),{state:o,tree:s}}))}match(n){return this.processSegmentGroup(this.injector,this.config,n.root,G).pipe(Cr(r=>{throw r instanceof _l?this.noMatchError(r):r}))}inheritParamsAndData(n){const t=n.value,r=Zw(t,this.paramsInheritanceStrategy);t.params=Object.freeze(r.params),t.data=Object.freeze(r.data),n.children.forEach(i=>this.inheritParamsAndData(i))}processSegmentGroup(n,t,r,i){return 0===r.segments.length&&r.hasChildren()?this.processChildren(n,t,r):this.processSegment(n,t,r,r.segments,i,!0)}processChildren(n,t,r){const i=[];for(const o of Object.keys(r.children))"primary"===o?i.unshift(o):i.push(o);return Re(i).pipe(gi(o=>{const s=r.children[o],a=function uL(e,n){const t=e.filter(r=>qt(r)===n);return t.push(...e.filter(r=>qt(r)!==n)),t}(t,o);return this.processSegmentGroup(n,a,s,o)}),function dF(e,n){return je(function uF(e,n,t,r,i){return(o,s)=>{let a=t,l=n,c=0;o.subscribe(Oe(s,u=>{const d=c++;l=a?e(l,u,d):(a=!0,u),r&&s.next(l)},i&&(()=>{a&&s.next(l),s.complete()})))}}(e,n,arguments.length>=2,!0))}((o,s)=>(o.push(...s),o)),al(null),function fF(e,n){const t=arguments.length>=2;return r=>r.pipe(e?On((i,o)=>e(i,o,r)):kn,Ff(1),t?al(n):Ew(()=>new sl))}(),He(o=>{if(null===o)return Si(r);const s=cb(o);return function WL(e){e.sort((n,t)=>n.value.outlet===G?-1:t.value.outlet===G?1:n.value.outlet.localeCompare(t.value.outlet))}(s),L(s)}))}processSegment(n,t,r,i,o,s){return Re(t).pipe(gi(a=>this.processSegmentAgainstRoute(a._injector??n,t,a,r,i,o,s).pipe(Cr(l=>{if(l instanceof _l)return L(null);throw l}))),Dr(a=>!!a),Cr(a=>{if(ib(a))return function UL(e,n,t){return 0===n.length&&!e.children[t]}(r,i,o)?L([]):Si(r);throw a}))}processSegmentAgainstRoute(n,t,r,i,o,s,a){return function $L(e,n,t,r){return!!(qt(e)===r||r!==G&&Dl(n,t,e))&&("**"===e.path||Jf(n,e,t).matched)}(r,i,o,s)?void 0===r.redirectTo?this.matchSegmentAgainstRoute(n,i,r,o,s,a):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(n,i,t,r,o,s):Si(i):Si(i)}expandSegmentAgainstRouteUsingRedirect(n,t,r,i,o,s){return"**"===i.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(n,r,i,s):this.expandRegularSegmentAgainstRouteUsingRedirect(n,t,r,i,o,s)}expandWildCardWithParamsAgainstRouteUsingRedirect(n,t,r,i){const o=this.applyRedirects.applyRedirectCommands([],r.redirectTo,{});return r.redirectTo.startsWith("/")?ab(o):this.applyRedirects.lineralizeSegments(r,o).pipe(He(s=>{const a=new ue(s,{});return this.processSegment(n,t,a,s,i,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(n,t,r,i,o,s){const{matched:a,consumedSegments:l,remainingSegments:c,positionalParamSegments:u}=Jf(t,i,o);if(!a)return Si(t);const d=this.applyRedirects.applyRedirectCommands(l,i.redirectTo,u);return i.redirectTo.startsWith("/")?ab(d):this.applyRedirects.lineralizeSegments(i,d).pipe(He(f=>this.processSegment(n,r,t,f.concat(c),s,!1)))}matchSegmentAgainstRoute(n,t,r,i,o,s){let a;if("**"===r.path){const l=i.length>0?Sw(i).parameters:{};a=L({snapshot:new gl(i,l,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,ub(r),qt(r),r.component??r._loadedComponent??null,r,db(r)),consumedSegments:[],remainingSegments:[]}),t.children={}}else a=LL(t,r,i,n).pipe(J(({matched:l,consumedSegments:c,remainingSegments:u,parameters:d})=>l?{snapshot:new gl(c,d,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,ub(r),qt(r),r.component??r._loadedComponent??null,r,db(r)),consumedSegments:c,remainingSegments:u}:null));return a.pipe(cn(l=>null===l?Si(t):this.getChildConfig(n=r._injector??n,r,i).pipe(cn(({routes:c})=>{const u=r._loadedInjector??n,{snapshot:d,consumedSegments:f,remainingSegments:h}=l,{segmentGroup:p,slicedSegments:g}=lb(t,f,h,c);if(0===g.length&&p.hasChildren())return this.processChildren(u,c,p).pipe(J(C=>null===C?null:[new Rn(d,C)]));if(0===c.length&&0===g.length)return L([new Rn(d,[])]);const y=qt(r)===o;return this.processSegment(u,c,p,g,y?G:o,!0).pipe(J(C=>[new Rn(d,C)]))}))))}getChildConfig(n,t,r){return t.children?L({routes:t.children,injector:n}):t.loadChildren?void 0!==t._loadedRoutes?L({routes:t._loadedRoutes,injector:t._loadedInjector}):function OL(e,n,t,r){const i=n.canLoad;return void 0===i||0===i.length?L(!0):L(i.map(s=>{const a=Ei(s,e);return Xn(function vL(e){return e&&ns(e.canLoad)}(a)?a.canLoad(n,t):e.runInContext(()=>a(n,t)))})).pipe(Mi(),ob())}(n,t,r).pipe(He(i=>i?this.configLoader.loadChildren(n,t).pipe(nt(o=>{t._loadedRoutes=o.routes,t._loadedInjector=o.injector})):function kL(e){return $o(Jw(!1,3))}())):L({routes:[],injector:n})}}function qL(e){const n=e.value.routeConfig;return n&&""===n.path}function cb(e){const n=[],t=new Set;for(const r of e){if(!qL(r)){n.push(r);continue}const i=n.find(o=>r.value.routeConfig===o.value.routeConfig);void 0!==i?(i.children.push(...r.children),t.add(i)):n.push(r)}for(const r of t){const i=cb(r.children);n.push(new Rn(r.value,i))}return n.filter(r=>!t.has(r))}function ub(e){return e.data||{}}function db(e){return e.resolve||{}}function fb(e){return"string"==typeof e.title||null===e.title}function eh(e){return cn(n=>{const t=e(n);return t?Re(t).pipe(J(()=>n)):L(n)})}const Ii=new A("ROUTES");let th=(()=>{class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=I(E_)}loadComponent(t){if(this.componentLoaders.get(t))return this.componentLoaders.get(t);if(t._loadedComponent)return L(t._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(t);const r=Xn(t.loadComponent()).pipe(J(hb),nt(o=>{this.onLoadEndListener&&this.onLoadEndListener(t),t._loadedComponent=o}),Ro(()=>{this.componentLoaders.delete(t)})),i=new bw(r,()=>new hn).pipe(kf());return this.componentLoaders.set(t,i),i}loadChildren(t,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return L({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);const o=this.loadModuleFactoryOrRoutes(r.loadChildren).pipe(J(a=>{this.onLoadEndListener&&this.onLoadEndListener(r);let l,c;return Array.isArray(a)?c=a:(l=a.create(t).injector,c=l.get(Ii,[],R.Self|R.Optional).flat()),{routes:c.map(Kf),injector:l}}),Ro(()=>{this.childrenLoaders.delete(r)})),s=new bw(o,()=>new hn).pipe(kf());return this.childrenLoaders.set(r,s),s}loadModuleFactoryOrRoutes(t){return Xn(t()).pipe(J(hb),He(r=>r instanceof xv||Array.isArray(r)?L(r):Re(this.compiler.compileModuleAsync(r))))}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function hb(e){return function eV(e){return e&&"object"==typeof e&&"default"in e}(e)?e.default:e}let Cl=(()=>{class e{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.lastSuccessfulNavigation=null,this.events=new hn,this.configLoader=I(th),this.environmentInjector=I(nn),this.urlSerializer=I(Go),this.rootContexts=I(Ko),this.inputBindingEnabled=null!==I(ml,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>L(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=i=>this.events.next(new ZF(i)),this.configLoader.onLoadStartListener=i=>this.events.next(new qF(i))}complete(){this.transitions?.complete()}handleNavigationRequest(t){const r=++this.navigationId;this.transitions?.next({...this.transitions.value,...t,id:r})}setupNavigations(t){return this.transitions=new At({id:0,currentUrlTree:t.currentUrlTree,currentRawUrl:t.currentUrlTree,extractedUrl:t.urlHandlingStrategy.extract(t.currentUrlTree),urlAfterRedirects:t.urlHandlingStrategy.extract(t.currentUrlTree),rawUrl:t.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:Yo,restoredState:null,currentSnapshot:t.routerState.snapshot,targetSnapshot:null,currentRouterState:t.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(On(r=>0!==r.id),J(r=>({...r,extractedUrl:t.urlHandlingStrategy.extract(r.rawUrl)})),cn(r=>{let i=!1,o=!1;return L(r).pipe(nt(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}}),cn(s=>{const a=t.browserUrlTree.toString(),l=!t.navigated||s.extractedUrl.toString()!==a||a!==t.currentUrlTree.toString();if(!l&&"reload"!==(s.extras.onSameUrlNavigation??t.onSameUrlNavigation)){const u="";return this.events.next(new Qo(s.id,t.serializeUrl(r.rawUrl),u,0)),t.rawUrlTree=s.rawUrl,s.resolve(null),Zt}if(t.urlHandlingStrategy.shouldProcessUrl(s.rawUrl))return pb(s.source)&&(t.browserUrlTree=s.extractedUrl),L(s).pipe(cn(u=>{const d=this.transitions?.getValue();return this.events.next(new $f(u.id,this.urlSerializer.serialize(u.extractedUrl),u.source,u.restoredState)),d!==this.transitions?.getValue()?Zt:Promise.resolve(u)}),function ZL(e,n,t,r,i,o){return He(s=>function zL(e,n,t,r,i,o,s="emptyOnly"){return new GL(e,n,t,r,i,s,o).recognize()}(e,n,t,r,s.extractedUrl,i,o).pipe(J(({state:a,tree:l})=>({...s,targetSnapshot:a,urlAfterRedirects:l}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,t.config,this.urlSerializer,t.paramsInheritanceStrategy),nt(u=>{if(r.targetSnapshot=u.targetSnapshot,r.urlAfterRedirects=u.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:u.urlAfterRedirects},"eager"===t.urlUpdateStrategy){if(!u.extras.skipLocationChange){const f=t.urlHandlingStrategy.merge(u.urlAfterRedirects,u.rawUrl);t.setBrowserUrl(f,u)}t.browserUrlTree=u.urlAfterRedirects}const d=new $F(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(d)}));if(l&&t.urlHandlingStrategy.shouldProcessUrl(t.rawUrlTree)){const{id:u,extractedUrl:d,source:f,restoredState:h,extras:p}=s,g=new $f(u,this.urlSerializer.serialize(d),f,h);this.events.next(g);const y=qw(0,this.rootComponentType).snapshot;return L(r={...s,targetSnapshot:y,urlAfterRedirects:d,extras:{...p,skipLocationChange:!1,replaceUrl:!1}})}{const u="";return this.events.next(new Qo(s.id,t.serializeUrl(r.extractedUrl),u,1)),t.rawUrlTree=s.rawUrl,s.resolve(null),Zt}}),nt(s=>{const a=new UF(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(a)}),J(s=>r={...s,guards:hL(s.targetSnapshot,s.currentSnapshot,this.rootContexts)}),function EL(e,n){return He(t=>{const{targetSnapshot:r,currentSnapshot:i,guards:{canActivateChecks:o,canDeactivateChecks:s}}=t;return 0===s.length&&0===o.length?L({...t,guardsResult:!0}):function ML(e,n,t,r){return Re(e).pipe(He(i=>function NL(e,n,t,r,i){const o=n&&n.routeConfig?n.routeConfig.canDeactivate:null;return o&&0!==o.length?L(o.map(a=>{const l=Jo(n)??i,c=Ei(a,l);return Xn(function CL(e){return e&&ns(e.canDeactivate)}(c)?c.canDeactivate(e,n,t,r):l.runInContext(()=>c(e,n,t,r))).pipe(Dr())})).pipe(Mi()):L(!0)}(i.component,i.route,t,n,r)),Dr(i=>!0!==i,!0))}(s,r,i,e).pipe(He(a=>a&&function yL(e){return"boolean"==typeof e}(a)?function SL(e,n,t,r){return Re(n).pipe(gi(i=>Pf(function AL(e,n){return null!==e&&n&&n(new YF(e)),L(!0)}(i.route.parent,r),function IL(e,n){return null!==e&&n&&n(new KF(e)),L(!0)}(i.route,r),function xL(e,n,t){const r=n[n.length-1],o=n.slice(0,n.length-1).reverse().map(s=>function pL(e){const n=e.routeConfig?e.routeConfig.canActivateChild:null;return n&&0!==n.length?{node:e,guards:n}:null}(s)).filter(s=>null!==s).map(s=>ww(()=>L(s.guards.map(l=>{const c=Jo(s.node)??t,u=Ei(l,c);return Xn(function DL(e){return e&&ns(e.canActivateChild)}(u)?u.canActivateChild(r,e):c.runInContext(()=>u(r,e))).pipe(Dr())})).pipe(Mi())));return L(o).pipe(Mi())}(e,i.path,t),function TL(e,n,t){const r=n.routeConfig?n.routeConfig.canActivate:null;if(!r||0===r.length)return L(!0);const i=r.map(o=>ww(()=>{const s=Jo(n)??t,a=Ei(o,s);return Xn(function _L(e){return e&&ns(e.canActivate)}(a)?a.canActivate(n,e):s.runInContext(()=>a(n,e))).pipe(Dr())}));return L(i).pipe(Mi())}(e,i.route,t))),Dr(i=>!0!==i,!0))}(r,o,e,n):L(a)),J(a=>({...t,guardsResult:a})))})}(this.environmentInjector,s=>this.events.next(s)),nt(s=>{if(r.guardsResult=s.guardsResult,br(s.guardsResult))throw Xw(0,s.guardsResult);const a=new zF(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot,!!s.guardsResult);this.events.next(a)}),On(s=>!!s.guardsResult||(t.restoreHistory(s),this.cancelNavigationTransition(s,"",3),!1)),eh(s=>{if(s.guards.canActivateChecks.length)return L(s).pipe(nt(a=>{const l=new GF(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(l)}),cn(a=>{let l=!1;return L(a).pipe(function YL(e,n){return He(t=>{const{targetSnapshot:r,guards:{canActivateChecks:i}}=t;if(!i.length)return L(t);let o=0;return Re(i).pipe(gi(s=>function QL(e,n,t,r){const i=e.routeConfig,o=e._resolve;return void 0!==i?.title&&!fb(i)&&(o[Uo]=i.title),function KL(e,n,t,r){const i=function XL(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e)]}(e);if(0===i.length)return L({});const o={};return Re(i).pipe(He(s=>function JL(e,n,t,r){const i=Jo(n)??r,o=Ei(e,i);return Xn(o.resolve?o.resolve(n,t):i.runInContext(()=>o(n,t)))}(e[s],n,t,r).pipe(Dr(),nt(a=>{o[s]=a}))),Ff(1),function hF(e){return J(()=>e)}(o),Cr(s=>ib(s)?Zt:$o(s)))}(o,e,n,r).pipe(J(s=>(e._resolvedData=s,e.data=Zw(e,t).resolve,i&&fb(i)&&(e.data[Uo]=i.title),null)))}(s.route,r,e,n)),nt(()=>o++),Ff(1),He(s=>o===i.length?L(t):Zt))})}(t.paramsInheritanceStrategy,this.environmentInjector),nt({next:()=>l=!0,complete:()=>{l||(t.restoreHistory(a),this.cancelNavigationTransition(a,"",2))}}))}),nt(a=>{const l=new WF(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(l)}))}),eh(s=>{const a=l=>{const c=[];l.routeConfig?.loadComponent&&!l.routeConfig._loadedComponent&&c.push(this.configLoader.loadComponent(l.routeConfig).pipe(nt(u=>{l.component=u}),J(()=>{})));for(const u of l.children)c.push(...a(u));return c};return Rf(a(s.targetSnapshot.root)).pipe(al(),_i(1))}),eh(()=>this.afterPreactivation()),J(s=>{const a=function rL(e,n,t){const r=Xo(e,n._root,t?t._root:void 0);return new Ww(r,n)}(t.routeReuseStrategy,s.targetSnapshot,s.currentRouterState);return r={...s,targetRouterState:a}}),nt(s=>{t.currentUrlTree=s.urlAfterRedirects,t.rawUrlTree=t.urlHandlingStrategy.merge(s.urlAfterRedirects,s.rawUrl),t.routerState=s.targetRouterState,"deferred"===t.urlUpdateStrategy&&(s.extras.skipLocationChange||t.setBrowserUrl(t.rawUrlTree,s),t.browserUrlTree=s.urlAfterRedirects)}),((e,n,t,r)=>J(i=>(new fL(n,i.targetRouterState,i.currentRouterState,t,r).activate(e),i)))(this.rootContexts,t.routeReuseStrategy,s=>this.events.next(s),this.inputBindingEnabled),_i(1),nt({next:s=>{i=!0,this.lastSuccessfulNavigation=this.currentNavigation,t.navigated=!0,this.events.next(new Er(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(t.currentUrlTree))),t.titleStrategy?.updateTitle(s.targetRouterState.snapshot),s.resolve(!0)},complete:()=>{i=!0}}),Ro(()=>{i||o||this.cancelNavigationTransition(r,"",1),this.currentNavigation?.id===r.id&&(this.currentNavigation=null)}),Cr(s=>{if(o=!0,tb(s)){eb(s)||(t.navigated=!0,t.restoreHistory(r,!0));const a=new pl(r.id,this.urlSerializer.serialize(r.extractedUrl),s.message,s.cancellationCode);if(this.events.next(a),eb(s)){const l=t.urlHandlingStrategy.merge(s.url,t.rawUrlTree),c={skipLocationChange:r.extras.skipLocationChange,replaceUrl:"eager"===t.urlUpdateStrategy||pb(r.source)};t.scheduleNavigation(l,Yo,null,c,{resolve:r.resolve,reject:r.reject,promise:r.promise})}else r.resolve(!1)}else{t.restoreHistory(r,!0);const a=new Uf(r.id,this.urlSerializer.serialize(r.extractedUrl),s,r.targetSnapshot??void 0);this.events.next(a);try{r.resolve(t.errorHandler(s))}catch(l){r.reject(l)}}return Zt}))}))}cancelNavigationTransition(t,r,i){const o=new pl(t.id,this.urlSerializer.serialize(t.extractedUrl),r,i);this.events.next(o),t.resolve(!1)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function pb(e){return e!==Yo}let gb=(()=>{class e{buildTitle(t){let r,i=t.root;for(;void 0!==i;)r=this.getResolvedTitleForRoute(i)??r,i=i.children.find(o=>o.outlet===G);return r}getResolvedTitleForRoute(t){return t.data[Uo]}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=O({token:e,factory:function(){return I(tV)},providedIn:"root"})}return e})(),tV=(()=>{class e extends gb{constructor(t){super(),this.title=t}updateTitle(t){const r=this.buildTitle(t);void 0!==r&&this.title.setTitle(r)}static#e=this.\u0275fac=function(r){return new(r||e)(N(YD))};static#t=this.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),nV=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=O({token:e,factory:function(){return I(iV)},providedIn:"root"})}return e})();class rV{shouldDetach(n){return!1}store(n,t){}shouldAttach(n){return!1}retrieve(n){return null}shouldReuseRoute(n,t){return n.routeConfig===t.routeConfig}}let iV=(()=>{class e extends rV{static#e=this.\u0275fac=function(){let t;return function(i){return(t||(t=ze(e)))(i||e)}}();static#t=this.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const wl=new A("",{providedIn:"root",factory:()=>({})});let oV=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=O({token:e,factory:function(){return I(sV)},providedIn:"root"})}return e})(),sV=(()=>{class e{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,r){return t}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Mt=(()=>((Mt=Mt||{})[Mt.COMPLETE=0]="COMPLETE",Mt[Mt.FAILED=1]="FAILED",Mt[Mt.REDIRECTING=2]="REDIRECTING",Mt))();function mb(e,n){e.events.pipe(On(t=>t instanceof Er||t instanceof pl||t instanceof Uf||t instanceof Qo),J(t=>t instanceof Er||t instanceof Qo?Mt.COMPLETE:t instanceof pl&&(0===t.code||1===t.code)?Mt.REDIRECTING:Mt.FAILED),On(t=>t!==Mt.REDIRECTING),_i(1)).subscribe(()=>{n()})}function aV(e){throw e}function lV(e,n,t){return n.parse("/")}const cV={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},uV={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Ft=(()=>{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=I(b_),this.isNgZoneEnabled=!1,this.options=I(wl,{optional:!0})||{},this.pendingTasks=I(Ma),this.errorHandler=this.options.errorHandler||aV,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||lV,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=I(oV),this.routeReuseStrategy=I(nV),this.titleStrategy=I(gb),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=I(Ii,{optional:!0})?.flat()??[],this.navigationTransitions=I(Cl),this.urlSerializer=I(Go),this.location=I(Td),this.componentInputBindingEnabled=!!I(ml,{optional:!0}),this.isNgZoneEnabled=I(_e)instanceof _e&&_e.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new Ci,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=qw(0,null),this.navigationTransitions.setupNavigations(this).subscribe(t=>{this.lastSuccessfulId=t.id,this.currentPageId=this.browserPageId??0},t=>{this.console.warn(`Unhandled Navigation Error: ${t}`)})}resetRootComponentType(t){this.routerState.root.component=t,this.navigationTransitions.rootComponentType=t}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){const t=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),Yo,t)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(t=>{const r="popstate"===t.type?"popstate":"hashchange";"popstate"===r&&setTimeout(()=>{this.navigateToSyncWithBrowser(t.url,r,t.state)},0)}))}navigateToSyncWithBrowser(t,r,i){const o={replaceUrl:!0},s=i?.navigationId?i:null;if(i){const l={...i};delete l.navigationId,delete l.\u0275routerPageId,0!==Object.keys(l).length&&(o.state=l)}const a=this.parseUrl(t);this.scheduleNavigation(a,r,s,o)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(t){this.config=t.map(Kf),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(t,r={}){const{relativeTo:i,queryParams:o,fragment:s,queryParamsHandling:a,preserveFragment:l}=r,c=l?this.currentUrlTree.fragment:s;let d,u=null;switch(a){case"merge":u={...this.currentUrlTree.queryParams,...o};break;case"preserve":u=this.currentUrlTree.queryParams;break;default:u=o||null}null!==u&&(u=this.removeEmptyProps(u));try{d=Lw(i?i.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof t[0]||!t[0].startsWith("/"))&&(t=[]),d=this.currentUrlTree.root}return Vw(d,t,u,c??null)}navigateByUrl(t,r={skipLocationChange:!1}){const i=br(t)?t:this.parseUrl(t),o=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(o,Yo,null,r)}navigate(t,r={skipLocationChange:!1}){return function dV(e){for(let n=0;n{const o=t[i];return null!=o&&(r[i]=o),r},{})}scheduleNavigation(t,r,i,o,s){if(this.disposed)return Promise.resolve(!1);let a,l,c;s?(a=s.resolve,l=s.reject,c=s.promise):c=new Promise((d,f)=>{a=d,l=f});const u=this.pendingTasks.add();return mb(this,()=>{Promise.resolve().then(()=>this.pendingTasks.remove(u))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:t,extras:o,resolve:a,reject:l,promise:c,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),c.catch(d=>Promise.reject(d))}setBrowserUrl(t,r){const i=this.urlSerializer.serialize(t);if(this.location.isCurrentPathEqualTo(i)||r.extras.replaceUrl){const s={...r.extras.state,...this.generateNgRouterState(r.id,this.browserPageId)};this.location.replaceState(i,"",s)}else{const o={...r.extras.state,...this.generateNgRouterState(r.id,(this.browserPageId??0)+1)};this.location.go(i,"",o)}}restoreHistory(t,r=!1){if("computed"===this.canceledNavigationResolution){const o=this.currentPageId-(this.browserPageId??this.currentPageId);0!==o?this.location.historyGo(o):this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===o&&(this.resetState(t),this.browserUrlTree=t.currentUrlTree,this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(r&&this.resetState(t),this.resetUrlToCurrentUrlTree())}resetState(t){this.routerState=t.currentRouterState,this.currentUrlTree=t.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(t,r){return"computed"===this.canceledNavigationResolution?{navigationId:t,\u0275routerPageId:r}:{navigationId:t}}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();class yb{}let pV=(()=>{class e{constructor(t,r,i,o,s){this.router=t,this.injector=i,this.preloadingStrategy=o,this.loader=s}setUpPreloading(){this.subscription=this.router.events.pipe(On(t=>t instanceof Er),gi(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(t,r){const i=[];for(const o of r){o.providers&&!o._injector&&(o._injector=zu(o.providers,t,`Route: ${o.path}`));const s=o._injector??t,a=o._loadedInjector??s;(o.loadChildren&&!o._loadedRoutes&&void 0===o.canLoad||o.loadComponent&&!o._loadedComponent)&&i.push(this.preloadConfig(s,o)),(o.children||o._loadedRoutes)&&i.push(this.processRoutes(a,o.children??o._loadedRoutes))}return Re(i).pipe(Mr())}preloadConfig(t,r){return this.preloadingStrategy.preload(r,()=>{let i;i=r.loadChildren&&void 0===r.canLoad?this.loader.loadChildren(t,r):L(null);const o=i.pipe(He(s=>null===s?L(void 0):(r._loadedRoutes=s.routes,r._loadedInjector=s.injector,this.processRoutes(s.injector??t,s.routes))));return r.loadComponent&&!r._loadedComponent?Re([o,this.loader.loadComponent(r)]).pipe(Mr()):o})}static#e=this.\u0275fac=function(r){return new(r||e)(N(Ft),N(E_),N(nn),N(yb),N(th))};static#t=this.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const rh=new A("");let vb=(()=>{class e{constructor(t,r,i,o,s={}){this.urlSerializer=t,this.transitions=r,this.viewportScroller=i,this.zone=o,this.options=s,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},s.scrollPositionRestoration=s.scrollPositionRestoration||"disabled",s.anchorScrolling=s.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(t=>{t instanceof $f?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof Er?(this.lastId=t.id,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.urlAfterRedirects).fragment)):t instanceof Qo&&0===t.code&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(t=>{t instanceof zw&&(t.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(t.position):t.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(t.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(t,r){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new zw(t,"popstate"===this.lastSource?this.store[this.restoredId]:null,r))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static#e=this.\u0275fac=function(r){!function Mm(){throw new Error("invalid")}()};static#t=this.\u0275prov=O({token:e,factory:e.\u0275fac})}return e})();function Pn(e,n){return{\u0275kind:e,\u0275providers:n}}function Db(){const e=I(rn);return n=>{const t=e.get(hi);if(n!==t.components[0])return;const r=e.get(Ft),i=e.get(Cb);1===e.get(ih)&&r.initialNavigation(),e.get(wb,null,R.Optional)?.setUpPreloading(),e.get(rh,null,R.Optional)?.init(),r.resetRootComponentType(t.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}const Cb=new A("",{factory:()=>new hn}),ih=new A("",{providedIn:"root",factory:()=>1}),wb=new A("");function vV(e){return Pn(0,[{provide:wb,useExisting:pV},{provide:yb,useExisting:e}])}const bb=new A("ROUTER_FORROOT_GUARD"),DV=[Td,{provide:Go,useClass:Lf},Ft,Ko,{provide:bi,useFactory:function _b(e){return e.routerState.root},deps:[Ft]},th,[]];function CV(){return new k_("Router",Ft)}let Eb=(()=>{class e{constructor(t){}static forRoot(t,r){return{ngModule:e,providers:[DV,[],{provide:Ii,multi:!0,useValue:t},{provide:bb,useFactory:MV,deps:[[Ft,new Fs,new Ls]]},{provide:wl,useValue:r||{}},r?.useHash?{provide:mr,useClass:YO}:{provide:mr,useClass:cD},{provide:rh,useFactory:()=>{const e=I(dR),n=I(_e),t=I(wl),r=I(Cl),i=I(Go);return t.scrollOffset&&e.setOffset(t.scrollOffset),new vb(i,r,e,n,t)}},r?.preloadingStrategy?vV(r.preloadingStrategy).\u0275providers:[],{provide:k_,multi:!0,useFactory:CV},r?.initialNavigation?SV(r):[],r?.bindToComponentInputs?Pn(8,[Kw,{provide:ml,useExisting:Kw}]).\u0275providers:[],[{provide:Mb,useFactory:Db},{provide:vd,multi:!0,useExisting:Mb}]]}}static forChild(t){return{ngModule:e,providers:[{provide:Ii,multi:!0,useValue:t}]}}static#e=this.\u0275fac=function(r){return new(r||e)(N(bb,8))};static#t=this.\u0275mod=mt({type:e});static#n=this.\u0275inj=rt({})}return e})();function MV(e){return"guarded"}function SV(e){return["disabled"===e.initialNavigation?Pn(3,[{provide:cd,multi:!0,useFactory:()=>{const n=I(Ft);return()=>{n.setUpLocationChangeListener()}}},{provide:ih,useValue:2}]).\u0275providers:[],"enabledBlocking"===e.initialNavigation?Pn(2,[{provide:ih,useValue:0},{provide:cd,multi:!0,deps:[rn],useFactory:n=>{const t=n.get(qO,Promise.resolve());return()=>t.then(()=>new Promise(r=>{const i=n.get(Ft),o=n.get(Cb);mb(i,()=>{r(!0)}),n.get(Cl).afterPreactivation=()=>(r(!0),o.closed?L(void 0):o),i.initialNavigation()}))}}]).\u0275providers:[]]}const Mb=new A(""),AV=[{name:"AC Community (JP)",description:"\u3042\u3064\u307e\u308c \u3069\u3046\u3076\u3064\u306e\u68ee \u30b3\u30df\u30e5\u30cb\u30c6\u30a3",languages:["jp"],logo:"",logoStyle:"",site:"",android:"",ios:"https://apps.apple.com/jp/app/id1507394206",discord:"",facebook:"",instagram:"",twitter:"",git:"",information:["critters","fossils","items"],tools:["turnips"]},{name:"AC Community (KO)",description:"\ubaa8\uc5ec\ubd10\uc694 \ub3d9\ubb3c\uc758 \uc232 \ucee4\ubba4\ub2c8\ud2f0",languages:["ko"],logo:"",logoStyle:"",site:"",android:"",ios:"https://apps.apple.com/kr/app/id1507394206",discord:"",facebook:"",instagram:"",twitter:"",git:"",information:["critters","fossils"],tools:["turnips"]},{name:"AC Helper",description:"Companion app for catching critters, logging critters and items, and turnip predictions",languages:["en","es","de","fr","it","jp","ru","zh"],logo:"ac-helper.png",logoStyle:"icon",site:"",android:"",ios:"https://apps.apple.com/us/app/id1508764244",discord:"",facebook:"",instagram:"",twitter:"",git:"https://github.com/Dimillian/ACHNBrowserUI",information:["critters","fossils"],tools:["music","turnips"]},{name:"AC Miles",description:"Achievement visualizer for Animal Crossing: New Horizons",languages:["en"],logo:"",logoStyle:"",site:"https://acmiles.com/",android:"",ios:"",discord:"",facebook:"",instagram:"",twitter:"",git:"https://github.com/MariuszDabrowski/ac-miles",information:["gameplay"],tools:[]},{name:"AC Wildlife",description:"Tracking tool for Critters, Art, Achievements and more! Add your friends to share progress!",languages:["en"],logo:"",logoStyle:"",site:"https://acwildlife.com/",android:"",ios:"",discord:"",facebook:"",instagram:"",twitter:"",git:"https://github.com/zeepk/wildlife",information:["art","critters","fossils","items","gameplay","villagers"],tools:["checklist"]},{name:"ACNH API",description:"A free RESTful API for critters, fossils, art, music, furniture and villagers from Animal Crossing: New Horizons",languages:["en"],logo:"",logoStyle:"",site:"https://acnhapi.com/",android:"",ios:"",discord:"",facebook:"",instagram:"",twitter:"",git:"https://github.com/alexislours/ACNHAPI",information:["art","critters","fossils","items","villagers"],tools:["api"]},{name:"ACNH Beginner's Guide",description:"Fan-made beginner's guide for AC:NH",languages:["en"],logo:"bg_logo.png",logoStyle:"banner",site:"https://chibisnorlax.github.io/acnhbeginners/",android:"",ios:"",discord:"",facebook:"",instagram:"",twitter:"",git:"https://github.com/chibisnorlax/acnhbeginners",information:["art","critters","flowers","fossils","gameplay","villagers"],tools:[]},{name:"ACNH Database",description:"List of critters, items, villagers, recipes, and more",languages:["en"],logo:"acnh-database.png",logoStyle:"banner",site:"https://www.acnhdatabase.me/",android:"",ios:"",discord:"",facebook:"",instagram:"",twitter:"",git:"https://github.com/shengye000/ACNHDatabase",information:["art","critters","fossils","items","villagers"],tools:["music"]},{name:"ACNH Data Spreadsheet",description:"A comprehensive Google spreadsheet documenting items, villagers, achievements, and much more",languages:["en"],logo:"",logoStyle:"",site:"https://tinyurl.com/acnh-sheet",android:"",ios:"",discord:"",facebook:"",instagram:"",twitter:"",git:"",information:["art","critters","fossils","items","villagers"],tools:[]},{name:"ACNH FAQ",description:"Fan-made FAQ for AC:NH",languages:["en"],logo:"faq_logo.png",logoStyle:"banner",site:"https://chibisnorlax.github.io/acnhfaq/",android:"",ios:"",discord:"",facebook:"",instagram:"",twitter:"",git:"https://github.com/chibisnorlax/acnhfaq",information:["art","critters","flowers","fossils","gameplay","villagers"],tools:[]},{name:"ACNH Flowers",description:"A simple ACNH guide explaining how to plant flowers to maximize crossbreeding for hybrid flowers and unique colors",languages:["en"],logo:"acnh-flowers.png",logoStyle:"banner",site:"https://newhorizons.florist/",android:"",ios:"",discord:"",facebook:"",instagram:"",twitter:"",git:"",information:["flowers"],tools:[]},{name:"ACNH.Guide",description:"A free multi-purpose guide and cataloging app with Catalog Scanner integration for New Horizons.",languages:["en","es","de","fr","it","nl","ja","zh","ko","ru"],logo:"acnh-guide.gif",logoStyle:"banner",site:"https://acnh.guide/",android:"https://acnh.guide/android",ios:"https://acnh.guide/ios",discord:"3232gNC",facebook:"",instagram:"",twitter:"GeneSy",git:"",information:["art","critters","fossils","gameplay","items","villagers"],tools:["checklist","dreams","turnips"]},{name:"ACNH Life",description:"Mobile app with critter info, item checklists, turnip calculator, and more",languages:["en"],logo:"acnh-life.png",logoStyle:"banner",logoBorder:!0,site:"",android:"https://play.google.com/store/apps/details?id=com.hangodjin.animal_crossing_guide",ios:"https://apps.apple.com/us/app/acnh-life/id1504842752",discord:"",facebook:"",instagram:"",twitter:"",git:"",information:["art","critters","items","villagers"],tools:["checklist","turnips"]},{name:"ACNH Music",description:"Web app that plays the current hourly music from Animal Crossing: New Horizons",languages:["en"],logo:"",logoStyle:"",site:"https://acnhapi.com/acnh-music",android:"",ios:"",discord:"",facebook:"",instagram:"",twitter:"",git:"",information:[],tools:["music"]},{name:"ACNH Plant Guide",description:"A guide to every plant in the game (except for flowers)",languages:["en"],logo:"plant_logo.png",logoStyle:"banner",site:"https://bigfootmg.github.io/ACNH-Plant-Guide/",android:"",ios:"",discord:"",facebook:"",instagram:"bigfootvgm",twitter:"b19f00t",git:"https://github.com/BigfootMG/ACNH-Plant-Guide",information:["gameplay"],tools:[]},{name:"ACNH Translation Spreadsheet",description:"A Google spreadsheet listing translation for most of the game's data",languages:["en","es","fr","de","it","nl","ru","zh","jp","ko"],logo:"",logoStyle:"",site:"https://bit.ly/acnh-translations",android:"",ios:"",discord:"",facebook:"",instagram:"",twitter:"",git:"https://github.com/alexislours/translation-sheet-data",information:["art","critters","fossils","items","villagers"],tools:[]},{name:"ACNH Travel Guide",description:"Companion app for iOS with all information and tools you need, and a great design",languages:["en","es","de","fr","it","nl","ja","zh","ko","ru"],logo:"acnh-travel-guide.png",logoStyle:"icon",site:"",android:"",ios:"https://apps.apple.com/us/app/acnh-travel-guide/id1502818559",discord:"",facebook:"",instagram:"",twitter:"",git:"",information:["art","critters","fossils","items","villagers","flowers","gifts"],tools:["checklist","turnips","dreams"]},{name:"Almanook",description:"Companion site with info on collectibles, villagers, and more",languages:["en"],logo:"almanook.png",logoStyle:"banner",site:"https://www.almanook.me/home/",android:"",ios:"",discord:"",facebook:"",instagram:"",twitter:"",git:"",information:["art","critters","fossils","items","villagers"],tools:[]},{name:"Animal Crossing Pattern Tool",description:"Pattern designer compatible with NL, HHD, and NH",languages:["en"],logo:"ac-pattern-tool.png",logoStyle:"icon",site:"https://acpatterns.com/",android:"",ios:"",discord:"9rGkZNk",facebook:"",instagram:"",twitter:"",git:"",information:[],tools:["design sharing"]},{name:"Animal Crossing Wiki",description:"Animal-Crossing-Wiki von AC-Booster.net",languages:["de"],logo:"animal-crossing-wiki-de.png",logoStyle:"",site:"https://animalcrossingwiki.de/",android:"",ios:"",discord:"rkUDD4F",facebook:"",instagram:"",twitter:"",git:"",information:["art","critters","fossils","gameplay","gifts","items","villagers"],tools:["wiki"]},{name:"Animal Crossing World",description:"Blogs and guides about the Animal Crossing series",languages:["en"],logo:"animal-crossing-world.png",logoStyle:"",site:"https://animalcrossingworld.com/",android:"",ios:"",discord:"",facebook:"AnimalCrossWorld",instagram:"animalcrossing_world",twitter:"ACWorldBlog",git:"",information:["gameplay"],tools:[]},{name:"Animal Guide for ACNH",description:"Fan-made guidebook for ACNH with comprehensive info on collectibles, villagers, and more",languages:["en"],logo:"animal-guide-for-acnh.png",logoStyle:"icon",site:"",android:"https://animalguide.app/",ios:"https://animalguide.app/",discord:"",facebook:"",instagram:"",twitter:"",git:"",information:["art","critters","flowers","fossils","gameplay","gifts","items","villagers"],tools:["checklist","music","marketplace","turnips"]},{name:"cestislife's Visual Guides",description:"A compilation of visual guides made by cestislife",languages:["en"],logo:"cestislife.png",logoStyle:"icon",site:"https://cestislife.github.io/",android:"",ios:"",discord:"",facebook:"",instagram:"",twitter:"",git:"",information:["critters","flowers","gameplay"],tools:[]},{name:"Completionista",description:"Learn about and track museum collectibles, flowers, albums, recipes, and more",languages:["en"],logo:"completionista.png",logoStyle:"icon",site:"https://completionista.com/",android:"",ios:"",discord:"",facebook:"",instagram:"",twitter:"",git:"",information:["art","critters","fossils","items","villagers"],tools:["checklist"]},{name:"CatalogScanner",description:"A simple bot for quickly extracting catalogs, recipes, critters and more from recorded videos",languages:["en","es","de","fr","it","ja","ko","nl","ru","zh"],logo:"catalog-scanner.png",logoStyle:"icon",site:"https://nook.lol/",android:"",ios:"",discord:"",facebook:"",instagram:"",twitter:"catalogscanner",git:"https://github.com/EhsanKia/CatalogScanner",information:["critters","items"],tools:["api"]},{name:"Custom Crossing",description:"Pattern and design sharing",languages:["en"],logo:"custom-crossing.png",logoStyle:"banner",site:"https://customcrossing.com/",android:"",ios:"",discord:"aYQ3yXw",facebook:"",instagram:"",twitter:"",git:"",information:[],tools:["design sharing"]},{name:"DodoCodes.com",description:"All in one ACNH Community with Dodo codes, designs, auctions, giveaways, articles, dreams, user ratings, wishlists, catalogs, and more",languages:["en","de","fr","zh"],logo:"dodocodescom.png",logoStyle:"banner",logoBorder:!0,site:"https://dodocodes.com",android:"https://play.google.com/store/apps/details?id=com.dodocodes.mobile",ios:"https://apps.apple.com/us/app/dodocodes/id1512463462",discord:"dodocodes",facebook:"dodocodes",instagram:"dodocodes.app",twitter:"dodo_codes",git:"",information:[],tools:["design sharing","dreams","marketplace","queueing"]},{name:"FANDOM Animal Crossing Wiki",description:"FANDOM Animal Crossing wiki that anyone can contribute to",languages:["en"],logo:"acw.png",logoStyle:"banner",site:"https://animalcrossing.fandom.com/wiki/Animal_Crossing_Wiki",android:"",ios:"",discord:"Uu7dx4P9",facebook:"",instagram:"",twitter:"",git:"",information:["art","critters","fossils","gameplay","items","villagers"],tools:["wiki"]},{name:"Flower Breeding Simulator",description:"A fancy tool to simulate flower breeding and pattern performance",languages:["en","es","de","fr","it","jp","ko","nl","ru","zh"],logo:"garden-science.png",logoStyle:"icon",site:"https://gardenscience.ac/",android:"",ios:"",discord:"",facebook:"",instagram:"",twitter:"",git:"",information:["flowers"],tools:["simulator"]},{name:"Happy Island Designer",description:"Draw terrain and paths, place buildings, and trace your in-game map",languages:["en"],logo:"",logoStyle:"",site:"https://eugeneration.github.io/HappyIslandDesigner/",android:"",ios:"",discord:"",facebook:"",instagram:"",twitter:"",git:"",information:[],tools:["simulator"]},{name:"Horizonpedia",description:"Aiming to be the most userfriendly App for iOS and Android with Item catalog, fake art comparison, and more!",languages:["en","es","de","fr","it","jp","ko","nl","ru","zh","se"],logo:"",logoStyle:"",site:"",android:"https://play.google.com/store/apps/details?id=com.wegner.horizonpedia",ios:"https://testflight.apple.com/join/cYhwMhdD",discord:"pQMRkMg",facebook:"",instagram:"horizonpedia",twitter:"HorizonpediaE",git:"",information:["art","critters","fossils","items","villagers"],tools:["checklist","fake art","turnips"]},{name:"icebr's AC:NH Helper",description:"Fish and bugs that are available for catching in AC:NH depend on location, time and current month",languages:["en","es","de","fr","it","jp","ko","nl","ru","zh"],logo:"icebr.png",logoStyle:"icon",site:"https://icebr.art/",android:"",ios:"",discord:"",facebook:"",instagram:"",twitter:"",git:"",information:["critters"],tools:["checklist"]},{name:"MeteoNook",description:"Predict your island's weather patterns, including exact times for meteor showers, rainbows and the aurora borealis",languages:["en"],logo:"",logoStyle:"",site:"https://wuffs.org/acnh/weather/",android:"",ios:"",discord:"",facebook:"",instagram:"",twitter:"",git:"https://github.com/Treeki/MeteoNook/",information:[],tools:["weather"]},{name:"My Dodo Link",description:"Islands queue manager, go in line and receive the dodo code when it's your turn.",languages:["en","it"],logo:"my-dodo-link.png",logoStyle:"",site:"https://mydodo.link",android:"",ios:"",discord:"",facebook:"",instagram:"",twitter:"",git:"",information:[],tools:["queueing"]},{name:"NMT Calculator",description:"Calculates odds of finding villagers on Mystery Islands",languages:["en"],logo:"",logoStyle:"",site:"https://acnhapi.com/nmt-calculator",android:"",ios:"",discord:"",facebook:"",instagram:"",twitter:"",git:"https://github.com/alexislours/nmt-calculator",information:["villagers"],tools:["simulator"]},{name:"Nookazon",description:"Buy and sell Animal Crossing: New Horizons items",languages:["en","es","de","fr","it","jp","ko","nl","ru","zh"],logo:"nookazon.svg",logoStyle:"banner",site:"https://nookazon.com/",android:"",ios:"",discord:"nookazon",facebook:"nookazon",instagram:"nookazon",twitter:"nookazon",git:"",information:["items"],tools:["marketplace"]},{name:"Nook DB.io",description:"Comprehensive item database with filtering, checklists, stalk market calculator, a music player, and more",languages:["en","es","de","fr","it","jp","ko","ru","zh"],logo:"nook-db-io.png",logoStyle:"icon",site:"https://nookdb.io/",android:"https://play.google.com/store/apps/details?id=io.nookdb.android",ios:"",discord:"",facebook:"",instagram:"",twitter:"",git:"",information:["flowers","items"],tools:["checklist","music","turnips"]},{name:"Nook Exchange",description:"Item tracker and marketplace",languages:["en","es","de","fr","it","jp","ko","nl","ru","zh"],logo:"nook-exchange.png",logoStyle:"banner",site:"https://nook.exchange/",android:"",ios:"",discord:"9sh66CX",facebook:"",instagram:"",twitter:"nookexchange",git:"",information:["items"],tools:["checklist","marketplace"]},{name:"NookFriends",description:"The friendliest Animal Crossing: New Horizons community!",languages:["en"],logo:"nookfriends.png",logoStyle:"banner",site:"https://www.nookfriends.com/",android:"",ios:"",facebook:"nookfriend",instagram:"nookfriendsanimalcrossing",twitter:"nookfriendsACNH",git:"",information:["art","gameplay"],tools:["dreams","fake art","queueing"]},{name:"Nookipedia",description:"The independent Animal Crossing wiki, covering the series along with an API service",languages:["en"],logo:"nookipedia.png",logoStyle:"banner",site:"https://nookipedia.com/wiki/Main_Page",android:"",ios:"",discord:"5Sfg3CT",facebook:"nookipedia",instagram:"nookipedia",twitter:"nookipedia",git:"",information:["art","critters","fossils","gameplay","gifts","items","villagers"],tools:["api","wiki"]},{name:"Nooknet",description:"Comprehensive services, including checklists, design sharing, dream codes, tune creation, turnip calculator, and more",languages:["en"],logo:"nooknet.png",logoStyle:"banner",site:"https://nooknet.net/",android:"",ios:"",discord:"RwNrqmH",facebook:"NookNetNet",instagram:"nooknetnet",twitter:"nooknetnet",git:"",information:["art","flowers","gameplay","villagers"],tools:["checklist","design sharing","dreams","town tunes","turnips","queueing"]},{name:"Nook Plaza",description:"Item catalog, wishlists, villager gifts, island rating calc, weather forecasting, fake art detector, and more!",languages:["en","es","de","fr","it","jp","ru","zh"],logo:"nook-plaza.png",logoStyle:"banner",site:"https://nookplaza.net/",android:"",ios:"",discord:"SppmqEk",facebook:"",instagram:"nookplaza",twitter:"nook_plaza",git:"",information:["art","critters","fossils","gifts","items","villagers"],tools:["checklist","fake art","island rating","simulator","weather"]},{name:"Nooks Guide",description:"List of critters, items, villagers, recipes, and more",languages:["en"],logo:"nooks-guide.jpg",logoStyle:"icon",site:"https://nooksguide.com/",android:"",ios:"",discord:"",facebook:"",instagram:"",twitter:"nooksguide",git:"",information:["art","critters","fossils","villagers"],tools:["checklist","design sharing","dreams","turnips","queueing"]},{name:"Stalks.io",description:"Get stalk price predictions, forecasts and advice for you and your friends' islands",languages:["en"],logo:"stalks-io.png",logoStyle:"banner",site:"https://stalks.io/",android:"",ios:"",discord:"",facebook:"",instagram:"",twitter:"stalksio",git:"",information:[],tools:["turnips"]},{name:"Tanuki Forest",description:"Database of items, critters, clothing, and villagers",languages:["en"],logo:"tanuki-forest.gif",logoStyle:"banner",site:"https://www.tanukiforest.com",android:"",ios:"",discord:"",facebook:"",instagram:"",twitter:"",git:"",information:["art","critters","fossils","items","villages"],tools:[]},{name:"The ULTIMATE Catalogue",description:"A full ACNH catalogue and checklist containing all items in the game and more",languages:["en","es","fr","de","it","nl","ru","zh","jp","ko"],logo:"catalogue-ac.png",logoStyle:"icon",site:"https://catalogue.ac",android:"",ios:"",discord:"",facebook:"",instagram:"",twitter:"",git:"",information:["art","critters","fossils","gifts","items","villagers"],tools:["checklist","fake art"]},{name:"Turnip.Exchange",description:"Queue for turnip selling and more",languages:["en"],logo:"turnip-exchange.png",logoStyle:"banner",site:"https://turnip.exchange/",android:"",ios:"",discord:"warpworld",facebook:"",instagram:"",twitter:"WarpWorld",git:"",information:[],tools:["queueing"]},{name:"Turnip Prophet",description:"Turnip price prediction tool available in multiple languages",languages:["en","es","fr","de","it","nl","ru","zh","jp","ko"],logo:"",logoStyle:"",site:"https://turnipprophet.io/",android:"",ios:"",discord:"",facebook:"",instagram:"",twitter:"",git:"https://github.com/mikebryant/ac-nh-turnip-prices",information:[],tools:["turnips"]},{name:"VillagerDB",description:"Database of items and villagers, with a wishlist maker",languages:["en"],logo:"villagerdb.jpg",logoStyle:"icon",site:"https://villagerdb.com/",android:"",ios:"",discord:"n4527pm",facebook:"",instagram:"",twitter:"villagerdb",git:"https://github.com/jefflomacy/villagerdb",information:["art","critters","fossils","items","villagers"],tools:["checklist"]},{name:"VillagersClub",description:"Villagers, Clothing, Furniture, Critters, and Recipe info",languages:["en"],logo:"villagersclub.jpg",logoStyle:"banner",site:"https://villagers.club/",android:"",ios:"",discord:"7hdZGahHhr",facebook:"VillagersClub",instagram:"villagersclub",twitter:"VillagersClub",git:"",information:["art","critters","fossils","items","villagers"],tools:["checklist","marketplace"]},{name:"Yue's ACNH Guides",description:"Visual guides made by Yue, available in multiple languages",languages:["en","de","jp","zh"],logo:"yue's-acnh-guides.png",logoStyle:"",site:"https://yuexr.github.io/acnh/",android:"",ios:"",discord:"",facebook:"",instagram:"yuecrossing",twitter:"yuecrossing",git:"",information:["flowers","gameplay"],tools:[]}],TV=[{code:"en",text:"English"},{code:"es",text:"Espa\xf1ol"},{code:"fr",text:"Fran\xe7ais"},{code:"de",text:"Deutsch"},{code:"it",text:"Italiano"},{code:"nl",text:"Nederlands"},{code:"ru",text:"\u0420\u0443\u0441\u0441\u043a\u0438\u0439"},{code:"zh",text:"\u7b80\u4f53\u4e2d\u6587"},{code:"jp",text:"\u65e5\u672c\u8a9e"},{code:"ko",text:"\ud55c\uad6d\uc5b4"}];function xV(e,n){if(1&e){const t=Un();w(0,"div")(1,"label",21)(2,"input",22),oe("change",function(){return _n(t),Dn(ne().applyFilters())}),b(),w(3,"span"),x(4),b()()()}if(2&e){const t=n.$implicit;T(1),wt("for",t.code),T(1),wt("id",t.code),wt("value",t.code),T(2),bt(t.text)}}function NV(e,n){1&e&&(w(0,"span"),x(1,"Sort A \u2192 Z"),b())}function OV(e,n){1&e&&(w(0,"span"),x(1,"Sort Z \u2192 A"),b())}function RV(e,n){if(1&e&&(w(0,"a",44),te(1,"img",45),b()),2&e){const t=ne(2).$implicit;wt("href",t.site,dt),T(1),hr("logo-border",t.logoBorder),In("src","assets/images/logos/",t.logo,"",dt),wt("alt",t.name)}}function PV(e,n){if(1&e&&te(0,"img",45),2&e){const t=ne(2).$implicit;hr("logo-border",t.logoBorder),In("src","assets/images/logos/",t.logo,"",dt),wt("alt",t.name)}}function kV(e,n){if(1&e&&(w(0,"div",41),le(1,RV,2,5,"a",42),le(2,PV,1,4,"ng-template",null,43,rd),b()),2&e){const t=Iu(3),r=ne().$implicit;T(1),Z("ngIf",r.site)("ngIfElse",t)}}function FV(e,n){if(1&e&&(w(0,"a",44)(1,"span",46),x(2),b()()),2&e){const t=ne(2).$implicit;wt("href",t.site,dt),T(2),bt(t.name)}}function LV(e,n){if(1&e&&(w(0,"span",46),x(1),b()),2&e){const t=ne(2).$implicit;T(1),bt(t.name)}}function VV(e,n){if(1&e&&(w(0,"div",41),le(1,FV,3,2,"a",42),le(2,LV,2,1,"ng-template",null,43,rd),b()),2&e){const t=Iu(3),r=ne().$implicit;T(1),Z("ngIf",r.site)("ngIfElse",t)}}function jV(e,n){if(1&e){const t=Un();w(0,"span",47),oe("click",function(){const o=_n(t).$implicit;return Dn(ne(2).singleInformationFilter(o))}),x(1),b()}if(2&e){const t=n.$implicit;T(1),bt(t)}}function HV(e,n){if(1&e){const t=Un();w(0,"span",48),oe("click",function(){const o=_n(t).$implicit;return Dn(ne(2).singleFeatureFilter(o))}),x(1),b()}if(2&e){const t=n.$implicit;T(1),bt(t)}}function BV(e,n){if(1&e&&(w(0,"div",49)(1,"a",44)(2,"div"),te(3,"img",50),b()()()),2&e){const t=ne().$implicit;T(1),wt("href",t.site,dt)}}function $V(e,n){if(1&e&&(w(0,"div",51)(1,"a",44)(2,"div"),te(3,"img",52),b()()()),2&e){const t=ne().$implicit;T(1),wt("href",t.android,dt)}}function UV(e,n){if(1&e&&(w(0,"div",53)(1,"a",44)(2,"div"),te(3,"img",54),b()()()),2&e){const t=ne().$implicit;T(1),wt("href",t.ios,dt)}}function zV(e,n){if(1&e&&(w(0,"div",55)(1,"a",44)(2,"div"),te(3,"img",56),b()()()),2&e){const t=ne().$implicit;T(1),In("href","https://www.facebook.com/",t.facebook,"/",dt)}}function GV(e,n){if(1&e&&(w(0,"div",57)(1,"a",44)(2,"div"),te(3,"img",58),b()()()),2&e){const t=ne().$implicit;T(1),In("href","https://twitter.com/",t.twitter,"",dt)}}function WV(e,n){if(1&e&&(w(0,"div",59)(1,"a",44)(2,"div"),te(3,"img",60),b()()()),2&e){const t=ne().$implicit;T(1),In("href","https://www.instagram.com/",t.instagram,"/",dt)}}function qV(e,n){if(1&e&&(w(0,"div",61)(1,"a",44)(2,"div"),te(3,"img",62),b()()()),2&e){const t=ne().$implicit;T(1),In("href","https://discord.gg/",t.discord,"",dt)}}function ZV(e,n){if(1&e&&(w(0,"div",63)(1,"a",44)(2,"div"),te(3,"img",64),b()()()),2&e){const t=ne().$implicit;T(1),wt("href",t.git,dt)}}function YV(e,n){if(1&e&&(w(0,"div",23)(1,"div",1)(2,"div",24),le(3,kV,4,2,"div",25),le(4,VV,4,2,"div",25),b(),w(5,"div",26)(6,"div",27)(7,"span",28),x(8),b()()(),w(9,"div",29),le(10,jV,2,1,"span",30),le(11,HV,2,1,"span",31),b(),w(12,"div",32),le(13,BV,4,1,"div",33),le(14,$V,4,1,"div",34),le(15,UV,4,1,"div",35),le(16,zV,4,1,"div",36),le(17,GV,4,1,"div",37),le(18,WV,4,1,"div",38),le(19,qV,4,1,"div",39),le(20,ZV,4,1,"div",40),b()()()),2&e){const t=n.$implicit;T(3),Z("ngIf",t.logo),T(1),Z("ngIf","icon"===t.logoStyle||!t.logo),T(4),bt(t.description),T(2),Z("ngForOf",t.information),T(1),Z("ngForOf",t.tools),T(2),Z("ngIf",t.site),T(1),Z("ngIf",t.android),T(1),Z("ngIf",t.ios),T(1),Z("ngIf",t.facebook),T(1),Z("ngIf",t.twitter),T(1),Z("ngIf",t.instagram),T(1),Z("ngIf",t.discord),T(1),Z("ngIf",t.git)}}const QV=[{path:"",component:(()=>{class e{constructor(){this.langForm=new Ja({lang:new wf}),this.languageList=TV,this.dropdownListPlatforms=[],this.dropdownListInformation=[],this.dropdownListTools=[],this.selectedItemsPlatforms=[],this.selectedItemsInformation=[],this.selectedItemsTools=[],this.shuffledData=this.shuffle(AV),this.projects=this.shuffledData,this.filterData=this.shuffledData,this.ifFilterMeetsAll=!1,this.sorted=!1}ngOnInit(){this.langForm.patchValue({lang:"en"}),this.applyFilters(),this.dropdownListPlatforms=[{item_id:"website",item_text:"Website"},{item_id:"android",item_text:"Android"},{item_id:"ios",item_text:"iOS"}],this.dropdownListInformation=[{item_id:"art",item_text:"Art"},{item_id:"critters",item_text:"Critters"},{item_id:"flowers",item_text:"Flowers"},{item_id:"fossils",item_text:"Fossils"},{item_id:"gameplay",item_text:"Gameplay"},{item_id:"gifts",item_text:"Gifting"},{item_id:"items",item_text:"Items"},{item_id:"villagers",item_text:"Villagers"}],this.dropdownListTools=[{item_id:"api",item_text:"API"},{item_id:"checklist",item_text:"Checklist"},{item_id:"design sharing",item_text:"Design Sharing"},{item_id:"dreams",item_text:"Dream Sharing"},{item_id:"fake art",item_text:"Fake Art Detection"},{item_id:"island rating",item_text:"Island Rating Calc"},{item_id:"marketplace",item_text:"Marketplace"},{item_id:"music",item_text:"Music Player"},{item_id:"queueing",item_text:"Queueing"},{item_id:"simulator",item_text:"Simulator"},{item_id:"town tunes",item_text:"Town Tunes"},{item_id:"turnips",item_text:"Turnip Pricing"},{item_id:"weather",item_text:"Weather Forecast"},{item_id:"wiki",item_text:"Wiki"}],this.dropdownSettings={singleSelection:!1,idField:"item_id",textField:"item_text",itemsShowLimit:3,allowSearchFilter:!1,enableCheckAll:!1}}scrollToTop(){document.body.scrollTop=0,document.documentElement.scrollTop=0}resetFilters(){this.selectedItemsPlatforms=[],this.selectedItemsInformation=[],this.selectedItemsTools=[],this.applyFilters()}applyFilters(){const t=[];for(const o of this.selectedItemsPlatforms)t.push(o.item_id);const r=[];for(const o of this.selectedItemsInformation)r.push(o.item_id);const i=[];for(const o of this.selectedItemsTools)i.push(o.item_id);this.projects=this.filterData.filter(o=>{const s=[];""!==o.site&&s.push("website"),""!==o.android&&s.push("android"),""!==o.ios&&s.push("ios");const a=this.selectedItemsPlatforms.length+this.selectedItemsInformation.length+this.selectedItemsTools.length;return this.ifFilterMeetsAll?(!a||(!t.length||t.every(l=>s.includes(l)))&&(!r.length||r.every(l=>o.information.includes(l)))&&(!i.length||i.every(l=>o.tools.includes(l))))&&o.languages.includes(this.langForm.get("lang").value):(!a||(!t.length||t.some(l=>s.includes(l)))&&(!r.length||r.some(l=>o.information.includes(l)))&&(!i.length||i.some(l=>o.tools.includes(l))))&&o.languages.includes(this.langForm.get("lang").value)})}singleInformationFilter(t){this.selectedItemsPlatforms=[],this.selectedItemsInformation=[this.dropdownListInformation.filter(i=>i.item_id===t)[0]],this.selectedItemsTools=[];const r=[t];this.projects=this.filterData.filter(i=>{const o=i.information.concat(i.tools);return this.ifFilterMeetsAll?(0===r.length||r.every(s=>o.includes(s)))&&i.languages.includes(this.langForm.get("lang").value):(0===r.length||r.some(s=>o.indexOf(s)>=0))&&i.languages.includes(this.langForm.get("lang").value)}),this.scrollToTop()}singleFeatureFilter(t){this.selectedItemsPlatforms=[],this.selectedItemsInformation=[],this.selectedItemsTools=[this.dropdownListTools.filter(i=>i.item_id===t)[0]];const r=[t];this.projects=this.filterData.filter(i=>{const o=i.information.concat(i.tools);return this.ifFilterMeetsAll?(0===r.length||r.every(s=>o.includes(s)))&&i.languages.includes(this.langForm.get("lang").value):(0===r.length||r.some(s=>o.indexOf(s)>=0))&&i.languages.includes(this.langForm.get("lang").value)}),this.scrollToTop()}filterToggle(t){this.ifFilterMeetsAll=!!t.target.checked,this.applyFilters()}shuffleProjects(){this.filterData=this.shuffle(this.filterData),this.sorted=!1,this.applyFilters()}shuffle(t){for(let r=0;ro?s=1:io&&(s=-1),s}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=Ir({type:e,selectors:[["app-directory"]],decls:41,vars:17,consts:[[1,"box","centered"],[1,"content-div"],[1,"font-tools","coustard"],["id","lang-form",1,"coustard",3,"formGroup"],[4,"ngFor","ngForOf"],["id","filters-container",1,"flex-container"],[1,"flex-item","filter"],[1,"font-platforms","coustard"],[3,"settings","placeholder","data","ngModel","ngModelChange","onSelect","onDeSelect"],[1,"font-information","coustard"],[1,"font-prose","centered","table"],[1,"switch",2,"margin-right","10px"],["type","checkbox",3,"change"],[1,"slider"],[1,"toggle-label"],[1,"font-prose"],[1,"button",3,"click"],[4,"ngIf"],["id","heading-bottom"],[1,"results","constrained"],["class","listing max-width",4,"ngFor","ngForOf"],[3,"for"],["type","radio","name","lang","formControlName","lang",3,"id","value","change"],[1,"listing","max-width"],[1,"flex-container-inline","name-container"],["class","flex-item",4,"ngIf"],[1,"description"],[1,"table","max-width",2,"padding","10px 0px"],[1,"description",2,"display","table-cell","text-align","center","vertical-align","middle"],[1,"tags"],["class","tag information hover",3,"click",4,"ngFor","ngForOf"],["class","tag tools hover",3,"click",4,"ngFor","ngForOf"],[1,"flex-container","link-button"],["class","link-button site","tabindex","0",4,"ngIf"],["class","link-button android","tabindex","0",4,"ngIf"],["class","link-button ios","tabindex","0",4,"ngIf"],["class","link-button facebook","tabindex","0",4,"ngIf"],["class","link-button twitter","tabindex","0",4,"ngIf"],["class","link-button instagram","tabindex","0",4,"ngIf"],["class","link-button discord","tabindex","0",4,"ngIf"],["class","link-button git","tabindex","0",4,"ngIf"],[1,"flex-item"],["target","_blank","rel","noopener","nofollow","",3,"href",4,"ngIf","ngIfElse"],["noLink",""],["target","_blank","rel","noopener","nofollow","",3,"href"],[3,"src","alt"],[1,"title"],[1,"tag","information","hover",3,"click"],[1,"tag","tools","hover",3,"click"],["tabindex","0",1,"link-button","site"],["src","assets/images/links/link.png","alt","Visit website","width","16px",1,"link-button"],["tabindex","0",1,"link-button","android"],["src","assets/images/links/android.png","alt","Download on Google Play","width","16px",1,"link-button"],["tabindex","0",1,"link-button","ios"],["src","assets/images/links/apple.png","alt","Download on the App Store","width","16px",1,"link-button"],["tabindex","0",1,"link-button","facebook"],["src","assets/images/links/facebook.png","alt","Facebook profile","width","16px",1,"link-button"],["tabindex","0",1,"link-button","twitter"],["src","assets/images/links/twitter.png","alt","Twitter profile","width","16px",1,"link-button"],["tabindex","0",1,"link-button","instagram"],["src","assets/images/links/instagram.png","alt","Instagram profile","width","16px",1,"link-button"],["tabindex","0",1,"link-button","discord"],["src","assets/images/links/discord.png","alt","Discord invite","width","16px",1,"link-button"],["tabindex","0",1,"link-button","git"],["src","assets/images/links/git.png","alt","Git link","width","16px",1,"link-button"]],template:function(r,i){1&r&&(w(0,"div")(1,"div",0)(2,"div",1)(3,"h3",2),x(4,"Resource Language"),b(),w(5,"form",3),le(6,xV,5,4,"div",4),b()(),te(7,"br"),w(8,"div",1)(9,"div",5)(10,"div",6)(11,"h3",7),x(12,"Platforms"),b(),w(13,"ng-multiselect-dropdown3",8),oe("ngModelChange",function(s){return i.selectedItemsPlatforms=s})("onSelect",function(){return i.applyFilters()})("onDeSelect",function(){return i.applyFilters()}),b()(),w(14,"div",6)(15,"h3",9),x(16,"Information"),b(),w(17,"ng-multiselect-dropdown3",8),oe("ngModelChange",function(s){return i.selectedItemsInformation=s})("onSelect",function(){return i.applyFilters()})("onDeSelect",function(){return i.applyFilters()}),b()(),w(18,"div",6)(19,"h3",2),x(20,"Tools"),b(),w(21,"ng-multiselect-dropdown3",8),oe("ngModelChange",function(s){return i.selectedItemsTools=s})("onSelect",function(){return i.applyFilters()})("onDeSelect",function(){return i.applyFilters()}),b()()(),w(22,"div",10)(23,"label",11)(24,"input",12),oe("change",function(s){return i.filterToggle(s)}),b(),te(25,"span",13),b(),w(26,"span",14),x(27,"Only show listings that match all selected filters within each category"),b()(),w(28,"div",15)(29,"button",16),oe("click",function(){return i.resetFilters()}),x(30,"Reset Filters"),b(),te(31,"br")(32,"br"),w(33,"button",16),oe("click",function(){return i.shuffleProjects()}),x(34,"Randomize Order"),b(),w(35,"button",16),oe("click",function(){return i.sortProjects()}),le(36,NV,2,0,"span",17),le(37,OV,2,0,"span",17),b()()()(),te(38,"div",18),b(),w(39,"div",19),le(40,YV,21,13,"div",20),b()),2&r&&(T(5),Z("formGroup",i.langForm),T(1),Z("ngForOf",i.languageList),T(7),Z("settings",i.dropdownSettings)("placeholder","Select platform...")("data",i.dropdownListPlatforms)("ngModel",i.selectedItemsPlatforms),T(4),Z("settings",i.dropdownSettings)("placeholder","Select info...")("data",i.dropdownListInformation)("ngModel",i.selectedItemsInformation),T(4),Z("settings",i.dropdownSettings)("placeholder","Select tools...")("data",i.dropdownListTools)("ngModel",i.selectedItemsTools),T(15),Z("ngIf",!i.sorted),T(1),Z("ngIf",i.sorted),T(3),Z("ngForOf",i.projects))},dependencies:[Hd,Bd,ew,Fo,bf,ff,BC,il,ol,If,Dw],styles:[".content-div[_ngcontent-%COMP%]{display:flex;flex-direction:column;height:100%}.description[_ngcontent-%COMP%]{flex:1;font-size:.95em;padding:10px 5px 0}.results[_ngcontent-%COMP%]{display:grid;grid-gap:0 70px;grid-template-columns:repeat(auto-fill,450px);justify-content:center;margin-left:-6px;width:99%}form[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{padding:5px;white-space:nowrap}form[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{display:inline-block}form[_ngcontent-%COMP%] label[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{white-space:nowrap}#filters-container[_ngcontent-%COMP%]{-moz-column-gap:40px;column-gap:40px;margin:0 auto;width:max-content}#lang-form[_ngcontent-%COMP%]{margin:0 auto;max-width:600px}.filter[_ngcontent-%COMP%]{padding:0 5px 10px}.toggle-label[_ngcontent-%COMP%]{display:table-cell;font-size:.9em;padding-bottom:20px;vertical-align:middle}a.button[_ngcontent-%COMP%]{background-color:green;border-radius:4px;color:#fff;display:inline-block;min-width:50px;padding:8px;text-align:center;text-decoration:none}label[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{vertical-align:middle}label[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#575757}.listing[_ngcontent-%COMP%]{background-color:#fff;border:1px solid #CCCCCC;border-radius:5px;margin:1em auto;padding:20px 7px 10px;position:relative;text-align:center}.title[_ngcontent-%COMP%]{font-family:Coustard,Linux Libertine,Georgia,Times,serif;font-size:1.6em}.name-container[_ngcontent-%COMP%]{height:100px}.name-container[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-height:100px;max-width:90%}.image-container[_ngcontent-%COMP%]{max-width:60%}.logo-border[_ngcontent-%COMP%]{filter:drop-shadow(1px 1px 0 black) drop-shadow(-1px -1px 0 black)}.link-button[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{padding:6px 0 3px}.link-button[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{border-radius:7px;flex:1;margin:0 3px}.link-button[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:hover{filter:brightness(85%)}.link-button.site[_ngcontent-%COMP%]{background-color:#669;box-shadow:2px 2px #2b2b68}.link-button.android[_ngcontent-%COMP%]{background-color:#3ddc84;box-shadow:2px 2px #00bd52}.link-button.ios[_ngcontent-%COMP%]{background-color:#666;box-shadow:2px 2px #040303}.link-button.facebook[_ngcontent-%COMP%]{background-color:#3c64a7;box-shadow:2px 2px #13397a}.link-button.twitter[_ngcontent-%COMP%]{background-color:#00b3e0;box-shadow:2px 2px #00637a}.link-button.instagram[_ngcontent-%COMP%]{background-color:#f00075;box-shadow:2px 2px #b60059}.link-button.discord[_ngcontent-%COMP%]{background-color:#7289da;box-shadow:2px 2px #334dad}.link-button.git[_ngcontent-%COMP%]{background-color:#f14e32;box-shadow:2px 2px #bf3b24}.tags[_ngcontent-%COMP%]{padding:0 5px 10px}.tag[_ngcontent-%COMP%]{border-radius:10px;color:#464646;display:inline-block;font-size:.8em;margin:5px;padding:2px 4px}.tag.platforms[_ngcontent-%COMP%]{background:#A6D8E5;border:2px solid #359EBB}.tag.information[_ngcontent-%COMP%]{background:#F5EA9A;border:2px solid #F1E26F}.tag.tools[_ngcontent-%COMP%]{background:#AFD9C0;border:2px solid #61A33E}@media only screen and (max-width: 750px){a.button[_ngcontent-%COMP%]{width:50%}#filters-container[_ngcontent-%COMP%]{display:block;width:100%}.results[_ngcontent-%COMP%]{grid-template-columns:repeat(auto-fill,90%)!important}.listing[_ngcontent-%COMP%]{display:block;text-align:center}.name-container[_ngcontent-%COMP%]{height:auto}.title[_ngcontent-%COMP%]{margin-bottom:10px;max-width:200px}.flex-item.filter[_ngcontent-%COMP%]{margin:0 auto;width:90%}.flex-container-inline[_ngcontent-%COMP%]{display:block}}"]})}return e})()},{path:"privacy",component:(()=>{class e{constructor(){}ngOnInit(){}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=Ir({type:e,selectors:[["app-privacy"]],decls:33,vars:0,consts:[[1,"box"],["target","_blank","href","https://www.cloudflare.com/"],["target","_blank","href","https://analytics.google.com/"],["target","_blank","href","https://policies.google.com/privacy"]],template:function(r,i){1&r&&(w(0,"div",0)(1,"span")(2,"p")(3,"b"),x(4,"Last Update: 2020-10-04"),b()(),w(5,"p"),x(6," By using our site, you consent to our privacy policy. "),b(),w(7,"p"),x(8," Any external websites we link to have their own separate and independent privacy policies; we have no responsibility or control over how these websites conduct themselves. "),b(),w(9,"p")(10,"b"),x(11,"What information do we collect?"),b()(),w(12,"p"),x(13," ACNH.Directory is delivered through "),w(14,"a",1),x(15,"Cloudflare"),b(),x(16,"'s CDN, which includes basic privacy-friendly analytics. We also use "),w(17,"a",2),x(18,"Google Analytics"),b(),x(19," to collect, monitor and analyze usage of ACNH.Directory. Google Analytics's privacy policy can be viewed "),w(20,"a",3),x(21,"here"),b(),x(22,". This service is used to determine the popularity of certain content, and to better understand online activity. By accessing ACNH.Directory, you consent to the collection and use of your information by Google Analytics. "),b(),w(23,"p")(24,"b"),x(25,"California Online Privacy Protection Act Compliance"),b()(),w(26,"p"),x(27," We have taken the necessary precautions to be in compliance with the California Online Privacy Protection Act. We therefore do not distribute your personal information to outside parties without your consent. "),b(),w(28,"p")(29,"b"),x(30,"Childrens Online Privacy Protection Act Compliance"),b()(),w(31,"p"),x(32," We are in compliance with the requirements of COPPA (Childrens Online Privacy Protection Act), as we do not collect any information from anyone under 13 years of age. Our website, products and services are all directed to people who are at least 13 years old or older. "),b()()())},styles:["span[_ngcontent-%COMP%]{display:inline-block;width:90%;max-width:800px}"]})}return e})()}];let KV=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=mt({type:e});static#n=this.\u0275inj=rt({imports:[Eb.forRoot(QV),Eb]})}return e})(),XV=(()=>{class e{constructor(){this.title="acnh-directory"}ngOnInit(){}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=Ir({type:e,selectors:[["app-root"]],decls:48,vars:0,consts:[["id","heading",1,"centered"],["id","logo"],["href","./",2,"color","#67AF40"],["id","sublogo"],["target","_blank","href","https://nookipedia.com/wiki/Main_Page",2,"color","#67AF40"],["target","_blank","href","https://github.com/Nookipedia/acnh.directory"],["id","footer",1,"center"],["id","footer-top"],["target","_blank","href","https://nookipedia.com/wiki/Main_Page"],["target","_blank","href","https://www.kevinpayravi.com/"],["href","/privacy"]],template:function(r,i){1&r&&(w(0,"div",0)(1,"h1",1)(2,"a",2),x(3,"ACNH.Directory"),b()(),w(4,"span",3),x(5," Your one-stop site for "),w(6,"i"),x(7,"Animal Crossing: New Horizons"),b(),x(8," resources "),b(),te(9,"br"),w(10,"span",3),x(11," Brought to you by "),w(12,"a",4),x(13,"Nookipedia"),b()(),te(14,"br"),w(15,"span",3),x(16," Contribute on "),w(17,"a",5),x(18,"GitHub"),b()()(),te(19,"router-outlet")(20,"br")(21,"br"),w(22,"div",6),te(23,"div",7),x(24," A "),w(25,"a",8),x(26,"Nookipedia"),b(),x(27," project "),te(28,"br"),w(29,"a",5),x(30,"Source"),b(),x(31," (you can contribute!) "),te(32,"br"),x(33," Built by "),w(34,"a",9),x(35,"@KevinPayravi"),b(),te(36,"br")(37,"br"),x(38," Animal Crossing is a registered trademark of Nintendo. "),te(39,"br"),x(40," ACNH.Directory in no way claims ownership of any intellectual property associated with Animal Crossing. "),te(41,"br"),x(42," ACNH.Directory is not responsible for the content on the listed external sites. "),te(43,"br"),w(44,"a",10),x(45,"Privacy Policy"),b(),te(46,"br")(47,"br"),b())},dependencies:[Yf]})}return e})(),JV=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=mt({type:e,bootstrap:[XV]});static#n=this.\u0275inj=rt({imports:[VP,lP,KV,vw,Wk,iF]})}return e})();sP().bootstrapModule(JV).catch(e=>console.error(e))}},de=>{de(de.s=35)}]); \ No newline at end of file +"use strict";(self.webpackChunkacnh_directory=self.webpackChunkacnh_directory||[]).push([[179],{35:()=>{function de(e){return"function"==typeof e}function Ai(e){const t=e(r=>{Error.call(r),r.stack=(new Error).stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}const rs=Ai(e=>function(t){e(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((r,i)=>`${i+1}) ${r.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=t});function Ti(e,n){if(e){const t=e.indexOf(n);0<=t&&e.splice(t,1)}}class It{constructor(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let n;if(!this.closed){this.closed=!0;const{_parentage:t}=this;if(t)if(this._parentage=null,Array.isArray(t))for(const o of t)o.remove(this);else t.remove(this);const{initialTeardown:r}=this;if(de(r))try{r()}catch(o){n=o instanceof rs?o.errors:[o]}const{_finalizers:i}=this;if(i){this._finalizers=null;for(const o of i)try{ah(o)}catch(s){n=n??[],s instanceof rs?n=[...n,...s.errors]:n.push(s)}}if(n)throw new rs(n)}}add(n){var t;if(n&&n!==this)if(this.closed)ah(n);else{if(n instanceof It){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=null!==(t=this._finalizers)&&void 0!==t?t:[]).push(n)}}_hasParent(n){const{_parentage:t}=this;return t===n||Array.isArray(t)&&t.includes(n)}_addParent(n){const{_parentage:t}=this;this._parentage=Array.isArray(t)?(t.push(n),t):t?[t,n]:n}_removeParent(n){const{_parentage:t}=this;t===n?this._parentage=null:Array.isArray(t)&&Ti(t,n)}remove(n){const{_finalizers:t}=this;t&&Ti(t,n),n instanceof It&&n._removeParent(this)}}It.EMPTY=(()=>{const e=new It;return e.closed=!0,e})();const oh=It.EMPTY;function sh(e){return e instanceof It||e&&"closed"in e&&de(e.remove)&&de(e.add)&&de(e.unsubscribe)}function ah(e){de(e)?e():e.unsubscribe()}const Jn={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},is={setTimeout(e,n,...t){const{delegate:r}=is;return r?.setTimeout?r.setTimeout(e,n,...t):setTimeout(e,n,...t)},clearTimeout(e){const{delegate:n}=is;return(n?.clearTimeout||clearTimeout)(e)},delegate:void 0};function lh(e){is.setTimeout(()=>{const{onUnhandledError:n}=Jn;if(!n)throw e;n(e)})}function ch(){}const Ib=bl("C",void 0,void 0);function bl(e,n,t){return{kind:e,value:n,error:t}}let er=null;function os(e){if(Jn.useDeprecatedSynchronousErrorHandling){const n=!er;if(n&&(er={errorThrown:!1,error:null}),e(),n){const{errorThrown:t,error:r}=er;if(er=null,t)throw r}}else e()}class El extends It{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,sh(n)&&n.add(this)):this.destination=Pb}static create(n,t,r){return new xi(n,t,r)}next(n){this.isStopped?Sl(function Tb(e){return bl("N",e,void 0)}(n),this):this._next(n)}error(n){this.isStopped?Sl(function Ab(e){return bl("E",void 0,e)}(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?Sl(Ib,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(n){this.destination.next(n)}_error(n){try{this.destination.error(n)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const Nb=Function.prototype.bind;function Ml(e,n){return Nb.call(e,n)}class Ob{constructor(n){this.partialObserver=n}next(n){const{partialObserver:t}=this;if(t.next)try{t.next(n)}catch(r){ss(r)}}error(n){const{partialObserver:t}=this;if(t.error)try{t.error(n)}catch(r){ss(r)}else ss(n)}complete(){const{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(t){ss(t)}}}class xi extends El{constructor(n,t,r){let i;if(super(),de(n)||!n)i={next:n??void 0,error:t??void 0,complete:r??void 0};else{let o;this&&Jn.useDeprecatedNextContext?(o=Object.create(n),o.unsubscribe=()=>this.unsubscribe(),i={next:n.next&&Ml(n.next,o),error:n.error&&Ml(n.error,o),complete:n.complete&&Ml(n.complete,o)}):i=n}this.destination=new Ob(i)}}function ss(e){Jn.useDeprecatedSynchronousErrorHandling?function xb(e){Jn.useDeprecatedSynchronousErrorHandling&&er&&(er.errorThrown=!0,er.error=e)}(e):lh(e)}function Sl(e,n){const{onStoppedNotification:t}=Jn;t&&is.setTimeout(()=>t(e,n))}const Pb={closed:!0,next:ch,error:function Rb(e){throw e},complete:ch},Il="function"==typeof Symbol&&Symbol.observable||"@@observable";function kn(e){return e}function uh(e){return 0===e.length?kn:1===e.length?e[0]:function(t){return e.reduce((r,i)=>i(r),t)}}let be=(()=>{class e{constructor(t){t&&(this._subscribe=t)}lift(t){const r=new e;return r.source=this,r.operator=t,r}subscribe(t,r,i){const o=function Lb(e){return e&&e instanceof El||function Fb(e){return e&&de(e.next)&&de(e.error)&&de(e.complete)}(e)&&sh(e)}(t)?t:new xi(t,r,i);return os(()=>{const{operator:s,source:a}=this;o.add(s?s.call(o,a):a?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(t){try{return this._subscribe(t)}catch(r){t.error(r)}}forEach(t,r){return new(r=dh(r))((i,o)=>{const s=new xi({next:a=>{try{t(a)}catch(l){o(l),s.unsubscribe()}},error:o,complete:i});this.subscribe(s)})}_subscribe(t){var r;return null===(r=this.source)||void 0===r?void 0:r.subscribe(t)}[Il](){return this}pipe(...t){return uh(t)(this)}toPromise(t){return new(t=dh(t))((r,i)=>{let o;this.subscribe(s=>o=s,s=>i(s),()=>r(o))})}}return e.create=n=>new e(n),e})();function dh(e){var n;return null!==(n=e??Jn.Promise)&&void 0!==n?n:Promise}const Vb=Ai(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let hn=(()=>{class e extends be{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){const r=new fh(this,this);return r.operator=t,r}_throwIfClosed(){if(this.closed)throw new Vb}next(t){os(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const r of this.currentObservers)r.next(t)}})}error(t){os(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=t;const{observers:r}=this;for(;r.length;)r.shift().error(t)}})}complete(){os(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:t}=this;for(;t.length;)t.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var t;return(null===(t=this.observers)||void 0===t?void 0:t.length)>0}_trySubscribe(t){return this._throwIfClosed(),super._trySubscribe(t)}_subscribe(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)}_innerSubscribe(t){const{hasError:r,isStopped:i,observers:o}=this;return r||i?oh:(this.currentObservers=null,o.push(t),new It(()=>{this.currentObservers=null,Ti(o,t)}))}_checkFinalizedStatuses(t){const{hasError:r,thrownError:i,isStopped:o}=this;r?t.error(i):o&&t.complete()}asObservable(){const t=new be;return t.source=this,t}}return e.create=(n,t)=>new fh(n,t),e})();class fh extends hn{constructor(n,t){super(),this.destination=n,this.source=t}next(n){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===r||r.call(t,n)}error(n){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===r||r.call(t,n)}complete(){var n,t;null===(t=null===(n=this.destination)||void 0===n?void 0:n.complete)||void 0===t||t.call(n)}_subscribe(n){var t,r;return null!==(r=null===(t=this.source)||void 0===t?void 0:t.subscribe(n))&&void 0!==r?r:oh}}class At extends hn{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){const t=super._subscribe(n);return!t.closed&&n.next(this._value),t}getValue(){const{hasError:n,thrownError:t,_value:r}=this;if(n)throw t;return this._throwIfClosed(),r}next(n){super.next(this._value=n)}}function hh(e){return de(e?.lift)}function je(e){return n=>{if(hh(n))return n.lift(function(t){try{return e(t,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function Oe(e,n,t,r,i){return new jb(e,n,t,r,i)}class jb extends El{constructor(n,t,r,i,o,s){super(n),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=t?function(a){try{t(a)}catch(l){n.error(l)}}:super._next,this._error=i?function(a){try{i(a)}catch(l){n.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){n.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:t}=this;super.unsubscribe(),!t&&(null===(n=this.onFinalize)||void 0===n||n.call(this))}}}function J(e,n){return je((t,r)=>{let i=0;t.subscribe(Oe(r,o=>{r.next(e.call(n,o,i++))}))})}function Fn(e){return this instanceof Fn?(this.v=e,this):new Fn(e)}function yh(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=function Nl(e){var n="function"==typeof Symbol&&Symbol.iterator,t=n&&e[n],r=0;if(t)return t.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(n?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(o){t[o]=e[o]&&function(s){return new Promise(function(a,l){!function i(o,s,a,l){Promise.resolve(l).then(function(c){o({value:c,done:a})},s)}(a,l,(s=e[o](s)).done,s.value)})}}}const vh=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function _h(e){return de(e?.then)}function Dh(e){return de(e[Il])}function Ch(e){return Symbol.asyncIterator&&de(e?.[Symbol.asyncIterator])}function wh(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 bh=function iE(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function Eh(e){return de(e?.[bh])}function Mh(e){return function mh(e,n,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i,r=t.apply(e,n||[]),o=[];return i={},s("next"),s("throw"),s("return"),i[Symbol.asyncIterator]=function(){return this},i;function s(f){r[f]&&(i[f]=function(h){return new Promise(function(p,g){o.push([f,h,p,g])>1||a(f,h)})})}function a(f,h){try{!function l(f){f.value instanceof Fn?Promise.resolve(f.value.v).then(c,u):d(o[0][2],f)}(r[f](h))}catch(p){d(o[0][3],p)}}function c(f){a("next",f)}function u(f){a("throw",f)}function d(f,h){f(h),o.shift(),o.length&&a(o[0][0],o[0][1])}}(this,arguments,function*(){const t=e.getReader();try{for(;;){const{value:r,done:i}=yield Fn(t.read());if(i)return yield Fn(void 0);yield yield Fn(r)}}finally{t.releaseLock()}})}function Sh(e){return de(e?.getReader)}function Tt(e){if(e instanceof be)return e;if(null!=e){if(Dh(e))return function oE(e){return new be(n=>{const t=e[Il]();if(de(t.subscribe))return t.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(vh(e))return function sE(e){return new be(n=>{for(let t=0;t{e.then(t=>{n.closed||(n.next(t),n.complete())},t=>n.error(t)).then(null,lh)})}(e);if(Ch(e))return Ih(e);if(Eh(e))return function lE(e){return new be(n=>{for(const t of e)if(n.next(t),n.closed)return;n.complete()})}(e);if(Sh(e))return function cE(e){return Ih(Mh(e))}(e)}throw wh(e)}function Ih(e){return new be(n=>{(function uE(e,n){var t,r,i,o;return function ph(e,n,t,r){return new(t||(t=Promise))(function(o,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?o(u.value):function i(o){return o instanceof t?o:new t(function(s){s(o)})}(u.value).then(a,l)}c((r=r.apply(e,n||[])).next())})}(this,void 0,void 0,function*(){try{for(t=yh(e);!(r=yield t.next()).done;)if(n.next(r.value),n.closed)return}catch(s){i={error:s}}finally{try{r&&!r.done&&(o=t.return)&&(yield o.call(t))}finally{if(i)throw i.error}}n.complete()})})(e,n).catch(t=>n.error(t))})}function pn(e,n,t,r=0,i=!1){const o=n.schedule(function(){t(),i?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(o),!i)return o}function He(e,n,t=1/0){return de(n)?He((r,i)=>J((o,s)=>n(r,o,i,s))(Tt(e(r,i))),t):("number"==typeof n&&(t=n),je((r,i)=>function dE(e,n,t,r,i,o,s,a){const l=[];let c=0,u=0,d=!1;const f=()=>{d&&!l.length&&!c&&n.complete()},h=g=>c{o&&n.next(g),c++;let y=!1;Tt(t(g,u++)).subscribe(Oe(n,C=>{i?.(C),o?h(C):n.next(C)},()=>{y=!0},void 0,()=>{if(y)try{for(c--;l.length&&cp(C)):p(C)}f()}catch(C){n.error(C)}}))};return e.subscribe(Oe(n,h,()=>{d=!0,f()})),()=>{a?.()}}(r,i,e,t)))}function Mr(e=1/0){return He(kn,e)}const Zt=new be(e=>e.complete());function Ol(e){return e[e.length-1]}function Ah(e){return de(Ol(e))?e.pop():void 0}function Ni(e){return function hE(e){return e&&de(e.schedule)}(Ol(e))?e.pop():void 0}function Th(e,n=0){return je((t,r)=>{t.subscribe(Oe(r,i=>pn(r,e,()=>r.next(i),n),()=>pn(r,e,()=>r.complete(),n),i=>pn(r,e,()=>r.error(i),n)))})}function xh(e,n=0){return je((t,r)=>{r.add(e.schedule(()=>t.subscribe(r),n))})}function Nh(e,n){if(!e)throw new Error("Iterable cannot be null");return new be(t=>{pn(t,n,()=>{const r=e[Symbol.asyncIterator]();pn(t,n,()=>{r.next().then(i=>{i.done?t.complete():t.next(i.value)})},0,!0)})})}function Re(e,n){return n?function DE(e,n){if(null!=e){if(Dh(e))return function gE(e,n){return Tt(e).pipe(xh(n),Th(n))}(e,n);if(vh(e))return function yE(e,n){return new be(t=>{let r=0;return n.schedule(function(){r===e.length?t.complete():(t.next(e[r++]),t.closed||this.schedule())})})}(e,n);if(_h(e))return function mE(e,n){return Tt(e).pipe(xh(n),Th(n))}(e,n);if(Ch(e))return Nh(e,n);if(Eh(e))return function vE(e,n){return new be(t=>{let r;return pn(t,n,()=>{r=e[bh](),pn(t,n,()=>{let i,o;try{({value:i,done:o}=r.next())}catch(s){return void t.error(s)}o?t.complete():t.next(i)},0,!0)}),()=>de(r?.return)&&r.return()})}(e,n);if(Sh(e))return function _E(e,n){return Nh(Mh(e),n)}(e,n)}throw wh(e)}(e,n):Tt(e)}function L(...e){return Re(e,Ni(e))}function Oh(e={}){const{connector:n=(()=>new hn),resetOnError:t=!0,resetOnComplete:r=!0,resetOnRefCountZero:i=!0}=e;return o=>{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 je((g,y)=>{c++,!d&&!u&&f();const C=l=l??n();y.add(()=>{c--,0===c&&!d&&!u&&(a=Rl(p,i))}),C.subscribe(y),!s&&c>0&&(s=new xi({next:m=>C.next(m),error:m=>{d=!0,f(),a=Rl(h,t,m),C.error(m)},complete:()=>{u=!0,f(),a=Rl(h,r),C.complete()}}),Tt(g).subscribe(s))})(o)}}function Rl(e,n,...t){if(!0===n)return void e();if(!1===n)return;const r=new xi({next:()=>{r.unsubscribe(),e()}});return Tt(n(...t)).subscribe(r)}function bE(e,n){return e===n}function se(e){for(let n in e)if(e[n]===se)return n;throw Error("Could not find renamed property on target object.")}function Pl(e,n){for(const t in n)n.hasOwnProperty(t)&&!e.hasOwnProperty(t)&&(e[t]=n[t])}function Pe(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(Pe).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const n=e.toString();if(null==n)return""+n;const t=n.indexOf("\n");return-1===t?n:n.substring(0,t)}function kl(e,n){return null==e||""===e?null===n?"":n:null==n||""===n?e:e+" "+n}const EE=se({__forward_ref__:se});function fe(e){return e.__forward_ref__=fe,e.toString=function(){return Pe(this())},e}function H(e){return Fl(e)?e():e}function Fl(e){return"function"==typeof e&&e.hasOwnProperty(EE)&&e.__forward_ref__===fe}function Ll(e){return e&&!!e.\u0275providers}const Rh="https://g.co/ng/security#xss";class _ extends Error{constructor(n,t){super(function as(e,n){return`NG0${Math.abs(e)}${n?": "+n:""}`}(n,t)),this.code=n}}function B(e){return"string"==typeof e?e:null==e?"":String(e)}function ls(e,n){throw new _(-201,!1)}function xt(e,n){null==e&&function ie(e,n,t,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${t} ${r} ${n} <=Actual]`))}(n,e,null,"!=")}function O(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function rt(e){return{providers:e.providers||[],imports:e.imports||[]}}function cs(e){return Ph(e,us)||Ph(e,Fh)}function Ph(e,n){return e.hasOwnProperty(n)?e[n]:null}function kh(e){return e&&(e.hasOwnProperty(Vl)||e.hasOwnProperty(OE))?e[Vl]:null}const us=se({\u0275prov:se}),Vl=se({\u0275inj:se}),Fh=se({ngInjectableDef:se}),OE=se({ngInjectorDef:se});var R=(()=>((R=R||{})[R.Default=0]="Default",R[R.Host=1]="Host",R[R.Self=2]="Self",R[R.SkipSelf=4]="SkipSelf",R[R.Optional=8]="Optional",R))();let jl;function it(e){const n=jl;return jl=e,n}function Vh(e,n,t){const r=cs(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:t&R.Optional?null:void 0!==n?n:void ls(Pe(e))}const he=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),Oi={},Hl="__NG_DI_FLAG__",ds="ngTempTokenPath",PE=/\n/gm,jh="__source";let Sr;function Vn(e){const n=Sr;return Sr=e,n}function LE(e,n=R.Default){if(void 0===Sr)throw new _(-203,!1);return null===Sr?Vh(e,void 0,n):Sr.get(e,n&R.Optional?null:void 0,n)}function N(e,n=R.Default){return(function Lh(){return jl}()||LE)(H(e),n)}function I(e,n=R.Default){return N(e,fs(n))}function fs(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Bl(e){const n=[];for(let t=0;t((Yt=Yt||{})[Yt.OnPush=0]="OnPush",Yt[Yt.Default=1]="Default",Yt))(),gt=(()=>{return(e=gt||(gt={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",gt;var e})();const mn={},X=[],hs=se({\u0275cmp:se}),$l=se({\u0275dir:se}),Ul=se({\u0275pipe:se}),Bh=se({\u0275mod:se}),yn=se({\u0275fac:se}),Pi=se({__NG_ELEMENT_ID__:se}),$h=se({__NG_ENV_ID__:se});function Uh(e,n,t){let r=e.length;for(;;){const i=e.indexOf(n,t);if(-1===i)return i;if(0===i||e.charCodeAt(i-1)<=32){const o=n.length;if(i+o===r||e.charCodeAt(i+o)<=32)return i}t=i+1}}function zl(e,n,t){let r=0;for(;rn){s=o-1;break}}}for(;oo?"":i[d+1].toLowerCase();const h=8&r?f:null;if(h&&-1!==Uh(h,c,0)||2&r&&c!==f){if(Lt(r))return!1;s=!0}}}}else{if(!s&&!Lt(r)&&!Lt(l))return!1;if(s&&Lt(l))continue;s=!1,r=l|1&r}}return Lt(r)||s}function Lt(e){return 0==(1&e)}function zE(e,n,t,r){if(null===n)return-1;let i=0;if(r||!t){let o=!1;for(;i-1)for(t++;t0?'="'+a+'"':"")+"]"}else 8&r?i+="."+s:4&r&&(i+=" "+s);else""!==i&&!Lt(s)&&(n+=Qh(o,i),i=""),r=s,o=o||!Lt(r);t++}return""!==i&&(n+=Qh(o,i)),n}function Ir(e){return gn(()=>{const n=Xh(e),t={...n,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Yt.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&e.dependencies||null,getStandaloneInjector:null,data:e.data||{},encapsulation:e.encapsulation||gt.Emulated,styles:e.styles||X,_:null,schemas:e.schemas||null,tView:null,id:""};Jh(t);const r=e.dependencies;return t.directiveDefs=ps(r,!1),t.pipeDefs=ps(r,!0),t.id=function rM(e){let n=0;const t=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const i of t)n=Math.imul(31,n)+i.charCodeAt(0)<<0;return n+=2147483648,"c"+n}(t),t})}function JE(e){return ee(e)||Ge(e)}function eM(e){return null!==e}function mt(e){return gn(()=>({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 Kh(e,n){if(null==e)return mn;const t={};for(const r in e)if(e.hasOwnProperty(r)){let i=e[r],o=i;Array.isArray(i)&&(o=i[1],i=i[0]),t[i]=r,n&&(n[i]=o)}return t}function V(e){return gn(()=>{const n=Xh(e);return Jh(n),n})}function Qe(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function ee(e){return e[hs]||null}function Ge(e){return e[$l]||null}function ot(e){return e[Ul]||null}function yt(e,n){const t=e[Bh]||null;if(!t&&!0===n)throw new Error(`Type ${Pe(e)} does not have '\u0275mod' property.`);return t}function Xh(e){const n={};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:n,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:Kh(e.inputs,n),outputs:Kh(e.outputs)}}function Jh(e){e.features?.forEach(n=>n(e))}function ps(e,n){if(!e)return null;const t=n?ot:JE;return()=>("function"==typeof e?e():e).map(r=>t(r)).filter(eM)}const ke=0,M=1,z=2,ye=3,Vt=4,tr=5,We=6,Tr=7,Ce=8,xr=9,nr=10,$=11,Fi=12,ep=13,Nr=14,Ie=15,Li=16,Or=17,Qt=18,Vi=19,tp=20,jn=21,vn=22,gs=23,ms=24,Q=25,Gl=1,np=2,Kt=7,ys=8,Rr=9,$e=11;function vt(e){return Array.isArray(e)&&"object"==typeof e[Gl]}function st(e){return Array.isArray(e)&&!0===e[Gl]}function Wl(e){return 0!=(4&e.flags)}function rr(e){return e.componentOffset>-1}function vs(e){return 1==(1&e.flags)}function jt(e){return!!e.template}function ql(e){return 0!=(512&e[z])}function ir(e,n){return e.hasOwnProperty(yn)?e[yn]:null}let lM=he.WeakRef??class aM{constructor(n){this.ref=n}deref(){return this.ref}},uM=0,Xt=null,_s=!1;function Be(e){const n=Xt;return Xt=e,n}class ap{constructor(){this.id=uM++,this.ref=function cM(e){return new lM(e)}(this),this.producers=new Map,this.consumers=new Map,this.trackingVersion=0,this.valueVersion=0}consumerPollProducersForChange(){for(const[n,t]of this.producers){const r=t.producerNode.deref();if(void 0!==r&&t.atTrackingVersion===this.trackingVersion){if(r.producerPollStatus(t.seenValueVersion))return!0}else this.producers.delete(n),r?.consumers.delete(this.id)}return!1}producerMayHaveChanged(){const n=_s;_s=!0;try{for(const[t,r]of this.consumers){const i=r.consumerNode.deref();void 0!==i&&i.trackingVersion===r.atTrackingVersion?i.onConsumerDependencyMayHaveChanged():(this.consumers.delete(t),i?.producers.delete(this.id))}}finally{_s=n}}producerAccessed(){if(_s)throw new Error("");if(null===Xt)return;let n=Xt.producers.get(this.id);void 0===n?(n={consumerNode:Xt.ref,producerNode:this.ref,seenValueVersion:this.valueVersion,atTrackingVersion:Xt.trackingVersion},Xt.producers.set(this.id,n),this.consumers.set(Xt.id,n)):(n.seenValueVersion=this.valueVersion,n.atTrackingVersion=Xt.trackingVersion)}get hasProducers(){return this.producers.size>0}get producerUpdatesAllowed(){return!1!==Xt?.consumerAllowSignalWrites}producerPollStatus(n){return this.valueVersion!==n||(this.onProducerUpdateValueVersion(),this.valueVersion!==n)}}let lp=null;const up=()=>{};class pM extends ap{constructor(n,t,r){super(),this.watch=n,this.schedule=t,this.dirty=!1,this.cleanupFn=up,this.registerOnCleanup=i=>{this.cleanupFn=i},this.consumerAllowSignalWrites=r}notify(){this.dirty||this.schedule(this),this.dirty=!0}onConsumerDependencyMayHaveChanged(){this.notify()}onProducerUpdateValueVersion(){}run(){if(this.dirty=!1,0!==this.trackingVersion&&!this.consumerPollProducersForChange())return;const n=Be(this);this.trackingVersion++;try{this.cleanupFn(),this.cleanupFn=up,this.watch(this.registerOnCleanup)}finally{Be(n)}}cleanup(){this.cleanupFn()}}class gM{constructor(n,t,r){this.previousValue=n,this.currentValue=t,this.firstChange=r}isFirstChange(){return this.firstChange}}function Nt(){return dp}function dp(e){return e.type.prototype.ngOnChanges&&(e.setInput=yM),mM}function mM(){const e=hp(this),n=e?.current;if(n){const t=e.previous;if(t===mn)e.previous=n;else for(let r in n)t[r]=n[r];e.current=null,this.ngOnChanges(n)}}function yM(e,n,t,r){const i=this.declaredInputs[t],o=hp(e)||function vM(e,n){return e[fp]=n}(e,{previous:mn,current:null}),s=o.current||(o.current={}),a=o.previous,l=a[i];s[i]=new gM(l&&l.currentValue,n,a===mn),e[r]=n}Nt.ngInherit=!0;const fp="__ngSimpleChanges__";function hp(e){return e[fp]||null}const Jt=function(e,n,t){};function ge(e){for(;Array.isArray(e);)e=e[ke];return e}function ws(e,n){return ge(n[e])}function at(e,n){return ge(n[e.index])}function mp(e,n){return e.data[n]}function Pr(e,n){return e[n]}function lt(e,n){const t=n[e];return vt(t)?t:t[ke]}function bs(e){return 128==(128&e[z])}function Hn(e,n){return null==n?null:e[n]}function yp(e){e[Or]=0}function EM(e){1024&e[z]||(e[z]|=1024,_p(e,1))}function vp(e){1024&e[z]&&(e[z]&=-1025,_p(e,-1))}function _p(e,n){let t=e[ye];if(null===t)return;t[tr]+=n;let r=t;for(t=t[ye];null!==t&&(1===n&&1===r[tr]||-1===n&&0===r[tr]);)t[tr]+=n,r=t,t=t[ye]}const j={lFrame:xp(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function wp(){return j.bindingsEnabled}function v(){return j.lFrame.lView}function K(){return j.lFrame.tView}function _n(e){return j.lFrame.contextLView=e,e[Ce]}function Dn(e){return j.lFrame.contextLView=null,e}function Ue(){let e=bp();for(;null!==e&&64===e.type;)e=e.parent;return e}function bp(){return j.lFrame.currentTNode}function en(e,n){const t=j.lFrame;t.currentTNode=e,t.isParent=n}function Jl(){return j.lFrame.isParent}function Ke(){const e=j.lFrame;let n=e.bindingRootIndex;return-1===n&&(n=e.bindingRootIndex=e.tView.bindingStartIndex),n}function Fr(){return j.lFrame.bindingIndex++}function FM(e,n){const t=j.lFrame;t.bindingIndex=t.bindingRootIndex=e,tc(n)}function tc(e){j.lFrame.currentDirectiveIndex=e}function rc(e){j.lFrame.currentQueryIndex=e}function VM(e){const n=e[M];return 2===n.type?n.declTNode:1===n.type?e[We]:null}function Ap(e,n,t){if(t&R.SkipSelf){let i=n,o=e;for(;!(i=i.parent,null!==i||t&R.Host||(i=VM(o),null===i||(o=o[Nr],10&i.type))););if(null===i)return!1;n=i,e=o}const r=j.lFrame=Tp();return r.currentTNode=n,r.lView=e,!0}function ic(e){const n=Tp(),t=e[M];j.lFrame=n,n.currentTNode=t.firstChild,n.lView=e,n.tView=t,n.contextLView=e,n.bindingIndex=t.bindingStartIndex,n.inI18n=!1}function Tp(){const e=j.lFrame,n=null===e?null:e.child;return null===n?xp(e):n}function xp(e){const n={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=n),n}function Np(){const e=j.lFrame;return j.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Op=Np;function oc(){const e=Np();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 Xe(){return j.lFrame.selectedIndex}function or(e){j.lFrame.selectedIndex=e}function ve(){const e=j.lFrame;return mp(e.tView,e.selectedIndex)}let Pp=!0;function Es(){return Pp}function Bn(e){Pp=e}function Ms(e,n){for(let t=n.directiveStart,r=n.directiveEnd;t=r)break}else n[l]<0&&(e[Or]+=65536),(a>12>16&&(3&e[z])===n&&(e[z]+=4096,Fp(a,o)):Fp(a,o)}const Lr=-1;class Bi{constructor(n,t,r){this.factory=n,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=r}}function Lp(e){return e!==Lr}function As(e){return 32767&e}function Ts(e,n){let t=function QM(e){return e>>16}(e),r=n;for(;t>0;)r=r[Nr],t--;return r}let lc=!0;function xs(e){const n=lc;return lc=e,n}const Vp=255,jp=5;let KM=0;const tn={};function Ns(e,n){const t=Hp(e,n);if(-1!==t)return t;const r=n[M];r.firstCreatePass&&(e.injectorIndex=n.length,cc(r.data,e),cc(n,null),cc(r.blueprint,null));const i=uc(e,n),o=e.injectorIndex;if(Lp(i)){const s=As(i),a=Ts(i,n),l=a[M].data;for(let c=0;c<8;c++)n[o+c]=a[s+c]|l[s+c]}return n[o+8]=i,o}function cc(e,n){e.push(0,0,0,0,0,0,0,0,n)}function Hp(e,n){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===n[e.injectorIndex+8]?-1:e.injectorIndex}function uc(e,n){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let t=0,r=null,i=n;for(;null!==i;){if(r=qp(i),null===r)return Lr;if(t++,i=i[Nr],-1!==r.injectorIndex)return r.injectorIndex|t<<16}return Lr}function dc(e,n,t){!function XM(e,n,t){let r;"string"==typeof t?r=t.charCodeAt(0)||0:t.hasOwnProperty(Pi)&&(r=t[Pi]),null==r&&(r=t[Pi]=KM++);const i=r&Vp;n.data[e+(i>>jp)]|=1<=0?n&Vp:nS:n}(t);if("function"==typeof o){if(!Ap(n,e,r))return r&R.Host?Bp(i,0,r):$p(n,t,r,i);try{const s=o(r);if(null!=s||r&R.Optional)return s;ls()}finally{Op()}}else if("number"==typeof o){let s=null,a=Hp(e,n),l=Lr,c=r&R.Host?n[Ie][We]:null;for((-1===a||r&R.SkipSelf)&&(l=-1===a?uc(e,n):n[a+8],l!==Lr&&Wp(r,!1)?(s=n[M],a=As(l),n=Ts(l,n)):a=-1);-1!==a;){const u=n[M];if(Gp(o,a,u.data)){const d=eS(a,n,t,s,r,c);if(d!==tn)return d}l=n[a+8],l!==Lr&&Wp(r,n[M].data[a+8]===c)&&Gp(o,a,n)?(s=u,a=As(l),n=Ts(l,n)):a=-1}}return i}function eS(e,n,t,r,i,o){const s=n[M],a=s.data[e+8],u=function Os(e,n,t,r,i){const o=e.providerIndexes,s=n.data,a=1048575&o,l=e.directiveStart,u=o>>20,f=i?a+u:e.directiveEnd;for(let h=r?a:a+u;h=l&&p.type===t)return h}if(i){const h=s[l];if(h&&jt(h)&&h.type===t)return l}return null}(a,s,t,null==r?rr(a)&&lc:r!=s&&0!=(3&a.type),i&R.Host&&o===a);return null!==u?sr(n,s,u,a):tn}function sr(e,n,t,r){let i=e[t];const o=n.data;if(function qM(e){return e instanceof Bi}(i)){const s=i;s.resolving&&function ME(e,n){const t=n?`. Dependency path: ${n.join(" > ")} > ${e}`:"";throw new _(-200,`Circular dependency in DI detected for ${e}${t}`)}(function re(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():B(e)}(o[t]));const a=xs(s.canSeeViewProviders);s.resolving=!0;const l=s.injectImpl?it(s.injectImpl):null;Ap(e,r,R.Default);try{i=e[t]=s.factory(void 0,o,e,r),n.firstCreatePass&&t>=r.directiveStart&&function GM(e,n,t){const{ngOnChanges:r,ngOnInit:i,ngDoCheck:o}=n.type.prototype;if(r){const s=dp(n);(t.preOrderHooks??=[]).push(e,s),(t.preOrderCheckHooks??=[]).push(e,s)}i&&(t.preOrderHooks??=[]).push(0-e,i),o&&((t.preOrderHooks??=[]).push(e,o),(t.preOrderCheckHooks??=[]).push(e,o))}(t,o[t],n)}finally{null!==l&&it(l),xs(a),s.resolving=!1,Op()}}return i}function Gp(e,n,t){return!!(t[n+(e>>jp)]&1<{const n=e.prototype.constructor,t=n[yn]||fc(n),r=Object.prototype;let i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==r;){const o=i[yn]||fc(i);if(o&&o!==t)return o;i=Object.getPrototypeOf(i)}return o=>new o})}function fc(e){return Fl(e)?()=>{const n=fc(H(e));return n&&n()}:ir(e)}function qp(e){const n=e[M],t=n.type;return 2===t?n.declTNode:1===t?e[We]:null}const Hr="__parameters__";function $r(e,n,t){return gn(()=>{const r=function hc(e){return function(...t){if(e){const r=e(...t);for(const i in r)this[i]=r[i]}}}(n);function i(...o){if(this instanceof i)return r.apply(this,o),this;const s=new i(...o);return a.annotation=s,a;function a(l,c,u){const d=l.hasOwnProperty(Hr)?l[Hr]:Object.defineProperty(l,Hr,{value:[]})[Hr];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),l}}return t&&(i.prototype=Object.create(t.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i})}function zi(e,n){e.forEach(t=>Array.isArray(t)?zi(t,n):n(t))}function Yp(e,n,t){n>=e.length?e.push(t):e.splice(n,0,t)}function Ps(e,n){return n>=e.length-1?e.pop():e.splice(n,1)[0]}function _t(e,n,t){let r=Ur(e,n);return r>=0?e[1|r]=t:(r=~r,function lS(e,n,t,r){let i=e.length;if(i==n)e.push(t,r);else if(1===i)e.push(r,e[0]),e[0]=t;else{for(i--,e.push(e[i-1],e[i]);i>n;)e[i]=e[i-2],i--;e[n]=t,e[n+1]=r}}(e,r,n,t)),r}function pc(e,n){const t=Ur(e,n);if(t>=0)return e[1|t]}function Ur(e,n){return function Qp(e,n,t){let r=0,i=e.length>>t;for(;i!==r;){const o=r+(i-r>>1),s=e[o<n?i=o:r=o+1}return~(i<((ct=ct||{})[ct.Important=1]="Important",ct[ct.DashCase=2]="DashCase",ct))();const Dc=new Map;let OS=0;const wc="__ngContext__";function qe(e,n){vt(n)?(e[wc]=n[Vi],function PS(e){Dc.set(e[Vi],e)}(n)):e[wc]=n}let bc;function Ec(e,n){return bc(e,n)}function Zi(e){const n=e[ye];return st(n)?n[ye]:n}function Mc(e){return gg(e[Fi])}function Sc(e){return gg(e[Vt])}function gg(e){for(;null!==e&&!st(e);)e=e[Vt];return e}function Wr(e,n,t,r,i){if(null!=r){let o,s=!1;st(r)?o=r:vt(r)&&(s=!0,r=r[ke]);const a=ge(r);0===e&&null!==t?null==i?Dg(n,t,a):ar(n,t,a,i||null,!0):1===e&&null!==t?ar(n,t,a,i||null,!0):2===e?function qs(e,n,t){const r=Gs(e,n);r&&function JS(e,n,t,r){e.removeChild(n,t,r)}(e,r,n,t)}(n,a,s):3===e&&n.destroyNode(a),null!=o&&function nI(e,n,t,r,i){const o=t[Kt];o!==ge(t)&&Wr(n,e,r,o,i);for(let a=$e;a0&&(e[t-1][Vt]=r[Vt]);const o=Ps(e,$e+n);!function GS(e,n){Qi(e,n,n[$],2,null,null),n[ke]=null,n[We]=null}(r[M],r);const s=o[Qt];null!==s&&s.detachView(o[M]),r[ye]=null,r[Vt]=null,r[z]&=-129}return r}function vg(e,n){if(!(256&n[z])){const t=n[$];n[gs]?.destroy(),n[ms]?.destroy(),t.destroyNode&&Qi(e,n,t,3,null,null),function ZS(e){let n=e[Fi];if(!n)return Tc(e[M],e);for(;n;){let t=null;if(vt(n))t=n[Fi];else{const r=n[$e];r&&(t=r)}if(!t){for(;n&&!n[Vt]&&n!==e;)vt(n)&&Tc(n[M],n),n=n[ye];null===n&&(n=e),vt(n)&&Tc(n[M],n),t=n&&n[Vt]}n=t}}(n)}}function Tc(e,n){if(!(256&n[z])){n[z]&=-129,n[z]|=256,function XS(e,n){let t;if(null!=e&&null!=(t=e.destroyHooks))for(let r=0;r=0?r[s]():r[-s].unsubscribe(),o+=2}else t[o].call(r[t[o+1]]);null!==r&&(n[Tr]=null);const i=n[jn];if(null!==i){n[jn]=null;for(let o=0;o-1){const{encapsulation:o}=e.data[r.directiveStart+i];if(o===gt.None||o===gt.Emulated)return null}return at(r,t)}}(e,n.parent,t)}function ar(e,n,t,r,i){e.insertBefore(n,t,r,i)}function Dg(e,n,t){e.appendChild(n,t)}function Cg(e,n,t,r,i){null!==r?ar(e,n,t,r,i):Dg(e,n,t)}function Gs(e,n){return e.parentNode(n)}let Nc,kc,Eg=function bg(e,n,t){return 40&e.type?at(e,t):null};function Ws(e,n,t,r){const i=xc(e,r,n),o=n[$],a=function wg(e,n,t){return Eg(e,n,t)}(r.parent||n[We],r,n);if(null!=i)if(Array.isArray(t))for(let l=0;l((Ae=Ae||{})[Ae.NONE=0]="NONE",Ae[Ae.HTML=1]="HTML",Ae[Ae.STYLE=2]="STYLE",Ae[Ae.SCRIPT=3]="SCRIPT",Ae[Ae.URL=4]="URL",Ae[Ae.RESOURCE_URL=5]="RESOURCE_URL",Ae))();function dt(e){const n=function eo(){const e=v();return e&&e[nr].sanitizer}();return n?n.sanitize(Ae.URL,e)||"":function Xi(e,n){const t=function pI(e){return e instanceof Pg&&e.getTypeName()||null}(e);if(null!=t&&t!==n){if("ResourceURL"===t&&"URL"===n)return!0;throw new Error(`Required a safe ${n}, got a ${t} (see ${Rh})`)}return t===n}(e,"URL")?$n(e):function Lc(e){return(e=String(e)).match(vI)?e:"unsafe:"+e}(B(e))}class A{constructor(n,t){this._desc=n,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof t?this.__NG_ELEMENT_ID__=t:void 0!==t&&(this.\u0275prov=O({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const to=new A("ENVIRONMENT_INITIALIZER"),Ug=new A("INJECTOR",-1),zg=new A("INJECTOR_DEF_TYPES");class Gg{get(n,t=Oi){if(t===Oi){const r=new Error(`NullInjectorError: No provider for ${Pe(n)}!`);throw r.name="NullInjectorError",r}return t}}function NI(...e){return{\u0275providers:Wg(0,e),\u0275fromNgModule:!0}}function Wg(e,...n){const t=[],r=new Set;let i;return zi(n,o=>{const s=o;$c(s,t,[],r)&&(i||=[],i.push(s))}),void 0!==i&&qg(i,t),t}function qg(e,n){for(let t=0;t{n.push(o)})}}function $c(e,n,t,r){if(!(e=H(e)))return!1;let i=null,o=kh(e);const s=!o&&ee(e);if(o||s){if(s&&!s.standalone)return!1;i=e}else{const l=e.ngModule;if(o=kh(l),!o)return!1;i=l}const a=r.has(i);if(s){if(a)return!1;if(r.add(i),s.dependencies){const l="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const c of l)$c(c,n,t,r)}}else{if(!o)return!1;{if(null!=o.imports&&!a){let c;r.add(i);try{zi(o.imports,u=>{$c(u,n,t,r)&&(c||=[],c.push(u))})}finally{}void 0!==c&&qg(c,n)}if(!a){const c=ir(i)||(()=>new i);n.push({provide:i,useFactory:c,deps:X},{provide:zg,useValue:i,multi:!0},{provide:to,useValue:()=>N(i),multi:!0})}const l=o.providers;null==l||a||Uc(l,u=>{n.push(u)})}}return i!==e&&void 0!==e.providers}function Uc(e,n){for(let t of e)Ll(t)&&(t=t.\u0275providers),Array.isArray(t)?Uc(t,n):n(t)}const OI=se({provide:String,useValue:se});function zc(e){return null!==e&&"object"==typeof e&&OI in e}function lr(e){return"function"==typeof e}const Gc=new A("Set Injector scope."),Ks={},PI={};let Wc;function Xs(){return void 0===Wc&&(Wc=new Gg),Wc}class nn{}class qc extends nn{get destroyed(){return this._destroyed}constructor(n,t,r,i){super(),this.parent=t,this.source=r,this.scopes=i,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Yc(n,s=>this.processProvider(s)),this.records.set(Ug,Zr(void 0,this)),i.has("environment")&&this.records.set(nn,Zr(void 0,this));const o=this.records.get(Gc);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(zg.multi,X,R.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();const n=this._onDestroyHooks;this._onDestroyHooks=[];for(const t of n)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(n){return this.assertNotDestroyed(),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){this.assertNotDestroyed();const t=Vn(this),r=it(void 0);try{return n()}finally{Vn(t),it(r)}}get(n,t=Oi,r=R.Default){if(this.assertNotDestroyed(),n.hasOwnProperty($h))return n[$h](this);r=fs(r);const i=Vn(this),o=it(void 0);try{if(!(r&R.SkipSelf)){let a=this.records.get(n);if(void 0===a){const l=function jI(e){return"function"==typeof e||"object"==typeof e&&e instanceof A}(n)&&cs(n);a=l&&this.injectableDefInScope(l)?Zr(Zc(n),Ks):null,this.records.set(n,a)}if(null!=a)return this.hydrate(n,a)}return(r&R.Self?Xs():this.parent).get(n,t=r&R.Optional&&t===Oi?null:t)}catch(s){if("NullInjectorError"===s.name){if((s[ds]=s[ds]||[]).unshift(Pe(n)),i)throw s;return function jE(e,n,t,r){const i=e[ds];throw n[jh]&&i.unshift(n[jh]),e.message=function HE(e,n,t,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let i=Pe(n);if(Array.isArray(n))i=n.map(Pe).join(" -> ");else if("object"==typeof n){let o=[];for(let s in n)if(n.hasOwnProperty(s)){let a=n[s];o.push(s+":"+("string"==typeof a?JSON.stringify(a):Pe(a)))}i=`{${o.join(", ")}}`}return`${t}${r?"("+r+")":""}[${i}]: ${e.replace(PE,"\n ")}`}("\n"+e.message,i,t,r),e.ngTokenPath=i,e[ds]=null,e}(s,n,"R3InjectorError",this.source)}throw s}finally{it(o),Vn(i)}}resolveInjectorInitializers(){const n=Vn(this),t=it(void 0);try{const r=this.get(to.multi,X,R.Self);for(const i of r)i()}finally{Vn(n),it(t)}}toString(){const n=[],t=this.records;for(const r of t.keys())n.push(Pe(r));return`R3Injector[${n.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new _(205,!1)}processProvider(n){let t=lr(n=H(n))?n:H(n&&n.provide);const r=function FI(e){return zc(e)?Zr(void 0,e.useValue):Zr(Qg(e),Ks)}(n);if(lr(n)||!0!==n.multi)this.records.get(t);else{let i=this.records.get(t);i||(i=Zr(void 0,Ks,!0),i.factory=()=>Bl(i.multi),this.records.set(t,i)),t=n,i.multi.push(n)}this.records.set(t,r)}hydrate(n,t){return t.value===Ks&&(t.value=PI,t.value=t.factory()),"object"==typeof t.value&&t.value&&function VI(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(t.value)&&this._ngOnDestroyHooks.add(t.value),t.value}injectableDefInScope(n){if(!n.providedIn)return!1;const t=H(n.providedIn);return"string"==typeof t?"any"===t||this.scopes.has(t):this.injectorDefTypes.has(t)}removeOnDestroy(n){const t=this._onDestroyHooks.indexOf(n);-1!==t&&this._onDestroyHooks.splice(t,1)}}function Zc(e){const n=cs(e),t=null!==n?n.factory:ir(e);if(null!==t)return t;if(e instanceof A)throw new _(204,!1);if(e instanceof Function)return function kI(e){const n=e.length;if(n>0)throw function Gi(e,n){const t=[];for(let r=0;rt.factory(e):()=>new e}(e);throw new _(204,!1)}function Qg(e,n,t){let r;if(lr(e)){const i=H(e);return ir(i)||Zc(i)}if(zc(e))r=()=>H(e.useValue);else if(function Yg(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...Bl(e.deps||[]));else if(function Zg(e){return!(!e||!e.useExisting)}(e))r=()=>N(H(e.useExisting));else{const i=H(e&&(e.useClass||e.provide));if(!function LI(e){return!!e.deps}(e))return ir(i)||Zc(i);r=()=>new i(...Bl(e.deps))}return r}function Zr(e,n,t=!1){return{factory:e,value:n,multi:t?[]:void 0}}function Yc(e,n){for(const t of e)Array.isArray(t)?Yc(t,n):t&&Ll(t)?Yc(t.\u0275providers,n):n(t)}const Js=new A("AppId",{providedIn:"root",factory:()=>HI}),HI="ng",Kg=new A("Platform Initializer"),cr=new A("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),Xg=new A("CSP nonce",{providedIn:"root",factory:()=>function Ki(){if(void 0!==kc)return kc;if(typeof document<"u")return document;throw new _(210,!1)}().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let em=(e,n)=>null;function tm(e,n){return em(e,n)}class YI{}class im{}class KI{resolveComponentFactory(n){throw function QI(e){const n=Error(`No component factory found for ${Pe(e)}.`);return n.ngComponent=e,n}(n)}}let ia=(()=>{class e{static#e=this.NULL=new KI}return e})();function XI(){return Yr(Ue(),v())}function Yr(e,n){return new ft(at(e,n))}let ft=(()=>{class e{constructor(t){this.nativeElement=t}static#e=this.__NG_ELEMENT_ID__=XI}return e})();class sm{}let En=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=()=>function e0(){const e=v(),t=lt(Ue().index,e);return(vt(t)?t:e)[$]}()}return e})(),t0=(()=>{class e{static#e=this.\u0275prov=O({token:e,providedIn:"root",factory:()=>null})}return e})();class oo{constructor(n){this.full=n,this.major=n.split(".")[0],this.minor=n.split(".")[1],this.patch=n.split(".").slice(2).join(".")}}const n0=new oo("16.0.4"),su={};function so(e){for(;e;){e[z]|=64;const n=Zi(e);if(ql(e)&&!n)return e;e=n}return null}function au(e){return e.ngOriginalError}class ur{constructor(){this._console=console}handleError(n){const t=this._findOriginalError(n);this._console.error("ERROR",n),t&&this._console.error("ORIGINAL ERROR",t)}_findOriginalError(n){let t=n&&au(n);for(;t&&au(t);)t=au(t);return t||null}}const cm=new A("",{providedIn:"root",factory:()=>!1});function um(e){return e.ownerDocument}function Mn(e){return e instanceof Function?e():e}class gm extends ap{constructor(){super(...arguments),this.consumerAllowSignalWrites=!1,this._lView=null}set lView(n){this._lView=n}onConsumerDependencyMayHaveChanged(){so(this._lView)}onProducerUpdateValueVersion(){}get hasReadASignal(){return this.hasProducers}runInContext(n,t,r){const i=Be(this);this.trackingVersion++;try{n(t,r)}finally{Be(i)}}destroy(){this.trackingVersion++}}let sa=null;function mm(){return sa??=new gm,sa}function ym(e,n){return e[n]??mm()}function vm(e,n){const t=mm();t.hasReadASignal&&(e[n]=sa,t.lView=e,sa=new gm)}const U={};function T(e){_m(K(),v(),Xe()+e,!1)}function _m(e,n,t,r){if(!r)if(3==(3&n[z])){const o=e.preOrderCheckHooks;null!==o&&Ss(n,o,t)}else{const o=e.preOrderHooks;null!==o&&Is(n,o,0,t)}or(t)}function bm(e,n=null,t=null,r){const i=Em(e,n,t,r);return i.resolveInjectorInitializers(),i}function Em(e,n=null,t=null,r,i=new Set){const o=[t||X,NI(e)];return r=r||("object"==typeof e?void 0:Pe(e)),new qc(o,n||Xs(),r||null,i)}let rn=(()=>{class e{static#e=this.THROW_IF_NOT_FOUND=Oi;static#t=this.NULL=new Gg;static create(t,r){if(Array.isArray(t))return bm({name:""},r,t,"");{const i=t.name??"";return bm({name:i},t.parent,t.providers,i)}}static#n=this.\u0275prov=O({token:e,providedIn:"any",factory:()=>N(Ug)});static#r=this.__NG_ELEMENT_ID__=-1}return e})();function D(e,n=R.Default){const t=v();return null===t?N(e,n):Up(Ue(),t,H(e),n)}function aa(e,n,t,r,i,o,s,a,l,c,u){const d=n.blueprint.slice();return d[ke]=i,d[z]=140|r,(null!==c||e&&2048&e[z])&&(d[z]|=2048),yp(d),d[ye]=d[Nr]=e,d[Ce]=t,d[nr]=s||e&&e[nr],d[$]=a||e&&e[$],d[xr]=l||e&&e[xr]||null,d[We]=o,d[Vi]=function RS(){return OS++}(),d[vn]=u,d[tp]=c,d[Ie]=2==n.type?e[Ie]:d,d}function Kr(e,n,t,r,i){let o=e.data[n];if(null===o)o=function lu(e,n,t,r,i){const o=bp(),s=Jl(),l=e.data[n]=function b0(e,n,t,r,i,o){let s=n?n.injectorIndex:-1,a=0;return function kr(){return null!==j.skipHydrationRootTNode}()&&(a|=128),{type:t,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:i,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:n,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,s?o:o&&o.parent,t,n,r,i);return null===e.firstChild&&(e.firstChild=l),null!==o&&(s?null==o.child&&null!==l.parent&&(o.child=l):null===o.next&&(o.next=l,l.prev=o)),l}(e,n,t,r,i),function kM(){return j.lFrame.inI18n}()&&(o.flags|=32);else if(64&o.type){o.type=t,o.value=r,o.attrs=i;const s=function Hi(){const e=j.lFrame,n=e.currentTNode;return e.isParent?n:n.parent}();o.injectorIndex=null===s?-1:s.injectorIndex}return en(o,!0),o}function ao(e,n,t,r){if(0===t)return-1;const i=n.length;for(let o=0;oQ&&_m(e,n,Q,!1),Jt(a?2:0,i),a)o.runInContext(t,r,i);else{const c=Be(null);try{t(r,i)}finally{Be(c)}}}finally{a&&null===n[gs]&&vm(n,gs),or(s),Jt(a?3:1,i)}}function cu(e,n,t){if(Wl(n)){const r=Be(null);try{const o=n.directiveEnd;for(let s=n.directiveStart;snull;function Tm(e,n,t,r){for(let i in e)if(e.hasOwnProperty(i)){t=null===t?{}:t;const o=e[i];null===r?xm(t,n,i,o):r.hasOwnProperty(i)&&xm(t,n,r[i],o)}return t}function xm(e,n,t,r){e.hasOwnProperty(t)?e[t].push(n,r):e[t]=[n,r]}function Dt(e,n,t,r,i,o,s,a){const l=at(n,t);let u,c=n.inputs;!a&&null!=c&&(u=c[r])?(yu(e,t,u,r,i),rr(n)&&function S0(e,n){const t=lt(n,e);16&t[z]||(t[z]|=64)}(t,n.index)):3&n.type&&(r=function M0(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),i=null!=s?s(i,n.value||"",r):i,o.setProperty(l,r,i))}function hu(e,n,t,r){if(wp()){const i=null===r?null:{"":-1},o=function O0(e,n){const t=e.directiveRegistry;let r=null,i=null;if(t)for(let o=0;o0;){const t=e[--n];if("number"==typeof t&&t<0)return t}return 0})(s)!=a&&s.push(a),s.push(t,r,o)}}(e,n,r,ao(e,t,i.hostVars,U),i)}function on(e,n,t,r,i,o){const s=at(e,n);!function gu(e,n,t,r,i,o,s){if(null==o)e.removeAttribute(n,i,t);else{const a=null==s?B(o):s(o,r||"",i);e.setAttribute(n,i,a,t)}}(n[$],s,o,e.value,t,r,i)}function V0(e,n,t,r,i,o){const s=o[n];if(null!==s)for(let a=0;a{class e{constructor(){this.all=new Set,this.queue=new Map}create(t,r,i){const o=typeof Zone>"u"?null:Zone.current,s=new pM(t,c=>{this.all.has(c)&&this.queue.set(c,o)},i);let a;this.all.add(s),s.notify();const l=()=>{s.cleanup(),a?.(),this.all.delete(s),this.queue.delete(s)};return a=r?.onDestroy(l),{destroy:l}}flush(){if(0!==this.queue.size)for(const[t,r]of this.queue)this.queue.delete(t),r?r.run(()=>t.run()):t.run()}get isQueueEmpty(){return 0===this.queue.size}static#e=this.\u0275prov=O({token:e,providedIn:"root",factory:()=>new e})}return e})();function ca(e,n,t){let r=t?e.styles:null,i=t?e.classes:null,o=0;if(null!==n)for(let s=0;s0&&_u(t)}}function _u(e){for(let r=Mc(e);null!==r;r=Sc(r))for(let i=$e;i0&&_u(o)}const t=e[M].components;if(null!==t)for(let r=0;r0&&_u(i)}}class co{get rootNodes(){const n=this._lView,t=n[M];return lo(t,n,t.firstChild,[])}constructor(n,t){this._lView=n,this._cdRefInjectingView=t,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[Ce]}set context(n){this._lView[Ce]=n}get destroyed(){return 256==(256&this._lView[z])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const n=this._lView[ye];if(st(n)){const t=n[ys],r=t?t.indexOf(this):-1;r>-1&&(Ac(n,r),Ps(t,r))}this._attachedToViewContainer=!1}vg(this._lView[M],this._lView)}onDestroy(n){!function Dp(e,n){if(256==(256&e[z]))throw new _(911,!1);null===e[jn]&&(e[jn]=[]),e[jn].push(n)}(this._lView,n)}markForCheck(){so(this._cdRefInjectingView||this._lView)}detach(){this._lView[z]&=-129}reattach(){this._lView[z]|=128}detectChanges(){ua(this._lView[M],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new _(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function qS(e,n){Qi(e,n,n[$],2,null,null)}(this._lView[M],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new _(902,!1);this._appRef=n}}class K0 extends co{constructor(n){super(n),this._view=n}detectChanges(){const n=this._view;ua(n[M],n,n[Ce],!1)}checkNoChanges(){}get context(){return null}}class Bm extends ia{constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){const t=ee(n);return new uo(t,this.ngModule)}}function $m(e){const n=[];for(let t in e)e.hasOwnProperty(t)&&n.push({propName:e[t],templateName:t});return n}class J0{constructor(n,t){this.injector=n,this.parentInjector=t}get(n,t,r){r=fs(r);const i=this.injector.get(n,su,r);return i!==su||t===su?i:this.parentInjector.get(n,t,r)}}class uo extends im{get inputs(){return $m(this.componentDef.inputs)}get outputs(){return $m(this.componentDef.outputs)}constructor(n,t){super(),this.componentDef=n,this.ngModule=t,this.componentType=n.type,this.selector=function QE(e){return e.map(YE).join(",")}(n.selectors),this.ngContentSelectors=n.ngContentSelectors?n.ngContentSelectors:[],this.isBoundToModule=!!t}create(n,t,r,i){let o=(i=i||this.ngModule)instanceof nn?i:i?.injector;o&&null!==this.componentDef.getStandaloneInjector&&(o=this.componentDef.getStandaloneInjector(o)||o);const s=o?new J0(n,o):n,a=s.get(sm,null);if(null===a)throw new _(407,!1);const u={rendererFactory:a,sanitizer:s.get(t0,null),effectManager:s.get(Hm,null)},d=a.createRenderer(null,this.componentDef),f=this.componentDef.selectors[0][0]||"div",h=r?function v0(e,n,t,r){const o=r.get(cm,!1)||t===gt.ShadowDom,s=e.selectRootElement(n,o);return function _0(e){Am(e)}(s),s}(d,r,this.componentDef.encapsulation,s):zs(d,f,function X0(e){const n=e.toLowerCase();return"svg"===n?"svg":"math"===n?"math":null}(f)),p=this.componentDef.onPush?576:528,g=fu(0,null,null,1,0,null,null,null,null,null,null),y=aa(null,g,null,p,null,null,u,d,s,null,null);let C,m;ic(y);try{const E=this.componentDef;let k,q=null;E.findHostDirectiveDefs?(k=[],q=new Map,E.findHostDirectiveDefs(E,k,q),k.push(E)):k=[E];const St=function tA(e,n){const t=e[M],r=Q;return e[r]=n,Kr(t,r,2,"#host",null)}(y,h),Sb=function nA(e,n,t,r,i,o,s){const a=i[M];!function rA(e,n,t,r){for(const i of e)n.mergedAttrs=ki(n.mergedAttrs,i.hostAttrs);null!==n.mergedAttrs&&(ca(n,n.mergedAttrs,!0),null!==t&&xg(r,t,n))}(r,e,n,s);let l=null;null!==n&&(l=tm(n,i[xr]));const c=o.rendererFactory.createRenderer(n,t),u=aa(i,Im(t),null,t.onPush?64:16,i[e.index],e,o,c,null,null,l);return a.firstCreatePass&&pu(a,e,r.length-1),la(i,u),i[e.index]=u}(St,h,E,k,y,u,d);m=mp(g,Q),h&&function oA(e,n,t,r){if(r)zl(e,t,["ng-version",n0.full]);else{const{attrs:i,classes:o}=function KE(e){const n=[],t=[];let r=1,i=2;for(;r0&&Tg(e,t,o.join(" "))}}(d,E,h,r),void 0!==t&&function sA(e,n,t){const r=e.projection=[];for(let i=0;i=0;r--){const i=e[r];i.hostVars=n+=i.hostVars,i.hostAttrs=ki(i.hostAttrs,t=ki(t,i.hostAttrs))}}(r)}function Du(e){return e===mn?{}:e===X?[]:e}function cA(e,n){const t=e.viewQuery;e.viewQuery=t?(r,i)=>{n(r,i),t(r,i)}:n}function uA(e,n){const t=e.contentQueries;e.contentQueries=t?(r,i,o)=>{n(r,i,o),t(r,i,o)}:n}function dA(e,n){const t=e.hostBindings;e.hostBindings=t?(r,i)=>{n(r,i),t(r,i)}:n}function fa(e){return!!Cu(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function Cu(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function sn(e,n,t){return e[n]=t}function Ze(e,n,t){return!Object.is(e[n],t)&&(e[n]=t,!0)}function Ct(e,n,t,r){const i=v();return Ze(i,Fr(),n)&&(K(),on(ve(),i,e,n,t,r)),Ct}function Jr(e,n,t,r){return Ze(e,Fr(),t)?n+B(t)+r:U}function le(e,n,t,r,i,o,s,a){const l=v(),c=K(),u=e+Q,d=c.firstCreatePass?function FA(e,n,t,r,i,o,s,a,l){const c=n.consts,u=Kr(n,e,4,s||null,Hn(c,a));hu(n,t,u,Hn(c,l)),Ms(n,u);const d=u.tView=fu(2,u,r,i,o,n.directiveRegistry,n.pipeRegistry,null,n.schemas,c,null);return null!==n.queries&&(n.queries.template(n,u),d.queries=n.queries.embeddedTView(u)),u}(u,c,l,n,t,r,i,o,s):c.data[u];en(d,!1);const f=oy(c,l,d,e);Es()&&Ws(c,l,f,d),qe(f,l),la(l,l[u]=Pm(f,l,f,d)),vs(d)&&uu(c,l,d),null!=s&&du(l,d,a)}let oy=function sy(e,n,t,r){return Bn(!0),n[$].createComment("")};function Iu(e){return Pr(function PM(){return j.lFrame.contextLView}(),Q+e)}function Z(e,n,t){const r=v();return Ze(r,Fr(),n)&&Dt(K(),ve(),r,e,n,r[$],t,!1),Z}function Au(e,n,t,r,i){const s=i?"class":"style";yu(e,t,n.inputs[s],s,r)}function w(e,n,t,r){const i=v(),o=K(),s=Q+e,a=i[$],l=o.firstCreatePass?function HA(e,n,t,r,i,o){const s=n.consts,l=Kr(n,e,2,r,Hn(s,i));return hu(n,t,l,Hn(s,o)),null!==l.attrs&&ca(l,l.attrs,!1),null!==l.mergedAttrs&&ca(l,l.mergedAttrs,!0),null!==n.queries&&n.queries.elementStart(n,l),l}(s,o,i,n,t,r):o.data[s],c=ay(o,i,l,a,n,e);i[s]=c;const u=vs(l);return en(l,!0),xg(a,c,l),32!=(32&l.flags)&&Es()&&Ws(o,i,c,l),0===function SM(){return j.lFrame.elementDepthCount}()&&qe(c,i),function IM(){j.lFrame.elementDepthCount++}(),u&&(uu(o,i,l),cu(o,l,i)),null!==r&&du(i,l),w}function b(){let e=Ue();Jl()?function ec(){j.lFrame.isParent=!1}():(e=e.parent,en(e,!1));const n=e;(function TM(e){return j.skipHydrationRootTNode===e})(n)&&function RM(){j.skipHydrationRootTNode=null}(),function AM(){j.lFrame.elementDepthCount--}();const t=K();return t.firstCreatePass&&(Ms(t,e),Wl(e)&&t.queries.elementEnd(e)),null!=n.classesWithoutHost&&function ZM(e){return 0!=(8&e.flags)}(n)&&Au(t,n,v(),n.classesWithoutHost,!0),null!=n.stylesWithoutHost&&function YM(e){return 0!=(16&e.flags)}(n)&&Au(t,n,v(),n.stylesWithoutHost,!1),b}function te(e,n,t,r){return w(e,n,t,r),b(),te}let ay=(e,n,t,r,i,o)=>(Bn(!0),zs(r,i,function Rp(){return j.lFrame.currentNamespace}()));function Un(){return v()}function mo(e){return!!e&&"function"==typeof e.then}function uy(e){return!!e&&"function"==typeof e.subscribe}function oe(e,n,t,r){const i=v(),o=K(),s=Ue();return function fy(e,n,t,r,i,o,s){const a=vs(r),c=e.firstCreatePass&&function Lm(e){return e.cleanup||(e.cleanup=[])}(e),u=n[Ce],d=function Fm(e){return e[Tr]||(e[Tr]=[])}(n);let f=!0;if(3&r.type||s){const g=at(r,n),y=s?s(g):g,C=d.length,m=s?k=>s(ge(k[r.index])):r.index;let E=null;if(!s&&a&&(E=function WA(e,n,t,r){const i=e.cleanup;if(null!=i)for(let o=0;ol?a[l]:null}"string"==typeof s&&(o+=2)}return null}(e,n,i,r.index)),null!==E)(E.__ngLastListenerFn__||E).__ngNextListenerFn__=o,E.__ngLastListenerFn__=o,f=!1;else{o=py(r,n,u,o,!1);const k=t.listen(y,i,o);d.push(o,k),c&&c.push(i,m,C,C+1)}}else o=py(r,n,u,o,!1);const h=r.outputs;let p;if(f&&null!==h&&(p=h[i])){const g=p.length;if(g)for(let y=0;y-1?lt(e.index,n):n);let l=hy(n,t,r,s),c=o.__ngNextListenerFn__;for(;c;)l=hy(n,t,c,s)&&l,c=c.__ngNextListenerFn__;return i&&!1===l&&s.preventDefault(),l}}function ne(e=1){return function jM(e){return(j.lFrame.contextLView=function HM(e,n){for(;e>0;)n=n[Nr],e--;return n}(e,j.lFrame.contextLView))[Ce]}(e)}function wt(e,n,t){return In(e,"",n,"",t),wt}function In(e,n,t,r,i){const o=v(),s=Jr(o,n,t,r);return s!==U&&Dt(K(),ve(),o,e,s,o[$],i,!1),In}function ya(e,n){return e<<17|n<<2}function zn(e){return e>>17&32767}function Nu(e){return 2|e}function fr(e){return(131068&e)>>2}function Ou(e,n){return-131069&e|n<<2}function Ru(e){return 1|e}function by(e,n,t,r,i){const o=e[t+1],s=null===n;let a=r?zn(o):fr(o),l=!1;for(;0!==a&&(!1===l||s);){const u=e[a+1];tT(e[a],n)&&(l=!0,e[a+1]=r?Ru(u):Nu(u)),a=r?zn(u):fr(u)}l&&(e[t+1]=r?Nu(o):Ru(o))}function tT(e,n){return null===e||null==n||(Array.isArray(e)?e[1]:e)===n||!(!Array.isArray(e)||"string"!=typeof n)&&Ur(e,n)>=0}function Pu(e,n,t){return Ht(e,n,t,!1),Pu}function hr(e,n){return Ht(e,n,null,!0),hr}function Ht(e,n,t,r){const i=v(),o=K(),s=function wn(e){const n=j.lFrame,t=n.bindingIndex;return n.bindingIndex=n.bindingIndex+e,t}(2);o.firstUpdatePass&&function Ny(e,n,t,r){const i=e.data;if(null===i[t+1]){const o=i[Xe()],s=function xy(e,n){return n>=e.expandoStartIndex}(e,t);(function ky(e,n){return 0!=(e.flags&(n?8:16))})(o,r)&&null===n&&!s&&(n=!1),n=function uT(e,n,t,r){const i=function nc(e){const n=j.lFrame.currentDirectiveIndex;return-1===n?null:e[n]}(e);let o=r?n.residualClasses:n.residualStyles;if(null===i)0===(r?n.classBindings:n.styleBindings)&&(t=yo(t=ku(null,e,n,t,r),n.attrs,r),o=null);else{const s=n.directiveStylingLast;if(-1===s||e[s]!==i)if(t=ku(i,e,n,t,r),null===o){let l=function dT(e,n,t){const r=t?n.classBindings:n.styleBindings;if(0!==fr(r))return e[zn(r)]}(e,n,r);void 0!==l&&Array.isArray(l)&&(l=ku(null,e,n,l[1],r),l=yo(l,n.attrs,r),function fT(e,n,t,r){e[zn(t?n.classBindings:n.styleBindings)]=r}(e,n,r,l))}else o=function hT(e,n,t){let r;const i=n.directiveEnd;for(let o=1+n.directiveStylingLast;o0)&&(c=!0)):u=t,i)if(0!==l){const f=zn(e[a+1]);e[r+1]=ya(f,a),0!==f&&(e[f+1]=Ou(e[f+1],r)),e[a+1]=function KA(e,n){return 131071&e|n<<17}(e[a+1],r)}else e[r+1]=ya(a,0),0!==a&&(e[a+1]=Ou(e[a+1],r)),a=r;else e[r+1]=ya(l,0),0===a?a=r:e[l+1]=Ou(e[l+1],r),l=r;c&&(e[r+1]=Nu(e[r+1])),by(e,u,r,!0),by(e,u,r,!1),function eT(e,n,t,r,i){const o=i?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof n&&Ur(o,n)>=0&&(t[r+1]=Ru(t[r+1]))}(n,u,e,r,o),s=ya(a,l),o?n.classBindings=s:n.styleBindings=s}(i,o,n,t,s,r)}}(o,e,s,r),n!==U&&Ze(i,s,n)&&function Ry(e,n,t,r,i,o,s,a){if(!(3&n.type))return;const l=e.data,c=l[a+1],u=function XA(e){return 1==(1&e)}(c)?Py(l,n,t,i,fr(c),s):void 0;va(u)||(va(o)||function QA(e){return 2==(2&e)}(c)&&(o=Py(l,null,t,i,a,s)),function rI(e,n,t,r,i){if(n)i?e.addClass(t,r):e.removeClass(t,r);else{let o=-1===r.indexOf("-")?void 0:ct.DashCase;null==i?e.removeStyle(t,r,o):("string"==typeof i&&i.endsWith("!important")&&(i=i.slice(0,-10),o|=ct.Important),e.setStyle(t,r,i,o))}}(r,s,ws(Xe(),t),i,o))}(o,o.data[Xe()],i,i[$],e,i[s+1]=function yT(e,n){return null==e||""===e||("string"==typeof n?e+=n:"object"==typeof e&&(e=Pe($n(e)))),e}(n,t),r,s)}function ku(e,n,t,r,i){let o=null;const s=t.directiveEnd;let a=t.directiveStylingLast;for(-1===a?a=t.directiveStart:a++;a0;){const l=e[i],c=Array.isArray(l),u=c?l[1]:l,d=null===u;let f=t[i+1];f===U&&(f=d?X:void 0);let h=d?pc(f,r):u===r?f:void 0;if(c&&!va(h)&&(h=pc(l,r)),va(h)&&(a=h,s))return a;const p=e[i+1];i=s?zn(p):fr(p)}if(null!==n){let l=o?n.residualClasses:n.residualStyles;null!=l&&(a=pc(l,r))}return a}function va(e){return void 0!==e}function x(e,n=""){const t=v(),r=K(),i=e+Q,o=r.firstCreatePass?Kr(r,i,1,n,null):r.data[i],s=Fy(r,t,o,n,e);t[i]=s,Es()&&Ws(r,t,s,o),en(o,!1)}let Fy=(e,n,t,r,i)=>(Bn(!0),function Us(e,n){return e.createText(n)}(n[$],r));function bt(e){return vo("",e,""),bt}function vo(e,n,t){const r=v(),i=Jr(r,e,n,t);return i!==U&&function Sn(e,n,t){const r=ws(n,e);!function mg(e,n,t){e.setValue(n,t)}(e[$],r,t)}(r,Xe(),i),vo}const ci="en-US";let iv=ci;function Vu(e,n,t,r,i){if(e=H(e),Array.isArray(e))for(let o=0;o>20;if(lr(e)||!e.multi){const h=new Bi(l,i,D),p=Hu(a,n,i?u:u+f,d);-1===p?(dc(Ns(c,s),o,a),ju(o,e,n.length),n.push(a),c.directiveStart++,c.directiveEnd++,i&&(c.providerIndexes+=1048576),t.push(h),s.push(h)):(t[p]=h,s[p]=h)}else{const h=Hu(a,n,u+f,d),p=Hu(a,n,u,u+f),y=p>=0&&t[p];if(i&&!y||!i&&!(h>=0&&t[h])){dc(Ns(c,s),o,a);const C=function Lx(e,n,t,r,i){const o=new Bi(e,t,D);return o.multi=[],o.index=n,o.componentProviders=0,Tv(o,i,r&&!t),o}(i?Fx:kx,t.length,i,r,l);!i&&y&&(t[p].providerFactory=C),ju(o,e,n.length,0),n.push(a),c.directiveStart++,c.directiveEnd++,i&&(c.providerIndexes+=1048576),t.push(C),s.push(C)}else ju(o,e,h>-1?h:p,Tv(t[i?p:h],l,!i&&r));!i&&r&&y&&t[p].componentProviders++}}}function ju(e,n,t,r){const i=lr(n),o=function RI(e){return!!e.useClass}(n);if(i||o){const l=(o?H(n.useClass):n).prototype.ngOnDestroy;if(l){const c=e.destroyHooks||(e.destroyHooks=[]);if(!i&&n.multi){const u=c.indexOf(t);-1===u?c.push(t,[r,l]):c[u+1].push(r,l)}else c.push(t,l)}}}function Tv(e,n,t){return t&&e.componentProviders++,e.multi.push(n)-1}function Hu(e,n,t,r){for(let i=t;i{t.providersResolver=(r,i)=>function Px(e,n,t){const r=K();if(r.firstCreatePass){const i=jt(e);Vu(t,r.data,r.blueprint,i,!0),Vu(n,r.data,r.blueprint,i,!1)}}(r,i?i(e):e,n)}}class ui{}class xv{}class $u extends ui{constructor(n,t,r){super(),this._parent=t,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Bm(this);const i=yt(n);this._bootstrapComponents=Mn(i.bootstrap),this._r3Injector=Em(n,t,[{provide:ui,useValue:this},{provide:ia,useValue:this.componentFactoryResolver},...r],Pe(n),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(n)}get injector(){return this._r3Injector}destroy(){const n=this._r3Injector;!n.destroyed&&n.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(n){this.destroyCbs.push(n)}}class Uu extends xv{constructor(n){super(),this.moduleType=n}create(n){return new $u(this.moduleType,n,[])}}class Nv extends ui{constructor(n){super(),this.componentFactoryResolver=new Bm(this),this.instance=null;const t=new qc([...n.providers,{provide:ui,useValue:this},{provide:ia,useValue:this.componentFactoryResolver}],n.parent||Xs(),n.debugName,new Set(["environment"]));this.injector=t,n.runEnvironmentInitializers&&t.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}}function zu(e,n,t=null){return new Nv({providers:e,parent:n,debugName:t,runEnvironmentInitializers:!0}).injector}let Hx=(()=>{class e{constructor(t){this._injector=t,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(t){if(!t.standalone)return null;if(!this.cachedInjectors.has(t.id)){const r=Wg(0,t.type),i=r.length>0?zu([r],this._injector,`Standalone[${t.type.name}]`):null;this.cachedInjectors.set(t.id,i)}return this.cachedInjectors.get(t.id)}ngOnDestroy(){try{for(const t of this.cachedInjectors.values())null!==t&&t.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=O({token:e,providedIn:"environment",factory:()=>new e(N(nn))})}return e})();function Ov(e){e.getStandaloneInjector=n=>n.get(Hx).getOrCreateStandaloneInjector(e)}function jv(e,n,t,r){return function Hv(e,n,t,r,i,o){const s=n+t;return Ze(e,s,i)?sn(e,s+1,o?r.call(o,i):r(i)):Eo(e,s+1)}(v(),Ke(),e,n,t,r)}function Eo(e,n){const t=e[n];return t===U?void 0:t}function Bv(e,n,t,r,i,o,s){const a=n+t;return function dr(e,n,t,r){const i=Ze(e,n,t);return Ze(e,n+1,r)||i}(e,a,i,o)?sn(e,a+2,s?r.call(s,i,o):r(i,o)):Eo(e,a+2)}function Wu(e,n){const t=K();let r;const i=e+Q;t.firstCreatePass?(r=function iN(e,n){if(n)for(let t=n.length-1;t>=0;t--){const r=n[t];if(e===r.name)return r}}(n,t.pipeRegistry),t.data[i]=r,r.onDestroy&&(t.destroyHooks??=[]).push(i,r.onDestroy)):r=t.data[i];const o=r.factory||(r.factory=ir(r.type)),s=it(D);try{const a=xs(!1),l=o();return xs(a),function jA(e,n,t,r){t>=e.data.length&&(e.data[t]=null,e.blueprint[t]=null),n[t]=r}(t,v(),i,l),l}finally{it(s)}}function qu(e,n,t,r){const i=e+Q,o=v(),s=Pr(o,i);return function Mo(e,n){return e[M].data[n].pure}(o,i)?Bv(o,Ke(),n,s.transform,t,r,s):s.transform(t,r)}function Zu(e){return n=>{setTimeout(e,void 0,n)}}const ce=class cN extends hn{constructor(n=!1){super(),this.__isAsync=n}emit(n){super.next(n)}subscribe(n,t,r){let i=n,o=t||(()=>null),s=r;if(n&&"object"==typeof n){const l=n;i=l.next?.bind(l),o=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(o=Zu(o),i&&(i=Zu(i)),s&&(s=Zu(s)));const a=super.subscribe({next:i,error:o,complete:s});return n instanceof It&&n.add(a),a}};class Yu{static#e=Symbol.iterator;get changes(){return this._changes||(this._changes=new ce)}constructor(n=!1){this._emitDistinctChangesOnly=n,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const t=Yu.prototype;t[Symbol.iterator]||(t[Symbol.iterator]=uN)}get(n){return this._results[n]}map(n){return this._results.map(n)}filter(n){return this._results.filter(n)}find(n){return this._results.find(n)}reduce(n,t){return this._results.reduce(n,t)}forEach(n){this._results.forEach(n)}some(n){return this._results.some(n)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(n,t){const r=this;r.dirty=!1;const i=Ot(n);(this._changesDetected=!function sS(e,n,t){if(e.length!==n.length)return!1;for(let r=0;r{class e{static#e=this.__NG_ELEMENT_ID__=hN}return e})();const dN=An,fN=class extends dN{constructor(n,t,r){super(),this._declarationLView=n,this._declarationTContainer=t,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,t){return this.createEmbeddedViewImpl(n,t,null)}createEmbeddedViewImpl(n,t,r){const i=this._declarationTContainer.tView,o=aa(this._declarationLView,i,n,16,null,i.declTNode,null,null,null,t||null,r||null);o[Li]=this._declarationLView[this._declarationTContainer.index];const a=this._declarationLView[Qt];return null!==a&&(o[Qt]=a.createEmbeddedView(i)),vu(i,o,n),new co(o)}};function hN(){return ba(Ue(),v())}function ba(e,n){return 4&e.type?new fN(n,e,Yr(e,n)):null}let $t=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=DN}return e})();function DN(){return function Qv(e,n){let t;const r=n[e.index];return st(r)?t=r:(t=Pm(r,n,null,e),n[e.index]=t,la(n,t)),Kv(t,n,e,r),new Zv(t,e,n)}(Ue(),v())}const CN=$t,Zv=class extends CN{constructor(n,t,r){super(),this._lContainer=n,this._hostTNode=t,this._hostLView=r}get element(){return Yr(this._hostTNode,this._hostLView)}get injector(){return new Vr(this._hostTNode,this._hostLView)}get parentInjector(){const n=uc(this._hostTNode,this._hostLView);if(Lp(n)){const t=Ts(n,this._hostLView),r=As(n);return new Vr(t[M].data[r+8],t)}return new Vr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){const t=Yv(this._lContainer);return null!==t&&t[n]||null}get length(){return this._lContainer.length-$e}createEmbeddedView(n,t,r){let i,o;"number"==typeof r?i=r:null!=r&&(i=r.index,o=r.injector);const a=n.createEmbeddedViewImpl(t||{},o,null);return this.insertImpl(a,i,false),a}createComponent(n,t,r,i,o){const s=n&&!function Ui(e){return"function"==typeof e}(n);let a;if(s)a=t;else{const g=t||{};a=g.index,r=g.injector,i=g.projectableNodes,o=g.environmentInjector||g.ngModuleRef}const l=s?n:new uo(ee(n)),c=r||this.parentInjector;if(!o&&null==l.ngModule){const y=(s?c:this.parentInjector).get(nn,null);y&&(o=y)}ee(l.componentType??{});const h=l.create(c,i,null,o);return this.insertImpl(h.hostView,a,false),h}insert(n,t){return this.insertImpl(n,t,!1)}insertImpl(n,t,r){const i=n._lView,o=i[M];if(function bM(e){return st(e[ye])}(i)){const l=this.indexOf(n);if(-1!==l)this.detach(l);else{const c=i[ye],u=new Zv(c,c[We],c[ye]);u.detach(u.indexOf(n))}}const s=this._adjustIndex(t),a=this._lContainer;if(function YS(e,n,t,r){const i=$e+r,o=t.length;r>0&&(t[i-1][Vt]=n),r{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((t,r)=>{this.resolve=t,this.reject=r}),this.appInits=I(cd,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const t=[];for(const i of this.appInits){const o=i();if(mo(o))t.push(o);else if(uy(o)){const s=new Promise((a,l)=>{o.subscribe({complete:a,error:l})});t.push(s)}}const r=()=>{this.done=!0,this.resolve()};Promise.all(t).then(()=>{r()}).catch(i=>{this.reject(i)}),0===t.length&&r(),this.initialized=!0}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),b_=(()=>{class e{log(t){console.log(t)}warn(t){console.warn(t)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();const Tn=new A("LocaleId",{providedIn:"root",factory:()=>I(Tn,R.Optional|R.SkipSelf)||function XN(){return typeof $localize<"u"&&$localize.locale||ci}()});let Ma=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new At(!1)}add(){this.hasPendingTasks.next(!0);const t=this.taskId++;return this.pendingTasks.add(t),t}remove(t){this.pendingTasks.delete(t),0===this.pendingTasks.size&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();class eO{constructor(n,t){this.ngModuleFactory=n,this.componentFactories=t}}let E_=(()=>{class e{compileModuleSync(t){return new Uu(t)}compileModuleAsync(t){return Promise.resolve(this.compileModuleSync(t))}compileModuleAndAllComponentsSync(t){const r=this.compileModuleSync(t),o=Mn(yt(t).declarations).reduce((s,a)=>{const l=ee(a);return l&&s.push(new uo(l)),s},[]);return new eO(r,o)}compileModuleAndAllComponentsAsync(t){return Promise.resolve(this.compileModuleAndAllComponentsSync(t))}clearCache(){}clearCacheFor(t){}getModuleId(t){}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const rO=(()=>Promise.resolve(0))();function dd(e){typeof Zone>"u"?rO.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}function I_(...e){}class _e{constructor({enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:t=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ce(!1),this.onMicrotaskEmpty=new ce(!1),this.onStable=new ce(!1),this.onError=new ce(!1),typeof Zone>"u")throw new _(908,!1);Zone.assertZonePatched();const i=this;i._nesting=0,i._outer=i._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(i._inner=i._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(i._inner=i._inner.fork(Zone.longStackTraceZoneSpec)),i.shouldCoalesceEventChangeDetection=!r&&t,i.shouldCoalesceRunChangeDetection=r,i.lastRequestAnimationFrameId=-1,i.nativeRequestAnimationFrame=function iO(){let e=he.requestAnimationFrame,n=he.cancelAnimationFrame;if(typeof Zone<"u"&&e&&n){const t=e[Zone.__symbol__("OriginalDelegate")];t&&(e=t);const r=n[Zone.__symbol__("OriginalDelegate")];r&&(n=r)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:n}}().nativeRequestAnimationFrame,function aO(e){const n=()=>{!function sO(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(he,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,hd(e),e.isCheckStableRunning=!0,fd(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),hd(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(t,r,i,o,s,a)=>{try{return A_(e),t.invokeTask(i,o,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||e.shouldCoalesceRunChangeDetection)&&n(),T_(e)}},onInvoke:(t,r,i,o,s,a,l)=>{try{return A_(e),t.invoke(i,o,s,a,l)}finally{e.shouldCoalesceRunChangeDetection&&n(),T_(e)}},onHasTask:(t,r,i,o)=>{t.hasTask(i,o),r===i&&("microTask"==o.change?(e._hasPendingMicrotasks=o.microTask,hd(e),fd(e)):"macroTask"==o.change&&(e.hasPendingMacrotasks=o.macroTask))},onHandleError:(t,r,i,o)=>(t.handleError(i,o),e.runOutsideAngular(()=>e.onError.emit(o)),!1)})}(i)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!_e.isInAngularZone())throw new _(909,!1)}static assertNotInAngularZone(){if(_e.isInAngularZone())throw new _(909,!1)}run(n,t,r){return this._inner.run(n,t,r)}runTask(n,t,r,i){const o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+i,n,oO,I_,I_);try{return o.runTask(s,t,r)}finally{o.cancelTask(s)}}runGuarded(n,t,r){return this._inner.runGuarded(n,t,r)}runOutsideAngular(n){return this._outer.run(n)}}const oO={};function fd(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 hd(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function A_(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function T_(e){e._nesting--,fd(e)}class lO{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ce,this.onMicrotaskEmpty=new ce,this.onStable=new ce,this.onError=new ce}run(n,t,r){return n.apply(t,r)}runGuarded(n,t,r){return n.apply(t,r)}runOutsideAngular(n){return n()}runTask(n,t,r,i){return n.apply(t,r)}}const x_=new A("",{providedIn:"root",factory:N_});function N_(){const e=I(_e);let n=!0;return function CE(...e){const n=Ni(e),t=function pE(e,n){return"number"==typeof Ol(e)?e.pop():n}(e,1/0),r=e;return r.length?1===r.length?Tt(r[0]):Mr(t)(Re(r,n)):Zt}(new be(i=>{n=e.isStable&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks,e.runOutsideAngular(()=>{i.next(n),i.complete()})}),new be(i=>{let o;e.runOutsideAngular(()=>{o=e.onStable.subscribe(()=>{_e.assertNotInAngularZone(),dd(()=>{!n&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks&&(n=!0,i.next(!0))})})});const s=e.onUnstable.subscribe(()=>{_e.assertInAngularZone(),n&&(n=!1,e.runOutsideAngular(()=>{i.next(!1)}))});return()=>{o.unsubscribe(),s.unsubscribe()}}).pipe(Oh()))}const O_=new A(""),Sa=new A("");let md,pd=(()=>{class e{constructor(t,r,i){this._ngZone=t,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,md||(function cO(e){md=e}(i),i.addToWindow(r)),this._watchAngularEvents(),t.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(),dd(()=>{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())dd(()=>{for(;0!==this._callbacks.length;){let t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb(this._didWork)}this._didWork=!1});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(t)||(clearTimeout(r.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,r,i){let o=-1;r&&r>0&&(o=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==o),t(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:t,timeoutId:o,updateCb:i})}whenStable(t,r,i){if(i&&!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(t,r,i),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(t){this.registry.registerApplication(t,this)}unregisterApplication(t){this.registry.unregisterApplication(t)}findProviders(t,r,i){return[]}static#e=this.\u0275fac=function(r){return new(r||e)(N(_e),N(gd),N(Sa))};static#t=this.\u0275prov=O({token:e,factory:e.\u0275fac})}return e})(),gd=(()=>{class e{constructor(){this._applications=new Map}registerApplication(t,r){this._applications.set(t,r)}unregisterApplication(t){this._applications.delete(t)}unregisterAllApplications(){this._applications.clear()}getTestability(t){return this._applications.get(t)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(t,r=!0){return md?.findTestabilityInTree(this,t,r)??null}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),Gn=null;const R_=new A("AllowMultipleToken"),yd=new A("PlatformDestroyListeners"),vd=new A("appBootstrapListener");class k_{constructor(n,t){this.name=n,this.token=t}}function L_(e,n,t=[]){const r=`Platform: ${n}`,i=new A(r);return(o=[])=>{let s=_d();if(!s||s.injector.get(R_,!1)){const a=[...t,...o,{provide:i,useValue:!0}];e?e(a):function fO(e){if(Gn&&!Gn.get(R_,!1))throw new _(400,!1);(function P_(){!function fM(e){lp=e}(()=>{throw new _(600,!1)})})(),Gn=e;const n=e.get(j_);(function F_(e){e.get(Kg,null)?.forEach(t=>t())})(e)}(function V_(e=[],n){return rn.create({name:n,providers:[{provide:Gc,useValue:"platform"},{provide:yd,useValue:new Set([()=>Gn=null])},...e]})}(a,r))}return function pO(e){const n=_d();if(!n)throw new _(401,!1);return n}()}}function _d(){return Gn?.get(j_)??null}let j_=(()=>{class e{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,r){const i=function gO(e="zone.js",n){return"noop"===e?new lO:"zone.js"===e?new _e(n):e}(r?.ngZone,function H_(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing}));return i.run(()=>{const o=function jx(e,n,t){return new $u(e,n,t)}(t.moduleType,this.injector,function G_(e){return[{provide:_e,useFactory:e},{provide:to,multi:!0,useFactory:()=>{const n=I(yO,{optional:!0});return()=>n.initialize()}},{provide:z_,useFactory:mO},{provide:x_,useFactory:N_}]}(()=>i)),s=o.injector.get(ur,null);return i.runOutsideAngular(()=>{const a=i.onError.subscribe({next:l=>{s.handleError(l)}});o.onDestroy(()=>{Ia(this._modules,o),a.unsubscribe()})}),function B_(e,n,t){try{const r=t();return mo(r)?r.catch(i=>{throw n.runOutsideAngular(()=>e.handleError(i)),i}):r}catch(r){throw n.runOutsideAngular(()=>e.handleError(r)),r}}(s,i,()=>{const a=o.injector.get(ud);return a.runInitializers(),a.donePromise.then(()=>(function ov(e){xt(e,"Expected localeId to be defined"),"string"==typeof e&&(iv=e.toLowerCase().replace(/_/g,"-"))}(o.injector.get(Tn,ci)||ci),this._moduleDoBootstrap(o),o))})})}bootstrapModule(t,r=[]){const i=$_({},r);return function uO(e,n,t){const r=new Uu(t);return Promise.resolve(r)}(0,0,t).then(o=>this.bootstrapModuleFactory(o,i))}_moduleDoBootstrap(t){const r=t.injector.get(hi);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(i=>r.bootstrap(i));else{if(!t.instance.ngDoBootstrap)throw new _(-403,!1);t.instance.ngDoBootstrap(r)}this._modules.push(t)}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new _(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const t=this._injector.get(yd,null);t&&(t.forEach(r=>r()),t.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(r){return new(r||e)(N(rn))};static#t=this.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function $_(e,n){return Array.isArray(n)?n.reduce($_,e):{...e,...n}}let hi=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=I(z_),this.zoneIsStable=I(x_),this.componentTypes=[],this.components=[],this.isStable=I(Ma).hasPendingTasks.pipe(He(t=>t?L(!1):this.zoneIsStable),function wE(e,n=kn){return e=e??bE,je((t,r)=>{let i,o=!0;t.subscribe(Oe(r,s=>{const a=n(s);(o||!e(i,a))&&(o=!1,i=a,r.next(s))}))})}(),Oh()),this._injector=I(nn)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(t,r){const i=t instanceof im;if(!this._injector.get(ud).done)throw!i&&function Ar(e){const n=ee(e)||Ge(e)||ot(e);return null!==n&&n.standalone}(t),new _(405,!1);let s;s=i?t:this._injector.get(ia).resolveComponentFactory(t),this.componentTypes.push(s.componentType);const a=function dO(e){return e.isBoundToModule}(s)?void 0:this._injector.get(ui),c=s.create(rn.NULL,[],r||s.selector,a),u=c.location.nativeElement,d=c.injector.get(O_,null);return d?.registerApplication(u),c.onDestroy(()=>{this.detachView(c.hostView),Ia(this.components,c),d?.unregisterApplication(u)}),this._loadComponent(c),c}tick(){if(this._runningTick)throw new _(101,!1);try{this._runningTick=!0;for(let t of this._views)t.detectChanges()}catch(t){this.internalErrorHandler(t)}finally{this._runningTick=!1}}attachView(t){const r=t;this._views.push(r),r.attachToAppRef(this)}detachView(t){const r=t;Ia(this._views,r),r.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t);const r=this._injector.get(vd,[]);r.push(...this._bootstrapListeners),r.forEach(i=>i(t))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(t=>t()),this._views.slice().forEach(t=>t.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(t){return this._destroyListeners.push(t),()=>Ia(this._destroyListeners,t)}destroy(){if(this._destroyed)throw new _(406,!1);const t=this._injector;t.destroy&&!t.destroyed&&t.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Ia(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}const z_=new A("",{providedIn:"root",factory:()=>I(ur).handleError.bind(void 0)});function mO(){const e=I(_e),n=I(ur);return t=>e.runOutsideAngular(()=>n.handleError(t))}let yO=(()=>{class e{constructor(){this.zone=I(_e),this.applicationRef=I(hi)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();let Io=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=_O}return e})();function _O(e){return function DO(e,n,t){if(rr(e)&&!t){const r=lt(e.index,n);return new co(r,r)}return 47&e.type?new co(n[Ie],n):null}(Ue(),v(),16==(16&e))}class Y_{constructor(){}supports(n){return fa(n)}create(n){return new SO(n)}}const MO=(e,n)=>n;class SO{constructor(n){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=n||MO}forEachItem(n){let t;for(t=this._itHead;null!==t;t=t._next)n(t)}forEachOperation(n){let t=this._itHead,r=this._removalsHead,i=0,o=null;for(;t||r;){const s=!r||t&&t.currentIndex{s=this._trackByFn(i,a),null!==t&&Object.is(t.trackById,s)?(r&&(t=this._verifyReinsertion(t,a,s,i)),Object.is(t.item,a)||this._addIdentityChange(t,a)):(t=this._mismatch(t,a,s,i),r=!0),t=t._next,i++}),this.length=i;return this._truncate(t),this.collection=n,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let n;for(n=this._previousItHead=this._itHead;null!==n;n=n._next)n._nextPrevious=n._next;for(n=this._additionsHead;null!==n;n=n._nextAdded)n.previousIndex=n.currentIndex;for(this._additionsHead=this._additionsTail=null,n=this._movesHead;null!==n;n=n._nextMoved)n.previousIndex=n.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(n,t,r,i){let o;return null===n?o=this._itTail:(o=n._prev,this._remove(n)),null!==(n=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(n.item,t)||this._addIdentityChange(n,t),this._reinsertAfter(n,o,i)):null!==(n=null===this._linkedRecords?null:this._linkedRecords.get(r,i))?(Object.is(n.item,t)||this._addIdentityChange(n,t),this._moveAfter(n,o,i)):n=this._addAfter(new IO(t,r),o,i),n}_verifyReinsertion(n,t,r,i){let o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==o?n=this._reinsertAfter(o,n._prev,i):n.currentIndex!=i&&(n.currentIndex=i,this._addToMoves(n,i)),n}_truncate(n){for(;null!==n;){const t=n._next;this._addToRemovals(this._unlink(n)),n=t}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(n,t,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(n);const i=n._prevRemoved,o=n._nextRemoved;return null===i?this._removalsHead=o:i._nextRemoved=o,null===o?this._removalsTail=i:o._prevRemoved=i,this._insertAfter(n,t,r),this._addToMoves(n,r),n}_moveAfter(n,t,r){return this._unlink(n),this._insertAfter(n,t,r),this._addToMoves(n,r),n}_addAfter(n,t,r){return this._insertAfter(n,t,r),this._additionsTail=null===this._additionsTail?this._additionsHead=n:this._additionsTail._nextAdded=n,n}_insertAfter(n,t,r){const i=null===t?this._itHead:t._next;return n._next=i,n._prev=t,null===i?this._itTail=n:i._prev=n,null===t?this._itHead=n:t._next=n,null===this._linkedRecords&&(this._linkedRecords=new Q_),this._linkedRecords.put(n),n.currentIndex=r,n}_remove(n){return this._addToRemovals(this._unlink(n))}_unlink(n){null!==this._linkedRecords&&this._linkedRecords.remove(n);const t=n._prev,r=n._next;return null===t?this._itHead=r:t._next=r,null===r?this._itTail=t:r._prev=t,n}_addToMoves(n,t){return n.previousIndex===t||(this._movesTail=null===this._movesTail?this._movesHead=n:this._movesTail._nextMoved=n),n}_addToRemovals(n){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Q_),this._unlinkedRecords.put(n),n.currentIndex=null,n._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=n,n._prevRemoved=null):(n._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=n),n}_addIdentityChange(n,t){return n.item=t,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=n:this._identityChangesTail._nextIdentityChange=n,n}}class IO{constructor(n,t){this.item=n,this.trackById=t,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 AO{constructor(){this._head=null,this._tail=null}add(n){null===this._head?(this._head=this._tail=n,n._nextDup=null,n._prevDup=null):(this._tail._nextDup=n,n._prevDup=this._tail,n._nextDup=null,this._tail=n)}get(n,t){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===t||t<=r.currentIndex)&&Object.is(r.trackById,n))return r;return null}remove(n){const t=n._prevDup,r=n._nextDup;return null===t?this._head=r:t._nextDup=r,null===r?this._tail=t:r._prevDup=t,null===this._head}}class Q_{constructor(){this.map=new Map}put(n){const t=n.trackById;let r=this.map.get(t);r||(r=new AO,this.map.set(t,r)),r.add(n)}get(n,t){const i=this.map.get(n);return i?i.get(n,t):null}remove(n){const t=n.trackById;return this.map.get(t).remove(n)&&this.map.delete(t),n}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function K_(e,n,t){const r=e.previousIndex;if(null===r)return r;let i=0;return t&&r{if(t&&t.key===i)this._maybeAddToChanges(t,r),this._appendAfter=t,t=t._next;else{const o=this._getOrCreateRecordForKey(i,r);t=this._insertBeforeOrAppend(t,o)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let r=t;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(n,t){if(n){const r=n._prev;return t._next=n,t._prev=r,n._prev=t,r&&(r._next=t),n===this._mapHead&&(this._mapHead=t),this._appendAfter=n,n}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}_getOrCreateRecordForKey(n,t){if(this._records.has(n)){const i=this._records.get(n);this._maybeAddToChanges(i,t);const o=i._prev,s=i._next;return o&&(o._next=s),s&&(s._prev=o),i._next=null,i._prev=null,i}const r=new xO(n);return this._records.set(n,r),r.currentValue=t,this._addToAdditions(r),r}_reset(){if(this.isDirty){let n;for(this._previousMapHead=this._mapHead,n=this._previousMapHead;null!==n;n=n._next)n._nextPrevious=n._next;for(n=this._changesHead;null!==n;n=n._nextChanged)n.previousValue=n.currentValue;for(n=this._additionsHead;null!=n;n=n._nextAdded)n.previousValue=n.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(n,t){Object.is(t,n.currentValue)||(n.previousValue=n.currentValue,n.currentValue=t,this._addToChanges(n))}_addToAdditions(n){null===this._additionsHead?this._additionsHead=this._additionsTail=n:(this._additionsTail._nextAdded=n,this._additionsTail=n)}_addToChanges(n){null===this._changesHead?this._changesHead=this._changesTail=n:(this._changesTail._nextChanged=n,this._changesTail=n)}_forEach(n,t){n instanceof Map?n.forEach(t):Object.keys(n).forEach(r=>t(n[r],r))}}class xO{constructor(n){this.key=n,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function J_(){return new xa([new Y_])}let xa=(()=>{class e{static#e=this.\u0275prov=O({token:e,providedIn:"root",factory:J_});constructor(t){this.factories=t}static create(t,r){if(null!=r){const i=r.factories.slice();t=t.concat(i)}return new e(t)}static extend(t){return{provide:e,useFactory:r=>e.create(t,r||J_()),deps:[[e,new Ls,new Fs]]}}find(t){const r=this.factories.find(i=>i.supports(t));if(null!=r)return r;throw new _(901,!1)}}return e})();function eD(){return new Ao([new X_])}let Ao=(()=>{class e{static#e=this.\u0275prov=O({token:e,providedIn:"root",factory:eD});constructor(t){this.factories=t}static create(t,r){if(r){const i=r.factories.slice();t=t.concat(i)}return new e(t)}static extend(t){return{provide:e,useFactory:r=>e.create(t,r||eD()),deps:[[e,new Ls,new Fs]]}}find(t){const r=this.factories.find(i=>i.supports(t));if(r)return r;throw new _(901,!1)}}return e})();const RO=L_(null,"core",[]);let PO=(()=>{class e{constructor(t){}static#e=this.\u0275fac=function(r){return new(r||e)(N(hi))};static#t=this.\u0275mod=mt({type:e});static#n=this.\u0275inj=rt({})}return e})();let Sd=null;function Wn(){return Sd}class WO{}const Et=new A("DocumentToken");let Id=(()=>{class e{historyGo(t){throw new Error("Not implemented")}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=O({token:e,factory:function(){return I(ZO)},providedIn:"platform"})}return e})();const qO=new A("Location Initialized");let ZO=(()=>{class e extends Id{constructor(){super(),this._doc=I(Et),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Wn().getBaseHref(this._doc)}onPopState(t){const r=Wn().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",t,!1),()=>r.removeEventListener("popstate",t)}onHashChange(t){const r=Wn().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",t,!1),()=>r.removeEventListener("hashchange",t)}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(t){this._location.pathname=t}pushState(t,r,i){this._history.pushState(t,r,i)}replaceState(t,r,i){this._history.replaceState(t,r,i)}forward(){this._history.forward()}back(){this._history.back()}historyGo(t=0){this._history.go(t)}getState(){return this._history.state}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=O({token:e,factory:function(){return new e},providedIn:"platform"})}return e})();function Ad(e,n){if(0==e.length)return n;if(0==n.length)return e;let t=0;return e.endsWith("/")&&t++,n.startsWith("/")&&t++,2==t?e+n.substring(1):1==t?e+n:e+"/"+n}function aD(e){const n=e.match(/#|\?|$/),t=n&&n.index||e.length;return e.slice(0,t-("/"===e[t-1]?1:0))+e.slice(t)}function xn(e){return e&&"?"!==e[0]?"?"+e:e}let mr=(()=>{class e{historyGo(t){throw new Error("Not implemented")}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=O({token:e,factory:function(){return I(cD)},providedIn:"root"})}return e})();const lD=new A("appBaseHref");let cD=(()=>{class e extends mr{constructor(t,r){super(),this._platformLocation=t,this._removeListenerFns=[],this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??I(Et).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return Ad(this._baseHref,t)}path(t=!1){const r=this._platformLocation.pathname+xn(this._platformLocation.search),i=this._platformLocation.hash;return i&&t?`${r}${i}`:r}pushState(t,r,i,o){const s=this.prepareExternalUrl(i+xn(o));this._platformLocation.pushState(t,r,s)}replaceState(t,r,i,o){const s=this.prepareExternalUrl(i+xn(o));this._platformLocation.replaceState(t,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}static#e=this.\u0275fac=function(r){return new(r||e)(N(Id),N(lD,8))};static#t=this.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),YO=(()=>{class e extends mr{constructor(t,r){super(),this._platformLocation=t,this._baseHref="",this._removeListenerFns=[],null!=r&&(this._baseHref=r)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}path(t=!1){let r=this._platformLocation.hash;return null==r&&(r="#"),r.length>0?r.substring(1):r}prepareExternalUrl(t){const r=Ad(this._baseHref,t);return r.length>0?"#"+r:r}pushState(t,r,i,o){let s=this.prepareExternalUrl(i+xn(o));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(t,r,s)}replaceState(t,r,i,o){let s=this.prepareExternalUrl(i+xn(o));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(t,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}static#e=this.\u0275fac=function(r){return new(r||e)(N(Id),N(lD,8))};static#t=this.\u0275prov=O({token:e,factory:e.\u0275fac})}return e})(),Td=(()=>{class e{constructor(t){this._subject=new ce,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=t;const r=this._locationStrategy.getBaseHref();this._basePath=function XO(e){if(new RegExp("^(https?:)?//").test(e)){const[,t]=e.split(/\/\/[^\/]+/);return t}return e}(aD(uD(r))),this._locationStrategy.onPopState(i=>{this._subject.emit({url:this.path(!0),pop:!0,state:i.state,type:i.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(t=!1){return this.normalize(this._locationStrategy.path(t))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(t,r=""){return this.path()==this.normalize(t+xn(r))}normalize(t){return e.stripTrailingSlash(function KO(e,n){if(!e||!n.startsWith(e))return n;const t=n.substring(e.length);return""===t||["/",";","?","#"].includes(t[0])?t:n}(this._basePath,uD(t)))}prepareExternalUrl(t){return t&&"/"!==t[0]&&(t="/"+t),this._locationStrategy.prepareExternalUrl(t)}go(t,r="",i=null){this._locationStrategy.pushState(i,"",t,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+xn(r)),i)}replaceState(t,r="",i=null){this._locationStrategy.replaceState(i,"",t,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+xn(r)),i)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(t=0){this._locationStrategy.historyGo?.(t)}onUrlChange(t){return this._urlChangeListeners.push(t),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)})),()=>{const r=this._urlChangeListeners.indexOf(t);this._urlChangeListeners.splice(r,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(t="",r){this._urlChangeListeners.forEach(i=>i(t,r))}subscribe(t,r,i){return this._subject.subscribe({next:t,error:r,complete:i})}static#e=this.normalizeQueryParams=xn;static#t=this.joinWithSlash=Ad;static#n=this.stripTrailingSlash=aD;static#r=this.\u0275fac=function(r){return new(r||e)(N(mr))};static#i=this.\u0275prov=O({token:e,factory:function(){return function QO(){return new Td(N(mr))}()},providedIn:"root"})}return e})();function uD(e){return e.replace(/\/index.html$/,"")}function _D(e,n){n=encodeURIComponent(n);for(const t of e.split(";")){const r=t.indexOf("="),[i,o]=-1==r?[t,""]:[t.slice(0,r),t.slice(r+1)];if(i.trim()===n)return decodeURIComponent(o)}return null}const jd=/\s+/,DD=[];let CD=(()=>{class e{constructor(t,r,i,o){this._iterableDiffers=t,this._keyValueDiffers=r,this._ngEl=i,this._renderer=o,this.initialClasses=DD,this.stateMap=new Map}set klass(t){this.initialClasses=null!=t?t.trim().split(jd):DD}set ngClass(t){this.rawClass="string"==typeof t?t.trim().split(jd):t}ngDoCheck(){for(const r of this.initialClasses)this._updateState(r,!0);const t=this.rawClass;if(Array.isArray(t)||t instanceof Set)for(const r of t)this._updateState(r,!0);else if(null!=t)for(const r of Object.keys(t))this._updateState(r,!!t[r]);this._applyStateDiff()}_updateState(t,r){const i=this.stateMap.get(t);void 0!==i?(i.enabled!==r&&(i.changed=!0,i.enabled=r),i.touched=!0):this.stateMap.set(t,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(const t of this.stateMap){const r=t[0],i=t[1];i.changed?(this._toggleClass(r,i.enabled),i.changed=!1):i.touched||(i.enabled&&this._toggleClass(r,!1),this.stateMap.delete(r)),i.touched=!1}}_toggleClass(t,r){(t=t.trim()).length>0&&t.split(jd).forEach(i=>{r?this._renderer.addClass(this._ngEl.nativeElement,i):this._renderer.removeClass(this._ngEl.nativeElement,i)})}static#e=this.\u0275fac=function(r){return new(r||e)(D(xa),D(Ao),D(ft),D(En))};static#t=this.\u0275dir=V({type:e,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0})}return e})();class F1{constructor(n,t,r,i){this.$implicit=n,this.ngForOf=t,this.index=r,this.count=i}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 Hd=(()=>{class e{set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}constructor(t,r,i){this._viewContainer=t,this._template=r,this._differs=i,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const t=this._ngForOf;!this._differ&&t&&(this._differ=this._differs.find(t).create(this.ngForTrackBy))}if(this._differ){const t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){const r=this._viewContainer;t.forEachOperation((i,o,s)=>{if(null==i.previousIndex)r.createEmbeddedView(this._template,new F1(i.item,this._ngForOf,-1,-1),null===s?void 0:s);else if(null==s)r.remove(null===o?void 0:o);else if(null!==o){const a=r.get(o);r.move(a,s),bD(a,i)}});for(let i=0,o=r.length;i{bD(r.get(i.currentIndex),i)})}static ngTemplateContextGuard(t,r){return!0}static#e=this.\u0275fac=function(r){return new(r||e)(D($t),D(An),D(xa))};static#t=this.\u0275dir=V({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return e})();function bD(e,n){e.context.$implicit=n.item}let Bd=(()=>{class e{constructor(t,r){this._viewContainer=t,this._context=new L1,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=r}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){ED("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){ED("ngIfElse",t),this._elseTemplateRef=t,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(t,r){return!0}static#e=this.\u0275fac=function(r){return new(r||e)(D($t),D(An))};static#t=this.\u0275dir=V({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return e})();class L1{constructor(){this.$implicit=null,this.ngIf=null}}function ED(e,n){if(n&&!n.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${Pe(n)}'.`)}let ID=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=mt({type:e});static#n=this.\u0275inj=rt({})}return e})();function TD(e){return"server"===e}let dR=(()=>{class e{static#e=this.\u0275prov=O({token:e,providedIn:"root",factory:()=>new fR(N(Et),window)})}return e})();class fR{constructor(n,t){this.document=n,this.window=t,this.offset=()=>[0,0]}setOffset(n){this.offset=Array.isArray(n)?()=>n:n}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(n){this.supportsScrolling()&&this.window.scrollTo(n[0],n[1])}scrollToAnchor(n){if(!this.supportsScrolling())return;const t=function hR(e,n){const t=e.getElementById(n)||e.getElementsByName(n)[0];if(t)return t;if("function"==typeof e.createTreeWalker&&e.body&&"function"==typeof e.body.attachShadow){const r=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT);let i=r.currentNode;for(;i;){const o=i.shadowRoot;if(o){const s=o.getElementById(n)||o.querySelector(`[name="${n}"]`);if(s)return s}i=r.nextNode()}}return null}(this.document,n);t&&(this.scrollToElement(t),t.focus())}setHistoryScrollRestoration(n){if(this.supportScrollRestoration()){const t=this.window.history;t&&t.scrollRestoration&&(t.scrollRestoration=n)}}scrollToElement(n){const t=n.getBoundingClientRect(),r=t.left+this.window.pageXOffset,i=t.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(r-o[0],i-o[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const n=xD(this.window.history)||xD(Object.getPrototypeOf(this.window.history));return!(!n||!n.writable&&!n.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function xD(e){return Object.getOwnPropertyDescriptor(e,"scrollRestoration")}class ND{}class HR extends WO{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class Zd extends HR{static makeCurrent(){!function GO(e){Sd||(Sd=e)}(new Zd)}onAndCancel(n,t,r){return n.addEventListener(t,r),()=>{n.removeEventListener(t,r)}}dispatchEvent(n,t){n.dispatchEvent(t)}remove(n){n.parentNode&&n.parentNode.removeChild(n)}createElement(n,t){return(t=t||this.getDefaultDocument()).createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,t){return"window"===t?window:"document"===t?n:"body"===t?n.body:null}getBaseHref(n){const t=function BR(){return Oo=Oo||document.querySelector("base"),Oo?Oo.getAttribute("href"):null}();return null==t?null:function $R(e){za=za||document.createElement("a"),za.setAttribute("href",e);const n=za.pathname;return"/"===n.charAt(0)?n:`/${n}`}(t)}resetBaseElement(){Oo=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return _D(document.cookie,n)}}let za,Oo=null,zR=(()=>{class e{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=O({token:e,factory:e.\u0275fac})}return e})();const Yd=new A("EventManagerPlugins");let FD=(()=>{class e{constructor(t,r){this._zone=r,this._eventNameToPlugin=new Map,t.forEach(i=>{i.manager=this}),this._plugins=t.slice().reverse()}addEventListener(t,r,i){return this._findPluginFor(r).addEventListener(t,r,i)}getZone(){return this._zone}_findPluginFor(t){let r=this._eventNameToPlugin.get(t);if(r)return r;if(r=this._plugins.find(o=>o.supports(t)),!r)throw new _(5101,!1);return this._eventNameToPlugin.set(t,r),r}static#e=this.\u0275fac=function(r){return new(r||e)(N(Yd),N(_e))};static#t=this.\u0275prov=O({token:e,factory:e.\u0275fac})}return e})();class LD{constructor(n){this._doc=n}}const Qd="ng-app-id";let VD=(()=>{class e{constructor(t,r,i,o={}){this.doc=t,this.appId=r,this.nonce=i,this.platformId=o,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=TD(o),this.resetHostNodes()}addStyles(t){for(const r of t)1===this.changeUsageCount(r,1)&&this.onStyleAdded(r)}removeStyles(t){for(const r of t)this.changeUsageCount(r,-1)<=0&&this.onStyleRemoved(r)}ngOnDestroy(){const t=this.styleNodesInDOM;t&&(t.forEach(r=>r.remove()),t.clear());for(const r of this.getAllStyles())this.onStyleRemoved(r);this.resetHostNodes()}addHost(t){this.hostNodes.add(t);for(const r of this.getAllStyles())this.addStyleToHost(t,r)}removeHost(t){this.hostNodes.delete(t)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(t){for(const r of this.hostNodes)this.addStyleToHost(r,t)}onStyleRemoved(t){const r=this.styleRef;r.get(t)?.elements?.forEach(i=>i.remove()),r.delete(t)}collectServerRenderedStyles(){const t=this.doc.head?.querySelectorAll(`style[${Qd}="${this.appId}"]`);if(t?.length){const r=new Map;return t.forEach(i=>{null!=i.textContent&&r.set(i.textContent,i)}),r}return null}changeUsageCount(t,r){const i=this.styleRef;if(i.has(t)){const o=i.get(t);return o.usage+=r,o.usage}return i.set(t,{usage:r,elements:[]}),r}getStyleElement(t,r){const i=this.styleNodesInDOM,o=i?.get(r);if(o?.parentNode===t)return i.delete(r),o.removeAttribute(Qd),o;{const s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=r,this.platformIsServer&&s.setAttribute(Qd,this.appId),s}}addStyleToHost(t,r){const i=this.getStyleElement(t,r);t.appendChild(i);const o=this.styleRef,s=o.get(r)?.elements;s?s.push(i):o.set(r,{elements:[i],usage:1})}resetHostNodes(){const t=this.hostNodes;t.clear(),t.add(this.doc.head)}static#e=this.\u0275fac=function(r){return new(r||e)(N(Et),N(Js),N(Xg,8),N(cr))};static#t=this.\u0275prov=O({token:e,factory:e.\u0275fac})}return e})();const Kd={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/"},Xd=/%COMP%/g,ZR=new A("RemoveStylesOnCompDestory",{providedIn:"root",factory:()=>!1});function HD(e,n){return n.map(t=>t.replace(Xd,e))}let BD=(()=>{class e{constructor(t,r,i,o,s,a,l,c=null){this.eventManager=t,this.sharedStylesHost=r,this.appId=i,this.removeStylesOnCompDestory=o,this.doc=s,this.platformId=a,this.ngZone=l,this.nonce=c,this.rendererByCompId=new Map,this.platformIsServer=TD(a),this.defaultRenderer=new Jd(t,s,l,this.platformIsServer)}createRenderer(t,r){if(!t||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===gt.ShadowDom&&(r={...r,encapsulation:gt.Emulated});const i=this.getOrCreateRenderer(t,r);return i instanceof UD?i.applyToHost(t):i instanceof ef&&i.applyStyles(),i}getOrCreateRenderer(t,r){const i=this.rendererByCompId;let o=i.get(r.id);if(!o){const s=this.doc,a=this.ngZone,l=this.eventManager,c=this.sharedStylesHost,u=this.removeStylesOnCompDestory,d=this.platformIsServer;switch(r.encapsulation){case gt.Emulated:o=new UD(l,c,r,this.appId,u,s,a,d);break;case gt.ShadowDom:return new XR(l,c,t,r,s,a,this.nonce,d);default:o=new ef(l,c,r,u,s,a,d)}o.onDestroy=()=>i.delete(r.id),i.set(r.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(r){return new(r||e)(N(FD),N(VD),N(Js),N(ZR),N(Et),N(cr),N(_e),N(Xg))};static#t=this.\u0275prov=O({token:e,factory:e.\u0275fac})}return e})();class Jd{constructor(n,t,r,i){this.eventManager=n,this.doc=t,this.ngZone=r,this.platformIsServer=i,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(n,t){return t?this.doc.createElementNS(Kd[t]||t,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,t){($D(n)?n.content:n).appendChild(t)}insertBefore(n,t,r){n&&($D(n)?n.content:n).insertBefore(t,r)}removeChild(n,t){n&&n.removeChild(t)}selectRootElement(n,t){let r="string"==typeof n?this.doc.querySelector(n):n;if(!r)throw new _(5104,!1);return t||(r.textContent=""),r}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,t,r,i){if(i){t=i+":"+t;const o=Kd[i];o?n.setAttributeNS(o,t,r):n.setAttribute(t,r)}else n.setAttribute(t,r)}removeAttribute(n,t,r){if(r){const i=Kd[r];i?n.removeAttributeNS(i,t):n.removeAttribute(`${r}:${t}`)}else n.removeAttribute(t)}addClass(n,t){n.classList.add(t)}removeClass(n,t){n.classList.remove(t)}setStyle(n,t,r,i){i&(ct.DashCase|ct.Important)?n.style.setProperty(t,r,i&ct.Important?"important":""):n.style[t]=r}removeStyle(n,t,r){r&ct.DashCase?n.style.removeProperty(t):n.style[t]=""}setProperty(n,t,r){n[t]=r}setValue(n,t){n.nodeValue=t}listen(n,t,r){if("string"==typeof n&&!(n=Wn().getGlobalEventTarget(this.doc,n)))throw new Error(`Unsupported event target ${n} for event ${t}`);return this.eventManager.addEventListener(n,t,this.decoratePreventDefault(r))}decoratePreventDefault(n){return t=>{if("__ngUnwrap__"===t)return n;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>n(t)):n(t))&&t.preventDefault()}}}function $D(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class XR extends Jd{constructor(n,t,r,i,o,s,a,l){super(n,o,s,l),this.sharedStylesHost=t,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const c=HD(i.id,i.styles);for(const u of c){const d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=u,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,t){return super.appendChild(this.nodeOrShadowRoot(n),t)}insertBefore(n,t,r){return super.insertBefore(this.nodeOrShadowRoot(n),t,r)}removeChild(n,t){return super.removeChild(this.nodeOrShadowRoot(n),t)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class ef extends Jd{constructor(n,t,r,i,o,s,a,l){super(n,o,s,a),this.sharedStylesHost=t,this.removeStylesOnCompDestory=i,this.rendererUsageCount=0,this.styles=l?HD(l,r.styles):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 UD extends ef{constructor(n,t,r,i,o,s,a,l){const c=i+"-"+r.id;super(n,t,r,o,s,a,l,c),this.contentAttr=function YR(e){return"_ngcontent-%COMP%".replace(Xd,e)}(c),this.hostAttr=function QR(e){return"_nghost-%COMP%".replace(Xd,e)}(c)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,t){const r=super.createElement(n,t);return super.setAttribute(r,this.contentAttr,""),r}}let JR=(()=>{class e extends LD{constructor(t){super(t)}supports(t){return!0}addEventListener(t,r,i){return t.addEventListener(r,i,!1),()=>this.removeEventListener(t,r,i)}removeEventListener(t,r,i){return t.removeEventListener(r,i)}static#e=this.\u0275fac=function(r){return new(r||e)(N(Et))};static#t=this.\u0275prov=O({token:e,factory:e.\u0275fac})}return e})();const zD=["alt","control","meta","shift"],eP={"\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"},tP={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let nP=(()=>{class e extends LD{constructor(t){super(t)}supports(t){return null!=e.parseEventName(t)}addEventListener(t,r,i){const o=e.parseEventName(r),s=e.eventCallback(o.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Wn().onAndCancel(t,o.domEventName,s))}static parseEventName(t){const r=t.toLowerCase().split("."),i=r.shift();if(0===r.length||"keydown"!==i&&"keyup"!==i)return null;const o=e._normalizeKey(r.pop());let s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),zD.forEach(c=>{const u=r.indexOf(c);u>-1&&(r.splice(u,1),s+=c+".")}),s+=o,0!=r.length||0===o.length)return null;const l={};return l.domEventName=i,l.fullKey=s,l}static matchEventFullKeyCode(t,r){let i=eP[t.key]||t.key,o="";return r.indexOf("code.")>-1&&(i=t.code,o="code."),!(null==i||!i)&&(i=i.toLowerCase()," "===i?i="space":"."===i&&(i="dot"),zD.forEach(s=>{s!==i&&(0,tP[s])(t)&&(o+=s+".")}),o+=i,o===r)}static eventCallback(t,r,i){return o=>{e.matchEventFullKeyCode(o,t)&&i.runGuarded(()=>r(o))}}static _normalizeKey(t){return"esc"===t?"escape":t}static#e=this.\u0275fac=function(r){return new(r||e)(N(Et))};static#t=this.\u0275prov=O({token:e,factory:e.\u0275fac})}return e})();const sP=L_(RO,"browser",[{provide:cr,useValue:"browser"},{provide:Kg,useValue:function rP(){Zd.makeCurrent()},multi:!0},{provide:Et,useFactory:function oP(){return function lI(e){kc=e}(document),document},deps:[]}]),aP=new A(""),qD=[{provide:Sa,useClass:class UR{addToWindow(n){he.getAngularTestability=(r,i=!0)=>{const o=n.findTestabilityInTree(r,i);if(null==o)throw new _(5103,!1);return o},he.getAllAngularTestabilities=()=>n.getAllTestabilities(),he.getAllAngularRootElements=()=>n.getAllRootElements(),he.frameworkStabilizers||(he.frameworkStabilizers=[]),he.frameworkStabilizers.push(r=>{const i=he.getAllAngularTestabilities();let o=i.length,s=!1;const a=function(l){s=s||l,o--,0==o&&r(s)};i.forEach(function(l){l.whenStable(a)})})}findTestabilityInTree(n,t,r){return null==t?null:n.getTestability(t)??(r?Wn().isShadowRoot(t)?this.findTestabilityInTree(n,t.host,!0):this.findTestabilityInTree(n,t.parentElement,!0):null)}},deps:[]},{provide:O_,useClass:pd,deps:[_e,gd,Sa]},{provide:pd,useClass:pd,deps:[_e,gd,Sa]}],ZD=[{provide:Gc,useValue:"root"},{provide:ur,useFactory:function iP(){return new ur},deps:[]},{provide:Yd,useClass:JR,multi:!0,deps:[Et,_e,cr]},{provide:Yd,useClass:nP,multi:!0,deps:[Et]},BD,VD,FD,{provide:sm,useExisting:BD},{provide:ND,useClass:zR,deps:[]},[]];let lP=(()=>{class e{constructor(t){}static withServerTransition(t){return{ngModule:e,providers:[{provide:Js,useValue:t.appId}]}}static#e=this.\u0275fac=function(r){return new(r||e)(N(aP,12))};static#t=this.\u0275mod=mt({type:e});static#n=this.\u0275inj=rt({providers:[...ZD,...qD],imports:[ID,PO]})}return e})(),YD=(()=>{class e{constructor(t){this._doc=t}getTitle(){return this._doc.title}setTitle(t){this._doc.title=t||""}static#e=this.\u0275fac=function(r){return new(r||e)(N(Et))};static#t=this.\u0275prov=O({token:e,factory:function(r){let i=null;return i=r?new r:function uP(){return new YD(N(Et))}(),i},providedIn:"root"})}return e})();function gi(e,n){return de(n)?He(e,n,1):He(e,1)}function On(e,n){return je((t,r)=>{let i=0;t.subscribe(Oe(r,o=>e.call(n,o,i++)&&r.next(o)))})}function Ro(e){return je((n,t)=>{try{n.subscribe(t)}finally{t.add(e)}})}function cn(e,n){return je((t,r)=>{let i=null,o=0,s=!1;const a=()=>s&&!i&&r.complete();t.subscribe(Oe(r,l=>{i?.unsubscribe();let c=0;const u=o++;Tt(e(l,u)).subscribe(i=Oe(r,d=>r.next(n?n(l,d,u,c++):d),()=>{i=null,a()}))},()=>{s=!0,a()}))})}typeof window<"u"&&window;class Ga{}class nf{}class un{constructor(n){this.normalizedNames=new Map,this.lazyUpdate=null,n?this.lazyInit="string"==typeof n?()=>{this.headers=new Map,n.split("\n").forEach(t=>{const r=t.indexOf(":");if(r>0){const i=t.slice(0,r),o=i.toLowerCase(),s=t.slice(r+1).trim();this.maybeSetNormalizedName(i,o),this.headers.has(o)?this.headers.get(o).push(s):this.headers.set(o,[s])}})}:()=>{this.headers=new Map,Object.entries(n).forEach(([t,r])=>{let i;if(i="string"==typeof r?[r]:"number"==typeof r?[r.toString()]:r.map(o=>o.toString()),i.length>0){const o=t.toLowerCase();this.headers.set(o,i),this.maybeSetNormalizedName(t,o)}})}:this.headers=new Map}has(n){return this.init(),this.headers.has(n.toLowerCase())}get(n){this.init();const t=this.headers.get(n.toLowerCase());return t&&t.length>0?t[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(n){return this.init(),this.headers.get(n.toLowerCase())||null}append(n,t){return this.clone({name:n,value:t,op:"a"})}set(n,t){return this.clone({name:n,value:t,op:"s"})}delete(n,t){return this.clone({name:n,value:t,op:"d"})}maybeSetNormalizedName(n,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,n)}init(){this.lazyInit&&(this.lazyInit instanceof un?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(n=>this.applyUpdate(n)),this.lazyUpdate=null))}copyFrom(n){n.init(),Array.from(n.headers.keys()).forEach(t=>{this.headers.set(t,n.headers.get(t)),this.normalizedNames.set(t,n.normalizedNames.get(t))})}clone(n){const t=new un;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof un?this.lazyInit:this,t.lazyUpdate=(this.lazyUpdate||[]).concat([n]),t}applyUpdate(n){const t=n.name.toLowerCase();switch(n.op){case"a":case"s":let r=n.value;if("string"==typeof r&&(r=[r]),0===r.length)return;this.maybeSetNormalizedName(n.name,t);const i=("a"===n.op?this.headers.get(t):void 0)||[];i.push(...r),this.headers.set(t,i);break;case"d":const o=n.value;if(o){let s=this.headers.get(t);if(!s)return;s=s.filter(a=>-1===o.indexOf(a)),0===s.length?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,s)}else this.headers.delete(t),this.normalizedNames.delete(t)}}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(t=>n(this.normalizedNames.get(t),this.headers.get(t)))}}class gP{encodeKey(n){return JD(n)}encodeValue(n){return JD(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}}const yP=/%(\d[a-f0-9])/gi,vP={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function JD(e){return encodeURIComponent(e).replace(yP,(n,t)=>vP[t]??n)}function Wa(e){return`${e}`}class Zn{constructor(n={}){if(this.updates=null,this.cloneFrom=null,this.encoder=n.encoder||new gP,n.fromString){if(n.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function mP(e,n){const t=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(i=>{const o=i.indexOf("="),[s,a]=-1==o?[n.decodeKey(i),""]:[n.decodeKey(i.slice(0,o)),n.decodeValue(i.slice(o+1))],l=t.get(s)||[];l.push(a),t.set(s,l)}),t}(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(t=>{const r=n.fromObject[t],i=Array.isArray(r)?r.map(Wa):[Wa(r)];this.map.set(t,i)})):this.map=null}has(n){return this.init(),this.map.has(n)}get(n){this.init();const t=this.map.get(n);return t?t[0]:null}getAll(n){return this.init(),this.map.get(n)||null}keys(){return this.init(),Array.from(this.map.keys())}append(n,t){return this.clone({param:n,value:t,op:"a"})}appendAll(n){const t=[];return Object.keys(n).forEach(r=>{const i=n[r];Array.isArray(i)?i.forEach(o=>{t.push({param:r,value:o,op:"a"})}):t.push({param:r,value:i,op:"a"})}),this.clone(t)}set(n,t){return this.clone({param:n,value:t,op:"s"})}delete(n,t){return this.clone({param:n,value:t,op:"d"})}toString(){return this.init(),this.keys().map(n=>{const t=this.encoder.encodeKey(n);return this.map.get(n).map(r=>t+"="+this.encoder.encodeValue(r)).join("&")}).filter(n=>""!==n).join("&")}clone(n){const t=new Zn({encoder:this.encoder});return t.cloneFrom=this.cloneFrom||this,t.updates=(this.updates||[]).concat(n),t}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(n=>this.map.set(n,this.cloneFrom.map.get(n))),this.updates.forEach(n=>{switch(n.op){case"a":case"s":const t=("a"===n.op?this.map.get(n.param):void 0)||[];t.push(Wa(n.value)),this.map.set(n.param,t);break;case"d":if(void 0===n.value){this.map.delete(n.param);break}{let r=this.map.get(n.param)||[];const i=r.indexOf(Wa(n.value));-1!==i&&r.splice(i,1),r.length>0?this.map.set(n.param,r):this.map.delete(n.param)}}}),this.cloneFrom=this.updates=null)}}class _P{constructor(){this.map=new Map}set(n,t){return this.map.set(n,t),this}get(n){return this.map.has(n)||this.map.set(n,n.defaultValue()),this.map.get(n)}delete(n){return this.map.delete(n),this}has(n){return this.map.has(n)}keys(){return this.map.keys()}}function eC(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function tC(e){return typeof Blob<"u"&&e instanceof Blob}function nC(e){return typeof FormData<"u"&&e instanceof FormData}class Po{constructor(n,t,r,i){let o;if(this.url=t,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=n.toUpperCase(),function DP(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||i?(this.body=void 0!==r?r:null,o=i):o=r,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params)),this.headers||(this.headers=new un),this.context||(this.context=new _P),this.params){const s=this.params.toString();if(0===s.length)this.urlWithParams=t;else{const a=t.indexOf("?");this.urlWithParams=t+(-1===a?"?":ad.set(f,n.setHeaders[f]),l)),n.setParams&&(c=Object.keys(n.setParams).reduce((d,f)=>d.set(f,n.setParams[f]),c)),new Po(t,r,o,{params:c,headers:l,context:u,reportProgress:a,responseType:i,withCredentials:s})}}var Ne=(()=>((Ne=Ne||{})[Ne.Sent=0]="Sent",Ne[Ne.UploadProgress=1]="UploadProgress",Ne[Ne.ResponseHeader=2]="ResponseHeader",Ne[Ne.DownloadProgress=3]="DownloadProgress",Ne[Ne.Response=4]="Response",Ne[Ne.User=5]="User",Ne))();class rf{constructor(n,t=200,r="OK"){this.headers=n.headers||new un,this.status=void 0!==n.status?n.status:t,this.statusText=n.statusText||r,this.url=n.url||null,this.ok=this.status>=200&&this.status<300}}class sf extends rf{constructor(n={}){super(n),this.type=Ne.ResponseHeader}clone(n={}){return new sf({headers:n.headers||this.headers,status:void 0!==n.status?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}}class mi extends rf{constructor(n={}){super(n),this.type=Ne.Response,this.body=void 0!==n.body?n.body:null}clone(n={}){return new mi({body:void 0!==n.body?n.body:this.body,headers:n.headers||this.headers,status:void 0!==n.status?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}}class rC extends rf{constructor(n){super(n,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${n.url||"(unknown url)"}`:`Http failure response for ${n.url||"(unknown url)"}: ${n.status} ${n.statusText}`,this.error=n.error||null}}function af(e,n){return{body:n,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials}}let wP=(()=>{class e{constructor(t){this.handler=t}request(t,r,i={}){let o;if(t instanceof Po)o=t;else{let l,c;l=i.headers instanceof un?i.headers:new un(i.headers),i.params&&(c=i.params instanceof Zn?i.params:new Zn({fromObject:i.params})),o=new Po(t,r,void 0!==i.body?i.body:null,{headers:l,context:i.context,params:c,reportProgress:i.reportProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials})}const s=L(o).pipe(gi(l=>this.handler.handle(l)));if(t instanceof Po||"events"===i.observe)return s;const a=s.pipe(On(l=>l instanceof mi));switch(i.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return a.pipe(J(l=>{if(null!==l.body&&!(l.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return l.body}));case"blob":return a.pipe(J(l=>{if(null!==l.body&&!(l.body instanceof Blob))throw new Error("Response is not a Blob.");return l.body}));case"text":return a.pipe(J(l=>{if(null!==l.body&&"string"!=typeof l.body)throw new Error("Response is not a string.");return l.body}));default:return a.pipe(J(l=>l.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${i.observe}}`)}}delete(t,r={}){return this.request("DELETE",t,r)}get(t,r={}){return this.request("GET",t,r)}head(t,r={}){return this.request("HEAD",t,r)}jsonp(t,r){return this.request("JSONP",t,{params:(new Zn).append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,r={}){return this.request("OPTIONS",t,r)}patch(t,r,i={}){return this.request("PATCH",t,af(i,r))}post(t,r,i={}){return this.request("POST",t,af(i,r))}put(t,r,i={}){return this.request("PUT",t,af(i,r))}static#e=this.\u0275fac=function(r){return new(r||e)(N(Ga))};static#t=this.\u0275prov=O({token:e,factory:e.\u0275fac})}return e})();function iC(e,n){return n(e)}function bP(e,n){return(t,r)=>n.intercept(t,{handle:i=>e(i,r)})}const MP=new A(""),ko=new A(""),oC=new A("");function SP(){let e=null;return(n,t)=>{null===e&&(e=(I(MP,{optional:!0})??[]).reduceRight(bP,iC));const r=I(Ma),i=r.add();return e(n,t).pipe(Ro(()=>r.remove(i)))}}let sC=(()=>{class e extends Ga{constructor(t,r){super(),this.backend=t,this.injector=r,this.chain=null,this.pendingTasks=I(Ma)}handle(t){if(null===this.chain){const i=Array.from(new Set([...this.injector.get(ko),...this.injector.get(oC,[])]));this.chain=i.reduceRight((o,s)=>function EP(e,n,t){return(r,i)=>t.runInContext(()=>n(r,o=>e(o,i)))}(o,s,this.injector),iC)}const r=this.pendingTasks.add();return this.chain(t,i=>this.backend.handle(i)).pipe(Ro(()=>this.pendingTasks.remove(r)))}static#e=this.\u0275fac=function(r){return new(r||e)(N(nf),N(nn))};static#t=this.\u0275prov=O({token:e,factory:e.\u0275fac})}return e})();const xP=/^\)\]\}',?\n/;let lC=(()=>{class e{constructor(t){this.xhrFactory=t}handle(t){if("JSONP"===t.method)throw new _(-2800,!1);const r=this.xhrFactory;return(r.\u0275loadImpl?Re(r.\u0275loadImpl()):L(null)).pipe(cn(()=>new be(o=>{const s=r.build();if(s.open(t.method,t.urlWithParams),t.withCredentials&&(s.withCredentials=!0),t.headers.forEach((g,y)=>s.setRequestHeader(g,y.join(","))),t.headers.has("Accept")||s.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){const g=t.detectContentTypeHeader();null!==g&&s.setRequestHeader("Content-Type",g)}if(t.responseType){const g=t.responseType.toLowerCase();s.responseType="json"!==g?g:"text"}const a=t.serializeBody();let l=null;const c=()=>{if(null!==l)return l;const g=s.statusText||"OK",y=new un(s.getAllResponseHeaders()),C=function NP(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(s)||t.url;return l=new sf({headers:y,status:s.status,statusText:g,url:C}),l},u=()=>{let{headers:g,status:y,statusText:C,url:m}=c(),E=null;204!==y&&(E=typeof s.response>"u"?s.responseText:s.response),0===y&&(y=E?200:0);let k=y>=200&&y<300;if("json"===t.responseType&&"string"==typeof E){const q=E;E=E.replace(xP,"");try{E=""!==E?JSON.parse(E):null}catch(St){E=q,k&&(k=!1,E={error:St,text:E})}}k?(o.next(new mi({body:E,headers:g,status:y,statusText:C,url:m||void 0})),o.complete()):o.error(new rC({error:E,headers:g,status:y,statusText:C,url:m||void 0}))},d=g=>{const{url:y}=c(),C=new rC({error:g,status:s.status||0,statusText:s.statusText||"Unknown Error",url:y||void 0});o.error(C)};let f=!1;const h=g=>{f||(o.next(c()),f=!0);let y={type:Ne.DownloadProgress,loaded:g.loaded};g.lengthComputable&&(y.total=g.total),"text"===t.responseType&&s.responseText&&(y.partialText=s.responseText),o.next(y)},p=g=>{let y={type:Ne.UploadProgress,loaded:g.loaded};g.lengthComputable&&(y.total=g.total),o.next(y)};return s.addEventListener("load",u),s.addEventListener("error",d),s.addEventListener("timeout",d),s.addEventListener("abort",d),t.reportProgress&&(s.addEventListener("progress",h),null!==a&&s.upload&&s.upload.addEventListener("progress",p)),s.send(a),o.next({type:Ne.Sent}),()=>{s.removeEventListener("error",d),s.removeEventListener("abort",d),s.removeEventListener("load",u),s.removeEventListener("timeout",d),t.reportProgress&&(s.removeEventListener("progress",h),null!==a&&s.upload&&s.upload.removeEventListener("progress",p)),s.readyState!==s.DONE&&s.abort()}})))}static#e=this.\u0275fac=function(r){return new(r||e)(N(ND))};static#t=this.\u0275prov=O({token:e,factory:e.\u0275fac})}return e})();const lf=new A("XSRF_ENABLED"),cC=new A("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),uC=new A("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class dC{}let PP=(()=>{class e{constructor(t,r,i){this.doc=t,this.platform=r,this.cookieName=i,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=_D(t,this.cookieName),this.lastCookieString=t),this.lastToken}static#e=this.\u0275fac=function(r){return new(r||e)(N(Et),N(cr),N(cC))};static#t=this.\u0275prov=O({token:e,factory:e.\u0275fac})}return e})();function kP(e,n){const t=e.url.toLowerCase();if(!I(lf)||"GET"===e.method||"HEAD"===e.method||t.startsWith("http://")||t.startsWith("https://"))return n(e);const r=I(dC).getToken(),i=I(uC);return null!=r&&!e.headers.has(i)&&(e=e.clone({headers:e.headers.set(i,r)})),n(e)}var Se=(()=>((Se=Se||{})[Se.Interceptors=0]="Interceptors",Se[Se.LegacyInterceptors=1]="LegacyInterceptors",Se[Se.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",Se[Se.NoXsrfProtection=3]="NoXsrfProtection",Se[Se.JsonpSupport=4]="JsonpSupport",Se[Se.RequestsMadeViaParent=5]="RequestsMadeViaParent",Se))();function FP(...e){const n=[wP,lC,sC,{provide:Ga,useExisting:sC},{provide:nf,useExisting:lC},{provide:ko,useValue:kP,multi:!0},{provide:lf,useValue:!0},{provide:dC,useClass:PP}];for(const t of e)n.push(...t.\u0275providers);return function Bc(e){return{\u0275providers:e}}(n)}const fC=new A("LEGACY_INTERCEPTOR_FN");function LP(){return function yi(e,n){return{\u0275kind:e,\u0275providers:n}}(Se.LegacyInterceptors,[{provide:fC,useFactory:SP},{provide:ko,useExisting:fC,multi:!0}])}let VP=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=mt({type:e});static#n=this.\u0275inj=rt({providers:[FP(LP())]})}return e})();const{isArray:zP}=Array,{getPrototypeOf:GP,prototype:WP,keys:qP}=Object;function hC(e){if(1===e.length){const n=e[0];if(zP(n))return{args:n,keys:null};if(function ZP(e){return e&&"object"==typeof e&&GP(e)===WP}(n)){const t=qP(n);return{args:t.map(r=>n[r]),keys:t}}}return{args:e,keys:null}}const{isArray:YP}=Array;function pC(e){return J(n=>function QP(e,n){return YP(n)?e(...n):e(n)}(e,n))}function gC(e,n){return e.reduce((t,r,i)=>(t[r]=n[i],t),{})}let mC=(()=>{class e{constructor(t,r){this._renderer=t,this._elementRef=r,this.onChange=i=>{},this.onTouched=()=>{}}setProperty(t,r){this._renderer.setProperty(this._elementRef.nativeElement,t,r)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}static#e=this.\u0275fac=function(r){return new(r||e)(D(En),D(ft))};static#t=this.\u0275dir=V({type:e})}return e})(),yr=(()=>{class e extends mC{static#e=this.\u0275fac=function(){let t;return function(i){return(t||(t=ze(e)))(i||e)}}();static#t=this.\u0275dir=V({type:e,features:[ae]})}return e})();const Wt=new A("NgValueAccessor"),JP={provide:Wt,useExisting:fe(()=>Fo),multi:!0},tk=new A("CompositionEventMode");let Fo=(()=>{class e extends mC{constructor(t,r,i){super(t,r),this._compositionMode=i,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function ek(){const e=Wn()?Wn().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(t){this.setProperty("value",t??"")}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}static#e=this.\u0275fac=function(r){return new(r||e)(D(En),D(ft),D(tk,8))};static#t=this.\u0275dir=V({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(r,i){1&r&&oe("input",function(s){return i._handleInput(s.target.value)})("blur",function(){return i.onTouched()})("compositionstart",function(){return i._compositionStart()})("compositionend",function(s){return i._compositionEnd(s.target.value)})},features:[me([JP]),ae]})}return e})();const Ye=new A("NgValidators"),Qn=new A("NgAsyncValidators");function IC(e){return null!=e}function AC(e){return mo(e)?Re(e):e}function TC(e){let n={};return e.forEach(t=>{n=null!=t?{...n,...t}:n}),0===Object.keys(n).length?null:n}function xC(e,n){return n.map(t=>t(e))}function NC(e){return e.map(n=>function rk(e){return!e.validate}(n)?n:t=>n.validate(t))}function cf(e){return null!=e?function OC(e){if(!e)return null;const n=e.filter(IC);return 0==n.length?null:function(t){return TC(xC(t,n))}}(NC(e)):null}function uf(e){return null!=e?function RC(e){if(!e)return null;const n=e.filter(IC);return 0==n.length?null:function(t){return function KP(...e){const n=Ah(e),{args:t,keys:r}=hC(e),i=new be(o=>{const{length:s}=t;if(!s)return void o.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||o.next(r?gC(r,a):a),o.complete())}))}});return n?i.pipe(pC(n)):i}(xC(t,n).map(AC)).pipe(J(TC))}}(NC(e)):null}function PC(e,n){return null===e?[n]:Array.isArray(e)?[...e,n]:[e,n]}function kC(e){return e._rawValidators}function FC(e){return e._rawAsyncValidators}function df(e){return e?Array.isArray(e)?e:[e]:[]}function Ya(e,n){return Array.isArray(e)?e.includes(n):e===n}function LC(e,n){const t=df(n);return df(e).forEach(i=>{Ya(t,i)||t.push(i)}),t}function VC(e,n){return df(n).filter(t=>!Ya(e,t))}class jC{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(n){this._rawValidators=n||[],this._composedValidatorFn=cf(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=uf(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(n){this._onDestroyCallbacks.push(n)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(n=>n()),this._onDestroyCallbacks=[]}reset(n=void 0){this.control&&this.control.reset(n)}hasError(n,t){return!!this.control&&this.control.hasError(n,t)}getError(n,t){return this.control?this.control.getError(n,t):null}}class tt extends jC{get formDirective(){return null}get path(){return null}}class Kn extends jC{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class HC{constructor(n){this._cd=n}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 ff=(()=>{class e extends HC{constructor(t){super(t)}static#e=this.\u0275fac=function(r){return new(r||e)(D(Kn,2))};static#t=this.\u0275dir=V({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(r,i){2&r&&hr("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)},features:[ae]})}return e})(),BC=(()=>{class e extends HC{constructor(t){super(t)}static#e=this.\u0275fac=function(r){return new(r||e)(D(tt,10))};static#t=this.\u0275dir=V({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(r,i){2&r&&hr("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)("ng-submitted",i.isSubmitted)},features:[ae]})}return e})();const Lo="VALID",Ka="INVALID",vi="PENDING",Vo="DISABLED";function gf(e){return(Xa(e)?e.validators:e)||null}function mf(e,n){return(Xa(n)?n.asyncValidators:e)||null}function Xa(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}class GC{constructor(n,t){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(n),this._assignAsyncValidators(t)}get validator(){return this._composedValidatorFn}set validator(n){this._rawValidators=this._composedValidatorFn=n}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(n){this._rawAsyncValidators=this._composedAsyncValidatorFn=n}get parent(){return this._parent}get valid(){return this.status===Lo}get invalid(){return this.status===Ka}get pending(){return this.status==vi}get disabled(){return this.status===Vo}get enabled(){return this.status!==Vo}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._assignValidators(n)}setAsyncValidators(n){this._assignAsyncValidators(n)}addValidators(n){this.setValidators(LC(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(LC(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(VC(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(VC(n,this._rawAsyncValidators))}hasValidator(n){return Ya(this._rawValidators,n)}hasAsyncValidator(n){return Ya(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){this.touched=!0,this._parent&&!n.onlySelf&&this._parent.markAsTouched(n)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(n=>n.markAllAsTouched())}markAsUntouched(n={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(t=>{t.markAsUntouched({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}markAsDirty(n={}){this.pristine=!1,this._parent&&!n.onlySelf&&this._parent.markAsDirty(n)}markAsPristine(n={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(t=>{t.markAsPristine({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}markAsPending(n={}){this.status=vi,!1!==n.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!n.onlySelf&&this._parent.markAsPending(n)}disable(n={}){const t=this._parentMarkedDirty(n.onlySelf);this.status=Vo,this.errors=null,this._forEachChild(r=>{r.disable({...n,onlySelf:!0})}),this._updateValue(),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...n,skipPristineCheck:t}),this._onDisabledChange.forEach(r=>r(!0))}enable(n={}){const t=this._parentMarkedDirty(n.onlySelf);this.status=Lo,this._forEachChild(r=>{r.enable({...n,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors({...n,skipPristineCheck:t}),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(n){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Lo||this.status===vi)&&this._runAsyncValidator(n.emitEvent)),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity(n)}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Vo:Lo}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n){if(this.asyncValidator){this.status=vi,this._hasOwnPendingAsyncValidator=!0;const t=AC(this.asyncValidator(this));this._asyncValidationSubscription=t.subscribe(r=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(r,{emitEvent:n})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(n,t={}){this.errors=n,this._updateControlsErrors(!1!==t.emitEvent)}get(n){let t=n;return null==t||(Array.isArray(t)||(t=t.split(".")),0===t.length)?null:t.reduce((r,i)=>r&&r._find(i),this)}getError(n,t){const r=t?this.get(t):this;return r&&r.errors?r.errors[n]:null}hasError(n,t){return!!this.getError(n,t)}get root(){let n=this;for(;n._parent;)n=n._parent;return n}_updateControlsErrors(n){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(n)}_initObservables(){this.valueChanges=new ce,this.statusChanges=new ce}_calculateStatus(){return this._allControlsDisabled()?Vo:this.errors?Ka:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(vi)?vi:this._anyControlsHaveStatus(Ka)?Ka:Lo}_anyControlsHaveStatus(n){return this._anyControls(t=>t.status===n)}_anyControlsDirty(){return this._anyControls(n=>n.dirty)}_anyControlsTouched(){return this._anyControls(n=>n.touched)}_updatePristine(n={}){this.pristine=!this._anyControlsDirty(),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}_updateTouched(n={}){this.touched=this._anyControlsTouched(),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){Xa(n)&&null!=n.updateOn&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){return!n&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(n){return null}_assignValidators(n){this._rawValidators=Array.isArray(n)?n.slice():n,this._composedValidatorFn=function ak(e){return Array.isArray(e)?cf(e):e||null}(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=function lk(e){return Array.isArray(e)?uf(e):e||null}(this._rawAsyncValidators)}}class Ja extends GC{constructor(n,t,r){super(gf(t),mf(r,t)),this.controls=n,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(n,t){return this.controls[n]?this.controls[n]:(this.controls[n]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}addControl(n,t,r={}){this.registerControl(n,t),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}removeControl(n,t={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}setControl(n,t,r={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],t&&this.registerControl(n,t),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}contains(n){return this.controls.hasOwnProperty(n)&&this.controls[n].enabled}setValue(n,t={}){(function zC(e,n,t){e._forEachChild((r,i)=>{if(void 0===t[i])throw new _(1002,"")})})(this,0,n),Object.keys(n).forEach(r=>{(function UC(e,n,t){const r=e.controls;if(!(n?Object.keys(r):r).length)throw new _(1e3,"");if(!r[t])throw new _(1001,"")})(this,!0,r),this.controls[r].setValue(n[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(n,t={}){null!=n&&(Object.keys(n).forEach(r=>{const i=this.controls[r];i&&i.patchValue(n[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(n={},t={}){this._forEachChild((r,i)=>{r.reset(n[i],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this._reduceChildren({},(n,t,r)=>(n[r]=t.getRawValue(),n))}_syncPendingControls(){let n=this._reduceChildren(!1,(t,r)=>!!r._syncPendingControls()||t);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){Object.keys(this.controls).forEach(t=>{const r=this.controls[t];r&&n(r,t)})}_setUpControls(){this._forEachChild(n=>{n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(n){for(const[t,r]of Object.entries(this.controls))if(this.contains(t)&&n(r))return!0;return!1}_reduceValue(){return this._reduceChildren({},(t,r,i)=>((r.enabled||this.disabled)&&(t[i]=r.value),t))}_reduceChildren(n,t){let r=n;return this._forEachChild((i,o)=>{r=t(r,i,o)}),r}_allControlsDisabled(){for(const n of Object.keys(this.controls))if(this.controls[n].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(n){return this.controls.hasOwnProperty(n)?this.controls[n]:null}}const vr=new A("CallSetDisabledState",{providedIn:"root",factory:()=>jo}),jo="always";function el(e,n){return[...n.path,e]}function Ho(e,n,t=jo){yf(e,n),n.valueAccessor.writeValue(e.value),(e.disabled||"always"===t)&&n.valueAccessor.setDisabledState?.(e.disabled),function dk(e,n){n.valueAccessor.registerOnChange(t=>{e._pendingValue=t,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&WC(e,n)})}(e,n),function hk(e,n){const t=(r,i)=>{n.valueAccessor.writeValue(r),i&&n.viewToModelUpdate(r)};e.registerOnChange(t),n._registerOnDestroy(()=>{e._unregisterOnChange(t)})}(e,n),function fk(e,n){n.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&WC(e,n),"submit"!==e.updateOn&&e.markAsTouched()})}(e,n),function uk(e,n){if(n.valueAccessor.setDisabledState){const t=r=>{n.valueAccessor.setDisabledState(r)};e.registerOnDisabledChange(t),n._registerOnDestroy(()=>{e._unregisterOnDisabledChange(t)})}}(e,n)}function tl(e,n,t=!0){const r=()=>{};n.valueAccessor&&(n.valueAccessor.registerOnChange(r),n.valueAccessor.registerOnTouched(r)),rl(e,n),e&&(n._invokeOnDestroyCallbacks(),e._registerOnCollectionChange(()=>{}))}function nl(e,n){e.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(n)})}function yf(e,n){const t=kC(e);null!==n.validator?e.setValidators(PC(t,n.validator)):"function"==typeof t&&e.setValidators([t]);const r=FC(e);null!==n.asyncValidator?e.setAsyncValidators(PC(r,n.asyncValidator)):"function"==typeof r&&e.setAsyncValidators([r]);const i=()=>e.updateValueAndValidity();nl(n._rawValidators,i),nl(n._rawAsyncValidators,i)}function rl(e,n){let t=!1;if(null!==e){if(null!==n.validator){const i=kC(e);if(Array.isArray(i)&&i.length>0){const o=i.filter(s=>s!==n.validator);o.length!==i.length&&(t=!0,e.setValidators(o))}}if(null!==n.asyncValidator){const i=FC(e);if(Array.isArray(i)&&i.length>0){const o=i.filter(s=>s!==n.asyncValidator);o.length!==i.length&&(t=!0,e.setAsyncValidators(o))}}}const r=()=>{};return nl(n._rawValidators,r),nl(n._rawAsyncValidators,r),t}function WC(e,n){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function _f(e,n){if(!e.hasOwnProperty("model"))return!1;const t=e.model;return!!t.isFirstChange()||!Object.is(n,t.currentValue)}function Df(e,n){if(!n)return null;let t,r,i;return Array.isArray(n),n.forEach(o=>{o.constructor===Fo?t=o:function mk(e){return Object.getPrototypeOf(e.constructor)===yr}(o)?r=o:i=o}),i||r||t||null}function YC(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}function QC(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}const wf=class extends GC{constructor(n=null,t,r){super(gf(t),mf(r,t)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(n),this._setUpdateStrategy(t),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Xa(t)&&(t.nonNullable||t.initialValueIsDefault)&&(this.defaultValue=QC(n)?n.value:n)}setValue(n,t={}){this.value=this._pendingValue=n,this._onChange.length&&!1!==t.emitModelToViewChange&&this._onChange.forEach(r=>r(this.value,!1!==t.emitViewToModelChange)),this.updateValueAndValidity(t)}patchValue(n,t={}){this.setValue(n,t)}reset(n=this.defaultValue,t={}){this._applyFormState(n),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){YC(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){YC(this._onDisabledChange,n)}_forEachChild(n){}_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(n){QC(n)?(this.value=this._pendingValue=n.value,n.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=n}},Ck={provide:Kn,useExisting:fe(()=>il)},JC=(()=>Promise.resolve())();let il=(()=>{class e extends Kn{constructor(t,r,i,o,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this.control=new wf,this._registered=!1,this.name="",this.update=new ce,this._parent=t,this._setValidators(r),this._setAsyncValidators(i),this.valueAccessor=Df(0,o)}ngOnChanges(t){if(this._checkForErrors(),!this._registered||"name"in t){if(this._registered&&(this._checkName(),this.formDirective)){const r=t.name.previousValue;this.formDirective.removeControl({name:r,path:this._getPath(r)})}this._setUpControl()}"isDisabled"in t&&this._updateDisabled(t),_f(t,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(t){this.viewModel=t,this.update.emit(t)}_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(){Ho(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(t){JC.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(t){const r=t.isDisabled.currentValue,i=0!==r&&function pi(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}(r);JC.then(()=>{i&&!this.control.disabled?this.control.disable():!i&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(t){return this._parent?el(t,this._parent):[t]}static#e=this.\u0275fac=function(r){return new(r||e)(D(tt,9),D(Ye,10),D(Qn,10),D(Wt,10),D(Io,8),D(vr,8))};static#t=this.\u0275dir=V({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:[me([Ck]),ae,Nt]})}return e})(),ew=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275dir=V({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}return e})();const bk={provide:Wt,useExisting:fe(()=>bf),multi:!0};let nw=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=mt({type:e});static#n=this.\u0275inj=rt({})}return e})(),Ek=(()=>{class e{constructor(){this._accessors=[]}add(t,r){this._accessors.push([t,r])}remove(t){for(let r=this._accessors.length-1;r>=0;--r)if(this._accessors[r][1]===t)return void this._accessors.splice(r,1)}select(t){this._accessors.forEach(r=>{this._isSameGroup(r,t)&&r[1]!==t&&r[1].fireUncheck(t.value)})}_isSameGroup(t,r){return!!t[0].control&&t[0]._parent===r._control._parent&&t[1].name===r.name}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:nw})}return e})(),bf=(()=>{class e extends yr{constructor(t,r,i,o){super(t,r),this._registry=i,this._injector=o,this.setDisabledStateFired=!1,this.onChange=()=>{},this.callSetDisabledState=I(vr,{optional:!0})??jo}ngOnInit(){this._control=this._injector.get(Kn),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(t){this._state=t===this.value,this.setProperty("checked",this._state)}registerOnChange(t){this._fn=t,this.onChange=()=>{t(this.value),this._registry.select(this)}}setDisabledState(t){(this.setDisabledStateFired||t||"whenDisabledForLegacyCode"===this.callSetDisabledState)&&this.setProperty("disabled",t),this.setDisabledStateFired=!0}fireUncheck(t){this.writeValue(t)}_checkName(){!this.name&&this.formControlName&&(this.name=this.formControlName)}static#e=this.\u0275fac=function(r){return new(r||e)(D(En),D(ft),D(Ek),D(rn))};static#t=this.\u0275dir=V({type:e,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(r,i){1&r&&oe("change",function(){return i.onChange()})("blur",function(){return i.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[me([bk]),ae]})}return e})();const Ef=new A("NgModelWithFormControlWarning"),Ik={provide:tt,useExisting:fe(()=>ol)};let ol=(()=>{class e extends tt{constructor(t,r,i){super(),this.callSetDisabledState=i,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new ce,this._setValidators(t),this._setAsyncValidators(r)}ngOnChanges(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(rl(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(t){const r=this.form.get(t.path);return Ho(r,t,this.callSetDisabledState),r.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),r}getControl(t){return this.form.get(t.path)}removeControl(t){tl(t.control||null,t,!1),function yk(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}(this.directives,t)}addFormGroup(t){this._setUpFormContainer(t)}removeFormGroup(t){this._cleanUpFormContainer(t)}getFormGroup(t){return this.form.get(t.path)}addFormArray(t){this._setUpFormContainer(t)}removeFormArray(t){this._cleanUpFormContainer(t)}getFormArray(t){return this.form.get(t.path)}updateModel(t,r){this.form.get(t.path).setValue(r)}onSubmit(t){return this.submitted=!0,function ZC(e,n){e._syncPendingControls(),n.forEach(t=>{const r=t.control;"submit"===r.updateOn&&r._pendingChange&&(t.viewToModelUpdate(r._pendingValue),r._pendingChange=!1)})}(this.form,this.directives),this.ngSubmit.emit(t),"dialog"===t?.target?.method}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this.submitted=!1}_updateDomValue(){this.directives.forEach(t=>{const r=t.control,i=this.form.get(t.path);r!==i&&(tl(r||null,t),(e=>e instanceof wf)(i)&&(Ho(i,t,this.callSetDisabledState),t.control=i))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(t){const r=this.form.get(t.path);(function qC(e,n){yf(e,n)})(r,t),r.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(t){if(this.form){const r=this.form.get(t.path);r&&function pk(e,n){return rl(e,n)}(r,t)&&r.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){yf(this.form,this),this._oldForm&&rl(this._oldForm,this)}_checkFormPresent(){}static#e=this.\u0275fac=function(r){return new(r||e)(D(Ye,10),D(Qn,10),D(vr,8))};static#t=this.\u0275dir=V({type:e,selectors:[["","formGroup",""]],hostBindings:function(r,i){1&r&&oe("submit",function(s){return i.onSubmit(s)})("reset",function(){return i.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[me([Ik]),ae,Nt]})}return e})();const xk={provide:Kn,useExisting:fe(()=>If)};let If=(()=>{class e extends Kn{set isDisabled(t){}static#e=this._ngModelWarningSentOnce=!1;constructor(t,r,i,o,s){super(),this._ngModelWarningConfig=s,this._added=!1,this.name=null,this.update=new ce,this._ngModelWarningSent=!1,this._parent=t,this._setValidators(r),this._setAsyncValidators(i),this.valueAccessor=Df(0,o)}ngOnChanges(t){this._added||this._setUpControl(),_f(t,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}get path(){return el(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}static#t=this.\u0275fac=function(r){return new(r||e)(D(tt,13),D(Ye,10),D(Qn,10),D(Wt,10),D(Ef,8))};static#n=this.\u0275dir=V({type:e,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[me([xk]),ae,Nt]})}return e})(),yw=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=mt({type:e});static#n=this.\u0275inj=rt({imports:[nw]})}return e})(),vw=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:vr,useValue:t.callSetDisabledState??jo}]}}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=mt({type:e});static#n=this.\u0275inj=rt({imports:[yw]})}return e})(),Wk=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:Ef,useValue:t.warnOnNgModelWithFormControl??"always"},{provide:vr,useValue:t.callSetDisabledState??jo}]}}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=mt({type:e});static#n=this.\u0275inj=rt({imports:[yw]})}return e})();function qk(e,n){if(1&e&&(w(0,"span"),x(1),b()),2&e){const t=ne();T(1),bt(t._placeholder)}}function Zk(e,n){if(1&e){const t=Un();w(0,"span",15)(1,"span",16)(2,"span"),x(3),b(),w(4,"a",17),oe("click",function(i){const s=_n(t).$implicit;return Dn(ne().onItemClick(i,s))}),x(5,"x"),b()()()}if(2&e){const t=n.$implicit,r=n.index,i=ne();T(1),Z("hidden",r>i._settings.itemsShowLimit-1),Ct("title",t.tooltip),T(2),vo("",t.text,"\xa0")}}function Yk(e,n){if(1&e&&(w(0,"span",18),x(1),b()),2&e){const t=ne();T(1),vo("+",t.itemShowRemaining(),"")}}function Qk(e,n){if(1&e){const t=Un();w(0,"li",19),oe("click",function(){return _n(t),Dn(ne().toggleSelectAll())}),te(1,"input",20),w(2,"div"),x(3),b()()}if(2&e){const t=ne();T(1),Z("checked",t.isAllItemsSelected())("disabled",t.disabled||t.isLimitSelectionReached()),T(2),bt(t.isAllItemsSelected()?t._settings.unSelectAllText:t._settings.selectAllText)}}function Kk(e,n){if(1&e){const t=Un();w(0,"li",21)(1,"input",22),oe("ngModelChange",function(i){return _n(t),Dn(ne().filter.text=i)})("ngModelChange",function(i){return _n(t),Dn(ne().onFilterTextChange(i))}),b()()}if(2&e){const t=ne();T(1),Z("readOnly",t.disabled)("placeholder",t._settings.searchPlaceholderText)("ngModel",t.filter.text)}}function Xk(e,n){if(1&e){const t=Un();w(0,"li",23),oe("click",function(i){const s=_n(t).$implicit;return Dn(ne().onItemClick(i,s))}),te(1,"input",24),w(2,"div"),x(3),b()()}if(2&e){const t=n.$implicit,r=ne();Ct("title",t.tooltip),T(1),Z("checked",r.isSelected(t))("disabled",r.disabled||r.isLimitSelectionReached()&&!r.isSelected(t)||t.isDisabled),Ct("aria-label",t.text),T(2),bt(t.text)}}function Jk(e,n){if(1&e&&(w(0,"li",25)(1,"h5"),x(2),b()()),2&e){const t=ne();T(2),bt(t._settings.noFilteredDataAvailablePlaceholderText)}}function eF(e,n){if(1&e&&(w(0,"li",26)(1,"h5"),x(2),b()()),2&e){const t=ne();T(2),bt(t._settings.noDataAvailablePlaceholderText)}}const tF=function(e){return{"dropdown-multiselect--active":e}};class Nf{constructor(n){("string"==typeof n||"number"==typeof n)&&(this.id=this.text=n,this.isDisabled=!1),"object"==typeof n&&(this.id=n.id,this.text=n.text,this.tooltip=n.tooltip,this.isDisabled=n.isDisabled)}}let Of=(()=>{class e{transform(t,r){return t&&r?t.filter(i=>this.applyFilter(i,r)):t}applyFilter(t,r){return"string"==typeof t.text&&"string"==typeof r.text?!(r.text&&t.text&&-1===t.text.toLowerCase().indexOf(r.text.toLowerCase())):!(r.text&&t.text&&-1===t.text.toString().toLowerCase().indexOf(r.text.toString().toLowerCase()))}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275pipe=Qe({name:"multiSelectFilter",type:e,pure:!1})}return e})(),nF=(()=>{class e{constructor(t){this._elementRef=t,this.clickOutside=new ce}onClick(t,r){r&&(this._elementRef.nativeElement.contains(r)||this.clickOutside.emit(t))}static#e=this.\u0275fac=function(r){return new(r||e)(D(ft))};static#t=this.\u0275dir=V({type:e,selectors:[["","clickOutside",""]],hostBindings:function(r,i){1&r&&oe("click",function(s){return i.onClick(s,s.target)},0,um)},outputs:{clickOutside:"clickOutside"}})}return e})();const rF={provide:Wt,useExisting:fe(()=>Dw),multi:!0},_w=()=>{};let Dw=(()=>{class e{set placeholder(t){this._placeholder=t||"Select"}set settings(t){this._settings=t?Object.assign(this.defaultSettings,t):Object.assign(this.defaultSettings)}set data(t){if(t){const r=t[0];this._sourceDataType=typeof r,this._sourceDataFields=this.getFields(r),this._data=t.map(i=>this.deobjectify(i))}else this._data=[]}onFilterTextChange(t){this.onFilterChange.emit(t)}constructor(t,r){this.listFilterPipe=t,this.cdr=r,this._settings={singleSelection:!1,idField:"id",textField:"text",tooltipField:"tooltip",disabledField:"isDisabled",enableCheckAll:!0,selectAllText:"Select All",unSelectAllText:"UnSelect All",allowSearchFilter:!1,limitSelection:-1,clearSearchFilter:!0,maxHeight:197,itemsShowLimit:999999999999,searchPlaceholderText:"Search",noDataAvailablePlaceholderText:"No data available",noFilteredDataAvailablePlaceholderText:"No filtered data available",closeDropDownOnSelection:!1,showSelectedItemsAtTop:!1,defaultOpen:!1,allowRemoteDataSearch:!1},this._data=[],this.selectedItems=[],this.isDropdownOpen=!0,this._placeholder="Select",this._sourceDataFields=[],this.filter=new Nf(this.data),this.defaultSettings={singleSelection:!1,idField:"id",textField:"text",tooltipField:"tooltip",disabledField:"isDisabled",enableCheckAll:!0,selectAllText:"Select All",unSelectAllText:"UnSelect All",allowSearchFilter:!1,limitSelection:-1,clearSearchFilter:!0,maxHeight:197,itemsShowLimit:999999999999,searchPlaceholderText:"Search",noDataAvailablePlaceholderText:"No data available",noFilteredDataAvailablePlaceholderText:"No filtered data available",closeDropDownOnSelection:!1,showSelectedItemsAtTop:!1,defaultOpen:!1,allowRemoteDataSearch:!1},this.disabled=!1,this.onFilterChange=new ce,this.onDropDownClose=new ce,this.onSelect=new ce,this.onDeSelect=new ce,this.onSelectAll=new ce,this.onDeSelectAll=new ce,this.onTouchedCallback=_w,this.onChangeCallback=_w}onItemClick(t,r){if(this.disabled||r.isDisabled)return!1;const i=this.isSelected(r),o=-1===this._settings.limitSelection||this._settings.limitSelection>0&&this.selectedItems.length0)if(this._settings.singleSelection)try{t.length>=1&&(this.selectedItems=[this.deobjectify(t[0])])}catch{}else{const r=t.map(i=>this.deobjectify(i));this.selectedItems=this._settings.limitSelection>0?r.splice(0,this._settings.limitSelection):r}else this.selectedItems=[];this.onChangeCallback(t),this.cdr.markForCheck()}registerOnChange(t){this.onChangeCallback=t}registerOnTouched(t){this.onTouchedCallback=t}onTouched(){this.onTouchedCallback()}trackByFn(t,r){return r.id}isSelected(t){let r=!1;return this.selectedItems.forEach(i=>{t.id===i.id&&(r=!0)}),r}isLimitSelectionReached(){return this._settings.limitSelection===this.selectedItems.length}isAllItemsSelected(){let t=this.listFilterPipe.transform(this._data,this.filter);const r=t.filter(i=>i.isDisabled).length;return!((!this.data||0===this.data.length)&&this._settings.allowRemoteDataSearch)&&t.length===this.selectedItems.length+r}showButton(){return!(this._settings.singleSelection||this._settings.limitSelection>0)}itemShowRemaining(){return this.selectedItems.length-this._settings.itemsShowLimit}addSelected(t){this._settings.singleSelection?(this.selectedItems=[],this.selectedItems.push(t)):this.selectedItems.push(t),this.onChangeCallback(this.emittedValue(this.selectedItems)),this.onSelect.emit(this.emittedValue(t))}removeSelected(t){this.selectedItems.forEach(r=>{t.id===r.id&&this.selectedItems.splice(this.selectedItems.indexOf(r),1)}),this.onChangeCallback(this.emittedValue(this.selectedItems)),this.onDeSelect.emit(this.emittedValue(t))}emittedValue(t){const r=[];if(Array.isArray(t))t.map(i=>{r.push(this.objectify(i))});else if(t)return this.objectify(t);return r}objectify(t){if("object"===this._sourceDataType){const r=Object.assign({});return r[this._settings.idField]=t.id,r[this._settings.textField]=t.text,this._sourceDataFields.includes(this._settings.disabledField)&&(r[this._settings.disabledField]=t.isDisabled),this._sourceDataFields.includes(this._settings.tooltipField)&&(r[this._settings.tooltipField]=t.tooltip),r}return"number"===this._sourceDataType?Number(t.id):t.text}deobjectify(t){return new Nf("string"==typeof t||"number"==typeof t?t:{id:t[this._settings.idField],text:t[this._settings.textField],tooltip:t[this._settings.tooltipField],isDisabled:t[this._settings.disabledField]})}toggleDropdown(t){t.preventDefault(),(!this.disabled||!this._settings.singleSelection)&&(this._settings.defaultOpen=!this._settings.defaultOpen,this._settings.defaultOpen||this.onDropDownClose.emit())}closeDropdown(){this._settings.defaultOpen=!1,this._settings.clearSearchFilter&&(this.filter.text=""),this.onDropDownClose.emit()}toggleSelectAll(){if(this.disabled)return!1;this.isAllItemsSelected()?(this.selectedItems=[],this.onDeSelectAll.emit(this.emittedValue(this.selectedItems))):(this.selectedItems=this.listFilterPipe.transform(this._data,this.filter).filter(t=>!t.isDisabled).slice(),this.onSelectAll.emit(this.emittedValue(this.selectedItems))),this.onChangeCallback(this.emittedValue(this.selectedItems))}getFields(t){const r=[];if("object"!=typeof t)return r;for(const i in t)r.push(i);return r}static#e=this.\u0275fac=function(r){return new(r||e)(D(Of),D(Io))};static#t=this.\u0275cmp=Ir({type:e,selectors:[["ng-multiselect-dropdown3"]],hostBindings:function(r,i){1&r&&oe("blur",function(){return i.onTouched()})},inputs:{placeholder:"placeholder",disabled:"disabled",settings:"settings",data:"data"},outputs:{onFilterChange:"onFilterChange",onDropDownClose:"onDropDownClose",onSelect:"onSelect",onDeSelect:"onDeSelect",onSelectAll:"onSelectAll",onDeSelectAll:"onDeSelectAll"},features:[me([rF])],decls:18,vars:23,consts:[["tabindex","0",1,"multiselect-dropdown",3,"blur","clickOutside"],["tabindex","-1",1,"dropdown-btn",3,"click"],[4,"ngIf"],["class","selected-item-container",4,"ngFor","ngForOf","ngForTrackBy"],[2,"float","right !important","padding-right","4px",3,"ngClass"],["style","padding-right: 15px;",4,"ngIf"],[1,"dropdown-multiselect__caret"],[1,"dropdown-list",3,"hidden"],[1,"item1"],["class","multiselect-item-checkbox","style","border-bottom: 1px solid #ccc;padding:10px",3,"click",4,"ngIf"],["class","filter-textbox",4,"ngIf"],[1,"item2"],["class","multiselect-item-checkbox",3,"click",4,"ngFor","ngForOf"],["class","no-filtered-data",4,"ngIf"],["class","no-data",4,"ngIf"],[1,"selected-item-container"],[1,"selected-item",3,"hidden"],[2,"padding-left","2px","color","white",3,"click"],[2,"padding-right","15px"],[1,"multiselect-item-checkbox",2,"border-bottom","1px solid #ccc","padding","10px",3,"click"],["type","checkbox","aria-label","multiselect-select-all",3,"checked","disabled"],[1,"filter-textbox"],["type","text","aria-label","multiselect-search",3,"readOnly","placeholder","ngModel","ngModelChange"],[1,"multiselect-item-checkbox",3,"click"],["type","checkbox",3,"checked","disabled"],[1,"no-filtered-data"],[1,"no-data"]],template:function(r,i){1&r&&(w(0,"div",0),oe("blur",function(){return i.onTouched()})("clickOutside",function(){return i.closeDropdown()}),w(1,"div")(2,"span",1),oe("click",function(s){return i.toggleDropdown(s)}),le(3,qk,2,1,"span",2),le(4,Zk,6,3,"span",3),w(5,"span",4),le(6,Yk,2,1,"span",5),te(7,"span",6),b()()(),w(8,"div",7)(9,"ul",8),le(10,Qk,4,3,"li",9),le(11,Kk,2,3,"li",10),b(),w(12,"ul",11),le(13,Xk,4,5,"li",12),Wu(14,"multiSelectFilter"),le(15,Jk,3,1,"li",13),Wu(16,"multiSelectFilter"),le(17,eF,3,1,"li",14),b()()()),2&r&&(T(1),hr("disabled",i.disabled),T(2),Z("ngIf",0==i.selectedItems.length),T(1),Z("ngForOf",i.selectedItems)("ngForTrackBy",i.trackByFn),T(1),Z("ngClass",jv(21,tF,i._settings.defaultOpen)),T(1),Z("ngIf",i.itemShowRemaining()>0),T(2),Z("hidden",!i._settings.defaultOpen),T(2),Z("ngIf",(i._data.length>0||i._settings.allowRemoteDataSearch)&&!i._settings.singleSelection&&i._settings.enableCheckAll&&-1===i._settings.limitSelection),T(1),Z("ngIf",(i._data.length>0||i._settings.allowRemoteDataSearch)&&i._settings.allowSearchFilter),T(1),Pu("max-height",i._settings.maxHeight+"px"),T(1),Z("ngForOf",qu(14,15,i._data,i.filter)),T(2),Z("ngIf",0!=i._data.length&&0==qu(16,18,i._data,i.filter).length&&!i._settings.allowRemoteDataSearch),T(2),Z("ngIf",0==i._data.length&&!i._settings.allowRemoteDataSearch))},dependencies:[CD,Hd,Bd,Fo,ff,il,nF,Of],styles:['.multiselect-dropdown[_ngcontent-%COMP%]{position:relative;width:100%;font-size:inherit;font-family:inherit}.multiselect-dropdown[_ngcontent-%COMP%] .dropdown-btn[_ngcontent-%COMP%]{display:inline-block;border:1px solid #adadad;width:100%;padding:6px 12px;margin-bottom:0;font-weight:400;line-height:1.52857143;text-align:left;vertical-align:middle;cursor:pointer;background-image:none;border-radius:4px}.multiselect-dropdown[_ngcontent-%COMP%] .dropdown-btn[_ngcontent-%COMP%] .selected-item-container[_ngcontent-%COMP%]{display:flex;float:left;max-width:93%}.multiselect-dropdown[_ngcontent-%COMP%] .dropdown-btn[_ngcontent-%COMP%] .selected-item-container[_ngcontent-%COMP%] .selected-item[_ngcontent-%COMP%]{border:1px solid #337ab7;margin-right:4px;margin-bottom:4px;background:#337ab7;padding:0 5px;color:#fff;border-radius:2px;float:left}.multiselect-dropdown[_ngcontent-%COMP%] .dropdown-btn[_ngcontent-%COMP%] .selected-item-container[_ngcontent-%COMP%] .selected-item[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis}.multiselect-dropdown[_ngcontent-%COMP%] .dropdown-btn[_ngcontent-%COMP%] .selected-item-container[_ngcontent-%COMP%] .selected-item[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none}.multiselect-dropdown[_ngcontent-%COMP%] .dropdown-btn[_ngcontent-%COMP%] .selected-item[_ngcontent-%COMP%]:hover{box-shadow:1px 1px #959595}.multiselect-dropdown[_ngcontent-%COMP%] .dropdown-btn[_ngcontent-%COMP%] .dropdown-multiselect__caret[_ngcontent-%COMP%]{line-height:16px;display:block;position:absolute;box-sizing:border-box;width:40px;height:38px;right:1px;top:0;padding:4px 8px;margin:0;text-decoration:none;text-align:center;cursor:pointer;transition:transform .2s ease}.multiselect-dropdown[_ngcontent-%COMP%] .dropdown-btn[_ngcontent-%COMP%] .dropdown-multiselect__caret[_ngcontent-%COMP%]:before{position:relative;right:0;top:65%;color:#999;margin-top:4px;border-style:solid;border-width:8px 8px 0 8px;border-color:#999999 transparent;content:""}.multiselect-dropdown[_ngcontent-%COMP%] .dropdown-btn[_ngcontent-%COMP%] .dropdown-multiselect--active[_ngcontent-%COMP%] .dropdown-multiselect__caret[_ngcontent-%COMP%]{transform:rotate(180deg)}.multiselect-dropdown[_ngcontent-%COMP%] .disabled[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{background-color:#eceeef}.dropdown-list[_ngcontent-%COMP%]{position:absolute;padding-top:6px;width:100%;z-index:9999;border:1px solid #ccc;border-radius:3px;background:#fff;margin-top:10px;box-shadow:0 1px 5px #959595}.dropdown-list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{padding:0;list-style:none;overflow:auto;margin:0}.dropdown-list[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{padding:6px 10px;cursor:pointer;text-align:left}.dropdown-list[_ngcontent-%COMP%] .filter-textbox[_ngcontent-%COMP%]{border-bottom:1px solid #ccc;position:relative;padding:10px}.dropdown-list[_ngcontent-%COMP%] .filter-textbox[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{border:0px;width:100%;padding:0 0 0 26px}.dropdown-list[_ngcontent-%COMP%] .filter-textbox[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:focus{outline:none}.multiselect-item-checkbox[_ngcontent-%COMP%]:hover{background-color:#e4e3e3}.multiselect-item-checkbox[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.multiselect-item-checkbox[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]:focus+div:before, .multiselect-item-checkbox[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]:hover+div:before{border-color:#337ab7;background-color:#f2f2f2}.multiselect-item-checkbox[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]:active+div:before{transition-duration:0s}.multiselect-item-checkbox[_ngcontent-%COMP%] input[type=checkbox]+div[_ngcontent-%COMP%]{position:relative;padding-left:2em;vertical-align:middle;-webkit-user-select:none;user-select:none;cursor:pointer;margin:0;color:#000}.multiselect-item-checkbox[_ngcontent-%COMP%] input[type=checkbox]+div[_ngcontent-%COMP%]:before{box-sizing:content-box;content:"";color:#337ab7;position:absolute;top:50%;left:0;width:14px;height:14px;margin-top:-9px;border:2px solid #337ab7;text-align:center;transition:all .4s ease}.multiselect-item-checkbox[_ngcontent-%COMP%] input[type=checkbox]+div[_ngcontent-%COMP%]:after{box-sizing:content-box;content:"";background-color:#337ab7;position:absolute;top:50%;left:4px;width:10px;height:10px;margin-top:-5px;transform:scale(0);transform-origin:50%;transition:transform .2s ease-out}.multiselect-item-checkbox[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]:disabled+div:before{border-color:#ccc}.multiselect-item-checkbox[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]:disabled:focus+div:before .multiselect-item-checkbox[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]:disabled:hover+div:before{background-color:inherit}.multiselect-item-checkbox[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]:disabled:checked+div:before{background-color:#ccc}.multiselect-item-checkbox[_ngcontent-%COMP%] input[type=checkbox]+div[_ngcontent-%COMP%]:after{background-color:transparent;top:50%;left:4px;width:8px;height:3px;margin-top:-4px;border-style:solid;border-color:#fff;border-width:0 0 3px 3px;border-image:none;transform:rotate(-45deg) scale(0)}.multiselect-item-checkbox[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]:checked+div:after{content:"";transform:rotate(-45deg) scale(1);transition:transform .2s ease-out}.multiselect-item-checkbox[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]:checked+div:before{animation:_ngcontent-%COMP%_borderscale .2s ease-in;background:#337ab7}.multiselect-item-checkbox[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]:checked+div:after{transform:rotate(-45deg) scale(1)}@keyframes _ngcontent-%COMP%_borderscale{50%{box-shadow:0 0 0 2px #337ab7}}'],changeDetection:0})}return e})(),iF=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=mt({type:e});static#n=this.\u0275inj=rt({providers:[Of],imports:[ID,vw]})}return e})();function Rf(...e){const n=Ni(e),t=Ah(e),{args:r,keys:i}=hC(e);if(0===r.length)return Re([],n);const o=new be(function sF(e,n,t=kn){return r=>{Cw(n,()=>{const{length:i}=e,o=new Array(i);let s=i,a=i;for(let l=0;l{const c=Re(e[l],n);let u=!1;c.subscribe(Oe(r,d=>{o[l]=d,u||(u=!0,a--),a||r.next(t(o.slice()))},()=>{--s||r.complete()}))},r)},r)}}(r,n,i?s=>gC(i,s):kn));return t?o.pipe(pC(t)):o}function Cw(e,n,t){e?pn(t,e,n):n()}const sl=Ai(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function Pf(...e){return function aF(){return Mr(1)}()(Re(e,Ni(e)))}function ww(e){return new be(n=>{Tt(e()).subscribe(n)})}function $o(e,n){const t=de(e)?e:()=>e,r=i=>i.error(t());return new be(n?i=>n.schedule(r,0,i):r)}function kf(){return je((e,n)=>{let t=null;e._refCount++;const r=Oe(n,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount)return void(t=null);const i=e._connection,o=t;t=null,i&&(!o||i===o)&&i.unsubscribe(),n.unsubscribe()});e.subscribe(r),r.closed||(t=e.connect())})}class bw extends be{constructor(n,t){super(),this.source=n,this.subjectFactory=t,this._subject=null,this._refCount=0,this._connection=null,hh(n)&&(this.lift=n.lift)}_subscribe(n){return this.getSubject().subscribe(n)}getSubject(){const n=this._subject;return(!n||n.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:n}=this;this._subject=this._connection=null,n?.unsubscribe()}connect(){let n=this._connection;if(!n){n=this._connection=new It;const t=this.getSubject();n.add(this.source.subscribe(Oe(t,void 0,()=>{this._teardown(),t.complete()},r=>{this._teardown(),t.error(r)},()=>this._teardown()))),n.closed&&(this._connection=null,n=It.EMPTY)}return n}refCount(){return kf()(this)}}function _i(e){return e<=0?()=>Zt:je((n,t)=>{let r=0;n.subscribe(Oe(t,i=>{++r<=e&&(t.next(i),e<=r&&t.complete())}))})}function al(e){return je((n,t)=>{let r=!1;n.subscribe(Oe(t,i=>{r=!0,t.next(i)},()=>{r||t.next(e),t.complete()}))})}function Ew(e=cF){return je((n,t)=>{let r=!1;n.subscribe(Oe(t,i=>{r=!0,t.next(i)},()=>r?t.complete():t.error(e())))})}function cF(){return new sl}function Dr(e,n){const t=arguments.length>=2;return r=>r.pipe(e?On((i,o)=>e(i,o,r)):kn,_i(1),t?al(n):Ew(()=>new sl))}function nt(e,n,t){const r=de(e)||n||t?{next:e,error:n,complete:t}:e;return r?je((i,o)=>{var s;null===(s=r.subscribe)||void 0===s||s.call(r);let a=!0;i.subscribe(Oe(o,l=>{var c;null===(c=r.next)||void 0===c||c.call(r,l),o.next(l)},()=>{var l;a=!1,null===(l=r.complete)||void 0===l||l.call(r),o.complete()},l=>{var c;a=!1,null===(c=r.error)||void 0===c||c.call(r,l),o.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)}))}):kn}function Cr(e){return je((n,t)=>{let o,r=null,i=!1;r=n.subscribe(Oe(t,void 0,void 0,s=>{o=Tt(e(s,Cr(e)(n))),r?(r.unsubscribe(),r=null,o.subscribe(t)):i=!0})),i&&(r.unsubscribe(),r=null,o.subscribe(t))})}function Ff(e){return e<=0?()=>Zt:je((n,t)=>{let r=[];n.subscribe(Oe(t,i=>{r.push(i),e{for(const i of r)t.next(i);t.complete()},void 0,()=>{r=null}))})}const G="primary",Uo=Symbol("RouteTitle");class pF{constructor(n){this.params=n||{}}has(n){return Object.prototype.hasOwnProperty.call(this.params,n)}get(n){if(this.has(n)){const t=this.params[n];return Array.isArray(t)?t[0]:t}return null}getAll(n){if(this.has(n)){const t=this.params[n];return Array.isArray(t)?t:[t]}return[]}get keys(){return Object.keys(this.params)}}function Di(e){return new pF(e)}function gF(e,n,t){const r=t.path.split("/");if(r.length>e.length||"full"===t.pathMatch&&(n.hasChildren()||r.lengthr[o]===i)}return e===n}function Sw(e){return e.length>0?e[e.length-1]:null}function Xn(e){return function oF(e){return!!e&&(e instanceof be||de(e.lift)&&de(e.subscribe))}(e)?e:mo(e)?Re(Promise.resolve(e)):L(e)}const yF={exact:function Tw(e,n,t){if(!wr(e.segments,n.segments)||!ll(e.segments,n.segments,t)||e.numberOfChildren!==n.numberOfChildren)return!1;for(const r in n.children)if(!e.children[r]||!Tw(e.children[r],n.children[r],t))return!1;return!0},subset:xw},Iw={exact:function vF(e,n){return dn(e,n)},subset:function _F(e,n){return Object.keys(n).length<=Object.keys(e).length&&Object.keys(n).every(t=>Mw(e[t],n[t]))},ignored:()=>!0};function Aw(e,n,t){return yF[t.paths](e.root,n.root,t.matrixParams)&&Iw[t.queryParams](e.queryParams,n.queryParams)&&!("exact"===t.fragment&&e.fragment!==n.fragment)}function xw(e,n,t){return Nw(e,n,n.segments,t)}function Nw(e,n,t,r){if(e.segments.length>t.length){const i=e.segments.slice(0,t.length);return!(!wr(i,t)||n.hasChildren()||!ll(i,t,r))}if(e.segments.length===t.length){if(!wr(e.segments,t)||!ll(e.segments,t,r))return!1;for(const i in n.children)if(!e.children[i]||!xw(e.children[i],n.children[i],r))return!1;return!0}{const i=t.slice(0,e.segments.length),o=t.slice(e.segments.length);return!!(wr(e.segments,i)&&ll(e.segments,i,r)&&e.children[G])&&Nw(e.children[G],n,o,r)}}function ll(e,n,t){return n.every((r,i)=>Iw[t](e[i].parameters,r.parameters))}class Ci{constructor(n=new ue([],{}),t={},r=null){this.root=n,this.queryParams=t,this.fragment=r}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Di(this.queryParams)),this._queryParamMap}toString(){return wF.serialize(this)}}class ue{constructor(n,t){this.segments=n,this.children=t,this.parent=null,Object.values(t).forEach(r=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return cl(this)}}class zo{constructor(n,t){this.path=n,this.parameters=t}get parameterMap(){return this._parameterMap||(this._parameterMap=Di(this.parameters)),this._parameterMap}toString(){return Pw(this)}}function wr(e,n){return e.length===n.length&&e.every((t,r)=>t.path===n[r].path)}let Go=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=O({token:e,factory:function(){return new Lf},providedIn:"root"})}return e})();class Lf{parse(n){const t=new RF(n);return new Ci(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}serialize(n){const t=`/${Wo(n.root,!0)}`,r=function MF(e){const n=Object.keys(e).map(t=>{const r=e[t];return Array.isArray(r)?r.map(i=>`${ul(t)}=${ul(i)}`).join("&"):`${ul(t)}=${ul(r)}`}).filter(t=>!!t);return n.length?`?${n.join("&")}`:""}(n.queryParams);return`${t}${r}${"string"==typeof n.fragment?`#${function bF(e){return encodeURI(e)}(n.fragment)}`:""}`}}const wF=new Lf;function cl(e){return e.segments.map(n=>Pw(n)).join("/")}function Wo(e,n){if(!e.hasChildren())return cl(e);if(n){const t=e.children[G]?Wo(e.children[G],!1):"",r=[];return Object.entries(e.children).forEach(([i,o])=>{i!==G&&r.push(`${i}:${Wo(o,!1)}`)}),r.length>0?`${t}(${r.join("//")})`:t}{const t=function CF(e,n){let t=[];return Object.entries(e.children).forEach(([r,i])=>{r===G&&(t=t.concat(n(i,r)))}),Object.entries(e.children).forEach(([r,i])=>{r!==G&&(t=t.concat(n(i,r)))}),t}(e,(r,i)=>i===G?[Wo(e.children[G],!1)]:[`${i}:${Wo(r,!1)}`]);return 1===Object.keys(e.children).length&&null!=e.children[G]?`${cl(e)}/${t[0]}`:`${cl(e)}/(${t.join("//")})`}}function Ow(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function ul(e){return Ow(e).replace(/%3B/gi,";")}function Vf(e){return Ow(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function dl(e){return decodeURIComponent(e)}function Rw(e){return dl(e.replace(/\+/g,"%20"))}function Pw(e){return`${Vf(e.path)}${function EF(e){return Object.keys(e).map(n=>`;${Vf(n)}=${Vf(e[n])}`).join("")}(e.parameters)}`}const SF=/^[^\/()?;#]+/;function jf(e){const n=e.match(SF);return n?n[0]:""}const IF=/^[^\/()?;=#]+/,TF=/^[^=?&#]+/,NF=/^[^&#]+/;class RF{constructor(n){this.url=n,this.remaining=n}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new ue([],{}):new ue([],this.parseChildren())}parseQueryParams(){const n={};if(this.consumeOptional("?"))do{this.parseQueryParam(n)}while(this.consumeOptional("&"));return n}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const n=[];for(this.peekStartsWith("(")||n.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),n.push(this.parseSegment());let t={};this.peekStartsWith("/(")&&(this.capture("/"),t=this.parseParens(!0));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1)),(n.length>0||Object.keys(t).length>0)&&(r[G]=new ue(n,t)),r}parseSegment(){const n=jf(this.remaining);if(""===n&&this.peekStartsWith(";"))throw new _(4009,!1);return this.capture(n),new zo(dl(n),this.parseMatrixParams())}parseMatrixParams(){const n={};for(;this.consumeOptional(";");)this.parseParam(n);return n}parseParam(n){const t=function AF(e){const n=e.match(IF);return n?n[0]:""}(this.remaining);if(!t)return;this.capture(t);let r="";if(this.consumeOptional("=")){const i=jf(this.remaining);i&&(r=i,this.capture(r))}n[dl(t)]=dl(r)}parseQueryParam(n){const t=function xF(e){const n=e.match(TF);return n?n[0]:""}(this.remaining);if(!t)return;this.capture(t);let r="";if(this.consumeOptional("=")){const s=function OF(e){const n=e.match(NF);return n?n[0]:""}(this.remaining);s&&(r=s,this.capture(r))}const i=Rw(t),o=Rw(r);if(n.hasOwnProperty(i)){let s=n[i];Array.isArray(s)||(s=[s],n[i]=s),s.push(o)}else n[i]=o}parseParens(n){const t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const r=jf(this.remaining),i=this.remaining[r.length];if("/"!==i&&")"!==i&&";"!==i)throw new _(4010,!1);let o;r.indexOf(":")>-1?(o=r.slice(0,r.indexOf(":")),this.capture(o),this.capture(":")):n&&(o=G);const s=this.parseChildren();t[o]=1===Object.keys(s).length?s[G]:new ue([],s),this.consumeOptional("//")}return t}peekStartsWith(n){return this.remaining.startsWith(n)}consumeOptional(n){return!!this.peekStartsWith(n)&&(this.remaining=this.remaining.substring(n.length),!0)}capture(n){if(!this.consumeOptional(n))throw new _(4011,!1)}}function kw(e){return e.segments.length>0?new ue([],{[G]:e}):e}function Fw(e){const n={};for(const r of Object.keys(e.children)){const o=Fw(e.children[r]);if(r===G&&0===o.segments.length&&o.hasChildren())for(const[s,a]of Object.entries(o.children))n[s]=a;else(o.segments.length>0||o.hasChildren())&&(n[r]=o)}return function PF(e){if(1===e.numberOfChildren&&e.children[G]){const n=e.children[G];return new ue(e.segments.concat(n.segments),n.children)}return e}(new ue(e.segments,n))}function br(e){return e instanceof Ci}function Lw(e){let n;const i=kw(function t(o){const s={};for(const l of o.children){const c=t(l);s[l.outlet]=c}const a=new ue(o.url,s);return o===e&&(n=a),a}(e.root));return n??i}function Vw(e,n,t,r){let i=e;for(;i.parent;)i=i.parent;if(0===n.length)return Hf(i,i,i,t,r);const o=function FF(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new Hw(!0,0,e);let n=0,t=!1;const r=e.reduce((i,o,s)=>{if("object"==typeof o&&null!=o){if(o.outlets){const a={};return Object.entries(o.outlets).forEach(([l,c])=>{a[l]="string"==typeof c?c.split("/"):c}),[...i,{outlets:a}]}if(o.segmentPath)return[...i,o.segmentPath]}return"string"!=typeof o?[...i,o]:0===s?(o.split("/").forEach((a,l)=>{0==l&&"."===a||(0==l&&""===a?t=!0:".."===a?n++:""!=a&&i.push(a))}),i):[...i,o]},[]);return new Hw(t,n,r)}(n);if(o.toRoot())return Hf(i,i,new ue([],{}),t,r);const s=function LF(e,n,t){if(e.isAbsolute)return new hl(n,!0,0);if(!t)return new hl(n,!1,NaN);if(null===t.parent)return new hl(t,!0,0);const r=fl(e.commands[0])?0:1;return function VF(e,n,t){let r=e,i=n,o=t;for(;o>i;){if(o-=i,r=r.parent,!r)throw new _(4005,!1);i=r.segments.length}return new hl(r,!1,i-o)}(t,t.segments.length-1+r,e.numberOfDoubleDots)}(o,i,e),a=s.processChildren?Zo(s.segmentGroup,s.index,o.commands):Bw(s.segmentGroup,s.index,o.commands);return Hf(i,s.segmentGroup,a,t,r)}function fl(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function qo(e){return"object"==typeof e&&null!=e&&e.outlets}function Hf(e,n,t,r,i){let s,o={};r&&Object.entries(r).forEach(([l,c])=>{o[l]=Array.isArray(c)?c.map(u=>`${u}`):`${c}`}),s=e===n?t:jw(e,n,t);const a=kw(Fw(s));return new Ci(a,o,i)}function jw(e,n,t){const r={};return Object.entries(e.children).forEach(([i,o])=>{r[i]=o===n?t:jw(o,n,t)}),new ue(e.segments,r)}class Hw{constructor(n,t,r){if(this.isAbsolute=n,this.numberOfDoubleDots=t,this.commands=r,n&&r.length>0&&fl(r[0]))throw new _(4003,!1);const i=r.find(qo);if(i&&i!==Sw(r))throw new _(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class hl{constructor(n,t,r){this.segmentGroup=n,this.processChildren=t,this.index=r}}function Bw(e,n,t){if(e||(e=new ue([],{})),0===e.segments.length&&e.hasChildren())return Zo(e,n,t);const r=function HF(e,n,t){let r=0,i=n;const o={match:!1,pathIndex:0,commandIndex:0};for(;i=t.length)return o;const s=e.segments[i],a=t[r];if(qo(a))break;const l=`${a}`,c=r0&&void 0===l)break;if(l&&c&&"object"==typeof c&&void 0===c.outlets){if(!Uw(l,c,s))return o;r+=2}else{if(!Uw(l,{},s))return o;r++}i++}return{match:!0,pathIndex:i,commandIndex:r}}(e,n,t),i=t.slice(r.commandIndex);if(r.match&&r.pathIndex{"string"==typeof s&&(s=[s]),null!==s&&(i[o]=Bw(e.children[o],n,s))}),Object.entries(e.children).forEach(([o,s])=>{void 0===r[o]&&(i[o]=s)}),new ue(e.segments,i)}}function Bf(e,n,t){const r=e.segments.slice(0,n);let i=0;for(;i{"string"==typeof r&&(r=[r]),null!==r&&(n[t]=Bf(new ue([],{}),0,r))}),n}function $w(e){const n={};return Object.entries(e).forEach(([t,r])=>n[t]=`${r}`),n}function Uw(e,n,t){return e==t.path&&dn(n,t.parameters)}const Yo="imperative";class fn{constructor(n,t){this.id=n,this.url=t}}class $f extends fn{constructor(n,t,r="imperative",i=null){super(n,t),this.type=0,this.navigationTrigger=r,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Er extends fn{constructor(n,t,r){super(n,t),this.urlAfterRedirects=r,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class pl extends fn{constructor(n,t,r,i){super(n,t),this.reason=r,this.code=i,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Qo extends fn{constructor(n,t,r,i){super(n,t),this.reason=r,this.code=i,this.type=16}}class Uf extends fn{constructor(n,t,r,i){super(n,t),this.error=r,this.target=i,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class $F extends fn{constructor(n,t,r,i){super(n,t),this.urlAfterRedirects=r,this.state=i,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class UF extends fn{constructor(n,t,r,i){super(n,t),this.urlAfterRedirects=r,this.state=i,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class zF extends fn{constructor(n,t,r,i,o){super(n,t),this.urlAfterRedirects=r,this.state=i,this.shouldActivate=o,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class GF extends fn{constructor(n,t,r,i){super(n,t),this.urlAfterRedirects=r,this.state=i,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class WF extends fn{constructor(n,t,r,i){super(n,t),this.urlAfterRedirects=r,this.state=i,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class qF{constructor(n){this.route=n,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class ZF{constructor(n){this.route=n,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class YF{constructor(n){this.snapshot=n,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class QF{constructor(n){this.snapshot=n,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class KF{constructor(n){this.snapshot=n,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class XF{constructor(n){this.snapshot=n,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class zw{constructor(n,t,r){this.routerEvent=n,this.position=t,this.anchor=r,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class JF{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new Ko,this.attachRef=null}}let Ko=(()=>{class e{constructor(){this.contexts=new Map}onChildOutletCreated(t,r){const i=this.getOrCreateContext(t);i.outlet=r,this.contexts.set(t,i)}onChildOutletDestroyed(t){const r=this.getContext(t);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){const t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let r=this.getContext(t);return r||(r=new JF,this.contexts.set(t,r)),r}getContext(t){return this.contexts.get(t)||null}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();class Gw{constructor(n){this._root=n}get root(){return this._root.value}parent(n){const t=this.pathFromRoot(n);return t.length>1?t[t.length-2]:null}children(n){const t=zf(n,this._root);return t?t.children.map(r=>r.value):[]}firstChild(n){const t=zf(n,this._root);return t&&t.children.length>0?t.children[0].value:null}siblings(n){const t=Gf(n,this._root);return t.length<2?[]:t[t.length-2].children.map(i=>i.value).filter(i=>i!==n)}pathFromRoot(n){return Gf(n,this._root).map(t=>t.value)}}function zf(e,n){if(e===n.value)return n;for(const t of n.children){const r=zf(e,t);if(r)return r}return null}function Gf(e,n){if(e===n.value)return[n];for(const t of n.children){const r=Gf(e,t);if(r.length)return r.unshift(n),r}return[]}class Rn{constructor(n,t){this.value=n,this.children=t}toString(){return`TreeNode(${this.value})`}}function wi(e){const n={};return e&&e.children.forEach(t=>n[t.value.outlet]=t),n}class Ww extends Gw{constructor(n,t){super(n),this.snapshot=t,Wf(this,n)}toString(){return this.snapshot.toString()}}function qw(e,n){const t=function eL(e,n){const s=new gl([],{},{},"",{},G,n,null,{});return new Yw("",new Rn(s,[]))}(0,n),r=new At([new zo("",{})]),i=new At({}),o=new At({}),s=new At({}),a=new At(""),l=new bi(r,i,s,a,o,G,n,t.root);return l.snapshot=t.root,new Ww(new Rn(l,[]),t)}class bi{constructor(n,t,r,i,o,s,a,l){this.urlSubject=n,this.paramsSubject=t,this.queryParamsSubject=r,this.fragmentSubject=i,this.dataSubject=o,this.outlet=s,this.component=a,this._futureSnapshot=l,this.title=this.dataSubject?.pipe(J(c=>c[Uo]))??L(void 0),this.url=n,this.params=t,this.queryParams=r,this.fragment=i,this.data=o}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe(J(n=>Di(n)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(J(n=>Di(n)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Zw(e,n="emptyOnly"){const t=e.pathFromRoot;let r=0;if("always"!==n)for(r=t.length-1;r>=1;){const i=t[r],o=t[r-1];if(i.routeConfig&&""===i.routeConfig.path)r--;else{if(o.component)break;r--}}return function tL(e){return e.reduce((n,t)=>({params:{...n.params,...t.params},data:{...n.data,...t.data},resolve:{...t.data,...n.resolve,...t.routeConfig?.data,...t._resolvedData}}),{params:{},data:{},resolve:{}})}(t.slice(r))}class gl{get title(){return this.data?.[Uo]}constructor(n,t,r,i,o,s,a,l,c){this.url=n,this.params=t,this.queryParams=r,this.fragment=i,this.data=o,this.outlet=s,this.component=a,this.routeConfig=l,this._resolve=c}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=Di(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Di(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(r=>r.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Yw extends Gw{constructor(n,t){super(t),this.url=n,Wf(this,t)}toString(){return Qw(this._root)}}function Wf(e,n){n.value._routerState=e,n.children.forEach(t=>Wf(e,t))}function Qw(e){const n=e.children.length>0?` { ${e.children.map(Qw).join(", ")} } `:"";return`${e.value}${n}`}function qf(e){if(e.snapshot){const n=e.snapshot,t=e._futureSnapshot;e.snapshot=t,dn(n.queryParams,t.queryParams)||e.queryParamsSubject.next(t.queryParams),n.fragment!==t.fragment&&e.fragmentSubject.next(t.fragment),dn(n.params,t.params)||e.paramsSubject.next(t.params),function mF(e,n){if(e.length!==n.length)return!1;for(let t=0;tdn(t.parameters,n[r].parameters))}(e.url,n.url);return t&&!(!e.parent!=!n.parent)&&(!e.parent||Zf(e.parent,n.parent))}let Yf=(()=>{class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=G,this.activateEvents=new ce,this.deactivateEvents=new ce,this.attachEvents=new ce,this.detachEvents=new ce,this.parentContexts=I(Ko),this.location=I($t),this.changeDetector=I(Io),this.environmentInjector=I(nn),this.inputBinder=I(ml,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(t){if(t.name){const{firstChange:r,previousValue:i}=t.name;if(r)return;this.isTrackedInParentContexts(i)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(i)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(t){return this.parentContexts.getContext(t)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const t=this.parentContexts.getContext(this.name);t?.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new _(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new _(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new _(4012,!1);this.location.detach();const t=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(t.instance),t}attach(t,r){this.activated=t,this._activatedRoute=r,this.location.insert(t.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(t.instance)}deactivate(){if(this.activated){const t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,r){if(this.isActivated)throw new _(4013,!1);this._activatedRoute=t;const i=this.location,s=t.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,l=new nL(t,a,i.injector);this.activated=i.createComponent(s,{index:i.length,injector:l,environmentInjector:r??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275dir=V({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[Nt]})}return e})();class nL{constructor(n,t,r){this.route=n,this.childContexts=t,this.parent=r}get(n,t){return n===bi?this.route:n===Ko?this.childContexts:this.parent.get(n,t)}}const ml=new A("");let Kw=(()=>{class e{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(t){this.unsubscribeFromRouteData(t),this.subscribeToRouteData(t)}unsubscribeFromRouteData(t){this.outletDataSubscriptions.get(t)?.unsubscribe(),this.outletDataSubscriptions.delete(t)}subscribeToRouteData(t){const{activatedRoute:r}=t,i=Rf([r.queryParams,r.params,r.data]).pipe(cn(([o,s,a],l)=>(a={...o,...s,...a},0===l?L(a):Promise.resolve(a)))).subscribe(o=>{if(!t.isActivated||!t.activatedComponentRef||t.activatedRoute!==r||null===r.component)return void this.unsubscribeFromRouteData(t);const s=function zO(e){const n=ee(e);if(!n)return null;const t=new uo(n);return{get selector(){return t.selector},get type(){return t.componentType},get inputs(){return t.inputs},get outputs(){return t.outputs},get ngContentSelectors(){return t.ngContentSelectors},get isStandalone(){return n.standalone}}}(r.component);if(s)for(const{templateName:a}of s.inputs)t.activatedComponentRef.setInput(a,o[a]);else this.unsubscribeFromRouteData(t)});this.outletDataSubscriptions.set(t,i)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=O({token:e,factory:e.\u0275fac})}return e})();function Xo(e,n,t){if(t&&e.shouldReuseRoute(n.value,t.value.snapshot)){const r=t.value;r._futureSnapshot=n.value;const i=function iL(e,n,t){return n.children.map(r=>{for(const i of t.children)if(e.shouldReuseRoute(r.value,i.value.snapshot))return Xo(e,r,i);return Xo(e,r)})}(e,n,t);return new Rn(r,i)}{if(e.shouldAttach(n.value)){const o=e.retrieve(n.value);if(null!==o){const s=o.route;return s.value._futureSnapshot=n.value,s.children=n.children.map(a=>Xo(e,a)),s}}const r=function oL(e){return new bi(new At(e.url),new At(e.params),new At(e.queryParams),new At(e.fragment),new At(e.data),e.outlet,e.component,e)}(n.value),i=n.children.map(o=>Xo(e,o));return new Rn(r,i)}}const Qf="ngNavigationCancelingError";function Xw(e,n){const{redirectTo:t,navigationBehaviorOptions:r}=br(n)?{redirectTo:n,navigationBehaviorOptions:void 0}:n,i=Jw(!1,0,n);return i.url=t,i.navigationBehaviorOptions=r,i}function Jw(e,n,t){const r=new Error("NavigationCancelingError: "+(e||""));return r[Qf]=!0,r.cancellationCode=n,t&&(r.url=t),r}function eb(e){return tb(e)&&br(e.url)}function tb(e){return e&&e[Qf]}let nb=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=Ir({type:e,selectors:[["ng-component"]],standalone:!0,features:[Ov],decls:1,vars:0,template:function(r,i){1&r&&te(0,"router-outlet")},dependencies:[Yf],encapsulation:2})}return e})();function Kf(e){const n=e.children&&e.children.map(Kf),t=n?{...e,children:n}:{...e};return!t.component&&!t.loadComponent&&(n||t.loadChildren)&&t.outlet&&t.outlet!==G&&(t.component=nb),t}function qt(e){return e.outlet||G}function Jo(e){if(!e)return null;if(e.routeConfig?._injector)return e.routeConfig._injector;for(let n=e.parent;n;n=n.parent){const t=n.routeConfig;if(t?._loadedInjector)return t._loadedInjector;if(t?._injector)return t._injector}return null}class fL{constructor(n,t,r,i,o){this.routeReuseStrategy=n,this.futureState=t,this.currState=r,this.forwardEvent=i,this.inputBindingEnabled=o}activate(n){const t=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(t,r,n),qf(this.futureState.root),this.activateChildRoutes(t,r,n)}deactivateChildRoutes(n,t,r){const i=wi(t);n.children.forEach(o=>{const s=o.value.outlet;this.deactivateRoutes(o,i[s],r),delete i[s]}),Object.values(i).forEach(o=>{this.deactivateRouteAndItsChildren(o,r)})}deactivateRoutes(n,t,r){const i=n.value,o=t?t.value:null;if(i===o)if(i.component){const s=r.getContext(i.outlet);s&&this.deactivateChildRoutes(n,t,s.children)}else this.deactivateChildRoutes(n,t,r);else o&&this.deactivateRouteAndItsChildren(t,r)}deactivateRouteAndItsChildren(n,t){n.value.component&&this.routeReuseStrategy.shouldDetach(n.value.snapshot)?this.detachAndStoreRouteSubtree(n,t):this.deactivateRouteAndOutlet(n,t)}detachAndStoreRouteSubtree(n,t){const r=t.getContext(n.value.outlet),i=r&&n.value.component?r.children:t,o=wi(n);for(const s of Object.keys(o))this.deactivateRouteAndItsChildren(o[s],i);if(r&&r.outlet){const s=r.outlet.detach(),a=r.children.onOutletDeactivated();this.routeReuseStrategy.store(n.value.snapshot,{componentRef:s,route:n,contexts:a})}}deactivateRouteAndOutlet(n,t){const r=t.getContext(n.value.outlet),i=r&&n.value.component?r.children:t,o=wi(n);for(const s of Object.keys(o))this.deactivateRouteAndItsChildren(o[s],i);r&&(r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated()),r.attachRef=null,r.route=null)}activateChildRoutes(n,t,r){const i=wi(t);n.children.forEach(o=>{this.activateRoutes(o,i[o.value.outlet],r),this.forwardEvent(new XF(o.value.snapshot))}),n.children.length&&this.forwardEvent(new QF(n.value.snapshot))}activateRoutes(n,t,r){const i=n.value,o=t?t.value:null;if(qf(i),i===o)if(i.component){const s=r.getOrCreateContext(i.outlet);this.activateChildRoutes(n,t,s.children)}else this.activateChildRoutes(n,t,r);else if(i.component){const s=r.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){const a=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.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),qf(a.route.value),this.activateChildRoutes(n,null,s.children)}else{const a=Jo(i.snapshot);s.attachRef=null,s.route=i,s.injector=a,s.outlet&&s.outlet.activateWith(i,s.injector),this.activateChildRoutes(n,null,s.children)}}else this.activateChildRoutes(n,null,r)}}class rb{constructor(n){this.path=n,this.route=this.path[this.path.length-1]}}class yl{constructor(n,t){this.component=n,this.route=t}}function hL(e,n,t){const r=e._root;return es(r,n?n._root:null,t,[r.value])}function Ei(e,n){const t=Symbol(),r=n.get(e,t);return r===t?"function"!=typeof e||function xE(e){return null!==cs(e)}(e)?n.get(e):e:r}function es(e,n,t,r,i={canDeactivateChecks:[],canActivateChecks:[]}){const o=wi(n);return e.children.forEach(s=>{(function gL(e,n,t,r,i={canDeactivateChecks:[],canActivateChecks:[]}){const o=e.value,s=n?n.value:null,a=t?t.getContext(e.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){const l=function mL(e,n,t){if("function"==typeof t)return t(e,n);switch(t){case"pathParamsChange":return!wr(e.url,n.url);case"pathParamsOrQueryParamsChange":return!wr(e.url,n.url)||!dn(e.queryParams,n.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Zf(e,n)||!dn(e.queryParams,n.queryParams);default:return!Zf(e,n)}}(s,o,o.routeConfig.runGuardsAndResolvers);l?i.canActivateChecks.push(new rb(r)):(o.data=s.data,o._resolvedData=s._resolvedData),es(e,n,o.component?a?a.children:null:t,r,i),l&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new yl(a.outlet.component,s))}else s&&ts(n,a,i),i.canActivateChecks.push(new rb(r)),es(e,null,o.component?a?a.children:null:t,r,i)})(s,o[s.value.outlet],t,r.concat([s.value]),i),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,a])=>ts(a,t.getContext(s),i)),i}function ts(e,n,t){const r=wi(e),i=e.value;Object.entries(r).forEach(([o,s])=>{ts(s,i.component?n?n.children.getContext(o):null:n,t)}),t.canDeactivateChecks.push(new yl(i.component&&n&&n.outlet&&n.outlet.isActivated?n.outlet.component:null,i))}function ns(e){return"function"==typeof e}function ib(e){return e instanceof sl||"EmptyError"===e?.name}const vl=Symbol("INITIAL_VALUE");function Mi(){return cn(e=>Rf(e.map(n=>n.pipe(_i(1),function lF(...e){const n=Ni(e);return je((t,r)=>{(n?Pf(e,t,n):Pf(e,t)).subscribe(r)})}(vl)))).pipe(J(n=>{for(const t of n)if(!0!==t){if(t===vl)return vl;if(!1===t||t instanceof Ci)return t}return!0}),On(n=>n!==vl),_i(1)))}function ob(e){return function kb(...e){return uh(e)}(nt(n=>{if(br(n))throw Xw(0,n)}),J(n=>!0===n))}class _l{constructor(n){this.segmentGroup=n||null}}class sb{constructor(n){this.urlTree=n}}function Si(e){return $o(new _l(e))}function ab(e){return $o(new sb(e))}class FL{constructor(n,t){this.urlSerializer=n,this.urlTree=t}noMatchError(n){return new _(4002,!1)}lineralizeSegments(n,t){let r=[],i=t.root;for(;;){if(r=r.concat(i.segments),0===i.numberOfChildren)return L(r);if(i.numberOfChildren>1||!i.children[G])return $o(new _(4e3,!1));i=i.children[G]}}applyRedirectCommands(n,t,r){return this.applyRedirectCreateUrlTree(t,this.urlSerializer.parse(t),n,r)}applyRedirectCreateUrlTree(n,t,r,i){const o=this.createSegmentGroup(n,t.root,r,i);return new Ci(o,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}createQueryParams(n,t){const r={};return Object.entries(n).forEach(([i,o])=>{if("string"==typeof o&&o.startsWith(":")){const a=o.substring(1);r[i]=t[a]}else r[i]=o}),r}createSegmentGroup(n,t,r,i){const o=this.createSegments(n,t.segments,r,i);let s={};return Object.entries(t.children).forEach(([a,l])=>{s[a]=this.createSegmentGroup(n,l,r,i)}),new ue(o,s)}createSegments(n,t,r,i){return t.map(o=>o.path.startsWith(":")?this.findPosParam(n,o,i):this.findOrReturn(o,r))}findPosParam(n,t,r){const i=r[t.path.substring(1)];if(!i)throw new _(4001,!1);return i}findOrReturn(n,t){let r=0;for(const i of t){if(i.path===n.path)return t.splice(r),i;r++}return n}}const Xf={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function LL(e,n,t,r,i){const o=Jf(e,n,t);return o.matched?(r=function sL(e,n){return e.providers&&!e._injector&&(e._injector=zu(e.providers,n,`Route: ${e.path}`)),e._injector??n}(n,r),function RL(e,n,t,r){const i=n.canMatch;return i&&0!==i.length?L(i.map(s=>{const a=Ei(s,e);return Xn(function wL(e){return e&&ns(e.canMatch)}(a)?a.canMatch(n,t):e.runInContext(()=>a(n,t)))})).pipe(Mi(),ob()):L(!0)}(r,n,t).pipe(J(s=>!0===s?o:{...Xf}))):L(o)}function Jf(e,n,t){if(""===n.path)return"full"===n.pathMatch&&(e.hasChildren()||t.length>0)?{...Xf}:{matched:!0,consumedSegments:[],remainingSegments:t,parameters:{},positionalParamSegments:{}};const i=(n.matcher||gF)(t,e,n);if(!i)return{...Xf};const o={};Object.entries(i.posParams??{}).forEach(([a,l])=>{o[a]=l.path});const s=i.consumed.length>0?{...o,...i.consumed[i.consumed.length-1].parameters}:o;return{matched:!0,consumedSegments:i.consumed,remainingSegments:t.slice(i.consumed.length),parameters:s,positionalParamSegments:i.posParams??{}}}function lb(e,n,t,r){return t.length>0&&function HL(e,n,t){return t.some(r=>Dl(e,n,r)&&qt(r)!==G)}(e,t,r)?{segmentGroup:new ue(n,jL(r,new ue(t,e.children))),slicedSegments:[]}:0===t.length&&function BL(e,n,t){return t.some(r=>Dl(e,n,r))}(e,t,r)?{segmentGroup:new ue(e.segments,VL(e,0,t,r,e.children)),slicedSegments:t}:{segmentGroup:new ue(e.segments,e.children),slicedSegments:t}}function VL(e,n,t,r,i){const o={};for(const s of r)if(Dl(e,t,s)&&!i[qt(s)]){const a=new ue([],{});o[qt(s)]=a}return{...i,...o}}function jL(e,n){const t={};t[G]=n;for(const r of e)if(""===r.path&&qt(r)!==G){const i=new ue([],{});t[qt(r)]=i}return t}function Dl(e,n,t){return(!(e.hasChildren()||n.length>0)||"full"!==t.pathMatch)&&""===t.path}class GL{constructor(n,t,r,i,o,s,a){this.injector=n,this.configLoader=t,this.rootComponentType=r,this.config=i,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.allowRedirects=!0,this.applyRedirects=new FL(this.urlSerializer,this.urlTree)}noMatchError(n){return new _(4002,!1)}recognize(){const n=lb(this.urlTree.root,[],[],this.config).segmentGroup;return this.processSegmentGroup(this.injector,this.config,n,G).pipe(Cr(t=>{if(t instanceof sb)return this.allowRedirects=!1,this.urlTree=t.urlTree,this.match(t.urlTree);throw t instanceof _l?this.noMatchError(t):t}),J(t=>{const r=new gl([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},G,this.rootComponentType,null,{}),i=new Rn(r,t),o=new Yw("",i),s=function kF(e,n,t=null,r=null){return Vw(Lw(e),n,t,r)}(r,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),this.inheritParamsAndData(o._root),{state:o,tree:s}}))}match(n){return this.processSegmentGroup(this.injector,this.config,n.root,G).pipe(Cr(r=>{throw r instanceof _l?this.noMatchError(r):r}))}inheritParamsAndData(n){const t=n.value,r=Zw(t,this.paramsInheritanceStrategy);t.params=Object.freeze(r.params),t.data=Object.freeze(r.data),n.children.forEach(i=>this.inheritParamsAndData(i))}processSegmentGroup(n,t,r,i){return 0===r.segments.length&&r.hasChildren()?this.processChildren(n,t,r):this.processSegment(n,t,r,r.segments,i,!0)}processChildren(n,t,r){const i=[];for(const o of Object.keys(r.children))"primary"===o?i.unshift(o):i.push(o);return Re(i).pipe(gi(o=>{const s=r.children[o],a=function uL(e,n){const t=e.filter(r=>qt(r)===n);return t.push(...e.filter(r=>qt(r)!==n)),t}(t,o);return this.processSegmentGroup(n,a,s,o)}),function dF(e,n){return je(function uF(e,n,t,r,i){return(o,s)=>{let a=t,l=n,c=0;o.subscribe(Oe(s,u=>{const d=c++;l=a?e(l,u,d):(a=!0,u),r&&s.next(l)},i&&(()=>{a&&s.next(l),s.complete()})))}}(e,n,arguments.length>=2,!0))}((o,s)=>(o.push(...s),o)),al(null),function fF(e,n){const t=arguments.length>=2;return r=>r.pipe(e?On((i,o)=>e(i,o,r)):kn,Ff(1),t?al(n):Ew(()=>new sl))}(),He(o=>{if(null===o)return Si(r);const s=cb(o);return function WL(e){e.sort((n,t)=>n.value.outlet===G?-1:t.value.outlet===G?1:n.value.outlet.localeCompare(t.value.outlet))}(s),L(s)}))}processSegment(n,t,r,i,o,s){return Re(t).pipe(gi(a=>this.processSegmentAgainstRoute(a._injector??n,t,a,r,i,o,s).pipe(Cr(l=>{if(l instanceof _l)return L(null);throw l}))),Dr(a=>!!a),Cr(a=>{if(ib(a))return function UL(e,n,t){return 0===n.length&&!e.children[t]}(r,i,o)?L([]):Si(r);throw a}))}processSegmentAgainstRoute(n,t,r,i,o,s,a){return function $L(e,n,t,r){return!!(qt(e)===r||r!==G&&Dl(n,t,e))&&("**"===e.path||Jf(n,e,t).matched)}(r,i,o,s)?void 0===r.redirectTo?this.matchSegmentAgainstRoute(n,i,r,o,s,a):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(n,i,t,r,o,s):Si(i):Si(i)}expandSegmentAgainstRouteUsingRedirect(n,t,r,i,o,s){return"**"===i.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(n,r,i,s):this.expandRegularSegmentAgainstRouteUsingRedirect(n,t,r,i,o,s)}expandWildCardWithParamsAgainstRouteUsingRedirect(n,t,r,i){const o=this.applyRedirects.applyRedirectCommands([],r.redirectTo,{});return r.redirectTo.startsWith("/")?ab(o):this.applyRedirects.lineralizeSegments(r,o).pipe(He(s=>{const a=new ue(s,{});return this.processSegment(n,t,a,s,i,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(n,t,r,i,o,s){const{matched:a,consumedSegments:l,remainingSegments:c,positionalParamSegments:u}=Jf(t,i,o);if(!a)return Si(t);const d=this.applyRedirects.applyRedirectCommands(l,i.redirectTo,u);return i.redirectTo.startsWith("/")?ab(d):this.applyRedirects.lineralizeSegments(i,d).pipe(He(f=>this.processSegment(n,r,t,f.concat(c),s,!1)))}matchSegmentAgainstRoute(n,t,r,i,o,s){let a;if("**"===r.path){const l=i.length>0?Sw(i).parameters:{};a=L({snapshot:new gl(i,l,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,ub(r),qt(r),r.component??r._loadedComponent??null,r,db(r)),consumedSegments:[],remainingSegments:[]}),t.children={}}else a=LL(t,r,i,n).pipe(J(({matched:l,consumedSegments:c,remainingSegments:u,parameters:d})=>l?{snapshot:new gl(c,d,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,ub(r),qt(r),r.component??r._loadedComponent??null,r,db(r)),consumedSegments:c,remainingSegments:u}:null));return a.pipe(cn(l=>null===l?Si(t):this.getChildConfig(n=r._injector??n,r,i).pipe(cn(({routes:c})=>{const u=r._loadedInjector??n,{snapshot:d,consumedSegments:f,remainingSegments:h}=l,{segmentGroup:p,slicedSegments:g}=lb(t,f,h,c);if(0===g.length&&p.hasChildren())return this.processChildren(u,c,p).pipe(J(C=>null===C?null:[new Rn(d,C)]));if(0===c.length&&0===g.length)return L([new Rn(d,[])]);const y=qt(r)===o;return this.processSegment(u,c,p,g,y?G:o,!0).pipe(J(C=>[new Rn(d,C)]))}))))}getChildConfig(n,t,r){return t.children?L({routes:t.children,injector:n}):t.loadChildren?void 0!==t._loadedRoutes?L({routes:t._loadedRoutes,injector:t._loadedInjector}):function OL(e,n,t,r){const i=n.canLoad;return void 0===i||0===i.length?L(!0):L(i.map(s=>{const a=Ei(s,e);return Xn(function vL(e){return e&&ns(e.canLoad)}(a)?a.canLoad(n,t):e.runInContext(()=>a(n,t)))})).pipe(Mi(),ob())}(n,t,r).pipe(He(i=>i?this.configLoader.loadChildren(n,t).pipe(nt(o=>{t._loadedRoutes=o.routes,t._loadedInjector=o.injector})):function kL(e){return $o(Jw(!1,3))}())):L({routes:[],injector:n})}}function qL(e){const n=e.value.routeConfig;return n&&""===n.path}function cb(e){const n=[],t=new Set;for(const r of e){if(!qL(r)){n.push(r);continue}const i=n.find(o=>r.value.routeConfig===o.value.routeConfig);void 0!==i?(i.children.push(...r.children),t.add(i)):n.push(r)}for(const r of t){const i=cb(r.children);n.push(new Rn(r.value,i))}return n.filter(r=>!t.has(r))}function ub(e){return e.data||{}}function db(e){return e.resolve||{}}function fb(e){return"string"==typeof e.title||null===e.title}function eh(e){return cn(n=>{const t=e(n);return t?Re(t).pipe(J(()=>n)):L(n)})}const Ii=new A("ROUTES");let th=(()=>{class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=I(E_)}loadComponent(t){if(this.componentLoaders.get(t))return this.componentLoaders.get(t);if(t._loadedComponent)return L(t._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(t);const r=Xn(t.loadComponent()).pipe(J(hb),nt(o=>{this.onLoadEndListener&&this.onLoadEndListener(t),t._loadedComponent=o}),Ro(()=>{this.componentLoaders.delete(t)})),i=new bw(r,()=>new hn).pipe(kf());return this.componentLoaders.set(t,i),i}loadChildren(t,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return L({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);const o=this.loadModuleFactoryOrRoutes(r.loadChildren).pipe(J(a=>{this.onLoadEndListener&&this.onLoadEndListener(r);let l,c;return Array.isArray(a)?c=a:(l=a.create(t).injector,c=l.get(Ii,[],R.Self|R.Optional).flat()),{routes:c.map(Kf),injector:l}}),Ro(()=>{this.childrenLoaders.delete(r)})),s=new bw(o,()=>new hn).pipe(kf());return this.childrenLoaders.set(r,s),s}loadModuleFactoryOrRoutes(t){return Xn(t()).pipe(J(hb),He(r=>r instanceof xv||Array.isArray(r)?L(r):Re(this.compiler.compileModuleAsync(r))))}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function hb(e){return function eV(e){return e&&"object"==typeof e&&"default"in e}(e)?e.default:e}let Cl=(()=>{class e{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.lastSuccessfulNavigation=null,this.events=new hn,this.configLoader=I(th),this.environmentInjector=I(nn),this.urlSerializer=I(Go),this.rootContexts=I(Ko),this.inputBindingEnabled=null!==I(ml,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>L(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=i=>this.events.next(new ZF(i)),this.configLoader.onLoadStartListener=i=>this.events.next(new qF(i))}complete(){this.transitions?.complete()}handleNavigationRequest(t){const r=++this.navigationId;this.transitions?.next({...this.transitions.value,...t,id:r})}setupNavigations(t){return this.transitions=new At({id:0,currentUrlTree:t.currentUrlTree,currentRawUrl:t.currentUrlTree,extractedUrl:t.urlHandlingStrategy.extract(t.currentUrlTree),urlAfterRedirects:t.urlHandlingStrategy.extract(t.currentUrlTree),rawUrl:t.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:Yo,restoredState:null,currentSnapshot:t.routerState.snapshot,targetSnapshot:null,currentRouterState:t.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(On(r=>0!==r.id),J(r=>({...r,extractedUrl:t.urlHandlingStrategy.extract(r.rawUrl)})),cn(r=>{let i=!1,o=!1;return L(r).pipe(nt(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}}),cn(s=>{const a=t.browserUrlTree.toString(),l=!t.navigated||s.extractedUrl.toString()!==a||a!==t.currentUrlTree.toString();if(!l&&"reload"!==(s.extras.onSameUrlNavigation??t.onSameUrlNavigation)){const u="";return this.events.next(new Qo(s.id,t.serializeUrl(r.rawUrl),u,0)),t.rawUrlTree=s.rawUrl,s.resolve(null),Zt}if(t.urlHandlingStrategy.shouldProcessUrl(s.rawUrl))return pb(s.source)&&(t.browserUrlTree=s.extractedUrl),L(s).pipe(cn(u=>{const d=this.transitions?.getValue();return this.events.next(new $f(u.id,this.urlSerializer.serialize(u.extractedUrl),u.source,u.restoredState)),d!==this.transitions?.getValue()?Zt:Promise.resolve(u)}),function ZL(e,n,t,r,i,o){return He(s=>function zL(e,n,t,r,i,o,s="emptyOnly"){return new GL(e,n,t,r,i,s,o).recognize()}(e,n,t,r,s.extractedUrl,i,o).pipe(J(({state:a,tree:l})=>({...s,targetSnapshot:a,urlAfterRedirects:l}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,t.config,this.urlSerializer,t.paramsInheritanceStrategy),nt(u=>{if(r.targetSnapshot=u.targetSnapshot,r.urlAfterRedirects=u.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:u.urlAfterRedirects},"eager"===t.urlUpdateStrategy){if(!u.extras.skipLocationChange){const f=t.urlHandlingStrategy.merge(u.urlAfterRedirects,u.rawUrl);t.setBrowserUrl(f,u)}t.browserUrlTree=u.urlAfterRedirects}const d=new $F(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(d)}));if(l&&t.urlHandlingStrategy.shouldProcessUrl(t.rawUrlTree)){const{id:u,extractedUrl:d,source:f,restoredState:h,extras:p}=s,g=new $f(u,this.urlSerializer.serialize(d),f,h);this.events.next(g);const y=qw(0,this.rootComponentType).snapshot;return L(r={...s,targetSnapshot:y,urlAfterRedirects:d,extras:{...p,skipLocationChange:!1,replaceUrl:!1}})}{const u="";return this.events.next(new Qo(s.id,t.serializeUrl(r.extractedUrl),u,1)),t.rawUrlTree=s.rawUrl,s.resolve(null),Zt}}),nt(s=>{const a=new UF(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(a)}),J(s=>r={...s,guards:hL(s.targetSnapshot,s.currentSnapshot,this.rootContexts)}),function EL(e,n){return He(t=>{const{targetSnapshot:r,currentSnapshot:i,guards:{canActivateChecks:o,canDeactivateChecks:s}}=t;return 0===s.length&&0===o.length?L({...t,guardsResult:!0}):function ML(e,n,t,r){return Re(e).pipe(He(i=>function NL(e,n,t,r,i){const o=n&&n.routeConfig?n.routeConfig.canDeactivate:null;return o&&0!==o.length?L(o.map(a=>{const l=Jo(n)??i,c=Ei(a,l);return Xn(function CL(e){return e&&ns(e.canDeactivate)}(c)?c.canDeactivate(e,n,t,r):l.runInContext(()=>c(e,n,t,r))).pipe(Dr())})).pipe(Mi()):L(!0)}(i.component,i.route,t,n,r)),Dr(i=>!0!==i,!0))}(s,r,i,e).pipe(He(a=>a&&function yL(e){return"boolean"==typeof e}(a)?function SL(e,n,t,r){return Re(n).pipe(gi(i=>Pf(function AL(e,n){return null!==e&&n&&n(new YF(e)),L(!0)}(i.route.parent,r),function IL(e,n){return null!==e&&n&&n(new KF(e)),L(!0)}(i.route,r),function xL(e,n,t){const r=n[n.length-1],o=n.slice(0,n.length-1).reverse().map(s=>function pL(e){const n=e.routeConfig?e.routeConfig.canActivateChild:null;return n&&0!==n.length?{node:e,guards:n}:null}(s)).filter(s=>null!==s).map(s=>ww(()=>L(s.guards.map(l=>{const c=Jo(s.node)??t,u=Ei(l,c);return Xn(function DL(e){return e&&ns(e.canActivateChild)}(u)?u.canActivateChild(r,e):c.runInContext(()=>u(r,e))).pipe(Dr())})).pipe(Mi())));return L(o).pipe(Mi())}(e,i.path,t),function TL(e,n,t){const r=n.routeConfig?n.routeConfig.canActivate:null;if(!r||0===r.length)return L(!0);const i=r.map(o=>ww(()=>{const s=Jo(n)??t,a=Ei(o,s);return Xn(function _L(e){return e&&ns(e.canActivate)}(a)?a.canActivate(n,e):s.runInContext(()=>a(n,e))).pipe(Dr())}));return L(i).pipe(Mi())}(e,i.route,t))),Dr(i=>!0!==i,!0))}(r,o,e,n):L(a)),J(a=>({...t,guardsResult:a})))})}(this.environmentInjector,s=>this.events.next(s)),nt(s=>{if(r.guardsResult=s.guardsResult,br(s.guardsResult))throw Xw(0,s.guardsResult);const a=new zF(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot,!!s.guardsResult);this.events.next(a)}),On(s=>!!s.guardsResult||(t.restoreHistory(s),this.cancelNavigationTransition(s,"",3),!1)),eh(s=>{if(s.guards.canActivateChecks.length)return L(s).pipe(nt(a=>{const l=new GF(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(l)}),cn(a=>{let l=!1;return L(a).pipe(function YL(e,n){return He(t=>{const{targetSnapshot:r,guards:{canActivateChecks:i}}=t;if(!i.length)return L(t);let o=0;return Re(i).pipe(gi(s=>function QL(e,n,t,r){const i=e.routeConfig,o=e._resolve;return void 0!==i?.title&&!fb(i)&&(o[Uo]=i.title),function KL(e,n,t,r){const i=function XL(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e)]}(e);if(0===i.length)return L({});const o={};return Re(i).pipe(He(s=>function JL(e,n,t,r){const i=Jo(n)??r,o=Ei(e,i);return Xn(o.resolve?o.resolve(n,t):i.runInContext(()=>o(n,t)))}(e[s],n,t,r).pipe(Dr(),nt(a=>{o[s]=a}))),Ff(1),function hF(e){return J(()=>e)}(o),Cr(s=>ib(s)?Zt:$o(s)))}(o,e,n,r).pipe(J(s=>(e._resolvedData=s,e.data=Zw(e,t).resolve,i&&fb(i)&&(e.data[Uo]=i.title),null)))}(s.route,r,e,n)),nt(()=>o++),Ff(1),He(s=>o===i.length?L(t):Zt))})}(t.paramsInheritanceStrategy,this.environmentInjector),nt({next:()=>l=!0,complete:()=>{l||(t.restoreHistory(a),this.cancelNavigationTransition(a,"",2))}}))}),nt(a=>{const l=new WF(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(l)}))}),eh(s=>{const a=l=>{const c=[];l.routeConfig?.loadComponent&&!l.routeConfig._loadedComponent&&c.push(this.configLoader.loadComponent(l.routeConfig).pipe(nt(u=>{l.component=u}),J(()=>{})));for(const u of l.children)c.push(...a(u));return c};return Rf(a(s.targetSnapshot.root)).pipe(al(),_i(1))}),eh(()=>this.afterPreactivation()),J(s=>{const a=function rL(e,n,t){const r=Xo(e,n._root,t?t._root:void 0);return new Ww(r,n)}(t.routeReuseStrategy,s.targetSnapshot,s.currentRouterState);return r={...s,targetRouterState:a}}),nt(s=>{t.currentUrlTree=s.urlAfterRedirects,t.rawUrlTree=t.urlHandlingStrategy.merge(s.urlAfterRedirects,s.rawUrl),t.routerState=s.targetRouterState,"deferred"===t.urlUpdateStrategy&&(s.extras.skipLocationChange||t.setBrowserUrl(t.rawUrlTree,s),t.browserUrlTree=s.urlAfterRedirects)}),((e,n,t,r)=>J(i=>(new fL(n,i.targetRouterState,i.currentRouterState,t,r).activate(e),i)))(this.rootContexts,t.routeReuseStrategy,s=>this.events.next(s),this.inputBindingEnabled),_i(1),nt({next:s=>{i=!0,this.lastSuccessfulNavigation=this.currentNavigation,t.navigated=!0,this.events.next(new Er(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(t.currentUrlTree))),t.titleStrategy?.updateTitle(s.targetRouterState.snapshot),s.resolve(!0)},complete:()=>{i=!0}}),Ro(()=>{i||o||this.cancelNavigationTransition(r,"",1),this.currentNavigation?.id===r.id&&(this.currentNavigation=null)}),Cr(s=>{if(o=!0,tb(s)){eb(s)||(t.navigated=!0,t.restoreHistory(r,!0));const a=new pl(r.id,this.urlSerializer.serialize(r.extractedUrl),s.message,s.cancellationCode);if(this.events.next(a),eb(s)){const l=t.urlHandlingStrategy.merge(s.url,t.rawUrlTree),c={skipLocationChange:r.extras.skipLocationChange,replaceUrl:"eager"===t.urlUpdateStrategy||pb(r.source)};t.scheduleNavigation(l,Yo,null,c,{resolve:r.resolve,reject:r.reject,promise:r.promise})}else r.resolve(!1)}else{t.restoreHistory(r,!0);const a=new Uf(r.id,this.urlSerializer.serialize(r.extractedUrl),s,r.targetSnapshot??void 0);this.events.next(a);try{r.resolve(t.errorHandler(s))}catch(l){r.reject(l)}}return Zt}))}))}cancelNavigationTransition(t,r,i){const o=new pl(t.id,this.urlSerializer.serialize(t.extractedUrl),r,i);this.events.next(o),t.resolve(!1)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function pb(e){return e!==Yo}let gb=(()=>{class e{buildTitle(t){let r,i=t.root;for(;void 0!==i;)r=this.getResolvedTitleForRoute(i)??r,i=i.children.find(o=>o.outlet===G);return r}getResolvedTitleForRoute(t){return t.data[Uo]}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=O({token:e,factory:function(){return I(tV)},providedIn:"root"})}return e})(),tV=(()=>{class e extends gb{constructor(t){super(),this.title=t}updateTitle(t){const r=this.buildTitle(t);void 0!==r&&this.title.setTitle(r)}static#e=this.\u0275fac=function(r){return new(r||e)(N(YD))};static#t=this.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),nV=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=O({token:e,factory:function(){return I(iV)},providedIn:"root"})}return e})();class rV{shouldDetach(n){return!1}store(n,t){}shouldAttach(n){return!1}retrieve(n){return null}shouldReuseRoute(n,t){return n.routeConfig===t.routeConfig}}let iV=(()=>{class e extends rV{static#e=this.\u0275fac=function(){let t;return function(i){return(t||(t=ze(e)))(i||e)}}();static#t=this.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const wl=new A("",{providedIn:"root",factory:()=>({})});let oV=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=O({token:e,factory:function(){return I(sV)},providedIn:"root"})}return e})(),sV=(()=>{class e{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,r){return t}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Mt=(()=>((Mt=Mt||{})[Mt.COMPLETE=0]="COMPLETE",Mt[Mt.FAILED=1]="FAILED",Mt[Mt.REDIRECTING=2]="REDIRECTING",Mt))();function mb(e,n){e.events.pipe(On(t=>t instanceof Er||t instanceof pl||t instanceof Uf||t instanceof Qo),J(t=>t instanceof Er||t instanceof Qo?Mt.COMPLETE:t instanceof pl&&(0===t.code||1===t.code)?Mt.REDIRECTING:Mt.FAILED),On(t=>t!==Mt.REDIRECTING),_i(1)).subscribe(()=>{n()})}function aV(e){throw e}function lV(e,n,t){return n.parse("/")}const cV={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},uV={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Ft=(()=>{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=I(b_),this.isNgZoneEnabled=!1,this.options=I(wl,{optional:!0})||{},this.pendingTasks=I(Ma),this.errorHandler=this.options.errorHandler||aV,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||lV,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=I(oV),this.routeReuseStrategy=I(nV),this.titleStrategy=I(gb),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=I(Ii,{optional:!0})?.flat()??[],this.navigationTransitions=I(Cl),this.urlSerializer=I(Go),this.location=I(Td),this.componentInputBindingEnabled=!!I(ml,{optional:!0}),this.isNgZoneEnabled=I(_e)instanceof _e&&_e.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new Ci,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=qw(0,null),this.navigationTransitions.setupNavigations(this).subscribe(t=>{this.lastSuccessfulId=t.id,this.currentPageId=this.browserPageId??0},t=>{this.console.warn(`Unhandled Navigation Error: ${t}`)})}resetRootComponentType(t){this.routerState.root.component=t,this.navigationTransitions.rootComponentType=t}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){const t=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),Yo,t)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(t=>{const r="popstate"===t.type?"popstate":"hashchange";"popstate"===r&&setTimeout(()=>{this.navigateToSyncWithBrowser(t.url,r,t.state)},0)}))}navigateToSyncWithBrowser(t,r,i){const o={replaceUrl:!0},s=i?.navigationId?i:null;if(i){const l={...i};delete l.navigationId,delete l.\u0275routerPageId,0!==Object.keys(l).length&&(o.state=l)}const a=this.parseUrl(t);this.scheduleNavigation(a,r,s,o)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(t){this.config=t.map(Kf),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(t,r={}){const{relativeTo:i,queryParams:o,fragment:s,queryParamsHandling:a,preserveFragment:l}=r,c=l?this.currentUrlTree.fragment:s;let d,u=null;switch(a){case"merge":u={...this.currentUrlTree.queryParams,...o};break;case"preserve":u=this.currentUrlTree.queryParams;break;default:u=o||null}null!==u&&(u=this.removeEmptyProps(u));try{d=Lw(i?i.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof t[0]||!t[0].startsWith("/"))&&(t=[]),d=this.currentUrlTree.root}return Vw(d,t,u,c??null)}navigateByUrl(t,r={skipLocationChange:!1}){const i=br(t)?t:this.parseUrl(t),o=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(o,Yo,null,r)}navigate(t,r={skipLocationChange:!1}){return function dV(e){for(let n=0;n{const o=t[i];return null!=o&&(r[i]=o),r},{})}scheduleNavigation(t,r,i,o,s){if(this.disposed)return Promise.resolve(!1);let a,l,c;s?(a=s.resolve,l=s.reject,c=s.promise):c=new Promise((d,f)=>{a=d,l=f});const u=this.pendingTasks.add();return mb(this,()=>{Promise.resolve().then(()=>this.pendingTasks.remove(u))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:t,extras:o,resolve:a,reject:l,promise:c,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),c.catch(d=>Promise.reject(d))}setBrowserUrl(t,r){const i=this.urlSerializer.serialize(t);if(this.location.isCurrentPathEqualTo(i)||r.extras.replaceUrl){const s={...r.extras.state,...this.generateNgRouterState(r.id,this.browserPageId)};this.location.replaceState(i,"",s)}else{const o={...r.extras.state,...this.generateNgRouterState(r.id,(this.browserPageId??0)+1)};this.location.go(i,"",o)}}restoreHistory(t,r=!1){if("computed"===this.canceledNavigationResolution){const o=this.currentPageId-(this.browserPageId??this.currentPageId);0!==o?this.location.historyGo(o):this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===o&&(this.resetState(t),this.browserUrlTree=t.currentUrlTree,this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(r&&this.resetState(t),this.resetUrlToCurrentUrlTree())}resetState(t){this.routerState=t.currentRouterState,this.currentUrlTree=t.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(t,r){return"computed"===this.canceledNavigationResolution?{navigationId:t,\u0275routerPageId:r}:{navigationId:t}}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();class yb{}let pV=(()=>{class e{constructor(t,r,i,o,s){this.router=t,this.injector=i,this.preloadingStrategy=o,this.loader=s}setUpPreloading(){this.subscription=this.router.events.pipe(On(t=>t instanceof Er),gi(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(t,r){const i=[];for(const o of r){o.providers&&!o._injector&&(o._injector=zu(o.providers,t,`Route: ${o.path}`));const s=o._injector??t,a=o._loadedInjector??s;(o.loadChildren&&!o._loadedRoutes&&void 0===o.canLoad||o.loadComponent&&!o._loadedComponent)&&i.push(this.preloadConfig(s,o)),(o.children||o._loadedRoutes)&&i.push(this.processRoutes(a,o.children??o._loadedRoutes))}return Re(i).pipe(Mr())}preloadConfig(t,r){return this.preloadingStrategy.preload(r,()=>{let i;i=r.loadChildren&&void 0===r.canLoad?this.loader.loadChildren(t,r):L(null);const o=i.pipe(He(s=>null===s?L(void 0):(r._loadedRoutes=s.routes,r._loadedInjector=s.injector,this.processRoutes(s.injector??t,s.routes))));return r.loadComponent&&!r._loadedComponent?Re([o,this.loader.loadComponent(r)]).pipe(Mr()):o})}static#e=this.\u0275fac=function(r){return new(r||e)(N(Ft),N(E_),N(nn),N(yb),N(th))};static#t=this.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const rh=new A("");let vb=(()=>{class e{constructor(t,r,i,o,s={}){this.urlSerializer=t,this.transitions=r,this.viewportScroller=i,this.zone=o,this.options=s,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},s.scrollPositionRestoration=s.scrollPositionRestoration||"disabled",s.anchorScrolling=s.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(t=>{t instanceof $f?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof Er?(this.lastId=t.id,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.urlAfterRedirects).fragment)):t instanceof Qo&&0===t.code&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(t=>{t instanceof zw&&(t.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(t.position):t.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(t.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(t,r){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new zw(t,"popstate"===this.lastSource?this.store[this.restoredId]:null,r))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static#e=this.\u0275fac=function(r){!function Mm(){throw new Error("invalid")}()};static#t=this.\u0275prov=O({token:e,factory:e.\u0275fac})}return e})();function Pn(e,n){return{\u0275kind:e,\u0275providers:n}}function Db(){const e=I(rn);return n=>{const t=e.get(hi);if(n!==t.components[0])return;const r=e.get(Ft),i=e.get(Cb);1===e.get(ih)&&r.initialNavigation(),e.get(wb,null,R.Optional)?.setUpPreloading(),e.get(rh,null,R.Optional)?.init(),r.resetRootComponentType(t.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}const Cb=new A("",{factory:()=>new hn}),ih=new A("",{providedIn:"root",factory:()=>1}),wb=new A("");function vV(e){return Pn(0,[{provide:wb,useExisting:pV},{provide:yb,useExisting:e}])}const bb=new A("ROUTER_FORROOT_GUARD"),DV=[Td,{provide:Go,useClass:Lf},Ft,Ko,{provide:bi,useFactory:function _b(e){return e.routerState.root},deps:[Ft]},th,[]];function CV(){return new k_("Router",Ft)}let Eb=(()=>{class e{constructor(t){}static forRoot(t,r){return{ngModule:e,providers:[DV,[],{provide:Ii,multi:!0,useValue:t},{provide:bb,useFactory:MV,deps:[[Ft,new Fs,new Ls]]},{provide:wl,useValue:r||{}},r?.useHash?{provide:mr,useClass:YO}:{provide:mr,useClass:cD},{provide:rh,useFactory:()=>{const e=I(dR),n=I(_e),t=I(wl),r=I(Cl),i=I(Go);return t.scrollOffset&&e.setOffset(t.scrollOffset),new vb(i,r,e,n,t)}},r?.preloadingStrategy?vV(r.preloadingStrategy).\u0275providers:[],{provide:k_,multi:!0,useFactory:CV},r?.initialNavigation?SV(r):[],r?.bindToComponentInputs?Pn(8,[Kw,{provide:ml,useExisting:Kw}]).\u0275providers:[],[{provide:Mb,useFactory:Db},{provide:vd,multi:!0,useExisting:Mb}]]}}static forChild(t){return{ngModule:e,providers:[{provide:Ii,multi:!0,useValue:t}]}}static#e=this.\u0275fac=function(r){return new(r||e)(N(bb,8))};static#t=this.\u0275mod=mt({type:e});static#n=this.\u0275inj=rt({})}return e})();function MV(e){return"guarded"}function SV(e){return["disabled"===e.initialNavigation?Pn(3,[{provide:cd,multi:!0,useFactory:()=>{const n=I(Ft);return()=>{n.setUpLocationChangeListener()}}},{provide:ih,useValue:2}]).\u0275providers:[],"enabledBlocking"===e.initialNavigation?Pn(2,[{provide:ih,useValue:0},{provide:cd,multi:!0,deps:[rn],useFactory:n=>{const t=n.get(qO,Promise.resolve());return()=>t.then(()=>new Promise(r=>{const i=n.get(Ft),o=n.get(Cb);mb(i,()=>{r(!0)}),n.get(Cl).afterPreactivation=()=>(r(!0),o.closed?L(void 0):o),i.initialNavigation()}))}}]).\u0275providers:[]]}const Mb=new A(""),AV=[{name:"AC Community (JP)",description:"\u3042\u3064\u307e\u308c \u3069\u3046\u3076\u3064\u306e\u68ee \u30b3\u30df\u30e5\u30cb\u30c6\u30a3",languages:["jp"],logo:"",logoStyle:"",site:"",android:"",ios:"https://apps.apple.com/jp/app/id1507394206",discord:"",facebook:"",instagram:"",twitter:"",git:"",information:["critters","fossils","items"],tools:["turnips"]},{name:"AC Community (KO)",description:"\ubaa8\uc5ec\ubd10\uc694 \ub3d9\ubb3c\uc758 \uc232 \ucee4\ubba4\ub2c8\ud2f0",languages:["ko"],logo:"",logoStyle:"",site:"",android:"",ios:"https://apps.apple.com/kr/app/id1507394206",discord:"",facebook:"",instagram:"",twitter:"",git:"",information:["critters","fossils"],tools:["turnips"]},{name:"AC Helper",description:"Companion app for catching critters, logging critters and items, and turnip predictions",languages:["en","es","de","fr","it","jp","ru","zh"],logo:"ac-helper.png",logoStyle:"icon",site:"",android:"",ios:"https://apps.apple.com/us/app/id1508764244",discord:"",facebook:"",instagram:"",twitter:"",git:"https://github.com/Dimillian/ACHNBrowserUI",information:["critters","fossils"],tools:["music","turnips"]},{name:"AC Miles",description:"Achievement visualizer for Animal Crossing: New Horizons",languages:["en"],logo:"",logoStyle:"",site:"https://acmiles.com/",android:"",ios:"",discord:"",facebook:"",instagram:"",twitter:"",git:"https://github.com/MariuszDabrowski/ac-miles",information:["gameplay"],tools:[]},{name:"AC Wildlife",description:"Tracking tool for Critters, Art, Achievements and more! Add your friends to share progress!",languages:["en"],logo:"",logoStyle:"",site:"https://acwildlife.com/",android:"",ios:"",discord:"",facebook:"",instagram:"",twitter:"",git:"https://github.com/zeepk/wildlife",information:["art","critters","fossils","items","gameplay","villagers"],tools:["checklist"]},{name:"ACNH Beginner's Guide",description:"Fan-made beginner's guide for AC:NH",languages:["en"],logo:"bg_logo.png",logoStyle:"banner",site:"https://chibisnorlax.github.io/acnhbeginners/",android:"",ios:"",discord:"",facebook:"",instagram:"",twitter:"",git:"https://github.com/chibisnorlax/acnhbeginners",information:["art","critters","flowers","fossils","gameplay","villagers"],tools:[]},{name:"ACNH Database",description:"List of critters, items, villagers, recipes, and more",languages:["en"],logo:"acnh-database.png",logoStyle:"banner",site:"https://www.acnhdatabase.me/",android:"",ios:"",discord:"",facebook:"",instagram:"",twitter:"",git:"https://github.com/shengye000/ACNHDatabase",information:["art","critters","fossils","items","villagers"],tools:["music"]},{name:"ACNH Data Spreadsheet",description:"A comprehensive Google spreadsheet documenting items, villagers, achievements, and much more",languages:["en"],logo:"",logoStyle:"",site:"https://tinyurl.com/acnh-sheet",android:"",ios:"",discord:"",facebook:"",instagram:"",twitter:"",git:"",information:["art","critters","fossils","items","villagers"],tools:[]},{name:"ACNH FAQ",description:"Fan-made FAQ for AC:NH",languages:["en"],logo:"faq_logo.png",logoStyle:"banner",site:"https://chibisnorlax.github.io/acnhfaq/",android:"",ios:"",discord:"",facebook:"",instagram:"",twitter:"",git:"https://github.com/chibisnorlax/acnhfaq",information:["art","critters","flowers","fossils","gameplay","villagers"],tools:[]},{name:"ACNH Flowers",description:"A simple ACNH guide explaining how to plant flowers to maximize crossbreeding for hybrid flowers and unique colors",languages:["en"],logo:"acnh-flowers.png",logoStyle:"banner",site:"https://newhorizons.florist/",android:"",ios:"",discord:"",facebook:"",instagram:"",twitter:"",git:"",information:["flowers"],tools:[]},{name:"ACNH.Guide",description:"A free multi-purpose guide and cataloging app with Catalog Scanner integration for New Horizons.",languages:["en","es","de","fr","it","nl","ja","zh","ko","ru"],logo:"acnh-guide.gif",logoStyle:"banner",site:"https://acnh.guide/",android:"https://acnh.guide/android",ios:"https://acnh.guide/ios",discord:"3232gNC",facebook:"",instagram:"",twitter:"GeneSy",git:"",information:["art","critters","fossils","gameplay","items","villagers"],tools:["checklist","dreams","turnips"]},{name:"ACNH Life",description:"Mobile app with critter info, item checklists, turnip calculator, and more",languages:["en"],logo:"acnh-life.png",logoStyle:"banner",logoBorder:!0,site:"",android:"https://play.google.com/store/apps/details?id=com.hangodjin.animal_crossing_guide",ios:"https://apps.apple.com/us/app/acnh-life/id1504842752",discord:"",facebook:"",instagram:"",twitter:"",git:"",information:["art","critters","items","villagers"],tools:["checklist","turnips"]},{name:"ACNH Music",description:"Web app that plays the current hourly music from Animal Crossing: New Horizons",languages:["en"],logo:"",logoStyle:"",site:"https://acnhapi.com/acnh-music",android:"",ios:"",discord:"",facebook:"",instagram:"",twitter:"",git:"",information:[],tools:["music"]},{name:"ACNH Plant Guide",description:"A guide to every plant in the game (except for flowers)",languages:["en"],logo:"plant_logo.png",logoStyle:"banner",site:"https://bigfootmg.github.io/ACNH-Plant-Guide/",android:"",ios:"",discord:"",facebook:"",instagram:"bigfootvgm",twitter:"b19f00t",git:"https://github.com/BigfootMG/ACNH-Plant-Guide",information:["gameplay"],tools:[]},{name:"ACNH Translation Spreadsheet",description:"A Google spreadsheet listing translation for most of the game's data",languages:["en","es","fr","de","it","nl","ru","zh","jp","ko"],logo:"",logoStyle:"",site:"https://bit.ly/acnh-translations",android:"",ios:"",discord:"",facebook:"",instagram:"",twitter:"",git:"https://github.com/alexislours/translation-sheet-data",information:["art","critters","fossils","items","villagers"],tools:[]},{name:"ACNH Travel Guide",description:"Companion app for iOS with all information and tools you need, and a great design",languages:["en","es","de","fr","it","nl","ja","zh","ko","ru"],logo:"acnh-travel-guide.png",logoStyle:"icon",site:"",android:"",ios:"https://apps.apple.com/us/app/acnh-travel-guide/id1502818559",discord:"",facebook:"",instagram:"",twitter:"",git:"",information:["art","critters","fossils","items","villagers","flowers","gifts"],tools:["checklist","turnips","dreams"]},{name:"Almanook",description:"Companion site with info on collectibles, villagers, and more",languages:["en"],logo:"almanook.png",logoStyle:"banner",site:"https://www.almanook.me/home/",android:"",ios:"",discord:"",facebook:"",instagram:"",twitter:"",git:"",information:["art","critters","fossils","items","villagers"],tools:[]},{name:"Animal Crossing Pattern Tool",description:"Pattern designer compatible with NL, HHD, and NH",languages:["en"],logo:"ac-pattern-tool.png",logoStyle:"icon",site:"https://acpatterns.com/",android:"",ios:"",discord:"9rGkZNk",facebook:"",instagram:"",twitter:"",git:"",information:[],tools:["design sharing"]},{name:"Animal Crossing Wiki",description:"Animal-Crossing-Wiki von AC-Booster.net",languages:["de"],logo:"animal-crossing-wiki-de.png",logoStyle:"",site:"https://animalcrossingwiki.de/",android:"",ios:"",discord:"rkUDD4F",facebook:"",instagram:"",twitter:"",git:"",information:["art","critters","fossils","gameplay","gifts","items","villagers"],tools:["wiki"]},{name:"Animal Crossing World",description:"Blogs and guides about the Animal Crossing series",languages:["en"],logo:"animal-crossing-world.png",logoStyle:"",site:"https://animalcrossingworld.com/",android:"",ios:"",discord:"",facebook:"AnimalCrossWorld",instagram:"animalcrossing_world",twitter:"ACWorldBlog",git:"",information:["gameplay"],tools:[]},{name:"Animal Guide for ACNH",description:"Fan-made guidebook for ACNH with comprehensive info on collectibles, villagers, and more",languages:["en"],logo:"animal-guide-for-acnh.png",logoStyle:"icon",site:"",android:"https://animalguide.app/",ios:"https://animalguide.app/",discord:"",facebook:"",instagram:"",twitter:"",git:"",information:["art","critters","flowers","fossils","gameplay","gifts","items","villagers"],tools:["checklist","music","marketplace","turnips"]},{name:"cestislife's Visual Guides",description:"A compilation of visual guides made by cestislife",languages:["en"],logo:"cestislife.png",logoStyle:"icon",site:"https://cestislife.github.io/",android:"",ios:"",discord:"",facebook:"",instagram:"",twitter:"",git:"",information:["critters","flowers","gameplay"],tools:[]},{name:"Completionista",description:"Learn about and track museum collectibles, flowers, albums, recipes, and more",languages:["en"],logo:"completionista.png",logoStyle:"icon",site:"https://completionista.com/",android:"",ios:"",discord:"",facebook:"",instagram:"",twitter:"",git:"",information:["art","critters","fossils","items","villagers"],tools:["checklist"]},{name:"CatalogScanner",description:"A simple bot for quickly extracting catalogs, recipes, critters and more from recorded videos",languages:["en","es","de","fr","it","ja","ko","nl","ru","zh"],logo:"catalog-scanner.png",logoStyle:"icon",site:"https://nook.lol/",android:"",ios:"",discord:"",facebook:"",instagram:"",twitter:"catalogscanner",git:"https://github.com/EhsanKia/CatalogScanner",information:["critters","items"],tools:["api"]},{name:"Custom Crossing",description:"Pattern and design sharing",languages:["en"],logo:"custom-crossing.png",logoStyle:"banner",site:"https://customcrossing.com/",android:"",ios:"",discord:"aYQ3yXw",facebook:"",instagram:"",twitter:"",git:"",information:[],tools:["design sharing"]},{name:"DodoCodes.com",description:"All in one ACNH Community with Dodo codes, designs, auctions, giveaways, articles, dreams, user ratings, wishlists, catalogs, and more",languages:["en","de","fr","zh"],logo:"dodocodescom.png",logoStyle:"banner",logoBorder:!0,site:"https://dodocodes.com",android:"https://play.google.com/store/apps/details?id=com.dodocodes.mobile",ios:"https://apps.apple.com/us/app/dodocodes/id1512463462",discord:"dodocodes",facebook:"dodocodes",instagram:"dodocodes.app",twitter:"dodo_codes",git:"",information:[],tools:["design sharing","dreams","marketplace","queueing"]},{name:"FANDOM Animal Crossing Wiki",description:"FANDOM Animal Crossing wiki that anyone can contribute to",languages:["en"],logo:"acw.png",logoStyle:"banner",site:"https://animalcrossing.fandom.com/wiki/Animal_Crossing_Wiki",android:"",ios:"",discord:"Uu7dx4P9",facebook:"",instagram:"",twitter:"",git:"",information:["art","critters","fossils","gameplay","items","villagers"],tools:["wiki"]},{name:"Flower Breeding Simulator",description:"A fancy tool to simulate flower breeding and pattern performance",languages:["en","es","de","fr","it","jp","ko","nl","ru","zh"],logo:"garden-science.png",logoStyle:"icon",site:"https://gardenscience.ac/",android:"",ios:"",discord:"",facebook:"",instagram:"",twitter:"",git:"",information:["flowers"],tools:["simulator"]},{name:"Happy Island Designer",description:"Draw terrain and paths, place buildings, and trace your in-game map",languages:["en"],logo:"",logoStyle:"",site:"https://eugeneration.github.io/HappyIslandDesigner/",android:"",ios:"",discord:"",facebook:"",instagram:"",twitter:"",git:"",information:[],tools:["simulator"]},{name:"Horizonpedia",description:"Aiming to be the most userfriendly App for iOS and Android with Item catalog, fake art comparison, and more!",languages:["en","es","de","fr","it","jp","ko","nl","ru","zh","se"],logo:"",logoStyle:"",site:"",android:"https://play.google.com/store/apps/details?id=com.wegner.horizonpedia",ios:"https://testflight.apple.com/join/cYhwMhdD",discord:"pQMRkMg",facebook:"",instagram:"horizonpedia",twitter:"HorizonpediaE",git:"",information:["art","critters","fossils","items","villagers"],tools:["checklist","fake art","turnips"]},{name:"icebr's AC:NH Helper",description:"Fish and bugs that are available for catching in AC:NH depend on location, time and current month",languages:["en","es","de","fr","it","jp","ko","nl","ru","zh"],logo:"icebr.png",logoStyle:"icon",site:"https://icebr.art/",android:"",ios:"",discord:"",facebook:"",instagram:"",twitter:"",git:"",information:["critters"],tools:["checklist"]},{name:"MeteoNook",description:"Predict your island's weather patterns, including exact times for meteor showers, rainbows and the aurora borealis",languages:["en"],logo:"",logoStyle:"",site:"https://wuffs.org/acnh/weather/",android:"",ios:"",discord:"",facebook:"",instagram:"",twitter:"",git:"https://github.com/Treeki/MeteoNook/",information:[],tools:["weather"]},{name:"My Dodo Link",description:"Islands queue manager, go in line and receive the dodo code when it's your turn.",languages:["en","it"],logo:"my-dodo-link.png",logoStyle:"",site:"https://mydodo.link",android:"",ios:"",discord:"",facebook:"",instagram:"",twitter:"",git:"",information:[],tools:["queueing"]},{name:"NMT Calculator",description:"Calculates odds of finding villagers on Mystery Islands",languages:["en"],logo:"",logoStyle:"",site:"https://acnhapi.com/nmt-calculator",android:"",ios:"",discord:"",facebook:"",instagram:"",twitter:"",git:"https://github.com/alexislours/nmt-calculator",information:["villagers"],tools:["simulator"]},{name:"Nookazon",description:"Buy and sell Animal Crossing: New Horizons items",languages:["en","es","de","fr","it","jp","ko","nl","ru","zh"],logo:"nookazon.svg",logoStyle:"banner",site:"https://nookazon.com/",android:"",ios:"",discord:"nookazon",facebook:"nookazon",instagram:"nookazon",twitter:"nookazon",git:"",information:["items"],tools:["marketplace"]},{name:"Nook DB.io",description:"Comprehensive item database with filtering, checklists, stalk market calculator, a music player, and more",languages:["en","es","de","fr","it","jp","ko","ru","zh"],logo:"nook-db-io.png",logoStyle:"icon",site:"https://nookdb.io/",android:"https://play.google.com/store/apps/details?id=io.nookdb.android",ios:"",discord:"",facebook:"",instagram:"",twitter:"",git:"",information:["flowers","items"],tools:["checklist","music","turnips"]},{name:"Nook Exchange",description:"Item tracker and marketplace",languages:["en","es","de","fr","it","jp","ko","nl","ru","zh"],logo:"nook-exchange.png",logoStyle:"banner",site:"https://nook.exchange/",android:"",ios:"",discord:"9sh66CX",facebook:"",instagram:"",twitter:"nookexchange",git:"",information:["items"],tools:["checklist","marketplace"]},{name:"NookFriends",description:"The friendliest Animal Crossing: New Horizons community!",languages:["en"],logo:"nookfriends.png",logoStyle:"banner",site:"https://www.nookfriends.com/",android:"",ios:"",facebook:"nookfriend",instagram:"nookfriendsanimalcrossing",twitter:"nookfriendsACNH",git:"",information:["art","gameplay"],tools:["dreams","fake art","queueing"]},{name:"Nookipedia",description:"The independent Animal Crossing wiki, covering the series along with an API service",languages:["en"],logo:"nookipedia.png",logoStyle:"banner",site:"https://nookipedia.com/wiki/Main_Page",android:"",ios:"",discord:"5Sfg3CT",facebook:"nookipedia",instagram:"nookipedia",twitter:"nookipedia",git:"",information:["art","critters","fossils","gameplay","gifts","items","villagers"],tools:["api","wiki"]},{name:"Nooknet",description:"Comprehensive services, including checklists, design sharing, dream codes, tune creation, turnip calculator, and more",languages:["en"],logo:"nooknet.png",logoStyle:"banner",site:"https://nooknet.net/",android:"",ios:"",discord:"RwNrqmH",facebook:"NookNetNet",instagram:"nooknetnet",twitter:"nooknetnet",git:"",information:["art","flowers","gameplay","villagers"],tools:["checklist","design sharing","dreams","town tunes","turnips","queueing"]},{name:"Nook Plaza",description:"Item catalog, wishlists, villager gifts, island rating calc, weather forecasting, fake art detector, and more!",languages:["en","es","de","fr","it","jp","ru","zh"],logo:"nook-plaza.png",logoStyle:"banner",site:"https://nookplaza.net/",android:"",ios:"",discord:"SppmqEk",facebook:"",instagram:"nookplaza",twitter:"nook_plaza",git:"",information:["art","critters","fossils","gifts","items","villagers"],tools:["checklist","fake art","island rating","simulator","weather"]},{name:"Nooks Guide",description:"List of critters, items, villagers, recipes, and more",languages:["en"],logo:"nooks-guide.jpg",logoStyle:"icon",site:"https://nooksguide.com/",android:"",ios:"",discord:"",facebook:"",instagram:"",twitter:"nooksguide",git:"",information:["art","critters","fossils","villagers"],tools:["checklist","design sharing","dreams","turnips","queueing"]},{name:"Stalks.io",description:"Get stalk price predictions, forecasts and advice for you and your friends' islands",languages:["en"],logo:"stalks-io.png",logoStyle:"banner",site:"https://stalks.io/",android:"",ios:"",discord:"",facebook:"",instagram:"",twitter:"stalksio",git:"",information:[],tools:["turnips"]},{name:"Tanuki Forest",description:"Database of items, critters, clothing, and villagers",languages:["en"],logo:"tanuki-forest.gif",logoStyle:"banner",site:"https://www.tanukiforest.com",android:"",ios:"",discord:"",facebook:"",instagram:"",twitter:"",git:"",information:["art","critters","fossils","items","villages"],tools:[]},{name:"The ULTIMATE Catalogue",description:"A full ACNH catalogue and checklist containing all items in the game and more",languages:["en","es","fr","de","it","nl","ru","zh","jp","ko"],logo:"catalogue-ac.png",logoStyle:"icon",site:"https://catalogue.ac",android:"",ios:"",discord:"",facebook:"",instagram:"",twitter:"",git:"",information:["art","critters","fossils","gifts","items","villagers"],tools:["checklist","fake art"]},{name:"Turnip.Exchange",description:"Queue for turnip selling and more",languages:["en"],logo:"turnip-exchange.png",logoStyle:"banner",site:"https://turnip.exchange/",android:"",ios:"",discord:"warpworld",facebook:"",instagram:"",twitter:"WarpWorld",git:"",information:[],tools:["queueing"]},{name:"Turnip Prophet",description:"Turnip price prediction tool available in multiple languages",languages:["en","es","fr","de","it","nl","ru","zh","jp","ko"],logo:"",logoStyle:"",site:"https://turnipprophet.io/",android:"",ios:"",discord:"",facebook:"",instagram:"",twitter:"",git:"https://github.com/mikebryant/ac-nh-turnip-prices",information:[],tools:["turnips"]},{name:"VillagerDB",description:"Database of items and villagers, with a wishlist maker",languages:["en"],logo:"villagerdb.jpg",logoStyle:"icon",site:"https://villagerdb.com/",android:"",ios:"",discord:"n4527pm",facebook:"",instagram:"",twitter:"villagerdb",git:"https://github.com/jefflomacy/villagerdb",information:["art","critters","fossils","items","villagers"],tools:["checklist"]},{name:"VillagersClub",description:"Villagers, Clothing, Furniture, Critters, and Recipe info",languages:["en"],logo:"villagersclub.jpg",logoStyle:"banner",site:"https://villagers.club/",android:"",ios:"",discord:"7hdZGahHhr",facebook:"VillagersClub",instagram:"villagersclub",twitter:"VillagersClub",git:"",information:["art","critters","fossils","items","villagers"],tools:["checklist","marketplace"]},{name:"Yue's ACNH Guides",description:"Visual guides made by Yue, available in multiple languages",languages:["en","de","jp","zh"],logo:"yue's-acnh-guides.png",logoStyle:"",site:"https://yuexr.github.io/acnh/",android:"",ios:"",discord:"",facebook:"",instagram:"yuecrossing",twitter:"yuecrossing",git:"",information:["flowers","gameplay"],tools:[]}],TV=[{code:"en",text:"English"},{code:"es",text:"Espa\xf1ol"},{code:"fr",text:"Fran\xe7ais"},{code:"de",text:"Deutsch"},{code:"it",text:"Italiano"},{code:"nl",text:"Nederlands"},{code:"ru",text:"\u0420\u0443\u0441\u0441\u043a\u0438\u0439"},{code:"zh",text:"\u7b80\u4f53\u4e2d\u6587"},{code:"jp",text:"\u65e5\u672c\u8a9e"},{code:"ko",text:"\ud55c\uad6d\uc5b4"}];function xV(e,n){if(1&e){const t=Un();w(0,"div")(1,"label",21)(2,"input",22),oe("change",function(){return _n(t),Dn(ne().applyFilters())}),b(),w(3,"span"),x(4),b()()()}if(2&e){const t=n.$implicit;T(1),wt("for",t.code),T(1),wt("id",t.code),wt("value",t.code),T(2),bt(t.text)}}function NV(e,n){1&e&&(w(0,"span"),x(1,"Sort A \u2192 Z"),b())}function OV(e,n){1&e&&(w(0,"span"),x(1,"Sort Z \u2192 A"),b())}function RV(e,n){if(1&e&&(w(0,"a",44),te(1,"img",45),b()),2&e){const t=ne(2).$implicit;wt("href",t.site,dt),T(1),hr("logo-border",t.logoBorder),In("src","assets/images/logos/",t.logo,"",dt),wt("alt",t.name)}}function PV(e,n){if(1&e&&te(0,"img",45),2&e){const t=ne(2).$implicit;hr("logo-border",t.logoBorder),In("src","assets/images/logos/",t.logo,"",dt),wt("alt",t.name)}}function kV(e,n){if(1&e&&(w(0,"div",41),le(1,RV,2,5,"a",42),le(2,PV,1,4,"ng-template",null,43,rd),b()),2&e){const t=Iu(3),r=ne().$implicit;T(1),Z("ngIf",r.site)("ngIfElse",t)}}function FV(e,n){if(1&e&&(w(0,"a",44)(1,"span",46),x(2),b()()),2&e){const t=ne(2).$implicit;wt("href",t.site,dt),T(2),bt(t.name)}}function LV(e,n){if(1&e&&(w(0,"span",46),x(1),b()),2&e){const t=ne(2).$implicit;T(1),bt(t.name)}}function VV(e,n){if(1&e&&(w(0,"div",41),le(1,FV,3,2,"a",42),le(2,LV,2,1,"ng-template",null,43,rd),b()),2&e){const t=Iu(3),r=ne().$implicit;T(1),Z("ngIf",r.site)("ngIfElse",t)}}function jV(e,n){if(1&e){const t=Un();w(0,"span",47),oe("click",function(){const o=_n(t).$implicit;return Dn(ne(2).singleInformationFilter(o))}),x(1),b()}if(2&e){const t=n.$implicit;T(1),bt(t)}}function HV(e,n){if(1&e){const t=Un();w(0,"span",48),oe("click",function(){const o=_n(t).$implicit;return Dn(ne(2).singleFeatureFilter(o))}),x(1),b()}if(2&e){const t=n.$implicit;T(1),bt(t)}}function BV(e,n){if(1&e&&(w(0,"div",49)(1,"a",44)(2,"div"),te(3,"img",50),b()()()),2&e){const t=ne().$implicit;T(1),wt("href",t.site,dt)}}function $V(e,n){if(1&e&&(w(0,"div",51)(1,"a",44)(2,"div"),te(3,"img",52),b()()()),2&e){const t=ne().$implicit;T(1),wt("href",t.android,dt)}}function UV(e,n){if(1&e&&(w(0,"div",53)(1,"a",44)(2,"div"),te(3,"img",54),b()()()),2&e){const t=ne().$implicit;T(1),wt("href",t.ios,dt)}}function zV(e,n){if(1&e&&(w(0,"div",55)(1,"a",44)(2,"div"),te(3,"img",56),b()()()),2&e){const t=ne().$implicit;T(1),In("href","https://www.facebook.com/",t.facebook,"/",dt)}}function GV(e,n){if(1&e&&(w(0,"div",57)(1,"a",44)(2,"div"),te(3,"img",58),b()()()),2&e){const t=ne().$implicit;T(1),In("href","https://twitter.com/",t.twitter,"",dt)}}function WV(e,n){if(1&e&&(w(0,"div",59)(1,"a",44)(2,"div"),te(3,"img",60),b()()()),2&e){const t=ne().$implicit;T(1),In("href","https://www.instagram.com/",t.instagram,"/",dt)}}function qV(e,n){if(1&e&&(w(0,"div",61)(1,"a",44)(2,"div"),te(3,"img",62),b()()()),2&e){const t=ne().$implicit;T(1),In("href","https://discord.gg/",t.discord,"",dt)}}function ZV(e,n){if(1&e&&(w(0,"div",63)(1,"a",44)(2,"div"),te(3,"img",64),b()()()),2&e){const t=ne().$implicit;T(1),wt("href",t.git,dt)}}function YV(e,n){if(1&e&&(w(0,"div",23)(1,"div",1)(2,"div",24),le(3,kV,4,2,"div",25),le(4,VV,4,2,"div",25),b(),w(5,"div",26)(6,"div",27)(7,"span",28),x(8),b()()(),w(9,"div",29),le(10,jV,2,1,"span",30),le(11,HV,2,1,"span",31),b(),w(12,"div",32),le(13,BV,4,1,"div",33),le(14,$V,4,1,"div",34),le(15,UV,4,1,"div",35),le(16,zV,4,1,"div",36),le(17,GV,4,1,"div",37),le(18,WV,4,1,"div",38),le(19,qV,4,1,"div",39),le(20,ZV,4,1,"div",40),b()()()),2&e){const t=n.$implicit;T(3),Z("ngIf",t.logo),T(1),Z("ngIf","icon"===t.logoStyle||!t.logo),T(4),bt(t.description),T(2),Z("ngForOf",t.information),T(1),Z("ngForOf",t.tools),T(2),Z("ngIf",t.site),T(1),Z("ngIf",t.android),T(1),Z("ngIf",t.ios),T(1),Z("ngIf",t.facebook),T(1),Z("ngIf",t.twitter),T(1),Z("ngIf",t.instagram),T(1),Z("ngIf",t.discord),T(1),Z("ngIf",t.git)}}const QV=[{path:"",component:(()=>{class e{constructor(){this.langForm=new Ja({lang:new wf}),this.languageList=TV,this.dropdownListPlatforms=[],this.dropdownListInformation=[],this.dropdownListTools=[],this.selectedItemsPlatforms=[],this.selectedItemsInformation=[],this.selectedItemsTools=[],this.shuffledData=this.shuffle(AV),this.projects=this.shuffledData,this.filterData=this.shuffledData,this.ifFilterMeetsAll=!1,this.sorted=!1}ngOnInit(){this.langForm.patchValue({lang:"en"}),this.applyFilters(),this.dropdownListPlatforms=[{item_id:"website",item_text:"Website"},{item_id:"android",item_text:"Android"},{item_id:"ios",item_text:"iOS"}],this.dropdownListInformation=[{item_id:"art",item_text:"Art"},{item_id:"critters",item_text:"Critters"},{item_id:"flowers",item_text:"Flowers"},{item_id:"fossils",item_text:"Fossils"},{item_id:"gameplay",item_text:"Gameplay"},{item_id:"gifts",item_text:"Gifting"},{item_id:"items",item_text:"Items"},{item_id:"villagers",item_text:"Villagers"}],this.dropdownListTools=[{item_id:"api",item_text:"API"},{item_id:"checklist",item_text:"Checklist"},{item_id:"design sharing",item_text:"Design Sharing"},{item_id:"dreams",item_text:"Dream Sharing"},{item_id:"fake art",item_text:"Fake Art Detection"},{item_id:"island rating",item_text:"Island Rating Calc"},{item_id:"marketplace",item_text:"Marketplace"},{item_id:"music",item_text:"Music Player"},{item_id:"queueing",item_text:"Queueing"},{item_id:"simulator",item_text:"Simulator"},{item_id:"town tunes",item_text:"Town Tunes"},{item_id:"turnips",item_text:"Turnip Pricing"},{item_id:"weather",item_text:"Weather Forecast"},{item_id:"wiki",item_text:"Wiki"}],this.dropdownSettings={singleSelection:!1,idField:"item_id",textField:"item_text",itemsShowLimit:3,allowSearchFilter:!1,enableCheckAll:!1}}scrollToTop(){document.body.scrollTop=0,document.documentElement.scrollTop=0}resetFilters(){this.selectedItemsPlatforms=[],this.selectedItemsInformation=[],this.selectedItemsTools=[],this.applyFilters()}applyFilters(){const t=[];for(const o of this.selectedItemsPlatforms)t.push(o.item_id);const r=[];for(const o of this.selectedItemsInformation)r.push(o.item_id);const i=[];for(const o of this.selectedItemsTools)i.push(o.item_id);this.projects=this.filterData.filter(o=>{const s=[];""!==o.site&&s.push("website"),""!==o.android&&s.push("android"),""!==o.ios&&s.push("ios");const a=this.selectedItemsPlatforms.length+this.selectedItemsInformation.length+this.selectedItemsTools.length;return this.ifFilterMeetsAll?(!a||(!t.length||t.every(l=>s.includes(l)))&&(!r.length||r.every(l=>o.information.includes(l)))&&(!i.length||i.every(l=>o.tools.includes(l))))&&o.languages.includes(this.langForm.get("lang").value):(!a||(!t.length||t.some(l=>s.includes(l)))&&(!r.length||r.some(l=>o.information.includes(l)))&&(!i.length||i.some(l=>o.tools.includes(l))))&&o.languages.includes(this.langForm.get("lang").value)})}singleInformationFilter(t){this.selectedItemsPlatforms=[],this.selectedItemsInformation=[this.dropdownListInformation.filter(i=>i.item_id===t)[0]],this.selectedItemsTools=[];const r=[t];this.projects=this.filterData.filter(i=>{const o=i.information.concat(i.tools);return this.ifFilterMeetsAll?(0===r.length||r.every(s=>o.includes(s)))&&i.languages.includes(this.langForm.get("lang").value):(0===r.length||r.some(s=>o.indexOf(s)>=0))&&i.languages.includes(this.langForm.get("lang").value)}),this.scrollToTop()}singleFeatureFilter(t){this.selectedItemsPlatforms=[],this.selectedItemsInformation=[],this.selectedItemsTools=[this.dropdownListTools.filter(i=>i.item_id===t)[0]];const r=[t];this.projects=this.filterData.filter(i=>{const o=i.information.concat(i.tools);return this.ifFilterMeetsAll?(0===r.length||r.every(s=>o.includes(s)))&&i.languages.includes(this.langForm.get("lang").value):(0===r.length||r.some(s=>o.indexOf(s)>=0))&&i.languages.includes(this.langForm.get("lang").value)}),this.scrollToTop()}filterToggle(t){this.ifFilterMeetsAll=!!t.target.checked,this.applyFilters()}shuffleProjects(){this.filterData=this.shuffle(this.filterData),this.sorted=!1,this.applyFilters()}shuffle(t){for(let r=0;ro?s=1:io&&(s=-1),s}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=Ir({type:e,selectors:[["app-directory"]],decls:41,vars:17,consts:[[1,"box","centered"],[1,"content-div"],[1,"font-tools","coustard"],["id","lang-form",1,"coustard",3,"formGroup"],[4,"ngFor","ngForOf"],["id","filters-container",1,"flex-container"],[1,"flex-item","filter"],[1,"font-platforms","coustard"],[3,"settings","placeholder","data","ngModel","ngModelChange","onSelect","onDeSelect"],[1,"font-information","coustard"],[1,"font-prose","centered","table"],[1,"switch",2,"margin-right","10px"],["type","checkbox",3,"change"],[1,"slider"],[1,"toggle-label"],[1,"font-prose"],[1,"button",3,"click"],[4,"ngIf"],["id","heading-bottom"],[1,"results","constrained"],["class","listing max-width",4,"ngFor","ngForOf"],[3,"for"],["type","radio","name","lang","formControlName","lang",3,"id","value","change"],[1,"listing","max-width"],[1,"flex-container-inline","name-container"],["class","flex-item",4,"ngIf"],[1,"description"],[1,"table","max-width",2,"padding","10px 0px"],[1,"description",2,"display","table-cell","text-align","center","vertical-align","middle"],[1,"tags"],["class","tag information hover",3,"click",4,"ngFor","ngForOf"],["class","tag tools hover",3,"click",4,"ngFor","ngForOf"],[1,"flex-container","link-button"],["class","link-button site","tabindex","0",4,"ngIf"],["class","link-button android","tabindex","0",4,"ngIf"],["class","link-button ios","tabindex","0",4,"ngIf"],["class","link-button facebook","tabindex","0",4,"ngIf"],["class","link-button twitter","tabindex","0",4,"ngIf"],["class","link-button instagram","tabindex","0",4,"ngIf"],["class","link-button discord","tabindex","0",4,"ngIf"],["class","link-button git","tabindex","0",4,"ngIf"],[1,"flex-item"],["target","_blank","rel","noopener","nofollow","",3,"href",4,"ngIf","ngIfElse"],["noLink",""],["target","_blank","rel","noopener","nofollow","",3,"href"],[3,"src","alt"],[1,"title"],[1,"tag","information","hover",3,"click"],[1,"tag","tools","hover",3,"click"],["tabindex","0",1,"link-button","site"],["src","assets/images/links/link.png","alt","Visit website","width","16px",1,"link-button"],["tabindex","0",1,"link-button","android"],["src","assets/images/links/android.png","alt","Download on Google Play","width","16px",1,"link-button"],["tabindex","0",1,"link-button","ios"],["src","assets/images/links/apple.png","alt","Download on the App Store","width","16px",1,"link-button"],["tabindex","0",1,"link-button","facebook"],["src","assets/images/links/facebook.png","alt","Facebook profile","width","16px",1,"link-button"],["tabindex","0",1,"link-button","twitter"],["src","assets/images/links/twitter.png","alt","Twitter profile","width","16px",1,"link-button"],["tabindex","0",1,"link-button","instagram"],["src","assets/images/links/instagram.png","alt","Instagram profile","width","16px",1,"link-button"],["tabindex","0",1,"link-button","discord"],["src","assets/images/links/discord.png","alt","Discord invite","width","16px",1,"link-button"],["tabindex","0",1,"link-button","git"],["src","assets/images/links/git.png","alt","Git link","width","16px",1,"link-button"]],template:function(r,i){1&r&&(w(0,"div")(1,"div",0)(2,"div",1)(3,"h3",2),x(4,"Resource Language"),b(),w(5,"form",3),le(6,xV,5,4,"div",4),b()(),te(7,"br"),w(8,"div",1)(9,"div",5)(10,"div",6)(11,"h3",7),x(12,"Platforms"),b(),w(13,"ng-multiselect-dropdown3",8),oe("ngModelChange",function(s){return i.selectedItemsPlatforms=s})("onSelect",function(){return i.applyFilters()})("onDeSelect",function(){return i.applyFilters()}),b()(),w(14,"div",6)(15,"h3",9),x(16,"Information"),b(),w(17,"ng-multiselect-dropdown3",8),oe("ngModelChange",function(s){return i.selectedItemsInformation=s})("onSelect",function(){return i.applyFilters()})("onDeSelect",function(){return i.applyFilters()}),b()(),w(18,"div",6)(19,"h3",2),x(20,"Tools"),b(),w(21,"ng-multiselect-dropdown3",8),oe("ngModelChange",function(s){return i.selectedItemsTools=s})("onSelect",function(){return i.applyFilters()})("onDeSelect",function(){return i.applyFilters()}),b()()(),w(22,"div",10)(23,"label",11)(24,"input",12),oe("change",function(s){return i.filterToggle(s)}),b(),te(25,"span",13),b(),w(26,"span",14),x(27,"Only show listings that match all selected filters within each category"),b()(),w(28,"div",15)(29,"button",16),oe("click",function(){return i.resetFilters()}),x(30,"Reset Filters"),b(),te(31,"br")(32,"br"),w(33,"button",16),oe("click",function(){return i.shuffleProjects()}),x(34,"Randomize Order"),b(),w(35,"button",16),oe("click",function(){return i.sortProjects()}),le(36,NV,2,0,"span",17),le(37,OV,2,0,"span",17),b()()()(),te(38,"div",18),b(),w(39,"div",19),le(40,YV,21,13,"div",20),b()),2&r&&(T(5),Z("formGroup",i.langForm),T(1),Z("ngForOf",i.languageList),T(7),Z("settings",i.dropdownSettings)("placeholder","Select platform...")("data",i.dropdownListPlatforms)("ngModel",i.selectedItemsPlatforms),T(4),Z("settings",i.dropdownSettings)("placeholder","Select info...")("data",i.dropdownListInformation)("ngModel",i.selectedItemsInformation),T(4),Z("settings",i.dropdownSettings)("placeholder","Select tools...")("data",i.dropdownListTools)("ngModel",i.selectedItemsTools),T(15),Z("ngIf",!i.sorted),T(1),Z("ngIf",i.sorted),T(3),Z("ngForOf",i.projects))},dependencies:[Hd,Bd,ew,Fo,bf,ff,BC,il,ol,If,Dw],styles:[".content-div[_ngcontent-%COMP%]{display:flex;flex-direction:column;height:100%}.description[_ngcontent-%COMP%]{flex:1;font-size:.95em;padding:10px 5px 0}.results[_ngcontent-%COMP%]{display:grid;grid-gap:0 70px;grid-template-columns:repeat(auto-fill,450px);justify-content:center;margin-left:-6px;width:99%}form[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{padding:5px;white-space:nowrap}form[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{display:inline-block}form[_ngcontent-%COMP%] label[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{white-space:nowrap}#filters-container[_ngcontent-%COMP%]{-moz-column-gap:40px;column-gap:40px;margin:0 auto;width:max-content}#lang-form[_ngcontent-%COMP%]{margin:0 auto;max-width:600px}.filter[_ngcontent-%COMP%]{padding:0 5px 10px}.toggle-label[_ngcontent-%COMP%]{display:table-cell;font-size:.9em;padding-bottom:20px;vertical-align:middle}a.button[_ngcontent-%COMP%]{background-color:green;border-radius:4px;color:#fff;display:inline-block;min-width:50px;padding:8px;text-align:center;text-decoration:none}label[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{vertical-align:middle}label[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#575757}.listing[_ngcontent-%COMP%]{background-color:#fff;border:1px solid #CCCCCC;border-radius:5px;margin:1em auto;padding:20px 7px 10px;position:relative;text-align:center}.title[_ngcontent-%COMP%]{font-family:Coustard,Linux Libertine,Georgia,Times,serif;font-size:1.6em}.name-container[_ngcontent-%COMP%]{height:100px}.name-container[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-height:100px;max-width:90%}.image-container[_ngcontent-%COMP%]{max-width:60%}.logo-border[_ngcontent-%COMP%]{filter:drop-shadow(1px 1px 0 black) drop-shadow(-1px -1px 0 black)}.link-button[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{padding:6px 0 3px}.link-button[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{border-radius:7px;flex:1;margin:0 3px}.link-button[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:hover{filter:brightness(85%)}.link-button.site[_ngcontent-%COMP%]{background-color:#669;box-shadow:2px 2px #2b2b68}.link-button.android[_ngcontent-%COMP%]{background-color:#3ddc84;box-shadow:2px 2px #00bd52}.link-button.ios[_ngcontent-%COMP%]{background-color:#666;box-shadow:2px 2px #040303}.link-button.facebook[_ngcontent-%COMP%]{background-color:#3c64a7;box-shadow:2px 2px #13397a}.link-button.twitter[_ngcontent-%COMP%]{background-color:#00b3e0;box-shadow:2px 2px #00637a}.link-button.instagram[_ngcontent-%COMP%]{background-color:#f00075;box-shadow:2px 2px #b60059}.link-button.discord[_ngcontent-%COMP%]{background-color:#7289da;box-shadow:2px 2px #334dad}.link-button.git[_ngcontent-%COMP%]{background-color:#f14e32;box-shadow:2px 2px #bf3b24}.tags[_ngcontent-%COMP%]{padding:0 5px 10px}.tag[_ngcontent-%COMP%]{border-radius:10px;color:#464646;display:inline-block;font-size:.8em;margin:5px;padding:2px 4px}.tag.platforms[_ngcontent-%COMP%]{background:#A6D8E5;border:2px solid #359EBB}.tag.information[_ngcontent-%COMP%]{background:#F5EA9A;border:2px solid #F1E26F}.tag.tools[_ngcontent-%COMP%]{background:#AFD9C0;border:2px solid #61A33E}@media only screen and (max-width: 750px){a.button[_ngcontent-%COMP%]{width:50%}#filters-container[_ngcontent-%COMP%]{display:block;width:100%}.results[_ngcontent-%COMP%]{grid-template-columns:repeat(auto-fill,90%)!important}.listing[_ngcontent-%COMP%]{display:block;text-align:center}.name-container[_ngcontent-%COMP%]{height:auto}.title[_ngcontent-%COMP%]{margin-bottom:10px;max-width:200px}.flex-item.filter[_ngcontent-%COMP%]{margin:0 auto;width:90%}.flex-container-inline[_ngcontent-%COMP%]{display:block}}"]})}return e})()},{path:"privacy",component:(()=>{class e{constructor(){}ngOnInit(){}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=Ir({type:e,selectors:[["app-privacy"]],decls:33,vars:0,consts:[[1,"box"],["target","_blank","href","https://www.cloudflare.com/"],["target","_blank","href","https://analytics.google.com/"],["target","_blank","href","https://policies.google.com/privacy"]],template:function(r,i){1&r&&(w(0,"div",0)(1,"span")(2,"p")(3,"b"),x(4,"Last Update: 2020-10-04"),b()(),w(5,"p"),x(6," By using our site, you consent to our privacy policy. "),b(),w(7,"p"),x(8," Any external websites we link to have their own separate and independent privacy policies; we have no responsibility or control over how these websites conduct themselves. "),b(),w(9,"p")(10,"b"),x(11,"What information do we collect?"),b()(),w(12,"p"),x(13," ACNH.Directory is delivered through "),w(14,"a",1),x(15,"Cloudflare"),b(),x(16,"'s CDN, which includes basic privacy-friendly analytics. We also use "),w(17,"a",2),x(18,"Google Analytics"),b(),x(19," to collect, monitor and analyze usage of ACNH.Directory. Google Analytics's privacy policy can be viewed "),w(20,"a",3),x(21,"here"),b(),x(22,". This service is used to determine the popularity of certain content, and to better understand online activity. By accessing ACNH.Directory, you consent to the collection and use of your information by Google Analytics. "),b(),w(23,"p")(24,"b"),x(25,"California Online Privacy Protection Act Compliance"),b()(),w(26,"p"),x(27," We have taken the necessary precautions to be in compliance with the California Online Privacy Protection Act. We therefore do not distribute your personal information to outside parties without your consent. "),b(),w(28,"p")(29,"b"),x(30,"Childrens Online Privacy Protection Act Compliance"),b()(),w(31,"p"),x(32," We are in compliance with the requirements of COPPA (Childrens Online Privacy Protection Act), as we do not collect any information from anyone under 13 years of age. Our website, products and services are all directed to people who are at least 13 years old or older. "),b()()())},styles:["span[_ngcontent-%COMP%]{display:inline-block;width:90%;max-width:800px}"]})}return e})()}];let KV=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=mt({type:e});static#n=this.\u0275inj=rt({imports:[Eb.forRoot(QV),Eb]})}return e})(),XV=(()=>{class e{constructor(){this.title="acnh-directory"}ngOnInit(){}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=Ir({type:e,selectors:[["app-root"]],decls:48,vars:0,consts:[["id","heading",1,"centered"],["id","logo"],["href","./",2,"color","#67AF40"],["id","sublogo"],["target","_blank","href","https://nookipedia.com/wiki/Main_Page",2,"color","#67AF40"],["target","_blank","href","https://github.com/Nookipedia/acnh.directory"],["id","footer",1,"center"],["id","footer-top"],["target","_blank","href","https://nookipedia.com/wiki/Main_Page"],["target","_blank","href","https://www.kevinpayravi.com/"],["href","/privacy"]],template:function(r,i){1&r&&(w(0,"div",0)(1,"h1",1)(2,"a",2),x(3,"ACNH.Directory"),b()(),w(4,"span",3),x(5," Your one-stop site for "),w(6,"i"),x(7,"Animal Crossing: New Horizons"),b(),x(8," resources "),b(),te(9,"br"),w(10,"span",3),x(11," Brought to you by "),w(12,"a",4),x(13,"Nookipedia"),b()(),te(14,"br"),w(15,"span",3),x(16," Contribute on "),w(17,"a",5),x(18,"GitHub"),b()()(),te(19,"router-outlet")(20,"br")(21,"br"),w(22,"div",6),te(23,"div",7),x(24," A "),w(25,"a",8),x(26,"Nookipedia"),b(),x(27," project "),te(28,"br"),w(29,"a",5),x(30,"Source"),b(),x(31," (you can contribute!) "),te(32,"br"),x(33," Built by "),w(34,"a",9),x(35,"@KevinPayravi"),b(),te(36,"br")(37,"br"),x(38," Animal Crossing is a registered trademark of Nintendo. "),te(39,"br"),x(40," ACNH.Directory in no way claims ownership of any intellectual property associated with Animal Crossing. "),te(41,"br"),x(42," ACNH.Directory is not responsible for the content on the listed external sites. "),te(43,"br"),w(44,"a",10),x(45,"Privacy Policy"),b(),te(46,"br")(47,"br"),b())},dependencies:[Yf]})}return e})(),JV=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=mt({type:e,bootstrap:[XV]});static#n=this.\u0275inj=rt({imports:[VP,lP,KV,vw,Wk,iF]})}return e})();sP().bootstrapModule(JV).catch(e=>console.error(e))}},de=>{de(de.s=35)}]); \ No newline at end of file