diff --git a/docs/3rdpartylicenses.txt b/docs/3rdpartylicenses.txt
deleted file mode 100644
index 10c1925..0000000
--- a/docs/3rdpartylicenses.txt
+++ /dev/null
@@ -1,244 +0,0 @@
-@angular/common
-MIT
-
-@angular/core
-MIT
-
-@angular/forms
-MIT
-
-@angular/platform-browser
-MIT
-
-@angular/router
-MIT
-
-rxjs
-Apache-2.0
- Apache License
- Version 2.0, January 2004
- http://www.apache.org/licenses/
-
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
- 1. Definitions.
-
- "License" shall mean the terms and conditions for use, reproduction,
- and distribution as defined by Sections 1 through 9 of this document.
-
- "Licensor" shall mean the copyright owner or entity authorized by
- the copyright owner that is granting the License.
-
- "Legal Entity" shall mean the union of the acting entity and all
- other entities that control, are controlled by, or are under common
- control with that entity. For the purposes of this definition,
- "control" means (i) the power, direct or indirect, to cause the
- direction or management of such entity, whether by contract or
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
- outstanding shares, or (iii) beneficial ownership of such entity.
-
- "You" (or "Your") shall mean an individual or Legal Entity
- exercising permissions granted by this License.
-
- "Source" form shall mean the preferred form for making modifications,
- including but not limited to software source code, documentation
- source, and configuration files.
-
- "Object" form shall mean any form resulting from mechanical
- transformation or translation of a Source form, including but
- not limited to compiled object code, generated documentation,
- and conversions to other media types.
-
- "Work" shall mean the work of authorship, whether in Source or
- Object form, made available under the License, as indicated by a
- copyright notice that is included in or attached to the work
- (an example is provided in the Appendix below).
-
- "Derivative Works" shall mean any work, whether in Source or Object
- form, that is based on (or derived from) the Work and for which the
- editorial revisions, annotations, elaborations, or other modifications
- represent, as a whole, an original work of authorship. For the purposes
- of this License, Derivative Works shall not include works that remain
- separable from, or merely link (or bind by name) to the interfaces of,
- the Work and Derivative Works thereof.
-
- "Contribution" shall mean any work of authorship, including
- the original version of the Work and any modifications or additions
- to that Work or Derivative Works thereof, that is intentionally
- submitted to Licensor for inclusion in the Work by the copyright owner
- or by an individual or Legal Entity authorized to submit on behalf of
- the copyright owner. For the purposes of this definition, "submitted"
- means any form of electronic, verbal, or written communication sent
- to the Licensor or its representatives, including but not limited to
- communication on electronic mailing lists, source code control systems,
- and issue tracking systems that are managed by, or on behalf of, the
- Licensor for the purpose of discussing and improving the Work, but
- excluding communication that is conspicuously marked or otherwise
- designated in writing by the copyright owner as "Not a Contribution."
-
- "Contributor" shall mean Licensor and any individual or Legal Entity
- on behalf of whom a Contribution has been received by Licensor and
- subsequently incorporated within the Work.
-
- 2. Grant of Copyright License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- copyright license to reproduce, prepare Derivative Works of,
- publicly display, publicly perform, sublicense, and distribute the
- Work and such Derivative Works in Source or Object form.
-
- 3. Grant of Patent License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- (except as stated in this section) patent license to make, have made,
- use, offer to sell, sell, import, and otherwise transfer the Work,
- where such license applies only to those patent claims licensable
- by such Contributor that are necessarily infringed by their
- Contribution(s) alone or by combination of their Contribution(s)
- with the Work to which such Contribution(s) was submitted. If You
- institute patent litigation against any entity (including a
- cross-claim or counterclaim in a lawsuit) alleging that the Work
- or a Contribution incorporated within the Work constitutes direct
- or contributory patent infringement, then any patent licenses
- granted to You under this License for that Work shall terminate
- as of the date such litigation is filed.
-
- 4. Redistribution. You may reproduce and distribute copies of the
- Work or Derivative Works thereof in any medium, with or without
- modifications, and in Source or Object form, provided that You
- meet the following conditions:
-
- (a) You must give any other recipients of the Work or
- Derivative Works a copy of this License; and
-
- (b) You must cause any modified files to carry prominent notices
- stating that You changed the files; and
-
- (c) You must retain, in the Source form of any Derivative Works
- that You distribute, all copyright, patent, trademark, and
- attribution notices from the Source form of the Work,
- excluding those notices that do not pertain to any part of
- the Derivative Works; and
-
- (d) If the Work includes a "NOTICE" text file as part of its
- distribution, then any Derivative Works that You distribute must
- include a readable copy of the attribution notices contained
- within such NOTICE file, excluding those notices that do not
- pertain to any part of the Derivative Works, in at least one
- of the following places: within a NOTICE text file distributed
- as part of the Derivative Works; within the Source form or
- documentation, if provided along with the Derivative Works; or,
- within a display generated by the Derivative Works, if and
- wherever such third-party notices normally appear. The contents
- of the NOTICE file are for informational purposes only and
- do not modify the License. You may add Your own attribution
- notices within Derivative Works that You distribute, alongside
- or as an addendum to the NOTICE text from the Work, provided
- that such additional attribution notices cannot be construed
- as modifying the License.
-
- You may add Your own copyright statement to Your modifications and
- may provide additional or different license terms and conditions
- for use, reproduction, or distribution of Your modifications, or
- for any such Derivative Works as a whole, provided Your use,
- reproduction, and distribution of the Work otherwise complies with
- the conditions stated in this License.
-
- 5. Submission of Contributions. Unless You explicitly state otherwise,
- any Contribution intentionally submitted for inclusion in the Work
- by You to the Licensor shall be under the terms and conditions of
- this License, without any additional terms or conditions.
- Notwithstanding the above, nothing herein shall supersede or modify
- the terms of any separate license agreement you may have executed
- with Licensor regarding such Contributions.
-
- 6. Trademarks. This License does not grant permission to use the trade
- names, trademarks, service marks, or product names of the Licensor,
- except as required for reasonable and customary use in describing the
- origin of the Work and reproducing the content of the NOTICE file.
-
- 7. Disclaimer of Warranty. Unless required by applicable law or
- agreed to in writing, Licensor provides the Work (and each
- Contributor provides its Contributions) on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
- implied, including, without limitation, any warranties or conditions
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
- PARTICULAR PURPOSE. You are solely responsible for determining the
- appropriateness of using or redistributing the Work and assume any
- risks associated with Your exercise of permissions under this License.
-
- 8. Limitation of Liability. In no event and under no legal theory,
- whether in tort (including negligence), contract, or otherwise,
- unless required by applicable law (such as deliberate and grossly
- negligent acts) or agreed to in writing, shall any Contributor be
- liable to You for damages, including any direct, indirect, special,
- incidental, or consequential damages of any character arising as a
- result of this License or out of the use or inability to use the
- Work (including but not limited to damages for loss of goodwill,
- work stoppage, computer failure or malfunction, or any and all
- other commercial damages or losses), even if such Contributor
- has been advised of the possibility of such damages.
-
- 9. Accepting Warranty or Additional Liability. While redistributing
- the Work or Derivative Works thereof, You may choose to offer,
- and charge a fee for, acceptance of support, warranty, indemnity,
- or other liability obligations and/or rights consistent with this
- License. However, in accepting such obligations, You may act only
- on Your own behalf and on Your sole responsibility, not on behalf
- of any other Contributor, and only if You agree to indemnify,
- defend, and hold each Contributor harmless for any liability
- incurred by, or claims asserted against, such Contributor by reason
- of your accepting any such warranty or additional liability.
-
- END OF TERMS AND CONDITIONS
-
- APPENDIX: How to apply the Apache License to your work.
-
- To apply the Apache License to your work, attach the following
- boilerplate notice, with the fields enclosed by brackets "[]"
- replaced with your own identifying information. (Don't include
- the brackets!) The text should be enclosed in the appropriate
- comment syntax for the file format. We also recommend that a
- file or class name and description of purpose be included on the
- same "printed page" as the copyright notice for easier
- identification within third-party archives.
-
- Copyright (c) 2015-2018 Google, Inc., Netflix, Inc., Microsoft Corp. and contributors
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-
-
-
-zone.js
-MIT
-The MIT License
-
-Copyright (c) 2010-2023 Google LLC. https://angular.io/license
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
diff --git a/docs/favicon.ico b/docs/favicon.ico
deleted file mode 100644
index 997406a..0000000
Binary files a/docs/favicon.ico and /dev/null differ
diff --git a/docs/index.html b/docs/index.html
deleted file mode 100644
index c91011b..0000000
--- a/docs/index.html
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
-
- Tax Estimator Calculator
-
-
-
-
-
-
-
-
-
diff --git a/docs/main.2057f45ceb5c31c6.js b/docs/main.2057f45ceb5c31c6.js
deleted file mode 100644
index 7163e0f..0000000
--- a/docs/main.2057f45ceb5c31c6.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(self.webpackChunktd_calc=self.webpackChunktd_calc||[]).push([[179],{753:()=>{let Ie=null,Vr=1;const jr=Symbol("SIGNAL");function Ce(e){const t=Ie;return Ie=e,t}function yp(e){if((!ii(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==Vr)){if(!e.producerMustRecompute(e)&&!Cl(e))return e.dirty=!1,void(e.lastCleanEpoch=Vr);e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=Vr}}function Cl(e){Ur(e);for(let t=0;t0}function Ur(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}let Sp=null;function me(e){return"function"==typeof e}function El(e){const n=e(r=>{Error.call(r),r.stack=(new Error).stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}const bl=El(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:\n${n.map((r,o)=>`${o+1}) ${r.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=n});function Il(e,t){if(e){const n=e.indexOf(t);0<=n&&e.splice(n,1)}}class dt{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;const{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(const i of n)i.remove(this);else n.remove(this);const{initialTeardown:r}=this;if(me(r))try{r()}catch(i){t=i instanceof bl?i.errors:[i]}const{_finalizers:o}=this;if(o){this._finalizers=null;for(const i of o)try{Rp(i)}catch(s){t=t??[],s instanceof bl?t=[...t,...s.errors]:t.push(s)}}if(t)throw new bl(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Rp(t);else{if(t instanceof dt){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(n=this._finalizers)&&void 0!==n?n:[]).push(t)}}_hasParent(t){const{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){const{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){const{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&Il(n,t)}remove(t){const{_finalizers:n}=this;n&&Il(n,t),t instanceof dt&&t._removeParent(this)}}dt.EMPTY=(()=>{const e=new dt;return e.closed=!0,e})();const Np=dt.EMPTY;function xp(e){return e instanceof dt||e&&"closed"in e&&me(e.remove)&&me(e.add)&&me(e.unsubscribe)}function Rp(e){me(e)?e():e.unsubscribe()}const ur={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Vs={setTimeout(e,t,...n){const{delegate:r}=Vs;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){const{delegate:t}=Vs;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Op(e){Vs.setTimeout(()=>{const{onUnhandledError:t}=ur;if(!t)throw e;t(e)})}function Ml(){}const FI=Sl("C",void 0,void 0);function Sl(e,t,n){return{kind:e,value:t,error:n}}let lr=null;function js(e){if(ur.useDeprecatedSynchronousErrorHandling){const t=!lr;if(t&&(lr={errorThrown:!1,error:null}),e(),t){const{errorThrown:n,error:r}=lr;if(lr=null,n)throw r}}else e()}class Tl extends dt{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,xp(t)&&t.add(this)):this.destination=$I}static create(t,n,r){return new Nl(t,n,r)}next(t){this.isStopped?xl(function kI(e){return Sl("N",e,void 0)}(t),this):this._next(t)}error(t){this.isStopped?xl(function PI(e){return Sl("E",void 0,e)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?xl(FI,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const VI=Function.prototype.bind;function Al(e,t){return VI.call(e,t)}class jI{constructor(t){this.partialObserver=t}next(t){const{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){Us(r)}}error(t){const{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){Us(r)}else Us(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Us(n)}}}class Nl extends Tl{constructor(t,n,r){let o;if(super(),me(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&ur.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&Al(t.next,i),error:t.error&&Al(t.error,i),complete:t.complete&&Al(t.complete,i)}):o=t}this.destination=new jI(o)}}function Us(e){ur.useDeprecatedSynchronousErrorHandling?function LI(e){ur.useDeprecatedSynchronousErrorHandling&&lr&&(lr.errorThrown=!0,lr.error=e)}(e):Op(e)}function xl(e,t){const{onStoppedNotification:n}=ur;n&&Vs.setTimeout(()=>n(e,t))}const $I={closed:!0,next:Ml,error:function UI(e){throw e},complete:Ml},Rl="function"==typeof Symbol&&Symbol.observable||"@@observable";function cr(e){return e}function Fp(e){return 0===e.length?cr:1===e.length?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}let $e=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){const r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){const i=function GI(e){return e&&e instanceof Tl||function HI(e){return e&&me(e.next)&&me(e.error)&&me(e.complete)}(e)&&xp(e)}(n)?n:new Nl(n,r,o);return js(()=>{const{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return new(r=Pp(r))((o,i)=>{const s=new Nl({next:a=>{try{n(a)}catch(u){i(u),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return null===(r=this.source)||void 0===r?void 0:r.subscribe(n)}[Rl](){return this}pipe(...n){return Fp(n)(this)}toPromise(n){return new(n=Pp(n))((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function Pp(e){var t;return null!==(t=e??ur.Promise)&&void 0!==t?t:Promise}const zI=El(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let Yt=(()=>{class e extends $e{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){const r=new kp(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new zI}next(n){js(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const r of this.currentObservers)r.next(n)}})}error(n){js(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;const{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){js(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return(null===(n=this.observers)||void 0===n?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){const{hasError:r,isStopped:o,observers:i}=this;return r||o?Np:(this.currentObservers=null,i.push(n),new dt(()=>{this.currentObservers=null,Il(i,n)}))}_checkFinalizedStatuses(n){const{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){const n=new $e;return n.source=this,n}}return e.create=(t,n)=>new kp(t,n),e})();class kp extends Yt{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;null===(r=null===(n=this.destination)||void 0===n?void 0:n.next)||void 0===r||r.call(n,t)}error(t){var n,r;null===(r=null===(n=this.destination)||void 0===n?void 0:n.error)||void 0===r||r.call(n,t)}complete(){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===n||n.call(t)}_subscribe(t){var n,r;return null!==(r=null===(n=this.source)||void 0===n?void 0:n.subscribe(t))&&void 0!==r?r:Np}}class Tt extends Yt{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){const{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}}function Lp(e){return me(e?.lift)}function ze(e){return t=>{if(Lp(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function Fe(e,t,n,r,o){return new qI(e,t,n,r,o)}class qI extends Tl{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(u){t.error(u)}}:super._next,this._error=o?function(a){try{o(a)}catch(u){t.error(u)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:n}=this;super.unsubscribe(),!n&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}}}function ne(e,t){return ze((n,r)=>{let o=0;n.subscribe(Fe(r,i=>{r.next(e.call(t,i,o++))}))})}class _ extends Error{constructor(t,n){super(function $r(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,n)),this.code=t}}function re(e){for(let t in e)if(e[t]===re)return t;throw Error("Could not find renamed property on target object.")}function ZI(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}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 t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function Ol(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const QI=re({__forward_ref__:re});function ue(e){return e.__forward_ref__=ue,e.toString=function(){return Pe(this())},e}function x(e){return $s(e)?e():e}function $s(e){return"function"==typeof e&&e.hasOwnProperty(QI)&&e.__forward_ref__===ue}function Fl(e){return e&&!!e.\u0275providers}const si=re({\u0275cmp:re}),Pl=re({\u0275dir:re}),kl=re({\u0275pipe:re}),$p=re({\u0275mod:re}),Dn=re({\u0275fac:re}),ai=re({__NG_ELEMENT_ID__:re}),Bp=re({__NG_ENV_ID__:re});function V(e){return"string"==typeof e?e:null==e?"":String(e)}function Ll(e,t){throw new _(-201,!1)}function ft(e,t){null==e&&function R(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function T(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Lt(e){return{providers:e.providers||[],imports:e.imports||[]}}function Bs(e){return Hp(e,Gs)||Hp(e,Gp)}function Hp(e,t){return e.hasOwnProperty(t)?e[t]:null}function Hs(e){return e&&(e.hasOwnProperty(Vl)||e.hasOwnProperty(oM))?e[Vl]:null}const Gs=re({\u0275prov:re}),Vl=re({\u0275inj:re}),Gp=re({ngInjectableDef:re}),oM=re({ngInjectorDef:re});var q=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(q||{});let jl;function zp(){return jl}function ht(e){const t=jl;return jl=e,t}function qp(e,t,n){const r=Bs(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&q.Optional?null:void 0!==t?t:void Ll()}const le=globalThis;class S{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=T({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const ui={},Gl="__NG_DI_FLAG__",zs="ngTempTokenPath",aM=/\n/gm,Zp="__source";let Br;function Un(e){const t=Br;return Br=e,t}function cM(e,t=q.Default){if(void 0===Br)throw new _(-203,!1);return null===Br?qp(e,void 0,t):Br.get(e,t&q.Optional?null:void 0,t)}function O(e,t=q.Default){return(zp()||cM)(x(e),t)}function E(e,t=q.Default){return O(e,qs(t))}function qs(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function zl(e){const t=[];for(let n=0;nt){s=i-1;break}}}for(;ii?"":o[d+1].toLowerCase();const h=8&r?f:null;if(h&&-1!==Yp(h,l,0)||2&r&&l!==f){if(jt(r))return!1;s=!0}}}}else{if(!s&&!jt(r)&&!jt(u))return!1;if(s&&jt(u))continue;s=!1,r=u|1&r}}return jt(r)||s}function jt(e){return 0==(1&e)}function vM(e,t,n,r){if(null===t)return-1;let o=0;if(r||!n){let i=!1;for(;o-1)for(n++;n0?'="'+a+'"':"")+"]"}else 8&r?o+="."+s:4&r&&(o+=" "+s);else""!==o&&!jt(s)&&(t+=rg(i,o),o=""),r=s,i=i||!jt(r);n++}return""!==o&&(t+=rg(i,o)),t}function Zs(e){return Cn(()=>{const t=ig(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Ws.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Vt.Emulated,styles:e.styles||Q,_:null,schemas:e.schemas||null,tView:null,id:""};sg(n);const r=e.dependencies;return n.directiveDefs=Qs(r,!1),n.pipeDefs=Qs(r,!0),n.id=function TM(e){let t=0;const n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const o of n)t=Math.imul(31,t)+o.charCodeAt(0)<<0;return t+=2147483648,"c"+t}(n),n})}function IM(e){return z(e)||ke(e)}function MM(e){return null!==e}function Jt(e){return Cn(()=>({type:e.type,bootstrap:e.bootstrap||Q,declarations:e.declarations||Q,imports:e.imports||Q,exports:e.exports||Q,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function og(e,t){if(null==e)return Kt;const n={};for(const r in e)if(e.hasOwnProperty(r)){const o=e[r];let i,s,a=ve.None;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i):(i=o,s=o),t?(n[i]=a!==ve.None?[r,a]:r,t[i]=s):n[i]=r}return n}function P(e){return Cn(()=>{const t=ig(e);return sg(t),t})}function pt(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 z(e){return e[si]||null}function ke(e){return e[Pl]||null}function qe(e){return e[kl]||null}function We(e,t){const n=e[$p]||null;if(!n&&!0===t)throw new Error(`Type ${Pe(e)} does not have '\u0275mod' property.`);return n}function ig(e){const t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||Kt,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||Q,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:og(e.inputs,t),outputs:og(e.outputs),debugInfo:null}}function sg(e){e.features?.forEach(t=>t(e))}function Qs(e,t){if(!e)return null;const n=t?qe:IM;return()=>("function"==typeof e?e():e).map(r=>n(r)).filter(MM)}const we=0,w=1,N=2,Me=3,Ut=4,Ze=5,$t=6,Hr=7,ce=8,nt=9,wn=10,U=11,di=12,ag=13,Gr=14,De=15,fi=16,zr=17,Xt=18,hi=19,ug=20,Bn=21,Ys=22,dr=23,j=25,Wl=1,en=7,qr=9,Se=10;var Zl=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(Zl||{});function Qe(e){return Array.isArray(e)&&"object"==typeof e[Wl]}function Ye(e){return Array.isArray(e)&&!0===e[Wl]}function Ql(e){return 0!=(4&e.flags)}function fr(e){return e.componentOffset>-1}function Js(e){return 1==(1&e.flags)}function Bt(e){return!!e.template}function Yl(e){return 0!=(512&e[N])}function hr(e,t){return e.hasOwnProperty(Dn)?e[Dn]:null}class RM{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function fg(e,t,n,r){null!==t?t.applyValueToInputSignal(t,r):e[n]=r}function At(){return hg}function hg(e){return e.type.prototype.ngOnChanges&&(e.setInput=FM),OM}function OM(){const e=gg(this),t=e?.current;if(t){const n=e.previous;if(n===Kt)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function FM(e,t,n,r,o){const i=this.declaredInputs[r],s=gg(e)||function PM(e,t){return e[pg]=t}(e,{previous:Kt,current:null}),a=s.current||(s.current={}),u=s.previous,l=u[i];a[i]=new RM(l&&l.currentValue,n,u===Kt),fg(e,t,o,n)}At.ngInherit=!0;const pg="__ngSimpleChanges__";function gg(e){return e[pg]||null}const tn=function(e,t,n){};let yg=!1;function de(e){for(;Array.isArray(e);)e=e[we];return e}function gi(e,t){return de(t[e])}function rt(e,t){return de(t[e.index])}function mi(e,t){return e.data[t]}function Wr(e,t){return e[t]}function Ct(e,t){const n=t[e];return Qe(n)?n:n[we]}function tc(e){return 128==(128&e[N])}function nn(e,t){return null==t?null:e[t]}function _g(e){e[zr]=0}function $M(e){1024&e[N]||(e[N]|=1024,tc(e)&&vi(e))}function Cg(e){return 9216&e[N]||e[dr]?.dirty}function nc(e){Cg(e)?vi(e):64&e[N]&&(function LM(){return yg}()?(e[N]|=1024,vi(e)):e[wn].changeDetectionScheduler?.notify())}function vi(e){e[wn].changeDetectionScheduler?.notify();let t=pr(e);for(;null!==t&&!(8192&t[N])&&(t[N]|=8192,tc(t));)t=pr(t)}function Xs(e,t){if(256==(256&e[N]))throw new _(911,!1);null===e[Bn]&&(e[Bn]=[]),e[Bn].push(t)}function pr(e){const t=e[Me];return Ye(t)?t[Me]:t}const F={lFrame:xg(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Eg(){return F.bindingsEnabled}function m(){return F.lFrame.lView}function W(){return F.lFrame.tView}function ot(e){return F.lFrame.contextLView=e,e[ce]}function it(e){return F.lFrame.contextLView=null,e}function ie(){let e=bg();for(;null!==e&&64===e.type;)e=e.parent;return e}function bg(){return F.lFrame.currentTNode}function rn(e,t){const n=F.lFrame;n.currentTNode=e,n.isParent=t}function oc(){return F.lFrame.isParent}function st(){const e=F.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function on(){return F.lFrame.bindingIndex++}function bn(e){const t=F.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function JM(e,t){const n=F.lFrame;n.bindingIndex=n.bindingRootIndex=e,sc(t)}function sc(e){F.lFrame.currentDirectiveIndex=e}function uc(e){F.lFrame.currentQueryIndex=e}function eS(e){const t=e[w];return 2===t.type?t.declTNode:1===t.type?e[Ze]:null}function Ag(e,t,n){if(n&q.SkipSelf){let o=t,i=e;for(;!(o=o.parent,null!==o||n&q.Host||(o=eS(i),null===o||(i=i[Gr],10&o.type))););if(null===o)return!1;t=o,e=i}const r=F.lFrame=Ng();return r.currentTNode=t,r.lView=e,!0}function lc(e){const t=Ng(),n=e[w];F.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Ng(){const e=F.lFrame,t=null===e?null:e.child;return null===t?xg(e):t}function xg(e){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function Rg(){const e=F.lFrame;return F.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Og=Rg;function cc(){const e=Rg();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 Ke(){return F.lFrame.selectedIndex}function gr(e){F.lFrame.selectedIndex=e}let Pg=!0;function ea(){return Pg}function Hn(e){Pg=e}function ta(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[u]<0&&(e[zr]+=65536),(a>14>16&&(3&e[N])===t&&(e[N]+=16384,Lg(a,i)):Lg(a,i)}const Qr=-1;class _i{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function hc(e){return e!==Qr}function Di(e){return 32767&e}function Ci(e,t){let n=function fS(e){return e>>16}(e),r=t;for(;n>0;)r=r[Gr],n--;return r}let pc=!0;function oa(e){const t=pc;return pc=e,t}const Vg=255,jg=5;let hS=0;const sn={};function ia(e,t){const n=Ug(e,t);if(-1!==n)return n;const r=t[w];r.firstCreatePass&&(e.injectorIndex=t.length,gc(r.data,e),gc(t,null),gc(r.blueprint,null));const o=sa(e,t),i=e.injectorIndex;if(hc(o)){const s=Di(o),a=Ci(o,t),u=a[w].data;for(let l=0;l<8;l++)t[i+l]=a[s+l]|u[s+l]}return t[i+8]=o,i}function gc(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Ug(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function sa(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;null!==o;){if(r=Wg(o),null===r)return Qr;if(n++,o=o[Gr],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return Qr}function mc(e,t,n){!function pS(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(ai)&&(r=n[ai]),null==r&&(r=n[ai]=hS++);const o=r&Vg;t.data[e+(o>>jg)]|=1<=0?t&Vg:yS:t}(n);if("function"==typeof i){if(!Ag(t,e,r))return r&q.Host?$g(o,0,r):Bg(t,n,r,o);try{let s;if(s=i(r),null!=s||r&q.Optional)return s;Ll()}finally{Og()}}else if("number"==typeof i){let s=null,a=Ug(e,t),u=Qr,l=r&q.Host?t[De][Ze]:null;for((-1===a||r&q.SkipSelf)&&(u=-1===a?sa(e,t):t[a+8],u!==Qr&&qg(r,!1)?(s=t[w],a=Di(u),t=Ci(u,t)):a=-1);-1!==a;){const c=t[w];if(zg(i,a,c.data)){const d=mS(a,t,n,s,r,l);if(d!==sn)return d}u=t[a+8],u!==Qr&&qg(r,t[w].data[a+8]===l)&&zg(i,a,t)?(s=c,a=Di(u),t=Ci(u,t)):a=-1}}return o}function mS(e,t,n,r,o,i){const s=t[w],a=s.data[e+8],c=function aa(e,t,n,r,o){const i=e.providerIndexes,s=t.data,a=1048575&i,u=e.directiveStart,c=i>>20,f=o?a+c:e.directiveEnd;for(let h=r?a:a+c;h=u&&p.type===n)return h}if(o){const h=s[u];if(h&&Bt(h)&&h.type===n)return u}return null}(a,s,n,null==r?fr(a)&&pc:r!=s&&0!=(3&a.type),o&q.Host&&i===a);return null!==c?mr(t,s,c,a):sn}function mr(e,t,n,r){let o=e[n];const i=t.data;if(function uS(e){return e instanceof _i}(o)){const s=o;s.resolving&&function KI(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new _(-200,`Circular dependency in DI detected for ${e}${n}`)}(function J(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():V(e)}(i[n]));const a=oa(s.canSeeViewProviders);s.resolving=!0;const l=s.injectImpl?ht(s.injectImpl):null;Ag(e,r,q.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&function sS(e,t,n){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){const s=hg(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}o&&(n.preOrderHooks??=[]).push(0-e,o),i&&((n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i))}(n,i[n],t)}finally{null!==l&&ht(l),oa(a),s.resolving=!1,Og()}}return o}function zg(e,t,n){return!!(n[t+(e>>jg)]&1<{const t=e.prototype.constructor,n=t[Dn]||vc(t),r=Object.prototype;let o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){const i=o[Dn]||vc(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function vc(e){return $s(e)?()=>{const t=vc(x(e));return t&&t()}:hr(e)}function Wg(e){const t=e[w],n=t.type;return 2===n?t.declTNode:1===n?e[Ze]:null}const Xr="__parameters__";function to(e,t,n){return Cn(()=>{const r=function yc(e){return function(...n){if(e){const r=e(...n);for(const o in r)this[o]=r[o]}}}(t);function o(...i){if(this instanceof o)return r.apply(this,i),this;const s=new o(...i);return a.annotation=s,a;function a(u,l,c){const d=u.hasOwnProperty(Xr)?u[Xr]:Object.defineProperty(u,Xr,{value:[]})[Xr];for(;d.length<=c;)d.push(null);return(d[c]=d[c]||[]).push(s),u}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}function ro(e,t){e.forEach(n=>Array.isArray(n)?ro(n,t):t(n))}function Qg(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function la(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function wt(e,t,n){let r=oo(e,t);return r>=0?e[1|r]=n:(r=~r,function Yg(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(1===o)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;)e[o]=e[o-2],o--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function Dc(e,t){const n=oo(e,t);if(n>=0)return e[1|n]}function oo(e,t){return function Kg(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){const i=r+(o-r>>1),s=e[i<t?o=i:r=i+1}return~(o<{n.push(s)};return ro(t,s=>{const a=s;ma(a,i,[],r)&&(o||=[],o.push(a))}),void 0!==o&&rm(o,i),n}function rm(e,t){for(let n=0;n{t(i,r)})}}function ma(e,t,n,r){if(!(e=x(e)))return!1;let o=null,i=Hs(e);const s=!i&&z(e);if(i||s){if(s&&!s.standalone)return!1;o=e}else{const u=e.ngModule;if(i=Hs(u),!i)return!1;o=u}const a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){const u="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const l of u)ma(l,t,n,r)}}else{if(!i)return!1;{if(null!=i.imports&&!a){let l;r.add(o);try{ro(i.imports,c=>{ma(c,t,n,r)&&(l||=[],l.push(c))})}finally{}void 0!==l&&rm(l,t)}if(!a){const l=hr(o)||(()=>new o);t({provide:o,useFactory:l,deps:Q},o),t({provide:Ec,useValue:o,multi:!0},o),t({provide:vr,useValue:()=>O(o),multi:!0},o)}const u=i.providers;if(null!=u&&!a){const l=e;Ic(u,c=>{t(c,l)})}}}return o!==e&&void 0!==e.providers}function Ic(e,t){for(let n of e)Fl(n)&&(n=n.\u0275providers),Array.isArray(n)?Ic(n,t):t(n)}const BS=re({provide:String,useValue:re});function Mc(e){return null!==e&&"object"==typeof e&&BS in e}function yr(e){return"function"==typeof e}const Sc=new S("Set Injector scope."),va={},GS={};let Tc;function ya(){return void 0===Tc&&(Tc=new ga),Tc}class Nt{}class so extends Nt{get destroyed(){return this._destroyed}constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Nc(t,s=>this.processProvider(s)),this.records.set(tm,ao(void 0,this)),o.has("environment")&&this.records.set(Nt,ao(void 0,this));const i=this.records.get(Sc);null!=i&&"string"==typeof i.value&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Ec,Q,q.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const n of this._ngOnDestroyHooks)n.ngOnDestroy();const t=this._onDestroyHooks;this._onDestroyHooks=[];for(const n of t)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const n=Un(this),r=ht(void 0);try{return t()}finally{Un(n),ht(r)}}get(t,n=ui,r=q.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(Bp))return t[Bp](this);r=qs(r);const i=Un(this),s=ht(void 0);try{if(!(r&q.SkipSelf)){let u=this.records.get(t);if(void 0===u){const l=function QS(e){return"function"==typeof e||"object"==typeof e&&e instanceof S}(t)&&Bs(t);u=l&&this.injectableDefInScope(l)?ao(Ac(t),va):null,this.records.set(t,u)}if(null!=u)return this.hydrate(t,u)}return(r&q.Self?ya():this.parent).get(t,n=r&q.Optional&&n===ui?null:n)}catch(a){if("NullInjectorError"===a.name){if((a[zs]=a[zs]||[]).unshift(Pe(t)),i)throw a;return function fM(e,t,n,r){const o=e[zs];throw t[Zp]&&o.unshift(t[Zp]),e.message=function hM(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let o=Pe(t);if(Array.isArray(t))o=t.map(Pe).join(" -> ");else if("object"==typeof t){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];i.push(s+":"+("string"==typeof a?JSON.stringify(a):Pe(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(aM,"\n ")}`}("\n"+e.message,o,n,r),e.ngTokenPath=o,e[zs]=null,e}(a,t,"R3InjectorError",this.source)}throw a}finally{ht(s),Un(i)}}resolveInjectorInitializers(){const t=Un(this),n=ht(void 0);try{const o=this.get(vr,Q,q.Self);for(const i of o)i()}finally{Un(t),ht(n)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(Pe(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new _(205,!1)}processProvider(t){let n=yr(t=x(t))?t:x(t&&t.provide);const r=function qS(e){return Mc(e)?ao(void 0,e.useValue):ao(sm(e),va)}(t);if(!yr(t)&&!0===t.multi){let o=this.records.get(n);o||(o=ao(void 0,va,!0),o.factory=()=>zl(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===va&&(n.value=GS,n.value=n.factory()),"object"==typeof n.value&&n.value&&function ZS(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=x(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){const n=this._onDestroyHooks.indexOf(t);-1!==n&&this._onDestroyHooks.splice(n,1)}}function Ac(e){const t=Bs(e),n=null!==t?t.factory:hr(e);if(null!==n)return n;if(e instanceof S)throw new _(204,!1);if(e instanceof Function)return function zS(e){if(e.length>0)throw new _(204,!1);const n=function rM(e){return e&&(e[Gs]||e[Gp])||null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new _(204,!1)}function sm(e,t,n){let r;if(yr(e)){const o=x(e);return hr(o)||Ac(o)}if(Mc(e))r=()=>x(e.useValue);else if(function im(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...zl(e.deps||[]));else if(function om(e){return!(!e||!e.useExisting)}(e))r=()=>O(x(e.useExisting));else{const o=x(e&&(e.useClass||e.provide));if(!function WS(e){return!!e.deps}(e))return hr(o)||Ac(o);r=()=>new o(...zl(e.deps))}return r}function ao(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Nc(e,t){for(const n of e)Array.isArray(n)?Nc(n,t):n&&Fl(n)?Nc(n.\u0275providers,t):t(n)}function _r(e,t){e instanceof so&&e.assertNotDestroyed();const r=Un(e),o=ht(void 0);try{return t()}finally{Un(r),ht(o)}}function cm(e,t=null,n=null,r){const o=dm(e,t,n,r);return o.resolveInjectorInitializers(),o}function dm(e,t=null,n=null,r,o=new Set){const i=[n||Q,$S(e)];return r=r||("object"==typeof e?void 0:Pe(e)),new so(i,t||ya(),r||null,o)}let Oc,mt=(()=>{class e{static#e=this.THROW_IF_NOT_FOUND=ui;static#t=this.NULL=new ga;static create(n,r){if(Array.isArray(n))return cm({name:""},r,n,"");{const o=n.name??"";return cm({name:o},n.parent,n.providers,o)}}static#n=this.\u0275prov=T({token:e,providedIn:"any",factory:()=>O(tm)});static#r=this.__NG_ELEMENT_ID__=-1}return e})();const Da=new S("AppId",{providedIn:"root",factory:()=>o0}),o0="ng",hm=new S("Platform Initializer"),Dr=new S("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),pm=new S("CSP nonce",{providedIn:"root",factory:()=>function zn(){if(void 0!==Oc)return Oc;if(typeof document<"u")return document;throw new _(210,!1)}().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});function Et(e){return e instanceof Function?e():e}function ba(e){return 128==(128&e.flags)}var Zn=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Zn||{});const Vc=new Map;let y0=0;const Uc="__ngContext__";function Je(e,t){Qe(t)?(e[Uc]=t[hi],function D0(e){Vc.set(e[hi],e)}(t)):e[Uc]=t}let $c;function Bc(e,t){return $c(e,t)}function lo(e,t,n,r,o){if(null!=r){let i,s=!1;Ye(r)?i=r:Qe(r)&&(s=!0,r=r[we]);const a=de(r);0===e&&null!==n?null==o?km(t,n,a):Cr(t,n,a,o||null,!0):1===e&&null!==n?Cr(t,n,a,o||null,!0):2===e?function xa(e,t,n){const r=Aa(e,t);r&&function k0(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}(t,a,s):3===e&&t.destroyNode(a),null!=i&&function j0(e,t,n,r,o){const i=n[en];i!==de(n)&&lo(t,e,r,i,o);for(let a=Se;a0&&(e[n-1][Ut]=r[Ut]);const i=la(e,Se+t);!function A0(e,t){Om(e,t),t[we]=null,t[Ze]=null}(r[w],r);const s=i[Xt];null!==s&&s.detachView(i[w]),r[Me]=null,r[Ut]=null,r[N]&=-129}return r}function Ta(e,t){if(!(256&t[N])){const n=t[U];n.destroyNode&&Ra(e,t,n,3,null,null),function x0(e){let t=e[di];if(!t)return Gc(e[w],e);for(;t;){let n=null;if(Qe(t))n=t[di];else{const r=t[Se];r&&(n=r)}if(!n){for(;t&&!t[Ut]&&t!==e;)Qe(t)&&Gc(t[w],t),t=t[Me];null===t&&(t=e),Qe(t)&&Gc(t[w],t),n=t&&t[Ut]}t=n}}(t)}}function Gc(e,t){if(!(256&t[N])){t[N]&=-129,t[N]|=256,t[dr]&&function bp(e){if(Ur(e),ii(e))for(let t=0;t=0?r[s]():r[-s].unsubscribe(),i+=2}else n[i].call(r[n[i+1]]);null!==r&&(t[Hr]=null);const o=t[Bn];if(null!==o){t[Bn]=null;for(let i=0;i-1){const{encapsulation:i}=e.data[r.directiveStart+o];if(i===Vt.None||i===Vt.Emulated)return null}return rt(r,n)}}(e,t.parent,n)}function Cr(e,t,n,r,o){e.insertBefore(t,n,r,o)}function km(e,t,n){e.appendChild(t,n)}function Lm(e,t,n,r,o){null!==r?Cr(e,t,n,r,o):km(e,t,n)}function Aa(e,t){return e.parentNode(t)}let qc,Um=function jm(e,t,n){return 40&e.type?rt(e,n):null};function Na(e,t,n,r){const o=zc(e,r,t),i=t[U],a=function Vm(e,t,n){return Um(e,t,n)}(r.parent||t[Ze],r,t);if(null!=o)if(Array.isArray(n))for(let u=0;unull;function ud(e,t,n=!1){return av(e,t,n)}class CT{}class cv{}class ET{resolveComponentFactory(t){throw function wT(e){const t=Error(`No component factory found for ${Pe(e)}.`);return t.ngComponent=e,t}(t)}}let $a=(()=>{class e{static#e=this.NULL=new ET}return e})();function bT(){return go(ie(),m())}function go(e,t){return new bt(rt(e,t))}let bt=(()=>{class e{constructor(n){this.nativeElement=n}static#e=this.__NG_ELEMENT_ID__=bT}return e})();class fv{}let Mn=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function MT(){const e=m(),n=Ct(ie().index,e);return(Qe(n)?n:e)[U]}()}return e})(),ST=(()=>{class e{static#e=this.\u0275prov=T({token:e,providedIn:"root",factory:()=>null})}return e})();const dd={};function Pi(e,t,n,r,o=!1){for(;null!==n;){const i=t[n.index];null!==i&&r.push(de(i)),Ye(i)&&Dv(i,r);const s=n.type;if(8&s)Pi(e,t,n.child,r);else if(32&s){const a=Bc(n,t);let u;for(;u=a();)r.push(u)}else if(16&s){const a=Bm(t,n);if(Array.isArray(a))r.push(...a);else{const u=pr(t[De]);Pi(u[w],u,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function Dv(e,t){for(let n=Se;n!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{},consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{vi(e.lView)},consumerOnSignalRead(){this.lView[dr]=this}};function wv(e){return bv(e[di])}function Ev(e){return bv(e[Ut])}function bv(e){for(;null!==e&&!Ye(e);)e=e[Ut];return e}function pd(e){return e.ngOriginalError}class Sn{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&pd(t);for(;n&&pd(n);)n=pd(n);return n||null}}const Mv=new S("",{providedIn:"root",factory:()=>E(Sn).handleError.bind(void 0)}),Tv=new S("",{providedIn:"root",factory:()=>!1}),$={};function B(e=1){Rv(W(),m(),Ke()+e,!1)}function Rv(e,t,n,r){if(!r)if(3==(3&t[N])){const i=e.preOrderCheckHooks;null!==i&&na(t,i,n)}else{const i=e.preOrderHooks;null!==i&&ra(t,i,0,n)}gr(n)}function C(e,t=q.Default){const n=m();return null===n?O(e,t):Hg(ie(),n,x(e),t)}function Fv(e,t,n,r,o,i){const s=Ce(null);try{let a=null;o&ve.SignalBased&&(a=t[r][jr]),null!==a&&void 0!==a.transformFn&&(i=a.transformFn(i)),o&ve.HasDecoratorInputTransform&&(i=e.inputTransforms[r].call(t,i)),null!==e.setInput?e.setInput(t,a,i,n,r):fg(t,a,r,i)}finally{Ce(s)}}function za(e,t,n,r,o,i,s,a,u,l,c){const d=t.blueprint.slice();return d[we]=o,d[N]=204|r,(null!==l||e&&2048&e[N])&&(d[N]|=2048),_g(d),d[Me]=d[Gr]=e,d[ce]=n,d[wn]=s||e&&e[wn],d[U]=a||e&&e[U],d[nt]=u||e&&e[nt]||null,d[Ze]=i,d[hi]=function _0(){return y0++}(),d[$t]=c,d[ug]=l,d[De]=2==t.type?e[De]:d,d}function mo(e,t,n,r,o){let i=e.data[t];if(null===i)i=function gd(e,t,n,r,o){const i=bg(),s=oc(),u=e.data[t]=function rA(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return function Zr(){return null!==F.skipHydrationRootTNode}()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,s?i:i&&i.parent,n,t,r,o);return null===e.firstChild&&(e.firstChild=u),null!==i&&(s?null==i.child&&null!==u.parent&&(i.child=u):null===i.next&&(i.next=u,u.prev=i)),u}(e,t,n,r,o),function KM(){return F.lFrame.inI18n}()&&(i.flags|=32);else if(64&i.type){i.type=n,i.value=r,i.attrs=o;const s=function yi(){const e=F.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();i.injectorIndex=null===s?-1:s.injectorIndex}return rn(i,!0),i}function ki(e,t,n,r){if(0===n)return-1;const o=t.length;for(let i=0;ij&&Rv(e,t,j,!1),tn(s?2:0,o),n(r,o)}finally{gr(i),tn(s?3:1,o)}}function md(e,t,n){if(Ql(t)){const r=Ce(null);try{const i=t.directiveEnd;for(let s=t.directiveStart;snull;function Vv(e,t,n,r,o){for(let i in t){if(!t.hasOwnProperty(i))continue;const s=t[i];if(void 0===s)continue;r??={};let a,u=ve.None;Array.isArray(s)?(a=s[0],u=s[1]):a=s;let l=i;if(null!==o){if(!o.hasOwnProperty(i))continue;l=o[i]}0===e?jv(r,n,l,a,u):jv(r,n,l,a)}return r}function jv(e,t,n,r,o){let i;e.hasOwnProperty(n)?(i=e[n]).push(t,r):i=e[n]=[t,r],void 0!==o&&i.push(o)}function Dd(e,t,n,r){if(Eg()){const o=null===r?null:{"":-1},i=function fA(e,t){const n=e.directiveRegistry;let r=null,o=null;if(n)for(let i=0;i0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(s)!=a&&s.push(a),s.push(n,r,i)}}(e,t,r,ki(e,n,o.hostVars,$),o)}function yA(e,t,n,r,o,i){const s=i[t];if(null!==s)for(let a=0;ae.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}(a,s),function $T(e){e.lView[dr]!==e&&(e.lView=null,Cv.push(e))}(a)),cc()}}function Wv(e,t){for(let n=wv(e);null!==n;n=Ev(n))for(let r=Se;r-1&&(Ti(t,r),la(n,r))}this._attachedToViewContainer=!1}Ta(this._lView[w],this._lView)}onDestroy(t){Xs(this._lView,t)}markForCheck(){Li(this._cdRefInjectingView||this._lView)}detach(){this._lView[N]&=-129}reattach(){nc(this._lView),this._lView[N]|=128}detectChanges(){this._lView[N]|=1024,function Id(e,t=!0){const n=e[wn],r=n.rendererFactory;r.begin?.();try{!function CA(e){Md(e,0);let t=0;for(;Cg(e);){if(100===t)throw new _(103,!1);t++,Md(e,1)}}(e)}catch(i){throw t&&Wa(e,i),i}finally{r.end?.(),n.inlineEffectRunner?.flush()}}(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new _(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,Om(this._lView[w],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new _(902,!1);this._appRef=t,nc(this._lView)}}let ji=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=MA}return e})();function MA(e){return function SA(e,t,n){if(fr(e)&&!n){const r=Ct(e.index,t);return new Vi(r,r)}return 47&e.type?new Vi(t[De],t):null}(ie(),m(),16==(16&e))}let Za=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=xA;static#t=this.__NG_ENV_ID__=n=>n}return e})();class NA extends Za{constructor(t){super(),this._lView=t}onDestroy(t){return Xs(this._lView,t),()=>function rc(e,t){if(null===e[Bn])return;const n=e[Bn].indexOf(t);-1!==n&&e[Bn].splice(n,1)}(this._lView,t)}}function xA(){return new NA(m())}const Yv=new Set;function wr(e){Yv.has(e)||(Yv.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function Sd(e){return t=>{setTimeout(e,void 0,t)}}const Ee=class LA extends Yt{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&"object"==typeof t){const u=t;o=u.next?.bind(u),i=u.error?.bind(u),s=u.complete?.bind(u)}this.__isAsync&&(i=Sd(i),o&&(o=Sd(o)),s&&(s=Sd(s)));const a=super.subscribe({next:o,error:i,complete:s});return t instanceof dt&&t.add(a),a}};function Kv(...e){}class te{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Ee(!1),this.onMicrotaskEmpty=new Ee(!1),this.onStable=new Ee(!1),this.onError=new Ee(!1),typeof Zone>"u")throw new _(908,!1);Zone.assertZonePatched();const o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function VA(){const e="function"==typeof le.requestAnimationFrame;let t=le[e?"requestAnimationFrame":"setTimeout"],n=le[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&n){const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r);const o=n[Zone.__symbol__("OriginalDelegate")];o&&(n=o)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}().nativeRequestAnimationFrame,function $A(e){const t=()=>{!function UA(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(le,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Ad(e),e.isCheckStableRunning=!0,Td(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Ad(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,a)=>{if(function BA(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}(a))return n.invokeTask(o,i,s,a);try{return Jv(e),n.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||e.shouldCoalesceRunChangeDetection)&&t(),Xv(e)}},onInvoke:(n,r,o,i,s,a,u)=>{try{return Jv(e),n.invoke(o,i,s,a,u)}finally{e.shouldCoalesceRunChangeDetection&&t(),Xv(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,Ad(e),Td(e)):"macroTask"==i.change&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(n,r,o,i)=>(n.handleError(o,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}(o)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!te.isInAngularZone())throw new _(909,!1)}static assertNotInAngularZone(){if(te.isInAngularZone())throw new _(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){const i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,jA,Kv,Kv);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const jA={};function Td(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 Ad(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Jv(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Xv(e){e._nesting--,Td(e)}class ey{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Ee,this.onMicrotaskEmpty=new Ee,this.onStable=new Ee,this.onError=new Ee}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}}var Er=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(Er||{});const ty={destroy(){}};function ry(e,t){!t&&function xc(e){if(!zp()&&!function lM(){return Br}())throw new _(-203,!1)}();const n=t?.injector??E(mt);if(!function qn(e){return"browser"===(e??E(mt)).get(Dr)}(n))return ty;wr("NgAfterNextRender");const r=n.get(Ui),o=r.handler??=new iy,i=t?.phase??Er.MixedReadWrite,s=()=>{o.unregister(u),a()},a=n.get(Za).onDestroy(s),u=new oy(n,i,()=>{s(),e()});return o.register(u),{destroy:s}}class oy{constructor(t,n,r){this.phase=n,this.callbackFn=r,this.zone=t.get(te),this.errorHandler=t.get(Sn,null,{optional:!0})}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(t){this.errorHandler?.handleError(t)}}}class iy{constructor(){this.executingCallbacks=!1,this.buckets={[Er.EarlyRead]:new Set,[Er.Write]:new Set,[Er.MixedReadWrite]:new Set,[Er.Read]:new Set},this.deferredCallbacks=new Set}register(t){(this.executingCallbacks?this.deferredCallbacks:this.buckets[t.phase]).add(t)}unregister(t){this.buckets[t.phase].delete(t),this.deferredCallbacks.delete(t)}execute(){let t=!1;this.executingCallbacks=!0;for(const n of Object.values(this.buckets))for(const r of n)t=!0,r.invoke();this.executingCallbacks=!1;for(const n of this.deferredCallbacks)this.buckets[n.phase].add(n);return this.deferredCallbacks.clear(),t}destroy(){for(const t of Object.values(this.buckets))t.clear();this.deferredCallbacks.clear()}}let Ui=(()=>{class e{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){const n=[...this.internalCallbacks];this.internalCallbacks.length=0;for(const o of n)o();return!!this.handler?.execute()||n.length>0}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}static#e=this.\u0275prov=T({token:e,providedIn:"root",factory:()=>new e})}return e})();function zA(e,t){const n=Ct(t,e),r=n[w];!function qA(e,t){for(let n=t.length;n0&&zm(e,n,i.join(" "))}}(f,H,p,r),void 0!==n&&function nN(e,t,n){const r=e.projection=[];for(let o=0;o=0;r--){const o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=ci(o.hostAttrs,n=ci(n,o.hostAttrs))}}(r)}function oN(e,t){for(const n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;const r=t.inputs[n];if(void 0!==r&&(e.inputs[n]=r,e.declaredInputs[n]=t.declaredInputs[n],null!==t.inputTransforms)){const o=Array.isArray(r)?r[0]:r;if(!t.inputTransforms.hasOwnProperty(o))continue;e.inputTransforms??={},e.inputTransforms[o]=t.inputTransforms[o]}}}function Ya(e){return e===Kt?{}:e===Q?[]:e}function sN(e,t){const n=e.viewQuery;e.viewQuery=n?(r,o)=>{t(r,o),n(r,o)}:t}function aN(e,t){const n=e.contentQueries;e.contentQueries=n?(r,o,i)=>{t(r,o,i),n(r,o,i)}:t}function uN(e,t){const n=e.hostBindings;e.hostBindings=n?(r,o)=>{t(r,o),n(r,o)}:t}function yo(e,t){return!t||null===t.firstChild||ba(e)}function Wi(e,t,n,r=!0){const o=t[w];if(function R0(e,t,n,r){const o=Se+r,i=n.length;r>0&&(n[o-1][Ut]=t),r{class e{static#e=this.__NG_ELEMENT_ID__=PN}return e})();function PN(){return function wy(e,t){let n;const r=t[e.index];return Ye(r)?n=r:(n=Bv(r,t,null,e),t[e.index]=n,qa(t,n)),Ey(n,t,e,r),new Dy(n,e,t)}(ie(),m())}const kN=Ht,Dy=class extends kN{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return go(this._hostTNode,this._hostLView)}get injector(){return new Le(this._hostTNode,this._hostLView)}get parentInjector(){const t=sa(this._hostTNode,this._hostLView);if(hc(t)){const n=Ci(t,this._hostLView),r=Di(t);return new Le(n[w].data[r+8],n)}return new Le(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=Cy(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-Se}createEmbeddedView(t,n,r){let o,i;"number"==typeof r?o=r:null!=r&&(o=r.index,i=r.injector);const a=t.createEmbeddedViewImpl(n||{},i,null);return this.insertImpl(a,o,yo(this._hostTNode,null)),a}createComponent(t,n,r,o,i){const s=t&&!function wi(e){return"function"==typeof e}(t);let a;if(s)a=n;else{const p=n||{};a=p.index,r=p.injector,o=p.projectableNodes,i=p.environmentInjector||p.ngModuleRef}const u=s?t:new $i(z(t)),l=r||this.parentInjector;if(!i&&null==u.ngModule){const g=(s?l:this.parentInjector).get(Nt,null);g&&(i=g)}z(u.componentType??{});const h=u.create(l,o,null,i);return this.insertImpl(h.hostView,a,yo(this._hostTNode,null)),h}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){const o=t._lView;if(function UM(e){return Ye(e[Me])}(o)){const a=this.indexOf(t);if(-1!==a)this.detach(a);else{const u=o[Me],l=new Dy(u,u[Ze],u[Me]);l.detach(l.indexOf(t))}}const i=this._adjustIndex(n),s=this._lContainer;return Wi(s,o,i,r),t.attachToViewContainerRef(),Qg(Ld(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=Cy(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=Ti(this._lContainer,n);r&&(la(Ld(this._lContainer),n),Ta(r[w],r))}detach(t){const n=this._adjustIndex(t,-1),r=Ti(this._lContainer,n);return r&&null!=la(Ld(this._lContainer),n)?new Vi(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Cy(e){return e[8]}function Ld(e){return e[8]||(e[8]=[])}let Ey=function Iy(e,t,n,r){if(e[en])return;let o;o=8&n.type?de(r):function LN(e,t){const n=e[U],r=n.createComment(""),o=rt(t,e);return Cr(n,Aa(n,o),r,function L0(e,t){return e.nextSibling(t)}(n,o),!1),r}(t,n),e[en]=o},Vd=()=>!1;function un(e,t,n){return e[t]=n}function Ne(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function br(e,t,n,r){const o=Ne(e,t,n);return Ne(e,t+1,r)||o}function yt(e,t,n,r,o,i,s,a){const u=m(),l=W(),c=e+j,d=l.firstCreatePass?function $N(e,t,n,r,o,i,s,a,u){const l=t.consts,c=mo(t,e,4,s||null,nn(l,a));Dd(t,n,c,nn(l,u)),ta(t,c);const d=c.tView=_d(2,c,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,l,null);return null!==t.queries&&(t.queries.template(t,c),d.queries=t.queries.embeddedTView(c)),c}(c,l,u,t,n,r,o,i,s):l.data[c];rn(d,!1);const f=My(l,u,d,e);ea()&&Na(l,u,f,d),Je(f,u);const h=Bv(f,u,f,d);return u[c]=h,qa(u,h),function by(e,t,n){return Vd(e,t,n)}(h,d,u),Js(d)&&vd(l,u,d),null!=s&&yd(u,d,a),yt}let My=function Sy(e,t,n,r){return Hn(!0),t[U].createComment("")};function So(e,t,n,r,o,i){const a=br(e,function En(){return F.lFrame.bindingIndex}(),n,o);return bn(2),a?t+V(n)+r+V(o)+i:$}function au(e,t){return e<<17|t<<2}function Kn(e){return e>>17&32767}function Wd(e){return 2|e}function Mr(e){return(131068&e)>>2}function Zd(e,t){return-131069&e|t<<2}function Qd(e){return 1|e}function i_(e,t,n,r){const o=e[n+1],i=null===t;let s=r?Kn(o):Mr(o),a=!1;for(;0!==s&&(!1===a||i);){const l=e[s+1];Ix(e[s],t)&&(a=!0,e[s+1]=r?Qd(l):Wd(l)),s=r?Kn(l):Mr(l)}a&&(e[n+1]=r?Wd(o):Qd(o))}function Ix(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&oo(e,t)>=0}function Y(e,t,n){const r=m();return Ne(r,on(),t)&&function It(e,t,n,r,o,i,s,a){const u=rt(t,n);let c,l=t.inputs;!a&&null!=l&&(c=l[r])?(bd(e,n,c,r,o),fr(t)&&function sA(e,t){const n=Ct(t,e);16&n[N]||(n[N]|=64)}(n,t.index)):3&t.type&&(r=function iA(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),o=null!=s?s(o,t.value||"",r):o,i.setProperty(u,r,o))}(W(),function ye(){const e=F.lFrame;return mi(e.tView,e.selectedIndex)}(),r,e,t,r[U],n,!1),Y}function Yd(e,t,n,r,o){const s=o?"class":"style";bd(e,n,t.inputs[s],s,r)}function uu(e,t){return function Gt(e,t,n,r){const o=m(),i=W(),s=bn(2);i.firstUpdatePass&&function p_(e,t,n,r){const o=e.data;if(null===o[n+1]){const i=o[Ke()],s=function h_(e,t){return t>=e.expandoStartIndex}(e,n);(function y_(e,t){return 0!=(e.flags&(t?8:16))})(i,r)&&null===t&&!s&&(t=!1),t=function Fx(e,t,n,r){const o=function ac(e){const t=F.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let i=r?t.residualClasses:t.residualStyles;if(null===o)0===(r?t.classBindings:t.styleBindings)&&(n=Ji(n=Kd(null,e,t,n,r),t.attrs,r),i=null);else{const s=t.directiveStylingLast;if(-1===s||e[s]!==o)if(n=Kd(o,e,t,n,r),null===i){let u=function Px(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==Mr(r))return e[Kn(r)]}(e,t,r);void 0!==u&&Array.isArray(u)&&(u=Kd(null,e,t,u[1],r),u=Ji(u,t.attrs,r),function kx(e,t,n,r){e[Kn(n?t.classBindings:t.styleBindings)]=r}(e,t,r,u))}else i=function Lx(e,t,n){let r;const o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i0)&&(l=!0)):c=n,o)if(0!==u){const f=Kn(e[a+1]);e[r+1]=au(f,a),0!==f&&(e[f+1]=Zd(e[f+1],r)),e[a+1]=function Cx(e,t){return 131071&e|t<<17}(e[a+1],r)}else e[r+1]=au(a,0),0!==a&&(e[a+1]=Zd(e[a+1],r)),a=r;else e[r+1]=au(u,0),0===a?a=r:e[u+1]=Zd(e[u+1],r),u=r;l&&(e[r+1]=Wd(e[r+1])),i_(e,c,r,!0),i_(e,c,r,!1),function bx(e,t,n,r,o){const i=o?e.residualClasses:e.residualStyles;null!=i&&"string"==typeof t&&oo(i,t)>=0&&(n[r+1]=Qd(n[r+1]))}(t,c,e,r,i),s=au(a,u),i?t.classBindings=s:t.styleBindings=s}(o,i,t,n,s,r)}}(i,e,s,r),t!==$&&Ne(o,s,t)&&function m_(e,t,n,r,o,i,s,a){if(!(3&t.type))return;const u=e.data,l=u[a+1],c=function wx(e){return 1==(1&e)}(l)?v_(u,t,n,o,Mr(l),s):void 0;lu(c)||(lu(i)||function Dx(e){return 2==(2&e)}(l)&&(i=v_(u,null,n,o,a,s)),function U0(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=-1===r.indexOf("-")?void 0:Zn.DashCase;null==o?e.removeStyle(n,r,i):("string"==typeof o&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=Zn.Important),e.setStyle(n,r,o,i))}}(r,s,gi(Ke(),n),o,i))}(i,i.data[Ke()],o,o[U],e,o[s+1]=function $x(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=Pe(function Qn(e){return e instanceof Ym?e.changingThisBreaksApplicationSecurity:e}(e)))),e}(t,n),r,s)}(e,t,null,!0),uu}function Kd(e,t,n,r,o){let i=null;const s=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a0;){const u=e[o],l=Array.isArray(u),c=l?u[1]:u,d=null===c;let f=n[o+1];f===$&&(f=d?Q:void 0);let h=d?Dc(f,r):c===r?f:void 0;if(l&&!lu(h)&&(h=Dc(u,r)),lu(h)&&(a=h,s))return a;const p=e[o+1];o=s?Kn(p):Mr(p)}if(null!==t){let u=i?t.residualClasses:t.residualStyles;null!=u&&(a=Dc(u,r))}return a}function lu(e){return void 0!==e}function b(e,t,n,r){const o=m(),i=W(),s=j+e,a=o[U],u=i.firstCreatePass?function cR(e,t,n,r,o,i){const s=t.consts,u=mo(t,e,2,r,nn(s,o));return Dd(t,n,u,nn(s,i)),null!==u.attrs&&Qa(u,u.attrs,!1),null!==u.mergedAttrs&&Qa(u,u.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,u),u}(s,i,o,t,n,r):i.data[s],l=w_(i,o,u,a,t,e);o[s]=l;const c=Js(u);return rn(u,!0),qm(a,l,u),32!=(32&u.flags)&&ea()&&Na(i,o,l,u),0===function BM(){return F.lFrame.elementDepthCount}()&&Je(l,o),function HM(){F.lFrame.elementDepthCount++}(),c&&(vd(i,o,u),md(i,u,o)),null!==r&&yd(o,u),b}function I(){let e=ie();oc()?function ic(){F.lFrame.isParent=!1}():(e=e.parent,rn(e,!1));const t=e;(function zM(e){return F.skipHydrationRootTNode===e})(t)&&function QM(){F.skipHydrationRootTNode=null}(),function GM(){F.lFrame.elementDepthCount--}();const n=W();return n.firstCreatePass&&(ta(n,e),Ql(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function cS(e){return 0!=(8&e.flags)}(t)&&Yd(n,t,m(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function dS(e){return 0!=(16&e.flags)}(t)&&Yd(n,t,m(),t.stylesWithoutHost,!1),I}function Po(e,t,n,r){return b(e,t,n,r),I(),Po}let w_=(e,t,n,r,o,i)=>(Hn(!0),Sa(r,o,function Fg(){return F.lFrame.currentNamespace}()));function Ot(){return m()}const Sr=void 0;var vR=["en",[["a","p"],["AM","PM"],Sr],[["AM","PM"],Sr,Sr],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Sr,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Sr,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Sr,"{1} 'at' {0}",Sr],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function mR(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let ko={};function at(e){const t=function yR(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=T_(t);if(n)return n;const r=t.split("-")[0];if(n=T_(r),n)return n;if("en"===r)return vR;throw new _(701,!1)}function T_(e){return e in ko||(ko[e]=le.ng&&le.ng.common&&le.ng.common.locales&&le.ng.common.locales[e]),ko[e]}var fe=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}(fe||{});const Lo="en-US";let A_=Lo;function os(e){return!!e&&"function"==typeof e.then}function eD(e){return!!e&&"function"==typeof e.subscribe}function he(e,t,n,r){const o=m(),i=W(),s=ie();return function nD(e,t,n,r,o,i,s){const a=Js(r),l=e.firstCreatePass&&function zv(e){return e.cleanup||(e.cleanup=[])}(e),c=t[ce],d=function Gv(e){return e[Hr]||(e[Hr]=[])}(t);let f=!0;if(3&r.type||s){const g=rt(r,t),y=s?s(g):g,D=d.length,v=s?L=>s(de(L[r.index])):r.index;let A=null;if(!s&&a&&(A=function fO(e,t,n,r){const o=e.cleanup;if(null!=o)for(let i=0;iu?a[u]:null}"string"==typeof s&&(i+=2)}return null}(e,t,o,r.index)),null!==A)(A.__ngLastListenerFn__||A).__ngNextListenerFn__=i,A.__ngLastListenerFn__=i,f=!1;else{i=oD(r,t,c,i,!1);const L=n.listen(y,o,i);d.push(i,L),l&&l.push(o,v,D,D+1)}}else i=oD(r,t,c,i,!1);const h=r.outputs;let p;if(f&&null!==h&&(p=h[o])){const g=p.length;if(g)for(let y=0;y-1?Ct(e.index,t):t);let u=rD(t,n,r,s),l=i.__ngNextListenerFn__;for(;l;)u=rD(t,n,l,s)&&u,l=l.__ngNextListenerFn__;return o&&!1===u&&s.preventDefault(),u}}function K(e=1){return function tS(e){return(F.lFrame.contextLView=function Dg(e,t){for(;e>0;)t=t[Gr],e--;return t}(e,F.lFrame.contextLView))[ce]}(e)}Symbol;let An=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=_O}return e})();const vO=An,yO=class extends vO{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){const o=function qi(e,t,n,r){const o=t.tView,a=za(e,o,n,4096&e[N]?4096:16,null,t,null,null,null,r?.injector??null,r?.dehydratedView??null);a[fi]=e[t.index];const l=e[Xt];return null!==l&&(a[Xt]=l.createEmbeddedView(o)),Nd(o,a,n),a}(this._declarationLView,this._declarationTContainer,t,{injector:n,dehydratedView:r});return new Vi(o)}};function _O(){return function pu(e,t){return 4&e.type?new yO(t,e,go(e,t)):null}(ie(),m())}function M(e,t=""){const n=m(),r=W(),o=e+j,i=r.firstCreatePass?mo(r,o,1,t,null):r.data[o],s=xD(r,n,i,t,e);n[o]=s,ea()&&Na(r,n,s,i),rn(i,!1)}let xD=(e,t,n,r,o)=>(Hn(!0),function Ma(e,t){return e.createText(t)}(t[U],r));function Nn(e){return Jn("",e,""),Nn}function Jn(e,t,n){const r=m(),o=function Mo(e,t,n,r){return Ne(e,on(),n)?t+V(n)+r:$}(r,e,t,n);return o!==$&&Tn(r,Ke(),o),Jn}function fn(e,t,n,r,o){const i=m(),s=So(i,e,t,n,r,o);return s!==$&&Tn(i,Ke(),s),fn}function gf(e,t,n,r,o){if(e=x(e),Array.isArray(e))for(let i=0;i>20;if(yr(e)||!e.multi){const h=new _i(l,o,C),p=vf(u,t,o?c:c+f,d);-1===p?(mc(ia(a,s),i,u),mf(i,e,t.length),t.push(u),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(h),s.push(h)):(n[p]=h,s[p]=h)}else{const h=vf(u,t,c+f,d),p=vf(u,t,c,c+f),y=p>=0&&n[p];if(o&&!y||!o&&!(h>=0&&n[h])){mc(ia(a,s),i,u);const D=function HO(e,t,n,r,o){const i=new _i(e,n,C);return i.multi=[],i.index=t,i.componentProviders=0,jD(i,o,r&&!n),i}(o?BO:$O,n.length,o,r,l);!o&&y&&(n[p].providerFactory=D),mf(i,e,t.length,0),t.push(u),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(D),s.push(D)}else mf(i,e,h>-1?h:p,jD(n[o?p:h],l,!o&&r));!o&&r&&y&&n[p].componentProviders++}}}function mf(e,t,n,r){const o=yr(t),i=function HS(e){return!!e.useClass}(t);if(o||i){const u=(i?x(t.useClass):t).prototype.ngOnDestroy;if(u){const l=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){const c=l.indexOf(n);-1===c?l.push(n,[r,u]):l[c+1].push(r,u)}else l.push(n,u)}}}function jD(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function vf(e,t,n,r){for(let o=n;o{n.providersResolver=(r,o)=>function UO(e,t,n){const r=W();if(r.firstCreatePass){const o=Bt(e);gf(n,r.data,r.blueprint,o,!0),gf(t,r.data,r.blueprint,o,!1)}}(r,o?o(e):e,t)}}class Tr{}class UD{}class _f extends Tr{constructor(t,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new sy(this);const o=We(t);this._bootstrapComponents=Et(o.bootstrap),this._r3Injector=dm(t,n,[{provide:Tr,useValue:this},{provide:$a,useValue:this.componentFactoryResolver},...r],Pe(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Df extends UD{constructor(t){super(),this.moduleType=t}create(t){return new _f(this.moduleType,t,[])}}class $D extends Tr{constructor(t){super(),this.componentFactoryResolver=new sy(this),this.instance=null;const n=new so([...t.providers,{provide:Tr,useValue:this},{provide:$a,useValue:this.componentFactoryResolver}],t.parent||ya(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function Cf(e,t,n=null){return new $D({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}let qO=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){const r=nm(0,n.type),o=r.length>0?Cf([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=T({token:e,providedIn:"environment",factory:()=>new e(O(Nt))})}return e})();function BD(e){wr("NgStandalone"),e.getStandaloneInjector=t=>t.get(qO).getOrCreateStandaloneInjector(e)}function is(e,t){const n=e[t];return n===$?void 0:n}function eC(e,t,n,r,o,i,s,a,u){const l=t+n;return function xt(e,t,n,r,o,i){const s=br(e,t,n,r);return br(e,t+2,o,i)||s}(e,l,o,i,s,a)?un(e,l+4,u?r.call(u,o,i,s,a):r(o,i,s,a)):is(e,l+4)}function pe(e,t){const n=W();let r;const o=e+j;n.firstCreatePass?(r=function h1(e,t){if(t)for(let n=t.length-1;n>=0;n--){const r=t[n];if(e===r.name)return r}}(t,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks??=[]).push(o,r.onDestroy)):r=n.data[o];const i=r.factory||(r.factory=hr(r.type)),a=ht(C);try{const u=oa(!1),l=i();return oa(u),function SO(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(n,m(),o,l),l}finally{ht(a)}}function xn(e,t,n,r){const o=e+j,i=m(),s=Wr(i,o);return ss(i,o)?function JD(e,t,n,r,o,i,s){const a=t+n;return br(e,a,o,i)?un(e,a+2,s?r.call(s,o,i):r(o,i)):is(e,a+2)}(i,st(),t,s.transform,n,r,s):s.transform(n,r)}function He(e,t,n,r,o,i){const s=e+j,a=m(),u=Wr(a,s);return ss(a,s)?eC(a,st(),t,u.transform,n,r,o,i,u):u.transform(n,r,o,i)}function ss(e,t){return e[w].data[t].pure}let vC=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();class j1{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let yC=(()=>{class e{compileModuleSync(n){return new Df(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),i=Et(We(n).declarations).reduce((s,a)=>{const u=z(a);return u&&s.push(new $i(u)),s},[]);return new j1(r,i)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),yu=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Tt(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),0===this.pendingTasks.size&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const EC=new S(""),Du=new S("");let Nf,Tf=(()=>{class e{constructor(n,r,o){this._ngZone=n,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,Nf||(function fF(e){Nf=e}(o),o.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{te.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,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())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb()}});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1))}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,o){let i=-1;r&&r>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==i),n()},r)),this._callbacks.push({doneCb:n,timeoutId:i,updateCb:o})}whenStable(n,r,o){if(o&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,o){return[]}static#e=this.\u0275fac=function(r){return new(r||e)(O(te),O(Af),O(Du))};static#t=this.\u0275prov=T({token:e,factory:e.\u0275fac})}return e})(),Af=(()=>{class e{constructor(){this._applications=new Map}registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return Nf?.findTestabilityInTree(this,n,r)??null}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();const xf=new S("Application Initializer");let Rf=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r}),this.appInits=E(xf,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const n=[];for(const o of this.appInits){const i=o();if(os(i))n.push(i);else if(eD(i)){const s=new Promise((a,u)=>{i.subscribe({complete:a,error:u})});n.push(s)}}const r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),0===n.length&&r(),this.initialized=!0}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Of=new S("appBootstrapListener");function MC(e,t){return Array.isArray(t)?t.reduce(MC,e):{...e,...t}}let Ar=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=E(Mv),this.afterRenderEffectManager=E(Ui),this.componentTypes=[],this.components=[],this.isStable=E(yu).hasPendingTasks.pipe(ne(n=>!n)),this._injector=E(Nt)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,r){const o=n instanceof cv;if(!this._injector.get(Rf).done)throw!o&&function $n(e){const t=z(e)||ke(e)||qe(e);return null!==t&&t.standalone}(n),new _(405,!1);let s;s=o?n:this._injector.get($a).resolveComponentFactory(n),this.componentTypes.push(s.componentType);const a=function pF(e){return e.isBoundToModule}(s)?void 0:this._injector.get(Tr),l=s.create(mt.NULL,[],r||s.selector,a),c=l.location.nativeElement,d=l.injector.get(EC,null);return d?.registerApplication(c),l.onDestroy(()=>{this.detachView(l.hostView),Cu(this.components,l),d?.unregisterApplication(c)}),this._loadComponent(l),l}tick(){if(this._runningTick)throw new _(101,!1);try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this.internalErrorHandler(n)}finally{try{this.afterRenderEffectManager.execute()}catch(n){this.internalErrorHandler(n)}this._runningTick=!1}}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;Cu(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const r=this._injector.get(Of,[]);[...this._bootstrapListeners,...r].forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Cu(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new _(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Cu(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}let mF=(()=>{class e{constructor(){this.zone=E(te),this.applicationRef=E(Ar)}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=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function vF(){const e=E(te),t=E(Sn);return n=>e.runOutsideAngular(()=>t.handleError(n))}let _F=(()=>{class e{constructor(){this.subscription=new dt,this.initialized=!1,this.zone=E(te),this.pendingTasks=E(yu)}initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{te.assertNotInAngularZone(),queueMicrotask(()=>{null!==n&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{te.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Rn=new S("LocaleId",{providedIn:"root",factory:()=>E(Rn,q.Optional|q.SkipSelf)||function DF(){return typeof $localize<"u"&&$localize.locale||Lo}()}),CF=new S("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"}),Ff=new S("PlatformDestroyListeners");let NC=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const o=function HA(e="zone.js",t){return"noop"===e?new ey:"zone.js"===e?new te(t):e}(r?.ngZone,function AC(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing}));return o.run(()=>{const i=function zO(e,t,n){return new _f(e,t,n)}(n.moduleType,this.injector,function TC(e){return[{provide:te,useFactory:e},{provide:vr,multi:!0,useFactory:()=>{const t=E(mF,{optional:!0});return()=>t.initialize()}},{provide:vr,multi:!0,useFactory:()=>{const t=E(_F);return()=>{t.initialize()}}},{provide:Mv,useFactory:vF}]}(()=>o)),s=i.injector.get(Sn,null);return o.runOutsideAngular(()=>{const a=o.onError.subscribe({next:u=>{s.handleError(u)}});i.onDestroy(()=>{Cu(this._modules,i),a.unsubscribe()})}),function IC(e,t,n){try{const r=n();return os(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(s,o,()=>{const a=i.injector.get(Rf);return a.runInitializers(),a.donePromise.then(()=>(function N_(e){ft(e,"Expected localeId to be defined"),"string"==typeof e&&(A_=e.toLowerCase().replace(/_/g,"-"))}(i.injector.get(Rn,Lo)||Lo),this._moduleDoBootstrap(i),i))})})}bootstrapModule(n,r=[]){const o=MC({},r);return function hF(e,t,n){const r=new Df(n);return Promise.resolve(r)}(0,0,n).then(i=>this.bootstrapModuleFactory(i,o))}_moduleDoBootstrap(n){const r=n.injector.get(Ar);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(o=>r.bootstrap(o));else{if(!n.instance.ngDoBootstrap)throw new _(-403,!1);n.instance.ngDoBootstrap(r)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new _(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(Ff,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(r){return new(r||e)(O(mt))};static#t=this.\u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),Xn=null;const xC=new S("AllowMultipleToken");function RC(e,t,n=[]){const r=`Platform: ${t}`,o=new S(r);return(i=[])=>{let s=Pf();if(!s||s.injector.get(xC,!1)){const a=[...n,...i,{provide:o,useValue:!0}];e?e(a):function EF(e){if(Xn&&!Xn.get(xC,!1))throw new _(400,!1);(function bC(){!function AI(e){Sp=e}(()=>{throw new _(600,!1)})})(),Xn=e;const t=e.get(NC);(function FC(e){e.get(hm,null)?.forEach(n=>n())})(e)}(function OC(e=[],t){return mt.create({name:t,providers:[{provide:Sc,useValue:"platform"},{provide:Ff,useValue:new Set([()=>Xn=null])},...e]})}(a,r))}return function bF(e){const t=Pf();if(!t)throw new _(401,!1);return t}()}}function Pf(){return Xn?.get(NC)??null}const NF=RC(null,"core",[]);let xF=(()=>{class e{constructor(n){}static#e=this.\u0275fac=function(r){return new(r||e)(O(Ar))};static#t=this.\u0275mod=Jt({type:e});static#n=this.\u0275inj=Lt({})}return e})();let Bf=null;function er(){return Bf}class aP{}const Mt=new S("DocumentToken");let Hf=(()=>{class e{historyGo(n){throw new Error("Not implemented")}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=T({token:e,factory:()=>E(lP),providedIn:"platform"})}return e})();const uP=new S("Location Initialized");let lP=(()=>{class e extends Hf{constructor(){super(),this._doc=E(Mt),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return er().getBaseHref(this._doc)}onPopState(n){const r=er().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){const r=er().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",n,!1),()=>r.removeEventListener("hashchange",n)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(n){this._location.pathname=n}pushState(n,r,o){this._history.pushState(n,r,o)}replaceState(n,r,o){this._history.replaceState(n,r,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=T({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function Gf(e,t){if(0==e.length)return t;if(0==t.length)return e;let n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,2==n?e+t.substring(1):1==n?e+t:e+"/"+t}function ow(e){const t=e.match(/#|\?|$/),n=t&&t.index||e.length;return e.slice(0,n-("/"===e[n-1]?1:0))+e.slice(n)}function On(e){return e&&"?"!==e[0]?"?"+e:e}let xr=(()=>{class e{historyGo(n){throw new Error("Not implemented")}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=T({token:e,factory:()=>E(sw),providedIn:"root"})}return e})();const iw=new S("appBaseHref");let sw=(()=>{class e extends xr{constructor(n,r){super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??E(Mt).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return Gf(this._baseHref,n)}path(n=!1){const r=this._platformLocation.pathname+On(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${r}${o}`:r}pushState(n,r,o,i){const s=this.prepareExternalUrl(o+On(i));this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){const s=this.prepareExternalUrl(o+On(i));this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}static#e=this.\u0275fac=function(r){return new(r||e)(O(Hf),O(iw,8))};static#t=this.\u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),cP=(()=>{class e extends xr{constructor(n,r){super(),this._platformLocation=n,this._baseHref="",this._removeListenerFns=[],null!=r&&(this._baseHref=r)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}path(n=!1){let r=this._platformLocation.hash;return null==r&&(r="#"),r.length>0?r.substring(1):r}prepareExternalUrl(n){const r=Gf(this._baseHref,n);return r.length>0?"#"+r:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+On(i));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+On(i));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}static#e=this.\u0275fac=function(r){return new(r||e)(O(Hf),O(iw,8))};static#t=this.\u0275prov=T({token:e,factory:e.\u0275fac})}return e})(),fs=(()=>{class e{constructor(n){this._subject=new Ee,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=n;const r=this._locationStrategy.getBaseHref();this._basePath=function hP(e){if(new RegExp("^(https?:)?//").test(e)){const[,n]=e.split(/\/\/[^\/]+/);return n}return e}(ow(aw(r))),this._locationStrategy.onPopState(o=>{this._subject.emit({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,r=""){return this.path()==this.normalize(n+On(r))}normalize(n){return e.stripTrailingSlash(function fP(e,t){if(!e||!t.startsWith(e))return t;const n=t.substring(e.length);return""===n||["/",";","?","#"].includes(n[0])?n:t}(this._basePath,aw(n)))}prepareExternalUrl(n){return n&&"/"!==n[0]&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,r="",o=null){this._locationStrategy.pushState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+On(r)),o)}replaceState(n,r="",o=null){this._locationStrategy.replaceState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+On(r)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)})),()=>{const r=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(r,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",r){this._urlChangeListeners.forEach(o=>o(n,r))}subscribe(n,r,o){return this._subject.subscribe({next:n,error:r,complete:o})}static#e=this.normalizeQueryParams=On;static#t=this.joinWithSlash=Gf;static#n=this.stripTrailingSlash=ow;static#r=this.\u0275fac=function(r){return new(r||e)(O(xr))};static#o=this.\u0275prov=T({token:e,factory:()=>function dP(){return new fs(O(xr))}(),providedIn:"root"})}return e})();function aw(e){return e.replace(/\/index.html$/,"")}const uw={ADP:[void 0,void 0,0],AFN:[void 0,"\u060b",0],ALL:[void 0,void 0,0],AMD:[void 0,"\u058f",2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],AZN:[void 0,"\u20bc"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09f3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,void 0,2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xa5","\xa5"],COP:[void 0,"$",2],CRC:[void 0,"\u20a1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010d",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xa3"],ESP:[void 0,"\u20a7",0],EUR:["\u20ac"],FJD:[void 0,"$"],FKP:[void 0,"\xa3"],GBP:["\xa3"],GEL:[void 0,"\u20be"],GHS:[void 0,"GH\u20b5"],GIP:[void 0,"\xa3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20aa"],INR:["\u20b9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xa5",void 0,0],KHR:[void 0,"\u17db"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20a9",0],KRW:["\u20a9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20b8"],LAK:[void 0,"\u20ad",0],LBP:[void 0,"L\xa3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20ae",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20a6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:["\u20b1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20b2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20bd"],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xa3"],SLE:[void 0,void 0,2],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xa3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xa3",0],THB:[void 0,"\u0e3f"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20ba"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20b4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20ab",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["F\u202fCFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xa4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]};var Nu=function(e){return e[e.Decimal=0]="Decimal",e[e.Percent=1]="Percent",e[e.Currency=2]="Currency",e[e.Scientific=3]="Scientific",e}(Nu||{}),Ae=function(e){return e[e.Decimal=0]="Decimal",e[e.Group=1]="Group",e[e.List=2]="List",e[e.PercentSign=3]="PercentSign",e[e.PlusSign=4]="PlusSign",e[e.MinusSign=5]="MinusSign",e[e.Exponential=6]="Exponential",e[e.SuperscriptingExponent=7]="SuperscriptingExponent",e[e.PerMille=8]="PerMille",e[e.Infinity=9]="Infinity",e[e.NaN=10]="NaN",e[e.TimeSeparator=11]="TimeSeparator",e[e.CurrencyDecimal=12]="CurrencyDecimal",e[e.CurrencyGroup=13]="CurrencyGroup",e}(Ae||{});function Ft(e,t){const n=at(e),r=n[fe.NumberSymbols][t];if(typeof r>"u"){if(t===Ae.CurrencyDecimal)return n[fe.NumberSymbols][Ae.Decimal];if(t===Ae.CurrencyGroup)return n[fe.NumberSymbols][Ae.Group]}return r}function zf(e,t){return at(e)[fe.NumberFormats][t]}const UP=/^(\d+)?\.((\d+)(-(\d+))?)?$/,hw=22,ju=".",ps="0",$P=";",BP=",",Qf="#";function Yf(e,t,n,r,o,i,s=!1){let a="",u=!1;if(isFinite(e)){let l=function ZP(e){let r,o,i,s,a,t=Math.abs(e)+"",n=0;for((o=t.indexOf(ju))>-1&&(t=t.replace(ju,"")),(i=t.search(/e/i))>0?(o<0&&(o=i),o+=+t.slice(i+1),t=t.substring(0,i)):o<0&&(o=t.length),i=0;t.charAt(i)===ps;i++);if(i===(a=t.length))r=[0],o=1;else{for(a--;t.charAt(a)===ps;)a--;for(o-=i,r=[],s=0;i<=a;i++,s++)r[s]=Number(t.charAt(i))}return o>hw&&(r=r.splice(0,hw-1),n=o-1,o=1),{digits:r,exponent:n,integerLen:o}}(e);s&&(l=function WP(e){if(0===e.digits[0])return e;const t=e.digits.length-e.integerLen;return e.exponent?e.exponent+=2:(0===t?e.digits.push(0,0):1===t&&e.digits.push(0),e.integerLen+=2),e}(l));let c=t.minInt,d=t.minFrac,f=t.maxFrac;if(i){const v=i.match(UP);if(null===v)throw new Error(`${i} is not a valid digit info`);const A=v[1],L=v[3],H=v[5];null!=A&&(c=Jf(A)),null!=L&&(d=Jf(L)),null!=H?f=Jf(H):null!=L&&d>f&&(f=d)}!function QP(e,t,n){if(t>n)throw new Error(`The minimum number of digits after fraction (${t}) is higher than the maximum (${n}).`);let r=e.digits,o=r.length-e.integerLen;const i=Math.min(Math.max(t,o),n);let s=i+e.integerLen,a=r[s];if(s>0){r.splice(Math.max(e.integerLen,s));for(let d=s;d=5)if(s-1<0){for(let d=0;d>s;d--)r.unshift(0),e.integerLen++;r.unshift(1),e.integerLen++}else r[s-1]++;for(;o=l?p.pop():u=!1),f>=10?1:0},0);c&&(r.unshift(c),e.integerLen++)}(l,d,f);let h=l.digits,p=l.integerLen;const g=l.exponent;let y=[];for(u=h.every(v=>!v);p0?y=h.splice(p,h.length):(y=h,h=[0]);const D=[];for(h.length>=t.lgSize&&D.unshift(h.splice(-t.lgSize,h.length).join(""));h.length>t.gSize;)D.unshift(h.splice(-t.gSize,h.length).join(""));h.length&&D.unshift(h.join("")),a=D.join(Ft(n,r)),y.length&&(a+=Ft(n,o)+y.join("")),g&&(a+=Ft(n,Ae.Exponential)+"+"+g)}else a=Ft(n,Ae.Infinity);return a=e<0&&!u?t.negPre+a+t.negSuf:t.posPre+a+t.posSuf,a}function Kf(e,t="-"){const n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},r=e.split($P),o=r[0],i=r[1],s=-1!==o.indexOf(ju)?o.split(ju):[o.substring(0,o.lastIndexOf(ps)+1),o.substring(o.lastIndexOf(ps)+1)],a=s[0],u=s[1]||"";n.posPre=a.substring(0,a.indexOf(Qf));for(let c=0;c{class e{constructor(n,r){this._viewContainer=n,this._context=new nk,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=r}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){Dw("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){Dw("ngIfElse",n),this._elseTemplateRef=n,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(n,r){return!0}static#e=this.\u0275fac=function(r){return new(r||e)(C(Ht),C(An))};static#t=this.\u0275dir=P({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return e})();class nk{constructor(){this.$implicit=null,this.ngIf=null}}function Dw(e,t){if(t&&!t.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${Pe(t)}'.`)}function Wt(e,t){return new _(2100,!1)}let Ew=(()=>{class e{constructor(n){this._locale=n}transform(n,r,o){if(!rh(n))return null;o=o||this._locale;try{return function zP(e,t,n){return Yf(e,Kf(zf(t,Nu.Percent),Ft(t,Ae.MinusSign)),t,Ae.Group,Ae.Decimal,n,!0).replace(new RegExp("%","g"),Ft(t,Ae.PercentSign))}(oh(n),o,r)}catch(i){throw Wt()}}static#e=this.\u0275fac=function(r){return new(r||e)(C(Rn,16))};static#t=this.\u0275pipe=pt({name:"percent",type:e,pure:!0,standalone:!0})}return e})(),bw=(()=>{class e{constructor(n,r="USD"){this._locale=n,this._defaultCurrencyCode=r}transform(n,r=this._defaultCurrencyCode,o="symbol",i,s){if(!rh(n))return null;s=s||this._locale,"boolean"==typeof o&&(o=o?"symbol":"code");let a=r||this._defaultCurrencyCode;"code"!==o&&(a="symbol"===o||"symbol-narrow"===o?function bP(e,t,n="en"){const r=function DP(e){return at(e)[fe.Currencies]}(n)[e]||uw[e]||[],o=r[1];return"narrow"===t&&"string"==typeof o?o:r[0]||e}(a,"symbol"===o?"wide":"narrow",s):o);try{return function GP(e,t,n,r,o){const s=Kf(zf(t,Nu.Currency),Ft(t,Ae.MinusSign));return s.minFrac=function MP(e){let t;const n=uw[e];return n&&(t=n[2]),"number"==typeof t?t:2}(r),s.maxFrac=s.minFrac,Yf(e,s,t,Ae.CurrencyGroup,Ae.CurrencyDecimal,o).replace("\xa4",n).replace("\xa4","").trim()}(oh(n),s,a,r,i)}catch(u){throw Wt()}}static#e=this.\u0275fac=function(r){return new(r||e)(C(Rn,16),C(CF,16))};static#t=this.\u0275pipe=pt({name:"currency",type:e,pure:!0,standalone:!0})}return e})();function rh(e){return!(null==e||""===e||e!=e)}function oh(e){if("string"==typeof e&&!isNaN(Number(e)-parseFloat(e)))return Number(e);if("number"!=typeof e)throw new Error(`${e} is not a number`);return e}let Mk=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Jt({type:e});static#n=this.\u0275inj=Lt({})}return e})();const Iw="browser";function Mw(e){return"server"===e}let xk=(()=>{class e{static#e=this.\u0275prov=T({token:e,providedIn:"root",factory:()=>function Nk(e){return e===Iw}(E(Dr))?new Rk(E(Mt),window):new Fk})}return e})();class Rk{constructor(t,n){this.document=t,this.window=n,this.offset=()=>[0,0]}setOffset(t){this.offset=Array.isArray(t)?()=>t:t}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(t){this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){const n=function Ok(e,t){const n=e.getElementById(t)||e.getElementsByName(t)[0];if(n)return n;if("function"==typeof e.createTreeWalker&&e.body&&"function"==typeof e.body.attachShadow){const r=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT);let o=r.currentNode;for(;o;){const i=o.shadowRoot;if(i){const s=i.getElementById(t)||i.querySelector(`[name="${t}"]`);if(s)return s}o=r.nextNode()}}return null}(this.document,t);n&&(this.scrollToElement(n),n.focus())}setHistoryScrollRestoration(t){this.window.history.scrollRestoration=t}scrollToElement(t){const n=t.getBoundingClientRect(),r=n.left+this.window.pageXOffset,o=n.top+this.window.pageYOffset,i=this.offset();this.window.scrollTo(r-i[0],o-i[1])}}class Fk{setOffset(t){}getScrollPosition(){return[0,0]}scrollToPosition(t){}scrollToAnchor(t){}setHistoryScrollRestoration(t){}}class oL extends aP{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class ah extends oL{static makeCurrent(){!function sP(e){Bf||(Bf=e)}(new ah)}onAndCancel(t,n,r){return t.addEventListener(n,r),()=>{t.removeEventListener(n,r)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,n){return(n=n||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,n){return"window"===n?window:"document"===n?t:"body"===n?t.body:null}getBaseHref(t){const n=function iL(){return ms=ms||document.querySelector("base"),ms?ms.getAttribute("href"):null}();return null==n?null:function sL(e){return new URL(e,document.baseURI).pathname}(n)}resetBaseElement(){ms=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return function KP(e,t){t=encodeURIComponent(t);for(const n of e.split(";")){const r=n.indexOf("="),[o,i]=-1==r?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}(document.cookie,t)}}let ms=null,uL=(()=>{class e{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=T({token:e,factory:e.\u0275fac})}return e})();const uh=new S("EventManagerPlugins");let Nw=(()=>{class e{constructor(n,r){this._zone=r,this._eventNameToPlugin=new Map,n.forEach(o=>{o.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,r,o){return this._findPluginFor(r).addEventListener(n,r,o)}getZone(){return this._zone}_findPluginFor(n){let r=this._eventNameToPlugin.get(n);if(r)return r;if(r=this._plugins.find(i=>i.supports(n)),!r)throw new _(5101,!1);return this._eventNameToPlugin.set(n,r),r}static#e=this.\u0275fac=function(r){return new(r||e)(O(uh),O(te))};static#t=this.\u0275prov=T({token:e,factory:e.\u0275fac})}return e})();class xw{constructor(t){this._doc=t}}const lh="ng-app-id";let Rw=(()=>{class e{constructor(n,r,o,i={}){this.doc=n,this.appId=r,this.nonce=o,this.platformId=i,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=Mw(i),this.resetHostNodes()}addStyles(n){for(const r of n)1===this.changeUsageCount(r,1)&&this.onStyleAdded(r)}removeStyles(n){for(const r of n)this.changeUsageCount(r,-1)<=0&&this.onStyleRemoved(r)}ngOnDestroy(){const n=this.styleNodesInDOM;n&&(n.forEach(r=>r.remove()),n.clear());for(const r of this.getAllStyles())this.onStyleRemoved(r);this.resetHostNodes()}addHost(n){this.hostNodes.add(n);for(const r of this.getAllStyles())this.addStyleToHost(n,r)}removeHost(n){this.hostNodes.delete(n)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(n){for(const r of this.hostNodes)this.addStyleToHost(r,n)}onStyleRemoved(n){const r=this.styleRef;r.get(n)?.elements?.forEach(o=>o.remove()),r.delete(n)}collectServerRenderedStyles(){const n=this.doc.head?.querySelectorAll(`style[${lh}="${this.appId}"]`);if(n?.length){const r=new Map;return n.forEach(o=>{null!=o.textContent&&r.set(o.textContent,o)}),r}return null}changeUsageCount(n,r){const o=this.styleRef;if(o.has(n)){const i=o.get(n);return i.usage+=r,i.usage}return o.set(n,{usage:r,elements:[]}),r}getStyleElement(n,r){const o=this.styleNodesInDOM,i=o?.get(r);if(i?.parentNode===n)return o.delete(r),i.removeAttribute(lh),i;{const s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=r,this.platformIsServer&&s.setAttribute(lh,this.appId),n.appendChild(s),s}}addStyleToHost(n,r){const o=this.getStyleElement(n,r),i=this.styleRef,s=i.get(r)?.elements;s?s.push(o):i.set(r,{elements:[o],usage:1})}resetHostNodes(){const n=this.hostNodes;n.clear(),n.add(this.doc.head)}static#e=this.\u0275fac=function(r){return new(r||e)(O(Mt),O(Da),O(pm,8),O(Dr))};static#t=this.\u0275prov=T({token:e,factory:e.\u0275fac})}return e})();const ch={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/"},dh=/%COMP%/g,fL=new S("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!0});function Fw(e,t){return t.map(n=>n.replace(dh,e))}let Pw=(()=>{class e{constructor(n,r,o,i,s,a,u,l=null){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=i,this.doc=s,this.platformId=a,this.ngZone=u,this.nonce=l,this.rendererByCompId=new Map,this.platformIsServer=Mw(a),this.defaultRenderer=new fh(n,s,u,this.platformIsServer)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===Vt.ShadowDom&&(r={...r,encapsulation:Vt.Emulated});const o=this.getOrCreateRenderer(n,r);return o instanceof Lw?o.applyToHost(n):o instanceof hh&&o.applyStyles(),o}getOrCreateRenderer(n,r){const o=this.rendererByCompId;let i=o.get(r.id);if(!i){const s=this.doc,a=this.ngZone,u=this.eventManager,l=this.sharedStylesHost,c=this.removeStylesOnCompDestroy,d=this.platformIsServer;switch(r.encapsulation){case Vt.Emulated:i=new Lw(u,l,r,this.appId,c,s,a,d);break;case Vt.ShadowDom:return new mL(u,l,n,r,s,a,this.nonce,d);default:i=new hh(u,l,r,c,s,a,d)}o.set(r.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(r){return new(r||e)(O(Nw),O(Rw),O(Da),O(fL),O(Mt),O(Dr),O(te),O(pm))};static#t=this.\u0275prov=T({token:e,factory:e.\u0275fac})}return e})();class fh{constructor(t,n,r,o){this.eventManager=t,this.doc=n,this.ngZone=r,this.platformIsServer=o,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(t,n){return n?this.doc.createElementNS(ch[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(kw(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(kw(t)?t.content:t).insertBefore(n,r)}removeChild(t,n){t&&t.removeChild(n)}selectRootElement(t,n){let r="string"==typeof t?this.doc.querySelector(t):t;if(!r)throw new _(-5104,!1);return n||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,r,o){if(o){n=o+":"+n;const i=ch[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){const o=ch[r];o?t.removeAttributeNS(o,n):t.removeAttribute(`${r}:${n}`)}else t.removeAttribute(n)}addClass(t,n){t.classList.add(n)}removeClass(t,n){t.classList.remove(n)}setStyle(t,n,r,o){o&(Zn.DashCase|Zn.Important)?t.style.setProperty(n,r,o&Zn.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&Zn.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,r){null!=t&&(t[n]=r)}setValue(t,n){t.nodeValue=n}listen(t,n,r){if("string"==typeof t&&!(t=er().getGlobalEventTarget(this.doc,t)))throw new Error(`Unsupported event target ${t} for event ${n}`);return this.eventManager.addEventListener(t,n,this.decoratePreventDefault(r))}decoratePreventDefault(t){return n=>{if("__ngUnwrap__"===n)return t;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>t(n)):t(n))&&n.preventDefault()}}}function kw(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class mL extends fh{constructor(t,n,r,o,i,s,a,u){super(t,i,s,u),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const l=Fw(o.id,o.styles);for(const c of l){const d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=c,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,n){return super.appendChild(this.nodeOrShadowRoot(t),n)}insertBefore(t,n,r){return super.insertBefore(this.nodeOrShadowRoot(t),n,r)}removeChild(t,n){return super.removeChild(this.nodeOrShadowRoot(t),n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class hh extends fh{constructor(t,n,r,o,i,s,a,u){super(t,i,s,a),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=o,this.styles=u?Fw(u,r.styles):r.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class Lw extends hh{constructor(t,n,r,o,i,s,a,u){const l=o+"-"+r.id;super(t,n,r,i,s,a,u,l),this.contentAttr=function hL(e){return"_ngcontent-%COMP%".replace(dh,e)}(l),this.hostAttr=function pL(e){return"_nghost-%COMP%".replace(dh,e)}(l)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,n){const r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,""),r}}let vL=(()=>{class e extends xw{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,o){return n.addEventListener(r,o,!1),()=>this.removeEventListener(n,r,o)}removeEventListener(n,r,o){return n.removeEventListener(r,o)}static#e=this.\u0275fac=function(r){return new(r||e)(O(Mt))};static#t=this.\u0275prov=T({token:e,factory:e.\u0275fac})}return e})();const Vw=["alt","control","meta","shift"],yL={"\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"},_L={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let DL=(()=>{class e extends xw{constructor(n){super(n)}supports(n){return null!=e.parseEventName(n)}addEventListener(n,r,o){const i=e.parseEventName(r),s=e.eventCallback(i.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>er().onAndCancel(n,i.domEventName,s))}static parseEventName(n){const r=n.toLowerCase().split("."),o=r.shift();if(0===r.length||"keydown"!==o&&"keyup"!==o)return null;const i=e._normalizeKey(r.pop());let s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),Vw.forEach(l=>{const c=r.indexOf(l);c>-1&&(r.splice(c,1),s+=l+".")}),s+=i,0!=r.length||0===i.length)return null;const u={};return u.domEventName=o,u.fullKey=s,u}static matchEventFullKeyCode(n,r){let o=yL[n.key]||n.key,i="";return r.indexOf("code.")>-1&&(o=n.code,i="code."),!(null==o||!o)&&(o=o.toLowerCase()," "===o?o="space":"."===o&&(o="dot"),Vw.forEach(s=>{s!==o&&(0,_L[s])(n)&&(i+=s+".")}),i+=o,i===r)}static eventCallback(n,r,o){return i=>{e.matchEventFullKeyCode(i,n)&&o.runGuarded(()=>r(i))}}static _normalizeKey(n){return"esc"===n?"escape":n}static#e=this.\u0275fac=function(r){return new(r||e)(O(Mt))};static#t=this.\u0275prov=T({token:e,factory:e.\u0275fac})}return e})();const bL=RC(NF,"browser",[{provide:Dr,useValue:Iw},{provide:hm,useValue:function CL(){ah.makeCurrent()},multi:!0},{provide:Mt,useFactory:function EL(){return function r0(e){Oc=e}(document),document},deps:[]}]),IL=new S(""),$w=[{provide:Du,useClass:class aL{addToWindow(t){le.getAngularTestability=(r,o=!0)=>{const i=t.findTestabilityInTree(r,o);if(null==i)throw new _(5103,!1);return i},le.getAllAngularTestabilities=()=>t.getAllTestabilities(),le.getAllAngularRootElements=()=>t.getAllRootElements(),le.frameworkStabilizers||(le.frameworkStabilizers=[]),le.frameworkStabilizers.push(r=>{const o=le.getAllAngularTestabilities();let i=o.length;const s=function(){i--,0==i&&r()};o.forEach(a=>{a.whenStable(s)})})}findTestabilityInTree(t,n,r){return null==n?null:t.getTestability(n)??(r?er().isShadowRoot(n)?this.findTestabilityInTree(t,n.host,!0):this.findTestabilityInTree(t,n.parentElement,!0):null)}},deps:[]},{provide:EC,useClass:Tf,deps:[te,Af,Du]},{provide:Tf,useClass:Tf,deps:[te,Af,Du]}],Bw=[{provide:Sc,useValue:"root"},{provide:Sn,useFactory:function wL(){return new Sn},deps:[]},{provide:uh,useClass:vL,multi:!0,deps:[Mt,te,Dr]},{provide:uh,useClass:DL,multi:!0,deps:[Mt]},Pw,Rw,Nw,{provide:fv,useExisting:Pw},{provide:class Pk{},useClass:uL,deps:[]},[]];let ML=(()=>{class e{constructor(n){}static withServerTransition(n){return{ngModule:e,providers:[{provide:Da,useValue:n.appId}]}}static#e=this.\u0275fac=function(r){return new(r||e)(O(IL,12))};static#t=this.\u0275mod=Jt({type:e});static#n=this.\u0275inj=Lt({providers:[...Bw,...$w],imports:[Mk,xF]})}return e})(),Hw=(()=>{class e{constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}static#e=this.\u0275fac=function(r){return new(r||e)(O(Mt))};static#t=this.\u0275prov=T({token:e,factory:function(r){let o=null;return o=r?new r:function TL(){return new Hw(O(Mt))}(),o},providedIn:"root"})}return e})();function nr(e){return this instanceof nr?(this.v=e,this):new nr(e)}function Yw(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,t=e[Symbol.asyncIterator];return t?t.call(e):(e=function yh(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,u){!function o(i,s,a,u){Promise.resolve(u).then(function(l){i({value:l,done:a})},s)}(a,u,(s=e[i](s)).done,s.value)})}}}typeof window<"u"&&window,"function"==typeof SuppressedError&&SuppressedError;const Kw=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function Jw(e){return me(e?.then)}function Xw(e){return me(e[Rl])}function eE(e){return Symbol.asyncIterator&&me(e?.[Symbol.asyncIterator])}function tE(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 nE=function tV(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function rE(e){return me(e?.[nE])}function oE(e){return function Qw(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o,r=n.apply(e,t||[]),i=[];return o={},s("next"),s("throw"),s("return"),o[Symbol.asyncIterator]=function(){return this},o;function s(f){r[f]&&(o[f]=function(h){return new Promise(function(p,g){i.push([f,h,p,g])>1||a(f,h)})})}function a(f,h){try{!function u(f){f.value instanceof nr?Promise.resolve(f.value.v).then(l,c):d(i[0][2],f)}(r[f](h))}catch(p){d(i[0][3],p)}}function l(f){a("next",f)}function c(f){a("throw",f)}function d(f,h){f(h),i.shift(),i.length&&a(i[0][0],i[0][1])}}(this,arguments,function*(){const n=e.getReader();try{for(;;){const{value:r,done:o}=yield nr(n.read());if(o)return yield nr(void 0);yield yield nr(r)}}finally{n.releaseLock()}})}function iE(e){return me(e?.getReader)}function hn(e){if(e instanceof $e)return e;if(null!=e){if(Xw(e))return function nV(e){return new $e(t=>{const n=e[Rl]();if(me(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(Kw(e))return function rV(e){return new $e(t=>{for(let n=0;n{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Op)})}(e);if(eE(e))return sE(e);if(rE(e))return function iV(e){return new $e(t=>{for(const n of e)if(t.next(n),t.closed)return;t.complete()})}(e);if(iE(e))return function sV(e){return sE(oE(e))}(e)}throw tE(e)}function sE(e){return new $e(t=>{(function aV(e,t){var n,r,o,i;return function Ww(e,t,n,r){return new(n||(n=Promise))(function(i,s){function a(c){try{l(r.next(c))}catch(d){s(d)}}function u(c){try{l(r.throw(c))}catch(d){s(d)}}function l(c){c.done?i(c.value):function o(i){return i instanceof n?i:new n(function(s){s(i)})}(c.value).then(a,u)}l((r=r.apply(e,t||[])).next())})}(this,void 0,void 0,function*(){try{for(n=Yw(e);!(r=yield n.next()).done;)if(t.next(r.value),t.closed)return}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})})(e,t).catch(n=>t.error(n))})}function kn(e,t,n,r=0,o=!1){const i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function aE(e,t=0){return ze((n,r)=>{n.subscribe(Fe(r,o=>kn(r,e,()=>r.next(o),t),()=>kn(r,e,()=>r.complete(),t),o=>kn(r,e,()=>r.error(o),t)))})}function uE(e,t=0){return ze((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function lE(e,t){if(!e)throw new Error("Iterable cannot be null");return new $e(n=>{kn(n,t,()=>{const r=e[Symbol.asyncIterator]();kn(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function Ge(e,t){return t?function hV(e,t){if(null!=e){if(Xw(e))return function uV(e,t){return hn(e).pipe(uE(t),aE(t))}(e,t);if(Kw(e))return function cV(e,t){return new $e(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}(e,t);if(Jw(e))return function lV(e,t){return hn(e).pipe(uE(t),aE(t))}(e,t);if(eE(e))return lE(e,t);if(rE(e))return function dV(e,t){return new $e(n=>{let r;return kn(n,t,()=>{r=e[nE](),kn(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){return void n.error(s)}i?n.complete():n.next(o)},0,!0)}),()=>me(r?.return)&&r.return()})}(e,t);if(iE(e))return function fV(e,t){return lE(oE(e),t)}(e,t)}throw tE(e)}(e,t):hn(e)}function _h(e){return e[e.length-1]}function cE(e){return me(_h(e))?e.pop():void 0}function Bu(e){return function pV(e){return e&&me(e.schedule)}(_h(e))?e.pop():void 0}function k(...e){return Ge(e,Bu(e))}const{isArray:gV}=Array,{getPrototypeOf:mV,prototype:vV,keys:yV}=Object;function dE(e){if(1===e.length){const t=e[0];if(gV(t))return{args:t,keys:null};if(function _V(e){return e&&"object"==typeof e&&mV(e)===vV}(t)){const n=yV(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}const{isArray:DV}=Array;function fE(e){return ne(t=>function CV(e,t){return DV(t)?e(...t):e(t)}(e,t))}function hE(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function Dh(...e){const t=Bu(e),n=cE(e),{args:r,keys:o}=dE(e);if(0===r.length)return Ge([],t);const i=new $e(function wV(e,t,n=cr){return r=>{pE(t,()=>{const{length:o}=e,i=new Array(o);let s=o,a=o;for(let u=0;u{const l=Ge(e[u],t);let c=!1;l.subscribe(Fe(r,d=>{i[u]=d,c||(c=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}(r,t,o?s=>hE(o,s):cr));return n?i.pipe(fE(n)):i}function pE(e,t,n){e?kn(n,e,t):t()}const Hu=El(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function Xe(e,t,n=1/0){return me(t)?Xe((r,o)=>ne((i,s)=>t(r,i,o,s))(hn(e(r,o))),n):("number"==typeof t&&(n=t),ze((r,o)=>function EV(e,t,n,r,o,i,s,a){const u=[];let l=0,c=0,d=!1;const f=()=>{d&&!u.length&&!l&&t.complete()},h=g=>l{i&&t.next(g),l++;let y=!1;hn(n(g,c++)).subscribe(Fe(t,D=>{o?.(D),i?h(D):t.next(D)},()=>{y=!0},void 0,()=>{if(y)try{for(l--;u.length&&lp(D)):p(D)}f()}catch(D){t.error(D)}}))};return e.subscribe(Fe(t,h,()=>{d=!0,f()})),()=>{a?.()}}(r,o,e,n)))}function ys(e=1/0){return Xe(cr,e)}function Ch(...e){return function bV(){return ys(1)}()(Ge(e,Bu(e)))}function gE(e){return new $e(t=>{hn(e()).subscribe(t)})}function Gu(e,t){const n=me(e)?e:()=>e,r=o=>o.error(n());return new $e(t?o=>t.schedule(r,0,o):r)}const Ln=new $e(e=>e.complete());function wh(){return ze((e,t)=>{let n=null;e._refCount++;const r=Fe(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount)return void(n=null);const o=e._connection,i=n;n=null,o&&(!i||o===i)&&o.unsubscribe(),t.unsubscribe()});e.subscribe(r),r.closed||(n=e.connect())})}class mE extends $e{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,Lp(t)&&(this.lift=t.lift)}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){const t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:t}=this;this._subject=this._connection=null,t?.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new dt;const n=this.getSubject();t.add(this.source.subscribe(Fe(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=dt.EMPTY)}return t}refCount(){return wh()(this)}}function pn(e,t){return ze((n,r)=>{let o=null,i=0,s=!1;const a=()=>s&&!o&&r.complete();n.subscribe(Fe(r,u=>{o?.unsubscribe();let l=0;const c=i++;hn(e(u,c)).subscribe(o=Fe(r,d=>r.next(t?t(u,d,c,l++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function Ho(e){return e<=0?()=>Ln:ze((t,n)=>{let r=0;t.subscribe(Fe(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function rr(e,t){return ze((n,r)=>{let o=0;n.subscribe(Fe(r,i=>e.call(t,i,o++)&&r.next(i)))})}function zu(e){return ze((t,n)=>{let r=!1;t.subscribe(Fe(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function vE(e=SV){return ze((t,n)=>{let r=!1;t.subscribe(Fe(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function SV(){return new Hu}function Rr(e,t){const n=arguments.length>=2;return r=>r.pipe(e?rr((o,i)=>e(o,i,r)):cr,Ho(1),n?zu(t):vE(()=>new Hu))}function _s(e,t){return me(t)?Xe(e,t,1):Xe(e,1)}function et(e,t,n){const r=me(e)||t||n?{next:e,error:t,complete:n}:e;return r?ze((o,i)=>{var s;null===(s=r.subscribe)||void 0===s||s.call(r);let a=!0;o.subscribe(Fe(i,u=>{var l;null===(l=r.next)||void 0===l||l.call(r,u),i.next(u)},()=>{var u;a=!1,null===(u=r.complete)||void 0===u||u.call(r),i.complete()},u=>{var l;a=!1,null===(l=r.error)||void 0===l||l.call(r,u),i.error(u)},()=>{var u,l;a&&(null===(u=r.unsubscribe)||void 0===u||u.call(r)),null===(l=r.finalize)||void 0===l||l.call(r)}))}):cr}function Go(e){return ze((t,n)=>{let i,r=null,o=!1;r=t.subscribe(Fe(n,void 0,void 0,s=>{i=hn(e(s,Go(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function Eh(e){return e<=0?()=>Ln:ze((t,n)=>{let r=[];t.subscribe(Fe(n,o=>{r.push(o),e{for(const o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function bh(e){return ze((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}const G="primary",Ds=Symbol("RouteTitle");class OV{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){const n=this.params[t];return Array.isArray(n)?n[0]:n}return null}getAll(t){if(this.has(t)){const n=this.params[t];return Array.isArray(n)?n:[n]}return[]}get keys(){return Object.keys(this.params)}}function zo(e){return new OV(e)}function FV(e,t,n){const r=n.path.split("/");if(r.length>e.length||"full"===n.pathMatch&&(t.hasChildren()||r.lengthr[i]===o)}return e===t}function _E(e){return e.length>0?e[e.length-1]:null}function or(e){return function OL(e){return!!e&&(e instanceof $e||me(e.lift)&&me(e.subscribe))}(e)?e:os(e)?Ge(Promise.resolve(e)):k(e)}const kV={exact:function wE(e,t,n){if(!Or(e.segments,t.segments)||!qu(e.segments,t.segments,n)||e.numberOfChildren!==t.numberOfChildren)return!1;for(const r in t.children)if(!e.children[r]||!wE(e.children[r],t.children[r],n))return!1;return!0},subset:EE},DE={exact:function LV(e,t){return gn(e,t)},subset:function VV(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(n=>yE(e[n],t[n]))},ignored:()=>!0};function CE(e,t,n){return kV[n.paths](e.root,t.root,n.matrixParams)&&DE[n.queryParams](e.queryParams,t.queryParams)&&!("exact"===n.fragment&&e.fragment!==t.fragment)}function EE(e,t,n){return bE(e,t,t.segments,n)}function bE(e,t,n,r){if(e.segments.length>n.length){const o=e.segments.slice(0,n.length);return!(!Or(o,n)||t.hasChildren()||!qu(o,n,r))}if(e.segments.length===n.length){if(!Or(e.segments,n)||!qu(e.segments,n,r))return!1;for(const o in t.children)if(!e.children[o]||!EE(e.children[o],t.children[o],r))return!1;return!0}{const o=n.slice(0,e.segments.length),i=n.slice(e.segments.length);return!!(Or(e.segments,o)&&qu(e.segments,o,r)&&e.children[G])&&bE(e.children[G],t,i,r)}}function qu(e,t,n){return t.every((r,o)=>DE[n](e[o].parameters,r.parameters))}class qo{constructor(t=new se([],{}),n={},r=null){this.root=t,this.queryParams=n,this.fragment=r}get queryParamMap(){return this._queryParamMap??=zo(this.queryParams),this._queryParamMap}toString(){return $V.serialize(this)}}class se{constructor(t,n){this.segments=t,this.children=n,this.parent=null,Object.values(n).forEach(r=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Wu(this)}}class Cs{constructor(t,n){this.path=t,this.parameters=n}get parameterMap(){return this._parameterMap??=zo(this.parameters),this._parameterMap}toString(){return SE(this)}}function Or(e,t){return e.length===t.length&&e.every((n,r)=>n.path===t[r].path)}let Wo=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=T({token:e,factory:()=>new Mh,providedIn:"root"})}return e})();class Mh{parse(t){const n=new JV(t);return new qo(n.parseRootSegment(),n.parseQueryParams(),n.parseFragment())}serialize(t){const n=`/${ws(t.root,!0)}`,r=function GV(e){const t=Object.entries(e).map(([n,r])=>Array.isArray(r)?r.map(o=>`${Zu(n)}=${Zu(o)}`).join("&"):`${Zu(n)}=${Zu(r)}`).filter(n=>n);return t.length?`?${t.join("&")}`:""}(t.queryParams);return`${n}${r}${"string"==typeof t.fragment?`#${function BV(e){return encodeURI(e)}(t.fragment)}`:""}`}}const $V=new Mh;function Wu(e){return e.segments.map(t=>SE(t)).join("/")}function ws(e,t){if(!e.hasChildren())return Wu(e);if(t){const n=e.children[G]?ws(e.children[G],!1):"",r=[];return Object.entries(e.children).forEach(([o,i])=>{o!==G&&r.push(`${o}:${ws(i,!1)}`)}),r.length>0?`${n}(${r.join("//")})`:n}{const n=function UV(e,t){let n=[];return Object.entries(e.children).forEach(([r,o])=>{r===G&&(n=n.concat(t(o,r)))}),Object.entries(e.children).forEach(([r,o])=>{r!==G&&(n=n.concat(t(o,r)))}),n}(e,(r,o)=>o===G?[ws(e.children[G],!1)]:[`${o}:${ws(r,!1)}`]);return 1===Object.keys(e.children).length&&null!=e.children[G]?`${Wu(e)}/${n[0]}`:`${Wu(e)}/(${n.join("//")})`}}function IE(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Zu(e){return IE(e).replace(/%3B/gi,";")}function Sh(e){return IE(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Qu(e){return decodeURIComponent(e)}function ME(e){return Qu(e.replace(/\+/g,"%20"))}function SE(e){return`${Sh(e.path)}${function HV(e){return Object.entries(e).map(([t,n])=>`;${Sh(t)}=${Sh(n)}`).join("")}(e.parameters)}`}const zV=/^[^\/()?;#]+/;function Th(e){const t=e.match(zV);return t?t[0]:""}const qV=/^[^\/()?;=#]+/,ZV=/^[^=?]+/,YV=/^[^]+/;class JV{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new se([],{}):new se([],this.parseChildren())}parseQueryParams(){const t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let n={};this.peekStartsWith("/(")&&(this.capture("/"),n=this.parseParens(!0));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1)),(t.length>0||Object.keys(n).length>0)&&(r[G]=new se(t,n)),r}parseSegment(){const t=Th(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new _(4009,!1);return this.capture(t),new Cs(Qu(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const n=function WV(e){const t=e.match(qV);return t?t[0]:""}(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){const o=Th(this.remaining);o&&(r=o,this.capture(r))}t[Qu(n)]=Qu(r)}parseQueryParam(t){const n=function QV(e){const t=e.match(ZV);return t?t[0]:""}(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){const s=function KV(e){const t=e.match(YV);return t?t[0]:""}(this.remaining);s&&(r=s,this.capture(r))}const o=ME(n),i=ME(r);if(t.hasOwnProperty(o)){let s=t[o];Array.isArray(s)||(s=[s],t[o]=s),s.push(i)}else t[o]=i}parseParens(t){const n={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const r=Th(this.remaining),o=this.remaining[r.length];if("/"!==o&&")"!==o&&";"!==o)throw new _(4010,!1);let i;r.indexOf(":")>-1?(i=r.slice(0,r.indexOf(":")),this.capture(i),this.capture(":")):t&&(i=G);const s=this.parseChildren();n[i]=1===Object.keys(s).length?s[G]:new se([],s),this.consumeOptional("//")}return n}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)}capture(t){if(!this.consumeOptional(t))throw new _(4011,!1)}}function TE(e){return e.segments.length>0?new se([],{[G]:e}):e}function AE(e){const t={};for(const[r,o]of Object.entries(e.children)){const i=AE(o);if(r===G&&0===i.segments.length&&i.hasChildren())for(const[s,a]of Object.entries(i.children))t[s]=a;else(i.segments.length>0||i.hasChildren())&&(t[r]=i)}return function XV(e){if(1===e.numberOfChildren&&e.children[G]){const t=e.children[G];return new se(e.segments.concat(t.segments),t.children)}return e}(new se(e.segments,t))}function Fr(e){return e instanceof qo}function NE(e){let t;const o=TE(function n(i){const s={};for(const u of i.children){const l=n(u);s[u.outlet]=l}const a=new se(i.url,s);return i===e&&(t=a),a}(e.root));return t??o}function xE(e,t,n,r){let o=e;for(;o.parent;)o=o.parent;if(0===t.length)return Ah(o,o,o,n,r);const i=function t2(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new OE(!0,0,e);let t=0,n=!1;const r=e.reduce((o,i,s)=>{if("object"==typeof i&&null!=i){if(i.outlets){const a={};return Object.entries(i.outlets).forEach(([u,l])=>{a[u]="string"==typeof l?l.split("/"):l}),[...o,{outlets:a}]}if(i.segmentPath)return[...o,i.segmentPath]}return"string"!=typeof i?[...o,i]:0===s?(i.split("/").forEach((a,u)=>{0==u&&"."===a||(0==u&&""===a?n=!0:".."===a?t++:""!=a&&o.push(a))}),o):[...o,i]},[]);return new OE(n,t,r)}(t);if(i.toRoot())return Ah(o,o,new se([],{}),n,r);const s=function n2(e,t,n){if(e.isAbsolute)return new Ku(t,!0,0);if(!n)return new Ku(t,!1,NaN);if(null===n.parent)return new Ku(n,!0,0);const r=Yu(e.commands[0])?0:1;return function r2(e,t,n){let r=e,o=t,i=n;for(;i>o;){if(i-=o,r=r.parent,!r)throw new _(4005,!1);o=r.segments.length}return new Ku(r,!1,o-i)}(n,n.segments.length-1+r,e.numberOfDoubleDots)}(i,o,e),a=s.processChildren?bs(s.segmentGroup,s.index,i.commands):FE(s.segmentGroup,s.index,i.commands);return Ah(o,s.segmentGroup,a,n,r)}function Yu(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function Es(e){return"object"==typeof e&&null!=e&&e.outlets}function Ah(e,t,n,r,o){let s,i={};r&&Object.entries(r).forEach(([u,l])=>{i[u]=Array.isArray(l)?l.map(c=>`${c}`):`${l}`}),s=e===t?n:RE(e,t,n);const a=TE(AE(s));return new qo(a,i,o)}function RE(e,t,n){const r={};return Object.entries(e.children).forEach(([o,i])=>{r[o]=i===t?n:RE(i,t,n)}),new se(e.segments,r)}class OE{constructor(t,n,r){if(this.isAbsolute=t,this.numberOfDoubleDots=n,this.commands=r,t&&r.length>0&&Yu(r[0]))throw new _(4003,!1);const o=r.find(Es);if(o&&o!==_E(r))throw new _(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Ku{constructor(t,n,r){this.segmentGroup=t,this.processChildren=n,this.index=r}}function FE(e,t,n){if(e??=new se([],{}),0===e.segments.length&&e.hasChildren())return bs(e,t,n);const r=function i2(e,t,n){let r=0,o=t;const i={match:!1,pathIndex:0,commandIndex:0};for(;o=n.length)return i;const s=e.segments[o],a=n[r];if(Es(a))break;const u=`${a}`,l=r0&&void 0===u)break;if(u&&l&&"object"==typeof l&&void 0===l.outlets){if(!kE(u,l,s))return i;r+=2}else{if(!kE(u,{},s))return i;r++}o++}return{match:!0,pathIndex:o,commandIndex:r}}(e,t,n),o=n.slice(r.commandIndex);if(r.match&&r.pathIndexi!==G)&&e.children[G]&&1===e.numberOfChildren&&0===e.children[G].segments.length){const i=bs(e.children[G],t,n);return new se(e.segments,i.children)}return Object.entries(r).forEach(([i,s])=>{"string"==typeof s&&(s=[s]),null!==s&&(o[i]=FE(e.children[i],t,s))}),Object.entries(e.children).forEach(([i,s])=>{void 0===r[i]&&(o[i]=s)}),new se(e.segments,o)}}function Nh(e,t,n){const r=e.segments.slice(0,t);let o=0;for(;o{"string"==typeof r&&(r=[r]),null!==r&&(t[n]=Nh(new se([],{}),0,r))}),t}function PE(e){const t={};return Object.entries(e).forEach(([n,r])=>t[n]=`${r}`),t}function kE(e,t,n){return e==n.path&&gn(t,n.parameters)}const Is="imperative";var Z=function(e){return e[e.NavigationStart=0]="NavigationStart",e[e.NavigationEnd=1]="NavigationEnd",e[e.NavigationCancel=2]="NavigationCancel",e[e.NavigationError=3]="NavigationError",e[e.RoutesRecognized=4]="RoutesRecognized",e[e.ResolveStart=5]="ResolveStart",e[e.ResolveEnd=6]="ResolveEnd",e[e.GuardsCheckStart=7]="GuardsCheckStart",e[e.GuardsCheckEnd=8]="GuardsCheckEnd",e[e.RouteConfigLoadStart=9]="RouteConfigLoadStart",e[e.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",e[e.ChildActivationStart=11]="ChildActivationStart",e[e.ChildActivationEnd=12]="ChildActivationEnd",e[e.ActivationStart=13]="ActivationStart",e[e.ActivationEnd=14]="ActivationEnd",e[e.Scroll=15]="Scroll",e[e.NavigationSkipped=16]="NavigationSkipped",e}(Z||{});class mn{constructor(t,n){this.id=t,this.url=n}}class Ju extends mn{constructor(t,n,r="imperative",o=null){super(t,n),this.type=Z.NavigationStart,this.navigationTrigger=r,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Vn extends mn{constructor(t,n,r){super(t,n),this.urlAfterRedirects=r,this.type=Z.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}var kt=function(e){return e[e.Redirect=0]="Redirect",e[e.SupersededByNewNavigation=1]="SupersededByNewNavigation",e[e.NoDataFromResolver=2]="NoDataFromResolver",e[e.GuardRejected=3]="GuardRejected",e}(kt||{}),Xu=function(e){return e[e.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",e[e.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",e}(Xu||{});class Zo extends mn{constructor(t,n,r,o){super(t,n),this.reason=r,this.code=o,this.type=Z.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Qo extends mn{constructor(t,n,r,o){super(t,n),this.reason=r,this.code=o,this.type=Z.NavigationSkipped}}class el extends mn{constructor(t,n,r,o){super(t,n),this.error=r,this.target=o,this.type=Z.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class LE extends mn{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=Z.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class a2 extends mn{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=Z.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class u2 extends mn{constructor(t,n,r,o,i){super(t,n),this.urlAfterRedirects=r,this.state=o,this.shouldActivate=i,this.type=Z.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class l2 extends mn{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=Z.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class c2 extends mn{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=Z.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class d2{constructor(t){this.route=t,this.type=Z.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class f2{constructor(t){this.route=t,this.type=Z.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class h2{constructor(t){this.snapshot=t,this.type=Z.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class p2{constructor(t){this.snapshot=t,this.type=Z.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class g2{constructor(t){this.snapshot=t,this.type=Z.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class m2{constructor(t){this.snapshot=t,this.type=Z.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class VE{constructor(t,n,r){this.routerEvent=t,this.position=n,this.anchor=r,this.type=Z.Scroll}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class xh{}class Rh{constructor(t){this.url=t}}class v2{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new Ms,this.attachRef=null}}let Ms=(()=>{class e{constructor(){this.contexts=new Map}onChildOutletCreated(n,r){const o=this.getOrCreateContext(n);o.outlet=r,this.contexts.set(n,o)}onChildOutletDestroyed(n){const r=this.getContext(n);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){const n=this.contexts;return this.contexts=new Map,n}onOutletReAttached(n){this.contexts=n}getOrCreateContext(n){let r=this.getContext(n);return r||(r=new v2,this.contexts.set(n,r)),r}getContext(n){return this.contexts.get(n)||null}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();class jE{constructor(t){this._root=t}get root(){return this._root.value}parent(t){const n=this.pathFromRoot(t);return n.length>1?n[n.length-2]:null}children(t){const n=Oh(t,this._root);return n?n.children.map(r=>r.value):[]}firstChild(t){const n=Oh(t,this._root);return n&&n.children.length>0?n.children[0].value:null}siblings(t){const n=Fh(t,this._root);return n.length<2?[]:n[n.length-2].children.map(o=>o.value).filter(o=>o!==t)}pathFromRoot(t){return Fh(t,this._root).map(n=>n.value)}}function Oh(e,t){if(e===t.value)return t;for(const n of t.children){const r=Oh(e,n);if(r)return r}return null}function Fh(e,t){if(e===t.value)return[t];for(const n of t.children){const r=Fh(e,n);if(r.length)return r.unshift(t),r}return[]}class Zt{constructor(t,n){this.value=t,this.children=n}toString(){return`TreeNode(${this.value})`}}function Yo(e){const t={};return e&&e.children.forEach(n=>t[n.value.outlet]=n),t}class UE extends jE{constructor(t,n){super(t),this.snapshot=n,Lh(this,t)}toString(){return this.snapshot.toString()}}function $E(e){const t=function y2(e){const i=new kh([],{},{},"",{},G,e,null,{});return new BE("",new Zt(i,[]))}(e),n=new Tt([new Cs("",{})]),r=new Tt({}),o=new Tt({}),i=new Tt({}),s=new Tt(""),a=new Ko(n,r,i,s,o,G,e,t.root);return a.snapshot=t.root,new UE(new Zt(a,[]),t)}class Ko{constructor(t,n,r,o,i,s,a,u){this.urlSubject=t,this.paramsSubject=n,this.queryParamsSubject=r,this.fragmentSubject=o,this.dataSubject=i,this.outlet=s,this.component=a,this._futureSnapshot=u,this.title=this.dataSubject?.pipe(ne(l=>l[Ds]))??k(void 0),this.url=t,this.params=n,this.queryParams=r,this.fragment=o,this.data=i}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.params.pipe(ne(t=>zo(t))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(ne(t=>zo(t))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Ph(e,t,n="emptyOnly"){let r;const{routeConfig:o}=e;return r=null===t||"always"!==n&&""!==o?.path&&(t.component||t.routeConfig?.loadComponent)?{params:{...e.params},data:{...e.data},resolve:{...e.data,...e._resolvedData??{}}}:{params:{...t.params,...e.params},data:{...t.data,...e.data},resolve:{...e.data,...t.data,...o?.data,...e._resolvedData}},o&&GE(o)&&(r.resolve[Ds]=o.title),r}class kh{get title(){return this.data?.[Ds]}constructor(t,n,r,o,i,s,a,u,l){this.url=t,this.params=n,this.queryParams=r,this.fragment=o,this.data=i,this.outlet=s,this.component=a,this.routeConfig=u,this._resolve=l}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??=zo(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=zo(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(r=>r.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class BE extends jE{constructor(t,n){super(n),this.url=t,Lh(this,n)}toString(){return HE(this._root)}}function Lh(e,t){t.value._routerState=e,t.children.forEach(n=>Lh(e,n))}function HE(e){const t=e.children.length>0?` { ${e.children.map(HE).join(", ")} } `:"";return`${e.value}${t}`}function Vh(e){if(e.snapshot){const t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,gn(t.queryParams,n.queryParams)||e.queryParamsSubject.next(n.queryParams),t.fragment!==n.fragment&&e.fragmentSubject.next(n.fragment),gn(t.params,n.params)||e.paramsSubject.next(n.params),function PV(e,t){if(e.length!==t.length)return!1;for(let n=0;ngn(n.parameters,t[r].parameters))}(e.url,t.url);return n&&!(!e.parent!=!t.parent)&&(!e.parent||jh(e.parent,t.parent))}function GE(e){return"string"==typeof e.title||null===e.title}let Uh=(()=>{class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=G,this.activateEvents=new Ee,this.deactivateEvents=new Ee,this.attachEvents=new Ee,this.detachEvents=new Ee,this.parentContexts=E(Ms),this.location=E(Ht),this.changeDetector=E(ji),this.environmentInjector=E(Nt),this.inputBinder=E(tl,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(n){if(n.name){const{firstChange:r,previousValue:o}=n.name;if(r)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(n){return this.parentContexts.getContext(n)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const n=this.parentContexts.getContext(this.name);n?.route&&(n.attachRef?this.attach(n.attachRef,n.route):this.activateWith(n.route,n.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new _(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 n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}attach(n,r){this.activated=n,this._activatedRoute=r,this.location.insert(n.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(n.instance)}deactivate(){if(this.activated){const n=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}}activateWith(n,r){if(this.isActivated)throw new _(4013,!1);this._activatedRoute=n;const o=this.location,s=n.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,u=new _2(n,a,o.injector);this.activated=o.createComponent(s,{index:o.length,injector:u,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=P({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[At]})}return e})();class _2{constructor(t,n,r){this.route=t,this.childContexts=n,this.parent=r}get(t,n){return t===Ko?this.route:t===Ms?this.childContexts:this.parent.get(t,n)}}const tl=new S("");let zE=(()=>{class e{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(n){this.unsubscribeFromRouteData(n),this.subscribeToRouteData(n)}unsubscribeFromRouteData(n){this.outletDataSubscriptions.get(n)?.unsubscribe(),this.outletDataSubscriptions.delete(n)}subscribeToRouteData(n){const{activatedRoute:r}=n,o=Dh([r.queryParams,r.params,r.data]).pipe(pn(([i,s,a],u)=>(a={...i,...s,...a},0===u?k(a):Promise.resolve(a)))).subscribe(i=>{if(!n.isActivated||!n.activatedComponentRef||n.activatedRoute!==r||null===r.component)return void this.unsubscribeFromRouteData(n);const s=function iP(e){const t=z(e);if(!t)return null;const n=new $i(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}(r.component);if(s)for(const{templateName:a}of s.inputs)n.activatedComponentRef.setInput(a,i[a]);else this.unsubscribeFromRouteData(n)});this.outletDataSubscriptions.set(n,o)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=T({token:e,factory:e.\u0275fac})}return e})();function Ss(e,t,n){if(n&&e.shouldReuseRoute(t.value,n.value.snapshot)){const r=n.value;r._futureSnapshot=t.value;const o=function C2(e,t,n){return t.children.map(r=>{for(const o of n.children)if(e.shouldReuseRoute(r.value,o.value.snapshot))return Ss(e,r,o);return Ss(e,r)})}(e,t,n);return new Zt(r,o)}{if(e.shouldAttach(t.value)){const i=e.retrieve(t.value);if(null!==i){const s=i.route;return s.value._futureSnapshot=t.value,s.children=t.children.map(a=>Ss(e,a)),s}}const r=function w2(e){return new Ko(new Tt(e.url),new Tt(e.params),new Tt(e.queryParams),new Tt(e.fragment),new Tt(e.data),e.outlet,e.component,e)}(t.value),o=t.children.map(i=>Ss(e,i));return new Zt(r,o)}}const $h="ngNavigationCancelingError";function qE(e,t){const{redirectTo:n,navigationBehaviorOptions:r}=Fr(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,o=WE(!1,kt.Redirect,t);return o.url=n,o.navigationBehaviorOptions=r,o}function WE(e,t,n){const r=new Error("NavigationCancelingError: "+(e||""));return r[$h]=!0,r.cancellationCode=t,n&&(r.url=n),r}function ZE(e){return e&&e[$h]}let QE=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=Zs({type:e,selectors:[["ng-component"]],standalone:!0,features:[BD],decls:1,vars:0,template:function(r,o){1&r&&Po(0,"router-outlet")},dependencies:[Uh],encapsulation:2})}return e})();function Bh(e){const t=e.children&&e.children.map(Bh),n=t?{...e,children:t}:{...e};return!n.component&&!n.loadComponent&&(t||n.loadChildren)&&n.outlet&&n.outlet!==G&&(n.component=QE),n}function vn(e){return e.outlet||G}function Ts(e){if(!e)return null;if(e.routeConfig?._injector)return e.routeConfig._injector;for(let t=e.parent;t;t=t.parent){const n=t.routeConfig;if(n?._loadedInjector)return n._loadedInjector;if(n?._injector)return n._injector}return null}class N2{constructor(t,n,r,o,i){this.routeReuseStrategy=t,this.futureState=n,this.currState=r,this.forwardEvent=o,this.inputBindingEnabled=i}activate(t){const n=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(n,r,t),Vh(this.futureState.root),this.activateChildRoutes(n,r,t)}deactivateChildRoutes(t,n,r){const o=Yo(n);t.children.forEach(i=>{const s=i.value.outlet;this.deactivateRoutes(i,o[s],r),delete o[s]}),Object.values(o).forEach(i=>{this.deactivateRouteAndItsChildren(i,r)})}deactivateRoutes(t,n,r){const o=t.value,i=n?n.value:null;if(o===i)if(o.component){const s=r.getContext(o.outlet);s&&this.deactivateChildRoutes(t,n,s.children)}else this.deactivateChildRoutes(t,n,r);else i&&this.deactivateRouteAndItsChildren(n,r)}deactivateRouteAndItsChildren(t,n){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,n):this.deactivateRouteAndOutlet(t,n)}detachAndStoreRouteSubtree(t,n){const r=n.getContext(t.value.outlet),o=r&&t.value.component?r.children:n,i=Yo(t);for(const s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);if(r&&r.outlet){const s=r.outlet.detach(),a=r.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:s,route:t,contexts:a})}}deactivateRouteAndOutlet(t,n){const r=n.getContext(t.value.outlet),o=r&&t.value.component?r.children:n,i=Yo(t);for(const s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);r&&(r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated()),r.attachRef=null,r.route=null)}activateChildRoutes(t,n,r){const o=Yo(n);t.children.forEach(i=>{this.activateRoutes(i,o[i.value.outlet],r),this.forwardEvent(new m2(i.value.snapshot))}),t.children.length&&this.forwardEvent(new p2(t.value.snapshot))}activateRoutes(t,n,r){const o=t.value,i=n?n.value:null;if(Vh(o),o===i)if(o.component){const s=r.getOrCreateContext(o.outlet);this.activateChildRoutes(t,n,s.children)}else this.activateChildRoutes(t,n,r);else if(o.component){const s=r.getOrCreateContext(o.outlet);if(this.routeReuseStrategy.shouldAttach(o.snapshot)){const a=this.routeReuseStrategy.retrieve(o.snapshot);this.routeReuseStrategy.store(o.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),Vh(a.route.value),this.activateChildRoutes(t,null,s.children)}else{const a=Ts(o.snapshot);s.attachRef=null,s.route=o,s.injector=a,s.outlet&&s.outlet.activateWith(o,s.injector),this.activateChildRoutes(t,null,s.children)}}else this.activateChildRoutes(t,null,r)}}class YE{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class nl{constructor(t,n){this.component=t,this.route=n}}function x2(e,t,n){const r=e._root;return As(r,t?t._root:null,n,[r.value])}function Jo(e,t){const n=Symbol(),r=t.get(e,n);return r===n?"function"!=typeof e||function nM(e){return null!==Bs(e)}(e)?t.get(e):e:r}function As(e,t,n,r,o={canDeactivateChecks:[],canActivateChecks:[]}){const i=Yo(t);return e.children.forEach(s=>{(function O2(e,t,n,r,o={canDeactivateChecks:[],canActivateChecks:[]}){const i=e.value,s=t?t.value:null,a=n?n.getContext(e.value.outlet):null;if(s&&i.routeConfig===s.routeConfig){const u=function F2(e,t,n){if("function"==typeof n)return n(e,t);switch(n){case"pathParamsChange":return!Or(e.url,t.url);case"pathParamsOrQueryParamsChange":return!Or(e.url,t.url)||!gn(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!jh(e,t)||!gn(e.queryParams,t.queryParams);default:return!jh(e,t)}}(s,i,i.routeConfig.runGuardsAndResolvers);u?o.canActivateChecks.push(new YE(r)):(i.data=s.data,i._resolvedData=s._resolvedData),As(e,t,i.component?a?a.children:null:n,r,o),u&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new nl(a.outlet.component,s))}else s&&Ns(t,a,o),o.canActivateChecks.push(new YE(r)),As(e,null,i.component?a?a.children:null:n,r,o)})(s,i[s.value.outlet],n,r.concat([s.value]),o),delete i[s.value.outlet]}),Object.entries(i).forEach(([s,a])=>Ns(a,n.getContext(s),o)),o}function Ns(e,t,n){const r=Yo(e),o=e.value;Object.entries(r).forEach(([i,s])=>{Ns(s,o.component?t?t.children.getContext(i):null:t,n)}),n.canDeactivateChecks.push(new nl(o.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,o))}function xs(e){return"function"==typeof e}function KE(e){return e instanceof Hu||"EmptyError"===e?.name}const rl=Symbol("INITIAL_VALUE");function Xo(){return pn(e=>Dh(e.map(t=>t.pipe(Ho(1),function MV(...e){const t=Bu(e);return ze((n,r)=>{(t?Ch(e,n,t):Ch(e,n)).subscribe(r)})}(rl)))).pipe(ne(t=>{for(const n of t)if(!0!==n){if(n===rl)return rl;if(!1===n||n instanceof qo)return n}return!0}),rr(t=>t!==rl),Ho(1)))}function JE(e){return function BI(...e){return Fp(e)}(et(t=>{if(Fr(t))throw qE(0,t)}),ne(t=>!0===t))}class Hh{constructor(t){this.segmentGroup=t||null}}class Gh extends Error{constructor(t){super(),this.urlTree=t}}function ei(e){return Gu(new Hh(e))}class ej{constructor(t,n){this.urlSerializer=t,this.urlTree=n}lineralizeSegments(t,n){let r=[],o=n.root;for(;;){if(r=r.concat(o.segments),0===o.numberOfChildren)return k(r);if(o.numberOfChildren>1||!o.children[G])return Gu(new _(4e3,!1));o=o.children[G]}}applyRedirectCommands(t,n,r){const o=this.applyRedirectCreateUrlTree(n,this.urlSerializer.parse(n),t,r);if(n.startsWith("/"))throw new Gh(o);return o}applyRedirectCreateUrlTree(t,n,r,o){const i=this.createSegmentGroup(t,n.root,r,o);return new qo(i,this.createQueryParams(n.queryParams,this.urlTree.queryParams),n.fragment)}createQueryParams(t,n){const r={};return Object.entries(t).forEach(([o,i])=>{if("string"==typeof i&&i.startsWith(":")){const a=i.substring(1);r[o]=n[a]}else r[o]=i}),r}createSegmentGroup(t,n,r,o){const i=this.createSegments(t,n.segments,r,o);let s={};return Object.entries(n.children).forEach(([a,u])=>{s[a]=this.createSegmentGroup(t,u,r,o)}),new se(i,s)}createSegments(t,n,r,o){return n.map(i=>i.path.startsWith(":")?this.findPosParam(t,i,o):this.findOrReturn(i,r))}findPosParam(t,n,r){const o=r[n.path.substring(1)];if(!o)throw new _(4001,!1);return o}findOrReturn(t,n){let r=0;for(const o of n){if(o.path===t.path)return n.splice(r),o;r++}return t}}const zh={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function tj(e,t,n,r,o){const i=qh(e,t,n);return i.matched?(r=function b2(e,t){return e.providers&&!e._injector&&(e._injector=Cf(e.providers,t,`Route: ${e.path}`)),e._injector??t}(t,r),function K2(e,t,n,r){const o=t.canMatch;return o&&0!==o.length?k(o.map(s=>{const a=Jo(s,e);return or(function U2(e){return e&&xs(e.canMatch)}(a)?a.canMatch(t,n):_r(e,()=>a(t,n)))})).pipe(Xo(),JE()):k(!0)}(r,t,n).pipe(ne(s=>!0===s?i:{...zh}))):k(i)}function qh(e,t,n){if("**"===t.path)return function nj(e){return{matched:!0,parameters:e.length>0?_E(e).parameters:{},consumedSegments:e,remainingSegments:[],positionalParamSegments:{}}}(n);if(""===t.path)return"full"===t.pathMatch&&(e.hasChildren()||n.length>0)?{...zh}:{matched:!0,consumedSegments:[],remainingSegments:n,parameters:{},positionalParamSegments:{}};const o=(t.matcher||FV)(n,e,t);if(!o)return{...zh};const i={};Object.entries(o.posParams??{}).forEach(([a,u])=>{i[a]=u.path});const s=o.consumed.length>0?{...i,...o.consumed[o.consumed.length-1].parameters}:i;return{matched:!0,consumedSegments:o.consumed,remainingSegments:n.slice(o.consumed.length),parameters:s,positionalParamSegments:o.posParams??{}}}function XE(e,t,n,r){return n.length>0&&function ij(e,t,n){return n.some(r=>ol(e,t,r)&&vn(r)!==G)}(e,n,r)?{segmentGroup:new se(t,oj(r,new se(n,e.children))),slicedSegments:[]}:0===n.length&&function sj(e,t,n){return n.some(r=>ol(e,t,r))}(e,n,r)?{segmentGroup:new se(e.segments,rj(e,n,r,e.children)),slicedSegments:n}:{segmentGroup:new se(e.segments,e.children),slicedSegments:n}}function rj(e,t,n,r){const o={};for(const i of n)if(ol(e,t,i)&&!r[vn(i)]){const s=new se([],{});o[vn(i)]=s}return{...r,...o}}function oj(e,t){const n={};n[G]=t;for(const r of e)if(""===r.path&&vn(r)!==G){const o=new se([],{});n[vn(r)]=o}return n}function ol(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path}class lj{}class fj{constructor(t,n,r,o,i,s,a){this.injector=t,this.configLoader=n,this.rootComponentType=r,this.config=o,this.urlTree=i,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new ej(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(t){return new _(4002,`'${t.segmentGroup}'`)}recognize(){const t=XE(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(t).pipe(ne(n=>{const r=new kh([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},G,this.rootComponentType,null,{}),o=new Zt(r,n),i=new BE("",o),s=function e2(e,t,n=null,r=null){return xE(NE(e),t,n,r)}(r,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,i.url=this.urlSerializer.serialize(s),this.inheritParamsAndData(i._root,null),{state:i,tree:s}}))}match(t){return this.processSegmentGroup(this.injector,this.config,t,G).pipe(Go(r=>{if(r instanceof Gh)return this.urlTree=r.urlTree,this.match(r.urlTree.root);throw r instanceof Hh?this.noMatchError(r):r}))}inheritParamsAndData(t,n){const r=t.value,o=Ph(r,n,this.paramsInheritanceStrategy);r.params=Object.freeze(o.params),r.data=Object.freeze(o.data),t.children.forEach(i=>this.inheritParamsAndData(i,r))}processSegmentGroup(t,n,r,o){return 0===r.segments.length&&r.hasChildren()?this.processChildren(t,n,r):this.processSegment(t,n,r,r.segments,o,!0).pipe(ne(i=>i instanceof Zt?[i]:[]))}processChildren(t,n,r){const o=[];for(const i of Object.keys(r.children))"primary"===i?o.unshift(i):o.push(i);return Ge(o).pipe(_s(i=>{const s=r.children[i],a=function T2(e,t){const n=e.filter(r=>vn(r)===t);return n.push(...e.filter(r=>vn(r)!==t)),n}(n,i);return this.processSegmentGroup(t,a,s,i)}),function AV(e,t){return ze(function TV(e,t,n,r,o){return(i,s)=>{let a=n,u=t,l=0;i.subscribe(Fe(s,c=>{const d=l++;u=a?e(u,c,d):(a=!0,c),r&&s.next(u)},o&&(()=>{a&&s.next(u),s.complete()})))}}(e,t,arguments.length>=2,!0))}((i,s)=>(i.push(...s),i)),zu(null),function NV(e,t){const n=arguments.length>=2;return r=>r.pipe(e?rr((o,i)=>e(o,i,r)):cr,Eh(1),n?zu(t):vE(()=>new Hu))}(),Xe(i=>{if(null===i)return ei(r);const s=eb(i);return function hj(e){e.sort((t,n)=>t.value.outlet===G?-1:n.value.outlet===G?1:t.value.outlet.localeCompare(n.value.outlet))}(s),k(s)}))}processSegment(t,n,r,o,i,s){return Ge(n).pipe(_s(a=>this.processSegmentAgainstRoute(a._injector??t,n,a,r,o,i,s).pipe(Go(u=>{if(u instanceof Hh)return k(null);throw u}))),Rr(a=>!!a),Go(a=>{if(KE(a))return function uj(e,t,n){return 0===t.length&&!e.children[n]}(r,o,i)?k(new lj):ei(r);throw a}))}processSegmentAgainstRoute(t,n,r,o,i,s,a){return function aj(e,t,n,r){return!!(vn(e)===r||r!==G&&ol(t,n,e))&&qh(t,e,n).matched}(r,o,i,s)?void 0===r.redirectTo?this.matchSegmentAgainstRoute(t,o,r,i,s):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(t,o,n,r,i,s):ei(o):ei(o)}expandSegmentAgainstRouteUsingRedirect(t,n,r,o,i,s){const{matched:a,consumedSegments:u,positionalParamSegments:l,remainingSegments:c}=qh(n,o,i);if(!a)return ei(n);o.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const d=this.applyRedirects.applyRedirectCommands(u,o.redirectTo,l);return this.applyRedirects.lineralizeSegments(o,d).pipe(Xe(f=>this.processSegment(t,r,n,f.concat(c),s,!1)))}matchSegmentAgainstRoute(t,n,r,o,i){const s=tj(n,r,o,t);return"**"===r.path&&(n.children={}),s.pipe(pn(a=>a.matched?this.getChildConfig(t=r._injector??t,r,o).pipe(pn(({routes:u})=>{const l=r._loadedInjector??t,{consumedSegments:c,remainingSegments:d,parameters:f}=a,h=new kh(c,f,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,function gj(e){return e.data||{}}(r),vn(r),r.component??r._loadedComponent??null,r,function mj(e){return e.resolve||{}}(r)),{segmentGroup:p,slicedSegments:g}=XE(n,c,d,u);if(0===g.length&&p.hasChildren())return this.processChildren(l,u,p).pipe(ne(D=>null===D?null:new Zt(h,D)));if(0===u.length&&0===g.length)return k(new Zt(h,[]));const y=vn(r)===i;return this.processSegment(l,u,p,g,y?G:i,!0).pipe(ne(D=>new Zt(h,D instanceof Zt?[D]:[])))})):ei(n)))}getChildConfig(t,n,r){return n.children?k({routes:n.children,injector:t}):n.loadChildren?void 0!==n._loadedRoutes?k({routes:n._loadedRoutes,injector:n._loadedInjector}):function Y2(e,t,n,r){const o=t.canLoad;return void 0===o||0===o.length?k(!0):k(o.map(s=>{const a=Jo(s,e);return or(function k2(e){return e&&xs(e.canLoad)}(a)?a.canLoad(t,n):_r(e,()=>a(t,n)))})).pipe(Xo(),JE())}(t,n,r).pipe(Xe(o=>o?this.configLoader.loadChildren(t,n).pipe(et(i=>{n._loadedRoutes=i.routes,n._loadedInjector=i.injector})):function X2(e){return Gu(WE(!1,kt.GuardRejected))}())):k({routes:[],injector:t})}}function pj(e){const t=e.value.routeConfig;return t&&""===t.path}function eb(e){const t=[],n=new Set;for(const r of e){if(!pj(r)){t.push(r);continue}const o=t.find(i=>r.value.routeConfig===i.value.routeConfig);void 0!==o?(o.children.push(...r.children),n.add(o)):t.push(r)}for(const r of n){const o=eb(r.children);t.push(new Zt(r.value,o))}return t.filter(r=>!n.has(r))}function tb(e){const t=e.children.map(n=>tb(n)).flat();return[e,...t]}function Wh(e){return pn(t=>{const n=e(t);return n?Ge(n).pipe(ne(()=>t)):k(t)})}let nb=(()=>{class e{buildTitle(n){let r,o=n.root;for(;void 0!==o;)r=this.getResolvedTitleForRoute(o)??r,o=o.children.find(i=>i.outlet===G);return r}getResolvedTitleForRoute(n){return n.data[Ds]}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=T({token:e,factory:()=>E(wj),providedIn:"root"})}return e})(),wj=(()=>{class e extends nb{constructor(n){super(),this.title=n}updateTitle(n){const r=this.buildTitle(n);void 0!==r&&this.title.setTitle(r)}static#e=this.\u0275fac=function(r){return new(r||e)(O(Hw))};static#t=this.\u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const ti=new S("",{providedIn:"root",factory:()=>({})}),ni=new S("ROUTES");let Zh=(()=>{class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=E(yC)}loadComponent(n){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return k(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);const r=or(n.loadComponent()).pipe(ne(rb),et(i=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=i}),bh(()=>{this.componentLoaders.delete(n)})),o=new mE(r,()=>new Yt).pipe(wh());return this.componentLoaders.set(n,o),o}loadChildren(n,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return k({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);const i=function Ej(e,t,n,r){return or(e.loadChildren()).pipe(ne(rb),Xe(o=>o instanceof UD||Array.isArray(o)?k(o):Ge(t.compileModuleAsync(o))),ne(o=>{r&&r(e);let i,s,a=!1;return Array.isArray(o)?(s=o,!0):(i=o.create(n).injector,s=i.get(ni,[],{optional:!0,self:!0}).flat()),{routes:s.map(Bh),injector:i}}))}(r,this.compiler,n,this.onLoadEndListener).pipe(bh(()=>{this.childrenLoaders.delete(r)})),s=new mE(i,()=>new Yt).pipe(wh());return this.childrenLoaders.set(r,s),s}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function rb(e){return function bj(e){return e&&"object"==typeof e&&"default"in e}(e)?e.default:e}let Qh=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=T({token:e,factory:()=>E(Ij),providedIn:"root"})}return e})(),Ij=(()=>{class e{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,r){return n}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const ob=new S(""),ib=new S("");function Mj(e,t,n){const r=e.get(ib),o=e.get(Mt);return e.get(te).runOutsideAngular(()=>{if(!o.startViewTransition||r.skipNextTransition)return r.skipNextTransition=!1,Promise.resolve();let i;const s=new Promise(l=>{i=l}),a=o.startViewTransition(()=>(i(),function Sj(e){return new Promise(t=>{ry(t,{injector:e})})}(e))),{onViewTransitionCreated:u}=r;return u&&_r(e,()=>u({transition:a,from:t,to:n})),s})}let il=(()=>{class e{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new Yt,this.transitionAbortSubject=new Yt,this.configLoader=E(Zh),this.environmentInjector=E(Nt),this.urlSerializer=E(Wo),this.rootContexts=E(Ms),this.location=E(fs),this.inputBindingEnabled=null!==E(tl,{optional:!0}),this.titleStrategy=E(nb),this.options=E(ti,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=E(Qh),this.createViewTransition=E(ob,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>k(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=o=>this.events.next(new f2(o)),this.configLoader.onLoadStartListener=o=>this.events.next(new d2(o))}complete(){this.transitions?.complete()}handleNavigationRequest(n){const r=++this.navigationId;this.transitions?.next({...this.transitions.value,...n,id:r})}setupNavigations(n,r,o){return this.transitions=new Tt({id:0,currentUrlTree:r,currentRawUrl:r,extractedUrl:this.urlHandlingStrategy.extract(r),urlAfterRedirects:this.urlHandlingStrategy.extract(r),rawUrl:r,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:Is,restoredState:null,currentSnapshot:o.snapshot,targetSnapshot:null,currentRouterState:o,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(rr(i=>0!==i.id),ne(i=>({...i,extractedUrl:this.urlHandlingStrategy.extract(i.rawUrl)})),pn(i=>{this.currentTransition=i;let s=!1,a=!1;return k(i).pipe(et(u=>{this.currentNavigation={id:u.id,initialUrl:u.rawUrl,extractedUrl:u.extractedUrl,trigger:u.source,extras:u.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),pn(u=>{const l=!n.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!l&&"reload"!==(u.extras.onSameUrlNavigation??n.onSameUrlNavigation)){const d="";return this.events.next(new Qo(u.id,this.urlSerializer.serialize(u.rawUrl),d,Xu.IgnoredSameUrlNavigation)),u.resolve(null),Ln}if(this.urlHandlingStrategy.shouldProcessUrl(u.rawUrl))return k(u).pipe(pn(d=>{const f=this.transitions?.getValue();return this.events.next(new Ju(d.id,this.urlSerializer.serialize(d.extractedUrl),d.source,d.restoredState)),f!==this.transitions?.getValue()?Ln:Promise.resolve(d)}),function vj(e,t,n,r,o,i){return Xe(s=>function cj(e,t,n,r,o,i,s="emptyOnly"){return new fj(e,t,n,r,o,s,i).recognize()}(e,t,n,r,s.extractedUrl,o,i).pipe(ne(({state:a,tree:u})=>({...s,targetSnapshot:a,urlAfterRedirects:u}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,this.paramsInheritanceStrategy),et(d=>{i.targetSnapshot=d.targetSnapshot,i.urlAfterRedirects=d.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:d.urlAfterRedirects};const f=new LE(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot);this.events.next(f)}));if(l&&this.urlHandlingStrategy.shouldProcessUrl(u.currentRawUrl)){const{id:d,extractedUrl:f,source:h,restoredState:p,extras:g}=u,y=new Ju(d,this.urlSerializer.serialize(f),h,p);this.events.next(y);const D=$E(this.rootComponentType).snapshot;return this.currentTransition=i={...u,targetSnapshot:D,urlAfterRedirects:f,extras:{...g,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=f,k(i)}{const d="";return this.events.next(new Qo(u.id,this.urlSerializer.serialize(u.extractedUrl),d,Xu.IgnoredByUrlHandlingStrategy)),u.resolve(null),Ln}}),et(u=>{const l=new a2(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(l)}),ne(u=>(this.currentTransition=i={...u,guards:x2(u.targetSnapshot,u.currentSnapshot,this.rootContexts)},i)),function B2(e,t){return Xe(n=>{const{targetSnapshot:r,currentSnapshot:o,guards:{canActivateChecks:i,canDeactivateChecks:s}}=n;return 0===s.length&&0===i.length?k({...n,guardsResult:!0}):function H2(e,t,n,r){return Ge(e).pipe(Xe(o=>function Q2(e,t,n,r,o){const i=t&&t.routeConfig?t.routeConfig.canDeactivate:null;return i&&0!==i.length?k(i.map(a=>{const u=Ts(t)??o,l=Jo(a,u);return or(function j2(e){return e&&xs(e.canDeactivate)}(l)?l.canDeactivate(e,t,n,r):_r(u,()=>l(e,t,n,r))).pipe(Rr())})).pipe(Xo()):k(!0)}(o.component,o.route,n,t,r)),Rr(o=>!0!==o,!0))}(s,r,o,e).pipe(Xe(a=>a&&function P2(e){return"boolean"==typeof e}(a)?function G2(e,t,n,r){return Ge(t).pipe(_s(o=>Ch(function q2(e,t){return null!==e&&t&&t(new h2(e)),k(!0)}(o.route.parent,r),function z2(e,t){return null!==e&&t&&t(new g2(e)),k(!0)}(o.route,r),function Z2(e,t,n){const r=t[t.length-1],i=t.slice(0,t.length-1).reverse().map(s=>function R2(e){const t=e.routeConfig?e.routeConfig.canActivateChild:null;return t&&0!==t.length?{node:e,guards:t}:null}(s)).filter(s=>null!==s).map(s=>gE(()=>k(s.guards.map(u=>{const l=Ts(s.node)??n,c=Jo(u,l);return or(function V2(e){return e&&xs(e.canActivateChild)}(c)?c.canActivateChild(r,e):_r(l,()=>c(r,e))).pipe(Rr())})).pipe(Xo())));return k(i).pipe(Xo())}(e,o.path,n),function W2(e,t,n){const r=t.routeConfig?t.routeConfig.canActivate:null;if(!r||0===r.length)return k(!0);const o=r.map(i=>gE(()=>{const s=Ts(t)??n,a=Jo(i,s);return or(function L2(e){return e&&xs(e.canActivate)}(a)?a.canActivate(t,e):_r(s,()=>a(t,e))).pipe(Rr())}));return k(o).pipe(Xo())}(e,o.route,n))),Rr(o=>!0!==o,!0))}(r,i,e,t):k(a)),ne(a=>({...n,guardsResult:a})))})}(this.environmentInjector,u=>this.events.next(u)),et(u=>{if(i.guardsResult=u.guardsResult,Fr(u.guardsResult))throw qE(0,u.guardsResult);const l=new u2(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot,!!u.guardsResult);this.events.next(l)}),rr(u=>!!u.guardsResult||(this.cancelNavigationTransition(u,"",kt.GuardRejected),!1)),Wh(u=>{if(u.guards.canActivateChecks.length)return k(u).pipe(et(l=>{const c=new l2(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(c)}),pn(l=>{let c=!1;return k(l).pipe(function yj(e,t){return Xe(n=>{const{targetSnapshot:r,guards:{canActivateChecks:o}}=n;if(!o.length)return k(n);const i=new Set(o.map(u=>u.route)),s=new Set;for(const u of i)if(!s.has(u))for(const l of tb(u))s.add(l);let a=0;return Ge(s).pipe(_s(u=>i.has(u)?function _j(e,t,n,r){const o=e.routeConfig,i=e._resolve;return void 0!==o?.title&&!GE(o)&&(i[Ds]=o.title),function Dj(e,t,n,r){const o=Ih(e);if(0===o.length)return k({});const i={};return Ge(o).pipe(Xe(s=>function Cj(e,t,n,r){const o=Ts(t)??r,i=Jo(e,o);return or(i.resolve?i.resolve(t,n):_r(o,()=>i(t,n)))}(e[s],t,n,r).pipe(Rr(),et(a=>{i[s]=a}))),Eh(1),function xV(e){return ne(()=>e)}(i),Go(s=>KE(s)?Ln:Gu(s)))}(i,e,t,r).pipe(ne(s=>(e._resolvedData=s,e.data=Ph(e,e.parent,n).resolve,null)))}(u,r,e,t):(u.data=Ph(u,u.parent,e).resolve,k(void 0))),et(()=>a++),Eh(1),Xe(u=>a===s.size?k(n):Ln))})}(this.paramsInheritanceStrategy,this.environmentInjector),et({next:()=>c=!0,complete:()=>{c||this.cancelNavigationTransition(l,"",kt.NoDataFromResolver)}}))}),et(l=>{const c=new c2(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(c)}))}),Wh(u=>{const l=c=>{const d=[];c.routeConfig?.loadComponent&&!c.routeConfig._loadedComponent&&d.push(this.configLoader.loadComponent(c.routeConfig).pipe(et(f=>{c.component=f}),ne(()=>{})));for(const f of c.children)d.push(...l(f));return d};return Dh(l(u.targetSnapshot.root)).pipe(zu(null),Ho(1))}),Wh(()=>this.afterPreactivation()),pn(()=>{const{currentSnapshot:u,targetSnapshot:l}=i,c=this.createViewTransition?.(this.environmentInjector,u.root,l.root);return c?Ge(c).pipe(ne(()=>i)):k(i)}),ne(u=>{const l=function D2(e,t,n){const r=Ss(e,t._root,n?n._root:void 0);return new UE(r,t)}(n.routeReuseStrategy,u.targetSnapshot,u.currentRouterState);return this.currentTransition=i={...u,targetRouterState:l},this.currentNavigation.targetRouterState=l,i}),et(()=>{this.events.next(new xh)}),((e,t,n,r)=>ne(o=>(new N2(t,o.targetRouterState,o.currentRouterState,n,r).activate(e),o)))(this.rootContexts,n.routeReuseStrategy,u=>this.events.next(u),this.inputBindingEnabled),Ho(1),et({next:u=>{s=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Vn(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects))),this.titleStrategy?.updateTitle(u.targetRouterState.snapshot),u.resolve(!0)},complete:()=>{s=!0}}),function RV(e){return ze((t,n)=>{hn(e).subscribe(Fe(n,()=>n.complete(),Ml)),!n.closed&&t.subscribe(n)})}(this.transitionAbortSubject.pipe(et(u=>{throw u}))),bh(()=>{!s&&!a&&this.cancelNavigationTransition(i,"",kt.SupersededByNewNavigation),this.currentNavigation?.id===i.id&&(this.currentNavigation=null)}),Go(u=>{if(a=!0,ZE(u))this.events.next(new Zo(i.id,this.urlSerializer.serialize(i.extractedUrl),u.message,u.cancellationCode)),function E2(e){return ZE(e)&&Fr(e.url)}(u)?this.events.next(new Rh(u.url)):i.resolve(!1);else{this.events.next(new el(i.id,this.urlSerializer.serialize(i.extractedUrl),u,i.targetSnapshot??void 0));try{i.resolve(n.errorHandler(u))}catch(l){this.options.resolveNavigationPromiseOnError?i.resolve(!1):i.reject(l)}}return Ln}))}))}cancelNavigationTransition(n,r,o){const i=new Zo(n.id,this.urlSerializer.serialize(n.extractedUrl),r,o);this.events.next(i),n.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Tj(e){return e!==Is}let Aj=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=T({token:e,factory:()=>E(xj),providedIn:"root"})}return e})();class Nj{shouldDetach(t){return!1}store(t,n){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,n){return t.routeConfig===n.routeConfig}}let xj=(()=>{class e extends Nj{static#e=this.\u0275fac=(()=>{let n;return function(o){return(n||(n=Be(e)))(o||e)}})();static#t=this.\u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),sb=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=T({token:e,factory:()=>E(Rj),providedIn:"root"})}return e})(),Rj=(()=>{class e extends sb{constructor(){super(...arguments),this.location=E(fs),this.urlSerializer=E(Wo),this.options=E(ti,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=E(Qh),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new qo,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=$E(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(n){return this.location.subscribe(r=>{"popstate"===r.type&&n(r.url,r.state)})}handleRouterEvent(n,r){if(n instanceof Ju)this.stateMemento=this.createStateMemento();else if(n instanceof Qo)this.rawUrlTree=r.initialUrl;else if(n instanceof LE){if("eager"===this.urlUpdateStrategy&&!r.extras.skipLocationChange){const o=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl);this.setBrowserUrl(o,r)}}else n instanceof xh?(this.currentUrlTree=r.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl),this.routerState=r.targetRouterState,"deferred"===this.urlUpdateStrategy&&(r.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,r))):n instanceof Zo&&(n.code===kt.GuardRejected||n.code===kt.NoDataFromResolver)?this.restoreHistory(r):n instanceof el?this.restoreHistory(r,!0):n instanceof Vn&&(this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId)}setBrowserUrl(n,r){const o=this.urlSerializer.serialize(n);if(this.location.isCurrentPathEqualTo(o)||r.extras.replaceUrl){const s={...r.extras.state,...this.generateNgRouterState(r.id,this.browserPageId)};this.location.replaceState(o,"",s)}else{const i={...r.extras.state,...this.generateNgRouterState(r.id,this.browserPageId+1)};this.location.go(o,"",i)}}restoreHistory(n,r=!1){if("computed"===this.canceledNavigationResolution){const i=this.currentPageId-this.browserPageId;0!==i?this.location.historyGo(i):this.currentUrlTree===n.finalUrl&&0===i&&(this.resetState(n),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(r&&this.resetState(n),this.resetUrlToCurrentUrlTree())}resetState(n){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(n,r){return"computed"===this.canceledNavigationResolution?{navigationId:n,\u0275routerPageId:r}:{navigationId:n}}static#e=this.\u0275fac=(()=>{let n;return function(o){return(n||(n=Be(e)))(o||e)}})();static#t=this.\u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Rs=function(e){return e[e.COMPLETE=0]="COMPLETE",e[e.FAILED=1]="FAILED",e[e.REDIRECTING=2]="REDIRECTING",e}(Rs||{});function ab(e,t){e.events.pipe(rr(n=>n instanceof Vn||n instanceof Zo||n instanceof el||n instanceof Qo),ne(n=>n instanceof Vn||n instanceof Qo?Rs.COMPLETE:n instanceof Zo&&(n.code===kt.Redirect||n.code===kt.SupersededByNewNavigation)?Rs.REDIRECTING:Rs.FAILED),rr(n=>n!==Rs.REDIRECTING),Ho(1)).subscribe(()=>{t()})}function Oj(e){throw e}const Fj={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Pj={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Qt=(()=>{class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.isNgZoneEnabled=!1,this.console=E(vC),this.stateManager=E(sb),this.options=E(ti,{optional:!0})||{},this.pendingTasks=E(yu),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=E(il),this.urlSerializer=E(Wo),this.location=E(fs),this.urlHandlingStrategy=E(Qh),this._events=new Yt,this.errorHandler=this.options.errorHandler||Oj,this.navigated=!1,this.routeReuseStrategy=E(Aj),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=E(ni,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!E(tl,{optional:!0}),this.eventsSubscription=new dt,this.isNgZoneEnabled=E(te)instanceof te&&te.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:n=>{this.console.warn(n)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const n=this.navigationTransitions.events.subscribe(r=>{try{const o=this.navigationTransitions.currentTransition,i=this.navigationTransitions.currentNavigation;if(null!==o&&null!==i)if(this.stateManager.handleRouterEvent(r,i),r instanceof Zo&&r.code!==kt.Redirect&&r.code!==kt.SupersededByNewNavigation)this.navigated=!0;else if(r instanceof Vn)this.navigated=!0;else if(r instanceof Rh){const s=this.urlHandlingStrategy.merge(r.url,o.currentRawUrl),a={info:o.extras.info,skipLocationChange:o.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||Tj(o.source)};this.scheduleNavigation(s,Is,null,a,{resolve:o.resolve,reject:o.reject,promise:o.promise})}(function Lj(e){return!(e instanceof xh||e instanceof Rh)})(r)&&this._events.next(r)}catch(o){this.navigationTransitions.transitionAbortSubject.next(o)}});this.eventsSubscription.add(n)}resetRootComponentType(n){this.routerState.root.component=n,this.navigationTransitions.rootComponentType=n}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Is,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((n,r)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(n,"popstate",r)},0)})}navigateToSyncWithBrowser(n,r,o){const i={replaceUrl:!0},s=o?.navigationId?o:null;if(o){const u={...o};delete u.navigationId,delete u.\u0275routerPageId,0!==Object.keys(u).length&&(i.state=u)}const a=this.parseUrl(n);this.scheduleNavigation(a,r,s,i)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(n){this.config=n.map(Bh),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(n,r={}){const{relativeTo:o,queryParams:i,fragment:s,queryParamsHandling:a,preserveFragment:u}=r,l=u?this.currentUrlTree.fragment:s;let d,c=null;switch(a){case"merge":c={...this.currentUrlTree.queryParams,...i};break;case"preserve":c=this.currentUrlTree.queryParams;break;default:c=i||null}null!==c&&(c=this.removeEmptyProps(c));try{d=NE(o?o.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof n[0]||!n[0].startsWith("/"))&&(n=[]),d=this.currentUrlTree.root}return xE(d,n,c,l??null)}navigateByUrl(n,r={skipLocationChange:!1}){const o=Fr(n)?n:this.parseUrl(n),i=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(i,Is,null,r)}navigate(n,r={skipLocationChange:!1}){return function kj(e){for(let t=0;t(null!=i&&(r[o]=i),r),{})}scheduleNavigation(n,r,o,i,s){if(this.disposed)return Promise.resolve(!1);let a,u,l;s?(a=s.resolve,u=s.reject,l=s.promise):l=new Promise((d,f)=>{a=d,u=f});const c=this.pendingTasks.add();return ab(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(c))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:n,extras:i,resolve:a,reject:u,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(d=>Promise.reject(d))}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();class ub{}let Uj=(()=>{class e{constructor(n,r,o,i,s){this.router=n,this.injector=o,this.preloadingStrategy=i,this.loader=s}setUpPreloading(){this.subscription=this.router.events.pipe(rr(n=>n instanceof Vn),_s(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(n,r){const o=[];for(const i of r){i.providers&&!i._injector&&(i._injector=Cf(i.providers,n,`Route: ${i.path}`));const s=i._injector??n,a=i._loadedInjector??s;(i.loadChildren&&!i._loadedRoutes&&void 0===i.canLoad||i.loadComponent&&!i._loadedComponent)&&o.push(this.preloadConfig(s,i)),(i.children||i._loadedRoutes)&&o.push(this.processRoutes(a,i.children??i._loadedRoutes))}return Ge(o).pipe(ys())}preloadConfig(n,r){return this.preloadingStrategy.preload(r,()=>{let o;o=r.loadChildren&&void 0===r.canLoad?this.loader.loadChildren(n,r):k(null);const i=o.pipe(Xe(s=>null===s?k(void 0):(r._loadedRoutes=s.routes,r._loadedInjector=s.injector,this.processRoutes(s.injector??n,s.routes))));return r.loadComponent&&!r._loadedComponent?Ge([i,this.loader.loadComponent(r)]).pipe(ys()):i})}static#e=this.\u0275fac=function(r){return new(r||e)(O(Qt),O(yC),O(Nt),O(ub),O(Zh))};static#t=this.\u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Kh=new S("");let lb=(()=>{class e{constructor(n,r,o,i,s={}){this.urlSerializer=n,this.transitions=r,this.viewportScroller=o,this.zone=i,this.options=s,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},s.scrollPositionRestoration||="disabled",s.anchorScrolling||="disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof Ju?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=n.navigationTrigger,this.restoredId=n.restoredState?n.restoredState.navigationId:0):n instanceof Vn?(this.lastId=n.id,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.urlAfterRedirects).fragment)):n instanceof Qo&&n.code===Xu.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof VE&&(n.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(n.position):n.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(n.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(n,r){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new VE(n,"popstate"===this.lastSource?this.store[this.restoredId]:null,r))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static#e=this.\u0275fac=function(r){!function Ov(){throw new Error("invalid")}()};static#t=this.\u0275prov=T({token:e,factory:e.\u0275fac})}return e})();function yn(e,t){return{\u0275kind:e,\u0275providers:t}}function db(){const e=E(mt);return t=>{const n=e.get(Ar);if(t!==n.components[0])return;const r=e.get(Qt),o=e.get(fb);1===e.get(Jh)&&r.initialNavigation(),e.get(hb,null,q.Optional)?.setUpPreloading(),e.get(Kh,null,q.Optional)?.init(),r.resetRootComponentType(n.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}const fb=new S("",{factory:()=>new Yt}),Jh=new S("",{providedIn:"root",factory:()=>1}),hb=new S("");function Gj(e){return yn(0,[{provide:hb,useExisting:Uj},{provide:ub,useExisting:e}])}function qj(e){return yn(9,[{provide:ob,useValue:Mj},{provide:ib,useValue:{skipNextTransition:!!e?.skipInitialTransition,...e}}])}const pb=new S("ROUTER_FORROOT_GUARD"),Wj=[fs,{provide:Wo,useClass:Mh},Qt,Ms,{provide:Ko,useFactory:function cb(e){return e.routerState.root},deps:[Qt]},Zh,[]];let gb=(()=>{class e{constructor(n){}static forRoot(n,r){return{ngModule:e,providers:[Wj,[],{provide:ni,multi:!0,useValue:n},{provide:pb,useFactory:Kj,deps:[[Qt,new fa,new ha]]},{provide:ti,useValue:r||{}},r?.useHash?{provide:xr,useClass:cP}:{provide:xr,useClass:sw},{provide:Kh,useFactory:()=>{const e=E(xk),t=E(te),n=E(ti),r=E(il),o=E(Wo);return n.scrollOffset&&e.setOffset(n.scrollOffset),new lb(o,r,e,t,n)}},r?.preloadingStrategy?Gj(r.preloadingStrategy).\u0275providers:[],r?.initialNavigation?Jj(r):[],r?.bindToComponentInputs?yn(8,[zE,{provide:tl,useExisting:zE}]).\u0275providers:[],r?.enableViewTransitions?qj().\u0275providers:[],[{provide:mb,useFactory:db},{provide:Of,multi:!0,useExisting:mb}]]}}static forChild(n){return{ngModule:e,providers:[{provide:ni,multi:!0,useValue:n}]}}static#e=this.\u0275fac=function(r){return new(r||e)(O(pb,8))};static#t=this.\u0275mod=Jt({type:e});static#n=this.\u0275inj=Lt({})}return e})();function Kj(e){return"guarded"}function Jj(e){return["disabled"===e.initialNavigation?yn(3,[{provide:xf,multi:!0,useFactory:()=>{const t=E(Qt);return()=>{t.setUpLocationChangeListener()}}},{provide:Jh,useValue:2}]).\u0275providers:[],"enabledBlocking"===e.initialNavigation?yn(2,[{provide:Jh,useValue:0},{provide:xf,multi:!0,deps:[mt],useFactory:t=>{const n=t.get(uP,Promise.resolve());return()=>n.then(()=>new Promise(r=>{const o=t.get(Qt),i=t.get(fb);ab(o,()=>{r(!0)}),t.get(il).afterPreactivation=()=>(r(!0),i.closed?k(void 0):i),o.initialNavigation()}))}}]).\u0275providers:[]]}const mb=new S("");let vb=(()=>{class e{constructor(n,r){this._renderer=n,this._elementRef=r,this.onChange=o=>{},this.onTouched=()=>{}}setProperty(n,r){this._renderer.setProperty(this._elementRef.nativeElement,n,r)}registerOnTouched(n){this.onTouched=n}registerOnChange(n){this.onChange=n}setDisabledState(n){this.setProperty("disabled",n)}static#e=this.\u0275fac=function(r){return new(r||e)(C(Mn),C(bt))};static#t=this.\u0275dir=P({type:e})}return e})(),Pr=(()=>{class e extends vb{static#e=this.\u0275fac=(()=>{let n;return function(o){return(n||(n=Be(e)))(o||e)}})();static#t=this.\u0275dir=P({type:e,features:[oe]})}return e})();const _n=new S("NgValueAccessor"),nU={provide:_n,useExisting:ue(()=>sl),multi:!0},oU=new S("CompositionEventMode");let sl=(()=>{class e extends vb{constructor(n,r,o){super(n,r),this._compositionMode=o,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function rU(){const e=er()?er().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(n){this.setProperty("value",n??"")}_handleInput(n){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(n)}_compositionStart(){this._composing=!0}_compositionEnd(n){this._composing=!1,this._compositionMode&&this.onChange(n)}static#e=this.\u0275fac=function(r){return new(r||e)(C(Mn),C(bt),C(oU,8))};static#t=this.\u0275dir=P({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,o){1&r&&he("input",function(s){return o._handleInput(s.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(s){return o._compositionEnd(s.target.value)})},features:[_e([nU]),oe]})}return e})();const tt=new S("NgValidators"),sr=new S("NgAsyncValidators");function Tb(e){return null!=e}function Ab(e){return os(e)?Ge(e):e}function Nb(e){let t={};return e.forEach(n=>{t=null!=n?{...t,...n}:t}),0===Object.keys(t).length?null:t}function xb(e,t){return t.map(n=>n(e))}function Rb(e){return e.map(t=>function sU(e){return!e.validate}(t)?t:n=>t.validate(n))}function Xh(e){return null!=e?function Ob(e){if(!e)return null;const t=e.filter(Tb);return 0==t.length?null:function(n){return Nb(xb(n,t))}}(Rb(e)):null}function ep(e){return null!=e?function Fb(e){if(!e)return null;const t=e.filter(Tb);return 0==t.length?null:function(n){return function eU(...e){const t=cE(e),{args:n,keys:r}=dE(e),o=new $e(i=>{const{length:s}=n;if(!s)return void i.complete();const a=new Array(s);let u=s,l=s;for(let c=0;c{d||(d=!0,l--),a[c]=f},()=>u--,void 0,()=>{(!u||!d)&&(l||i.next(r?hE(r,a):a),i.complete())}))}});return t?o.pipe(fE(t)):o}(xb(n,t).map(Ab)).pipe(ne(Nb))}}(Rb(e)):null}function Pb(e,t){return null===e?[t]:Array.isArray(e)?[...e,t]:[e,t]}function tp(e){return e?Array.isArray(e)?e:[e]:[]}function ul(e,t){return Array.isArray(e)?e.includes(t):e===t}function Vb(e,t){const n=tp(t);return tp(e).forEach(o=>{ul(n,o)||n.push(o)}),n}function jb(e,t){return tp(t).filter(n=>!ul(e,n))}class Ub{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(t){this._rawValidators=t||[],this._composedValidatorFn=Xh(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=ep(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t=void 0){this.control&&this.control.reset(t)}hasError(t,n){return!!this.control&&this.control.hasError(t,n)}getError(t,n){return this.control?this.control.getError(t,n):null}}class ct extends Ub{get formDirective(){return null}get path(){return null}}class ar extends Ub{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class $b{constructor(t){this._cd=t}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let Bb=(()=>{class e extends $b{constructor(n){super(n)}static#e=this.\u0275fac=function(r){return new(r||e)(C(ar,2))};static#t=this.\u0275dir=P({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(r,o){2&r&&uu("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)},features:[oe]})}return e})();const Os="VALID",cl="INVALID",ri="PENDING",Fs="DISABLED";function dl(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}class qb{constructor(t,n){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(t),this._assignAsyncValidators(n)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get valid(){return this.status===Os}get invalid(){return this.status===cl}get pending(){return this.status==ri}get disabled(){return this.status===Fs}get enabled(){return this.status!==Fs}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._assignValidators(t)}setAsyncValidators(t){this._assignAsyncValidators(t)}addValidators(t){this.setValidators(Vb(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(Vb(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(jb(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(jb(t,this._rawAsyncValidators))}hasValidator(t){return ul(this._rawValidators,t)}hasAsyncValidator(t){return ul(this._rawAsyncValidators,t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(t=>t.markAllAsTouched())}markAsUntouched(t={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(n=>{n.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}markAsDirty(t={}){this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)}markAsPristine(t={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(n=>{n.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}markAsPending(t={}){this.status=ri,!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}disable(t={}){const n=this._parentMarkedDirty(t.onlySelf);this.status=Fs,this.errors=null,this._forEachChild(r=>{r.disable({...t,onlySelf:!0})}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...t,skipPristineCheck:n}),this._onDisabledChange.forEach(r=>r(!0))}enable(t={}){const n=this._parentMarkedDirty(t.onlySelf);this.status=Os,this._forEachChild(r=>{r.enable({...t,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors({...t,skipPristineCheck:n}),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(t){this._parent=t}getRawValue(){return this.value}updateValueAndValidity(t={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Os||this.status===ri)&&this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(n=>n._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Fs:Os}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=ri,this._hasOwnPendingAsyncValidator=!0;const n=Ab(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(r=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(r,{emitEvent:t})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(t,n={}){this.errors=t,this._updateControlsErrors(!1!==n.emitEvent)}get(t){let n=t;return null==n||(Array.isArray(n)||(n=n.split(".")),0===n.length)?null:n.reduce((r,o)=>r&&r._find(o),this)}getError(t,n){const r=n?this.get(n):this;return r&&r.errors?r.errors[t]:null}hasError(t,n){return!!this.getError(t,n)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)}_initObservables(){this.valueChanges=new Ee,this.statusChanges=new Ee}_calculateStatus(){return this._allControlsDisabled()?Fs:this.errors?cl:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(ri)?ri:this._anyControlsHaveStatus(cl)?cl:Os}_anyControlsHaveStatus(t){return this._anyControls(n=>n.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t={}){this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}_updateTouched(t={}){this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){dl(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(t){return null}_assignValidators(t){this._rawValidators=Array.isArray(t)?t.slice():t,this._composedValidatorFn=function dU(e){return Array.isArray(e)?Xh(e):e||null}(this._rawValidators)}_assignAsyncValidators(t){this._rawAsyncValidators=Array.isArray(t)?t.slice():t,this._composedAsyncValidatorFn=function fU(e){return Array.isArray(e)?ep(e):e||null}(this._rawAsyncValidators)}}const oi=new S("CallSetDisabledState",{providedIn:"root",factory:()=>fl}),fl="always";function Ps(e,t,n=fl){(function ap(e,t){const n=function kb(e){return e._rawValidators}(e);null!==t.validator?e.setValidators(Pb(n,t.validator)):"function"==typeof n&&e.setValidators([n]);const r=function Lb(e){return e._rawAsyncValidators}(e);null!==t.asyncValidator?e.setAsyncValidators(Pb(r,t.asyncValidator)):"function"==typeof r&&e.setAsyncValidators([r]);const o=()=>e.updateValueAndValidity();gl(t._rawValidators,o),gl(t._rawAsyncValidators,o)})(e,t),t.valueAccessor.writeValue(e.value),(e.disabled||"always"===n)&&t.valueAccessor.setDisabledState?.(e.disabled),function gU(e,t){t.valueAccessor.registerOnChange(n=>{e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&Wb(e,t)})}(e,t),function vU(e,t){const n=(r,o)=>{t.valueAccessor.writeValue(r),o&&t.viewToModelUpdate(r)};e.registerOnChange(n),t._registerOnDestroy(()=>{e._unregisterOnChange(n)})}(e,t),function mU(e,t){t.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&Wb(e,t),"submit"!==e.updateOn&&e.markAsTouched()})}(e,t),function pU(e,t){if(t.valueAccessor.setDisabledState){const n=r=>{t.valueAccessor.setDisabledState(r)};e.registerOnDisabledChange(n),t._registerOnDestroy(()=>{e._unregisterOnDisabledChange(n)})}}(e,t)}function gl(e,t){e.forEach(n=>{n.registerOnValidatorChange&&n.registerOnValidatorChange(t)})}function Wb(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function Yb(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function Kb(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}Promise.resolve();const Jb=class extends qb{constructor(t=null,n,r){super(function op(e){return(dl(e)?e.validators:e)||null}(n),function ip(e,t){return(dl(t)?t.asyncValidators:e)||null}(r,n)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(t),this._setUpdateStrategy(n),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),dl(n)&&(n.nonNullable||n.initialValueIsDefault)&&(this.defaultValue=Kb(t)?t.value:t)}setValue(t,n={}){this.value=this._pendingValue=t,this._onChange.length&&!1!==n.emitModelToViewChange&&this._onChange.forEach(r=>r(this.value,!1!==n.emitViewToModelChange)),this.updateValueAndValidity(n)}patchValue(t,n={}){this.setValue(t,n)}reset(t=this.defaultValue,n={}){this._applyFormState(t),this.markAsPristine(n),this.markAsUntouched(n),this.setValue(this.value,n),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){Yb(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){Yb(this._onDisabledChange,t)}_forEachChild(t){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(t){Kb(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}},IU={provide:ar,useExisting:ue(()=>fp)},tI=Promise.resolve();let fp=(()=>{class e extends ar{constructor(n,r,o,i,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this.control=new Jb,this._registered=!1,this.name="",this.update=new Ee,this._parent=n,this._setValidators(r),this._setAsyncValidators(o),this.valueAccessor=function cp(e,t){if(!t)return null;let n,r,o;return Array.isArray(t),t.forEach(i=>{i.constructor===sl?n=i:function DU(e){return Object.getPrototypeOf(e.constructor)===Pr}(i)?r=i:o=i}),o||r||n||null}(0,i)}ngOnChanges(n){if(this._checkForErrors(),!this._registered||"name"in n){if(this._registered&&(this._checkName(),this.formDirective)){const r=n.name.previousValue;this.formDirective.removeControl({name:r,path:this._getPath(r)})}this._setUpControl()}"isDisabled"in n&&this._updateDisabled(n),function lp(e,t){if(!e.hasOwnProperty("model"))return!1;const n=e.model;return!!n.isFirstChange()||!Object.is(t,n.currentValue)}(n,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(n){this.viewModel=n,this.update.emit(n)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){Ps(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(n){tI.then(()=>{this.control.setValue(n,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(n){const r=n.isDisabled.currentValue,o=0!==r&&function $o(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}(r);tI.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(n){return this._parent?function hl(e,t){return[...t.path,e]}(n,this._parent):[n]}static#e=this.\u0275fac=function(r){return new(r||e)(C(ct,9),C(tt,10),C(sr,10),C(_n,10),C(ji,8),C(oi,8))};static#t=this.\u0275dir=P({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[ve.None,"disabled","isDisabled"],model:[ve.None,"ngModel","model"],options:[ve.None,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[_e([IU]),oe,At]})}return e})(),rI=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Jt({type:e});static#n=this.\u0275inj=Lt({})}return e})();const kU={provide:_n,useExisting:ue(()=>vl),multi:!0};function cI(e,t){return null==e?`${t}`:(t&&"object"==typeof t&&(t="Object"),`${e}: ${t}`.slice(0,50))}let vl=(()=>{class e extends Pr{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(n){this._compareWith=n}writeValue(n){this.value=n;const o=cI(this._getOptionId(n),n);this.setProperty("value",o)}registerOnChange(n){this.onChange=r=>{this.value=this._getOptionValue(r),n(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(n){for(const r of this._optionMap.keys())if(this._compareWith(this._optionMap.get(r),n))return r;return null}_getOptionValue(n){const r=function LU(e){return e.split(":")[0]}(n);return this._optionMap.has(r)?this._optionMap.get(r):n}static#e=this.\u0275fac=(()=>{let n;return function(o){return(n||(n=Be(e)))(o||e)}})();static#t=this.\u0275dir=P({type:e,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(r,o){1&r&&he("change",function(s){return o.onChange(s.target.value)})("blur",function(){return o.onTouched()})},inputs:{compareWith:"compareWith"},features:[_e([kU]),oe]})}return e})(),dI=(()=>{class e{constructor(n,r,o){this._element=n,this._renderer=r,this._select=o,this._select&&(this.id=this._select._registerOption())}set ngValue(n){null!=this._select&&(this._select._optionMap.set(this.id,n),this._setElementValue(cI(this.id,n)),this._select.writeValue(this._select.value))}set value(n){this._setElementValue(n),this._select&&this._select.writeValue(this._select.value)}_setElementValue(n){this._renderer.setProperty(this._element.nativeElement,"value",n)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static#e=this.\u0275fac=function(r){return new(r||e)(C(bt),C(Mn),C(vl,9))};static#t=this.\u0275dir=P({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return e})();const VU={provide:_n,useExisting:ue(()=>mp),multi:!0};function fI(e,t){return null==e?`${t}`:("string"==typeof t&&(t=`'${t}'`),t&&"object"==typeof t&&(t="Object"),`${e}: ${t}`.slice(0,50))}let mp=(()=>{class e extends Pr{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(n){this._compareWith=n}writeValue(n){let r;if(this.value=n,Array.isArray(n)){const o=n.map(i=>this._getOptionId(i));r=(i,s)=>{i._setSelected(o.indexOf(s.toString())>-1)}}else r=(o,i)=>{o._setSelected(!1)};this._optionMap.forEach(r)}registerOnChange(n){this.onChange=r=>{const o=[],i=r.selectedOptions;if(void 0!==i){const s=i;for(let a=0;a{let n;return function(o){return(n||(n=Be(e)))(o||e)}})();static#t=this.\u0275dir=P({type:e,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(r,o){1&r&&he("change",function(s){return o.onChange(s.target)})("blur",function(){return o.onTouched()})},inputs:{compareWith:"compareWith"},features:[_e([VU]),oe]})}return e})(),hI=(()=>{class e{constructor(n,r,o){this._element=n,this._renderer=r,this._select=o,this._select&&(this.id=this._select._registerOption(this))}set ngValue(n){null!=this._select&&(this._value=n,this._setElementValue(fI(this.id,n)),this._select.writeValue(this._select.value))}set value(n){this._select?(this._value=n,this._setElementValue(fI(this.id,n)),this._select.writeValue(this._select.value)):this._setElementValue(n)}_setElementValue(n){this._renderer.setProperty(this._element.nativeElement,"value",n)}_setSelected(n){this._renderer.setProperty(this._element.nativeElement,"selected",n)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static#e=this.\u0275fac=function(r){return new(r||e)(C(bt),C(Mn),C(mp,9))};static#t=this.\u0275dir=P({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return e})(),ZU=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Jt({type:e});static#n=this.\u0275inj=Lt({imports:[rI]})}return e})(),YU=(()=>{class e{static withConfig(n){return{ngModule:e,providers:[{provide:oi,useValue:n.callSetDisabledState??fl}]}}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Jt({type:e});static#n=this.\u0275inj=Lt({imports:[ZU]})}return e})();function KU(e,t){if(1&e){const n=Ot();b(0,"button",20),he("click",function(){return ot(n),it(K(2).toggleSelfEmploymentIncome())}),M(1,"Add"),I()}2&e&&Y("disabled",K(2).taxesCalculated)}function JU(e,t){if(1&e){const n=Ot();b(0,"input",17),he("ngModelChange",function(o){return ot(n),it(K(2).self_employment_income=o)}),I()}if(2&e){const n=K(2);Y("disabled",n.taxesCalculated)("ngModel",n.self_employment_income)}}function XU(e,t){if(1&e){const n=Ot();b(0,"button",20),he("click",function(){return ot(n),it(K(2).toggleRetirementContributions())}),M(1,"Add"),I()}2&e&&Y("disabled",K(2).taxesCalculated)}function e$(e,t){if(1&e){const n=Ot();b(0,"input",17),he("ngModelChange",function(o){return ot(n),it(K(2).traditional_retirement_contributions=o)}),I()}if(2&e){const n=K(2);Y("disabled",n.taxesCalculated)("ngModel",n.traditional_retirement_contributions)}}function t$(e,t){if(1&e){const n=Ot();b(0,"button",20),he("click",function(){return ot(n),it(K(2).toggleHSAContributions())}),M(1,"Add"),I()}2&e&&Y("disabled",K(2).taxesCalculated)}function n$(e,t){if(1&e){const n=Ot();b(0,"input",17),he("ngModelChange",function(o){return ot(n),it(K(2).hsa_contributions=o)}),I()}if(2&e){const n=K(2);Y("disabled",n.taxesCalculated)("ngModel",n.hsa_contributions)}}function r$(e,t){if(1&e){const n=Ot();b(0,"button",20),he("click",function(){return ot(n),it(K(2).toggleInsurancePremiums())}),M(1,"Add"),I()}2&e&&Y("disabled",K(2).taxesCalculated)}function o$(e,t){if(1&e){const n=Ot();b(0,"input",17),he("ngModelChange",function(o){return ot(n),it(K(2).insurance_premiums=o)}),I()}if(2&e){const n=K(2);Y("disabled",n.taxesCalculated)("ngModel",n.insurance_premiums)}}function i$(e,t){if(1&e){const n=Ot();b(0,"div")(1,"div",13)(2,"div",14)(3,"h3"),M(4,"Tax Year"),I()(),b(5,"div",9)(6,"select",15),he("ngModelChange",function(o){return ot(n),it(K().tax_year=o)}),b(7,"option",16),M(8,"2024"),I(),b(9,"option"),M(10,"2023"),I(),b(11,"option"),M(12,"2022"),I()()()(),b(13,"div",13)(14,"div",14)(15,"h3"),M(16,"Filing Status"),I()(),b(17,"div",9)(18,"select",15),he("ngModelChange",function(o){return ot(n),it(K().filing_status=o)}),b(19,"option"),M(20,"Single"),I(),b(21,"option"),M(22,"Married Filing Jointly"),I(),b(23,"option"),M(24,"Married Filing Separately"),I()()()(),b(25,"div",13)(26,"div",14)(27,"h3"),M(28,"Gross Income"),I()(),b(29,"div",9)(30,"input",17),he("ngModelChange",function(o){return ot(n),it(K().gross_income=o)}),I()()(),b(31,"div",13)(32,"div",14)(33,"h3"),M(34,"State"),I()(),b(35,"div",9)(36,"select",15),he("ngModelChange",function(o){return ot(n),it(K().filing_state=o)}),b(37,"option"),M(38,"WV"),I()()()(),b(39,"div",13)(40,"div",14)(41,"h3"),M(42,"Self Employment Income"),I()(),b(43,"div",9),yt(44,KU,2,1,"button",18)(45,JU,1,2,"input",19),I()(),b(46,"div",13)(47,"div",14)(48,"h3"),M(49,"401K (Traditional)"),I()(),b(50,"div",9),yt(51,XU,2,1,"button",18)(52,e$,1,2,"input",19),I()(),b(53,"div",13)(54,"div",14)(55,"h3"),M(56,"HSA Contributions"),I()(),b(57,"div",9),yt(58,t$,2,1,"button",18)(59,n$,1,2,"input",19),I()(),b(60,"div",13)(61,"div",14)(62,"h3"),M(63,"Insurance Premiums"),I()(),b(64,"div",9),yt(65,r$,2,1,"button",18)(66,o$,1,2,"input",19),I()()()}if(2&e){const n=K();B(6),Y("disabled",n.taxesCalculated)("ngModel",n.tax_year),B(12),Y("disabled",n.taxesCalculated)("ngModel",n.filing_status),B(12),Y("disabled",n.taxesCalculated)("ngModel",n.gross_income),B(6),Y("disabled",!0)("ngModel",n.filing_state),B(8),Y("ngIf",!n.hasSelfEmploymentIncome),B(),Y("ngIf",n.hasSelfEmploymentIncome),B(6),Y("ngIf",!n.hasRetirementContributions),B(),Y("ngIf",n.hasRetirementContributions),B(6),Y("ngIf",!n.hasHSAContributions),B(),Y("ngIf",n.hasHSAContributions),B(6),Y("ngIf",!n.hasInsurancePremiums),B(),Y("ngIf",n.hasInsurancePremiums)}}function s$(e,t){if(1&e){const n=Ot();b(0,"div",21)(1,"div",22)(2,"button",23),he("click",function(){return ot(n),it(K().calculateTaxes())}),M(3,"Calculate Taxes"),I()()()}if(2&e){const n=K();B(2),Y("disabled",!(n.tax_year&&n.gross_income&&n.filing_status&&n.filing_state))}}function a$(e,t){if(1&e&&(b(0,"div",26)(1,"div",27)(2,"div",9)(3,"h3"),M(4,"Self Employment Income: "),I()(),b(5,"div",9)(6,"h3"),M(7),pe(8,"currency"),I()()()()),2&e){const n=K(2);B(7),Nn(He(8,1,n.self_employment_income,"USD","symbol","1.0-0"))}}function u$(e,t){if(1&e&&(b(0,"div",26)(1,"div",27)(2,"div",9)(3,"h3"),M(4,"Trad. 401k Deduction: "),I()(),b(5,"div",9)(6,"h3"),M(7),pe(8,"currency"),I()()()()),2&e){const n=K(2);B(7),Jn("-",He(8,1,n.traditional_retirement_contributions,"USD","symbol","1.0-0"),"")}}function l$(e,t){if(1&e&&(b(0,"div",26)(1,"div",27)(2,"div",9)(3,"h3"),M(4,"HSA Deduction: "),I()(),b(5,"div",9)(6,"h3"),M(7),pe(8,"currency"),I()()()()),2&e){const n=K(2);B(7),Jn("-",He(8,1,n.hsa_contributions,"USD","symbol","1.0-0"),"")}}function c$(e,t){if(1&e&&(b(0,"div",26)(1,"div",27)(2,"div",9)(3,"h3"),M(4,"Insurance Premiums: "),I()(),b(5,"div",9)(6,"h3"),M(7),pe(8,"currency"),I()()()()),2&e){const n=K(2);B(7),Jn("-",He(8,1,n.insurance_premiums,"USD","symbol","1.0-0"),"")}}function d$(e,t){if(1&e&&(b(0,"div",26)(1,"div",27)(2,"div",9)(3,"h3"),M(4,"401k Contributions: "),I()(),b(5,"div",9)(6,"h3"),M(7),pe(8,"currency"),pe(9,"percent"),I()()()()),2&e){const n=K(2);let r;B(7),fn("-",He(8,2,n.traditional_retirement_contributions,"USD","symbol","1.0-0")," (",xn(9,7,(null!==(r=n.traditional_retirement_contributions)&&void 0!==r?r:0)/(null!==(r=n.gross_income)&&void 0!==r?r:0),"1.2-2"),")")}}function f$(e,t){if(1&e&&(b(0,"div",26)(1,"div",27)(2,"div",9)(3,"h3"),M(4,"HSA Contributions: "),I()(),b(5,"div",9)(6,"h3"),M(7),pe(8,"currency"),pe(9,"percent"),I()()()()),2&e){const n=K(2);let r;B(7),fn("-",He(8,2,n.hsa_contributions,"USD","symbol","1.0-0")," (",xn(9,7,(null!==(r=n.hsa_contributions)&&void 0!==r?r:0)/(null!==(r=n.gross_income)&&void 0!==r?r:0),"1.2-2"),")")}}function h$(e,t){if(1&e){const n=Ot();b(0,"div",24)(1,"div",22)(2,"h2",25),M(3,"Taxable Income:"),I(),b(4,"div",26)(5,"div",27)(6,"div",9)(7,"h3"),M(8,"Gross Income: "),I()(),b(9,"div",9)(10,"h3"),M(11),pe(12,"currency"),I()()()(),yt(13,a$,9,6,"div",28),b(14,"h2",25),M(15,"Deductions:"),I(),b(16,"div",26)(17,"div",27)(18,"div",9)(19,"h3"),M(20,"Standard Deduction: "),I()(),b(21,"div",9)(22,"h3"),M(23),pe(24,"currency"),I()()()(),yt(25,u$,9,6,"div",28)(26,l$,9,6,"div",28)(27,c$,9,6,"div",28),b(28,"h2",25),M(29,"Taxable Income:"),I(),b(30,"div",26)(31,"div",27)(32,"div",9)(33,"h3"),M(34,"Taxable Income: "),I()(),b(35,"div",9)(36,"h3"),M(37),pe(38,"currency"),I()()()(),Po(39,"hr"),b(40,"h2",25),M(41,"Estimated Taxes:"),I(),b(42,"div",26)(43,"div",27)(44,"div",9)(45,"h3"),M(46,"Federal Taxes: "),I()(),b(47,"div",9)(48,"h3"),M(49),pe(50,"currency"),pe(51,"percent"),I()()()(),b(52,"div",26)(53,"div",27)(54,"div",9)(55,"h3"),M(56,"State Taxes: "),I()(),b(57,"div",9)(58,"h3"),M(59),pe(60,"currency"),pe(61,"percent"),I()()()(),b(62,"div",26)(63,"div",27)(64,"div",9)(65,"h3"),M(66,"Social Security Taxes: "),I()(),b(67,"div",9)(68,"h3"),M(69),pe(70,"currency"),pe(71,"percent"),I()()()(),b(72,"div",26)(73,"div",27)(74,"div",9)(75,"h3"),M(76,"Medicare Taxes: "),I()(),b(77,"div",9)(78,"h3"),M(79),pe(80,"currency"),pe(81,"percent"),I()()()(),b(82,"div",29)(83,"div",27)(84,"div",9)(85,"h3"),M(86,"Employer FICA Contrubtions: "),I()(),b(87,"div",9)(88,"h3"),M(89),pe(90,"currency"),I()()()(),Po(91,"hr"),b(92,"h2",25),M(93,"Summary Breakdown:"),I(),b(94,"div",26)(95,"div",27)(96,"div",9)(97,"h3"),M(98,"Total Income: "),I()(),b(99,"div",9)(100,"h3"),M(101),pe(102,"currency"),I()()()(),b(103,"div",26)(104,"div",27)(105,"div",9)(106,"h3"),M(107,"Total Taxes: "),I()(),b(108,"div",9)(109,"h3"),M(110),pe(111,"currency"),pe(112,"percent"),I()()()(),yt(113,d$,10,10,"div",28)(114,f$,10,10,"div",28),b(115,"div",26)(116,"div",27)(117,"div",9)(118,"h3"),M(119,"Net Income: "),I()(),b(120,"div",9)(121,"h3"),M(122),pe(123,"currency"),pe(124,"percent"),I()()()(),b(125,"button",30),he("click",function(){return ot(n),it(K().resetData())}),M(126,"Reset"),I()()()}if(2&e){const n=K();let r,o,i,s,a,u;B(11),Nn(He(12,23,n.gross_income,"USD","symbol","1.0-0")),B(2),Y("ngIf",n.self_employment_income),B(10),Jn("-",He(24,28,n.standard_deduction,"USD","symbol","1.0-0"),""),B(2),Y("ngIf",n.hasRetirementContributions),B(),Y("ngIf",n.hasHSAContributions),B(),Y("ngIf",n.hasInsurancePremiums),B(10),Nn(He(38,33,n.taxable_income,"USD","symbol","1.0-0")),B(12),fn("",He(50,38,n.estimated_taxes,"USD","symbol","1.0-0")," (",xn(51,43,(null!==(r=n.estimated_taxes)&&void 0!==r?r:0)/(null!==(r=n.taxable_income)&&void 0!==r?r:0),"1.2-2"),")"),B(10),fn("",He(60,46,n.estimated_state_taxes,"USD","symbol","1.0-0")," (",xn(61,51,(null!==(o=n.estimated_state_taxes)&&void 0!==o?o:0)/(null!==(o=n.taxable_income)&&void 0!==o?o:0),"1.2-2"),")"),B(10),fn("",He(70,54,n.estimated_social_security_taxes,"USD","symbol","1.0-0")," (",xn(71,59,(null!==(i=n.estimated_social_security_taxes)&&void 0!==i?i:0)/(null!==(i=n.gross_income)&&void 0!==i?i:0),"1.2-2"),")"),B(10),fn("",He(80,62,n.estimated_medicare_taxes,"USD","symbol","1.0-0")," (",xn(81,67,(null!==(s=n.estimated_medicare_taxes)&&void 0!==s?s:0)/(null!==(s=n.gross_income)&&void 0!==s?s:0),"1.2-2"),")"),B(10),Jn("-",He(90,70,n.estimated_employer_fica_contribution,"USD","symbol","1.0-0"),""),B(12),Nn(He(102,75,n.gross_income,"USD","symbol","1.0-0")),B(9),fn("-",He(111,80,n.estimated_total_taxes,"USD","symbol","1.0-0")," (",xn(112,85,(null!==(a=n.estimated_total_taxes)&&void 0!==a?a:0)/(null!==(a=n.gross_income)&&void 0!==a?a:0),"1.2-2"),")"),B(3),Y("ngIf",n.hasRetirementContributions),B(),Y("ngIf",n.hasHSAContributions),B(8),fn("",He(123,88,n.estimated_net_income,"USD","symbol","1.0-0")," (",xn(124,93,(null!==(u=n.estimated_net_income)&&void 0!==u?u:0)/(null!==(u=n.gross_income)&&void 0!==u?u:0),"1.2-2"),")")}}let EI=(()=>{class e{constructor(){this.taxesCalculated=!1,this.hasSelfEmploymentIncome=!1,this.hasRetirementContributions=!1,this.hasHSAContributions=!1,this.hasInsurancePremiums=!1}ngOnInit(){this.filing_state="WV",this.tax_year=2024}updateStandardDeduction(){if(2024==this.tax_year)switch(this.filing_status){case"Single":case"Married Filing Separately":this.standard_deduction=14600;break;case"Married Filing Jointly":this.standard_deduction=29200}if(2023==this.tax_year)switch(this.filing_status){case"Single":case"Married Filing Separately":this.standard_deduction=13850;break;case"Married Filing Jointly":this.standard_deduction=27700}if(2022==this.tax_year)switch(this.filing_status){case"Single":case"Married Filing Separately":this.standard_deduction=12950;break;case"Married Filing Jointly":this.standard_deduction=25900}}updateTaxableIncome(){this.gross_income&&this.standard_deduction&&(this.self_employment_income?(this.taxable_income=+this.gross_income+ +this.self_employment_income-this.standard_deduction-(this.traditional_retirement_contributions??0)-(this.hsa_contributions??0)-(this.insurance_premiums??0),this.state_taxable_income=+this.gross_income+ +this.self_employment_income-2e3-(this.traditional_retirement_contributions??0)-(this.hsa_contributions??0)-(this.insurance_premiums??0)):(this.taxable_income=this.gross_income-this.standard_deduction-(this.traditional_retirement_contributions??0)-(this.hsa_contributions??0)-(this.insurance_premiums??0),this.state_taxable_income=this.gross_income-2e3-(this.traditional_retirement_contributions??0)-(this.hsa_contributions??0)-(this.insurance_premiums??0)))}toggleSelfEmploymentIncome(){this.hasSelfEmploymentIncome=!0}toggleRetirementContributions(){this.hasRetirementContributions=!0}toggleHSAContributions(){this.hasHSAContributions=!0}toggleInsurancePremiums(){this.hasInsurancePremiums=!0}calculateTaxes(){if(this.updateStandardDeduction(),this.updateTaxableIncome(),console.log(this.gross_income),console.log(this.standard_deduction),console.log(this.taxable_income),console.log(this.gross_income),console.log(this.state_taxable_income),console.log(this.filing_status),console.log(this.tax_year),console.log(this.self_employment_income),this.taxable_income){if(this.hasSelfEmploymentIncome&&!this.self_employment_income&&(this.hasSelfEmploymentIncome=!1),this.hasRetirementContributions&&!this.traditional_retirement_contributions&&(this.hasRetirementContributions=!1),this.hasHSAContributions&&!this.hsa_contributions&&(this.hasHSAContributions=!1),this.hasInsurancePremiums&&!this.insurance_premiums&&(this.hasInsurancePremiums=!1),this.taxesCalculated=!0,this.calculateStateTaxes(),this.calculateFica(),2024==this.tax_year)if("Single"==this.filing_status||"Married Filing Separately"==this.filing_status){if(!(this.taxable_income>11600))return this.estimated_taxes=Math.round(.1*this.taxable_income),void this.calculateTotalTaxes();if(this.estimated_taxes=1160,!(this.taxable_income>44725))return this.estimated_taxes+=Math.round(.12*(this.taxable_income-11600)),void this.calculateTotalTaxes();if(this.estimated_taxes+=4266,!(this.taxable_income>100525))return this.estimated_taxes+=Math.round(.22*(this.taxable_income-47149)),void this.calculateTotalTaxes();if(this.estimated_taxes+=11743,!(this.taxable_income>191950))return this.estimated_taxes+=Math.round(.24*(this.taxable_income-100525)),void this.calculateTotalTaxes();this.estimated_taxes+=21942}else if("Married Filing Jointly"==this.filing_status){if(!(this.taxable_income>22e3))return this.estimated_taxes=Math.round(.1*this.taxable_income),void this.calculateTotalTaxes();if(this.estimated_taxes=2200,!(this.taxable_income>89450))return this.estimated_taxes+=Math.round(.12*(this.taxable_income-22e3)),void this.calculateTotalTaxes();if(this.estimated_taxes+=8094,!(this.taxable_income>190750))return this.estimated_taxes+=Math.round(.22*(this.taxable_income-89450)),void this.calculateTotalTaxes();if(this.estimated_taxes+=22286,!(this.taxable_income>364200))return this.estimated_taxes+=Math.round(.24*(this.taxable_income-190750)),void this.calculateTotalTaxes();this.estimated_taxes+=41628}if(2023==this.tax_year)if("Single"==this.filing_status||"Married Filing Separately"==this.filing_status){if(!(this.taxable_income>11e3))return this.estimated_taxes=Math.round(.1*this.taxable_income),void this.calculateTotalTaxes();if(this.estimated_taxes=1100,!(this.taxable_income>44725))return this.estimated_taxes+=Math.round(.12*(this.taxable_income-11e3)),void this.calculateTotalTaxes();if(this.estimated_taxes+=4047,!(this.taxable_income>95375))return this.estimated_taxes+=Math.round(.22*(this.taxable_income-44725)),void this.calculateTotalTaxes();if(this.estimated_taxes+=11143,!(this.taxable_income>182100))return this.estimated_taxes+=Math.round(.24*(this.taxable_income-95375)),void this.calculateTotalTaxes();this.estimated_taxes+=20814}else if("Married Filing Jointly"==this.filing_status){if(!(this.taxable_income>22e3))return this.estimated_taxes=Math.round(.1*this.taxable_income),void this.calculateTotalTaxes();if(this.estimated_taxes=2200,!(this.taxable_income>89450))return this.estimated_taxes+=Math.round(.12*(this.taxable_income-22e3)),void this.calculateTotalTaxes();if(this.estimated_taxes+=8094,!(this.taxable_income>190750))return this.estimated_taxes+=Math.round(.22*(this.taxable_income-89450)),void this.calculateTotalTaxes();if(this.estimated_taxes+=22286,!(this.taxable_income>364200))return this.estimated_taxes+=Math.round(.24*(this.taxable_income-190750)),void this.calculateTotalTaxes();this.estimated_taxes+=41628}if(2022==this.tax_year)if("Single"==this.filing_status||"Married Filing Separately"==this.filing_status){if(!(this.taxable_income>10275))return this.estimated_taxes=Math.round(.1*this.taxable_income),void this.calculateTotalTaxes();if(this.estimated_taxes=1027.5,!(this.taxable_income>41775))return this.estimated_taxes+=Math.round(.12*(this.taxable_income-10275)),void this.calculateTotalTaxes();if(this.estimated_taxes+=3780,!(this.taxable_income>89075))return this.estimated_taxes+=Math.round(.22*(this.taxable_income-41775)),void this.calculateTotalTaxes();if(this.estimated_taxes+=10406,!(this.taxable_income>170050))return this.estimated_taxes+=Math.round(.24*(this.taxable_income-89075)),void this.calculateTotalTaxes();this.estimated_taxes+=19434}else if("Married Filing Jointly"==this.filing_status){if(!(this.taxable_income>20550))return this.estimated_taxes=Math.round(.1*this.taxable_income),void this.calculateTotalTaxes();if(this.estimated_taxes=2055,!(this.taxable_income>83550))return this.estimated_taxes+=Math.round(.12*(this.taxable_income-20550)),void this.calculateTotalTaxes();if(this.estimated_taxes+=7560,!(this.taxable_income>178150))return this.estimated_taxes+=Math.round(.22*(this.taxable_income-83550)),void this.calculateTotalTaxes();if(this.estimated_taxes+=20812,!(this.taxable_income>340100))return this.estimated_taxes+=Math.round(.24*(this.taxable_income-178150)),void this.calculateTotalTaxes();this.estimated_taxes+=38868}}}calculateStateTaxes(){if(this.state_taxable_income){if(2024==this.tax_year){if(!(this.state_taxable_income>1e4))return void(this.estimated_state_taxes=Math.round(.0236*this.state_taxable_income));if(this.estimated_state_taxes=236,!(this.state_taxable_income>25e3))return void(this.estimated_state_taxes+=Math.round(.0315*(this.state_taxable_income-1e4)));if(this.estimated_state_taxes+=472.5,!(this.state_taxable_income>4e4))return void(this.estimated_state_taxes+=Math.round(.0354*(this.state_taxable_income-25e3)));if(this.estimated_state_taxes+=531,!(this.state_taxable_income>6e4))return void(this.estimated_state_taxes+=Math.round(.0472*(this.state_taxable_income-6e4)));this.estimated_state_taxes+=944,this.estimated_state_taxes+=Math.round(.0512*(this.state_taxable_income-6e4))}if(2023==this.tax_year){if(!(this.state_taxable_income>5e3))return void(this.estimated_state_taxes=Math.round(.0236*this.state_taxable_income));if(this.estimated_state_taxes=118,!(this.state_taxable_income>12500))return void(this.estimated_state_taxes+=Math.round(.0315*(this.state_taxable_income-5e3)));if(this.estimated_state_taxes+=236.25,!(this.state_taxable_income>2e4))return void(this.estimated_state_taxes+=Math.round(.0354*(this.state_taxable_income-12500)));if(this.estimated_state_taxes+=265.5,!(this.state_taxable_income>3e4))return void(this.estimated_state_taxes+=Math.round(.0472*(this.state_taxable_income-2e4)));this.estimated_state_taxes+=472,this.estimated_state_taxes+=Math.round(.0512*(this.state_taxable_income-3e4))}}}calculateFica(){this.gross_income&&(this.estimated_social_security_taxes=.062*this.gross_income,this.estimated_medicare_taxes=.0145*this.gross_income,this.self_employment_income&&(this.estimated_self_employed_social_security_taxes=.124*this.self_employment_income,this.estimated_self_employed_medicare_taxes=.029*this.self_employment_income,this.estimated_social_security_taxes+=this.estimated_self_employed_social_security_taxes,this.estimated_medicare_taxes+=this.estimated_self_employed_medicare_taxes))}calculateTotalTaxes(){this.gross_income&&(this.estimated_total_taxes=(this.estimated_state_taxes??0)+(this.estimated_social_security_taxes??0)+(this.estimated_medicare_taxes??0)+(this.estimated_taxes??0),this.estimated_net_income=this.gross_income-this.estimated_total_taxes-(this.hsa_contributions??0)-(this.traditional_retirement_contributions??0))}resetData(){this.estimated_net_income=void 0,this.estimated_taxes=void 0,this.estimated_total_taxes=void 0,this.estimated_state_taxes=void 0,this.estimated_social_security_taxes=void 0,this.estimated_medicare_taxes=void 0,this.estimated_self_employed_social_security_taxes=void 0,this.estimated_self_employed_medicare_taxes=void 0,this.estimated_employer_fica_contribution=void 0,this.taxesCalculated=!1,this.self_employment_income||(this.hasSelfEmploymentIncome=!1),this.traditional_retirement_contributions||(this.hasRetirementContributions=!1),this.hsa_contributions||(this.hasHSAContributions=!1),this.insurance_premiums||(this.hasInsurancePremiums=!1)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=Zs({type:e,selectors:[["app-tax-calculator"]],decls:40,vars:6,consts:[[1,"col-12","offset-0","col-md-6","offset-md-3"],[1,"container","my-3","pt-3","border","shadow"],[1,"row","border-bottom"],[1,"col-12","text-center","p-2"],[1,"row","py-1"],[4,"ngIf"],[1,"d-none"],[1,"row","my-2"],[1,"col-8"],[1,"col"],[1,"form-control","bg-secondary","text-white"],["class","row border-top mt-2",4,"ngIf"],["class","row mt-1",4,"ngIf"],[1,"row","my-1"],[1,"col-7"],[1,"form-select","w-75","m-auto","text-center",3,"disabled","ngModel","ngModelChange"],["sel",""],["type","tel","step","1000",1,"text-center","w-75","m-auto","form-control",3,"disabled","ngModel","ngModelChange"],["class","btn btn-success w-50",3,"disabled","click",4,"ngIf"],["type","tel","step","1000","class","text-center w-75 m-auto form-control",3,"disabled","ngModel","ngModelChange",4,"ngIf"],[1,"btn","btn-success","w-50",3,"disabled","click"],[1,"row","border-top","mt-2"],[1,"col-10","m-auto","py-3"],[1,"btn","w-100","btn-success","p-2","fs-3",3,"disabled","click"],[1,"row","mt-1"],[1,"text-start","text-decoration-underline"],[1,"w-100"],[1,"row","py-3"],["class","w-100",4,"ngIf"],[1,"w-100","d-none"],[1,"btn","w-100","btn-danger","p-2","fs-4",3,"click"]],template:function(r,o){1&r&&(b(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"h1"),M(5,"2024 Tax Estimator Calculator"),I()()(),b(6,"div",4)(7,"div",3),yt(8,i$,67,16,"div",5),b(9,"div",6)(10,"div",7)(11,"div",8)(12,"h3"),M(13,"Standard Deduction"),I()(),b(14,"div",9)(15,"label",10),M(16),I()()(),b(17,"div",7)(18,"div",8)(19,"h3"),M(20,"Federal Taxable Income"),I()(),b(21,"div",9)(22,"label",10),M(23),I()()(),b(24,"div",7)(25,"div",8)(26,"h3"),M(27,"Standard Deduction (WV)"),I()(),b(28,"div",9)(29,"label",10),M(30,"2000"),I()()(),b(31,"div",7)(32,"div",8)(33,"h3"),M(34,"State Taxable Income"),I()(),b(35,"div",9)(36,"label",10),M(37),I()()()(),yt(38,s$,4,1,"div",11)(39,h$,127,96,"div",12),I()()()()),2&r&&(B(8),Y("ngIf",!o.taxesCalculated),B(8),Nn(o.standard_deduction),B(7),Nn(o.taxable_income),B(14),Nn(o.state_taxable_income),B(),Y("ngIf",!o.taxesCalculated),B(),Y("ngIf",o.taxesCalculated))},dependencies:[_w,dI,hI,sl,vl,Bb,fp,Ew,bw],styles:["@media only screen and (max-width: 500px){.container[_ngcontent-%COMP%]{border:0px!important;margin-top:0!important}}"]})}return e})();const p$=[{path:"",component:EI,data:{title:"Home"}},{path:"calculator",component:EI,data:{title:"Home"}}];let g$=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Jt({type:e});static#n=this.\u0275inj=Lt({imports:[gb.forRoot(p$),gb]})}return e})(),m$=(()=>{class e{constructor(){this.title="td-calc"}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=Zs({type:e,selectors:[["app-root"]],decls:1,vars:0,template:function(r,o){1&r&&Po(0,"router-outlet")},dependencies:[Uh]})}return e})(),v$=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Jt({type:e,bootstrap:[m$]});static#n=this.\u0275inj=Lt({imports:[ML,g$,YU]})}return e})();bL().bootstrapModule(v$).catch(e=>console.error(e))}},_l=>{_l(_l.s=753)}]);
\ No newline at end of file
diff --git a/docs/polyfills.76d5513bb096a376.js b/docs/polyfills.76d5513bb096a376.js
deleted file mode 100644
index f1014a4..0000000
--- a/docs/polyfills.76d5513bb096a376.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(self.webpackChunktd_calc=self.webpackChunktd_calc||[]).push([[429],{321:(ce,Ee,de)=>{de(332)},332:()=>{!function(t){const n=t.performance;function i(L){n&&n.mark&&n.mark(L)}function o(L,T){n&&n.measure&&n.measure(L,T)}i("Zone");const c=t.__Zone_symbol_prefix||"__zone_symbol__";function a(L){return c+L}const y=!0===t[a("forceDuplicateZoneCheck")];if(t.Zone){if(y||"function"!=typeof t.Zone.__symbol__)throw new Error("Zone already loaded.");return t.Zone}let d=(()=>{class L{static#e=this.__symbol__=a;static assertZonePatched(){if(t.Promise!==se.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let e=L.current;for(;e.parent;)e=e.parent;return e}static get current(){return U.zone}static get currentTask(){return oe}static __load_patch(e,r,k=!1){if(se.hasOwnProperty(e)){if(!k&&y)throw Error("Already loaded patch: "+e)}else if(!t["__Zone_disable_"+e]){const C="Zone:"+e;i(C),se[e]=r(t,L,X),o(C,C)}}get parent(){return this._parent}get name(){return this._name}constructor(e,r){this._parent=e,this._name=r?r.name||"unnamed":"",this._properties=r&&r.properties||{},this._zoneDelegate=new v(this,this._parent&&this._parent._zoneDelegate,r)}get(e){const r=this.getZoneWith(e);if(r)return r._properties[e]}getZoneWith(e){let r=this;for(;r;){if(r._properties.hasOwnProperty(e))return r;r=r._parent}return null}fork(e){if(!e)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,e)}wrap(e,r){if("function"!=typeof e)throw new Error("Expecting function got: "+e);const k=this._zoneDelegate.intercept(this,e,r),C=this;return function(){return C.runGuarded(k,this,arguments,r)}}run(e,r,k,C){U={parent:U,zone:this};try{return this._zoneDelegate.invoke(this,e,r,k,C)}finally{U=U.parent}}runGuarded(e,r=null,k,C){U={parent:U,zone:this};try{try{return this._zoneDelegate.invoke(this,e,r,k,C)}catch($){if(this._zoneDelegate.handleError(this,$))throw $}}finally{U=U.parent}}runTask(e,r,k){if(e.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(e.zone||K).name+"; Execution: "+this.name+")");if(e.state===x&&(e.type===Q||e.type===P))return;const C=e.state!=E;C&&e._transitionTo(E,j),e.runCount++;const $=oe;oe=e,U={parent:U,zone:this};try{e.type==P&&e.data&&!e.data.isPeriodic&&(e.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,e,r,k)}catch(u){if(this._zoneDelegate.handleError(this,u))throw u}}finally{e.state!==x&&e.state!==h&&(e.type==Q||e.data&&e.data.isPeriodic?C&&e._transitionTo(j,E):(e.runCount=0,this._updateTaskCount(e,-1),C&&e._transitionTo(x,E,x))),U=U.parent,oe=$}}scheduleTask(e){if(e.zone&&e.zone!==this){let k=this;for(;k;){if(k===e.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${e.zone.name}`);k=k.parent}}e._transitionTo(z,x);const r=[];e._zoneDelegates=r,e._zone=this;try{e=this._zoneDelegate.scheduleTask(this,e)}catch(k){throw e._transitionTo(h,z,x),this._zoneDelegate.handleError(this,k),k}return e._zoneDelegates===r&&this._updateTaskCount(e,1),e.state==z&&e._transitionTo(j,z),e}scheduleMicroTask(e,r,k,C){return this.scheduleTask(new p(I,e,r,k,C,void 0))}scheduleMacroTask(e,r,k,C,$){return this.scheduleTask(new p(P,e,r,k,C,$))}scheduleEventTask(e,r,k,C,$){return this.scheduleTask(new p(Q,e,r,k,C,$))}cancelTask(e){if(e.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(e.zone||K).name+"; Execution: "+this.name+")");if(e.state===j||e.state===E){e._transitionTo(G,j,E);try{this._zoneDelegate.cancelTask(this,e)}catch(r){throw e._transitionTo(h,G),this._zoneDelegate.handleError(this,r),r}return this._updateTaskCount(e,-1),e._transitionTo(x,G),e.runCount=0,e}}_updateTaskCount(e,r){const k=e._zoneDelegates;-1==r&&(e._zoneDelegates=null);for(let C=0;CL.hasTask(e,r),onScheduleTask:(L,T,e,r)=>L.scheduleTask(e,r),onInvokeTask:(L,T,e,r,k,C)=>L.invokeTask(e,r,k,C),onCancelTask:(L,T,e,r)=>L.cancelTask(e,r)};class v{constructor(T,e,r){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=T,this._parentDelegate=e,this._forkZS=r&&(r&&r.onFork?r:e._forkZS),this._forkDlgt=r&&(r.onFork?e:e._forkDlgt),this._forkCurrZone=r&&(r.onFork?this.zone:e._forkCurrZone),this._interceptZS=r&&(r.onIntercept?r:e._interceptZS),this._interceptDlgt=r&&(r.onIntercept?e:e._interceptDlgt),this._interceptCurrZone=r&&(r.onIntercept?this.zone:e._interceptCurrZone),this._invokeZS=r&&(r.onInvoke?r:e._invokeZS),this._invokeDlgt=r&&(r.onInvoke?e:e._invokeDlgt),this._invokeCurrZone=r&&(r.onInvoke?this.zone:e._invokeCurrZone),this._handleErrorZS=r&&(r.onHandleError?r:e._handleErrorZS),this._handleErrorDlgt=r&&(r.onHandleError?e:e._handleErrorDlgt),this._handleErrorCurrZone=r&&(r.onHandleError?this.zone:e._handleErrorCurrZone),this._scheduleTaskZS=r&&(r.onScheduleTask?r:e._scheduleTaskZS),this._scheduleTaskDlgt=r&&(r.onScheduleTask?e:e._scheduleTaskDlgt),this._scheduleTaskCurrZone=r&&(r.onScheduleTask?this.zone:e._scheduleTaskCurrZone),this._invokeTaskZS=r&&(r.onInvokeTask?r:e._invokeTaskZS),this._invokeTaskDlgt=r&&(r.onInvokeTask?e:e._invokeTaskDlgt),this._invokeTaskCurrZone=r&&(r.onInvokeTask?this.zone:e._invokeTaskCurrZone),this._cancelTaskZS=r&&(r.onCancelTask?r:e._cancelTaskZS),this._cancelTaskDlgt=r&&(r.onCancelTask?e:e._cancelTaskDlgt),this._cancelTaskCurrZone=r&&(r.onCancelTask?this.zone:e._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const k=r&&r.onHasTask;(k||e&&e._hasTaskZS)&&(this._hasTaskZS=k?r:b,this._hasTaskDlgt=e,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=T,r.onScheduleTask||(this._scheduleTaskZS=b,this._scheduleTaskDlgt=e,this._scheduleTaskCurrZone=this.zone),r.onInvokeTask||(this._invokeTaskZS=b,this._invokeTaskDlgt=e,this._invokeTaskCurrZone=this.zone),r.onCancelTask||(this._cancelTaskZS=b,this._cancelTaskDlgt=e,this._cancelTaskCurrZone=this.zone))}fork(T,e){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,T,e):new d(T,e)}intercept(T,e,r){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,T,e,r):e}invoke(T,e,r,k,C){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,T,e,r,k,C):e.apply(r,k)}handleError(T,e){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,T,e)}scheduleTask(T,e){let r=e;if(this._scheduleTaskZS)this._hasTaskZS&&r._zoneDelegates.push(this._hasTaskDlgtOwner),r=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,T,e),r||(r=e);else if(e.scheduleFn)e.scheduleFn(e);else{if(e.type!=I)throw new Error("Task is missing scheduleFn.");R(e)}return r}invokeTask(T,e,r,k){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,T,e,r,k):e.callback.apply(r,k)}cancelTask(T,e){let r;if(this._cancelTaskZS)r=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,T,e);else{if(!e.cancelFn)throw Error("Task is not cancelable");r=e.cancelFn(e)}return r}hasTask(T,e){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,T,e)}catch(r){this.handleError(T,r)}}_updateTaskCount(T,e){const r=this._taskCounts,k=r[T],C=r[T]=k+e;if(C<0)throw new Error("More tasks executed then were scheduled.");0!=k&&0!=C||this.hasTask(this.zone,{microTask:r.microTask>0,macroTask:r.macroTask>0,eventTask:r.eventTask>0,change:T})}}class p{constructor(T,e,r,k,C,$){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=T,this.source=e,this.data=k,this.scheduleFn=C,this.cancelFn=$,!r)throw new Error("callback is not defined");this.callback=r;const u=this;this.invoke=T===Q&&k&&k.useG?p.invokeTask:function(){return p.invokeTask.call(t,u,this,arguments)}}static invokeTask(T,e,r){T||(T=this),te++;try{return T.runCount++,T.zone.runTask(T,e,r)}finally{1==te&&_(),te--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(x,z)}_transitionTo(T,e,r){if(this._state!==e&&this._state!==r)throw new Error(`${this.type} '${this.source}': can not transition to '${T}', expecting state '${e}'${r?" or '"+r+"'":""}, was '${this._state}'.`);this._state=T,T==x&&(this._zoneDelegates=null)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}const M=a("setTimeout"),Z=a("Promise"),N=a("then");let J,B=[],H=!1;function q(L){if(J||t[Z]&&(J=t[Z].resolve(0)),J){let T=J[N];T||(T=J.then),T.call(J,L)}else t[M](L,0)}function R(L){0===te&&0===B.length&&q(_),L&&B.push(L)}function _(){if(!H){for(H=!0;B.length;){const L=B;B=[];for(let T=0;TU,onUnhandledError:W,microtaskDrainDone:W,scheduleMicroTask:R,showUncaughtError:()=>!d[a("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:W,patchMethod:()=>W,bindArguments:()=>[],patchThen:()=>W,patchMacroTask:()=>W,patchEventPrototype:()=>W,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>W,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>W,wrapWithCurrentZone:()=>W,filterProperties:()=>[],attachOriginToPatched:()=>W,_redefineProperty:()=>W,patchCallbacks:()=>W,nativeScheduleMicroTask:q};let U={parent:null,zone:new d(null,null)},oe=null,te=0;function W(){}o("Zone","Zone"),t.Zone=d}(globalThis);const ce=Object.getOwnPropertyDescriptor,Ee=Object.defineProperty,de=Object.getPrototypeOf,me=Object.create,Fe=Array.prototype.slice,Oe="addEventListener",Ze="removeEventListener",Ne=Zone.__symbol__(Oe),Ie=Zone.__symbol__(Ze),ae="true",le="false",ke=Zone.__symbol__("");function Me(t,n){return Zone.current.wrap(t,n)}function Le(t,n,i,o,c){return Zone.current.scheduleMacroTask(t,n,i,o,c)}const A=Zone.__symbol__,we=typeof window<"u",Te=we?window:void 0,Y=we&&Te||globalThis,at="removeAttribute";function je(t,n){for(let i=t.length-1;i>=0;i--)"function"==typeof t[i]&&(t[i]=Me(t[i],n+"_"+i));return t}function Be(t){return!t||!1!==t.writable&&!("function"==typeof t.get&&typeof t.set>"u")}const Ue=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,Re=!("nw"in Y)&&typeof Y.process<"u"&&"[object process]"==={}.toString.call(Y.process),Ae=!Re&&!Ue&&!(!we||!Te.HTMLElement),We=typeof Y.process<"u"&&"[object process]"==={}.toString.call(Y.process)&&!Ue&&!(!we||!Te.HTMLElement),Ce={},qe=function(t){if(!(t=t||Y.event))return;let n=Ce[t.type];n||(n=Ce[t.type]=A("ON_PROPERTY"+t.type));const i=this||t.target||Y,o=i[n];let c;return Ae&&i===Te&&"error"===t.type?(c=o&&o.call(this,t.message,t.filename,t.lineno,t.colno,t.error),!0===c&&t.preventDefault()):(c=o&&o.apply(this,arguments),null!=c&&!c&&t.preventDefault()),c};function ze(t,n,i){let o=ce(t,n);if(!o&&i&&ce(i,n)&&(o={enumerable:!0,configurable:!0}),!o||!o.configurable)return;const c=A("on"+n+"patched");if(t.hasOwnProperty(c)&&t[c])return;delete o.writable,delete o.value;const a=o.get,y=o.set,d=n.slice(2);let b=Ce[d];b||(b=Ce[d]=A("ON_PROPERTY"+d)),o.set=function(v){let p=this;!p&&t===Y&&(p=Y),p&&("function"==typeof p[b]&&p.removeEventListener(d,qe),y&&y.call(p,null),p[b]=v,"function"==typeof v&&p.addEventListener(d,qe,!1))},o.get=function(){let v=this;if(!v&&t===Y&&(v=Y),!v)return null;const p=v[b];if(p)return p;if(a){let M=a.call(this);if(M)return o.set.call(this,M),"function"==typeof v[at]&&v.removeAttribute(n),M}return null},Ee(t,n,o),t[c]=!0}function Xe(t,n,i){if(n)for(let o=0;ofunction(y,d){const b=i(y,d);return b.cbIdx>=0&&"function"==typeof d[b.cbIdx]?Le(b.name,d[b.cbIdx],b,c):a.apply(y,d)})}function fe(t,n){t[A("OriginalDelegate")]=n}let Ye=!1,He=!1;function ht(){if(Ye)return He;Ye=!0;try{const t=Te.navigator.userAgent;(-1!==t.indexOf("MSIE ")||-1!==t.indexOf("Trident/")||-1!==t.indexOf("Edge/"))&&(He=!0)}catch{}return He}Zone.__load_patch("ZoneAwarePromise",(t,n,i)=>{const o=Object.getOwnPropertyDescriptor,c=Object.defineProperty,y=i.symbol,d=[],b=!1!==t[y("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],v=y("Promise"),p=y("then"),M="__creationTrace__";i.onUnhandledError=u=>{if(i.showUncaughtError()){const l=u&&u.rejection;l?console.error("Unhandled Promise rejection:",l instanceof Error?l.message:l,"; Zone:",u.zone.name,"; Task:",u.task&&u.task.source,"; Value:",l,l instanceof Error?l.stack:void 0):console.error(u)}},i.microtaskDrainDone=()=>{for(;d.length;){const u=d.shift();try{u.zone.runGuarded(()=>{throw u.throwOriginal?u.rejection:u})}catch(l){N(l)}}};const Z=y("unhandledPromiseRejectionHandler");function N(u){i.onUnhandledError(u);try{const l=n[Z];"function"==typeof l&&l.call(this,u)}catch{}}function B(u){return u&&u.then}function H(u){return u}function J(u){return e.reject(u)}const q=y("state"),R=y("value"),_=y("finally"),K=y("parentPromiseValue"),x=y("parentPromiseState"),z="Promise.then",j=null,E=!0,G=!1,h=0;function I(u,l){return s=>{try{X(u,l,s)}catch(f){X(u,!1,f)}}}const P=function(){let u=!1;return function(s){return function(){u||(u=!0,s.apply(null,arguments))}}},Q="Promise resolved with itself",se=y("currentTaskTrace");function X(u,l,s){const f=P();if(u===s)throw new TypeError(Q);if(u[q]===j){let m=null;try{("object"==typeof s||"function"==typeof s)&&(m=s&&s.then)}catch(w){return f(()=>{X(u,!1,w)})(),u}if(l!==G&&s instanceof e&&s.hasOwnProperty(q)&&s.hasOwnProperty(R)&&s[q]!==j)oe(s),X(u,s[q],s[R]);else if(l!==G&&"function"==typeof m)try{m.call(s,f(I(u,l)),f(I(u,!1)))}catch(w){f(()=>{X(u,!1,w)})()}else{u[q]=l;const w=u[R];if(u[R]=s,u[_]===_&&l===E&&(u[q]=u[x],u[R]=u[K]),l===G&&s instanceof Error){const g=n.currentTask&&n.currentTask.data&&n.currentTask.data[M];g&&c(s,se,{configurable:!0,enumerable:!1,writable:!0,value:g})}for(let g=0;g{try{const D=u[R],S=!!s&&_===s[_];S&&(s[K]=D,s[x]=w);const O=l.run(g,void 0,S&&g!==J&&g!==H?[]:[D]);X(s,!0,O)}catch(D){X(s,!1,D)}},s)}const L=function(){},T=t.AggregateError;class e{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(l){return l instanceof e?l:X(new this(null),E,l)}static reject(l){return X(new this(null),G,l)}static withResolvers(){const l={};return l.promise=new e((s,f)=>{l.resolve=s,l.reject=f}),l}static any(l){if(!l||"function"!=typeof l[Symbol.iterator])return Promise.reject(new T([],"All promises were rejected"));const s=[];let f=0;try{for(let g of l)f++,s.push(e.resolve(g))}catch{return Promise.reject(new T([],"All promises were rejected"))}if(0===f)return Promise.reject(new T([],"All promises were rejected"));let m=!1;const w=[];return new e((g,D)=>{for(let S=0;S{m||(m=!0,g(O))},O=>{w.push(O),f--,0===f&&(m=!0,D(new T(w,"All promises were rejected")))})})}static race(l){let s,f,m=new this((D,S)=>{s=D,f=S});function w(D){s(D)}function g(D){f(D)}for(let D of l)B(D)||(D=this.resolve(D)),D.then(w,g);return m}static all(l){return e.allWithCallback(l)}static allSettled(l){return(this&&this.prototype instanceof e?this:e).allWithCallback(l,{thenCallback:f=>({status:"fulfilled",value:f}),errorCallback:f=>({status:"rejected",reason:f})})}static allWithCallback(l,s){let f,m,w=new this((O,V)=>{f=O,m=V}),g=2,D=0;const S=[];for(let O of l){B(O)||(O=this.resolve(O));const V=D;try{O.then(F=>{S[V]=s?s.thenCallback(F):F,g--,0===g&&f(S)},F=>{s?(S[V]=s.errorCallback(F),g--,0===g&&f(S)):m(F)})}catch(F){m(F)}g++,D++}return g-=2,0===g&&f(S),w}constructor(l){const s=this;if(!(s instanceof e))throw new Error("Must be an instanceof Promise.");s[q]=j,s[R]=[];try{const f=P();l&&l(f(I(s,E)),f(I(s,G)))}catch(f){X(s,!1,f)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return e}then(l,s){let f=this.constructor?.[Symbol.species];(!f||"function"!=typeof f)&&(f=this.constructor||e);const m=new f(L),w=n.current;return this[q]==j?this[R].push(w,m,l,s):te(this,w,m,l,s),m}catch(l){return this.then(null,l)}finally(l){let s=this.constructor?.[Symbol.species];(!s||"function"!=typeof s)&&(s=e);const f=new s(L);f[_]=_;const m=n.current;return this[q]==j?this[R].push(m,f,l,l):te(this,m,f,l,l),f}}e.resolve=e.resolve,e.reject=e.reject,e.race=e.race,e.all=e.all;const r=t[v]=t.Promise;t.Promise=e;const k=y("thenPatched");function C(u){const l=u.prototype,s=o(l,"then");if(s&&(!1===s.writable||!s.configurable))return;const f=l.then;l[p]=f,u.prototype.then=function(m,w){return new e((D,S)=>{f.call(this,D,S)}).then(m,w)},u[k]=!0}return i.patchThen=C,r&&(C(r),ue(t,"fetch",u=>function $(u){return function(l,s){let f=u.apply(l,s);if(f instanceof e)return f;let m=f.constructor;return m[k]||C(m),f}}(u))),Promise[n.__symbol__("uncaughtPromiseErrors")]=d,e}),Zone.__load_patch("toString",t=>{const n=Function.prototype.toString,i=A("OriginalDelegate"),o=A("Promise"),c=A("Error"),a=function(){if("function"==typeof this){const v=this[i];if(v)return"function"==typeof v?n.call(v):Object.prototype.toString.call(v);if(this===Promise){const p=t[o];if(p)return n.call(p)}if(this===Error){const p=t[c];if(p)return n.call(p)}}return n.call(this)};a[i]=n,Function.prototype.toString=a;const y=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":y.call(this)}});let ye=!1;if(typeof window<"u")try{const t=Object.defineProperty({},"passive",{get:function(){ye=!0}});window.addEventListener("test",t,t),window.removeEventListener("test",t,t)}catch{ye=!1}const dt={useG:!0},ne={},$e={},Ke=new RegExp("^"+ke+"(\\w+)(true|false)$"),Je=A("propagationStopped");function Qe(t,n){const i=(n?n(t):t)+le,o=(n?n(t):t)+ae,c=ke+i,a=ke+o;ne[t]={},ne[t][le]=c,ne[t][ae]=a}function _t(t,n,i,o){const c=o&&o.add||Oe,a=o&&o.rm||Ze,y=o&&o.listeners||"eventListeners",d=o&&o.rmAll||"removeAllListeners",b=A(c),v="."+c+":",p="prependListener",M="."+p+":",Z=function(R,_,K){if(R.isRemoved)return;const x=R.callback;let z;"object"==typeof x&&x.handleEvent&&(R.callback=E=>x.handleEvent(E),R.originalDelegate=x);try{R.invoke(R,_,[K])}catch(E){z=E}const j=R.options;return j&&"object"==typeof j&&j.once&&_[a].call(_,K.type,R.originalDelegate?R.originalDelegate:R.callback,j),z};function N(R,_,K){if(!(_=_||t.event))return;const x=R||_.target||t,z=x[ne[_.type][K?ae:le]];if(z){const j=[];if(1===z.length){const E=Z(z[0],x,_);E&&j.push(E)}else{const E=z.slice();for(let G=0;G{throw G})}}}const B=function(R){return N(this,R,!1)},H=function(R){return N(this,R,!0)};function J(R,_){if(!R)return!1;let K=!0;_&&void 0!==_.useG&&(K=_.useG);const x=_&&_.vh;let z=!0;_&&void 0!==_.chkDup&&(z=_.chkDup);let j=!1;_&&void 0!==_.rt&&(j=_.rt);let E=R;for(;E&&!E.hasOwnProperty(c);)E=de(E);if(!E&&R[c]&&(E=R),!E||E[b])return!1;const G=_&&_.eventNameToString,h={},I=E[b]=E[c],P=E[A(a)]=E[a],Q=E[A(y)]=E[y],se=E[A(d)]=E[d];let X;_&&_.prepend&&(X=E[A(_.prepend)]=E[_.prepend]);const e=K?function(s){if(!h.isExisting)return I.call(h.target,h.eventName,h.capture?H:B,h.options)}:function(s){return I.call(h.target,h.eventName,s.invoke,h.options)},r=K?function(s){if(!s.isRemoved){const f=ne[s.eventName];let m;f&&(m=f[s.capture?ae:le]);const w=m&&s.target[m];if(w)for(let g=0;g{ie.zone.cancelTask(ie)},{once:!0})),h.target=null,Pe&&(Pe.taskData=null),rt&&(ee.once=!0),!ye&&"boolean"==typeof ie.options||(ie.options=ee),ie.target=S,ie.capture=Ge,ie.eventName=O,F&&(ie.originalDelegate=V),D?ge.unshift(ie):ge.push(ie),g?S:void 0}};return E[c]=l(I,v,e,r,j),X&&(E[p]=l(X,M,function(s){return X.call(h.target,h.eventName,s.invoke,h.options)},r,j,!0)),E[a]=function(){const s=this||t;let f=arguments[0];_&&_.transferEventName&&(f=_.transferEventName(f));const m=arguments[2],w=!!m&&("boolean"==typeof m||m.capture),g=arguments[1];if(!g)return P.apply(this,arguments);if(x&&!x(P,g,s,arguments))return;const D=ne[f];let S;D&&(S=D[w?ae:le]);const O=S&&s[S];if(O)for(let V=0;Vfunction(c,a){c[Je]=!0,o&&o.apply(c,a)})}function Tt(t,n,i,o,c){const a=Zone.__symbol__(o);if(n[a])return;const y=n[a]=n[o];n[o]=function(d,b,v){return b&&b.prototype&&c.forEach(function(p){const M=`${i}.${o}::`+p,Z=b.prototype;try{if(Z.hasOwnProperty(p)){const N=t.ObjectGetOwnPropertyDescriptor(Z,p);N&&N.value?(N.value=t.wrapWithCurrentZone(N.value,M),t._redefineProperty(b.prototype,p,N)):Z[p]&&(Z[p]=t.wrapWithCurrentZone(Z[p],M))}else Z[p]&&(Z[p]=t.wrapWithCurrentZone(Z[p],M))}catch{}}),y.call(n,d,b,v)},t.attachOriginToPatched(n[o],y)}function tt(t,n,i){if(!i||0===i.length)return n;const o=i.filter(a=>a.target===t);if(!o||0===o.length)return n;const c=o[0].ignoreProperties;return n.filter(a=>-1===c.indexOf(a))}function nt(t,n,i,o){t&&Xe(t,tt(t,n,i),o)}function xe(t){return Object.getOwnPropertyNames(t).filter(n=>n.startsWith("on")&&n.length>2).map(n=>n.substring(2))}Zone.__load_patch("util",(t,n,i)=>{const o=xe(t);i.patchOnProperties=Xe,i.patchMethod=ue,i.bindArguments=je,i.patchMacroTask=ut;const c=n.__symbol__("BLACK_LISTED_EVENTS"),a=n.__symbol__("UNPATCHED_EVENTS");t[a]&&(t[c]=t[a]),t[c]&&(n[c]=n[a]=t[c]),i.patchEventPrototype=Et,i.patchEventTarget=_t,i.isIEOrEdge=ht,i.ObjectDefineProperty=Ee,i.ObjectGetOwnPropertyDescriptor=ce,i.ObjectCreate=me,i.ArraySlice=Fe,i.patchClass=ve,i.wrapWithCurrentZone=Me,i.filterProperties=tt,i.attachOriginToPatched=fe,i._redefineProperty=Object.defineProperty,i.patchCallbacks=Tt,i.getGlobalObjects=()=>({globalSources:$e,zoneSymbolEventNames:ne,eventNames:o,isBrowser:Ae,isMix:We,isNode:Re,TRUE_STR:ae,FALSE_STR:le,ZONE_SYMBOL_PREFIX:ke,ADD_EVENT_LISTENER_STR:Oe,REMOVE_EVENT_LISTENER_STR:Ze})});const De=A("zoneTask");function pe(t,n,i,o){let c=null,a=null;i+=o;const y={};function d(v){const p=v.data;return p.args[0]=function(){return v.invoke.apply(this,arguments)},p.handleId=c.apply(t,p.args),v}function b(v){return a.call(t,v.data.handleId)}c=ue(t,n+=o,v=>function(p,M){if("function"==typeof M[0]){const Z={isPeriodic:"Interval"===o,delay:"Timeout"===o||"Interval"===o?M[1]||0:void 0,args:M},N=M[0];M[0]=function(){try{return N.apply(this,arguments)}finally{Z.isPeriodic||("number"==typeof Z.handleId?delete y[Z.handleId]:Z.handleId&&(Z.handleId[De]=null))}};const B=Le(n,M[0],Z,d,b);if(!B)return B;const H=B.data.handleId;return"number"==typeof H?y[H]=B:H&&(H[De]=B),H&&H.ref&&H.unref&&"function"==typeof H.ref&&"function"==typeof H.unref&&(B.ref=H.ref.bind(H),B.unref=H.unref.bind(H)),"number"==typeof H||H?H:B}return v.apply(t,M)}),a=ue(t,i,v=>function(p,M){const Z=M[0];let N;"number"==typeof Z?N=y[Z]:(N=Z&&Z[De],N||(N=Z)),N&&"string"==typeof N.type?"notScheduled"!==N.state&&(N.cancelFn&&N.data.isPeriodic||0===N.runCount)&&("number"==typeof Z?delete y[Z]:Z&&(Z[De]=null),N.zone.cancelTask(N)):v.apply(t,M)})}Zone.__load_patch("legacy",t=>{const n=t[Zone.__symbol__("legacyPatch")];n&&n()}),Zone.__load_patch("timers",t=>{const n="set",i="clear";pe(t,n,i,"Timeout"),pe(t,n,i,"Interval"),pe(t,n,i,"Immediate")}),Zone.__load_patch("requestAnimationFrame",t=>{pe(t,"request","cancel","AnimationFrame"),pe(t,"mozRequest","mozCancel","AnimationFrame"),pe(t,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(t,n)=>{const i=["alert","prompt","confirm"];for(let o=0;ofunction(b,v){return n.current.run(a,t,v,d)})}),Zone.__load_patch("EventTarget",(t,n,i)=>{(function kt(t,n){n.patchEventPrototype(t,n)})(t,i),function mt(t,n){if(Zone[n.symbol("patchEventTarget")])return;const{eventNames:i,zoneSymbolEventNames:o,TRUE_STR:c,FALSE_STR:a,ZONE_SYMBOL_PREFIX:y}=n.getGlobalObjects();for(let b=0;b{ve("MutationObserver"),ve("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",(t,n,i)=>{ve("IntersectionObserver")}),Zone.__load_patch("FileReader",(t,n,i)=>{ve("FileReader")}),Zone.__load_patch("on_property",(t,n,i)=>{!function yt(t,n){if(Re&&!We||Zone[t.symbol("patchEvents")])return;const i=n.__Zone_ignore_on_properties;let o=[];if(Ae){const c=window;o=o.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const a=function ft(){try{const t=Te.navigator.userAgent;if(-1!==t.indexOf("MSIE ")||-1!==t.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:c,ignoreProperties:["error"]}]:[];nt(c,xe(c),i&&i.concat(a),de(c))}o=o.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let c=0;c{!function gt(t,n){const{isBrowser:i,isMix:o}=n.getGlobalObjects();(i||o)&&t.customElements&&"customElements"in t&&n.patchCallbacks(n,t.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(t,i)}),Zone.__load_patch("XHR",(t,n)=>{!function b(v){const p=v.XMLHttpRequest;if(!p)return;const M=p.prototype;let N=M[Ne],B=M[Ie];if(!N){const h=v.XMLHttpRequestEventTarget;if(h){const I=h.prototype;N=I[Ne],B=I[Ie]}}const H="readystatechange",J="scheduled";function q(h){const I=h.data,P=I.target;P[a]=!1,P[d]=!1;const Q=P[c];N||(N=P[Ne],B=P[Ie]),Q&&B.call(P,H,Q);const se=P[c]=()=>{if(P.readyState===P.DONE)if(!I.aborted&&P[a]&&h.state===J){const U=P[n.__symbol__("loadfalse")];if(0!==P.status&&U&&U.length>0){const oe=h.invoke;h.invoke=function(){const te=P[n.__symbol__("loadfalse")];for(let W=0;Wfunction(h,I){return h[o]=0==I[2],h[y]=I[1],K.apply(h,I)}),z=A("fetchTaskAborting"),j=A("fetchTaskScheduling"),E=ue(M,"send",()=>function(h,I){if(!0===n.current[j]||h[o])return E.apply(h,I);{const P={target:h,url:h[y],isPeriodic:!1,args:I,aborted:!1},Q=Le("XMLHttpRequest.send",R,P,q,_);h&&!0===h[d]&&!P.aborted&&Q.state===J&&Q.invoke()}}),G=ue(M,"abort",()=>function(h,I){const P=function Z(h){return h[i]}(h);if(P&&"string"==typeof P.type){if(null==P.cancelFn||P.data&&P.data.aborted)return;P.zone.cancelTask(P)}else if(!0===n.current[z])return G.apply(h,I)})}(t);const i=A("xhrTask"),o=A("xhrSync"),c=A("xhrListener"),a=A("xhrScheduled"),y=A("xhrURL"),d=A("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",t=>{t.navigator&&t.navigator.geolocation&&function lt(t,n){const i=t.constructor.name;for(let o=0;o{const b=function(){return d.apply(this,je(arguments,i+"."+c))};return fe(b,d),b})(a)}}}(t.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(t,n)=>{function i(o){return function(c){et(t,o).forEach(y=>{const d=t.PromiseRejectionEvent;if(d){const b=new d(o,{promise:c.promise,reason:c.rejection});y.invoke(b)}})}}t.PromiseRejectionEvent&&(n[A("unhandledPromiseRejectionHandler")]=i("unhandledrejection"),n[A("rejectionHandledHandler")]=i("rejectionhandled"))}),Zone.__load_patch("queueMicrotask",(t,n,i)=>{!function pt(t,n){n.patchMethod(t,"queueMicrotask",i=>function(o,c){Zone.current.scheduleMicroTask("queueMicrotask",c[0])})}(t,i)})}},ce=>{ce(ce.s=321)}]);
\ No newline at end of file
diff --git a/docs/runtime.be747780a686e7cd.js b/docs/runtime.be747780a686e7cd.js
deleted file mode 100644
index be7ec6a..0000000
--- a/docs/runtime.be747780a686e7cd.js
+++ /dev/null
@@ -1 +0,0 @@
-(()=>{"use strict";var e,_={},d={};function n(e){var a=d[e];if(void 0!==a)return a.exports;var r=d[e]={exports:{}};return _[e](r,r.exports,n),r.exports}n.m=_,e=[],n.O=(a,r,c,l)=>{if(!r){var o=1/0;for(f=0;f=l)&&Object.keys(n.O).every(i=>n.O[i](r[t]))?r.splice(t--,1):(s=!1,l0&&e[f-1][2]>l;f--)e[f]=e[f-1];e[f]=[r,c,l]},n.n=e=>{var a=e&&e.__esModule?()=>e.default:()=>e;return n.d(a,{a}),a},n.d=(e,a)=>{for(var r in a)n.o(a,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:a[r]})},n.o=(e,a)=>Object.prototype.hasOwnProperty.call(e,a),(()=>{var e={666:0};n.O.j=c=>0===e[c];var a=(c,l)=>{var t,u,[f,o,s]=l,v=0;if(f.some(h=>0!==e[h])){for(t in o)n.o(o,t)&&(n.m[t]=o[t]);if(s)var b=s(n)}for(c&&c(l);v