diff --git a/3rdpartylicenses.txt b/3rdpartylicenses.txt
new file mode 100644
index 0000000..7b899fd
--- /dev/null
+++ b/3rdpartylicenses.txt
@@ -0,0 +1,297 @@
+@angular/animations
+MIT
+
+@angular/cdk
+MIT
+The MIT License
+
+Copyright (c) 2024 Google LLC.
+
+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.
+
+
+@angular/common
+MIT
+
+@angular/core
+MIT
+
+@angular/forms
+MIT
+
+@angular/material
+MIT
+The MIT License
+
+Copyright (c) 2024 Google LLC.
+
+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.
+
+
+@angular/platform-browser
+MIT
+
+mat-image-overlay
+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-2024 Google LLC. https://angular.io/license
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
diff --git a/CHANGELOG.md b/CHANGELOG.md
new file mode 100644
index 0000000..2ad47b9
--- /dev/null
+++ b/CHANGELOG.md
@@ -0,0 +1,210 @@
+# Changelog
+
+All notable changes to this project will be documented in this file. See [commit-and-tag-version](https://github.com/absolute-version/commit-and-tag-version) for commit guidelines.
+
+## [17.0.3](https://github.com/BePo65/mat-image-overlay/compare/v17.0.2...v17.0.3) (2024-07-02)
+
+## [17.0.2](https://github.com/BePo65/mat-image-overlay/compare/v17.0.1...v17.0.2) (2024-03-02)
+
+### [17.0.1](https://github.com/BePo65/mat-image-overlay/compare/v17.0.0...v17.0.1) (2023-12-23)
+
+
+### Bug Fixes
+
+* update peerDependencies in library project ([541e1da](https://github.com/BePo65/mat-image-overlay/commit/541e1dabdbadcbb2eab6f0ac8b4f5b4abd48e515))
+
+## [17.0.0](https://github.com/BePo65/mat-image-overlay/compare/v16.0.0...v17.0.0) (2023-12-23)
+
+
+### ⚠ BREAKING CHANGES
+
+* update to angular v17
+
+### Features
+
+* change mat-tristate-checkbox to standalone components ([091c7c6](https://github.com/BePo65/mat-image-overlay/commit/091c7c624ddafeba219aac1c907626cc885a365f))
+* update to angular v17 ([5ce699b](https://github.com/BePo65/mat-image-overlay/commit/5ce699b44bcae2ebef8e22bc71610d4b93ac5dc1))
+
+## [16.0.0](https://github.com/BePo65/mat-image-overlay/compare/v15.1.4...v16.0.0) (2023-12-21)
+
+
+### ⚠ BREAKING CHANGES
+
+* tha project now requires angular v16
+* ElementDisplayPosition entries changed to 6 positions
+* keydownEvents() changed to keydownEvents$ observable
+* config object changed - use provider to get image data
+
+### Features
+
+* add data provider object as a config element - solve issue [#225](https://github.com/BePo65/mat-image-overlay/issues/225) ([3529929](https://github.com/BePo65/mat-image-overlay/commit/35299295d877718fd8e160fd9b3311f3929ce9d0))
+* add interface 'ThumbnailProvider' to add thumbnails to provider ([2b7baa7](https://github.com/BePo65/mat-image-overlay/commit/2b7baa7ec7462d1854cb95d304cda1e4dff27f0b))
+* define new positions for image description ([c0245b6](https://github.com/BePo65/mat-image-overlay/commit/c0245b66643a160acd28ba46b8abc4cd59d70c07))
+* **demo:** add alt and title tag to images of objectImages ([a4a2f99](https://github.com/BePo65/mat-image-overlay/commit/a4a2f99e5b840e4364d4bd5ca1e52c408bab2f9e))
+* **demo:** add option to select css class for backdrop ([aa89de1](https://github.com/BePo65/mat-image-overlay/commit/aa89de17ca771ddea9402796fceff23238c2a6e2))
+* **demo:** add trackBy function to ngFor of objectImages thumbnails ([d9aed51](https://github.com/BePo65/mat-image-overlay/commit/d9aed51a446aec5c04a3e097fb21d59560560853))
+* **demo:** dynamically set height and width of thumnail image ([25e1daa](https://github.com/BePo65/mat-image-overlay/commit/25e1daac1f1f5b0c438ed16d39d85ecd41dc3101))
+* **demo:** get thumbnails for object datasource from provider ([a31a9a4](https://github.com/BePo65/mat-image-overlay/commit/a31a9a455d31206e81379ab98c53e2f83da0eed8))
+* **demo:** image show and single image selection on all image sources ([4a63c51](https://github.com/BePo65/mat-image-overlay/commit/4a63c5191b8ca875d5dc33d197a6ccf2138382ac))
+* **demo:** make 'external navigation' show more variants ([bdc1503](https://github.com/BePo65/mat-image-overlay/commit/bdc15035b0eaaf8c82d6d01bcad0de679ccd6e21))
+* limit width of image description to width of image ([6b78deb](https://github.com/BePo65/mat-image-overlay/commit/6b78deb478962ae657a36bce8c6ef2259de2e025))
+* prepare to show thumbnail while loading - thumbnail still missing ([84680da](https://github.com/BePo65/mat-image-overlay/commit/84680daf5b54e16374adc5cc35fd97043aca965b))
+* show image description as tooltip of description element ([8199515](https://github.com/BePo65/mat-image-overlay/commit/8199515ea47c3c5e72e17c7540c418bbbd865f6c))
+* update to angular v16 ([a8446de](https://github.com/BePo65/mat-image-overlay/commit/a8446de327170aab1c5782e3d265f481a7f4fa1f))
+
+
+### Bug Fixes
+
+* change default value of data-loaded attribute from '' to 'false' ([795367b](https://github.com/BePo65/mat-image-overlay/commit/795367b8080104e93bee430acf7c846d7adbff35))
+* **demo:** use option for backdrop for second example too ([3ec357a](https://github.com/BePo65/mat-image-overlay/commit/3ec357a9a63c57fd4ee6a13e799e3f2f1829323a))
+* don't emit 'imageClicked' when clicking the navigation buttons ([aef33b5](https://github.com/BePo65/mat-image-overlay/commit/aef33b509b43d47a050358c1fe6bdaf98568a78a))
+* externally closing the overlay does not emit lastImageIndex ([8069ccf](https://github.com/BePo65/mat-image-overlay/commit/8069ccffc55415085815d9f1fcbfab559233b727))
+* give thumbnail the right dimensions ([dd10f61](https://github.com/BePo65/mat-image-overlay/commit/dd10f617b3732205172b3e2cf026d99bccd00f84))
+* initial size of thumbnail image ([8d1c08e](https://github.com/BePo65/mat-image-overlay/commit/8d1c08e2171b32a57e0650e8fdc7fd198dfb2414))
+* **lib:** mske MatImageOverlayRef._componentInstance protected ([094bd96](https://github.com/BePo65/mat-image-overlay/commit/094bd9660ba6ff5d7a9e5a8c6ded2e2394a10ffc))
+* **lib:** prevent hiding images, when going to image already shown ([5e7f396](https://github.com/BePo65/mat-image-overlay/commit/5e7f396b769c1f84f30e8ef45546c6895ec0388c))
+* make dafault max-x of images 0px instead of 0vw/0vh ([18f2a19](https://github.com/BePo65/mat-image-overlay/commit/18f2a1923c7dfbb4b0c09c6a600844acf8e37afd))
+* make description (position=top) move in from above ([ec7cb9d](https://github.com/BePo65/mat-image-overlay/commit/ec7cb9d3970fd8cbb2015ca6b107969d8a5139a0))
+* make description shown on top not to cover close button ([6d21487](https://github.com/BePo65/mat-image-overlay/commit/6d21487795a98c18a17d8d95fdd1b2f6b5c6ac40))
+* make image disappear without animation ([29d63c8](https://github.com/BePo65/mat-image-overlay/commit/29d63c83fdb83144b715ba535f10c852fa98a1b8))
+* make margin in objectSource same as in stringSource ([8168280](https://github.com/BePo65/mat-image-overlay/commit/8168280f112a8177262133e116117fc90010993a))
+* make resize events update image while resizing ([65d7528](https://github.com/BePo65/mat-image-overlay/commit/65d75287d9144624719d8823ee2fdeffc5fb5745))
+* make sure that all internal subscriptions get unsubscribed ([3dcdcbc](https://github.com/BePo65/mat-image-overlay/commit/3dcdcbca3fcd9548e844306823eb0ef15c6108f3))
+* make thumbnail hide on 'gotoImage' ([9360a6b](https://github.com/BePo65/mat-image-overlay/commit/9360a6ba7e4e8c39d2a8d9d799e7e92ad839f1ee))
+* prevent click event of navigation buttons to bubble up ([4c2a47b](https://github.com/BePo65/mat-image-overlay/commit/4c2a47b6bbca661aaae7fac768c2ef2564079140))
+* reactivate automatic image show in demo project ([1a53ff4](https://github.com/BePo65/mat-image-overlay/commit/1a53ff4d3961d7a4a6b0cc2129b9e0c58dff1ec3))
+* reduce decbounce time for resize events ([9a0a20c](https://github.com/BePo65/mat-image-overlay/commit/9a0a20c44e3bccd22caa9e8495f4110476edd620))
+* replace 'event.stopPropagation()' with angular way of doing it ([759cff1](https://github.com/BePo65/mat-image-overlay/commit/759cff15f4f1373d233ee0529b973a5146547dc7))
+* replace the global handler of click events by click handler of img ([a548d26](https://github.com/BePo65/mat-image-overlay/commit/a548d2699d88ced0d901ac88be1bea066376fe74))
+* reset data-loaded attributes when going to new image ([8dc01d7](https://github.com/BePo65/mat-image-overlay/commit/8dc01d7b511b2f1223e4c0a2670642c7c0e9ac0b))
+* set initial / default size of image ([1245df6](https://github.com/BePo65/mat-image-overlay/commit/1245df631b762ba4cc3c605c1cbe4ce30b41266f))
+* unsubscribe from subscriptions, when overlay is destroyed ([012fb5d](https://github.com/BePo65/mat-image-overlay/commit/012fb5d12238af0665ba269fe244c1bc059e5b77))
+* update declarations list in test of demo project ([a0742bc](https://github.com/BePo65/mat-image-overlay/commit/a0742bc248119de8cfdc325be14ced2fa4e4c33b))
+* update used images in demo project ([51621be](https://github.com/BePo65/mat-image-overlay/commit/51621be1b46d05fcbbb9d26722c7997c6eae3a46))
+
+### [15.1.4](https://github.com/BePo65/mat-image-overlay/compare/v15.1.3...v15.1.4) (2023-11-02)
+
+### [15.1.3](https://github.com/BePo65/mat-image-overlay/compare/v15.1.2...v15.1.3) (2023-05-24)
+
+### [15.1.2](https://github.com/BePo65/mat-image-overlay/compare/v15.1.1...v15.1.2) (2023-05-24)
+
+### [15.1.1](https://github.com/BePo65/mat-image-overlay/compare/v15.1.0...v15.1.1) (2023-01-14)
+
+## [15.1.0](https://github.com/BePo65/mat-image-overlay/compare/v15.0.0...v15.1.0) (2023-01-14)
+
+
+### ⚠ BREAKING CHANGES
+
+* drops 'imageClickHandler' from configuration and moves
+it as an observable to 'MatImageOverlayRef'
+
+### Features
+
+* embed roboto font instead of linking it ([de1fab3](https://github.com/BePo65/mat-image-overlay/commit/de1fab36e67d4dc6e0c8f7781e240da87310c510))
+* replace option 'imageClickHandler' with observable ([70c9442](https://github.com/BePo65/mat-image-overlay/commit/70c94424276756d3890b1ede108b19d09feb1658))
+
+## [15.0.0](https://github.com/BePo65/mat-image-overlay/compare/v3.0.3...v15.0.0) (2023-01-04)
+
+
+### Bug Fixes
+
+* errors from stylelint ([99e4cea](https://github.com/BePo65/mat-image-overlay/commit/99e4cea75365476dac210157128b7e10f6068b69))
+* type error in event handler ([712b2c6](https://github.com/BePo65/mat-image-overlay/commit/712b2c61a96c0bd365d04488aa304b84baa450e6))
+* warnings from upgrading to angular v15 ([a87f141](https://github.com/BePo65/mat-image-overlay/commit/a87f14124353bef3db5e025b277955ff664ad34a))
+
+### [3.0.3](https://github.com/BePo65/mat-image-overlay/compare/v3.0.2...v3.0.3) (2022-07-10)
+
+### [3.0.2](https://github.com/BePo65/mat-image-overlay/compare/v3.0.1...v3.0.2) (2022-01-30)
+
+### [3.0.1](https://github.com/BePo65/mat-image-overlay/compare/v3.0.0...v3.0.1) (2022-01-30)
+
+## [3.0.0](https://github.com/BePo65/mat-image-overlay/compare/v2.0.0...v3.0.0) (2022-01-30)
+
+
+### ⚠ BREAKING CHANGES
+
+* remove 'with' and filter from MatImageOverlayHarness
+as this feature is unnecessary (only 1 MatImageOverlay can be created
+at one time).
+
+### Features
+
+* add 'imageUrl' and 'sendKeys' to MatImageOverlayHarness ([e08547a](https://github.com/BePo65/mat-image-overlay/commit/e08547a69ed9c5ef7451f80ca270cdff159ba856))
+* move host() of MatImageOverlayHarness to overlayContainer ([3becd0d](https://github.com/BePo65/mat-image-overlay/commit/3becd0d26312f4c19e4a6f034e5cbded4ce2761d))
+* remove 'with' and filter from MatImageOverlayHarness ([e577640](https://github.com/BePo65/mat-image-overlay/commit/e5776405db87f124a858804efc264a97dc58b9e4))
+* remove sendKeysWithModifiers as modifiers are not evaluated ([eb57718](https://github.com/BePo65/mat-image-overlay/commit/eb57718bd8679a9a6fe47d551ef72bd15c9c5f55))
+
+## [2.0.0](https://github.com/BePo65/mat-image-overlay/compare/v1.0.0...v2.0.0) (2022-01-26)
+
+
+### ⚠ BREAKING CHANGES
+
+* add navigation to ImageOverlayComponentRef.
+'Law of demeter' says that accessing properties of components in
+another component is bad practice.
+* images in config is now required; optional parameters
+don't have a default value anymore.
+* use MatImageOverlayConfig as parameter of 'open'
+to combine all parameters into one single parameter.
+* 'open()' requires index of image not url
+* component names changed to be consistent with project
+names
+
+### Features
+
+* activate events ([58d57a2](https://github.com/BePo65/mat-image-overlay/commit/58d57a2bfecb6b8a241c360bb3f4c9389f1021fc))
+* add config class to public api ([742f65d](https://github.com/BePo65/mat-image-overlay/commit/742f65d5949ac1271e8222173d8de8a5afefdfbe))
+* add config option for position of description when style='onHover' ([94805ea](https://github.com/BePo65/mat-image-overlay/commit/94805ea89c724eba754055ef6a4af1c008e1bc30))
+* add demo with minimal required configuration ([2d0b664](https://github.com/BePo65/mat-image-overlay/commit/2d0b6646b6dab781e2c6694d93c5a347a459bf09))
+* add gotoImage and gotoLastImage to automatic demo ([fbcd5ed](https://github.com/BePo65/mat-image-overlay/commit/fbcd5edd7f5ed121c954b3b27281a55b5f25d602))
+* add home and end button to move in list of images ([4281aa1](https://github.com/BePo65/mat-image-overlay/commit/4281aa14a6f66d660246ca6f89f401b11d7d0ded))
+* add navigation buttons to overlay image ([cda1c84](https://github.com/BePo65/mat-image-overlay/commit/cda1c84b380e17dfb3a5f3ddcec1d7a8c470a30f))
+* add option 'descriptionForImage' to string source demo ([615bf8e](https://github.com/BePo65/mat-image-overlay/commit/615bf8e062ef5839c133aff6a791e9f53994f090))
+* add option for click event handler of image ([e054290](https://github.com/BePo65/mat-image-overlay/commit/e054290ea6815435372d3d2cafda87536bae8881))
+* add option to access description of image ([3e3f835](https://github.com/BePo65/mat-image-overlay/commit/3e3f83596b70931b80bac5525dc8bf870d1cf99a))
+* add option to set display style for overlay buttons ([f28d663](https://github.com/BePo65/mat-image-overlay/commit/f28d6636a6fe6dcb99eb62702835b6849e1d9ce9))
+* add property to optionally display an image description ([c01df2d](https://github.com/BePo65/mat-image-overlay/commit/c01df2de5e42fcb41d265779112294d24b4ab057))
+* add testHarness for mat-image-overlay ([1a12bba](https://github.com/BePo65/mat-image-overlay/commit/1a12bba725d7c108a583795d47fa74cdf0061967))
+* add title and short description to demo page ([72254c4](https://github.com/BePo65/mat-image-overlay/commit/72254c44cbe110c7bc9b949064ebe1817c3523a0))
+* add tooltip to link images of demo page ([9052f14](https://github.com/BePo65/mat-image-overlay/commit/9052f1429f22d1746c7935ca924c8381781fab13))
+* always show buttons on devices that do not support 'hover' ([f7198e5](https://github.com/BePo65/mat-image-overlay/commit/f7198e54bd84bdf852bb8b85fdeba56928e47d29))
+* change call signature of 'open' method of MatImageOverlay ([2dc7f02](https://github.com/BePo65/mat-image-overlay/commit/2dc7f0297d043cfea8c0ffeb8826db32f3e3d409))
+* default implementation for 'urlForImage' accecpts empty 'images' ([6b7fe6f](https://github.com/BePo65/mat-image-overlay/commit/6b7fe6f7378da1498a154a1af972aa3a10322066))
+* define start image in overlay via index (not url) ([8c1e980](https://github.com/BePo65/mat-image-overlay/commit/8c1e9809ea3752900430e544ca4e4ea0330bd29f))
+* descriptionDisplayStyle 'onHover' shows text on bottom of image ([d8de396](https://github.com/BePo65/mat-image-overlay/commit/d8de3964c66c9120163db1197c9a5d0241fecb34))
+* extend demo to show external navigation ([38d95cc](https://github.com/BePo65/mat-image-overlay/commit/38d95ccdb3e0978c218bee3b6e21c40d52be31d6))
+* hide buttons for next / previous image on limits of list ([2499c29](https://github.com/BePo65/mat-image-overlay/commit/2499c29c97f09c007826218d199f3d58b31681f6))
+* hide description if value is undefined or empty string ([461ced8](https://github.com/BePo65/mat-image-overlay/commit/461ced88f2048c398bb5b16e59f5482682c5bb35))
+* increase size of images to fill viewport ([db57483](https://github.com/BePo65/mat-image-overlay/commit/db57483302222fefbb0e1481545cf61de4d156ab))
+* make 'mat-image-overlay-ref' available in mat-image-overlay ([04ec39f](https://github.com/BePo65/mat-image-overlay/commit/04ec39fc37854331e7b25c64a0906b4cf45cb0b1))
+* make 'open' return a MatImageOverlayRef object ([c084f0f](https://github.com/BePo65/mat-image-overlay/commit/c084f0fb2b8bef01025e1769ee395dacf5654b7a))
+* make configuration of datasource more flexible ([4d5b766](https://github.com/BePo65/mat-image-overlay/commit/4d5b7668966e1ec60c38e18b3dfc802d6c2ca357))
+* make images a required parameter of MatImageOverlayConfig ([7082f31](https://github.com/BePo65/mat-image-overlay/commit/7082f317a359dab7ec7831af5efc8909d9be4c3d))
+* make MatImageOverlayConfig an interface ([560f6de](https://github.com/BePo65/mat-image-overlay/commit/560f6de525fbc72c16b9eb78bd471714d6cbcad9))
+* make option 'urlForImage' optional ([4511ad9](https://github.com/BePo65/mat-image-overlay/commit/4511ad96016a01625adf34df61b232ebbf546819))
+* make sure that only 1 instance of MatImageOverlay exists ([e03e01c](https://github.com/BePo65/mat-image-overlay/commit/e03e01c583ea23be20f40690a6f6796a83982db9))
+* remove 'panelClass' from config and mat-image-overlay-ref ([0ea0987](https://github.com/BePo65/mat-image-overlay/commit/0ea098705960863fb44b5c7cce9aa9a01631ec74))
+* remove access to OverlayComponent in OverlayComponentRef ([f8119d6](https://github.com/BePo65/mat-image-overlay/commit/f8119d67fb3e63f76d568c79ecd33e3b2d25ba7f))
+* show options in demo page in right column ([85fbb87](https://github.com/BePo65/mat-image-overlay/commit/85fbb871cb832c6a6ff8626f1f508429a309696c))
+
+
+### Bug Fixes
+
+* activate configuration parameter 'backdropClass' ([af220c7](https://github.com/BePo65/mat-image-overlay/commit/af220c707981d96d0718419282fb5e839291749f))
+* add css to keep ascpect ratio of image when resizing browser ([6fd2bcc](https://github.com/BePo65/mat-image-overlay/commit/6fd2bccd54662e8cff2069353fc266e498840966))
+* add visibility of public methods, remove unnecessary 'getState' ([b877798](https://github.com/BePo65/mat-image-overlay/commit/b8777988dd8c303e821a1320efc7d1ebe5971485))
+* change svg icons to constants ([dd18545](https://github.com/BePo65/mat-image-overlay/commit/dd185454c21e28a5c1f535eae1e33731ea155d6d))
+* prevent keystrokes from overlay to be sent to parent page ([e4f12c5](https://github.com/BePo65/mat-image-overlay/commit/e4f12c57decdb9c5455b2d1299d55ae33dd5d4b1))
+* remove base from index.html of demo ([01d21e0](https://github.com/BePo65/mat-image-overlay/commit/01d21e0f245518f7629076224e2355581dfa5f8a))
+* rename 'AngularMaterialImageOverlay...' to 'MatImageOverlay...' ([c55177b](https://github.com/BePo65/mat-image-overlay/commit/c55177b3cd4a528aee77d9fe8fc5f1f4cd8394bb))
+* stop loop when 'imgage show' is manually closed ([d632a93](https://github.com/BePo65/mat-image-overlay/commit/d632a93b614fc96126ac207a1bcb3544b6a972b7))
+* stylelint request shorthand for css grid ([5cec9fa](https://github.com/BePo65/mat-image-overlay/commit/5cec9faabf19a059aef0bd4b61d1be411f90259a))
+* update demo to show different data sources ([214be52](https://github.com/BePo65/mat-image-overlay/commit/214be522eb50b10772264c95134fc6502858b175))
+* update layout of demo page ([c0803a0](https://github.com/BePo65/mat-image-overlay/commit/c0803a0972ba4eb8da3d11f76d0cdba6bd714b83))
+* update tests to current version ([20479b8](https://github.com/BePo65/mat-image-overlay/commit/20479b83a9e8bc117f7b93756bc3f4e99af494bd))
+
+## [1.0.0](///compare/v0.0.8-next...v1.0.0) (2021-12-16)
+
+# Changelog
+
+All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..0e6a700
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,21 @@
+MIT License
+
+Copyright (c) 2019 Rafael Santos
+
+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/README.md b/README.md
new file mode 100644
index 0000000..c2b6355
--- /dev/null
+++ b/README.md
@@ -0,0 +1,424 @@
+# Mat-Image-Overlay
+![Version](https://img.shields.io/badge/version-17.0.3-blue.svg?cacheSeconds=2592000)
+[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://github.com/kefranabg/readme-md-generator/blob/master/LICENSE)
+![Angular version](https://img.shields.io/github/package-json/dependency-version/bepo65/mat-image-overlay/@angular/core?color=red&label=Angular&logo=angular&logoColor=red)
+![GitHub package.json dependency version (prod)](https://img.shields.io/github/package-json/dependency-version/bepo65/mat-image-overlay/@angular/material?color=red&label=Angular-Material&logo=angular&logoColor=red)
+
+An [Angular Material](https://material.angular.io/) based standalone component that shows images in an overlay.
+The component is based on Rafasantos [angular-material-image-overlay](https://github.com/rafasantos/angular-material-image-overlay).
+
+## Demo
+ Try out the [demo page](https://bepo65.github.io/mat-image-overlay/).
+
+![Screenshot](assets/screenshot.jpg "Screenshot of the demo page")
+
+## Quick Start
+Install the package:
+
+```
+npm install mat-image-overlay
+```
+
+Configure your angular application module (e.g: `app.module.ts`):
+```
+...
+import { MatImageOverlayModule } from 'mat-image-overlay';
+
+@NgModule({
+ ...
+ imports: [
+ ...
+ MatImageOverlayModule
+ ]
+})
+export class AppModule { }
+```
+
+Define a class based on MatImageDetailsProvider to get information about the images and create an instance of it in the mat-image-overlay configuration. Examples for classes based on MatImageDetailsProvider can be found in the 'examples/provider' directory of the mat-image-overlay component.
+```
+images = [
+ 'https://url/of/first/image.jpg',
+ 'https://url/of/second/image.jpg',
+ 'https://url/of/third/image.jpg',
+ 'https://url/of/fourth/image.jpg'
+];
+
+constructor(private imageOverlay: MatImageOverlay) {
+}
+
+openImageOverlay(imageIndex?: number): void {
+ const config = {
+ imageDetails: new StringSourceImageDetailsProvider(this.images),
+ startImageIndex: imageIndex,
+ backdropClass: 'demo-backdrop-class'
+ } as MatImageOverlayConfig;
+ const imageOverlayRef = this.imageOverlay.open(config);
+}
+```
+
+Open the overlay via a clickable element in your html template (e.g. `app.component.html`)
+```html
+
+ Click here to open the overlay
+
+```
+## Navigation
+When the overlay is shown, the keyboard can be used to navigate between the images (even when no navigational buttons are displayed on the image). The following keys are available:
+
+| key | function |
+|-----|----------|
+| Arrow Right | show next image |
+| Arrow Down | show next image |
+| Arrow Left | show previous image |
+| Arrow Up | show previous image |
+| Home | show first image |
+| End | show last image |
+| Escape | close overlay |
+
+## Used assets
+The component is based on Angular Material and uses [Google Fonts](https://fonts.google.com/specimen/Roboto) and [Google Material Icons](https://google.github.io/material-design-icons/#icon-font-for-the-web).
+Both fonts are part of the project and not fetched via https.
+
+Some special icons are stored in the code as strings representing the icons as svg graphics.
+
+## Mat-Image-Overlay Demo
+Demo project to show how `mat-image-overlay` works.
+
+```
+git clone git@github.com:BePo65/mat-image-overlay.git
+cd mat-image-overlay
+npm start
+```
+
+Navigate to http://localhost:4200
+
+# API reference for Mat-Image-Overlay
+
+## Services
+### MatImageOverlay
+Service to open Mat-Image-Overlay as a modal overlay.
+
+**Properties**
+| Name | Description |
+|---|---|
+| imageOverlayRef: MatImageOverlayRef | undefined | Reference of the opened image overlay. |
+| afterOpened: Subject<MatImageOverlayRef> | Stream that gets notified when the image overlay has been opened. |
+| afterClosed: Subject<number> | Stream that gets notified when the image overlay has been closed. |
+
+**Methods**
+| open | |
+|---|--|
+| Opens the image overlay. | |
+| *Parameters* | |
+| config MatImageOverlayConfig | Extra configuration options. |
+| *Returns* | |
+| MatImageOverlayRef | Reference to opened image overlay.
+
+| imageOverlayExists | |
+|---|--|
+| Checks whether the image overlay already exists. | |
+| *Returns* | |
+| boolean | true = image overlay exists |
+
+## Interfaces
+### MatImageOverlayConfig
+Configuration for opening a modal image overlay with the MatImageOverlay service.
+
+**Properties**
+| Name | Description |
+|---|---|
+| imageDetails | Instance of a class derived from MatImageDetailsProvider. |
+| startImageIndex | Index of the first image to be displayed (0 based). |
+| backdropClass | CSS class to add to the backdrop, replacing the default backdrop css. This CSS class must be in the global styles of the application. Default style is '`background: rgba(0 0 0 / 32%);`' Optional parameter. |
+| margin | Minimal margin in px around the loaded image. Default value: 32 Optional parameter. |
+| overlayButtonsStyle | Style of the buttons in the image overlay (using enum ElementDisplayStyle: never, onHover, always). Default value: ElementDisplayStyle.onHover. Optional parameter. |
+| descriptionDisplayStyle | Style of the image description in the image overlay (using enum ElementDisplayStyle: never, onHover, always). Using this option requires a property named 'description' in the data source. Default value: ElementDisplayStyle.never. Optional parameter. |
+| descriptionDisplayPosition | Position of the image description in the image overlay (using enum ElementDisplayPosition: bottomLeft, bottomCenter, bottomRight, topLeft, topCenter, topRight). Using this option requires a property named 'description' in the data source. Default value: ElementDisplayPosition.bottomRight. Optional parameter. |
+| imageClickedAdditionalData | Object with arbitrary data that will be returned by the imageClicked event (added to the data returned by the 'imageDetails.imageInformation' method). Optional parameter. |
+
+### MatImageDetailsProvider
+Abstract base class to be derived by a real image details provider. This class is used to get all the required information about an image.
+
+**Properties**
+| Name | Description |
+|---|---|
+| numberOfImages | Number of images that can be displayed (this property is readonly). |
+
+**Methods**
+| urlForImage | |
+|---|--|
+| Gets the url for an image. | |
+| *Parameters* | |
+| imageIndex | Index of the image to be displayed (0 based). |
+| *Returns* | |
+| string | Url for the image to be displayed. |
+
+| descriptionForImage | |
+|---|--|
+| Gets the description for an image. | |
+| *Parameters* | |
+| imageIndex | Index of the image to be displayed (0 based). |
+| *Returns* | |
+| string | Url for the image to be displayed. |
+
+| imageInformation | |
+|---|--|
+| Gets a record that contains information about an image. | The returned object is part of the data returned by the imageClicked event. |
+| *Parameters* | |
+| imageIndex | Index of the clicked image (0 based). |
+| *Returns* | |
+| Record | Object with additional data about the image. |
+
+### ThumbnailProvider
+Interface to add the handling of thumbnail images to a class derived from MatImageDetailsProvider.
+
+**Properties**
+| Name | Description |
+|---|---|
+| thumbnailHeight | Height of the thumbnail images in px. |
+
+**Methods**
+| urlForThumbnail | |
+|---|--|
+| Gets the url for a thumbnail image. | |
+| *Parameters* | |
+| imageIndex | Index of the thumbnail image to be displayed (0 based). |
+| *Returns* | |
+| string | Url for the thumbnail image to be displayed. |
+
+## Classes
+### MatImageOverlayRef
+Reference to an image overlay opened via the MatImageOverlay service.
+
+**Properties**
+| Name | Description |
+|---|---|
+| numberOfImages | number of images that can be displayed. |
+| keydownEvents$ | Observable that is notified by keydown events on the overlay. Navigation buttons don't get emitted. |
+
+**Methods**
+| afterOpened | |
+|---|--|
+| Gets an observable that is notified when the image overlay is finished opening. | |
+| *Returns* | |
+| Observable<void> | Observable that fires, when the overlay has been opened. |
+
+| afterClosed | |
+|---|--|
+| Gets an observable that is notified when the image overlay is finished closing. | |
+| *Returns* | |
+| Observable<number> | Observable that returns the index of the last image displayed. |
+
+| imageChanged | |
+|---|--|
+| Gets an observable that is notified when a new image has been selected. | |
+| *Returns* | |
+| Observable<number> | Observable that returns the index of the image displayed. |
+
+| imageClicked | |
+|---|--|
+| Gets an observable that is notified when an image has been clicked. | |
+| *Returns* | |
+| Observable<ImageClickedEvent> | Observable that returns the object with data of the clicked image and the imageClickedConfiguration object from the config object. |
+
+| gotoNextImage | |
+|---|--|
+| Display the next image in the datasource. | |
+
+| gotoPreviousImage | |
+|---|--|
+| Display the previous image in the datasource. | |
+
+| gotoFirstImage | |
+|---|--|
+| Display the first image in the datasource. | |
+
+| gotoLastImage | |
+|---|--|
+| Display the last image in the datasource. | |
+
+| gotoImage | |
+|---|--|
+| Display the image in the datasource selected by the imageIndex. | |
+| *Parameters* | |
+| imageIndex | Index of the image to be displayed. |
+
+| close | |
+|---|--|
+| Close the image overlay. | |
+
+# API reference for Mat-Image-Overlay testing
+
+```typescript
+import { MatImageOverlayHarness } from 'mat-image-overlay/testing';
+```
+## Classes
+### MatImageOverlayHarness extends ContentContainerComponentHarness
+Harness for interacting with a standard MatImageOverlay in tests.
+
+**Properties**
+| Name | Description |
+|---|---|
+| static hostSelector: '.mat-image-overlay-container' | The selector for the host element of a MatImageOverlay instance. |
+
+**Methods**
+| async overlayIsLoaded | |
+|---|--|
+| Gets a promise that fulfills to true, when the image overlay is visible. | |
+| *Returns* | |
+| Promise<boolean> | Promise that fulfills to a flag that shows, if the image overlay is visible.
+
+| async close | |
+|---|--|
+| Closes the image overlay by pressing escape. | |
+| *Returns* | |
+| Promise<void> | Promise that fulfills, when the action completes.
+
+| async clickBackdrop | |
+|---|--|
+| Closes the image overlay by clicking the backdrop of the image overlay. | |
+| *Returns* | |
+| Promise<void> | Promise that fulfills, when the action completes.
+
+| async buttonCloseVisible | |
+|---|--|
+| Gets a promise that fulfills to true, when the 'close' button is visible. | |
+| *Returns* | |
+| Promise<boolean> | Promise that fulfills to a flag that shows, if the 'close' button is visible.
+
+| async buttonPreviousVisible | |
+|---|--|
+| Gets a promise that fulfills to true, when the 'previous' button is visible. | |
+| *Returns* | |
+| Promise<boolean> | Promise that fulfills to a flag that shows, if the 'previous' button is visible.
+
+| async buttonNextVisible | |
+|---|--|
+| Gets a promise that fulfills to true, when the 'next' button is visible. | |
+| *Returns* | |
+| Promise<boolean> | Promise that fulfills to a flag that shows, if the 'next' button is visible.
+
+| async descriptionVisible | |
+|---|--|
+| Gets a promise that fulfills to true, when the 'description' of the image is visible. | |
+| *Returns* | |
+| Promise<boolean> | Promise that fulfills to a flag that shows, if the 'description' is visible.
+
+| async clickCloseButton | |
+|---|--|
+| Clicks the 'close overlay' button of the image overlay. | |
+| *Returns* | |
+| Promise<void> | Promise that fulfills, when the action completes.
+
+| async clickPreviousButton | |
+|---|--|
+| Clicks the 'goto previous image' button of the image overlay. | |
+| *Returns* | |
+| Promise<void> | Promise that fulfills, when the action completes.
+
+| async clickNextButton | |
+|---|--|
+| Clicks the 'goto next image' button of the image overlay. | |
+| *Returns* | |
+| Promise<void> | Promise that fulfills, when the action completes.
+
+| async figureHover | |
+|---|--|
+| Sets the figure tag of the overlay (the content of the overlay) into the hover state. | |
+| *Returns* | |
+| Promise<void> | Promise that fulfills, when the action completes.
+
+| async imageUrl | |
+|---|--|
+| Gets a promise that fulfills to the url of the current image in the overlay. | |
+| *Returns* | |
+| Promise<boolean> | Promise that fulfills to the url of the image or to an empty string.
+
+| async sendKeys | |
+|---|--|
+| Send keys to the overlay. | |
+| *Parameters* | |
+| ...keys | Array of 'TestKey' to be sent. Possible values are the arrow keys, the home and the end key. |
+| *Returns* | |
+| Promise<void> | Promise that resolves when the action completes.
+
+| async hasBackdropClass | |
+|---|--|
+| Gets a promise that fulfills to true, when the backdrop contains the given css class. | |
+| *Parameters* | |
+| classname | Name of the css class to be evaluated. |
+| *Returns* | |
+| Promise<boolean> | Promise fulfills to a flag that shows, if the backdrop contains the given css class.
+
+# Development
+Build the library and the demo project:
+```
+npm run build
+```
+
+Lint the library, the demo project with eslint and the scss files with stylelint:
+```
+npm run lint
+npm run lint:scss
+```
+
+Test the library and the demo project:
+```
+npm run test
+```
+
+Run component tests for the library project with cypress once (e.g. for CI scenarios):
+```
+npm run ct
+```
+
+Run end to end tests for the demo project with cypress once (e.g. for CI scenarios):
+```
+npm run e2e
+```
+The script 'build:ghpages' is used by the github automation to publish the demo to github pages, when the master branch is updated.
+
+# Contributing
+## Changelog
+The project uses 'standard-version' to create the changelog. To enable this system, commit messages are linted before commits are executed by git.
+
+**The structure of commit messages is**:
+```
+
+
+
+
+
+```
+
+**header**
+```
+ ():
+```
+
+type and scope
+ - build: Changes that affect the build system or external dependencies (example scope: npm)
+ - docs: Documentation only changes
+ - feat: A new feature
+ - fix: A bug fix
+ - perf: A code change that improves performance
+ - refactor: A code change that neither fixes a bug nor adds a feature
+ - test: Adding missing tests or correcting existing tests (example scopes: demo, lib, e2e)
+
+**footer**
+```
+ BREAKING CHANGE: ... (requires MAJOR in Semantic Versioning)
+```
+
+For details of the commit messages format see [Contributing to Angular](https://github.com/angular/angular/blob/master/CONTRIBUTING.md#commit).
+
+# License
+
+Copyright © 2024 [Bernhard Pottler](https://github.com/BePo65).
+
+Distributed under the MIT License. See `LICENSE` for more information.
+
+This project uses the fonts '[Roboto](https://fonts.google.com/specimen/Roboto/about)' and '[Material Icons](https://github.com/google/material-design-icons)' from the [Google Fonts Library](https://fonts.google.com/) that are licensed under the [Apache License Version 2.0](https://www.apache.org/licenses/LICENSE-2.0.txt).
+
+## Hints
+As `eslint` V9 requires a fundamental change to the configuration files, the update will be done in a later version.
diff --git a/Roboto-Black.2eaa390d458c877d.woff2 b/Roboto-Black.2eaa390d458c877d.woff2
new file mode 100644
index 0000000..41186d0
Binary files /dev/null and b/Roboto-Black.2eaa390d458c877d.woff2 differ
diff --git a/Roboto-Black.b25f67ad8583da68.woff b/Roboto-Black.b25f67ad8583da68.woff
new file mode 100644
index 0000000..b1ddac3
Binary files /dev/null and b/Roboto-Black.b25f67ad8583da68.woff differ
diff --git a/Roboto-BlackItalic.7dc03ee444552bc5.woff2 b/Roboto-BlackItalic.7dc03ee444552bc5.woff2
new file mode 100644
index 0000000..df3c3f4
Binary files /dev/null and b/Roboto-BlackItalic.7dc03ee444552bc5.woff2 differ
diff --git a/Roboto-BlackItalic.c8dc642467cb3099.woff b/Roboto-BlackItalic.c8dc642467cb3099.woff
new file mode 100644
index 0000000..b97efea
Binary files /dev/null and b/Roboto-BlackItalic.c8dc642467cb3099.woff differ
diff --git a/Roboto-Bold.447291a88c067396.woff2 b/Roboto-Bold.447291a88c067396.woff2
new file mode 100644
index 0000000..76817cc
Binary files /dev/null and b/Roboto-Bold.447291a88c067396.woff2 differ
diff --git a/Roboto-Bold.fc482e6133cf5e26.woff b/Roboto-Bold.fc482e6133cf5e26.woff
new file mode 100644
index 0000000..6e0f562
Binary files /dev/null and b/Roboto-Bold.fc482e6133cf5e26.woff differ
diff --git a/Roboto-BoldItalic.1b15168ef6fa4e16.woff2 b/Roboto-BoldItalic.1b15168ef6fa4e16.woff2
new file mode 100644
index 0000000..45c9ef7
Binary files /dev/null and b/Roboto-BoldItalic.1b15168ef6fa4e16.woff2 differ
diff --git a/Roboto-BoldItalic.e26ba339b06f09f7.woff b/Roboto-BoldItalic.e26ba339b06f09f7.woff
new file mode 100644
index 0000000..ea90d71
Binary files /dev/null and b/Roboto-BoldItalic.e26ba339b06f09f7.woff differ
diff --git a/Roboto-Light.0e01b6cd13b3857f.woff2 b/Roboto-Light.0e01b6cd13b3857f.woff2
new file mode 100644
index 0000000..ddbf4a9
Binary files /dev/null and b/Roboto-Light.0e01b6cd13b3857f.woff2 differ
diff --git a/Roboto-Light.603ca9a537b88428.woff b/Roboto-Light.603ca9a537b88428.woff
new file mode 100644
index 0000000..b9e9918
Binary files /dev/null and b/Roboto-Light.603ca9a537b88428.woff differ
diff --git a/Roboto-LightItalic.1b5e142f787151c8.woff b/Roboto-LightItalic.1b5e142f787151c8.woff
new file mode 100644
index 0000000..329ec9b
Binary files /dev/null and b/Roboto-LightItalic.1b5e142f787151c8.woff differ
diff --git a/Roboto-LightItalic.232ef4b20215f720.woff2 b/Roboto-LightItalic.232ef4b20215f720.woff2
new file mode 100644
index 0000000..ba70c2a
Binary files /dev/null and b/Roboto-LightItalic.232ef4b20215f720.woff2 differ
diff --git a/Roboto-Medium.457532032ceb0168.woff2 b/Roboto-Medium.457532032ceb0168.woff2
new file mode 100644
index 0000000..6a88805
Binary files /dev/null and b/Roboto-Medium.457532032ceb0168.woff2 differ
diff --git a/Roboto-Medium.6e1ae5f0b324a0aa.woff b/Roboto-Medium.6e1ae5f0b324a0aa.woff
new file mode 100644
index 0000000..005e928
Binary files /dev/null and b/Roboto-Medium.6e1ae5f0b324a0aa.woff differ
diff --git a/Roboto-MediumItalic.872f7060602d55d2.woff2 b/Roboto-MediumItalic.872f7060602d55d2.woff2
new file mode 100644
index 0000000..cf21729
Binary files /dev/null and b/Roboto-MediumItalic.872f7060602d55d2.woff2 differ
diff --git a/Roboto-MediumItalic.e06fb533801cbb08.woff b/Roboto-MediumItalic.e06fb533801cbb08.woff
new file mode 100644
index 0000000..01eba14
Binary files /dev/null and b/Roboto-MediumItalic.e06fb533801cbb08.woff differ
diff --git a/Roboto-Regular.475ba9e4e2d63456.woff2 b/Roboto-Regular.475ba9e4e2d63456.woff2
new file mode 100644
index 0000000..9a0064e
Binary files /dev/null and b/Roboto-Regular.475ba9e4e2d63456.woff2 differ
diff --git a/Roboto-Regular.bcefbfee882bc1cb.woff b/Roboto-Regular.bcefbfee882bc1cb.woff
new file mode 100644
index 0000000..96c1986
Binary files /dev/null and b/Roboto-Regular.bcefbfee882bc1cb.woff differ
diff --git a/Roboto-RegularItalic.0668fae6af0cf8c2.woff b/Roboto-RegularItalic.0668fae6af0cf8c2.woff
new file mode 100644
index 0000000..818233d
Binary files /dev/null and b/Roboto-RegularItalic.0668fae6af0cf8c2.woff differ
diff --git a/Roboto-RegularItalic.e3a9ebdaac06bbc4.woff2 b/Roboto-RegularItalic.e3a9ebdaac06bbc4.woff2
new file mode 100644
index 0000000..e7f173b
Binary files /dev/null and b/Roboto-RegularItalic.e3a9ebdaac06bbc4.woff2 differ
diff --git a/Roboto-Thin.c13c157cb81e8ebb.woff b/Roboto-Thin.c13c157cb81e8ebb.woff
new file mode 100644
index 0000000..e1cee8f
Binary files /dev/null and b/Roboto-Thin.c13c157cb81e8ebb.woff differ
diff --git a/Roboto-Thin.f7a95c9c5999532c.woff2 b/Roboto-Thin.f7a95c9c5999532c.woff2
new file mode 100644
index 0000000..2fb9b5f
Binary files /dev/null and b/Roboto-Thin.f7a95c9c5999532c.woff2 differ
diff --git a/Roboto-ThinItalic.1111028df6cea564.woff b/Roboto-ThinItalic.1111028df6cea564.woff
new file mode 100644
index 0000000..d337378
Binary files /dev/null and b/Roboto-ThinItalic.1111028df6cea564.woff differ
diff --git a/Roboto-ThinItalic.b0e084abf689f393.woff2 b/Roboto-ThinItalic.b0e084abf689f393.woff2
new file mode 100644
index 0000000..67c4240
Binary files /dev/null and b/Roboto-ThinItalic.b0e084abf689f393.woff2 differ
diff --git a/assets/minimalConfigDemo.jpg b/assets/minimalConfigDemo.jpg
new file mode 100644
index 0000000..697035b
Binary files /dev/null and b/assets/minimalConfigDemo.jpg differ
diff --git a/assets/screenshot.jpg b/assets/screenshot.jpg
new file mode 100644
index 0000000..43a5d81
Binary files /dev/null and b/assets/screenshot.jpg differ
diff --git a/favicon.ico b/favicon.ico
new file mode 100644
index 0000000..8081c7c
Binary files /dev/null and b/favicon.ico differ
diff --git a/index.html b/index.html
new file mode 100644
index 0000000..b0795b6
--- /dev/null
+++ b/index.html
@@ -0,0 +1,12 @@
+
+
+
+
+ mat-image-overlay-demo
+
+
+
+
+
+
+
diff --git a/main.f46291a54b8b6032.js b/main.f46291a54b8b6032.js
new file mode 100644
index 0000000..5403d8f
--- /dev/null
+++ b/main.f46291a54b8b6032.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunkmat_image_overlay_demo=self.webpackChunkmat_image_overlay_demo||[]).push([[792],{276:()=>{let Ve=null,Bo=!1,Va=1;const ki=Symbol("SIGNAL");function Z(e){const n=Ve;return Ve=e,n}const Ng={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function Rg(e){if((!jo(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==Va)){if(!e.producerMustRecompute(e)&&!zd(e))return e.dirty=!1,void(e.lastCleanEpoch=Va);e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=Va}}function Pg(e){e.dirty=!0,function kg(e){if(void 0===e.liveConsumerNode)return;const n=Bo;Bo=!0;try{for(const t of e.liveConsumerNode)t.dirty||Pg(t)}finally{Bo=n}}(e),e.consumerMarkedDirty?.(e)}function Lg(e){return e&&(e.nextProducerIndex=0),Z(e)}function Vg(e,n){if(Z(n),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if(jo(e))for(let t=e.nextProducerIndex;te.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function zd(e){Er(e);for(let n=0;n0}function Er(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}let Ug=null;const Wd=()=>{},IM={...Ng,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{null!==e.schedule&&e.schedule(e.ref)},hasRun:!1,cleanupFn:Wd};function ae(e){return"function"==typeof e}function zg(e){const t=e(i=>{Error.call(i),i.stack=(new Error).stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}const qd=zg(e=>function(t){e(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((i,r)=>`${r+1}) ${i.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=t});function ja(e,n){if(e){const t=e.indexOf(n);0<=t&&e.splice(t,1)}}class Pe{constructor(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let n;if(!this.closed){this.closed=!0;const{_parentage:t}=this;if(t)if(this._parentage=null,Array.isArray(t))for(const o of t)o.remove(this);else t.remove(this);const{initialTeardown:i}=this;if(ae(i))try{i()}catch(o){n=o instanceof qd?o.errors:[o]}const{_finalizers:r}=this;if(r){this._finalizers=null;for(const o of r)try{qg(o)}catch(s){n=n??[],s instanceof qd?n=[...n,...s.errors]:n.push(s)}}if(n)throw new qd(n)}}add(n){var t;if(n&&n!==this)if(this.closed)qg(n);else{if(n instanceof Pe){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=null!==(t=this._finalizers)&&void 0!==t?t:[]).push(n)}}_hasParent(n){const{_parentage:t}=this;return t===n||Array.isArray(t)&&t.includes(n)}_addParent(n){const{_parentage:t}=this;this._parentage=Array.isArray(t)?(t.push(n),t):t?[t,n]:n}_removeParent(n){const{_parentage:t}=this;t===n?this._parentage=null:Array.isArray(t)&&ja(t,n)}remove(n){const{_finalizers:t}=this;t&&ja(t,n),n instanceof Pe&&n._removeParent(this)}}Pe.EMPTY=(()=>{const e=new Pe;return e.closed=!0,e})();const Gg=Pe.EMPTY;function Wg(e){return e instanceof Pe||e&&"closed"in e&&ae(e.remove)&&ae(e.add)&&ae(e.unsubscribe)}function qg(e){ae(e)?e():e.unsubscribe()}const Fi={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Ha={setTimeout(e,n,...t){const{delegate:i}=Ha;return i?.setTimeout?i.setTimeout(e,n,...t):setTimeout(e,n,...t)},clearTimeout(e){const{delegate:n}=Ha;return(n?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Yg(e){Ha.setTimeout(()=>{const{onUnhandledError:n}=Fi;if(!n)throw e;n(e)})}function Yd(){}const SM=Kd("C",void 0,void 0);function Kd(e,n,t){return{kind:e,value:n,error:t}}let Pi=null;function Ua(e){if(Fi.useDeprecatedSynchronousErrorHandling){const n=!Pi;if(n&&(Pi={errorThrown:!1,error:null}),e(),n){const{errorThrown:t,error:i}=Pi;if(Pi=null,t)throw i}}else e()}class Zd extends Pe{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,Wg(n)&&n.add(this)):this.destination=kM}static create(n,t,i){return new Ho(n,t,i)}next(n){this.isStopped?Qd(function TM(e){return Kd("N",e,void 0)}(n),this):this._next(n)}error(n){this.isStopped?Qd(function MM(e){return Kd("E",void 0,e)}(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?Qd(SM,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(n){this.destination.next(n)}_error(n){try{this.destination.error(n)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const OM=Function.prototype.bind;function Xd(e,n){return OM.call(e,n)}class NM{constructor(n){this.partialObserver=n}next(n){const{partialObserver:t}=this;if(t.next)try{t.next(n)}catch(i){$a(i)}}error(n){const{partialObserver:t}=this;if(t.error)try{t.error(n)}catch(i){$a(i)}else $a(n)}complete(){const{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(t){$a(t)}}}class Ho extends Zd{constructor(n,t,i){let r;if(super(),ae(n)||!n)r={next:n??void 0,error:t??void 0,complete:i??void 0};else{let o;this&&Fi.useDeprecatedNextContext?(o=Object.create(n),o.unsubscribe=()=>this.unsubscribe(),r={next:n.next&&Xd(n.next,o),error:n.error&&Xd(n.error,o),complete:n.complete&&Xd(n.complete,o)}):r=n}this.destination=new NM(r)}}function $a(e){Fi.useDeprecatedSynchronousErrorHandling?function AM(e){Fi.useDeprecatedSynchronousErrorHandling&&Pi&&(Pi.errorThrown=!0,Pi.error=e)}(e):Yg(e)}function Qd(e,n){const{onStoppedNotification:t}=Fi;t&&Ha.setTimeout(()=>t(e,n))}const kM={closed:!0,next:Yd,error:function RM(e){throw e},complete:Yd},Jd="function"==typeof Symbol&&Symbol.observable||"@@observable";function Cr(e){return e}let Ae=(()=>{class e{constructor(t){t&&(this._subscribe=t)}lift(t){const i=new e;return i.source=this,i.operator=t,i}subscribe(t,i,r){const o=function PM(e){return e&&e instanceof Zd||function FM(e){return e&&ae(e.next)&&ae(e.error)&&ae(e.complete)}(e)&&Wg(e)}(t)?t:new Ho(t,i,r);return Ua(()=>{const{operator:s,source:a}=this;o.add(s?s.call(o,a):a?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(t){try{return this._subscribe(t)}catch(i){t.error(i)}}forEach(t,i){return new(i=Zg(i))((r,o)=>{const s=new Ho({next:a=>{try{t(a)}catch(l){o(l),s.unsubscribe()}},error:o,complete:r});this.subscribe(s)})}_subscribe(t){var i;return null===(i=this.source)||void 0===i?void 0:i.subscribe(t)}[Jd](){return this}pipe(...t){return function Kg(e){return 0===e.length?Cr:1===e.length?e[0]:function(t){return e.reduce((i,r)=>r(i),t)}}(t)(this)}toPromise(t){return new(t=Zg(t))((i,r)=>{let o;this.subscribe(s=>o=s,s=>r(s),()=>i(o))})}}return e.create=n=>new e(n),e})();function Zg(e){var n;return null!==(n=e??Fi.Promise)&&void 0!==n?n:Promise}const LM=zg(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let te=(()=>{class e extends Ae{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){const i=new Xg(this,this);return i.operator=t,i}_throwIfClosed(){if(this.closed)throw new LM}next(t){Ua(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const i of this.currentObservers)i.next(t)}})}error(t){Ua(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=t;const{observers:i}=this;for(;i.length;)i.shift().error(t)}})}complete(){Ua(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:t}=this;for(;t.length;)t.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var t;return(null===(t=this.observers)||void 0===t?void 0:t.length)>0}_trySubscribe(t){return this._throwIfClosed(),super._trySubscribe(t)}_subscribe(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)}_innerSubscribe(t){const{hasError:i,isStopped:r,observers:o}=this;return i||r?Gg:(this.currentObservers=null,o.push(t),new Pe(()=>{this.currentObservers=null,ja(o,t)}))}_checkFinalizedStatuses(t){const{hasError:i,thrownError:r,isStopped:o}=this;i?t.error(r):o&&t.complete()}asObservable(){const t=new Ae;return t.source=this,t}}return e.create=(n,t)=>new Xg(n,t),e})();class Xg extends te{constructor(n,t){super(),this.destination=n,this.source=t}next(n){var t,i;null===(i=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===i||i.call(t,n)}error(n){var t,i;null===(i=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===i||i.call(t,n)}complete(){var n,t;null===(t=null===(n=this.destination)||void 0===n?void 0:n.complete)||void 0===t||t.call(n)}_subscribe(n){var t,i;return null!==(i=null===(t=this.source)||void 0===t?void 0:t.subscribe(n))&&void 0!==i?i:Gg}}class eu extends te{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){const t=super._subscribe(n);return!t.closed&&n.next(this._value),t}getValue(){const{hasError:n,thrownError:t,_value:i}=this;if(n)throw t;return this._throwIfClosed(),i}next(n){super.next(this._value=n)}}function rt(e){return n=>{if(function VM(e){return ae(e?.lift)}(n))return n.lift(function(t){try{return e(t,this)}catch(i){this.error(i)}});throw new TypeError("Unable to lift unknown Observable type")}}function We(e,n,t,i,r){return new BM(e,n,t,i,r)}class BM extends Zd{constructor(n,t,i,r,o,s){super(n),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=t?function(a){try{t(a)}catch(l){n.error(l)}}:super._next,this._error=r?function(a){try{r(a)}catch(l){n.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=i?function(){try{i()}catch(a){n.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:t}=this;super.unsubscribe(),!t&&(null===(n=this.onFinalize)||void 0===n||n.call(this))}}}function ot(e,n){return rt((t,i)=>{let r=0;t.subscribe(We(i,o=>{i.next(e.call(n,o,r++))}))})}const Qg="https://g.co/ng/security#xss";class w extends Error{constructor(n,t){super(function xr(e,n){return`NG0${Math.abs(e)}${n?": "+n:""}`}(n,t)),this.code=n}}function Wn(e){return{toString:e}.toString()}const Sr="__parameters__";function Tr(e,n,t){return Wn(()=>{const i=function tu(e){return function(...t){if(e){const i=e(...t);for(const r in i)this[r]=i[r]}}}(n);function r(...o){if(this instanceof r)return i.apply(this,o),this;const s=new r(...o);return a.annotation=s,a;function a(l,c,d){const u=l.hasOwnProperty(Sr)?l[Sr]:Object.defineProperty(l,Sr,{value:[]})[Sr];for(;u.length<=d;)u.push(null);return(u[d]=u[d]||[]).push(s),l}}return t&&(r.prototype=Object.create(t.prototype)),r.prototype.ngMetadataName=e,r.annotationCls=r,r})}const he=globalThis;function pe(e){for(let n in e)if(e[n]===pe)return n;throw Error("Could not find renamed property on target object.")}function jM(e,n){for(const t in n)n.hasOwnProperty(t)&&!e.hasOwnProperty(t)&&(e[t]=n[t])}function Xe(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(Xe).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const n=e.toString();if(null==n)return""+n;const t=n.indexOf("\n");return-1===t?n:n.substring(0,t)}function nu(e,n){return null==e||""===e?null===n?"":n:null==n||""===n?e:e+" "+n}const HM=pe({__forward_ref__:pe});function we(e){return e.__forward_ref__=we,e.toString=function(){return Xe(this())},e}function V(e){return Ga(e)?e():e}function Ga(e){return"function"==typeof e&&e.hasOwnProperty(HM)&&e.__forward_ref__===we}function M(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Re(e){return{providers:e.providers||[],imports:e.imports||[]}}function Wa(e){return n_(e,Ya)||n_(e,i_)}function n_(e,n){return e.hasOwnProperty(n)?e[n]:null}function qa(e){return e&&(e.hasOwnProperty(iu)||e.hasOwnProperty(WM))?e[iu]:null}const Ya=pe({\u0275prov:pe}),iu=pe({\u0275inj:pe}),i_=pe({ngInjectableDef:pe}),WM=pe({ngInjectorDef:pe});class C{constructor(n,t){this._desc=n,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof t?this.__NG_ELEMENT_ID__=t:void 0!==t&&(this.\u0275prov=M({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function lu(e){return e&&!!e.\u0275providers}const Uo=pe({\u0275cmp:pe}),cu=pe({\u0275dir:pe}),du=pe({\u0275pipe:pe}),qn=pe({\u0275fac:pe}),$o=pe({__NG_ELEMENT_ID__:pe}),s_=pe({__NG_ENV_ID__:pe});function z(e){return"string"==typeof e?e:null==e?"":String(e)}function uu(e,n){throw new w(-201,!1)}var ne=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(ne||{});let fu;function a_(){return fu}function kt(e){const n=fu;return fu=e,n}function l_(e,n,t){const i=Wa(e);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:t&ne.Optional?null:void 0!==n?n:void uu()}const zo={},hu="__NG_DI_FLAG__",Ka="ngTempTokenPath",QM=/\n/gm,c_="__source";let Ar;function fi(e){const n=Ar;return Ar=e,n}function tT(e,n=ne.Default){if(void 0===Ar)throw new w(-203,!1);return null===Ar?l_(e,void 0,n):Ar.get(e,n&ne.Optional?null:void 0,n)}function D(e,n=ne.Default){return(a_()||tT)(V(e),n)}function T(e,n=ne.Default){return D(e,Za(n))}function Za(e){return typeof e>"u"||"number"==typeof e?e:(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function pu(e){const n=[];for(let t=0;tArray.isArray(t)?Nr(t,n):n(t))}function u_(e,n,t){n>=e.length?e.push(t):e.splice(n,0,t)}function Qa(e,n){return n>=e.length-1?e.pop():e.splice(n,1)[0]}function Ht(e,n,t){let i=Rr(e,n);return i>=0?e[1|i]=t:(i=~i,function f_(e,n,t,i){let r=e.length;if(r==n)e.push(t,i);else if(1===r)e.push(i,e[0]),e[0]=t;else{for(r--,e.push(e[r-1],e[r]);r>n;)e[r]=e[r-2],r--;e[n]=t,e[n+1]=i}}(e,i,n,t)),i}function gu(e,n){const t=Rr(e,n);if(t>=0)return e[1|t]}function Rr(e,n){return function h_(e,n,t){let i=0,r=e.length>>t;for(;r!==i;){const o=i+(r-i>>1),s=e[o<n?r=o:i=o+1}return~(r<n){s=o-1;break}}}for(;o-1){let o;for(;++ro?"":r[d+1].toLowerCase(),2&i&&c!==u){if(an(i))return!1;s=!0}}}}else{if(!s&&!an(i)&&!an(l))return!1;if(s&&an(l))continue;s=!1,i=l|1&i}}return an(i)||s}function an(e){return!(1&e)}function hT(e,n,t,i){if(null===n)return-1;let r=0;if(i||!t){let o=!1;for(;r-1)for(t++;t0?'="'+a+'"':"")+"]"}else 8&i?r+="."+s:4&i&&(r+=" "+s);else""!==r&&!an(s)&&(n+=b_(o,r),r=""),i=s,o=o||!an(i);t++}return""!==r&&(n+=b_(o,r)),n}function Yn(e){return Wn(()=>{const n=D_(e),t={...n,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===tl.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||sn.Emulated,styles:e.styles||re,_:null,schemas:e.schemas||null,tView:null,id:""};E_(t);const i=e.dependencies;return t.directiveDefs=nl(i,!1),t.pipeDefs=nl(i,!0),t.id=function CT(e){let n=0;const t=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const r of t)n=Math.imul(31,n)+r.charCodeAt(0)|0;return n+=2147483648,"c"+n}(t),t})}function wT(e){return X(e)||Qe(e)}function DT(e){return null!==e}function Le(e){return Wn(()=>({type:e.type,bootstrap:e.bootstrap||re,declarations:e.declarations||re,imports:e.imports||re,exports:e.exports||re,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function w_(e,n){if(null==e)return xn;const t={};for(const i in e)if(e.hasOwnProperty(i)){const r=e[i];let o,s,a=O.None;Array.isArray(r)?(a=r[0],o=r[1],s=r[2]??o):(o=r,s=r),n?(t[o]=a!==O.None?[i,a]:i,n[o]=s):t[o]=i}return t}function k(e){return Wn(()=>{const n=D_(e);return E_(n),n})}function pt(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function X(e){return e[Uo]||null}function Qe(e){return e[cu]||null}function at(e){return e[du]||null}function D_(e){const n={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:n,inputTransforms:null,inputConfig:e.inputs||xn,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||re,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:w_(e.inputs,n),outputs:w_(e.outputs),debugInfo:null}}function E_(e){e.features?.forEach(n=>n(e))}function nl(e,n){if(!e)return null;const t=n?at:wT;return()=>("function"==typeof e?e():e).map(i=>t(i)).filter(DT)}function qo(e){return{\u0275providers:e}}function C_(...e){return{\u0275providers:bu(0,e),\u0275fromNgModule:!0}}function bu(e,...n){const t=[],i=new Set;let r;const o=s=>{t.push(s)};return Nr(n,s=>{const a=s;il(a,o,[],i)&&(r||=[],r.push(a))}),void 0!==r&&x_(r,o),t}function x_(e,n){for(let t=0;t{n(o,i)})}}function il(e,n,t,i){if(!(e=V(e)))return!1;let r=null,o=qa(e);const s=!o&&X(e);if(o||s){if(s&&!s.standalone)return!1;r=e}else{const l=e.ngModule;if(o=qa(l),!o)return!1;r=l}const a=i.has(r);if(s){if(a)return!1;if(i.add(r),s.dependencies){const l="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const c of l)il(c,n,t,i)}}else{if(!o)return!1;{if(null!=o.imports&&!a){let c;i.add(r);try{Nr(o.imports,d=>{il(d,n,t,i)&&(c||=[],c.push(d))})}finally{}void 0!==c&&x_(c,n)}if(!a){const c=Li(r)||(()=>new r);n({provide:r,useFactory:c,deps:re},r),n({provide:_u,useValue:r,multi:!0},r),n({provide:kr,useValue:()=>D(r),multi:!0},r)}const l=o.providers;if(null!=l&&!a){const c=e;wu(l,d=>{n(d,c)})}}}return r!==e&&void 0!==e.providers}function wu(e,n){for(let t of e)lu(t)&&(t=t.\u0275providers),Array.isArray(t)?wu(t,n):n(t)}const xT=pe({provide:String,useValue:pe});function Du(e){return null!==e&&"object"==typeof e&&xT in e}function Bi(e){return"function"==typeof e}const Eu=new C(""),rl={},ST={};let Cu;function ol(){return void 0===Cu&&(Cu=new el),Cu}class ln{}class Fr extends ln{get destroyed(){return this._destroyed}constructor(n,t,i,r){super(),this.parent=t,this.source=i,this.scopes=r,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Iu(n,s=>this.processProvider(s)),this.records.set(p_,Pr(void 0,this)),r.has("environment")&&this.records.set(ln,Pr(void 0,this));const o=this.records.get(Eu);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(_u,re,ne.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;const n=Z(null);try{for(const i of this._ngOnDestroyHooks)i.ngOnDestroy();const t=this._onDestroyHooks;this._onDestroyHooks=[];for(const i of t)i()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),Z(n)}}onDestroy(n){return this.assertNotDestroyed(),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){this.assertNotDestroyed();const t=fi(this),i=kt(void 0);try{return n()}finally{fi(t),kt(i)}}get(n,t=zo,i=ne.Default){if(this.assertNotDestroyed(),n.hasOwnProperty(s_))return n[s_](this);i=Za(i);const o=fi(this),s=kt(void 0);try{if(!(i&ne.SkipSelf)){let l=this.records.get(n);if(void 0===l){const c=function NT(e){return"function"==typeof e||"object"==typeof e&&e instanceof C}(n)&&Wa(n);l=c&&this.injectableDefInScope(c)?Pr(xu(n),rl):null,this.records.set(n,l)}if(null!=l)return this.hydrate(n,l)}return(i&ne.Self?ol():this.parent).get(n,t=i&ne.Optional&&t===zo?null:t)}catch(a){if("NullInjectorError"===a.name){if((a[Ka]=a[Ka]||[]).unshift(Xe(n)),o)throw a;return function iT(e,n,t,i){const r=e[Ka];throw n[c_]&&r.unshift(n[c_]),e.message=function rT(e,n,t,i=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let r=Xe(n);if(Array.isArray(n))r=n.map(Xe).join(" -> ");else if("object"==typeof n){let o=[];for(let s in n)if(n.hasOwnProperty(s)){let a=n[s];o.push(s+":"+("string"==typeof a?JSON.stringify(a):Xe(a)))}r=`{${o.join(", ")}}`}return`${t}${i?"("+i+")":""}[${r}]: ${e.replace(QM,"\n ")}`}("\n"+e.message,r,t,i),e.ngTokenPath=r,e[Ka]=null,e}(a,n,"R3InjectorError",this.source)}throw a}finally{kt(s),fi(o)}}resolveInjectorInitializers(){const n=Z(null),t=fi(this),i=kt(void 0);try{const o=this.get(kr,re,ne.Self);for(const s of o)s()}finally{fi(t),kt(i),Z(n)}}toString(){const n=[],t=this.records;for(const i of t.keys())n.push(Xe(i));return`R3Injector[${n.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new w(205,!1)}processProvider(n){let t=Bi(n=V(n))?n:V(n&&n.provide);const i=function TT(e){return Du(e)?Pr(void 0,e.useValue):Pr(M_(e),rl)}(n);if(!Bi(n)&&!0===n.multi){let r=this.records.get(t);r||(r=Pr(void 0,rl,!0),r.factory=()=>pu(r.multi),this.records.set(t,r)),t=n,r.multi.push(n)}this.records.set(t,i)}hydrate(n,t){const i=Z(null);try{return t.value===rl&&(t.value=ST,t.value=t.factory()),"object"==typeof t.value&&t.value&&function OT(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(t.value)&&this._ngOnDestroyHooks.add(t.value),t.value}finally{Z(i)}}injectableDefInScope(n){if(!n.providedIn)return!1;const t=V(n.providedIn);return"string"==typeof t?"any"===t||this.scopes.has(t):this.injectorDefTypes.has(t)}removeOnDestroy(n){const t=this._onDestroyHooks.indexOf(n);-1!==t&&this._onDestroyHooks.splice(t,1)}}function xu(e){const n=Wa(e),t=null!==n?n.factory:Li(e);if(null!==t)return t;if(e instanceof C)throw new w(204,!1);if(e instanceof Function)return function MT(e){if(e.length>0)throw new w(204,!1);const t=function GM(e){return e&&(e[Ya]||e[i_])||null}(e);return null!==t?()=>t.factory(e):()=>new e}(e);throw new w(204,!1)}function M_(e,n,t){let i;if(Bi(e)){const r=V(e);return Li(r)||xu(r)}if(Du(e))i=()=>V(e.useValue);else if(function S_(e){return!(!e||!e.useFactory)}(e))i=()=>e.useFactory(...pu(e.deps||[]));else if(function I_(e){return!(!e||!e.useExisting)}(e))i=()=>D(V(e.useExisting));else{const r=V(e&&(e.useClass||e.provide));if(!function AT(e){return!!e.deps}(e))return Li(r)||xu(r);i=()=>new r(...pu(e.deps))}return i}function Pr(e,n,t=!1){return{factory:e,value:n,multi:t?[]:void 0}}function Iu(e,n){for(const t of e)Array.isArray(t)?Iu(t,n):t&&lu(t)?Iu(t.\u0275providers,n):n(t)}function T_(){return void 0!==a_()||null!=function eT(){return Ar}()}const Oe=0,x=1,R=2,Be=3,cn=4,gt=5,Ut=6,Vr=7,De=8,qe=9,dn=10,j=11,Ko=12,O_=13,Br=14,ke=15,Zo=16,jr=17,Kn=18,Xo=19,N_=20,hi=21,ll=22,ji=23,G=25,Tu=1,In=7,Hr=9,je=10;var Au=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(Au||{});function _t(e){return Array.isArray(e)&&"object"==typeof e[Tu]}function yt(e){return Array.isArray(e)&&!0===e[Tu]}function Ou(e){return!!(4&e.flags)}function Hi(e){return e.componentOffset>-1}function dl(e){return!(1&~e.flags)}function un(e){return!!e.template}function Nu(e){return!!(512&e[R])}class GT{constructor(n,t,i){this.previousValue=n,this.currentValue=t,this.firstChange=i}isFirstChange(){return this.firstChange}}function P_(e,n,t,i){null!==n?n.applyValueToInputSignal(n,i):e[t]=i}function fn(){return L_}function L_(e){return e.type.prototype.ngOnChanges&&(e.setInput=qT),WT}function WT(){const e=B_(this),n=e?.current;if(n){const t=e.previous;if(t===xn)e.previous=n;else for(let i in n)t[i]=n[i];e.current=null,this.ngOnChanges(n)}}function qT(e,n,t,i,r){const o=this.declaredInputs[i],s=B_(e)||function YT(e,n){return e[V_]=n}(e,{previous:xn,current:null}),a=s.current||(s.current={}),l=s.previous,c=l[o];a[o]=new GT(c&&c.currentValue,t,l===xn),P_(e,n,r,t)}fn.ngInherit=!0;const V_="__ngSimpleChanges__";function B_(e){return e[V_]||null}const Sn=function(e,n,t){};let U_=!1;function ye(e){for(;Array.isArray(e);)e=e[Oe];return e}function Jo(e,n){return ye(n[e])}function Mt(e,n){return ye(n[e.index])}function es(e,n){return e.data[n]}function Ur(e,n){return e[n]}function $t(e,n){const t=n[e];return _t(t)?t:t[Oe]}function Lu(e){return!(128&~e[R])}function Mn(e,n){return null==n?null:e[n]}function $_(e){e[jr]=0}function eA(e){1024&e[R]||(e[R]|=1024,Lu(e)&&ts(e))}function Vu(e){return!!(9216&e[R]||e[ji]?.dirty)}function Bu(e){e[dn].changeDetectionScheduler?.notify(1),Vu(e)?ts(e):64&e[R]&&(function ZT(){return U_}()?(e[R]|=1024,ts(e)):e[dn].changeDetectionScheduler?.notify())}function ts(e){e[dn].changeDetectionScheduler?.notify();let n=Ui(e);for(;null!==n&&!(8192&n[R])&&(n[R]|=8192,Lu(n));)n=Ui(n)}function ul(e,n){if(!(256&~e[R]))throw new w(911,!1);null===e[hi]&&(e[hi]=[]),e[hi].push(n)}function Ui(e){const n=e[Be];return yt(n)?n[Be]:n}const H={lFrame:J_(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function W_(){return H.bindingsEnabled}function $r(){return null!==H.skipHydrationRootTNode}function b(){return H.lFrame.lView}function Q(){return H.lFrame.tView}function He(e){return H.lFrame.contextLView=e,e[De]}function Ue(e){return H.lFrame.contextLView=null,e}function me(){let e=q_();for(;null!==e&&64===e.type;)e=e.parent;return e}function q_(){return H.lFrame.currentTNode}function Tn(e,n){const t=H.lFrame;t.currentTNode=e,t.isParent=n}function Hu(){return H.lFrame.isParent}function Uu(){H.lFrame.isParent=!1}function Tt(){const e=H.lFrame;let n=e.bindingRootIndex;return-1===n&&(n=e.bindingRootIndex=e.tView.bindingStartIndex),n}function hn(){return H.lFrame.bindingIndex++}function Xn(e){const n=H.lFrame,t=n.bindingIndex;return n.bindingIndex=n.bindingIndex+e,t}function uA(e,n){const t=H.lFrame;t.bindingIndex=t.bindingRootIndex=e,$u(n)}function $u(e){H.lFrame.currentDirectiveIndex=e}function Gu(){return H.lFrame.currentQueryIndex}function fl(e){H.lFrame.currentQueryIndex=e}function hA(e){const n=e[x];return 2===n.type?n.declTNode:1===n.type?e[gt]:null}function X_(e,n,t){if(t&ne.SkipSelf){let r=n,o=e;for(;!(r=r.parent,null!==r||t&ne.Host||(r=hA(o),null===r||(o=o[Br],10&r.type))););if(null===r)return!1;n=r,e=o}const i=H.lFrame=Q_();return i.currentTNode=n,i.lView=e,!0}function Wu(e){const n=Q_(),t=e[x];H.lFrame=n,n.currentTNode=t.firstChild,n.lView=e,n.tView=t,n.contextLView=e,n.bindingIndex=t.bindingStartIndex,n.inI18n=!1}function Q_(){const e=H.lFrame,n=null===e?null:e.child;return null===n?J_(e):n}function J_(e){const n={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=n),n}function ey(){const e=H.lFrame;return H.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const ty=ey;function qu(){const e=ey();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 vt(){return H.lFrame.selectedIndex}function $i(e){H.lFrame.selectedIndex=e}function Ee(){const e=H.lFrame;return es(e.tView,e.selectedIndex)}let ry=!0;function is(){return ry}function An(e){ry=e}function hl(e,n){for(let t=n.directiveStart,i=n.directiveEnd;t=i)break}else n[l]<0&&(e[jr]+=65536),(a>14>16&&(3&e[R])===n&&(e[R]+=16384,sy(a,o)):sy(a,o)}const zr=-1;class rs{constructor(n,t,i){this.factory=n,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=i}}function Zu(e){return e!==zr}function os(e){return 32767&e}function ss(e,n){let t=function CA(e){return e>>16}(e),i=n;for(;t>0;)i=i[Br],t--;return i}let Xu=!0;function gl(e){const n=Xu;return Xu=e,n}const ay=255,ly=5;let xA=0;const On={};function _l(e,n){const t=cy(e,n);if(-1!==t)return t;const i=n[x];i.firstCreatePass&&(e.injectorIndex=n.length,Qu(i.data,e),Qu(n,null),Qu(i.blueprint,null));const r=yl(e,n),o=e.injectorIndex;if(Zu(r)){const s=os(r),a=ss(r,n),l=a[x].data;for(let c=0;c<8;c++)n[o+c]=a[s+c]|l[s+c]}return n[o+8]=r,o}function Qu(e,n){e.push(0,0,0,0,0,0,0,0,n)}function cy(e,n){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===n[e.injectorIndex+8]?-1:e.injectorIndex}function yl(e,n){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let t=0,i=null,r=n;for(;null!==r;){if(i=gy(r),null===i)return zr;if(t++,r=r[Br],-1!==i.injectorIndex)return i.injectorIndex|t<<16}return zr}function Ju(e,n,t){!function IA(e,n,t){let i;"string"==typeof t?i=t.charCodeAt(0)||0:t.hasOwnProperty($o)&&(i=t[$o]),null==i&&(i=t[$o]=xA++);const r=i&ay;n.data[e+(r>>ly)]|=1<=0?n&ay:AA:n}(t);if("function"==typeof o){if(!X_(n,e,i))return i&ne.Host?dy(r,0,i):uy(n,t,i,r);try{let s;if(s=o(i),null!=s||i&ne.Optional)return s;uu()}finally{ty()}}else if("number"==typeof o){let s=null,a=cy(e,n),l=zr,c=i&ne.Host?n[ke][gt]:null;for((-1===a||i&ne.SkipSelf)&&(l=-1===a?yl(e,n):n[a+8],l!==zr&&my(i,!1)?(s=n[x],a=os(l),n=ss(l,n)):a=-1);-1!==a;){const d=n[x];if(py(o,a,d.data)){const u=MA(a,n,t,s,i,c);if(u!==On)return u}l=n[a+8],l!==zr&&my(i,n[x].data[a+8]===c)&&py(o,a,n)?(s=d,a=os(l),n=ss(l,n)):a=-1}}return r}function MA(e,n,t,i,r,o){const s=n[x],a=s.data[e+8],d=vl(a,s,t,null==i?Hi(a)&&Xu:i!=s&&!!(3&a.type),r&ne.Host&&o===a);return null!==d?zi(n,s,d,a):On}function vl(e,n,t,i,r){const o=e.providerIndexes,s=n.data,a=1048575&o,l=e.directiveStart,d=o>>20,h=r?a+d:e.directiveEnd;for(let f=i?a:a+d;f=l&&p.type===t)return f}if(r){const f=s[l];if(f&&un(f)&&f.type===t)return l}return null}function zi(e,n,t,i){let r=e[t];const o=n.data;if(function bA(e){return e instanceof rs}(r)){const s=r;s.resolving&&function KM(e,n){throw n&&n.join(" > "),new w(-200,e)}(function le(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():z(e)}(o[t]));const a=gl(s.canSeeViewProviders);s.resolving=!0;const c=s.injectImpl?kt(s.injectImpl):null;X_(e,i,ne.Default);try{r=e[t]=s.factory(void 0,o,e,i),n.firstCreatePass&&t>=i.directiveStart&&function yA(e,n,t){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:o}=n.type.prototype;if(i){const s=L_(n);(t.preOrderHooks??=[]).push(e,s),(t.preOrderCheckHooks??=[]).push(e,s)}r&&(t.preOrderHooks??=[]).push(0-e,r),o&&((t.preOrderHooks??=[]).push(e,o),(t.preOrderCheckHooks??=[]).push(e,o))}(t,o[t],n)}finally{null!==c&&kt(c),gl(a),s.resolving=!1,ty()}}return r}function py(e,n,t){return!!(t[n+(e>>ly)]&1<{const n=e.prototype.constructor,t=n[qn]||ef(n),i=Object.prototype;let r=Object.getPrototypeOf(e.prototype).constructor;for(;r&&r!==i;){const o=r[qn]||ef(r);if(o&&o!==t)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function ef(e){return Ga(e)?()=>{const n=ef(V(e));return n&&n()}:Li(e)}function gy(e){const n=e[x],t=n.type;return 2===t?n.declTNode:1===t?e[gt]:null}function Gi(e){return function SA(e,n){if("class"===n)return e.classes;if("style"===n)return e.styles;const t=e.attrs;if(t){const i=t.length;let r=0;for(;r{class e{static#e=this.THROW_IF_NOT_FOUND=zo;static#t=this.NULL=new el;static create(t,i){if(Array.isArray(t))return wy({name:""},i,t,"");{const r=t.name??"";return wy({name:r},t.parent,t.providers,r)}}static#n=this.\u0275prov=M({token:e,providedIn:"any",factory:()=>D(p_)});static#i=this.__NG_ELEMENT_ID__=-1}return e})();function nf(e){return e.ngOriginalError}class zt{constructor(){this._console=console}handleError(n){const t=this._findOriginalError(n);this._console.error("ERROR",n),t&&this._console.error("ORIGINAL ERROR",t)}_findOriginalError(n){let t=n&&nf(n);for(;t&&nf(t);)t=nf(t);return t||null}}const Cy=new C("",{providedIn:"root",factory:()=>T(zt).handleError.bind(void 0)});let qr=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=jA;static#t=this.__NG_ENV_ID__=t=>t}return e})();class BA extends qr{constructor(n){super(),this._lView=n}onDestroy(n){return ul(this._lView,n),()=>function ju(e,n){if(null===e[hi])return;const t=e[hi].indexOf(n);-1!==t&&e[hi].splice(t,1)}(this._lView,n)}}function jA(){return new BA(b())}function HA(){return Yr(me(),b())}function Yr(e,n){return new Ce(Mt(e,n))}let Ce=(()=>{class e{constructor(t){this.nativeElement=t}static#e=this.__NG_ELEMENT_ID__=HA}return e})();function Iy(e){return e instanceof Ce?e.nativeElement:e}function rf(e){return n=>{setTimeout(e,void 0,n)}}const oe=class UA extends te{constructor(n=!1){super(),this.destroyRef=void 0,this.__isAsync=n,T_()&&(this.destroyRef=T(qr,{optional:!0})??void 0)}emit(n){const t=Z(null);try{super.next(n)}finally{Z(t)}}subscribe(n,t,i){let r=n,o=t||(()=>null),s=i;if(n&&"object"==typeof n){const l=n;r=l.next?.bind(l),o=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(o=rf(o),r&&(r=rf(r)),s&&(s=rf(s)));const a=super.subscribe({next:r,error:o,complete:s});return n instanceof Pe&&n.add(a),a}};function $A(){return this._results[Symbol.iterator]()}class as{static#e=Symbol.iterator;get changes(){return this._changes??=new oe}constructor(n=!1){this._emitDistinctChangesOnly=n,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;const t=as.prototype;t[Symbol.iterator]||(t[Symbol.iterator]=$A)}get(n){return this._results[n]}map(n){return this._results.map(n)}filter(n){return this._results.filter(n)}find(n){return this._results.find(n)}reduce(n,t){return this._results.reduce(n,t)}forEach(n){this._results.forEach(n)}some(n){return this._results.some(n)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(n,t){this.dirty=!1;const i=function Ft(e){return e.flat(Number.POSITIVE_INFINITY)}(n);(this._changesDetected=!function lT(e,n,t){if(e.length!==n.length)return!1;for(let i=0;iuO}),uO="ng",Wy=new C(""),mi=new C("",{providedIn:"platform",factory:()=>"unknown"}),Kr=new C(""),df=new C("",{providedIn:"root",factory:()=>function pi(){if(void 0!==cf)return cf;if(typeof document<"u")return document;throw new w(210,!1)}().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let qy=()=>null;function yf(e,n,t=!1){return qy(e,n,t)}const Qy=new C("",{providedIn:"root",factory:()=>!1});let Ol;function Qr(e){return function Df(){if(void 0===Ol&&(Ol=null,he.trustedTypes))try{Ol=he.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Ol}()?.createHTML(e)||e}class Wi{constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Qg})`}}class xO extends Wi{getTypeName(){return"HTML"}}class IO extends Wi{getTypeName(){return"Style"}}class SO extends Wi{getTypeName(){return"Script"}}class MO extends Wi{getTypeName(){return"URL"}}class TO extends Wi{getTypeName(){return"ResourceURL"}}function Gt(e){return e instanceof Wi?e.changingThisBreaksApplicationSecurity:e}function Nn(e,n){const t=function AO(e){return e instanceof Wi&&e.getTypeName()||null}(e);if(null!=t&&t!==n){if("ResourceURL"===t&&"URL"===n)return!0;throw new Error(`Required a safe ${n}, got a ${t} (see ${Qg})`)}return t===n}class PO{constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n=" "+n;try{const t=(new window.DOMParser).parseFromString(Qr(n),"text/html").body;return null===t?this.inertDocumentHelper.getInertBodyElement(n):(t.removeChild(t.firstChild),t)}catch{return null}}}class LO{constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){const t=this.inertDocument.createElement("template");return t.innerHTML=Qr(n),t}}const BO=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Rl(e){return(e=String(e)).match(BO)?e:"unsafe:"+e}function Qn(e){const n={};for(const t of e.split(","))n[t]=!0;return n}function ps(...e){const n={};for(const t of e)for(const i in t)t.hasOwnProperty(i)&&(n[i]=!0);return n}const rv=Qn("area,br,col,hr,img,wbr"),ov=Qn("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),sv=Qn("rp,rt"),Cf=ps(rv,ps(ov,Qn("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")),ps(sv,Qn("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")),ps(sv,ov)),xf=Qn("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),av=ps(xf,Qn("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"),Qn("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")),jO=Qn("script,style,template");class HO{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(n){let t=n.firstChild,i=!0,r=[];for(;t;)if(t.nodeType===Node.ELEMENT_NODE?i=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,i&&t.firstChild)r.push(t),t=zO(t);else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let o=$O(t);if(o){t=o;break}t=r.pop()}return this.buf.join("")}startElement(n){const t=lv(n).toLowerCase();if(!Cf.hasOwnProperty(t))return this.sanitizedSomething=!0,!jO.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);const i=n.attributes;for(let r=0;r"),!0}endElement(n){const t=lv(n).toLowerCase();Cf.hasOwnProperty(t)&&!rv.hasOwnProperty(t)&&(this.buf.push(""),this.buf.push(t),this.buf.push(">"))}chars(n){this.buf.push(dv(n))}}function $O(e){const n=e.nextSibling;if(n&&e!==n.previousSibling)throw cv(n);return n}function zO(e){const n=e.firstChild;if(n&&function UO(e,n){return(e.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(e,n))throw cv(n);return n}function lv(e){const n=e.nodeName;return"string"==typeof n?n:"FORM"}function cv(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}const GO=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,WO=/([^\#-~ |!])/g;function dv(e){return e.replace(/&/g,"&").replace(GO,function(n){return""+(1024*(n.charCodeAt(0)-55296)+(n.charCodeAt(1)-56320)+65536)+";"}).replace(WO,function(n){return""+n.charCodeAt(0)+";"}).replace(//g,">")}let kl;function uv(e,n){let t=null;try{kl=kl||function iv(e){const n=new LO(e);return function VO(){try{return!!(new window.DOMParser).parseFromString(Qr(""),"text/html")}catch{return!1}}()?new PO(n):n}(e);let i=n?String(n):"";t=kl.getInertBodyElement(i);let r=5,o=i;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,i=o,o=t.innerHTML,t=kl.getInertBodyElement(i)}while(i!==o);return Qr((new HO).sanitizeChildren(If(t)||t))}finally{if(t){const i=If(t)||t;for(;i.firstChild;)i.removeChild(i.firstChild)}}}function If(e){return"content"in e&&function qO(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var dt=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(dt||{});function qi(e){const n=function ms(){const e=b();return e&&e[dn].sanitizer}();return n?n.sanitize(dt.URL,e)||"":Nn(e,"URL")?Gt(e):Rl(z(e))}const tN=/^>|^->||--!>|)/g,iN="\u200b$1\u200b";function gv(e){return e.ownerDocument}var gi=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(gi||{});let Af;function Of(e,n){return Af(e,n)}function eo(e,n,t,i,r){if(null!=i){let o,s=!1;yt(i)?o=i:_t(i)&&(s=!0,i=i[Oe]);const a=ye(i);0===e&&null!==t?null==r?xv(n,t,a):Yi(n,t,a,r||null,!0):1===e&&null!==t?Yi(n,t,a,r||null,!0):2===e?function ys(e,n,t){const i=Bl(e,n);i&&function wN(e,n,t,i){e.removeChild(n,t,i)}(e,i,n,t)}(n,a,s):3===e&&n.destroyNode(a),null!=o&&function CN(e,n,t,i,r){const o=t[In];o!==ye(t)&&eo(n,e,i,o,r);for(let a=je;an.replace(nN,iN))}(n))}function Ll(e,n,t){return e.createElement(n,t)}function Dv(e,n){n[dn].changeDetectionScheduler?.notify(1),Hl(e,n,n[j],2,null,null)}function Ev(e,n){const t=e[Hr],i=t.indexOf(n);t.splice(i,1)}function gs(e,n){if(e.length<=je)return;const t=je+n,i=e[t];if(i){const r=i[Zo];null!==r&&r!==e&&Ev(r,i),n>0&&(e[t-1][cn]=i[cn]);const o=Qa(e,je+n);!function pN(e,n){Dv(e,n),n[Oe]=null,n[gt]=null}(i[x],i);const s=o[Kn];null!==s&&s.detachView(o[x]),i[Be]=null,i[cn]=null,i[R]&=-129}return i}function Vl(e,n){if(!(256&n[R])){const t=n[j];t.destroyNode&&Hl(e,n,t,3,null,null),function gN(e){let n=e[Ko];if(!n)return kf(e[x],e);for(;n;){let t=null;if(_t(n))t=n[Ko];else{const i=n[je];i&&(t=i)}if(!t){for(;n&&!n[cn]&&n!==e;)_t(n)&&kf(n[x],n),n=n[Be];null===n&&(n=e),_t(n)&&kf(n[x],n),t=n&&n[cn]}n=t}}(n)}}function kf(e,n){if(256&n[R])return;const t=Z(null);try{n[R]&=-129,n[R]|=256,n[ji]&&Bg(n[ji]),function bN(e,n){let t;if(null!=e&&null!=(t=e.destroyHooks))for(let i=0;i=0?i[s]():i[-s].unsubscribe(),o+=2}else t[o].call(i[t[o+1]]);null!==i&&(n[Vr]=null);const r=n[hi];if(null!==r){n[hi]=null;for(let o=0;o-1){const{encapsulation:o}=e.data[i.directiveStart+r];if(o===sn.None||o===sn.Emulated)return null}return Mt(i,t)}}(e,n.parent,t)}function Yi(e,n,t,i,r){e.insertBefore(n,t,i,r)}function xv(e,n,t){e.appendChild(n,t)}function Iv(e,n,t,i,r){null!==i?Yi(e,n,t,i,r):xv(e,n,t)}function Bl(e,n){return e.parentNode(n)}function Sv(e,n,t){return Tv(e,n,t)}let Pf,Tv=function Mv(e,n,t){return 40&e.type?Mt(e,t):null};function jl(e,n,t,i){const r=Ff(e,i,n),o=n[j],a=Sv(i.parent||n[gt],i,n);if(null!=r)if(Array.isArray(t))for(let l=0;lG&&Pv(e,n,G,!1),Sn(s?2:0,r),t(i,r)}finally{$i(o),Sn(s?3:1,r)}}function jf(e,n,t){if(Ou(n)){const i=Z(null);try{const o=n.directiveEnd;for(let s=n.directiveStart;snull;function Hv(e,n,t,i,r){for(let o in n){if(!n.hasOwnProperty(o))continue;const s=n[o];if(void 0===s)continue;i??={};let a,l=O.None;Array.isArray(s)?(a=s[0],l=s[1]):a=s;let c=o;if(null!==r){if(!r.hasOwnProperty(o))continue;c=r[o]}0===e?Uv(i,t,c,a,l):Uv(i,t,c,a)}return i}function Uv(e,n,t,i,r){let o;e.hasOwnProperty(t)?(o=e[t]).push(n,i):o=e[t]=[n,i],void 0!==r&&o.push(r)}function Lt(e,n,t,i,r,o,s,a){const l=Mt(n,t);let d,c=n.inputs;!a&&null!=c&&(d=c[i])?(Yf(e,t,d,i,r),Hi(n)&&function VN(e,n){const t=$t(n,e);16&t[R]||(t[R]|=64)}(t,n.index)):3&n.type&&(i=function LN(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(i),r=null!=s?s(r,n.value||"",i):r,o.setProperty(l,i,r))}function zf(e,n,t,i){if(W_()){const r=null===i?null:{"":-1},o=function zN(e,n){const t=e.directiveRegistry;let i=null,r=null;if(t)for(let o=0;o0;){const t=e[--n];if("number"==typeof t&&t<0)return t}return 0})(s)!=a&&s.push(a),s.push(t,i,o)}}(e,n,i,vs(e,t,r.hostVars,W),r)}function Rn(e,n,t,i,r,o){const s=Mt(e,n);!function Wf(e,n,t,i,r,o,s){if(null==o)e.removeAttribute(n,r,t);else{const a=null==s?z(o):s(o,i||"",r);e.setAttribute(n,r,a,t)}}(n[j],s,o,e.value,t,i,r)}function ZN(e,n,t,i,r,o){const s=o[n];if(null!==s)for(let a=0;a0&&(t[r-1][cn]=n),i{ts(e.lView)},consumerOnSignalRead(){this.lView[ji]=this}},Jv=100;function Gl(e,n=!0,t=0){const i=e[dn],r=i.rendererFactory;r.begin?.();try{!function oR(e,n){Xf(e,n);let t=0;for(;Vu(e);){if(t===Jv)throw new w(103,!1);t++,Xf(e,1)}}(e,t)}catch(s){throw n&&zl(e,s),s}finally{r.end?.(),i.inlineEffectRunner?.flush()}}function sR(e,n,t,i){const r=n[R];if(!(256&~r))return;n[dn].inlineEffectRunner?.flush(),Wu(n);let s=null,a=null;(function aR(e){return 2!==e.type})(e)&&(a=function tR(e){return e[ji]??function nR(e){const n=Qv.pop()??Object.create(rR);return n.lView=e,n}(e)}(n),s=Lg(a));try{$_(n),function K_(e){return H.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==t&&Vv(e,n,t,2,i);const l=!(3&~r);if(l){const u=e.preOrderCheckHooks;null!==u&&pl(n,u,null)}else{const u=e.preOrderHooks;null!==u&&ml(n,u,0,null),Yu(n,0)}if(function lR(e){for(let n=Py(e);null!==n;n=Ly(n)){if(!(n[R]&Au.HasTransplantedViews))continue;const t=n[Hr];for(let i=0;i-1&&(gs(n,i),Qa(t,i))}this._attachedToViewContainer=!1}Vl(this._lView[x],this._lView)}onDestroy(n){ul(this._lView,n)}markForCheck(){Es(this._cdRefInjectingView||this._lView)}detach(){this._lView[R]&=-129}reattach(){Bu(this._lView),this._lView[R]|=128}detectChanges(){this._lView[R]|=1024,Gl(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new w(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,Dv(this._lView[x],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new w(902,!1);this._appRef=n,Bu(this._lView)}}let kn=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=fR}return e})();const dR=kn,uR=class extends dR{constructor(n,t,i){super(),this._declarationLView=n,this._declarationTContainer=t,this.elementRef=i}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,t){return this.createEmbeddedViewImpl(n,t)}createEmbeddedViewImpl(n,t,i){const r=bs(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:t,dehydratedView:i});return new Cs(r)}};function fR(){return Wl(me(),b())}function Wl(e,n){return 4&e.type?new uR(n,e,Yr(e,n)):null}let lb=()=>null;function io(e,n){return lb(e,n)}class Xl{}class PR{}class cb{}class VR{resolveComponentFactory(n){throw function LR(e){const n=Error(`No component factory found for ${Xe(e)}.`);return n.ngComponent=e,n}(n)}}let Ts=(()=>{class e{static#e=this.NULL=new VR}return e})();class ih{}let _i=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function BR(){const e=b(),t=$t(me().index,e);return(_t(t)?t:e)[j]}()}return e})(),jR=(()=>{class e{static#e=this.\u0275prov=M({token:e,providedIn:"root",factory:()=>null})}return e})();const rh={},ub=new Set;function mn(e){ub.has(e)||(ub.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function fb(...e){}class Y{constructor({enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:t=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new oe(!1),this.onMicrotaskEmpty=new oe(!1),this.onStable=new oe(!1),this.onError=new oe(!1),typeof Zone>"u")throw new w(908,!1);Zone.assertZonePatched();const r=this;r._nesting=0,r._outer=r._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(r._inner=r._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(r._inner=r._inner.fork(Zone.longStackTraceZoneSpec)),r.shouldCoalesceEventChangeDetection=!i&&t,r.shouldCoalesceRunChangeDetection=i,r.lastRequestAnimationFrameId=-1,r.nativeRequestAnimationFrame=function HR(){const e="function"==typeof he.requestAnimationFrame;let n=he[e?"requestAnimationFrame":"setTimeout"],t=he[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&n&&t){const i=n[Zone.__symbol__("OriginalDelegate")];i&&(n=i);const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r)}return{nativeRequestAnimationFrame:n,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function zR(e){const n=()=>{!function $R(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(he,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,sh(e),e.isCheckStableRunning=!0,oh(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),sh(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(t,i,r,o,s,a)=>{if(function GR(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}(a))return t.invokeTask(r,o,s,a);try{return hb(e),t.invokeTask(r,o,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||e.shouldCoalesceRunChangeDetection)&&n(),pb(e)}},onInvoke:(t,i,r,o,s,a,l)=>{try{return hb(e),t.invoke(r,o,s,a,l)}finally{e.shouldCoalesceRunChangeDetection&&n(),pb(e)}},onHasTask:(t,i,r,o)=>{t.hasTask(r,o),i===r&&("microTask"==o.change?(e._hasPendingMicrotasks=o.microTask,sh(e),oh(e)):"macroTask"==o.change&&(e.hasPendingMacrotasks=o.macroTask))},onHandleError:(t,i,r,o)=>(t.handleError(r,o),e.runOutsideAngular(()=>e.onError.emit(o)),!1)})}(r)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Y.isInAngularZone())throw new w(909,!1)}static assertNotInAngularZone(){if(Y.isInAngularZone())throw new w(909,!1)}run(n,t,i){return this._inner.run(n,t,i)}runTask(n,t,i,r){const o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+r,n,UR,fb,fb);try{return o.runTask(s,t,i)}finally{o.cancelTask(s)}}runGuarded(n,t,i){return this._inner.runGuarded(n,t,i)}runOutsideAngular(n){return this._outer.run(n)}}const UR={};function oh(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 sh(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function hb(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function pb(e){e._nesting--,oh(e)}let As=(()=>{class e{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){const t=[...this.internalCallbacks];this.internalCallbacks.length=0;for(const i of t)i()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}static#e=this.\u0275prov=M({token:e,providedIn:"root",factory:()=>new e})}return e})();function Jl(e,n,t){let i=t?e.styles:null,r=t?e.classes:null,o=0;if(null!==n)for(let s=0;s0&&kv(e,t,o.join(" "))}}(f,K,m,i),void 0!==t&&function rk(e,n,t){const i=e.projection=[];for(let r=0;r{class e{static#e=this.__NG_ELEMENT_ID__=sk}return e})();function sk(){return xb(me(),b())}const ak=gn,Eb=class extends ak{constructor(n,t,i){super(),this._lContainer=n,this._hostTNode=t,this._hostLView=i}get element(){return Yr(this._hostTNode,this._hostLView)}get injector(){return new et(this._hostTNode,this._hostLView)}get parentInjector(){const n=yl(this._hostTNode,this._hostLView);if(Zu(n)){const t=ss(n,this._hostLView),i=os(n);return new et(t[x].data[i+8],t)}return new et(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){const t=Cb(this._lContainer);return null!==t&&t[n]||null}get length(){return this._lContainer.length-je}createEmbeddedView(n,t,i){let r,o;"number"==typeof i?r=i:null!=i&&(r=i.index,o=i.injector);const s=io(this._lContainer,n.ssrId),a=n.createEmbeddedViewImpl(t||{},o,s);return this.insertImpl(a,r,no(this._hostTNode,s)),a}createComponent(n,t,i,r,o){const s=n&&!function Yo(e){return"function"==typeof e}(n);let a;if(s)a=t;else{const p=t||{};a=p.index,i=p.injector,r=p.projectableNodes,o=p.environmentInjector||p.ngModuleRef}const l=s?n:new Rs(X(n)),c=i||this.parentInjector;if(!o&&null==l.ngModule){const m=(s?c:this.parentInjector).get(ln,null);m&&(o=m)}const d=X(l.componentType??{}),u=io(this._lContainer,d?.id??null),f=l.create(c,r,u?.firstChild??null,o);return this.insertImpl(f.hostView,a,no(this._hostTNode,u)),f}insert(n,t){return this.insertImpl(n,t,!0)}insertImpl(n,t,i){const r=n._lView;if(function JT(e){return yt(e[Be])}(r)){const a=this.indexOf(n);if(-1!==a)this.detach(a);else{const l=r[Be],c=new Eb(l,l[gt],l[Be]);c.detach(c.indexOf(n))}}const o=this._adjustIndex(t),s=this._lContainer;return ws(s,r,o,i),n.attachToViewContainerRef(),u_(dh(s),o,n),n}move(n,t){return this.insert(n,t)}indexOf(n){const t=Cb(this._lContainer);return null!==t?t.indexOf(n):-1}remove(n){const t=this._adjustIndex(n,-1),i=gs(this._lContainer,t);i&&(Qa(dh(this._lContainer),t),Vl(i[x],i))}detach(n){const t=this._adjustIndex(n,-1),i=gs(this._lContainer,t);return i&&null!=Qa(dh(this._lContainer),t)?new Cs(i):null}_adjustIndex(n,t=0){return n??this.length+t}};function Cb(e){return e[8]}function dh(e){return e[8]||(e[8]=[])}function xb(e,n){let t;const i=n[e.index];return yt(i)?t=i:(t=Gv(i,n,null,e),n[e.index]=t,$l(n,t)),Ib(t,n,e,i),new Eb(t,e,n)}let Ib=function Mb(e,n,t,i){if(e[In])return;let r;r=8&t.type?ye(i):function lk(e,n){const t=e[j],i=t.createComment(""),r=Mt(n,e);return Yi(t,Bl(t,r),i,function DN(e,n){return e.nextSibling(n)}(t,r),!1),i}(n,t),e[In]=r},uh=()=>!1;class fh{constructor(n){this.queryList=n,this.matches=null}clone(){return new fh(this.queryList)}setDirty(){this.queryList.setDirty()}}class hh{constructor(n=[]){this.queries=n}createEmbeddedView(n){const t=n.queries;if(null!==t){const i=null!==n.contentQueries?n.contentQueries[0]:t.length,r=[];for(let o=0;on.trim())}(n):n}}class ph{constructor(n=[]){this.queries=n}elementStart(n,t){for(let i=0;i0)i.push(s[a/2]);else{const c=o[a+1],d=n[-l];for(let u=je;u=0;i--){const r=e[i];r.hostVars=n+=r.hostVars,r.hostAttrs=Wo(r.hostAttrs,t=Wo(t,r.hostAttrs))}}(i)}function Mk(e,n){for(const t in n.inputs){if(!n.inputs.hasOwnProperty(t)||e.inputs.hasOwnProperty(t))continue;const i=n.inputs[t];if(void 0!==i&&(e.inputs[t]=i,e.declaredInputs[t]=n.declaredInputs[t],null!==n.inputTransforms)){const r=Array.isArray(i)?i[0]:i;if(!n.inputTransforms.hasOwnProperty(r))continue;e.inputTransforms??={},e.inputTransforms[r]=n.inputTransforms[r]}}}function ic(e){return e===xn?{}:e===re?[]:e}function Ak(e,n){const t=e.viewQuery;e.viewQuery=t?(i,r)=>{n(i,r),t(i,r)}:n}function Ok(e,n){const t=e.contentQueries;e.contentQueries=t?(i,r,o)=>{n(i,r,o),t(i,r,o)}:n}function Nk(e,n){const t=e.hostBindings;e.hostBindings=t?(i,r)=>{n(i,r),t(i,r)}:n}function Fs(e){const n=e.inputConfig,t={};for(const i in n)if(n.hasOwnProperty(i)){const r=n[i];Array.isArray(r)&&r[3]&&(t[i]=r[3])}e.inputTransforms=t}class Xi{}class Qb extends Xi{constructor(n){super(),this.componentFactoryResolver=new wb(this),this.instance=null;const t=new Fr([...n.providers,{provide:Xi,useValue:this},{provide:Ts,useValue:this.componentFactoryResolver}],n.parent||ol(),n.debugName,new Set(["environment"]));this.injector=t,n.runEnvironmentInitializers&&t.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}}let Qi=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new eu(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const t=this.taskId++;return this.pendingTasks.add(t),t}remove(t){this.pendingTasks.delete(t),0===this.pendingTasks.size&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function oc(e){return!!Dh(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function Dh(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Fn(e,n,t){return e[n]=t}function $e(e,n,t){return!Object.is(e[n],t)&&(e[n]=t,!0)}function J(e,n,t,i,r,o,s,a){const l=b(),c=Q(),d=e+G,u=c.firstCreatePass?function Wk(e,n,t,i,r,o,s,a,l){const c=n.consts,d=to(n,e,4,s||null,Mn(c,a));zf(n,t,d,Mn(c,l)),hl(n,d);const u=d.tView=$f(2,d,i,r,o,n.directiveRegistry,n.pipeRegistry,null,n.schemas,c,null);return null!==n.queries&&(n.queries.template(n,d),u.queries=n.queries.embeddedTView(d)),d}(d,c,l,n,t,i,r,o,s):c.data[d];Tn(u,!1);const h=ew(c,l,u,e);is()&&jl(c,l,h,u),bt(h,l);const f=Gv(h,l,h,u);return l[d]=f,$l(l,f),function Sb(e,n,t){return uh(e,n,t)}(f,u,l),dl(u)&&Hf(c,l,u),null!=s&&Uf(l,u,a),J}let ew=function tw(e,n,t,i){return An(!0),n[j].createComment("")};function wt(e,n,t,i){const r=b();return $e(r,hn(),n)&&(Q(),Rn(Ee(),r,e,n,t,i)),wt}function ho(e,n,t,i){return $e(e,hn(),t)?n+z(t)+i:W}function fc(e,n){return e<<17|n<<2}function bi(e){return e>>17&32767}function Nh(e){return 2|e}function tr(e){return(131068&e)>>2}function Rh(e,n){return-131069&e|n<<2}function kh(e){return 1|e}function Nw(e,n,t,i){const r=e[t+1],o=null===n;let s=i?bi(r):tr(r),a=!1;for(;0!==s&&(!1===a||o);){const c=e[s+1];NF(e[s],n)&&(a=!0,e[s+1]=i?kh(c):Nh(c)),s=i?bi(c):tr(c)}a&&(e[t+1]=i?Nh(r):kh(r))}function NF(e,n){return null===e||null==n||(Array.isArray(e)?e[1]:e)===n||!(!Array.isArray(e)||"string"!=typeof n)&&Rr(e,n)>=0}const tt={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Rw(e){return e.substring(tt.key,tt.keyEnd)}function kw(e,n){const t=tt.textEnd;return t===n?-1:(n=tt.keyEnd=function PF(e,n,t){for(;n32;)n++;return n}(e,tt.key=n,t),wo(e,n,t))}function wo(e,n,t){for(;n=0;t=kw(n,t))Ht(e,Rw(n),!0)}function yn(e,n,t,i){const r=Q(),o=Xn(2);r.firstUpdatePass&&Uw(r,null,o,i);const s=b();if(t!==W&&$e(s,o,t)){const a=r.data[vt()];if(Ww(a,i)&&!Hw(r,o)){let l=i?a.classesWithoutHost:a.stylesWithoutHost;null!==l&&(t=nu(l,t||"")),Fh(r,a,s,t,i)}else!function WF(e,n,t,i,r,o,s,a){r===W&&(r=re);let l=0,c=0,d=0=e.expandoStartIndex}function Uw(e,n,t,i){const r=e.data;if(null===r[t+1]){const o=r[vt()],s=Hw(e,t);Ww(o,i)&&null===n&&!s&&(n=!1),n=function jF(e,n,t,i){const r=function zu(e){const n=H.lFrame.currentDirectiveIndex;return-1===n?null:e[n]}(e);let o=i?n.residualClasses:n.residualStyles;if(null===r)0===(i?n.classBindings:n.styleBindings)&&(t=Hs(t=Ph(null,e,n,t,i),n.attrs,i),o=null);else{const s=n.directiveStylingLast;if(-1===s||e[s]!==r)if(t=Ph(r,e,n,t,i),null===o){let l=function HF(e,n,t){const i=t?n.classBindings:n.styleBindings;if(0!==tr(i))return e[bi(i)]}(e,n,i);void 0!==l&&Array.isArray(l)&&(l=Ph(null,e,n,l[1],i),l=Hs(l,n.attrs,i),function UF(e,n,t,i){e[bi(t?n.classBindings:n.styleBindings)]=i}(e,n,i,l))}else o=function $F(e,n,t){let i;const r=n.directiveEnd;for(let o=1+n.directiveStylingLast;o0)&&(c=!0)):d=t,r)if(0!==l){const h=bi(e[a+1]);e[i+1]=fc(h,a),0!==h&&(e[h+1]=Rh(e[h+1],i)),e[a+1]=function MF(e,n){return 131071&e|n<<17}(e[a+1],i)}else e[i+1]=fc(a,0),0!==a&&(e[a+1]=Rh(e[a+1],i)),a=i;else e[i+1]=fc(l,0),0===a?a=i:e[l+1]=Rh(e[l+1],i),l=i;c&&(e[i+1]=Nh(e[i+1])),Nw(e,d,i,!0),Nw(e,d,i,!1),function OF(e,n,t,i,r){const o=r?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof n&&Rr(o,n)>=0&&(t[i+1]=kh(t[i+1]))}(n,d,e,i,o),s=fc(a,l),o?n.classBindings=s:n.styleBindings=s}(r,o,n,t,s,i)}}function Ph(e,n,t,i,r){let o=null;const s=t.directiveEnd;let a=t.directiveStylingLast;for(-1===a?a=t.directiveStart:a++;a0;){const l=e[r],c=Array.isArray(l),d=c?l[1]:l,u=null===d;let h=t[r+1];h===W&&(h=u?re:void 0);let f=u?gu(h,i):d===i?h:void 0;if(c&&!hc(f)&&(f=gu(l,i)),hc(f)&&(a=f,s))return a;const p=e[r+1];r=s?bi(p):tr(p)}if(null!==n){let l=o?n.residualClasses:n.residualStyles;null!=l&&(a=gu(l,i))}return a}function hc(e){return void 0!==e}function Ww(e,n){return!!(e.flags&(n?8:16))}function nt(e,n,t){mn("NgControlFlow");const i=b(),r=hn(),o=function Bh(e,n){return e[n]}(i,G+e);if($e(i,r,n)){const a=Z(null);try{if(function Zf(e,n){const t=gs(e,n);return void 0!==t&&Vl(t[x],t),t}(o,0),-1!==n){const l=function jh(e,n){return es(e,n)}(i[x],G+n),c=io(o,l.tView.ssrId);ws(o,bs(i,l,t,{dehydratedView:c}),0,no(l,c))}}finally{Z(a)}}else{const a=function Zv(e,n){const t=je+n;if(t(An(!0),Ll(i,r,function iy(){return H.lFrame.currentNamespace}()));function Hh(e,n,t){const i=b(),r=Q(),o=e+G,s=r.firstCreatePass?function _P(e,n,t,i,r){const o=n.consts,s=Mn(o,i),a=to(n,e,8,"ng-container",s);return null!==s&&Jl(a,s,!0),zf(n,t,a,Mn(o,r)),null!==n.queries&&n.queries.elementStart(n,a),a}(o,r,i,n,t):r.data[o];Tn(s,!0);const a=Qw(r,i,s,e);return i[o]=a,is()&&jl(r,i,a,s),bt(a,i),dl(s)&&(Hf(r,i,s),jf(r,s,i)),null!=t&&Uf(i,s),Hh}function Uh(){let e=me();const n=Q();return Hu()?Uu():(e=e.parent,Tn(e,!1)),n.firstCreatePass&&(hl(n,e),Ou(e)&&n.queries.elementEnd(e)),Uh}function $h(e,n,t){return Hh(e,n,t),Uh(),$h}let Qw=(e,n,t,i)=>(An(!0),Rf(n[j],""));function vn(){return b()}function Us(e,n,t){const i=b();return $e(i,hn(),n)&&Lt(Q(),Ee(),i,e,n,i[j],t,!0),Us}const Eo="en-US";let nD=Eo;function ce(e,n,t,i){const r=b(),o=Q(),s=me();return function Wh(e,n,t,i,r,o,s){const a=dl(i),c=e.firstCreatePass&&Yv(e),d=n[De],u=qv(n);let h=!0;if(3&i.type||s){const m=Mt(i,n),g=s?s(m):m,_=u.length,y=s?A=>s(ye(A[i.index])):i.index;let E=null;if(!s&&a&&(E=function v1(e,n,t,i){const r=e.cleanup;if(null!=r)for(let o=0;ol?a[l]:null}"string"==typeof s&&(o+=2)}return null}(e,n,r,i.index)),null!==E)(E.__ngLastListenerFn__||E).__ngNextListenerFn__=o,E.__ngLastListenerFn__=o,h=!1;else{o=AD(i,n,d,o,!1);const A=t.listen(g,r,o);u.push(o,A),c&&c.push(r,y,_,_+1)}}else o=AD(i,n,d,o,!1);const f=i.outputs;let p;if(h&&null!==f&&(p=f[r])){const m=p.length;if(m)for(let g=0;g-1?$t(e.index,n):n);let l=TD(n,t,i,s),c=o.__ngNextListenerFn__;for(;c;)l=TD(n,t,c,s)&&l,c=c.__ngNextListenerFn__;return r&&!1===l&&s.preventDefault(),l}}function ee(e=1){return function pA(e){return(H.lFrame.contextLView=function z_(e,n){for(;e>0;)n=n[Br],e--;return n}(e,H.lFrame.contextLView))[De]}(e)}function b1(e,n){let t=null;const i=function pT(e){const n=e.attrs;if(null!=n){const t=n.indexOf(5);if(!(1&t))return n[t+1]}return null}(e);for(let r=0;r(An(!0),function Nf(e,n){return e.createText(n)}(n[j],i));function Ks(e){return ei("",e,""),Ks}function ei(e,n,t){const i=b(),r=ho(i,e,n,t);return r!==W&&function Jn(e,n,t){const i=Jo(n,e);!function wv(e,n,t){e.setValue(n,t)}(e[j],i,t)}(i,vt(),r),ei}function Kh(e,n,t,i,r){if(e=V(e),Array.isArray(e))for(let o=0;o>20;if(Bi(e)||!e.multi){const f=new rs(c,r,v),p=Xh(l,n,r?d:d+h,u);-1===p?(Ju(_l(a,s),o,l),Zh(o,e,n.length),n.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),t.push(f),s.push(f)):(t[p]=f,s[p]=f)}else{const f=Xh(l,n,d+h,u),p=Xh(l,n,d,d+h),g=p>=0&&t[p];if(r&&!g||!r&&!(f>=0&&t[f])){Ju(_l(a,s),o,l);const _=function j1(e,n,t,i,r){const o=new rs(e,t,v);return o.multi=[],o.index=n,o.componentProviders=0,oE(o,r,i&&!t),o}(r?B1:V1,t.length,r,i,c);!r&&g&&(t[p].providerFactory=_),Zh(o,e,n.length,0),n.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),t.push(_),s.push(_)}else Zh(o,e,f>-1?f:p,oE(t[r?p:f],c,!r&&i));!r&&i&&g&&t[p].componentProviders++}}}function Zh(e,n,t,i){const r=Bi(n),o=function IT(e){return!!e.useClass}(n);if(r||o){const l=(o?V(n.useClass):n).prototype.ngOnDestroy;if(l){const c=e.destroyHooks||(e.destroyHooks=[]);if(!r&&n.multi){const d=c.indexOf(t);-1===d?c.push(t,[i,l]):c[d+1].push(i,l)}else c.push(t,l)}}}function oE(e,n,t){return t&&e.componentProviders++,e.multi.push(n)-1}function Xh(e,n,t,i){for(let r=t;r{t.providersResolver=(i,r)=>function L1(e,n,t){const i=Q();if(i.firstCreatePass){const r=un(e);Kh(t,i.data,i.blueprint,r,!0),Kh(n,i.data,i.blueprint,r,!1)}}(i,r?r(e):e,n)}}let H1=(()=>{class e{constructor(t){this._injector=t,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(t){if(!t.standalone)return null;if(!this.cachedInjectors.has(t)){const i=bu(0,t.type),r=i.length>0?function Jb(e,n,t=null){return new Qb({providers:e,parent:n,debugName:t,runEnvironmentInitializers:!0}).injector}([i],this._injector,`Standalone[${t.type.name}]`):null;this.cachedInjectors.set(t,r)}return this.cachedInjectors.get(t)}ngOnDestroy(){try{for(const t of this.cachedInjectors.values())null!==t&&t.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=M({token:e,providedIn:"environment",factory:()=>new e(D(ln))})}return e})();function ti(e){mn("NgStandalone"),e.getStandaloneInjector=n=>n.get(H1).getOrCreateStandaloneInjector(e)}function vc(e,n,t,i,r){return function lE(e,n,t,i,r,o,s){const a=n+t;return function Ji(e,n,t,i){const r=$e(e,n,t);return $e(e,n+1,i)||r}(e,a,r,o)?Fn(e,a+2,s?i.call(s,r,o):i(r,o)):Zs(e,a+2)}(b(),Tt(),e,n,t,i,r)}function Zs(e,n){const t=e[n];return t===W?void 0:t}function Xs(e,n){const t=Q();let i;const r=e+G;t.firstCreatePass?(i=function J1(e,n){if(n)for(let t=n.length-1;t>=0;t--){const i=n[t];if(e===i.name)return i}}(n,t.pipeRegistry),t.data[r]=i,i.onDestroy&&(t.destroyHooks??=[]).push(r,i.onDestroy)):i=t.data[r];const o=i.factory||(i.factory=Li(i.type)),a=kt(v);try{const l=gl(!1),c=o();return gl(l),function C1(e,n,t,i){t>=e.data.length&&(e.data[t]=null,e.blueprint[t]=null),n[t]=i}(t,b(),r,c),c}finally{kt(a)}}function Qs(e,n,t){const i=e+G,r=b(),o=Ur(r,i);return function Js(e,n){return e[x].data[n].pure}(r,i)?function aE(e,n,t,i,r,o){const s=n+t;return $e(e,s,r)?Fn(e,s+1,o?i.call(o,r):i(r)):Zs(e,s+1)}(r,Tt(),n,o.transform,t,o):o.transform(t)}function bc(e,n){return Wl(e,n)}const OE=new C(""),Ec=new C("");let sp,rp=(()=>{class e{constructor(t,i,r){this._ngZone=t,this.registry=i,this._pendingCount=0,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,sp||(function XL(e){sp=e}(r),r.addToWindow(i)),this._watchAngularEvents(),t.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Y.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb()}});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(i=>!i.updateCb||!i.updateCb(t)||(clearTimeout(i.timeoutId),!1))}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,i,r){let o=-1;i&&i>0&&(o=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==o),t()},i)),this._callbacks.push({doneCb:t,timeoutId:o,updateCb:r})}whenStable(t,i,r){if(r&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(t,i,r),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(t){this.registry.registerApplication(t,this)}unregisterApplication(t){this.registry.unregisterApplication(t)}findProviders(t,i,r){return[]}static#e=this.\u0275fac=function(i){return new(i||e)(D(Y),D(op),D(Ec))};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac})}return e})(),op=(()=>{class e{constructor(){this._applications=new Map}registerApplication(t,i){this._applications.set(t,i)}unregisterApplication(t){this._applications.delete(t)}unregisterAllApplications(){this._applications.clear()}getTestability(t){return this._applications.get(t)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(t,i=!0){return sp?.findTestabilityInTree(this,t,i)??null}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function Cc(e){return!!e&&"function"==typeof e.then}function NE(e){return!!e&&"function"==typeof e.subscribe}const QL=new C("");let ap=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((t,i)=>{this.resolve=t,this.reject=i}),this.appInits=T(QL,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const t=[];for(const r of this.appInits){const o=r();if(Cc(o))t.push(o);else if(NE(o)){const s=new Promise((a,l)=>{o.subscribe({complete:a,error:l})});t.push(s)}}const i=()=>{this.done=!0,this.resolve()};Promise.all(t).then(()=>{i()}).catch(r=>{this.reject(r)}),0===t.length&&i(),this.initialized=!0}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const RE=new C("");let wi=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=T(Cy),this.afterRenderEffectManager=T(As),this.externalTestViews=new Set,this.beforeRender=new te,this.afterTick=new te,this.componentTypes=[],this.components=[],this.isStable=T(Qi).hasPendingTasks.pipe(ot(t=>!t)),this._injector=T(ln)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(t,i){const r=t instanceof cb;if(!this._injector.get(ap).done)throw!r&&function Vi(e){const n=X(e)||Qe(e)||at(e);return null!==n&&n.standalone}(t),new w(405,!1);let s;s=r?t:this._injector.get(Ts).resolveComponentFactory(t),this.componentTypes.push(s.componentType);const a=function JL(e){return e.isBoundToModule}(s)?void 0:this._injector.get(Xi),c=s.create(ct.NULL,[],i||s.selector,a),d=c.location.nativeElement,u=c.injector.get(OE,null);return u?.registerApplication(d),c.onDestroy(()=>{this.detachView(c.hostView),xc(this.components,c),u?.unregisterApplication(d)}),this._loadComponent(c),c}tick(){this._tick(!0)}_tick(t){if(this._runningTick)throw new w(101,!1);const i=Z(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(t)}catch(r){this.internalErrorHandler(r)}finally{this.afterTick.next(),this._runningTick=!1,Z(i)}}detectChangesInAttachedViews(t){let i=0;const r=this.afterRenderEffectManager;for(;;){if(i===Jv)throw new w(103,!1);if(t){const o=0===i;this.beforeRender.next(o);for(let{_lView:s,notifyErrorHandler:a}of this._views)tV(s,o,a)}if(i++,r.executeInternalCallbacks(),![...this.externalTestViews.keys(),...this._views].some(({_lView:o})=>lp(o))&&(r.execute(),![...this.externalTestViews.keys(),...this._views].some(({_lView:o})=>lp(o))))break}}attachView(t){const i=t;this._views.push(i),i.attachToAppRef(this)}detachView(t){const i=t;xc(this._views,i),i.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t);const i=this._injector.get(RE,[]);[...this._bootstrapListeners,...i].forEach(r=>r(t))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(t=>t()),this._views.slice().forEach(t=>t.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(t){return this._destroyListeners.push(t),()=>xc(this._destroyListeners,t)}destroy(){if(this._destroyed)throw new w(406,!1);const t=this._injector;t.destroy&&!t.destroyed&&t.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function xc(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}function tV(e,n,t){!n&&!lp(e)||function nV(e,n,t){let i;t?(i=0,e[R]|=1024):i=64&e[R]?0:1,Gl(e,n,i)}(e,t,n)}function lp(e){return Vu(e)}let sV=(()=>{class e{constructor(){this.zone=T(Y),this.applicationRef=T(wi)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function VE(e){return[{provide:Y,useFactory:e},{provide:kr,multi:!0,useFactory:()=>{const n=T(sV,{optional:!0});return()=>n.initialize()}},{provide:kr,multi:!0,useFactory:()=>{const n=T(cV);return()=>{n.initialize()}}},{provide:Cy,useFactory:aV}]}function aV(){const e=T(Y),n=T(zt);return t=>e.runOutsideAngular(()=>n.handleError(t))}function lV(e){return qo([[],VE(()=>new Y(function BE(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}(e)))])}let cV=(()=>{class e{constructor(){this.subscription=new Pe,this.initialized=!1,this.zone=T(Y),this.pendingTasks=T(Qi)}initialize(){if(this.initialized)return;this.initialized=!0;let t=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(t=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{Y.assertNotInAngularZone(),queueMicrotask(()=>{null!==t&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(t),t=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Y.assertInAngularZone(),t??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Vn=new C("",{providedIn:"root",factory:()=>T(Vn,ne.Optional|ne.SkipSelf)||function dV(){return typeof $localize<"u"&&$localize.locale||Eo}()}),cp=new C("");let Di=null;let To=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=gV}return e})();function gV(e){return function _V(e,n,t){if(Hi(e)&&!t){const i=$t(e.index,n);return new Cs(i,i)}return 47&e.type?new Cs(n[ke],n):null}(me(),b(),!(16&~e))}class YE{constructor(){}supports(n){return oc(n)}create(n){return new DV(n)}}const wV=(e,n)=>n;class DV{constructor(n){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=n||wV}forEachItem(n){let t;for(t=this._itHead;null!==t;t=t._next)n(t)}forEachOperation(n){let t=this._itHead,i=this._removalsHead,r=0,o=null;for(;t||i;){const s=!i||t&&t.currentIndex{s=this._trackByFn(r,a),null!==t&&Object.is(t.trackById,s)?(i&&(t=this._verifyReinsertion(t,a,s,r)),Object.is(t.item,a)||this._addIdentityChange(t,a)):(t=this._mismatch(t,a,s,r),i=!0),t=t._next,r++}),this.length=r;return this._truncate(t),this.collection=n,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let n;for(n=this._previousItHead=this._itHead;null!==n;n=n._next)n._nextPrevious=n._next;for(n=this._additionsHead;null!==n;n=n._nextAdded)n.previousIndex=n.currentIndex;for(this._additionsHead=this._additionsTail=null,n=this._movesHead;null!==n;n=n._nextMoved)n.previousIndex=n.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(n,t,i,r){let o;return null===n?o=this._itTail:(o=n._prev,this._remove(n)),null!==(n=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null))?(Object.is(n.item,t)||this._addIdentityChange(n,t),this._reinsertAfter(n,o,r)):null!==(n=null===this._linkedRecords?null:this._linkedRecords.get(i,r))?(Object.is(n.item,t)||this._addIdentityChange(n,t),this._moveAfter(n,o,r)):n=this._addAfter(new EV(t,i),o,r),n}_verifyReinsertion(n,t,i,r){let o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==o?n=this._reinsertAfter(o,n._prev,r):n.currentIndex!=r&&(n.currentIndex=r,this._addToMoves(n,r)),n}_truncate(n){for(;null!==n;){const t=n._next;this._addToRemovals(this._unlink(n)),n=t}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(n,t,i){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(n);const r=n._prevRemoved,o=n._nextRemoved;return null===r?this._removalsHead=o:r._nextRemoved=o,null===o?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(n,t,i),this._addToMoves(n,i),n}_moveAfter(n,t,i){return this._unlink(n),this._insertAfter(n,t,i),this._addToMoves(n,i),n}_addAfter(n,t,i){return this._insertAfter(n,t,i),this._additionsTail=null===this._additionsTail?this._additionsHead=n:this._additionsTail._nextAdded=n,n}_insertAfter(n,t,i){const r=null===t?this._itHead:t._next;return n._next=r,n._prev=t,null===r?this._itTail=n:r._prev=n,null===t?this._itHead=n:t._next=n,null===this._linkedRecords&&(this._linkedRecords=new KE),this._linkedRecords.put(n),n.currentIndex=i,n}_remove(n){return this._addToRemovals(this._unlink(n))}_unlink(n){null!==this._linkedRecords&&this._linkedRecords.remove(n);const t=n._prev,i=n._next;return null===t?this._itHead=i:t._next=i,null===i?this._itTail=t:i._prev=t,n}_addToMoves(n,t){return n.previousIndex===t||(this._movesTail=null===this._movesTail?this._movesHead=n:this._movesTail._nextMoved=n),n}_addToRemovals(n){return null===this._unlinkedRecords&&(this._unlinkedRecords=new KE),this._unlinkedRecords.put(n),n.currentIndex=null,n._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=n,n._prevRemoved=null):(n._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=n),n}_addIdentityChange(n,t){return n.item=t,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=n:this._identityChangesTail._nextIdentityChange=n,n}}class EV{constructor(n,t){this.item=n,this.trackById=t,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class CV{constructor(){this._head=null,this._tail=null}add(n){null===this._head?(this._head=this._tail=n,n._nextDup=null,n._prevDup=null):(this._tail._nextDup=n,n._prevDup=this._tail,n._nextDup=null,this._tail=n)}get(n,t){let i;for(i=this._head;null!==i;i=i._nextDup)if((null===t||t<=i.currentIndex)&&Object.is(i.trackById,n))return i;return null}remove(n){const t=n._prevDup,i=n._nextDup;return null===t?this._head=i:t._nextDup=i,null===i?this._tail=t:i._prevDup=t,null===this._head}}class KE{constructor(){this.map=new Map}put(n){const t=n.trackById;let i=this.map.get(t);i||(i=new CV,this.map.set(t,i)),i.add(n)}get(n,t){const r=this.map.get(n);return r?r.get(n,t):null}remove(n){const t=n.trackById;return this.map.get(t).remove(n)&&this.map.delete(t),n}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function ZE(e,n,t){const i=e.previousIndex;if(null===i)return i;let r=0;return t&&i{if(t&&t.key===r)this._maybeAddToChanges(t,i),this._appendAfter=t,t=t._next;else{const o=this._getOrCreateRecordForKey(r,i);t=this._insertBeforeOrAppend(t,o)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let i=t;null!==i;i=i._nextRemoved)i===this._mapHead&&(this._mapHead=null),this._records.delete(i.key),i._nextRemoved=i._next,i.previousValue=i.currentValue,i.currentValue=null,i._prev=null,i._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(n,t){if(n){const i=n._prev;return t._next=n,t._prev=i,n._prev=t,i&&(i._next=t),n===this._mapHead&&(this._mapHead=t),this._appendAfter=n,n}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}_getOrCreateRecordForKey(n,t){if(this._records.has(n)){const r=this._records.get(n);this._maybeAddToChanges(r,t);const o=r._prev,s=r._next;return o&&(o._next=s),s&&(s._prev=o),r._next=null,r._prev=null,r}const i=new IV(n);return this._records.set(n,i),i.currentValue=t,this._addToAdditions(i),i}_reset(){if(this.isDirty){let n;for(this._previousMapHead=this._mapHead,n=this._previousMapHead;null!==n;n=n._next)n._nextPrevious=n._next;for(n=this._changesHead;null!==n;n=n._nextChanged)n.previousValue=n.currentValue;for(n=this._additionsHead;null!=n;n=n._nextAdded)n.previousValue=n.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(n,t){Object.is(t,n.currentValue)||(n.previousValue=n.currentValue,n.currentValue=t,this._addToChanges(n))}_addToAdditions(n){null===this._additionsHead?this._additionsHead=this._additionsTail=n:(this._additionsTail._nextAdded=n,this._additionsTail=n)}_addToChanges(n){null===this._changesHead?this._changesHead=this._changesTail=n:(this._changesTail._nextChanged=n,this._changesTail=n)}_forEach(n,t){n instanceof Map?n.forEach(t):Object.keys(n).forEach(i=>t(n[i],i))}}class IV{constructor(n){this.key=n,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function QE(){return new mp([new YE])}let mp=(()=>{class e{static#e=this.\u0275prov=M({token:e,providedIn:"root",factory:QE});constructor(t){this.factories=t}static create(t,i){if(null!=i){const r=i.factories.slice();t=t.concat(r)}return new e(t)}static extend(t){return{provide:e,useFactory:i=>e.create(t,i||QE()),deps:[[e,new Xa,new Or]]}}find(t){const i=this.factories.find(r=>r.supports(t));if(null!=i)return i;throw new w(901,!1)}}return e})();function JE(){return new Tc([new XE])}let Tc=(()=>{class e{static#e=this.\u0275prov=M({token:e,providedIn:"root",factory:JE});constructor(t){this.factories=t}static create(t,i){if(i){const r=i.factories.slice();t=t.concat(r)}return new e(t)}static extend(t){return{provide:e,useFactory:i=>e.create(t,i||JE()),deps:[[e,new Xa,new Or]]}}find(t){const i=this.factories.find(r=>r.supports(t));if(i)return i;throw new w(901,!1)}}return e})(),TV=(()=>{class e{constructor(t){}static#e=this.\u0275fac=function(i){return new(i||e)(D(wi))};static#t=this.\u0275mod=Le({type:e});static#n=this.\u0275inj=Re({})}return e})();function zV(e){try{const{rootComponent:n,appProviders:t,platformProviders:i}=e,r=function mV(e=[]){if(Di)return Di;const n=function UE(e=[],n){return ct.create({name:n,providers:[{provide:Eu,useValue:"platform"},{provide:cp,useValue:new Set([()=>Di=null])},...e]})}(e);return Di=n,function kE(){!function wM(e){Ug=e}(()=>{throw new w(600,!1)})}(),function $E(e){e.get(Wy,null)?.forEach(t=>t())}(n),n}(i),o=[lV(),...t||[]],a=new Qb({providers:o,parent:r,debugName:"",runEnvironmentInitializers:!1}).injector,l=a.get(Y);return l.run(()=>{a.resolveInjectorInitializers();const c=a.get(zt,null);let d;l.runOutsideAngular(()=>{d=l.onError.subscribe({next:f=>{c.handleError(f)}})});const u=()=>a.destroy(),h=r.get(cp);return h.add(u),a.onDestroy(()=>{d.unsubscribe(),h.delete(u)}),function FE(e,n,t){try{const i=t();return Cc(i)?i.catch(r=>{throw n.runOutsideAngular(()=>e.handleError(r)),r}):i}catch(i){throw n.runOutsideAngular(()=>e.handleError(i)),i}}(c,l,()=>{const f=a.get(ap);return f.runInitializers(),f.donePromise.then(()=>{!function iD(e){"string"==typeof e&&(nD=e.toLowerCase().replace(/_/g,"-"))}(a.get(Vn,Eo)||Eo);const m=a.get(wi);return void 0!==n&&m.bootstrap(n),m})})})}catch(n){return Promise.reject(n)}}function ft(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function wC(e,n=NaN){return isNaN(parseFloat(e))||isNaN(Number(e))?n:Number(e)}const a2=new C("",{providedIn:"root",factory:()=>T(l2)});let l2=(()=>{class e{static#e=this.\u0275prov=M({token:e,providedIn:"root",factory:()=>new c2})}return e})();class c2{constructor(){this.queuedEffectCount=0,this.queues=new Map,this.pendingTasks=T(Qi),this.taskId=null}scheduleEffect(n){if(this.enqueue(n),null===this.taskId){const t=this.taskId=this.pendingTasks.add();queueMicrotask(()=>{this.flush(),this.pendingTasks.remove(t),this.taskId=null})}}enqueue(n){const t=n.creationZone;this.queues.has(t)||this.queues.set(t,new Set);const i=this.queues.get(t);i.has(n)||(this.queuedEffectCount++,i.add(n))}flush(){for(;this.queuedEffectCount>0;)for(const[n,t]of this.queues)null===n?this.flushQueue(t):n.run(()=>this.flushQueue(t))}flushQueue(n){for(const t of n)n.delete(t),this.queuedEffectCount--,t.run()}}class d2{constructor(n,t,i,r,o,s){this.scheduler=n,this.effectFn=t,this.creationZone=i,this.injector=o,this.watcher=function xM(e,n,t){const i=Object.create(IM);t&&(i.consumerAllowSignalWrites=!0),i.fn=e,i.schedule=n;const r=l=>{i.cleanupFn=l};return i.ref={notify:()=>Pg(i),run:()=>{if(null===i.fn)return;if(function _M(){return Bo}())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(i.dirty=!1,i.hasRun&&!zd(i))return;i.hasRun=!0;const l=Lg(i);try{i.cleanupFn(),i.cleanupFn=Wd,i.fn(r)}finally{Vg(i,l)}},cleanup:()=>i.cleanupFn(),destroy:()=>function s(l){(function o(l){return null===l.fn&&null===l.schedule})(l)||(Bg(l),l.cleanupFn(),l.fn=null,l.schedule=null,l.cleanupFn=Wd)}(i),[ki]:i},i.ref}(a=>this.runEffect(a),()=>this.schedule(),s),this.unregisterOnDestroy=r?.onDestroy(()=>this.destroy())}runEffect(n){try{this.effectFn(n)}catch(t){this.injector.get(zt,null,{optional:!0})?.handleError(t)}}run(){this.watcher.run()}schedule(){this.scheduler.scheduleEffect(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}}function EC(e,n){mn("NgSignals"),!n?.injector&&function sl(e){if(!T_())throw new w(-203,!1)}();const t=n?.injector??T(ct),i=!0!==n?.manualCleanup?t.get(qr):null,r=new d2(t.get(a2),e,typeof Zone>"u"?null:Zone.current,i,t,n?.allowSignalWrites??!1),o=t.get(To,null,{optional:!0});return o&&8&o._lView[R]?(o._lView[ll]??=[]).push(r.watcher.notify):r.watcher.notify(),r}let CC=null;function Ei(){return CC}class f2{}const _e=new C("");let xC=(()=>{class e{historyGo(t){throw new Error("")}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=M({token:e,factory:()=>T(h2),providedIn:"platform"})}return e})(),h2=(()=>{class e extends xC{constructor(){super(),this._doc=T(_e),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Ei().getBaseHref(this._doc)}onPopState(t){const i=Ei().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",t,!1),()=>i.removeEventListener("popstate",t)}onHashChange(t){const i=Ei().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",t,!1),()=>i.removeEventListener("hashchange",t)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(t){this._location.pathname=t}pushState(t,i,r){this._history.pushState(t,i,r)}replaceState(t,i,r){this._history.replaceState(t,i,r)}forward(){this._history.forward()}back(){this._history.back()}historyGo(t=0){this._history.go(t)}getState(){return this._history.state}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=M({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function IC(e,n){if(0==e.length)return n;if(0==n.length)return e;let t=0;return e.endsWith("/")&&t++,n.startsWith("/")&&t++,2==t?e+n.substring(1):1==t?e+n:e+"/"+n}function SC(e){const n=e.match(/#|\?|$/),t=n&&n.index||e.length;return e.slice(0,t-("/"===e[t-1]?1:0))+e.slice(t)}function rr(e){return e&&"?"!==e[0]?"?"+e:e}let yp=(()=>{class e{historyGo(t){throw new Error("")}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=M({token:e,factory:()=>T(m2),providedIn:"root"})}return e})();const p2=new C("");let m2=(()=>{class e extends yp{constructor(t,i){super(),this._platformLocation=t,this._removeListenerFns=[],this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??T(_e).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return IC(this._baseHref,t)}path(t=!1){const i=this._platformLocation.pathname+rr(this._platformLocation.search),r=this._platformLocation.hash;return r&&t?`${i}${r}`:i}pushState(t,i,r,o){const s=this.prepareExternalUrl(r+rr(o));this._platformLocation.pushState(t,i,s)}replaceState(t,i,r,o){const s=this.prepareExternalUrl(r+rr(o));this._platformLocation.replaceState(t,i,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}static#e=this.\u0275fac=function(i){return new(i||e)(D(xC),D(p2,8))};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),MC=(()=>{class e{constructor(t){this._subject=new oe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=t;const i=this._locationStrategy.getBaseHref();this._basePath=function y2(e){if(new RegExp("^(https?:)?//").test(e)){const[,t]=e.split(/\/\/[^\/]+/);return t}return e}(SC(TC(i))),this._locationStrategy.onPopState(r=>{this._subject.emit({url:this.path(!0),pop:!0,state:r.state,type:r.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(t=!1){return this.normalize(this._locationStrategy.path(t))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(t,i=""){return this.path()==this.normalize(t+rr(i))}normalize(t){return e.stripTrailingSlash(function _2(e,n){if(!e||!n.startsWith(e))return n;const t=n.substring(e.length);return""===t||["/",";","?","#"].includes(t[0])?t:n}(this._basePath,TC(t)))}prepareExternalUrl(t){return t&&"/"!==t[0]&&(t="/"+t),this._locationStrategy.prepareExternalUrl(t)}go(t,i="",r=null){this._locationStrategy.pushState(r,"",t,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+rr(i)),r)}replaceState(t,i="",r=null){this._locationStrategy.replaceState(r,"",t,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+rr(i)),r)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(t=0){this._locationStrategy.historyGo?.(t)}onUrlChange(t){return this._urlChangeListeners.push(t),this._urlChangeSubscription??=this.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state)}),()=>{const i=this._urlChangeListeners.indexOf(t);this._urlChangeListeners.splice(i,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(t="",i){this._urlChangeListeners.forEach(r=>r(t,i))}subscribe(t,i,r){return this._subject.subscribe({next:t,error:i,complete:r})}static#e=this.normalizeQueryParams=rr;static#t=this.joinWithSlash=IC;static#n=this.stripTrailingSlash=SC;static#i=this.\u0275fac=function(i){return new(i||e)(D(yp))};static#r=this.\u0275prov=M({token:e,factory:()=>function g2(){return new MC(D(yp))}(),providedIn:"root"})}return e})();function TC(e){return e.replace(/\/index.html$/,"")}function VC(e,n){n=encodeURIComponent(n);for(const t of e.split(";")){const i=t.indexOf("="),[r,o]=-1==i?[t,""]:[t.slice(0,i),t.slice(i+1)];if(r.trim()===n)return decodeURIComponent(o)}return null}const Mp=/\s+/,BC=[];let Tp=(()=>{class e{constructor(t,i){this._ngEl=t,this._renderer=i,this.initialClasses=BC,this.stateMap=new Map}set klass(t){this.initialClasses=null!=t?t.trim().split(Mp):BC}set ngClass(t){this.rawClass="string"==typeof t?t.trim().split(Mp):t}ngDoCheck(){for(const i of this.initialClasses)this._updateState(i,!0);const t=this.rawClass;if(Array.isArray(t)||t instanceof Set)for(const i of t)this._updateState(i,!0);else if(null!=t)for(const i of Object.keys(t))this._updateState(i,!!t[i]);this._applyStateDiff()}_updateState(t,i){const r=this.stateMap.get(t);void 0!==r?(r.enabled!==i&&(r.changed=!0,r.enabled=i),r.touched=!0):this.stateMap.set(t,{enabled:i,changed:!0,touched:!0})}_applyStateDiff(){for(const t of this.stateMap){const i=t[0],r=t[1];r.changed?(this._toggleClass(i,r.enabled),r.changed=!1):r.touched||(r.enabled&&this._toggleClass(i,!1),this.stateMap.delete(i)),r.touched=!1}}_toggleClass(t,i){(t=t.trim()).length>0&&t.split(Mp).forEach(r=>{i?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}static#e=this.\u0275fac=function(i){return new(i||e)(v(Ce),v(_i))};static#t=this.\u0275dir=k({type:e,selectors:[["","ngClass",""]],inputs:{klass:[O.None,"class","klass"],ngClass:"ngClass"},standalone:!0})}return e})();class iB{constructor(n,t,i,r){this.$implicit=n,this.ngForOf=t,this.index=i,this.count=r}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let HC=(()=>{class e{set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}constructor(t,i,r){this._viewContainer=t,this._template=i,this._differs=r,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const t=this._ngForOf;!this._differ&&t&&(this._differ=this._differs.find(t).create(this.ngForTrackBy))}if(this._differ){const t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){const i=this._viewContainer;t.forEachOperation((r,o,s)=>{if(null==r.previousIndex)i.createEmbeddedView(this._template,new iB(r.item,this._ngForOf,-1,-1),null===s?void 0:s);else if(null==s)i.remove(null===o?void 0:o);else if(null!==o){const a=i.get(o);i.move(a,s),UC(a,r)}});for(let r=0,o=i.length;r{UC(i.get(r.currentIndex),r)})}static ngTemplateContextGuard(t,i){return!0}static#e=this.\u0275fac=function(i){return new(i||e)(v(gn),v(kn),v(mp))};static#t=this.\u0275dir=k({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return e})();function UC(e,n){e.context.$implicit=n.item}let Ap=(()=>{class e{constructor(t,i){this._viewContainer=t,this._context=new rB,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=i}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){$C("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){$C("ngIfElse",t),this._elseTemplateRef=t,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(t,i){return!0}static#e=this.\u0275fac=function(i){return new(i||e)(v(gn),v(kn))};static#t=this.\u0275dir=k({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return e})();class rB{constructor(){this.$implicit=null,this.ngIf=null}}function $C(e,n){if(n&&!n.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${Xe(n)}'.`)}let GC=(()=>{class e{constructor(t,i,r){this._ngEl=t,this._differs=i,this._renderer=r,this._ngStyle=null,this._differ=null}set ngStyle(t){this._ngStyle=t,!this._differ&&t&&(this._differ=this._differs.find(t).create())}ngDoCheck(){if(this._differ){const t=this._differ.diff(this._ngStyle);t&&this._applyChanges(t)}}_setStyle(t,i){const[r,o]=t.split("."),s=-1===r.indexOf("-")?void 0:gi.DashCase;null!=i?this._renderer.setStyle(this._ngEl.nativeElement,r,o?`${i}${o}`:i,s):this._renderer.removeStyle(this._ngEl.nativeElement,r,s)}_applyChanges(t){t.forEachRemovedItem(i=>this._setStyle(i.key,null)),t.forEachAddedItem(i=>this._setStyle(i.key,i.currentValue)),t.forEachChangedItem(i=>this._setStyle(i.key,i.currentValue))}static#e=this.\u0275fac=function(i){return new(i||e)(v(Ce),v(Tc),v(_i))};static#t=this.\u0275dir=k({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}return e})(),WC=(()=>{class e{constructor(t){this._viewContainerRef=t,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(t){if(this._shouldRecreateView(t)){const i=this._viewContainerRef;if(this._viewRef&&i.remove(i.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const r=this._createContextForwardProxy();this._viewRef=i.createEmbeddedView(this.ngTemplateOutlet,r,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(t){return!!t.ngTemplateOutlet||!!t.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(t,i,r)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,i,r),get:(t,i,r)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,i,r)}})}static#e=this.\u0275fac=function(i){return new(i||e)(v(gn))};static#t=this.\u0275dir=k({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[fn]})}return e})(),Fp=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Le({type:e});static#n=this.\u0275inj=Re({})}return e})();const YC="browser";function KC(e){return"server"===e}class ZC{}function Ci(e){return this instanceof Ci?(this.v=e,this):new Ci(e)}function lx(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=function jp(e){var n="function"==typeof Symbol&&Symbol.iterator,t=n&&e[n],i=0;if(t)return t.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),t={},i("next"),i("throw"),i("return"),t[Symbol.asyncIterator]=function(){return this},t);function i(o){t[o]=e[o]&&function(s){return new Promise(function(a,l){!function r(o,s,a,l){Promise.resolve(l).then(function(c){o({value:c,done:a})},s)}(a,l,(s=e[o](s)).done,s.value)})}}}"function"==typeof SuppressedError&&SuppressedError;const Hp=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function cx(e){return ae(e?.then)}function dx(e){return ae(e[Jd])}function ux(e){return Symbol.asyncIterator&&ae(e?.[Symbol.asyncIterator])}function fx(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 hx=function Aj(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function px(e){return ae(e?.[hx])}function mx(e){return function ax(e,n,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=t.apply(e,n||[]),o=[];return r={},a("next"),a("throw"),a("return",function s(f){return function(p){return Promise.resolve(p).then(f,u)}}),r[Symbol.asyncIterator]=function(){return this},r;function a(f,p){i[f]&&(r[f]=function(m){return new Promise(function(g,_){o.push([f,m,g,_])>1||l(f,m)})},p&&(r[f]=p(r[f])))}function l(f,p){try{!function c(f){f.value instanceof Ci?Promise.resolve(f.value.v).then(d,u):h(o[0][2],f)}(i[f](p))}catch(m){h(o[0][3],m)}}function d(f){l("next",f)}function u(f){l("throw",f)}function h(f,p){f(p),o.shift(),o.length&&l(o[0][0],o[0][1])}}(this,arguments,function*(){const t=e.getReader();try{for(;;){const{value:i,done:r}=yield Ci(t.read());if(r)return yield Ci(void 0);yield yield Ci(i)}}finally{t.releaseLock()}})}function gx(e){return ae(e?.getReader)}function xt(e){if(e instanceof Ae)return e;if(null!=e){if(dx(e))return function Oj(e){return new Ae(n=>{const t=e[Jd]();if(ae(t.subscribe))return t.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(Hp(e))return function Nj(e){return new Ae(n=>{for(let t=0;t{e.then(t=>{n.closed||(n.next(t),n.complete())},t=>n.error(t)).then(null,Yg)})}(e);if(ux(e))return _x(e);if(px(e))return function kj(e){return new Ae(n=>{for(const t of e)if(n.next(t),n.closed)return;n.complete()})}(e);if(gx(e))return function Fj(e){return _x(mx(e))}(e)}throw fx(e)}function _x(e){return new Ae(n=>{(function Pj(e,n){var t,i,r,o;return function ox(e,n,t,i){return new(t||(t=Promise))(function(o,s){function a(d){try{c(i.next(d))}catch(u){s(u)}}function l(d){try{c(i.throw(d))}catch(u){s(u)}}function c(d){d.done?o(d.value):function r(o){return o instanceof t?o:new t(function(s){s(o)})}(d.value).then(a,l)}c((i=i.apply(e,n||[])).next())})}(this,void 0,void 0,function*(){try{for(t=lx(e);!(i=yield t.next()).done;)if(n.next(i.value),n.closed)return}catch(s){r={error:s}}finally{try{i&&!i.done&&(o=t.return)&&(yield o.call(t))}finally{if(r)throw r.error}}n.complete()})})(e,n).catch(t=>n.error(t))})}function ri(e,n,t,i=0,r=!1){const o=n.schedule(function(){t(),r?e.add(this.schedule(null,i)):this.unsubscribe()},i);if(e.add(o),!r)return o}function yx(e,n=0){return rt((t,i)=>{t.subscribe(We(i,r=>ri(i,e,()=>i.next(r),n),()=>ri(i,e,()=>i.complete(),n),r=>ri(i,e,()=>i.error(r),n)))})}function vx(e,n=0){return rt((t,i)=>{i.add(e.schedule(()=>t.subscribe(i),n))})}function bx(e,n){if(!e)throw new Error("Iterable cannot be null");return new Ae(t=>{ri(t,n,()=>{const i=e[Symbol.asyncIterator]();ri(t,n,()=>{i.next().then(r=>{r.done?t.complete():t.next(r.value)})},0,!0)})})}function or(e,n){return n?function Uj(e,n){if(null!=e){if(dx(e))return function Lj(e,n){return xt(e).pipe(vx(n),yx(n))}(e,n);if(Hp(e))return function Bj(e,n){return new Ae(t=>{let i=0;return n.schedule(function(){i===e.length?t.complete():(t.next(e[i++]),t.closed||this.schedule())})})}(e,n);if(cx(e))return function Vj(e,n){return xt(e).pipe(vx(n),yx(n))}(e,n);if(ux(e))return bx(e,n);if(px(e))return function jj(e,n){return new Ae(t=>{let i;return ri(t,n,()=>{i=e[hx](),ri(t,n,()=>{let r,o;try{({value:r,done:o}=i.next())}catch(s){return void t.error(s)}o?t.complete():t.next(r)},0,!0)}),()=>ae(i?.return)&&i.return()})}(e,n);if(gx(e))return function Hj(e,n){return bx(mx(e),n)}(e,n)}throw fx(e)}(e,n):xt(e)}const{isArray:$j}=Array,{getPrototypeOf:zj,prototype:Gj,keys:Wj}=Object;function wx(e){if(1===e.length){const n=e[0];if($j(n))return{args:n,keys:null};if(function qj(e){return e&&"object"==typeof e&&zj(e)===Gj}(n)){const t=Wj(n);return{args:t.map(i=>n[i]),keys:t}}}return{args:e,keys:null}}function Dx(e){return e&&ae(e.schedule)}function Up(e){return e[e.length-1]}function Ex(e){return ae(Up(e))?e.pop():void 0}function aa(e){return Dx(Up(e))?e.pop():void 0}const{isArray:Kj}=Array;function $p(e){return ot(n=>function Zj(e,n){return Kj(n)?e(...n):e(n)}(e,n))}function Cx(e,n){return e.reduce((t,i,r)=>(t[i]=n[r],t),{})}function xx(...e){const n=Ex(e),{args:t,keys:i}=wx(e),r=new Ae(o=>{const{length:s}=t;if(!s)return void o.complete();const a=new Array(s);let l=s,c=s;for(let d=0;d{u||(u=!0,c--),a[d]=h},()=>l--,void 0,()=>{(!l||!u)&&(c||o.next(i?Cx(i,a):a),o.complete())}))}});return n?r.pipe($p(n)):r}let Ix=(()=>{class e{constructor(t,i){this._renderer=t,this._elementRef=i,this.onChange=r=>{},this.onTouched=()=>{}}setProperty(t,i){this._renderer.setProperty(this._elementRef.nativeElement,t,i)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}static#e=this.\u0275fac=function(i){return new(i||e)(v(_i),v(Ce))};static#t=this.\u0275dir=k({type:e})}return e})(),sr=(()=>{class e extends Ix{static#e=this.\u0275fac=(()=>{let t;return function(r){return(t||(t=lt(e)))(r||e)}})();static#t=this.\u0275dir=k({type:e,features:[ge]})}return e})();const Bn=new C(""),Qj={provide:Bn,useExisting:we(()=>zp),multi:!0},eH=new C("");let zp=(()=>{class e extends Ix{constructor(t,i,r){super(t,i),this._compositionMode=r,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function Jj(){const e=Ei()?Ei().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(t){this.setProperty("value",t??"")}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}static#e=this.\u0275fac=function(i){return new(i||e)(v(_i),v(Ce),v(eH,8))};static#t=this.\u0275dir=k({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,r){1&i&&ce("input",function(s){return r._handleInput(s.target.value)})("blur",function(){return r.onTouched()})("compositionstart",function(){return r._compositionStart()})("compositionend",function(s){return r._compositionEnd(s.target.value)})},features:[ve([Qj]),ge]})}return e})();function xi(e){return null==e||("string"==typeof e||Array.isArray(e))&&0===e.length}function Mx(e){return null!=e&&"number"==typeof e.length}const It=new C(""),Ii=new C(""),tH=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class Kc{static min(n){return function Tx(e){return n=>{if(xi(n.value)||xi(e))return null;const t=parseFloat(n.value);return!isNaN(t)&&t{if(xi(n.value)||xi(e))return null;const t=parseFloat(n.value);return!isNaN(t)&&t>e?{max:{max:e,actual:n.value}}:null}}(n)}static required(n){return Ox(n)}static requiredTrue(n){return function Nx(e){return!0===e.value?null:{required:!0}}(n)}static email(n){return function Rx(e){return xi(e.value)||tH.test(e.value)?null:{email:!0}}(n)}static minLength(n){return function kx(e){return n=>xi(n.value)||!Mx(n.value)?null:n.value.lengthMx(n.value)&&n.value.length>e?{maxlength:{requiredLength:e,actualLength:n.value.length}}:null}(n)}static pattern(n){return function Px(e){if(!e)return Zc;let n,t;return"string"==typeof e?(t="","^"!==e.charAt(0)&&(t+="^"),t+=e,"$"!==e.charAt(e.length-1)&&(t+="$"),n=new RegExp(t)):(t=e.toString(),n=e),i=>{if(xi(i.value))return null;const r=i.value;return n.test(r)?null:{pattern:{requiredPattern:t,actualValue:r}}}}(n)}static nullValidator(n){return null}static compose(n){return Ux(n)}static composeAsync(n){return $x(n)}}function Ox(e){return xi(e.value)?{required:!0}:null}function Zc(e){return null}function Lx(e){return null!=e}function Vx(e){return Cc(e)?or(e):e}function Bx(e){let n={};return e.forEach(t=>{n=null!=t?{...n,...t}:n}),0===Object.keys(n).length?null:n}function jx(e,n){return n.map(t=>t(e))}function Hx(e){return e.map(n=>function nH(e){return!e.validate}(n)?n:t=>n.validate(t))}function Ux(e){if(!e)return null;const n=e.filter(Lx);return 0==n.length?null:function(t){return Bx(jx(t,n))}}function Gp(e){return null!=e?Ux(Hx(e)):null}function $x(e){if(!e)return null;const n=e.filter(Lx);return 0==n.length?null:function(t){return xx(jx(t,n).map(Vx)).pipe(ot(Bx))}}function Wp(e){return null!=e?$x(Hx(e)):null}function zx(e,n){return null===e?[n]:Array.isArray(e)?[...e,n]:[e,n]}function Gx(e){return e._rawValidators}function Wx(e){return e._rawAsyncValidators}function qp(e){return e?Array.isArray(e)?e:[e]:[]}function Xc(e,n){return Array.isArray(e)?e.includes(n):e===n}function qx(e,n){const t=qp(n);return qp(e).forEach(r=>{Xc(t,r)||t.push(r)}),t}function Yx(e,n){return qp(n).filter(t=>!Xc(e,t))}class Kx{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(n){this._rawValidators=n||[],this._composedValidatorFn=Gp(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=Wp(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(n){this._onDestroyCallbacks.push(n)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(n=>n()),this._onDestroyCallbacks=[]}reset(n=void 0){this.control&&this.control.reset(n)}hasError(n,t){return!!this.control&&this.control.hasError(n,t)}getError(n,t){return this.control?this.control.getError(n,t):null}}class Rt extends Kx{get formDirective(){return null}get path(){return null}}class oi extends Kx{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Zx{constructor(n){this._cd=n}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let Xx=(()=>{class e extends Zx{constructor(t){super(t)}static#e=this.\u0275fac=function(i){return new(i||e)(v(oi,2))};static#t=this.\u0275dir=k({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,r){2&i&&Dt("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:[ge]})}return e})(),Qx=(()=>{class e extends Zx{constructor(t){super(t)}static#e=this.\u0275fac=function(i){return new(i||e)(v(Rt,10))};static#t=this.\u0275dir=k({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(i,r){2&i&&Dt("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)("ng-submitted",r.isSubmitted)},features:[ge]})}return e})();const la="VALID",Jc="INVALID",No="PENDING",ca="DISABLED";function Zp(e){return(ed(e)?e.validators:e)||null}function Xp(e,n){return(ed(n)?n.asyncValidators:e)||null}function ed(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}function eI(e,n,t){const i=e.controls;if(!(n?Object.keys(i):i).length)throw new w(1e3,"");if(!i[t])throw new w(1001,"")}function tI(e,n,t){e._forEachChild((i,r)=>{if(void 0===t[r])throw new w(1002,"")})}class td{constructor(n,t){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(n),this._assignAsyncValidators(t)}get validator(){return this._composedValidatorFn}set validator(n){this._rawValidators=this._composedValidatorFn=n}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(n){this._rawAsyncValidators=this._composedAsyncValidatorFn=n}get parent(){return this._parent}get valid(){return this.status===la}get invalid(){return this.status===Jc}get pending(){return this.status==No}get disabled(){return this.status===ca}get enabled(){return this.status!==ca}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._assignValidators(n)}setAsyncValidators(n){this._assignAsyncValidators(n)}addValidators(n){this.setValidators(qx(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(qx(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(Yx(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(Yx(n,this._rawAsyncValidators))}hasValidator(n){return Xc(this._rawValidators,n)}hasAsyncValidator(n){return Xc(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){this.touched=!0,this._parent&&!n.onlySelf&&this._parent.markAsTouched(n)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(n=>n.markAllAsTouched())}markAsUntouched(n={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(t=>{t.markAsUntouched({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}markAsDirty(n={}){this.pristine=!1,this._parent&&!n.onlySelf&&this._parent.markAsDirty(n)}markAsPristine(n={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(t=>{t.markAsPristine({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}markAsPending(n={}){this.status=No,!1!==n.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!n.onlySelf&&this._parent.markAsPending(n)}disable(n={}){const t=this._parentMarkedDirty(n.onlySelf);this.status=ca,this.errors=null,this._forEachChild(i=>{i.disable({...n,onlySelf:!0})}),this._updateValue(),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...n,skipPristineCheck:t}),this._onDisabledChange.forEach(i=>i(!0))}enable(n={}){const t=this._parentMarkedDirty(n.onlySelf);this.status=la,this._forEachChild(i=>{i.enable({...n,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors({...n,skipPristineCheck:t}),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(n){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===la||this.status===No)&&this._runAsyncValidator(n.emitEvent)),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity(n)}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?ca:la}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n){if(this.asyncValidator){this.status=No,this._hasOwnPendingAsyncValidator=!0;const t=Vx(this.asyncValidator(this));this._asyncValidationSubscription=t.subscribe(i=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(i,{emitEvent:n})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(n,t={}){this.errors=n,this._updateControlsErrors(!1!==t.emitEvent)}get(n){let t=n;return null==t||(Array.isArray(t)||(t=t.split(".")),0===t.length)?null:t.reduce((i,r)=>i&&i._find(r),this)}getError(n,t){const i=t?this.get(t):this;return i&&i.errors?i.errors[n]:null}hasError(n,t){return!!this.getError(n,t)}get root(){let n=this;for(;n._parent;)n=n._parent;return n}_updateControlsErrors(n){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(n)}_initObservables(){this.valueChanges=new oe,this.statusChanges=new oe}_calculateStatus(){return this._allControlsDisabled()?ca:this.errors?Jc:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(No)?No:this._anyControlsHaveStatus(Jc)?Jc:la}_anyControlsHaveStatus(n){return this._anyControls(t=>t.status===n)}_anyControlsDirty(){return this._anyControls(n=>n.dirty)}_anyControlsTouched(){return this._anyControls(n=>n.touched)}_updatePristine(n={}){this.pristine=!this._anyControlsDirty(),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}_updateTouched(n={}){this.touched=this._anyControlsTouched(),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){ed(n)&&null!=n.updateOn&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){return!n&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(n){return null}_assignValidators(n){this._rawValidators=Array.isArray(n)?n.slice():n,this._composedValidatorFn=function sH(e){return Array.isArray(e)?Gp(e):e||null}(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=function aH(e){return Array.isArray(e)?Wp(e):e||null}(this._rawAsyncValidators)}}class da extends td{constructor(n,t,i){super(Zp(t),Xp(i,t)),this.controls=n,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(n,t){return this.controls[n]?this.controls[n]:(this.controls[n]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}addControl(n,t,i={}){this.registerControl(n,t),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}removeControl(n,t={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}setControl(n,t,i={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],t&&this.registerControl(n,t),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}contains(n){return this.controls.hasOwnProperty(n)&&this.controls[n].enabled}setValue(n,t={}){tI(this,0,n),Object.keys(n).forEach(i=>{eI(this,!0,i),this.controls[i].setValue(n[i],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(n,t={}){null!=n&&(Object.keys(n).forEach(i=>{const r=this.controls[i];r&&r.patchValue(n[i],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(n={},t={}){this._forEachChild((i,r)=>{i.reset(n?n[r]:null,{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this._reduceChildren({},(n,t,i)=>(n[i]=t.getRawValue(),n))}_syncPendingControls(){let n=this._reduceChildren(!1,(t,i)=>!!i._syncPendingControls()||t);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){Object.keys(this.controls).forEach(t=>{const i=this.controls[t];i&&n(i,t)})}_setUpControls(){this._forEachChild(n=>{n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(n){for(const[t,i]of Object.entries(this.controls))if(this.contains(t)&&n(i))return!0;return!1}_reduceValue(){return this._reduceChildren({},(t,i,r)=>((i.enabled||this.disabled)&&(t[r]=i.value),t))}_reduceChildren(n,t){let i=n;return this._forEachChild((r,o)=>{i=t(i,r,o)}),i}_allControlsDisabled(){for(const n of Object.keys(this.controls))if(this.controls[n].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(n){return this.controls.hasOwnProperty(n)?this.controls[n]:null}}class nI extends da{}const Ro=new C("CallSetDisabledState",{providedIn:"root",factory:()=>nd}),nd="always";function ua(e,n,t=nd){Qp(e,n),n.valueAccessor.writeValue(e.value),(e.disabled||"always"===t)&&n.valueAccessor.setDisabledState?.(e.disabled),function cH(e,n){n.valueAccessor.registerOnChange(t=>{e._pendingValue=t,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&iI(e,n)})}(e,n),function uH(e,n){const t=(i,r)=>{n.valueAccessor.writeValue(i),r&&n.viewToModelUpdate(i)};e.registerOnChange(t),n._registerOnDestroy(()=>{e._unregisterOnChange(t)})}(e,n),function dH(e,n){n.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&iI(e,n),"submit"!==e.updateOn&&e.markAsTouched()})}(e,n),function lH(e,n){if(n.valueAccessor.setDisabledState){const t=i=>{n.valueAccessor.setDisabledState(i)};e.registerOnDisabledChange(t),n._registerOnDestroy(()=>{e._unregisterOnDisabledChange(t)})}}(e,n)}function rd(e,n,t=!0){const i=()=>{};n.valueAccessor&&(n.valueAccessor.registerOnChange(i),n.valueAccessor.registerOnTouched(i)),sd(e,n),e&&(n._invokeOnDestroyCallbacks(),e._registerOnCollectionChange(()=>{}))}function od(e,n){e.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(n)})}function Qp(e,n){const t=Gx(e);null!==n.validator?e.setValidators(zx(t,n.validator)):"function"==typeof t&&e.setValidators([t]);const i=Wx(e);null!==n.asyncValidator?e.setAsyncValidators(zx(i,n.asyncValidator)):"function"==typeof i&&e.setAsyncValidators([i]);const r=()=>e.updateValueAndValidity();od(n._rawValidators,r),od(n._rawAsyncValidators,r)}function sd(e,n){let t=!1;if(null!==e){if(null!==n.validator){const r=Gx(e);if(Array.isArray(r)&&r.length>0){const o=r.filter(s=>s!==n.validator);o.length!==r.length&&(t=!0,e.setValidators(o))}}if(null!==n.asyncValidator){const r=Wx(e);if(Array.isArray(r)&&r.length>0){const o=r.filter(s=>s!==n.asyncValidator);o.length!==r.length&&(t=!0,e.setAsyncValidators(o))}}}const i=()=>{};return od(n._rawValidators,i),od(n._rawAsyncValidators,i),t}function iI(e,n){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function rI(e,n){Qp(e,n)}function oI(e,n){e._syncPendingControls(),n.forEach(t=>{const i=t.control;"submit"===i.updateOn&&i._pendingChange&&(t.viewToModelUpdate(i._pendingValue),i._pendingChange=!1)})}const gH={provide:Rt,useExisting:we(()=>ad)},fa=Promise.resolve();let ad=(()=>{class e extends Rt{constructor(t,i,r){super(),this.callSetDisabledState=r,this.submitted=!1,this._directives=new Set,this.ngSubmit=new oe,this.form=new da({},Gp(t),Wp(i))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){fa.then(()=>{const i=this._findContainer(t.path);t.control=i.registerControl(t.name,t.control),ua(t.control,t,this.callSetDisabledState),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(t)})}getControl(t){return this.form.get(t.path)}removeControl(t){fa.then(()=>{const i=this._findContainer(t.path);i&&i.removeControl(t.name),this._directives.delete(t)})}addFormGroup(t){fa.then(()=>{const i=this._findContainer(t.path),r=new da({});rI(r,t),i.registerControl(t.name,r),r.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(t){fa.then(()=>{const i=this._findContainer(t.path);i&&i.removeControl(t.name)})}getFormGroup(t){return this.form.get(t.path)}updateModel(t,i){fa.then(()=>{this.form.get(t.path).setValue(i)})}setValue(t){this.control.setValue(t)}onSubmit(t){return this.submitted=!0,oI(this.form,this._directives),this.ngSubmit.emit(t),"dialog"===t?.target?.method}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(t){return t.pop(),t.length?this.form.get(t):this.form}static#e=this.\u0275fac=function(i){return new(i||e)(v(It,10),v(Ii,10),v(Ro,8))};static#t=this.\u0275dir=k({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(i,r){1&i&&ce("submit",function(s){return r.onSubmit(s)})("reset",function(){return r.onReset()})},inputs:{options:[O.None,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[ve([gH]),ge]})}return e})();function sI(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}function aI(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}const ha=class extends td{constructor(n=null,t,i){super(Zp(t),Xp(i,t)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(n),this._setUpdateStrategy(t),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),ed(t)&&(t.nonNullable||t.initialValueIsDefault)&&(this.defaultValue=aI(n)?n.value:n)}setValue(n,t={}){this.value=this._pendingValue=n,this._onChange.length&&!1!==t.emitModelToViewChange&&this._onChange.forEach(i=>i(this.value,!1!==t.emitViewToModelChange)),this.updateValueAndValidity(t)}patchValue(n,t={}){this.setValue(n,t)}reset(n=this.defaultValue,t={}){this._applyFormState(n),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){sI(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){sI(this._onDisabledChange,n)}_forEachChild(n){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(n){aI(n)?(this.value=this._pendingValue=n.value,n.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=n}};Promise.resolve();let fI=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275dir=k({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}return e})();const nm=new C(""),xH={provide:Rt,useExisting:we(()=>pa)};let pa=(()=>{class e extends Rt{constructor(t,i,r){super(),this.callSetDisabledState=r,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new oe,this._setValidators(t),this._setAsyncValidators(i)}ngOnChanges(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(sd(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(t){const i=this.form.get(t.path);return ua(i,t,this.callSetDisabledState),i.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),i}getControl(t){return this.form.get(t.path)}removeControl(t){rd(t.control||null,t,!1),function mH(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}(this.directives,t)}addFormGroup(t){this._setUpFormContainer(t)}removeFormGroup(t){this._cleanUpFormContainer(t)}getFormGroup(t){return this.form.get(t.path)}addFormArray(t){this._setUpFormContainer(t)}removeFormArray(t){this._cleanUpFormContainer(t)}getFormArray(t){return this.form.get(t.path)}updateModel(t,i){this.form.get(t.path).setValue(i)}onSubmit(t){return this.submitted=!0,oI(this.form,this.directives),this.ngSubmit.emit(t),"dialog"===t?.target?.method}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this.submitted=!1}_updateDomValue(){this.directives.forEach(t=>{const i=t.control,r=this.form.get(t.path);i!==r&&(rd(i||null,t),(e=>e instanceof ha)(r)&&(ua(r,t,this.callSetDisabledState),t.control=r))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(t){const i=this.form.get(t.path);rI(i,t),i.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(t){if(this.form){const i=this.form.get(t.path);i&&function fH(e,n){return sd(e,n)}(i,t)&&i.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Qp(this.form,this),this._oldForm&&sd(this._oldForm,this)}_checkFormPresent(){}static#e=this.\u0275fac=function(i){return new(i||e)(v(It,10),v(Ii,10),v(Ro,8))};static#t=this.\u0275dir=k({type:e,selectors:[["","formGroup",""]],hostBindings:function(i,r){1&i&&ce("submit",function(s){return r.onSubmit(s)})("reset",function(){return r.onReset()})},inputs:{form:[O.None,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[ve([xH]),ge,fn]})}return e})();const MH={provide:oi,useExisting:we(()=>om)};let om=(()=>{class e extends oi{set isDisabled(t){}static#e=this._ngModelWarningSentOnce=!1;constructor(t,i,r,o,s){super(),this._ngModelWarningConfig=s,this._added=!1,this.name=null,this.update=new oe,this._ngModelWarningSent=!1,this._parent=t,this._setValidators(i),this._setAsyncValidators(r),this.valueAccessor=function tm(e,n){if(!n)return null;let t,i,r;return Array.isArray(n),n.forEach(o=>{o.constructor===zp?t=o:function pH(e){return Object.getPrototypeOf(e.constructor)===sr}(o)?i=o:r=o}),r||i||t||null}(0,o)}ngOnChanges(t){this._added||this._setUpControl(),function em(e,n){if(!e.hasOwnProperty("model"))return!1;const t=e.model;return!!t.isFirstChange()||!Object.is(n,t.currentValue)}(t,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}get path(){return function id(e,n){return[...n.path,e]}(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}static#t=this.\u0275fac=function(i){return new(i||e)(v(Rt,13),v(It,10),v(Ii,10),v(Bn,10),v(nm,8))};static#n=this.\u0275dir=k({type:e,selectors:[["","formControlName",""]],inputs:{name:[O.None,"formControlName","name"],isDisabled:[O.None,"disabled","isDisabled"],model:[O.None,"ngModel","model"]},outputs:{update:"ngModelChange"},features:[ve([MH]),ge,fn]})}return e})(),ar=(()=>{class e{constructor(){this._validator=Zc}ngOnChanges(t){if(this.inputName in t){const i=this.normalizeInput(t[this.inputName].currentValue);this._enabled=this.enabled(i),this._validator=this._enabled?this.createValidator(i):Zc,this._onChange&&this._onChange()}}validate(t){return this._validator(t)}registerOnValidatorChange(t){this._onChange=t}enabled(t){return null!=t}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275dir=k({type:e,features:[fn]})}return e})();const LH={provide:It,useExisting:we(()=>ld),multi:!0};let ld=(()=>{class e extends ar{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=ft,this.createValidator=t=>Ox}enabled(t){return t}static#e=this.\u0275fac=(()=>{let t;return function(r){return(t||(t=lt(e)))(r||e)}})();static#t=this.\u0275dir=k({type:e,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(i,r){2&i&&wt("required",r._enabled?"":null)},inputs:{required:"required"},features:[ve([LH]),ge]})}return e})(),$H=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Le({type:e});static#n=this.\u0275inj=Re({})}return e})();class TI extends td{constructor(n,t,i){super(Zp(t),Xp(i,t)),this.controls=n,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(n){return this.controls[this._adjustIndex(n)]}push(n,t={}){this.controls.push(n),this._registerControl(n),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}insert(n,t,i={}){this.controls.splice(n,0,t),this._registerControl(t),this.updateValueAndValidity({emitEvent:i.emitEvent})}removeAt(n,t={}){let i=this._adjustIndex(n);i<0&&(i=0),this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),this.controls.splice(i,1),this.updateValueAndValidity({emitEvent:t.emitEvent})}setControl(n,t,i={}){let r=this._adjustIndex(n);r<0&&(r=0),this.controls[r]&&this.controls[r]._registerOnCollectionChange(()=>{}),this.controls.splice(r,1),t&&(this.controls.splice(r,0,t),this._registerControl(t)),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(n,t={}){tI(this,0,n),n.forEach((i,r)=>{eI(this,!1,r),this.at(r).setValue(i,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(n,t={}){null!=n&&(n.forEach((i,r)=>{this.at(r)&&this.at(r).patchValue(i,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(n=[],t={}){this._forEachChild((i,r)=>{i.reset(n[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this.controls.map(n=>n.getRawValue())}clear(n={}){this.controls.length<1||(this._forEachChild(t=>t._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:n.emitEvent}))}_adjustIndex(n){return n<0?n+this.length:n}_syncPendingControls(){let n=this.controls.reduce((t,i)=>!!i._syncPendingControls()||t,!1);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){this.controls.forEach((t,i)=>{n(t,i)})}_updateValue(){this.value=this.controls.filter(n=>n.enabled||this.disabled).map(n=>n.value)}_anyControls(n){return this.controls.some(t=>t.enabled&&n(t))}_setUpControls(){this._forEachChild(n=>this._registerControl(n))}_allControlsDisabled(){for(const n of this.controls)if(n.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(n){n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)}_find(n){return this.at(n)??null}}function AI(e){return!!e&&(void 0!==e.asyncValidators||void 0!==e.validators||void 0!==e.updateOn)}let zH=(()=>{class e{constructor(){this.useNonNullable=!1}get nonNullable(){const t=new e;return t.useNonNullable=!0,t}group(t,i=null){const r=this._reduceControls(t);let o={};return AI(i)?o=i:null!==i&&(o.validators=i.validator,o.asyncValidators=i.asyncValidator),new da(r,o)}record(t,i=null){const r=this._reduceControls(t);return new nI(r,i)}control(t,i,r){let o={};return this.useNonNullable?(AI(i)?o=i:(o.validators=i,o.asyncValidators=r),new ha(t,{...o,nonNullable:!0})):new ha(t,i,r)}array(t,i,r){const o=t.map(s=>this._createControl(s));return new TI(o,i,r)}_reduceControls(t){const i={};return Object.keys(t).forEach(r=>{i[r]=this._createControl(t[r])}),i}_createControl(t){return t instanceof ha||t instanceof td?t:Array.isArray(t)?this.control(t[0],t.length>1?t[1]:null,t.length>2?t[2]:null):this.control(t)}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),GH=(()=>{class e extends zH{group(t,i=null){return super.group(t,i)}control(t,i,r){return super.control(t,i,r)}array(t,i,r){return super.array(t,i,r)}static#e=this.\u0275fac=(()=>{let t;return function(r){return(t||(t=lt(e)))(r||e)}})();static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),OI=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:nm,useValue:t.warnOnNgModelWithFormControl??"always"},{provide:Ro,useValue:t.callSetDisabledState??nd}]}}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Le({type:e});static#n=this.\u0275inj=Re({imports:[$H]})}return e})();const WH=new C("cdk-dir-doc",{providedIn:"root",factory:function qH(){return T(_e)}}),YH=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let lm,cd=(()=>{class e{constructor(t){this.value="ltr",this.change=new oe,t&&(this.value=function KH(e){const n=e?.toLowerCase()||"";return"auto"===n&&typeof navigator<"u"&&navigator?.language?YH.test(navigator.language)?"rtl":"ltr":"rtl"===n?"rtl":"ltr"}((t.body?t.body.dir:null)||(t.documentElement?t.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}static#e=this.\u0275fac=function(i){return new(i||e)(D(WH,8))};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),ma=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Le({type:e});static#n=this.\u0275inj=Re({})}return e})();try{lm=typeof Intl<"u"&&Intl.v8BreakIterator}catch{lm=!1}let ga,lr,si=(()=>{class e{constructor(t){this._platformId=t,this.isBrowser=this._platformId?function kB(e){return e===YC}(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!lm)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}static#e=this.\u0275fac=function(i){return new(i||e)(D(mi))};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function dd(e){return function ZH(){if(null==ga&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>ga=!0}))}finally{ga=ga||!1}return ga}()?e:!!e.capture}function XH(){if(null==lr){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return lr=!1,lr;if("scrollBehavior"in document.documentElement.style)lr=!0;else{const e=Element.prototype.scrollTo;lr=!!e&&!/\{\s*\[native code\]\s*\}/.test(e.toString())}}return lr}function fd(e){return e.composedPath?e.composedPath()[0]:e.target}function dm(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}function ya(e,n,t=1/0){return ae(n)?ya((i,r)=>ot((o,s)=>n(i,o,r,s))(xt(e(i,r))),t):("number"==typeof n&&(t=n),rt((i,r)=>function JH(e,n,t,i,r,o,s,a){const l=[];let c=0,d=0,u=!1;const h=()=>{u&&!l.length&&!c&&n.complete()},f=m=>c{o&&n.next(m),c++;let g=!1;xt(t(m,d++)).subscribe(We(n,_=>{r?.(_),o?f(_):n.next(_)},()=>{g=!0},void 0,()=>{if(g)try{for(c--;l.length&&cp(_)):p(_)}h()}catch(_){n.error(_)}}))};return e.subscribe(We(n,f,()=>{u=!0,h()})),()=>{a?.()}}(i,r,e,t)))}function RI(e=1/0){return ya(Cr,e)}const um=new Ae(e=>e.complete());function va(...e){const n=aa(e),t=function Yj(e,n){return"number"==typeof Up(e)?e.pop():n}(e,1/0),i=e;return i.length?1===i.length?xt(i[0]):RI(t)(or(i,n)):um}function ht(e){return rt((n,t)=>{xt(e).subscribe(We(t,()=>t.complete(),Yd)),!t.closed&&n.subscribe(t)})}function En(e,n){return rt((t,i)=>{let r=0;t.subscribe(We(i,o=>e.call(n,o,r++)&&i.next(o)))})}const fm={now:()=>(fm.delegate||Date).now(),delegate:void 0};class tU extends te{constructor(n=1/0,t=1/0,i=fm){super(),this._bufferSize=n,this._windowTime=t,this._timestampProvider=i,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=t===1/0,this._bufferSize=Math.max(1,n),this._windowTime=Math.max(1,t)}next(n){const{isStopped:t,_buffer:i,_infiniteTimeWindow:r,_timestampProvider:o,_windowTime:s}=this;t||(i.push(n),!r&&i.push(o.now()+s)),this._trimBuffer(),super.next(n)}_subscribe(n){this._throwIfClosed(),this._trimBuffer();const t=this._innerSubscribe(n),{_infiniteTimeWindow:i,_buffer:r}=this,o=r.slice();for(let s=0;snew te),resetOnError:t=!0,resetOnComplete:i=!0,resetOnRefCountZero:r=!0}=e;return o=>{let s,a,l,c=0,d=!1,u=!1;const h=()=>{a?.unsubscribe(),a=void 0},f=()=>{h(),s=l=void 0,d=u=!1},p=()=>{const m=s;f(),m?.unsubscribe()};return rt((m,g)=>{c++,!u&&!d&&h();const _=l=l??n();g.add(()=>{c--,0===c&&!u&&!d&&(a=hm(p,r))}),_.subscribe(g),!s&&c>0&&(s=new Ho({next:y=>_.next(y),error:y=>{u=!0,h(),a=hm(f,t,y),_.error(y)},complete:()=>{d=!0,h(),a=hm(f,i),_.complete()}}),xt(m).subscribe(s))})(o)}}function hm(e,n,...t){if(!0===n)return void e();if(!1===n)return;const i=new Ho({next:()=>{i.unsubscribe(),e()}});return xt(n(...t)).subscribe(i)}class iU{constructor(n){this._box=n,this._destroyed=new te,this._resizeSubject=new te,this._elementObservables=new Map,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(t=>this._resizeSubject.next(t)))}observe(n){return this._elementObservables.has(n)||this._elementObservables.set(n,new Ae(t=>{const i=this._resizeSubject.subscribe(t);return this._resizeObserver?.observe(n,{box:this._box}),()=>{this._resizeObserver?.unobserve(n),i.unsubscribe(),this._elementObservables.delete(n)}}).pipe(En(t=>t.some(i=>i.target===n)),function nU(e,n,t){let i,r=!1;return e&&"object"==typeof e?({bufferSize:i=1/0,windowTime:n=1/0,refCount:r=!1,scheduler:t}=e):i=e??1/0,kI({connector:()=>new tU(i,n,t),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:r})}({bufferSize:1,refCount:!0}),ht(this._destroyed))),this._elementObservables.get(n)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}}let rU=(()=>{class e{constructor(){this._observers=new Map,this._ngZone=T(Y)}ngOnDestroy(){for(const[,t]of this._observers)t.destroy();this._observers.clear()}observe(t,i){const r=i?.box||"content-box";return this._observers.has(r)||this._observers.set(r,new iU(r)),this._observers.get(r).observe(t)}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function hd(e){return Array.isArray(e)?e:[e]}function Ze(e){return null==e?"":"string"==typeof e?e:`${e}px`}function pm(e){return e instanceof Ce?e.nativeElement:e}var U=function(e){return e[e.State=0]="State",e[e.Transition=1]="Transition",e[e.Sequence=2]="Sequence",e[e.Group=3]="Group",e[e.Animate=4]="Animate",e[e.Keyframes=5]="Keyframes",e[e.Style=6]="Style",e[e.Trigger=7]="Trigger",e[e.Reference=8]="Reference",e[e.AnimateChild=9]="AnimateChild",e[e.AnimateRef=10]="AnimateRef",e[e.Query=11]="Query",e[e.Stagger=12]="Stagger",e}(U||{});const ai="*";function mm(e,n){return{type:U.Trigger,name:e,definitions:n,options:{}}}function gm(e,n=null){return{type:U.Animate,styles:n,timings:e}}function cr(e){return{type:U.Style,styles:e,offset:null}}function FI(e,n,t){return{type:U.State,name:e,styles:n,options:t}}function pd(e,n,t=null){return{type:U.Transition,expr:e,animation:n,options:t}}function lU(e=null){return{type:U.AnimateChild,options:e}}function cU(e,n,t=null){return{type:U.Query,selector:e,animation:n,options:t}}class ba{constructor(n=0,t=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=n+t}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}onStart(n){this._originalOnStartFns.push(n),this._onStartFns.push(n)}onDone(n){this._originalOnDoneFns.push(n),this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(n=>n()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(n){this._position=this.totalTime?n*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(n){const t="start"==n?this._onStartFns:this._onDoneFns;t.forEach(i=>i()),t.length=0}}class PI{constructor(n){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=n;let t=0,i=0,r=0;const o=this.players.length;0==o?queueMicrotask(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++t==o&&this._onFinish()}),s.onDestroy(()=>{++i==o&&this._onDestroy()}),s.onStart(()=>{++r==o&&this._onStart()})}),this.totalTime=this.players.reduce((s,a)=>Math.max(s,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}init(){this.players.forEach(n=>n.init())}onStart(n){this._onStartFns.push(n)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(n=>n()),this._onStartFns=[])}onDone(n){this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(n=>n.play())}pause(){this.players.forEach(n=>n.pause())}restart(){this.players.forEach(n=>n.restart())}finish(){this._onFinish(),this.players.forEach(n=>n.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(n=>n.destroy()),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this.players.forEach(n=>n.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(n){const t=n*this.totalTime;this.players.forEach(i=>{const r=i.totalTime?Math.min(1,t/i.totalTime):1;i.setPosition(r)})}getPosition(){const n=this.players.reduce((t,i)=>null===t||i.totalTime>t.totalTime?i:t,null);return null!=n?n.getPosition():0}beforeDestroy(){this.players.forEach(n=>{n.beforeDestroy&&n.beforeDestroy()})}triggerCallback(n){const t="start"==n?this._onStartFns:this._onDoneFns;t.forEach(i=>i()),t.length=0}}let pU=(()=>{class e{create(t){return typeof MutationObserver>"u"?null:new MutationObserver(t)}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),mU=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Le({type:e});static#n=this.\u0275inj=Re({providers:[pU]})}return e})();function wa(e,...n){return n.length?n.some(t=>e[t]):e.altKey||e.shiftKey||e.ctrlKey||e.metaKey}function md(e,n,t){const i=ae(e)||n||t?{next:e,error:n,complete:t}:e;return i?rt((r,o)=>{var s;null===(s=i.subscribe)||void 0===s||s.call(i);let a=!0;r.subscribe(We(o,l=>{var c;null===(c=i.next)||void 0===c||c.call(i,l),o.next(l)},()=>{var l;a=!1,null===(l=i.complete)||void 0===l||l.call(i),o.complete()},l=>{var c;a=!1,null===(c=i.error)||void 0===c||c.call(i,l),o.error(l)},()=>{var l,c;a&&(null===(l=i.unsubscribe)||void 0===l||l.call(i)),null===(c=i.finalize)||void 0===c||c.call(i)}))}):Cr}class AU extends Pe{constructor(n,t){super()}schedule(n,t=0){return this}}const gd={setInterval(e,n,...t){const{delegate:i}=gd;return i?.setInterval?i.setInterval(e,n,...t):setInterval(e,n,...t)},clearInterval(e){const{delegate:n}=gd;return(n?.clearInterval||clearInterval)(e)},delegate:void 0};class Dm extends AU{constructor(n,t){super(n,t),this.scheduler=n,this.work=t,this.pending=!1}schedule(n,t=0){var i;if(this.closed)return this;this.state=n;const r=this.id,o=this.scheduler;return null!=r&&(this.id=this.recycleAsyncId(o,r,t)),this.pending=!0,this.delay=t,this.id=null!==(i=this.id)&&void 0!==i?i:this.requestAsyncId(o,this.id,t),this}requestAsyncId(n,t,i=0){return gd.setInterval(n.flush.bind(n,this),i)}recycleAsyncId(n,t,i=0){if(null!=i&&this.delay===i&&!1===this.pending)return t;null!=t&&gd.clearInterval(t)}execute(n,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const i=this._execute(n,t);if(i)return i;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(n,t){let r,i=!1;try{this.work(n)}catch(o){i=!0,r=o||new Error("Scheduled action threw falsy error")}if(i)return this.unsubscribe(),r}unsubscribe(){if(!this.closed){const{id:n,scheduler:t}=this,{actions:i}=t;this.work=this.state=this.scheduler=null,this.pending=!1,ja(i,this),null!=n&&(this.id=this.recycleAsyncId(t,n,null)),this.delay=null,super.unsubscribe()}}}class Da{constructor(n,t=Da.now){this.schedulerActionCtor=n,this.now=t}schedule(n,t=0,i){return new this.schedulerActionCtor(this,n).schedule(i,t)}}Da.now=fm.now;class Em extends Da{constructor(n,t=Da.now){super(n,t),this.actions=[],this._active=!1}flush(n){const{actions:t}=this;if(this._active)return void t.push(n);let i;this._active=!0;do{if(i=n.execute(n.state,n.delay))break}while(n=t.shift());if(this._active=!1,i){for(;n=t.shift();)n.unsubscribe();throw i}}}const Ea=new Em(Dm),OU=Ea;function jI(e,n=Ea){return rt((t,i)=>{let r=null,o=null,s=null;const a=()=>{if(r){r.unsubscribe(),r=null;const c=o;o=null,i.next(c)}};function l(){const c=s+e,d=n.now();if(d{o=c,s=n.now(),r||(r=n.schedule(l,e),i.add(r))},()=>{a(),i.complete()},void 0,()=>{o=r=null}))})}function jn(e){return e<=0?()=>um:rt((n,t)=>{let i=0;n.subscribe(We(t,r=>{++i<=e&&(t.next(r),e<=i&&t.complete())}))})}function HI(e,n,t){e?ri(t,e,n):n()}function Cm(...e){return function kU(){return RI(1)}()(or(e,aa(e)))}function xm(...e){const n=aa(e);return rt((t,i)=>{(n?Cm(e,t,n):Cm(e,t)).subscribe(i)})}const UI=new Set;let dr,PU=(()=>{class e{constructor(t,i){this._platform=t,this._nonce=i,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):VU}matchMedia(t){return(this._platform.WEBKIT||this._platform.BLINK)&&function LU(e,n){if(!UI.has(e))try{dr||(dr=document.createElement("style"),n&&dr.setAttribute("nonce",n),dr.setAttribute("type","text/css"),document.head.appendChild(dr)),dr.sheet&&(dr.sheet.insertRule(`@media ${e} {body{ }}`,0),UI.add(e))}catch(t){console.error(t)}}(t,this._nonce),this._matchMedia(t)}static#e=this.\u0275fac=function(i){return new(i||e)(D(si),D(df,8))};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function VU(e){return{matches:"all"===e||""===e,media:e,addListener:()=>{},removeListener:()=>{}}}let BU=(()=>{class e{constructor(t,i){this._mediaMatcher=t,this._zone=i,this._queries=new Map,this._destroySubject=new te}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(t){return $I(hd(t)).some(r=>this._registerQuery(r).mql.matches)}observe(t){let o=function NU(...e){const n=aa(e),t=Ex(e),{args:i,keys:r}=wx(e);if(0===i.length)return or([],n);const o=new Ae(function RU(e,n,t=Cr){return i=>{HI(n,()=>{const{length:r}=e,o=new Array(r);let s=r,a=r;for(let l=0;l{const c=or(e[l],n);let d=!1;c.subscribe(We(i,u=>{o[l]=u,d||(d=!0,a--),a||i.next(t(o.slice()))},()=>{--s||i.complete()}))},i)},i)}}(i,n,r?s=>Cx(r,s):Cr));return t?o.pipe($p(t)):o}($I(hd(t)).map(s=>this._registerQuery(s).observable));return o=Cm(o.pipe(jn(1)),o.pipe(function FU(e){return En((n,t)=>e<=t)}(1),jI(0))),o.pipe(ot(s=>{const a={matches:!1,breakpoints:{}};return s.forEach(({matches:l,query:c})=>{a.matches=a.matches||l,a.breakpoints[c]=l}),a}))}_registerQuery(t){if(this._queries.has(t))return this._queries.get(t);const i=this._mediaMatcher.matchMedia(t),o={observable:new Ae(s=>{const a=l=>this._zone.run(()=>s.next(l));return i.addListener(a),()=>{i.removeListener(a)}}).pipe(xm(i),ot(({matches:s})=>({query:t,matches:s})),ht(this._destroySubject)),mql:i};return this._queries.set(t,o),o}static#e=this.\u0275fac=function(i){return new(i||e)(D(PU),D(Y))};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function $I(e){return e.map(n=>n.split(",")).reduce((n,t)=>n.concat(t)).map(n=>n.trim())}function GI(e,n,t){const i=WI(e,n);t=t.trim();const r=i.filter(o=>o!==t);r.length?e.setAttribute(n,r.join(" ")):e.removeAttribute(n)}function WI(e,n){return e.getAttribute(n)?.match(/\S+/g)??[]}class qI{constructor(n,t){this._items=n,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new te,this._typeaheadSubscription=Pe.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=i=>i.disabled,this._pressedLetters=[],this.tabOut=new te,this.change=new te,n instanceof as?this._itemChangesSubscription=n.changes.subscribe(i=>this._itemsChanged(i.toArray())):tc(n)&&(this._effectRef=EC(()=>this._itemsChanged(n()),{injector:t}))}skipPredicate(n){return this._skipPredicateFn=n,this}withWrap(n=!0){return this._wrap=n,this}withVerticalOrientation(n=!0){return this._vertical=n,this}withHorizontalOrientation(n){return this._horizontal=n,this}withAllowedModifierKeys(n){return this._allowedModifierKeys=n,this}withTypeAhead(n=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(md(t=>this._pressedLetters.push(t)),jI(n),En(()=>this._pressedLetters.length>0),ot(()=>this._pressedLetters.join(""))).subscribe(t=>{const i=this._getItemsArray();for(let r=1;r!n[o]||this._allowedModifierKeys.indexOf(o)>-1);switch(t){case 9:return void this.tabOut.next();case 40:if(this._vertical&&r){this.setNextItemActive();break}return;case 38:if(this._vertical&&r){this.setPreviousItemActive();break}return;case 39:if(this._horizontal&&r){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case 37:if(this._horizontal&&r){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case 36:if(this._homeAndEnd&&r){this.setFirstItemActive();break}return;case 35:if(this._homeAndEnd&&r){this.setLastItemActive();break}return;case 33:if(this._pageUpAndDown.enabled&&r){const o=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(o>0?o:0,1);break}return;case 34:if(this._pageUpAndDown.enabled&&r){const o=this._activeItemIndex+this._pageUpAndDown.delta,s=this._getItemsArray().length;this._setActiveItemByIndex(o=65&&t<=90||t>=48&&t<=57)&&this._letterKeyStream.next(String.fromCharCode(t))))}this._pressedLetters=[],n.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._getItemsArray().length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(n){const t=this._getItemsArray(),i="number"==typeof n?n:t.indexOf(n);this._activeItem=t[i]??null,this._activeItemIndex=i}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._effectRef?.destroy(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(n){this._wrap?this._setActiveInWrapMode(n):this._setActiveInDefaultMode(n)}_setActiveInWrapMode(n){const t=this._getItemsArray();for(let i=1;i<=t.length;i++){const r=(this._activeItemIndex+n*i+t.length)%t.length;if(!this._skipPredicateFn(t[r]))return void this.setActiveItem(r)}}_setActiveInDefaultMode(n){this._setActiveItemByIndex(this._activeItemIndex+n,n)}_setActiveItemByIndex(n,t){const i=this._getItemsArray();if(i[n]){for(;this._skipPredicateFn(i[n]);)if(!i[n+=t])return;this.setActiveItem(n)}}_getItemsArray(){return tc(this._items)?this._items():this._items instanceof as?this._items.toArray():this._items}_itemsChanged(n){if(this._activeItem){const t=n.indexOf(this._activeItem);t>-1&&t!==this._activeItemIndex&&(this._activeItemIndex=t)}}}class $U extends qI{setActiveItem(n){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(n),this.activeItem&&this.activeItem.setActiveStyles()}}const QU=new C("liveAnnouncerElement",{providedIn:"root",factory:function JU(){return null}}),e$=new C("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let t$=0,n$=(()=>{class e{constructor(t,i,r,o){this._ngZone=i,this._defaultOptions=o,this._document=r,this._liveElement=t||this._createLiveElement()}announce(t,...i){const r=this._defaultOptions;let o,s;return 1===i.length&&"number"==typeof i[0]?s=i[0]:[o,s]=i,this.clear(),clearTimeout(this._previousTimeout),o||(o=r&&r.politeness?r.politeness:"polite"),null==s&&r&&(s=r.duration),this._liveElement.setAttribute("aria-live",o),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(a=>this._currentResolve=a)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=t,"number"==typeof s&&(this._previousTimeout=setTimeout(()=>this.clear(),s)),this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){const t="cdk-live-announcer-element",i=this._document.getElementsByClassName(t),r=this._document.createElement("div");for(let o=0;o .cdk-overlay-container [aria-modal="true"]');for(let r=0;r{class e{constructor(t,i){this._platform=t,this._document=i,this._breakpointSubscription=T(BU).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return ur.NONE;const t=this._document.createElement("div");t.style.backgroundColor="rgb(1,2,3)",t.style.position="absolute",this._document.body.appendChild(t);const i=this._document.defaultView||window,r=i&&i.getComputedStyle?i.getComputedStyle(t):null,o=(r&&r.backgroundColor||"").replace(/ /g,"");switch(t.remove(),o){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return ur.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return ur.BLACK_ON_WHITE}return ur.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const t=this._document.body.classList;t.remove(Im,KI,ZI),this._hasCheckedHighContrastMode=!0;const i=this.getHighContrastMode();i===ur.BLACK_ON_WHITE?t.add(Im,KI):i===ur.WHITE_ON_BLACK&&t.add(Im,ZI)}}static#e=this.\u0275fac=function(i){return new(i||e)(D(si),D(_e))};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const o$=["text"],s$=[[["mat-icon"]],"*"],a$=["mat-icon","*"];function l$(e,n){if(1&e&&ut(0,"mat-pseudo-checkbox",1),2&e){const t=ee();q("disabled",t.disabled)("state",t.selected?"checked":"unchecked")}}function c$(e,n){1&e&&ut(0,"mat-pseudo-checkbox",3),2&e&&q("disabled",ee().disabled)}function d$(e,n){if(1&e&&(S(0,"span",4),de(1),I()),2&e){const t=ee();L(),ei("(",t.group.label,")")}}const f$=new C("mat-sanity-checks",{providedIn:"root",factory:function u$(){return!0}});let Hn=(()=>{class e{constructor(t,i,r){this._sanityChecks=i,this._document=r,this._hasDoneGlobalChecks=!1,t._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(t){return!dm()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[t])}static#e=this.\u0275fac=function(i){return new(i||e)(D(r$),D(f$,8),D(_e))};static#t=this.\u0275mod=Le({type:e});static#n=this.\u0275inj=Re({imports:[ma,ma]})}return e})();class JI{constructor(n,t,i,r,o){this._defaultMatcher=n,this.ngControl=t,this._parentFormGroup=i,this._parentForm=r,this._stateChanges=o,this.errorState=!1}updateErrorState(){const n=this.errorState,t=this._parentFormGroup||this._parentForm,i=this.matcher||this._defaultMatcher,r=this.ngControl?this.ngControl.control:null,o=i?.isErrorState(r,t)??!1;o!==n&&(this.errorState=o,this._stateChanges.next())}}let y$=(()=>{class e{isErrorState(t,i){return!!(t&&t.invalid&&(t.touched||i&&i.submitted))}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var tn=function(e){return e[e.FADING_IN=0]="FADING_IN",e[e.VISIBLE=1]="VISIBLE",e[e.FADING_OUT=2]="FADING_OUT",e[e.HIDDEN=3]="HIDDEN",e}(tn||{});class v${constructor(n,t,i,r=!1){this._renderer=n,this.element=t,this.config=i,this._animationForciblyDisabledThroughCss=r,this.state=tn.HIDDEN}fadeOut(){this._renderer.fadeOutRipple(this)}}const e0=dd({passive:!0,capture:!0});class b${constructor(){this._events=new Map,this._delegateEventHandler=n=>{const t=fd(n);t&&this._events.get(n.type)?.forEach((i,r)=>{(r===t||r.contains(t))&&i.forEach(o=>o.handleEvent(n))})}}addHandler(n,t,i,r){const o=this._events.get(t);if(o){const s=o.get(i);s?s.add(r):o.set(i,new Set([r]))}else this._events.set(t,new Map([[i,new Set([r])]])),n.runOutsideAngular(()=>{document.addEventListener(t,this._delegateEventHandler,e0)})}removeHandler(n,t,i){const r=this._events.get(n);if(!r)return;const o=r.get(t);o&&(o.delete(i),0===o.size&&r.delete(t),0===r.size&&(this._events.delete(n),document.removeEventListener(n,this._delegateEventHandler,e0)))}}const t0={enterDuration:225,exitDuration:150},n0=dd({passive:!0,capture:!0}),r0=["mousedown","touchstart"],o0=["mouseup","mouseleave","touchend","touchcancel"];class _d{static#e=this._eventManager=new b$;constructor(n,t,i,r){this._target=n,this._ngZone=t,this._platform=r,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,r.isBrowser&&(this._containerElement=pm(i))}fadeInRipple(n,t,i={}){const r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o={...t0,...i.animation};i.centered&&(n=r.left+r.width/2,t=r.top+r.height/2);const s=i.radius||function D$(e,n,t){const i=Math.max(Math.abs(e-t.left),Math.abs(e-t.right)),r=Math.max(Math.abs(n-t.top),Math.abs(n-t.bottom));return Math.sqrt(i*i+r*r)}(n,t,r),a=n-r.left,l=t-r.top,c=o.enterDuration,d=document.createElement("div");d.classList.add("mat-ripple-element"),d.style.left=a-s+"px",d.style.top=l-s+"px",d.style.height=2*s+"px",d.style.width=2*s+"px",null!=i.color&&(d.style.backgroundColor=i.color),d.style.transitionDuration=`${c}ms`,this._containerElement.appendChild(d);const u=window.getComputedStyle(d),f=u.transitionDuration,p="none"===u.transitionProperty||"0s"===f||"0s, 0s"===f||0===r.width&&0===r.height,m=new v$(this,d,i,p);d.style.transform="scale3d(1, 1, 1)",m.state=tn.FADING_IN,i.persistent||(this._mostRecentTransientRipple=m);let g=null;return!p&&(c||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const _=()=>this._finishRippleTransition(m),y=()=>this._destroyRipple(m);d.addEventListener("transitionend",_),d.addEventListener("transitioncancel",y),g={onTransitionEnd:_,onTransitionCancel:y}}),this._activeRipples.set(m,g),(p||!c)&&this._finishRippleTransition(m),m}fadeOutRipple(n){if(n.state===tn.FADING_OUT||n.state===tn.HIDDEN)return;const t=n.element,i={...t0,...n.config.animation};t.style.transitionDuration=`${i.exitDuration}ms`,t.style.opacity="0",n.state=tn.FADING_OUT,(n._animationForciblyDisabledThroughCss||!i.exitDuration)&&this._finishRippleTransition(n)}fadeOutAll(){this._getActiveRipples().forEach(n=>n.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(n=>{n.config.persistent||n.fadeOut()})}setupTriggerEvents(n){const t=pm(n);!this._platform.isBrowser||!t||t===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=t,r0.forEach(i=>{_d._eventManager.addHandler(this._ngZone,i,t,this)}))}handleEvent(n){"mousedown"===n.type?this._onMousedown(n):"touchstart"===n.type?this._onTouchStart(n):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{o0.forEach(t=>{this._triggerElement.addEventListener(t,this,n0)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(n){n.state===tn.FADING_IN?this._startFadeOutTransition(n):n.state===tn.FADING_OUT&&this._destroyRipple(n)}_startFadeOutTransition(n){const t=n===this._mostRecentTransientRipple,{persistent:i}=n.config;n.state=tn.VISIBLE,!i&&(!t||!this._isPointerDown)&&n.fadeOut()}_destroyRipple(n){const t=this._activeRipples.get(n)??null;this._activeRipples.delete(n),this._activeRipples.size||(this._containerRect=null),n===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),n.state=tn.HIDDEN,null!==t&&(n.element.removeEventListener("transitionend",t.onTransitionEnd),n.element.removeEventListener("transitioncancel",t.onTransitionCancel)),n.element.remove()}_onMousedown(n){const t=function ZU(e){return 0===e.buttons||0===e.detail}(n),i=this._lastTouchStartEvent&&Date.now(){!n.config.persistent&&(n.state===tn.VISIBLE||n.config.terminateOnPointerUp&&n.state===tn.FADING_IN)&&n.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const n=this._triggerElement;n&&(r0.forEach(t=>_d._eventManager.removeHandler(t,n,this)),this._pointerUpEventsRegistered&&(o0.forEach(t=>n.removeEventListener(t,this,n0)),this._pointerUpEventsRegistered=!1))}}const E$=new C("mat-ripple-global-options");let C$=(()=>{class e{get disabled(){return this._disabled}set disabled(t){t&&this.fadeOutAllNonPersistent(),this._disabled=t,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(t){this._trigger=t,this._setupTriggerEventsIfEnabled()}constructor(t,i,r,o,s){this._elementRef=t,this._animationMode=s,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=o||{},this._rippleRenderer=new _d(this,i,t,r)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:{...this._globalOptions.animation,..."NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{},...this.animation},terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(t,i=0,r){return"number"==typeof t?this._rippleRenderer.fadeInRipple(t,i,{...this.rippleConfig,...r}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...t})}static#e=this.\u0275fac=function(i){return new(i||e)(v(Ce),v(Y),v(si),v(E$,8),v(Kr,8))};static#t=this.\u0275dir=k({type:e,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(i,r){2&i&&Dt("mat-ripple-unbounded",r.unbounded)},inputs:{color:[O.None,"matRippleColor","color"],unbounded:[O.None,"matRippleUnbounded","unbounded"],centered:[O.None,"matRippleCentered","centered"],radius:[O.None,"matRippleRadius","radius"],animation:[O.None,"matRippleAnimation","animation"],disabled:[O.None,"matRippleDisabled","disabled"],trigger:[O.None,"matRippleTrigger","trigger"]},exportAs:["matRipple"],standalone:!0})}return e})(),x$=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Le({type:e});static#n=this.\u0275inj=Re({imports:[Hn,Hn]})}return e})(),I$=(()=>{class e{constructor(t){this._animationMode=t,this.state="unchecked",this.disabled=!1,this.appearance="full"}static#e=this.\u0275fac=function(i){return new(i||e)(v(Kr,8))};static#t=this.\u0275cmp=Yn({type:e,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(i,r){2&i&&Dt("mat-pseudo-checkbox-indeterminate","indeterminate"===r.state)("mat-pseudo-checkbox-checked","checked"===r.state)("mat-pseudo-checkbox-disabled",r.disabled)("mat-pseudo-checkbox-minimal","minimal"===r.appearance)("mat-pseudo-checkbox-full","full"===r.appearance)("_mat-animation-noopable","NoopAnimations"===r._animationMode)},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},standalone:!0,features:[ti],decls:0,vars:0,template:function(i,r){},styles:['.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-minimal-pseudo-checkbox-selected-checkmark-color)}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color)}.mat-pseudo-checkbox-full{border-color:var(--mat-full-pseudo-checkbox-unselected-icon-color);border-width:2px;border-style:solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled{border-color:var(--mat-full-pseudo-checkbox-disabled-unselected-icon-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{background-color:var(--mat-full-pseudo-checkbox-selected-icon-color);border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-full-pseudo-checkbox-selected-checkmark-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background-color:var(--mat-full-pseudo-checkbox-disabled-selected-icon-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-full-pseudo-checkbox-disabled-selected-checkmark-color)}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}'],encapsulation:2,changeDetection:0})}return e})(),S$=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Le({type:e});static#n=this.\u0275inj=Re({imports:[Hn]})}return e})();const s0=new C("MAT_OPTION_PARENT_COMPONENT"),a0=new C("MatOptgroup");let M$=0;class T${constructor(n,t=!1){this.source=n,this.isUserInput=t}}let l0=(()=>{class e{get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(t){this._disabled=t}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get hideSingleSelectionIndicator(){return!(!this._parent||!this._parent.hideSingleSelectionIndicator)}constructor(t,i,r,o){this._element=t,this._changeDetectorRef=i,this._parent=r,this.group=o,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+M$++,this.onSelectionChange=new oe,this._stateChanges=new te}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(t=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),t&&this._emitSelectionChangeEvent())}deselect(t=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),t&&this._emitSelectionChangeEvent())}focus(t,i){const r=this._getHostElement();"function"==typeof r.focus&&r.focus(i)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(t){(13===t.keyCode||32===t.keyCode)&&!wa(t)&&(this._selectViaInteraction(),t.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const t=this.viewValue;t!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=t)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(t=!1){this.onSelectionChange.emit(new T$(this,t))}static#e=this.\u0275fac=function(i){return new(i||e)(v(Ce),v(To),v(s0,8),v(a0,8))};static#t=this.\u0275cmp=Yn({type:e,selectors:[["mat-option"]],viewQuery:function(i,r){if(1&i&&Ct(o$,7),2&i){let o;Ie(o=Se())&&(r._text=o.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(i,r){1&i&&ce("click",function(){return r._selectViaInteraction()})("keydown",function(s){return r._handleKeydown(s)}),2&i&&(Us("id",r.id),wt("aria-selected",r.selected)("aria-disabled",r.disabled.toString()),Dt("mdc-list-item--selected",r.selected)("mat-mdc-option-multiple",r.multiple)("mat-mdc-option-active",r.active)("mdc-list-item--disabled",r.disabled))},inputs:{value:"value",id:"id",disabled:[O.HasDecoratorInputTransform,"disabled","disabled",ft]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],standalone:!0,features:[Fs,ti],ngContentSelectors:a$,decls:8,vars:5,consts:[["text",""],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],[1,"mdc-list-item__primary-text"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled"]],template:function(i,r){1&i&&(Co(s$),J(0,l$,1,2,"mat-pseudo-checkbox",1),Et(1),S(2,"span",2,0),Et(4,1),I(),J(5,c$,1,1,"mat-pseudo-checkbox",3)(6,d$,2,1,"span",4),ut(7,"div",5)),2&i&&(nt(0,r.multiple?0:-1),L(5),nt(5,r.multiple||!r.selected||r.hideSingleSelectionIndicator?-1:5),L(),nt(6,r.group&&r.group._inert?6:-1),L(),q("matRippleTrigger",r._getHostElement())("matRippleDisabled",r.disabled||r.disableRipple))},dependencies:[I$,C$],styles:['.mat-mdc-option{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color);font-family:var(--mat-option-label-text-font);line-height:var(--mat-option-label-text-line-height);font-size:var(--mat-option-label-text-size);letter-spacing:var(--mat-option-label-text-tracking);font-weight:var(--mat-option-label-text-weight);min-height:48px}.mat-mdc-option:focus{outline:none}[dir=rtl] .mat-mdc-option,.mat-mdc-option[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color)}.mat-mdc-option:focus.mdc-list-item,.mat-mdc-option.mat-mdc-option-active.mdc-list-item{background-color:var(--mat-option-focus-state-layer-color)}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled) .mdc-list-item__primary-text{color:var(--mat-option-selected-state-label-text-color)}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple){background-color:var(--mat-option-selected-state-layer-color)}.mat-mdc-option.mdc-list-item{align-items:center;background:rgba(0,0,0,0)}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox,.mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text,.mat-mdc-option.mdc-list-item--disabled>mat-icon{opacity:.38}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}.cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{right:auto;left:16px}.mat-mdc-option-multiple{--mdc-list-list-item-selected-container-color:var(--mdc-list-list-item-container-color, transparent)}.mat-mdc-option-active .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}return e})(),Sm=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Le({type:e});static#n=this.\u0275inj=Re({imports:[x$,Hn,S$]})}return e})();const N$=["notch"],R$=["matFormFieldNotchedOutline",""],k$=["*"],F$=["textField"],P$=["iconPrefixContainer"],L$=["textPrefixContainer"],V$=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],B$=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];function j$(e,n){1&e&&ut(0,"span",17)}function H$(e,n){if(1&e&&(S(0,"label",16),Et(1,1),J(2,j$,1,0,"span",17),I()),2&e){const t=ee(2);q("floating",t._shouldLabelFloat())("monitorResize",t._hasOutline())("id",t._labelId),wt("for",t._control.disableAutomaticLabeling?null:t._control.id),L(2),nt(2,!t.hideRequiredMarker&&t._control.required?2:-1)}}function U$(e,n){1&e&&J(0,H$,3,5,"label",16),2&e&&nt(0,ee()._hasFloatingLabel()?0:-1)}function $$(e,n){1&e&&ut(0,"div",5)}function z$(e,n){}function G$(e,n){1&e&&J(0,z$,0,0,"ng-template",11),2&e&&(ee(2),q("ngTemplateOutlet",xo(1)))}function W$(e,n){if(1&e&&(S(0,"div",7),J(1,G$,1,1,null,11),I()),2&e){const t=ee();q("matFormFieldNotchedOutlineOpen",t._shouldLabelFloat()),L(),nt(1,t._forceDisplayInfixLabel()?-1:1)}}function q$(e,n){1&e&&(S(0,"div",8,2),Et(2,2),I())}function Y$(e,n){1&e&&(S(0,"div",9,3),Et(2,3),I())}function K$(e,n){}function Z$(e,n){1&e&&J(0,K$,0,0,"ng-template",11),2&e&&(ee(),q("ngTemplateOutlet",xo(1)))}function X$(e,n){1&e&&(S(0,"div",12),Et(1,4),I())}function Q$(e,n){1&e&&(S(0,"div",13),Et(1,5),I())}function J$(e,n){1&e&&ut(0,"div",14)}function e3(e,n){1&e&&(S(0,"div",18),Et(1,6),I()),2&e&&q("@transitionMessages",ee()._subscriptAnimationState)}function t3(e,n){if(1&e&&(S(0,"mat-hint",20),de(1),I()),2&e){const t=ee(2);q("id",t._hintLabelId),L(),Ks(t.hintLabel)}}function n3(e,n){if(1&e&&(S(0,"div",19),J(1,t3,2,2,"mat-hint",20),Et(2,7),ut(3,"div",21),Et(4,8),I()),2&e){const t=ee();q("@transitionMessages",t._subscriptAnimationState),L(),nt(1,t.hintLabel?1:-1)}}let Mm=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275dir=k({type:e,selectors:[["mat-label"]],standalone:!0})}return e})(),i3=0;const c0=new C("MatError");let r3=(()=>{class e{constructor(t,i){this.id="mat-mdc-error-"+i3++,t||i.nativeElement.setAttribute("aria-live","polite")}static#e=this.\u0275fac=function(i){return new(i||e)(Gi("aria-live"),v(Ce))};static#t=this.\u0275dir=k({type:e,selectors:[["mat-error"],["","matError",""]],hostAttrs:["aria-atomic","true",1,"mat-mdc-form-field-error","mat-mdc-form-field-bottom-align"],hostVars:1,hostBindings:function(i,r){2&i&&Us("id",r.id)},inputs:{id:"id"},standalone:!0,features:[ve([{provide:c0,useExisting:e}])]})}return e})(),o3=0,d0=(()=>{class e{constructor(){this.align="start",this.id="mat-mdc-hint-"+o3++}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275dir=k({type:e,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(i,r){2&i&&(Us("id",r.id),wt("align",null),Dt("mat-mdc-form-field-hint-end","end"===r.align))},inputs:{align:"align",id:"id"},standalone:!0})}return e})();const s3=new C("MatPrefix"),a3=new C("MatSuffix"),u0=new C("FloatingLabelParent");let f0=(()=>{class e{get floating(){return this._floating}set floating(t){this._floating=t,this.monitorResize&&this._handleResize()}get monitorResize(){return this._monitorResize}set monitorResize(t){this._monitorResize=t,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}constructor(t){this._elementRef=t,this._floating=!1,this._monitorResize=!1,this._resizeObserver=T(rU),this._ngZone=T(Y),this._parent=T(u0),this._resizeSubscription=new Pe}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return function l3(e){if(null!==e.offsetParent)return e.scrollWidth;const t=e.cloneNode(!0);t.style.setProperty("position","absolute"),t.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(t);const i=t.scrollWidth;return t.remove(),i}(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}_handleResize(){setTimeout(()=>this._parent._handleLabelResized())}_subscribeToResize(){this._resizeSubscription.unsubscribe(),this._ngZone.runOutsideAngular(()=>{this._resizeSubscription=this._resizeObserver.observe(this._elementRef.nativeElement,{box:"border-box"}).subscribe(()=>this._handleResize())})}static#e=this.\u0275fac=function(i){return new(i||e)(v(Ce))};static#t=this.\u0275dir=k({type:e,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(i,r){2&i&&Dt("mdc-floating-label--float-above",r.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"},standalone:!0})}return e})();const h0="mdc-line-ripple--active",yd="mdc-line-ripple--deactivating";let p0=(()=>{class e{constructor(t,i){this._elementRef=t,this._handleTransitionEnd=r=>{const o=this._elementRef.nativeElement.classList,s=o.contains(yd);"opacity"===r.propertyName&&s&&o.remove(h0,yd)},i.runOutsideAngular(()=>{t.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){const t=this._elementRef.nativeElement.classList;t.remove(yd),t.add(h0)}deactivate(){this._elementRef.nativeElement.classList.add(yd)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}static#e=this.\u0275fac=function(i){return new(i||e)(v(Ce),v(Y))};static#t=this.\u0275dir=k({type:e,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"],standalone:!0})}return e})(),m0=(()=>{class e{constructor(t,i){this._elementRef=t,this._ngZone=i,this.open=!1}ngAfterViewInit(){const t=this._elementRef.nativeElement.querySelector(".mdc-floating-label");t?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),"function"==typeof requestAnimationFrame&&(t.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>t.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(t){this._notch.nativeElement.style.width=this.open&&t?`calc(${t}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`:""}static#e=this.\u0275fac=function(i){return new(i||e)(v(Ce),v(Y))};static#t=this.\u0275cmp=Yn({type:e,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(i,r){if(1&i&&Ct(N$,5),2&i){let o;Ie(o=Se())&&(r._notch=o.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(i,r){2&i&&Dt("mdc-notched-outline--notched",r.open)},inputs:{open:[O.None,"matFormFieldNotchedOutlineOpen","open"]},standalone:!0,features:[ti],attrs:R$,ngContentSelectors:k$,decls:5,vars:0,consts:[["notch",""],[1,"mdc-notched-outline__leading"],[1,"mdc-notched-outline__notch"],[1,"mdc-notched-outline__trailing"]],template:function(i,r){1&i&&(Co(),ut(0,"div",1),S(1,"div",2,0),Et(3),I(),ut(4,"div",3))},encapsulation:2,changeDetection:0})}return e})();const c3={transitionMessages:mm("transitionMessages",[FI("enter",cr({opacity:1,transform:"translateY(0%)"})),pd("void => enter",[cr({opacity:0,transform:"translateY(-5px)"}),gm("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let g0=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275dir=k({type:e})}return e})();const _0=new C("MatFormField"),d3=new C("MAT_FORM_FIELD_DEFAULT_OPTIONS");let y0=0,h3=(()=>{class e{get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(t){this._hideRequiredMarker=function oU(e){return null!=e&&"false"!=`${e}`}(t)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||"auto"}set floatLabel(t){t!==this._floatLabel&&(this._floatLabel=t,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(t){const i=this._appearance;this._appearance=t||this._defaults?.appearance||"fill","outline"===this._appearance&&this._appearance!==i&&(this._needsOutlineLabelOffsetUpdateOnStable=!0)}get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||"fixed"}set subscriptSizing(t){this._subscriptSizing=t||this._defaults?.subscriptSizing||"fixed"}get hintLabel(){return this._hintLabel}set hintLabel(t){this._hintLabel=t,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(t){this._explicitFormFieldControl=t}constructor(t,i,r,o,s,a,l,c){this._elementRef=t,this._changeDetectorRef=i,this._ngZone=r,this._dir=o,this._platform=s,this._defaults=a,this._animationMode=l,this._hideRequiredMarker=!1,this.color="primary",this._appearance="fill",this._subscriptSizing=null,this._hintLabel="",this._hasIconPrefix=!1,this._hasTextPrefix=!1,this._hasIconSuffix=!1,this._hasTextSuffix=!1,this._labelId="mat-mdc-form-field-label-"+y0++,this._hintLabelId="mat-mdc-hint-"+y0++,this._subscriptAnimationState="",this._destroyed=new te,this._isFocused=null,this._needsOutlineLabelOffsetUpdateOnStable=!1,a&&(a.appearance&&(this.appearance=a.appearance),this._hideRequiredMarker=!!a?.hideRequiredMarker,a.color&&(this.color=a.color))}ngAfterViewInit(){this._updateFocusState(),this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeControl(),this._initializeSubscript(),this._initializePrefixAndSuffix(),this._initializeOutlineLabelOffsetSubscriptions()}ngAfterContentChecked(){this._assertFormFieldControl()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(){const t=this._control;t.controlType&&this._elementRef.nativeElement.classList.add(`mat-mdc-form-field-type-${t.controlType}`),t.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),t.ngControl&&t.ngControl.valueChanges&&t.ngControl.valueChanges.pipe(ht(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck())}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(t=>!t._isText),this._hasTextPrefix=!!this._prefixChildren.find(t=>t._isText),this._hasIconSuffix=!!this._suffixChildren.find(t=>!t._isText),this._hasTextSuffix=!!this._suffixChildren.find(t=>t._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),va(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){}_updateFocusState(){this._control.focused&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!this._control.focused&&(this._isFocused||null===this._isFocused)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",this._control.focused)}_initializeOutlineLabelOffsetSubscriptions(){this._prefixChildren.changes.subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(ht(this._destroyed)).subscribe(()=>{this._needsOutlineLabelOffsetUpdateOnStable&&(this._needsOutlineLabelOffsetUpdateOnStable=!1,this._updateOutlineLabelOffset())})}),this._dir.change.pipe(ht(this._destroyed)).subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0)}_shouldAlwaysFloat(){return"always"===this.floatLabel}_hasOutline(){return"outline"===this.appearance}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel(){return!!this._labelChildNonStatic||!!this._labelChildStatic}_shouldLabelFloat(){return this._control.shouldLabelFloat||this._shouldAlwaysFloat()}_shouldForward(t){const i=this._control?this._control.ngControl:null;return i&&i[t]}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth()}_refreshOutlineNotchWidth(){this._hasOutline()&&this._floatingLabel&&this._shouldLabelFloat()?this._notchedOutline?._setNotchWidth(this._floatingLabel.getWidth()):this._notchedOutline?._setNotchWidth(0)}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_syncDescribedByIds(){if(this._control){let t=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&t.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const i=this._hintChildren?this._hintChildren.find(o=>"start"===o.align):null,r=this._hintChildren?this._hintChildren.find(o=>"end"===o.align):null;i?t.push(i.id):this._hintLabel&&t.push(this._hintLabelId),r&&t.push(r.id)}else this._errorChildren&&t.push(...this._errorChildren.map(i=>i.id));this._control.setDescribedByIds(t)}}_updateOutlineLabelOffset(){if(!this._platform.isBrowser||!this._hasOutline()||!this._floatingLabel)return;const t=this._floatingLabel.element;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return void(t.style.transform="");if(!this._isAttachedToDom())return void(this._needsOutlineLabelOffsetUpdateOnStable=!0);const i=this._iconPrefixContainer?.nativeElement,r=this._textPrefixContainer?.nativeElement,o=i?.getBoundingClientRect().width??0,s=r?.getBoundingClientRect().width??0;t.style.transform=`var(\n --mat-mdc-form-field-label-transform,\n translateY(-50%) translateX(calc(${"rtl"===this._dir.value?"-1":"1"} * (${o+s}px + var(--mat-mdc-form-field-label-offset-x, 0px))))\n )`}_isAttachedToDom(){const t=this._elementRef.nativeElement;if(t.getRootNode){const i=t.getRootNode();return i&&i!==t}return document.documentElement.contains(t)}static#e=this.\u0275fac=function(i){return new(i||e)(v(Ce),v(To),v(Y),v(cd),v(si),v(d3,8),v(Kr,8),v(_e))};static#t=this.\u0275cmp=Yn({type:e,selectors:[["mat-form-field"]],contentQueries:function(i,r,o){if(1&i&&(bn(o,Mm,5),bn(o,Mm,7),bn(o,g0,5),bn(o,s3,5),bn(o,a3,5),bn(o,c0,5),bn(o,d0,5)),2&i){let s;Ie(s=Se())&&(r._labelChildNonStatic=s.first),Ie(s=Se())&&(r._labelChildStatic=s.first),Ie(s=Se())&&(r._formFieldControl=s.first),Ie(s=Se())&&(r._prefixChildren=s),Ie(s=Se())&&(r._suffixChildren=s),Ie(s=Se())&&(r._errorChildren=s),Ie(s=Se())&&(r._hintChildren=s)}},viewQuery:function(i,r){if(1&i&&(Ct(F$,5),Ct(P$,5),Ct(L$,5),Ct(f0,5),Ct(m0,5),Ct(p0,5)),2&i){let o;Ie(o=Se())&&(r._textField=o.first),Ie(o=Se())&&(r._iconPrefixContainer=o.first),Ie(o=Se())&&(r._textPrefixContainer=o.first),Ie(o=Se())&&(r._floatingLabel=o.first),Ie(o=Se())&&(r._notchedOutline=o.first),Ie(o=Se())&&(r._lineRipple=o.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(i,r){2&i&&Dt("mat-mdc-form-field-label-always-float",r._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",r._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",r._hasIconSuffix)("mat-form-field-invalid",r._control.errorState)("mat-form-field-disabled",r._control.disabled)("mat-form-field-autofilled",r._control.autofilled)("mat-form-field-no-animations","NoopAnimations"===r._animationMode)("mat-form-field-appearance-fill","fill"==r.appearance)("mat-form-field-appearance-outline","outline"==r.appearance)("mat-form-field-hide-placeholder",r._hasFloatingLabel()&&!r._shouldLabelFloat())("mat-focused",r._control.focused)("mat-primary","accent"!==r.color&&"warn"!==r.color)("mat-accent","accent"===r.color)("mat-warn","warn"===r.color)("ng-untouched",r._shouldForward("untouched"))("ng-touched",r._shouldForward("touched"))("ng-pristine",r._shouldForward("pristine"))("ng-dirty",r._shouldForward("dirty"))("ng-valid",r._shouldForward("valid"))("ng-invalid",r._shouldForward("invalid"))("ng-pending",r._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],standalone:!0,features:[ve([{provide:_0,useExisting:e},{provide:u0,useExisting:e}]),ti],ngContentSelectors:B$,decls:18,vars:21,consts:[["labelTemplate",""],["textField",""],["iconPrefixContainer",""],["textPrefixContainer",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],[1,"mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],[1,"mat-mdc-form-field-icon-prefix"],[1,"mat-mdc-form-field-text-prefix"],[1,"mat-mdc-form-field-infix"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],[3,"id"],[1,"mat-mdc-form-field-hint-spacer"]],template:function(i,r){if(1&i){const o=vn();Co(V$),J(0,U$,1,1,"ng-template",null,0,bc),S(2,"div",4,1),ce("click",function(a){return He(o),Ue(r._control.onContainerClick(a))}),J(4,$$,1,0,"div",5),S(5,"div",6),J(6,W$,2,2,"div",7)(7,q$,3,0,"div",8)(8,Y$,3,0,"div",9),S(9,"div",10),J(10,Z$,1,1,null,11),Et(11),I(),J(12,X$,2,0,"div",12)(13,Q$,2,0,"div",13),I(),J(14,J$,1,0,"div",14),I(),S(15,"div",15),J(16,e3,2,1)(17,n3,5,2),I()}if(2&i){let o;L(2),Dt("mdc-text-field--filled",!r._hasOutline())("mdc-text-field--outlined",r._hasOutline())("mdc-text-field--no-label",!r._hasFloatingLabel())("mdc-text-field--disabled",r._control.disabled)("mdc-text-field--invalid",r._control.errorState),L(2),nt(4,r._hasOutline()||r._control.disabled?-1:4),L(2),nt(6,r._hasOutline()?6:-1),L(),nt(7,r._hasIconPrefix?7:-1),L(),nt(8,r._hasTextPrefix?8:-1),L(2),nt(10,!r._hasOutline()||r._forceDisplayInfixLabel()?10:-1),L(2),nt(12,r._hasTextSuffix?12:-1),L(),nt(13,r._hasIconSuffix?13:-1),L(),nt(14,r._hasOutline()?-1:14),L(),Dt("mat-mdc-form-field-subscript-dynamic-size","dynamic"===r.subscriptSizing),L(),nt(16,"error"===(o=r._getDisplayedMessages())?16:"hint"===o?17:-1)}},dependencies:[f0,m0,WC,p0,d0],styles:['.mdc-text-field{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:0;border-bottom-left-radius:0;display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-text-field__input{height:28px;width:100%;min-width:0;border:none;border-radius:0;background:none;appearance:none;padding:0}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}@media all{.mdc-text-field__input::placeholder{opacity:0}}@media all{.mdc-text-field__input:-ms-input-placeholder{opacity:0}}@media all{.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}}@media all{.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}}.mdc-text-field__affix{height:28px;opacity:0;white-space:nowrap}.mdc-text-field--label-floating .mdc-text-field__affix,.mdc-text-field--no-label .mdc-text-field__affix{opacity:1}@supports(-webkit-hyphens: none){.mdc-text-field--outlined .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field__affix--prefix,.mdc-text-field__affix--prefix[dir=rtl]{padding-left:2px;padding-right:0}.mdc-text-field--end-aligned .mdc-text-field__affix--prefix{padding-left:0;padding-right:12px}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--end-aligned .mdc-text-field__affix--prefix[dir=rtl]{padding-left:12px;padding-right:0}.mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field__affix--suffix,.mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:12px}.mdc-text-field--end-aligned .mdc-text-field__affix--suffix{padding-left:2px;padding-right:0}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--end-aligned .mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:2px}.mdc-text-field--filled{height:56px}.mdc-text-field--filled::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}.mdc-text-field--filled .mdc-floating-label{left:16px;right:initial}[dir=rtl] .mdc-text-field--filled .mdc-floating-label,.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:16px}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled.mdc-text-field--no-label::before{display:none}@supports(-webkit-hyphens: none){.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field--outlined{height:56px;overflow:visible}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--outlined .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px,var(--mdc-shape-small, 4px))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px,var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px,var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px,var(--mdc-shape-small, 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px,var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:initial}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:4px}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mdc-text-field--textarea{flex-direction:column;align-items:center;width:auto;height:auto;padding:0}.mdc-text-field--textarea .mdc-floating-label{top:19px}.mdc-text-field--textarea .mdc-floating-label:not(.mdc-floating-label--float-above){transform:none}.mdc-text-field--textarea .mdc-text-field__input{flex-grow:1;height:auto;min-height:1.5rem;overflow-x:hidden;overflow-y:auto;box-sizing:border-box;resize:none;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--filled::before{display:none}.mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-10.25px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--filled .mdc-text-field__input{margin-top:23px;margin-bottom:9px}.mdc-text-field--textarea.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-27.25px) scale(1)}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-24.75px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label{top:18px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field__input{margin-bottom:2px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter{align-self:flex-end;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::after{display:inline-block;width:0;height:16px;content:"";vertical-align:-16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::before{display:none}.mdc-text-field__resizer{align-self:stretch;display:inline-flex;flex-direction:column;flex-grow:1;max-height:100%;max-width:100%;min-height:56px;min-width:fit-content;min-width:-moz-available;min-width:-webkit-fill-available;overflow:hidden;resize:both}.mdc-text-field--filled .mdc-text-field__resizer{transform:translateY(-1px)}.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateY(1px)}.mdc-text-field--outlined .mdc-text-field__resizer{transform:translateX(-1px) translateY(-1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer,.mdc-text-field--outlined .mdc-text-field__resizer[dir=rtl]{transform:translateX(1px) translateY(-1px)}.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateX(1px) translateY(1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input[dir=rtl],.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter[dir=rtl]{transform:translateX(-1px) translateY(1px)}.mdc-text-field--with-leading-icon{padding-left:0;padding-right:16px}[dir=rtl] .mdc-text-field--with-leading-icon,.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:16px;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 48px);left:48px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:48px}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 64px/0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label{left:36px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:36px}.mdc-text-field--with-leading-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) translateX(-32px) scale(1)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-37.25px) translateX(32px) scale(1)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) translateX(-32px) scale(0.75)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl],.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-34.75px) translateX(32px) scale(0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--with-trailing-icon{padding-left:16px;padding-right:0}[dir=rtl] .mdc-text-field--with-trailing-icon,.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0;padding-right:16px}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 64px)}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 64px/0.75)}.mdc-text-field--with-trailing-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 96px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 96px/0.75)}.mdc-text-field-helper-line{display:flex;justify-content:space-between;box-sizing:border-box}.mdc-text-field+.mdc-text-field-helper-line{padding-right:16px;padding-left:16px}.mdc-form-field>.mdc-text-field+label{align-self:flex-start}.mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--focused .mdc-notched-outline__trailing{border-width:2px}.mdc-text-field--focused+.mdc-text-field-helper-line .mdc-text-field-helper-text:not(.mdc-text-field-helper-text--validation-msg){opacity:1}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-text-field--focused.mdc-text-field--outlined.mdc-text-field--textarea .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{opacity:1}.mdc-text-field--disabled{pointer-events:none}@media screen and (forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--disabled .mdc-floating-label{cursor:default}.mdc-text-field--disabled.mdc-text-field--filled .mdc-text-field__ripple{display:none}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--end-aligned .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--end-aligned .mdc-text-field__input[dir=rtl]{text-align:left}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix{direction:ltr}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--leading,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--leading{order:1}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{order:2}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input{order:3}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{order:4}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--trailing,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--trailing{order:5}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--prefix{padding-right:12px}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--suffix{padding-left:2px}.mdc-floating-label{position:absolute;left:0;-webkit-transform-origin:left top;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label,.mdc-floating-label[dir=rtl]{right:0;left:auto;-webkit-transform-origin:right top;transform-origin:right top;text-align:right}.mdc-floating-label--float-above{cursor:auto}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0px;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after,.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)[dir=rtl]::after{margin-left:0;margin-right:1px}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline,.mdc-notched-outline[dir=rtl]{text-align:right}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{box-sizing:border-box;height:100%;pointer-events:none}.mdc-notched-outline__trailing{flex-grow:1}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch,.mdc-notched-outline--notched .mdc-notched-outline__notch[dir=rtl]{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{z-index:1}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{border-top:1px solid;border-bottom:1px solid}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;width:12px}[dir=rtl] .mdc-notched-outline__leading,.mdc-notched-outline__leading[dir=rtl]{border-left:none;border-right:1px solid}.mdc-notched-outline__trailing{border-left:none;border-right:1px solid}[dir=rtl] .mdc-notched-outline__trailing,.mdc-notched-outline__trailing[dir=rtl]{border-left:1px solid;border-right:none}.mdc-notched-outline__notch{max-width:calc(100% - 12px*2)}.mdc-line-ripple::before{border-bottom-width:1px}.mdc-line-ripple::after{border-bottom-width:2px}.mdc-text-field--filled{border-top-left-radius:var(--mdc-filled-text-field-container-shape);border-top-right-radius:var(--mdc-filled-text-field-container-shape);border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-caret-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-error-caret-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-filled-text-field-input-text-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-filled-text-field-disabled-input-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-label-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-focus-label-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-hover-label-text-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-disabled-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-focus-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-hover-label-text-color)}.mdc-text-field--filled .mdc-floating-label{font-family:var(--mdc-filled-text-field-label-text-font);font-size:var(--mdc-filled-text-field-label-text-size);font-weight:var(--mdc-filled-text-field-label-text-weight);letter-spacing:var(--mdc-filled-text-field-label-text-tracking)}@media all{.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}}@media all{.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--mdc-filled-text-field-container-color)}.mdc-text-field--filled.mdc-text-field--disabled{background-color:var(--mdc-filled-text-field-disabled-container-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-hover-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-focus-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-disabled-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-hover-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-error-focus-active-indicator-color)}.mdc-text-field--filled .mdc-line-ripple::before{border-bottom-width:var(--mdc-filled-text-field-active-indicator-height)}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-width:var(--mdc-filled-text-field-focus-active-indicator-height)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-caret-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-error-caret-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-outlined-text-field-input-text-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-outlined-text-field-disabled-input-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-label-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-focus-label-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-hover-label-text-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-disabled-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-focus-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-hover-label-text-color)}.mdc-text-field--outlined .mdc-floating-label{font-family:var(--mdc-outlined-text-field-label-text-font);font-size:var(--mdc-outlined-text-field-label-text-size);font-weight:var(--mdc-outlined-text-field-label-text-weight);letter-spacing:var(--mdc-outlined-text-field-label-text-tracking)}@media all{.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color)}}@media all{.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color)}}.mdc-text-field--outlined.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(.75*var(--mdc-outlined-text-field-label-text-size))}.mdc-text-field--outlined.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mdc-outlined-text-field-label-text-size)}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:var(--mdc-outlined-text-field-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mdc-outlined-text-field-container-shape))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px,var(--mdc-outlined-text-field-container-shape))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:var(--mdc-outlined-text-field-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px,var(--mdc-outlined-text-field-container-shape))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-hover-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-focus-outline-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-disabled-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-hover-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-focus-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__trailing{border-width:var(--mdc-outlined-text-field-outline-width)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__trailing{border-width:var(--mdc-outlined-text-field-focus-outline-width)}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;line-height:normal;pointer-events:all;will-change:auto}.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-floating-label.mdc-floating-label{cursor:inherit}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto;will-change:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-form-field-disabled .mdc-text-field__input::placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-text-field-wrapper::before{content:none}.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:1px solid rgba(0,0,0,0)}[dir=rtl] .mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:none;border-right:1px solid rgba(0,0,0,0)}.mat-mdc-form-field-infix{min-height:var(--mat-form-field-container-height);padding-top:var(--mat-form-field-filled-with-label-container-padding-top);padding-bottom:var(--mat-form-field-filled-with-label-container-padding-bottom)}.mdc-text-field--outlined .mat-mdc-form-field-infix,.mdc-text-field--no-label .mat-mdc-form-field-infix{padding-top:var(--mat-form-field-container-vertical-padding);padding-bottom:var(--mat-form-field-container-vertical-padding)}.mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:calc(var(--mat-form-field-container-height)/2)}.mdc-text-field--filled .mat-mdc-floating-label{display:var(--mat-form-field-filled-label-display, block)}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{--mat-mdc-form-field-label-transform: translateY(calc(calc(6.75px + var(--mat-form-field-container-height) / 2) * -1)) scale(var(--mat-mdc-form-field-floating-label-scale, 0.75));transform:var(--mat-mdc-form-field-label-transform)}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block;color:var(--mat-form-field-error-text-color)}.mat-mdc-form-field-subscript-wrapper,.mat-mdc-form-field-bottom-align::before{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-subscript-text-font);line-height:var(--mat-form-field-subscript-text-line-height);font-size:var(--mat-form-field-subscript-text-size);letter-spacing:var(--mat-form-field-subscript-text-tracking);font-weight:var(--mat-form-field-subscript-text-weight)}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none;background-color:var(--mat-form-field-state-layer-color)}.mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-hover-state-layer-opacity)}.mat-mdc-form-field.mat-focused .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-focus-state-layer-opacity)}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option{color:var(--mat-form-field-select-option-text-color)}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option:disabled{color:var(--mat-form-field-select-disabled-option-text-color)}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none;color:var(--mat-form-field-enabled-select-arrow-color)}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select.mat-focused .mat-mdc-form-field-infix::after{color:var(--mat-form-field-focus-select-arrow-color)}.mat-mdc-form-field-type-mat-native-select.mat-form-field-disabled .mat-mdc-form-field-infix::after{color:var(--mat-form-field-disabled-select-arrow-color)}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}.cdk-high-contrast-active .mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}.mat-mdc-form-field-input-control[type=date],.mat-mdc-form-field-input-control[type=datetime],.mat-mdc-form-field-input-control[type=datetime-local],.mat-mdc-form-field-input-control[type=month],.mat-mdc-form-field-input-control[type=week],.mat-mdc-form-field-input-control[type=time]{line-height:1}.mat-mdc-form-field-input-control::-webkit-datetime-edit{line-height:1;padding:0;margin-bottom:-2px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-container-text-font);line-height:var(--mat-form-field-container-text-line-height);font-size:var(--mat-form-field-container-text-size);letter-spacing:var(--mat-form-field-container-text-tracking);font-weight:var(--mat-form-field-container-text-weight)}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(var(--mat-form-field-outlined-label-text-populated-size)*var(--mat-mdc-form-field-floating-label-scale))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mat-form-field-outlined-label-text-populated-size)}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%;z-index:0}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto;position:relative;z-index:1}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:0 12px;box-sizing:content-box}.mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-leading-icon-color)}.mat-form-field-disabled .mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-disabled-leading-icon-color)}.mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-trailing-icon-color)}.mat-form-field-disabled .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-disabled-trailing-icon-color)}.mat-form-field-invalid .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-trailing-icon-color)}.mat-form-field-invalid:not(.mat-focused):not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-hover-trailing-icon-color)}.mat-form-field-invalid.mat-focused .mat-mdc-text-field-wrapper .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-focus-trailing-icon-color)}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__affix{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled.mdc-ripple-upgraded--background-focused .mdc-text-field__ripple::before,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea{transition:none}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-filled 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-filled{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon{0%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}[dir=rtl] .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined[dir=rtl] .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon-rtl{0%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-standard 250ms 1}@keyframes mdc-floating-label-shake-float-above-standard{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-notched-outline .mdc-floating-label{max-width:calc(100% + 1px)}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(133.3333333333% + 1px)}'],encapsulation:2,data:{animation:[c3.transitionMessages]},changeDetection:0})}return e})(),Tm=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Le({type:e});static#n=this.\u0275inj=Re({imports:[Hn,Fp,mU,Hn]})}return e})();function li(...e){return or(e,aa(e))}const p3=["addListener","removeListener"],m3=["addEventListener","removeEventListener"],g3=["on","off"];function Am(e,n,t,i){if(ae(t)&&(i=t,t=void 0),i)return Am(e,n,t).pipe($p(i));const[r,o]=function v3(e){return ae(e.addEventListener)&&ae(e.removeEventListener)}(e)?m3.map(s=>a=>e[s](n,a,t)):function _3(e){return ae(e.addListener)&&ae(e.removeListener)}(e)?p3.map(w0(e,n)):function y3(e){return ae(e.on)&&ae(e.off)}(e)?g3.map(w0(e,n)):[];if(!r&&Hp(e))return ya(s=>Am(s,n,t))(xt(e));if(!r)throw new TypeError("Invalid event target");return new Ae(s=>{const a=(...l)=>s.next(1o(a)})}function w0(e,n){return t=>i=>e[t](n,i)}const xa={schedule(e){let n=requestAnimationFrame,t=cancelAnimationFrame;const{delegate:i}=xa;i&&(n=i.requestAnimationFrame,t=i.cancelAnimationFrame);const r=n(o=>{t=void 0,e(o)});return new Pe(()=>t?.(r))},requestAnimationFrame(...e){const{delegate:n}=xa;return(n?.requestAnimationFrame||requestAnimationFrame)(...e)},cancelAnimationFrame(...e){const{delegate:n}=xa;return(n?.cancelAnimationFrame||cancelAnimationFrame)(...e)},delegate:void 0};new class w3 extends Em{flush(n){this._active=!0;const t=this._scheduled;this._scheduled=void 0;const{actions:i}=this;let r;n=n||i.shift();do{if(r=n.execute(n.state,n.delay))break}while((n=i[0])&&n.id===t&&i.shift());if(this._active=!1,r){for(;(n=i[0])&&n.id===t&&i.shift();)n.unsubscribe();throw r}}}(class b3 extends Dm{constructor(n,t){super(n,t),this.scheduler=n,this.work=t}requestAsyncId(n,t,i=0){return null!==i&&i>0?super.requestAsyncId(n,t,i):(n.actions.push(this),n._scheduled||(n._scheduled=xa.requestAnimationFrame(()=>n.flush(void 0))))}recycleAsyncId(n,t,i=0){var r;if(null!=i?i>0:this.delay>0)return super.recycleAsyncId(n,t,i);const{actions:o}=n;null!=t&&(null===(r=o[o.length-1])||void 0===r?void 0:r.id)!==t&&(xa.cancelAnimationFrame(t),n._scheduled=void 0)}});let Om,E3=1;const vd={};function D0(e){return e in vd&&(delete vd[e],!0)}const C3={setImmediate(e){const n=E3++;return vd[n]=!0,Om||(Om=Promise.resolve()),Om.then(()=>D0(n)&&e()),n},clearImmediate(e){D0(e)}},{setImmediate:x3,clearImmediate:I3}=C3,bd={setImmediate(...e){const{delegate:n}=bd;return(n?.setImmediate||x3)(...e)},clearImmediate(e){const{delegate:n}=bd;return(n?.clearImmediate||I3)(e)},delegate:void 0};new class M3 extends Em{flush(n){this._active=!0;const t=this._scheduled;this._scheduled=void 0;const{actions:i}=this;let r;n=n||i.shift();do{if(r=n.execute(n.state,n.delay))break}while((n=i[0])&&n.id===t&&i.shift());if(this._active=!1,r){for(;(n=i[0])&&n.id===t&&i.shift();)n.unsubscribe();throw r}}}(class S3 extends Dm{constructor(n,t){super(n,t),this.scheduler=n,this.work=t}requestAsyncId(n,t,i=0){return null!==i&&i>0?super.requestAsyncId(n,t,i):(n.actions.push(this),n._scheduled||(n._scheduled=bd.setImmediate(n.flush.bind(n,void 0))))}recycleAsyncId(n,t,i=0){var r;if(null!=i?i>0:this.delay>0)return super.recycleAsyncId(n,t,i);const{actions:o}=n;null!=t&&(null===(r=o[o.length-1])||void 0===r?void 0:r.id)!==t&&(bd.clearImmediate(t),n._scheduled===t&&(n._scheduled=void 0))}});function E0(e=0,n,t=OU){let i=-1;return null!=n&&(Dx(n)?t=n:i=n),new Ae(r=>{let o=function O3(e){return e instanceof Date&&!isNaN(e)}(e)?+e-t.now():e;o<0&&(o=0);let s=0;return t.schedule(function(){r.closed||(r.next(s++),0<=i?this.schedule(void 0,i):r.complete())},o)})}function C0(e,n=Ea){return function A3(e){return rt((n,t)=>{let i=!1,r=null,o=null,s=!1;const a=()=>{if(o?.unsubscribe(),o=null,i){i=!1;const c=r;r=null,t.next(c)}s&&t.complete()},l=()=>{o=null,s&&t.complete()};n.subscribe(We(t,c=>{i=!0,r=c,o||xt(e(c)).subscribe(o=We(t,a,l))},()=>{s=!0,(!i||!o||o.closed)&&t.complete()}))})}(()=>E0(e,n))}let R3=(()=>{class e{constructor(t,i,r){this._ngZone=t,this._platform=i,this._scrolled=new te,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=r}register(t){this.scrollContainers.has(t)||this.scrollContainers.set(t,t.elementScrolled().subscribe(()=>this._scrolled.next(t)))}deregister(t){const i=this.scrollContainers.get(t);i&&(i.unsubscribe(),this.scrollContainers.delete(t))}scrolled(t=20){return this._platform.isBrowser?new Ae(i=>{this._globalSubscription||this._addGlobalListener();const r=t>0?this._scrolled.pipe(C0(t)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{r.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):li()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((t,i)=>this.deregister(i)),this._scrolled.complete()}ancestorScrolled(t,i){const r=this.getAncestorScrollContainers(t);return this.scrolled(i).pipe(En(o=>!o||r.indexOf(o)>-1))}getAncestorScrollContainers(t){const i=[];return this.scrollContainers.forEach((r,o)=>{this._scrollableContainsElement(o,t)&&i.push(o)}),i}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(t,i){let r=pm(i),o=t.getElementRef().nativeElement;do{if(r==o)return!0}while(r=r.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>Am(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}static#e=this.\u0275fac=function(i){return new(i||e)(D(Y),D(si),D(_e,8))};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Nm=(()=>{class e{constructor(t,i,r){this._platform=t,this._change=new te,this._changeListener=o=>{this._change.next(o)},this._document=r,i.runOutsideAngular(()=>{if(t.isBrowser){const o=this._getWindow();o.addEventListener("resize",this._changeListener),o.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const t=this._getWindow();t.removeEventListener("resize",this._changeListener),t.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t}getViewportRect(){const t=this.getViewportScrollPosition(),{width:i,height:r}=this.getViewportSize();return{top:t.top,left:t.left,bottom:t.top+r,right:t.left+i,height:r,width:i}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const t=this._document,i=this._getWindow(),r=t.documentElement,o=r.getBoundingClientRect();return{top:-o.top||t.body.scrollTop||i.scrollY||r.scrollTop||0,left:-o.left||t.body.scrollLeft||i.scrollX||r.scrollLeft||0}}change(t=20){return t>0?this._change.pipe(C0(t)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const t=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:t.innerWidth,height:t.innerHeight}:{width:0,height:0}}static#e=this.\u0275fac=function(i){return new(i||e)(D(si),D(Y),D(_e,8))};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Rm=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Le({type:e});static#n=this.\u0275inj=Re({})}return e})(),x0=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Le({type:e});static#n=this.\u0275inj=Re({imports:[ma,Rm,ma,Rm]})}return e})();class km{attach(n){return this._attachedHost=n,n.attach(this)}detach(){let n=this._attachedHost;null!=n&&(this._attachedHost=null,n.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(n){this._attachedHost=n}}class I0 extends km{constructor(n,t,i,r,o){super(),this.component=n,this.viewContainerRef=t,this.injector=i,this.componentFactoryResolver=r,this.projectableNodes=o}}class S0 extends km{constructor(n,t,i,r){super(),this.templateRef=n,this.viewContainerRef=t,this.context=i,this.injector=r}get origin(){return this.templateRef.elementRef}attach(n,t=this.context){return this.context=t,super.attach(n)}detach(){return this.context=void 0,super.detach()}}class P3 extends km{constructor(n){super(),this.element=n instanceof Ce?n.nativeElement:n}}class L3{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(n){return n instanceof I0?(this._attachedPortal=n,this.attachComponentPortal(n)):n instanceof S0?(this._attachedPortal=n,this.attachTemplatePortal(n)):this.attachDomPortal&&n instanceof P3?(this._attachedPortal=n,this.attachDomPortal(n)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(n){this._disposeFn=n}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class V3 extends L3{constructor(n,t,i,r,o){super(),this.outletElement=n,this._componentFactoryResolver=t,this._appRef=i,this._defaultInjector=r,this.attachDomPortal=s=>{const a=s.element,l=this._document.createComment("dom-portal");a.parentNode.insertBefore(l,a),this.outletElement.appendChild(a),this._attachedPortal=s,super.setDisposeFn(()=>{l.parentNode&&l.parentNode.replaceChild(a,l)})},this._document=o}attachComponentPortal(n){const i=(n.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(n.component);let r;return n.viewContainerRef?(r=n.viewContainerRef.createComponent(i,n.viewContainerRef.length,n.injector||n.viewContainerRef.injector,n.projectableNodes||void 0),this.setDisposeFn(()=>r.destroy())):(r=i.create(n.injector||this._defaultInjector||ct.NULL),this._appRef.attachView(r.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(r.hostView),r.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(r)),this._attachedPortal=n,r}attachTemplatePortal(n){let t=n.viewContainerRef,i=t.createEmbeddedView(n.templateRef,n.context,{injector:n.injector});return i.rootNodes.forEach(r=>this.outletElement.appendChild(r)),i.detectChanges(),this.setDisposeFn(()=>{let r=t.indexOf(i);-1!==r&&t.remove(r)}),this._attachedPortal=n,i}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(n){return n.hostView.rootNodes[0]}}let B3=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Le({type:e});static#n=this.\u0275inj=Re({})}return e})();const M0=XH();class j3{constructor(n,t){this._viewportRuler=n,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=t}attach(){}enable(){if(this._canBeEnabled()){const n=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=n.style.left||"",this._previousHTMLStyles.top=n.style.top||"",n.style.left=Ze(-this._previousScrollPosition.left),n.style.top=Ze(-this._previousScrollPosition.top),n.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const n=this._document.documentElement,i=n.style,r=this._document.body.style,o=i.scrollBehavior||"",s=r.scrollBehavior||"";this._isEnabled=!1,i.left=this._previousHTMLStyles.left,i.top=this._previousHTMLStyles.top,n.classList.remove("cdk-global-scrollblock"),M0&&(i.scrollBehavior=r.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),M0&&(i.scrollBehavior=o,r.scrollBehavior=s)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const t=this._document.body,i=this._viewportRuler.getViewportSize();return t.scrollHeight>i.height||t.scrollWidth>i.width}}class H3{constructor(n,t,i,r){this._scrollDispatcher=n,this._ngZone=t,this._viewportRuler=i,this._config=r,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(n){this._overlayRef=n}enable(){if(this._scrollSubscription)return;const n=this._scrollDispatcher.scrolled(0).pipe(En(t=>!t||!this._overlayRef.overlayElement.contains(t.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=n.subscribe(()=>{const t=this._viewportRuler.getViewportScrollPosition().top;Math.abs(t-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=n.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class T0{enable(){}disable(){}attach(){}}function Fm(e,n){return n.some(t=>e.bottomt.bottom||e.rightt.right)}function A0(e,n){return n.some(t=>e.topt.bottom||e.leftt.right)}class U3{constructor(n,t,i,r){this._scrollDispatcher=n,this._viewportRuler=t,this._ngZone=i,this._config=r,this._scrollSubscription=null}attach(n){this._overlayRef=n}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const t=this._overlayRef.overlayElement.getBoundingClientRect(),{width:i,height:r}=this._viewportRuler.getViewportSize();Fm(t,[{width:i,height:r,bottom:r,right:i,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let $3=(()=>{class e{constructor(t,i,r,o){this._scrollDispatcher=t,this._viewportRuler=i,this._ngZone=r,this.noop=()=>new T0,this.close=s=>new H3(this._scrollDispatcher,this._ngZone,this._viewportRuler,s),this.block=()=>new j3(this._viewportRuler,this._document),this.reposition=s=>new U3(this._scrollDispatcher,this._viewportRuler,this._ngZone,s),this._document=o}static#e=this.\u0275fac=function(i){return new(i||e)(D(R3),D(Nm),D(Y),D(_e))};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();class Pm{constructor(n){if(this.scrollStrategy=new T0,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,n){const t=Object.keys(n);for(const i of t)void 0!==n[i]&&(this[i]=n[i])}}}class z3{constructor(n,t){this.connectionPair=n,this.scrollableViewProperties=t}}let O0=(()=>{class e{constructor(t){this._attachedOverlays=[],this._document=t}ngOnDestroy(){this.detach()}add(t){this.remove(t),this._attachedOverlays.push(t)}remove(t){const i=this._attachedOverlays.indexOf(t);i>-1&&this._attachedOverlays.splice(i,1),0===this._attachedOverlays.length&&this.detach()}static#e=this.\u0275fac=function(i){return new(i||e)(D(_e))};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),G3=(()=>{class e extends O0{constructor(t,i){super(t),this._ngZone=i,this._keydownListener=r=>{const o=this._attachedOverlays;for(let s=o.length-1;s>-1;s--)if(o[s]._keydownEvents.observers.length>0){const a=o[s]._keydownEvents;this._ngZone?this._ngZone.run(()=>a.next(r)):a.next(r);break}}}add(t){super.add(t),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}static#e=this.\u0275fac=function(i){return new(i||e)(D(_e),D(Y,8))};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),W3=(()=>{class e extends O0{constructor(t,i,r){super(t),this._platform=i,this._ngZone=r,this._cursorStyleIsSet=!1,this._pointerDownListener=o=>{this._pointerDownEventTarget=fd(o)},this._clickListener=o=>{const s=fd(o),a="click"===o.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:s;this._pointerDownEventTarget=null;const l=this._attachedOverlays.slice();for(let c=l.length-1;c>-1;c--){const d=l[c];if(d._outsidePointerEvents.observers.length<1||!d.hasAttached())continue;if(d.overlayElement.contains(s)||d.overlayElement.contains(a))break;const u=d._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>u.next(o)):u.next(o)}}}add(t){if(super.add(t),!this._isAttached){const i=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(i)):this._addEventListeners(i),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=i.style.cursor,i.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const t=this._document.body;t.removeEventListener("pointerdown",this._pointerDownListener,!0),t.removeEventListener("click",this._clickListener,!0),t.removeEventListener("auxclick",this._clickListener,!0),t.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(t.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(t){t.addEventListener("pointerdown",this._pointerDownListener,!0),t.addEventListener("click",this._clickListener,!0),t.addEventListener("auxclick",this._clickListener,!0),t.addEventListener("contextmenu",this._clickListener,!0)}static#e=this.\u0275fac=function(i){return new(i||e)(D(_e),D(si),D(Y,8))};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Lm=(()=>{class e{constructor(t,i){this._platform=i,this._document=t}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const t="cdk-overlay-container";if(this._platform.isBrowser||dm()){const r=this._document.querySelectorAll(`.${t}[platform="server"], .${t}[platform="test"]`);for(let o=0;othis._backdropClick.next(u),this._backdropTransitionendHandler=u=>{this._disposeBackdrop(u.target)},this._keydownEvents=new te,this._outsidePointerEvents=new te,r.scrollStrategy&&(this._scrollStrategy=r.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=r.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(n){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const t=this._portalOutlet.attach(n);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(jn(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof t?.onDestroy&&t.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),t}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const n=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),n}dispose(){const n=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._previousHostParent=this._pane=this._host=null,n&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(n){n!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=n,this.hasAttached()&&(n.attach(this),this.updatePosition()))}updateSize(n){this._config={...this._config,...n},this._updateElementSize()}setDirection(n){this._config={...this._config,direction:n},this._updateElementDirection()}addPanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!0)}removePanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!1)}getDirection(){const n=this._config.direction;return n?"string"==typeof n?n:n.value:"ltr"}updateScrollStrategy(n){n!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=n,this.hasAttached()&&(n.attach(this),n.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const n=this._pane.style;n.width=Ze(this._config.width),n.height=Ze(this._config.height),n.minWidth=Ze(this._config.minWidth),n.minHeight=Ze(this._config.minHeight),n.maxWidth=Ze(this._config.maxWidth),n.maxHeight=Ze(this._config.maxHeight)}_togglePointerEvents(n){this._pane.style.pointerEvents=n?"":"none"}_attachBackdrop(){const n="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(n)})}):this._backdropElement.classList.add(n)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const n=this._backdropElement;if(n){if(this._animationsDisabled)return void this._disposeBackdrop(n);n.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{n.addEventListener("transitionend",this._backdropTransitionendHandler)}),n.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(n)},500))}}_toggleClasses(n,t,i){const r=hd(t||[]).filter(o=>!!o);r.length&&(i?n.classList.add(...r):n.classList.remove(...r))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const n=this._ngZone.onStable.pipe(ht(va(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),n.unsubscribe())})})}_disposeScrollStrategy(){const n=this._scrollStrategy;n&&(n.disable(),n.detach&&n.detach())}_disposeBackdrop(n){n&&(n.removeEventListener("click",this._backdropClickHandler),n.removeEventListener("transitionend",this._backdropTransitionendHandler),n.remove(),this._backdropElement===n&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const N0="cdk-overlay-connected-position-bounding-box",Y3=/([A-Za-z%]+)$/;class K3{get positions(){return this._preferredPositions}constructor(n,t,i,r,o){this._viewportRuler=t,this._document=i,this._platform=r,this._overlayContainer=o,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new te,this._resizeSubscription=Pe.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(n)}attach(n){this._validatePositions(),n.hostElement.classList.add(N0),this._overlayRef=n,this._boundingBox=n.hostElement,this._pane=n.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const n=this._originRect,t=this._overlayRect,i=this._viewportRect,r=this._containerRect,o=[];let s;for(let a of this._preferredPositions){let l=this._getOriginPoint(n,r,a),c=this._getOverlayPoint(l,t,a),d=this._getOverlayFit(c,t,i,a);if(d.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(a,l);this._canFitWithFlexibleDimensions(d,c,i)?o.push({position:a,origin:l,overlayRect:t,boundingBoxRect:this._calculateBoundingBoxRect(l,a)}):(!s||s.overlayFit.visibleAreal&&(l=d,a=c)}return this._isPushed=!1,void this._applyPosition(a.position,a.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(s.position,s.originPoint);this._applyPosition(s.position,s.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&fr(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(N0),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const n=this._lastPosition;if(n){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const t=this._getOriginPoint(this._originRect,this._containerRect,n);this._applyPosition(n,t)}else this.apply()}withScrollableContainers(n){return this._scrollables=n,this}withPositions(n){return this._preferredPositions=n,-1===n.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(n){return this._viewportMargin=n,this}withFlexibleDimensions(n=!0){return this._hasFlexibleDimensions=n,this}withGrowAfterOpen(n=!0){return this._growAfterOpen=n,this}withPush(n=!0){return this._canPush=n,this}withLockedPosition(n=!0){return this._positionLocked=n,this}setOrigin(n){return this._origin=n,this}withDefaultOffsetX(n){return this._offsetX=n,this}withDefaultOffsetY(n){return this._offsetY=n,this}withTransformOriginOn(n){return this._transformOriginSelector=n,this}_getOriginPoint(n,t,i){let r,o;if("center"==i.originX)r=n.left+n.width/2;else{const s=this._isRtl()?n.right:n.left,a=this._isRtl()?n.left:n.right;r="start"==i.originX?s:a}return t.left<0&&(r-=t.left),o="center"==i.originY?n.top+n.height/2:"top"==i.originY?n.top:n.bottom,t.top<0&&(o-=t.top),{x:r,y:o}}_getOverlayPoint(n,t,i){let r,o;return r="center"==i.overlayX?-t.width/2:"start"===i.overlayX?this._isRtl()?-t.width:0:this._isRtl()?0:-t.width,o="center"==i.overlayY?-t.height/2:"top"==i.overlayY?0:-t.height,{x:n.x+r,y:n.y+o}}_getOverlayFit(n,t,i,r){const o=k0(t);let{x:s,y:a}=n,l=this._getOffset(r,"x"),c=this._getOffset(r,"y");l&&(s+=l),c&&(a+=c);let h=0-a,f=a+o.height-i.height,p=this._subtractOverflows(o.width,0-s,s+o.width-i.width),m=this._subtractOverflows(o.height,h,f),g=p*m;return{visibleArea:g,isCompletelyWithinViewport:o.width*o.height===g,fitsInViewportVertically:m===o.height,fitsInViewportHorizontally:p==o.width}}_canFitWithFlexibleDimensions(n,t,i){if(this._hasFlexibleDimensions){const r=i.bottom-t.y,o=i.right-t.x,s=R0(this._overlayRef.getConfig().minHeight),a=R0(this._overlayRef.getConfig().minWidth);return(n.fitsInViewportVertically||null!=s&&s<=r)&&(n.fitsInViewportHorizontally||null!=a&&a<=o)}return!1}_pushOverlayOnScreen(n,t,i){if(this._previousPushAmount&&this._positionLocked)return{x:n.x+this._previousPushAmount.x,y:n.y+this._previousPushAmount.y};const r=k0(t),o=this._viewportRect,s=Math.max(n.x+r.width-o.width,0),a=Math.max(n.y+r.height-o.height,0),l=Math.max(o.top-i.top-n.y,0),c=Math.max(o.left-i.left-n.x,0);let d=0,u=0;return d=r.width<=o.width?c||-s:n.xp&&!this._isInitialRender&&!this._growAfterOpen&&(s=n.y-p/2)}if("end"===t.overlayX&&!r||"start"===t.overlayX&&r)h=i.width-n.x+2*this._viewportMargin,d=n.x-this._viewportMargin;else if("start"===t.overlayX&&!r||"end"===t.overlayX&&r)u=n.x,d=i.right-n.x;else{const f=Math.min(i.right-n.x+i.left,n.x),p=this._lastBoundingBoxSize.width;d=2*f,u=n.x-f,d>p&&!this._isInitialRender&&!this._growAfterOpen&&(u=n.x-p/2)}return{top:s,left:u,bottom:a,right:h,width:d,height:o}}_setBoundingBoxStyles(n,t){const i=this._calculateBoundingBoxRect(n,t);!this._isInitialRender&&!this._growAfterOpen&&(i.height=Math.min(i.height,this._lastBoundingBoxSize.height),i.width=Math.min(i.width,this._lastBoundingBoxSize.width));const r={};if(this._hasExactPosition())r.top=r.left="0",r.bottom=r.right=r.maxHeight=r.maxWidth="",r.width=r.height="100%";else{const o=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;r.height=Ze(i.height),r.top=Ze(i.top),r.bottom=Ze(i.bottom),r.width=Ze(i.width),r.left=Ze(i.left),r.right=Ze(i.right),r.alignItems="center"===t.overlayX?"center":"end"===t.overlayX?"flex-end":"flex-start",r.justifyContent="center"===t.overlayY?"center":"bottom"===t.overlayY?"flex-end":"flex-start",o&&(r.maxHeight=Ze(o)),s&&(r.maxWidth=Ze(s))}this._lastBoundingBoxSize=i,fr(this._boundingBox.style,r)}_resetBoundingBoxStyles(){fr(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){fr(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(n,t){const i={},r=this._hasExactPosition(),o=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(r){const d=this._viewportRuler.getViewportScrollPosition();fr(i,this._getExactOverlayY(t,n,d)),fr(i,this._getExactOverlayX(t,n,d))}else i.position="static";let a="",l=this._getOffset(t,"x"),c=this._getOffset(t,"y");l&&(a+=`translateX(${l}px) `),c&&(a+=`translateY(${c}px)`),i.transform=a.trim(),s.maxHeight&&(r?i.maxHeight=Ze(s.maxHeight):o&&(i.maxHeight="")),s.maxWidth&&(r?i.maxWidth=Ze(s.maxWidth):o&&(i.maxWidth="")),fr(this._pane.style,i)}_getExactOverlayY(n,t,i){let r={top:"",bottom:""},o=this._getOverlayPoint(t,this._overlayRect,n);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i)),"bottom"===n.overlayY?r.bottom=this._document.documentElement.clientHeight-(o.y+this._overlayRect.height)+"px":r.top=Ze(o.y),r}_getExactOverlayX(n,t,i){let s,r={left:"",right:""},o=this._getOverlayPoint(t,this._overlayRect,n);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i)),s=this._isRtl()?"end"===n.overlayX?"left":"right":"end"===n.overlayX?"right":"left","right"===s?r.right=this._document.documentElement.clientWidth-(o.x+this._overlayRect.width)+"px":r.left=Ze(o.x),r}_getScrollVisibility(){const n=this._getOriginRect(),t=this._pane.getBoundingClientRect(),i=this._scrollables.map(r=>r.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:A0(n,i),isOriginOutsideView:Fm(n,i),isOverlayClipped:A0(t,i),isOverlayOutsideView:Fm(t,i)}}_subtractOverflows(n,...t){return t.reduce((i,r)=>i-Math.max(r,0),n)}_getNarrowedViewportRect(){const n=this._document.documentElement.clientWidth,t=this._document.documentElement.clientHeight,i=this._viewportRuler.getViewportScrollPosition();return{top:i.top+this._viewportMargin,left:i.left+this._viewportMargin,right:i.left+n-this._viewportMargin,bottom:i.top+t-this._viewportMargin,width:n-2*this._viewportMargin,height:t-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(n,t){return"x"===t?null==n.offsetX?this._offsetX:n.offsetX:null==n.offsetY?this._offsetY:n.offsetY}_validatePositions(){}_addPanelClasses(n){this._pane&&hd(n).forEach(t=>{""!==t&&-1===this._appliedPanelClasses.indexOf(t)&&(this._appliedPanelClasses.push(t),this._pane.classList.add(t))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(n=>{this._pane.classList.remove(n)}),this._appliedPanelClasses=[])}_getOriginRect(){const n=this._origin;if(n instanceof Ce)return n.nativeElement.getBoundingClientRect();if(n instanceof Element)return n.getBoundingClientRect();const t=n.width||0,i=n.height||0;return{top:n.y,bottom:n.y+i,left:n.x,right:n.x+t,height:i,width:t}}}function fr(e,n){for(let t in n)n.hasOwnProperty(t)&&(e[t]=n[t]);return e}function R0(e){if("number"!=typeof e&&null!=e){const[n,t]=e.split(Y3);return t&&"px"!==t?null:parseFloat(n)}return e||null}function k0(e){return{top:Math.floor(e.top),right:Math.floor(e.right),bottom:Math.floor(e.bottom),left:Math.floor(e.left),width:Math.floor(e.width),height:Math.floor(e.height)}}const F0="cdk-global-overlay-wrapper";class X3{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(n){const t=n.getConfig();this._overlayRef=n,this._width&&!t.width&&n.updateSize({width:this._width}),this._height&&!t.height&&n.updateSize({height:this._height}),n.hostElement.classList.add(F0),this._isDisposed=!1}top(n=""){return this._bottomOffset="",this._topOffset=n,this._alignItems="flex-start",this}left(n=""){return this._xOffset=n,this._xPosition="left",this}bottom(n=""){return this._topOffset="",this._bottomOffset=n,this._alignItems="flex-end",this}right(n=""){return this._xOffset=n,this._xPosition="right",this}start(n=""){return this._xOffset=n,this._xPosition="start",this}end(n=""){return this._xOffset=n,this._xPosition="end",this}width(n=""){return this._overlayRef?this._overlayRef.updateSize({width:n}):this._width=n,this}height(n=""){return this._overlayRef?this._overlayRef.updateSize({height:n}):this._height=n,this}centerHorizontally(n=""){return this.left(n),this._xPosition="center",this}centerVertically(n=""){return this.top(n),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const n=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement.style,i=this._overlayRef.getConfig(),{width:r,height:o,maxWidth:s,maxHeight:a}=i,l=!("100%"!==r&&"100vw"!==r||s&&"100%"!==s&&"100vw"!==s),c=!("100%"!==o&&"100vh"!==o||a&&"100%"!==a&&"100vh"!==a),d=this._xPosition,u=this._xOffset,h="rtl"===this._overlayRef.getConfig().direction;let f="",p="",m="";l?m="flex-start":"center"===d?(m="center",h?p=u:f=u):h?"left"===d||"end"===d?(m="flex-end",f=u):("right"===d||"start"===d)&&(m="flex-start",p=u):"left"===d||"start"===d?(m="flex-start",f=u):("right"===d||"end"===d)&&(m="flex-end",p=u),n.position=this._cssPosition,n.marginLeft=l?"0":f,n.marginTop=c?"0":this._topOffset,n.marginBottom=this._bottomOffset,n.marginRight=l?"0":p,t.justifyContent=m,t.alignItems=c?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const n=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement,i=t.style;t.classList.remove(F0),i.justifyContent=i.alignItems=n.marginTop=n.marginBottom=n.marginLeft=n.marginRight=n.position="",this._overlayRef=null,this._isDisposed=!0}}let Q3=(()=>{class e{constructor(t,i,r,o){this._viewportRuler=t,this._document=i,this._platform=r,this._overlayContainer=o}global(){return new X3}flexibleConnectedTo(t){return new K3(t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}static#e=this.\u0275fac=function(i){return new(i||e)(D(Nm),D(_e),D(si),D(Lm))};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),J3=0,hr=(()=>{class e{constructor(t,i,r,o,s,a,l,c,d,u,h,f){this.scrollStrategies=t,this._overlayContainer=i,this._componentFactoryResolver=r,this._positionBuilder=o,this._keyboardDispatcher=s,this._injector=a,this._ngZone=l,this._document=c,this._directionality=d,this._location=u,this._outsideClickDispatcher=h,this._animationsModuleType=f}create(t){const i=this._createHostElement(),r=this._createPaneElement(i),o=this._createPortalOutlet(r),s=new Pm(t);return s.direction=s.direction||this._directionality.value,new q3(o,i,r,s,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(t){const i=this._document.createElement("div");return i.id="cdk-overlay-"+J3++,i.classList.add("cdk-overlay-pane"),t.appendChild(i),i}_createHostElement(){const t=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(t),t}_createPortalOutlet(t){return this._appRef||(this._appRef=this._injector.get(wi)),new V3(t,this._componentFactoryResolver,this._appRef,this._injector,this._document)}static#e=this.\u0275fac=function(i){return new(i||e)(D($3),D(Lm),D(Ts),D(Q3),D(G3),D(ct),D(Y),D(_e),D(cd),D(MC),D(W3),D(Kr,8))};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const ez=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],P0=new C("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{const e=T(hr);return()=>e.scrollStrategies.reposition()}});let wd=(()=>{class e{constructor(t){this.elementRef=t}static#e=this.\u0275fac=function(i){return new(i||e)(v(Ce))};static#t=this.\u0275dir=k({type:e,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0})}return e})(),L0=(()=>{class e{get offsetX(){return this._offsetX}set offsetX(t){this._offsetX=t,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(t){this._offsetY=t,this._position&&this._updatePositionStrategy(this._position)}get disposeOnNavigation(){return this._disposeOnNavigation}set disposeOnNavigation(t){this._disposeOnNavigation=t}constructor(t,i,r,o,s){this._overlay=t,this._dir=s,this._backdropSubscription=Pe.EMPTY,this._attachSubscription=Pe.EMPTY,this._detachSubscription=Pe.EMPTY,this._positionSubscription=Pe.EMPTY,this._disposeOnNavigation=!1,this._ngZone=T(Y),this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.hasBackdrop=!1,this.lockPosition=!1,this.flexibleDimensions=!1,this.growAfterOpen=!1,this.push=!1,this.backdropClick=new oe,this.positionChange=new oe,this.attach=new oe,this.detach=new oe,this.overlayKeydown=new oe,this.overlayOutsideClick=new oe,this._templatePortal=new S0(i,r),this._scrollStrategyFactory=o,this.scrollStrategy=this._scrollStrategyFactory()}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(t){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),t.origin&&this.open&&this._position.apply()),t.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=ez);const t=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=t.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=t.detachments().subscribe(()=>this.detach.emit()),t.keydownEvents().subscribe(i=>{this.overlayKeydown.next(i),27===i.keyCode&&!this.disableClose&&!wa(i)&&(i.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(i=>{const r=this._getOriginElement(),o=fd(i);(!r||r!==o&&!r.contains(o))&&this.overlayOutsideClick.next(i)})}_buildConfig(){const t=this._position=this.positionStrategy||this._createPositionStrategy(),i=new Pm({direction:this._dir,positionStrategy:t,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation});return(this.width||0===this.width)&&(i.width=this.width),(this.height||0===this.height)&&(i.height=this.height),(this.minWidth||0===this.minWidth)&&(i.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(i.minHeight=this.minHeight),this.backdropClass&&(i.backdropClass=this.backdropClass),this.panelClass&&(i.panelClass=this.panelClass),i}_updatePositionStrategy(t){const i=this.positions.map(r=>({originX:r.originX,originY:r.originY,overlayX:r.overlayX,overlayY:r.overlayY,offsetX:r.offsetX||this.offsetX,offsetY:r.offsetY||this.offsetY,panelClass:r.panelClass||void 0}));return t.setOrigin(this._getOrigin()).withPositions(i).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const t=this._overlay.position().flexibleConnectedTo(this._getOrigin());return this._updatePositionStrategy(t),t}_getOrigin(){return this.origin instanceof wd?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof wd?this.origin.elementRef.nativeElement:this.origin instanceof Ce?this.origin.nativeElement:typeof Element<"u"&&this.origin instanceof Element?this.origin:null}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(t=>{this.backdropClick.emit(t)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function F3(e,n=!1){return rt((t,i)=>{let r=0;t.subscribe(We(i,o=>{const s=e(o,r++);(s||n)&&i.next(o),!s&&i.complete()}))})}(()=>this.positionChange.observers.length>0)).subscribe(t=>{this._ngZone.run(()=>this.positionChange.emit(t)),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}static#e=this.\u0275fac=function(i){return new(i||e)(v(hr),v(kn),v(gn),v(P0),v(cd,8))};static#t=this.\u0275dir=k({type:e,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:[O.None,"cdkConnectedOverlayOrigin","origin"],positions:[O.None,"cdkConnectedOverlayPositions","positions"],positionStrategy:[O.None,"cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:[O.None,"cdkConnectedOverlayOffsetX","offsetX"],offsetY:[O.None,"cdkConnectedOverlayOffsetY","offsetY"],width:[O.None,"cdkConnectedOverlayWidth","width"],height:[O.None,"cdkConnectedOverlayHeight","height"],minWidth:[O.None,"cdkConnectedOverlayMinWidth","minWidth"],minHeight:[O.None,"cdkConnectedOverlayMinHeight","minHeight"],backdropClass:[O.None,"cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:[O.None,"cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:[O.None,"cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:[O.None,"cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:[O.None,"cdkConnectedOverlayOpen","open"],disableClose:[O.None,"cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:[O.None,"cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:[O.HasDecoratorInputTransform,"cdkConnectedOverlayHasBackdrop","hasBackdrop",ft],lockPosition:[O.HasDecoratorInputTransform,"cdkConnectedOverlayLockPosition","lockPosition",ft],flexibleDimensions:[O.HasDecoratorInputTransform,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",ft],growAfterOpen:[O.HasDecoratorInputTransform,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",ft],push:[O.HasDecoratorInputTransform,"cdkConnectedOverlayPush","push",ft],disposeOnNavigation:[O.HasDecoratorInputTransform,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",ft]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[Fs,fn]})}return e})();const nz={provide:P0,deps:[hr],useFactory:function tz(e){return()=>e.scrollStrategies.reposition()}};let V0=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Le({type:e});static#n=this.\u0275inj=Re({providers:[hr,nz],imports:[ma,B3,x0,x0]})}return e})();class oz{get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}constructor(n=!1,t,i=!0,r){this._multiple=n,this._emitChanges=i,this.compareWith=r,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new te,t&&t.length&&(n?t.forEach(o=>this._markSelected(o)):this._markSelected(t[0]),this._selectedToEmit.length=0)}select(...n){this._verifyValueAssignment(n),n.forEach(i=>this._markSelected(i));const t=this._hasQueuedChanges();return this._emitChangeEvent(),t}deselect(...n){this._verifyValueAssignment(n),n.forEach(i=>this._unmarkSelected(i));const t=this._hasQueuedChanges();return this._emitChangeEvent(),t}setSelection(...n){this._verifyValueAssignment(n);const t=this.selected,i=new Set(n);n.forEach(o=>this._markSelected(o)),t.filter(o=>!i.has(this._getConcreteValue(o,i))).forEach(o=>this._unmarkSelected(o));const r=this._hasQueuedChanges();return this._emitChangeEvent(),r}toggle(n){return this.isSelected(n)?this.deselect(n):this.select(n)}clear(n=!0){this._unmarkAll();const t=this._hasQueuedChanges();return n&&this._emitChangeEvent(),t}isSelected(n){return this._selection.has(this._getConcreteValue(n))}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(n){this._multiple&&this.selected&&this._selected.sort(n)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(n){n=this._getConcreteValue(n),this.isSelected(n)||(this._multiple||this._unmarkAll(),this.isSelected(n)||this._selection.add(n),this._emitChanges&&this._selectedToEmit.push(n))}_unmarkSelected(n){n=this._getConcreteValue(n),this.isSelected(n)&&(this._selection.delete(n),this._emitChanges&&this._deselectedToEmit.push(n))}_unmarkAll(){this.isEmpty()||this._selection.forEach(n=>this._unmarkSelected(n))}_verifyValueAssignment(n){}_hasQueuedChanges(){return!(!this._deselectedToEmit.length&&!this._selectedToEmit.length)}_getConcreteValue(n,t){if(this.compareWith){t=t??this._selection;for(let i of t)if(this.compareWith(n,i))return i;return n}return n}}function Vm(e,n){return rt((t,i)=>{let r=null,o=0,s=!1;const a=()=>s&&!r&&i.complete();t.subscribe(We(i,l=>{r?.unsubscribe();let c=0;const d=o++;xt(e(l,d)).subscribe(r=We(i,u=>i.next(n?n(l,u,d,c++):u),()=>{r=null,a()}))},()=>{s=!0,a()}))})}function lz(e,n){return e===n}const cz=["trigger"],dz=["panel"],uz=[[["mat-select-trigger"]],"*"],fz=["mat-select-trigger","*"];function hz(e,n){if(1&e&&(S(0,"span",4),de(1),I()),2&e){const t=ee();L(),Ks(t.placeholder)}}function pz(e,n){1&e&&Et(0)}function mz(e,n){if(1&e&&(S(0,"span",11),de(1),I()),2&e){const t=ee(2);L(),Ks(t.triggerValue)}}function gz(e,n){if(1&e&&(S(0,"span",10),J(1,pz,1,0)(2,mz,2,1),I()),2&e){const t=ee();L(),nt(1,t.customTrigger?1:2)}}function _z(e,n){if(1&e){const t=vn();S(0,"div",12,1),ce("@transformPanel.done",function(r){return He(t),Ue(ee()._panelDoneAnimatingStream.next(r.toState))})("keydown",function(r){return He(t),Ue(ee()._handleKeydown(r))}),Et(2,1),I()}if(2&e){const t=ee();(function qw(e,n,t){yn(Ht,Ln,ho(b(),e,n,t),!0)})("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",t._getPanelTheme(),""),q("ngClass",t.panelClass)("@transformPanel","showing"),wt("id",t.id+"-panel")("aria-multiselectable",t.multiple)("aria-label",t.ariaLabel||null)("aria-labelledby",t._getPanelAriaLabelledby())}}const yz={transformPanelWrap:mm("transformPanelWrap",[pd("* => void",cU("@transformPanel",[lU()],{optional:!0}))]),transformPanel:mm("transformPanel",[FI("void",cr({opacity:0,transform:"scale(1, 0.8)"})),pd("void => showing",gm("120ms cubic-bezier(0, 0, 0.2, 1)",cr({opacity:1,transform:"scale(1, 1)"}))),pd("* => void",gm("100ms linear",cr({opacity:0})))])};let B0=0;const j0=new C("mat-select-scroll-strategy",{providedIn:"root",factory:()=>{const e=T(hr);return()=>e.scrollStrategies.reposition()}}),bz=new C("MAT_SELECT_CONFIG"),wz={provide:j0,deps:[hr],useFactory:function vz(e){return()=>e.scrollStrategies.reposition()}},Dz=new C("MatSelectTrigger");class Ez{constructor(n,t){this.source=n,this.value=t}}let Cz=(()=>{class e{_scrollOptionIntoView(t){const i=this.options.toArray()[t];if(i){const r=this.panel.nativeElement,o=function A$(e,n,t){if(t.length){let i=n.toArray(),r=t.toArray(),o=0;for(let s=0;st+i?Math.max(0,e-i+n):t}(s.offsetTop,s.offsetHeight,r.scrollTop,r.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(t){return new Ez(this,t)}get focused(){return this._focused||this._panelOpen}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(t){this._hideSingleSelectionIndicator=t,this._syncParentProperties()}get placeholder(){return this._placeholder}set placeholder(t){this._placeholder=t,this.stateChanges.next()}get required(){return this._required??this.ngControl?.control?.hasValidator(Kc.required)??!1}set required(t){this._required=t,this.stateChanges.next()}get multiple(){return this._multiple}set multiple(t){this._multiple=t}get compareWith(){return this._compareWith}set compareWith(t){this._compareWith=t,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(t){this._assignValue(t)&&this._onChange(t)}get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(t){this._errorStateTracker.matcher=t}get id(){return this._id}set id(t){this._id=t||this._uid,this.stateChanges.next()}get errorState(){return this._errorStateTracker.errorState}set errorState(t){this._errorStateTracker.errorState=t}constructor(t,i,r,o,s,a,l,c,d,u,h,f,p,m){this._viewportRuler=t,this._changeDetectorRef=i,this._elementRef=s,this._dir=a,this._parentFormField=d,this.ngControl=u,this._liveAnnouncer=p,this._defaultOptions=m,this._positions=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"}],this._panelOpen=!1,this._compareWith=(g,_)=>g===_,this._uid="mat-select-"+B0++,this._triggerAriaLabelledBy=null,this._destroy=new te,this.stateChanges=new te,this.disableAutomaticLabeling=!0,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+B0++,this._panelDoneAnimatingStream=new te,this._overlayPanelClass=this._defaultOptions?.overlayPanelClass||"",this._focused=!1,this.controlType="mat-select",this.disabled=!1,this.disableRipple=!1,this.tabIndex=0,this._hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1,this._multiple=!1,this.disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1,this.ariaLabel="",this.panelWidth=this._defaultOptions&&typeof this._defaultOptions.panelWidth<"u"?this._defaultOptions.panelWidth:"auto",this._initialized=new te,this.optionSelectionChanges=function sz(e){return new Ae(n=>{xt(e()).subscribe(n)})}(()=>{const g=this.options;return g?g.changes.pipe(xm(g),Vm(()=>va(...g.map(_=>_.onSelectionChange)))):this._initialized.pipe(Vm(()=>this.optionSelectionChanges))}),this.openedChange=new oe,this._openedStream=this.openedChange.pipe(En(g=>g),ot(()=>{})),this._closedStream=this.openedChange.pipe(En(g=>!g),ot(()=>{})),this.selectionChange=new oe,this.valueChange=new oe,this._trackedModal=null,this._skipPredicate=g=>!this.panelOpen&&g.disabled,this.ngControl&&(this.ngControl.valueAccessor=this),null!=m?.typeaheadDebounceInterval&&(this.typeaheadDebounceInterval=m.typeaheadDebounceInterval),this._errorStateTracker=new JI(o,u,c,l,this.stateChanges),this._scrollStrategyFactory=f,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(h)||0,this.id=this.id}ngOnInit(){this._selectionModel=new oz(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(function az(e,n=Cr){return e=e??lz,rt((t,i)=>{let r,o=!0;t.subscribe(We(i,s=>{const a=n(s);(o||!e(r,a))&&(o=!1,r=a,i.next(s))}))})}(),ht(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen)),this._viewportRuler.change().pipe(ht(this._destroy)).subscribe(()=>{this.panelOpen&&(this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._changeDetectorRef.detectChanges())})}ngAfterContentInit(){this._initialized.next(),this._initialized.complete(),this._initKeyManager(),this._selectionModel.changed.pipe(ht(this._destroy)).subscribe(t=>{t.added.forEach(i=>i.select()),t.removed.forEach(i=>i.deselect())}),this.options.changes.pipe(xm(null),ht(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const t=this._getTriggerAriaLabelledby(),i=this.ngControl;if(t!==this._triggerAriaLabelledBy){const r=this._elementRef.nativeElement;this._triggerAriaLabelledBy=t,t?r.setAttribute("aria-labelledby",t):r.removeAttribute("aria-labelledby")}i&&(this._previousControl!==i.control&&(void 0!==this._previousControl&&null!==i.disabled&&i.disabled!==this.disabled&&(this.disabled=i.disabled),this._previousControl=i.control),this.updateErrorState())}ngOnChanges(t){(t.disabled||t.userAriaDescribedBy)&&this.stateChanges.next(),t.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this.typeaheadDebounceInterval)}ngOnDestroy(){this._keyManager?.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete(),this._clearFromModal()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin()),this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._applyModalPanelOwnership(),this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_applyModalPanelOwnership(){const t=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!t)return;const i=`${this.id}-panel`;this._trackedModal&&GI(this._trackedModal,"aria-owns",i),function jU(e,n,t){const i=WI(e,n);t=t.trim(),!i.some(r=>r.trim()===t)&&(i.push(t),e.setAttribute(n,i.join(" ")))}(t,"aria-owns",i),this._trackedModal=t}_clearFromModal(){this._trackedModal&&(GI(this._trackedModal,"aria-owns",`${this.id}-panel`),this._trackedModal=null)}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched(),this.stateChanges.next())}writeValue(t){this._assignValue(t)}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel?.selected||[]:this._selectionModel?.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const t=this._selectionModel.selected.map(i=>i.viewValue);return this._isRtl()&&t.reverse(),t.join(", ")}return this._selectionModel.selected[0].viewValue}updateErrorState(){this._errorStateTracker.updateErrorState()}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(t){this.disabled||(this.panelOpen?this._handleOpenKeydown(t):this._handleClosedKeydown(t))}_handleClosedKeydown(t){const i=t.keyCode,r=40===i||38===i||37===i||39===i,o=13===i||32===i,s=this._keyManager;if(!s.isTyping()&&o&&!wa(t)||(this.multiple||t.altKey)&&r)t.preventDefault(),this.open();else if(!this.multiple){const a=this.selected;s.onKeydown(t);const l=this.selected;l&&a!==l&&this._liveAnnouncer.announce(l.viewValue,1e4)}}_handleOpenKeydown(t){const i=this._keyManager,r=t.keyCode,o=40===r||38===r,s=i.isTyping();if(o&&t.altKey)t.preventDefault(),this.close();else if(s||13!==r&&32!==r||!i.activeItem||wa(t))if(!s&&this._multiple&&65===r&&t.ctrlKey){t.preventDefault();const a=this.options.some(l=>!l.disabled&&!l.selected);this.options.forEach(l=>{l.disabled||(a?l.select():l.deselect())})}else{const a=i.activeItemIndex;i.onKeydown(t),this._multiple&&o&&t.shiftKey&&i.activeItem&&i.activeItemIndex!==a&&i.activeItem._selectViaInteraction()}else t.preventDefault(),i.activeItem._selectViaInteraction()}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this._keyManager?.cancelTypeahead(),!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe(jn(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(t){if(this.options.forEach(i=>i.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&t)Array.isArray(t),t.forEach(i=>this._selectOptionByValue(i)),this._sortValues();else{const i=this._selectOptionByValue(t);i?this._keyManager.updateActiveItem(i):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(t){const i=this.options.find(r=>{if(this._selectionModel.isSelected(r))return!1;try{return null!=r.value&&this._compareWith(r.value,t)}catch{return!1}});return i&&this._selectionModel.select(i),i}_assignValue(t){return!!(t!==this._value||this._multiple&&Array.isArray(t))&&(this.options&&this._setSelectionByValue(t),this._value=t,!0)}_getOverlayWidth(t){return"auto"===this.panelWidth?(t instanceof wd?t.elementRef:t||this._elementRef).nativeElement.getBoundingClientRect().width:null===this.panelWidth?"":this.panelWidth}_syncParentProperties(){if(this.options)for(const t of this.options)t._changeDetectorRef.markForCheck()}_initKeyManager(){this._keyManager=new $U(this.options).withTypeAhead(this.typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withPageUpDown().withAllowedModifierKeys(["shiftKey"]).skipPredicate(this._skipPredicate),this._keyManager.tabOut.subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const t=va(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(ht(t)).subscribe(i=>{this._onSelect(i.source,i.isUserInput),i.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),va(...this.options.map(i=>i._stateChanges)).pipe(ht(t)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(t,i){const r=this._selectionModel.isSelected(t);null!=t.value||this._multiple?(r!==t.selected&&(t.selected?this._selectionModel.select(t):this._selectionModel.deselect(t)),i&&this._keyManager.setActiveItem(t),this.multiple&&(this._sortValues(),i&&this.focus())):(t.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(t.value)),r!==this._selectionModel.isSelected(t)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const t=this.options.toArray();this._selectionModel.sort((i,r)=>this.sortComparator?this.sortComparator(i,r,t):t.indexOf(i)-t.indexOf(r)),this.stateChanges.next()}}_propagateChanges(t){let i;i=this.multiple?this.selected.map(r=>r.value):this.selected?this.selected.value:t,this._value=i,this.valueChange.emit(i),this._onChange(i),this.selectionChange.emit(this._getChangeEvent(i)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let t=-1;for(let i=0;i0}focus(t){this._elementRef.nativeElement.focus(t)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;const t=this._parentFormField?.getLabelId();return this.ariaLabelledby?(t?t+" ":"")+this.ariaLabelledby:t}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;const t=this._parentFormField?.getLabelId();let i=(t?t+" ":"")+this._valueId;return this.ariaLabelledby&&(i+=" "+this.ariaLabelledby),i}_panelDoneAnimating(t){this.openedChange.emit(t)}setDescribedByIds(t){t.length?this._elementRef.nativeElement.setAttribute("aria-describedby",t.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}static#e=this.\u0275fac=function(i){return new(i||e)(v(Nm),v(To),v(Y),v(y$),v(Ce),v(cd,8),v(ad,8),v(pa,8),v(_0,8),v(oi,10),Gi("tabindex"),v(j0),v(n$),v(bz,8))};static#t=this.\u0275cmp=Yn({type:e,selectors:[["mat-select"]],contentQueries:function(i,r,o){if(1&i&&(bn(o,Dz,5),bn(o,l0,5),bn(o,a0,5)),2&i){let s;Ie(s=Se())&&(r.customTrigger=s.first),Ie(s=Se())&&(r.options=s),Ie(s=Se())&&(r.optionGroups=s)}},viewQuery:function(i,r){if(1&i&&(Ct(cz,5),Ct(dz,5),Ct(L0,5)),2&i){let o;Ie(o=Se())&&(r.trigger=o.first),Ie(o=Se())&&(r.panel=o.first),Ie(o=Se())&&(r._overlayDir=o.first)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:19,hostBindings:function(i,r){1&i&&ce("keydown",function(s){return r._handleKeydown(s)})("focus",function(){return r._onFocus()})("blur",function(){return r._onBlur()}),2&i&&(wt("id",r.id)("tabindex",r.disabled?-1:r.tabIndex)("aria-controls",r.panelOpen?r.id+"-panel":null)("aria-expanded",r.panelOpen)("aria-label",r.ariaLabel||null)("aria-required",r.required.toString())("aria-disabled",r.disabled.toString())("aria-invalid",r.errorState)("aria-activedescendant",r._getAriaActiveDescendant()),Dt("mat-mdc-select-disabled",r.disabled)("mat-mdc-select-invalid",r.errorState)("mat-mdc-select-required",r.required)("mat-mdc-select-empty",r.empty)("mat-mdc-select-multiple",r.multiple))},inputs:{userAriaDescribedBy:[O.None,"aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",disabled:[O.HasDecoratorInputTransform,"disabled","disabled",ft],disableRipple:[O.HasDecoratorInputTransform,"disableRipple","disableRipple",ft],tabIndex:[O.HasDecoratorInputTransform,"tabIndex","tabIndex",t=>null==t?0:wC(t)],hideSingleSelectionIndicator:[O.HasDecoratorInputTransform,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",ft],placeholder:"placeholder",required:[O.HasDecoratorInputTransform,"required","required",ft],multiple:[O.HasDecoratorInputTransform,"multiple","multiple",ft],disableOptionCentering:[O.HasDecoratorInputTransform,"disableOptionCentering","disableOptionCentering",ft],compareWith:"compareWith",value:"value",ariaLabel:[O.None,"aria-label","ariaLabel"],ariaLabelledby:[O.None,"aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:[O.HasDecoratorInputTransform,"typeaheadDebounceInterval","typeaheadDebounceInterval",wC],sortComparator:"sortComparator",id:"id",panelWidth:"panelWidth"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],standalone:!0,features:[ve([{provide:g0,useExisting:e},{provide:s0,useExisting:e}]),Fs,fn,ti],ngContentSelectors:fz,decls:11,vars:8,consts:[["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],["panel",""],["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],[1,"mat-mdc-select-value"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-arrow-wrapper"],[1,"mat-mdc-select-arrow"],["viewBox","0 0 24 24","width","24px","height","24px","focusable","false","aria-hidden","true"],["d","M7 10l5 5 5-5z"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"backdropClick","attach","detach","cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth"],[1,"mat-mdc-select-value-text"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",3,"keydown","ngClass"]],template:function(i,r){if(1&i){const o=vn();Co(uz),S(0,"div",2,0),ce("click",function(){return He(o),Ue(r.open())}),S(3,"div",3),J(4,hz,2,1,"span",4)(5,gz,3,1),I(),S(6,"div",5)(7,"div",6),function ny(){H.lFrame.currentNamespace="svg"}(),S(8,"svg",7),ut(9,"path",8),I()()()(),J(10,_z,3,9,"ng-template",9),ce("backdropClick",function(){return He(o),Ue(r.close())})("attach",function(){return He(o),Ue(r._onAttached())})("detach",function(){return He(o),Ue(r.close())})}if(2&i){const o=xo(1);L(3),wt("id",r._valueId),L(),nt(4,r.empty?4:5),L(6),q("cdkConnectedOverlayPanelClass",r._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",r._scrollStrategy)("cdkConnectedOverlayOrigin",r._preferredOverlayOrigin||o)("cdkConnectedOverlayOpen",r.panelOpen)("cdkConnectedOverlayPositions",r._positions)("cdkConnectedOverlayWidth",r._overlayWidth)}},dependencies:[wd,L0,Tp],styles:['.mat-mdc-select{display:inline-block;width:100%;outline:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-select-enabled-trigger-text-color);font-family:var(--mat-select-trigger-text-font);line-height:var(--mat-select-trigger-text-line-height);font-size:var(--mat-select-trigger-text-size);font-weight:var(--mat-select-trigger-text-weight);letter-spacing:var(--mat-select-trigger-text-tracking)}div.mat-mdc-select-panel{box-shadow:var(--mat-select-container-elevation-shadow)}.mat-mdc-select-disabled{color:var(--mat-select-disabled-trigger-text-color)}.mat-mdc-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-mdc-select-disabled .mat-mdc-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-mdc-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-mdc-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-mdc-select-arrow-wrapper{height:24px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper{transform:none}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-invalid .mat-mdc-select-arrow,.mat-form-field-invalid:not(.mat-form-field-disabled) .mat-mdc-form-field-infix::after{color:var(--mat-select-invalid-arrow-color)}.mat-mdc-select-arrow{width:10px;height:5px;position:relative;color:var(--mat-select-enabled-arrow-color)}.mat-mdc-form-field.mat-focused .mat-mdc-select-arrow{color:var(--mat-select-focused-arrow-color)}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-disabled .mat-mdc-select-arrow{color:var(--mat-select-disabled-arrow-color)}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:GrayText}div.mat-mdc-select-panel{width:100%;max-height:275px;outline:0;overflow:auto;padding:8px 0;border-radius:4px;box-sizing:border-box;position:static;background-color:var(--mat-select-panel-background-color)}.cdk-high-contrast-active div.mat-mdc-select-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) div.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above div.mat-mdc-select-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:bottom center}div.mat-mdc-select-panel .mat-mdc-option{--mdc-list-list-item-container-color: var(--mat-select-panel-background-color)}.mat-mdc-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);color:var(--mat-select-placeholder-text-color)}._mat-animation-noopable .mat-mdc-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-mdc-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-mdc-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper{cursor:pointer}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mat-mdc-floating-label{max-width:calc(100% - 18px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 24px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-text-field--label-floating .mdc-notched-outline__notch{max-width:calc(100% - 24px)}.mat-mdc-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}.mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper{transform:var(--mat-select-arrow-transform)}'],encapsulation:2,data:{animation:[yz.transformPanel]},changeDetection:0})}return e})(),H0=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Le({type:e});static#n=this.\u0275inj=Re({providers:[wz],imports:[Fp,V0,Sm,Hn,Rm,Tm,Sm,Hn]})}return e})();class xz extends f2{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class Bm extends xz{static makeCurrent(){!function u2(e){CC??=e}(new Bm)}onAndCancel(n,t,i){return n.addEventListener(t,i),()=>{n.removeEventListener(t,i)}}dispatchEvent(n,t){n.dispatchEvent(t)}remove(n){n.parentNode&&n.parentNode.removeChild(n)}createElement(n,t){return(t=t||this.getDefaultDocument()).createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,t){return"window"===t?window:"document"===t?n:"body"===t?n.body:null}getBaseHref(n){const t=function Iz(){return Ia=Ia||document.querySelector("base"),Ia?Ia.getAttribute("href"):null}();return null==t?null:function Sz(e){return new URL(e,document.baseURI).pathname}(t)}resetBaseElement(){Ia=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return VC(document.cookie,n)}}let Ia=null,Tz=(()=>{class e{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac})}return e})();const jm=new C("");let U0=(()=>{class e{constructor(t,i){this._zone=i,this._eventNameToPlugin=new Map,t.forEach(r=>{r.manager=this}),this._plugins=t.slice().reverse()}addEventListener(t,i,r){return this._findPluginFor(i).addEventListener(t,i,r)}getZone(){return this._zone}_findPluginFor(t){let i=this._eventNameToPlugin.get(t);if(i)return i;if(i=this._plugins.find(o=>o.supports(t)),!i)throw new w(5101,!1);return this._eventNameToPlugin.set(t,i),i}static#e=this.\u0275fac=function(i){return new(i||e)(D(jm),D(Y))};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac})}return e})();class $0{constructor(n){this._doc=n}}const Hm="ng-app-id";let z0=(()=>{class e{constructor(t,i,r,o={}){this.doc=t,this.appId=i,this.nonce=r,this.platformId=o,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=KC(o),this.resetHostNodes()}addStyles(t){for(const i of t)1===this.changeUsageCount(i,1)&&this.onStyleAdded(i)}removeStyles(t){for(const i of t)this.changeUsageCount(i,-1)<=0&&this.onStyleRemoved(i)}ngOnDestroy(){const t=this.styleNodesInDOM;t&&(t.forEach(i=>i.remove()),t.clear());for(const i of this.getAllStyles())this.onStyleRemoved(i);this.resetHostNodes()}addHost(t){this.hostNodes.add(t);for(const i of this.getAllStyles())this.addStyleToHost(t,i)}removeHost(t){this.hostNodes.delete(t)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(t){for(const i of this.hostNodes)this.addStyleToHost(i,t)}onStyleRemoved(t){const i=this.styleRef;i.get(t)?.elements?.forEach(r=>r.remove()),i.delete(t)}collectServerRenderedStyles(){const t=this.doc.head?.querySelectorAll(`style[${Hm}="${this.appId}"]`);if(t?.length){const i=new Map;return t.forEach(r=>{null!=r.textContent&&i.set(r.textContent,r)}),i}return null}changeUsageCount(t,i){const r=this.styleRef;if(r.has(t)){const o=r.get(t);return o.usage+=i,o.usage}return r.set(t,{usage:i,elements:[]}),i}getStyleElement(t,i){const r=this.styleNodesInDOM,o=r?.get(i);if(o?.parentNode===t)return r.delete(i),o.removeAttribute(Hm),o;{const s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=i,this.platformIsServer&&s.setAttribute(Hm,this.appId),t.appendChild(s),s}}addStyleToHost(t,i){const r=this.getStyleElement(t,i),o=this.styleRef,s=o.get(i)?.elements;s?s.push(r):o.set(i,{elements:[r],usage:1})}resetHostNodes(){const t=this.hostNodes;t.clear(),t.add(this.doc.head)}static#e=this.\u0275fac=function(i){return new(i||e)(D(_e),D(Cl),D(df,8),D(mi))};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac})}return e})();const Um={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/"},$m=/%COMP%/g,Rz=new C("",{providedIn:"root",factory:()=>!0});function W0(e,n){return n.map(t=>t.replace($m,e))}let zm=(()=>{class e{constructor(t,i,r,o,s,a,l,c=null){this.eventManager=t,this.sharedStylesHost=i,this.appId=r,this.removeStylesOnCompDestroy=o,this.doc=s,this.platformId=a,this.ngZone=l,this.nonce=c,this.rendererByCompId=new Map,this.platformIsServer=KC(a),this.defaultRenderer=new Gm(t,s,l,this.platformIsServer)}createRenderer(t,i){if(!t||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===sn.ShadowDom&&(i={...i,encapsulation:sn.Emulated});const r=this.getOrCreateRenderer(t,i);return r instanceof Y0?r.applyToHost(t):r instanceof Wm&&r.applyStyles(),r}getOrCreateRenderer(t,i){const r=this.rendererByCompId;let o=r.get(i.id);if(!o){const s=this.doc,a=this.ngZone,l=this.eventManager,c=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,u=this.platformIsServer;switch(i.encapsulation){case sn.Emulated:o=new Y0(l,c,i,this.appId,d,s,a,u);break;case sn.ShadowDom:return new Lz(l,c,t,i,s,a,this.nonce,u);default:o=new Wm(l,c,i,d,s,a,u)}r.set(i.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(i){return new(i||e)(D(U0),D(z0),D(Cl),D(Rz),D(_e),D(mi),D(Y),D(df))};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac})}return e})();class Gm{constructor(n,t,i,r){this.eventManager=n,this.doc=t,this.ngZone=i,this.platformIsServer=r,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(n,t){return t?this.doc.createElementNS(Um[t]||t,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,t){(q0(n)?n.content:n).appendChild(t)}insertBefore(n,t,i){n&&(q0(n)?n.content:n).insertBefore(t,i)}removeChild(n,t){n&&n.removeChild(t)}selectRootElement(n,t){let i="string"==typeof n?this.doc.querySelector(n):n;if(!i)throw new w(-5104,!1);return t||(i.textContent=""),i}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,t,i,r){if(r){t=r+":"+t;const o=Um[r];o?n.setAttributeNS(o,t,i):n.setAttribute(t,i)}else n.setAttribute(t,i)}removeAttribute(n,t,i){if(i){const r=Um[i];r?n.removeAttributeNS(r,t):n.removeAttribute(`${i}:${t}`)}else n.removeAttribute(t)}addClass(n,t){n.classList.add(t)}removeClass(n,t){n.classList.remove(t)}setStyle(n,t,i,r){r&(gi.DashCase|gi.Important)?n.style.setProperty(t,i,r&gi.Important?"important":""):n.style[t]=i}removeStyle(n,t,i){i&gi.DashCase?n.style.removeProperty(t):n.style[t]=""}setProperty(n,t,i){null!=n&&(n[t]=i)}setValue(n,t){n.nodeValue=t}listen(n,t,i){if("string"==typeof n&&!(n=Ei().getGlobalEventTarget(this.doc,n)))throw new Error(`Unsupported event target ${n} for event ${t}`);return this.eventManager.addEventListener(n,t,this.decoratePreventDefault(i))}decoratePreventDefault(n){return t=>{if("__ngUnwrap__"===t)return n;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>n(t)):n(t))&&t.preventDefault()}}}function q0(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class Lz extends Gm{constructor(n,t,i,r,o,s,a,l){super(n,o,s,l),this.sharedStylesHost=t,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const c=W0(r.id,r.styles);for(const d of c){const u=document.createElement("style");a&&u.setAttribute("nonce",a),u.textContent=d,this.shadowRoot.appendChild(u)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,t){return super.appendChild(this.nodeOrShadowRoot(n),t)}insertBefore(n,t,i){return super.insertBefore(this.nodeOrShadowRoot(n),t,i)}removeChild(n,t){return super.removeChild(this.nodeOrShadowRoot(n),t)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Wm extends Gm{constructor(n,t,i,r,o,s,a,l){super(n,o,s,a),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=r,this.styles=l?W0(l,i.styles):i.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class Y0 extends Wm{constructor(n,t,i,r,o,s,a,l){const c=r+"-"+i.id;super(n,t,i,o,s,a,l,c),this.contentAttr=function kz(e){return"_ngcontent-%COMP%".replace($m,e)}(c),this.hostAttr=function Fz(e){return"_nghost-%COMP%".replace($m,e)}(c)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,t){const i=super.createElement(n,t);return super.setAttribute(i,this.contentAttr,""),i}}let Vz=(()=>{class e extends $0{constructor(t){super(t)}supports(t){return!0}addEventListener(t,i,r){return t.addEventListener(i,r,!1),()=>this.removeEventListener(t,i,r)}removeEventListener(t,i,r){return t.removeEventListener(i,r)}static#e=this.\u0275fac=function(i){return new(i||e)(D(_e))};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac})}return e})();const K0=["alt","control","meta","shift"],Bz={"\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"},jz={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let Hz=(()=>{class e extends $0{constructor(t){super(t)}supports(t){return null!=e.parseEventName(t)}addEventListener(t,i,r){const o=e.parseEventName(i),s=e.eventCallback(o.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Ei().onAndCancel(t,o.domEventName,s))}static parseEventName(t){const i=t.toLowerCase().split("."),r=i.shift();if(0===i.length||"keydown"!==r&&"keyup"!==r)return null;const o=e._normalizeKey(i.pop());let s="",a=i.indexOf("code");if(a>-1&&(i.splice(a,1),s="code."),K0.forEach(c=>{const d=i.indexOf(c);d>-1&&(i.splice(d,1),s+=c+".")}),s+=o,0!=i.length||0===o.length)return null;const l={};return l.domEventName=r,l.fullKey=s,l}static matchEventFullKeyCode(t,i){let r=Bz[t.key]||t.key,o="";return i.indexOf("code.")>-1&&(r=t.code,o="code."),!(null==r||!r)&&(r=r.toLowerCase()," "===r?r="space":"."===r&&(r="dot"),K0.forEach(s=>{s!==r&&(0,jz[s])(t)&&(o+=s+".")}),o+=r,o===i)}static eventCallback(t,i,r){return o=>{e.matchEventFullKeyCode(o,t)&&r.runGuarded(()=>i(o))}}static _normalizeKey(t){return"esc"===t?"escape":t}static#e=this.\u0275fac=function(i){return new(i||e)(D(_e))};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac})}return e})();function Z0(e){return{appProviders:[...Q0,...e?.providers??[]],platformProviders:Wz}}const Wz=[{provide:mi,useValue:YC},{provide:Wy,useValue:function $z(){Bm.makeCurrent()},multi:!0},{provide:_e,useFactory:function Gz(){return function dO(e){cf=e}(document),document},deps:[]}],qz=new C(""),X0=[{provide:Ec,useClass:class Mz{addToWindow(n){he.getAngularTestability=(i,r=!0)=>{const o=n.findTestabilityInTree(i,r);if(null==o)throw new w(5103,!1);return o},he.getAllAngularTestabilities=()=>n.getAllTestabilities(),he.getAllAngularRootElements=()=>n.getAllRootElements(),he.frameworkStabilizers||(he.frameworkStabilizers=[]),he.frameworkStabilizers.push(i=>{const r=he.getAllAngularTestabilities();let o=r.length;const s=function(){o--,0==o&&i()};r.forEach(a=>{a.whenStable(s)})})}findTestabilityInTree(n,t,i){return null==t?null:n.getTestability(t)??(i?Ei().isShadowRoot(t)?this.findTestabilityInTree(n,t.host,!0):this.findTestabilityInTree(n,t.parentElement,!0):null)}},deps:[]},{provide:OE,useClass:rp,deps:[Y,op,Ec]},{provide:rp,useClass:rp,deps:[Y,op,Ec]}],Q0=[{provide:Eu,useValue:"root"},{provide:zt,useFactory:function zz(){return new zt},deps:[]},{provide:jm,useClass:Vz,multi:!0,deps:[_e,Y,mi]},{provide:jm,useClass:Hz,multi:!0,deps:[_e]},zm,z0,U0,{provide:ih,useExisting:zm},{provide:ZC,useClass:Tz,deps:[]},[]];let qm=(()=>{class e{constructor(t){}static withServerTransition(t){return{ngModule:e,providers:[{provide:Cl,useValue:t.appId}]}}static#e=this.\u0275fac=function(i){return new(i||e)(D(qz,12))};static#t=this.\u0275mod=Le({type:e});static#n=this.\u0275inj=Re({providers:[...Q0,...X0],imports:[Fp,TV]})}return e})(),Dd=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=M({token:e,factory:function(i){let r=null;return r=i?new(i||e):D(Xz),r},providedIn:"root"})}return e})(),Xz=(()=>{class e extends Dd{constructor(t){super(),this._doc=t}sanitize(t,i){if(null==i)return null;switch(t){case dt.NONE:return i;case dt.HTML:return Nn(i,"HTML")?Gt(i):uv(this._doc,String(i)).toString();case dt.STYLE:return Nn(i,"Style")?Gt(i):i;case dt.SCRIPT:if(Nn(i,"Script"))return Gt(i);throw new w(5200,!1);case dt.URL:return Nn(i,"URL")?Gt(i):Rl(String(i));case dt.RESOURCE_URL:if(Nn(i,"ResourceURL"))return Gt(i);throw new w(5201,!1);default:throw new w(5202,!1)}}bypassSecurityTrustHtml(t){return function OO(e){return new xO(e)}(t)}bypassSecurityTrustStyle(t){return function NO(e){return new IO(e)}(t)}bypassSecurityTrustScript(t){return function RO(e){return new SO(e)}(t)}bypassSecurityTrustUrl(t){return function kO(e){return new MO(e)}(t)}bypassSecurityTrustResourceUrl(t){return function FO(e){return new TO(e)}(t)}static#e=this.\u0275fac=function(i){return new(i||e)(D(_e))};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function nS(e){return new w(3e3,!1)}function Mi(e){switch(e.length){case 0:return new ba;case 1:return e[0];default:return new PI(e)}}function iS(e,n,t=new Map,i=new Map){const r=[],o=[];let s=-1,a=null;if(n.forEach(l=>{const c=l.get("offset"),d=c==s,u=d&&a||new Map;l.forEach((h,f)=>{let p=f,m=h;if("offset"!==f)switch(p=e.normalizePropertyName(p,r),m){case"!":m=t.get(f);break;case ai:m=i.get(f);break;default:m=e.normalizeStyleValue(f,p,m,r)}u.set(p,m)}),d||o.push(u),a=u,s=c}),r.length)throw function b5(e){return new w(3502,!1)}();return o}function Ym(e,n,t,i){switch(n){case"start":e.onStart(()=>i(t&&Km(t,"start",e)));break;case"done":e.onDone(()=>i(t&&Km(t,"done",e)));break;case"destroy":e.onDestroy(()=>i(t&&Km(t,"destroy",e)))}}function Km(e,n,t){const o=Zm(e.element,e.triggerName,e.fromState,e.toState,n||e.phaseName,t.totalTime??e.totalTime,!!t.disabled),s=e._data;return null!=s&&(o._data=s),o}function Zm(e,n,t,i,r="",o=0,s){return{element:e,triggerName:n,fromState:t,toState:i,phaseName:r,totalTime:o,disabled:!!s}}function Kt(e,n,t){let i=e.get(n);return i||e.set(n,i=t),i}function rS(e){const n=e.indexOf(":");return[e.substring(1,n),e.slice(n+1)]}const N5=typeof document>"u"?null:document.documentElement;function Xm(e){const n=e.parentNode||e.host||null;return n===N5?null:n}let pr=null,oS=!1;function sS(e,n){for(;n;){if(n===e)return!0;n=Xm(n)}return!1}function aS(e,n,t){if(t)return Array.from(e.querySelectorAll(n));const i=e.querySelector(n);return i?[i]:[]}let Qm=(()=>{class e{validateStyleProperty(t){return function k5(e){pr||(pr=function F5(){return typeof document<"u"?document.body:null}()||{},oS=!!pr.style&&"WebkitAppearance"in pr.style);let n=!0;return pr.style&&!function R5(e){return"ebkit"==e.substring(1,6)}(e)&&(n=e in pr.style,!n&&oS&&(n="Webkit"+e.charAt(0).toUpperCase()+e.slice(1)in pr.style)),n}(t)}matchesElement(t,i){return!1}containsElement(t,i){return sS(t,i)}getParentElement(t){return Xm(t)}query(t,i,r){return aS(t,i,r)}computeStyle(t,i,r){return r||""}animate(t,i,r,o,s,a=[],l){return new ba(r,o)}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac})}return e})();class Jm{static#e=this.NOOP=new Qm}class eg{}const L5=1e3,tg="ng-enter",Ed="ng-leave",Cd="ng-trigger",xd=".ng-trigger",cS="ng-animating",ng=".ng-animating";function ci(e){if("number"==typeof e)return e;const n=e.match(/^(-?[\.\d]+)(m?s)/);return!n||n.length<2?0:ig(parseFloat(n[1]),n[2])}function ig(e,n){return"s"===n?e*L5:e}function Id(e,n,t){return e.hasOwnProperty("duration")?e:function B5(e,n,t){let r,o=0,s="";if("string"==typeof e){const a=e.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===a)return n.push(nS()),{duration:0,delay:0,easing:""};r=ig(parseFloat(a[1]),a[2]);const l=a[3];null!=l&&(o=ig(parseFloat(l),a[4]));const c=a[5];c&&(s=c)}else r=e;if(!t){let a=!1,l=n.length;r<0&&(n.push(function Qz(){return new w(3100,!1)}()),a=!0),o<0&&(n.push(function Jz(){return new w(3101,!1)}()),a=!0),a&&n.splice(l,0,nS())}return{duration:r,delay:o,easing:s}}(e,n,t)}function Un(e,n,t){n.forEach((i,r)=>{const o=og(r);t&&!t.has(r)&&t.set(r,e.style[o]),e.style[o]=i})}function mr(e,n){n.forEach((t,i)=>{const r=og(i);e.style[r]=""})}function Ma(e){return Array.isArray(e)?1==e.length?e[0]:function aU(e,n=null){return{type:U.Sequence,steps:e,options:n}}(e):e}const rg=new RegExp("{{\\s*(.+?)\\s*}}","g");function uS(e){let n=[];if("string"==typeof e){let t;for(;t=rg.exec(e);)n.push(t[1]);rg.lastIndex=0}return n}function Ta(e,n,t){const i=`${e}`,r=i.replace(rg,(o,s)=>{let a=n[s];return null==a&&(t.push(function t5(e){return new w(3003,!1)}()),a=""),a.toString()});return r==i?e:r}const U5=/-+([a-z0-9])/g;function og(e){return e.replace(U5,(...n)=>n[1].toUpperCase())}function Zt(e,n,t){switch(n.type){case U.Trigger:return e.visitTrigger(n,t);case U.State:return e.visitState(n,t);case U.Transition:return e.visitTransition(n,t);case U.Sequence:return e.visitSequence(n,t);case U.Group:return e.visitGroup(n,t);case U.Animate:return e.visitAnimate(n,t);case U.Keyframes:return e.visitKeyframes(n,t);case U.Style:return e.visitStyle(n,t);case U.Reference:return e.visitReference(n,t);case U.AnimateChild:return e.visitAnimateChild(n,t);case U.AnimateRef:return e.visitAnimateRef(n,t);case U.Query:return e.visitQuery(n,t);case U.Stagger:return e.visitStagger(n,t);default:throw function n5(e){return new w(3004,!1)}()}}function sg(e,n){return window.getComputedStyle(e)[n]}const G5=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]);class fS extends eg{normalizePropertyName(n,t){return og(n)}normalizeStyleValue(n,t,i,r){let o="";const s=i.toString().trim();if(G5.has(t)&&0!==i&&"0"!==i)if("number"==typeof i)o="px";else{const a=i.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&0==a[1].length&&r.push(function i5(e,n){return new w(3005,!1)}())}return s+o}}const Sd="*";const Md=new Set(["true","1"]),Td=new Set(["false","0"]);function hS(e,n){const t=Md.has(e)||Td.has(e),i=Md.has(n)||Td.has(n);return(r,o)=>{let s=e==Sd||e==r,a=n==Sd||n==o;return!s&&t&&"boolean"==typeof r&&(s=r?Md.has(e):Td.has(e)),!a&&i&&"boolean"==typeof o&&(a=o?Md.has(n):Td.has(n)),s&&a}}const K5=new RegExp("s*:selfs*,?","g");function ag(e,n,t,i){return new Z5(e).build(n,t,i)}class Z5{constructor(n){this._driver=n}build(n,t,i){const r=new J5(t);return this._resetContextStyleTimingState(r),Zt(this,Ma(n),r)}_resetContextStyleTimingState(n){n.currentQuerySelector="",n.collectedStyles=new Map,n.collectedStyles.set("",new Map),n.currentTime=0}visitTrigger(n,t){let i=t.queryCount=0,r=t.depCount=0;const o=[],s=[];return"@"==n.name.charAt(0)&&t.errors.push(function r5(){return new w(3006,!1)}()),n.definitions.forEach(a=>{if(this._resetContextStyleTimingState(t),a.type==U.State){const l=a,c=l.name;c.toString().split(/\s*,\s*/).forEach(d=>{l.name=d,o.push(this.visitState(l,t))}),l.name=c}else if(a.type==U.Transition){const l=this.visitTransition(a,t);i+=l.queryCount,r+=l.depCount,s.push(l)}else t.errors.push(function o5(){return new w(3007,!1)}())}),{type:U.Trigger,name:n.name,states:o,transitions:s,queryCount:i,depCount:r,options:null}}visitState(n,t){const i=this.visitStyle(n.styles,t),r=n.options&&n.options.params||null;if(i.containsDynamicStyles){const o=new Set,s=r||{};i.styles.forEach(a=>{a instanceof Map&&a.forEach(l=>{uS(l).forEach(c=>{s.hasOwnProperty(c)||o.add(c)})})}),o.size&&t.errors.push(function s5(e,n){return new w(3008,!1)}(0,o.values()))}return{type:U.State,name:n.name,style:i,options:r?{params:r}:null}}visitTransition(n,t){t.queryCount=0,t.depCount=0;const i=Zt(this,Ma(n.animation),t),r=function W5(e,n){const t=[];return"string"==typeof e?e.split(/\s*,\s*/).forEach(i=>function q5(e,n,t){if(":"==e[0]){const l=function Y5(e,n){switch(e){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,i)=>parseFloat(i)>parseFloat(t);case":decrement":return(t,i)=>parseFloat(i) *"}}(e,t);if("function"==typeof l)return void n.push(l);e=l}const i=e.match(/^(\*|[-\w]+)\s*([=-]>)\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return t.push(function m5(e){return new w(3015,!1)}()),n;const r=i[1],o=i[2],s=i[3];n.push(hS(r,s)),"<"==o[0]&&(r!=Sd||s!=Sd)&&n.push(hS(s,r))}(i,t,n)):t.push(e),t}(n.expr,t.errors);return{type:U.Transition,matchers:r,animation:i,queryCount:t.queryCount,depCount:t.depCount,options:gr(n.options)}}visitSequence(n,t){return{type:U.Sequence,steps:n.steps.map(i=>Zt(this,i,t)),options:gr(n.options)}}visitGroup(n,t){const i=t.currentTime;let r=0;const o=n.steps.map(s=>{t.currentTime=i;const a=Zt(this,s,t);return r=Math.max(r,t.currentTime),a});return t.currentTime=r,{type:U.Group,steps:o,options:gr(n.options)}}visitAnimate(n,t){const i=function t4(e,n){if(e.hasOwnProperty("duration"))return e;if("number"==typeof e)return lg(Id(e,n).duration,0,"");const t=e;if(t.split(/\s+/).some(o=>"{"==o.charAt(0)&&"{"==o.charAt(1))){const o=lg(0,0,"");return o.dynamic=!0,o.strValue=t,o}const r=Id(t,n);return lg(r.duration,r.delay,r.easing)}(n.timings,t.errors);t.currentAnimateTimings=i;let r,o=n.styles?n.styles:cr({});if(o.type==U.Keyframes)r=this.visitKeyframes(o,t);else{let s=n.styles,a=!1;if(!s){a=!0;const c={};i.easing&&(c.easing=i.easing),s=cr(c)}t.currentTime+=i.duration+i.delay;const l=this.visitStyle(s,t);l.isEmptyStep=a,r=l}return t.currentAnimateTimings=null,{type:U.Animate,timings:i,style:r,options:null}}visitStyle(n,t){const i=this._makeStyleAst(n,t);return this._validateStyleAst(i,t),i}_makeStyleAst(n,t){const i=[],r=Array.isArray(n.styles)?n.styles:[n.styles];for(let a of r)"string"==typeof a?a===ai?i.push(a):t.errors.push(new w(3002,!1)):i.push(new Map(Object.entries(a)));let o=!1,s=null;return i.forEach(a=>{if(a instanceof Map&&(a.has("easing")&&(s=a.get("easing"),a.delete("easing")),!o))for(let l of a.values())if(l.toString().indexOf("{{")>=0){o=!0;break}}),{type:U.Style,styles:i,easing:s,offset:n.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(n,t){const i=t.currentAnimateTimings;let r=t.currentTime,o=t.currentTime;i&&o>0&&(o-=i.duration+i.delay),n.styles.forEach(s=>{"string"!=typeof s&&s.forEach((a,l)=>{const c=t.collectedStyles.get(t.currentQuerySelector),d=c.get(l);let u=!0;d&&(o!=r&&o>=d.startTime&&r<=d.endTime&&(t.errors.push(function l5(e,n,t,i,r){return new w(3010,!1)}()),u=!1),o=d.startTime),u&&c.set(l,{startTime:o,endTime:r}),t.options&&function H5(e,n,t){const i=n.params||{},r=uS(e);r.length&&r.forEach(o=>{i.hasOwnProperty(o)||t.push(function e5(e){return new w(3001,!1)}())})}(a,t.options,t.errors)})})}visitKeyframes(n,t){const i={type:U.Keyframes,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(function c5(){return new w(3011,!1)}()),i;let o=0;const s=[];let a=!1,l=!1,c=0;const d=n.steps.map(_=>{const y=this._makeStyleAst(_,t);let E=null!=y.offset?y.offset:function e4(e){if("string"==typeof e)return null;let n=null;if(Array.isArray(e))e.forEach(t=>{if(t instanceof Map&&t.has("offset")){const i=t;n=parseFloat(i.get("offset")),i.delete("offset")}});else if(e instanceof Map&&e.has("offset")){const t=e;n=parseFloat(t.get("offset")),t.delete("offset")}return n}(y.styles),A=0;return null!=E&&(o++,A=y.offset=E),l=l||A<0||A>1,a=a||A0&&o{const E=h>0?y==f?1:h*y:s[y],A=E*g;t.currentTime=p+m.delay+A,m.duration=A,this._validateStyleAst(_,t),_.offset=E,i.styles.push(_)}),i}visitReference(n,t){return{type:U.Reference,animation:Zt(this,Ma(n.animation),t),options:gr(n.options)}}visitAnimateChild(n,t){return t.depCount++,{type:U.AnimateChild,options:gr(n.options)}}visitAnimateRef(n,t){return{type:U.AnimateRef,animation:this.visitReference(n.animation,t),options:gr(n.options)}}visitQuery(n,t){const i=t.currentQuerySelector,r=n.options||{};t.queryCount++,t.currentQuery=n;const[o,s]=function X5(e){const n=!!e.split(/\s*,\s*/).find(t=>":self"==t);return n&&(e=e.replace(K5,"")),e=e.replace(/@\*/g,xd).replace(/@\w+/g,t=>xd+"-"+t.slice(1)).replace(/:animating/g,ng),[e,n]}(n.selector);t.currentQuerySelector=i.length?i+" "+o:o,Kt(t.collectedStyles,t.currentQuerySelector,new Map);const a=Zt(this,Ma(n.animation),t);return t.currentQuery=null,t.currentQuerySelector=i,{type:U.Query,selector:o,limit:r.limit||0,optional:!!r.optional,includeSelf:s,animation:a,originalSelector:n.selector,options:gr(n.options)}}visitStagger(n,t){t.currentQuery||t.errors.push(function h5(){return new w(3013,!1)}());const i="full"===n.timings?{duration:0,delay:0,easing:"full"}:Id(n.timings,t.errors,!0);return{type:U.Stagger,animation:Zt(this,Ma(n.animation),t),timings:i,options:null}}}class J5{constructor(n){this.errors=n,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function gr(e){return e?(e={...e}).params&&(e.params=function Q5(e){return e?{...e}:null}(e.params)):e={},e}function lg(e,n,t){return{duration:e,delay:n,easing:t}}function cg(e,n,t,i,r,o,s=null,a=!1){return{type:1,element:e,keyframes:n,preStyleProps:t,postStyleProps:i,duration:r,delay:o,totalTime:r+o,easing:s,subTimeline:a}}class Ad{constructor(){this._map=new Map}get(n){return this._map.get(n)||[]}append(n,t){let i=this._map.get(n);i||this._map.set(n,i=[]),i.push(...t)}has(n){return this._map.has(n)}clear(){this._map.clear()}}const r4=new RegExp(":enter","g"),s4=new RegExp(":leave","g");function dg(e,n,t,i,r,o=new Map,s=new Map,a,l,c=[]){return(new a4).buildKeyframes(e,n,t,i,r,o,s,a,l,c)}class a4{buildKeyframes(n,t,i,r,o,s,a,l,c,d=[]){c=c||new Ad;const u=new ug(n,t,c,r,o,d,[]);u.options=l;const h=l.delay?ci(l.delay):0;u.currentTimeline.delayNextStep(h),u.currentTimeline.setStyles([s],null,u.errors,l),Zt(this,i,u);const f=u.timelines.filter(p=>p.containsAnimation());if(f.length&&a.size){let p;for(let m=f.length-1;m>=0;m--){const g=f[m];if(g.element===t){p=g;break}}p&&!p.allowOnlyTimelineStyles()&&p.setStyles([a],null,u.errors,l)}return f.length?f.map(p=>p.buildKeyframes()):[cg(t,[],[],[],0,h,"",!1)]}visitTrigger(n,t){}visitState(n,t){}visitTransition(n,t){}visitAnimateChild(n,t){const i=t.subInstructions.get(t.element);if(i){const r=t.createSubContext(n.options),o=t.currentTimeline.currentTime,s=this._visitSubInstructions(i,r,r.options);o!=s&&t.transformIntoNewTimeline(s)}t.previousNode=n}visitAnimateRef(n,t){const i=t.createSubContext(n.options);i.transformIntoNewTimeline(),this._applyAnimationRefDelays([n.options,n.animation.options],t,i),this.visitReference(n.animation,i),t.transformIntoNewTimeline(i.currentTimeline.currentTime),t.previousNode=n}_applyAnimationRefDelays(n,t,i){for(const r of n){const o=r?.delay;if(o){const s="number"==typeof o?o:ci(Ta(o,r?.params??{},t.errors));i.delayNextStep(s)}}}_visitSubInstructions(n,t,i){let o=t.currentTimeline.currentTime;const s=null!=i.duration?ci(i.duration):null,a=null!=i.delay?ci(i.delay):null;return 0!==s&&n.forEach(l=>{const c=t.appendInstructionToTimeline(l,s,a);o=Math.max(o,c.duration+c.delay)}),o}visitReference(n,t){t.updateOptions(n.options,!0),Zt(this,n.animation,t),t.previousNode=n}visitSequence(n,t){const i=t.subContextCount;let r=t;const o=n.options;if(o&&(o.params||o.delay)&&(r=t.createSubContext(o),r.transformIntoNewTimeline(),null!=o.delay)){r.previousNode.type==U.Style&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=Od);const s=ci(o.delay);r.delayNextStep(s)}n.steps.length&&(n.steps.forEach(s=>Zt(this,s,r)),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>i&&r.transformIntoNewTimeline()),t.previousNode=n}visitGroup(n,t){const i=[];let r=t.currentTimeline.currentTime;const o=n.options&&n.options.delay?ci(n.options.delay):0;n.steps.forEach(s=>{const a=t.createSubContext(n.options);o&&a.delayNextStep(o),Zt(this,s,a),r=Math.max(r,a.currentTimeline.currentTime),i.push(a.currentTimeline)}),i.forEach(s=>t.currentTimeline.mergeTimelineCollectedStyles(s)),t.transformIntoNewTimeline(r),t.previousNode=n}_visitTiming(n,t){if(n.dynamic){const i=n.strValue;return Id(t.params?Ta(i,t.params,t.errors):i,t.errors)}return{duration:n.duration,delay:n.delay,easing:n.easing}}visitAnimate(n,t){const i=t.currentAnimateTimings=this._visitTiming(n.timings,t),r=t.currentTimeline;i.delay&&(t.incrementTime(i.delay),r.snapshotCurrentStyles());const o=n.style;o.type==U.Keyframes?this.visitKeyframes(o,t):(t.incrementTime(i.duration),this.visitStyle(o,t),r.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=n}visitStyle(n,t){const i=t.currentTimeline,r=t.currentAnimateTimings;!r&&i.hasCurrentStyleProperties()&&i.forwardFrame();const o=r&&r.easing||n.easing;n.isEmptyStep?i.applyEmptyStep(o):i.setStyles(n.styles,o,t.errors,t.options),t.previousNode=n}visitKeyframes(n,t){const i=t.currentAnimateTimings,r=t.currentTimeline.duration,o=i.duration,a=t.createSubContext().currentTimeline;a.easing=i.easing,n.styles.forEach(l=>{a.forwardTime((l.offset||0)*o),a.setStyles(l.styles,l.easing,t.errors,t.options),a.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(a),t.transformIntoNewTimeline(r+o),t.previousNode=n}visitQuery(n,t){const i=t.currentTimeline.currentTime,r=n.options||{},o=r.delay?ci(r.delay):0;o&&(t.previousNode.type===U.Style||0==i&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=Od);let s=i;const a=t.invokeQuery(n.selector,n.originalSelector,n.limit,n.includeSelf,!!r.optional,t.errors);t.currentQueryTotal=a.length;let l=null;a.forEach((c,d)=>{t.currentQueryIndex=d;const u=t.createSubContext(n.options,c);o&&u.delayNextStep(o),c===t.element&&(l=u.currentTimeline),Zt(this,n.animation,u),u.currentTimeline.applyStylesToKeyframe(),s=Math.max(s,u.currentTimeline.currentTime)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(s),l&&(t.currentTimeline.mergeTimelineCollectedStyles(l),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=n}visitStagger(n,t){const i=t.parentContext,r=t.currentTimeline,o=n.timings,s=Math.abs(o.duration),a=s*(t.currentQueryTotal-1);let l=s*t.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":l=a-l;break;case"full":l=i.currentStaggerTime}const d=t.currentTimeline;l&&d.delayNextStep(l);const u=d.currentTime;Zt(this,n.animation,t),t.previousNode=n,i.currentStaggerTime=r.currentTime-u+(r.startTime-i.currentTimeline.startTime)}}const Od={};class ug{constructor(n,t,i,r,o,s,a,l){this._driver=n,this.element=t,this.subInstructions=i,this._enterClassName=r,this._leaveClassName=o,this.errors=s,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Od,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new Nd(this._driver,t,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(n,t){if(!n)return;const i=n;let r=this.options;null!=i.duration&&(r.duration=ci(i.duration)),null!=i.delay&&(r.delay=ci(i.delay));const o=i.params;if(o){let s=r.params;s||(s=this.options.params={}),Object.keys(o).forEach(a=>{(!t||!s.hasOwnProperty(a))&&(s[a]=Ta(o[a],s,this.errors))})}}_copyOptions(){const n={};if(this.options){const t=this.options.params;if(t){const i=n.params={};Object.keys(t).forEach(r=>{i[r]=t[r]})}}return n}createSubContext(n=null,t,i){const r=t||this.element,o=new ug(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,i||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(n),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}transformIntoNewTimeline(n){return this.previousNode=Od,this.currentTimeline=this.currentTimeline.fork(this.element,n),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(n,t,i){const r={duration:t??n.duration,delay:this.currentTimeline.currentTime+(i??0)+n.delay,easing:""},o=new l4(this._driver,n.element,n.keyframes,n.preStyleProps,n.postStyleProps,r,n.stretchStartingKeyframe);return this.timelines.push(o),r}incrementTime(n){this.currentTimeline.forwardTime(this.currentTimeline.duration+n)}delayNextStep(n){n>0&&this.currentTimeline.delayNextStep(n)}invokeQuery(n,t,i,r,o,s){let a=[];if(r&&a.push(this.element),n.length>0){n=(n=n.replace(r4,"."+this._enterClassName)).replace(s4,"."+this._leaveClassName);let c=this._driver.query(this.element,n,1!=i);0!==i&&(c=i<0?c.slice(c.length+i,c.length):c.slice(0,i)),a.push(...c)}return!o&&0==a.length&&s.push(function p5(e){return new w(3014,!1)}()),a}}class Nd{constructor(n,t,i,r){this._driver=n,this.element=t,this.startTime=i,this._elementTimelineStylesLookup=r,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(n){const t=1===this._keyframes.size&&this._pendingStyles.size;this.duration||t?(this.forwardTime(this.currentTime+n),t&&this.snapshotCurrentStyles()):this.startTime+=n}fork(n,t){return this.applyStylesToKeyframe(),new Nd(this._driver,n,t||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(n){this.applyStylesToKeyframe(),this.duration=n,this._loadKeyframe()}_updateStyle(n,t){this._localTimelineStyles.set(n,t),this._globalTimelineStyles.set(n,t),this._styleSummary.set(n,{time:this.currentTime,value:t})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(n){n&&this._previousKeyframe.set("easing",n);for(let[t,i]of this._globalTimelineStyles)this._backFill.set(t,i||ai),this._currentKeyframe.set(t,ai);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(n,t,i,r){t&&this._previousKeyframe.set("easing",t);const o=r&&r.params||{},s=function c4(e,n){const t=new Map;let i;return e.forEach(r=>{if("*"===r){i??=n.keys();for(let o of i)t.set(o,ai)}else for(let[o,s]of r)t.set(o,s)}),t}(n,this._globalTimelineStyles);for(let[a,l]of s){const c=Ta(l,o,i);this._pendingStyles.set(a,c),this._localTimelineStyles.has(a)||this._backFill.set(a,this._globalTimelineStyles.get(a)??ai),this._updateStyle(a,c)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((n,t)=>{this._currentKeyframe.set(t,n)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((n,t)=>{this._currentKeyframe.has(t)||this._currentKeyframe.set(t,n)}))}snapshotCurrentStyles(){for(let[n,t]of this._localTimelineStyles)this._pendingStyles.set(n,t),this._updateStyle(n,t)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const n=[];for(let t in this._currentKeyframe)n.push(t);return n}mergeTimelineCollectedStyles(n){n._styleSummary.forEach((t,i)=>{const r=this._styleSummary.get(i);(!r||t.time>r.time)&&this._updateStyle(i,t.value)})}buildKeyframes(){this.applyStylesToKeyframe();const n=new Set,t=new Set,i=1===this._keyframes.size&&0===this.duration;let r=[];this._keyframes.forEach((a,l)=>{const c=new Map([...this._backFill,...a]);c.forEach((d,u)=>{"!"===d?n.add(u):d===ai&&t.add(u)}),i||c.set("offset",l/this.duration),r.push(c)});const o=[...n.values()],s=[...t.values()];if(i){const a=r[0],l=new Map(a);a.set("offset",0),l.set("offset",1),r=[a,l]}return cg(this.element,r,o,s,this.duration,this.startTime,this.easing,!1)}}class l4 extends Nd{constructor(n,t,i,r,o,s,a=!1){super(n,t,s.delay),this.keyframes=i,this.preStyleProps=r,this.postStyleProps=o,this._stretchStartingKeyframe=a,this.timings={duration:s.duration,delay:s.delay,easing:s.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let n=this.keyframes,{delay:t,duration:i,easing:r}=this.timings;if(this._stretchStartingKeyframe&&t){const o=[],s=i+t,a=t/s,l=new Map(n[0]);l.set("offset",0),o.push(l);const c=new Map(n[0]);c.set("offset",gS(a)),o.push(c);const d=n.length-1;for(let u=1;u<=d;u++){let h=new Map(n[u]);const f=h.get("offset");h.set("offset",gS((t+f*i)/s)),o.push(h)}i=s,t=0,r="",n=o}return cg(this.element,n,this.preStyleProps,this.postStyleProps,i,t,r,!0)}}function gS(e,n=3){const t=Math.pow(10,n-1);return Math.round(e*t)/t}function _S(e,n,t,i,r,o,s,a,l,c,d,u,h){return{type:0,element:e,triggerName:n,isRemovalTransition:r,fromState:t,fromStyles:o,toState:i,toStyles:s,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:d,totalTime:u,errors:h}}const fg={};class yS{constructor(n,t,i){this._triggerName=n,this.ast=t,this._stateStyles=i}match(n,t,i,r){return function d4(e,n,t,i,r){return e.some(o=>o(n,t,i,r))}(this.ast.matchers,n,t,i,r)}buildStyles(n,t,i){let r=this._stateStyles.get("*");return void 0!==n&&(r=this._stateStyles.get(n?.toString())||r),r?r.buildStyles(t,i):new Map}build(n,t,i,r,o,s,a,l,c,d){const u=[],h=this.ast.options&&this.ast.options.params||fg,p=this.buildStyles(i,a&&a.params||fg,u),m=l&&l.params||fg,g=this.buildStyles(r,m,u),_=new Set,y=new Map,E=new Map,A="void"===r,$={params:vS(m,h),delay:this.ast.options?.delay},K=d?[]:dg(n,t,this.ast.animation,o,s,p,g,$,c,u);let ie=0;return K.forEach(Ne=>{ie=Math.max(Ne.duration+Ne.delay,ie)}),u.length?_S(t,this._triggerName,i,r,A,p,g,[],[],y,E,ie,u):(K.forEach(Ne=>{const zn=Ne.element,Ni=Kt(y,zn,new Set);Ne.preStyleProps.forEach(wr=>Ni.add(wr));const fM=Kt(E,zn,new Set);Ne.postStyleProps.forEach(wr=>fM.add(wr)),zn!==t&&_.add(zn)}),_S(t,this._triggerName,i,r,A,p,g,K,[..._.values()],y,E,ie))}}function vS(e,n){const t={...n};return Object.entries(e).forEach(([i,r])=>{null!=r&&(t[i]=r)}),t}class u4{constructor(n,t,i){this.styles=n,this.defaultParams=t,this.normalizer=i}buildStyles(n,t){const i=new Map,r=vS(n,this.defaultParams);return this.styles.styles.forEach(o=>{"string"!=typeof o&&o.forEach((s,a)=>{s&&(s=Ta(s,r,t));const l=this.normalizer.normalizePropertyName(a,t);s=this.normalizer.normalizeStyleValue(a,l,s,t),i.set(a,s)})}),i}}class h4{constructor(n,t,i){this.name=n,this.ast=t,this._normalizer=i,this.transitionFactories=[],this.states=new Map,t.states.forEach(r=>{this.states.set(r.name,new u4(r.style,r.options&&r.options.params||{},i))}),bS(this.states,"true","1"),bS(this.states,"false","0"),t.transitions.forEach(r=>{this.transitionFactories.push(new yS(n,r,this.states))}),this.fallbackTransition=function p4(e,n,t){return new yS(e,{type:U.Transition,animation:{type:U.Sequence,steps:[],options:null},matchers:[(s,a)=>!0],options:null,queryCount:0,depCount:0},n)}(n,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(n,t,i,r){return this.transitionFactories.find(s=>s.match(n,t,i,r))||null}matchStyles(n,t,i){return this.fallbackTransition.buildStyles(n,t,i)}}function bS(e,n,t){e.has(n)?e.has(t)||e.set(t,e.get(n)):e.has(t)&&e.set(n,e.get(t))}const m4=new Ad;class g4{constructor(n,t,i){this.bodyNode=n,this._driver=t,this._normalizer=i,this._animations=new Map,this._playersById=new Map,this.players=[]}register(n,t){const i=[],o=ag(this._driver,t,i,[]);if(i.length)throw function w5(e){return new w(3503,!1)}();this._animations.set(n,o)}_buildPlayer(n,t,i){const r=n.element,o=iS(this._normalizer,n.keyframes,t,i);return this._driver.animate(r,o,n.duration,n.delay,n.easing,[],!0)}create(n,t,i={}){const r=[],o=this._animations.get(n);let s;const a=new Map;if(o?(s=dg(this._driver,t,o,tg,Ed,new Map,new Map,i,m4,r),s.forEach(d=>{const u=Kt(a,d.element,new Map);d.postStyleProps.forEach(h=>u.set(h,null))})):(r.push(function D5(){return new w(3300,!1)}()),s=[]),r.length)throw function E5(e){return new w(3504,!1)}();a.forEach((d,u)=>{d.forEach((h,f)=>{d.set(f,this._driver.computeStyle(u,f,ai))})});const c=Mi(s.map(d=>{const u=a.get(d.element);return this._buildPlayer(d,new Map,u)}));return this._playersById.set(n,c),c.onDestroy(()=>this.destroy(n)),this.players.push(c),c}destroy(n){const t=this._getPlayer(n);t.destroy(),this._playersById.delete(n);const i=this.players.indexOf(t);i>=0&&this.players.splice(i,1)}_getPlayer(n){const t=this._playersById.get(n);if(!t)throw function C5(e){return new w(3301,!1)}();return t}listen(n,t,i,r){const o=Zm(t,"","","");return Ym(this._getPlayer(n),i,o,r),()=>{}}command(n,t,i,r){if("register"==i)return void this.register(n,r[0]);if("create"==i)return void this.create(n,t,r[0]||{});const o=this._getPlayer(n);switch(i){case"play":o.play();break;case"pause":o.pause();break;case"reset":o.reset();break;case"restart":o.restart();break;case"finish":o.finish();break;case"init":o.init();break;case"setPosition":o.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(n)}}}const wS="ng-animate-queued",hg="ng-animate-disabled",w4=[],DS={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},D4={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Cn="__ng_removed";class pg{get params(){return this.options.params}constructor(n,t=""){this.namespaceId=t;const i=n&&n.hasOwnProperty("value");if(this.value=function I4(e){return e??null}(i?n.value:n),i){const{value:o,...s}=n;this.options=s}else this.options={};this.options.params||(this.options.params={})}absorbOptions(n){const t=n.params;if(t){const i=this.options.params;Object.keys(t).forEach(r=>{null==i[r]&&(i[r]=t[r])})}}}const Aa="void",mg=new pg(Aa);class E4{constructor(n,t,i){this.id=n,this.hostElement=t,this._engine=i,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+n,nn(t,this._hostClassName)}listen(n,t,i,r){if(!this._triggers.has(t))throw function x5(e,n){return new w(3302,!1)}();if(null==i||0==i.length)throw function I5(e){return new w(3303,!1)}();if(!function S4(e){return"start"==e||"done"==e}(i))throw function S5(e,n){return new w(3400,!1)}();const o=Kt(this._elementListeners,n,[]),s={name:t,phase:i,callback:r};o.push(s);const a=Kt(this._engine.statesByElement,n,new Map);return a.has(t)||(nn(n,Cd),nn(n,Cd+"-"+t),a.set(t,mg)),()=>{this._engine.afterFlush(()=>{const l=o.indexOf(s);l>=0&&o.splice(l,1),this._triggers.has(t)||a.delete(t)})}}register(n,t){return!this._triggers.has(n)&&(this._triggers.set(n,t),!0)}_getTrigger(n){const t=this._triggers.get(n);if(!t)throw function M5(e){return new w(3401,!1)}();return t}trigger(n,t,i,r=!0){const o=this._getTrigger(t),s=new gg(this.id,t,n);let a=this._engine.statesByElement.get(n);a||(nn(n,Cd),nn(n,Cd+"-"+t),this._engine.statesByElement.set(n,a=new Map));let l=a.get(t);const c=new pg(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),a.set(t,c),l||(l=mg),c.value!==Aa&&l.value===c.value){if(!function A4(e,n){const t=Object.keys(e),i=Object.keys(n);if(t.length!=i.length)return!1;for(let r=0;r{mr(n,g),Un(n,_)})}return}const h=Kt(this._engine.playersByElement,n,[]);h.forEach(m=>{m.namespaceId==this.id&&m.triggerName==t&&m.queued&&m.destroy()});let f=o.matchTransition(l.value,c.value,n,c.params),p=!1;if(!f){if(!r)return;f=o.fallbackTransition,p=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:t,transition:f,fromState:l,toState:c,player:s,isFallbackTransition:p}),p||(nn(n,wS),s.onStart(()=>{Fo(n,wS)})),s.onDone(()=>{let m=this.players.indexOf(s);m>=0&&this.players.splice(m,1);const g=this._engine.playersByElement.get(n);if(g){let _=g.indexOf(s);_>=0&&g.splice(_,1)}}),this.players.push(s),h.push(s),s}deregister(n){this._triggers.delete(n),this._engine.statesByElement.forEach(t=>t.delete(n)),this._elementListeners.forEach((t,i)=>{this._elementListeners.set(i,t.filter(r=>r.name!=n))})}clearElementCache(n){this._engine.statesByElement.delete(n),this._elementListeners.delete(n);const t=this._engine.playersByElement.get(n);t&&(t.forEach(i=>i.destroy()),this._engine.playersByElement.delete(n))}_signalRemovalForInnerTriggers(n,t){const i=this._engine.driver.query(n,xd,!0);i.forEach(r=>{if(r[Cn])return;const o=this._engine.fetchNamespacesByElement(r);o.size?o.forEach(s=>s.triggerLeaveAnimation(r,t,!1,!0)):this.clearElementCache(r)}),this._engine.afterFlushAnimationsDone(()=>i.forEach(r=>this.clearElementCache(r)))}triggerLeaveAnimation(n,t,i,r){const o=this._engine.statesByElement.get(n),s=new Map;if(o){const a=[];if(o.forEach((l,c)=>{if(s.set(c,l.value),this._triggers.has(c)){const d=this.trigger(n,c,Aa,r);d&&a.push(d)}}),a.length)return this._engine.markElementAsRemoved(this.id,n,!0,t,s),i&&Mi(a).onDone(()=>this._engine.processLeaveNode(n)),!0}return!1}prepareLeaveAnimationListeners(n){const t=this._elementListeners.get(n),i=this._engine.statesByElement.get(n);if(t&&i){const r=new Set;t.forEach(o=>{const s=o.name;if(r.has(s))return;r.add(s);const l=this._triggers.get(s).fallbackTransition,c=i.get(s)||mg,d=new pg(Aa),u=new gg(this.id,s,n);this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:s,transition:l,fromState:c,toState:d,player:u,isFallbackTransition:!0})})}}removeNode(n,t){const i=this._engine;if(n.childElementCount&&this._signalRemovalForInnerTriggers(n,t),this.triggerLeaveAnimation(n,t,!0))return;let r=!1;if(i.totalAnimations){const o=i.players.length?i.playersByQueriedElement.get(n):[];if(o&&o.length)r=!0;else{let s=n;for(;s=s.parentNode;)if(i.statesByElement.get(s)){r=!0;break}}}if(this.prepareLeaveAnimationListeners(n),r)i.markElementAsRemoved(this.id,n,!1,t);else{const o=n[Cn];(!o||o===DS)&&(i.afterFlush(()=>this.clearElementCache(n)),i.destroyInnerAnimations(n),i._onRemovalComplete(n,t))}}insertNode(n,t){nn(n,this._hostClassName)}drainQueuedTransitions(n){const t=[];return this._queue.forEach(i=>{const r=i.player;if(r.destroyed)return;const o=i.element,s=this._elementListeners.get(o);s&&s.forEach(a=>{if(a.name==i.triggerName){const l=Zm(o,i.triggerName,i.fromState.value,i.toState.value);l._data=n,Ym(i.player,a.phase,l,a.callback)}}),r.markedForDestroy?this._engine.afterFlush(()=>{r.destroy()}):t.push(i)}),this._queue=[],t.sort((i,r)=>{const o=i.transition.ast.depCount,s=r.transition.ast.depCount;return 0==o||0==s?o-s:this._engine.driver.containsElement(i.element,r.element)?1:-1})}destroy(n){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,n)}}class C4{_onRemovalComplete(n,t){this.onRemovalComplete(n,t)}constructor(n,t,i,r){this.bodyNode=n,this.driver=t,this._normalizer=i,this.scheduler=r,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(o,s)=>{}}get queuedPlayers(){const n=[];return this._namespaceList.forEach(t=>{t.players.forEach(i=>{i.queued&&n.push(i)})}),n}createNamespace(n,t){const i=new E4(n,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(i,t):(this.newHostElements.set(t,i),this.collectEnterElement(t)),this._namespaceLookup[n]=i}_balanceNamespaceList(n,t){const i=this._namespaceList,r=this.namespacesByHostElement;if(i.length-1>=0){let s=!1,a=this.driver.getParentElement(t);for(;a;){const l=r.get(a);if(l){const c=i.indexOf(l);i.splice(c+1,0,n),s=!0;break}a=this.driver.getParentElement(a)}s||i.unshift(n)}else i.push(n);return r.set(t,n),n}register(n,t){let i=this._namespaceLookup[n];return i||(i=this.createNamespace(n,t)),i}registerTrigger(n,t,i){let r=this._namespaceLookup[n];r&&r.register(t,i)&&this.totalAnimations++}destroy(n,t){n&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const i=this._fetchNamespace(n);this.namespacesByHostElement.delete(i.hostElement);const r=this._namespaceList.indexOf(i);r>=0&&this._namespaceList.splice(r,1),i.destroy(t),delete this._namespaceLookup[n]}))}_fetchNamespace(n){return this._namespaceLookup[n]}fetchNamespacesByElement(n){const t=new Set,i=this.statesByElement.get(n);if(i)for(let r of i.values())if(r.namespaceId){const o=this._fetchNamespace(r.namespaceId);o&&t.add(o)}return t}trigger(n,t,i,r){if(Rd(t)){const o=this._fetchNamespace(n);if(o)return o.trigger(t,i,r),!0}return!1}insertNode(n,t,i,r){if(!Rd(t))return;const o=t[Cn];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;const s=this.collectedLeaveElements.indexOf(t);s>=0&&this.collectedLeaveElements.splice(s,1)}if(n){const s=this._fetchNamespace(n);s&&s.insertNode(t,i)}r&&this.collectEnterElement(t)}collectEnterElement(n){this.collectedEnterElements.push(n)}markElementAsDisabled(n,t){t?this.disabledNodes.has(n)||(this.disabledNodes.add(n),nn(n,hg)):this.disabledNodes.has(n)&&(this.disabledNodes.delete(n),Fo(n,hg))}removeNode(n,t,i){if(Rd(t)){this.scheduler?.notify();const r=n?this._fetchNamespace(n):null;r?r.removeNode(t,i):this.markElementAsRemoved(n,t,!1,i);const o=this.namespacesByHostElement.get(t);o&&o.id!==n&&o.removeNode(t,i)}else this._onRemovalComplete(t,i)}markElementAsRemoved(n,t,i,r,o){this.collectedLeaveElements.push(t),t[Cn]={namespaceId:n,setForRemoval:r,hasAnimation:i,removedBeforeQueried:!1,previousTriggersValues:o}}listen(n,t,i,r,o){return Rd(t)?this._fetchNamespace(n).listen(t,i,r,o):()=>{}}_buildInstruction(n,t,i,r,o){return n.transition.build(this.driver,n.element,n.fromState.value,n.toState.value,i,r,n.fromState.options,n.toState.options,t,o)}destroyInnerAnimations(n){let t=this.driver.query(n,xd,!0);t.forEach(i=>this.destroyActiveAnimationsForElement(i)),0!=this.playersByQueriedElement.size&&(t=this.driver.query(n,ng,!0),t.forEach(i=>this.finishActiveQueriedAnimationOnElement(i)))}destroyActiveAnimationsForElement(n){const t=this.playersByElement.get(n);t&&t.forEach(i=>{i.queued?i.markedForDestroy=!0:i.destroy()})}finishActiveQueriedAnimationOnElement(n){const t=this.playersByQueriedElement.get(n);t&&t.forEach(i=>i.finish())}whenRenderingDone(){return new Promise(n=>{if(this.players.length)return Mi(this.players).onDone(()=>n());n()})}processLeaveNode(n){const t=n[Cn];if(t&&t.setForRemoval){if(n[Cn]=DS,t.namespaceId){this.destroyInnerAnimations(n);const i=this._fetchNamespace(t.namespaceId);i&&i.clearElementCache(n)}this._onRemovalComplete(n,t.setForRemoval)}n.classList?.contains(hg)&&this.markElementAsDisabled(n,!1),this.driver.query(n,".ng-animate-disabled",!0).forEach(i=>{this.markElementAsDisabled(i,!1)})}flush(n=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((i,r)=>this._balanceNamespaceList(i,r)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let i=0;ii()),this._flushFns=[],this._whenQuietFns.length){const i=this._whenQuietFns;this._whenQuietFns=[],t.length?Mi(t).onDone(()=>{i.forEach(r=>r())}):i.forEach(r=>r())}}reportError(n){throw function T5(e){return new w(3402,!1)}()}_flushAnimations(n,t){const i=new Ad,r=[],o=new Map,s=[],a=new Map,l=new Map,c=new Map,d=new Set;this.disabledNodes.forEach(N=>{d.add(N);const F=this.driver.query(N,".ng-animate-queued",!0);for(let B=0;B{const B=tg+m++;p.set(F,B),N.forEach(se=>nn(se,B))});const g=[],_=new Set,y=new Set;for(let N=0;N_.add(se)):y.add(F))}const E=new Map,A=xS(h,Array.from(_));A.forEach((N,F)=>{const B=Ed+m++;E.set(F,B),N.forEach(se=>nn(se,B))}),n.push(()=>{f.forEach((N,F)=>{const B=p.get(F);N.forEach(se=>Fo(se,B))}),A.forEach((N,F)=>{const B=E.get(F);N.forEach(se=>Fo(se,B))}),g.forEach(N=>{this.processLeaveNode(N)})});const $=[],K=[];for(let N=this._namespaceList.length-1;N>=0;N--)this._namespaceList[N].drainQueuedTransitions(t).forEach(B=>{const se=B.player,st=B.element;if($.push(se),this.collectedEnterElements.length){const St=st[Cn];if(St&&St.setForMove){if(St.previousTriggersValues&&St.previousTriggersValues.has(B.triggerName)){const Dr=St.previousTriggersValues.get(B.triggerName),on=this.statesByElement.get(B.element);if(on&&on.has(B.triggerName)){const Ud=on.get(B.triggerName);Ud.value=Dr,on.set(B.triggerName,Ud)}}return void se.destroy()}}const Gn=!u||!this.driver.containsElement(u,st),Xt=E.get(st),Ri=p.get(st),Fe=this._buildInstruction(B,i,Ri,Xt,Gn);if(Fe.errors&&Fe.errors.length)return void K.push(Fe);if(Gn)return se.onStart(()=>mr(st,Fe.fromStyles)),se.onDestroy(()=>Un(st,Fe.toStyles)),void r.push(se);if(B.isFallbackTransition)return se.onStart(()=>mr(st,Fe.fromStyles)),se.onDestroy(()=>Un(st,Fe.toStyles)),void r.push(se);const mM=[];Fe.timelines.forEach(St=>{St.stretchStartingKeyframe=!0,this.disabledNodes.has(St.element)||mM.push(St)}),Fe.timelines=mM,i.append(st,Fe.timelines),s.push({instruction:Fe,player:se,element:st}),Fe.queriedElements.forEach(St=>Kt(a,St,[]).push(se)),Fe.preStyleProps.forEach((St,Dr)=>{if(St.size){let on=l.get(Dr);on||l.set(Dr,on=new Set),St.forEach((Ud,Ag)=>on.add(Ag))}}),Fe.postStyleProps.forEach((St,Dr)=>{let on=c.get(Dr);on||c.set(Dr,on=new Set),St.forEach((Ud,Ag)=>on.add(Ag))})});if(K.length){const N=[];K.forEach(F=>{N.push(function A5(e,n){return new w(3505,!1)}())}),$.forEach(F=>F.destroy()),this.reportError(N)}const ie=new Map,Ne=new Map;s.forEach(N=>{const F=N.element;i.has(F)&&(Ne.set(F,F),this._beforeAnimationBuild(N.player.namespaceId,N.instruction,ie))}),r.forEach(N=>{const F=N.element;this._getPreviousPlayers(F,!1,N.namespaceId,N.triggerName,null).forEach(se=>{Kt(ie,F,[]).push(se),se.destroy()})});const zn=g.filter(N=>SS(N,l,c)),Ni=new Map;CS(Ni,this.driver,y,c,ai).forEach(N=>{SS(N,l,c)&&zn.push(N)});const wr=new Map;f.forEach((N,F)=>{CS(wr,this.driver,new Set(N),l,"!")}),zn.forEach(N=>{const F=Ni.get(N),B=wr.get(N);Ni.set(N,new Map([...F?.entries()??[],...B?.entries()??[]]))});const Tg=[],hM=[],pM={};s.forEach(N=>{const{element:F,player:B,instruction:se}=N;if(i.has(F)){if(d.has(F))return B.onDestroy(()=>Un(F,se.toStyles)),B.disabled=!0,B.overrideTotalTime(se.totalTime),void r.push(B);let st=pM;if(Ne.size>1){let Xt=F;const Ri=[];for(;Xt=Xt.parentNode;){const Fe=Ne.get(Xt);if(Fe){st=Fe;break}Ri.push(Xt)}Ri.forEach(Fe=>Ne.set(Fe,st))}const Gn=this._buildAnimation(B.namespaceId,se,ie,o,wr,Ni);if(B.setRealPlayer(Gn),st===pM)Tg.push(B);else{const Xt=this.playersByElement.get(st);Xt&&Xt.length&&(B.parentPlayer=Mi(Xt)),r.push(B)}}else mr(F,se.fromStyles),B.onDestroy(()=>Un(F,se.toStyles)),hM.push(B),d.has(F)&&r.push(B)}),hM.forEach(N=>{const F=o.get(N.element);if(F&&F.length){const B=Mi(F);N.setRealPlayer(B)}}),r.forEach(N=>{N.parentPlayer?N.syncPlayerEvents(N.parentPlayer):N.destroy()});for(let N=0;N!Gn.destroyed);st.length?M4(this,F,st):this.processLeaveNode(F)}return g.length=0,Tg.forEach(N=>{this.players.push(N),N.onDone(()=>{N.destroy();const F=this.players.indexOf(N);this.players.splice(F,1)}),N.play()}),Tg}afterFlush(n){this._flushFns.push(n)}afterFlushAnimationsDone(n){this._whenQuietFns.push(n)}_getPreviousPlayers(n,t,i,r,o){let s=[];if(t){const a=this.playersByQueriedElement.get(n);a&&(s=a)}else{const a=this.playersByElement.get(n);if(a){const l=!o||o==Aa;a.forEach(c=>{c.queued||!l&&c.triggerName!=r||s.push(c)})}}return(i||r)&&(s=s.filter(a=>!(i&&i!=a.namespaceId||r&&r!=a.triggerName))),s}_beforeAnimationBuild(n,t,i){const o=t.element,s=t.isRemovalTransition?void 0:n,a=t.isRemovalTransition?void 0:t.triggerName;for(const l of t.timelines){const c=l.element,d=c!==o,u=Kt(i,c,[]);this._getPreviousPlayers(c,d,s,a,t.toState).forEach(f=>{const p=f.getRealPlayer();p.beforeDestroy&&p.beforeDestroy(),f.destroy(),u.push(f)})}mr(o,t.fromStyles)}_buildAnimation(n,t,i,r,o,s){const a=t.triggerName,l=t.element,c=[],d=new Set,u=new Set,h=t.timelines.map(p=>{const m=p.element;d.add(m);const g=m[Cn];if(g&&g.removedBeforeQueried)return new ba(p.duration,p.delay);const _=m!==l,y=function T4(e){const n=[];return IS(e,n),n}((i.get(m)||w4).map(ie=>ie.getRealPlayer())).filter(ie=>!!ie.element&&ie.element===m),E=o.get(m),A=s.get(m),$=iS(this._normalizer,p.keyframes,E,A),K=this._buildPlayer(p,$,y);if(p.subTimeline&&r&&u.add(m),_){const ie=new gg(n,a,m);ie.setRealPlayer(K),c.push(ie)}return K});c.forEach(p=>{Kt(this.playersByQueriedElement,p.element,[]).push(p),p.onDone(()=>function x4(e,n,t){let i=e.get(n);if(i){if(i.length){const r=i.indexOf(t);i.splice(r,1)}0==i.length&&e.delete(n)}return i}(this.playersByQueriedElement,p.element,p))}),d.forEach(p=>nn(p,cS));const f=Mi(h);return f.onDestroy(()=>{d.forEach(p=>Fo(p,cS)),Un(l,t.toStyles)}),u.forEach(p=>{Kt(r,p,[]).push(f)}),f}_buildPlayer(n,t,i){return t.length>0?this.driver.animate(n.element,t,n.duration,n.delay,n.easing,i):new ba(n.duration,n.delay)}}class gg{constructor(n,t,i){this.namespaceId=n,this.triggerName=t,this.element=i,this._player=new ba,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(n){this._containsRealPlayer||(this._player=n,this._queuedCallbacks.forEach((t,i)=>{t.forEach(r=>Ym(n,i,void 0,r))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(n.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(n){this.totalTime=n}syncPlayerEvents(n){const t=this._player;t.triggerCallback&&n.onStart(()=>t.triggerCallback("start")),n.onDone(()=>this.finish()),n.onDestroy(()=>this.destroy())}_queueEvent(n,t){Kt(this._queuedCallbacks,n,[]).push(t)}onDone(n){this.queued&&this._queueEvent("done",n),this._player.onDone(n)}onStart(n){this.queued&&this._queueEvent("start",n),this._player.onStart(n)}onDestroy(n){this.queued&&this._queueEvent("destroy",n),this._player.onDestroy(n)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(n){this.queued||this._player.setPosition(n)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(n){const t=this._player;t.triggerCallback&&t.triggerCallback(n)}}function Rd(e){return e&&1===e.nodeType}function ES(e,n){const t=e.style.display;return e.style.display=n??"none",t}function CS(e,n,t,i,r){const o=[];t.forEach(l=>o.push(ES(l)));const s=[];i.forEach((l,c)=>{const d=new Map;l.forEach(u=>{const h=n.computeStyle(c,u,r);d.set(u,h),(!h||0==h.length)&&(c[Cn]=D4,s.push(c))}),e.set(c,d)});let a=0;return t.forEach(l=>ES(l,o[a++])),s}function xS(e,n){const t=new Map;if(e.forEach(a=>t.set(a,[])),0==n.length)return t;const r=new Set(n),o=new Map;function s(a){if(!a)return 1;let l=o.get(a);if(l)return l;const c=a.parentNode;return l=t.has(c)?c:r.has(c)?1:s(c),o.set(a,l),l}return n.forEach(a=>{const l=s(a);1!==l&&t.get(l).push(a)}),t}function nn(e,n){e.classList?.add(n)}function Fo(e,n){e.classList?.remove(n)}function M4(e,n,t){Mi(t).onDone(()=>e.processLeaveNode(n))}function IS(e,n){for(let t=0;tr.add(o)):n.set(e,i),t.delete(e),!0}class Oa{constructor(n,t,i,r){this._driver=t,this._normalizer=i,this._triggerCache={},this.onRemovalComplete=(o,s)=>{},this._transitionEngine=new C4(n.body,t,i,r),this._timelineEngine=new g4(n.body,t,i),this._transitionEngine.onRemovalComplete=(o,s)=>this.onRemovalComplete(o,s)}registerTrigger(n,t,i,r,o){const s=n+"-"+r;let a=this._triggerCache[s];if(!a){const l=[],d=ag(this._driver,o,l,[]);if(l.length)throw function v5(e,n){return new w(3404,!1)}();a=function f4(e,n,t){return new h4(e,n,t)}(r,d,this._normalizer),this._triggerCache[s]=a}this._transitionEngine.registerTrigger(t,r,a)}register(n,t){this._transitionEngine.register(n,t)}destroy(n,t){this._transitionEngine.destroy(n,t)}onInsert(n,t,i,r){this._transitionEngine.insertNode(n,t,i,r)}onRemove(n,t,i){this._transitionEngine.removeNode(n,t,i)}disableAnimations(n,t){this._transitionEngine.markElementAsDisabled(n,t)}process(n,t,i,r){if("@"==i.charAt(0)){const[o,s]=rS(i);this._timelineEngine.command(o,t,s,r)}else this._transitionEngine.trigger(n,t,i,r)}listen(n,t,i,r,o){if("@"==i.charAt(0)){const[s,a]=rS(i);return this._timelineEngine.listen(s,t,a,o)}return this._transitionEngine.listen(n,t,i,r,o)}flush(n=-1){this._transitionEngine.flush(n)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(n){this._transitionEngine.afterFlushAnimationsDone(n)}}class Na{static#e=this.initialStylesByElement=new WeakMap;constructor(n,t,i){this._element=n,this._startStyles=t,this._endStyles=i,this._state=0;let r=Na.initialStylesByElement.get(n);r||Na.initialStylesByElement.set(n,r=new Map),this._initialStyles=r}start(){this._state<1&&(this._startStyles&&Un(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Un(this._element,this._initialStyles),this._endStyles&&(Un(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(Na.initialStylesByElement.delete(this._element),this._startStyles&&(mr(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(mr(this._element,this._endStyles),this._endStyles=null),Un(this._element,this._initialStyles),this._state=3)}}function _g(e){let n=null;return e.forEach((t,i)=>{(function N4(e){return"display"===e||"position"===e})(i)&&(n=n||new Map,n.set(i,t))}),n}class MS{constructor(n,t,i,r){this.element=n,this.keyframes=t,this.options=i,this._specialStyles=r,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=i.duration,this._delay=i.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const n=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,n,this.options),this._finalKeyframe=n.length?n[n.length-1]:new Map;const t=()=>this._onFinish();this.domPlayer.addEventListener("finish",t),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",t)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(n){const t=[];return n.forEach(i=>{t.push(Object.fromEntries(i))}),t}_triggerWebAnimation(n,t,i){return n.animate(this._convertKeyframesToObject(t),i)}onStart(n){this._originalOnStartFns.push(n),this._onStartFns.push(n)}onDone(n){this._originalOnDoneFns.push(n),this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(n=>n()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}setPosition(n){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=n*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const n=new Map;this.hasStarted()&&this._finalKeyframe.forEach((i,r)=>{"offset"!==r&&n.set(r,this._finished?i:sg(this.element,r))}),this.currentSnapshot=n}triggerCallback(n){const t="start"===n?this._onStartFns:this._onDoneFns;t.forEach(i=>i()),t.length=0}}class TS{validateStyleProperty(n){return!0}validateAnimatableStyleProperty(n){return!0}matchesElement(n,t){return!1}containsElement(n,t){return sS(n,t)}getParentElement(n){return Xm(n)}query(n,t,i){return aS(n,t,i)}computeStyle(n,t,i){return sg(n,t)}animate(n,t,i,r,o,s=[]){const l={duration:i,delay:r,fill:0==r?"both":"forwards"};o&&(l.easing=o);const c=new Map,d=s.filter(f=>f instanceof MS);(function $5(e,n){return 0===e||0===n})(i,r)&&d.forEach(f=>{f.currentSnapshot.forEach((p,m)=>c.set(m,p))});let u=function j5(e){return e.length?e[0]instanceof Map?e:e.map(n=>new Map(Object.entries(n))):[]}(t).map(f=>new Map(f));u=function z5(e,n,t){if(t.size&&n.length){let i=n[0],r=[];if(t.forEach((o,s)=>{i.has(s)||r.push(s),i.set(s,o)}),r.length)for(let o=1;os.set(a,sg(e,a)))}}return n}(n,u,c);const h=function O4(e,n){let t=null,i=null;return Array.isArray(n)&&n.length?(t=_g(n[0]),n.length>1&&(i=_g(n[n.length-1]))):n instanceof Map&&(t=_g(n)),t||i?new Na(e,t,i):null}(n,u);return new MS(n,u,l,h)}}const AS="@.disabled";class OS{constructor(n,t,i,r){this.namespaceId=n,this.delegate=t,this.engine=i,this._onDestroy=r,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(n){this.delegate.destroyNode?.(n)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(n,t){return this.delegate.createElement(n,t)}createComment(n){return this.delegate.createComment(n)}createText(n){return this.delegate.createText(n)}appendChild(n,t){this.delegate.appendChild(n,t),this.engine.onInsert(this.namespaceId,t,n,!1)}insertBefore(n,t,i,r=!0){this.delegate.insertBefore(n,t,i),this.engine.onInsert(this.namespaceId,t,n,r)}removeChild(n,t,i){this.engine.onRemove(this.namespaceId,t,this.delegate)}selectRootElement(n,t){return this.delegate.selectRootElement(n,t)}parentNode(n){return this.delegate.parentNode(n)}nextSibling(n){return this.delegate.nextSibling(n)}setAttribute(n,t,i,r){this.delegate.setAttribute(n,t,i,r)}removeAttribute(n,t,i){this.delegate.removeAttribute(n,t,i)}addClass(n,t){this.delegate.addClass(n,t)}removeClass(n,t){this.delegate.removeClass(n,t)}setStyle(n,t,i,r){this.delegate.setStyle(n,t,i,r)}removeStyle(n,t,i){this.delegate.removeStyle(n,t,i)}setProperty(n,t,i){"@"==t.charAt(0)&&t==AS?this.disableAnimations(n,!!i):this.delegate.setProperty(n,t,i)}setValue(n,t){this.delegate.setValue(n,t)}listen(n,t,i){return this.delegate.listen(n,t,i)}disableAnimations(n,t){this.engine.disableAnimations(n,t)}}class R4 extends OS{constructor(n,t,i,r,o){super(t,i,r,o),this.factory=n,this.namespaceId=t}setProperty(n,t,i){"@"==t.charAt(0)?"."==t.charAt(1)&&t==AS?this.disableAnimations(n,i=void 0===i||!!i):this.engine.process(this.namespaceId,n,t.slice(1),i):this.delegate.setProperty(n,t,i)}listen(n,t,i){if("@"==t.charAt(0)){const r=function k4(e){switch(e){case"body":return document.body;case"document":return document;case"window":return window;default:return e}}(n);let o=t.slice(1),s="";return"@"!=o.charAt(0)&&([o,s]=function F4(e){const n=e.indexOf(".");return[e.substring(0,n),e.slice(n+1)]}(o)),this.engine.listen(this.namespaceId,r,o,s,a=>{this.factory.scheduleListenerCallback(a._data||-1,i,a)})}return this.delegate.listen(n,t,i)}}class P4{constructor(n,t,i){this.delegate=n,this.engine=t,this._zone=i,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,t.onRemovalComplete=(r,o)=>{const s=o?.parentNode(r);s&&o.removeChild(s,r)}}createRenderer(n,t){const r=this.delegate.createRenderer(n,t);if(!n||!t?.data?.animation){const c=this._rendererCache;let d=c.get(r);return d||(d=new OS("",r,this.engine,()=>c.delete(r)),c.set(r,d)),d}const o=t.id,s=t.id+"-"+this._currentId;this._currentId++,this.engine.register(s,n);const a=c=>{Array.isArray(c)?c.forEach(a):this.engine.registerTrigger(o,s,n,c.name,c)};return t.data.animation.forEach(a),new R4(this,s,r,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(n,t,i){if(n>=0&&nt(i));const r=this._animationCallbacksBuffer;0==r.length&&queueMicrotask(()=>{this._zone.run(()=>{r.forEach(o=>{const[s,a]=o;s(a)}),this._animationCallbacksBuffer=[]})}),r.push([t,i])}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}const NS=[{provide:eg,useFactory:function V4(){return new fS}},{provide:Oa,useClass:(()=>{class e extends Oa{constructor(t,i,r){super(t,i,r,T(Xl,{optional:!0}))}ngOnDestroy(){this.flush()}static#e=this.\u0275fac=function(i){return new(i||e)(D(_e),D(Jm),D(eg))};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac})}return e})()},{provide:ih,useFactory:function B4(e,n,t){return new P4(e,n,t)},deps:[zm,Oa,Y]}],yg=[{provide:Jm,useFactory:()=>new TS},{provide:Kr,useValue:"BrowserAnimations"},...NS],RS=[{provide:Jm,useClass:Qm},{provide:Kr,useValue:"NoopAnimations"},...NS];let j4=(()=>{class e{static withConfig(t){return{ngModule:e,providers:t.disableAnimations?RS:yg}}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Le({type:e});static#n=this.\u0275inj=Re({providers:yg,imports:[qm]})}return e})();function kS(e){return rt((n,t)=>{let o,i=null,r=!1;i=n.subscribe(We(t,void 0,void 0,s=>{o=xt(e(s,kS(e)(n))),i?(i.unsubscribe(),i=null,o.subscribe(t)):r=!0})),r&&(i.unsubscribe(),i=null,o.subscribe(t))})}function vg(e){return rt((n,t)=>{try{n.subscribe(t)}finally{t.add(e)}})}class Fd{}class Pd{}class rn{constructor(n){this.normalizedNames=new Map,this.lazyUpdate=null,n?"string"==typeof n?this.lazyInit=()=>{this.headers=new Map,n.split("\n").forEach(t=>{const i=t.indexOf(":");if(i>0){const r=t.slice(0,i),o=r.toLowerCase(),s=t.slice(i+1).trim();this.maybeSetNormalizedName(r,o),this.headers.has(o)?this.headers.get(o).push(s):this.headers.set(o,[s])}})}:typeof Headers<"u"&&n instanceof Headers?(this.headers=new Map,n.forEach((t,i)=>{this.setHeaderEntries(i,t)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(n).forEach(([t,i])=>{this.setHeaderEntries(t,i)})}:this.headers=new Map}has(n){return this.init(),this.headers.has(n.toLowerCase())}get(n){this.init();const t=this.headers.get(n.toLowerCase());return t&&t.length>0?t[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(n){return this.init(),this.headers.get(n.toLowerCase())||null}append(n,t){return this.clone({name:n,value:t,op:"a"})}set(n,t){return this.clone({name:n,value:t,op:"s"})}delete(n,t){return this.clone({name:n,value:t,op:"d"})}maybeSetNormalizedName(n,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,n)}init(){this.lazyInit&&(this.lazyInit instanceof rn?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(n=>this.applyUpdate(n)),this.lazyUpdate=null))}copyFrom(n){n.init(),Array.from(n.headers.keys()).forEach(t=>{this.headers.set(t,n.headers.get(t)),this.normalizedNames.set(t,n.normalizedNames.get(t))})}clone(n){const t=new rn;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof rn?this.lazyInit:this,t.lazyUpdate=(this.lazyUpdate||[]).concat([n]),t}applyUpdate(n){const t=n.name.toLowerCase();switch(n.op){case"a":case"s":let i=n.value;if("string"==typeof i&&(i=[i]),0===i.length)return;this.maybeSetNormalizedName(n.name,t);const r=("a"===n.op?this.headers.get(t):void 0)||[];r.push(...i),this.headers.set(t,r);break;case"d":const o=n.value;if(o){let s=this.headers.get(t);if(!s)return;s=s.filter(a=>-1===o.indexOf(a)),0===s.length?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,s)}else this.headers.delete(t),this.normalizedNames.delete(t)}}setHeaderEntries(n,t){const i=(Array.isArray(t)?t:[t]).map(o=>o.toString()),r=n.toLowerCase();this.headers.set(r,i),this.maybeSetNormalizedName(n,r)}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(t=>n(this.normalizedNames.get(t),this.headers.get(t)))}}class z4{encodeKey(n){return FS(n)}encodeValue(n){return FS(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}}const W4=/%(\d[a-f0-9])/gi,q4={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function FS(e){return encodeURIComponent(e).replace(W4,(n,t)=>q4[t]??n)}function Ld(e){return`${e}`}class Ti{constructor(n={}){if(this.updates=null,this.cloneFrom=null,this.encoder=n.encoder||new z4,n.fromString){if(n.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function G4(e,n){const t=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(r=>{const o=r.indexOf("="),[s,a]=-1==o?[n.decodeKey(r),""]:[n.decodeKey(r.slice(0,o)),n.decodeValue(r.slice(o+1))],l=t.get(s)||[];l.push(a),t.set(s,l)}),t}(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(t=>{const i=n.fromObject[t],r=Array.isArray(i)?i.map(Ld):[Ld(i)];this.map.set(t,r)})):this.map=null}has(n){return this.init(),this.map.has(n)}get(n){this.init();const t=this.map.get(n);return t?t[0]:null}getAll(n){return this.init(),this.map.get(n)||null}keys(){return this.init(),Array.from(this.map.keys())}append(n,t){return this.clone({param:n,value:t,op:"a"})}appendAll(n){const t=[];return Object.keys(n).forEach(i=>{const r=n[i];Array.isArray(r)?r.forEach(o=>{t.push({param:i,value:o,op:"a"})}):t.push({param:i,value:r,op:"a"})}),this.clone(t)}set(n,t){return this.clone({param:n,value:t,op:"s"})}delete(n,t){return this.clone({param:n,value:t,op:"d"})}toString(){return this.init(),this.keys().map(n=>{const t=this.encoder.encodeKey(n);return this.map.get(n).map(i=>t+"="+this.encoder.encodeValue(i)).join("&")}).filter(n=>""!==n).join("&")}clone(n){const t=new Ti({encoder:this.encoder});return t.cloneFrom=this.cloneFrom||this,t.updates=(this.updates||[]).concat(n),t}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(n=>this.map.set(n,this.cloneFrom.map.get(n))),this.updates.forEach(n=>{switch(n.op){case"a":case"s":const t=("a"===n.op?this.map.get(n.param):void 0)||[];t.push(Ld(n.value)),this.map.set(n.param,t);break;case"d":if(void 0===n.value){this.map.delete(n.param);break}{let i=this.map.get(n.param)||[];const r=i.indexOf(Ld(n.value));-1!==r&&i.splice(r,1),i.length>0?this.map.set(n.param,i):this.map.delete(n.param)}}}),this.cloneFrom=this.updates=null)}}class Y4{constructor(){this.map=new Map}set(n,t){return this.map.set(n,t),this}get(n){return this.map.has(n)||this.map.set(n,n.defaultValue()),this.map.get(n)}delete(n){return this.map.delete(n),this}has(n){return this.map.has(n)}keys(){return this.map.keys()}}function PS(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function LS(e){return typeof Blob<"u"&&e instanceof Blob}function VS(e){return typeof FormData<"u"&&e instanceof FormData}class Ra{constructor(n,t,i,r){let o;if(this.url=t,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=n.toUpperCase(),function K4(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||r?(this.body=void 0!==i?i:null,o=r):o=i,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),this.transferCache=o.transferCache),this.headers??=new rn,this.context??=new Y4,this.params){const s=this.params.toString();if(0===s.length)this.urlWithParams=t;else{const a=t.indexOf("?");this.urlWithParams=t+(-1===a?"?":ah.set(f,n.setHeaders[f]),c)),n.setParams&&(d=Object.keys(n.setParams).reduce((h,f)=>h.set(f,n.setParams[f]),d)),new Ra(t,i,s,{params:d,headers:c,context:u,reportProgress:l,responseType:r,withCredentials:a,transferCache:o})}}var Ai=function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e}(Ai||{});class bg{constructor(n,t=ka.Ok,i="OK"){this.headers=n.headers||new rn,this.status=void 0!==n.status?n.status:t,this.statusText=n.statusText||i,this.url=n.url||null,this.ok=this.status>=200&&this.status<300}}class Vd extends bg{constructor(n={}){super(n),this.type=Ai.ResponseHeader}clone(n={}){return new Vd({headers:n.headers||this.headers,status:void 0!==n.status?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}}class _r extends bg{constructor(n={}){super(n),this.type=Ai.Response,this.body=void 0!==n.body?n.body:null}clone(n={}){return new _r({body:void 0!==n.body?n.body:this.body,headers:n.headers||this.headers,status:void 0!==n.status?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}}class Po extends bg{constructor(n){super(n,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${n.url||"(unknown url)"}`:`Http failure response for ${n.url||"(unknown url)"}: ${n.status} ${n.statusText}`,this.error=n.error||null}}var ka=function(e){return e[e.Continue=100]="Continue",e[e.SwitchingProtocols=101]="SwitchingProtocols",e[e.Processing=102]="Processing",e[e.EarlyHints=103]="EarlyHints",e[e.Ok=200]="Ok",e[e.Created=201]="Created",e[e.Accepted=202]="Accepted",e[e.NonAuthoritativeInformation=203]="NonAuthoritativeInformation",e[e.NoContent=204]="NoContent",e[e.ResetContent=205]="ResetContent",e[e.PartialContent=206]="PartialContent",e[e.MultiStatus=207]="MultiStatus",e[e.AlreadyReported=208]="AlreadyReported",e[e.ImUsed=226]="ImUsed",e[e.MultipleChoices=300]="MultipleChoices",e[e.MovedPermanently=301]="MovedPermanently",e[e.Found=302]="Found",e[e.SeeOther=303]="SeeOther",e[e.NotModified=304]="NotModified",e[e.UseProxy=305]="UseProxy",e[e.Unused=306]="Unused",e[e.TemporaryRedirect=307]="TemporaryRedirect",e[e.PermanentRedirect=308]="PermanentRedirect",e[e.BadRequest=400]="BadRequest",e[e.Unauthorized=401]="Unauthorized",e[e.PaymentRequired=402]="PaymentRequired",e[e.Forbidden=403]="Forbidden",e[e.NotFound=404]="NotFound",e[e.MethodNotAllowed=405]="MethodNotAllowed",e[e.NotAcceptable=406]="NotAcceptable",e[e.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",e[e.RequestTimeout=408]="RequestTimeout",e[e.Conflict=409]="Conflict",e[e.Gone=410]="Gone",e[e.LengthRequired=411]="LengthRequired",e[e.PreconditionFailed=412]="PreconditionFailed",e[e.PayloadTooLarge=413]="PayloadTooLarge",e[e.UriTooLong=414]="UriTooLong",e[e.UnsupportedMediaType=415]="UnsupportedMediaType",e[e.RangeNotSatisfiable=416]="RangeNotSatisfiable",e[e.ExpectationFailed=417]="ExpectationFailed",e[e.ImATeapot=418]="ImATeapot",e[e.MisdirectedRequest=421]="MisdirectedRequest",e[e.UnprocessableEntity=422]="UnprocessableEntity",e[e.Locked=423]="Locked",e[e.FailedDependency=424]="FailedDependency",e[e.TooEarly=425]="TooEarly",e[e.UpgradeRequired=426]="UpgradeRequired",e[e.PreconditionRequired=428]="PreconditionRequired",e[e.TooManyRequests=429]="TooManyRequests",e[e.RequestHeaderFieldsTooLarge=431]="RequestHeaderFieldsTooLarge",e[e.UnavailableForLegalReasons=451]="UnavailableForLegalReasons",e[e.InternalServerError=500]="InternalServerError",e[e.NotImplemented=501]="NotImplemented",e[e.BadGateway=502]="BadGateway",e[e.ServiceUnavailable=503]="ServiceUnavailable",e[e.GatewayTimeout=504]="GatewayTimeout",e[e.HttpVersionNotSupported=505]="HttpVersionNotSupported",e[e.VariantAlsoNegotiates=506]="VariantAlsoNegotiates",e[e.InsufficientStorage=507]="InsufficientStorage",e[e.LoopDetected=508]="LoopDetected",e[e.NotExtended=510]="NotExtended",e[e.NetworkAuthenticationRequired=511]="NetworkAuthenticationRequired",e}(ka||{});function wg(e,n){return{body:n,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials,transferCache:e.transferCache}}let Dg=(()=>{class e{constructor(t){this.handler=t}request(t,i,r={}){let o;if(t instanceof Ra)o=t;else{let l,c;l=r.headers instanceof rn?r.headers:new rn(r.headers),r.params&&(c=r.params instanceof Ti?r.params:new Ti({fromObject:r.params})),o=new Ra(t,i,void 0!==r.body?r.body:null,{headers:l,context:r.context,params:c,reportProgress:r.reportProgress,responseType:r.responseType||"json",withCredentials:r.withCredentials,transferCache:r.transferCache})}const s=li(o).pipe(function $4(e,n){return ae(n)?ya(e,n,1):ya(e,1)}(l=>this.handler.handle(l)));if(t instanceof Ra||"events"===r.observe)return s;const a=s.pipe(En(l=>l instanceof _r));switch(r.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return a.pipe(ot(l=>{if(null!==l.body&&!(l.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return l.body}));case"blob":return a.pipe(ot(l=>{if(null!==l.body&&!(l.body instanceof Blob))throw new Error("Response is not a Blob.");return l.body}));case"text":return a.pipe(ot(l=>{if(null!==l.body&&"string"!=typeof l.body)throw new Error("Response is not a string.");return l.body}));default:return a.pipe(ot(l=>l.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${r.observe}}`)}}delete(t,i={}){return this.request("DELETE",t,i)}get(t,i={}){return this.request("GET",t,i)}head(t,i={}){return this.request("HEAD",t,i)}jsonp(t,i){return this.request("JSONP",t,{params:(new Ti).append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,i={}){return this.request("OPTIONS",t,i)}patch(t,i,r={}){return this.request("PATCH",t,wg(r,i))}post(t,i,r={}){return this.request("POST",t,wg(r,i))}put(t,i,r={}){return this.request("PUT",t,wg(r,i))}static#e=this.\u0275fac=function(i){return new(i||e)(D(Fd))};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac})}return e})();function jS(e,n){return n(e)}function t8(e,n){return(t,i)=>n.intercept(t,{handle:r=>e(r,i)})}const i8=new C(""),Fa=new C(""),HS=new C(""),US=new C("");function r8(){let e=null;return(n,t)=>{null===e&&(e=(T(i8,{optional:!0})??[]).reduceRight(t8,jS));const i=T(Qi),r=i.add();return e(n,t).pipe(vg(()=>i.remove(r)))}}let $S=(()=>{class e extends Fd{constructor(t,i){super(),this.backend=t,this.injector=i,this.chain=null,this.pendingTasks=T(Qi);const r=T(US,{optional:!0});this.backend=r??t}handle(t){if(null===this.chain){const r=Array.from(new Set([...this.injector.get(Fa),...this.injector.get(HS,[])]));this.chain=r.reduceRight((o,s)=>function n8(e,n,t){return(i,r)=>function Su(e,n){e instanceof Fr&&e.assertNotDestroyed();const i=fi(e),r=kt(void 0);try{return n()}finally{fi(i),kt(r)}}(t,()=>n(i,o=>e(o,r)))}(o,s,this.injector),jS)}const i=this.pendingTasks.add();return this.chain(t,r=>this.backend.handle(r)).pipe(vg(()=>this.pendingTasks.remove(i)))}static#e=this.\u0275fac=function(i){return new(i||e)(D(Pd),D(ln))};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac})}return e})();const c8=/^\)\]\}',?\n/;let GS=(()=>{class e{constructor(t){this.xhrFactory=t}handle(t){if("JSONP"===t.method)throw new w(-2800,!1);const i=this.xhrFactory;return(i.\u0275loadImpl?or(i.\u0275loadImpl()):li(null)).pipe(Vm(()=>new Ae(o=>{const s=i.build();if(s.open(t.method,t.urlWithParams),t.withCredentials&&(s.withCredentials=!0),t.headers.forEach((m,g)=>s.setRequestHeader(m,g.join(","))),t.headers.has("Accept")||s.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){const m=t.detectContentTypeHeader();null!==m&&s.setRequestHeader("Content-Type",m)}if(t.responseType){const m=t.responseType.toLowerCase();s.responseType="json"!==m?m:"text"}const a=t.serializeBody();let l=null;const c=()=>{if(null!==l)return l;const m=s.statusText||"OK",g=new rn(s.getAllResponseHeaders()),_=function d8(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(s)||t.url;return l=new Vd({headers:g,status:s.status,statusText:m,url:_}),l},d=()=>{let{headers:m,status:g,statusText:_,url:y}=c(),E=null;g!==ka.NoContent&&(E=typeof s.response>"u"?s.responseText:s.response),0===g&&(g=E?ka.Ok:0);let A=g>=200&&g<300;if("json"===t.responseType&&"string"==typeof E){const $=E;E=E.replace(c8,"");try{E=""!==E?JSON.parse(E):null}catch(K){E=$,A&&(A=!1,E={error:K,text:E})}}A?(o.next(new _r({body:E,headers:m,status:g,statusText:_,url:y||void 0})),o.complete()):o.error(new Po({error:E,headers:m,status:g,statusText:_,url:y||void 0}))},u=m=>{const{url:g}=c(),_=new Po({error:m,status:s.status||0,statusText:s.statusText||"Unknown Error",url:g||void 0});o.error(_)};let h=!1;const f=m=>{h||(o.next(c()),h=!0);let g={type:Ai.DownloadProgress,loaded:m.loaded};m.lengthComputable&&(g.total=m.total),"text"===t.responseType&&s.responseText&&(g.partialText=s.responseText),o.next(g)},p=m=>{let g={type:Ai.UploadProgress,loaded:m.loaded};m.lengthComputable&&(g.total=m.total),o.next(g)};return s.addEventListener("load",d),s.addEventListener("error",u),s.addEventListener("timeout",u),s.addEventListener("abort",u),t.reportProgress&&(s.addEventListener("progress",f),null!==a&&s.upload&&s.upload.addEventListener("progress",p)),s.send(a),o.next({type:Ai.Sent}),()=>{s.removeEventListener("error",u),s.removeEventListener("abort",u),s.removeEventListener("load",d),s.removeEventListener("timeout",u),t.reportProgress&&(s.removeEventListener("progress",f),null!==a&&s.upload&&s.upload.removeEventListener("progress",p)),s.readyState!==s.DONE&&s.abort()}})))}static#e=this.\u0275fac=function(i){return new(i||e)(D(ZC))};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac})}return e})();const xg=new C(""),WS=new C("",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),qS=new C("",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class YS{}let h8=(()=>{class e{constructor(t,i,r){this.doc=t,this.platform=i,this.cookieName=r,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=VC(t,this.cookieName),this.lastCookieString=t),this.lastToken}static#e=this.\u0275fac=function(i){return new(i||e)(D(_e),D(mi),D(WS))};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac})}return e})();function p8(e,n){const t=e.url.toLowerCase();if(!T(xg)||"GET"===e.method||"HEAD"===e.method||t.startsWith("http://")||t.startsWith("https://"))return n(e);const i=T(YS).getToken(),r=T(qS);return null!=i&&!e.headers.has(r)&&(e=e.clone({headers:e.headers.set(r,i)})),n(e)}var Oi=function(e){return e[e.Interceptors=0]="Interceptors",e[e.LegacyInterceptors=1]="LegacyInterceptors",e[e.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",e[e.NoXsrfProtection=3]="NoXsrfProtection",e[e.JsonpSupport=4]="JsonpSupport",e[e.RequestsMadeViaParent=5]="RequestsMadeViaParent",e[e.Fetch=6]="Fetch",e}(Oi||{});function m8(...e){const n=[Dg,GS,$S,{provide:Fd,useExisting:$S},{provide:Pd,useExisting:GS},{provide:Fa,useValue:p8,multi:!0},{provide:xg,useValue:!0},{provide:YS,useClass:h8}];for(const t of e)n.push(...t.\u0275providers);return qo(n)}const KS=new C("");function g8(){return function yr(e,n){return{\u0275kind:e,\u0275providers:n}}(Oi.LegacyInterceptors,[{provide:KS,useFactory:r8},{provide:Fa,useExisting:KS,multi:!0}])}let _8=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Le({type:e});static#n=this.\u0275inj=Re({providers:[m8(g8())]})}return e})();const E8=["*"];let jd;function Pa(e){return function C8(){if(void 0===jd&&(jd=null,typeof window<"u")){const e=window;void 0!==e.trustedTypes&&(jd=e.trustedTypes.createPolicy("angular#components",{createHTML:n=>n}))}return jd}()?.createHTML(e)||e}function iM(e){return Error(`Unable to find icon with the name "${e}"`)}function rM(e){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${e}".`)}function oM(e){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${e}".`)}class vr{constructor(n,t,i){this.url=n,this.svgText=t,this.options=i}}let La=(()=>{class e{constructor(t,i,r,o){this._httpClient=t,this._sanitizer=i,this._errorHandler=o,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass=["material-icons","mat-ligature-font"],this._document=r}addSvgIcon(t,i,r){return this.addSvgIconInNamespace("",t,i,r)}addSvgIconLiteral(t,i,r){return this.addSvgIconLiteralInNamespace("",t,i,r)}addSvgIconInNamespace(t,i,r,o){return this._addSvgIconConfig(t,i,new vr(r,null,o))}addSvgIconResolver(t){return this._resolvers.push(t),this}addSvgIconLiteralInNamespace(t,i,r,o){const s=this._sanitizer.sanitize(dt.HTML,r);if(!s)throw oM(r);const a=Pa(s);return this._addSvgIconConfig(t,i,new vr("",a,o))}addSvgIconSet(t,i){return this.addSvgIconSetInNamespace("",t,i)}addSvgIconSetLiteral(t,i){return this.addSvgIconSetLiteralInNamespace("",t,i)}addSvgIconSetInNamespace(t,i,r){return this._addSvgIconSetConfig(t,new vr(i,null,r))}addSvgIconSetLiteralInNamespace(t,i,r){const o=this._sanitizer.sanitize(dt.HTML,i);if(!o)throw oM(i);const s=Pa(o);return this._addSvgIconSetConfig(t,new vr("",s,r))}registerFontClassAlias(t,i=t){return this._fontCssClassesByAlias.set(t,i),this}classNameForFontAlias(t){return this._fontCssClassesByAlias.get(t)||t}setDefaultFontSetClass(...t){return this._defaultFontSetClass=t,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(t){const i=this._sanitizer.sanitize(dt.RESOURCE_URL,t);if(!i)throw rM(t);const r=this._cachedIconsByUrl.get(i);return r?li(Hd(r)):this._loadSvgIconFromConfig(new vr(t,null)).pipe(md(o=>this._cachedIconsByUrl.set(i,o)),ot(o=>Hd(o)))}getNamedSvgIcon(t,i=""){const r=sM(i,t);let o=this._svgIconConfigs.get(r);if(o)return this._getSvgFromConfig(o);if(o=this._getIconConfigFromResolvers(i,t),o)return this._svgIconConfigs.set(r,o),this._getSvgFromConfig(o);const s=this._iconSetConfigs.get(i);return s?this._getSvgFromIconSetConfigs(t,s):function U4(e,n){const t=ae(e)?e:()=>e,i=r=>r.error(t());return new Ae(n?r=>n.schedule(i,0,r):i)}(iM(r))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(t){return t.svgText?li(Hd(this._svgElementFromConfig(t))):this._loadSvgIconFromConfig(t).pipe(ot(i=>Hd(i)))}_getSvgFromIconSetConfigs(t,i){const r=this._extractIconWithNameFromAnySet(t,i);return r?li(r):xx(i.filter(s=>!s.svgText).map(s=>this._loadSvgIconSetFromConfig(s).pipe(kS(a=>{const c=`Loading icon set URL: ${this._sanitizer.sanitize(dt.RESOURCE_URL,s.url)} failed: ${a.message}`;return this._errorHandler.handleError(new Error(c)),li(null)})))).pipe(ot(()=>{const s=this._extractIconWithNameFromAnySet(t,i);if(!s)throw iM(t);return s}))}_extractIconWithNameFromAnySet(t,i){for(let r=i.length-1;r>=0;r--){const o=i[r];if(o.svgText&&o.svgText.toString().indexOf(t)>-1){const s=this._svgElementFromConfig(o),a=this._extractSvgIconFromSet(s,t,o.options);if(a)return a}}return null}_loadSvgIconFromConfig(t){return this._fetchIcon(t).pipe(md(i=>t.svgText=i),ot(()=>this._svgElementFromConfig(t)))}_loadSvgIconSetFromConfig(t){return t.svgText?li(null):this._fetchIcon(t).pipe(md(i=>t.svgText=i))}_extractSvgIconFromSet(t,i,r){const o=t.querySelector(`[id="${i}"]`);if(!o)return null;const s=o.cloneNode(!0);if(s.removeAttribute("id"),"svg"===s.nodeName.toLowerCase())return this._setSvgAttributes(s,r);if("symbol"===s.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(s),r);const a=this._svgElementFromString(Pa(" "));return a.appendChild(s),this._setSvgAttributes(a,r)}_svgElementFromString(t){const i=this._document.createElement("DIV");i.innerHTML=t;const r=i.querySelector("svg");if(!r)throw Error(" tag not found");return r}_toSvgElement(t){const i=this._svgElementFromString(Pa(" ")),r=t.attributes;for(let o=0;oPa(c)),vg(()=>this._inProgressUrlFetches.delete(s)),kI());return this._inProgressUrlFetches.set(s,l),l}_addSvgIconConfig(t,i,r){return this._svgIconConfigs.set(sM(t,i),r),this}_addSvgIconSetConfig(t,i){const r=this._iconSetConfigs.get(t);return r?r.push(i):this._iconSetConfigs.set(t,[i]),this}_svgElementFromConfig(t){if(!t.svgElement){const i=this._svgElementFromString(t.svgText);this._setSvgAttributes(i,t.options),t.svgElement=i}return t.svgElement}_getIconConfigFromResolvers(t,i){for(let r=0;rn?n.pathname+n.search:""}}}),aM=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],O8=aM.map(e=>`[${e}]`).join(", "),N8=/^url\(['"]?#(.*?)['"]?\)$/;let R8=(()=>{class e{get color(){return this._color||this._defaultColor}set color(t){this._color=t}get svgIcon(){return this._svgIcon}set svgIcon(t){t!==this._svgIcon&&(t?this._updateSvgIcon(t):this._svgIcon&&this._clearSvgElement(),this._svgIcon=t)}get fontSet(){return this._fontSet}set fontSet(t){const i=this._cleanupFontValue(t);i!==this._fontSet&&(this._fontSet=i,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(t){const i=this._cleanupFontValue(t);i!==this._fontIcon&&(this._fontIcon=i,this._updateFontIconClasses())}constructor(t,i,r,o,s,a){this._elementRef=t,this._iconRegistry=i,this._location=o,this._errorHandler=s,this.inline=!1,this._previousFontSetClass=[],this._currentIconFetch=Pe.EMPTY,a&&(a.color&&(this.color=this._defaultColor=a.color),a.fontSet&&(this.fontSet=a.fontSet)),r||t.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(t){if(!t)return["",""];const i=t.split(":");switch(i.length){case 1:return["",i[0]];case 2:return i;default:throw Error(`Invalid icon name: "${t}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const t=this._elementsWithExternalReferences;if(t&&t.size){const i=this._location.getPathname();i!==this._previousPath&&(this._previousPath=i,this._prependPathToReferences(i))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(t){this._clearSvgElement();const i=this._location.getPathname();this._previousPath=i,this._cacheChildrenWithExternalReferences(t),this._prependPathToReferences(i),this._elementRef.nativeElement.appendChild(t)}_clearSvgElement(){const t=this._elementRef.nativeElement;let i=t.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();i--;){const r=t.childNodes[i];(1!==r.nodeType||"svg"===r.nodeName.toLowerCase())&&r.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const t=this._elementRef.nativeElement,i=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(r=>r.length>0);this._previousFontSetClass.forEach(r=>t.classList.remove(r)),i.forEach(r=>t.classList.add(r)),this._previousFontSetClass=i,this.fontIcon!==this._previousFontIconClass&&!i.includes("mat-ligature-font")&&(this._previousFontIconClass&&t.classList.remove(this._previousFontIconClass),this.fontIcon&&t.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(t){return"string"==typeof t?t.trim().split(" ")[0]:t}_prependPathToReferences(t){const i=this._elementsWithExternalReferences;i&&i.forEach((r,o)=>{r.forEach(s=>{o.setAttribute(s.name,`url('${t}#${s.value}')`)})})}_cacheChildrenWithExternalReferences(t){const i=t.querySelectorAll(O8),r=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let o=0;o{const a=i[o],l=a.getAttribute(s),c=l?l.match(N8):null;if(c){let d=r.get(a);d||(d=[],r.set(a,d)),d.push({name:s,value:c[1]})}})}_updateSvgIcon(t){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),t){const[i,r]=this._splitIconName(t);i&&(this._svgNamespace=i),r&&(this._svgName=r),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(r,i).pipe(jn(1)).subscribe(o=>this._setSvgElement(o),o=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${i}:${r}! ${o.message}`))})}}static#e=this.\u0275fac=function(i){return new(i||e)(v(Ce),v(La),Gi("aria-hidden"),v(T8),v(zt),v(M8,8))};static#t=this.\u0275cmp=Yn({type:e,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(i,r){2&i&&(wt("data-mat-icon-type",r._usingFontIcon()?"font":"svg")("data-mat-icon-name",r._svgName||r.fontIcon)("data-mat-icon-namespace",r._svgNamespace||r.fontSet)("fontIcon",r._usingFontIcon()?r.fontIcon:null),function jw(e){yn(GF,Ln,e,!0)}(r.color?"mat-"+r.color:""),Dt("mat-icon-inline",r.inline)("mat-icon-no-color","primary"!==r.color&&"accent"!==r.color&&"warn"!==r.color))},inputs:{color:"color",inline:[O.HasDecoratorInputTransform,"inline","inline",ft],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],standalone:!0,features:[Fs,ti],ngContentSelectors:E8,decls:1,vars:0,template:function(i,r){1&i&&(Co(),Et(0))},styles:["mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color)}.mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}"],encapsulation:2,changeDetection:0})}return e})(),lM=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Le({type:e});static#n=this.\u0275inj=Re({imports:[Hn,Hn]})}return e})();var di=function(e){return e[e.never=0]="never",e[e.onHover=1]="onHover",e[e.always=2]="always",e}(di||{}),$n=function(e){return e[e.bottomLeft=0]="bottomLeft",e[e.bottomCenter=1]="bottomCenter",e[e.bottomRight=2]="bottomRight",e[e.topLeft=3]="topLeft",e[e.topCenter=4]="topCenter",e[e.topRight=5]="topRight",e}($n||{});const B8=["overlayWrapper"],j8=["plainImage"],H8=["thumbnailImage"],U8=["mainImage"],Ig=(e,n)=>({"show-on-hover":e,"show-always":n});function $8(e,n){1&e&&$h(0)}function z8(e,n){if(1&e){const t=vn();S(0,"img",13,3),ce("load",function(){return He(t),Ue(ee().thumbnailIsLoaded())})("click",function(){return He(t),Ue(ee().onImageClicked())}),I(),S(2,"img",14,4),ce("load",function(){return He(t),Ue(ee().mainImageIsLoaded())})("click",function(){return He(t),Ue(ee().onImageClicked())}),I()}if(2&e){const t=ee();q("ngStyle",t.thumbnailDimensionStyle)("src",t.currentThumbnailUrl,qi),L(2),q("ngStyle",t.mainImageMaxDimensionStyle)("src",t.currentImageUrl,qi)}}function G8(e,n){if(1&e){const t=vn();S(0,"img",15,5),ce("load",function(){return He(t),Ue(ee().plainImageIsLoaded())})("click",function(){return He(t),Ue(ee().onImageClicked())}),I()}if(2&e){const t=ee();q("ngStyle",t.plainImageMaxDimensionStyle)("src",t.currentImageUrl,qi)}}function W8(e,n){if(1&e&&(S(0,"figcaption",16),de(1),I()),2&e){const t=ee();qh("title",t.currentImageDescription),q("ngClass",t.descriptionClasses),L(),ei(" ",t.currentImageDescription," ")}}function q8(e,n){if(1&e){const t=vn();S(0,"button",17),ce("click",function(){return He(t),Ue(ee().btnPreviousImage())}),ut(1,"mat-icon",18),I()}if(2&e){const t=ee();q("ngClass",vc(1,Ig,t.overlayButtonsStyle===t.elementDisplayStyle.onHover,t.overlayButtonsStyle===t.elementDisplayStyle.always))}}function Y8(e,n){if(1&e){const t=vn();S(0,"button",19),ce("click",function(){return He(t),Ue(ee().btnNextImage())}),ut(1,"mat-icon",20),I()}if(2&e){const t=ee();q("ngClass",vc(1,Ig,t.overlayButtonsStyle===t.elementDisplayStyle.onHover,t.overlayButtonsStyle===t.elementDisplayStyle.always))}}var br=function(e){return e[e.opened=0]="opened",e[e.closingRequested=1]="closingRequested",e[e.closed=2]="closed",e}(br||{});const cM=new C("IMAGE_OVERLAY_CONFIG");let dM=(()=>{class e{constructor(t,i,r,o,s,a){if(this._config=t,this.matIconRegistry=i,this.domSanitizer=r,this.renderer2=o,this.host=s,this.zone=a,this.newItemEvent=new oe,this.stateChanged=new oe,this.imageChanged=new oe,this.imageClicked=new oe,this.keyDown=new oe,this.currentImageIndex=0,this.figureHovering=!1,this.currentImageDescription="",this.currentImageUrl="",this.currentThumbnailUrl="",this.firstImage=!1,this.lastImage=!1,this.elementDisplayStyle=di,this.descriptionClasses=[],this.providerWithThumbnails=!1,this.thumbnailDimensionStyle={"width.px":0,height:"auto","max-height.px":0,"max-width.px":0},this.mainImageMaxDimensionStyle={"max-height.px":0,"max-width.px":0},this.plainImageMaxDimensionStyle={"max-height.px":0,"max-width.px":0},this.imagedClickedAdditionalData={},this.resizedDimensions$=new eu({height:0,width:0}),this.unsubscribe$=new te,!t.imageDetails||"object"!=typeof t.imageDetails)throw new Error('The configuration for MatImageOverlay must contain a field named "imageDetails');this.imageDetails=t.imageDetails,this.providerWithThumbnails=this.isThumbnailProvider(this.imageDetails),this.currentImageIndex=t.startImageIndex??0,this.imageMargin=t.margin||0,this.imagedClickedAdditionalData=t.imageClickedAdditionalData??{},this.updateImageState(),this.overlayButtonsStyle=t.overlayButtonsStyle??di.onHover,this.imageDescriptionClasses(t),this.getIcons()}ngAfterContentInit(){const i=this.renderer2.parentNode(this.host.nativeElement);this.cdkOverlayWrapper=this.renderer2.parentNode(i);const r=this.cdkOverlayWrapper.getBoundingClientRect();this.updateResizeDimensions(r.width,r.height),this.setThumbnailMaxDimensions(r.width,r.height),this.setMainImageMaxDimensions(r.width,r.height),this.setPlainImageMaxDimensions(r.width,r.height),this.imageDetails.numberOfImages>0&&(this.currentImageDescription=this.imageDetails.descriptionForImage(this.currentImageIndex),this.setThumbnailDimensions(),this.updateImageUrls())}ngAfterViewInit(){this.createObserveWrapperResize(),this.stateChanged.emit({state:br.opened})}ngOnDestroy(){this.stateChanged.emit({state:br.closed}),this.unsubscribe$.next(),this.unsubscribe$.complete()}get numberOfImages(){return this.imageDetails.numberOfImages}closeOverlay(){this.stateChanged.emit({state:br.closingRequested,data:this.currentImageIndex})}onKeydown(t){switch(t.key){case"ArrowRight":case"ArrowDown":this.gotoNextImage();break;case"ArrowLeft":case"ArrowUp":this.gotoPreviousImage();break;case"Home":this.gotoFirstImage();break;case"End":this.gotoLastImage();break;case"Escape":this.closeOverlay();break;default:this.keyDown.emit(t)}return!1}gotoNextImage(){this.gotoImage(this.currentImageIndex+1)}gotoPreviousImage(){this.gotoImage(this.currentImageIndex-1)}gotoFirstImage(){this.gotoImage(0)}gotoLastImage(){this.gotoImage(this.imageDetails.numberOfImages-1)}gotoImage(t){t>=0&&t\n \n \n \n')),this.matIconRegistry.addSvgIconLiteral("arrow_back_ios",this.domSanitizer.bypassSecurityTrustHtml('\n \n \n \n')),this.matIconRegistry.addSvgIconLiteral("arrow_forward_ios",this.domSanitizer.bypassSecurityTrustHtml('\n \n \n \n'))}createObserveWrapperResize(){this.resizeEvent=new ResizeObserver(t=>{this.zone.run(()=>{this.resizedDimensions$.next({height:t[0].contentRect.height,width:t[0].contentRect.width})})}),this.cdkOverlayWrapper&&this.resizeEvent.observe(this.cdkOverlayWrapper),this.resizedDimensions$.pipe(ht(this.unsubscribe$),function F8(e,n=Ea,t){const i=E0(e,n);return function k8(e,n){return rt((t,i)=>{const{leading:r=!0,trailing:o=!1}=n??{};let s=!1,a=null,l=null,c=!1;const d=()=>{l?.unsubscribe(),l=null,o&&(f(),c&&i.complete())},u=()=>{l=null,c&&i.complete()},h=p=>l=xt(e(p)).subscribe(We(i,d,u)),f=()=>{if(s){s=!1;const p=a;a=null,i.next(p),!c&&h(p)}};t.subscribe(We(i,p=>{s=!0,a=p,(!l||l.closed)&&(r?f():h(p))},()=>{c=!0,(!(o&&s&&l)||l.closed)&&i.complete()}))})}(()=>i,t)}(150,Ea,{leading:!0,trailing:!0})).subscribe(t=>{this.setThumbnailMaxDimensions(t.width,t.height),this.setMainImageMaxDimensions(t.width,t.height),this.setPlainImageMaxDimensions(t.width,t.height)})}updateImageState(){this.firstImage=this.currentImageIndex<=0,this.lastImage=this.currentImageIndex>=this.imageDetails.numberOfImages-1,this.imageChanged.emit({imageIndex:this.currentImageIndex})}mergeRecords(t,i){let r={};return r=Object.assign(r,t),r=Object.assign(r,i),r}resetIsLoaded(){this.providerWithThumbnails?(this.renderer2.setAttribute(this.thumbnailMiddle.nativeElement,"data-loaded","false"),this.renderer2.setAttribute(this.imageMiddle.nativeElement,"data-loaded","false")):this.renderer2.setAttribute(this.overlayImage.nativeElement,"data-loaded","false")}updateImageUrls(){this.currentImageUrl=this.imageDetails.urlForImage(this.currentImageIndex),this.currentThumbnailUrl=this.providerWithThumbnails?this.imageDetails.urlForThumbnail(this.currentImageIndex):""}setThumbnailDimensions(){const t=this.mergeRecords({},this.getThumbnailMaxDimensions());if(this.providerWithThumbnails){const r=this.imageDetails.imageDimensions(this.currentImageIndex),o=this.resizedDimensions$.value;r.width/r.height>o.width/o.height?(t["width.px"]=r.width,t.height="auto"):(t["height.px"]=r.height,t.width="auto")}this.thumbnailDimensionStyle=t}getThumbnailMaxDimensions(){const t={};return this.thumbnailDimensionStyle["max-height.px"]&&(t["max-height.px"]=this.thumbnailDimensionStyle["max-height.px"]),this.thumbnailDimensionStyle["max-width.px"]&&(t["max-width.px"]=this.thumbnailDimensionStyle["max-width.px"]),t}setThumbnailMaxDimensions(t,i){const r=this.mergeRecords({},this.getThumbnailDimensions());r["max-height.px"]=Math.max(i-2*this.imageMargin,0),r["max-width.px"]=Math.max(t-2*this.imageMargin,0),this.thumbnailDimensionStyle=r}getThumbnailDimensions(){const t={};return this.thumbnailDimensionStyle["height.px"]&&(t["height.px"]=this.thumbnailDimensionStyle["height.px"]),this.thumbnailDimensionStyle.height&&(t.height=this.thumbnailDimensionStyle.height),this.thumbnailDimensionStyle["width.px"]&&(t["width.px"]=this.thumbnailDimensionStyle["width.px"]),this.thumbnailDimensionStyle.width&&(t.width=this.thumbnailDimensionStyle.width),t}setMainImageMaxDimensions(t,i){this.mainImageMaxDimensionStyle={"max-height.px":Math.max(i-2*this.imageMargin,0),"max-width.px":Math.max(t-2*this.imageMargin,0)}}setPlainImageMaxDimensions(t,i){this.plainImageMaxDimensionStyle={"max-height.px":Math.max(i-2*this.imageMargin,0),"max-width.px":Math.max(t-2*this.imageMargin,0)}}updateResizeDimensions(t,i){this.resizedDimensions$.next({height:i,width:t})}isThumbnailProvider(t){const i=t;return!!i?.thumbnailHeight&&!!i?.urlForThumbnail}static#e=this.\u0275fac=function(i){return new(i||e)(v(cM),v(La),v(Dd),v(_i),v(Ce),v(Y))};static#t=this.\u0275cmp=Yn({type:e,selectors:[["ng-component"]],viewQuery:function(i,r){if(1&i&&(Ct(B8,5),Ct(j8,5),Ct(H8,5),Ct(U8,5)),2&i){let o;Ie(o=Se())&&(r.overlayWrapper=o.first),Ie(o=Se())&&(r.overlayImage=o.first),Ie(o=Se())&&(r.thumbnailMiddle=o.first),Ie(o=Se())&&(r.imageMiddle=o.first)}},hostBindings:function(i,r){1&i&&ce("keydown",function(s){return r.onKeydown(s)},0,gv)},outputs:{newItemEvent:"newItemEvent"},standalone:!0,features:[ti],decls:12,vars:12,consts:[["overlayWrapper",""],["progressiveLoading",""],["directLoading",""],["thumbnailImage",""],["mainImage",""],["plainImage",""],[1,"overlay-wrapper",3,"mouseenter","mouseleave"],[4,"ngIf","ngIfThen","ngIfElse"],["class","img-description",3,"ngClass","title",4,"ngIf"],["type","button","aria-hidden","false","aria-label","close overlay",1,"overlay-button","overlay-button-close",3,"click","ngClass"],["svgIcon","close"],["type","button","class","overlay-button overlay-button-left","aria-hidden","false","aria-label","previous image",3,"ngClass","click",4,"ngIf"],["type","button","class","overlay-button overlay-button-right","aria-hidden","false","aria-label","next image",3,"ngClass","click",4,"ngIf"],["data-loaded","false",1,"overlay-image","thumbnail-image",3,"load","click","ngStyle","src"],["data-loaded","false",1,"overlay-image","main-image",3,"load","click","ngStyle","src"],["data-loaded","false",1,"overlay-image","plain-image",3,"load","click","ngStyle","src"],[1,"img-description",3,"ngClass","title"],["type","button","aria-hidden","false","aria-label","previous image",1,"overlay-button","overlay-button-left",3,"click","ngClass"],["svgIcon","arrow_back_ios"],["type","button","aria-hidden","false","aria-label","next image",1,"overlay-button","overlay-button-right",3,"click","ngClass"],["svgIcon","arrow_forward_ios"]],template:function(i,r){if(1&i){const o=vn();S(0,"figure",6,0),ce("mouseenter",function(){return He(o),Ue(r.figureHovering=!0)})("mouseleave",function(){return He(o),Ue(r.figureHovering=!1)}),J(2,$8,1,0,"ng-container",7)(3,z8,4,4,"ng-template",null,1,bc)(5,G8,2,2,"ng-template",null,2,bc)(7,W8,2,3,"figcaption",8),S(8,"button",9),ce("click",function(){return He(o),Ue(r.btnClose())}),ut(9,"mat-icon",10),I(),J(10,q8,2,4,"button",11)(11,Y8,2,4,"button",12),I()}if(2&i){const o=xo(4),s=xo(6);Dt("hovering",r.figureHovering),L(2),q("ngIf",r.providerWithThumbnails)("ngIfThen",o)("ngIfElse",s),L(5),q("ngIf",!r.isUndefinedOrEmpty(r.currentImageDescription)),L(),q("ngClass",vc(9,Ig,r.overlayButtonsStyle===r.elementDisplayStyle.onHover,r.overlayButtonsStyle===r.elementDisplayStyle.always)),L(2),q("ngIf",!r.firstImage),L(),q("ngIf",!r.lastImage)}},dependencies:[Ap,GC,Tp,lM,R8],styles:[".overlay-wrapper[_ngcontent-%COMP%]{background:#dedede;contain:paint;display:flex;margin:0;place-content:center center;position:relative}.overlay-image[_ngcontent-%COMP%]{object-fit:contain;opacity:0;position:relative}.main-image[_ngcontent-%COMP%]{inset:0;position:absolute}.thumbnail-image[_ngcontent-%COMP%]{filter:blur(30px)}.plain-image[_ngcontent-%COMP%]{transition:max-height .3s ease,max-width .3s ease}.overlay-wrapper[_ngcontent-%COMP%] img[data-loaded=true][_ngcontent-%COMP%]{opacity:1;transition:opacity .2s ease}.img-description[_ngcontent-%COMP%]{background-color:#ffffffd9;border-radius:4px;display:none;font-size:.8rem;max-width:calc(100% - .9em - 24px);overflow:hidden;padding:.15em .45em;position:absolute;text-overflow:ellipsis;white-space:nowrap}.img-description.show-center[_ngcontent-%COMP%]{max-width:calc(100% - .9em - 48px)}.img-description.show-always[_ngcontent-%COMP%]{display:block}.img-description.show-on-hover.show-top[_ngcontent-%COMP%]{display:block;transform:translateY(-100%);transition:transform .15s ease-in}.img-description.show-on-hover.show-bottom[_ngcontent-%COMP%]{display:block;transform:translateY(100%);transition:transform .15s ease-in}.img-description.show-right[_ngcontent-%COMP%]{right:0}.img-description.show-left[_ngcontent-%COMP%]{left:0}.img-description.show-bottom[_ngcontent-%COMP%]{bottom:0}.img-description.show-left.show-top[_ngcontent-%COMP%]{left:24px}.overlay-wrapper[_ngcontent-%COMP%]:hover .img-description.show-on-hover[_ngcontent-%COMP%]{transform:translateY(0)}.overlay-button[_ngcontent-%COMP%]{background-color:#fff0;border:none;color:#606060;cursor:pointer;height:24px;padding:0;position:absolute;visibility:hidden;width:24px}.overlay-button-close[_ngcontent-%COMP%]{left:0;top:0}.overlay-button-left[_ngcontent-%COMP%], .overlay-button-right[_ngcontent-%COMP%]{top:calc(50% - 12px)}.overlay-button-left[_ngcontent-%COMP%]{left:0;padding:0 0 0 6px}.overlay-button-right[_ngcontent-%COMP%]{right:0}.overlay-wrapper[_ngcontent-%COMP%]:hover .overlay-button.show-on-hover[_ngcontent-%COMP%], .overlay-button.show-always[_ngcontent-%COMP%]{background-color:#ffffff80;color:#404040;visibility:initial}"]})}return e})();class Sg{}class K8 extends Sg{constructor(){super(...arguments),this.numberOfImages=0}urlForImage(n){return""}descriptionForImage(n){return""}imageInformation(n){return{}}}class Z8{constructor(n,t){this._overlayRef=n,this._componentInstance=t,this.keydownEvents=new te,this._afterOpened=new te,this._afterClosed=new te,this._imageChanged=new eu(void 0),this._imageClicked=new te,this.unsubscribe$=new te,t.stateChanged.pipe(En(i=>i.state===br.opened),jn(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),t.stateChanged.pipe(En(i=>i.state===br.closingRequested),jn(1)).subscribe(i=>{this.internalClose(i?.data)}),t.stateChanged.pipe(En(i=>i.state===br.closed),jn(1)).subscribe(()=>{this._afterClosed.next(this._lastImageIndex),this._afterClosed.complete()}),n.detachments().pipe(jn(1)).subscribe(()=>{this._overlayRef.dispose(),this.unsubscribe$.next(),this.unsubscribe$.complete()}),n.backdropClick().pipe(ht(this.unsubscribe$)).subscribe(()=>{this.internalClose(this._componentInstance?.currentImageIndex)}),t.imageChanged.pipe(ht(this.unsubscribe$)).subscribe(i=>{this._imageChanged.next(i.imageIndex)}),this._imageChanged.next(t.currentImageIndex),t.imageClicked.pipe(ht(this.unsubscribe$)).subscribe(i=>{this._imageClicked.next(i)}),this.keydownEvents$=this.keydownEvents.asObservable(),t.keyDown.pipe(ht(this.unsubscribe$)).subscribe(i=>{this.keydownEvents.next(i)})}get numberOfImages(){return this._componentInstance?.numberOfImages||0}afterOpened(){return this._afterOpened}afterClosed(){return this._afterClosed}imageChanged(){return this._imageChanged}imageClicked(){return this._imageClicked}gotoNextImage(){this._componentInstance?.gotoNextImage()}gotoPreviousImage(){this._componentInstance?.gotoPreviousImage()}gotoFirstImage(){this._componentInstance?.gotoFirstImage()}gotoLastImage(){this._componentInstance?.gotoLastImage()}gotoImage(n){this._componentInstance?.gotoImage(n)}close(){this.internalClose(this._componentInstance?.currentImageIndex)}internalClose(n){this._lastImageIndex=n,this._overlayRef.dispose()}}let uM=(()=>{class e{get afterOpened(){return this._afterOpened}get afterClosed(){return this._afterClosed}constructor(t,i,r){this.injector=t,this.overlay=i,this.overlayContainer=r,this._afterOpened=new te,this._afterClosed=new te,this.defaultConfig={imageDetails:new K8,startImageIndex:0,margin:32},this.overlayContainer.getContainerElement().classList.add("mat-image-overlay-container")}open(t){if(this.imageOverlayExists())throw new Error("There is already an image overlay open; only 1 is allowed at a time.");{const i=this.currentConfig(t),r=this.buildInjector(i),o=new I0(dM,null,r),s=this.overlay.create(this.buildOverlayConfig(i)),a=s.attach(o);return this.imageOverlayRef=new Z8(s,a.instance),this.imageOverlayRef.afterClosed().pipe(jn(1)).subscribe(l=>{this.imageOverlayRef=void 0,this.afterClosed.next(l)}),this.afterOpened.next(this.imageOverlayRef),this.imageOverlayRef}}imageOverlayExists(){return void 0!==this.imageOverlayRef}buildInjector(t){return ct.create({providers:[{provide:cM,useValue:t}],parent:this.injector})}buildOverlayConfig(t){const i=new Pm;return i.positionStrategy=this.overlay.position().global().centerVertically().centerHorizontally(),i.hasBackdrop=!0,t.backdropClass&&(i.backdropClass=t.backdropClass),i}currentConfig(t){return{...this.defaultConfig,...t}}static#e=this.\u0275fac=function(i){return new(i||e)(D(ct),D(hr),D(Lm))};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac})}return e})(),X8=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Le({type:e});static#n=this.\u0275inj=Re({providers:[uM],imports:[qm,j4,_8,lM,V0,dM]})}return e})();class Q8 extends Sg{get baseUrl(){return this._baseUrl}set baseUrl(n){if(!(n&&"string"==typeof n&&n.length>0))throw new Error(`The baseUrl must be a non-empty string (given value is '${n}')`);this._baseUrl=n,n.endsWith("/")||(this._baseUrl+="/")}get thumbnailHeight(){return this._thumbnailHeight}set thumbnailHeight(n){if(!(n&&!Number.isNaN(n)&&n>0))throw new Error(`The thumbnailHeight must be a number greater than 0 (given value is '${n}')`);this._thumbnailHeight=n}get numberOfImages(){return this.images.length}constructor(n,t,i){if(super(),this._baseUrl="",this._thumbnailHeight=20,this.images=[],!n||!Array.isArray(n))throw new Error('The parameter "images" must be an array of objects.');this.images=n,t&&"string"==typeof t&&(this.baseUrl=t),i&&!Number.isNaN(+i)&&+i>0&&(this.thumbnailHeight=i)}thumbnailWidth(n){const t=this.images[n];return Math.round(this.thumbnailHeight/t.height*t.width)}urlForImage(n){if(+n{class e{transform(t){return Object.keys(t).filter(i=>!isNaN(+i)).map(i=>({value:+i,key:t[i]}))}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275pipe=pt({name:"numericEnumToArray",type:e,pure:!0,standalone:!0})}return e})(),eG=(()=>{class e{transform(t){return Object.keys(t).map(i=>({key:i,value:t[i]}))}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275pipe=pt({name:"stringEnumToArray",type:e,pure:!0,standalone:!0})}return e})();class tG extends Sg{get numberOfImages(){return this.images.length}constructor(n){if(super(),this.images=[],!n||!Array.isArray(n))throw new Error('The parameter "images" must be an array of strings.');this.images=n}urlForImage(n){if(+n{class e{constructor(t,i){this.imageOverlay=t,this.formBuilder=i,this.elementDisplayStyle=di,this.elementDisplayPosition=$n,this.elementBackdropClass=Mg,this.thumbnailHeight=100,this.optionsForm=this.formBuilder.group({buttonStyle:[di.onHover,[Kc.required]],descriptionStyle:[di.never,[Kc.required]],descriptionPosition:[$n.bottomRight,[Kc.required]],backdropClass:[Mg.none,[]]}),this.stringImages=["https://picsum.photos/id/30/1024/768","https://picsum.photos/id/201/800/600","https://picsum.photos/id/63/1800/1600","https://picsum.photos/id/525/1440/900"],this.objectImages=[{id:"1000",width:Math.round(1e3/3635*5626),height:1e3,description:"picture 1"},{id:"1014",width:1e3,height:1e3,description:"picture 2"},{id:"102",width:Math.round(1e3/3240*4320),height:1e3},{id:"1015",width:Math.round(1500),height:1e3,description:"Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet."}],this.baseUrlForObjectImages="https://picsum.photos/id/",this.stringSourceImageDetailsProvider=new tG(this.stringImages),this.objectSourceImageDetailsProvider=new Q8(this.objectImages,this.baseUrlForObjectImages,this.thumbnailHeight),this.imageOverlay.afterOpened.subscribe(()=>console.log("MatImageOverlay opened")),this.imageOverlay.afterClosed.subscribe(r=>console.log(`MatImageOverlay closed; last index=${r||0}`))}openOverlayDemo1Image(t){this.openOverlayDemo(this.stringSourceImageDetailsProvider,t).imageClicked().subscribe(r=>this.clickHandlerForOverlayDemo1(r))}startOverlayDemo1Show(){const t=this.openOverlayDemo(this.stringSourceImageDetailsProvider);t.imageClicked().subscribe(o=>this.clickHandlerForOverlayDemo1(o));let i=1;const r=setInterval(()=>{i=this.switchImages(i,t,r)},2e3);t.afterClosed().subscribe(()=>clearTimeout(r))}openOverlayDemo2Image(t){this.openOverlayDemo(this.objectSourceImageDetailsProvider,t).imageClicked().subscribe(r=>{const o=String(r.id);console.log(`Demo 2 image clicked for image '${o}' with additional parameter '${String(r.sampleValue)}'`)})}startOverlayDemo2Show(){const t=this.openOverlayDemo(this.objectSourceImageDetailsProvider);t.imageClicked().subscribe(o=>{const s=String(o.id);console.log(`Demo 2 image clicked for image '${s}' with additional parameter '${String(o.sampleValue)}'`)});let i=1;const r=setInterval(()=>{i=this.switchImages(i,t,r)},2e3);t.afterClosed().subscribe(()=>clearTimeout(r))}openMinimalConfigImageOverlay(){this.openOverlayDemo(this.stringSourceImageDetailsProvider).imageClicked().subscribe(i=>{console.log(`Demo 3 image clicked for image '${String(i.url)}' with additional parameter '${String(i.sampleValue)}'`)})}urlForObjectImagesPreview(t){return this.objectSourceImageDetailsProvider.urlForThumbnail(t)}thumbnailWidth(t){return this.objectSourceImageDetailsProvider.thumbnailWidth(t).toString()}trackByImageId(t,i){return i.id}imageDescription(t){return this.objectSourceImageDetailsProvider.descriptionForImage(t)}openOverlayDemo(t,i=0){const r={imageDetails:t,startImageIndex:i,margin:72,overlayButtonsStyle:this.optionsForm.controls.buttonStyle.value,descriptionDisplayStyle:this.optionsForm.controls.descriptionStyle.value,descriptionDisplayPosition:this.optionsForm.controls.descriptionPosition.value,imageClickedAdditionalData:{sampleValue:"demo parameter for overlay demo"}},o=this.optionsForm.controls.backdropClass.value;""!==o&&(r.backdropClass=o);const s=this.imageOverlay.open(r);return s.afterOpened().subscribe(()=>console.log("imageOverlayRef: overlay opened")),s.afterClosed().subscribe(a=>console.log(`imageOverlayRef: overlay closed; last index=${String(a)}`)),s.imageChanged().subscribe(a=>console.log(`image changed; new index=${String(a)}`)),s.keydownEvents$.subscribe(a=>console.log(`button pressed; event.key=${a.key}`)),s}switchImages(t,i,r){switch(t){case 1:console.log(`${(new Date).toLocaleTimeString()} - goto next image (2nd)`),i.gotoNextImage();break;case 2:console.log(`${(new Date).toLocaleTimeString()} - goto next image (3rd)`),i.gotoNextImage();break;case 3:console.log(`${(new Date).toLocaleTimeString()} - goto next image (4th)`),i.gotoNextImage();break;case 4:console.log(`${(new Date).toLocaleTimeString()} - goto previous image (3rd)`),i.gotoPreviousImage();break;case 5:console.log(`${(new Date).toLocaleTimeString()} - goto 3rd image`),i.gotoImage(2);break;case 6:console.log(`${(new Date).toLocaleTimeString()} - goto last image (4th)`),i.gotoLastImage();break;case 7:console.log(`${(new Date).toLocaleTimeString()} - goto 2nd image`),i.gotoImage(1);break;case 8:console.log(`${(new Date).toLocaleTimeString()} - goto first image`),i.gotoFirstImage();break;case 9:console.log(`${(new Date).toLocaleTimeString()} - close overlay`),i.close(),clearInterval(r)}return++t}clickHandlerForOverlayDemo1(t){console.log(`Demo 1 image clicked for image '${String(t.url)}' with additional parameter '${String(t.sampleValue)}'`)}static#e=this.\u0275fac=function(i){return new(i||e)(v(uM),v(GH))};static#t=this.\u0275cmp=Yn({type:e,selectors:[["app-root"]],standalone:!0,features:[ti],decls:73,vars:19,consts:[[1,"title"],[1,"description"],[1,"source-link"],["href","https://github.com/BePo65/mat-image-overlay"],[1,"container"],[1,"images-container"],[1,"image-preview-container","first-container"],[1,"container-title"],["data-cy","demo-1",1,"image-selection"],["ngFor","",3,"ngForOf"],["data-cy","demo-1-action",1,"actions"],["href","#","data-cy","open-demo-1-show",3,"click"],[1,"image-preview-container","next-container"],["data-cy","demo-2",1,"image-selection"],["ngFor","",3,"ngForOf","ngForTrackBy"],["data-cy","demo-2-action",1,"actions"],["href","#","data-cy","open-demo-2-show",3,"click"],[1,"image-selection"],["href","#","title","click to open first image","data-cy","open-min-config",3,"click"],["height","100","src","assets/minimalConfigDemo.jpg",1,"image-link"],["data-cy","demo-3-action",1,"actions"],["href","#","data-cy","open-demo-3",3,"click"],[1,"options-container"],[3,"formGroup"],["appearance","outline",1,"form-field"],["formControlName","buttonStyle","required",""],[3,"value",4,"ngFor","ngForOf"],[4,"ngIf"],["formControlName","descriptionStyle","required",""],["formControlName","descriptionPosition","required",""],["formControlName","backdropClass"],["height","100",1,"image-link","image-preview",3,"click","src"],[1,"image-link","image-preview",3,"click","src","height","width","alt","title"],[3,"value"]],template:function(i,r){1&i&&(S(0,"h1",0),de(1,"Demo project for mat-image-overlay"),I(),S(2,"p",1),de(3,"A component for Angular using Angular Material that shows images as overlays."),ut(4,"br"),de(5,"The project contains a library component and a demo project."),I(),S(6,"p",2)(7,"span"),de(8,"Source on github: "),I(),S(9,"a",3),de(10,"BePo65/mat-image-overlay"),I()(),S(11,"div",4)(12,"div",5)(13,"div",6)(14,"h3",7),de(15,"Demo 1 - string array as image source"),I(),S(16,"div",8),J(17,nG,1,1,"ng-template",9),I(),S(18,"p",10)(19,"span"),de(20,"Click on one of the images above to open overlay or here to "),I(),S(21,"a",11),ce("click",function(){return r.startOverlayDemo1Show()}),de(22,"show external navigation"),I()()(),S(23,"div",12)(24,"h3",7),de(25,"Demo 2 - object array as image source"),I(),S(26,"div",13),J(27,iG,1,5,"ng-template",14),I(),S(28,"p",15)(29,"span"),de(30,"Click on one of the images above to open overlay or here to "),I(),S(31,"a",16),ce("click",function(){return r.startOverlayDemo2Show()}),de(32,"show external navigation"),I()()(),S(33,"div",12)(34,"h3",7),de(35,"Demo 3 - overlay image with minimal configuration"),I(),S(36,"div",17)(37,"a",18),ce("click",function(){return r.openMinimalConfigImageOverlay()}),ut(38,"img",19),I()(),S(39,"p",20)(40,"a",21),ce("click",function(){return r.openMinimalConfigImageOverlay()}),de(41,"Open first image in overlay"),I()()()(),S(42,"div",22)(43,"h3"),de(44,"Options"),I(),S(45,"form",23)(46,"mat-form-field",24)(47,"mat-label"),de(48,"Show navigational buttons"),I(),S(49,"mat-select",25),J(50,rG,2,2,"mat-option",26),Xs(51,"numericEnumToArray"),I(),J(52,sG,2,1,"mat-error",27),I(),S(53,"mat-form-field",24)(54,"mat-label"),de(55,"Show image description"),I(),S(56,"mat-select",28),J(57,aG,2,2,"mat-option",26),Xs(58,"numericEnumToArray"),I(),J(59,cG,2,1,"mat-error",27),I(),S(60,"mat-form-field",24)(61,"mat-label"),de(62,"Position of image description"),I(),S(63,"mat-select",29),J(64,dG,2,2,"mat-option",26),Xs(65,"numericEnumToArray"),I(),J(66,fG,2,1,"mat-error",27),I(),S(67,"mat-form-field",24)(68,"mat-label"),de(69,"backdropClass of overlay"),I(),S(70,"mat-select",30),J(71,hG,2,2,"mat-option",26),Xs(72,"stringEnumToArray"),I()()()()()),2&i&&(L(17),q("ngForOf",r.stringImages),L(10),q("ngForOf",r.objectImages)("ngForTrackBy",r.trackByImageId),L(18),q("formGroup",r.optionsForm),L(5),q("ngForOf",Qs(51,11,r.elementDisplayStyle)),L(2),q("ngIf",r.optionsForm.controls.buttonStyle.touched&&r.optionsForm.controls.buttonStyle.invalid),L(5),q("ngForOf",Qs(58,13,r.elementDisplayStyle)),L(2),q("ngIf",r.optionsForm.controls.descriptionStyle.touched&&r.optionsForm.controls.descriptionStyle.invalid),L(5),q("ngForOf",Qs(65,15,r.elementDisplayPosition)),L(2),q("ngIf",r.optionsForm.controls.descriptionPosition.touched&&r.optionsForm.controls.descriptionPosition.invalid),L(5),q("ngForOf",Qs(72,17,r.elementBackdropClass)))},dependencies:[Tm,h3,Mm,r3,Sm,l0,H0,Cz,HC,Ap,J8,OI,fI,Xx,Qx,ld,pa,om,eG],styles:['.title[_ngcontent-%COMP%]{color:gray;margin:0 0 1.5rem;padding-top:1.5rem;text-align:center}.description[_ngcontent-%COMP%]{margin:0 0 1rem;text-align:center}.source-link[_ngcontent-%COMP%]{margin:0 0 2rem;text-align:center}.container[_ngcontent-%COMP%]{display:grid;grid:1fr/auto 460px;grid-template-areas:"images options";gap:0 10px}.images-container[_ngcontent-%COMP%]{grid-area:images}.options-container[_ngcontent-%COMP%]{border:1px solid gray;grid-area:options;margin:0 auto;padding:0 1rem;width:400px}.image-preview-container[_ngcontent-%COMP%]{border:1px solid gray;margin:0 auto;padding:0 1rem .5rem;width:650px}.next-container[_ngcontent-%COMP%]{margin-top:1em}.container-title[_ngcontent-%COMP%]{text-align:center}.actions[_ngcontent-%COMP%]{font-family:Cambria,Cochin,Georgia,Times,Times New Roman,serif;text-align:center}.image-selection[_ngcontent-%COMP%]{align-items:center;display:flex;justify-content:center;margin:0}img[_ngcontent-%COMP%]{margin:5px 0}.image-preview[_ngcontent-%COMP%]{border-bottom:2px solid darkgray;border-right:2px solid darkgray;border-top:2px solid darkgray}.image-preview[_ngcontent-%COMP%]:first-child{border-left:2px solid darkgray}.image-link[_ngcontent-%COMP%]{cursor:pointer}.form-field[_ngcontent-%COMP%]{display:block}']})}return e})(),{providers:[C_(qm,OI,X8,Tm,H0),function H4(){return mn("NgEagerAnimations"),[...yg]}()]}).catch(e=>console.error(e))}},Lo=>{Lo(Lo.s=276)}]);
\ No newline at end of file
diff --git a/material-icons-outlined.78a93b2079680a08.woff b/material-icons-outlined.78a93b2079680a08.woff
new file mode 100644
index 0000000..edeb9df
Binary files /dev/null and b/material-icons-outlined.78a93b2079680a08.woff differ
diff --git a/material-icons-outlined.f86cb7b0aa53f0fe.woff2 b/material-icons-outlined.f86cb7b0aa53f0fe.woff2
new file mode 100644
index 0000000..d44b948
Binary files /dev/null and b/material-icons-outlined.f86cb7b0aa53f0fe.woff2 differ
diff --git a/material-icons-round.92dc7ca2f4c591e7.woff b/material-icons-round.92dc7ca2f4c591e7.woff
new file mode 100644
index 0000000..bc0002b
Binary files /dev/null and b/material-icons-round.92dc7ca2f4c591e7.woff differ
diff --git a/material-icons-round.b10ec9db5b7fbc74.woff2 b/material-icons-round.b10ec9db5b7fbc74.woff2
new file mode 100644
index 0000000..e9e305f
Binary files /dev/null and b/material-icons-round.b10ec9db5b7fbc74.woff2 differ
diff --git a/material-icons-sharp.3885863ee4746422.woff2 b/material-icons-sharp.3885863ee4746422.woff2
new file mode 100644
index 0000000..4062685
Binary files /dev/null and b/material-icons-sharp.3885863ee4746422.woff2 differ
diff --git a/material-icons-sharp.a71cb2bf66c604de.woff b/material-icons-sharp.a71cb2bf66c604de.woff
new file mode 100644
index 0000000..80d8c99
Binary files /dev/null and b/material-icons-sharp.a71cb2bf66c604de.woff differ
diff --git a/material-icons-two-tone.588d63134de807a7.woff b/material-icons-two-tone.588d63134de807a7.woff
new file mode 100644
index 0000000..ddf106c
Binary files /dev/null and b/material-icons-two-tone.588d63134de807a7.woff differ
diff --git a/material-icons-two-tone.675bd578bd14533e.woff2 b/material-icons-two-tone.675bd578bd14533e.woff2
new file mode 100644
index 0000000..8f79990
Binary files /dev/null and b/material-icons-two-tone.675bd578bd14533e.woff2 differ
diff --git a/material-icons.4ad034d2c499d9b6.woff b/material-icons.4ad034d2c499d9b6.woff
new file mode 100644
index 0000000..88fdf4d
Binary files /dev/null and b/material-icons.4ad034d2c499d9b6.woff differ
diff --git a/material-icons.59322316b3fd6063.woff2 b/material-icons.59322316b3fd6063.woff2
new file mode 100644
index 0000000..5492a6e
Binary files /dev/null and b/material-icons.59322316b3fd6063.woff2 differ
diff --git a/polyfills.ecd394109cda8438.js b/polyfills.ecd394109cda8438.js
new file mode 100644
index 0000000..7c6d4ac
--- /dev/null
+++ b/polyfills.ecd394109cda8438.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunkmat_image_overlay_demo=self.webpackChunkmat_image_overlay_demo||[]).push([[461],{935:()=>{const ee=globalThis;function Q(t){return(ee.__Zone_symbol_prefix||"__zone_symbol__")+t}const ye=Object.getOwnPropertyDescriptor,Ne=Object.defineProperty,Ie=Object.getPrototypeOf,ht=Object.create,dt=Array.prototype.slice,Le="addEventListener",Me="removeEventListener",Ze=Q(Le),Ae=Q(Me),ce="true",ae="false",me=Q("");function je(t,r){return Zone.current.wrap(t,r)}function He(t,r,c,n,i){return Zone.current.scheduleMacroTask(t,r,c,n,i)}const H=Q,be=typeof window<"u",de=be?window:void 0,J=be&&de||globalThis,_t="removeAttribute";function xe(t,r){for(let c=t.length-1;c>=0;c--)"function"==typeof t[c]&&(t[c]=je(t[c],r+"_"+c));return t}function ze(t){return!t||!1!==t.writable&&!("function"==typeof t.get&&typeof t.set>"u")}const qe=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,Pe=!("nw"in J)&&typeof J.process<"u"&&"[object process]"===J.process.toString(),Ge=!Pe&&!qe&&!(!be||!de.HTMLElement),Xe=typeof J.process<"u"&&"[object process]"===J.process.toString()&&!qe&&!(!be||!de.HTMLElement),we={},Ye=function(t){if(!(t=t||J.event))return;let r=we[t.type];r||(r=we[t.type]=H("ON_PROPERTY"+t.type));const c=this||t.target||J,n=c[r];let i;return Ge&&c===de&&"error"===t.type?(i=n&&n.call(this,t.message,t.filename,t.lineno,t.colno,t.error),!0===i&&t.preventDefault()):(i=n&&n.apply(this,arguments),null!=i&&!i&&t.preventDefault()),i};function $e(t,r,c){let n=ye(t,r);if(!n&&c&&ye(c,r)&&(n={enumerable:!0,configurable:!0}),!n||!n.configurable)return;const i=H("on"+r+"patched");if(t.hasOwnProperty(i)&&t[i])return;delete n.writable,delete n.value;const u=n.get,_=n.set,E=r.slice(2);let m=we[E];m||(m=we[E]=H("ON_PROPERTY"+E)),n.set=function(C){let T=this;!T&&t===J&&(T=J),T&&("function"==typeof T[m]&&T.removeEventListener(E,Ye),_&&_.call(T,null),T[m]=C,"function"==typeof C&&T.addEventListener(E,Ye,!1))},n.get=function(){let C=this;if(!C&&t===J&&(C=J),!C)return null;const T=C[m];if(T)return T;if(u){let Z=u.call(this);if(Z)return n.set.call(this,Z),"function"==typeof C[_t]&&C.removeAttribute(r),Z}return null},Ne(t,r,n),t[i]=!0}function Je(t,r,c){if(r)for(let n=0;nfunction(_,E){const m=c(_,E);return m.cbIdx>=0&&"function"==typeof E[m.cbIdx]?He(m.name,E[m.cbIdx],m,i):u.apply(_,E)})}function ue(t,r){t[H("OriginalDelegate")]=r}let Ke=!1,Ve=!1;function yt(){if(Ke)return Ve;Ke=!0;try{const t=de.navigator.userAgent;(-1!==t.indexOf("MSIE ")||-1!==t.indexOf("Trident/")||-1!==t.indexOf("Edge/"))&&(Ve=!0)}catch{}return Ve}let _e=!1;if(typeof window<"u")try{const t=Object.defineProperty({},"passive",{get:function(){_e=!0}});window.addEventListener("test",t,t),window.removeEventListener("test",t,t)}catch{_e=!1}const mt={useG:!0},te={},Qe={},et=new RegExp("^"+me+"(\\w+)(true|false)$"),tt=H("propagationStopped");function nt(t,r){const c=(r?r(t):t)+ae,n=(r?r(t):t)+ce,i=me+c,u=me+n;te[t]={},te[t][ae]=i,te[t][ce]=u}function pt(t,r,c,n){const i=n&&n.add||Le,u=n&&n.rm||Me,_=n&&n.listeners||"eventListeners",E=n&&n.rmAll||"removeAllListeners",m=H(i),C="."+i+":",T="prependListener",Z="."+T+":",P=function(b,h,F){if(b.isRemoved)return;const z=b.callback;let Y;"object"==typeof z&&z.handleEvent&&(b.callback=g=>z.handleEvent(g),b.originalDelegate=z);try{b.invoke(b,h,[F])}catch(g){Y=g}const B=b.options;return B&&"object"==typeof B&&B.once&&h[u].call(h,F.type,b.originalDelegate?b.originalDelegate:b.callback,B),Y};function j(b,h,F){if(!(h=h||t.event))return;const z=b||h.target||t,Y=z[te[h.type][F?ce:ae]];if(Y){const B=[];if(1===Y.length){const g=P(Y[0],z,h);g&&B.push(g)}else{const g=Y.slice();for(let U=0;U{throw U})}}}const W=function(b){return j(this,b,!1)},x=function(b){return j(this,b,!0)};function re(b,h){if(!b)return!1;let F=!0;h&&void 0!==h.useG&&(F=h.useG);const z=h&&h.vh;let Y=!0;h&&void 0!==h.chkDup&&(Y=h.chkDup);let B=!1;h&&void 0!==h.rt&&(B=h.rt);let g=b;for(;g&&!g.hasOwnProperty(i);)g=Ie(g);if(!g&&b[i]&&(g=b),!g||g[m])return!1;const U=h&&h.eventNameToString,O={},w=g[m]=g[i],v=g[H(u)]=g[u],S=g[H(_)]=g[_],K=g[H(E)]=g[E];let q;h&&h.prepend&&(q=g[H(h.prepend)]=g[h.prepend]);const $=F?function(s){if(!O.isExisting)return w.call(O.target,O.eventName,O.capture?x:W,O.options)}:function(s){return w.call(O.target,O.eventName,s.invoke,O.options)},A=F?function(s){if(!s.isRemoved){const l=te[s.eventName];let k;l&&(k=l[s.capture?ce:ae]);const R=k&&s.target[k];if(R)for(let y=0;yoe.zone.cancelTask(oe);s.call(Te,"abort",ie,{once:!0}),oe.removeAbortListener=()=>Te.removeEventListener("abort",ie)}return O.target=null,ve&&(ve.taskData=null),ct&&(O.options.once=!0),!_e&&"boolean"==typeof oe.options||(oe.options=se),oe.target=L,oe.capture=Be,oe.eventName=M,V&&(oe.originalDelegate=G),I?ge.unshift(oe):ge.push(oe),y?L:void 0}};return g[i]=a(w,C,$,A,B),q&&(g[T]=a(q,Z,function(s){return q.call(O.target,O.eventName,s.invoke,O.options)},A,B,!0)),g[u]=function(){const s=this||t;let l=arguments[0];h&&h.transferEventName&&(l=h.transferEventName(l));const k=arguments[2],R=!!k&&("boolean"==typeof k||k.capture),y=arguments[1];if(!y)return v.apply(this,arguments);if(z&&!z(v,y,s,arguments))return;const I=te[l];let L;I&&(L=I[R?ce:ae]);const M=L&&s[L];if(M)for(let G=0;Gfunction(i,u){i[tt]=!0,n&&n.apply(i,u)})}const Re=H("zoneTask");function Ee(t,r,c,n){let i=null,u=null;c+=n;const _={};function E(C){const T=C.data;return T.args[0]=function(){return C.invoke.apply(this,arguments)},T.handleId=i.apply(t,T.args),C}function m(C){return u.call(t,C.data.handleId)}i=le(t,r+=n,C=>function(T,Z){if("function"==typeof Z[0]){const P={isPeriodic:"Interval"===n,delay:"Timeout"===n||"Interval"===n?Z[1]||0:void 0,args:Z},j=Z[0];Z[0]=function(){try{return j.apply(this,arguments)}finally{P.isPeriodic||("number"==typeof P.handleId?delete _[P.handleId]:P.handleId&&(P.handleId[Re]=null))}};const W=He(r,Z[0],P,E,m);if(!W)return W;const x=W.data.handleId;return"number"==typeof x?_[x]=W:x&&(x[Re]=W),x&&x.ref&&x.unref&&"function"==typeof x.ref&&"function"==typeof x.unref&&(W.ref=x.ref.bind(x),W.unref=x.unref.bind(x)),"number"==typeof x||x?x:W}return C.apply(t,Z)}),u=le(t,c,C=>function(T,Z){const P=Z[0];let j;"number"==typeof P?j=_[P]:(j=P&&P[Re],j||(j=P)),j&&"string"==typeof j.type?"notScheduled"!==j.state&&(j.cancelFn&&j.data.isPeriodic||0===j.runCount)&&("number"==typeof P?delete _[P]:P&&(P[Re]=null),j.zone.cancelTask(j)):C.apply(t,Z)})}function ot(t,r,c){if(!c||0===c.length)return r;const n=c.filter(u=>u.target===t);if(!n||0===n.length)return r;const i=n[0].ignoreProperties;return r.filter(u=>-1===i.indexOf(u))}function st(t,r,c,n){t&&Je(t,ot(t,r,c),n)}function Fe(t){return Object.getOwnPropertyNames(t).filter(r=>r.startsWith("on")&&r.length>2).map(r=>r.substring(2))}function Ot(t,r,c,n,i){const u=Zone.__symbol__(n);if(r[u])return;const _=r[u]=r[n];r[n]=function(E,m,C){return m&&m.prototype&&i.forEach(function(T){const Z=`${c}.${n}::`+T,P=m.prototype;try{if(P.hasOwnProperty(T)){const j=t.ObjectGetOwnPropertyDescriptor(P,T);j&&j.value?(j.value=t.wrapWithCurrentZone(j.value,Z),t._redefineProperty(m.prototype,T,j)):P[T]&&(P[T]=t.wrapWithCurrentZone(P[T],Z))}else P[T]&&(P[T]=t.wrapWithCurrentZone(P[T],Z))}catch{}}),_.call(r,E,m,C)},t.attachOriginToPatched(r[n],_)}const it=function Oe(){const t=globalThis,r=!0===t[Q("forceDuplicateZoneCheck")];if(t.Zone&&(r||"function"!=typeof t.Zone.__symbol__))throw new Error("Zone already loaded.");return t.Zone??=function We(){const t=ee.performance;function r(N){t&&t.mark&&t.mark(N)}function c(N,d){t&&t.measure&&t.measure(N,d)}r("Zone");let n=(()=>{class N{static#e=this.__symbol__=Q;static assertZonePatched(){if(ee.Promise!==O.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=N.current;for(;e.parent;)e=e.parent;return e}static get current(){return v.zone}static get currentTask(){return S}static __load_patch(e,o,p=!1){if(O.hasOwnProperty(e)){const D=!0===ee[Q("forceDuplicateZoneCheck")];if(!p&&D)throw Error("Already loaded patch: "+e)}else if(!ee["__Zone_disable_"+e]){const D="Zone:"+e;r(D),O[e]=o(ee,N,w),c(D,D)}}get parent(){return this._parent}get name(){return this._name}constructor(e,o){this._parent=e,this._name=o?o.name||"unnamed":"",this._properties=o&&o.properties||{},this._zoneDelegate=new u(this,this._parent&&this._parent._zoneDelegate,o)}get(e){const o=this.getZoneWith(e);if(o)return o._properties[e]}getZoneWith(e){let o=this;for(;o;){if(o._properties.hasOwnProperty(e))return o;o=o._parent}return null}fork(e){if(!e)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,e)}wrap(e,o){if("function"!=typeof e)throw new Error("Expecting function got: "+e);const p=this._zoneDelegate.intercept(this,e,o),D=this;return function(){return D.runGuarded(p,this,arguments,o)}}run(e,o,p,D){v={parent:v,zone:this};try{return this._zoneDelegate.invoke(this,e,o,p,D)}finally{v=v.parent}}runGuarded(e,o=null,p,D){v={parent:v,zone:this};try{try{return this._zoneDelegate.invoke(this,e,o,p,D)}catch($){if(this._zoneDelegate.handleError(this,$))throw $}}finally{v=v.parent}}runTask(e,o,p){if(e.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(e.zone||re).name+"; Execution: "+this.name+")");if(e.state===X&&(e.type===U||e.type===g))return;const D=e.state!=F;D&&e._transitionTo(F,h),e.runCount++;const $=S;S=e,v={parent:v,zone:this};try{e.type==g&&e.data&&!e.data.isPeriodic&&(e.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,e,o,p)}catch(A){if(this._zoneDelegate.handleError(this,A))throw A}}finally{e.state!==X&&e.state!==Y&&(e.type==U||e.data&&e.data.isPeriodic?D&&e._transitionTo(h,F):(e.runCount=0,this._updateTaskCount(e,-1),D&&e._transitionTo(X,F,X))),v=v.parent,S=$}}scheduleTask(e){if(e.zone&&e.zone!==this){let p=this;for(;p;){if(p===e.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${e.zone.name}`);p=p.parent}}e._transitionTo(b,X);const o=[];e._zoneDelegates=o,e._zone=this;try{e=this._zoneDelegate.scheduleTask(this,e)}catch(p){throw e._transitionTo(Y,b,X),this._zoneDelegate.handleError(this,p),p}return e._zoneDelegates===o&&this._updateTaskCount(e,1),e.state==b&&e._transitionTo(h,b),e}scheduleMicroTask(e,o,p,D){return this.scheduleTask(new _(B,e,o,p,D,void 0))}scheduleMacroTask(e,o,p,D,$){return this.scheduleTask(new _(g,e,o,p,D,$))}scheduleEventTask(e,o,p,D,$){return this.scheduleTask(new _(U,e,o,p,D,$))}cancelTask(e){if(e.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(e.zone||re).name+"; Execution: "+this.name+")");if(e.state===h||e.state===F){e._transitionTo(z,h,F);try{this._zoneDelegate.cancelTask(this,e)}catch(o){throw e._transitionTo(Y,z),this._zoneDelegate.handleError(this,o),o}return this._updateTaskCount(e,-1),e._transitionTo(X,z),e.runCount=0,e}}_updateTaskCount(e,o){const p=e._zoneDelegates;-1==o&&(e._zoneDelegates=null);for(let D=0;DN.hasTask(e,o),onScheduleTask:(N,d,e,o)=>N.scheduleTask(e,o),onInvokeTask:(N,d,e,o,p,D)=>N.invokeTask(e,o,p,D),onCancelTask:(N,d,e,o)=>N.cancelTask(e,o)};class u{get zone(){return this._zone}constructor(d,e,o){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this._zone=d,this._parentDelegate=e,this._forkZS=o&&(o&&o.onFork?o:e._forkZS),this._forkDlgt=o&&(o.onFork?e:e._forkDlgt),this._forkCurrZone=o&&(o.onFork?this._zone:e._forkCurrZone),this._interceptZS=o&&(o.onIntercept?o:e._interceptZS),this._interceptDlgt=o&&(o.onIntercept?e:e._interceptDlgt),this._interceptCurrZone=o&&(o.onIntercept?this._zone:e._interceptCurrZone),this._invokeZS=o&&(o.onInvoke?o:e._invokeZS),this._invokeDlgt=o&&(o.onInvoke?e:e._invokeDlgt),this._invokeCurrZone=o&&(o.onInvoke?this._zone:e._invokeCurrZone),this._handleErrorZS=o&&(o.onHandleError?o:e._handleErrorZS),this._handleErrorDlgt=o&&(o.onHandleError?e:e._handleErrorDlgt),this._handleErrorCurrZone=o&&(o.onHandleError?this._zone:e._handleErrorCurrZone),this._scheduleTaskZS=o&&(o.onScheduleTask?o:e._scheduleTaskZS),this._scheduleTaskDlgt=o&&(o.onScheduleTask?e:e._scheduleTaskDlgt),this._scheduleTaskCurrZone=o&&(o.onScheduleTask?this._zone:e._scheduleTaskCurrZone),this._invokeTaskZS=o&&(o.onInvokeTask?o:e._invokeTaskZS),this._invokeTaskDlgt=o&&(o.onInvokeTask?e:e._invokeTaskDlgt),this._invokeTaskCurrZone=o&&(o.onInvokeTask?this._zone:e._invokeTaskCurrZone),this._cancelTaskZS=o&&(o.onCancelTask?o:e._cancelTaskZS),this._cancelTaskDlgt=o&&(o.onCancelTask?e:e._cancelTaskDlgt),this._cancelTaskCurrZone=o&&(o.onCancelTask?this._zone:e._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const p=o&&o.onHasTask;(p||e&&e._hasTaskZS)&&(this._hasTaskZS=p?o:i,this._hasTaskDlgt=e,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=this._zone,o.onScheduleTask||(this._scheduleTaskZS=i,this._scheduleTaskDlgt=e,this._scheduleTaskCurrZone=this._zone),o.onInvokeTask||(this._invokeTaskZS=i,this._invokeTaskDlgt=e,this._invokeTaskCurrZone=this._zone),o.onCancelTask||(this._cancelTaskZS=i,this._cancelTaskDlgt=e,this._cancelTaskCurrZone=this._zone))}fork(d,e){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,d,e):new n(d,e)}intercept(d,e,o){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,d,e,o):e}invoke(d,e,o,p,D){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,d,e,o,p,D):e.apply(o,p)}handleError(d,e){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,d,e)}scheduleTask(d,e){let o=e;if(this._scheduleTaskZS)this._hasTaskZS&&o._zoneDelegates.push(this._hasTaskDlgtOwner),o=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,d,e),o||(o=e);else if(e.scheduleFn)e.scheduleFn(e);else{if(e.type!=B)throw new Error("Task is missing scheduleFn.");W(e)}return o}invokeTask(d,e,o,p){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,d,e,o,p):e.callback.apply(o,p)}cancelTask(d,e){let o;if(this._cancelTaskZS)o=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,d,e);else{if(!e.cancelFn)throw Error("Task is not cancelable");o=e.cancelFn(e)}return o}hasTask(d,e){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,d,e)}catch(o){this.handleError(d,o)}}_updateTaskCount(d,e){const o=this._taskCounts,p=o[d],D=o[d]=p+e;if(D<0)throw new Error("More tasks executed then were scheduled.");0!=p&&0!=D||this.hasTask(this._zone,{microTask:o.microTask>0,macroTask:o.macroTask>0,eventTask:o.eventTask>0,change:d})}}class _{constructor(d,e,o,p,D,$){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=d,this.source=e,this.data=p,this.scheduleFn=D,this.cancelFn=$,!o)throw new Error("callback is not defined");this.callback=o;const A=this;this.invoke=d===U&&p&&p.useG?_.invokeTask:function(){return _.invokeTask.call(ee,A,this,arguments)}}static invokeTask(d,e,o){d||(d=this),K++;try{return d.runCount++,d.zone.runTask(d,e,o)}finally{1==K&&x(),K--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(X,b)}_transitionTo(d,e,o){if(this._state!==e&&this._state!==o)throw new Error(`${this.type} '${this.source}': can not transition to '${d}', expecting state '${e}'${o?" or '"+o+"'":""}, was '${this._state}'.`);this._state=d,d==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 E=Q("setTimeout"),m=Q("Promise"),C=Q("then");let P,T=[],Z=!1;function j(N){if(P||ee[m]&&(P=ee[m].resolve(0)),P){let d=P[C];d||(d=P.then),d.call(P,N)}else ee[E](N,0)}function W(N){0===K&&0===T.length&&j(x),N&&T.push(N)}function x(){if(!Z){for(Z=!0;T.length;){const N=T;T=[];for(let d=0;dv,onUnhandledError:q,microtaskDrainDone:q,scheduleMicroTask:W,showUncaughtError:()=>!n[Q("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:q,patchMethod:()=>q,bindArguments:()=>[],patchThen:()=>q,patchMacroTask:()=>q,patchEventPrototype:()=>q,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>q,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>q,wrapWithCurrentZone:()=>q,filterProperties:()=>[],attachOriginToPatched:()=>q,_redefineProperty:()=>q,patchCallbacks:()=>q,nativeScheduleMicroTask:j};let v={parent:null,zone:new n(null,null)},S=null,K=0;function q(){}return c("Zone","Zone"),n}(),t.Zone}();(function It(t){(function St(t){t.__load_patch("ZoneAwarePromise",(r,c,n)=>{const i=Object.getOwnPropertyDescriptor,u=Object.defineProperty,E=n.symbol,m=[],C=!1!==r[E("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],T=E("Promise"),Z=E("then"),P="__creationTrace__";n.onUnhandledError=f=>{if(n.showUncaughtError()){const a=f&&f.rejection;a?console.error("Unhandled Promise rejection:",a instanceof Error?a.message:a,"; Zone:",f.zone.name,"; Task:",f.task&&f.task.source,"; Value:",a,a instanceof Error?a.stack:void 0):console.error(f)}},n.microtaskDrainDone=()=>{for(;m.length;){const f=m.shift();try{f.zone.runGuarded(()=>{throw f.throwOriginal?f.rejection:f})}catch(a){W(a)}}};const j=E("unhandledPromiseRejectionHandler");function W(f){n.onUnhandledError(f);try{const a=c[j];"function"==typeof a&&a.call(this,f)}catch{}}function x(f){return f&&f.then}function re(f){return f}function X(f){return A.reject(f)}const b=E("state"),h=E("value"),F=E("finally"),z=E("parentPromiseValue"),Y=E("parentPromiseState"),B="Promise.then",g=null,U=!0,O=!1,w=0;function v(f,a){return s=>{try{N(f,a,s)}catch(l){N(f,!1,l)}}}const S=function(){let f=!1;return function(s){return function(){f||(f=!0,s.apply(null,arguments))}}},K="Promise resolved with itself",q=E("currentTaskTrace");function N(f,a,s){const l=S();if(f===s)throw new TypeError(K);if(f[b]===g){let k=null;try{("object"==typeof s||"function"==typeof s)&&(k=s&&s.then)}catch(R){return l(()=>{N(f,!1,R)})(),f}if(a!==O&&s instanceof A&&s.hasOwnProperty(b)&&s.hasOwnProperty(h)&&s[b]!==g)e(s),N(f,s[b],s[h]);else if(a!==O&&"function"==typeof k)try{k.call(s,l(v(f,a)),l(v(f,!1)))}catch(R){l(()=>{N(f,!1,R)})()}else{f[b]=a;const R=f[h];if(f[h]=s,f[F]===F&&a===U&&(f[b]=f[Y],f[h]=f[z]),a===O&&s instanceof Error){const y=c.currentTask&&c.currentTask.data&&c.currentTask.data[P];y&&u(s,q,{configurable:!0,enumerable:!1,writable:!0,value:y})}for(let y=0;y{try{const I=f[h],L=!!s&&F===s[F];L&&(s[z]=I,s[Y]=R);const M=a.run(y,void 0,L&&y!==X&&y!==re?[]:[I]);N(s,!0,M)}catch(I){N(s,!1,I)}},s)}const D=function(){},$=r.AggregateError;class A{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(a){return a instanceof A?a:N(new this(null),U,a)}static reject(a){return N(new this(null),O,a)}static withResolvers(){const a={};return a.promise=new A((s,l)=>{a.resolve=s,a.reject=l}),a}static any(a){if(!a||"function"!=typeof a[Symbol.iterator])return Promise.reject(new $([],"All promises were rejected"));const s=[];let l=0;try{for(let y of a)l++,s.push(A.resolve(y))}catch{return Promise.reject(new $([],"All promises were rejected"))}if(0===l)return Promise.reject(new $([],"All promises were rejected"));let k=!1;const R=[];return new A((y,I)=>{for(let L=0;L{k||(k=!0,y(M))},M=>{R.push(M),l--,0===l&&(k=!0,I(new $(R,"All promises were rejected")))})})}static race(a){let s,l,k=new this((I,L)=>{s=I,l=L});function R(I){s(I)}function y(I){l(I)}for(let I of a)x(I)||(I=this.resolve(I)),I.then(R,y);return k}static all(a){return A.allWithCallback(a)}static allSettled(a){return(this&&this.prototype instanceof A?this:A).allWithCallback(a,{thenCallback:l=>({status:"fulfilled",value:l}),errorCallback:l=>({status:"rejected",reason:l})})}static allWithCallback(a,s){let l,k,R=new this((M,G)=>{l=M,k=G}),y=2,I=0;const L=[];for(let M of a){x(M)||(M=this.resolve(M));const G=I;try{M.then(V=>{L[G]=s?s.thenCallback(V):V,y--,0===y&&l(L)},V=>{s?(L[G]=s.errorCallback(V),y--,0===y&&l(L)):k(V)})}catch(V){k(V)}y++,I++}return y-=2,0===y&&l(L),R}constructor(a){const s=this;if(!(s instanceof A))throw new Error("Must be an instanceof Promise.");s[b]=g,s[h]=[];try{const l=S();a&&a(l(v(s,U)),l(v(s,O)))}catch(l){N(s,!1,l)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return A}then(a,s){let l=this.constructor?.[Symbol.species];(!l||"function"!=typeof l)&&(l=this.constructor||A);const k=new l(D),R=c.current;return this[b]==g?this[h].push(R,k,a,s):o(this,R,k,a,s),k}catch(a){return this.then(null,a)}finally(a){let s=this.constructor?.[Symbol.species];(!s||"function"!=typeof s)&&(s=A);const l=new s(D);l[F]=F;const k=c.current;return this[b]==g?this[h].push(k,l,a,a):o(this,k,l,a,a),l}}A.resolve=A.resolve,A.reject=A.reject,A.race=A.race,A.all=A.all;const Ce=r[T]=r.Promise;r.Promise=A;const ke=E("thenPatched");function he(f){const a=f.prototype,s=i(a,"then");if(s&&(!1===s.writable||!s.configurable))return;const l=a.then;a[Z]=l,f.prototype.then=function(k,R){return new A((I,L)=>{l.call(this,I,L)}).then(k,R)},f[ke]=!0}return n.patchThen=he,Ce&&(he(Ce),le(r,"fetch",f=>function Se(f){return function(a,s){let l=f.apply(a,s);if(l instanceof A)return l;let k=l.constructor;return k[ke]||he(k),l}}(f))),Promise[c.__symbol__("uncaughtPromiseErrors")]=m,A})})(t),function Dt(t){t.__load_patch("toString",r=>{const c=Function.prototype.toString,n=H("OriginalDelegate"),i=H("Promise"),u=H("Error"),_=function(){if("function"==typeof this){const T=this[n];if(T)return"function"==typeof T?c.call(T):Object.prototype.toString.call(T);if(this===Promise){const Z=r[i];if(Z)return c.call(Z)}if(this===Error){const Z=r[u];if(Z)return c.call(Z)}}return c.call(this)};_[n]=c,Function.prototype.toString=_;const E=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":E.call(this)}})}(t),function Nt(t){t.__load_patch("util",(r,c,n)=>{const i=Fe(r);n.patchOnProperties=Je,n.patchMethod=le,n.bindArguments=xe,n.patchMacroTask=Tt;const u=c.__symbol__("BLACK_LISTED_EVENTS"),_=c.__symbol__("UNPATCHED_EVENTS");r[_]&&(r[u]=r[_]),r[u]&&(c[u]=c[_]=r[u]),n.patchEventPrototype=kt,n.patchEventTarget=pt,n.isIEOrEdge=yt,n.ObjectDefineProperty=Ne,n.ObjectGetOwnPropertyDescriptor=ye,n.ObjectCreate=ht,n.ArraySlice=dt,n.patchClass=pe,n.wrapWithCurrentZone=je,n.filterProperties=ot,n.attachOriginToPatched=ue,n._redefineProperty=Object.defineProperty,n.patchCallbacks=Ot,n.getGlobalObjects=()=>({globalSources:Qe,zoneSymbolEventNames:te,eventNames:i,isBrowser:Ge,isMix:Xe,isNode:Pe,TRUE_STR:ce,FALSE_STR:ae,ZONE_SYMBOL_PREFIX:me,ADD_EVENT_LISTENER_STR:Le,REMOVE_EVENT_LISTENER_STR:Me})})}(t)})(it),function Ct(t){t.__load_patch("legacy",r=>{const c=r[t.__symbol__("legacyPatch")];c&&c()}),t.__load_patch("timers",r=>{const c="set",n="clear";Ee(r,c,n,"Timeout"),Ee(r,c,n,"Interval"),Ee(r,c,n,"Immediate")}),t.__load_patch("requestAnimationFrame",r=>{Ee(r,"request","cancel","AnimationFrame"),Ee(r,"mozRequest","mozCancel","AnimationFrame"),Ee(r,"webkitRequest","webkitCancel","AnimationFrame")}),t.__load_patch("blocking",(r,c)=>{const n=["alert","prompt","confirm"];for(let i=0;ifunction(C,T){return c.current.run(_,r,T,m)})}),t.__load_patch("EventTarget",(r,c,n)=>{(function wt(t,r){r.patchEventPrototype(t,r)})(r,n),function Pt(t,r){if(Zone[r.symbol("patchEventTarget")])return;const{eventNames:c,zoneSymbolEventNames:n,TRUE_STR:i,FALSE_STR:u,ZONE_SYMBOL_PREFIX:_}=r.getGlobalObjects();for(let m=0;m{pe("MutationObserver"),pe("WebKitMutationObserver")}),t.__load_patch("IntersectionObserver",(r,c,n)=>{pe("IntersectionObserver")}),t.__load_patch("FileReader",(r,c,n)=>{pe("FileReader")}),t.__load_patch("on_property",(r,c,n)=>{!function Rt(t,r){if(Pe&&!Xe||Zone[t.symbol("patchEvents")])return;const c=r.__Zone_ignore_on_properties;let n=[];if(Ge){const i=window;n=n.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const u=function gt(){try{const t=de.navigator.userAgent;if(-1!==t.indexOf("MSIE ")||-1!==t.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:i,ignoreProperties:["error"]}]:[];st(i,Fe(i),c&&c.concat(u),Ie(i))}n=n.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let i=0;i{!function bt(t,r){const{isBrowser:c,isMix:n}=r.getGlobalObjects();(c||n)&&t.customElements&&"customElements"in t&&r.patchCallbacks(r,t.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback","formAssociatedCallback","formDisabledCallback","formResetCallback","formStateRestoreCallback"])}(r,n)}),t.__load_patch("XHR",(r,c)=>{!function C(T){const Z=T.XMLHttpRequest;if(!Z)return;const P=Z.prototype;let W=P[Ze],x=P[Ae];if(!W){const w=T.XMLHttpRequestEventTarget;if(w){const v=w.prototype;W=v[Ze],x=v[Ae]}}const re="readystatechange",X="scheduled";function b(w){const v=w.data,S=v.target;S[_]=!1,S[m]=!1;const K=S[u];W||(W=S[Ze],x=S[Ae]),K&&x.call(S,re,K);const q=S[u]=()=>{if(S.readyState===S.DONE)if(!v.aborted&&S[_]&&w.state===X){const d=S[c.__symbol__("loadfalse")];if(0!==S.status&&d&&d.length>0){const e=w.invoke;w.invoke=function(){const o=S[c.__symbol__("loadfalse")];for(let p=0;pfunction(w,v){return w[i]=0==v[2],w[E]=v[1],z.apply(w,v)}),B=H("fetchTaskAborting"),g=H("fetchTaskScheduling"),U=le(P,"send",()=>function(w,v){if(!0===c.current[g]||w[i])return U.apply(w,v);{const S={target:w,url:w[E],isPeriodic:!1,args:v,aborted:!1},K=He("XMLHttpRequest.send",h,S,b,F);w&&!0===w[m]&&!S.aborted&&K.state===X&&K.invoke()}}),O=le(P,"abort",()=>function(w,v){const S=function j(w){return w[n]}(w);if(S&&"string"==typeof S.type){if(null==S.cancelFn||S.data&&S.data.aborted)return;S.zone.cancelTask(S)}else if(!0===c.current[B])return O.apply(w,v)})}(r);const n=H("xhrTask"),i=H("xhrSync"),u=H("xhrListener"),_=H("xhrScheduled"),E=H("xhrURL"),m=H("xhrErrorBeforeScheduled")}),t.__load_patch("geolocation",r=>{r.navigator&&r.navigator.geolocation&&function Et(t,r){const c=t.constructor.name;for(let n=0;n{const m=function(){return E.apply(this,xe(arguments,c+"."+i))};return ue(m,E),m})(u)}}}(r.navigator.geolocation,["getCurrentPosition","watchPosition"])}),t.__load_patch("PromiseRejectionEvent",(r,c)=>{function n(i){return function(u){rt(r,i).forEach(E=>{const m=r.PromiseRejectionEvent;if(m){const C=new m(i,{promise:u.promise,reason:u.rejection});E.invoke(C)}})}}r.PromiseRejectionEvent&&(c[H("unhandledPromiseRejectionHandler")]=n("unhandledrejection"),c[H("rejectionHandledHandler")]=n("rejectionhandled"))}),t.__load_patch("queueMicrotask",(r,c,n)=>{!function vt(t,r){r.patchMethod(t,"queueMicrotask",c=>function(n,i){Zone.current.scheduleMicroTask("queueMicrotask",i[0])})}(r,n)})}(it)}},ee=>{ee(ee.s=935)}]);
\ No newline at end of file
diff --git a/publish_date.txt b/publish_date.txt
new file mode 100644
index 0000000..6897a73
--- /dev/null
+++ b/publish_date.txt
@@ -0,0 +1 @@
+Tue Jul 2 05:07:46 UTC 2024
diff --git a/runtime.6a72a6be69fe40ca.js b/runtime.6a72a6be69fe40ca.js
new file mode 100644
index 0000000..3635dc6
--- /dev/null
+++ b/runtime.6a72a6be69fe40ca.js
@@ -0,0 +1 @@
+(()=>{"use strict";var e,v={},i={};function n(e){var o=i[e];if(void 0!==o)return o.exports;var r=i[e]={exports:{}};return v[e](r,r.exports,n),r.exports}n.m=v,e=[],n.O=(o,r,u,l)=>{if(!r){var t=1/0;for(a=0;a=l)&&Object.keys(n.O).every(p=>n.O[p](r[f]))?r.splice(f--,1):(_=!1,l0&&e[a-1][2]>l;a--)e[a]=e[a-1];e[a]=[r,u,l]},n.o=(e,o)=>Object.prototype.hasOwnProperty.call(e,o),(()=>{var e={121:0};n.O.j=u=>0===e[u];var o=(u,l)=>{var f,s,[a,t,_]=l,c=0;if(a.some(h=>0!==e[h])){for(f in t)n.o(t,f)&&(n.m[f]=t[f]);if(_)var d=_(n)}for(u&&u(l);c