diff --git a/idp/client/3rdpartylicenses.txt b/idp/client/3rdpartylicenses.txt deleted file mode 100644 index 2db1448..0000000 --- a/idp/client/3rdpartylicenses.txt +++ /dev/null @@ -1,276 +0,0 @@ - --------------------------------------------------------------------------------- -Package: @angular/core -License: "MIT" - - --------------------------------------------------------------------------------- -Package: rxjs -License: "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. - - --------------------------------------------------------------------------------- -Package: tslib -License: "0BSD" - -Copyright (c) Microsoft Corporation. - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH -REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY -AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, -INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM -LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR -OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR -PERFORMANCE OF THIS SOFTWARE. --------------------------------------------------------------------------------- -Package: @angular/common -License: "MIT" - - --------------------------------------------------------------------------------- -Package: @angular/platform-browser -License: "MIT" - - --------------------------------------------------------------------------------- -Package: @angular/router -License: "MIT" - - --------------------------------------------------------------------------------- -Package: @angular/forms -License: "MIT" - - --------------------------------------------------------------------------------- -Package: zone.js -License: "MIT" - -The MIT License - -Copyright (c) 2010-2024 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/idp/client/favicon.ico b/idp/client/favicon.ico deleted file mode 100644 index 57614f9..0000000 Binary files a/idp/client/favicon.ico and /dev/null differ diff --git a/idp/client/index.html b/idp/client/index.html deleted file mode 100644 index c62e4bc..0000000 --- a/idp/client/index.html +++ /dev/null @@ -1,13 +0,0 @@ - - - - - IdpClient - - - - - - - - diff --git a/idp/client/main-ZEV53HFZ.js b/idp/client/main-ZEV53HFZ.js deleted file mode 100644 index 41aca6f..0000000 --- a/idp/client/main-ZEV53HFZ.js +++ /dev/null @@ -1,9 +0,0 @@ -var kp=Object.defineProperty,Lp=Object.defineProperties;var Vp=Object.getOwnPropertyDescriptors;var au=Object.getOwnPropertySymbols;var jp=Object.prototype.hasOwnProperty,Up=Object.prototype.propertyIsEnumerable;var cu=(t,e,r)=>e in t?kp(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,m=(t,e)=>{for(var r in e||={})jp.call(e,r)&&cu(t,r,e[r]);if(au)for(var r of au(e))Up.call(e,r)&&cu(t,r,e[r]);return t},R=(t,e)=>Lp(t,Vp(e));var Wr=(t,e,r)=>new Promise((n,i)=>{var o=c=>{try{a(r.next(c))}catch(u){i(u)}},s=c=>{try{a(r.throw(c))}catch(u){i(u)}},a=c=>c.done?n(c.value):Promise.resolve(c.value).then(o,s);a((r=r.apply(t,e)).next())});function uu(t,e){return Object.is(t,e)}var Y=null,qr=!1,Zr=1,nt=Symbol("SIGNAL");function k(t){let e=Y;return Y=t,e}function lu(){return Y}var Wn={version:0,lastCleanEpoch: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:()=>{},consumerOnSignalRead:()=>{}};function ns(t){if(qr)throw new Error("");if(Y===null)return;Y.consumerOnSignalRead(t);let e=Y.nextProducerIndex++;if(Jr(Y),et.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}function is(t){Jr(t);for(let e=0;e0}function Jr(t){t.producerNode??=[],t.producerIndexOfThis??=[],t.producerLastReadVersion??=[]}function gu(t){t.liveConsumerNode??=[],t.liveConsumerIndexOfThis??=[]}function mu(t){return t.producerNode!==void 0}function vu(t){let e=Object.create(Hp);e.computation=t;let r=()=>{if(du(e),ns(e),e.value===Yr)throw e.error;return e.value};return r[nt]=e,r}var es=Symbol("UNSET"),ts=Symbol("COMPUTING"),Yr=Symbol("ERRORED"),Hp=R(m({},Wn),{value:es,dirty:!0,error:null,equal:uu,producerMustRecompute(t){return t.value===es||t.value===ts},producerRecomputeValue(t){if(t.value===ts)throw new Error("Detected cycle in computations.");let e=t.value;t.value=ts;let r=Qr(t),n;try{n=t.computation()}catch(i){n=Yr,t.error=i}finally{rs(t,r)}if(e!==es&&e!==Yr&&n!==Yr&&t.equal(e,n)){t.value=e;return}t.value=n,t.version++}});function zp(){throw new Error}var yu=zp;function Du(){yu()}function wu(t){yu=t}var Gp=null;function Cu(t){let e=Object.create(Iu);e.value=t;let r=()=>(ns(e),e.value);return r[nt]=e,r}function ss(t,e){hu()||Du(),t.equal(t.value,e)||(t.value=e,Wp(t))}function Eu(t,e){hu()||Du(),ss(t,e(t.value))}var Iu=R(m({},Wn),{equal:uu,value:void 0});function Wp(t){t.version++,Bp(),fu(t),Gp?.()}function M(t){return typeof t=="function"}function Qt(t){let r=t(n=>{Error.call(n),n.stack=new Error().stack});return r.prototype=Object.create(Error.prototype),r.prototype.constructor=r,r}var Xr=Qt(t=>function(r){t(this),this.message=r?`${r.length} errors occurred during unsubscription: -${r.map((n,i)=>`${i+1}) ${n.toString()}`).join(` - `)}`:"",this.name="UnsubscriptionError",this.errors=r});function qn(t,e){if(t){let r=t.indexOf(e);0<=r&&t.splice(r,1)}}var G=class t{constructor(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let e;if(!this.closed){this.closed=!0;let{_parentage:r}=this;if(r)if(this._parentage=null,Array.isArray(r))for(let o of r)o.remove(this);else r.remove(this);let{initialTeardown:n}=this;if(M(n))try{n()}catch(o){e=o instanceof Xr?o.errors:[o]}let{_finalizers:i}=this;if(i){this._finalizers=null;for(let o of i)try{bu(o)}catch(s){e=e??[],s instanceof Xr?e=[...e,...s.errors]:e.push(s)}}if(e)throw new Xr(e)}}add(e){var r;if(e&&e!==this)if(this.closed)bu(e);else{if(e instanceof t){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=(r=this._finalizers)!==null&&r!==void 0?r:[]).push(e)}}_hasParent(e){let{_parentage:r}=this;return r===e||Array.isArray(r)&&r.includes(e)}_addParent(e){let{_parentage:r}=this;this._parentage=Array.isArray(r)?(r.push(e),r):r?[r,e]:e}_removeParent(e){let{_parentage:r}=this;r===e?this._parentage=null:Array.isArray(r)&&qn(r,e)}remove(e){let{_finalizers:r}=this;r&&qn(r,e),e instanceof t&&e._removeParent(this)}};G.EMPTY=(()=>{let t=new G;return t.closed=!0,t})();var as=G.EMPTY;function ei(t){return t instanceof G||t&&"closed"in t&&M(t.remove)&&M(t.add)&&M(t.unsubscribe)}function bu(t){M(t)?t():t.unsubscribe()}var be={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Kt={setTimeout(t,e,...r){let{delegate:n}=Kt;return n?.setTimeout?n.setTimeout(t,e,...r):setTimeout(t,e,...r)},clearTimeout(t){let{delegate:e}=Kt;return(e?.clearTimeout||clearTimeout)(t)},delegate:void 0};function ti(t){Kt.setTimeout(()=>{let{onUnhandledError:e}=be;if(e)e(t);else throw t})}function Zn(){}var _u=cs("C",void 0,void 0);function Mu(t){return cs("E",void 0,t)}function Su(t){return cs("N",t,void 0)}function cs(t,e,r){return{kind:t,value:e,error:r}}var Mt=null;function Jt(t){if(be.useDeprecatedSynchronousErrorHandling){let e=!Mt;if(e&&(Mt={errorThrown:!1,error:null}),t(),e){let{errorThrown:r,error:n}=Mt;if(Mt=null,r)throw n}}else t()}function Tu(t){be.useDeprecatedSynchronousErrorHandling&&Mt&&(Mt.errorThrown=!0,Mt.error=t)}var St=class extends G{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,ei(e)&&e.add(this)):this.destination=Yp}static create(e,r,n){return new Xt(e,r,n)}next(e){this.isStopped?ls(Su(e),this):this._next(e)}error(e){this.isStopped?ls(Mu(e),this):(this.isStopped=!0,this._error(e))}complete(){this.isStopped?ls(_u,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(e){this.destination.next(e)}_error(e){try{this.destination.error(e)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},qp=Function.prototype.bind;function us(t,e){return qp.call(t,e)}var ds=class{constructor(e){this.partialObserver=e}next(e){let{partialObserver:r}=this;if(r.next)try{r.next(e)}catch(n){ni(n)}}error(e){let{partialObserver:r}=this;if(r.error)try{r.error(e)}catch(n){ni(n)}else ni(e)}complete(){let{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(r){ni(r)}}},Xt=class extends St{constructor(e,r,n){super();let i;if(M(e)||!e)i={next:e??void 0,error:r??void 0,complete:n??void 0};else{let o;this&&be.useDeprecatedNextContext?(o=Object.create(e),o.unsubscribe=()=>this.unsubscribe(),i={next:e.next&&us(e.next,o),error:e.error&&us(e.error,o),complete:e.complete&&us(e.complete,o)}):i=e}this.destination=new ds(i)}};function ni(t){be.useDeprecatedSynchronousErrorHandling?Tu(t):ti(t)}function Zp(t){throw t}function ls(t,e){let{onStoppedNotification:r}=be;r&&Kt.setTimeout(()=>r(t,e))}var Yp={closed:!0,next:Zn,error:Zp,complete:Zn};var en=typeof Symbol=="function"&&Symbol.observable||"@@observable";function ue(t){return t}function fs(...t){return hs(t)}function hs(t){return t.length===0?ue:t.length===1?t[0]:function(r){return t.reduce((n,i)=>i(n),r)}}var O=(()=>{class t{constructor(r){r&&(this._subscribe=r)}lift(r){let n=new t;return n.source=this,n.operator=r,n}subscribe(r,n,i){let o=Kp(r)?r:new Xt(r,n,i);return Jt(()=>{let{operator:s,source:a}=this;o.add(s?s.call(o,a):a?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(r){try{return this._subscribe(r)}catch(n){r.error(n)}}forEach(r,n){return n=xu(n),new n((i,o)=>{let s=new Xt({next:a=>{try{r(a)}catch(c){o(c),s.unsubscribe()}},error:o,complete:i});this.subscribe(s)})}_subscribe(r){var n;return(n=this.source)===null||n===void 0?void 0:n.subscribe(r)}[en](){return this}pipe(...r){return hs(r)(this)}toPromise(r){return r=xu(r),new r((n,i)=>{let o;this.subscribe(s=>o=s,s=>i(s),()=>n(o))})}}return t.create=e=>new t(e),t})();function xu(t){var e;return(e=t??be.Promise)!==null&&e!==void 0?e:Promise}function Qp(t){return t&&M(t.next)&&M(t.error)&&M(t.complete)}function Kp(t){return t&&t instanceof St||Qp(t)&&ei(t)}function ps(t){return M(t?.lift)}function P(t){return e=>{if(ps(e))return e.lift(function(r){try{return t(r,this)}catch(n){this.error(n)}});throw new TypeError("Unable to lift unknown Observable type")}}function A(t,e,r,n,i){return new gs(t,e,r,n,i)}var gs=class extends St{constructor(e,r,n,i,o,s){super(e),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=r?function(a){try{r(a)}catch(c){e.error(c)}}:super._next,this._error=i?function(a){try{i(a)}catch(c){e.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=n?function(){try{n()}catch(a){e.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var e;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:r}=this;super.unsubscribe(),!r&&((e=this.onFinalize)===null||e===void 0||e.call(this))}}};function tn(){return P((t,e)=>{let r=null;t._refCount++;let n=A(e,void 0,void 0,void 0,()=>{if(!t||t._refCount<=0||0<--t._refCount){r=null;return}let i=t._connection,o=r;r=null,i&&(!o||i===o)&&i.unsubscribe(),e.unsubscribe()});t.subscribe(n),n.closed||(r=t.connect())})}var nn=class extends O{constructor(e,r){super(),this.source=e,this.subjectFactory=r,this._subject=null,this._refCount=0,this._connection=null,ps(e)&&(this.lift=e.lift)}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){let e=this._subject;return(!e||e.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:e}=this;this._subject=this._connection=null,e?.unsubscribe()}connect(){let e=this._connection;if(!e){e=this._connection=new G;let r=this.getSubject();e.add(this.source.subscribe(A(r,void 0,()=>{this._teardown(),r.complete()},n=>{this._teardown(),r.error(n)},()=>this._teardown()))),e.closed&&(this._connection=null,e=G.EMPTY)}return e}refCount(){return tn()(this)}};var Au=Qt(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var X=(()=>{class t extends O{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(r){let n=new ri(this,this);return n.operator=r,n}_throwIfClosed(){if(this.closed)throw new Au}next(r){Jt(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let n of this.currentObservers)n.next(r)}})}error(r){Jt(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=r;let{observers:n}=this;for(;n.length;)n.shift().error(r)}})}complete(){Jt(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{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((r=this.observers)===null||r===void 0?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){let{hasError:n,isStopped:i,observers:o}=this;return n||i?as:(this.currentObservers=null,o.push(r),new G(()=>{this.currentObservers=null,qn(o,r)}))}_checkFinalizedStatuses(r){let{hasError:n,thrownError:i,isStopped:o}=this;n?r.error(i):o&&r.complete()}asObservable(){let r=new O;return r.source=this,r}}return t.create=(e,r)=>new ri(e,r),t})(),ri=class extends X{constructor(e,r){super(),this.destination=e,this.source=r}next(e){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.next)===null||n===void 0||n.call(r,e)}error(e){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.error)===null||n===void 0||n.call(r,e)}complete(){var e,r;(r=(e=this.destination)===null||e===void 0?void 0:e.complete)===null||r===void 0||r.call(e)}_subscribe(e){var r,n;return(n=(r=this.source)===null||r===void 0?void 0:r.subscribe(e))!==null&&n!==void 0?n:as}};var ee=class extends X{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){let r=super._subscribe(e);return!r.closed&&e.next(this._value),r}getValue(){let{hasError:e,thrownError:r,_value:n}=this;if(e)throw r;return this._throwIfClosed(),n}next(e){super.next(this._value=e)}};var le=new O(t=>t.complete());function Nu(t){return t&&M(t.schedule)}function Ru(t){return t[t.length-1]}function ii(t){return M(Ru(t))?t.pop():void 0}function rt(t){return Nu(Ru(t))?t.pop():void 0}function Pu(t,e,r,n){function i(o){return o instanceof r?o:new r(function(s){s(o)})}return new(r||(r=Promise))(function(o,s){function a(l){try{u(n.next(l))}catch(d){s(d)}}function c(l){try{u(n.throw(l))}catch(d){s(d)}}function u(l){l.done?o(l.value):i(l.value).then(a,c)}u((n=n.apply(t,e||[])).next())})}function Ou(t){var e=typeof Symbol=="function"&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function Tt(t){return this instanceof Tt?(this.v=t,this):new Tt(t)}function Fu(t,e,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=r.apply(t,e||[]),i,o=[];return i={},a("next"),a("throw"),a("return",s),i[Symbol.asyncIterator]=function(){return this},i;function s(f){return function(g){return Promise.resolve(g).then(f,d)}}function a(f,g){n[f]&&(i[f]=function(E){return new Promise(function(v,y){o.push([f,E,v,y])>1||c(f,E)})},g&&(i[f]=g(i[f])))}function c(f,g){try{u(n[f](g))}catch(E){h(o[0][3],E)}}function u(f){f.value instanceof Tt?Promise.resolve(f.value.v).then(l,d):h(o[0][2],f)}function l(f){c("next",f)}function d(f){c("throw",f)}function h(f,g){f(g),o.shift(),o.length&&c(o[0][0],o[0][1])}}function ku(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],r;return e?e.call(t):(t=typeof Ou=="function"?Ou(t):t[Symbol.iterator](),r={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(o){r[o]=t[o]&&function(s){return new Promise(function(a,c){s=t[o](s),i(a,c,s.done,s.value)})}}function i(o,s,a,c){Promise.resolve(c).then(function(u){o({value:u,done:a})},s)}}var oi=t=>t&&typeof t.length=="number"&&typeof t!="function";function si(t){return M(t?.then)}function ai(t){return M(t[en])}function ci(t){return Symbol.asyncIterator&&M(t?.[Symbol.asyncIterator])}function ui(t){return new TypeError(`You provided ${t!==null&&typeof t=="object"?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function Jp(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var li=Jp();function di(t){return M(t?.[li])}function fi(t){return Fu(this,arguments,function*(){let r=t.getReader();try{for(;;){let{value:n,done:i}=yield Tt(r.read());if(i)return yield Tt(void 0);yield yield Tt(n)}}finally{r.releaseLock()}})}function hi(t){return M(t?.getReader)}function W(t){if(t instanceof O)return t;if(t!=null){if(ai(t))return Xp(t);if(oi(t))return eg(t);if(si(t))return tg(t);if(ci(t))return Lu(t);if(di(t))return ng(t);if(hi(t))return rg(t)}throw ui(t)}function Xp(t){return new O(e=>{let r=t[en]();if(M(r.subscribe))return r.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function eg(t){return new O(e=>{for(let r=0;r{t.then(r=>{e.closed||(e.next(r),e.complete())},r=>e.error(r)).then(null,ti)})}function ng(t){return new O(e=>{for(let r of t)if(e.next(r),e.closed)return;e.complete()})}function Lu(t){return new O(e=>{ig(t,e).catch(r=>e.error(r))})}function rg(t){return Lu(fi(t))}function ig(t,e){var r,n,i,o;return Pu(this,void 0,void 0,function*(){try{for(r=ku(t);n=yield r.next(),!n.done;){let s=n.value;if(e.next(s),e.closed)return}}catch(s){i={error:s}}finally{try{n&&!n.done&&(o=r.return)&&(yield o.call(r))}finally{if(i)throw i.error}}e.complete()})}function se(t,e,r,n=0,i=!1){let o=e.schedule(function(){r(),i?t.add(this.schedule(null,n)):this.unsubscribe()},n);if(t.add(o),!i)return o}function pi(t,e=0){return P((r,n)=>{r.subscribe(A(n,i=>se(n,t,()=>n.next(i),e),()=>se(n,t,()=>n.complete(),e),i=>se(n,t,()=>n.error(i),e)))})}function gi(t,e=0){return P((r,n)=>{n.add(t.schedule(()=>r.subscribe(n),e))})}function Vu(t,e){return W(t).pipe(gi(e),pi(e))}function ju(t,e){return W(t).pipe(gi(e),pi(e))}function Uu(t,e){return new O(r=>{let n=0;return e.schedule(function(){n===t.length?r.complete():(r.next(t[n++]),r.closed||this.schedule())})})}function Bu(t,e){return new O(r=>{let n;return se(r,e,()=>{n=t[li](),se(r,e,()=>{let i,o;try{({value:i,done:o}=n.next())}catch(s){r.error(s);return}o?r.complete():r.next(i)},0,!0)}),()=>M(n?.return)&&n.return()})}function mi(t,e){if(!t)throw new Error("Iterable cannot be null");return new O(r=>{se(r,e,()=>{let n=t[Symbol.asyncIterator]();se(r,e,()=>{n.next().then(i=>{i.done?r.complete():r.next(i.value)})},0,!0)})})}function $u(t,e){return mi(fi(t),e)}function Hu(t,e){if(t!=null){if(ai(t))return Vu(t,e);if(oi(t))return Uu(t,e);if(si(t))return ju(t,e);if(ci(t))return mi(t,e);if(di(t))return Bu(t,e);if(hi(t))return $u(t,e)}throw ui(t)}function B(t,e){return e?Hu(t,e):W(t)}function I(...t){let e=rt(t);return B(t,e)}function rn(t,e){let r=M(t)?t:()=>t,n=i=>i.error(r());return new O(e?i=>e.schedule(n,0,i):n)}function ms(t){return!!t&&(t instanceof O||M(t.lift)&&M(t.subscribe))}var je=Qt(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"});function S(t,e){return P((r,n)=>{let i=0;r.subscribe(A(n,o=>{n.next(t.call(e,o,i++))}))})}var{isArray:og}=Array;function sg(t,e){return og(e)?t(...e):t(e)}function vi(t){return S(e=>sg(t,e))}var{isArray:ag}=Array,{getPrototypeOf:cg,prototype:ug,keys:lg}=Object;function yi(t){if(t.length===1){let e=t[0];if(ag(e))return{args:e,keys:null};if(dg(e)){let r=lg(e);return{args:r.map(n=>e[n]),keys:r}}}return{args:t,keys:null}}function dg(t){return t&&typeof t=="object"&&cg(t)===ug}function Di(t,e){return t.reduce((r,n,i)=>(r[n]=e[i],r),{})}function wi(...t){let e=rt(t),r=ii(t),{args:n,keys:i}=yi(t);if(n.length===0)return B([],e);let o=new O(fg(n,e,i?s=>Di(i,s):ue));return r?o.pipe(vi(r)):o}function fg(t,e,r=ue){return n=>{zu(e,()=>{let{length:i}=t,o=new Array(i),s=i,a=i;for(let c=0;c{let u=B(t[c],e),l=!1;u.subscribe(A(n,d=>{o[c]=d,l||(l=!0,a--),a||n.next(r(o.slice()))},()=>{--s||n.complete()}))},n)},n)}}function zu(t,e,r){t?se(r,t,e):e()}function Gu(t,e,r,n,i,o,s,a){let c=[],u=0,l=0,d=!1,h=()=>{d&&!c.length&&!u&&e.complete()},f=E=>u{o&&e.next(E),u++;let v=!1;W(r(E,l++)).subscribe(A(e,y=>{i?.(y),o?f(y):e.next(y)},()=>{v=!0},void 0,()=>{if(v)try{for(u--;c.length&&ug(y)):g(y)}h()}catch(y){e.error(y)}}))};return t.subscribe(A(e,f,()=>{d=!0,h()})),()=>{a?.()}}function Q(t,e,r=1/0){return M(e)?Q((n,i)=>S((o,s)=>e(n,o,i,s))(W(t(n,i))),r):(typeof e=="number"&&(r=e),P((n,i)=>Gu(n,i,t,r)))}function vs(t=1/0){return Q(ue,t)}function Wu(){return vs(1)}function on(...t){return Wu()(B(t,rt(t)))}function Ci(t){return new O(e=>{W(t()).subscribe(e)})}function ys(...t){let e=ii(t),{args:r,keys:n}=yi(t),i=new O(o=>{let{length:s}=r;if(!s){o.complete();return}let a=new Array(s),c=s,u=s;for(let l=0;l{d||(d=!0,u--),a[l]=h},()=>c--,void 0,()=>{(!c||!d)&&(u||o.next(n?Di(n,a):a),o.complete())}))}});return e?i.pipe(vi(e)):i}function de(t,e){return P((r,n)=>{let i=0;r.subscribe(A(n,o=>t.call(e,o,i++)&&n.next(o)))})}function it(t){return P((e,r)=>{let n=null,i=!1,o;n=e.subscribe(A(r,void 0,void 0,s=>{o=W(t(s,it(t)(e))),n?(n.unsubscribe(),n=null,o.subscribe(r)):i=!0})),i&&(n.unsubscribe(),n=null,o.subscribe(r))})}function qu(t,e,r,n,i){return(o,s)=>{let a=r,c=e,u=0;o.subscribe(A(s,l=>{let d=u++;c=a?t(c,l,d):(a=!0,l),n&&s.next(c)},i&&(()=>{a&&s.next(c),s.complete()})))}}function ot(t,e){return M(e)?Q(t,e,1):Q(t,1)}function st(t){return P((e,r)=>{let n=!1;e.subscribe(A(r,i=>{n=!0,r.next(i)},()=>{n||r.next(t),r.complete()}))})}function Ue(t){return t<=0?()=>le:P((e,r)=>{let n=0;e.subscribe(A(r,i=>{++n<=t&&(r.next(i),t<=n&&r.complete())}))})}function Ds(t){return S(()=>t)}function Ei(t=hg){return P((e,r)=>{let n=!1;e.subscribe(A(r,i=>{n=!0,r.next(i)},()=>n?r.complete():r.error(t())))})}function hg(){return new je}function xt(t){return P((e,r)=>{try{e.subscribe(r)}finally{r.add(t)}})}function Ne(t,e){let r=arguments.length>=2;return n=>n.pipe(t?de((i,o)=>t(i,o,n)):ue,Ue(1),r?st(e):Ei(()=>new je))}function sn(t){return t<=0?()=>le:P((e,r)=>{let n=[];e.subscribe(A(r,i=>{n.push(i),t{for(let i of n)r.next(i);r.complete()},void 0,()=>{n=null}))})}function ws(t,e){let r=arguments.length>=2;return n=>n.pipe(t?de((i,o)=>t(i,o,n)):ue,sn(1),r?st(e):Ei(()=>new je))}function Cs(t,e){return P(qu(t,e,arguments.length>=2,!0))}function Es(...t){let e=rt(t);return P((r,n)=>{(e?on(t,r,e):on(t,r)).subscribe(n)})}function fe(t,e){return P((r,n)=>{let i=null,o=0,s=!1,a=()=>s&&!i&&n.complete();r.subscribe(A(n,c=>{i?.unsubscribe();let u=0,l=o++;W(t(c,l)).subscribe(i=A(n,d=>n.next(e?e(c,d,l,u++):d),()=>{i=null,a()}))},()=>{s=!0,a()}))})}function Is(t){return P((e,r)=>{W(t).subscribe(A(r,()=>r.complete(),Zn)),!r.closed&&e.subscribe(r)})}function K(t,e,r){let n=M(t)||e||r?{next:t,error:e,complete:r}:t;return n?P((i,o)=>{var s;(s=n.subscribe)===null||s===void 0||s.call(n);let a=!0;i.subscribe(A(o,c=>{var u;(u=n.next)===null||u===void 0||u.call(n,c),o.next(c)},()=>{var c;a=!1,(c=n.complete)===null||c===void 0||c.call(n),o.complete()},c=>{var u;a=!1,(u=n.error)===null||u===void 0||u.call(n,c),o.error(c)},()=>{var c,u;a&&((c=n.unsubscribe)===null||c===void 0||c.call(n)),(u=n.finalize)===null||u===void 0||u.call(n)}))}):ue}var pg="https://g.co/ng/security#xss",w=class extends Error{constructor(e,r){super(Ji(e,r)),this.code=e}};function Ji(t,e){return`${`NG0${Math.abs(t)}`}${e?": "+e:""}`}function Xi(t){return{toString:t}.toString()}function j(t){for(let e in t)if(t[e]===j)return e;throw Error("Could not find renamed property on target object.")}function gg(t,e){for(let r in e)e.hasOwnProperty(r)&&!t.hasOwnProperty(r)&&(t[r]=e[r])}function ae(t){if(typeof t=="string")return t;if(Array.isArray(t))return"["+t.map(ae).join(", ")+"]";if(t==null)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;let e=t.toString();if(e==null)return""+e;let r=e.indexOf(` -`);return r===-1?e:e.substring(0,r)}function Zu(t,e){return t==null||t===""?e===null?"":e:e==null||e===""?t:t+" "+e}var mg=j({__forward_ref__:j});function In(t){return t.__forward_ref__=In,t.toString=function(){return ae(this())},t}function ne(t){return Nl(t)?t():t}function Nl(t){return typeof t=="function"&&t.hasOwnProperty(mg)&&t.__forward_ref__===In}function C(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function ze(t){return{providers:t.providers||[],imports:t.imports||[]}}function eo(t){return Yu(t,Ol)||Yu(t,Pl)}function Rl(t){return eo(t)!==null}function Yu(t,e){return t.hasOwnProperty(e)?t[e]:null}function vg(t){let e=t&&(t[Ol]||t[Pl]);return e||null}function Qu(t){return t&&(t.hasOwnProperty(Ku)||t.hasOwnProperty(yg))?t[Ku]:null}var Ol=j({\u0275prov:j}),Ku=j({\u0275inj:j}),Pl=j({ngInjectableDef:j}),yg=j({ngInjectorDef:j}),D=class{constructor(e,r){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,typeof r=="number"?this.__NG_ELEMENT_ID__=r:r!==void 0&&(this.\u0275prov=C({token:this,providedIn:r.providedIn||"root",factory:r.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Fl(t){return t&&!!t.\u0275providers}var Dg=j({\u0275cmp:j}),wg=j({\u0275dir:j}),Cg=j({\u0275pipe:j}),Eg=j({\u0275mod:j}),Ni=j({\u0275fac:j}),Qn=j({__NG_ELEMENT_ID__:j}),Ju=j({__NG_ENV_ID__:j});function kl(t){return typeof t=="string"?t:t==null?"":String(t)}function Ig(t){return typeof t=="function"?t.name||t.toString():typeof t=="object"&&t!=null&&typeof t.type=="function"?t.type.name||t.type.toString():kl(t)}function bg(t,e){let r=e?`. Dependency path: ${e.join(" > ")} > ${t}`:"";throw new w(-200,t)}function Da(t,e){throw new w(-201,!1)}var x=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}(x||{}),Ls;function Ll(){return Ls}function ve(t){let e=Ls;return Ls=t,e}function Vl(t,e,r){let n=eo(t);if(n&&n.providedIn=="root")return n.value===void 0?n.value=n.factory():n.value;if(r&x.Optional)return null;if(e!==void 0)return e;Da(t,"Injector")}var _g={},Kn=_g,Mg="__NG_DI_FLAG__",Ri="ngTempTokenPath",Sg="ngTokenPath",Tg=/\n/gm,xg="\u0275",Xu="__source",ln;function Ag(){return ln}function at(t){let e=ln;return ln=t,e}function Ng(t,e=x.Default){if(ln===void 0)throw new w(-203,!1);return ln===null?Vl(t,void 0,e):ln.get(t,e&x.Optional?null:void 0,e)}function _(t,e=x.Default){return(Ll()||Ng)(ne(t),e)}function p(t,e=x.Default){return _(t,to(e))}function to(t){return typeof t>"u"||typeof t=="number"?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function Vs(t){let e=[];for(let r=0;r ");else if(typeof e=="object"){let o=[];for(let s in e)if(e.hasOwnProperty(s)){let a=e[s];o.push(s+":"+(typeof a=="string"?JSON.stringify(a):ae(a)))}i=`{${o.join(", ")}}`}return`${r}${n?"("+n+")":""}[${i}]: ${t.replace(Tg,` - `)}`}function fn(t,e){let r=t.hasOwnProperty(Ni);return r?t[Ni]:null}function wa(t,e){t.forEach(r=>Array.isArray(r)?wa(r,e):e(r))}function jl(t,e,r){e>=t.length?t.push(r):t.splice(e,0,r)}function Oi(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function Fg(t,e,r,n){let i=t.length;if(i==e)t.push(r,n);else if(i===1)t.push(n,t[0]),t[0]=r;else{for(i--,t.push(t[i-1],t[i]);i>e;){let o=i-2;t[i]=t[o],i--}t[e]=r,t[e+1]=n}}function kg(t,e,r){let n=ar(t,e);return n>=0?t[n|1]=r:(n=~n,Fg(t,n,e,r)),n}function bs(t,e){let r=ar(t,e);if(r>=0)return t[r|1]}function ar(t,e){return Lg(t,e,1)}function Lg(t,e,r){let n=0,i=t.length>>r;for(;i!==n;){let o=n+(i-n>>1),s=t[o<e?i=o:n=o+1}return~(i<e){s=o-1;break}}}for(;o-1){let o;for(;++io?d="":d=i[l+1].toLowerCase(),n&2&&u!==d){if(_e(n))return!1;s=!0}}}}return _e(n)||s}function _e(t){return(t&1)===0}function zg(t,e,r,n){if(e===null)return-1;let i=0;if(n||!r){let o=!1;for(;i-1)for(r++;r0?'="'+a+'"':"")+"]"}else n&8?i+="."+s:n&4&&(i+=" "+s);else i!==""&&!_e(s)&&(e+=tl(o,i),i=""),n=s,o=o||!_e(n);r++}return i!==""&&(e+=tl(o,i)),e}function Yg(t){return t.map(Zg).join(",")}function Qg(t){let e=[],r=[],n=1,i=2;for(;n{let e=Zl(t),r=R(m({},e),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===$l.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&t.dependencies||null,getStandaloneInjector:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||Pe.Emulated,styles:t.styles||ye,_:null,schemas:t.schemas||null,tView:null,id:""});Yl(r);let n=t.dependencies;return r.directiveDefs=rl(n,!1),r.pipeDefs=rl(n,!0),r.id=Xg(r),r})}function Kg(t){return Rt(t)||zl(t)}function Jg(t){return t!==null}function Ge(t){return Xi(()=>({type:t.type,bootstrap:t.bootstrap||ye,declarations:t.declarations||ye,imports:t.imports||ye,exports:t.exports||ye,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function nl(t,e){if(t==null)return hn;let r={};for(let n in t)if(t.hasOwnProperty(n)){let i=t[n],o,s,a=lt.None;Array.isArray(i)?(a=i[0],o=i[1],s=i[2]??o):(o=i,s=i),e?(r[o]=a!==lt.None?[n,a]:n,e[o]=s):r[o]=n}return r}function Ce(t){return Xi(()=>{let e=Zl(t);return Yl(e),e})}function Rt(t){return t[Dg]||null}function zl(t){return t[wg]||null}function Gl(t){return t[Cg]||null}function Wl(t){let e=Rt(t)||zl(t)||Gl(t);return e!==null?e.standalone:!1}function ql(t,e){let r=t[Eg]||null;if(!r&&e===!0)throw new Error(`Type ${ae(t)} does not have '\u0275mod' property.`);return r}function Zl(t){let e={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputTransforms:null,inputConfig:t.inputs||hn,exportAs:t.exportAs||null,standalone:t.standalone===!0,signals:t.signals===!0,selectors:t.selectors||ye,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:nl(t.inputs,e),outputs:nl(t.outputs),debugInfo:null}}function Yl(t){t.features?.forEach(e=>e(t))}function rl(t,e){if(!t)return null;let r=e?Gl:Kg;return()=>(typeof t=="function"?t():t).map(n=>r(n)).filter(Jg)}function Xg(t){let e=0,r=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,t.consts,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery].join("|");for(let i of r)e=Math.imul(31,e)+i.charCodeAt(0)<<0;return e+=2147483648,"c"+e}function _n(t){return{\u0275providers:t}}function em(...t){return{\u0275providers:Ql(!0,t),\u0275fromNgModule:!0}}function Ql(t,...e){let r=[],n=new Set,i,o=s=>{r.push(s)};return wa(e,s=>{let a=s;Us(a,o,[],n)&&(i||=[],i.push(a))}),i!==void 0&&Kl(i,o),r}function Kl(t,e){for(let r=0;r{e(o,n)})}}function Us(t,e,r,n){if(t=ne(t),!t)return!1;let i=null,o=Qu(t),s=!o&&Rt(t);if(!o&&!s){let c=t.ngModule;if(o=Qu(c),o)i=c;else return!1}else{if(s&&!s.standalone)return!1;i=t}let a=n.has(i);if(s){if(a)return!1;if(n.add(i),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let u of c)Us(u,e,r,n)}}else if(o){if(o.imports!=null&&!a){n.add(i);let u;try{wa(o.imports,l=>{Us(l,e,r,n)&&(u||=[],u.push(l))})}finally{}u!==void 0&&Kl(u,e)}if(!a){let u=fn(i)||(()=>new i);e({provide:i,useFactory:u,deps:ye},i),e({provide:Bl,useValue:i,multi:!0},i),e({provide:pn,useValue:()=>_(i),multi:!0},i)}let c=o.providers;if(c!=null&&!a){let u=t;Ea(c,l=>{e(l,u)})}}else return!1;return i!==t&&t.providers!==void 0}function Ea(t,e){for(let r of t)Fl(r)&&(r=r.\u0275providers),Array.isArray(r)?Ea(r,e):e(r)}var tm=j({provide:String,useValue:j});function Jl(t){return t!==null&&typeof t=="object"&&tm in t}function nm(t){return!!(t&&t.useExisting)}function rm(t){return!!(t&&t.useFactory)}function gn(t){return typeof t=="function"}function im(t){return!!t.useClass}var no=new D(""),Mi={},om={},_s;function Ia(){return _s===void 0&&(_s=new Pi),_s}var ce=class{},Xn=class extends ce{get destroyed(){return this._destroyed}constructor(e,r,n,i){super(),this.parent=r,this.source=n,this.scopes=i,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,$s(e,s=>this.processProvider(s)),this.records.set(Ul,an(void 0,this)),i.has("environment")&&this.records.set(ce,an(void 0,this));let o=this.records.get(no);o!=null&&typeof o.value=="string"&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(Bl,ye,x.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let e=k(null);try{for(let n of this._ngOnDestroyHooks)n.ngOnDestroy();let r=this._onDestroyHooks;this._onDestroyHooks=[];for(let n of r)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),k(e)}}onDestroy(e){return this.assertNotDestroyed(),this._onDestroyHooks.push(e),()=>this.removeOnDestroy(e)}runInContext(e){this.assertNotDestroyed();let r=at(this),n=ve(void 0),i;try{return e()}finally{at(r),ve(n)}}get(e,r=Kn,n=x.Default){if(this.assertNotDestroyed(),e.hasOwnProperty(Ju))return e[Ju](this);n=to(n);let i,o=at(this),s=ve(void 0);try{if(!(n&x.SkipSelf)){let c=this.records.get(e);if(c===void 0){let u=lm(e)&&eo(e);u&&this.injectableDefInScope(u)?c=an(Bs(e),Mi):c=null,this.records.set(e,c)}if(c!=null)return this.hydrate(e,c)}let a=n&x.Self?Ia():this.parent;return r=n&x.Optional&&r===Kn?null:r,a.get(e,r)}catch(a){if(a.name==="NullInjectorError"){if((a[Ri]=a[Ri]||[]).unshift(ae(e)),o)throw a;return Og(a,e,"R3InjectorError",this.source)}else throw a}finally{ve(s),at(o)}}resolveInjectorInitializers(){let e=k(null),r=at(this),n=ve(void 0),i;try{let o=this.get(pn,ye,x.Self);for(let s of o)s()}finally{at(r),ve(n),k(e)}}toString(){let e=[],r=this.records;for(let n of r.keys())e.push(ae(n));return`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new w(205,!1)}processProvider(e){e=ne(e);let r=gn(e)?e:ne(e&&e.provide),n=am(e);if(!gn(e)&&e.multi===!0){let i=this.records.get(r);i||(i=an(void 0,Mi,!0),i.factory=()=>Vs(i.multi),this.records.set(r,i)),r=e,i.multi.push(e)}this.records.set(r,n)}hydrate(e,r){let n=k(null);try{return r.value===Mi&&(r.value=om,r.value=r.factory()),typeof r.value=="object"&&r.value&&um(r.value)&&this._ngOnDestroyHooks.add(r.value),r.value}finally{k(n)}}injectableDefInScope(e){if(!e.providedIn)return!1;let r=ne(e.providedIn);return typeof r=="string"?r==="any"||this.scopes.has(r):this.injectorDefTypes.has(r)}removeOnDestroy(e){let r=this._onDestroyHooks.indexOf(e);r!==-1&&this._onDestroyHooks.splice(r,1)}};function Bs(t){let e=eo(t),r=e!==null?e.factory:fn(t);if(r!==null)return r;if(t instanceof D)throw new w(204,!1);if(t instanceof Function)return sm(t);throw new w(204,!1)}function sm(t){if(t.length>0)throw new w(204,!1);let r=vg(t);return r!==null?()=>r.factory(t):()=>new t}function am(t){if(Jl(t))return an(void 0,t.useValue);{let e=Xl(t);return an(e,Mi)}}function Xl(t,e,r){let n;if(gn(t)){let i=ne(t);return fn(i)||Bs(i)}else if(Jl(t))n=()=>ne(t.useValue);else if(rm(t))n=()=>t.useFactory(...Vs(t.deps||[]));else if(nm(t))n=()=>_(ne(t.useExisting));else{let i=ne(t&&(t.useClass||t.provide));if(cm(t))n=()=>new i(...Vs(t.deps));else return fn(i)||Bs(i)}return n}function an(t,e,r=!1){return{factory:t,value:e,multi:r?[]:void 0}}function cm(t){return!!t.deps}function um(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function lm(t){return typeof t=="function"||typeof t=="object"&&t instanceof D}function $s(t,e){for(let r of t)Array.isArray(r)?$s(r,e):r&&Fl(r)?$s(r.\u0275providers,e):e(r)}function Se(t,e){t instanceof Xn&&t.assertNotDestroyed();let r,n=at(t),i=ve(void 0);try{return e()}finally{at(n),ve(i)}}function dm(){return Ll()!==void 0||Ag()!=null}function fm(t){return typeof t=="function"}var We=0,N=1,b=2,re=3,Me=4,Te=5,Fi=6,ki=7,Be=8,mn=9,$e=10,ie=11,er=12,il=13,cr=14,Fe=15,tr=16,cn=17,ro=18,io=19,ed=20,ct=21,Ms=22,De=23,Ot=25,td=1;var Pt=7,Li=8,Vi=9,we=10,ji=function(t){return t[t.None=0]="None",t[t.HasTransplantedViews=2]="HasTransplantedViews",t}(ji||{});function ut(t){return Array.isArray(t)&&typeof t[td]=="object"}function qe(t){return Array.isArray(t)&&t[td]===!0}function nd(t){return(t.flags&4)!==0}function oo(t){return t.componentOffset>-1}function rd(t){return(t.flags&1)===1}function dt(t){return!!t.template}function Hs(t){return(t[b]&512)!==0}var zs=class{constructor(e,r,n){this.previousValue=e,this.currentValue=r,this.firstChange=n}isFirstChange(){return this.firstChange}};function id(t,e,r,n){e!==null?e.applyValueToInputSignal(e,n):t[r]=n}function jt(){return od}function od(t){return t.type.prototype.ngOnChanges&&(t.setInput=pm),hm}jt.ngInherit=!0;function hm(){let t=ad(this),e=t?.current;if(e){let r=t.previous;if(r===hn)t.previous=e;else for(let n in e)r[n]=e[n];t.current=null,this.ngOnChanges(e)}}function pm(t,e,r,n,i){let o=this.declaredInputs[n],s=ad(t)||gm(t,{previous:hn,current:null}),a=s.current||(s.current={}),c=s.previous,u=c[o];a[o]=new zs(u&&u.currentValue,r,c===hn),id(t,e,i,r)}var sd="__ngSimpleChanges__";function ad(t){return t[sd]||null}function gm(t,e){return t[sd]=e}var ol=null;var Re=function(t,e,r){ol?.(t,e,r)},mm="svg",vm="math";function ke(t){for(;Array.isArray(t);)t=t[We];return t}function cd(t,e){return ke(e[t])}function xe(t,e){return ke(e[t.index])}function ud(t,e){return t.data[e]}function gt(t,e){let r=e[t];return ut(r)?r:r[We]}function ba(t){return(t[b]&128)===128}function ym(t){return qe(t[re])}function sl(t,e){return e==null?null:t[e]}function ld(t){t[cn]=0}function dd(t){t[b]&1024||(t[b]|=1024,ba(t)&&so(t))}function nr(t){return!!(t[b]&9216||t[De]?.dirty)}function Gs(t){t[$e].changeDetectionScheduler?.notify(7),t[b]&64&&(t[b]|=1024),nr(t)&&so(t)}function so(t){t[$e].changeDetectionScheduler?.notify(0);let e=Ft(t);for(;e!==null&&!(e[b]&8192||(e[b]|=8192,!ba(e)));)e=Ft(e)}function fd(t,e){if((t[b]&256)===256)throw new w(911,!1);t[ct]===null&&(t[ct]=[]),t[ct].push(e)}function Dm(t,e){if(t[ct]===null)return;let r=t[ct].indexOf(e);r!==-1&&t[ct].splice(r,1)}function Ft(t){let e=t[re];return qe(e)?e[re]:e}var F={lFrame:Ed(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var hd=!1;function wm(){return F.lFrame.elementDepthCount}function Cm(){F.lFrame.elementDepthCount++}function Em(){F.lFrame.elementDepthCount--}function pd(){return F.bindingsEnabled}function Im(){return F.skipHydrationRootTNode!==null}function bm(t){return F.skipHydrationRootTNode===t}function _m(){F.skipHydrationRootTNode=null}function J(){return F.lFrame.lView}function Ze(){return F.lFrame.tView}function Ee(){let t=gd();for(;t!==null&&t.type===64;)t=t.parent;return t}function gd(){return F.lFrame.currentTNode}function Mm(){let t=F.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}function ao(t,e){let r=F.lFrame;r.currentTNode=t,r.isParent=e}function md(){return F.lFrame.isParent}function Sm(){F.lFrame.isParent=!1}function vd(){return hd}function al(t){hd=t}function Tm(t){return F.lFrame.bindingIndex=t}function yd(){return F.lFrame.bindingIndex++}function xm(t){let e=F.lFrame,r=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,r}function Am(){return F.lFrame.inI18n}function Nm(t,e){let r=F.lFrame;r.bindingIndex=r.bindingRootIndex=t,Ws(e)}function Rm(){return F.lFrame.currentDirectiveIndex}function Ws(t){F.lFrame.currentDirectiveIndex=t}function Om(t){let e=F.lFrame.currentDirectiveIndex;return e===-1?null:t[e]}function Dd(t){F.lFrame.currentQueryIndex=t}function Pm(t){let e=t[N];return e.type===2?e.declTNode:e.type===1?t[Te]:null}function wd(t,e,r){if(r&x.SkipSelf){let i=e,o=t;for(;i=i.parent,i===null&&!(r&x.Host);)if(i=Pm(o),i===null||(o=o[cr],i.type&10))break;if(i===null)return!1;e=i,t=o}let n=F.lFrame=Cd();return n.currentTNode=e,n.lView=t,!0}function _a(t){let e=Cd(),r=t[N];F.lFrame=e,e.currentTNode=r.firstChild,e.lView=t,e.tView=r,e.contextLView=t,e.bindingIndex=r.bindingStartIndex,e.inI18n=!1}function Cd(){let t=F.lFrame,e=t===null?null:t.child;return e===null?Ed(t):e}function Ed(t){let e={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:t,child:null,inI18n:!1};return t!==null&&(t.child=e),e}function Id(){let t=F.lFrame;return F.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var bd=Id;function Ma(){let t=Id();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function Mn(){return F.lFrame.selectedIndex}function kt(t){F.lFrame.selectedIndex=t}function Fm(){let t=F.lFrame;return ud(t.tView,t.selectedIndex)}function km(){return F.lFrame.currentNamespace}var _d=!0;function Md(){return _d}function Sd(t){_d=t}function Lm(t,e,r){let{ngOnChanges:n,ngOnInit:i,ngDoCheck:o}=e.type.prototype;if(n){let s=od(e);(r.preOrderHooks??=[]).push(t,s),(r.preOrderCheckHooks??=[]).push(t,s)}i&&(r.preOrderHooks??=[]).push(0-t,i),o&&((r.preOrderHooks??=[]).push(t,o),(r.preOrderCheckHooks??=[]).push(t,o))}function Td(t,e){for(let r=e.directiveStart,n=e.directiveEnd;r=n)break}else e[c]<0&&(t[cn]+=65536),(a>14>16&&(t[b]&3)===e&&(t[b]+=16384,cl(a,o)):cl(a,o)}var dn=-1,Lt=class{constructor(e,r,n){this.factory=e,this.resolving=!1,this.canSeeViewProviders=r,this.injectImpl=n}};function jm(t){return t instanceof Lt}function Um(t){return(t.flags&8)!==0}function Bm(t){return(t.flags&16)!==0}var Ts={},qs=class{constructor(e,r){this.injector=e,this.parentInjector=r}get(e,r,n){n=to(n);let i=this.injector.get(e,Ts,n);return i!==Ts||r===Ts?i:this.parentInjector.get(e,r,n)}};function Ad(t){return t!==dn}function Ui(t){return t&32767}function $m(t){return t>>16}function Bi(t,e){let r=$m(t),n=e;for(;r>0;)n=n[cr],r--;return n}var Zs=!0;function ul(t){let e=Zs;return Zs=t,e}var Hm=256,Nd=Hm-1,Rd=5,zm=0,Oe={};function Gm(t,e,r){let n;typeof r=="string"?n=r.charCodeAt(0)||0:r.hasOwnProperty(Qn)&&(n=r[Qn]),n==null&&(n=r[Qn]=zm++);let i=n&Nd,o=1<>Rd)]|=o}function $i(t,e){let r=Od(t,e);if(r!==-1)return r;let n=e[N];n.firstCreatePass&&(t.injectorIndex=e.length,xs(n.data,t),xs(e,null),xs(n.blueprint,null));let i=Sa(t,e),o=t.injectorIndex;if(Ad(i)){let s=Ui(i),a=Bi(i,e),c=a[N].data;for(let u=0;u<8;u++)e[o+u]=a[s+u]|c[s+u]}return e[o+8]=i,o}function xs(t,e){t.push(0,0,0,0,0,0,0,0,e)}function Od(t,e){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||e[t.injectorIndex+8]===null?-1:t.injectorIndex}function Sa(t,e){if(t.parent&&t.parent.injectorIndex!==-1)return t.parent.injectorIndex;let r=0,n=null,i=e;for(;i!==null;){if(n=Vd(i),n===null)return dn;if(r++,i=i[cr],n.injectorIndex!==-1)return n.injectorIndex|r<<16}return dn}function Ys(t,e,r){Gm(t,e,r)}function Pd(t,e,r){if(r&x.Optional||t!==void 0)return t;Da(e,"NodeInjector")}function Fd(t,e,r,n){if(r&x.Optional&&n===void 0&&(n=null),!(r&(x.Self|x.Host))){let i=t[mn],o=ve(void 0);try{return i?i.get(e,n,r&x.Optional):Vl(e,n,r&x.Optional)}finally{ve(o)}}return Pd(n,e,r)}function kd(t,e,r,n=x.Default,i){if(t!==null){if(e[b]&2048&&!(n&x.Self)){let s=Qm(t,e,r,n,Oe);if(s!==Oe)return s}let o=Ld(t,e,r,n,Oe);if(o!==Oe)return o}return Fd(e,r,n,i)}function Ld(t,e,r,n,i){let o=Zm(r);if(typeof o=="function"){if(!wd(e,t,n))return n&x.Host?Pd(i,r,n):Fd(e,r,n,i);try{let s;if(s=o(n),s==null&&!(n&x.Optional))Da(r);else return s}finally{bd()}}else if(typeof o=="number"){let s=null,a=Od(t,e),c=dn,u=n&x.Host?e[Fe][Te]:null;for((a===-1||n&x.SkipSelf)&&(c=a===-1?Sa(t,e):e[a+8],c===dn||!dl(n,!1)?a=-1:(s=e[N],a=Ui(c),e=Bi(c,e)));a!==-1;){let l=e[N];if(ll(o,a,l.data)){let d=Wm(a,e,r,s,n,u);if(d!==Oe)return d}c=e[a+8],c!==dn&&dl(n,e[N].data[a+8]===u)&&ll(o,a,e)?(s=l,a=Ui(c),e=Bi(c,e)):a=-1}}return i}function Wm(t,e,r,n,i,o){let s=e[N],a=s.data[t+8],c=n==null?oo(a)&&Zs:n!=s&&(a.type&3)!==0,u=i&x.Host&&o===a,l=qm(a,s,r,c,u);return l!==null?vn(e,s,l,a):Oe}function qm(t,e,r,n,i){let o=t.providerIndexes,s=e.data,a=o&1048575,c=t.directiveStart,u=t.directiveEnd,l=o>>20,d=n?a:a+l,h=i?a+l:u;for(let f=d;f=c&&g.type===r)return f}if(i){let f=s[c];if(f&&dt(f)&&f.type===r)return c}return null}function vn(t,e,r,n){let i=t[r],o=e.data;if(jm(i)){let s=i;s.resolving&&bg(Ig(o[r]));let a=ul(s.canSeeViewProviders);s.resolving=!0;let c,u=s.injectImpl?ve(s.injectImpl):null,l=wd(t,n,x.Default);try{i=t[r]=s.factory(void 0,o,t,n),e.firstCreatePass&&r>=n.directiveStart&&Lm(r,o[r],e)}finally{u!==null&&ve(u),ul(a),s.resolving=!1,bd()}}return i}function Zm(t){if(typeof t=="string")return t.charCodeAt(0)||0;let e=t.hasOwnProperty(Qn)?t[Qn]:void 0;return typeof e=="number"?e>=0?e&Nd:Ym:e}function ll(t,e,r){let n=1<>Rd)]&n)}function dl(t,e){return!(t&x.Self)&&!(t&x.Host&&e)}var Nt=class{constructor(e,r){this._tNode=e,this._lView=r}get(e,r,n){return kd(this._tNode,this._lView,e,to(n),r)}};function Ym(){return new Nt(Ee(),J())}function ur(t){return Xi(()=>{let e=t.prototype.constructor,r=e[Ni]||Qs(e),n=Object.prototype,i=Object.getPrototypeOf(t.prototype).constructor;for(;i&&i!==n;){let o=i[Ni]||Qs(i);if(o&&o!==r)return o;i=Object.getPrototypeOf(i)}return o=>new o})}function Qs(t){return Nl(t)?()=>{let e=Qs(ne(t));return e&&e()}:fn(t)}function Qm(t,e,r,n,i){let o=t,s=e;for(;o!==null&&s!==null&&s[b]&2048&&!(s[b]&512);){let a=Ld(o,s,r,n|x.Self,Oe);if(a!==Oe)return a;let c=o.parent;if(!c){let u=s[ed];if(u){let l=u.get(r,Oe,n);if(l!==Oe)return l}c=Vd(s),s=s[cr]}o=c}return i}function Vd(t){let e=t[N],r=e.type;return r===2?e.declTNode:r===1?t[Te]:null}function fl(t,e=null,r=null,n){let i=jd(t,e,r,n);return i.resolveInjectorInitializers(),i}function jd(t,e=null,r=null,n,i=new Set){let o=[r||ye,em(t)];return n=n||(typeof t=="object"?void 0:ae(t)),new Xn(o,e||Ia(),n||null,i)}var At=class At{static create(e,r){if(Array.isArray(e))return fl({name:""},r,e,"");{let n=e.name??"";return fl({name:n},e.parent,e.providers,n)}}};At.THROW_IF_NOT_FOUND=Kn,At.NULL=new Pi,At.\u0275prov=C({token:At,providedIn:"any",factory:()=>_(Ul)}),At.__NG_ELEMENT_ID__=-1;var ft=At;var Km=new D("");Km.__NG_ELEMENT_ID__=t=>{let e=Ee();if(e===null)throw new w(204,!1);if(e.type&2)return e.value;if(t&x.Optional)return null;throw new w(204,!1)};var Jm="ngOriginalError";function As(t){return t[Jm]}var Ud=!0,Bd=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=Xm,e.__NG_ENV_ID__=n=>n;let t=e;return t})(),Ks=class extends Bd{constructor(e){super(),this._lView=e}onDestroy(e){return fd(this._lView,e),()=>Dm(this._lView,e)}};function Xm(){return new Ks(J())}var mt=(()=>{let e=class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new ee(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}};e.\u0275prov=C({token:e,providedIn:"root",factory:()=>new e});let t=e;return t})();var Js=class extends X{constructor(e=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=e,dm()&&(this.destroyRef=p(Bd,{optional:!0})??void 0,this.pendingTasks=p(mt,{optional:!0})??void 0)}emit(e){let r=k(null);try{super.next(e)}finally{k(r)}}subscribe(e,r,n){let i=e,o=r||(()=>null),s=n;if(e&&typeof e=="object"){let c=e;i=c.next?.bind(c),o=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(o=this.wrapInTimeout(o),i&&(i=this.wrapInTimeout(i)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:i,error:o,complete:s});return e instanceof G&&e.add(a),a}wrapInTimeout(e){return r=>{let n=this.pendingTasks?.add();setTimeout(()=>{e(r),n!==void 0&&this.pendingTasks?.remove(n)})}}},q=Js;function Hi(...t){}function $d(t){let e,r;function n(){t=Hi;try{r!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(r),e!==void 0&&clearTimeout(e)}catch{}}return e=setTimeout(()=>{t(),n()}),typeof requestAnimationFrame=="function"&&(r=requestAnimationFrame(()=>{t(),n()})),()=>n()}function hl(t){return queueMicrotask(()=>t()),()=>{t=Hi}}var Ta="isAngularZone",zi=Ta+"_ID",ev=0,$=class t{constructor(e){this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new q(!1),this.onMicrotaskEmpty=new q(!1),this.onStable=new q(!1),this.onError=new q(!1);let{enableLongStackTrace:r=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:i=!1,scheduleInRootZone:o=Ud}=e;if(typeof Zone>"u")throw new w(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),r&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!i&&n,s.shouldCoalesceRunChangeDetection=i,s.callbackScheduled=!1,s.scheduleInRootZone=o,rv(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Ta)===!0}static assertInAngularZone(){if(!t.isInAngularZone())throw new w(909,!1)}static assertNotInAngularZone(){if(t.isInAngularZone())throw new w(909,!1)}run(e,r,n){return this._inner.run(e,r,n)}runTask(e,r,n,i){let o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+i,e,tv,Hi,Hi);try{return o.runTask(s,r,n)}finally{o.cancelTask(s)}}runGuarded(e,r,n){return this._inner.runGuarded(e,r,n)}runOutsideAngular(e){return this._outer.run(e)}},tv={};function xa(t){if(t._nesting==0&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function nv(t){if(t.isCheckStableRunning||t.callbackScheduled)return;t.callbackScheduled=!0;function e(){$d(()=>{t.callbackScheduled=!1,Xs(t),t.isCheckStableRunning=!0,xa(t),t.isCheckStableRunning=!1})}t.scheduleInRootZone?Zone.root.run(()=>{e()}):t._outer.run(()=>{e()}),Xs(t)}function rv(t){let e=()=>{nv(t)},r=ev++;t._inner=t._inner.fork({name:"angular",properties:{[Ta]:!0,[zi]:r,[zi+r]:!0},onInvokeTask:(n,i,o,s,a,c)=>{if(iv(c))return n.invokeTask(o,s,a,c);try{return pl(t),n.invokeTask(o,s,a,c)}finally{(t.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&e(),gl(t)}},onInvoke:(n,i,o,s,a,c,u)=>{try{return pl(t),n.invoke(o,s,a,c,u)}finally{t.shouldCoalesceRunChangeDetection&&!t.callbackScheduled&&!ov(c)&&e(),gl(t)}},onHasTask:(n,i,o,s)=>{n.hasTask(o,s),i===o&&(s.change=="microTask"?(t._hasPendingMicrotasks=s.microTask,Xs(t),xa(t)):s.change=="macroTask"&&(t.hasPendingMacrotasks=s.macroTask))},onHandleError:(n,i,o,s)=>(n.handleError(o,s),t.runOutsideAngular(()=>t.onError.emit(s)),!1)})}function Xs(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.callbackScheduled===!0?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function pl(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function gl(t){t._nesting--,xa(t)}var ea=class{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new q,this.onMicrotaskEmpty=new q,this.onStable=new q,this.onError=new q}run(e,r,n){return e.apply(r,n)}runGuarded(e,r,n){return e.apply(r,n)}runOutsideAngular(e){return e()}runTask(e,r,n,i){return e.apply(r,n)}};function iv(t){return Hd(t,"__ignore_ng_zone__")}function ov(t){return Hd(t,"__scheduler_tick__")}function Hd(t,e){return!Array.isArray(t)||t.length!==1?!1:t[0]?.data?.[e]===!0}var ht=class{constructor(){this._console=console}handleError(e){let r=this._findOriginalError(e);this._console.error("ERROR",e),r&&this._console.error("ORIGINAL ERROR",r)}_findOriginalError(e){let r=e&&As(e);for(;r&&As(r);)r=As(r);return r||null}},sv=new D("",{providedIn:"root",factory:()=>{let t=p($),e=p(ht);return r=>t.runOutsideAngular(()=>e.handleError(r))}});function av(){return Aa(Ee(),J())}function Aa(t,e){return new Ut(xe(t,e))}var Ut=(()=>{let e=class e{constructor(n){this.nativeElement=n}};e.__NG_ELEMENT_ID__=av;let t=e;return t})();function zd(t){return(t.flags&128)===128}var Gd=new Map,cv=0;function uv(){return cv++}function lv(t){Gd.set(t[io],t)}function dv(t){Gd.delete(t[io])}var ml="__ngContext__";function yn(t,e){ut(e)?(t[ml]=e[io],lv(e)):t[ml]=e}function Wd(t){return Zd(t[er])}function qd(t){return Zd(t[Me])}function Zd(t){for(;t!==null&&!qe(t);)t=t[Me];return t}var ta;function Yd(t){ta=t}function fv(){if(ta!==void 0)return ta;if(typeof document<"u")return document;throw new w(210,!1)}var Na=new D("",{providedIn:"root",factory:()=>hv}),hv="ng",Ra=new D(""),vt=new D("",{providedIn:"platform",factory:()=>"unknown"});var Oa=new D("",{providedIn:"root",factory:()=>fv().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var pv="h",gv="b";var mv=()=>null;function Pa(t,e,r=!1){return mv(t,e,r)}var Qd=!1,vv=new D("",{providedIn:"root",factory:()=>Qd});var na=class{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${pg})`}};function Fa(t){return t instanceof na?t.changingThisBreaksApplicationSecurity:t}function Kd(t){return t instanceof Function?t():t}var He=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(He||{}),yv;function ka(t,e){return yv(t,e)}function un(t,e,r,n,i){if(n!=null){let o,s=!1;qe(n)?o=n:ut(n)&&(s=!0,n=n[We]);let a=ke(n);t===0&&r!==null?i==null?nf(e,r,a):Gi(e,r,a,i||null,!0):t===1&&r!==null?Gi(e,r,a,i||null,!0):t===2?Ov(e,a,s):t===3&&e.destroyNode(a),o!=null&&Fv(e,t,o,r,i)}}function Dv(t,e){return t.createText(e)}function wv(t,e,r){t.setValue(e,r)}function Jd(t,e,r){return t.createElement(e,r)}function Cv(t,e){Xd(t,e),e[We]=null,e[Te]=null}function Ev(t,e,r,n,i,o){n[We]=i,n[Te]=e,co(t,n,r,1,i,o)}function Xd(t,e){e[$e].changeDetectionScheduler?.notify(8),co(t,e,e[ie],2,null,null)}function Iv(t){let e=t[er];if(!e)return Ns(t[N],t);for(;e;){let r=null;if(ut(e))r=e[er];else{let n=e[we];n&&(r=n)}if(!r){for(;e&&!e[Me]&&e!==t;)ut(e)&&Ns(e[N],e),e=e[re];e===null&&(e=t),ut(e)&&Ns(e[N],e),r=e&&e[Me]}e=r}}function bv(t,e,r,n){let i=we+n,o=r.length;n>0&&(r[i-1][Me]=e),n0&&(t[r-1][Me]=n[Me]);let o=Oi(t,we+e);Cv(n[N],n);let s=o[ro];s!==null&&s.detachView(o[N]),n[re]=null,n[Me]=null,n[b]&=-129}return n}function tf(t,e){if(!(e[b]&256)){let r=e[ie];r.destroyNode&&co(t,e,r,3,null,null),Iv(e)}}function Ns(t,e){if(e[b]&256)return;let r=k(null);try{e[b]&=-129,e[b]|=256,e[De]&&os(e[De]),Mv(t,e),_v(t,e),e[N].type===1&&e[ie].destroy();let n=e[tr];if(n!==null&&qe(e[re])){n!==e[re]&&La(n,e);let i=e[ro];i!==null&&i.detachView(t)}dv(e)}finally{k(r)}}function _v(t,e){let r=t.cleanup,n=e[ki];if(r!==null)for(let o=0;o=0?n[s]():n[-s].unsubscribe(),o+=2}else{let s=n[r[o+1]];r[o].call(s)}n!==null&&(e[ki]=null);let i=e[ct];if(i!==null){e[ct]=null;for(let o=0;o-1){let{encapsulation:o}=t.data[n.directiveStart+i];if(o===Pe.None||o===Pe.Emulated)return null}return xe(n,r)}}function Gi(t,e,r,n,i){t.insertBefore(e,r,n,i)}function nf(t,e,r){t.appendChild(e,r)}function vl(t,e,r,n,i){n!==null?Gi(t,e,r,n,i):nf(t,e,r)}function rf(t,e){return t.parentNode(e)}function xv(t,e){return t.nextSibling(e)}function Av(t,e,r){return Rv(t,e,r)}function Nv(t,e,r){return t.type&40?xe(t,r):null}var Rv=Nv,yl;function of(t,e,r,n){let i=Sv(t,n,e),o=e[ie],s=n.parent||e[Te],a=Av(s,n,e);if(i!=null)if(Array.isArray(r))for(let c=0;cOt&&uf(t,e,Ot,!1),Re(s?2:0,i),r(n,i)}finally{kt(o),Re(s?3:1,i)}}function hf(t,e,r){if(nd(e)){let n=k(null);try{let i=e.directiveStart,o=e.directiveEnd;for(let s=i;snull;function Wv(t,e,r,n,i,o){let s=e?e.injectorIndex:-1,a=0;return Im()&&(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:i,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function Dl(t,e,r,n,i){for(let o in e){if(!e.hasOwnProperty(o))continue;let s=e[o];if(s===void 0)continue;n??={};let a,c=lt.None;Array.isArray(s)?(a=s[0],c=s[1]):a=s;let u=o;if(i!==null){if(!i.hasOwnProperty(o))continue;u=i[o]}t===0?wl(n,r,u,a,c):wl(n,r,u,a)}return n}function wl(t,e,r,n,i){let o;t.hasOwnProperty(r)?(o=t[r]).push(e,n):o=t[r]=[e,n],i!==void 0&&o.push(i)}function qv(t,e,r){let n=e.directiveStart,i=e.directiveEnd,o=t.data,s=e.attrs,a=[],c=null,u=null;for(let l=n;l0;){let r=t[--e];if(typeof r=="number"&&r<0)return r}return 0}function ey(t,e,r,n){let i=r.directiveStart,o=r.directiveEnd;oo(r)&&ay(e,r,t.data[i+r.componentOffset]),t.firstCreatePass||$i(r,e),yn(n,e);let s=r.initialInputs;for(let a=i;a{so(t.lView)},consumerOnSignalRead(){this.lView[De]=this}});function Iy(t){let e=t[De]??Object.create(by);return e.lView=t,e}var by=R(m({},Wn),{consumerIsAlwaysLive:!0,consumerMarkedDirty:t=>{let e=Ft(t.lView);for(;e&&!Ef(e[N]);)e=Ft(e);e&&dd(e)},consumerOnSignalRead(){this.lView[De]=this}});function Ef(t){return t.type!==2}var _y=100;function If(t,e=!0,r=0){let n=t[$e],i=n.rendererFactory,o=!1;o||i.begin?.();try{My(t,r)}catch(s){throw e&&Df(t,s),s}finally{o||(i.end?.(),n.inlineEffectRunner?.flush())}}function My(t,e){let r=vd();try{al(!0),aa(t,e);let n=0;for(;nr(t);){if(n===_y)throw new w(103,!1);n++,aa(t,1)}}finally{al(r)}}function Sy(t,e,r,n){let i=e[b];if((i&256)===256)return;let o=!1,s=!1;!o&&e[$e].inlineEffectRunner?.flush(),_a(e);let a=!0,c=null,u=null;o||(Ef(t)?(u=Dy(e),c=Qr(u)):lu()===null?(a=!1,u=Iy(e),c=Qr(u)):e[De]&&(os(e[De]),e[De]=null));try{ld(e),Tm(t.bindingStartIndex),r!==null&&ff(t,e,r,2,n);let l=(i&3)===3;if(!o)if(l){let f=t.preOrderCheckHooks;f!==null&&Si(e,f,null)}else{let f=t.preOrderHooks;f!==null&&Ti(e,f,0,null),Ss(e,0)}if(s||Ty(e),bf(e,0),t.contentQueries!==null&&yf(t,e),!o)if(l){let f=t.contentCheckHooks;f!==null&&Si(e,f)}else{let f=t.contentHooks;f!==null&&Ti(e,f,1),Ss(e,1)}Vv(t,e);let d=t.components;d!==null&&Mf(e,d,0);let h=t.viewQuery;if(h!==null&&sa(2,h,n),!o)if(l){let f=t.viewCheckHooks;f!==null&&Si(e,f)}else{let f=t.viewHooks;f!==null&&Ti(e,f,2),Ss(e,2)}if(t.firstUpdatePass===!0&&(t.firstUpdatePass=!1),e[Ms]){for(let f of e[Ms])f();e[Ms]=null}o||(e[b]&=-73)}catch(l){throw o||so(e),l}finally{u!==null&&(rs(u,c),a&&Cy(u)),Ma()}}function bf(t,e){for(let r=Wd(t);r!==null;r=qd(r))for(let n=we;n-1&&(ra(e,n),Oi(r,n))}this._attachedToViewContainer=!1}tf(this._lView[N],this._lView)}onDestroy(e){fd(this._lView,e)}markForCheck(){za(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[b]&=-129}reattach(){Gs(this._lView),this._lView[b]|=128}detectChanges(){this._lView[b]|=1024,If(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new w(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let e=Hs(this._lView),r=this._lView[tr];r!==null&&!e&&La(r,this._lView),Xd(this._lView[N],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new w(902,!1);this._appRef=e;let r=Hs(this._lView),n=this._lView[tr];n!==null&&!r&&ef(n,this._lView),Gs(this._lView)}};var iT=new RegExp(`^(\\d+)*(${gv}|${pv})*(.*)`);var Ay=()=>null;function El(t,e){return Ay(t,e)}var rr=class{},Ga=new D("",{providedIn:"root",factory:()=>!1});var Sf=new D(""),Tf=new D(""),ca=class{},qi=class{};function Ny(t){let e=Error(`No component factory found for ${ae(t)}.`);return e[Ry]=t,e}var Ry="ngComponent";var ua=class{resolveComponentFactory(e){throw Ny(e)}},Ja=class Ja{};Ja.NULL=new ua;var wn=Ja,Cn=class{},Tn=(()=>{let e=class e{constructor(){this.destroyNode=null}};e.__NG_ELEMENT_ID__=()=>Oy();let t=e;return t})();function Oy(){let t=J(),e=Ee(),r=gt(e.index,t);return(ut(r)?r:t)[ie]}var Py=(()=>{let e=class e{};e.\u0275prov=C({token:e,providedIn:"root",factory:()=>null});let t=e;return t})();var Il=new Set;function xn(t){Il.has(t)||(Il.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}var xf=(()=>{let e=class e{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){let n=[...this.internalCallbacks];this.internalCallbacks.length=0;for(let i of n)i()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}};e.\u0275prov=C({token:e,providedIn:"root",factory:()=>new e});let t=e;return t})();function la(t,e,r){let n=r?t.styles:null,i=r?t.classes:null,o=0;if(e!==null)for(let s=0;s0&&af(t,r,o.join(" "))}}function By(t,e,r){let n=t.projection=[];for(let i=0;i{let e=class e{};e.__NG_ELEMENT_ID__=Hy;let t=e;return t})();function Hy(){let t=Ee();return Gy(t,J())}var zy=uo,Af=class extends zy{constructor(e,r,n){super(),this._lContainer=e,this._hostTNode=r,this._hostLView=n}get element(){return Aa(this._hostTNode,this._hostLView)}get injector(){return new Nt(this._hostTNode,this._hostLView)}get parentInjector(){let e=Sa(this._hostTNode,this._hostLView);if(Ad(e)){let r=Bi(e,this._hostLView),n=Ui(e),i=r[N].data[n+8];return new Nt(i,r)}else return new Nt(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){let r=_l(this._lContainer);return r!==null&&r[e]||null}get length(){return this._lContainer.length-we}createEmbeddedView(e,r,n){let i,o;typeof n=="number"?i=n:n!=null&&(i=n.index,o=n.injector);let s=El(this._lContainer,e.ssrId),a=e.createEmbeddedViewImpl(r||{},o,s);return this.insertImpl(a,i,Cl(this._hostTNode,s)),a}createComponent(e,r,n,i,o){let s=e&&!fm(e),a;if(s)a=r;else{let g=r||{};a=g.index,n=g.injector,i=g.projectableNodes,o=g.environmentInjector||g.ngModuleRef}let c=s?e:new ir(Rt(e)),u=n||this.parentInjector;if(!o&&c.ngModule==null){let E=(s?u:this.parentInjector).get(ce,null);E&&(o=E)}let l=Rt(c.componentType??{}),d=El(this._lContainer,l?.id??null),h=d?.firstChild??null,f=c.create(u,i,h,o);return this.insertImpl(f.hostView,a,Cl(this._hostTNode,d)),f}insert(e,r){return this.insertImpl(e,r,!0)}insertImpl(e,r,n){let i=e._lView;if(ym(i)){let a=this.indexOf(e);if(a!==-1)this.detach(a);else{let c=i[re],u=new Af(c,c[Te],c[re]);u.detach(u.indexOf(e))}}let o=this._adjustIndex(r),s=this._lContainer;return vy(s,i,o,n),e.attachToViewContainerRef(),jl(Rs(s),o,e),e}move(e,r){return this.insert(e,r)}indexOf(e){let r=_l(this._lContainer);return r!==null?r.indexOf(e):-1}remove(e){let r=this._adjustIndex(e,-1),n=ra(this._lContainer,r);n&&(Oi(Rs(this._lContainer),r),tf(n[N],n))}detach(e){let r=this._adjustIndex(e,-1),n=ra(this._lContainer,r);return n&&Oi(Rs(this._lContainer),r)!=null?new Dn(n):null}_adjustIndex(e,r=0){return e??this.length+r}};function _l(t){return t[Li]}function Rs(t){return t[Li]||(t[Li]=[])}function Gy(t,e){let r,n=e[t.index];return qe(n)?r=n:(r=ly(n,e,null,t),e[t.index]=r,$a(e,r)),qy(r,e,t,n),new Af(r,t,e)}function Wy(t,e){let r=t[ie],n=r.createComment(""),i=xe(e,t),o=rf(r,i);return Gi(r,o,n,xv(r,i),!1),n}var qy=Zy;function Zy(t,e,r,n){if(t[Pt])return;let i;r.type&8?i=ke(n):i=Wy(e,r),t[Pt]=i}function lr(t,e){xn("NgSignals");let r=Cu(t),n=r[nt];return e?.equal&&(n.equal=e.equal),r.set=i=>ss(n,i),r.update=i=>Eu(n,i),r.asReadonly=Yy.bind(r),r}function Yy(){let t=this[nt];if(t.readonlyFn===void 0){let e=()=>this();e[nt]=t,t.readonlyFn=e}return t.readonlyFn}function Qy(t){return Object.getPrototypeOf(t.prototype).constructor}function yt(t){let e=Qy(t.type),r=!0,n=[t];for(;e;){let i;if(dt(t))i=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new w(903,!1);i=e.\u0275dir}if(i){if(r){n.push(i);let s=t;s.inputs=Ii(t.inputs),s.inputTransforms=Ii(t.inputTransforms),s.declaredInputs=Ii(t.declaredInputs),s.outputs=Ii(t.outputs);let a=i.hostBindings;a&&tD(t,a);let c=i.viewQuery,u=i.contentQueries;if(c&&Xy(t,c),u&&eD(t,u),Ky(t,i),gg(t.outputs,i.outputs),dt(i)&&i.data.animation){let l=t.data;l.animation=(l.animation||[]).concat(i.data.animation)}}let o=i.features;if(o)for(let s=0;s=0;n--){let i=t[n];i.hostVars=e+=i.hostVars,i.hostAttrs=Jn(i.hostAttrs,r=Jn(r,i.hostAttrs))}}function Ii(t){return t===hn?{}:t===ye?[]:t}function Xy(t,e){let r=t.viewQuery;r?t.viewQuery=(n,i)=>{e(n,i),r(n,i)}:t.viewQuery=e}function eD(t,e){let r=t.contentQueries;r?t.contentQueries=(n,i,o)=>{e(n,i,o),r(n,i,o)}:t.contentQueries=e}function tD(t,e){let r=t.hostBindings;r?t.hostBindings=(n,i)=>{e(n,i),r(n,i)}:t.hostBindings=e}var pt=class{},or=class{};var fa=class extends pt{constructor(e,r,n,i=!0){super(),this.ngModuleType=e,this._parent=r,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Zi(this);let o=ql(e);this._bootstrapComponents=Kd(o.bootstrap),this._r3Injector=jd(e,r,[{provide:pt,useValue:this},{provide:wn,useValue:this.componentFactoryResolver},...n],ae(e),new Set(["environment"])),i&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(r=>r()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}},ha=class extends or{constructor(e){super(),this.moduleType=e}create(e){return new fa(this.moduleType,e,[])}};var Yi=class extends pt{constructor(e){super(),this.componentFactoryResolver=new Zi(this),this.instance=null;let r=new Xn([...e.providers,{provide:pt,useValue:this},{provide:wn,useValue:this.componentFactoryResolver}],e.parent||Ia(),e.debugName,new Set(["environment"]));this.injector=r,e.runEnvironmentInitializers&&r.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}};function Wa(t,e,r=null){return new Yi({providers:t,parent:e,debugName:r,runEnvironmentInitializers:!0}).injector}function qa(t,e,r){let n=t[e];return Object.is(n,r)?!1:(t[e]=r,!0)}function nD(t){return(t.flags&32)===32}function rD(t,e,r,n){return qa(t,yd(),r)?e+kl(r)+n:Sn}function bi(t,e){return t<<17|e<<2}function Vt(t){return t>>17&32767}function iD(t){return(t&2)==2}function oD(t,e){return t&131071|e<<17}function pa(t){return t|2}function En(t){return(t&131068)>>2}function Os(t,e){return t&-131069|e<<2}function sD(t){return(t&1)===1}function ga(t){return t|1}function aD(t,e,r,n,i,o){let s=o?e.classBindings:e.styleBindings,a=Vt(s),c=En(s);t[n]=r;let u=!1,l;if(Array.isArray(r)){let d=r;l=d[1],(l===null||ar(d,l)>0)&&(u=!0)}else l=r;if(i)if(c!==0){let h=Vt(t[a+1]);t[n+1]=bi(h,a),h!==0&&(t[h+1]=Os(t[h+1],n)),t[a+1]=oD(t[a+1],n)}else t[n+1]=bi(a,0),a!==0&&(t[a+1]=Os(t[a+1],n)),a=n;else t[n+1]=bi(c,0),a===0?a=n:t[c+1]=Os(t[c+1],n),c=n;u&&(t[n+1]=pa(t[n+1])),Ml(t,l,n,!0),Ml(t,l,n,!1),cD(e,l,t,n,o),s=bi(a,c),o?e.classBindings=s:e.styleBindings=s}function cD(t,e,r,n,i){let o=i?t.residualClasses:t.residualStyles;o!=null&&typeof e=="string"&&ar(o,e)>=0&&(r[n+1]=ga(r[n+1]))}function Ml(t,e,r,n){let i=t[r+1],o=e===null,s=n?Vt(i):En(i),a=!1;for(;s!==0&&(a===!1||o);){let c=t[s],u=t[s+1];uD(c,e)&&(a=!0,t[s+1]=n?ga(u):pa(u)),s=n?Vt(u):En(u)}a&&(t[r+1]=n?pa(i):ga(i))}function uD(t,e){return t===null||e==null||(Array.isArray(t)?t[1]:t)===e?!0:Array.isArray(t)&&typeof e=="string"?ar(t,e)>=0:!1}function Za(t,e,r){let n=J(),i=yd();if(qa(n,i,e)){let o=Ze(),s=Fm();Yv(o,s,n,t,e,n[ie],r,!1)}return Za}function Sl(t,e,r,n,i){let o=e.inputs,s=i?"class":"style";Ha(t,r,o[s],s,n)}function lo(t,e){return lD(t,e,null,!0),lo}function lD(t,e,r,n){let i=J(),o=Ze(),s=xm(2);if(o.firstUpdatePass&&fD(o,t,s,n),e!==Sn&&qa(i,s,e)){let a=o.data[Mn()];vD(o,a,i,i[ie],t,i[s+1]=yD(e,r),n,s)}}function dD(t,e){return e>=t.expandoStartIndex}function fD(t,e,r,n){let i=t.data;if(i[r+1]===null){let o=i[Mn()],s=dD(t,r);DD(o,n)&&e===null&&!s&&(e=!1),e=hD(i,o,e,n),aD(i,o,e,r,s,n)}}function hD(t,e,r,n){let i=Om(t),o=n?e.residualClasses:e.residualStyles;if(i===null)(n?e.classBindings:e.styleBindings)===0&&(r=Ps(null,t,e,r,n),r=sr(r,e.attrs,n),o=null);else{let s=e.directiveStylingLast;if(s===-1||t[s]!==i)if(r=Ps(i,t,e,r,n),o===null){let c=pD(t,e,n);c!==void 0&&Array.isArray(c)&&(c=Ps(null,t,e,c[1],n),c=sr(c,e.attrs,n),gD(t,e,n,c))}else o=mD(t,e,n)}return o!==void 0&&(n?e.residualClasses=o:e.residualStyles=o),r}function pD(t,e,r){let n=r?e.classBindings:e.styleBindings;if(En(n)!==0)return t[Vt(n)]}function gD(t,e,r,n){let i=r?e.classBindings:e.styleBindings;t[Vt(i)]=n}function mD(t,e,r){let n,i=e.directiveEnd;for(let o=1+e.directiveStylingLast;o0;){let c=t[i],u=Array.isArray(c),l=u?c[1]:c,d=l===null,h=r[i+1];h===Sn&&(h=d?ye:void 0);let f=d?bs(h,n):l===n?h:void 0;if(u&&!Qi(f)&&(f=bs(c,n)),Qi(f)&&(a=f,s))return a;let g=t[i+1];i=s?Vt(g):En(g)}if(e!==null){let c=o?e.residualClasses:e.residualStyles;c!=null&&(a=bs(c,n))}return a}function Qi(t){return t!==void 0}function yD(t,e){return t==null||t===""||(typeof e=="string"?t=t+e:typeof t=="object"&&(t=ae(Fa(t)))),t}function DD(t,e){return(t.flags&(e?8:16))!==0}function wD(t,e,r,n,i,o){let s=e.consts,a=sl(s,i),c=Ba(e,t,2,n,a);return Kv(e,r,c,sl(s,o)),c.attrs!==null&&la(c,c.attrs,!1),c.mergedAttrs!==null&&la(c,c.mergedAttrs,!0),e.queries!==null&&e.queries.elementStart(e,c),c}function Ye(t,e,r,n){let i=J(),o=Ze(),s=Ot+t,a=i[ie],c=o.firstCreatePass?wD(s,o,i,e,r,n):o.data[s],u=CD(o,i,c,a,e,t);i[s]=u;let l=rd(c);return ao(c,!0),cf(a,u,c),!nD(c)&&Md()&&of(o,i,u,c),wm()===0&&yn(u,i),Cm(),l&&(Uv(o,i,c),hf(o,c,i)),n!==null&&Bv(i,c),Ye}function Qe(){let t=Ee();md()?Sm():(t=t.parent,ao(t,!1));let e=t;bm(e)&&_m(),Em();let r=Ze();return r.firstCreatePass&&(Td(r,t),nd(t)&&r.queries.elementEnd(t)),e.classesWithoutHost!=null&&Um(e)&&Sl(r,e,J(),e.classesWithoutHost,!0),e.stylesWithoutHost!=null&&Bm(e)&&Sl(r,e,J(),e.stylesWithoutHost,!1),Qe}function Le(t,e,r,n){return Ye(t,e,r,n),Qe(),Le}var CD=(t,e,r,n,i,o)=>(Sd(!0),Jd(n,i,km()));var Ki="en-US";var ED=Ki;function ID(t){typeof t=="string"&&(ED=t.toLowerCase().replace(/_/g,"-"))}var bD=(t,e,r)=>{};function Bt(t,e,r,n){let i=J(),o=Ze(),s=Ee();return MD(o,i,i[ie],s,t,e,n),Bt}function _D(t,e,r,n){let i=t.cleanup;if(i!=null)for(let o=0;oc?a[c]:null}typeof s=="string"&&(o+=2)}return null}function MD(t,e,r,n,i,o,s){let a=rd(n),u=t.firstCreatePass&&fy(t),l=e[Be],d=dy(e),h=!0;if(n.type&3||s){let E=xe(n,e),v=s?s(E):E,y=d.length,z=s?V=>s(ke(V[n.index])):n.index,U=null;if(!s&&a&&(U=_D(t,e,i,n.index)),U!==null){let V=U.__ngLastListenerFn__||U;V.__ngNextListenerFn__=o,U.__ngLastListenerFn__=o,h=!1}else{o=Al(n,e,l,o),bD(E,i,o);let V=r.listen(v,i,o);d.push(o,V),u&&u.push(i,z,y,y+1)}}else o=Al(n,e,l,o);let f=n.outputs,g;if(h&&f!==null&&(g=f[i])){let E=g.length;if(E)for(let v=0;v-1?gt(t.index,e):e;za(s,5);let a=xl(e,r,n,o),c=i.__ngNextListenerFn__;for(;c;)a=xl(e,r,c,o)&&a,c=c.__ngNextListenerFn__;return a}}function dr(t,e=""){let r=J(),n=Ze(),i=t+Ot,o=n.firstCreatePass?Ba(n,i,1,e,null):n.data[i],s=SD(n,r,o,e,t);r[i]=s,Md()&&of(n,r,s,o),ao(o,!1)}var SD=(t,e,r,n,i)=>(Sd(!0),Dv(e[ie],n));function Ya(t){return Nf("",t,""),Ya}function Nf(t,e,r){let n=J(),i=rD(n,t,e,r);return i!==Sn&&hy(n,Mn(),i),Nf}function TD(t,e,r){let n=Ze();if(n.firstCreatePass){let i=dt(t);ma(r,n.data,n.blueprint,i,!0),ma(e,n.data,n.blueprint,i,!1)}}function ma(t,e,r,n,i){if(t=ne(t),Array.isArray(t))for(let o=0;o>20;if(gn(t)||!t.multi){let f=new Lt(u,i,H),g=ks(c,e,i?l:l+h,d);g===-1?(Ys($i(a,s),o,c),Fs(o,t,e.length),e.push(c),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),r.push(f),s.push(f)):(r[g]=f,s[g]=f)}else{let f=ks(c,e,l+h,d),g=ks(c,e,l,l+h),E=f>=0&&r[f],v=g>=0&&r[g];if(i&&!v||!i&&!E){Ys($i(a,s),o,c);let y=ND(i?AD:xD,r.length,i,n,u);!i&&v&&(r[g].providerFactory=y),Fs(o,t,e.length,0),e.push(c),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),r.push(y),s.push(y)}else{let y=Rf(r[i?g:f],u,!i&&n);Fs(o,t,f>-1?f:g,y)}!i&&n&&v&&r[g].componentProviders++}}}function Fs(t,e,r,n){let i=gn(e),o=im(e);if(i||o){let c=(o?ne(e.useClass):e).prototype.ngOnDestroy;if(c){let u=t.destroyHooks||(t.destroyHooks=[]);if(!i&&e.multi){let l=u.indexOf(r);l===-1?u.push(r,[n,c]):u[l+1].push(n,c)}else u.push(r,c)}}}function Rf(t,e,r){return r&&t.componentProviders++,t.multi.push(e)-1}function ks(t,e,r,n){for(let i=r;i{r.providersResolver=(n,i)=>TD(n,i?i(t):t,e)}}var RD=(()=>{let e=class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let i=Ql(!1,n.type),o=i.length>0?Wa([i],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}};e.\u0275prov=C({token:e,providedIn:"environment",factory:()=>new e(_(ce))});let t=e;return t})();function An(t){xn("NgStandalone"),t.getStandaloneInjector=e=>e.get(RD).getOrCreateStandaloneInjector(t)}var ho=(()=>{let e=class e{log(n){console.log(n)}warn(n){console.warn(n)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"platform"});let t=e;return t})();var Of=new D("");function $t(t){return!!t&&typeof t.then=="function"}function Pf(t){return!!t&&typeof t.subscribe=="function"}var Ff=new D(""),kf=(()=>{let e=class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,i)=>{this.resolve=n,this.reject=i}),this.appInits=p(Ff,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let s=o();if($t(s))n.push(s);else if(Pf(s)){let a=new Promise((c,u)=>{s.subscribe({complete:c,error:u})});n.push(a)}}let i=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{i()}).catch(o=>{this.reject(o)}),n.length===0&&i(),this.initialized=!0}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),po=new D("");function OD(){wu(()=>{throw new w(600,!1)})}function PD(t){return t.isBoundToModule}var FD=10;function kD(t,e,r){try{let n=r();return $t(n)?n.catch(i=>{throw e.runOutsideAngular(()=>t.handleError(i)),i}):n}catch(n){throw e.runOutsideAngular(()=>t.handleError(n)),n}}var Dt=(()=>{let e=class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=p(sv),this.afterRenderEffectManager=p(xf),this.zonelessEnabled=p(Ga),this.externalTestViews=new Set,this.beforeRender=new X,this.afterTick=new X,this.componentTypes=[],this.components=[],this.isStable=p(mt).hasPendingTasks.pipe(S(n=>!n)),this._injector=p(ce)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}whenStable(){let n;return new Promise(i=>{n=this.isStable.subscribe({next:o=>{o&&i()}})}).finally(()=>{n.unsubscribe()})}get injector(){return this._injector}bootstrap(n,i){let o=n instanceof qi;if(!this._injector.get(kf).done){let f=!o&&Wl(n),g=!1;throw new w(405,g)}let a;o?a=n:a=this._injector.get(wn).resolveComponentFactory(n),this.componentTypes.push(a.componentType);let c=PD(a)?void 0:this._injector.get(pt),u=i||a.selector,l=a.create(ft.NULL,[],u,c),d=l.location.nativeElement,h=l.injector.get(Of,null);return h?.registerApplication(d),l.onDestroy(()=>{this.detachView(l.hostView),xi(this.components,l),h?.unregisterApplication(d)}),this._loadComponent(l),l}tick(){this._tick(!0)}_tick(n){if(this._runningTick)throw new w(101,!1);let i=k(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(n)}catch(o){this.internalErrorHandler(o)}finally{this._runningTick=!1,k(i),this.afterTick.next()}}detectChangesInAttachedViews(n){let i=null;this._injector.destroyed||(i=this._injector.get(Cn,null,{optional:!0}));let o=0,s=this.afterRenderEffectManager;for(;onr(c))&&(s.execute(),!this.allViews.some(({_lView:c})=>nr(c))))break}}attachView(n){let i=n;this._views.push(i),i.attachToAppRef(this)}detachView(n){let i=n;xi(this._views,i),i.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);let i=this._injector.get(po,[]);[...this._bootstrapListeners,...i].forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>xi(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new w(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function xi(t,e){let r=t.indexOf(e);r>-1&&t.splice(r,1)}function LD(t,e,r,n){if(!r&&!nr(t))return;If(t,e,r&&!n?0:1)}var ya=class{constructor(e,r){this.ngModuleFactory=e,this.componentFactories=r}},Qa=(()=>{let e=class e{compileModuleSync(n){return new ha(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let i=this.compileModuleSync(n),o=ql(n),s=Kd(o.declarations).reduce((a,c)=>{let u=Rt(c);return u&&a.push(new ir(u)),a},[]);return new ya(i,s)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var VD=(()=>{let e=class e{constructor(){this.zone=p($),this.changeDetectionScheduler=p(rr),this.applicationRef=p(Dt)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),jD=new D("",{factory:()=>!1});function Lf({ngZoneFactory:t,ignoreChangesOutsideZone:e,scheduleInRootZone:r}){return t??=()=>new $(R(m({},jf()),{scheduleInRootZone:r})),[{provide:$,useFactory:t},{provide:pn,multi:!0,useFactory:()=>{let n=p(VD,{optional:!0});return()=>n.initialize()}},{provide:pn,multi:!0,useFactory:()=>{let n=p(UD);return()=>{n.initialize()}}},e===!0?{provide:Sf,useValue:!0}:[],{provide:Tf,useValue:r??Ud}]}function Vf(t){let e=t?.ignoreChangesOutsideZone,r=t?.scheduleInRootZone,n=Lf({ngZoneFactory:()=>{let i=jf(t);return i.scheduleInRootZone=r,i.shouldCoalesceEventChangeDetection&&xn("NgZone_CoalesceEvent"),new $(i)},ignoreChangesOutsideZone:e,scheduleInRootZone:r});return _n([{provide:jD,useValue:!0},{provide:Ga,useValue:!1},n])}function jf(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}var UD=(()=>{let e=class e{constructor(){this.subscription=new G,this.initialized=!1,this.zone=p($),this.pendingTasks=p(mt)}initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{$.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{$.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var BD=(()=>{let e=class e{constructor(){this.appRef=p(Dt),this.taskService=p(mt),this.ngZone=p($),this.zonelessEnabled=p(Ga),this.disableScheduling=p(Sf,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new G,this.angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(zi):null,this.scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(p(Tf,{optional:!0})??!1),this.cancelScheduledCallback=null,this.shouldRefreshViews=!1,this.useMicrotaskScheduler=!1,this.runningTick=!1,this.pendingRenderTaskId=null,this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof ea||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&n===5)return;switch(n){case 3:case 2:case 0:case 4:case 5:case 1:{this.shouldRefreshViews=!0;break}case 8:case 7:case 6:case 9:default:}if(!this.shouldScheduleTick())return;let i=this.useMicrotaskScheduler?hl:$d;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>i(()=>this.tick(this.shouldRefreshViews))):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>i(()=>this.tick(this.shouldRefreshViews)))}shouldScheduleTick(){return!(this.disableScheduling||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(zi+this.angularZoneId))}tick(n){if(this.runningTick||this.appRef.destroyed)return;let i=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick(n)},void 0,this.schedulerTickApplyArgs)}catch(o){throw this.taskService.remove(i),o}finally{this.cleanup()}this.useMicrotaskScheduler=!0,hl(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(i)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.shouldRefreshViews=!1,this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function $D(){return typeof $localize<"u"&&$localize.locale||Ki}var Ka=new D("",{providedIn:"root",factory:()=>p(Ka,x.Optional|x.SkipSelf)||$D()});var Uf=new D("");function _i(t){return!!t.platformInjector}function HD(t){let e=_i(t)?t.r3Injector:t.moduleRef.injector,r=e.get($);return r.run(()=>{_i(t)?t.r3Injector.resolveInjectorInitializers():t.moduleRef.resolveInjectorInitializers();let n=e.get(ht,null),i;if(r.runOutsideAngular(()=>{i=r.onError.subscribe({next:o=>{n.handleError(o)}})}),_i(t)){let o=()=>e.destroy(),s=t.platformInjector.get(Uf);s.add(o),e.onDestroy(()=>{i.unsubscribe(),s.delete(o)})}else t.moduleRef.onDestroy(()=>{xi(t.allPlatformModules,t.moduleRef),i.unsubscribe()});return kD(n,r,()=>{let o=e.get(kf);return o.runInitializers(),o.donePromise.then(()=>{let s=e.get(Ka,Ki);if(ID(s||Ki),_i(t)){let a=e.get(Dt);return t.rootComponent!==void 0&&a.bootstrap(t.rootComponent),a}else return zD(t.moduleRef,t.allPlatformModules),t.moduleRef})})})}function zD(t,e){let r=t.injector.get(Dt);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(n=>r.bootstrap(n));else if(t.instance.ngDoBootstrap)t.instance.ngDoBootstrap(r);else throw new w(-403,!1);e.push(t)}var Ai=null;function GD(t=[],e){return ft.create({name:e,providers:[{provide:no,useValue:"platform"},{provide:Uf,useValue:new Set([()=>Ai=null])},...t]})}function WD(t=[]){if(Ai)return Ai;let e=GD(t);return Ai=e,OD(),qD(e),e}function qD(t){t.get(Ra,null)?.forEach(r=>r())}var Nn=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=ZD;let t=e;return t})();function ZD(t){return YD(Ee(),J(),(t&16)===16)}function YD(t,e,r){if(oo(t)&&!r){let n=gt(t.index,e);return new Dn(n,n)}else if(t.type&175){let n=e[Fe];return new Dn(n,e)}return null}function Bf(t){try{let{rootComponent:e,appProviders:r,platformProviders:n}=t,i=WD(n),o=[Lf({}),{provide:rr,useExisting:BD},...r||[]],s=new Yi({providers:o,parent:i,debugName:"",runEnvironmentInitializers:!1});return HD({r3Injector:s.injector,platformInjector:i,rootComponent:e})}catch(e){return Promise.reject(e)}}var $f=new D("");function fr(t,e){xn("NgSignals");let r=vu(t);return e?.equal&&(r[nt].equal=e.equal),r}function Ke(t){let e=k(null);try{return t()}finally{k(e)}}var Wf=null;function Je(){return Wf}function qf(t){Wf??=t}var go=class{};var oe=new D(""),Zf=(()=>{let e=class e{historyGo(n){throw new Error("")}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=C({token:e,factory:()=>p(XD),providedIn:"platform"});let t=e;return t})();var XD=(()=>{let e=class e extends Zf{constructor(){super(),this._doc=p(oe),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Je().getBaseHref(this._doc)}onPopState(n){let i=Je().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",n,!1),()=>i.removeEventListener("popstate",n)}onHashChange(n){let i=Je().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",n,!1),()=>i.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,i,o){this._history.pushState(n,i,o)}replaceState(n,i,o){this._history.replaceState(n,i,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=C({token:e,factory:()=>new e,providedIn:"platform"});let t=e;return t})();function Yf(t,e){if(t.length==0)return e;if(e.length==0)return t;let r=0;return t.endsWith("/")&&r++,e.startsWith("/")&&r++,r==2?t+e.substring(1):r==1?t+e:t+"/"+e}function Hf(t){let e=t.match(/#|\?|$/),r=e&&e.index||t.length,n=r-(t[r-1]==="/"?1:0);return t.slice(0,n)+t.slice(r)}function zt(t){return t&&t[0]!=="?"?"?"+t:t}var mo=(()=>{let e=class e{historyGo(n){throw new Error("")}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=C({token:e,factory:()=>p(Qf),providedIn:"root"});let t=e;return t})(),ew=new D(""),Qf=(()=>{let e=class e extends mo{constructor(n,i){super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??p(oe).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 Yf(this._baseHref,n)}path(n=!1){let i=this._platformLocation.pathname+zt(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${i}${o}`:i}pushState(n,i,o,s){let a=this.prepareExternalUrl(o+zt(s));this._platformLocation.pushState(n,i,a)}replaceState(n,i,o,s){let a=this.prepareExternalUrl(o+zt(s));this._platformLocation.replaceState(n,i,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}};e.\u0275fac=function(i){return new(i||e)(_(Zf),_(ew,8))},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var hr=(()=>{let e=class e{constructor(n){this._subject=new q,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=n;let i=this._locationStrategy.getBaseHref();this._basePath=rw(Hf(zf(i))),this._locationStrategy.onPopState(o=>{this._subject.emit({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,i=""){return this.path()==this.normalize(n+zt(i))}normalize(n){return e.stripTrailingSlash(nw(this._basePath,zf(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,i="",o=null){this._locationStrategy.pushState(o,"",n,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+zt(i)),o)}replaceState(n,i="",o=null){this._locationStrategy.replaceState(o,"",n,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+zt(i)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription??=this.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state)}),()=>{let i=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(i,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",i){this._urlChangeListeners.forEach(o=>o(n,i))}subscribe(n,i,o){return this._subject.subscribe({next:n,error:i,complete:o})}};e.normalizeQueryParams=zt,e.joinWithSlash=Yf,e.stripTrailingSlash=Hf,e.\u0275fac=function(i){return new(i||e)(_(mo))},e.\u0275prov=C({token:e,factory:()=>tw(),providedIn:"root"});let t=e;return t})();function tw(){return new hr(_(mo))}function nw(t,e){if(!t||!e.startsWith(t))return e;let r=e.substring(t.length);return r===""||["/",";","?","#"].includes(r[0])?r:e}function zf(t){return t.replace(/\/index.html$/,"")}function rw(t){if(new RegExp("^(https?:)?//").test(t)){let[,r]=t.split(/\/\/[^\/]+/);return r}return t}function vo(t,e){e=encodeURIComponent(e);for(let r of t.split(";")){let n=r.indexOf("="),[i,o]=n==-1?[r,""]:[r.slice(0,n),r.slice(n+1)];if(i.trim()===e)return decodeURIComponent(o)}return null}var ec=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=Ge({type:e}),e.\u0275inj=ze({});let t=e;return t})(),Kf="browser",iw="server";function yo(t){return t===iw}var Rn=class{};var gr=class{},wo=class{},Xe=class t{constructor(e){this.normalizedNames=new Map,this.lazyUpdate=null,e?typeof e=="string"?this.lazyInit=()=>{this.headers=new Map,e.split(` -`).forEach(r=>{let n=r.indexOf(":");if(n>0){let i=r.slice(0,n),o=i.toLowerCase(),s=r.slice(n+1).trim();this.maybeSetNormalizedName(i,o),this.headers.has(o)?this.headers.get(o).push(s):this.headers.set(o,[s])}})}:typeof Headers<"u"&&e instanceof Headers?(this.headers=new Map,e.forEach((r,n)=>{this.setHeaderEntries(n,r)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(e).forEach(([r,n])=>{this.setHeaderEntries(r,n)})}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();let r=this.headers.get(e.toLowerCase());return r&&r.length>0?r[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,r){return this.clone({name:e,value:r,op:"a"})}set(e,r){return this.clone({name:e,value:r,op:"s"})}delete(e,r){return this.clone({name:e,value:r,op:"d"})}maybeSetNormalizedName(e,r){this.normalizedNames.has(r)||this.normalizedNames.set(r,e)}init(){this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(e=>this.applyUpdate(e)),this.lazyUpdate=null))}copyFrom(e){e.init(),Array.from(e.headers.keys()).forEach(r=>{this.headers.set(r,e.headers.get(r)),this.normalizedNames.set(r,e.normalizedNames.get(r))})}clone(e){let r=new t;return r.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,r.lazyUpdate=(this.lazyUpdate||[]).concat([e]),r}applyUpdate(e){let r=e.name.toLowerCase();switch(e.op){case"a":case"s":let n=e.value;if(typeof n=="string"&&(n=[n]),n.length===0)return;this.maybeSetNormalizedName(e.name,r);let i=(e.op==="a"?this.headers.get(r):void 0)||[];i.push(...n),this.headers.set(r,i);break;case"d":let o=e.value;if(!o)this.headers.delete(r),this.normalizedNames.delete(r);else{let s=this.headers.get(r);if(!s)return;s=s.filter(a=>o.indexOf(a)===-1),s.length===0?(this.headers.delete(r),this.normalizedNames.delete(r)):this.headers.set(r,s)}break}}setHeaderEntries(e,r){let n=(Array.isArray(r)?r:[r]).map(o=>o.toString()),i=e.toLowerCase();this.headers.set(i,n),this.maybeSetNormalizedName(e,i)}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(r=>e(this.normalizedNames.get(r),this.headers.get(r)))}};var nc=class{encodeKey(e){return Jf(e)}encodeValue(e){return Jf(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}};function sw(t,e){let r=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(i=>{let o=i.indexOf("="),[s,a]=o==-1?[e.decodeKey(i),""]:[e.decodeKey(i.slice(0,o)),e.decodeValue(i.slice(o+1))],c=r.get(s)||[];c.push(a),r.set(s,c)}),r}var aw=/%(\d[a-f0-9])/gi,cw={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Jf(t){return encodeURIComponent(t).replace(aw,(e,r)=>cw[r]??e)}function Do(t){return`${t}`}var Ct=class t{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new nc,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=sw(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(r=>{let n=e.fromObject[r],i=Array.isArray(n)?n.map(Do):[Do(n)];this.map.set(r,i)})):this.map=null}has(e){return this.init(),this.map.has(e)}get(e){this.init();let r=this.map.get(e);return r?r[0]:null}getAll(e){return this.init(),this.map.get(e)||null}keys(){return this.init(),Array.from(this.map.keys())}append(e,r){return this.clone({param:e,value:r,op:"a"})}appendAll(e){let r=[];return Object.keys(e).forEach(n=>{let i=e[n];Array.isArray(i)?i.forEach(o=>{r.push({param:n,value:o,op:"a"})}):r.push({param:n,value:i,op:"a"})}),this.clone(r)}set(e,r){return this.clone({param:e,value:r,op:"s"})}delete(e,r){return this.clone({param:e,value:r,op:"d"})}toString(){return this.init(),this.keys().map(e=>{let r=this.encoder.encodeKey(e);return this.map.get(e).map(n=>r+"="+this.encoder.encodeValue(n)).join("&")}).filter(e=>e!=="").join("&")}clone(e){let r=new t({encoder:this.encoder});return r.cloneFrom=this.cloneFrom||this,r.updates=(this.updates||[]).concat(e),r}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(e=>this.map.set(e,this.cloneFrom.map.get(e))),this.updates.forEach(e=>{switch(e.op){case"a":case"s":let r=(e.op==="a"?this.map.get(e.param):void 0)||[];r.push(Do(e.value)),this.map.set(e.param,r);break;case"d":if(e.value!==void 0){let n=this.map.get(e.param)||[],i=n.indexOf(Do(e.value));i!==-1&&n.splice(i,1),n.length>0?this.map.set(e.param,n):this.map.delete(e.param)}else{this.map.delete(e.param);break}}}),this.cloneFrom=this.updates=null)}};var rc=class{constructor(){this.map=new Map}set(e,r){return this.map.set(e,r),this}get(e){return this.map.has(e)||this.map.set(e,e.defaultValue()),this.map.get(e)}delete(e){return this.map.delete(e),this}has(e){return this.map.has(e)}keys(){return this.map.keys()}};function uw(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function Xf(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function eh(t){return typeof Blob<"u"&&t instanceof Blob}function th(t){return typeof FormData<"u"&&t instanceof FormData}function lw(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}var pr=class t{constructor(e,r,n,i){this.url=r,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase();let o;if(uw(this.method)||i?(this.body=n!==void 0?n:null,o=i):o=n,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),this.transferCache=o.transferCache),this.headers??=new Xe,this.context??=new rc,!this.params)this.params=new Ct,this.urlWithParams=r;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=r;else{let a=r.indexOf("?"),c=a===-1?"?":ah.set(f,e.setHeaders[f]),u)),e.setParams&&(l=Object.keys(e.setParams).reduce((h,f)=>h.set(f,e.setParams[f]),l)),new t(r,n,s,{params:l,headers:u,context:d,reportProgress:c,responseType:i,withCredentials:a,transferCache:o})}},Et=function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t}(Et||{}),mr=class{constructor(e,r=200,n="OK"){this.headers=e.headers||new Xe,this.status=e.status!==void 0?e.status:r,this.statusText=e.statusText||n,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}},Co=class t extends mr{constructor(e={}){super(e),this.type=Et.ResponseHeader}clone(e={}){return new t({headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},vr=class t extends mr{constructor(e={}){super(e),this.type=Et.Response,this.body=e.body!==void 0?e.body:null}clone(e={}){return new t({body:e.body!==void 0?e.body:this.body,headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},wt=class extends mr{constructor(e){super(e,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${e.url||"(unknown url)"}`:this.message=`Http failure response for ${e.url||"(unknown url)"}: ${e.status} ${e.statusText}`,this.error=e.error||null}},oh=200,dw=204;function tc(t,e){return{body:e,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials,transferCache:t.transferCache}}var sc=(()=>{let e=class e{constructor(n){this.handler=n}request(n,i,o={}){let s;if(n instanceof pr)s=n;else{let u;o.headers instanceof Xe?u=o.headers:u=new Xe(o.headers);let l;o.params&&(o.params instanceof Ct?l=o.params:l=new Ct({fromObject:o.params})),s=new pr(n,i,o.body!==void 0?o.body:null,{headers:u,context:o.context,params:l,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache})}let a=I(s).pipe(ot(u=>this.handler.handle(u)));if(n instanceof pr||o.observe==="events")return a;let c=a.pipe(de(u=>u instanceof vr));switch(o.observe||"body"){case"body":switch(s.responseType){case"arraybuffer":return c.pipe(S(u=>{if(u.body!==null&&!(u.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return u.body}));case"blob":return c.pipe(S(u=>{if(u.body!==null&&!(u.body instanceof Blob))throw new Error("Response is not a Blob.");return u.body}));case"text":return c.pipe(S(u=>{if(u.body!==null&&typeof u.body!="string")throw new Error("Response is not a string.");return u.body}));case"json":default:return c.pipe(S(u=>u.body))}case"response":return c;default:throw new Error(`Unreachable: unhandled observe type ${o.observe}}`)}}delete(n,i={}){return this.request("DELETE",n,i)}get(n,i={}){return this.request("GET",n,i)}head(n,i={}){return this.request("HEAD",n,i)}jsonp(n,i){return this.request("JSONP",n,{params:new Ct().append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,i={}){return this.request("OPTIONS",n,i)}patch(n,i,o={}){return this.request("PATCH",n,tc(o,i))}post(n,i,o={}){return this.request("POST",n,tc(o,i))}put(n,i,o={}){return this.request("PUT",n,tc(o,i))}};e.\u0275fac=function(i){return new(i||e)(_(gr))},e.\u0275prov=C({token:e,factory:e.\u0275fac});let t=e;return t})(),fw=/^\)\]\}',?\n/,hw="X-Request-URL";function nh(t){if(t.url)return t.url;let e=hw.toLocaleLowerCase();return t.headers.get(e)}var pw=(()=>{let e=class e{constructor(){this.fetchImpl=p(ic,{optional:!0})?.fetch??fetch.bind(globalThis),this.ngZone=p($)}handle(n){return new O(i=>{let o=new AbortController;return this.doRequest(n,o.signal,i).then(oc,s=>i.error(new wt({error:s}))),()=>o.abort()})}doRequest(n,i,o){return Wr(this,null,function*(){let s=this.createRequestInit(n),a;try{let g=this.ngZone.runOutsideAngular(()=>this.fetchImpl(n.urlWithParams,m({signal:i},s)));gw(g),o.next({type:Et.Sent}),a=yield g}catch(g){o.error(new wt({error:g,status:g.status??0,statusText:g.statusText,url:n.urlWithParams,headers:g.headers}));return}let c=new Xe(a.headers),u=a.statusText,l=nh(a)??n.urlWithParams,d=a.status,h=null;if(n.reportProgress&&o.next(new Co({headers:c,status:d,statusText:u,url:l})),a.body){let g=a.headers.get("content-length"),E=[],v=a.body.getReader(),y=0,z,U,V=typeof Zone<"u"&&Zone.current;yield this.ngZone.runOutsideAngular(()=>Wr(this,null,function*(){for(;;){let{done:Z,value:me}=yield v.read();if(Z)break;if(E.push(me),y+=me.length,n.reportProgress){U=n.responseType==="text"?(U??"")+(z??=new TextDecoder).decode(me,{stream:!0}):void 0;let Yt=()=>o.next({type:Et.DownloadProgress,total:g?+g:void 0,loaded:y,partialText:U});V?V.run(Yt):Yt()}}}));let ge=this.concatChunks(E,y);try{let Z=a.headers.get("Content-Type")??"";h=this.parseBody(n,ge,Z)}catch(Z){o.error(new wt({error:Z,headers:new Xe(a.headers),status:a.status,statusText:a.statusText,url:nh(a)??n.urlWithParams}));return}}d===0&&(d=h?oh:0),d>=200&&d<300?(o.next(new vr({body:h,headers:c,status:d,statusText:u,url:l})),o.complete()):o.error(new wt({error:h,headers:c,status:d,statusText:u,url:l}))})}parseBody(n,i,o){switch(n.responseType){case"json":let s=new TextDecoder().decode(i).replace(fw,"");return s===""?null:JSON.parse(s);case"text":return new TextDecoder().decode(i);case"blob":return new Blob([i],{type:o});case"arraybuffer":return i.buffer}}createRequestInit(n){let i={},o=n.withCredentials?"include":void 0;if(n.headers.forEach((s,a)=>i[s]=a.join(",")),n.headers.has("Accept")||(i.Accept="application/json, text/plain, */*"),!n.headers.has("Content-Type")){let s=n.detectContentTypeHeader();s!==null&&(i["Content-Type"]=s)}return{body:n.serializeBody(),method:n.method,headers:i,credentials:o}}concatChunks(n,i){let o=new Uint8Array(i),s=0;for(let a of n)o.set(a,s),s+=a.length;return o}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=C({token:e,factory:e.\u0275fac});let t=e;return t})(),ic=class{};function oc(){}function gw(t){t.then(oc,oc)}function mw(t,e){return e(t)}function vw(t,e,r){return(n,i)=>Se(r,()=>e(n,o=>t(o,i)))}var sh=new D(""),yw=new D(""),Dw=new D("",{providedIn:"root",factory:()=>!0});var rh=(()=>{let e=class e extends gr{constructor(n,i){super(),this.backend=n,this.injector=i,this.chain=null,this.pendingTasks=p(mt),this.contributeToStability=p(Dw)}handle(n){if(this.chain===null){let i=Array.from(new Set([...this.injector.get(sh),...this.injector.get(yw,[])]));this.chain=i.reduceRight((o,s)=>vw(o,s,this.injector),mw)}if(this.contributeToStability){let i=this.pendingTasks.add();return this.chain(n,o=>this.backend.handle(o)).pipe(xt(()=>this.pendingTasks.remove(i)))}else return this.chain(n,i=>this.backend.handle(i))}};e.\u0275fac=function(i){return new(i||e)(_(wo),_(ce))},e.\u0275prov=C({token:e,factory:e.\u0275fac});let t=e;return t})();var ww=/^\)\]\}',?\n/;function Cw(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}var ih=(()=>{let e=class e{constructor(n){this.xhrFactory=n}handle(n){if(n.method==="JSONP")throw new w(-2800,!1);let i=this.xhrFactory;return(i.\u0275loadImpl?B(i.\u0275loadImpl()):I(null)).pipe(fe(()=>new O(s=>{let a=i.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")){let v=n.detectContentTypeHeader();v!==null&&a.setRequestHeader("Content-Type",v)}if(n.responseType){let v=n.responseType.toLowerCase();a.responseType=v!=="json"?v:"text"}let c=n.serializeBody(),u=null,l=()=>{if(u!==null)return u;let v=a.statusText||"OK",y=new Xe(a.getAllResponseHeaders()),z=Cw(a)||n.url;return u=new Co({headers:y,status:a.status,statusText:v,url:z}),u},d=()=>{let{headers:v,status:y,statusText:z,url:U}=l(),V=null;y!==dw&&(V=typeof a.response>"u"?a.responseText:a.response),y===0&&(y=V?oh:0);let ge=y>=200&&y<300;if(n.responseType==="json"&&typeof V=="string"){let Z=V;V=V.replace(ww,"");try{V=V!==""?JSON.parse(V):null}catch(me){V=Z,ge&&(ge=!1,V={error:me,text:V})}}ge?(s.next(new vr({body:V,headers:v,status:y,statusText:z,url:U||void 0})),s.complete()):s.error(new wt({error:V,headers:v,status:y,statusText:z,url:U||void 0}))},h=v=>{let{url:y}=l(),z=new wt({error:v,status:a.status||0,statusText:a.statusText||"Unknown Error",url:y||void 0});s.error(z)},f=!1,g=v=>{f||(s.next(l()),f=!0);let y={type:Et.DownloadProgress,loaded:v.loaded};v.lengthComputable&&(y.total=v.total),n.responseType==="text"&&a.responseText&&(y.partialText=a.responseText),s.next(y)},E=v=>{let y={type:Et.UploadProgress,loaded:v.loaded};v.lengthComputable&&(y.total=v.total),s.next(y)};return a.addEventListener("load",d),a.addEventListener("error",h),a.addEventListener("timeout",h),a.addEventListener("abort",h),n.reportProgress&&(a.addEventListener("progress",g),c!==null&&a.upload&&a.upload.addEventListener("progress",E)),a.send(c),s.next({type:Et.Sent}),()=>{a.removeEventListener("error",h),a.removeEventListener("abort",h),a.removeEventListener("load",d),a.removeEventListener("timeout",h),n.reportProgress&&(a.removeEventListener("progress",g),c!==null&&a.upload&&a.upload.removeEventListener("progress",E)),a.readyState!==a.DONE&&a.abort()}})))}};e.\u0275fac=function(i){return new(i||e)(_(Rn))},e.\u0275prov=C({token:e,factory:e.\u0275fac});let t=e;return t})(),ah=new D(""),Ew="XSRF-TOKEN",Iw=new D("",{providedIn:"root",factory:()=>Ew}),bw="X-XSRF-TOKEN",_w=new D("",{providedIn:"root",factory:()=>bw}),Eo=class{},Mw=(()=>{let e=class e{constructor(n,i,o){this.doc=n,this.platform=i,this.cookieName=o,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if(this.platform==="server")return null;let n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=vo(n,this.cookieName),this.lastCookieString=n),this.lastToken}};e.\u0275fac=function(i){return new(i||e)(_(oe),_(vt),_(Iw))},e.\u0275prov=C({token:e,factory:e.\u0275fac});let t=e;return t})();function Sw(t,e){let r=t.url.toLowerCase();if(!p(ah)||t.method==="GET"||t.method==="HEAD"||r.startsWith("http://")||r.startsWith("https://"))return e(t);let n=p(Eo).getToken(),i=p(_w);return n!=null&&!t.headers.has(i)&&(t=t.clone({headers:t.headers.set(i,n)})),e(t)}function ch(...t){let e=[sc,ih,rh,{provide:gr,useExisting:rh},{provide:wo,useFactory:()=>p(pw,{optional:!0})??p(ih)},{provide:sh,useValue:Sw,multi:!0},{provide:ah,useValue:!0},{provide:Eo,useClass:Mw}];for(let r of t)e.push(...r.\u0275providers);return _n(e)}var uc=class extends go{constructor(){super(...arguments),this.supportsDOMEvents=!0}},lc=class t extends uc{static makeCurrent(){qf(new t)}onAndCancel(e,r,n){return e.addEventListener(r,n),()=>{e.removeEventListener(r,n)}}dispatchEvent(e,r){e.dispatchEvent(r)}remove(e){e.remove()}createElement(e,r){return r=r||this.getDefaultDocument(),r.createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,r){return r==="window"?window:r==="document"?e:r==="body"?e.body:null}getBaseHref(e){let r=xw();return r==null?null:Aw(r)}resetBaseElement(){yr=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return vo(document.cookie,e)}},yr=null;function xw(){return yr=yr||document.querySelector("base"),yr?yr.getAttribute("href"):null}function Aw(t){return new URL(t,document.baseURI).pathname}var Nw=(()=>{let e=class e{build(){return new XMLHttpRequest}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=C({token:e,factory:e.\u0275fac});let t=e;return t})(),Io=new D(""),fh=(()=>{let e=class e{constructor(n,i){this._zone=i,this._eventNameToPlugin=new Map,n.forEach(o=>{o.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,i,o){return this._findPluginFor(i).addEventListener(n,i,o)}getZone(){return this._zone}_findPluginFor(n){let i=this._eventNameToPlugin.get(n);if(i)return i;if(i=this._plugins.find(s=>s.supports(n)),!i)throw new w(5101,!1);return this._eventNameToPlugin.set(n,i),i}};e.\u0275fac=function(i){return new(i||e)(_(Io),_($))},e.\u0275prov=C({token:e,factory:e.\u0275fac});let t=e;return t})(),Dr=class{constructor(e){this._doc=e}},ac="ng-app-id",hh=(()=>{let e=class e{constructor(n,i,o,s={}){this.doc=n,this.appId=i,this.nonce=o,this.platformId=s,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=yo(s),this.resetHostNodes()}addStyles(n){for(let i of n)this.changeUsageCount(i,1)===1&&this.onStyleAdded(i)}removeStyles(n){for(let i of n)this.changeUsageCount(i,-1)<=0&&this.onStyleRemoved(i)}ngOnDestroy(){let n=this.styleNodesInDOM;n&&(n.forEach(i=>i.remove()),n.clear());for(let i of this.getAllStyles())this.onStyleRemoved(i);this.resetHostNodes()}addHost(n){this.hostNodes.add(n);for(let i of this.getAllStyles())this.addStyleToHost(n,i)}removeHost(n){this.hostNodes.delete(n)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(n){for(let i of this.hostNodes)this.addStyleToHost(i,n)}onStyleRemoved(n){let i=this.styleRef;i.get(n)?.elements?.forEach(o=>o.remove()),i.delete(n)}collectServerRenderedStyles(){let n=this.doc.head?.querySelectorAll(`style[${ac}="${this.appId}"]`);if(n?.length){let i=new Map;return n.forEach(o=>{o.textContent!=null&&i.set(o.textContent,o)}),i}return null}changeUsageCount(n,i){let o=this.styleRef;if(o.has(n)){let s=o.get(n);return s.usage+=i,s.usage}return o.set(n,{usage:i,elements:[]}),i}getStyleElement(n,i){let o=this.styleNodesInDOM,s=o?.get(i);if(s?.parentNode===n)return o.delete(i),s.removeAttribute(ac),s;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=i,this.platformIsServer&&a.setAttribute(ac,this.appId),n.appendChild(a),a}}addStyleToHost(n,i){let o=this.getStyleElement(n,i),s=this.styleRef,a=s.get(i)?.elements;a?a.push(o):s.set(i,{elements:[o],usage:1})}resetHostNodes(){let n=this.hostNodes;n.clear(),n.add(this.doc.head)}};e.\u0275fac=function(i){return new(i||e)(_(oe),_(Na),_(Oa,8),_(vt))},e.\u0275prov=C({token:e,factory:e.\u0275fac});let t=e;return t})(),cc={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/Math/MathML"},fc=/%COMP%/g,ph="%COMP%",Rw=`_nghost-${ph}`,Ow=`_ngcontent-${ph}`,Pw=!0,Fw=new D("",{providedIn:"root",factory:()=>Pw});function kw(t){return Ow.replace(fc,t)}function Lw(t){return Rw.replace(fc,t)}function gh(t,e){return e.map(r=>r.replace(fc,t))}var uh=(()=>{let e=class e{constructor(n,i,o,s,a,c,u,l=null){this.eventManager=n,this.sharedStylesHost=i,this.appId=o,this.removeStylesOnCompDestroy=s,this.doc=a,this.platformId=c,this.ngZone=u,this.nonce=l,this.rendererByCompId=new Map,this.platformIsServer=yo(c),this.defaultRenderer=new wr(n,a,u,this.platformIsServer)}createRenderer(n,i){if(!n||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===Pe.ShadowDom&&(i=R(m({},i),{encapsulation:Pe.Emulated}));let o=this.getOrCreateRenderer(n,i);return o instanceof bo?o.applyToHost(n):o instanceof Cr&&o.applyStyles(),o}getOrCreateRenderer(n,i){let o=this.rendererByCompId,s=o.get(i.id);if(!s){let a=this.doc,c=this.ngZone,u=this.eventManager,l=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,h=this.platformIsServer;switch(i.encapsulation){case Pe.Emulated:s=new bo(u,l,i,this.appId,d,a,c,h);break;case Pe.ShadowDom:return new dc(u,l,n,i,a,c,this.nonce,h);default:s=new Cr(u,l,i,d,a,c,h);break}o.set(i.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}};e.\u0275fac=function(i){return new(i||e)(_(fh),_(hh),_(Na),_(Fw),_(oe),_(vt),_($),_(Oa))},e.\u0275prov=C({token:e,factory:e.\u0275fac});let t=e;return t})(),wr=class{constructor(e,r,n,i){this.eventManager=e,this.doc=r,this.ngZone=n,this.platformIsServer=i,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(e,r){return r?this.doc.createElementNS(cc[r]||r,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,r){(lh(e)?e.content:e).appendChild(r)}insertBefore(e,r,n){e&&(lh(e)?e.content:e).insertBefore(r,n)}removeChild(e,r){r.remove()}selectRootElement(e,r){let n=typeof e=="string"?this.doc.querySelector(e):e;if(!n)throw new w(-5104,!1);return r||(n.textContent=""),n}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,r,n,i){if(i){r=i+":"+r;let o=cc[i];o?e.setAttributeNS(o,r,n):e.setAttribute(r,n)}else e.setAttribute(r,n)}removeAttribute(e,r,n){if(n){let i=cc[n];i?e.removeAttributeNS(i,r):e.removeAttribute(`${n}:${r}`)}else e.removeAttribute(r)}addClass(e,r){e.classList.add(r)}removeClass(e,r){e.classList.remove(r)}setStyle(e,r,n,i){i&(He.DashCase|He.Important)?e.style.setProperty(r,n,i&He.Important?"important":""):e.style[r]=n}removeStyle(e,r,n){n&He.DashCase?e.style.removeProperty(r):e.style[r]=""}setProperty(e,r,n){e!=null&&(e[r]=n)}setValue(e,r){e.nodeValue=r}listen(e,r,n){if(typeof e=="string"&&(e=Je().getGlobalEventTarget(this.doc,e),!e))throw new Error(`Unsupported event target ${e} for event ${r}`);return this.eventManager.addEventListener(e,r,this.decoratePreventDefault(n))}decoratePreventDefault(e){return r=>{if(r==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(r)):e(r))===!1&&r.preventDefault()}}};function lh(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var dc=class extends wr{constructor(e,r,n,i,o,s,a,c){super(e,o,s,c),this.sharedStylesHost=r,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let u=gh(i.id,i.styles);for(let l of u){let d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=l,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,r){return super.appendChild(this.nodeOrShadowRoot(e),r)}insertBefore(e,r,n){return super.insertBefore(this.nodeOrShadowRoot(e),r,n)}removeChild(e,r){return super.removeChild(null,r)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Cr=class extends wr{constructor(e,r,n,i,o,s,a,c){super(e,o,s,a),this.sharedStylesHost=r,this.removeStylesOnCompDestroy=i,this.styles=c?gh(c,n.styles):n.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},bo=class extends Cr{constructor(e,r,n,i,o,s,a,c){let u=i+"-"+n.id;super(e,r,n,o,s,a,c,u),this.contentAttr=kw(u),this.hostAttr=Lw(u)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,r){let n=super.createElement(e,r);return super.setAttribute(n,this.contentAttr,""),n}},Vw=(()=>{let e=class e extends Dr{constructor(n){super(n)}supports(n){return!0}addEventListener(n,i,o){return n.addEventListener(i,o,!1),()=>this.removeEventListener(n,i,o)}removeEventListener(n,i,o){return n.removeEventListener(i,o)}};e.\u0275fac=function(i){return new(i||e)(_(oe))},e.\u0275prov=C({token:e,factory:e.\u0275fac});let t=e;return t})(),jw=(()=>{let e=class e extends Dr{constructor(n){super(n),this.delegate=p($f,{optional:!0})}supports(n){return this.delegate?this.delegate.supports(n):!1}addEventListener(n,i,o){return this.delegate.addEventListener(n,i,o)}removeEventListener(n,i,o){return this.delegate.removeEventListener(n,i,o)}};e.\u0275fac=function(i){return new(i||e)(_(oe))},e.\u0275prov=C({token:e,factory:e.\u0275fac});let t=e;return t})(),dh=["alt","control","meta","shift"],Uw={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Bw={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},$w=(()=>{let e=class e extends Dr{constructor(n){super(n)}supports(n){return e.parseEventName(n)!=null}addEventListener(n,i,o){let s=e.parseEventName(i),a=e.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Je().onAndCancel(n,s.domEventName,a))}static parseEventName(n){let i=n.toLowerCase().split("."),o=i.shift();if(i.length===0||!(o==="keydown"||o==="keyup"))return null;let s=e._normalizeKey(i.pop()),a="",c=i.indexOf("code");if(c>-1&&(i.splice(c,1),a="code."),dh.forEach(l=>{let d=i.indexOf(l);d>-1&&(i.splice(d,1),a+=l+".")}),a+=s,i.length!=0||s.length===0)return null;let u={};return u.domEventName=o,u.fullKey=a,u}static matchEventFullKeyCode(n,i){let o=Uw[n.key]||n.key,s="";return i.indexOf("code.")>-1&&(o=n.code,s="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),dh.forEach(a=>{if(a!==o){let c=Bw[a];c(n)&&(s+=a+".")}}),s+=o,s===i)}static eventCallback(n,i,o){return s=>{e.matchEventFullKeyCode(s,n)&&o.runGuarded(()=>i(s))}}static _normalizeKey(n){return n==="esc"?"escape":n}};e.\u0275fac=function(i){return new(i||e)(_(oe))},e.\u0275prov=C({token:e,factory:e.\u0275fac});let t=e;return t})();function mh(t,e){return Bf(m({rootComponent:t},Hw(e)))}function Hw(t){return{appProviders:[...Zw,...t?.providers??[]],platformProviders:qw}}function zw(){lc.makeCurrent()}function Gw(){return new ht}function Ww(){return Yd(document),document}var qw=[{provide:vt,useValue:Kf},{provide:Ra,useValue:zw,multi:!0},{provide:oe,useFactory:Ww,deps:[]}];var Zw=[{provide:no,useValue:"root"},{provide:ht,useFactory:Gw,deps:[]},{provide:Io,useClass:Vw,multi:!0,deps:[oe,$,vt]},{provide:Io,useClass:$w,multi:!0,deps:[oe]},{provide:Io,useClass:jw,multi:!0},uh,hh,fh,{provide:Cn,useExisting:uh},{provide:Rn,useClass:Nw,deps:[]},[]];var vh=(()=>{let e=class e{constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}};e.\u0275fac=function(i){return new(i||e)(_(oe))},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var T="primary",Vr=Symbol("RouteTitle"),vc=class{constructor(e){this.params=e||{}}has(e){return Object.prototype.hasOwnProperty.call(this.params,e)}get(e){if(this.has(e)){let r=this.params[e];return Array.isArray(r)?r[0]:r}return null}getAll(e){if(this.has(e)){let r=this.params[e];return Array.isArray(r)?r:[r]}return[]}get keys(){return Object.keys(this.params)}};function Vn(t){return new vc(t)}function Kw(t,e,r){let n=r.path.split("/");if(n.length>t.length||r.pathMatch==="full"&&(e.hasChildren()||n.lengthn[o]===i)}else return t===e}function Mh(t){return t.length>0?t[t.length-1]:null}function bt(t){return ms(t)?t:$t(t)?B(Promise.resolve(t)):I(t)}var Xw={exact:Th,subset:xh},Sh={exact:eC,subset:tC,ignored:()=>!0};function yh(t,e,r){return Xw[r.paths](t.root,e.root,r.matrixParams)&&Sh[r.queryParams](t.queryParams,e.queryParams)&&!(r.fragment==="exact"&&t.fragment!==e.fragment)}function eC(t,e){return Ve(t,e)}function Th(t,e,r){if(!Wt(t.segments,e.segments)||!So(t.segments,e.segments,r)||t.numberOfChildren!==e.numberOfChildren)return!1;for(let n in e.children)if(!t.children[n]||!Th(t.children[n],e.children[n],r))return!1;return!0}function tC(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(r=>_h(t[r],e[r]))}function xh(t,e,r){return Ah(t,e,e.segments,r)}function Ah(t,e,r,n){if(t.segments.length>r.length){let i=t.segments.slice(0,r.length);return!(!Wt(i,r)||e.hasChildren()||!So(i,r,n))}else if(t.segments.length===r.length){if(!Wt(t.segments,r)||!So(t.segments,r,n))return!1;for(let i in e.children)if(!t.children[i]||!xh(t.children[i],e.children[i],n))return!1;return!0}else{let i=r.slice(0,t.segments.length),o=r.slice(t.segments.length);return!Wt(t.segments,i)||!So(t.segments,i,n)||!t.children[T]?!1:Ah(t.children[T],e,o,n)}}function So(t,e,r){return e.every((n,i)=>Sh[r](t[i].parameters,n.parameters))}var tt=class{constructor(e=new L([],{}),r={},n=null){this.root=e,this.queryParams=r,this.fragment=n}get queryParamMap(){return this._queryParamMap??=Vn(this.queryParams),this._queryParamMap}toString(){return iC.serialize(this)}},L=class{constructor(e,r){this.segments=e,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 To(this)}},Gt=class{constructor(e,r){this.path=e,this.parameters=r}get parameterMap(){return this._parameterMap??=Vn(this.parameters),this._parameterMap}toString(){return Rh(this)}};function nC(t,e){return Wt(t,e)&&t.every((r,n)=>Ve(r.parameters,e[n].parameters))}function Wt(t,e){return t.length!==e.length?!1:t.every((r,n)=>r.path===e[n].path)}function rC(t,e){let r=[];return Object.entries(t.children).forEach(([n,i])=>{n===T&&(r=r.concat(e(i,n)))}),Object.entries(t.children).forEach(([n,i])=>{n!==T&&(r=r.concat(e(i,n)))}),r}var zc=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=C({token:e,factory:()=>new Tr,providedIn:"root"});let t=e;return t})(),Tr=class{parse(e){let r=new wc(e);return new tt(r.parseRootSegment(),r.parseQueryParams(),r.parseFragment())}serialize(e){let r=`/${Er(e.root,!0)}`,n=aC(e.queryParams),i=typeof e.fragment=="string"?`#${oC(e.fragment)}`:"";return`${r}${n}${i}`}},iC=new Tr;function To(t){return t.segments.map(e=>Rh(e)).join("/")}function Er(t,e){if(!t.hasChildren())return To(t);if(e){let r=t.children[T]?Er(t.children[T],!1):"",n=[];return Object.entries(t.children).forEach(([i,o])=>{i!==T&&n.push(`${i}:${Er(o,!1)}`)}),n.length>0?`${r}(${n.join("//")})`:r}else{let r=rC(t,(n,i)=>i===T?[Er(t.children[T],!1)]:[`${i}:${Er(n,!1)}`]);return Object.keys(t.children).length===1&&t.children[T]!=null?`${To(t)}/${r[0]}`:`${To(t)}/(${r.join("//")})`}}function Nh(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function _o(t){return Nh(t).replace(/%3B/gi,";")}function oC(t){return encodeURI(t)}function Dc(t){return Nh(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function xo(t){return decodeURIComponent(t)}function Dh(t){return xo(t.replace(/\+/g,"%20"))}function Rh(t){return`${Dc(t.path)}${sC(t.parameters)}`}function sC(t){return Object.entries(t).map(([e,r])=>`;${Dc(e)}=${Dc(r)}`).join("")}function aC(t){let e=Object.entries(t).map(([r,n])=>Array.isArray(n)?n.map(i=>`${_o(r)}=${_o(i)}`).join("&"):`${_o(r)}=${_o(n)}`).filter(r=>r);return e.length?`?${e.join("&")}`:""}var cC=/^[^\/()?;#]+/;function hc(t){let e=t.match(cC);return e?e[0]:""}var uC=/^[^\/()?;=#]+/;function lC(t){let e=t.match(uC);return e?e[0]:""}var dC=/^[^=?&#]+/;function fC(t){let e=t.match(dC);return e?e[0]:""}var hC=/^[^&#]+/;function pC(t){let e=t.match(hC);return e?e[0]:""}var wc=class{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new L([],{}):new L([],this.parseChildren())}parseQueryParams(){let e={};if(this.consumeOptional("?"))do this.parseQueryParam(e);while(this.consumeOptional("&"));return e}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let r={};this.peekStartsWith("/(")&&(this.capture("/"),r=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(e.length>0||Object.keys(r).length>0)&&(n[T]=new L(e,r)),n}parseSegment(){let e=hc(this.remaining);if(e===""&&this.peekStartsWith(";"))throw new w(4009,!1);return this.capture(e),new Gt(xo(e),this.parseMatrixParams())}parseMatrixParams(){let e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){let r=lC(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){let i=hc(this.remaining);i&&(n=i,this.capture(n))}e[xo(r)]=xo(n)}parseQueryParam(e){let r=fC(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){let s=pC(this.remaining);s&&(n=s,this.capture(n))}let i=Dh(r),o=Dh(n);if(e.hasOwnProperty(i)){let s=e[i];Array.isArray(s)||(s=[s],e[i]=s),s.push(o)}else e[i]=o}parseParens(e){let r={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let n=hc(this.remaining),i=this.remaining[n.length];if(i!=="/"&&i!==")"&&i!==";")throw new w(4010,!1);let o;n.indexOf(":")>-1?(o=n.slice(0,n.indexOf(":")),this.capture(o),this.capture(":")):e&&(o=T);let s=this.parseChildren();r[o]=Object.keys(s).length===1?s[T]:new L([],s),this.consumeOptional("//")}return r}peekStartsWith(e){return this.remaining.startsWith(e)}consumeOptional(e){return this.peekStartsWith(e)?(this.remaining=this.remaining.substring(e.length),!0):!1}capture(e){if(!this.consumeOptional(e))throw new w(4011,!1)}};function Oh(t){return t.segments.length>0?new L([],{[T]:t}):t}function Ph(t){let e={};for(let[n,i]of Object.entries(t.children)){let o=Ph(i);if(n===T&&o.segments.length===0&&o.hasChildren())for(let[s,a]of Object.entries(o.children))e[s]=a;else(o.segments.length>0||o.hasChildren())&&(e[n]=o)}let r=new L(t.segments,e);return gC(r)}function gC(t){if(t.numberOfChildren===1&&t.children[T]){let e=t.children[T];return new L(t.segments.concat(e.segments),e.children)}return t}function xr(t){return t instanceof tt}function mC(t,e,r=null,n=null){let i=Fh(t);return kh(i,e,r,n)}function Fh(t){let e;function r(o){let s={};for(let c of o.children){let u=r(c);s[c.outlet]=u}let a=new L(o.url,s);return o===t&&(e=a),a}let n=r(t.root),i=Oh(n);return e??i}function kh(t,e,r,n){let i=t;for(;i.parent;)i=i.parent;if(e.length===0)return pc(i,i,i,r,n);let o=vC(e);if(o.toRoot())return pc(i,i,new L([],{}),r,n);let s=yC(o,i,t),a=s.processChildren?_r(s.segmentGroup,s.index,o.commands):Vh(s.segmentGroup,s.index,o.commands);return pc(i,s.segmentGroup,a,r,n)}function Ao(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function Ar(t){return typeof t=="object"&&t!=null&&t.outlets}function pc(t,e,r,n,i){let o={};n&&Object.entries(n).forEach(([c,u])=>{o[c]=Array.isArray(u)?u.map(l=>`${l}`):`${u}`});let s;t===e?s=r:s=Lh(t,e,r);let a=Oh(Ph(s));return new tt(a,o,i)}function Lh(t,e,r){let n={};return Object.entries(t.children).forEach(([i,o])=>{o===e?n[i]=r:n[i]=Lh(o,e,r)}),new L(t.segments,n)}var No=class{constructor(e,r,n){if(this.isAbsolute=e,this.numberOfDoubleDots=r,this.commands=n,e&&n.length>0&&Ao(n[0]))throw new w(4003,!1);let i=n.find(Ar);if(i&&i!==Mh(n))throw new w(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function vC(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new No(!0,0,t);let e=0,r=!1,n=t.reduce((i,o,s)=>{if(typeof o=="object"&&o!=null){if(o.outlets){let a={};return Object.entries(o.outlets).forEach(([c,u])=>{a[c]=typeof u=="string"?u.split("/"):u}),[...i,{outlets:a}]}if(o.segmentPath)return[...i,o.segmentPath]}return typeof o!="string"?[...i,o]:s===0?(o.split("/").forEach((a,c)=>{c==0&&a==="."||(c==0&&a===""?r=!0:a===".."?e++:a!=""&&i.push(a))}),i):[...i,o]},[]);return new No(r,e,n)}var Fn=class{constructor(e,r,n){this.segmentGroup=e,this.processChildren=r,this.index=n}};function yC(t,e,r){if(t.isAbsolute)return new Fn(e,!0,0);if(!r)return new Fn(e,!1,NaN);if(r.parent===null)return new Fn(r,!0,0);let n=Ao(t.commands[0])?0:1,i=r.segments.length-1+n;return DC(r,i,t.numberOfDoubleDots)}function DC(t,e,r){let n=t,i=e,o=r;for(;o>i;){if(o-=i,n=n.parent,!n)throw new w(4005,!1);i=n.segments.length}return new Fn(n,!1,i-o)}function wC(t){return Ar(t[0])?t[0].outlets:{[T]:t}}function Vh(t,e,r){if(t??=new L([],{}),t.segments.length===0&&t.hasChildren())return _r(t,e,r);let n=CC(t,e,r),i=r.slice(n.commandIndex);if(n.match&&n.pathIndexo!==T)&&t.children[T]&&t.numberOfChildren===1&&t.children[T].segments.length===0){let o=_r(t.children[T],e,r);return new L(t.segments,o.children)}return Object.entries(n).forEach(([o,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(i[o]=Vh(t.children[o],e,s))}),Object.entries(t.children).forEach(([o,s])=>{n[o]===void 0&&(i[o]=s)}),new L(t.segments,i)}}function CC(t,e,r){let n=0,i=e,o={match:!1,pathIndex:0,commandIndex:0};for(;i=r.length)return o;let s=t.segments[i],a=r[n];if(Ar(a))break;let c=`${a}`,u=n0&&c===void 0)break;if(c&&u&&typeof u=="object"&&u.outlets===void 0){if(!Ch(c,u,s))return o;n+=2}else{if(!Ch(c,{},s))return o;n++}i++}return{match:!0,pathIndex:i,commandIndex:n}}function Cc(t,e,r){let n=t.segments.slice(0,e),i=0;for(;i{typeof n=="string"&&(n=[n]),n!==null&&(e[r]=Cc(new L([],{}),0,n))}),e}function wh(t){let e={};return Object.entries(t).forEach(([r,n])=>e[r]=`${n}`),e}function Ch(t,e,r){return t==r.path&&Ve(e,r.parameters)}var Mr="imperative",te=function(t){return t[t.NavigationStart=0]="NavigationStart",t[t.NavigationEnd=1]="NavigationEnd",t[t.NavigationCancel=2]="NavigationCancel",t[t.NavigationError=3]="NavigationError",t[t.RoutesRecognized=4]="RoutesRecognized",t[t.ResolveStart=5]="ResolveStart",t[t.ResolveEnd=6]="ResolveEnd",t[t.GuardsCheckStart=7]="GuardsCheckStart",t[t.GuardsCheckEnd=8]="GuardsCheckEnd",t[t.RouteConfigLoadStart=9]="RouteConfigLoadStart",t[t.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",t[t.ChildActivationStart=11]="ChildActivationStart",t[t.ChildActivationEnd=12]="ChildActivationEnd",t[t.ActivationStart=13]="ActivationStart",t[t.ActivationEnd=14]="ActivationEnd",t[t.Scroll=15]="Scroll",t[t.NavigationSkipped=16]="NavigationSkipped",t}(te||{}),Ie=class{constructor(e,r){this.id=e,this.url=r}},Nr=class extends Ie{constructor(e,r,n="imperative",i=null){super(e,r),this.type=te.NavigationStart,this.navigationTrigger=n,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},qt=class extends Ie{constructor(e,r,n){super(e,r),this.urlAfterRedirects=n,this.type=te.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},pe=function(t){return t[t.Redirect=0]="Redirect",t[t.SupersededByNewNavigation=1]="SupersededByNewNavigation",t[t.NoDataFromResolver=2]="NoDataFromResolver",t[t.GuardRejected=3]="GuardRejected",t}(pe||{}),Ec=function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t}(Ec||{}),et=class extends Ie{constructor(e,r,n,i){super(e,r),this.reason=n,this.code=i,this.type=te.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},Zt=class extends Ie{constructor(e,r,n,i){super(e,r),this.reason=n,this.code=i,this.type=te.NavigationSkipped}},Rr=class extends Ie{constructor(e,r,n,i){super(e,r),this.error=n,this.target=i,this.type=te.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Ro=class extends Ie{constructor(e,r,n,i){super(e,r),this.urlAfterRedirects=n,this.state=i,this.type=te.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Ic=class extends Ie{constructor(e,r,n,i){super(e,r),this.urlAfterRedirects=n,this.state=i,this.type=te.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},bc=class extends Ie{constructor(e,r,n,i,o){super(e,r),this.urlAfterRedirects=n,this.state=i,this.shouldActivate=o,this.type=te.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},_c=class extends Ie{constructor(e,r,n,i){super(e,r),this.urlAfterRedirects=n,this.state=i,this.type=te.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Mc=class extends Ie{constructor(e,r,n,i){super(e,r),this.urlAfterRedirects=n,this.state=i,this.type=te.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Sc=class{constructor(e){this.route=e,this.type=te.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Tc=class{constructor(e){this.route=e,this.type=te.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},xc=class{constructor(e){this.snapshot=e,this.type=te.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Ac=class{constructor(e){this.snapshot=e,this.type=te.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Nc=class{constructor(e){this.snapshot=e,this.type=te.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Rc=class{constructor(e){this.snapshot=e,this.type=te.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}};var Or=class{},jn=class{constructor(e,r){this.url=e,this.navigationBehaviorOptions=r}};function IC(t,e){return t.providers&&!t._injector&&(t._injector=Wa(t.providers,e,`Route: ${t.path}`)),t._injector??e}function Ae(t){return t.outlet||T}function bC(t,e){let r=t.filter(n=>Ae(n)===e);return r.push(...t.filter(n=>Ae(n)!==e)),r}function jr(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let e=t.parent;e;e=e.parent){let r=e.routeConfig;if(r?._loadedInjector)return r._loadedInjector;if(r?._injector)return r._injector}return null}var Oc=class{get injector(){return jr(this.route?.snapshot)??this.rootInjector}set injector(e){}constructor(e){this.rootInjector=e,this.outlet=null,this.route=null,this.children=new jo(this.rootInjector),this.attachRef=null}},jo=(()=>{let e=class e{constructor(n){this.rootInjector=n,this.contexts=new Map}onChildOutletCreated(n,i){let o=this.getOrCreateContext(n);o.outlet=i,this.contexts.set(n,o)}onChildOutletDestroyed(n){let i=this.getContext(n);i&&(i.outlet=null,i.attachRef=null)}onOutletDeactivated(){let n=this.contexts;return this.contexts=new Map,n}onOutletReAttached(n){this.contexts=n}getOrCreateContext(n){let i=this.getContext(n);return i||(i=new Oc(this.rootInjector),this.contexts.set(n,i)),i}getContext(n){return this.contexts.get(n)||null}};e.\u0275fac=function(i){return new(i||e)(_(ce))},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Oo=class{constructor(e){this._root=e}get root(){return this._root.value}parent(e){let r=this.pathFromRoot(e);return r.length>1?r[r.length-2]:null}children(e){let r=Pc(e,this._root);return r?r.children.map(n=>n.value):[]}firstChild(e){let r=Pc(e,this._root);return r&&r.children.length>0?r.children[0].value:null}siblings(e){let r=Fc(e,this._root);return r.length<2?[]:r[r.length-2].children.map(i=>i.value).filter(i=>i!==e)}pathFromRoot(e){return Fc(e,this._root).map(r=>r.value)}};function Pc(t,e){if(t===e.value)return e;for(let r of e.children){let n=Pc(t,r);if(n)return n}return null}function Fc(t,e){if(t===e.value)return[e];for(let r of e.children){let n=Fc(t,r);if(n.length)return n.unshift(e),n}return[]}var he=class{constructor(e,r){this.value=e,this.children=r}toString(){return`TreeNode(${this.value})`}};function Pn(t){let e={};return t&&t.children.forEach(r=>e[r.value.outlet]=r),e}var Po=class extends Oo{constructor(e,r){super(e),this.snapshot=r,Gc(this,e)}toString(){return this.snapshot.toString()}};function jh(t){let e=_C(t),r=new ee([new Gt("",{})]),n=new ee({}),i=new ee({}),o=new ee({}),s=new ee(""),a=new It(r,n,o,s,i,T,t,e.root);return a.snapshot=e.root,new Po(new he(a,[]),e)}function _C(t){let e={},r={},n={},i="",o=new kn([],e,n,i,r,T,t,null,{});return new ko("",new he(o,[]))}var It=class{constructor(e,r,n,i,o,s,a,c){this.urlSubject=e,this.paramsSubject=r,this.queryParamsSubject=n,this.fragmentSubject=i,this.dataSubject=o,this.outlet=s,this.component=a,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(S(u=>u[Vr]))??I(void 0),this.url=e,this.params=r,this.queryParams=n,this.fragment=i,this.data=o}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(S(e=>Vn(e))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(S(e=>Vn(e))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function Fo(t,e,r="emptyOnly"){let n,{routeConfig:i}=t;return e!==null&&(r==="always"||i?.path===""||!e.component&&!e.routeConfig?.loadComponent)?n={params:m(m({},e.params),t.params),data:m(m({},e.data),t.data),resolve:m(m(m(m({},t.data),e.data),i?.data),t._resolvedData)}:n={params:m({},t.params),data:m({},t.data),resolve:m(m({},t.data),t._resolvedData??{})},i&&Bh(i)&&(n.resolve[Vr]=i.title),n}var kn=class{get title(){return this.data?.[Vr]}constructor(e,r,n,i,o,s,a,c,u){this.url=e,this.params=r,this.queryParams=n,this.fragment=i,this.data=o,this.outlet=s,this.component=a,this.routeConfig=c,this._resolve=u}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??=Vn(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Vn(this.queryParams),this._queryParamMap}toString(){let e=this.url.map(n=>n.toString()).join("/"),r=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${e}', path:'${r}')`}},ko=class extends Oo{constructor(e,r){super(r),this.url=e,Gc(this,r)}toString(){return Uh(this._root)}};function Gc(t,e){e.value._routerState=t,e.children.forEach(r=>Gc(t,r))}function Uh(t){let e=t.children.length>0?` { ${t.children.map(Uh).join(", ")} } `:"";return`${t.value}${e}`}function gc(t){if(t.snapshot){let e=t.snapshot,r=t._futureSnapshot;t.snapshot=r,Ve(e.queryParams,r.queryParams)||t.queryParamsSubject.next(r.queryParams),e.fragment!==r.fragment&&t.fragmentSubject.next(r.fragment),Ve(e.params,r.params)||t.paramsSubject.next(r.params),Jw(e.url,r.url)||t.urlSubject.next(r.url),Ve(e.data,r.data)||t.dataSubject.next(r.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function kc(t,e){let r=Ve(t.params,e.params)&&nC(t.url,e.url),n=!t.parent!=!e.parent;return r&&!n&&(!t.parent||kc(t.parent,e.parent))}function Bh(t){return typeof t.title=="string"||t.title===null}var Wc=(()=>{let e=class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=T,this.activateEvents=new q,this.deactivateEvents=new q,this.attachEvents=new q,this.detachEvents=new q,this.parentContexts=p(jo),this.location=p(uo),this.changeDetector=p(Nn),this.inputBinder=p(qc,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(n){if(n.name){let{firstChange:i,previousValue:o}=n.name;if(i)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(n){return this.parentContexts.getContext(n)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let n=this.parentContexts.getContext(this.name);n?.route&&(n.attachRef?this.attach(n.attachRef,n.route):this.activateWith(n.route,n.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new w(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new w(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new w(4012,!1);this.location.detach();let n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}attach(n,i){this.activated=n,this._activatedRoute=i,this.location.insert(n.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(n.instance)}deactivate(){if(this.activated){let n=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}}activateWith(n,i){if(this.isActivated)throw new w(4013,!1);this._activatedRoute=n;let o=this.location,a=n.snapshot.component,c=this.parentContexts.getOrCreateContext(this.name).children,u=new Lc(n,c,o.injector);this.activated=o.createComponent(a,{index:o.length,injector:u,environmentInjector:i}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=Ce({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[jt]});let t=e;return t})(),Lc=class t{__ngOutletInjector(e){return new t(this.route,this.childContexts,e)}constructor(e,r,n){this.route=e,this.childContexts=r,this.parent=n}get(e,r){return e===It?this.route:e===jo?this.childContexts:this.parent.get(e,r)}},qc=new D("");function MC(t,e,r){let n=Pr(t,e._root,r?r._root:void 0);return new Po(n,e)}function Pr(t,e,r){if(r&&t.shouldReuseRoute(e.value,r.value.snapshot)){let n=r.value;n._futureSnapshot=e.value;let i=SC(t,e,r);return new he(n,i)}else{if(t.shouldAttach(e.value)){let o=t.retrieve(e.value);if(o!==null){let s=o.route;return s.value._futureSnapshot=e.value,s.children=e.children.map(a=>Pr(t,a)),s}}let n=TC(e.value),i=e.children.map(o=>Pr(t,o));return new he(n,i)}}function SC(t,e,r){return e.children.map(n=>{for(let i of r.children)if(t.shouldReuseRoute(n.value,i.value.snapshot))return Pr(t,n,i);return Pr(t,n)})}function TC(t){return new It(new ee(t.url),new ee(t.params),new ee(t.queryParams),new ee(t.fragment),new ee(t.data),t.outlet,t.component,t)}var Fr=class{constructor(e,r){this.redirectTo=e,this.navigationBehaviorOptions=r}},$h="ngNavigationCancelingError";function Lo(t,e){let{redirectTo:r,navigationBehaviorOptions:n}=xr(e)?{redirectTo:e,navigationBehaviorOptions:void 0}:e,i=Hh(!1,pe.Redirect);return i.url=r,i.navigationBehaviorOptions=n,i}function Hh(t,e){let r=new Error(`NavigationCancelingError: ${t||""}`);return r[$h]=!0,r.cancellationCode=e,r}function xC(t){return zh(t)&&xr(t.url)}function zh(t){return!!t&&t[$h]}var AC=(t,e,r,n)=>S(i=>(new Vc(e,i.targetRouterState,i.currentRouterState,r,n).activate(t),i)),Vc=class{constructor(e,r,n,i,o){this.routeReuseStrategy=e,this.futureState=r,this.currState=n,this.forwardEvent=i,this.inputBindingEnabled=o}activate(e){let r=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(r,n,e),gc(this.futureState.root),this.activateChildRoutes(r,n,e)}deactivateChildRoutes(e,r,n){let i=Pn(r);e.children.forEach(o=>{let s=o.value.outlet;this.deactivateRoutes(o,i[s],n),delete i[s]}),Object.values(i).forEach(o=>{this.deactivateRouteAndItsChildren(o,n)})}deactivateRoutes(e,r,n){let i=e.value,o=r?r.value:null;if(i===o)if(i.component){let s=n.getContext(i.outlet);s&&this.deactivateChildRoutes(e,r,s.children)}else this.deactivateChildRoutes(e,r,n);else o&&this.deactivateRouteAndItsChildren(r,n)}deactivateRouteAndItsChildren(e,r){e.value.component&&this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,r):this.deactivateRouteAndOutlet(e,r)}detachAndStoreRouteSubtree(e,r){let n=r.getContext(e.value.outlet),i=n&&e.value.component?n.children:r,o=Pn(e);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);if(n&&n.outlet){let s=n.outlet.detach(),a=n.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:s,route:e,contexts:a})}}deactivateRouteAndOutlet(e,r){let n=r.getContext(e.value.outlet),i=n&&e.value.component?n.children:r,o=Pn(e);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);n&&(n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated()),n.attachRef=null,n.route=null)}activateChildRoutes(e,r,n){let i=Pn(r);e.children.forEach(o=>{this.activateRoutes(o,i[o.value.outlet],n),this.forwardEvent(new Rc(o.value.snapshot))}),e.children.length&&this.forwardEvent(new Ac(e.value.snapshot))}activateRoutes(e,r,n){let i=e.value,o=r?r.value:null;if(gc(i),i===o)if(i.component){let s=n.getOrCreateContext(i.outlet);this.activateChildRoutes(e,r,s.children)}else this.activateChildRoutes(e,r,n);else if(i.component){let s=n.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){let a=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),gc(a.route.value),this.activateChildRoutes(e,null,s.children)}else s.attachRef=null,s.route=i,s.outlet&&s.outlet.activateWith(i,s.injector),this.activateChildRoutes(e,null,s.children)}else this.activateChildRoutes(e,null,n)}},Vo=class{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}},Ln=class{constructor(e,r){this.component=e,this.route=r}};function NC(t,e,r){let n=t._root,i=e?e._root:null;return Ir(n,i,r,[n.value])}function RC(t){let e=t.routeConfig?t.routeConfig.canActivateChild:null;return!e||e.length===0?null:{node:t,guards:e}}function Bn(t,e){let r=Symbol(),n=e.get(t,r);return n===r?typeof t=="function"&&!Rl(t)?t:e.get(t):n}function Ir(t,e,r,n,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=Pn(e);return t.children.forEach(s=>{OC(s,o[s.value.outlet],r,n.concat([s.value]),i),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,a])=>Sr(a,r.getContext(s),i)),i}function OC(t,e,r,n,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=t.value,s=e?e.value:null,a=r?r.getContext(t.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){let c=PC(s,o,o.routeConfig.runGuardsAndResolvers);c?i.canActivateChecks.push(new Vo(n)):(o.data=s.data,o._resolvedData=s._resolvedData),o.component?Ir(t,e,a?a.children:null,n,i):Ir(t,e,r,n,i),c&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new Ln(a.outlet.component,s))}else s&&Sr(e,a,i),i.canActivateChecks.push(new Vo(n)),o.component?Ir(t,null,a?a.children:null,n,i):Ir(t,null,r,n,i);return i}function PC(t,e,r){if(typeof r=="function")return r(t,e);switch(r){case"pathParamsChange":return!Wt(t.url,e.url);case"pathParamsOrQueryParamsChange":return!Wt(t.url,e.url)||!Ve(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!kc(t,e)||!Ve(t.queryParams,e.queryParams);case"paramsChange":default:return!kc(t,e)}}function Sr(t,e,r){let n=Pn(t),i=t.value;Object.entries(n).forEach(([o,s])=>{i.component?e?Sr(s,e.children.getContext(o),r):Sr(s,null,r):Sr(s,e,r)}),i.component?e&&e.outlet&&e.outlet.isActivated?r.canDeactivateChecks.push(new Ln(e.outlet.component,i)):r.canDeactivateChecks.push(new Ln(null,i)):r.canDeactivateChecks.push(new Ln(null,i))}function Ur(t){return typeof t=="function"}function FC(t){return typeof t=="boolean"}function kC(t){return t&&Ur(t.canLoad)}function LC(t){return t&&Ur(t.canActivate)}function VC(t){return t&&Ur(t.canActivateChild)}function jC(t){return t&&Ur(t.canDeactivate)}function UC(t){return t&&Ur(t.canMatch)}function Gh(t){return t instanceof je||t?.name==="EmptyError"}var Mo=Symbol("INITIAL_VALUE");function Un(){return fe(t=>wi(t.map(e=>e.pipe(Ue(1),Es(Mo)))).pipe(S(e=>{for(let r of e)if(r!==!0){if(r===Mo)return Mo;if(r===!1||BC(r))return r}return!0}),de(e=>e!==Mo),Ue(1)))}function BC(t){return xr(t)||t instanceof Fr}function $C(t,e){return Q(r=>{let{targetSnapshot:n,currentSnapshot:i,guards:{canActivateChecks:o,canDeactivateChecks:s}}=r;return s.length===0&&o.length===0?I(R(m({},r),{guardsResult:!0})):HC(s,n,i,t).pipe(Q(a=>a&&FC(a)?zC(n,o,t,e):I(a)),S(a=>R(m({},r),{guardsResult:a})))})}function HC(t,e,r,n){return B(t).pipe(Q(i=>YC(i.component,i.route,r,e,n)),Ne(i=>i!==!0,!0))}function zC(t,e,r,n){return B(e).pipe(ot(i=>on(WC(i.route.parent,n),GC(i.route,n),ZC(t,i.path,r),qC(t,i.route,r))),Ne(i=>i!==!0,!0))}function GC(t,e){return t!==null&&e&&e(new Nc(t)),I(!0)}function WC(t,e){return t!==null&&e&&e(new xc(t)),I(!0)}function qC(t,e,r){let n=e.routeConfig?e.routeConfig.canActivate:null;if(!n||n.length===0)return I(!0);let i=n.map(o=>Ci(()=>{let s=jr(e)??r,a=Bn(o,s),c=LC(a)?a.canActivate(e,t):Se(s,()=>a(e,t));return bt(c).pipe(Ne())}));return I(i).pipe(Un())}function ZC(t,e,r){let n=e[e.length-1],o=e.slice(0,e.length-1).reverse().map(s=>RC(s)).filter(s=>s!==null).map(s=>Ci(()=>{let a=s.guards.map(c=>{let u=jr(s.node)??r,l=Bn(c,u),d=VC(l)?l.canActivateChild(n,t):Se(u,()=>l(n,t));return bt(d).pipe(Ne())});return I(a).pipe(Un())}));return I(o).pipe(Un())}function YC(t,e,r,n,i){let o=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!o||o.length===0)return I(!0);let s=o.map(a=>{let c=jr(e)??i,u=Bn(a,c),l=jC(u)?u.canDeactivate(t,e,r,n):Se(c,()=>u(t,e,r,n));return bt(l).pipe(Ne())});return I(s).pipe(Un())}function QC(t,e,r,n){let i=e.canLoad;if(i===void 0||i.length===0)return I(!0);let o=i.map(s=>{let a=Bn(s,t),c=kC(a)?a.canLoad(e,r):Se(t,()=>a(e,r));return bt(c)});return I(o).pipe(Un(),Wh(n))}function Wh(t){return fs(K(e=>{if(typeof e!="boolean")throw Lo(t,e)}),S(e=>e===!0))}function KC(t,e,r,n){let i=e.canMatch;if(!i||i.length===0)return I(!0);let o=i.map(s=>{let a=Bn(s,t),c=UC(a)?a.canMatch(e,r):Se(t,()=>a(e,r));return bt(c)});return I(o).pipe(Un(),Wh(n))}var kr=class{constructor(e){this.segmentGroup=e||null}},Lr=class extends Error{constructor(e){super(),this.urlTree=e}};function On(t){return rn(new kr(t))}function JC(t){return rn(new w(4e3,!1))}function XC(t){return rn(Hh(!1,pe.GuardRejected))}var jc=class{constructor(e,r){this.urlSerializer=e,this.urlTree=r}lineralizeSegments(e,r){let n=[],i=r.root;for(;;){if(n=n.concat(i.segments),i.numberOfChildren===0)return I(n);if(i.numberOfChildren>1||!i.children[T])return JC(`${e.redirectTo}`);i=i.children[T]}}applyRedirectCommands(e,r,n,i,o){if(typeof r!="string"){let a=r,{queryParams:c,fragment:u,routeConfig:l,url:d,outlet:h,params:f,data:g,title:E}=i,v=Se(o,()=>a({params:f,data:g,queryParams:c,fragment:u,routeConfig:l,url:d,outlet:h,title:E}));if(v instanceof tt)throw new Lr(v);r=v}let s=this.applyRedirectCreateUrlTree(r,this.urlSerializer.parse(r),e,n);if(r[0]==="/")throw new Lr(s);return s}applyRedirectCreateUrlTree(e,r,n,i){let o=this.createSegmentGroup(e,r.root,n,i);return new tt(o,this.createQueryParams(r.queryParams,this.urlTree.queryParams),r.fragment)}createQueryParams(e,r){let n={};return Object.entries(e).forEach(([i,o])=>{if(typeof o=="string"&&o[0]===":"){let a=o.substring(1);n[i]=r[a]}else n[i]=o}),n}createSegmentGroup(e,r,n,i){let o=this.createSegments(e,r.segments,n,i),s={};return Object.entries(r.children).forEach(([a,c])=>{s[a]=this.createSegmentGroup(e,c,n,i)}),new L(o,s)}createSegments(e,r,n,i){return r.map(o=>o.path[0]===":"?this.findPosParam(e,o,i):this.findOrReturn(o,n))}findPosParam(e,r,n){let i=n[r.path.substring(1)];if(!i)throw new w(4001,!1);return i}findOrReturn(e,r){let n=0;for(let i of r){if(i.path===e.path)return r.splice(n),i;n++}return e}},Uc={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function eE(t,e,r,n,i){let o=Zc(t,e,r);return o.matched?(n=IC(e,n),KC(n,e,r,i).pipe(S(s=>s===!0?o:m({},Uc)))):I(o)}function Zc(t,e,r){if(e.path==="**")return tE(r);if(e.path==="")return e.pathMatch==="full"&&(t.hasChildren()||r.length>0)?m({},Uc):{matched:!0,consumedSegments:[],remainingSegments:r,parameters:{},positionalParamSegments:{}};let i=(e.matcher||Kw)(r,t,e);if(!i)return m({},Uc);let o={};Object.entries(i.posParams??{}).forEach(([a,c])=>{o[a]=c.path});let s=i.consumed.length>0?m(m({},o),i.consumed[i.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:i.consumed,remainingSegments:r.slice(i.consumed.length),parameters:s,positionalParamSegments:i.posParams??{}}}function tE(t){return{matched:!0,parameters:t.length>0?Mh(t).parameters:{},consumedSegments:t,remainingSegments:[],positionalParamSegments:{}}}function Eh(t,e,r,n){return r.length>0&&iE(t,r,n)?{segmentGroup:new L(e,rE(n,new L(r,t.children))),slicedSegments:[]}:r.length===0&&oE(t,r,n)?{segmentGroup:new L(t.segments,nE(t,r,n,t.children)),slicedSegments:r}:{segmentGroup:new L(t.segments,t.children),slicedSegments:r}}function nE(t,e,r,n){let i={};for(let o of r)if(Uo(t,e,o)&&!n[Ae(o)]){let s=new L([],{});i[Ae(o)]=s}return m(m({},n),i)}function rE(t,e){let r={};r[T]=e;for(let n of t)if(n.path===""&&Ae(n)!==T){let i=new L([],{});r[Ae(n)]=i}return r}function iE(t,e,r){return r.some(n=>Uo(t,e,n)&&Ae(n)!==T)}function oE(t,e,r){return r.some(n=>Uo(t,e,n))}function Uo(t,e,r){return(t.hasChildren()||e.length>0)&&r.pathMatch==="full"?!1:r.path===""}function sE(t,e,r,n){return Ae(t)!==n&&(n===T||!Uo(e,r,t))?!1:Zc(e,t,r).matched}function aE(t,e,r){return e.length===0&&!t.children[r]}var Bc=class{};function cE(t,e,r,n,i,o,s="emptyOnly"){return new $c(t,e,r,n,i,s,o).recognize()}var uE=31,$c=class{constructor(e,r,n,i,o,s,a){this.injector=e,this.configLoader=r,this.rootComponentType=n,this.config=i,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new jc(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(e){return new w(4002,`'${e.segmentGroup}'`)}recognize(){let e=Eh(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(e).pipe(S(({children:r,rootSnapshot:n})=>{let i=new he(n,r),o=new ko("",i),s=mC(n,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),{state:o,tree:s}}))}match(e){let r=new kn([],Object.freeze({}),Object.freeze(m({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),T,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,e,T,r).pipe(S(n=>({children:n,rootSnapshot:r})),it(n=>{if(n instanceof Lr)return this.urlTree=n.urlTree,this.match(n.urlTree.root);throw n instanceof kr?this.noMatchError(n):n}))}processSegmentGroup(e,r,n,i,o){return n.segments.length===0&&n.hasChildren()?this.processChildren(e,r,n,o):this.processSegment(e,r,n,n.segments,i,!0,o).pipe(S(s=>s instanceof he?[s]:[]))}processChildren(e,r,n,i){let o=[];for(let s of Object.keys(n.children))s==="primary"?o.unshift(s):o.push(s);return B(o).pipe(ot(s=>{let a=n.children[s],c=bC(r,s);return this.processSegmentGroup(e,c,a,s,i)}),Cs((s,a)=>(s.push(...a),s)),st(null),ws(),Q(s=>{if(s===null)return On(n);let a=qh(s);return lE(a),I(a)}))}processSegment(e,r,n,i,o,s,a){return B(r).pipe(ot(c=>this.processSegmentAgainstRoute(c._injector??e,r,c,n,i,o,s,a).pipe(it(u=>{if(u instanceof kr)return I(null);throw u}))),Ne(c=>!!c),it(c=>{if(Gh(c))return aE(n,i,o)?I(new Bc):On(n);throw c}))}processSegmentAgainstRoute(e,r,n,i,o,s,a,c){return sE(n,i,o,s)?n.redirectTo===void 0?this.matchSegmentAgainstRoute(e,i,n,o,s,c):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(e,i,r,n,o,s,c):On(i):On(i)}expandSegmentAgainstRouteUsingRedirect(e,r,n,i,o,s,a){let{matched:c,parameters:u,consumedSegments:l,positionalParamSegments:d,remainingSegments:h}=Zc(r,i,o);if(!c)return On(r);typeof i.redirectTo=="string"&&i.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>uE&&(this.allowRedirects=!1));let f=new kn(o,u,Object.freeze(m({},this.urlTree.queryParams)),this.urlTree.fragment,Ih(i),Ae(i),i.component??i._loadedComponent??null,i,bh(i)),g=Fo(f,a,this.paramsInheritanceStrategy);f.params=Object.freeze(g.params),f.data=Object.freeze(g.data);let E=this.applyRedirects.applyRedirectCommands(l,i.redirectTo,d,f,e);return this.applyRedirects.lineralizeSegments(i,E).pipe(Q(v=>this.processSegment(e,n,r,v.concat(h),s,!1,a)))}matchSegmentAgainstRoute(e,r,n,i,o,s){let a=eE(r,n,i,e,this.urlSerializer);return n.path==="**"&&(r.children={}),a.pipe(fe(c=>c.matched?(e=n._injector??e,this.getChildConfig(e,n,i).pipe(fe(({routes:u})=>{let l=n._loadedInjector??e,{parameters:d,consumedSegments:h,remainingSegments:f}=c,g=new kn(h,d,Object.freeze(m({},this.urlTree.queryParams)),this.urlTree.fragment,Ih(n),Ae(n),n.component??n._loadedComponent??null,n,bh(n)),E=Fo(g,s,this.paramsInheritanceStrategy);g.params=Object.freeze(E.params),g.data=Object.freeze(E.data);let{segmentGroup:v,slicedSegments:y}=Eh(r,h,f,u);if(y.length===0&&v.hasChildren())return this.processChildren(l,u,v,g).pipe(S(U=>new he(g,U)));if(u.length===0&&y.length===0)return I(new he(g,[]));let z=Ae(n)===o;return this.processSegment(l,u,v,y,z?T:o,!0,g).pipe(S(U=>new he(g,U instanceof he?[U]:[])))}))):On(r)))}getChildConfig(e,r,n){return r.children?I({routes:r.children,injector:e}):r.loadChildren?r._loadedRoutes!==void 0?I({routes:r._loadedRoutes,injector:r._loadedInjector}):QC(e,r,n,this.urlSerializer).pipe(Q(i=>i?this.configLoader.loadChildren(e,r).pipe(K(o=>{r._loadedRoutes=o.routes,r._loadedInjector=o.injector})):XC(r))):I({routes:[],injector:e})}};function lE(t){t.sort((e,r)=>e.value.outlet===T?-1:r.value.outlet===T?1:e.value.outlet.localeCompare(r.value.outlet))}function dE(t){let e=t.value.routeConfig;return e&&e.path===""}function qh(t){let e=[],r=new Set;for(let n of t){if(!dE(n)){e.push(n);continue}let i=e.find(o=>n.value.routeConfig===o.value.routeConfig);i!==void 0?(i.children.push(...n.children),r.add(i)):e.push(n)}for(let n of r){let i=qh(n.children);e.push(new he(n.value,i))}return e.filter(n=>!r.has(n))}function Ih(t){return t.data||{}}function bh(t){return t.resolve||{}}function fE(t,e,r,n,i,o){return Q(s=>cE(t,e,r,n,s.extractedUrl,i,o).pipe(S(({state:a,tree:c})=>R(m({},s),{targetSnapshot:a,urlAfterRedirects:c}))))}function hE(t,e){return Q(r=>{let{targetSnapshot:n,guards:{canActivateChecks:i}}=r;if(!i.length)return I(r);let o=new Set(i.map(c=>c.route)),s=new Set;for(let c of o)if(!s.has(c))for(let u of Zh(c))s.add(u);let a=0;return B(s).pipe(ot(c=>o.has(c)?pE(c,n,t,e):(c.data=Fo(c,c.parent,t).resolve,I(void 0))),K(()=>a++),sn(1),Q(c=>a===s.size?I(r):le))})}function Zh(t){let e=t.children.map(r=>Zh(r)).flat();return[t,...e]}function pE(t,e,r,n){let i=t.routeConfig,o=t._resolve;return i?.title!==void 0&&!Bh(i)&&(o[Vr]=i.title),gE(o,t,e,n).pipe(S(s=>(t._resolvedData=s,t.data=Fo(t,t.parent,r).resolve,null)))}function gE(t,e,r,n){let i=yc(t);if(i.length===0)return I({});let o={};return B(i).pipe(Q(s=>mE(t[s],e,r,n).pipe(Ne(),K(a=>{if(a instanceof Fr)throw Lo(new Tr,a);o[s]=a}))),sn(1),Ds(o),it(s=>Gh(s)?le:rn(s)))}function mE(t,e,r,n){let i=jr(e)??n,o=Bn(t,i),s=o.resolve?o.resolve(e,r):Se(i,()=>o(e,r));return bt(s)}function mc(t){return fe(e=>{let r=t(e);return r?B(r).pipe(S(()=>e)):I(e)})}var Yh=(()=>{let e=class e{buildTitle(n){let i,o=n.root;for(;o!==void 0;)i=this.getResolvedTitleForRoute(o)??i,o=o.children.find(s=>s.outlet===T);return i}getResolvedTitleForRoute(n){return n.data[Vr]}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=C({token:e,factory:()=>p(vE),providedIn:"root"});let t=e;return t})(),vE=(()=>{let e=class e extends Yh{constructor(n){super(),this.title=n}updateTitle(n){let i=this.buildTitle(n);i!==void 0&&this.title.setTitle(i)}};e.\u0275fac=function(i){return new(i||e)(_(vh))},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Yc=new D("",{providedIn:"root",factory:()=>({})}),yE=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=bn({type:e,selectors:[["ng-component"]],standalone:!0,features:[An],decls:1,vars:0,template:function(i,o){i&1&&Le(0,"router-outlet")},dependencies:[Wc],encapsulation:2});let t=e;return t})();function Qc(t){let e=t.children&&t.children.map(Qc),r=e?R(m({},t),{children:e}):m({},t);return!r.component&&!r.loadComponent&&(e||r.loadChildren)&&r.outlet&&r.outlet!==T&&(r.component=yE),r}var Kc=new D(""),DE=(()=>{let e=class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=p(Qa)}loadComponent(n){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return I(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);let i=bt(n.loadComponent()).pipe(S(Qh),K(s=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=s}),xt(()=>{this.componentLoaders.delete(n)})),o=new nn(i,()=>new X).pipe(tn());return this.componentLoaders.set(n,o),o}loadChildren(n,i){if(this.childrenLoaders.get(i))return this.childrenLoaders.get(i);if(i._loadedRoutes)return I({routes:i._loadedRoutes,injector:i._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(i);let s=wE(i,this.compiler,n,this.onLoadEndListener).pipe(xt(()=>{this.childrenLoaders.delete(i)})),a=new nn(s,()=>new X).pipe(tn());return this.childrenLoaders.set(i,a),a}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function wE(t,e,r,n){return bt(t.loadChildren()).pipe(S(Qh),Q(i=>i instanceof or||Array.isArray(i)?I(i):B(e.compileModuleAsync(i))),S(i=>{n&&n(t);let o,s,a=!1;return Array.isArray(i)?(s=i,a=!0):(o=i.create(r).injector,s=o.get(Kc,[],{optional:!0,self:!0}).flat()),{routes:s.map(Qc),injector:o}}))}function CE(t){return t&&typeof t=="object"&&"default"in t}function Qh(t){return CE(t)?t.default:t}var Jc=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=C({token:e,factory:()=>p(EE),providedIn:"root"});let t=e;return t})(),EE=(()=>{let e=class e{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,i){return n}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),IE=new D("");var bE=new D(""),_E=(()=>{let e=class e{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new X,this.transitionAbortSubject=new X,this.configLoader=p(DE),this.environmentInjector=p(ce),this.urlSerializer=p(zc),this.rootContexts=p(jo),this.location=p(hr),this.inputBindingEnabled=p(qc,{optional:!0})!==null,this.titleStrategy=p(Yh),this.options=p(Yc,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=p(Jc),this.createViewTransition=p(IE,{optional:!0}),this.navigationErrorHandler=p(bE,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>I(void 0),this.rootComponentType=null;let n=o=>this.events.next(new Sc(o)),i=o=>this.events.next(new Tc(o));this.configLoader.onLoadEndListener=i,this.configLoader.onLoadStartListener=n}complete(){this.transitions?.complete()}handleNavigationRequest(n){let i=++this.navigationId;this.transitions?.next(R(m(m({},this.transitions.value),n),{id:i}))}setupNavigations(n,i,o){return this.transitions=new ee({id:0,currentUrlTree:i,currentRawUrl:i,extractedUrl:this.urlHandlingStrategy.extract(i),urlAfterRedirects:this.urlHandlingStrategy.extract(i),rawUrl:i,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:Mr,restoredState:null,currentSnapshot:o.snapshot,targetSnapshot:null,currentRouterState:o,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(de(s=>s.id!==0),S(s=>R(m({},s),{extractedUrl:this.urlHandlingStrategy.extract(s.rawUrl)})),fe(s=>{let a=!1,c=!1;return I(s).pipe(fe(u=>{if(this.navigationId>s.id)return this.cancelNavigationTransition(s,"",pe.SupersededByNewNavigation),le;this.currentTransition=s,this.currentNavigation={id:u.id,initialUrl:u.rawUrl,extractedUrl:u.extractedUrl,targetBrowserUrl:typeof u.extras.browserUrl=="string"?this.urlSerializer.parse(u.extras.browserUrl):u.extras.browserUrl,trigger:u.source,extras:u.extras,previousNavigation:this.lastSuccessfulNavigation?R(m({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let l=!n.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),d=u.extras.onSameUrlNavigation??n.onSameUrlNavigation;if(!l&&d!=="reload"){let h="";return this.events.next(new Zt(u.id,this.urlSerializer.serialize(u.rawUrl),h,Ec.IgnoredSameUrlNavigation)),u.resolve(!1),le}if(this.urlHandlingStrategy.shouldProcessUrl(u.rawUrl))return I(u).pipe(fe(h=>{let f=this.transitions?.getValue();return this.events.next(new Nr(h.id,this.urlSerializer.serialize(h.extractedUrl),h.source,h.restoredState)),f!==this.transitions?.getValue()?le:Promise.resolve(h)}),fE(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,this.paramsInheritanceStrategy),K(h=>{s.targetSnapshot=h.targetSnapshot,s.urlAfterRedirects=h.urlAfterRedirects,this.currentNavigation=R(m({},this.currentNavigation),{finalUrl:h.urlAfterRedirects});let f=new Ro(h.id,this.urlSerializer.serialize(h.extractedUrl),this.urlSerializer.serialize(h.urlAfterRedirects),h.targetSnapshot);this.events.next(f)}));if(l&&this.urlHandlingStrategy.shouldProcessUrl(u.currentRawUrl)){let{id:h,extractedUrl:f,source:g,restoredState:E,extras:v}=u,y=new Nr(h,this.urlSerializer.serialize(f),g,E);this.events.next(y);let z=jh(this.rootComponentType).snapshot;return this.currentTransition=s=R(m({},u),{targetSnapshot:z,urlAfterRedirects:f,extras:R(m({},v),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=f,I(s)}else{let h="";return this.events.next(new Zt(u.id,this.urlSerializer.serialize(u.extractedUrl),h,Ec.IgnoredByUrlHandlingStrategy)),u.resolve(!1),le}}),K(u=>{let l=new Ic(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(l)}),S(u=>(this.currentTransition=s=R(m({},u),{guards:NC(u.targetSnapshot,u.currentSnapshot,this.rootContexts)}),s)),$C(this.environmentInjector,u=>this.events.next(u)),K(u=>{if(s.guardsResult=u.guardsResult,u.guardsResult&&typeof u.guardsResult!="boolean")throw Lo(this.urlSerializer,u.guardsResult);let l=new bc(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot,!!u.guardsResult);this.events.next(l)}),de(u=>u.guardsResult?!0:(this.cancelNavigationTransition(u,"",pe.GuardRejected),!1)),mc(u=>{if(u.guards.canActivateChecks.length)return I(u).pipe(K(l=>{let d=new _c(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(d)}),fe(l=>{let d=!1;return I(l).pipe(hE(this.paramsInheritanceStrategy,this.environmentInjector),K({next:()=>d=!0,complete:()=>{d||this.cancelNavigationTransition(l,"",pe.NoDataFromResolver)}}))}),K(l=>{let d=new Mc(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(d)}))}),mc(u=>{let l=d=>{let h=[];d.routeConfig?.loadComponent&&!d.routeConfig._loadedComponent&&h.push(this.configLoader.loadComponent(d.routeConfig).pipe(K(f=>{d.component=f}),S(()=>{})));for(let f of d.children)h.push(...l(f));return h};return wi(l(u.targetSnapshot.root)).pipe(st(null),Ue(1))}),mc(()=>this.afterPreactivation()),fe(()=>{let{currentSnapshot:u,targetSnapshot:l}=s,d=this.createViewTransition?.(this.environmentInjector,u.root,l.root);return d?B(d).pipe(S(()=>s)):I(s)}),S(u=>{let l=MC(n.routeReuseStrategy,u.targetSnapshot,u.currentRouterState);return this.currentTransition=s=R(m({},u),{targetRouterState:l}),this.currentNavigation.targetRouterState=l,s}),K(()=>{this.events.next(new Or)}),AC(this.rootContexts,n.routeReuseStrategy,u=>this.events.next(u),this.inputBindingEnabled),Ue(1),K({next:u=>{a=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new qt(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects))),this.titleStrategy?.updateTitle(u.targetRouterState.snapshot),u.resolve(!0)},complete:()=>{a=!0}}),Is(this.transitionAbortSubject.pipe(K(u=>{throw u}))),xt(()=>{!a&&!c&&this.cancelNavigationTransition(s,"",pe.SupersededByNewNavigation),this.currentTransition?.id===s.id&&(this.currentNavigation=null,this.currentTransition=null)}),it(u=>{if(c=!0,zh(u))this.events.next(new et(s.id,this.urlSerializer.serialize(s.extractedUrl),u.message,u.cancellationCode)),xC(u)?this.events.next(new jn(u.url,u.navigationBehaviorOptions)):s.resolve(!1);else{let l=new Rr(s.id,this.urlSerializer.serialize(s.extractedUrl),u,s.targetSnapshot??void 0);try{let d=Se(this.environmentInjector,()=>this.navigationErrorHandler?.(l));if(d instanceof Fr){let{message:h,cancellationCode:f}=Lo(this.urlSerializer,d);this.events.next(new et(s.id,this.urlSerializer.serialize(s.extractedUrl),h,f)),this.events.next(new jn(d.redirectTo,d.navigationBehaviorOptions))}else{this.events.next(l);let h=n.errorHandler(u);s.resolve(!!h)}}catch(d){this.options.resolveNavigationPromiseOnError?s.resolve(!1):s.reject(d)}}return le}))}))}cancelNavigationTransition(n,i,o){let s=new et(n.id,this.urlSerializer.serialize(n.extractedUrl),i,o);this.events.next(s),n.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let n=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),i=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return n.toString()!==i?.toString()&&!this.currentNavigation?.extras.skipLocationChange}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function ME(t){return t!==Mr}var SE=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=C({token:e,factory:()=>p(TE),providedIn:"root"});let t=e;return t})(),Hc=class{shouldDetach(e){return!1}store(e,r){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,r){return e.routeConfig===r.routeConfig}},TE=(()=>{let e=class e extends Hc{};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=ur(e)))(o||e)}})(),e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Kh=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=C({token:e,factory:()=>p(xE),providedIn:"root"});let t=e;return t})(),xE=(()=>{let e=class e extends Kh{constructor(){super(...arguments),this.location=p(hr),this.urlSerializer=p(zc),this.options=p(Yc,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=p(Jc),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new tt,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=jh(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(n){return this.location.subscribe(i=>{i.type==="popstate"&&n(i.url,i.state)})}handleRouterEvent(n,i){if(n instanceof Nr)this.stateMemento=this.createStateMemento();else if(n instanceof Zt)this.rawUrlTree=i.initialUrl;else if(n instanceof Ro){if(this.urlUpdateStrategy==="eager"&&!i.extras.skipLocationChange){let o=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl);this.setBrowserUrl(i.targetBrowserUrl??o,i)}}else n instanceof Or?(this.currentUrlTree=i.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl),this.routerState=i.targetRouterState,this.urlUpdateStrategy==="deferred"&&!i.extras.skipLocationChange&&this.setBrowserUrl(i.targetBrowserUrl??this.rawUrlTree,i)):n instanceof et&&(n.code===pe.GuardRejected||n.code===pe.NoDataFromResolver)?this.restoreHistory(i):n instanceof Rr?this.restoreHistory(i,!0):n instanceof qt&&(this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId)}setBrowserUrl(n,i){let o=n instanceof tt?this.urlSerializer.serialize(n):n;if(this.location.isCurrentPathEqualTo(o)||i.extras.replaceUrl){let s=this.browserPageId,a=m(m({},i.extras.state),this.generateNgRouterState(i.id,s));this.location.replaceState(o,"",a)}else{let s=m(m({},i.extras.state),this.generateNgRouterState(i.id,this.browserPageId+1));this.location.go(o,"",s)}}restoreHistory(n,i=!1){if(this.canceledNavigationResolution==="computed"){let o=this.browserPageId,s=this.currentPageId-o;s!==0?this.location.historyGo(s):this.currentUrlTree===n.finalUrl&&s===0&&(this.resetState(n),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(i&&this.resetState(n),this.resetUrlToCurrentUrlTree())}resetState(n){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(n,i){return this.canceledNavigationResolution==="computed"?{navigationId:n,\u0275routerPageId:i}:{navigationId:n}}};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=ur(e)))(o||e)}})(),e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),br=function(t){return t[t.COMPLETE=0]="COMPLETE",t[t.FAILED=1]="FAILED",t[t.REDIRECTING=2]="REDIRECTING",t}(br||{});function AE(t,e){t.events.pipe(de(r=>r instanceof qt||r instanceof et||r instanceof Rr||r instanceof Zt),S(r=>r instanceof qt||r instanceof Zt?br.COMPLETE:(r instanceof et?r.code===pe.Redirect||r.code===pe.SupersededByNewNavigation:!1)?br.REDIRECTING:br.FAILED),de(r=>r!==br.REDIRECTING),Ue(1)).subscribe(()=>{e()})}function NE(t){throw t}var RE={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},OE={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},Jh=(()=>{let e=class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.console=p(ho),this.stateManager=p(Kh),this.options=p(Yc,{optional:!0})||{},this.pendingTasks=p(mt),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=p(_E),this.urlSerializer=p(zc),this.location=p(hr),this.urlHandlingStrategy=p(Jc),this._events=new X,this.errorHandler=this.options.errorHandler||NE,this.navigated=!1,this.routeReuseStrategy=p(SE),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=p(Kc,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!p(qc,{optional:!0}),this.eventsSubscription=new G,this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:n=>{this.console.warn(n)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){let n=this.navigationTransitions.events.subscribe(i=>{try{let o=this.navigationTransitions.currentTransition,s=this.navigationTransitions.currentNavigation;if(o!==null&&s!==null){if(this.stateManager.handleRouterEvent(i,s),i instanceof et&&i.code!==pe.Redirect&&i.code!==pe.SupersededByNewNavigation)this.navigated=!0;else if(i instanceof qt)this.navigated=!0;else if(i instanceof jn){let a=i.navigationBehaviorOptions,c=this.urlHandlingStrategy.merge(i.url,o.currentRawUrl),u=m({browserUrl:o.extras.browserUrl,info:o.extras.info,skipLocationChange:o.extras.skipLocationChange,replaceUrl:o.extras.replaceUrl||this.urlUpdateStrategy==="eager"||ME(o.source)},a);this.scheduleNavigation(c,Mr,null,u,{resolve:o.resolve,reject:o.reject,promise:o.promise})}}FE(i)&&this._events.next(i)}catch(o){this.navigationTransitions.transitionAbortSubject.next(o)}});this.eventsSubscription.add(n)}resetRootComponentType(n){this.routerState.root.component=n,this.navigationTransitions.rootComponentType=n}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Mr,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((n,i)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(n,"popstate",i)},0)})}navigateToSyncWithBrowser(n,i,o){let s={replaceUrl:!0},a=o?.navigationId?o:null;if(o){let u=m({},o);delete u.navigationId,delete u.\u0275routerPageId,Object.keys(u).length!==0&&(s.state=u)}let c=this.parseUrl(n);this.scheduleNavigation(c,i,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(Qc),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(n,i={}){let{relativeTo:o,queryParams:s,fragment:a,queryParamsHandling:c,preserveFragment:u}=i,l=u?this.currentUrlTree.fragment:a,d=null;switch(c??this.options.defaultQueryParamsHandling){case"merge":d=m(m({},this.currentUrlTree.queryParams),s);break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=s||null}d!==null&&(d=this.removeEmptyProps(d));let h;try{let f=o?o.snapshot:this.routerState.snapshot.root;h=Fh(f)}catch{(typeof n[0]!="string"||n[0][0]!=="/")&&(n=[]),h=this.currentUrlTree.root}return kh(h,n,d,l??null)}navigateByUrl(n,i={skipLocationChange:!1}){let o=xr(n)?n:this.parseUrl(n),s=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(s,Mr,null,i)}navigate(n,i={skipLocationChange:!1}){return PE(n),this.navigateByUrl(this.createUrlTree(n,i),i)}serializeUrl(n){return this.urlSerializer.serialize(n)}parseUrl(n){try{return this.urlSerializer.parse(n)}catch{return this.urlSerializer.parse("/")}}isActive(n,i){let o;if(i===!0?o=m({},RE):i===!1?o=m({},OE):o=i,xr(n))return yh(this.currentUrlTree,n,o);let s=this.parseUrl(n);return yh(this.currentUrlTree,s,o)}removeEmptyProps(n){return Object.entries(n).reduce((i,[o,s])=>(s!=null&&(i[o]=s),i),{})}scheduleNavigation(n,i,o,s,a){if(this.disposed)return Promise.resolve(!1);let c,u,l;a?(c=a.resolve,u=a.reject,l=a.promise):l=new Promise((h,f)=>{c=h,u=f});let d=this.pendingTasks.add();return AE(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(d))}),this.navigationTransitions.handleNavigationRequest({source:i,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:n,extras:s,resolve:c,reject:u,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(h=>Promise.reject(h))}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function PE(t){for(let e=0;er.\u0275providers)])}function LE(t){return t.routerState.root}function VE(){let t=p(ft);return e=>{let r=t.get(Dt);if(e!==r.components[0])return;let n=t.get(Jh),i=t.get(jE);t.get(UE)===1&&n.initialNavigation(),t.get(BE,null,x.Optional)?.setUpPreloading(),t.get(kE,null,x.Optional)?.init(),n.resetRootComponentType(r.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}var jE=new D("",{factory:()=>new X}),UE=new D("",{providedIn:"root",factory:()=>1});var BE=new D("");var ap=(()=>{let e=class e{constructor(n,i){this._renderer=n,this._elementRef=i,this.onChange=o=>{},this.onTouched=()=>{}}setProperty(n,i){this._renderer.setProperty(this._elementRef.nativeElement,n,i)}registerOnTouched(n){this.onTouched=n}registerOnChange(n){this.onChange=n}setDisabledState(n){this.setProperty("disabled",n)}};e.\u0275fac=function(i){return new(i||e)(H(Tn),H(Ut))},e.\u0275dir=Ce({type:e});let t=e;return t})(),$E=(()=>{let e=class e extends ap{};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=ur(e)))(o||e)}})(),e.\u0275dir=Ce({type:e,features:[yt]});let t=e;return t})(),cp=new D("");var HE={provide:cp,useExisting:In(()=>Qo),multi:!0};function zE(){let t=Je()?Je().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}var GE=new D(""),Qo=(()=>{let e=class e extends ap{constructor(n,i,o){super(n,i),this._compositionMode=o,this._composing=!1,this._compositionMode==null&&(this._compositionMode=!zE())}writeValue(n){let i=n??"";this.setProperty("value",i)}_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)}};e.\u0275fac=function(i){return new(i||e)(H(Tn),H(Ut),H(GE,8))},e.\u0275dir=Ce({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(i,o){i&1&&Bt("input",function(a){return o._handleInput(a.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(a){return o._compositionEnd(a.target.value)})},features:[fo([HE]),yt]});let t=e;return t})();var up=new D(""),lp=new D("");function dp(t){return t!=null}function fp(t){return $t(t)?B(t):t}function hp(t){let e={};return t.forEach(r=>{e=r!=null?m(m({},e),r):e}),Object.keys(e).length===0?null:e}function pp(t,e){return e.map(r=>r(t))}function WE(t){return!t.validate}function gp(t){return t.map(e=>WE(e)?e:r=>e.validate(r))}function qE(t){if(!t)return null;let e=t.filter(dp);return e.length==0?null:function(r){return hp(pp(r,e))}}function mp(t){return t!=null?qE(gp(t)):null}function ZE(t){if(!t)return null;let e=t.filter(dp);return e.length==0?null:function(r){let n=pp(r,e).map(fp);return ys(n).pipe(S(hp))}}function vp(t){return t!=null?ZE(gp(t)):null}function ep(t,e){return t===null?[e]:Array.isArray(t)?[...t,e]:[t,e]}function yp(t){return t._rawValidators}function Dp(t){return t._rawAsyncValidators}function Xc(t){return t?Array.isArray(t)?t:[t]:[]}function $o(t,e){return Array.isArray(t)?t.includes(e):t===e}function tp(t,e){let r=Xc(e);return Xc(t).forEach(i=>{$o(r,i)||r.push(i)}),r}function np(t,e){return Xc(e).filter(r=>!$o(t,r))}var Ho=class{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(e){this._rawValidators=e||[],this._composedValidatorFn=mp(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=vp(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(e){this._onDestroyCallbacks.push(e)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(e=>e()),this._onDestroyCallbacks=[]}reset(e=void 0){this.control&&this.control.reset(e)}hasError(e,r){return this.control?this.control.hasError(e,r):!1}getError(e,r){return this.control?this.control.getError(e,r):null}},zn=class extends Ho{get formDirective(){return null}get path(){return null}},Gr=class extends Ho{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}},zo=class{constructor(e){this._cd=e}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}},YE={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},fA=R(m({},YE),{"[class.ng-submitted]":"isSubmitted"}),wp=(()=>{let e=class e extends zo{constructor(n){super(n)}};e.\u0275fac=function(i){return new(i||e)(H(Gr,2))},e.\u0275dir=Ce({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,o){i&2&&lo("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:[yt]});let t=e;return t})(),Cp=(()=>{let e=class e extends zo{constructor(n){super(n)}};e.\u0275fac=function(i){return new(i||e)(H(zn,10))},e.\u0275dir=Ce({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(i,o){i&2&&lo("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:[yt]});let t=e;return t})();var Br="VALID",Bo="INVALID",$n="PENDING",$r="DISABLED",_t=class{},Go=class extends _t{constructor(e,r){super(),this.value=e,this.source=r}},Hr=class extends _t{constructor(e,r){super(),this.pristine=e,this.source=r}},zr=class extends _t{constructor(e,r){super(),this.touched=e,this.source=r}},Hn=class extends _t{constructor(e,r){super(),this.status=e,this.source=r}},eu=class extends _t{constructor(e){super(),this.source=e}},tu=class extends _t{constructor(e){super(),this.source=e}};function Ep(t){return(Ko(t)?t.validators:t)||null}function QE(t){return Array.isArray(t)?mp(t):t||null}function Ip(t,e){return(Ko(e)?e.asyncValidators:t)||null}function KE(t){return Array.isArray(t)?vp(t):t||null}function Ko(t){return t!=null&&!Array.isArray(t)&&typeof t=="object"}function JE(t,e,r){let n=t.controls;if(!(e?Object.keys(n):n).length)throw new w(1e3,"");if(!n[r])throw new w(1001,"")}function XE(t,e,r){t._forEachChild((n,i)=>{if(r[i]===void 0)throw new w(1002,"")})}var Wo=class{constructor(e,r){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=null,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this._status=fr(()=>this.statusReactive()),this.statusReactive=lr(void 0),this._pristine=fr(()=>this.pristineReactive()),this.pristineReactive=lr(!0),this._touched=fr(()=>this.touchedReactive()),this.touchedReactive=lr(!1),this._events=new X,this.events=this._events.asObservable(),this._onDisabledChange=[],this._assignValidators(e),this._assignAsyncValidators(r)}get validator(){return this._composedValidatorFn}set validator(e){this._rawValidators=this._composedValidatorFn=e}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}get parent(){return this._parent}get status(){return Ke(this.statusReactive)}set status(e){Ke(()=>this.statusReactive.set(e))}get valid(){return this.status===Br}get invalid(){return this.status===Bo}get pending(){return this.status==$n}get disabled(){return this.status===$r}get enabled(){return this.status!==$r}get pristine(){return Ke(this.pristineReactive)}set pristine(e){Ke(()=>this.pristineReactive.set(e))}get dirty(){return!this.pristine}get touched(){return Ke(this.touchedReactive)}set touched(e){Ke(()=>this.touchedReactive.set(e))}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(e){this._assignValidators(e)}setAsyncValidators(e){this._assignAsyncValidators(e)}addValidators(e){this.setValidators(tp(e,this._rawValidators))}addAsyncValidators(e){this.setAsyncValidators(tp(e,this._rawAsyncValidators))}removeValidators(e){this.setValidators(np(e,this._rawValidators))}removeAsyncValidators(e){this.setAsyncValidators(np(e,this._rawAsyncValidators))}hasValidator(e){return $o(this._rawValidators,e)}hasAsyncValidator(e){return $o(this._rawAsyncValidators,e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){let r=this.touched===!1;this.touched=!0;let n=e.sourceControl??this;this._parent&&!e.onlySelf&&this._parent.markAsTouched(R(m({},e),{sourceControl:n})),r&&e.emitEvent!==!1&&this._events.next(new zr(!0,n))}markAllAsTouched(e={}){this.markAsTouched({onlySelf:!0,emitEvent:e.emitEvent,sourceControl:this}),this._forEachChild(r=>r.markAllAsTouched(e))}markAsUntouched(e={}){let r=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let n=e.sourceControl??this;this._forEachChild(i=>{i.markAsUntouched({onlySelf:!0,emitEvent:e.emitEvent,sourceControl:n})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e,n),r&&e.emitEvent!==!1&&this._events.next(new zr(!1,n))}markAsDirty(e={}){let r=this.pristine===!0;this.pristine=!1;let n=e.sourceControl??this;this._parent&&!e.onlySelf&&this._parent.markAsDirty(R(m({},e),{sourceControl:n})),r&&e.emitEvent!==!1&&this._events.next(new Hr(!1,n))}markAsPristine(e={}){let r=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let n=e.sourceControl??this;this._forEachChild(i=>{i.markAsPristine({onlySelf:!0,emitEvent:e.emitEvent})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e,n),r&&e.emitEvent!==!1&&this._events.next(new Hr(!0,n))}markAsPending(e={}){this.status=$n;let r=e.sourceControl??this;e.emitEvent!==!1&&(this._events.next(new Hn(this.status,r)),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.markAsPending(R(m({},e),{sourceControl:r}))}disable(e={}){let r=this._parentMarkedDirty(e.onlySelf);this.status=$r,this.errors=null,this._forEachChild(i=>{i.disable(R(m({},e),{onlySelf:!0}))}),this._updateValue();let n=e.sourceControl??this;e.emitEvent!==!1&&(this._events.next(new Go(this.value,n)),this._events.next(new Hn(this.status,n)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(R(m({},e),{skipPristineCheck:r}),this),this._onDisabledChange.forEach(i=>i(!0))}enable(e={}){let r=this._parentMarkedDirty(e.onlySelf);this.status=Br,this._forEachChild(n=>{n.enable(R(m({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(R(m({},e),{skipPristineCheck:r}),this),this._onDisabledChange.forEach(n=>n(!1))}_updateAncestors(e,r){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine({},r),this._parent._updateTouched({},r))}setParent(e){this._parent=e}getRawValue(){return this.value}updateValueAndValidity(e={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let n=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Br||this.status===$n)&&this._runAsyncValidator(n,e.emitEvent)}let r=e.sourceControl??this;e.emitEvent!==!1&&(this._events.next(new Go(this.value,r)),this._events.next(new Hn(this.status,r)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(R(m({},e),{sourceControl:r}))}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(r=>r._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?$r:Br}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e,r){if(this.asyncValidator){this.status=$n,this._hasOwnPendingAsyncValidator={emitEvent:r!==!1};let n=fp(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(i=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(i,{emitEvent:r,shouldHaveEmitted:e})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let e=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,e}return!1}setErrors(e,r={}){this.errors=e,this._updateControlsErrors(r.emitEvent!==!1,this,r.shouldHaveEmitted)}get(e){let r=e;return r==null||(Array.isArray(r)||(r=r.split(".")),r.length===0)?null:r.reduce((n,i)=>n&&n._find(i),this)}getError(e,r){let n=r?this.get(r):this;return n&&n.errors?n.errors[e]:null}hasError(e,r){return!!this.getError(e,r)}get root(){let e=this;for(;e._parent;)e=e._parent;return e}_updateControlsErrors(e,r,n){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),(e||n)&&this._events.next(new Hn(this.status,r)),this._parent&&this._parent._updateControlsErrors(e,r,n)}_initObservables(){this.valueChanges=new q,this.statusChanges=new q}_calculateStatus(){return this._allControlsDisabled()?$r:this.errors?Bo:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus($n)?$n:this._anyControlsHaveStatus(Bo)?Bo:Br}_anyControlsHaveStatus(e){return this._anyControls(r=>r.status===e)}_anyControlsDirty(){return this._anyControls(e=>e.dirty)}_anyControlsTouched(){return this._anyControls(e=>e.touched)}_updatePristine(e,r){let n=!this._anyControlsDirty(),i=this.pristine!==n;this.pristine=n,this._parent&&!e.onlySelf&&this._parent._updatePristine(e,r),i&&this._events.next(new Hr(this.pristine,r))}_updateTouched(e={},r){this.touched=this._anyControlsTouched(),this._events.next(new zr(this.touched,r)),this._parent&&!e.onlySelf&&this._parent._updateTouched(e,r)}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){Ko(e)&&e.updateOn!=null&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){let r=this._parent&&this._parent.dirty;return!e&&!!r&&!this._parent._anyControlsDirty()}_find(e){return null}_assignValidators(e){this._rawValidators=Array.isArray(e)?e.slice():e,this._composedValidatorFn=QE(this._rawValidators)}_assignAsyncValidators(e){this._rawAsyncValidators=Array.isArray(e)?e.slice():e,this._composedAsyncValidatorFn=KE(this._rawAsyncValidators)}},qo=class extends Wo{constructor(e,r,n){super(Ep(r),Ip(n,r)),this.controls=e,this._initObservables(),this._setUpdateStrategy(r),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(e,r){return this.controls[e]?this.controls[e]:(this.controls[e]=r,r.setParent(this),r._registerOnCollectionChange(this._onCollectionChange),r)}addControl(e,r,n={}){this.registerControl(e,r),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}removeControl(e,r={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}setControl(e,r,n={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],r&&this.registerControl(e,r),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}contains(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}setValue(e,r={}){XE(this,!0,e),Object.keys(e).forEach(n=>{JE(this,!0,n),this.controls[n].setValue(e[n],{onlySelf:!0,emitEvent:r.emitEvent})}),this.updateValueAndValidity(r)}patchValue(e,r={}){e!=null&&(Object.keys(e).forEach(n=>{let i=this.controls[n];i&&i.patchValue(e[n],{onlySelf:!0,emitEvent:r.emitEvent})}),this.updateValueAndValidity(r))}reset(e={},r={}){this._forEachChild((n,i)=>{n.reset(e?e[i]:null,{onlySelf:!0,emitEvent:r.emitEvent})}),this._updatePristine(r,this),this._updateTouched(r,this),this.updateValueAndValidity(r)}getRawValue(){return this._reduceChildren({},(e,r,n)=>(e[n]=r.getRawValue(),e))}_syncPendingControls(){let e=this._reduceChildren(!1,(r,n)=>n._syncPendingControls()?!0:r);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_forEachChild(e){Object.keys(this.controls).forEach(r=>{let n=this.controls[r];n&&e(n,r)})}_setUpControls(){this._forEachChild(e=>{e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(e){for(let[r,n]of Object.entries(this.controls))if(this.contains(r)&&e(n))return!0;return!1}_reduceValue(){let e={};return this._reduceChildren(e,(r,n,i)=>((n.enabled||this.disabled)&&(r[i]=n.value),r))}_reduceChildren(e,r){let n=e;return this._forEachChild((i,o)=>{n=r(n,i,o)}),n}_allControlsDisabled(){for(let e of Object.keys(this.controls))if(this.controls[e].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(e){return this.controls.hasOwnProperty(e)?this.controls[e]:null}};var nu=new D("CallSetDisabledState",{providedIn:"root",factory:()=>Jo}),Jo="always";function eI(t,e){return[...e.path,t]}function rp(t,e,r=Jo){ru(t,e),e.valueAccessor.writeValue(t.value),(t.disabled||r==="always")&&e.valueAccessor.setDisabledState?.(t.disabled),nI(t,e),iI(t,e),rI(t,e),tI(t,e)}function ip(t,e,r=!0){let n=()=>{};e.valueAccessor&&(e.valueAccessor.registerOnChange(n),e.valueAccessor.registerOnTouched(n)),Yo(t,e),t&&(e._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function Zo(t,e){t.forEach(r=>{r.registerOnValidatorChange&&r.registerOnValidatorChange(e)})}function tI(t,e){if(e.valueAccessor.setDisabledState){let r=n=>{e.valueAccessor.setDisabledState(n)};t.registerOnDisabledChange(r),e._registerOnDestroy(()=>{t._unregisterOnDisabledChange(r)})}}function ru(t,e){let r=yp(t);e.validator!==null?t.setValidators(ep(r,e.validator)):typeof r=="function"&&t.setValidators([r]);let n=Dp(t);e.asyncValidator!==null?t.setAsyncValidators(ep(n,e.asyncValidator)):typeof n=="function"&&t.setAsyncValidators([n]);let i=()=>t.updateValueAndValidity();Zo(e._rawValidators,i),Zo(e._rawAsyncValidators,i)}function Yo(t,e){let r=!1;if(t!==null){if(e.validator!==null){let i=yp(t);if(Array.isArray(i)&&i.length>0){let o=i.filter(s=>s!==e.validator);o.length!==i.length&&(r=!0,t.setValidators(o))}}if(e.asyncValidator!==null){let i=Dp(t);if(Array.isArray(i)&&i.length>0){let o=i.filter(s=>s!==e.asyncValidator);o.length!==i.length&&(r=!0,t.setAsyncValidators(o))}}}let n=()=>{};return Zo(e._rawValidators,n),Zo(e._rawAsyncValidators,n),r}function nI(t,e){e.valueAccessor.registerOnChange(r=>{t._pendingValue=r,t._pendingChange=!0,t._pendingDirty=!0,t.updateOn==="change"&&bp(t,e)})}function rI(t,e){e.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,t.updateOn==="blur"&&t._pendingChange&&bp(t,e),t.updateOn!=="submit"&&t.markAsTouched()})}function bp(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function iI(t,e){let r=(n,i)=>{e.valueAccessor.writeValue(n),i&&e.viewToModelUpdate(n)};t.registerOnChange(r),e._registerOnDestroy(()=>{t._unregisterOnChange(r)})}function oI(t,e){t==null,ru(t,e)}function sI(t,e){return Yo(t,e)}function aI(t,e){if(!t.hasOwnProperty("model"))return!1;let r=t.model;return r.isFirstChange()?!0:!Object.is(e,r.currentValue)}function cI(t){return Object.getPrototypeOf(t.constructor)===$E}function uI(t,e){t._syncPendingControls(),e.forEach(r=>{let n=r.control;n.updateOn==="submit"&&n._pendingChange&&(r.viewToModelUpdate(n._pendingValue),n._pendingChange=!1)})}function lI(t,e){if(!e)return null;Array.isArray(e);let r,n,i;return e.forEach(o=>{o.constructor===Qo?r=o:cI(o)?n=o:i=o}),i||n||r||null}function dI(t,e){let r=t.indexOf(e);r>-1&&t.splice(r,1)}function op(t,e){let r=t.indexOf(e);r>-1&&t.splice(r,1)}function sp(t){return typeof t=="object"&&t!==null&&Object.keys(t).length===2&&"value"in t&&"disabled"in t}var Xo=class extends Wo{constructor(e=null,r,n){super(Ep(r),Ip(n,r)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(e),this._setUpdateStrategy(r),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Ko(r)&&(r.nonNullable||r.initialValueIsDefault)&&(sp(e)?this.defaultValue=e.value:this.defaultValue=e)}setValue(e,r={}){this.value=this._pendingValue=e,this._onChange.length&&r.emitModelToViewChange!==!1&&this._onChange.forEach(n=>n(this.value,r.emitViewToModelChange!==!1)),this.updateValueAndValidity(r)}patchValue(e,r={}){this.setValue(e,r)}reset(e=this.defaultValue,r={}){this._applyFormState(e),this.markAsPristine(r),this.markAsUntouched(r),this.setValue(this.value,r),this._pendingChange=!1}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(e){this._onChange.push(e)}_unregisterOnChange(e){op(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){op(this._onDisabledChange,e)}_forEachChild(e){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(e){sp(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}};var fI=t=>t instanceof Xo;var _p=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=Ce({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]});let t=e;return t})();var Mp=new D("");var hI={provide:zn,useExisting:In(()=>iu)},iu=(()=>{let e=class e extends zn{get submitted(){return Ke(this._submittedReactive)}set submitted(n){this._submittedReactive.set(n)}constructor(n,i,o){super(),this.callSetDisabledState=o,this._submitted=fr(()=>this._submittedReactive()),this._submittedReactive=lr(!1),this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new q,this._setValidators(n),this._setAsyncValidators(i)}ngOnChanges(n){this._checkFormPresent(),n.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Yo(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){let i=this.form.get(n.path);return rp(i,n,this.callSetDisabledState),i.updateValueAndValidity({emitEvent:!1}),this.directives.push(n),i}getControl(n){return this.form.get(n.path)}removeControl(n){ip(n.control||null,n,!1),dI(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,i){this.form.get(n.path).setValue(i)}onSubmit(n){return this._submittedReactive.set(!0),uI(this.form,this.directives),this.ngSubmit.emit(n),this.form._events.next(new eu(this.control)),n?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(n=void 0){this.form.reset(n),this._submittedReactive.set(!1),this.form._events.next(new tu(this.form))}_updateDomValue(){this.directives.forEach(n=>{let i=n.control,o=this.form.get(n.path);i!==o&&(ip(i||null,n),fI(o)&&(rp(o,n,this.callSetDisabledState),n.control=o))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(n){let i=this.form.get(n.path);oI(i,n),i.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(n){if(this.form){let i=this.form.get(n.path);i&&sI(i,n)&&i.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){ru(this.form,this),this._oldForm&&Yo(this._oldForm,this)}_checkFormPresent(){this.form}};e.\u0275fac=function(i){return new(i||e)(H(up,10),H(lp,10),H(nu,8))},e.\u0275dir=Ce({type:e,selectors:[["","formGroup",""]],hostBindings:function(i,o){i&1&&Bt("submit",function(a){return o.onSubmit(a)})("reset",function(){return o.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[fo([hI]),yt,jt]});let t=e;return t})();var pI={provide:Gr,useExisting:In(()=>ou)},ou=(()=>{let e=class e extends Gr{set isDisabled(n){}constructor(n,i,o,s,a){super(),this._ngModelWarningConfig=a,this._added=!1,this.name=null,this.update=new q,this._ngModelWarningSent=!1,this._parent=n,this._setValidators(i),this._setAsyncValidators(o),this.valueAccessor=lI(this,s)}ngOnChanges(n){this._added||this._setUpControl(),aI(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 eI(this.name==null?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}};e._ngModelWarningSentOnce=!1,e.\u0275fac=function(i){return new(i||e)(H(zn,13),H(up,10),H(lp,10),H(cp,10),H(Mp,8))},e.\u0275dir=Ce({type:e,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},features:[fo([pI]),yt,jt]});let t=e;return t})();var Sp=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=Ge({type:e}),e.\u0275inj=ze({});let t=e;return t})();var Tp=(()=>{let e=class e{static withConfig(n){return{ngModule:e,providers:[{provide:nu,useValue:n.callSetDisabledState??Jo}]}}};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=Ge({type:e}),e.\u0275inj=ze({imports:[Sp]});let t=e;return t})(),xp=(()=>{let e=class e{static withConfig(n){return{ngModule:e,providers:[{provide:Mp,useValue:n.warnOnNgModelWithFormControl??"always"},{provide:nu,useValue:n.callSetDisabledState??Jo}]}}};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=Ge({type:e}),e.\u0275inj=ze({imports:[Sp]});let t=e;return t})();var su={api_url:"api/"};var Ap=(()=>{let e=class e{constructor(){this.http=p(sc),this.route=p(It),this.redirectUri=null,this.client="",this.client_id=null,this.loginForm=new qo({username:new Xo(""),password:new Xo("")}),this.getclient()}getclient(){let n=this.route.snapshot.queryParamMap.params;this.redirectUri=n.redirect_uri,this.client_id=n.client_id,this.route.snapshot.queryParamMap.keys.forEach(i=>{console.log(i,this.route.snapshot.queryParamMap.get(i))}),this.http.get(su.api_url+"auth/",{params:n}).subscribe({next:i=>{this.client=i.client}})}login(){this.http.post(su.api_url+"auth/login?client_id="+this.client_id,this.loginForm.value).subscribe({next:n=>{n.code!=null&&(location.href=this.redirectUri+"?code="+n.code)}})}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=bn({type:e,selectors:[["app-login"]],standalone:!0,features:[An],decls:21,vars:2,consts:[[1,"container"],[1,"screen"],[1,"screen__content"],[1,"login",3,"formGroup"],[1,"login__field"],[1,"login__icon","fas","fa-user","user"],["formControlName","username","type","text","placeholder","User name / Email",1,"login__input"],[1,"login__icon","fas","fa-lock","safe"],["type","password","formControlName","password","placeholder","Password",1,"login__input"],[1,"button","login__submit",3,"click"],[1,"button__text"],[1,"button__icon","fas","fa-chevron-right"],[1,"screen__background"],[1,"screen__background__shape","screen__background__shape4"],[1,"screen__background__shape","screen__background__shape3"],[1,"screen__background__shape","screen__background__shape2"],[1,"screen__background__shape","screen__background__shape1"]],template:function(i,o){i&1&&(Ye(0,"div",0)(1,"div",1)(2,"div",2)(3,"h1"),dr(4),Qe(),Ye(5,"form",3)(6,"div",4),Le(7,"i",5)(8,"input",6),Qe(),Ye(9,"div",4),Le(10,"i",7)(11,"input",8),Qe(),Ye(12,"button",9),Bt("click",function(){return o.login()}),Ye(13,"span",10),dr(14,"Log In Now"),Qe(),Le(15,"i",11),Qe()()(),Ye(16,"div",12),Le(17,"span",13)(18,"span",14)(19,"span",15)(20,"span",16),Qe()()()),i&2&&(ja(4),Ya(o.client),ja(),Za("formGroup",o.loginForm))},dependencies:[ec,Tp,_p,Qo,wp,Cp,xp,iu,ou],styles:["*[_ngcontent-%COMP%]{box-sizing:border-box;margin:0;padding:0;font-family:Raleway,sans-serif}h1[_ngcontent-%COMP%]{margin-top:24px;text-align:center}body[_ngcontent-%COMP%]{background:linear-gradient(90deg,#c7c5f4,#5a5a5c)}.container[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;height:100vh;overflow:hidden}.screen[_ngcontent-%COMP%]{background:linear-gradient(90deg,#303033,#9c9ca3);position:relative;height:600px;width:360px;box-shadow:0 0 24px #8b8b8f}.screen__content[_ngcontent-%COMP%]{z-index:1;position:relative;height:100%}.screen__background[_ngcontent-%COMP%]{position:absolute;inset:0;z-index:0;-webkit-clip-path:inset(0 0 0 0);clip-path:inset(0 0 0 0)}.screen__background__shape[_ngcontent-%COMP%]{transform:rotate(45deg);position:absolute}.screen__background__shape1[_ngcontent-%COMP%]{height:520px;width:520px;background:#fff;top:-50px;right:120px;border-radius:0 72px 0 0}.screen__background__shape2[_ngcontent-%COMP%]{height:220px;width:220px;background:#6c63ac;top:-172px;right:0;border-radius:32px}.screen__background__shape3[_ngcontent-%COMP%]{height:540px;width:190px;background:linear-gradient(270deg,#5d54a4,#6a679e);top:-24px;right:0;border-radius:32px}.screen__background__shape4[_ngcontent-%COMP%]{height:400px;width:200px;background:#7e7bb9;top:420px;right:50px;border-radius:60px}.login[_ngcontent-%COMP%]{width:320px;padding:100px 30px 30px}.login__field[_ngcontent-%COMP%]{padding:20px 0;position:relative}.login__icon[_ngcontent-%COMP%]{position:absolute;top:22px;color:#7875b5;width:30px;height:30px;left:4px}.login__input[_ngcontent-%COMP%]{border:none;border-bottom:2px solid #D1D1D4;background:none;padding:10px 10px 10px 36px;font-weight:700;width:85%;transition:.2s}.login__input[_ngcontent-%COMP%]:active, .login__input[_ngcontent-%COMP%]:focus, .login__input[_ngcontent-%COMP%]:hover{outline:none;border-bottom-color:#6a679e}.login__submit[_ngcontent-%COMP%]{background:#fff;font-size:14px;margin-top:30px;padding:16px 20px;border-radius:26px;border:1px solid #D4D3E8;text-transform:uppercase;font-weight:700;display:flex;align-items:center;width:100%;color:#4c489d;box-shadow:0 2px 2px #5c5696;cursor:pointer;transition:.2s}.login__submit[_ngcontent-%COMP%]:active, .login__submit[_ngcontent-%COMP%]:focus, .login__submit[_ngcontent-%COMP%]:hover{border-color:#6a679e;outline:none}.button__icon[_ngcontent-%COMP%]{font-size:24px;margin-left:auto;color:#7875b5}.social-login[_ngcontent-%COMP%]{position:absolute;height:140px;width:160px;text-align:center;bottom:0;right:0;color:#fff}.social-icons[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center}.social-login__icon[_ngcontent-%COMP%]{padding:20px 10px;color:#fff;text-decoration:none;text-shadow:0px 0px 8px #7875B5}.social-login__icon[_ngcontent-%COMP%]:hover{transform:scale(1.5)}"]});let t=e;return t})();var Np=[{path:"login",component:Ap}];var Rp={providers:[Vf({eventCoalescing:!0}),Xh(Np),ch()]};var Op=(()=>{let e=class e{constructor(){this.title="idp_client"}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=bn({type:e,selectors:[["app-root"]],standalone:!0,features:[An],decls:2,vars:0,template:function(i,o){i&1&&(Le(0,"router-outlet"),dr(1,` -iodsuj`))},dependencies:[Wc]});let t=e;return t})();mh(Op,Rp).catch(t=>console.error(t)); diff --git a/idp/client/polyfills-SCHOHYNV.js b/idp/client/polyfills-SCHOHYNV.js deleted file mode 100644 index de84613..0000000 --- a/idp/client/polyfills-SCHOHYNV.js +++ /dev/null @@ -1,2 +0,0 @@ -var ae=globalThis;function ee(e){return(ae.__Zone_symbol_prefix||"__zone_symbol__")+e}function dt(){let e=ae.performance;function n(j){e&&e.mark&&e.mark(j)}function a(j,i){e&&e.measure&&e.measure(j,i)}n("Zone");let Y=class Y{static assertZonePatched(){if(ae.Promise!==S.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 i=Y.current;for(;i.parent;)i=i.parent;return i}static get current(){return b.zone}static get currentTask(){return D}static __load_patch(i,s,o=!1){if(S.hasOwnProperty(i)){let p=ae[ee("forceDuplicateZoneCheck")]===!0;if(!o&&p)throw Error("Already loaded patch: "+i)}else if(!ae["__Zone_disable_"+i]){let p="Zone:"+i;n(p),S[i]=s(ae,Y,w),a(p,p)}}get parent(){return this._parent}get name(){return this._name}constructor(i,s){this._parent=i,this._name=s?s.name||"unnamed":"",this._properties=s&&s.properties||{},this._zoneDelegate=new f(this,this._parent&&this._parent._zoneDelegate,s)}get(i){let s=this.getZoneWith(i);if(s)return s._properties[i]}getZoneWith(i){let s=this;for(;s;){if(s._properties.hasOwnProperty(i))return s;s=s._parent}return null}fork(i){if(!i)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,i)}wrap(i,s){if(typeof i!="function")throw new Error("Expecting function got: "+i);let o=this._zoneDelegate.intercept(this,i,s),p=this;return function(){return p.runGuarded(o,this,arguments,s)}}run(i,s,o,p){b={parent:b,zone:this};try{return this._zoneDelegate.invoke(this,i,s,o,p)}finally{b=b.parent}}runGuarded(i,s=null,o,p){b={parent:b,zone:this};try{try{return this._zoneDelegate.invoke(this,i,s,o,p)}catch(H){if(this._zoneDelegate.handleError(this,H))throw H}}finally{b=b.parent}}runTask(i,s,o){if(i.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(i.zone||K).name+"; Execution: "+this.name+")");let p=i,{type:H,data:{isPeriodic:M=!1,isRefreshable:se=!1}={}}=i;if(i.state===q&&(H===z||H===g))return;let le=i.state!=Z;le&&p._transitionTo(Z,d);let ue=D;D=p,b={parent:b,zone:this};try{H==g&&i.data&&!M&&!se&&(i.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,p,s,o)}catch(ne){if(this._zoneDelegate.handleError(this,ne))throw ne}}finally{let ne=i.state;if(ne!==q&&ne!==X)if(H==z||M||se&&ne===k)le&&p._transitionTo(d,Z,k);else{let h=p._zoneDelegates;this._updateTaskCount(p,-1),le&&p._transitionTo(q,Z,q),se&&(p._zoneDelegates=h)}b=b.parent,D=ue}}scheduleTask(i){if(i.zone&&i.zone!==this){let o=this;for(;o;){if(o===i.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${i.zone.name}`);o=o.parent}}i._transitionTo(k,q);let s=[];i._zoneDelegates=s,i._zone=this;try{i=this._zoneDelegate.scheduleTask(this,i)}catch(o){throw i._transitionTo(X,k,q),this._zoneDelegate.handleError(this,o),o}return i._zoneDelegates===s&&this._updateTaskCount(i,1),i.state==k&&i._transitionTo(d,k),i}scheduleMicroTask(i,s,o,p){return this.scheduleTask(new E(G,i,s,o,p,void 0))}scheduleMacroTask(i,s,o,p,H){return this.scheduleTask(new E(g,i,s,o,p,H))}scheduleEventTask(i,s,o,p,H){return this.scheduleTask(new E(z,i,s,o,p,H))}cancelTask(i){if(i.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(i.zone||K).name+"; Execution: "+this.name+")");if(!(i.state!==d&&i.state!==Z)){i._transitionTo(V,d,Z);try{this._zoneDelegate.cancelTask(this,i)}catch(s){throw i._transitionTo(X,V),this._zoneDelegate.handleError(this,s),s}return this._updateTaskCount(i,-1),i._transitionTo(q,V),i.runCount=-1,i}}_updateTaskCount(i,s){let o=i._zoneDelegates;s==-1&&(i._zoneDelegates=null);for(let p=0;pj.hasTask(s,o),onScheduleTask:(j,i,s,o)=>j.scheduleTask(s,o),onInvokeTask:(j,i,s,o,p,H)=>j.invokeTask(s,o,p,H),onCancelTask:(j,i,s,o)=>j.cancelTask(s,o)};class f{get zone(){return this._zone}constructor(i,s,o){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this._zone=i,this._parentDelegate=s,this._forkZS=o&&(o&&o.onFork?o:s._forkZS),this._forkDlgt=o&&(o.onFork?s:s._forkDlgt),this._forkCurrZone=o&&(o.onFork?this._zone:s._forkCurrZone),this._interceptZS=o&&(o.onIntercept?o:s._interceptZS),this._interceptDlgt=o&&(o.onIntercept?s:s._interceptDlgt),this._interceptCurrZone=o&&(o.onIntercept?this._zone:s._interceptCurrZone),this._invokeZS=o&&(o.onInvoke?o:s._invokeZS),this._invokeDlgt=o&&(o.onInvoke?s:s._invokeDlgt),this._invokeCurrZone=o&&(o.onInvoke?this._zone:s._invokeCurrZone),this._handleErrorZS=o&&(o.onHandleError?o:s._handleErrorZS),this._handleErrorDlgt=o&&(o.onHandleError?s:s._handleErrorDlgt),this._handleErrorCurrZone=o&&(o.onHandleError?this._zone:s._handleErrorCurrZone),this._scheduleTaskZS=o&&(o.onScheduleTask?o:s._scheduleTaskZS),this._scheduleTaskDlgt=o&&(o.onScheduleTask?s:s._scheduleTaskDlgt),this._scheduleTaskCurrZone=o&&(o.onScheduleTask?this._zone:s._scheduleTaskCurrZone),this._invokeTaskZS=o&&(o.onInvokeTask?o:s._invokeTaskZS),this._invokeTaskDlgt=o&&(o.onInvokeTask?s:s._invokeTaskDlgt),this._invokeTaskCurrZone=o&&(o.onInvokeTask?this._zone:s._invokeTaskCurrZone),this._cancelTaskZS=o&&(o.onCancelTask?o:s._cancelTaskZS),this._cancelTaskDlgt=o&&(o.onCancelTask?s:s._cancelTaskDlgt),this._cancelTaskCurrZone=o&&(o.onCancelTask?this._zone:s._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;let p=o&&o.onHasTask,H=s&&s._hasTaskZS;(p||H)&&(this._hasTaskZS=p?o:c,this._hasTaskDlgt=s,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=this._zone,o.onScheduleTask||(this._scheduleTaskZS=c,this._scheduleTaskDlgt=s,this._scheduleTaskCurrZone=this._zone),o.onInvokeTask||(this._invokeTaskZS=c,this._invokeTaskDlgt=s,this._invokeTaskCurrZone=this._zone),o.onCancelTask||(this._cancelTaskZS=c,this._cancelTaskDlgt=s,this._cancelTaskCurrZone=this._zone))}fork(i,s){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,i,s):new t(i,s)}intercept(i,s,o){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,i,s,o):s}invoke(i,s,o,p,H){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,i,s,o,p,H):s.apply(o,p)}handleError(i,s){return this._handleErrorZS?this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,i,s):!0}scheduleTask(i,s){let o=s;if(this._scheduleTaskZS)this._hasTaskZS&&o._zoneDelegates.push(this._hasTaskDlgtOwner),o=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,i,s),o||(o=s);else if(s.scheduleFn)s.scheduleFn(s);else if(s.type==G)U(s);else throw new Error("Task is missing scheduleFn.");return o}invokeTask(i,s,o,p){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,i,s,o,p):s.callback.apply(o,p)}cancelTask(i,s){let o;if(this._cancelTaskZS)o=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,i,s);else{if(!s.cancelFn)throw Error("Task is not cancelable");o=s.cancelFn(s)}return o}hasTask(i,s){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,i,s)}catch(o){this.handleError(i,o)}}_updateTaskCount(i,s){let o=this._taskCounts,p=o[i],H=o[i]=p+s;if(H<0)throw new Error("More tasks executed then were scheduled.");if(p==0||H==0){let M={microTask:o.microTask>0,macroTask:o.macroTask>0,eventTask:o.eventTask>0,change:i};this.hasTask(this._zone,M)}}}class E{constructor(i,s,o,p,H,M){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=i,this.source=s,this.data=p,this.scheduleFn=H,this.cancelFn=M,!o)throw new Error("callback is not defined");this.callback=o;let se=this;i===z&&p&&p.useG?this.invoke=E.invokeTask:this.invoke=function(){return E.invokeTask.call(ae,se,this,arguments)}}static invokeTask(i,s,o){i||(i=this),Q++;try{return i.runCount++,i.zone.runTask(i,s,o)}finally{Q==1&&J(),Q--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(q,k)}_transitionTo(i,s,o){if(this._state===s||this._state===o)this._state=i,i==q&&(this._zoneDelegates=null);else throw new Error(`${this.type} '${this.source}': can not transition to '${i}', expecting state '${s}'${o?" or '"+o+"'":""}, was '${this._state}'.`)}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}}}let T=ee("setTimeout"),m=ee("Promise"),C=ee("then"),_=[],P=!1,I;function x(j){if(I||ae[m]&&(I=ae[m].resolve(0)),I){let i=I[C];i||(i=I.then),i.call(I,j)}else ae[T](j,0)}function U(j){Q===0&&_.length===0&&x(J),j&&_.push(j)}function J(){if(!P){for(P=!0;_.length;){let j=_;_=[];for(let i=0;ib,onUnhandledError:W,microtaskDrainDone:W,scheduleMicroTask:U,showUncaughtError:()=>!t[ee("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:W,patchMethod:()=>W,bindArguments:()=>[],patchThen:()=>W,patchMacroTask:()=>W,patchEventPrototype:()=>W,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>W,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>W,wrapWithCurrentZone:()=>W,filterProperties:()=>[],attachOriginToPatched:()=>W,_redefineProperty:()=>W,patchCallbacks:()=>W,nativeScheduleMicroTask:x},b={parent:null,zone:new t(null,null)},D=null,Q=0;function W(){}return a("Zone","Zone"),t}function _t(){let e=globalThis,n=e[ee("forceDuplicateZoneCheck")]===!0;if(e.Zone&&(n||typeof e.Zone.__symbol__!="function"))throw new Error("Zone already loaded.");return e.Zone??=dt(),e.Zone}var be=Object.getOwnPropertyDescriptor,Ae=Object.defineProperty,je=Object.getPrototypeOf,Et=Object.create,Tt=Array.prototype.slice,He="addEventListener",xe="removeEventListener",Le=ee(He),Ie=ee(xe),fe="true",he="false",Pe=ee("");function Ve(e,n){return Zone.current.wrap(e,n)}function Ge(e,n,a,t,c){return Zone.current.scheduleMacroTask(e,n,a,t,c)}var A=ee,De=typeof window<"u",pe=De?window:void 0,$=De&&pe||globalThis,gt="removeAttribute";function Fe(e,n){for(let a=e.length-1;a>=0;a--)typeof e[a]=="function"&&(e[a]=Ve(e[a],n+"_"+a));return e}function yt(e,n){let a=e.constructor.name;for(let t=0;t{let m=function(){return T.apply(this,Fe(arguments,a+"."+c))};return _e(m,T),m})(f)}}}function tt(e){return e?e.writable===!1?!1:!(typeof e.get=="function"&&typeof e.set>"u"):!0}var nt=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,Se=!("nw"in $)&&typeof $.process<"u"&&$.process.toString()==="[object process]",Be=!Se&&!nt&&!!(De&&pe.HTMLElement),rt=typeof $.process<"u"&&$.process.toString()==="[object process]"&&!nt&&!!(De&&pe.HTMLElement),Ce={},mt=A("enable_beforeunload"),Ye=function(e){if(e=e||$.event,!e)return;let n=Ce[e.type];n||(n=Ce[e.type]=A("ON_PROPERTY"+e.type));let a=this||e.target||$,t=a[n],c;if(Be&&a===pe&&e.type==="error"){let f=e;c=t&&t.call(this,f.message,f.filename,f.lineno,f.colno,f.error),c===!0&&e.preventDefault()}else c=t&&t.apply(this,arguments),e.type==="beforeunload"&&$[mt]&&typeof c=="string"?e.returnValue=c:c!=null&&!c&&e.preventDefault();return c};function $e(e,n,a){let t=be(e,n);if(!t&&a&&be(a,n)&&(t={enumerable:!0,configurable:!0}),!t||!t.configurable)return;let c=A("on"+n+"patched");if(e.hasOwnProperty(c)&&e[c])return;delete t.writable,delete t.value;let f=t.get,E=t.set,T=n.slice(2),m=Ce[T];m||(m=Ce[T]=A("ON_PROPERTY"+T)),t.set=function(C){let _=this;if(!_&&e===$&&(_=$),!_)return;typeof _[m]=="function"&&_.removeEventListener(T,Ye),E&&E.call(_,null),_[m]=C,typeof C=="function"&&_.addEventListener(T,Ye,!1)},t.get=function(){let C=this;if(!C&&e===$&&(C=$),!C)return null;let _=C[m];if(_)return _;if(f){let P=f.call(this);if(P)return t.set.call(this,P),typeof C[gt]=="function"&&C.removeAttribute(n),P}return null},Ae(e,n,t),e[c]=!0}function ot(e,n,a){if(n)for(let t=0;tfunction(E,T){let m=a(E,T);return m.cbIdx>=0&&typeof T[m.cbIdx]=="function"?Ge(m.name,T[m.cbIdx],m,c):f.apply(E,T)})}function _e(e,n){e[A("OriginalDelegate")]=n}var Je=!1,Me=!1;function kt(){try{let e=pe.navigator.userAgent;if(e.indexOf("MSIE ")!==-1||e.indexOf("Trident/")!==-1)return!0}catch{}return!1}function vt(){if(Je)return Me;Je=!0;try{let e=pe.navigator.userAgent;(e.indexOf("MSIE ")!==-1||e.indexOf("Trident/")!==-1||e.indexOf("Edge/")!==-1)&&(Me=!0)}catch{}return Me}function Ke(e){return typeof e=="function"}function Qe(e){return typeof e=="number"}var me=!1;if(typeof window<"u")try{let e=Object.defineProperty({},"passive",{get:function(){me=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch{me=!1}var bt={useG:!0},te={},st={},it=new RegExp("^"+Pe+"(\\w+)(true|false)$"),ct=A("propagationStopped");function at(e,n){let a=(n?n(e):e)+he,t=(n?n(e):e)+fe,c=Pe+a,f=Pe+t;te[e]={},te[e][he]=c,te[e][fe]=f}function Pt(e,n,a,t){let c=t&&t.add||He,f=t&&t.rm||xe,E=t&&t.listeners||"eventListeners",T=t&&t.rmAll||"removeAllListeners",m=A(c),C="."+c+":",_="prependListener",P="."+_+":",I=function(k,d,Z){if(k.isRemoved)return;let V=k.callback;typeof V=="object"&&V.handleEvent&&(k.callback=g=>V.handleEvent(g),k.originalDelegate=V);let X;try{k.invoke(k,d,[Z])}catch(g){X=g}let G=k.options;if(G&&typeof G=="object"&&G.once){let g=k.originalDelegate?k.originalDelegate:k.callback;d[f].call(d,Z.type,g,G)}return X};function x(k,d,Z){if(d=d||e.event,!d)return;let V=k||d.target||e,X=V[te[d.type][Z?fe:he]];if(X){let G=[];if(X.length===1){let g=I(X[0],V,d);g&&G.push(g)}else{let g=X.slice();for(let z=0;z{throw z})}}}let U=function(k){return x(this,k,!1)},J=function(k){return x(this,k,!0)};function K(k,d){if(!k)return!1;let Z=!0;d&&d.useG!==void 0&&(Z=d.useG);let V=d&&d.vh,X=!0;d&&d.chkDup!==void 0&&(X=d.chkDup);let G=!1;d&&d.rt!==void 0&&(G=d.rt);let g=k;for(;g&&!g.hasOwnProperty(c);)g=je(g);if(!g&&k[c]&&(g=k),!g||g[m])return!1;let z=d&&d.eventNameToString,S={},w=g[m]=g[c],b=g[A(f)]=g[f],D=g[A(E)]=g[E],Q=g[A(T)]=g[T],W;d&&d.prepend&&(W=g[A(d.prepend)]=g[d.prepend]);function Y(r,u){return!me&&typeof r=="object"&&r?!!r.capture:!me||!u?r:typeof r=="boolean"?{capture:r,passive:!0}:r?typeof r=="object"&&r.passive!==!1?{...r,passive:!0}:r:{passive:!0}}let j=function(r){if(!S.isExisting)return w.call(S.target,S.eventName,S.capture?J:U,S.options)},i=function(r){if(!r.isRemoved){let u=te[r.eventName],v;u&&(v=u[r.capture?fe:he]);let R=v&&r.target[v];if(R){for(let y=0;yre.zone.cancelTask(re);r.call(Te,"abort",ce,{once:!0}),re.removeAbortListener=()=>Te.removeEventListener("abort",ce)}if(S.target=null,ke&&(ke.taskData=null),Ue&&(S.options.once=!0),!me&&typeof re.options=="boolean"||(re.options=ie),re.target=N,re.capture=Oe,re.eventName=L,B&&(re.originalDelegate=F),O?ge.unshift(re):ge.push(re),y)return N}};return g[c]=l(w,C,H,M,G),W&&(g[_]=l(W,P,o,M,G,!0)),g[f]=function(){let r=this||e,u=arguments[0];d&&d.transferEventName&&(u=d.transferEventName(u));let v=arguments[2],R=v?typeof v=="boolean"?!0:v.capture:!1,y=arguments[1];if(!y)return b.apply(this,arguments);if(V&&!V(b,y,r,arguments))return;let O=te[u],N;O&&(N=O[R?fe:he]);let L=N&&r[N];if(L)for(let F=0;Ffunction(c,f){c[ct]=!0,t&&t.apply(c,f)})}function Rt(e,n){n.patchMethod(e,"queueMicrotask",a=>function(t,c){Zone.current.scheduleMicroTask("queueMicrotask",c[0])})}var Re=A("zoneTask");function ye(e,n,a,t){let c=null,f=null;n+=t,a+=t;let E={};function T(C){let _=C.data;_.args[0]=function(){return C.invoke.apply(this,arguments)};let P=c.apply(e,_.args);return Qe(P)?_.handleId=P:(_.handle=P,_.isRefreshable=Ke(P.refresh)),C}function m(C){let{handle:_,handleId:P}=C.data;return f.call(e,_??P)}c=de(e,n,C=>function(_,P){if(Ke(P[0])){let I={isRefreshable:!1,isPeriodic:t==="Interval",delay:t==="Timeout"||t==="Interval"?P[1]||0:void 0,args:P},x=P[0];P[0]=function(){try{return x.apply(this,arguments)}finally{let{handle:Z,handleId:V,isPeriodic:X,isRefreshable:G}=I;!X&&!G&&(V?delete E[V]:Z&&(Z[Re]=null))}};let U=Ge(n,P[0],I,T,m);if(!U)return U;let{handleId:J,handle:K,isRefreshable:q,isPeriodic:k}=U.data;if(J)E[J]=U;else if(K&&(K[Re]=U,q&&!k)){let d=K.refresh;K.refresh=function(){let{zone:Z,state:V}=U;return V==="notScheduled"?(U._state="scheduled",Z._updateTaskCount(U,1)):V==="running"&&(U._state="scheduling"),d.call(this)}}return K??J??U}else return C.apply(e,P)}),f=de(e,a,C=>function(_,P){let I=P[0],x;Qe(I)?(x=E[I],delete E[I]):(x=I?.[Re],x?I[Re]=null:x=I),x?.type?x.cancelFn&&x.zone.cancelTask(x):C.apply(e,P)})}function Ct(e,n){let{isBrowser:a,isMix:t}=n.getGlobalObjects();if(!a&&!t||!e.customElements||!("customElements"in e))return;let c=["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback","formAssociatedCallback","formDisabledCallback","formResetCallback","formStateRestoreCallback"];n.patchCallbacks(n,e.customElements,"customElements","define",c)}function Dt(e,n){if(Zone[n.symbol("patchEventTarget")])return;let{eventNames:a,zoneSymbolEventNames:t,TRUE_STR:c,FALSE_STR:f,ZONE_SYMBOL_PREFIX:E}=n.getGlobalObjects();for(let m=0;mf.target===e);if(!t||t.length===0)return n;let c=t[0].ignoreProperties;return n.filter(f=>c.indexOf(f)===-1)}function et(e,n,a,t){if(!e)return;let c=ut(e,n,a);ot(e,c,t)}function Ze(e){return Object.getOwnPropertyNames(e).filter(n=>n.startsWith("on")&&n.length>2).map(n=>n.substring(2))}function Ot(e,n){if(Se&&!rt||Zone[e.symbol("patchEvents")])return;let a=n.__Zone_ignore_on_properties,t=[];if(Be){let c=window;t=t.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);let f=kt()?[{target:c,ignoreProperties:["error"]}]:[];et(c,Ze(c),a&&a.concat(f),je(c))}t=t.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let c=0;c{let a=n[e.__symbol__("legacyPatch")];a&&a()}),e.__load_patch("timers",n=>{let a="set",t="clear";ye(n,a,t,"Timeout"),ye(n,a,t,"Interval"),ye(n,a,t,"Immediate")}),e.__load_patch("requestAnimationFrame",n=>{ye(n,"request","cancel","AnimationFrame"),ye(n,"mozRequest","mozCancel","AnimationFrame"),ye(n,"webkitRequest","webkitCancel","AnimationFrame")}),e.__load_patch("blocking",(n,a)=>{let t=["alert","prompt","confirm"];for(let c=0;cfunction(C,_){return a.current.run(E,n,_,m)})}}),e.__load_patch("EventTarget",(n,a,t)=>{St(n,t),Dt(n,t);let c=n.XMLHttpRequestEventTarget;c&&c.prototype&&t.patchEventTarget(n,t,[c.prototype])}),e.__load_patch("MutationObserver",(n,a,t)=>{ve("MutationObserver"),ve("WebKitMutationObserver")}),e.__load_patch("IntersectionObserver",(n,a,t)=>{ve("IntersectionObserver")}),e.__load_patch("FileReader",(n,a,t)=>{ve("FileReader")}),e.__load_patch("on_property",(n,a,t)=>{Ot(t,n)}),e.__load_patch("customElements",(n,a,t)=>{Ct(n,t)}),e.__load_patch("XHR",(n,a)=>{C(n);let t=A("xhrTask"),c=A("xhrSync"),f=A("xhrListener"),E=A("xhrScheduled"),T=A("xhrURL"),m=A("xhrErrorBeforeScheduled");function C(_){let P=_.XMLHttpRequest;if(!P)return;let I=P.prototype;function x(w){return w[t]}let U=I[Le],J=I[Ie];if(!U){let w=_.XMLHttpRequestEventTarget;if(w){let b=w.prototype;U=b[Le],J=b[Ie]}}let K="readystatechange",q="scheduled";function k(w){let b=w.data,D=b.target;D[E]=!1,D[m]=!1;let Q=D[f];U||(U=D[Le],J=D[Ie]),Q&&J.call(D,K,Q);let W=D[f]=()=>{if(D.readyState===D.DONE)if(!b.aborted&&D[E]&&w.state===q){let j=D[a.__symbol__("loadfalse")];if(D.status!==0&&j&&j.length>0){let i=w.invoke;w.invoke=function(){let s=D[a.__symbol__("loadfalse")];for(let o=0;ofunction(w,b){return w[c]=b[2]==!1,w[T]=b[1],V.apply(w,b)}),X="XMLHttpRequest.send",G=A("fetchTaskAborting"),g=A("fetchTaskScheduling"),z=de(I,"send",()=>function(w,b){if(a.current[g]===!0||w[c])return z.apply(w,b);{let D={target:w,url:w[T],isPeriodic:!1,args:b,aborted:!1},Q=Ge(X,d,D,k,Z);w&&w[m]===!0&&!D.aborted&&Q.state===q&&Q.invoke()}}),S=de(I,"abort",()=>function(w,b){let D=x(w);if(D&&typeof D.type=="string"){if(D.cancelFn==null||D.data&&D.data.aborted)return;D.zone.cancelTask(D)}else if(a.current[G]===!0)return S.apply(w,b)})}}),e.__load_patch("geolocation",n=>{n.navigator&&n.navigator.geolocation&&yt(n.navigator.geolocation,["getCurrentPosition","watchPosition"])}),e.__load_patch("PromiseRejectionEvent",(n,a)=>{function t(c){return function(f){lt(n,c).forEach(T=>{let m=n.PromiseRejectionEvent;if(m){let C=new m(c,{promise:f.promise,reason:f.rejection});T.invoke(C)}})}}n.PromiseRejectionEvent&&(a[A("unhandledPromiseRejectionHandler")]=t("unhandledrejection"),a[A("rejectionHandledHandler")]=t("rejectionhandled"))}),e.__load_patch("queueMicrotask",(n,a,t)=>{Rt(n,t)})}function Lt(e){e.__load_patch("ZoneAwarePromise",(n,a,t)=>{let c=Object.getOwnPropertyDescriptor,f=Object.defineProperty;function E(h){if(h&&h.toString===Object.prototype.toString){let l=h.constructor&&h.constructor.name;return(l||"")+": "+JSON.stringify(h)}return h?h.toString():Object.prototype.toString.call(h)}let T=t.symbol,m=[],C=n[T("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")]!==!1,_=T("Promise"),P=T("then"),I="__creationTrace__";t.onUnhandledError=h=>{if(t.showUncaughtError()){let l=h&&h.rejection;l?console.error("Unhandled Promise rejection:",l instanceof Error?l.message:l,"; Zone:",h.zone.name,"; Task:",h.task&&h.task.source,"; Value:",l,l instanceof Error?l.stack:void 0):console.error(h)}},t.microtaskDrainDone=()=>{for(;m.length;){let h=m.shift();try{h.zone.runGuarded(()=>{throw h.throwOriginal?h.rejection:h})}catch(l){U(l)}}};let x=T("unhandledPromiseRejectionHandler");function U(h){t.onUnhandledError(h);try{let l=a[x];typeof l=="function"&&l.call(this,h)}catch{}}function J(h){return h&&h.then}function K(h){return h}function q(h){return M.reject(h)}let k=T("state"),d=T("value"),Z=T("finally"),V=T("parentPromiseValue"),X=T("parentPromiseState"),G="Promise.then",g=null,z=!0,S=!1,w=0;function b(h,l){return r=>{try{Y(h,l,r)}catch(u){Y(h,!1,u)}}}let D=function(){let h=!1;return function(r){return function(){h||(h=!0,r.apply(null,arguments))}}},Q="Promise resolved with itself",W=T("currentTaskTrace");function Y(h,l,r){let u=D();if(h===r)throw new TypeError(Q);if(h[k]===g){let v=null;try{(typeof r=="object"||typeof r=="function")&&(v=r&&r.then)}catch(R){return u(()=>{Y(h,!1,R)})(),h}if(l!==S&&r instanceof M&&r.hasOwnProperty(k)&&r.hasOwnProperty(d)&&r[k]!==g)i(r),Y(h,r[k],r[d]);else if(l!==S&&typeof v=="function")try{v.call(r,u(b(h,l)),u(b(h,!1)))}catch(R){u(()=>{Y(h,!1,R)})()}else{h[k]=l;let R=h[d];if(h[d]=r,h[Z]===Z&&l===z&&(h[k]=h[X],h[d]=h[V]),l===S&&r instanceof Error){let y=a.currentTask&&a.currentTask.data&&a.currentTask.data[I];y&&f(r,W,{configurable:!0,enumerable:!1,writable:!0,value:y})}for(let y=0;y{try{let O=h[d],N=!!r&&Z===r[Z];N&&(r[V]=O,r[X]=R);let L=l.run(y,void 0,N&&y!==q&&y!==K?[]:[O]);Y(r,!0,L)}catch(O){Y(r,!1,O)}},r)}let o="function ZoneAwarePromise() { [native code] }",p=function(){},H=n.AggregateError;class M{static toString(){return o}static resolve(l){return l instanceof M?l:Y(new this(null),z,l)}static reject(l){return Y(new this(null),S,l)}static withResolvers(){let l={};return l.promise=new M((r,u)=>{l.resolve=r,l.reject=u}),l}static any(l){if(!l||typeof l[Symbol.iterator]!="function")return Promise.reject(new H([],"All promises were rejected"));let r=[],u=0;try{for(let y of l)u++,r.push(M.resolve(y))}catch{return Promise.reject(new H([],"All promises were rejected"))}if(u===0)return Promise.reject(new H([],"All promises were rejected"));let v=!1,R=[];return new M((y,O)=>{for(let N=0;N{v||(v=!0,y(L))},L=>{R.push(L),u--,u===0&&(v=!0,O(new H(R,"All promises were rejected")))})})}static race(l){let r,u,v=new this((O,N)=>{r=O,u=N});function R(O){r(O)}function y(O){u(O)}for(let O of l)J(O)||(O=this.resolve(O)),O.then(R,y);return v}static all(l){return M.allWithCallback(l)}static allSettled(l){return(this&&this.prototype instanceof M?this:M).allWithCallback(l,{thenCallback:u=>({status:"fulfilled",value:u}),errorCallback:u=>({status:"rejected",reason:u})})}static allWithCallback(l,r){let u,v,R=new this((L,F)=>{u=L,v=F}),y=2,O=0,N=[];for(let L of l){J(L)||(L=this.resolve(L));let F=O;try{L.then(B=>{N[F]=r?r.thenCallback(B):B,y--,y===0&&u(N)},B=>{r?(N[F]=r.errorCallback(B),y--,y===0&&u(N)):v(B)})}catch(B){v(B)}y++,O++}return y-=2,y===0&&u(N),R}constructor(l){let r=this;if(!(r instanceof M))throw new Error("Must be an instanceof Promise.");r[k]=g,r[d]=[];try{let u=D();l&&l(u(b(r,z)),u(b(r,S)))}catch(u){Y(r,!1,u)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return M}then(l,r){let u=this.constructor?.[Symbol.species];(!u||typeof u!="function")&&(u=this.constructor||M);let v=new u(p),R=a.current;return this[k]==g?this[d].push(R,v,l,r):s(this,R,v,l,r),v}catch(l){return this.then(null,l)}finally(l){let r=this.constructor?.[Symbol.species];(!r||typeof r!="function")&&(r=M);let u=new r(p);u[Z]=Z;let v=a.current;return this[k]==g?this[d].push(v,u,l,l):s(this,v,u,l,l),u}}M.resolve=M.resolve,M.reject=M.reject,M.race=M.race,M.all=M.all;let se=n[_]=n.Promise;n.Promise=M;let le=T("thenPatched");function ue(h){let l=h.prototype,r=c(l,"then");if(r&&(r.writable===!1||!r.configurable))return;let u=l.then;l[P]=u,h.prototype.then=function(v,R){return new M((O,N)=>{u.call(this,O,N)}).then(v,R)},h[le]=!0}t.patchThen=ue;function ne(h){return function(l,r){let u=h.apply(l,r);if(u instanceof M)return u;let v=u.constructor;return v[le]||ue(v),u}}return se&&(ue(se),de(n,"fetch",h=>ne(h))),Promise[a.__symbol__("uncaughtPromiseErrors")]=m,M})}function It(e){e.__load_patch("toString",n=>{let a=Function.prototype.toString,t=A("OriginalDelegate"),c=A("Promise"),f=A("Error"),E=function(){if(typeof this=="function"){let _=this[t];if(_)return typeof _=="function"?a.call(_):Object.prototype.toString.call(_);if(this===Promise){let P=n[c];if(P)return a.call(P)}if(this===Error){let P=n[f];if(P)return a.call(P)}}return a.call(this)};E[t]=a,Function.prototype.toString=E;let T=Object.prototype.toString,m="[object Promise]";Object.prototype.toString=function(){return typeof Promise=="function"&&this instanceof Promise?m:T.call(this)}})}function Mt(e,n,a,t,c){let f=Zone.__symbol__(t);if(n[f])return;let E=n[f]=n[t];n[t]=function(T,m,C){return m&&m.prototype&&c.forEach(function(_){let P=`${a}.${t}::`+_,I=m.prototype;try{if(I.hasOwnProperty(_)){let x=e.ObjectGetOwnPropertyDescriptor(I,_);x&&x.value?(x.value=e.wrapWithCurrentZone(x.value,P),e._redefineProperty(m.prototype,_,x)):I[_]&&(I[_]=e.wrapWithCurrentZone(I[_],P))}else I[_]&&(I[_]=e.wrapWithCurrentZone(I[_],P))}catch{}}),E.call(n,T,m,C)},e.attachOriginToPatched(n[t],E)}function Zt(e){e.__load_patch("util",(n,a,t)=>{let c=Ze(n);t.patchOnProperties=ot,t.patchMethod=de,t.bindArguments=Fe,t.patchMacroTask=pt;let f=a.__symbol__("BLACK_LISTED_EVENTS"),E=a.__symbol__("UNPATCHED_EVENTS");n[E]&&(n[f]=n[E]),n[f]&&(a[f]=a[E]=n[f]),t.patchEventPrototype=wt,t.patchEventTarget=Pt,t.isIEOrEdge=vt,t.ObjectDefineProperty=Ae,t.ObjectGetOwnPropertyDescriptor=be,t.ObjectCreate=Et,t.ArraySlice=Tt,t.patchClass=ve,t.wrapWithCurrentZone=Ve,t.filterProperties=ut,t.attachOriginToPatched=_e,t._redefineProperty=Object.defineProperty,t.patchCallbacks=Mt,t.getGlobalObjects=()=>({globalSources:st,zoneSymbolEventNames:te,eventNames:c,isBrowser:Be,isMix:rt,isNode:Se,TRUE_STR:fe,FALSE_STR:he,ZONE_SYMBOL_PREFIX:Pe,ADD_EVENT_LISTENER_STR:He,REMOVE_EVENT_LISTENER_STR:xe})})}function At(e){Lt(e),It(e),Zt(e)}var ft=_t();At(ft);Nt(ft); diff --git a/idp/client/styles-5INURTSO.css b/idp/client/styles-5INURTSO.css deleted file mode 100644 index e69de29..0000000