From 1c00fa0cd6e05bc319327fbd6805aff9a3303579 Mon Sep 17 00:00:00 2001 From: Kathleen West Date: Sat, 9 Sep 2023 21:35:25 -0400 Subject: [PATCH] Initial Build for Production --- docs/3rdpartylicenses.txt | 244 +++++++++++++++++++++++++++++ docs/assets/shipping.json | 14 ++ docs/index.html | 22 +++ docs/main.2331e7fb53981759.js | 1 + docs/polyfills.902e026cabdcf076.js | 1 + docs/runtime.89424a2453fbce0c.js | 1 + docs/styles.510afded6253d1c1.css | 1 + 7 files changed, 284 insertions(+) create mode 100644 docs/3rdpartylicenses.txt create mode 100644 docs/assets/shipping.json create mode 100644 docs/index.html create mode 100644 docs/main.2331e7fb53981759.js create mode 100644 docs/polyfills.902e026cabdcf076.js create mode 100644 docs/runtime.89424a2453fbce0c.js create mode 100644 docs/styles.510afded6253d1c1.css diff --git a/docs/3rdpartylicenses.txt b/docs/3rdpartylicenses.txt new file mode 100644 index 0000000..10c1925 --- /dev/null +++ b/docs/3rdpartylicenses.txt @@ -0,0 +1,244 @@ +@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/assets/shipping.json b/docs/assets/shipping.json new file mode 100644 index 0000000..94db54c --- /dev/null +++ b/docs/assets/shipping.json @@ -0,0 +1,14 @@ +[ + { + "type": "Overnight", + "price": 25.99 + }, + { + "type": "2-Day", + "price": 9.99 + }, + { + "type": "Postal", + "price": 2.99 + } +] \ No newline at end of file diff --git a/docs/index.html b/docs/index.html new file mode 100644 index 0000000..433cdae --- /dev/null +++ b/docs/index.html @@ -0,0 +1,22 @@ + + + + + Angular Getting Started + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/main.2331e7fb53981759.js b/docs/main.2331e7fb53981759.js new file mode 100644 index 0000000..366dfe5 --- /dev/null +++ b/docs/main.2331e7fb53981759.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkangular_io_example=self.webpackChunkangular_io_example||[]).push([[179],{580:()=>{function ee(e){return"function"==typeof e}function No(e){const r=e(n=>{Error.call(n),n.stack=(new Error).stack});return r.prototype=Object.create(Error.prototype),r.prototype.constructor=r,r}const ds=No(e=>function(r){e(this),this.message=r?`${r.length} errors occurred during unsubscription:\n${r.map((n,o)=>`${o+1}) ${n.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=r});function Ro(e,t){if(e){const r=e.indexOf(t);0<=r&&e.splice(r,1)}}class nt{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:r}=this;if(r)if(this._parentage=null,Array.isArray(r))for(const i of r)i.remove(this);else r.remove(this);const{initialTeardown:n}=this;if(ee(n))try{n()}catch(i){t=i instanceof ds?i.errors:[i]}const{_finalizers:o}=this;if(o){this._finalizers=null;for(const i of o)try{Ih(i)}catch(s){t=t??[],s instanceof ds?t=[...t,...s.errors]:t.push(s)}}if(t)throw new ds(t)}}add(t){var r;if(t&&t!==this)if(this.closed)Ih(t);else{if(t instanceof nt){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(r=this._finalizers)&&void 0!==r?r:[]).push(t)}}_hasParent(t){const{_parentage:r}=this;return r===t||Array.isArray(r)&&r.includes(t)}_addParent(t){const{_parentage:r}=this;this._parentage=Array.isArray(r)?(r.push(t),r):r?[r,t]:t}_removeParent(t){const{_parentage:r}=this;r===t?this._parentage=null:Array.isArray(r)&&Ro(r,t)}remove(t){const{_finalizers:r}=this;r&&Ro(r,t),t instanceof nt&&t._removeParent(this)}}nt.EMPTY=(()=>{const e=new nt;return e.closed=!0,e})();const Eh=nt.EMPTY;function bh(e){return e instanceof nt||e&&"closed"in e&&ee(e.remove)&&ee(e.add)&&ee(e.unsubscribe)}function Ih(e){ee(e)?e():e.unsubscribe()}const Un={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},fs={setTimeout(e,t,...r){const{delegate:n}=fs;return n?.setTimeout?n.setTimeout(e,t,...r):setTimeout(e,t,...r)},clearTimeout(e){const{delegate:t}=fs;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Mh(e){fs.setTimeout(()=>{const{onUnhandledError:t}=Un;if(!t)throw e;t(e)})}function Qu(){}const fb=Xu("C",void 0,void 0);function Xu(e,t,r){return{kind:e,value:t,error:r}}let zn=null;function hs(e){if(Un.useDeprecatedSynchronousErrorHandling){const t=!zn;if(t&&(zn={errorThrown:!1,error:null}),e(),t){const{errorThrown:r,error:n}=zn;if(zn=null,r)throw n}}else e()}class Ju extends nt{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,bh(t)&&t.add(this)):this.destination=_b}static create(t,r,n){return new xo(t,r,n)}next(t){this.isStopped?el(function pb(e){return Xu("N",e,void 0)}(t),this):this._next(t)}error(t){this.isStopped?el(function hb(e){return Xu("E",void 0,e)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?el(fb,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 mb=Function.prototype.bind;function Ku(e,t){return mb.call(e,t)}class vb{constructor(t){this.partialObserver=t}next(t){const{partialObserver:r}=this;if(r.next)try{r.next(t)}catch(n){ps(n)}}error(t){const{partialObserver:r}=this;if(r.error)try{r.error(t)}catch(n){ps(n)}else ps(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(r){ps(r)}}}class xo extends Ju{constructor(t,r,n){let o;if(super(),ee(t)||!t)o={next:t??void 0,error:r??void 0,complete:n??void 0};else{let i;this&&Un.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&Ku(t.next,i),error:t.error&&Ku(t.error,i),complete:t.complete&&Ku(t.complete,i)}):o=t}this.destination=new vb(o)}}function ps(e){Un.useDeprecatedSynchronousErrorHandling?function gb(e){Un.useDeprecatedSynchronousErrorHandling&&zn&&(zn.errorThrown=!0,zn.error=e)}(e):Mh(e)}function el(e,t){const{onStoppedNotification:r}=Un;r&&fs.setTimeout(()=>r(e,t))}const _b={closed:!0,next:Qu,error:function yb(e){throw e},complete:Qu},tl="function"==typeof Symbol&&Symbol.observable||"@@observable";function wn(e){return e}function Sh(e){return 0===e.length?wn:1===e.length?e[0]:function(r){return e.reduce((n,o)=>o(n),r)}}let ge=(()=>{class e{constructor(r){r&&(this._subscribe=r)}lift(r){const n=new e;return n.source=this,n.operator=r,n}subscribe(r,n,o){const i=function wb(e){return e&&e instanceof Ju||function Cb(e){return e&&ee(e.next)&&ee(e.error)&&ee(e.complete)}(e)&&bh(e)}(r)?r:new xo(r,n,o);return hs(()=>{const{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(r){try{return this._subscribe(r)}catch(n){r.error(n)}}forEach(r,n){return new(n=Ah(n))((o,i)=>{const s=new xo({next:a=>{try{r(a)}catch(u){i(u),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(r){var n;return null===(n=this.source)||void 0===n?void 0:n.subscribe(r)}[tl](){return this}pipe(...r){return Sh(r)(this)}toPromise(r){return new(r=Ah(r))((n,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>n(i))})}}return e.create=t=>new e(t),e})();function Ah(e){var t;return null!==(t=e??Un.Promise)&&void 0!==t?t:Promise}const Eb=No(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let It=(()=>{class e extends ge{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(r){const n=new Th(this,this);return n.operator=r,n}_throwIfClosed(){if(this.closed)throw new Eb}next(r){hs(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const n of this.currentObservers)n.next(r)}})}error(r){hs(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=r;const{observers:n}=this;for(;n.length;)n.shift().error(r)}})}complete(){hs(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:r}=this;for(;r.length;)r.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var r;return(null===(r=this.observers)||void 0===r?void 0:r.length)>0}_trySubscribe(r){return this._throwIfClosed(),super._trySubscribe(r)}_subscribe(r){return this._throwIfClosed(),this._checkFinalizedStatuses(r),this._innerSubscribe(r)}_innerSubscribe(r){const{hasError:n,isStopped:o,observers:i}=this;return n||o?Eh:(this.currentObservers=null,i.push(r),new nt(()=>{this.currentObservers=null,Ro(i,r)}))}_checkFinalizedStatuses(r){const{hasError:n,thrownError:o,isStopped:i}=this;n?r.error(o):i&&r.complete()}asObservable(){const r=new ge;return r.source=this,r}}return e.create=(t,r)=>new Th(t,r),e})();class Th extends It{constructor(t,r){super(),this.destination=t,this.source=r}next(t){var r,n;null===(n=null===(r=this.destination)||void 0===r?void 0:r.next)||void 0===n||n.call(r,t)}error(t){var r,n;null===(n=null===(r=this.destination)||void 0===r?void 0:r.error)||void 0===n||n.call(r,t)}complete(){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===r||r.call(t)}_subscribe(t){var r,n;return null!==(n=null===(r=this.source)||void 0===r?void 0:r.subscribe(t))&&void 0!==n?n:Eh}}function Nh(e){return ee(e?.lift)}function Ce(e){return t=>{if(Nh(t))return t.lift(function(r){try{return e(r,this)}catch(n){this.error(n)}});throw new TypeError("Unable to lift unknown Observable type")}}function _e(e,t,r,n,o){return new bb(e,t,r,n,o)}class bb extends Ju{constructor(t,r,n,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=r?function(a){try{r(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=n?function(){try{n()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:r}=this;super.unsubscribe(),!r&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}}}function G(e,t){return Ce((r,n)=>{let o=0;r.subscribe(_e(n,i=>{n.next(e.call(t,i,o++))}))})}function En(e){return this instanceof En?(this.v=e,this):new En(e)}function Ph(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,t=e[Symbol.asyncIterator];return t?t.call(e):(e=function il(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),r={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(i){r[i]=e[i]&&function(s){return new Promise(function(a,u){!function o(i,s,a,u){Promise.resolve(u).then(function(l){i({value:l,done:a})},s)}(a,u,(s=e[i](s)).done,s.value)})}}}"function"==typeof SuppressedError&&SuppressedError;const Fh=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function kh(e){return ee(e?.then)}function Lh(e){return ee(e[tl])}function Vh(e){return Symbol.asyncIterator&&ee(e?.[Symbol.asyncIterator])}function jh(e){return new TypeError(`You provided ${null!==e&&"object"==typeof e?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const Bh=function qb(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function Hh(e){return ee(e?.[Bh])}function $h(e){return function Oh(e,t,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o,n=r.apply(e,t||[]),i=[];return o={},s("next"),s("throw"),s("return"),o[Symbol.asyncIterator]=function(){return this},o;function s(f){n[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 En?Promise.resolve(f.value.v).then(l,c):d(i[0][2],f)}(n[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 r=e.getReader();try{for(;;){const{value:n,done:o}=yield En(r.read());if(o)return yield En(void 0);yield yield En(n)}}finally{r.releaseLock()}})}function Uh(e){return ee(e?.getReader)}function rt(e){if(e instanceof ge)return e;if(null!=e){if(Lh(e))return function Wb(e){return new ge(t=>{const r=e[tl]();if(ee(r.subscribe))return r.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(Fh(e))return function Zb(e){return new ge(t=>{for(let r=0;r{e.then(r=>{t.closed||(t.next(r),t.complete())},r=>t.error(r)).then(null,Mh)})}(e);if(Vh(e))return zh(e);if(Hh(e))return function Qb(e){return new ge(t=>{for(const r of e)if(t.next(r),t.closed)return;t.complete()})}(e);if(Uh(e))return function Xb(e){return zh($h(e))}(e)}throw jh(e)}function zh(e){return new ge(t=>{(function Jb(e,t){var r,n,o,i;return function Rh(e,t,r,n){return new(r||(r=Promise))(function(i,s){function a(c){try{l(n.next(c))}catch(d){s(d)}}function u(c){try{l(n.throw(c))}catch(d){s(d)}}function l(c){c.done?i(c.value):function o(i){return i instanceof r?i:new r(function(s){s(i)})}(c.value).then(a,u)}l((n=n.apply(e,t||[])).next())})}(this,void 0,void 0,function*(){try{for(r=Ph(e);!(n=yield r.next()).done;)if(t.next(n.value),t.closed)return}catch(s){o={error:s}}finally{try{n&&!n.done&&(i=r.return)&&(yield i.call(r))}finally{if(o)throw o.error}}t.complete()})})(e,t).catch(r=>t.error(r))})}function nn(e,t,r,n=0,o=!1){const i=t.schedule(function(){r(),o?e.add(this.schedule(null,n)):this.unsubscribe()},n);if(e.add(i),!o)return i}function Se(e,t,r=1/0){return ee(t)?Se((n,o)=>G((i,s)=>t(n,i,o,s))(rt(e(n,o))),r):("number"==typeof t&&(r=t),Ce((n,o)=>function Kb(e,t,r,n,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 v=!1;rt(r(g,c++)).subscribe(_e(t,y=>{o?.(y),i?h(y):t.next(y)},()=>{v=!0},void 0,()=>{if(v)try{for(l--;u.length&&lp(y)):p(y)}f()}catch(y){t.error(y)}}))};return e.subscribe(_e(t,h,()=>{d=!0,f()})),()=>{a?.()}}(n,o,e,r)))}function yr(e=1/0){return Se(wn,e)}const Vt=new ge(e=>e.complete());function sl(e){return e[e.length-1]}function Gh(e){return ee(sl(e))?e.pop():void 0}function Oo(e){return function tI(e){return e&&ee(e.schedule)}(sl(e))?e.pop():void 0}function qh(e,t=0){return Ce((r,n)=>{r.subscribe(_e(n,o=>nn(n,e,()=>n.next(o),t),()=>nn(n,e,()=>n.complete(),t),o=>nn(n,e,()=>n.error(o),t)))})}function Wh(e,t=0){return Ce((r,n)=>{n.add(e.schedule(()=>r.subscribe(n),t))})}function Zh(e,t){if(!e)throw new Error("Iterable cannot be null");return new ge(r=>{nn(r,t,()=>{const n=e[Symbol.asyncIterator]();nn(r,t,()=>{n.next().then(o=>{o.done?r.complete():r.next(o.value)})},0,!0)})})}function we(e,t){return t?function uI(e,t){if(null!=e){if(Lh(e))return function rI(e,t){return rt(e).pipe(Wh(t),qh(t))}(e,t);if(Fh(e))return function iI(e,t){return new ge(r=>{let n=0;return t.schedule(function(){n===e.length?r.complete():(r.next(e[n++]),r.closed||this.schedule())})})}(e,t);if(kh(e))return function oI(e,t){return rt(e).pipe(Wh(t),qh(t))}(e,t);if(Vh(e))return Zh(e,t);if(Hh(e))return function sI(e,t){return new ge(r=>{let n;return nn(r,t,()=>{n=e[Bh](),nn(r,t,()=>{let o,i;try{({value:o,done:i}=n.next())}catch(s){return void r.error(s)}i?r.complete():r.next(o)},0,!0)}),()=>ee(n?.return)&&n.return()})}(e,t);if(Uh(e))return function aI(e,t){return Zh($h(e),t)}(e,t)}throw jh(e)}(e,t):rt(e)}class gt extends It{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const r=super._subscribe(t);return!r.closed&&t.next(this._value),r}getValue(){const{hasError:t,thrownError:r,_value:n}=this;if(t)throw r;return this._throwIfClosed(),n}next(t){super.next(this._value=t)}}function T(...e){return we(e,Oo(e))}function Yh(e={}){const{connector:t=(()=>new It),resetOnError:r=!0,resetOnComplete:n=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,u,l=0,c=!1,d=!1;const f=()=>{a?.unsubscribe(),a=void 0},h=()=>{f(),s=u=void 0,c=d=!1},p=()=>{const g=s;h(),g?.unsubscribe()};return Ce((g,v)=>{l++,!d&&!c&&f();const y=u=u??t();v.add(()=>{l--,0===l&&!d&&!c&&(a=al(p,o))}),y.subscribe(v),!s&&l>0&&(s=new xo({next:m=>y.next(m),error:m=>{d=!0,f(),a=al(h,r,m),y.error(m)},complete:()=>{c=!0,f(),a=al(h,n),y.complete()}}),rt(g).subscribe(s))})(i)}}function al(e,t,...r){if(!0===t)return void e();if(!1===t)return;const n=new xo({next:()=>{n.unsubscribe(),e()}});return rt(t(...r)).subscribe(n)}function Mt(e,t){return Ce((r,n)=>{let o=null,i=0,s=!1;const a=()=>s&&!o&&n.complete();r.subscribe(_e(n,u=>{o?.unsubscribe();let l=0;const c=i++;rt(e(u,c)).subscribe(o=_e(n,d=>n.next(t?t(u,d,c,l++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function dI(e,t){return e===t}function Q(e){for(let t in e)if(e[t]===Q)return t;throw Error("Could not find renamed property on target object.")}function gs(e,t){for(const r in t)t.hasOwnProperty(r)&&!e.hasOwnProperty(r)&&(e[r]=t[r])}function Ee(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(Ee).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 r=t.indexOf("\n");return-1===r?t:t.substring(0,r)}function ul(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const fI=Q({__forward_ref__:Q});function ne(e){return e.__forward_ref__=ne,e.toString=function(){return Ee(this())},e}function x(e){return ll(e)?e():e}function ll(e){return"function"==typeof e&&e.hasOwnProperty(fI)&&e.__forward_ref__===ne}function cl(e){return e&&!!e.\u0275providers}const Qh="https://g.co/ng/security#xss";class D extends Error{constructor(t,r){super(function ms(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,r)),this.code=t}}function P(e){return"string"==typeof e?e:null==e?"":String(e)}function dl(e,t){throw new D(-201,!1)}function mt(e,t){null==e&&function N(e,t,r,n){throw new Error(`ASSERTION ERROR: ${e}`+(null==n?"":` [Expected=> ${r} ${n} ${t} <=Actual]`))}(t,e,null,"!=")}function A(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function St(e){return{providers:e.providers||[],imports:e.imports||[]}}function vs(e){return Xh(e,_s)||Xh(e,Jh)}function Xh(e,t){return e.hasOwnProperty(t)?e[t]:null}function ys(e){return e&&(e.hasOwnProperty(fl)||e.hasOwnProperty(DI))?e[fl]:null}const _s=Q({\u0275prov:Q}),fl=Q({\u0275inj:Q}),Jh=Q({ngInjectableDef:Q}),DI=Q({ngInjectorDef:Q});var B=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}(B||{});let hl;function Ye(e){const t=hl;return hl=e,t}function ep(e,t,r){const n=vs(e);return n&&"root"==n.providedIn?void 0===n.value?n.value=n.factory():n.value:r&B.Optional?null:void 0!==t?t:void dl(Ee(e))}const re=globalThis,Po={},yl="__NG_DI_FLAG__",Ds="ngTempTokenPath",EI=/\n/gm,np="__source";let _r;function bn(e){const t=_r;return _r=e,t}function MI(e,t=B.Default){if(void 0===_r)throw new D(-203,!1);return null===_r?ep(e,void 0,t):_r.get(e,t&B.Optional?null:void 0,t)}function S(e,t=B.Default){return(function Kh(){return hl}()||MI)(x(e),t)}function E(e,t=B.Default){return S(e,Cs(t))}function Cs(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function _l(e){const t=[];for(let r=0;rt){s=i-1;break}}}for(;ii?"":o[d+1].toLowerCase();const h=8&n?f:null;if(h&&-1!==sp(h,l,0)||2&n&&l!==f){if(Tt(n))return!1;s=!0}}}}else{if(!s&&!Tt(n)&&!Tt(u))return!1;if(s&&Tt(u))continue;s=!1,n=u|1&n}}return Tt(n)||s}function Tt(e){return 0==(1&e)}function OI(e,t,r,n){if(null===t)return-1;let o=0;if(n||!r){let i=!1;for(;o-1)for(r++;r0?'="'+a+'"':"")+"]"}else 8&n?o+="."+s:4&n&&(o+=" "+s);else""!==o&&!Tt(s)&&(t+=hp(i,o),o=""),n=s,i=i||!Tt(n);r++}return""!==o&&(t+=hp(i,o)),t}function sn(e){return rn(()=>{const t=gp(e),r={...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||At.Emulated,styles:e.styles||z,_:null,schemas:e.schemas||null,tView:null,id:""};mp(r);const n=e.dependencies;return r.directiveDefs=bs(n,!1),r.pipeDefs=bs(n,!0),r.id=function qI(e){let t=0;const r=[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 r)t=Math.imul(31,t)+o.charCodeAt(0)<<0;return t+=2147483648,"c"+t}(r),r})}function $I(e){return $(e)||Ae(e)}function UI(e){return null!==e}function Bt(e){return rn(()=>({type:e.type,bootstrap:e.bootstrap||z,declarations:e.declarations||z,imports:e.imports||z,exports:e.exports||z,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function pp(e,t){if(null==e)return jt;const r={};for(const n in e)if(e.hasOwnProperty(n)){let o=e[n],i=o;Array.isArray(o)&&(i=o[1],o=o[0]),r[o]=n,t&&(t[o]=i)}return r}function O(e){return rn(()=>{const t=gp(e);return mp(t),t})}function Qe(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function $(e){return e[Es]||null}function Ae(e){return e[Dl]||null}function Be(e){return e[Cl]||null}function it(e,t){const r=e[op]||null;if(!r&&!0===t)throw new Error(`Type ${Ee(e)} does not have '\u0275mod' property.`);return r}function gp(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||jt,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||z,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:pp(e.inputs,t),outputs:pp(e.outputs)}}function mp(e){e.features?.forEach(t=>t(e))}function bs(e,t){if(!e)return null;const r=t?Be:$I;return()=>("function"==typeof e?e():e).map(n=>r(n)).filter(UI)}const he=0,w=1,L=2,ue=3,Nt=4,Vo=5,Fe=6,Cr=7,me=8,In=9,wr=10,F=11,jo=12,vp=13,Er=14,ve=15,Bo=16,br=17,Ht=18,Ho=19,yp=20,Mn=21,an=22,$o=23,Uo=24,H=25,El=1,_p=2,$t=7,Ir=9,Te=11;function Xe(e){return Array.isArray(e)&&"object"==typeof e[El]}function He(e){return Array.isArray(e)&&!0===e[El]}function bl(e){return 0!=(4&e.flags)}function qn(e){return e.componentOffset>-1}function Ms(e){return 1==(1&e.flags)}function Rt(e){return!!e.template}function Il(e){return 0!=(512&e[L])}function Wn(e,t){return e.hasOwnProperty(on)?e[on]:null}let Ne=null,Ss=!1;function vt(e){const t=Ne;return Ne=e,t}const As={version:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{}};function bp(e){if(!Go(e)||e.dirty){if(!e.producerMustRecompute(e)&&!Sp(e))return void(e.dirty=!1);e.producerRecomputeValue(e),e.dirty=!1}}function Mp(e){e.dirty=!0,function Ip(e){if(void 0===e.liveConsumerNode)return;const t=Ss;Ss=!0;try{for(const r of e.liveConsumerNode)r.dirty||Mp(r)}finally{Ss=t}}(e),e.consumerMarkedDirty?.(e)}function Ts(e){return e&&(e.nextProducerIndex=0),vt(e)}function Ns(e,t){if(vt(t),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if(Go(e))for(let r=e.nextProducerIndex;r0}function Mr(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}let Rp=null;function Pp(e){const t=vt(null);try{return e()}finally{vt(t)}}const Fp=()=>{},oM={...As,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{e.schedule(e.ref)},hasRun:!1,cleanupFn:Fp};class iM{constructor(t,r,n){this.previousValue=t,this.currentValue=r,this.firstChange=n}isFirstChange(){return this.firstChange}}function yt(){return kp}function kp(e){return e.type.prototype.ngOnChanges&&(e.setInput=aM),sM}function sM(){const e=Vp(this),t=e?.current;if(t){const r=e.previous;if(r===jt)e.previous=t;else for(let n in t)r[n]=t[n];e.current=null,this.ngOnChanges(t)}}function aM(e,t,r,n){const o=this.declaredInputs[r],i=Vp(e)||function uM(e,t){return e[Lp]=t}(e,{previous:jt,current:null}),s=i.current||(i.current={}),a=i.previous,u=a[o];s[o]=new iM(u&&u.currentValue,t,a===jt),e[n]=t}yt.ngInherit=!0;const Lp="__ngSimpleChanges__";function Vp(e){return e[Lp]||null}const Ut=function(e,t,r){};function oe(e){for(;Array.isArray(e);)e=e[he];return e}function Os(e,t){return oe(t[e])}function Je(e,t){return oe(t[e.index])}function Hp(e,t){return e.data[t]}function st(e,t){const r=t[e];return Xe(r)?r:r[he]}function An(e,t){return null==t?null:e[t]}function $p(e){e[br]=0}function pM(e){1024&e[L]||(e[L]|=1024,zp(e,1))}function Up(e){1024&e[L]&&(e[L]&=-1025,zp(e,-1))}function zp(e,t){let r=e[ue];if(null===r)return;r[Vo]+=t;let n=r;for(r=r[ue];null!==r&&(1===t&&1===n[Vo]||-1===t&&0===n[Vo]);)r[Vo]+=t,n=r,r=r[ue]}const R={lFrame:tg(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Wp(){return R.bindingsEnabled}function _(){return R.lFrame.lView}function U(){return R.lFrame.tView}function qo(e){return R.lFrame.contextLView=e,e[me]}function Wo(e){return R.lFrame.contextLView=null,e}function Re(){let e=Zp();for(;null!==e&&64===e.type;)e=e.parent;return e}function Zp(){return R.lFrame.currentTNode}function zt(e,t){const r=R.lFrame;r.currentTNode=e,r.isParent=t}function Ol(){return R.lFrame.isParent}function $e(){const e=R.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Tr(){return R.lFrame.bindingIndex++}function MM(e,t){const r=R.lFrame;r.bindingIndex=r.bindingRootIndex=e,Fl(t)}function Fl(e){R.lFrame.currentDirectiveIndex=e}function Ll(e){R.lFrame.currentQueryIndex=e}function AM(e){const t=e[w];return 2===t.type?t.declTNode:1===t.type?e[Fe]:null}function Kp(e,t,r){if(r&B.SkipSelf){let o=t,i=e;for(;!(o=o.parent,null!==o||r&B.Host||(o=AM(i),null===o||(i=i[Er],10&o.type))););if(null===o)return!1;t=o,e=i}const n=R.lFrame=eg();return n.currentTNode=t,n.lView=e,!0}function Vl(e){const t=eg(),r=e[w];R.lFrame=t,t.currentTNode=r.firstChild,t.lView=e,t.tView=r,t.contextLView=e,t.bindingIndex=r.bindingStartIndex,t.inI18n=!1}function eg(){const e=R.lFrame,t=null===e?null:e.child;return null===t?tg(e):t}function tg(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 ng(){const e=R.lFrame;return R.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const rg=ng;function jl(){const e=ng();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 Ue(){return R.lFrame.selectedIndex}function Zn(e){R.lFrame.selectedIndex=e}function de(){const e=R.lFrame;return Hp(e.tView,e.selectedIndex)}let ig=!0;function Ps(){return ig}function Tn(e){ig=e}function Fs(e,t){for(let r=t.directiveStart,n=t.directiveEnd;r=n)break}else t[u]<0&&(e[br]+=65536),(a>13>16&&(3&e[L])===t&&(e[L]+=8192,ag(a,i)):ag(a,i)}const Nr=-1;class Yo{constructor(t,r,n){this.factory=t,this.resolving=!1,this.canSeeViewProviders=r,this.injectImpl=n}}function $l(e){return e!==Nr}function Qo(e){return 32767&e}function Xo(e,t){let r=function BM(e){return e>>16}(e),n=t;for(;r>0;)n=n[Er],r--;return n}let Ul=!0;function Vs(e){const t=Ul;return Ul=e,t}const ug=255,lg=5;let HM=0;const Gt={};function js(e,t){const r=cg(e,t);if(-1!==r)return r;const n=t[w];n.firstCreatePass&&(e.injectorIndex=t.length,zl(n.data,e),zl(t,null),zl(n.blueprint,null));const o=Bs(e,t),i=e.injectorIndex;if($l(o)){const s=Qo(o),a=Xo(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 zl(e,t){e.push(0,0,0,0,0,0,0,0,t)}function cg(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Bs(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let r=0,n=null,o=t;for(;null!==o;){if(n=vg(o),null===n)return Nr;if(r++,o=o[Er],-1!==n.injectorIndex)return n.injectorIndex|r<<16}return Nr}function Gl(e,t,r){!function $M(e,t,r){let n;"string"==typeof r?n=r.charCodeAt(0)||0:r.hasOwnProperty(ko)&&(n=r[ko]),null==n&&(n=r[ko]=HM++);const o=n&ug;t.data[e+(o>>lg)]|=1<=0?t&ug:WM:t}(r);if("function"==typeof i){if(!Kp(t,e,n))return n&B.Host?dg(o,0,n):fg(t,r,n,o);try{let s;if(s=i(n),null!=s||n&B.Optional)return s;dl()}finally{rg()}}else if("number"==typeof i){let s=null,a=cg(e,t),u=Nr,l=n&B.Host?t[ve][Fe]:null;for((-1===a||n&B.SkipSelf)&&(u=-1===a?Bs(e,t):t[a+8],u!==Nr&&mg(n,!1)?(s=t[w],a=Qo(u),t=Xo(u,t)):a=-1);-1!==a;){const c=t[w];if(gg(i,a,c.data)){const d=zM(a,t,r,s,n,l);if(d!==Gt)return d}u=t[a+8],u!==Nr&&mg(n,t[w].data[a+8]===l)&&gg(i,a,t)?(s=c,a=Qo(u),t=Xo(u,t)):a=-1}}return o}function zM(e,t,r,n,o,i){const s=t[w],a=s.data[e+8],c=function Hs(e,t,r,n,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=n?a:a+c;h=u&&p.type===r)return h}if(o){const h=s[u];if(h&&Rt(h)&&h.type===r)return u}return null}(a,s,r,null==n?qn(a)&&Ul:n!=s&&0!=(3&a.type),o&B.Host&&i===a);return null!==c?Yn(t,s,c,a):Gt}function Yn(e,t,r,n){let o=e[r];const i=t.data;if(function LM(e){return e instanceof Yo}(o)){const s=o;s.resolving&&function hI(e,t){const r=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new D(-200,`Circular dependency in DI detected for ${e}${r}`)}(function Y(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():P(e)}(i[r]));const a=Vs(s.canSeeViewProviders);s.resolving=!0;const l=s.injectImpl?Ye(s.injectImpl):null;Kp(e,n,B.Default);try{o=e[r]=s.factory(void 0,i,e,n),t.firstCreatePass&&r>=n.directiveStart&&function FM(e,t,r){const{ngOnChanges:n,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(n){const s=kp(t);(r.preOrderHooks??=[]).push(e,s),(r.preOrderCheckHooks??=[]).push(e,s)}o&&(r.preOrderHooks??=[]).push(0-e,o),i&&((r.preOrderHooks??=[]).push(e,i),(r.preOrderCheckHooks??=[]).push(e,i))}(r,i[r],t)}finally{null!==l&&Ye(l),Vs(a),s.resolving=!1,rg()}}return o}function gg(e,t,r){return!!(r[t+(e>>lg)]&1<{const t=e.prototype.constructor,r=t[on]||ql(t),n=Object.prototype;let o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==n;){const i=o[on]||ql(o);if(i&&i!==r)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function ql(e){return ll(e)?()=>{const t=ql(x(e));return t&&t()}:Wn(e)}function vg(e){const t=e[w],r=t.type;return 2===r?t.declTNode:1===r?e[Fe]:null}const xr="__parameters__";function Pr(e,t,r){return rn(()=>{const n=function Wl(e){return function(...r){if(e){const n=e(...r);for(const o in n)this[o]=n[o]}}}(t);function o(...i){if(this instanceof o)return n.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 r&&(o.prototype=Object.create(r.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}function kr(e,t){e.forEach(r=>Array.isArray(r)?kr(r,t):t(r))}function _g(e,t,r){t>=e.length?e.push(r):e.splice(t,0,r)}function Us(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function at(e,t,r){let n=Lr(e,t);return n>=0?e[1|n]=r:(n=~n,function tS(e,t,r,n){let o=e.length;if(o==t)e.push(r,n);else if(1===o)e.push(n,e[0]),e[0]=r;else{for(o--,e.push(e[o-1],e[o]);o>t;)e[o]=e[o-2],o--;e[t]=r,e[t+1]=n}}(e,n,t,r)),n}function Zl(e,t){const r=Lr(e,t);if(r>=0)return e[1|r]}function Lr(e,t){return function Dg(e,t,r){let n=0,o=e.length>>r;for(;o!==n;){const i=n+(o-n>>1),s=e[i<t?o=i:n=i+1}return~(o<0&&(e[r-1][Nt]=n[Nt]);const i=Us(e,Te+t);!function VS(e,t){ii(e,t,t[F],2,null,null),t[he]=null,t[Fe]=null}(n[w],n);const s=i[Ht];null!==s&&s.detachView(i[w]),n[ue]=null,n[Nt]=null,n[L]&=-129}return n}function ic(e,t){if(!(256&t[L])){const r=t[F];t[$o]&&Ap(t[$o]),t[Uo]&&Ap(t[Uo]),r.destroyNode&&ii(e,t,r,3,null,null),function HS(e){let t=e[jo];if(!t)return sc(e[w],e);for(;t;){let r=null;if(Xe(t))r=t[jo];else{const n=t[Te];n&&(r=n)}if(!r){for(;t&&!t[Nt]&&t!==e;)Xe(t)&&sc(t[w],t),t=t[ue];null===t&&(t=e),Xe(t)&&sc(t[w],t),r=t&&t[Nt]}t=r}}(t)}}function sc(e,t){if(!(256&t[L])){t[L]&=-129,t[L]|=256,function GS(e,t){let r;if(null!=e&&null!=(r=e.destroyHooks))for(let n=0;n=0?n[s]():n[-s].unsubscribe(),i+=2}else r[i].call(n[r[i+1]]);null!==n&&(t[Cr]=null);const o=t[Mn];if(null!==o){t[Mn]=null;for(let i=0;i-1){const{encapsulation:i}=e.data[n.directiveStart+o];if(i===At.None||i===At.Emulated)return null}return Je(n,r)}}(e,t.parent,r)}function Qn(e,t,r,n,o){e.insertBefore(t,r,n,o)}function qg(e,t,r){e.appendChild(t,r)}function Wg(e,t,r,n,o){null!==n?Qn(e,t,r,n,o):qg(e,t,r)}function na(e,t){return e.parentNode(t)}let uc,fc,sa,Qg=function Yg(e,t,r){return 40&e.type?Je(e,r):null};function ra(e,t,r,n){const o=ac(e,n,t),i=t[F],a=function Zg(e,t,r){return Qg(e,t,r)}(n.parent||t[Fe],n,t);if(null!=o)if(Array.isArray(r))for(let u=0;ue,createScript:e=>e,createScriptURL:e=>e})}catch{}return sa}()?.createScriptURL(e)||e}class sm{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Qh})`}}function Rn(e){return e instanceof sm?e.changingThisBreaksApplicationSecurity:e}function si(e,t){const r=function u0(e){return e instanceof sm&&e.getTypeName()||null}(e);if(null!=r&&r!==t){if("ResourceURL"===r&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${r} (see ${Qh})`)}return r===t}const f0=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;var Ur=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(Ur||{});function hm(e){const t=ui();return t?t.sanitize(Ur.URL,e)||"":si(e,"URL")?Rn(e):function pc(e){return(e=String(e)).match(f0)?e:"unsafe:"+e}(P(e))}function pm(e){const t=ui();if(t)return im(t.sanitize(Ur.RESOURCE_URL,e)||"");if(si(e,"ResourceURL"))return im(Rn(e));throw new D(904,!1)}function ui(){const e=_();return e&&e[wr].sanitizer}class b{constructor(t,r){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof r?this.__NG_ELEMENT_ID__=r:void 0!==r&&(this.\u0275prov=A({token:this,providedIn:r.providedIn||"root",factory:r.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const li=new b("ENVIRONMENT_INITIALIZER"),mm=new b("INJECTOR",-1),vm=new b("INJECTOR_DEF_TYPES");class yc{get(t,r=Po){if(r===Po){const n=new Error(`NullInjectorError: No provider for ${Ee(t)}!`);throw n.name="NullInjectorError",n}return r}}function I0(...e){return{\u0275providers:ym(0,e),\u0275fromNgModule:!0}}function ym(e,...t){const r=[],n=new Set;let o;const i=s=>{r.push(s)};return kr(t,s=>{const a=s;ua(a,i,[],n)&&(o||=[],o.push(a))}),void 0!==o&&_m(o,i),r}function _m(e,t){for(let r=0;r{t(i,n)})}}function ua(e,t,r,n){if(!(e=x(e)))return!1;let o=null,i=ys(e);const s=!i&&$(e);if(i||s){if(s&&!s.standalone)return!1;o=e}else{const u=e.ngModule;if(i=ys(u),!i)return!1;o=u}const a=n.has(o);if(s){if(a)return!1;if(n.add(o),s.dependencies){const u="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const l of u)ua(l,t,r,n)}}else{if(!i)return!1;{if(null!=i.imports&&!a){let l;n.add(o);try{kr(i.imports,c=>{ua(c,t,r,n)&&(l||=[],l.push(c))})}finally{}void 0!==l&&_m(l,t)}if(!a){const l=Wn(o)||(()=>new o);t({provide:o,useFactory:l,deps:z},o),t({provide:vm,useValue:o,multi:!0},o),t({provide:li,useValue:()=>S(o),multi:!0},o)}const u=i.providers;if(null!=u&&!a){const l=e;Dc(u,c=>{t(c,l)})}}}return o!==e&&void 0!==e.providers}function Dc(e,t){for(let r of e)cl(r)&&(r=r.\u0275providers),Array.isArray(r)?Dc(r,t):t(r)}const M0=Q({provide:String,useValue:Q});function Cc(e){return null!==e&&"object"==typeof e&&M0 in e}function Xn(e){return"function"==typeof e}const wc=new b("Set Injector scope."),la={},A0={};let Ec;function ca(){return void 0===Ec&&(Ec=new yc),Ec}class ut{}class da extends ut{get destroyed(){return this._destroyed}constructor(t,r,n,o){super(),this.parent=r,this.source=n,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Ic(t,s=>this.processProvider(s)),this.records.set(mm,zr(void 0,this)),o.has("environment")&&this.records.set(ut,zr(void 0,this));const i=this.records.get(wc);null!=i&&"string"==typeof i.value&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(vm.multi,z,B.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const r of this._ngOnDestroyHooks)r.ngOnDestroy();const t=this._onDestroyHooks;this._onDestroyHooks=[];for(const r of t)r()}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 r=bn(this),n=Ye(void 0);try{return t()}finally{bn(r),Ye(n)}}get(t,r=Po,n=B.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(ip))return t[ip](this);n=Cs(n);const i=bn(this),s=Ye(void 0);try{if(!(n&B.SkipSelf)){let u=this.records.get(t);if(void 0===u){const l=function O0(e){return"function"==typeof e||"object"==typeof e&&e instanceof b}(t)&&vs(t);u=l&&this.injectableDefInScope(l)?zr(bc(t),la):null,this.records.set(t,u)}if(null!=u)return this.hydrate(t,u)}return(n&B.Self?ca():this.parent).get(t,r=n&B.Optional&&r===Po?null:r)}catch(a){if("NullInjectorError"===a.name){if((a[Ds]=a[Ds]||[]).unshift(Ee(t)),i)throw a;return function AI(e,t,r,n){const o=e[Ds];throw t[np]&&o.unshift(t[np]),e.message=function TI(e,t,r,n=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let o=Ee(t);if(Array.isArray(t))o=t.map(Ee).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):Ee(a)))}o=`{${i.join(", ")}}`}return`${r}${n?"("+n+")":""}[${o}]: ${e.replace(EI,"\n ")}`}("\n"+e.message,o,r,n),e.ngTokenPath=o,e[Ds]=null,e}(a,t,"R3InjectorError",this.source)}throw a}finally{Ye(s),bn(i)}}resolveInjectorInitializers(){const t=bn(this),r=Ye(void 0);try{const o=this.get(li.multi,z,B.Self);for(const i of o)i()}finally{bn(t),Ye(r)}}toString(){const t=[],r=this.records;for(const n of r.keys())t.push(Ee(n));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new D(205,!1)}processProvider(t){let r=Xn(t=x(t))?t:x(t&&t.provide);const n=function N0(e){return Cc(e)?zr(void 0,e.useValue):zr(wm(e),la)}(t);if(Xn(t)||!0!==t.multi)this.records.get(r);else{let o=this.records.get(r);o||(o=zr(void 0,la,!0),o.factory=()=>_l(o.multi),this.records.set(r,o)),r=t,o.multi.push(t)}this.records.set(r,n)}hydrate(t,r){return r.value===la&&(r.value=A0,r.value=r.factory()),"object"==typeof r.value&&r.value&&function x0(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(r.value)&&this._ngOnDestroyHooks.add(r.value),r.value}injectableDefInScope(t){if(!t.providedIn)return!1;const r=x(t.providedIn);return"string"==typeof r?"any"===r||this.scopes.has(r):this.injectorDefTypes.has(r)}removeOnDestroy(t){const r=this._onDestroyHooks.indexOf(t);-1!==r&&this._onDestroyHooks.splice(r,1)}}function bc(e){const t=vs(e),r=null!==t?t.factory:Wn(e);if(null!==r)return r;if(e instanceof b)throw new D(204,!1);if(e instanceof Function)return function T0(e){const t=e.length;if(t>0)throw function ei(e,t){const r=[];for(let n=0;nr.factory(e):()=>new e}(e);throw new D(204,!1)}function wm(e,t,r){let n;if(Xn(e)){const o=x(e);return Wn(o)||bc(o)}if(Cc(e))n=()=>x(e.useValue);else if(function Cm(e){return!(!e||!e.useFactory)}(e))n=()=>e.useFactory(..._l(e.deps||[]));else if(function Dm(e){return!(!e||!e.useExisting)}(e))n=()=>S(x(e.useExisting));else{const o=x(e&&(e.useClass||e.provide));if(!function R0(e){return!!e.deps}(e))return Wn(o)||bc(o);n=()=>new o(..._l(e.deps))}return n}function zr(e,t,r=!1){return{factory:e,value:t,multi:r?[]:void 0}}function Ic(e,t){for(const r of e)Array.isArray(r)?Ic(r,t):r&&cl(r)?Ic(r.\u0275providers,t):t(r)}const fa=new b("AppId",{providedIn:"root",factory:()=>P0}),P0="ng",Em=new b("Platform Initializer"),Jn=new b("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),bm=new b("CSP nonce",{providedIn:"root",factory:()=>function $r(){if(void 0!==fc)return fc;if(typeof document<"u")return document;throw new D(210,!1)}().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let Im=(e,t,r)=>null;function Oc(e,t,r=!1){return Im(e,t,r)}class z0{}class Am{}class q0{resolveComponentFactory(t){throw function G0(e){const t=Error(`No component factory found for ${Ee(e)}.`);return t.ngComponent=e,t}(t)}}let ya=(()=>{class t{}return t.NULL=new q0,t})();function W0(){return Wr(Re(),_())}function Wr(e,t){return new lt(Je(e,t))}let lt=(()=>{class t{constructor(n){this.nativeElement=n}}return t.__NG_ELEMENT_ID__=W0,t})();class Nm{}let dn=(()=>{class t{constructor(){this.destroyNode=null}}return t.__NG_ELEMENT_ID__=()=>function Y0(){const e=_(),r=st(Re().index,e);return(Xe(r)?r:e)[F]}(),t})(),Q0=(()=>{var e;class t{}return(e=t).\u0275prov=A({token:e,providedIn:"root",factory:()=>null}),t})();class fi{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const X0=new fi("16.2.4"),kc={};function Pm(e,t=null,r=null,n){const o=Fm(e,t,r,n);return o.resolveInjectorInitializers(),o}function Fm(e,t=null,r=null,n,o=new Set){const i=[r||z,I0(e)];return n=n||("object"==typeof e?void 0:Ee(e)),new da(i,t||ca(),n||null,o)}let ct=(()=>{var e;class t{static create(n,o){if(Array.isArray(n))return Pm({name:""},o,n,"");{const i=n.name??"";return Pm({name:i},n.parent,n.providers,i)}}}return(e=t).THROW_IF_NOT_FOUND=Po,e.NULL=new yc,e.\u0275prov=A({token:e,providedIn:"any",factory:()=>S(mm)}),e.__NG_ELEMENT_ID__=-1,t})();function jc(e){return t=>{setTimeout(e,void 0,t)}}const fe=class oA extends It{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,r,n){let o=t,i=r||(()=>null),s=n;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=jc(i),o&&(o=jc(o)),s&&(s=jc(s)));const a=super.subscribe({next:o,error:i,complete:s});return t instanceof nt&&t.add(a),a}};function km(...e){}class ie{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:n=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new fe(!1),this.onMicrotaskEmpty=new fe(!1),this.onStable=new fe(!1),this.onError=new fe(!1),typeof Zone>"u")throw new D(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=!n&&r,o.shouldCoalesceRunChangeDetection=n,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function iA(){const e="function"==typeof re.requestAnimationFrame;let t=re[e?"requestAnimationFrame":"setTimeout"],r=re[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&r){const n=t[Zone.__symbol__("OriginalDelegate")];n&&(t=n);const o=r[Zone.__symbol__("OriginalDelegate")];o&&(r=o)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:r}}().nativeRequestAnimationFrame,function uA(e){const t=()=>{!function aA(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(re,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Hc(e),e.isCheckStableRunning=!0,Bc(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Hc(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(r,n,o,i,s,a)=>{if(function cA(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}(a))return r.invokeTask(o,i,s,a);try{return Lm(e),r.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||e.shouldCoalesceRunChangeDetection)&&t(),Vm(e)}},onInvoke:(r,n,o,i,s,a,u)=>{try{return Lm(e),r.invoke(o,i,s,a,u)}finally{e.shouldCoalesceRunChangeDetection&&t(),Vm(e)}},onHasTask:(r,n,o,i)=>{r.hasTask(o,i),n===o&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,Hc(e),Bc(e)):"macroTask"==i.change&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(r,n,o,i)=>(r.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(!ie.isInAngularZone())throw new D(909,!1)}static assertNotInAngularZone(){if(ie.isInAngularZone())throw new D(909,!1)}run(t,r,n){return this._inner.run(t,r,n)}runTask(t,r,n,o){const i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,sA,km,km);try{return i.runTask(s,r,n)}finally{i.cancelTask(s)}}runGuarded(t,r,n){return this._inner.runGuarded(t,r,n)}runOutsideAngular(t){return this._outer.run(t)}}const sA={};function Bc(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 Hc(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Lm(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Vm(e){e._nesting--,Bc(e)}class lA{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new fe,this.onMicrotaskEmpty=new fe,this.onStable=new fe,this.onError=new fe}run(t,r,n){return t.apply(r,n)}runGuarded(t,r,n){return t.apply(r,n)}runOutsideAngular(t){return t()}runTask(t,r,n,o){return t.apply(r,n)}}const jm=new b("",{providedIn:"root",factory:Bm});function Bm(){const e=E(ie);let t=!0;return function lI(...e){const t=Oo(e),r=function nI(e,t){return"number"==typeof sl(e)?e.pop():t}(e,1/0),n=e;return n.length?1===n.length?rt(n[0]):yr(r)(we(n,t)):Vt}(new ge(o=>{t=e.isStable&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks,e.runOutsideAngular(()=>{o.next(t),o.complete()})}),new ge(o=>{let i;e.runOutsideAngular(()=>{i=e.onStable.subscribe(()=>{ie.assertNotInAngularZone(),queueMicrotask(()=>{!t&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks&&(t=!0,o.next(!0))})})});const s=e.onUnstable.subscribe(()=>{ie.assertInAngularZone(),t&&(t=!1,e.runOutsideAngular(()=>{o.next(!1)}))});return()=>{i.unsubscribe(),s.unsubscribe()}}).pipe(Yh()))}function fn(e){return e instanceof Function?e():e}let $c=(()=>{var e;class t{constructor(){this.callbacks=new Set,this.deferredCallbacks=new Set,this.renderDepth=0,this.runningCallbacks=!1}begin(){if(this.runningCallbacks)throw new D(102,!1);this.renderDepth++}end(){if(this.renderDepth--,0===this.renderDepth)try{this.runningCallbacks=!0;for(const n of this.callbacks)n.invoke()}finally{this.runningCallbacks=!1;for(const n of this.deferredCallbacks)this.callbacks.add(n);this.deferredCallbacks.clear()}}register(n){(this.runningCallbacks?this.deferredCallbacks:this.callbacks).add(n)}unregister(n){this.callbacks.delete(n),this.deferredCallbacks.delete(n)}ngOnDestroy(){this.callbacks.clear(),this.deferredCallbacks.clear()}}return(e=t).\u0275prov=A({token:e,providedIn:"root",factory:()=>new e}),t})();function hi(e){for(;e;){e[L]|=64;const t=ri(e);if(Il(e)&&!t)return e;e=t}return null}function Uc(e){return e.ngOriginalError}class Kn{constructor(){this._console=console}handleError(t){const r=this._findOriginalError(t);this._console.error("ERROR",t),r&&this._console.error("ORIGINAL ERROR",r)}_findOriginalError(t){let r=t&&Uc(t);for(;r&&Uc(r);)r=Uc(r);return r||null}}const Gm=new b("",{providedIn:"root",factory:()=>!1});let Da=null;function Ym(e,t){return e[t]??Jm()}function Qm(e,t){const r=Jm();r.producerNode?.length&&(e[t]=Da,r.lView=e,Da=Xm())}const DA={...As,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{hi(e.lView)},lView:null};function Xm(){return Object.create(DA)}function Jm(){return Da??=Xm(),Da}const k={};function Ie(e){Km(U(),_(),Ue()+e,!1)}function Km(e,t,r,n){if(!n)if(3==(3&t[L])){const i=e.preOrderCheckHooks;null!==i&&ks(t,i,r)}else{const i=e.preOrderHooks;null!==i&&Ls(t,i,0,r)}Zn(r)}function C(e,t=B.Default){const r=_();return null===r?S(e,t):hg(Re(),r,x(e),t)}function Ca(e,t,r,n,o,i,s,a,u,l,c){const d=t.blueprint.slice();return d[he]=o,d[L]=140|n,(null!==l||e&&2048&e[L])&&(d[L]|=2048),$p(d),d[ue]=d[Er]=e,d[me]=r,d[wr]=s||e&&e[wr],d[F]=a||e&&e[F],d[In]=u||e&&e[In]||null,d[Fe]=i,d[Ho]=function MS(){return IS++}(),d[an]=c,d[yp]=l,d[ve]=2==t.type?e[ve]:d,d}function Qr(e,t,r,n,o){let i=e.data[t];if(null===i)i=function zc(e,t,r,n,o){const i=Zp(),s=Ol(),u=e.data[t]=function AA(e,t,r,n,o,i){let s=t?t.injectorIndex:-1,a=0;return function Ar(){return null!==R.skipHydrationRootTNode}()&&(a|=128),{type:r,index:n,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,r,t,n,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,r,n,o),function IM(){return R.lFrame.inI18n}()&&(i.flags|=32);else if(64&i.type){i.type=r,i.value=n,i.attrs=o;const s=function Zo(){const e=R.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();i.injectorIndex=null===s?-1:s.injectorIndex}return zt(i,!0),i}function pi(e,t,r,n){if(0===r)return-1;const o=t.length;for(let i=0;iH&&Km(e,t,H,!1),Ut(a?2:0,o);const l=a?i:null,c=Ts(l);try{null!==l&&(l.dirty=!1),r(n,o)}finally{Ns(l,c)}}finally{a&&null===t[$o]&&Qm(t,$o),Zn(s),Ut(a?3:1,o)}}function Gc(e,t,r){if(bl(t)){const n=vt(null);try{const i=t.directiveEnd;for(let s=t.directiveStart;snull;function ov(e,t,r,n){for(let o in e)if(e.hasOwnProperty(o)){r=null===r?{}:r;const i=e[o];null===n?iv(r,t,o,i):n.hasOwnProperty(o)&&iv(r,t,n[o],i)}return r}function iv(e,t,r,n){e.hasOwnProperty(r)?e[r].push(t,n):e[r]=[t,n]}function Yc(e,t,r,n){if(Wp()){const o=null===n?null:{"":-1},i=function LA(e,t){const r=e.directiveRegistry;let n=null,o=null;if(r)for(let i=0;i0;){const r=e[--t];if("number"==typeof r&&r<0)return r}return 0})(s)!=a&&s.push(a),s.push(r,n,i)}}(e,t,n,pi(e,r,o.hostVars,k),o)}function qt(e,t,r,n,o,i){const s=Je(e,t);!function Xc(e,t,r,n,o,i,s){if(null==i)e.removeAttribute(t,o,r);else{const a=null==s?P(i):s(i,n||"",o);e.setAttribute(t,o,a,r)}}(t[F],s,i,e.value,r,n,o)}function UA(e,t,r,n,o,i){const s=i[t];if(null!==s)for(let a=0;a{var e;class t{constructor(){this.all=new Set,this.queue=new Map}create(n,o,i){const s=typeof Zone>"u"?null:Zone.current,a=function rM(e,t,r){const n=Object.create(oM);r&&(n.consumerAllowSignalWrites=!0),n.fn=e,n.schedule=t;const o=s=>{n.cleanupFn=s};return n.ref={notify:()=>Mp(n),run:()=>{if(n.dirty=!1,n.hasRun&&!Sp(n))return;n.hasRun=!0;const s=Ts(n);try{n.cleanupFn(),n.cleanupFn=Fp,n.fn(o)}finally{Ns(n,s)}},cleanup:()=>n.cleanupFn()},n.ref}(n,c=>{this.all.has(c)&&this.queue.set(c,s)},i);let u;this.all.add(a),a.notify();const l=()=>{a.cleanup(),u?.(),this.all.delete(a),this.queue.delete(a)};return u=o?.onDestroy(l),{destroy:l}}flush(){if(0!==this.queue.size)for(const[n,o]of this.queue)this.queue.delete(n),o?o.run(()=>n.run()):n.run()}get isQueueEmpty(){return 0===this.queue.size}}return(e=t).\u0275prov=A({token:e,providedIn:"root",factory:()=>new e}),t})();function Ea(e,t,r){let n=r?e.styles:null,o=r?e.classes:null,i=0;if(null!==t)for(let s=0;s0){yv(e,1);const o=r.components;null!==o&&Dv(e,o,1)}}function Dv(e,t,r){for(let n=0;n-1&&(ta(t,n),Us(r,n))}this._attachedToViewContainer=!1}ic(this._lView[w],this._lView)}onDestroy(t){!function Gp(e,t){if(256==(256&e[L]))throw new D(911,!1);null===e[Mn]&&(e[Mn]=[]),e[Mn].push(t)}(this._lView,t)}markForCheck(){hi(this._cdRefInjectingView||this._lView)}detach(){this._lView[L]&=-129}reattach(){this._lView[L]|=128}detectChanges(){ba(this._lView[w],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new D(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function BS(e,t){ii(e,t,t[F],2,null,null)}(this._lView[w],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new D(902,!1);this._appRef=t}}class JA extends mi{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;ba(t[w],t,t[me],!1)}checkNoChanges(){}get context(){return null}}class Cv extends ya{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const r=$(t);return new vi(r,this.ngModule)}}function wv(e){const t=[];for(let r in e)e.hasOwnProperty(r)&&t.push({propName:e[r],templateName:r});return t}class eT{constructor(t,r){this.injector=t,this.parentInjector=r}get(t,r,n){n=Cs(n);const o=this.injector.get(t,kc,n);return o!==kc||r===kc?o:this.parentInjector.get(t,r,n)}}class vi extends Am{get inputs(){const t=this.componentDef,r=t.inputTransforms,n=wv(t.inputs);if(null!==r)for(const o of n)r.hasOwnProperty(o.propName)&&(o.transform=r[o.propName]);return n}get outputs(){return wv(this.componentDef.outputs)}constructor(t,r){super(),this.componentDef=t,this.ngModule=r,this.componentType=t.type,this.selector=function jI(e){return e.map(VI).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!r}create(t,r,n,o){let i=(o=o||this.ngModule)instanceof ut?o:o?.injector;i&&null!==this.componentDef.getStandaloneInjector&&(i=this.componentDef.getStandaloneInjector(i)||i);const s=i?new eT(t,i):t,a=s.get(Nm,null);if(null===a)throw new D(407,!1);const d={rendererFactory:a,sanitizer:s.get(Q0,null),effectManager:s.get(gv,null),afterRenderEventManager:s.get($c,null)},f=a.createRenderer(null,this.componentDef),h=this.componentDef.selectors[0][0]||"div",p=n?function EA(e,t,r,n){const i=n.get(Gm,!1)||r===At.ShadowDom,s=e.selectRootElement(t,i);return function bA(e){rv(e)}(s),s}(f,n,this.componentDef.encapsulation,s):ea(f,h,function KA(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(h)),y=this.componentDef.signals?4608:this.componentDef.onPush?576:528;let m=null;null!==p&&(m=Oc(p,s,!0));const M=Zc(0,null,null,1,0,null,null,null,null,null,null),I=Ca(null,M,null,y,null,null,d,f,s,null,m);let j,Pe;Vl(I);try{const pt=this.componentDef;let vr,Yu=null;pt.findHostDirectiveDefs?(vr=[],Yu=new Map,pt.findHostDirectiveDefs(pt,vr,Yu),vr.push(pt)):vr=[pt];const Zj=function nT(e,t){const r=e[w],n=H;return e[n]=t,Qr(r,n,2,"#host",null)}(I,p),Yj=function rT(e,t,r,n,o,i,s){const a=o[w];!function oT(e,t,r,n){for(const o of e)t.mergedAttrs=Lo(t.mergedAttrs,o.hostAttrs);null!==t.mergedAttrs&&(Ea(t,t.mergedAttrs,!0),null!==r&&nm(n,r,t))}(n,e,t,s);let u=null;null!==t&&(u=Oc(t,o[In]));const l=i.rendererFactory.createRenderer(t,r);let c=16;r.signals?c=4096:r.onPush&&(c=64);const d=Ca(o,nv(r),null,c,o[e.index],e,i,l,null,null,u);return a.firstCreatePass&&Qc(a,e,n.length-1),wa(o,d),o[e.index]=d}(Zj,p,pt,vr,I,d,f);Pe=Hp(M,H),p&&function sT(e,t,r,n){if(n)wl(e,r,["ng-version",X0.full]);else{const{attrs:o,classes:i}=function BI(e){const t=[],r=[];let n=1,o=2;for(;n0&&tm(e,r,i.join(" "))}}(f,pt,p,n),void 0!==r&&function aT(e,t,r){const n=e.projection=[];for(let o=0;o=0;n--){const o=e[n];o.hostVars=t+=o.hostVars,o.hostAttrs=Lo(o.hostAttrs,r=Lo(r,o.hostAttrs))}}(n)}function Ia(e){return e===jt?{}:e===z?[]:e}function cT(e,t){const r=e.viewQuery;e.viewQuery=r?(n,o)=>{t(n,o),r(n,o)}:t}function dT(e,t){const r=e.contentQueries;e.contentQueries=r?(n,o,i)=>{t(n,o,i),r(n,o,i)}:t}function fT(e,t){const r=e.hostBindings;e.hostBindings=r?(n,o)=>{t(n,o),r(n,o)}:t}function Sv(e){const t=e.inputConfig,r={};for(const n in t)if(t.hasOwnProperty(n)){const o=t[n];Array.isArray(o)&&o[2]&&(r[n]=o[2])}e.inputTransforms=r}function Ma(e){return!!function td(e){return null!==e&&("function"==typeof e||"object"==typeof e)}(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function Wt(e,t,r){return e[t]=r}function Le(e,t,r){return!Object.is(e[t],r)&&(e[t]=r,!0)}function Zt(e,t,r,n){const o=_();return Le(o,Tr(),t)&&(U(),qt(de(),o,e,t,r,n)),Zt}function tr(e,t,r,n,o,i,s,a){const u=_(),l=U(),c=e+H,d=l.firstCreatePass?function LT(e,t,r,n,o,i,s,a,u){const l=t.consts,c=Qr(t,e,4,s||null,An(l,a));Yc(t,r,c,An(l,u)),Fs(t,c);const d=c.tView=Zc(2,c,n,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,r,n,o,i,s):l.data[c];zt(d,!1);const f=Bv(l,u,d,e);Ps()&&ra(l,u,f,d),ke(f,u),wa(u,u[c]=lv(f,u,f,d)),Ms(d)&&qc(l,u,d),null!=s&&Wc(u,d,a)}let Bv=function Hv(e,t,r,n){return Tn(!0),t[F].createComment("")};function Ct(e,t,r){const n=_();return Le(n,Tr(),t)&&function dt(e,t,r,n,o,i,s,a){const u=Je(t,r);let c,l=t.inputs;!a&&null!=l&&(c=l[n])?(Kc(e,r,c,n,o),qn(t)&&function RA(e,t){const r=st(t,e);16&r[L]||(r[L]|=64)}(r,t.index)):3&t.type&&(n=function NA(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(n),o=null!=s?s(o,t.value||"",n):o,i.setProperty(u,n,o))}(U(),de(),n,e,t,n[F],r,!1),Ct}function ad(e,t,r,n,o){const s=o?"class":"style";Kc(e,r,t.inputs[s],s,n)}function J(e,t,r,n){const o=_(),i=U(),s=H+e,a=o[F],u=i.firstCreatePass?function $T(e,t,r,n,o,i){const s=t.consts,u=Qr(t,e,2,n,An(s,o));return Yc(t,r,u,An(s,i)),null!==u.attrs&&Ea(u,u.attrs,!1),null!==u.mergedAttrs&&Ea(u,u.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,u),u}(s,i,o,t,r,n):i.data[s],l=$v(i,o,u,a,t,e);o[s]=l;const c=Ms(u);return zt(u,!0),nm(a,l,u),32!=(32&u.flags)&&Ps()&&ra(i,o,l,u),0===function mM(){return R.lFrame.elementDepthCount}()&&ke(l,o),function vM(){R.lFrame.elementDepthCount++}(),c&&(qc(i,o,u),Gc(i,u,o)),null!==n&&Wc(o,u),J}function q(){let e=Re();Ol()?function Pl(){R.lFrame.isParent=!1}():(e=e.parent,zt(e,!1));const t=e;(function _M(e){return R.skipHydrationRootTNode===e})(t)&&function EM(){R.skipHydrationRootTNode=null}(),function yM(){R.lFrame.elementDepthCount--}();const r=U();return r.firstCreatePass&&(Fs(r,e),bl(e)&&r.queries.elementEnd(e)),null!=t.classesWithoutHost&&function VM(e){return 0!=(8&e.flags)}(t)&&ad(r,t,_(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function jM(e){return 0!=(16&e.flags)}(t)&&ad(r,t,_(),t.stylesWithoutHost,!1),q}function nr(e,t,r,n){return J(e,t,r,n),q(),nr}let $v=(e,t,r,n,o,i)=>(Tn(!0),ea(n,o,function og(){return R.lFrame.currentNamespace}()));function Ra(){return _()}function wi(e){return!!e&&"function"==typeof e.then}function Gv(e){return!!e&&"function"==typeof e.subscribe}function Oe(e,t,r,n){const o=_(),i=U(),s=Re();return function Wv(e,t,r,n,o,i,s){const a=Ms(n),l=e.firstCreatePass&&function fv(e){return e.cleanup||(e.cleanup=[])}(e),c=t[me],d=function dv(e){return e[Cr]||(e[Cr]=[])}(t);let f=!0;if(3&n.type||s){const g=Je(n,t),v=s?s(g):g,y=d.length,m=s?I=>s(oe(I[n.index])):n.index;let M=null;if(!s&&a&&(M=function ZT(e,t,r,n){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,n.index)),null!==M)(M.__ngLastListenerFn__||M).__ngNextListenerFn__=i,M.__ngLastListenerFn__=i,f=!1;else{i=Yv(n,t,c,i,!1);const I=r.listen(v,o,i);d.push(i,I),l&&l.push(o,m,y,y+1)}}else i=Yv(n,t,c,i,!1);const h=n.outputs;let p;if(f&&null!==h&&(p=h[o])){const g=p.length;if(g)for(let v=0;v-1?st(e.index,t):t);let u=Zv(t,r,n,s),l=i.__ngNextListenerFn__;for(;l;)u=Zv(t,r,l,s)&&u,l=l.__ngNextListenerFn__;return o&&!1===u&&s.preventDefault(),u}}function rr(e=1){return function TM(e){return(R.lFrame.contextLView=function NM(e,t){for(;e>0;)t=t[Er],e--;return t}(e,R.lFrame.contextLView))[me]}(e)}function xa(e,t){return e<<17|t<<2}function xn(e){return e>>17&32767}function dd(e){return 2|e}function or(e){return(131068&e)>>2}function fd(e,t){return-131069&e|t<<2}function hd(e){return 1|e}function iy(e,t,r,n,o){const i=e[r+1],s=null===t;let a=n?xn(i):or(i),u=!1;for(;0!==a&&(!1===u||s);){const c=e[a+1];rN(e[a],t)&&(u=!0,e[a+1]=n?hd(c):dd(c)),a=n?xn(c):or(c)}u&&(e[r+1]=n?dd(i):hd(i))}function rN(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Lr(e,t)>=0}function Oa(e,t){return function xt(e,t,r,n){const o=_(),i=U(),s=function ln(e){const t=R.lFrame,r=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,r}(2);i.firstUpdatePass&&function py(e,t,r,n){const o=e.data;if(null===o[r+1]){const i=o[Ue()],s=function hy(e,t){return t>=e.expandoStartIndex}(e,r);(function yy(e,t){return 0!=(e.flags&(t?8:16))})(i,n)&&null===t&&!s&&(t=!1),t=function fN(e,t,r,n){const o=function kl(e){const t=R.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let i=n?t.residualClasses:t.residualStyles;if(null===o)0===(n?t.classBindings:t.styleBindings)&&(r=Ei(r=pd(null,e,t,r,n),t.attrs,n),i=null);else{const s=t.directiveStylingLast;if(-1===s||e[s]!==o)if(r=pd(o,e,t,r,n),null===i){let u=function hN(e,t,r){const n=r?t.classBindings:t.styleBindings;if(0!==or(n))return e[xn(n)]}(e,t,n);void 0!==u&&Array.isArray(u)&&(u=pd(null,e,t,u[1],n),u=Ei(u,t.attrs,n),function pN(e,t,r,n){e[xn(r?t.classBindings:t.styleBindings)]=n}(e,t,n,u))}else i=function gN(e,t,r){let n;const o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i0)&&(l=!0)):c=r,o)if(0!==u){const f=xn(e[a+1]);e[n+1]=xa(f,a),0!==f&&(e[f+1]=fd(e[f+1],n)),e[a+1]=function KT(e,t){return 131071&e|t<<17}(e[a+1],n)}else e[n+1]=xa(a,0),0!==a&&(e[a+1]=fd(e[a+1],n)),a=n;else e[n+1]=xa(u,0),0===a?a=n:e[u+1]=fd(e[u+1],n),u=n;l&&(e[n+1]=dd(e[n+1])),iy(e,c,n,!0),iy(e,c,n,!1),function nN(e,t,r,n,o){const i=o?e.residualClasses:e.residualStyles;null!=i&&"string"==typeof t&&Lr(i,t)>=0&&(r[n+1]=hd(r[n+1]))}(t,c,e,n,i),s=xa(a,u),i?t.classBindings=s:t.styleBindings=s}(o,i,t,r,s,n)}}(i,e,s,n),t!==k&&Le(o,s,t)&&function my(e,t,r,n,o,i,s,a){if(!(3&t.type))return;const u=e.data,l=u[a+1],c=function eN(e){return 1==(1&e)}(l)?vy(u,t,r,o,or(l),s):void 0;Pa(c)||(Pa(i)||function JT(e){return 2==(2&e)}(l)&&(i=vy(u,null,r,o,a,s)),function QS(e,t,r,n,o){if(t)o?e.addClass(r,n):e.removeClass(r,n);else{let i=-1===n.indexOf("-")?void 0:Nn.DashCase;null==o?e.removeStyle(r,n,i):("string"==typeof o&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=Nn.Important),e.setStyle(r,n,o,i))}}(n,s,Os(Ue(),r),o,i))}(i,i.data[Ue()],o,o[F],e,o[s+1]=function _N(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=Ee(Rn(e)))),e}(t,r),n,s)}(e,t,null,!0),Oa}function pd(e,t,r,n,o){let i=null;const s=r.directiveEnd;let a=r.directiveStylingLast;for(-1===a?a=r.directiveStart:a++;a0;){const u=e[o],l=Array.isArray(u),c=l?u[1]:u,d=null===c;let f=r[o+1];f===k&&(f=d?z:void 0);let h=d?Zl(f,n):c===n?f:void 0;if(l&&!Pa(h)&&(h=Zl(u,n)),Pa(h)&&(a=h,s))return a;const p=e[o+1];o=s?xn(p):or(p)}if(null!==t){let u=i?t.residualClasses:t.residualStyles;null!=u&&(a=Zl(u,n))}return a}function Pa(e){return void 0!==e}function le(e,t=""){const r=_(),n=U(),o=e+H,i=n.firstCreatePass?Qr(n,o,1,t,null):n.data[o],s=_y(n,r,i,t,e);r[o]=s,Ps()&&ra(n,r,s,i),zt(i,!1)}let _y=(e,t,r,n,o)=>(Tn(!0),function Ks(e,t){return e.createText(t)}(t[F],n));function Xt(e){return Fa("",e,""),Xt}function Fa(e,t,r){const n=_(),o=function Jr(e,t,r,n){return Le(e,Tr(),r)?t+P(r)+n:k}(n,e,t,r);return o!==k&&function hn(e,t,r){const n=Os(t,e);!function Ug(e,t,r){e.setValue(t,r)}(e[F],n,r)}(n,Ue(),o),Fa}const ir=void 0;var HN=["en",[["a","p"],["AM","PM"],ir],[["AM","PM"],ir,ir],[["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"]],ir,[["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"]],ir,[["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}",ir,"{1} 'at' {0}",ir],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function BN(e){const r=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 1===r&&0===n?1:5}];let ao={};function Ge(e){const t=function $N(e){return e.toLowerCase().replace(/_/g,"-")}(e);let r=By(t);if(r)return r;const n=t.split("-")[0];if(r=By(n),r)return r;if("en"===n)return HN;throw new D(701,!1)}function By(e){return e in ao||(ao[e]=re.ng&&re.ng.common&&re.ng.common.locales&&re.ng.common.locales[e]),ao[e]}var se=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}(se||{});const uo="en-US";let Hy=uo;function vd(e,t,r,n,o){if(e=x(e),Array.isArray(e))for(let i=0;i>20;if(Xn(e)||!e.multi){const h=new Yo(l,o,C),p=_d(u,t,o?c:c+f,d);-1===p?(Gl(js(a,s),i,u),yd(i,e,t.length),t.push(u),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),r.push(h),s.push(h)):(r[p]=h,s[p]=h)}else{const h=_d(u,t,c+f,d),p=_d(u,t,c,c+f),v=p>=0&&r[p];if(o&&!v||!o&&!(h>=0&&r[h])){Gl(js(a,s),i,u);const y=function BR(e,t,r,n,o){const i=new Yo(e,r,C);return i.multi=[],i.index=t,i.componentProviders=0,f_(i,o,n&&!r),i}(o?jR:VR,r.length,o,n,l);!o&&v&&(r[p].providerFactory=y),yd(i,e,t.length,0),t.push(u),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),r.push(y),s.push(y)}else yd(i,e,h>-1?h:p,f_(r[o?p:h],l,!o&&n));!o&&n&&v&&r[p].componentProviders++}}}function yd(e,t,r,n){const o=Xn(t),i=function S0(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(r);-1===c?l.push(r,[n,u]):l[c+1].push(n,u)}else l.push(r,u)}}}function f_(e,t,r){return r&&e.componentProviders++,e.multi.push(t)-1}function _d(e,t,r,n){for(let o=r;o{r.providersResolver=(n,o)=>function LR(e,t,r){const n=U();if(n.firstCreatePass){const o=Rt(e);vd(r,n.data,n.blueprint,o,!0),vd(t,n.data,n.blueprint,o,!1)}}(n,o?o(e):e,t)}}class sr{}class h_{}class Cd extends sr{constructor(t,r,n){super(),this._parent=r,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Cv(this);const o=it(t);this._bootstrapComponents=fn(o.bootstrap),this._r3Injector=Fm(t,r,[{provide:sr,useValue:this},{provide:ya,useValue:this.componentFactoryResolver},...n],Ee(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(r=>r()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class wd extends h_{constructor(t){super(),this.moduleType=t}create(t){return new Cd(this.moduleType,t,[])}}class p_ extends sr{constructor(t){super(),this.componentFactoryResolver=new Cv(this),this.instance=null;const r=new da([...t.providers,{provide:sr,useValue:this},{provide:ya,useValue:this.componentFactoryResolver}],t.parent||ca(),t.debugName,new Set(["environment"]));this.injector=r,t.runEnvironmentInitializers&&r.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function Ed(e,t,r=null){return new p_({providers:e,parent:t,debugName:r,runEnvironmentInitializers:!0}).injector}let UR=(()=>{var e;class t{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){const o=ym(0,n.type),i=o.length>0?Ed([o],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,i)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}}return(e=t).\u0275prov=A({token:e,providedIn:"environment",factory:()=>new e(S(ut))}),t})();function g_(e){e.getStandaloneInjector=t=>t.get(UR).getOrCreateStandaloneInjector(e)}function b_(e,t,r,n,o,i){const s=t+r;return Le(e,s,o)?Wt(e,s+1,i?n.call(i,o):n(o)):function Ti(e,t){const r=e[t];return r===k?void 0:r}(e,s+1)}function Ni(e,t){const r=U();let n;const o=e+H;r.firstCreatePass?(n=function sx(e,t){if(t)for(let r=t.length-1;r>=0;r--){const n=t[r];if(e===n.name)return n}}(t,r.pipeRegistry),r.data[o]=n,n.onDestroy&&(r.destroyHooks??=[]).push(o,n.onDestroy)):n=r.data[o];const i=n.factory||(n.factory=Wn(n.type)),a=Ye(C);try{const u=Vs(!1),l=i();return Vs(u),function BT(e,t,r,n){r>=e.data.length&&(e.data[r]=null,e.blueprint[r]=null),t[r]=n}(r,_(),o,l),l}finally{Ye(a)}}function Ri(e,t,r){const n=e+H,o=_(),i=function Sr(e,t){return e[t]}(o,n);return function xi(e,t){return e[w].data[t].pure}(o,n)?b_(o,$e(),t,i.transform,r,i):i.transform(r)}function hx(e,t,r,n=!0){const o=t[w];if(function $S(e,t,r,n){const o=Te+n,i=r.length;n>0&&(r[o-1][Nt]=t),n{class t{}return t.__NG_ELEMENT_ID__=mx,t})();const px=pn,gx=class extends px{constructor(t,r,n){super(),this._declarationLView=t,this._declarationTContainer=r,this.elementRef=n}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,r){return this.createEmbeddedViewImpl(t,r)}createEmbeddedViewImpl(t,r,n){const o=function fx(e,t,r,n){const o=t.tView,a=Ca(e,o,r,4096&e[L]?4096:16,null,t,null,null,null,n?.injector??null,n?.hydrationInfo??null);a[Bo]=e[t.index];const l=e[Ht];return null!==l&&(a[Ht]=l.createEmbeddedView(o)),ed(o,a,r),a}(this._declarationLView,this._declarationTContainer,t,{injector:r,hydrationInfo:n});return new mi(o)}};function mx(){return function Ba(e,t){return 4&e.type?new gx(t,e,Wr(e,t)):null}(Re(),_())}let Pt=(()=>{class t{}return t.__NG_ELEMENT_ID__=wx,t})();function wx(){return function F_(e,t){let r;const n=t[e.index];return He(n)?r=n:(r=lv(n,t,null,e),t[e.index]=r,wa(t,r)),k_(r,t,e,n),new O_(r,e,t)}(Re(),_())}const Ex=Pt,O_=class extends Ex{constructor(t,r,n){super(),this._lContainer=t,this._hostTNode=r,this._hostLView=n}get element(){return Wr(this._hostTNode,this._hostLView)}get injector(){return new ze(this._hostTNode,this._hostLView)}get parentInjector(){const t=Bs(this._hostTNode,this._hostLView);if($l(t)){const r=Xo(t,this._hostLView),n=Qo(t);return new ze(r[w].data[n+8],r)}return new ze(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const r=P_(this._lContainer);return null!==r&&r[t]||null}get length(){return this._lContainer.length-Te}createEmbeddedView(t,r,n){let o,i;"number"==typeof n?o=n:null!=n&&(o=n.index,i=n.injector);const a=t.createEmbeddedViewImpl(r||{},i,null);return this.insertImpl(a,o,false),a}createComponent(t,r,n,o,i){const s=t&&!function Ko(e){return"function"==typeof e}(t);let a;if(s)a=r;else{const g=r||{};a=g.index,n=g.injector,o=g.projectableNodes,i=g.environmentInjector||g.ngModuleRef}const u=s?t:new vi($(t)),l=n||this.parentInjector;if(!i&&null==u.ngModule){const v=(s?l:this.parentInjector).get(ut,null);v&&(i=v)}$(u.componentType??{});const h=u.create(l,o,null,i);return this.insertImpl(h.hostView,a,false),h}insert(t,r){return this.insertImpl(t,r,!1)}insertImpl(t,r,n){const o=t._lView;if(function hM(e){return He(e[ue])}(o)){const u=this.indexOf(t);if(-1!==u)this.detach(u);else{const l=o[ue],c=new O_(l,l[Fe],l[ue]);c.detach(c.indexOf(t))}}const s=this._adjustIndex(r),a=this._lContainer;return hx(a,o,s,!n),t.attachToViewContainerRef(),_g(Md(a),s,t),t}move(t,r){return this.insert(t,r)}indexOf(t){const r=P_(this._lContainer);return null!==r?r.indexOf(t):-1}remove(t){const r=this._adjustIndex(t,-1),n=ta(this._lContainer,r);n&&(Us(Md(this._lContainer),r),ic(n[w],n))}detach(t){const r=this._adjustIndex(t,-1),n=ta(this._lContainer,r);return n&&null!=Us(Md(this._lContainer),r)?new mi(n):null}_adjustIndex(t,r=0){return t??this.length+r}};function P_(e){return e[8]}function Md(e){return e[8]||(e[8]=[])}let k_=function L_(e,t,r,n){if(e[$t])return;let o;o=8&r.type?oe(n):function bx(e,t){const r=e[F],n=r.createComment(""),o=Je(t,e);return Qn(r,na(r,o),n,function WS(e,t){return e.nextSibling(t)}(r,o),!1),n}(t,r),e[$t]=o};const Ld=new b("Application Initializer");let Vd=(()=>{var e;class t{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,o)=>{this.resolve=n,this.reject=o}),this.appInits=E(Ld,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const n=[];for(const i of this.appInits){const s=i();if(wi(s))n.push(s);else if(Gv(s)){const a=new Promise((u,l)=>{s.subscribe({complete:u,error:l})});n.push(a)}}const o=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{o()}).catch(i=>{this.reject(i)}),0===n.length&&o(),this.initialized=!0}}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"}),t})(),uD=(()=>{var e;class t{log(n){console.log(n)}warn(n){console.warn(n)}}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"platform"}),t})();const gn=new b("LocaleId",{providedIn:"root",factory:()=>E(gn,B.Optional|B.SkipSelf)||function tO(){return typeof $localize<"u"&&$localize.locale||uo}()}),nO=new b("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});let Ua=(()=>{var e;class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new gt(!1)}add(){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.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();class oO{constructor(t,r){this.ngModuleFactory=t,this.componentFactories=r}}let lD=(()=>{var e;class t{compileModuleSync(n){return new wd(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const o=this.compileModuleSync(n),s=fn(it(n).declarations).reduce((a,u)=>{const l=$(u);return l&&a.push(new vi(l)),a},[]);return new oO(o,s)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();const hD=new b(""),Ga=new b("");let Ud,Hd=(()=>{var e;class t{constructor(n,o,i){this._ngZone=n,this.registry=o,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Ud||(function bO(e){Ud=e}(i),i.addToWindow(o)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{ie.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(o=>!o.updateCb||!o.updateCb(n)||(clearTimeout(o.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,o,i){let s=-1;o&&o>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(a=>a.timeoutId!==s),n(this._didWork,this.getPendingTasks())},o)),this._callbacks.push({doneCb:n,timeoutId:s,updateCb:i})}whenStable(n,o,i){if(i&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,o,i),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,o,i){return[]}}return(e=t).\u0275fac=function(n){return new(n||e)(S(ie),S($d),S(Ga))},e.\u0275prov=A({token:e,factory:e.\u0275fac}),t})(),$d=(()=>{var e;class t{constructor(){this._applications=new Map}registerApplication(n,o){this._applications.set(n,o)}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,o=!0){return Ud?.findTestabilityInTree(this,n,o)??null}}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"platform"}),t})(),On=null;const pD=new b("AllowMultipleToken"),zd=new b("PlatformDestroyListeners"),Gd=new b("appBootstrapListener");class mD{constructor(t,r){this.name=t,this.token=r}}function yD(e,t,r=[]){const n=`Platform: ${t}`,o=new b(n);return(i=[])=>{let s=qd();if(!s||s.injector.get(pD,!1)){const a=[...r,...i,{provide:o,useValue:!0}];e?e(a):function SO(e){if(On&&!On.get(pD,!1))throw new D(400,!1);(function gD(){!function JI(e){Rp=e}(()=>{throw new D(600,!1)})})(),On=e;const t=e.get(DD);(function vD(e){e.get(Em,null)?.forEach(r=>r())})(e)}(function _D(e=[],t){return ct.create({name:t,providers:[{provide:wc,useValue:"platform"},{provide:zd,useValue:new Set([()=>On=null])},...e]})}(a,n))}return function TO(e){const t=qd();if(!t)throw new D(401,!1);return t}()}}function qd(){return On?.get(DD)??null}let DD=(()=>{var e;class t{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,o){const i=function NO(e="zone.js",t){return"noop"===e?new lA:"zone.js"===e?new ie(t):e}(o?.ngZone,function CD(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:o?.ngZoneEventCoalescing,runCoalescing:o?.ngZoneRunCoalescing}));return i.run(()=>{const s=function $R(e,t,r){return new Cd(e,t,r)}(n.moduleType,this.injector,function MD(e){return[{provide:ie,useFactory:e},{provide:li,multi:!0,useFactory:()=>{const t=E(xO,{optional:!0});return()=>t.initialize()}},{provide:ID,useFactory:RO},{provide:jm,useFactory:Bm}]}(()=>i)),a=s.injector.get(Kn,null);return i.runOutsideAngular(()=>{const u=i.onError.subscribe({next:l=>{a.handleError(l)}});s.onDestroy(()=>{qa(this._modules,s),u.unsubscribe()})}),function wD(e,t,r){try{const n=r();return wi(n)?n.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):n}catch(n){throw t.runOutsideAngular(()=>e.handleError(n)),n}}(a,i,()=>{const u=s.injector.get(Vd);return u.runInitializers(),u.donePromise.then(()=>(function $y(e){mt(e,"Expected localeId to be defined"),"string"==typeof e&&(Hy=e.toLowerCase().replace(/_/g,"-"))}(s.injector.get(gn,uo)||uo),this._moduleDoBootstrap(s),s))})})}bootstrapModule(n,o=[]){const i=ED({},o);return function IO(e,t,r){const n=new wd(r);return Promise.resolve(n)}(0,0,n).then(s=>this.bootstrapModuleFactory(s,i))}_moduleDoBootstrap(n){const o=n.injector.get(fo);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(i=>o.bootstrap(i));else{if(!n.instance.ngDoBootstrap)throw new D(-403,!1);n.instance.ngDoBootstrap(o)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new D(404,!1);this._modules.slice().forEach(o=>o.destroy()),this._destroyListeners.forEach(o=>o());const n=this._injector.get(zd,null);n&&(n.forEach(o=>o()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return(e=t).\u0275fac=function(n){return new(n||e)(S(ct))},e.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"platform"}),t})();function ED(e,t){return Array.isArray(t)?t.reduce(ED,e):{...e,...t}}let fo=(()=>{var e;class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=E(ID),this.zoneIsStable=E(jm),this.componentTypes=[],this.components=[],this.isStable=E(Ua).hasPendingTasks.pipe(Mt(n=>n?T(!1):this.zoneIsStable),function cI(e,t=wn){return e=e??dI,Ce((r,n)=>{let o,i=!0;r.subscribe(_e(n,s=>{const a=t(s);(i||!e(o,a))&&(i=!1,o=a,n.next(s))}))})}(),Yh()),this._injector=E(ut)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,o){const i=n instanceof Am;if(!this._injector.get(Vd).done)throw!i&&function Dr(e){const t=$(e)||Ae(e)||Be(e);return null!==t&&t.standalone}(n),new D(405,!1);let a;a=i?n:this._injector.get(ya).resolveComponentFactory(n),this.componentTypes.push(a.componentType);const u=function MO(e){return e.isBoundToModule}(a)?void 0:this._injector.get(sr),c=a.create(ct.NULL,[],o||a.selector,u),d=c.location.nativeElement,f=c.injector.get(hD,null);return f?.registerApplication(d),c.onDestroy(()=>{this.detachView(c.hostView),qa(this.components,c),f?.unregisterApplication(d)}),this._loadComponent(c),c}tick(){if(this._runningTick)throw new D(101,!1);try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this.internalErrorHandler(n)}finally{this._runningTick=!1}}attachView(n){const o=n;this._views.push(o),o.attachToAppRef(this)}detachView(n){const o=n;qa(this._views,o),o.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const o=this._injector.get(Gd,[]);o.push(...this._bootstrapListeners),o.forEach(i=>i(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),()=>qa(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new D(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();function qa(e,t){const r=e.indexOf(t);r>-1&&e.splice(r,1)}const ID=new b("",{providedIn:"root",factory:()=>E(Kn).handleError.bind(void 0)});function RO(){const e=E(ie),t=E(Kn);return r=>e.runOutsideAngular(()=>t.handleError(r))}let xO=(()=>{var e;class t{constructor(){this.zone=E(ie),this.applicationRef=E(fo)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();let Wa=(()=>{class t{}return t.__NG_ELEMENT_ID__=PO,t})();function PO(e){return function FO(e,t,r){if(qn(e)&&!r){const n=st(e.index,t);return new mi(n,n)}return 47&e.type?new mi(t[ve],t):null}(Re(),_(),16==(16&e))}class ND{constructor(){}supports(t){return Ma(t)}create(t){return new HO(t)}}const BO=(e,t)=>t;class HO{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||BO}forEachItem(t){let r;for(r=this._itHead;null!==r;r=r._next)t(r)}forEachOperation(t){let r=this._itHead,n=this._removalsHead,o=0,i=null;for(;r||n;){const s=!n||r&&r.currentIndex{s=this._trackByFn(o,a),null!==r&&Object.is(r.trackById,s)?(n&&(r=this._verifyReinsertion(r,a,s,o)),Object.is(r.item,a)||this._addIdentityChange(r,a)):(r=this._mismatch(r,a,s,o),n=!0),r=r._next,o++}),this.length=o;return this._truncate(r),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,r,n,o){let i;return null===t?i=this._itTail:(i=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Object.is(t.item,r)||this._addIdentityChange(t,r),this._reinsertAfter(t,i,o)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(n,o))?(Object.is(t.item,r)||this._addIdentityChange(t,r),this._moveAfter(t,i,o)):t=this._addAfter(new $O(r,n),i,o),t}_verifyReinsertion(t,r,n,o){let i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==i?t=this._reinsertAfter(i,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;null!==t;){const r=t._next;this._addToRemovals(this._unlink(t)),t=r}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,r,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const o=t._prevRemoved,i=t._nextRemoved;return null===o?this._removalsHead=i:o._nextRemoved=i,null===i?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(t,r,n),this._addToMoves(t,n),t}_moveAfter(t,r,n){return this._unlink(t),this._insertAfter(t,r,n),this._addToMoves(t,n),t}_addAfter(t,r,n){return this._insertAfter(t,r,n),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,r,n){const o=null===r?this._itHead:r._next;return t._next=o,t._prev=r,null===o?this._itTail=t:o._prev=t,null===r?this._itHead=t:r._next=t,null===this._linkedRecords&&(this._linkedRecords=new RD),this._linkedRecords.put(t),t.currentIndex=n,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const r=t._prev,n=t._next;return null===r?this._itHead=n:r._next=n,null===n?this._itTail=r:n._prev=r,t}_addToMoves(t,r){return t.previousIndex===r||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new RD),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,r){return t.item=r,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class $O{constructor(t,r){this.item=t,this.trackById=r,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class UO{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,r){let n;for(n=this._head;null!==n;n=n._nextDup)if((null===r||r<=n.currentIndex)&&Object.is(n.trackById,t))return n;return null}remove(t){const r=t._prevDup,n=t._nextDup;return null===r?this._head=n:r._nextDup=n,null===n?this._tail=r:n._prevDup=r,null===this._head}}class RD{constructor(){this.map=new Map}put(t){const r=t.trackById;let n=this.map.get(r);n||(n=new UO,this.map.set(r,n)),n.add(t)}get(t,r){const o=this.map.get(t);return o?o.get(t,r):null}remove(t){const r=t.trackById;return this.map.get(r).remove(t)&&this.map.delete(r),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function xD(e,t,r){const n=e.previousIndex;if(null===n)return n;let o=0;return r&&n{var e;class t{constructor(n){this.factories=n}static create(n,o){if(null!=o){const i=o.factories.slice();n=n.concat(i)}return new t(n)}static extend(n){return{provide:t,useFactory:o=>t.create(n,o||PD()),deps:[[t,new qs,new Gs]]}}find(n){const o=this.factories.find(i=>i.supports(n));if(null!=o)return o;throw new D(901,!1)}}return(e=t).\u0275prov=A({token:e,providedIn:"root",factory:PD}),t})();const ZO=yD(null,"core",[]);let YO=(()=>{var e;class t{constructor(n){}}return(e=t).\u0275fac=function(n){return new(n||e)(S(fo))},e.\u0275mod=Bt({type:e}),e.\u0275inj=St({}),t})();function ho(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}let Jd=null;function Pn(){return Jd}class l1{}const ft=new b("DocumentToken");let Kd=(()=>{var e;class t{historyGo(n){throw new Error("Not implemented")}}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275prov=A({token:e,factory:function(){return E(d1)},providedIn:"platform"}),t})();const c1=new b("Location Initialized");let d1=(()=>{var e;class t extends Kd{constructor(){super(),this._doc=E(ft),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Pn().getBaseHref(this._doc)}onPopState(n){const o=Pn().getGlobalEventTarget(this._doc,"window");return o.addEventListener("popstate",n,!1),()=>o.removeEventListener("popstate",n)}onHashChange(n){const o=Pn().getGlobalEventTarget(this._doc,"window");return o.addEventListener("hashchange",n,!1),()=>o.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,o,i){this._history.pushState(n,o,i)}replaceState(n,o,i){this._history.replaceState(n,o,i)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275prov=A({token:e,factory:function(){return new e},providedIn:"platform"}),t})();function ef(e,t){if(0==e.length)return t;if(0==t.length)return e;let r=0;return e.endsWith("/")&&r++,t.startsWith("/")&&r++,2==r?e+t.substring(1):1==r?e+t:e+"/"+t}function zD(e){const t=e.match(/#|\?|$/),r=t&&t.index||e.length;return e.slice(0,r-("/"===e[r-1]?1:0))+e.slice(r)}function mn(e){return e&&"?"!==e[0]?"?"+e:e}let ur=(()=>{var e;class t{historyGo(n){throw new Error("Not implemented")}}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275prov=A({token:e,factory:function(){return E(qD)},providedIn:"root"}),t})();const GD=new b("appBaseHref");let qD=(()=>{var e;class t extends ur{constructor(n,o){super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=o??this._platformLocation.getBaseHrefFromDOM()??E(ft).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 ef(this._baseHref,n)}path(n=!1){const o=this._platformLocation.pathname+mn(this._platformLocation.search),i=this._platformLocation.hash;return i&&n?`${o}${i}`:o}pushState(n,o,i,s){const a=this.prepareExternalUrl(i+mn(s));this._platformLocation.pushState(n,o,a)}replaceState(n,o,i,s){const a=this.prepareExternalUrl(i+mn(s));this._platformLocation.replaceState(n,o,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}}return(e=t).\u0275fac=function(n){return new(n||e)(S(Kd),S(GD,8))},e.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"}),t})(),f1=(()=>{var e;class t extends ur{constructor(n,o){super(),this._platformLocation=n,this._baseHref="",this._removeListenerFns=[],null!=o&&(this._baseHref=o)}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 o=this._platformLocation.hash;return null==o&&(o="#"),o.length>0?o.substring(1):o}prepareExternalUrl(n){const o=ef(this._baseHref,n);return o.length>0?"#"+o:o}pushState(n,o,i,s){let a=this.prepareExternalUrl(i+mn(s));0==a.length&&(a=this._platformLocation.pathname),this._platformLocation.pushState(n,o,a)}replaceState(n,o,i,s){let a=this.prepareExternalUrl(i+mn(s));0==a.length&&(a=this._platformLocation.pathname),this._platformLocation.replaceState(n,o,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}}return(e=t).\u0275fac=function(n){return new(n||e)(S(Kd),S(GD,8))},e.\u0275prov=A({token:e,factory:e.\u0275fac}),t})(),tf=(()=>{var e;class t{constructor(n){this._subject=new fe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=n;const o=this._locationStrategy.getBaseHref();this._basePath=function g1(e){if(new RegExp("^(https?:)?//").test(e)){const[,r]=e.split(/\/\/[^\/]+/);return r}return e}(zD(WD(o))),this._locationStrategy.onPopState(i=>{this._subject.emit({url:this.path(!0),pop:!0,state:i.state,type:i.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,o=""){return this.path()==this.normalize(n+mn(o))}normalize(n){return t.stripTrailingSlash(function p1(e,t){if(!e||!t.startsWith(e))return t;const r=t.substring(e.length);return""===r||["/",";","?","#"].includes(r[0])?r:t}(this._basePath,WD(n)))}prepareExternalUrl(n){return n&&"/"!==n[0]&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,o="",i=null){this._locationStrategy.pushState(i,"",n,o),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+mn(o)),i)}replaceState(n,o="",i=null){this._locationStrategy.replaceState(i,"",n,o),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+mn(o)),i)}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(o=>{this._notifyUrlChangeListeners(o.url,o.state)})),()=>{const o=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(o,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",o){this._urlChangeListeners.forEach(i=>i(n,o))}subscribe(n,o,i){return this._subject.subscribe({next:n,error:o,complete:i})}}return(e=t).normalizeQueryParams=mn,e.joinWithSlash=ef,e.stripTrailingSlash=zD,e.\u0275fac=function(n){return new(n||e)(S(ur))},e.\u0275prov=A({token:e,factory:function(){return function h1(){return new tf(S(ur))}()},providedIn:"root"}),t})();function WD(e){return e.replace(/\/index.html$/,"")}const ZD={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 Ja=function(e){return e[e.Decimal=0]="Decimal",e[e.Percent=1]="Percent",e[e.Currency=2]="Currency",e[e.Scientific=3]="Scientific",e}(Ja||{}),ye=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}(ye||{});function wt(e,t){const r=Ge(e),n=r[se.NumberSymbols][t];if(typeof n>"u"){if(t===ye.CurrencyDecimal)return r[se.NumberSymbols][ye.Decimal];if(t===ye.CurrencyGroup)return r[se.NumberSymbols][ye.Group]}return n}const $1=/^(\d+)?\.((\d+)(-(\d+))?)?$/,KD=22,au=".",Li="0",U1=";",z1=",",uf="#";function q1(e,t,r,n,o){const s=function cf(e,t="-"){const r={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},n=e.split(U1),o=n[0],i=n[1],s=-1!==o.indexOf(au)?o.split(au):[o.substring(0,o.lastIndexOf(Li)+1),o.substring(o.lastIndexOf(Li)+1)],a=s[0],u=s[1]||"";r.posPre=a.substring(0,a.indexOf(uf));for(let c=0;c-1&&(t=t.replace(au,"")),(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)===Li;i++);if(i===(a=t.length))n=[0],o=1;else{for(a--;t.charAt(a)===Li;)a--;for(o-=i,n=[],s=0;i<=a;i++,s++)n[s]=Number(t.charAt(i))}return o>KD&&(n=n.splice(0,KD-1),r=o-1,o=1),{digits:n,exponent:r,integerLen:o}}(e);s&&(l=function Y1(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 m=i.match($1);if(null===m)throw new Error(`${i} is not a valid digit info`);const M=m[1],I=m[3],j=m[5];null!=M&&(c=df(M)),null!=I&&(d=df(I)),null!=j?f=df(j):null!=I&&d>f&&(f=d)}!function X1(e,t,r){if(t>r)throw new Error(`The minimum number of digits after fraction (${t}) is higher than the maximum (${r}).`);let n=e.digits,o=n.length-e.integerLen;const i=Math.min(Math.max(t,o),r);let s=i+e.integerLen,a=n[s];if(s>0){n.splice(Math.max(e.integerLen,s));for(let d=s;d=5)if(s-1<0){for(let d=0;d>s;d--)n.unshift(0),e.integerLen++;n.unshift(1),e.integerLen++}else n[s-1]++;for(;o=l?p.pop():u=!1),f>=10?1:0},0);c&&(n.unshift(c),e.integerLen++)}(l,d,f);let h=l.digits,p=l.integerLen;const g=l.exponent;let v=[];for(u=h.every(m=>!m);p0?v=h.splice(p,h.length):(v=h,h=[0]);const y=[];for(h.length>=t.lgSize&&y.unshift(h.splice(-t.lgSize,h.length).join(""));h.length>t.gSize;)y.unshift(h.splice(-t.gSize,h.length).join(""));h.length&&y.unshift(h.join("")),a=y.join(wt(r,n)),v.length&&(a+=wt(r,o)+v.join("")),g&&(a+=wt(r,ye.Exponential)+"+"+g)}else a=wt(r,ye.Infinity);return a=e<0&&!u?t.negPre+a+t.negSuf:t.posPre+a+t.posSuf,a}(e,s,t,ye.CurrencyGroup,ye.CurrencyDecimal,o).replace("\xa4",r).replace("\xa4","").trim()}function df(e){const t=parseInt(e);if(isNaN(t))throw new Error("Invalid integer literal when parsing "+e);return t}function nC(e,t){t=encodeURIComponent(t);for(const r of e.split(";")){const n=r.indexOf("="),[o,i]=-1==n?[r,""]:[r.slice(0,n),r.slice(n+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}class tP{constructor(t,r,n,o){this.$implicit=t,this.ngForOf=r,this.index=n,this.count=o}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let uu=(()=>{var e;class t{set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}constructor(n,o,i){this._viewContainer=n,this._template=o,this._differs=i,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const n=this._ngForOf;!this._differ&&n&&(this._differ=this._differs.find(n).create(this.ngForTrackBy))}if(this._differ){const n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){const o=this._viewContainer;n.forEachOperation((i,s,a)=>{if(null==i.previousIndex)o.createEmbeddedView(this._template,new tP(i.item,this._ngForOf,-1,-1),null===a?void 0:a);else if(null==a)o.remove(null===s?void 0:s);else if(null!==s){const u=o.get(s);o.move(u,a),iC(u,i)}});for(let i=0,s=o.length;i{iC(o.get(i.currentIndex),i)})}static ngTemplateContextGuard(n,o){return!0}}return(e=t).\u0275fac=function(n){return new(n||e)(C(Pt),C(pn),C(Qa))},e.\u0275dir=O({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),t})();function iC(e,t){e.context.$implicit=t.item}let lu=(()=>{var e;class t{constructor(n,o){this._viewContainer=n,this._context=new nP,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=o}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){sC("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){sC("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,o){return!0}}return(e=t).\u0275fac=function(n){return new(n||e)(C(Pt),C(pn))},e.\u0275dir=O({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),t})();class nP{constructor(){this.$implicit=null,this.ngIf=null}}function sC(e,t){if(t&&!t.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${Ee(t)}'.`)}function kt(e,t){return new D(2100,!1)}class iP{createSubscription(t,r){return Pp(()=>t.subscribe({next:r,error:n=>{throw n}}))}dispose(t){Pp(()=>t.unsubscribe())}}class sP{createSubscription(t,r){return t.then(r,n=>{throw n})}dispose(t){}}const aP=new sP,uP=new iP;let uC=(()=>{var e;class t{constructor(n){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=n}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(n){return this._obj?n!==this._obj?(this._dispose(),this.transform(n)):this._latestValue:(n&&this._subscribe(n),this._latestValue)}_subscribe(n){this._obj=n,this._strategy=this._selectStrategy(n),this._subscription=this._strategy.createSubscription(n,o=>this._updateLatestValue(n,o))}_selectStrategy(n){if(wi(n))return aP;if(Gv(n))return uP;throw kt()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(n,o){n===this._obj&&(this._latestValue=o,this._ref.markForCheck())}}return(e=t).\u0275fac=function(n){return new(n||e)(C(Wa,16))},e.\u0275pipe=Qe({name:"async",type:e,pure:!1,standalone:!0}),t})(),cu=(()=>{var e;class t{constructor(n,o="USD"){this._locale=n,this._defaultCurrencyCode=o}transform(n,o=this._defaultCurrencyCode,i="symbol",s,a){if(!function mf(e){return!(null==e||""===e||e!=e)}(n))return null;a=a||this._locale,"boolean"==typeof i&&(i=i?"symbol":"code");let u=o||this._defaultCurrencyCode;"code"!==i&&(u="symbol"===i||"symbol-narrow"===i?function M1(e,t,r="en"){const n=function w1(e){return Ge(e)[se.Currencies]}(r)[e]||ZD[e]||[],o=n[1];return"narrow"===t&&"string"==typeof o?o:n[0]||e}(u,"symbol"===i?"wide":"narrow",a):i);try{return q1(function vf(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}(n),a,u,o,s)}catch(l){throw kt()}}}return(e=t).\u0275fac=function(n){return new(n||e)(C(gn,16),C(nO,16))},e.\u0275pipe=Qe({name:"currency",type:e,pure:!0,standalone:!0}),t})();let IP=(()=>{var e;class t{}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275mod=Bt({type:e}),e.\u0275inj=St({}),t})();function dC(e){return"server"===e}let TP=(()=>{var e;class t{}return(e=t).\u0275prov=A({token:e,providedIn:"root",factory:()=>new NP(S(ft),window)}),t})();class NP{constructor(t,r){this.document=t,this.window=r,this.offset=()=>[0,0]}setOffset(t){this.offset=Array.isArray(t)?()=>t:t}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(t){this.supportsScrolling()&&this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){if(!this.supportsScrolling())return;const r=function RP(e,t){const r=e.getElementById(t)||e.getElementsByName(t)[0];if(r)return r;if("function"==typeof e.createTreeWalker&&e.body&&"function"==typeof e.body.attachShadow){const n=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT);let o=n.currentNode;for(;o;){const i=o.shadowRoot;if(i){const s=i.getElementById(t)||i.querySelector(`[name="${t}"]`);if(s)return s}o=n.nextNode()}}return null}(this.document,t);r&&(this.scrollToElement(r),r.focus())}setHistoryScrollRestoration(t){this.supportsScrolling()&&(this.window.history.scrollRestoration=t)}scrollToElement(t){const r=t.getBoundingClientRect(),n=r.left+this.window.pageXOffset,o=r.top+this.window.pageYOffset,i=this.offset();this.window.scrollTo(n-i[0],o-i[1])}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}class fC{}class eF extends l1{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class Df extends eF{static makeCurrent(){!function u1(e){Jd||(Jd=e)}(new Df)}onAndCancel(t,r,n){return t.addEventListener(r,n),()=>{t.removeEventListener(r,n)}}dispatchEvent(t,r){t.dispatchEvent(r)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,r){return(r=r||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,r){return"window"===r?window:"document"===r?t:"body"===r?t.body:null}getBaseHref(t){const r=function tF(){return ji=ji||document.querySelector("base"),ji?ji.getAttribute("href"):null}();return null==r?null:function nF(e){hu=hu||document.createElement("a"),hu.setAttribute("href",e);const t=hu.pathname;return"/"===t.charAt(0)?t:`/${t}`}(r)}resetBaseElement(){ji=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return nC(document.cookie,t)}}let hu,ji=null,oF=(()=>{var e;class t{build(){return new XMLHttpRequest}}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275prov=A({token:e,factory:e.\u0275fac}),t})();const Cf=new b("EventManagerPlugins");let vC=(()=>{var e;class t{constructor(n,o){this._zone=o,this._eventNameToPlugin=new Map,n.forEach(i=>{i.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,o,i){return this._findPluginFor(o).addEventListener(n,o,i)}getZone(){return this._zone}_findPluginFor(n){let o=this._eventNameToPlugin.get(n);if(o)return o;if(o=this._plugins.find(s=>s.supports(n)),!o)throw new D(5101,!1);return this._eventNameToPlugin.set(n,o),o}}return(e=t).\u0275fac=function(n){return new(n||e)(S(Cf),S(ie))},e.\u0275prov=A({token:e,factory:e.\u0275fac}),t})();class yC{constructor(t){this._doc=t}}const wf="ng-app-id";let _C=(()=>{var e;class t{constructor(n,o,i,s={}){this.doc=n,this.appId=o,this.nonce=i,this.platformId=s,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=dC(s),this.resetHostNodes()}addStyles(n){for(const o of n)1===this.changeUsageCount(o,1)&&this.onStyleAdded(o)}removeStyles(n){for(const o of n)this.changeUsageCount(o,-1)<=0&&this.onStyleRemoved(o)}ngOnDestroy(){const n=this.styleNodesInDOM;n&&(n.forEach(o=>o.remove()),n.clear());for(const o of this.getAllStyles())this.onStyleRemoved(o);this.resetHostNodes()}addHost(n){this.hostNodes.add(n);for(const o of this.getAllStyles())this.addStyleToHost(n,o)}removeHost(n){this.hostNodes.delete(n)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(n){for(const o of this.hostNodes)this.addStyleToHost(o,n)}onStyleRemoved(n){const o=this.styleRef;o.get(n)?.elements?.forEach(i=>i.remove()),o.delete(n)}collectServerRenderedStyles(){const n=this.doc.head?.querySelectorAll(`style[${wf}="${this.appId}"]`);if(n?.length){const o=new Map;return n.forEach(i=>{null!=i.textContent&&o.set(i.textContent,i)}),o}return null}changeUsageCount(n,o){const i=this.styleRef;if(i.has(n)){const s=i.get(n);return s.usage+=o,s.usage}return i.set(n,{usage:o,elements:[]}),o}getStyleElement(n,o){const i=this.styleNodesInDOM,s=i?.get(o);if(s?.parentNode===n)return i.delete(o),s.removeAttribute(wf),s;{const a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=o,this.platformIsServer&&a.setAttribute(wf,this.appId),a}}addStyleToHost(n,o){const i=this.getStyleElement(n,o);n.appendChild(i);const s=this.styleRef,a=s.get(o)?.elements;a?a.push(i):s.set(o,{elements:[i],usage:1})}resetHostNodes(){const n=this.hostNodes;n.clear(),n.add(this.doc.head)}}return(e=t).\u0275fac=function(n){return new(n||e)(S(ft),S(fa),S(bm,8),S(Jn))},e.\u0275prov=A({token:e,factory:e.\u0275fac}),t})();const Ef={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/"},bf=/%COMP%/g,uF=new b("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!1});function CC(e,t){return t.map(r=>r.replace(bf,e))}let wC=(()=>{var e;class t{constructor(n,o,i,s,a,u,l,c=null){this.eventManager=n,this.sharedStylesHost=o,this.appId=i,this.removeStylesOnCompDestroy=s,this.doc=a,this.platformId=u,this.ngZone=l,this.nonce=c,this.rendererByCompId=new Map,this.platformIsServer=dC(u),this.defaultRenderer=new If(n,a,l,this.platformIsServer)}createRenderer(n,o){if(!n||!o)return this.defaultRenderer;this.platformIsServer&&o.encapsulation===At.ShadowDom&&(o={...o,encapsulation:At.Emulated});const i=this.getOrCreateRenderer(n,o);return i instanceof bC?i.applyToHost(n):i instanceof Mf&&i.applyStyles(),i}getOrCreateRenderer(n,o){const i=this.rendererByCompId;let s=i.get(o.id);if(!s){const a=this.doc,u=this.ngZone,l=this.eventManager,c=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,f=this.platformIsServer;switch(o.encapsulation){case At.Emulated:s=new bC(l,c,o,this.appId,d,a,u,f);break;case At.ShadowDom:return new fF(l,c,n,o,a,u,this.nonce,f);default:s=new Mf(l,c,o,d,a,u,f)}i.set(o.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}}return(e=t).\u0275fac=function(n){return new(n||e)(S(vC),S(_C),S(fa),S(uF),S(ft),S(Jn),S(ie),S(bm))},e.\u0275prov=A({token:e,factory:e.\u0275fac}),t})();class If{constructor(t,r,n,o){this.eventManager=t,this.doc=r,this.ngZone=n,this.platformIsServer=o,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(t,r){return r?this.doc.createElementNS(Ef[r]||r,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,r){(EC(t)?t.content:t).appendChild(r)}insertBefore(t,r,n){t&&(EC(t)?t.content:t).insertBefore(r,n)}removeChild(t,r){t&&t.removeChild(r)}selectRootElement(t,r){let n="string"==typeof t?this.doc.querySelector(t):t;if(!n)throw new D(-5104,!1);return r||(n.textContent=""),n}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,r,n,o){if(o){r=o+":"+r;const i=Ef[o];i?t.setAttributeNS(i,r,n):t.setAttribute(r,n)}else t.setAttribute(r,n)}removeAttribute(t,r,n){if(n){const o=Ef[n];o?t.removeAttributeNS(o,r):t.removeAttribute(`${n}:${r}`)}else t.removeAttribute(r)}addClass(t,r){t.classList.add(r)}removeClass(t,r){t.classList.remove(r)}setStyle(t,r,n,o){o&(Nn.DashCase|Nn.Important)?t.style.setProperty(r,n,o&Nn.Important?"important":""):t.style[r]=n}removeStyle(t,r,n){n&Nn.DashCase?t.style.removeProperty(r):t.style[r]=""}setProperty(t,r,n){t[r]=n}setValue(t,r){t.nodeValue=r}listen(t,r,n){if("string"==typeof t&&!(t=Pn().getGlobalEventTarget(this.doc,t)))throw new Error(`Unsupported event target ${t} for event ${r}`);return this.eventManager.addEventListener(t,r,this.decoratePreventDefault(n))}decoratePreventDefault(t){return r=>{if("__ngUnwrap__"===r)return t;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>t(r)):t(r))&&r.preventDefault()}}}function EC(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class fF extends If{constructor(t,r,n,o,i,s,a,u){super(t,i,s,u),this.sharedStylesHost=r,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const l=CC(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,r){return super.appendChild(this.nodeOrShadowRoot(t),r)}insertBefore(t,r,n){return super.insertBefore(this.nodeOrShadowRoot(t),r,n)}removeChild(t,r){return super.removeChild(this.nodeOrShadowRoot(t),r)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Mf extends If{constructor(t,r,n,o,i,s,a,u){super(t,i,s,a),this.sharedStylesHost=r,this.removeStylesOnCompDestroy=o,this.styles=u?CC(u,n.styles):n.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class bC extends Mf{constructor(t,r,n,o,i,s,a,u){const l=o+"-"+n.id;super(t,r,n,i,s,a,u,l),this.contentAttr=function lF(e){return"_ngcontent-%COMP%".replace(bf,e)}(l),this.hostAttr=function cF(e){return"_nghost-%COMP%".replace(bf,e)}(l)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,r){const n=super.createElement(t,r);return super.setAttribute(n,this.contentAttr,""),n}}let hF=(()=>{var e;class t extends yC{constructor(n){super(n)}supports(n){return!0}addEventListener(n,o,i){return n.addEventListener(o,i,!1),()=>this.removeEventListener(n,o,i)}removeEventListener(n,o,i){return n.removeEventListener(o,i)}}return(e=t).\u0275fac=function(n){return new(n||e)(S(ft))},e.\u0275prov=A({token:e,factory:e.\u0275fac}),t})();const IC=["alt","control","meta","shift"],pF={"\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"},gF={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let mF=(()=>{var e;class t extends yC{constructor(n){super(n)}supports(n){return null!=t.parseEventName(n)}addEventListener(n,o,i){const s=t.parseEventName(o),a=t.eventCallback(s.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Pn().onAndCancel(n,s.domEventName,a))}static parseEventName(n){const o=n.toLowerCase().split("."),i=o.shift();if(0===o.length||"keydown"!==i&&"keyup"!==i)return null;const s=t._normalizeKey(o.pop());let a="",u=o.indexOf("code");if(u>-1&&(o.splice(u,1),a="code."),IC.forEach(c=>{const d=o.indexOf(c);d>-1&&(o.splice(d,1),a+=c+".")}),a+=s,0!=o.length||0===s.length)return null;const l={};return l.domEventName=i,l.fullKey=a,l}static matchEventFullKeyCode(n,o){let i=pF[n.key]||n.key,s="";return o.indexOf("code.")>-1&&(i=n.code,s="code."),!(null==i||!i)&&(i=i.toLowerCase()," "===i?i="space":"."===i&&(i="dot"),IC.forEach(a=>{a!==i&&(0,gF[a])(n)&&(s+=a+".")}),s+=i,s===o)}static eventCallback(n,o,i){return s=>{t.matchEventFullKeyCode(s,n)&&i.runGuarded(()=>o(s))}}static _normalizeKey(n){return"esc"===n?"escape":n}}return(e=t).\u0275fac=function(n){return new(n||e)(S(ft))},e.\u0275prov=A({token:e,factory:e.\u0275fac}),t})();const DF=yD(ZO,"browser",[{provide:Jn,useValue:"browser"},{provide:Em,useValue:function vF(){Df.makeCurrent()},multi:!0},{provide:ft,useFactory:function _F(){return function t0(e){fc=e}(document),document},deps:[]}]),CF=new b(""),AC=[{provide:Ga,useClass:class rF{addToWindow(t){re.getAngularTestability=(n,o=!0)=>{const i=t.findTestabilityInTree(n,o);if(null==i)throw new D(5103,!1);return i},re.getAllAngularTestabilities=()=>t.getAllTestabilities(),re.getAllAngularRootElements=()=>t.getAllRootElements(),re.frameworkStabilizers||(re.frameworkStabilizers=[]),re.frameworkStabilizers.push(n=>{const o=re.getAllAngularTestabilities();let i=o.length,s=!1;const a=function(u){s=s||u,i--,0==i&&n(s)};o.forEach(u=>{u.whenStable(a)})})}findTestabilityInTree(t,r,n){return null==r?null:t.getTestability(r)??(n?Pn().isShadowRoot(r)?this.findTestabilityInTree(t,r.host,!0):this.findTestabilityInTree(t,r.parentElement,!0):null)}},deps:[]},{provide:hD,useClass:Hd,deps:[ie,$d,Ga]},{provide:Hd,useClass:Hd,deps:[ie,$d,Ga]}],TC=[{provide:wc,useValue:"root"},{provide:Kn,useFactory:function yF(){return new Kn},deps:[]},{provide:Cf,useClass:hF,multi:!0,deps:[ft,ie,Jn]},{provide:Cf,useClass:mF,multi:!0,deps:[ft]},wC,_C,vC,{provide:Nm,useExisting:wC},{provide:fC,useClass:oF,deps:[]},[]];let wF=(()=>{var e;class t{constructor(n){}static withServerTransition(n){return{ngModule:t,providers:[{provide:fa,useValue:n.appId}]}}}return(e=t).\u0275fac=function(n){return new(n||e)(S(CF,12))},e.\u0275mod=Bt({type:e}),e.\u0275inj=St({providers:[...TC,...AC],imports:[IP,YO]}),t})(),NC=(()=>{var e;class t{constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}}return(e=t).\u0275fac=function(n){return new(n||e)(S(ft))},e.\u0275prov=A({token:e,factory:function(n){let o=null;return o=n?new n:function bF(){return new NC(S(ft))}(),o},providedIn:"root"}),t})();typeof window<"u"&&window;const{isArray:NF}=Array,{getPrototypeOf:RF,prototype:xF,keys:OF}=Object;function PC(e){if(1===e.length){const t=e[0];if(NF(t))return{args:t,keys:null};if(function PF(e){return e&&"object"==typeof e&&RF(e)===xF}(t)){const r=OF(t);return{args:r.map(n=>t[n]),keys:r}}}return{args:e,keys:null}}const{isArray:FF}=Array;function FC(e){return G(t=>function kF(e,t){return FF(t)?e(...t):e(t)}(e,t))}function kC(e,t){return e.reduce((r,n,o)=>(r[n]=t[o],r),{})}function Af(...e){const t=Oo(e),r=Gh(e),{args:n,keys:o}=PC(e);if(0===n.length)return we([],t);const i=new ge(function LF(e,t,r=wn){return n=>{LC(t,()=>{const{length:o}=e,i=new Array(o);let s=o,a=o;for(let u=0;u{const l=we(e[u],t);let c=!1;l.subscribe(_e(n,d=>{i[u]=d,c||(c=!0,a--),a||n.next(r(i.slice()))},()=>{--s||n.complete()}))},n)},n)}}(n,t,o?s=>kC(o,s):wn));return r?i.pipe(FC(r)):i}function LC(e,t,r){e?nn(r,e,t):t()}const pu=No(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function Tf(...e){return function VF(){return yr(1)}()(we(e,Oo(e)))}function VC(e){return new ge(t=>{rt(e()).subscribe(t)})}function Bi(e,t){const r=ee(e)?e:()=>e,n=o=>o.error(r());return new ge(t?o=>t.schedule(n,0,o):n)}function Nf(){return Ce((e,t)=>{let r=null;e._refCount++;const n=_e(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount)return void(r=null);const o=e._connection,i=r;r=null,o&&(!i||o===i)&&o.unsubscribe(),t.unsubscribe()});e.subscribe(n),n.closed||(r=e.connect())})}class jC extends ge{constructor(t,r){super(),this.source=t,this.subjectFactory=r,this._subject=null,this._refCount=0,this._connection=null,Nh(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 nt;const r=this.getSubject();t.add(this.source.subscribe(_e(r,void 0,()=>{this._teardown(),r.complete()},n=>{this._teardown(),r.error(n)},()=>this._teardown()))),t.closed&&(this._connection=null,t=nt.EMPTY)}return t}refCount(){return Nf()(this)}}function go(e){return e<=0?()=>Vt:Ce((t,r)=>{let n=0;t.subscribe(_e(r,o=>{++n<=e&&(r.next(o),e<=n&&r.complete())}))})}function _n(e,t){return Ce((r,n)=>{let o=0;r.subscribe(_e(n,i=>e.call(t,i,o++)&&n.next(i)))})}function gu(e){return Ce((t,r)=>{let n=!1;t.subscribe(_e(r,o=>{n=!0,r.next(o)},()=>{n||r.next(e),r.complete()}))})}function BC(e=BF){return Ce((t,r)=>{let n=!1;t.subscribe(_e(r,o=>{n=!0,r.next(o)},()=>n?r.complete():r.error(e())))})}function BF(){return new pu}function lr(e,t){const r=arguments.length>=2;return n=>n.pipe(e?_n((o,i)=>e(o,i,n)):wn,go(1),r?gu(t):BC(()=>new pu))}function mo(e,t){return ee(t)?Se(e,t,1):Se(e,1)}function Ve(e,t,r){const n=ee(e)||t||r?{next:e,error:t,complete:r}:e;return n?Ce((o,i)=>{var s;null===(s=n.subscribe)||void 0===s||s.call(n);let a=!0;o.subscribe(_e(i,u=>{var l;null===(l=n.next)||void 0===l||l.call(n,u),i.next(u)},()=>{var u;a=!1,null===(u=n.complete)||void 0===u||u.call(n),i.complete()},u=>{var l;a=!1,null===(l=n.error)||void 0===l||l.call(n,u),i.error(u)},()=>{var u,l;a&&(null===(u=n.unsubscribe)||void 0===u||u.call(n)),null===(l=n.finalize)||void 0===l||l.call(n)}))}):wn}function cr(e){return Ce((t,r)=>{let i,n=null,o=!1;n=t.subscribe(_e(r,void 0,void 0,s=>{i=rt(e(s,cr(e)(t))),n?(n.unsubscribe(),n=null,i.subscribe(r)):o=!0})),o&&(n.unsubscribe(),n=null,i.subscribe(r))})}function Rf(e){return e<=0?()=>Vt:Ce((t,r)=>{let n=[];t.subscribe(_e(r,o=>{n.push(o),e{for(const o of n)r.next(o);r.complete()},void 0,()=>{n=null}))})}function Hi(e){return Ce((t,r)=>{try{t.subscribe(r)}finally{r.add(e)}})}const V="primary",$i=Symbol("RouteTitle");class qF{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){const r=this.params[t];return Array.isArray(r)?r[0]:r}return null}getAll(t){if(this.has(t)){const r=this.params[t];return Array.isArray(r)?r:[r]}return[]}get keys(){return Object.keys(this.params)}}function vo(e){return new qF(e)}function WF(e,t,r){const n=r.path.split("/");if(n.length>e.length||"full"===r.pathMatch&&(t.hasChildren()||n.lengthn[i]===o)}return e===t}function $C(e){return e.length>0?e[e.length-1]:null}function kn(e){return function TF(e){return!!e&&(e instanceof ge||ee(e.lift)&&ee(e.subscribe))}(e)?e:wi(e)?we(Promise.resolve(e)):T(e)}const YF={exact:function GC(e,t,r){if(!dr(e.segments,t.segments)||!mu(e.segments,t.segments,r)||e.numberOfChildren!==t.numberOfChildren)return!1;for(const n in t.children)if(!e.children[n]||!GC(e.children[n],t.children[n],r))return!1;return!0},subset:qC},UC={exact:function QF(e,t){return Jt(e,t)},subset:function XF(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(r=>HC(e[r],t[r]))},ignored:()=>!0};function zC(e,t,r){return YF[r.paths](e.root,t.root,r.matrixParams)&&UC[r.queryParams](e.queryParams,t.queryParams)&&!("exact"===r.fragment&&e.fragment!==t.fragment)}function qC(e,t,r){return WC(e,t,t.segments,r)}function WC(e,t,r,n){if(e.segments.length>r.length){const o=e.segments.slice(0,r.length);return!(!dr(o,r)||t.hasChildren()||!mu(o,r,n))}if(e.segments.length===r.length){if(!dr(e.segments,r)||!mu(e.segments,r,n))return!1;for(const o in t.children)if(!e.children[o]||!qC(e.children[o],t.children[o],n))return!1;return!0}{const o=r.slice(0,e.segments.length),i=r.slice(e.segments.length);return!!(dr(e.segments,o)&&mu(e.segments,o,n)&&e.children[V])&&WC(e.children[V],t,i,n)}}function mu(e,t,r){return t.every((n,o)=>UC[r](e[o].parameters,n.parameters))}class yo{constructor(t=new K([],{}),r={},n=null){this.root=t,this.queryParams=r,this.fragment=n}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=vo(this.queryParams)),this._queryParamMap}toString(){return ek.serialize(this)}}class K{constructor(t,r){this.segments=t,this.children=r,this.parent=null,Object.values(r).forEach(n=>n.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return vu(this)}}class Ui{constructor(t,r){this.path=t,this.parameters=r}get parameterMap(){return this._parameterMap||(this._parameterMap=vo(this.parameters)),this._parameterMap}toString(){return QC(this)}}function dr(e,t){return e.length===t.length&&e.every((r,n)=>r.path===t[n].path)}let zi=(()=>{var e;class t{}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275prov=A({token:e,factory:function(){return new xf},providedIn:"root"}),t})();class xf{parse(t){const r=new dk(t);return new yo(r.parseRootSegment(),r.parseQueryParams(),r.parseFragment())}serialize(t){const r=`/${Gi(t.root,!0)}`,n=function rk(e){const t=Object.keys(e).map(r=>{const n=e[r];return Array.isArray(n)?n.map(o=>`${yu(r)}=${yu(o)}`).join("&"):`${yu(r)}=${yu(n)}`}).filter(r=>!!r);return t.length?`?${t.join("&")}`:""}(t.queryParams);return`${r}${n}${"string"==typeof t.fragment?`#${function tk(e){return encodeURI(e)}(t.fragment)}`:""}`}}const ek=new xf;function vu(e){return e.segments.map(t=>QC(t)).join("/")}function Gi(e,t){if(!e.hasChildren())return vu(e);if(t){const r=e.children[V]?Gi(e.children[V],!1):"",n=[];return Object.entries(e.children).forEach(([o,i])=>{o!==V&&n.push(`${o}:${Gi(i,!1)}`)}),n.length>0?`${r}(${n.join("//")})`:r}{const r=function KF(e,t){let r=[];return Object.entries(e.children).forEach(([n,o])=>{n===V&&(r=r.concat(t(o,n)))}),Object.entries(e.children).forEach(([n,o])=>{n!==V&&(r=r.concat(t(o,n)))}),r}(e,(n,o)=>o===V?[Gi(e.children[V],!1)]:[`${o}:${Gi(n,!1)}`]);return 1===Object.keys(e.children).length&&null!=e.children[V]?`${vu(e)}/${r[0]}`:`${vu(e)}/(${r.join("//")})`}}function ZC(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function yu(e){return ZC(e).replace(/%3B/gi,";")}function Of(e){return ZC(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function _u(e){return decodeURIComponent(e)}function YC(e){return _u(e.replace(/\+/g,"%20"))}function QC(e){return`${Of(e.path)}${function nk(e){return Object.keys(e).map(t=>`;${Of(t)}=${Of(e[t])}`).join("")}(e.parameters)}`}const ok=/^[^\/()?;#]+/;function Pf(e){const t=e.match(ok);return t?t[0]:""}const ik=/^[^\/()?;=#]+/,ak=/^[^=?&#]+/,lk=/^[^&#]+/;class dk{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new K([],{}):new K([],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 r={};this.peekStartsWith("/(")&&(this.capture("/"),r=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(t.length>0||Object.keys(r).length>0)&&(n[V]=new K(t,r)),n}parseSegment(){const t=Pf(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new D(4009,!1);return this.capture(t),new Ui(_u(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const r=function sk(e){const t=e.match(ik);return t?t[0]:""}(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){const o=Pf(this.remaining);o&&(n=o,this.capture(n))}t[_u(r)]=_u(n)}parseQueryParam(t){const r=function uk(e){const t=e.match(ak);return t?t[0]:""}(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){const s=function ck(e){const t=e.match(lk);return t?t[0]:""}(this.remaining);s&&(n=s,this.capture(n))}const o=YC(r),i=YC(n);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 r={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const n=Pf(this.remaining),o=this.remaining[n.length];if("/"!==o&&")"!==o&&";"!==o)throw new D(4010,!1);let i;n.indexOf(":")>-1?(i=n.slice(0,n.indexOf(":")),this.capture(i),this.capture(":")):t&&(i=V);const s=this.parseChildren();r[i]=1===Object.keys(s).length?s[V]:new K([],s),this.consumeOptional("//")}return r}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 D(4011,!1)}}function XC(e){return e.segments.length>0?new K([],{[V]:e}):e}function JC(e){const t={};for(const n of Object.keys(e.children)){const i=JC(e.children[n]);if(n===V&&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[n]=i)}return function fk(e){if(1===e.numberOfChildren&&e.children[V]){const t=e.children[V];return new K(e.segments.concat(t.segments),t.children)}return e}(new K(e.segments,t))}function fr(e){return e instanceof yo}function KC(e){let t;const o=XC(function r(i){const s={};for(const u of i.children){const l=r(u);s[u.outlet]=l}const a=new K(i.url,s);return i===e&&(t=a),a}(e.root));return t??o}function ew(e,t,r,n){let o=e;for(;o.parent;)o=o.parent;if(0===t.length)return Ff(o,o,o,r,n);const i=function pk(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new nw(!0,0,e);let t=0,r=!1;const n=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?r=!0:".."===a?t++:""!=a&&o.push(a))}),o):[...o,i]},[]);return new nw(r,t,n)}(t);if(i.toRoot())return Ff(o,o,new K([],{}),r,n);const s=function gk(e,t,r){if(e.isAbsolute)return new Cu(t,!0,0);if(!r)return new Cu(t,!1,NaN);if(null===r.parent)return new Cu(r,!0,0);const n=Du(e.commands[0])?0:1;return function mk(e,t,r){let n=e,o=t,i=r;for(;i>o;){if(i-=o,n=n.parent,!n)throw new D(4005,!1);o=n.segments.length}return new Cu(n,!1,o-i)}(r,r.segments.length-1+n,e.numberOfDoubleDots)}(i,o,e),a=s.processChildren?Wi(s.segmentGroup,s.index,i.commands):rw(s.segmentGroup,s.index,i.commands);return Ff(o,s.segmentGroup,a,r,n)}function Du(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function qi(e){return"object"==typeof e&&null!=e&&e.outlets}function Ff(e,t,r,n,o){let s,i={};n&&Object.entries(n).forEach(([u,l])=>{i[u]=Array.isArray(l)?l.map(c=>`${c}`):`${l}`}),s=e===t?r:tw(e,t,r);const a=XC(JC(s));return new yo(a,i,o)}function tw(e,t,r){const n={};return Object.entries(e.children).forEach(([o,i])=>{n[o]=i===t?r:tw(i,t,r)}),new K(e.segments,n)}class nw{constructor(t,r,n){if(this.isAbsolute=t,this.numberOfDoubleDots=r,this.commands=n,t&&n.length>0&&Du(n[0]))throw new D(4003,!1);const o=n.find(qi);if(o&&o!==$C(n))throw new D(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Cu{constructor(t,r,n){this.segmentGroup=t,this.processChildren=r,this.index=n}}function rw(e,t,r){if(e||(e=new K([],{})),0===e.segments.length&&e.hasChildren())return Wi(e,t,r);const n=function yk(e,t,r){let n=0,o=t;const i={match:!1,pathIndex:0,commandIndex:0};for(;o=r.length)return i;const s=e.segments[o],a=r[n];if(qi(a))break;const u=`${a}`,l=n0&&void 0===u)break;if(u&&l&&"object"==typeof l&&void 0===l.outlets){if(!iw(u,l,s))return i;n+=2}else{if(!iw(u,{},s))return i;n++}o++}return{match:!0,pathIndex:o,commandIndex:n}}(e,t,r),o=r.slice(n.commandIndex);if(n.match&&n.pathIndexi!==V)&&e.children[V]&&1===e.numberOfChildren&&0===e.children[V].segments.length){const i=Wi(e.children[V],t,r);return new K(e.segments,i.children)}return Object.entries(n).forEach(([i,s])=>{"string"==typeof s&&(s=[s]),null!==s&&(o[i]=rw(e.children[i],t,s))}),Object.entries(e.children).forEach(([i,s])=>{void 0===n[i]&&(o[i]=s)}),new K(e.segments,o)}}function kf(e,t,r){const n=e.segments.slice(0,t);let o=0;for(;o{"string"==typeof n&&(n=[n]),null!==n&&(t[r]=kf(new K([],{}),0,n))}),t}function ow(e){const t={};return Object.entries(e).forEach(([r,n])=>t[r]=`${n}`),t}function iw(e,t,r){return e==r.path&&Jt(t,r.parameters)}const Zi="imperative";class Kt{constructor(t,r){this.id=t,this.url=r}}class wu extends Kt{constructor(t,r,n="imperative",o=null){super(t,r),this.type=0,this.navigationTrigger=n,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Ln extends Kt{constructor(t,r,n){super(t,r),this.urlAfterRedirects=n,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Yi extends Kt{constructor(t,r,n,o){super(t,r),this.reason=n,this.code=o,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class _o extends Kt{constructor(t,r,n,o){super(t,r),this.reason=n,this.code=o,this.type=16}}class Eu extends Kt{constructor(t,r,n,o){super(t,r),this.error=n,this.target=o,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class sw extends Kt{constructor(t,r,n,o){super(t,r),this.urlAfterRedirects=n,this.state=o,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Dk extends Kt{constructor(t,r,n,o){super(t,r),this.urlAfterRedirects=n,this.state=o,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ck extends Kt{constructor(t,r,n,o,i){super(t,r),this.urlAfterRedirects=n,this.state=o,this.shouldActivate=i,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class wk extends Kt{constructor(t,r,n,o){super(t,r),this.urlAfterRedirects=n,this.state=o,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ek extends Kt{constructor(t,r,n,o){super(t,r),this.urlAfterRedirects=n,this.state=o,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class bk{constructor(t){this.route=t,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Ik{constructor(t){this.route=t,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Mk{constructor(t){this.snapshot=t,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Sk{constructor(t){this.snapshot=t,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ak{constructor(t){this.snapshot=t,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Tk{constructor(t){this.snapshot=t,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class aw{constructor(t,r,n){this.routerEvent=t,this.position=r,this.anchor=n,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class Lf{}class Vf{constructor(t){this.url=t}}class Nk{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new Qi,this.attachRef=null}}let Qi=(()=>{var e;class t{constructor(){this.contexts=new Map}onChildOutletCreated(n,o){const i=this.getOrCreateContext(n);i.outlet=o,this.contexts.set(n,i)}onChildOutletDestroyed(n){const o=this.getContext(n);o&&(o.outlet=null,o.attachRef=null)}onOutletDeactivated(){const n=this.contexts;return this.contexts=new Map,n}onOutletReAttached(n){this.contexts=n}getOrCreateContext(n){let o=this.getContext(n);return o||(o=new Nk,this.contexts.set(n,o)),o}getContext(n){return this.contexts.get(n)||null}}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();class uw{constructor(t){this._root=t}get root(){return this._root.value}parent(t){const r=this.pathFromRoot(t);return r.length>1?r[r.length-2]:null}children(t){const r=jf(t,this._root);return r?r.children.map(n=>n.value):[]}firstChild(t){const r=jf(t,this._root);return r&&r.children.length>0?r.children[0].value:null}siblings(t){const r=Bf(t,this._root);return r.length<2?[]:r[r.length-2].children.map(o=>o.value).filter(o=>o!==t)}pathFromRoot(t){return Bf(t,this._root).map(r=>r.value)}}function jf(e,t){if(e===t.value)return t;for(const r of t.children){const n=jf(e,r);if(n)return n}return null}function Bf(e,t){if(e===t.value)return[t];for(const r of t.children){const n=Bf(e,r);if(n.length)return n.unshift(t),n}return[]}class Dn{constructor(t,r){this.value=t,this.children=r}toString(){return`TreeNode(${this.value})`}}function Do(e){const t={};return e&&e.children.forEach(r=>t[r.value.outlet]=r),t}class lw extends uw{constructor(t,r){super(t),this.snapshot=r,Hf(this,t)}toString(){return this.snapshot.toString()}}function cw(e,t){const r=function Rk(e,t){const s=new bu([],{},{},"",{},V,t,null,{});return new fw("",new Dn(s,[]))}(0,t),n=new gt([new Ui("",{})]),o=new gt({}),i=new gt({}),s=new gt({}),a=new gt(""),u=new hr(n,o,s,a,i,V,t,r.root);return u.snapshot=r.root,new lw(new Dn(u,[]),r)}class hr{constructor(t,r,n,o,i,s,a,u){this.urlSubject=t,this.paramsSubject=r,this.queryParamsSubject=n,this.fragmentSubject=o,this.dataSubject=i,this.outlet=s,this.component=a,this._futureSnapshot=u,this.title=this.dataSubject?.pipe(G(l=>l[$i]))??T(void 0),this.url=t,this.params=r,this.queryParams=n,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._paramMap=this.params.pipe(G(t=>vo(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(G(t=>vo(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function dw(e,t="emptyOnly"){const r=e.pathFromRoot;let n=0;if("always"!==t)for(n=r.length-1;n>=1;){const o=r[n],i=r[n-1];if(o.routeConfig&&""===o.routeConfig.path)n--;else{if(i.component)break;n--}}return function xk(e){return e.reduce((t,r)=>({params:{...t.params,...r.params},data:{...t.data,...r.data},resolve:{...r.data,...t.resolve,...r.routeConfig?.data,...r._resolvedData}}),{params:{},data:{},resolve:{}})}(r.slice(n))}class bu{get title(){return this.data?.[$i]}constructor(t,r,n,o,i,s,a,u,l){this.url=t,this.params=r,this.queryParams=n,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||(this._paramMap=vo(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=vo(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(n=>n.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class fw extends uw{constructor(t,r){super(r),this.url=t,Hf(this,r)}toString(){return hw(this._root)}}function Hf(e,t){t.value._routerState=e,t.children.forEach(r=>Hf(e,r))}function hw(e){const t=e.children.length>0?` { ${e.children.map(hw).join(", ")} } `:"";return`${e.value}${t}`}function $f(e){if(e.snapshot){const t=e.snapshot,r=e._futureSnapshot;e.snapshot=r,Jt(t.queryParams,r.queryParams)||e.queryParamsSubject.next(r.queryParams),t.fragment!==r.fragment&&e.fragmentSubject.next(r.fragment),Jt(t.params,r.params)||e.paramsSubject.next(r.params),function ZF(e,t){if(e.length!==t.length)return!1;for(let r=0;rJt(r.parameters,t[n].parameters))}(e.url,t.url);return r&&!(!e.parent!=!t.parent)&&(!e.parent||Uf(e.parent,t.parent))}let zf=(()=>{var e;class t{constructor(){this.activated=null,this._activatedRoute=null,this.name=V,this.activateEvents=new fe,this.deactivateEvents=new fe,this.attachEvents=new fe,this.detachEvents=new fe,this.parentContexts=E(Qi),this.location=E(Pt),this.changeDetector=E(Wa),this.environmentInjector=E(ut),this.inputBinder=E(Iu,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(n){if(n.name){const{firstChange:o,previousValue:i}=n.name;if(o)return;this.isTrackedInParentContexts(i)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(i)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(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 D(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new D(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new D(4012,!1);this.location.detach();const n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}attach(n,o){this.activated=n,this._activatedRoute=o,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,o){if(this.isActivated)throw new D(4013,!1);this._activatedRoute=n;const i=this.location,a=n.snapshot.component,u=this.parentContexts.getOrCreateContext(this.name).children,l=new Ok(n,u,i.injector);this.activated=i.createComponent(a,{index:i.length,injector:l,environmentInjector:o??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275dir=O({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[yt]}),t})();class Ok{constructor(t,r,n){this.route=t,this.childContexts=r,this.parent=n}get(t,r){return t===hr?this.route:t===Qi?this.childContexts:this.parent.get(t,r)}}const Iu=new b("");let pw=(()=>{var e;class t{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:o}=n,i=Af([o.queryParams,o.params,o.data]).pipe(Mt(([s,a,u],l)=>(u={...s,...a,...u},0===l?T(u):Promise.resolve(u)))).subscribe(s=>{if(!n.isActivated||!n.activatedComponentRef||n.activatedRoute!==o||null===o.component)return void this.unsubscribeFromRouteData(n);const a=function a1(e){const t=$(e);if(!t)return null;const r=new vi(t);return{get selector(){return r.selector},get type(){return r.componentType},get inputs(){return r.inputs},get outputs(){return r.outputs},get ngContentSelectors(){return r.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}(o.component);if(a)for(const{templateName:u}of a.inputs)n.activatedComponentRef.setInput(u,s[u]);else this.unsubscribeFromRouteData(n)});this.outletDataSubscriptions.set(n,i)}}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275prov=A({token:e,factory:e.\u0275fac}),t})();function Xi(e,t,r){if(r&&e.shouldReuseRoute(t.value,r.value.snapshot)){const n=r.value;n._futureSnapshot=t.value;const o=function Fk(e,t,r){return t.children.map(n=>{for(const o of r.children)if(e.shouldReuseRoute(n.value,o.value.snapshot))return Xi(e,n,o);return Xi(e,n)})}(e,t,r);return new Dn(n,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=>Xi(e,a)),s}}const n=function kk(e){return new hr(new gt(e.url),new gt(e.params),new gt(e.queryParams),new gt(e.fragment),new gt(e.data),e.outlet,e.component,e)}(t.value),o=t.children.map(i=>Xi(e,i));return new Dn(n,o)}}const Gf="ngNavigationCancelingError";function gw(e,t){const{redirectTo:r,navigationBehaviorOptions:n}=fr(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,o=mw(!1,0,t);return o.url=r,o.navigationBehaviorOptions=n,o}function mw(e,t,r){const n=new Error("NavigationCancelingError: "+(e||""));return n[Gf]=!0,n.cancellationCode=t,r&&(n.url=r),n}function vw(e){return e&&e[Gf]}let yw=(()=>{var e;class t{}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275cmp=sn({type:e,selectors:[["ng-component"]],standalone:!0,features:[g_],decls:1,vars:0,template:function(n,o){1&n&&nr(0,"router-outlet")},dependencies:[zf],encapsulation:2}),t})();function qf(e){const t=e.children&&e.children.map(qf),r=t?{...e,children:t}:{...e};return!r.component&&!r.loadComponent&&(t||r.loadChildren)&&r.outlet&&r.outlet!==V&&(r.component=yw),r}function Lt(e){return e.outlet||V}function Ji(e){if(!e)return null;if(e.routeConfig?._injector)return e.routeConfig._injector;for(let t=e.parent;t;t=t.parent){const r=t.routeConfig;if(r?._loadedInjector)return r._loadedInjector;if(r?._injector)return r._injector}return null}class zk{constructor(t,r,n,o,i){this.routeReuseStrategy=t,this.futureState=r,this.currState=n,this.forwardEvent=o,this.inputBindingEnabled=i}activate(t){const r=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(r,n,t),$f(this.futureState.root),this.activateChildRoutes(r,n,t)}deactivateChildRoutes(t,r,n){const o=Do(r);t.children.forEach(i=>{const s=i.value.outlet;this.deactivateRoutes(i,o[s],n),delete o[s]}),Object.values(o).forEach(i=>{this.deactivateRouteAndItsChildren(i,n)})}deactivateRoutes(t,r,n){const o=t.value,i=r?r.value:null;if(o===i)if(o.component){const s=n.getContext(o.outlet);s&&this.deactivateChildRoutes(t,r,s.children)}else this.deactivateChildRoutes(t,r,n);else i&&this.deactivateRouteAndItsChildren(r,n)}deactivateRouteAndItsChildren(t,r){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,r):this.deactivateRouteAndOutlet(t,r)}detachAndStoreRouteSubtree(t,r){const n=r.getContext(t.value.outlet),o=n&&t.value.component?n.children:r,i=Do(t);for(const s of Object.keys(i))this.deactivateRouteAndItsChildren(i[s],o);if(n&&n.outlet){const s=n.outlet.detach(),a=n.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:s,route:t,contexts:a})}}deactivateRouteAndOutlet(t,r){const n=r.getContext(t.value.outlet),o=n&&t.value.component?n.children:r,i=Do(t);for(const s of Object.keys(i))this.deactivateRouteAndItsChildren(i[s],o);n&&(n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated()),n.attachRef=null,n.route=null)}activateChildRoutes(t,r,n){const o=Do(r);t.children.forEach(i=>{this.activateRoutes(i,o[i.value.outlet],n),this.forwardEvent(new Tk(i.value.snapshot))}),t.children.length&&this.forwardEvent(new Sk(t.value.snapshot))}activateRoutes(t,r,n){const o=t.value,i=r?r.value:null;if($f(o),o===i)if(o.component){const s=n.getOrCreateContext(o.outlet);this.activateChildRoutes(t,r,s.children)}else this.activateChildRoutes(t,r,n);else if(o.component){const s=n.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),$f(a.route.value),this.activateChildRoutes(t,null,s.children)}else{const a=Ji(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,n)}}class _w{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class Mu{constructor(t,r){this.component=t,this.route=r}}function Gk(e,t,r){const n=e._root;return Ki(n,t?t._root:null,r,[n.value])}function Co(e,t){const r=Symbol(),n=t.get(e,r);return n===r?"function"!=typeof e||function yI(e){return null!==vs(e)}(e)?t.get(e):e:n}function Ki(e,t,r,n,o={canDeactivateChecks:[],canActivateChecks:[]}){const i=Do(t);return e.children.forEach(s=>{(function Wk(e,t,r,n,o={canDeactivateChecks:[],canActivateChecks:[]}){const i=e.value,s=t?t.value:null,a=r?r.getContext(e.value.outlet):null;if(s&&i.routeConfig===s.routeConfig){const u=function Zk(e,t,r){if("function"==typeof r)return r(e,t);switch(r){case"pathParamsChange":return!dr(e.url,t.url);case"pathParamsOrQueryParamsChange":return!dr(e.url,t.url)||!Jt(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Uf(e,t)||!Jt(e.queryParams,t.queryParams);default:return!Uf(e,t)}}(s,i,i.routeConfig.runGuardsAndResolvers);u?o.canActivateChecks.push(new _w(n)):(i.data=s.data,i._resolvedData=s._resolvedData),Ki(e,t,i.component?a?a.children:null:r,n,o),u&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new Mu(a.outlet.component,s))}else s&&es(t,a,o),o.canActivateChecks.push(new _w(n)),Ki(e,null,i.component?a?a.children:null:r,n,o)})(s,i[s.value.outlet],r,n.concat([s.value]),o),delete i[s.value.outlet]}),Object.entries(i).forEach(([s,a])=>es(a,r.getContext(s),o)),o}function es(e,t,r){const n=Do(e),o=e.value;Object.entries(n).forEach(([i,s])=>{es(s,o.component?t?t.children.getContext(i):null:t,r)}),r.canDeactivateChecks.push(new Mu(o.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,o))}function ts(e){return"function"==typeof e}function Dw(e){return e instanceof pu||"EmptyError"===e?.name}const Su=Symbol("INITIAL_VALUE");function wo(){return Mt(e=>Af(e.map(t=>t.pipe(go(1),function jF(...e){const t=Oo(e);return Ce((r,n)=>{(t?Tf(e,r,t):Tf(e,r)).subscribe(n)})}(Su)))).pipe(G(t=>{for(const r of t)if(!0!==r){if(r===Su)return Su;if(!1===r||r instanceof yo)return r}return!0}),_n(t=>t!==Su),go(1)))}function Cw(e){return function Db(...e){return Sh(e)}(Ve(t=>{if(fr(t))throw gw(0,t)}),G(t=>!0===t))}class Au{constructor(t){this.segmentGroup=t||null}}class ww{constructor(t){this.urlTree=t}}function Eo(e){return Bi(new Au(e))}function Ew(e){return Bi(new ww(e))}class pL{constructor(t,r){this.urlSerializer=t,this.urlTree=r}noMatchError(t){return new D(4002,!1)}lineralizeSegments(t,r){let n=[],o=r.root;for(;;){if(n=n.concat(o.segments),0===o.numberOfChildren)return T(n);if(o.numberOfChildren>1||!o.children[V])return Bi(new D(4e3,!1));o=o.children[V]}}applyRedirectCommands(t,r,n){return this.applyRedirectCreateUrlTree(r,this.urlSerializer.parse(r),t,n)}applyRedirectCreateUrlTree(t,r,n,o){const i=this.createSegmentGroup(t,r.root,n,o);return new yo(i,this.createQueryParams(r.queryParams,this.urlTree.queryParams),r.fragment)}createQueryParams(t,r){const n={};return Object.entries(t).forEach(([o,i])=>{if("string"==typeof i&&i.startsWith(":")){const a=i.substring(1);n[o]=r[a]}else n[o]=i}),n}createSegmentGroup(t,r,n,o){const i=this.createSegments(t,r.segments,n,o);let s={};return Object.entries(r.children).forEach(([a,u])=>{s[a]=this.createSegmentGroup(t,u,n,o)}),new K(i,s)}createSegments(t,r,n,o){return r.map(i=>i.path.startsWith(":")?this.findPosParam(t,i,o):this.findOrReturn(i,n))}findPosParam(t,r,n){const o=n[r.path.substring(1)];if(!o)throw new D(4001,!1);return o}findOrReturn(t,r){let n=0;for(const o of r){if(o.path===t.path)return r.splice(n),o;n++}return t}}const Wf={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function gL(e,t,r,n,o){const i=Zf(e,t,r);return i.matched?(n=function Vk(e,t){return e.providers&&!e._injector&&(e._injector=Ed(e.providers,t,`Route: ${e.path}`)),e._injector??t}(t,n),function dL(e,t,r,n){const o=t.canMatch;return o&&0!==o.length?T(o.map(s=>{const a=Co(s,e);return kn(function eL(e){return e&&ts(e.canMatch)}(a)?a.canMatch(t,r):e.runInContext(()=>a(t,r)))})).pipe(wo(),Cw()):T(!0)}(n,t,r).pipe(G(s=>!0===s?i:{...Wf}))):T(i)}function Zf(e,t,r){if(""===t.path)return"full"===t.pathMatch&&(e.hasChildren()||r.length>0)?{...Wf}:{matched:!0,consumedSegments:[],remainingSegments:r,parameters:{},positionalParamSegments:{}};const o=(t.matcher||WF)(r,e,t);if(!o)return{...Wf};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:r.slice(o.consumed.length),parameters:s,positionalParamSegments:o.posParams??{}}}function bw(e,t,r,n){return r.length>0&&function yL(e,t,r){return r.some(n=>Tu(e,t,n)&&Lt(n)!==V)}(e,r,n)?{segmentGroup:new K(t,vL(n,new K(r,e.children))),slicedSegments:[]}:0===r.length&&function _L(e,t,r){return r.some(n=>Tu(e,t,n))}(e,r,n)?{segmentGroup:new K(e.segments,mL(e,0,r,n,e.children)),slicedSegments:r}:{segmentGroup:new K(e.segments,e.children),slicedSegments:r}}function mL(e,t,r,n,o){const i={};for(const s of n)if(Tu(e,r,s)&&!o[Lt(s)]){const a=new K([],{});i[Lt(s)]=a}return{...o,...i}}function vL(e,t){const r={};r[V]=t;for(const n of e)if(""===n.path&&Lt(n)!==V){const o=new K([],{});r[Lt(n)]=o}return r}function Tu(e,t,r){return(!(e.hasChildren()||t.length>0)||"full"!==r.pathMatch)&&""===r.path}class EL{constructor(t,r,n,o,i,s,a){this.injector=t,this.configLoader=r,this.rootComponentType=n,this.config=o,this.urlTree=i,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.allowRedirects=!0,this.applyRedirects=new pL(this.urlSerializer,this.urlTree)}noMatchError(t){return new D(4002,!1)}recognize(){const t=bw(this.urlTree.root,[],[],this.config).segmentGroup;return this.processSegmentGroup(this.injector,this.config,t,V).pipe(cr(r=>{if(r instanceof ww)return this.allowRedirects=!1,this.urlTree=r.urlTree,this.match(r.urlTree);throw r instanceof Au?this.noMatchError(r):r}),G(r=>{const n=new bu([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},V,this.rootComponentType,null,{}),o=new Dn(n,r),i=new fw("",o),s=function hk(e,t,r=null,n=null){return ew(KC(e),t,r,n)}(n,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,i.url=this.urlSerializer.serialize(s),this.inheritParamsAndData(i._root),{state:i,tree:s}}))}match(t){return this.processSegmentGroup(this.injector,this.config,t.root,V).pipe(cr(n=>{throw n instanceof Au?this.noMatchError(n):n}))}inheritParamsAndData(t){const r=t.value,n=dw(r,this.paramsInheritanceStrategy);r.params=Object.freeze(n.params),r.data=Object.freeze(n.data),t.children.forEach(o=>this.inheritParamsAndData(o))}processSegmentGroup(t,r,n,o){return 0===n.segments.length&&n.hasChildren()?this.processChildren(t,r,n):this.processSegment(t,r,n,n.segments,o,!0)}processChildren(t,r,n){const o=[];for(const i of Object.keys(n.children))"primary"===i?o.unshift(i):o.push(i);return we(o).pipe(mo(i=>{const s=n.children[i],a=function $k(e,t){const r=e.filter(n=>Lt(n)===t);return r.push(...e.filter(n=>Lt(n)!==t)),r}(r,i);return this.processSegmentGroup(t,a,s,i)}),function $F(e,t){return Ce(function HF(e,t,r,n,o){return(i,s)=>{let a=r,u=t,l=0;i.subscribe(_e(s,c=>{const d=l++;u=a?e(u,c,d):(a=!0,c),n&&s.next(u)},o&&(()=>{a&&s.next(u),s.complete()})))}}(e,t,arguments.length>=2,!0))}((i,s)=>(i.push(...s),i)),gu(null),function UF(e,t){const r=arguments.length>=2;return n=>n.pipe(e?_n((o,i)=>e(o,i,n)):wn,Rf(1),r?gu(t):BC(()=>new pu))}(),Se(i=>{if(null===i)return Eo(n);const s=Iw(i);return function bL(e){e.sort((t,r)=>t.value.outlet===V?-1:r.value.outlet===V?1:t.value.outlet.localeCompare(r.value.outlet))}(s),T(s)}))}processSegment(t,r,n,o,i,s){return we(r).pipe(mo(a=>this.processSegmentAgainstRoute(a._injector??t,r,a,n,o,i,s).pipe(cr(u=>{if(u instanceof Au)return T(null);throw u}))),lr(a=>!!a),cr(a=>{if(Dw(a))return function CL(e,t,r){return 0===t.length&&!e.children[r]}(n,o,i)?T([]):Eo(n);throw a}))}processSegmentAgainstRoute(t,r,n,o,i,s,a){return function DL(e,t,r,n){return!!(Lt(e)===n||n!==V&&Tu(t,r,e))&&("**"===e.path||Zf(t,e,r).matched)}(n,o,i,s)?void 0===n.redirectTo?this.matchSegmentAgainstRoute(t,o,n,i,s,a):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,o,r,n,i,s):Eo(o):Eo(o)}expandSegmentAgainstRouteUsingRedirect(t,r,n,o,i,s){return"**"===o.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,o,s):this.expandRegularSegmentAgainstRouteUsingRedirect(t,r,n,o,i,s)}expandWildCardWithParamsAgainstRouteUsingRedirect(t,r,n,o){const i=this.applyRedirects.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?Ew(i):this.applyRedirects.lineralizeSegments(n,i).pipe(Se(s=>{const a=new K(s,{});return this.processSegment(t,r,a,s,o,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(t,r,n,o,i,s){const{matched:a,consumedSegments:u,remainingSegments:l,positionalParamSegments:c}=Zf(r,o,i);if(!a)return Eo(r);const d=this.applyRedirects.applyRedirectCommands(u,o.redirectTo,c);return o.redirectTo.startsWith("/")?Ew(d):this.applyRedirects.lineralizeSegments(o,d).pipe(Se(f=>this.processSegment(t,n,r,f.concat(l),s,!1)))}matchSegmentAgainstRoute(t,r,n,o,i,s){let a;if("**"===n.path){const u=o.length>0?$C(o).parameters:{};a=T({snapshot:new bu(o,u,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Mw(n),Lt(n),n.component??n._loadedComponent??null,n,Sw(n)),consumedSegments:[],remainingSegments:[]}),r.children={}}else a=gL(r,n,o,t).pipe(G(({matched:u,consumedSegments:l,remainingSegments:c,parameters:d})=>u?{snapshot:new bu(l,d,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Mw(n),Lt(n),n.component??n._loadedComponent??null,n,Sw(n)),consumedSegments:l,remainingSegments:c}:null));return a.pipe(Mt(u=>null===u?Eo(r):this.getChildConfig(t=n._injector??t,n,o).pipe(Mt(({routes:l})=>{const c=n._loadedInjector??t,{snapshot:d,consumedSegments:f,remainingSegments:h}=u,{segmentGroup:p,slicedSegments:g}=bw(r,f,h,l);if(0===g.length&&p.hasChildren())return this.processChildren(c,l,p).pipe(G(y=>null===y?null:[new Dn(d,y)]));if(0===l.length&&0===g.length)return T([new Dn(d,[])]);const v=Lt(n)===i;return this.processSegment(c,l,p,g,v?V:i,!0).pipe(G(y=>[new Dn(d,y)]))}))))}getChildConfig(t,r,n){return r.children?T({routes:r.children,injector:t}):r.loadChildren?void 0!==r._loadedRoutes?T({routes:r._loadedRoutes,injector:r._loadedInjector}):function cL(e,t,r,n){const o=t.canLoad;return void 0===o||0===o.length?T(!0):T(o.map(s=>{const a=Co(s,e);return kn(function Qk(e){return e&&ts(e.canLoad)}(a)?a.canLoad(t,r):e.runInContext(()=>a(t,r)))})).pipe(wo(),Cw())}(t,r,n).pipe(Se(o=>o?this.configLoader.loadChildren(t,r).pipe(Ve(i=>{r._loadedRoutes=i.routes,r._loadedInjector=i.injector})):function hL(e){return Bi(mw(!1,3))}())):T({routes:[],injector:t})}}function IL(e){const t=e.value.routeConfig;return t&&""===t.path}function Iw(e){const t=[],r=new Set;for(const n of e){if(!IL(n)){t.push(n);continue}const o=t.find(i=>n.value.routeConfig===i.value.routeConfig);void 0!==o?(o.children.push(...n.children),r.add(o)):t.push(n)}for(const n of r){const o=Iw(n.children);t.push(new Dn(n.value,o))}return t.filter(n=>!r.has(n))}function Mw(e){return e.data||{}}function Sw(e){return e.resolve||{}}function Aw(e){return"string"==typeof e.title||null===e.title}function Yf(e){return Mt(t=>{const r=e(t);return r?we(r).pipe(G(()=>t)):T(t)})}const bo=new b("ROUTES");let Qf=(()=>{var e;class t{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=E(lD)}loadComponent(n){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return T(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);const o=kn(n.loadComponent()).pipe(G(Tw),Ve(s=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=s}),Hi(()=>{this.componentLoaders.delete(n)})),i=new jC(o,()=>new It).pipe(Nf());return this.componentLoaders.set(n,i),i}loadChildren(n,o){if(this.childrenLoaders.get(o))return this.childrenLoaders.get(o);if(o._loadedRoutes)return T({routes:o._loadedRoutes,injector:o._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(o);const s=this.loadModuleFactoryOrRoutes(o.loadChildren).pipe(G(u=>{this.onLoadEndListener&&this.onLoadEndListener(o);let l,c;return Array.isArray(u)?c=u:(l=u.create(n).injector,c=l.get(bo,[],B.Self|B.Optional).flat()),{routes:c.map(qf),injector:l}}),Hi(()=>{this.childrenLoaders.delete(o)})),a=new jC(s,()=>new It).pipe(Nf());return this.childrenLoaders.set(o,a),a}loadModuleFactoryOrRoutes(n){return kn(n()).pipe(G(Tw),Se(o=>o instanceof h_||Array.isArray(o)?T(o):we(this.compiler.compileModuleAsync(o))))}}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();function Tw(e){return function xL(e){return e&&"object"==typeof e&&"default"in e}(e)?e.default:e}let Nu=(()=>{var e;class t{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new It,this.transitionAbortSubject=new It,this.configLoader=E(Qf),this.environmentInjector=E(ut),this.urlSerializer=E(zi),this.rootContexts=E(Qi),this.inputBindingEnabled=null!==E(Iu,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>T(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=i=>this.events.next(new Ik(i)),this.configLoader.onLoadStartListener=i=>this.events.next(new bk(i))}complete(){this.transitions?.complete()}handleNavigationRequest(n){const o=++this.navigationId;this.transitions?.next({...this.transitions.value,...n,id:o})}setupNavigations(n,o,i){return this.transitions=new gt({id:0,currentUrlTree:o,currentRawUrl:o,currentBrowserUrl:o,extractedUrl:n.urlHandlingStrategy.extract(o),urlAfterRedirects:n.urlHandlingStrategy.extract(o),rawUrl:o,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:Zi,restoredState:null,currentSnapshot:i.snapshot,targetSnapshot:null,currentRouterState:i,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(_n(s=>0!==s.id),G(s=>({...s,extractedUrl:n.urlHandlingStrategy.extract(s.rawUrl)})),Mt(s=>{this.currentTransition=s;let a=!1,u=!1;return T(s).pipe(Ve(l=>{this.currentNavigation={id:l.id,initialUrl:l.rawUrl,extractedUrl:l.extractedUrl,trigger:l.source,extras:l.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),Mt(l=>{const c=l.currentBrowserUrl.toString(),d=!n.navigated||l.extractedUrl.toString()!==c||c!==l.currentUrlTree.toString();if(!d&&"reload"!==(l.extras.onSameUrlNavigation??n.onSameUrlNavigation)){const h="";return this.events.next(new _o(l.id,this.urlSerializer.serialize(l.rawUrl),h,0)),l.resolve(null),Vt}if(n.urlHandlingStrategy.shouldProcessUrl(l.rawUrl))return T(l).pipe(Mt(h=>{const p=this.transitions?.getValue();return this.events.next(new wu(h.id,this.urlSerializer.serialize(h.extractedUrl),h.source,h.restoredState)),p!==this.transitions?.getValue()?Vt:Promise.resolve(h)}),function ML(e,t,r,n,o,i){return Se(s=>function wL(e,t,r,n,o,i,s="emptyOnly"){return new EL(e,t,r,n,o,s,i).recognize()}(e,t,r,n,s.extractedUrl,o,i).pipe(G(({state:a,tree:u})=>({...s,targetSnapshot:a,urlAfterRedirects:u}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,n.paramsInheritanceStrategy),Ve(h=>{s.targetSnapshot=h.targetSnapshot,s.urlAfterRedirects=h.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:h.urlAfterRedirects};const p=new sw(h.id,this.urlSerializer.serialize(h.extractedUrl),this.urlSerializer.serialize(h.urlAfterRedirects),h.targetSnapshot);this.events.next(p)}));if(d&&n.urlHandlingStrategy.shouldProcessUrl(l.currentRawUrl)){const{id:h,extractedUrl:p,source:g,restoredState:v,extras:y}=l,m=new wu(h,this.urlSerializer.serialize(p),g,v);this.events.next(m);const M=cw(0,this.rootComponentType).snapshot;return this.currentTransition=s={...l,targetSnapshot:M,urlAfterRedirects:p,extras:{...y,skipLocationChange:!1,replaceUrl:!1}},T(s)}{const h="";return this.events.next(new _o(l.id,this.urlSerializer.serialize(l.extractedUrl),h,1)),l.resolve(null),Vt}}),Ve(l=>{const c=new Dk(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(c)}),G(l=>(this.currentTransition=s={...l,guards:Gk(l.targetSnapshot,l.currentSnapshot,this.rootContexts)},s)),function nL(e,t){return Se(r=>{const{targetSnapshot:n,currentSnapshot:o,guards:{canActivateChecks:i,canDeactivateChecks:s}}=r;return 0===s.length&&0===i.length?T({...r,guardsResult:!0}):function rL(e,t,r,n){return we(e).pipe(Se(o=>function lL(e,t,r,n,o){const i=t&&t.routeConfig?t.routeConfig.canDeactivate:null;return i&&0!==i.length?T(i.map(a=>{const u=Ji(t)??o,l=Co(a,u);return kn(function Kk(e){return e&&ts(e.canDeactivate)}(l)?l.canDeactivate(e,t,r,n):u.runInContext(()=>l(e,t,r,n))).pipe(lr())})).pipe(wo()):T(!0)}(o.component,o.route,r,t,n)),lr(o=>!0!==o,!0))}(s,n,o,e).pipe(Se(a=>a&&function Yk(e){return"boolean"==typeof e}(a)?function oL(e,t,r,n){return we(t).pipe(mo(o=>Tf(function sL(e,t){return null!==e&&t&&t(new Mk(e)),T(!0)}(o.route.parent,n),function iL(e,t){return null!==e&&t&&t(new Ak(e)),T(!0)}(o.route,n),function uL(e,t,r){const n=t[t.length-1],i=t.slice(0,t.length-1).reverse().map(s=>function qk(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=>VC(()=>T(s.guards.map(u=>{const l=Ji(s.node)??r,c=Co(u,l);return kn(function Jk(e){return e&&ts(e.canActivateChild)}(c)?c.canActivateChild(n,e):l.runInContext(()=>c(n,e))).pipe(lr())})).pipe(wo())));return T(i).pipe(wo())}(e,o.path,r),function aL(e,t,r){const n=t.routeConfig?t.routeConfig.canActivate:null;if(!n||0===n.length)return T(!0);const o=n.map(i=>VC(()=>{const s=Ji(t)??r,a=Co(i,s);return kn(function Xk(e){return e&&ts(e.canActivate)}(a)?a.canActivate(t,e):s.runInContext(()=>a(t,e))).pipe(lr())}));return T(o).pipe(wo())}(e,o.route,r))),lr(o=>!0!==o,!0))}(n,i,e,t):T(a)),G(a=>({...r,guardsResult:a})))})}(this.environmentInjector,l=>this.events.next(l)),Ve(l=>{if(s.guardsResult=l.guardsResult,fr(l.guardsResult))throw gw(0,l.guardsResult);const c=new Ck(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot,!!l.guardsResult);this.events.next(c)}),_n(l=>!!l.guardsResult||(this.cancelNavigationTransition(l,"",3),!1)),Yf(l=>{if(l.guards.canActivateChecks.length)return T(l).pipe(Ve(c=>{const d=new wk(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(d)}),Mt(c=>{let d=!1;return T(c).pipe(function SL(e,t){return Se(r=>{const{targetSnapshot:n,guards:{canActivateChecks:o}}=r;if(!o.length)return T(r);let i=0;return we(o).pipe(mo(s=>function AL(e,t,r,n){const o=e.routeConfig,i=e._resolve;return void 0!==o?.title&&!Aw(o)&&(i[$i]=o.title),function TL(e,t,r,n){const o=function NL(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e)]}(e);if(0===o.length)return T({});const i={};return we(o).pipe(Se(s=>function RL(e,t,r,n){const o=Ji(t)??n,i=Co(e,o);return kn(i.resolve?i.resolve(t,r):o.runInContext(()=>i(t,r)))}(e[s],t,r,n).pipe(lr(),Ve(a=>{i[s]=a}))),Rf(1),function zF(e){return G(()=>e)}(i),cr(s=>Dw(s)?Vt:Bi(s)))}(i,e,t,n).pipe(G(s=>(e._resolvedData=s,e.data=dw(e,r).resolve,o&&Aw(o)&&(e.data[$i]=o.title),null)))}(s.route,n,e,t)),Ve(()=>i++),Rf(1),Se(s=>i===o.length?T(r):Vt))})}(n.paramsInheritanceStrategy,this.environmentInjector),Ve({next:()=>d=!0,complete:()=>{d||this.cancelNavigationTransition(c,"",2)}}))}),Ve(c=>{const d=new Ek(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(d)}))}),Yf(l=>{const c=d=>{const f=[];d.routeConfig?.loadComponent&&!d.routeConfig._loadedComponent&&f.push(this.configLoader.loadComponent(d.routeConfig).pipe(Ve(h=>{d.component=h}),G(()=>{})));for(const h of d.children)f.push(...c(h));return f};return Af(c(l.targetSnapshot.root)).pipe(gu(),go(1))}),Yf(()=>this.afterPreactivation()),G(l=>{const c=function Pk(e,t,r){const n=Xi(e,t._root,r?r._root:void 0);return new lw(n,t)}(n.routeReuseStrategy,l.targetSnapshot,l.currentRouterState);return this.currentTransition=s={...l,targetRouterState:c},s}),Ve(()=>{this.events.next(new Lf)}),((e,t,r,n)=>G(o=>(new zk(t,o.targetRouterState,o.currentRouterState,r,n).activate(e),o)))(this.rootContexts,n.routeReuseStrategy,l=>this.events.next(l),this.inputBindingEnabled),go(1),Ve({next:l=>{a=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Ln(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects))),n.titleStrategy?.updateTitle(l.targetRouterState.snapshot),l.resolve(!0)},complete:()=>{a=!0}}),function GF(e){return Ce((t,r)=>{rt(e).subscribe(_e(r,()=>r.complete(),Qu)),!r.closed&&t.subscribe(r)})}(this.transitionAbortSubject.pipe(Ve(l=>{throw l}))),Hi(()=>{a||u||this.cancelNavigationTransition(s,"",1),this.currentNavigation?.id===s.id&&(this.currentNavigation=null)}),cr(l=>{if(u=!0,vw(l))this.events.next(new Yi(s.id,this.urlSerializer.serialize(s.extractedUrl),l.message,l.cancellationCode)),function Lk(e){return vw(e)&&fr(e.url)}(l)?this.events.next(new Vf(l.url)):s.resolve(!1);else{this.events.next(new Eu(s.id,this.urlSerializer.serialize(s.extractedUrl),l,s.targetSnapshot??void 0));try{s.resolve(n.errorHandler(l))}catch(c){s.reject(c)}}return Vt}))}))}cancelNavigationTransition(n,o,i){const s=new Yi(n.id,this.urlSerializer.serialize(n.extractedUrl),o,i);this.events.next(s),n.resolve(!1)}}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();function Nw(e){return e!==Zi}let Rw=(()=>{var e;class t{buildTitle(n){let o,i=n.root;for(;void 0!==i;)o=this.getResolvedTitleForRoute(i)??o,i=i.children.find(s=>s.outlet===V);return o}getResolvedTitleForRoute(n){return n.data[$i]}}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275prov=A({token:e,factory:function(){return E(OL)},providedIn:"root"}),t})(),OL=(()=>{var e;class t extends Rw{constructor(n){super(),this.title=n}updateTitle(n){const o=this.buildTitle(n);void 0!==o&&this.title.setTitle(o)}}return(e=t).\u0275fac=function(n){return new(n||e)(S(NC))},e.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"}),t})(),PL=(()=>{var e;class t{}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275prov=A({token:e,factory:function(){return E(kL)},providedIn:"root"}),t})();class FL{shouldDetach(t){return!1}store(t,r){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,r){return t.routeConfig===r.routeConfig}}let kL=(()=>{var e;class t extends FL{}return(e=t).\u0275fac=function(){let r;return function(o){return(r||(r=xe(e)))(o||e)}}(),e.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();const Ru=new b("",{providedIn:"root",factory:()=>({})});let LL=(()=>{var e;class t{}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275prov=A({token:e,factory:function(){return E(VL)},providedIn:"root"}),t})(),VL=(()=>{var e;class t{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,o){return n}}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();var ns=function(e){return e[e.COMPLETE=0]="COMPLETE",e[e.FAILED=1]="FAILED",e[e.REDIRECTING=2]="REDIRECTING",e}(ns||{});function xw(e,t){e.events.pipe(_n(r=>r instanceof Ln||r instanceof Yi||r instanceof Eu||r instanceof _o),G(r=>r instanceof Ln||r instanceof _o?ns.COMPLETE:r instanceof Yi&&(0===r.code||1===r.code)?ns.REDIRECTING:ns.FAILED),_n(r=>r!==ns.REDIRECTING),go(1)).subscribe(()=>{t()})}function jL(e){throw e}function BL(e,t,r){return t.parse("/")}const HL={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},$L={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let bt=(()=>{var e;class t{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.location.getState()?.\u0275routerPageId??this.currentPageId}get events(){return this._events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=E(uD),this.isNgZoneEnabled=!1,this._events=new It,this.options=E(Ru,{optional:!0})||{},this.pendingTasks=E(Ua),this.errorHandler=this.options.errorHandler||jL,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||BL,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=E(LL),this.routeReuseStrategy=E(PL),this.titleStrategy=E(Rw),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.config=E(bo,{optional:!0})?.flat()??[],this.navigationTransitions=E(Nu),this.urlSerializer=E(zi),this.location=E(tf),this.componentInputBindingEnabled=!!E(Iu,{optional:!0}),this.eventsSubscription=new nt,this.isNgZoneEnabled=E(ie)instanceof ie&&ie.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new yo,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=cw(0,null),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe(n=>{this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId},n=>{this.console.warn(`Unhandled Navigation Error: ${n}`)}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const n=this.navigationTransitions.events.subscribe(o=>{try{const{currentTransition:i}=this.navigationTransitions;if(null===i)return void(Ow(o)&&this._events.next(o));if(o instanceof wu)Nw(i.source)&&(this.browserUrlTree=i.extractedUrl);else if(o instanceof _o)this.rawUrlTree=i.rawUrl;else if(o instanceof sw){if("eager"===this.urlUpdateStrategy){if(!i.extras.skipLocationChange){const s=this.urlHandlingStrategy.merge(i.urlAfterRedirects,i.rawUrl);this.setBrowserUrl(s,i)}this.browserUrlTree=i.urlAfterRedirects}}else if(o instanceof Lf)this.currentUrlTree=i.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(i.urlAfterRedirects,i.rawUrl),this.routerState=i.targetRouterState,"deferred"===this.urlUpdateStrategy&&(i.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,i),this.browserUrlTree=i.urlAfterRedirects);else if(o instanceof Yi)0!==o.code&&1!==o.code&&(this.navigated=!0),(3===o.code||2===o.code)&&this.restoreHistory(i);else if(o instanceof Vf){const s=this.urlHandlingStrategy.merge(o.url,i.currentRawUrl),a={skipLocationChange:i.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||Nw(i.source)};this.scheduleNavigation(s,Zi,null,a,{resolve:i.resolve,reject:i.reject,promise:i.promise})}o instanceof Eu&&this.restoreHistory(i,!0),o instanceof Ln&&(this.navigated=!0),Ow(o)&&this._events.next(o)}catch(i){this.navigationTransitions.transitionAbortSubject.next(i)}});this.eventsSubscription.add(n)}resetRootComponentType(n){this.routerState.root.component=n,this.navigationTransitions.rootComponentType=n}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){const n=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),Zi,n)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(n=>{const o="popstate"===n.type?"popstate":"hashchange";"popstate"===o&&setTimeout(()=>{this.navigateToSyncWithBrowser(n.url,o,n.state)},0)}))}navigateToSyncWithBrowser(n,o,i){const s={replaceUrl:!0},a=i?.navigationId?i:null;if(i){const l={...i};delete l.navigationId,delete l.\u0275routerPageId,0!==Object.keys(l).length&&(s.state=l)}const u=this.parseUrl(n);this.scheduleNavigation(u,o,a,s)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(n){this.config=n.map(qf),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(n,o={}){const{relativeTo:i,queryParams:s,fragment:a,queryParamsHandling:u,preserveFragment:l}=o,c=l?this.currentUrlTree.fragment:a;let f,d=null;switch(u){case"merge":d={...this.currentUrlTree.queryParams,...s};break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=s||null}null!==d&&(d=this.removeEmptyProps(d));try{f=KC(i?i.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof n[0]||!n[0].startsWith("/"))&&(n=[]),f=this.currentUrlTree.root}return ew(f,n,d,c??null)}navigateByUrl(n,o={skipLocationChange:!1}){const i=fr(n)?n:this.parseUrl(n),s=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(s,Zi,null,o)}navigate(n,o={skipLocationChange:!1}){return function UL(e){for(let t=0;t{const s=n[i];return null!=s&&(o[i]=s),o},{})}scheduleNavigation(n,o,i,s,a){if(this.disposed)return Promise.resolve(!1);let u,l,c;a?(u=a.resolve,l=a.reject,c=a.promise):c=new Promise((f,h)=>{u=f,l=h});const d=this.pendingTasks.add();return xw(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(d))}),this.navigationTransitions.handleNavigationRequest({source:o,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,currentBrowserUrl:this.browserUrlTree,rawUrl:n,extras:s,resolve:u,reject:l,promise:c,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),c.catch(f=>Promise.reject(f))}setBrowserUrl(n,o){const i=this.urlSerializer.serialize(n);if(this.location.isCurrentPathEqualTo(i)||o.extras.replaceUrl){const a={...o.extras.state,...this.generateNgRouterState(o.id,this.browserPageId)};this.location.replaceState(i,"",a)}else{const s={...o.extras.state,...this.generateNgRouterState(o.id,this.browserPageId+1)};this.location.go(i,"",s)}}restoreHistory(n,o=!1){if("computed"===this.canceledNavigationResolution){const s=this.currentPageId-this.browserPageId;0!==s?this.location.historyGo(s):this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===s&&(this.resetState(n),this.browserUrlTree=n.currentUrlTree,this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(o&&this.resetState(n),this.resetUrlToCurrentUrlTree())}resetState(n){this.routerState=n.currentRouterState,this.currentUrlTree=n.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(n,o){return"computed"===this.canceledNavigationResolution?{navigationId:n,\u0275routerPageId:o}:{navigationId:n}}}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();function Ow(e){return!(e instanceof Lf||e instanceof Vf)}let Io=(()=>{var e;class t{constructor(n,o,i,s,a,u){this.router=n,this.route=o,this.tabIndexAttribute=i,this.renderer=s,this.el=a,this.locationStrategy=u,this.href=null,this.commands=null,this.onChanges=new It,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const l=a.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===l||"area"===l,this.isAnchorElement?this.subscription=n.events.subscribe(c=>{c instanceof Ln&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(n){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",n)}ngOnChanges(n){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(n){null!=n?(this.commands=Array.isArray(n)?n:[n],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(n,o,i,s,a){return!!(null===this.urlTree||this.isAnchorElement&&(0!==n||o||i||s||a||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=null!==this.urlTree&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;const n=null===this.href?null:function gm(e,t,r){return function b0(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?pm:hm}(t,r)(e)}(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",n)}applyAttributeValue(n,o){const i=this.renderer,s=this.el.nativeElement;null!==o?i.setAttribute(s,n,o):i.removeAttribute(s,n)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}}return(e=t).\u0275fac=function(n){return new(n||e)(C(bt),C(hr),function $s(e){return function UM(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const r=e.attrs;if(r){const n=r.length;let o=0;for(;o{var e;class t{constructor(n,o,i,s,a){this.router=n,this.injector=i,this.preloadingStrategy=s,this.loader=a}setUpPreloading(){this.subscription=this.router.events.pipe(_n(n=>n instanceof Ln),mo(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(n,o){const i=[];for(const s of o){s.providers&&!s._injector&&(s._injector=Ed(s.providers,n,`Route: ${s.path}`));const a=s._injector??n,u=s._loadedInjector??a;(s.loadChildren&&!s._loadedRoutes&&void 0===s.canLoad||s.loadComponent&&!s._loadedComponent)&&i.push(this.preloadConfig(a,s)),(s.children||s._loadedRoutes)&&i.push(this.processRoutes(u,s.children??s._loadedRoutes))}return we(i).pipe(yr())}preloadConfig(n,o){return this.preloadingStrategy.preload(o,()=>{let i;i=o.loadChildren&&void 0===o.canLoad?this.loader.loadChildren(n,o):T(null);const s=i.pipe(Se(a=>null===a?T(void 0):(o._loadedRoutes=a.routes,o._loadedInjector=a.injector,this.processRoutes(a.injector??n,a.routes))));return o.loadComponent&&!o._loadedComponent?we([s,this.loader.loadComponent(o)]).pipe(yr()):s})}}return(e=t).\u0275fac=function(n){return new(n||e)(S(bt),S(lD),S(ut),S(Pw),S(Qf))},e.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();const Xf=new b("");let Fw=(()=>{var e;class t{constructor(n,o,i,s,a={}){this.urlSerializer=n,this.transitions=o,this.viewportScroller=i,this.zone=s,this.options=a,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},a.scrollPositionRestoration=a.scrollPositionRestoration||"disabled",a.anchorScrolling=a.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 wu?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=n.navigationTrigger,this.restoredId=n.restoredState?n.restoredState.navigationId:0):n instanceof Ln?(this.lastId=n.id,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.urlAfterRedirects).fragment)):n instanceof _o&&0===n.code&&(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 aw&&(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,o){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new aw(n,"popstate"===this.lastSource?this.store[this.restoredId]:null,o))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}}return(e=t).\u0275fac=function(n){!function ev(){throw new Error("invalid")}()},e.\u0275prov=A({token:e,factory:e.\u0275fac}),t})();function Cn(e,t){return{\u0275kind:e,\u0275providers:t}}function Lw(){const e=E(ct);return t=>{const r=e.get(fo);if(t!==r.components[0])return;const n=e.get(bt),o=e.get(Vw);1===e.get(Jf)&&n.initialNavigation(),e.get(jw,null,B.Optional)?.setUpPreloading(),e.get(Xf,null,B.Optional)?.init(),n.resetRootComponentType(r.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}const Vw=new b("",{factory:()=>new It}),Jf=new b("",{providedIn:"root",factory:()=>1}),jw=new b("");function QL(e){return Cn(0,[{provide:jw,useExisting:qL},{provide:Pw,useExisting:e}])}const Bw=new b("ROUTER_FORROOT_GUARD"),JL=[tf,{provide:zi,useClass:xf},bt,Qi,{provide:hr,useFactory:function kw(e){return e.routerState.root},deps:[bt]},Qf,[]];function KL(){return new mD("Router",bt)}let eV=(()=>{var e;class t{constructor(n){}static forRoot(n,o){return{ngModule:t,providers:[JL,[],{provide:bo,multi:!0,useValue:n},{provide:Bw,useFactory:oV,deps:[[bt,new Gs,new qs]]},{provide:Ru,useValue:o||{}},o?.useHash?{provide:ur,useClass:f1}:{provide:ur,useClass:qD},{provide:Xf,useFactory:()=>{const e=E(TP),t=E(ie),r=E(Ru),n=E(Nu),o=E(zi);return r.scrollOffset&&e.setOffset(r.scrollOffset),new Fw(o,n,e,t,r)}},o?.preloadingStrategy?QL(o.preloadingStrategy).\u0275providers:[],{provide:mD,multi:!0,useFactory:KL},o?.initialNavigation?iV(o):[],o?.bindToComponentInputs?Cn(8,[pw,{provide:Iu,useExisting:pw}]).\u0275providers:[],[{provide:Hw,useFactory:Lw},{provide:Gd,multi:!0,useExisting:Hw}]]}}static forChild(n){return{ngModule:t,providers:[{provide:bo,multi:!0,useValue:n}]}}}return(e=t).\u0275fac=function(n){return new(n||e)(S(Bw,8))},e.\u0275mod=Bt({type:e}),e.\u0275inj=St({}),t})();function oV(e){return"guarded"}function iV(e){return["disabled"===e.initialNavigation?Cn(3,[{provide:Ld,multi:!0,useFactory:()=>{const t=E(bt);return()=>{t.setUpLocationChangeListener()}}},{provide:Jf,useValue:2}]).\u0275providers:[],"enabledBlocking"===e.initialNavigation?Cn(2,[{provide:Jf,useValue:0},{provide:Ld,multi:!0,deps:[ct],useFactory:t=>{const r=t.get(c1,Promise.resolve());return()=>r.then(()=>new Promise(n=>{const o=t.get(bt),i=t.get(Vw);xw(o,()=>{n(!0)}),t.get(Nu).afterPreactivation=()=>(n(!0),i.closed?T(void 0):i),o.initialNavigation()}))}}]).\u0275providers:[]]}const Hw=new b("");let $w=(()=>{var e;class t{constructor(n,o){this._renderer=n,this._elementRef=o,this.onChange=i=>{},this.onTouched=()=>{}}setProperty(n,o){this._renderer.setProperty(this._elementRef.nativeElement,n,o)}registerOnTouched(n){this.onTouched=n}registerOnChange(n){this.onChange=n}setDisabledState(n){this.setProperty("disabled",n)}}return(e=t).\u0275fac=function(n){return new(n||e)(C(dn),C(lt))},e.\u0275dir=O({type:e}),t})(),pr=(()=>{var e;class t extends $w{}return(e=t).\u0275fac=function(){let r;return function(o){return(r||(r=xe(e)))(o||e)}}(),e.\u0275dir=O({type:e,features:[X]}),t})();const en=new b("NgValueAccessor"),lV={provide:en,useExisting:ne(()=>xu),multi:!0},dV=new b("CompositionEventMode");let xu=(()=>{var e;class t extends $w{constructor(n,o,i){super(n,o),this._compositionMode=i,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function cV(){const e=Pn()?Pn().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(n){this.setProperty("value",n??"")}_handleInput(n){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(n)}_compositionStart(){this._composing=!0}_compositionEnd(n){this._composing=!1,this._compositionMode&&this.onChange(n)}}return(e=t).\u0275fac=function(n){return new(n||e)(C(dn),C(lt),C(dV,8))},e.\u0275dir=O({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(n,o){1&n&&Oe("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:[ce([lV]),X]}),t})();const je=new b("NgValidators"),jn=new b("NgAsyncValidators");function Kw(e){return null!=e}function eE(e){return wi(e)?we(e):e}function tE(e){let t={};return e.forEach(r=>{t=null!=r?{...t,...r}:t}),0===Object.keys(t).length?null:t}function nE(e,t){return t.map(r=>r(e))}function rE(e){return e.map(t=>function hV(e){return!e.validate}(t)?t:r=>t.validate(r))}function Kf(e){return null!=e?function oE(e){if(!e)return null;const t=e.filter(Kw);return 0==t.length?null:function(r){return tE(nE(r,t))}}(rE(e)):null}function eh(e){return null!=e?function iE(e){if(!e)return null;const t=e.filter(Kw);return 0==t.length?null:function(r){return function aV(...e){const t=Gh(e),{args:r,keys:n}=PC(e),o=new ge(i=>{const{length:s}=r;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(n?kC(n,a):a),i.complete())}))}});return t?o.pipe(FC(t)):o}(nE(r,t).map(eE)).pipe(G(tE))}}(rE(e)):null}function sE(e,t){return null===e?[t]:Array.isArray(e)?[...e,t]:[e,t]}function aE(e){return e._rawValidators}function uE(e){return e._rawAsyncValidators}function th(e){return e?Array.isArray(e)?e:[e]:[]}function Pu(e,t){return Array.isArray(e)?e.includes(t):e===t}function lE(e,t){const r=th(t);return th(e).forEach(o=>{Pu(r,o)||r.push(o)}),r}function cE(e,t){return th(t).filter(r=>!Pu(e,r))}class dE{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=Kf(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=eh(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,r){return!!this.control&&this.control.hasError(t,r)}getError(t,r){return this.control?this.control.getError(t,r):null}}class Ze extends dE{get formDirective(){return null}get path(){return null}}class Bn extends dE{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class fE{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 hE=(()=>{var e;class t extends fE{constructor(n){super(n)}}return(e=t).\u0275fac=function(n){return new(n||e)(C(Bn,2))},e.\u0275dir=O({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(n,o){2&n&&Oa("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:[X]}),t})(),pE=(()=>{var e;class t extends fE{constructor(n){super(n)}}return(e=t).\u0275fac=function(n){return new(n||e)(C(Ze,10))},e.\u0275dir=O({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(n,o){2&n&&Oa("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)("ng-submitted",o.isSubmitted)},features:[X]}),t})();const rs="VALID",ku="INVALID",Mo="PENDING",os="DISABLED";function oh(e){return(Lu(e)?e.validators:e)||null}function ih(e,t){return(Lu(t)?t.asyncValidators:e)||null}function Lu(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}function mE(e,t,r){const n=e.controls;if(!(t?Object.keys(n):n).length)throw new D(1e3,"");if(!n[r])throw new D(1001,"")}function vE(e,t,r){e._forEachChild((n,o)=>{if(void 0===r[o])throw new D(1002,"")})}class Vu{constructor(t,r){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(r)}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===rs}get invalid(){return this.status===ku}get pending(){return this.status==Mo}get disabled(){return this.status===os}get enabled(){return this.status!==os}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(lE(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(lE(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(cE(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(cE(t,this._rawAsyncValidators))}hasValidator(t){return Pu(this._rawValidators,t)}hasAsyncValidator(t){return Pu(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(r=>{r.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(r=>{r.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}markAsPending(t={}){this.status=Mo,!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}disable(t={}){const r=this._parentMarkedDirty(t.onlySelf);this.status=os,this.errors=null,this._forEachChild(n=>{n.disable({...t,onlySelf:!0})}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...t,skipPristineCheck:r}),this._onDisabledChange.forEach(n=>n(!0))}enable(t={}){const r=this._parentMarkedDirty(t.onlySelf);this.status=rs,this._forEachChild(n=>{n.enable({...t,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors({...t,skipPristineCheck:r}),this._onDisabledChange.forEach(n=>n(!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===rs||this.status===Mo)&&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(r=>r._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?os:rs}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=Mo,this._hasOwnPendingAsyncValidator=!0;const r=eE(this.asyncValidator(this));this._asyncValidationSubscription=r.subscribe(n=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(n,{emitEvent:t})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(t,r={}){this.errors=t,this._updateControlsErrors(!1!==r.emitEvent)}get(t){let r=t;return null==r||(Array.isArray(r)||(r=r.split(".")),0===r.length)?null:r.reduce((n,o)=>n&&n._find(o),this)}getError(t,r){const n=r?this.get(r):this;return n&&n.errors?n.errors[t]:null}hasError(t,r){return!!this.getError(t,r)}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 fe,this.statusChanges=new fe}_calculateStatus(){return this._allControlsDisabled()?os:this.errors?ku:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Mo)?Mo:this._anyControlsHaveStatus(ku)?ku:rs}_anyControlsHaveStatus(t){return this._anyControls(r=>r.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){Lu(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 vV(e){return Array.isArray(e)?Kf(e):e||null}(this._rawValidators)}_assignAsyncValidators(t){this._rawAsyncValidators=Array.isArray(t)?t.slice():t,this._composedAsyncValidatorFn=function yV(e){return Array.isArray(e)?eh(e):e||null}(this._rawAsyncValidators)}}class is extends Vu{constructor(t,r,n){super(oh(r),ih(n,r)),this.controls=t,this._initObservables(),this._setUpdateStrategy(r),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(t,r){return this.controls[t]?this.controls[t]:(this.controls[t]=r,r.setParent(this),r._registerOnCollectionChange(this._onCollectionChange),r)}addControl(t,r,n={}){this.registerControl(t,r),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}removeControl(t,r={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}setControl(t,r,n={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],r&&this.registerControl(t,r),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,r={}){vE(this,0,t),Object.keys(t).forEach(n=>{mE(this,!0,n),this.controls[n].setValue(t[n],{onlySelf:!0,emitEvent:r.emitEvent})}),this.updateValueAndValidity(r)}patchValue(t,r={}){null!=t&&(Object.keys(t).forEach(n=>{const o=this.controls[n];o&&o.patchValue(t[n],{onlySelf:!0,emitEvent:r.emitEvent})}),this.updateValueAndValidity(r))}reset(t={},r={}){this._forEachChild((n,o)=>{n.reset(t[o],{onlySelf:!0,emitEvent:r.emitEvent})}),this._updatePristine(r),this._updateTouched(r),this.updateValueAndValidity(r)}getRawValue(){return this._reduceChildren({},(t,r,n)=>(t[n]=r.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(r,n)=>!!n._syncPendingControls()||r);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){Object.keys(this.controls).forEach(r=>{const n=this.controls[r];n&&t(n,r)})}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(const[r,n]of Object.entries(this.controls))if(this.contains(r)&&t(n))return!0;return!1}_reduceValue(){return this._reduceChildren({},(r,n,o)=>((n.enabled||this.disabled)&&(r[o]=n.value),r))}_reduceChildren(t,r){let n=t;return this._forEachChild((o,i)=>{n=r(n,o,i)}),n}_allControlsDisabled(){for(const t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(t){return this.controls.hasOwnProperty(t)?this.controls[t]:null}}class yE extends is{}const So=new b("CallSetDisabledState",{providedIn:"root",factory:()=>ju}),ju="always";function ss(e,t,r=ju){sh(e,t),t.valueAccessor.writeValue(e.value),(e.disabled||"always"===r)&&t.valueAccessor.setDisabledState?.(e.disabled),function DV(e,t){t.valueAccessor.registerOnChange(r=>{e._pendingValue=r,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&_E(e,t)})}(e,t),function wV(e,t){const r=(n,o)=>{t.valueAccessor.writeValue(n),o&&t.viewToModelUpdate(n)};e.registerOnChange(r),t._registerOnDestroy(()=>{e._unregisterOnChange(r)})}(e,t),function CV(e,t){t.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&_E(e,t),"submit"!==e.updateOn&&e.markAsTouched()})}(e,t),function _V(e,t){if(t.valueAccessor.setDisabledState){const r=n=>{t.valueAccessor.setDisabledState(n)};e.registerOnDisabledChange(r),t._registerOnDestroy(()=>{e._unregisterOnDisabledChange(r)})}}(e,t)}function Hu(e,t,r=!0){const n=()=>{};t.valueAccessor&&(t.valueAccessor.registerOnChange(n),t.valueAccessor.registerOnTouched(n)),Uu(e,t),e&&(t._invokeOnDestroyCallbacks(),e._registerOnCollectionChange(()=>{}))}function $u(e,t){e.forEach(r=>{r.registerOnValidatorChange&&r.registerOnValidatorChange(t)})}function sh(e,t){const r=aE(e);null!==t.validator?e.setValidators(sE(r,t.validator)):"function"==typeof r&&e.setValidators([r]);const n=uE(e);null!==t.asyncValidator?e.setAsyncValidators(sE(n,t.asyncValidator)):"function"==typeof n&&e.setAsyncValidators([n]);const o=()=>e.updateValueAndValidity();$u(t._rawValidators,o),$u(t._rawAsyncValidators,o)}function Uu(e,t){let r=!1;if(null!==e){if(null!==t.validator){const o=aE(e);if(Array.isArray(o)&&o.length>0){const i=o.filter(s=>s!==t.validator);i.length!==o.length&&(r=!0,e.setValidators(i))}}if(null!==t.asyncValidator){const o=uE(e);if(Array.isArray(o)&&o.length>0){const i=o.filter(s=>s!==t.asyncValidator);i.length!==o.length&&(r=!0,e.setAsyncValidators(i))}}}const n=()=>{};return $u(t._rawValidators,n),$u(t._rawAsyncValidators,n),r}function _E(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function wE(e,t){const r=e.indexOf(t);r>-1&&e.splice(r,1)}function EE(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}const us=class extends Vu{constructor(t=null,r,n){super(oh(r),ih(n,r)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(t),this._setUpdateStrategy(r),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Lu(r)&&(r.nonNullable||r.initialValueIsDefault)&&(this.defaultValue=EE(t)?t.value:t)}setValue(t,r={}){this.value=this._pendingValue=t,this._onChange.length&&!1!==r.emitModelToViewChange&&this._onChange.forEach(n=>n(this.value,!1!==r.emitViewToModelChange)),this.updateValueAndValidity(r)}patchValue(t,r={}){this.setValue(t,r)}reset(t=this.defaultValue,r={}){this._applyFormState(t),this.markAsPristine(r),this.markAsUntouched(r),this.setValue(this.value,r),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){wE(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){wE(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){EE(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}};let AE=(()=>{var e;class t{}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275dir=O({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),t})(),NE=(()=>{var e;class t{}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275mod=Bt({type:e}),e.\u0275inj=St({}),t})();const dh=new b("NgModelWithFormControlWarning"),kV={provide:Ze,useExisting:ne(()=>zu)};let zu=(()=>{var e;class t extends Ze{constructor(n,o,i){super(),this.callSetDisabledState=i,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new fe,this._setValidators(n),this._setAsyncValidators(o)}ngOnChanges(n){this._checkFormPresent(),n.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Uu(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(n){const o=this.form.get(n.path);return ss(o,n,this.callSetDisabledState),o.updateValueAndValidity({emitEvent:!1}),this.directives.push(n),o}getControl(n){return this.form.get(n.path)}removeControl(n){Hu(n.control||null,n,!1),function MV(e,t){const r=e.indexOf(t);r>-1&&e.splice(r,1)}(this.directives,n)}addFormGroup(n){this._setUpFormContainer(n)}removeFormGroup(n){this._cleanUpFormContainer(n)}getFormGroup(n){return this.form.get(n.path)}addFormArray(n){this._setUpFormContainer(n)}removeFormArray(n){this._cleanUpFormContainer(n)}getFormArray(n){return this.form.get(n.path)}updateModel(n,o){this.form.get(n.path).setValue(o)}onSubmit(n){return this.submitted=!0,function CE(e,t){e._syncPendingControls(),t.forEach(r=>{const n=r.control;"submit"===n.updateOn&&n._pendingChange&&(r.viewToModelUpdate(n._pendingValue),n._pendingChange=!1)})}(this.form,this.directives),this.ngSubmit.emit(n),"dialog"===n?.target?.method}onReset(){this.resetForm()}resetForm(n=void 0){this.form.reset(n),this.submitted=!1}_updateDomValue(){this.directives.forEach(n=>{const o=n.control,i=this.form.get(n.path);o!==i&&(Hu(o||null,n),(e=>e instanceof us)(i)&&(ss(i,n,this.callSetDisabledState),n.control=i))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(n){const o=this.form.get(n.path);(function DE(e,t){sh(e,t)})(o,n),o.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(n){if(this.form){const o=this.form.get(n.path);o&&function EV(e,t){return Uu(e,t)}(o,n)&&o.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){sh(this.form,this),this._oldForm&&Uu(this._oldForm,this)}_checkFormPresent(){}}return(e=t).\u0275fac=function(n){return new(n||e)(C(je,10),C(jn,10),C(So,8))},e.\u0275dir=O({type:e,selectors:[["","formGroup",""]],hostBindings:function(n,o){1&n&&Oe("submit",function(s){return o.onSubmit(s)})("reset",function(){return o.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[ce([kV]),X,yt]}),t})();const jV={provide:Bn,useExisting:ne(()=>ph)};let ph=(()=>{var e;class t extends Bn{set isDisabled(n){}constructor(n,o,i,s,a){super(),this._ngModelWarningConfig=a,this._added=!1,this.name=null,this.update=new fe,this._ngModelWarningSent=!1,this._parent=n,this._setValidators(o),this._setAsyncValidators(i),this.valueAccessor=function lh(e,t){if(!t)return null;let r,n,o;return Array.isArray(t),t.forEach(i=>{i.constructor===xu?r=i:function IV(e){return Object.getPrototypeOf(e.constructor)===pr}(i)?n=i:o=i}),o||n||r||null}(0,s)}ngOnChanges(n){this._added||this._setUpControl(),function uh(e,t){if(!e.hasOwnProperty("model"))return!1;const r=e.model;return!!r.isFirstChange()||!Object.is(t,r.currentValue)}(n,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(n){this.viewModel=n,this.update.emit(n)}get path(){return function Bu(e,t){return[...t.path,e]}(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}}return(e=t)._ngModelWarningSentOnce=!1,e.\u0275fac=function(n){return new(n||e)(C(Ze,13),C(je,10),C(jn,10),C(en,10),C(dh,8))},e.\u0275dir=O({type:e,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[ce([jV]),X,yt]}),t})(),ej=(()=>{var e;class t{}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275mod=Bt({type:e}),e.\u0275inj=St({imports:[NE]}),t})();class qE extends Vu{constructor(t,r,n){super(oh(r),ih(n,r)),this.controls=t,this._initObservables(),this._setUpdateStrategy(r),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(t){return this.controls[this._adjustIndex(t)]}push(t,r={}){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}insert(t,r,n={}){this.controls.splice(t,0,r),this._registerControl(r),this.updateValueAndValidity({emitEvent:n.emitEvent})}removeAt(t,r={}){let n=this._adjustIndex(t);n<0&&(n=0),this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),this.controls.splice(n,1),this.updateValueAndValidity({emitEvent:r.emitEvent})}setControl(t,r,n={}){let o=this._adjustIndex(t);o<0&&(o=0),this.controls[o]&&this.controls[o]._registerOnCollectionChange(()=>{}),this.controls.splice(o,1),r&&(this.controls.splice(o,0,r),this._registerControl(r)),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(t,r={}){vE(this,0,t),t.forEach((n,o)=>{mE(this,!1,o),this.at(o).setValue(n,{onlySelf:!0,emitEvent:r.emitEvent})}),this.updateValueAndValidity(r)}patchValue(t,r={}){null!=t&&(t.forEach((n,o)=>{this.at(o)&&this.at(o).patchValue(n,{onlySelf:!0,emitEvent:r.emitEvent})}),this.updateValueAndValidity(r))}reset(t=[],r={}){this._forEachChild((n,o)=>{n.reset(t[o],{onlySelf:!0,emitEvent:r.emitEvent})}),this._updatePristine(r),this._updateTouched(r),this.updateValueAndValidity(r)}getRawValue(){return this.controls.map(t=>t.getRawValue())}clear(t={}){this.controls.length<1||(this._forEachChild(r=>r._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:t.emitEvent}))}_adjustIndex(t){return t<0?t+this.length:t}_syncPendingControls(){let t=this.controls.reduce((r,n)=>!!n._syncPendingControls()||r,!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){this.controls.forEach((r,n)=>{t(r,n)})}_updateValue(){this.value=this.controls.filter(t=>t.enabled||this.disabled).map(t=>t.value)}_anyControls(t){return this.controls.some(r=>r.enabled&&t(r))}_setUpControls(){this._forEachChild(t=>this._registerControl(t))}_allControlsDisabled(){for(const t of this.controls)if(t.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)}_find(t){return this.at(t)??null}}function WE(e){return!!e&&(void 0!==e.asyncValidators||void 0!==e.validators||void 0!==e.updateOn)}let tj=(()=>{var e;class t{constructor(){this.useNonNullable=!1}get nonNullable(){const n=new t;return n.useNonNullable=!0,n}group(n,o=null){const i=this._reduceControls(n);let s={};return WE(o)?s=o:null!==o&&(s.validators=o.validator,s.asyncValidators=o.asyncValidator),new is(i,s)}record(n,o=null){const i=this._reduceControls(n);return new yE(i,o)}control(n,o,i){let s={};return this.useNonNullable?(WE(o)?s=o:(s.validators=o,s.asyncValidators=i),new us(n,{...s,nonNullable:!0})):new us(n,o,i)}array(n,o,i){const s=n.map(a=>this._createControl(a));return new qE(s,o,i)}_reduceControls(n){const o={};return Object.keys(n).forEach(i=>{o[i]=this._createControl(n[i])}),o}_createControl(n){return n instanceof us||n instanceof Vu?n:Array.isArray(n)?this.control(n[0],n.length>1?n[1]:null,n.length>2?n[2]:null):this.control(n)}}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"}),t})(),nj=(()=>{var e;class t{static withConfig(n){return{ngModule:t,providers:[{provide:dh,useValue:n.warnOnNgModelWithFormControl??"always"},{provide:So,useValue:n.callSetDisabledState??ju}]}}}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275mod=Bt({type:e}),e.\u0275inj=St({imports:[ej]}),t})();class Gu{}class qu{}class tn{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?"string"==typeof t?this.lazyInit=()=>{this.headers=new Map,t.split("\n").forEach(r=>{const n=r.indexOf(":");if(n>0){const o=r.slice(0,n),i=o.toLowerCase(),s=r.slice(n+1).trim();this.maybeSetNormalizedName(o,i),this.headers.has(i)?this.headers.get(i).push(s):this.headers.set(i,[s])}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((r,n)=>{this.setHeaderEntries(n,r)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([r,n])=>{this.setHeaderEntries(r,n)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();const r=this.headers.get(t.toLowerCase());return r&&r.length>0?r[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,r){return this.clone({name:t,value:r,op:"a"})}set(t,r){return this.clone({name:t,value:r,op:"s"})}delete(t,r){return this.clone({name:t,value:r,op:"d"})}maybeSetNormalizedName(t,r){this.normalizedNames.has(r)||this.normalizedNames.set(r,t)}init(){this.lazyInit&&(this.lazyInit instanceof tn?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(r=>{this.headers.set(r,t.headers.get(r)),this.normalizedNames.set(r,t.normalizedNames.get(r))})}clone(t){const r=new tn;return r.lazyInit=this.lazyInit&&this.lazyInit instanceof tn?this.lazyInit:this,r.lazyUpdate=(this.lazyUpdate||[]).concat([t]),r}applyUpdate(t){const r=t.name.toLowerCase();switch(t.op){case"a":case"s":let n=t.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(t.name,r);const o=("a"===t.op?this.headers.get(r):void 0)||[];o.push(...n),this.headers.set(r,o);break;case"d":const i=t.value;if(i){let s=this.headers.get(r);if(!s)return;s=s.filter(a=>-1===i.indexOf(a)),0===s.length?(this.headers.delete(r),this.normalizedNames.delete(r)):this.headers.set(r,s)}else this.headers.delete(r),this.normalizedNames.delete(r)}}setHeaderEntries(t,r){const n=(Array.isArray(r)?r:[r]).map(i=>i.toString()),o=t.toLowerCase();this.headers.set(o,n),this.maybeSetNormalizedName(t,o)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(r=>t(this.normalizedNames.get(r),this.headers.get(r)))}}class rj{encodeKey(t){return ZE(t)}encodeValue(t){return ZE(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}const ij=/%(\d[a-f0-9])/gi,sj={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function ZE(e){return encodeURIComponent(e).replace(ij,(t,r)=>sj[r]??t)}function Wu(e){return`${e}`}class Hn{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new rj,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function oj(e,t){const r=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(o=>{const i=o.indexOf("="),[s,a]=-1==i?[t.decodeKey(o),""]:[t.decodeKey(o.slice(0,i)),t.decodeValue(o.slice(i+1))],u=r.get(s)||[];u.push(a),r.set(s,u)}),r}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(r=>{const n=t.fromObject[r],o=Array.isArray(n)?n.map(Wu):[Wu(n)];this.map.set(r,o)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();const r=this.map.get(t);return r?r[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,r){return this.clone({param:t,value:r,op:"a"})}appendAll(t){const r=[];return Object.keys(t).forEach(n=>{const o=t[n];Array.isArray(o)?o.forEach(i=>{r.push({param:n,value:i,op:"a"})}):r.push({param:n,value:o,op:"a"})}),this.clone(r)}set(t,r){return this.clone({param:t,value:r,op:"s"})}delete(t,r){return this.clone({param:t,value:r,op:"d"})}toString(){return this.init(),this.keys().map(t=>{const r=this.encoder.encodeKey(t);return this.map.get(t).map(n=>r+"="+this.encoder.encodeValue(n)).join("&")}).filter(t=>""!==t).join("&")}clone(t){const r=new Hn({encoder:this.encoder});return r.cloneFrom=this.cloneFrom||this,r.updates=(this.updates||[]).concat(t),r}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":const r=("a"===t.op?this.map.get(t.param):void 0)||[];r.push(Wu(t.value)),this.map.set(t.param,r);break;case"d":if(void 0===t.value){this.map.delete(t.param);break}{let n=this.map.get(t.param)||[];const o=n.indexOf(Wu(t.value));-1!==o&&n.splice(o,1),n.length>0?this.map.set(t.param,n):this.map.delete(t.param)}}}),this.cloneFrom=this.updates=null)}}class aj{constructor(){this.map=new Map}set(t,r){return this.map.set(t,r),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}}function YE(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function QE(e){return typeof Blob<"u"&&e instanceof Blob}function XE(e){return typeof FormData<"u"&&e instanceof FormData}class ls{constructor(t,r,n,o){let i;if(this.url=r,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function uj(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||o?(this.body=void 0!==n?n:null,i=o):i=n,i&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params)),this.headers||(this.headers=new tn),this.context||(this.context=new aj),this.params){const s=this.params.toString();if(0===s.length)this.urlWithParams=r;else{const a=r.indexOf("?");this.urlWithParams=r+(-1===a?"?":ad.set(f,t.setHeaders[f]),u)),t.setParams&&(l=Object.keys(t.setParams).reduce((d,f)=>d.set(f,t.setParams[f]),l)),new ls(r,n,i,{params:l,headers:u,context:c,reportProgress:a,responseType:o,withCredentials:s})}}var Ao=function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e}(Ao||{});class yh{constructor(t,r=200,n="OK"){this.headers=t.headers||new tn,this.status=void 0!==t.status?t.status:r,this.statusText=t.statusText||n,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}class _h extends yh{constructor(t={}){super(t),this.type=Ao.ResponseHeader}clone(t={}){return new _h({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class To extends yh{constructor(t={}){super(t),this.type=Ao.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new To({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class JE extends yh{constructor(t){super(t,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${t.url||"(unknown url)"}`:`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}}function Dh(e,t){return{body:t,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials}}let KE=(()=>{var e;class t{constructor(n){this.handler=n}request(n,o,i={}){let s;if(n instanceof ls)s=n;else{let l,c;l=i.headers instanceof tn?i.headers:new tn(i.headers),i.params&&(c=i.params instanceof Hn?i.params:new Hn({fromObject:i.params})),s=new ls(n,o,void 0!==i.body?i.body:null,{headers:l,context:i.context,params:c,reportProgress:i.reportProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials})}const a=T(s).pipe(mo(l=>this.handler.handle(l)));if(n instanceof ls||"events"===i.observe)return a;const u=a.pipe(_n(l=>l instanceof To));switch(i.observe||"body"){case"body":switch(s.responseType){case"arraybuffer":return u.pipe(G(l=>{if(null!==l.body&&!(l.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return l.body}));case"blob":return u.pipe(G(l=>{if(null!==l.body&&!(l.body instanceof Blob))throw new Error("Response is not a Blob.");return l.body}));case"text":return u.pipe(G(l=>{if(null!==l.body&&"string"!=typeof l.body)throw new Error("Response is not a string.");return l.body}));default:return u.pipe(G(l=>l.body))}case"response":return u;default:throw new Error(`Unreachable: unhandled observe type ${i.observe}}`)}}delete(n,o={}){return this.request("DELETE",n,o)}get(n,o={}){return this.request("GET",n,o)}head(n,o={}){return this.request("HEAD",n,o)}jsonp(n,o){return this.request("JSONP",n,{params:(new Hn).append(o,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,o={}){return this.request("OPTIONS",n,o)}patch(n,o,i={}){return this.request("PATCH",n,Dh(i,o))}post(n,o,i={}){return this.request("POST",n,Dh(i,o))}put(n,o,i={}){return this.request("PUT",n,Dh(i,o))}}return(e=t).\u0275fac=function(n){return new(n||e)(S(Gu))},e.\u0275prov=A({token:e,factory:e.\u0275fac}),t})();function nb(e,t){return t(e)}function dj(e,t){return(r,n)=>t.intercept(r,{handle:o=>e(o,n)})}const hj=new b(""),cs=new b(""),rb=new b("");function pj(){let e=null;return(t,r)=>{null===e&&(e=(E(hj,{optional:!0})??[]).reduceRight(dj,nb));const n=E(Ua),o=n.add();return e(t,r).pipe(Hi(()=>n.remove(o)))}}let ob=(()=>{var e;class t extends Gu{constructor(n,o){super(),this.backend=n,this.injector=o,this.chain=null,this.pendingTasks=E(Ua)}handle(n){if(null===this.chain){const i=Array.from(new Set([...this.injector.get(cs),...this.injector.get(rb,[])]));this.chain=i.reduceRight((s,a)=>function fj(e,t,r){return(n,o)=>r.runInContext(()=>t(n,i=>e(i,o)))}(s,a,this.injector),nb)}const o=this.pendingTasks.add();return this.chain(n,i=>this.backend.handle(i)).pipe(Hi(()=>this.pendingTasks.remove(o)))}}return(e=t).\u0275fac=function(n){return new(n||e)(S(qu),S(ut))},e.\u0275prov=A({token:e,factory:e.\u0275fac}),t})();const yj=/^\)\]\}',?\n/;let sb=(()=>{var e;class t{constructor(n){this.xhrFactory=n}handle(n){if("JSONP"===n.method)throw new D(-2800,!1);const o=this.xhrFactory;return(o.\u0275loadImpl?we(o.\u0275loadImpl()):T(null)).pipe(Mt(()=>new ge(s=>{const a=o.build();if(a.open(n.method,n.urlWithParams),n.withCredentials&&(a.withCredentials=!0),n.headers.forEach((v,y)=>a.setRequestHeader(v,y.join(","))),n.headers.has("Accept")||a.setRequestHeader("Accept","application/json, text/plain, */*"),!n.headers.has("Content-Type")){const v=n.detectContentTypeHeader();null!==v&&a.setRequestHeader("Content-Type",v)}if(n.responseType){const v=n.responseType.toLowerCase();a.responseType="json"!==v?v:"text"}const u=n.serializeBody();let l=null;const c=()=>{if(null!==l)return l;const v=a.statusText||"OK",y=new tn(a.getAllResponseHeaders()),m=function _j(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(a)||n.url;return l=new _h({headers:y,status:a.status,statusText:v,url:m}),l},d=()=>{let{headers:v,status:y,statusText:m,url:M}=c(),I=null;204!==y&&(I=typeof a.response>"u"?a.responseText:a.response),0===y&&(y=I?200:0);let j=y>=200&&y<300;if("json"===n.responseType&&"string"==typeof I){const Pe=I;I=I.replace(yj,"");try{I=""!==I?JSON.parse(I):null}catch(pt){I=Pe,j&&(j=!1,I={error:pt,text:I})}}j?(s.next(new To({body:I,headers:v,status:y,statusText:m,url:M||void 0})),s.complete()):s.error(new JE({error:I,headers:v,status:y,statusText:m,url:M||void 0}))},f=v=>{const{url:y}=c(),m=new JE({error:v,status:a.status||0,statusText:a.statusText||"Unknown Error",url:y||void 0});s.error(m)};let h=!1;const p=v=>{h||(s.next(c()),h=!0);let y={type:Ao.DownloadProgress,loaded:v.loaded};v.lengthComputable&&(y.total=v.total),"text"===n.responseType&&a.responseText&&(y.partialText=a.responseText),s.next(y)},g=v=>{let y={type:Ao.UploadProgress,loaded:v.loaded};v.lengthComputable&&(y.total=v.total),s.next(y)};return a.addEventListener("load",d),a.addEventListener("error",f),a.addEventListener("timeout",f),a.addEventListener("abort",f),n.reportProgress&&(a.addEventListener("progress",p),null!==u&&a.upload&&a.upload.addEventListener("progress",g)),a.send(u),s.next({type:Ao.Sent}),()=>{a.removeEventListener("error",f),a.removeEventListener("abort",f),a.removeEventListener("load",d),a.removeEventListener("timeout",f),n.reportProgress&&(a.removeEventListener("progress",p),null!==u&&a.upload&&a.upload.removeEventListener("progress",g)),a.readyState!==a.DONE&&a.abort()}})))}}return(e=t).\u0275fac=function(n){return new(n||e)(S(fC))},e.\u0275prov=A({token:e,factory:e.\u0275fac}),t})();const Ch=new b("XSRF_ENABLED"),ab=new b("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),ub=new b("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class lb{}let wj=(()=>{var e;class t{constructor(n,o,i){this.doc=n,this.platform=o,this.cookieName=i,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=nC(n,this.cookieName),this.lastCookieString=n),this.lastToken}}return(e=t).\u0275fac=function(n){return new(n||e)(S(ft),S(Jn),S(ab))},e.\u0275prov=A({token:e,factory:e.\u0275fac}),t})();function Ej(e,t){const r=e.url.toLowerCase();if(!E(Ch)||"GET"===e.method||"HEAD"===e.method||r.startsWith("http://")||r.startsWith("https://"))return t(e);const n=E(lb).getToken(),o=E(ub);return null!=n&&!e.headers.has(o)&&(e=e.clone({headers:e.headers.set(o,n)})),t(e)}var $n=function(e){return e[e.Interceptors=0]="Interceptors",e[e.LegacyInterceptors=1]="LegacyInterceptors",e[e.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",e[e.NoXsrfProtection=3]="NoXsrfProtection",e[e.JsonpSupport=4]="JsonpSupport",e[e.RequestsMadeViaParent=5]="RequestsMadeViaParent",e[e.Fetch=6]="Fetch",e}($n||{});function mr(e,t){return{\u0275kind:e,\u0275providers:t}}function bj(...e){const t=[KE,sb,ob,{provide:Gu,useExisting:ob},{provide:qu,useExisting:sb},{provide:cs,useValue:Ej,multi:!0},{provide:Ch,useValue:!0},{provide:lb,useClass:wj}];for(const r of e)t.push(...r.\u0275providers);return function _c(e){return{\u0275providers:e}}(t)}const cb=new b("LEGACY_INTERCEPTOR_FN");let Mj=(()=>{var e;class t{}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275mod=Bt({type:e}),e.\u0275inj=St({providers:[bj(mr($n.LegacyInterceptors,[{provide:cb,useFactory:pj},{provide:cs,useExisting:cb,multi:!0}]))]}),t})();const xj=function(){return["/"]};let Oj=(()=>{var e;class t{}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275cmp=sn({type:e,selectors:[["app-top-bar"]],decls:7,vars:2,consts:[[3,"routerLink"],["routerLink","/cart",1,"button","fancy-button"],[1,"material-icons"]],template:function(n,o){1&n&&(J(0,"a",0)(1,"h1"),le(2,"My Store"),q()(),J(3,"a",1)(4,"em",2),le(5,"shopping_cart"),q(),le(6,"Checkout"),q()),2&n&&Ct("routerLink",function w_(e,t,r){const n=$e()+e,o=_();return o[n]===k?Wt(o,n,r?t.call(r):t()):function yi(e,t){return e[t]}(o,n)}(1,xj))},dependencies:[Io]}),t})(),Pj=(()=>{var e;class t{}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275cmp=sn({type:e,selectors:[["app-root"]],decls:3,vars:0,consts:[[1,"container"]],template:function(n,o){1&n&&(nr(0,"app-top-bar"),J(1,"div",0),nr(2,"router-outlet"),q())},dependencies:[zf,Oj]}),t})();const db=[{id:1,name:"Phone XL",price:799,description:"A large phone with one of the best screens"},{id:2,name:"Phone Mini",price:699,description:"A great phone with one of the best cameras"},{id:3,name:"Phone Standard",price:299,description:""}];function Fj(e,t){if(1&e){const r=Ra();J(0,"button",1),Oe("click",function(){return qo(r),Wo(rr().notify.emit())}),le(1," Notify Me "),q()}}let kj=(()=>{var e;class t{constructor(){this.notify=new fe}}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275cmp=sn({type:e,selectors:[["app-product-alerts"]],inputs:{product:"product"},outputs:{notify:"notify"},decls:2,vars:1,consts:[["type","button",3,"click",4,"ngIf"],["type","button",3,"click"]],template:function(n,o){1&n&&(J(0,"p"),tr(1,Fj,2,0,"button",0),q()),2&n&&(Ie(1),Ct("ngIf",o.product&&o.product.price>700))},dependencies:[lu]}),t})();function Lj(e,t){if(1&e&&(J(0,"p"),le(1),q()),2&e){const r=rr().$implicit;Ie(1),Fa("Description: ",r.description,"")}}const Vj=function(e){return["products/",e]};function jj(e,t){if(1&e){const r=Ra();J(0,"div")(1,"h3")(2,"a",1),le(3),q()(),tr(4,Lj,2,1,"p",2),J(5,"button",3),Oe("click",function(){return qo(r),Wo(rr().share())}),le(6,"Share"),q(),J(7,"app-product-alerts",4),Oe("notify",function(){return qo(r),Wo(rr().onNotify())}),q()()}if(2&e){const r=t.$implicit;Ie(2),Ct("title",r.name+" details")("routerLink",function E_(e,t,r,n){return b_(_(),$e(),e,t,r,n)}(5,Vj,r.id)),Ie(1),Xt(r.name),Ie(1),Ct("ngIf",r.description),Ie(3),Ct("product",r)}}let Bj=(()=>{var e;class t{constructor(){this.products=[...db]}share(){window.alert("The product has been shared!")}onNotify(){window.alert("You will be notified when the product goes on sale.")}}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275cmp=sn({type:e,selectors:[["app-product-list"]],decls:3,vars:1,consts:[[4,"ngFor","ngForOf"],[3,"title","routerLink"],[4,"ngIf"],["type","button",3,"click"],[3,"product","notify"]],template:function(n,o){1&n&&(J(0,"h2"),le(1,"Products"),q(),tr(2,jj,8,7,"div",0)),2&n&&(Ie(2),Ct("ngForOf",o.products))},dependencies:[uu,lu,Io,kj]}),t})(),wh=(()=>{var e;class t{constructor(n){this.httpClient=n,this.items=[]}addToCart(n){this.items.push(n)}getItems(){return this.items}clearCart(){return this.items=[],this.items}getShippingPrices(){return this.httpClient.get("/assets/shipping.json")}}return(e=t).\u0275fac=function(n){return new(n||e)(S(KE))},e.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();function Hj(e,t){if(1&e){const r=Ra();J(0,"div")(1,"h3"),le(2),q(),J(3,"h4"),le(4),Ni(5,"currency"),q(),J(6,"p"),le(7),q(),J(8,"button",1),Oe("click",function(){qo(r);const o=rr();return Wo(o.addToCart(o.product))}),le(9,"Add to Cart"),q()()}if(2&e){const r=rr();Ie(2),Xt(r.product.name),Ie(2),Xt(Ri(5,3,r.product.price)),Ie(3),Xt(r.product.description)}}let $j=(()=>{var e;class t{constructor(n,o){this.route=n,this.cartService=o}ngOnInit(){const o=Number(this.route.snapshot.paramMap.get("productId"));this.product=db.find(i=>i.id===o)}addToCart(n){this.cartService.addToCart(n),window.alert("your product has been added to the cart")}}return(e=t).\u0275fac=function(n){return new(n||e)(C(hr),C(wh))},e.\u0275cmp=sn({type:e,selectors:[["app-product-details"]],decls:3,vars:1,consts:[[4,"ngIf"],["type","button",3,"click"]],template:function(n,o){1&n&&(J(0,"h2"),le(1,"Product Details"),q(),tr(2,Hj,10,5,"div",0)),2&n&&(Ie(2),Ct("ngIf",o.product))},dependencies:[lu,cu]}),t})();function Uj(e,t){if(1&e&&(J(0,"div",8)(1,"span"),le(2),q(),J(3,"span"),le(4),Ni(5,"currency"),q()()),2&e){const r=t.$implicit;Ie(2),Xt(r.name),Ie(2),Xt(Ri(5,2,r.price))}}let zj=(()=>{var e;class t{constructor(n,o){this.cartService=n,this.formBuilder=o,this.items=this.cartService.getItems(),this.checkoutForm=this.formBuilder.group({name:"",address:""})}onSubmit(){this.items=this.cartService.clearCart(),console.warn("Your order has been submitted",this.checkoutForm.value),this.checkoutForm.reset()}}return(e=t).\u0275fac=function(n){return new(n||e)(C(wh),C(tj))},e.\u0275cmp=sn({type:e,selectors:[["app-cart"]],decls:17,vars:2,consts:[["routerLink","/shipping"],["class","cart-item",4,"ngFor","ngForOf"],[3,"formGroup","ngSubmit"],["for","name"],["id","name","type","text","formControlName","name"],["for","address"],["id","address","type","text","formControlName","address"],["type","submit",1,"button"],[1,"cart-item"]],template:function(n,o){1&n&&(J(0,"h3"),le(1,"Cart"),q(),J(2,"p")(3,"a",0),le(4,"Shipping Prices"),q()(),tr(5,Uj,6,4,"div",1),J(6,"form",2),Oe("ngSubmit",function(){return o.onSubmit()}),J(7,"div")(8,"label",3),le(9," Name "),q(),nr(10,"input",4),q(),J(11,"div")(12,"label",5),le(13," Address "),q(),nr(14,"input",6),q(),J(15,"button",7),le(16,"Purchase"),q()()),2&n&&(Ie(5),Ct("ngForOf",o.items),Ie(1),Ct("formGroup",o.checkoutForm))},dependencies:[uu,AE,xu,hE,pE,zu,ph,Io,cu]}),t})();function Gj(e,t){if(1&e&&(J(0,"div",1)(1,"span"),le(2),q(),J(3,"span"),le(4),Ni(5,"currency"),q()()),2&e){const r=t.$implicit;Ie(2),Xt(r.type),Ie(2),Xt(Ri(5,2,r.price))}}let qj=(()=>{var e;class t{constructor(n){this.cartService=n}ngOnInit(){this.shippingCosts=this.cartService.getShippingPrices()}}return(e=t).\u0275fac=function(n){return new(n||e)(C(wh))},e.\u0275cmp=sn({type:e,selectors:[["app-shipping"]],decls:4,vars:3,consts:[["class","shipping-item",4,"ngFor","ngForOf"],[1,"shipping-item"]],template:function(n,o){1&n&&(J(0,"h3"),le(1,"Shipping Prices"),q(),tr(2,Gj,6,4,"div",0),Ni(3,"async")),2&n&&(Ie(2),Ct("ngForOf",Ri(3,1,o.shippingCosts)))},dependencies:[uu,uC,cu]}),t})(),Wj=(()=>{var e;class t{}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275mod=Bt({type:e,bootstrap:[Pj]}),e.\u0275inj=St({imports:[wF,nj,Mj,eV.forRoot([{path:"",component:Bj},{path:"products/:productId",component:$j},{path:"cart",component:zj},{path:"shipping",component:qj}])]}),t})();DF().bootstrapModule(Wj).catch(e=>console.error(e))}},ee=>{ee(ee.s=580)}]); \ No newline at end of file diff --git a/docs/polyfills.902e026cabdcf076.js b/docs/polyfills.902e026cabdcf076.js new file mode 100644 index 0000000..41ca679 --- /dev/null +++ b/docs/polyfills.902e026cabdcf076.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkangular_io_example=self.webpackChunkangular_io_example||[]).push([[429],{332:()=>{!function(e){const n=e.performance;function s(j){n&&n.mark&&n.mark(j)}function r(j,h){n&&n.measure&&n.measure(j,h)}s("Zone");const i=e.__Zone_symbol_prefix||"__zone_symbol__";function l(j){return i+j}const p=!0===e[l("forceDuplicateZoneCheck")];if(e.Zone){if(p||"function"!=typeof e.Zone.__symbol__)throw new Error("Zone already loaded.");return e.Zone}let E=(()=>{class h{static assertZonePatched(){if(e.Promise!==oe.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 t=h.current;for(;t.parent;)t=t.parent;return t}static get current(){return W.zone}static get currentTask(){return re}static __load_patch(t,_,w=!1){if(oe.hasOwnProperty(t)){if(!w&&p)throw Error("Already loaded patch: "+t)}else if(!e["__Zone_disable_"+t]){const L="Zone:"+t;s(L),oe[t]=_(e,h,Y),r(L,L)}}get parent(){return this._parent}get name(){return this._name}constructor(t,_){this._parent=t,this._name=_?_.name||"unnamed":"",this._properties=_&&_.properties||{},this._zoneDelegate=new v(this,this._parent&&this._parent._zoneDelegate,_)}get(t){const _=this.getZoneWith(t);if(_)return _._properties[t]}getZoneWith(t){let _=this;for(;_;){if(_._properties.hasOwnProperty(t))return _;_=_._parent}return null}fork(t){if(!t)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,t)}wrap(t,_){if("function"!=typeof t)throw new Error("Expecting function got: "+t);const w=this._zoneDelegate.intercept(this,t,_),L=this;return function(){return L.runGuarded(w,this,arguments,_)}}run(t,_,w,L){W={parent:W,zone:this};try{return this._zoneDelegate.invoke(this,t,_,w,L)}finally{W=W.parent}}runGuarded(t,_=null,w,L){W={parent:W,zone:this};try{try{return this._zoneDelegate.invoke(this,t,_,w,L)}catch(a){if(this._zoneDelegate.handleError(this,a))throw a}}finally{W=W.parent}}runTask(t,_,w){if(t.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(t.zone||J).name+"; Execution: "+this.name+")");if(t.state===G&&(t.type===Q||t.type===P))return;const L=t.state!=y;L&&t._transitionTo(y,A),t.runCount++;const a=re;re=t,W={parent:W,zone:this};try{t.type==P&&t.data&&!t.data.isPeriodic&&(t.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,t,_,w)}catch(u){if(this._zoneDelegate.handleError(this,u))throw u}}finally{t.state!==G&&t.state!==d&&(t.type==Q||t.data&&t.data.isPeriodic?L&&t._transitionTo(A,y):(t.runCount=0,this._updateTaskCount(t,-1),L&&t._transitionTo(G,y,G))),W=W.parent,re=a}}scheduleTask(t){if(t.zone&&t.zone!==this){let w=this;for(;w;){if(w===t.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${t.zone.name}`);w=w.parent}}t._transitionTo(z,G);const _=[];t._zoneDelegates=_,t._zone=this;try{t=this._zoneDelegate.scheduleTask(this,t)}catch(w){throw t._transitionTo(d,z,G),this._zoneDelegate.handleError(this,w),w}return t._zoneDelegates===_&&this._updateTaskCount(t,1),t.state==z&&t._transitionTo(A,z),t}scheduleMicroTask(t,_,w,L){return this.scheduleTask(new m(I,t,_,w,L,void 0))}scheduleMacroTask(t,_,w,L,a){return this.scheduleTask(new m(P,t,_,w,L,a))}scheduleEventTask(t,_,w,L,a){return this.scheduleTask(new m(Q,t,_,w,L,a))}cancelTask(t){if(t.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(t.zone||J).name+"; Execution: "+this.name+")");if(t.state===A||t.state===y){t._transitionTo(V,A,y);try{this._zoneDelegate.cancelTask(this,t)}catch(_){throw t._transitionTo(d,V),this._zoneDelegate.handleError(this,_),_}return this._updateTaskCount(t,-1),t._transitionTo(G,V),t.runCount=0,t}}_updateTaskCount(t,_){const w=t._zoneDelegates;-1==_&&(t._zoneDelegates=null);for(let L=0;Lj.hasTask(c,t),onScheduleTask:(j,h,c,t)=>j.scheduleTask(c,t),onInvokeTask:(j,h,c,t,_,w)=>j.invokeTask(c,t,_,w),onCancelTask:(j,h,c,t)=>j.cancelTask(c,t)};class v{constructor(h,c,t){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=h,this._parentDelegate=c,this._forkZS=t&&(t&&t.onFork?t:c._forkZS),this._forkDlgt=t&&(t.onFork?c:c._forkDlgt),this._forkCurrZone=t&&(t.onFork?this.zone:c._forkCurrZone),this._interceptZS=t&&(t.onIntercept?t:c._interceptZS),this._interceptDlgt=t&&(t.onIntercept?c:c._interceptDlgt),this._interceptCurrZone=t&&(t.onIntercept?this.zone:c._interceptCurrZone),this._invokeZS=t&&(t.onInvoke?t:c._invokeZS),this._invokeDlgt=t&&(t.onInvoke?c:c._invokeDlgt),this._invokeCurrZone=t&&(t.onInvoke?this.zone:c._invokeCurrZone),this._handleErrorZS=t&&(t.onHandleError?t:c._handleErrorZS),this._handleErrorDlgt=t&&(t.onHandleError?c:c._handleErrorDlgt),this._handleErrorCurrZone=t&&(t.onHandleError?this.zone:c._handleErrorCurrZone),this._scheduleTaskZS=t&&(t.onScheduleTask?t:c._scheduleTaskZS),this._scheduleTaskDlgt=t&&(t.onScheduleTask?c:c._scheduleTaskDlgt),this._scheduleTaskCurrZone=t&&(t.onScheduleTask?this.zone:c._scheduleTaskCurrZone),this._invokeTaskZS=t&&(t.onInvokeTask?t:c._invokeTaskZS),this._invokeTaskDlgt=t&&(t.onInvokeTask?c:c._invokeTaskDlgt),this._invokeTaskCurrZone=t&&(t.onInvokeTask?this.zone:c._invokeTaskCurrZone),this._cancelTaskZS=t&&(t.onCancelTask?t:c._cancelTaskZS),this._cancelTaskDlgt=t&&(t.onCancelTask?c:c._cancelTaskDlgt),this._cancelTaskCurrZone=t&&(t.onCancelTask?this.zone:c._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const _=t&&t.onHasTask;(_||c&&c._hasTaskZS)&&(this._hasTaskZS=_?t:b,this._hasTaskDlgt=c,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=h,t.onScheduleTask||(this._scheduleTaskZS=b,this._scheduleTaskDlgt=c,this._scheduleTaskCurrZone=this.zone),t.onInvokeTask||(this._invokeTaskZS=b,this._invokeTaskDlgt=c,this._invokeTaskCurrZone=this.zone),t.onCancelTask||(this._cancelTaskZS=b,this._cancelTaskDlgt=c,this._cancelTaskCurrZone=this.zone))}fork(h,c){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,h,c):new E(h,c)}intercept(h,c,t){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,h,c,t):c}invoke(h,c,t,_,w){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,h,c,t,_,w):c.apply(t,_)}handleError(h,c){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,h,c)}scheduleTask(h,c){let t=c;if(this._scheduleTaskZS)this._hasTaskZS&&t._zoneDelegates.push(this._hasTaskDlgtOwner),t=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,h,c),t||(t=c);else if(c.scheduleFn)c.scheduleFn(c);else{if(c.type!=I)throw new Error("Task is missing scheduleFn.");C(c)}return t}invokeTask(h,c,t,_){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,h,c,t,_):c.callback.apply(t,_)}cancelTask(h,c){let t;if(this._cancelTaskZS)t=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,h,c);else{if(!c.cancelFn)throw Error("Task is not cancelable");t=c.cancelFn(c)}return t}hasTask(h,c){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,h,c)}catch(t){this.handleError(h,t)}}_updateTaskCount(h,c){const t=this._taskCounts,_=t[h],w=t[h]=_+c;if(w<0)throw new Error("More tasks executed then were scheduled.");0!=_&&0!=w||this.hasTask(this.zone,{microTask:t.microTask>0,macroTask:t.macroTask>0,eventTask:t.eventTask>0,change:h})}}class m{constructor(h,c,t,_,w,L){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=h,this.source=c,this.data=_,this.scheduleFn=w,this.cancelFn=L,!t)throw new Error("callback is not defined");this.callback=t;const a=this;this.invoke=h===Q&&_&&_.useG?m.invokeTask:function(){return m.invokeTask.call(e,a,this,arguments)}}static invokeTask(h,c,t){h||(h=this),ee++;try{return h.runCount++,h.zone.runTask(h,c,t)}finally{1==ee&&T(),ee--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(G,z)}_transitionTo(h,c,t){if(this._state!==c&&this._state!==t)throw new Error(`${this.type} '${this.source}': can not transition to '${h}', expecting state '${c}'${t?" or '"+t+"'":""}, was '${this._state}'.`);this._state=h,h==G&&(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=l("setTimeout"),O=l("Promise"),N=l("then");let K,U=[],x=!1;function X(j){if(K||e[O]&&(K=e[O].resolve(0)),K){let h=K[N];h||(h=K.then),h.call(K,j)}else e[M](j,0)}function C(j){0===ee&&0===U.length&&X(T),j&&U.push(j)}function T(){if(!x){for(x=!0;U.length;){const j=U;U=[];for(let h=0;hW,onUnhandledError:q,microtaskDrainDone:q,scheduleMicroTask:C,showUncaughtError:()=>!E[l("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:q,patchMethod:()=>q,bindArguments:()=>[],patchThen:()=>q,patchMacroTask:()=>q,patchEventPrototype:()=>q,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>q,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>q,wrapWithCurrentZone:()=>q,filterProperties:()=>[],attachOriginToPatched:()=>q,_redefineProperty:()=>q,patchCallbacks:()=>q,nativeScheduleMicroTask:X};let W={parent:null,zone:new E(null,null)},re=null,ee=0;function q(){}r("Zone","Zone"),e.Zone=E}(typeof window<"u"&&window||typeof self<"u"&&self||global);const ue=Object.getOwnPropertyDescriptor,pe=Object.defineProperty,ve=Object.getPrototypeOf,Se=Object.create,it=Array.prototype.slice,Ze="addEventListener",De="removeEventListener",Oe=Zone.__symbol__(Ze),Ne=Zone.__symbol__(De),ie="true",ce="false",me=Zone.__symbol__("");function Ie(e,n){return Zone.current.wrap(e,n)}function Me(e,n,s,r,i){return Zone.current.scheduleMacroTask(e,n,s,r,i)}const H=Zone.__symbol__,be=typeof window<"u",_e=be?window:void 0,$=be&&_e||"object"==typeof self&&self||global,ct="removeAttribute";function Le(e,n){for(let s=e.length-1;s>=0;s--)"function"==typeof e[s]&&(e[s]=Ie(e[s],n+"_"+s));return e}function Ve(e){return!e||!1!==e.writable&&!("function"==typeof e.get&&typeof e.set>"u")}const Fe=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,Pe=!("nw"in $)&&typeof $.process<"u"&&"[object process]"==={}.toString.call($.process),Ae=!Pe&&!Fe&&!(!be||!_e.HTMLElement),Be=typeof $.process<"u"&&"[object process]"==={}.toString.call($.process)&&!Fe&&!(!be||!_e.HTMLElement),we={},Ue=function(e){if(!(e=e||$.event))return;let n=we[e.type];n||(n=we[e.type]=H("ON_PROPERTY"+e.type));const s=this||e.target||$,r=s[n];let i;return Ae&&s===_e&&"error"===e.type?(i=r&&r.call(this,e.message,e.filename,e.lineno,e.colno,e.error),!0===i&&e.preventDefault()):(i=r&&r.apply(this,arguments),null!=i&&!i&&e.preventDefault()),i};function We(e,n,s){let r=ue(e,n);if(!r&&s&&ue(s,n)&&(r={enumerable:!0,configurable:!0}),!r||!r.configurable)return;const i=H("on"+n+"patched");if(e.hasOwnProperty(i)&&e[i])return;delete r.writable,delete r.value;const l=r.get,p=r.set,E=n.slice(2);let b=we[E];b||(b=we[E]=H("ON_PROPERTY"+E)),r.set=function(v){let m=this;!m&&e===$&&(m=$),m&&("function"==typeof m[b]&&m.removeEventListener(E,Ue),p&&p.call(m,null),m[b]=v,"function"==typeof v&&m.addEventListener(E,Ue,!1))},r.get=function(){let v=this;if(!v&&e===$&&(v=$),!v)return null;const m=v[b];if(m)return m;if(l){let M=l.call(this);if(M)return r.set.call(this,M),"function"==typeof v[ct]&&v.removeAttribute(n),M}return null},pe(e,n,r),e[i]=!0}function qe(e,n,s){if(n)for(let r=0;rfunction(p,E){const b=s(p,E);return b.cbIdx>=0&&"function"==typeof E[b.cbIdx]?Me(b.name,E[b.cbIdx],b,i):l.apply(p,E)})}function le(e,n){e[H("OriginalDelegate")]=n}let Xe=!1,je=!1;function ft(){if(Xe)return je;Xe=!0;try{const e=_e.navigator.userAgent;(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/")||-1!==e.indexOf("Edge/"))&&(je=!0)}catch{}return je}Zone.__load_patch("ZoneAwarePromise",(e,n,s)=>{const r=Object.getOwnPropertyDescriptor,i=Object.defineProperty,p=s.symbol,E=[],b=!0===e[p("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],v=p("Promise"),m=p("then"),M="__creationTrace__";s.onUnhandledError=a=>{if(s.showUncaughtError()){const u=a&&a.rejection;u?console.error("Unhandled Promise rejection:",u instanceof Error?u.message:u,"; Zone:",a.zone.name,"; Task:",a.task&&a.task.source,"; Value:",u,u instanceof Error?u.stack:void 0):console.error(a)}},s.microtaskDrainDone=()=>{for(;E.length;){const a=E.shift();try{a.zone.runGuarded(()=>{throw a.throwOriginal?a.rejection:a})}catch(u){N(u)}}};const O=p("unhandledPromiseRejectionHandler");function N(a){s.onUnhandledError(a);try{const u=n[O];"function"==typeof u&&u.call(this,a)}catch{}}function U(a){return a&&a.then}function x(a){return a}function K(a){return c.reject(a)}const X=p("state"),C=p("value"),T=p("finally"),J=p("parentPromiseValue"),G=p("parentPromiseState"),z="Promise.then",A=null,y=!0,V=!1,d=0;function I(a,u){return o=>{try{Y(a,u,o)}catch(f){Y(a,!1,f)}}}const P=function(){let a=!1;return function(o){return function(){a||(a=!0,o.apply(null,arguments))}}},Q="Promise resolved with itself",oe=p("currentTaskTrace");function Y(a,u,o){const f=P();if(a===o)throw new TypeError(Q);if(a[X]===A){let k=null;try{("object"==typeof o||"function"==typeof o)&&(k=o&&o.then)}catch(R){return f(()=>{Y(a,!1,R)})(),a}if(u!==V&&o instanceof c&&o.hasOwnProperty(X)&&o.hasOwnProperty(C)&&o[X]!==A)re(o),Y(a,o[X],o[C]);else if(u!==V&&"function"==typeof k)try{k.call(o,f(I(a,u)),f(I(a,!1)))}catch(R){f(()=>{Y(a,!1,R)})()}else{a[X]=u;const R=a[C];if(a[C]=o,a[T]===T&&u===y&&(a[X]=a[G],a[C]=a[J]),u===V&&o instanceof Error){const g=n.currentTask&&n.currentTask.data&&n.currentTask.data[M];g&&i(o,oe,{configurable:!0,enumerable:!1,writable:!0,value:g})}for(let g=0;g{try{const S=a[C],Z=!!o&&T===o[T];Z&&(o[J]=S,o[G]=R);const D=u.run(g,void 0,Z&&g!==K&&g!==x?[]:[S]);Y(o,!0,D)}catch(S){Y(o,!1,S)}},o)}const j=function(){},h=e.AggregateError;class c{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(u){return Y(new this(null),y,u)}static reject(u){return Y(new this(null),V,u)}static any(u){if(!u||"function"!=typeof u[Symbol.iterator])return Promise.reject(new h([],"All promises were rejected"));const o=[];let f=0;try{for(let g of u)f++,o.push(c.resolve(g))}catch{return Promise.reject(new h([],"All promises were rejected"))}if(0===f)return Promise.reject(new h([],"All promises were rejected"));let k=!1;const R=[];return new c((g,S)=>{for(let Z=0;Z{k||(k=!0,g(D))},D=>{R.push(D),f--,0===f&&(k=!0,S(new h(R,"All promises were rejected")))})})}static race(u){let o,f,k=new this((S,Z)=>{o=S,f=Z});function R(S){o(S)}function g(S){f(S)}for(let S of u)U(S)||(S=this.resolve(S)),S.then(R,g);return k}static all(u){return c.allWithCallback(u)}static allSettled(u){return(this&&this.prototype instanceof c?this:c).allWithCallback(u,{thenCallback:f=>({status:"fulfilled",value:f}),errorCallback:f=>({status:"rejected",reason:f})})}static allWithCallback(u,o){let f,k,R=new this((D,F)=>{f=D,k=F}),g=2,S=0;const Z=[];for(let D of u){U(D)||(D=this.resolve(D));const F=S;try{D.then(B=>{Z[F]=o?o.thenCallback(B):B,g--,0===g&&f(Z)},B=>{o?(Z[F]=o.errorCallback(B),g--,0===g&&f(Z)):k(B)})}catch(B){k(B)}g++,S++}return g-=2,0===g&&f(Z),R}constructor(u){const o=this;if(!(o instanceof c))throw new Error("Must be an instanceof Promise.");o[X]=A,o[C]=[];try{const f=P();u&&u(f(I(o,y)),f(I(o,V)))}catch(f){Y(o,!1,f)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return c}then(u,o){let f=this.constructor?.[Symbol.species];(!f||"function"!=typeof f)&&(f=this.constructor||c);const k=new f(j),R=n.current;return this[X]==A?this[C].push(R,k,u,o):ee(this,R,k,u,o),k}catch(u){return this.then(null,u)}finally(u){let o=this.constructor?.[Symbol.species];(!o||"function"!=typeof o)&&(o=c);const f=new o(j);f[T]=T;const k=n.current;return this[X]==A?this[C].push(k,f,u,u):ee(this,k,f,u,u),f}}c.resolve=c.resolve,c.reject=c.reject,c.race=c.race,c.all=c.all;const t=e[v]=e.Promise;e.Promise=c;const _=p("thenPatched");function w(a){const u=a.prototype,o=r(u,"then");if(o&&(!1===o.writable||!o.configurable))return;const f=u.then;u[m]=f,a.prototype.then=function(k,R){return new c((S,Z)=>{f.call(this,S,Z)}).then(k,R)},a[_]=!0}return s.patchThen=w,t&&(w(t),ae(e,"fetch",a=>function L(a){return function(u,o){let f=a.apply(u,o);if(f instanceof c)return f;let k=f.constructor;return k[_]||w(k),f}}(a))),Promise[n.__symbol__("uncaughtPromiseErrors")]=E,c}),Zone.__load_patch("toString",e=>{const n=Function.prototype.toString,s=H("OriginalDelegate"),r=H("Promise"),i=H("Error"),l=function(){if("function"==typeof this){const v=this[s];if(v)return"function"==typeof v?n.call(v):Object.prototype.toString.call(v);if(this===Promise){const m=e[r];if(m)return n.call(m)}if(this===Error){const m=e[i];if(m)return n.call(m)}}return n.call(this)};l[s]=n,Function.prototype.toString=l;const p=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":p.call(this)}});let Ee=!1;if(typeof window<"u")try{const e=Object.defineProperty({},"passive",{get:function(){Ee=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch{Ee=!1}const ht={useG:!0},te={},ze={},Ye=new RegExp("^"+me+"(\\w+)(true|false)$"),$e=H("propagationStopped");function Je(e,n){const s=(n?n(e):e)+ce,r=(n?n(e):e)+ie,i=me+s,l=me+r;te[e]={},te[e][ce]=i,te[e][ie]=l}function dt(e,n,s,r){const i=r&&r.add||Ze,l=r&&r.rm||De,p=r&&r.listeners||"eventListeners",E=r&&r.rmAll||"removeAllListeners",b=H(i),v="."+i+":",m="prependListener",M="."+m+":",O=function(C,T,J){if(C.isRemoved)return;const G=C.callback;let z;"object"==typeof G&&G.handleEvent&&(C.callback=y=>G.handleEvent(y),C.originalDelegate=G);try{C.invoke(C,T,[J])}catch(y){z=y}const A=C.options;return A&&"object"==typeof A&&A.once&&T[l].call(T,J.type,C.originalDelegate?C.originalDelegate:C.callback,A),z};function N(C,T,J){if(!(T=T||e.event))return;const G=C||T.target||e,z=G[te[T.type][J?ie:ce]];if(z){const A=[];if(1===z.length){const y=O(z[0],G,T);y&&A.push(y)}else{const y=z.slice();for(let V=0;V{throw V})}}}const U=function(C){return N(this,C,!1)},x=function(C){return N(this,C,!0)};function K(C,T){if(!C)return!1;let J=!0;T&&void 0!==T.useG&&(J=T.useG);const G=T&&T.vh;let z=!0;T&&void 0!==T.chkDup&&(z=T.chkDup);let A=!1;T&&void 0!==T.rt&&(A=T.rt);let y=C;for(;y&&!y.hasOwnProperty(i);)y=ve(y);if(!y&&C[i]&&(y=C),!y||y[b])return!1;const V=T&&T.eventNameToString,d={},I=y[b]=y[i],P=y[H(l)]=y[l],Q=y[H(p)]=y[p],oe=y[H(E)]=y[E];let Y;T&&T.prepend&&(Y=y[H(T.prepend)]=y[T.prepend]);const c=J?function(o){if(!d.isExisting)return I.call(d.target,d.eventName,d.capture?x:U,d.options)}:function(o){return I.call(d.target,d.eventName,o.invoke,d.options)},t=J?function(o){if(!o.isRemoved){const f=te[o.eventName];let k;f&&(k=f[o.capture?ie:ce]);const R=k&&o.target[k];if(R)for(let g=0;gfunction(i,l){i[$e]=!0,r&&r.apply(i,l)})}function Et(e,n,s,r,i){const l=Zone.__symbol__(r);if(n[l])return;const p=n[l]=n[r];n[r]=function(E,b,v){return b&&b.prototype&&i.forEach(function(m){const M=`${s}.${r}::`+m,O=b.prototype;try{if(O.hasOwnProperty(m)){const N=e.ObjectGetOwnPropertyDescriptor(O,m);N&&N.value?(N.value=e.wrapWithCurrentZone(N.value,M),e._redefineProperty(b.prototype,m,N)):O[m]&&(O[m]=e.wrapWithCurrentZone(O[m],M))}else O[m]&&(O[m]=e.wrapWithCurrentZone(O[m],M))}catch{}}),p.call(n,E,b,v)},e.attachOriginToPatched(n[r],p)}function Qe(e,n,s){if(!s||0===s.length)return n;const r=s.filter(l=>l.target===e);if(!r||0===r.length)return n;const i=r[0].ignoreProperties;return n.filter(l=>-1===i.indexOf(l))}function et(e,n,s,r){e&&qe(e,Qe(e,n,s),r)}function He(e){return Object.getOwnPropertyNames(e).filter(n=>n.startsWith("on")&&n.length>2).map(n=>n.substring(2))}Zone.__load_patch("util",(e,n,s)=>{const r=He(e);s.patchOnProperties=qe,s.patchMethod=ae,s.bindArguments=Le,s.patchMacroTask=lt;const i=n.__symbol__("BLACK_LISTED_EVENTS"),l=n.__symbol__("UNPATCHED_EVENTS");e[l]&&(e[i]=e[l]),e[i]&&(n[i]=n[l]=e[i]),s.patchEventPrototype=_t,s.patchEventTarget=dt,s.isIEOrEdge=ft,s.ObjectDefineProperty=pe,s.ObjectGetOwnPropertyDescriptor=ue,s.ObjectCreate=Se,s.ArraySlice=it,s.patchClass=ge,s.wrapWithCurrentZone=Ie,s.filterProperties=Qe,s.attachOriginToPatched=le,s._redefineProperty=Object.defineProperty,s.patchCallbacks=Et,s.getGlobalObjects=()=>({globalSources:ze,zoneSymbolEventNames:te,eventNames:r,isBrowser:Ae,isMix:Be,isNode:Pe,TRUE_STR:ie,FALSE_STR:ce,ZONE_SYMBOL_PREFIX:me,ADD_EVENT_LISTENER_STR:Ze,REMOVE_EVENT_LISTENER_STR:De})});const Re=H("zoneTask");function Te(e,n,s,r){let i=null,l=null;s+=r;const p={};function E(v){const m=v.data;return m.args[0]=function(){return v.invoke.apply(this,arguments)},m.handleId=i.apply(e,m.args),v}function b(v){return l.call(e,v.data.handleId)}i=ae(e,n+=r,v=>function(m,M){if("function"==typeof M[0]){const O={isPeriodic:"Interval"===r,delay:"Timeout"===r||"Interval"===r?M[1]||0:void 0,args:M},N=M[0];M[0]=function(){try{return N.apply(this,arguments)}finally{O.isPeriodic||("number"==typeof O.handleId?delete p[O.handleId]:O.handleId&&(O.handleId[Re]=null))}};const U=Me(n,M[0],O,E,b);if(!U)return U;const x=U.data.handleId;return"number"==typeof x?p[x]=U:x&&(x[Re]=U),x&&x.ref&&x.unref&&"function"==typeof x.ref&&"function"==typeof x.unref&&(U.ref=x.ref.bind(x),U.unref=x.unref.bind(x)),"number"==typeof x||x?x:U}return v.apply(e,M)}),l=ae(e,s,v=>function(m,M){const O=M[0];let N;"number"==typeof O?N=p[O]:(N=O&&O[Re],N||(N=O)),N&&"string"==typeof N.type?"notScheduled"!==N.state&&(N.cancelFn&&N.data.isPeriodic||0===N.runCount)&&("number"==typeof O?delete p[O]:O&&(O[Re]=null),N.zone.cancelTask(N)):v.apply(e,M)})}Zone.__load_patch("legacy",e=>{const n=e[Zone.__symbol__("legacyPatch")];n&&n()}),Zone.__load_patch("timers",e=>{const n="set",s="clear";Te(e,n,s,"Timeout"),Te(e,n,s,"Interval"),Te(e,n,s,"Immediate")}),Zone.__load_patch("requestAnimationFrame",e=>{Te(e,"request","cancel","AnimationFrame"),Te(e,"mozRequest","mozCancel","AnimationFrame"),Te(e,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(e,n)=>{const s=["alert","prompt","confirm"];for(let r=0;rfunction(b,v){return n.current.run(l,e,v,E)})}),Zone.__load_patch("EventTarget",(e,n,s)=>{(function gt(e,n){n.patchEventPrototype(e,n)})(e,s),function mt(e,n){if(Zone[n.symbol("patchEventTarget")])return;const{eventNames:s,zoneSymbolEventNames:r,TRUE_STR:i,FALSE_STR:l,ZONE_SYMBOL_PREFIX:p}=n.getGlobalObjects();for(let b=0;b{ge("MutationObserver"),ge("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",(e,n,s)=>{ge("IntersectionObserver")}),Zone.__load_patch("FileReader",(e,n,s)=>{ge("FileReader")}),Zone.__load_patch("on_property",(e,n,s)=>{!function Tt(e,n){if(Pe&&!Be||Zone[e.symbol("patchEvents")])return;const s=n.__Zone_ignore_on_properties;let r=[];if(Ae){const i=window;r=r.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const l=function ut(){try{const e=_e.navigator.userAgent;if(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:i,ignoreProperties:["error"]}]:[];et(i,He(i),s&&s.concat(l),ve(i))}r=r.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let i=0;i{!function pt(e,n){const{isBrowser:s,isMix:r}=n.getGlobalObjects();(s||r)&&e.customElements&&"customElements"in e&&n.patchCallbacks(n,e.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(e,s)}),Zone.__load_patch("XHR",(e,n)=>{!function b(v){const m=v.XMLHttpRequest;if(!m)return;const M=m.prototype;let N=M[Oe],U=M[Ne];if(!N){const d=v.XMLHttpRequestEventTarget;if(d){const I=d.prototype;N=I[Oe],U=I[Ne]}}const x="readystatechange",K="scheduled";function X(d){const I=d.data,P=I.target;P[l]=!1,P[E]=!1;const Q=P[i];N||(N=P[Oe],U=P[Ne]),Q&&U.call(P,x,Q);const oe=P[i]=()=>{if(P.readyState===P.DONE)if(!I.aborted&&P[l]&&d.state===K){const W=P[n.__symbol__("loadfalse")];if(0!==P.status&&W&&W.length>0){const re=d.invoke;d.invoke=function(){const ee=P[n.__symbol__("loadfalse")];for(let q=0;qfunction(d,I){return d[r]=0==I[2],d[p]=I[1],J.apply(d,I)}),z=H("fetchTaskAborting"),A=H("fetchTaskScheduling"),y=ae(M,"send",()=>function(d,I){if(!0===n.current[A]||d[r])return y.apply(d,I);{const P={target:d,url:d[p],isPeriodic:!1,args:I,aborted:!1},Q=Me("XMLHttpRequest.send",C,P,X,T);d&&!0===d[E]&&!P.aborted&&Q.state===K&&Q.invoke()}}),V=ae(M,"abort",()=>function(d,I){const P=function O(d){return d[s]}(d);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 V.apply(d,I)})}(e);const s=H("xhrTask"),r=H("xhrSync"),i=H("xhrListener"),l=H("xhrScheduled"),p=H("xhrURL"),E=H("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",e=>{e.navigator&&e.navigator.geolocation&&function at(e,n){const s=e.constructor.name;for(let r=0;r{const b=function(){return E.apply(this,Le(arguments,s+"."+i))};return le(b,E),b})(l)}}}(e.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(e,n)=>{function s(r){return function(i){Ke(e,r).forEach(p=>{const E=e.PromiseRejectionEvent;if(E){const b=new E(r,{promise:i.promise,reason:i.rejection});p.invoke(b)}})}}e.PromiseRejectionEvent&&(n[H("unhandledPromiseRejectionHandler")]=s("unhandledrejection"),n[H("rejectionHandledHandler")]=s("rejectionhandled"))}),Zone.__load_patch("queueMicrotask",(e,n,s)=>{!function yt(e,n){n.patchMethod(e,"queueMicrotask",s=>function(r,i){Zone.current.scheduleMicroTask("queueMicrotask",i[0])})}(e,s)})}},ue=>{ue(ue.s=332)}]); \ No newline at end of file diff --git a/docs/runtime.89424a2453fbce0c.js b/docs/runtime.89424a2453fbce0c.js new file mode 100644 index 0000000..1cd3f26 --- /dev/null +++ b/docs/runtime.89424a2453fbce0c.js @@ -0,0 +1 @@ +(()=>{"use strict";var e,_={},v={};function n(e){var f=v[e];if(void 0!==f)return f.exports;var r=v[e]={exports:{}};return _[e](r,r.exports,n),r.exports}n.m=_,e=[],n.O=(f,r,u,l)=>{if(!r){var c=1/0;for(a=0;a=l)&&Object.keys(n.O).every(h=>n.O[h](r[o]))?r.splice(o--,1):(i=!1,l0&&e[a-1][2]>l;a--)e[a]=e[a-1];e[a]=[r,u,l]},n.o=(e,f)=>Object.prototype.hasOwnProperty.call(e,f),(()=>{var e={666:0};n.O.j=u=>0===e[u];var f=(u,l)=>{var o,s,[a,c,i]=l,t=0;if(a.some(d=>0!==e[d])){for(o in c)n.o(c,o)&&(n.m[o]=c[o]);if(i)var p=i(n)}for(u&&u(l);t