diff --git a/3rdpartylicenses.txt b/3rdpartylicenses.txt deleted file mode 100644 index b5899e1..0000000 --- a/3rdpartylicenses.txt +++ /dev/null @@ -1,300 +0,0 @@ -@angular/common -MIT - -@angular/core -MIT - -@angular/forms -MIT - -@angular/platform-browser -MIT - -@angular/router -MIT - -@ng-util/lazy -MIT -MIT License - -Copyright (c) 2020-present 卡色 - -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. - - -@ng-util/util -MIT -MIT License - -Copyright (c) 2020-present 卡色 - -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. - - -ngx-highlight-js -MIT - -ngx-tinymce -MIT - -rxjs -Apache-2.0 - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright (c) 2015-2018 Google, Inc., Netflix, Inc., Microsoft Corp. and contributors - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - - -zone.js -MIT -The MIT License - -Copyright (c) 2010-2022 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/404.html b/404.html index ca73fd0..ff4bd7d 100644 --- a/404.html +++ b/404.html @@ -1,4 +1,6 @@ - + + + NgxTinymce @@ -12,9 +14,8 @@
Loading...
- - Fork me on GitHub + + Fork me on GitHub - - - \ No newline at end of file + + diff --git a/assets/fork.png b/assets/fork.png deleted file mode 100644 index 146ef8a..0000000 Binary files a/assets/fork.png and /dev/null differ diff --git a/index.html b/index.html index ca73fd0..ff4bd7d 100644 --- a/index.html +++ b/index.html @@ -1,4 +1,6 @@ - + + + NgxTinymce @@ -12,9 +14,8 @@
Loading...
- - Fork me on GitHub + + Fork me on GitHub - - - \ No newline at end of file + + diff --git a/main-7NG26QEC.js b/main-7NG26QEC.js new file mode 100644 index 0000000..ad3285d --- /dev/null +++ b/main-7NG26QEC.js @@ -0,0 +1,87 @@ +var $p=Object.defineProperty,Up=Object.defineProperties;var Bp=Object.getOwnPropertyDescriptors;var bc=Object.getOwnPropertySymbols;var Hp=Object.prototype.hasOwnProperty,zp=Object.prototype.propertyIsEnumerable;var Ic=(t,e,r)=>e in t?$p(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,p=(t,e)=>{for(var r in e||={})Hp.call(e,r)&&Ic(t,r,e[r]);if(bc)for(var r of bc(e))zp.call(e,r)&&Ic(t,r,e[r]);return t},k=(t,e)=>Up(t,Bp(e));var rs=(t,e,r)=>new Promise((n,i)=>{var o=u=>{try{a(r.next(u))}catch(c){i(c)}},s=u=>{try{a(r.throw(u))}catch(c){i(c)}},a=u=>u.done?n(u.value):Promise.resolve(u.value).then(o,s);a((r=r.apply(t,e)).next())});var Mc=null;function xe(t){let e=Mc;return Mc=t,e}var _c={version:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function os(t){return t&&(t.nextProducerIndex=0),xe(t)}function ss(t,e){if(xe(e),!(!t||t.producerNode===void 0||t.producerIndexOfThis===void 0||t.producerLastReadVersion===void 0)){if(Sc(t))for(let r=t.nextProducerIndex;rt.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}function as(t){if(is(t),Sc(t))for(let e=0;e0}function is(t){t.producerNode??=[],t.producerIndexOfThis??=[],t.producerLastReadVersion??=[]}function Gp(t){t.liveConsumerNode??=[],t.liveConsumerIndexOfThis??=[]}function Wp(){throw new Error}var qp=Wp;function Tc(t){qp=t}function I(t){return typeof t=="function"}function nn(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 Qr=nn(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 Wn(t,e){if(t){let r=t.indexOf(e);0<=r&&t.splice(r,1)}}var ee=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(I(n))try{n()}catch(o){e=o instanceof Qr?o.errors:[o]}let{_finalizers:i}=this;if(i){this._finalizers=null;for(let o of i)try{xc(o)}catch(s){e=e??[],s instanceof Qr?e=[...e,...s.errors]:e.push(s)}}if(e)throw new Qr(e)}}add(e){var r;if(e&&e!==this)if(this.closed)xc(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)&&Wn(r,e)}remove(e){let{_finalizers:r}=this;r&&Wn(r,e),e instanceof t&&e._removeParent(this)}};ee.EMPTY=(()=>{let t=new ee;return t.closed=!0,t})();var cs=ee.EMPTY;function Kr(t){return t instanceof ee||t&&"closed"in t&&I(t.remove)&&I(t.add)&&I(t.unsubscribe)}function xc(t){I(t)?t():t.unsubscribe()}var Ae={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var rn={setTimeout(t,e,...r){let{delegate:n}=rn;return n?.setTimeout?n.setTimeout(t,e,...r):setTimeout(t,e,...r)},clearTimeout(t){let{delegate:e}=rn;return(e?.clearTimeout||clearTimeout)(t)},delegate:void 0};function Jr(t){rn.setTimeout(()=>{let{onUnhandledError:e}=Ae;if(e)e(t);else throw t})}function qn(){}var Ac=(()=>ls("C",void 0,void 0))();function Nc(t){return ls("E",void 0,t)}function Oc(t){return ls("N",t,void 0)}function ls(t,e,r){return{kind:t,value:e,error:r}}var Ot=null;function on(t){if(Ae.useDeprecatedSynchronousErrorHandling){let e=!Ot;if(e&&(Ot={errorThrown:!1,error:null}),t(),e){let{errorThrown:r,error:n}=Ot;if(Ot=null,r)throw n}}else t()}function Rc(t){Ae.useDeprecatedSynchronousErrorHandling&&Ot&&(Ot.errorThrown=!0,Ot.error=t)}var Rt=class extends ee{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,Kr(e)&&e.add(this)):this.destination=Qp}static create(e,r,n){return new Ke(e,r,n)}next(e){this.isStopped?fs(Oc(e),this):this._next(e)}error(e){this.isStopped?fs(Nc(e),this):(this.isStopped=!0,this._error(e))}complete(){this.isStopped?fs(Ac,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()}}},Zp=Function.prototype.bind;function ds(t,e){return Zp.call(t,e)}var hs=class{constructor(e){this.partialObserver=e}next(e){let{partialObserver:r}=this;if(r.next)try{r.next(e)}catch(n){Xr(n)}}error(e){let{partialObserver:r}=this;if(r.error)try{r.error(e)}catch(n){Xr(n)}else Xr(e)}complete(){let{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(r){Xr(r)}}},Ke=class extends Rt{constructor(e,r,n){super();let i;if(I(e)||!e)i={next:e??void 0,error:r??void 0,complete:n??void 0};else{let o;this&&Ae.useDeprecatedNextContext?(o=Object.create(e),o.unsubscribe=()=>this.unsubscribe(),i={next:e.next&&ds(e.next,o),error:e.error&&ds(e.error,o),complete:e.complete&&ds(e.complete,o)}):i=e}this.destination=new hs(i)}};function Xr(t){Ae.useDeprecatedSynchronousErrorHandling?Rc(t):Jr(t)}function Yp(t){throw t}function fs(t,e){let{onStoppedNotification:r}=Ae;r&&rn.setTimeout(()=>r(t,e))}var Qp={closed:!0,next:qn,error:Yp,complete:qn};var sn=(()=>typeof Symbol=="function"&&Symbol.observable||"@@observable")();function se(t){return t}function Zn(...t){return ps(t)}function ps(t){return t.length===0?se:t.length===1?t[0]:function(r){return t.reduce((n,i)=>i(n),r)}}var F=(()=>{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=Jp(r)?r:new Ke(r,n,i);return on(()=>{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=Fc(n),new n((i,o)=>{let s=new Ke({next:a=>{try{r(a)}catch(u){o(u),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)}[sn](){return this}pipe(...r){return ps(r)(this)}toPromise(r){return r=Fc(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 Fc(t){var e;return(e=t??Ae.Promise)!==null&&e!==void 0?e:Promise}function Kp(t){return t&&I(t.next)&&I(t.error)&&I(t.complete)}function Jp(t){return t&&t instanceof Rt||Kp(t)&&Kr(t)}function gs(t){return I(t?.lift)}function A(t){return e=>{if(gs(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 N(t,e,r,n,i){return new ms(t,e,r,n,i)}var ms=class extends Rt{constructor(e,r,n,i,o,s){super(e),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=r?function(a){try{r(a)}catch(u){e.error(u)}}:super._next,this._error=i?function(a){try{i(a)}catch(u){e.error(u)}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 an(){return A((t,e)=>{let r=null;t._refCount++;let n=N(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 un=class extends F{constructor(e,r){super(),this.source=e,this.subjectFactory=r,this._subject=null,this._refCount=0,this._connection=null,gs(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 ee;let r=this.getSubject();e.add(this.source.subscribe(N(r,void 0,()=>{this._teardown(),r.complete()},n=>{this._teardown(),r.error(n)},()=>this._teardown()))),e.closed&&(this._connection=null,e=ee.EMPTY)}return e}refCount(){return an()(this)}};var Pc=nn(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var re=(()=>{class t extends F{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(r){let n=new ei(this,this);return n.operator=r,n}_throwIfClosed(){if(this.closed)throw new Pc}next(r){on(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let n of this.currentObservers)n.next(r)}})}error(r){on(()=>{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(){on(()=>{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?cs:(this.currentObservers=null,o.push(r),new ee(()=>{this.currentObservers=null,Wn(o,r)}))}_checkFinalizedStatuses(r){let{hasError:n,thrownError:i,isStopped:o}=this;n?r.error(i):o&&r.complete()}asObservable(){let r=new F;return r.source=this,r}}return t.create=(e,r)=>new ei(e,r),t})(),ei=class extends re{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:cs}};var Q=class extends re{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 F(t=>t.complete());function kc(t){return t&&I(t.schedule)}function ys(t){return t[t.length-1]}function ti(t){return I(ys(t))?t.pop():void 0}function je(t){return kc(ys(t))?t.pop():void 0}function Lc(t,e){return typeof ys(t)=="number"?t.pop():e}function jc(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{c(n.next(l))}catch(d){s(d)}}function u(l){try{c(n.throw(l))}catch(d){s(d)}}function c(l){l.done?o(l.value):i(l.value).then(a,u)}c((n=n.apply(t,e||[])).next())})}function Vc(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 Ft(t){return this instanceof Ft?(this.v=t,this):new Ft(t)}function $c(t,e,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=r.apply(t,e||[]),i,o=[];return i={},s("next"),s("throw"),s("return"),i[Symbol.asyncIterator]=function(){return this},i;function s(f){n[f]&&(i[f]=function(h){return new Promise(function(m,M){o.push([f,h,m,M])>1||a(f,h)})})}function a(f,h){try{u(n[f](h))}catch(m){d(o[0][3],m)}}function u(f){f.value instanceof Ft?Promise.resolve(f.value.v).then(c,l):d(o[0][2],f)}function c(f){a("next",f)}function l(f){a("throw",f)}function d(f,h){f(h),o.shift(),o.length&&a(o[0][0],o[0][1])}}function Uc(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 Vc=="function"?Vc(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,u){s=t[o](s),i(a,u,s.done,s.value)})}}function i(o,s,a,u){Promise.resolve(u).then(function(c){o({value:c,done:a})},s)}}var ni=t=>t&&typeof t.length=="number"&&typeof t!="function";function ri(t){return I(t?.then)}function ii(t){return I(t[sn])}function oi(t){return Symbol.asyncIterator&&I(t?.[Symbol.asyncIterator])}function si(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 Xp(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var ai=Xp();function ui(t){return I(t?.[ai])}function ci(t){return $c(this,arguments,function*(){let r=t.getReader();try{for(;;){let{value:n,done:i}=yield Ft(r.read());if(i)return yield Ft(void 0);yield yield Ft(n)}}finally{r.releaseLock()}})}function li(t){return I(t?.getReader)}function U(t){if(t instanceof F)return t;if(t!=null){if(ii(t))return eg(t);if(ni(t))return tg(t);if(ri(t))return ng(t);if(oi(t))return Bc(t);if(ui(t))return rg(t);if(li(t))return ig(t)}throw si(t)}function eg(t){return new F(e=>{let r=t[sn]();if(I(r.subscribe))return r.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function tg(t){return new F(e=>{for(let r=0;r{t.then(r=>{e.closed||(e.next(r),e.complete())},r=>e.error(r)).then(null,Jr)})}function rg(t){return new F(e=>{for(let r of t)if(e.next(r),e.closed)return;e.complete()})}function Bc(t){return new F(e=>{og(t,e).catch(r=>e.error(r))})}function ig(t){return Bc(ci(t))}function og(t,e){var r,n,i,o;return jc(this,void 0,void 0,function*(){try{for(r=Uc(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 de(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 di(t,e=0){return A((r,n)=>{r.subscribe(N(n,i=>de(n,t,()=>n.next(i),e),()=>de(n,t,()=>n.complete(),e),i=>de(n,t,()=>n.error(i),e)))})}function fi(t,e=0){return A((r,n)=>{n.add(t.schedule(()=>r.subscribe(n),e))})}function Hc(t,e){return U(t).pipe(fi(e),di(e))}function zc(t,e){return U(t).pipe(fi(e),di(e))}function Gc(t,e){return new F(r=>{let n=0;return e.schedule(function(){n===t.length?r.complete():(r.next(t[n++]),r.closed||this.schedule())})})}function Wc(t,e){return new F(r=>{let n;return de(r,e,()=>{n=t[ai](),de(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)}),()=>I(n?.return)&&n.return()})}function hi(t,e){if(!t)throw new Error("Iterable cannot be null");return new F(r=>{de(r,e,()=>{let n=t[Symbol.asyncIterator]();de(r,e,()=>{n.next().then(i=>{i.done?r.complete():r.next(i.value)})},0,!0)})})}function qc(t,e){return hi(ci(t),e)}function Zc(t,e){if(t!=null){if(ii(t))return Hc(t,e);if(ni(t))return Gc(t,e);if(ri(t))return zc(t,e);if(oi(t))return hi(t,e);if(ui(t))return Wc(t,e);if(li(t))return qc(t,e)}throw si(t)}function B(t,e){return e?Zc(t,e):U(t)}function E(...t){let e=je(t);return B(t,e)}function cn(t,e){let r=I(t)?t:()=>t,n=i=>i.error(r());return new F(e?i=>e.schedule(n,0,i):n)}function vs(t){return!!t&&(t instanceof F||I(t.lift)&&I(t.subscribe))}var Je=nn(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"});function x(t,e){return A((r,n)=>{let i=0;r.subscribe(N(n,o=>{n.next(t.call(e,o,i++))}))})}var{isArray:sg}=Array;function ag(t,e){return sg(e)?t(...e):t(e)}function pi(t){return x(e=>ag(t,e))}var{isArray:ug}=Array,{getPrototypeOf:cg,prototype:lg,keys:dg}=Object;function gi(t){if(t.length===1){let e=t[0];if(ug(e))return{args:e,keys:null};if(fg(e)){let r=dg(e);return{args:r.map(n=>e[n]),keys:r}}}return{args:t,keys:null}}function fg(t){return t&&typeof t=="object"&&cg(t)===lg}function mi(t,e){return t.reduce((r,n,i)=>(r[n]=e[i],r),{})}function yi(...t){let e=je(t),r=ti(t),{args:n,keys:i}=gi(t);if(n.length===0)return B([],e);let o=new F(hg(n,e,i?s=>mi(i,s):se));return r?o.pipe(pi(r)):o}function hg(t,e,r=se){return n=>{Yc(e,()=>{let{length:i}=t,o=new Array(i),s=i,a=i;for(let u=0;u{let c=B(t[u],e),l=!1;c.subscribe(N(n,d=>{o[u]=d,l||(l=!0,a--),a||n.next(r(o.slice()))},()=>{--s||n.complete()}))},n)},n)}}function Yc(t,e,r){t?de(r,t,e):e()}function Qc(t,e,r,n,i,o,s,a){let u=[],c=0,l=0,d=!1,f=()=>{d&&!u.length&&!c&&e.complete()},h=M=>c{o&&e.next(M),c++;let b=!1;U(r(M,l++)).subscribe(N(e,y=>{i?.(y),o?h(y):e.next(y)},()=>{b=!0},void 0,()=>{if(b)try{for(c--;u.length&&cm(y)):m(y)}f()}catch(y){e.error(y)}}))};return t.subscribe(N(e,h,()=>{d=!0,f()})),()=>{a?.()}}function K(t,e,r=1/0){return I(e)?K((n,i)=>x((o,s)=>e(n,o,i,s))(U(t(n,i))),r):(typeof e=="number"&&(r=e),A((n,i)=>Qc(n,i,t,r)))}function Yn(t=1/0){return K(se,t)}function Kc(){return Yn(1)}function ln(...t){return Kc()(B(t,je(t)))}function vi(t){return new F(e=>{U(t()).subscribe(e)})}function Ds(...t){let e=ti(t),{args:r,keys:n}=gi(t),i=new F(o=>{let{length:s}=r;if(!s){o.complete();return}let a=new Array(s),u=s,c=s;for(let l=0;l{d||(d=!0,c--),a[l]=f},()=>u--,void 0,()=>{(!u||!d)&&(c||o.next(n?mi(n,a):a),o.complete())}))}});return e?i.pipe(pi(e)):i}function Cs(...t){let e=je(t),r=Lc(t,1/0),n=t;return n.length?n.length===1?U(n[0]):Yn(r)(B(n,e)):le}function ie(t,e){return A((r,n)=>{let i=0;r.subscribe(N(n,o=>t.call(e,o,i++)&&n.next(o)))})}function pt(t){return A((e,r)=>{let n=null,i=!1,o;n=e.subscribe(N(r,void 0,void 0,s=>{o=U(t(s,pt(t)(e))),n?(n.unsubscribe(),n=null,o.subscribe(r)):i=!0})),i&&(n.unsubscribe(),n=null,o.subscribe(r))})}function Jc(t,e,r,n,i){return(o,s)=>{let a=r,u=e,c=0;o.subscribe(N(s,l=>{let d=c++;u=a?t(u,l,d):(a=!0,l),n&&s.next(u)},i&&(()=>{a&&s.next(u),s.complete()})))}}function gt(t,e){return I(e)?K(t,e,1):K(t,1)}function mt(t){return A((e,r)=>{let n=!1;e.subscribe(N(r,i=>{n=!0,r.next(i)},()=>{n||r.next(t),r.complete()}))})}function Xe(t){return t<=0?()=>le:A((e,r)=>{let n=0;e.subscribe(N(r,i=>{++n<=t&&(r.next(i),t<=n&&r.complete())}))})}function ws(t){return x(()=>t)}function Es(t,e=se){return t=t??pg,A((r,n)=>{let i,o=!0;r.subscribe(N(n,s=>{let a=e(s);(o||!t(i,a))&&(o=!1,i=a,n.next(s))}))})}function pg(t,e){return t===e}function Di(t=gg){return A((e,r)=>{let n=!1;e.subscribe(N(r,i=>{n=!0,r.next(i)},()=>n?r.complete():r.error(t())))})}function gg(){return new Je}function Pt(t){return A((e,r)=>{try{e.subscribe(r)}finally{r.add(t)}})}function $e(t,e){let r=arguments.length>=2;return n=>n.pipe(t?ie((i,o)=>t(i,o,n)):se,Xe(1),r?mt(e):Di(()=>new Je))}function dn(t){return t<=0?()=>le:A((e,r)=>{let n=[];e.subscribe(N(r,i=>{n.push(i),t{for(let i of n)r.next(i);r.complete()},void 0,()=>{n=null}))})}function bs(t,e){let r=arguments.length>=2;return n=>n.pipe(t?ie((i,o)=>t(i,o,n)):se,dn(1),r?mt(e):Di(()=>new Je))}function Is(t,e){return A(Jc(t,e,arguments.length>=2,!0))}function fn(t={}){let{connector:e=()=>new re,resetOnError:r=!0,resetOnComplete:n=!0,resetOnRefCountZero:i=!0}=t;return o=>{let s,a,u,c=0,l=!1,d=!1,f=()=>{a?.unsubscribe(),a=void 0},h=()=>{f(),s=u=void 0,l=d=!1},m=()=>{let M=s;h(),M?.unsubscribe()};return A((M,b)=>{c++,!d&&!l&&f();let y=u=u??e();b.add(()=>{c--,c===0&&!d&&!l&&(a=Ms(m,i))}),y.subscribe(b),!s&&c>0&&(s=new Ke({next:Z=>y.next(Z),error:Z=>{d=!0,f(),a=Ms(h,r,Z),y.error(Z)},complete:()=>{l=!0,f(),a=Ms(h,n),y.complete()}}),U(M).subscribe(s))})(o)}}function Ms(t,e,...r){if(e===!0){t();return}if(e===!1)return;let n=new Ke({next:()=>{n.unsubscribe(),t()}});return U(e(...r)).subscribe(n)}function _s(...t){let e=je(t);return A((r,n)=>{(e?ln(t,r,e):ln(t,r)).subscribe(n)})}function ae(t,e){return A((r,n)=>{let i=null,o=0,s=!1,a=()=>s&&!i&&n.complete();r.subscribe(N(n,u=>{i?.unsubscribe();let c=0,l=o++;U(t(u,l)).subscribe(i=N(n,d=>n.next(e?e(u,d,l,c++):d),()=>{i=null,a()}))},()=>{s=!0,a()}))})}function Ss(t){return A((e,r)=>{U(t).subscribe(N(r,()=>r.complete(),qn)),!r.closed&&e.subscribe(r)})}function J(t,e,r){let n=I(t)||e||r?{next:t,error:e,complete:r}:t;return n?A((i,o)=>{var s;(s=n.subscribe)===null||s===void 0||s.call(n);let a=!0;i.subscribe(N(o,u=>{var c;(c=n.next)===null||c===void 0||c.call(n,u),o.next(u)},()=>{var u;a=!1,(u=n.complete)===null||u===void 0||u.call(n),o.complete()},u=>{var c;a=!1,(c=n.error)===null||c===void 0||c.call(n,u),o.error(u)},()=>{var u,c;a&&((u=n.unsubscribe)===null||u===void 0||u.call(n)),(c=n.finalize)===null||c===void 0||c.call(n)}))}):se}function $(t){for(let e in t)if(t[e]===$)return e;throw Error("Could not find renamed property on target object.")}function Ci(t,e){for(let r in e)e.hasOwnProperty(r)&&!t.hasOwnProperty(r)&&(t[r]=e[r])}function oe(t){if(typeof t=="string")return t;if(Array.isArray(t))return"["+t.map(oe).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 Xc(t,e){return t==null||t===""?e===null?"":e:e==null||e===""?t:t+" "+e}var mg=$({__forward_ref__:$});function zt(t){return t.__forward_ref__=zt,t.toString=function(){return oe(this())},t}function ue(t){return Vl(t)?t():t}function Vl(t){return typeof t=="function"&&t.hasOwnProperty(mg)&&t.__forward_ref__===zt}function jl(t){return t&&!!t.\u0275providers}var $l="https://g.co/ng/security#xss",v=class extends Error{constructor(e,r){super(Ki(e,r)),this.code=e}};function Ki(t,e){return`${`NG0${Math.abs(t)}`}${e?": "+e:""}`}var yg=$({\u0275cmp:$}),vg=$({\u0275dir:$}),Dg=$({\u0275pipe:$}),Cg=$({\u0275mod:$}),Ni=$({\u0275fac:$}),Qn=$({__NG_ELEMENT_ID__:$}),el=$({__NG_ENV_ID__:$});function lr(t){return typeof t=="string"?t:t==null?"":String(t)}function wg(t){return typeof t=="function"?t.name||t.toString():typeof t=="object"&&t!=null&&typeof t.type=="function"?t.type.name||t.type.toString():lr(t)}function Eg(t,e){let r=e?`. Dependency path: ${e.join(" > ")} > ${t}`:"";throw new v(-200,`Circular dependency in DI detected for ${t}${r}`)}function Sa(t,e){let r=e?` in ${e}`:"";throw new v(-201,!1)}function bg(t,e){t==null&&Ig(e,t,null,"!=")}function Ig(t,e,r,n){throw new Error(`ASSERTION ERROR: ${t}`+(n==null?"":` [Expected=> ${r} ${n} ${e} <=Actual]`))}function C(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function it(t){return{providers:t.providers||[],imports:t.imports||[]}}function Ji(t){return tl(t,Bl)||tl(t,Hl)}function Ul(t){return Ji(t)!==null}function tl(t,e){return t.hasOwnProperty(e)?t[e]:null}function Mg(t){let e=t&&(t[Bl]||t[Hl]);return e||null}function nl(t){return t&&(t.hasOwnProperty(rl)||t.hasOwnProperty(_g))?t[rl]:null}var Bl=$({\u0275prov:$}),rl=$({\u0275inj:$}),Hl=$({ngInjectableDef:$}),_g=$({ngInjectorDef:$}),O=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}(O||{}),Bs;function Sg(){return Bs}function Ue(t){let e=Bs;return Bs=t,e}function zl(t,e,r){let n=Ji(t);if(n&&n.providedIn=="root")return n.value===void 0?n.value=n.factory():n.value;if(r&O.Optional)return null;if(e!==void 0)return e;Sa(oe(t),"Injector")}var et=globalThis;var w=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}`}};var Tg={},tr=Tg,xg="__NG_DI_FLAG__",Oi="ngTempTokenPath",Ag="ngTokenPath",Ng=/\n/gm,Og="\u0275",il="__source",Kn;function hn(t){let e=Kn;return Kn=t,e}function Rg(t,e=O.Default){if(Kn===void 0)throw new v(-203,!1);return Kn===null?zl(t,void 0,e):Kn.get(t,e&O.Optional?null:void 0,e)}function D(t,e=O.Default){return(Sg()||Rg)(ue(t),e)}function g(t,e=O.Default){return D(t,Xi(e))}function Xi(t){return typeof t>"u"||typeof t=="number"?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function Hs(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):oe(a)))}i=`{${o.join(", ")}}`}return`${r}${n?"("+n+")":""}[${i}]: ${t.replace(Ng,` + `)}`}function eo(t){return{toString:t}.toString()}var Gl=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}(Gl||{}),ze=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}(ze||{}),vn={},Ce=[];function Wl(t,e,r){let n=t.length;for(;;){let i=t.indexOf(e,r);if(i===-1)return i;if(i===0||t.charCodeAt(i-1)<=32){let o=e.length;if(i+o===n||t.charCodeAt(i+o)<=32)return i}r=i+1}}function zs(t,e,r){let n=0;for(;ne){s=o-1;break}}}for(;oo?f="":f=i[d+1].toLowerCase();let h=n&8?f:null;if(h&&Wl(h,c,0)!==-1||n&2&&c!==f){if(Ne(n))return!1;s=!0}}}}return Ne(n)||s}function Ne(t){return(t&1)===0}function Ug(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!==""&&!Ne(s)&&(e+=sl(o,i),i=""),n=s,o=o||!Ne(n);r++}return i!==""&&(e+=sl(o,i)),e}function qg(t){return t.map(Wg).join(",")}function Zg(t){let e=[],r=[],n=1,i=2;for(;n{let e=td(t),r=k(p({},e),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===Gl.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&t.dependencies||null,getStandaloneInjector:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||ze.Emulated,styles:t.styles||Ce,_:null,schemas:t.schemas||null,tView:null,id:""});nd(r);let n=t.dependencies;return r.directiveDefs=ul(n,!1),r.pipeDefs=ul(n,!0),r.id=Kg(r),r})}function Yg(t){return Lt(t)||Kl(t)}function Qg(t){return t!==null}function ot(t){return eo(()=>({type:t.type,bootstrap:t.bootstrap||Ce,declarations:t.declarations||Ce,imports:t.imports||Ce,exports:t.exports||Ce,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function al(t,e){if(t==null)return vn;let r={};for(let n in t)if(t.hasOwnProperty(n)){let i=t[n],o=i;Array.isArray(i)&&(o=i[1],i=i[0]),r[i]=n,e&&(e[i]=o)}return r}function ye(t){return eo(()=>{let e=td(t);return nd(e),e})}function Lt(t){return t[yg]||null}function Kl(t){return t[vg]||null}function Jl(t){return t[Dg]||null}function Xl(t){let e=Lt(t)||Kl(t)||Jl(t);return e!==null?e.standalone:!1}function ed(t,e){let r=t[Cg]||null;if(!r&&e===!0)throw new Error(`Type ${oe(t)} does not have '\u0275mod' property.`);return r}function td(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||vn,exportAs:t.exportAs||null,standalone:t.standalone===!0,signals:t.signals===!0,selectors:t.selectors||Ce,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:al(t.inputs,e),outputs:al(t.outputs),debugInfo:null}}function nd(t){t.features?.forEach(e=>e(t))}function ul(t,e){if(!t)return null;let r=e?Jl:Yg;return()=>(typeof t=="function"?t():t).map(n=>r(n)).filter(Qg)}function Kg(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+=2147483647+1,"c"+e}var st=0,R=1,T=2,X=3,Oe=4,ve=5,Ri=6,rr=7,Re=8,Dn=9,Cn=10,Y=11,ir=12,cl=13,_n=14,Fe=15,to=16,pn=17,or=18,no=19,rd=20,Jn=21,Xn=23,er=24,Ge=25,id=1,od=2,Gs=6,Vt=7,Fi=8,Pi=9;var we=11;function yt(t){return Array.isArray(t)&&typeof t[id]=="object"}function Pe(t){return Array.isArray(t)&&t[id]===!0}function Ta(t){return(t.flags&4)!==0}function ro(t){return t.componentOffset>-1}function io(t){return(t.flags&1)===1}function vt(t){return!!t.template}function Jg(t){return(t[T]&512)!==0}function wn(t,e){let r=t.hasOwnProperty(Ni);return r?t[Ni]:null}var Ws=class{constructor(e,r,n){this.previousValue=e,this.currentValue=r,this.firstChange=n}isFirstChange(){return this.firstChange}};function at(){return sd}function sd(t){return t.type.prototype.ngOnChanges&&(t.setInput=em),Xg}at.ngInherit=!0;function Xg(){let t=ud(this),e=t?.current;if(e){let r=t.previous;if(r===vn)t.previous=e;else for(let n in e)r[n]=e[n];t.current=null,this.ngOnChanges(e)}}function em(t,e,r,n){let i=this.declaredInputs[r],o=ud(t)||tm(t,{previous:vn,current:null}),s=o.current||(o.current={}),a=o.previous,u=a[i];s[i]=new Ws(u&&u.currentValue,e,a===vn),t[n]=e}var ad="__ngSimpleChanges__";function ud(t){return t[ad]||null}function tm(t,e){return t[ad]=e}var ll=null;var Be=function(t,e,r){ll?.(t,e,r)},nm="svg",rm="math";function We(t){for(;Array.isArray(t);)t=t[st];return t}function cd(t,e){return We(e[t])}function be(t,e){return We(e[t.index])}function ld(t,e){return t.data[e]}function wt(t,e){let r=e[t];return yt(r)?r:r[st]}function xa(t){return(t[T]&128)===128}function im(t){return Pe(t[X])}function En(t,e){return e==null?null:t[e]}function dd(t){t[pn]=0}function om(t){t[T]&1024||(t[T]|=1024,xa(t)&&Aa(t))}function sm(t,e){for(;t>0;)e=e[_n],t--;return e}function fd(t){t[T]&9216&&Aa(t)}function Aa(t){let e=t[X];for(;e!==null&&!(Pe(e)&&e[Gs]||yt(e)&&e[T]&8192);){if(Pe(e))e[Gs]=!0;else if(e[T]|=8192,!xa(e))break;e=e[X]}}function am(t,e){if((t[T]&256)===256)throw new v(911,!1);t[Jn]===null&&(t[Jn]=[]),t[Jn].push(e)}var P={lFrame:Dd(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function um(){return P.lFrame.elementDepthCount}function cm(){P.lFrame.elementDepthCount++}function lm(){P.lFrame.elementDepthCount--}function hd(){return P.bindingsEnabled}function pd(){return P.skipHydrationRootTNode!==null}function dm(t){return P.skipHydrationRootTNode===t}function fm(){P.skipHydrationRootTNode=null}function G(){return P.lFrame.lView}function he(){return P.lFrame.tView}function pe(){let t=gd();for(;t!==null&&t.type===64;)t=t.parent;return t}function gd(){return P.lFrame.currentTNode}function hm(){let t=P.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}function Gt(t,e){let r=P.lFrame;r.currentTNode=t,r.isParent=e}function Na(){return P.lFrame.isParent}function Oa(){P.lFrame.isParent=!1}function pm(t){return P.lFrame.bindingIndex=t}function Ra(){return P.lFrame.bindingIndex++}function gm(t){let e=P.lFrame,r=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,r}function mm(){return P.lFrame.inI18n}function ym(t,e){let r=P.lFrame;r.bindingIndex=r.bindingRootIndex=t,qs(e)}function vm(){return P.lFrame.currentDirectiveIndex}function qs(t){P.lFrame.currentDirectiveIndex=t}function Dm(t){let e=P.lFrame.currentDirectiveIndex;return e===-1?null:t[e]}function md(t){P.lFrame.currentQueryIndex=t}function Cm(t){let e=t[R];return e.type===2?e.declTNode:e.type===1?t[ve]:null}function yd(t,e,r){if(r&O.SkipSelf){let i=e,o=t;for(;i=i.parent,i===null&&!(r&O.Host);)if(i=Cm(o),i===null||(o=o[_n],i.type&10))break;if(i===null)return!1;e=i,t=o}let n=P.lFrame=vd();return n.currentTNode=e,n.lView=t,!0}function Fa(t){let e=vd(),r=t[R];P.lFrame=e,e.currentTNode=r.firstChild,e.lView=t,e.tView=r,e.contextLView=t,e.bindingIndex=r.bindingStartIndex,e.inI18n=!1}function vd(){let t=P.lFrame,e=t===null?null:t.child;return e===null?Dd(t):e}function Dd(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 Cd(){let t=P.lFrame;return P.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var wd=Cd;function Pa(){let t=Cd();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 wm(t){return(P.lFrame.contextLView=sm(t,P.lFrame.contextLView))[Re]}function Sn(){return P.lFrame.selectedIndex}function jt(t){P.lFrame.selectedIndex=t}function Ed(){let t=P.lFrame;return ld(t.tView,t.selectedIndex)}function Em(){return P.lFrame.currentNamespace}var bd=!0;function oo(){return bd}function so(t){bd=t}function bm(t,e,r){let{ngOnChanges:n,ngOnInit:i,ngDoCheck:o}=e.type.prototype;if(n){let s=sd(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 ao(t,e){for(let r=e.directiveStart,n=e.directiveEnd;r=n)break}else e[u]<0&&(t[pn]+=65536),(a>14>16&&(t[T]&3)===e&&(t[T]+=16384,dl(a,o)):dl(a,o)}var yn=-1,$t=class{constructor(e,r,n){this.factory=e,this.resolving=!1,this.canSeeViewProviders=r,this.injectImpl=n}};function Mm(t){return t instanceof $t}function _m(t){return(t.flags&8)!==0}function Sm(t){return(t.flags&16)!==0}function Md(t){return t!==yn}function ki(t){let e=t&32767;return t&32767}function Tm(t){return t>>16}function Li(t,e){let r=Tm(t),n=e;for(;r>0;)n=n[_n],r--;return n}var Zs=!0;function fl(t){let e=Zs;return Zs=t,e}var xm=256,_d=xm-1,Sd=5,Am=0,He={};function Nm(t,e,r){let n;typeof r=="string"?n=r.charCodeAt(0)||0:r.hasOwnProperty(Qn)&&(n=r[Qn]),n==null&&(n=r[Qn]=Am++);let i=n&_d,o=1<>Sd)]|=o}function Vi(t,e){let r=Td(t,e);if(r!==-1)return r;let n=e[R];n.firstCreatePass&&(t.injectorIndex=e.length,xs(n.data,t),xs(e,null),xs(n.blueprint,null));let i=ka(t,e),o=t.injectorIndex;if(Md(i)){let s=ki(i),a=Li(i,e),u=a[R].data;for(let c=0;c<8;c++)e[o+c]=a[s+c]|u[s+c]}return e[o+8]=i,o}function xs(t,e){t.push(0,0,0,0,0,0,0,0,e)}function Td(t,e){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||e[t.injectorIndex+8]===null?-1:t.injectorIndex}function ka(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=Rd(i),n===null)return yn;if(r++,i=i[_n],n.injectorIndex!==-1)return n.injectorIndex|r<<16}return yn}function Ys(t,e,r){Nm(t,e,r)}function Om(t,e){if(e==="class")return t.classes;if(e==="style")return t.styles;let r=t.attrs;if(r){let n=r.length,i=0;for(;i>20,d=n?a:a+l,f=i?a+l:c;for(let h=d;h=u&&m.type===r)return h}if(i){let h=s[u];if(h&&vt(h)&&h.type===r)return u}return null}function bn(t,e,r,n){let i=t[r],o=e.data;if(Mm(i)){let s=i;s.resolving&&Eg(wg(o[r]));let a=fl(s.canSeeViewProviders);s.resolving=!0;let u,c=s.injectImpl?Ue(s.injectImpl):null,l=yd(t,n,O.Default);try{i=t[r]=s.factory(void 0,o,t,n),e.firstCreatePass&&r>=n.directiveStart&&bm(r,o[r],e)}finally{c!==null&&Ue(c),fl(a),s.resolving=!1,wd()}}return i}function Pm(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&_d:km:e}function hl(t,e,r){let n=1<>Sd)]&n)}function pl(t,e){return!(t&O.Self)&&!(t&O.Host&&e)}var kt=class{constructor(e,r){this._tNode=e,this._lView=r}get(e,r,n){return Nd(this._tNode,this._lView,e,Xi(n),r)}};function km(){return new kt(pe(),G())}function dr(t){return eo(()=>{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 Vl(t)?()=>{let e=Qs(ue(t));return e&&e()}:wn(t)}function Lm(t,e,r,n,i){let o=t,s=e;for(;o!==null&&s!==null&&s[T]&2048&&!(s[T]&512);){let a=Od(o,s,r,n|O.Self,He);if(a!==He)return a;let u=o.parent;if(!u){let c=s[rd];if(c){let l=c.get(r,He,n);if(l!==He)return l}u=Rd(s),s=s[_n]}o=u}return i}function Rd(t){let e=t[R],r=e.type;return r===2?e.declTNode:r===1?t[ve]:null}function La(t){return Om(pe(),t)}function Vm(t){return typeof t=="function"}function Va(t,e){t.forEach(r=>Array.isArray(r)?Va(r,e):e(r))}function Fd(t,e,r){e>=t.length?t.push(r):t.splice(e,0,r)}function ji(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function Pd(t,e){let r=[];for(let n=0;ne;){let o=i-2;t[i]=t[o],i--}t[e]=r,t[e+1]=n}}function $m(t,e,r){let n=fr(t,e);return n>=0?t[n|1]=r:(n=~n,jm(t,n,e,r)),n}function As(t,e){let r=fr(t,e);if(r>=0)return t[r|1]}function fr(t,e){return Um(t,e,1)}function Um(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<{r.push(s)};return Va(e,s=>{let a=s;Ks(a,o,[],n)&&(i||=[],i.push(a))}),i!==void 0&&jd(i,o),r}function jd(t,e){for(let r=0;r{e(o,n)})}}function Ks(t,e,r,n){if(t=ue(t),!t)return!1;let i=null,o=nl(t),s=!o&&Lt(t);if(!o&&!s){let u=t.ngModule;if(o=nl(u),o)i=u;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 u=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let c of u)Ks(c,e,r,n)}}else if(o){if(o.imports!=null&&!a){n.add(i);let c;try{Va(o.imports,l=>{Ks(l,e,r,n)&&(c||=[],c.push(l))})}finally{}c!==void 0&&jd(c,e)}if(!a){let c=wn(i)||(()=>new i);e({provide:i,useFactory:c,deps:Ce},i),e({provide:Ld,useValue:i,multi:!0},i),e({provide:hr,useValue:()=>D(i),multi:!0},i)}let u=o.providers;if(u!=null&&!a){let c=t;ja(u,l=>{e(l,c)})}}else return!1;return i!==t&&t.providers!==void 0}function ja(t,e){for(let r of t)jl(r)&&(r=r.\u0275providers),Array.isArray(r)?ja(r,e):e(r)}var Hm=$({provide:String,useValue:$});function $d(t){return t!==null&&typeof t=="object"&&Hm in t}function zm(t){return!!(t&&t.useExisting)}function Gm(t){return!!(t&&t.useFactory)}function In(t){return typeof t=="function"}function Wm(t){return!!t.useClass}var uo=new w("Set Injector scope."),Ti={},qm={},Ns;function $a(){return Ns===void 0&&(Ns=new $i),Ns}var fe=class{},Ui=class extends fe{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,Xs(e,s=>this.processProvider(s)),this.records.set(kd,gn(void 0,this)),i.has("environment")&&this.records.set(fe,gn(void 0,this));let o=this.records.get(uo);o!=null&&typeof o.value=="string"&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(Ld,Ce,O.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let e=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of e)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(e){return this.assertNotDestroyed(),this._onDestroyHooks.push(e),()=>this.removeOnDestroy(e)}runInContext(e){this.assertNotDestroyed();let r=hn(this),n=Ue(void 0),i;try{return e()}finally{hn(r),Ue(n)}}get(e,r=tr,n=O.Default){if(this.assertNotDestroyed(),e.hasOwnProperty(el))return e[el](this);n=Xi(n);let i,o=hn(this),s=Ue(void 0);try{if(!(n&O.SkipSelf)){let u=this.records.get(e);if(u===void 0){let c=Jm(e)&&Ji(e);c&&this.injectableDefInScope(c)?u=gn(Js(e),Ti):u=null,this.records.set(e,u)}if(u!=null)return this.hydrate(e,u)}let a=n&O.Self?$a():this.parent;return r=n&O.Optional&&r===tr?null:r,a.get(e,r)}catch(a){if(a.name==="NullInjectorError"){if((a[Oi]=a[Oi]||[]).unshift(oe(e)),o)throw a;return Pg(a,e,"R3InjectorError",this.source)}else throw a}finally{Ue(s),hn(o)}}resolveInjectorInitializers(){let e=hn(this),r=Ue(void 0),n;try{let i=this.get(hr,Ce,O.Self);for(let o of i)o()}finally{hn(e),Ue(r)}}toString(){let e=[],r=this.records;for(let n of r.keys())e.push(oe(n));return`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new v(205,!1)}processProvider(e){e=ue(e);let r=In(e)?e:ue(e&&e.provide),n=Ym(e);if(!In(e)&&e.multi===!0){let i=this.records.get(r);i||(i=gn(void 0,Ti,!0),i.factory=()=>Hs(i.multi),this.records.set(r,i)),r=e,i.multi.push(e)}else{let i=this.records.get(r)}this.records.set(r,n)}hydrate(e,r){return r.value===Ti&&(r.value=qm,r.value=r.factory()),typeof r.value=="object"&&r.value&&Km(r.value)&&this._ngOnDestroyHooks.add(r.value),r.value}injectableDefInScope(e){if(!e.providedIn)return!1;let r=ue(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 Js(t){let e=Ji(t),r=e!==null?e.factory:wn(t);if(r!==null)return r;if(t instanceof w)throw new v(204,!1);if(t instanceof Function)return Zm(t);throw new v(204,!1)}function Zm(t){let e=t.length;if(e>0){let n=Pd(e,"?");throw new v(204,!1)}let r=Mg(t);return r!==null?()=>r.factory(t):()=>new t}function Ym(t){if($d(t))return gn(void 0,t.useValue);{let e=Ud(t);return gn(e,Ti)}}function Ud(t,e,r){let n;if(In(t)){let i=ue(t);return wn(i)||Js(i)}else if($d(t))n=()=>ue(t.useValue);else if(Gm(t))n=()=>t.useFactory(...Hs(t.deps||[]));else if(zm(t))n=()=>D(ue(t.useExisting));else{let i=ue(t&&(t.useClass||t.provide));if(Qm(t))n=()=>new i(...Hs(t.deps));else return wn(i)||Js(i)}return n}function gn(t,e,r=!1){return{factory:t,value:e,multi:r?[]:void 0}}function Qm(t){return!!t.deps}function Km(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function Jm(t){return typeof t=="function"||typeof t=="object"&&t instanceof w}function Xs(t,e){for(let r of t)Array.isArray(r)?Xs(r,e):r&&jl(r)?Xs(r.\u0275providers,e):e(r)}function gl(t,e=null,r=null,n){let i=Bd(t,e,r,n);return i.resolveInjectorInitializers(),i}function Bd(t,e=null,r=null,n,i=new Set){let o=[r||Ce,Bm(t)];return n=n||(typeof t=="object"?void 0:oe(t)),new Ui(o,e||$a(),n||null,i)}var bt=(()=>{let e=class e{static create(n,i){if(Array.isArray(n))return gl({name:""},i,n,"");{let o=n.name??"";return gl({name:o},n.parent,n.providers,o)}}};e.THROW_IF_NOT_FOUND=tr,e.NULL=new $i,e.\u0275prov=C({token:e,providedIn:"any",factory:()=>D(kd)}),e.__NG_ELEMENT_ID__=-1;let t=e;return t})();var ea;function Hd(t){ea=t}function zd(){if(ea!==void 0)return ea;if(typeof document<"u")return document;throw new v(210,!1)}var Ua=new w("AppId",{providedIn:"root",factory:()=>Xm}),Xm="ng",Ba=new w("Platform Initializer"),It=new w("Platform ID",{providedIn:"platform",factory:()=>"unknown"});var Ha=new w("CSP nonce",{providedIn:"root",factory:()=>zd().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});function Gd(t){return t instanceof Function?t():t}function Wd(t){return(t.flags&128)===128}var tt=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(tt||{}),ey=/^>|^->||--!>|)/g,ny="\u200B$1\u200B";function ry(t){return t.replace(ey,e=>e.replace(ty,ny))}var qd=new Map,iy=0;function oy(){return iy++}function sy(t){qd.set(t[no],t)}function ay(t){qd.delete(t[no])}var ml="__ngContext__";function Dt(t,e){yt(e)?(t[ml]=e[no],sy(e)):t[ml]=e}var uy;function za(t,e){return uy(t,e)}function Ga(t){let e=t[X];return Pe(e)?e[X]:e}function Zd(t){return Qd(t[ir])}function Yd(t){return Qd(t[Oe])}function Qd(t){for(;t!==null&&!Pe(t);)t=t[Oe];return t}function mn(t,e,r,n,i){if(n!=null){let o,s=!1;Pe(n)?o=n:yt(n)&&(s=!0,n=n[st]);let a=We(n);t===0&&r!==null?i==null?tf(e,r,a):Bi(e,r,a,i||null,!0):t===1&&r!==null?Bi(e,r,a,i||null,!0):t===2?My(e,a,s):t===3&&e.destroyNode(a),o!=null&&Sy(e,t,o,r,i)}}function cy(t,e){return t.createText(e)}function ly(t,e,r){t.setValue(e,r)}function dy(t,e){return t.createComment(ry(e))}function Kd(t,e,r){return t.createElement(e,r)}function fy(t,e){let r=e[Y];pr(t,e,r,2,null,null),e[st]=null,e[ve]=null}function hy(t,e,r,n,i,o){n[st]=i,n[ve]=e,pr(t,n,r,1,i,o)}function py(t,e){pr(t,e,e[Y],2,null,null)}function gy(t){let e=t[ir];if(!e)return Os(t[R],t);for(;e;){let r=null;if(yt(e))r=e[ir];else{let n=e[we];n&&(r=n)}if(!r){for(;e&&!e[Oe]&&e!==t;)yt(e)&&Os(e[R],e),e=e[X];e===null&&(e=t),yt(e)&&Os(e[R],e),r=e&&e[Oe]}e=r}}function my(t,e,r,n){let i=we+n,o=r.length;n>0&&(r[i-1][Oe]=e),n0&&(t[r-1][Oe]=n[Oe]);let o=ji(t,we+e);fy(n[R],n);let s=o[or];s!==null&&s.detachView(o[R]),n[X]=null,n[Oe]=null,n[T]&=-129}return n}function Xd(t,e){if(!(e[T]&256)){let r=e[Y];e[Xn]&&as(e[Xn]),e[er]&&as(e[er]),r.destroyNode&&pr(t,e,r,3,null,null),gy(e)}}function Os(t,e){if(!(e[T]&256)){e[T]&=-129,e[T]|=256,Dy(t,e),vy(t,e),e[R].type===1&&e[Y].destroy();let r=e[to];if(r!==null&&Pe(e[X])){r!==e[X]&&Jd(r,e);let n=e[or];n!==null&&n.detachView(t)}ay(e)}}function vy(t,e){let r=t.cleanup,n=e[rr];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[rr]=null);let i=e[Jn];if(i!==null){e[Jn]=null;for(let o=0;o-1){let{encapsulation:o}=t.data[n.directiveStart+i];if(o===ze.None||o===ze.Emulated)return null}return be(n,r)}}function Bi(t,e,r,n,i){t.insertBefore(e,r,n,i)}function tf(t,e,r){t.appendChild(e,r)}function yl(t,e,r,n,i){n!==null?Bi(t,e,r,n,i):tf(t,e,r)}function wy(t,e,r,n){t.removeChild(e,r,n)}function Wa(t,e){return t.parentNode(e)}function Ey(t,e){return t.nextSibling(e)}function nf(t,e,r){return Iy(t,e,r)}function by(t,e,r){return t.type&40?be(t,r):null}var Iy=by,vl;function co(t,e,r,n){let i=ef(t,n,e),o=e[Y],s=n.parent||e[ve],a=nf(s,n,e);if(i!=null)if(Array.isArray(r))for(let u=0;ut,createScript:t=>t,createScriptURL:t=>t})}catch{}return wi}function lo(t){return Ay()?.createHTML(t)||t}var Ei;function uf(){if(Ei===void 0&&(Ei=null,et.trustedTypes))try{Ei=et.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return Ei}function Dl(t){return uf()?.createHTML(t)||t}function Cl(t){return uf()?.createScriptURL(t)||t}var nt=class{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${$l})`}},ra=class extends nt{getTypeName(){return"HTML"}},ia=class extends nt{getTypeName(){return"Style"}},oa=class extends nt{getTypeName(){return"Script"}},sa=class extends nt{getTypeName(){return"URL"}},aa=class extends nt{getTypeName(){return"ResourceURL"}};function ke(t){return t instanceof nt?t.changingThisBreaksApplicationSecurity:t}function ut(t,e){let r=Ny(t);if(r!=null&&r!==e){if(r==="ResourceURL"&&e==="URL")return!0;throw new Error(`Required a safe ${e}, got a ${r} (see ${$l})`)}return r===e}function Ny(t){return t instanceof nt&&t.getTypeName()||null}function cf(t){return new ra(t)}function lf(t){return new ia(t)}function df(t){return new oa(t)}function ff(t){return new sa(t)}function hf(t){return new aa(t)}function Oy(t){let e=new ca(t);return Ry()?new ua(e):e}var ua=class{constructor(e){this.inertDocumentHelper=e}getInertBodyElement(e){e=""+e;try{let r=new window.DOMParser().parseFromString(lo(e),"text/html").body;return r===null?this.inertDocumentHelper.getInertBodyElement(e):(r.removeChild(r.firstChild),r)}catch{return null}}},ca=class{constructor(e){this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(e){let r=this.inertDocument.createElement("template");return r.innerHTML=lo(e),r}};function Ry(){try{return!!new window.DOMParser().parseFromString(lo(""),"text/html")}catch{return!1}}var Fy=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function fo(t){return t=String(t),t.match(Fy)?t:"unsafe:"+t}function ct(t){let e={};for(let r of t.split(","))e[r]=!0;return e}function gr(...t){let e={};for(let r of t)for(let n in r)r.hasOwnProperty(n)&&(e[n]=!0);return e}var pf=ct("area,br,col,hr,img,wbr"),gf=ct("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),mf=ct("rp,rt"),Py=gr(mf,gf),ky=gr(gf,ct("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),Ly=gr(mf,ct("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),wl=gr(pf,ky,Ly,Py),yf=ct("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Vy=ct("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),jy=ct("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext"),$y=gr(yf,Vy,jy),Uy=ct("script,style,template"),la=class{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(e){let r=e.firstChild,n=!0;for(;r;){if(r.nodeType===Node.ELEMENT_NODE?n=this.startElement(r):r.nodeType===Node.TEXT_NODE?this.chars(r.nodeValue):this.sanitizedSomething=!0,n&&r.firstChild){r=r.firstChild;continue}for(;r;){r.nodeType===Node.ELEMENT_NODE&&this.endElement(r);let i=this.checkClobberedElement(r,r.nextSibling);if(i){r=i;break}r=this.checkClobberedElement(r,r.parentNode)}}return this.buf.join("")}startElement(e){let r=e.nodeName.toLowerCase();if(!wl.hasOwnProperty(r))return this.sanitizedSomething=!0,!Uy.hasOwnProperty(r);this.buf.push("<"),this.buf.push(r);let n=e.attributes;for(let i=0;i"),!0}endElement(e){let r=e.nodeName.toLowerCase();wl.hasOwnProperty(r)&&!pf.hasOwnProperty(r)&&(this.buf.push(""))}chars(e){this.buf.push(El(e))}checkClobberedElement(e,r){if(r&&(e.compareDocumentPosition(r)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`);return r}},By=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Hy=/([^\#-~ |!])/g;function El(t){return t.replace(/&/g,"&").replace(By,function(e){let r=e.charCodeAt(0),n=e.charCodeAt(1);return"&#"+((r-55296)*1024+(n-56320)+65536)+";"}).replace(Hy,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(//g,">")}var bi;function Za(t,e){let r=null;try{bi=bi||Oy(t);let n=e?String(e):"";r=bi.getInertBodyElement(n);let i=5,o=n;do{if(i===0)throw new Error("Failed to sanitize html because the input is unstable");i--,n=o,o=r.innerHTML,r=bi.getInertBodyElement(n)}while(n!==o);let a=new la().sanitizeChildren(bl(r)||r);return lo(a)}finally{if(r){let n=bl(r)||r;for(;n.firstChild;)n.removeChild(n.firstChild)}}}function bl(t){return"content"in t&&zy(t)?t.content:null}function zy(t){return t.nodeType===Node.ELEMENT_NODE&&t.nodeName==="TEMPLATE"}var Le=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}(Le||{});function ho(t){let e=Ya();return e?Dl(e.sanitize(Le.HTML,t)||""):ut(t,"HTML")?Dl(ke(t)):Za(zd(),lr(t))}function Gy(t){let e=Ya();return e?e.sanitize(Le.URL,t)||"":ut(t,"URL")?ke(t):fo(lr(t))}function Wy(t){let e=Ya();if(e)return Cl(e.sanitize(Le.RESOURCE_URL,t)||"");if(ut(t,"ResourceURL"))return Cl(ke(t));throw new v(904,!1)}function qy(t,e){return e==="src"&&(t==="embed"||t==="frame"||t==="iframe"||t==="media"||t==="script")||e==="href"&&(t==="base"||t==="link")?Wy:Gy}function vf(t,e,r){return qy(e,r)(t)}function Ya(){let t=G();return t&&t[Cn].sanitizer}var Zy="h",Yy="b";var Qy=(t,e,r)=>null;function Qa(t,e,r=!1){return Qy(t,e,r)}var da=class{},Hi=class{};function Ky(t){let e=Error(`No component factory found for ${oe(t)}.`);return e[Jy]=t,e}var Jy="ngComponent";var fa=class{resolveComponentFactory(e){throw Ky(e)}},po=(()=>{let e=class e{};e.NULL=new fa;let t=e;return t})();function Xy(){return go(pe(),G())}function go(t,e){return new qe(be(t,e))}var qe=(()=>{let e=class e{constructor(n){this.nativeElement=n}};e.__NG_ELEMENT_ID__=Xy;let t=e;return t})();var sr=class{},Wt=(()=>{let e=class e{constructor(){this.destroyNode=null}};e.__NG_ELEMENT_ID__=()=>ev();let t=e;return t})();function ev(){let t=G(),e=pe(),r=wt(e.index,t);return(yt(r)?r:t)[Y]}var tv=(()=>{let e=class e{};e.\u0275prov=C({token:e,providedIn:"root",factory:()=>null});let t=e;return t})(),Ut=class{constructor(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}},nv=new Ut("17.0.0-rc.1"),Rs={};var rv="ngOriginalError";function Fs(t){return t[rv]}var rt=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&&Fs(e);for(;r&&Fs(r);)r=Fs(r);return r||null}};var ha=class extends re{constructor(e=!1){super(),this.__isAsync=e}emit(e){super.next(e)}subscribe(e,r,n){let i=e,o=r||(()=>null),s=n;if(e&&typeof e=="object"){let u=e;i=u.next?.bind(u),o=u.error?.bind(u),s=u.complete?.bind(u)}this.__isAsync&&(o=Ps(o),i&&(i=Ps(i)),s&&(s=Ps(s)));let a=super.subscribe({next:i,error:o,complete:s});return e instanceof ee&&e.add(a),a}};function Ps(t){return e=>{setTimeout(t,void 0,e)}}var ne=ha;function Il(...t){}function iv(){let t=typeof et.requestAnimationFrame=="function",e=et[t?"requestAnimationFrame":"setTimeout"],r=et[t?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&e&&r){let n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);let i=r[Zone.__symbol__("OriginalDelegate")];i&&(r=i)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:r}}var H=class t{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:n=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ne(!1),this.onMicrotaskEmpty=new ne(!1),this.onStable=new ne(!1),this.onError=new ne(!1),typeof Zone>"u")throw new v(908,!1);Zone.assertZonePatched();let i=this;i._nesting=0,i._outer=i._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(i._inner=i._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(i._inner=i._inner.fork(Zone.longStackTraceZoneSpec)),i.shouldCoalesceEventChangeDetection=!n&&r,i.shouldCoalesceRunChangeDetection=n,i.lastRequestAnimationFrameId=-1,i.nativeRequestAnimationFrame=iv().nativeRequestAnimationFrame,av(i)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get("isAngularZone")===!0}static assertInAngularZone(){if(!t.isInAngularZone())throw new v(909,!1)}static assertNotInAngularZone(){if(t.isInAngularZone())throw new v(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,ov,Il,Il);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)}},ov={};function Ka(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 sv(t){t.isCheckStableRunning||t.lastRequestAnimationFrameId!==-1||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(et,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,pa(t),t.isCheckStableRunning=!0,Ka(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),pa(t))}function av(t){let e=()=>{sv(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(r,n,i,o,s,a)=>{if(uv(a))return r.invokeTask(i,o,s,a);try{return Ml(t),r.invokeTask(i,o,s,a)}finally{(t.shouldCoalesceEventChangeDetection&&o.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&e(),_l(t)}},onInvoke:(r,n,i,o,s,a,u)=>{try{return Ml(t),r.invoke(i,o,s,a,u)}finally{t.shouldCoalesceRunChangeDetection&&e(),_l(t)}},onHasTask:(r,n,i,o)=>{r.hasTask(i,o),n===i&&(o.change=="microTask"?(t._hasPendingMicrotasks=o.microTask,pa(t),Ka(t)):o.change=="macroTask"&&(t.hasPendingMacrotasks=o.macroTask))},onHandleError:(r,n,i,o)=>(r.handleError(i,o),t.runOutsideAngular(()=>t.onError.emit(o)),!1)})}function pa(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.lastRequestAnimationFrameId!==-1?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function Ml(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function _l(t){t._nesting--,Ka(t)}var Df=new w("",{providedIn:"root",factory:Cf});function Cf(){let t=g(H),e=!0,r=new F(i=>{e=t.isStable&&!t.hasPendingMacrotasks&&!t.hasPendingMicrotasks,t.runOutsideAngular(()=>{i.next(e),i.complete()})}),n=new F(i=>{let o;t.runOutsideAngular(()=>{o=t.onStable.subscribe(()=>{H.assertNotInAngularZone(),queueMicrotask(()=>{!e&&!t.hasPendingMacrotasks&&!t.hasPendingMicrotasks&&(e=!0,i.next(!0))})})});let s=t.onUnstable.subscribe(()=>{H.assertInAngularZone(),e&&(e=!1,t.runOutsideAngular(()=>{i.next(!1)}))});return()=>{o.unsubscribe(),s.unsubscribe()}});return Cs(r,n.pipe(fn()))}function uv(t){return!Array.isArray(t)||t.length!==1?!1:t[0].data?.__ignore_ng_zone__===!0}var cv=(()=>{let e=class e{constructor(){this.renderDepth=0,this.handler=null,this.internalCallbacks=[]}begin(){this.handler?.validateBegin(),this.renderDepth++}end(){if(this.renderDepth--,this.renderDepth===0){for(let n of this.internalCallbacks)n();this.internalCallbacks.length=0,this.handler?.execute()}}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 mo(t){for(;t;){t[T]|=64;let e=Ga(t);if(Jg(t)&&!e)return t;t=e}return null}var wf=!1,lv=new w("",{providedIn:"root",factory:()=>wf});var zi=null;function Ef(t,e){return t[e]??Mf()}function bf(t,e){let r=Mf();r.producerNode?.length&&(t[e]=zi,r.lView=t,zi=If())}var dv=k(p({},_c),{consumerIsAlwaysLive:!0,consumerMarkedDirty:t=>{mo(t.lView)},lView:null});function If(){return Object.create(dv)}function Mf(){return zi??=If(),zi}var Tn={};function ge(t){_f(he(),G(),Sn()+t,!1)}function _f(t,e,r,n){if(!n)if((e[T]&3)===3){let o=t.preOrderCheckHooks;o!==null&&_i(e,o,r)}else{let o=t.preOrderHooks;o!==null&&Si(e,o,0,r)}jt(r)}function _(t,e=O.Default){let r=G();if(r===null)return D(t,e);let n=pe();return Nd(n,r,ue(t),e)}function fv(t,e){let r=t.hostBindingOpCodes;if(r===null)return;let n=Ef(e,er);try{for(let i=0;iGe&&_f(t,e,Ge,!1),Be(a?2:0,i);let c=a?o:null,l=os(c);try{c!==null&&(c.dirty=!1),r(n,i)}finally{ss(c,l)}}finally{a&&e[Xn]===null&&bf(e,Xn),jt(s),Be(a?3:1,i)}}function Ja(t,e,r){if(Ta(e)){let n=xe(null);try{let i=e.directiveStart,o=e.directiveEnd;for(let s=i;snull;function vv(t,e,r,n,i,o){let s=e?e.injectorIndex:-1,a=0;return pd()&&(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 Sl(t,e,r,n){for(let i in t)if(t.hasOwnProperty(i)){r=r===null?{}:r;let o=t[i];n===null?Tl(r,e,i,o):n.hasOwnProperty(i)&&Tl(r,e,n[i],o)}return r}function Tl(t,e,r,n){t.hasOwnProperty(r)?t[r].push(e,n):t[r]=[e,n]}function Dv(t,e,r){let n=e.directiveStart,i=e.directiveEnd,o=t.data,s=e.attrs,a=[],u=null,c=null;for(let l=n;l0;){let r=t[--e];if(typeof r=="number"&&r<0)return r}return 0}function Mv(t,e,r,n){let i=r.directiveStart,o=r.directiveEnd;ro(r)&&Ov(e,r,t.data[i+r.componentOffset]),t.firstCreatePass||Vi(r,e),Dt(n,e);let s=r.initialInputs;for(let a=i;a-1&&(ta(e,n),ji(r,n))}this._attachedToViewContainer=!1}Xd(this._lView[R],this._lView)}onDestroy(e){am(this._lView,e)}markForCheck(){mo(this._cdRefInjectingView||this._lView)}detach(){this._lView[T]&=-129}reattach(){fd(this._lView),this._lView[T]|=128}detectChanges(){kf(this._lView[R],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new v(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,py(this._lView[R],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new v(902,!1);this._appRef=e}},ya=class extends Bt{constructor(e){super(e),this._view=e}detectChanges(){let e=this._view,r=e[R],n=e[Re];kf(r,e,n,!1)}checkNoChanges(){}get context(){return null}},qi=class extends po{constructor(e){super(),this.ngModule=e}resolveComponentFactory(e){let r=Lt(e);return new ar(r,this.ngModule)}};function xl(t){let e=[];for(let r in t)if(t.hasOwnProperty(r)){let n=t[r];e.push({propName:n,templateName:r})}return e}function qv(t){let e=t.toLowerCase();return e==="svg"?nm:e==="math"?rm:null}var va=class{constructor(e,r){this.injector=e,this.parentInjector=r}get(e,r,n){n=Xi(n);let i=this.injector.get(e,Rs,n);return i!==Rs||r===Rs?i:this.parentInjector.get(e,r,n)}},ar=class extends Hi{get inputs(){let e=this.componentDef,r=e.inputTransforms,n=xl(e.inputs);if(r!==null)for(let i of n)r.hasOwnProperty(i.propName)&&(i.transform=r[i.propName]);return n}get outputs(){return xl(this.componentDef.outputs)}constructor(e,r){super(),this.componentDef=e,this.ngModule=r,this.componentType=e.type,this.selector=qg(e.selectors),this.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],this.isBoundToModule=!!r}create(e,r,n,i){i=i||this.ngModule;let o=i instanceof fe?i:i?.injector;o&&this.componentDef.getStandaloneInjector!==null&&(o=this.componentDef.getStandaloneInjector(o)||o);let s=o?new va(e,o):e,a=s.get(sr,null);if(a===null)throw new v(407,!1);let u=s.get(tv,null),c=s.get(cv,null),l={rendererFactory:a,sanitizer:u,inlineEffectRunner:null,afterRenderEventManager:c},d=a.createRenderer(null,this.componentDef),f=this.componentDef.selectors[0][0]||"div",h=n?gv(d,n,this.componentDef.encapsulation,s):Kd(d,f,qv(f)),m=4608,M=this.componentDef.onPush?576:528,b=this.componentDef.signals?m:M,y=null;h!==null&&(y=Qa(h,s,!0));let Z=tu(0,null,null,1,0,null,null,null,null,null,null),te=yo(null,Z,null,b,null,null,l,d,s,null,y);Fa(te);let z,Ve;try{let me=this.componentDef,ht,ns=null;me.findHostDirectiveDefs?(ht=[],ns=new Map,me.findHostDirectiveDefs(me,ht,ns),ht.push(me)):ht=[me];let Vp=Zv(te,h),jp=Yv(Vp,h,me,ht,te,l,d);Ve=ld(Z,Ge),h&&Jv(d,me,h,n),r!==void 0&&Xv(Ve,this.ngContentSelectors,r),z=Kv(jp,me,ht,ns,te,[eD]),iu(Z,te,null)}finally{Pa()}return new Da(this.componentType,z,go(Ve,te),te,Ve)}},Da=class extends da{constructor(e,r,n,i,o){super(),this.location=n,this._rootLView=i,this._tNode=o,this.previousInputValues=null,this.instance=r,this.hostView=this.changeDetectorRef=new ya(i),this.componentType=e}setInput(e,r){let n=this._tNode.inputs,i;if(n!==null&&(i=n[e])){if(this.previousInputValues??=new Map,this.previousInputValues.has(e)&&Object.is(this.previousInputValues.get(e),r))return;let o=this._rootLView;ru(o[R],o,i,e,r),this.previousInputValues.set(e,r);let s=wt(this._tNode.index,o);mo(s)}}get injector(){return new kt(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(e){this.hostView.onDestroy(e)}};function Zv(t,e){let r=t[R],n=Ge;return t[n]=e,xn(r,n,2,"#host",null)}function Yv(t,e,r,n,i,o,s){let a=i[R];Qv(n,t,e,s);let u=null;e!==null&&(u=Qa(e,i[Dn]));let c=o.rendererFactory.createRenderer(e,r),l=16;r.signals?l=4096:r.onPush&&(l=64);let d=yo(i,xf(r),null,l,i[t.index],t,o,c,null,null,u);return a.firstCreatePass&&ga(a,t,n.length-1),vo(i,d),i[t.index]=d}function Qv(t,e,r,n){for(let i of t)e.mergedAttrs=nr(e.mergedAttrs,i.hostAttrs);e.mergedAttrs!==null&&(Gi(e,e.mergedAttrs,!0),r!==null&&af(n,r,e))}function Kv(t,e,r,n,i,o){let s=pe(),a=i[R],u=be(s,i);Af(a,i,s,r,null,n);for(let l=0;l0&&sf(t,r,o.join(" "))}}function Xv(t,e,r){let n=t.projection=[];for(let i=0;i=0;n--){let i=t[n];i.hostVars=e+=i.hostVars,i.hostAttrs=nr(i.hostAttrs,r=nr(r,i.hostAttrs))}}function Ii(t){return t===vn?{}:t===Ce?[]:t}function rD(t,e){let r=t.viewQuery;r?t.viewQuery=(n,i)=>{e(n,i),r(n,i)}:t.viewQuery=e}function iD(t,e){let r=t.contentQueries;r?t.contentQueries=(n,i,o)=>{e(n,i,o),r(n,i,o)}:t.contentQueries=e}function oD(t,e){let r=t.hostBindings;r?t.hostBindings=(n,i)=>{e(n,i),r(n,i)}:t.hostBindings=e}function mr(t){let e=t.inputConfig,r={};for(let n in e)if(e.hasOwnProperty(n)){let i=e[n];Array.isArray(i)&&i[2]&&(r[n]=i[2])}t.inputTransforms=r}function Do(t,e,r){let n=t[e];return Object.is(n,r)?!1:(t[e]=r,!0)}function qt(t,e,r,n){let i=G(),o=Ra();if(Do(i,o,e)){let s=he(),a=Ed();Rv(a,i,t,e,r,n)}return qt}function sD(t,e,r,n){return Do(t,Ra(),r)?e+lr(r)+n:Tn}function Mi(t,e){return t<<17|e<<2}function Ht(t){return t>>17&32767}function aD(t){return(t&2)==2}function uD(t,e){return t&131071|e<<17}function Ca(t){return t|2}function Mn(t){return(t&131068)>>2}function ks(t,e){return t&-131069|e<<2}function cD(t){return(t&1)===1}function wa(t){return t|1}function lD(t,e,r,n,i,o){let s=o?e.classBindings:e.styleBindings,a=Ht(s),u=Mn(s);t[n]=r;let c=!1,l;if(Array.isArray(r)){let d=r;l=d[1],(l===null||fr(d,l)>0)&&(c=!0)}else l=r;if(i)if(u!==0){let f=Ht(t[a+1]);t[n+1]=Mi(f,a),f!==0&&(t[f+1]=ks(t[f+1],n)),t[a+1]=uD(t[a+1],n)}else t[n+1]=Mi(a,0),a!==0&&(t[a+1]=ks(t[a+1],n)),a=n;else t[n+1]=Mi(u,0),a===0?a=n:t[u+1]=ks(t[u+1],n),u=n;c&&(t[n+1]=Ca(t[n+1])),Al(t,l,n,!0,o),Al(t,l,n,!1,o),dD(e,l,t,n,o),s=Mi(a,u),o?e.classBindings=s:e.styleBindings=s}function dD(t,e,r,n,i){let o=i?t.residualClasses:t.residualStyles;o!=null&&typeof e=="string"&&fr(o,e)>=0&&(r[n+1]=wa(r[n+1]))}function Al(t,e,r,n,i){let o=t[r+1],s=e===null,a=n?Ht(o):Mn(o),u=!1;for(;a!==0&&(u===!1||s);){let c=t[a],l=t[a+1];fD(c,e)&&(u=!0,t[a+1]=n?wa(l):Ca(l)),a=n?Ht(l):Mn(l)}u&&(t[r+1]=n?Ca(o):wa(o))}function fD(t,e){return t===null||e==null||(Array.isArray(t)?t[1]:t)===e?!0:Array.isArray(t)&&typeof e=="string"?fr(t,e)>=0:!1}function ce(t,e,r){let n=G(),i=Ra();if(Do(n,i,e)){let o=he(),s=Ed();wv(o,s,n,t,e,n[Y],r,!1)}return ce}function Nl(t,e,r,n,i){let o=e.inputs,s=i?"class":"style";ru(t,r,o[s],s,n)}function Co(t,e,r){return Bf(t,e,r,!1),Co}function ou(t,e){return Bf(t,e,null,!0),ou}function Bf(t,e,r,n){let i=G(),o=he(),s=gm(2);if(o.firstUpdatePass&&pD(o,t,s,n),e!==Tn&&Do(i,s,e)){let a=o.data[Sn()];DD(o,a,i,i[Y],t,i[s+1]=CD(e,r),n,s)}}function hD(t,e){return e>=t.expandoStartIndex}function pD(t,e,r,n){let i=t.data;if(i[r+1]===null){let o=i[Sn()],s=hD(t,r);wD(o,n)&&e===null&&!s&&(e=!1),e=gD(i,o,e,n),lD(i,o,e,r,s,n)}}function gD(t,e,r,n){let i=Dm(t),o=n?e.residualClasses:e.residualStyles;if(i===null)(n?e.classBindings:e.styleBindings)===0&&(r=Ls(null,t,e,r,n),r=ur(r,e.attrs,n),o=null);else{let s=e.directiveStylingLast;if(s===-1||t[s]!==i)if(r=Ls(i,t,e,r,n),o===null){let u=mD(t,e,n);u!==void 0&&Array.isArray(u)&&(u=Ls(null,t,e,u[1],n),u=ur(u,e.attrs,n),yD(t,e,n,u))}else o=vD(t,e,n)}return o!==void 0&&(n?e.residualClasses=o:e.residualStyles=o),r}function mD(t,e,r){let n=r?e.classBindings:e.styleBindings;if(Mn(n)!==0)return t[Ht(n)]}function yD(t,e,r,n){let i=r?e.classBindings:e.styleBindings;t[Ht(i)]=n}function vD(t,e,r){let n,i=e.directiveEnd;for(let o=1+e.directiveStylingLast;o0;){let u=t[i],c=Array.isArray(u),l=c?u[1]:u,d=l===null,f=r[i+1];f===Tn&&(f=d?Ce:void 0);let h=d?As(f,n):l===n?f:void 0;if(c&&!Zi(h)&&(h=As(u,n)),Zi(h)&&(a=h,s))return a;let m=t[i+1];i=s?Ht(m):Mn(m)}if(e!==null){let u=o?e.residualClasses:e.residualStyles;u!=null&&(a=As(u,n))}return a}function Zi(t){return t!==void 0}function CD(t,e){return t==null||t===""||(typeof e=="string"?t=t+e:typeof t=="object"&&(t=oe(ke(t)))),t}function wD(t,e){return(t.flags&(e?8:16))!==0}var YT=new RegExp(`^(\\d+)*(${Yy}|${Zy})*(.*)`);var ED=(t,e)=>null;function Rl(t,e){return ED(t,e)}function bD(t,e,r,n){let i=e.tView,s=t[T]&4096?4096:16,a=yo(t,i,r,s,null,e,null,null,null,n?.injector??null,n?.dehydratedView??null),u=t[e.index];a[to]=u;let c=t[or];return c!==null&&(a[or]=c.createEmbeddedView(i)),iu(i,a,r),a}function Fl(t,e){return!e||Wd(t)}function ID(t,e,r,n=!0){let i=e[R];if(my(i,e,t,r),n){let o=na(r,t),s=e[Y],a=Wa(s,t[Vt]);a!==null&&hy(i,t[ve],s,e,a,o)}}var yr=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=MD;let t=e;return t})();function MD(){let t=pe();return SD(t,G())}var _D=yr,Hf=class extends _D{constructor(e,r,n){super(),this._lContainer=e,this._hostTNode=r,this._hostLView=n}get element(){return go(this._hostTNode,this._hostLView)}get injector(){return new kt(this._hostTNode,this._hostLView)}get parentInjector(){let e=ka(this._hostTNode,this._hostLView);if(Md(e)){let r=Li(e,this._hostLView),n=ki(e),i=r[R].data[n+8];return new kt(i,r)}else return new kt(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){let r=Pl(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=Rl(this._lContainer,e.ssrId),a=e.createEmbeddedViewImpl(r||{},o,s);return this.insertImpl(a,i,Fl(this._hostTNode,s)),a}createComponent(e,r,n,i,o){let s=e&&!Vm(e),a;if(s)a=r;else{let m=r||{};a=m.index,n=m.injector,i=m.projectableNodes,o=m.environmentInjector||m.ngModuleRef}let u=s?e:new ar(Lt(e)),c=n||this.parentInjector;if(!o&&u.ngModule==null){let M=(s?c:this.parentInjector).get(fe,null);M&&(o=M)}let l=Lt(u.componentType??{}),d=Rl(this._lContainer,l?.id??null),f=d?.firstChild??null,h=u.create(c,i,f,o);return this.insertImpl(h.hostView,a,Fl(this._hostTNode,d)),h}insert(e,r){return this.insertImpl(e,r,!0)}insertImpl(e,r,n){let i=e._lView;if(im(i)){let a=this.indexOf(e);if(a!==-1)this.detach(a);else{let u=i[X],c=new Hf(u,u[ve],u[X]);c.detach(c.indexOf(e))}}let o=this._adjustIndex(r),s=this._lContainer;return ID(s,i,o,n),e.attachToViewContainerRef(),Fd(Vs(s),o,e),e}move(e,r){return this.insert(e,r)}indexOf(e){let r=Pl(this._lContainer);return r!==null?r.indexOf(e):-1}remove(e){let r=this._adjustIndex(e,-1),n=ta(this._lContainer,r);n&&(ji(Vs(this._lContainer),r),Xd(n[R],n))}detach(e){let r=this._adjustIndex(e,-1),n=ta(this._lContainer,r);return n&&ji(Vs(this._lContainer),r)!=null?new Bt(n):null}_adjustIndex(e,r=0){return e??this.length+r}};function Pl(t){return t[Fi]}function Vs(t){return t[Fi]||(t[Fi]=[])}function SD(t,e){let r,n=e[t.index];return Pe(n)?r=n:(r=Rf(n,e,null,t),e[t.index]=r,vo(e,r)),xD(r,e,t,n),new Hf(r,t,e)}function TD(t,e){let r=t[Y],n=r.createComment(""),i=be(e,t),o=Wa(r,i);return Bi(r,o,n,Ey(r,i),!1),n}var xD=OD,AD=(t,e,r)=>!1;function ND(t,e,r){return AD(t,e,r)}function OD(t,e,r,n){if(t[Vt])return;let i;r.type&8?i=We(n):i=TD(e,r),t[Vt]=i}function RD(t,e,r,n,i,o,s,a,u){let c=e.consts,l=xn(e,t,4,s||null,En(c,a));nu(e,r,l,En(c,u)),ao(e,l);let d=l.tView=tu(2,l,n,i,o,e.directiveRegistry,e.pipeRegistry,null,e.schemas,c,null);return e.queries!==null&&(e.queries.template(e,l),d.queries=e.queries.embeddedTView(l)),l}function wo(t,e,r,n,i,o,s,a){let u=G(),c=he(),l=t+Ge,d=c.firstCreatePass?RD(l,c,u,e,r,n,i,o,s):c.data[l];Gt(d,!1);let f=FD(c,u,d,t);oo()&&co(c,u,f,d),Dt(f,u);let h=Rf(f,u,f,d);return u[l]=h,vo(u,h),ND(h,d,u),io(d)&&Xa(c,u,d),s!=null&&eu(u,d,a),wo}var FD=PD;function PD(t,e,r,n){return so(!0),e[Y].createComment("")}function kD(t,e,r,n,i,o){let s=e.consts,a=En(s,i),u=xn(e,t,2,n,a);return nu(e,r,u,En(s,o)),u.attrs!==null&&Gi(u,u.attrs,!1),u.mergedAttrs!==null&&Gi(u,u.mergedAttrs,!0),e.queries!==null&&e.queries.elementStart(e,u),u}function V(t,e,r,n){let i=G(),o=he(),s=Ge+t,a=i[Y],u=o.firstCreatePass?kD(s,o,i,e,r,n):o.data[s],c=LD(o,i,u,a,e,t);i[s]=c;let l=io(u);return Gt(u,!0),af(a,c,u),(u.flags&32)!==32&&oo()&&co(o,i,c,u),um()===0&&Dt(c,i),cm(),l&&(Xa(o,i,u),Ja(o,u,i)),n!==null&&eu(i,u),V}function j(){let t=pe();Na()?Oa():(t=t.parent,Gt(t,!1));let e=t;dm(e)&&fm(),lm();let r=he();return r.firstCreatePass&&(ao(r,t),Ta(t)&&r.queries.elementEnd(t)),e.classesWithoutHost!=null&&_m(e)&&Nl(r,e,G(),e.classesWithoutHost,!0),e.stylesWithoutHost!=null&&Sm(e)&&Nl(r,e,G(),e.stylesWithoutHost,!1),j}function Ie(t,e,r,n){return V(t,e,r,n),j(),Ie}var LD=(t,e,r,n,i,o)=>(so(!0),Kd(n,i,Em()));function VD(t,e,r,n,i){let o=e.consts,s=En(o,n),a=xn(e,t,8,"ng-container",s);s!==null&&Gi(a,s,!0);let u=En(o,i);return nu(e,r,a,u),e.queries!==null&&e.queries.elementStart(e,a),a}function su(t,e,r){let n=G(),i=he(),o=t+Ge,s=i.firstCreatePass?VD(o,i,n,e,r):i.data[o];Gt(s,!0);let a=jD(i,n,s,t);return n[o]=a,oo()&&co(i,n,a,s),Dt(a,n),io(s)&&(Xa(i,n,s),Ja(i,s,n)),r!=null&&eu(n,s),su}function au(){let t=pe(),e=he();return Na()?Oa():(t=t.parent,Gt(t,!1)),e.firstCreatePass&&(ao(e,t),Ta(t)&&e.queries.elementEnd(t)),au}var jD=(t,e,r,n)=>(so(!0),dy(e[Y],""));var Yi="en-US";var $D=Yi;function UD(t){bg(t,"Expected localeId to be defined"),typeof t=="string"&&($D=t.toLowerCase().replace(/_/g,"-"))}function Zt(t){return!!t&&typeof t.then=="function"}function zf(t){return!!t&&typeof t.subscribe=="function"}function Me(t,e,r,n){let i=G(),o=he(),s=pe();return HD(o,i,i[Y],s,t,e,n),Me}function BD(t,e,r,n){let i=t.cleanup;if(i!=null)for(let o=0;ou?a[u]:null}typeof s=="string"&&(o+=2)}return null}function HD(t,e,r,n,i,o,s){let a=io(n),c=t.firstCreatePass&&Vv(t),l=e[Re],d=Lv(e),f=!0;if(n.type&3||s){let M=be(n,e),b=s?s(M):M,y=d.length,Z=s?z=>s(We(z[n.index])):n.index,te=null;if(!s&&a&&(te=BD(t,e,i,n.index)),te!==null){let z=te.__ngLastListenerFn__||te;z.__ngNextListenerFn__=o,te.__ngLastListenerFn__=o,f=!1}else{o=Ll(n,e,l,o,!1);let z=r.listen(b,i,o);d.push(o,z),c&&c.push(i,Z,y,y+1)}}else o=Ll(n,e,l,o,!1);let h=n.outputs,m;if(f&&h!==null&&(m=h[i])){let M=m.length;if(M)for(let b=0;b-1?wt(t.index,e):e;mo(a);let u=kl(e,r,n,s),c=o.__ngNextListenerFn__;for(;c;)u=kl(e,r,c,s)&&u,c=c.__ngNextListenerFn__;return i&&u===!1&&s.preventDefault(),u}}function vr(t=1){return wm(t)}function zD(t,e){let r=null,n=Bg(t);for(let i=0;i(so(!0),cy(e[Y],n));function uu(t){return qf("",t,""),uu}function qf(t,e,r){let n=G(),i=sD(n,t,e,r);return i!==Tn&&jv(n,Sn(),i),qf}function WD(t,e,r){let n=he();if(n.firstCreatePass){let i=vt(t);Ea(r,n.data,n.blueprint,i,!0),Ea(e,n.data,n.blueprint,i,!1)}}function Ea(t,e,r,n,i){if(t=ue(t),Array.isArray(t))for(let o=0;o>20;if(In(t)||!t.multi){let h=new $t(c,i,_),m=$s(u,e,i?l:l+f,d);m===-1?(Ys(Vi(a,s),o,u),js(o,t,e.length),e.push(u),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),r.push(h),s.push(h)):(r[m]=h,s[m]=h)}else{let h=$s(u,e,l+f,d),m=$s(u,e,l,l+f),M=h>=0&&r[h],b=m>=0&&r[m];if(i&&!b||!i&&!M){Ys(Vi(a,s),o,u);let y=YD(i?ZD:qD,r.length,i,n,c);!i&&b&&(r[m].providerFactory=y),js(o,t,e.length,0),e.push(u),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),r.push(y),s.push(y)}else{let y=Zf(r[i?m:h],c,!i&&n);js(o,t,h>-1?h:m,y)}!i&&n&&b&&r[m].componentProviders++}}}function js(t,e,r,n){let i=In(e),o=Wm(e);if(i||o){let u=(o?ue(e.useClass):e).prototype.ngOnDestroy;if(u){let c=t.destroyHooks||(t.destroyHooks=[]);if(!i&&e.multi){let l=c.indexOf(r);l===-1?c.push(r,[n,u]):c[l+1].push(n,u)}else c.push(r,u)}}}function Zf(t,e,r){return r&&t.componentProviders++,t.multi.push(e)-1}function $s(t,e,r,n){for(let i=r;i{r.providersResolver=(n,i)=>WD(n,i?i(t):t,e)}}var Ct=class{},cr=class{};var Ia=class extends Ct{constructor(e,r,n){super(),this._parent=r,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new qi(this);let i=ed(e);this._bootstrapComponents=Gd(i.bootstrap),this._r3Injector=Bd(e,r,[{provide:Ct,useValue:this},{provide:po,useValue:this.componentFactoryResolver},...n],oe(e),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(e)}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)}},Ma=class extends cr{constructor(e){super(),this.moduleType=e}create(e){return new Ia(this.moduleType,e,[])}};var Qi=class extends Ct{constructor(e){super(),this.componentFactoryResolver=new qi(this),this.instance=null;let r=new Ui([...e.providers,{provide:Ct,useValue:this},{provide:po,useValue:this.componentFactoryResolver}],e.parent||$a(),e.debugName,new Set(["environment"]));this.injector=r,e.runEnvironmentInitializers&&r.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}};function cu(t,e,r=null){return new Qi({providers:t,parent:e,debugName:r,runEnvironmentInitializers:!0}).injector}var QD=(()=>{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=Vd(!1,n.type),o=i.length>0?cu([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(D(fe))});let t=e;return t})();function _e(t){t.getStandaloneInjector=e=>e.get(QD).getOrCreateStandaloneInjector(t)}var Cr=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=XD;let t=e;return t})(),KD=Cr,JD=class extends KD{constructor(e,r,n){super(),this._declarationLView=e,this._declarationTContainer=r,this.elementRef=n}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(e,r){return this.createEmbeddedViewImpl(e,r)}createEmbeddedViewImpl(e,r,n){let i=bD(this._declarationLView,this._declarationTContainer,e,{injector:r,dehydratedView:n});return new Bt(i)}};function XD(){return eC(pe(),G())}function eC(t,e){return t.type&4?new JD(e,t,go(t,e)):null}var Yf=new w("Application Initializer"),Qf=(()=>{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=g(Yf,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let s=o();if(Zt(s))n.push(s);else if(zf(s)){let a=new Promise((u,c)=>{s.subscribe({complete:u,error:c})});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})(),Eo=(()=>{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})();function tC(){return typeof $localize<"u"&&$localize.locale||Yi}var lu=new w("LocaleId",{providedIn:"root",factory:()=>g(lu,O.Optional|O.SkipSelf)||tC()});var wr=(()=>{let e=class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Q(!1)}add(){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.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),_a=class{constructor(e,r){this.ngModuleFactory=e,this.componentFactories=r}},du=(()=>{let e=class e{compileModuleSync(n){return new Ma(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let i=this.compileModuleSync(n),o=ed(n),s=Gd(o.declarations).reduce((a,u)=>{let c=Lt(u);return c&&a.push(new ar(c)),a},[]);return new _a(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 Kf=new w("");var Ai=null;var Jf=new w("PlatformDestroyListeners"),bo=new w("appBootstrapListener");function nC(){Tc(()=>{throw new v(600,!1)})}function rC(t){return t.isBoundToModule}function iC(t=[]){if(Ai)return Ai;let e=sC(t);return Ai=e,nC(),oC(e),e}function oC(t){t.get(Ba,null)?.forEach(r=>r())}function Xf(t){try{let{rootComponent:e,appProviders:r,platformProviders:n}=t,i=iC(n),o=[fC(),...r||[]],a=new Qi({providers:o,parent:i,debugName:"",runEnvironmentInitializers:!1}).injector,u=a.get(H);return u.run(()=>{a.resolveInjectorInitializers();let c=a.get(rt,null),l;u.runOutsideAngular(()=>{l=u.onError.subscribe({next:h=>{c.handleError(h)}})});let d=()=>a.destroy(),f=i.get(Jf);return f.add(d),a.onDestroy(()=>{l.unsubscribe(),f.delete(d)}),uC(c,u,()=>{let h=a.get(Qf);return h.runInitializers(),h.donePromise.then(()=>{let m=a.get(lu,Yi);UD(m||Yi);let M=a.get(Nn);return e!==void 0&&M.bootstrap(e),M})})})}catch(e){return Promise.reject(e)}}function sC(t=[],e){return bt.create({name:e,providers:[{provide:uo,useValue:"platform"},{provide:Jf,useValue:new Set([()=>Ai=null])},...t]})}function aC(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}function uC(t,e,r){try{let n=r();return Zt(n)?n.catch(i=>{throw e.runOutsideAngular(()=>t.handleError(i)),i}):n}catch(n){throw e.runOutsideAngular(()=>t.handleError(n)),n}}var Nn=(()=>{let e=class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=g(eh),this.zoneIsStable=g(Df),this.componentTypes=[],this.components=[],this.isStable=g(wr).hasPendingTasks.pipe(ae(n=>n?E(!1):this.zoneIsStable),Es(),fn()),this._injector=g(fe)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,i){let o=n instanceof Hi;if(!this._injector.get(Qf).done){let m="Cannot bootstrap as there are still asynchronous initializers running."+(!o&&Xl(n)?"":" Bootstrap components in the `ngDoBootstrap` method of the root module.");throw new v(405,!1)}let a;o?a=n:a=this._injector.get(po).resolveComponentFactory(n),this.componentTypes.push(a.componentType);let u=rC(a)?void 0:this._injector.get(Ct),c=i||a.selector,l=a.create(bt.NULL,[],c,u),d=l.location.nativeElement,f=l.injector.get(Kf,null);return f?.registerApplication(d),l.onDestroy(()=>{this.detachView(l.hostView),Us(this.components,l),f?.unregisterApplication(d)}),this._loadComponent(l),l}tick(){if(this._runningTick)throw new v(101,!1);try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this.internalErrorHandler(n)}finally{this._runningTick=!1}}attachView(n){let i=n;this._views.push(i),i.attachToAppRef(this)}detachView(n){let i=n;Us(this._views,i),i.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);let i=this._injector.get(bo,[]);[...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),()=>Us(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new v(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 Us(t,e){let r=t.indexOf(e);r>-1&&t.splice(r,1)}var eh=new w("",{providedIn:"root",factory:()=>g(rt).handleError.bind(void 0)});function cC(){let t=g(H),e=g(rt);return r=>t.runOutsideAngular(()=>e.handleError(r))}var lC=(()=>{let e=class e{constructor(){this.zone=g(H),this.applicationRef=g(Nn)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{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})();function dC(t){return[{provide:H,useFactory:t},{provide:hr,multi:!0,useFactory:()=>{let e=g(lC,{optional:!0});return()=>e.initialize()}},{provide:eh,useFactory:cC},{provide:Df,useFactory:Cf}]}function fC(t){let e=dC(()=>new H(aC(t)));return Et([[],e])}var Mt=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=hC;let t=e;return t})();function hC(t){return pC(pe(),G(),(t&16)===16)}function pC(t,e,r){if(ro(t)&&!r){let n=wt(t.index,e);return new Bt(n,n)}else if(t.type&47){let n=e[Fe];return new Bt(n,e)}return null}function Ze(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function fu(t,e=NaN){return!isNaN(parseFloat(t))&&!isNaN(Number(t))?Number(t):e}var hu=null;function dt(){return hu}function ih(t){hu||(hu=t)}var Io=class{},q=new w("DocumentToken"),gu=(()=>{let e=class e{historyGo(n){throw new Error("Not implemented")}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=C({token:e,factory:()=>(()=>g(gC))(),providedIn:"platform"});let t=e;return t})();var gC=(()=>{let e=class e extends gu{constructor(){super(),this._doc=g(q),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return dt().getBaseHref(this._doc)}onPopState(n){let i=dt().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",n,!1),()=>i.removeEventListener("popstate",n)}onHashChange(n){let i=dt().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 mu(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 th(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 lt(t){return t&&t[0]!=="?"?"?"+t:t}var _t=(()=>{let e=class e{historyGo(n){throw new Error("Not implemented")}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=C({token:e,factory:()=>(()=>g(sh))(),providedIn:"root"});let t=e;return t})(),oh=new w("appBaseHref"),sh=(()=>{let e=class e extends _t{constructor(n,i){super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??g(q).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return mu(this._baseHref,n)}path(n=!1){let i=this._platformLocation.pathname+lt(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${i}${o}`:i}pushState(n,i,o,s){let a=this.prepareExternalUrl(o+lt(s));this._platformLocation.pushState(n,i,a)}replaceState(n,i,o,s){let a=this.prepareExternalUrl(o+lt(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)(D(gu),D(oh,8))},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),ah=(()=>{let e=class e extends _t{constructor(n,i){super(),this._platformLocation=n,this._baseHref="",this._removeListenerFns=[],i!=null&&(this._baseHref=i)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}path(n=!1){let i=this._platformLocation.hash;return i==null&&(i="#"),i.length>0?i.substring(1):i}prepareExternalUrl(n){let i=mu(this._baseHref,n);return i.length>0?"#"+i:i}pushState(n,i,o,s){let a=this.prepareExternalUrl(o+lt(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.pushState(n,i,a)}replaceState(n,i,o,s){let a=this.prepareExternalUrl(o+lt(s));a.length==0&&(a=this._platformLocation.pathname),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)(D(gu),D(oh,8))},e.\u0275prov=C({token:e,factory:e.\u0275fac});let t=e;return t})(),Er=(()=>{let e=class e{constructor(n){this._subject=new ne,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=n;let i=this._locationStrategy.getBaseHref();this._basePath=vC(th(nh(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+lt(i))}normalize(n){return e.stripTrailingSlash(yC(this._basePath,nh(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+lt(i)),o)}replaceState(n,i="",o=null){this._locationStrategy.replaceState(o,"",n,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+lt(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._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=lt,e.joinWithSlash=mu,e.stripTrailingSlash=th,e.\u0275fac=function(i){return new(i||e)(D(_t))},e.\u0275prov=C({token:e,factory:()=>mC(),providedIn:"root"});let t=e;return t})();function mC(){return new Er(D(_t))}function yC(t,e){if(!t||!e.startsWith(t))return e;let r=e.substring(t.length);return r===""||["/",";","?","#"].includes(r[0])?r:e}function nh(t){return t.replace(/\/index.html$/,"")}function vC(t){if(new RegExp("^(https?:)?//").test(t)){let[,r]=t.split(/\/\/[^\/]+/);return r}return t}function Mo(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 uh=(()=>{let e=class e{constructor(n,i){this._viewContainer=n,this._context=new pu,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=i}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){rh("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){rh("ngIfElse",n),this._elseTemplateRef=n,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(n,i){return!0}};e.\u0275fac=function(i){return new(i||e)(_(yr),_(Cr))},e.\u0275dir=ye({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0});let t=e;return t})(),pu=class{constructor(){this.$implicit=null,this.ngIf=null}};function rh(t,e){if(!!!(!e||e.createEmbeddedView))throw new Error(`${t} must be a TemplateRef, but received '${oe(e)}'.`)}var ch="browser",DC="server";function yu(t){return t===DC}var On=class{};var Ir=class{},So=class{},Yt=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 Du=class{encodeKey(e){return dh(e)}encodeValue(e){return dh(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}};function EC(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))],u=r.get(s)||[];u.push(a),r.set(s,u)}),r}var bC=/%(\d[a-f0-9])/gi,IC={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function dh(t){return encodeURIComponent(t).replace(bC,(e,r)=>IC[r]??e)}function _o(t){return`${t}`}var St=class t{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new Du,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=EC(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(_o):[_o(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(_o(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(_o(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 Cu=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 MC(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function fh(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function hh(t){return typeof Blob<"u"&&t instanceof Blob}function ph(t){return typeof FormData<"u"&&t instanceof FormData}function _C(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}var br=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(MC(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||(this.headers=new Yt),this.context||(this.context=new Cu),!this.params)this.params=new St,this.urlWithParams=r;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=r;else{let a=r.indexOf("?"),u=a===-1?"?":ad.set(f,e.setHeaders[f]),u)),e.setParams&&(c=Object.keys(e.setParams).reduce((d,f)=>d.set(f,e.setParams[f]),c)),new t(r,n,o,{params:c,headers:u,context:l,reportProgress:a,responseType:i,withCredentials:s})}},Rn=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}(Rn||{}),Mr=class{constructor(e,r=200,n="OK"){this.headers=e.headers||new Yt,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}},wu=class t extends Mr{constructor(e={}){super(e),this.type=Rn.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})}},To=class t extends Mr{constructor(e={}){super(e),this.type=Rn.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})}},xo=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}};function vu(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 br)s=n;else{let c;o.headers instanceof Yt?c=o.headers:c=new Yt(o.headers);let l;o.params&&(o.params instanceof St?l=o.params:l=new St({fromObject:o.params})),s=new br(n,i,o.body!==void 0?o.body:null,{headers:c,context:o.context,params:l,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache})}let a=E(s).pipe(gt(c=>this.handler.handle(c)));if(n instanceof br||o.observe==="events")return a;let u=a.pipe(ie(c=>c instanceof To));switch(o.observe||"body"){case"body":switch(s.responseType){case"arraybuffer":return u.pipe(x(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return c.body}));case"blob":return u.pipe(x(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new Error("Response is not a Blob.");return c.body}));case"text":return u.pipe(x(c=>{if(c.body!==null&&typeof c.body!="string")throw new Error("Response is not a string.");return c.body}));case"json":default:return u.pipe(x(c=>c.body))}case"response":return u;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 St().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,vu(o,i))}post(n,i,o={}){return this.request("POST",n,vu(o,i))}put(n,i,o={}){return this.request("PUT",n,vu(o,i))}};e.\u0275fac=function(i){return new(i||e)(D(Ir))},e.\u0275prov=C({token:e,factory:e.\u0275fac});let t=e;return t})();function TC(t,e){return e(t)}function xC(t,e,r){return(n,i)=>r.runInContext(()=>e(n,o=>t(o,i)))}var yh=new w(""),AC=new w(""),NC=new w("");var gh=(()=>{let e=class e extends Ir{constructor(n,i){super(),this.backend=n,this.injector=i,this.chain=null,this.pendingTasks=g(wr);let o=g(NC,{optional:!0});this.backend=o??n}handle(n){if(this.chain===null){let o=Array.from(new Set([...this.injector.get(yh),...this.injector.get(AC,[])]));this.chain=o.reduceRight((s,a)=>xC(s,a,this.injector),TC)}let i=this.pendingTasks.add();return this.chain(n,o=>this.backend.handle(o)).pipe(Pt(()=>this.pendingTasks.remove(i)))}};e.\u0275fac=function(i){return new(i||e)(D(So),D(fe))},e.\u0275prov=C({token:e,factory:e.\u0275fac});let t=e;return t})();var OC=/^\)\]\}',?\n/;function RC(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}var mh=(()=>{let e=class e{constructor(n){this.xhrFactory=n}handle(n){if(n.method==="JSONP")throw new v(-2800,!1);let i=this.xhrFactory;return(i.\u0275loadImpl?B(i.\u0275loadImpl()):E(null)).pipe(ae(()=>new F(s=>{let a=i.build();if(a.open(n.method,n.urlWithParams),n.withCredentials&&(a.withCredentials=!0),n.headers.forEach((b,y)=>a.setRequestHeader(b,y.join(","))),n.headers.has("Accept")||a.setRequestHeader("Accept","application/json, text/plain, */*"),!n.headers.has("Content-Type")){let b=n.detectContentTypeHeader();b!==null&&a.setRequestHeader("Content-Type",b)}if(n.responseType){let b=n.responseType.toLowerCase();a.responseType=b!=="json"?b:"text"}let u=n.serializeBody(),c=null,l=()=>{if(c!==null)return c;let b=a.statusText||"OK",y=new Yt(a.getAllResponseHeaders()),Z=RC(a)||n.url;return c=new wu({headers:y,status:a.status,statusText:b,url:Z}),c},d=()=>{let{headers:b,status:y,statusText:Z,url:te}=l(),z=null;y!==204&&(z=typeof a.response>"u"?a.responseText:a.response),y===0&&(y=z?200:0);let Ve=y>=200&&y<300;if(n.responseType==="json"&&typeof z=="string"){let me=z;z=z.replace(OC,"");try{z=z!==""?JSON.parse(z):null}catch(ht){z=me,Ve&&(Ve=!1,z={error:ht,text:z})}}Ve?(s.next(new To({body:z,headers:b,status:y,statusText:Z,url:te||void 0})),s.complete()):s.error(new xo({error:z,headers:b,status:y,statusText:Z,url:te||void 0}))},f=b=>{let{url:y}=l(),Z=new xo({error:b,status:a.status||0,statusText:a.statusText||"Unknown Error",url:y||void 0});s.error(Z)},h=!1,m=b=>{h||(s.next(l()),h=!0);let y={type:Rn.DownloadProgress,loaded:b.loaded};b.lengthComputable&&(y.total=b.total),n.responseType==="text"&&a.responseText&&(y.partialText=a.responseText),s.next(y)},M=b=>{let y={type:Rn.UploadProgress,loaded:b.loaded};b.lengthComputable&&(y.total=b.total),s.next(y)};return a.addEventListener("load",d),a.addEventListener("error",f),a.addEventListener("timeout",f),a.addEventListener("abort",f),n.reportProgress&&(a.addEventListener("progress",m),u!==null&&a.upload&&a.upload.addEventListener("progress",M)),a.send(u),s.next({type:Rn.Sent}),()=>{a.removeEventListener("error",f),a.removeEventListener("abort",f),a.removeEventListener("load",d),a.removeEventListener("timeout",f),n.reportProgress&&(a.removeEventListener("progress",m),u!==null&&a.upload&&a.upload.removeEventListener("progress",M)),a.readyState!==a.DONE&&a.abort()}})))}};e.\u0275fac=function(i){return new(i||e)(D(On))},e.\u0275prov=C({token:e,factory:e.\u0275fac});let t=e;return t})(),vh=new w("XSRF_ENABLED"),FC="XSRF-TOKEN",PC=new w("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>FC}),kC="X-XSRF-TOKEN",LC=new w("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>kC}),Ao=class{},VC=(()=>{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=Mo(n,this.cookieName),this.lastCookieString=n),this.lastToken}};e.\u0275fac=function(i){return new(i||e)(D(q),D(It),D(PC))},e.\u0275prov=C({token:e,factory:e.\u0275fac});let t=e;return t})();function jC(t,e){let r=t.url.toLowerCase();if(!g(vh)||t.method==="GET"||t.method==="HEAD"||r.startsWith("http://")||r.startsWith("https://"))return e(t);let n=g(Ao).getToken(),i=g(LC);return n!=null&&!t.headers.has(i)&&(t=t.clone({headers:t.headers.set(i,n)})),e(t)}function Dh(...t){let e=[SC,mh,gh,{provide:Ir,useExisting:gh},{provide:So,useExisting:mh},{provide:yh,useValue:jC,multi:!0},{provide:vh,useValue:!0},{provide:Ao,useClass:VC}];for(let r of t)e.push(...r.\u0275providers);return Et(e)}var Iu=class extends Io{constructor(){super(...arguments),this.supportsDOMEvents=!0}},Mu=class t extends Iu{static makeCurrent(){ih(new t)}onAndCancel(e,r,n){return e.addEventListener(r,n),()=>{e.removeEventListener(r,n)}}dispatchEvent(e,r){e.dispatchEvent(r)}remove(e){e.parentNode&&e.parentNode.removeChild(e)}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=UC();return r==null?null:BC(r)}resetBaseElement(){_r=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return Mo(document.cookie,e)}},_r=null;function UC(){return _r=_r||document.querySelector("base"),_r?_r.getAttribute("href"):null}var No;function BC(t){No=No||document.createElement("a"),No.setAttribute("href",t);let e=No.pathname;return e.charAt(0)==="/"?e:`/${e}`}var HC=(()=>{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})(),_u=new w("EventManagerPlugins"),bh=(()=>{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 v(5101,!1);return this._eventNameToPlugin.set(n,i),i}};e.\u0275fac=function(i){return new(i||e)(D(_u),D(H))},e.\u0275prov=C({token:e,factory:e.\u0275fac});let t=e;return t})(),Oo=class{constructor(e){this._doc=e}},Eu="ng-app-id",Ih=(()=>{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=yu(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[${Eu}="${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(Eu),s;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=i,this.platformIsServer&&a.setAttribute(Eu,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)(D(q),D(Ua),D(Ha,8),D(It))},e.\u0275prov=C({token:e,factory:e.\u0275fac});let t=e;return t})(),bu={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},Tu=/%COMP%/g,Mh="%COMP%",zC=`_nghost-${Mh}`,GC=`_ngcontent-${Mh}`,WC=!0,qC=new w("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>WC});function ZC(t){return GC.replace(Tu,t)}function YC(t){return zC.replace(Tu,t)}function _h(t,e){return e.map(r=>r.replace(Tu,t))}var Ch=(()=>{let e=class e{constructor(n,i,o,s,a,u,c,l=null){this.eventManager=n,this.sharedStylesHost=i,this.appId=o,this.removeStylesOnCompDestroy=s,this.doc=a,this.platformId=u,this.ngZone=c,this.nonce=l,this.rendererByCompId=new Map,this.platformIsServer=yu(u),this.defaultRenderer=new Sr(n,a,c,this.platformIsServer)}createRenderer(n,i){if(!n||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===ze.ShadowDom&&(i=k(p({},i),{encapsulation:ze.Emulated}));let o=this.getOrCreateRenderer(n,i);return o instanceof Ro?o.applyToHost(n):o instanceof Tr&&o.applyStyles(),o}getOrCreateRenderer(n,i){let o=this.rendererByCompId,s=o.get(i.id);if(!s){let a=this.doc,u=this.ngZone,c=this.eventManager,l=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,f=this.platformIsServer;switch(i.encapsulation){case ze.Emulated:s=new Ro(c,l,i,this.appId,d,a,u,f);break;case ze.ShadowDom:return new Su(c,l,n,i,a,u,this.nonce,f);default:s=new Tr(c,l,i,d,a,u,f);break}o.set(i.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}};e.\u0275fac=function(i){return new(i||e)(D(bh),D(Ih),D(Ua),D(qC),D(q),D(It),D(H),D(Ha))},e.\u0275prov=C({token:e,factory:e.\u0275fac});let t=e;return t})(),Sr=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(bu[r]||r,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,r){(wh(e)?e.content:e).appendChild(r)}insertBefore(e,r,n){e&&(wh(e)?e.content:e).insertBefore(r,n)}removeChild(e,r){e&&e.removeChild(r)}selectRootElement(e,r){let n=typeof e=="string"?this.doc.querySelector(e):e;if(!n)throw new v(-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=bu[i];o?e.setAttributeNS(o,r,n):e.setAttribute(r,n)}else e.setAttribute(r,n)}removeAttribute(e,r,n){if(n){let i=bu[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&(tt.DashCase|tt.Important)?e.style.setProperty(r,n,i&tt.Important?"important":""):e.style[r]=n}removeStyle(e,r,n){n&tt.DashCase?e.style.removeProperty(r):e.style[r]=""}setProperty(e,r,n){e[r]=n}setValue(e,r){e.nodeValue=r}listen(e,r,n){if(typeof e=="string"&&(e=dt().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 wh(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var Su=class extends Sr{constructor(e,r,n,i,o,s,a,u){super(e,o,s,u),this.sharedStylesHost=r,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let c=_h(i.id,i.styles);for(let l of c){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(this.nodeOrShadowRoot(e),r)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Tr=class extends Sr{constructor(e,r,n,i,o,s,a,u){super(e,o,s,a),this.sharedStylesHost=r,this.removeStylesOnCompDestroy=i,this.styles=u?_h(u,n.styles):n.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},Ro=class extends Tr{constructor(e,r,n,i,o,s,a,u){let c=i+"-"+n.id;super(e,r,n,o,s,a,u,c),this.contentAttr=ZC(c),this.hostAttr=YC(c)}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}},QC=(()=>{let e=class e extends Oo{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)(D(q))},e.\u0275prov=C({token:e,factory:e.\u0275fac});let t=e;return t})(),Eh=["alt","control","meta","shift"],KC={"\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"},JC={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},XC=(()=>{let e=class e extends Oo{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(()=>dt().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="",u=i.indexOf("code");if(u>-1&&(i.splice(u,1),a="code."),Eh.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 c={};return c.domEventName=o,c.fullKey=a,c}static matchEventFullKeyCode(n,i){let o=KC[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"),Eh.forEach(a=>{if(a!==o){let u=JC[a];u(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)(D(q))},e.\u0275prov=C({token:e,factory:e.\u0275fac});let t=e;return t})();function Sh(t,e){return Xf(p({rootComponent:t},ew(e)))}function ew(t){return{appProviders:[...ow,...t?.providers??[]],platformProviders:iw}}function tw(){Mu.makeCurrent()}function nw(){return new rt}function rw(){return Hd(document),document}var iw=[{provide:It,useValue:ch},{provide:Ba,useValue:tw,multi:!0},{provide:q,useFactory:rw,deps:[]}];var ow=[{provide:uo,useValue:"root"},{provide:rt,useFactory:nw,deps:[]},{provide:_u,useClass:QC,multi:!0,deps:[q,H,It]},{provide:_u,useClass:XC,multi:!0,deps:[q]},Ch,Ih,bh,{provide:sr,useExisting:Ch},{provide:On,useClass:HC,deps:[]},[]];function sw(){return new xu(D(q))}var xu=(()=>{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)(D(q))},e.\u0275prov=C({token:e,factory:function(i){let o=null;return i?o=new i:o=sw(),o},providedIn:"root"});let t=e;return t})();var xr=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=C({token:e,factory:function(i){let o=null;return i?o=new(i||e):o=D(Th),o},providedIn:"root"});let t=e;return t})();function aw(t){return new Th(t.get(q))}var Th=(()=>{let e=class e extends xr{constructor(n){super(),this._doc=n}sanitize(n,i){if(i==null)return null;switch(n){case Le.NONE:return i;case Le.HTML:return ut(i,"HTML")?ke(i):Za(this._doc,String(i)).toString();case Le.STYLE:return ut(i,"Style")?ke(i):i;case Le.SCRIPT:if(ut(i,"Script"))return ke(i);throw new v(5200,!1);case Le.URL:return ut(i,"URL")?ke(i):fo(String(i));case Le.RESOURCE_URL:if(ut(i,"ResourceURL"))return ke(i);throw new v(5201,!1);default:throw new v(5202,!1)}}bypassSecurityTrustHtml(n){return cf(n)}bypassSecurityTrustStyle(n){return lf(n)}bypassSecurityTrustScript(n){return df(n)}bypassSecurityTrustUrl(n){return ff(n)}bypassSecurityTrustResourceUrl(n){return hf(n)}};e.\u0275fac=function(i){return new(i||e)(D(q))},e.\u0275prov=C({token:e,factory:function(i){let o=null;return i?o=new i:o=aw(D(bt)),o},providedIn:"root"});let t=e;return t})();var S="primary",zr=Symbol("RouteTitle"),Pu=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 Pu(t)}function uw(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 kh(t){return t.length>0?t[t.length-1]:null}function Nt(t){return vs(t)?t:Zt(t)?B(Promise.resolve(t)):E(t)}var lw={exact:Vh,subset:jh},Lh={exact:dw,subset:fw,ignored:()=>!0};function xh(t,e,r){return lw[r.paths](t.root,e.root,r.matrixParams)&&Lh[r.queryParams](t.queryParams,e.queryParams)&&!(r.fragment==="exact"&&t.fragment!==e.fragment)}function dw(t,e){return Ye(t,e)}function Vh(t,e,r){if(!Kt(t.segments,e.segments)||!ko(t.segments,e.segments,r)||t.numberOfChildren!==e.numberOfChildren)return!1;for(let n in e.children)if(!t.children[n]||!Vh(t.children[n],e.children[n],r))return!1;return!0}function fw(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(r=>Ph(t[r],e[r]))}function jh(t,e,r){return $h(t,e,e.segments,r)}function $h(t,e,r,n){if(t.segments.length>r.length){let i=t.segments.slice(0,r.length);return!(!Kt(i,r)||e.hasChildren()||!ko(i,r,n))}else if(t.segments.length===r.length){if(!Kt(t.segments,r)||!ko(t.segments,r,n))return!1;for(let i in e.children)if(!t.children[i]||!jh(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!Kt(t.segments,i)||!ko(t.segments,i,n)||!t.children[S]?!1:$h(t.children[S],e,o,n)}}function ko(t,e,r){return e.every((n,i)=>Lh[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||(this._queryParamMap=Vn(this.queryParams)),this._queryParamMap}toString(){return gw.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 Lo(this)}},Qt=class{constructor(e,r){this.path=e,this.parameters=r}get parameterMap(){return this._parameterMap||(this._parameterMap=Vn(this.parameters)),this._parameterMap}toString(){return Bh(this)}};function hw(t,e){return Kt(t,e)&&t.every((r,n)=>Ye(r.parameters,e[n].parameters))}function Kt(t,e){return t.length!==e.length?!1:t.every((r,n)=>r.path===e[n].path)}function pw(t,e){let r=[];return Object.entries(t.children).forEach(([n,i])=>{n===S&&(r=r.concat(e(i,n)))}),Object.entries(t.children).forEach(([n,i])=>{n!==S&&(r=r.concat(e(i,n)))}),r}var ac=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=C({token:e,factory:()=>(()=>new jo)(),providedIn:"root"});let t=e;return t})(),jo=class{parse(e){let r=new Vu(e);return new Tt(r.parseRootSegment(),r.parseQueryParams(),r.parseFragment())}serialize(e){let r=`/${Ar(e.root,!0)}`,n=vw(e.queryParams),i=typeof e.fragment=="string"?`#${mw(e.fragment)}`:"";return`${r}${n}${i}`}},gw=new jo;function Lo(t){return t.segments.map(e=>Bh(e)).join("/")}function Ar(t,e){if(!t.hasChildren())return Lo(t);if(e){let r=t.children[S]?Ar(t.children[S],!1):"",n=[];return Object.entries(t.children).forEach(([i,o])=>{i!==S&&n.push(`${i}:${Ar(o,!1)}`)}),n.length>0?`${r}(${n.join("//")})`:r}else{let r=pw(t,(n,i)=>i===S?[Ar(t.children[S],!1)]:[`${i}:${Ar(n,!1)}`]);return Object.keys(t.children).length===1&&t.children[S]!=null?`${Lo(t)}/${r[0]}`:`${Lo(t)}/(${r.join("//")})`}}function Uh(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Fo(t){return Uh(t).replace(/%3B/gi,";")}function mw(t){return encodeURI(t)}function Lu(t){return Uh(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Vo(t){return decodeURIComponent(t)}function Ah(t){return Vo(t.replace(/\+/g,"%20"))}function Bh(t){return`${Lu(t.path)}${yw(t.parameters)}`}function yw(t){return Object.keys(t).map(e=>`;${Lu(e)}=${Lu(t[e])}`).join("")}function vw(t){let e=Object.keys(t).map(r=>{let n=t[r];return Array.isArray(n)?n.map(i=>`${Fo(r)}=${Fo(i)}`).join("&"):`${Fo(r)}=${Fo(n)}`}).filter(r=>!!r);return e.length?`?${e.join("&")}`:""}var Dw=/^[^\/()?;#]+/;function Nu(t){let e=t.match(Dw);return e?e[0]:""}var Cw=/^[^\/()?;=#]+/;function ww(t){let e=t.match(Cw);return e?e[0]:""}var Ew=/^[^=?&#]+/;function bw(t){let e=t.match(Ew);return e?e[0]:""}var Iw=/^[^&#]+/;function Mw(t){let e=t.match(Iw);return e?e[0]:""}var Vu=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[S]=new L(e,r)),n}parseSegment(){let e=Nu(this.remaining);if(e===""&&this.peekStartsWith(";"))throw new v(4009,!1);return this.capture(e),new Qt(Vo(e),this.parseMatrixParams())}parseMatrixParams(){let e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){let r=ww(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){let i=Nu(this.remaining);i&&(n=i,this.capture(n))}e[Vo(r)]=Vo(n)}parseQueryParam(e){let r=bw(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){let s=Mw(this.remaining);s&&(n=s,this.capture(n))}let i=Ah(r),o=Ah(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=Nu(this.remaining),i=this.remaining[n.length];if(i!=="/"&&i!==")"&&i!==";")throw new v(4010,!1);let o;n.indexOf(":")>-1?(o=n.slice(0,n.indexOf(":")),this.capture(o),this.capture(":")):e&&(o=S);let s=this.parseChildren();r[o]=Object.keys(s).length===1?s[S]: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 v(4011,!1)}};function Hh(t){return t.segments.length>0?new L([],{[S]:t}):t}function zh(t){let e={};for(let n of Object.keys(t.children)){let i=t.children[n],o=zh(i);if(n===S&&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 _w(r)}function _w(t){if(t.numberOfChildren===1&&t.children[S]){let e=t.children[S];return new L(t.segments.concat(e.segments),e.children)}return t}function jn(t){return t instanceof Tt}function Sw(t,e,r=null,n=null){let i=Gh(t);return Wh(i,e,r,n)}function Gh(t){let e;function r(o){let s={};for(let u of o.children){let c=r(u);s[u.outlet]=c}let a=new L(o.url,s);return o===t&&(e=a),a}let n=r(t.root),i=Hh(n);return e??i}function Wh(t,e,r,n){let i=t;for(;i.parent;)i=i.parent;if(e.length===0)return Ou(i,i,i,r,n);let o=Tw(e);if(o.toRoot())return Ou(i,i,new L([],{}),r,n);let s=xw(o,i,t),a=s.processChildren?Rr(s.segmentGroup,s.index,o.commands):Zh(s.segmentGroup,s.index,o.commands);return Ou(i,s.segmentGroup,a,r,n)}function $o(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function kr(t){return typeof t=="object"&&t!=null&&t.outlets}function Ou(t,e,r,n,i){let o={};n&&Object.entries(n).forEach(([u,c])=>{o[u]=Array.isArray(c)?c.map(l=>`${l}`):`${c}`});let s;t===e?s=r:s=qh(t,e,r);let a=Hh(zh(s));return new Tt(a,o,i)}function qh(t,e,r){let n={};return Object.entries(t.children).forEach(([i,o])=>{o===e?n[i]=r:n[i]=qh(o,e,r)}),new L(t.segments,n)}var Uo=class{constructor(e,r,n){if(this.isAbsolute=e,this.numberOfDoubleDots=r,this.commands=n,e&&n.length>0&&$o(n[0]))throw new v(4003,!1);let i=n.find(kr);if(i&&i!==kh(n))throw new v(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function Tw(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new Uo(!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(([u,c])=>{a[u]=typeof c=="string"?c.split("/"):c}),[...i,{outlets:a}]}if(o.segmentPath)return[...i,o.segmentPath]}return typeof o!="string"?[...i,o]:s===0?(o.split("/").forEach((a,u)=>{u==0&&a==="."||(u==0&&a===""?r=!0:a===".."?e++:a!=""&&i.push(a))}),i):[...i,o]},[]);return new Uo(r,e,n)}var kn=class{constructor(e,r,n){this.segmentGroup=e,this.processChildren=r,this.index=n}};function xw(t,e,r){if(t.isAbsolute)return new kn(e,!0,0);if(!r)return new kn(e,!1,NaN);if(r.parent===null)return new kn(r,!0,0);let n=$o(t.commands[0])?0:1,i=r.segments.length-1+n;return Aw(r,i,t.numberOfDoubleDots)}function Aw(t,e,r){let n=t,i=e,o=r;for(;o>i;){if(o-=i,n=n.parent,!n)throw new v(4005,!1);i=n.segments.length}return new kn(n,!1,i-o)}function Nw(t){return kr(t[0])?t[0].outlets:{[S]:t}}function Zh(t,e,r){if(t||(t=new L([],{})),t.segments.length===0&&t.hasChildren())return Rr(t,e,r);let n=Ow(t,e,r),i=r.slice(n.commandIndex);if(n.match&&n.pathIndexo!==S)&&t.children[S]&&t.numberOfChildren===1&&t.children[S].segments.length===0){let o=Rr(t.children[S],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]=Zh(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 Ow(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(kr(a))break;let u=`${a}`,c=n0&&u===void 0)break;if(u&&c&&typeof c=="object"&&c.outlets===void 0){if(!Oh(u,c,s))return o;n+=2}else{if(!Oh(u,{},s))return o;n++}i++}return{match:!0,pathIndex:i,commandIndex:n}}function ju(t,e,r){let n=t.segments.slice(0,e),i=0;for(;i{typeof n=="string"&&(n=[n]),n!==null&&(e[r]=ju(new L([],{}),0,n))}),e}function Nh(t){let e={};return Object.entries(t).forEach(([r,n])=>e[r]=`${n}`),e}function Oh(t,e,r){return t==r.path&&Ye(e,r.parameters)}var Fr="imperative",Te=class{constructor(e,r){this.id=e,this.url=r}},Lr=class extends Te{constructor(e,r,n="imperative",i=null){super(e,r),this.type=0,this.navigationTrigger=n,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},xt=class extends Te{constructor(e,r,n){super(e,r),this.urlAfterRedirects=n,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},At=class extends Te{constructor(e,r,n,i){super(e,r),this.reason=n,this.code=i,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},Jt=class extends Te{constructor(e,r,n,i){super(e,r),this.reason=n,this.code=i,this.type=16}},Vr=class extends Te{constructor(e,r,n,i){super(e,r),this.error=n,this.target=i,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Bo=class extends Te{constructor(e,r,n,i){super(e,r),this.urlAfterRedirects=n,this.state=i,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},$u=class extends Te{constructor(e,r,n,i){super(e,r),this.urlAfterRedirects=n,this.state=i,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Uu=class extends Te{constructor(e,r,n,i,o){super(e,r),this.urlAfterRedirects=n,this.state=i,this.shouldActivate=o,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},Bu=class extends Te{constructor(e,r,n,i){super(e,r),this.urlAfterRedirects=n,this.state=i,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Hu=class extends Te{constructor(e,r,n,i){super(e,r),this.urlAfterRedirects=n,this.state=i,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},zu=class{constructor(e){this.route=e,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Gu=class{constructor(e){this.route=e,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Wu=class{constructor(e){this.snapshot=e,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},qu=class{constructor(e){this.snapshot=e,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Zu=class{constructor(e){this.snapshot=e,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Yu=class{constructor(e){this.snapshot=e,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}};var jr=class{},$r=class{constructor(e){this.url=e}};var Qu=class{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new Zo,this.attachRef=null}},Zo=(()=>{let e=class e{constructor(){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 Qu,this.contexts.set(n,i)),i}getContext(n){return this.contexts.get(n)||null}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Ho=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=Ku(e,this._root);return r?r.children.map(n=>n.value):[]}firstChild(e){let r=Ku(e,this._root);return r&&r.children.length>0?r.children[0].value:null}siblings(e){let r=Ju(e,this._root);return r.length<2?[]:r[r.length-2].children.map(i=>i.value).filter(i=>i!==e)}pathFromRoot(e){return Ju(e,this._root).map(r=>r.value)}};function Ku(t,e){if(t===e.value)return e;for(let r of e.children){let n=Ku(t,r);if(n)return n}return null}function Ju(t,e){if(t===e.value)return[e];for(let r of e.children){let n=Ju(t,r);if(n.length)return n.unshift(e),n}return[]}var De=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 zo=class extends Ho{constructor(e,r){super(e),this.snapshot=r,cc(this,e)}toString(){return this.snapshot.toString()}};function Yh(t,e){let r=Fw(t,e),n=new Q([new Qt("",{})]),i=new Q({}),o=new Q({}),s=new Q({}),a=new Q(""),u=new Xt(n,i,s,a,o,S,e,r.root);return u.snapshot=r.root,new zo(new De(u,[]),r)}function Fw(t,e){let r={},n={},i={},o="",s=new Ur([],r,i,o,n,S,e,null,{});return new Go("",new De(s,[]))}var Xt=class{constructor(e,r,n,i,o,s,a,u){this.urlSubject=e,this.paramsSubject=r,this.queryParamsSubject=n,this.fragmentSubject=i,this.dataSubject=o,this.outlet=s,this.component=a,this._futureSnapshot=u,this.title=this.dataSubject?.pipe(x(c=>c[zr]))??E(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._paramMap=this.params.pipe(x(e=>Vn(e)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(x(e=>Vn(e)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function uc(t,e,r="emptyOnly"){let n,{routeConfig:i}=t;return e!==null&&(r==="always"||i?.path===""||!e.component&&!e.routeConfig?.loadComponent)?n={params:p(p({},e.params),t.params),data:p(p({},e.data),t.data),resolve:p(p(p(p({},t.data),e.data),i?.data),t._resolvedData)}:n={params:t.params,data:t.data,resolve:p(p({},t.data),t._resolvedData??{})},i&&Kh(i)&&(n.resolve[zr]=i.title),n}var Ur=class{get title(){return this.data?.[zr]}constructor(e,r,n,i,o,s,a,u,c){this.url=e,this.params=r,this.queryParams=n,this.fragment=i,this.data=o,this.outlet=s,this.component=a,this.routeConfig=u,this._resolve=c}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=Vn(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(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}')`}},Go=class extends Ho{constructor(e,r){super(r),this.url=e,cc(this,r)}toString(){return Qh(this._root)}};function cc(t,e){e.value._routerState=t,e.children.forEach(r=>cc(t,r))}function Qh(t){let e=t.children.length>0?` { ${t.children.map(Qh).join(", ")} } `:"";return`${t.value}${e}`}function Ru(t){if(t.snapshot){let e=t.snapshot,r=t._futureSnapshot;t.snapshot=r,Ye(e.queryParams,r.queryParams)||t.queryParamsSubject.next(r.queryParams),e.fragment!==r.fragment&&t.fragmentSubject.next(r.fragment),Ye(e.params,r.params)||t.paramsSubject.next(r.params),cw(e.url,r.url)||t.urlSubject.next(r.url),Ye(e.data,r.data)||t.dataSubject.next(r.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function Xu(t,e){let r=Ye(t.params,e.params)&&hw(t.url,e.url),n=!t.parent!=!e.parent;return r&&!n&&(!t.parent||Xu(t.parent,e.parent))}function Kh(t){return typeof t.title=="string"||t.title===null}var lc=(()=>{let e=class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=S,this.activateEvents=new ne,this.deactivateEvents=new ne,this.attachEvents=new ne,this.detachEvents=new ne,this.parentContexts=g(Zo),this.location=g(yr),this.changeDetector=g(Mt),this.environmentInjector=g(fe),this.inputBinder=g(dc,{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 v(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new v(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new v(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 v(4013,!1);this._activatedRoute=n;let o=this.location,a=n.snapshot.component,u=this.parentContexts.getOrCreateContext(this.name).children,c=new ec(n,u,o.injector);this.activated=o.createComponent(a,{index:o.length,injector:c,environmentInjector:i??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=ye({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[at]});let t=e;return t})(),ec=class{constructor(e,r,n){this.route=e,this.childContexts=r,this.parent=n}get(e,r){return e===Xt?this.route:e===Zo?this.childContexts:this.parent.get(e,r)}},dc=new w("");function Pw(t,e,r){let n=Br(t,e._root,r?r._root:void 0);return new zo(n,e)}function Br(t,e,r){if(r&&t.shouldReuseRoute(e.value,r.value.snapshot)){let n=r.value;n._futureSnapshot=e.value;let i=kw(t,e,r);return new De(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=>Br(t,a)),s}}let n=Lw(e.value),i=e.children.map(o=>Br(t,o));return new De(n,i)}}function kw(t,e,r){return e.children.map(n=>{for(let i of r.children)if(t.shouldReuseRoute(n.value,i.value.snapshot))return Br(t,n,i);return Br(t,n)})}function Lw(t){return new Xt(new Q(t.url),new Q(t.params),new Q(t.queryParams),new Q(t.fragment),new Q(t.data),t.outlet,t.component,t)}var Jh="ngNavigationCancelingError";function Xh(t,e){let{redirectTo:r,navigationBehaviorOptions:n}=jn(e)?{redirectTo:e,navigationBehaviorOptions:void 0}:e,i=ep(!1,0,e);return i.url=r,i.navigationBehaviorOptions=n,i}function ep(t,e,r){let n=new Error("NavigationCancelingError: "+(t||""));return n[Jh]=!0,n.cancellationCode=e,r&&(n.url=r),n}function Vw(t){return tp(t)&&jn(t.url)}function tp(t){return t&&t[Jh]}var jw=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=Ee({type:e,selectors:[["ng-component"]],standalone:!0,features:[_e],decls:1,vars:0,template:function(i,o){i&1&&Ie(0,"router-outlet")},dependencies:[lc],encapsulation:2});let t=e;return t})();function $w(t,e){return t.providers&&!t._injector&&(t._injector=cu(t.providers,e,`Route: ${t.path}`)),t._injector??e}function fc(t){let e=t.children&&t.children.map(fc),r=e?k(p({},t),{children:e}):p({},t);return!r.component&&!r.loadComponent&&(e||r.loadChildren)&&r.outlet&&r.outlet!==S&&(r.component=jw),r}function Qe(t){return t.outlet||S}function Uw(t,e){let r=t.filter(n=>Qe(n)===e);return r.push(...t.filter(n=>Qe(n)!==e)),r}function Gr(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 Bw=(t,e,r,n)=>x(i=>(new tc(e,i.targetRouterState,i.currentRouterState,r,n).activate(t),i)),tc=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),Ru(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.keys(o))this.deactivateRouteAndItsChildren(o[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.keys(o))this.deactivateRouteAndItsChildren(o[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 Yu(o.value.snapshot))}),e.children.length&&this.forwardEvent(new qu(e.value.snapshot))}activateRoutes(e,r,n){let i=e.value,o=r?r.value:null;if(Ru(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),Ru(a.route.value),this.activateChildRoutes(e,null,s.children)}else{let a=Gr(i.snapshot);s.attachRef=null,s.route=i,s.injector=a,s.outlet&&s.outlet.activateWith(i,s.injector),this.activateChildRoutes(e,null,s.children)}}else this.activateChildRoutes(e,null,n)}},Wo=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 Hw(t,e,r){let n=t._root,i=e?e._root:null;return Nr(n,i,r,[n.value])}function zw(t){let e=t.routeConfig?t.routeConfig.canActivateChild:null;return!e||e.length===0?null:{node:t,guards:e}}function Un(t,e){let r=Symbol(),n=e.get(t,r);return n===r?typeof t=="function"&&!Ul(t)?t:e.get(t):n}function Nr(t,e,r,n,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=Pn(e);return t.children.forEach(s=>{Gw(s,o[s.value.outlet],r,n.concat([s.value]),i),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,a])=>Pr(a,r.getContext(s),i)),i}function Gw(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 u=Ww(s,o,o.routeConfig.runGuardsAndResolvers);u?i.canActivateChecks.push(new Wo(n)):(o.data=s.data,o._resolvedData=s._resolvedData),o.component?Nr(t,e,a?a.children:null,n,i):Nr(t,e,r,n,i),u&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new Ln(a.outlet.component,s))}else s&&Pr(e,a,i),i.canActivateChecks.push(new Wo(n)),o.component?Nr(t,null,a?a.children:null,n,i):Nr(t,null,r,n,i);return i}function Ww(t,e,r){if(typeof r=="function")return r(t,e);switch(r){case"pathParamsChange":return!Kt(t.url,e.url);case"pathParamsOrQueryParamsChange":return!Kt(t.url,e.url)||!Ye(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Xu(t,e)||!Ye(t.queryParams,e.queryParams);case"paramsChange":default:return!Xu(t,e)}}function Pr(t,e,r){let n=Pn(t),i=t.value;Object.entries(n).forEach(([o,s])=>{i.component?e?Pr(s,e.children.getContext(o),r):Pr(s,null,r):Pr(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 Wr(t){return typeof t=="function"}function qw(t){return typeof t=="boolean"}function Zw(t){return t&&Wr(t.canLoad)}function Yw(t){return t&&Wr(t.canActivate)}function Qw(t){return t&&Wr(t.canActivateChild)}function Kw(t){return t&&Wr(t.canDeactivate)}function Jw(t){return t&&Wr(t.canMatch)}function np(t){return t instanceof Je||t?.name==="EmptyError"}var Po=Symbol("INITIAL_VALUE");function $n(){return ae(t=>yi(t.map(e=>e.pipe(Xe(1),_s(Po)))).pipe(x(e=>{for(let r of e)if(r!==!0){if(r===Po)return Po;if(r===!1||r instanceof Tt)return r}return!0}),ie(e=>e!==Po),Xe(1)))}function Xw(t,e){return K(r=>{let{targetSnapshot:n,currentSnapshot:i,guards:{canActivateChecks:o,canDeactivateChecks:s}}=r;return s.length===0&&o.length===0?E(k(p({},r),{guardsResult:!0})):eE(s,n,i,t).pipe(K(a=>a&&qw(a)?tE(n,o,t,e):E(a)),x(a=>k(p({},r),{guardsResult:a})))})}function eE(t,e,r,n){return B(t).pipe(K(i=>sE(i.component,i.route,r,e,n)),$e(i=>i!==!0,!0))}function tE(t,e,r,n){return B(e).pipe(gt(i=>ln(rE(i.route.parent,n),nE(i.route,n),oE(t,i.path,r),iE(t,i.route,r))),$e(i=>i!==!0,!0))}function nE(t,e){return t!==null&&e&&e(new Zu(t)),E(!0)}function rE(t,e){return t!==null&&e&&e(new Wu(t)),E(!0)}function iE(t,e,r){let n=e.routeConfig?e.routeConfig.canActivate:null;if(!n||n.length===0)return E(!0);let i=n.map(o=>vi(()=>{let s=Gr(e)??r,a=Un(o,s),u=Yw(a)?a.canActivate(e,t):s.runInContext(()=>a(e,t));return Nt(u).pipe($e())}));return E(i).pipe($n())}function oE(t,e,r){let n=e[e.length-1],o=e.slice(0,e.length-1).reverse().map(s=>zw(s)).filter(s=>s!==null).map(s=>vi(()=>{let a=s.guards.map(u=>{let c=Gr(s.node)??r,l=Un(u,c),d=Qw(l)?l.canActivateChild(n,t):c.runInContext(()=>l(n,t));return Nt(d).pipe($e())});return E(a).pipe($n())}));return E(o).pipe($n())}function sE(t,e,r,n,i){let o=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!o||o.length===0)return E(!0);let s=o.map(a=>{let u=Gr(e)??i,c=Un(a,u),l=Kw(c)?c.canDeactivate(t,e,r,n):u.runInContext(()=>c(t,e,r,n));return Nt(l).pipe($e())});return E(s).pipe($n())}function aE(t,e,r,n){let i=e.canLoad;if(i===void 0||i.length===0)return E(!0);let o=i.map(s=>{let a=Un(s,t),u=Zw(a)?a.canLoad(e,r):t.runInContext(()=>a(e,r));return Nt(u)});return E(o).pipe($n(),rp(n))}function rp(t){return Zn(J(e=>{if(jn(e))throw Xh(t,e)}),x(e=>e===!0))}function uE(t,e,r,n){let i=e.canMatch;if(!i||i.length===0)return E(!0);let o=i.map(s=>{let a=Un(s,t),u=Jw(a)?a.canMatch(e,r):t.runInContext(()=>a(e,r));return Nt(u)});return E(o).pipe($n(),rp(n))}var Hr=class{constructor(e){this.segmentGroup=e||null}},qo=class extends Error{constructor(e){super(),this.urlTree=e}};function Fn(t){return cn(new Hr(t))}function cE(t){return cn(new v(4e3,!1))}function lE(t){return cn(ep(!1,3))}var nc=class{constructor(e,r){this.urlSerializer=e,this.urlTree=r}noMatchError(e){return new v(4002,!1)}lineralizeSegments(e,r){let n=[],i=r.root;for(;;){if(n=n.concat(i.segments),i.numberOfChildren===0)return E(n);if(i.numberOfChildren>1||!i.children[S])return cE(e.redirectTo);i=i.children[S]}}applyRedirectCommands(e,r,n){let i=this.applyRedirectCreateUrlTree(r,this.urlSerializer.parse(r),e,n);if(r.startsWith("/"))throw new qo(i);return i}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.startsWith(":")){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,u])=>{s[a]=this.createSegmentGroup(e,u,n,i)}),new L(o,s)}createSegments(e,r,n,i){return r.map(o=>o.path.startsWith(":")?this.findPosParam(e,o,i):this.findOrReturn(o,n))}findPosParam(e,r,n){let i=n[r.path.substring(1)];if(!i)throw new v(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}},rc={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function dE(t,e,r,n,i){let o=hc(t,e,r);return o.matched?(n=$w(e,n),uE(n,e,r,i).pipe(x(s=>s===!0?o:p({},rc)))):E(o)}function hc(t,e,r){if(e.path==="")return e.pathMatch==="full"&&(t.hasChildren()||r.length>0)?p({},rc):{matched:!0,consumedSegments:[],remainingSegments:r,parameters:{},positionalParamSegments:{}};let i=(e.matcher||uw)(r,t,e);if(!i)return p({},rc);let o={};Object.entries(i.posParams??{}).forEach(([a,u])=>{o[a]=u.path});let s=i.consumed.length>0?p(p({},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 Rh(t,e,r,n){return r.length>0&&pE(t,r,n)?{segmentGroup:new L(e,hE(n,new L(r,t.children))),slicedSegments:[]}:r.length===0&&gE(t,r,n)?{segmentGroup:new L(t.segments,fE(t,e,r,n,t.children)),slicedSegments:r}:{segmentGroup:new L(t.segments,t.children),slicedSegments:r}}function fE(t,e,r,n,i){let o={};for(let s of n)if(Yo(t,r,s)&&!i[Qe(s)]){let a=new L([],{});o[Qe(s)]=a}return p(p({},i),o)}function hE(t,e){let r={};r[S]=e;for(let n of t)if(n.path===""&&Qe(n)!==S){let i=new L([],{});r[Qe(n)]=i}return r}function pE(t,e,r){return r.some(n=>Yo(t,e,n)&&Qe(n)!==S)}function gE(t,e,r){return r.some(n=>Yo(t,e,n))}function Yo(t,e,r){return(t.hasChildren()||e.length>0)&&r.pathMatch==="full"?!1:r.path===""}function mE(t,e,r,n){return Qe(t)!==n&&(n===S||!Yo(e,r,t))?!1:t.path==="**"?!0:hc(e,t,r).matched}function yE(t,e,r){return e.length===0&&!t.children[r]}var ic=class{};function vE(t,e,r,n,i,o,s="emptyOnly"){return new oc(t,e,r,n,i,s,o).recognize()}var DE=31,oc=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 nc(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(e){return new v(4002,!1)}recognize(){let e=Rh(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(e).pipe(x(r=>{let n=new Ur([],Object.freeze({}),Object.freeze(p({},this.urlTree.queryParams)),this.urlTree.fragment,{},S,this.rootComponentType,null,{}),i=new De(n,r),o=new Go("",i),s=Sw(n,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),this.inheritParamsAndData(o._root,null),{state:o,tree:s}}))}match(e){return this.processSegmentGroup(this.injector,this.config,e,S).pipe(pt(n=>{if(n instanceof qo)return this.urlTree=n.urlTree,this.match(n.urlTree.root);throw n instanceof Hr?this.noMatchError(n):n}))}inheritParamsAndData(e,r){let n=e.value,i=uc(n,r,this.paramsInheritanceStrategy);n.params=Object.freeze(i.params),n.data=Object.freeze(i.data),e.children.forEach(o=>this.inheritParamsAndData(o,n))}processSegmentGroup(e,r,n,i){return n.segments.length===0&&n.hasChildren()?this.processChildren(e,r,n):this.processSegment(e,r,n,n.segments,i,!0).pipe(x(o=>o instanceof De?[o]:[]))}processChildren(e,r,n){let i=[];for(let o of Object.keys(n.children))o==="primary"?i.unshift(o):i.push(o);return B(i).pipe(gt(o=>{let s=n.children[o],a=Uw(r,o);return this.processSegmentGroup(e,a,s,o)}),Is((o,s)=>(o.push(...s),o)),mt(null),bs(),K(o=>{if(o===null)return Fn(n);let s=ip(o);return CE(s),E(s)}))}processSegment(e,r,n,i,o,s){return B(r).pipe(gt(a=>this.processSegmentAgainstRoute(a._injector??e,r,a,n,i,o,s).pipe(pt(u=>{if(u instanceof Hr)return E(null);throw u}))),$e(a=>!!a),pt(a=>{if(np(a))return yE(n,i,o)?E(new ic):Fn(n);throw a}))}processSegmentAgainstRoute(e,r,n,i,o,s,a){return mE(n,i,o,s)?n.redirectTo===void 0?this.matchSegmentAgainstRoute(e,i,n,o,s):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(e,i,r,n,o,s):Fn(i):Fn(i)}expandSegmentAgainstRouteUsingRedirect(e,r,n,i,o,s){let{matched:a,consumedSegments:u,positionalParamSegments:c,remainingSegments:l}=i.path==="**"?Fh(o):hc(r,i,o);if(!a)return Fn(r);i.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>DE&&(this.allowRedirects=!1));let d=this.applyRedirects.applyRedirectCommands(u,i.redirectTo,c);return this.applyRedirects.lineralizeSegments(i,d).pipe(K(f=>this.processSegment(e,n,r,f.concat(l),s,!1)))}matchSegmentAgainstRoute(e,r,n,i,o){let s;return n.path==="**"?(s=E(Fh(i)),r.children={}):s=dE(r,n,i,e,this.urlSerializer),s.pipe(ae(a=>a.matched?(e=n._injector??e,this.getChildConfig(e,n,i).pipe(ae(({routes:u})=>{let c=n._loadedInjector??e,{consumedSegments:l,remainingSegments:d,parameters:f}=a,h=new Ur(l,f,Object.freeze(p({},this.urlTree.queryParams)),this.urlTree.fragment,EE(n),Qe(n),n.component??n._loadedComponent??null,n,bE(n)),{segmentGroup:m,slicedSegments:M}=Rh(r,l,d,u);if(M.length===0&&m.hasChildren())return this.processChildren(c,u,m).pipe(x(y=>y===null?null:new De(h,y)));if(u.length===0&&M.length===0)return E(new De(h,[]));let b=Qe(n)===o;return this.processSegment(c,u,m,M,b?S:o,!0).pipe(x(y=>new De(h,y instanceof De?[y]:[])))}))):Fn(r)))}getChildConfig(e,r,n){return r.children?E({routes:r.children,injector:e}):r.loadChildren?r._loadedRoutes!==void 0?E({routes:r._loadedRoutes,injector:r._loadedInjector}):aE(e,r,n,this.urlSerializer).pipe(K(i=>i?this.configLoader.loadChildren(e,r).pipe(J(o=>{r._loadedRoutes=o.routes,r._loadedInjector=o.injector})):lE(r))):E({routes:[],injector:e})}};function CE(t){t.sort((e,r)=>e.value.outlet===S?-1:r.value.outlet===S?1:e.value.outlet.localeCompare(r.value.outlet))}function wE(t){let e=t.value.routeConfig;return e&&e.path===""}function ip(t){let e=[],r=new Set;for(let n of t){if(!wE(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=ip(n.children);e.push(new De(n.value,i))}return e.filter(n=>!r.has(n))}function EE(t){return t.data||{}}function bE(t){return t.resolve||{}}function Fh(t){return{matched:!0,parameters:t.length>0?kh(t).parameters:{},consumedSegments:t,remainingSegments:[],positionalParamSegments:{}}}function IE(t,e,r,n,i,o){return K(s=>vE(t,e,r,n,s.extractedUrl,i,o).pipe(x(({state:a,tree:u})=>k(p({},s),{targetSnapshot:a,urlAfterRedirects:u}))))}function ME(t,e){return K(r=>{let{targetSnapshot:n,guards:{canActivateChecks:i}}=r;if(!i.length)return E(r);let o=i.map(c=>c.route),s=new Set(o),a=op(o[0].parent).slice(1),u=0;return B(a).pipe(gt(c=>s.has(c)?_E(c,n,t,e):(c.data=uc(c,c.parent,t).resolve,E(void 0))),J(()=>u++),dn(1),K(c=>u===a.length?E(r):le))})}function op(t){let e=t.children.map(r=>op(r)).flat();return[t,...e]}function _E(t,e,r,n){let i=t.routeConfig,o=t._resolve;return i?.title!==void 0&&!Kh(i)&&(o[zr]=i.title),SE(o,t,e,n).pipe(x(s=>(t._resolvedData=s,t.data=uc(t,t.parent,r).resolve,null)))}function SE(t,e,r,n){let i=ku(t);if(i.length===0)return E({});let o={};return B(i).pipe(K(s=>TE(t[s],e,r,n).pipe($e(),J(a=>{o[s]=a}))),dn(1),ws(o),pt(s=>np(s)?le:cn(s)))}function TE(t,e,r,n){let i=Gr(e)??n,o=Un(t,i),s=o.resolve?o.resolve(e,r):i.runInContext(()=>o(e,r));return Nt(s)}function Fu(t){return ae(e=>{let r=t(e);return r?B(r).pipe(x(()=>e)):E(e)})}var sp=(()=>{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===S);return i}getResolvedTitleForRoute(n){return n.data[zr]}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=C({token:e,factory:()=>(()=>g(xE))(),providedIn:"root"});let t=e;return t})(),xE=(()=>{let e=class e extends sp{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)(D(xu))},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),pc=new w("",{providedIn:"root",factory:()=>({})}),gc=new w("ROUTES"),AE=(()=>{let e=class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=g(du)}loadComponent(n){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return E(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);let i=Nt(n.loadComponent()).pipe(x(ap),J(s=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=s}),Pt(()=>{this.componentLoaders.delete(n)})),o=new un(i,()=>new re).pipe(an());return this.componentLoaders.set(n,o),o}loadChildren(n,i){if(this.childrenLoaders.get(i))return this.childrenLoaders.get(i);if(i._loadedRoutes)return E({routes:i._loadedRoutes,injector:i._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(i);let s=NE(i,this.compiler,n,this.onLoadEndListener).pipe(Pt(()=>{this.childrenLoaders.delete(i)})),a=new un(s,()=>new re).pipe(an());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 NE(t,e,r,n){return Nt(t.loadChildren()).pipe(x(ap),K(i=>i instanceof cr||Array.isArray(i)?E(i):B(e.compileModuleAsync(i))),x(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(gc,[],{optional:!0,self:!0}).flat()),{routes:s.map(fc),injector:o}}))}function OE(t){return t&&typeof t=="object"&&"default"in t}function ap(t){return OE(t)?t.default:t}var mc=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=C({token:e,factory:()=>(()=>g(RE))(),providedIn:"root"});let t=e;return t})(),RE=(()=>{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})(),FE=new w("");var PE=(()=>{let e=class e{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new re,this.transitionAbortSubject=new re,this.configLoader=g(AE),this.environmentInjector=g(fe),this.urlSerializer=g(ac),this.rootContexts=g(Zo),this.location=g(Er),this.inputBindingEnabled=g(dc,{optional:!0})!==null,this.titleStrategy=g(sp),this.options=g(pc,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=g(mc),this.createViewTransition=g(FE,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>E(void 0),this.rootComponentType=null;let n=o=>this.events.next(new zu(o)),i=o=>this.events.next(new Gu(o));this.configLoader.onLoadEndListener=i,this.configLoader.onLoadStartListener=n}complete(){this.transitions?.complete()}handleNavigationRequest(n){let i=++this.navigationId;this.transitions?.next(k(p(p({},this.transitions.value),n),{id:i}))}setupNavigations(n,i,o){return this.transitions=new Q({id:0,currentUrlTree:i,currentRawUrl:i,extractedUrl:this.urlHandlingStrategy.extract(i),urlAfterRedirects:this.urlHandlingStrategy.extract(i),rawUrl:i,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:Fr,restoredState:null,currentSnapshot:o.snapshot,targetSnapshot:null,currentRouterState:o,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(ie(s=>s.id!==0),x(s=>k(p({},s),{extractedUrl:this.urlHandlingStrategy.extract(s.rawUrl)})),ae(s=>{this.currentTransition=s;let a=!1,u=!1;return E(s).pipe(J(c=>{this.currentNavigation={id:c.id,initialUrl:c.rawUrl,extractedUrl:c.extractedUrl,trigger:c.source,extras:c.extras,previousNavigation:this.lastSuccessfulNavigation?k(p({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),ae(c=>{let l=!n.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),d=c.extras.onSameUrlNavigation??n.onSameUrlNavigation;if(!l&&d!=="reload"){let f="";return this.events.next(new Jt(c.id,this.urlSerializer.serialize(c.rawUrl),f,0)),c.resolve(null),le}if(this.urlHandlingStrategy.shouldProcessUrl(c.rawUrl))return E(c).pipe(ae(f=>{let h=this.transitions?.getValue();return this.events.next(new Lr(f.id,this.urlSerializer.serialize(f.extractedUrl),f.source,f.restoredState)),h!==this.transitions?.getValue()?le:Promise.resolve(f)}),IE(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,this.paramsInheritanceStrategy),J(f=>{s.targetSnapshot=f.targetSnapshot,s.urlAfterRedirects=f.urlAfterRedirects,this.currentNavigation=k(p({},this.currentNavigation),{finalUrl:f.urlAfterRedirects});let h=new Bo(f.id,this.urlSerializer.serialize(f.extractedUrl),this.urlSerializer.serialize(f.urlAfterRedirects),f.targetSnapshot);this.events.next(h)}));if(l&&this.urlHandlingStrategy.shouldProcessUrl(c.currentRawUrl)){let{id:f,extractedUrl:h,source:m,restoredState:M,extras:b}=c,y=new Lr(f,this.urlSerializer.serialize(h),m,M);this.events.next(y);let Z=Yh(h,this.rootComponentType).snapshot;return this.currentTransition=s=k(p({},c),{targetSnapshot:Z,urlAfterRedirects:h,extras:k(p({},b),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=h,E(s)}else{let f="";return this.events.next(new Jt(c.id,this.urlSerializer.serialize(c.extractedUrl),f,1)),c.resolve(null),le}}),J(c=>{let l=new $u(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(l)}),x(c=>(this.currentTransition=s=k(p({},c),{guards:Hw(c.targetSnapshot,c.currentSnapshot,this.rootContexts)}),s)),Xw(this.environmentInjector,c=>this.events.next(c)),J(c=>{if(s.guardsResult=c.guardsResult,jn(c.guardsResult))throw Xh(this.urlSerializer,c.guardsResult);let l=new Uu(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot,!!c.guardsResult);this.events.next(l)}),ie(c=>c.guardsResult?!0:(this.cancelNavigationTransition(c,"",3),!1)),Fu(c=>{if(c.guards.canActivateChecks.length)return E(c).pipe(J(l=>{let d=new Bu(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(d)}),ae(l=>{let d=!1;return E(l).pipe(ME(this.paramsInheritanceStrategy,this.environmentInjector),J({next:()=>d=!0,complete:()=>{d||this.cancelNavigationTransition(l,"",2)}}))}),J(l=>{let d=new Hu(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(d)}))}),Fu(c=>{let l=d=>{let f=[];d.routeConfig?.loadComponent&&!d.routeConfig._loadedComponent&&f.push(this.configLoader.loadComponent(d.routeConfig).pipe(J(h=>{d.component=h}),x(()=>{})));for(let h of d.children)f.push(...l(h));return f};return yi(l(c.targetSnapshot.root)).pipe(mt(),Xe(1))}),Fu(()=>this.afterPreactivation()),ae(()=>{let{currentSnapshot:c,targetSnapshot:l}=s,d=this.createViewTransition?.(this.environmentInjector,c.root,l.root);return d?B(d).pipe(x(()=>s)):E(s)}),x(c=>{let l=Pw(n.routeReuseStrategy,c.targetSnapshot,c.currentRouterState);return this.currentTransition=s=k(p({},c),{targetRouterState:l}),this.currentNavigation.targetRouterState=l,s}),J(()=>{this.events.next(new jr)}),Bw(this.rootContexts,n.routeReuseStrategy,c=>this.events.next(c),this.inputBindingEnabled),Xe(1),J({next:c=>{a=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new xt(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects))),this.titleStrategy?.updateTitle(c.targetRouterState.snapshot),c.resolve(!0)},complete:()=>{a=!0}}),Ss(this.transitionAbortSubject.pipe(J(c=>{throw c}))),Pt(()=>{if(!a&&!u){let c="";this.cancelNavigationTransition(s,c,1)}this.currentNavigation?.id===s.id&&(this.currentNavigation=null)}),pt(c=>{if(u=!0,tp(c))this.events.next(new At(s.id,this.urlSerializer.serialize(s.extractedUrl),c.message,c.cancellationCode)),Vw(c)?this.events.next(new $r(c.url)):s.resolve(!1);else{this.events.next(new Vr(s.id,this.urlSerializer.serialize(s.extractedUrl),c,s.targetSnapshot??void 0));try{s.resolve(n.errorHandler(c))}catch(l){s.reject(l)}}return le}))}))}cancelNavigationTransition(n,i,o){let s=new At(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(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.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 kE(t){return t!==Fr}var LE=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=C({token:e,factory:()=>(()=>g(VE))(),providedIn:"root"});let t=e;return t})(),sc=class{shouldDetach(e){return!1}store(e,r){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,r){return e.routeConfig===r.routeConfig}},VE=(()=>{let e=class e extends sc{};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=dr(e)))(o||e)}})(),e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),up=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=C({token:e,factory:()=>(()=>g(jE))(),providedIn:"root"});let t=e;return t})(),jE=(()=>{let e=class e extends up{constructor(){super(...arguments),this.location=g(Er),this.urlSerializer=g(ac),this.options=g(pc,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=g(mc),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new Tt,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=Yh(this.currentUrlTree,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 Lr)this.stateMemento=this.createStateMemento();else if(n instanceof Jt)this.rawUrlTree=i.initialUrl;else if(n instanceof Bo){if(this.urlUpdateStrategy==="eager"&&!i.extras.skipLocationChange){let o=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl);this.setBrowserUrl(o,i)}}else n instanceof jr?(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(this.rawUrlTree,i))):n instanceof At&&(n.code===3||n.code===2)?this.restoreHistory(i):n instanceof Vr?this.restoreHistory(i,!0):n instanceof xt&&(this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId)}setBrowserUrl(n,i){let o=this.urlSerializer.serialize(n);if(this.location.isCurrentPathEqualTo(o)||i.extras.replaceUrl){let s=this.browserPageId,a=p(p({},i.extras.state),this.generateNgRouterState(i.id,s));this.location.replaceState(o,"",a)}else{let s=p(p({},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=dr(e)))(o||e)}})(),e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Or=function(t){return t[t.COMPLETE=0]="COMPLETE",t[t.FAILED=1]="FAILED",t[t.REDIRECTING=2]="REDIRECTING",t}(Or||{});function $E(t,e){t.events.pipe(ie(r=>r instanceof xt||r instanceof At||r instanceof Vr||r instanceof Jt),x(r=>r instanceof xt||r instanceof Jt?Or.COMPLETE:(r instanceof At?r.code===0||r.code===1:!1)?Or.REDIRECTING:Or.FAILED),ie(r=>r!==Or.REDIRECTING),Xe(1)).subscribe(()=>{e()})}function UE(t){throw t}var BE={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},HE={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},yc=(()=>{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.isNgZoneEnabled=!1,this.console=g(Eo),this.stateManager=g(up),this.options=g(pc,{optional:!0})||{},this.pendingTasks=g(wr),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=g(PE),this.urlSerializer=g(ac),this.location=g(Er),this.urlHandlingStrategy=g(mc),this._events=new re,this.errorHandler=this.options.errorHandler||UE,this.navigated=!1,this.routeReuseStrategy=g(LE),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=g(gc,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!g(dc,{optional:!0}),this.eventsSubscription=new ee,this.isNgZoneEnabled=g(H)instanceof H&&H.isInAngularZone(),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 At&&i.code!==0&&i.code!==1)this.navigated=!0;else if(i instanceof xt)this.navigated=!0;else if(i instanceof $r){let a=this.urlHandlingStrategy.merge(i.url,o.currentRawUrl),u={skipLocationChange:o.extras.skipLocationChange,replaceUrl:this.urlUpdateStrategy==="eager"||kE(o.source)};this.scheduleNavigation(a,Fr,null,u,{resolve:o.resolve,reject:o.reject,promise:o.promise})}}GE(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),Fr,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription||(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 c=p({},o);delete c.navigationId,delete c.\u0275routerPageId,Object.keys(c).length!==0&&(s.state=c)}let u=this.parseUrl(n);this.scheduleNavigation(u,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(fc),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:u,preserveFragment:c}=i,l=c?this.currentUrlTree.fragment:a,d=null;switch(u){case"merge":d=p(p({},this.currentUrlTree.queryParams),s);break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=s||null}d!==null&&(d=this.removeEmptyProps(d));let f;try{let h=o?o.snapshot:this.routerState.snapshot.root;f=Gh(h)}catch{(typeof n[0]!="string"||!n[0].startsWith("/"))&&(n=[]),f=this.currentUrlTree.root}return Wh(f,n,d,l??null)}navigateByUrl(n,i={skipLocationChange:!1}){let o=jn(n)?n:this.parseUrl(n),s=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(s,Fr,null,i)}navigate(n,i={skipLocationChange:!1}){return zE(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=p({},BE):i===!1?o=p({},HE):o=i,jn(n))return xh(this.currentUrlTree,n,o);let s=this.parseUrl(n);return xh(this.currentUrlTree,s,o)}removeEmptyProps(n){return Object.keys(n).reduce((i,o)=>{let s=n[o];return s!=null&&(i[o]=s),i},{})}scheduleNavigation(n,i,o,s,a){if(this.disposed)return Promise.resolve(!1);let u,c,l;a?(u=a.resolve,c=a.reject,l=a.promise):l=new Promise((f,h)=>{u=f,c=h});let d=this.pendingTasks.add();return $E(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(d))}),this.navigationTransitions.handleNavigationRequest({source:i,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:n,extras:s,resolve:u,reject:c,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(f=>Promise.reject(f))}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function zE(t){for(let e=0;e{let e=class e{constructor(n,i,o,s,a,u){this.router=n,this.route=i,this.tabIndexAttribute=o,this.renderer=s,this.el=a,this.locationStrategy=u,this.href=null,this.commands=null,this.onChanges=new re,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;let c=a.nativeElement.tagName?.toLowerCase();this.isAnchorElement=c==="a"||c==="area",this.isAnchorElement?this.subscription=n.events.subscribe(l=>{l instanceof xt&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(n){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",n)}ngOnChanges(n){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(n){n!=null?(this.commands=Array.isArray(n)?n:[n],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(n,i,o,s,a){if(this.urlTree===null||this.isAnchorElement&&(n!==0||i||o||s||a||typeof this.target=="string"&&this.target!="_self"))return!0;let u={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state};return this.router.navigateByUrl(this.urlTree,u),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=this.urlTree!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;let n=this.href===null?null:vf(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",n)}applyAttributeValue(n,i){let o=this.renderer,s=this.el.nativeElement;i!==null?o.setAttribute(s,n,i):o.removeAttribute(s,n)}get urlTree(){return this.commands===null?null:this.router.createUrlTree(this.commands,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}};e.\u0275fac=function(i){return new(i||e)(_(yc),_(Xt),La("tabindex"),_(Wt),_(qe),_(_t))},e.\u0275dir=ye({type:e,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(i,o){i&1&&Me("click",function(a){return o.onClick(a.button,a.ctrlKey,a.shiftKey,a.altKey,a.metaKey)}),i&2&&qt("target",o.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:["preserveFragment","preserveFragment",Ze],skipLocationChange:["skipLocationChange","skipLocationChange",Ze],replaceUrl:["replaceUrl","replaceUrl",Ze],routerLink:"routerLink"},standalone:!0,features:[mr,at]});let t=e;return t})();var WE=new w("");function lp(t,...e){return Et([{provide:gc,multi:!0,useValue:t},[],{provide:Xt,useFactory:qE,deps:[yc]},{provide:bo,multi:!0,useFactory:YE},e.map(r=>r.\u0275providers)])}function qE(t){return t.routerState.root}function ZE(t,e){return{\u0275kind:t,\u0275providers:e}}function YE(){let t=g(bt);return e=>{let r=t.get(Nn);if(e!==r.components[0])return;let n=t.get(yc),i=t.get(QE);t.get(KE)===1&&n.initialNavigation(),t.get(JE,null,O.Optional)?.setUpPreloading(),t.get(WE,null,O.Optional)?.init(),n.resetRootComponentType(r.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}var QE=new w("",{factory:()=>new re}),KE=new w("",{providedIn:"root",factory:()=>1});var JE=new w("");function dp(){return ZE(6,[{provide:_t,useClass:ah}])}var fp=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=Ee({type:e,selectors:[["app-root"]],standalone:!0,features:[_e],decls:20,vars:0,consts:[[1,"navbar","navbar-expand-lg","navbar-light","bg-light"],["routerLink","/",1,"navbar-brand"],["type","button","data-toggle","collapse","data-target","#navbarNav","aria-controls","navbarNav","aria-expanded","false","aria-label","Toggle navigation",1,"navbar-toggler"],[1,"navbar-toggler-icon"],[1,"collapse","navbar-collapse"],[1,"navbar-nav"],[1,"nav-item"],["routerLink","/",1,"nav-link"],["routerLink","/other",1,"nav-link"],["routerLink","/inline",1,"nav-link"],[2,"line-height","30px"],[2,"margin-top","16px"]],template:function(i,o){i&1&&(V(0,"nav",0)(1,"a",1),W(2,"ngx-tinymce"),j(),V(3,"button",2),Ie(4,"span",3),j(),V(5,"div",4)(6,"ul",5)(7,"li",6)(8,"a",7),W(9,"Home"),j()(),V(10,"li",6)(11,"a",8),W(12,"Other"),j()(),V(13,"li",6)(14,"a",9),W(15,"Inline"),j()()()()(),V(16,"p",10),W(17,"Angular for tinymce"),j(),V(18,"div",11),Ie(19,"router-outlet"),j())},dependencies:[lc,cp],encapsulation:2});let t=e;return t})();var Cp=(()=>{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)(_(Wt),_(qe))},e.\u0275dir=ye({type:e});let t=e;return t})(),XE=(()=>{let e=class e extends Cp{};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=dr(e)))(o||e)}})(),e.\u0275dir=ye({type:e,features:[An]});let t=e;return t})(),Xo=new w("NgValueAccessor");var eb={provide:Xo,useExisting:zt(()=>wp),multi:!0};function tb(){let t=dt()?dt().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}var nb=new w("CompositionEventMode"),wp=(()=>{let e=class e extends Cp{constructor(n,i,o){super(n,i),this._compositionMode=o,this._composing=!1,this._compositionMode==null&&(this._compositionMode=!tb())}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)(_(Wt),_(qe),_(nb,8))},e.\u0275dir=ye({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&&Me("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:[Dr([eb]),An]});let t=e;return t})();var rb=new w("NgValidators"),ib=new w("NgAsyncValidators");function Ep(t){return t!=null}function bp(t){return Zt(t)?B(t):t}function Ip(t){let e={};return t.forEach(r=>{e=r!=null?p(p({},e),r):e}),Object.keys(e).length===0?null:e}function Mp(t,e){return e.map(r=>r(t))}function ob(t){return!t.validate}function _p(t){return t.map(e=>ob(e)?e:r=>e.validate(r))}function sb(t){if(!t)return null;let e=t.filter(Ep);return e.length==0?null:function(r){return Ip(Mp(r,e))}}function Sp(t){return t!=null?sb(_p(t)):null}function ab(t){if(!t)return null;let e=t.filter(Ep);return e.length==0?null:function(r){let n=Mp(r,e).map(bp);return Ds(n).pipe(x(Ip))}}function Tp(t){return t!=null?ab(_p(t)):null}function hp(t,e){return t===null?[e]:Array.isArray(t)?[...t,e]:[t,e]}function ub(t){return t._rawValidators}function cb(t){return t._rawAsyncValidators}function vc(t){return t?Array.isArray(t)?t:[t]:[]}function Ko(t,e){return Array.isArray(t)?t.includes(e):t===e}function pp(t,e){let r=vc(e);return vc(t).forEach(i=>{Ko(r,i)||r.push(i)}),r}function gp(t,e){return vc(e).filter(r=>!Ko(t,r))}var Jo=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=Sp(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=Tp(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}},Dc=class extends Jo{get formDirective(){return null}get path(){return null}},Yr=class extends Jo{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}},Cc=class{constructor(e){this._cd=e}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}},lb={"[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"},GA=k(p({},lb),{"[class.ng-submitted]":"isSubmitted"}),Hn=(()=>{let e=class e extends Cc{constructor(n){super(n)}};e.\u0275fac=function(i){return new(i||e)(_(Yr,2))},e.\u0275dir=ye({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,o){i&2&&ou("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:[An]});let t=e;return t})();var qr="VALID",Qo="INVALID",Bn="PENDING",Zr="DISABLED";function db(t){return(es(t)?t.validators:t)||null}function fb(t){return Array.isArray(t)?Sp(t):t||null}function hb(t,e){return(es(e)?e.asyncValidators:t)||null}function pb(t){return Array.isArray(t)?Tp(t):t||null}function es(t){return t!=null&&!Array.isArray(t)&&typeof t=="object"}var wc=class{constructor(e,r){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(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 valid(){return this.status===qr}get invalid(){return this.status===Qo}get pending(){return this.status==Bn}get disabled(){return this.status===Zr}get enabled(){return this.status!==Zr}get dirty(){return!this.pristine}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(pp(e,this._rawValidators))}addAsyncValidators(e){this.setAsyncValidators(pp(e,this._rawAsyncValidators))}removeValidators(e){this.setValidators(gp(e,this._rawValidators))}removeAsyncValidators(e){this.setAsyncValidators(gp(e,this._rawAsyncValidators))}hasValidator(e){return Ko(this._rawValidators,e)}hasAsyncValidator(e){return Ko(this._rawAsyncValidators,e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){this.touched=!0,this._parent&&!e.onlySelf&&this._parent.markAsTouched(e)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(e=>e.markAllAsTouched())}markAsUntouched(e={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(r=>{r.markAsUntouched({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}markAsDirty(e={}){this.pristine=!1,this._parent&&!e.onlySelf&&this._parent.markAsDirty(e)}markAsPristine(e={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(r=>{r.markAsPristine({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}markAsPending(e={}){this.status=Bn,e.emitEvent!==!1&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)}disable(e={}){let r=this._parentMarkedDirty(e.onlySelf);this.status=Zr,this.errors=null,this._forEachChild(n=>{n.disable(k(p({},e),{onlySelf:!0}))}),this._updateValue(),e.emitEvent!==!1&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(k(p({},e),{skipPristineCheck:r})),this._onDisabledChange.forEach(n=>n(!0))}enable(e={}){let r=this._parentMarkedDirty(e.onlySelf);this.status=qr,this._forEachChild(n=>{n.enable(k(p({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(k(p({},e),{skipPristineCheck:r})),this._onDisabledChange.forEach(n=>n(!1))}_updateAncestors(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(e){this._parent=e}getRawValue(){return this.value}updateValueAndValidity(e={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===qr||this.status===Bn)&&this._runAsyncValidator(e.emitEvent)),e.emitEvent!==!1&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(e)}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(r=>r._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Zr:qr}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e){if(this.asyncValidator){this.status=Bn,this._hasOwnPendingAsyncValidator=!0;let r=bp(this.asyncValidator(this));this._asyncValidationSubscription=r.subscribe(n=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(n,{emitEvent:e})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(e,r={}){this.errors=e,this._updateControlsErrors(r.emitEvent!==!1)}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){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(e)}_initObservables(){this.valueChanges=new ne,this.statusChanges=new ne}_calculateStatus(){return this._allControlsDisabled()?Zr:this.errors?Qo:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Bn)?Bn:this._anyControlsHaveStatus(Qo)?Qo:qr}_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={}){this.pristine=!this._anyControlsDirty(),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}_updateTouched(e={}){this.touched=this._anyControlsTouched(),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){es(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=fb(this._rawValidators)}_assignAsyncValidators(e){this._rawAsyncValidators=Array.isArray(e)?e.slice():e,this._composedAsyncValidatorFn=pb(this._rawAsyncValidators)}};var xp=new w("CallSetDisabledState",{providedIn:"root",factory:()=>Ec}),Ec="always";function gb(t,e){return[...e.path,t]}function mb(t,e,r=Ec){vb(t,e),e.valueAccessor.writeValue(t.value),(t.disabled||r==="always")&&e.valueAccessor.setDisabledState?.(t.disabled),Db(t,e),wb(t,e),Cb(t,e),yb(t,e)}function mp(t,e){t.forEach(r=>{r.registerOnValidatorChange&&r.registerOnValidatorChange(e)})}function yb(t,e){if(e.valueAccessor.setDisabledState){let r=n=>{e.valueAccessor.setDisabledState(n)};t.registerOnDisabledChange(r),e._registerOnDestroy(()=>{t._unregisterOnDisabledChange(r)})}}function vb(t,e){let r=ub(t);e.validator!==null?t.setValidators(hp(r,e.validator)):typeof r=="function"&&t.setValidators([r]);let n=cb(t);e.asyncValidator!==null?t.setAsyncValidators(hp(n,e.asyncValidator)):typeof n=="function"&&t.setAsyncValidators([n]);let i=()=>t.updateValueAndValidity();mp(e._rawValidators,i),mp(e._rawAsyncValidators,i)}function Db(t,e){e.valueAccessor.registerOnChange(r=>{t._pendingValue=r,t._pendingChange=!0,t._pendingDirty=!0,t.updateOn==="change"&&Ap(t,e)})}function Cb(t,e){e.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,t.updateOn==="blur"&&t._pendingChange&&Ap(t,e),t.updateOn!=="submit"&&t.markAsTouched()})}function Ap(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function wb(t,e){let r=(n,i)=>{e.valueAccessor.writeValue(n),i&&e.viewToModelUpdate(n)};t.registerOnChange(r),e._registerOnDestroy(()=>{t._unregisterOnChange(r)})}function Eb(t,e){if(!t.hasOwnProperty("model"))return!1;let r=t.model;return r.isFirstChange()?!0:!Object.is(e,r.currentValue)}function bb(t){return Object.getPrototypeOf(t.constructor)===XE}function Ib(t,e){if(!e)return null;Array.isArray(e);let r,n,i;return e.forEach(o=>{o.constructor===wp?r=o:bb(o)?n=o:i=o}),i||n||r||null}function yp(t,e){let r=t.indexOf(e);r>-1&&t.splice(r,1)}function vp(t){return typeof t=="object"&&t!==null&&Object.keys(t).length===2&&"value"in t&&"disabled"in t}var Mb=class extends wc{constructor(e=null,r,n){super(db(r),hb(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}),es(r)&&(r.nonNullable||r.initialValueIsDefault)&&(vp(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){yp(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){yp(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){vp(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 _b={provide:Yr,useExisting:zt(()=>ft)},Dp=(()=>Promise.resolve())(),ft=(()=>{let e=class e extends Yr{constructor(n,i,o,s,a,u){super(),this._changeDetectorRef=a,this.callSetDisabledState=u,this.control=new Mb,this._registered=!1,this.name="",this.update=new ne,this._parent=n,this._setValidators(i),this._setAsyncValidators(o),this.valueAccessor=Ib(this,s)}ngOnChanges(n){if(this._checkForErrors(),!this._registered||"name"in n){if(this._registered&&(this._checkName(),this.formDirective)){let i=n.name.previousValue;this.formDirective.removeControl({name:i,path:this._getPath(i)})}this._setUpControl()}"isDisabled"in n&&this._updateDisabled(n),Eb(n,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(n){this.viewModel=n,this.update.emit(n)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){mb(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(n){Dp.then(()=>{this.control.setValue(n,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(n){let i=n.isDisabled.currentValue,o=i!==0&&Ze(i);Dp.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(n){return this._parent?gb(n,this._parent):[n]}};e.\u0275fac=function(i){return new(i||e)(_(Dc,9),_(rb,10),_(ib,10),_(Xo,10),_(Mt,8),_(xp,8))},e.\u0275dir=ye({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[Dr([_b]),An,at]});let t=e;return t})();var Sb=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=ot({type:e}),e.\u0275inj=it({});let t=e;return t})();var Tb=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=ot({type:e}),e.\u0275inj=it({imports:[Sb]});let t=e;return t})();var zn=(()=>{let e=class e{static withConfig(n){return{ngModule:e,providers:[{provide:xp,useValue:n.callSetDisabledState??Ec}]}}};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=ot({type:e}),e.\u0275inj=it({imports:[Tb]});let t=e;return t})();var xb=new w("HighlightJs-Config"),Gn=(()=>{let e=class e{constructor(n,i,o,s,a){this.el=n,this.ngModel=i,this.doc=o,this.ngZone=a,this.lang="html",this.mode="simple",Object.assign(this,s)}escapeHTML(n){return(n||"").replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}init(){this.ngZone.runOutsideAngular(()=>{this.destroy();let n=this.el.nativeElement,i=this.code||""+n.innerHTML.trim(),o=this.doc;if(this.codeEl=o.createElement(this.mode==="default"?"div":"pre"),this.codeEl==null)return;let s=this.mode==="simple";s?(this.lang&&(this.codeEl.className=this.lang),this.parentEl=n.parentNode,this.parentEl.insertBefore(this.codeEl,n.nextSibling)):(this.parentEl=n,this.parentEl.innerHTML="",this.parentEl.appendChild(this.codeEl)),this.codeEl.innerHTML=i;let a=o.defaultView.hljs;a!=null&&(a.configure(p({},this.options)),s?a.highlightElement(this.codeEl):this.codeEl.querySelectorAll("pre code").forEach(u=>{a.highlightElement(u)}))})}destroy(){this.codeEl&&this.parentEl&&(this.parentEl.removeChild(this.codeEl),this.codeEl=void 0)}ngAfterViewInit(){this.init(),this.ngModel?this.modelValue$=this.ngModel.valueChanges?.subscribe(n=>{this.code=this.escapeHTML(n),this.init()}):this.initMutation()}ngOnDestroy(){this.destroy(),this.observer?.disconnect(),this.modelValue$?.unsubscribe()}initMutation(){typeof MutationObserver>"u"||this.ngZone.runOutsideAngular(()=>{this.observer=new MutationObserver(this.init.bind(this)),this.observer.observe(this.el.nativeElement,{characterData:!0,childList:!0,subtree:!0})})}};e.\u0275fac=function(i){return new(i||e)(_(qe),_(ft,8),_(q),_(xb,8),_(H))},e.\u0275dir=ye({type:e,selectors:[["","highlight-js",""]],hostVars:2,hostBindings:function(i,o){i&2&&Co("display",o.mode==="simple"?"none":null)},inputs:{options:"options",lang:"lang",code:"code",mode:"mode"},exportAs:["highlightJs"],standalone:!0});let t=e;return t})();var en=class{constructor(){this.baseURL="./assets/tinymce/",this.fileName="tinymce.min.js"}};var Np=(()=>{let e=class e{constructor(n){this.doc=n,this.list={},this.cached={},this._notify=new Q([])}fixPaths(n){return n=n||[],Array.isArray(n)||(n=[n]),n.map(i=>{let o=typeof i=="string"?{path:i}:i;return o.type||(o.type=o.path.endsWith(".js")||o.callback?"script":"style"),o})}monitor(n){let i=this.fixPaths(n),o=[fn(),ie(s=>s.length!==0)];return i.length>0&&o.push(ie(s=>s.length===i.length&&s.every(a=>a.status==="ok"&&i.find(u=>u.path===a.path)))),this._notify.asObservable().pipe(Zn.apply(this,o))}clear(){this.list={},this.cached={}}load(n){return rs(this,null,function*(){return n=this.fixPaths(n),Promise.all(n.map(i=>i.type==="script"?this.loadScript(i.path,{callback:i.callback}):this.loadStyle(i.path))).then(i=>(this._notify.next(i),Promise.resolve(i)))})}loadScript(n,i){let{innerContent:o}=p({},i);return new Promise(s=>{if(this.list[n]===!0){s(k(p({},this.cached[n]),{status:"loading"}));return}this.list[n]=!0;let a=l=>{l.status==="ok"&&i?.callback?window[i?.callback]=()=>{u(l)}:u(l)},u=l=>{l.type="script",this.cached[n]=l,s(l),this._notify.next([l])},c=this.doc.createElement("script");c.type="text/javascript",c.src=n,c.charset="utf-8",o&&(c.innerHTML=o),c.readyState?c.onreadystatechange=()=>{(c.readyState==="loaded"||c.readyState==="complete")&&(c.onreadystatechange=null,a({path:n,status:"ok"}))}:c.onload=()=>a({path:n,status:"ok"}),c.onerror=l=>a({path:n,status:"error",error:l}),this.doc.getElementsByTagName("head")[0].appendChild(c)})}loadStyle(n,i){let{rel:o,innerContent:s}=p({rel:"stylesheet"},i);return new Promise(a=>{if(this.list[n]===!0){a(this.cached[n]);return}this.list[n]=!0;let u=this.doc.createElement("link");u.rel=o,u.type="text/css",u.href=n,s&&(u.innerHTML=s),this.doc.getElementsByTagName("head")[0].appendChild(u);let c={path:n,status:"ok",type:"style"};this.cached[n]=c,a(c)})}};e.\u0275fac=function(i){return new(i||e)(D(q))},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function Ob(t,e){if(t&1&&Ie(0,"textarea",3),t&2){let r=vr();qt("id",r.id)("placeholder",r.placeholder)}}function Rb(t,e){if(t&1&&(V(0,"div"),Wf(1),j()),t&2){let r=vr();qt("id",r.id)}}function Fb(t,e){if(t&1&&(su(0),W(1),au()),t&2){let r=vr(2);ge(1),uu(r._loading)}}function Pb(t,e){if(t&1&&(V(0,"div",4),wo(1,Fb,2,1,"ng-container",5),j()),t&2){let r=vr();ge(1),ce("ngIf",r._loading)("ngIfElse",r._loadingTpl)}}var kb=["*"],Op=!(typeof document=="object"&&document),tn=(()=>{let e=class e{set disabled(n){this._disabled=n,this.setDisabled()}set loading(n){n instanceof Cr?(this._loading=null,this._loadingTpl=n):this._loading=n}get instance(){return this._instance}_getWin(){return this.doc.defaultView||window}constructor(n,i,o,s,a){this.defConfig=n,this.lazySrv=i,this.ngZone=o,this.doc=s,this.cd=a,this.value="",this.load=!0,this.id=`_tinymce-${Math.random().toString(36).substring(2)}`,this.placeholder="",this.inline=!1,this._disabled=!1,this._loading=null,this._loadingTpl=null,this.delay=0,this.ready=new ne}initDelay(){Op||setTimeout(()=>this.init(),Math.max(0,this.delay))}init(){let n=this._getWin();if(!n.tinymce)throw new Error("tinymce js\u6587\u4EF6\u52A0\u8F7D\u5931\u8D25");let{defConfig:i,config:o,id:s,inline:a}=this;if(this._instance)return;if(i?.baseURL){let l=""+i.baseURL;l.endsWith("/")&&(l=l.substring(0,l.length-1)),n.tinymce.baseURL=l}let u=p(p({},i?.config),o),c=k(p(p({selector:"#"+s,inline:a},i?.config),o),{setup:l=>{this._instance=l,this.onChange&&l.on("change keyup",()=>{this.value=l.getContent(),this.ngZone.run(()=>this.onChange(this.value))}),typeof u.setup=="function"&&u.setup(l)},init_instance_callback:l=>{l&&this.value&&l.setContent(this.value),this.setDisabled(),typeof u.init_instance_callback=="function"&&u.init_instance_callback(l),this.ready.emit(l)}});u.auto_focus&&(c.auto_focus=s),this.ngZone.runOutsideAngular(()=>n.tinymce.init(c)),this.load=!1,this.cd.detectChanges()}destroy(){this._instance!=null&&(this.ngZone.runOutsideAngular(()=>{this._instance.off(),this._instance.remove()}),this._instance=null)}setDisabled(){this._instance&&this.ngZone.runOutsideAngular(()=>{let n=this._disabled?"readonly":"design",i=this._instance.setMode;typeof i=="function"?i(n):this._instance.mode.set(n)})}ngAfterViewInit(){if(Op)return;if(this._getWin().tinymce){this.initDelay();return}let{defConfig:n}=this,i=n&&n.baseURL,o=n&&n.fileName,s=(i||"./assets/tinymce/")+(o||"tinymce.min.js");this.lazySrv.monitor(s).subscribe(()=>this.initDelay()),this.lazySrv.load(s)}ngOnChanges(n){this._instance&&n.config&&(this.destroy(),this.initDelay())}ngOnDestroy(){this.destroy()}writeValue(n){this.value=n||"",this._instance&&this.ngZone.runOutsideAngular(()=>this._instance.setContent(this.value))}registerOnChange(n){this.onChange=n}registerOnTouched(n){this.onTouched=n}setDisabledState(n){this.disabled=n,this.setDisabled()}};e.\u0275fac=function(i){return new(i||e)(_(en,8),_(Np),_(H),_(q),_(Mt))},e.\u0275cmp=Ee({type:e,selectors:[["tinymce"]],inputs:{config:"config",placeholder:"placeholder",inline:["inline","inline",Ze],disabled:["disabled","disabled",Ze],loading:"loading",delay:["delay","delay",fu]},outputs:{ready:"ready"},exportAs:["tinymce"],standalone:!0,features:[Dr([{provide:Xo,useExisting:zt(()=>e),multi:!0}]),mr,at,_e],ngContentSelectors:kb,decls:3,vars:3,consts:[["class","tinymce-selector",4,"ngIf"],[4,"ngIf"],["class","loading",4,"ngIf"],[1,"tinymce-selector"],[1,"loading"],[4,"ngIf","ngIfElse"]],template:function(i,o){i&1&&(Gf(),wo(0,Ob,1,2,"textarea",0)(1,Rb,2,1,"div",1)(2,Pb,2,2,"div",2)),i&2&&(ce("ngIf",!o.inline),ge(1),ce("ngIf",o.inline),ge(1),ce("ngIf",o.load))},dependencies:[uh],styles:[`tinymce .tinymce-selector{display:none} +`],encapsulation:2,changeDetection:0});let t=e;return t})();function Rp(t){return Et([{provide:en,useValue:t}])}var Fp=(()=>{let e=class e{constructor(n){this.san=n,this.html=` +

TinyMCE Logo +

+

Welcome to the TinyMCE Cloud demo!

+
Note, this includes some "enterprise/premium" features.
Visit the pricing page to learn more about our premium plugins.
+

Please try out the features provided in this full featured example.

+ +

Got questions or need help?

+ + +

A simple table to play with

+ + + + + + + + + + + + + + + + + + + + +
ProductCostReally?
TinyMCE CloudGet started for freeYES!
PluploadFreeYES!
+ +

Found a bug?

+

If you think you have found a bug please create an issue on the GitHub repo to report it to the developers.

+ +

Finally ...

+

Don't forget to check out our other product Plupload, your ultimate upload solution featuring HTML5 upload support.

+

Thanks for supporting TinyMCE! We hope it helps you and your users create great content.
All the best from the TinyMCE team.

+ `,this.config={height:350}}};e.\u0275fac=function(i){return new(i||e)(_(xr))},e.\u0275cmp=Ee({type:e,selectors:[["app-home"]],standalone:!0,features:[_e],decls:17,vars:4,consts:[[1,"card","mb-3"],[1,"card-header"],[1,"card-body"],["highlight-js",""],[3,"ngModel","config","ngModelChange"],[1,"card","card-outline-secondary","mt-3"],[1,"card-bodyquote",3,"innerHTML"],["disabled","",3,"ngModel","ngModelChange"]],template:function(i,o){i&1&&(V(0,"div",0)(1,"div",1),W(2,"Basic"),j(),V(3,"div",2)(4,"textarea",3),W(5,"<"),W(6,'tinymce [config]="config" [(ngModel)]="html">'),j(),V(7,"tinymce",4),Me("ngModelChange",function(a){return o.html=a}),j(),W(8," Result: "),V(9,"div",5)(10,"div",2),Ie(11,"blockquote",6),j()()()(),V(12,"div",0)(13,"div",1),W(14,"Disabled"),j(),V(15,"div",2)(16,"tinymce",7),Me("ngModelChange",function(a){return o.html=a}),j()()()),i&2&&(ge(7),ce("ngModel",o.html)("config",o.config),ge(4),ce("innerHTML",o.san.bypassSecurityTrustHtml(o.html),ho),ge(5),ce("ngModel",o.html))},dependencies:[zn,Hn,ft,Gn,tn],encapsulation:2});let t=e;return t})();var Pp=(()=>{let e=class e{constructor(){this.html=`now: ${+new Date}`,this.config={height:500,menubar:!1,plugins:["advlist autolink lists link image charmap print preview anchor","searchreplace visualblocks code fullscreen","insertdatetime media table paste code help wordcount"],toolbar:"undo redo | formatselect | bold italic backcolor | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | removeformat | help",content_css:"//www.tiny.cloud/css/codepen.min.css"}}ready(n){console.log("ready",n)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=Ee({type:e,selectors:[["app-other"]],standalone:!0,features:[_e],decls:8,vars:2,consts:[[1,"card","mb-3"],[1,"card-header"],[1,"card-body"],["highlight-js",""],["loading","\u52A0\u8F7D\u4E2D\u2026\u2026",3,"ngModel","config","ngModelChange","ready"]],template:function(i,o){i&1&&(V(0,"div",0)(1,"div",1),W(2,"Loading"),j(),V(3,"div",2)(4,"textarea",3),W(5,"<"),W(6,'tinymce [config]="config" [(ngModel)]="html">'),j(),V(7,"tinymce",4),Me("ngModelChange",function(a){return o.html=a})("ready",function(a){return o.ready(a)}),j()()()),i&2&&(ge(7),ce("ngModel",o.html)("config",o.config))},dependencies:[zn,Hn,ft,Gn,tn]});let t=e;return t})();var kp=(()=>{let e=class e{constructor(n){this.san=n,this.html=` +
+
+

+

The world’s first rich text editor in the cloud

+

+
+

+ Have you heard about Tiny Cloud? It’s the first step in our journey to help you deliver great content creation + experiences, no matter your level of expertise. 50,000 developers already agree. They get free access to our global CDN, image + proxy services and auto updates to the TinyMCE editor. They’re also ready for some exciting updates coming soon. +

+

+ One of these enhancements is Tiny Drive: imagine file management for TinyMCE, in the cloud, made super easy. + Learn more at tiny.cloud/tinydrive, where you’ll find a working demo and an + opportunity to provide feedback to the product team. +

+
+
+

An editor for every project

+
+

Here are some of our customer’s most common use cases for TinyMCE:

+
    +
  • Content Management Systems (e.g. WordPress, Umbraco)
  • +
  • Learning Management Systems (e.g. Blackboard)
  • +
  • Customer Relationship Management and marketing automation (e.g. Marketo)
  • +
  • Email marketing (e.g. Constant Contact)
  • +
  • Content creation in SaaS systems (e.g. Eventbrite, Evernote, GoFundMe, Zendesk)
  • +
+

+ And those use cases are just the start. TinyMCE is incredibly flexible, and with hundreds of APIs there’s likely a + solution for your editor project. If you haven’t experienced Tiny Cloud, get started today. You’ll even get a free + trial of our premium plugins – no credit card required! +

+
+
`}ready(n){console.log("ready",n)}};e.\u0275fac=function(i){return new(i||e)(_(xr))},e.\u0275cmp=Ee({type:e,selectors:[["app-inline"]],standalone:!0,features:[_e],decls:12,vars:2,consts:[[1,"card","mb-3"],[1,"card-header"],[1,"card-body"],["highlight-js",""],["inline","",3,"ngModel","ngModelChange"],[1,"card","card-outline-secondary","mt-3"],[1,"card-bodyquote",3,"innerHTML"]],template:function(i,o){i&1&&(V(0,"div",0)(1,"div",1),W(2,"Inline mode"),j(),V(3,"div",2)(4,"textarea",3),W(5,"<"),W(6,'tinymce [config]="config" [(ngModel)]="html" inline>'),j(),V(7,"tinymce",4),Me("ngModelChange",function(a){return o.html=a}),j(),W(8," Result: "),V(9,"div",5)(10,"div",2),Ie(11,"blockquote",6),j()()()()),i&2&&(ge(7),ce("ngModel",o.html),ge(4),ce("innerHTML",o.san.bypassSecurityTrustHtml(o.html),ho))},dependencies:[zn,Hn,ft,Gn,tn],encapsulation:2});let t=e;return t})();var Lp=[{path:"",component:Fp},{path:"other",component:Pp},{path:"inline",component:kp}];Sh(fp,{providers:[Dh(),lp(Lp,dp()),Rp({baseURL:"//cdn.tiny.cloud/1/no-api-key/tinymce/6/"})]}).catch(t=>console.error(t)); diff --git a/main.2b5518a7badec099.js b/main.2b5518a7badec099.js deleted file mode 100644 index fbaca0a..0000000 --- a/main.2b5518a7badec099.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkngx_tinymce=self.webpackChunkngx_tinymce||[]).push([[179],{819:()=>{function te(e){return"function"==typeof e}function Eo(e){const n=e(r=>{Error.call(r),r.stack=(new Error).stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}const Qi=Eo(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:\n${n.map((r,o)=>`${o+1}) ${r.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=n});function bo(e,t){if(e){const n=e.indexOf(t);0<=n&&e.splice(n,1)}}class _t{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;const{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(const i of n)i.remove(this);else n.remove(this);const{initialTeardown:r}=this;if(te(r))try{r()}catch(i){t=i instanceof Qi?i.errors:[i]}const{_finalizers:o}=this;if(o){this._finalizers=null;for(const i of o)try{eh(i)}catch(s){t=t??[],s instanceof Qi?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Qi(t)}}add(t){var n;if(t&&t!==this)if(this.closed)eh(t);else{if(t instanceof _t){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(n=this._finalizers)&&void 0!==n?n:[]).push(t)}}_hasParent(t){const{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){const{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){const{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&bo(n,t)}remove(t){const{_finalizers:n}=this;n&&bo(n,t),t instanceof _t&&t._removeParent(this)}}_t.EMPTY=(()=>{const e=new _t;return e.closed=!0,e})();const Kf=_t.EMPTY;function Xf(e){return e instanceof _t||e&&"closed"in e&&te(e.remove)&&te(e.add)&&te(e.unsubscribe)}function eh(e){te(e)?e():e.unsubscribe()}const qn={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Ji={setTimeout(e,t,...n){const{delegate:r}=Ji;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){const{delegate:t}=Ji;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function th(e){Ji.setTimeout(()=>{const{onUnhandledError:t}=qn;if(!t)throw e;t(e)})}function nh(){}const bE=_u("C",void 0,void 0);function _u(e,t,n){return{kind:e,value:t,error:n}}let Zn=null;function Ki(e){if(qn.useDeprecatedSynchronousErrorHandling){const t=!Zn;if(t&&(Zn={errorThrown:!1,error:null}),e(),t){const{errorThrown:n,error:r}=Zn;if(Zn=null,n)throw r}}else e()}class wu extends _t{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Xf(t)&&t.add(this)):this.destination=RE}static create(t,n,r){return new Mo(t,n,r)}next(t){this.isStopped?bu(function SE(e){return _u("N",e,void 0)}(t),this):this._next(t)}error(t){this.isStopped?bu(function ME(e){return _u("E",void 0,e)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?bu(bE,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const AE=Function.prototype.bind;function Eu(e,t){return AE.call(e,t)}class TE{constructor(t){this.partialObserver=t}next(t){const{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){Xi(r)}}error(t){const{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){Xi(r)}else Xi(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Xi(n)}}}class Mo extends wu{constructor(t,n,r){let o;if(super(),te(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&qn.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&Eu(t.next,i),error:t.error&&Eu(t.error,i),complete:t.complete&&Eu(t.complete,i)}):o=t}this.destination=new TE(o)}}function Xi(e){qn.useDeprecatedSynchronousErrorHandling?function IE(e){qn.useDeprecatedSynchronousErrorHandling&&Zn&&(Zn.errorThrown=!0,Zn.error=e)}(e):th(e)}function bu(e,t){const{onStoppedNotification:n}=qn;n&&Ji.setTimeout(()=>n(e,t))}const RE={closed:!0,next:nh,error:function NE(e){throw e},complete:nh},Mu="function"==typeof Symbol&&Symbol.observable||"@@observable";function Tn(e){return e}function rh(...e){return oh(e)}function oh(e){return 0===e.length?Tn:1===e.length?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}let ye=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){const r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){const i=function xE(e){return e&&e instanceof wu||function OE(e){return e&&te(e.next)&&te(e.error)&&te(e.complete)}(e)&&Xf(e)}(n)?n:new Mo(n,r,o);return Ki(()=>{const{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return new(r=ih(r))((o,i)=>{const s=new Mo({next:a=>{try{n(a)}catch(u){i(u),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return null===(r=this.source)||void 0===r?void 0:r.subscribe(n)}[Mu](){return this}pipe(...n){return oh(n)(this)}toPromise(n){return new(n=ih(n))((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function ih(e){var t;return null!==(t=e??qn.Promise)&&void 0!==t?t:Promise}const FE=Eo(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let fn=(()=>{class e extends ye{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){const r=new sh(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new FE}next(n){Ki(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const r of this.currentObservers)r.next(n)}})}error(n){Ki(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;const{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){Ki(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return(null===(n=this.observers)||void 0===n?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){const{hasError:r,isStopped:o,observers:i}=this;return r||o?Kf:(this.currentObservers=null,i.push(n),new _t(()=>{this.currentObservers=null,bo(i,n)}))}_checkFinalizedStatuses(n){const{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){const n=new ye;return n.source=this,n}}return e.create=(t,n)=>new sh(t,n),e})();class sh extends fn{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;null===(r=null===(n=this.destination)||void 0===n?void 0:n.next)||void 0===r||r.call(n,t)}error(t){var n,r;null===(r=null===(n=this.destination)||void 0===n?void 0:n.error)||void 0===r||r.call(n,t)}complete(){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===n||n.call(t)}_subscribe(t){var n,r;return null!==(r=null===(n=this.source)||void 0===n?void 0:n.subscribe(t))&&void 0!==r?r:Kf}}class ut extends fn{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){const{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}}function ah(e){return te(e?.lift)}function xe(e){return t=>{if(ah(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function Se(e,t,n,r,o){return new PE(e,t,n,r,o)}class PE extends wu{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(u){t.error(u)}}:super._next,this._error=o?function(a){try{o(a)}catch(u){t.error(u)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:n}=this;super.unsubscribe(),!n&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}}}function Z(e,t){return xe((n,r)=>{let o=0;n.subscribe(Se(r,i=>{r.next(e.call(t,i,o++))}))})}function es(e,t,n,r){var s,o=arguments.length,i=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(i=(o<3?s(i):o>3?s(t,n,i):s(t,n))||i);return o>3&&i&&Object.defineProperty(t,n,i),i}function Nn(e){return this instanceof Nn?(this.v=e,this):new Nn(e)}function dh(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,t=e[Symbol.asyncIterator];return t?t.call(e):(e=function Tu(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,u){!function o(i,s,a,u){Promise.resolve(u).then(function(l){i({value:l,done:a})},s)}(a,u,(s=e[i](s)).done,s.value)})}}}const fh=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function hh(e){return te(e?.then)}function ph(e){return te(e[Mu])}function gh(e){return Symbol.asyncIterator&&te(e?.[Symbol.asyncIterator])}function mh(e){return new TypeError(`You provided ${null!==e&&"object"==typeof e?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const yh=function XE(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function vh(e){return te(e?.[yh])}function Dh(e){return function ch(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o,r=n.apply(e,t||[]),i=[];return o={},s("next"),s("throw"),s("return"),o[Symbol.asyncIterator]=function(){return this},o;function s(f){r[f]&&(o[f]=function(h){return new Promise(function(p,g){i.push([f,h,p,g])>1||a(f,h)})})}function a(f,h){try{!function u(f){f.value instanceof Nn?Promise.resolve(f.value.v).then(l,c):d(i[0][2],f)}(r[f](h))}catch(p){d(i[0][3],p)}}function l(f){a("next",f)}function c(f){a("throw",f)}function d(f,h){f(h),i.shift(),i.length&&a(i[0][0],i[0][1])}}(this,arguments,function*(){const n=e.getReader();try{for(;;){const{value:r,done:o}=yield Nn(n.read());if(o)return yield Nn(void 0);yield yield Nn(r)}}finally{n.releaseLock()}})}function Ch(e){return te(e?.getReader)}function wt(e){if(e instanceof ye)return e;if(null!=e){if(ph(e))return function eb(e){return new ye(t=>{const n=e[Mu]();if(te(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(fh(e))return function tb(e){return new ye(t=>{for(let n=0;n{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,th)})}(e);if(gh(e))return _h(e);if(vh(e))return function rb(e){return new ye(t=>{for(const n of e)if(t.next(n),t.closed)return;t.complete()})}(e);if(Ch(e))return function ob(e){return _h(Dh(e))}(e)}throw mh(e)}function _h(e){return new ye(t=>{(function ib(e,t){var n,r,o,i;return function uh(e,t,n,r){return new(n||(n=Promise))(function(i,s){function a(c){try{l(r.next(c))}catch(d){s(d)}}function u(c){try{l(r.throw(c))}catch(d){s(d)}}function l(c){c.done?i(c.value):function o(i){return i instanceof n?i:new n(function(s){s(i)})}(c.value).then(a,u)}l((r=r.apply(e,t||[])).next())})}(this,void 0,void 0,function*(){try{for(n=dh(e);!(r=yield n.next()).done;)if(t.next(r.value),t.closed)return}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})})(e,t).catch(n=>t.error(n))})}function hn(e,t,n,r=0,o=!1){const i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function Fe(e,t,n=1/0){return te(t)?Fe((r,o)=>Z((i,s)=>t(r,i,o,s))(wt(e(r,o))),n):("number"==typeof t&&(n=t),xe((r,o)=>function sb(e,t,n,r,o,i,s,a){const u=[];let l=0,c=0,d=!1;const f=()=>{d&&!u.length&&!l&&t.complete()},h=g=>l{i&&t.next(g),l++;let y=!1;wt(n(g,c++)).subscribe(Se(t,_=>{o?.(_),i?h(_):t.next(_)},()=>{y=!0},void 0,()=>{if(y)try{for(l--;u.length&&lp(_)):p(_)}f()}catch(_){t.error(_)}}))};return e.subscribe(Se(t,h,()=>{d=!0,f()})),()=>{a?.()}}(r,o,e,n)))}function Dr(e=1/0){return Fe(Tn,e)}const Wt=new ye(e=>e.complete());function Nu(e){return e[e.length-1]}function wh(e){return te(Nu(e))?e.pop():void 0}function So(e){return function ub(e){return e&&te(e.schedule)}(Nu(e))?e.pop():void 0}function Eh(e,t=0){return xe((n,r)=>{n.subscribe(Se(r,o=>hn(r,e,()=>r.next(o),t),()=>hn(r,e,()=>r.complete(),t),o=>hn(r,e,()=>r.error(o),t)))})}function bh(e,t=0){return xe((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Mh(e,t){if(!e)throw new Error("Iterable cannot be null");return new ye(n=>{hn(n,t,()=>{const r=e[Symbol.asyncIterator]();hn(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function Ie(e,t){return t?function gb(e,t){if(null!=e){if(ph(e))return function cb(e,t){return wt(e).pipe(bh(t),Eh(t))}(e,t);if(fh(e))return function fb(e,t){return new ye(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}(e,t);if(hh(e))return function db(e,t){return wt(e).pipe(bh(t),Eh(t))}(e,t);if(gh(e))return Mh(e,t);if(vh(e))return function hb(e,t){return new ye(n=>{let r;return hn(n,t,()=>{r=e[yh](),hn(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){return void n.error(s)}i?n.complete():n.next(o)},0,!0)}),()=>te(r?.return)&&r.return()})}(e,t);if(Ch(e))return function pb(e,t){return Mh(Dh(e),t)}(e,t)}throw mh(e)}(e,t):wt(e)}function x(...e){return Ie(e,So(e))}function Ru(e={}){const{connector:t=(()=>new fn),resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,u,l=0,c=!1,d=!1;const f=()=>{a?.unsubscribe(),a=void 0},h=()=>{f(),s=u=void 0,c=d=!1},p=()=>{const g=s;h(),g?.unsubscribe()};return xe((g,y)=>{l++,!d&&!c&&f();const _=u=u??t();y.add(()=>{l--,0===l&&!d&&!c&&(a=Ou(p,o))}),_.subscribe(y),!s&&l>0&&(s=new Mo({next:m=>_.next(m),error:m=>{d=!0,f(),a=Ou(h,n,m),_.error(m)},complete:()=>{c=!0,f(),a=Ou(h,r),_.complete()}}),wt(g).subscribe(s))})(i)}}function Ou(e,t,...n){if(!0===t)return void e();if(!1===t)return;const r=new Mo({next:()=>{r.unsubscribe(),e()}});return wt(t(...n)).subscribe(r)}function vb(e,t){return e===t}function K(e){for(let t in e)if(e[t]===K)return t;throw Error("Could not find renamed property on target object.")}function xu(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function Ae(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(Ae).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function Fu(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const Db=K({__forward_ref__:K});function ne(e){return e.__forward_ref__=ne,e.toString=function(){return Ae(this())},e}function k(e){return Pu(e)?e():e}function Pu(e){return"function"==typeof e&&e.hasOwnProperty(Db)&&e.__forward_ref__===ne}function ku(e){return e&&!!e.\u0275providers}const Sh="https://g.co/ng/security#xss";class C extends Error{constructor(t,n){super(function ts(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,n)),this.code=t}}function L(e){return"string"==typeof e?e:null==e?"":String(e)}function ns(e,t){throw new C(-201,!1)}function Et(e,t){null==e&&function J(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function A(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function ct(e){return{providers:e.providers||[],imports:e.imports||[]}}function rs(e){return Ih(e,os)||Ih(e,Th)}function Ih(e,t){return e.hasOwnProperty(t)?e[t]:null}function Ah(e){return e&&(e.hasOwnProperty(Lu)||e.hasOwnProperty(Ib))?e[Lu]:null}const os=K({\u0275prov:K}),Lu=K({\u0275inj:K}),Th=K({ngInjectableDef:K}),Ib=K({ngInjectorDef:K});var T=(()=>((T=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))();let Vu;function Ke(e){const t=Vu;return Vu=e,t}function Rh(e,t,n){const r=rs(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&T.Optional?null:void 0!==t?t:void ns(Ae(e))}const ie=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),Io={},Hu="__NG_DI_FLAG__",is="ngTempTokenPath",Tb=/\n/gm,Oh="__source";let Cr;function On(e){const t=Cr;return Cr=e,t}function Ob(e,t=T.Default){if(void 0===Cr)throw new C(-203,!1);return null===Cr?Rh(e,void 0,t):Cr.get(e,t&T.Optional?null:void 0,t)}function I(e,t=T.Default){return(function Nh(){return Vu}()||Ob)(k(e),t)}function M(e,t=T.Default){return I(e,ss(t))}function ss(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function ju(e){const t=[];for(let n=0;n((qt=qt||{})[qt.OnPush=0]="OnPush",qt[qt.Default=1]="Default",qt))(),dt=(()=>{return(e=dt||(dt={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",dt;var e})();const gn={},q=[],as=K({\u0275cmp:K}),Bu=K({\u0275dir:K}),$u=K({\u0275pipe:K}),Fh=K({\u0275mod:K}),mn=K({\u0275fac:K}),To=K({__NG_ELEMENT_ID__:K}),Ph=K({__NG_ENV_ID__:K});function kh(e,t,n){let r=e.length;for(;;){const o=e.indexOf(t,n);if(-1===o)return o;if(0===o||e.charCodeAt(o-1)<=32){const i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}function Uu(e,t,n){let r=0;for(;rt){s=i-1;break}}}for(;ii?"":o[d+1].toLowerCase();const h=8&r?f:null;if(h&&-1!==kh(h,l,0)||2&r&&l!==f){if(Ot(r))return!1;s=!0}}}}else{if(!s&&!Ot(r)&&!Ot(u))return!1;if(s&&Ot(u))continue;s=!1,r=u|1&r}}return Ot(r)||s}function Ot(e){return 0==(1&e)}function Hb(e,t,n,r){if(null===t)return-1;let o=0;if(r||!n){let i=!1;for(;o-1)for(n++;n0?'="'+a+'"':"")+"]"}else 8&r?o+="."+s:4&r&&(o+=" "+s);else""!==o&&!Ot(s)&&(t+=Uh(i,o),o=""),r=s,i=i||!Ot(r);n++}return""!==o&&(t+=Uh(i,o)),t}function xn(e){return pn(()=>{const t=zh(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===qt.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,data:e.data||{},encapsulation:e.encapsulation||dt.Emulated,styles:e.styles||q,_:null,schemas:e.schemas||null,tView:null,id:""};Wh(n);const r=e.dependencies;return n.directiveDefs=us(r,!1),n.pipeDefs=us(r,!0),n.id=function Kb(e){let t=0;const n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const o of n)t=Math.imul(31,t)+o.charCodeAt(0)<<0;return t+=2147483648,"c"+t}(n),n})}function Zb(e){return Y(e)||Be(e)}function Yb(e){return null!==e}function bt(e){return pn(()=>({type:e.type,bootstrap:e.bootstrap||q,declarations:e.declarations||q,imports:e.imports||q,exports:e.exports||q,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Gh(e,t){if(null==e)return gn;const n={};for(const r in e)if(e.hasOwnProperty(r)){let o=e[r],i=o;Array.isArray(o)&&(i=o[1],o=o[0]),n[o]=r,t&&(t[o]=i)}return n}function F(e){return pn(()=>{const t=zh(e);return Wh(t),t})}function Y(e){return e[as]||null}function Be(e){return e[Bu]||null}function et(e){return e[$u]||null}function ft(e,t){const n=e[Fh]||null;if(!n&&!0===t)throw new Error(`Type ${Ae(e)} does not have '\u0275mod' property.`);return n}function zh(e){const t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,exportAs:e.exportAs||null,standalone:!0===e.standalone,selectors:e.selectors||q,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Gh(e.inputs,t),outputs:Gh(e.outputs)}}function Wh(e){e.features?.forEach(t=>t(e))}function us(e,t){if(!e)return null;const n=t?et:Zb;return()=>("function"==typeof e?e():e).map(r=>n(r)).filter(Yb)}const Te=0,E=1,j=2,de=3,xt=4,Yn=5,$e=6,wr=7,ge=8,Er=9,Qn=10,V=11,Ro=12,qh=13,br=14,_e=15,Oo=16,Mr=17,Zt=18,xo=19,Zh=20,Fn=21,yn=22,ls=23,cs=24,z=25,Gu=1,Yh=2,Yt=7,ds=8,Sr=9,Le=11;function ht(e){return Array.isArray(e)&&"object"==typeof e[Gu]}function tt(e){return Array.isArray(e)&&!0===e[Gu]}function zu(e){return 0!=(4&e.flags)}function Jn(e){return e.componentOffset>-1}function fs(e){return 1==(1&e.flags)}function Ft(e){return!!e.template}function Wu(e){return 0!=(512&e[j])}function Kn(e,t){return e.hasOwnProperty(mn)?e[mn]:null}let rM=ie.WeakRef??class nM{constructor(t){this.ref=t}deref(){return this.ref}},iM=0,Qt=null,hs=!1;function Pe(e){const t=Qt;return Qt=e,t}class ep{constructor(){this.id=iM++,this.ref=function oM(e){return new rM(e)}(this),this.producers=new Map,this.consumers=new Map,this.trackingVersion=0,this.valueVersion=0}consumerPollProducersForChange(){for(const[t,n]of this.producers){const r=n.producerNode.deref();if(void 0!==r&&n.atTrackingVersion===this.trackingVersion){if(r.producerPollStatus(n.seenValueVersion))return!0}else this.producers.delete(t),r?.consumers.delete(this.id)}return!1}producerMayHaveChanged(){const t=hs;hs=!0;try{for(const[n,r]of this.consumers){const o=r.consumerNode.deref();void 0!==o&&o.trackingVersion===r.atTrackingVersion?o.onConsumerDependencyMayHaveChanged():(this.consumers.delete(n),o?.producers.delete(this.id))}}finally{hs=t}}producerAccessed(){if(hs)throw new Error("");if(null===Qt)return;let t=Qt.producers.get(this.id);void 0===t?(t={consumerNode:Qt.ref,producerNode:this.ref,seenValueVersion:this.valueVersion,atTrackingVersion:Qt.trackingVersion},Qt.producers.set(this.id,t),this.consumers.set(Qt.id,t)):(t.seenValueVersion=this.valueVersion,t.atTrackingVersion=Qt.trackingVersion)}get hasProducers(){return this.producers.size>0}get producerUpdatesAllowed(){return!1!==Qt?.consumerAllowSignalWrites}producerPollStatus(t){return this.valueVersion!==t||(this.onProducerUpdateValueVersion(),this.valueVersion!==t)}}let tp=null;const rp=()=>{};class lM extends ep{constructor(t,n,r){super(),this.watch=t,this.schedule=n,this.dirty=!1,this.cleanupFn=rp,this.registerOnCleanup=o=>{this.cleanupFn=o},this.consumerAllowSignalWrites=r}notify(){this.dirty||this.schedule(this),this.dirty=!0}onConsumerDependencyMayHaveChanged(){this.notify()}onProducerUpdateValueVersion(){}run(){if(this.dirty=!1,0!==this.trackingVersion&&!this.consumerPollProducersForChange())return;const t=Pe(this);this.trackingVersion++;try{this.cleanupFn(),this.cleanupFn=rp,this.watch(this.registerOnCleanup)}finally{Pe(t)}}cleanup(){this.cleanupFn()}}class cM{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function pt(){return op}function op(e){return e.type.prototype.ngOnChanges&&(e.setInput=fM),dM}function dM(){const e=sp(this),t=e?.current;if(t){const n=e.previous;if(n===gn)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function fM(e,t,n,r){const o=this.declaredInputs[n],i=sp(e)||function hM(e,t){return e[ip]=t}(e,{previous:gn,current:null}),s=i.current||(i.current={}),a=i.previous,u=a[o];s[o]=new cM(u&&u.currentValue,t,a===gn),e[r]=t}pt.ngInherit=!0;const ip="__ngSimpleChanges__";function sp(e){return e[ip]||null}const Jt=function(e,t,n){};function ue(e){for(;Array.isArray(e);)e=e[Te];return e}function ms(e,t){return ue(t[e])}function nt(e,t){return ue(t[e.index])}function lp(e,t){return e.data[t]}function rt(e,t){const n=t[e];return ht(n)?n:n[Te]}function ys(e){return 128==(128&e[j])}function Pn(e,t){return null==t?null:e[t]}function cp(e){e[Mr]=0}function DM(e){1024&e[j]||(e[j]|=1024,fp(e,1))}function dp(e){1024&e[j]&&(e[j]&=-1025,fp(e,-1))}function fp(e,t){let n=e[de];if(null===n)return;n[Yn]+=t;let r=n;for(n=n[de];null!==n&&(1===t&&1===r[Yn]||-1===t&&0===r[Yn]);)n[Yn]+=t,r=n,n=n[de]}const P={lFrame:Ep(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function gp(){return P.bindingsEnabled}function Ar(){return null!==P.skipHydrationRootTNode}function D(){return P.lFrame.lView}function W(){return P.lFrame.tView}function Ve(){let e=mp();for(;null!==e&&64===e.type;)e=e.parent;return e}function mp(){return P.lFrame.currentTNode}function Kt(e,t){const n=P.lFrame;n.currentTNode=e,n.isParent=t}function Ku(){return P.lFrame.isParent}function Xu(){P.lFrame.isParent=!1}function Tr(){return P.lFrame.bindingIndex++}function xM(e,t){const n=P.lFrame;n.bindingIndex=n.bindingRootIndex=e,el(t)}function el(e){P.lFrame.currentDirectiveIndex=e}function nl(e){P.lFrame.currentQueryIndex=e}function PM(e){const t=e[E];return 2===t.type?t.declTNode:1===t.type?e[$e]:null}function _p(e,t,n){if(n&T.SkipSelf){let o=t,i=e;for(;!(o=o.parent,null!==o||n&T.Host||(o=PM(i),null===o||(i=i[br],10&o.type))););if(null===o)return!1;t=o,e=i}const r=P.lFrame=wp();return r.currentTNode=t,r.lView=e,!0}function rl(e){const t=wp(),n=e[E];P.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function wp(){const e=P.lFrame,t=null===e?null:e.child;return null===t?Ep(e):t}function Ep(e){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function bp(){const e=P.lFrame;return P.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Mp=bp;function ol(){const e=bp();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function qe(){return P.lFrame.selectedIndex}function Xn(e){P.lFrame.selectedIndex=e}function fe(){const e=P.lFrame;return lp(e.tView,e.selectedIndex)}let Ip=!0;function vs(){return Ip}function kn(e){Ip=e}function Ds(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[u]<0&&(e[Mr]+=65536),(a>12>16&&(3&e[j])===t&&(e[j]+=4096,Tp(a,i)):Tp(a,i)}const Nr=-1;class ko{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function Np(e){return e!==Nr}function ws(e){return 32767&e}function Es(e,t){let n=function qM(e){return e>>16}(e),r=t;for(;n>0;)r=r[br],n--;return r}let al=!0;function bs(e){const t=al;return al=e,t}const Rp=255,Op=5;let ZM=0;const Xt={};function Ms(e,t){const n=xp(e,t);if(-1!==n)return n;const r=t[E];r.firstCreatePass&&(e.injectorIndex=t.length,ul(r.data,e),ul(t,null),ul(r.blueprint,null));const o=ll(e,t),i=e.injectorIndex;if(Np(o)){const s=ws(o),a=Es(o,t),u=a[E].data;for(let l=0;l<8;l++)t[i+l]=a[s+l]|u[s+l]}return t[i+8]=o,i}function ul(e,t){e.push(0,0,0,0,0,0,0,0,t)}function xp(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function ll(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;null!==o;){if(r=jp(o),null===r)return Nr;if(n++,o=o[br],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return Nr}function cl(e,t,n){!function YM(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(To)&&(r=n[To]),null==r&&(r=n[To]=ZM++);const o=r&Rp;t.data[e+(o>>Op)]|=1<=0?t&Rp:XM:t}(n);if("function"==typeof i){if(!_p(t,e,r))return r&T.Host?Fp(o,0,r):Pp(t,n,r,o);try{const s=i(r);if(null!=s||r&T.Optional)return s;ns()}finally{Mp()}}else if("number"==typeof i){let s=null,a=xp(e,t),u=Nr,l=r&T.Host?t[_e][$e]:null;for((-1===a||r&T.SkipSelf)&&(u=-1===a?ll(e,t):t[a+8],u!==Nr&&Hp(r,!1)?(s=t[E],a=ws(u),t=Es(u,t)):a=-1);-1!==a;){const c=t[E];if(Vp(i,a,c.data)){const d=JM(a,t,n,s,r,l);if(d!==Xt)return d}u=t[a+8],u!==Nr&&Hp(r,t[E].data[a+8]===l)&&Vp(i,a,t)?(s=c,a=ws(u),t=Es(u,t)):a=-1}}return o}function JM(e,t,n,r,o,i){const s=t[E],a=s.data[e+8],c=function Ss(e,t,n,r,o){const i=e.providerIndexes,s=t.data,a=1048575&i,u=e.directiveStart,c=i>>20,f=o?a+c:e.directiveEnd;for(let h=r?a:a+c;h=u&&p.type===n)return h}if(o){const h=s[u];if(h&&Ft(h)&&h.type===n)return u}return null}(a,s,n,null==r?Jn(a)&&al:r!=s&&0!=(3&a.type),o&T.Host&&i===a);return null!==c?er(t,s,c,a):Xt}function er(e,t,n,r){let o=e[n];const i=t.data;if(function GM(e){return e instanceof ko}(o)){const s=o;s.resolving&&function Cb(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new C(-200,`Circular dependency in DI detected for ${e}${n}`)}(function Q(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():L(e)}(i[n]));const a=bs(s.canSeeViewProviders);s.resolving=!0;const u=s.injectImpl?Ke(s.injectImpl):null;_p(e,r,T.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&function $M(e,t,n){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){const s=op(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}o&&(n.preOrderHooks??=[]).push(0-e,o),i&&((n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i))}(n,i[n],t)}finally{null!==u&&Ke(u),bs(a),s.resolving=!1,Mp()}}return o}function Vp(e,t,n){return!!(n[t+(e>>Op)]&1<{const t=e.prototype.constructor,n=t[mn]||dl(t),r=Object.prototype;let o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){const i=o[mn]||dl(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function dl(e){return Pu(e)?()=>{const t=dl(k(e));return t&&t()}:Kn(e)}function jp(e){const t=e[E],n=t.type;return 2===n?t.declTNode:1===n?e[$e]:null}const xr="__parameters__";function Pr(e,t,n){return pn(()=>{const r=function fl(e){return function(...n){if(e){const r=e(...n);for(const o in r)this[o]=r[o]}}}(t);function o(...i){if(this instanceof o)return r.apply(this,i),this;const s=new o(...i);return a.annotation=s,a;function a(u,l,c){const d=u.hasOwnProperty(xr)?u[xr]:Object.defineProperty(u,xr,{value:[]})[xr];for(;d.length<=c;)d.push(null);return(d[c]=d[c]||[]).push(s),u}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}function Ho(e,t){e.forEach(n=>Array.isArray(n)?Ho(n,t):t(n))}function $p(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function As(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function jo(e,t){const n=[];for(let r=0;r=0?e[1|r]=n:(r=~r,function iS(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(1===o)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;)e[o]=e[o-2],o--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function hl(e,t){const n=kr(e,t);if(n>=0)return e[1|n]}function kr(e,t){return function Up(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){const i=r+(o-r>>1),s=e[i<t?o=i:r=i+1}return~(o<((ot=ot||{})[ot.Important=1]="Important",ot[ot.DashCase=2]="DashCase",ot))();const SS=/^>|^->||--!>|)/,AS="\u200b$1\u200b";const Dl=new Map;let TS=0;const _l="__ngContext__";function Ue(e,t){ht(t)?(e[_l]=t[xo],function RS(e){Dl.set(e[xo],e)}(t)):e[_l]=t}let wl;function El(e,t){return wl(e,t)}function Uo(e){const t=e[de];return tt(t)?t[de]:t}function bl(e){return ug(e[Ro])}function Ml(e){return ug(e[xt])}function ug(e){for(;null!==e&&!tt(e);)e=e[xt];return e}function Hr(e,t,n,r,o){if(null!=r){let i,s=!1;tt(r)?i=r:ht(r)&&(s=!0,r=r[Te]);const a=ue(r);0===e&&null!==n?null==o?hg(t,n,a):tr(t,n,a,o||null,!0):1===e&&null!==n?tr(t,n,a,o||null,!0):2===e?function Bs(e,t,n){const r=Hs(e,t);r&&function QS(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}(t,a,s):3===e&&t.destroyNode(a),null!=i&&function XS(e,t,n,r,o){const i=n[Yt];i!==ue(n)&&Hr(t,e,r,i,o);for(let a=Le;at.replace(IS,AS))}(t))}function Vs(e,t,n){return e.createElement(t,n)}function cg(e,t){const n=e[Sr],r=n.indexOf(t);dp(t),n.splice(r,1)}function Il(e,t){if(e.length<=Le)return;const n=Le+t,r=e[n];if(r){const o=r[Oo];null!==o&&o!==e&&cg(o,r),t>0&&(e[n-1][xt]=r[xt]);const i=As(e,Le+t);!function $S(e,t){zo(e,t,t[V],2,null,null),t[Te]=null,t[$e]=null}(r[E],r);const s=i[Zt];null!==s&&s.detachView(i[E]),r[de]=null,r[xt]=null,r[j]&=-129}return r}function dg(e,t){if(!(256&t[j])){const n=t[V];t[ls]?.destroy(),t[cs]?.destroy(),n.destroyNode&&zo(e,t,n,3,null,null),function zS(e){let t=e[Ro];if(!t)return Al(e[E],e);for(;t;){let n=null;if(ht(t))n=t[Ro];else{const r=t[Le];r&&(n=r)}if(!n){for(;t&&!t[xt]&&t!==e;)ht(t)&&Al(t[E],t),t=t[de];null===t&&(t=e),ht(t)&&Al(t[E],t),n=t&&t[xt]}t=n}}(t)}}function Al(e,t){if(!(256&t[j])){t[j]&=-129,t[j]|=256,function YS(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r=0?r[s]():r[-s].unsubscribe(),i+=2}else n[i].call(r[n[i+1]]);null!==r&&(t[wr]=null);const o=t[Fn];if(null!==o){t[Fn]=null;for(let i=0;i-1){const{encapsulation:i}=e.data[r.directiveStart+o];if(i===dt.None||i===dt.Emulated)return null}return nt(r,n)}}(e,t.parent,n)}function tr(e,t,n,r,o){e.insertBefore(t,n,r,o)}function hg(e,t,n){e.appendChild(t,n)}function pg(e,t,n,r,o){null!==r?tr(e,t,n,r,o):hg(e,t,n)}function Hs(e,t){return e.parentNode(t)}function gg(e,t,n){return yg(e,t,n)}let Nl,$s,Fl,Us,yg=function mg(e,t,n){return 40&e.type?nt(e,n):null};function js(e,t,n,r){const o=Tl(e,r,t),i=t[V],a=gg(r.parent||t[$e],r,t);if(null!=o)if(Array.isArray(n))for(let u=0;ue,createScript:e=>e,createScriptURL:e=>e})}catch{}return $s}()?.createHTML(e)||e}function Wo(){if(void 0!==Fl)return Fl;if(typeof document<"u")return document;throw new C(210,!1)}function Pl(){if(void 0===Us&&(Us=null,ie.trustedTypes))try{Us=ie.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Us}function bg(e){return Pl()?.createHTML(e)||e}function Sg(e){return Pl()?.createScriptURL(e)||e}class nr{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Sh})`}}class sI extends nr{getTypeName(){return"HTML"}}class aI extends nr{getTypeName(){return"Style"}}class uI extends nr{getTypeName(){return"Script"}}class lI extends nr{getTypeName(){return"URL"}}class cI extends nr{getTypeName(){return"ResourceURL"}}function mt(e){return e instanceof nr?e.changingThisBreaksApplicationSecurity:e}function en(e,t){const n=function dI(e){return e instanceof nr&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Sh})`)}return n===t}class yI{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{const n=(new window.DOMParser).parseFromString(jr(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}}class vI{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const n=this.inertDocument.createElement("template");return n.innerHTML=jr(t),n}}const CI=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Gs(e){return(e=String(e)).match(CI)?e:"unsafe:"+e}function Cn(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function qo(...e){const t={};for(const n of e)for(const r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}const Ag=Cn("area,br,col,hr,img,wbr"),Tg=Cn("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Ng=Cn("rp,rt"),kl=qo(Ag,qo(Tg,Cn("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),qo(Ng,Cn("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),qo(Ng,Tg)),Ll=Cn("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Rg=qo(Ll,Cn("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Cn("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),_I=Cn("script,style,template");class wI{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,r=!0;for(;n;)if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild)n=n.firstChild;else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let o=this.checkClobberedElement(n,n.nextSibling);if(o){n=o;break}n=this.checkClobberedElement(n,n.parentNode)}return this.buf.join("")}startElement(t){const n=t.nodeName.toLowerCase();if(!kl.hasOwnProperty(n))return this.sanitizedSomething=!0,!_I.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const r=t.attributes;for(let o=0;o"),!0}endElement(t){const n=t.nodeName.toLowerCase();kl.hasOwnProperty(n)&&!Ag.hasOwnProperty(n)&&(this.buf.push(""))}chars(t){this.buf.push(Og(t))}checkClobberedElement(t,n){if(n&&(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return n}}const EI=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,bI=/([^\#-~ |!])/g;function Og(e){return e.replace(/&/g,"&").replace(EI,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(bI,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}let zs;function xg(e,t){let n=null;try{zs=zs||function Ig(e){const t=new vI(e);return function DI(){try{return!!(new window.DOMParser).parseFromString(jr(""),"text/html")}catch{return!1}}()?new yI(t):t}(e);let r=t?String(t):"";n=zs.getInertBodyElement(r);let o=5,i=r;do{if(0===o)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=n.innerHTML,n=zs.getInertBodyElement(r)}while(r!==i);return jr((new wI).sanitizeChildren(Vl(n)||n))}finally{if(n){const r=Vl(n)||n;for(;r.firstChild;)r.removeChild(r.firstChild)}}}function Vl(e){return"content"in e&&function MI(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var se=(()=>((se=se||{})[se.NONE=0]="NONE",se[se.HTML=1]="HTML",se[se.STYLE=2]="STYLE",se[se.SCRIPT=3]="SCRIPT",se[se.URL=4]="URL",se[se.RESOURCE_URL=5]="RESOURCE_URL",se))();function Hl(e){const t=Zo();return t?bg(t.sanitize(se.HTML,e)||""):en(e,"HTML")?bg(mt(e)):xg(Wo(),L(e))}function Fg(e){const t=Zo();return t?t.sanitize(se.URL,e)||"":en(e,"URL")?mt(e):Gs(L(e))}function Pg(e){const t=Zo();if(t)return Sg(t.sanitize(se.RESOURCE_URL,e)||"");if(en(e,"ResourceURL"))return Sg(mt(e));throw new C(904,!1)}function Zo(){const e=D();return e&&e[Qn].sanitizer}class S{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=A({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const Yo=new S("ENVIRONMENT_INITIALIZER"),Lg=new S("INJECTOR",-1),Vg=new S("INJECTOR_DEF_TYPES");class Hg{get(t,n=Io){if(n===Io){const r=new Error(`NullInjectorError: No provider for ${Ae(t)}!`);throw r.name="NullInjectorError",r}return n}}function RI(...e){return{\u0275providers:jg(0,e),\u0275fromNgModule:!0}}function jg(e,...t){const n=[],r=new Set;let o;return Ho(t,i=>{const s=i;Bl(s,n,[],r)&&(o||=[],o.push(s))}),void 0!==o&&Bg(o,n),n}function Bg(e,t){for(let n=0;n{t.push(i)})}}function Bl(e,t,n,r){if(!(e=k(e)))return!1;let o=null,i=Ah(e);const s=!i&&Y(e);if(i||s){if(s&&!s.standalone)return!1;o=e}else{const u=e.ngModule;if(i=Ah(u),!i)return!1;o=u}const a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){const u="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const l of u)Bl(l,t,n,r)}}else{if(!i)return!1;{if(null!=i.imports&&!a){let l;r.add(o);try{Ho(i.imports,c=>{Bl(c,t,n,r)&&(l||=[],l.push(c))})}finally{}void 0!==l&&Bg(l,t)}if(!a){const l=Kn(o)||(()=>new o);t.push({provide:o,useFactory:l,deps:q},{provide:Vg,useValue:o,multi:!0},{provide:Yo,useValue:()=>I(o),multi:!0})}const u=i.providers;null==u||a||$l(u,c=>{t.push(c)})}}return o!==e&&void 0!==e.providers}function $l(e,t){for(let n of e)ku(n)&&(n=n.\u0275providers),Array.isArray(n)?$l(n,t):t(n)}const OI=K({provide:String,useValue:K});function Ul(e){return null!==e&&"object"==typeof e&&OI in e}function rr(e){return"function"==typeof e}const Gl=new S("Set Injector scope."),Ws={},FI={};let zl;function qs(){return void 0===zl&&(zl=new Hg),zl}class tn{}class Wl extends tn{get destroyed(){return this._destroyed}constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Zl(t,s=>this.processProvider(s)),this.records.set(Lg,Br(void 0,this)),o.has("environment")&&this.records.set(tn,Br(void 0,this));const i=this.records.get(Gl);null!=i&&"string"==typeof i.value&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Vg.multi,q,T.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const n of this._ngOnDestroyHooks)n.ngOnDestroy();const t=this._onDestroyHooks;this._onDestroyHooks=[];for(const n of t)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const n=On(this),r=Ke(void 0);try{return t()}finally{On(n),Ke(r)}}get(t,n=Io,r=T.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(Ph))return t[Ph](this);r=ss(r);const o=On(this),i=Ke(void 0);try{if(!(r&T.SkipSelf)){let a=this.records.get(t);if(void 0===a){const u=function HI(e){return"function"==typeof e||"object"==typeof e&&e instanceof S}(t)&&rs(t);a=u&&this.injectableDefInScope(u)?Br(ql(t),Ws):null,this.records.set(t,a)}if(null!=a)return this.hydrate(t,a)}return(r&T.Self?qs():this.parent).get(t,n=r&T.Optional&&n===Io?null:n)}catch(s){if("NullInjectorError"===s.name){if((s[is]=s[is]||[]).unshift(Ae(t)),o)throw s;return function Fb(e,t,n,r){const o=e[is];throw t[Oh]&&o.unshift(t[Oh]),e.message=function Pb(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let o=Ae(t);if(Array.isArray(t))o=t.map(Ae).join(" -> ");else if("object"==typeof t){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];i.push(s+":"+("string"==typeof a?JSON.stringify(a):Ae(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(Tb,"\n ")}`}("\n"+e.message,o,n,r),e.ngTokenPath=o,e[is]=null,e}(s,t,"R3InjectorError",this.source)}throw s}finally{Ke(i),On(o)}}resolveInjectorInitializers(){const t=On(this),n=Ke(void 0);try{const r=this.get(Yo.multi,q,T.Self);for(const o of r)o()}finally{On(t),Ke(n)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(Ae(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new C(205,!1)}processProvider(t){let n=rr(t=k(t))?t:k(t&&t.provide);const r=function kI(e){return Ul(e)?Br(void 0,e.useValue):Br(Gg(e),Ws)}(t);if(rr(t)||!0!==t.multi)this.records.get(n);else{let o=this.records.get(n);o||(o=Br(void 0,Ws,!0),o.factory=()=>ju(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===Ws&&(n.value=FI,n.value=n.factory()),"object"==typeof n.value&&n.value&&function VI(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=k(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){const n=this._onDestroyHooks.indexOf(t);-1!==n&&this._onDestroyHooks.splice(n,1)}}function ql(e){const t=rs(e),n=null!==t?t.factory:Kn(e);if(null!==n)return n;if(e instanceof S)throw new C(204,!1);if(e instanceof Function)return function PI(e){const t=e.length;if(t>0)throw jo(t,"?"),new C(204,!1);const n=function Sb(e){return e&&(e[os]||e[Th])||null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new C(204,!1)}function Gg(e,t,n){let r;if(rr(e)){const o=k(e);return Kn(o)||ql(o)}if(Ul(e))r=()=>k(e.useValue);else if(function Ug(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...ju(e.deps||[]));else if(function $g(e){return!(!e||!e.useExisting)}(e))r=()=>I(k(e.useExisting));else{const o=k(e&&(e.useClass||e.provide));if(!function LI(e){return!!e.deps}(e))return Kn(o)||ql(o);r=()=>new o(...ju(e.deps))}return r}function Br(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Zl(e,t){for(const n of e)Array.isArray(n)?Zl(n,t):n&&ku(n)?Zl(n.\u0275providers,t):t(n)}const Zs=new S("AppId",{providedIn:"root",factory:()=>jI}),jI="ng",zg=new S("Platform Initializer"),or=new S("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),Wg=new S("CSP nonce",{providedIn:"root",factory:()=>Wo().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let Zg=(e,t)=>null;function Yg(e,t){return Zg(e,t)}class YI{}class Kg{}class JI{resolveComponentFactory(t){throw function QI(e){const t=Error(`No component factory found for ${Ae(e)}.`);return t.ngComponent=e,t}(t)}}let Xs=(()=>{class e{}return e.NULL=new JI,e})();function KI(){return $r(Ve(),D())}function $r(e,t){return new st(nt(e,t))}let st=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=KI,e})();class em{}let _n=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function e0(){const e=D(),n=rt(Ve().index,e);return(ht(n)?n:e)[V]}(),e})(),t0=(()=>{class e{}return e.\u0275prov=A({token:e,providedIn:"root",factory:()=>null}),e})();class Xo{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const n0=new Xo("16.0.4"),ic={};function ei(e){for(;e;){e[j]|=64;const t=Uo(e);if(Wu(e)&&!t)return e;e=t}return null}function sc(e){return e.ngOriginalError}class ir{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&sc(t);for(;n&&sc(n);)n=sc(n);return n||null}}const rm=new S("",{providedIn:"root",factory:()=>!1});function wn(e){return e instanceof Function?e():e}class um extends ep{constructor(){super(...arguments),this.consumerAllowSignalWrites=!1,this._lView=null}set lView(t){this._lView=t}onConsumerDependencyMayHaveChanged(){ei(this._lView)}onProducerUpdateValueVersion(){}get hasReadASignal(){return this.hasProducers}runInContext(t,n,r){const o=Pe(this);this.trackingVersion++;try{t(n,r)}finally{Pe(o)}}destroy(){this.trackingVersion++}}let ta=null;function lm(){return ta??=new um,ta}function cm(e,t){return e[t]??lm()}function dm(e,t){const n=lm();n.hasReadASignal&&(e[t]=ta,n.lView=e,ta=new um)}const H={};function Pt(e){fm(W(),D(),qe()+e,!1)}function fm(e,t,n,r){if(!r)if(3==(3&t[j])){const i=e.preOrderCheckHooks;null!==i&&Cs(t,i,n)}else{const i=e.preOrderHooks;null!==i&&_s(t,i,0,n)}Xn(n)}function mm(e,t=null,n=null,r){const o=ym(e,t,n,r);return o.resolveInjectorInitializers(),o}function ym(e,t=null,n=null,r,o=new Set){const i=[n||q,RI(e)];return r=r||("object"==typeof e?void 0:Ae(e)),new Wl(i,t||qs(),r||null,o)}let kt=(()=>{class e{static create(n,r){if(Array.isArray(n))return mm({name:""},r,n,"");{const o=n.name??"";return mm({name:o},n.parent,n.providers,o)}}}return e.THROW_IF_NOT_FOUND=Io,e.NULL=new Hg,e.\u0275prov=A({token:e,providedIn:"any",factory:()=>I(Lg)}),e.__NG_ELEMENT_ID__=-1,e})();function v(e,t=T.Default){const n=D();return null===n?I(e,t):kp(Ve(),n,k(e),t)}function na(e,t,n,r,o,i,s,a,u,l,c){const d=t.blueprint.slice();return d[Te]=o,d[j]=140|r,(null!==l||e&&2048&e[j])&&(d[j]|=2048),cp(d),d[de]=d[br]=e,d[ge]=n,d[Qn]=s||e&&e[Qn],d[V]=a||e&&e[V],d[Er]=u||e&&e[Er]||null,d[$e]=i,d[xo]=function NS(){return TS++}(),d[yn]=c,d[Zh]=l,d[_e]=2==t.type?e[_e]:d,d}function Gr(e,t,n,r,o){let i=e.data[t];if(null===i)i=function ac(e,t,n,r,o){const i=mp(),s=Ku(),u=e.data[t]=function b0(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return Ar()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,s?i:i&&i.parent,n,t,r,o);return null===e.firstChild&&(e.firstChild=u),null!==i&&(s?null==i.child&&null!==u.parent&&(i.child=u):null===i.next&&(i.next=u,u.prev=i)),u}(e,t,n,r,o),function OM(){return P.lFrame.inI18n}()&&(i.flags|=32);else if(64&i.type){i.type=n,i.value=r,i.attrs=o;const s=function Po(){const e=P.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();i.injectorIndex=null===s?-1:s.injectorIndex}return Kt(i,!0),i}function ti(e,t,n,r){if(0===n)return-1;const o=t.length;for(let i=0;iz&&fm(e,t,z,!1),Jt(a?2:0,o),a)i.runInContext(n,r,o);else{const l=Pe(null);try{n(r,o)}finally{Pe(l)}}}finally{a&&null===t[ls]&&dm(t,ls),Xn(s),Jt(a?3:1,o)}}function uc(e,t,n){if(zu(t)){const r=Pe(null);try{const i=t.directiveEnd;for(let s=t.directiveStart;snull;function wm(e,t,n,r){for(let o in e)if(e.hasOwnProperty(o)){n=null===n?{}:n;const i=e[o];null===r?Em(n,t,o,i):r.hasOwnProperty(o)&&Em(n,t,r[o],i)}return n}function Em(e,t,n,r){e.hasOwnProperty(n)?e[n].push(t,r):e[n]=[t,r]}function fc(e,t,n,r){if(gp()){const o=null===r?null:{"":-1},i=function x0(e,t){const n=e.directiveRegistry;let r=null,o=null;if(n)for(let i=0;i0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(s)!=a&&s.push(a),s.push(n,r,i)}}(e,t,r,ti(e,n,o.hostVars,H),o)}function nn(e,t,n,r,o,i){const s=nt(e,t);!function pc(e,t,n,r,o,i,s){if(null==i)e.removeAttribute(t,o,n);else{const a=null==s?L(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}(t[V],s,i,e.value,n,r,o)}function H0(e,t,n,r,o,i){const s=i[t];if(null!==s)for(let a=0;a{class e{constructor(){this.all=new Set,this.queue=new Map}create(n,r,o){const i=typeof Zone>"u"?null:Zone.current,s=new lM(n,l=>{this.all.has(l)&&this.queue.set(l,i)},o);let a;this.all.add(s),s.notify();const u=()=>{s.cleanup(),a?.(),this.all.delete(s),this.queue.delete(s)};return a=r?.onDestroy(u),{destroy:u}}flush(){if(0!==this.queue.size)for(const[n,r]of this.queue)this.queue.delete(n),r?r.run(()=>n.run()):n.run()}get isQueueEmpty(){return 0===this.queue.size}}return e.\u0275prov=A({token:e,providedIn:"root",factory:()=>new e}),e})();function oa(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(null!==t)for(let s=0;s0&&vc(n)}}function vc(e){for(let r=bl(e);null!==r;r=Ml(r))for(let o=Le;o0&&vc(i)}const n=e[E].components;if(null!==n)for(let r=0;r0&&vc(o)}}class ri{get rootNodes(){const t=this._lView,n=t[E];return ni(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[ge]}set context(t){this._lView[ge]=t}get destroyed(){return 256==(256&this._lView[j])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[de];if(tt(t)){const n=t[ds],r=n?n.indexOf(this):-1;r>-1&&(Il(t,r),As(n,r))}this._attachedToViewContainer=!1}dg(this._lView[E],this._lView)}onDestroy(t){!function hp(e,t){if(256==(256&e[j]))throw new C(911,!1);null===e[Fn]&&(e[Fn]=[]),e[Fn].push(t)}(this._lView,t)}markForCheck(){ei(this._cdRefInjectingView||this._lView)}detach(){this._lView[j]&=-129}reattach(){this._lView[j]|=128}detectChanges(){ia(this._lView[E],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new C(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function GS(e,t){zo(e,t,t[V],2,null,null)}(this._lView[E],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new C(902,!1);this._appRef=t}}class K0 extends ri{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;ia(t[E],t,t[ge],!1)}checkNoChanges(){}get context(){return null}}class Fm extends Xs{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=Y(t);return new oi(n,this.ngModule)}}function Pm(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class eA{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=ss(r);const o=this.injector.get(t,ic,r);return o!==ic||n===ic?o:this.parentInjector.get(t,n,r)}}class oi extends Kg{get inputs(){return Pm(this.componentDef.inputs)}get outputs(){return Pm(this.componentDef.outputs)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function zb(e){return e.map(Gb).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,r,o){let i=(o=o||this.ngModule)instanceof tn?o:o?.injector;i&&null!==this.componentDef.getStandaloneInjector&&(i=this.componentDef.getStandaloneInjector(i)||i);const s=i?new eA(t,i):t,a=s.get(em,null);if(null===a)throw new C(407,!1);const c={rendererFactory:a,sanitizer:s.get(t0,null),effectManager:s.get(xm,null)},d=a.createRenderer(null,this.componentDef),f=this.componentDef.selectors[0][0]||"div",h=r?function D0(e,t,n,r){const i=r.get(rm,!1)||n===dt.ShadowDom,s=e.selectRootElement(t,i);return function C0(e){_m(e)}(s),s}(d,r,this.componentDef.encapsulation,s):Vs(d,f,function X0(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(f)),p=this.componentDef.onPush?576:528,g=dc(0,null,null,1,0,null,null,null,null,null,null),y=na(null,g,null,p,null,null,c,d,s,null,null);let _,m;rl(y);try{const w=this.componentDef;let R,U=null;w.findHostDirectiveDefs?(R=[],U=new Map,w.findHostDirectiveDefs(w,R,U),R.push(w)):R=[w];const Ct=function nA(e,t){const n=e[E],r=z;return e[r]=t,Gr(n,r,2,"#host",null)}(y,h),EE=function rA(e,t,n,r,o,i,s){const a=o[E];!function oA(e,t,n,r){for(const o of e)t.mergedAttrs=No(t.mergedAttrs,o.hostAttrs);null!==t.mergedAttrs&&(oa(t,t.mergedAttrs,!0),null!==n&&Eg(r,n,t))}(r,e,t,s);let u=null;null!==t&&(u=Yg(t,o[Er]));const l=i.rendererFactory.createRenderer(t,n),c=na(o,Cm(n),null,n.onPush?64:16,o[e.index],e,i,l,null,null,u);return a.firstCreatePass&&hc(a,e,r.length-1),ra(o,c),o[e.index]=c}(Ct,h,w,R,y,c,d);m=lp(g,z),h&&function sA(e,t,n,r){if(r)Uu(e,n,["ng-version",n0.full]);else{const{attrs:o,classes:i}=function Wb(e){const t=[],n=[];let r=1,o=2;for(;r0&&wg(e,n,i.join(" "))}}(d,w,h,r),void 0!==n&&function aA(e,t,n){const r=e.projection=[];for(let o=0;o=0;r--){const o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=No(o.hostAttrs,n=No(n,o.hostAttrs))}}(r)}function Dc(e){return e===gn?{}:e===q?[]:e}function cA(e,t){const n=e.viewQuery;e.viewQuery=n?(r,o)=>{t(r,o),n(r,o)}:t}function dA(e,t){const n=e.contentQueries;e.contentQueries=n?(r,o,i)=>{t(r,o,i),n(r,o,i)}:t}function fA(e,t){const n=e.hostBindings;e.hostBindings=n?(r,o)=>{t(r,o),n(r,o)}:t}function Ge(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function It(e,t,n,r){const o=D();return Ge(o,Tr(),t)&&(W(),nn(fe(),o,e,t,n,r)),It}function li(e,t,n,r,o,i,s,a){const u=D(),l=W(),c=e+z,d=l.firstCreatePass?function LA(e,t,n,r,o,i,s,a,u){const l=t.consts,c=Gr(t,e,4,s||null,Pn(l,a));fc(t,n,c,Pn(l,u)),Ds(t,c);const d=c.tView=dc(2,c,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,l,null);return null!==t.queries&&(t.queries.template(t,c),d.queries=t.queries.embeddedTView(c)),c}(c,l,u,t,n,r,o,i,s):l.data[c];Kt(d,!1);const f=Km(l,u,d,e);vs()&&js(l,u,f,d),Ue(f,u),ra(u,u[c]=Im(f,u,f,d)),fs(d)&&lc(l,u,d),null!=s&&cc(u,d,a)}let Km=function Xm(e,t,n,r){return kn(!0),t[V].createComment("")};function vt(e,t,n){const r=D();return Ge(r,Tr(),t)&&function yt(e,t,n,r,o,i,s,a){const u=nt(t,n);let c,l=t.inputs;!a&&null!=l&&(c=l[r])?(mc(e,n,c,r,o),Jn(t)&&function I0(e,t){const n=rt(t,e);16&n[j]||(n[j]|=64)}(n,t.index)):3&t.type&&(r=function S0(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),o=null!=s?s(o,t.value||"",r):o,i.setProperty(u,r,o))}(W(),fe(),r,e,t,r[V],n,!1),vt}function Sc(e,t,n,r,o){const s=o?"class":"style";mc(e,n,t.inputs[s],s,r)}function re(e,t,n,r){const o=D(),i=W(),s=z+e,a=o[V],u=i.firstCreatePass?function $A(e,t,n,r,o,i){const s=t.consts,u=Gr(t,e,2,r,Pn(s,o));return fc(t,n,u,Pn(s,i)),null!==u.attrs&&oa(u,u.attrs,!1),null!==u.mergedAttrs&&oa(u,u.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,u),u}(s,i,o,t,n,r):i.data[s],l=ey(i,o,u,a,t,e);o[s]=l;const c=fs(u);return Kt(u,!0),Eg(a,l,u),32!=(32&u.flags)&&vs()&&js(i,o,l,u),0===function _M(){return P.lFrame.elementDepthCount}()&&Ue(l,o),function wM(){P.lFrame.elementDepthCount++}(),c&&(lc(i,o,u),uc(i,u,o)),null!==r&&cc(o,u),re}function oe(){let e=Ve();Ku()?Xu():(e=e.parent,Kt(e,!1));const t=e;(function bM(e){return P.skipHydrationRootTNode===e})(t)&&function AM(){P.skipHydrationRootTNode=null}(),function EM(){P.lFrame.elementDepthCount--}();const n=W();return n.firstCreatePass&&(Ds(n,e),zu(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function zM(e){return 0!=(8&e.flags)}(t)&&Sc(n,t,D(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function WM(e){return 0!=(16&e.flags)}(t)&&Sc(n,t,D(),t.stylesWithoutHost,!1),oe}function Ln(e,t,n,r){return re(e,t,n,r),oe(),Ln}let ey=(e,t,n,r,o,i)=>(kn(!0),Vs(r,o,function Sp(){return P.lFrame.currentNamespace}()));function fa(e,t,n){const r=D(),o=W(),i=e+z,s=o.firstCreatePass?function zA(e,t,n,r,o){const i=t.consts,s=Pn(i,r),a=Gr(t,e,8,"ng-container",s);return null!==s&&oa(a,s,!0),fc(t,n,a,Pn(i,o)),null!==t.queries&&t.queries.elementStart(t,a),a}(i,o,r,t,n):o.data[i];Kt(s,!0);const a=ny(o,r,s,e);return r[i]=a,vs()&&js(o,r,a,s),Ue(a,r),fs(s)&&(lc(o,r,s),uc(o,s,r)),null!=n&&cc(r,s),fa}function ha(){let e=Ve();const t=W();return Ku()?Xu():(e=e.parent,Kt(e,!1)),t.firstCreatePass&&(Ds(t,e),zu(e)&&t.queries.elementEnd(e)),ha}let ny=(e,t,n,r)=>(kn(!0),Sl(t[V],""));function ci(e){return!!e&&"function"==typeof e.then}function ry(e){return!!e&&"function"==typeof e.subscribe}function je(e,t,n,r){const o=D(),i=W(),s=Ve();return function iy(e,t,n,r,o,i,s){const a=fs(r),l=e.firstCreatePass&&function Nm(e){return e.cleanup||(e.cleanup=[])}(e),c=t[ge],d=function Tm(e){return e[wr]||(e[wr]=[])}(t);let f=!0;if(3&r.type||s){const g=nt(r,t),y=s?s(g):g,_=d.length,m=s?R=>s(ue(R[r.index])):r.index;let w=null;if(!s&&a&&(w=function YA(e,t,n,r){const o=e.cleanup;if(null!=o)for(let i=0;iu?a[u]:null}"string"==typeof s&&(i+=2)}return null}(e,t,o,r.index)),null!==w)(w.__ngLastListenerFn__||w).__ngNextListenerFn__=i,w.__ngLastListenerFn__=i,f=!1;else{i=ay(r,t,c,i,!1);const R=n.listen(y,o,i);d.push(i,R),l&&l.push(o,m,_,_+1)}}else i=ay(r,t,c,i,!1);const h=r.outputs;let p;if(f&&null!==h&&(p=h[o])){const g=p.length;if(g)for(let y=0;y-1?rt(e.index,t):t);let u=sy(t,n,r,s),l=i.__ngNextListenerFn__;for(;l;)u=sy(t,n,l,s)&&u,l=l.__ngNextListenerFn__;return o&&!1===u&&s.preventDefault(),u}}function di(e=1){return function kM(e){return(P.lFrame.contextLView=function LM(e,t){for(;e>0;)t=t[br],e--;return t}(e,P.lFrame.contextLView))[ge]}(e)}function QA(e,t){let n=null;const r=function jb(e){const t=e.attrs;if(null!=t){const n=t.indexOf(5);if(!(1&n))return t[n+1]}return null}(e);for(let o=0;o>17&32767}function Ac(e){return 2|e}function ar(e){return(131068&e)>>2}function Tc(e,t){return-131069&e|t<<2}function Nc(e){return 1|e}function Dy(e,t,n,r,o){const i=e[n+1],s=null===t;let a=r?Vn(i):ar(i),u=!1;for(;0!==a&&(!1===u||s);){const c=e[a+1];nT(e[a],t)&&(u=!0,e[a+1]=r?Nc(c):Ac(c)),a=r?Vn(c):ar(c)}u&&(e[n+1]=r?Ac(i):Nc(i))}function nT(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&kr(e,t)>=0}function Rc(e,t,n){return Lt(e,t,n,!1),Rc}function ga(e,t){return Lt(e,t,null,!0),ga}function Lt(e,t,n,r){const o=D(),i=W(),s=function Dn(e){const t=P.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}(2);i.firstUpdatePass&&function Iy(e,t,n,r){const o=e.data;if(null===o[n+1]){const i=o[qe()],s=function Sy(e,t){return t>=e.expandoStartIndex}(e,n);(function Ry(e,t){return 0!=(e.flags&(t?8:16))})(i,r)&&null===t&&!s&&(t=!1),t=function dT(e,t,n,r){const o=function tl(e){const t=P.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let i=r?t.residualClasses:t.residualStyles;if(null===o)0===(r?t.classBindings:t.styleBindings)&&(n=fi(n=Oc(null,e,t,n,r),t.attrs,r),i=null);else{const s=t.directiveStylingLast;if(-1===s||e[s]!==o)if(n=Oc(o,e,t,n,r),null===i){let u=function fT(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==ar(r))return e[Vn(r)]}(e,t,r);void 0!==u&&Array.isArray(u)&&(u=Oc(null,e,t,u[1],r),u=fi(u,t.attrs,r),function hT(e,t,n,r){e[Vn(n?t.classBindings:t.styleBindings)]=r}(e,t,r,u))}else i=function pT(e,t,n){let r;const o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i0)&&(l=!0)):c=n,o)if(0!==u){const f=Vn(e[a+1]);e[r+1]=pa(f,a),0!==f&&(e[f+1]=Tc(e[f+1],r)),e[a+1]=function KA(e,t){return 131071&e|t<<17}(e[a+1],r)}else e[r+1]=pa(a,0),0!==a&&(e[a+1]=Tc(e[a+1],r)),a=r;else e[r+1]=pa(u,0),0===a?a=r:e[u+1]=Tc(e[u+1],r),u=r;l&&(e[r+1]=Ac(e[r+1])),Dy(e,c,r,!0),Dy(e,c,r,!1),function tT(e,t,n,r,o){const i=o?e.residualClasses:e.residualStyles;null!=i&&"string"==typeof t&&kr(i,t)>=0&&(n[r+1]=Nc(n[r+1]))}(t,c,e,r,i),s=pa(a,u),i?t.classBindings=s:t.styleBindings=s}(o,i,t,n,s,r)}}(i,e,s,r),t!==H&&Ge(o,s,t)&&function Ty(e,t,n,r,o,i,s,a){if(!(3&t.type))return;const u=e.data,l=u[a+1],c=function XA(e){return 1==(1&e)}(l)?Ny(u,t,n,o,ar(l),s):void 0;ma(c)||(ma(i)||function JA(e){return 2==(2&e)}(l)&&(i=Ny(u,null,n,o,a,s)),function eI(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=-1===r.indexOf("-")?void 0:ot.DashCase;null==o?e.removeStyle(n,r,i):("string"==typeof o&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=ot.Important),e.setStyle(n,r,o,i))}}(r,s,ms(qe(),n),o,i))}(i,i.data[qe()],o,o[V],e,o[s+1]=function vT(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=Ae(mt(e)))),e}(t,n),r,s)}function Oc(e,t,n,r,o){let i=null;const s=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a0;){const u=e[o],l=Array.isArray(u),c=l?u[1]:u,d=null===c;let f=n[o+1];f===H&&(f=d?q:void 0);let h=d?hl(f,r):c===r?f:void 0;if(l&&!ma(h)&&(h=hl(u,r)),ma(h)&&(a=h,s))return a;const p=e[o+1];o=s?Vn(p):ar(p)}if(null!==t){let u=i?t.residualClasses:t.residualStyles;null!=u&&(a=hl(u,r))}return a}function ma(e){return void 0!==e}function we(e,t=""){const n=D(),r=W(),o=e+z,i=r.firstCreatePass?Gr(r,o,1,t,null):r.data[o],s=Oy(r,n,i,t,e);n[o]=s,vs()&&js(r,n,s,i),Kt(i,!1)}let Oy=(e,t,n,r,o)=>(kn(!0),function Ls(e,t){return e.createText(t)}(t[V],r));function xc(e){return Fc("",e,""),xc}function Fc(e,t,n){const r=D(),o=function Wr(e,t,n,r){return Ge(e,Tr(),n)?t+L(n)+r:H}(r,e,t,n);return o!==H&&function En(e,t,n){const r=ms(t,e);!function lg(e,t,n){e.setValue(t,n)}(e[V],r,n)}(r,qe(),o),Fc}const no="en-US";let ev=no;function Lc(e,t,n,r,o){if(e=k(e),Array.isArray(e))for(let i=0;i>20;if(rr(e)||!e.multi){const h=new ko(u,o,v),p=Hc(a,t,o?c:c+f,d);-1===p?(cl(Ms(l,s),i,a),Vc(i,e,t.length),t.push(a),l.directiveStart++,l.directiveEnd++,o&&(l.providerIndexes+=1048576),n.push(h),s.push(h)):(n[p]=h,s[p]=h)}else{const h=Hc(a,t,c+f,d),p=Hc(a,t,c,c+f),y=p>=0&&n[p];if(o&&!y||!o&&!(h>=0&&n[h])){cl(Ms(l,s),i,a);const _=function VN(e,t,n,r,o){const i=new ko(e,n,v);return i.multi=[],i.index=t,i.componentProviders=0,Mv(i,o,r&&!n),i}(o?LN:kN,n.length,o,r,u);!o&&y&&(n[p].providerFactory=_),Vc(i,e,t.length,0),t.push(a),l.directiveStart++,l.directiveEnd++,o&&(l.providerIndexes+=1048576),n.push(_),s.push(_)}else Vc(i,e,h>-1?h:p,Mv(n[o?p:h],u,!o&&r));!o&&r&&y&&n[p].componentProviders++}}}function Vc(e,t,n,r){const o=rr(t),i=function xI(e){return!!e.useClass}(t);if(o||i){const u=(i?k(t.useClass):t).prototype.ngOnDestroy;if(u){const l=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){const c=l.indexOf(n);-1===c?l.push(n,[r,u]):l[c+1].push(r,u)}else l.push(n,u)}}}function Mv(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Hc(e,t,n,r){for(let o=n;o{n.providersResolver=(r,o)=>function PN(e,t,n){const r=W();if(r.firstCreatePass){const o=Ft(e);Lc(n,r.data,r.blueprint,o,!0),Lc(t,r.data,r.blueprint,o,!1)}}(r,o?o(e):e,t)}}class ro{}class Sv{}class Bc extends ro{constructor(t,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Fm(this);const o=ft(t);this._bootstrapComponents=wn(o.bootstrap),this._r3Injector=ym(t,n,[{provide:ro,useValue:this},{provide:Xs,useValue:this.componentFactoryResolver},...r],Ae(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class $c extends Sv{constructor(t){super(),this.moduleType=t}create(t){return new Bc(this.moduleType,t,[])}}class Iv extends ro{constructor(t){super(),this.componentFactoryResolver=new Fm(this),this.instance=null;const n=new Wl([...t.providers,{provide:ro,useValue:this},{provide:Xs,useValue:this.componentFactoryResolver}],t.parent||qs(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function Uc(e,t,n=null){return new Iv({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}let BN=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n.id)){const r=jg(0,n.type),o=r.length>0?Uc([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n.id,o)}return this.cachedInjectors.get(n.id)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}}return e.\u0275prov=A({token:e,providedIn:"environment",factory:()=>new e(I(tn))}),e})();function Gc(e){e.getStandaloneInjector=t=>t.get(BN).getOrCreateStandaloneInjector(e)}function Wc(e){return t=>{setTimeout(e,void 0,t)}}const he=class hR extends fn{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&"object"==typeof t){const u=t;o=u.next?.bind(u),i=u.error?.bind(u),s=u.complete?.bind(u)}this.__isAsync&&(i=Wc(i),o&&(o=Wc(o)),s&&(s=Wc(s)));const a=super.subscribe({next:o,error:i,complete:s});return t instanceof _t&&t.add(a),a}};let an=(()=>{class e{}return e.__NG_ELEMENT_ID__=yR,e})();const gR=an,mR=class extends gR{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n,null)}createEmbeddedViewImpl(t,n,r){const o=this._declarationTContainer.tView,i=na(this._declarationLView,o,t,16,null,o.declTNode,null,null,null,n||null,r||null);i[Oo]=this._declarationLView[this._declarationTContainer.index];const a=this._declarationLView[Zt];return null!==a&&(i[Zt]=a.createEmbeddedView(o)),yc(o,i,t),new ri(i)}};function yR(){return function _a(e,t){return 4&e.type?new mR(t,e,$r(e,t)):null}(Ve(),D())}let Ht=(()=>{class e{}return e.__NG_ELEMENT_ID__=bR,e})();function bR(){return function Gv(e,t){let n;const r=t[e.index];return tt(r)?n=r:(n=Im(r,t,null,e),t[e.index]=n,ra(t,n)),zv(n,t,e,r),new $v(n,e,t)}(Ve(),D())}const MR=Ht,$v=class extends MR{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return $r(this._hostTNode,this._hostLView)}get injector(){return new Rr(this._hostTNode,this._hostLView)}get parentInjector(){const t=ll(this._hostTNode,this._hostLView);if(Np(t)){const n=Es(t,this._hostLView),r=ws(t);return new Rr(n[E].data[r+8],n)}return new Rr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=Uv(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-Le}createEmbeddedView(t,n,r){let o,i;"number"==typeof r?o=r:null!=r&&(o=r.index,i=r.injector);const a=t.createEmbeddedViewImpl(n||{},i,null);return this.insertImpl(a,o,false),a}createComponent(t,n,r,o,i){const s=t&&!function Vo(e){return"function"==typeof e}(t);let a;if(s)a=n;else{const g=n||{};a=g.index,r=g.injector,o=g.projectableNodes,i=g.environmentInjector||g.ngModuleRef}const u=s?t:new oi(Y(t)),l=r||this.parentInjector;if(!i&&null==u.ngModule){const y=(s?l:this.parentInjector).get(tn,null);y&&(i=y)}Y(u.componentType??{});const h=u.create(l,o,null,i);return this.insertImpl(h.hostView,a,false),h}insert(t,n){return this.insertImpl(t,n,!1)}insertImpl(t,n,r){const o=t._lView,i=o[E];if(function vM(e){return tt(e[de])}(o)){const u=this.indexOf(t);if(-1!==u)this.detach(u);else{const l=o[de],c=new $v(l,l[$e],l[de]);c.detach(c.indexOf(t))}}const s=this._adjustIndex(n),a=this._lContainer;if(function WS(e,t,n,r){const o=Le+r,i=n.length;r>0&&(n[o-1][xt]=t),r{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r}),this.appInits=M(sd,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const n=[];for(const o of this.appInits){const i=o();if(ci(i))n.push(i);else if(ry(i)){const s=new Promise((a,u)=>{i.subscribe({complete:a,error:u})});n.push(s)}}const r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),0===n.length&&r(),this.initialized=!0}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),yD=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();const bn=new S("LocaleId",{providedIn:"root",factory:()=>M(bn,T.Optional|T.SkipSelf)||function rO(){return typeof $localize<"u"&&$localize.locale||no}()});let Ea=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new ut(!1)}add(){this.hasPendingTasks.next(!0);const n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),0===this.pendingTasks.size&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();class iO{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let vD=(()=>{class e{compileModuleSync(n){return new $c(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),i=wn(ft(n).declarations).reduce((s,a)=>{const u=Y(a);return u&&s.push(new oi(u)),s},[]);return new iO(r,i)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const uO=(()=>Promise.resolve(0))();function ud(e){typeof Zone>"u"?uO.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}function _D(...e){}class ce{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new he(!1),this.onMicrotaskEmpty=new he(!1),this.onStable=new he(!1),this.onError=new he(!1),typeof Zone>"u")throw new C(908,!1);Zone.assertZonePatched();const o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function lO(){let e=ie.requestAnimationFrame,t=ie.cancelAnimationFrame;if(typeof Zone<"u"&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function fO(e){const t=()=>{!function dO(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(ie,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,cd(e),e.isCheckStableRunning=!0,ld(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),cd(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,a)=>{try{return wD(e),n.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||e.shouldCoalesceRunChangeDetection)&&t(),ED(e)}},onInvoke:(n,r,o,i,s,a,u)=>{try{return wD(e),n.invoke(o,i,s,a,u)}finally{e.shouldCoalesceRunChangeDetection&&t(),ED(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,cd(e),ld(e)):"macroTask"==i.change&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(n,r,o,i)=>(n.handleError(o,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}(o)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!ce.isInAngularZone())throw new C(909,!1)}static assertNotInAngularZone(){if(ce.isInAngularZone())throw new C(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){const i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,cO,_D,_D);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const cO={};function ld(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function cd(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function wD(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function ED(e){e._nesting--,ld(e)}class hO{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new he,this.onMicrotaskEmpty=new he,this.onStable=new he,this.onError=new he}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}}const bD=new S("",{providedIn:"root",factory:MD});function MD(){const e=M(ce);let t=!0;return function mb(...e){const t=So(e),n=function lb(e,t){return"number"==typeof Nu(e)?e.pop():t}(e,1/0),r=e;return r.length?1===r.length?wt(r[0]):Dr(n)(Ie(r,t)):Wt}(new ye(o=>{t=e.isStable&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks,e.runOutsideAngular(()=>{o.next(t),o.complete()})}),new ye(o=>{let i;e.runOutsideAngular(()=>{i=e.onStable.subscribe(()=>{ce.assertNotInAngularZone(),ud(()=>{!t&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks&&(t=!0,o.next(!0))})})});const s=e.onUnstable.subscribe(()=>{ce.assertInAngularZone(),t&&(t=!1,e.runOutsideAngular(()=>{o.next(!1)}))});return()=>{i.unsubscribe(),s.unsubscribe()}}).pipe(Ru()))}const SD=new S(""),ba=new S("");let hd,dd=(()=>{class e{constructor(n,r,o){this._ngZone=n,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,hd||(function pO(e){hd=e}(o),o.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{ce.assertNotInAngularZone(),ud(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())ud(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,o){let i=-1;r&&r>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==i),n(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:n,timeoutId:i,updateCb:o})}whenStable(n,r,o){if(o&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,o){return[]}}return e.\u0275fac=function(n){return new(n||e)(I(ce),I(fd),I(ba))},e.\u0275prov=A({token:e,factory:e.\u0275fac}),e})(),fd=(()=>{class e{constructor(){this._applications=new Map}registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return hd?.findTestabilityInTree(this,n,r)??null}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})(),Hn=null;const ID=new S("AllowMultipleToken"),pd=new S("PlatformDestroyListeners"),gd=new S("appBootstrapListener");class TD{constructor(t,n){this.name=t,this.token=n}}function RD(e,t,n=[]){const r=`Platform: ${t}`,o=new S(r);return(i=[])=>{let s=md();if(!s||s.injector.get(ID,!1)){const a=[...n,...i,{provide:o,useValue:!0}];e?e(a):function yO(e){if(Hn&&!Hn.get(ID,!1))throw new C(400,!1);(function AD(){!function aM(e){tp=e}(()=>{throw new C(600,!1)})})(),Hn=e;const t=e.get(xD);(function ND(e){e.get(zg,null)?.forEach(n=>n())})(e)}(function OD(e=[],t){return kt.create({name:t,providers:[{provide:Gl,useValue:"platform"},{provide:pd,useValue:new Set([()=>Hn=null])},...e]})}(a,r))}return function DO(e){const t=md();if(!t)throw new C(401,!1);return t}()}}function md(){return Hn?.get(xD)??null}let xD=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const o=function CO(e="zone.js",t){return"noop"===e?new hO:"zone.js"===e?new ce(t):e}(r?.ngZone,function FD(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing}));return o.run(()=>{const i=function jN(e,t,n){return new Bc(e,t,n)}(n.moduleType,this.injector,function HD(e){return[{provide:ce,useFactory:e},{provide:Yo,multi:!0,useFactory:()=>{const t=M(wO,{optional:!0});return()=>t.initialize()}},{provide:VD,useFactory:_O},{provide:bD,useFactory:MD}]}(()=>o)),s=i.injector.get(ir,null);return o.runOutsideAngular(()=>{const a=o.onError.subscribe({next:u=>{s.handleError(u)}});i.onDestroy(()=>{Ma(this._modules,i),a.unsubscribe()})}),function PD(e,t,n){try{const r=n();return ci(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(s,o,()=>{const a=i.injector.get(ad);return a.runInitializers(),a.donePromise.then(()=>(function tv(e){Et(e,"Expected localeId to be defined"),"string"==typeof e&&(ev=e.toLowerCase().replace(/_/g,"-"))}(i.injector.get(bn,no)||no),this._moduleDoBootstrap(i),i))})})}bootstrapModule(n,r=[]){const o=kD({},r);return function gO(e,t,n){const r=new $c(n);return Promise.resolve(r)}(0,0,n).then(i=>this.bootstrapModuleFactory(i,o))}_moduleDoBootstrap(n){const r=n.injector.get(so);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(o=>r.bootstrap(o));else{if(!n.instance.ngDoBootstrap)throw new C(-403,!1);n.instance.ngDoBootstrap(r)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new C(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(pd,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(n){return new(n||e)(I(kt))},e.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function kD(e,t){return Array.isArray(t)?t.reduce(kD,e):{...e,...t}}let so=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=M(VD),this.zoneIsStable=M(bD),this.componentTypes=[],this.components=[],this.isStable=M(Ea).hasPendingTasks.pipe(Fe(n=>n?x(!1):this.zoneIsStable),function yb(e,t=Tn){return e=e??vb,xe((n,r)=>{let o,i=!0;n.subscribe(Se(r,s=>{const a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}(),Ru()),this._injector=M(tn)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,r){const o=n instanceof Kg;if(!this._injector.get(ad).done)throw!o&&function _r(e){const t=Y(e)||Be(e)||et(e);return null!==t&&t.standalone}(n),new C(405,!1);let s;s=o?n:this._injector.get(Xs).resolveComponentFactory(n),this.componentTypes.push(s.componentType);const a=function mO(e){return e.isBoundToModule}(s)?void 0:this._injector.get(ro),l=s.create(kt.NULL,[],r||s.selector,a),c=l.location.nativeElement,d=l.injector.get(SD,null);return d?.registerApplication(c),l.onDestroy(()=>{this.detachView(l.hostView),Ma(this.components,l),d?.unregisterApplication(c)}),this._loadComponent(l),l}tick(){if(this._runningTick)throw new C(101,!1);try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this.internalErrorHandler(n)}finally{this._runningTick=!1}}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;Ma(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const r=this._injector.get(gd,[]);r.push(...this._bootstrapListeners),r.forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Ma(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new C(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function Ma(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const VD=new S("",{providedIn:"root",factory:()=>M(ir).handleError.bind(void 0)});function _O(){const e=M(ce),t=M(ir);return n=>e.runOutsideAngular(()=>t.handleError(n))}let wO=(()=>{class e{constructor(){this.zone=M(ce),this.applicationRef=M(so)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();let _i=(()=>{class e{}return e.__NG_ELEMENT_ID__=bO,e})();function bO(e){return function MO(e,t,n){if(Jn(e)&&!n){const r=rt(e.index,t);return new ri(r,r)}return 47&e.type?new ri(t[_e],t):null}(Ve(),D(),16==(16&e))}const VO=RD(null,"core",[]);let HO=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(I(so))},e.\u0275mod=bt({type:e}),e.\u0275inj=ct({}),e})();function ao(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}let Ed=null;function jn(){return Ed}class JO{}const ke=new S("DocumentToken");let bd=(()=>{class e{historyGo(n){throw new Error("Not implemented")}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=A({token:e,factory:function(){return M(XO)},providedIn:"platform"}),e})();const KO=new S("Location Initialized");let XO=(()=>{class e extends bd{constructor(){super(),this._doc=M(ke),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return jn().getBaseHref(this._doc)}onPopState(n){const r=jn().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){const r=jn().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",n,!1),()=>r.removeEventListener("hashchange",n)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(n){this._location.pathname=n}pushState(n,r,o){this._history.pushState(n,r,o)}replaceState(n,r,o){this._history.replaceState(n,r,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=A({token:e,factory:function(){return new e},providedIn:"platform"}),e})();function Md(e,t){if(0==e.length)return t;if(0==t.length)return e;let n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,2==n?e+t.substring(1):1==n?e+t:e+"/"+t}function tC(e){const t=e.match(/#|\?|$/),n=t&&t.index||e.length;return e.slice(0,n-("/"===e[n-1]?1:0))+e.slice(n)}function Mn(e){return e&&"?"!==e[0]?"?"+e:e}let cr=(()=>{class e{historyGo(n){throw new Error("Not implemented")}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=A({token:e,factory:function(){return M(rC)},providedIn:"root"}),e})();const nC=new S("appBaseHref");let rC=(()=>{class e extends cr{constructor(n,r){super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??M(ke).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 Md(this._baseHref,n)}path(n=!1){const r=this._platformLocation.pathname+Mn(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${r}${o}`:r}pushState(n,r,o,i){const s=this.prepareExternalUrl(o+Mn(i));this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){const s=this.prepareExternalUrl(o+Mn(i));this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}}return e.\u0275fac=function(n){return new(n||e)(I(bd),I(nC,8))},e.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),ex=(()=>{class e extends cr{constructor(n,r){super(),this._platformLocation=n,this._baseHref="",this._removeListenerFns=[],null!=r&&(this._baseHref=r)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}path(n=!1){let r=this._platformLocation.hash;return null==r&&(r="#"),r.length>0?r.substring(1):r}prepareExternalUrl(n){const r=Md(this._baseHref,n);return r.length>0?"#"+r:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+Mn(i));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+Mn(i));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}}return e.\u0275fac=function(n){return new(n||e)(I(bd),I(nC,8))},e.\u0275prov=A({token:e,factory:e.\u0275fac}),e})(),Sd=(()=>{class e{constructor(n){this._subject=new he,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=n;const r=this._locationStrategy.getBaseHref();this._basePath=function rx(e){if(new RegExp("^(https?:)?//").test(e)){const[,n]=e.split(/\/\/[^\/]+/);return n}return e}(tC(oC(r))),this._locationStrategy.onPopState(o=>{this._subject.emit({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,r=""){return this.path()==this.normalize(n+Mn(r))}normalize(n){return e.stripTrailingSlash(function nx(e,t){if(!e||!t.startsWith(e))return t;const n=t.substring(e.length);return""===n||["/",";","?","#"].includes(n[0])?n:t}(this._basePath,oC(n)))}prepareExternalUrl(n){return n&&"/"!==n[0]&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,r="",o=null){this._locationStrategy.pushState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Mn(r)),o)}replaceState(n,r="",o=null){this._locationStrategy.replaceState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Mn(r)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)})),()=>{const r=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(r,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",r){this._urlChangeListeners.forEach(o=>o(n,r))}subscribe(n,r,o){return this._subject.subscribe({next:n,error:r,complete:o})}}return e.normalizeQueryParams=Mn,e.joinWithSlash=Md,e.stripTrailingSlash=tC,e.\u0275fac=function(n){return new(n||e)(I(cr))},e.\u0275prov=A({token:e,factory:function(){return function tx(){return new Sd(I(cr))}()},providedIn:"root"}),e})();function oC(e){return e.replace(/\/index.html$/,"")}function hC(e,t){t=encodeURIComponent(t);for(const n of e.split(";")){const r=n.indexOf("="),[o,i]=-1==r?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}let yC=(()=>{class e{constructor(n,r){this._viewContainer=n,this._context=new Gx,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=r}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){vC("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){vC("ngIfElse",n),this._elseTemplateRef=n,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(n,r){return!0}}return e.\u0275fac=function(n){return new(n||e)(v(Ht),v(an))},e.\u0275dir=F({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),e})();class Gx{constructor(){this.$implicit=null,this.ngIf=null}}function vC(e,t){if(t&&!t.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${Ae(t)}'.`)}let Bd=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=bt({type:e}),e.\u0275inj=ct({}),e})();function wC(e){return"server"===e}let vF=(()=>{class e{}return e.\u0275prov=A({token:e,providedIn:"root",factory:()=>new DF(I(ke),window)}),e})();class DF{constructor(t,n){this.document=t,this.window=n,this.offset=()=>[0,0]}setOffset(t){this.offset=Array.isArray(t)?()=>t:t}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(t){this.supportsScrolling()&&this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){if(!this.supportsScrolling())return;const n=function CF(e,t){const n=e.getElementById(t)||e.getElementsByName(t)[0];if(n)return n;if("function"==typeof e.createTreeWalker&&e.body&&"function"==typeof e.body.attachShadow){const r=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT);let o=r.currentNode;for(;o;){const i=o.shadowRoot;if(i){const s=i.getElementById(t)||i.querySelector(`[name="${t}"]`);if(s)return s}o=r.nextNode()}}return null}(this.document,t);n&&(this.scrollToElement(n),n.focus())}setHistoryScrollRestoration(t){if(this.supportScrollRestoration()){const n=this.window.history;n&&n.scrollRestoration&&(n.scrollRestoration=t)}}scrollToElement(t){const n=t.getBoundingClientRect(),r=n.left+this.window.pageXOffset,o=n.top+this.window.pageYOffset,i=this.offset();this.window.scrollTo(r-i[0],o-i[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const t=EC(this.window.history)||EC(Object.getPrototypeOf(this.window.history));return!(!t||!t.writable&&!t.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function EC(e){return Object.getOwnPropertyDescriptor(e,"scrollRestoration")}class bC{}class qF extends JO{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class Gd extends qF{static makeCurrent(){!function QO(e){Ed||(Ed=e)}(new Gd)}onAndCancel(t,n,r){return t.addEventListener(n,r),()=>{t.removeEventListener(n,r)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,n){return(n=n||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,n){return"window"===n?window:"document"===n?t:"body"===n?t.body:null}getBaseHref(t){const n=function ZF(){return Si=Si||document.querySelector("base"),Si?Si.getAttribute("href"):null}();return null==n?null:function YF(e){$a=$a||document.createElement("a"),$a.setAttribute("href",e);const t=$a.pathname;return"/"===t.charAt(0)?t:`/${t}`}(n)}resetBaseElement(){Si=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return hC(document.cookie,t)}}let $a,Si=null,JF=(()=>{class e{build(){return new XMLHttpRequest}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=A({token:e,factory:e.\u0275fac}),e})();const zd=new S("EventManagerPlugins");let TC=(()=>{class e{constructor(n,r){this._zone=r,this._eventNameToPlugin=new Map,n.forEach(o=>{o.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,r,o){return this._findPluginFor(r).addEventListener(n,r,o)}getZone(){return this._zone}_findPluginFor(n){let r=this._eventNameToPlugin.get(n);if(r)return r;if(r=this._plugins.find(i=>i.supports(n)),!r)throw new C(5101,!1);return this._eventNameToPlugin.set(n,r),r}}return e.\u0275fac=function(n){return new(n||e)(I(zd),I(ce))},e.\u0275prov=A({token:e,factory:e.\u0275fac}),e})();class NC{constructor(t){this._doc=t}}const Wd="ng-app-id";let RC=(()=>{class e{constructor(n,r,o,i={}){this.doc=n,this.appId=r,this.nonce=o,this.platformId=i,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=wC(i),this.resetHostNodes()}addStyles(n){for(const r of n)1===this.changeUsageCount(r,1)&&this.onStyleAdded(r)}removeStyles(n){for(const r of n)this.changeUsageCount(r,-1)<=0&&this.onStyleRemoved(r)}ngOnDestroy(){const n=this.styleNodesInDOM;n&&(n.forEach(r=>r.remove()),n.clear());for(const r of this.getAllStyles())this.onStyleRemoved(r);this.resetHostNodes()}addHost(n){this.hostNodes.add(n);for(const r of this.getAllStyles())this.addStyleToHost(n,r)}removeHost(n){this.hostNodes.delete(n)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(n){for(const r of this.hostNodes)this.addStyleToHost(r,n)}onStyleRemoved(n){const r=this.styleRef;r.get(n)?.elements?.forEach(o=>o.remove()),r.delete(n)}collectServerRenderedStyles(){const n=this.doc.head?.querySelectorAll(`style[${Wd}="${this.appId}"]`);if(n?.length){const r=new Map;return n.forEach(o=>{null!=o.textContent&&r.set(o.textContent,o)}),r}return null}changeUsageCount(n,r){const o=this.styleRef;if(o.has(n)){const i=o.get(n);return i.usage+=r,i.usage}return o.set(n,{usage:r,elements:[]}),r}getStyleElement(n,r){const o=this.styleNodesInDOM,i=o?.get(r);if(i?.parentNode===n)return o.delete(r),i.removeAttribute(Wd),i;{const s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=r,this.platformIsServer&&s.setAttribute(Wd,this.appId),s}}addStyleToHost(n,r){const o=this.getStyleElement(n,r);n.appendChild(o);const i=this.styleRef,s=i.get(r)?.elements;s?s.push(o):i.set(r,{elements:[o],usage:1})}resetHostNodes(){const n=this.hostNodes;n.clear(),n.add(this.doc.head)}}return e.\u0275fac=function(n){return new(n||e)(I(ke),I(Zs),I(Wg,8),I(or))},e.\u0275prov=A({token:e,factory:e.\u0275fac}),e})();const qd={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},Zd=/%COMP%/g,tP=new S("RemoveStylesOnCompDestory",{providedIn:"root",factory:()=>!1});function xC(e,t){return t.map(n=>n.replace(Zd,e))}let FC=(()=>{class e{constructor(n,r,o,i,s,a,u,l=null){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestory=i,this.doc=s,this.platformId=a,this.ngZone=u,this.nonce=l,this.rendererByCompId=new Map,this.platformIsServer=wC(a),this.defaultRenderer=new Yd(n,s,u,this.platformIsServer)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===dt.ShadowDom&&(r={...r,encapsulation:dt.Emulated});const o=this.getOrCreateRenderer(n,r);return o instanceof kC?o.applyToHost(n):o instanceof Qd&&o.applyStyles(),o}getOrCreateRenderer(n,r){const o=this.rendererByCompId;let i=o.get(r.id);if(!i){const s=this.doc,a=this.ngZone,u=this.eventManager,l=this.sharedStylesHost,c=this.removeStylesOnCompDestory,d=this.platformIsServer;switch(r.encapsulation){case dt.Emulated:i=new kC(u,l,r,this.appId,c,s,a,d);break;case dt.ShadowDom:return new iP(u,l,n,r,s,a,this.nonce,d);default:i=new Qd(u,l,r,c,s,a,d)}i.onDestroy=()=>o.delete(r.id),o.set(r.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}}return e.\u0275fac=function(n){return new(n||e)(I(TC),I(RC),I(Zs),I(tP),I(ke),I(or),I(ce),I(Wg))},e.\u0275prov=A({token:e,factory:e.\u0275fac}),e})();class Yd{constructor(t,n,r,o){this.eventManager=t,this.doc=n,this.ngZone=r,this.platformIsServer=o,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(t,n){return n?this.doc.createElementNS(qd[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(PC(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(PC(t)?t.content:t).insertBefore(n,r)}removeChild(t,n){t&&t.removeChild(n)}selectRootElement(t,n){let r="string"==typeof t?this.doc.querySelector(t):t;if(!r)throw new C(5104,!1);return n||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,r,o){if(o){n=o+":"+n;const i=qd[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){const o=qd[r];o?t.removeAttributeNS(o,n):t.removeAttribute(`${r}:${n}`)}else t.removeAttribute(n)}addClass(t,n){t.classList.add(n)}removeClass(t,n){t.classList.remove(n)}setStyle(t,n,r,o){o&(ot.DashCase|ot.Important)?t.style.setProperty(n,r,o&ot.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&ot.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,r){t[n]=r}setValue(t,n){t.nodeValue=n}listen(t,n,r){if("string"==typeof t&&!(t=jn().getGlobalEventTarget(this.doc,t)))throw new Error(`Unsupported event target ${t} for event ${n}`);return this.eventManager.addEventListener(t,n,this.decoratePreventDefault(r))}decoratePreventDefault(t){return n=>{if("__ngUnwrap__"===n)return t;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>t(n)):t(n))&&n.preventDefault()}}}function PC(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class iP extends Yd{constructor(t,n,r,o,i,s,a,u){super(t,i,s,u),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const l=xC(o.id,o.styles);for(const c of l){const d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=c,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,n){return super.appendChild(this.nodeOrShadowRoot(t),n)}insertBefore(t,n,r){return super.insertBefore(this.nodeOrShadowRoot(t),n,r)}removeChild(t,n){return super.removeChild(this.nodeOrShadowRoot(t),n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Qd extends Yd{constructor(t,n,r,o,i,s,a,u){super(t,i,s,a),this.sharedStylesHost=n,this.removeStylesOnCompDestory=o,this.rendererUsageCount=0,this.styles=u?xC(u,r.styles):r.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles),this.rendererUsageCount++}destroy(){this.removeStylesOnCompDestory&&(this.sharedStylesHost.removeStyles(this.styles),this.rendererUsageCount--,0===this.rendererUsageCount&&this.onDestroy?.())}}class kC extends Qd{constructor(t,n,r,o,i,s,a,u){const l=o+"-"+r.id;super(t,n,r,i,s,a,u,l),this.contentAttr=function nP(e){return"_ngcontent-%COMP%".replace(Zd,e)}(l),this.hostAttr=function rP(e){return"_nghost-%COMP%".replace(Zd,e)}(l)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,n){const r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,""),r}}let sP=(()=>{class e extends NC{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,o){return n.addEventListener(r,o,!1),()=>this.removeEventListener(n,r,o)}removeEventListener(n,r,o){return n.removeEventListener(r,o)}}return e.\u0275fac=function(n){return new(n||e)(I(ke))},e.\u0275prov=A({token:e,factory:e.\u0275fac}),e})();const LC=["alt","control","meta","shift"],aP={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},uP={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let lP=(()=>{class e extends NC{constructor(n){super(n)}supports(n){return null!=e.parseEventName(n)}addEventListener(n,r,o){const i=e.parseEventName(r),s=e.eventCallback(i.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>jn().onAndCancel(n,i.domEventName,s))}static parseEventName(n){const r=n.toLowerCase().split("."),o=r.shift();if(0===r.length||"keydown"!==o&&"keyup"!==o)return null;const i=e._normalizeKey(r.pop());let s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),LC.forEach(l=>{const c=r.indexOf(l);c>-1&&(r.splice(c,1),s+=l+".")}),s+=i,0!=r.length||0===i.length)return null;const u={};return u.domEventName=o,u.fullKey=s,u}static matchEventFullKeyCode(n,r){let o=aP[n.key]||n.key,i="";return r.indexOf("code.")>-1&&(o=n.code,i="code."),!(null==o||!o)&&(o=o.toLowerCase()," "===o?o="space":"."===o&&(o="dot"),LC.forEach(s=>{s!==o&&(0,uP[s])(n)&&(i+=s+".")}),i+=o,i===r)}static eventCallback(n,r,o){return i=>{e.matchEventFullKeyCode(i,n)&&o.runGuarded(()=>r(i))}}static _normalizeKey(n){return"esc"===n?"escape":n}}return e.\u0275fac=function(n){return new(n||e)(I(ke))},e.\u0275prov=A({token:e,factory:e.\u0275fac}),e})();const hP=RD(VO,"browser",[{provide:or,useValue:"browser"},{provide:zg,useValue:function cP(){Gd.makeCurrent()},multi:!0},{provide:ke,useFactory:function fP(){return function iI(e){Fl=e}(document),document},deps:[]}]),pP=new S(""),jC=[{provide:ba,useClass:class QF{addToWindow(t){ie.getAngularTestability=(r,o=!0)=>{const i=t.findTestabilityInTree(r,o);if(null==i)throw new C(5103,!1);return i},ie.getAllAngularTestabilities=()=>t.getAllTestabilities(),ie.getAllAngularRootElements=()=>t.getAllRootElements(),ie.frameworkStabilizers||(ie.frameworkStabilizers=[]),ie.frameworkStabilizers.push(r=>{const o=ie.getAllAngularTestabilities();let i=o.length,s=!1;const a=function(u){s=s||u,i--,0==i&&r(s)};o.forEach(function(u){u.whenStable(a)})})}findTestabilityInTree(t,n,r){return null==n?null:t.getTestability(n)??(r?jn().isShadowRoot(n)?this.findTestabilityInTree(t,n.host,!0):this.findTestabilityInTree(t,n.parentElement,!0):null)}},deps:[]},{provide:SD,useClass:dd,deps:[ce,fd,ba]},{provide:dd,useClass:dd,deps:[ce,fd,ba]}],BC=[{provide:Gl,useValue:"root"},{provide:ir,useFactory:function dP(){return new ir},deps:[]},{provide:zd,useClass:sP,multi:!0,deps:[ke,ce,or]},{provide:zd,useClass:lP,multi:!0,deps:[ke]},FC,RC,TC,{provide:em,useExisting:FC},{provide:bC,useClass:JF,deps:[]},[]];let gP=(()=>{class e{constructor(n){}static withServerTransition(n){return{ngModule:e,providers:[{provide:Zs,useValue:n.appId}]}}}return e.\u0275fac=function(n){return new(n||e)(I(pP,12))},e.\u0275mod=bt({type:e}),e.\u0275inj=ct({providers:[...BC,...jC],imports:[Bd,HO]}),e})(),$C=(()=>{class e{constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}}return e.\u0275fac=function(n){return new(n||e)(I(ke))},e.\u0275prov=A({token:e,factory:function(n){let r=null;return r=n?new n:function yP(){return new $C(I(ke))}(),r},providedIn:"root"}),e})();typeof window<"u"&&window;let Kd=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=A({token:e,factory:function(n){let r=null;return r=n?new(n||e):I(zC),r},providedIn:"root"}),e})(),zC=(()=>{class e extends Kd{constructor(n){super(),this._doc=n}sanitize(n,r){if(null==r)return null;switch(n){case se.NONE:return r;case se.HTML:return en(r,"HTML")?mt(r):xg(this._doc,String(r)).toString();case se.STYLE:return en(r,"Style")?mt(r):r;case se.SCRIPT:if(en(r,"Script"))return mt(r);throw new C(5200,!1);case se.URL:return en(r,"URL")?mt(r):Gs(String(r));case se.RESOURCE_URL:if(en(r,"ResourceURL"))return mt(r);throw new C(5201,!1);default:throw new C(5202,!1)}}bypassSecurityTrustHtml(n){return function fI(e){return new sI(e)}(n)}bypassSecurityTrustStyle(n){return function hI(e){return new aI(e)}(n)}bypassSecurityTrustScript(n){return function pI(e){return new uI(e)}(n)}bypassSecurityTrustUrl(n){return function gI(e){return new lI(e)}(n)}bypassSecurityTrustResourceUrl(n){return function mI(e){return new cI(e)}(n)}}return e.\u0275fac=function(n){return new(n||e)(I(ke))},e.\u0275prov=A({token:e,factory:function(n){let r=null;return r=n?new n:function _P(e){return new zC(e.get(ke))}(I(kt)),r},providedIn:"root"}),e})();function uo(e,t){return te(t)?Fe(e,t,1):Fe(e,1)}function Ut(e,t){return xe((n,r)=>{let o=0;n.subscribe(Se(r,i=>e.call(t,i,o++)&&r.next(i)))})}function Ii(e){return xe((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function un(e,t){return xe((n,r)=>{let o=null,i=0,s=!1;const a=()=>s&&!o&&r.complete();n.subscribe(Se(r,u=>{o?.unsubscribe();let l=0;const c=i++;wt(e(u,c)).subscribe(o=Se(r,d=>r.next(t?t(u,d,c,l++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}class Ua{}class Xd{}class ln{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?()=>{this.headers=new Map,t.split("\n").forEach(n=>{const r=n.indexOf(":");if(r>0){const o=n.slice(0,r),i=o.toLowerCase(),s=n.slice(r+1).trim();this.maybeSetNormalizedName(o,i),this.headers.has(i)?this.headers.get(i).push(s):this.headers.set(i,[s])}})}:()=>{this.headers=new Map,Object.entries(t).forEach(([n,r])=>{let o;if(o="string"==typeof r?[r]:"number"==typeof r?[r.toString()]:r.map(i=>i.toString()),o.length>0){const i=n.toLowerCase();this.headers.set(i,o),this.maybeSetNormalizedName(n,i)}})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();const n=this.headers.get(t.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,n){return this.clone({name:t,value:n,op:"a"})}set(t,n){return this.clone({name:t,value:n,op:"s"})}delete(t,n){return this.clone({name:t,value:n,op:"d"})}maybeSetNormalizedName(t,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,t)}init(){this.lazyInit&&(this.lazyInit instanceof ln?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(n=>{this.headers.set(n,t.headers.get(n)),this.normalizedNames.set(n,t.normalizedNames.get(n))})}clone(t){const n=new ln;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof ln?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}applyUpdate(t){const n=t.name.toLowerCase();switch(t.op){case"a":case"s":let r=t.value;if("string"==typeof r&&(r=[r]),0===r.length)return;this.maybeSetNormalizedName(t.name,n);const o=("a"===t.op?this.headers.get(n):void 0)||[];o.push(...r),this.headers.set(n,o);break;case"d":const i=t.value;if(i){let s=this.headers.get(n);if(!s)return;s=s.filter(a=>-1===i.indexOf(a)),0===s.length?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,s)}else this.headers.delete(n),this.normalizedNames.delete(n)}}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>t(this.normalizedNames.get(n),this.headers.get(n)))}}class EP{encodeKey(t){return qC(t)}encodeValue(t){return qC(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}const MP=/%(\d[a-f0-9])/gi,SP={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function qC(e){return encodeURIComponent(e).replace(MP,(t,n)=>SP[n]??t)}function Ga(e){return`${e}`}class $n{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new EP,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function bP(e,t){const n=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(o=>{const i=o.indexOf("="),[s,a]=-1==i?[t.decodeKey(o),""]:[t.decodeKey(o.slice(0,i)),t.decodeValue(o.slice(i+1))],u=n.get(s)||[];u.push(a),n.set(s,u)}),n}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(n=>{const r=t.fromObject[n],o=Array.isArray(r)?r.map(Ga):[Ga(r)];this.map.set(n,o)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();const n=this.map.get(t);return n?n[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,n){return this.clone({param:t,value:n,op:"a"})}appendAll(t){const n=[];return Object.keys(t).forEach(r=>{const o=t[r];Array.isArray(o)?o.forEach(i=>{n.push({param:r,value:i,op:"a"})}):n.push({param:r,value:o,op:"a"})}),this.clone(n)}set(t,n){return this.clone({param:t,value:n,op:"s"})}delete(t,n){return this.clone({param:t,value:n,op:"d"})}toString(){return this.init(),this.keys().map(t=>{const n=this.encoder.encodeKey(t);return this.map.get(t).map(r=>n+"="+this.encoder.encodeValue(r)).join("&")}).filter(t=>""!==t).join("&")}clone(t){const n=new $n({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(t),n}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":const n=("a"===t.op?this.map.get(t.param):void 0)||[];n.push(Ga(t.value)),this.map.set(t.param,n);break;case"d":if(void 0===t.value){this.map.delete(t.param);break}{let r=this.map.get(t.param)||[];const o=r.indexOf(Ga(t.value));-1!==o&&r.splice(o,1),r.length>0?this.map.set(t.param,r):this.map.delete(t.param)}}}),this.cloneFrom=this.updates=null)}}class IP{constructor(){this.map=new Map}set(t,n){return this.map.set(t,n),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}}function ZC(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function YC(e){return typeof Blob<"u"&&e instanceof Blob}function QC(e){return typeof FormData<"u"&&e instanceof FormData}class Ai{constructor(t,n,r,o){let i;if(this.url=n,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function AP(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||o?(this.body=void 0!==r?r:null,i=o):i=r,i&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params)),this.headers||(this.headers=new ln),this.context||(this.context=new IP),this.params){const s=this.params.toString();if(0===s.length)this.urlWithParams=n;else{const a=n.indexOf("?");this.urlWithParams=n+(-1===a?"?":ad.set(f,t.setHeaders[f]),u)),t.setParams&&(l=Object.keys(t.setParams).reduce((d,f)=>d.set(f,t.setParams[f]),l)),new Ai(n,r,i,{params:l,headers:u,context:c,reportProgress:a,responseType:o,withCredentials:s})}}var Me=(()=>((Me=Me||{})[Me.Sent=0]="Sent",Me[Me.UploadProgress=1]="UploadProgress",Me[Me.ResponseHeader=2]="ResponseHeader",Me[Me.DownloadProgress=3]="DownloadProgress",Me[Me.Response=4]="Response",Me[Me.User=5]="User",Me))();class ef{constructor(t,n=200,r="OK"){this.headers=t.headers||new ln,this.status=void 0!==t.status?t.status:n,this.statusText=t.statusText||r,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}class tf extends ef{constructor(t={}){super(t),this.type=Me.ResponseHeader}clone(t={}){return new tf({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class lo extends ef{constructor(t={}){super(t),this.type=Me.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new lo({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class JC extends ef{constructor(t){super(t,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${t.url||"(unknown url)"}`:`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}}function nf(e,t){return{body:t,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials}}let NP=(()=>{class e{constructor(n){this.handler=n}request(n,r,o={}){let i;if(n instanceof Ai)i=n;else{let u,l;u=o.headers instanceof ln?o.headers:new ln(o.headers),o.params&&(l=o.params instanceof $n?o.params:new $n({fromObject:o.params})),i=new Ai(n,r,void 0!==o.body?o.body:null,{headers:u,context:o.context,params:l,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials})}const s=x(i).pipe(uo(u=>this.handler.handle(u)));if(n instanceof Ai||"events"===o.observe)return s;const a=s.pipe(Ut(u=>u instanceof lo));switch(o.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return a.pipe(Z(u=>{if(null!==u.body&&!(u.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return u.body}));case"blob":return a.pipe(Z(u=>{if(null!==u.body&&!(u.body instanceof Blob))throw new Error("Response is not a Blob.");return u.body}));case"text":return a.pipe(Z(u=>{if(null!==u.body&&"string"!=typeof u.body)throw new Error("Response is not a string.");return u.body}));default:return a.pipe(Z(u=>u.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${o.observe}}`)}}delete(n,r={}){return this.request("DELETE",n,r)}get(n,r={}){return this.request("GET",n,r)}head(n,r={}){return this.request("HEAD",n,r)}jsonp(n,r){return this.request("JSONP",n,{params:(new $n).append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,r={}){return this.request("OPTIONS",n,r)}patch(n,r,o={}){return this.request("PATCH",n,nf(o,r))}post(n,r,o={}){return this.request("POST",n,nf(o,r))}put(n,r,o={}){return this.request("PUT",n,nf(o,r))}}return e.\u0275fac=function(n){return new(n||e)(I(Ua))},e.\u0275prov=A({token:e,factory:e.\u0275fac}),e})();function KC(e,t){return t(e)}function RP(e,t){return(n,r)=>t.intercept(n,{handle:o=>e(o,r)})}const xP=new S(""),Ti=new S(""),XC=new S("");function FP(){let e=null;return(t,n)=>{null===e&&(e=(M(xP,{optional:!0})??[]).reduceRight(RP,KC));const r=M(Ea),o=r.add();return e(t,n).pipe(Ii(()=>r.remove(o)))}}let e_=(()=>{class e extends Ua{constructor(n,r){super(),this.backend=n,this.injector=r,this.chain=null,this.pendingTasks=M(Ea)}handle(n){if(null===this.chain){const o=Array.from(new Set([...this.injector.get(Ti),...this.injector.get(XC,[])]));this.chain=o.reduceRight((i,s)=>function OP(e,t,n){return(r,o)=>n.runInContext(()=>t(r,i=>e(i,o)))}(i,s,this.injector),KC)}const r=this.pendingTasks.add();return this.chain(n,o=>this.backend.handle(o)).pipe(Ii(()=>this.pendingTasks.remove(r)))}}return e.\u0275fac=function(n){return new(n||e)(I(Xd),I(tn))},e.\u0275prov=A({token:e,factory:e.\u0275fac}),e})();const VP=/^\)\]\}',?\n/;let n_=(()=>{class e{constructor(n){this.xhrFactory=n}handle(n){if("JSONP"===n.method)throw new C(-2800,!1);const r=this.xhrFactory;return(r.\u0275loadImpl?Ie(r.\u0275loadImpl()):x(null)).pipe(un(()=>new ye(i=>{const s=r.build();if(s.open(n.method,n.urlWithParams),n.withCredentials&&(s.withCredentials=!0),n.headers.forEach((g,y)=>s.setRequestHeader(g,y.join(","))),n.headers.has("Accept")||s.setRequestHeader("Accept","application/json, text/plain, */*"),!n.headers.has("Content-Type")){const g=n.detectContentTypeHeader();null!==g&&s.setRequestHeader("Content-Type",g)}if(n.responseType){const g=n.responseType.toLowerCase();s.responseType="json"!==g?g:"text"}const a=n.serializeBody();let u=null;const l=()=>{if(null!==u)return u;const g=s.statusText||"OK",y=new ln(s.getAllResponseHeaders()),_=function HP(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(s)||n.url;return u=new tf({headers:y,status:s.status,statusText:g,url:_}),u},c=()=>{let{headers:g,status:y,statusText:_,url:m}=l(),w=null;204!==y&&(w=typeof s.response>"u"?s.responseText:s.response),0===y&&(y=w?200:0);let R=y>=200&&y<300;if("json"===n.responseType&&"string"==typeof w){const U=w;w=w.replace(VP,"");try{w=""!==w?JSON.parse(w):null}catch(Ct){w=U,R&&(R=!1,w={error:Ct,text:w})}}R?(i.next(new lo({body:w,headers:g,status:y,statusText:_,url:m||void 0})),i.complete()):i.error(new JC({error:w,headers:g,status:y,statusText:_,url:m||void 0}))},d=g=>{const{url:y}=l(),_=new JC({error:g,status:s.status||0,statusText:s.statusText||"Unknown Error",url:y||void 0});i.error(_)};let f=!1;const h=g=>{f||(i.next(l()),f=!0);let y={type:Me.DownloadProgress,loaded:g.loaded};g.lengthComputable&&(y.total=g.total),"text"===n.responseType&&s.responseText&&(y.partialText=s.responseText),i.next(y)},p=g=>{let y={type:Me.UploadProgress,loaded:g.loaded};g.lengthComputable&&(y.total=g.total),i.next(y)};return s.addEventListener("load",c),s.addEventListener("error",d),s.addEventListener("timeout",d),s.addEventListener("abort",d),n.reportProgress&&(s.addEventListener("progress",h),null!==a&&s.upload&&s.upload.addEventListener("progress",p)),s.send(a),i.next({type:Me.Sent}),()=>{s.removeEventListener("error",d),s.removeEventListener("abort",d),s.removeEventListener("load",c),s.removeEventListener("timeout",d),n.reportProgress&&(s.removeEventListener("progress",h),null!==a&&s.upload&&s.upload.removeEventListener("progress",p)),s.readyState!==s.DONE&&s.abort()}})))}}return e.\u0275fac=function(n){return new(n||e)(I(bC))},e.\u0275prov=A({token:e,factory:e.\u0275fac}),e})();const rf=new S("XSRF_ENABLED"),r_=new S("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),o_=new S("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class i_{}let $P=(()=>{class e{constructor(n,r,o){this.doc=n,this.platform=r,this.cookieName=o,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=hC(n,this.cookieName),this.lastCookieString=n),this.lastToken}}return e.\u0275fac=function(n){return new(n||e)(I(ke),I(or),I(r_))},e.\u0275prov=A({token:e,factory:e.\u0275fac}),e})();function UP(e,t){const n=e.url.toLowerCase();if(!M(rf)||"GET"===e.method||"HEAD"===e.method||n.startsWith("http://")||n.startsWith("https://"))return t(e);const r=M(i_).getToken(),o=M(o_);return null!=r&&!e.headers.has(o)&&(e=e.clone({headers:e.headers.set(o,r)})),t(e)}var Ce=(()=>((Ce=Ce||{})[Ce.Interceptors=0]="Interceptors",Ce[Ce.LegacyInterceptors=1]="LegacyInterceptors",Ce[Ce.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",Ce[Ce.NoXsrfProtection=3]="NoXsrfProtection",Ce[Ce.JsonpSupport=4]="JsonpSupport",Ce[Ce.RequestsMadeViaParent=5]="RequestsMadeViaParent",Ce))();function co(e,t){return{\u0275kind:e,\u0275providers:t}}function GP(...e){const t=[NP,n_,e_,{provide:Ua,useExisting:e_},{provide:Xd,useExisting:n_},{provide:Ti,useValue:UP,multi:!0},{provide:rf,useValue:!0},{provide:i_,useClass:$P}];for(const n of e)t.push(...n.\u0275providers);return function jl(e){return{\u0275providers:e}}(t)}const s_=new S("LEGACY_INTERCEPTOR_FN");let WP=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=bt({type:e}),e.\u0275inj=ct({providers:[GP(co(Ce.LegacyInterceptors,[{provide:s_,useFactory:FP},{provide:Ti,useExisting:s_,multi:!0}]))]}),e})();const{isArray:XP}=Array,{getPrototypeOf:e1,prototype:t1,keys:n1}=Object;function a_(e){if(1===e.length){const t=e[0];if(XP(t))return{args:t,keys:null};if(function r1(e){return e&&"object"==typeof e&&e1(e)===t1}(t)){const n=n1(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}const{isArray:o1}=Array;function u_(e){return Z(t=>function i1(e,t){return o1(t)?e(...t):e(t)}(e,t))}function l_(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function sf(...e){const t=So(e),n=wh(e),{args:r,keys:o}=a_(e);if(0===r.length)return Ie([],t);const i=new ye(function s1(e,t,n=Tn){return r=>{c_(t,()=>{const{length:o}=e,i=new Array(o);let s=o,a=o;for(let u=0;u{const l=Ie(e[u],t);let c=!1;l.subscribe(Se(r,d=>{i[u]=d,c||(c=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}(r,t,o?s=>l_(o,s):Tn));return n?i.pipe(u_(n)):i}function c_(e,t,n){e?hn(n,e,t):t()}const Wa=Eo(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function af(...e){return function a1(){return Dr(1)}()(Ie(e,So(e)))}function d_(e){return new ye(t=>{wt(e()).subscribe(t)})}function Ni(e,t){const n=te(e)?e:()=>e,r=o=>o.error(n());return new ye(t?o=>t.schedule(r,0,o):r)}function uf(){return xe((e,t)=>{let n=null;e._refCount++;const r=Se(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount)return void(n=null);const o=e._connection,i=n;n=null,o&&(!i||o===i)&&o.unsubscribe(),t.unsubscribe()});e.subscribe(r),r.closed||(n=e.connect())})}class f_ extends ye{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,ah(t)&&(this.lift=t.lift)}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){const t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:t}=this;this._subject=this._connection=null,t?.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new _t;const n=this.getSubject();t.add(this.source.subscribe(Se(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=_t.EMPTY)}return t}refCount(){return uf()(this)}}function fo(e){return e<=0?()=>Wt:xe((t,n)=>{let r=0;t.subscribe(Se(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function qa(e){return xe((t,n)=>{let r=!1;t.subscribe(Se(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function h_(e=l1){return xe((t,n)=>{let r=!1;t.subscribe(Se(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function l1(){return new Wa}function dr(e,t){const n=arguments.length>=2;return r=>r.pipe(e?Ut((o,i)=>e(o,i,r)):Tn,fo(1),n?qa(t):h_(()=>new Wa))}function Qe(e,t,n){const r=te(e)||t||n?{next:e,error:t,complete:n}:e;return r?xe((o,i)=>{var s;null===(s=r.subscribe)||void 0===s||s.call(r);let a=!0;o.subscribe(Se(i,u=>{var l;null===(l=r.next)||void 0===l||l.call(r,u),i.next(u)},()=>{var u;a=!1,null===(u=r.complete)||void 0===u||u.call(r),i.complete()},u=>{var l;a=!1,null===(l=r.error)||void 0===l||l.call(r,u),i.error(u)},()=>{var u,l;a&&(null===(u=r.unsubscribe)||void 0===u||u.call(r)),null===(l=r.finalize)||void 0===l||l.call(r)}))}):Tn}function fr(e){return xe((t,n)=>{let i,r=null,o=!1;r=t.subscribe(Se(n,void 0,void 0,s=>{i=wt(e(s,fr(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function lf(e){return e<=0?()=>Wt:xe((t,n)=>{let r=[];t.subscribe(Se(n,o=>{r.push(o),e{for(const o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}const B="primary",Ri=Symbol("RouteTitle");class p1{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){const n=this.params[t];return Array.isArray(n)?n[0]:n}return null}getAll(t){if(this.has(t)){const n=this.params[t];return Array.isArray(n)?n:[n]}return[]}get keys(){return Object.keys(this.params)}}function ho(e){return new p1(e)}function g1(e,t,n){const r=n.path.split("/");if(r.length>e.length||"full"===n.pathMatch&&(t.hasChildren()||r.lengthr[i]===o)}return e===t}function g_(e){return e.length>0?e[e.length-1]:null}function Un(e){return function KP(e){return!!e&&(e instanceof ye||te(e.lift)&&te(e.subscribe))}(e)?e:ci(e)?Ie(Promise.resolve(e)):x(e)}const y1={exact:function v_(e,t,n){if(!hr(e.segments,t.segments)||!Za(e.segments,t.segments,n)||e.numberOfChildren!==t.numberOfChildren)return!1;for(const r in t.children)if(!e.children[r]||!v_(e.children[r],t.children[r],n))return!1;return!0},subset:D_},m_={exact:function v1(e,t){return cn(e,t)},subset:function D1(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(n=>p_(e[n],t[n]))},ignored:()=>!0};function y_(e,t,n){return y1[n.paths](e.root,t.root,n.matrixParams)&&m_[n.queryParams](e.queryParams,t.queryParams)&&!("exact"===n.fragment&&e.fragment!==t.fragment)}function D_(e,t,n){return C_(e,t,t.segments,n)}function C_(e,t,n,r){if(e.segments.length>n.length){const o=e.segments.slice(0,n.length);return!(!hr(o,n)||t.hasChildren()||!Za(o,n,r))}if(e.segments.length===n.length){if(!hr(e.segments,n)||!Za(e.segments,n,r))return!1;for(const o in t.children)if(!e.children[o]||!D_(e.children[o],t.children[o],r))return!1;return!0}{const o=n.slice(0,e.segments.length),i=n.slice(e.segments.length);return!!(hr(e.segments,o)&&Za(e.segments,o,r)&&e.children[B])&&C_(e.children[B],t,i,r)}}function Za(e,t,n){return t.every((r,o)=>m_[n](e[o].parameters,r.parameters))}class po{constructor(t=new ee([],{}),n={},r=null){this.root=t,this.queryParams=n,this.fragment=r}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=ho(this.queryParams)),this._queryParamMap}toString(){return w1.serialize(this)}}class ee{constructor(t,n){this.segments=t,this.children=n,this.parent=null,Object.values(n).forEach(r=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Ya(this)}}class Oi{constructor(t,n){this.path=t,this.parameters=n}get parameterMap(){return this._parameterMap||(this._parameterMap=ho(this.parameters)),this._parameterMap}toString(){return E_(this)}}function hr(e,t){return e.length===t.length&&e.every((n,r)=>n.path===t[r].path)}let xi=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=A({token:e,factory:function(){return new cf},providedIn:"root"}),e})();class cf{parse(t){const n=new x1(t);return new po(n.parseRootSegment(),n.parseQueryParams(),n.parseFragment())}serialize(t){const n=`/${Fi(t.root,!0)}`,r=function M1(e){const t=Object.keys(e).map(n=>{const r=e[n];return Array.isArray(r)?r.map(o=>`${Qa(n)}=${Qa(o)}`).join("&"):`${Qa(n)}=${Qa(r)}`}).filter(n=>!!n);return t.length?`?${t.join("&")}`:""}(t.queryParams);return`${n}${r}${"string"==typeof t.fragment?`#${function E1(e){return encodeURI(e)}(t.fragment)}`:""}`}}const w1=new cf;function Ya(e){return e.segments.map(t=>E_(t)).join("/")}function Fi(e,t){if(!e.hasChildren())return Ya(e);if(t){const n=e.children[B]?Fi(e.children[B],!1):"",r=[];return Object.entries(e.children).forEach(([o,i])=>{o!==B&&r.push(`${o}:${Fi(i,!1)}`)}),r.length>0?`${n}(${r.join("//")})`:n}{const n=function _1(e,t){let n=[];return Object.entries(e.children).forEach(([r,o])=>{r===B&&(n=n.concat(t(o,r)))}),Object.entries(e.children).forEach(([r,o])=>{r!==B&&(n=n.concat(t(o,r)))}),n}(e,(r,o)=>o===B?[Fi(e.children[B],!1)]:[`${o}:${Fi(r,!1)}`]);return 1===Object.keys(e.children).length&&null!=e.children[B]?`${Ya(e)}/${n[0]}`:`${Ya(e)}/(${n.join("//")})`}}function __(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Qa(e){return __(e).replace(/%3B/gi,";")}function df(e){return __(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ja(e){return decodeURIComponent(e)}function w_(e){return Ja(e.replace(/\+/g,"%20"))}function E_(e){return`${df(e.path)}${function b1(e){return Object.keys(e).map(t=>`;${df(t)}=${df(e[t])}`).join("")}(e.parameters)}`}const S1=/^[^\/()?;#]+/;function ff(e){const t=e.match(S1);return t?t[0]:""}const I1=/^[^\/()?;=#]+/,T1=/^[^=?&#]+/,R1=/^[^&#]+/;class x1{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new ee([],{}):new ee([],this.parseChildren())}parseQueryParams(){const t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let n={};this.peekStartsWith("/(")&&(this.capture("/"),n=this.parseParens(!0));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1)),(t.length>0||Object.keys(n).length>0)&&(r[B]=new ee(t,n)),r}parseSegment(){const t=ff(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new C(4009,!1);return this.capture(t),new Oi(Ja(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const n=function A1(e){const t=e.match(I1);return t?t[0]:""}(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){const o=ff(this.remaining);o&&(r=o,this.capture(r))}t[Ja(n)]=Ja(r)}parseQueryParam(t){const n=function N1(e){const t=e.match(T1);return t?t[0]:""}(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){const s=function O1(e){const t=e.match(R1);return t?t[0]:""}(this.remaining);s&&(r=s,this.capture(r))}const o=w_(n),i=w_(r);if(t.hasOwnProperty(o)){let s=t[o];Array.isArray(s)||(s=[s],t[o]=s),s.push(i)}else t[o]=i}parseParens(t){const n={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const r=ff(this.remaining),o=this.remaining[r.length];if("/"!==o&&")"!==o&&";"!==o)throw new C(4010,!1);let i;r.indexOf(":")>-1?(i=r.slice(0,r.indexOf(":")),this.capture(i),this.capture(":")):t&&(i=B);const s=this.parseChildren();n[i]=1===Object.keys(s).length?s[B]:new ee([],s),this.consumeOptional("//")}return n}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)}capture(t){if(!this.consumeOptional(t))throw new C(4011,!1)}}function b_(e){return e.segments.length>0?new ee([],{[B]:e}):e}function M_(e){const t={};for(const r of Object.keys(e.children)){const i=M_(e.children[r]);if(r===B&&0===i.segments.length&&i.hasChildren())for(const[s,a]of Object.entries(i.children))t[s]=a;else(i.segments.length>0||i.hasChildren())&&(t[r]=i)}return function F1(e){if(1===e.numberOfChildren&&e.children[B]){const t=e.children[B];return new ee(e.segments.concat(t.segments),t.children)}return e}(new ee(e.segments,t))}function pr(e){return e instanceof po}function S_(e){let t;const o=b_(function n(i){const s={};for(const u of i.children){const l=n(u);s[u.outlet]=l}const a=new ee(i.url,s);return i===e&&(t=a),a}(e.root));return t??o}function I_(e,t,n,r){let o=e;for(;o.parent;)o=o.parent;if(0===t.length)return hf(o,o,o,n,r);const i=function k1(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new T_(!0,0,e);let t=0,n=!1;const r=e.reduce((o,i,s)=>{if("object"==typeof i&&null!=i){if(i.outlets){const a={};return Object.entries(i.outlets).forEach(([u,l])=>{a[u]="string"==typeof l?l.split("/"):l}),[...o,{outlets:a}]}if(i.segmentPath)return[...o,i.segmentPath]}return"string"!=typeof i?[...o,i]:0===s?(i.split("/").forEach((a,u)=>{0==u&&"."===a||(0==u&&""===a?n=!0:".."===a?t++:""!=a&&o.push(a))}),o):[...o,i]},[]);return new T_(n,t,r)}(t);if(i.toRoot())return hf(o,o,new ee([],{}),n,r);const s=function L1(e,t,n){if(e.isAbsolute)return new Xa(t,!0,0);if(!n)return new Xa(t,!1,NaN);if(null===n.parent)return new Xa(n,!0,0);const r=Ka(e.commands[0])?0:1;return function V1(e,t,n){let r=e,o=t,i=n;for(;i>o;){if(i-=o,r=r.parent,!r)throw new C(4005,!1);o=r.segments.length}return new Xa(r,!1,o-i)}(n,n.segments.length-1+r,e.numberOfDoubleDots)}(i,o,e),a=s.processChildren?ki(s.segmentGroup,s.index,i.commands):N_(s.segmentGroup,s.index,i.commands);return hf(o,s.segmentGroup,a,n,r)}function Ka(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function Pi(e){return"object"==typeof e&&null!=e&&e.outlets}function hf(e,t,n,r,o){let s,i={};r&&Object.entries(r).forEach(([u,l])=>{i[u]=Array.isArray(l)?l.map(c=>`${c}`):`${l}`}),s=e===t?n:A_(e,t,n);const a=b_(M_(s));return new po(a,i,o)}function A_(e,t,n){const r={};return Object.entries(e.children).forEach(([o,i])=>{r[o]=i===t?n:A_(i,t,n)}),new ee(e.segments,r)}class T_{constructor(t,n,r){if(this.isAbsolute=t,this.numberOfDoubleDots=n,this.commands=r,t&&r.length>0&&Ka(r[0]))throw new C(4003,!1);const o=r.find(Pi);if(o&&o!==g_(r))throw new C(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Xa{constructor(t,n,r){this.segmentGroup=t,this.processChildren=n,this.index=r}}function N_(e,t,n){if(e||(e=new ee([],{})),0===e.segments.length&&e.hasChildren())return ki(e,t,n);const r=function j1(e,t,n){let r=0,o=t;const i={match:!1,pathIndex:0,commandIndex:0};for(;o=n.length)return i;const s=e.segments[o],a=n[r];if(Pi(a))break;const u=`${a}`,l=r0&&void 0===u)break;if(u&&l&&"object"==typeof l&&void 0===l.outlets){if(!O_(u,l,s))return i;r+=2}else{if(!O_(u,{},s))return i;r++}o++}return{match:!0,pathIndex:o,commandIndex:r}}(e,t,n),o=n.slice(r.commandIndex);if(r.match&&r.pathIndex{"string"==typeof s&&(s=[s]),null!==s&&(o[i]=N_(e.children[i],t,s))}),Object.entries(e.children).forEach(([i,s])=>{void 0===r[i]&&(o[i]=s)}),new ee(e.segments,o)}}function pf(e,t,n){const r=e.segments.slice(0,t);let o=0;for(;o{"string"==typeof r&&(r=[r]),null!==r&&(t[n]=pf(new ee([],{}),0,r))}),t}function R_(e){const t={};return Object.entries(e).forEach(([n,r])=>t[n]=`${r}`),t}function O_(e,t,n){return e==n.path&&cn(t,n.parameters)}const Li="imperative";class dn{constructor(t,n){this.id=t,this.url=n}}class gf extends dn{constructor(t,n,r="imperative",o=null){super(t,n),this.type=0,this.navigationTrigger=r,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class gr extends dn{constructor(t,n,r){super(t,n),this.urlAfterRedirects=r,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class eu extends dn{constructor(t,n,r,o){super(t,n),this.reason=r,this.code=o,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Vi extends dn{constructor(t,n,r,o){super(t,n),this.reason=r,this.code=o,this.type=16}}class mf extends dn{constructor(t,n,r,o){super(t,n),this.error=r,this.target=o,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class $1 extends dn{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class U1 extends dn{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class G1 extends dn{constructor(t,n,r,o,i){super(t,n),this.urlAfterRedirects=r,this.state=o,this.shouldActivate=i,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class z1 extends dn{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class W1 extends dn{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class q1{constructor(t){this.route=t,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Z1{constructor(t){this.route=t,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Y1{constructor(t){this.snapshot=t,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Q1{constructor(t){this.snapshot=t,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class J1{constructor(t){this.snapshot=t,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class K1{constructor(t){this.snapshot=t,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class x_{constructor(t,n,r){this.routerEvent=t,this.position=n,this.anchor=r,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class X1{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new Hi,this.attachRef=null}}let Hi=(()=>{class e{constructor(){this.contexts=new Map}onChildOutletCreated(n,r){const o=this.getOrCreateContext(n);o.outlet=r,this.contexts.set(n,o)}onChildOutletDestroyed(n){const r=this.getContext(n);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){const n=this.contexts;return this.contexts=new Map,n}onOutletReAttached(n){this.contexts=n}getOrCreateContext(n){let r=this.getContext(n);return r||(r=new X1,this.contexts.set(n,r)),r}getContext(n){return this.contexts.get(n)||null}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();class F_{constructor(t){this._root=t}get root(){return this._root.value}parent(t){const n=this.pathFromRoot(t);return n.length>1?n[n.length-2]:null}children(t){const n=yf(t,this._root);return n?n.children.map(r=>r.value):[]}firstChild(t){const n=yf(t,this._root);return n&&n.children.length>0?n.children[0].value:null}siblings(t){const n=vf(t,this._root);return n.length<2?[]:n[n.length-2].children.map(o=>o.value).filter(o=>o!==t)}pathFromRoot(t){return vf(t,this._root).map(n=>n.value)}}function yf(e,t){if(e===t.value)return t;for(const n of t.children){const r=yf(e,n);if(r)return r}return null}function vf(e,t){if(e===t.value)return[t];for(const n of t.children){const r=vf(e,n);if(r.length)return r.unshift(t),r}return[]}class In{constructor(t,n){this.value=t,this.children=n}toString(){return`TreeNode(${this.value})`}}function go(e){const t={};return e&&e.children.forEach(n=>t[n.value.outlet]=n),t}class P_ extends F_{constructor(t,n){super(t),this.snapshot=n,Df(this,t)}toString(){return this.snapshot.toString()}}function k_(e,t){const n=function ek(e,t){const s=new tu([],{},{},"",{},B,t,null,{});return new V_("",new In(s,[]))}(0,t),r=new ut([new Oi("",{})]),o=new ut({}),i=new ut({}),s=new ut({}),a=new ut(""),u=new mo(r,o,s,a,i,B,t,n.root);return u.snapshot=n.root,new P_(new In(u,[]),n)}class mo{constructor(t,n,r,o,i,s,a,u){this.urlSubject=t,this.paramsSubject=n,this.queryParamsSubject=r,this.fragmentSubject=o,this.dataSubject=i,this.outlet=s,this.component=a,this._futureSnapshot=u,this.title=this.dataSubject?.pipe(Z(l=>l[Ri]))??x(void 0),this.url=t,this.params=n,this.queryParams=r,this.fragment=o,this.data=i}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe(Z(t=>ho(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(Z(t=>ho(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function L_(e,t="emptyOnly"){const n=e.pathFromRoot;let r=0;if("always"!==t)for(r=n.length-1;r>=1;){const o=n[r],i=n[r-1];if(o.routeConfig&&""===o.routeConfig.path)r--;else{if(i.component)break;r--}}return function tk(e){return e.reduce((t,n)=>({params:{...t.params,...n.params},data:{...t.data,...n.data},resolve:{...n.data,...t.resolve,...n.routeConfig?.data,...n._resolvedData}}),{params:{},data:{},resolve:{}})}(n.slice(r))}class tu{get title(){return this.data?.[Ri]}constructor(t,n,r,o,i,s,a,u,l){this.url=t,this.params=n,this.queryParams=r,this.fragment=o,this.data=i,this.outlet=s,this.component=a,this.routeConfig=u,this._resolve=l}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=ho(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=ho(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(r=>r.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class V_ extends F_{constructor(t,n){super(n),this.url=t,Df(this,n)}toString(){return H_(this._root)}}function Df(e,t){t.value._routerState=e,t.children.forEach(n=>Df(e,n))}function H_(e){const t=e.children.length>0?` { ${e.children.map(H_).join(", ")} } `:"";return`${e.value}${t}`}function Cf(e){if(e.snapshot){const t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,cn(t.queryParams,n.queryParams)||e.queryParamsSubject.next(n.queryParams),t.fragment!==n.fragment&&e.fragmentSubject.next(n.fragment),cn(t.params,n.params)||e.paramsSubject.next(n.params),function m1(e,t){if(e.length!==t.length)return!1;for(let n=0;ncn(n.parameters,t[r].parameters))}(e.url,t.url);return n&&!(!e.parent!=!t.parent)&&(!e.parent||_f(e.parent,t.parent))}let wf=(()=>{class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=B,this.activateEvents=new he,this.deactivateEvents=new he,this.attachEvents=new he,this.detachEvents=new he,this.parentContexts=M(Hi),this.location=M(Ht),this.changeDetector=M(_i),this.environmentInjector=M(tn),this.inputBinder=M(nu,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(n){if(n.name){const{firstChange:r,previousValue:o}=n.name;if(r)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(n){return this.parentContexts.getContext(n)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const n=this.parentContexts.getContext(this.name);n?.route&&(n.attachRef?this.attach(n.attachRef,n.route):this.activateWith(n.route,n.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new C(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new C(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new C(4012,!1);this.location.detach();const n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}attach(n,r){this.activated=n,this._activatedRoute=r,this.location.insert(n.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(n.instance)}deactivate(){if(this.activated){const n=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}}activateWith(n,r){if(this.isActivated)throw new C(4013,!1);this._activatedRoute=n;const o=this.location,s=n.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,u=new nk(n,a,o.injector);this.activated=o.createComponent(s,{index:o.length,injector:u,environmentInjector:r??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=F({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[pt]}),e})();class nk{constructor(t,n,r){this.route=t,this.childContexts=n,this.parent=r}get(t,n){return t===mo?this.route:t===Hi?this.childContexts:this.parent.get(t,n)}}const nu=new S("");let j_=(()=>{class e{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(n){this.unsubscribeFromRouteData(n),this.subscribeToRouteData(n)}unsubscribeFromRouteData(n){this.outletDataSubscriptions.get(n)?.unsubscribe(),this.outletDataSubscriptions.delete(n)}subscribeToRouteData(n){const{activatedRoute:r}=n,o=sf([r.queryParams,r.params,r.data]).pipe(un(([i,s,a],u)=>(a={...i,...s,...a},0===u?x(a):Promise.resolve(a)))).subscribe(i=>{if(!n.isActivated||!n.activatedComponentRef||n.activatedRoute!==r||null===r.component)return void this.unsubscribeFromRouteData(n);const s=function YO(e){const t=Y(e);if(!t)return null;const n=new oi(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone}}}(r.component);if(s)for(const{templateName:a}of s.inputs)n.activatedComponentRef.setInput(a,i[a]);else this.unsubscribeFromRouteData(n)});this.outletDataSubscriptions.set(n,o)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=A({token:e,factory:e.\u0275fac}),e})();function ji(e,t,n){if(n&&e.shouldReuseRoute(t.value,n.value.snapshot)){const r=n.value;r._futureSnapshot=t.value;const o=function ok(e,t,n){return t.children.map(r=>{for(const o of n.children)if(e.shouldReuseRoute(r.value,o.value.snapshot))return ji(e,r,o);return ji(e,r)})}(e,t,n);return new In(r,o)}{if(e.shouldAttach(t.value)){const i=e.retrieve(t.value);if(null!==i){const s=i.route;return s.value._futureSnapshot=t.value,s.children=t.children.map(a=>ji(e,a)),s}}const r=function ik(e){return new mo(new ut(e.url),new ut(e.params),new ut(e.queryParams),new ut(e.fragment),new ut(e.data),e.outlet,e.component,e)}(t.value),o=t.children.map(i=>ji(e,i));return new In(r,o)}}const Ef="ngNavigationCancelingError";function B_(e,t){const{redirectTo:n,navigationBehaviorOptions:r}=pr(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,o=$_(!1,0,t);return o.url=n,o.navigationBehaviorOptions=r,o}function $_(e,t,n){const r=new Error("NavigationCancelingError: "+(e||""));return r[Ef]=!0,r.cancellationCode=t,n&&(r.url=n),r}function U_(e){return G_(e)&&pr(e.url)}function G_(e){return e&&e[Ef]}let z_=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=xn({type:e,selectors:[["ng-component"]],standalone:!0,features:[Gc],decls:1,vars:0,template:function(n,r){1&n&&Ln(0,"router-outlet")},dependencies:[wf],encapsulation:2}),e})();function bf(e){const t=e.children&&e.children.map(bf),n=t?{...e,children:t}:{...e};return!n.component&&!n.loadComponent&&(t||n.loadChildren)&&n.outlet&&n.outlet!==B&&(n.component=z_),n}function Gt(e){return e.outlet||B}function Bi(e){if(!e)return null;if(e.routeConfig?._injector)return e.routeConfig._injector;for(let t=e.parent;t;t=t.parent){const n=t.routeConfig;if(n?._loadedInjector)return n._loadedInjector;if(n?._injector)return n._injector}return null}class fk{constructor(t,n,r,o,i){this.routeReuseStrategy=t,this.futureState=n,this.currState=r,this.forwardEvent=o,this.inputBindingEnabled=i}activate(t){const n=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(n,r,t),Cf(this.futureState.root),this.activateChildRoutes(n,r,t)}deactivateChildRoutes(t,n,r){const o=go(n);t.children.forEach(i=>{const s=i.value.outlet;this.deactivateRoutes(i,o[s],r),delete o[s]}),Object.values(o).forEach(i=>{this.deactivateRouteAndItsChildren(i,r)})}deactivateRoutes(t,n,r){const o=t.value,i=n?n.value:null;if(o===i)if(o.component){const s=r.getContext(o.outlet);s&&this.deactivateChildRoutes(t,n,s.children)}else this.deactivateChildRoutes(t,n,r);else i&&this.deactivateRouteAndItsChildren(n,r)}deactivateRouteAndItsChildren(t,n){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,n):this.deactivateRouteAndOutlet(t,n)}detachAndStoreRouteSubtree(t,n){const r=n.getContext(t.value.outlet),o=r&&t.value.component?r.children:n,i=go(t);for(const s of Object.keys(i))this.deactivateRouteAndItsChildren(i[s],o);if(r&&r.outlet){const s=r.outlet.detach(),a=r.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:s,route:t,contexts:a})}}deactivateRouteAndOutlet(t,n){const r=n.getContext(t.value.outlet),o=r&&t.value.component?r.children:n,i=go(t);for(const s of Object.keys(i))this.deactivateRouteAndItsChildren(i[s],o);r&&(r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated()),r.attachRef=null,r.route=null)}activateChildRoutes(t,n,r){const o=go(n);t.children.forEach(i=>{this.activateRoutes(i,o[i.value.outlet],r),this.forwardEvent(new K1(i.value.snapshot))}),t.children.length&&this.forwardEvent(new Q1(t.value.snapshot))}activateRoutes(t,n,r){const o=t.value,i=n?n.value:null;if(Cf(o),o===i)if(o.component){const s=r.getOrCreateContext(o.outlet);this.activateChildRoutes(t,n,s.children)}else this.activateChildRoutes(t,n,r);else if(o.component){const s=r.getOrCreateContext(o.outlet);if(this.routeReuseStrategy.shouldAttach(o.snapshot)){const a=this.routeReuseStrategy.retrieve(o.snapshot);this.routeReuseStrategy.store(o.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),Cf(a.route.value),this.activateChildRoutes(t,null,s.children)}else{const a=Bi(o.snapshot);s.attachRef=null,s.route=o,s.injector=a,s.outlet&&s.outlet.activateWith(o,s.injector),this.activateChildRoutes(t,null,s.children)}}else this.activateChildRoutes(t,null,r)}}class W_{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class ru{constructor(t,n){this.component=t,this.route=n}}function hk(e,t,n){const r=e._root;return $i(r,t?t._root:null,n,[r.value])}function yo(e,t){const n=Symbol(),r=t.get(e,n);return r===n?"function"!=typeof e||function Mb(e){return null!==rs(e)}(e)?t.get(e):e:r}function $i(e,t,n,r,o={canDeactivateChecks:[],canActivateChecks:[]}){const i=go(t);return e.children.forEach(s=>{(function gk(e,t,n,r,o={canDeactivateChecks:[],canActivateChecks:[]}){const i=e.value,s=t?t.value:null,a=n?n.getContext(e.value.outlet):null;if(s&&i.routeConfig===s.routeConfig){const u=function mk(e,t,n){if("function"==typeof n)return n(e,t);switch(n){case"pathParamsChange":return!hr(e.url,t.url);case"pathParamsOrQueryParamsChange":return!hr(e.url,t.url)||!cn(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!_f(e,t)||!cn(e.queryParams,t.queryParams);default:return!_f(e,t)}}(s,i,i.routeConfig.runGuardsAndResolvers);u?o.canActivateChecks.push(new W_(r)):(i.data=s.data,i._resolvedData=s._resolvedData),$i(e,t,i.component?a?a.children:null:n,r,o),u&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new ru(a.outlet.component,s))}else s&&Ui(t,a,o),o.canActivateChecks.push(new W_(r)),$i(e,null,i.component?a?a.children:null:n,r,o)})(s,i[s.value.outlet],n,r.concat([s.value]),o),delete i[s.value.outlet]}),Object.entries(i).forEach(([s,a])=>Ui(a,n.getContext(s),o)),o}function Ui(e,t,n){const r=go(e),o=e.value;Object.entries(r).forEach(([i,s])=>{Ui(s,o.component?t?t.children.getContext(i):null:t,n)}),n.canDeactivateChecks.push(new ru(o.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,o))}function Gi(e){return"function"==typeof e}function q_(e){return e instanceof Wa||"EmptyError"===e?.name}const ou=Symbol("INITIAL_VALUE");function vo(){return un(e=>sf(e.map(t=>t.pipe(fo(1),function u1(...e){const t=So(e);return xe((n,r)=>{(t?af(e,n,t):af(e,n)).subscribe(r)})}(ou)))).pipe(Z(t=>{for(const n of t)if(!0!==n){if(n===ou)return ou;if(!1===n||n instanceof po)return n}return!0}),Ut(t=>t!==ou),fo(1)))}function Z_(e){return rh(Qe(t=>{if(pr(t))throw B_(0,t)}),Z(t=>!0===t))}class iu{constructor(t){this.segmentGroup=t||null}}class Y_{constructor(t){this.urlTree=t}}function Do(e){return Ni(new iu(e))}function Q_(e){return Ni(new Y_(e))}class kk{constructor(t,n){this.urlSerializer=t,this.urlTree=n}noMatchError(t){return new C(4002,!1)}lineralizeSegments(t,n){let r=[],o=n.root;for(;;){if(r=r.concat(o.segments),0===o.numberOfChildren)return x(r);if(o.numberOfChildren>1||!o.children[B])return Ni(new C(4e3,!1));o=o.children[B]}}applyRedirectCommands(t,n,r){return this.applyRedirectCreateUrlTree(n,this.urlSerializer.parse(n),t,r)}applyRedirectCreateUrlTree(t,n,r,o){const i=this.createSegmentGroup(t,n.root,r,o);return new po(i,this.createQueryParams(n.queryParams,this.urlTree.queryParams),n.fragment)}createQueryParams(t,n){const r={};return Object.entries(t).forEach(([o,i])=>{if("string"==typeof i&&i.startsWith(":")){const a=i.substring(1);r[o]=n[a]}else r[o]=i}),r}createSegmentGroup(t,n,r,o){const i=this.createSegments(t,n.segments,r,o);let s={};return Object.entries(n.children).forEach(([a,u])=>{s[a]=this.createSegmentGroup(t,u,r,o)}),new ee(i,s)}createSegments(t,n,r,o){return n.map(i=>i.path.startsWith(":")?this.findPosParam(t,i,o):this.findOrReturn(i,r))}findPosParam(t,n,r){const o=r[n.path.substring(1)];if(!o)throw new C(4001,!1);return o}findOrReturn(t,n){let r=0;for(const o of n){if(o.path===t.path)return n.splice(r),o;r++}return t}}const Mf={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Lk(e,t,n,r,o){const i=Sf(e,t,n);return i.matched?(r=function sk(e,t){return e.providers&&!e._injector&&(e._injector=Uc(e.providers,t,`Route: ${e.path}`)),e._injector??t}(t,r),function xk(e,t,n,r){const o=t.canMatch;return o&&0!==o.length?x(o.map(s=>{const a=yo(s,e);return Un(function wk(e){return e&&Gi(e.canMatch)}(a)?a.canMatch(t,n):e.runInContext(()=>a(t,n)))})).pipe(vo(),Z_()):x(!0)}(r,t,n).pipe(Z(s=>!0===s?i:{...Mf}))):x(i)}function Sf(e,t,n){if(""===t.path)return"full"===t.pathMatch&&(e.hasChildren()||n.length>0)?{...Mf}:{matched:!0,consumedSegments:[],remainingSegments:n,parameters:{},positionalParamSegments:{}};const o=(t.matcher||g1)(n,e,t);if(!o)return{...Mf};const i={};Object.entries(o.posParams??{}).forEach(([a,u])=>{i[a]=u.path});const s=o.consumed.length>0?{...i,...o.consumed[o.consumed.length-1].parameters}:i;return{matched:!0,consumedSegments:o.consumed,remainingSegments:n.slice(o.consumed.length),parameters:s,positionalParamSegments:o.posParams??{}}}function J_(e,t,n,r){return n.length>0&&function jk(e,t,n){return n.some(r=>su(e,t,r)&&Gt(r)!==B)}(e,n,r)?{segmentGroup:new ee(t,Hk(r,new ee(n,e.children))),slicedSegments:[]}:0===n.length&&function Bk(e,t,n){return n.some(r=>su(e,t,r))}(e,n,r)?{segmentGroup:new ee(e.segments,Vk(e,0,n,r,e.children)),slicedSegments:n}:{segmentGroup:new ee(e.segments,e.children),slicedSegments:n}}function Vk(e,t,n,r,o){const i={};for(const s of r)if(su(e,n,s)&&!o[Gt(s)]){const a=new ee([],{});i[Gt(s)]=a}return{...o,...i}}function Hk(e,t){const n={};n[B]=t;for(const r of e)if(""===r.path&&Gt(r)!==B){const o=new ee([],{});n[Gt(r)]=o}return n}function su(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path}class zk{constructor(t,n,r,o,i,s,a){this.injector=t,this.configLoader=n,this.rootComponentType=r,this.config=o,this.urlTree=i,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.allowRedirects=!0,this.applyRedirects=new kk(this.urlSerializer,this.urlTree)}noMatchError(t){return new C(4002,!1)}recognize(){const t=J_(this.urlTree.root,[],[],this.config).segmentGroup;return this.processSegmentGroup(this.injector,this.config,t,B).pipe(fr(n=>{if(n instanceof Y_)return this.allowRedirects=!1,this.urlTree=n.urlTree,this.match(n.urlTree);throw n instanceof iu?this.noMatchError(n):n}),Z(n=>{const r=new tu([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},B,this.rootComponentType,null,{}),o=new In(r,n),i=new V_("",o),s=function P1(e,t,n=null,r=null){return I_(S_(e),t,n,r)}(r,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,i.url=this.urlSerializer.serialize(s),this.inheritParamsAndData(i._root),{state:i,tree:s}}))}match(t){return this.processSegmentGroup(this.injector,this.config,t.root,B).pipe(fr(r=>{throw r instanceof iu?this.noMatchError(r):r}))}inheritParamsAndData(t){const n=t.value,r=L_(n,this.paramsInheritanceStrategy);n.params=Object.freeze(r.params),n.data=Object.freeze(r.data),t.children.forEach(o=>this.inheritParamsAndData(o))}processSegmentGroup(t,n,r,o){return 0===r.segments.length&&r.hasChildren()?this.processChildren(t,n,r):this.processSegment(t,n,r,r.segments,o,!0)}processChildren(t,n,r){const o=[];for(const i of Object.keys(r.children))"primary"===i?o.unshift(i):o.push(i);return Ie(o).pipe(uo(i=>{const s=r.children[i],a=function ck(e,t){const n=e.filter(r=>Gt(r)===t);return n.push(...e.filter(r=>Gt(r)!==t)),n}(n,i);return this.processSegmentGroup(t,a,s,i)}),function d1(e,t){return xe(function c1(e,t,n,r,o){return(i,s)=>{let a=n,u=t,l=0;i.subscribe(Se(s,c=>{const d=l++;u=a?e(u,c,d):(a=!0,c),r&&s.next(u)},o&&(()=>{a&&s.next(u),s.complete()})))}}(e,t,arguments.length>=2,!0))}((i,s)=>(i.push(...s),i)),qa(null),function f1(e,t){const n=arguments.length>=2;return r=>r.pipe(e?Ut((o,i)=>e(o,i,r)):Tn,lf(1),n?qa(t):h_(()=>new Wa))}(),Fe(i=>{if(null===i)return Do(r);const s=K_(i);return function Wk(e){e.sort((t,n)=>t.value.outlet===B?-1:n.value.outlet===B?1:t.value.outlet.localeCompare(n.value.outlet))}(s),x(s)}))}processSegment(t,n,r,o,i,s){return Ie(n).pipe(uo(a=>this.processSegmentAgainstRoute(a._injector??t,n,a,r,o,i,s).pipe(fr(u=>{if(u instanceof iu)return x(null);throw u}))),dr(a=>!!a),fr(a=>{if(q_(a))return function Uk(e,t,n){return 0===t.length&&!e.children[n]}(r,o,i)?x([]):Do(r);throw a}))}processSegmentAgainstRoute(t,n,r,o,i,s,a){return function $k(e,t,n,r){return!!(Gt(e)===r||r!==B&&su(t,n,e))&&("**"===e.path||Sf(t,e,n).matched)}(r,o,i,s)?void 0===r.redirectTo?this.matchSegmentAgainstRoute(t,o,r,i,s,a):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,o,n,r,i,s):Do(o):Do(o)}expandSegmentAgainstRouteUsingRedirect(t,n,r,o,i,s){return"**"===o.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,r,o,s):this.expandRegularSegmentAgainstRouteUsingRedirect(t,n,r,o,i,s)}expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,r,o){const i=this.applyRedirects.applyRedirectCommands([],r.redirectTo,{});return r.redirectTo.startsWith("/")?Q_(i):this.applyRedirects.lineralizeSegments(r,i).pipe(Fe(s=>{const a=new ee(s,{});return this.processSegment(t,n,a,s,o,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(t,n,r,o,i,s){const{matched:a,consumedSegments:u,remainingSegments:l,positionalParamSegments:c}=Sf(n,o,i);if(!a)return Do(n);const d=this.applyRedirects.applyRedirectCommands(u,o.redirectTo,c);return o.redirectTo.startsWith("/")?Q_(d):this.applyRedirects.lineralizeSegments(o,d).pipe(Fe(f=>this.processSegment(t,r,n,f.concat(l),s,!1)))}matchSegmentAgainstRoute(t,n,r,o,i,s){let a;if("**"===r.path){const u=o.length>0?g_(o).parameters:{};a=x({snapshot:new tu(o,u,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,X_(r),Gt(r),r.component??r._loadedComponent??null,r,ew(r)),consumedSegments:[],remainingSegments:[]}),n.children={}}else a=Lk(n,r,o,t).pipe(Z(({matched:u,consumedSegments:l,remainingSegments:c,parameters:d})=>u?{snapshot:new tu(l,d,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,X_(r),Gt(r),r.component??r._loadedComponent??null,r,ew(r)),consumedSegments:l,remainingSegments:c}:null));return a.pipe(un(u=>null===u?Do(n):this.getChildConfig(t=r._injector??t,r,o).pipe(un(({routes:l})=>{const c=r._loadedInjector??t,{snapshot:d,consumedSegments:f,remainingSegments:h}=u,{segmentGroup:p,slicedSegments:g}=J_(n,f,h,l);if(0===g.length&&p.hasChildren())return this.processChildren(c,l,p).pipe(Z(_=>null===_?null:[new In(d,_)]));if(0===l.length&&0===g.length)return x([new In(d,[])]);const y=Gt(r)===i;return this.processSegment(c,l,p,g,y?B:i,!0).pipe(Z(_=>[new In(d,_)]))}))))}getChildConfig(t,n,r){return n.children?x({routes:n.children,injector:t}):n.loadChildren?void 0!==n._loadedRoutes?x({routes:n._loadedRoutes,injector:n._loadedInjector}):function Ok(e,t,n,r){const o=t.canLoad;return void 0===o||0===o.length?x(!0):x(o.map(s=>{const a=yo(s,e);return Un(function vk(e){return e&&Gi(e.canLoad)}(a)?a.canLoad(t,n):e.runInContext(()=>a(t,n)))})).pipe(vo(),Z_())}(t,n,r).pipe(Fe(o=>o?this.configLoader.loadChildren(t,n).pipe(Qe(i=>{n._loadedRoutes=i.routes,n._loadedInjector=i.injector})):function Pk(e){return Ni($_(!1,3))}())):x({routes:[],injector:t})}}function qk(e){const t=e.value.routeConfig;return t&&""===t.path}function K_(e){const t=[],n=new Set;for(const r of e){if(!qk(r)){t.push(r);continue}const o=t.find(i=>r.value.routeConfig===i.value.routeConfig);void 0!==o?(o.children.push(...r.children),n.add(o)):t.push(r)}for(const r of n){const o=K_(r.children);t.push(new In(r.value,o))}return t.filter(r=>!n.has(r))}function X_(e){return e.data||{}}function ew(e){return e.resolve||{}}function tw(e){return"string"==typeof e.title||null===e.title}function If(e){return un(t=>{const n=e(t);return n?Ie(n).pipe(Z(()=>t)):x(t)})}const Co=new S("ROUTES");let Af=(()=>{class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=M(vD)}loadComponent(n){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return x(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);const r=Un(n.loadComponent()).pipe(Z(nw),Qe(i=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=i}),Ii(()=>{this.componentLoaders.delete(n)})),o=new f_(r,()=>new fn).pipe(uf());return this.componentLoaders.set(n,o),o}loadChildren(n,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return x({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);const i=this.loadModuleFactoryOrRoutes(r.loadChildren).pipe(Z(a=>{this.onLoadEndListener&&this.onLoadEndListener(r);let u,l;return Array.isArray(a)?l=a:(u=a.create(n).injector,l=u.get(Co,[],T.Self|T.Optional).flat()),{routes:l.map(bf),injector:u}}),Ii(()=>{this.childrenLoaders.delete(r)})),s=new f_(i,()=>new fn).pipe(uf());return this.childrenLoaders.set(r,s),s}loadModuleFactoryOrRoutes(n){return Un(n()).pipe(Z(nw),Fe(r=>r instanceof Sv||Array.isArray(r)?x(r):Ie(this.compiler.compileModuleAsync(r))))}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function nw(e){return function eL(e){return e&&"object"==typeof e&&"default"in e}(e)?e.default:e}let au=(()=>{class e{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.lastSuccessfulNavigation=null,this.events=new fn,this.configLoader=M(Af),this.environmentInjector=M(tn),this.urlSerializer=M(xi),this.rootContexts=M(Hi),this.inputBindingEnabled=null!==M(nu,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>x(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=o=>this.events.next(new Z1(o)),this.configLoader.onLoadStartListener=o=>this.events.next(new q1(o))}complete(){this.transitions?.complete()}handleNavigationRequest(n){const r=++this.navigationId;this.transitions?.next({...this.transitions.value,...n,id:r})}setupNavigations(n){return this.transitions=new ut({id:0,currentUrlTree:n.currentUrlTree,currentRawUrl:n.currentUrlTree,extractedUrl:n.urlHandlingStrategy.extract(n.currentUrlTree),urlAfterRedirects:n.urlHandlingStrategy.extract(n.currentUrlTree),rawUrl:n.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:Li,restoredState:null,currentSnapshot:n.routerState.snapshot,targetSnapshot:null,currentRouterState:n.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(Ut(r=>0!==r.id),Z(r=>({...r,extractedUrl:n.urlHandlingStrategy.extract(r.rawUrl)})),un(r=>{let o=!1,i=!1;return x(r).pipe(Qe(s=>{this.currentNavigation={id:s.id,initialUrl:s.rawUrl,extractedUrl:s.extractedUrl,trigger:s.source,extras:s.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),un(s=>{const a=n.browserUrlTree.toString(),u=!n.navigated||s.extractedUrl.toString()!==a||a!==n.currentUrlTree.toString();if(!u&&"reload"!==(s.extras.onSameUrlNavigation??n.onSameUrlNavigation)){const c="";return this.events.next(new Vi(s.id,n.serializeUrl(r.rawUrl),c,0)),n.rawUrlTree=s.rawUrl,s.resolve(null),Wt}if(n.urlHandlingStrategy.shouldProcessUrl(s.rawUrl))return rw(s.source)&&(n.browserUrlTree=s.extractedUrl),x(s).pipe(un(c=>{const d=this.transitions?.getValue();return this.events.next(new gf(c.id,this.urlSerializer.serialize(c.extractedUrl),c.source,c.restoredState)),d!==this.transitions?.getValue()?Wt:Promise.resolve(c)}),function Zk(e,t,n,r,o,i){return Fe(s=>function Gk(e,t,n,r,o,i,s="emptyOnly"){return new zk(e,t,n,r,o,s,i).recognize()}(e,t,n,r,s.extractedUrl,o,i).pipe(Z(({state:a,tree:u})=>({...s,targetSnapshot:a,urlAfterRedirects:u}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,n.paramsInheritanceStrategy),Qe(c=>{if(r.targetSnapshot=c.targetSnapshot,r.urlAfterRedirects=c.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:c.urlAfterRedirects},"eager"===n.urlUpdateStrategy){if(!c.extras.skipLocationChange){const f=n.urlHandlingStrategy.merge(c.urlAfterRedirects,c.rawUrl);n.setBrowserUrl(f,c)}n.browserUrlTree=c.urlAfterRedirects}const d=new $1(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(d)}));if(u&&n.urlHandlingStrategy.shouldProcessUrl(n.rawUrlTree)){const{id:c,extractedUrl:d,source:f,restoredState:h,extras:p}=s,g=new gf(c,this.urlSerializer.serialize(d),f,h);this.events.next(g);const y=k_(0,this.rootComponentType).snapshot;return x(r={...s,targetSnapshot:y,urlAfterRedirects:d,extras:{...p,skipLocationChange:!1,replaceUrl:!1}})}{const c="";return this.events.next(new Vi(s.id,n.serializeUrl(r.extractedUrl),c,1)),n.rawUrlTree=s.rawUrl,s.resolve(null),Wt}}),Qe(s=>{const a=new U1(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(a)}),Z(s=>r={...s,guards:hk(s.targetSnapshot,s.currentSnapshot,this.rootContexts)}),function bk(e,t){return Fe(n=>{const{targetSnapshot:r,currentSnapshot:o,guards:{canActivateChecks:i,canDeactivateChecks:s}}=n;return 0===s.length&&0===i.length?x({...n,guardsResult:!0}):function Mk(e,t,n,r){return Ie(e).pipe(Fe(o=>function Rk(e,t,n,r,o){const i=t&&t.routeConfig?t.routeConfig.canDeactivate:null;return i&&0!==i.length?x(i.map(a=>{const u=Bi(t)??o,l=yo(a,u);return Un(function _k(e){return e&&Gi(e.canDeactivate)}(l)?l.canDeactivate(e,t,n,r):u.runInContext(()=>l(e,t,n,r))).pipe(dr())})).pipe(vo()):x(!0)}(o.component,o.route,n,t,r)),dr(o=>!0!==o,!0))}(s,r,o,e).pipe(Fe(a=>a&&function yk(e){return"boolean"==typeof e}(a)?function Sk(e,t,n,r){return Ie(t).pipe(uo(o=>af(function Ak(e,t){return null!==e&&t&&t(new Y1(e)),x(!0)}(o.route.parent,r),function Ik(e,t){return null!==e&&t&&t(new J1(e)),x(!0)}(o.route,r),function Nk(e,t,n){const r=t[t.length-1],i=t.slice(0,t.length-1).reverse().map(s=>function pk(e){const t=e.routeConfig?e.routeConfig.canActivateChild:null;return t&&0!==t.length?{node:e,guards:t}:null}(s)).filter(s=>null!==s).map(s=>d_(()=>x(s.guards.map(u=>{const l=Bi(s.node)??n,c=yo(u,l);return Un(function Ck(e){return e&&Gi(e.canActivateChild)}(c)?c.canActivateChild(r,e):l.runInContext(()=>c(r,e))).pipe(dr())})).pipe(vo())));return x(i).pipe(vo())}(e,o.path,n),function Tk(e,t,n){const r=t.routeConfig?t.routeConfig.canActivate:null;if(!r||0===r.length)return x(!0);const o=r.map(i=>d_(()=>{const s=Bi(t)??n,a=yo(i,s);return Un(function Dk(e){return e&&Gi(e.canActivate)}(a)?a.canActivate(t,e):s.runInContext(()=>a(t,e))).pipe(dr())}));return x(o).pipe(vo())}(e,o.route,n))),dr(o=>!0!==o,!0))}(r,i,e,t):x(a)),Z(a=>({...n,guardsResult:a})))})}(this.environmentInjector,s=>this.events.next(s)),Qe(s=>{if(r.guardsResult=s.guardsResult,pr(s.guardsResult))throw B_(0,s.guardsResult);const a=new G1(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot,!!s.guardsResult);this.events.next(a)}),Ut(s=>!!s.guardsResult||(n.restoreHistory(s),this.cancelNavigationTransition(s,"",3),!1)),If(s=>{if(s.guards.canActivateChecks.length)return x(s).pipe(Qe(a=>{const u=new z1(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(u)}),un(a=>{let u=!1;return x(a).pipe(function Yk(e,t){return Fe(n=>{const{targetSnapshot:r,guards:{canActivateChecks:o}}=n;if(!o.length)return x(n);let i=0;return Ie(o).pipe(uo(s=>function Qk(e,t,n,r){const o=e.routeConfig,i=e._resolve;return void 0!==o?.title&&!tw(o)&&(i[Ri]=o.title),function Jk(e,t,n,r){const o=function Kk(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e)]}(e);if(0===o.length)return x({});const i={};return Ie(o).pipe(Fe(s=>function Xk(e,t,n,r){const o=Bi(t)??r,i=yo(e,o);return Un(i.resolve?i.resolve(t,n):o.runInContext(()=>i(t,n)))}(e[s],t,n,r).pipe(dr(),Qe(a=>{i[s]=a}))),lf(1),function h1(e){return Z(()=>e)}(i),fr(s=>q_(s)?Wt:Ni(s)))}(i,e,t,r).pipe(Z(s=>(e._resolvedData=s,e.data=L_(e,n).resolve,o&&tw(o)&&(e.data[Ri]=o.title),null)))}(s.route,r,e,t)),Qe(()=>i++),lf(1),Fe(s=>i===o.length?x(n):Wt))})}(n.paramsInheritanceStrategy,this.environmentInjector),Qe({next:()=>u=!0,complete:()=>{u||(n.restoreHistory(a),this.cancelNavigationTransition(a,"",2))}}))}),Qe(a=>{const u=new W1(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(u)}))}),If(s=>{const a=u=>{const l=[];u.routeConfig?.loadComponent&&!u.routeConfig._loadedComponent&&l.push(this.configLoader.loadComponent(u.routeConfig).pipe(Qe(c=>{u.component=c}),Z(()=>{})));for(const c of u.children)l.push(...a(c));return l};return sf(a(s.targetSnapshot.root)).pipe(qa(),fo(1))}),If(()=>this.afterPreactivation()),Z(s=>{const a=function rk(e,t,n){const r=ji(e,t._root,n?n._root:void 0);return new P_(r,t)}(n.routeReuseStrategy,s.targetSnapshot,s.currentRouterState);return r={...s,targetRouterState:a}}),Qe(s=>{n.currentUrlTree=s.urlAfterRedirects,n.rawUrlTree=n.urlHandlingStrategy.merge(s.urlAfterRedirects,s.rawUrl),n.routerState=s.targetRouterState,"deferred"===n.urlUpdateStrategy&&(s.extras.skipLocationChange||n.setBrowserUrl(n.rawUrlTree,s),n.browserUrlTree=s.urlAfterRedirects)}),((e,t,n,r)=>Z(o=>(new fk(t,o.targetRouterState,o.currentRouterState,n,r).activate(e),o)))(this.rootContexts,n.routeReuseStrategy,s=>this.events.next(s),this.inputBindingEnabled),fo(1),Qe({next:s=>{o=!0,this.lastSuccessfulNavigation=this.currentNavigation,n.navigated=!0,this.events.next(new gr(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(n.currentUrlTree))),n.titleStrategy?.updateTitle(s.targetRouterState.snapshot),s.resolve(!0)},complete:()=>{o=!0}}),Ii(()=>{o||i||this.cancelNavigationTransition(r,"",1),this.currentNavigation?.id===r.id&&(this.currentNavigation=null)}),fr(s=>{if(i=!0,G_(s)){U_(s)||(n.navigated=!0,n.restoreHistory(r,!0));const a=new eu(r.id,this.urlSerializer.serialize(r.extractedUrl),s.message,s.cancellationCode);if(this.events.next(a),U_(s)){const u=n.urlHandlingStrategy.merge(s.url,n.rawUrlTree),l={skipLocationChange:r.extras.skipLocationChange,replaceUrl:"eager"===n.urlUpdateStrategy||rw(r.source)};n.scheduleNavigation(u,Li,null,l,{resolve:r.resolve,reject:r.reject,promise:r.promise})}else r.resolve(!1)}else{n.restoreHistory(r,!0);const a=new mf(r.id,this.urlSerializer.serialize(r.extractedUrl),s,r.targetSnapshot??void 0);this.events.next(a);try{r.resolve(n.errorHandler(s))}catch(u){r.reject(u)}}return Wt}))}))}cancelNavigationTransition(n,r,o){const i=new eu(n.id,this.urlSerializer.serialize(n.extractedUrl),r,o);this.events.next(i),n.resolve(!1)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function rw(e){return e!==Li}let ow=(()=>{class e{buildTitle(n){let r,o=n.root;for(;void 0!==o;)r=this.getResolvedTitleForRoute(o)??r,o=o.children.find(i=>i.outlet===B);return r}getResolvedTitleForRoute(n){return n.data[Ri]}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=A({token:e,factory:function(){return M(tL)},providedIn:"root"}),e})(),tL=(()=>{class e extends ow{constructor(n){super(),this.title=n}updateTitle(n){const r=this.buildTitle(n);void 0!==r&&this.title.setTitle(r)}}return e.\u0275fac=function(n){return new(n||e)(I($C))},e.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),nL=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=A({token:e,factory:function(){return M(oL)},providedIn:"root"}),e})();class rL{shouldDetach(t){return!1}store(t,n){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,n){return t.routeConfig===n.routeConfig}}let oL=(()=>{class e extends rL{}return e.\u0275fac=function(){let t;return function(r){return(t||(t=He(e)))(r||e)}}(),e.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const uu=new S("",{providedIn:"root",factory:()=>({})});let iL=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=A({token:e,factory:function(){return M(sL)},providedIn:"root"}),e})(),sL=(()=>{class e{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,r){return n}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();var Dt=(()=>((Dt=Dt||{})[Dt.COMPLETE=0]="COMPLETE",Dt[Dt.FAILED=1]="FAILED",Dt[Dt.REDIRECTING=2]="REDIRECTING",Dt))();function iw(e,t){e.events.pipe(Ut(n=>n instanceof gr||n instanceof eu||n instanceof mf||n instanceof Vi),Z(n=>n instanceof gr||n instanceof Vi?Dt.COMPLETE:n instanceof eu&&(0===n.code||1===n.code)?Dt.REDIRECTING:Dt.FAILED),Ut(n=>n!==Dt.REDIRECTING),fo(1)).subscribe(()=>{t()})}function aL(e){throw e}function uL(e,t,n){return t.parse("/")}const lL={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},cL={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Nt=(()=>{class e{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){if("computed"===this.canceledNavigationResolution)return this.location.getState()?.\u0275routerPageId}get events(){return this.navigationTransitions.events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=M(yD),this.isNgZoneEnabled=!1,this.options=M(uu,{optional:!0})||{},this.pendingTasks=M(Ea),this.errorHandler=this.options.errorHandler||aL,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||uL,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=M(iL),this.routeReuseStrategy=M(nL),this.titleStrategy=M(ow),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.config=M(Co,{optional:!0})?.flat()??[],this.navigationTransitions=M(au),this.urlSerializer=M(xi),this.location=M(Sd),this.componentInputBindingEnabled=!!M(nu,{optional:!0}),this.isNgZoneEnabled=M(ce)instanceof ce&&ce.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new po,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=k_(0,null),this.navigationTransitions.setupNavigations(this).subscribe(n=>{this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId??0},n=>{this.console.warn(`Unhandled Navigation Error: ${n}`)})}resetRootComponentType(n){this.routerState.root.component=n,this.navigationTransitions.rootComponentType=n}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){const n=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),Li,n)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(n=>{const r="popstate"===n.type?"popstate":"hashchange";"popstate"===r&&setTimeout(()=>{this.navigateToSyncWithBrowser(n.url,r,n.state)},0)}))}navigateToSyncWithBrowser(n,r,o){const i={replaceUrl:!0},s=o?.navigationId?o:null;if(o){const u={...o};delete u.navigationId,delete u.\u0275routerPageId,0!==Object.keys(u).length&&(i.state=u)}const a=this.parseUrl(n);this.scheduleNavigation(a,r,s,i)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(n){this.config=n.map(bf),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(n,r={}){const{relativeTo:o,queryParams:i,fragment:s,queryParamsHandling:a,preserveFragment:u}=r,l=u?this.currentUrlTree.fragment:s;let d,c=null;switch(a){case"merge":c={...this.currentUrlTree.queryParams,...i};break;case"preserve":c=this.currentUrlTree.queryParams;break;default:c=i||null}null!==c&&(c=this.removeEmptyProps(c));try{d=S_(o?o.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof n[0]||!n[0].startsWith("/"))&&(n=[]),d=this.currentUrlTree.root}return I_(d,n,c,l??null)}navigateByUrl(n,r={skipLocationChange:!1}){const o=pr(n)?n:this.parseUrl(n),i=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(i,Li,null,r)}navigate(n,r={skipLocationChange:!1}){return function dL(e){for(let t=0;t{const i=n[o];return null!=i&&(r[o]=i),r},{})}scheduleNavigation(n,r,o,i,s){if(this.disposed)return Promise.resolve(!1);let a,u,l;s?(a=s.resolve,u=s.reject,l=s.promise):l=new Promise((d,f)=>{a=d,u=f});const c=this.pendingTasks.add();return iw(this,()=>{Promise.resolve().then(()=>this.pendingTasks.remove(c))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:n,extras:i,resolve:a,reject:u,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(d=>Promise.reject(d))}setBrowserUrl(n,r){const o=this.urlSerializer.serialize(n);if(this.location.isCurrentPathEqualTo(o)||r.extras.replaceUrl){const s={...r.extras.state,...this.generateNgRouterState(r.id,this.browserPageId)};this.location.replaceState(o,"",s)}else{const i={...r.extras.state,...this.generateNgRouterState(r.id,(this.browserPageId??0)+1)};this.location.go(o,"",i)}}restoreHistory(n,r=!1){if("computed"===this.canceledNavigationResolution){const i=this.currentPageId-(this.browserPageId??this.currentPageId);0!==i?this.location.historyGo(i):this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===i&&(this.resetState(n),this.browserUrlTree=n.currentUrlTree,this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(r&&this.resetState(n),this.resetUrlToCurrentUrlTree())}resetState(n){this.routerState=n.currentRouterState,this.currentUrlTree=n.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(n,r){return"computed"===this.canceledNavigationResolution?{navigationId:n,\u0275routerPageId:r}:{navigationId:n}}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),lu=(()=>{class e{constructor(n,r,o,i,s,a){this.router=n,this.route=r,this.tabIndexAttribute=o,this.renderer=i,this.el=s,this.locationStrategy=a,this._preserveFragment=!1,this._skipLocationChange=!1,this._replaceUrl=!1,this.href=null,this.commands=null,this.onChanges=new fn;const u=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===u||"area"===u,this.isAnchorElement?this.subscription=n.events.subscribe(l=>{l instanceof gr&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}set preserveFragment(n){this._preserveFragment=ao(n)}get preserveFragment(){return this._preserveFragment}set skipLocationChange(n){this._skipLocationChange=ao(n)}get skipLocationChange(){return this._skipLocationChange}set replaceUrl(n){this._replaceUrl=ao(n)}get replaceUrl(){return this._replaceUrl}setTabIndexIfNotOnNativeEl(n){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",n)}ngOnChanges(n){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(n){null!=n?(this.commands=Array.isArray(n)?n:[n],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(n,r,o,i,s){return!!(null===this.urlTree||this.isAnchorElement&&(0!==n||r||o||i||s||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=null!==this.urlTree&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;const n=null===this.href?null:function kg(e,t,n){return function NI(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?Pg:Fg}(t,n)(e)}(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",n)}applyAttributeValue(n,r){const o=this.renderer,i=this.el.nativeElement;null!==r?o.setAttribute(i,n,r):o.removeAttribute(i,n)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}}return e.\u0275fac=function(n){return new(n||e)(v(Nt),v(mo),function Is(e){return function QM(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const r=n.length;let o=0;for(;o{class e{constructor(n,r,o,i,s){this.router=n,this.injector=o,this.preloadingStrategy=i,this.loader=s}setUpPreloading(){this.subscription=this.router.events.pipe(Ut(n=>n instanceof gr),uo(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(n,r){const o=[];for(const i of r){i.providers&&!i._injector&&(i._injector=Uc(i.providers,n,`Route: ${i.path}`));const s=i._injector??n,a=i._loadedInjector??s;(i.loadChildren&&!i._loadedRoutes&&void 0===i.canLoad||i.loadComponent&&!i._loadedComponent)&&o.push(this.preloadConfig(s,i)),(i.children||i._loadedRoutes)&&o.push(this.processRoutes(a,i.children??i._loadedRoutes))}return Ie(o).pipe(Dr())}preloadConfig(n,r){return this.preloadingStrategy.preload(r,()=>{let o;o=r.loadChildren&&void 0===r.canLoad?this.loader.loadChildren(n,r):x(null);const i=o.pipe(Fe(s=>null===s?x(void 0):(r._loadedRoutes=s.routes,r._loadedInjector=s.injector,this.processRoutes(s.injector??n,s.routes))));return r.loadComponent&&!r._loadedComponent?Ie([i,this.loader.loadComponent(r)]).pipe(Dr()):i})}}return e.\u0275fac=function(n){return new(n||e)(I(Nt),I(vD),I(tn),I(sw),I(Af))},e.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Tf=new S("");let aw=(()=>{class e{constructor(n,r,o,i,s={}){this.urlSerializer=n,this.transitions=r,this.viewportScroller=o,this.zone=i,this.options=s,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},s.scrollPositionRestoration=s.scrollPositionRestoration||"disabled",s.anchorScrolling=s.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof gf?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=n.navigationTrigger,this.restoredId=n.restoredState?n.restoredState.navigationId:0):n instanceof gr?(this.lastId=n.id,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.urlAfterRedirects).fragment)):n instanceof Vi&&0===n.code&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof x_&&(n.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(n.position):n.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(n.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(n,r){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new x_(n,"popstate"===this.lastSource?this.store[this.restoredId]:null,r))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}}return e.\u0275fac=function(n){!function vm(){throw new Error("invalid")}()},e.\u0275prov=A({token:e,factory:e.\u0275fac}),e})();function An(e,t){return{\u0275kind:e,\u0275providers:t}}function lw(){const e=M(kt);return t=>{const n=e.get(so);if(t!==n.components[0])return;const r=e.get(Nt),o=e.get(cw);1===e.get(Nf)&&r.initialNavigation(),e.get(dw,null,T.Optional)?.setUpPreloading(),e.get(Tf,null,T.Optional)?.init(),r.resetRootComponentType(n.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}const cw=new S("",{factory:()=>new fn}),Nf=new S("",{providedIn:"root",factory:()=>1}),dw=new S("");function vL(e){return An(0,[{provide:dw,useExisting:pL},{provide:sw,useExisting:e}])}const fw=new S("ROUTER_FORROOT_GUARD"),CL=[Sd,{provide:xi,useClass:cf},Nt,Hi,{provide:mo,useFactory:function uw(e){return e.routerState.root},deps:[Nt]},Af,[]];function _L(){return new TD("Router",Nt)}let wL=(()=>{class e{constructor(n){}static forRoot(n,r){return{ngModule:e,providers:[CL,[],{provide:Co,multi:!0,useValue:n},{provide:fw,useFactory:SL,deps:[[Nt,new Ns,new Rs]]},{provide:uu,useValue:r||{}},r?.useHash?{provide:cr,useClass:ex}:{provide:cr,useClass:rC},{provide:Tf,useFactory:()=>{const e=M(vF),t=M(ce),n=M(uu),r=M(au),o=M(xi);return n.scrollOffset&&e.setOffset(n.scrollOffset),new aw(o,r,e,t,n)}},r?.preloadingStrategy?vL(r.preloadingStrategy).\u0275providers:[],{provide:TD,multi:!0,useFactory:_L},r?.initialNavigation?IL(r):[],r?.bindToComponentInputs?An(8,[j_,{provide:nu,useExisting:j_}]).\u0275providers:[],[{provide:hw,useFactory:lw},{provide:gd,multi:!0,useExisting:hw}]]}}static forChild(n){return{ngModule:e,providers:[{provide:Co,multi:!0,useValue:n}]}}}return e.\u0275fac=function(n){return new(n||e)(I(fw,8))},e.\u0275mod=bt({type:e}),e.\u0275inj=ct({}),e})();function SL(e){return"guarded"}function IL(e){return["disabled"===e.initialNavigation?An(3,[{provide:sd,multi:!0,useFactory:()=>{const t=M(Nt);return()=>{t.setUpLocationChangeListener()}}},{provide:Nf,useValue:2}]).\u0275providers:[],"enabledBlocking"===e.initialNavigation?An(2,[{provide:Nf,useValue:0},{provide:sd,multi:!0,deps:[kt],useFactory:t=>{const n=t.get(KO,Promise.resolve());return()=>n.then(()=>new Promise(r=>{const o=t.get(Nt),i=t.get(cw);iw(o,()=>{r(!0)}),t.get(au).afterPreactivation=()=>(r(!0),i.closed?x(void 0):i),o.initialNavigation()}))}}]).\u0275providers:[]]}const hw=new S("");let pw=(()=>{class e{constructor(n,r){this._renderer=n,this._elementRef=r,this.onChange=o=>{},this.onTouched=()=>{}}setProperty(n,r){this._renderer.setProperty(this._elementRef.nativeElement,n,r)}registerOnTouched(n){this.onTouched=n}registerOnChange(n){this.onChange=n}setDisabledState(n){this.setProperty("disabled",n)}}return e.\u0275fac=function(n){return new(n||e)(v(_n),v(st))},e.\u0275dir=F({type:e}),e})(),mr=(()=>{class e extends pw{}return e.\u0275fac=function(){let t;return function(r){return(t||(t=He(e)))(r||e)}}(),e.\u0275dir=F({type:e,features:[X]}),e})();const zt=new S("NgValueAccessor"),RL={provide:zt,useExisting:ne(()=>Rf),multi:!0},xL=new S("CompositionEventMode");let Rf=(()=>{class e extends pw{constructor(n,r,o){super(n,r),this._compositionMode=o,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function OL(){const e=jn()?jn().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(n){this.setProperty("value",n??"")}_handleInput(n){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(n)}_compositionStart(){this._composing=!0}_compositionEnd(n){this._composing=!1,this._compositionMode&&this.onChange(n)}}return e.\u0275fac=function(n){return new(n||e)(v(_n),v(st),v(xL,8))},e.\u0275dir=F({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(n,r){1&n&&je("input",function(i){return r._handleInput(i.target.value)})("blur",function(){return r.onTouched()})("compositionstart",function(){return r._compositionStart()})("compositionend",function(i){return r._compositionEnd(i.target.value)})},features:[le([RL]),X]}),e})();const ze=new S("NgValidators"),zn=new S("NgAsyncValidators");function Mw(e){return null!=e}function Sw(e){return ci(e)?Ie(e):e}function Iw(e){let t={};return e.forEach(n=>{t=null!=n?{...t,...n}:t}),0===Object.keys(t).length?null:t}function Aw(e,t){return t.map(n=>n(e))}function Tw(e){return e.map(t=>function PL(e){return!e.validate}(t)?t:n=>t.validate(n))}function Of(e){return null!=e?function Nw(e){if(!e)return null;const t=e.filter(Mw);return 0==t.length?null:function(n){return Iw(Aw(n,t))}}(Tw(e)):null}function xf(e){return null!=e?function Rw(e){if(!e)return null;const t=e.filter(Mw);return 0==t.length?null:function(n){return function TL(...e){const t=wh(e),{args:n,keys:r}=a_(e),o=new ye(i=>{const{length:s}=n;if(!s)return void i.complete();const a=new Array(s);let u=s,l=s;for(let c=0;c{d||(d=!0,l--),a[c]=f},()=>u--,void 0,()=>{(!u||!d)&&(l||i.next(r?l_(r,a):a),i.complete())}))}});return t?o.pipe(u_(t)):o}(Aw(n,t).map(Sw)).pipe(Z(Iw))}}(Tw(e)):null}function Ow(e,t){return null===e?[t]:Array.isArray(e)?[...e,t]:[e,t]}function Ff(e){return e?Array.isArray(e)?e:[e]:[]}function du(e,t){return Array.isArray(e)?e.includes(t):e===t}function Pw(e,t){const n=Ff(t);return Ff(e).forEach(o=>{du(n,o)||n.push(o)}),n}function kw(e,t){return Ff(t).filter(n=>!du(e,n))}class Lw{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(t){this._rawValidators=t||[],this._composedValidatorFn=Of(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=xf(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t=void 0){this.control&&this.control.reset(t)}hasError(t,n){return!!this.control&&this.control.hasError(t,n)}getError(t,n){return this.control?this.control.getError(t,n):null}}class Je extends Lw{get formDirective(){return null}get path(){return null}}class Wn extends Lw{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Vw{constructor(t){this._cd=t}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let zi=(()=>{class e extends Vw{constructor(n){super(n)}}return e.\u0275fac=function(n){return new(n||e)(v(Wn,2))},e.\u0275dir=F({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(n,r){2&n&&ga("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)},features:[X]}),e})();const Wi="VALID",hu="INVALID",_o="PENDING",qi="DISABLED";function pu(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}class $w{constructor(t,n){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(t),this._assignAsyncValidators(n)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get valid(){return this.status===Wi}get invalid(){return this.status===hu}get pending(){return this.status==_o}get disabled(){return this.status===qi}get enabled(){return this.status!==qi}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._assignValidators(t)}setAsyncValidators(t){this._assignAsyncValidators(t)}addValidators(t){this.setValidators(Pw(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(Pw(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(kw(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(kw(t,this._rawAsyncValidators))}hasValidator(t){return du(this._rawValidators,t)}hasAsyncValidator(t){return du(this._rawAsyncValidators,t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(t=>t.markAllAsTouched())}markAsUntouched(t={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(n=>{n.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}markAsDirty(t={}){this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)}markAsPristine(t={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(n=>{n.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}markAsPending(t={}){this.status=_o,!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}disable(t={}){const n=this._parentMarkedDirty(t.onlySelf);this.status=qi,this.errors=null,this._forEachChild(r=>{r.disable({...t,onlySelf:!0})}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...t,skipPristineCheck:n}),this._onDisabledChange.forEach(r=>r(!0))}enable(t={}){const n=this._parentMarkedDirty(t.onlySelf);this.status=Wi,this._forEachChild(r=>{r.enable({...t,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors({...t,skipPristineCheck:n}),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(t){this._parent=t}getRawValue(){return this.value}updateValueAndValidity(t={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Wi||this.status===_o)&&this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(n=>n._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?qi:Wi}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=_o,this._hasOwnPendingAsyncValidator=!0;const n=Sw(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(r=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(r,{emitEvent:t})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(t,n={}){this.errors=t,this._updateControlsErrors(!1!==n.emitEvent)}get(t){let n=t;return null==n||(Array.isArray(n)||(n=n.split(".")),0===n.length)?null:n.reduce((r,o)=>r&&r._find(o),this)}getError(t,n){const r=n?this.get(n):this;return r&&r.errors?r.errors[t]:null}hasError(t,n){return!!this.getError(t,n)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)}_initObservables(){this.valueChanges=new he,this.statusChanges=new he}_calculateStatus(){return this._allControlsDisabled()?qi:this.errors?hu:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(_o)?_o:this._anyControlsHaveStatus(hu)?hu:Wi}_anyControlsHaveStatus(t){return this._anyControls(n=>n.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t={}){this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}_updateTouched(t={}){this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){pu(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(t){return null}_assignValidators(t){this._rawValidators=Array.isArray(t)?t.slice():t,this._composedValidatorFn=function jL(e){return Array.isArray(e)?Of(e):e||null}(this._rawValidators)}_assignAsyncValidators(t){this._rawAsyncValidators=Array.isArray(t)?t.slice():t,this._composedAsyncValidatorFn=function BL(e){return Array.isArray(e)?xf(e):e||null}(this._rawAsyncValidators)}}const wo=new S("CallSetDisabledState",{providedIn:"root",factory:()=>gu}),gu="always";function Zi(e,t,n=gu){(function jf(e,t){const n=function xw(e){return e._rawValidators}(e);null!==t.validator?e.setValidators(Ow(n,t.validator)):"function"==typeof n&&e.setValidators([n]);const r=function Fw(e){return e._rawAsyncValidators}(e);null!==t.asyncValidator?e.setAsyncValidators(Ow(r,t.asyncValidator)):"function"==typeof r&&e.setAsyncValidators([r]);const o=()=>e.updateValueAndValidity();vu(t._rawValidators,o),vu(t._rawAsyncValidators,o)})(e,t),t.valueAccessor.writeValue(e.value),(e.disabled||"always"===n)&&t.valueAccessor.setDisabledState?.(e.disabled),function GL(e,t){t.valueAccessor.registerOnChange(n=>{e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&Uw(e,t)})}(e,t),function WL(e,t){const n=(r,o)=>{t.valueAccessor.writeValue(r),o&&t.viewToModelUpdate(r)};e.registerOnChange(n),t._registerOnDestroy(()=>{e._unregisterOnChange(n)})}(e,t),function zL(e,t){t.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&Uw(e,t),"submit"!==e.updateOn&&e.markAsTouched()})}(e,t),function UL(e,t){if(t.valueAccessor.setDisabledState){const n=r=>{t.valueAccessor.setDisabledState(r)};e.registerOnDisabledChange(n),t._registerOnDestroy(()=>{e._unregisterOnDisabledChange(n)})}}(e,t)}function vu(e,t){e.forEach(n=>{n.registerOnValidatorChange&&n.registerOnValidatorChange(t)})}function Uw(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function Ww(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function qw(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}const Zw=class extends $w{constructor(t=null,n,r){super(function Lf(e){return(pu(e)?e.validators:e)||null}(n),function Vf(e,t){return(pu(t)?t.asyncValidators:e)||null}(r,n)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(t),this._setUpdateStrategy(n),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),pu(n)&&(n.nonNullable||n.initialValueIsDefault)&&(this.defaultValue=qw(t)?t.value:t)}setValue(t,n={}){this.value=this._pendingValue=t,this._onChange.length&&!1!==n.emitModelToViewChange&&this._onChange.forEach(r=>r(this.value,!1!==n.emitViewToModelChange)),this.updateValueAndValidity(n)}patchValue(t,n={}){this.setValue(t,n)}reset(t=this.defaultValue,n={}){this._applyFormState(t),this.markAsPristine(n),this.markAsUntouched(n),this.setValue(this.value,n),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){Ww(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){Ww(this._onDisabledChange,t)}_forEachChild(t){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(t){qw(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}},eV={provide:Wn,useExisting:ne(()=>yr)},Jw=(()=>Promise.resolve())();let yr=(()=>{class e extends Wn{constructor(n,r,o,i,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this.control=new Zw,this._registered=!1,this.name="",this.update=new he,this._parent=n,this._setValidators(r),this._setAsyncValidators(o),this.valueAccessor=function Uf(e,t){if(!t)return null;let n,r,o;return Array.isArray(t),t.forEach(i=>{i.constructor===Rf?n=i:function YL(e){return Object.getPrototypeOf(e.constructor)===mr}(i)?r=i:o=i}),o||r||n||null}(0,i)}ngOnChanges(n){if(this._checkForErrors(),!this._registered||"name"in n){if(this._registered&&(this._checkName(),this.formDirective)){const r=n.name.previousValue;this.formDirective.removeControl({name:r,path:this._getPath(r)})}this._setUpControl()}"isDisabled"in n&&this._updateDisabled(n),function $f(e,t){if(!e.hasOwnProperty("model"))return!1;const n=e.model;return!!n.isFirstChange()||!Object.is(t,n.currentValue)}(n,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(n){this.viewModel=n,this.update.emit(n)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){Zi(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(n){Jw.then(()=>{this.control.setValue(n,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(n){const r=n.isDisabled.currentValue,o=0!==r&&ao(r);Jw.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(n){return this._parent?function mu(e,t){return[...t.path,e]}(n,this._parent):[n]}}return e.\u0275fac=function(n){return new(n||e)(v(Je,9),v(ze,10),v(zn,10),v(zt,10),v(_i,8),v(wo,8))},e.\u0275dir=F({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[le([eV]),X,pt]}),e})(),Xw=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=bt({type:e}),e.\u0275inj=ct({}),e})(),MV=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=bt({type:e}),e.\u0275inj=ct({imports:[Xw]}),e})(),Jf=(()=>{class e{static withConfig(n){return{ngModule:e,providers:[{provide:wo,useValue:n.callSetDisabledState??gu}]}}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=bt({type:e}),e.\u0275inj=ct({imports:[MV]}),e})();const IV=new S("HighlightJs-Config");let Cu=(()=>{class e{constructor(n,r,o,i,s){this.el=n,this.ngModel=r,this.doc=o,this.ngZone=s,this.lang="html",this.mode="simple",Object.assign(this,i)}escapeHTML(n){return(n||"").replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}init(){this.ngZone.runOutsideAngular(()=>{this.destroy();const n=this.el.nativeElement,r=this.code||""+n.innerHTML.trim();if(this.codeEl=this.doc.createElement("default"===this.mode?"div":"pre"),null==this.codeEl)return;const o="simple"===this.mode;o?(this.lang&&(this.codeEl.className=this.lang),this.parentEl=n.parentNode,this.parentEl.insertBefore(this.codeEl,n.nextSibling)):(this.parentEl=n,this.parentEl.innerHTML="",this.parentEl.appendChild(this.codeEl)),this.codeEl.innerHTML=r,hljs.configure({...this.options}),o?hljs.highlightElement(this.codeEl):this.codeEl.querySelectorAll("pre code").forEach(i=>{hljs.highlightElement(i)})})}destroy(){this.codeEl&&this.parentEl&&(this.parentEl.removeChild(this.codeEl),this.codeEl=void 0)}ngAfterViewInit(){this.init(),this.ngModel?this.modelValue$=this.ngModel.valueChanges?.subscribe(n=>{this.code=this.escapeHTML(n),this.init()}):this.initMutation()}ngOnDestroy(){this.destroy(),this.destroyMutation(),this.modelValue$&&this.modelValue$.unsubscribe()}initMutation(){typeof MutationObserver>"u"||this.ngZone.runOutsideAngular(()=>{this.observer=new MutationObserver(this.init.bind(this)),this.observer.observe(this.el.nativeElement,{characterData:!0,childList:!0,subtree:!0})})}destroyMutation(){this.observer&&this.observer.disconnect()}}return e.\u0275fac=function(n){return new(n||e)(v(st),v(yr,8),v(ke),v(IV,8),v(ce))},e.\u0275dir=F({type:e,selectors:[["","highlight-js",""]],hostVars:2,hostBindings:function(n,r){2&n&&Rc("display","simple"===r.mode?"none":null)},inputs:{options:"options",lang:"lang",code:"code",mode:"mode"},exportAs:["highlightJs"],standalone:!0}),e})(),AV=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=bt({type:e}),e.\u0275inj=ct({imports:[Jf]}),e})();function yE(e,t,n){return function r(o,i,s){const a=`$$__${i}`;return Object.prototype.hasOwnProperty.call(o,a)&&console.warn(`The prop "${a}" is already exist, it will be overrided by ${e} decorator.`),Object.defineProperty(o,a,{configurable:!0,writable:!0}),{get(){return s&&s.get?s.get.bind(this)():this[a]},set(u){s&&s.set&&s.set.bind(this)(t(u,n)),this[a]=t(u,n)}}}}function TV(e,t=!1){return t&&typeof e>"u"?void 0:null!=e&&"false"!=`${e}`}function vE(e=!1){return yE("InputNumber",TV,e)}function NV(e,t=0){return isNaN(parseFloat(e))||isNaN(Number(e))?t:Number(e)}class DE{constructor(){this.baseURL="./assets/tinymce/",this.fileName="tinymce.min.js"}}function CE(e,t,n,r,o,i,s){try{var a=e[i](s),u=a.value}catch(l){return void n(l)}a.done?t(u):Promise.resolve(u).then(r,o)}let xV=(()=>{class e{constructor(n){this.doc=n,this.list={},this.cached={},this._notify=new ut([])}fixPaths(n){return n=n||[],Array.isArray(n)||(n=[n]),n.map(r=>{const o="string"==typeof r?{path:r}:r;return o.type||(o.type=o.path.endsWith(".js")||o.callback?"script":"style"),o})}monitor(n){const r=this.fixPaths(n),o=[Ru(),Ut(i=>0!==i.length)];return r.length>0&&o.push(Ut(i=>i.length===r.length&&i.every(s=>"ok"===s.status&&r.find(a=>a.path===s.path)))),this._notify.asObservable().pipe(rh.apply(this,o))}clear(){this.list={},this.cached={}}load(n){var r=this;return function OV(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function s(u){CE(i,r,o,s,a,"next",u)}function a(u){CE(i,r,o,s,a,"throw",u)}s(void 0)})}}(function*(){return n=r.fixPaths(n),Promise.all(n.map(o=>"script"===o.type?r.loadScript(o.path,{callback:o.callback}):r.loadStyle(o.path))).then(o=>(r._notify.next(o),Promise.resolve(o)))})()}loadScript(n,r){const{innerContent:o}={...r};return new Promise(i=>{if(!0===this.list[n])return void i({...this.cached[n],status:"loading"});this.list[n]=!0;const s=l=>{"ok"===l.status&&r?.callback?window[r?.callback]=()=>{a(l)}:a(l)},a=l=>{l.type="script",this.cached[n]=l,i(l),this._notify.next([l])},u=this.doc.createElement("script");u.type="text/javascript",u.src=n,u.charset="utf-8",o&&(u.innerHTML=o),u.readyState?u.onreadystatechange=()=>{("loaded"===u.readyState||"complete"===u.readyState)&&(u.onreadystatechange=null,s({path:n,status:"ok"}))}:u.onload=()=>s({path:n,status:"ok"}),u.onerror=l=>s({path:n,status:"error",error:l}),this.doc.getElementsByTagName("head")[0].appendChild(u)})}loadStyle(n,r){const{rel:o,innerContent:i}={rel:"stylesheet",...r};return new Promise(s=>{if(!0===this.list[n])return void s(this.cached[n]);this.list[n]=!0;const a=this.doc.createElement("link");a.rel=o,a.type="text/css",a.href=n,i&&(a.innerHTML=i),this.doc.getElementsByTagName("head")[0].appendChild(a);const u={path:n,status:"ok",type:"style"};this.cached[n]=u,s(u)})}}return e.\u0275fac=function(n){return new(n||e)(I(ke))},e.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function FV(e,t){if(1&e&&Ln(0,"textarea",3),2&e){const n=di();It("id",n.id)("placeholder",n.placeholder)}}function PV(e,t){1&e&&(re(0,"div"),function ly(e,t=0,n){const r=D(),o=W(),i=Gr(o,z+e,16,null,n||null);null===i.projection&&(i.projection=t),Xu(),(!r[yn]||Ar())&&32!=(32&i.flags)&&function KS(e,t,n){_g(t[V],0,t,n,Tl(e,n,t),gg(n.parent||t[$e],n,t))}(o,r,i)}(1),oe()),2&e&&It("id",di().id)}function kV(e,t){if(1&e&&(fa(0),we(1),ha()),2&e){const n=di(2);Pt(1),xc(n._loading)}}function LV(e,t){if(1&e&&(re(0,"div",4),li(1,kV,2,1,"ng-container",5),oe()),2&e){const n=di();Pt(1),vt("ngIf",n._loading)("ngIfElse",n._loadingTpl)}}const _E=!("object"==typeof document&&document);class Rt{set disabled(t){this._disabled=t,this.setDisabled()}set loading(t){t instanceof an?(this._loading=null,this._loadingTpl=t):this._loading=t}get instance(){return this._instance}_getWin(){return this.doc.defaultView||window}constructor(t,n,r,o,i){this.defConfig=t,this.lazySrv=n,this.ngZone=r,this.doc=o,this.cd=i,this.value="",this.load=!0,this.id=`_tinymce-${Math.random().toString(36).substring(2)}`,this.placeholder="",this.inline=!1,this._disabled=!1,this._loading=null,this._loadingTpl=null,this.delay=0,this.ready=new he}initDelay(){_E||setTimeout(()=>this.init(),Math.max(0,this.delay))}init(){const t=this._getWin();if(!t.tinymce)throw new Error("tinymce js\u6587\u4ef6\u52a0\u8f7d\u5931\u8d25");const{defConfig:n,config:r,id:o,inline:i}=this;if(this._instance)return;if(n.baseURL){let u=""+n.baseURL;u.endsWith("/")&&(u=u.substring(0,u.length-1)),t.tinymce.baseURL=u}const s={...n.config,...r},a={selector:"#"+o,inline:i,...n.config,...r,setup:u=>{this._instance=u,this.onChange&&u.on("change keyup",()=>{this.value=u.getContent(),this.ngZone.run(()=>this.onChange(this.value))}),"function"==typeof s.setup&&s.setup(u)},init_instance_callback:u=>{u&&this.value&&u.setContent(this.value),this.setDisabled(),"function"==typeof s.init_instance_callback&&s.init_instance_callback(u),this.ready.emit(this._instance)}};s.auto_focus&&(a.auto_focus=o),this.ngZone.runOutsideAngular(()=>t.tinymce.init(a)),this.load=!1,this.cd.detectChanges()}destroy(){this._instance&&(this.ngZone.runOutsideAngular(()=>{this._instance.off(),this._instance.remove("#"+this.id)}),this._instance=null)}setDisabled(){this._instance&&this.ngZone.runOutsideAngular(()=>{const t=this._disabled?"readonly":"design";"function"==typeof this._instance.setMode?this._instance.setMode(t):this._instance.mode.set(t)})}ngAfterViewInit(){if(_E)return;if(this._getWin().tinymce)return void this.initDelay();const{defConfig:t}=this,o=(t&&t.baseURL||"./assets/tinymce/")+(t&&t.fileName||"tinymce.min.js");this.lazySrv.monitor(o).subscribe(()=>this.initDelay()),this.lazySrv.load(o)}ngOnChanges(t){this._instance&&t.config&&(this.destroy(),this.initDelay())}ngOnDestroy(){this.destroy()}writeValue(t){this.value=t||"",this._instance&&this.ngZone.runOutsideAngular(()=>this._instance.setContent(this.value))}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this.disabled=t,this.setDisabled()}}Rt.\u0275fac=function(t){return new(t||Rt)(v(DE),v(xV),v(ce),v(ke),v(_i))},Rt.\u0275cmp=xn({type:Rt,selectors:[["tinymce"]],inputs:{config:"config",placeholder:"placeholder",inline:"inline",disabled:"disabled",loading:"loading",delay:"delay"},outputs:{ready:"ready"},exportAs:["tinymce"],features:[le([{provide:zt,useExisting:ne(()=>Rt),multi:!0}]),pt],ngContentSelectors:["*"],decls:3,vars:3,consts:[["class","tinymce-selector",4,"ngIf"],[4,"ngIf"],["class","loading",4,"ngIf"],[1,"tinymce-selector"],[1,"loading"],[4,"ngIf","ngIfElse"]],template:function(t,n){1&t&&(function uy(e){const t=D()[_e][$e];if(!t.projection){const r=t.projection=jo(e?e.length:1,null),o=r.slice();let i=t.child;for(;null!==i;){const s=e?QA(i,e):0;null!==s&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i),i=i.next}}}(),li(0,FV,1,2,"textarea",0),li(1,PV,2,1,"div",1),li(2,LV,2,2,"div",2)),2&t&&(vt("ngIf",!n.inline),Pt(1),vt("ngIf",n.inline),Pt(1),vt("ngIf",n.load))},dependencies:[yC],styles:["tinymce .tinymce-selector{display:none}\n"],encapsulation:2,changeDetection:0}),es([vE()],Rt.prototype,"inline",void 0),es([vE()],Rt.prototype,"disabled",null),es([function RV(e=0){return yE("InputNumber",NV,e)}()],Rt.prototype,"delay",void 0);let wE=(()=>{class e{static forRoot(n){return{ngModule:e,providers:[{provide:DE,useValue:n}]}}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=bt({type:e}),e.\u0275inj=ct({imports:[Bd]}),e})(),HV=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=xn({type:e,selectors:[["app-root"]],decls:23,vars:0,consts:[[1,"navbar","navbar-expand-lg","navbar-light","bg-light"],["routerLink","/",1,"navbar-brand"],["type","button","data-toggle","collapse","data-target","#navbarNav","aria-controls","navbarNav","aria-expanded","false","aria-label","Toggle navigation",1,"navbar-toggler"],[1,"navbar-toggler-icon"],[1,"collapse","navbar-collapse"],[1,"navbar-nav"],[1,"nav-item"],["routerLink","/",1,"nav-link"],["routerLink","/other",1,"nav-link"],["routerLink","/inline",1,"nav-link"],["routerLink","/standalone",1,"nav-link"],[2,"line-height","30px"],[2,"margin-top","16px"]],template:function(n,r){1&n&&(re(0,"nav",0)(1,"a",1),we(2,"ngx-tinymce"),oe(),re(3,"button",2),Ln(4,"span",3),oe(),re(5,"div",4)(6,"ul",5)(7,"li",6)(8,"a",7),we(9,"Home"),oe()(),re(10,"li",6)(11,"a",8),we(12,"Other"),oe()(),re(13,"li",6)(14,"a",9),we(15,"Inline"),oe()(),re(16,"li",6)(17,"a",10),we(18,"Standalone"),oe()()()()(),re(19,"p",11),we(20,"Angular for tinymce"),oe(),re(21,"div",12),Ln(22,"router-outlet"),oe())},dependencies:[wf,lu],encapsulation:2}),e})(),jV=(()=>{class e{constructor(n){this.san=n,this.html='\n

TinyMCE Logo\n

\n

Welcome to the TinyMCE Cloud demo!

\n
Note, this includes some "enterprise/premium" features.
Visit the pricing page to learn more about our premium plugins.
\n

Please try out the features provided in this full featured example.

\n\n

Got questions or need help?

\n \n\n

A simple table to play with

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
ProductCostReally?
TinyMCE CloudGet started for freeYES!
PluploadFreeYES!
\n\n

Found a bug?

\n

If you think you have found a bug please create an issue on the GitHub repo to report it to the developers.

\n\n

Finally ...

\n

Don\'t forget to check out our other product Plupload, your ultimate upload solution featuring HTML5 upload support.

\n

Thanks for supporting TinyMCE! We hope it helps you and your users create great content.
All the best from the TinyMCE team.

\n ',this.config={height:350}}}return e.\u0275fac=function(n){return new(n||e)(v(Kd))},e.\u0275cmp=xn({type:e,selectors:[["app-home"]],decls:17,vars:4,consts:[[1,"card","mb-3"],[1,"card-header"],[1,"card-body"],["highlight-js",""],[3,"ngModel","config","ngModelChange"],[1,"card","card-outline-secondary","mt-3"],[1,"card-bodyquote",3,"innerHTML"],["disabled","",3,"ngModel","ngModelChange"]],template:function(n,r){1&n&&(re(0,"div",0)(1,"div",1),we(2,"Basic"),oe(),re(3,"div",2)(4,"textarea",3),we(5,"<"),we(6,'tinymce [config]="config" [(ngModel)]="html">'),oe(),re(7,"tinymce",4),je("ngModelChange",function(i){return r.html=i}),oe(),we(8," Result: "),re(9,"div",5)(10,"div",2),Ln(11,"blockquote",6),oe()()()(),re(12,"div",0)(13,"div",1),we(14,"Disabled"),oe(),re(15,"div",2)(16,"tinymce",7),je("ngModelChange",function(i){return r.html=i}),oe()()()),2&n&&(Pt(7),vt("ngModel",r.html)("config",r.config),Pt(4),vt("innerHTML",r.san.bypassSecurityTrustHtml(r.html),Hl),Pt(5),vt("ngModel",r.html))},dependencies:[zi,yr,Cu,Rt],encapsulation:2}),e})(),BV=(()=>{class e{constructor(){this.html="now: "+ +new Date,this.config={height:500,menubar:!1,plugins:["advlist autolink lists link image charmap print preview anchor","searchreplace visualblocks code fullscreen","insertdatetime media table paste code help wordcount"],toolbar:"undo redo | formatselect | bold italic backcolor | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | removeformat | help",content_css:"//www.tiny.cloud/css/codepen.min.css"}}ready(n){console.log("ready",n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=xn({type:e,selectors:[["app-other"]],decls:8,vars:2,consts:[[1,"card","mb-3"],[1,"card-header"],[1,"card-body"],["highlight-js",""],["loading","\u52a0\u8f7d\u4e2d\u2026\u2026",3,"ngModel","config","ngModelChange","ready"]],template:function(n,r){1&n&&(re(0,"div",0)(1,"div",1),we(2,"Loading"),oe(),re(3,"div",2)(4,"textarea",3),we(5,"<"),we(6,'tinymce [config]="config" [(ngModel)]="html">'),oe(),re(7,"tinymce",4),je("ngModelChange",function(i){return r.html=i})("ready",function(i){return r.ready(i)}),oe()()()),2&n&&(Pt(7),vt("ngModel",r.html)("config",r.config))},dependencies:[zi,yr,Cu,Rt]}),e})(),$V=(()=>{class e{constructor(n){this.san=n,this.html='\n
\n
\n

\n

The world’s first rich text editor in the cloud

\n

\n
\n

\n Have you heard about Tiny Cloud? It’s the first step in our journey to help you deliver great content creation\n experiences, no matter your level of expertise. 50,000 developers already agree. They get free access to our global CDN, image\n proxy services and auto updates to the TinyMCE editor. They’re also ready for some exciting updates coming soon.\n

\n

\n One of these enhancements is Tiny Drive: imagine file management for TinyMCE, in the cloud, made super easy.\n Learn more at tiny.cloud/tinydrive, where you’ll find a working demo and an\n opportunity to provide feedback to the product team.\n

\n
\n
\n

An editor for every project

\n
\n

Here are some of our customer’s most common use cases for TinyMCE:

\n
    \n
  • Content Management Systems (e.g. WordPress, Umbraco)
  • \n
  • Learning Management Systems (e.g. Blackboard)
  • \n
  • Customer Relationship Management and marketing automation (e.g. Marketo)
  • \n
  • Email marketing (e.g. Constant Contact)
  • \n
  • Content creation in SaaS systems (e.g. Eventbrite, Evernote, GoFundMe, Zendesk)
  • \n
\n

\n And those use cases are just the start. TinyMCE is incredibly flexible, and with hundreds of APIs there’s likely a\n solution for your editor project. If you haven’t experienced Tiny Cloud, get started today. You’ll even get a free\n trial of our premium plugins – no credit card required!\n

\n
\n
'}ready(n){console.log("ready",n)}}return e.\u0275fac=function(n){return new(n||e)(v(Kd))},e.\u0275cmp=xn({type:e,selectors:[["app-inline"]],decls:12,vars:2,consts:[[1,"card","mb-3"],[1,"card-header"],[1,"card-body"],["highlight-js",""],["inline","",3,"ngModel","ngModelChange"],[1,"card","card-outline-secondary","mt-3"],[1,"card-bodyquote",3,"innerHTML"]],template:function(n,r){1&n&&(re(0,"div",0)(1,"div",1),we(2,"Inline mode"),oe(),re(3,"div",2)(4,"textarea",3),we(5,"<"),we(6,'tinymce [config]="config" [(ngModel)]="html" inline>'),oe(),re(7,"tinymce",4),je("ngModelChange",function(i){return r.html=i}),oe(),we(8," Result: "),re(9,"div",5)(10,"div",2),Ln(11,"blockquote",6),oe()()()()),2&n&&(Pt(7),vt("ngModel",r.html),Pt(4),vt("innerHTML",r.san.bypassSecurityTrustHtml(r.html),Hl))},dependencies:[zi,yr,Cu,Rt],encapsulation:2}),e})(),UV=(()=>{class e{constructor(){this.html="HTMLS",this.config={height:350}}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=xn({type:e,selectors:[["standalone-demo"]],standalone:!0,features:[Gc],decls:1,vars:2,consts:[[3,"ngModel","config","ngModelChange"]],template:function(n,r){1&n&&(re(0,"tinymce",0),je("ngModelChange",function(i){return r.html=i}),oe()),2&n&&vt("ngModel",r.html)("config",r.config)},dependencies:[Jf,zi,yr,wE,Rt],encapsulation:2}),e})(),GV=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=bt({type:e,bootstrap:[HV]}),e.\u0275inj=ct({imports:[gP,Bd,Jf,WP,AV,wL.forRoot([{path:"",component:jV},{path:"other",component:BV},{path:"inline",component:$V},{path:"standalone",component:UV}],{useHash:!0}),wE.forRoot({baseURL:"//cdn.tiny.cloud/1/no-api-key/tinymce/6/"})]}),e})();hP().bootstrapModule(GV).catch(e=>console.error(e))}},te=>{te(te.s=819)}]); \ No newline at end of file diff --git a/polyfills-GQ3CZUEX.js b/polyfills-GQ3CZUEX.js new file mode 100644 index 0000000..2cd2341 --- /dev/null +++ b/polyfills-GQ3CZUEX.js @@ -0,0 +1,2 @@ +(function(e){let n=e.performance;function c(L){n&&n.mark&&n.mark(L)}function r(L,t){n&&n.measure&&n.measure(L,t)}c("Zone");let a=e.__Zone_symbol_prefix||"__zone_symbol__";function l(L){return a+L}let y=e[l("forceDuplicateZoneCheck")]===!0;if(e.Zone){if(y||typeof e.Zone.__symbol__!="function")throw new Error("Zone already loaded.");return e.Zone}let oe=class oe{static assertZonePatched(){if(e.Promise!==re.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let t=oe.current;for(;t.parent;)t=t.parent;return t}static get current(){return U.zone}static get currentTask(){return te}static __load_patch(t,s,o=!1){if(re.hasOwnProperty(t)){if(!o&&y)throw Error("Already loaded patch: "+t)}else if(!e["__Zone_disable_"+t]){let v="Zone:"+t;c(v),re[t]=s(e,oe,z),r(v,v)}}get parent(){return this._parent}get name(){return this._name}constructor(t,s){this._parent=t,this._name=s?s.name||"unnamed":"",this._properties=s&&s.properties||{},this._zoneDelegate=new k(this,this._parent&&this._parent._zoneDelegate,s)}get(t){let s=this.getZoneWith(t);if(s)return s._properties[t]}getZoneWith(t){let s=this;for(;s;){if(s._properties.hasOwnProperty(t))return s;s=s._parent}return null}fork(t){if(!t)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,t)}wrap(t,s){if(typeof t!="function")throw new Error("Expecting function got: "+t);let o=this._zoneDelegate.intercept(this,t,s),v=this;return function(){return v.runGuarded(o,this,arguments,s)}}run(t,s,o,v){U={parent:U,zone:this};try{return this._zoneDelegate.invoke(this,t,s,o,v)}finally{U=U.parent}}runGuarded(t,s=null,o,v){U={parent:U,zone:this};try{try{return this._zoneDelegate.invoke(this,t,s,o,v)}catch(F){if(this._zoneDelegate.handleError(this,F))throw F}}finally{U=U.parent}}runTask(t,s,o){if(t.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(t.zone||$).name+"; Execution: "+this.name+")");if(t.state===H&&(t.type===K||t.type===P))return;let v=t.state!=T;v&&t._transitionTo(T,M),t.runCount++;let F=te;te=t,U={parent:U,zone:this};try{t.type==P&&t.data&&!t.data.isPeriodic&&(t.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,t,s,o)}catch(u){if(this._zoneDelegate.handleError(this,u))throw u}}finally{t.state!==H&&t.state!==d&&(t.type==K||t.data&&t.data.isPeriodic?v&&t._transitionTo(M,T):(t.runCount=0,this._updateTaskCount(t,-1),v&&t._transitionTo(H,T,H))),U=U.parent,te=F}}scheduleTask(t){if(t.zone&&t.zone!==this){let o=this;for(;o;){if(o===t.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${t.zone.name}`);o=o.parent}}t._transitionTo(X,H);let s=[];t._zoneDelegates=s,t._zone=this;try{t=this._zoneDelegate.scheduleTask(this,t)}catch(o){throw t._transitionTo(d,X,H),this._zoneDelegate.handleError(this,o),o}return t._zoneDelegates===s&&this._updateTaskCount(t,1),t.state==X&&t._transitionTo(M,X),t}scheduleMicroTask(t,s,o,v){return this.scheduleTask(new m(N,t,s,o,v,void 0))}scheduleMacroTask(t,s,o,v,F){return this.scheduleTask(new m(P,t,s,o,v,F))}scheduleEventTask(t,s,o,v,F){return this.scheduleTask(new m(K,t,s,o,v,F))}cancelTask(t){if(t.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(t.zone||$).name+"; Execution: "+this.name+")");if(!(t.state!==M&&t.state!==T)){t._transitionTo(x,M,T);try{this._zoneDelegate.cancelTask(this,t)}catch(s){throw t._transitionTo(d,x),this._zoneDelegate.handleError(this,s),s}return this._updateTaskCount(t,-1),t._transitionTo(H,x),t.runCount=0,t}}_updateTaskCount(t,s){let o=t._zoneDelegates;s==-1&&(t._zoneDelegates=null);for(let v=0;vL.hasTask(s,o),onScheduleTask:(L,t,s,o)=>L.scheduleTask(s,o),onInvokeTask:(L,t,s,o,v,F)=>L.invokeTask(s,o,v,F),onCancelTask:(L,t,s,o)=>L.cancelTask(s,o)};class k{constructor(t,s,o){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=t,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 v=o&&o.onHasTask,F=s&&s._hasTaskZS;(v||F)&&(this._hasTaskZS=v?o:b,this._hasTaskDlgt=s,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=t,o.onScheduleTask||(this._scheduleTaskZS=b,this._scheduleTaskDlgt=s,this._scheduleTaskCurrZone=this.zone),o.onInvokeTask||(this._invokeTaskZS=b,this._invokeTaskDlgt=s,this._invokeTaskCurrZone=this.zone),o.onCancelTask||(this._cancelTaskZS=b,this._cancelTaskDlgt=s,this._cancelTaskCurrZone=this.zone))}fork(t,s){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,t,s):new _(t,s)}intercept(t,s,o){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,t,s,o):s}invoke(t,s,o,v,F){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,t,s,o,v,F):s.apply(o,v)}handleError(t,s){return this._handleErrorZS?this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,t,s):!0}scheduleTask(t,s){let o=s;if(this._scheduleTaskZS)this._hasTaskZS&&o._zoneDelegates.push(this._hasTaskDlgtOwner),o=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,t,s),o||(o=s);else if(s.scheduleFn)s.scheduleFn(s);else if(s.type==N)R(s);else throw new Error("Task is missing scheduleFn.");return o}invokeTask(t,s,o,v){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,t,s,o,v):s.callback.apply(o,v)}cancelTask(t,s){let o;if(this._cancelTaskZS)o=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,t,s);else{if(!s.cancelFn)throw Error("Task is not cancelable");o=s.cancelFn(s)}return o}hasTask(t,s){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,t,s)}catch(o){this.handleError(t,o)}}_updateTaskCount(t,s){let o=this._taskCounts,v=o[t],F=o[t]=v+s;if(F<0)throw new Error("More tasks executed then were scheduled.");if(v==0||F==0){let u={microTask:o.microTask>0,macroTask:o.macroTask>0,eventTask:o.eventTask>0,change:t};this.hasTask(this.zone,u)}}}class m{constructor(t,s,o,v,F,u){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=t,this.source=s,this.data=v,this.scheduleFn=F,this.cancelFn=u,!o)throw new Error("callback is not defined");this.callback=o;let f=this;t===K&&v&&v.useG?this.invoke=m.invokeTask:this.invoke=function(){return m.invokeTask.call(e,f,this,arguments)}}static invokeTask(t,s,o){t||(t=this),Q++;try{return t.runCount++,t.zone.runTask(t,s,o)}finally{Q==1&&E(),Q--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(H,X)}_transitionTo(t,s,o){if(this._state===s||this._state===o)this._state=t,t==H&&(this._zoneDelegates=null);else throw new Error(`${this.type} '${this.source}': can not transition to '${t}', 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 I=l("setTimeout"),Z=l("Promise"),O=l("then"),B=[],A=!1,J;function q(L){if(J||e[Z]&&(J=e[Z].resolve(0)),J){let t=J[O];t||(t=J.then),t.call(J,L)}else e[I](L,0)}function R(L){Q===0&&B.length===0&&q(E),L&&B.push(L)}function E(){if(!A){for(A=!0;B.length;){let L=B;B=[];for(let t=0;tU,onUnhandledError:W,microtaskDrainDone:W,scheduleMicroTask:R,showUncaughtError:()=>!_[l("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:W,patchMethod:()=>W,bindArguments:()=>[],patchThen:()=>W,patchMacroTask:()=>W,patchEventPrototype:()=>W,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>W,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>W,wrapWithCurrentZone:()=>W,filterProperties:()=>[],attachOriginToPatched:()=>W,_redefineProperty:()=>W,patchCallbacks:()=>W,nativeScheduleMicroTask:q},U={parent:null,zone:new _(null,null)},te=null,Q=0;function W(){}return r("Zone","Zone"),e.Zone=_})(globalThis);var me=Object.getOwnPropertyDescriptor,Ne=Object.defineProperty,Ie=Object.getPrototypeOf,it=Object.create,ct=Array.prototype.slice,Me="addEventListener",Le="removeEventListener",Se=Zone.__symbol__(Me),De=Zone.__symbol__(Le),ie="true",ce="false",pe=Zone.__symbol__("");function Ae(e,n){return Zone.current.wrap(e,n)}function je(e,n,c,r,a){return Zone.current.scheduleMacroTask(e,n,c,r,a)}var j=Zone.__symbol__,Pe=typeof window<"u",Te=Pe?window:void 0,Y=Pe&&Te||globalThis,at="removeAttribute";function He(e,n){for(let c=e.length-1;c>=0;c--)typeof e[c]=="function"&&(e[c]=Ae(e[c],n+"_"+c));return e}function lt(e,n){let c=e.constructor.name;for(let r=0;r{let b=function(){return _.apply(this,He(arguments,c+"."+a))};return ae(b,_),b})(l)}}}function Ye(e){return e?e.writable===!1?!1:!(typeof e.get=="function"&&typeof e.set>"u"):!0}var $e=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,we=!("nw"in Y)&&typeof Y.process<"u"&&{}.toString.call(Y.process)==="[object process]",xe=!we&&!$e&&!!(Pe&&Te.HTMLElement),Je=typeof Y.process<"u"&&{}.toString.call(Y.process)==="[object process]"&&!$e&&!!(Pe&&Te.HTMLElement),be={},We=function(e){if(e=e||Y.event,!e)return;let n=be[e.type];n||(n=be[e.type]=j("ON_PROPERTY"+e.type));let c=this||e.target||Y,r=c[n],a;if(xe&&c===Te&&e.type==="error"){let l=e;a=r&&r.call(this,l.message,l.filename,l.lineno,l.colno,l.error),a===!0&&e.preventDefault()}else a=r&&r.apply(this,arguments),a!=null&&!a&&e.preventDefault();return a};function qe(e,n,c){let r=me(e,n);if(!r&&c&&me(c,n)&&(r={enumerable:!0,configurable:!0}),!r||!r.configurable)return;let a=j("on"+n+"patched");if(e.hasOwnProperty(a)&&e[a])return;delete r.writable,delete r.value;let l=r.get,y=r.set,_=n.slice(2),b=be[_];b||(b=be[_]=j("ON_PROPERTY"+_)),r.set=function(k){let m=this;if(!m&&e===Y&&(m=Y),!m)return;typeof m[b]=="function"&&m.removeEventListener(_,We),y&&y.call(m,null),m[b]=k,typeof k=="function"&&m.addEventListener(_,We,!1)},r.get=function(){let k=this;if(!k&&e===Y&&(k=Y),!k)return null;let m=k[b];if(m)return m;if(l){let I=l.call(this);if(I)return r.set.call(this,I),typeof k[at]=="function"&&k.removeAttribute(n),I}return null},Ne(e,n,r),e[a]=!0}function Ke(e,n,c){if(n)for(let r=0;rfunction(y,_){let b=c(y,_);return b.cbIdx>=0&&typeof _[b.cbIdx]=="function"?je(b.name,_[b.cbIdx],b,a):l.apply(y,_)})}function ae(e,n){e[j("OriginalDelegate")]=n}var Xe=!1,Ze=!1;function ft(){try{let e=Te.navigator.userAgent;if(e.indexOf("MSIE ")!==-1||e.indexOf("Trident/")!==-1)return!0}catch{}return!1}function ht(){if(Xe)return Ze;Xe=!0;try{let e=Te.navigator.userAgent;(e.indexOf("MSIE ")!==-1||e.indexOf("Trident/")!==-1||e.indexOf("Edge/")!==-1)&&(Ze=!0)}catch{}return Ze}Zone.__load_patch("ZoneAwarePromise",(e,n,c)=>{let r=Object.getOwnPropertyDescriptor,a=Object.defineProperty;function l(u){if(u&&u.toString===Object.prototype.toString){let f=u.constructor&&u.constructor.name;return(f||"")+": "+JSON.stringify(u)}return u?u.toString():Object.prototype.toString.call(u)}let y=c.symbol,_=[],b=e[y("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")]===!0,k=y("Promise"),m=y("then"),I="__creationTrace__";c.onUnhandledError=u=>{if(c.showUncaughtError()){let f=u&&u.rejection;f?console.error("Unhandled Promise rejection:",f instanceof Error?f.message:f,"; Zone:",u.zone.name,"; Task:",u.task&&u.task.source,"; Value:",f,f instanceof Error?f.stack:void 0):console.error(u)}},c.microtaskDrainDone=()=>{for(;_.length;){let u=_.shift();try{u.zone.runGuarded(()=>{throw u.throwOriginal?u.rejection:u})}catch(f){O(f)}}};let Z=y("unhandledPromiseRejectionHandler");function O(u){c.onUnhandledError(u);try{let f=n[Z];typeof f=="function"&&f.call(this,u)}catch{}}function B(u){return u&&u.then}function A(u){return u}function J(u){return t.reject(u)}let q=y("state"),R=y("value"),E=y("finally"),$=y("parentPromiseValue"),H=y("parentPromiseState"),X="Promise.then",M=null,T=!0,x=!1,d=0;function N(u,f){return i=>{try{z(u,f,i)}catch(h){z(u,!1,h)}}}let P=function(){let u=!1;return function(i){return function(){u||(u=!0,i.apply(null,arguments))}}},K="Promise resolved with itself",re=y("currentTaskTrace");function z(u,f,i){let h=P();if(u===i)throw new TypeError(K);if(u[q]===M){let g=null;try{(typeof i=="object"||typeof i=="function")&&(g=i&&i.then)}catch(w){return h(()=>{z(u,!1,w)})(),u}if(f!==x&&i instanceof t&&i.hasOwnProperty(q)&&i.hasOwnProperty(R)&&i[q]!==M)te(i),z(u,i[q],i[R]);else if(f!==x&&typeof g=="function")try{g.call(i,h(N(u,f)),h(N(u,!1)))}catch(w){h(()=>{z(u,!1,w)})()}else{u[q]=f;let w=u[R];if(u[R]=i,u[E]===E&&f===T&&(u[q]=u[H],u[R]=u[$]),f===x&&i instanceof Error){let p=n.currentTask&&n.currentTask.data&&n.currentTask.data[I];p&&a(i,re,{configurable:!0,enumerable:!1,writable:!0,value:p})}for(let p=0;p{try{let C=u[R],S=!!i&&E===i[E];S&&(i[$]=C,i[H]=w);let D=f.run(p,void 0,S&&p!==J&&p!==A?[]:[C]);z(i,!0,D)}catch(C){z(i,!1,C)}},i)}let W="function ZoneAwarePromise() { [native code] }",oe=function(){},L=e.AggregateError;class t{static toString(){return W}static resolve(f){return z(new this(null),T,f)}static reject(f){return z(new this(null),x,f)}static any(f){if(!f||typeof f[Symbol.iterator]!="function")return Promise.reject(new L([],"All promises were rejected"));let i=[],h=0;try{for(let p of f)h++,i.push(t.resolve(p))}catch{return Promise.reject(new L([],"All promises were rejected"))}if(h===0)return Promise.reject(new L([],"All promises were rejected"));let g=!1,w=[];return new t((p,C)=>{for(let S=0;S{g||(g=!0,p(D))},D=>{w.push(D),h--,h===0&&(g=!0,C(new L(w,"All promises were rejected")))})})}static race(f){let i,h,g=new this((C,S)=>{i=C,h=S});function w(C){i(C)}function p(C){h(C)}for(let C of f)B(C)||(C=this.resolve(C)),C.then(w,p);return g}static all(f){return t.allWithCallback(f)}static allSettled(f){return(this&&this.prototype instanceof t?this:t).allWithCallback(f,{thenCallback:h=>({status:"fulfilled",value:h}),errorCallback:h=>({status:"rejected",reason:h})})}static allWithCallback(f,i){let h,g,w=new this((D,G)=>{h=D,g=G}),p=2,C=0,S=[];for(let D of f){B(D)||(D=this.resolve(D));let G=C;try{D.then(V=>{S[G]=i?i.thenCallback(V):V,p--,p===0&&h(S)},V=>{i?(S[G]=i.errorCallback(V),p--,p===0&&h(S)):g(V)})}catch(V){g(V)}p++,C++}return p-=2,p===0&&h(S),w}constructor(f){let i=this;if(!(i instanceof t))throw new Error("Must be an instanceof Promise.");i[q]=M,i[R]=[];try{let h=P();f&&f(h(N(i,T)),h(N(i,x)))}catch(h){z(i,!1,h)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return t}then(f,i){let h=this.constructor?.[Symbol.species];(!h||typeof h!="function")&&(h=this.constructor||t);let g=new h(oe),w=n.current;return this[q]==M?this[R].push(w,g,f,i):Q(this,w,g,f,i),g}catch(f){return this.then(null,f)}finally(f){let i=this.constructor?.[Symbol.species];(!i||typeof i!="function")&&(i=t);let h=new i(oe);h[E]=E;let g=n.current;return this[q]==M?this[R].push(g,h,f,f):Q(this,g,h,f,f),h}}t.resolve=t.resolve,t.reject=t.reject,t.race=t.race,t.all=t.all;let s=e[k]=e.Promise;e.Promise=t;let o=y("thenPatched");function v(u){let f=u.prototype,i=r(f,"then");if(i&&(i.writable===!1||!i.configurable))return;let h=f.then;f[m]=h,u.prototype.then=function(g,w){return new t((C,S)=>{h.call(this,C,S)}).then(g,w)},u[o]=!0}c.patchThen=v;function F(u){return function(f,i){let h=u.apply(f,i);if(h instanceof t)return h;let g=h.constructor;return g[o]||v(g),h}}return s&&(v(s),le(e,"fetch",u=>F(u))),Promise[n.__symbol__("uncaughtPromiseErrors")]=_,t});Zone.__load_patch("toString",e=>{let n=Function.prototype.toString,c=j("OriginalDelegate"),r=j("Promise"),a=j("Error"),l=function(){if(typeof this=="function"){let k=this[c];if(k)return typeof k=="function"?n.call(k):Object.prototype.toString.call(k);if(this===Promise){let m=e[r];if(m)return n.call(m)}if(this===Error){let m=e[a];if(m)return n.call(m)}}return n.call(this)};l[c]=n,Function.prototype.toString=l;let y=Object.prototype.toString,_="[object Promise]";Object.prototype.toString=function(){return typeof Promise=="function"&&this instanceof Promise?_:y.call(this)}});var _e=!1;if(typeof window<"u")try{let e=Object.defineProperty({},"passive",{get:function(){_e=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch{_e=!1}var dt={useG:!0},ee={},Qe={},et=new RegExp("^"+pe+"(\\w+)(true|false)$"),tt=j("propagationStopped");function nt(e,n){let c=(n?n(e):e)+ce,r=(n?n(e):e)+ie,a=pe+c,l=pe+r;ee[e]={},ee[e][ce]=a,ee[e][ie]=l}function _t(e,n,c,r){let a=r&&r.add||Me,l=r&&r.rm||Le,y=r&&r.listeners||"eventListeners",_=r&&r.rmAll||"removeAllListeners",b=j(a),k="."+a+":",m="prependListener",I="."+m+":",Z=function(R,E,$){if(R.isRemoved)return;let H=R.callback;typeof H=="object"&&H.handleEvent&&(R.callback=T=>H.handleEvent(T),R.originalDelegate=H);let X;try{R.invoke(R,E,[$])}catch(T){X=T}let M=R.options;if(M&&typeof M=="object"&&M.once){let T=R.originalDelegate?R.originalDelegate:R.callback;E[l].call(E,$.type,T,M)}return X};function O(R,E,$){if(E=E||e.event,!E)return;let H=R||E.target||e,X=H[ee[E.type][$?ie:ce]];if(X){let M=[];if(X.length===1){let T=Z(X[0],H,E);T&&M.push(T)}else{let T=X.slice();for(let x=0;x{throw x})}}}let B=function(R){return O(this,R,!1)},A=function(R){return O(this,R,!0)};function J(R,E){if(!R)return!1;let $=!0;E&&E.useG!==void 0&&($=E.useG);let H=E&&E.vh,X=!0;E&&E.chkDup!==void 0&&(X=E.chkDup);let M=!1;E&&E.rt!==void 0&&(M=E.rt);let T=R;for(;T&&!T.hasOwnProperty(a);)T=Ie(T);if(!T&&R[a]&&(T=R),!T||T[b])return!1;let x=E&&E.eventNameToString,d={},N=T[b]=T[a],P=T[j(l)]=T[l],K=T[j(y)]=T[y],re=T[j(_)]=T[_],z;E&&E.prepend&&(z=T[j(E.prepend)]=T[E.prepend]);function U(i,h){return!_e&&typeof i=="object"&&i?!!i.capture:!_e||!h?i:typeof i=="boolean"?{capture:i,passive:!0}:i?typeof i=="object"&&i.passive!==!1?{...i,passive:!0}:i:{passive:!0}}let te=function(i){if(!d.isExisting)return N.call(d.target,d.eventName,d.capture?A:B,d.options)},Q=function(i){if(!i.isRemoved){let h=ee[i.eventName],g;h&&(g=h[i.capture?ie:ce]);let w=g&&i.target[g];if(w){for(let p=0;pfunction(a,l){a[tt]=!0,r&&r.apply(a,l)})}function Tt(e,n,c,r,a){let l=Zone.__symbol__(r);if(n[l])return;let y=n[l]=n[r];n[r]=function(_,b,k){return b&&b.prototype&&a.forEach(function(m){let I=`${c}.${r}::`+m,Z=b.prototype;try{if(Z.hasOwnProperty(m)){let O=e.ObjectGetOwnPropertyDescriptor(Z,m);O&&O.value?(O.value=e.wrapWithCurrentZone(O.value,I),e._redefineProperty(b.prototype,m,O)):Z[m]&&(Z[m]=e.wrapWithCurrentZone(Z[m],I))}else Z[m]&&(Z[m]=e.wrapWithCurrentZone(Z[m],I))}catch{}}),y.call(n,_,b,k)},e.attachOriginToPatched(n[r],y)}function ot(e,n,c){if(!c||c.length===0)return n;let r=c.filter(l=>l.target===e);if(!r||r.length===0)return n;let a=r[0].ignoreProperties;return n.filter(l=>a.indexOf(l)===-1)}function ze(e,n,c,r){if(!e)return;let a=ot(e,n,c);Ke(e,a,r)}function Oe(e){return Object.getOwnPropertyNames(e).filter(n=>n.startsWith("on")&&n.length>2).map(n=>n.substring(2))}function yt(e,n){if(we&&!Je||Zone[e.symbol("patchEvents")])return;let c=n.__Zone_ignore_on_properties,r=[];if(xe){let a=window;r=r.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);let l=ft()?[{target:a,ignoreProperties:["error"]}]:[];ze(a,Oe(a),c&&c.concat(l),Ie(a))}r=r.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let a=0;a{let r=Oe(e);c.patchOnProperties=Ke,c.patchMethod=le,c.bindArguments=He,c.patchMacroTask=ut;let a=n.__symbol__("BLACK_LISTED_EVENTS"),l=n.__symbol__("UNPATCHED_EVENTS");e[l]&&(e[a]=e[l]),e[a]&&(n[a]=n[l]=e[a]),c.patchEventPrototype=Et,c.patchEventTarget=_t,c.isIEOrEdge=ht,c.ObjectDefineProperty=Ne,c.ObjectGetOwnPropertyDescriptor=me,c.ObjectCreate=it,c.ArraySlice=ct,c.patchClass=ge,c.wrapWithCurrentZone=Ae,c.filterProperties=ot,c.attachOriginToPatched=ae,c._redefineProperty=Object.defineProperty,c.patchCallbacks=Tt,c.getGlobalObjects=()=>({globalSources:Qe,zoneSymbolEventNames:ee,eventNames:r,isBrowser:xe,isMix:Je,isNode:we,TRUE_STR:ie,FALSE_STR:ce,ZONE_SYMBOL_PREFIX:pe,ADD_EVENT_LISTENER_STR:Me,REMOVE_EVENT_LISTENER_STR:Le})});function mt(e,n){n.patchMethod(e,"queueMicrotask",c=>function(r,a){Zone.current.scheduleMicroTask("queueMicrotask",a[0])})}var ve=j("zoneTask");function Ee(e,n,c,r){let a=null,l=null;n+=r,c+=r;let y={};function _(k){let m=k.data;return m.args[0]=function(){return k.invoke.apply(this,arguments)},m.handleId=a.apply(e,m.args),k}function b(k){return l.call(e,k.data.handleId)}a=le(e,n,k=>function(m,I){if(typeof I[0]=="function"){let Z={isPeriodic:r==="Interval",delay:r==="Timeout"||r==="Interval"?I[1]||0:void 0,args:I},O=I[0];I[0]=function(){try{return O.apply(this,arguments)}finally{Z.isPeriodic||(typeof Z.handleId=="number"?delete y[Z.handleId]:Z.handleId&&(Z.handleId[ve]=null))}};let B=je(n,I[0],Z,_,b);if(!B)return B;let A=B.data.handleId;return typeof A=="number"?y[A]=B:A&&(A[ve]=B),A&&A.ref&&A.unref&&typeof A.ref=="function"&&typeof A.unref=="function"&&(B.ref=A.ref.bind(A),B.unref=A.unref.bind(A)),typeof A=="number"||A?A:B}else return k.apply(e,I)}),l=le(e,c,k=>function(m,I){let Z=I[0],O;typeof Z=="number"?O=y[Z]:(O=Z&&Z[ve],O||(O=Z)),O&&typeof O.type=="string"?O.state!=="notScheduled"&&(O.cancelFn&&O.data.isPeriodic||O.runCount===0)&&(typeof Z=="number"?delete y[Z]:Z&&(Z[ve]=null),O.zone.cancelTask(O)):k.apply(e,I)})}function pt(e,n){let{isBrowser:c,isMix:r}=n.getGlobalObjects();if(!c&&!r||!e.customElements||!("customElements"in e))return;let a=["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"];n.patchCallbacks(n,e.customElements,"customElements","define",a)}function gt(e,n){if(Zone[n.symbol("patchEventTarget")])return;let{eventNames:c,zoneSymbolEventNames:r,TRUE_STR:a,FALSE_STR:l,ZONE_SYMBOL_PREFIX:y}=n.getGlobalObjects();for(let b=0;b{let n=e[Zone.__symbol__("legacyPatch")];n&&n()});Zone.__load_patch("timers",e=>{let n="set",c="clear";Ee(e,n,c,"Timeout"),Ee(e,n,c,"Interval"),Ee(e,n,c,"Immediate")});Zone.__load_patch("requestAnimationFrame",e=>{Ee(e,"request","cancel","AnimationFrame"),Ee(e,"mozRequest","mozCancel","AnimationFrame"),Ee(e,"webkitRequest","webkitCancel","AnimationFrame")});Zone.__load_patch("blocking",(e,n)=>{let c=["alert","prompt","confirm"];for(let r=0;rfunction(b,k){return n.current.run(l,e,k,_)})}});Zone.__load_patch("EventTarget",(e,n,c)=>{kt(e,c),gt(e,c);let r=e.XMLHttpRequestEventTarget;r&&r.prototype&&c.patchEventTarget(e,c,[r.prototype])});Zone.__load_patch("MutationObserver",(e,n,c)=>{ge("MutationObserver"),ge("WebKitMutationObserver")});Zone.__load_patch("IntersectionObserver",(e,n,c)=>{ge("IntersectionObserver")});Zone.__load_patch("FileReader",(e,n,c)=>{ge("FileReader")});Zone.__load_patch("on_property",(e,n,c)=>{yt(c,e)});Zone.__load_patch("customElements",(e,n,c)=>{pt(e,c)});Zone.__load_patch("XHR",(e,n)=>{b(e);let c=j("xhrTask"),r=j("xhrSync"),a=j("xhrListener"),l=j("xhrScheduled"),y=j("xhrURL"),_=j("xhrErrorBeforeScheduled");function b(k){let m=k.XMLHttpRequest;if(!m)return;let I=m.prototype;function Z(d){return d[c]}let O=I[Se],B=I[De];if(!O){let d=k.XMLHttpRequestEventTarget;if(d){let N=d.prototype;O=N[Se],B=N[De]}}let A="readystatechange",J="scheduled";function q(d){let N=d.data,P=N.target;P[l]=!1,P[_]=!1;let K=P[a];O||(O=P[Se],B=P[De]),K&&B.call(P,A,K);let re=P[a]=()=>{if(P.readyState===P.DONE)if(!N.aborted&&P[l]&&d.state===J){let U=P[n.__symbol__("loadfalse")];if(P.status!==0&&U&&U.length>0){let te=d.invoke;d.invoke=function(){let Q=P[n.__symbol__("loadfalse")];for(let W=0;Wfunction(d,N){return d[r]=N[2]==!1,d[y]=N[1],$.apply(d,N)}),H="XMLHttpRequest.send",X=j("fetchTaskAborting"),M=j("fetchTaskScheduling"),T=le(I,"send",()=>function(d,N){if(n.current[M]===!0||d[r])return T.apply(d,N);{let P={target:d,url:d[y],isPeriodic:!1,args:N,aborted:!1},K=je(H,R,P,q,E);d&&d[_]===!0&&!P.aborted&&K.state===J&&K.invoke()}}),x=le(I,"abort",()=>function(d,N){let P=Z(d);if(P&&typeof P.type=="string"){if(P.cancelFn==null||P.data&&P.data.aborted)return;P.zone.cancelTask(P)}else if(n.current[X]===!0)return x.apply(d,N)})}});Zone.__load_patch("geolocation",e=>{e.navigator&&e.navigator.geolocation&<(e.navigator.geolocation,["getCurrentPosition","watchPosition"])});Zone.__load_patch("PromiseRejectionEvent",(e,n)=>{function c(r){return function(a){rt(e,r).forEach(y=>{let _=e.PromiseRejectionEvent;if(_){let b=new _(r,{promise:a.promise,reason:a.rejection});y.invoke(b)}})}}e.PromiseRejectionEvent&&(n[j("unhandledPromiseRejectionHandler")]=c("unhandledrejection"),n[j("rejectionHandledHandler")]=c("rejectionhandled"))});Zone.__load_patch("queueMicrotask",(e,n,c)=>{mt(e,c)}); diff --git a/polyfills.bbb89331bcc2bfb7.js b/polyfills.bbb89331bcc2bfb7.js deleted file mode 100644 index 365aaae..0000000 --- a/polyfills.bbb89331bcc2bfb7.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkngx_tinymce=self.webpackChunkngx_tinymce||[]).push([[429],{583:()=>{!function(t){const n=t.performance;function i(L){n&&n.mark&&n.mark(L)}function o(L,T){n&&n.measure&&n.measure(L,T)}i("Zone");const c=t.__Zone_symbol_prefix||"__zone_symbol__";function a(L){return c+L}const y=!0===t[a("forceDuplicateZoneCheck")];if(t.Zone){if(y||"function"!=typeof t.Zone.__symbol__)throw new Error("Zone already loaded.");return t.Zone}let d=(()=>{class L{static assertZonePatched(){if(t.Promise!==oe.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let e=L.current;for(;e.parent;)e=e.parent;return e}static get current(){return U.zone}static get currentTask(){return re}static __load_patch(e,r,k=!1){if(oe.hasOwnProperty(e)){if(!k&&y)throw Error("Already loaded patch: "+e)}else if(!t["__Zone_disable_"+e]){const C="Zone:"+e;i(C),oe[e]=r(t,L,z),o(C,C)}}get parent(){return this._parent}get name(){return this._name}constructor(e,r){this._parent=e,this._name=r?r.name||"unnamed":"",this._properties=r&&r.properties||{},this._zoneDelegate=new v(this,this._parent&&this._parent._zoneDelegate,r)}get(e){const r=this.getZoneWith(e);if(r)return r._properties[e]}getZoneWith(e){let r=this;for(;r;){if(r._properties.hasOwnProperty(e))return r;r=r._parent}return null}fork(e){if(!e)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,e)}wrap(e,r){if("function"!=typeof e)throw new Error("Expecting function got: "+e);const k=this._zoneDelegate.intercept(this,e,r),C=this;return function(){return C.runGuarded(k,this,arguments,r)}}run(e,r,k,C){U={parent:U,zone:this};try{return this._zoneDelegate.invoke(this,e,r,k,C)}finally{U=U.parent}}runGuarded(e,r=null,k,C){U={parent:U,zone:this};try{try{return this._zoneDelegate.invoke(this,e,r,k,C)}catch($){if(this._zoneDelegate.handleError(this,$))throw $}}finally{U=U.parent}}runTask(e,r,k){if(e.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(e.zone||J).name+"; Execution: "+this.name+")");if(e.state===x&&(e.type===Q||e.type===P))return;const C=e.state!=E;C&&e._transitionTo(E,A),e.runCount++;const $=re;re=e,U={parent:U,zone:this};try{e.type==P&&e.data&&!e.data.isPeriodic&&(e.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,e,r,k)}catch(l){if(this._zoneDelegate.handleError(this,l))throw l}}finally{e.state!==x&&e.state!==h&&(e.type==Q||e.data&&e.data.isPeriodic?C&&e._transitionTo(A,E):(e.runCount=0,this._updateTaskCount(e,-1),C&&e._transitionTo(x,E,x))),U=U.parent,re=$}}scheduleTask(e){if(e.zone&&e.zone!==this){let k=this;for(;k;){if(k===e.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${e.zone.name}`);k=k.parent}}e._transitionTo(X,x);const r=[];e._zoneDelegates=r,e._zone=this;try{e=this._zoneDelegate.scheduleTask(this,e)}catch(k){throw e._transitionTo(h,X,x),this._zoneDelegate.handleError(this,k),k}return e._zoneDelegates===r&&this._updateTaskCount(e,1),e.state==X&&e._transitionTo(A,X),e}scheduleMicroTask(e,r,k,C){return this.scheduleTask(new m(I,e,r,k,C,void 0))}scheduleMacroTask(e,r,k,C,$){return this.scheduleTask(new m(P,e,r,k,C,$))}scheduleEventTask(e,r,k,C,$){return this.scheduleTask(new m(Q,e,r,k,C,$))}cancelTask(e){if(e.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(e.zone||J).name+"; Execution: "+this.name+")");if(e.state===A||e.state===E){e._transitionTo(G,A,E);try{this._zoneDelegate.cancelTask(this,e)}catch(r){throw e._transitionTo(h,G),this._zoneDelegate.handleError(this,r),r}return this._updateTaskCount(e,-1),e._transitionTo(x,G),e.runCount=0,e}}_updateTaskCount(e,r){const k=e._zoneDelegates;-1==r&&(e._zoneDelegates=null);for(let C=0;CL.hasTask(e,r),onScheduleTask:(L,T,e,r)=>L.scheduleTask(e,r),onInvokeTask:(L,T,e,r,k,C)=>L.invokeTask(e,r,k,C),onCancelTask:(L,T,e,r)=>L.cancelTask(e,r)};class v{constructor(T,e,r){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=T,this._parentDelegate=e,this._forkZS=r&&(r&&r.onFork?r:e._forkZS),this._forkDlgt=r&&(r.onFork?e:e._forkDlgt),this._forkCurrZone=r&&(r.onFork?this.zone:e._forkCurrZone),this._interceptZS=r&&(r.onIntercept?r:e._interceptZS),this._interceptDlgt=r&&(r.onIntercept?e:e._interceptDlgt),this._interceptCurrZone=r&&(r.onIntercept?this.zone:e._interceptCurrZone),this._invokeZS=r&&(r.onInvoke?r:e._invokeZS),this._invokeDlgt=r&&(r.onInvoke?e:e._invokeDlgt),this._invokeCurrZone=r&&(r.onInvoke?this.zone:e._invokeCurrZone),this._handleErrorZS=r&&(r.onHandleError?r:e._handleErrorZS),this._handleErrorDlgt=r&&(r.onHandleError?e:e._handleErrorDlgt),this._handleErrorCurrZone=r&&(r.onHandleError?this.zone:e._handleErrorCurrZone),this._scheduleTaskZS=r&&(r.onScheduleTask?r:e._scheduleTaskZS),this._scheduleTaskDlgt=r&&(r.onScheduleTask?e:e._scheduleTaskDlgt),this._scheduleTaskCurrZone=r&&(r.onScheduleTask?this.zone:e._scheduleTaskCurrZone),this._invokeTaskZS=r&&(r.onInvokeTask?r:e._invokeTaskZS),this._invokeTaskDlgt=r&&(r.onInvokeTask?e:e._invokeTaskDlgt),this._invokeTaskCurrZone=r&&(r.onInvokeTask?this.zone:e._invokeTaskCurrZone),this._cancelTaskZS=r&&(r.onCancelTask?r:e._cancelTaskZS),this._cancelTaskDlgt=r&&(r.onCancelTask?e:e._cancelTaskDlgt),this._cancelTaskCurrZone=r&&(r.onCancelTask?this.zone:e._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const k=r&&r.onHasTask;(k||e&&e._hasTaskZS)&&(this._hasTaskZS=k?r:b,this._hasTaskDlgt=e,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=T,r.onScheduleTask||(this._scheduleTaskZS=b,this._scheduleTaskDlgt=e,this._scheduleTaskCurrZone=this.zone),r.onInvokeTask||(this._invokeTaskZS=b,this._invokeTaskDlgt=e,this._invokeTaskCurrZone=this.zone),r.onCancelTask||(this._cancelTaskZS=b,this._cancelTaskDlgt=e,this._cancelTaskCurrZone=this.zone))}fork(T,e){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,T,e):new d(T,e)}intercept(T,e,r){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,T,e,r):e}invoke(T,e,r,k,C){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,T,e,r,k,C):e.apply(r,k)}handleError(T,e){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,T,e)}scheduleTask(T,e){let r=e;if(this._scheduleTaskZS)this._hasTaskZS&&r._zoneDelegates.push(this._hasTaskDlgtOwner),r=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,T,e),r||(r=e);else if(e.scheduleFn)e.scheduleFn(e);else{if(e.type!=I)throw new Error("Task is missing scheduleFn.");R(e)}return r}invokeTask(T,e,r,k){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,T,e,r,k):e.callback.apply(r,k)}cancelTask(T,e){let r;if(this._cancelTaskZS)r=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,T,e);else{if(!e.cancelFn)throw Error("Task is not cancelable");r=e.cancelFn(e)}return r}hasTask(T,e){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,T,e)}catch(r){this.handleError(T,r)}}_updateTaskCount(T,e){const r=this._taskCounts,k=r[T],C=r[T]=k+e;if(C<0)throw new Error("More tasks executed then were scheduled.");0!=k&&0!=C||this.hasTask(this.zone,{microTask:r.microTask>0,macroTask:r.macroTask>0,eventTask:r.eventTask>0,change:T})}}class m{constructor(T,e,r,k,C,$){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=T,this.source=e,this.data=k,this.scheduleFn=C,this.cancelFn=$,!r)throw new Error("callback is not defined");this.callback=r;const l=this;this.invoke=T===Q&&k&&k.useG?m.invokeTask:function(){return m.invokeTask.call(t,l,this,arguments)}}static invokeTask(T,e,r){T||(T=this),ee++;try{return T.runCount++,T.zone.runTask(T,e,r)}finally{1==ee&&_(),ee--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(x,X)}_transitionTo(T,e,r){if(this._state!==e&&this._state!==r)throw new Error(`${this.type} '${this.source}': can not transition to '${T}', expecting state '${e}'${r?" or '"+r+"'":""}, was '${this._state}'.`);this._state=T,T==x&&(this._zoneDelegates=null)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}const M=a("setTimeout"),O=a("Promise"),N=a("then");let K,B=[],H=!1;function q(L){if(K||t[O]&&(K=t[O].resolve(0)),K){let T=K[N];T||(T=K.then),T.call(K,L)}else t[M](L,0)}function R(L){0===ee&&0===B.length&&q(_),L&&B.push(L)}function _(){if(!H){for(H=!0;B.length;){const L=B;B=[];for(let T=0;TU,onUnhandledError:W,microtaskDrainDone:W,scheduleMicroTask:R,showUncaughtError:()=>!d[a("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:W,patchMethod:()=>W,bindArguments:()=>[],patchThen:()=>W,patchMacroTask:()=>W,patchEventPrototype:()=>W,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>W,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>W,wrapWithCurrentZone:()=>W,filterProperties:()=>[],attachOriginToPatched:()=>W,_redefineProperty:()=>W,patchCallbacks:()=>W,nativeScheduleMicroTask:q};let U={parent:null,zone:new d(null,null)},re=null,ee=0;function W(){}o("Zone","Zone"),t.Zone=d}(typeof window<"u"&&window||typeof self<"u"&&self||global);const ue=Object.getOwnPropertyDescriptor,me=Object.defineProperty,ve=Object.getPrototypeOf,Se=Object.create,it=Array.prototype.slice,De="addEventListener",Ze="removeEventListener",Oe=Zone.__symbol__(De),Ne=Zone.__symbol__(Ze),ie="true",ce="false",pe=Zone.__symbol__("");function Ie(t,n){return Zone.current.wrap(t,n)}function Le(t,n,i,o,c){return Zone.current.scheduleMacroTask(t,n,i,o,c)}const j=Zone.__symbol__,be=typeof window<"u",_e=be?window:void 0,Y=be&&_e||"object"==typeof self&&self||global,ct="removeAttribute";function Me(t,n){for(let i=t.length-1;i>=0;i--)"function"==typeof t[i]&&(t[i]=Ie(t[i],n+"_"+i));return t}function Ve(t){return!t||!1!==t.writable&&!("function"==typeof t.get&&typeof t.set>"u")}const Fe=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,Pe=!("nw"in Y)&&typeof Y.process<"u"&&"[object process]"==={}.toString.call(Y.process),Ae=!Pe&&!Fe&&!(!be||!_e.HTMLElement),Be=typeof Y.process<"u"&&"[object process]"==={}.toString.call(Y.process)&&!Fe&&!(!be||!_e.HTMLElement),we={},Ue=function(t){if(!(t=t||Y.event))return;let n=we[t.type];n||(n=we[t.type]=j("ON_PROPERTY"+t.type));const i=this||t.target||Y,o=i[n];let c;return Ae&&i===_e&&"error"===t.type?(c=o&&o.call(this,t.message,t.filename,t.lineno,t.colno,t.error),!0===c&&t.preventDefault()):(c=o&&o.apply(this,arguments),null!=c&&!c&&t.preventDefault()),c};function We(t,n,i){let o=ue(t,n);if(!o&&i&&ue(i,n)&&(o={enumerable:!0,configurable:!0}),!o||!o.configurable)return;const c=j("on"+n+"patched");if(t.hasOwnProperty(c)&&t[c])return;delete o.writable,delete o.value;const a=o.get,y=o.set,d=n.slice(2);let b=we[d];b||(b=we[d]=j("ON_PROPERTY"+d)),o.set=function(v){let m=this;!m&&t===Y&&(m=Y),m&&("function"==typeof m[b]&&m.removeEventListener(d,Ue),y&&y.call(m,null),m[b]=v,"function"==typeof v&&m.addEventListener(d,Ue,!1))},o.get=function(){let v=this;if(!v&&t===Y&&(v=Y),!v)return null;const m=v[b];if(m)return m;if(a){let M=a.call(this);if(M)return o.set.call(this,M),"function"==typeof v[ct]&&v.removeAttribute(n),M}return null},me(t,n,o),t[c]=!0}function qe(t,n,i){if(n)for(let o=0;ofunction(y,d){const b=i(y,d);return b.cbIdx>=0&&"function"==typeof d[b.cbIdx]?Le(b.name,d[b.cbIdx],b,c):a.apply(y,d)})}function le(t,n){t[j("OriginalDelegate")]=n}let Xe=!1,je=!1;function ft(){if(Xe)return je;Xe=!0;try{const t=_e.navigator.userAgent;(-1!==t.indexOf("MSIE ")||-1!==t.indexOf("Trident/")||-1!==t.indexOf("Edge/"))&&(je=!0)}catch{}return je}Zone.__load_patch("ZoneAwarePromise",(t,n,i)=>{const o=Object.getOwnPropertyDescriptor,c=Object.defineProperty,y=i.symbol,d=[],b=!0===t[y("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],v=y("Promise"),m=y("then"),M="__creationTrace__";i.onUnhandledError=l=>{if(i.showUncaughtError()){const u=l&&l.rejection;u?console.error("Unhandled Promise rejection:",u instanceof Error?u.message:u,"; Zone:",l.zone.name,"; Task:",l.task&&l.task.source,"; Value:",u,u instanceof Error?u.stack:void 0):console.error(l)}},i.microtaskDrainDone=()=>{for(;d.length;){const l=d.shift();try{l.zone.runGuarded(()=>{throw l.throwOriginal?l.rejection:l})}catch(u){N(u)}}};const O=y("unhandledPromiseRejectionHandler");function N(l){i.onUnhandledError(l);try{const u=n[O];"function"==typeof u&&u.call(this,l)}catch{}}function B(l){return l&&l.then}function H(l){return l}function K(l){return e.reject(l)}const q=y("state"),R=y("value"),_=y("finally"),J=y("parentPromiseValue"),x=y("parentPromiseState"),X="Promise.then",A=null,E=!0,G=!1,h=0;function I(l,u){return s=>{try{z(l,u,s)}catch(f){z(l,!1,f)}}}const P=function(){let l=!1;return function(s){return function(){l||(l=!0,s.apply(null,arguments))}}},Q="Promise resolved with itself",oe=y("currentTaskTrace");function z(l,u,s){const f=P();if(l===s)throw new TypeError(Q);if(l[q]===A){let g=null;try{("object"==typeof s||"function"==typeof s)&&(g=s&&s.then)}catch(w){return f(()=>{z(l,!1,w)})(),l}if(u!==G&&s instanceof e&&s.hasOwnProperty(q)&&s.hasOwnProperty(R)&&s[q]!==A)re(s),z(l,s[q],s[R]);else if(u!==G&&"function"==typeof g)try{g.call(s,f(I(l,u)),f(I(l,!1)))}catch(w){f(()=>{z(l,!1,w)})()}else{l[q]=u;const w=l[R];if(l[R]=s,l[_]===_&&u===E&&(l[q]=l[x],l[R]=l[J]),u===G&&s instanceof Error){const p=n.currentTask&&n.currentTask.data&&n.currentTask.data[M];p&&c(s,oe,{configurable:!0,enumerable:!1,writable:!0,value:p})}for(let p=0;p{try{const S=l[R],D=!!s&&_===s[_];D&&(s[J]=S,s[x]=w);const Z=u.run(p,void 0,D&&p!==K&&p!==H?[]:[S]);z(s,!0,Z)}catch(S){z(s,!1,S)}},s)}const L=function(){},T=t.AggregateError;class e{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(u){return z(new this(null),E,u)}static reject(u){return z(new this(null),G,u)}static any(u){if(!u||"function"!=typeof u[Symbol.iterator])return Promise.reject(new T([],"All promises were rejected"));const s=[];let f=0;try{for(let p of u)f++,s.push(e.resolve(p))}catch{return Promise.reject(new T([],"All promises were rejected"))}if(0===f)return Promise.reject(new T([],"All promises were rejected"));let g=!1;const w=[];return new e((p,S)=>{for(let D=0;D{g||(g=!0,p(Z))},Z=>{w.push(Z),f--,0===f&&(g=!0,S(new T(w,"All promises were rejected")))})})}static race(u){let s,f,g=new this((S,D)=>{s=S,f=D});function w(S){s(S)}function p(S){f(S)}for(let S of u)B(S)||(S=this.resolve(S)),S.then(w,p);return g}static all(u){return e.allWithCallback(u)}static allSettled(u){return(this&&this.prototype instanceof e?this:e).allWithCallback(u,{thenCallback:f=>({status:"fulfilled",value:f}),errorCallback:f=>({status:"rejected",reason:f})})}static allWithCallback(u,s){let f,g,w=new this((Z,V)=>{f=Z,g=V}),p=2,S=0;const D=[];for(let Z of u){B(Z)||(Z=this.resolve(Z));const V=S;try{Z.then(F=>{D[V]=s?s.thenCallback(F):F,p--,0===p&&f(D)},F=>{s?(D[V]=s.errorCallback(F),p--,0===p&&f(D)):g(F)})}catch(F){g(F)}p++,S++}return p-=2,0===p&&f(D),w}constructor(u){const s=this;if(!(s instanceof e))throw new Error("Must be an instanceof Promise.");s[q]=A,s[R]=[];try{const f=P();u&&u(f(I(s,E)),f(I(s,G)))}catch(f){z(s,!1,f)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return e}then(u,s){let f=this.constructor?.[Symbol.species];(!f||"function"!=typeof f)&&(f=this.constructor||e);const g=new f(L),w=n.current;return this[q]==A?this[R].push(w,g,u,s):ee(this,w,g,u,s),g}catch(u){return this.then(null,u)}finally(u){let s=this.constructor?.[Symbol.species];(!s||"function"!=typeof s)&&(s=e);const f=new s(L);f[_]=_;const g=n.current;return this[q]==A?this[R].push(g,f,u,u):ee(this,g,f,u,u),f}}e.resolve=e.resolve,e.reject=e.reject,e.race=e.race,e.all=e.all;const r=t[v]=t.Promise;t.Promise=e;const k=y("thenPatched");function C(l){const u=l.prototype,s=o(u,"then");if(s&&(!1===s.writable||!s.configurable))return;const f=u.then;u[m]=f,l.prototype.then=function(g,w){return new e((S,D)=>{f.call(this,S,D)}).then(g,w)},l[k]=!0}return i.patchThen=C,r&&(C(r),ae(t,"fetch",l=>function $(l){return function(u,s){let f=l.apply(u,s);if(f instanceof e)return f;let g=f.constructor;return g[k]||C(g),f}}(l))),Promise[n.__symbol__("uncaughtPromiseErrors")]=d,e}),Zone.__load_patch("toString",t=>{const n=Function.prototype.toString,i=j("OriginalDelegate"),o=j("Promise"),c=j("Error"),a=function(){if("function"==typeof this){const v=this[i];if(v)return"function"==typeof v?n.call(v):Object.prototype.toString.call(v);if(this===Promise){const m=t[o];if(m)return n.call(m)}if(this===Error){const m=t[c];if(m)return n.call(m)}}return n.call(this)};a[i]=n,Function.prototype.toString=a;const y=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":y.call(this)}});let Ee=!1;if(typeof window<"u")try{const t=Object.defineProperty({},"passive",{get:function(){Ee=!0}});window.addEventListener("test",t,t),window.removeEventListener("test",t,t)}catch{Ee=!1}const ht={useG:!0},te={},ze={},Ye=new RegExp("^"+pe+"(\\w+)(true|false)$"),$e=j("propagationStopped");function Je(t,n){const i=(n?n(t):t)+ce,o=(n?n(t):t)+ie,c=pe+i,a=pe+o;te[t]={},te[t][ce]=c,te[t][ie]=a}function dt(t,n,i,o){const c=o&&o.add||De,a=o&&o.rm||Ze,y=o&&o.listeners||"eventListeners",d=o&&o.rmAll||"removeAllListeners",b=j(c),v="."+c+":",m="prependListener",M="."+m+":",O=function(R,_,J){if(R.isRemoved)return;const x=R.callback;let X;"object"==typeof x&&x.handleEvent&&(R.callback=E=>x.handleEvent(E),R.originalDelegate=x);try{R.invoke(R,_,[J])}catch(E){X=E}const A=R.options;return A&&"object"==typeof A&&A.once&&_[a].call(_,J.type,R.originalDelegate?R.originalDelegate:R.callback,A),X};function N(R,_,J){if(!(_=_||t.event))return;const x=R||_.target||t,X=x[te[_.type][J?ie:ce]];if(X){const A=[];if(1===X.length){const E=O(X[0],x,_);E&&A.push(E)}else{const E=X.slice();for(let G=0;G{throw G})}}}const B=function(R){return N(this,R,!1)},H=function(R){return N(this,R,!0)};function K(R,_){if(!R)return!1;let J=!0;_&&void 0!==_.useG&&(J=_.useG);const x=_&&_.vh;let X=!0;_&&void 0!==_.chkDup&&(X=_.chkDup);let A=!1;_&&void 0!==_.rt&&(A=_.rt);let E=R;for(;E&&!E.hasOwnProperty(c);)E=ve(E);if(!E&&R[c]&&(E=R),!E||E[b])return!1;const G=_&&_.eventNameToString,h={},I=E[b]=E[c],P=E[j(a)]=E[a],Q=E[j(y)]=E[y],oe=E[j(d)]=E[d];let z;_&&_.prepend&&(z=E[j(_.prepend)]=E[_.prepend]);const e=J?function(s){if(!h.isExisting)return I.call(h.target,h.eventName,h.capture?H:B,h.options)}:function(s){return I.call(h.target,h.eventName,s.invoke,h.options)},r=J?function(s){if(!s.isRemoved){const f=te[s.eventName];let g;f&&(g=f[s.capture?ie:ce]);const w=g&&s.target[g];if(w)for(let p=0;pfunction(c,a){c[$e]=!0,o&&o.apply(c,a)})}function Et(t,n,i,o,c){const a=Zone.__symbol__(o);if(n[a])return;const y=n[a]=n[o];n[o]=function(d,b,v){return b&&b.prototype&&c.forEach(function(m){const M=`${i}.${o}::`+m,O=b.prototype;try{if(O.hasOwnProperty(m)){const N=t.ObjectGetOwnPropertyDescriptor(O,m);N&&N.value?(N.value=t.wrapWithCurrentZone(N.value,M),t._redefineProperty(b.prototype,m,N)):O[m]&&(O[m]=t.wrapWithCurrentZone(O[m],M))}else O[m]&&(O[m]=t.wrapWithCurrentZone(O[m],M))}catch{}}),y.call(n,d,b,v)},t.attachOriginToPatched(n[o],y)}function Qe(t,n,i){if(!i||0===i.length)return n;const o=i.filter(a=>a.target===t);if(!o||0===o.length)return n;const c=o[0].ignoreProperties;return n.filter(a=>-1===c.indexOf(a))}function et(t,n,i,o){t&&qe(t,Qe(t,n,i),o)}function He(t){return Object.getOwnPropertyNames(t).filter(n=>n.startsWith("on")&&n.length>2).map(n=>n.substring(2))}Zone.__load_patch("util",(t,n,i)=>{const o=He(t);i.patchOnProperties=qe,i.patchMethod=ae,i.bindArguments=Me,i.patchMacroTask=lt;const c=n.__symbol__("BLACK_LISTED_EVENTS"),a=n.__symbol__("UNPATCHED_EVENTS");t[a]&&(t[c]=t[a]),t[c]&&(n[c]=n[a]=t[c]),i.patchEventPrototype=_t,i.patchEventTarget=dt,i.isIEOrEdge=ft,i.ObjectDefineProperty=me,i.ObjectGetOwnPropertyDescriptor=ue,i.ObjectCreate=Se,i.ArraySlice=it,i.patchClass=ge,i.wrapWithCurrentZone=Ie,i.filterProperties=Qe,i.attachOriginToPatched=le,i._redefineProperty=Object.defineProperty,i.patchCallbacks=Et,i.getGlobalObjects=()=>({globalSources:ze,zoneSymbolEventNames:te,eventNames:o,isBrowser:Ae,isMix:Be,isNode:Pe,TRUE_STR:ie,FALSE_STR:ce,ZONE_SYMBOL_PREFIX:pe,ADD_EVENT_LISTENER_STR:De,REMOVE_EVENT_LISTENER_STR:Ze})});const Re=j("zoneTask");function Te(t,n,i,o){let c=null,a=null;i+=o;const y={};function d(v){const m=v.data;return m.args[0]=function(){return v.invoke.apply(this,arguments)},m.handleId=c.apply(t,m.args),v}function b(v){return a.call(t,v.data.handleId)}c=ae(t,n+=o,v=>function(m,M){if("function"==typeof M[0]){const O={isPeriodic:"Interval"===o,delay:"Timeout"===o||"Interval"===o?M[1]||0:void 0,args:M},N=M[0];M[0]=function(){try{return N.apply(this,arguments)}finally{O.isPeriodic||("number"==typeof O.handleId?delete y[O.handleId]:O.handleId&&(O.handleId[Re]=null))}};const B=Le(n,M[0],O,d,b);if(!B)return B;const H=B.data.handleId;return"number"==typeof H?y[H]=B:H&&(H[Re]=B),H&&H.ref&&H.unref&&"function"==typeof H.ref&&"function"==typeof H.unref&&(B.ref=H.ref.bind(H),B.unref=H.unref.bind(H)),"number"==typeof H||H?H:B}return v.apply(t,M)}),a=ae(t,i,v=>function(m,M){const O=M[0];let N;"number"==typeof O?N=y[O]:(N=O&&O[Re],N||(N=O)),N&&"string"==typeof N.type?"notScheduled"!==N.state&&(N.cancelFn&&N.data.isPeriodic||0===N.runCount)&&("number"==typeof O?delete y[O]:O&&(O[Re]=null),N.zone.cancelTask(N)):v.apply(t,M)})}Zone.__load_patch("legacy",t=>{const n=t[Zone.__symbol__("legacyPatch")];n&&n()}),Zone.__load_patch("queueMicrotask",(t,n,i)=>{i.patchMethod(t,"queueMicrotask",o=>function(c,a){n.current.scheduleMicroTask("queueMicrotask",a[0])})}),Zone.__load_patch("timers",t=>{const n="set",i="clear";Te(t,n,i,"Timeout"),Te(t,n,i,"Interval"),Te(t,n,i,"Immediate")}),Zone.__load_patch("requestAnimationFrame",t=>{Te(t,"request","cancel","AnimationFrame"),Te(t,"mozRequest","mozCancel","AnimationFrame"),Te(t,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(t,n)=>{const i=["alert","prompt","confirm"];for(let o=0;ofunction(b,v){return n.current.run(a,t,v,d)})}),Zone.__load_patch("EventTarget",(t,n,i)=>{(function pt(t,n){n.patchEventPrototype(t,n)})(t,i),function mt(t,n){if(Zone[n.symbol("patchEventTarget")])return;const{eventNames:i,zoneSymbolEventNames:o,TRUE_STR:c,FALSE_STR:a,ZONE_SYMBOL_PREFIX:y}=n.getGlobalObjects();for(let b=0;b{ge("MutationObserver"),ge("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",(t,n,i)=>{ge("IntersectionObserver")}),Zone.__load_patch("FileReader",(t,n,i)=>{ge("FileReader")}),Zone.__load_patch("on_property",(t,n,i)=>{!function Tt(t,n){if(Pe&&!Be||Zone[t.symbol("patchEvents")])return;const i=n.__Zone_ignore_on_properties;let o=[];if(Ae){const c=window;o=o.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const a=function ut(){try{const t=_e.navigator.userAgent;if(-1!==t.indexOf("MSIE ")||-1!==t.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:c,ignoreProperties:["error"]}]:[];et(c,He(c),i&&i.concat(a),ve(c))}o=o.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let c=0;c{!function yt(t,n){const{isBrowser:i,isMix:o}=n.getGlobalObjects();(i||o)&&t.customElements&&"customElements"in t&&n.patchCallbacks(n,t.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(t,i)}),Zone.__load_patch("XHR",(t,n)=>{!function b(v){const m=v.XMLHttpRequest;if(!m)return;const M=m.prototype;let N=M[Oe],B=M[Ne];if(!N){const h=v.XMLHttpRequestEventTarget;if(h){const I=h.prototype;N=I[Oe],B=I[Ne]}}const H="readystatechange",K="scheduled";function q(h){const I=h.data,P=I.target;P[a]=!1,P[d]=!1;const Q=P[c];N||(N=P[Oe],B=P[Ne]),Q&&B.call(P,H,Q);const oe=P[c]=()=>{if(P.readyState===P.DONE)if(!I.aborted&&P[a]&&h.state===K){const U=P[n.__symbol__("loadfalse")];if(0!==P.status&&U&&U.length>0){const re=h.invoke;h.invoke=function(){const ee=P[n.__symbol__("loadfalse")];for(let W=0;Wfunction(h,I){return h[o]=0==I[2],h[y]=I[1],J.apply(h,I)}),X=j("fetchTaskAborting"),A=j("fetchTaskScheduling"),E=ae(M,"send",()=>function(h,I){if(!0===n.current[A]||h[o])return E.apply(h,I);{const P={target:h,url:h[y],isPeriodic:!1,args:I,aborted:!1},Q=Le("XMLHttpRequest.send",R,P,q,_);h&&!0===h[d]&&!P.aborted&&Q.state===K&&Q.invoke()}}),G=ae(M,"abort",()=>function(h,I){const P=function O(h){return h[i]}(h);if(P&&"string"==typeof P.type){if(null==P.cancelFn||P.data&&P.data.aborted)return;P.zone.cancelTask(P)}else if(!0===n.current[X])return G.apply(h,I)})}(t);const i=j("xhrTask"),o=j("xhrSync"),c=j("xhrListener"),a=j("xhrScheduled"),y=j("xhrURL"),d=j("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",t=>{t.navigator&&t.navigator.geolocation&&function at(t,n){const i=t.constructor.name;for(let o=0;o{const b=function(){return d.apply(this,Me(arguments,i+"."+c))};return le(b,d),b})(a)}}}(t.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(t,n)=>{function i(o){return function(c){Ke(t,o).forEach(y=>{const d=t.PromiseRejectionEvent;if(d){const b=new d(o,{promise:c.promise,reason:c.rejection});y.invoke(b)}})}}t.PromiseRejectionEvent&&(n[j("unhandledPromiseRejectionHandler")]=i("unhandledrejection"),n[j("rejectionHandledHandler")]=i("rejectionhandled"))})}},ue=>{ue(ue.s=583)}]); \ No newline at end of file diff --git a/runtime.8c149bb40ac2044c.js b/runtime.8c149bb40ac2044c.js deleted file mode 100644 index 13d1a00..0000000 --- a/runtime.8c149bb40ac2044c.js +++ /dev/null @@ -1 +0,0 @@ -(()=>{"use strict";var e,v={},_={};function a(e){var l=_[e];if(void 0!==l)return l.exports;var r=_[e]={exports:{}};return v[e](r,r.exports,a),r.exports}a.m=v,e=[],a.O=(l,r,o,f)=>{if(!r){var s=1/0;for(n=0;n=f)&&Object.keys(a.O).every(p=>a.O[p](r[c]))?r.splice(c--,1):(t=!1,f0&&e[n-1][2]>f;n--)e[n]=e[n-1];e[n]=[r,o,f]},a.o=(e,l)=>Object.prototype.hasOwnProperty.call(e,l),(()=>{var e={666:0};a.O.j=o=>0===e[o];var l=(o,f)=>{var c,u,[n,s,t]=f,i=0;if(n.some(h=>0!==e[h])){for(c in s)a.o(s,c)&&(a.m[c]=s[c]);if(t)var d=t(a)}for(o&&o(f);i