diff --git a/erm.frontend/public/svg-path-editor/3rdpartylicenses.txt b/erm.frontend/public/svg-path-editor/3rdpartylicenses.txt new file mode 100644 index 00000000..a9e95cc5 --- /dev/null +++ b/erm.frontend/public/svg-path-editor/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 + +@angular/service-worker +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/erm.frontend/public/svg-path-editor/assets/KFOlCnqEu92Fr1MmEU9fBBc4AMP6lQ copy.woff2 b/erm.frontend/public/svg-path-editor/assets/KFOlCnqEu92Fr1MmEU9fBBc4AMP6lQ copy.woff2 new file mode 100644 index 00000000..58b810d7 Binary files /dev/null and b/erm.frontend/public/svg-path-editor/assets/KFOlCnqEu92Fr1MmEU9fBBc4AMP6lQ copy.woff2 differ diff --git a/erm.frontend/public/svg-path-editor/assets/KFOlCnqEu92Fr1MmEU9fBBc4AMP6lQ.woff2 b/erm.frontend/public/svg-path-editor/assets/KFOlCnqEu92Fr1MmEU9fBBc4AMP6lQ.woff2 new file mode 100644 index 00000000..58b810d7 Binary files /dev/null and b/erm.frontend/public/svg-path-editor/assets/KFOlCnqEu92Fr1MmEU9fBBc4AMP6lQ.woff2 differ diff --git a/erm.frontend/public/svg-path-editor/assets/KFOlCnqEu92Fr1MmSU5fBBc4AMP6lQ.woff2 b/erm.frontend/public/svg-path-editor/assets/KFOlCnqEu92Fr1MmSU5fBBc4AMP6lQ.woff2 new file mode 100644 index 00000000..7eabd2b2 Binary files /dev/null and b/erm.frontend/public/svg-path-editor/assets/KFOlCnqEu92Fr1MmSU5fBBc4AMP6lQ.woff2 differ diff --git a/erm.frontend/public/svg-path-editor/assets/KFOlCnqEu92Fr1MmSU5fCRc4AMP6lbBP.woff2 b/erm.frontend/public/svg-path-editor/assets/KFOlCnqEu92Fr1MmSU5fCRc4AMP6lbBP.woff2 new file mode 100644 index 00000000..e542efce Binary files /dev/null and b/erm.frontend/public/svg-path-editor/assets/KFOlCnqEu92Fr1MmSU5fCRc4AMP6lbBP.woff2 differ diff --git a/erm.frontend/public/svg-path-editor/assets/KFOmCnqEu92Fr1Mu4mxKKTU1Kg.woff2 b/erm.frontend/public/svg-path-editor/assets/KFOmCnqEu92Fr1Mu4mxKKTU1Kg.woff2 new file mode 100644 index 00000000..daa4d3e4 Binary files /dev/null and b/erm.frontend/public/svg-path-editor/assets/KFOmCnqEu92Fr1Mu4mxKKTU1Kg.woff2 differ diff --git a/erm.frontend/public/svg-path-editor/assets/KFOmCnqEu92Fr1Mu72xKKTU1Kvnz.woff2 b/erm.frontend/public/svg-path-editor/assets/KFOmCnqEu92Fr1Mu72xKKTU1Kvnz.woff2 new file mode 100644 index 00000000..07f2ea66 Binary files /dev/null and b/erm.frontend/public/svg-path-editor/assets/KFOmCnqEu92Fr1Mu72xKKTU1Kvnz.woff2 differ diff --git a/erm.frontend/public/svg-path-editor/assets/css.css b/erm.frontend/public/svg-path-editor/assets/css.css new file mode 100644 index 00000000..452ebbb4 --- /dev/null +++ b/erm.frontend/public/svg-path-editor/assets/css.css @@ -0,0 +1,213 @@ +/* cyrillic-ext */ +@font-face { + font-family: 'Roboto'; + font-style: normal; + font-weight: 300; + font-display: swap; + src: url(./KFOlCnqEu92Fr1MmSU5fCRc4AMP6lbBP.woff2) format('woff2'); + unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; + } + /* cyrillic */ + @font-face { + font-family: 'Roboto'; + font-style: normal; + font-weight: 300; + font-display: swap; + src: url(./KFOlCnqEu92Fr1MmSU5fABc4AMP6lbBP.woff2) format('woff2'); + unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; + } + /* greek-ext */ + @font-face { + font-family: 'Roboto'; + font-style: normal; + font-weight: 300; + font-display: swap; + src: url(./KFOlCnqEu92Fr1MmSU5fCBc4AMP6lbBP.woff2) format('woff2'); + unicode-range: U+1F00-1FFF; + } + /* greek */ + @font-face { + font-family: 'Roboto'; + font-style: normal; + font-weight: 300; + font-display: swap; + src: url(./KFOlCnqEu92Fr1MmSU5fBxc4AMP6lbBP.woff2) format('woff2'); + unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; + } + /* vietnamese */ + @font-face { + font-family: 'Roboto'; + font-style: normal; + font-weight: 300; + font-display: swap; + src: url(./KFOlCnqEu92Fr1MmSU5fCxc4AMP6lbBP.woff2) format('woff2'); + unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; + } + /* latin-ext */ + @font-face { + font-family: 'Roboto'; + font-style: normal; + font-weight: 300; + font-display: swap; + src: url(./KFOlCnqEu92Fr1MmSU5fChc4AMP6lbBP.woff2) format('woff2'); + unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; + } + /* latin */ + @font-face { + font-family: 'Roboto'; + font-style: normal; + font-weight: 300; + font-display: swap; + src: url(./KFOlCnqEu92Fr1MmSU5fBBc4AMP6lQ.woff2) format('woff2'); + unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; + } + /* cyrillic-ext */ + @font-face { + font-family: 'Roboto'; + font-style: normal; + font-weight: 400; + font-display: swap; + src: url(./KFOmCnqEu92Fr1Mu72xKKTU1Kvnz.woff2) format('woff2'); + unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; + } + /* cyrillic */ + @font-face { + font-family: 'Roboto'; + font-style: normal; + font-weight: 400; + font-display: swap; + src: url(./KFOmCnqEu92Fr1Mu5mxKKTU1Kvnz.woff2) format('woff2'); + unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; + } + /* greek-ext */ + @font-face { + font-family: 'Roboto'; + font-style: normal; + font-weight: 400; + font-display: swap; + src: url(./KFOmCnqEu92Fr1Mu7mxKKTU1Kvnz.woff2) format('woff2'); + unicode-range: U+1F00-1FFF; + } + /* greek */ + @font-face { + font-family: 'Roboto'; + font-style: normal; + font-weight: 400; + font-display: swap; + src: url(./KFOmCnqEu92Fr1Mu4WxKKTU1Kvnz.woff2) format('woff2'); + unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; + } + /* vietnamese */ + @font-face { + font-family: 'Roboto'; + font-style: normal; + font-weight: 400; + font-display: swap; + src: url(./KFOmCnqEu92Fr1Mu7WxKKTU1Kvnz.woff2) format('woff2'); + unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; + } + /* latin-ext */ + @font-face { + font-family: 'Roboto'; + font-style: normal; + font-weight: 400; + font-display: swap; + src: url(./KFOmCnqEu92Fr1Mu7GxKKTU1Kvnz.woff2) format('woff2'); + unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; + } + /* latin */ + @font-face { + font-family: 'Roboto'; + font-style: normal; + font-weight: 400; + font-display: swap; + src: url(./KFOmCnqEu92Fr1Mu4mxKKTU1Kg.woff2) format('woff2'); + unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; + } + /* cyrillic-ext */ + @font-face { + font-family: 'Roboto'; + font-style: normal; + font-weight: 500; + font-display: swap; + src: url(./KFOlCnqEu92Fr1MmEU9fCRc4AMP6lbBP.woff2) format('woff2'); + unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; + } + /* cyrillic */ + @font-face { + font-family: 'Roboto'; + font-style: normal; + font-weight: 500; + font-display: swap; + src: url(./KFOlCnqEu92Fr1MmEU9fABc4AMP6lbBP.woff2) format('woff2'); + unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; + } + /* greek-ext */ + @font-face { + font-family: 'Roboto'; + font-style: normal; + font-weight: 500; + font-display: swap; + src: url(./KFOlCnqEu92Fr1MmEU9fCBc4AMP6lbBP.woff2) format('woff2'); + unicode-range: U+1F00-1FFF; + } + /* greek */ + @font-face { + font-family: 'Roboto'; + font-style: normal; + font-weight: 500; + font-display: swap; + src: url(./KFOlCnqEu92Fr1MmEU9fBxc4AMP6lbBP.woff2) format('woff2'); + unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; + } + /* vietnamese */ + @font-face { + font-family: 'Roboto'; + font-style: normal; + font-weight: 500; + font-display: swap; + src: url(./KFOlCnqEu92Fr1MmEU9fCxc4AMP6lbBP.woff2) format('woff2'); + unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; + } + /* latin-ext */ + @font-face { + font-family: 'Roboto'; + font-style: normal; + font-weight: 500; + font-display: swap; + src: url(./KFOlCnqEu92Fr1MmEU9fChc4AMP6lbBP.woff2) format('woff2'); + unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; + } + /* latin */ + @font-face { + font-family: 'Roboto'; + font-style: normal; + font-weight: 500; + font-display: swap; + src: url(./KFOlCnqEu92Fr1MmEU9fBBc4AMP6lQ.woff2) format('woff2'); + unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; + } + + /* fallback */ +@font-face { + font-family: 'Material Icons'; + font-style: normal; + font-weight: 400; + src: url(./materialicons-v142.woff2) format('woff2'); + } + + .material-icons { + font-family: 'Material Icons'; + font-weight: normal; + font-style: normal; + font-size: 24px; + line-height: 1; + letter-spacing: normal; + text-transform: none; + display: inline-block; + white-space: nowrap; + word-wrap: normal; + direction: ltr; + text-rendering: optimizeLegibility; + -webkit-font-smoothing: antialiased; + } \ No newline at end of file diff --git a/erm.frontend/public/svg-path-editor/assets/delete.svg b/erm.frontend/public/svg-path-editor/assets/delete.svg new file mode 100644 index 00000000..0b7075ee --- /dev/null +++ b/erm.frontend/public/svg-path-editor/assets/delete.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/erm.frontend/public/svg-path-editor/assets/github.svg b/erm.frontend/public/svg-path-editor/assets/github.svg new file mode 100644 index 00000000..c082c6d0 --- /dev/null +++ b/erm.frontend/public/svg-path-editor/assets/github.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/erm.frontend/public/svg-path-editor/assets/icons/icon-128x128.png b/erm.frontend/public/svg-path-editor/assets/icons/icon-128x128.png new file mode 100644 index 00000000..5056926e Binary files /dev/null and b/erm.frontend/public/svg-path-editor/assets/icons/icon-128x128.png differ diff --git a/erm.frontend/public/svg-path-editor/assets/icons/icon-144x144.png b/erm.frontend/public/svg-path-editor/assets/icons/icon-144x144.png new file mode 100644 index 00000000..78c96aeb Binary files /dev/null and b/erm.frontend/public/svg-path-editor/assets/icons/icon-144x144.png differ diff --git a/erm.frontend/public/svg-path-editor/assets/icons/icon-152x152-cropped.png b/erm.frontend/public/svg-path-editor/assets/icons/icon-152x152-cropped.png new file mode 100644 index 00000000..58094344 Binary files /dev/null and b/erm.frontend/public/svg-path-editor/assets/icons/icon-152x152-cropped.png differ diff --git a/erm.frontend/public/svg-path-editor/assets/icons/icon-152x152.png b/erm.frontend/public/svg-path-editor/assets/icons/icon-152x152.png new file mode 100644 index 00000000..edb87089 Binary files /dev/null and b/erm.frontend/public/svg-path-editor/assets/icons/icon-152x152.png differ diff --git a/erm.frontend/public/svg-path-editor/assets/icons/icon-192x192.png b/erm.frontend/public/svg-path-editor/assets/icons/icon-192x192.png new file mode 100644 index 00000000..d6d528d7 Binary files /dev/null and b/erm.frontend/public/svg-path-editor/assets/icons/icon-192x192.png differ diff --git a/erm.frontend/public/svg-path-editor/assets/icons/icon-384x384.png b/erm.frontend/public/svg-path-editor/assets/icons/icon-384x384.png new file mode 100644 index 00000000..ce34e5b9 Binary files /dev/null and b/erm.frontend/public/svg-path-editor/assets/icons/icon-384x384.png differ diff --git a/erm.frontend/public/svg-path-editor/assets/icons/icon-512x512.png b/erm.frontend/public/svg-path-editor/assets/icons/icon-512x512.png new file mode 100644 index 00000000..d5de8f38 Binary files /dev/null and b/erm.frontend/public/svg-path-editor/assets/icons/icon-512x512.png differ diff --git a/erm.frontend/public/svg-path-editor/assets/icons/icon-72x72.png b/erm.frontend/public/svg-path-editor/assets/icons/icon-72x72.png new file mode 100644 index 00000000..d4af2982 Binary files /dev/null and b/erm.frontend/public/svg-path-editor/assets/icons/icon-72x72.png differ diff --git a/erm.frontend/public/svg-path-editor/assets/icons/icon-96x96.png b/erm.frontend/public/svg-path-editor/assets/icons/icon-96x96.png new file mode 100644 index 00000000..80453bba Binary files /dev/null and b/erm.frontend/public/svg-path-editor/assets/icons/icon-96x96.png differ diff --git a/erm.frontend/public/svg-path-editor/assets/logo.svg b/erm.frontend/public/svg-path-editor/assets/logo.svg new file mode 100644 index 00000000..13eba061 --- /dev/null +++ b/erm.frontend/public/svg-path-editor/assets/logo.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/erm.frontend/public/svg-path-editor/assets/materialicons-v142.woff2 b/erm.frontend/public/svg-path-editor/assets/materialicons-v142.woff2 new file mode 100644 index 00000000..f1fd22ff Binary files /dev/null and b/erm.frontend/public/svg-path-editor/assets/materialicons-v142.woff2 differ diff --git a/erm.frontend/public/svg-path-editor/assets/more.svg b/erm.frontend/public/svg-path-editor/assets/more.svg new file mode 100644 index 00000000..0792af6d --- /dev/null +++ b/erm.frontend/public/svg-path-editor/assets/more.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/erm.frontend/public/svg-path-editor/assets/sponsor.svg b/erm.frontend/public/svg-path-editor/assets/sponsor.svg new file mode 100644 index 00000000..bae608d3 --- /dev/null +++ b/erm.frontend/public/svg-path-editor/assets/sponsor.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/erm.frontend/public/svg-path-editor/assets/zoom_fit.svg b/erm.frontend/public/svg-path-editor/assets/zoom_fit.svg new file mode 100644 index 00000000..af74d28d --- /dev/null +++ b/erm.frontend/public/svg-path-editor/assets/zoom_fit.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/erm.frontend/public/svg-path-editor/assets/zoom_in.svg b/erm.frontend/public/svg-path-editor/assets/zoom_in.svg new file mode 100644 index 00000000..60289503 --- /dev/null +++ b/erm.frontend/public/svg-path-editor/assets/zoom_in.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/erm.frontend/public/svg-path-editor/assets/zoom_out.svg b/erm.frontend/public/svg-path-editor/assets/zoom_out.svg new file mode 100644 index 00000000..574f880a --- /dev/null +++ b/erm.frontend/public/svg-path-editor/assets/zoom_out.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/erm.frontend/public/svg-path-editor/favicon.ico b/erm.frontend/public/svg-path-editor/favicon.ico new file mode 100644 index 00000000..80db2fb2 Binary files /dev/null and b/erm.frontend/public/svg-path-editor/favicon.ico differ diff --git a/erm.frontend/public/svg-path-editor/index.html b/erm.frontend/public/svg-path-editor/index.html new file mode 100644 index 00000000..e5813846 --- /dev/null +++ b/erm.frontend/public/svg-path-editor/index.html @@ -0,0 +1,23 @@ + + + + + SvgPathEditor + + + + + + + + + + + + + diff --git a/erm.frontend/public/svg-path-editor/main.19cfcacc3c0bb7eb.js b/erm.frontend/public/svg-path-editor/main.19cfcacc3c0bb7eb.js new file mode 100644 index 00000000..c26e2db2 --- /dev/null +++ b/erm.frontend/public/svg-path-editor/main.19cfcacc3c0bb7eb.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunksvg_path_editor=self.webpackChunksvg_path_editor||[]).push([[792],{125:()=>{let gt=null,ua=!1,bc=1;const li=Symbol("SIGNAL");function ge(t){const n=gt;return gt=t,n}const qh={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 Yh(t){if(ua)throw new Error("");if(null===gt)return;gt.consumerOnSignalRead(t);const n=gt.nextProducerIndex++;Pr(gt),nt.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}function Xh(t){Pr(t);for(let n=0;n0}function Pr(t){t.producerNode??=[],t.producerIndexOfThis??=[],t.producerLastReadVersion??=[]}function kv(t){t.liveConsumerNode??=[],t.liveConsumerIndexOfThis??=[]}let Mv=function E1(){throw new Error};function Iv(){Mv()}let Zh=null;function Tv(t,n){yv()||Iv(),t.equal(t.value,n)||(t.value=n,function S1(t){t.version++,function x1(){bc++}(),vv(t),Zh?.()}(t))}const T1={...qh,equal:function gv(t,n){return Object.is(t,n)},value:void 0};const Kh=()=>{},R1={...qh,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:t=>{null!==t.schedule&&t.schedule(t.ref)},hasRun:!1,cleanupFn:Kh};function Ce(t){return"function"==typeof t}function Sv(t){const e=t(i=>{Error.call(i),i.stack=(new Error).stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}const Qh=Sv(t=>function(e){t(this),this.message=e?`${e.length} errors occurred during unsubscription:\n${e.map((i,o)=>`${o+1}) ${i.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=e});function yc(t,n){if(t){const e=t.indexOf(n);0<=e&&t.splice(e,1)}}class dt{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:e}=this;if(e)if(this._parentage=null,Array.isArray(e))for(const r of e)r.remove(this);else e.remove(this);const{initialTeardown:i}=this;if(Ce(i))try{i()}catch(r){n=r instanceof Qh?r.errors:[r]}const{_finalizers:o}=this;if(o){this._finalizers=null;for(const r of o)try{Pv(r)}catch(s){n=n??[],s instanceof Qh?n=[...n,...s.errors]:n.push(s)}}if(n)throw new Qh(n)}}add(n){var e;if(n&&n!==this)if(this.closed)Pv(n);else{if(n instanceof dt){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=null!==(e=this._finalizers)&&void 0!==e?e:[]).push(n)}}_hasParent(n){const{_parentage:e}=this;return e===n||Array.isArray(e)&&e.includes(n)}_addParent(n){const{_parentage:e}=this;this._parentage=Array.isArray(e)?(e.push(n),e):e?[e,n]:n}_removeParent(n){const{_parentage:e}=this;e===n?this._parentage=null:Array.isArray(e)&&yc(e,n)}remove(n){const{_finalizers:e}=this;e&&yc(e,n),n instanceof dt&&n._removeParent(this)}}dt.EMPTY=(()=>{const t=new dt;return t.closed=!0,t})();const Av=dt.EMPTY;function Rv(t){return t instanceof dt||t&&"closed"in t&&Ce(t.remove)&&Ce(t.add)&&Ce(t.unsubscribe)}function Pv(t){Ce(t)?t():t.unsubscribe()}const No={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},wc={setTimeout(t,n,...e){const{delegate:i}=wc;return i?.setTimeout?i.setTimeout(t,n,...e):setTimeout(t,n,...e)},clearTimeout(t){const{delegate:n}=wc;return(n?.clearTimeout||clearTimeout)(t)},delegate:void 0};function Ov(t){wc.setTimeout(()=>{const{onUnhandledError:n}=No;if(!n)throw t;n(t)})}function Or(){}const P1=Jh("C",void 0,void 0);function Jh(t,n,e){return{kind:t,value:n,error:e}}let Fo=null;function xc(t){if(No.useDeprecatedSynchronousErrorHandling){const n=!Fo;if(n&&(Fo={errorThrown:!1,error:null}),t(),n){const{errorThrown:e,error:i}=Fo;if(Fo=null,e)throw i}}else t()}class ef extends dt{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,Rv(n)&&n.add(this)):this.destination=H1}static create(n,e,i){return new fa(n,e,i)}next(n){this.isStopped?nf(function N1(t){return Jh("N",t,void 0)}(n),this):this._next(n)}error(n){this.isStopped?nf(function O1(t){return Jh("E",void 0,t)}(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?nf(P1,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 L1=Function.prototype.bind;function tf(t,n){return L1.call(t,n)}class V1{constructor(n){this.partialObserver=n}next(n){const{partialObserver:e}=this;if(e.next)try{e.next(n)}catch(i){Cc(i)}}error(n){const{partialObserver:e}=this;if(e.error)try{e.error(n)}catch(i){Cc(i)}else Cc(n)}complete(){const{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(e){Cc(e)}}}class fa extends ef{constructor(n,e,i){let o;if(super(),Ce(n)||!n)o={next:n??void 0,error:e??void 0,complete:i??void 0};else{let r;this&&No.useDeprecatedNextContext?(r=Object.create(n),r.unsubscribe=()=>this.unsubscribe(),o={next:n.next&&tf(n.next,r),error:n.error&&tf(n.error,r),complete:n.complete&&tf(n.complete,r)}):o=n}this.destination=new V1(o)}}function Cc(t){No.useDeprecatedSynchronousErrorHandling?function F1(t){No.useDeprecatedSynchronousErrorHandling&&Fo&&(Fo.errorThrown=!0,Fo.error=t)}(t):Ov(t)}function nf(t,n){const{onStoppedNotification:e}=No;e&&wc.setTimeout(()=>e(t,n))}const H1={closed:!0,next:Or,error:function B1(t){throw t},complete:Or},rf="function"==typeof Symbol&&Symbol.observable||"@@observable";function Nr(t){return t}let Ue=(()=>{class t{constructor(e){e&&(this._subscribe=e)}lift(e){const i=new t;return i.source=this,i.operator=e,i}subscribe(e,i,o){const r=function z1(t){return t&&t instanceof ef||function j1(t){return t&&Ce(t.next)&&Ce(t.error)&&Ce(t.complete)}(t)&&Rv(t)}(e)?e:new fa(e,i,o);return xc(()=>{const{operator:s,source:a}=this;r.add(s?s.call(r,a):a?this._subscribe(r):this._trySubscribe(r))}),r}_trySubscribe(e){try{return this._subscribe(e)}catch(i){e.error(i)}}forEach(e,i){return new(i=Fv(i))((o,r)=>{const s=new fa({next:a=>{try{e(a)}catch(l){r(l),s.unsubscribe()}},error:r,complete:o});this.subscribe(s)})}_subscribe(e){var i;return null===(i=this.source)||void 0===i?void 0:i.subscribe(e)}[rf](){return this}pipe(...e){return function Nv(t){return 0===t.length?Nr:1===t.length?t[0]:function(e){return t.reduce((i,o)=>o(i),e)}}(e)(this)}toPromise(e){return new(e=Fv(e))((i,o)=>{let r;this.subscribe(s=>r=s,s=>o(s),()=>i(r))})}}return t.create=n=>new t(n),t})();function Fv(t){var n;return null!==(n=t??No.Promise)&&void 0!==n?n:Promise}const U1=Sv(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let G=(()=>{class t extends Ue{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(e){const i=new Lv(this,this);return i.operator=e,i}_throwIfClosed(){if(this.closed)throw new U1}next(e){xc(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const i of this.currentObservers)i.next(e)}})}error(e){xc(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=e;const{observers:i}=this;for(;i.length;)i.shift().error(e)}})}complete(){xc(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:e}=this;for(;e.length;)e.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var e;return(null===(e=this.observers)||void 0===e?void 0:e.length)>0}_trySubscribe(e){return this._throwIfClosed(),super._trySubscribe(e)}_subscribe(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)}_innerSubscribe(e){const{hasError:i,isStopped:o,observers:r}=this;return i||o?Av:(this.currentObservers=null,r.push(e),new dt(()=>{this.currentObservers=null,yc(r,e)}))}_checkFinalizedStatuses(e){const{hasError:i,thrownError:o,isStopped:r}=this;i?e.error(o):r&&e.complete()}asObservable(){const e=new Ue;return e.source=this,e}}return t.create=(n,e)=>new Lv(n,e),t})();class Lv extends G{constructor(n,e){super(),this.destination=n,this.source=e}next(n){var e,i;null===(i=null===(e=this.destination)||void 0===e?void 0:e.next)||void 0===i||i.call(e,n)}error(n){var e,i;null===(i=null===(e=this.destination)||void 0===e?void 0:e.error)||void 0===i||i.call(e,n)}complete(){var n,e;null===(e=null===(n=this.destination)||void 0===n?void 0:n.complete)||void 0===e||e.call(n)}_subscribe(n){var e,i;return null!==(i=null===(e=this.source)||void 0===e?void 0:e.subscribe(n))&&void 0!==i?i:Av}}class Fr extends G{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){const e=super._subscribe(n);return!e.closed&&n.next(this._value),e}getValue(){const{hasError:n,thrownError:e,_value:i}=this;if(n)throw e;return this._throwIfClosed(),i}next(n){super.next(this._value=n)}}function Vv(t){return Ce(t?.lift)}function _t(t){return n=>{if(Vv(n))return n.lift(function(e){try{return t(e,this)}catch(i){this.error(i)}});throw new TypeError("Unable to lift unknown Observable type")}}function rt(t,n,e,i,o){return new $1(t,n,e,i,o)}class $1 extends ef{constructor(n,e,i,o,r,s){super(n),this.onFinalize=r,this.shouldUnsubscribe=s,this._next=e?function(a){try{e(a)}catch(l){n.error(l)}}:super._next,this._error=o?function(a){try{o(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:e}=this;super.unsubscribe(),!e&&(null===(n=this.onFinalize)||void 0===n||n.call(this))}}}function We(t,n){return _t((e,i)=>{let o=0;e.subscribe(rt(i,r=>{i.next(t.call(n,r,o++))}))})}const Bv="https://g.co/ng/security#xss";class S extends Error{constructor(n,e){super(function Lr(t,n){return`NG0${Math.abs(t)}${n?": "+n:""}`}(n,e)),this.code=n}}function Pi(t){return{toString:t}.toString()}const Br="__parameters__";function jr(t,n,e){return Pi(()=>{const i=function sf(t){return function(...e){if(t){const i=t(...e);for(const o in i)this[o]=i[o]}}}(n);function o(...r){if(this instanceof o)return i.apply(this,r),this;const s=new o(...r);return a.annotation=s,a;function a(l,c,d){const u=l.hasOwnProperty(Br)?l[Br]:Object.defineProperty(l,Br,{value:[]})[Br];for(;u.length<=d;)u.push(null);return(u[d]=u[d]||[]).push(s),l}}return e&&(o.prototype=Object.create(e.prototype)),o.prototype.ngMetadataName=t,o.annotationCls=o,o})}const Fe=globalThis;function Ve(t){for(let n in t)if(t[n]===Ve)return n;throw Error("Could not find renamed property on target object.")}function W1(t,n){for(const e in n)n.hasOwnProperty(e)&&!t.hasOwnProperty(e)&&(t[e]=n[e])}function At(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(At).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;const n=t.toString();if(null==n)return""+n;const e=n.indexOf("\n");return-1===e?n:n.substring(0,e)}function af(t,n){return null==t||""===t?null===n?"":n:null==n||""===n?t:t+" "+n}const G1=Ve({__forward_ref__:Ve});function Le(t){return t.__forward_ref__=Le,t.toString=function(){return At(this())},t}function Q(t){return Ec(t)?t():t}function Ec(t){return"function"==typeof t&&t.hasOwnProperty(G1)&&t.__forward_ref__===Le}function V(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function ve(t){return{providers:t.providers||[],imports:t.imports||[]}}function kc(t){return Uv(t,Ic)||Uv(t,$v)}function Uv(t,n){return t.hasOwnProperty(n)?t[n]:null}function Mc(t){return t&&(t.hasOwnProperty(lf)||t.hasOwnProperty(K1))?t[lf]:null}const Ic=Ve({\u0275prov:Ve}),lf=Ve({\u0275inj:Ve}),$v=Ve({ngInjectableDef:Ve}),K1=Ve({ngInjectorDef:Ve});class R{constructor(n,e){this._desc=n,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.\u0275prov=V({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function ff(t){return t&&!!t.\u0275providers}const ma=Ve({\u0275cmp:Ve}),mf=Ve({\u0275dir:Ve}),pf=Ve({\u0275pipe:Ve}),Gv=Ve({\u0275mod:Ve}),Oi=Ve({\u0275fac:Ve}),pa=Ve({__NG_ELEMENT_ID__:Ve}),qv=Ve({__NG_ENV_ID__:Ve});function ce(t){return"string"==typeof t?t:null==t?"":String(t)}function gf(t,n){throw new S(-201,!1)}var ye=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}(ye||{});let _f;function Yv(){return _f}function _n(t){const n=_f;return _f=t,n}function Xv(t,n,e){const i=kc(t);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:e&ye.Optional?null:void 0!==n?n:void gf()}const ga={},bf="__NG_DI_FLAG__",Tc="ngTempTokenPath",iR=/\n/gm,Zv="__source";let zr;function oo(t){const n=zr;return zr=t,n}function sR(t,n=ye.Default){if(void 0===zr)throw new S(-203,!1);return null===zr?Xv(t,void 0,n):zr.get(t,n&ye.Optional?null:void 0,n)}function I(t,n=ye.Default){return(Yv()||sR)(Q(t),n)}function F(t,n=ye.Default){return I(t,Sc(n))}function Sc(t){return typeof t>"u"||"number"==typeof t?t:(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function vf(t){const n=[];for(let e=0;eArray.isArray(e)?Ur(e,n):n(e))}function Qv(t,n,e){n>=t.length?t.push(e):t.splice(n,0,e)}function Ac(t,n){return n>=t.length-1?t.pop():t.splice(n,1)[0]}function In(t,n,e){let i=$r(t,n);return i>=0?t[1|i]=e:(i=~i,function Jv(t,n,e,i){let o=t.length;if(o==n)t.push(e,i);else if(1===o)t.push(i,t[0]),t[0]=e;else{for(o--,t.push(t[o-1],t[o]);o>n;)t[o]=t[o-2],o--;t[n]=e,t[n+1]=i}}(t,i,n,e)),i}function wf(t,n){const e=$r(t,n);if(e>=0)return t[1|e]}function $r(t,n){return function ey(t,n,e){let i=0,o=t.length>>e;for(;o!==i;){const r=i+(o-i>>1),s=t[r<n?o=r:i=r+1}return~(o<n){s=r-1;break}}}for(;r-1){let r;for(;++or?"":o[d+1].toLowerCase(),2&i&&c!==u){if(Xn(i))return!1;s=!0}}}}else{if(!s&&!Xn(i)&&!Xn(l))return!1;if(s&&Xn(l))continue;s=!1,i=l|1&i}}return Xn(i)||s}function Xn(t){return!(1&t)}function bR(t,n,e,i){if(null===n)return-1;let o=0;if(i||!e){let r=!1;for(;o-1)for(e++;e0?'="'+a+'"':"")+"]"}else 8&i?o+="."+s:4&i&&(o+=" "+s);else""!==o&&!Xn(s)&&(n+=ay(r,o),o=""),i=s,r=r||!Xn(i);e++}return""!==o&&(n+=ay(r,o)),n}function ae(t){return Pi(()=>{const n=cy(t),e={...n,decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===Oc.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&t.dependencies||null,getStandaloneInjector:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||Yn.Emulated,styles:t.styles||Se,_:null,schemas:t.schemas||null,tView:null,id:""};dy(e);const i=t.dependencies;return e.directiveDefs=Nc(i,!1),e.pipeDefs=Nc(i,!0),e.id=function TR(t){let n=0;const e=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,t.consts,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery].join("|");for(const o of e)n=Math.imul(31,n)+o.charCodeAt(0)|0;return n+=2147483648,"c"+n}(e),e})}function kR(t){return _e(t)||Rt(t)}function MR(t){return null!==t}function De(t){return Pi(()=>({type:t.type,bootstrap:t.bootstrap||Se,declarations:t.declarations||Se,imports:t.imports||Se,exports:t.exports||Se,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function ly(t,n){if(null==t)return ci;const e={};for(const i in t)if(t.hasOwnProperty(i)){const o=t[i];let r,s,a=P.None;Array.isArray(o)?(a=o[0],r=o[1],s=o[2]??r):(r=o,s=o),n?(e[r]=a!==P.None?[i,a]:i,n[r]=s):e[r]=i}return e}function O(t){return Pi(()=>{const n=cy(t);return dy(n),n})}function _e(t){return t[ma]||null}function Rt(t){return t[mf]||null}function Gt(t){return t[pf]||null}function cy(t){const n={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:n,inputTransforms:null,inputConfig:t.inputs||ci,exportAs:t.exportAs||null,standalone:!0===t.standalone,signals:!0===t.signals,selectors:t.selectors||Se,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:ly(t.inputs,n),outputs:ly(t.outputs),debugInfo:null}}function dy(t){t.features?.forEach(n=>n(t))}function Nc(t,n){if(!t)return null;const e=n?Gt:kR;return()=>("function"==typeof t?t():t).map(i=>e(i)).filter(MR)}function Gr(t){return{\u0275providers:t}}function SR(...t){return{\u0275providers:Ef(0,t),\u0275fromNgModule:!0}}function Ef(t,...n){const e=[],i=new Set;let o;const r=s=>{e.push(s)};return Ur(n,s=>{const a=s;Fc(a,r,[],i)&&(o||=[],o.push(a))}),void 0!==o&&uy(o,r),e}function uy(t,n){for(let e=0;e{n(r,i)})}}function Fc(t,n,e,i){if(!(t=Q(t)))return!1;let o=null,r=Mc(t);const s=!r&&_e(t);if(r||s){if(s&&!s.standalone)return!1;o=t}else{const l=t.ngModule;if(r=Mc(l),!r)return!1;o=l}const a=i.has(o);if(s){if(a)return!1;if(i.add(o),s.dependencies){const l="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const c of l)Fc(c,n,e,i)}}else{if(!r)return!1;{if(null!=r.imports&&!a){let c;i.add(o);try{Ur(r.imports,d=>{Fc(d,n,e,i)&&(c||=[],c.push(d))})}finally{}void 0!==c&&uy(c,n)}if(!a){const c=Vo(o)||(()=>new o);n({provide:o,useFactory:c,deps:Se},o),n({provide:xf,useValue:o,multi:!0},o),n({provide:Wr,useValue:()=>I(o),multi:!0},o)}const l=r.providers;if(null!=l&&!a){const c=t;kf(l,d=>{n(d,c)})}}}return o!==t&&void 0!==t.providers}function kf(t,n){for(let e of t)ff(e)&&(e=e.\u0275providers),Array.isArray(e)?kf(e,n):n(e)}const AR=Ve({provide:String,useValue:Ve});function Mf(t){return null!==t&&"object"==typeof t&&AR in t}function Ho(t){return"function"==typeof t}const If=new R(""),Lc={},PR={};let Tf;function Vc(){return void 0===Tf&&(Tf=new Pc),Tf}class Zn{}class qr extends Zn{get destroyed(){return this._destroyed}constructor(n,e,i,o){super(),this.parent=e,this.source=i,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Af(n,s=>this.processProvider(s)),this.records.set(ty,Yr(void 0,this)),o.has("environment")&&this.records.set(Zn,Yr(void 0,this));const r=this.records.get(If);null!=r&&"string"==typeof r.value&&this.scopes.add(r.value),this.injectorDefTypes=new Set(this.get(xf,Se,ye.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;const n=ge(null);try{for(const i of this._ngOnDestroyHooks)i.ngOnDestroy();const e=this._onDestroyHooks;this._onDestroyHooks=[];for(const i of e)i()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),ge(n)}}onDestroy(n){return this.assertNotDestroyed(),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){this.assertNotDestroyed();const e=oo(this),i=_n(void 0);try{return n()}finally{oo(e),_n(i)}}get(n,e=ga,i=ye.Default){if(this.assertNotDestroyed(),n.hasOwnProperty(qv))return n[qv](this);i=Sc(i);const r=oo(this),s=_n(void 0);try{if(!(i&ye.SkipSelf)){let l=this.records.get(n);if(void 0===l){const c=function VR(t){return"function"==typeof t||"object"==typeof t&&t instanceof R}(n)&&kc(n);l=c&&this.injectableDefInScope(c)?Yr(Sf(n),Lc):null,this.records.set(n,l)}if(null!=l)return this.hydrate(n,l)}return(i&ye.Self?Vc():this.parent).get(n,e=i&ye.Optional&&e===ga?null:e)}catch(a){if("NullInjectorError"===a.name){if((a[Tc]=a[Tc]||[]).unshift(At(n)),r)throw a;return function lR(t,n,e,i){const o=t[Tc];throw n[Zv]&&o.unshift(n[Zv]),t.message=function cR(t,n,e,i=null){t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.slice(2):t;let o=At(n);if(Array.isArray(n))o=n.map(At).join(" -> ");else if("object"==typeof n){let r=[];for(let s in n)if(n.hasOwnProperty(s)){let a=n[s];r.push(s+":"+("string"==typeof a?JSON.stringify(a):At(a)))}o=`{${r.join(", ")}}`}return`${e}${i?"("+i+")":""}[${o}]: ${t.replace(iR,"\n ")}`}("\n"+t.message,o,e,i),t.ngTokenPath=o,t[Tc]=null,t}(a,n,"R3InjectorError",this.source)}throw a}finally{_n(s),oo(r)}}resolveInjectorInitializers(){const n=ge(null),e=oo(this),i=_n(void 0);try{const r=this.get(Wr,Se,ye.Self);for(const s of r)s()}finally{oo(e),_n(i),ge(n)}}toString(){const n=[],e=this.records;for(const i of e.keys())n.push(At(i));return`R3Injector[${n.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new S(205,!1)}processProvider(n){let e=Ho(n=Q(n))?n:Q(n&&n.provide);const i=function NR(t){return Mf(t)?Yr(void 0,t.useValue):Yr(my(t),Lc)}(n);if(!Ho(n)&&!0===n.multi){let o=this.records.get(e);o||(o=Yr(void 0,Lc,!0),o.factory=()=>vf(o.multi),this.records.set(e,o)),e=n,o.multi.push(n)}this.records.set(e,i)}hydrate(n,e){const i=ge(null);try{return e.value===Lc&&(e.value=PR,e.value=e.factory()),"object"==typeof e.value&&e.value&&function LR(t){return null!==t&&"object"==typeof t&&"function"==typeof t.ngOnDestroy}(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value}finally{ge(i)}}injectableDefInScope(n){if(!n.providedIn)return!1;const e=Q(n.providedIn);return"string"==typeof e?"any"===e||this.scopes.has(e):this.injectorDefTypes.has(e)}removeOnDestroy(n){const e=this._onDestroyHooks.indexOf(n);-1!==e&&this._onDestroyHooks.splice(e,1)}}function Sf(t){const n=kc(t),e=null!==n?n.factory:Vo(t);if(null!==e)return e;if(t instanceof R)throw new S(204,!1);if(t instanceof Function)return function OR(t){if(t.length>0)throw new S(204,!1);const e=function Z1(t){return t&&(t[Ic]||t[$v])||null}(t);return null!==e?()=>e.factory(t):()=>new t}(t);throw new S(204,!1)}function my(t,n,e){let i;if(Ho(t)){const o=Q(t);return Vo(o)||Sf(o)}if(Mf(t))i=()=>Q(t.useValue);else if(function fy(t){return!(!t||!t.useFactory)}(t))i=()=>t.useFactory(...vf(t.deps||[]));else if(function hy(t){return!(!t||!t.useExisting)}(t))i=()=>I(Q(t.useExisting));else{const o=Q(t&&(t.useClass||t.provide));if(!function FR(t){return!!t.deps}(t))return Vo(o)||Sf(o);i=()=>new o(...vf(t.deps))}return i}function Yr(t,n,e=!1){return{factory:t,value:n,multi:e?[]:void 0}}function Af(t,n){for(const e of t)Array.isArray(e)?Af(e,n):e&&ff(e)?Af(e.\u0275providers,n):n(e)}function py(){return void 0!==Yv()||null!=function rR(){return zr}()}const st=0,L=1,q=2,bt=3,Kn=4,Jt=5,Tn=6,Zr=7,Ye=8,kt=9,Qn=10,ne=11,wa=12,_y=13,Kr=14,ut=15,xa=16,Qr=17,Ni=18,Ca=19,by=20,ro=21,jc=22,jo=23,de=25,Of=1,di=7,Jr=9,vt=10;var Nf=function(t){return t[t.None=0]="None",t[t.HasTransplantedViews=2]="HasTransplantedViews",t}(Nf||{});function en(t){return Array.isArray(t)&&"object"==typeof t[Of]}function tn(t){return Array.isArray(t)&&!0===t[Of]}function Ff(t){return!!(4&t.flags)}function zo(t){return t.componentOffset>-1}function Uc(t){return!(1&~t.flags)}function Jn(t){return!!t.template}function Lf(t){return!!(512&t[q])}class KR{constructor(n,e,i){this.previousValue=n,this.currentValue=e,this.firstChange=i}isFirstChange(){return this.firstChange}}function xy(t,n,e,i){null!==n?n.applyValueToInputSignal(n,i):t[e]=i}function Ht(){return Cy}function Cy(t){return t.type.prototype.ngOnChanges&&(t.setInput=JR),QR}function QR(){const t=Ey(this),n=t?.current;if(n){const e=t.previous;if(e===ci)t.previous=n;else for(let i in n)e[i]=n[i];t.current=null,this.ngOnChanges(n)}}function JR(t,n,e,i,o){const r=this.declaredInputs[i],s=Ey(t)||function eP(t,n){return t[Dy]=n}(t,{previous:ci,current:null}),a=s.current||(s.current={}),l=s.previous,c=l[r];a[r]=new KR(c&&c.currentValue,e,l===ci),xy(t,n,o,e)}Ht.ngInherit=!0;const Dy="__ngSimpleChanges__";function Ey(t){return t[Dy]||null}const ui=function(t,n,e){},ky="svg";let Iy=!1;function $e(t){for(;Array.isArray(t);)t=t[st];return t}function Ea(t,n){return $e(n[t])}function dn(t,n){return $e(n[t.index])}function ka(t,n){return t.data[n]}function Sn(t,n){const e=n[t];return en(e)?e:e[st]}function zf(t){return!(128&~t[q])}function hi(t,n){return null==n?null:t[n]}function Ty(t){t[Qr]=0}function sP(t){1024&t[q]||(t[q]|=1024,zf(t)&&Ma(t))}function Uf(t){return!!(9216&t[q]||t[jo]?.dirty)}function $f(t){t[Qn].changeDetectionScheduler?.notify(1),Uf(t)?Ma(t):64&t[q]&&(function nP(){return Iy}()?(t[q]|=1024,Ma(t)):t[Qn].changeDetectionScheduler?.notify())}function Ma(t){t[Qn].changeDetectionScheduler?.notify();let n=Uo(t);for(;null!==n&&!(8192&n[q])&&(n[q]|=8192,zf(n));)n=Uo(n)}function $c(t,n){if(!(256&~t[q]))throw new S(911,!1);null===t[ro]&&(t[ro]=[]),t[ro].push(n)}function Uo(t){const n=t[bt];return tn(n)?n[bt]:n}const ie={lFrame:By(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Ry(){return ie.bindingsEnabled}function ts(){return null!==ie.skipHydrationRootTNode}function T(){return ie.lFrame.lView}function be(){return ie.lFrame.tView}function k(t){return ie.lFrame.contextLView=t,t[Ye]}function M(t){return ie.lFrame.contextLView=null,t}function Be(){let t=Py();for(;null!==t&&64===t.type;)t=t.parent;return t}function Py(){return ie.lFrame.currentTNode}function fi(t,n){const e=ie.lFrame;e.currentTNode=t,e.isParent=n}function Gf(){return ie.lFrame.isParent}function qf(){ie.lFrame.isParent=!1}function un(){const t=ie.lFrame;let n=t.bindingRootIndex;return-1===n&&(n=t.bindingRootIndex=t.tView.bindingStartIndex),n}function ei(){return ie.lFrame.bindingIndex++}function Li(t){const n=ie.lFrame,e=n.bindingIndex;return n.bindingIndex=n.bindingIndex+t,e}function _P(t,n){const e=ie.lFrame;e.bindingIndex=e.bindingRootIndex=t,Yf(n)}function Yf(t){ie.lFrame.currentDirectiveIndex=t}function Xf(t){const n=ie.lFrame.currentDirectiveIndex;return-1===n?null:t[n]}function Zf(){return ie.lFrame.currentQueryIndex}function Wc(t){ie.lFrame.currentQueryIndex=t}function vP(t){const n=t[L];return 2===n.type?n.declTNode:1===n.type?t[Jt]:null}function Ly(t,n,e){if(e&ye.SkipSelf){let o=n,r=t;for(;!(o=o.parent,null!==o||e&ye.Host||(o=vP(r),null===o||(r=r[Kr],10&o.type))););if(null===o)return!1;n=o,t=r}const i=ie.lFrame=Vy();return i.currentTNode=n,i.lView=t,!0}function Kf(t){const n=Vy(),e=t[L];ie.lFrame=n,n.currentTNode=e.firstChild,n.lView=t,n.tView=e,n.contextLView=t,n.bindingIndex=e.bindingStartIndex,n.inI18n=!1}function Vy(){const t=ie.lFrame,n=null===t?null:t.child;return null===n?By(t):n}function By(t){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:t,child:null,inI18n:!1};return null!==t&&(t.child=n),n}function Hy(){const t=ie.lFrame;return ie.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const jy=Hy;function Qf(){const t=Hy();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function nn(){return ie.lFrame.selectedIndex}function $o(t){ie.lFrame.selectedIndex=t}function Xe(){const t=ie.lFrame;return ka(t.tView,t.selectedIndex)}function jt(){ie.lFrame.currentNamespace=ky}function Jf(){!function xP(){ie.lFrame.currentNamespace=null}()}let Uy=!0;function Ta(){return Uy}function mi(t){Uy=t}function Gc(t,n){for(let e=n.directiveStart,i=n.directiveEnd;e=i)break}else n[l]<0&&(t[Qr]+=65536),(a>14>16&&(3&t[q])===n&&(t[q]+=16384,Wy(a,r)):Wy(a,r)}const ns=-1;class Sa{constructor(n,e,i){this.factory=n,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=i}}function nm(t){return t!==ns}function Aa(t){return 32767&t}function Ra(t,n){let e=function TP(t){return t>>16}(t),i=n;for(;e>0;)i=i[Kr],e--;return i}let im=!0;function Xc(t){const n=im;return im=t,n}const Gy=255,qy=5;let SP=0;const pi={};function Zc(t,n){const e=Yy(t,n);if(-1!==e)return e;const i=n[L];i.firstCreatePass&&(t.injectorIndex=n.length,om(i.data,t),om(n,null),om(i.blueprint,null));const o=Kc(t,n),r=t.injectorIndex;if(nm(o)){const s=Aa(o),a=Ra(o,n),l=a[L].data;for(let c=0;c<8;c++)n[r+c]=a[s+c]|l[s+c]}return n[r+8]=o,r}function om(t,n){t.push(0,0,0,0,0,0,0,0,n)}function Yy(t,n){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===n[t.injectorIndex+8]?-1:t.injectorIndex}function Kc(t,n){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let e=0,i=null,o=n;for(;null!==o;){if(i=tw(o),null===i)return ns;if(e++,o=o[Kr],-1!==i.injectorIndex)return i.injectorIndex|e<<16}return ns}function rm(t,n,e){!function AP(t,n,e){let i;"string"==typeof e?i=e.charCodeAt(0)||0:e.hasOwnProperty(pa)&&(i=e[pa]),null==i&&(i=e[pa]=SP++);const o=i&Gy;n.data[t+(o>>qy)]|=1<=0?n&Gy:NP:n}(e);if("function"==typeof r){if(!Ly(n,t,i))return i&ye.Host?Xy(o,0,i):Zy(n,e,i,o);try{let s;if(s=r(i),null!=s||i&ye.Optional)return s;gf()}finally{jy()}}else if("number"==typeof r){let s=null,a=Yy(t,n),l=ns,c=i&ye.Host?n[ut][Jt]:null;for((-1===a||i&ye.SkipSelf)&&(l=-1===a?Kc(t,n):n[a+8],l!==ns&&ew(i,!1)?(s=n[L],a=Aa(l),n=Ra(l,n)):a=-1);-1!==a;){const d=n[L];if(Jy(r,a,d.data)){const u=PP(a,n,e,s,i,c);if(u!==pi)return u}l=n[a+8],l!==ns&&ew(i,n[L].data[a+8]===c)&&Jy(r,a,n)?(s=d,a=Aa(l),n=Ra(l,n)):a=-1}}return o}function PP(t,n,e,i,o,r){const s=n[L],a=s.data[t+8],d=Qc(a,s,e,null==i?zo(a)&&im:i!=s&&!!(3&a.type),o&ye.Host&&r===a);return null!==d?Wo(n,s,d,a):pi}function Qc(t,n,e,i,o){const r=t.providerIndexes,s=n.data,a=1048575&r,l=t.directiveStart,d=r>>20,h=o?a+d:t.directiveEnd;for(let f=i?a:a+d;f=l&&m.type===e)return f}if(o){const f=s[l];if(f&&Jn(f)&&f.type===e)return l}return null}function Wo(t,n,e,i){let o=t[e];const r=n.data;if(function EP(t){return t instanceof Sa}(o)){const s=o;s.resolving&&function eR(t,n){throw n&&n.join(" > "),new S(-200,t)}(function Pe(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():ce(t)}(r[e]));const a=Xc(s.canSeeViewProviders);s.resolving=!0;const c=s.injectImpl?_n(s.injectImpl):null;Ly(t,i,ye.Default);try{o=t[e]=s.factory(void 0,r,t,i),n.firstCreatePass&&e>=i.directiveStart&&function CP(t,n,e){const{ngOnChanges:i,ngOnInit:o,ngDoCheck:r}=n.type.prototype;if(i){const s=Cy(n);(e.preOrderHooks??=[]).push(t,s),(e.preOrderCheckHooks??=[]).push(t,s)}o&&(e.preOrderHooks??=[]).push(0-t,o),r&&((e.preOrderHooks??=[]).push(t,r),(e.preOrderCheckHooks??=[]).push(t,r))}(e,r[e],n)}finally{null!==c&&_n(c),Xc(a),s.resolving=!1,jy()}}return o}function Jy(t,n,e){return!!(e[n+(t>>qy)]&1<{const n=t.prototype.constructor,e=n[Oi]||sm(n),i=Object.prototype;let o=Object.getPrototypeOf(t.prototype).constructor;for(;o&&o!==i;){const r=o[Oi]||sm(o);if(r&&r!==e)return r;o=Object.getPrototypeOf(o)}return r=>new r})}function sm(t){return Ec(t)?()=>{const n=sm(Q(t));return n&&n()}:Vo(t)}function tw(t){const n=t[L],e=n.type;return 2===e?n.declTNode:1===e?t[Jt]:null}function Go(t){return function RP(t,n){if("class"===n)return t.classes;if("style"===n)return t.styles;const e=t.attrs;if(e){const i=e.length;let o=0;for(;o{class t{static#e=this.THROW_IF_NOT_FOUND=ga;static#t=this.NULL=new Pc;static create(e,i){if(Array.isArray(e))return sw({name:""},i,e,"");{const o=e.name??"";return sw({name:o},e.parent,e.providers,o)}}static#n=this.\u0275prov=V({token:t,providedIn:"any",factory:()=>I(ty)});static#i=this.__NG_ELEMENT_ID__=-1}return t})();function lm(t){return t.ngOriginalError}class An{constructor(){this._console=console}handleError(n){const e=this._findOriginalError(n);this._console.error("ERROR",n),e&&this._console.error("ORIGINAL ERROR",e)}_findOriginalError(n){let e=n&&lm(n);for(;e&&lm(e);)e=lm(e);return e||null}}const cw=new R("",{providedIn:"root",factory:()=>F(An).handleError.bind(void 0)});let rs=(()=>{class t{static#e=this.__NG_ELEMENT_ID__=WP;static#t=this.__NG_ENV_ID__=e=>e}return t})();class $P extends rs{constructor(n){super(),this._lView=n}onDestroy(n){return $c(this._lView,n),()=>function Wf(t,n){if(null===t[ro])return;const e=t[ro].indexOf(n);-1!==e&&t[ro].splice(e,1)}(this._lView,n)}}function WP(){return new $P(T())}function GP(){return ss(Be(),T())}function ss(t,n){return new Y(dn(t,n))}let Y=(()=>{class t{constructor(e){this.nativeElement=e}static#e=this.__NG_ELEMENT_ID__=GP}return t})();function uw(t){return t instanceof Y?t.nativeElement:t}function cm(t){return n=>{setTimeout(t,void 0,n)}}const J=class qP extends G{constructor(n=!1){super(),this.destroyRef=void 0,this.__isAsync=n,py()&&(this.destroyRef=F(rs,{optional:!0})??void 0)}emit(n){const e=ge(null);try{super.next(n)}finally{ge(e)}}subscribe(n,e,i){let o=n,r=e||(()=>null),s=i;if(n&&"object"==typeof n){const l=n;o=l.next?.bind(l),r=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(r=cm(r),o&&(o=cm(o)),s&&(s=cm(s)));const a=super.subscribe({next:o,error:r,complete:s});return n instanceof dt&&n.add(a),a}};function YP(){return this._results[Symbol.iterator]()}class as{static#e=Symbol.iterator;get changes(){return this._changes??=new J}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 e=as.prototype;e[Symbol.iterator]||(e[Symbol.iterator]=YP)}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,e){return this._results.reduce(n,e)}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,e){this.dirty=!1;const i=function bn(t){return t.flat(Number.POSITIVE_INFINITY)}(n);(this._changesDetected=!function fR(t,n,e){if(t.length!==n.length)return!1;for(let i=0;igO}),gO="ng",Aw=new R(""),gi=new R("",{providedIn:"platform",factory:()=>"unknown"}),wn=new R(""),mm=new R("",{providedIn:"root",factory:()=>function so(){if(void 0!==fm)return fm;if(typeof document<"u")return document;throw new S(210,!1)}().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let Rw=()=>null;function xm(t,n,e=!1){return Rw(t,n,e)}const Lw=new R("",{providedIn:"root",factory:()=>!1});let cd;function ds(t){return function km(){if(void 0===cd&&(cd=null,Fe.trustedTypes))try{cd=Fe.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return cd}()?.createHTML(t)||t}class qo{constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Bv})`}}class SO extends qo{getTypeName(){return"HTML"}}class AO extends qo{getTypeName(){return"Style"}}class RO extends qo{getTypeName(){return"Script"}}class PO extends qo{getTypeName(){return"URL"}}class OO extends qo{getTypeName(){return"ResourceURL"}}function Rn(t){return t instanceof qo?t.changingThisBreaksApplicationSecurity:t}function _i(t,n){const e=function NO(t){return t instanceof qo&&t.getTypeName()||null}(t);if(null!=e&&e!==n){if("ResourceURL"===e&&"URL"===n)return!0;throw new Error(`Required a safe ${n}, got a ${e} (see ${Bv})`)}return e===n}class jO{constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n=""+n;try{const e=(new window.DOMParser).parseFromString(ds(n),"text/html").body;return null===e?this.inertDocumentHelper.getInertBodyElement(n):(e.removeChild(e.firstChild),e)}catch{return null}}}class zO{constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){const e=this.inertDocument.createElement("template");return e.innerHTML=ds(n),e}}const $O=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function ud(t){return(t=String(t)).match($O)?t:"unsafe:"+t}function Vi(t){const n={};for(const e of t.split(","))n[e]=!0;return n}function Ha(...t){const n={};for(const e of t)for(const i in e)e.hasOwnProperty(i)&&(n[i]=!0);return n}const Uw=Vi("area,br,col,hr,img,wbr"),$w=Vi("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Ww=Vi("rp,rt"),Im=Ha(Uw,Ha($w,Vi("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")),Ha(Ww,Vi("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")),Ha(Ww,$w)),Tm=Vi("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Gw=Ha(Tm,Vi("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"),Vi("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")),WO=Vi("script,style,template");class GO{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(n){let e=n.firstChild,i=!0,o=[];for(;e;)if(e.nodeType===Node.ELEMENT_NODE?i=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,i&&e.firstChild)o.push(e),e=XO(e);else for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let r=YO(e);if(r){e=r;break}e=o.pop()}return this.buf.join("")}startElement(n){const e=qw(n).toLowerCase();if(!Im.hasOwnProperty(e))return this.sanitizedSomething=!0,!WO.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);const i=n.attributes;for(let o=0;o"),!0}endElement(n){const e=qw(n).toLowerCase();Im.hasOwnProperty(e)&&!Uw.hasOwnProperty(e)&&(this.buf.push(""))}chars(n){this.buf.push(Xw(n))}}function YO(t){const n=t.nextSibling;if(n&&t!==n.previousSibling)throw Yw(n);return n}function XO(t){const n=t.firstChild;if(n&&function qO(t,n){return(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(t,n))throw Yw(n);return n}function qw(t){const n=t.nodeName;return"string"==typeof n?n:"FORM"}function Yw(t){return new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`)}const ZO=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,KO=/([^\#-~ |!])/g;function Xw(t){return t.replace(/&/g,"&").replace(ZO,function(n){return"&#"+(1024*(n.charCodeAt(0)-55296)+(n.charCodeAt(1)-56320)+65536)+";"}).replace(KO,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(//g,">")}let hd;function Zw(t,n){let e=null;try{hd=hd||function zw(t){const n=new zO(t);return function UO(){try{return!!(new window.DOMParser).parseFromString(ds(""),"text/html")}catch{return!1}}()?new jO(n):n}(t);let i=n?String(n):"";e=hd.getInertBodyElement(i);let o=5,r=i;do{if(0===o)throw new Error("Failed to sanitize html because the input is unstable");o--,i=r,r=e.innerHTML,e=hd.getInertBodyElement(i)}while(i!==r);return ds((new GO).sanitizeChildren(Sm(e)||e))}finally{if(e){const i=Sm(e)||e;for(;i.firstChild;)i.removeChild(i.firstChild)}}}function Sm(t){return"content"in t&&function QO(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var qt=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}(qt||{});function Am(t){const n=function ja(){const t=T();return t&&t[Qn].sanitizer}();return n?n.sanitize(qt.URL,t)||"":_i(t,"URL")?Rn(t):ud(ce(t))}const sN=/^>|^->||--!>|)/g,lN="\u200b$1\u200b";function tx(t){return t.ownerDocument}var ao=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(ao||{});let Nm;function Fm(t,n){return Nm(t,n)}function hs(t,n,e,i,o){if(null!=i){let r,s=!1;tn(i)?r=i:en(i)&&(s=!0,i=i[st]);const a=$e(i);0===t&&null!==e?null==o?dx(n,e,a):Yo(n,e,a,o||null,!0):1===t&&null!==e?Yo(n,e,a,o||null,!0):2===t?function $a(t,n,e){const i=_d(t,n);i&&function kN(t,n,e,i){t.removeChild(n,e,i)}(t,i,n,e)}(n,a,s):3===t&&n.destroyNode(a),null!=r&&function TN(t,n,e,i,o){const r=e[di];r!==$e(e)&&hs(n,t,i,r,o);for(let a=vt;an.replace(aN,lN))}(n))}function pd(t,n,e){return t.createElement(n,e)}function ax(t,n){n[Qn].changeDetectionScheduler?.notify(1),vd(t,n,n[ne],2,null,null)}function lx(t,n){const e=t[Jr],i=e.indexOf(n);e.splice(i,1)}function za(t,n){if(t.length<=vt)return;const e=vt+n,i=t[e];if(i){const o=i[xa];null!==o&&o!==t&&lx(o,i),n>0&&(t[e-1][Kn]=i[Kn]);const r=Ac(t,vt+n);!function vN(t,n){ax(t,n),n[st]=null,n[Jt]=null}(i[L],i);const s=r[Ni];null!==s&&s.detachView(r[L]),i[bt]=null,i[Kn]=null,i[q]&=-129}return i}function gd(t,n){if(!(256&n[q])){const e=n[ne];e.destroyNode&&vd(t,n,e,3,null,null),function wN(t){let n=t[wa];if(!n)return Bm(t[L],t);for(;n;){let e=null;if(en(n))e=n[wa];else{const i=n[vt];i&&(e=i)}if(!e){for(;n&&!n[Kn]&&n!==t;)en(n)&&Bm(n[L],n),n=n[bt];null===n&&(n=t),en(n)&&Bm(n[L],n),e=n&&n[Kn]}n=e}}(n)}}function Bm(t,n){if(256&n[q])return;const e=ge(null);try{n[q]&=-129,n[q]|=256,n[jo]&&Dv(n[jo]),function EN(t,n){let e;if(null!=t&&null!=(e=t.destroyHooks))for(let i=0;i=0?i[s]():i[-s].unsubscribe(),r+=2}else e[r].call(i[e[r+1]]);null!==i&&(n[Zr]=null);const o=n[ro];if(null!==o){n[ro]=null;for(let r=0;r-1){const{encapsulation:r}=t.data[i.directiveStart+o];if(r===Yn.None||r===Yn.Emulated)return null}return dn(i,e)}}(t,n.parent,e)}function Yo(t,n,e,i,o){t.insertBefore(n,e,i,o)}function dx(t,n,e){t.appendChild(n,e)}function ux(t,n,e,i,o){null!==i?Yo(t,n,e,i,o):dx(t,n,e)}function _d(t,n){return t.parentNode(n)}function hx(t,n,e){return mx(t,n,e)}let jm,mx=function fx(t,n,e){return 40&t.type?dn(t,e):null};function bd(t,n,e,i){const o=Hm(t,i,n),r=n[ne],a=hx(i.parent||n[Jt],i,n);if(null!=o)if(Array.isArray(e))for(let l=0;lde&&wx(t,n,de,!1),ui(s?2:0,o),e(i,o)}finally{$o(r),ui(s?3:1,o)}}function Wm(t,n,e){if(Ff(n)){const i=ge(null);try{const r=n.directiveEnd;for(let s=n.directiveStart;snull;function Mx(t,n,e,i,o){for(let r in n){if(!n.hasOwnProperty(r))continue;const s=n[r];if(void 0===s)continue;i??={};let a,l=P.None;Array.isArray(s)?(a=s[0],l=s[1]):a=s;let c=r;if(null!==o){if(!o.hasOwnProperty(r))continue;c=o[r]}0===t?Ix(i,e,c,a,l):Ix(i,e,c,a)}return i}function Ix(t,n,e,i,o){let r;t.hasOwnProperty(e)?(r=t[e]).push(n,i):r=t[e]=[n,i],void 0!==o&&r.push(o)}function xn(t,n,e,i,o,r,s,a){const l=dn(n,e);let d,c=n.inputs;!a&&null!=c&&(d=c[i])?(Jm(t,e,d,i,o),zo(n)&&function zN(t,n){const e=Sn(n,t);16&e[q]||(e[q]|=64)}(e,n.index)):3&n.type&&(i=function jN(t){return"class"===t?"className":"for"===t?"htmlFor":"formaction"===t?"formAction":"innerHtml"===t?"innerHTML":"readonly"===t?"readOnly":"tabindex"===t?"tabIndex":t}(i),o=null!=s?s(o,n.value||"",i):o,r.setProperty(l,i,o))}function Xm(t,n,e,i){if(Ry()){const o=null===i?null:{"":-1},r=function YN(t,n){const e=t.directiveRegistry;let i=null,o=null;if(e)for(let r=0;r0;){const e=t[--n];if("number"==typeof e&&e<0)return e}return 0})(s)!=a&&s.push(a),s.push(e,i,r)}}(t,n,i,Wa(t,e,o.hostVars,ue),o)}function bi(t,n,e,i,o,r){const s=dn(t,n);!function Km(t,n,e,i,o,r,s){if(null==r)t.removeAttribute(n,o,e);else{const a=null==s?ce(r):s(r,i||"",o);t.setAttribute(n,o,a,e)}}(n[ne],s,r,t.value,e,i,o)}function eF(t,n,e,i,o,r){const s=r[n];if(null!==s)for(let a=0;a0&&(e[o-1][Kn]=n),i{Ma(t.lView)},consumerOnSignalRead(){this.lView[jo]=this}},Bx=100;function Cd(t,n=!0,e=0){const i=t[Qn],o=i.rendererFactory;o.begin?.();try{!function cF(t,n){np(t,n);let e=0;for(;Uf(t);){if(e===Bx)throw new S(103,!1);e++,np(t,1)}}(t,e)}catch(s){throw n&&xd(t,s),s}finally{o.end?.(),i.inlineEffectRunner?.flush()}}function dF(t,n,e,i){const o=n[q];if(!(256&~o))return;n[Qn].inlineEffectRunner?.flush(),Kf(n);let s=null,a=null;(function uF(t){return 2!==t.type})(t)&&(a=function rF(t){return t[jo]??function sF(t){const n=Vx.pop()??Object.create(lF);return n.lView=t,n}(t)}(n),s=xv(a));try{Ty(n),function Ny(t){return ie.lFrame.bindingIndex=t}(t.bindingStartIndex),null!==e&&Dx(t,n,e,2,i);const l=!(3&~o);if(l){const u=t.preOrderCheckHooks;null!==u&&qc(n,u,null)}else{const u=t.preOrderHooks;null!==u&&Yc(n,u,0,null),em(n,0)}if(function hF(t){for(let n=ww(t);null!==n;n=xw(n)){if(!(n[q]&Nf.HasTransplantedViews))continue;const e=n[Jr];for(let i=0;i-1&&(za(n,i),Ac(e,i))}this._attachedToViewContainer=!1}gd(this._lView[L],this._lView)}onDestroy(n){$c(this._lView,n)}markForCheck(){Xa(this._cdRefInjectingView||this._lView)}detach(){this._lView[q]&=-129}reattach(){$f(this._lView),this._lView[q]|=128}detectChanges(){this._lView[q]|=1024,Cd(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new S(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,ax(this._lView[L],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new S(902,!1);this._appRef=n,$f(this._lView)}}let yt=(()=>{class t{static#e=this.__NG_ELEMENT_ID__=gF}return t})();const mF=yt,pF=class extends mF{constructor(n,e,i){super(),this._declarationLView=n,this._declarationTContainer=e,this.elementRef=i}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,e){return this.createEmbeddedViewImpl(n,e)}createEmbeddedViewImpl(n,e,i){const o=Ga(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:e,dehydratedView:i});return new Za(o)}};function gF(){return Dd(Be(),T())}function Dd(t,n){return 4&t.type?new pF(n,t,ss(t,n)):null}let Yx=()=>null;function ps(t,n){return Yx(t,n)}class Td{}class HF{}class Xx{}class zF{resolveComponentFactory(n){throw function jF(t){const n=Error(`No component factory found for ${At(t)}.`);return n.ngComponent=t,n}(n)}}let Xo=(()=>{class t{static#e=this.NULL=new zF}return t})();class lp{}let Zo=(()=>{class t{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function UF(){const t=T(),e=Sn(Be().index,t);return(en(e)?e:t)[ne]}()}return t})(),$F=(()=>{class t{static#e=this.\u0275prov=V({token:t,providedIn:"root",factory:()=>null})}return t})();const cp={},Kx=new Set;function vi(t){Kx.has(t)||(Kx.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}function Qx(...t){}class j{constructor({enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:e=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new J(!1),this.onMicrotaskEmpty=new J(!1),this.onStable=new J(!1),this.onError=new J(!1),typeof Zone>"u")throw new S(908,!1);Zone.assertZonePatched();const o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!i&&e,o.shouldCoalesceRunChangeDetection=i,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function WF(){const t="function"==typeof Fe.requestAnimationFrame;let n=Fe[t?"requestAnimationFrame":"setTimeout"],e=Fe[t?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&n&&e){const i=n[Zone.__symbol__("OriginalDelegate")];i&&(n=i);const o=e[Zone.__symbol__("OriginalDelegate")];o&&(e=o)}return{nativeRequestAnimationFrame:n,nativeCancelAnimationFrame:e}}().nativeRequestAnimationFrame,function YF(t){const n=()=>{!function qF(t){t.isCheckStableRunning||-1!==t.lastRequestAnimationFrameId||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(Fe,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,up(t),t.isCheckStableRunning=!0,dp(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),up(t))}(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(e,i,o,r,s,a)=>{if(function XF(t){return!(!Array.isArray(t)||1!==t.length)&&!0===t[0].data?.__ignore_ng_zone__}(a))return e.invokeTask(o,r,s,a);try{return Jx(t),e.invokeTask(o,r,s,a)}finally{(t.shouldCoalesceEventChangeDetection&&"eventTask"===r.type||t.shouldCoalesceRunChangeDetection)&&n(),e0(t)}},onInvoke:(e,i,o,r,s,a,l)=>{try{return Jx(t),e.invoke(o,r,s,a,l)}finally{t.shouldCoalesceRunChangeDetection&&n(),e0(t)}},onHasTask:(e,i,o,r)=>{e.hasTask(o,r),i===o&&("microTask"==r.change?(t._hasPendingMicrotasks=r.microTask,up(t),dp(t)):"macroTask"==r.change&&(t.hasPendingMacrotasks=r.macroTask))},onHandleError:(e,i,o,r)=>(e.handleError(o,r),t.runOutsideAngular(()=>t.onError.emit(r)),!1)})}(o)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!j.isInAngularZone())throw new S(909,!1)}static assertNotInAngularZone(){if(j.isInAngularZone())throw new S(909,!1)}run(n,e,i){return this._inner.run(n,e,i)}runTask(n,e,i,o){const r=this._inner,s=r.scheduleEventTask("NgZoneEvent: "+o,n,GF,Qx,Qx);try{return r.runTask(s,e,i)}finally{r.cancelTask(s)}}runGuarded(n,e,i){return this._inner.runGuarded(n,e,i)}runOutsideAngular(n){return this._outer.run(n)}}const GF={};function dp(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function up(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&-1!==t.lastRequestAnimationFrameId)}function Jx(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function e0(t){t._nesting--,dp(t)}class t0{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new J,this.onMicrotaskEmpty=new J,this.onStable=new J,this.onError=new J}run(n,e,i){return n.apply(e,i)}runGuarded(n,e,i){return n.apply(e,i)}runOutsideAngular(n){return n()}runTask(n,e,i,o){return n.apply(e,i)}}let tl=(()=>{class t{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){const e=[...this.internalCallbacks];this.internalCallbacks.length=0;for(const i of e)i()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}static#e=this.\u0275prov=V({token:t,providedIn:"root",factory:()=>new t})}return t})();function Ad(t,n,e){let i=e?t.styles:null,o=e?t.classes:null,r=0;if(null!==n)for(let s=0;s0&&vx(t,e,r.join(" "))}}(f,pe,_,i),void 0!==e&&function c2(t,n,e){const i=t.projection=[];for(let o=0;o{class t{static#e=this.__NG_ELEMENT_ID__=u2}return t})();function u2(){return h0(Be(),T())}const h2=Nt,d0=class extends h2{constructor(n,e,i){super(),this._lContainer=n,this._hostTNode=e,this._hostLView=i}get element(){return ss(this._hostTNode,this._hostLView)}get injector(){return new Ot(this._hostTNode,this._hostLView)}get parentInjector(){const n=Kc(this._hostTNode,this._hostLView);if(nm(n)){const e=Ra(n,this._hostLView),i=Aa(n);return new Ot(e[L].data[i+8],e)}return new Ot(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){const e=u0(this._lContainer);return null!==e&&e[n]||null}get length(){return this._lContainer.length-vt}createEmbeddedView(n,e,i){let o,r;"number"==typeof i?o=i:null!=i&&(o=i.index,r=i.injector);const s=ps(this._lContainer,n.ssrId),a=n.createEmbeddedViewImpl(e||{},r,s);return this.insertImpl(a,o,ms(this._hostTNode,s)),a}createComponent(n,e,i,o,r){const s=n&&!function ya(t){return"function"==typeof t}(n);let a;if(s)a=e;else{const m=e||{};a=m.index,i=m.injector,o=m.projectableNodes,r=m.environmentInjector||m.ngModuleRef}const l=s?n:new ol(_e(n)),c=i||this.parentInjector;if(!r&&null==l.ngModule){const _=(s?c:this.parentInjector).get(Zn,null);_&&(r=_)}const d=_e(l.componentType??{}),u=ps(this._lContainer,d?.id??null),f=l.create(c,o,u?.firstChild??null,r);return this.insertImpl(f.hostView,a,ms(this._hostTNode,u)),f}insert(n,e){return this.insertImpl(n,e,!0)}insertImpl(n,e,i){const o=n._lView;if(function rP(t){return tn(t[bt])}(o)){const a=this.indexOf(n);if(-1!==a)this.detach(a);else{const l=o[bt],c=new d0(l,l[Jt],l[bt]);c.detach(c.indexOf(n))}}const r=this._adjustIndex(e),s=this._lContainer;return qa(s,o,r,i),n.attachToViewContainerRef(),Qv(pp(s),r,n),n}move(n,e){return this.insert(n,e)}indexOf(n){const e=u0(this._lContainer);return null!==e?e.indexOf(n):-1}remove(n){const e=this._adjustIndex(n,-1),i=za(this._lContainer,e);i&&(Ac(pp(this._lContainer),e),gd(i[L],i))}detach(n){const e=this._adjustIndex(n,-1),i=za(this._lContainer,e);return i&&null!=Ac(pp(this._lContainer),e)?new Za(i):null}_adjustIndex(n,e=0){return n??this.length+e}};function u0(t){return t[8]}function pp(t){return t[8]||(t[8]=[])}function h0(t,n){let e;const i=n[t.index];return tn(i)?e=i:(e=Ax(i,n,null,t),n[t.index]=e,wd(n,e)),f0(e,n,t,i),new d0(e,t,n)}let f0=function p0(t,n,e,i){if(t[di])return;let o;o=8&e.type?$e(i):function f2(t,n){const e=t[ne],i=e.createComment(""),o=dn(n,t);return Yo(e,_d(e,o),i,function MN(t,n){return t.nextSibling(n)}(e,o),!1),i}(n,e),t[di]=o},gp=()=>!1;class _p{constructor(n){this.queryList=n,this.matches=null}clone(){return new _p(this.queryList)}setDirty(){this.queryList.setDirty()}}class bp{constructor(n=[]){this.queries=n}createEmbeddedView(n){const e=n.queries;if(null!==e){const i=null!==n.contentQueries?n.contentQueries[0]:e.length,o=[];for(let r=0;rn.trim())}(n):n}}class vp{constructor(n=[]){this.queries=n}elementStart(n,e){for(let i=0;i0)i.push(s[a/2]);else{const c=r[a+1],d=n[-l];for(let u=vt;u(Yh(n),n.value);return e[li]=n,e}(t),i=e[li];return n?.equal&&(i.equal=n.equal),e.set=o=>Tv(i,o),e.update=o=>function I1(t,n){yv()||Iv(),Tv(t,n(t.value))}(i,o),e.asReadonly=D0.bind(e),e}function D0(){const t=this[li];if(void 0===t.readonlyFn){const n=()=>this();n[li]=t,t.readonlyFn=n}return t.readonlyFn}function E0(t){return Pd(t)&&"function"==typeof t.set}function z(t){let n=function F0(t){return Object.getPrototypeOf(t.prototype).constructor}(t.type),e=!0;const i=[t];for(;n;){let o;if(Jn(t))o=n.\u0275cmp||n.\u0275dir;else{if(n.\u0275cmp)throw new S(903,!1);o=n.\u0275dir}if(o){if(e){i.push(o);const s=t;s.inputs=Nd(t.inputs),s.inputTransforms=Nd(t.inputTransforms),s.declaredInputs=Nd(t.declaredInputs),s.outputs=Nd(t.outputs);const a=o.hostBindings;a&&F2(t,a);const l=o.viewQuery,c=o.contentQueries;if(l&&O2(t,l),c&&N2(t,c),R2(t,o),W1(t.outputs,o.outputs),Jn(o)&&o.data.animation){const d=t.data;d.animation=(d.animation||[]).concat(o.data.animation)}}const r=o.features;if(r)for(let s=0;s=0;i--){const o=t[i];o.hostVars=n+=o.hostVars,o.hostAttrs=va(o.hostAttrs,e=va(e,o.hostAttrs))}}(i)}function R2(t,n){for(const e in n.inputs){if(!n.inputs.hasOwnProperty(e)||t.inputs.hasOwnProperty(e))continue;const i=n.inputs[e];if(void 0!==i&&(t.inputs[e]=i,t.declaredInputs[e]=n.declaredInputs[e],null!==n.inputTransforms)){const o=Array.isArray(i)?i[0]:i;if(!n.inputTransforms.hasOwnProperty(o))continue;t.inputTransforms??={},t.inputTransforms[o]=n.inputTransforms[o]}}}function Nd(t){return t===ci?{}:t===Se?[]:t}function O2(t,n){const e=t.viewQuery;t.viewQuery=e?(i,o)=>{n(i,o),e(i,o)}:n}function N2(t,n){const e=t.contentQueries;t.contentQueries=e?(i,o,r)=>{n(i,o,r),e(i,o,r)}:n}function F2(t,n){const e=t.hostBindings;t.hostBindings=e?(i,o)=>{n(i,o),e(i,o)}:n}function rn(t){const n=t.inputConfig,e={};for(const i in n)if(n.hasOwnProperty(i)){const o=n[i];Array.isArray(o)&&o[3]&&(e[i]=o[3])}t.inputTransforms=e}class Jo{}class z2{}class Ep extends Jo{constructor(n,e,i){super(),this._parent=e,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new l0(this);const o=function Qt(t,n){const e=t[Gv]||null;if(!e&&!0===n)throw new Error(`Type ${At(t)} does not have '\u0275mod' property.`);return e}(n);this._bootstrapComponents=function Pn(t){return t instanceof Function?t():t}(o.bootstrap),this._r3Injector=aw(n,e,[{provide:Jo,useValue:this},{provide:Xo,useValue:this.componentFactoryResolver},...i],At(n),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(n)}get injector(){return this._r3Injector}destroy(){const n=this._r3Injector;!n.destroyed&&n.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(n){this.destroyCbs.push(n)}}class kp extends z2{constructor(n){super(),this.moduleType=n}create(n){return new Ep(this.moduleType,n,[])}}class H0 extends Jo{constructor(n){super(),this.componentFactoryResolver=new l0(this),this.instance=null;const e=new qr([...n.providers,{provide:Jo,useValue:this},{provide:Xo,useValue:this.componentFactoryResolver}],n.parent||Vc(),n.debugName,new Set(["environment"]));this.injector=e,n.runEnvironmentInitializers&&e.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}}let er=(()=>{class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Fr(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const e=this.taskId++;return this.pendingTasks.add(e),e}remove(e){this.pendingTasks.delete(e),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||t)};static#t=this.\u0275prov=V({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Ld(t){return!!Mp(t)&&(Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t)}function Mp(t){return null!==t&&("function"==typeof t||"object"==typeof t)}function yi(t,n,e){return t[n]=e}function wt(t,n,e){return!Object.is(t[n],e)&&(t[n]=e,!0)}function tr(t,n,e,i){const o=wt(t,n,e);return wt(t,n+1,i)||o}function B(t,n,e,i,o,r,s,a){const l=T(),c=be(),d=t+de,u=c.firstCreatePass?function Z2(t,n,e,i,o,r,s,a,l){const c=n.consts,d=fs(n,t,4,s||null,hi(c,a));Xm(n,e,d,hi(c,l)),Gc(n,d);const u=d.tView=Ym(2,d,i,o,r,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,e,i,o,r,s):c.data[d];fi(u,!1);const h=z0(c,l,u,t);Ta()&&bd(c,l,h,u),on(h,l);const f=Ax(h,l,h,u);return l[d]=f,wd(l,f),function m0(t,n,e){return gp(t,n,e)}(f,u,l),Uc(u)&&Gm(c,l,u),null!=s&&qm(l,u,a),B}let z0=function U0(t,n,e,i){return mi(!0),n[ne].createComment("")};function W(t,n,e,i){const o=T();return wt(o,ei(),n)&&(be(),bi(Xe(),o,t,n,e,i)),W}function Ds(t,n,e,i){return wt(t,ei(),e)?n+ce(e)+i:ue}function Es(t,n,e,i,o,r){const a=tr(t,function Fi(){return ie.lFrame.bindingIndex}(),e,o);return Li(2),a?n+ce(e)+i+ce(o)+r:ue}function $d(t,n){return t<<17|n<<2}function uo(t){return t>>17&32767}function Lp(t){return 2|t}function ir(t){return(131068&t)>>2}function Vp(t,n){return-131069&t|n<<2}function Bp(t){return 1|t}function yC(t,n,e,i){const o=t[e+1],r=null===n;let s=i?uo(o):ir(o),a=!1;for(;0!==s&&(!1===a||r);){const c=t[s+1];FL(t[s],n)&&(a=!0,t[s+1]=i?Bp(c):Lp(c)),s=i?uo(c):ir(c)}a&&(t[e+1]=i?Lp(o):Bp(o))}function FL(t,n){return null===t||null==n||(Array.isArray(t)?t[1]:t)===n||!(!Array.isArray(t)||"string"!=typeof n)&&$r(t,n)>=0}const Ft={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function wC(t){return t.substring(Ft.key,Ft.keyEnd)}function xC(t,n){const e=Ft.textEnd;return e===n?-1:(n=Ft.keyEnd=function HL(t,n,e){for(;n32;)n++;return n}(t,Ft.key=n,e),Rs(t,n,e))}function Rs(t,n,e){for(;n=0;e=xC(n,e))In(t,wC(n),!0)}function ni(t,n,e,i){const o=T(),r=be(),s=Li(2);r.firstUpdatePass&&IC(r,t,s,i),n!==ue&&wt(o,s,n)&&SC(r,r.data[nn()],o,o[ne],t,o[s+1]=function KL(t,n){return null==t||""===t||("string"==typeof n?t+=n:"object"==typeof t&&(t=At(Rn(t)))),t}(n,e),i,s)}function MC(t,n){return n>=t.expandoStartIndex}function IC(t,n,e,i){const o=t.data;if(null===o[e+1]){const r=o[nn()],s=MC(t,e);RC(r,i)&&null===n&&!s&&(n=!1),n=function $L(t,n,e,i){const o=Xf(t);let r=i?n.residualClasses:n.residualStyles;if(null===o)0===(i?n.classBindings:n.styleBindings)&&(e=ul(e=jp(null,t,n,e,i),n.attrs,i),r=null);else{const s=n.directiveStylingLast;if(-1===s||t[s]!==o)if(e=jp(o,t,n,e,i),null===r){let l=function WL(t,n,e){const i=e?n.classBindings:n.styleBindings;if(0!==ir(i))return t[uo(i)]}(t,n,i);void 0!==l&&Array.isArray(l)&&(l=jp(null,t,n,l[1],i),l=ul(l,n.attrs,i),function GL(t,n,e,i){t[uo(e?n.classBindings:n.styleBindings)]=i}(t,n,i,l))}else r=function qL(t,n,e){let i;const o=n.directiveEnd;for(let r=1+n.directiveStylingLast;r0)&&(c=!0)):d=e,o)if(0!==l){const h=uo(t[a+1]);t[i+1]=$d(h,a),0!==h&&(t[h+1]=Vp(t[h+1],i)),t[a+1]=function RL(t,n){return 131071&t|n<<17}(t[a+1],i)}else t[i+1]=$d(a,0),0!==a&&(t[a+1]=Vp(t[a+1],i)),a=i;else t[i+1]=$d(l,0),0===a?a=i:t[l+1]=Vp(t[l+1],i),l=i;c&&(t[i+1]=Lp(t[i+1])),yC(t,d,i,!0),yC(t,d,i,!1),function NL(t,n,e,i,o){const r=o?t.residualClasses:t.residualStyles;null!=r&&"string"==typeof n&&$r(r,n)>=0&&(e[i+1]=Bp(e[i+1]))}(n,d,t,i,r),s=$d(a,l),r?n.classBindings=s:n.styleBindings=s}(o,r,n,e,s,i)}}function jp(t,n,e,i,o){let r=null;const s=e.directiveEnd;let a=e.directiveStylingLast;for(-1===a?a=e.directiveStart:a++;a0;){const l=t[o],c=Array.isArray(l),d=c?l[1]:l,u=null===d;let h=e[o+1];h===ue&&(h=u?Se:void 0);let f=u?wf(h,i):d===i?h:void 0;if(c&&!Wd(f)&&(f=wf(l,i)),Wd(f)&&(a=f,s))return a;const m=t[o+1];o=s?uo(m):ir(m)}if(null!==n){let l=r?n.residualClasses:n.residualStyles;null!=l&&(a=wf(l,i))}return a}function Wd(t){return void 0!==t}function RC(t,n){return!!(t.flags&(n?8:16))}class lV{destroy(n){}updateValue(n,e){}swap(n,e){const i=Math.min(n,e),o=Math.max(n,e),r=this.detach(o);if(o-i>1){const s=this.detach(i);this.attach(i,r),this.attach(o,s)}else this.attach(i,r)}move(n,e){this.attach(e,this.detach(n))}}function zp(t,n,e,i,o){return t===e&&Object.is(n,i)?1:Object.is(o(t,n),o(e,i))?-1:0}function Up(t,n,e,i){return!(void 0===n||!n.has(i)||(t.attach(e,n.get(i)),n.delete(i),0))}function PC(t,n,e,i,o){if(Up(t,n,i,e(i,o)))t.updateValue(i,o);else{const r=t.create(i,o);t.attach(i,r)}}function OC(t,n,e,i){const o=new Set;for(let r=n;r<=e;r++)o.add(i(r,t.at(r)));return o}class NC{constructor(){this.kvMap=new Map,this._vMap=void 0}has(n){return this.kvMap.has(n)}delete(n){if(!this.has(n))return!1;const e=this.kvMap.get(n);return void 0!==this._vMap&&this._vMap.has(e)?(this.kvMap.set(n,this._vMap.get(e)),this._vMap.delete(e)):this.kvMap.delete(n),!0}get(n){return this.kvMap.get(n)}set(n,e){if(this.kvMap.has(n)){let i=this.kvMap.get(n);void 0===this._vMap&&(this._vMap=new Map);const o=this._vMap;for(;o.has(i);)i=o.get(i);o.set(i,e)}else this.kvMap.set(n,e)}forEach(n){for(let[e,i]of this.kvMap)if(n(i,e),void 0!==this._vMap){const o=this._vMap;for(;o.has(i);)i=o.get(i),n(i,e)}}}function tt(t,n,e){vi("NgControlFlow");const i=T(),o=ei(),r=$p(i,de+t);if(wt(i,o,n)){const a=ge(null);try{if(tp(r,0),-1!==n){const l=Wp(i[L],de+n),c=ps(r,l.tView.ssrId);qa(r,Ga(i,l,e,{dehydratedView:c}),0,ms(l,c))}}finally{ge(a)}}else{const a=Fx(r,0);void 0!==a&&(a[Ye]=e)}}class dV{constructor(n,e,i){this.lContainer=n,this.$implicit=e,this.$index=i}get $count(){return this.lContainer.length-vt}}function FC(t){return t}class hV{constructor(n,e,i){this.hasEmptyBlock=n,this.trackByFn=e,this.liveCollection=i}}class fV extends lV{constructor(n,e,i){super(),this.lContainer=n,this.hostLView=e,this.templateTNode=i,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-vt}at(n){return this.getLView(n)[Ye].$implicit}attach(n,e){const i=e[Tn];this.needsIndexUpdate||=n!==this.length,qa(this.lContainer,e,n,ms(this.templateTNode,i))}detach(n){return this.needsIndexUpdate||=n!==this.length-1,function mV(t,n){return za(t,n)}(this.lContainer,n)}create(n,e){const i=ps(this.lContainer,this.templateTNode.tView.ssrId);return Ga(this.hostLView,this.templateTNode,new dV(this.lContainer,e,n),{dehydratedView:i})}destroy(n){gd(n[L],n)}updateValue(n,e){this.getLView(n)[Ye].$implicit=e}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let n=0;n(mi(!0),pd(i,o,function zy(){return ie.lFrame.currentNamespace}()));function He(t,n,e){const i=T(),o=be(),r=t+de,s=o.firstCreatePass?function vV(t,n,e,i,o){const r=n.consts,s=hi(r,i),a=fs(n,t,8,"ng-container",s);return null!==s&&Ad(a,s,!0),Xm(n,e,a,hi(r,o)),null!==n.queries&&n.queries.elementStart(n,a),a}(r,o,i,n,e):o.data[r];fi(s,!0);const a=HC(o,i,s,t);return i[r]=a,Ta()&&bd(o,i,a,s),on(a,i),Uc(s)&&(Gm(o,i,s),Wm(o,s,i)),null!=e&&qm(i,s),He}function je(){let t=Be();const n=be();return Gf()?qf():(t=t.parent,fi(t,!1)),n.firstCreatePass&&(Gc(n,t),Ff(t)&&n.queries.elementEnd(t)),je}function sn(t,n,e){return He(t,n,e),je(),sn}let HC=(t,n,e,i)=>(mi(!0),Vm(n[ne],""));function Ze(){return T()}function or(t,n,e){const i=T();return wt(i,ei(),n)&&xn(be(),Xe(),i,t,n,i[ne],e,!0),or}function Gp(t,n,e){const i=T();if(wt(i,ei(),n)){const r=be(),s=Xe();xn(r,s,i,t,n,Nx(Xf(r.data),s,i),e,!0)}return Gp}const Os="en-US";let UC=Os;function A(t,n,e,i){const o=T(),r=be(),s=Be();return Zp(r,o,o[ne],s,t,n,i),A}function Xp(t,n){const e=Be(),i=T(),o=be();return Zp(o,i,Nx(Xf(o.data),e,i),e,t,n),Xp}function Zp(t,n,e,i,o,r,s){const a=Uc(i),c=t.firstCreatePass&&Ox(t),d=n[Ye],u=Px(n);let h=!0;if(3&i.type||s){const _=dn(i,n),y=s?s(_):_,C=u.length,D=s?H=>s($e(H[i.index])):i.index;let N=null;if(!s&&a&&(N=function yB(t,n,e,i){const o=t.cleanup;if(null!=o)for(let r=0;rl?a[l]:null}"string"==typeof s&&(r+=2)}return null}(t,n,o,i.index)),null!==N)(N.__ngLastListenerFn__||N).__ngNextListenerFn__=r,N.__ngLastListenerFn__=r,h=!1;else{r=gD(i,n,d,r,!1);const H=e.listen(y,o,r);u.push(r,H),c&&c.push(o,D,C,C+1)}}else r=gD(i,n,d,r,!1);const f=i.outputs;let m;if(h&&null!==f&&(m=f[o])){const _=m.length;if(_)for(let y=0;y<_;y+=2){const le=n[m[y]][m[y+1]].subscribe(r),pe=u.length;u.push(r,le),c&&c.push(o,i.index,pe,-(pe+1))}}}function pD(t,n,e,i){const o=ge(null);try{return ui(6,n,e),!1!==e(i)}catch(r){return xd(t,r),!1}finally{ui(7,n,e),ge(o)}}function gD(t,n,e,i,o){return function r(s){if(s===Function)return i;Xa(t.componentOffset>-1?Sn(t.index,n):n);let l=pD(n,e,i,s),c=r.__ngNextListenerFn__;for(;c;)l=pD(n,e,c,s)&&l,c=c.__ngNextListenerFn__;return o&&!1===l&&s.preventDefault(),l}}function w(t=1){return function yP(t){return(ie.lFrame.contextLView=function Sy(t,n){for(;t>0;)n=n[Kr],t--;return n}(t,ie.lFrame.contextLView))[Ye]}(t)}function wB(t,n){let e=null;const i=function vR(t){const n=t.attrs;if(null!=n){const e=n.indexOf(5);if(!(1&e))return n[e+1]}return null}(t);for(let o=0;o(mi(!0),function Lm(t,n){return t.createText(n)}(n[ne],i));function zn(t){return Dn("",t,""),zn}function Dn(t,n,e){const i=T(),o=Ds(i,t,n,e);return o!==ue&&Bi(i,nn(),o),Dn}function Qp(t,n,e,i,o){const r=T(),s=Es(r,t,n,e,i,o);return s!==ue&&Bi(r,nn(),s),Qp}function Ee(t,n,e){E0(n)&&(n=n());const i=T();return wt(i,ei(),n)&&xn(be(),Xe(),i,t,n,i[ne],e,!1),Ee}function ke(t,n){const e=E0(t);return e&&t.set(n),e}function Me(t,n){const e=T(),i=be(),o=Be();return Zp(i,e,e[ne],o,t,n),Me}function Jp(t,n,e,i,o){if(t=Q(t),Array.isArray(t))for(let r=0;r>20;if(Ho(t)||!t.multi){const f=new Sa(c,o,p),m=tg(l,n,o?d:d+h,u);-1===m?(rm(Zc(a,s),r,l),eg(r,t,n.length),n.push(l),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),e.push(f),s.push(f)):(e[m]=f,s[m]=f)}else{const f=tg(l,n,d+h,u),m=tg(l,n,d,d+h),y=m>=0&&e[m];if(o&&!y||!o&&!(f>=0&&e[f])){rm(Zc(a,s),r,l);const C=function HB(t,n,e,i,o){const r=new Sa(t,e,p);return r.multi=[],r.index=n,r.componentProviders=0,zD(r,o,i&&!e),r}(o?BB:VB,e.length,o,i,c);!o&&y&&(e[m].providerFactory=C),eg(r,t,n.length,0),n.push(l),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),e.push(C),s.push(C)}else eg(r,t,f>-1?f:m,zD(e[o?m:f],c,!o&&i));!o&&i&&y&&e[m].componentProviders++}}}function eg(t,n,e,i){const o=Ho(n),r=function RR(t){return!!t.useClass}(n);if(o||r){const l=(r?Q(n.useClass):n).prototype.ngOnDestroy;if(l){const c=t.destroyHooks||(t.destroyHooks=[]);if(!o&&n.multi){const d=c.indexOf(e);-1===d?c.push(e,[i,l]):c[d+1].push(i,l)}else c.push(e,l)}}}function zD(t,n,e){return e&&t.componentProviders++,t.multi.push(n)-1}function tg(t,n,e,i){for(let o=e;o{e.providersResolver=(i,o)=>function LB(t,n,e){const i=be();if(i.firstCreatePass){const o=Jn(t);Jp(e,i.data,i.blueprint,o,!0),Jp(n,i.data,i.blueprint,o,!1)}}(i,o?o(t):t,n)}}let jB=(()=>{class t{constructor(e){this._injector=e,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(e){if(!e.standalone)return null;if(!this.cachedInjectors.has(e)){const i=Ef(0,e.type),o=i.length>0?function j0(t,n,e=null){return new H0({providers:t,parent:n,debugName:e,runEnvironmentInitializers:!0}).injector}([i],this._injector,`Standalone[${e.type.name}]`):null;this.cachedInjectors.set(e,o)}return this.cachedInjectors.get(e)}ngOnDestroy(){try{for(const e of this.cachedInjectors.values())null!==e&&e.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=V({token:t,providedIn:"environment",factory:()=>new t(I(Zn))})}return t})();function ze(t){vi("NgStandalone"),t.getStandaloneInjector=n=>n.get(jB).getOrCreateStandaloneInjector(t)}function bl(t,n,e){const i=un()+t,o=T();return o[i]===ue?yi(o,i,e?n.call(e):n()):function sl(t,n){return t[n]}(o,i)}function Yt(t,n,e,i){return function WD(t,n,e,i,o,r){const s=n+e;return wt(t,s,o)?yi(t,s+1,r?i.call(r,o):i(o)):vl(t,s+1)}(T(),un(),t,n,e,i)}function Ci(t,n,e,i,o){return function GD(t,n,e,i,o,r,s){const a=n+e;return tr(t,a,o,r)?yi(t,a+2,s?i.call(s,o,r):i(o,r)):vl(t,a+2)}(T(),un(),t,n,e,i,o)}function vl(t,n){const e=t[n];return e===ue?void 0:e}function ZD(t,n){return Dd(t,n)}const gE=new R(""),eu=new R("");let dg,lg=(()=>{class t{constructor(e,i,o){this._ngZone=e,this.registry=i,this._pendingCount=0,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,dg||(function Z3(t){dg=t}(o),o.addToWindow(i)),this._watchAngularEvents(),e.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:()=>{j.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 e=this._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb()}});else{let e=this.getPendingTasks();this._callbacks=this._callbacks.filter(i=>!i.updateCb||!i.updateCb(e)||(clearTimeout(i.timeoutId),!1))}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(e=>({source:e.source,creationLocation:e.creationLocation,data:e.data})):[]}addCallback(e,i,o){let r=-1;i&&i>0&&(r=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==r),e()},i)),this._callbacks.push({doneCb:e,timeoutId:r,updateCb:o})}whenStable(e,i,o){if(o&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(e,i,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(e){this.registry.registerApplication(e,this)}unregisterApplication(e){this.registry.unregisterApplication(e)}findProviders(e,i,o){return[]}static#e=this.\u0275fac=function(i){return new(i||t)(I(j),I(cg),I(eu))};static#t=this.\u0275prov=V({token:t,factory:t.\u0275fac})}return t})(),cg=(()=>{class t{constructor(){this._applications=new Map}registerApplication(e,i){this._applications.set(e,i)}unregisterApplication(e){this._applications.delete(e)}unregisterAllApplications(){this._applications.clear()}getTestability(e){return this._applications.get(e)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(e,i=!0){return dg?.findTestabilityInTree(this,e,i)??null}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=V({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})();function tu(t){return!!t&&"function"==typeof t.then}function _E(t){return!!t&&"function"==typeof t.subscribe}const bE=new R("");let ug=(()=>{class t{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((e,i)=>{this.resolve=e,this.reject=i}),this.appInits=F(bE,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const e=[];for(const o of this.appInits){const r=o();if(tu(r))e.push(r);else if(_E(r)){const s=new Promise((a,l)=>{r.subscribe({complete:a,error:l})});e.push(s)}}const i=()=>{this.done=!0,this.resolve()};Promise.all(e).then(()=>{i()}).catch(o=>{this.reject(o)}),0===e.length&&i(),this.initialized=!0}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=V({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const vE=new R("");function xE(t,n){return Array.isArray(n)?n.reduce(xE,t):{...t,...n}}let Di=(()=>{class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=F(cw),this.afterRenderEffectManager=F(tl),this.externalTestViews=new Set,this.beforeRender=new G,this.afterTick=new G,this.componentTypes=[],this.components=[],this.isStable=F(er).hasPendingTasks.pipe(We(e=>!e)),this._injector=F(Zn)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(e,i){const o=e instanceof Xx;if(!this._injector.get(ug).done)throw!o&&function Bo(t){const n=_e(t)||Rt(t)||Gt(t);return null!==n&&n.standalone}(e),new S(405,!1);let s;s=o?e:this._injector.get(Xo).resolveComponentFactory(e),this.componentTypes.push(s.componentType);const a=function K3(t){return t.isBoundToModule}(s)?void 0:this._injector.get(Jo),c=s.create(at.NULL,[],i||s.selector,a),d=c.location.nativeElement,u=c.injector.get(gE,null);return u?.registerApplication(d),c.onDestroy(()=>{this.detachView(c.hostView),nu(this.components,c),u?.unregisterApplication(d)}),this._loadComponent(c),c}tick(){this._tick(!0)}_tick(e){if(this._runningTick)throw new S(101,!1);const i=ge(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(e)}catch(o){this.internalErrorHandler(o)}finally{this.afterTick.next(),this._runningTick=!1,ge(i)}}detectChangesInAttachedViews(e){let i=0;const o=this.afterRenderEffectManager;for(;;){if(i===Bx)throw new S(103,!1);if(e){const r=0===i;this.beforeRender.next(r);for(let{_lView:s,notifyErrorHandler:a}of this._views)J3(s,r,a)}if(i++,o.executeInternalCallbacks(),![...this.externalTestViews.keys(),...this._views].some(({_lView:r})=>hg(r))&&(o.execute(),![...this.externalTestViews.keys(),...this._views].some(({_lView:r})=>hg(r))))break}}attachView(e){const i=e;this._views.push(i),i.attachToAppRef(this)}detachView(e){const i=e;nu(this._views,i),i.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e);const i=this._injector.get(vE,[]);[...this._bootstrapListeners,...i].forEach(o=>o(e))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(e=>e()),this._views.slice().forEach(e=>e.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(e){return this._destroyListeners.push(e),()=>nu(this._destroyListeners,e)}destroy(){if(this._destroyed)throw new S(406,!1);const e=this._injector;e.destroy&&!e.destroyed&&e.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=V({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function nu(t,n){const e=t.indexOf(n);e>-1&&t.splice(e,1)}function J3(t,n,e){!n&&!hg(t)||function eH(t,n,e){let i;e?(i=0,t[q]|=1024):i=64&t[q]?0:1,Cd(t,n,i)}(t,e,n)}function hg(t){return Uf(t)}let oH=(()=>{class t{constructor(){this.zone=F(j),this.applicationRef=F(Di)}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||t)};static#t=this.\u0275prov=V({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function rH(){const t=F(j),n=F(An);return e=>t.runOutsideAngular(()=>n.handleError(e))}let aH=(()=>{class t{constructor(){this.subscription=new dt,this.initialized=!1,this.zone=F(j),this.pendingTasks=F(er)}initialize(){if(this.initialized)return;this.initialized=!0;let e=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(e=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{j.assertNotInAngularZone(),queueMicrotask(()=>{null!==e&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(e),e=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{j.assertInAngularZone(),e??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=V({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const Ei=new R("",{providedIn:"root",factory:()=>F(Ei,ye.Optional|ye.SkipSelf)||function lH(){return typeof $localize<"u"&&$localize.locale||Os}()}),fg=new R("");let kE=(()=>{class t{constructor(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(e,i){const o=function ZF(t="zone.js",n){return"noop"===t?new t0:"zone.js"===t?new j(n):t}(i?.ngZone,function EE(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}({eventCoalescing:i?.ngZoneEventCoalescing,runCoalescing:i?.ngZoneRunCoalescing}));return o.run(()=>{const r=function $2(t,n,e){return new Ep(t,n,e)}(e.moduleType,this.injector,function DE(t){return[{provide:j,useFactory:t},{provide:Wr,multi:!0,useFactory:()=>{const n=F(oH,{optional:!0});return()=>n.initialize()}},{provide:Wr,multi:!0,useFactory:()=>{const n=F(aH);return()=>{n.initialize()}}},{provide:cw,useFactory:rH}]}(()=>o)),s=r.injector.get(An,null);return o.runOutsideAngular(()=>{const a=o.onError.subscribe({next:l=>{s.handleError(l)}});r.onDestroy(()=>{nu(this._modules,r),a.unsubscribe()})}),function wE(t,n,e){try{const i=e();return tu(i)?i.catch(o=>{throw n.runOutsideAngular(()=>t.handleError(o)),o}):i}catch(i){throw n.runOutsideAngular(()=>t.handleError(i)),i}}(s,o,()=>{const a=r.injector.get(ug);return a.runInitializers(),a.donePromise.then(()=>(function $C(t){"string"==typeof t&&(UC=t.toLowerCase().replace(/_/g,"-"))}(r.injector.get(Ei,Os)||Os),this._moduleDoBootstrap(r),r))})})}bootstrapModule(e,i=[]){const o=xE({},i);return function iH(t,n,e){const i=new kp(e);return Promise.resolve(i)}(0,0,e).then(r=>this.bootstrapModuleFactory(r,o))}_moduleDoBootstrap(e){const i=e.injector.get(Di);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(o=>i.bootstrap(o));else{if(!e.instance.ngDoBootstrap)throw new S(-403,!1);e.instance.ngDoBootstrap(i)}this._modules.push(e)}onDestroy(e){this._destroyListeners.push(e)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new S(404,!1);this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i());const e=this._injector.get(fg,null);e&&(e.forEach(i=>i()),e.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(i){return new(i||t)(I(at))};static#t=this.\u0275prov=V({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})(),ho=null;const ME=new R("");function IE(t,n,e=[]){const i=`Platform: ${n}`,o=new R(i);return(r=[])=>{let s=mg();if(!s||s.injector.get(ME,!1)){const a=[...e,...r,{provide:o,useValue:!0}];t?t(a):function uH(t){if(ho&&!ho.get(ME,!1))throw new S(400,!1);(function yE(){!function k1(t){Mv=t}(()=>{throw new S(600,!1)})})(),ho=t;const n=t.get(kE);(function SE(t){t.get(Aw,null)?.forEach(e=>e())})(t)}(function TE(t=[],n){return at.create({name:n,providers:[{provide:If,useValue:"platform"},{provide:fg,useValue:new Set([()=>ho=null])},...t]})}(a,i))}return function hH(t){const n=mg();if(!n)throw new S(401,!1);return n}()}}function mg(){return ho?.get(kE)??null}let zt=(()=>{class t{static#e=this.__NG_ELEMENT_ID__=pH}return t})();function pH(t){return function gH(t,n,e){if(zo(t)&&!e){const i=Sn(t.index,n);return new Za(i,i)}return 47&t.type?new Za(n[ut],n):null}(Be(),T(),!(16&~t))}class NE{constructor(){}supports(n){return Ld(n)}create(n){return new wH(n)}}const yH=(t,n)=>n;class wH{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||yH}forEachItem(n){let e;for(e=this._itHead;null!==e;e=e._next)n(e)}forEachOperation(n){let e=this._itHead,i=this._removalsHead,o=0,r=null;for(;e||i;){const s=!i||e&&e.currentIndex{s=this._trackByFn(o,a),null!==e&&Object.is(e.trackById,s)?(i&&(e=this._verifyReinsertion(e,a,s,o)),Object.is(e.item,a)||this._addIdentityChange(e,a)):(e=this._mismatch(e,a,s,o),i=!0),e=e._next,o++}),this.length=o;return this._truncate(e),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,e,i,o){let r;return null===n?r=this._itTail:(r=n._prev,this._remove(n)),null!==(n=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null))?(Object.is(n.item,e)||this._addIdentityChange(n,e),this._reinsertAfter(n,r,o)):null!==(n=null===this._linkedRecords?null:this._linkedRecords.get(i,o))?(Object.is(n.item,e)||this._addIdentityChange(n,e),this._moveAfter(n,r,o)):n=this._addAfter(new xH(e,i),r,o),n}_verifyReinsertion(n,e,i,o){let r=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==r?n=this._reinsertAfter(r,n._prev,o):n.currentIndex!=o&&(n.currentIndex=o,this._addToMoves(n,o)),n}_truncate(n){for(;null!==n;){const e=n._next;this._addToRemovals(this._unlink(n)),n=e}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,e,i){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(n);const o=n._prevRemoved,r=n._nextRemoved;return null===o?this._removalsHead=r:o._nextRemoved=r,null===r?this._removalsTail=o:r._prevRemoved=o,this._insertAfter(n,e,i),this._addToMoves(n,i),n}_moveAfter(n,e,i){return this._unlink(n),this._insertAfter(n,e,i),this._addToMoves(n,i),n}_addAfter(n,e,i){return this._insertAfter(n,e,i),this._additionsTail=null===this._additionsTail?this._additionsHead=n:this._additionsTail._nextAdded=n,n}_insertAfter(n,e,i){const o=null===e?this._itHead:e._next;return n._next=o,n._prev=e,null===o?this._itTail=n:o._prev=n,null===e?this._itHead=n:e._next=n,null===this._linkedRecords&&(this._linkedRecords=new FE),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 e=n._prev,i=n._next;return null===e?this._itHead=i:e._next=i,null===i?this._itTail=e:i._prev=e,n}_addToMoves(n,e){return n.previousIndex===e||(this._movesTail=null===this._movesTail?this._movesHead=n:this._movesTail._nextMoved=n),n}_addToRemovals(n){return null===this._unlinkedRecords&&(this._unlinkedRecords=new FE),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,e){return n.item=e,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=n:this._identityChangesTail._nextIdentityChange=n,n}}class xH{constructor(n,e){this.item=n,this.trackById=e,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 CH{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,e){let i;for(i=this._head;null!==i;i=i._nextDup)if((null===e||e<=i.currentIndex)&&Object.is(i.trackById,n))return i;return null}remove(n){const e=n._prevDup,i=n._nextDup;return null===e?this._head=i:e._nextDup=i,null===i?this._tail=e:i._prevDup=e,null===this._head}}class FE{constructor(){this.map=new Map}put(n){const e=n.trackById;let i=this.map.get(e);i||(i=new CH,this.map.set(e,i)),i.add(n)}get(n,e){const o=this.map.get(n);return o?o.get(n,e):null}remove(n){const e=n.trackById;return this.map.get(e).remove(n)&&this.map.delete(e),n}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function LE(t,n,e){const i=t.previousIndex;if(null===i)return i;let o=0;return e&&i{if(e&&e.key===o)this._maybeAddToChanges(e,i),this._appendAfter=e,e=e._next;else{const r=this._getOrCreateRecordForKey(o,i);e=this._insertBeforeOrAppend(e,r)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let i=e;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,e){if(n){const i=n._prev;return e._next=n,e._prev=i,n._prev=e,i&&(i._next=e),n===this._mapHead&&(this._mapHead=e),this._appendAfter=n,n}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(n,e){if(this._records.has(n)){const o=this._records.get(n);this._maybeAddToChanges(o,e);const r=o._prev,s=o._next;return r&&(r._next=s),s&&(s._prev=r),o._next=null,o._prev=null,o}const i=new EH(n);return this._records.set(n,i),i.currentValue=e,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,e){Object.is(e,n.currentValue)||(n.previousValue=n.currentValue,n.currentValue=e,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,e){n instanceof Map?n.forEach(e):Object.keys(n).forEach(i=>e(n[i],i))}}class EH{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 BE(){return new fo([new NE])}let fo=(()=>{class t{static#e=this.\u0275prov=V({token:t,providedIn:"root",factory:BE});constructor(e){this.factories=e}static create(e,i){if(null!=i){const o=i.factories.slice();e=e.concat(o)}return new t(e)}static extend(e){return{provide:t,useFactory:i=>t.create(e,i||BE()),deps:[[t,new ba,new Lo]]}}find(e){const i=this.factories.find(o=>o.supports(e));if(null!=i)return i;throw new S(901,!1)}}return t})();function HE(){return new su([new VE])}let su=(()=>{class t{static#e=this.\u0275prov=V({token:t,providedIn:"root",factory:HE});constructor(e){this.factories=e}static create(e,i){if(i){const o=i.factories.slice();e=e.concat(o)}return new t(e)}static extend(e){return{provide:t,useFactory:i=>t.create(e,i||HE()),deps:[[t,new ba,new Lo]]}}find(e){const i=this.factories.find(o=>o.supports(e));if(i)return i;throw new S(901,!1)}}return t})();const IH=IE(null,"core",[]);let TH=(()=>{class t{constructor(e){}static#e=this.\u0275fac=function(i){return new(i||t)(I(Di))};static#t=this.\u0275mod=De({type:t});static#n=this.\u0275inj=ve({})}return t})();function Ie(t){return"boolean"==typeof t?t:null!=t&&"false"!==t}function zi(t,n=NaN){return isNaN(parseFloat(t))||isNaN(Number(t))?n:Number(t)}const rj=new R("",{providedIn:"root",factory:()=>F(sj)});let sj=(()=>{class t{static#e=this.\u0275prov=V({token:t,providedIn:"root",factory:()=>new aj})}return t})();class aj{constructor(){this.queuedEffectCount=0,this.queues=new Map,this.pendingTasks=F(er),this.taskId=null}scheduleEffect(n){if(this.enqueue(n),null===this.taskId){const e=this.taskId=this.pendingTasks.add();queueMicrotask(()=>{this.flush(),this.pendingTasks.remove(e),this.taskId=null})}}enqueue(n){const e=n.creationZone;this.queues.has(e)||this.queues.set(e,new Set);const i=this.queues.get(e);i.has(n)||(this.queuedEffectCount++,i.add(n))}flush(){for(;this.queuedEffectCount>0;)for(const[n,e]of this.queues)null===n?this.flushQueue(e):n.run(()=>this.flushQueue(e))}flushQueue(n){for(const e of n)n.delete(e),this.queuedEffectCount--,e.run()}}class lj{constructor(n,e,i,o,r,s){this.scheduler=n,this.effectFn=e,this.creationZone=i,this.injector=r,this.watcher=function A1(t,n,e){const i=Object.create(R1);e&&(i.consumerAllowSignalWrites=!0),i.fn=t,i.schedule=n;const o=l=>{i.cleanupFn=l};return i.ref={notify:()=>wv(i),run:()=>{if(null===i.fn)return;if(function w1(){return ua}())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(i.dirty=!1,i.hasRun&&!Xh(i))return;i.hasRun=!0;const l=xv(i);try{i.cleanupFn(),i.cleanupFn=Kh,i.fn(o)}finally{Cv(i,l)}},cleanup:()=>i.cleanupFn(),destroy:()=>function s(l){(function r(l){return null===l.fn&&null===l.schedule})(l)||(Dv(l),l.cleanupFn(),l.fn=null,l.schedule=null,l.cleanupFn=Kh)}(i),[li]:i},i.ref}(a=>this.runEffect(a),()=>this.schedule(),s),this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy())}runEffect(n){try{this.effectFn(n)}catch(e){this.injector.get(An,null,{optional:!0})?.handleError(e)}}run(){this.watcher.run()}schedule(){this.scheduler.scheduleEffect(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}}function ck(t,n){vi("NgSignals"),!n?.injector&&function Bc(t){if(!py())throw new S(-203,!1)}();const e=n?.injector??F(at),i=!0!==n?.manualCleanup?e.get(rs):null,o=new lj(e.get(rj),t,typeof Zone>"u"?null:Zone.current,i,e,n?.allowSignalWrites??!1),r=e.get(zt,null,{optional:!0});return r&&8&r._lView[q]?(r._lView[jc]??=[]).push(o.watcher.notify):o.watcher.notify(),o}let dk=null;function mo(){return dk}class dj{}const fe=new R("");let uk=(()=>{class t{historyGo(e){throw new Error("")}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=V({token:t,factory:()=>F(uj),providedIn:"platform"})}return t})(),uj=(()=>{class t extends uk{constructor(){super(),this._doc=F(fe),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return mo().getBaseHref(this._doc)}onPopState(e){const i=mo().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",e,!1),()=>i.removeEventListener("popstate",e)}onHashChange(e){const i=mo().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",e,!1),()=>i.removeEventListener("hashchange",e)}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(e){this._location.pathname=e}pushState(e,i,o){this._history.pushState(e,i,o)}replaceState(e,i,o){this._history.replaceState(e,i,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=V({token:t,factory:()=>new t,providedIn:"platform"})}return t})();function hk(t,n){if(0==t.length)return n;if(0==n.length)return t;let e=0;return t.endsWith("/")&&e++,n.startsWith("/")&&e++,2==e?t+n.substring(1):1==e?t+n:t+"/"+n}function fk(t){const n=t.match(/#|\?|$/),e=n&&n.index||t.length;return t.slice(0,e-("/"===t[e-1]?1:0))+t.slice(e)}function ar(t){return t&&"?"!==t[0]?"?"+t:t}let wg=(()=>{class t{historyGo(e){throw new Error("")}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=V({token:t,factory:()=>F(fj),providedIn:"root"})}return t})();const hj=new R("");let fj=(()=>{class t extends wg{constructor(e,i){super(),this._platformLocation=e,this._removeListenerFns=[],this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??F(fe).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return hk(this._baseHref,e)}path(e=!1){const i=this._platformLocation.pathname+ar(this._platformLocation.search),o=this._platformLocation.hash;return o&&e?`${i}${o}`:i}pushState(e,i,o,r){const s=this.prepareExternalUrl(o+ar(r));this._platformLocation.pushState(e,i,s)}replaceState(e,i,o,r){const s=this.prepareExternalUrl(o+ar(r));this._platformLocation.replaceState(e,i,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static#e=this.\u0275fac=function(i){return new(i||t)(I(uk),I(hj,8))};static#t=this.\u0275prov=V({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),xg=(()=>{class t{constructor(e){this._subject=new J,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=e;const i=this._locationStrategy.getBaseHref();this._basePath=function gj(t){if(new RegExp("^(https?:)?//").test(t)){const[,e]=t.split(/\/\/[^\/]+/);return e}return t}(fk(mk(i))),this._locationStrategy.onPopState(o=>{this._subject.emit({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(e=!1){return this.normalize(this._locationStrategy.path(e))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(e,i=""){return this.path()==this.normalize(e+ar(i))}normalize(e){return t.stripTrailingSlash(function pj(t,n){if(!t||!n.startsWith(t))return n;const e=n.substring(t.length);return""===e||["/",";","?","#"].includes(e[0])?e:n}(this._basePath,mk(e)))}prepareExternalUrl(e){return e&&"/"!==e[0]&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e)}go(e,i="",o=null){this._locationStrategy.pushState(o,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+ar(i)),o)}replaceState(e,i="",o=null){this._locationStrategy.replaceState(o,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+ar(i)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(e=0){this._locationStrategy.historyGo?.(e)}onUrlChange(e){return this._urlChangeListeners.push(e),this._urlChangeSubscription??=this.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state)}),()=>{const i=this._urlChangeListeners.indexOf(e);this._urlChangeListeners.splice(i,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(e="",i){this._urlChangeListeners.forEach(o=>o(e,i))}subscribe(e,i,o){return this._subject.subscribe({next:e,error:i,complete:o})}static#e=this.normalizeQueryParams=ar;static#t=this.joinWithSlash=hk;static#n=this.stripTrailingSlash=fk;static#i=this.\u0275fac=function(i){return new(i||t)(I(wg))};static#o=this.\u0275prov=V({token:t,factory:()=>function mj(){return new xg(I(wg))}(),providedIn:"root"})}return t})();function mk(t){return t.replace(/\/index.html$/,"")}function Ck(t,n){n=encodeURIComponent(n);for(const e of t.split(";")){const i=e.indexOf("="),[o,r]=-1==i?[e,""]:[e.slice(0,i),e.slice(i+1)];if(o.trim()===n)return decodeURIComponent(r)}return null}const Rg=/\s+/,Dk=[];let Cu=(()=>{class t{constructor(e,i){this._ngEl=e,this._renderer=i,this.initialClasses=Dk,this.stateMap=new Map}set klass(e){this.initialClasses=null!=e?e.trim().split(Rg):Dk}set ngClass(e){this.rawClass="string"==typeof e?e.trim().split(Rg):e}ngDoCheck(){for(const i of this.initialClasses)this._updateState(i,!0);const e=this.rawClass;if(Array.isArray(e)||e instanceof Set)for(const i of e)this._updateState(i,!0);else if(null!=e)for(const i of Object.keys(e))this._updateState(i,!!e[i]);this._applyStateDiff()}_updateState(e,i){const o=this.stateMap.get(e);void 0!==o?(o.enabled!==i&&(o.changed=!0,o.enabled=i),o.touched=!0):this.stateMap.set(e,{enabled:i,changed:!0,touched:!0})}_applyStateDiff(){for(const e of this.stateMap){const i=e[0],o=e[1];o.changed?(this._toggleClass(i,o.enabled),o.changed=!1):o.touched||(o.enabled&&this._toggleClass(i,!1),this.stateMap.delete(i)),o.touched=!1}}_toggleClass(e,i){(e=e.trim()).length>0&&e.split(Rg).forEach(o=>{i?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}static#e=this.\u0275fac=function(i){return new(i||t)(p(Y),p(Zo))};static#t=this.\u0275dir=O({type:t,selectors:[["","ngClass",""]],inputs:{klass:[P.None,"class","klass"],ngClass:"ngClass"},standalone:!0})}return t})();class t4{constructor(n,e,i,o){this.$implicit=n,this.ngForOf=e,this.index=i,this.count=o}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let Pg=(()=>{class t{set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}constructor(e,i,o){this._viewContainer=e,this._template=i,this._differs=o,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const e=this._ngForOf;!this._differ&&e&&(this._differ=this._differs.find(e).create(this.ngForTrackBy))}if(this._differ){const e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){const i=this._viewContainer;e.forEachOperation((o,r,s)=>{if(null==o.previousIndex)i.createEmbeddedView(this._template,new t4(o.item,this._ngForOf,-1,-1),null===s?void 0:s);else if(null==s)i.remove(null===r?void 0:r);else if(null!==r){const a=i.get(r);i.move(a,s),kk(a,o)}});for(let o=0,r=i.length;o{kk(i.get(o.currentIndex),o)})}static ngTemplateContextGuard(e,i){return!0}static#e=this.\u0275fac=function(i){return new(i||t)(p(Nt),p(yt),p(fo))};static#t=this.\u0275dir=O({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return t})();function kk(t,n){t.context.$implicit=n.item}let lr=(()=>{class t{constructor(e,i){this._viewContainer=e,this._context=new n4,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=i}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){Mk("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){Mk("ngIfElse",e),this._elseTemplateRef=e,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(e,i){return!0}static#e=this.\u0275fac=function(i){return new(i||t)(p(Nt),p(yt))};static#t=this.\u0275dir=O({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return t})();class n4{constructor(){this.$implicit=null,this.ngIf=null}}function Mk(t,n){if(n&&!n.createEmbeddedView)throw new Error(`${t} must be a TemplateRef, but received '${At(n)}'.`)}let Fg=(()=>{class t{constructor(e,i,o){this._ngEl=e,this._differs=i,this._renderer=o,this._ngStyle=null,this._differ=null}set ngStyle(e){this._ngStyle=e,!this._differ&&e&&(this._differ=this._differs.find(e).create())}ngDoCheck(){if(this._differ){const e=this._differ.diff(this._ngStyle);e&&this._applyChanges(e)}}_setStyle(e,i){const[o,r]=e.split("."),s=-1===o.indexOf("-")?void 0:ao.DashCase;null!=i?this._renderer.setStyle(this._ngEl.nativeElement,o,r?`${i}${r}`:i,s):this._renderer.removeStyle(this._ngEl.nativeElement,o,s)}_applyChanges(e){e.forEachRemovedItem(i=>this._setStyle(i.key,null)),e.forEachAddedItem(i=>this._setStyle(i.key,i.currentValue)),e.forEachChangedItem(i=>this._setStyle(i.key,i.currentValue))}static#e=this.\u0275fac=function(i){return new(i||t)(p(Y),p(su),p(Zo))};static#t=this.\u0275dir=O({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}return t})(),Tk=(()=>{class t{constructor(e){this._viewContainerRef=e,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(e){if(this._shouldRecreateView(e)){const i=this._viewContainerRef;if(this._viewRef&&i.remove(i.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const o=this._createContextForwardProxy();this._viewRef=i.createEmbeddedView(this.ngTemplateOutlet,o,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(e){return!!e.ngTemplateOutlet||!!e.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(e,i,o)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,i,o),get:(e,i,o)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,i,o)}})}static#e=this.\u0275fac=function(i){return new(i||t)(p(Nt))};static#t=this.\u0275dir=O({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[Ht]})}return t})(),Du=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=De({type:t});static#n=this.\u0275inj=ve({})}return t})();const Ak="browser";function Bg(t){return t===Ak}function Rk(t){return"server"===t}class Pk{}class sz extends dj{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class jg extends sz{static makeCurrent(){!function cj(t){dk??=t}(new jg)}onAndCancel(n,e,i){return n.addEventListener(e,i),()=>{n.removeEventListener(e,i)}}dispatchEvent(n,e){n.dispatchEvent(e)}remove(n){n.parentNode&&n.parentNode.removeChild(n)}createElement(n,e){return(e=e||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,e){return"window"===e?window:"document"===e?n:"body"===e?n.body:null}getBaseHref(n){const e=function az(){return Il=Il||document.querySelector("base"),Il?Il.getAttribute("href"):null}();return null==e?null:function lz(t){return new URL(t,document.baseURI).pathname}(e)}resetBaseElement(){Il=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return Ck(document.cookie,n)}}let Il=null,dz=(()=>{class t{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=V({token:t,factory:t.\u0275fac})}return t})();const zg=new R("");let zk=(()=>{class t{constructor(e,i){this._zone=i,this._eventNameToPlugin=new Map,e.forEach(o=>{o.manager=this}),this._plugins=e.slice().reverse()}addEventListener(e,i,o){return this._findPluginFor(i).addEventListener(e,i,o)}getZone(){return this._zone}_findPluginFor(e){let i=this._eventNameToPlugin.get(e);if(i)return i;if(i=this._plugins.find(r=>r.supports(e)),!i)throw new S(5101,!1);return this._eventNameToPlugin.set(e,i),i}static#e=this.\u0275fac=function(i){return new(i||t)(I(zg),I(j))};static#t=this.\u0275prov=V({token:t,factory:t.\u0275fac})}return t})();class Uk{constructor(n){this._doc=n}}const Ug="ng-app-id";let $k=(()=>{class t{constructor(e,i,o,r={}){this.doc=e,this.appId=i,this.nonce=o,this.platformId=r,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=Rk(r),this.resetHostNodes()}addStyles(e){for(const i of e)1===this.changeUsageCount(i,1)&&this.onStyleAdded(i)}removeStyles(e){for(const i of e)this.changeUsageCount(i,-1)<=0&&this.onStyleRemoved(i)}ngOnDestroy(){const e=this.styleNodesInDOM;e&&(e.forEach(i=>i.remove()),e.clear());for(const i of this.getAllStyles())this.onStyleRemoved(i);this.resetHostNodes()}addHost(e){this.hostNodes.add(e);for(const i of this.getAllStyles())this.addStyleToHost(e,i)}removeHost(e){this.hostNodes.delete(e)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(e){for(const i of this.hostNodes)this.addStyleToHost(i,e)}onStyleRemoved(e){const i=this.styleRef;i.get(e)?.elements?.forEach(o=>o.remove()),i.delete(e)}collectServerRenderedStyles(){const e=this.doc.head?.querySelectorAll(`style[${Ug}="${this.appId}"]`);if(e?.length){const i=new Map;return e.forEach(o=>{null!=o.textContent&&i.set(o.textContent,o)}),i}return null}changeUsageCount(e,i){const o=this.styleRef;if(o.has(e)){const r=o.get(e);return r.usage+=i,r.usage}return o.set(e,{usage:i,elements:[]}),i}getStyleElement(e,i){const o=this.styleNodesInDOM,r=o?.get(i);if(r?.parentNode===e)return o.delete(i),r.removeAttribute(Ug),r;{const s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=i,this.platformIsServer&&s.setAttribute(Ug,this.appId),e.appendChild(s),s}}addStyleToHost(e,i){const o=this.getStyleElement(e,i),r=this.styleRef,s=r.get(i)?.elements;s?s.push(o):r.set(i,{elements:[o],usage:1})}resetHostNodes(){const e=this.hostNodes;e.clear(),e.add(this.doc.head)}static#e=this.\u0275fac=function(i){return new(i||t)(I(fe),I(Na),I(mm,8),I(gi))};static#t=this.\u0275prov=V({token:t,factory:t.\u0275fac})}return t})();const $g={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/"},Wg=/%COMP%/g,mz=new R("",{providedIn:"root",factory:()=>!0});function Gk(t,n){return n.map(e=>e.replace(Wg,t))}let Gg=(()=>{class t{constructor(e,i,o,r,s,a,l,c=null){this.eventManager=e,this.sharedStylesHost=i,this.appId=o,this.removeStylesOnCompDestroy=r,this.doc=s,this.platformId=a,this.ngZone=l,this.nonce=c,this.rendererByCompId=new Map,this.platformIsServer=Rk(a),this.defaultRenderer=new qg(e,s,l,this.platformIsServer)}createRenderer(e,i){if(!e||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===Yn.ShadowDom&&(i={...i,encapsulation:Yn.Emulated});const o=this.getOrCreateRenderer(e,i);return o instanceof Yk?o.applyToHost(e):o instanceof Yg&&o.applyStyles(),o}getOrCreateRenderer(e,i){const o=this.rendererByCompId;let r=o.get(i.id);if(!r){const s=this.doc,a=this.ngZone,l=this.eventManager,c=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,u=this.platformIsServer;switch(i.encapsulation){case Yn.Emulated:r=new Yk(l,c,i,this.appId,d,s,a,u);break;case Yn.ShadowDom:return new bz(l,c,e,i,s,a,this.nonce,u);default:r=new Yg(l,c,i,d,s,a,u)}o.set(i.id,r)}return r}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(i){return new(i||t)(I(zk),I($k),I(Na),I(mz),I(fe),I(gi),I(j),I(mm))};static#t=this.\u0275prov=V({token:t,factory:t.\u0275fac})}return t})();class qg{constructor(n,e,i,o){this.eventManager=n,this.doc=e,this.ngZone=i,this.platformIsServer=o,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(n,e){return e?this.doc.createElementNS($g[e]||e,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,e){(qk(n)?n.content:n).appendChild(e)}insertBefore(n,e,i){n&&(qk(n)?n.content:n).insertBefore(e,i)}removeChild(n,e){n&&n.removeChild(e)}selectRootElement(n,e){let i="string"==typeof n?this.doc.querySelector(n):n;if(!i)throw new S(-5104,!1);return e||(i.textContent=""),i}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,e,i,o){if(o){e=o+":"+e;const r=$g[o];r?n.setAttributeNS(r,e,i):n.setAttribute(e,i)}else n.setAttribute(e,i)}removeAttribute(n,e,i){if(i){const o=$g[i];o?n.removeAttributeNS(o,e):n.removeAttribute(`${i}:${e}`)}else n.removeAttribute(e)}addClass(n,e){n.classList.add(e)}removeClass(n,e){n.classList.remove(e)}setStyle(n,e,i,o){o&(ao.DashCase|ao.Important)?n.style.setProperty(e,i,o&ao.Important?"important":""):n.style[e]=i}removeStyle(n,e,i){i&ao.DashCase?n.style.removeProperty(e):n.style[e]=""}setProperty(n,e,i){null!=n&&(n[e]=i)}setValue(n,e){n.nodeValue=e}listen(n,e,i){if("string"==typeof n&&!(n=mo().getGlobalEventTarget(this.doc,n)))throw new Error(`Unsupported event target ${n} for event ${e}`);return this.eventManager.addEventListener(n,e,this.decoratePreventDefault(i))}decoratePreventDefault(n){return e=>{if("__ngUnwrap__"===e)return n;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>n(e)):n(e))&&e.preventDefault()}}}function qk(t){return"TEMPLATE"===t.tagName&&void 0!==t.content}class bz extends qg{constructor(n,e,i,o,r,s,a,l){super(n,r,s,l),this.sharedStylesHost=e,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const c=Gk(o.id,o.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,e){return super.appendChild(this.nodeOrShadowRoot(n),e)}insertBefore(n,e,i){return super.insertBefore(this.nodeOrShadowRoot(n),e,i)}removeChild(n,e){return super.removeChild(this.nodeOrShadowRoot(n),e)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Yg extends qg{constructor(n,e,i,o,r,s,a,l){super(n,r,s,a),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=o,this.styles=l?Gk(l,i.styles):i.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class Yk extends Yg{constructor(n,e,i,o,r,s,a,l){const c=o+"-"+i.id;super(n,e,i,r,s,a,l,c),this.contentAttr=function pz(t){return"_ngcontent-%COMP%".replace(Wg,t)}(c),this.hostAttr=function gz(t){return"_nghost-%COMP%".replace(Wg,t)}(c)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,e){const i=super.createElement(n,e);return super.setAttribute(i,this.contentAttr,""),i}}let vz=(()=>{class t extends Uk{constructor(e){super(e)}supports(e){return!0}addEventListener(e,i,o){return e.addEventListener(i,o,!1),()=>this.removeEventListener(e,i,o)}removeEventListener(e,i,o){return e.removeEventListener(i,o)}static#e=this.\u0275fac=function(i){return new(i||t)(I(fe))};static#t=this.\u0275prov=V({token:t,factory:t.\u0275fac})}return t})();const Xk=["alt","control","meta","shift"],yz={"\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"},wz={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};let xz=(()=>{class t extends Uk{constructor(e){super(e)}supports(e){return null!=t.parseEventName(e)}addEventListener(e,i,o){const r=t.parseEventName(i),s=t.eventCallback(r.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>mo().onAndCancel(e,r.domEventName,s))}static parseEventName(e){const i=e.toLowerCase().split("."),o=i.shift();if(0===i.length||"keydown"!==o&&"keyup"!==o)return null;const r=t._normalizeKey(i.pop());let s="",a=i.indexOf("code");if(a>-1&&(i.splice(a,1),s="code."),Xk.forEach(c=>{const d=i.indexOf(c);d>-1&&(i.splice(d,1),s+=c+".")}),s+=r,0!=i.length||0===r.length)return null;const l={};return l.domEventName=o,l.fullKey=s,l}static matchEventFullKeyCode(e,i){let o=yz[e.key]||e.key,r="";return i.indexOf("code.")>-1&&(o=e.code,r="code."),!(null==o||!o)&&(o=o.toLowerCase()," "===o?o="space":"."===o&&(o="dot"),Xk.forEach(s=>{s!==o&&(0,wz[s])(e)&&(r+=s+".")}),r+=o,r===i)}static eventCallback(e,i,o){return r=>{t.matchEventFullKeyCode(r,e)&&o.runGuarded(()=>i(r))}}static _normalizeKey(e){return"esc"===e?"escape":e}static#e=this.\u0275fac=function(i){return new(i||t)(I(fe))};static#t=this.\u0275prov=V({token:t,factory:t.\u0275fac})}return t})();const kz=IE(IH,"browser",[{provide:gi,useValue:Ak},{provide:Aw,useValue:function Cz(){jg.makeCurrent()},multi:!0},{provide:fe,useFactory:function Ez(){return function pO(t){fm=t}(document),document},deps:[]}]),Mz=new R(""),Qk=[{provide:eu,useClass:class cz{addToWindow(n){Fe.getAngularTestability=(i,o=!0)=>{const r=n.findTestabilityInTree(i,o);if(null==r)throw new S(5103,!1);return r},Fe.getAllAngularTestabilities=()=>n.getAllTestabilities(),Fe.getAllAngularRootElements=()=>n.getAllRootElements(),Fe.frameworkStabilizers||(Fe.frameworkStabilizers=[]),Fe.frameworkStabilizers.push(i=>{const o=Fe.getAllAngularTestabilities();let r=o.length;const s=function(){r--,0==r&&i()};o.forEach(a=>{a.whenStable(s)})})}findTestabilityInTree(n,e,i){return null==e?null:n.getTestability(e)??(i?mo().isShadowRoot(e)?this.findTestabilityInTree(n,e.host,!0):this.findTestabilityInTree(n,e.parentElement,!0):null)}},deps:[]},{provide:gE,useClass:lg,deps:[j,cg,eu]},{provide:lg,useClass:lg,deps:[j,cg,eu]}],Jk=[{provide:If,useValue:"root"},{provide:An,useFactory:function Dz(){return new An},deps:[]},{provide:zg,useClass:vz,multi:!0,deps:[fe,j,gi]},{provide:zg,useClass:xz,multi:!0,deps:[fe]},Gg,$k,zk,{provide:lp,useExisting:Gg},{provide:Pk,useClass:dz,deps:[]},[]];let eM=(()=>{class t{constructor(e){}static withServerTransition(e){return{ngModule:t,providers:[{provide:Na,useValue:e.appId}]}}static#e=this.\u0275fac=function(i){return new(i||t)(I(Mz,12))};static#t=this.\u0275mod=De({type:t});static#n=this.\u0275inj=ve({providers:[...Jk,...Qk],imports:[Du,TH]})}return t})(),Tl=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=V({token:t,factory:function(i){let o=null;return o=i?new(i||t):I(Az),o},providedIn:"root"})}return t})(),Az=(()=>{class t extends Tl{constructor(e){super(),this._doc=e}sanitize(e,i){if(null==i)return null;switch(e){case qt.NONE:return i;case qt.HTML:return _i(i,"HTML")?Rn(i):Zw(this._doc,String(i)).toString();case qt.STYLE:return _i(i,"Style")?Rn(i):i;case qt.SCRIPT:if(_i(i,"Script"))return Rn(i);throw new S(5200,!1);case qt.URL:return _i(i,"URL")?Rn(i):ud(String(i));case qt.RESOURCE_URL:if(_i(i,"ResourceURL"))return Rn(i);throw new S(5201,!1);default:throw new S(5202,!1)}}bypassSecurityTrustHtml(e){return function FO(t){return new SO(t)}(e)}bypassSecurityTrustStyle(e){return function LO(t){return new AO(t)}(e)}bypassSecurityTrustScript(e){return function VO(t){return new RO(t)}(e)}bypassSecurityTrustUrl(e){return function BO(t){return new PO(t)}(e)}bypassSecurityTrustResourceUrl(e){return function HO(t){return new OO(t)}(e)}static#e=this.\u0275fac=function(i){return new(i||t)(I(fe))};static#t=this.\u0275prov=V({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Ut(t,n,e,i){var s,o=arguments.length,r=o<3?n:null===i?i=Object.getOwnPropertyDescriptor(n,e):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,n,e,i);else for(var a=t.length-1;a>=0;a--)(s=t[a])&&(r=(o<3?s(r):o>3?s(n,e,r):s(n,e))||r);return o>3&&r&&Object.defineProperty(n,e,r),r}function po(t){return this instanceof po?(this.v=t,this):new po(t)}function aM(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,n=t[Symbol.asyncIterator];return n?n.call(t):(t=function Qg(t){var n="function"==typeof Symbol&&Symbol.iterator,e=n&&t[n],i=0;if(e)return e.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}(t),e={},i("next"),i("throw"),i("return"),e[Symbol.asyncIterator]=function(){return this},e);function i(r){e[r]=t[r]&&function(s){return new Promise(function(a,l){!function o(r,s,a,l){Promise.resolve(l).then(function(c){r({value:c,done:a})},s)}(a,l,(s=t[r](s)).done,s.value)})}}}"function"==typeof SuppressedError&&SuppressedError;const Jg=t=>t&&"number"==typeof t.length&&"function"!=typeof t;function lM(t){return Ce(t?.then)}function cM(t){return Ce(t[rf])}function dM(t){return Symbol.asyncIterator&&Ce(t?.[Symbol.asyncIterator])}function uM(t){return new TypeError(`You provided ${null!==t&&"object"==typeof t?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const hM=function Qz(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function fM(t){return Ce(t?.[hM])}function mM(t){return function sM(t,n,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o,i=e.apply(t,n||[]),r=[];return o=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",function s(f){return function(m){return Promise.resolve(m).then(f,u)}}),o[Symbol.asyncIterator]=function(){return this},o;function a(f,m){i[f]&&(o[f]=function(_){return new Promise(function(y,C){r.push([f,_,y,C])>1||l(f,_)})},m&&(o[f]=m(o[f])))}function l(f,m){try{!function c(f){f.value instanceof po?Promise.resolve(f.value.v).then(d,u):h(r[0][2],f)}(i[f](m))}catch(_){h(r[0][3],_)}}function d(f){l("next",f)}function u(f){l("throw",f)}function h(f,m){f(m),r.shift(),r.length&&l(r[0][0],r[0][1])}}(this,arguments,function*(){const e=t.getReader();try{for(;;){const{value:i,done:o}=yield po(e.read());if(o)return yield po(void 0);yield yield po(i)}}finally{e.releaseLock()}})}function pM(t){return Ce(t?.getReader)}function Vt(t){if(t instanceof Ue)return t;if(null!=t){if(cM(t))return function Jz(t){return new Ue(n=>{const e=t[rf]();if(Ce(e.subscribe))return e.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(t);if(Jg(t))return function eU(t){return new Ue(n=>{for(let e=0;e{t.then(e=>{n.closed||(n.next(e),n.complete())},e=>n.error(e)).then(null,Ov)})}(t);if(dM(t))return gM(t);if(fM(t))return function nU(t){return new Ue(n=>{for(const e of t)if(n.next(e),n.closed)return;n.complete()})}(t);if(pM(t))return function iU(t){return gM(mM(t))}(t)}throw uM(t)}function gM(t){return new Ue(n=>{(function oU(t,n){var e,i,o,r;return function oM(t,n,e,i){return new(e||(e=Promise))(function(r,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?r(d.value):function o(r){return r instanceof e?r:new e(function(s){s(r)})}(d.value).then(a,l)}c((i=i.apply(t,n||[])).next())})}(this,void 0,void 0,function*(){try{for(e=aM(t);!(i=yield e.next()).done;)if(n.next(i.value),n.closed)return}catch(s){o={error:s}}finally{try{i&&!i.done&&(r=e.return)&&(yield r.call(e))}finally{if(o)throw o.error}}n.complete()})})(t,n).catch(e=>n.error(e))})}function Wi(t,n,e,i=0,o=!1){const r=n.schedule(function(){e(),o?t.add(this.schedule(null,i)):this.unsubscribe()},i);if(t.add(r),!o)return r}function _M(t,n=0){return _t((e,i)=>{e.subscribe(rt(i,o=>Wi(i,t,()=>i.next(o),n),()=>Wi(i,t,()=>i.complete(),n),o=>Wi(i,t,()=>i.error(o),n)))})}function bM(t,n=0){return _t((e,i)=>{i.add(t.schedule(()=>e.subscribe(i),n))})}function vM(t,n){if(!t)throw new Error("Iterable cannot be null");return new Ue(e=>{Wi(e,n,()=>{const i=t[Symbol.asyncIterator]();Wi(e,n,()=>{i.next().then(o=>{o.done?e.complete():e.next(o.value)})},0,!0)})})}function go(t,n){return n?function dU(t,n){if(null!=t){if(cM(t))return function rU(t,n){return Vt(t).pipe(bM(n),_M(n))}(t,n);if(Jg(t))return function aU(t,n){return new Ue(e=>{let i=0;return n.schedule(function(){i===t.length?e.complete():(e.next(t[i++]),e.closed||this.schedule())})})}(t,n);if(lM(t))return function sU(t,n){return Vt(t).pipe(bM(n),_M(n))}(t,n);if(dM(t))return vM(t,n);if(fM(t))return function lU(t,n){return new Ue(e=>{let i;return Wi(e,n,()=>{i=t[hM](),Wi(e,n,()=>{let o,r;try{({value:o,done:r}=i.next())}catch(s){return void e.error(s)}r?e.complete():e.next(o)},0,!0)}),()=>Ce(i?.return)&&i.return()})}(t,n);if(pM(t))return function cU(t,n){return vM(mM(t),n)}(t,n)}throw uM(t)}(t,n):Vt(t)}const{isArray:uU}=Array,{getPrototypeOf:hU,prototype:fU,keys:mU}=Object;function yM(t){if(1===t.length){const n=t[0];if(uU(n))return{args:n,keys:null};if(function pU(t){return t&&"object"==typeof t&&hU(t)===fU}(n)){const e=mU(n);return{args:e.map(i=>n[i]),keys:e}}}return{args:t,keys:null}}function wM(t){return t&&Ce(t.schedule)}function e_(t){return t[t.length-1]}function xM(t){return Ce(e_(t))?t.pop():void 0}function Al(t){return wM(e_(t))?t.pop():void 0}const{isArray:_U}=Array;function t_(t){return We(n=>function bU(t,n){return _U(n)?t(...n):t(n)}(t,n))}function CM(t,n){return t.reduce((e,i,o)=>(e[i]=n[o],e),{})}function DM(...t){const n=xM(t),{args:e,keys:i}=yM(t),o=new Ue(r=>{const{length:s}=e;if(!s)return void r.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||r.next(i?CM(i,a):a),r.complete())}))}});return n?o.pipe(t_(n)):o}let EM=(()=>{class t{constructor(e,i){this._renderer=e,this._elementRef=i,this.onChange=o=>{},this.onTouched=()=>{}}setProperty(e,i){this._renderer.setProperty(this._elementRef.nativeElement,e,i)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}static#e=this.\u0275fac=function(i){return new(i||t)(p(Zo),p(Y))};static#t=this.\u0275dir=O({type:t})}return t})(),cr=(()=>{class t extends EM{static#e=this.\u0275fac=(()=>{let e;return function(o){return(e||(e=we(t)))(o||t)}})();static#t=this.\u0275dir=O({type:t,features:[z]})}return t})();const Ln=new R(""),yU={provide:Ln,useExisting:Le(()=>_o),multi:!0},xU=new R("");let _o=(()=>{class t extends EM{constructor(e,i,o){super(e,i),this._compositionMode=o,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function wU(){const t=mo()?mo().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}())}writeValue(e){this.setProperty("value",e??"")}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}static#e=this.\u0275fac=function(i){return new(i||t)(p(Zo),p(Y),p(xU,8))};static#t=this.\u0275dir=O({type:t,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(i,o){1&i&&A("input",function(s){return o._handleInput(s.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(s){return o._compositionEnd(s.target.value)})},features:[Z([yU]),z]})}return t})();function bo(t){return null==t||("string"==typeof t||Array.isArray(t))&&0===t.length}function MM(t){return null!=t&&"number"==typeof t.length}const $t=new R(""),vo=new R(""),CU=/^(?=.{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 DU{static min(n){return function IM(t){return n=>{if(bo(n.value)||bo(t))return null;const e=parseFloat(n.value);return!isNaN(e)&&e{if(bo(n.value)||bo(t))return null;const e=parseFloat(n.value);return!isNaN(e)&&e>t?{max:{max:t,actual:n.value}}:null}}(n)}static required(n){return function SM(t){return bo(t.value)?{required:!0}:null}(n)}static requiredTrue(n){return function AM(t){return!0===t.value?null:{required:!0}}(n)}static email(n){return function RM(t){return bo(t.value)||CU.test(t.value)?null:{email:!0}}(n)}static minLength(n){return function PM(t){return n=>bo(n.value)||!MM(n.value)?null:n.value.lengthMM(n.value)&&n.value.length>t?{maxlength:{requiredLength:t,actualLength:n.value.length}}:null}(n)}static pattern(n){return function NM(t){if(!t)return Iu;let n,e;return"string"==typeof t?(e="","^"!==t.charAt(0)&&(e+="^"),e+=t,"$"!==t.charAt(t.length-1)&&(e+="$"),n=new RegExp(e)):(e=t.toString(),n=t),i=>{if(bo(i.value))return null;const o=i.value;return n.test(o)?null:{pattern:{requiredPattern:e,actualValue:o}}}}(n)}static nullValidator(n){return null}static compose(n){return jM(n)}static composeAsync(n){return zM(n)}}function Iu(t){return null}function FM(t){return null!=t}function LM(t){return tu(t)?go(t):t}function VM(t){let n={};return t.forEach(e=>{n=null!=e?{...n,...e}:n}),0===Object.keys(n).length?null:n}function BM(t,n){return n.map(e=>e(t))}function HM(t){return t.map(n=>function EU(t){return!t.validate}(n)?n:e=>n.validate(e))}function jM(t){if(!t)return null;const n=t.filter(FM);return 0==n.length?null:function(e){return VM(BM(e,n))}}function n_(t){return null!=t?jM(HM(t)):null}function zM(t){if(!t)return null;const n=t.filter(FM);return 0==n.length?null:function(e){return DM(BM(e,n).map(LM)).pipe(We(VM))}}function i_(t){return null!=t?zM(HM(t)):null}function UM(t,n){return null===t?[n]:Array.isArray(t)?[...t,n]:[t,n]}function $M(t){return t._rawValidators}function WM(t){return t._rawAsyncValidators}function o_(t){return t?Array.isArray(t)?t:[t]:[]}function Tu(t,n){return Array.isArray(t)?t.includes(n):t===n}function GM(t,n){const e=o_(n);return o_(t).forEach(o=>{Tu(e,o)||e.push(o)}),e}function qM(t,n){return o_(n).filter(e=>!Tu(t,e))}class YM{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=n_(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=i_(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,e){return!!this.control&&this.control.hasError(n,e)}getError(n,e){return this.control?this.control.getError(n,e):null}}class pn extends YM{get formDirective(){return null}get path(){return null}}class Gi extends YM{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class XM{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 Hs=(()=>{class t extends XM{constructor(e){super(e)}static#e=this.\u0275fac=function(i){return new(i||t)(p(Gi,2))};static#t=this.\u0275dir=O({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,o){2&i&&xe("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)},features:[z]})}return t})();const Rl="VALID",Au="INVALID",js="PENDING",Pl="DISABLED";function a_(t){return(Ru(t)?t.validators:t)||null}function l_(t,n){return(Ru(n)?n.asyncValidators:t)||null}function Ru(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}class c_{constructor(n,e){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(e)}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===Rl}get invalid(){return this.status===Au}get pending(){return this.status==js}get disabled(){return this.status===Pl}get enabled(){return this.status!==Pl}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(GM(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(GM(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(qM(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(qM(n,this._rawAsyncValidators))}hasValidator(n){return Tu(this._rawValidators,n)}hasAsyncValidator(n){return Tu(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(e=>{e.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(e=>{e.markAsPristine({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}markAsPending(n={}){this.status=js,!1!==n.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!n.onlySelf&&this._parent.markAsPending(n)}disable(n={}){const e=this._parentMarkedDirty(n.onlySelf);this.status=Pl,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:e}),this._onDisabledChange.forEach(i=>i(!0))}enable(n={}){const e=this._parentMarkedDirty(n.onlySelf);this.status=Rl,this._forEachChild(i=>{i.enable({...n,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors({...n,skipPristineCheck:e}),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===Rl||this.status===js)&&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(e=>e._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Pl:Rl}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n){if(this.asyncValidator){this.status=js,this._hasOwnPendingAsyncValidator=!0;const e=LM(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(i=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(i,{emitEvent:n})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(n,e={}){this.errors=n,this._updateControlsErrors(!1!==e.emitEvent)}get(n){let e=n;return null==e||(Array.isArray(e)||(e=e.split(".")),0===e.length)?null:e.reduce((i,o)=>i&&i._find(o),this)}getError(n,e){const i=e?this.get(e):this;return i&&i.errors?i.errors[n]:null}hasError(n,e){return!!this.getError(n,e)}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 J,this.statusChanges=new J}_calculateStatus(){return this._allControlsDisabled()?Pl:this.errors?Au:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(js)?js:this._anyControlsHaveStatus(Au)?Au:Rl}_anyControlsHaveStatus(n){return this._anyControls(e=>e.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){Ru(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 SU(t){return Array.isArray(t)?n_(t):t||null}(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=function AU(t){return Array.isArray(t)?i_(t):t||null}(this._rawAsyncValidators)}}class d_ extends c_{constructor(n,e,i){super(a_(e),l_(i,e)),this.controls=n,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(n,e){return this.controls[n]?this.controls[n]:(this.controls[n]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(n,e,i={}){this.registerControl(n,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}removeControl(n,e={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(n,e,i={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],e&&this.registerControl(n,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}contains(n){return this.controls.hasOwnProperty(n)&&this.controls[n].enabled}setValue(n,e={}){(function QM(t,n,e){t._forEachChild((i,o)=>{if(void 0===e[o])throw new S(1002,"")})})(this,0,n),Object.keys(n).forEach(i=>{(function KM(t,n,e){const i=t.controls;if(!(n?Object.keys(i):i).length)throw new S(1e3,"");if(!i[e])throw new S(1001,"")})(this,!0,i),this.controls[i].setValue(n[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(n,e={}){null!=n&&(Object.keys(n).forEach(i=>{const o=this.controls[i];o&&o.patchValue(n[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(n={},e={}){this._forEachChild((i,o)=>{i.reset(n?n[o]:null,{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(n,e,i)=>(n[i]=e.getRawValue(),n))}_syncPendingControls(){let n=this._reduceChildren(!1,(e,i)=>!!i._syncPendingControls()||e);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){Object.keys(this.controls).forEach(e=>{const i=this.controls[e];i&&n(i,e)})}_setUpControls(){this._forEachChild(n=>{n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(n){for(const[e,i]of Object.entries(this.controls))if(this.contains(e)&&n(i))return!0;return!1}_reduceValue(){return this._reduceChildren({},(e,i,o)=>((i.enabled||this.disabled)&&(e[o]=i.value),e))}_reduceChildren(n,e){let i=n;return this._forEachChild((o,r)=>{i=e(i,o,r)}),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}}const zs=new R("CallSetDisabledState",{providedIn:"root",factory:()=>Pu}),Pu="always";function Ol(t,n,e=Pu){u_(t,n),n.valueAccessor.writeValue(t.value),(t.disabled||"always"===e)&&n.valueAccessor.setDisabledState?.(t.disabled),function OU(t,n){n.valueAccessor.registerOnChange(e=>{t._pendingValue=e,t._pendingChange=!0,t._pendingDirty=!0,"change"===t.updateOn&&JM(t,n)})}(t,n),function FU(t,n){const e=(i,o)=>{n.valueAccessor.writeValue(i),o&&n.viewToModelUpdate(i)};t.registerOnChange(e),n._registerOnDestroy(()=>{t._unregisterOnChange(e)})}(t,n),function NU(t,n){n.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,"blur"===t.updateOn&&t._pendingChange&&JM(t,n),"submit"!==t.updateOn&&t.markAsTouched()})}(t,n),function PU(t,n){if(n.valueAccessor.setDisabledState){const e=i=>{n.valueAccessor.setDisabledState(i)};t.registerOnDisabledChange(e),n._registerOnDestroy(()=>{t._unregisterOnDisabledChange(e)})}}(t,n)}function Nu(t,n,e=!0){const i=()=>{};n.valueAccessor&&(n.valueAccessor.registerOnChange(i),n.valueAccessor.registerOnTouched(i)),Lu(t,n),t&&(n._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function Fu(t,n){t.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(n)})}function u_(t,n){const e=$M(t);null!==n.validator?t.setValidators(UM(e,n.validator)):"function"==typeof e&&t.setValidators([e]);const i=WM(t);null!==n.asyncValidator?t.setAsyncValidators(UM(i,n.asyncValidator)):"function"==typeof i&&t.setAsyncValidators([i]);const o=()=>t.updateValueAndValidity();Fu(n._rawValidators,o),Fu(n._rawAsyncValidators,o)}function Lu(t,n){let e=!1;if(null!==t){if(null!==n.validator){const o=$M(t);if(Array.isArray(o)&&o.length>0){const r=o.filter(s=>s!==n.validator);r.length!==o.length&&(e=!0,t.setValidators(r))}}if(null!==n.asyncValidator){const o=WM(t);if(Array.isArray(o)&&o.length>0){const r=o.filter(s=>s!==n.asyncValidator);r.length!==o.length&&(e=!0,t.setAsyncValidators(r))}}}const i=()=>{};return Fu(n._rawValidators,i),Fu(n._rawAsyncValidators,i),e}function JM(t,n){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function eI(t,n){u_(t,n)}function tI(t,n){t._syncPendingControls(),n.forEach(e=>{const i=e.control;"submit"===i.updateOn&&i._pendingChange&&(e.viewToModelUpdate(i._pendingValue),i._pendingChange=!1)})}const jU={provide:pn,useExisting:Le(()=>Vu)},Nl=Promise.resolve();let Vu=(()=>{class t extends pn{constructor(e,i,o){super(),this.callSetDisabledState=o,this.submitted=!1,this._directives=new Set,this.ngSubmit=new J,this.form=new d_({},n_(e),i_(i))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){Nl.then(()=>{const i=this._findContainer(e.path);e.control=i.registerControl(e.name,e.control),Ol(e.control,e,this.callSetDisabledState),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){Nl.then(()=>{const i=this._findContainer(e.path);i&&i.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){Nl.then(()=>{const i=this._findContainer(e.path),o=new d_({});eI(o,e),i.registerControl(e.name,o),o.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){Nl.then(()=>{const i=this._findContainer(e.path);i&&i.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,i){Nl.then(()=>{this.form.get(e.path).setValue(i)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submitted=!0,tI(this.form,this._directives),this.ngSubmit.emit(e),"dialog"===e?.target?.method}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}static#e=this.\u0275fac=function(i){return new(i||t)(p($t,10),p(vo,10),p(zs,8))};static#t=this.\u0275dir=O({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(i,o){1&i&&A("submit",function(s){return o.onSubmit(s)})("reset",function(){return o.onReset()})},inputs:{options:[P.None,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Z([jU]),z]})}return t})();function nI(t,n){const e=t.indexOf(n);e>-1&&t.splice(e,1)}function iI(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t}const oI=class extends c_{constructor(n=null,e,i){super(a_(e),l_(i,e)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(n),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Ru(e)&&(e.nonNullable||e.initialValueIsDefault)&&(this.defaultValue=iI(n)?n.value:n)}setValue(n,e={}){this.value=this._pendingValue=n,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(i=>i(this.value,!1!==e.emitViewToModelChange)),this.updateValueAndValidity(e)}patchValue(n,e={}){this.setValue(n,e)}reset(n=this.defaultValue,e={}){this._applyFormState(n),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){nI(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){nI(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){iI(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}},$U={provide:Gi,useExisting:Le(()=>dr)},aI=Promise.resolve();let dr=(()=>{class t extends Gi{constructor(e,i,o,r,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this.control=new oI,this._registered=!1,this.name="",this.update=new J,this._parent=e,this._setValidators(i),this._setAsyncValidators(o),this.valueAccessor=function m_(t,n){if(!n)return null;let e,i,o;return Array.isArray(n),n.forEach(r=>{r.constructor===_o?e=r:function BU(t){return Object.getPrototypeOf(t.constructor)===cr}(r)?i=r:o=r}),o||i||e||null}(0,r)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){const i=e.name.previousValue;this.formDirective.removeControl({name:i,path:this._getPath(i)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),function f_(t,n){if(!t.hasOwnProperty("model"))return!1;const e=t.model;return!!e.isFirstChange()||!Object.is(n,e.currentValue)}(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){Ol(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(e){aI.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(e){const i=e.isDisabled.currentValue,o=0!==i&&Ie(i);aI.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(e){return this._parent?function Ou(t,n){return[...n.path,t]}(e,this._parent):[e]}static#e=this.\u0275fac=function(i){return new(i||t)(p(pn,9),p($t,10),p(vo,10),p(Ln,10),p(zt,8),p(zs,8))};static#t=this.\u0275dir=O({type:t,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[P.None,"disabled","isDisabled"],model:[P.None,"ngModel","model"],options:[P.None,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[Z([$U]),z,Ht]})}return t})();const KU={provide:pn,useExisting:Le(()=>Bu)};let Bu=(()=>{class t extends pn{constructor(e,i,o){super(),this.callSetDisabledState=o,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new J,this._setValidators(e),this._setAsyncValidators(i)}ngOnChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Lu(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){const i=this.form.get(e.path);return Ol(i,e,this.callSetDisabledState),i.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),i}getControl(e){return this.form.get(e.path)}removeControl(e){Nu(e.control||null,e,!1),function HU(t,n){const e=t.indexOf(n);e>-1&&t.splice(e,1)}(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}getFormArray(e){return this.form.get(e.path)}updateModel(e,i){this.form.get(e.path).setValue(i)}onSubmit(e){return this.submitted=!0,tI(this.form,this.directives),this.ngSubmit.emit(e),"dialog"===e?.target?.method}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this.submitted=!1}_updateDomValue(){this.directives.forEach(e=>{const i=e.control,o=this.form.get(e.path);i!==o&&(Nu(i||null,e),(t=>t instanceof oI)(o)&&(Ol(o,e,this.callSetDisabledState),e.control=o))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){const i=this.form.get(e.path);eI(i,e),i.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){const i=this.form.get(e.path);i&&function LU(t,n){return Lu(t,n)}(i,e)&&i.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){u_(this.form,this),this._oldForm&&Lu(this._oldForm,this)}_checkFormPresent(){}static#e=this.\u0275fac=function(i){return new(i||t)(p($t,10),p(vo,10),p(zs,8))};static#t=this.\u0275dir=O({type:t,selectors:[["","formGroup",""]],hostBindings:function(i,o){1&i&&A("submit",function(s){return o.onSubmit(s)})("reset",function(){return o.onReset()})},inputs:{form:[P.None,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Z([KU]),z,Ht]})}return t})(),g5=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=De({type:t});static#n=this.\u0275inj=ve({})}return t})(),b5=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:zs,useValue:e.callSetDisabledState??Pu}]}}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=De({type:t});static#n=this.\u0275inj=ve({imports:[g5]})}return t})();var oe=function(t){return t[t.State=0]="State",t[t.Transition=1]="Transition",t[t.Sequence=2]="Sequence",t[t.Group=3]="Group",t[t.Animate=4]="Animate",t[t.Keyframes=5]="Keyframes",t[t.Style=6]="Style",t[t.Trigger=7]="Trigger",t[t.Reference=8]="Reference",t[t.AnimateChild=9]="AnimateChild",t[t.AnimateRef=10]="AnimateRef",t[t.Query=11]="Query",t[t.Stagger=12]="Stagger",t}(oe||{});const qi="*";function gn(t,n){return{type:oe.Trigger,name:t,definitions:n,options:{}}}function ht(t,n=null){return{type:oe.Animate,styles:n,timings:t}}function he(t){return{type:oe.Style,styles:t,offset:null}}function ft(t,n,e){return{type:oe.State,name:t,styles:n,options:e}}function Hu(t){return{type:oe.Keyframes,steps:t}}function nt(t,n,e=null){return{type:oe.Transition,expr:t,animation:n,options:e}}function w_(t=null){return{type:oe.AnimateChild,options:t}}function x_(t,n,e=null){return{type:oe.Query,selector:t,animation:n,options:e}}class Fl{constructor(n=0,e=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+e}_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 e="start"==n?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}class kI{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 e=0,i=0,o=0;const r=this.players.length;0==r?queueMicrotask(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++e==r&&this._onFinish()}),s.onDestroy(()=>{++i==r&&this._onDestroy()}),s.onStart(()=>{++o==r&&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 e=n*this.totalTime;this.players.forEach(i=>{const o=i.totalTime?Math.min(1,e/i.totalTime):1;i.setPosition(o)})}getPosition(){const n=this.players.reduce((e,i)=>null===e||i.totalTime>e.totalTime?i:e,null);return null!=n?n.getPosition():0}beforeDestroy(){this.players.forEach(n=>{n.beforeDestroy&&n.beforeDestroy()})}triggerCallback(n){const e="start"==n?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}function MI(t){return new S(3e3,!1)}function yo(t){switch(t.length){case 0:return new Fl;case 1:return t[0];default:return new kI(t)}}function II(t,n,e=new Map,i=new Map){const o=[],r=[];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 m=f,_=h;if("offset"!==f)switch(m=t.normalizePropertyName(m,o),_){case"!":_=e.get(f);break;case qi:_=i.get(f);break;default:_=t.normalizeStyleValue(f,m,_,o)}u.set(m,_)}),d||r.push(u),a=u,s=c}),o.length)throw function G5(t){return new S(3502,!1)}();return r}function D_(t,n,e,i){switch(n){case"start":t.onStart(()=>i(e&&E_(e,"start",t)));break;case"done":t.onDone(()=>i(e&&E_(e,"done",t)));break;case"destroy":t.onDestroy(()=>i(e&&E_(e,"destroy",t)))}}function E_(t,n,e){const r=k_(t.element,t.triggerName,t.fromState,t.toState,n||t.phaseName,e.totalTime??t.totalTime,!!e.disabled),s=t._data;return null!=s&&(r._data=s),r}function k_(t,n,e,i,o="",r=0,s){return{element:t,triggerName:n,fromState:e,toState:i,phaseName:o,totalTime:r,disabled:!!s}}function Vn(t,n,e){let i=t.get(n);return i||t.set(n,i=e),i}function TI(t){const n=t.indexOf(":");return[t.substring(1,n),t.slice(n+1)]}const o8=typeof document>"u"?null:document.documentElement;function M_(t){const n=t.parentNode||t.host||null;return n===o8?null:n}let hr=null,SI=!1;function AI(t,n){for(;n;){if(n===t)return!0;n=M_(n)}return!1}function RI(t,n,e){if(e)return Array.from(t.querySelectorAll(n));const i=t.querySelector(n);return i?[i]:[]}let I_=(()=>{class t{validateStyleProperty(e){return function s8(t){hr||(hr=function a8(){return typeof document<"u"?document.body:null}()||{},SI=!!hr.style&&"WebkitAppearance"in hr.style);let n=!0;return hr.style&&!function r8(t){return"ebkit"==t.substring(1,6)}(t)&&(n=t in hr.style,!n&&SI&&(n="Webkit"+t.charAt(0).toUpperCase()+t.slice(1)in hr.style)),n}(e)}matchesElement(e,i){return!1}containsElement(e,i){return AI(e,i)}getParentElement(e){return M_(e)}query(e,i,o){return RI(e,i,o)}computeStyle(e,i,o){return o||""}animate(e,i,o,r,s,a=[],l){return new Fl(o,r)}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=V({token:t,factory:t.\u0275fac})}return t})();class T_{static#e=this.NOOP=new I_}class S_{}const c8=1e3,A_="ng-enter",ju="ng-leave",zu="ng-trigger",Uu=".ng-trigger",OI="ng-animating",R_=".ng-animating";function Yi(t){if("number"==typeof t)return t;const n=t.match(/^(-?[\.\d]+)(m?s)/);return!n||n.length<2?0:P_(parseFloat(n[1]),n[2])}function P_(t,n){return"s"===n?t*c8:t}function $u(t,n,e){return t.hasOwnProperty("duration")?t:function u8(t,n,e){let o,r=0,s="";if("string"==typeof t){const a=t.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===a)return n.push(MI()),{duration:0,delay:0,easing:""};o=P_(parseFloat(a[1]),a[2]);const l=a[3];null!=l&&(r=P_(parseFloat(l),a[4]));const c=a[5];c&&(s=c)}else o=t;if(!e){let a=!1,l=n.length;o<0&&(n.push(function D5(){return new S(3100,!1)}()),a=!0),r<0&&(n.push(function E5(){return new S(3101,!1)}()),a=!0),a&&n.splice(l,0,MI())}return{duration:o,delay:r,easing:s}}(t,n,e)}function ki(t,n,e){n.forEach((i,o)=>{const r=N_(o);e&&!e.has(o)&&e.set(o,t.style[r]),t.style[r]=i})}function fr(t,n){n.forEach((e,i)=>{const o=N_(i);t.style[o]=""})}function Ll(t){return Array.isArray(t)?1==t.length?t[0]:function v5(t,n=null){return{type:oe.Sequence,steps:t,options:n}}(t):t}const O_=new RegExp("{{\\s*(.+?)\\s*}}","g");function FI(t){let n=[];if("string"==typeof t){let e;for(;e=O_.exec(t);)n.push(e[1]);O_.lastIndex=0}return n}function Vl(t,n,e){const i=`${t}`,o=i.replace(O_,(r,s)=>{let a=n[s];return null==a&&(e.push(function M5(t){return new S(3003,!1)}()),a=""),a.toString()});return o==i?t:o}const m8=/-+([a-z0-9])/g;function N_(t){return t.replace(m8,(...n)=>n[1].toUpperCase())}function Bn(t,n,e){switch(n.type){case oe.Trigger:return t.visitTrigger(n,e);case oe.State:return t.visitState(n,e);case oe.Transition:return t.visitTransition(n,e);case oe.Sequence:return t.visitSequence(n,e);case oe.Group:return t.visitGroup(n,e);case oe.Animate:return t.visitAnimate(n,e);case oe.Keyframes:return t.visitKeyframes(n,e);case oe.Style:return t.visitStyle(n,e);case oe.Reference:return t.visitReference(n,e);case oe.AnimateChild:return t.visitAnimateChild(n,e);case oe.AnimateRef:return t.visitAnimateRef(n,e);case oe.Query:return t.visitQuery(n,e);case oe.Stagger:return t.visitStagger(n,e);default:throw function I5(t){return new S(3004,!1)}()}}function F_(t,n){return window.getComputedStyle(t)[n]}const _8=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 LI extends S_{normalizePropertyName(n,e){return N_(n)}normalizeStyleValue(n,e,i,o){let r="";const s=i.toString().trim();if(_8.has(e)&&0!==i&&"0"!==i)if("number"==typeof i)r="px";else{const a=i.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&0==a[1].length&&o.push(function T5(t,n){return new S(3005,!1)}())}return s+r}}const Wu="*";const Gu=new Set(["true","1"]),qu=new Set(["false","0"]);function VI(t,n){const e=Gu.has(t)||qu.has(t),i=Gu.has(n)||qu.has(n);return(o,r)=>{let s=t==Wu||t==o,a=n==Wu||n==r;return!s&&e&&"boolean"==typeof o&&(s=o?Gu.has(t):qu.has(t)),!a&&i&&"boolean"==typeof r&&(a=r?Gu.has(n):qu.has(n)),s&&a}}const w8=new RegExp("s*:selfs*,?","g");function L_(t,n,e,i){return new x8(t).build(n,e,i)}class x8{constructor(n){this._driver=n}build(n,e,i){const o=new E8(e);return this._resetContextStyleTimingState(o),Bn(this,Ll(n),o)}_resetContextStyleTimingState(n){n.currentQuerySelector="",n.collectedStyles=new Map,n.collectedStyles.set("",new Map),n.currentTime=0}visitTrigger(n,e){let i=e.queryCount=0,o=e.depCount=0;const r=[],s=[];return"@"==n.name.charAt(0)&&e.errors.push(function S5(){return new S(3006,!1)}()),n.definitions.forEach(a=>{if(this._resetContextStyleTimingState(e),a.type==oe.State){const l=a,c=l.name;c.toString().split(/\s*,\s*/).forEach(d=>{l.name=d,r.push(this.visitState(l,e))}),l.name=c}else if(a.type==oe.Transition){const l=this.visitTransition(a,e);i+=l.queryCount,o+=l.depCount,s.push(l)}else e.errors.push(function A5(){return new S(3007,!1)}())}),{type:oe.Trigger,name:n.name,states:r,transitions:s,queryCount:i,depCount:o,options:null}}visitState(n,e){const i=this.visitStyle(n.styles,e),o=n.options&&n.options.params||null;if(i.containsDynamicStyles){const r=new Set,s=o||{};i.styles.forEach(a=>{a instanceof Map&&a.forEach(l=>{FI(l).forEach(c=>{s.hasOwnProperty(c)||r.add(c)})})}),r.size&&e.errors.push(function R5(t,n){return new S(3008,!1)}(0,r.values()))}return{type:oe.State,name:n.name,style:i,options:o?{params:o}:null}}visitTransition(n,e){e.queryCount=0,e.depCount=0;const i=Bn(this,Ll(n.animation),e),o=function b8(t,n){const e=[];return"string"==typeof t?t.split(/\s*,\s*/).forEach(i=>function v8(t,n,e){if(":"==t[0]){const l=function y8(t,n){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,i)=>parseFloat(i)>parseFloat(e);case":decrement":return(e,i)=>parseFloat(i) *"}}(t,e);if("function"==typeof l)return void n.push(l);t=l}const i=t.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return e.push(function j5(t){return new S(3015,!1)}()),n;const o=i[1],r=i[2],s=i[3];n.push(VI(o,s)),"<"==r[0]&&(o!=Wu||s!=Wu)&&n.push(VI(s,o))}(i,e,n)):e.push(t),e}(n.expr,e.errors);return{type:oe.Transition,matchers:o,animation:i,queryCount:e.queryCount,depCount:e.depCount,options:mr(n.options)}}visitSequence(n,e){return{type:oe.Sequence,steps:n.steps.map(i=>Bn(this,i,e)),options:mr(n.options)}}visitGroup(n,e){const i=e.currentTime;let o=0;const r=n.steps.map(s=>{e.currentTime=i;const a=Bn(this,s,e);return o=Math.max(o,e.currentTime),a});return e.currentTime=o,{type:oe.Group,steps:r,options:mr(n.options)}}visitAnimate(n,e){const i=function M8(t,n){if(t.hasOwnProperty("duration"))return t;if("number"==typeof t)return V_($u(t,n).duration,0,"");const e=t;if(e.split(/\s+/).some(r=>"{"==r.charAt(0)&&"{"==r.charAt(1))){const r=V_(0,0,"");return r.dynamic=!0,r.strValue=e,r}const o=$u(e,n);return V_(o.duration,o.delay,o.easing)}(n.timings,e.errors);e.currentAnimateTimings=i;let o,r=n.styles?n.styles:he({});if(r.type==oe.Keyframes)o=this.visitKeyframes(r,e);else{let s=n.styles,a=!1;if(!s){a=!0;const c={};i.easing&&(c.easing=i.easing),s=he(c)}e.currentTime+=i.duration+i.delay;const l=this.visitStyle(s,e);l.isEmptyStep=a,o=l}return e.currentAnimateTimings=null,{type:oe.Animate,timings:i,style:o,options:null}}visitStyle(n,e){const i=this._makeStyleAst(n,e);return this._validateStyleAst(i,e),i}_makeStyleAst(n,e){const i=[],o=Array.isArray(n.styles)?n.styles:[n.styles];for(let a of o)"string"==typeof a?a===qi?i.push(a):e.errors.push(new S(3002,!1)):i.push(new Map(Object.entries(a)));let r=!1,s=null;return i.forEach(a=>{if(a instanceof Map&&(a.has("easing")&&(s=a.get("easing"),a.delete("easing")),!r))for(let l of a.values())if(l.toString().indexOf("{{")>=0){r=!0;break}}),{type:oe.Style,styles:i,easing:s,offset:n.offset,containsDynamicStyles:r,options:null}}_validateStyleAst(n,e){const i=e.currentAnimateTimings;let o=e.currentTime,r=e.currentTime;i&&r>0&&(r-=i.duration+i.delay),n.styles.forEach(s=>{"string"!=typeof s&&s.forEach((a,l)=>{const c=e.collectedStyles.get(e.currentQuerySelector),d=c.get(l);let u=!0;d&&(r!=o&&r>=d.startTime&&o<=d.endTime&&(e.errors.push(function O5(t,n,e,i,o){return new S(3010,!1)}()),u=!1),r=d.startTime),u&&c.set(l,{startTime:r,endTime:o}),e.options&&function f8(t,n,e){const i=n.params||{},o=FI(t);o.length&&o.forEach(r=>{i.hasOwnProperty(r)||e.push(function k5(t){return new S(3001,!1)}())})}(a,e.options,e.errors)})})}visitKeyframes(n,e){const i={type:oe.Keyframes,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push(function N5(){return new S(3011,!1)}()),i;let r=0;const s=[];let a=!1,l=!1,c=0;const d=n.steps.map(C=>{const D=this._makeStyleAst(C,e);let N=null!=D.offset?D.offset:function k8(t){if("string"==typeof t)return null;let n=null;if(Array.isArray(t))t.forEach(e=>{if(e instanceof Map&&e.has("offset")){const i=e;n=parseFloat(i.get("offset")),i.delete("offset")}});else if(t instanceof Map&&t.has("offset")){const e=t;n=parseFloat(e.get("offset")),e.delete("offset")}return n}(D.styles),H=0;return null!=N&&(r++,H=D.offset=N),l=l||H<0||H>1,a=a||H0&&r{const N=h>0?D==f?1:h*D:s[D],H=N*y;e.currentTime=m+_.delay+H,_.duration=H,this._validateStyleAst(C,e),C.offset=N,i.styles.push(C)}),i}visitReference(n,e){return{type:oe.Reference,animation:Bn(this,Ll(n.animation),e),options:mr(n.options)}}visitAnimateChild(n,e){return e.depCount++,{type:oe.AnimateChild,options:mr(n.options)}}visitAnimateRef(n,e){return{type:oe.AnimateRef,animation:this.visitReference(n.animation,e),options:mr(n.options)}}visitQuery(n,e){const i=e.currentQuerySelector,o=n.options||{};e.queryCount++,e.currentQuery=n;const[r,s]=function C8(t){const n=!!t.split(/\s*,\s*/).find(e=>":self"==e);return n&&(t=t.replace(w8,"")),t=t.replace(/@\*/g,Uu).replace(/@\w+/g,e=>Uu+"-"+e.slice(1)).replace(/:animating/g,R_),[t,n]}(n.selector);e.currentQuerySelector=i.length?i+" "+r:r,Vn(e.collectedStyles,e.currentQuerySelector,new Map);const a=Bn(this,Ll(n.animation),e);return e.currentQuery=null,e.currentQuerySelector=i,{type:oe.Query,selector:r,limit:o.limit||0,optional:!!o.optional,includeSelf:s,animation:a,originalSelector:n.selector,options:mr(n.options)}}visitStagger(n,e){e.currentQuery||e.errors.push(function B5(){return new S(3013,!1)}());const i="full"===n.timings?{duration:0,delay:0,easing:"full"}:$u(n.timings,e.errors,!0);return{type:oe.Stagger,animation:Bn(this,Ll(n.animation),e),timings:i,options:null}}}class E8{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 mr(t){return t?(t={...t}).params&&(t.params=function D8(t){return t?{...t}:null}(t.params)):t={},t}function V_(t,n,e){return{duration:t,delay:n,easing:e}}function B_(t,n,e,i,o,r,s=null,a=!1){return{type:1,element:t,keyframes:n,preStyleProps:e,postStyleProps:i,duration:o,delay:r,totalTime:o+r,easing:s,subTimeline:a}}class Yu{constructor(){this._map=new Map}get(n){return this._map.get(n)||[]}append(n,e){let i=this._map.get(n);i||this._map.set(n,i=[]),i.push(...e)}has(n){return this._map.has(n)}clear(){this._map.clear()}}const S8=new RegExp(":enter","g"),R8=new RegExp(":leave","g");function H_(t,n,e,i,o,r=new Map,s=new Map,a,l,c=[]){return(new P8).buildKeyframes(t,n,e,i,o,r,s,a,l,c)}class P8{buildKeyframes(n,e,i,o,r,s,a,l,c,d=[]){c=c||new Yu;const u=new j_(n,e,c,o,r,d,[]);u.options=l;const h=l.delay?Yi(l.delay):0;u.currentTimeline.delayNextStep(h),u.currentTimeline.setStyles([s],null,u.errors,l),Bn(this,i,u);const f=u.timelines.filter(m=>m.containsAnimation());if(f.length&&a.size){let m;for(let _=f.length-1;_>=0;_--){const y=f[_];if(y.element===e){m=y;break}}m&&!m.allowOnlyTimelineStyles()&&m.setStyles([a],null,u.errors,l)}return f.length?f.map(m=>m.buildKeyframes()):[B_(e,[],[],[],0,h,"",!1)]}visitTrigger(n,e){}visitState(n,e){}visitTransition(n,e){}visitAnimateChild(n,e){const i=e.subInstructions.get(e.element);if(i){const o=e.createSubContext(n.options),r=e.currentTimeline.currentTime,s=this._visitSubInstructions(i,o,o.options);r!=s&&e.transformIntoNewTimeline(s)}e.previousNode=n}visitAnimateRef(n,e){const i=e.createSubContext(n.options);i.transformIntoNewTimeline(),this._applyAnimationRefDelays([n.options,n.animation.options],e,i),this.visitReference(n.animation,i),e.transformIntoNewTimeline(i.currentTimeline.currentTime),e.previousNode=n}_applyAnimationRefDelays(n,e,i){for(const o of n){const r=o?.delay;if(r){const s="number"==typeof r?r:Yi(Vl(r,o?.params??{},e.errors));i.delayNextStep(s)}}}_visitSubInstructions(n,e,i){let r=e.currentTimeline.currentTime;const s=null!=i.duration?Yi(i.duration):null,a=null!=i.delay?Yi(i.delay):null;return 0!==s&&n.forEach(l=>{const c=e.appendInstructionToTimeline(l,s,a);r=Math.max(r,c.duration+c.delay)}),r}visitReference(n,e){e.updateOptions(n.options,!0),Bn(this,n.animation,e),e.previousNode=n}visitSequence(n,e){const i=e.subContextCount;let o=e;const r=n.options;if(r&&(r.params||r.delay)&&(o=e.createSubContext(r),o.transformIntoNewTimeline(),null!=r.delay)){o.previousNode.type==oe.Style&&(o.currentTimeline.snapshotCurrentStyles(),o.previousNode=Xu);const s=Yi(r.delay);o.delayNextStep(s)}n.steps.length&&(n.steps.forEach(s=>Bn(this,s,o)),o.currentTimeline.applyStylesToKeyframe(),o.subContextCount>i&&o.transformIntoNewTimeline()),e.previousNode=n}visitGroup(n,e){const i=[];let o=e.currentTimeline.currentTime;const r=n.options&&n.options.delay?Yi(n.options.delay):0;n.steps.forEach(s=>{const a=e.createSubContext(n.options);r&&a.delayNextStep(r),Bn(this,s,a),o=Math.max(o,a.currentTimeline.currentTime),i.push(a.currentTimeline)}),i.forEach(s=>e.currentTimeline.mergeTimelineCollectedStyles(s)),e.transformIntoNewTimeline(o),e.previousNode=n}_visitTiming(n,e){if(n.dynamic){const i=n.strValue;return $u(e.params?Vl(i,e.params,e.errors):i,e.errors)}return{duration:n.duration,delay:n.delay,easing:n.easing}}visitAnimate(n,e){const i=e.currentAnimateTimings=this._visitTiming(n.timings,e),o=e.currentTimeline;i.delay&&(e.incrementTime(i.delay),o.snapshotCurrentStyles());const r=n.style;r.type==oe.Keyframes?this.visitKeyframes(r,e):(e.incrementTime(i.duration),this.visitStyle(r,e),o.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=n}visitStyle(n,e){const i=e.currentTimeline,o=e.currentAnimateTimings;!o&&i.hasCurrentStyleProperties()&&i.forwardFrame();const r=o&&o.easing||n.easing;n.isEmptyStep?i.applyEmptyStep(r):i.setStyles(n.styles,r,e.errors,e.options),e.previousNode=n}visitKeyframes(n,e){const i=e.currentAnimateTimings,o=e.currentTimeline.duration,r=i.duration,a=e.createSubContext().currentTimeline;a.easing=i.easing,n.styles.forEach(l=>{a.forwardTime((l.offset||0)*r),a.setStyles(l.styles,l.easing,e.errors,e.options),a.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(a),e.transformIntoNewTimeline(o+r),e.previousNode=n}visitQuery(n,e){const i=e.currentTimeline.currentTime,o=n.options||{},r=o.delay?Yi(o.delay):0;r&&(e.previousNode.type===oe.Style||0==i&&e.currentTimeline.hasCurrentStyleProperties())&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=Xu);let s=i;const a=e.invokeQuery(n.selector,n.originalSelector,n.limit,n.includeSelf,!!o.optional,e.errors);e.currentQueryTotal=a.length;let l=null;a.forEach((c,d)=>{e.currentQueryIndex=d;const u=e.createSubContext(n.options,c);r&&u.delayNextStep(r),c===e.element&&(l=u.currentTimeline),Bn(this,n.animation,u),u.currentTimeline.applyStylesToKeyframe(),s=Math.max(s,u.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(s),l&&(e.currentTimeline.mergeTimelineCollectedStyles(l),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=n}visitStagger(n,e){const i=e.parentContext,o=e.currentTimeline,r=n.timings,s=Math.abs(r.duration),a=s*(e.currentQueryTotal-1);let l=s*e.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":l=a-l;break;case"full":l=i.currentStaggerTime}const d=e.currentTimeline;l&&d.delayNextStep(l);const u=d.currentTime;Bn(this,n.animation,e),e.previousNode=n,i.currentStaggerTime=o.currentTime-u+(o.startTime-i.currentTimeline.startTime)}}const Xu={};class j_{constructor(n,e,i,o,r,s,a,l){this._driver=n,this.element=e,this.subInstructions=i,this._enterClassName=o,this._leaveClassName=r,this.errors=s,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Xu,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new Zu(this._driver,e,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(n,e){if(!n)return;const i=n;let o=this.options;null!=i.duration&&(o.duration=Yi(i.duration)),null!=i.delay&&(o.delay=Yi(i.delay));const r=i.params;if(r){let s=o.params;s||(s=this.options.params={}),Object.keys(r).forEach(a=>{(!e||!s.hasOwnProperty(a))&&(s[a]=Vl(r[a],s,this.errors))})}}_copyOptions(){const n={};if(this.options){const e=this.options.params;if(e){const i=n.params={};Object.keys(e).forEach(o=>{i[o]=e[o]})}}return n}createSubContext(n=null,e,i){const o=e||this.element,r=new j_(this._driver,o,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(o,i||0));return r.previousNode=this.previousNode,r.currentAnimateTimings=this.currentAnimateTimings,r.options=this._copyOptions(),r.updateOptions(n),r.currentQueryIndex=this.currentQueryIndex,r.currentQueryTotal=this.currentQueryTotal,r.parentContext=this,this.subContextCount++,r}transformIntoNewTimeline(n){return this.previousNode=Xu,this.currentTimeline=this.currentTimeline.fork(this.element,n),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(n,e,i){const o={duration:e??n.duration,delay:this.currentTimeline.currentTime+(i??0)+n.delay,easing:""},r=new O8(this._driver,n.element,n.keyframes,n.preStyleProps,n.postStyleProps,o,n.stretchStartingKeyframe);return this.timelines.push(r),o}incrementTime(n){this.currentTimeline.forwardTime(this.currentTimeline.duration+n)}delayNextStep(n){n>0&&this.currentTimeline.delayNextStep(n)}invokeQuery(n,e,i,o,r,s){let a=[];if(o&&a.push(this.element),n.length>0){n=(n=n.replace(S8,"."+this._enterClassName)).replace(R8,"."+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!r&&0==a.length&&s.push(function H5(t){return new S(3014,!1)}()),a}}class Zu{constructor(n,e,i,o){this._driver=n,this.element=e,this.startTime=i,this._elementTimelineStylesLookup=o,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(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,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 e=1===this._keyframes.size&&this._pendingStyles.size;this.duration||e?(this.forwardTime(this.currentTime+n),e&&this.snapshotCurrentStyles()):this.startTime+=n}fork(n,e){return this.applyStylesToKeyframe(),new Zu(this._driver,n,e||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,e){this._localTimelineStyles.set(n,e),this._globalTimelineStyles.set(n,e),this._styleSummary.set(n,{time:this.currentTime,value:e})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(n){n&&this._previousKeyframe.set("easing",n);for(let[e,i]of this._globalTimelineStyles)this._backFill.set(e,i||qi),this._currentKeyframe.set(e,qi);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(n,e,i,o){e&&this._previousKeyframe.set("easing",e);const r=o&&o.params||{},s=function N8(t,n){const e=new Map;let i;return t.forEach(o=>{if("*"===o){i??=n.keys();for(let r of i)e.set(r,qi)}else for(let[r,s]of o)e.set(r,s)}),e}(n,this._globalTimelineStyles);for(let[a,l]of s){const c=Vl(l,r,i);this._pendingStyles.set(a,c),this._localTimelineStyles.has(a)||this._backFill.set(a,this._globalTimelineStyles.get(a)??qi),this._updateStyle(a,c)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((n,e)=>{this._currentKeyframe.set(e,n)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((n,e)=>{this._currentKeyframe.has(e)||this._currentKeyframe.set(e,n)}))}snapshotCurrentStyles(){for(let[n,e]of this._localTimelineStyles)this._pendingStyles.set(n,e),this._updateStyle(n,e)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const n=[];for(let e in this._currentKeyframe)n.push(e);return n}mergeTimelineCollectedStyles(n){n._styleSummary.forEach((e,i)=>{const o=this._styleSummary.get(i);(!o||e.time>o.time)&&this._updateStyle(i,e.value)})}buildKeyframes(){this.applyStylesToKeyframe();const n=new Set,e=new Set,i=1===this._keyframes.size&&0===this.duration;let o=[];this._keyframes.forEach((a,l)=>{const c=new Map([...this._backFill,...a]);c.forEach((d,u)=>{"!"===d?n.add(u):d===qi&&e.add(u)}),i||c.set("offset",l/this.duration),o.push(c)});const r=[...n.values()],s=[...e.values()];if(i){const a=o[0],l=new Map(a);a.set("offset",0),l.set("offset",1),o=[a,l]}return B_(this.element,o,r,s,this.duration,this.startTime,this.easing,!1)}}class O8 extends Zu{constructor(n,e,i,o,r,s,a=!1){super(n,e,s.delay),this.keyframes=i,this.preStyleProps=o,this.postStyleProps=r,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:e,duration:i,easing:o}=this.timings;if(this._stretchStartingKeyframe&&e){const r=[],s=i+e,a=e/s,l=new Map(n[0]);l.set("offset",0),r.push(l);const c=new Map(n[0]);c.set("offset",jI(a)),r.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",jI((e+f*i)/s)),r.push(h)}i=s,e=0,o="",n=r}return B_(this.element,n,this.preStyleProps,this.postStyleProps,i,e,o,!0)}}function jI(t,n=3){const e=Math.pow(10,n-1);return Math.round(t*e)/e}function zI(t,n,e,i,o,r,s,a,l,c,d,u,h){return{type:0,element:t,triggerName:n,isRemovalTransition:o,fromState:e,fromStyles:r,toState:i,toStyles:s,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:d,totalTime:u,errors:h}}const z_={};class UI{constructor(n,e,i){this._triggerName=n,this.ast=e,this._stateStyles=i}match(n,e,i,o){return function F8(t,n,e,i,o){return t.some(r=>r(n,e,i,o))}(this.ast.matchers,n,e,i,o)}buildStyles(n,e,i){let o=this._stateStyles.get("*");return void 0!==n&&(o=this._stateStyles.get(n?.toString())||o),o?o.buildStyles(e,i):new Map}build(n,e,i,o,r,s,a,l,c,d){const u=[],h=this.ast.options&&this.ast.options.params||z_,m=this.buildStyles(i,a&&a.params||z_,u),_=l&&l.params||z_,y=this.buildStyles(o,_,u),C=new Set,D=new Map,N=new Map,H="void"===o,le={params:$I(_,h),delay:this.ast.options?.delay},pe=d?[]:H_(n,e,this.ast.animation,r,s,m,y,le,c,u);let Te=0;return pe.forEach(ct=>{Te=Math.max(ct.duration+ct.delay,Te)}),u.length?zI(e,this._triggerName,i,o,H,m,y,[],[],D,N,Te,u):(pe.forEach(ct=>{const Ai=ct.element,Po=Vn(D,Ai,new Set);ct.preStyleProps.forEach(Ar=>Po.add(Ar));const _1=Vn(N,Ai,new Set);ct.postStyleProps.forEach(Ar=>_1.add(Ar)),Ai!==e&&C.add(Ai)}),zI(e,this._triggerName,i,o,H,m,y,pe,[...C.values()],D,N,Te))}}function $I(t,n){const e={...n};return Object.entries(t).forEach(([i,o])=>{null!=o&&(e[i]=o)}),e}class L8{constructor(n,e,i){this.styles=n,this.defaultParams=e,this.normalizer=i}buildStyles(n,e){const i=new Map,o=$I(n,this.defaultParams);return this.styles.styles.forEach(r=>{"string"!=typeof r&&r.forEach((s,a)=>{s&&(s=Vl(s,o,e));const l=this.normalizer.normalizePropertyName(a,e);s=this.normalizer.normalizeStyleValue(a,l,s,e),i.set(a,s)})}),i}}class B8{constructor(n,e,i){this.name=n,this.ast=e,this._normalizer=i,this.transitionFactories=[],this.states=new Map,e.states.forEach(o=>{this.states.set(o.name,new L8(o.style,o.options&&o.options.params||{},i))}),WI(this.states,"true","1"),WI(this.states,"false","0"),e.transitions.forEach(o=>{this.transitionFactories.push(new UI(n,o,this.states))}),this.fallbackTransition=function H8(t,n,e){return new UI(t,{type:oe.Transition,animation:{type:oe.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,e,i,o){return this.transitionFactories.find(s=>s.match(n,e,i,o))||null}matchStyles(n,e,i){return this.fallbackTransition.buildStyles(n,e,i)}}function WI(t,n,e){t.has(n)?t.has(e)||t.set(e,t.get(n)):t.has(e)&&t.set(n,t.get(e))}const j8=new Yu;class z8{constructor(n,e,i){this.bodyNode=n,this._driver=e,this._normalizer=i,this._animations=new Map,this._playersById=new Map,this.players=[]}register(n,e){const i=[],r=L_(this._driver,e,i,[]);if(i.length)throw function q5(t){return new S(3503,!1)}();this._animations.set(n,r)}_buildPlayer(n,e,i){const o=n.element,r=II(this._normalizer,n.keyframes,e,i);return this._driver.animate(o,r,n.duration,n.delay,n.easing,[],!0)}create(n,e,i={}){const o=[],r=this._animations.get(n);let s;const a=new Map;if(r?(s=H_(this._driver,e,r,A_,ju,new Map,new Map,i,j8,o),s.forEach(d=>{const u=Vn(a,d.element,new Map);d.postStyleProps.forEach(h=>u.set(h,null))})):(o.push(function Y5(){return new S(3300,!1)}()),s=[]),o.length)throw function X5(t){return new S(3504,!1)}();a.forEach((d,u)=>{d.forEach((h,f)=>{d.set(f,this._driver.computeStyle(u,f,qi))})});const c=yo(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 e=this._getPlayer(n);e.destroy(),this._playersById.delete(n);const i=this.players.indexOf(e);i>=0&&this.players.splice(i,1)}_getPlayer(n){const e=this._playersById.get(n);if(!e)throw function Z5(t){return new S(3301,!1)}();return e}listen(n,e,i,o){const r=k_(e,"","","");return D_(this._getPlayer(n),i,r,o),()=>{}}command(n,e,i,o){if("register"==i)return void this.register(n,o[0]);if("create"==i)return void this.create(n,e,o[0]||{});const r=this._getPlayer(n);switch(i){case"play":r.play();break;case"pause":r.pause();break;case"reset":r.reset();break;case"restart":r.restart();break;case"finish":r.finish();break;case"init":r.init();break;case"setPosition":r.setPosition(parseFloat(o[0]));break;case"destroy":this.destroy(n)}}}const GI="ng-animate-queued",U_="ng-animate-disabled",q8=[],qI={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Y8={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},si="__ng_removed";class $_{get params(){return this.options.params}constructor(n,e=""){this.namespaceId=e;const i=n&&n.hasOwnProperty("value");if(this.value=function Q8(t){return t??null}(i?n.value:n),i){const{value:r,...s}=n;this.options=s}else this.options={};this.options.params||(this.options.params={})}absorbOptions(n){const e=n.params;if(e){const i=this.options.params;Object.keys(e).forEach(o=>{null==i[o]&&(i[o]=e[o])})}}}const Bl="void",W_=new $_(Bl);class X8{constructor(n,e,i){this.id=n,this.hostElement=e,this._engine=i,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+n,Wn(e,this._hostClassName)}listen(n,e,i,o){if(!this._triggers.has(e))throw function K5(t,n){return new S(3302,!1)}();if(null==i||0==i.length)throw function Q5(t){return new S(3303,!1)}();if(!function J8(t){return"start"==t||"done"==t}(i))throw function J5(t,n){return new S(3400,!1)}();const r=Vn(this._elementListeners,n,[]),s={name:e,phase:i,callback:o};r.push(s);const a=Vn(this._engine.statesByElement,n,new Map);return a.has(e)||(Wn(n,zu),Wn(n,zu+"-"+e),a.set(e,W_)),()=>{this._engine.afterFlush(()=>{const l=r.indexOf(s);l>=0&&r.splice(l,1),this._triggers.has(e)||a.delete(e)})}}register(n,e){return!this._triggers.has(n)&&(this._triggers.set(n,e),!0)}_getTrigger(n){const e=this._triggers.get(n);if(!e)throw function e8(t){return new S(3401,!1)}();return e}trigger(n,e,i,o=!0){const r=this._getTrigger(e),s=new G_(this.id,e,n);let a=this._engine.statesByElement.get(n);a||(Wn(n,zu),Wn(n,zu+"-"+e),this._engine.statesByElement.set(n,a=new Map));let l=a.get(e);const c=new $_(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),a.set(e,c),l||(l=W_),c.value!==Bl&&l.value===c.value){if(!function n$(t,n){const e=Object.keys(t),i=Object.keys(n);if(e.length!=i.length)return!1;for(let o=0;o{fr(n,y),ki(n,C)})}return}const h=Vn(this._engine.playersByElement,n,[]);h.forEach(_=>{_.namespaceId==this.id&&_.triggerName==e&&_.queued&&_.destroy()});let f=r.matchTransition(l.value,c.value,n,c.params),m=!1;if(!f){if(!o)return;f=r.fallbackTransition,m=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:e,transition:f,fromState:l,toState:c,player:s,isFallbackTransition:m}),m||(Wn(n,GI),s.onStart(()=>{Us(n,GI)})),s.onDone(()=>{let _=this.players.indexOf(s);_>=0&&this.players.splice(_,1);const y=this._engine.playersByElement.get(n);if(y){let C=y.indexOf(s);C>=0&&y.splice(C,1)}}),this.players.push(s),h.push(s),s}deregister(n){this._triggers.delete(n),this._engine.statesByElement.forEach(e=>e.delete(n)),this._elementListeners.forEach((e,i)=>{this._elementListeners.set(i,e.filter(o=>o.name!=n))})}clearElementCache(n){this._engine.statesByElement.delete(n),this._elementListeners.delete(n);const e=this._engine.playersByElement.get(n);e&&(e.forEach(i=>i.destroy()),this._engine.playersByElement.delete(n))}_signalRemovalForInnerTriggers(n,e){const i=this._engine.driver.query(n,Uu,!0);i.forEach(o=>{if(o[si])return;const r=this._engine.fetchNamespacesByElement(o);r.size?r.forEach(s=>s.triggerLeaveAnimation(o,e,!1,!0)):this.clearElementCache(o)}),this._engine.afterFlushAnimationsDone(()=>i.forEach(o=>this.clearElementCache(o)))}triggerLeaveAnimation(n,e,i,o){const r=this._engine.statesByElement.get(n),s=new Map;if(r){const a=[];if(r.forEach((l,c)=>{if(s.set(c,l.value),this._triggers.has(c)){const d=this.trigger(n,c,Bl,o);d&&a.push(d)}}),a.length)return this._engine.markElementAsRemoved(this.id,n,!0,e,s),i&&yo(a).onDone(()=>this._engine.processLeaveNode(n)),!0}return!1}prepareLeaveAnimationListeners(n){const e=this._elementListeners.get(n),i=this._engine.statesByElement.get(n);if(e&&i){const o=new Set;e.forEach(r=>{const s=r.name;if(o.has(s))return;o.add(s);const l=this._triggers.get(s).fallbackTransition,c=i.get(s)||W_,d=new $_(Bl),u=new G_(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,e){const i=this._engine;if(n.childElementCount&&this._signalRemovalForInnerTriggers(n,e),this.triggerLeaveAnimation(n,e,!0))return;let o=!1;if(i.totalAnimations){const r=i.players.length?i.playersByQueriedElement.get(n):[];if(r&&r.length)o=!0;else{let s=n;for(;s=s.parentNode;)if(i.statesByElement.get(s)){o=!0;break}}}if(this.prepareLeaveAnimationListeners(n),o)i.markElementAsRemoved(this.id,n,!1,e);else{const r=n[si];(!r||r===qI)&&(i.afterFlush(()=>this.clearElementCache(n)),i.destroyInnerAnimations(n),i._onRemovalComplete(n,e))}}insertNode(n,e){Wn(n,this._hostClassName)}drainQueuedTransitions(n){const e=[];return this._queue.forEach(i=>{const o=i.player;if(o.destroyed)return;const r=i.element,s=this._elementListeners.get(r);s&&s.forEach(a=>{if(a.name==i.triggerName){const l=k_(r,i.triggerName,i.fromState.value,i.toState.value);l._data=n,D_(i.player,a.phase,l,a.callback)}}),o.markedForDestroy?this._engine.afterFlush(()=>{o.destroy()}):e.push(i)}),this._queue=[],e.sort((i,o)=>{const r=i.transition.ast.depCount,s=o.transition.ast.depCount;return 0==r||0==s?r-s:this._engine.driver.containsElement(i.element,o.element)?1:-1})}destroy(n){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,n)}}class Z8{_onRemovalComplete(n,e){this.onRemovalComplete(n,e)}constructor(n,e,i,o){this.bodyNode=n,this.driver=e,this._normalizer=i,this.scheduler=o,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=(r,s)=>{}}get queuedPlayers(){const n=[];return this._namespaceList.forEach(e=>{e.players.forEach(i=>{i.queued&&n.push(i)})}),n}createNamespace(n,e){const i=new X8(n,e,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,e)?this._balanceNamespaceList(i,e):(this.newHostElements.set(e,i),this.collectEnterElement(e)),this._namespaceLookup[n]=i}_balanceNamespaceList(n,e){const i=this._namespaceList,o=this.namespacesByHostElement;if(i.length-1>=0){let s=!1,a=this.driver.getParentElement(e);for(;a;){const l=o.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 o.set(e,n),n}register(n,e){let i=this._namespaceLookup[n];return i||(i=this.createNamespace(n,e)),i}registerTrigger(n,e,i){let o=this._namespaceLookup[n];o&&o.register(e,i)&&this.totalAnimations++}destroy(n,e){n&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const i=this._fetchNamespace(n);this.namespacesByHostElement.delete(i.hostElement);const o=this._namespaceList.indexOf(i);o>=0&&this._namespaceList.splice(o,1),i.destroy(e),delete this._namespaceLookup[n]}))}_fetchNamespace(n){return this._namespaceLookup[n]}fetchNamespacesByElement(n){const e=new Set,i=this.statesByElement.get(n);if(i)for(let o of i.values())if(o.namespaceId){const r=this._fetchNamespace(o.namespaceId);r&&e.add(r)}return e}trigger(n,e,i,o){if(Ku(e)){const r=this._fetchNamespace(n);if(r)return r.trigger(e,i,o),!0}return!1}insertNode(n,e,i,o){if(!Ku(e))return;const r=e[si];if(r&&r.setForRemoval){r.setForRemoval=!1,r.setForMove=!0;const s=this.collectedLeaveElements.indexOf(e);s>=0&&this.collectedLeaveElements.splice(s,1)}if(n){const s=this._fetchNamespace(n);s&&s.insertNode(e,i)}o&&this.collectEnterElement(e)}collectEnterElement(n){this.collectedEnterElements.push(n)}markElementAsDisabled(n,e){e?this.disabledNodes.has(n)||(this.disabledNodes.add(n),Wn(n,U_)):this.disabledNodes.has(n)&&(this.disabledNodes.delete(n),Us(n,U_))}removeNode(n,e,i){if(Ku(e)){this.scheduler?.notify();const o=n?this._fetchNamespace(n):null;o?o.removeNode(e,i):this.markElementAsRemoved(n,e,!1,i);const r=this.namespacesByHostElement.get(e);r&&r.id!==n&&r.removeNode(e,i)}else this._onRemovalComplete(e,i)}markElementAsRemoved(n,e,i,o,r){this.collectedLeaveElements.push(e),e[si]={namespaceId:n,setForRemoval:o,hasAnimation:i,removedBeforeQueried:!1,previousTriggersValues:r}}listen(n,e,i,o,r){return Ku(e)?this._fetchNamespace(n).listen(e,i,o,r):()=>{}}_buildInstruction(n,e,i,o,r){return n.transition.build(this.driver,n.element,n.fromState.value,n.toState.value,i,o,n.fromState.options,n.toState.options,e,r)}destroyInnerAnimations(n){let e=this.driver.query(n,Uu,!0);e.forEach(i=>this.destroyActiveAnimationsForElement(i)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(n,R_,!0),e.forEach(i=>this.finishActiveQueriedAnimationOnElement(i)))}destroyActiveAnimationsForElement(n){const e=this.playersByElement.get(n);e&&e.forEach(i=>{i.queued?i.markedForDestroy=!0:i.destroy()})}finishActiveQueriedAnimationOnElement(n){const e=this.playersByQueriedElement.get(n);e&&e.forEach(i=>i.finish())}whenRenderingDone(){return new Promise(n=>{if(this.players.length)return yo(this.players).onDone(()=>n());n()})}processLeaveNode(n){const e=n[si];if(e&&e.setForRemoval){if(n[si]=qI,e.namespaceId){this.destroyInnerAnimations(n);const i=this._fetchNamespace(e.namespaceId);i&&i.clearElementCache(n)}this._onRemovalComplete(n,e.setForRemoval)}n.classList?.contains(U_)&&this.markElementAsDisabled(n,!1),this.driver.query(n,".ng-animate-disabled",!0).forEach(i=>{this.markElementAsDisabled(i,!1)})}flush(n=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((i,o)=>this._balanceNamespaceList(i,o)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let i=0;ii()),this._flushFns=[],this._whenQuietFns.length){const i=this._whenQuietFns;this._whenQuietFns=[],e.length?yo(e).onDone(()=>{i.forEach(o=>o())}):i.forEach(o=>o())}}reportError(n){throw function t8(t){return new S(3402,!1)}()}_flushAnimations(n,e){const i=new Yu,o=[],r=new Map,s=[],a=new Map,l=new Map,c=new Map,d=new Set;this.disabledNodes.forEach(U=>{d.add(U);const X=this.driver.query(U,".ng-animate-queued",!0);for(let te=0;te{const te=A_+_++;m.set(X,te),U.forEach(Re=>Wn(Re,te))});const y=[],C=new Set,D=new Set;for(let U=0;UC.add(Re)):D.add(X))}const N=new Map,H=ZI(h,Array.from(C));H.forEach((U,X)=>{const te=ju+_++;N.set(X,te),U.forEach(Re=>Wn(Re,te))}),n.push(()=>{f.forEach((U,X)=>{const te=m.get(X);U.forEach(Re=>Us(Re,te))}),H.forEach((U,X)=>{const te=N.get(X);U.forEach(Re=>Us(Re,te))}),y.forEach(U=>{this.processLeaveNode(U)})});const le=[],pe=[];for(let U=this._namespaceList.length-1;U>=0;U--)this._namespaceList[U].drainQueuedTransitions(e).forEach(te=>{const Re=te.player,Wt=te.element;if(le.push(Re),this.collectedEnterElements.length){const cn=Wt[si];if(cn&&cn.setForMove){if(cn.previousTriggersValues&&cn.previousTriggersValues.has(te.triggerName)){const Rr=cn.previousTriggersValues.get(te.triggerName),qn=this.statesByElement.get(te.element);if(qn&&qn.has(te.triggerName)){const Gh=qn.get(te.triggerName);Gh.value=Rr,qn.set(te.triggerName,Gh)}}return void Re.destroy()}}const Ri=!u||!this.driver.containsElement(u,Wt),Hn=N.get(Wt),Oo=m.get(Wt),mt=this._buildInstruction(te,i,Oo,Hn,Ri);if(mt.errors&&mt.errors.length)return void pe.push(mt);if(Ri)return Re.onStart(()=>fr(Wt,mt.fromStyles)),Re.onDestroy(()=>ki(Wt,mt.toStyles)),void o.push(Re);if(te.isFallbackTransition)return Re.onStart(()=>fr(Wt,mt.fromStyles)),Re.onDestroy(()=>ki(Wt,mt.toStyles)),void o.push(Re);const y1=[];mt.timelines.forEach(cn=>{cn.stretchStartingKeyframe=!0,this.disabledNodes.has(cn.element)||y1.push(cn)}),mt.timelines=y1,i.append(Wt,mt.timelines),s.push({instruction:mt,player:Re,element:Wt}),mt.queriedElements.forEach(cn=>Vn(a,cn,[]).push(Re)),mt.preStyleProps.forEach((cn,Rr)=>{if(cn.size){let qn=l.get(Rr);qn||l.set(Rr,qn=new Set),cn.forEach((Gh,pv)=>qn.add(pv))}}),mt.postStyleProps.forEach((cn,Rr)=>{let qn=c.get(Rr);qn||c.set(Rr,qn=new Set),cn.forEach((Gh,pv)=>qn.add(pv))})});if(pe.length){const U=[];pe.forEach(X=>{U.push(function n8(t,n){return new S(3505,!1)}())}),le.forEach(X=>X.destroy()),this.reportError(U)}const Te=new Map,ct=new Map;s.forEach(U=>{const X=U.element;i.has(X)&&(ct.set(X,X),this._beforeAnimationBuild(U.player.namespaceId,U.instruction,Te))}),o.forEach(U=>{const X=U.element;this._getPreviousPlayers(X,!1,U.namespaceId,U.triggerName,null).forEach(Re=>{Vn(Te,X,[]).push(Re),Re.destroy()})});const Ai=y.filter(U=>QI(U,l,c)),Po=new Map;XI(Po,this.driver,D,c,qi).forEach(U=>{QI(U,l,c)&&Ai.push(U)});const Ar=new Map;f.forEach((U,X)=>{XI(Ar,this.driver,new Set(U),l,"!")}),Ai.forEach(U=>{const X=Po.get(U),te=Ar.get(U);Po.set(U,new Map([...X?.entries()??[],...te?.entries()??[]]))});const mv=[],b1=[],v1={};s.forEach(U=>{const{element:X,player:te,instruction:Re}=U;if(i.has(X)){if(d.has(X))return te.onDestroy(()=>ki(X,Re.toStyles)),te.disabled=!0,te.overrideTotalTime(Re.totalTime),void o.push(te);let Wt=v1;if(ct.size>1){let Hn=X;const Oo=[];for(;Hn=Hn.parentNode;){const mt=ct.get(Hn);if(mt){Wt=mt;break}Oo.push(Hn)}Oo.forEach(mt=>ct.set(mt,Wt))}const Ri=this._buildAnimation(te.namespaceId,Re,Te,r,Ar,Po);if(te.setRealPlayer(Ri),Wt===v1)mv.push(te);else{const Hn=this.playersByElement.get(Wt);Hn&&Hn.length&&(te.parentPlayer=yo(Hn)),o.push(te)}}else fr(X,Re.fromStyles),te.onDestroy(()=>ki(X,Re.toStyles)),b1.push(te),d.has(X)&&o.push(te)}),b1.forEach(U=>{const X=r.get(U.element);if(X&&X.length){const te=yo(X);U.setRealPlayer(te)}}),o.forEach(U=>{U.parentPlayer?U.syncPlayerEvents(U.parentPlayer):U.destroy()});for(let U=0;U!Ri.destroyed);Wt.length?e$(this,X,Wt):this.processLeaveNode(X)}return y.length=0,mv.forEach(U=>{this.players.push(U),U.onDone(()=>{U.destroy();const X=this.players.indexOf(U);this.players.splice(X,1)}),U.play()}),mv}afterFlush(n){this._flushFns.push(n)}afterFlushAnimationsDone(n){this._whenQuietFns.push(n)}_getPreviousPlayers(n,e,i,o,r){let s=[];if(e){const a=this.playersByQueriedElement.get(n);a&&(s=a)}else{const a=this.playersByElement.get(n);if(a){const l=!r||r==Bl;a.forEach(c=>{c.queued||!l&&c.triggerName!=o||s.push(c)})}}return(i||o)&&(s=s.filter(a=>!(i&&i!=a.namespaceId||o&&o!=a.triggerName))),s}_beforeAnimationBuild(n,e,i){const r=e.element,s=e.isRemovalTransition?void 0:n,a=e.isRemovalTransition?void 0:e.triggerName;for(const l of e.timelines){const c=l.element,d=c!==r,u=Vn(i,c,[]);this._getPreviousPlayers(c,d,s,a,e.toState).forEach(f=>{const m=f.getRealPlayer();m.beforeDestroy&&m.beforeDestroy(),f.destroy(),u.push(f)})}fr(r,e.fromStyles)}_buildAnimation(n,e,i,o,r,s){const a=e.triggerName,l=e.element,c=[],d=new Set,u=new Set,h=e.timelines.map(m=>{const _=m.element;d.add(_);const y=_[si];if(y&&y.removedBeforeQueried)return new Fl(m.duration,m.delay);const C=_!==l,D=function t$(t){const n=[];return KI(t,n),n}((i.get(_)||q8).map(Te=>Te.getRealPlayer())).filter(Te=>!!Te.element&&Te.element===_),N=r.get(_),H=s.get(_),le=II(this._normalizer,m.keyframes,N,H),pe=this._buildPlayer(m,le,D);if(m.subTimeline&&o&&u.add(_),C){const Te=new G_(n,a,_);Te.setRealPlayer(pe),c.push(Te)}return pe});c.forEach(m=>{Vn(this.playersByQueriedElement,m.element,[]).push(m),m.onDone(()=>function K8(t,n,e){let i=t.get(n);if(i){if(i.length){const o=i.indexOf(e);i.splice(o,1)}0==i.length&&t.delete(n)}return i}(this.playersByQueriedElement,m.element,m))}),d.forEach(m=>Wn(m,OI));const f=yo(h);return f.onDestroy(()=>{d.forEach(m=>Us(m,OI)),ki(l,e.toStyles)}),u.forEach(m=>{Vn(o,m,[]).push(f)}),f}_buildPlayer(n,e,i){return e.length>0?this.driver.animate(n.element,e,n.duration,n.delay,n.easing,i):new Fl(n.duration,n.delay)}}class G_{constructor(n,e,i){this.namespaceId=n,this.triggerName=e,this.element=i,this._player=new Fl,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((e,i)=>{e.forEach(o=>D_(n,i,void 0,o))}),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 e=this._player;e.triggerCallback&&n.onStart(()=>e.triggerCallback("start")),n.onDone(()=>this.finish()),n.onDestroy(()=>this.destroy())}_queueEvent(n,e){Vn(this._queuedCallbacks,n,[]).push(e)}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 e=this._player;e.triggerCallback&&e.triggerCallback(n)}}function Ku(t){return t&&1===t.nodeType}function YI(t,n){const e=t.style.display;return t.style.display=n??"none",e}function XI(t,n,e,i,o){const r=[];e.forEach(l=>r.push(YI(l)));const s=[];i.forEach((l,c)=>{const d=new Map;l.forEach(u=>{const h=n.computeStyle(c,u,o);d.set(u,h),(!h||0==h.length)&&(c[si]=Y8,s.push(c))}),t.set(c,d)});let a=0;return e.forEach(l=>YI(l,r[a++])),s}function ZI(t,n){const e=new Map;if(t.forEach(a=>e.set(a,[])),0==n.length)return e;const o=new Set(n),r=new Map;function s(a){if(!a)return 1;let l=r.get(a);if(l)return l;const c=a.parentNode;return l=e.has(c)?c:o.has(c)?1:s(c),r.set(a,l),l}return n.forEach(a=>{const l=s(a);1!==l&&e.get(l).push(a)}),e}function Wn(t,n){t.classList?.add(n)}function Us(t,n){t.classList?.remove(n)}function e$(t,n,e){yo(e).onDone(()=>t.processLeaveNode(n))}function KI(t,n){for(let e=0;eo.add(r)):n.set(t,i),e.delete(t),!0}class Hl{constructor(n,e,i,o){this._driver=e,this._normalizer=i,this._triggerCache={},this.onRemovalComplete=(r,s)=>{},this._transitionEngine=new Z8(n.body,e,i,o),this._timelineEngine=new z8(n.body,e,i),this._transitionEngine.onRemovalComplete=(r,s)=>this.onRemovalComplete(r,s)}registerTrigger(n,e,i,o,r){const s=n+"-"+o;let a=this._triggerCache[s];if(!a){const l=[],d=L_(this._driver,r,l,[]);if(l.length)throw function W5(t,n){return new S(3404,!1)}();a=function V8(t,n,e){return new B8(t,n,e)}(o,d,this._normalizer),this._triggerCache[s]=a}this._transitionEngine.registerTrigger(e,o,a)}register(n,e){this._transitionEngine.register(n,e)}destroy(n,e){this._transitionEngine.destroy(n,e)}onInsert(n,e,i,o){this._transitionEngine.insertNode(n,e,i,o)}onRemove(n,e,i){this._transitionEngine.removeNode(n,e,i)}disableAnimations(n,e){this._transitionEngine.markElementAsDisabled(n,e)}process(n,e,i,o){if("@"==i.charAt(0)){const[r,s]=TI(i);this._timelineEngine.command(r,e,s,o)}else this._transitionEngine.trigger(n,e,i,o)}listen(n,e,i,o,r){if("@"==i.charAt(0)){const[s,a]=TI(i);return this._timelineEngine.listen(s,e,a,r)}return this._transitionEngine.listen(n,e,i,o,r)}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 jl{static#e=this.initialStylesByElement=new WeakMap;constructor(n,e,i){this._element=n,this._startStyles=e,this._endStyles=i,this._state=0;let o=jl.initialStylesByElement.get(n);o||jl.initialStylesByElement.set(n,o=new Map),this._initialStyles=o}start(){this._state<1&&(this._startStyles&&ki(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(ki(this._element,this._initialStyles),this._endStyles&&(ki(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(jl.initialStylesByElement.delete(this._element),this._startStyles&&(fr(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(fr(this._element,this._endStyles),this._endStyles=null),ki(this._element,this._initialStyles),this._state=3)}}function q_(t){let n=null;return t.forEach((e,i)=>{(function o$(t){return"display"===t||"position"===t})(i)&&(n=n||new Map,n.set(i,e))}),n}class JI{constructor(n,e,i,o){this.element=n,this.keyframes=e,this.options=i,this._specialStyles=o,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 e=()=>this._onFinish();this.domPlayer.addEventListener("finish",e),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",e)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(n){const e=[];return n.forEach(i=>{e.push(Object.fromEntries(i))}),e}_triggerWebAnimation(n,e,i){return n.animate(this._convertKeyframesToObject(e),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,o)=>{"offset"!==o&&n.set(o,this._finished?i:F_(this.element,o))}),this.currentSnapshot=n}triggerCallback(n){const e="start"===n?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}class eT{validateStyleProperty(n){return!0}validateAnimatableStyleProperty(n){return!0}matchesElement(n,e){return!1}containsElement(n,e){return AI(n,e)}getParentElement(n){return M_(n)}query(n,e,i){return RI(n,e,i)}computeStyle(n,e,i){return F_(n,e)}animate(n,e,i,o,r,s=[]){const l={duration:i,delay:o,fill:0==o?"both":"forwards"};r&&(l.easing=r);const c=new Map,d=s.filter(f=>f instanceof JI);(function p8(t,n){return 0===t||0===n})(i,o)&&d.forEach(f=>{f.currentSnapshot.forEach((m,_)=>c.set(_,m))});let u=function h8(t){return t.length?t[0]instanceof Map?t:t.map(n=>new Map(Object.entries(n))):[]}(e).map(f=>new Map(f));u=function g8(t,n,e){if(e.size&&n.length){let i=n[0],o=[];if(e.forEach((r,s)=>{i.has(s)||o.push(s),i.set(s,r)}),o.length)for(let r=1;rs.set(a,F_(t,a)))}}return n}(n,u,c);const h=function i$(t,n){let e=null,i=null;return Array.isArray(n)&&n.length?(e=q_(n[0]),n.length>1&&(i=q_(n[n.length-1]))):n instanceof Map&&(e=q_(n)),e||i?new jl(t,e,i):null}(n,u);return new JI(n,u,l,h)}}const tT="@.disabled";class nT{constructor(n,e,i,o){this.namespaceId=n,this.delegate=e,this.engine=i,this._onDestroy=o,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,e){return this.delegate.createElement(n,e)}createComment(n){return this.delegate.createComment(n)}createText(n){return this.delegate.createText(n)}appendChild(n,e){this.delegate.appendChild(n,e),this.engine.onInsert(this.namespaceId,e,n,!1)}insertBefore(n,e,i,o=!0){this.delegate.insertBefore(n,e,i),this.engine.onInsert(this.namespaceId,e,n,o)}removeChild(n,e,i){this.engine.onRemove(this.namespaceId,e,this.delegate)}selectRootElement(n,e){return this.delegate.selectRootElement(n,e)}parentNode(n){return this.delegate.parentNode(n)}nextSibling(n){return this.delegate.nextSibling(n)}setAttribute(n,e,i,o){this.delegate.setAttribute(n,e,i,o)}removeAttribute(n,e,i){this.delegate.removeAttribute(n,e,i)}addClass(n,e){this.delegate.addClass(n,e)}removeClass(n,e){this.delegate.removeClass(n,e)}setStyle(n,e,i,o){this.delegate.setStyle(n,e,i,o)}removeStyle(n,e,i){this.delegate.removeStyle(n,e,i)}setProperty(n,e,i){"@"==e.charAt(0)&&e==tT?this.disableAnimations(n,!!i):this.delegate.setProperty(n,e,i)}setValue(n,e){this.delegate.setValue(n,e)}listen(n,e,i){return this.delegate.listen(n,e,i)}disableAnimations(n,e){this.engine.disableAnimations(n,e)}}class r$ extends nT{constructor(n,e,i,o,r){super(e,i,o,r),this.factory=n,this.namespaceId=e}setProperty(n,e,i){"@"==e.charAt(0)?"."==e.charAt(1)&&e==tT?this.disableAnimations(n,i=void 0===i||!!i):this.engine.process(this.namespaceId,n,e.slice(1),i):this.delegate.setProperty(n,e,i)}listen(n,e,i){if("@"==e.charAt(0)){const o=function s$(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}(n);let r=e.slice(1),s="";return"@"!=r.charAt(0)&&([r,s]=function a$(t){const n=t.indexOf(".");return[t.substring(0,n),t.slice(n+1)]}(r)),this.engine.listen(this.namespaceId,o,r,s,a=>{this.factory.scheduleListenerCallback(a._data||-1,i,a)})}return this.delegate.listen(n,e,i)}}class l${constructor(n,e,i){this.delegate=n,this.engine=e,this._zone=i,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,e.onRemovalComplete=(o,r)=>{const s=r?.parentNode(o);s&&r.removeChild(s,o)}}createRenderer(n,e){const o=this.delegate.createRenderer(n,e);if(!n||!e?.data?.animation){const c=this._rendererCache;let d=c.get(o);return d||(d=new nT("",o,this.engine,()=>c.delete(o)),c.set(o,d)),d}const r=e.id,s=e.id+"-"+this._currentId;this._currentId++,this.engine.register(s,n);const a=c=>{Array.isArray(c)?c.forEach(a):this.engine.registerTrigger(r,s,n,c.name,c)};return e.data.animation.forEach(a),new r$(this,s,o,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(n,e,i){if(n>=0&&ne(i));const o=this._animationCallbacksBuffer;0==o.length&&queueMicrotask(()=>{this._zone.run(()=>{o.forEach(r=>{const[s,a]=r;s(a)}),this._animationCallbacksBuffer=[]})}),o.push([e,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 iT=[{provide:S_,useFactory:function d$(){return new LI}},{provide:Hl,useClass:(()=>{class t extends Hl{constructor(e,i,o){super(e,i,o,F(Td,{optional:!0}))}ngOnDestroy(){this.flush()}static#e=this.\u0275fac=function(i){return new(i||t)(I(fe),I(T_),I(S_))};static#t=this.\u0275prov=V({token:t,factory:t.\u0275fac})}return t})()},{provide:lp,useFactory:function u$(t,n,e){return new l$(t,n,e)},deps:[Gg,Hl,j]}],Y_=[{provide:T_,useFactory:()=>new eT},{provide:wn,useValue:"BrowserAnimations"},...iT],oT=[{provide:T_,useClass:I_},{provide:wn,useValue:"NoopAnimations"},...iT];let h$=(()=>{class t{static withConfig(e){return{ngModule:t,providers:e.disableAnimations?oT:Y_}}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=De({type:t});static#n=this.\u0275inj=ve({providers:Y_,imports:[eM]})}return t})();function Ju(t){return new Ue(n=>{Vt(t()).subscribe(n)})}function rT(t,n){const e=Ce(t)?t:()=>t,i=o=>o.error(e());return new Ue(n?o=>n.schedule(i,0,o):i)}function $s(t,n,e=1/0){return Ce(n)?$s((i,o)=>We((r,s)=>n(i,r,o,s))(Vt(t(i,o))),e):("number"==typeof n&&(e=n),_t((i,o)=>function f$(t,n,e,i,o,r,s,a){const l=[];let c=0,d=0,u=!1;const h=()=>{u&&!l.length&&!c&&n.complete()},f=_=>c{r&&n.next(_),c++;let y=!1;Vt(e(_,d++)).subscribe(rt(n,C=>{o?.(C),r?f(C):n.next(C)},()=>{y=!0},void 0,()=>{if(y)try{for(c--;l.length&&cm(C)):m(C)}h()}catch(C){n.error(C)}}))};return t.subscribe(rt(n,f,()=>{u=!0,h()})),()=>{a?.()}}(i,o,t,e)))}const m$=["addListener","removeListener"],p$=["addEventListener","removeEventListener"],g$=["on","off"];function Ws(t,n,e,i){if(Ce(e)&&(i=e,e=void 0),i)return Ws(t,n,e).pipe(t_(i));const[o,r]=function v$(t){return Ce(t.addEventListener)&&Ce(t.removeEventListener)}(t)?p$.map(s=>a=>t[s](n,a,e)):function _$(t){return Ce(t.addListener)&&Ce(t.removeListener)}(t)?m$.map(sT(t,n)):function b$(t){return Ce(t.on)&&Ce(t.off)}(t)?g$.map(sT(t,n)):[];if(!o&&Jg(t))return $s(s=>Ws(s,n,e))(Vt(t));if(!o)throw new TypeError("Invalid event target");return new Ue(s=>{const a=(...l)=>s.next(1r(a)})}function sT(t,n){return e=>i=>t[e](n,i)}function Tt(...t){return go(t,Al(t))}function aT(t=1/0){return $s(Nr,t)}function zl(...t){return function y$(){return aT(1)}()(go(t,Al(t)))}const Gs=new Ue(Or),eh=new Ue(t=>t.complete());function ai(...t){const n=Al(t),e=function gU(t,n){return"number"==typeof e_(t)?t.pop():n}(t,1/0),i=t;return i.length?1===i.length?Vt(i[0]):aT(e)(go(i,n)):eh}function Bt(t,n){return _t((e,i)=>{let o=0;e.subscribe(rt(i,r=>t.call(n,r,o++)&&i.next(r)))})}function pr(t,n){return _t((e,i)=>{let o=null,r=0,s=!1;const a=()=>s&&!o&&i.complete();e.subscribe(rt(i,l=>{o?.unsubscribe();let c=0;const d=r++;Vt(t(l,d)).subscribe(o=rt(i,u=>i.next(n?n(l,u,d,c++):u),()=>{o=null,a()}))},()=>{s=!0,a()}))})}class lT extends Ue{constructor(n,e){super(),this.source=n,this.subjectFactory=e,this._subject=null,this._refCount=0,this._connection=null,Vv(n)&&(this.lift=n.lift)}_subscribe(n){return this.getSubject().subscribe(n)}getSubject(){const n=this._subject;return(!n||n.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:n}=this;this._subject=this._connection=null,n?.unsubscribe()}connect(){let n=this._connection;if(!n){n=this._connection=new dt;const e=this.getSubject();n.add(this.source.subscribe(rt(e,void 0,()=>{this._teardown(),e.complete()},i=>{this._teardown(),e.error(i)},()=>this._teardown()))),n.closed&&(this._connection=null,n=dt.EMPTY)}return n}refCount(){return function x$(){return _t((t,n)=>{let e=null;t._refCount++;const i=rt(n,void 0,void 0,void 0,()=>{if(!t||t._refCount<=0||0<--t._refCount)return void(e=null);const o=t._connection,r=e;e=null,o&&(!r||o===r)&&o.unsubscribe(),n.unsubscribe()});t.subscribe(i),i.closed||(e=t.connect())})}()(this)}}const D$={connector:()=>new G};function cT(t,n=D$){const{connector:e}=n;return _t((i,o)=>{const r=e();Vt(t(function C$(t){return new Ue(n=>t.subscribe(n))}(r))).subscribe(o),o.add(i.subscribe(r))})}function Et(t){return t<=0?()=>eh:_t((n,e)=>{let i=0;n.subscribe(rt(e,o=>{++i<=t&&(e.next(o),t<=i&&e.complete())}))})}function Ul(t,n,e){const i=Ce(t)||n||e?{next:t,error:n,complete:e}:t;return i?_t((o,r)=>{var s;null===(s=i.subscribe)||void 0===s||s.call(i);let a=!0;o.subscribe(rt(r,l=>{var c;null===(c=i.next)||void 0===c||c.call(i,l),r.next(l)},()=>{var l;a=!1,null===(l=i.complete)||void 0===l||l.call(i),r.complete()},l=>{var c;a=!1,null===(c=i.error)||void 0===c||c.call(i,l),r.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)}))}):Nr}class M$ extends dt{constructor(n,e){super()}schedule(n,e=0){return this}}const th={setInterval(t,n,...e){const{delegate:i}=th;return i?.setInterval?i.setInterval(t,n,...e):setInterval(t,n,...e)},clearInterval(t){const{delegate:n}=th;return(n?.clearInterval||clearInterval)(t)},delegate:void 0};class X_ extends M${constructor(n,e){super(n,e),this.scheduler=n,this.work=e,this.pending=!1}schedule(n,e=0){var i;if(this.closed)return this;this.state=n;const o=this.id,r=this.scheduler;return null!=o&&(this.id=this.recycleAsyncId(r,o,e)),this.pending=!0,this.delay=e,this.id=null!==(i=this.id)&&void 0!==i?i:this.requestAsyncId(r,this.id,e),this}requestAsyncId(n,e,i=0){return th.setInterval(n.flush.bind(n,this),i)}recycleAsyncId(n,e,i=0){if(null!=i&&this.delay===i&&!1===this.pending)return e;null!=e&&th.clearInterval(e)}execute(n,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const i=this._execute(n,e);if(i)return i;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(n,e){let o,i=!1;try{this.work(n)}catch(r){i=!0,o=r||new Error("Scheduled action threw falsy error")}if(i)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){const{id:n,scheduler:e}=this,{actions:i}=e;this.work=this.state=this.scheduler=null,this.pending=!1,yc(i,this),null!=n&&(this.id=this.recycleAsyncId(e,n,null)),this.delay=null,super.unsubscribe()}}}const Z_={now:()=>(Z_.delegate||Date).now(),delegate:void 0};class $l{constructor(n,e=$l.now){this.schedulerActionCtor=n,this.now=e}schedule(n,e=0,i){return new this.schedulerActionCtor(this,n).schedule(i,e)}}$l.now=Z_.now;class K_ extends $l{constructor(n,e=$l.now){super(n,e),this.actions=[],this._active=!1}flush(n){const{actions:e}=this;if(this._active)return void e.push(n);let i;this._active=!0;do{if(i=n.execute(n.state,n.delay))break}while(n=e.shift());if(this._active=!1,i){for(;n=e.shift();)n.unsubscribe();throw i}}}const Wl=new K_(X_),I$=Wl;function dT(t,n){return n?e=>zl(n.pipe(Et(1),function T$(){return _t((t,n)=>{t.subscribe(rt(n,Or))})}()),e.pipe(dT(t))):$s((e,i)=>Vt(t(e,i)).pipe(Et(1),function S$(t){return We(()=>t)}(e)))}function Q_(t=0,n,e=I$){let i=-1;return null!=n&&(wM(n)?e=n:i=n),new Ue(o=>{let r=function A$(t){return t instanceof Date&&!isNaN(t)}(t)?+t-e.now():t;r<0&&(r=0);let s=0;return e.schedule(function(){o.closed||(o.next(s++),0<=i?this.schedule(void 0,i):o.complete())},r)})}function J_(t,n=Wl){const e=Q_(t,n);return dT(()=>e)}const Gl="Service workers are disabled or not supported by this browser";class nh{constructor(n){if(this.serviceWorker=n,n){const i=Ws(n,"controllerchange").pipe(We(()=>n.controller)),r=zl(Ju(()=>Tt(n.controller)),i);this.worker=r.pipe(Bt(d=>!!d)),this.registration=this.worker.pipe(pr(()=>n.getRegistration()));const c=Ws(n,"message").pipe(We(d=>d.data)).pipe(Bt(d=>d&&d.type)).pipe(function k$(t){return t?n=>cT(t)(n):n=>function E$(t,n){const e=Ce(t)?t:()=>t;return Ce(n)?cT(n,{connector:e}):i=>new lT(i,e)}(new G)(n)}());c.connect(),this.events=c}else this.worker=this.events=this.registration=function R$(t){return Ju(()=>rT(new Error(t)))}(Gl)}postMessage(n,e){return this.worker.pipe(Et(1),Ul(i=>{i.postMessage({action:n,...e})})).toPromise().then(()=>{})}postMessageWithOperation(n,e,i){const o=this.waitForOperationCompleted(i),r=this.postMessage(n,e);return Promise.all([r,o]).then(([,s])=>s)}generateNonce(){return Math.round(1e7*Math.random())}eventsOfType(n){let e;return e="string"==typeof n?i=>i.type===n:i=>n.includes(i.type),this.events.pipe(Bt(e))}nextEventOfType(n){return this.eventsOfType(n).pipe(Et(1))}waitForOperationCompleted(n){return this.eventsOfType("OPERATION_COMPLETED").pipe(Bt(e=>e.nonce===n),Et(1),We(e=>{if(void 0!==e.result)return e.result;throw new Error(e.error)})).toPromise()}get isEnabled(){return!!this.serviceWorker}}let uT=(()=>{class t{get isEnabled(){return this.sw.isEnabled}constructor(e){if(this.sw=e,this.pushManager=null,this.subscriptionChanges=new G,!e.isEnabled)return this.messages=Gs,this.notificationClicks=Gs,void(this.subscription=Gs);this.messages=this.sw.eventsOfType("PUSH").pipe(We(o=>o.data)),this.notificationClicks=this.sw.eventsOfType("NOTIFICATION_CLICK").pipe(We(o=>o.data)),this.pushManager=this.sw.registration.pipe(We(o=>o.pushManager));const i=this.pushManager.pipe(pr(o=>o.getSubscription()));this.subscription=ai(i,this.subscriptionChanges)}requestSubscription(e){if(!this.sw.isEnabled||null===this.pushManager)return Promise.reject(new Error(Gl));const i={userVisibleOnly:!0};let o=this.decodeBase64(e.serverPublicKey.replace(/_/g,"/").replace(/-/g,"+")),r=new Uint8Array(new ArrayBuffer(o.length));for(let s=0;ss.subscribe(i)),Et(1)).toPromise().then(s=>(this.subscriptionChanges.next(s),s))}unsubscribe(){return this.sw.isEnabled?this.subscription.pipe(Et(1),pr(i=>{if(null===i)throw new Error("Not subscribed to push notifications.");return i.unsubscribe().then(o=>{if(!o)throw new Error("Unsubscribe failed!");this.subscriptionChanges.next(null)})})).toPromise():Promise.reject(new Error(Gl))}decodeBase64(e){return atob(e)}static#e=this.\u0275fac=function(i){return new(i||t)(I(nh))};static#t=this.\u0275prov=V({token:t,factory:t.\u0275fac})}return t})(),hT=(()=>{class t{get isEnabled(){return this.sw.isEnabled}constructor(e){if(this.sw=e,!e.isEnabled)return this.versionUpdates=Gs,void(this.unrecoverable=Gs);this.versionUpdates=this.sw.eventsOfType(["VERSION_DETECTED","VERSION_INSTALLATION_FAILED","VERSION_READY","NO_NEW_VERSION_DETECTED"]),this.unrecoverable=this.sw.eventsOfType("UNRECOVERABLE_STATE")}checkForUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(Gl));const e=this.sw.generateNonce();return this.sw.postMessageWithOperation("CHECK_FOR_UPDATES",{nonce:e},e)}activateUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(Gl));const e=this.sw.generateNonce();return this.sw.postMessageWithOperation("ACTIVATE_UPDATE",{nonce:e},e)}static#e=this.\u0275fac=function(i){return new(i||t)(I(nh))};static#t=this.\u0275prov=V({token:t,factory:t.\u0275fac})}return t})();const fT=new R("");function P$(t,n,e,i){return()=>{if(!Bg(i)||!("serviceWorker"in navigator)||!1===e.enabled)return;let o;if(navigator.serviceWorker.addEventListener("controllerchange",()=>{null!==navigator.serviceWorker.controller&&navigator.serviceWorker.controller.postMessage({action:"INITIALIZE"})}),"function"==typeof e.registrationStrategy)o=e.registrationStrategy();else{const[s,...a]=(e.registrationStrategy||"registerWhenStable:30000").split(":");switch(s){case"registerImmediately":o=Tt(null);break;case"registerWithDelay":o=mT(+a[0]||0);break;case"registerWhenStable":o=a[0]?ai(pT(t),mT(+a[0])):pT(t);break;default:throw new Error(`Unknown ServiceWorker registration strategy: ${e.registrationStrategy}`)}}t.get(j).runOutsideAngular(()=>o.pipe(Et(1)).subscribe(()=>navigator.serviceWorker.register(n,{scope:e.scope}).catch(s=>console.error("Service worker registration failed with:",s))))}}function mT(t){return Tt(null).pipe(J_(t))}function pT(t){return t.get(Di).isStable.pipe(Bt(e=>e))}function O$(t,n){return new nh(Bg(n)&&!1!==t.enabled?navigator.serviceWorker:void 0)}class eb{}function N$(t,n={}){return Gr([uT,hT,{provide:fT,useValue:t},{provide:eb,useValue:n},{provide:nh,useFactory:O$,deps:[eb,gi]},{provide:bE,useFactory:P$,deps:[at,fT,eb,gi],multi:!0}])}let F$=(()=>{class t{static register(e,i={}){return{ngModule:t,providers:[N$(e,i)]}}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=De({type:t});static#n=this.\u0275inj=ve({providers:[uT,hT]})}return t})();function tb(t){return _t((n,e)=>{try{n.subscribe(e)}finally{e.add(t)}})}class ih{}class oh{}class Gn{constructor(n){this.normalizedNames=new Map,this.lazyUpdate=null,n?"string"==typeof n?this.lazyInit=()=>{this.headers=new Map,n.split("\n").forEach(e=>{const i=e.indexOf(":");if(i>0){const o=e.slice(0,i),r=o.toLowerCase(),s=e.slice(i+1).trim();this.maybeSetNormalizedName(o,r),this.headers.has(r)?this.headers.get(r).push(s):this.headers.set(r,[s])}})}:typeof Headers<"u"&&n instanceof Headers?(this.headers=new Map,n.forEach((e,i)=>{this.setHeaderEntries(i,e)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(n).forEach(([e,i])=>{this.setHeaderEntries(e,i)})}:this.headers=new Map}has(n){return this.init(),this.headers.has(n.toLowerCase())}get(n){this.init();const e=this.headers.get(n.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(n){return this.init(),this.headers.get(n.toLowerCase())||null}append(n,e){return this.clone({name:n,value:e,op:"a"})}set(n,e){return this.clone({name:n,value:e,op:"s"})}delete(n,e){return this.clone({name:n,value:e,op:"d"})}maybeSetNormalizedName(n,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,n)}init(){this.lazyInit&&(this.lazyInit instanceof Gn?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(e=>{this.headers.set(e,n.headers.get(e)),this.normalizedNames.set(e,n.normalizedNames.get(e))})}clone(n){const e=new Gn;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof Gn?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([n]),e}applyUpdate(n){const e=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,e);const o=("a"===n.op?this.headers.get(e):void 0)||[];o.push(...i),this.headers.set(e,o);break;case"d":const r=n.value;if(r){let s=this.headers.get(e);if(!s)return;s=s.filter(a=>-1===r.indexOf(a)),0===s.length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,s)}else this.headers.delete(e),this.normalizedNames.delete(e)}}setHeaderEntries(n,e){const i=(Array.isArray(e)?e:[e]).map(r=>r.toString()),o=n.toLowerCase();this.headers.set(o,i),this.maybeSetNormalizedName(n,o)}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>n(this.normalizedNames.get(e),this.headers.get(e)))}}class V${encodeKey(n){return gT(n)}encodeValue(n){return gT(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}}const H$=/%(\d[a-f0-9])/gi,j$={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function gT(t){return encodeURIComponent(t).replace(H$,(n,e)=>j$[e]??n)}function rh(t){return`${t}`}class wo{constructor(n={}){if(this.updates=null,this.cloneFrom=null,this.encoder=n.encoder||new V$,n.fromString){if(n.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function B$(t,n){const e=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(o=>{const r=o.indexOf("="),[s,a]=-1==r?[n.decodeKey(o),""]:[n.decodeKey(o.slice(0,r)),n.decodeValue(o.slice(r+1))],l=e.get(s)||[];l.push(a),e.set(s,l)}),e}(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(e=>{const i=n.fromObject[e],o=Array.isArray(i)?i.map(rh):[rh(i)];this.map.set(e,o)})):this.map=null}has(n){return this.init(),this.map.has(n)}get(n){this.init();const e=this.map.get(n);return e?e[0]:null}getAll(n){return this.init(),this.map.get(n)||null}keys(){return this.init(),Array.from(this.map.keys())}append(n,e){return this.clone({param:n,value:e,op:"a"})}appendAll(n){const e=[];return Object.keys(n).forEach(i=>{const o=n[i];Array.isArray(o)?o.forEach(r=>{e.push({param:i,value:r,op:"a"})}):e.push({param:i,value:o,op:"a"})}),this.clone(e)}set(n,e){return this.clone({param:n,value:e,op:"s"})}delete(n,e){return this.clone({param:n,value:e,op:"d"})}toString(){return this.init(),this.keys().map(n=>{const e=this.encoder.encodeKey(n);return this.map.get(n).map(i=>e+"="+this.encoder.encodeValue(i)).join("&")}).filter(n=>""!==n).join("&")}clone(n){const e=new wo({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(n),e}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 e=("a"===n.op?this.map.get(n.param):void 0)||[];e.push(rh(n.value)),this.map.set(n.param,e);break;case"d":if(void 0===n.value){this.map.delete(n.param);break}{let i=this.map.get(n.param)||[];const o=i.indexOf(rh(n.value));-1!==o&&i.splice(o,1),i.length>0?this.map.set(n.param,i):this.map.delete(n.param)}}}),this.cloneFrom=this.updates=null)}}class z${constructor(){this.map=new Map}set(n,e){return this.map.set(n,e),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 _T(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function bT(t){return typeof Blob<"u"&&t instanceof Blob}function vT(t){return typeof FormData<"u"&&t instanceof FormData}class ql{constructor(n,e,i,o){let r;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=n.toUpperCase(),function U$(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||o?(this.body=void 0!==i?i:null,r=o):r=i,r&&(this.reportProgress=!!r.reportProgress,this.withCredentials=!!r.withCredentials,r.responseType&&(this.responseType=r.responseType),r.headers&&(this.headers=r.headers),r.context&&(this.context=r.context),r.params&&(this.params=r.params),this.transferCache=r.transferCache),this.headers??=new Gn,this.context??=new z$,this.params){const s=this.params.toString();if(0===s.length)this.urlWithParams=e;else{const a=e.indexOf("?");this.urlWithParams=e+(-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 ql(e,i,s,{params:d,headers:c,context:u,reportProgress:l,responseType:o,withCredentials:a,transferCache:r})}}var xo=function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t}(xo||{});class nb{constructor(n,e=Yl.Ok,i="OK"){this.headers=n.headers||new Gn,this.status=void 0!==n.status?n.status:e,this.statusText=n.statusText||i,this.url=n.url||null,this.ok=this.status>=200&&this.status<300}}class sh extends nb{constructor(n={}){super(n),this.type=xo.ResponseHeader}clone(n={}){return new sh({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 gr extends nb{constructor(n={}){super(n),this.type=xo.Response,this.body=void 0!==n.body?n.body:null}clone(n={}){return new gr({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 qs extends nb{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 Yl=function(t){return t[t.Continue=100]="Continue",t[t.SwitchingProtocols=101]="SwitchingProtocols",t[t.Processing=102]="Processing",t[t.EarlyHints=103]="EarlyHints",t[t.Ok=200]="Ok",t[t.Created=201]="Created",t[t.Accepted=202]="Accepted",t[t.NonAuthoritativeInformation=203]="NonAuthoritativeInformation",t[t.NoContent=204]="NoContent",t[t.ResetContent=205]="ResetContent",t[t.PartialContent=206]="PartialContent",t[t.MultiStatus=207]="MultiStatus",t[t.AlreadyReported=208]="AlreadyReported",t[t.ImUsed=226]="ImUsed",t[t.MultipleChoices=300]="MultipleChoices",t[t.MovedPermanently=301]="MovedPermanently",t[t.Found=302]="Found",t[t.SeeOther=303]="SeeOther",t[t.NotModified=304]="NotModified",t[t.UseProxy=305]="UseProxy",t[t.Unused=306]="Unused",t[t.TemporaryRedirect=307]="TemporaryRedirect",t[t.PermanentRedirect=308]="PermanentRedirect",t[t.BadRequest=400]="BadRequest",t[t.Unauthorized=401]="Unauthorized",t[t.PaymentRequired=402]="PaymentRequired",t[t.Forbidden=403]="Forbidden",t[t.NotFound=404]="NotFound",t[t.MethodNotAllowed=405]="MethodNotAllowed",t[t.NotAcceptable=406]="NotAcceptable",t[t.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",t[t.RequestTimeout=408]="RequestTimeout",t[t.Conflict=409]="Conflict",t[t.Gone=410]="Gone",t[t.LengthRequired=411]="LengthRequired",t[t.PreconditionFailed=412]="PreconditionFailed",t[t.PayloadTooLarge=413]="PayloadTooLarge",t[t.UriTooLong=414]="UriTooLong",t[t.UnsupportedMediaType=415]="UnsupportedMediaType",t[t.RangeNotSatisfiable=416]="RangeNotSatisfiable",t[t.ExpectationFailed=417]="ExpectationFailed",t[t.ImATeapot=418]="ImATeapot",t[t.MisdirectedRequest=421]="MisdirectedRequest",t[t.UnprocessableEntity=422]="UnprocessableEntity",t[t.Locked=423]="Locked",t[t.FailedDependency=424]="FailedDependency",t[t.TooEarly=425]="TooEarly",t[t.UpgradeRequired=426]="UpgradeRequired",t[t.PreconditionRequired=428]="PreconditionRequired",t[t.TooManyRequests=429]="TooManyRequests",t[t.RequestHeaderFieldsTooLarge=431]="RequestHeaderFieldsTooLarge",t[t.UnavailableForLegalReasons=451]="UnavailableForLegalReasons",t[t.InternalServerError=500]="InternalServerError",t[t.NotImplemented=501]="NotImplemented",t[t.BadGateway=502]="BadGateway",t[t.ServiceUnavailable=503]="ServiceUnavailable",t[t.GatewayTimeout=504]="GatewayTimeout",t[t.HttpVersionNotSupported=505]="HttpVersionNotSupported",t[t.VariantAlsoNegotiates=506]="VariantAlsoNegotiates",t[t.InsufficientStorage=507]="InsufficientStorage",t[t.LoopDetected=508]="LoopDetected",t[t.NotExtended=510]="NotExtended",t[t.NetworkAuthenticationRequired=511]="NetworkAuthenticationRequired",t}(Yl||{});function ib(t,n){return{body:n,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials,transferCache:t.transferCache}}let ob=(()=>{class t{constructor(e){this.handler=e}request(e,i,o={}){let r;if(e instanceof ql)r=e;else{let l,c;l=o.headers instanceof Gn?o.headers:new Gn(o.headers),o.params&&(c=o.params instanceof wo?o.params:new wo({fromObject:o.params})),r=new ql(e,i,void 0!==o.body?o.body:null,{headers:l,context:o.context,params:c,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache})}const s=Tt(r).pipe(function L$(t,n){return Ce(n)?$s(t,n,1):$s(t,1)}(l=>this.handler.handle(l)));if(e instanceof ql||"events"===o.observe)return s;const a=s.pipe(Bt(l=>l instanceof gr));switch(o.observe||"body"){case"body":switch(r.responseType){case"arraybuffer":return a.pipe(We(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(We(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(We(l=>{if(null!==l.body&&"string"!=typeof l.body)throw new Error("Response is not a string.");return l.body}));default:return a.pipe(We(l=>l.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${o.observe}}`)}}delete(e,i={}){return this.request("DELETE",e,i)}get(e,i={}){return this.request("GET",e,i)}head(e,i={}){return this.request("HEAD",e,i)}jsonp(e,i){return this.request("JSONP",e,{params:(new wo).append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,i={}){return this.request("OPTIONS",e,i)}patch(e,i,o={}){return this.request("PATCH",e,ib(o,i))}post(e,i,o={}){return this.request("POST",e,ib(o,i))}put(e,i,o={}){return this.request("PUT",e,ib(o,i))}static#e=this.\u0275fac=function(i){return new(i||t)(I(ih))};static#t=this.\u0275prov=V({token:t,factory:t.\u0275fac})}return t})();function wT(t,n){return n(t)}function X$(t,n){return(e,i)=>n.intercept(e,{handle:o=>t(o,i)})}const K$=new R(""),Xl=new R(""),xT=new R(""),CT=new R("");function Q$(){let t=null;return(n,e)=>{null===t&&(t=(F(K$,{optional:!0})??[]).reduceRight(X$,wT));const i=F(er),o=i.add();return t(n,e).pipe(tb(()=>i.remove(o)))}}let DT=(()=>{class t extends ih{constructor(e,i){super(),this.backend=e,this.injector=i,this.chain=null,this.pendingTasks=F(er);const o=F(CT,{optional:!0});this.backend=o??e}handle(e){if(null===this.chain){const o=Array.from(new Set([...this.injector.get(Xl),...this.injector.get(xT,[])]));this.chain=o.reduceRight((r,s)=>function Z$(t,n,e){return(i,o)=>function Rf(t,n){t instanceof qr&&t.assertNotDestroyed();const i=oo(t),o=_n(void 0);try{return n()}finally{oo(i),_n(o)}}(e,()=>n(i,r=>t(r,o)))}(r,s,this.injector),wT)}const i=this.pendingTasks.add();return this.chain(e,o=>this.backend.handle(o)).pipe(tb(()=>this.pendingTasks.remove(i)))}static#e=this.\u0275fac=function(i){return new(i||t)(I(oh),I(Zn))};static#t=this.\u0275prov=V({token:t,factory:t.\u0275fac})}return t})();const i6=/^\)\]\}',?\n/;let kT=(()=>{class t{constructor(e){this.xhrFactory=e}handle(e){if("JSONP"===e.method)throw new S(-2800,!1);const i=this.xhrFactory;return(i.\u0275loadImpl?go(i.\u0275loadImpl()):Tt(null)).pipe(pr(()=>new Ue(r=>{const s=i.build();if(s.open(e.method,e.urlWithParams),e.withCredentials&&(s.withCredentials=!0),e.headers.forEach((_,y)=>s.setRequestHeader(_,y.join(","))),e.headers.has("Accept")||s.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){const _=e.detectContentTypeHeader();null!==_&&s.setRequestHeader("Content-Type",_)}if(e.responseType){const _=e.responseType.toLowerCase();s.responseType="json"!==_?_:"text"}const a=e.serializeBody();let l=null;const c=()=>{if(null!==l)return l;const _=s.statusText||"OK",y=new Gn(s.getAllResponseHeaders()),C=function o6(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}(s)||e.url;return l=new sh({headers:y,status:s.status,statusText:_,url:C}),l},d=()=>{let{headers:_,status:y,statusText:C,url:D}=c(),N=null;y!==Yl.NoContent&&(N=typeof s.response>"u"?s.responseText:s.response),0===y&&(y=N?Yl.Ok:0);let H=y>=200&&y<300;if("json"===e.responseType&&"string"==typeof N){const le=N;N=N.replace(i6,"");try{N=""!==N?JSON.parse(N):null}catch(pe){N=le,H&&(H=!1,N={error:pe,text:N})}}H?(r.next(new gr({body:N,headers:_,status:y,statusText:C,url:D||void 0})),r.complete()):r.error(new qs({error:N,headers:_,status:y,statusText:C,url:D||void 0}))},u=_=>{const{url:y}=c(),C=new qs({error:_,status:s.status||0,statusText:s.statusText||"Unknown Error",url:y||void 0});r.error(C)};let h=!1;const f=_=>{h||(r.next(c()),h=!0);let y={type:xo.DownloadProgress,loaded:_.loaded};_.lengthComputable&&(y.total=_.total),"text"===e.responseType&&s.responseText&&(y.partialText=s.responseText),r.next(y)},m=_=>{let y={type:xo.UploadProgress,loaded:_.loaded};_.lengthComputable&&(y.total=_.total),r.next(y)};return s.addEventListener("load",d),s.addEventListener("error",u),s.addEventListener("timeout",u),s.addEventListener("abort",u),e.reportProgress&&(s.addEventListener("progress",f),null!==a&&s.upload&&s.upload.addEventListener("progress",m)),s.send(a),r.next({type:xo.Sent}),()=>{s.removeEventListener("error",u),s.removeEventListener("abort",u),s.removeEventListener("load",d),s.removeEventListener("timeout",u),e.reportProgress&&(s.removeEventListener("progress",f),null!==a&&s.upload&&s.upload.removeEventListener("progress",m)),s.readyState!==s.DONE&&s.abort()}})))}static#e=this.\u0275fac=function(i){return new(i||t)(I(Pk))};static#t=this.\u0275prov=V({token:t,factory:t.\u0275fac})}return t})();const ab=new R(""),MT=new R("",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),IT=new R("",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class TT{}let a6=(()=>{class t{constructor(e,i,o){this.doc=e,this.platform=i,this.cookieName=o,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=Ck(e,this.cookieName),this.lastCookieString=e),this.lastToken}static#e=this.\u0275fac=function(i){return new(i||t)(I(fe),I(gi),I(MT))};static#t=this.\u0275prov=V({token:t,factory:t.\u0275fac})}return t})();function l6(t,n){const e=t.url.toLowerCase();if(!F(ab)||"GET"===t.method||"HEAD"===t.method||e.startsWith("http://")||e.startsWith("https://"))return n(t);const i=F(TT).getToken(),o=F(IT);return null!=i&&!t.headers.has(o)&&(t=t.clone({headers:t.headers.set(o,i)})),n(t)}var Co=function(t){return t[t.Interceptors=0]="Interceptors",t[t.LegacyInterceptors=1]="LegacyInterceptors",t[t.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",t[t.NoXsrfProtection=3]="NoXsrfProtection",t[t.JsonpSupport=4]="JsonpSupport",t[t.RequestsMadeViaParent=5]="RequestsMadeViaParent",t[t.Fetch=6]="Fetch",t}(Co||{});function c6(...t){const n=[ob,kT,DT,{provide:ih,useExisting:DT},{provide:oh,useExisting:kT},{provide:Xl,useValue:l6,multi:!0},{provide:ab,useValue:!0},{provide:TT,useClass:a6}];for(const e of t)n.push(...e.\u0275providers);return Gr(n)}const ST=new R("");function d6(){return function _r(t,n){return{\u0275kind:t,\u0275providers:n}}(Co.LegacyInterceptors,[{provide:ST,useFactory:Q$},{provide:Xl,useExisting:ST,multi:!0}])}let lb,u6=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=De({type:t});static#n=this.\u0275inj=ve({providers:[c6(d6())]})}return t})();function Ys(t){return null!=t&&"false"!=`${t}`}function lh(t,n=0){return VT(t)?Number(t):n}function VT(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}function ch(t){return Array.isArray(t)?t:[t]}function St(t){return null==t?"":"string"==typeof t?t:`${t}px`}function Do(t){return t instanceof Y?t.nativeElement:t}try{lb=typeof Intl<"u"&&Intl.v8BreakIterator}catch{lb=!1}let Xs,et=(()=>{class t{constructor(e){this._platformId=e,this.isBrowser=this._platformId?Bg(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&&!lb)&&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||t)(I(gi))};static#t=this.\u0275prov=V({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const BT=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function HT(){if(Xs)return Xs;if("object"!=typeof document||!document)return Xs=new Set(BT),Xs;let t=document.createElement("input");return Xs=new Set(BT.filter(n=>(t.setAttribute("type",n),t.type===n))),Xs}let Zl;function br(t){return function _6(){if(null==Zl&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Zl=!0}))}finally{Zl=Zl||!1}return Zl}()?t:!!t.capture}var Mi=function(t){return t[t.NORMAL=0]="NORMAL",t[t.NEGATED=1]="NEGATED",t[t.INVERTED=2]="INVERTED",t}(Mi||{});let dh,vr,cb;function jT(){if(null==vr){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return vr=!1,vr;if("scrollBehavior"in document.documentElement.style)vr=!0;else{const t=Element.prototype.scrollTo;vr=!!t&&!/\{\s*\[native code\]\s*\}/.test(t.toString())}}return vr}function Kl(){if("object"!=typeof document||!document)return Mi.NORMAL;if(null==dh){const t=document.createElement("div"),n=t.style;t.dir="rtl",n.width="1px",n.overflow="auto",n.visibility="hidden",n.pointerEvents="none",n.position="absolute";const e=document.createElement("div"),i=e.style;i.width="2px",i.height="1px",t.appendChild(e),document.body.appendChild(t),dh=Mi.NORMAL,0===t.scrollLeft&&(t.scrollLeft=1,dh=0===t.scrollLeft?Mi.NEGATED:Mi.INVERTED),t.remove()}return dh}function db(){let t=typeof document<"u"&&document?document.activeElement:null;for(;t&&t.shadowRoot;){const n=t.shadowRoot.activeElement;if(n===t)break;t=n}return t}function Eo(t){return t.composedPath?t.composedPath()[0]:t.target}function ub(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}const zT=br({passive:!0});let y6=(()=>{class t{constructor(e,i){this._platform=e,this._ngZone=i,this._monitoredElements=new Map}monitor(e){if(!this._platform.isBrowser)return eh;const i=Do(e),o=this._monitoredElements.get(i);if(o)return o.subject;const r=new G,s="cdk-text-field-autofilled",a=l=>{"cdk-text-field-autofill-start"!==l.animationName||i.classList.contains(s)?"cdk-text-field-autofill-end"===l.animationName&&i.classList.contains(s)&&(i.classList.remove(s),this._ngZone.run(()=>r.next({target:l.target,isAutofilled:!1}))):(i.classList.add(s),this._ngZone.run(()=>r.next({target:l.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{i.addEventListener("animationstart",a,zT),i.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(i,{subject:r,unlisten:()=>{i.removeEventListener("animationstart",a,zT)}}),r}stopMonitoring(e){const i=Do(e),o=this._monitoredElements.get(i);o&&(o.unlisten(),o.subject.complete(),i.classList.remove("cdk-text-field-autofill-monitored"),i.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(i))}ngOnDestroy(){this._monitoredElements.forEach((e,i)=>this.stopMonitoring(i))}static#e=this.\u0275fac=function(i){return new(i||t)(I(et),I(j))};static#t=this.\u0275prov=V({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),w6=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=De({type:t});static#n=this.\u0275inj=ve({})}return t})();function Ql(t,...n){return n.length?n.some(e=>t[e]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}function qT(t,n=Wl){return _t((e,i)=>{let o=null,r=null,s=null;const a=()=>{if(o){o.unsubscribe(),o=null;const c=r;r=null,i.next(c)}};function l(){const c=s+t,d=n.now();if(d{r=c,s=n.now(),o||(o=n.schedule(l,t),i.add(o))},()=>{a(),i.complete()},void 0,()=>{r=o=null}))})}function YT(t){return Bt((n,e)=>t<=e)}function L6(t,n){return t===n}function it(t){return _t((n,e)=>{Vt(t).subscribe(rt(e,()=>e.complete(),Or)),!e.closed&&n.subscribe(e)})}let V6=(()=>{class t{create(e){return typeof MutationObserver>"u"?null:new MutationObserver(e)}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=V({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),XT=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=De({type:t});static#n=this.\u0275inj=ve({providers:[V6]})}return t})();function hh(...t){const n=Al(t),e=xM(t),{args:i,keys:o}=yM(t);if(0===i.length)return go([],n);const r=new Ue(function B6(t,n,e=Nr){return i=>{ZT(n,()=>{const{length:o}=t,r=new Array(o);let s=o,a=o;for(let l=0;l{const c=go(t[l],n);let d=!1;c.subscribe(rt(i,u=>{r[l]=u,d||(d=!0,a--),a||i.next(e(r.slice()))},()=>{--s||i.complete()}))},i)},i)}}(i,n,o?s=>CM(o,s):Nr));return e?r.pipe(t_(e)):r}function ZT(t,n,e){t?Wi(e,t,n):n()}function Zs(...t){const n=Al(t);return _t((e,i)=>{(n?zl(t,e,n):zl(t,e)).subscribe(i)})}const KT=new Set;let yr,H6=(()=>{class t{constructor(e,i){this._platform=e,this._nonce=i,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):z6}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&function j6(t,n){if(!KT.has(t))try{yr||(yr=document.createElement("style"),n&&yr.setAttribute("nonce",n),yr.setAttribute("type","text/css"),document.head.appendChild(yr)),yr.sheet&&(yr.sheet.insertRule(`@media ${t} {body{ }}`,0),KT.add(t))}catch(e){console.error(e)}}(e,this._nonce),this._matchMedia(e)}static#e=this.\u0275fac=function(i){return new(i||t)(I(et),I(mm,8))};static#t=this.\u0275prov=V({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function z6(t){return{matches:"all"===t||""===t,media:t,addListener:()=>{},removeListener:()=>{}}}let QT=(()=>{class t{constructor(e,i){this._mediaMatcher=e,this._zone=i,this._queries=new Map,this._destroySubject=new G}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return JT(ch(e)).some(o=>this._registerQuery(o).mql.matches)}observe(e){let r=hh(JT(ch(e)).map(s=>this._registerQuery(s).observable));return r=zl(r.pipe(Et(1)),r.pipe(YT(1),qT(0))),r.pipe(We(s=>{const a={matches:!1,breakpoints:{}};return s.forEach(({matches:l,query:c})=>{a.matches=a.matches||l,a.breakpoints[c]=l}),a}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);const i=this._mediaMatcher.matchMedia(e),r={observable:new Ue(s=>{const a=l=>this._zone.run(()=>s.next(l));return i.addListener(a),()=>{i.removeListener(a)}}).pipe(Zs(i),We(({matches:s})=>({query:e,matches:s})),it(this._destroySubject)),mql:i};return this._queries.set(e,r),r}static#e=this.\u0275fac=function(i){return new(i||t)(I(H6),I(j))};static#t=this.\u0275prov=V({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function JT(t){return t.map(n=>n.split(",")).reduce((n,e)=>n.concat(e)).map(n=>n.trim())}function fh(t,n){return t.getAttribute(n)?.match(/\S+/g)??[]}const tS="cdk-describedby-message",mh="cdk-describedby-host";let mb=0,nS=(()=>{class t{constructor(e,i){this._platform=i,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+mb++,this._document=e,this._id=F(Na)+"-"+mb++}describe(e,i,o){if(!this._canBeDescribed(e,i))return;const r=pb(i,o);"string"!=typeof i?(iS(i,this._id),this._messageRegistry.set(r,{messageElement:i,referenceCount:0})):this._messageRegistry.has(r)||this._createMessageElement(i,o),this._isElementDescribedByMessage(e,r)||this._addMessageReference(e,r)}removeDescription(e,i,o){if(!i||!this._isElementNode(e))return;const r=pb(i,o);if(this._isElementDescribedByMessage(e,r)&&this._removeMessageReference(e,r),"string"==typeof i){const s=this._messageRegistry.get(r);s&&0===s.referenceCount&&this._deleteMessageElement(r)}0===this._messagesContainer?.childNodes.length&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){const e=this._document.querySelectorAll(`[${mh}="${this._id}"]`);for(let i=0;i0!=o.indexOf(tS));e.setAttribute("aria-describedby",i.join(" "))}_addMessageReference(e,i){const o=this._messageRegistry.get(i);(function $6(t,n,e){const i=fh(t,n);e=e.trim(),!i.some(o=>o.trim()===e)&&(i.push(e),t.setAttribute(n,i.join(" ")))})(e,"aria-describedby",o.messageElement.id),e.setAttribute(mh,this._id),o.referenceCount++}_removeMessageReference(e,i){const o=this._messageRegistry.get(i);o.referenceCount--,function W6(t,n,e){const i=fh(t,n);e=e.trim();const o=i.filter(r=>r!==e);o.length?t.setAttribute(n,o.join(" ")):t.removeAttribute(n)}(e,"aria-describedby",o.messageElement.id),e.removeAttribute(mh)}_isElementDescribedByMessage(e,i){const o=fh(e,"aria-describedby"),r=this._messageRegistry.get(i),s=r&&r.messageElement.id;return!!s&&-1!=o.indexOf(s)}_canBeDescribed(e,i){if(!this._isElementNode(e))return!1;if(i&&"object"==typeof i)return!0;const o=null==i?"":`${i}`.trim(),r=e.getAttribute("aria-label");return!(!o||r&&r.trim()===o)}_isElementNode(e){return e.nodeType===this._document.ELEMENT_NODE}static#e=this.\u0275fac=function(i){return new(i||t)(I(fe),I(et))};static#t=this.\u0275prov=V({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function pb(t,n){return"string"==typeof t?`${n||""}/${t}`:t}function iS(t,n){t.id||(t.id=`${tS}-${n}-${mb++}`)}class G6{constructor(n,e){this._items=n,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new G,this._typeaheadSubscription=dt.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 G,this.change=new G,n instanceof as?this._itemChangesSubscription=n.changes.subscribe(i=>this._itemsChanged(i.toArray())):Pd(n)&&(this._effectRef=ck(()=>this._itemsChanged(n()),{injector:e}))}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(Ul(e=>this._pressedLetters.push(e)),qT(n),Bt(()=>this._pressedLetters.length>0),We(()=>this._pressedLetters.join(""))).subscribe(e=>{const i=this._getItemsArray();for(let o=1;o!n[r]||this._allowedModifierKeys.indexOf(r)>-1);switch(e){case 9:return void this.tabOut.next();case 40:if(this._vertical&&o){this.setNextItemActive();break}return;case 38:if(this._vertical&&o){this.setPreviousItemActive();break}return;case 39:if(this._horizontal&&o){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case 37:if(this._horizontal&&o){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case 36:if(this._homeAndEnd&&o){this.setFirstItemActive();break}return;case 35:if(this._homeAndEnd&&o){this.setLastItemActive();break}return;case 33:if(this._pageUpAndDown.enabled&&o){const r=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(r>0?r:0,1);break}return;case 34:if(this._pageUpAndDown.enabled&&o){const r=this._activeItemIndex+this._pageUpAndDown.delta,s=this._getItemsArray().length;this._setActiveItemByIndex(r=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e))))}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 e=this._getItemsArray(),i="number"==typeof n?n:e.indexOf(n);this._activeItem=e[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 e=this._getItemsArray();for(let i=1;i<=e.length;i++){const o=(this._activeItemIndex+n*i+e.length)%e.length;if(!this._skipPredicateFn(e[o]))return void this.setActiveItem(o)}}_setActiveInDefaultMode(n){this._setActiveItemByIndex(this._activeItemIndex+n,n)}_setActiveItemByIndex(n,e){const i=this._getItemsArray();if(i[n]){for(;this._skipPredicateFn(i[n]);)if(!i[n+=e])return;this.setActiveItem(n)}}_getItemsArray(){return Pd(this._items)?this._items():this._items instanceof as?this._items.toArray():this._items}_itemsChanged(n){if(this._activeItem){const e=n.indexOf(this._activeItem);e>-1&&e!==this._activeItemIndex&&(this._activeItemIndex=e)}}}class q6 extends G6{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(n){return this._origin=n,this}setActiveItem(n){super.setActiveItem(n),this.activeItem&&this.activeItem.focus(this._origin)}}let gb=(()=>{class t{constructor(e){this._platform=e}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return function X6(t){return!!(t.offsetWidth||t.offsetHeight||"function"==typeof t.getClientRects&&t.getClientRects().length)}(e)&&"visible"===getComputedStyle(e).visibility}isTabbable(e){if(!this._platform.isBrowser)return!1;const i=function Y6(t){try{return t.frameElement}catch{return null}}(function iW(t){return t.ownerDocument&&t.ownerDocument.defaultView||window}(e));if(i&&(-1===rS(i)||!this.isVisible(i)))return!1;let o=e.nodeName.toLowerCase(),r=rS(e);return e.hasAttribute("contenteditable")?-1!==r:!("iframe"===o||"object"===o||this._platform.WEBKIT&&this._platform.IOS&&!function tW(t){let n=t.nodeName.toLowerCase(),e="input"===n&&t.type;return"text"===e||"password"===e||"select"===n||"textarea"===n}(e))&&("audio"===o?!!e.hasAttribute("controls")&&-1!==r:"video"===o?-1!==r&&(null!==r||this._platform.FIREFOX||e.hasAttribute("controls")):e.tabIndex>=0)}isFocusable(e,i){return function nW(t){return!function K6(t){return function J6(t){return"input"==t.nodeName.toLowerCase()}(t)&&"hidden"==t.type}(t)&&(function Z6(t){let n=t.nodeName.toLowerCase();return"input"===n||"select"===n||"button"===n||"textarea"===n}(t)||function Q6(t){return function eW(t){return"a"==t.nodeName.toLowerCase()}(t)&&t.hasAttribute("href")}(t)||t.hasAttribute("contenteditable")||oS(t))}(e)&&!this.isDisabled(e)&&(i?.ignoreVisibility||this.isVisible(e))}static#e=this.\u0275fac=function(i){return new(i||t)(I(et))};static#t=this.\u0275prov=V({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function oS(t){if(!t.hasAttribute("tabindex")||void 0===t.tabIndex)return!1;let n=t.getAttribute("tabindex");return!(!n||isNaN(parseInt(n,10)))}function rS(t){if(!oS(t))return null;const n=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(n)?-1:n}class sS{get enabled(){return this._enabled}set enabled(n){this._enabled=n,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(n,this._startAnchor),this._toggleAnchorTabIndex(n,this._endAnchor))}constructor(n,e,i,o,r=!1){this._element=n,this._checker=e,this._ngZone=i,this._document=o,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,r||this.attachAnchors()}destroy(){const n=this._startAnchor,e=this._endAnchor;n&&(n.removeEventListener("focus",this.startAnchorListener),n.remove()),e&&(e.removeEventListener("focus",this.endAnchorListener),e.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement(n)))})}focusFirstTabbableElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(n)))})}focusLastTabbableElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(n)))})}_getRegionBoundary(n){const e=this._element.querySelectorAll(`[cdk-focus-region-${n}], [cdkFocusRegion${n}], [cdk-focus-${n}]`);return"start"==n?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(n){const e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(e){if(!this._checker.isFocusable(e)){const i=this._getFirstTabbableElement(e);return i?.focus(n),!!i}return e.focus(n),!0}return this.focusFirstTabbableElement(n)}focusFirstTabbableElement(n){const e=this._getRegionBoundary("start");return e&&e.focus(n),!!e}focusLastTabbableElement(n){const e=this._getRegionBoundary("end");return e&&e.focus(n),!!e}hasAttached(){return this._hasAttached}_getFirstTabbableElement(n){if(this._checker.isFocusable(n)&&this._checker.isTabbable(n))return n;const e=n.children;for(let i=0;i=0;i--){const o=e[i].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[i]):null;if(o)return o}return null}_createAnchor(){const n=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,n),n.classList.add("cdk-visually-hidden"),n.classList.add("cdk-focus-trap-anchor"),n.setAttribute("aria-hidden","true"),n}_toggleAnchorTabIndex(n,e){n?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(n){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(n,this._startAnchor),this._toggleAnchorTabIndex(n,this._endAnchor))}_executeOnStable(n){this._ngZone.isStable?n():this._ngZone.onStable.pipe(Et(1)).subscribe(n)}}let aS=(()=>{class t{constructor(e,i,o){this._checker=e,this._ngZone=i,this._document=o}create(e,i=!1){return new sS(e,this._checker,this._ngZone,this._document,i)}static#e=this.\u0275fac=function(i){return new(i||t)(I(gb),I(j),I(fe))};static#t=this.\u0275prov=V({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function _b(t){return 0===t.buttons||0===t.detail}function bb(t){const n=t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0];return!(!n||-1!==n.identifier||null!=n.radiusX&&1!==n.radiusX||null!=n.radiusY&&1!==n.radiusY)}const oW=new R("cdk-input-modality-detector-options"),rW={ignoreKeys:[18,17,224,91,16]},Ks=br({passive:!0,capture:!0});let sW=(()=>{class t{get mostRecentModality(){return this._modality.value}constructor(e,i,o,r){this._platform=e,this._mostRecentTarget=null,this._modality=new Fr(null),this._lastTouchMs=0,this._onKeydown=s=>{this._options?.ignoreKeys?.some(a=>a===s.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=Eo(s))},this._onMousedown=s=>{Date.now()-this._lastTouchMs<650||(this._modality.next(_b(s)?"keyboard":"mouse"),this._mostRecentTarget=Eo(s))},this._onTouchstart=s=>{bb(s)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=Eo(s))},this._options={...rW,...r},this.modalityDetected=this._modality.pipe(YT(1)),this.modalityChanged=this.modalityDetected.pipe(function F6(t,n=Nr){return t=t??L6,_t((e,i)=>{let o,r=!0;e.subscribe(rt(i,s=>{const a=n(s);(r||!t(o,a))&&(r=!1,o=a,i.next(s))}))})}()),e.isBrowser&&i.runOutsideAngular(()=>{o.addEventListener("keydown",this._onKeydown,Ks),o.addEventListener("mousedown",this._onMousedown,Ks),o.addEventListener("touchstart",this._onTouchstart,Ks)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Ks),document.removeEventListener("mousedown",this._onMousedown,Ks),document.removeEventListener("touchstart",this._onTouchstart,Ks))}static#e=this.\u0275fac=function(i){return new(i||t)(I(et),I(j),I(fe),I(oW,8))};static#t=this.\u0275prov=V({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const aW=new R("liveAnnouncerElement",{providedIn:"root",factory:function lW(){return null}}),cW=new R("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let dW=0,uW=(()=>{class t{constructor(e,i,o,r){this._ngZone=i,this._defaultOptions=r,this._document=o,this._liveElement=e||this._createLiveElement()}announce(e,...i){const o=this._defaultOptions;let r,s;return 1===i.length&&"number"==typeof i[0]?s=i[0]:[r,s]=i,this.clear(),clearTimeout(this._previousTimeout),r||(r=o&&o.politeness?o.politeness:"polite"),null==s&&o&&(s=o.duration),this._liveElement.setAttribute("aria-live",r),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=e,"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 e="cdk-live-announcer-element",i=this._document.getElementsByClassName(e),o=this._document.createElement("div");for(let r=0;r .cdk-overlay-container [aria-modal="true"]');for(let o=0;o{class t{constructor(e,i,o,r,s){this._ngZone=e,this._platform=i,this._inputModalityDetector=o,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new G,this._rootNodeFocusAndBlurListener=a=>{for(let c=Eo(a);c;c=c.parentElement)"focus"===a.type?this._onFocus(a,c):this._onBlur(a,c)},this._document=r,this._detectionMode=s?.detectionMode||ph.IMMEDIATE}monitor(e,i=!1){const o=Do(e);if(!this._platform.isBrowser||1!==o.nodeType)return Tt();const r=function v6(t){if(function b6(){if(null==cb){const t=typeof document<"u"?document.head:null;cb=!(!t||!t.createShadowRoot&&!t.attachShadow)}return cb}()){const n=t.getRootNode?t.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&n instanceof ShadowRoot)return n}return null}(o)||this._getDocument(),s=this._elementInfo.get(o);if(s)return i&&(s.checkChildren=!0),s.subject;const a={checkChildren:i,subject:new G,rootNode:r};return this._elementInfo.set(o,a),this._registerGlobalListeners(a),a.subject}stopMonitoring(e){const i=Do(e),o=this._elementInfo.get(i);o&&(o.subject.complete(),this._setClasses(i),this._elementInfo.delete(i),this._removeGlobalListeners(o))}focusVia(e,i,o){const r=Do(e);r===this._getDocument().activeElement?this._getClosestElementsInfo(r).forEach(([a,l])=>this._originChanged(a,i,l)):(this._setOrigin(i),"function"==typeof r.focus&&r.focus(o))}ngOnDestroy(){this._elementInfo.forEach((e,i)=>this.stopMonitoring(i))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:e&&this._isLastInteractionFromInputLabel(e)?"mouse":"program"}_shouldBeAttributedToTouch(e){return this._detectionMode===ph.EVENTUAL||!!e?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(e,i){e.classList.toggle("cdk-focused",!!i),e.classList.toggle("cdk-touch-focused","touch"===i),e.classList.toggle("cdk-keyboard-focused","keyboard"===i),e.classList.toggle("cdk-mouse-focused","mouse"===i),e.classList.toggle("cdk-program-focused","program"===i)}_setOrigin(e,i=!1){this._ngZone.runOutsideAngular(()=>{this._origin=e,this._originFromTouchInteraction="touch"===e&&i,this._detectionMode===ph.IMMEDIATE&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(e,i){const o=this._elementInfo.get(i),r=Eo(e);!o||!o.checkChildren&&i!==r||this._originChanged(i,this._getFocusOrigin(r),o)}_onBlur(e,i){const o=this._elementInfo.get(i);!o||o.checkChildren&&e.relatedTarget instanceof Node&&i.contains(e.relatedTarget)||(this._setClasses(i),this._emitOrigin(o,null))}_emitOrigin(e,i){e.subject.observers.length&&this._ngZone.run(()=>e.subject.next(i))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;const i=e.rootNode,o=this._rootNodeFocusListenerCount.get(i)||0;o||this._ngZone.runOutsideAngular(()=>{i.addEventListener("focus",this._rootNodeFocusAndBlurListener,gh),i.addEventListener("blur",this._rootNodeFocusAndBlurListener,gh)}),this._rootNodeFocusListenerCount.set(i,o+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(it(this._stopInputModalityDetector)).subscribe(r=>{this._setOrigin(r,!0)}))}_removeGlobalListeners(e){const i=e.rootNode;if(this._rootNodeFocusListenerCount.has(i)){const o=this._rootNodeFocusListenerCount.get(i);o>1?this._rootNodeFocusListenerCount.set(i,o-1):(i.removeEventListener("focus",this._rootNodeFocusAndBlurListener,gh),i.removeEventListener("blur",this._rootNodeFocusAndBlurListener,gh),this._rootNodeFocusListenerCount.delete(i))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,i,o){this._setClasses(e,i),this._emitOrigin(o,i),this._lastFocusOrigin=i}_getClosestElementsInfo(e){const i=[];return this._elementInfo.forEach((o,r)=>{(r===e||o.checkChildren&&r.contains(e))&&i.push([r,o])}),i}_isLastInteractionFromInputLabel(e){const{_mostRecentTarget:i,mostRecentModality:o}=this._inputModalityDetector;if("mouse"!==o||!i||i===e||"INPUT"!==e.nodeName&&"TEXTAREA"!==e.nodeName||e.disabled)return!1;const r=e.labels;if(r)for(let s=0;s{class t{constructor(e,i){this._platform=e,this._document=i,this._breakpointSubscription=F(QT).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return xr.NONE;const e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);const i=this._document.defaultView||window,o=i&&i.getComputedStyle?i.getComputedStyle(e):null,r=(o&&o.backgroundColor||"").replace(/ /g,"");switch(e.remove(),r){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return xr.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return xr.BLACK_ON_WHITE}return xr.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const e=this._document.body.classList;e.remove(vb,cS,dS),this._hasCheckedHighContrastMode=!0;const i=this.getHighContrastMode();i===xr.BLACK_ON_WHITE?e.add(vb,cS):i===xr.WHITE_ON_BLACK&&e.add(vb,dS)}}static#e=this.\u0275fac=function(i){return new(i||t)(I(et),I(fe))};static#t=this.\u0275prov=V({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),hS=(()=>{class t{constructor(e){e._applyBodyHighContrastModeCssClasses()}static#e=this.\u0275fac=function(i){return new(i||t)(I(uS))};static#t=this.\u0275mod=De({type:t});static#n=this.\u0275inj=ve({imports:[XT]})}return t})();const fW=new R("cdk-dir-doc",{providedIn:"root",factory:function mW(){return F(fe)}}),pW=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let Xi=(()=>{class t{constructor(e){this.value="ltr",this.change=new J,e&&(this.value=function gW(t){const n=t?.toLowerCase()||"";return"auto"===n&&typeof navigator<"u"&&navigator?.language?pW.test(navigator.language)?"rtl":"ltr":"rtl"===n?"rtl":"ltr"}((e.body?e.body.dir:null)||(e.documentElement?e.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}static#e=this.\u0275fac=function(i){return new(i||t)(I(fW,8))};static#t=this.\u0275prov=V({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Jl=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=De({type:t});static#n=this.\u0275inj=ve({})}return t})();const _W=["mat-internal-form-field",""],bW=["*"];let vW=(()=>{class t{static#e=this.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)";static#t=this.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)";static#n=this.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)";static#i=this.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)"}return t})(),yW=(()=>{class t{static#e=this.COMPLEX="375ms";static#t=this.ENTERING="225ms";static#n=this.EXITING="195ms"}return t})();const xW=new R("mat-sanity-checks",{providedIn:"root",factory:function wW(){return!0}});let lt=(()=>{class t{constructor(e,i,o){this._sanityChecks=i,this._document=o,this._hasDoneGlobalChecks=!1,e._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(e){return!ub()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[e])}static#e=this.\u0275fac=function(i){return new(i||t)(I(uS),I(xW,8),I(fe))};static#t=this.\u0275mod=De({type:t});static#n=this.\u0275inj=ve({imports:[Jl,Jl]})}return t})();class pS{constructor(n,e,i,o,r){this._defaultMatcher=n,this.ngControl=e,this._parentFormGroup=i,this._parentForm=o,this._stateChanges=r,this.errorState=!1}updateErrorState(){const n=this.errorState,e=this._parentFormGroup||this._parentForm,i=this.matcher||this._defaultMatcher,o=this.ngControl?this.ngControl.control:null,r=i?.isErrorState(o,e)??!1;r!==n&&(this.errorState=r,this._stateChanges.next())}}let IW=(()=>{class t{isErrorState(e,i){return!!(e&&e.invalid&&(e.touched||i&&i.submitted))}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=V({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var En=function(t){return t[t.FADING_IN=0]="FADING_IN",t[t.VISIBLE=1]="VISIBLE",t[t.FADING_OUT=2]="FADING_OUT",t[t.HIDDEN=3]="HIDDEN",t}(En||{});class TW{constructor(n,e,i,o=!1){this._renderer=n,this.element=e,this.config=i,this._animationForciblyDisabledThroughCss=o,this.state=En.HIDDEN}fadeOut(){this._renderer.fadeOutRipple(this)}}const gS=br({passive:!0,capture:!0});class SW{constructor(){this._events=new Map,this._delegateEventHandler=n=>{const e=Eo(n);e&&this._events.get(n.type)?.forEach((i,o)=>{(o===e||o.contains(e))&&i.forEach(r=>r.handleEvent(n))})}}addHandler(n,e,i,o){const r=this._events.get(e);if(r){const s=r.get(i);s?s.add(o):r.set(i,new Set([o]))}else this._events.set(e,new Map([[i,new Set([o])]])),n.runOutsideAngular(()=>{document.addEventListener(e,this._delegateEventHandler,gS)})}removeHandler(n,e,i){const o=this._events.get(n);if(!o)return;const r=o.get(e);r&&(r.delete(i),0===r.size&&o.delete(e),0===o.size&&(this._events.delete(n),document.removeEventListener(n,this._delegateEventHandler,gS)))}}const _S={enterDuration:225,exitDuration:150},bS=br({passive:!0,capture:!0}),vS=["mousedown","touchstart"],yS=["mouseup","mouseleave","touchend","touchcancel"];class _h{static#e=this._eventManager=new SW;constructor(n,e,i,o){this._target=n,this._ngZone=e,this._platform=o,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,o.isBrowser&&(this._containerElement=Do(i))}fadeInRipple(n,e,i={}){const o=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),r={..._S,...i.animation};i.centered&&(n=o.left+o.width/2,e=o.top+o.height/2);const s=i.radius||function RW(t,n,e){const i=Math.max(Math.abs(t-e.left),Math.abs(t-e.right)),o=Math.max(Math.abs(n-e.top),Math.abs(n-e.bottom));return Math.sqrt(i*i+o*o)}(n,e,o),a=n-o.left,l=e-o.top,c=r.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,m="none"===u.transitionProperty||"0s"===f||"0s, 0s"===f||0===o.width&&0===o.height,_=new TW(this,d,i,m);d.style.transform="scale3d(1, 1, 1)",_.state=En.FADING_IN,i.persistent||(this._mostRecentTransientRipple=_);let y=null;return!m&&(c||r.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const C=()=>this._finishRippleTransition(_),D=()=>this._destroyRipple(_);d.addEventListener("transitionend",C),d.addEventListener("transitioncancel",D),y={onTransitionEnd:C,onTransitionCancel:D}}),this._activeRipples.set(_,y),(m||!c)&&this._finishRippleTransition(_),_}fadeOutRipple(n){if(n.state===En.FADING_OUT||n.state===En.HIDDEN)return;const e=n.element,i={..._S,...n.config.animation};e.style.transitionDuration=`${i.exitDuration}ms`,e.style.opacity="0",n.state=En.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 e=Do(n);!this._platform.isBrowser||!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,vS.forEach(i=>{_h._eventManager.addHandler(this._ngZone,i,e,this)}))}handleEvent(n){"mousedown"===n.type?this._onMousedown(n):"touchstart"===n.type?this._onTouchStart(n):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{yS.forEach(e=>{this._triggerElement.addEventListener(e,this,bS)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(n){n.state===En.FADING_IN?this._startFadeOutTransition(n):n.state===En.FADING_OUT&&this._destroyRipple(n)}_startFadeOutTransition(n){const e=n===this._mostRecentTransientRipple,{persistent:i}=n.config;n.state=En.VISIBLE,!i&&(!e||!this._isPointerDown)&&n.fadeOut()}_destroyRipple(n){const e=this._activeRipples.get(n)??null;this._activeRipples.delete(n),this._activeRipples.size||(this._containerRect=null),n===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),n.state=En.HIDDEN,null!==e&&(n.element.removeEventListener("transitionend",e.onTransitionEnd),n.element.removeEventListener("transitioncancel",e.onTransitionCancel)),n.element.remove()}_onMousedown(n){const e=_b(n),i=this._lastTouchStartEvent&&Date.now(){!n.config.persistent&&(n.state===En.VISIBLE||n.config.terminateOnPointerUp&&n.state===En.FADING_IN)&&n.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const n=this._triggerElement;n&&(vS.forEach(e=>_h._eventManager.removeHandler(e,n,this)),this._pointerUpEventsRegistered&&(yS.forEach(e=>n.removeEventListener(e,this,bS)),this._pointerUpEventsRegistered=!1))}}const yb=new R("mat-ripple-global-options");let Qs=(()=>{class t{get disabled(){return this._disabled}set disabled(e){e&&this.fadeOutAllNonPersistent(),this._disabled=e,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}constructor(e,i,o,r,s){this._elementRef=e,this._animationMode=s,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=r||{},this._rippleRenderer=new _h(this,i,e,o)}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(e,i=0,o){return"number"==typeof e?this._rippleRenderer.fadeInRipple(e,i,{...this.rippleConfig,...o}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...e})}static#e=this.\u0275fac=function(i){return new(i||t)(p(Y),p(j),p(et),p(yb,8),p(wn,8))};static#t=this.\u0275dir=O({type:t,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(i,o){2&i&&xe("mat-ripple-unbounded",o.unbounded)},inputs:{color:[P.None,"matRippleColor","color"],unbounded:[P.None,"matRippleUnbounded","unbounded"],centered:[P.None,"matRippleCentered","centered"],radius:[P.None,"matRippleRadius","radius"],animation:[P.None,"matRippleAnimation","animation"],disabled:[P.None,"matRippleDisabled","disabled"],trigger:[P.None,"matRippleTrigger","trigger"]},exportAs:["matRipple"],standalone:!0})}return t})(),wb=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=De({type:t});static#n=this.\u0275inj=ve({imports:[lt,lt]})}return t})();const wS={capture:!0},xS=["focus","click","mouseenter","touchstart"],xb="mat-ripple-loader-uninitialized",Cb="mat-ripple-loader-class-name",CS="mat-ripple-loader-centered",bh="mat-ripple-loader-disabled";let PW=(()=>{class t{constructor(){this._document=F(fe,{optional:!0}),this._animationMode=F(wn,{optional:!0}),this._globalRippleOptions=F(yb,{optional:!0}),this._platform=F(et),this._ngZone=F(j),this._hosts=new Map,this._onInteraction=e=>{if(!(e.target instanceof HTMLElement))return;const o=e.target.closest(`[${xb}]`);o&&this._createRipple(o)},this._ngZone.runOutsideAngular(()=>{for(const e of xS)this._document?.addEventListener(e,this._onInteraction,wS)})}ngOnDestroy(){const e=this._hosts.keys();for(const i of e)this.destroyRipple(i);for(const i of xS)this._document?.removeEventListener(i,this._onInteraction,wS)}configureRipple(e,i){e.setAttribute(xb,""),(i.className||!e.hasAttribute(Cb))&&e.setAttribute(Cb,i.className||""),i.centered&&e.setAttribute(CS,""),i.disabled&&e.setAttribute(bh,"")}getRipple(e){return this._hosts.get(e)||this._createRipple(e)}setDisabled(e,i){const o=this._hosts.get(e);o?o.disabled=i:i?e.setAttribute(bh,""):e.removeAttribute(bh)}_createRipple(e){if(!this._document)return;const i=this._hosts.get(e);if(i)return i;e.querySelector(".mat-ripple")?.remove();const o=this._document.createElement("span");o.classList.add("mat-ripple",e.getAttribute(Cb)),e.append(o);const r=new Qs(new Y(o),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return r._isInitialized=!0,r.trigger=e,r.centered=e.hasAttribute(CS),r.disabled=e.hasAttribute(bh),this.attachRipple(e,r),r}attachRipple(e,i){e.removeAttribute(xb),this._hosts.set(e,i)}destroyRipple(e){const i=this._hosts.get(e);i&&(i.ngOnDestroy(),this._hosts.delete(e))}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=V({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),OW=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275cmp=ae({type:t,selectors:[["div","mat-internal-form-field",""]],hostAttrs:[1,"mdc-form-field","mat-internal-form-field"],hostVars:2,hostBindings:function(i,o){2&i&&xe("mdc-form-field--align-end","before"===o.labelPosition)},inputs:{labelPosition:"labelPosition"},standalone:!0,features:[ze],attrs:_W,ngContentSelectors:bW,decls:1,vars:0,template:function(i,o){1&i&&(an(),Ae(0))},styles:[".mdc-form-field{display:inline-flex;align-items:center;vertical-align:middle}.mdc-form-field[hidden]{display:none}.mdc-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{margin-left:auto;margin-right:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{padding-left:0;padding-right:4px}.mdc-form-field--nowrap>label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{margin-left:0;margin-right:auto}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{padding-left:4px;padding-right:0}.mdc-form-field--space-between{justify-content:space-between}.mdc-form-field--space-between>label{margin:0}[dir=rtl] .mdc-form-field--space-between>label,.mdc-form-field--space-between>label[dir=rtl]{margin:0}.mdc-form-field{font-family:var(--mdc-form-field-label-text-font);line-height:var(--mdc-form-field-label-text-line-height);font-size:var(--mdc-form-field-label-text-size);font-weight:var(--mdc-form-field-label-text-weight);letter-spacing:var(--mdc-form-field-label-text-tracking);color:var(--mdc-form-field-label-text-color)}.mat-internal-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}"],encapsulation:2,changeDetection:0})}return t})();class DS extends G{constructor(n=1/0,e=1/0,i=Z_){super(),this._bufferSize=n,this._windowTime=e,this._timestampProvider=i,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=e===1/0,this._bufferSize=Math.max(1,n),this._windowTime=Math.max(1,e)}next(n){const{isStopped:e,_buffer:i,_infiniteTimeWindow:o,_timestampProvider:r,_windowTime:s}=this;e||(i.push(n),!o&&i.push(r.now()+s)),this._trimBuffer(),super.next(n)}_subscribe(n){this._throwIfClosed(),this._trimBuffer();const e=this._innerSubscribe(n),{_infiniteTimeWindow:i,_buffer:o}=this,r=o.slice();for(let s=0;snew G),resetOnError:e=!0,resetOnComplete:i=!0,resetOnRefCountZero:o=!0}=t;return r=>{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},m=()=>{const _=s;f(),_?.unsubscribe()};return _t((_,y)=>{c++,!u&&!d&&h();const C=l=l??n();y.add(()=>{c--,0===c&&!u&&!d&&(a=Db(m,o))}),C.subscribe(y),!s&&c>0&&(s=new fa({next:D=>C.next(D),error:D=>{u=!0,h(),a=Db(f,e,D),C.error(D)},complete:()=>{d=!0,h(),a=Db(f,i),C.complete()}}),Vt(_).subscribe(s))})(r)}}function Db(t,n,...e){if(!0===n)return void t();if(!1===n)return;const i=new fa({next:()=>{i.unsubscribe(),t()}});return Vt(n(...e)).subscribe(i)}class FW{constructor(n){this._box=n,this._destroyed=new G,this._resizeSubject=new G,this._elementObservables=new Map,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(e=>this._resizeSubject.next(e)))}observe(n){return this._elementObservables.has(n)||this._elementObservables.set(n,new Ue(e=>{const i=this._resizeSubject.subscribe(e);return this._resizeObserver?.observe(n,{box:this._box}),()=>{this._resizeObserver?.unobserve(n),i.unsubscribe(),this._elementObservables.delete(n)}}).pipe(Bt(e=>e.some(i=>i.target===n)),function NW(t,n,e){let i,o=!1;return t&&"object"==typeof t?({bufferSize:i=1/0,windowTime:n=1/0,refCount:o=!1,scheduler:e}=t):i=t??1/0,ES({connector:()=>new DS(i,n,e),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}({bufferSize:1,refCount:!0}),it(this._destroyed))),this._elementObservables.get(n)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}}let LW=(()=>{class t{constructor(){this._observers=new Map,this._ngZone=F(j)}ngOnDestroy(){for(const[,e]of this._observers)e.destroy();this._observers.clear()}observe(e,i){const o=i?.box||"content-box";return this._observers.has(o)||this._observers.set(o,new FW(o)),this._observers.get(o).observe(e)}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=V({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const VW=["notch"],BW=["matFormFieldNotchedOutline",""],HW=["*"],jW=["textField"],zW=["iconPrefixContainer"],UW=["textPrefixContainer"],$W=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],WW=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];function GW(t,n){1&t&&$(0,"span",17)}function qW(t,n){if(1&t&&(g(0,"label",16),Ae(1,1),B(2,GW,1,0,"span",17),b()),2&t){const e=w(2);E("floating",e._shouldLabelFloat())("monitorResize",e._hasOutline())("id",e._labelId),W("for",e._control.disableAutomaticLabeling?null:e._control.id),v(2),tt(2,!e.hideRequiredMarker&&e._control.required?2:-1)}}function YW(t,n){1&t&&B(0,qW,3,5,"label",16),2&t&&tt(0,w()._hasFloatingLabel()?0:-1)}function XW(t,n){1&t&&$(0,"div",5)}function ZW(t,n){}function KW(t,n){1&t&&B(0,ZW,0,0,"ng-template",11),2&t&&(w(2),E("ngTemplateOutlet",Nn(1)))}function QW(t,n){if(1&t&&(g(0,"div",7),B(1,KW,1,1,null,11),b()),2&t){const e=w();E("matFormFieldNotchedOutlineOpen",e._shouldLabelFloat()),v(),tt(1,e._forceDisplayInfixLabel()?-1:1)}}function JW(t,n){1&t&&(g(0,"div",8,2),Ae(2,2),b())}function eG(t,n){1&t&&(g(0,"div",9,3),Ae(2,3),b())}function tG(t,n){}function nG(t,n){1&t&&B(0,tG,0,0,"ng-template",11),2&t&&(w(),E("ngTemplateOutlet",Nn(1)))}function iG(t,n){1&t&&(g(0,"div",12),Ae(1,4),b())}function oG(t,n){1&t&&(g(0,"div",13),Ae(1,5),b())}function rG(t,n){1&t&&$(0,"div",14)}function sG(t,n){1&t&&(g(0,"div",18),Ae(1,6),b()),2&t&&E("@transitionMessages",w()._subscriptAnimationState)}function aG(t,n){if(1&t&&(g(0,"mat-hint",20),x(1),b()),2&t){const e=w(2);E("id",e._hintLabelId),v(),zn(e.hintLabel)}}function lG(t,n){if(1&t&&(g(0,"div",19),B(1,aG,2,2,"mat-hint",20),Ae(2,7),$(3,"div",21),Ae(4,8),b()),2&t){const e=w();E("@transitionMessages",e._subscriptAnimationState),v(),tt(1,e.hintLabel?1:-1)}}let Js=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275dir=O({type:t,selectors:[["mat-label"]],standalone:!0})}return t})();const cG=new R("MatError");let dG=0,kS=(()=>{class t{constructor(){this.align="start",this.id="mat-mdc-hint-"+dG++}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275dir=O({type:t,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(i,o){2&i&&(or("id",o.id),W("align",null),xe("mat-mdc-form-field-hint-end","end"===o.align))},inputs:{align:"align",id:"id"},standalone:!0})}return t})();const uG=new R("MatPrefix"),MS=new R("MatSuffix");let hG=(()=>{class t{constructor(){this._isText=!1}set _isTextSelector(e){this._isText=!0}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275dir=O({type:t,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:[P.None,"matTextSuffix","_isTextSelector"]},standalone:!0,features:[Z([{provide:MS,useExisting:t}])]})}return t})();const IS=new R("FloatingLabelParent");let TS=(()=>{class t{get floating(){return this._floating}set floating(e){this._floating=e,this.monitorResize&&this._handleResize()}get monitorResize(){return this._monitorResize}set monitorResize(e){this._monitorResize=e,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}constructor(e){this._elementRef=e,this._floating=!1,this._monitorResize=!1,this._resizeObserver=F(LW),this._ngZone=F(j),this._parent=F(IS),this._resizeSubscription=new dt}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return function fG(t){if(null!==t.offsetParent)return t.scrollWidth;const e=t.cloneNode(!0);e.style.setProperty("position","absolute"),e.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(e);const i=e.scrollWidth;return e.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||t)(p(Y))};static#t=this.\u0275dir=O({type:t,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(i,o){2&i&&xe("mdc-floating-label--float-above",o.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"},standalone:!0})}return t})();const SS="mdc-line-ripple--active",vh="mdc-line-ripple--deactivating";let AS=(()=>{class t{constructor(e,i){this._elementRef=e,this._handleTransitionEnd=o=>{const r=this._elementRef.nativeElement.classList,s=r.contains(vh);"opacity"===o.propertyName&&s&&r.remove(SS,vh)},i.runOutsideAngular(()=>{e.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){const e=this._elementRef.nativeElement.classList;e.remove(vh),e.add(SS)}deactivate(){this._elementRef.nativeElement.classList.add(vh)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}static#e=this.\u0275fac=function(i){return new(i||t)(p(Y),p(j))};static#t=this.\u0275dir=O({type:t,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"],standalone:!0})}return t})(),RS=(()=>{class t{constructor(e,i){this._elementRef=e,this._ngZone=i,this.open=!1}ngAfterViewInit(){const e=this._elementRef.nativeElement.querySelector(".mdc-floating-label");e?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),"function"==typeof requestAnimationFrame&&(e.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>e.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(e){this._notch.nativeElement.style.width=this.open&&e?`calc(${e}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`:""}static#e=this.\u0275fac=function(i){return new(i||t)(p(Y),p(j))};static#t=this.\u0275cmp=ae({type:t,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(i,o){if(1&i&&Ge(VW,5),2&i){let r;re(r=se())&&(o._notch=r.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(i,o){2&i&&xe("mdc-notched-outline--notched",o.open)},inputs:{open:[P.None,"matFormFieldNotchedOutlineOpen","open"]},standalone:!0,features:[ze],attrs:BW,ngContentSelectors:HW,decls:5,vars:0,consts:[["notch",""],[1,"mdc-notched-outline__leading"],[1,"mdc-notched-outline__notch"],[1,"mdc-notched-outline__trailing"]],template:function(i,o){1&i&&(an(),$(0,"div",1),g(1,"div",2,0),Ae(3),b(),$(4,"div",3))},encapsulation:2,changeDetection:0})}return t})();const mG={transitionMessages:gn("transitionMessages",[ft("enter",he({opacity:1,transform:"translateY(0%)"})),nt("void => enter",[he({opacity:0,transform:"translateY(-5px)"}),ht("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let PS=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275dir=O({type:t})}return t})();const OS=new R("MatFormField"),NS=new R("MAT_FORM_FIELD_DEFAULT_OPTIONS");let FS=0,yh=(()=>{class t{get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=Ys(e)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||"auto"}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(e){const i=this._appearance;this._appearance=e||this._defaults?.appearance||"fill","outline"===this._appearance&&this._appearance!==i&&(this._needsOutlineLabelOffsetUpdateOnStable=!0)}get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||"fixed"}set subscriptSizing(e){this._subscriptSizing=e||this._defaults?.subscriptSizing||"fixed"}get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(e){this._explicitFormFieldControl=e}constructor(e,i,o,r,s,a,l,c){this._elementRef=e,this._changeDetectorRef=i,this._ngZone=o,this._dir=r,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-"+FS++,this._hintLabelId="mat-mdc-hint-"+FS++,this._subscriptAnimationState="",this._destroyed=new G,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 e=this._control;e.controlType&&this._elementRef.nativeElement.classList.add(`mat-mdc-form-field-type-${e.controlType}`),e.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),e.ngControl&&e.ngControl.valueChanges&&e.ngControl.valueChanges.pipe(it(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck())}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(e=>!e._isText),this._hasTextPrefix=!!this._prefixChildren.find(e=>e._isText),this._hasIconSuffix=!!this._suffixChildren.find(e=>!e._isText),this._hasTextSuffix=!!this._suffixChildren.find(e=>e._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),ai(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(it(this._destroyed)).subscribe(()=>{this._needsOutlineLabelOffsetUpdateOnStable&&(this._needsOutlineLabelOffsetUpdateOnStable=!1,this._updateOutlineLabelOffset())})}),this._dir.change.pipe(it(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(e){const i=this._control?this._control.ngControl:null;return i&&i[e]}_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 e=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&e.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const i=this._hintChildren?this._hintChildren.find(r=>"start"===r.align):null,o=this._hintChildren?this._hintChildren.find(r=>"end"===r.align):null;i?e.push(i.id):this._hintLabel&&e.push(this._hintLabelId),o&&e.push(o.id)}else this._errorChildren&&e.push(...this._errorChildren.map(i=>i.id));this._control.setDescribedByIds(e)}}_updateOutlineLabelOffset(){if(!this._platform.isBrowser||!this._hasOutline()||!this._floatingLabel)return;const e=this._floatingLabel.element;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return void(e.style.transform="");if(!this._isAttachedToDom())return void(this._needsOutlineLabelOffsetUpdateOnStable=!0);const i=this._iconPrefixContainer?.nativeElement,o=this._textPrefixContainer?.nativeElement,r=i?.getBoundingClientRect().width??0,s=o?.getBoundingClientRect().width??0;e.style.transform=`var(\n --mat-mdc-form-field-label-transform,\n translateY(-50%) translateX(calc(${"rtl"===this._dir.value?"-1":"1"} * (${r+s}px + var(--mat-mdc-form-field-label-offset-x, 0px))))\n )`}_isAttachedToDom(){const e=this._elementRef.nativeElement;if(e.getRootNode){const i=e.getRootNode();return i&&i!==e}return document.documentElement.contains(e)}static#e=this.\u0275fac=function(i){return new(i||t)(p(Y),p(zt),p(j),p(Xi),p(et),p(NS,8),p(wn,8),p(fe))};static#t=this.\u0275cmp=ae({type:t,selectors:[["mat-form-field"]],contentQueries:function(i,o,r){if(1&i&&(Dt(r,Js,5),Dt(r,Js,7),Dt(r,PS,5),Dt(r,uG,5),Dt(r,MS,5),Dt(r,cG,5),Dt(r,kS,5)),2&i){let s;re(s=se())&&(o._labelChildNonStatic=s.first),re(s=se())&&(o._labelChildStatic=s.first),re(s=se())&&(o._formFieldControl=s.first),re(s=se())&&(o._prefixChildren=s),re(s=se())&&(o._suffixChildren=s),re(s=se())&&(o._errorChildren=s),re(s=se())&&(o._hintChildren=s)}},viewQuery:function(i,o){if(1&i&&(Ge(jW,5),Ge(zW,5),Ge(UW,5),Ge(TS,5),Ge(RS,5),Ge(AS,5)),2&i){let r;re(r=se())&&(o._textField=r.first),re(r=se())&&(o._iconPrefixContainer=r.first),re(r=se())&&(o._textPrefixContainer=r.first),re(r=se())&&(o._floatingLabel=r.first),re(r=se())&&(o._notchedOutline=r.first),re(r=se())&&(o._lineRipple=r.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(i,o){2&i&&xe("mat-mdc-form-field-label-always-float",o._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",o._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",o._hasIconSuffix)("mat-form-field-invalid",o._control.errorState)("mat-form-field-disabled",o._control.disabled)("mat-form-field-autofilled",o._control.autofilled)("mat-form-field-no-animations","NoopAnimations"===o._animationMode)("mat-form-field-appearance-fill","fill"==o.appearance)("mat-form-field-appearance-outline","outline"==o.appearance)("mat-form-field-hide-placeholder",o._hasFloatingLabel()&&!o._shouldLabelFloat())("mat-focused",o._control.focused)("mat-primary","accent"!==o.color&&"warn"!==o.color)("mat-accent","accent"===o.color)("mat-warn","warn"===o.color)("ng-untouched",o._shouldForward("untouched"))("ng-touched",o._shouldForward("touched"))("ng-pristine",o._shouldForward("pristine"))("ng-dirty",o._shouldForward("dirty"))("ng-valid",o._shouldForward("valid"))("ng-invalid",o._shouldForward("invalid"))("ng-pending",o._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],standalone:!0,features:[Z([{provide:OS,useExisting:t},{provide:IS,useExisting:t}]),ze],ngContentSelectors:WW,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,o){if(1&i){const r=Ze();an($W),B(0,YW,1,1,"ng-template",null,0,ZD),g(2,"div",4,1),A("click",function(a){return k(r),M(o._control.onContainerClick(a))}),B(4,XW,1,0,"div",5),g(5,"div",6),B(6,QW,2,2,"div",7)(7,JW,3,0,"div",8)(8,eG,3,0,"div",9),g(9,"div",10),B(10,nG,1,1,null,11),Ae(11),b(),B(12,iG,2,0,"div",12)(13,oG,2,0,"div",13),b(),B(14,rG,1,0,"div",14),b(),g(15,"div",15),B(16,sG,2,1)(17,lG,5,2),b()}if(2&i){let r;v(2),xe("mdc-text-field--filled",!o._hasOutline())("mdc-text-field--outlined",o._hasOutline())("mdc-text-field--no-label",!o._hasFloatingLabel())("mdc-text-field--disabled",o._control.disabled)("mdc-text-field--invalid",o._control.errorState),v(2),tt(4,o._hasOutline()||o._control.disabled?-1:4),v(2),tt(6,o._hasOutline()?6:-1),v(),tt(7,o._hasIconPrefix?7:-1),v(),tt(8,o._hasTextPrefix?8:-1),v(2),tt(10,!o._hasOutline()||o._forceDisplayInfixLabel()?10:-1),v(2),tt(12,o._hasTextSuffix?12:-1),v(),tt(13,o._hasIconSuffix?13:-1),v(),tt(14,o._hasOutline()?-1:14),v(),xe("mat-mdc-form-field-subscript-dynamic-size","dynamic"===o.subscriptSizing),v(),tt(16,"error"===(r=o._getDisplayedMessages())?16:"hint"===r?17:-1)}},dependencies:[TS,RS,Tk,AS,kS],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:[mG.transitionMessages]},changeDetection:0})}return t})(),Eb=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=De({type:t});static#n=this.\u0275inj=ve({imports:[lt,Du,XT,lt]})}return t})();const _G=new R("MAT_INPUT_VALUE_ACCESSOR"),bG=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let vG=0,wh=(()=>{class t{get disabled(){return this._disabled}set disabled(e){this._disabled=Ys(e),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(e){this._id=e||this._uid}get required(){return this._required??this.ngControl?.control?.hasValidator(DU.required)??!1}set required(e){this._required=Ys(e)}get type(){return this._type}set type(e){this._type=e||"text",this._validateType(),!this._isTextarea&&HT().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(e){this._errorStateTracker.matcher=e}get value(){return this._inputValueAccessor.value}set value(e){e!==this.value&&(this._inputValueAccessor.value=e,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(e){this._readonly=Ys(e)}get errorState(){return this._errorStateTracker.errorState}set errorState(e){this._errorStateTracker.errorState=e}constructor(e,i,o,r,s,a,l,c,d,u){this._elementRef=e,this._platform=i,this.ngControl=o,this._autofillMonitor=c,this._formField=u,this._uid="mat-input-"+vG++,this.focused=!1,this.stateChanges=new G,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(m=>HT().has(m)),this._iOSKeyupListener=m=>{const _=m.target;!_.value&&0===_.selectionStart&&0===_.selectionEnd&&(_.setSelectionRange(1,1),_.setSelectionRange(0,0))};const h=this._elementRef.nativeElement,f=h.nodeName.toLowerCase();this._inputValueAccessor=l||h,this._previousNativeValue=this.value,this.id=this.id,i.IOS&&d.runOutsideAngular(()=>{e.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._errorStateTracker=new pS(a,o,s,r,this.stateChanges),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===f,this._isTextarea="textarea"===f,this._isInFormField=!!u,this._isNativeSelect&&(this.controlType=h.multiple?"mat-native-select-multiple":"mat-native-select")}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(e=>{this.autofilled=e.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener)}ngDoCheck(){this.ngControl&&(this.updateErrorState(),null!==this.ngControl.disabled&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(e){this._elementRef.nativeElement.focus(e)}updateErrorState(){this._errorStateTracker.updateErrorState()}_focusChanged(e){e!==this.focused&&(this.focused=e,this.stateChanges.next())}_onInput(){}_dirtyCheckNativeValue(){const e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next())}_dirtyCheckPlaceholder(){const e=this._getPlaceholder();if(e!==this._previousPlaceholder){const i=this._elementRef.nativeElement;this._previousPlaceholder=e,e?i.setAttribute("placeholder",e):i.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){bG.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let e=this._elementRef.nativeElement.validity;return e&&e.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const e=this._elementRef.nativeElement,i=e.options[0];return this.focused||e.multiple||!this.empty||!!(e.selectedIndex>-1&&i&&i.label)}return this.focused||!this.empty}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const e=this._elementRef.nativeElement;return this._isNativeSelect&&(e.multiple||e.size>1)}static#e=this.\u0275fac=function(i){return new(i||t)(p(Y),p(et),p(Gi,10),p(Vu,8),p(Bu,8),p(IW),p(_G,10),p(y6),p(j),p(OS,8))};static#t=this.\u0275dir=O({type:t,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:18,hostBindings:function(i,o){1&i&&A("focus",function(){return o._focusChanged(!0)})("blur",function(){return o._focusChanged(!1)})("input",function(){return o._onInput()}),2&i&&(or("id",o.id)("disabled",o.disabled)("required",o.required),W("name",o.name||null)("readonly",o.readonly&&!o._isNativeSelect||null)("aria-invalid",o.empty&&o.required?null:o.errorState)("aria-required",o.required)("id",o.id),xe("mat-input-server",o._isServer)("mat-mdc-form-field-textarea-control",o._isInFormField&&o._isTextarea)("mat-mdc-form-field-input-control",o._isInFormField)("mdc-text-field__input",o._isInFormField)("mat-mdc-native-select-inline",o._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:[P.None,"aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],standalone:!0,features:[Z([{provide:PS,useExisting:t}]),Ht]})}return t})(),yG=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=De({type:t});static#n=this.\u0275inj=ve({imports:[lt,Eb,Eb,w6,lt]})}return t})();const wG=["mat-button",""],BS=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],HS=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],CG=["mat-mini-fab",""],EG=["mat-icon-button",""],kG=["*"],MG=new R("MAT_BUTTON_CONFIG"),IG=[{attribute:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{attribute:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{attribute:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{attribute:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{attribute:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab"]},{attribute:"mat-mini-fab",mdcClasses:["mdc-fab","mdc-fab--mini","mat-mdc-mini-fab"]},{attribute:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}];let kb=(()=>{class t{get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(e){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,e)}get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=e,this._updateRippleDisabled()}get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._updateRippleDisabled()}constructor(e,i,o,r){this._elementRef=e,this._platform=i,this._ngZone=o,this._animationMode=r,this._focusMonitor=F(wr),this._rippleLoader=F(PW),this._isFab=!1,this._disableRipple=!1,this._disabled=!1;const s=F(MG,{optional:!0}),a=e.nativeElement,l=a.classList;this.disabledInteractive=s?.disabledInteractive??!1,this._rippleLoader?.configureRipple(a,{className:"mat-mdc-button-ripple"});for(const{attribute:c,mdcClasses:d}of IG)a.hasAttribute(c)&&l.add(...d)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}focus(e="program",i){e?this._focusMonitor.focusVia(this._elementRef.nativeElement,e,i):this._elementRef.nativeElement.focus(i)}_getAriaDisabled(){return null!=this.ariaDisabled?this.ariaDisabled:!(!this.disabled||!this.disabledInteractive)||null}_getDisabledAttribute(){return!(this.disabledInteractive||!this.disabled)||null}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}static#e=this.\u0275fac=function(i){!function xx(){throw new Error("invalid")}()};static#t=this.\u0275dir=O({type:t,inputs:{color:"color",disableRipple:[P.HasDecoratorInputTransform,"disableRipple","disableRipple",Ie],disabled:[P.HasDecoratorInputTransform,"disabled","disabled",Ie],ariaDisabled:[P.HasDecoratorInputTransform,"aria-disabled","ariaDisabled",Ie],disabledInteractive:[P.HasDecoratorInputTransform,"disabledInteractive","disabledInteractive",Ie]},features:[rn]})}return t})(),ko=(()=>{class t extends kb{constructor(e,i,o,r){super(e,i,o,r)}static#e=this.\u0275fac=function(i){return new(i||t)(p(Y),p(et),p(j),p(wn,8))};static#t=this.\u0275cmp=ae({type:t,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:14,hostBindings:function(i,o){2&i&&(W("disabled",o._getDisabledAttribute())("aria-disabled",o._getAriaDisabled()),ji(o.color?"mat-"+o.color:""),xe("mat-mdc-button-disabled",o.disabled)("mat-mdc-button-disabled-interactive",o.disabledInteractive)("_mat-animation-noopable","NoopAnimations"===o._animationMode)("mat-unthemed",!o.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[z,ze],attrs:wG,ngContentSelectors:HS,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(i,o){1&i&&(an(BS),$(0,"span",0),Ae(1),g(2,"span",1),Ae(3,1),b(),Ae(4,2),$(5,"span",2)(6,"span",3)),2&i&&xe("mdc-button__ripple",!o._isFab)("mdc-fab__ripple",o._isFab)},styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px);display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{font-family:var(--mdc-text-button-label-text-font);font-size:var(--mdc-text-button-label-text-size);letter-spacing:var(--mdc-text-button-label-text-tracking);font-weight:var(--mdc-text-button-label-text-weight);text-transform:var(--mdc-text-button-label-text-transform);height:var(--mdc-text-button-container-height);border-radius:var(--mdc-text-button-container-shape);padding:0 var(--mat-text-button-horizontal-padding, 8px)}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape)}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-text-button-with-icon-horizontal-padding, 8px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color)}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color)}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color)}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity)}.mat-mdc-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-focus-state-layer-opacity)}.mat-mdc-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity)}.mat-mdc-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-text-button-touch-target-display)}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-unelevated-button{font-family:var(--mdc-filled-button-label-text-font);font-size:var(--mdc-filled-button-label-text-size);letter-spacing:var(--mdc-filled-button-label-text-tracking);font-weight:var(--mdc-filled-button-label-text-weight);text-transform:var(--mdc-filled-button-label-text-transform);height:var(--mdc-filled-button-container-height);border-radius:var(--mdc-filled-button-container-shape);padding:0 var(--mat-filled-button-horizontal-padding, 16px)}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color)}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape)}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color)}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color)}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-state-layer-color)}.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity)}.mat-mdc-unelevated-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-focus-state-layer-opacity)}.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity)}.mat-mdc-unelevated-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-filled-button-touch-target-display)}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color);background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{font-family:var(--mdc-protected-button-label-text-font);font-size:var(--mdc-protected-button-label-text-size);letter-spacing:var(--mdc-protected-button-label-text-tracking);font-weight:var(--mdc-protected-button-label-text-weight);text-transform:var(--mdc-protected-button-label-text-transform);height:var(--mdc-protected-button-container-height);border-radius:var(--mdc-protected-button-container-shape);padding:0 var(--mat-protected-button-horizontal-padding, 16px);box-shadow:var(--mdc-protected-button-container-elevation-shadow)}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color)}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape)}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color)}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color)}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-state-layer-color)}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity)}.mat-mdc-raised-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-focus-state-layer-opacity)}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity)}.mat-mdc-raised-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-protected-button-touch-target-display)}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow)}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow)}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow)}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color);background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation-shadow)}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{font-family:var(--mdc-outlined-button-label-text-font);font-size:var(--mdc-outlined-button-label-text-size);letter-spacing:var(--mdc-outlined-button-label-text-tracking);font-weight:var(--mdc-outlined-button-label-text-weight);text-transform:var(--mdc-outlined-button-label-text-transform);height:var(--mdc-outlined-button-container-height);border-radius:var(--mdc-outlined-button-container-shape);padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width);padding:0 var(--mat-outlined-button-horizontal-padding, 15px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color)}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape)}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color)}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width))}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color)}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color)}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-state-layer-color)}.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity)}.mat-mdc-outlined-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-focus-state-layer-opacity)}.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity)}.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-outlined-button-touch-target-display)}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color);border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button-base{text-decoration:none}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px)*-1)}',".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0})}return t})();const TG=new R("mat-mdc-fab-default-options",{providedIn:"root",factory:jS});function jS(){return{color:"accent"}}const zS=jS();let Cr=(()=>{class t extends kb{constructor(e,i,o,r,s){super(e,i,o,r),this._options=s,this._isFab=!0,this._options=this._options||zS,this.color=this._options.color||zS.color}static#e=this.\u0275fac=function(i){return new(i||t)(p(Y),p(et),p(j),p(wn,8),p(TG,8))};static#t=this.\u0275cmp=ae({type:t,selectors:[["button","mat-mini-fab",""]],hostVars:14,hostBindings:function(i,o){2&i&&(W("disabled",o._getDisabledAttribute())("aria-disabled",o._getAriaDisabled()),ji(o.color?"mat-"+o.color:""),xe("mat-mdc-button-disabled",o.disabled)("mat-mdc-button-disabled-interactive",o.disabledInteractive)("_mat-animation-noopable","NoopAnimations"===o._animationMode)("mat-unthemed",!o.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[z,ze],attrs:CG,ngContentSelectors:HS,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(i,o){1&i&&(an(BS),$(0,"span",0),Ae(1),g(2,"span",1),Ae(3,1),b(),Ae(4,2),$(5,"span",2)(6,"span",3)),2&i&&xe("mdc-button__ripple",!o._isFab)("mdc-fab__ripple",o._isFab)},styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-fab{position:relative;display:inline-flex;position:relative;align-items:center;justify-content:center;box-sizing:border-box;width:56px;height:56px;padding:0;border:none;fill:currentColor;text-decoration:none;cursor:pointer;user-select:none;-moz-appearance:none;-webkit-appearance:none;overflow:visible;transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1),opacity 15ms linear 30ms,transform 270ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-fab .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-fab[hidden]{display:none}.mdc-fab::-moz-focus-inner{padding:0;border:0}.mdc-fab .mdc-fab__focus-ring{position:absolute}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{border-color:CanvasText}}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{border-color:CanvasText}}.mdc-fab:active,.mdc-fab:focus{outline:none}.mdc-fab:hover{cursor:pointer}.mdc-fab>svg{width:100%}.mdc-fab--mini{width:40px;height:40px}.mdc-fab--extended{border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;height:48px;line-height:normal}.mdc-fab--extended .mdc-fab__ripple{border-radius:24px}.mdc-fab--extended .mdc-fab__icon{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mdc-fab--extended .mdc-fab__icon,.mdc-fab--extended .mdc-fab__icon[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mdc-fab--extended .mdc-fab__label+.mdc-fab__icon,.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mdc-fab--touch{margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-fab--touch .mdc-fab__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-fab::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-fab::before{border-color:CanvasText}}.mdc-fab__label{justify-content:flex-start;text-overflow:ellipsis;white-space:nowrap;overflow-x:hidden;overflow-y:visible}.mdc-fab__icon{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mdc-fab .mdc-fab__icon{display:inline-flex;align-items:center;justify-content:center}.mdc-fab--exited{transform:scale(0);opacity:0;transition:opacity 15ms linear 150ms,transform 180ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-fab--exited .mdc-fab__icon{transform:scale(0);transition:transform 135ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-fab{background-color:var(--mdc-fab-container-color)}.mat-mdc-fab .mdc-fab__icon{width:var(--mdc-fab-icon-size);height:var(--mdc-fab-icon-size);font-size:var(--mdc-fab-icon-size)}.mat-mdc-fab:not(.mdc-fab--extended){border-radius:var(--mdc-fab-container-shape)}.mat-mdc-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:var(--mdc-fab-container-shape)}.mat-mdc-mini-fab{background-color:var(--mdc-fab-small-container-color)}.mat-mdc-mini-fab .mdc-fab__icon{width:var(--mdc-fab-small-icon-size);height:var(--mdc-fab-small-icon-size);font-size:var(--mdc-fab-small-icon-size)}.mat-mdc-mini-fab:not(.mdc-fab--extended){border-radius:var(--mdc-fab-small-container-shape)}.mat-mdc-mini-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:var(--mdc-fab-small-container-shape)}.mat-mdc-extended-fab{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mdc-extended-fab-container-height);border-radius:var(--mdc-extended-fab-container-shape);font-family:var(--mdc-extended-fab-label-text-font);font-size:var(--mdc-extended-fab-label-text-size);font-weight:var(--mdc-extended-fab-label-text-weight);letter-spacing:var(--mdc-extended-fab-label-text-tracking)}.mat-mdc-extended-fab .mdc-fab__ripple{border-radius:var(--mdc-extended-fab-container-shape)}.mat-mdc-fab,.mat-mdc-mini-fab{-webkit-tap-highlight-color:rgba(0,0,0,0);flex-shrink:0}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-fab .mdc-button__label,.mat-mdc-mini-fab .mdc-button__label{z-index:1}.mat-mdc-fab .mat-mdc-focus-indicator,.mat-mdc-mini-fab .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-fab:focus .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-fab._mat-animation-noopable,.mat-mdc-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-fab:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-mini-fab:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}.mat-mdc-fab .mat-icon,.mat-mdc-fab .material-icons,.mat-mdc-mini-fab .mat-icon,.mat-mdc-mini-fab .material-icons{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mat-mdc-fab .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-fab[disabled],.mat-mdc-fab.mat-mdc-button-disabled,.mat-mdc-mini-fab[disabled],.mat-mdc-mini-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none}.mat-mdc-fab[disabled],.mat-mdc-fab[disabled]:focus,.mat-mdc-fab.mat-mdc-button-disabled,.mat-mdc-fab.mat-mdc-button-disabled:focus,.mat-mdc-mini-fab[disabled],.mat-mdc-mini-fab[disabled]:focus,.mat-mdc-mini-fab.mat-mdc-button-disabled,.mat-mdc-mini-fab.mat-mdc-button-disabled:focus{box-shadow:none}.mat-mdc-fab.mat-mdc-button-disabled-interactive,.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-fab{color:var(--mat-fab-foreground-color, inherit);box-shadow:var(--mdc-fab-container-elevation-shadow)}.mat-mdc-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-fab-touch-target-display)}.mat-mdc-fab .mat-ripple-element{background-color:var(--mat-fab-ripple-color)}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-state-layer-color)}.mat-mdc-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-disabled-state-layer-color)}.mat-mdc-fab:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-hover-state-layer-opacity)}.mat-mdc-fab.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-focus-state-layer-opacity)}.mat-mdc-fab:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-pressed-state-layer-opacity)}.mat-mdc-fab:hover{box-shadow:var(--mdc-fab-hover-container-elevation-shadow)}.mat-mdc-fab:focus{box-shadow:var(--mdc-fab-focus-container-elevation-shadow)}.mat-mdc-fab:active,.mat-mdc-fab:focus:active{box-shadow:var(--mdc-fab-pressed-container-elevation-shadow)}.mat-mdc-fab[disabled],.mat-mdc-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-fab-disabled-state-foreground-color);background-color:var(--mat-fab-disabled-state-container-color)}.mat-mdc-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-mini-fab{color:var(--mat-fab-small-foreground-color, inherit);box-shadow:var(--mdc-fab-small-container-elevation-shadow)}.mat-mdc-mini-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-fab-small-touch-target-display)}.mat-mdc-mini-fab .mat-ripple-element{background-color:var(--mat-fab-small-ripple-color)}.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-small-state-layer-color)}.mat-mdc-mini-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-small-disabled-state-layer-color)}.mat-mdc-mini-fab:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-hover-state-layer-opacity)}.mat-mdc-mini-fab.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-focus-state-layer-opacity)}.mat-mdc-mini-fab:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-pressed-state-layer-opacity)}.mat-mdc-mini-fab:hover{box-shadow:var(--mdc-fab-small-hover-container-elevation-shadow)}.mat-mdc-mini-fab:focus{box-shadow:var(--mdc-fab-small-focus-container-elevation-shadow)}.mat-mdc-mini-fab:active,.mat-mdc-mini-fab:focus:active{box-shadow:var(--mdc-fab-small-pressed-container-elevation-shadow)}.mat-mdc-mini-fab[disabled],.mat-mdc-mini-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-fab-small-disabled-state-foreground-color);background-color:var(--mat-fab-small-disabled-state-container-color)}.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-extended-fab{box-shadow:var(--mdc-extended-fab-container-elevation-shadow)}.mat-mdc-extended-fab:hover{box-shadow:var(--mdc-extended-fab-hover-container-elevation-shadow)}.mat-mdc-extended-fab:focus{box-shadow:var(--mdc-extended-fab-focus-container-elevation-shadow)}.mat-mdc-extended-fab:active,.mat-mdc-extended-fab:focus:active{box-shadow:var(--mdc-extended-fab-pressed-container-elevation-shadow)}.mat-mdc-extended-fab[disabled],.mat-mdc-extended-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none}.mat-mdc-extended-fab[disabled],.mat-mdc-extended-fab[disabled]:focus,.mat-mdc-extended-fab.mat-mdc-button-disabled,.mat-mdc-extended-fab.mat-mdc-button-disabled:focus{box-shadow:none}.mat-mdc-extended-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-extended-fab>.mat-icon,.mat-mdc-extended-fab>.material-icons{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mat-mdc-extended-fab>.mat-icon,[dir=rtl] .mat-mdc-extended-fab>.material-icons,.mat-mdc-extended-fab>.mat-icon[dir=rtl],.mat-mdc-extended-fab>.material-icons[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mat-mdc-extended-fab .mat-mdc-button-touch-target{width:100%}.mat-mdc-extended-fab .mdc-button__label+.mat-icon,.mat-mdc-extended-fab .mdc-button__label+.material-icons{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.material-icons,.mat-mdc-extended-fab .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-extended-fab .mdc-button__label+.material-icons[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}'],encapsulation:2,changeDetection:0})}return t})(),US=(()=>{class t extends kb{constructor(e,i,o,r){super(e,i,o,r),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}static#e=this.\u0275fac=function(i){return new(i||t)(p(Y),p(et),p(j),p(wn,8))};static#t=this.\u0275cmp=ae({type:t,selectors:[["button","mat-icon-button",""]],hostVars:14,hostBindings:function(i,o){2&i&&(W("disabled",o._getDisabledAttribute())("aria-disabled",o._getAriaDisabled()),ji(o.color?"mat-"+o.color:""),xe("mat-mdc-button-disabled",o.disabled)("mat-mdc-button-disabled-interactive",o.disabledInteractive)("_mat-animation-noopable","NoopAnimations"===o._animationMode)("mat-unthemed",!o.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[z,ze],attrs:EG,ngContentSelectors:kG,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(i,o){1&i&&(an(),$(0,"span",0),Ae(1),$(2,"span",1)(3,"span",2))},styles:['.mdc-icon-button{display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{display:block}}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button[hidden]{display:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%;display:none}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring{border-color:CanvasText}}.mdc-icon-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring::after{border-color:CanvasText}}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}.mat-mdc-icon-button{color:var(--mdc-icon-button-icon-color)}.mat-mdc-icon-button .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button svg,.mat-mdc-icon-button img{width:var(--mdc-icon-button-icon-size);height:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button:disabled{color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button{border-radius:50%;flex-shrink:0;text-align:center;width:var(--mdc-icon-button-state-layer-size, 48px);height:var(--mdc-icon-button-state-layer-size, 48px);padding:calc(calc(var(--mdc-icon-button-state-layer-size, 48px) - var(--mdc-icon-button-icon-size, 24px)) / 2);font-size:var(--mdc-icon-button-icon-size);-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button svg{vertical-align:baseline}.mat-mdc-icon-button[disabled],.mat-mdc-icon-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-icon-button .mdc-button__label{z-index:1}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-icon-button-ripple-color)}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color)}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color)}.mat-mdc-icon-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity)}.mat-mdc-icon-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-focus-state-layer-opacity)}.mat-mdc-icon-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity)}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-icon-button-touch-target-display)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0})}return t})(),$S=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=De({type:t});static#n=this.\u0275inj=ve({imports:[lt,wb,lt]})}return t})();function WS(t){return _t((n,e)=>{let r,i=null,o=!1;i=n.subscribe(rt(e,void 0,void 0,s=>{r=Vt(t(s,WS(t)(n))),i?(i.unsubscribe(),i=null,r.subscribe(e)):o=!0})),o&&(i.unsubscribe(),i=null,r.subscribe(e))})}const SG=["*"];let xh;function tc(t){return function AG(){if(void 0===xh&&(xh=null,typeof window<"u")){const t=window;void 0!==t.trustedTypes&&(xh=t.trustedTypes.createPolicy("angular#components",{createHTML:n=>n}))}return xh}()?.createHTML(t)||t}function GS(t){return Error(`Unable to find icon with the name "${t}"`)}function qS(t){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${t}".`)}function YS(t){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${t}".`)}class Dr{constructor(n,e,i){this.url=n,this.svgText=e,this.options=i}}let nc=(()=>{class t{constructor(e,i,o,r){this._httpClient=e,this._sanitizer=i,this._errorHandler=r,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=o}addSvgIcon(e,i,o){return this.addSvgIconInNamespace("",e,i,o)}addSvgIconLiteral(e,i,o){return this.addSvgIconLiteralInNamespace("",e,i,o)}addSvgIconInNamespace(e,i,o,r){return this._addSvgIconConfig(e,i,new Dr(o,null,r))}addSvgIconResolver(e){return this._resolvers.push(e),this}addSvgIconLiteralInNamespace(e,i,o,r){const s=this._sanitizer.sanitize(qt.HTML,o);if(!s)throw YS(o);const a=tc(s);return this._addSvgIconConfig(e,i,new Dr("",a,r))}addSvgIconSet(e,i){return this.addSvgIconSetInNamespace("",e,i)}addSvgIconSetLiteral(e,i){return this.addSvgIconSetLiteralInNamespace("",e,i)}addSvgIconSetInNamespace(e,i,o){return this._addSvgIconSetConfig(e,new Dr(i,null,o))}addSvgIconSetLiteralInNamespace(e,i,o){const r=this._sanitizer.sanitize(qt.HTML,i);if(!r)throw YS(i);const s=tc(r);return this._addSvgIconSetConfig(e,new Dr("",s,o))}registerFontClassAlias(e,i=e){return this._fontCssClassesByAlias.set(e,i),this}classNameForFontAlias(e){return this._fontCssClassesByAlias.get(e)||e}setDefaultFontSetClass(...e){return this._defaultFontSetClass=e,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(e){const i=this._sanitizer.sanitize(qt.RESOURCE_URL,e);if(!i)throw qS(e);const o=this._cachedIconsByUrl.get(i);return o?Tt(Ch(o)):this._loadSvgIconFromConfig(new Dr(e,null)).pipe(Ul(r=>this._cachedIconsByUrl.set(i,r)),We(r=>Ch(r)))}getNamedSvgIcon(e,i=""){const o=XS(i,e);let r=this._svgIconConfigs.get(o);if(r)return this._getSvgFromConfig(r);if(r=this._getIconConfigFromResolvers(i,e),r)return this._svgIconConfigs.set(o,r),this._getSvgFromConfig(r);const s=this._iconSetConfigs.get(i);return s?this._getSvgFromIconSetConfigs(e,s):rT(GS(o))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?Tt(Ch(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe(We(i=>Ch(i)))}_getSvgFromIconSetConfigs(e,i){const o=this._extractIconWithNameFromAnySet(e,i);return o?Tt(o):DM(i.filter(s=>!s.svgText).map(s=>this._loadSvgIconSetFromConfig(s).pipe(WS(a=>{const c=`Loading icon set URL: ${this._sanitizer.sanitize(qt.RESOURCE_URL,s.url)} failed: ${a.message}`;return this._errorHandler.handleError(new Error(c)),Tt(null)})))).pipe(We(()=>{const s=this._extractIconWithNameFromAnySet(e,i);if(!s)throw GS(e);return s}))}_extractIconWithNameFromAnySet(e,i){for(let o=i.length-1;o>=0;o--){const r=i[o];if(r.svgText&&r.svgText.toString().indexOf(e)>-1){const s=this._svgElementFromConfig(r),a=this._extractSvgIconFromSet(s,e,r.options);if(a)return a}}return null}_loadSvgIconFromConfig(e){return this._fetchIcon(e).pipe(Ul(i=>e.svgText=i),We(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?Tt(null):this._fetchIcon(e).pipe(Ul(i=>e.svgText=i))}_extractSvgIconFromSet(e,i,o){const r=e.querySelector(`[id="${i}"]`);if(!r)return null;const s=r.cloneNode(!0);if(s.removeAttribute("id"),"svg"===s.nodeName.toLowerCase())return this._setSvgAttributes(s,o);if("symbol"===s.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(s),o);const a=this._svgElementFromString(tc(""));return a.appendChild(s),this._setSvgAttributes(a,o)}_svgElementFromString(e){const i=this._document.createElement("DIV");i.innerHTML=e;const o=i.querySelector("svg");if(!o)throw Error(" tag not found");return o}_toSvgElement(e){const i=this._svgElementFromString(tc("")),o=e.attributes;for(let r=0;rtc(c)),tb(()=>this._inProgressUrlFetches.delete(s)),ES());return this._inProgressUrlFetches.set(s,l),l}_addSvgIconConfig(e,i,o){return this._svgIconConfigs.set(XS(e,i),o),this}_addSvgIconSetConfig(e,i){const o=this._iconSetConfigs.get(e);return o?o.push(i):this._iconSetConfigs.set(e,[i]),this}_svgElementFromConfig(e){if(!e.svgElement){const i=this._svgElementFromString(e.svgText);this._setSvgAttributes(i,e.options),e.svgElement=i}return e.svgElement}_getIconConfigFromResolvers(e,i){for(let o=0;on?n.pathname+n.search:""}}}),ZS=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],VG=ZS.map(t=>`[${t}]`).join(", "),BG=/^url\(['"]?#(.*?)['"]?\)$/;let Ii=(()=>{class t{get color(){return this._color||this._defaultColor}set color(e){this._color=e}get svgIcon(){return this._svgIcon}set svgIcon(e){e!==this._svgIcon&&(e?this._updateSvgIcon(e):this._svgIcon&&this._clearSvgElement(),this._svgIcon=e)}get fontSet(){return this._fontSet}set fontSet(e){const i=this._cleanupFontValue(e);i!==this._fontSet&&(this._fontSet=i,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(e){const i=this._cleanupFontValue(e);i!==this._fontIcon&&(this._fontIcon=i,this._updateFontIconClasses())}constructor(e,i,o,r,s,a){this._elementRef=e,this._iconRegistry=i,this._location=r,this._errorHandler=s,this.inline=!1,this._previousFontSetClass=[],this._currentIconFetch=dt.EMPTY,a&&(a.color&&(this.color=this._defaultColor=a.color),a.fontSet&&(this.fontSet=a.fontSet)),o||e.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(e){if(!e)return["",""];const i=e.split(":");switch(i.length){case 1:return["",i[0]];case 2:return i;default:throw Error(`Invalid icon name: "${e}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const e=this._elementsWithExternalReferences;if(e&&e.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(e){this._clearSvgElement();const i=this._location.getPathname();this._previousPath=i,this._cacheChildrenWithExternalReferences(e),this._prependPathToReferences(i),this._elementRef.nativeElement.appendChild(e)}_clearSvgElement(){const e=this._elementRef.nativeElement;let i=e.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();i--;){const o=e.childNodes[i];(1!==o.nodeType||"svg"===o.nodeName.toLowerCase())&&o.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const e=this._elementRef.nativeElement,i=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(o=>o.length>0);this._previousFontSetClass.forEach(o=>e.classList.remove(o)),i.forEach(o=>e.classList.add(o)),this._previousFontSetClass=i,this.fontIcon!==this._previousFontIconClass&&!i.includes("mat-ligature-font")&&(this._previousFontIconClass&&e.classList.remove(this._previousFontIconClass),this.fontIcon&&e.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(e){return"string"==typeof e?e.trim().split(" ")[0]:e}_prependPathToReferences(e){const i=this._elementsWithExternalReferences;i&&i.forEach((o,r)=>{o.forEach(s=>{r.setAttribute(s.name,`url('${e}#${s.value}')`)})})}_cacheChildrenWithExternalReferences(e){const i=e.querySelectorAll(VG),o=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let r=0;r{const a=i[r],l=a.getAttribute(s),c=l?l.match(BG):null;if(c){let d=o.get(a);d||(d=[],o.set(a,d)),d.push({name:s,value:c[1]})}})}_updateSvgIcon(e){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),e){const[i,o]=this._splitIconName(e);i&&(this._svgNamespace=i),o&&(this._svgName=o),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(o,i).pipe(Et(1)).subscribe(r=>this._setSvgElement(r),r=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${i}:${o}! ${r.message}`))})}}static#e=this.\u0275fac=function(i){return new(i||t)(p(Y),p(nc),Go("aria-hidden"),p(FG),p(An),p(NG,8))};static#t=this.\u0275cmp=ae({type:t,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(i,o){2&i&&(W("data-mat-icon-type",o._usingFontIcon()?"font":"svg")("data-mat-icon-name",o._svgName||o.fontIcon)("data-mat-icon-namespace",o._svgNamespace||o.fontSet)("fontIcon",o._usingFontIcon()?o.fontIcon:null),ji(o.color?"mat-"+o.color:""),xe("mat-icon-inline",o.inline)("mat-icon-no-color","primary"!==o.color&&"accent"!==o.color&&"warn"!==o.color))},inputs:{color:"color",inline:[P.HasDecoratorInputTransform,"inline","inline",Ie],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],standalone:!0,features:[rn,ze],ngContentSelectors:SG,decls:1,vars:0,template:function(i,o){1&i&&(an(),Ae(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 t})(),HG=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=De({type:t});static#n=this.\u0275inj=ve({imports:[lt,lt]})}return t})();const jG=["input"],zG=["label"],UG=["*"],$G=new R("mat-checkbox-default-options",{providedIn:"root",factory:KS});function KS(){return{color:"accent",clickAction:"check-indeterminate"}}var ln=function(t){return t[t.Init=0]="Init",t[t.Checked=1]="Checked",t[t.Unchecked=2]="Unchecked",t[t.Indeterminate=3]="Indeterminate",t}(ln||{});const WG={provide:Ln,useExisting:Le(()=>ic),multi:!0};class GG{}let qG=0;const QS=KS();let Mb,ic=(()=>{class t{focus(){this._inputElement.nativeElement.focus()}_createChangeEvent(e){const i=new GG;return i.source=this,i.checked=e,i}_getAnimationTargetElement(){return this._inputElement?.nativeElement}get inputId(){return`${this.id||this._uniqueId}-input`}constructor(e,i,o,r,s,a){this._elementRef=e,this._changeDetectorRef=i,this._ngZone=o,this._animationMode=s,this._options=a,this._animationClasses={uncheckedToChecked:"mdc-checkbox--anim-unchecked-checked",uncheckedToIndeterminate:"mdc-checkbox--anim-unchecked-indeterminate",checkedToUnchecked:"mdc-checkbox--anim-checked-unchecked",checkedToIndeterminate:"mdc-checkbox--anim-checked-indeterminate",indeterminateToChecked:"mdc-checkbox--anim-indeterminate-checked",indeterminateToUnchecked:"mdc-checkbox--anim-indeterminate-unchecked"},this.ariaLabel="",this.ariaLabelledby=null,this.labelPosition="after",this.name=null,this.change=new J,this.indeterminateChange=new J,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=ln.Init,this._controlValueAccessorChangeFn=()=>{},this._validatorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||QS,this.color=this._options.color||QS.color,this.tabIndex=parseInt(r)||0,this.id=this._uniqueId="mat-mdc-checkbox-"+ ++qG}ngOnChanges(e){e.required&&this._validatorChangeFn()}ngAfterViewInit(){this._syncIndeterminate(this._indeterminate)}get checked(){return this._checked}set checked(e){e!=this.checked&&(this._checked=e,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(e){e!==this.disabled&&(this._disabled=e,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(e){const i=e!=this._indeterminate;this._indeterminate=e,i&&(this._transitionCheckState(this._indeterminate?ln.Indeterminate:this.checked?ln.Checked:ln.Unchecked),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(e){this.checked=!!e}registerOnChange(e){this._controlValueAccessorChangeFn=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}validate(e){return this.required&&!0!==e.value?{required:!0}:null}registerOnValidatorChange(e){this._validatorChangeFn=e}_transitionCheckState(e){let i=this._currentCheckState,o=this._getAnimationTargetElement();if(i!==e&&o&&(this._currentAnimationClass&&o.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(i,e),this._currentCheckState=e,this._currentAnimationClass.length>0)){o.classList.add(this._currentAnimationClass);const r=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{o.classList.remove(r)},1e3)})}}_emitChangeEvent(){this._controlValueAccessorChangeFn(this.checked),this.change.emit(this._createChangeEvent(this.checked)),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked,this._controlValueAccessorChangeFn(this.checked)}_handleInputClick(){const e=this._options?.clickAction;this.disabled||"noop"===e?!this.disabled&&"noop"===e&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==e&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this._checked=!this._checked,this._transitionCheckState(this._checked?ln.Checked:ln.Unchecked),this._emitChangeEvent())}_onInteractionEvent(e){e.stopPropagation()}_onBlur(){Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}_getAnimationClassForCheckStateTransition(e,i){if("NoopAnimations"===this._animationMode)return"";switch(e){case ln.Init:if(i===ln.Checked)return this._animationClasses.uncheckedToChecked;if(i==ln.Indeterminate)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case ln.Unchecked:return i===ln.Checked?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case ln.Checked:return i===ln.Unchecked?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case ln.Indeterminate:return i===ln.Checked?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""}_syncIndeterminate(e){const i=this._inputElement;i&&(i.nativeElement.indeterminate=e)}_onInputClick(){this._handleInputClick()}_onTouchTargetClick(){this._handleInputClick(),this.disabled||this._inputElement.nativeElement.focus()}_preventBubblingFromLabel(e){e.target&&this._labelElement.nativeElement.contains(e.target)&&e.stopPropagation()}static#e=this.\u0275fac=function(i){return new(i||t)(p(Y),p(zt),p(j),Go("tabindex"),p(wn,8),p($G,8))};static#t=this.\u0275cmp=ae({type:t,selectors:[["mat-checkbox"]],viewQuery:function(i,o){if(1&i&&(Ge(jG,5),Ge(zG,5),Ge(Qs,5)),2&i){let r;re(r=se())&&(o._inputElement=r.first),re(r=se())&&(o._labelElement=r.first),re(r=se())&&(o.ripple=r.first)}},hostAttrs:[1,"mat-mdc-checkbox"],hostVars:14,hostBindings:function(i,o){2&i&&(or("id",o.id),W("tabindex",null)("aria-label",null)("aria-labelledby",null),ji(o.color?"mat-"+o.color:"mat-accent"),xe("_mat-animation-noopable","NoopAnimations"===o._animationMode)("mdc-checkbox--disabled",o.disabled)("mat-mdc-checkbox-disabled",o.disabled)("mat-mdc-checkbox-checked",o.checked))},inputs:{ariaLabel:[P.None,"aria-label","ariaLabel"],ariaLabelledby:[P.None,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[P.None,"aria-describedby","ariaDescribedby"],id:"id",required:[P.HasDecoratorInputTransform,"required","required",Ie],labelPosition:"labelPosition",name:"name",value:"value",disableRipple:[P.HasDecoratorInputTransform,"disableRipple","disableRipple",Ie],tabIndex:[P.HasDecoratorInputTransform,"tabIndex","tabIndex",e=>null==e?void 0:zi(e)],color:"color",checked:[P.HasDecoratorInputTransform,"checked","checked",Ie],disabled:[P.HasDecoratorInputTransform,"disabled","disabled",Ie],indeterminate:[P.HasDecoratorInputTransform,"indeterminate","indeterminate",Ie]},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],standalone:!0,features:[Z([WG,{provide:$t,useExisting:t,multi:!0}]),rn,Ht,ze],ngContentSelectors:UG,decls:15,vars:19,consts:[["checkbox",""],["input",""],["label",""],["mat-internal-form-field","",3,"click","labelPosition"],[1,"mdc-checkbox"],[1,"mat-mdc-checkbox-touch-target",3,"click"],["type","checkbox",1,"mdc-checkbox__native-control",3,"blur","click","change","checked","indeterminate","disabled","id","required","tabIndex"],[1,"mdc-checkbox__ripple"],[1,"mdc-checkbox__background"],["focusable","false","viewBox","0 0 24 24","aria-hidden","true",1,"mdc-checkbox__checkmark"],["fill","none","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-checkbox__checkmark-path"],[1,"mdc-checkbox__mixedmark"],["mat-ripple","",1,"mat-mdc-checkbox-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-label",3,"for"]],template:function(i,o){if(1&i){const r=Ze();an(),g(0,"div",3),A("click",function(a){return k(r),M(o._preventBubblingFromLabel(a))}),g(1,"div",4,0)(3,"div",5),A("click",function(){return k(r),M(o._onTouchTargetClick())}),b(),g(4,"input",6,1),A("blur",function(){return k(r),M(o._onBlur())})("click",function(){return k(r),M(o._onInputClick())})("change",function(a){return k(r),M(o._onInteractionEvent(a))}),b(),$(6,"div",7),g(7,"div",8),jt(),g(8,"svg",9),$(9,"path",10),b(),Jf(),$(10,"div",11),b(),$(11,"div",12),b(),g(12,"label",13,2),Ae(14),b()()}if(2&i){const r=Nn(2);E("labelPosition",o.labelPosition),v(4),xe("mdc-checkbox--selected",o.checked),E("checked",o.checked)("indeterminate",o.indeterminate)("disabled",o.disabled)("id",o.inputId)("required",o.required)("tabIndex",o.disabled?-1:o.tabIndex),W("aria-label",o.ariaLabel||null)("aria-labelledby",o.ariaLabelledby)("aria-describedby",o.ariaDescribedby)("aria-checked",o.indeterminate?"mixed":null)("name",o.name)("value",o.value),v(7),E("matRippleTrigger",r)("matRippleDisabled",o.disableRipple||o.disabled)("matRippleCentered",!0),v(),E("for",o.inputId)}},dependencies:[Qs,OW],styles:['.mdc-touch-target-wrapper{display:inline}@keyframes mdc-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:29.7833385}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 1)}100%{stroke-dashoffset:0}}@keyframes mdc-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mdc-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);opacity:1;stroke-dashoffset:0}to{opacity:0;stroke-dashoffset:-29.7833385}}@keyframes mdc-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(45deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(45deg);opacity:0}to{transform:rotate(360deg);opacity:1}}@keyframes mdc-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:mdc-animation-deceleration-curve-timing-function;transform:rotate(-45deg);opacity:0}to{transform:rotate(0deg);opacity:1}}@keyframes mdc-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(315deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;transform:scaleX(1);opacity:1}32.8%,100%{transform:scaleX(0);opacity:0}}.mdc-checkbox{display:inline-block;position:relative;flex:0 0 18px;box-sizing:content-box;width:18px;height:18px;line-height:0;white-space:nowrap;cursor:pointer;vertical-align:bottom}.mdc-checkbox[hidden]{display:none}.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%}@media screen and (forced-colors: active){.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{border-color:CanvasText}}.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{border-color:CanvasText}}@media all and (-ms-high-contrast: none){.mdc-checkbox .mdc-checkbox__focus-ring{display:none}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-checkbox__mixedmark{margin:0 1px}}.mdc-checkbox--disabled{cursor:default;pointer-events:none}.mdc-checkbox__background{display:inline-flex;position:absolute;align-items:center;justify-content:center;box-sizing:border-box;width:18px;height:18px;border:2px solid currentColor;border-radius:2px;background-color:rgba(0,0,0,0);pointer-events:none;will-change:background-color,border-color;transition:background-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),border-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__checkmark{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;opacity:0;transition:opacity 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox--upgraded .mdc-checkbox__checkmark{opacity:1}.mdc-checkbox__checkmark-path{transition:stroke-dashoffset 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1);stroke:currentColor;stroke-width:3.12px;stroke-dashoffset:29.7833385;stroke-dasharray:29.7833385}.mdc-checkbox__mixedmark{width:100%;height:0;transform:scaleX(0) rotate(0deg);border-width:1px;border-style:solid;opacity:0;transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__background,.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__background,.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__background,.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__background{animation-duration:180ms;animation-timing-function:linear}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-unchecked-checked-checkmark-path 180ms linear 0s;transition:none}.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-checked-unchecked-checkmark-path 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark{animation:mdc-checkbox-checked-indeterminate-checkmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-checked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark{animation:mdc-checkbox-indeterminate-checked-checkmark 500ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-checked-mixedmark 500ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear 0s;transition:none}.mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background{transition:border-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark-path{stroke-dashoffset:0}.mdc-checkbox__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit}.mdc-checkbox__native-control:disabled{cursor:default;pointer-events:none}.mdc-checkbox--touch{margin:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2)}.mdc-checkbox--touch .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);right:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);left:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);width:var(--mdc-checkbox-state-layer-size);height:var(--mdc-checkbox-state-layer-size)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark{transition:opacity 180ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 180ms 0ms cubic-bezier(0, 0, 0.2, 1);opacity:1}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(-45deg)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark{transform:rotate(45deg);opacity:0;transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__mixedmark,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(0deg);opacity:1}.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark-path,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__mixedmark{transition:none}.mdc-checkbox{padding:calc((var(--mdc-checkbox-state-layer-size) - 18px) / 2);margin:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2)}.mdc-checkbox .mdc-checkbox__native-control[disabled]:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-disabled-unselected-icon-color);background-color:transparent}.mdc-checkbox .mdc-checkbox__native-control[disabled]:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[disabled]:indeterminate~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true][disabled]~.mdc-checkbox__background{border-color:transparent;background-color:var(--mdc-checkbox-disabled-selected-icon-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:var(--mdc-checkbox-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:var(--mdc-checkbox-disabled-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-disabled-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-icon-color);background-color:transparent}.mdc-checkbox .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-icon-color);background-color:var(--mdc-checkbox-selected-icon-color)}@keyframes mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336{0%{border-color:var(--mdc-checkbox-unselected-icon-color);background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-icon-color);background-color:var(--mdc-checkbox-selected-icon-color)}}@keyframes mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336{0%,80%{border-color:var(--mdc-checkbox-selected-icon-color);background-color:var(--mdc-checkbox-selected-icon-color)}100%{border-color:var(--mdc-checkbox-unselected-icon-color);background-color:transparent}}.mdc-checkbox.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox:hover .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-hover-icon-color);background-color:transparent}.mdc-checkbox:hover .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox:hover .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox:hover .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-hover-icon-color);background-color:var(--mdc-checkbox-selected-hover-icon-color)}@keyframes mdc-checkbox-fade-in-background-FF212121FFF4433600000000FFF44336{0%{border-color:var(--mdc-checkbox-unselected-hover-icon-color);background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-hover-icon-color);background-color:var(--mdc-checkbox-selected-hover-icon-color)}}@keyframes mdc-checkbox-fade-out-background-FF212121FFF4433600000000FFF44336{0%,80%{border-color:var(--mdc-checkbox-selected-hover-icon-color);background-color:var(--mdc-checkbox-selected-hover-icon-color)}100%{border-color:var(--mdc-checkbox-unselected-hover-icon-color);background-color:transparent}}.mdc-checkbox:hover.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:hover.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-FF212121FFF4433600000000FFF44336}.mdc-checkbox:hover.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:hover.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-FF212121FFF4433600000000FFF44336}.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-pressed-icon-color);background-color:transparent}.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-pressed-icon-color);background-color:var(--mdc-checkbox-selected-pressed-icon-color)}@keyframes mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336{0%{border-color:var(--mdc-checkbox-unselected-pressed-icon-color);background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-pressed-icon-color);background-color:var(--mdc-checkbox-selected-pressed-icon-color)}}@keyframes mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336{0%,80%{border-color:var(--mdc-checkbox-selected-pressed-icon-color);background-color:var(--mdc-checkbox-selected-pressed-icon-color)}100%{border-color:var(--mdc-checkbox-unselected-pressed-icon-color);background-color:transparent}}.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox .mdc-checkbox__background{top:calc((var(--mdc-checkbox-state-layer-size) - 18px) / 2);left:calc((var(--mdc-checkbox-state-layer-size) - 18px) / 2)}.mdc-checkbox .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);right:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);left:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);width:var(--mdc-checkbox-state-layer-size);height:var(--mdc-checkbox-state-layer-size)}.mdc-checkbox .mdc-checkbox__native-control:enabled:focus:focus:not(:checked):not(:indeterminate)~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-focus-icon-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled:focus:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control:enabled:focus:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-focus-icon-color);background-color:var(--mdc-checkbox-selected-focus-icon-color)}.mdc-checkbox:hover .mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-hover-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-hover-state-layer-color)}.mdc-checkbox:hover .mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-hover-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-focus-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-focus-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-focus-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-pressed-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color)}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-hover-state-layer-opacity);background-color:var(--mdc-checkbox-selected-hover-state-layer-color)}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-hover-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-focus-state-layer-opacity);background-color:var(--mdc-checkbox-selected-focus-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-focus-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-pressed-state-layer-opacity);background-color:var(--mdc-checkbox-selected-pressed-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-pressed-state-layer-color)}.mat-mdc-checkbox{display:inline-block;position:relative;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-checkbox .mdc-checkbox__background{-webkit-print-color-adjust:exact;color-adjust:exact}.mat-mdc-checkbox._mat-animation-noopable *,.mat-mdc-checkbox._mat-animation-noopable *::before{transition:none !important;animation:none !important}.mat-mdc-checkbox label{cursor:pointer}.mat-mdc-checkbox.mat-mdc-checkbox-disabled label{cursor:default;color:var(--mat-checkbox-disabled-label-color)}.mat-mdc-checkbox label:empty{display:none}.cdk-high-contrast-active .mat-mdc-checkbox.mat-mdc-checkbox-disabled{opacity:.5}.cdk-high-contrast-active .mat-mdc-checkbox .mdc-checkbox__checkmark{--mdc-checkbox-selected-checkmark-color: CanvasText;--mdc-checkbox-disabled-selected-checkmark-color: CanvasText}.mat-mdc-checkbox .mdc-checkbox__ripple{opacity:0}.mat-mdc-checkbox-ripple,.mdc-checkbox__ripple{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-checkbox-ripple:not(:empty),.mdc-checkbox__ripple:not(:empty){transform:translateZ(0)}.mat-mdc-checkbox-ripple .mat-ripple-element{opacity:.1}.mat-mdc-checkbox-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-checkbox-touch-target-display)}.mat-mdc-checkbox-ripple::before{border-radius:50%}.mdc-checkbox__native-control:focus~.mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}return t})(),ZG=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=De({type:t});static#n=this.\u0275inj=ve({imports:[ic,lt,lt]})}return t})(),KG=1;const Dh={};function JS(t){return t in Dh&&(delete Dh[t],!0)}const QG={setImmediate(t){const n=KG++;return Dh[n]=!0,Mb||(Mb=Promise.resolve()),Mb.then(()=>JS(n)&&t()),n},clearImmediate(t){JS(t)}},{setImmediate:JG,clearImmediate:e9}=QG,Eh={setImmediate(...t){const{delegate:n}=Eh;return(n?.setImmediate||JG)(...t)},clearImmediate(t){const{delegate:n}=Eh;return(n?.clearImmediate||e9)(t)},delegate:void 0},Ib=new class n9 extends K_{flush(n){this._active=!0;const e=this._scheduled;this._scheduled=void 0;const{actions:i}=this;let o;n=n||i.shift();do{if(o=n.execute(n.state,n.delay))break}while((n=i[0])&&n.id===e&&i.shift());if(this._active=!1,o){for(;(n=i[0])&&n.id===e&&i.shift();)n.unsubscribe();throw o}}}(class t9 extends X_{constructor(n,e){super(n,e),this.scheduler=n,this.work=e}requestAsyncId(n,e,i=0){return null!==i&&i>0?super.requestAsyncId(n,e,i):(n.actions.push(this),n._scheduled||(n._scheduled=Eh.setImmediate(n.flush.bind(n,void 0))))}recycleAsyncId(n,e,i=0){var o;if(null!=i?i>0:this.delay>0)return super.recycleAsyncId(n,e,i);const{actions:r}=n;null!=e&&(null===(o=r[r.length-1])||void 0===o?void 0:o.id)!==e&&(Eh.clearImmediate(e),n._scheduled===e&&(n._scheduled=void 0))}});class Tb{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 ea extends Tb{constructor(n,e,i,o,r){super(),this.component=n,this.viewContainerRef=e,this.injector=i,this.componentFactoryResolver=o,this.projectableNodes=r}}class oc extends Tb{constructor(n,e,i,o){super(),this.templateRef=n,this.viewContainerRef=e,this.context=i,this.injector=o}get origin(){return this.templateRef.elementRef}attach(n,e=this.context){return this.context=e,super.attach(n)}detach(){return this.context=void 0,super.detach()}}class i9 extends Tb{constructor(n){super(),this.element=n instanceof Y?n.nativeElement:n}}class kh{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(n){return n instanceof ea?(this._attachedPortal=n,this.attachComponentPortal(n)):n instanceof oc?(this._attachedPortal=n,this.attachTemplatePortal(n)):this.attachDomPortal&&n instanceof i9?(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 eA extends kh{constructor(n,e,i,o,r){super(),this.outletElement=n,this._componentFactoryResolver=e,this._appRef=i,this._defaultInjector=o,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=r}attachComponentPortal(n){const i=(n.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(n.component);let o;return n.viewContainerRef?(o=n.viewContainerRef.createComponent(i,n.viewContainerRef.length,n.injector||n.viewContainerRef.injector,n.projectableNodes||void 0),this.setDisposeFn(()=>o.destroy())):(o=i.create(n.injector||this._defaultInjector||at.NULL),this._appRef.attachView(o.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(o.hostView),o.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(o)),this._attachedPortal=n,o}attachTemplatePortal(n){let e=n.viewContainerRef,i=e.createEmbeddedView(n.templateRef,n.context,{injector:n.injector});return i.rootNodes.forEach(o=>this.outletElement.appendChild(o)),i.detectChanges(),this.setDisposeFn(()=>{let o=e.indexOf(i);-1!==o&&e.remove(o)}),this._attachedPortal=n,i}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(n){return n.hostView.rootNodes[0]}}let rc=(()=>{class t extends kh{constructor(e,i,o){super(),this._componentFactoryResolver=e,this._viewContainerRef=i,this._isInitialized=!1,this.attached=new J,this.attachDomPortal=r=>{const s=r.element,a=this._document.createComment("dom-portal");r.setAttachedHost(this),s.parentNode.insertBefore(a,s),this._getRootNode().appendChild(s),this._attachedPortal=r,super.setDisposeFn(()=>{a.parentNode&&a.parentNode.replaceChild(s,a)})},this._document=o}get portal(){return this._attachedPortal}set portal(e){this.hasAttached()&&!e&&!this._isInitialized||(this.hasAttached()&&super.detach(),e&&super.attach(e),this._attachedPortal=e||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(e){e.setAttachedHost(this);const i=null!=e.viewContainerRef?e.viewContainerRef:this._viewContainerRef,r=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),s=i.createComponent(r,i.length,e.injector||i.injector,e.projectableNodes||void 0);return i!==this._viewContainerRef&&this._getRootNode().appendChild(s.hostView.rootNodes[0]),super.setDisposeFn(()=>s.destroy()),this._attachedPortal=e,this._attachedRef=s,this.attached.emit(s),s}attachTemplatePortal(e){e.setAttachedHost(this);const i=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=i,this.attached.emit(i),i}_getRootNode(){const e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}static#e=this.\u0275fac=function(i){return new(i||t)(p(Xo),p(Nt),p(fe))};static#t=this.\u0275dir=O({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[P.None,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],standalone:!0,features:[z]})}return t})(),sc=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=De({type:t});static#n=this.\u0275inj=ve({})}return t})();const ac={schedule(t){let n=requestAnimationFrame,e=cancelAnimationFrame;const{delegate:i}=ac;i&&(n=i.requestAnimationFrame,e=i.cancelAnimationFrame);const o=n(r=>{e=void 0,t(r)});return new dt(()=>e?.(o))},requestAnimationFrame(...t){const{delegate:n}=ac;return(n?.requestAnimationFrame||requestAnimationFrame)(...t)},cancelAnimationFrame(...t){const{delegate:n}=ac;return(n?.cancelAnimationFrame||cancelAnimationFrame)(...t)},delegate:void 0};new class r9 extends K_{flush(n){this._active=!0;const e=this._scheduled;this._scheduled=void 0;const{actions:i}=this;let o;n=n||i.shift();do{if(o=n.execute(n.state,n.delay))break}while((n=i[0])&&n.id===e&&i.shift());if(this._active=!1,o){for(;(n=i[0])&&n.id===e&&i.shift();)n.unsubscribe();throw o}}}(class o9 extends X_{constructor(n,e){super(n,e),this.scheduler=n,this.work=e}requestAsyncId(n,e,i=0){return null!==i&&i>0?super.requestAsyncId(n,e,i):(n.actions.push(this),n._scheduled||(n._scheduled=ac.requestAnimationFrame(()=>n.flush(void 0))))}recycleAsyncId(n,e,i=0){var o;if(null!=i?i>0:this.delay>0)return super.recycleAsyncId(n,e,i);const{actions:r}=n;null!=e&&(null===(o=r[r.length-1])||void 0===o?void 0:o.id)!==e&&(ac.cancelAnimationFrame(e),n._scheduled=void 0)}});function tA(t,n=Wl){return function a9(t){return _t((n,e)=>{let i=!1,o=null,r=null,s=!1;const a=()=>{if(r?.unsubscribe(),r=null,i){i=!1;const c=o;o=null,e.next(c)}s&&e.complete()},l=()=>{r=null,s&&e.complete()};n.subscribe(rt(e,c=>{i=!0,o=c,r||Vt(t(c)).subscribe(r=rt(e,a,l))},()=>{s=!0,(!i||!r||r.closed)&&e.complete()}))})}(()=>Q_(t,n))}let Sb=(()=>{class t{constructor(e,i,o){this._ngZone=e,this._platform=i,this._scrolled=new G,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=o}register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){const i=this.scrollContainers.get(e);i&&(i.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=20){return this._platform.isBrowser?new Ue(i=>{this._globalSubscription||this._addGlobalListener();const o=e>0?this._scrolled.pipe(tA(e)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{o.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):Tt()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((e,i)=>this.deregister(i)),this._scrolled.complete()}ancestorScrolled(e,i){const o=this.getAncestorScrollContainers(e);return this.scrolled(i).pipe(Bt(r=>!r||o.indexOf(r)>-1))}getAncestorScrollContainers(e){const i=[];return this.scrollContainers.forEach((o,r)=>{this._scrollableContainsElement(r,e)&&i.push(r)}),i}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(e,i){let o=Do(i),r=e.getElementRef().nativeElement;do{if(o==r)return!0}while(o=o.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>Ws(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||t)(I(j),I(et),I(fe,8))};static#t=this.\u0275prov=V({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),c9=(()=>{class t{constructor(e,i,o,r){this.elementRef=e,this.scrollDispatcher=i,this.ngZone=o,this.dir=r,this._destroyed=new G,this._elementScrolled=new Ue(s=>this.ngZone.runOutsideAngular(()=>Ws(this.elementRef.nativeElement,"scroll").pipe(it(this._destroyed)).subscribe(s)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(e){const i=this.elementRef.nativeElement,o=this.dir&&"rtl"==this.dir.value;null==e.left&&(e.left=o?e.end:e.start),null==e.right&&(e.right=o?e.start:e.end),null!=e.bottom&&(e.top=i.scrollHeight-i.clientHeight-e.bottom),o&&Kl()!=Mi.NORMAL?(null!=e.left&&(e.right=i.scrollWidth-i.clientWidth-e.left),Kl()==Mi.INVERTED?e.left=e.right:Kl()==Mi.NEGATED&&(e.left=e.right?-e.right:e.right)):null!=e.right&&(e.left=i.scrollWidth-i.clientWidth-e.right),this._applyScrollToOptions(e)}_applyScrollToOptions(e){const i=this.elementRef.nativeElement;jT()?i.scrollTo(e):(null!=e.top&&(i.scrollTop=e.top),null!=e.left&&(i.scrollLeft=e.left))}measureScrollOffset(e){const i="left",o="right",r=this.elementRef.nativeElement;if("top"==e)return r.scrollTop;if("bottom"==e)return r.scrollHeight-r.clientHeight-r.scrollTop;const s=this.dir&&"rtl"==this.dir.value;return"start"==e?e=s?o:i:"end"==e&&(e=s?i:o),s&&Kl()==Mi.INVERTED?e==i?r.scrollWidth-r.clientWidth-r.scrollLeft:r.scrollLeft:s&&Kl()==Mi.NEGATED?e==i?r.scrollLeft+r.scrollWidth-r.clientWidth:-r.scrollLeft:e==i?r.scrollLeft:r.scrollWidth-r.clientWidth-r.scrollLeft}static#e=this.\u0275fac=function(i){return new(i||t)(p(Y),p(Sb),p(j),p(Xi,8))};static#t=this.\u0275dir=O({type:t,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]],standalone:!0})}return t})(),Ab=(()=>{class t{constructor(e,i,o){this._platform=e,this._change=new G,this._changeListener=r=>{this._change.next(r)},this._document=o,i.runOutsideAngular(()=>{if(e.isBrowser){const r=this._getWindow();r.addEventListener("resize",this._changeListener),r.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const e=this._getWindow();e.removeEventListener("resize",this._changeListener),e.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){const e=this.getViewportScrollPosition(),{width:i,height:o}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+o,right:e.left+i,height:o,width:i}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const e=this._document,i=this._getWindow(),o=e.documentElement,r=o.getBoundingClientRect();return{top:-r.top||e.body.scrollTop||i.scrollY||o.scrollTop||0,left:-r.left||e.body.scrollLeft||i.scrollX||o.scrollLeft||0}}change(e=20){return e>0?this._change.pipe(tA(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}static#e=this.\u0275fac=function(i){return new(i||t)(I(et),I(j),I(fe,8))};static#t=this.\u0275prov=V({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Mh=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=De({type:t});static#n=this.\u0275inj=ve({})}return t})(),Ih=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=De({type:t});static#n=this.\u0275inj=ve({imports:[Jl,Mh,Jl,Mh]})}return t})();const nA=jT();class u9{constructor(n,e){this._viewportRuler=n,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=e}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=St(-this._previousScrollPosition.left),n.style.top=St(-this._previousScrollPosition.top),n.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const n=this._document.documentElement,i=n.style,o=this._document.body.style,r=i.scrollBehavior||"",s=o.scrollBehavior||"";this._isEnabled=!1,i.left=this._previousHTMLStyles.left,i.top=this._previousHTMLStyles.top,n.classList.remove("cdk-global-scrollblock"),nA&&(i.scrollBehavior=o.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),nA&&(i.scrollBehavior=r,o.scrollBehavior=s)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const e=this._document.body,i=this._viewportRuler.getViewportSize();return e.scrollHeight>i.height||e.scrollWidth>i.width}}class h9{constructor(n,e,i,o){this._scrollDispatcher=n,this._ngZone=e,this._viewportRuler=i,this._config=o,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(Bt(e=>!e||!this._overlayRef.overlayElement.contains(e.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=n.subscribe(()=>{const e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-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 iA{enable(){}disable(){}attach(){}}function Rb(t,n){return n.some(e=>t.bottome.bottom||t.righte.right)}function oA(t,n){return n.some(e=>t.tope.bottom||t.lefte.right)}class f9{constructor(n,e,i,o){this._scrollDispatcher=n,this._viewportRuler=e,this._ngZone=i,this._config=o,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 e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:i,height:o}=this._viewportRuler.getViewportSize();Rb(e,[{width:i,height:o,bottom:o,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 m9=(()=>{class t{constructor(e,i,o,r){this._scrollDispatcher=e,this._viewportRuler=i,this._ngZone=o,this.noop=()=>new iA,this.close=s=>new h9(this._scrollDispatcher,this._ngZone,this._viewportRuler,s),this.block=()=>new u9(this._viewportRuler,this._document),this.reposition=s=>new f9(this._scrollDispatcher,this._viewportRuler,this._ngZone,s),this._document=r}static#e=this.\u0275fac=function(i){return new(i||t)(I(Sb),I(Ab),I(j),I(fe))};static#t=this.\u0275prov=V({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();class Th{constructor(n){if(this.scrollStrategy=new iA,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,n){const e=Object.keys(n);for(const i of e)void 0!==n[i]&&(this[i]=n[i])}}}class p9{constructor(n,e){this.connectionPair=n,this.scrollableViewProperties=e}}let rA=(()=>{class t{constructor(e){this._attachedOverlays=[],this._document=e}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){const i=this._attachedOverlays.indexOf(e);i>-1&&this._attachedOverlays.splice(i,1),0===this._attachedOverlays.length&&this.detach()}static#e=this.\u0275fac=function(i){return new(i||t)(I(fe))};static#t=this.\u0275prov=V({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),g9=(()=>{class t extends rA{constructor(e,i){super(e),this._ngZone=i,this._keydownListener=o=>{const r=this._attachedOverlays;for(let s=r.length-1;s>-1;s--)if(r[s]._keydownEvents.observers.length>0){const a=r[s]._keydownEvents;this._ngZone?this._ngZone.run(()=>a.next(o)):a.next(o);break}}}add(e){super.add(e),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||t)(I(fe),I(j,8))};static#t=this.\u0275prov=V({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),_9=(()=>{class t extends rA{constructor(e,i,o){super(e),this._platform=i,this._ngZone=o,this._cursorStyleIsSet=!1,this._pointerDownListener=r=>{this._pointerDownEventTarget=Eo(r)},this._clickListener=r=>{const s=Eo(r),a="click"===r.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(r)):u.next(r)}}}add(e){if(super.add(e),!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 e=this._document.body;e.removeEventListener("pointerdown",this._pointerDownListener,!0),e.removeEventListener("click",this._clickListener,!0),e.removeEventListener("auxclick",this._clickListener,!0),e.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(e.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(e){e.addEventListener("pointerdown",this._pointerDownListener,!0),e.addEventListener("click",this._clickListener,!0),e.addEventListener("auxclick",this._clickListener,!0),e.addEventListener("contextmenu",this._clickListener,!0)}static#e=this.\u0275fac=function(i){return new(i||t)(I(fe),I(et),I(j,8))};static#t=this.\u0275prov=V({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Sh=(()=>{class t{constructor(e,i){this._platform=i,this._document=e}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const e="cdk-overlay-container";if(this._platform.isBrowser||ub()){const o=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let r=0;rthis._backdropClick.next(u),this._backdropTransitionendHandler=u=>{this._disposeBackdrop(u.target)},this._keydownEvents=new G,this._outsidePointerEvents=new G,o.scrollStrategy&&(this._scrollStrategy=o.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=o.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 e=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(Et(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 e?.onDestroy&&e.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),e}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=St(this._config.width),n.height=St(this._config.height),n.minWidth=St(this._config.minWidth),n.minHeight=St(this._config.minHeight),n.maxWidth=St(this._config.maxWidth),n.maxHeight=St(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,e,i){const o=ch(e||[]).filter(r=>!!r);o.length&&(i?n.classList.add(...o):n.classList.remove(...o))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const n=this._ngZone.onStable.pipe(it(ai(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 sA="cdk-overlay-connected-position-bounding-box",b9=/([A-Za-z%]+)$/;class v9{get positions(){return this._preferredPositions}constructor(n,e,i,o,r){this._viewportRuler=e,this._document=i,this._platform=o,this._overlayContainer=r,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 G,this._resizeSubscription=dt.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(n)}attach(n){this._validatePositions(),n.hostElement.classList.add(sA),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,e=this._overlayRect,i=this._viewportRect,o=this._containerRect,r=[];let s;for(let a of this._preferredPositions){let l=this._getOriginPoint(n,o,a),c=this._getOverlayPoint(l,e,a),d=this._getOverlayFit(c,e,i,a);if(d.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(a,l);this._canFitWithFlexibleDimensions(d,c,i)?r.push({position:a,origin:l,overlayRect:e,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&&Er(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(sA),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 e=this._getOriginPoint(this._originRect,this._containerRect,n);this._applyPosition(n,e)}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,e,i){let o,r;if("center"==i.originX)o=n.left+n.width/2;else{const s=this._isRtl()?n.right:n.left,a=this._isRtl()?n.left:n.right;o="start"==i.originX?s:a}return e.left<0&&(o-=e.left),r="center"==i.originY?n.top+n.height/2:"top"==i.originY?n.top:n.bottom,e.top<0&&(r-=e.top),{x:o,y:r}}_getOverlayPoint(n,e,i){let o,r;return o="center"==i.overlayX?-e.width/2:"start"===i.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,r="center"==i.overlayY?-e.height/2:"top"==i.overlayY?0:-e.height,{x:n.x+o,y:n.y+r}}_getOverlayFit(n,e,i,o){const r=lA(e);let{x:s,y:a}=n,l=this._getOffset(o,"x"),c=this._getOffset(o,"y");l&&(s+=l),c&&(a+=c);let h=0-a,f=a+r.height-i.height,m=this._subtractOverflows(r.width,0-s,s+r.width-i.width),_=this._subtractOverflows(r.height,h,f),y=m*_;return{visibleArea:y,isCompletelyWithinViewport:r.width*r.height===y,fitsInViewportVertically:_===r.height,fitsInViewportHorizontally:m==r.width}}_canFitWithFlexibleDimensions(n,e,i){if(this._hasFlexibleDimensions){const o=i.bottom-e.y,r=i.right-e.x,s=aA(this._overlayRef.getConfig().minHeight),a=aA(this._overlayRef.getConfig().minWidth);return(n.fitsInViewportVertically||null!=s&&s<=o)&&(n.fitsInViewportHorizontally||null!=a&&a<=r)}return!1}_pushOverlayOnScreen(n,e,i){if(this._previousPushAmount&&this._positionLocked)return{x:n.x+this._previousPushAmount.x,y:n.y+this._previousPushAmount.y};const o=lA(e),r=this._viewportRect,s=Math.max(n.x+o.width-r.width,0),a=Math.max(n.y+o.height-r.height,0),l=Math.max(r.top-i.top-n.y,0),c=Math.max(r.left-i.left-n.x,0);let d=0,u=0;return d=o.width<=r.width?c||-s:n.xm&&!this._isInitialRender&&!this._growAfterOpen&&(s=n.y-m/2)}if("end"===e.overlayX&&!o||"start"===e.overlayX&&o)h=i.width-n.x+2*this._viewportMargin,d=n.x-this._viewportMargin;else if("start"===e.overlayX&&!o||"end"===e.overlayX&&o)u=n.x,d=i.right-n.x;else{const f=Math.min(i.right-n.x+i.left,n.x),m=this._lastBoundingBoxSize.width;d=2*f,u=n.x-f,d>m&&!this._isInitialRender&&!this._growAfterOpen&&(u=n.x-m/2)}return{top:s,left:u,bottom:a,right:h,width:d,height:r}}_setBoundingBoxStyles(n,e){const i=this._calculateBoundingBoxRect(n,e);!this._isInitialRender&&!this._growAfterOpen&&(i.height=Math.min(i.height,this._lastBoundingBoxSize.height),i.width=Math.min(i.width,this._lastBoundingBoxSize.width));const o={};if(this._hasExactPosition())o.top=o.left="0",o.bottom=o.right=o.maxHeight=o.maxWidth="",o.width=o.height="100%";else{const r=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;o.height=St(i.height),o.top=St(i.top),o.bottom=St(i.bottom),o.width=St(i.width),o.left=St(i.left),o.right=St(i.right),o.alignItems="center"===e.overlayX?"center":"end"===e.overlayX?"flex-end":"flex-start",o.justifyContent="center"===e.overlayY?"center":"bottom"===e.overlayY?"flex-end":"flex-start",r&&(o.maxHeight=St(r)),s&&(o.maxWidth=St(s))}this._lastBoundingBoxSize=i,Er(this._boundingBox.style,o)}_resetBoundingBoxStyles(){Er(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Er(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(n,e){const i={},o=this._hasExactPosition(),r=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(o){const d=this._viewportRuler.getViewportScrollPosition();Er(i,this._getExactOverlayY(e,n,d)),Er(i,this._getExactOverlayX(e,n,d))}else i.position="static";let a="",l=this._getOffset(e,"x"),c=this._getOffset(e,"y");l&&(a+=`translateX(${l}px) `),c&&(a+=`translateY(${c}px)`),i.transform=a.trim(),s.maxHeight&&(o?i.maxHeight=St(s.maxHeight):r&&(i.maxHeight="")),s.maxWidth&&(o?i.maxWidth=St(s.maxWidth):r&&(i.maxWidth="")),Er(this._pane.style,i)}_getExactOverlayY(n,e,i){let o={top:"",bottom:""},r=this._getOverlayPoint(e,this._overlayRect,n);return this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,i)),"bottom"===n.overlayY?o.bottom=this._document.documentElement.clientHeight-(r.y+this._overlayRect.height)+"px":o.top=St(r.y),o}_getExactOverlayX(n,e,i){let s,o={left:"",right:""},r=this._getOverlayPoint(e,this._overlayRect,n);return this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,i)),s=this._isRtl()?"end"===n.overlayX?"left":"right":"end"===n.overlayX?"right":"left","right"===s?o.right=this._document.documentElement.clientWidth-(r.x+this._overlayRect.width)+"px":o.left=St(r.x),o}_getScrollVisibility(){const n=this._getOriginRect(),e=this._pane.getBoundingClientRect(),i=this._scrollables.map(o=>o.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:oA(n,i),isOriginOutsideView:Rb(n,i),isOverlayClipped:oA(e,i),isOverlayOutsideView:Rb(e,i)}}_subtractOverflows(n,...e){return e.reduce((i,o)=>i-Math.max(o,0),n)}_getNarrowedViewportRect(){const n=this._document.documentElement.clientWidth,e=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+e-this._viewportMargin,width:n-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(n,e){return"x"===e?null==n.offsetX?this._offsetX:n.offsetX:null==n.offsetY?this._offsetY:n.offsetY}_validatePositions(){}_addPanelClasses(n){this._pane&&ch(n).forEach(e=>{""!==e&&-1===this._appliedPanelClasses.indexOf(e)&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(n=>{this._pane.classList.remove(n)}),this._appliedPanelClasses=[])}_getOriginRect(){const n=this._origin;if(n instanceof Y)return n.nativeElement.getBoundingClientRect();if(n instanceof Element)return n.getBoundingClientRect();const e=n.width||0,i=n.height||0;return{top:n.y,bottom:n.y+i,left:n.x,right:n.x+e,height:i,width:e}}}function Er(t,n){for(let e in n)n.hasOwnProperty(e)&&(t[e]=n[e]);return t}function aA(t){if("number"!=typeof t&&null!=t){const[n,e]=t.split(b9);return e&&"px"!==e?null:parseFloat(n)}return t||null}function lA(t){return{top:Math.floor(t.top),right:Math.floor(t.right),bottom:Math.floor(t.bottom),left:Math.floor(t.left),width:Math.floor(t.width),height:Math.floor(t.height)}}const cA="cdk-global-overlay-wrapper";class w9{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(n){const e=n.getConfig();this._overlayRef=n,this._width&&!e.width&&n.updateSize({width:this._width}),this._height&&!e.height&&n.updateSize({height:this._height}),n.hostElement.classList.add(cA),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,e=this._overlayRef.hostElement.style,i=this._overlayRef.getConfig(),{width:o,height:r,maxWidth:s,maxHeight:a}=i,l=!("100%"!==o&&"100vw"!==o||s&&"100%"!==s&&"100vw"!==s),c=!("100%"!==r&&"100vh"!==r||a&&"100%"!==a&&"100vh"!==a),d=this._xPosition,u=this._xOffset,h="rtl"===this._overlayRef.getConfig().direction;let f="",m="",_="";l?_="flex-start":"center"===d?(_="center",h?m=u:f=u):h?"left"===d||"end"===d?(_="flex-end",f=u):("right"===d||"start"===d)&&(_="flex-start",m=u):"left"===d||"start"===d?(_="flex-start",f=u):("right"===d||"end"===d)&&(_="flex-end",m=u),n.position=this._cssPosition,n.marginLeft=l?"0":f,n.marginTop=c?"0":this._topOffset,n.marginBottom=this._bottomOffset,n.marginRight=l?"0":m,e.justifyContent=_,e.alignItems=c?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const n=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,i=e.style;e.classList.remove(cA),i.justifyContent=i.alignItems=n.marginTop=n.marginBottom=n.marginLeft=n.marginRight=n.position="",this._overlayRef=null,this._isDisposed=!0}}let x9=(()=>{class t{constructor(e,i,o,r){this._viewportRuler=e,this._document=i,this._platform=o,this._overlayContainer=r}global(){return new w9}flexibleConnectedTo(e){return new v9(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}static#e=this.\u0275fac=function(i){return new(i||t)(I(Ab),I(fe),I(et),I(Sh))};static#t=this.\u0275prov=V({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),C9=0,Xt=(()=>{class t{constructor(e,i,o,r,s,a,l,c,d,u,h,f){this.scrollStrategies=e,this._overlayContainer=i,this._componentFactoryResolver=o,this._positionBuilder=r,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(e){const i=this._createHostElement(),o=this._createPaneElement(i),r=this._createPortalOutlet(o),s=new Th(e);return s.direction=s.direction||this._directionality.value,new Ah(r,i,o,s,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(e){const i=this._document.createElement("div");return i.id="cdk-overlay-"+C9++,i.classList.add("cdk-overlay-pane"),e.appendChild(i),i}_createHostElement(){const e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}_createPortalOutlet(e){return this._appRef||(this._appRef=this._injector.get(Di)),new eA(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}static#e=this.\u0275fac=function(i){return new(i||t)(I(m9),I(Sh),I(Xo),I(x9),I(g9),I(at),I(j),I(fe),I(Xi),I(xg),I(_9),I(wn,8))};static#t=this.\u0275prov=V({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const k9={provide:new R("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{const t=F(Xt);return()=>t.scrollStrategies.reposition()}}),deps:[Xt],useFactory:function E9(t){return()=>t.scrollStrategies.reposition()}};let lc=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=De({type:t});static#n=this.\u0275inj=ve({providers:[Xt,k9],imports:[Jl,sc,Ih,Ih]})}return t})();const M9=["mat-menu-item",""],I9=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],T9=["mat-icon, [matMenuItemIcon]","*"];function S9(t,n){1&t&&(jt(),g(0,"svg",2),$(1,"polygon",3),b())}const A9=["*"];function R9(t,n){if(1&t){const e=Ze();g(0,"div",0),A("keydown",function(o){return k(e),M(w()._handleKeydown(o))})("click",function(){return k(e),M(w().closed.emit("click"))})("@transformMenu.start",function(o){return k(e),M(w()._onAnimationStart(o))})("@transformMenu.done",function(o){return k(e),M(w()._onAnimationDone(o))}),g(1,"div",1),Ae(2),b()()}if(2&t){const e=w();ji(e._classList),E("id",e.panelId)("@transformMenu",e._panelAnimationState),W("aria-label",e.ariaLabel||null)("aria-labelledby",e.ariaLabelledby||null)("aria-describedby",e.ariaDescribedby||null)}}const Pb=new R("MAT_MENU_PANEL");let Rh=(()=>{class t{constructor(e,i,o,r,s){this._elementRef=e,this._document=i,this._focusMonitor=o,this._parentMenu=r,this._changeDetectorRef=s,this.role="menuitem",this.disabled=!1,this.disableRipple=!1,this._hovered=new G,this._focused=new G,this._highlighted=!1,this._triggersSubmenu=!1,r?.addItem?.(this)}focus(e,i){this._focusMonitor&&e?this._focusMonitor.focusVia(this._getHostElement(),e,i):this._getHostElement().focus(i),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(e){this.disabled&&(e.preventDefault(),e.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){const e=this._elementRef.nativeElement.cloneNode(!0),i=e.querySelectorAll("mat-icon, .material-icons");for(let o=0;o{class t{constructor(e,i,o,r,s,a,l){this._template=e,this._componentFactoryResolver=i,this._appRef=o,this._injector=r,this._viewContainerRef=s,this._document=a,this._changeDetectorRef=l,this._attached=new G}attach(e={}){this._portal||(this._portal=new oc(this._template,this._viewContainerRef)),this.detach(),this._outlet||(this._outlet=new eA(this._document.createElement("div"),this._componentFactoryResolver,this._appRef,this._injector));const i=this._template.elementRef.nativeElement;i.parentNode.insertBefore(this._outlet.outletElement,i),this._changeDetectorRef?.markForCheck(),this._portal.attach(this._outlet,e),this._attached.next()}detach(){this._portal.isAttached&&this._portal.detach()}ngOnDestroy(){this._outlet&&this._outlet.dispose()}static#e=this.\u0275fac=function(i){return new(i||t)(p(yt),p(Xo),p(Di),p(at),p(Nt),p(fe),p(zt))};static#t=this.\u0275dir=O({type:t,selectors:[["ng-template","matMenuContent",""]],standalone:!0,features:[Z([{provide:dA,useExisting:t}])]})}return t})();const Ph={transformMenu:gn("transformMenu",[ft("void",he({opacity:0,transform:"scale(0.8)"})),nt("void => enter",ht("120ms cubic-bezier(0, 0, 0.2, 1)",he({opacity:1,transform:"scale(1)"}))),nt("* => void",ht("100ms 25ms linear",he({opacity:0})))]),fadeInItems:gn("fadeInItems",[ft("showing",he({opacity:1})),nt("void => *",[he({opacity:0}),ht("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let O9=0;const N9=new R("mat-menu-default-options",{providedIn:"root",factory:function F9(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}});let cc=(()=>{class t{get xPosition(){return this._xPosition}set xPosition(e){this._xPosition=e,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(e){this._yPosition=e,this.setPositionClasses()}set panelClass(e){const i=this._previousPanelClass,o={...this._classList};i&&i.length&&i.split(" ").forEach(r=>{o[r]=!1}),this._previousPanelClass=e,e&&e.length&&(e.split(" ").forEach(r=>{o[r]=!0}),this._elementRef.nativeElement.className=""),this._classList=o}get classList(){return this.panelClass}set classList(e){this.panelClass=e}constructor(e,i,o,r){this._elementRef=e,this._ngZone=i,this._changeDetectorRef=r,this._elevationPrefix="mat-elevation-z",this._baseElevation=8,this._directDescendantItems=new as,this._classList={},this._panelAnimationState="void",this._animationDone=new G,this.closed=new J,this.close=this.closed,this.panelId="mat-menu-panel-"+O9++,this.overlayPanelClass=o.overlayPanelClass||"",this._xPosition=o.xPosition,this._yPosition=o.yPosition,this.backdropClass=o.backdropClass,this.overlapTrigger=o.overlapTrigger,this.hasBackdrop=o.hasBackdrop}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new q6(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe(Zs(this._directDescendantItems),pr(e=>ai(...e.map(i=>i._focused)))).subscribe(e=>this._keyManager.updateActiveItem(e)),this._directDescendantItems.changes.subscribe(e=>{const i=this._keyManager;if("enter"===this._panelAnimationState&&i.activeItem?._hasFocus()){const o=e.toArray(),r=Math.max(0,Math.min(o.length-1,i.activeItemIndex||0));o[r]&&!o[r].disabled?i.setActiveItem(r):i.setNextItemActive()}})}ngOnDestroy(){this._keyManager?.destroy(),this._directDescendantItems.destroy(),this.closed.complete(),this._firstItemFocusSubscription?.unsubscribe()}_hovered(){return this._directDescendantItems.changes.pipe(Zs(this._directDescendantItems),pr(i=>ai(...i.map(o=>o._hovered))))}addItem(e){}removeItem(e){}_handleKeydown(e){const i=e.keyCode,o=this._keyManager;switch(i){case 27:Ql(e)||(e.preventDefault(),this.closed.emit("keydown"));break;case 37:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case 39:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:return(38===i||40===i)&&o.setFocusOrigin("keyboard"),void o.onKeydown(e)}e.stopPropagation()}focusFirstItem(e="program"){this._firstItemFocusSubscription?.unsubscribe(),this._firstItemFocusSubscription=this._ngZone.onStable.pipe(Et(1)).subscribe(()=>{let i=null;if(this._directDescendantItems.length&&(i=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!i||!i.contains(document.activeElement)){const o=this._keyManager;o.setFocusOrigin(e).setFirstItemActive(),!o.activeItem&&i&&i.focus()}})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(e){const i=Math.min(this._baseElevation+e,24),o=`${this._elevationPrefix}${i}`,r=Object.keys(this._classList).find(s=>s.startsWith(this._elevationPrefix));if(!r||r===this._previousElevation){const s={...this._classList};this._previousElevation&&(s[this._previousElevation]=!1),s[o]=!0,this._previousElevation=o,this._classList=s}}setPositionClasses(e=this.xPosition,i=this.yPosition){this._classList={...this._classList,"mat-menu-before":"before"===e,"mat-menu-after":"after"===e,"mat-menu-above":"above"===i,"mat-menu-below":"below"===i},this._changeDetectorRef?.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(e){this._animationDone.next(e),this._isAnimating=!1}_onAnimationStart(e){this._isAnimating=!0,"enter"===e.toState&&0===this._keyManager.activeItemIndex&&(e.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe(Zs(this._allItems)).subscribe(e=>{this._directDescendantItems.reset(e.filter(i=>i._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}static#e=this.\u0275fac=function(i){return new(i||t)(p(Y),p(j),p(N9),p(zt))};static#t=this.\u0275cmp=ae({type:t,selectors:[["mat-menu"]],contentQueries:function(i,o,r){if(1&i&&(Dt(r,dA,5),Dt(r,Rh,5),Dt(r,Rh,4)),2&i){let s;re(s=se())&&(o.lazyContent=s.first),re(s=se())&&(o._allItems=s),re(s=se())&&(o.items=s)}},viewQuery:function(i,o){if(1&i&&Ge(yt,5),2&i){let r;re(r=se())&&(o.templateRef=r.first)}},hostVars:3,hostBindings:function(i,o){2&i&&W("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},inputs:{backdropClass:"backdropClass",ariaLabel:[P.None,"aria-label","ariaLabel"],ariaLabelledby:[P.None,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[P.None,"aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:[P.HasDecoratorInputTransform,"overlapTrigger","overlapTrigger",Ie],hasBackdrop:[P.HasDecoratorInputTransform,"hasBackdrop","hasBackdrop",e=>null==e?null:Ie(e)],panelClass:[P.None,"class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"},exportAs:["matMenu"],standalone:!0,features:[Z([{provide:Pb,useExisting:t}]),rn,ze],ngContentSelectors:A9,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-mdc-menu-panel","mat-mdc-elevation-specific",3,"keydown","click","id"],[1,"mat-mdc-menu-content"]],template:function(i,o){1&i&&(an(),B(0,R9,3,7,"ng-template"))},styles:['mat-menu{display:none}.mat-mdc-menu-content{margin:0;padding:8px 0;list-style-type:none}.mat-mdc-menu-content:focus{outline:none}.mat-mdc-menu-content,.mat-mdc-menu-content .mat-mdc-menu-item .mat-mdc-menu-item-text{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;flex:1;white-space:normal;font-family:var(--mat-menu-item-label-text-font);line-height:var(--mat-menu-item-label-text-line-height);font-size:var(--mat-menu-item-label-text-size);letter-spacing:var(--mat-menu-item-label-text-tracking);font-weight:var(--mat-menu-item-label-text-weight)}.mat-mdc-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;box-sizing:border-box;outline:0;border-radius:var(--mat-menu-container-shape);background-color:var(--mat-menu-container-color);will-change:transform,opacity}.mat-mdc-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-mdc-menu-panel{outline:solid 1px}.mat-divider{color:var(--mat-menu-divider-color);margin-bottom:var(--mat-menu-divider-bottom-spacing);margin-top:var(--mat-menu-divider-top-spacing)}.mat-mdc-menu-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:var(--mat-menu-item-leading-spacing);padding-right:var(--mat-menu-item-trailing-spacing);-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);cursor:pointer;width:100%;text-align:left;box-sizing:border-box;color:inherit;font-size:inherit;background:none;text-decoration:none;margin:0;align-items:center;min-height:48px}.mat-mdc-menu-item:focus{outline:none}[dir=rtl] .mat-mdc-menu-item,.mat-mdc-menu-item[dir=rtl]{padding-left:var(--mat-menu-item-trailing-spacing);padding-right:var(--mat-menu-item-leading-spacing)}.mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon]){padding-left:var(--mat-menu-item-with-icon-leading-spacing);padding-right:var(--mat-menu-item-with-icon-trailing-spacing)}[dir=rtl] .mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon]),.mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon])[dir=rtl]{padding-left:var(--mat-menu-item-with-icon-trailing-spacing);padding-right:var(--mat-menu-item-with-icon-leading-spacing)}.mat-mdc-menu-item::-moz-focus-inner{border:0}.mat-mdc-menu-item,.mat-mdc-menu-item:visited,.mat-mdc-menu-item:link{color:var(--mat-menu-item-label-text-color)}.mat-mdc-menu-item .mat-icon-no-color,.mat-mdc-menu-item .mat-mdc-menu-submenu-icon{color:var(--mat-menu-item-icon-color)}.mat-mdc-menu-item[disabled]{cursor:default;opacity:.38}.mat-mdc-menu-item[disabled]::after{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.mat-mdc-menu-item .mat-icon{flex-shrink:0;margin-right:var(--mat-menu-item-spacing);height:var(--mat-menu-item-icon-size);width:var(--mat-menu-item-icon-size)}[dir=rtl] .mat-mdc-menu-item{text-align:right}[dir=rtl] .mat-mdc-menu-item .mat-icon{margin-right:0;margin-left:var(--mat-menu-item-spacing)}.mat-mdc-menu-item:not([disabled]):hover{background-color:var(--mat-menu-item-hover-state-layer-color)}.mat-mdc-menu-item:not([disabled]).cdk-program-focused,.mat-mdc-menu-item:not([disabled]).cdk-keyboard-focused,.mat-mdc-menu-item:not([disabled]).mat-mdc-menu-item-highlighted{background-color:var(--mat-menu-item-focus-state-layer-color)}.cdk-high-contrast-active .mat-mdc-menu-item{margin-top:1px}.mat-mdc-menu-submenu-icon{width:var(--mat-menu-item-icon-size);height:10px;fill:currentColor;padding-left:var(--mat-menu-item-spacing)}[dir=rtl] .mat-mdc-menu-submenu-icon{padding-right:var(--mat-menu-item-spacing);padding-left:0}[dir=rtl] .mat-mdc-menu-submenu-icon polygon{transform:scaleX(-1)}.cdk-high-contrast-active .mat-mdc-menu-submenu-icon{fill:CanvasText}.mat-mdc-menu-item .mat-mdc-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}'],encapsulation:2,data:{animation:[Ph.transformMenu,Ph.fadeInItems]},changeDetection:0})}return t})();const uA=new R("mat-menu-scroll-strategy",{providedIn:"root",factory:()=>{const t=F(Xt);return()=>t.scrollStrategies.reposition()}}),V9={provide:uA,deps:[Xt],useFactory:function L9(t){return()=>t.scrollStrategies.reposition()}},hA=br({passive:!0});let B9=(()=>{class t{get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(e){this.menu=e}get menu(){return this._menu}set menu(e){e!==this._menu&&(this._menu=e,this._menuCloseSubscription.unsubscribe(),e&&(this._menuCloseSubscription=e.close.subscribe(i=>{this._destroyMenu(i),("click"===i||"tab"===i)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(i)})),this._menuItemInstance?._setTriggersSubmenu(this.triggersSubmenu()))}constructor(e,i,o,r,s,a,l,c,d){this._overlay=e,this._element=i,this._viewContainerRef=o,this._menuItemInstance=a,this._dir=l,this._focusMonitor=c,this._ngZone=d,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=dt.EMPTY,this._hoverSubscription=dt.EMPTY,this._menuCloseSubscription=dt.EMPTY,this._changeDetectorRef=F(zt),this._handleTouchStart=u=>{bb(u)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new J,this.onMenuOpen=this.menuOpened,this.menuClosed=new J,this.onMenuClose=this.menuClosed,this._scrollStrategy=r,this._parentMaterialMenu=s instanceof cc?s:void 0,i.nativeElement.addEventListener("touchstart",this._handleTouchStart,hA)}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,hA),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}triggersSubmenu(){return!!(this._menuItemInstance&&this._parentMaterialMenu&&this.menu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){const e=this.menu;if(this._menuOpen||!e)return;const i=this._createOverlay(e),o=i.getConfig(),r=o.positionStrategy;this._setPosition(e,r),o.hasBackdrop=null==e.hasBackdrop?!this.triggersSubmenu():e.hasBackdrop,i.attach(this._getPortal(e)),e.lazyContent&&e.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(e),e instanceof cc&&(e._startAnimation(),e._directDescendantItems.changes.pipe(it(e.close)).subscribe(()=>{r.withLockedPosition(!1).reapplyLastPosition(),r.withLockedPosition(!0)}))}closeMenu(){this.menu?.close.emit()}focus(e,i){this._focusMonitor&&e?this._focusMonitor.focusVia(this._element,e,i):this._element.nativeElement.focus(i)}updatePosition(){this._overlayRef?.updatePosition()}_destroyMenu(e){if(!this._overlayRef||!this.menuOpen)return;const i=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===e||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,i instanceof cc?(i._resetAnimation(),i.lazyContent?i._animationDone.pipe(Bt(o=>"void"===o.toState),Et(1),it(i.lazyContent._attached)).subscribe({next:()=>i.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),i?.lazyContent?.detach())}_initMenu(e){e.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,e.direction=this.dir,this._setMenuElevation(e),e.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(e){if(e.setElevation){let i=0,o=e.parentMenu;for(;o;)i++,o=o.parentMenu;e.setElevation(i)}}_setIsMenuOpen(e){e!==this._menuOpen&&(this._menuOpen=e,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(e),this._changeDetectorRef.markForCheck())}_createOverlay(e){if(!this._overlayRef){const i=this._getOverlayConfig(e);this._subscribeToPositions(e,i.positionStrategy),this._overlayRef=this._overlay.create(i),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(e){return new Th({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:e.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:e.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(e,i){e.setPositionClasses&&i.positionChanges.subscribe(o=>{const r="start"===o.connectionPair.overlayX?"after":"before",s="top"===o.connectionPair.overlayY?"below":"above";this._ngZone?this._ngZone.run(()=>e.setPositionClasses(r,s)):e.setPositionClasses(r,s)})}_setPosition(e,i){let[o,r]="before"===e.xPosition?["end","start"]:["start","end"],[s,a]="above"===e.yPosition?["bottom","top"]:["top","bottom"],[l,c]=[s,a],[d,u]=[o,r],h=0;if(this.triggersSubmenu()){if(u=o="before"===e.xPosition?"start":"end",r=d="end"===o?"start":"end",this._parentMaterialMenu){if(null==this._parentInnerPadding){const f=this._parentMaterialMenu.items.first;this._parentInnerPadding=f?f._getHostElement().offsetTop:0}h="bottom"===s?this._parentInnerPadding:-this._parentInnerPadding}}else e.overlapTrigger||(l="top"===s?"bottom":"top",c="top"===a?"bottom":"top");i.withPositions([{originX:o,originY:l,overlayX:d,overlayY:s,offsetY:h},{originX:r,originY:l,overlayX:u,overlayY:s,offsetY:h},{originX:o,originY:c,overlayX:d,overlayY:a,offsetY:-h},{originX:r,originY:c,overlayX:u,overlayY:a,offsetY:-h}])}_menuClosingActions(){const e=this._overlayRef.backdropClick(),i=this._overlayRef.detachments();return ai(e,this._parentMaterialMenu?this._parentMaterialMenu.closed:Tt(),this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe(Bt(s=>s!==this._menuItemInstance),Bt(()=>this._menuOpen)):Tt(),i)}_handleMousedown(e){_b(e)||(this._openedBy=0===e.button?"mouse":void 0,this.triggersSubmenu()&&e.preventDefault())}_handleKeydown(e){const i=e.keyCode;(13===i||32===i)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(39===i&&"ltr"===this.dir||37===i&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(e){this.triggersSubmenu()?(e.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe(Bt(e=>e===this._menuItemInstance&&!e.disabled),J_(0,Ib)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof cc&&this.menu._isAnimating?this.menu._animationDone.pipe(Et(1),J_(0,Ib),it(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(e){return(!this._portal||this._portal.templateRef!==e.templateRef)&&(this._portal=new oc(e.templateRef,this._viewContainerRef)),this._portal}static#e=this.\u0275fac=function(i){return new(i||t)(p(Xt),p(Y),p(Nt),p(uA),p(Pb,8),p(Rh,10),p(Xi,8),p(wr),p(j))};static#t=this.\u0275dir=O({type:t,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],hostVars:3,hostBindings:function(i,o){1&i&&A("click",function(s){return o._handleClick(s)})("mousedown",function(s){return o._handleMousedown(s)})("keydown",function(s){return o._handleKeydown(s)}),2&i&&W("aria-haspopup",o.menu?"menu":null)("aria-expanded",o.menuOpen)("aria-controls",o.menuOpen?o.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:[P.None,"mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:[P.None,"matMenuTriggerFor","menu"],menuData:[P.None,"matMenuTriggerData","menuData"],restoreFocus:[P.None,"matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"},exportAs:["matMenuTrigger"],standalone:!0})}return t})(),H9=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=De({type:t});static#n=this.\u0275inj=ve({providers:[V9],imports:[Du,wb,lt,lc,Mh,lt]})}return t})();function j9(t,n){if(1&t){const e=Ze();g(0,"div",1)(1,"button",2),A("click",function(){return k(e),M(w().action())}),x(2),b()()}if(2&t){const e=w();v(2),Dn(" ",e.data.action," ")}}const z9=["label"];function U9(t,n){}const $9=Math.pow(2,31)-1;class Ob{constructor(n,e){this._overlayRef=e,this._afterDismissed=new G,this._afterOpened=new G,this._onAction=new G,this._dismissedByAction=!1,this.containerInstance=n,n._onExit.subscribe(()=>this._finishDismiss())}dismiss(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}dismissWithAction(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete(),this.dismiss()),clearTimeout(this._durationTimeoutId)}closeWithAction(){this.dismissWithAction()}_dismissAfter(n){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(n,$9))}_open(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}_finishDismiss(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}afterDismissed(){return this._afterDismissed}afterOpened(){return this.containerInstance._onEnter}onAction(){return this._onAction}}const fA=new R("MatSnackBarData");class Oh{constructor(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}}let mA=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275dir=O({type:t,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"],standalone:!0})}return t})(),pA=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275dir=O({type:t,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"],standalone:!0})}return t})(),gA=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275dir=O({type:t,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"],standalone:!0})}return t})(),_A=(()=>{class t{constructor(e,i){this.snackBarRef=e,this.data=i}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}static#e=this.\u0275fac=function(i){return new(i||t)(p(Ob),p(fA))};static#t=this.\u0275cmp=ae({type:t,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-mdc-simple-snack-bar"],exportAs:["matSnackBar"],standalone:!0,features:[ze],decls:3,vars:2,consts:[["matSnackBarLabel",""],["matSnackBarActions",""],["mat-button","","matSnackBarAction","",3,"click"]],template:function(i,o){1&i&&(g(0,"div",0),x(1),b(),B(2,j9,3,1,"div",1)),2&i&&(v(),Dn(" ",o.data.message,"\n"),v(),tt(2,o.hasAction?2:-1))},dependencies:[ko,mA,pA,gA],styles:[".mat-mdc-simple-snack-bar{display:flex}"],encapsulation:2,changeDetection:0})}return t})();const W9={snackBarState:gn("state",[ft("void, hidden",he({transform:"scale(0.8)",opacity:0})),ft("visible",he({transform:"scale(1)",opacity:1})),nt("* => visible",ht("150ms cubic-bezier(0, 0, 0.2, 1)")),nt("* => void, * => hidden",ht("75ms cubic-bezier(0.4, 0.0, 1, 1)",he({opacity:0})))])};let G9=0,bA=(()=>{class t extends kh{constructor(e,i,o,r,s){super(),this._ngZone=e,this._elementRef=i,this._changeDetectorRef=o,this._platform=r,this.snackBarConfig=s,this._document=F(fe),this._trackedModals=new Set,this._announceDelay=150,this._destroyed=!1,this._onAnnounce=new G,this._onExit=new G,this._onEnter=new G,this._animationState="void",this._liveElementId="mat-snack-bar-container-live-"+G9++,this.attachDomPortal=a=>{this._assertNotAttached();const l=this._portalOutlet.attachDomPortal(a);return this._afterPortalAttached(),l},this._live="assertive"!==s.politeness||s.announcementMessage?"off"===s.politeness?"off":"polite":"assertive",this._platform.FIREFOX&&("polite"===this._live&&(this._role="status"),"assertive"===this._live&&(this._role="alert"))}attachComponentPortal(e){this._assertNotAttached();const i=this._portalOutlet.attachComponentPortal(e);return this._afterPortalAttached(),i}attachTemplatePortal(e){this._assertNotAttached();const i=this._portalOutlet.attachTemplatePortal(e);return this._afterPortalAttached(),i}onAnimationEnd(e){const{fromState:i,toState:o}=e;if(("void"===o&&"void"!==i||"hidden"===o)&&this._completeExit(),"visible"===o){const r=this._onEnter;this._ngZone.run(()=>{r.next(),r.complete()})}}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.markForCheck(),this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce())}exit(){return this._ngZone.run(()=>{this._animationState="hidden",this._changeDetectorRef.markForCheck(),this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId)}),this._onExit}ngOnDestroy(){this._destroyed=!0,this._clearFromModals(),this._completeExit()}_completeExit(){queueMicrotask(()=>{this._onExit.next(),this._onExit.complete()})}_afterPortalAttached(){const e=this._elementRef.nativeElement,i=this.snackBarConfig.panelClass;i&&(Array.isArray(i)?i.forEach(s=>e.classList.add(s)):e.classList.add(i)),this._exposeToModals();const o=this._label.nativeElement,r="mdc-snackbar__label";o.classList.toggle(r,!o.querySelector(`.${r}`))}_exposeToModals(){const e=this._liveElementId,i=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let o=0;o{const i=e.getAttribute("aria-owns");if(i){const o=i.replace(this._liveElementId,"").trim();o.length>0?e.setAttribute("aria-owns",o):e.removeAttribute("aria-owns")}}),this._trackedModals.clear()}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{const e=this._elementRef.nativeElement.querySelector("[aria-hidden]"),i=this._elementRef.nativeElement.querySelector("[aria-live]");if(e&&i){let o=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&e.contains(document.activeElement)&&(o=document.activeElement),e.removeAttribute("aria-hidden"),i.appendChild(e),o?.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}static#e=this.\u0275fac=function(i){return new(i||t)(p(j),p(Y),p(zt),p(et),p(Oh))};static#t=this.\u0275cmp=ae({type:t,selectors:[["mat-snack-bar-container"]],viewQuery:function(i,o){if(1&i&&(Ge(rc,7),Ge(z9,7)),2&i){let r;re(r=se())&&(o._portalOutlet=r.first),re(r=se())&&(o._label=r.first)}},hostAttrs:[1,"mdc-snackbar","mat-mdc-snack-bar-container","mdc-snackbar--open"],hostVars:1,hostBindings:function(i,o){1&i&&Xp("@state.done",function(s){return o.onAnimationEnd(s)}),2&i&&Gp("@state",o._animationState)},standalone:!0,features:[z,ze],decls:6,vars:3,consts:[["label",""],[1,"mdc-snackbar__surface"],[1,"mat-mdc-snack-bar-label"],["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(i,o){1&i&&(g(0,"div",1)(1,"div",2,0)(3,"div",3),B(4,U9,0,0,"ng-template",4),b(),$(5,"div"),b()()),2&i&&(v(5),W("aria-live",o._live)("role",o._role)("id",o._liveElementId))},dependencies:[rc],styles:['.mdc-snackbar{display:none;position:fixed;right:0;bottom:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;pointer-events:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mdc-snackbar--opening,.mdc-snackbar--open,.mdc-snackbar--closing{display:flex}.mdc-snackbar--open .mdc-snackbar__label,.mdc-snackbar--open .mdc-snackbar__actions{visibility:visible}.mdc-snackbar__surface{padding-left:0;padding-right:8px;display:flex;align-items:center;justify-content:flex-start;box-sizing:border-box;transform:scale(0.8);opacity:0}.mdc-snackbar__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-snackbar__surface::before{border-color:CanvasText}}[dir=rtl] .mdc-snackbar__surface,.mdc-snackbar__surface[dir=rtl]{padding-left:8px;padding-right:0}.mdc-snackbar--open .mdc-snackbar__surface{transform:scale(1);opacity:1;pointer-events:auto}.mdc-snackbar--closing .mdc-snackbar__surface{transform:scale(1)}.mdc-snackbar__label{padding-left:16px;padding-right:8px;width:100%;flex-grow:1;box-sizing:border-box;margin:0;visibility:hidden;padding-top:14px;padding-bottom:14px}[dir=rtl] .mdc-snackbar__label,.mdc-snackbar__label[dir=rtl]{padding-left:8px;padding-right:16px}.mdc-snackbar__label::before{display:inline;content:attr(data-mdc-snackbar-label-text)}.mdc-snackbar__actions{display:flex;flex-shrink:0;align-items:center;box-sizing:border-box;visibility:hidden}.mdc-snackbar__action+.mdc-snackbar__dismiss{margin-left:8px;margin-right:0}[dir=rtl] .mdc-snackbar__action+.mdc-snackbar__dismiss,.mdc-snackbar__action+.mdc-snackbar__dismiss[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-snack-bar-container{margin:8px;position:static}.mat-mdc-snack-bar-container .mdc-snackbar__surface{min-width:344px}@media(max-width: 480px),(max-width: 344px){.mat-mdc-snack-bar-container .mdc-snackbar__surface{min-width:100%}}@media(max-width: 480px),(max-width: 344px){.mat-mdc-snack-bar-container{width:100vw}}.mat-mdc-snack-bar-container .mdc-snackbar__surface{max-width:672px}.mat-mdc-snack-bar-container .mdc-snackbar__surface{box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12)}.mat-mdc-snack-bar-container .mdc-snackbar__surface{background-color:var(--mdc-snackbar-container-color)}.mat-mdc-snack-bar-container .mdc-snackbar__surface{border-radius:var(--mdc-snackbar-container-shape)}.mat-mdc-snack-bar-container .mdc-snackbar__label{color:var(--mdc-snackbar-supporting-text-color)}.mat-mdc-snack-bar-container .mdc-snackbar__label{font-size:var(--mdc-snackbar-supporting-text-size);font-family:var(--mdc-snackbar-supporting-text-font);font-weight:var(--mdc-snackbar-supporting-text-weight);line-height:var(--mdc-snackbar-supporting-text-line-height)}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled){color:var(--mat-snack-bar-button-color);--mat-text-button-state-layer-color:currentColor;--mat-text-button-ripple-color:currentColor}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled) .mat-ripple-element{opacity:.1}.mat-mdc-snack-bar-container .mdc-snackbar__label::before{display:none}.mat-mdc-snack-bar-handset,.mat-mdc-snack-bar-container,.mat-mdc-snack-bar-label{flex:1 1 auto}.mat-mdc-snack-bar-handset .mdc-snackbar__surface{width:100%}'],encapsulation:2,data:{animation:[W9.snackBarState]}})}return t})();const Y9=new R("mat-snack-bar-default-options",{providedIn:"root",factory:function q9(){return new Oh}});let Nb=(()=>{class t{get _openedSnackBarRef(){const e=this._parentSnackBar;return e?e._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(e){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=e:this._snackBarRefAtThisLevel=e}constructor(e,i,o,r,s,a){this._overlay=e,this._live=i,this._injector=o,this._breakpointObserver=r,this._parentSnackBar=s,this._defaultConfig=a,this._snackBarRefAtThisLevel=null,this.simpleSnackBarComponent=_A,this.snackBarContainerComponent=bA,this.handsetCssClass="mat-mdc-snack-bar-handset"}openFromComponent(e,i){return this._attach(e,i)}openFromTemplate(e,i){return this._attach(e,i)}open(e,i="",o){const r={...this._defaultConfig,...o};return r.data={message:e,action:i},r.announcementMessage===e&&(r.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,r)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(e,i){const r=at.create({parent:i&&i.viewContainerRef&&i.viewContainerRef.injector||this._injector,providers:[{provide:Oh,useValue:i}]}),s=new ea(this.snackBarContainerComponent,i.viewContainerRef,r),a=e.attach(s);return a.instance.snackBarConfig=i,a.instance}_attach(e,i){const o={...new Oh,...this._defaultConfig,...i},r=this._createOverlay(o),s=this._attachSnackBarContainer(r,o),a=new Ob(s,r);if(e instanceof yt){const l=new oc(e,null,{$implicit:o.data,snackBarRef:a});a.instance=s.attachTemplatePortal(l)}else{const l=this._createInjector(o,a),c=new ea(e,void 0,l),d=s.attachComponentPortal(c);a.instance=d.instance}return this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait)").pipe(it(r.detachments())).subscribe(l=>{r.overlayElement.classList.toggle(this.handsetCssClass,l.matches)}),o.announcementMessage&&s._onAnnounce.subscribe(()=>{this._live.announce(o.announcementMessage,o.politeness)}),this._animateSnackBar(a,o),this._openedSnackBarRef=a,this._openedSnackBarRef}_animateSnackBar(e,i){e.afterDismissed().subscribe(()=>{this._openedSnackBarRef==e&&(this._openedSnackBarRef=null),i.announcementMessage&&this._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{e.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):e.containerInstance.enter(),i.duration&&i.duration>0&&e.afterOpened().subscribe(()=>e._dismissAfter(i.duration))}_createOverlay(e){const i=new Th;i.direction=e.direction;let o=this._overlay.position().global();const r="rtl"===e.direction,s="left"===e.horizontalPosition||"start"===e.horizontalPosition&&!r||"end"===e.horizontalPosition&&r,a=!s&&"center"!==e.horizontalPosition;return s?o.left("0"):a?o.right("0"):o.centerHorizontally(),"top"===e.verticalPosition?o.top("0"):o.bottom("0"),i.positionStrategy=o,this._overlay.create(i)}_createInjector(e,i){return at.create({parent:e&&e.viewContainerRef&&e.viewContainerRef.injector||this._injector,providers:[{provide:Ob,useValue:i},{provide:fA,useValue:e.data}]})}static#e=this.\u0275fac=function(i){return new(i||t)(I(Xt),I(uW),I(at),I(QT),I(t,12),I(Y9))};static#t=this.\u0275prov=V({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),X9=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=De({type:t});static#n=this.\u0275inj=ve({providers:[Nb],imports:[lc,sc,$S,lt,_A,lt]})}return t})();const Z9=["tooltip"],Fb=new R("mat-tooltip-scroll-strategy",{providedIn:"root",factory:()=>{const t=F(Xt);return()=>t.scrollStrategies.reposition({scrollThrottle:20})}}),Q9={provide:Fb,deps:[Xt],useFactory:function K9(t){return()=>t.scrollStrategies.reposition({scrollThrottle:20})}},yA=new R("mat-tooltip-default-options",{providedIn:"root",factory:function J9(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),wA="tooltip-panel",xA=br({passive:!0});let Mo=(()=>{class t{get position(){return this._position}set position(e){e!==this._position&&(this._position=e,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(e){this._positionAtOrigin=Ys(e),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(e){this._disabled=Ys(e),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(e){this._showDelay=lh(e)}get hideDelay(){return this._hideDelay}set hideDelay(e){this._hideDelay=lh(e),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(e){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=e?String(e).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(e){this._tooltipClass=e,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}constructor(e,i,o,r,s,a,l,c,d,u,h,f){this._overlay=e,this._elementRef=i,this._scrollDispatcher=o,this._viewContainerRef=r,this._ngZone=s,this._platform=a,this._ariaDescriber=l,this._focusMonitor=c,this._dir=u,this._defaultOptions=h,this._position="below",this._positionAtOrigin=!1,this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._tooltipComponent=o7,this._viewportMargin=8,this._cssClassPrefix="mat-mdc",this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new G,this._scrollStrategy=d,this._document=f,h&&(this._showDelay=h.showDelay,this._hideDelay=h.hideDelay,h.position&&(this.position=h.position),h.positionAtOrigin&&(this.positionAtOrigin=h.positionAtOrigin),h.touchGestures&&(this.touchGestures=h.touchGestures)),u.change.pipe(it(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)}),this._viewportMargin=8}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(it(this._destroyed)).subscribe(e=>{e?"keyboard"===e&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const e=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([i,o])=>{e.removeEventListener(i,o,xA)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(e,this.message,"tooltip"),this._focusMonitor.stopMonitoring(e)}show(e=this.showDelay,i){if(this.disabled||!this.message||this._isTooltipVisible())return void this._tooltipInstance?._cancelPendingAnimations();const o=this._createOverlay(i);this._detach(),this._portal=this._portal||new ea(this._tooltipComponent,this._viewContainerRef);const r=this._tooltipInstance=o.attach(this._portal).instance;r._triggerElement=this._elementRef.nativeElement,r._mouseLeaveHideDelay=this._hideDelay,r.afterHidden().pipe(it(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),r.show(e)}hide(e=this.hideDelay){const i=this._tooltipInstance;i&&(i.isVisible()?i.hide(e):(i._cancelPendingAnimations(),this._detach()))}toggle(e){this._isTooltipVisible()?this.hide():this.show(void 0,e)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(e){if(this._overlayRef){const r=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!e)&&r._origin instanceof Y)return this._overlayRef;this._detach()}const i=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),o=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin&&e||this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(i);return o.positionChanges.pipe(it(this._destroyed)).subscribe(r=>{this._updateCurrentPositionClass(r.connectionPair),this._tooltipInstance&&r.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:o,panelClass:`${this._cssClassPrefix}-${wA}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(it(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(it(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe(it(this._destroyed)).subscribe(r=>{this._isTooltipVisible()&&27===r.keyCode&&!Ql(r)&&(r.preventDefault(),r.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(e){const i=e.getConfig().positionStrategy,o=this._getOrigin(),r=this._getOverlayPosition();i.withPositions([this._addOffset({...o.main,...r.main}),this._addOffset({...o.fallback,...r.fallback})])}_addOffset(e){const o=!this._dir||"ltr"==this._dir.value;return"top"===e.originY?e.offsetY=-8:"bottom"===e.originY?e.offsetY=8:"start"===e.originX?e.offsetX=o?-8:8:"end"===e.originX&&(e.offsetX=o?8:-8),e}_getOrigin(){const e=!this._dir||"ltr"==this._dir.value,i=this.position;let o;"above"==i||"below"==i?o={originX:"center",originY:"above"==i?"top":"bottom"}:"before"==i||"left"==i&&e||"right"==i&&!e?o={originX:"start",originY:"center"}:("after"==i||"right"==i&&e||"left"==i&&!e)&&(o={originX:"end",originY:"center"});const{x:r,y:s}=this._invertPosition(o.originX,o.originY);return{main:o,fallback:{originX:r,originY:s}}}_getOverlayPosition(){const e=!this._dir||"ltr"==this._dir.value,i=this.position;let o;"above"==i?o={overlayX:"center",overlayY:"bottom"}:"below"==i?o={overlayX:"center",overlayY:"top"}:"before"==i||"left"==i&&e||"right"==i&&!e?o={overlayX:"end",overlayY:"center"}:("after"==i||"right"==i&&e||"left"==i&&!e)&&(o={overlayX:"start",overlayY:"center"});const{x:r,y:s}=this._invertPosition(o.overlayX,o.overlayY);return{main:o,fallback:{overlayX:r,overlayY:s}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe(Et(1),it(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(e){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=e,this._tooltipInstance._markForCheck())}_invertPosition(e,i){return"above"===this.position||"below"===this.position?"top"===i?i="bottom":"bottom"===i&&(i="top"):"end"===e?e="start":"start"===e&&(e="end"),{x:e,y:i}}_updateCurrentPositionClass(e){const{overlayY:i,originX:o,originY:r}=e;let s;if(s="center"===i?this._dir&&"rtl"===this._dir.value?"end"===o?"left":"right":"start"===o?"left":"right":"bottom"===i&&"top"===r?"above":"below",s!==this._currentPosition){const a=this._overlayRef;if(a){const l=`${this._cssClassPrefix}-${wA}-`;a.removePanelClass(l+this._currentPosition),a.addPanelClass(l+s)}this._currentPosition=s}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",e=>{let i;this._setupPointerExitEventsIfNeeded(),void 0!==e.x&&void 0!==e.y&&(i=e),this.show(void 0,i)}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",e=>{const i=e.targetTouches?.[0],o=i?{x:i.clientX,y:i.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(void 0,o),this._defaultOptions.touchLongPressShowDelay??500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const e=[];if(this._platformSupportsMouseEvents())e.push(["mouseleave",i=>{const o=i.relatedTarget;(!o||!this._overlayRef?.overlayElement.contains(o))&&this.hide()}],["wheel",i=>this._wheelListener(i)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const i=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};e.push(["touchend",i],["touchcancel",i])}this._addListeners(e),this._passiveListeners.push(...e)}_addListeners(e){e.forEach(([i,o])=>{this._elementRef.nativeElement.addEventListener(i,o,xA)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(e){if(this._isTooltipVisible()){const i=this._document.elementFromPoint(e.clientX,e.clientY),o=this._elementRef.nativeElement;i!==o&&!o.contains(i)&&this.hide()}}_disableNativeGesturesIfNecessary(){const e=this.touchGestures;if("off"!==e){const i=this._elementRef.nativeElement,o=i.style;("on"===e||"INPUT"!==i.nodeName&&"TEXTAREA"!==i.nodeName)&&(o.userSelect=o.msUserSelect=o.webkitUserSelect=o.MozUserSelect="none"),("on"===e||!i.draggable)&&(o.webkitUserDrag="none"),o.touchAction="none",o.webkitTapHighlightColor="transparent"}}static#e=this.\u0275fac=function(i){return new(i||t)(p(Xt),p(Y),p(Sb),p(Nt),p(j),p(et),p(nS),p(wr),p(Fb),p(Xi),p(yA,8),p(fe))};static#t=this.\u0275dir=O({type:t,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(i,o){2&i&&xe("mat-mdc-tooltip-disabled",o.disabled)},inputs:{position:[P.None,"matTooltipPosition","position"],positionAtOrigin:[P.None,"matTooltipPositionAtOrigin","positionAtOrigin"],disabled:[P.None,"matTooltipDisabled","disabled"],showDelay:[P.None,"matTooltipShowDelay","showDelay"],hideDelay:[P.None,"matTooltipHideDelay","hideDelay"],touchGestures:[P.None,"matTooltipTouchGestures","touchGestures"],message:[P.None,"matTooltip","message"],tooltipClass:[P.None,"matTooltipClass","tooltipClass"]},exportAs:["matTooltip"],standalone:!0})}return t})(),o7=(()=>{class t{constructor(e,i,o){this._changeDetectorRef=e,this._elementRef=i,this._isMultiline=!1,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new G,this._showAnimation="mat-mdc-tooltip-show",this._hideAnimation="mat-mdc-tooltip-hide",this._animationsDisabled="NoopAnimations"===o}show(e){null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},e)}hide(e){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},e)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:e}){(!e||!this._triggerElement.contains(e))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){const e=this._elementRef.nativeElement.getBoundingClientRect();return e.height>24&&e.width>=200}_handleAnimationEnd({animationName:e}){(e===this._showAnimation||e===this._hideAnimation)&&this._finalizeAnimation(e===this._showAnimation)}_cancelPendingAnimations(){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(e){e?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(e){const i=this._tooltip.nativeElement,o=this._showAnimation,r=this._hideAnimation;if(i.classList.remove(e?r:o),i.classList.add(e?o:r),this._isVisible!==e&&(this._isVisible=e,this._changeDetectorRef.markForCheck()),e&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const s=getComputedStyle(i);("0s"===s.getPropertyValue("animation-duration")||"none"===s.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}e&&this._onShow(),this._animationsDisabled&&(i.classList.add("_mat-animation-noopable"),this._finalizeAnimation(e))}static#e=this.\u0275fac=function(i){return new(i||t)(p(zt),p(Y),p(wn,8))};static#t=this.\u0275cmp=ae({type:t,selectors:[["mat-tooltip-component"]],viewQuery:function(i,o){if(1&i&&Ge(Z9,7),2&i){let r;re(r=se())&&(o._tooltip=r.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(i,o){1&i&&A("mouseleave",function(s){return o._handleMouseLeave(s)}),2&i&&Hi("zoom",o.isVisible()?1:null)},standalone:!0,features:[ze],decls:4,vars:4,consts:[["tooltip",""],[1,"mdc-tooltip","mdc-tooltip--shown","mat-mdc-tooltip",3,"animationend","ngClass"],[1,"mdc-tooltip__surface","mdc-tooltip__surface-animation"]],template:function(i,o){if(1&i){const r=Ze();g(0,"div",1,0),A("animationend",function(a){return k(r),M(o._handleAnimationEnd(a))}),g(2,"div",2),x(3),b()()}2&i&&(xe("mdc-tooltip--multiline",o._isMultiline),E("ngClass",o.tooltipClass),v(3),zn(o.message))},dependencies:[Cu],styles:['.mdc-tooltip__surface{word-break:break-all;word-break:var(--mdc-tooltip-word-break, normal);overflow-wrap:anywhere}.mdc-tooltip--showing-transition .mdc-tooltip__surface-animation{transition:opacity 150ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-tooltip--hide-transition .mdc-tooltip__surface-animation{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-tooltip{position:fixed;display:none;z-index:9}.mdc-tooltip-wrapper--rich{position:relative}.mdc-tooltip--shown,.mdc-tooltip--showing,.mdc-tooltip--hide{display:inline-flex}.mdc-tooltip--shown.mdc-tooltip--rich,.mdc-tooltip--showing.mdc-tooltip--rich,.mdc-tooltip--hide.mdc-tooltip--rich{display:inline-block;left:-320px;position:absolute}.mdc-tooltip__surface{line-height:16px;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center}.mdc-tooltip__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-tooltip__surface::before{border-color:CanvasText}}.mdc-tooltip--rich .mdc-tooltip__surface{align-items:flex-start;display:flex;flex-direction:column;min-height:24px;min-width:40px;max-width:320px;position:relative}.mdc-tooltip--multiline .mdc-tooltip__surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mdc-tooltip__surface,.mdc-tooltip--multiline .mdc-tooltip__surface[dir=rtl]{text-align:right}.mdc-tooltip__surface .mdc-tooltip__title{margin:0 8px}.mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(200px - 2*8px);margin:8px;text-align:left}[dir=rtl] .mdc-tooltip__surface .mdc-tooltip__content,.mdc-tooltip__surface .mdc-tooltip__content[dir=rtl]{text-align:right}.mdc-tooltip--rich .mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(320px - 2*8px);align-self:stretch}.mdc-tooltip__surface .mdc-tooltip__content-link{text-decoration:none}.mdc-tooltip--rich-actions,.mdc-tooltip__content,.mdc-tooltip__title{z-index:1}.mdc-tooltip__surface-animation{opacity:0;transform:scale(0.8);will-change:transform,opacity}.mdc-tooltip--shown .mdc-tooltip__surface-animation{transform:scale(1);opacity:1}.mdc-tooltip--hide .mdc-tooltip__surface-animation{transform:scale(1)}.mdc-tooltip__caret-surface-top,.mdc-tooltip__caret-surface-bottom{position:absolute;height:24px;width:24px;transform:rotate(35deg) skewY(20deg) scaleX(0.9396926208)}.mdc-tooltip__caret-surface-top .mdc-elevation-overlay,.mdc-tooltip__caret-surface-bottom .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-tooltip__caret-surface-bottom{box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);outline:1px solid rgba(0,0,0,0);z-index:-1}@media screen and (forced-colors: active){.mdc-tooltip__caret-surface-bottom{outline-color:CanvasText}}.mat-mdc-tooltip .mdc-tooltip__surface{background-color:var(--mdc-plain-tooltip-container-color)}.mat-mdc-tooltip .mdc-tooltip__surface{border-radius:var(--mdc-plain-tooltip-container-shape)}.mat-mdc-tooltip .mdc-tooltip__caret-surface-top,.mat-mdc-tooltip .mdc-tooltip__caret-surface-bottom{border-radius:var(--mdc-plain-tooltip-container-shape)}.mat-mdc-tooltip .mdc-tooltip__surface{color:var(--mdc-plain-tooltip-supporting-text-color)}.mat-mdc-tooltip .mdc-tooltip__surface{font-family:var(--mdc-plain-tooltip-supporting-text-font);line-height:var(--mdc-plain-tooltip-supporting-text-line-height);font-size:var(--mdc-plain-tooltip-supporting-text-size);font-weight:var(--mdc-plain-tooltip-supporting-text-weight);letter-spacing:var(--mdc-plain-tooltip-supporting-text-tracking)}.mat-mdc-tooltip{position:relative;transform:scale(0)}.mat-mdc-tooltip::before{content:"";top:0;right:0;bottom:0;left:0;z-index:-1;position:absolute}.mat-mdc-tooltip-panel-below .mat-mdc-tooltip::before{top:-8px}.mat-mdc-tooltip-panel-above .mat-mdc-tooltip::before{bottom:-8px}.mat-mdc-tooltip-panel-right .mat-mdc-tooltip::before{left:-8px}.mat-mdc-tooltip-panel-left .mat-mdc-tooltip::before{right:-8px}.mat-mdc-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.mat-mdc-tooltip-panel.mat-mdc-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-mdc-tooltip-show{0%{opacity:0;transform:scale(0.8)}100%{opacity:1;transform:scale(1)}}@keyframes mat-mdc-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(0.8)}}.mat-mdc-tooltip-show{animation:mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-mdc-tooltip-hide{animation:mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards}'],encapsulation:2,changeDetection:0})}return t})(),r7=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=De({type:t});static#n=this.\u0275inj=ve({providers:[Q9],imports:[hS,Du,lc,lt,lt,Mh]})}return t})();const s7=["knob"],a7=["valueIndicatorContainer"];function l7(t,n){if(1&t&&(g(0,"div",2,1)(2,"div",5)(3,"span",6),x(4),b()()()),2&t){const e=w();v(4),zn(e.valueIndicatorText)}}const c7=["trackActive"],d7=["*"];function u7(t,n){if(1&t&&$(0,"div"),2&t){const e=n.$implicit,i=n.$index,o=w(3);ji(0===e?"mdc-slider__tick-mark--active":"mdc-slider__tick-mark--inactive"),Hi("transform",o._calcTickMarkTransform(i))}}function h7(t,n){1&t&&function LC(t,n,e,i,o,r,s,a,l,c,d,u,h){vi("NgControlFlow");const f=void 0!==l,m=T(),_=a?s.bind(m[ut][Ye]):s,y=new hV(f,_);m[de+t]=y,B(t+1,n,e,i,o,r),f&&B(t+2,l,c,d,u,h)}(0,u7,1,4,"div",8,FC),2&t&&function VC(t){const n=ge(null),e=nn();try{const i=T(),o=i[L],r=i[e];if(void 0===r.liveCollection){const a=e+1,l=$p(i,a),c=Wp(o,a);r.liveCollection=new fV(l,i,c)}else r.liveCollection.reset();const s=r.liveCollection;if(function cV(t,n,e){let i,o,r=0,s=t.length-1;if(Array.isArray(n)){let a=n.length-1;for(;r<=s&&r<=a;){const l=t.at(r),c=n[r],d=zp(r,l,r,c,e);if(0!==d){d<0&&t.updateValue(r,c),r++;continue}const u=t.at(s),h=n[a],f=zp(s,u,a,h,e);if(0!==f){f<0&&t.updateValue(s,h),s--,a--;continue}const m=e(r,l),_=e(s,u),y=e(r,c);if(Object.is(y,_)){const C=e(a,h);Object.is(C,m)?(t.swap(r,s),t.updateValue(s,h),a--,s--):t.move(s,r),t.updateValue(r,c),r++}else if(i??=new NC,o??=OC(t,r,s,e),Up(t,i,r,y))t.updateValue(r,c),r++,s++;else if(o.has(y))i.set(m,t.detach(r)),s--;else{const C=t.create(r,n[r]);t.attach(r,C),r++,s++}}for(;r<=a;)PC(t,i,e,r,n[r]),r++}else if(null!=n){const a=n[Symbol.iterator]();let l=a.next();for(;!l.done&&r<=s;){const c=t.at(r),d=l.value,u=zp(r,c,r,d,e);if(0!==u)u<0&&t.updateValue(r,d),r++,l=a.next();else{i??=new NC,o??=OC(t,r,s,e);const h=e(r,d);if(Up(t,i,r,h))t.updateValue(r,d),r++,s++,l=a.next();else if(o.has(h)){const f=e(r,c);i.set(f,t.detach(r)),s--}else t.attach(r,t.create(r,d)),r++,s++,l=a.next()}}for(;!l.done;)PC(t,i,e,t.length,l.value),l=a.next()}for(;r<=s;)t.destroy(t.detach(s--));i?.forEach(a=>{t.destroy(a)})}(s,t,r.trackByFn),s.updateIndexes(),r.hasEmptyBlock){const a=ei(),l=0===s.length;if(wt(i,a,l)){const c=e+2,d=$p(i,c);if(l){const u=Wp(o,c),h=ps(d,u.tView.ssrId);qa(d,Ga(i,u,void 0,{dehydratedView:h}),0,ms(u,h))}else tp(d,0)}}}finally{ge(n)}}(w(2)._tickMarks)}function f7(t,n){if(1&t&&(g(0,"div",6,1),B(2,h7,2,0),b()),2&t){const e=w();v(2),tt(2,e._cachedWidth?2:-1)}}function m7(t,n){if(1&t&&$(0,"mat-slider-visual-thumb",7),2&t){const e=w();E("discrete",e.discrete)("thumbPosition",1)("valueIndicatorText",e.startValueIndicatorText)}}var ee=function(t){return t[t.START=1]="START",t[t.END=2]="END",t}(ee||{}),ta=function(t){return t[t.ACTIVE=0]="ACTIVE",t[t.INACTIVE=1]="INACTIVE",t}(ta||{});const Nh=new R("_MatSlider"),CA=new R("_MatSliderThumb"),DA=new R("_MatSliderRangeThumb"),EA=new R("_MatSliderVisualThumb");let p7=(()=>{class t{constructor(e,i,o,r){this._cdr=e,this._ngZone=i,this._slider=r,this._isHovered=!1,this._isActive=!1,this._isValueIndicatorVisible=!1,this._platform=F(et),this._onPointerMove=s=>{if(this._sliderInput._isFocused)return;const a=this._hostElement.getBoundingClientRect(),l=this._slider._isCursorOnSliderThumb(s,a);this._isHovered=l,l?this._showHoverRipple():this._hideRipple(this._hoverRippleRef)},this._onMouseLeave=()=>{this._isHovered=!1,this._hideRipple(this._hoverRippleRef)},this._onFocus=()=>{this._hideRipple(this._hoverRippleRef),this._showFocusRipple(),this._hostElement.classList.add("mdc-slider__thumb--focused")},this._onBlur=()=>{this._isActive||this._hideRipple(this._focusRippleRef),this._isHovered&&this._showHoverRipple(),this._hostElement.classList.remove("mdc-slider__thumb--focused")},this._onDragStart=s=>{0===s.button&&(this._isActive=!0,this._showActiveRipple())},this._onDragEnd=()=>{this._isActive=!1,this._hideRipple(this._activeRippleRef),this._sliderInput._isFocused||this._hideRipple(this._focusRippleRef),this._platform.SAFARI&&this._showHoverRipple()},this._hostElement=o.nativeElement}ngAfterViewInit(){this._ripple.radius=24,this._sliderInput=this._slider._getInput(this.thumbPosition),this._sliderInputEl=this._sliderInput._hostElement;const e=this._sliderInputEl;this._ngZone.runOutsideAngular(()=>{e.addEventListener("pointermove",this._onPointerMove),e.addEventListener("pointerdown",this._onDragStart),e.addEventListener("pointerup",this._onDragEnd),e.addEventListener("pointerleave",this._onMouseLeave),e.addEventListener("focus",this._onFocus),e.addEventListener("blur",this._onBlur)})}ngOnDestroy(){const e=this._sliderInputEl;e&&(e.removeEventListener("pointermove",this._onPointerMove),e.removeEventListener("pointerdown",this._onDragStart),e.removeEventListener("pointerup",this._onDragEnd),e.removeEventListener("pointerleave",this._onMouseLeave),e.removeEventListener("focus",this._onFocus),e.removeEventListener("blur",this._onBlur))}_showHoverRipple(){this._isShowingRipple(this._hoverRippleRef)||(this._hoverRippleRef=this._showRipple({enterDuration:0,exitDuration:0}),this._hoverRippleRef?.element.classList.add("mat-mdc-slider-hover-ripple"))}_showFocusRipple(){this._isShowingRipple(this._focusRippleRef)||(this._focusRippleRef=this._showRipple({enterDuration:0,exitDuration:0},!0),this._focusRippleRef?.element.classList.add("mat-mdc-slider-focus-ripple"))}_showActiveRipple(){this._isShowingRipple(this._activeRippleRef)||(this._activeRippleRef=this._showRipple({enterDuration:225,exitDuration:400}),this._activeRippleRef?.element.classList.add("mat-mdc-slider-active-ripple"))}_isShowingRipple(e){return e?.state===En.FADING_IN||e?.state===En.VISIBLE}_showRipple(e,i){if(!this._slider.disabled&&(this._showValueIndicator(),this._slider._isRange&&this._slider._getThumb(this.thumbPosition===ee.START?ee.END:ee.START)._showValueIndicator(),!this._slider._globalRippleOptions?.disabled||i))return this._ripple.launch({animation:this._slider._noopAnimations?{enterDuration:0,exitDuration:0}:e,centered:!0,persistent:!0})}_hideRipple(e){if(e?.fadeOut(),this._isShowingAnyRipple())return;this._slider._isRange||this._hideValueIndicator();const i=this._getSibling();i._isShowingAnyRipple()||(this._hideValueIndicator(),i._hideValueIndicator())}_showValueIndicator(){this._hostElement.classList.add("mdc-slider__thumb--with-indicator")}_hideValueIndicator(){this._hostElement.classList.remove("mdc-slider__thumb--with-indicator")}_getSibling(){return this._slider._getThumb(this.thumbPosition===ee.START?ee.END:ee.START)}_getValueIndicatorContainer(){return this._valueIndicatorContainer?.nativeElement}_getKnob(){return this._knob.nativeElement}_isShowingAnyRipple(){return this._isShowingRipple(this._hoverRippleRef)||this._isShowingRipple(this._focusRippleRef)||this._isShowingRipple(this._activeRippleRef)}static#e=this.\u0275fac=function(i){return new(i||t)(p(zt),p(j),p(Y),p(Nh))};static#t=this.\u0275cmp=ae({type:t,selectors:[["mat-slider-visual-thumb"]],viewQuery:function(i,o){if(1&i&&(Ge(Qs,5),Ge(s7,5),Ge(a7,5)),2&i){let r;re(r=se())&&(o._ripple=r.first),re(r=se())&&(o._knob=r.first),re(r=se())&&(o._valueIndicatorContainer=r.first)}},hostAttrs:[1,"mdc-slider__thumb","mat-mdc-slider-visual-thumb"],inputs:{discrete:"discrete",thumbPosition:"thumbPosition",valueIndicatorText:"valueIndicatorText"},standalone:!0,features:[Z([{provide:EA,useExisting:t}]),ze],decls:4,vars:2,consts:[["knob",""],["valueIndicatorContainer",""],[1,"mdc-slider__value-indicator-container"],[1,"mdc-slider__thumb-knob"],["matRipple","",1,"mat-mdc-focus-indicator",3,"matRippleDisabled"],[1,"mdc-slider__value-indicator"],[1,"mdc-slider__value-indicator-text"]],template:function(i,o){1&i&&(B(0,l7,5,1,"div",2),$(1,"div",3,0)(3,"div",4)),2&i&&(tt(0,o.discrete?0:-1),v(3),E("matRippleDisabled",!0))},dependencies:[Qs],styles:[".mat-mdc-slider-visual-thumb .mat-ripple{height:100%;width:100%}.mat-mdc-slider .mdc-slider__tick-marks{justify-content:start}.mat-mdc-slider .mdc-slider__tick-marks .mdc-slider__tick-mark--active,.mat-mdc-slider .mdc-slider__tick-marks .mdc-slider__tick-mark--inactive{position:absolute;left:2px}"],encapsulation:2,changeDetection:0})}return t})(),g7=(()=>{class t{get disabled(){return this._disabled}set disabled(e){this._disabled=e;const i=this._getInput(ee.END),o=this._getInput(ee.START);i&&(i.disabled=this._disabled),o&&(o.disabled=this._disabled)}get discrete(){return this._discrete}set discrete(e){this._discrete=e,this._updateValueIndicatorUIs()}get min(){return this._min}set min(e){const i=isNaN(e)?this._min:e;this._min!==i&&this._updateMin(i)}_updateMin(e){const i=this._min;this._min=e,this._isRange?this._updateMinRange({old:i,new:e}):this._updateMinNonRange(e),this._onMinMaxOrStepChange()}_updateMinRange(e){const i=this._getInput(ee.END),o=this._getInput(ee.START),r=i.value,s=o.value;o.min=e.new,i.min=Math.max(e.new,o.value),o.max=Math.min(i.max,i.value),o._updateWidthInactive(),i._updateWidthInactive(),e.newe.old?this._onTranslateXChangeBySideEffect(o,i):this._onTranslateXChangeBySideEffect(i,o),r!==i.value&&this._onValueChange(i),s!==o.value&&this._onValueChange(o)}_updateMaxNonRange(e){const i=this._getInput(ee.END);if(i){const o=i.value;i.max=e,i._updateThumbUIByValue(),this._updateTrackUI(i),o!==i.value&&this._onValueChange(i)}}get step(){return this._step}set step(e){const i=isNaN(e)?this._step:e;this._step!==i&&this._updateStep(i)}_updateStep(e){this._step=e,this._isRange?this._updateStepRange():this._updateStepNonRange(),this._onMinMaxOrStepChange()}_updateStepRange(){const e=this._getInput(ee.END),i=this._getInput(ee.START),o=e.value,r=i.value,s=i.value;e.min=this._min,i.max=this._max,e.step=this._step,i.step=this._step,this._platform.SAFARI&&(e.value=e.value,i.value=i.value),e.min=Math.max(this._min,i.value),i.max=Math.min(this._max,e.value),i._updateWidthInactive(),e._updateWidthInactive(),e.value`${l}`,this._rippleRadius=24,this.startValueIndicatorText="",this.endValueIndicatorText="",this._isRange=!1,this._isRtl=!1,this._hasViewInitialized=!1,this._tickMarkTrackWidth=0,this._hasAnimation=!1,this._resizeTimer=null,this._platform=F(et),this._knobRadius=8,this._thumbsOverlap=!1,this._noopAnimations="NoopAnimations"===a,this._dirChangeSubscription=this._dir.change.subscribe(()=>this._onDirChange()),this._isRtl="rtl"===this._dir.value}ngAfterViewInit(){this._platform.isBrowser&&this._updateDimensions();const e=this._getInput(ee.END),i=this._getInput(ee.START);this._isRange=!!e&&!!i,this._cdr.detectChanges();const o=this._getThumb(ee.END);this._rippleRadius=o._ripple.radius,this._inputPadding=this._rippleRadius-this._knobRadius,this._isRange?this._initUIRange(e,i):this._initUINonRange(e),this._updateTrackUI(e),this._updateTickMarkUI(),this._updateTickMarkTrackUI(),this._observeHostResize(),this._cdr.detectChanges()}_initUINonRange(e){e.initProps(),e.initUI(),this._updateValueIndicatorUI(e),this._hasViewInitialized=!0,e._updateThumbUIByValue()}_initUIRange(e,i){e.initProps(),e.initUI(),i.initProps(),i.initUI(),e._updateMinMax(),i._updateMinMax(),e._updateStaticStyles(),i._updateStaticStyles(),this._updateValueIndicatorUIs(),this._hasViewInitialized=!0,e._updateThumbUIByValue(),i._updateThumbUIByValue()}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._resizeObserver?.disconnect(),this._resizeObserver=null}_onDirChange(){this._isRtl="rtl"===this._dir.value,this._isRange?this._onDirChangeRange():this._onDirChangeNonRange(),this._updateTickMarkUI()}_onDirChangeRange(){const e=this._getInput(ee.END),i=this._getInput(ee.START);e._setIsLeftThumb(),i._setIsLeftThumb(),e.translateX=e._calcTranslateXByValue(),i.translateX=i._calcTranslateXByValue(),e._updateStaticStyles(),i._updateStaticStyles(),e._updateWidthInactive(),i._updateWidthInactive(),e._updateThumbUIByValue(),i._updateThumbUIByValue()}_onDirChangeNonRange(){this._getInput(ee.END)._updateThumbUIByValue()}_observeHostResize(){typeof ResizeObserver>"u"||!ResizeObserver||this._ngZone.runOutsideAngular(()=>{this._resizeObserver=new ResizeObserver(()=>{this._isActive()||(this._resizeTimer&&clearTimeout(this._resizeTimer),this._onResize())}),this._resizeObserver.observe(this._elementRef.nativeElement)})}_isActive(){return this._getThumb(ee.START)._isActive||this._getThumb(ee.END)._isActive}_getValue(e=ee.END){const i=this._getInput(e);return i?i.value:this.min}_skipUpdate(){return!(!this._getInput(ee.START)?._skipUIUpdate&&!this._getInput(ee.END)?._skipUIUpdate)}_updateDimensions(){this._cachedWidth=this._elementRef.nativeElement.offsetWidth,this._cachedLeft=this._elementRef.nativeElement.getBoundingClientRect().left}_setTrackActiveStyles(e){const i=this._trackActive.nativeElement.style;i.left=e.left,i.right=e.right,i.transformOrigin=e.transformOrigin,i.transform=e.transform}_calcTickMarkTransform(e){return`translateX(${e*(this._tickMarkTrackWidth/(this._tickMarks.length-1))}px`}_onTranslateXChange(e){this._hasViewInitialized&&(this._updateThumbUI(e),this._updateTrackUI(e),this._updateOverlappingThumbUI(e))}_onTranslateXChangeBySideEffect(e,i){this._hasViewInitialized&&(e._updateThumbUIByValue(),i._updateThumbUIByValue())}_onValueChange(e){this._hasViewInitialized&&(this._updateValueIndicatorUI(e),this._updateTickMarkUI(),this._cdr.detectChanges())}_onMinMaxOrStepChange(){this._hasViewInitialized&&(this._updateTickMarkUI(),this._updateTickMarkTrackUI(),this._cdr.markForCheck())}_onResize(){if(this._hasViewInitialized){if(this._updateDimensions(),this._isRange){const e=this._getInput(ee.END),i=this._getInput(ee.START);e._updateThumbUIByValue(),i._updateThumbUIByValue(),e._updateStaticStyles(),i._updateStaticStyles(),e._updateMinMax(),i._updateMinMax(),e._updateWidthInactive(),i._updateWidthInactive()}else{const e=this._getInput(ee.END);e&&e._updateThumbUIByValue()}this._updateTickMarkUI(),this._updateTickMarkTrackUI(),this._cdr.detectChanges()}}_areThumbsOverlapping(){const e=this._getInput(ee.START),i=this._getInput(ee.END);return!(!e||!i)&&i.translateX-e.translateX<20}_updateOverlappingThumbClassNames(e){const i=e.getSibling(),o=this._getThumb(e.thumbPosition);this._getThumb(i.thumbPosition)._hostElement.classList.remove("mdc-slider__thumb--top"),o._hostElement.classList.toggle("mdc-slider__thumb--top",this._thumbsOverlap)}_updateOverlappingThumbUI(e){!this._isRange||this._skipUpdate()||this._thumbsOverlap!==this._areThumbsOverlapping()&&(this._thumbsOverlap=!this._thumbsOverlap,this._updateOverlappingThumbClassNames(e))}_updateThumbUI(e){this._skipUpdate()||(this._getThumb(e.thumbPosition===ee.END?ee.END:ee.START)._hostElement.style.transform=`translateX(${e.translateX}px)`)}_updateValueIndicatorUI(e){if(this._skipUpdate())return;const i=this.displayWith(e.value);if(this._hasViewInitialized?e._valuetext.set(i):e._hostElement.setAttribute("aria-valuetext",i),this.discrete){e.thumbPosition===ee.START?this.startValueIndicatorText=i:this.endValueIndicatorText=i;const o=this._getThumb(e.thumbPosition);i.length<3?o._hostElement.classList.add("mdc-slider__thumb--short-value"):o._hostElement.classList.remove("mdc-slider__thumb--short-value")}}_updateValueIndicatorUIs(){const e=this._getInput(ee.END),i=this._getInput(ee.START);e&&this._updateValueIndicatorUI(e),i&&this._updateValueIndicatorUI(i)}_updateTickMarkTrackUI(){if(!this.showTickMarks||this._skipUpdate())return;const e=this._step&&this._step>0?this._step:1,o=(Math.floor(this.max/e)*e-this.min)/(this.max-this.min);this._tickMarkTrackWidth=this._cachedWidth*o-6}_updateTrackUI(e){this._skipUpdate()||(this._isRange?this._updateTrackUIRange(e):this._updateTrackUINonRange(e))}_updateTrackUIRange(e){const i=e.getSibling();if(!i||!this._cachedWidth)return;const o=Math.abs(i.translateX-e.translateX)/this._cachedWidth;this._setTrackActiveStyles(e._isLeftThumb&&this._cachedWidth?{left:"auto",right:this._cachedWidth-i.translateX+"px",transformOrigin:"right",transform:`scaleX(${o})`}:{left:`${i.translateX}px`,right:"auto",transformOrigin:"left",transform:`scaleX(${o})`})}_updateTrackUINonRange(e){this._setTrackActiveStyles(this._isRtl?{left:"auto",right:"0px",transformOrigin:"right",transform:`scaleX(${1-e.fillPercentage})`}:{left:"0px",right:"auto",transformOrigin:"left",transform:`scaleX(${e.fillPercentage})`})}_updateTickMarkUI(){if(!this.showTickMarks||void 0===this.step||void 0===this.min||void 0===this.max)return;const e=this.step>0?this.step:1;this._isRange?this._updateTickMarkUIRange(e):this._updateTickMarkUINonRange(e),this._isRtl&&this._tickMarks.reverse()}_updateTickMarkUINonRange(e){const i=this._getValue();let o=Math.max(Math.floor((i-this.min)/e),0),r=Math.max(Math.floor((this.max-i)/e),0);this._isRtl?o++:r++,this._tickMarks=Array(o).fill(ta.ACTIVE).concat(Array(r).fill(ta.INACTIVE))}_updateTickMarkUIRange(e){const i=this._getValue(),o=this._getValue(ee.START),r=Math.max(Math.floor((o-this.min)/e),0),s=Math.max(Math.floor((i-o)/e)+1,0),a=Math.max(Math.floor((this.max-i)/e),0);this._tickMarks=Array(r).fill(ta.INACTIVE).concat(Array(s).fill(ta.ACTIVE),Array(a).fill(ta.INACTIVE))}_getInput(e){return e===ee.END&&this._input?this._input:this._inputs?.length?e===ee.START?this._inputs.first:this._inputs.last:void 0}_getThumb(e){return e===ee.END?this._thumbs?.last:this._thumbs?.first}_setTransition(e){this._hasAnimation=!this._platform.IOS&&e&&!this._noopAnimations,this._elementRef.nativeElement.classList.toggle("mat-mdc-slider-with-animation",this._hasAnimation)}_isCursorOnSliderThumb(e,i){const o=i.width/2,l=e.clientY-(i.y+o);return Math.pow(e.clientX-(i.x+o),2)+Math.pow(l,2)Lb),multi:!0};let Lb=(()=>{class t{get value(){return zi(this._hostElement.value,0)}set value(e){const i=(e=isNaN(e)?0:e)+"";this._hasSetInitialValue?this._isActive||this._setValue(i):this._initialValue=i}_setValue(e){this._hostElement.value=e,this._updateThumbUIByValue(),this._slider._onValueChange(this),this._cdr.detectChanges(),this._slider._cdr.markForCheck()}get translateX(){return this._slider.min>=this._slider.max?(this._translateX=this._tickMarkOffset,this._translateX):(void 0===this._translateX&&(this._translateX=this._calcTranslateXByValue()),this._translateX)}set translateX(e){this._translateX=e}get min(){return zi(this._hostElement.min,0)}set min(e){this._hostElement.min=e+"",this._cdr.detectChanges()}get max(){return zi(this._hostElement.max,0)}set max(e){this._hostElement.max=e+"",this._cdr.detectChanges()}get step(){return zi(this._hostElement.step,0)}set step(e){this._hostElement.step=e+"",this._cdr.detectChanges()}get disabled(){return Ie(this._hostElement.disabled)}set disabled(e){this._hostElement.disabled=e,this._cdr.detectChanges(),this._slider.disabled!==this.disabled&&(this._slider.disabled=this.disabled)}get percentage(){return this._slider.min>=this._slider.max?this._slider._isRtl?1:0:(this.value-this._slider.min)/(this._slider.max-this._slider.min)}get fillPercentage(){return this._slider._cachedWidth?0===this._translateX?0:this.translateX/this._slider._cachedWidth:this._slider._isRtl?1:0}_setIsFocused(e){this._isFocused=e}constructor(e,i,o,r){this._ngZone=e,this._elementRef=i,this._cdr=o,this._slider=r,this.valueChange=new J,this.dragStart=new J,this.dragEnd=new J,this.thumbPosition=ee.END,this._valuetext=C0(""),this._knobRadius=8,this._tickMarkOffset=3,this._isActive=!1,this._isFocused=!1,this._hasSetInitialValue=!1,this._destroyed=new G,this._skipUIUpdate=!1,this._onTouchedFn=()=>{},this._isControlInitialized=!1,this._platform=F(et),this._hostElement=i.nativeElement,this._ngZone.runOutsideAngular(()=>{this._hostElement.addEventListener("pointerdown",this._onPointerDown.bind(this)),this._hostElement.addEventListener("pointermove",this._onPointerMove.bind(this)),this._hostElement.addEventListener("pointerup",this._onPointerUp.bind(this))})}ngOnDestroy(){this._hostElement.removeEventListener("pointerdown",this._onPointerDown),this._hostElement.removeEventListener("pointermove",this._onPointerMove),this._hostElement.removeEventListener("pointerup",this._onPointerUp),this._destroyed.next(),this._destroyed.complete(),this.dragStart.complete(),this.dragEnd.complete()}initProps(){this._updateWidthInactive(),this.disabled!==this._slider.disabled&&(this._slider.disabled=!0),this.step=this._slider.step,this.min=this._slider.min,this.max=this._slider.max,this._initValue()}initUI(){this._updateThumbUIByValue()}_initValue(){this._hasSetInitialValue=!0,void 0===this._initialValue?this.value=this._getDefaultValue():(this._hostElement.value=this._initialValue,this._updateThumbUIByValue(),this._slider._onValueChange(this),this._cdr.detectChanges())}_getDefaultValue(){return this.min}_onBlur(){this._setIsFocused(!1),this._onTouchedFn()}_onFocus(){this._slider._setTransition(!1),this._slider._updateTrackUI(this),this._setIsFocused(!0)}_onChange(){this.valueChange.emit(this.value),this._isActive&&this._updateThumbUIByValue({withAnimation:!0})}_onInput(){this._onChangeFn?.(this.value),(this._slider.step||!this._isActive)&&this._updateThumbUIByValue({withAnimation:!0}),this._slider._onValueChange(this)}_onNgControlValueChange(){(!this._isActive||!this._isFocused)&&(this._slider._onValueChange(this),this._updateThumbUIByValue()),this._slider.disabled=this._formControl.disabled}_onPointerDown(e){if(!this.disabled&&0===e.button){if(this._platform.IOS){const i=this._slider._isCursorOnSliderThumb(e,this._slider._getThumb(this.thumbPosition)._hostElement.getBoundingClientRect());return this._isActive=i,this._updateWidthActive(),void this._slider._updateDimensions()}this._isActive=!0,this._setIsFocused(!0),this._updateWidthActive(),this._slider._updateDimensions(),this._slider.step||this._updateThumbUIByPointerEvent(e,{withAnimation:!0}),this.disabled||(this._handleValueCorrection(e),this.dragStart.emit({source:this,parent:this._slider,value:this.value}))}}_handleValueCorrection(e){this._skipUIUpdate=!0,setTimeout(()=>{this._skipUIUpdate=!1,this._fixValue(e)},0)}_fixValue(e){const i=e.clientX-this._slider._cachedLeft,o=this._slider._cachedWidth,r=0===this._slider.step?1:this._slider.step,s=Math.floor((this._slider.max-this._slider.min)/r),c=Math.round((this._slider._isRtl?1-i/o:i/o)*s)/s*(this._slider.max-this._slider.min)+this._slider.min,d=Math.round(c/r)*r;if(d===this.value)return this._slider._onValueChange(this),void(this._slider.step>0?this._updateThumbUIByValue():this._updateThumbUIByPointerEvent(e,{withAnimation:this._slider._hasAnimation}));this.value=d,this.valueChange.emit(this.value),this._onChangeFn?.(this.value),this._slider._onValueChange(this),this._slider.step>0?this._updateThumbUIByValue():this._updateThumbUIByPointerEvent(e,{withAnimation:this._slider._hasAnimation})}_onPointerMove(e){!this._slider.step&&this._isActive&&this._updateThumbUIByPointerEvent(e)}_onPointerUp(){this._isActive&&(this._isActive=!1,this._platform.SAFARI&&this._setIsFocused(!1),this.dragEnd.emit({source:this,parent:this._slider,value:this.value}),setTimeout(()=>this._updateWidthInactive(),this._platform.IOS?10:0))}_clamp(e){const i=this._tickMarkOffset;return Math.max(Math.min(e,this._slider._cachedWidth-this._tickMarkOffset),i)}_calcTranslateXByValue(){return this._slider._isRtl?(1-this.percentage)*(this._slider._cachedWidth-2*this._tickMarkOffset)+this._tickMarkOffset:this.percentage*(this._slider._cachedWidth-2*this._tickMarkOffset)+this._tickMarkOffset}_calcTranslateXByPointerEvent(e){return e.clientX-this._slider._cachedLeft}_updateWidthActive(){}_updateWidthInactive(){this._hostElement.style.padding=`0 ${this._slider._inputPadding}px`,this._hostElement.style.width=`calc(100% + ${this._slider._inputPadding-2*this._tickMarkOffset}px)`,this._hostElement.style.left=`-${this._slider._rippleRadius-this._tickMarkOffset}px`}_updateThumbUIByValue(e){this.translateX=this._clamp(this._calcTranslateXByValue()),this._updateThumbUI(e)}_updateThumbUIByPointerEvent(e,i){this.translateX=this._clamp(this._calcTranslateXByPointerEvent(e)),this._updateThumbUI(i)}_updateThumbUI(e){this._slider._setTransition(!!e?.withAnimation),this._slider._onTranslateXChange(this)}writeValue(e){(this._isControlInitialized||null!==e)&&(this.value=e)}registerOnChange(e){this._onChangeFn=e,this._isControlInitialized=!0}registerOnTouched(e){this._onTouchedFn=e}setDisabledState(e){this.disabled=e}focus(){this._hostElement.focus()}blur(){this._hostElement.blur()}static#e=this.\u0275fac=function(i){return new(i||t)(p(j),p(Y),p(zt),p(Nh))};static#t=this.\u0275dir=O({type:t,selectors:[["input","matSliderThumb",""]],hostAttrs:["type","range",1,"mdc-slider__input"],hostVars:1,hostBindings:function(i,o){1&i&&A("change",function(){return o._onChange()})("input",function(){return o._onInput()})("blur",function(){return o._onBlur()})("focus",function(){return o._onFocus()}),2&i&&W("aria-valuetext",o._valuetext())},inputs:{value:[P.HasDecoratorInputTransform,"value","value",zi]},outputs:{valueChange:"valueChange",dragStart:"dragStart",dragEnd:"dragEnd"},exportAs:["matSliderThumb"],standalone:!0,features:[Z([b7,{provide:CA,useExisting:t}]),rn]})}return t})(),w7=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=De({type:t});static#n=this.\u0275inj=ve({imports:[lt,wb]})}return t})();function x7(t,n){}class Fh{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0,this.closeOnDestroy=!0,this.closeOnOverlayDetachments=!0}}let kA=(()=>{class t extends kh{constructor(e,i,o,r,s,a,l,c){super(),this._elementRef=e,this._focusTrapFactory=i,this._config=r,this._interactivityChecker=s,this._ngZone=a,this._overlayRef=l,this._focusMonitor=c,this._platform=F(et),this._focusTrap=null,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this._ariaLabelledByQueue=[],this._changeDetectorRef=F(zt),this.attachDomPortal=d=>{this._portalOutlet.hasAttached();const u=this._portalOutlet.attachDomPortal(d);return this._contentAttached(),u},this._document=o,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_addAriaLabelledBy(e){this._ariaLabelledByQueue.push(e),this._changeDetectorRef.markForCheck()}_removeAriaLabelledBy(e){const i=this._ariaLabelledByQueue.indexOf(e);i>-1&&(this._ariaLabelledByQueue.splice(i,1),this._changeDetectorRef.markForCheck())}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._restoreFocus()}attachComponentPortal(e){this._portalOutlet.hasAttached();const i=this._portalOutlet.attachComponentPortal(e);return this._contentAttached(),i}attachTemplatePortal(e){this._portalOutlet.hasAttached();const i=this._portalOutlet.attachTemplatePortal(e);return this._contentAttached(),i}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(e,i){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const o=()=>{e.removeEventListener("blur",o),e.removeEventListener("mousedown",o),e.removeAttribute("tabindex")};e.addEventListener("blur",o),e.addEventListener("mousedown",o)})),e.focus(i)}_focusByCssSelector(e,i){let o=this._elementRef.nativeElement.querySelector(e);o&&this._forceFocus(o,i)}_trapFocus(){const e=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||e.focus();break;case!0:case"first-tabbable":this._focusTrap?.focusInitialElementWhenReady().then(i=>{i||this._focusDialogContainer()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus)}}_restoreFocus(){const e=this._config.restoreFocus;let i=null;if("string"==typeof e?i=this._document.querySelector(e):"boolean"==typeof e?i=e?this._elementFocusedBeforeDialogWasOpened:null:e&&(i=e),this._config.restoreFocus&&i&&"function"==typeof i.focus){const o=db(),r=this._elementRef.nativeElement;(!o||o===this._document.body||o===r||r.contains(o))&&(this._focusMonitor?(this._focusMonitor.focusVia(i,this._closeInteractionType),this._closeInteractionType=null):i.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const e=this._elementRef.nativeElement,i=db();return e===i||e.contains(i)}_initializeFocusTrap(){this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=db()))}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}static#e=this.\u0275fac=function(i){return new(i||t)(p(Y),p(aS),p(fe,8),p(Fh),p(gb),p(j),p(Ah),p(wr))};static#t=this.\u0275cmp=ae({type:t,selectors:[["cdk-dialog-container"]],viewQuery:function(i,o){if(1&i&&Ge(rc,7),2&i){let r;re(r=se())&&(o._portalOutlet=r.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(i,o){2&i&&W("id",o._config.id||null)("role",o._config.role)("aria-modal",o._config.ariaModal)("aria-labelledby",o._config.ariaLabel?null:o._ariaLabelledByQueue[0])("aria-label",o._config.ariaLabel)("aria-describedby",o._config.ariaDescribedBy||null)},standalone:!0,features:[z,ze],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(i,o){1&i&&B(0,x7,0,0,"ng-template",0)},dependencies:[rc],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2})}return t})();class Vb{constructor(n,e){this.overlayRef=n,this.config=e,this.closed=new G,this.disableClose=e.disableClose,this.backdropClick=n.backdropClick(),this.keydownEvents=n.keydownEvents(),this.outsidePointerEvents=n.outsidePointerEvents(),this.id=e.id,this.keydownEvents.subscribe(i=>{27===i.keyCode&&!this.disableClose&&!Ql(i)&&(i.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})}),this._detachSubscription=n.detachments().subscribe(()=>{!1!==e.closeOnOverlayDetachments&&this.close()})}close(n,e){if(this.containerInstance){const i=this.closed;this.containerInstance._closeInteractionType=e?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),i.next(n),i.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(n="",e=""){return this.overlayRef.updateSize({width:n,height:e}),this}addPanelClass(n){return this.overlayRef.addPanelClass(n),this}removePanelClass(n){return this.overlayRef.removePanelClass(n),this}}const MA=new R("DialogScrollStrategy",{providedIn:"root",factory:()=>{const t=F(Xt);return()=>t.scrollStrategies.block()}}),C7=new R("DialogData"),D7=new R("DefaultDialogConfig");let k7=0,IA=(()=>{class t{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}constructor(e,i,o,r,s,a){this._overlay=e,this._injector=i,this._defaultOptions=o,this._parentDialog=r,this._overlayContainer=s,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new G,this._afterOpenedAtThisLevel=new G,this._ariaHiddenElements=new Map,this.afterAllClosed=Ju(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Zs(void 0))),this._scrollStrategy=a}open(e,i){(i={...this._defaultOptions||new Fh,...i}).id=i.id||"cdk-dialog-"+k7++,i.id&&this.getDialogById(i.id);const r=this._getOverlayConfig(i),s=this._overlay.create(r),a=new Vb(s,i),l=this._attachContainer(s,a,i);return a.containerInstance=l,this._attachDialogContent(e,a,l,i),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(a),a.closed.subscribe(()=>this._removeOpenDialog(a,!0)),this.afterOpened.next(a),a}closeAll(){Bb(this.openDialogs,e=>e.close())}getDialogById(e){return this.openDialogs.find(i=>i.id===e)}ngOnDestroy(){Bb(this._openDialogsAtThisLevel,e=>{!1===e.config.closeOnDestroy&&this._removeOpenDialog(e,!1)}),Bb(this._openDialogsAtThisLevel,e=>e.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(e){const i=new Th({positionStrategy:e.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:e.scrollStrategy||this._scrollStrategy(),panelClass:e.panelClass,hasBackdrop:e.hasBackdrop,direction:e.direction,minWidth:e.minWidth,minHeight:e.minHeight,maxWidth:e.maxWidth,maxHeight:e.maxHeight,width:e.width,height:e.height,disposeOnNavigation:e.closeOnNavigation});return e.backdropClass&&(i.backdropClass=e.backdropClass),i}_attachContainer(e,i,o){const r=o.injector||o.viewContainerRef?.injector,s=[{provide:Fh,useValue:o},{provide:Vb,useValue:i},{provide:Ah,useValue:e}];let a;o.container?"function"==typeof o.container?a=o.container:(a=o.container.type,s.push(...o.container.providers(o))):a=kA;const l=new ea(a,o.viewContainerRef,at.create({parent:r||this._injector,providers:s}),o.componentFactoryResolver);return e.attach(l).instance}_attachDialogContent(e,i,o,r){if(e instanceof yt){const s=this._createInjector(r,i,o,void 0);let a={$implicit:r.data,dialogRef:i};r.templateContext&&(a={...a,..."function"==typeof r.templateContext?r.templateContext():r.templateContext}),o.attachTemplatePortal(new oc(e,null,a,s))}else{const s=this._createInjector(r,i,o,this._injector),a=o.attachComponentPortal(new ea(e,r.viewContainerRef,s,r.componentFactoryResolver));i.componentRef=a,i.componentInstance=a.instance}}_createInjector(e,i,o,r){const s=e.injector||e.viewContainerRef?.injector,a=[{provide:C7,useValue:e.data},{provide:Vb,useValue:i}];return e.providers&&("function"==typeof e.providers?a.push(...e.providers(i,e,o)):a.push(...e.providers)),e.direction&&(!s||!s.get(Xi,null,{optional:!0}))&&a.push({provide:Xi,useValue:{value:e.direction,change:Tt()}}),at.create({parent:s||r,providers:a})}_removeOpenDialog(e,i){const o=this.openDialogs.indexOf(e);o>-1&&(this.openDialogs.splice(o,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((r,s)=>{r?s.setAttribute("aria-hidden",r):s.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),i&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const e=this._overlayContainer.getContainerElement();if(e.parentElement){const i=e.parentElement.children;for(let o=i.length-1;o>-1;o--){const r=i[o];r!==e&&"SCRIPT"!==r.nodeName&&"STYLE"!==r.nodeName&&!r.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(r,r.getAttribute("aria-hidden")),r.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){const e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}static#e=this.\u0275fac=function(i){return new(i||t)(I(Xt),I(at),I(D7,8),I(t,12),I(Sh),I(MA))};static#t=this.\u0275prov=V({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Bb(t,n){let e=t.length;for(;e--;)n(t[e])}let M7=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=De({type:t});static#n=this.\u0275inj=ve({providers:[IA],imports:[lc,sc,hS,sc]})}return t})();function I7(t,n){}class Hb{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.delayFocusTrap=!0,this.closeOnNavigation=!0}}const jb="mdc-dialog--open",TA="mdc-dialog--opening",SA="mdc-dialog--closing";let AA=(()=>{class t extends kA{constructor(e,i,o,r,s,a,l,c,d){super(e,i,o,r,s,a,l,d),this._animationMode=c,this._animationStateChanged=new J,this._animationsEnabled="NoopAnimations"!==this._animationMode,this._actionSectionCount=0,this._hostElement=this._elementRef.nativeElement,this._enterAnimationDuration=this._animationsEnabled?PA(this._config.enterAnimationDuration)??150:0,this._exitAnimationDuration=this._animationsEnabled?PA(this._config.exitAnimationDuration)??75:0,this._animationTimer=null,this._finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._enterAnimationDuration)},this._finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._exitAnimationDuration})}}_contentAttached(){super._contentAttached(),this._startOpenAnimation()}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(RA,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(TA,jb)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(jb),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(jb),this._animationsEnabled?(this._hostElement.style.setProperty(RA,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(SA)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_updateActionSectionCount(e){this._actionSectionCount+=e,this._changeDetectorRef.markForCheck()}_clearAnimationClasses(){this._hostElement.classList.remove(TA,SA)}_waitForAnimationToComplete(e,i){null!==this._animationTimer&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(i,e)}_requestAnimationFrame(e){this._ngZone.runOutsideAngular(()=>{"function"==typeof requestAnimationFrame?requestAnimationFrame(e):e()})}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(e){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:e})}ngOnDestroy(){super.ngOnDestroy(),null!==this._animationTimer&&clearTimeout(this._animationTimer)}attachComponentPortal(e){const i=super.attachComponentPortal(e);return i.location.nativeElement.classList.add("mat-mdc-dialog-component-host"),i}static#e=this.\u0275fac=function(i){return new(i||t)(p(Y),p(aS),p(fe,8),p(Hb),p(gb),p(j),p(Ah),p(wn,8),p(wr))};static#t=this.\u0275cmp=ae({type:t,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:10,hostBindings:function(i,o){2&i&&(or("id",o._config.id),W("aria-modal",o._config.ariaModal)("role",o._config.role)("aria-labelledby",o._config.ariaLabel?null:o._ariaLabelledByQueue[0])("aria-label",o._config.ariaLabel)("aria-describedby",o._config.ariaDescribedBy||null),xe("_mat-animation-noopable",!o._animationsEnabled)("mat-mdc-dialog-container-with-actions",o._actionSectionCount>0))},standalone:!0,features:[z,ze],decls:3,vars:0,consts:[[1,"mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(i,o){1&i&&(g(0,"div",0)(1,"div",1),B(2,I7,0,0,"ng-template",2),b()())},dependencies:[rc],styles:['.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-dialog,.mdc-dialog__scrim{position:fixed;top:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;width:100%;height:100%}.mdc-dialog{display:none;z-index:var(--mdc-dialog-z-index, 7)}.mdc-dialog .mdc-dialog__content{padding:20px 24px 20px 24px}.mdc-dialog .mdc-dialog__surface{min-width:280px}@media(max-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:calc(100vw - 32px)}}@media(min-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:560px}}.mdc-dialog .mdc-dialog__surface{max-height:calc(100% - 32px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-width:none}@media(max-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px;width:560px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 112px)}}@media(max-width: 720px)and (min-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:560px}}@media(max-width: 720px)and (max-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:calc(100vh - 160px)}}@media(max-width: 720px)and (min-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px}}@media(max-width: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-height: 400px),(max-width: 600px),(min-width: 720px)and (max-height: 400px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{height:100%;max-height:100vh;max-width:100vw;width:100vw;border-radius:0}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{order:-1;left:-12px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__header{padding:0 16px 9px;justify-content:flex-start}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__title{margin-left:calc(16px - 2 * 12px)}}@media(min-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 400px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}.mdc-dialog.mdc-dialog__scrim--hidden .mdc-dialog__scrim{opacity:0}.mdc-dialog__scrim{opacity:0;z-index:-1}.mdc-dialog__container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;opacity:0;pointer-events:none}.mdc-dialog__surface{position:relative;display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;max-width:100%;max-height:100%;pointer-events:auto;overflow-y:auto;outline:0;transform:scale(0.8)}.mdc-dialog__surface .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}[dir=rtl] .mdc-dialog__surface,.mdc-dialog__surface[dir=rtl]{text-align:right}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-dialog__surface{outline:2px solid windowText}}.mdc-dialog__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-dialog__surface::before{border-color:CanvasText}}@media screen and (-ms-high-contrast: active),screen and (-ms-high-contrast: none){.mdc-dialog__surface::before{content:none}}.mdc-dialog__title{display:block;margin-top:0;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:0 24px 9px}.mdc-dialog__title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mdc-dialog__title,.mdc-dialog__title[dir=rtl]{text-align:right}.mdc-dialog--scrollable .mdc-dialog__title{margin-bottom:1px;padding-bottom:15px}.mdc-dialog--fullscreen .mdc-dialog__header{align-items:baseline;border-bottom:1px solid rgba(0,0,0,0);display:inline-flex;justify-content:space-between;padding:0 24px 9px;z-index:1}@media screen and (forced-colors: active){.mdc-dialog--fullscreen .mdc-dialog__header{border-bottom-color:CanvasText}}.mdc-dialog--fullscreen .mdc-dialog__header .mdc-dialog__close{right:-12px}.mdc-dialog--fullscreen .mdc-dialog__title{margin-bottom:0;padding:0;border-bottom:0}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__title{border-bottom:0;margin-bottom:0}.mdc-dialog--fullscreen .mdc-dialog__close{top:5px}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--fullscreen--titleless .mdc-dialog__close{margin-top:4px}.mdc-dialog--fullscreen--titleless.mdc-dialog--scrollable .mdc-dialog__close{margin-top:0}.mdc-dialog__content{flex-grow:1;box-sizing:border-box;margin:0;overflow:auto}.mdc-dialog__content>:first-child{margin-top:0}.mdc-dialog__content>:last-child{margin-bottom:0}.mdc-dialog__title+.mdc-dialog__content,.mdc-dialog__header+.mdc-dialog__content{padding-top:0}.mdc-dialog--scrollable .mdc-dialog__title+.mdc-dialog__content{padding-top:8px;padding-bottom:8px}.mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:6px 0 0}.mdc-dialog--scrollable .mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:0}.mdc-dialog__actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--stacked .mdc-dialog__actions{flex-direction:column;align-items:flex-end}.mdc-dialog__button{margin-left:8px;margin-right:0;max-width:100%;text-align:right}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{margin-left:0;margin-right:8px}.mdc-dialog__button:first-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button:first-child,.mdc-dialog__button:first-child[dir=rtl]{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{text-align:left}.mdc-dialog--stacked .mdc-dialog__button:not(:first-child){margin-top:12px}.mdc-dialog--open,.mdc-dialog--opening,.mdc-dialog--closing{display:flex}.mdc-dialog--opening .mdc-dialog__scrim{transition:opacity 150ms linear}.mdc-dialog--opening .mdc-dialog__container{transition:opacity 75ms linear,transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-dialog--closing .mdc-dialog__scrim,.mdc-dialog--closing .mdc-dialog__container{transition:opacity 75ms linear}.mdc-dialog--closing .mdc-dialog__container{transform:none}.mdc-dialog--closing .mdc-dialog__surface{transform:none}.mdc-dialog--open .mdc-dialog__scrim{opacity:1}.mdc-dialog--open .mdc-dialog__container{opacity:1}.mdc-dialog--open .mdc-dialog__surface{transform:none}.mdc-dialog--open.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim{opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{transition:opacity 75ms linear}.mdc-dialog--open.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim{transition:opacity 150ms linear}.mdc-dialog__surface-scrim{display:none;opacity:0;position:absolute;width:100%;height:100%;z-index:1}.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{display:block}.mdc-dialog-scroll-lock{overflow:hidden}.mdc-dialog--no-content-padding .mdc-dialog__content{padding:0}.mdc-dialog--sheet .mdc-dialog__container .mdc-dialog__close{right:12px;top:9px;position:absolute;z-index:1}.mdc-dialog__scrim--removed{pointer-events:none}.mdc-dialog__scrim--removed .mdc-dialog__scrim,.mdc-dialog__scrim--removed .mdc-dialog__surface-scrim{display:none}.mat-mdc-dialog-content{max-height:65vh}.mat-mdc-dialog-container{position:static;display:block}.mat-mdc-dialog-container,.mat-mdc-dialog-container .mdc-dialog__container,.mat-mdc-dialog-container .mdc-dialog__surface{max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mat-mdc-dialog-container .mdc-dialog__surface{width:100%;height:100%}.mat-mdc-dialog-component-host{display:contents}.mat-mdc-dialog-container{--mdc-dialog-container-elevation: var(--mdc-dialog-container-elevation-shadow);outline:0}.mat-mdc-dialog-container .mdc-dialog__surface{background-color:var(--mdc-dialog-container-color, white)}.mat-mdc-dialog-container .mdc-dialog__surface{box-shadow:var(--mdc-dialog-container-elevation, 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12))}.mat-mdc-dialog-container .mdc-dialog__surface{border-radius:var(--mdc-dialog-container-shape, 4px)}.mat-mdc-dialog-container .mdc-dialog__title{font-family:var(--mdc-dialog-subhead-font, Roboto, sans-serif);line-height:var(--mdc-dialog-subhead-line-height, 1.5rem);font-size:var(--mdc-dialog-subhead-size, 1rem);font-weight:var(--mdc-dialog-subhead-weight, 400);letter-spacing:var(--mdc-dialog-subhead-tracking, 0.03125em)}.mat-mdc-dialog-container .mdc-dialog__title{color:var(--mdc-dialog-subhead-color, rgba(0, 0, 0, 0.87))}.mat-mdc-dialog-container .mdc-dialog__content{font-family:var(--mdc-dialog-supporting-text-font, Roboto, sans-serif);line-height:var(--mdc-dialog-supporting-text-line-height, 1.5rem);font-size:var(--mdc-dialog-supporting-text-size, 1rem);font-weight:var(--mdc-dialog-supporting-text-weight, 400);letter-spacing:var(--mdc-dialog-supporting-text-tracking, 0.03125em)}.mat-mdc-dialog-container .mdc-dialog__content{color:var(--mdc-dialog-supporting-text-color, rgba(0, 0, 0, 0.6))}.mat-mdc-dialog-container .mdc-dialog__container{transition:opacity linear var(--mat-dialog-transition-duration, 0ms)}.mat-mdc-dialog-container .mdc-dialog__surface{transition:transform var(--mat-dialog-transition-duration, 0ms) 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-dialog-container._mat-animation-noopable .mdc-dialog__container,.mat-mdc-dialog-container._mat-animation-noopable .mdc-dialog__surface{transition:none}.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-max-width, 80vw);min-width:var(--mat-dialog-container-min-width, 0)}@media(max-width: 599px){.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-small-max-width, 80vw)}}.mat-mdc-dialog-title{padding:var(--mat-dialog-headline-padding, 0 24px 9px)}.mat-mdc-dialog-content{display:block}.mat-mdc-dialog-container .mat-mdc-dialog-content{padding:var(--mat-dialog-content-padding, 20px 24px)}.mat-mdc-dialog-container-with-actions .mat-mdc-dialog-content{padding:var(--mat-dialog-with-actions-content-padding, 20px 24px)}.mat-mdc-dialog-container .mat-mdc-dialog-title+.mat-mdc-dialog-content{padding-top:0}.mat-mdc-dialog-actions{padding:var(--mat-dialog-actions-padding, 8px);justify-content:var(--mat-dialog-actions-alignment, start)}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-start,.mat-mdc-dialog-actions[align=start]{justify-content:start}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center,.mat-mdc-dialog-actions[align=center]{justify-content:center}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end,.mat-mdc-dialog-actions[align=end]{justify-content:flex-end}.mat-mdc-dialog-actions .mat-button-base+.mat-button-base,.mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-mdc-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}'],encapsulation:2})}return t})();const RA="--mat-dialog-transition-duration";function PA(t){return null==t?null:"number"==typeof t?t:t.endsWith("ms")?lh(t.substring(0,t.length-2)):t.endsWith("s")?1e3*lh(t.substring(0,t.length-1)):"0"===t?0:null}var Lh=function(t){return t[t.OPEN=0]="OPEN",t[t.CLOSING=1]="CLOSING",t[t.CLOSED=2]="CLOSED",t}(Lh||{});class Zi{constructor(n,e,i){this._ref=n,this._containerInstance=i,this._afterOpened=new G,this._beforeClosed=new G,this._state=Lh.OPEN,this.disableClose=e.disableClose,this.id=n.id,n.addPanelClass("mat-mdc-dialog-panel"),i._animationStateChanged.pipe(Bt(o=>"opened"===o.state),Et(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),i._animationStateChanged.pipe(Bt(o=>"closed"===o.state),Et(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),n.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),ai(this.backdropClick(),this.keydownEvents().pipe(Bt(o=>27===o.keyCode&&!this.disableClose&&!Ql(o)))).subscribe(o=>{this.disableClose||(o.preventDefault(),function OA(t,n,e){return t._closeInteractionType=n,t.close(e)}(this,"keydown"===o.type?"keyboard":"mouse"))})}close(n){this._result=n,this._containerInstance._animationStateChanged.pipe(Bt(e=>"closing"===e.state),Et(1)).subscribe(e=>{this._beforeClosed.next(n),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),e.totalTime+100)}),this._state=Lh.CLOSING,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(n){let e=this._ref.config.positionStrategy;return n&&(n.left||n.right)?n.left?e.left(n.left):e.right(n.right):e.centerHorizontally(),n&&(n.top||n.bottom)?n.top?e.top(n.top):e.bottom(n.bottom):e.centerVertically(),this._ref.updatePosition(),this}updateSize(n="",e=""){return this._ref.updateSize(n,e),this}addPanelClass(n){return this._ref.addPanelClass(n),this}removePanelClass(n){return this._ref.removePanelClass(n),this}getState(){return this._state}_finishDialogClose(){this._state=Lh.CLOSED,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}}const na=new R("MatMdcDialogData"),A7=new R("mat-mdc-dialog-default-options"),NA=new R("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:()=>{const t=F(Xt);return()=>t.scrollStrategies.block()}});let P7=0,Ki=(()=>{class t{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}constructor(e,i,o,r,s,a,l,c){this._overlay=e,this._defaultOptions=r,this._scrollStrategy=s,this._parentDialog=a,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new G,this._afterOpenedAtThisLevel=new G,this.dialogConfigClass=Hb,this.afterAllClosed=Ju(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Zs(void 0))),this._dialog=i.get(IA),this._dialogRefConstructor=Zi,this._dialogContainerType=AA,this._dialogDataToken=na}open(e,i){let o;(i={...this._defaultOptions||new Hb,...i}).id=i.id||"mat-mdc-dialog-"+P7++,i.scrollStrategy=i.scrollStrategy||this._scrollStrategy();const r=this._dialog.open(e,{...i,positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:i},{provide:Fh,useValue:i}]},templateContext:()=>({dialogRef:o}),providers:(s,a,l)=>(o=new this._dialogRefConstructor(s,i,l),o.updatePosition(i?.position),[{provide:this._dialogContainerType,useValue:l},{provide:this._dialogDataToken,useValue:a.data},{provide:this._dialogRefConstructor,useValue:o}])});return o.componentRef=r.componentRef,o.componentInstance=r.componentInstance,this.openDialogs.push(o),this.afterOpened.next(o),o.afterClosed().subscribe(()=>{const s=this.openDialogs.indexOf(o);s>-1&&(this.openDialogs.splice(s,1),this.openDialogs.length||this._getAfterAllClosed().next())}),o}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(e){return this.openDialogs.find(i=>i.id===e)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(e){let i=e.length;for(;i--;)e[i].close()}static#e=this.\u0275fac=function(i){return new(i||t)(I(Xt),I(at),I(xg,8),I(A7,8),I(NA),I(t,12),I(Sh),I(wn,8))};static#t=this.\u0275prov=V({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),O7=0,FA=(()=>{class t{constructor(e,i,o){this._dialogRef=e,this._elementRef=i,this._dialog=o}ngOnInit(){this._dialogRef||(this._dialogRef=function LA(t,n){let e=t.nativeElement.parentElement;for(;e&&!e.classList.contains("mat-mdc-dialog-container");)e=e.parentElement;return e?n.find(i=>i.id===e.id):null}(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{this._onAdd()})}ngOnDestroy(){this._dialogRef?._containerInstance&&Promise.resolve().then(()=>{this._onRemove()})}static#e=this.\u0275fac=function(i){return new(i||t)(p(Zi,8),p(Y),p(Ki))};static#t=this.\u0275dir=O({type:t,standalone:!0})}return t})(),kr=(()=>{class t extends FA{constructor(){super(...arguments),this.id="mat-mdc-dialog-title-"+O7++}_onAdd(){this._dialogRef._containerInstance?._addAriaLabelledBy?.(this.id)}_onRemove(){this._dialogRef?._containerInstance?._removeAriaLabelledBy?.(this.id)}static#e=this.\u0275fac=(()=>{let e;return function(o){return(e||(e=we(t)))(o||t)}})();static#t=this.\u0275dir=O({type:t,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function(i,o){2&i&&or("id",o.id)},inputs:{id:"id"},exportAs:["matDialogTitle"],standalone:!0,features:[z]})}return t})(),Mr=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275dir=O({type:t,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"],standalone:!0})}return t})(),Ir=(()=>{class t extends FA{_onAdd(){this._dialogRef._containerInstance?._updateActionSectionCount?.(1)}_onRemove(){this._dialogRef._containerInstance?._updateActionSectionCount?.(-1)}static#e=this.\u0275fac=(()=>{let e;return function(o){return(e||(e=we(t)))(o||t)}})();static#t=this.\u0275dir=O({type:t,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-mdc-dialog-actions","mdc-dialog__actions"],hostVars:6,hostBindings:function(i,o){2&i&&xe("mat-mdc-dialog-actions-align-start","start"===o.align)("mat-mdc-dialog-actions-align-center","center"===o.align)("mat-mdc-dialog-actions-align-end","end"===o.align)},inputs:{align:"align"},standalone:!0,features:[z]})}return t})();let F7=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=De({type:t});static#n=this.\u0275inj=ve({providers:[Ki],imports:[M7,lc,sc,lt,lt]})}return t})();class HA{}function zb(t){return t&&"function"==typeof t.connect&&!(t instanceof lT)}var Qi=function(t){return t[t.REPLACED=0]="REPLACED",t[t.INSERTED=1]="INSERTED",t[t.MOVED=2]="MOVED",t[t.REMOVED=3]="REMOVED",t}(Qi||{});const dc=new R("_ViewRepeater");class jA{applyChanges(n,e,i,o,r){n.forEachOperation((s,a,l)=>{let c,d;if(null==s.previousIndex){const u=i(s,a,l);c=e.createEmbeddedView(u.templateRef,u.context,u.index),d=Qi.INSERTED}else null==l?(e.remove(a),d=Qi.REMOVED):(c=e.get(a),e.move(c,l),d=Qi.MOVED);r&&r({context:c?.context,operation:d,record:s})})}detach(){}}const L7=[[["caption"]],[["colgroup"],["col"]],"*"],V7=["caption","colgroup, col","*"];function B7(t,n){1&t&&Ae(0,2)}function H7(t,n){1&t&&(g(0,"thead",0),sn(1,1),b(),g(2,"tbody",0),sn(3,2)(4,3),b(),g(5,"tfoot",0),sn(6,4),b())}function j7(t,n){1&t&&sn(0,1)(1,2)(2,3)(3,4)}const Ti=new R("CDK_TABLE");let ia=(()=>{class t{constructor(e){this.template=e}static#e=this.\u0275fac=function(i){return new(i||t)(p(yt))};static#t=this.\u0275dir=O({type:t,selectors:[["","cdkCellDef",""]],standalone:!0})}return t})(),oa=(()=>{class t{constructor(e){this.template=e}static#e=this.\u0275fac=function(i){return new(i||t)(p(yt))};static#t=this.\u0275dir=O({type:t,selectors:[["","cdkHeaderCellDef",""]],standalone:!0})}return t})(),Vh=(()=>{class t{constructor(e){this.template=e}static#e=this.\u0275fac=function(i){return new(i||t)(p(yt))};static#t=this.\u0275dir=O({type:t,selectors:[["","cdkFooterCellDef",""]],standalone:!0})}return t})(),Ji=(()=>{class t{get name(){return this._name}set name(e){this._setNameInput(e)}get sticky(){return this._sticky}set sticky(e){e!==this._sticky&&(this._sticky=e,this._hasStickyChanged=!0)}get stickyEnd(){return this._stickyEnd}set stickyEnd(e){e!==this._stickyEnd&&(this._stickyEnd=e,this._hasStickyChanged=!0)}constructor(e){this._table=e,this._hasStickyChanged=!1,this._sticky=!1,this._stickyEnd=!1}hasStickyChanged(){const e=this._hasStickyChanged;return this.resetStickyChanged(),e}resetStickyChanged(){this._hasStickyChanged=!1}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(e){e&&(this._name=e,this.cssClassFriendlyName=e.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}static#e=this.\u0275fac=function(i){return new(i||t)(p(Ti,8))};static#t=this.\u0275dir=O({type:t,selectors:[["","cdkColumnDef",""]],contentQueries:function(i,o,r){if(1&i&&(Dt(r,ia,5),Dt(r,oa,5),Dt(r,Vh,5)),2&i){let s;re(s=se())&&(o.cell=s.first),re(s=se())&&(o.headerCell=s.first),re(s=se())&&(o.footerCell=s.first)}},inputs:{name:[P.None,"cdkColumnDef","name"],sticky:[P.HasDecoratorInputTransform,"sticky","sticky",Ie],stickyEnd:[P.HasDecoratorInputTransform,"stickyEnd","stickyEnd",Ie]},standalone:!0,features:[Z([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:t}]),rn]})}return t})();class Ub{constructor(n,e){e.nativeElement.classList.add(...n._columnCssClassName)}}let $b=(()=>{class t extends Ub{constructor(e,i){super(e,i)}static#e=this.\u0275fac=function(i){return new(i||t)(p(Ji),p(Y))};static#t=this.\u0275dir=O({type:t,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],standalone:!0,features:[z]})}return t})(),Wb=(()=>{class t extends Ub{constructor(e,i){super(e,i);const o=e._table?._getCellRole();o&&i.nativeElement.setAttribute("role",o)}static#e=this.\u0275fac=function(i){return new(i||t)(p(Ji),p(Y))};static#t=this.\u0275dir=O({type:t,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],standalone:!0,features:[z]})}return t})();class $A{constructor(){this.tasks=[],this.endTasks=[]}}const Gb=new R("_COALESCED_STYLE_SCHEDULER");let WA=(()=>{class t{constructor(e){this._ngZone=e,this._currentSchedule=null,this._destroyed=new G}schedule(e){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(e)}scheduleEnd(e){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(e)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new $A,this._getScheduleObservable().pipe(it(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){const e=this._currentSchedule;this._currentSchedule=new $A;for(const i of e.tasks)i();for(const i of e.endTasks)i()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?go(Promise.resolve(void 0)):this._ngZone.onStable.pipe(Et(1))}static#e=this.\u0275fac=function(i){return new(i||t)(I(j))};static#t=this.\u0275prov=V({token:t,factory:t.\u0275fac})}return t})(),qb=(()=>{class t{constructor(e,i){this.template=e,this._differs=i}ngOnChanges(e){if(!this._columnsDiffer){const i=e.columns&&e.columns.currentValue||[];this._columnsDiffer=this._differs.find(i).create(),this._columnsDiffer.diff(i)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(e){return this instanceof uc?e.headerCell.template:this instanceof hc?e.footerCell.template:e.cell.template}static#e=this.\u0275fac=function(i){return new(i||t)(p(yt),p(fo))};static#t=this.\u0275dir=O({type:t,features:[Ht]})}return t})(),uc=(()=>{class t extends qb{get sticky(){return this._sticky}set sticky(e){e!==this._sticky&&(this._sticky=e,this._hasStickyChanged=!0)}constructor(e,i,o){super(e,i),this._table=o,this._hasStickyChanged=!1,this._sticky=!1}ngOnChanges(e){super.ngOnChanges(e)}hasStickyChanged(){const e=this._hasStickyChanged;return this.resetStickyChanged(),e}resetStickyChanged(){this._hasStickyChanged=!1}static#e=this.\u0275fac=function(i){return new(i||t)(p(yt),p(fo),p(Ti,8))};static#t=this.\u0275dir=O({type:t,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:[P.None,"cdkHeaderRowDef","columns"],sticky:[P.HasDecoratorInputTransform,"cdkHeaderRowDefSticky","sticky",Ie]},standalone:!0,features:[rn,z,Ht]})}return t})(),hc=(()=>{class t extends qb{get sticky(){return this._sticky}set sticky(e){e!==this._sticky&&(this._sticky=e,this._hasStickyChanged=!0)}constructor(e,i,o){super(e,i),this._table=o,this._hasStickyChanged=!1,this._sticky=!1}ngOnChanges(e){super.ngOnChanges(e)}hasStickyChanged(){const e=this._hasStickyChanged;return this.resetStickyChanged(),e}resetStickyChanged(){this._hasStickyChanged=!1}static#e=this.\u0275fac=function(i){return new(i||t)(p(yt),p(fo),p(Ti,8))};static#t=this.\u0275dir=O({type:t,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:[P.None,"cdkFooterRowDef","columns"],sticky:[P.HasDecoratorInputTransform,"cdkFooterRowDefSticky","sticky",Ie]},standalone:!0,features:[rn,z,Ht]})}return t})(),Bh=(()=>{class t extends qb{constructor(e,i,o){super(e,i),this._table=o}static#e=this.\u0275fac=function(i){return new(i||t)(p(yt),p(fo),p(Ti,8))};static#t=this.\u0275dir=O({type:t,selectors:[["","cdkRowDef",""]],inputs:{columns:[P.None,"cdkRowDefColumns","columns"],when:[P.None,"cdkRowDefWhen","when"]},standalone:!0,features:[z]})}return t})(),eo=(()=>{class t{static#e=this.mostRecentCellOutlet=null;constructor(e){this._viewContainer=e,t.mostRecentCellOutlet=this}ngOnDestroy(){t.mostRecentCellOutlet===this&&(t.mostRecentCellOutlet=null)}static#t=this.\u0275fac=function(i){return new(i||t)(p(Nt))};static#n=this.\u0275dir=O({type:t,selectors:[["","cdkCellOutlet",""]],standalone:!0})}return t})(),Yb=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275cmp=ae({type:t,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],standalone:!0,features:[ze],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(i,o){1&i&&sn(0,0)},dependencies:[eo],encapsulation:2})}return t})(),Zb=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275cmp=ae({type:t,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],standalone:!0,features:[ze],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(i,o){1&i&&sn(0,0)},dependencies:[eo],encapsulation:2})}return t})(),Hh=(()=>{class t{constructor(e){this.templateRef=e,this._contentClassName="cdk-no-data-row"}static#e=this.\u0275fac=function(i){return new(i||t)(p(yt))};static#t=this.\u0275dir=O({type:t,selectors:[["ng-template","cdkNoDataRow",""]],standalone:!0})}return t})();const GA=["top","bottom","left","right"];class W7{constructor(n,e,i,o,r=!0,s=!0,a){this._isNativeHtmlTable=n,this._stickCellCss=e,this.direction=i,this._coalescedStyleScheduler=o,this._isBrowser=r,this._needsPositionStickyOnElement=s,this._positionListener=a,this._cachedCellWidths=[],this._borderCellCss={top:`${e}-border-elem-top`,bottom:`${e}-border-elem-bottom`,left:`${e}-border-elem-left`,right:`${e}-border-elem-right`}}clearStickyPositioning(n,e){const i=[];for(const o of n)if(o.nodeType===o.ELEMENT_NODE){i.push(o);for(let r=0;r{for(const o of i)this._removeStickyStyle(o,e)})}updateStickyColumns(n,e,i,o=!0){n.length&&this._isBrowser&&(e.some(r=>r)||i.some(r=>r))?this._coalescedStyleScheduler.schedule(()=>{const r=n[0],s=r.children.length,a=this._getCellWidths(r,o),l=this._getStickyStartColumnPositions(a,e),c=this._getStickyEndColumnPositions(a,i),d=e.lastIndexOf(!0),u=i.indexOf(!0),h="rtl"===this.direction,f=h?"right":"left",m=h?"left":"right";for(const _ of n)for(let y=0;ye[y]?_:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===u?[]:a.slice(u).map((_,y)=>i[y+u]?_:null).reverse()}))}):this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]}))}stickRows(n,e,i){this._isBrowser&&this._coalescedStyleScheduler.schedule(()=>{const o="bottom"===i?n.slice().reverse():n,r="bottom"===i?e.slice().reverse():e,s=[],a=[],l=[];for(let d=0,u=0;d{const i=n.querySelector("tfoot");i&&(e.some(o=>!o)?this._removeStickyStyle(i,["bottom"]):this._addStickyStyle(i,"bottom",0,!1))})}_removeStickyStyle(n,e){for(const o of e)n.style[o]="",n.classList.remove(this._borderCellCss[o]);GA.some(o=>-1===e.indexOf(o)&&n.style[o])?n.style.zIndex=this._getCalculatedZIndex(n):(n.style.zIndex="",this._needsPositionStickyOnElement&&(n.style.position=""),n.classList.remove(this._stickCellCss))}_addStickyStyle(n,e,i,o){n.classList.add(this._stickCellCss),o&&n.classList.add(this._borderCellCss[e]),n.style[e]=`${i}px`,n.style.zIndex=this._getCalculatedZIndex(n),this._needsPositionStickyOnElement&&(n.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(n){const e={top:100,bottom:10,left:1,right:1};let i=0;for(const o of GA)n.style[o]&&(i+=e[o]);return i?`${i}`:""}_getCellWidths(n,e=!0){if(!e&&this._cachedCellWidths.length)return this._cachedCellWidths;const i=[],o=n.children;for(let r=0;r0;r--)e[r]&&(i[r]=o,o+=n[r]);return i}}const Kb=new R("CDK_SPL");let Qb=(()=>{class t{constructor(e,i){this.viewContainer=e,this.elementRef=i;const o=F(Ti);o._rowOutlet=this,o._outletAssigned()}static#e=this.\u0275fac=function(i){return new(i||t)(p(Nt),p(Y))};static#t=this.\u0275dir=O({type:t,selectors:[["","rowOutlet",""]],standalone:!0})}return t})(),Jb=(()=>{class t{constructor(e,i){this.viewContainer=e,this.elementRef=i;const o=F(Ti);o._headerRowOutlet=this,o._outletAssigned()}static#e=this.\u0275fac=function(i){return new(i||t)(p(Nt),p(Y))};static#t=this.\u0275dir=O({type:t,selectors:[["","headerRowOutlet",""]],standalone:!0})}return t})(),ev=(()=>{class t{constructor(e,i){this.viewContainer=e,this.elementRef=i;const o=F(Ti);o._footerRowOutlet=this,o._outletAssigned()}static#e=this.\u0275fac=function(i){return new(i||t)(p(Nt),p(Y))};static#t=this.\u0275dir=O({type:t,selectors:[["","footerRowOutlet",""]],standalone:!0})}return t})(),tv=(()=>{class t{constructor(e,i){this.viewContainer=e,this.elementRef=i;const o=F(Ti);o._noDataRowOutlet=this,o._outletAssigned()}static#e=this.\u0275fac=function(i){return new(i||t)(p(Nt),p(Y))};static#t=this.\u0275dir=O({type:t,selectors:[["","noDataRowOutlet",""]],standalone:!0})}return t})(),jh=(()=>{class t{_getCellRole(){if(void 0===this._cellRoleInternal){const e=this._elementRef.nativeElement.getAttribute("role"),i="grid"===e||"treegrid"===e?"gridcell":"cell";this._cellRoleInternal=this._isNativeHtmlTable&&"cell"===i?null:i}return this._cellRoleInternal}get trackBy(){return this._trackByFn}set trackBy(e){this._trackByFn=e}get dataSource(){return this._dataSource}set dataSource(e){this._dataSource!==e&&this._switchDataSource(e)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(e){this._multiTemplateDataRows=e,this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(e){this._fixedLayout=e,this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}constructor(e,i,o,r,s,a,l,c,d,u,h,f){this._differs=e,this._changeDetectorRef=i,this._elementRef=o,this._dir=s,this._platform=l,this._viewRepeater=c,this._coalescedStyleScheduler=d,this._viewportRuler=u,this._stickyPositioningListener=h,this._ngZone=f,this._onDestroy=new G,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._customHeaderRowDefs=new Set,this._customFooterRowDefs=new Set,this._headerRowDefChanged=!0,this._footerRowDefChanged=!0,this._stickyColumnStylesNeedReset=!0,this._forceRecalculateCellWidths=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this.needsPositionStickyOnElement=!0,this._isShowingNoDataRow=!1,this._hasAllOutlets=!1,this._hasInitialized=!1,this._cellRoleInternal=void 0,this._multiTemplateDataRows=!1,this._fixedLayout=!1,this.contentChanged=new J,this.viewChange=new Fr({start:0,end:Number.MAX_VALUE}),r||o.nativeElement.setAttribute("role","table"),this._document=a,this._isServer=!l.isBrowser,this._isNativeHtmlTable="TABLE"===o.nativeElement.nodeName}ngOnInit(){this._setupStickyStyler(),this._dataDiffer=this._differs.find([]).create((e,i)=>this.trackBy?this.trackBy(i.dataIndex,i.data):i),this._viewportRuler.change().pipe(it(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentInit(){this._hasInitialized=!0}ngAfterContentChecked(){this._canRender()&&this._render()}ngOnDestroy(){[this._rowOutlet?.viewContainer,this._headerRowOutlet?.viewContainer,this._footerRowOutlet?.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(e=>{e?.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),zb(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();const e=this._dataDiffer.diff(this._renderRows);if(!e)return this._updateNoDataRow(),void this.contentChanged.next();const i=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(e,i,(o,r,s)=>this._getEmbeddedViewArgs(o.item,s),o=>o.item.data,o=>{o.operation===Qi.INSERTED&&o.context&&this._renderCellTemplateForItem(o.record.item.rowDef,o.context)}),this._updateRowIndexContext(),e.forEachIdentityChange(o=>{i.get(o.currentIndex).context.$implicit=o.item.data}),this._updateNoDataRow(),this._ngZone&&j.isInAngularZone()?this._ngZone.onStable.pipe(Et(1),it(this._onDestroy)).subscribe(()=>{this.updateStickyColumnStyles()}):this.updateStickyColumnStyles(),this.contentChanged.next()}addColumnDef(e){this._customColumnDefs.add(e)}removeColumnDef(e){this._customColumnDefs.delete(e)}addRowDef(e){this._customRowDefs.add(e)}removeRowDef(e){this._customRowDefs.delete(e)}addHeaderRowDef(e){this._customHeaderRowDefs.add(e),this._headerRowDefChanged=!0}removeHeaderRowDef(e){this._customHeaderRowDefs.delete(e),this._headerRowDefChanged=!0}addFooterRowDef(e){this._customFooterRowDefs.add(e),this._footerRowDefChanged=!0}removeFooterRowDef(e){this._customFooterRowDefs.delete(e),this._footerRowDefChanged=!0}setNoDataRow(e){this._customNoDataRow=e}updateStickyHeaderRowStyles(){const e=this._getRenderedRows(this._headerRowOutlet);if(this._isNativeHtmlTable){const o=qA(this._headerRowOutlet,"thead");o&&(o.style.display=e.length?"":"none")}const i=this._headerRowDefs.map(o=>o.sticky);this._stickyStyler.clearStickyPositioning(e,["top"]),this._stickyStyler.stickRows(e,i,"top"),this._headerRowDefs.forEach(o=>o.resetStickyChanged())}updateStickyFooterRowStyles(){const e=this._getRenderedRows(this._footerRowOutlet);if(this._isNativeHtmlTable){const o=qA(this._footerRowOutlet,"tfoot");o&&(o.style.display=e.length?"":"none")}const i=this._footerRowDefs.map(o=>o.sticky);this._stickyStyler.clearStickyPositioning(e,["bottom"]),this._stickyStyler.stickRows(e,i,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,i),this._footerRowDefs.forEach(o=>o.resetStickyChanged())}updateStickyColumnStyles(){const e=this._getRenderedRows(this._headerRowOutlet),i=this._getRenderedRows(this._rowOutlet),o=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...e,...i,...o],["left","right"]),this._stickyColumnStylesNeedReset=!1),e.forEach((r,s)=>{this._addStickyColumnStyles([r],this._headerRowDefs[s])}),this._rowDefs.forEach(r=>{const s=[];for(let a=0;a{this._addStickyColumnStyles([r],this._footerRowDefs[s])}),Array.from(this._columnDefsByName.values()).forEach(r=>r.resetStickyChanged())}_outletAssigned(){!this._hasAllOutlets&&this._rowOutlet&&this._headerRowOutlet&&this._footerRowOutlet&&this._noDataRowOutlet&&(this._hasAllOutlets=!0,this._canRender()&&this._render())}_canRender(){return this._hasAllOutlets&&this._hasInitialized}_render(){this._cacheRowDefs(),this._cacheColumnDefs();const i=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||i,this._forceRecalculateCellWidths=i,this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&this.updateStickyColumnStyles(),this._checkStickyStates()}_getAllRenderRows(){const e=[],i=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let o=0;o{const a=o&&o.has(s)?o.get(s):[];if(a.length){const l=a.shift();return l.dataIndex=i,l}return{data:e,rowDef:s,dataIndex:i}})}_cacheColumnDefs(){this._columnDefsByName.clear(),zh(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(i=>{this._columnDefsByName.has(i.name),this._columnDefsByName.set(i.name,i)})}_cacheRowDefs(){this._headerRowDefs=zh(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=zh(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=zh(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const e=this._rowDefs.filter(i=>!i.when);this._defaultRowDef=e[0]}_renderUpdatedColumns(){const e=(s,a)=>s||!!a.getColumnsDiff(),i=this._rowDefs.reduce(e,!1);i&&this._forceRenderDataRows();const o=this._headerRowDefs.reduce(e,!1);o&&this._forceRenderHeaderRows();const r=this._footerRowDefs.reduce(e,!1);return r&&this._forceRenderFooterRows(),i||o||r}_switchDataSource(e){this._data=[],zb(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),e||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet&&this._rowOutlet.viewContainer.clear()),this._dataSource=e}_observeRenderChanges(){if(!this.dataSource)return;let e;zb(this.dataSource)?e=this.dataSource.connect(this):function BA(t){return!!t&&(t instanceof Ue||Ce(t.lift)&&Ce(t.subscribe))}(this.dataSource)?e=this.dataSource:Array.isArray(this.dataSource)&&(e=Tt(this.dataSource)),this._renderChangeSubscription=e.pipe(it(this._onDestroy)).subscribe(i=>{this._data=i||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((e,i)=>this._renderRow(this._headerRowOutlet,e,i)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((e,i)=>this._renderRow(this._footerRowOutlet,e,i)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(e,i){const o=Array.from(i.columns||[]).map(a=>this._columnDefsByName.get(a)),r=o.map(a=>a.sticky),s=o.map(a=>a.stickyEnd);this._stickyStyler.updateStickyColumns(e,r,s,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(e){const i=[];for(let o=0;o!r.when||r.when(i,e));else{let r=this._rowDefs.find(s=>s.when&&s.when(i,e))||this._defaultRowDef;r&&o.push(r)}return o}_getEmbeddedViewArgs(e,i){return{templateRef:e.rowDef.template,context:{$implicit:e.data},index:i}}_renderRow(e,i,o,r={}){const s=e.viewContainer.createEmbeddedView(i.template,r,o);return this._renderCellTemplateForItem(i,r),s}_renderCellTemplateForItem(e,i){for(let o of this._getCellTemplates(e))eo.mostRecentCellOutlet&&eo.mostRecentCellOutlet._viewContainer.createEmbeddedView(o,i);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const e=this._rowOutlet.viewContainer;for(let i=0,o=e.length;i{const o=this._columnDefsByName.get(i);return e.extractCellTemplate(o)}):[]}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const e=(i,o)=>i||o.hasStickyChanged();this._headerRowDefs.reduce(e,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(e,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(e,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){this._stickyStyler=new W7(this._isNativeHtmlTable,this.stickyCssClass,this._dir?this._dir.value:"ltr",this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener),(this._dir?this._dir.change:Tt()).pipe(it(this._onDestroy)).subscribe(i=>{this._stickyStyler.direction=i,this.updateStickyColumnStyles()})}_getOwnDefs(e){return e.filter(i=>!i._table||i._table===this)}_updateNoDataRow(){const e=this._customNoDataRow||this._noDataRow;if(!e)return;const i=0===this._rowOutlet.viewContainer.length;if(i===this._isShowingNoDataRow)return;const o=this._noDataRowOutlet.viewContainer;if(i){const r=o.createEmbeddedView(e.templateRef),s=r.rootNodes[0];1===r.rootNodes.length&&s?.nodeType===this._document.ELEMENT_NODE&&(s.setAttribute("role","row"),s.classList.add(e._contentClassName))}else o.clear();this._isShowingNoDataRow=i,this._changeDetectorRef.markForCheck()}static#e=this.\u0275fac=function(i){return new(i||t)(p(fo),p(zt),p(Y),Go("role"),p(Xi,8),p(fe),p(et),p(dc),p(Gb),p(Ab),p(Kb,12),p(j,8))};static#t=this.\u0275cmp=ae({type:t,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(i,o,r){if(1&i&&(Dt(r,Hh,5),Dt(r,Ji,5),Dt(r,Bh,5),Dt(r,uc,5),Dt(r,hc,5)),2&i){let s;re(s=se())&&(o._noDataRow=s.first),re(s=se())&&(o._contentColumnDefs=s),re(s=se())&&(o._contentRowDefs=s),re(s=se())&&(o._contentHeaderRowDefs=s),re(s=se())&&(o._contentFooterRowDefs=s)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(i,o){2&i&&xe("cdk-table-fixed-layout",o.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:[P.HasDecoratorInputTransform,"multiTemplateDataRows","multiTemplateDataRows",Ie],fixedLayout:[P.HasDecoratorInputTransform,"fixedLayout","fixedLayout",Ie]},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],standalone:!0,features:[Z([{provide:Ti,useExisting:t},{provide:dc,useClass:jA},{provide:Gb,useClass:WA},{provide:Kb,useValue:null}]),rn,ze],ngContentSelectors:V7,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(i,o){1&i&&(an(L7),Ae(0),Ae(1,1),B(2,B7,1,0)(3,H7,7,0)(4,j7,4,0)),2&i&&(v(2),tt(2,o._isServer?2:-1),v(),tt(3,o._isNativeHtmlTable?3:4))},dependencies:[Jb,Qb,tv,ev],styles:[".cdk-table-fixed-layout{table-layout:fixed}"],encapsulation:2})}return t})();function zh(t,n){return t.concat(Array.from(n))}function qA(t,n){const e=n.toUpperCase();let i=t.viewContainer.element.nativeElement;for(;i;){const o=1===i.nodeType?i.nodeName:null;if(o===e)return i;if("TABLE"===o)break;i=i.parentNode}return null}let q7=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=De({type:t});static#n=this.\u0275inj=ve({imports:[Ih]})}return t})();const Y7=[[["caption"]],[["colgroup"],["col"]],"*"],X7=["caption","colgroup, col","*"];function Z7(t,n){1&t&&Ae(0,2)}function K7(t,n){1&t&&(g(0,"thead",0),sn(1,1),b(),g(2,"tbody",2),sn(3,3)(4,4),b(),g(5,"tfoot",0),sn(6,5),b())}function Q7(t,n){1&t&&sn(0,1)(1,3)(2,4)(3,5)}let XA=(()=>{class t extends jh{constructor(){super(...arguments),this.stickyCssClass="mat-mdc-table-sticky",this.needsPositionStickyOnElement=!1}static#e=this.\u0275fac=(()=>{let e;return function(o){return(e||(e=we(t)))(o||t)}})();static#t=this.\u0275cmp=ae({type:t,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-mdc-table","mdc-data-table__table"],hostVars:2,hostBindings:function(i,o){2&i&&xe("mdc-table-fixed-layout",o.fixedLayout)},exportAs:["matTable"],standalone:!0,features:[Z([{provide:jh,useExisting:t},{provide:Ti,useExisting:t},{provide:Gb,useClass:WA},{provide:dc,useClass:jA},{provide:Kb,useValue:null}]),z,ze],ngContentSelectors:X7,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["role","rowgroup",1,"mdc-data-table__content"],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(i,o){1&i&&(an(Y7),Ae(0),Ae(1,1),B(2,Z7,1,0)(3,K7,7,0)(4,Q7,4,0)),2&i&&(v(2),tt(2,o._isServer?2:-1),v(),tt(3,o._isNativeHtmlTable?3:4))},dependencies:[Jb,Qb,tv,ev],styles:[".mat-mdc-table-sticky{position:sticky !important}.mdc-data-table{-webkit-overflow-scrolling:touch;display:inline-flex;flex-direction:column;box-sizing:border-box;position:relative}.mdc-data-table__table-container{-webkit-overflow-scrolling:touch;overflow-x:auto;width:100%}.mdc-data-table__table{min-width:100%;border:0;white-space:nowrap;border-spacing:0;table-layout:fixed}.mdc-data-table__cell{box-sizing:border-box;overflow:hidden;text-align:left;text-overflow:ellipsis}[dir=rtl] .mdc-data-table__cell,.mdc-data-table__cell[dir=rtl]{text-align:right}.mdc-data-table__cell--numeric{text-align:right}[dir=rtl] .mdc-data-table__cell--numeric,.mdc-data-table__cell--numeric[dir=rtl]{text-align:left}.mdc-data-table__header-cell{box-sizing:border-box;text-overflow:ellipsis;overflow:hidden;outline:none;text-align:left}[dir=rtl] .mdc-data-table__header-cell,.mdc-data-table__header-cell[dir=rtl]{text-align:right}.mdc-data-table__header-cell--numeric{text-align:right}[dir=rtl] .mdc-data-table__header-cell--numeric,.mdc-data-table__header-cell--numeric[dir=rtl]{text-align:left}.mdc-data-table__header-cell-wrapper{align-items:center;display:inline-flex;vertical-align:middle}.mdc-data-table__cell,.mdc-data-table__header-cell{padding:0 16px 0 16px}.mdc-data-table__header-cell--checkbox,.mdc-data-table__cell--checkbox{padding-left:4px;padding-right:0}[dir=rtl] .mdc-data-table__header-cell--checkbox,[dir=rtl] .mdc-data-table__cell--checkbox,.mdc-data-table__header-cell--checkbox[dir=rtl],.mdc-data-table__cell--checkbox[dir=rtl]{padding-left:0;padding-right:4px}mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}.mat-mdc-table{table-layout:auto;white-space:normal;background-color:var(--mat-table-background-color)}.mat-mdc-header-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-header-container-height, 56px);color:var(--mat-table-header-headline-color, rgba(0, 0, 0, 0.87));font-family:var(--mat-table-header-headline-font, Roboto, sans-serif);line-height:var(--mat-table-header-headline-line-height);font-size:var(--mat-table-header-headline-size, 14px);font-weight:var(--mat-table-header-headline-weight, 500)}.mat-mdc-row{height:var(--mat-table-row-item-container-height, 52px);color:var(--mat-table-row-item-label-text-color, rgba(0, 0, 0, 0.87))}.mat-mdc-row,.mdc-data-table__content{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-table-row-item-label-text-font, Roboto, sans-serif);line-height:var(--mat-table-row-item-label-text-line-height);font-size:var(--mat-table-row-item-label-text-size, 14px);font-weight:var(--mat-table-row-item-label-text-weight)}.mat-mdc-footer-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-footer-container-height, 52px);color:var(--mat-table-row-item-label-text-color, rgba(0, 0, 0, 0.87));font-family:var(--mat-table-footer-supporting-text-font, Roboto, sans-serif);line-height:var(--mat-table-footer-supporting-text-line-height);font-size:var(--mat-table-footer-supporting-text-size, 14px);font-weight:var(--mat-table-footer-supporting-text-weight);letter-spacing:var(--mat-table-footer-supporting-text-tracking)}.mat-mdc-header-cell{border-bottom-color:var(--mat-table-row-item-outline-color, rgba(0, 0, 0, 0.12));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-header-headline-tracking);font-weight:inherit;line-height:inherit}.mat-mdc-cell{border-bottom-color:var(--mat-table-row-item-outline-color, rgba(0, 0, 0, 0.12));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-row-item-label-text-tracking);line-height:inherit}.mdc-data-table__row:last-child .mat-mdc-cell{border-bottom:none}.mat-mdc-footer-cell{letter-spacing:var(--mat-table-row-item-label-text-tracking)}mat-row.mat-mdc-row,mat-header-row.mat-mdc-header-row,mat-footer-row.mat-mdc-footer-row{border-bottom:none}.mat-mdc-table tbody,.mat-mdc-table tfoot,.mat-mdc-table thead,.mat-mdc-cell,.mat-mdc-footer-cell,.mat-mdc-header-row,.mat-mdc-row,.mat-mdc-footer-row,.mat-mdc-table .mat-mdc-header-cell{background:inherit}.mat-mdc-table mat-header-row.mat-mdc-header-row,.mat-mdc-table mat-row.mat-mdc-row,.mat-mdc-table mat-footer-row.mat-mdc-footer-cell{height:unset}mat-header-cell.mat-mdc-header-cell,mat-cell.mat-mdc-cell,mat-footer-cell.mat-mdc-footer-cell{align-self:stretch}"],encapsulation:2})}return t})(),nv=(()=>{class t extends ia{static#e=this.\u0275fac=(()=>{let e;return function(o){return(e||(e=we(t)))(o||t)}})();static#t=this.\u0275dir=O({type:t,selectors:[["","matCellDef",""]],standalone:!0,features:[Z([{provide:ia,useExisting:t}]),z]})}return t})(),iv=(()=>{class t extends oa{static#e=this.\u0275fac=(()=>{let e;return function(o){return(e||(e=we(t)))(o||t)}})();static#t=this.\u0275dir=O({type:t,selectors:[["","matHeaderCellDef",""]],standalone:!0,features:[Z([{provide:oa,useExisting:t}]),z]})}return t})(),ov=(()=>{class t extends Ji{get name(){return this._name}set name(e){this._setNameInput(e)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}static#e=this.\u0275fac=(()=>{let e;return function(o){return(e||(e=we(t)))(o||t)}})();static#t=this.\u0275dir=O({type:t,selectors:[["","matColumnDef",""]],inputs:{name:[P.None,"matColumnDef","name"]},standalone:!0,features:[Z([{provide:Ji,useExisting:t},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:t}]),z]})}return t})(),rv=(()=>{class t extends $b{static#e=this.\u0275fac=(()=>{let e;return function(o){return(e||(e=we(t)))(o||t)}})();static#t=this.\u0275dir=O({type:t,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-mdc-header-cell","mdc-data-table__header-cell"],standalone:!0,features:[z]})}return t})(),sv=(()=>{class t extends Wb{static#e=this.\u0275fac=(()=>{let e;return function(o){return(e||(e=we(t)))(o||t)}})();static#t=this.\u0275dir=O({type:t,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:[1,"mat-mdc-cell","mdc-data-table__cell"],standalone:!0,features:[z]})}return t})(),ZA=(()=>{class t extends uc{static#e=this.\u0275fac=(()=>{let e;return function(o){return(e||(e=we(t)))(o||t)}})();static#t=this.\u0275dir=O({type:t,selectors:[["","matHeaderRowDef",""]],inputs:{columns:[P.None,"matHeaderRowDef","columns"],sticky:[P.HasDecoratorInputTransform,"matHeaderRowDefSticky","sticky",Ie]},standalone:!0,features:[Z([{provide:uc,useExisting:t}]),rn,z]})}return t})(),KA=(()=>{class t extends Bh{static#e=this.\u0275fac=(()=>{let e;return function(o){return(e||(e=we(t)))(o||t)}})();static#t=this.\u0275dir=O({type:t,selectors:[["","matRowDef",""]],inputs:{columns:[P.None,"matRowDefColumns","columns"],when:[P.None,"matRowDefWhen","when"]},standalone:!0,features:[Z([{provide:Bh,useExisting:t}]),z]})}return t})(),QA=(()=>{class t extends Yb{static#e=this.\u0275fac=(()=>{let e;return function(o){return(e||(e=we(t)))(o||t)}})();static#t=this.\u0275cmp=ae({type:t,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-mdc-header-row","mdc-data-table__header-row"],exportAs:["matHeaderRow"],standalone:!0,features:[Z([{provide:Yb,useExisting:t}]),z,ze],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(i,o){1&i&&sn(0,0)},dependencies:[eo],encapsulation:2})}return t})(),JA=(()=>{class t extends Zb{static#e=this.\u0275fac=(()=>{let e;return function(o){return(e||(e=we(t)))(o||t)}})();static#t=this.\u0275cmp=ae({type:t,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-mdc-row","mdc-data-table__row"],exportAs:["matRow"],standalone:!0,features:[Z([{provide:Zb,useExisting:t}]),z,ze],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(i,o){1&i&&sn(0,0)},dependencies:[eo],encapsulation:2})}return t})(),sq=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=De({type:t});static#n=this.\u0275inj=ve({imports:[lt,q7,lt]})}return t})();class e1 extends HA{get data(){return this._data.value}set data(n){n=Array.isArray(n)?n:[],this._data.next(n),this._renderChangesSubscription||this._filterData(n)}get filter(){return this._filter.value}set filter(n){this._filter.next(n),this._renderChangesSubscription||this._filterData(this.data)}get sort(){return this._sort}set sort(n){this._sort=n,this._updateChangeSubscription()}get paginator(){return this._paginator}set paginator(n){this._paginator=n,this._updateChangeSubscription()}constructor(n=[]){super(),this._renderData=new Fr([]),this._filter=new Fr(""),this._internalPageChanges=new G,this._renderChangesSubscription=null,this.sortingDataAccessor=(e,i)=>{const o=e[i];if(VT(o)){const r=Number(o);return r<9007199254740991?r:o}return o},this.sortData=(e,i)=>{const o=i.active,r=i.direction;return o&&""!=r?e.sort((s,a)=>{let l=this.sortingDataAccessor(s,o),c=this.sortingDataAccessor(a,o);const d=typeof l,u=typeof c;d!==u&&("number"===d&&(l+=""),"number"===u&&(c+=""));let h=0;return null!=l&&null!=c?l>c?h=1:l{const o=Object.keys(e).reduce((s,a)=>s+e[a]+"\u25ec","").toLowerCase(),r=i.trim().toLowerCase();return-1!=o.indexOf(r)},this._data=new Fr(n),this._updateChangeSubscription()}_updateChangeSubscription(){const n=this._sort?ai(this._sort.sortChange,this._sort.initialized):Tt(null),e=this._paginator?ai(this._paginator.page,this._internalPageChanges,this._paginator.initialized):Tt(null),o=hh([this._data,this._filter]).pipe(We(([a])=>this._filterData(a))),r=hh([o,n]).pipe(We(([a])=>this._orderData(a))),s=hh([r,e]).pipe(We(([a])=>this._pageData(a)));this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=s.subscribe(a=>this._renderData.next(a))}_filterData(n){return this.filteredData=null==this.filter||""===this.filter?n:n.filter(e=>this.filterPredicate(e,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(n){return this.sort?this.sortData(n.slice(),this.sort):n}_pageData(n){if(!this.paginator)return n;const e=this.paginator.pageIndex*this.paginator.pageSize;return n.slice(e,e+this.paginator.pageSize)}_updatePaginator(n){Promise.resolve().then(()=>{const e=this.paginator;if(e&&(e.length=n,e.pageIndex>0)){const i=Math.ceil(e.length/e.pageSize)-1||0,o=Math.min(e.pageIndex,i);o!==e.pageIndex&&(e.pageIndex=o,this._internalPageChanges.next())}})}connect(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}disconnect(){this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=null}}const lq=["mat-sort-header",""],cq=["*"];function dq(t,n){if(1&t){const e=Ze();g(0,"div",2),A("@arrowPosition.start",function(){return k(e),M(w()._disableViewStateAnimation=!0)})("@arrowPosition.done",function(){return k(e),M(w()._disableViewStateAnimation=!1)}),$(1,"div",3),g(2,"div",4),$(3,"div",5)(4,"div",6)(5,"div",7),b()()}if(2&t){const e=w();E("@arrowOpacity",e._getArrowViewState())("@arrowPosition",e._getArrowViewState())("@allowChildren",e._getArrowDirectionState()),v(2),E("@indicator",e._getArrowDirectionState()),v(),E("@leftPointer",e._getArrowDirectionState()),v(),E("@rightPointer",e._getArrowDirectionState())}}const t1=new R("MAT_SORT_DEFAULT_OPTIONS");let av=(()=>{class t{get direction(){return this._direction}set direction(e){this._direction=e}constructor(e){this._defaultOptions=e,this._initializedStream=new DS(1),this.sortables=new Map,this._stateChanges=new G,this.start="asc",this._direction="",this.disabled=!1,this.sortChange=new J,this.initialized=this._initializedStream}register(e){this.sortables.set(e.id,e)}deregister(e){this.sortables.delete(e.id)}sort(e){this.active!=e.id?(this.active=e.id,this.direction=e.start?e.start:this.start):this.direction=this.getNextSortDirection(e),this.sortChange.emit({active:this.active,direction:this.direction})}getNextSortDirection(e){if(!e)return"";let o=function uq(t,n){let e=["asc","desc"];return"desc"==t&&e.reverse(),n||e.push(""),e}(e.start||this.start,e?.disableClear??this.disableClear??!!this._defaultOptions?.disableClear),r=o.indexOf(this.direction)+1;return r>=o.length&&(r=0),o[r]}ngOnInit(){this._initializedStream.next()}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete(),this._initializedStream.complete()}static#e=this.\u0275fac=function(i){return new(i||t)(p(t1,8))};static#t=this.\u0275dir=O({type:t,selectors:[["","matSort",""]],hostAttrs:[1,"mat-sort"],inputs:{active:[P.None,"matSortActive","active"],start:[P.None,"matSortStart","start"],direction:[P.None,"matSortDirection","direction"],disableClear:[P.HasDecoratorInputTransform,"matSortDisableClear","disableClear",Ie],disabled:[P.HasDecoratorInputTransform,"matSortDisabled","disabled",Ie]},outputs:{sortChange:"matSortChange"},exportAs:["matSort"],standalone:!0,features:[rn,Ht]})}return t})();const Io=yW.ENTERING+" "+vW.STANDARD_CURVE,ra={indicator:gn("indicator",[ft("active-asc, asc",he({transform:"translateY(0px)"})),ft("active-desc, desc",he({transform:"translateY(10px)"})),nt("active-asc <=> active-desc",ht(Io))]),leftPointer:gn("leftPointer",[ft("active-asc, asc",he({transform:"rotate(-45deg)"})),ft("active-desc, desc",he({transform:"rotate(45deg)"})),nt("active-asc <=> active-desc",ht(Io))]),rightPointer:gn("rightPointer",[ft("active-asc, asc",he({transform:"rotate(45deg)"})),ft("active-desc, desc",he({transform:"rotate(-45deg)"})),nt("active-asc <=> active-desc",ht(Io))]),arrowOpacity:gn("arrowOpacity",[ft("desc-to-active, asc-to-active, active",he({opacity:1})),ft("desc-to-hint, asc-to-hint, hint",he({opacity:.54})),ft("hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",he({opacity:0})),nt("* => asc, * => desc, * => active, * => hint, * => void",ht("0ms")),nt("* <=> *",ht(Io))]),arrowPosition:gn("arrowPosition",[nt("* => desc-to-hint, * => desc-to-active",ht(Io,Hu([he({transform:"translateY(-25%)"}),he({transform:"translateY(0)"})]))),nt("* => hint-to-desc, * => active-to-desc",ht(Io,Hu([he({transform:"translateY(0)"}),he({transform:"translateY(25%)"})]))),nt("* => asc-to-hint, * => asc-to-active",ht(Io,Hu([he({transform:"translateY(25%)"}),he({transform:"translateY(0)"})]))),nt("* => hint-to-asc, * => active-to-asc",ht(Io,Hu([he({transform:"translateY(0)"}),he({transform:"translateY(-25%)"})]))),ft("desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",he({transform:"translateY(0)"})),ft("hint-to-desc, active-to-desc, desc",he({transform:"translateY(-25%)"})),ft("hint-to-asc, active-to-asc, asc",he({transform:"translateY(25%)"}))]),allowChildren:gn("allowChildren",[nt("* <=> *",[x_("@*",w_(),{optional:!0})])])};let Uh=(()=>{class t{constructor(){this.changes=new G}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=V({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const fq={provide:Uh,deps:[[new Lo,new ba,Uh]],useFactory:function hq(t){return t||new Uh}};let mq=(()=>{class t{get sortActionDescription(){return this._sortActionDescription}set sortActionDescription(e){this._updateSortActionDescription(e)}constructor(e,i,o,r,s,a,l,c){this._intl=e,this._changeDetectorRef=i,this._sort=o,this._columnDef=r,this._focusMonitor=s,this._elementRef=a,this._ariaDescriber=l,this._showIndicatorHint=!1,this._viewState={},this._arrowDirection="",this._disableViewStateAnimation=!1,this.arrowPosition="after",this.disabled=!1,this._sortActionDescription="Sort",c?.arrowPosition&&(this.arrowPosition=c?.arrowPosition),this._handleStateChanges()}ngOnInit(){!this.id&&this._columnDef&&(this.id=this._columnDef.name),this._updateArrowDirection(),this._setAnimationTransitionState({toState:this._isSorted()?"active":this._arrowDirection}),this._sort.register(this),this._sortButton=this._elementRef.nativeElement.querySelector(".mat-sort-header-container"),this._updateSortActionDescription(this._sortActionDescription)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{const i=!!e;i!==this._showIndicatorHint&&(this._setIndicatorHintVisible(i),this._changeDetectorRef.markForCheck())})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._sort.deregister(this),this._rerenderSubscription.unsubscribe(),this._sortButton&&this._ariaDescriber?.removeDescription(this._sortButton,this._sortActionDescription)}_setIndicatorHintVisible(e){this._isDisabled()&&e||(this._showIndicatorHint=e,this._isSorted()||(this._updateArrowDirection(),this._setAnimationTransitionState(this._showIndicatorHint?{fromState:this._arrowDirection,toState:"hint"}:{fromState:"hint",toState:this._arrowDirection})))}_setAnimationTransitionState(e){this._viewState=e||{},this._disableViewStateAnimation&&(this._viewState={toState:e.toState})}_toggleOnInteraction(){this._sort.sort(this),("hint"===this._viewState.toState||"active"===this._viewState.toState)&&(this._disableViewStateAnimation=!0)}_handleClick(){this._isDisabled()||this._sort.sort(this)}_handleKeydown(e){!this._isDisabled()&&(32===e.keyCode||13===e.keyCode)&&(e.preventDefault(),this._toggleOnInteraction())}_isSorted(){return this._sort.active==this.id&&("asc"===this._sort.direction||"desc"===this._sort.direction)}_getArrowDirectionState(){return`${this._isSorted()?"active-":""}${this._arrowDirection}`}_getArrowViewState(){const e=this._viewState.fromState;return(e?`${e}-to-`:"")+this._viewState.toState}_updateArrowDirection(){this._arrowDirection=this._isSorted()?this._sort.direction:this.start||this._sort.start}_isDisabled(){return this._sort.disabled||this.disabled}_getAriaSortAttribute(){return this._isSorted()?"asc"==this._sort.direction?"ascending":"descending":"none"}_renderArrow(){return!this._isDisabled()||this._isSorted()}_updateSortActionDescription(e){this._sortButton&&(this._ariaDescriber?.removeDescription(this._sortButton,this._sortActionDescription),this._ariaDescriber?.describe(this._sortButton,e)),this._sortActionDescription=e}_handleStateChanges(){this._rerenderSubscription=ai(this._sort.sortChange,this._sort._stateChanges,this._intl.changes).subscribe(()=>{this._isSorted()&&(this._updateArrowDirection(),("hint"===this._viewState.toState||"active"===this._viewState.toState)&&(this._disableViewStateAnimation=!0),this._setAnimationTransitionState({fromState:this._arrowDirection,toState:"active"}),this._showIndicatorHint=!1),!this._isSorted()&&this._viewState&&"active"===this._viewState.toState&&(this._disableViewStateAnimation=!1,this._setAnimationTransitionState({fromState:"active",toState:this._arrowDirection})),this._changeDetectorRef.markForCheck()})}static#e=this.\u0275fac=function(i){return new(i||t)(p(Uh),p(zt),p(av,8),p("MAT_SORT_HEADER_COLUMN_DEF",8),p(wr),p(Y),p(nS,8),p(t1,8))};static#t=this.\u0275cmp=ae({type:t,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(i,o){1&i&&A("click",function(){return o._handleClick()})("keydown",function(s){return o._handleKeydown(s)})("mouseenter",function(){return o._setIndicatorHintVisible(!0)})("mouseleave",function(){return o._setIndicatorHintVisible(!1)}),2&i&&(W("aria-sort",o._getAriaSortAttribute()),xe("mat-sort-header-disabled",o._isDisabled()))},inputs:{id:[P.None,"mat-sort-header","id"],arrowPosition:"arrowPosition",start:"start",disabled:[P.HasDecoratorInputTransform,"disabled","disabled",Ie],sortActionDescription:"sortActionDescription",disableClear:[P.HasDecoratorInputTransform,"disableClear","disableClear",Ie]},exportAs:["matSortHeader"],standalone:!0,features:[rn,ze],attrs:lq,ngContentSelectors:cq,decls:4,vars:7,consts:[[1,"mat-sort-header-container","mat-focus-indicator"],[1,"mat-sort-header-content"],[1,"mat-sort-header-arrow"],[1,"mat-sort-header-stem"],[1,"mat-sort-header-indicator"],[1,"mat-sort-header-pointer-left"],[1,"mat-sort-header-pointer-right"],[1,"mat-sort-header-pointer-middle"]],template:function(i,o){1&i&&(an(),g(0,"div",0)(1,"div",1),Ae(2),b(),B(3,dq,6,6,"div",2),b()),2&i&&(xe("mat-sort-header-sorted",o._isSorted())("mat-sort-header-position-before","before"===o.arrowPosition),W("tabindex",o._isDisabled()?null:0)("role",o._isDisabled()?null:"button"),v(3),tt(3,o._renderArrow()?3:-1))},styles:[".mat-sort-header-container{display:flex;cursor:pointer;align-items:center;letter-spacing:normal;outline:0}[mat-sort-header].cdk-keyboard-focused .mat-sort-header-container,[mat-sort-header].cdk-program-focused .mat-sort-header-container{border-bottom:solid 1px currentColor}.mat-sort-header-disabled .mat-sort-header-container{cursor:default}.mat-sort-header-container::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-sort-header-content{text-align:center;display:flex;align-items:center}.mat-sort-header-position-before{flex-direction:row-reverse}.mat-sort-header-arrow{height:12px;width:12px;min-width:12px;position:relative;display:flex;color:var(--mat-sort-arrow-color);opacity:0}.mat-sort-header-arrow,[dir=rtl] .mat-sort-header-position-before .mat-sort-header-arrow{margin:0 0 0 6px}.mat-sort-header-position-before .mat-sort-header-arrow,[dir=rtl] .mat-sort-header-arrow{margin:0 6px 0 0}.mat-sort-header-stem{background:currentColor;height:10px;width:2px;margin:auto;display:flex;align-items:center}.cdk-high-contrast-active .mat-sort-header-stem{width:0;border-left:solid 2px}.mat-sort-header-indicator{width:100%;height:2px;display:flex;align-items:center;position:absolute;top:0;left:0}.mat-sort-header-pointer-middle{margin:auto;height:2px;width:2px;background:currentColor;transform:rotate(45deg)}.cdk-high-contrast-active .mat-sort-header-pointer-middle{width:0;height:0;border-top:solid 2px;border-left:solid 2px}.mat-sort-header-pointer-left,.mat-sort-header-pointer-right{background:currentColor;width:6px;height:2px;position:absolute;top:0}.cdk-high-contrast-active .mat-sort-header-pointer-left,.cdk-high-contrast-active .mat-sort-header-pointer-right{width:0;height:0;border-left:solid 6px;border-top:solid 2px}.mat-sort-header-pointer-left{transform-origin:right;left:0}.mat-sort-header-pointer-right{transform-origin:left;right:0}"],encapsulation:2,data:{animation:[ra.indicator,ra.leftPointer,ra.rightPointer,ra.arrowOpacity,ra.arrowPosition,ra.allowChildren]},changeDetection:0})}return t})(),pq=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=De({type:t});static#n=this.\u0275inj=ve({providers:[fq],imports:[lt]})}return t})();const gq=/^[\t\n\f\r ]*([MLHVZCSQTAmlhvzcsqta])[\t\n\f\r ]*/,n1=/^[01]/,lv=/^[+-]?(([0-9]*\.[0-9]+)|([0-9]+\.)|([0-9]+))([eE][+-]?[0-9]+)?/,_q=/^(([\t\n\f\r ]+,?[\t\n\f\r ]*)|(,[\t\n\f\r ]*))/,bq={M:[lv,lv],L:[lv,lv],H:[lv],V:[lv],Z:[],C:[lv,lv,lv,lv,lv,lv],S:[lv,lv,lv,lv],Q:[lv,lv,lv,lv],T:[lv,lv],A:[lv,lv,lv,n1,n1,lv,lv]};class cv{static components(n,e,i){const o=bq[n.toUpperCase()],r=[];for(;i<=e.length;){const s=[n];for(const a of o){const l=e.slice(i).match(a);if(null===l){if(1===s.length&&r.length>=1)return[i,r];throw new Error("malformed path (first error at "+i+")")}{s.push(l[0]);const c=e.slice(i+=l[0].length).match(_q);null!==c&&(i+=c[0].length)}}if(r.push(s),0===o.length)return[i,r];"m"===n&&(n="l"),"M"===n&&(n="L")}throw new Error("malformed path (first error at "+i+")")}static parse(n){let e=0,i=[];for(;eparseFloat(r));switch(n[0].toUpperCase()){case mc.key:e=new mc(o,i);break;case sa.key:e=new sa(o,i);break;case So.key:e=new So(o,i);break;case Ao.key:e=new Ao(o,i);break;case gc.key:e=new gc(o,i);break;case To.key:e=new To(o,i);break;case Tr.key:e=new Tr(o,i);break;case Sr.key:e=new Sr(o,i);break;case pc.key:e=new pc(o,i);break;case $h.key:e=new $h(o,i)}if(!e)throw"Invalid SVG item";return e}static MakeFrom(n,e,i){const o=n.targetLocation(),r=o.x.toString(),s=o.y.toString();let a=[];const l=i.toUpperCase();switch(l){case mc.key:a=[mc.key,r,s];break;case sa.key:a=[sa.key,r,s];break;case So.key:a=[So.key,r];break;case Ao.key:a=[Ao.key,s];break;case gc.key:a=[gc.key];break;case To.key:a=[To.key,"0","0","0","0",r,s];break;case Tr.key:a=[Tr.key,"0","0",r,s];break;case Sr.key:a=[Sr.key,"0","0",r,s];break;case pc.key:a=[pc.key,r,s];break;case $h.key:a=[$h.key,"1","1","0","0","0",r,s]}const c=me.Make(a),d=n.absoluteControlPoints;return c.previousPoint=e.targetLocation(),c.absolutePoints=[o],c.resetControlPoints(e),(n instanceof To||n instanceof Tr)&&(c instanceof To||c instanceof Tr)&&(c instanceof To&&(c.values[0]=d[0].x,c.values[1]=d[0].y,c.values[2]=d[1].x,c.values[3]=d[1].y),c instanceof Tr&&(c.values[0]=d[1].x,c.values[1]=d[1].y)),(n instanceof Sr||n instanceof pc)&&c instanceof Sr&&(c.values[0]=d[0].x,c.values[1]=d[0].y),i!==l&&c.setRelative(!0),c}refreshAbsolutePoints(n,e){this.previousPoint=e?e.targetLocation():new pt(0,0),this.absolutePoints=[];let i=e?e.targetLocation():new pt(0,0);this.relative||(i=new pt(0,0));for(let o=0;oi.itemReference=this),this.absoluteControlPoints.forEach(i=>i.itemReference=this)}translate(n,e,i=!1){(!this.relative||i)&&this.values.forEach((o,r)=>{this.values[r]=o+(r%2==0?n:e)})}scale(n,e){this.values.forEach((i,o)=>{this.values[o]=i*(o%2==0?n:e)})}rotate(n,e,i,o=!1){const r=i*Math.PI/180,s=Math.cos(r),a=Math.sin(r);for(let l=0;lr.values)].reduce((r,s)=>r.concat(s),[]).map(r=>fc(r,n,e));return[this.getType(),...o].join(" ")}}class vq extends me{constructor(){super([],!1)}}let mc=(()=>{class t extends me{static#e=this.key="M"}return t})(),sa=(()=>{class t extends me{static#e=this.key="L"}return t})(),To=(()=>{class t extends me{static#e=this.key="C";refreshAbsoluteControlPoints(e,i){if(!i)throw"Invalid path";this.absoluteControlPoints=[new no(this.absolutePoints[0],[i.targetLocation()]),new no(this.absolutePoints[1],[this.targetLocation()])]}resetControlPoints(e){const i=e.targetLocation(),o=this.targetLocation(),r=this.relative?i:new pt(0,0);this.values[0]=2*i.x/3+o.x/3-r.x,this.values[1]=2*i.y/3+o.y/3-r.y,this.values[2]=i.x/3+2*o.x/3-r.x,this.values[3]=i.y/3+2*o.y/3-r.y}}return t})(),Tr=(()=>{class t extends me{static#e=this.key="S";refreshAbsoluteControlPoints(e,i){if(this.absoluteControlPoints=[],i instanceof To||i instanceof t){const o=i.targetLocation(),r=i.absoluteControlPoints[1],s=new pt(2*o.x-r.x,2*o.y-r.y);this.absoluteControlPoints.push(new no(s,[o],!1))}else{const o=i?i.targetLocation():new pt(0,0),r=new pt(o.x,o.y);this.absoluteControlPoints.push(new no(r,[],!1))}this.absoluteControlPoints.push(new no(this.absolutePoints[0],[this.targetLocation()]))}asStandaloneString(){return["M",this.previousPoint.x,this.previousPoint.y,"C",this.absoluteControlPoints[0].x,this.absoluteControlPoints[0].y,this.absoluteControlPoints[1].x,this.absoluteControlPoints[1].y,this.absolutePoints[1].x,this.absolutePoints[1].y].join(" ")}resetControlPoints(e){const i=e.targetLocation(),o=this.targetLocation(),r=this.relative?i:new pt(0,0);this.values[0]=i.x/3+2*o.x/3-r.x,this.values[1]=i.y/3+2*o.y/3-r.y}setControlLocation(e,i){const o=this.absoluteControlPoints[1],s=i.y-o.y;this.values[0]+=i.x-o.x,this.values[1]+=s}}return t})(),Sr=(()=>{class t extends me{static#e=this.key="Q";refreshAbsoluteControlPoints(e,i){if(!i)throw"Invalid path";this.absoluteControlPoints=[new no(this.absolutePoints[0],[i.targetLocation(),this.targetLocation()])]}resetControlPoints(e){const i=e.targetLocation(),o=this.targetLocation(),r=this.relative?i:new pt(0,0);this.values[0]=i.x/2+o.x/2-r.x,this.values[1]=i.y/2+o.y/2-r.y}}return t})(),pc=(()=>{class t extends me{static#e=this.key="T";refreshAbsoluteControlPoints(e,i){if(i instanceof Sr||i instanceof t){const o=i.targetLocation(),r=i.absoluteControlPoints[0],s=new pt(2*o.x-r.x,2*o.y-r.y);this.absoluteControlPoints=[new no(s,[o,this.targetLocation()],!1)]}else{const o=i?i.targetLocation():new pt(0,0),r=new pt(o.x,o.y);this.absoluteControlPoints=[new no(r,[],!1)]}}asStandaloneString(){return["M",this.previousPoint.x,this.previousPoint.y,"Q",this.absoluteControlPoints[0].x,this.absoluteControlPoints[0].y,this.absolutePoints[0].x,this.absolutePoints[0].y].join(" ")}}return t})(),gc=(()=>{class t extends me{static#e=this.key="Z";refreshAbsolutePoints(e,i){this.previousPoint=i?i.targetLocation():new pt(0,0),this.absolutePoints=[new to(e.x,e.y,!1)]}}return t})(),So=(()=>{class t extends me{static#e=this.key="H";rotate(e,i,o,r=!1){180==o&&(this.values[0]=-this.values[0])}refreshAbsolutePoints(e,i){this.previousPoint=i?i.targetLocation():new pt(0,0),this.absolutePoints=this.relative?[new to(this.values[0]+this.previousPoint.x,this.previousPoint.y)]:[new to(this.values[0],this.previousPoint.y)]}setTargetLocation(e){const i=this.targetLocation();this.values[0]+=e.x-i.x}}return t})(),Ao=(()=>{class t extends me{static#e=this.key="V";rotate(e,i,o,r=!1){180==o&&(this.values[0]=-this.values[0])}translate(e,i,o=!1){this.relative||(this.values[0]+=i)}scale(e,i){this.values[0]*=i}refreshAbsolutePoints(e,i){this.previousPoint=i?i.targetLocation():new pt(0,0),this.absolutePoints=this.relative?[new to(this.previousPoint.x,this.values[0]+this.previousPoint.y)]:[new to(this.previousPoint.x,this.values[0])]}setTargetLocation(e){const i=this.targetLocation();this.values[0]+=e.y-i.y}}return t})(),$h=(()=>{class t extends me{static#e=this.key="A";translate(e,i,o=!1){this.relative||(this.values[5]+=e,this.values[6]+=i)}rotate(e,i,o,r=!1){this.values[2]=(this.values[2]+o)%360;const s=o*Math.PI/180,a=Math.cos(s),l=Math.sin(s),c=this.values[5],d=this.values[6],u=this.relative&&!r?0:e,h=this.relative&&!r?0:i,m=(c-u)*l+(d-h)*a+h;this.values[5]=(c-u)*a-(d-h)*l+u,this.values[6]=m}scale(e,i){const o=this.values[0],r=this.values[1],s=Math.PI*this.values[2]/180,a=Math.cos(s),l=Math.sin(s),c=r*r*i*i*a*a+o*o*i*i*l*l,d=2*e*i*a*l*(r*r-o*o),u=o*o*e*e*a*a+r*r*e*e*l*l,h=-o*o*r*r*e*e*i*i,f=d*d-4*c*u,m=Math.sqrt((c-u)*(c-u)+d*d);this.values[2]=0!==d?180*Math.atan((u-c-m)/d)/Math.PI:c=0?this.values[4]:1-this.values[4]}refreshAbsolutePoints(e,i){this.previousPoint=i?i.targetLocation():new pt(0,0),this.absolutePoints=this.relative?[new to(this.values[5]+this.previousPoint.x,this.values[6]+this.previousPoint.y)]:[new to(this.values[5],this.values[6])]}asString(e=4,i=!1,o=[]){if(i){const r=[this.values,...o.map(s=>s.values)].map(s=>s.map(a=>fc(a,e,i))).map(s=>`${s[0]} ${s[1]} ${s[2]} ${s[3]}${s[4]}${s[5]} ${s[6]}`);return[this.getType(),...r].join(" ")}return super.asString(e,i,o)}}return t})();class aa{constructor(n){const e=cv.parse(n);this.path=e.map(i=>me.Make(i)),this.refreshAbsolutePositions()}translate(n,e){return this.path.forEach((i,o)=>{i.translate(n,e,0===o)}),this.refreshAbsolutePositions(),this}scale(n,e){return this.path.forEach(i=>{i.scale(n,e)}),this.refreshAbsolutePositions(),this}rotate(n,e,i){return 0==(i%=360)||(this.path.forEach((o,r)=>{const s=o.constructor;if(180!==i&&(o instanceof So||o instanceof Ao)){const a=o.relative?sa.key.toLowerCase():sa.key;o=this.changeType(o,a)||o}if(o.rotate(n,e,i,0===r),90===i||270===i)if(s===So){this.refreshAbsolutePositions();const a=o.relative?Ao.key.toLowerCase():Ao.key;this.changeType(o,a)}else if(s===Ao){this.refreshAbsolutePositions();const a=o.relative?So.key.toLowerCase():So.key;this.changeType(o,a)}}),this.refreshAbsolutePositions()),this}setRelative(n){return this.path.forEach(e=>{e.setRelative(n)}),this.refreshAbsolutePositions(),this}delete(n){const e=this.path.indexOf(n);return-1!==e&&(this.path.splice(e,1),this.refreshAbsolutePositions()),this}insert(n,e){const i=e?this.path.indexOf(e):-1;-1!==i?this.path.splice(i+1,0,n):this.path.push(n),this.refreshAbsolutePositions()}changeType(n,e){const i=this.path.indexOf(n);return i>0?(this.path[i]=me.MakeFrom(n,this.path[i-1],e),this.refreshAbsolutePositions(),this.path[i]):null}asString(n=4,e=!1){return this.path.reduce((i,o)=>{const r=o.getType();if(e&&i.length>0){const s=i[i.length-1];if(s.type===r)return s.trailing.push(o),i}return i.push({type:"m"===r?"l":"M"===r?"L":r,item:o,trailing:[]}),i},[]).map(i=>{const o=i.item.asString(n,e,i.trailing);return e?o.replace(/^([a-z]) /i,"$1").replace(/ -/g,"-").replace(/(\.[0-9]+) (?=\.)/g,"$1"):o}).join(e?"":" ")}targetLocations(){return this.path.map(n=>n.targetLocation())}controlLocations(){let n=[];for(let e=1;e{o.subIndex=r}),n=[...n,...i]}return n}setLocation(n,e){n instanceof no?n.itemReference.setControlLocation(n.subIndex,e):n.itemReference.setTargetLocation(e),this.refreshAbsolutePositions()}refreshAbsolutePositions(){let n=null,e=new pt(0,0);for(const i of this.path)i.refresh(e,n),(i instanceof mc||i instanceof gc)&&(e=i.targetLocation()),n=i}}const Cq=["app-canvas",""],o1=t=>({tick:t}),r1=t=>({"font-size":t}),s1=(t,n)=>({hovered:t,dragged:n}),Wh=()=>({hovered:!1,dragged:!1});function Dq(t,n){if(1&t&&(jt(),$(0,"line",3)),2&t){const e=n.$implicit,i=w(2);E("ngClass",Yt(6,o1,i.showTicks&&e%i.tickInterval==0)),W("x1",e)("y1",i.viewPortY)("x2",e)("y2",i.viewPortY+i.viewPortHeight)("stroke-width",i.strokeWidth)}}function Eq(t,n){if(1&t&&(jt(),g(0,"text",6),x(1),b()),2&t){const e=w().$implicit,i=w(3);E("ngStyle",Yt(4,r1,14*i.strokeWidth+"px")),W("x",-4*i.strokeWidth)("y",e-4*i.strokeWidth),v(),zn(e)}}function kq(t,n){if(1&t&&(He(0),B(1,Eq,2,6,"text",5),je()),2&t){const e=n.$implicit,i=w(3);v(),E("ngIf",e%i.tickInterval==0)}}function Mq(t,n){if(1&t&&(jt(),g(0,"text",6),x(1),b()),2&t){const e=w().$implicit,i=w(3);E("ngStyle",Yt(4,r1,14*i.strokeWidth+"px")),W("x",e-4*i.strokeWidth)("y",-4*i.strokeWidth),v(),zn(e)}}function Iq(t,n){if(1&t&&(He(0),B(1,Mq,2,6,"text",5),je()),2&t){const e=n.$implicit,i=w(3);v(),E("ngIf",0!==e&&e%i.tickInterval==0)}}function Tq(t,n){if(1&t&&(He(0),B(1,kq,2,1,"ng-container",4)(2,Iq,2,1,"ng-container",4),je()),2&t){const e=w(2);v(),E("ngForOf",e.yGrid)("ngForTrackBy",e.trackByIndex),v(),E("ngForOf",e.xGrid)("ngForTrackBy",e.trackByIndex)}}function Sq(t,n){if(1&t&&(jt(),$(0,"line",3)),2&t){const e=n.$implicit,i=w(2);E("ngClass",Yt(6,o1,i.showTicks&&e%i.tickInterval==0)),W("x1",i.viewPortX)("y1",e)("x2",i.viewPortX+i.viewPortWidth)("y2",e)("stroke-width",i.strokeWidth)}}function Aq(t,n){if(1&t&&(He(0),jt(),$(1,"image"),je()),2&t){const e=n.$implicit,i=w(3);v(),Hi("opacity",e.opacity),W("href",e.data,null,"xlink")("x",i.min(e.x1,e.x2))("y",i.min(e.y1,e.y2))("width",i.abs(e.x2-e.x1))("height",i.abs(e.y1-e.y2))("preserveAspectRatio",e.preserveAspectRatio?"xMidYMid meet":"none")}}function Rq(t,n){if(1&t&&(He(0),B(1,Aq,2,8,"ng-container",7),je()),2&t){const e=w(2);v(),E("ngForOf",e.images)}}function Pq(t,n){if(1&t&&(jt(),$(0,"line",11)),2&t){const e=n.$implicit,i=w().$implicit,o=w(3);W("x1",i.x)("y1",i.y)("x2",e.x)("y2",e.y)("stroke-width",o.strokeWidth)}}function Oq(t,n){if(1&t&&(He(0),B(1,Pq,1,5,"line",10),je()),2&t){const e=n.$implicit,i=w(3);v(),E("ngForOf",e.relations)("ngForTrackBy",i.trackByIndex)}}function Nq(t,n){if(1&t&&(jt(),$(0,"path",12)),2&t){const e=w(3);W("d",e.hoveredItem.asStandaloneString())("stroke-width",e.strokeWidth)}}function Fq(t,n){if(1&t&&(jt(),$(0,"path",13)),2&t){const e=w(3);W("d",e.focusedItem.asStandaloneString())("stroke-width",e.strokeWidth)}}function Lq(t,n){if(1&t){const e=Ze();jt(),g(0,"circle",15),A("mousedown",function(o){k(e);const r=w().$implicit;return w(3).startDrag(r),M(o.stopPropagation())})("touchstart",function(o){k(e);const r=w().$implicit;return w(3).startDrag(r),o.preventDefault(),M(o.stopPropagation())})("mouseenter",function(o){k(e);const r=w().$implicit;return w(3).hoveredItem=r.itemReference,M(o.stopPropagation())})("mouseleave",function(){return k(e),M(w(4).hoveredItem=null)}),b()}if(2&t){const e=w().$implicit,i=w(3);E("ngClass",Ci(5,s1,e.itemReference===i.hoveredItem&&!i.draggedPoint,e.itemReference===i.focusedItem)),W("cx",e.x)("cy",e.y)("r",3*i.strokeWidth)("stroke-width",12*i.strokeWidth)}}function Vq(t,n){if(1&t&&(He(0),B(1,Lq,1,8,"circle",14),je()),2&t){const e=n.$implicit;v(),E("ngIf",e.movable)}}function Bq(t,n){if(1&t){const e=Ze();jt(),g(0,"circle",17),A("mousedown",function(o){k(e);const r=w().$implicit;return w(3).startDrag(r),M(o.stopPropagation())})("touchstart",function(o){k(e);const r=w().$implicit;return w(3).startDrag(r),o.preventDefault(),M(o.stopPropagation())})("mouseenter",function(o){k(e);const r=w().$implicit;return w(3).hoveredItem=r.itemReference,M(o.stopPropagation())})("mouseleave",function(){return k(e),M(w(4).hoveredItem=null)}),b()}if(2&t){const e=w().$implicit,i=w(3);E("ngClass",Ci(5,s1,e.itemReference===i.hoveredItem&&!i.draggedPoint,e.itemReference===i.focusedItem)),W("cx",e.x)("cy",e.y)("r",3*i.strokeWidth)("stroke-width",12*i.strokeWidth)}}function Hq(t,n){if(1&t&&(He(0),B(1,Bq,1,8,"circle",16),je()),2&t){const e=n.$implicit;v(),E("ngIf",e.movable)}}function jq(t,n){if(1&t&&(He(0),B(1,Oq,2,2,"ng-container",4)(2,Nq,1,2,"path",8)(3,Fq,1,2,"path",9)(4,Vq,2,1,"ng-container",4)(5,Hq,2,1,"ng-container",4),je()),2&t){const e=w(2);v(),E("ngForOf",e.controlPoints)("ngForTrackBy",e.trackByIndex),v(),E("ngIf",e.hoveredItem&&!e.draggedPoint&&!e.preview),v(),E("ngIf",e.focusedItem&&!e.preview),v(),E("ngForOf",e.targetPoints)("ngForTrackBy",e.trackByIndex),v(),E("ngForOf",e.controlPoints)("ngForTrackBy",e.trackByIndex)}}function zq(t,n){if(1&t){const e=Ze();jt(),g(0,"g")(1,"rect",19),A("mousedown",function(o){const r=k(e).$implicit;return w(3).startDragImage(o,r,15),M(o.stopPropagation())})("touchstart",function(o){const r=k(e).$implicit;return w(3).startDragImage(o,r,15),o.preventDefault(),M(o.stopPropagation())}),b(),g(2,"line",20),A("mousedown",function(o){const r=k(e).$implicit;return w(3).startDragImage(o,r,1),M(o.stopPropagation())})("touchstart",function(o){const r=k(e).$implicit;return w(3).startDragImage(o,r,1),o.preventDefault(),M(o.stopPropagation())}),b(),g(3,"line",21),A("mousedown",function(o){const r=k(e).$implicit;return w(3).startDragImage(o,r,2),M(o.stopPropagation())})("touchstart",function(o){const r=k(e).$implicit;return w(3).startDragImage(o,r,2),o.preventDefault(),M(o.stopPropagation())}),b(),g(4,"line",21),A("mousedown",function(o){const r=k(e).$implicit;return w(3).startDragImage(o,r,8),M(o.stopPropagation())})("touchstart",function(o){const r=k(e).$implicit;return w(3).startDragImage(o,r,8),o.preventDefault(),M(o.stopPropagation())}),b(),g(5,"line",20),A("mousedown",function(o){const r=k(e).$implicit;return w(3).startDragImage(o,r,4),M(o.stopPropagation())})("touchstart",function(o){const r=k(e).$implicit;return w(3).startDragImage(o,r,4),o.preventDefault(),M(o.stopPropagation())}),b(),g(6,"circle",22),A("mousedown",function(o){const r=k(e).$implicit;return w(3).startDragImage(o,r,3),M(o.stopPropagation())})("touchstart",function(o){const r=k(e).$implicit;return w(3).startDragImage(o,r,3),o.preventDefault(),M(o.stopPropagation())}),b(),g(7,"circle",23),A("mousedown",function(o){const r=k(e).$implicit;return w(3).startDragImage(o,r,6),M(o.stopPropagation())})("touchstart",function(o){const r=k(e).$implicit;return w(3).startDragImage(o,r,6),o.preventDefault(),M(o.stopPropagation())}),b(),g(8,"circle",23),A("mousedown",function(o){const r=k(e).$implicit;return w(3).startDragImage(o,r,9),M(o.stopPropagation())})("touchstart",function(o){const r=k(e).$implicit;return w(3).startDragImage(o,r,9),o.preventDefault(),M(o.stopPropagation())}),b(),g(9,"circle",22),A("mousedown",function(o){const r=k(e).$implicit;return w(3).startDragImage(o,r,12),M(o.stopPropagation())})("touchstart",function(o){const r=k(e).$implicit;return w(3).startDragImage(o,r,12),o.preventDefault(),M(o.stopPropagation())}),b()()}if(2&t){const e=n.$implicit,i=w(3);xe("focused-image",e===i.focusedImage),v(),W("x",i.min(e.x1,e.x2))("y",i.min(e.y1,e.y2))("width",i.abs(e.x2-e.x1))("height",i.abs(e.y1-e.y2)),v(),W("x1",e.x1)("y1",e.y1)("x2",e.x1)("y2",e.y2)("stroke-width",6*i.strokeWidth),v(),W("x1",e.x1)("y1",e.y1)("x2",e.x2)("y2",e.y1)("stroke-width",6*i.strokeWidth),v(),W("x1",e.x1)("y1",e.y2)("x2",e.x2)("y2",e.y2)("stroke-width",6*i.strokeWidth),v(),W("x1",e.x2)("y1",e.y1)("x2",e.x2)("y2",e.y2)("stroke-width",6*i.strokeWidth),v(),E("ngClass",bl(46,Wh)),W("cx",e.x1)("cy",e.y1)("r",3*i.strokeWidth)("stroke-width",24*i.strokeWidth),v(),E("ngClass",bl(47,Wh)),W("cx",e.x2)("cy",e.y1)("r",3*i.strokeWidth)("stroke-width",24*i.strokeWidth),v(),E("ngClass",bl(48,Wh)),W("cx",e.x1)("cy",e.y2)("r",3*i.strokeWidth)("stroke-width",24*i.strokeWidth),v(),E("ngClass",bl(49,Wh)),W("cx",e.x2)("cy",e.y2)("r",3*i.strokeWidth)("stroke-width",24*i.strokeWidth)}}function Uq(t,n){if(1&t&&(He(0),B(1,zq,10,50,"g",18),je()),2&t){const e=w(2);v(),E("ngForOf",e.images)}}function $q(t,n){if(1&t&&(He(0),jt(),$(1,"line",1)(2,"line",1),B(3,Dq,1,8,"line",2)(4,Tq,3,4,"ng-container",0)(5,Sq,1,8,"line",2)(6,Rq,2,1,"ng-container",0),$(7,"path"),B(8,jq,6,8,"ng-container",0)(9,Uq,2,1,"ng-container",0),je()),2&t){const e=w();v(),W("x1",e.viewPortX)("y1",0)("x2",e.viewPortX+e.viewPortWidth)("y2",0)("stroke-width",4*e.strokeWidth),v(),W("x1",0)("y1",e.viewPortY)("x2",0)("y2",e.viewPortY+e.viewPortHeight)("stroke-width",4*e.strokeWidth),v(),E("ngForOf",e.xGrid)("ngForTrackBy",e.trackByIndex),v(),E("ngIf",!e.preview&&e.showTicks),v(),E("ngForOf",e.yGrid)("ngForTrackBy",e.trackByIndex),v(),E("ngIf",!e.preview),v(),xe("filled",e.filled),W("d",null==e.parsedPath?null:e.parsedPath.asString())("stroke-width",e.strokeWidth),v(),E("ngIf",!e.editImages),v(),E("ngIf",e.editImages&&!e.preview)}}let a1=(()=>{class t{get canvasWidth(){return this._canvasWidth}set canvasWidth(e){this._canvasWidth=e,this.canvasWidthChange.emit(this._canvasWidth)}get canvasHeight(){return this._canvasHeight}set canvasHeight(e){this._canvasHeight=e,this.canvasHeightChange.emit(this._canvasHeight)}get draggedPoint(){return this._draggedPoint}set draggedPoint(e){this._draggedPoint=e,this.draggedPointChange.emit(this.draggedPoint)}get focusedItem(){return this._focusedItem}set focusedItem(e){this._focusedItem=e,this.focusedItemChange.emit(this.focusedItem)}get hoveredItem(){return this._hoveredItem}set hoveredItem(e){this._hoveredItem=e,this.hoveredItemChange.emit(this.hoveredItem)}get wasCanvasDragged(){return this._wasCanvasDragged}set wasCanvasDragged(e){this._wasCanvasDragged=e,this.wasCanvasDraggedChange.emit(this._wasCanvasDragged)}get focusedImage(){return this._focusedImage}set focusedImage(e){this._focusedImage=e,this.focusedImageChange.emit(this.focusedImage)}constructor(e){this.canvas=e,this.targetPoints=[],this.controlPoints=[],this.viewPortX=0,this.viewPortY=0,this.viewPortWidth=0,this.viewPortHeight=0,this.strokeWidth=1,this.preview=!1,this.filled=!1,this.showTicks=!1,this.tickInterval=1,this.draggedIsNew=!1,this.images=[],this.editImages=!0,this.afterModelChange=new J,this.dragging=new J,this.viewPort=new J,this.cursorPosition=new J,this.emptyCanvas=new J,this._canvasWidth=0,this.canvasWidthChange=new J,this._canvasHeight=0,this.canvasHeightChange=new J,this._draggedPoint=null,this.draggedPointChange=new J,this._focusedItem=null,this.focusedItemChange=new J,this._hoveredItem=null,this.hoveredItemChange=new J,this._wasCanvasDragged=!1,this.wasCanvasDraggedChange=new J,this._focusedImage=null,this.focusedImageChange=new J,this.draggedEvt=null,this.wheel$=new G,this.dragWithoutClick=!0,this.draggedImage=null,this.draggedImageType=0,this.xGrid=[],this.yGrid=[],this.min=Math.min,this.abs=Math.abs,this.trackByIndex=(i,o)=>i}ngOnChanges(e){(e.viewPortX||e.viewPortY||e.viewPortWidth||e.viewPortHeight)&&this.refreshGrid(),e.draggedPoint&&e.draggedPoint.currentValue&&this.startDrag(e.draggedPoint.currentValue)}ngAfterViewInit(){setTimeout(()=>{this.refreshCanvasSize(!0)}),window.addEventListener("resize",()=>{this.refreshCanvasSize(!0)}),window.addEventListener("wheel",()=>{})}ngOnInit(){const i=function wq(t,n=Wl,e){const i=Q_(t,n);return function yq(t,n){return _t((e,i)=>{const{leading:o=!0,trailing:r=!1}=n??{};let s=!1,a=null,l=null,c=!1;const d=()=>{l?.unsubscribe(),l=null,r&&(f(),c&&i.complete())},u=()=>{l=null,c&&i.complete()},h=m=>l=Vt(t(m)).subscribe(rt(i,d,u)),f=()=>{if(s){s=!1;const m=a;a=null,i.next(m),!c&&h(m)}};e.subscribe(rt(i,m=>{s=!0,a=m,(!l||l.closed)&&(o?f():h(m))},()=>{c=!0,(!(r&&s&&l)||l.closed)&&i.complete()}))})}(()=>i,e)}(20,void 0,{leading:!1,trailing:!0});this.wheel$.pipe(function xq(t){return _t((n,e)=>{let i=[];return n.subscribe(rt(e,o=>i.push(o),()=>{e.next(i),e.complete()})),Vt(t).subscribe(rt(e,()=>{const o=i;i=[],e.next(o)},Or)),()=>{i=null}})}(this.wheel$.pipe(i))).pipe(We(o=>({event:o[0],deltaY:o.reduce((r,s)=>r+((o,r)=>o>50?50:o<-50?-50:o)(s.deltaY),0)}))).subscribe(this.mousewheel.bind(this))}onMouseDown(e){this.startDragCanvas(e),e.stopPropagation()}onMouseMove(e){this.drag(e)}onMouseUp(e){this.stopDrag()}onTouchStart(e){this.startDragCanvas(e),e.preventDefault(),e.stopPropagation()}onTouchMove(e){this.drag(e)}onTouchEnd(e){this.stopDrag()}onWheel(e){this.wheel$.next(e)}onClick(e){this.hoveredItem=null}refreshCanvasSize(e=!1){const i=this.canvas.nativeElement.parentNode.getBoundingClientRect();0===i.width&&e&&this.emptyCanvas.emit(),this.canvasWidth=i.width,this.canvasHeight=i.height,this.viewPort.emit({x:this.viewPortX,y:this.viewPortY,w:this.viewPortWidth,h:null,force:!0})}refreshGrid(){5*this.viewPortWidth<=this.canvasWidth?(this.xGrid=Array(Math.ceil(this.viewPortWidth)+1).fill(null).map((e,i)=>Math.floor(this.viewPortX)+i),this.yGrid=Array(Math.ceil(this.viewPortHeight)+1).fill(null).map((e,i)=>Math.floor(this.viewPortY)+i)):(this.xGrid=[],this.yGrid=[])}eventToLocation(e,i=0){const o=this.canvas.nativeElement.getBoundingClientRect(),r=e instanceof MouseEvent?e:e.touches[i];return{x:this.viewPortX+(r.clientX-o.left)*this.strokeWidth,y:this.viewPortY+(r.clientY-o.top)*this.strokeWidth}}pinchToZoom(e,i){if(window.TouchEvent&&e instanceof TouchEvent&&i instanceof TouchEvent&&e.touches.length>=2&&i.touches.length>=2){const o=this.eventToLocation(i,0),r=this.eventToLocation(i,1),s=this.eventToLocation(e,0),a=this.eventToLocation(e,1),l={x:.5*(o.x+r.x),y:.5*(o.y+r.y)},c={x:.5*(s.x+a.x),y:.5*(s.y+a.y)},d={x:c.x-l.x,y:c.y-l.y};return{zoom:Math.sqrt((s.x-a.x)*(s.x-a.x)+(s.y-a.y)*(s.y-a.y))/Math.sqrt((o.x-r.x)*(o.x-r.x)+(o.y-r.y)*(o.y-r.y)),delta:d,center:l}}return null}mousewheel(e){const i=Math.pow(1.005,e.deltaY),o=this.eventToLocation(e.event);this.zoomViewPort(i,o)}zoomViewPort(e,i){i||(i={x:this.viewPortX+.5*this.viewPortWidth,y:this.viewPortY+.5*this.viewPortHeight}),this.viewPort.emit({x:this.viewPortX+(i.x-this.viewPortX-e*(i.x-this.viewPortX)),y:this.viewPortY+(i.y-this.viewPortY-e*(i.y-this.viewPortY)),w:e*this.viewPortWidth,h:e*this.viewPortHeight})}startDrag(e){e!==this.draggedPoint&&(this.dragWithoutClick=!1),this.dragging.emit(!0),"z"!==e.itemReference.getType().toLowerCase()&&(this.focusedItem=e.itemReference,this.draggedPoint=e)}startDragCanvas(e){this.draggedEvt=e,this.wasCanvasDragged=!1,this.dragWithoutClick=!1}startDragImage(e,i,o){this.dragging.emit(!0),this.draggedEvt=e,this.draggedImage=i,this.draggedImageType=o,this.focusedImage=i}stopDrag(){this.draggedPoint&&this.draggedEvt&&this.drag(this.draggedEvt),this.dragging.emit(!1),this.setCursorPosition(void 0),!this.draggedPoint&&!this.wasCanvasDragged&&(this.focusedItem=null),!this.draggedImage&&!this.wasCanvasDragged&&(this.focusedImage=null),this.draggedPoint=null,this.draggedEvt=null,this.dragWithoutClick=!0,this.draggedImage=null}drag(e){if(this.draggedPoint||this.draggedEvt||this.draggedImage){if(!this.dragWithoutClick&&e instanceof MouseEvent&&0===e.buttons)return void this.stopDrag();e.stopPropagation();const i=this.eventToLocation(e);if(this.draggedImage&&this.draggedEvt){const o=this.eventToLocation(this.draggedEvt);1&this.draggedImageType&&(this.draggedImage.x1+=i.x-o.x),2&this.draggedImageType&&(this.draggedImage.y1+=i.y-o.y),4&this.draggedImageType&&(this.draggedImage.x2+=i.x-o.x),8&this.draggedImageType&&(this.draggedImage.y2+=i.y-o.y),this.draggedEvt=e}else if(this.draggedPoint&&this.parsedPath){const o=e.ctrlKey?this.decimals?0:3:this.decimals;if(i.x=parseFloat(i.x.toFixed(o)),i.y=parseFloat(i.y.toFixed(o)),this.parsedPath.setLocation(this.draggedPoint,i),this.draggedIsNew){const r=this.parsedPath.path.indexOf(this.draggedPoint.itemReference)-1;r>=0&&this.draggedPoint.itemReference.resetControlPoints(this.parsedPath.path[r])}this.afterModelChange.emit(),this.draggedEvt=null,this.setCursorPosition({...i,decimals:o})}else if(this.draggedEvt){this.wasCanvasDragged=!0;const o=this.pinchToZoom(this.draggedEvt,e);if(null!==o)this.viewPort.emit({x:this.viewPortX+o.delta.x+(o.center.x-this.viewPortX)*(1-o.zoom),y:this.viewPortY+o.delta.y+(o.center.y-this.viewPortY)*(1-o.zoom),w:o.zoom*this.viewPortWidth,h:o.zoom*this.viewPortHeight});else{const r=this.eventToLocation(this.draggedEvt);this.viewPort.emit({x:this.viewPortX+(r.x-i.x),y:this.viewPortY+(r.y-i.y),w:this.viewPortWidth,h:this.viewPortHeight})}this.draggedEvt=e}}}setCursorPosition(e){this.cursorPosition.emit(e)}static#e=this.\u0275fac=function(i){return new(i||t)(p(Y))};static#t=this.\u0275cmp=ae({type:t,selectors:[["","app-canvas",""]],hostBindings:function(i,o){1&i&&A("mousedown",function(s){return o.onMouseDown(s)})("mousemove",function(s){return o.onMouseMove(s)})("mouseup",function(s){return o.onMouseUp(s)})("touchstart",function(s){return o.onTouchStart(s)})("touchmove",function(s){return o.onTouchMove(s)})("touchend",function(s){return o.onTouchEnd(s)})("wheel",function(s){return o.onWheel(s)})("click",function(s){return o.onClick(s)})},inputs:{draggedPoint:"draggedPoint",focusedItem:"focusedItem",hoveredItem:"hoveredItem",wasCanvasDragged:"wasCanvasDragged",focusedImage:"focusedImage",parsedPath:"parsedPath",targetPoints:"targetPoints",controlPoints:"controlPoints",decimals:"decimals",viewPortX:"viewPortX",viewPortY:"viewPortY",viewPortWidth:"viewPortWidth",viewPortHeight:"viewPortHeight",strokeWidth:"strokeWidth",preview:"preview",filled:"filled",showTicks:"showTicks",tickInterval:"tickInterval",draggedIsNew:"draggedIsNew",images:"images",editImages:"editImages"},outputs:{afterModelChange:"afterModelChange",dragging:"dragging",viewPort:"viewPort",cursorPosition:"cursorPosition",emptyCanvas:"emptyCanvas",canvasWidthChange:"canvasWidthChange",canvasHeightChange:"canvasHeightChange",draggedPointChange:"draggedPointChange",focusedItemChange:"focusedItemChange",hoveredItemChange:"hoveredItemChange",wasCanvasDraggedChange:"wasCanvasDraggedChange",focusedImageChange:"focusedImageChange"},features:[Ht],attrs:Cq,decls:1,vars:1,consts:[[4,"ngIf"],[1,"grid"],["class","grid",3,"ngClass",4,"ngFor","ngForOf","ngForTrackBy"],[1,"grid",3,"ngClass"],[4,"ngFor","ngForOf","ngForTrackBy"],["class","tick",3,"ngStyle",4,"ngIf"],[1,"tick",3,"ngStyle"],[4,"ngFor","ngForOf"],["class","hovered",4,"ngIf"],["class","dragged",4,"ngIf"],["class","control",4,"ngFor","ngForOf","ngForTrackBy"],[1,"control"],[1,"hovered"],[1,"dragged"],["class","target",3,"ngClass","mousedown","touchstart","mouseenter","mouseleave",4,"ngIf"],[1,"target",3,"mousedown","touchstart","mouseenter","mouseleave","ngClass"],["class","control",3,"ngClass","mousedown","touchstart","mouseenter","mouseleave",4,"ngIf"],[1,"control",3,"mousedown","touchstart","mouseenter","mouseleave","ngClass"],[3,"focused-image",4,"ngFor","ngForOf"],[1,"image-control","move",3,"mousedown","touchstart"],[1,"image-control","vertical",3,"mousedown","touchstart"],[1,"image-control","horizontal",3,"mousedown","touchstart"],[1,"image-control","down",3,"mousedown","touchstart","ngClass"],[1,"image-control","up",3,"mousedown","touchstart","ngClass"]],template:function(i,o){1&i&&B(0,$q,10,22,"ng-container",0),2&i&&E("ngIf",o.strokeWidth)},dependencies:[Cu,Pg,lr,Fg],styles:["[_nghost-%COMP%]{background-color:#1e1e1e;-webkit-user-select:none;user-select:none}path[_ngcontent-%COMP%]{stroke:#fff;fill:none}path.filled[_ngcontent-%COMP%]{fill:#ffffff40}path.hovered[_ngcontent-%COMP%]{stroke:red;fill:none}path.dragged[_ngcontent-%COMP%]{stroke:#00aeff;fill:none}line.grid[_ngcontent-%COMP%]{stroke:#353536}line.grid.tick[_ngcontent-%COMP%]{stroke:#454545}line.control[_ngcontent-%COMP%]{stroke:gray}line.hovered[_ngcontent-%COMP%]{stroke:red}circle[_ngcontent-%COMP%]{cursor:pointer;stroke:transparent}circle.control[_ngcontent-%COMP%]{fill:gray}circle.target[_ngcontent-%COMP%]{fill:#fff}circle.hovered[_ngcontent-%COMP%]{fill:red}circle.dragged[_ngcontent-%COMP%]{fill:#00aeff}.preview[_nghost-%COMP%]{background-color:#fff}.preview[_nghost-%COMP%] path[_ngcontent-%COMP%]{stroke:#000}.preview[_nghost-%COMP%] path.filled[_ngcontent-%COMP%]{fill:#000;stroke:none}.preview[_nghost-%COMP%] path.hovered[_ngcontent-%COMP%]{stroke:red;fill:none}.preview[_nghost-%COMP%] circle[_ngcontent-%COMP%], .preview[_nghost-%COMP%] line[_ngcontent-%COMP%]{display:none}text.tick[_ngcontent-%COMP%]{fill:#595959;text-anchor:end;cursor:default;-webkit-user-select:none;user-select:none}image[_ngcontent-%COMP%]{pointer-events:none}rect.image-control[_ngcontent-%COMP%]{fill:#0000;stroke:none}line.image-control[_ngcontent-%COMP%]{stroke:gray}circle.image-control[_ngcontent-%COMP%]{fill:gray}.focused-image[_ngcontent-%COMP%] line.image-control[_ngcontent-%COMP%]{stroke:#00aeff}.focused-image[_ngcontent-%COMP%] circle.image-control[_ngcontent-%COMP%]{fill:#00aeff}.image-control.horizontal[_ngcontent-%COMP%]{cursor:ns-resize}.image-control.vertical[_ngcontent-%COMP%]{cursor:ew-resize}.image-control.down[_ngcontent-%COMP%]{cursor:nwse-resize}.image-control.up[_ngcontent-%COMP%]{cursor:nesw-resize}.image-control.move[_ngcontent-%COMP%]{cursor:move}"]})}return t})();function dv(t){const n="http://www.w3.org/2000/svg",e=document.createElementNS(n,"svg");e.style.position="absolute",e.style.width="0px",e.style.height="0px";const i=document.createElementNS(n,"path");i.setAttributeNS(null,"d",t),e.appendChild(i),document.body.appendChild(e);const o=i.getBBox();return e.remove(),o}const uv=t=>[String(t.x),String(t.y)],l1=t=>{let n=t.asString(4,!0).length;const e=new pt(0,0);for(let i=0;i0?t.path[i-1]:null,r=t.path[i];if("Z"===r.getType(!0))continue;r.setRelative(!r.relative);const s=t.asString(4,!0).length;s{const s=t.path,a=new pt(0,0);for(let l=1;l0&&"M"===s[s.length-1].getType(!0)&&s.splice(s.length-1,1),t.refreshAbsolutePositions()),o&&l1(t),r){const l=t.asString(4,!1).length,c=t.path;d1(t),o&&l1(t),t.asString(4,!1).length>=l&&(t.path=c)}},_c=t=>[String(t.x),String(t.y)],d1=t=>{if(t.path.length<=1)return;const n=[],e=[...t.path].reverse().slice(0,-1),i=e[0].targetLocation();n.push(me.Make(["M",..._c(i)]));let o="",r=!1;for(const s of e){const a=_c(s.previousPoint),l=s.absolutePoints.map(_c),c=s.getType(!0);switch(c){case"M":case"Z":r&&n.push(me.Make(["Z"])),r="Z"===c,"M"===n[n.length-1].getType(!0)?n[n.length-1]=me.Make(["M",...a]):n.push(me.Make(["M",...a]));break;case"L":n.push(me.Make(["L",...a]));break;case"H":n.push(me.Make(["H",a[0]]));break;case"V":n.push(me.Make(["V",a[1]]));break;case"C":n.push(me.Make(["C",...l[1],...l[0],...a]));break;case"S":{const d=_c(s.controlLocations()[0]);n.push(me.Make("S"!==o?["C",...l[0],...d,...a]:["S",...d,...a]));break}case"Q":n.push(me.Make(["Q",...l[0],...a]));break;case"T":if("T"!==o){const d=_c(s.controlLocations()[0]);n.push(me.Make(["Q",...d,...a]))}else n.push(me.Make(["T",...a]));break;case"A":n.push(me.Make(["A",...s.values.slice(0,4).map(String),String(1-s.values[4]),...a]))}o=c}r&&n.push(me.Make(["Z"])),t.path=n,t.refreshAbsolutePositions(),c1(t,{removeUselessComponents:!0,useShorthands:!0})};function Zt(){return function(t,n){const e=`SaveDecorator.${t.constructor.name}.${n}`,i=localStorage.getItem(e);let o=JSON.parse(i??"null");const r=null!==i;let s=!1;Object.defineProperty(t,n,{get:()=>o,set:l=>{(!r||s)&&(o=l,s&&localStorage.setItem(e,JSON.stringify(o))),s=!0}})}}class Kt{constructor(){this.viewPortX=0,this.viewPortY=0,this.viewPortWidth=30,this.viewPortHeight=30,this.viewPortLocked=!1,this.filled=!0,this.preview=!1,this.showTicks=!1,this.minifyOutput=!1,this.snapToGrid=!0,this.tickInterval=5,this.decimalPrecision=3}static#e=this.\u0275fac=function(e){return new(e||Kt)};static#t=this.\u0275prov=V({token:Kt,factory:Kt.\u0275fac,providedIn:"root"})}Ut([Zt()],Kt.prototype,"viewPortX",void 0),Ut([Zt()],Kt.prototype,"viewPortY",void 0),Ut([Zt()],Kt.prototype,"viewPortWidth",void 0),Ut([Zt()],Kt.prototype,"viewPortHeight",void 0),Ut([Zt()],Kt.prototype,"viewPortLocked",void 0),Ut([Zt()],Kt.prototype,"filled",void 0),Ut([Zt()],Kt.prototype,"preview",void 0),Ut([Zt()],Kt.prototype,"showTicks",void 0),Ut([Zt()],Kt.prototype,"minifyOutput",void 0),Ut([Zt()],Kt.prototype,"snapToGrid",void 0),Ut([Zt()],Kt.prototype,"tickInterval",void 0),Ut([Zt()],Kt.prototype,"decimalPrecision",void 0);class Si{constructor(){this.fill=!0,this.fillColor="#000000",this.stroke=!1,this.strokeColor="#FF0000",this.strokeWidth=.1}static#e=this.\u0275fac=function(e){return new(e||Si)};static#t=this.\u0275prov=V({token:Si,factory:Si.\u0275fac,providedIn:"root"})}Ut([Zt()],Si.prototype,"fill",void 0),Ut([Zt()],Si.prototype,"fillColor",void 0),Ut([Zt()],Si.prototype,"stroke",void 0),Ut([Zt()],Si.prototype,"strokeColor",void 0),Ut([Zt()],Si.prototype,"strokeWidth",void 0);class Wq{constructor(){this.name="",this.path="",this.creationDate=new Date,this.changeDate=new Date}}let Ro=(()=>{class t{constructor(){this.storedPaths=[],this.load()}hasPath(e){return void 0!==this.getPath(e)}getPath(e=null){return this.storedPaths.find(i=>i.name===e)}removePath(e){this.storedPaths=this.storedPaths.filter(i=>i.name!==e),this.save()}addPath(e,i){let o=this.getPath(e);o||(o=new Wq,this.storedPaths.push(o),o.name=e),o.changeDate=new Date,o.path=i,this.save()}isEmpty(){return 0===this.storedPaths.filter(e=>!!e.name).length}load(){this.storedPaths=[];const e=localStorage.getItem("storedPaths");if(e){const i=JSON.parse(e);this.storedPaths=i.map(o=>({creationDate:new Date(o.creationDate),changeDate:new Date(o.changeDate),name:o.name,path:o.path}))}}save(){localStorage.setItem("storedPaths",JSON.stringify(this.storedPaths))}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=V({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const Gq=t=>({preview:t}),qq=t=>({item:null,idx:t}),la=t=>({disabled:t}),Yq=(t,n)=>({hovered:t,dragged:n}),Xq=t=>({"type-token-relative":t}),hv=(t,n)=>({item:t,idx:n}),u1=(t,n)=>({left:t,top:n}),h1=t=>({opened:t}),Zq=t=>({image:t}),Kq=(t,n)=>({item:t,idx:n,convert:!0});function Qq(t,n){1&t&&(g(0,"mat-icon"),x(1,"lock_open"),b())}function Jq(t,n){1&t&&(g(0,"mat-icon"),x(1,"lock"),b())}function eY(t,n){if(1&t){const e=Ze();g(0,"mat-checkbox",80),A("ngModelChange",function(o){k(e);const r=w().index,s=w().$implicit;return M(w(2).setValue(s,r,o?1:0))})("focus",function(){k(e);const o=w(2).$implicit;return M(w(2).focusedItem=o)}),b()}if(2&t){const e=w(),i=e.$implicit,o=e.index,r=w().$implicit,s=w(2);E("ngModel",i)("matTooltip",s.getTooltip(r,o))}}function tY(t,n){if(1&t){const e=Ze();g(0,"input",81),A("numberValueChange",function(o){k(e);const r=w().index,s=w().$implicit;return M(w(2).setValue(s,r,o))})("focus",function(){k(e);const o=w(2).$implicit;return M(w(2).focusedItem=o)}),b()}if(2&t){const e=w(),i=e.$implicit,o=e.index,r=w(),s=r.$implicit,a=r.index,l=w(2);Kp("id","svg_command_",a,"_","a"===s.getType().toLowerCase()&&o>4?o-1:o,""),E("numberValue",i)("matTooltip",l.getTooltip(s,o))}}function nY(t,n){if(1&t&&(He(0),B(1,eY,1,2,"mat-checkbox",78)(2,tY,1,5,"input",79),je()),2&t){const e=n.index,i=w().$implicit;v(),E("ngIf","a"===i.getType().toLowerCase()&&(3===e||4===e)),v(),E("ngIf",!("a"===i.getType().toLowerCase()&&(3===e||4===e)))}}function iY(t,n){if(1&t){const e=Ze();g(0,"div",72),A("mouseenter",function(){const o=k(e).$implicit;return M(w(2).hoveredItem=o)})("mouseleave",function(){return k(e),M(w(2).hoveredItem=null)})("click",function(){const o=k(e).$implicit;return M(w(2).focusedItem=o)}),g(1,"div",73),A("click",function(){const o=k(e).$implicit,r=w(2);return o.setRelative(!o.relative),M(r.afterModelChange())}),x(2),b(),B(3,nY,3,2,"ng-container",74),$(4,"div",75),g(5,"button",76),$(6,"mat-icon",77),b()()}if(2&t){const e=n.$implicit,i=n.index,o=w(2),r=Nn(35);Zd("id","svg_command_row_",i,""),E("ngClass",Ci(9,Yq,e===o.hoveredItem&&!o.draggedPoint,o.draggedPoint&&e===o.draggedPoint.itemReference||o.focusedItem===e)),v(),E("ngClass",Yt(12,Xq,e.relative)),v(),zn(e.getType()),v(),E("ngForOf",e.values)("ngForTrackBy",o.trackByIndex),v(2),E("matMenuTriggerFor",r)("matMenuTriggerData",Ci(14,hv,e,i))}}function oY(t,n){if(1&t){const e=Ze();g(0,"div",30),A("@leftColumn.done",function(){k(e);const o=w();return M(null==o.canvas?null:o.canvas.refreshCanvasSize())}),g(1,"button",31),A("click",function(){return k(e),M(w().toggleLeftPanel())}),g(2,"mat-icon"),x(3,"arrow_left"),b()(),g(4,"div",32)(5,"app-expandable",33)(6,"div",34)(7,"div",35)(8,"label",36),x(9,"Path"),b(),g(10,"textarea",37),A("ngModelChange",function(o){return k(e),M(w().reloadPath(o,o.length>0))})("focus",function(){return k(e),M(w().setHistoryDisabled(!0))})("blur",function(){return k(e),M(w().setHistoryDisabled(!1))}),b()()(),g(11,"div",38)(12,"app-open",39),A("openPath",function(o){return k(e),M(w().openPath(o.path,o.name))}),b(),g(13,"app-save",40),Me("nameChange",function(o){k(e);const r=w();return ke(r.pathName,o)||(r.pathName=o),M(o)}),b(),g(14,"button",41),A("click",function(){return k(e),M(w().reloadPath("",!1))}),g(15,"mat-icon"),x(16,"clear"),b()(),g(17,"button",42)(18,"mat-icon"),x(19,"add"),b()()()(),g(20,"app-expandable",43)(21,"div",34)(22,"div",44)(23,"label"),x(24,"X"),b(),g(25,"input",45),A("numberValueChange",function(o){k(e);const r=w();return M(r.updateViewPort(o,r.cfg.viewPortY,r.cfg.viewPortWidth,r.cfg.viewPortHeight))}),b()(),g(26,"div",44)(27,"label"),x(28,"Y"),b(),g(29,"input",45),A("numberValueChange",function(o){k(e);const r=w();return M(r.updateViewPort(r.cfg.viewPortX,o,r.cfg.viewPortWidth,r.cfg.viewPortHeight))}),b()(),g(30,"div",44)(31,"label"),x(32,"Width"),b(),g(33,"input",46),A("numberValueChange",function(o){k(e);const r=w();return M(r.updateViewPort(r.cfg.viewPortX,r.cfg.viewPortY,o,null))}),b()(),g(34,"div",44)(35,"label"),x(36,"Height"),b(),g(37,"input",46),A("numberValueChange",function(o){k(e);const r=w();return M(r.updateViewPort(r.cfg.viewPortX,r.cfg.viewPortY,null,o))}),b()(),g(38,"button",47),A("click",function(){k(e);const o=w();return M(o.cfg.viewPortLocked=!o.cfg.viewPortLocked)}),B(39,Qq,2,0,"mat-icon",48)(40,Jq,2,0,"mat-icon",48),b()(),g(41,"div",34)(42,"mat-checkbox",49),Me("ngModelChange",function(o){k(e);const r=w();return ke(r.cfg.snapToGrid,o)||(r.cfg.snapToGrid=o),M(o)}),x(43,"Snap to Grid"),b(),g(44,"div",50)(45,"label"),x(46,"Point Precision"),b(),g(47,"input",51),Me("numberValueChange",function(o){k(e);const r=w();return ke(r.cfg.decimalPrecision,o)||(r.cfg.decimalPrecision=o),M(o)}),b()()(),g(48,"div",34)(49,"mat-checkbox",49),Me("ngModelChange",function(o){k(e);const r=w();return ke(r.cfg.showTicks,o)||(r.cfg.showTicks=o),M(o)}),x(50,"Show Ticks"),b(),g(51,"div",52)(52,"label"),x(53,"Interval"),b(),g(54,"input",51),Me("numberValueChange",function(o){k(e);const r=w();return ke(r.cfg.tickInterval,o)||(r.cfg.tickInterval=o),M(o)}),b()()(),g(55,"div",34)(56,"mat-checkbox",49),Me("ngModelChange",function(o){k(e);const r=w();return ke(r.cfg.filled,o)||(r.cfg.filled=o),M(o)}),x(57,"Fill"),b(),g(58,"mat-checkbox",49),Me("ngModelChange",function(o){k(e);const r=w();return ke(r.cfg.preview,o)||(r.cfg.preview=o),M(o)}),x(59,"Preview"),b(),g(60,"mat-checkbox",49),A("ngModelChange",function(o){k(e);const r=w();return r.cfg.minifyOutput=o,M(r.afterModelChange())}),x(61,"Minify output"),b()()(),g(62,"app-expandable",53)(63,"div",54)(64,"div",55)(65,"label"),x(66,"Scale X"),b(),g(67,"input",56),Me("numberValueChange",function(o){k(e);const r=w();return ke(r.scaleX,o)||(r.scaleX=o),M(o)}),b()(),g(68,"div",55)(69,"label"),x(70,"Scale Y"),b(),g(71,"input",56),Me("numberValueChange",function(o){k(e);const r=w();return ke(r.scaleY,o)||(r.scaleY=o),M(o)}),b()(),g(72,"button",57),A("click",function(){k(e);const o=w();return M(o.scale(o.scaleX,o.scaleY))}),x(73,"Scale"),b()(),g(74,"div",54)(75,"div",55)(76,"label"),x(77,"Translate X"),b(),g(78,"input",56),Me("numberValueChange",function(o){k(e);const r=w();return ke(r.translateX,o)||(r.translateX=o),M(o)}),b()(),g(79,"div",55)(80,"label"),x(81,"Translate Y"),b(),g(82,"input",56),Me("numberValueChange",function(o){k(e);const r=w();return ke(r.translateY,o)||(r.translateY=o),M(o)}),b()(),g(83,"button",58),A("click",function(){k(e);const o=w();return M(o.translate(o.translateX,o.translateY))}),x(84,"Translate"),b()(),g(85,"div",59)(86,"div",55)(87,"label"),x(88,"Origin X"),b(),g(89,"input",56),Me("numberValueChange",function(o){k(e);const r=w();return ke(r.rotateX,o)||(r.rotateX=o),M(o)}),b()(),g(90,"div",55)(91,"label"),x(92,"Origin Y"),b(),g(93,"input",56),Me("numberValueChange",function(o){k(e);const r=w();return ke(r.rotateY,o)||(r.rotateY=o),M(o)}),b()(),g(94,"div",55)(95,"label"),x(96,"Angle"),b(),g(97,"input",60),Me("numberValueChange",function(o){k(e);const r=w();return ke(r.rotateAngle,o)||(r.rotateAngle=o),M(o)}),b()(),g(98,"button",61),A("click",function(){k(e);const o=w();return M(o.rotate(o.rotateX,o.rotateY,o.rotateAngle))}),x(99,"Rotate"),b()(),g(100,"div",54)(101,"div",62)(102,"label"),x(103,"Number of decimals"),b(),g(104,"input",63),Me("numberValueChange",function(o){k(e);const r=w();return ke(r.roundValuesDecimals,o)||(r.roundValuesDecimals=o),M(o)}),b()(),g(105,"button",64),A("click",function(){k(e);const o=w();return M(o.roundValues(o.roundValuesDecimals))}),x(106,"Round"),b()(),g(107,"div",34)(108,"button",65),A("click",function(){return k(e),M(w().setRelative(!0))}),x(109,"Convert to relative"),b(),g(110,"button",66),A("click",function(){return k(e),M(w().setRelative(!1))}),x(111,"Convert to absolute"),b()(),g(112,"div",34)(113,"button",67),A("click",function(){return k(e),M(w().reverse())}),x(114,"Reverse"),b(),g(115,"button",68),A("click",function(){return k(e),M(w().optimize())}),x(116,"Optimize"),b()()(),g(117,"app-expandable",69),B(118,iY,7,17,"div",70),b(),$(119,"div",71),b()()}if(2&t){const e=w(),i=Nn(38);E("@leftColumn",void 0),v(5),E("panelInfo",e.rawPath.length.toString())("opened",!0),v(2),xe("has-error",e.invalidSyntax),v(3),E("ngModel",e.rawPath)("matTooltipDisabled",!e.invalidSyntax),v(3),E("path",e.rawPath),Ee("name",e.pathName),v(4),E("matMenuTriggerFor",i)("matMenuTriggerData",Yt(50,qq,-1)),v(3),E("opened",!0),v(2),E("ngClass",Yt(52,la,e.cfg.viewPortLocked)),v(3),E("numberValue",e.cfg.viewPortX)("disabled",e.cfg.viewPortLocked),v(),E("ngClass",Yt(54,la,e.cfg.viewPortLocked)),v(3),E("numberValue",e.cfg.viewPortY)("disabled",e.cfg.viewPortLocked),v(),E("ngClass",Yt(56,la,e.cfg.viewPortLocked)),v(3),E("numberValue",e.cfg.viewPortWidth)("disabled",e.cfg.viewPortLocked),v(),E("ngClass",Yt(58,la,e.cfg.viewPortLocked)),v(3),E("numberValue",e.cfg.viewPortHeight)("disabled",e.cfg.viewPortLocked),v(),E("matTooltip",e.cfg.viewPortLocked?"Unlock viewBox":"Lock viewBox"),v(),E("ngIf",!e.cfg.viewPortLocked),v(),E("ngIf",e.cfg.viewPortLocked),v(2),Ee("ngModel",e.cfg.snapToGrid),v(2),E("matTooltipDisabled",e.cfg.snapToGrid)("ngClass",Yt(60,la,e.cfg.snapToGrid)),v(3),Ee("numberValue",e.cfg.decimalPrecision),E("disabled",e.cfg.snapToGrid),v(2),Ee("ngModel",e.cfg.showTicks),v(2),E("ngClass",Yt(62,la,!e.cfg.showTicks)),v(3),Ee("numberValue",e.cfg.tickInterval),E("disabled",!e.cfg.showTicks),v(2),Ee("ngModel",e.cfg.filled),v(2),Ee("ngModel",e.cfg.preview),v(2),E("ngModel",e.cfg.minifyOutput),v(2),E("opened",!0),v(5),Ee("numberValue",e.scaleX),v(4),Ee("numberValue",e.scaleY),v(7),Ee("numberValue",e.translateX),v(4),Ee("numberValue",e.translateY),v(7),Ee("numberValue",e.rotateX),v(4),Ee("numberValue",e.rotateY),v(4),Ee("numberValue",e.rotateAngle),v(7),Ee("numberValue",e.roundValuesDecimals),v(13),E("opened",!0),v(),E("ngForOf",e.parsedPath.path)}}function rY(t,n){if(1&t){const e=Ze();g(0,"button",82),A("click",function(){return k(e),M(w().toggleLeftPanel())}),g(1,"mat-icon"),x(2,"arrow_right"),b()()}}function sY(t,n){1&t&&$(0,"mat-icon",77)}function aY(t,n){1&t&&(g(0,"mat-icon"),x(1,"add"),b())}function lY(t,n){if(1&t){const e=Ze();g(0,"button",83),A("menuOpened",function(){return k(e),M(w().isContextualMenuOpened=!0)})("menuClosed",function(){return k(e),M(w().isContextualMenuOpened=!1)}),B(1,sY,1,0,"mat-icon",84)(2,aY,2,0,"mat-icon",48),b()}if(2&t){const e=w(),i=Nn(35),o=Nn(38);E("ngStyle",Ci(6,u1,6+((e.focusedItem?e.focusedItem.targetLocation().x:0)-e.cfg.viewPortX)/e.strokeWidth+"px",6+((e.focusedItem?e.focusedItem.targetLocation().y:0)-e.cfg.viewPortY)/e.strokeWidth+"px"))("ngClass",Yt(9,h1,e.isContextualMenuOpened))("matMenuTriggerFor",e.focusedItem?i:o)("matMenuTriggerData",Ci(11,hv,e.focusedItem,-1)),v(),E("ngIf",e.focusedItem),v(),E("ngIf",!e.focusedItem)}}function cY(t,n){if(1&t&&(g(0,"label",85),x(1),b()),2&t){const e=w();v(),Qp(" ",e.cursorPosition.x.toFixed(e.cursorPosition.decimals),", ",e.cursorPosition.y.toFixed(e.cursorPosition.decimals)," ")}}function dY(t,n){if(1&t){const e=Ze();g(0,"button",83),A("menuOpened",function(){return k(e),M(w().isContextualMenuOpened=!0)})("menuClosed",function(){return k(e),M(w().isContextualMenuOpened=!1)}),$(1,"mat-icon",77),b()}if(2&t){const e=w(),i=Nn(41);E("ngStyle",Ci(4,u1,8+(e.max(e.focusedImage.x1,e.focusedImage.x2)-e.cfg.viewPortX)/e.strokeWidth+"px",8+(e.max(e.focusedImage.y1,e.focusedImage.y2)-e.cfg.viewPortY)/e.strokeWidth+"px"))("ngClass",Yt(7,h1,e.isContextualMenuOpened))("matMenuTriggerFor",i)("matMenuTriggerData",Yt(9,Zq,e.focusedImage))}}function uY(t,n){1&t&&(g(0,"div",86)(1,"a",87),$(2,"mat-icon",88),x(3," GitHub "),b(),g(4,"a",89),$(5,"mat-icon",90),x(6," Sponsor "),b()())}function hY(t,n){1&t&&(He(0),x(1,"Set Absolute"),je())}function fY(t,n){1&t&&(He(0),x(1,"Set Relative"),je())}function mY(t,n){if(1&t){const e=Ze();g(0,"button",91)(1,"mat-icon"),x(2,"add"),b(),x(3," Insert After "),b(),g(4,"button",91)(5,"mat-icon"),x(6,"swap_horiz"),b(),x(7," Convert To "),b(),g(8,"button",92),A("click",function(){const o=k(e).item,r=w();return o.setRelative(!o.relative),M(r.afterModelChange())}),g(9,"mat-icon"),x(10,"swap_horiz"),b(),B(11,hY,2,0,"ng-container",48)(12,fY,2,0,"ng-container",48),b(),g(13,"button",93),A("click",function(){const o=k(e).item;return M(w().delete(o))}),g(14,"mat-icon"),x(15,"delete"),b(),x(16," Delete "),b()}if(2&t){const e=n.item,i=n.idx,o=w(),r=Nn(38);E("matMenuTriggerFor",r)("matMenuTriggerData",Ci(7,hv,e,i)),v(4),E("matMenuTriggerFor",r)("matMenuTriggerData",Ci(10,Kq,e,i)),v(7),E("ngIf",e.relative),v(),E("ngIf",!e.relative),v(),E("disabled",!o.canDelete(e))}}function pY(t,n){if(1&t){const e=Ze();g(0,"button",93),A("click",function(){const o=k(e),r=o.item,s=o.convert;return M(w().insert("M",r,s))}),g(1,"strong"),x(2,"M"),b(),x(3," Move to"),b(),g(4,"button",93),A("click",function(){const o=k(e),r=o.item,s=o.convert;return M(w().insert("L",r,s))}),g(5,"strong"),x(6,"L"),b(),x(7," Line to"),b(),g(8,"button",93),A("click",function(){const o=k(e),r=o.item,s=o.convert;return M(w().insert("V",r,s))}),g(9,"strong"),x(10,"V"),b(),x(11," Vertical Line to"),b(),g(12,"button",93),A("click",function(){const o=k(e),r=o.item,s=o.convert;return M(w().insert("H",r,s))}),g(13,"strong"),x(14,"H"),b(),x(15," Horizontal Line to"),b(),g(16,"button",93),A("click",function(){const o=k(e),r=o.item,s=o.convert;return M(w().insert("C",r,s))}),g(17,"strong"),x(18,"C"),b(),x(19," Curve to"),b(),g(20,"button",93),A("click",function(){const o=k(e),r=o.item,s=o.convert;return M(w().insert("S",r,s))}),g(21,"strong"),x(22,"S"),b(),x(23," Shorthand Curve to"),b(),g(24,"button",93),A("click",function(){const o=k(e),r=o.item,s=o.convert;return M(w().insert("Q",r,s))}),g(25,"strong"),x(26,"Q"),b(),x(27," Quadratic Bezier Curve to"),b(),g(28,"button",93),A("click",function(){const o=k(e),r=o.item,s=o.convert;return M(w().insert("T",r,s))}),g(29,"strong"),x(30,"T"),b(),x(31," Shorthand Quadratic Bezier Curve to"),b(),g(32,"button",93),A("click",function(){const o=k(e),r=o.item,s=o.convert;return M(w().insert("A",r,s))}),g(33,"strong"),x(34,"A"),b(),x(35," Elliptical Arc"),b(),g(36,"button",93),A("click",function(){const o=k(e),r=o.item,s=o.convert;return M(w().insert("Z",r,s))}),g(37,"strong"),x(38,"Z"),b(),x(39," Close Path"),b()}if(2&t){const e=n.item,i=n.convert,o=w();E("disabled",i?!o.canConvert(e,"M"):!o.canInsertAfter(e,"M")),v(4),E("disabled",i?!o.canConvert(e,"L"):!o.canInsertAfter(e,"L")),v(4),E("disabled",i?!o.canConvert(e,"V"):!o.canInsertAfter(e,"V")),v(4),E("disabled",i?!o.canConvert(e,"H"):!o.canInsertAfter(e,"H")),v(4),E("disabled",i?!o.canConvert(e,"C"):!o.canInsertAfter(e,"C")),v(4),E("disabled",i?!o.canConvert(e,"S"):!o.canInsertAfter(e,"S")),v(4),E("disabled",i?!o.canConvert(e,"Q"):!o.canInsertAfter(e,"Q")),v(4),E("disabled",i?!o.canConvert(e,"T"):!o.canInsertAfter(e,"T")),v(4),E("disabled",i?!o.canConvert(e,"A"):!o.canInsertAfter(e,"A")),v(4),E("disabled",i?!o.canConvert(e,"Z"):!o.canInsertAfter(e,"Z"))}}function gY(t,n){if(1&t){const e=Ze();g(0,"div",94),A("click",function(o){return k(e),M(o.stopPropagation())}),g(1,"mat-icon"),x(2,"opacity"),b(),He(3),x(4,"Opacity"),je(),g(5,"div",95)(6,"mat-slider",96)(7,"input",97),Me("ngModelChange",function(o){const r=k(e).image;return ke(r.opacity,o)||(r.opacity=o),M(o)}),b()(),x(8),b()(),g(9,"button",92),A("click",function(o){const r=k(e).image;return r.preserveAspectRatio=!r.preserveAspectRatio,M(o.stopPropagation())}),g(10,"mat-icon"),x(11,"aspect_ratio"),b(),He(12),x(13,"Toggle Preserve Aspect Ratio"),je(),b(),g(14,"button",92),A("click",function(){const o=k(e).image;return M(w().deleteImage(o))}),g(15,"mat-icon"),x(16,"delete"),b(),x(17," Delete "),b()}if(2&t){const e=n.image;E("disableRipple",!0),v(7),Ee("ngModel",e.opacity),v(),Dn(" ",e.opacity," ")}}const f1="M 4 8 L 10 1 L 13 0 L 12 3 L 5 9 C 6 10 6 11 7 10 C 7 11 8 12 7 12 A 1.42 1.42 0 0 1 6 13 A 5 5 0 0 0 4 10 Q 3.5 9.9 3.5 10.5 T 2 11.8 T 1.2 11 T 2.5 9.5 T 3 9 A 5 5 90 0 0 0 7 A 1.42 1.42 0 0 1 1 6 C 1 5 2 6 3 6 C 2 7 3 7 4 8 M 10 1 L 10 3 L 12 3 L 10.2 2.8 L 10 1";let m1=(()=>{class t{constructor(e,i,o,r){this.cfg=o,this.storage=r,this.targetPoints=[],this.controlPoints=[],this._rawPath=this.storage.getPath()?.path||f1,this.pathName="",this.invalidSyntax=!1,this.history=[],this.historyCursor=-1,this.historyDisabled=!1,this.scaleX=1,this.scaleY=1,this.translateX=0,this.translateY=0,this.rotateX=0,this.rotateY=0,this.rotateAngle=0,this.roundValuesDecimals=1,this.canvasWidth=100,this.canvasHeight=100,this.strokeWidth=1,this.draggedPoint=null,this.focusedItem=null,this.hoveredItem=null,this.wasCanvasDragged=!1,this.draggedIsNew=!1,this.dragging=!1,this.images=[],this.focusedImage=null,this.isLeftPanelOpened=!0,this.isContextualMenuOpened=!1,this.isEditingImages=!1,this.max=Math.max,this.trackByIndex=(s,a)=>s,this.formatNumber=s=>fc(s,4);for(const s of["delete","logo","more","github","zoom_in","zoom_out","zoom_fit","sponsor"])e.addSvgIcon(s,i.bypassSecurityTrustResourceUrl(`./assets/${s}.svg`));this.parsedPath=new aa(""),this.reloadPath(this.rawPath,!0)}onKeyDown(e){const i=e.target instanceof Element?e.target.tagName:null;if("INPUT"!==i&&"TEXTAREA"!==i)if(e.shiftKey&&(e.metaKey||e.ctrlKey)&&"z"===e.key.toLowerCase())this.redo(),e.preventDefault();else if((e.metaKey||e.ctrlKey)&&"z"===e.key.toLowerCase())this.undo(),e.preventDefault();else if(e.metaKey||e.ctrlKey||!/^[mlvhcsqtaz]$/i.test(e.key))e.metaKey||e.ctrlKey||"Escape"!==e.key?!e.metaKey&&!e.ctrlKey&&("Delete"===e.key||"Backspace"===e.key)&&(this.focusedItem&&this.canDelete(this.focusedItem)&&(this.delete(this.focusedItem),e.preventDefault()),this.focusedImage&&(this.deleteImage(this.focusedImage),e.preventDefault())):(this.dragging?this.reloadPath(this.history[this.historyCursor]):this.canvas&&this.canvas.stopDrag(),e.preventDefault());else{const o=e.key===e.key.toLowerCase(),r=e.key.toUpperCase();if(o){const a=this.focusedItem||(this.parsedPath.path.length?this.parsedPath.path[this.parsedPath.path.length-1]:null);this.canInsertAfter(a,r)&&(this.insert(r,a,!1),e.preventDefault())}else!o&&this.focusedItem&&this.canConvert(this.focusedItem,r)&&(this.insert(r,this.focusedItem,!0),e.preventDefault())}}get decimals(){return this.cfg.snapToGrid?0:this.cfg.decimalPrecision}ngAfterViewInit(){setTimeout(()=>{this.zoomAuto()},0)}get rawPath(){return this._rawPath}set rawPath(e){this._rawPath=e,this.pushHistory()}setIsDragging(e){this.dragging=e,this.setHistoryDisabled(e),e||(this.draggedIsNew=!1)}setCursorPosition(e){this.cursorPosition=e}setHistoryDisabled(e){this.historyDisabled=e,e||this.pushHistory()}pushHistory(){!this.historyDisabled&&this.rawPath!==this.history[this.historyCursor]&&(this.historyCursor++,this.history.splice(this.historyCursor,this.history.length-this.historyCursor,this.rawPath),this.storage.addPath(null,this.rawPath))}canUndo(){return this.historyCursor>0&&!this.isEditingImages}undo(){this.canUndo()&&(this.historyDisabled=!0,this.historyCursor--,this.reloadPath(this.history[this.historyCursor]),this.historyDisabled=!1)}canRedo(){return this.historyCursor0}canInsertAfter(e,i){let o=null;return null!==e?o=e.getType().toUpperCase():this.parsedPath.path.length>0&&(o=this.parsedPath.path[this.parsedPath.path.length-1].getType().toUpperCase()),o?"M"===o?"M"!==i&&"Z"!==i&&"T"!==i&&"S"!==i:"Z"===o?"Z"!==i&&"T"!==i&&"S"!==i:"C"===o||"S"===o?"T"!==i:("Q"===o||"T"===o||"T"!==i)&&"S"!==i:"Z"!==i}canConvert(e,i){const o=this.parsedPath.path.indexOf(e);return 0!==o&&o>0&&this.canInsertAfter(this.parsedPath.path[o-1],i)}getTooltip(e,i){return{M:["x","y"],m:["dx","dy"],L:["x","y"],l:["dx","dy"],V:["y"],v:["dy"],H:["x"],h:["dx"],C:["x1","y1","x2","y2","x","y"],c:["dx1","dy1","dx2","dy2","dx","dy"],S:["x2","y2","x","y"],s:["dx2","dy2","dx","dy"],Q:["x1","y1","x","y"],q:["dx1","dy1","dx","dy"],T:["x","y"],t:["dx","dy"],A:["rx","ry","x-axis-rotation","large-arc-flag","sweep-flag","x","y"],a:["rx","ry","x-axis-rotation","large-arc-flag","sweep-flag","dx","dy"]}[e.getType()][i]}openPath(e,i){this.pathName=i,this.history=[],this.historyCursor=-1,this.reloadPath(e,!0)}reloadPath(e,i=!1){this.hoveredItem=null,this.focusedItem=null,this.rawPath=e,this.invalidSyntax=!1;try{this.parsedPath=new aa(this.rawPath),this.reloadPoints(),i&&this.zoomAuto()}catch{this.invalidSyntax=!0,this.parsedPath||(this.parsedPath=new aa(""))}}reloadPoints(){this.targetPoints=this.parsedPath.targetLocations(),this.controlPoints=this.parsedPath.controlLocations()}toggleLeftPanel(){this.isLeftPanelOpened=!this.isLeftPanelOpened}deleteImage(e){this.images.splice(this.images.indexOf(e),1),this.focusedImage=null}addImage(e){this.focusedImage=e,this.images.push(e)}cancelAddImage(){0===this.images.length&&(this.isEditingImages=!1,this.focusedImage=null)}toggleImageEditing(e){this.isEditingImages=!this.isEditingImages,this.focusedImage=null,this.focusedItem=null,this.isEditingImages&&0===this.images.length&&e.openDialog()}focusItem(e){if(e!==this.focusedItem&&(this.focusedItem=e,this.focusedItem)){const i=this.parsedPath.path.indexOf(this.focusedItem);document.getElementById(`svg_command_row_${i}`)?.scrollIntoView({behavior:"smooth",block:"nearest"})}}static#e=this.\u0275fac=function(i){return new(i||t)(p(nc),p(Tl),p(Kt),p(Ro))};static#t=this.\u0275cmp=ae({type:t,selectors:[["app-root"]],viewQuery:function(i,o){if(1&i&&Ge(a1,5),2&i){let r;re(r=se())&&(o.canvas=r.first)}},hostBindings:function(i,o){1&i&&A("keydown",function(s){return o.onKeyDown(s)},0,tx)},decls:43,vars:42,consts:[["uploader",""],["appMenu","matMenu"],["appCreate","matMenu"],["appImage","matMenu"],[2,"display","flex","flex-direction","row","height","100%"],["class","left-column-wrapper",4,"ngIf"],[1,"drawings"],["mat-raised-button","","class","left-column-open",3,"click",4,"ngIf"],["mat-mini-fab","","color","accent","class","add-button",3,"ngStyle","ngClass","matMenuTriggerFor","matMenuTriggerData","menuOpened","menuClosed",4,"ngIf"],["class","cursor-position",4,"ngIf"],[1,"scene-top-actions"],["mat-mini-fab","","color","primary","matTooltip","Undo","matTooltipPosition","below",3,"click","disabled"],["mat-mini-fab","","color","primary","matTooltip","Redo","matTooltipPosition","below",3,"click","disabled"],[1,"add-image-button",3,"addImage","cancel"],["mat-mini-fab","","matTooltipPosition","below",2,"margin-right","24px","margin-left","24px",3,"click","color","matTooltip"],[2,"margin-right","8px",3,"path","name"],[3,"path"],[1,"scene-bottom-actions"],["mat-mini-fab","","color","primary","matTooltip","Snap to Grid","matTooltipPosition","left",3,"click"],["mat-mini-fab","","color","primary","matTooltip","Zoom In","matTooltipPosition","left",2,"margin-top","24px",3,"click"],["svgIcon","zoom_in"],["mat-mini-fab","","color","primary","matTooltip","Zoom to Fit","matTooltipPosition","left",3,"click"],["svgIcon","zoom_fit"],["mat-mini-fab","","color","primary","matTooltip","Zoom Out","matTooltipPosition","left",3,"click"],["svgIcon","zoom_out"],["xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink","app-canvas","",3,"draggedPointChange","focusedItemChange","hoveredItemChange","wasCanvasDraggedChange","afterModelChange","dragging","canvasWidthChange","canvasHeightChange","emptyCanvas","viewPort","focusedImageChange","cursorPosition","ngClass","parsedPath","targetPoints","controlPoints","draggedPoint","focusedItem","hoveredItem","wasCanvasDragged","draggedIsNew","decimals","viewPortX","viewPortY","viewPortWidth","viewPortHeight","strokeWidth","preview","filled","showTicks","tickInterval","editImages","images","focusedImage"],["class","footer",4,"ngIf"],[3,"importPath"],["xPosition","before"],["matMenuContent",""],[1,"left-column-wrapper"],["mat-raised-button","",1,"left-column-close",3,"click"],["cdk-scrollable","",1,"left-column"],["panelTitle","Path",3,"panelInfo","opened"],[1,"row"],[1,"input-block",2,"flex-grow","1"],[1,"opaque"],["placeholder","Paste any SVG path here","matTooltip","Invalid path","matTooltipPosition","below","matTooltipClass","app-tooltip",1,"app-input",2,"height","100px",3,"ngModelChange","focus","blur","ngModel","matTooltipDisabled"],[1,"path-buttons"],[2,"margin-left","6px",3,"openPath"],[3,"nameChange","path","name"],["mat-mini-fab","","color","primary","matTooltip","Clear path","matTooltipPosition","below","matTooltipClass","app-tooltip",2,"transform","none","margin","0 4px",3,"click"],["mat-mini-fab","","color","accent","matTooltip","Append new command","matTooltipPosition","below","matTooltipClass","app-tooltip",2,"transform","none","margin","0 10px 0 auto",3,"matMenuTriggerFor","matMenuTriggerData"],["panelTitle","Configuration",3,"opened"],[1,"input-block",3,"ngClass"],["appFormatter","",1,"app-input",3,"numberValueChange","numberValue","disabled"],["appFormatter","","formatterType","positive-float",1,"app-input",3,"numberValueChange","numberValue","disabled"],["mat-flat-button","","matTooltipPosition","right",1,"mat-flat-button",3,"click","matTooltip"],[4,"ngIf"],[2,"flex","1",3,"ngModelChange","ngModel"],["matTooltip","Number of decimals to keep when a point is dragged","matTooltipPosition","right",1,"input-block",2,"flex","1",3,"matTooltipDisabled","ngClass"],["appFormatter","","formatterType","positive-integer",1,"app-input",3,"numberValueChange","numberValue","disabled"],[1,"input-block",2,"flex","1",3,"ngClass"],["panelTitle","Path Operations",3,"opened"],[1,"row","path-operations-grid"],[1,"input-block",2,"flex","1"],["appFormatter","",1,"app-input",3,"numberValueChange","numberValue"],["mat-flat-button","","matTooltip","Scale the full path with provided values","matTooltipPosition","right",1,"mat-flat-button",2,"flex","1",3,"click"],["mat-flat-button","","matTooltip","Translate the full path with provided values","matTooltipPosition","right",1,"mat-flat-button",2,"flex","1",3,"click"],[1,"row","path-operations-grid4"],["appFormatter","","suffix","\xb0",1,"app-input",3,"numberValueChange","numberValue"],["mat-flat-button","","matTooltip","Rotate the full path by the given angle in degrees about the given point","matTooltipPosition","right",1,"mat-flat-button",2,"flex","1",3,"click"],[1,"input-block",2,"grid-column","span 2"],["appFormatter","","formatterType","positive-integer",1,"app-input",3,"numberValueChange","numberValue"],["mat-flat-button","","matTooltip","Round all values, input the number of decimals to keep","matTooltipPosition","right",1,"mat-flat-button",2,"flex","1",3,"click"],["mat-flat-button","","matTooltip","Convert all commands to relative",1,"mat-flat-button",2,"flex","1",3,"click"],["mat-flat-button","","matTooltip","Convert all commands to absolute",1,"mat-flat-button",2,"flex","1",3,"click"],["mat-flat-button","","matTooltip","Reverve path commands",1,"mat-flat-button",2,"flex","1",3,"click"],["mat-flat-button","","matTooltip","Optimize the path by removing useless components, changing types and reordering",1,"mat-flat-button",2,"flex","1",3,"click"],["panelTitle","Commands",3,"opened"],["class","row","style","padding-top:1px; padding-bottom:1px;",3,"ngClass","id","mouseenter","mouseleave","click",4,"ngFor","ngForOf"],[1,"spacer"],[1,"row",2,"padding-top","1px","padding-bottom","1px",3,"mouseenter","mouseleave","click","ngClass","id"],[1,"type-token",2,"user-select","none","-webkit-user-select","none",3,"click","ngClass"],[4,"ngFor","ngForOf","ngForTrackBy"],[2,"flex","1"],["mat-icon-button","",1,"more-button",3,"matMenuTriggerFor","matMenuTriggerData"],["svgIcon","more"],["class","small-checkbox","matTooltipClass","app-tooltip",3,"ngModel","matTooltip","ngModelChange","focus",4,"ngIf"],["type","text","appKeyboardNavigable","","keyboardNavigableIdPrefix","svg_command","appFormatter","","class","svg-value app-input","matTooltipClass","app-tooltip",3,"numberValue","id","matTooltip","numberValueChange","focus",4,"ngIf"],["matTooltipClass","app-tooltip",1,"small-checkbox",3,"ngModelChange","focus","ngModel","matTooltip"],["type","text","appKeyboardNavigable","","keyboardNavigableIdPrefix","svg_command","appFormatter","","matTooltipClass","app-tooltip",1,"svg-value","app-input",3,"numberValueChange","focus","numberValue","id","matTooltip"],["mat-raised-button","",1,"left-column-open",3,"click"],["mat-mini-fab","","color","accent",1,"add-button",3,"menuOpened","menuClosed","ngStyle","ngClass","matMenuTriggerFor","matMenuTriggerData"],["svgIcon","more",4,"ngIf"],[1,"cursor-position"],[1,"footer"],["href","https://github.com/Yqnn/svg-path-editor","target","_blank"],["svgIcon","github"],["href","https://github.com/sponsors/Yqnn","target","_blank"],["svgIcon","sponsor",1,"sponsor"],["mat-menu-item","",3,"matMenuTriggerFor","matMenuTriggerData"],["mat-menu-item","",3,"click"],["mat-menu-item","",3,"click","disabled"],["mat-menu-item","",3,"click","disableRipple"],[2,"display","inline-block","width","180px"],["min","0","max","1","step","0.01","color","accent",2,"margin","0 16px","min-width","100px"],["matSliderThumb","",3,"ngModelChange","ngModel"]],template:function(i,o){if(1&i){const r=Ze();g(0,"div",4),B(1,oY,120,64,"div",5),g(2,"div",6),B(3,rY,3,0,"button",7)(4,lY,3,14,"button",8)(5,cY,2,2,"label",9)(6,dY,2,11,"button",8),g(7,"div",10)(8,"button",11),A("click",function(){return k(r),M(o.undo())}),g(9,"mat-icon"),x(10,"undo"),b()(),g(11,"button",12),A("click",function(){return k(r),M(o.redo())}),g(12,"mat-icon"),x(13,"redo"),b()(),g(14,"app-upload-image",13,0),A("addImage",function(a){return k(r),M(o.addImage(a))})("cancel",function(){return k(r),M(o.cancelAddImage())}),b(),g(16,"button",14),A("click",function(){k(r);const a=Nn(15);return M(o.toggleImageEditing(a))}),g(17,"mat-icon"),x(18,"image"),b()(),$(19,"app-export",15)(20,"app-share",16),b(),g(21,"div",17)(22,"button",18),A("click",function(){return k(r),M(o.cfg.snapToGrid=!o.cfg.snapToGrid)}),g(23,"mat-icon"),x(24),b()(),g(25,"button",19),A("click",function(){return k(r),o.cfg.viewPortLocked=!1,M(null==o.canvas?null:o.canvas.zoomViewPort(.9))}),$(26,"mat-icon",20),b(),g(27,"button",21),A("click",function(){return k(r),o.cfg.viewPortLocked=!1,M(o.zoomAuto())}),$(28,"mat-icon",22),b(),g(29,"button",23),A("click",function(){return k(r),o.cfg.viewPortLocked=!1,M(null==o.canvas?null:o.canvas.zoomViewPort(10/9))}),$(30,"mat-icon",24),b()(),jt(),g(31,"svg",25),Me("draggedPointChange",function(a){return k(r),ke(o.draggedPoint,a)||(o.draggedPoint=a),M(a)}),A("focusedItemChange",function(a){return k(r),M(o.focusItem(a))}),Me("hoveredItemChange",function(a){return k(r),ke(o.hoveredItem,a)||(o.hoveredItem=a),M(a)})("wasCanvasDraggedChange",function(a){return k(r),ke(o.wasCanvasDragged,a)||(o.wasCanvasDragged=a),M(a)}),A("afterModelChange",function(){return k(r),M(o.afterModelChange())})("dragging",function(a){return k(r),M(o.setIsDragging(a))})("canvasWidthChange",function(a){return k(r),M(o.canvasWidth=a||o.canvasWidth)})("canvasHeightChange",function(a){return k(r),M(o.canvasHeight=a)})("emptyCanvas",function(){return k(r),M(o.isLeftPanelOpened=!1)})("viewPort",function(a){return k(r),M(o.updateViewPort(a.x,a.y,a.w,a.h,a.force))}),Me("focusedImageChange",function(a){return k(r),ke(o.focusedImage,a)||(o.focusedImage=a),M(a)}),A("cursorPosition",function(a){return k(r),M(o.setCursorPosition(a))}),b()()(),B(32,uY,7,0,"div",26),Jf(),g(33,"app-import",27),A("importPath",function(a){return k(r),M(o.openPath(a,""))}),b(),g(34,"mat-menu",28,1),B(36,mY,17,13,"ng-template",29),b(),g(37,"mat-menu",null,2),B(39,pY,40,10,"ng-template",29),b(),g(40,"mat-menu",null,3),B(42,gY,18,3,"ng-template",29),b()}2&i&&(E("@leftColumnParent",void 0),v(),E("ngIf",o.isLeftPanelOpened),v(2),E("ngIf",!o.isLeftPanelOpened),v(),E("ngIf",(!o.draggedPoint&&o.focusedItem||0===o.parsedPath.path.length)&&!(o.cfg.preview||o.isEditingImages)),v(),E("ngIf",o.cursorPosition),v(),E("ngIf",o.focusedImage&&!o.cfg.preview&&!o.dragging),v(2),E("disabled",!o.canUndo()),v(3),E("disabled",!o.canRedo()),v(3),xe("displayed",o.isEditingImages),v(2),E("color",o.isEditingImages?"accent":"primary")("matTooltip",o.isEditingImages?"":"Toggle image management mode"),v(3),E("path",o.rawPath)("name",o.pathName||""),v(),E("path",o.rawPath),v(4),Dn(" ",o.cfg.snapToGrid?"grid_on":"grid_off",""),v(7),E("ngClass",Yt(40,Gq,o.cfg.preview))("parsedPath",o.parsedPath)("targetPoints",o.targetPoints)("controlPoints",o.controlPoints),Ee("draggedPoint",o.draggedPoint),E("focusedItem",o.focusedItem),Ee("hoveredItem",o.hoveredItem)("wasCanvasDragged",o.wasCanvasDragged),E("draggedIsNew",o.draggedIsNew)("decimals",o.decimals)("viewPortX",o.cfg.viewPortX)("viewPortY",o.cfg.viewPortY)("viewPortWidth",o.cfg.viewPortWidth)("viewPortHeight",o.cfg.viewPortHeight)("strokeWidth",o.strokeWidth)("preview",o.cfg.preview)("filled",o.cfg.filled)("showTicks",o.cfg.showTicks)("tickInterval",o.cfg.tickInterval)("editImages",o.isEditingImages)("images",o.images),Ee("focusedImage",o.focusedImage),W("viewBox",o.cfg.viewPortX+" "+o.cfg.viewPortY+" "+o.cfg.viewPortWidth+" "+o.cfg.viewPortHeight),v(),E("ngIf",o.isLeftPanelOpened))},styles:["[_nghost-%COMP%]{display:block;height:100%}*[_ngcontent-%COMP%]{box-sizing:border-box}.footer[_ngcontent-%COMP%]{position:fixed;left:0;height:28px;width:310px;bottom:0;background-color:#111;font-size:14px;display:flex;justify-content:space-evenly;align-items:center}.footer[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;text-decoration:none;color:#aaa;fill:#aaa}.footer[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{color:#fff;fill:#fff}.footer[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover .sponsor[_ngcontent-%COMP%]{transform:scale(1.1)}.footer[_ngcontent-%COMP%] a[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{width:20px;height:20px;margin:4px 8px 4px 0}.spacer[_ngcontent-%COMP%]{height:32px}.left-column-wrapper[_ngcontent-%COMP%]{width:310px;position:relative}.left-column[_ngcontent-%COMP%]{width:100%;overflow:auto;background-color:#252526;height:calc(100% - 28px)}.left-column-close[_ngcontent-%COMP%], .left-column-open[_ngcontent-%COMP%]{position:absolute;height:52px;top:8px;border-radius:0;min-width:16px;padding:0;margin:0;z-index:10}.left-column-close[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%], .left-column-open[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{margin:0;width:28px;height:28px;font-size:28px}.left-column-close[_ngcontent-%COMP%]{right:-28px}.left-column-open[_ngcontent-%COMP%]{left:0}.left-column[_ngcontent-%COMP%], textarea[_ngcontent-%COMP%]{scrollbar-width:thin}input.svg-value[_ngcontent-%COMP%]{width:38px;text-align:center;font-size:10px;margin-left:1px;margin-right:1px;padding-left:1px;padding-right:1px}.type-token[_ngcontent-%COMP%]{margin:0 1px;font-size:12px;line-height:20px;height:20px;width:20px;text-align:center;background-color:#ff800080;color:#c8c8c8;border-style:solid;border-width:0 0 1px 0;border-radius:2px 2px 0 0;border-color:#c8c8c8;cursor:pointer}.type-token-relative[_ngcontent-%COMP%]{background-color:#8000ff80}.row[_ngcontent-%COMP%] > .type-token[_ngcontent-%COMP%]{flex-shrink:0}div.hovered[_ngcontent-%COMP%]{background-color:#37373d}div.dragged[_ngcontent-%COMP%]{background-color:#094771}.path-buttons[_ngcontent-%COMP%]{display:flex;margin-top:4px;width:100%}textarea[_ngcontent-%COMP%]{vertical-align:top}.path-operations-grid[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr 1fr 1fr}.path-operations-grid4[_ngcontent-%COMP%]{display:grid;grid-template-columns:2fr 2fr 2fr 3fr}.drawings[_ngcontent-%COMP%]{--mat-fab-small-touch-target-display: none;flex:1;align-self:stretch;position:relative;overflow:hidden}.drawings[_ngcontent-%COMP%]:hover .add-button[_ngcontent-%COMP%], .drawings[_ngcontent-%COMP%] .add-button.opened[_ngcontent-%COMP%]{display:flex}.drawings[_ngcontent-%COMP%] .add-button[_ngcontent-%COMP%]{display:none;position:absolute}.drawings[_ngcontent-%COMP%] .scene-top-actions[_ngcontent-%COMP%]{position:absolute;right:12px;top:12px}.drawings[_ngcontent-%COMP%] .scene-top-actions[_ngcontent-%COMP%] > button[_ngcontent-%COMP%]{margin-left:8px}.drawings[_ngcontent-%COMP%] .scene-top-actions[_ngcontent-%COMP%] > .add-image-button[_ngcontent-%COMP%]{position:absolute;margin-left:24px;top:0;opacity:0;transition:top .2s,opacity .2s}.drawings[_ngcontent-%COMP%] .scene-top-actions[_ngcontent-%COMP%] > .add-image-button.displayed[_ngcontent-%COMP%]{top:48px;opacity:1}.drawings[_ngcontent-%COMP%] .scene-bottom-actions[_ngcontent-%COMP%]{position:absolute;right:12px;bottom:12px;width:40px}.drawings[_ngcontent-%COMP%] .scene-bottom-actions[_ngcontent-%COMP%] > button[_ngcontent-%COMP%]{margin-top:8px}@media screen and (max-width: 500px){.left-column[_ngcontent-%COMP%]{width:100%}.left-column-wrapper[_ngcontent-%COMP%]{width:100%!important;max-width:none!important}.left-column-close[_ngcontent-%COMP%]{right:0;top:unset;bottom:4px;padding:2px 6px}.footer[_ngcontent-%COMP%]{width:100%}}label.cursor-position[_ngcontent-%COMP%]{position:absolute;font-size:1.5em;font-family:monospace;bottom:16px;left:50%;transform:translate(-50%);padding:4px 16px;background-color:#fffc;color:#111;border-radius:4px;pointer-events:none}"],data:{animation:[gn("leftColumnParent",[nt(":enter",[])]),gn("leftColumn",[ft("*",he({"max-width":"310px"})),nt(":enter",[he({"max-width":"0"}),ht("100ms ease")]),nt(":leave",[ht("100ms ease",he({"max-width":"0"}))])])]}})}return t})(),p1=(()=>{class t{constructor(e){this.el=e,this.formatterType="float",this.numberValue=0,this.suffix="",this.numberValueChange=new J,this.internalValue=0}get viewValue(){return this.el.nativeElement.value}set viewValue(e){this.viewValue!==e&&(this.el.nativeElement.value=e)}onBlur(e){this.internalValue!==parseFloat(this.viewValue)&&(this.viewValue=fc(this.internalValue,4)),""!==this.suffix&&(this.viewValue+=this.suffix)}onFocus(e){""!==this.suffix&&(this.viewValue=this.viewValue.replace(this.suffix,""))}onInput(e){let i="";"float"===this.formatterType&&(i=this.viewValue.replace(/[\u066B,]/g,".").replace(/[^\-0-9.eE]/g,"")),"integer"===this.formatterType&&(i=this.viewValue.replace(/[^\-0-9]/g,"")),"positive-float"===this.formatterType&&(i=this.viewValue.replace(/[\u066B,]/g,".").replace(/[^0-9.eE]/g,"")),"positive-integer"===this.formatterType&&(i=this.viewValue.replace(/[^0-9]/g,"")),this.viewValue=i;const o=parseFloat(i);isNaN(o)||(this.numberValueChange.emit(o),this.internalValue=o)}ngOnChanges(e){e.numberValue&&e.numberValue.currentValue!==parseFloat(this.viewValue)&&(this.viewValue=fc(e.numberValue.currentValue,4)+this.suffix,this.internalValue=e.numberValue.currentValue)}static#e=this.\u0275fac=function(i){return new(i||t)(p(Y))};static#t=this.\u0275dir=O({type:t,selectors:[["","appFormatter",""]],hostBindings:function(i,o){1&i&&A("blur",function(s){return o.onBlur(s)})("focus",function(s){return o.onFocus(s)})("input",function(s){return o.onInput(s)})},inputs:{formatterType:"formatterType",numberValue:"numberValue",suffix:"suffix"},outputs:{numberValueChange:"numberValueChange"},features:[Ht]})}return t})(),_Y=(()=>{class t{constructor(e){this.el=e,this.keyboardNavigableIdPrefix=""}setFocus(e,i,o){const r=document.getElementById(`${this.keyboardNavigableIdPrefix}_${e}_${i}`);return!!r&&(r.focus(),r.select(),o.preventDefault(),!0)}moveFocusTo(e,i){const o=this.el.nativeElement.getAttribute("id")||"";let r=parseInt(o.replace(/.*_([0-9]+)_[0-9]+$/,"$1"),10),s=parseInt(o.replace(/.*_[0-9]+_([0-9]+)$/,"$1"),10);"up"===e&&(r-=1),"down"===e&&(r+=1),"left"===e&&(s-=1),"right"===e&&(s+=1);let a=0;for(;r>=0&&a<3;){if(this.setFocus(r,s,i)||"right"===e&&(this.setFocus(r,s+1,i)||this.setFocus(r+1,0,i)))return;if("left"===e){if(s>0&&this.setFocus(r,s-1,i))return;let c=7;for(;c>=0;)if(c--,this.setFocus(r-1,c,i))return}let l=s;for(;("down"===e||"up"===e)&&l>0;)if(l--,this.setFocus(r,l,i))return;a++,"up"===e||"left"===e?r--:r++}}onKeydown(e){const i=this.el.nativeElement.selectionStart;i===this.el.nativeElement.selectionEnd&&(0===i&&("ArrowLeft"===e.key&&this.moveFocusTo("left",e),"ArrowUp"===e.key&&this.moveFocusTo("up",e)),i===this.el.nativeElement.value.length&&("ArrowRight"===e.key&&this.moveFocusTo("right",e),"ArrowDown"===e.key&&this.moveFocusTo("down",e)))}static#e=this.\u0275fac=function(i){return new(i||t)(p(Y))};static#t=this.\u0275dir=O({type:t,selectors:[["","appKeyboardNavigable",""]],hostBindings:function(i,o){1&i&&A("keydown",function(s){return o.onKeydown(s)})},inputs:{keyboardNavigableIdPrefix:"keyboardNavigableIdPrefix"}})}return t})();const bY=["*"];function vY(t,n){if(1&t&&(g(0,"div",4),x(1),b()),2&t){const e=w();v(),zn(e.panelInfo)}}function yY(t,n){1&t&&(g(0,"div",5)(1,"div",6,0),Ae(3),b()()),2&t&&E("@openClose",void 0)}let wY=(()=>{class t{constructor(){this.opened=!0,this.panelTitle="",this.panelInfo=""}toggle(){this.opened=!this.opened}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275cmp=ae({type:t,selectors:[["app-expandable"]],inputs:{opened:"opened",panelTitle:"panelTitle",panelInfo:"panelInfo"},ngContentSelectors:bY,decls:7,vars:4,consts:[["contentWrapper",""],[1,"title",2,"margin-top","0",3,"click"],["class","panel-info",4,"ngIf"],["class","panel",4,"ngIf"],[1,"panel-info"],[1,"panel"],[2,"padding-top","2px","padding-bottom","6px"]],template:function(i,o){1&i&&(an(),g(0,"div",1),A("click",function(){return o.toggle()}),g(1,"span"),x(2),b(),B(3,vY,2,1,"div",2),g(4,"mat-icon"),x(5),b()(),B(6,yY,4,1,"div",3)),2&i&&(v(2),zn(o.panelTitle),v(),E("ngIf",o.panelInfo),v(2),zn(o.opened?"expand_more":"expand_less"),v(),E("ngIf",o.opened))},dependencies:[lr,Ii],styles:["[_nghost-%COMP%]{margin-bottom:2px;display:block}div.title[_ngcontent-%COMP%]{color:#fff;cursor:pointer;background-color:#383838;margin:0;padding:2px 8px;font-size:14px;font-weight:400;text-transform:uppercase;display:flex;align-items:center;user-select:none;-webkit-user-select:none}div.title[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{flex-grow:1}div.title[_ngcontent-%COMP%] .panel-info[_ngcontent-%COMP%]{color:#c8c8c8;font-style:italic;font-size:.9em;padding-right:4px}.panel[_ngcontent-%COMP%]{transition:max-height .2s}.ng-animating[_ngcontent-%COMP%]{overflow:hidden}"],data:{animation:[gn("openClose",[ft("*",he({height:"*"})),nt(":enter",[he({height:"0"}),ht("100ms ease")]),nt(":leave",[ht("100ms ease",he({height:"0"}))])])]}})}return t})();function xY(t,n){1&t&&(g(0,"th",18),x(1," Name "),b())}function CY(t,n){if(1&t&&(g(0,"td",19),x(1),b()),2&t){const e=n.$implicit;v(),Dn(" ",e.name," ")}}function DY(t,n){1&t&&(g(0,"th",20),x(1," Creation Date "),b())}function EY(t,n){if(1&t&&(g(0,"td",19),x(1),b()),2&t){const e=n.$implicit,i=w();v(),Dn(" ",i.formatDate(e.creationDate)," ")}}function kY(t,n){1&t&&(g(0,"th",20),x(1," Change Date "),b())}function MY(t,n){if(1&t&&(g(0,"td",19),x(1),b()),2&t){const e=n.$implicit,i=w();v(),Dn(" ",i.formatDate(e.changeDate)," ")}}function IY(t,n){1&t&&$(0,"th",21)}function TY(t,n){if(1&t&&(g(0,"td",19),jt(),g(1,"svg",22),$(2,"path",23),b()()),2&t){const e=n.$implicit,i=w();v(),W("viewBox",i.viewbox(e.path)),v(),W("d",e.path)}}function SY(t,n){1&t&&$(0,"th",24)}function AY(t,n){if(1&t){const e=Ze();g(0,"button",28),A("click",function(o){k(e);const r=w().$implicit;return w().beingRemoved=r.name,M(o.stopPropagation())}),g(1,"mat-icon"),x(2,"delete"),b()()}}function RY(t,n){if(1&t){const e=Ze();He(0),g(1,"button",29),A("click",function(o){return k(e),w(2).beingRemoved=void 0,M(o.stopPropagation())}),g(2,"mat-icon"),x(3,"clear"),b()(),g(4,"button",30),A("click",function(o){k(e);const r=w().$implicit;return w().onRemove(r.name),M(o.stopPropagation())}),g(5,"mat-icon"),x(6,"check"),b()(),je()}}function PY(t,n){if(1&t&&(g(0,"td",25),B(1,AY,3,0,"button",26)(2,RY,7,0,"ng-container",27),b()),2&t){const e=n.$implicit,i=w();v(),E("ngIf",!i.beingRemoved),v(),E("ngIf",i.beingRemoved===e.name)}}function OY(t,n){1&t&&$(0,"tr",31)}function NY(t,n){if(1&t){const e=Ze();g(0,"tr",32),A("click",function(){const o=k(e).$implicit;return M(w().onOpen(o.name))}),b()}}let FY=(()=>{class t{constructor(e,i,o){this.dialogRef=e,this.storageService=i,this.data=o,this.dataSource=new e1(this.storageService.storedPaths.filter(r=>!!r.name)),this.displayedColumns=["preview","name","create","change","actions"],this.sort=null}ngAfterViewInit(){this.dataSource.sort=this.sort,this.dataSource.sortingDataAccessor=(e,i)=>{switch(i){case"change":return new Date(e.changeDate).getTime();case"create":return new Date(e.creationDate).getTime();case"name":return e.name||"";default:return e.path}}}formatDate(e){return new Intl.DateTimeFormat(void 0,{year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"}).format(e)}viewbox(e){const o=new aa(e).targetLocations();if(o.length>0){const r=o.reduce((c,d)=>Math.min(c,d.x),1/0),s=o.reduce((c,d)=>Math.min(c,d.y),1/0);return`${r} ${s} ${o.reduce((c,d)=>Math.max(c,d.x),-1/0)-r} ${o.reduce((c,d)=>Math.max(c,d.y),-1/0)-s}`}return"0 0 0 0"}onOpen(e){this.dialogRef.close({name:e})}onCancel(){this.dialogRef.close()}onRemove(e){this.storageService.removePath(e),this.dataSource=new e1(this.storageService.storedPaths.filter(i=>!!i.name)),this.beingRemoved=void 0}static#e=this.\u0275fac=function(i){return new(i||t)(p(Zi),p(Ro),p(na))};static#t=this.\u0275cmp=ae({type:t,selectors:[["app-open-dialog"]],viewQuery:function(i,o){if(1&i&&Ge(av,5),2&i){let r;re(r=se())&&(o.sort=r.first)}},decls:24,vars:3,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["mat-table","","matSort","",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","create"],["mat-header-cell","","mat-sort-header","","style","width:180px",4,"matHeaderCellDef"],["matColumnDef","change"],["matColumnDef","preview"],["mat-header-cell","","style","width:74px",4,"matHeaderCellDef"],["matColumnDef","actions"],["mat-header-cell","","style","width:122px",4,"matHeaderCellDef"],["mat-cell","","style","text-align: center;",4,"matCellDef"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",3,"click",4,"matRowDef","matRowDefColumns"],["mat-dialog-actions","","align","end"],["mat-raised-button","","color","primary",3,"click"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],["mat-header-cell","","mat-sort-header","",2,"width","180px"],["mat-header-cell","",2,"width","74px"],["width","50","height","50","xmlns","http://www.w3.org/2000/svg",2,"margin","6px 16px 4px 8px"],["fill","white"],["mat-header-cell","",2,"width","122px"],["mat-cell","",2,"text-align","center"],["mat-mini-fab","","color","primary","matTooltip","Delete","matTooltipPosition","below","matTooltipClass","app-tooltip",3,"click",4,"ngIf"],[4,"ngIf"],["mat-mini-fab","","color","primary","matTooltip","Delete","matTooltipPosition","below","matTooltipClass","app-tooltip",3,"click"],["mat-mini-fab","","color","primary","matTooltip","Cancel","matTooltipPosition","below","matTooltipClass","app-tooltip",2,"margin-right","8px",3,"click"],["mat-mini-fab","","color","warn","matTooltip","Confirm Deletion","matTooltipPosition","below","matTooltipClass","app-tooltip",3,"click"],["mat-header-row",""],["mat-row","",3,"click"]],template:function(i,o){1&i&&(g(0,"h1",0),x(1,"Open path"),b(),g(2,"div",1)(3,"table",2),He(4,3),B(5,xY,2,0,"th",4)(6,CY,2,1,"td",5),je(),He(7,6),B(8,DY,2,0,"th",7)(9,EY,2,1,"td",5),je(),He(10,8),B(11,kY,2,0,"th",7)(12,MY,2,1,"td",5),je(),He(13,9),B(14,IY,1,0,"th",10)(15,TY,3,2,"td",5),je(),He(16,11),B(17,SY,1,0,"th",12)(18,PY,3,2,"td",13),je(),B(19,OY,1,0,"tr",14)(20,NY,1,0,"tr",15),b()(),g(21,"div",16)(22,"button",17),A("click",function(){return o.onCancel()}),x(23,"Cancel"),b()()),2&i&&(v(3),E("dataSource",o.dataSource),v(16),E("matHeaderRowDef",o.displayedColumns),v(),E("matRowDefColumns",o.displayedColumns))},dependencies:[lr,ko,Cr,Ii,Mo,kr,Ir,Mr,XA,iv,ZA,ov,nv,KA,rv,sv,QA,JA,av,mq],styles:["table[_ngcontent-%COMP%]{margin:0 -24px;width:calc(100% + 48px)}.mat-sort-header[_ngcontent-%COMP%]{-webkit-user-select:none;user-select:none}.mat-row[_ngcontent-%COMP%]{cursor:pointer}th.mat-header-cell[_ngcontent-%COMP%]:first-of-type, td.mat-cell[_ngcontent-%COMP%]:first-of-type, td.mat-footer-cell[_ngcontent-%COMP%]:first-of-type{padding-left:8px}"]})}return t})(),LY=(()=>{class t{constructor(e,i){this.dialog=e,this.storageService=i,this.openPath=new J}openDialog(){this.dialog.open(FY,{width:"800px",panelClass:"dialog",autoFocus:!1}).afterClosed().subscribe(i=>{if(i){const o=this.storageService.getPath(i.name);o&&o.name&&o.path&&this.openPath.emit({name:o.name,path:o.path})}})}static#e=this.\u0275fac=function(i){return new(i||t)(p(Ki),p(Ro))};static#t=this.\u0275cmp=ae({type:t,selectors:[["app-open"]],outputs:{openPath:"openPath"},decls:3,vars:1,consts:[["mat-mini-fab","","color","primary","matTooltip","Open","matTooltipPosition","below","matTooltipClass","app-tooltip",2,"transform","none","margin","0 4px",3,"click","disabled"]],template:function(i,o){1&i&&(g(0,"button",0),A("click",function(){return o.openDialog()}),g(1,"mat-icon"),x(2,"folder_open"),b()()),2&i&&E("disabled",o.storageService.isEmpty())},dependencies:[Cr,Ii,Mo]})}return t})();function VY(t,n){1&t&&(g(0,"p"),x(1," A path with this name already exists, press "),g(2,"i"),x(3,"Replace"),b(),x(4," to replace it. "),b())}function BY(t,n){1&t&&(g(0,"p"),x(1," Press "),g(2,"i"),x(3,"Save"),b(),x(4," to save current path in your browser. "),b())}function HY(t,n){1&t&&(He(0),x(1,"Save"),je())}function jY(t,n){1&t&&(He(0),x(1,"Replace"),je())}let zY=(()=>{class t{constructor(e,i,o){this.dialogRef=e,this.storageService=i,this.data=o}onCancel(){this.dialogRef.close()}onSave(){this.dialogRef.close(this.data)}static#e=this.\u0275fac=function(i){return new(i||t)(p(Zi),p(Ro),p(na))};static#t=this.\u0275cmp=ae({type:t,selectors:[["app-save-dialog"]],decls:15,vars:6,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[2,"width","100%"],["matInput","","cdkFocusInitial","",3,"ngModelChange","ngModel"],[4,"ngIf"],["mat-dialog-actions","","align","end"],["mat-raised-button","","color","primary",3,"click"],["mat-raised-button","","color","accent",3,"click","disabled"]],template:function(i,o){1&i&&(g(0,"h1",0),x(1,"Save path"),b(),g(2,"div",1)(3,"mat-form-field",2)(4,"mat-label"),x(5,"Name"),b(),g(6,"input",3),Me("ngModelChange",function(s){return ke(o.data.name,s)||(o.data.name=s),s}),b()(),B(7,VY,5,0,"p",4)(8,BY,5,0,"p",4),b(),g(9,"div",5)(10,"button",6),A("click",function(){return o.onCancel()}),x(11,"Cancel"),b(),g(12,"button",7),A("click",function(){return o.onSave()}),B(13,HY,2,0,"ng-container",4)(14,jY,2,0,"ng-container",4),b()()),2&i&&(v(6),Ee("ngModel",o.data.name),v(),E("ngIf",o.storageService.hasPath(o.data.name)),v(),E("ngIf",!o.storageService.hasPath(o.data.name)),v(4),E("disabled",!o.data.name),v(),E("ngIf",!o.storageService.hasPath(o.data.name)),v(),E("ngIf",o.storageService.hasPath(o.data.name)))},dependencies:[lr,_o,Hs,dr,wh,yh,Js,ko,kr,Ir,Mr],encapsulation:2})}return t})(),UY=(()=>{class t{constructor(e,i){this.dialog=e,this.storageService=i,this.path="",this.name="",this.nameChange=new J}openDialog(){let e=this.name;if(!e){let o=1;for(e="My path";this.storageService.hasPath(e);)e=`My path ${o}`,o++}this.dialog.open(zY,{width:"350px",panelClass:"dialog",data:{name:e}}).afterClosed().subscribe(o=>{o&&(this.storageService.addPath(o.name,this.path),this.name=o.name,this.nameChange.emit(this.name))})}static#e=this.\u0275fac=function(i){return new(i||t)(p(Ki),p(Ro))};static#t=this.\u0275cmp=ae({type:t,selectors:[["app-save"]],inputs:{path:"path",name:"name"},outputs:{nameChange:"nameChange"},decls:3,vars:0,consts:[["mat-mini-fab","","color","primary","matTooltip","Save","matTooltipPosition","below","matTooltipClass","app-tooltip",2,"transform","none","margin","0 4px",3,"click"]],template:function(i,o){1&i&&(g(0,"button",0),A("click",function(){return o.openDialog()}),g(1,"mat-icon"),x(2,"save"),b()())},dependencies:[Cr,Ii,Mo]})}return t})(),g1=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275cmp=ae({type:t,selectors:[["app-copied-snackbar"]],decls:5,vars:0,consts:[[2,"display","flex","align-items","center"],[1,"mat-simple-snackbar",2,"flex","1"]],template:function(i,o){1&i&&(g(0,"div",0)(1,"span",1),x(2,"Copied to clipboard"),b(),g(3,"mat-icon"),x(4,"content_pasted"),b()())},dependencies:[Ii],encapsulation:2})}return t})(),fv=(()=>{class t{constructor(){this.fillColor="#000000",this.path=""}ngOnInit(){if(void 0===this.x||void 0===this.y||void 0===this.width||void 0===this.height){const e=dv(this.path);this.x=e.x,this.y=e.y,this.width=e.width,this.height=e.height}}patternScale(e,i){return Math.max((this.width??0)/e,(this.height??0)/i)}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275cmp=ae({type:t,selectors:[["app-path-preview"]],inputs:{x:"x",y:"y",width:"width",height:"height",fillColor:"fillColor",strokeColor:"strokeColor",strokeWidth:"strokeWidth",path:"path"},decls:9,vars:14,consts:[["width","300","height","300","xmlns","http://www.w3.org/2000/svg"],["id","preview-pattern","x","0","y","0","width","16","height","16","patternUnits","userSpaceOnUse"],["x","0","y","0","width","16","height","16","fill","white"],["x","0","y","0","width","8","height","8","fill","#cccccc"],["x","8","y","8","width","8","height","8","fill","#cccccc"],["id","preview-clippath"],["fill","url(#preview-pattern)"],["clip-path","url(#preview-clippath)"]],template:function(i,o){1&i&&(jt(),g(0,"svg",0)(1,"pattern",1),$(2,"rect",2)(3,"rect",3)(4,"rect",4),b(),g(5,"clipPath",5),$(6,"rect"),b(),$(7,"rect",6)(8,"path",7),b()),2&i&&(W("viewBox",o.x+" "+o.y+" "+o.width+" "+o.height),v(),W("patternTransform","scale("+o.patternScale(400,400)+")"),v(5),W("x",o.x)("y",o.y)("width",o.width)("height",o.height),v(),W("x",o.x)("y",o.y)("width",o.width)("height",o.height),v(),W("d",o.path)("fill",o.fillColor||"none")("stroke-width",o.strokeWidth)("stroke",o.strokeColor||"none"))},encapsulation:2})}return t})(),$Y=(()=>{class t{constructor(e,i,o,r,s){this.dialogRef=e,this.storageService=i,this.data=o,this.cfg=r,this.snackBar=s,this.x=0,this.y=0,this.width=0,this.height=0,this.refreshViewbox()}download(e,i){const o=new Blob([i],{type:"image/svg+xml"}),r=document.createElement("a");r.href=window.URL.createObjectURL(o),r.setAttribute("download",e),r.style.display="none",document.body.appendChild(r),r.click(),document.body.removeChild(r),setTimeout(()=>window.URL.revokeObjectURL(r.href),100)}copyToClipboard(e){navigator.clipboard.writeText(e),this.snackBar.openFromComponent(g1,{horizontalPosition:"center",verticalPosition:"top",duration:2e3})}makeSVG(){return`\n\t\n`}onCancel(){this.dialogRef.close()}onExport(){const e=this.makeSVG();this.download(this.data.name||"svg-path.svg",e),this.dialogRef.close()}onCopyToClipboard(){const e=this.makeSVG();this.copyToClipboard(e)}refreshViewbox(){if(new aa(this.data.path).targetLocations().length>0){const o=dv(this.data.path);this.x=o.x,this.y=o.y,this.width=o.width,this.height=o.height,this.cfg.stroke&&(this.x-=this.cfg.strokeWidth,this.y-=this.cfg.strokeWidth,this.width+=2*this.cfg.strokeWidth,this.height+=2*this.cfg.strokeWidth),this.x=parseFloat(this.x.toPrecision(6)),this.y=parseFloat(this.y.toPrecision(6)),this.width=parseFloat(this.width.toPrecision(4)),this.height=parseFloat(this.height.toPrecision(4))}}static#e=this.\u0275fac=function(i){return new(i||t)(p(Zi),p(Ro),p(na),p(Si),p(Nb))};static#t=this.\u0275cmp=ae({type:t,selectors:[["app-export-dialog"]],decls:64,vars:21,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[1,"export-content"],[1,"export-form"],[1,"style-form-title"],[1,"style-form-fill"],[1,"example-margin",3,"ngModelChange","ngModel"],["matInput","",3,"ngModelChange","ngModel","disabled"],[1,"style-form-stroke"],[1,"style-form-stroke-fields"],[1,"style-form-stroke-field"],[1,"viewbox-form-title"],["mat-flat-button","","color","basic",1,"reset-button",3,"click"],[1,"viewbox-form-field"],["matInput","","appFormatter","",3,"numberValueChange","numberValue"],["matInput","","appFormatter","","formatterType","positive-float",3,"numberValueChange","numberValue"],[1,"preview"],[3,"x","y","width","height","path","fillColor","strokeColor","strokeWidth"],["mat-dialog-actions","","align","end"],["mat-raised-button","","color","primary",3,"click"],["mat-raised-button","","color","accent",3,"click","disabled"]],template:function(i,o){1&i&&(g(0,"h1",0),x(1,"Export as SVG"),b(),g(2,"div",1)(3,"div",2)(4,"div",3)(5,"div",4),x(6," Style "),b(),g(7,"div",5)(8,"div")(9,"mat-checkbox",6),A("ngModelChange",function(s){return o.cfg.fill=s,o.cfg.stroke=o.cfg.stroke||!s}),x(10,"Fill"),b()(),g(11,"mat-form-field")(12,"mat-label"),x(13,"Fill Color"),b(),g(14,"input",7),Me("ngModelChange",function(s){return ke(o.cfg.fillColor,s)||(o.cfg.fillColor=s),s}),b()()(),g(15,"div",8)(16,"div")(17,"mat-checkbox",6),A("ngModelChange",function(s){return o.cfg.stroke=s,o.cfg.fill=o.cfg.fill||!s}),x(18,"Stroke"),b()(),g(19,"div",9)(20,"div",10)(21,"mat-form-field")(22,"mat-label"),x(23,"Stroke Color"),b(),g(24,"input",7),Me("ngModelChange",function(s){return ke(o.cfg.strokeColor,s)||(o.cfg.strokeColor=s),s}),b()()(),g(25,"div",10)(26,"mat-form-field")(27,"mat-label"),x(28,"Stroke width"),b(),g(29,"input",7),Me("ngModelChange",function(s){return ke(o.cfg.strokeWidth,s)||(o.cfg.strokeWidth=s),s}),b()()()()(),g(30,"div",11)(31,"div"),x(32,"ViewBox"),b(),g(33,"button",12),A("click",function(){return o.refreshViewbox()}),x(34,"Reset"),b()(),g(35,"div",13)(36,"mat-form-field")(37,"mat-label"),x(38,"X"),b(),g(39,"input",14),Me("numberValueChange",function(s){return ke(o.x,s)||(o.x=s),s}),b()()(),g(40,"div",13)(41,"mat-form-field")(42,"mat-label"),x(43,"Y"),b(),g(44,"input",14),Me("numberValueChange",function(s){return ke(o.y,s)||(o.y=s),s}),b()()(),g(45,"div",13)(46,"mat-form-field")(47,"mat-label"),x(48,"Width"),b(),g(49,"input",15),Me("numberValueChange",function(s){return ke(o.width,s)||(o.width=s),s}),b()()(),g(50,"div",13)(51,"mat-form-field")(52,"mat-label"),x(53,"Height"),b(),g(54,"input",15),Me("numberValueChange",function(s){return ke(o.height,s)||(o.height=s),s}),b()()()(),g(55,"div",16),$(56,"app-path-preview",17),b()()(),g(57,"div",18)(58,"button",19),A("click",function(){return o.onCancel()}),x(59,"Cancel"),b(),g(60,"button",19),A("click",function(){return o.onCopyToClipboard()}),x(61," Copy to clipboard "),b(),g(62,"button",20),A("click",function(){return o.onExport()}),x(63," Download "),b()()),2&i&&(v(9),E("ngModel",o.cfg.fill),v(5),Ee("ngModel",o.cfg.fillColor),E("disabled",!o.cfg.fill),v(3),E("ngModel",o.cfg.stroke),v(7),Ee("ngModel",o.cfg.strokeColor),E("disabled",!o.cfg.stroke),v(5),Ee("ngModel",o.cfg.strokeWidth),E("disabled",!o.cfg.stroke),v(10),Ee("numberValue",o.x),v(5),Ee("numberValue",o.y),v(5),Ee("numberValue",o.width),v(5),Ee("numberValue",o.height),v(2),E("x",o.x)("y",o.y)("width",o.width)("height",o.height)("path",o.data.path)("fillColor",o.cfg.fill?o.cfg.fillColor:"none")("strokeColor",o.cfg.stroke?o.cfg.strokeColor:"none")("strokeWidth",o.cfg.strokeWidth),v(6),E("disabled",!1))},dependencies:[_o,Hs,dr,wh,yh,Js,ko,ic,kr,Ir,Mr,p1,fv],styles:["mat-form-field[_ngcontent-%COMP%]{width:100%}.export-content[_ngcontent-%COMP%]{display:flex;align-items:flex-start;flex-wrap:wrap}.export-content[_ngcontent-%COMP%] .export-form[_ngcontent-%COMP%]{flex:1;display:flex;flex-wrap:wrap;justify-content:space-between}.export-content[_ngcontent-%COMP%] .export-form[_ngcontent-%COMP%] .style-form-title[_ngcontent-%COMP%]{width:100%;margin-bottom:8px}.export-content[_ngcontent-%COMP%] .export-form[_ngcontent-%COMP%] .style-form-fill[_ngcontent-%COMP%]{width:calc(33% - 4px)}.export-content[_ngcontent-%COMP%] .export-form[_ngcontent-%COMP%] .style-form-stroke[_ngcontent-%COMP%]{width:calc(67% - 4px)}.export-content[_ngcontent-%COMP%] .export-form[_ngcontent-%COMP%] .style-form-stroke[_ngcontent-%COMP%] .style-form-stroke-fields[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;justify-content:space-between}.export-content[_ngcontent-%COMP%] .export-form[_ngcontent-%COMP%] .style-form-stroke[_ngcontent-%COMP%] .style-form-stroke-fields[_ngcontent-%COMP%] .style-form-stroke-field[_ngcontent-%COMP%]{width:calc(50% - 4px)}.export-content[_ngcontent-%COMP%] .export-form[_ngcontent-%COMP%] .viewbox-form-title[_ngcontent-%COMP%]{width:100%;margin:8px 0;display:flex;align-items:center}.export-content[_ngcontent-%COMP%] .export-form[_ngcontent-%COMP%] .viewbox-form-title[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{flex:1}.export-content[_ngcontent-%COMP%] .export-form[_ngcontent-%COMP%] .viewbox-form-field[_ngcontent-%COMP%]{width:calc(25% - 6px)}.export-content[_ngcontent-%COMP%] .preview[_ngcontent-%COMP%]{width:324px}.export-content[_ngcontent-%COMP%] .preview[_ngcontent-%COMP%] app-path-preview[_ngcontent-%COMP%]{margin:0 0 0 24px}@media screen and (max-width: 850px){.style-form-fill[_ngcontent-%COMP%], .style-form-stroke[_ngcontent-%COMP%]{width:100%!important}.viewbox-form-field[_ngcontent-%COMP%]{width:calc(50% - 4px)!important}}@media screen and (max-width: 700px){.preview[_ngcontent-%COMP%]{width:100%!important}.preview[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{width:100%!important;margin:0!important}}"]})}return t})(),WY=(()=>{class t{constructor(e){this.dialog=e,this.path="",this.name=""}openDialog(){this.dialog.open($Y,{width:"800px",panelClass:"dialog",data:{path:this.path,name:this.name},autoFocus:!1})}static#e=this.\u0275fac=function(i){return new(i||t)(p(Ki))};static#t=this.\u0275cmp=ae({type:t,selectors:[["app-export"]],inputs:{path:"path",name:"name"},decls:3,vars:0,consts:[["mat-mini-fab","","color","primary","matTooltip","Download as SVG","matTooltipPosition","below",3,"click"]],template:function(i,o){1&i&&(g(0,"button",0),A("click",function(){return o.openDialog()}),g(1,"mat-icon"),x(2,"get_app"),b()())},dependencies:[Cr,Ii,Mo],encapsulation:2})}return t})();function GY(t,n){1&t&&$(0,"img",13),2&t&&E("src",w().displayableData,Am)}let qY=(()=>{class t{constructor(e,i){this.dialogRef=e,this.domSanitizer=i,this.data=null,this.displayableData=null,this.name="",this.x="0",this.y="0",this.width="20",this.height="20",this.preserveAspectRatio=!0}importFile(e){if(void 0!==window.FileReader){const i=new FileReader;i.onload=o=>{this.data=o.target?.result?.toString()??null,this.data&&(this.displayableData=this.domSanitizer.bypassSecurityTrustResourceUrl(this.data))},this.name=e.name,i.readAsDataURL(e)}else alert("FileReader not supported")}onCancel(){this.dialogRef.close()}onUploadImage(){this.dialogRef.close({data:this.data,x1:parseFloat(this.x),y1:parseFloat(this.y),x2:parseFloat(this.x)+parseFloat(this.width),y2:parseFloat(this.y)+parseFloat(this.height),preserveAspectRatio:this.preserveAspectRatio,opacity:1})}onFileSelected(e){typeof FileReader<"u"?e.files&&this.importFile(e.files[0]):alert("FileReader not supported")}onDrop(e){if(e.dataTransfer&&e.dataTransfer.files){const i=e.dataTransfer.files[0];/^image\//.test(i.type)&&this.importFile(i)}e.preventDefault()}onDragOver(e){e.stopPropagation(),e.preventDefault()}static#e=this.\u0275fac=function(i){return new(i||t)(p(Zi),p(Tl))};static#t=this.\u0275cmp=ae({type:t,selectors:[["app-upload-image-dialog"]],decls:35,vars:8,consts:[["fileInput",""],["mat-dialog-title",""],["mat-dialog-content","",1,"upload-image-dialog-content",3,"drop","dragover"],[1,"upload-button-row"],["type","button","mat-raised-button","",3,"click","drop"],["class","preview",3,"src",4,"ngIf"],[1,"filename"],["matInput","",3,"ngModelChange","ngModel"],[1,"example-margin",3,"ngModelChange","ngModel"],["hidden","","accept","image/*","type","file",3,"change"],["mat-dialog-actions","","align","end"],["mat-raised-button","","color","primary",3,"click"],["mat-raised-button","","color","accent",3,"click","disabled"],[1,"preview",3,"src"]],template:function(i,o){if(1&i){const r=Ze();g(0,"h1",1),x(1,"Import image"),b(),g(2,"div",2),A("drop",function(a){return k(r),M(o.onDrop(a))})("dragover",function(a){return k(r),M(o.onDragOver(a))}),g(3,"div",3)(4,"button",4),A("click",function(){return k(r),M(Nn(29).click())})("drop",function(a){return k(r),M(o.onDrop(a))}),x(5,"Choose File"),b(),B(6,GY,1,1,"img",5),g(7,"span",6),x(8),b()(),g(9,"mat-form-field")(10,"mat-label"),x(11,"x"),b(),g(12,"input",7),Me("ngModelChange",function(a){return k(r),ke(o.x,a)||(o.x=a),M(a)}),b()(),g(13,"mat-form-field")(14,"mat-label"),x(15,"y"),b(),g(16,"input",7),Me("ngModelChange",function(a){return k(r),ke(o.y,a)||(o.y=a),M(a)}),b()(),g(17,"mat-form-field")(18,"mat-label"),x(19,"width"),b(),g(20,"input",7),Me("ngModelChange",function(a){return k(r),ke(o.width,a)||(o.width=a),M(a)}),b()(),g(21,"mat-form-field")(22,"mat-label"),x(23,"height"),b(),g(24,"input",7),Me("ngModelChange",function(a){return k(r),ke(o.height,a)||(o.height=a),M(a)}),b()(),g(25,"div")(26,"mat-checkbox",8),Me("ngModelChange",function(a){return k(r),ke(o.preserveAspectRatio,a)||(o.preserveAspectRatio=a),M(a)}),x(27,"Preserve Aspect Ratio"),b()(),g(28,"input",9,0),A("change",function(){k(r);const a=Nn(29);return M(o.onFileSelected(a))}),b()(),g(30,"div",10)(31,"button",11),A("click",function(){return k(r),M(o.onCancel())}),x(32,"Cancel"),b(),g(33,"button",12),A("click",function(){return k(r),M(o.onUploadImage())}),x(34,"Import"),b()()}2&i&&(v(6),E("ngIf",o.data),v(2),zn(o.name),v(4),Ee("ngModel",o.x),v(4),Ee("ngModel",o.y),v(4),Ee("ngModel",o.width),v(4),Ee("ngModel",o.height),v(2),Ee("ngModel",o.preserveAspectRatio),v(7),E("disabled",!o.data))},dependencies:[lr,_o,Hs,dr,wh,yh,Js,ko,ic,kr,Ir,Mr],styles:[".upload-image-dialog-content[_ngcontent-%COMP%]{display:flex;justify-content:space-between;flex-wrap:wrap;padding-bottom:8px}.upload-image-dialog-content[_ngcontent-%COMP%] .upload-button-row[_ngcontent-%COMP%]{width:100%;padding-bottom:16px;display:flex;align-items:center}.upload-image-dialog-content[_ngcontent-%COMP%] .upload-button-row[_ngcontent-%COMP%] .preview[_ngcontent-%COMP%]{max-height:36px;max-width:60px;margin-left:16px}.upload-image-dialog-content[_ngcontent-%COMP%] .upload-button-row[_ngcontent-%COMP%] .filename[_ngcontent-%COMP%]{margin-left:16px;font-style:italic}.upload-image-dialog-content[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%]{width:calc(50% - 4px)}"]})}return t})(),YY=(()=>{class t{constructor(e){this.dialog=e,this.addImage=new J,this.cancel=new J}openDialog(){this.dialog.open(qY,{width:"800px",panelClass:"dialog"}).afterClosed().subscribe(i=>{i?this.addImage.emit(i):this.cancel.emit()})}static#e=this.\u0275fac=function(i){return new(i||t)(p(Ki))};static#t=this.\u0275cmp=ae({type:t,selectors:[["app-upload-image"]],outputs:{addImage:"addImage",cancel:"cancel"},decls:3,vars:0,consts:[["mat-mini-fab","","color","primary","matTooltip","Import image","matTooltipPosition","below",3,"click"]],template:function(i,o){1&i&&(g(0,"button",0),A("click",function(){return o.openDialog()}),g(1,"mat-icon"),x(2,"add_photo_alternate"),b()())},dependencies:[Cr,Ii,Mo],encapsulation:2})}return t})(),XY=(()=>{class t{constructor(e,i){this.dialogRef=e,this.data=i}onConfirm(){this.dialogRef.close(!0)}onCancel(){this.dialogRef.close()}static#e=this.\u0275fac=function(i){return new(i||t)(p(Zi),p(na))};static#t=this.\u0275cmp=ae({type:t,selectors:[["app-import-dialog"]],decls:18,vars:2,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[2,"display","flex"],[3,"path"],[2,"padding","0 32px"],["mat-dialog-actions","","align","end"],["mat-raised-button","","color","primary",3,"click"],["mat-raised-button","","color","accent",3,"click","disabled"]],template:function(i,o){if(1&i&&(g(0,"h1",0),x(1,"Import shared path"),b(),g(2,"div",1)(3,"div",2),$(4,"app-path-preview",3),g(5,"div",4)(6,"p"),x(7," Press "),g(8,"b"),x(9,"Import"),b(),x(10," to import this SVG path in the editor. "),b(),g(11,"p"),x(12," Please note it will erase any unsaved change. "),b()()()(),g(13,"div",5)(14,"button",6),A("click",function(){return o.onCancel()}),x(15,"Discard"),b(),g(16,"button",7),A("click",function(){return o.onConfirm()}),x(17," Import "),b()()),2&i){let r;v(4),E("path",null!==(r=o.data.path)&&void 0!==r?r:""),v(12),E("disabled",!1)}},dependencies:[ko,kr,Ir,Mr,fv],encapsulation:2})}return t})(),ZY=(()=>{class t{constructor(e,i){this.dialog=e,this.storageService=i,this.importPath=new J,this.urlPath=this.readPath()}readPath(){const e=decodeURIComponent(window.location.hash.slice(1));if(/^P=[mMlLvVhHcCsSqQtTaAzZ0-9\-e._,]+$/.test(e)){const o=e.slice(2).replace(/_/g," ");try{return new aa(o),o}catch{}}return""}ngOnInit(){const e=this.storageService.getPath(),i=e&&e.path!==f1;this.urlPath&&this.urlPath!==e?.path&&(i?this.openDialog():this.finalize(!0))}openDialog(){this.dialog.open(XY,{width:"800px",panelClass:"dialog",autoFocus:!1,data:{path:this.urlPath}}).afterClosed().subscribe(i=>{this.finalize(i)})}finalize(e){e&&this.importPath.emit(this.urlPath),window.location.hash=""}static#e=this.\u0275fac=function(i){return new(i||t)(p(Ki),p(Ro))};static#t=this.\u0275cmp=ae({type:t,selectors:[["app-import"]],outputs:{importPath:"importPath"},decls:0,vars:0,template:function(i,o){},encapsulation:2})}return t})();const KY=["input"];let QY=(()=>{class t{constructor(e,i,o){this.dialogRef=e,this.data=i,this.snackBar=o}ngAfterViewInit(){setTimeout(()=>this.selectText())}selectText(){const e=this.inputField?.nativeElement;e?.focus(),e?.select()}onCancel(){this.dialogRef.close()}copy(){this.selectText(),navigator.clipboard.writeText(this.inputField?.nativeElement.value),this.snackBar.openFromComponent(g1,{horizontalPosition:"center",verticalPosition:"top",duration:2e3})}getUrl(){const e=window.location,i=this.data.path?.replace(/ +/g,"_");return`${e.protocol}//${e.host}${e.pathname}#P=${i}`}static#e=this.\u0275fac=function(i){return new(i||t)(p(Zi),p(na),p(Nb))};static#t=this.\u0275cmp=ae({type:t,selectors:[["app-share-dialog"]],viewQuery:function(i,o){if(1&i&&Ge(KY,5),2&i){let r;re(r=se())&&(o.inputField=r.first)}},decls:19,vars:2,consts:[["input",""],["mat-dialog-title",""],["mat-dialog-content",""],[2,"display","flex"],[3,"path"],[2,"padding","0 32px","flex","1"],[2,"width","100%"],["matInput","","readonly","",3,"ngModel"],["mat-icon-button","","matSuffix","","matTooltip","Copy to clipboard",3,"click"],["mat-dialog-actions","","align","end"],["mat-raised-button","","color","primary",3,"click"]],template:function(i,o){if(1&i){const r=Ze();g(0,"h1",1),x(1,"Share path as URL"),b(),g(2,"div",2)(3,"div",3),$(4,"app-path-preview",4),g(5,"div",5)(6,"p"),x(7,"The current path can be shared using the following link:"),b(),g(8,"mat-form-field",6)(9,"mat-label"),x(10,"URL"),b(),$(11,"input",7,0),g(13,"button",8),A("click",function(){return k(r),M(o.copy())}),g(14,"mat-icon"),x(15,"content_pasted"),b()()()()()(),g(16,"div",9)(17,"button",10),A("click",function(){return k(r),M(o.onCancel())}),x(18,"Close"),b()()}if(2&i){let r;v(4),E("path",null!==(r=o.data.path)&&void 0!==r?r:""),v(7),E("ngModel",o.getUrl())}},dependencies:[_o,Hs,dr,wh,yh,Js,hG,ko,US,Ii,Mo,kr,Ir,Mr,fv],encapsulation:2})}return t})(),JY=(()=>{class t{constructor(e,i){this.dialog=e,this.storageService=i,this.path="",this.importPath=new J}openDialog(){this.dialog.open(QY,{width:"800px",panelClass:"dialog",autoFocus:!1,data:{path:this.path}})}static#e=this.\u0275fac=function(i){return new(i||t)(p(Ki),p(Ro))};static#t=this.\u0275cmp=ae({type:t,selectors:[["app-share"]],inputs:{path:"path"},outputs:{importPath:"importPath"},decls:3,vars:0,consts:[["mat-mini-fab","","color","primary","matTooltip","Share as link","matTooltipPosition","below",3,"click"]],template:function(i,o){1&i&&(g(0,"button",0),A("click",function(){return o.openDialog()}),g(1,"mat-icon"),x(2,"share"),b()())},dependencies:[Cr,Ii,Mo],encapsulation:2})}return t})(),eX=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=De({type:t,bootstrap:[m1]});static#n=this.\u0275inj=ve({providers:[{provide:Fb,deps:[Xt],useFactory:e=>()=>e.scrollStrategies.close()},{provide:NS,useValue:{appearance:"fill",floatLabels:"always",color:"accent"}},{provide:yA,useValue:{disableTooltipInteractivity:!0}}],imports:[eM,u6,b5,yG,$S,Eb,HG,ZG,H9,r7,F7,sq,pq,w7,X9,h$,Ih,F$.register("ngsw-worker.js",{enabled:!0,registrationStrategy:"registerWhenStable:30000"})]})}return t})();(function UD(t,n,e){const i=t.\u0275cmp;i.directiveDefs=Nc(n,!1),i.pipeDefs=Nc(e,!0)})(m1,function(){return[Cu,Pg,lr,Fg,_o,Hs,dr,ko,US,Cr,Ii,ic,c9,cc,Rh,P9,B9,Mo,g7,Lb,wY,a1,LY,UY,WY,YY,ZY,JY,p1,_Y]},[]),kz().bootstrapModule(eX).catch(t=>console.error(t))}},ca=>{ca(ca.s=125)}]); \ No newline at end of file diff --git a/erm.frontend/public/svg-path-editor/manifest.webmanifest b/erm.frontend/public/svg-path-editor/manifest.webmanifest new file mode 100644 index 00000000..8b780ea9 --- /dev/null +++ b/erm.frontend/public/svg-path-editor/manifest.webmanifest @@ -0,0 +1,59 @@ +{ + "name": "SvgPathEditor", + "short_name": "SvgPathEditor", + "theme_color": "#111111", + "background_color": "#252526", + "display": "standalone", + "scope": "./", + "start_url": "./", + "icons": [ + { + "src": "assets/icons/icon-72x72.png", + "sizes": "72x72", + "type": "image/png", + "purpose": "maskable any" + }, + { + "src": "assets/icons/icon-96x96.png", + "sizes": "96x96", + "type": "image/png", + "purpose": "maskable any" + }, + { + "src": "assets/icons/icon-128x128.png", + "sizes": "128x128", + "type": "image/png", + "purpose": "maskable any" + }, + { + "src": "assets/icons/icon-144x144.png", + "sizes": "144x144", + "type": "image/png", + "purpose": "maskable any" + }, + { + "src": "assets/icons/icon-152x152.png", + "sizes": "152x152", + "type": "image/png", + "purpose": "maskable any" + }, + { + "src": "assets/icons/icon-192x192.png", + "sizes": "192x192", + "type": "image/png", + "purpose": "maskable any" + }, + { + "src": "assets/icons/icon-384x384.png", + "sizes": "384x384", + "type": "image/png", + "purpose": "maskable any" + }, + { + "src": "assets/icons/icon-512x512.png", + "sizes": "512x512", + "type": "image/png", + "purpose": "maskable any" + } + ] +} diff --git a/erm.frontend/public/svg-path-editor/ngsw-worker.js b/erm.frontend/public/svg-path-editor/ngsw-worker.js new file mode 100644 index 00000000..8715d442 --- /dev/null +++ b/erm.frontend/public/svg-path-editor/ngsw-worker.js @@ -0,0 +1,1863 @@ +(() => { + var __defProp = Object.defineProperty; + var __defProps = Object.defineProperties; + var __getOwnPropDescs = Object.getOwnPropertyDescriptors; + var __getOwnPropSymbols = Object.getOwnPropertySymbols; + var __hasOwnProp = Object.prototype.hasOwnProperty; + var __propIsEnum = Object.prototype.propertyIsEnumerable; + var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value; + var __spreadValues = (a, b) => { + for (var prop in b || (b = {})) + if (__hasOwnProp.call(b, prop)) + __defNormalProp(a, prop, b[prop]); + if (__getOwnPropSymbols) + for (var prop of __getOwnPropSymbols(b)) { + if (__propIsEnum.call(b, prop)) + __defNormalProp(a, prop, b[prop]); + } + return a; + }; + var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b)); + + // bazel-out/darwin_arm64-fastbuild-ST-2e5f3376adb5/bin/packages/service-worker/worker/src/named-cache-storage.mjs + var NamedCacheStorage = class { + constructor(original, cacheNamePrefix) { + this.original = original; + this.cacheNamePrefix = cacheNamePrefix; + } + delete(cacheName) { + return this.original.delete(`${this.cacheNamePrefix}:${cacheName}`); + } + has(cacheName) { + return this.original.has(`${this.cacheNamePrefix}:${cacheName}`); + } + async keys() { + const prefix = `${this.cacheNamePrefix}:`; + const allCacheNames = await this.original.keys(); + const ownCacheNames = allCacheNames.filter((name) => name.startsWith(prefix)); + return ownCacheNames.map((name) => name.slice(prefix.length)); + } + match(request, options) { + return this.original.match(request, options); + } + async open(cacheName) { + const cache = await this.original.open(`${this.cacheNamePrefix}:${cacheName}`); + return Object.assign(cache, { name: cacheName }); + } + }; + + // bazel-out/darwin_arm64-fastbuild-ST-2e5f3376adb5/bin/packages/service-worker/worker/src/adapter.mjs + var Adapter = class { + constructor(scopeUrl, caches) { + this.scopeUrl = scopeUrl; + const parsedScopeUrl = this.parseUrl(this.scopeUrl); + this.origin = parsedScopeUrl.origin; + this.caches = new NamedCacheStorage(caches, `ngsw:${parsedScopeUrl.path}`); + } + newRequest(input, init) { + return new Request(input, init); + } + newResponse(body, init) { + return new Response(body, init); + } + newHeaders(headers) { + return new Headers(headers); + } + isClient(source) { + return source instanceof Client; + } + get time() { + return Date.now(); + } + normalizeUrl(url) { + const parsed = this.parseUrl(url, this.scopeUrl); + return parsed.origin === this.origin ? parsed.path : url; + } + parseUrl(url, relativeTo) { + const parsed = !relativeTo ? new URL(url) : new URL(url, relativeTo); + return { origin: parsed.origin, path: parsed.pathname, search: parsed.search }; + } + timeout(ms) { + return new Promise((resolve) => { + setTimeout(() => resolve(), ms); + }); + } + }; + + // bazel-out/darwin_arm64-fastbuild-ST-2e5f3376adb5/bin/packages/service-worker/worker/src/database.mjs + var NotFound = class { + constructor(table, key) { + this.table = table; + this.key = key; + } + }; + + // bazel-out/darwin_arm64-fastbuild-ST-2e5f3376adb5/bin/packages/service-worker/worker/src/db-cache.mjs + var CacheDatabase = class { + constructor(adapter2) { + this.adapter = adapter2; + this.cacheNamePrefix = "db"; + this.tables = /* @__PURE__ */ new Map(); + } + "delete"(name) { + if (this.tables.has(name)) { + this.tables.delete(name); + } + return this.adapter.caches.delete(`${this.cacheNamePrefix}:${name}`); + } + async list() { + const prefix = `${this.cacheNamePrefix}:`; + const allCacheNames = await this.adapter.caches.keys(); + const dbCacheNames = allCacheNames.filter((name) => name.startsWith(prefix)); + return dbCacheNames.map((name) => name.slice(prefix.length)); + } + async open(name, cacheQueryOptions) { + if (!this.tables.has(name)) { + const cache = await this.adapter.caches.open(`${this.cacheNamePrefix}:${name}`); + const table = new CacheTable(name, cache, this.adapter, cacheQueryOptions); + this.tables.set(name, table); + } + return this.tables.get(name); + } + }; + var CacheTable = class { + constructor(name, cache, adapter2, cacheQueryOptions) { + this.name = name; + this.cache = cache; + this.adapter = adapter2; + this.cacheQueryOptions = cacheQueryOptions; + this.cacheName = this.cache.name; + } + request(key) { + return this.adapter.newRequest("/" + key); + } + "delete"(key) { + return this.cache.delete(this.request(key), this.cacheQueryOptions); + } + keys() { + return this.cache.keys().then((requests) => requests.map((req) => req.url.slice(1))); + } + read(key) { + return this.cache.match(this.request(key), this.cacheQueryOptions).then((res) => { + if (res === void 0) { + return Promise.reject(new NotFound(this.name, key)); + } + return res.json(); + }); + } + write(key, value) { + return this.cache.put(this.request(key), this.adapter.newResponse(JSON.stringify(value))); + } + }; + + // bazel-out/darwin_arm64-fastbuild-ST-2e5f3376adb5/bin/packages/service-worker/worker/src/api.mjs + var UpdateCacheStatus; + (function(UpdateCacheStatus2) { + UpdateCacheStatus2[UpdateCacheStatus2["NOT_CACHED"] = 0] = "NOT_CACHED"; + UpdateCacheStatus2[UpdateCacheStatus2["CACHED_BUT_UNUSED"] = 1] = "CACHED_BUT_UNUSED"; + UpdateCacheStatus2[UpdateCacheStatus2["CACHED"] = 2] = "CACHED"; + })(UpdateCacheStatus || (UpdateCacheStatus = {})); + + // bazel-out/darwin_arm64-fastbuild-ST-2e5f3376adb5/bin/packages/service-worker/worker/src/error.mjs + var SwCriticalError = class extends Error { + constructor() { + super(...arguments); + this.isCritical = true; + } + }; + function errorToString(error) { + if (error instanceof Error) { + return `${error.message} +${error.stack}`; + } else { + return `${error}`; + } + } + var SwUnrecoverableStateError = class extends SwCriticalError { + constructor() { + super(...arguments); + this.isUnrecoverableState = true; + } + }; + + // bazel-out/darwin_arm64-fastbuild-ST-2e5f3376adb5/bin/packages/service-worker/worker/src/sha1.mjs + function sha1(str) { + const utf8 = str; + const words32 = stringToWords32(utf8, Endian.Big); + return _sha1(words32, utf8.length * 8); + } + function sha1Binary(buffer) { + const words32 = arrayBufferToWords32(buffer, Endian.Big); + return _sha1(words32, buffer.byteLength * 8); + } + function _sha1(words32, len) { + const w = []; + let [a, b, c, d, e] = [1732584193, 4023233417, 2562383102, 271733878, 3285377520]; + words32[len >> 5] |= 128 << 24 - len % 32; + words32[(len + 64 >> 9 << 4) + 15] = len; + for (let i = 0; i < words32.length; i += 16) { + const [h0, h1, h2, h3, h4] = [a, b, c, d, e]; + for (let j = 0; j < 80; j++) { + if (j < 16) { + w[j] = words32[i + j]; + } else { + w[j] = rol32(w[j - 3] ^ w[j - 8] ^ w[j - 14] ^ w[j - 16], 1); + } + const [f, k] = fk(j, b, c, d); + const temp = [rol32(a, 5), f, e, k, w[j]].reduce(add32); + [e, d, c, b, a] = [d, c, rol32(b, 30), a, temp]; + } + [a, b, c, d, e] = [add32(a, h0), add32(b, h1), add32(c, h2), add32(d, h3), add32(e, h4)]; + } + return byteStringToHexString(words32ToByteString([a, b, c, d, e])); + } + function add32(a, b) { + return add32to64(a, b)[1]; + } + function add32to64(a, b) { + const low = (a & 65535) + (b & 65535); + const high = (a >>> 16) + (b >>> 16) + (low >>> 16); + return [high >>> 16, high << 16 | low & 65535]; + } + function rol32(a, count) { + return a << count | a >>> 32 - count; + } + var Endian; + (function(Endian2) { + Endian2[Endian2["Little"] = 0] = "Little"; + Endian2[Endian2["Big"] = 1] = "Big"; + })(Endian || (Endian = {})); + function fk(index, b, c, d) { + if (index < 20) { + return [b & c | ~b & d, 1518500249]; + } + if (index < 40) { + return [b ^ c ^ d, 1859775393]; + } + if (index < 60) { + return [b & c | b & d | c & d, 2400959708]; + } + return [b ^ c ^ d, 3395469782]; + } + function stringToWords32(str, endian) { + const size = str.length + 3 >>> 2; + const words32 = []; + for (let i = 0; i < size; i++) { + words32[i] = wordAt(str, i * 4, endian); + } + return words32; + } + function arrayBufferToWords32(buffer, endian) { + const size = buffer.byteLength + 3 >>> 2; + const words32 = []; + const view = new Uint8Array(buffer); + for (let i = 0; i < size; i++) { + words32[i] = wordAt(view, i * 4, endian); + } + return words32; + } + function byteAt(str, index) { + if (typeof str === "string") { + return index >= str.length ? 0 : str.charCodeAt(index) & 255; + } else { + return index >= str.byteLength ? 0 : str[index] & 255; + } + } + function wordAt(str, index, endian) { + let word = 0; + if (endian === Endian.Big) { + for (let i = 0; i < 4; i++) { + word += byteAt(str, index + i) << 24 - 8 * i; + } + } else { + for (let i = 0; i < 4; i++) { + word += byteAt(str, index + i) << 8 * i; + } + } + return word; + } + function words32ToByteString(words32) { + return words32.reduce((str, word) => str + word32ToByteString(word), ""); + } + function word32ToByteString(word) { + let str = ""; + for (let i = 0; i < 4; i++) { + str += String.fromCharCode(word >>> 8 * (3 - i) & 255); + } + return str; + } + function byteStringToHexString(str) { + let hex = ""; + for (let i = 0; i < str.length; i++) { + const b = byteAt(str, i); + hex += (b >>> 4).toString(16) + (b & 15).toString(16); + } + return hex.toLowerCase(); + } + + // bazel-out/darwin_arm64-fastbuild-ST-2e5f3376adb5/bin/packages/service-worker/worker/src/assets.mjs + var AssetGroup = class { + constructor(scope2, adapter2, idle, config, hashes, db, cacheNamePrefix) { + this.scope = scope2; + this.adapter = adapter2; + this.idle = idle; + this.config = config; + this.hashes = hashes; + this.db = db; + this.inFlightRequests = /* @__PURE__ */ new Map(); + this.urls = []; + this.patterns = []; + this.name = config.name; + this.urls = config.urls.map((url) => adapter2.normalizeUrl(url)); + this.patterns = config.patterns.map((pattern) => new RegExp(pattern)); + this.cache = adapter2.caches.open(`${cacheNamePrefix}:${config.name}:cache`); + this.metadata = this.db.open(`${cacheNamePrefix}:${config.name}:meta`, config.cacheQueryOptions); + } + async cacheStatus(url) { + const cache = await this.cache; + const meta = await this.metadata; + const req = this.adapter.newRequest(url); + const res = await cache.match(req, this.config.cacheQueryOptions); + if (res === void 0) { + return UpdateCacheStatus.NOT_CACHED; + } + try { + const data = await meta.read(req.url); + if (!data.used) { + return UpdateCacheStatus.CACHED_BUT_UNUSED; + } + } catch (_) { + } + return UpdateCacheStatus.CACHED; + } + async getCacheNames() { + const [cache, metadata] = await Promise.all([this.cache, this.metadata]); + return [cache.name, metadata.cacheName]; + } + async handleFetch(req, _event) { + const url = this.adapter.normalizeUrl(req.url); + if (this.urls.indexOf(url) !== -1 || this.patterns.some((pattern) => pattern.test(url))) { + const cache = await this.cache; + let cachedResponse; + try { + cachedResponse = await cache.match(req, this.config.cacheQueryOptions); + } catch (error) { + throw new SwCriticalError(`Cache is throwing while looking for a match: ${error}`); + } + if (cachedResponse !== void 0) { + if (this.hashes.has(url)) { + return cachedResponse; + } else { + if (await this.needToRevalidate(req, cachedResponse)) { + this.idle.schedule(`revalidate(${cache.name}): ${req.url}`, async () => { + await this.fetchAndCacheOnce(req); + }); + } + return cachedResponse; + } + } + const res = await this.fetchAndCacheOnce(this.newRequestWithMetadata(req.url, req)); + return res.clone(); + } else { + return null; + } + } + async needToRevalidate(req, res) { + if (res.headers.has("Cache-Control")) { + const cacheControl = res.headers.get("Cache-Control"); + const cacheDirectives = cacheControl.split(",").map((v) => v.trim()).map((v) => v.split("=")); + cacheDirectives.forEach((v) => v[0] = v[0].toLowerCase()); + const maxAgeDirective = cacheDirectives.find((v) => v[0] === "max-age"); + const cacheAge = maxAgeDirective ? maxAgeDirective[1] : void 0; + if (!cacheAge) { + return true; + } + try { + const maxAge = 1e3 * parseInt(cacheAge); + let ts; + try { + const metaTable = await this.metadata; + ts = (await metaTable.read(req.url)).ts; + } catch (e) { + const date = res.headers.get("Date"); + if (date === null) { + return true; + } + ts = Date.parse(date); + } + const age = this.adapter.time - ts; + return age < 0 || age > maxAge; + } catch (e) { + return true; + } + } else if (res.headers.has("Expires")) { + const expiresStr = res.headers.get("Expires"); + try { + return this.adapter.time > Date.parse(expiresStr); + } catch (e) { + return true; + } + } else { + return true; + } + } + async fetchFromCacheOnly(url) { + const cache = await this.cache; + const metaTable = await this.metadata; + const request = this.adapter.newRequest(url); + const response = await cache.match(request, this.config.cacheQueryOptions); + if (response === void 0) { + return null; + } + let metadata = void 0; + try { + metadata = await metaTable.read(request.url); + } catch (e) { + } + return { response, metadata }; + } + async unhashedResources() { + const cache = await this.cache; + return (await cache.keys()).map((request) => this.adapter.normalizeUrl(request.url)).filter((url) => !this.hashes.has(url)); + } + async fetchAndCacheOnce(req, used = true) { + if (this.inFlightRequests.has(req.url)) { + return this.inFlightRequests.get(req.url); + } + const fetchOp = this.fetchFromNetwork(req); + this.inFlightRequests.set(req.url, fetchOp); + try { + const res = await fetchOp; + if (!res.ok) { + throw new Error(`Response not Ok (fetchAndCacheOnce): request for ${req.url} returned response ${res.status} ${res.statusText}`); + } + try { + const cache = await this.cache; + await cache.put(req, res.clone()); + if (!this.hashes.has(this.adapter.normalizeUrl(req.url))) { + const meta = { ts: this.adapter.time, used }; + const metaTable = await this.metadata; + await metaTable.write(req.url, meta); + } + return res; + } catch (err) { + throw new SwCriticalError(`Failed to update the caches for request to '${req.url}' (fetchAndCacheOnce): ${errorToString(err)}`); + } + } finally { + this.inFlightRequests.delete(req.url); + } + } + async fetchFromNetwork(req, redirectLimit = 3) { + const res = await this.cacheBustedFetchFromNetwork(req); + if (res["redirected"] && !!res.url) { + if (redirectLimit === 0) { + throw new SwCriticalError(`Response hit redirect limit (fetchFromNetwork): request redirected too many times, next is ${res.url}`); + } + return this.fetchFromNetwork(this.newRequestWithMetadata(res.url, req), redirectLimit - 1); + } + return res; + } + async cacheBustedFetchFromNetwork(req) { + const url = this.adapter.normalizeUrl(req.url); + if (this.hashes.has(url)) { + const canonicalHash = this.hashes.get(url); + let response = await this.safeFetch(req); + let makeCacheBustedRequest = response.ok; + if (makeCacheBustedRequest) { + const fetchedHash = sha1Binary(await response.clone().arrayBuffer()); + makeCacheBustedRequest = fetchedHash !== canonicalHash; + } + if (makeCacheBustedRequest) { + const cacheBustReq = this.newRequestWithMetadata(this.cacheBust(req.url), req); + response = await this.safeFetch(cacheBustReq); + if (response.ok) { + const cacheBustedHash = sha1Binary(await response.clone().arrayBuffer()); + if (canonicalHash !== cacheBustedHash) { + throw new SwCriticalError(`Hash mismatch (cacheBustedFetchFromNetwork): ${req.url}: expected ${canonicalHash}, got ${cacheBustedHash} (after cache busting)`); + } + } + } + if (!response.ok && response.status === 404) { + throw new SwUnrecoverableStateError(`Failed to retrieve hashed resource from the server. (AssetGroup: ${this.config.name} | URL: ${url})`); + } + return response; + } else { + return this.safeFetch(req); + } + } + async maybeUpdate(updateFrom, req, cache) { + const url = this.adapter.normalizeUrl(req.url); + if (this.hashes.has(url)) { + const hash = this.hashes.get(url); + const res = await updateFrom.lookupResourceWithHash(url, hash); + if (res !== null) { + await cache.put(req, res); + return true; + } + } + return false; + } + newRequestWithMetadata(url, options) { + return this.adapter.newRequest(url, { headers: options.headers }); + } + cacheBust(url) { + return url + (url.indexOf("?") === -1 ? "?" : "&") + "ngsw-cache-bust=" + Math.random(); + } + async safeFetch(req) { + try { + return await this.scope.fetch(req); + } catch (e) { + return this.adapter.newResponse("", { + status: 504, + statusText: "Gateway Timeout" + }); + } + } + }; + var PrefetchAssetGroup = class extends AssetGroup { + async initializeFully(updateFrom) { + const cache = await this.cache; + await this.urls.reduce(async (previous, url) => { + await previous; + const req = this.adapter.newRequest(url); + let alreadyCached = false; + try { + alreadyCached = await cache.match(req, this.config.cacheQueryOptions) !== void 0; + } catch (error) { + throw new SwCriticalError(`Cache is throwing while looking for a match in a PrefetchAssetGroup: ${error}`); + } + if (alreadyCached) { + return; + } + if (updateFrom !== void 0 && await this.maybeUpdate(updateFrom, req, cache)) { + return; + } + await this.fetchAndCacheOnce(req, false); + }, Promise.resolve()); + if (updateFrom !== void 0) { + const metaTable = await this.metadata; + await (await updateFrom.previouslyCachedResources()).filter((url) => this.urls.indexOf(url) !== -1 || this.patterns.some((pattern) => pattern.test(url))).reduce(async (previous, url) => { + await previous; + const req = this.adapter.newRequest(url); + const alreadyCached = await cache.match(req, this.config.cacheQueryOptions) !== void 0; + if (alreadyCached) { + return; + } + const res = await updateFrom.lookupResourceWithoutHash(url); + if (res === null || res.metadata === void 0) { + return; + } + await cache.put(req, res.response); + await metaTable.write(req.url, __spreadProps(__spreadValues({}, res.metadata), { used: false })); + }, Promise.resolve()); + } + } + }; + var LazyAssetGroup = class extends AssetGroup { + async initializeFully(updateFrom) { + if (updateFrom === void 0) { + return; + } + const cache = await this.cache; + await this.urls.reduce(async (previous, url) => { + await previous; + const req = this.adapter.newRequest(url); + let alreadyCached = false; + try { + alreadyCached = await cache.match(req, this.config.cacheQueryOptions) !== void 0; + } catch (error) { + throw new SwCriticalError(`Cache is throwing while looking for a match in a LazyAssetGroup: ${error}`); + } + if (alreadyCached) { + return; + } + const updated = await this.maybeUpdate(updateFrom, req, cache); + if (this.config.updateMode === "prefetch" && !updated) { + const cacheStatus = await updateFrom.recentCacheStatus(url); + if (cacheStatus !== UpdateCacheStatus.CACHED) { + return; + } + await this.fetchAndCacheOnce(req, false); + } + }, Promise.resolve()); + } + }; + + // bazel-out/darwin_arm64-fastbuild-ST-2e5f3376adb5/bin/packages/service-worker/worker/src/data.mjs + var LruList = class { + constructor(state) { + if (state === void 0) { + state = { + head: null, + tail: null, + map: {}, + count: 0 + }; + } + this.state = state; + } + get size() { + return this.state.count; + } + pop() { + if (this.state.tail === null) { + return null; + } + const url = this.state.tail; + this.remove(url); + return url; + } + remove(url) { + const node = this.state.map[url]; + if (node === void 0) { + return false; + } + if (this.state.head === url) { + if (node.next === null) { + this.state.head = null; + this.state.tail = null; + this.state.map = {}; + this.state.count = 0; + return true; + } + const next = this.state.map[node.next]; + next.previous = null; + this.state.head = next.url; + node.next = null; + delete this.state.map[url]; + this.state.count--; + return true; + } + const previous = this.state.map[node.previous]; + previous.next = node.next; + if (node.next !== null) { + this.state.map[node.next].previous = node.previous; + } else { + this.state.tail = node.previous; + } + node.next = null; + node.previous = null; + delete this.state.map[url]; + this.state.count--; + return true; + } + accessed(url) { + if (this.state.head === url) { + return; + } + const node = this.state.map[url] || { url, next: null, previous: null }; + if (this.state.map[url] !== void 0) { + this.remove(url); + } + if (this.state.head !== null) { + this.state.map[this.state.head].previous = url; + } + node.next = this.state.head; + this.state.head = url; + if (this.state.tail === null) { + this.state.tail = url; + } + this.state.map[url] = node; + this.state.count++; + } + }; + var DataGroup = class { + constructor(scope2, adapter2, config, db, debugHandler, cacheNamePrefix) { + this.scope = scope2; + this.adapter = adapter2; + this.config = config; + this.db = db; + this.debugHandler = debugHandler; + this._lru = null; + this.patterns = config.patterns.map((pattern) => new RegExp(pattern)); + this.cache = adapter2.caches.open(`${cacheNamePrefix}:${config.name}:cache`); + this.lruTable = this.db.open(`${cacheNamePrefix}:${config.name}:lru`, config.cacheQueryOptions); + this.ageTable = this.db.open(`${cacheNamePrefix}:${config.name}:age`, config.cacheQueryOptions); + } + async lru() { + if (this._lru === null) { + const table = await this.lruTable; + try { + this._lru = new LruList(await table.read("lru")); + } catch (e) { + this._lru = new LruList(); + } + } + return this._lru; + } + async syncLru() { + if (this._lru === null) { + return; + } + const table = await this.lruTable; + try { + return table.write("lru", this._lru.state); + } catch (err) { + this.debugHandler.log(err, `DataGroup(${this.config.name}@${this.config.version}).syncLru()`); + } + } + async handleFetch(req, event) { + if (!this.patterns.some((pattern) => pattern.test(req.url))) { + return null; + } + const lru = await this.lru(); + switch (req.method) { + case "OPTIONS": + return null; + case "GET": + case "HEAD": + switch (this.config.strategy) { + case "freshness": + return this.handleFetchWithFreshness(req, event, lru); + case "performance": + return this.handleFetchWithPerformance(req, event, lru); + default: + throw new Error(`Unknown strategy: ${this.config.strategy}`); + } + default: + const wasCached = lru.remove(req.url); + if (wasCached) { + await this.clearCacheForUrl(req.url); + } + await this.syncLru(); + return this.safeFetch(req); + } + } + async handleFetchWithPerformance(req, event, lru) { + var _a; + const okToCacheOpaque = (_a = this.config.cacheOpaqueResponses) != null ? _a : false; + let res = null; + const fromCache = await this.loadFromCache(req, lru); + if (fromCache !== null) { + res = fromCache.res; + if (this.config.refreshAheadMs !== void 0 && fromCache.age >= this.config.refreshAheadMs) { + event.waitUntil(this.safeCacheResponse(req, this.safeFetch(req), lru, okToCacheOpaque)); + } + } + if (res !== null) { + return res; + } + const [timeoutFetch, networkFetch] = this.networkFetchWithTimeout(req); + res = await timeoutFetch; + if (res === void 0) { + res = this.adapter.newResponse(null, { status: 504, statusText: "Gateway Timeout" }); + event.waitUntil(this.safeCacheResponse(req, networkFetch, lru, okToCacheOpaque)); + } else { + await this.safeCacheResponse(req, res, lru, okToCacheOpaque); + } + return res; + } + async handleFetchWithFreshness(req, event, lru) { + var _a; + const okToCacheOpaque = (_a = this.config.cacheOpaqueResponses) != null ? _a : true; + const [timeoutFetch, networkFetch] = this.networkFetchWithTimeout(req); + let res; + try { + res = await timeoutFetch; + } catch (e) { + res = void 0; + } + if (res === void 0) { + event.waitUntil(this.safeCacheResponse(req, networkFetch, lru, okToCacheOpaque)); + const fromCache = await this.loadFromCache(req, lru); + res = fromCache !== null ? fromCache.res : null; + } else { + await this.safeCacheResponse(req, res, lru, okToCacheOpaque); + } + if (res !== null) { + return res; + } + return networkFetch; + } + networkFetchWithTimeout(req) { + if (this.config.timeoutMs !== void 0) { + const networkFetch = this.scope.fetch(req); + const safeNetworkFetch = (async () => { + try { + return await networkFetch; + } catch (e) { + return this.adapter.newResponse(null, { + status: 504, + statusText: "Gateway Timeout" + }); + } + })(); + const networkFetchUndefinedError = (async () => { + try { + return await networkFetch; + } catch (e) { + return void 0; + } + })(); + const timeout = this.adapter.timeout(this.config.timeoutMs); + return [Promise.race([networkFetchUndefinedError, timeout]), safeNetworkFetch]; + } else { + const networkFetch = this.safeFetch(req); + return [networkFetch, networkFetch]; + } + } + async safeCacheResponse(req, resOrPromise, lru, okToCacheOpaque) { + try { + const res = await resOrPromise; + try { + await this.cacheResponse(req, res, lru, okToCacheOpaque); + } catch (err) { + this.debugHandler.log(err, `DataGroup(${this.config.name}@${this.config.version}).safeCacheResponse(${req.url}, status: ${res.status})`); + } + } catch (e) { + } + } + async loadFromCache(req, lru) { + const cache = await this.cache; + let res = await cache.match(req, this.config.cacheQueryOptions); + if (res !== void 0) { + try { + const ageTable = await this.ageTable; + const age = this.adapter.time - (await ageTable.read(req.url)).age; + if (age <= this.config.maxAge) { + lru.accessed(req.url); + return { res, age }; + } + } catch (e) { + } + lru.remove(req.url); + await this.clearCacheForUrl(req.url); + await this.syncLru(); + } + return null; + } + async cacheResponse(req, res, lru, okToCacheOpaque = false) { + if (!(res.ok || okToCacheOpaque && res.type === "opaque")) { + return; + } + if (lru.size >= this.config.maxSize) { + const evictedUrl = lru.pop(); + if (evictedUrl !== null) { + await this.clearCacheForUrl(evictedUrl); + } + } + lru.accessed(req.url); + await (await this.cache).put(req, res.clone()); + const ageTable = await this.ageTable; + await ageTable.write(req.url, { age: this.adapter.time }); + await this.syncLru(); + } + async cleanup() { + await Promise.all([ + this.cache.then((cache) => this.adapter.caches.delete(cache.name)), + this.ageTable.then((table) => this.db.delete(table.name)), + this.lruTable.then((table) => this.db.delete(table.name)) + ]); + } + async getCacheNames() { + const [cache, ageTable, lruTable] = await Promise.all([ + this.cache, + this.ageTable, + this.lruTable + ]); + return [cache.name, ageTable.cacheName, lruTable.cacheName]; + } + async clearCacheForUrl(url) { + const [cache, ageTable] = await Promise.all([this.cache, this.ageTable]); + await Promise.all([ + cache.delete(this.adapter.newRequest(url, { method: "GET" }), this.config.cacheQueryOptions), + cache.delete(this.adapter.newRequest(url, { method: "HEAD" }), this.config.cacheQueryOptions), + ageTable.delete(url) + ]); + } + async safeFetch(req) { + try { + return this.scope.fetch(req); + } catch (e) { + return this.adapter.newResponse(null, { + status: 504, + statusText: "Gateway Timeout" + }); + } + } + }; + + // bazel-out/darwin_arm64-fastbuild-ST-2e5f3376adb5/bin/packages/service-worker/worker/src/app-version.mjs + var BACKWARDS_COMPATIBILITY_NAVIGATION_URLS = [ + { positive: true, regex: "^/.*$" }, + { positive: false, regex: "^/.*\\.[^/]*$" }, + { positive: false, regex: "^/.*__" } + ]; + var AppVersion = class { + get okay() { + return this._okay; + } + constructor(scope2, adapter2, database, idle, debugHandler, manifest, manifestHash) { + this.scope = scope2; + this.adapter = adapter2; + this.database = database; + this.debugHandler = debugHandler; + this.manifest = manifest; + this.manifestHash = manifestHash; + this.hashTable = /* @__PURE__ */ new Map(); + this._okay = true; + this.indexUrl = this.adapter.normalizeUrl(this.manifest.index); + Object.keys(manifest.hashTable).forEach((url) => { + this.hashTable.set(adapter2.normalizeUrl(url), manifest.hashTable[url]); + }); + const assetCacheNamePrefix = `${manifestHash}:assets`; + this.assetGroups = (manifest.assetGroups || []).map((config) => { + switch (config.installMode) { + case "prefetch": + return new PrefetchAssetGroup(scope2, adapter2, idle, config, this.hashTable, database, assetCacheNamePrefix); + case "lazy": + return new LazyAssetGroup(scope2, adapter2, idle, config, this.hashTable, database, assetCacheNamePrefix); + } + }); + this.dataGroups = (manifest.dataGroups || []).map((config) => new DataGroup(scope2, adapter2, config, database, debugHandler, `${config.version}:data`)); + manifest.navigationUrls = manifest.navigationUrls || BACKWARDS_COMPATIBILITY_NAVIGATION_URLS; + const includeUrls = manifest.navigationUrls.filter((spec) => spec.positive); + const excludeUrls = manifest.navigationUrls.filter((spec) => !spec.positive); + this.navigationUrls = { + include: includeUrls.map((spec) => new RegExp(spec.regex)), + exclude: excludeUrls.map((spec) => new RegExp(spec.regex)) + }; + } + async initializeFully(updateFrom) { + try { + await this.assetGroups.reduce(async (previous, group) => { + await previous; + return group.initializeFully(updateFrom); + }, Promise.resolve()); + } catch (err) { + this._okay = false; + throw err; + } + } + async handleFetch(req, event) { + const asset = await this.assetGroups.reduce(async (potentialResponse, group) => { + const resp = await potentialResponse; + if (resp !== null) { + return resp; + } + return group.handleFetch(req, event); + }, Promise.resolve(null)); + if (asset !== null) { + return asset; + } + const data = await this.dataGroups.reduce(async (potentialResponse, group) => { + const resp = await potentialResponse; + if (resp !== null) { + return resp; + } + return group.handleFetch(req, event); + }, Promise.resolve(null)); + if (data !== null) { + return data; + } + if (this.adapter.normalizeUrl(req.url) !== this.indexUrl && this.isNavigationRequest(req)) { + if (this.manifest.navigationRequestStrategy === "freshness") { + try { + return await this.scope.fetch(req); + } catch (e) { + } + } + return this.handleFetch(this.adapter.newRequest(this.indexUrl), event); + } + return null; + } + isNavigationRequest(req) { + if (req.method !== "GET" || req.mode !== "navigate") { + return false; + } + if (!this.acceptsTextHtml(req)) { + return false; + } + const urlPrefix = this.scope.registration.scope.replace(/\/$/, ""); + const url = req.url.startsWith(urlPrefix) ? req.url.slice(urlPrefix.length) : req.url; + const urlWithoutQueryOrHash = url.replace(/[?#].*$/, ""); + return this.navigationUrls.include.some((regex) => regex.test(urlWithoutQueryOrHash)) && !this.navigationUrls.exclude.some((regex) => regex.test(urlWithoutQueryOrHash)); + } + async lookupResourceWithHash(url, hash) { + if (!this.hashTable.has(url)) { + return null; + } + if (this.hashTable.get(url) !== hash) { + return null; + } + const cacheState = await this.lookupResourceWithoutHash(url); + return cacheState && cacheState.response; + } + lookupResourceWithoutHash(url) { + return this.assetGroups.reduce(async (potentialResponse, group) => { + const resp = await potentialResponse; + if (resp !== null) { + return resp; + } + return group.fetchFromCacheOnly(url); + }, Promise.resolve(null)); + } + previouslyCachedResources() { + return this.assetGroups.reduce(async (resources, group) => (await resources).concat(await group.unhashedResources()), Promise.resolve([])); + } + async recentCacheStatus(url) { + return this.assetGroups.reduce(async (current, group) => { + const status = await current; + if (status === UpdateCacheStatus.CACHED) { + return status; + } + const groupStatus = await group.cacheStatus(url); + if (groupStatus === UpdateCacheStatus.NOT_CACHED) { + return status; + } + return groupStatus; + }, Promise.resolve(UpdateCacheStatus.NOT_CACHED)); + } + async getCacheNames() { + const allGroupCacheNames = await Promise.all([ + ...this.assetGroups.map((group) => group.getCacheNames()), + ...this.dataGroups.map((group) => group.getCacheNames()) + ]); + return [].concat(...allGroupCacheNames); + } + get appData() { + return this.manifest.appData || null; + } + acceptsTextHtml(req) { + const accept = req.headers.get("Accept"); + if (accept === null) { + return false; + } + const values = accept.split(","); + return values.some((value) => value.trim().toLowerCase() === "text/html"); + } + }; + + // bazel-out/darwin_arm64-fastbuild-ST-2e5f3376adb5/bin/packages/service-worker/worker/src/debug.mjs + var SW_VERSION = "17.3.12"; + var DEBUG_LOG_BUFFER_SIZE = 100; + var DebugHandler = class { + constructor(driver, adapter2) { + this.driver = driver; + this.adapter = adapter2; + this.debugLogA = []; + this.debugLogB = []; + } + async handleFetch(req) { + const [state, versions, idle] = await Promise.all([ + this.driver.debugState(), + this.driver.debugVersions(), + this.driver.debugIdleState() + ]); + const msgState = `NGSW Debug Info: + +Driver version: ${SW_VERSION} +Driver state: ${state.state} (${state.why}) +Latest manifest hash: ${state.latestHash || "none"} +Last update check: ${this.since(state.lastUpdateCheck)}`; + const msgVersions = versions.map((version) => `=== Version ${version.hash} === + +Clients: ${version.clients.join(", ")}`).join("\n\n"); + const msgIdle = `=== Idle Task Queue === +Last update tick: ${this.since(idle.lastTrigger)} +Last update run: ${this.since(idle.lastRun)} +Task queue: +${idle.queue.map((v) => " * " + v).join("\n")} + +Debug log: +${this.formatDebugLog(this.debugLogB)} +${this.formatDebugLog(this.debugLogA)} +`; + return this.adapter.newResponse(`${msgState} + +${msgVersions} + +${msgIdle}`, { headers: this.adapter.newHeaders({ "Content-Type": "text/plain" }) }); + } + since(time) { + if (time === null) { + return "never"; + } + let age = this.adapter.time - time; + const days = Math.floor(age / 864e5); + age = age % 864e5; + const hours = Math.floor(age / 36e5); + age = age % 36e5; + const minutes = Math.floor(age / 6e4); + age = age % 6e4; + const seconds = Math.floor(age / 1e3); + const millis = age % 1e3; + return (days > 0 ? `${days}d` : "") + (hours > 0 ? `${hours}h` : "") + (minutes > 0 ? `${minutes}m` : "") + (seconds > 0 ? `${seconds}s` : "") + (millis > 0 ? `${millis}u` : ""); + } + log(value, context = "") { + if (this.debugLogA.length === DEBUG_LOG_BUFFER_SIZE) { + this.debugLogB = this.debugLogA; + this.debugLogA = []; + } + if (typeof value !== "string") { + value = this.errorToString(value); + } + this.debugLogA.push({ value, time: this.adapter.time, context }); + } + errorToString(err) { + return `${err.name}(${err.message}, ${err.stack})`; + } + formatDebugLog(log) { + return log.map((entry) => `[${this.since(entry.time)}] ${entry.value} ${entry.context}`).join("\n"); + } + }; + + // bazel-out/darwin_arm64-fastbuild-ST-2e5f3376adb5/bin/packages/service-worker/worker/src/idle.mjs + var IdleScheduler = class { + constructor(adapter2, delay, maxDelay, debug) { + this.adapter = adapter2; + this.delay = delay; + this.maxDelay = maxDelay; + this.debug = debug; + this.queue = []; + this.scheduled = null; + this.empty = Promise.resolve(); + this.emptyResolve = null; + this.lastTrigger = null; + this.lastRun = null; + this.oldestScheduledAt = null; + } + async trigger() { + var _a; + this.lastTrigger = this.adapter.time; + if (this.queue.length === 0) { + return; + } + if (this.scheduled !== null) { + this.scheduled.cancel = true; + } + const scheduled = { + cancel: false + }; + this.scheduled = scheduled; + const now = this.adapter.time; + const maxDelay = Math.max(0, ((_a = this.oldestScheduledAt) != null ? _a : now) + this.maxDelay - now); + const delay = Math.min(maxDelay, this.delay); + await this.adapter.timeout(delay); + if (scheduled.cancel) { + return; + } + this.scheduled = null; + await this.execute(); + } + async execute() { + this.lastRun = this.adapter.time; + while (this.queue.length > 0) { + const queue = this.queue; + this.queue = []; + await queue.reduce(async (previous, task) => { + await previous; + try { + await task.run(); + } catch (err) { + this.debug.log(err, `while running idle task ${task.desc}`); + } + }, Promise.resolve()); + } + if (this.emptyResolve !== null) { + this.emptyResolve(); + this.emptyResolve = null; + } + this.empty = Promise.resolve(); + this.oldestScheduledAt = null; + } + schedule(desc, run) { + this.queue.push({ desc, run }); + if (this.emptyResolve === null) { + this.empty = new Promise((resolve) => { + this.emptyResolve = resolve; + }); + } + if (this.oldestScheduledAt === null) { + this.oldestScheduledAt = this.adapter.time; + } + } + get size() { + return this.queue.length; + } + get taskDescriptions() { + return this.queue.map((task) => task.desc); + } + }; + + // bazel-out/darwin_arm64-fastbuild-ST-2e5f3376adb5/bin/packages/service-worker/worker/src/manifest.mjs + function hashManifest(manifest) { + return sha1(JSON.stringify(manifest)); + } + + // bazel-out/darwin_arm64-fastbuild-ST-2e5f3376adb5/bin/packages/service-worker/worker/src/msg.mjs + function isMsgCheckForUpdates(msg) { + return msg.action === "CHECK_FOR_UPDATES"; + } + function isMsgActivateUpdate(msg) { + return msg.action === "ACTIVATE_UPDATE"; + } + + // bazel-out/darwin_arm64-fastbuild-ST-2e5f3376adb5/bin/packages/service-worker/worker/src/driver.mjs + var IDLE_DELAY = 5e3; + var MAX_IDLE_DELAY = 3e4; + var SUPPORTED_CONFIG_VERSION = 1; + var NOTIFICATION_OPTION_NAMES = [ + "actions", + "badge", + "body", + "data", + "dir", + "icon", + "image", + "lang", + "renotify", + "requireInteraction", + "silent", + "tag", + "timestamp", + "title", + "vibrate" + ]; + var DriverReadyState; + (function(DriverReadyState2) { + DriverReadyState2[DriverReadyState2["NORMAL"] = 0] = "NORMAL"; + DriverReadyState2[DriverReadyState2["EXISTING_CLIENTS_ONLY"] = 1] = "EXISTING_CLIENTS_ONLY"; + DriverReadyState2[DriverReadyState2["SAFE_MODE"] = 2] = "SAFE_MODE"; + })(DriverReadyState || (DriverReadyState = {})); + var Driver = class { + constructor(scope2, adapter2, db) { + this.scope = scope2; + this.adapter = adapter2; + this.db = db; + this.state = DriverReadyState.NORMAL; + this.stateMessage = "(nominal)"; + this.initialized = null; + this.clientVersionMap = /* @__PURE__ */ new Map(); + this.versions = /* @__PURE__ */ new Map(); + this.latestHash = null; + this.lastUpdateCheck = null; + this.scheduledNavUpdateCheck = false; + this.loggedInvalidOnlyIfCachedRequest = false; + this.controlTable = this.db.open("control"); + this.ngswStatePath = this.adapter.parseUrl("ngsw/state", this.scope.registration.scope).path; + this.scope.addEventListener("install", (event) => { + event.waitUntil(this.scope.skipWaiting()); + }); + this.scope.addEventListener("activate", (event) => { + event.waitUntil((async () => { + await this.scope.clients.claim(); + this.idle.schedule("activate: cleanup-old-sw-caches", async () => { + try { + await this.cleanupOldSwCaches(); + } catch (err) { + this.debugger.log(err, "cleanupOldSwCaches @ activate: cleanup-old-sw-caches"); + } + }); + })()); + if (this.scope.registration.active !== null) { + this.scope.registration.active.postMessage({ action: "INITIALIZE" }); + } + }); + this.scope.addEventListener("fetch", (event) => this.onFetch(event)); + this.scope.addEventListener("message", (event) => this.onMessage(event)); + this.scope.addEventListener("push", (event) => this.onPush(event)); + this.scope.addEventListener("notificationclick", (event) => this.onClick(event)); + this.debugger = new DebugHandler(this, this.adapter); + this.idle = new IdleScheduler(this.adapter, IDLE_DELAY, MAX_IDLE_DELAY, this.debugger); + } + onFetch(event) { + const req = event.request; + const scopeUrl = this.scope.registration.scope; + const requestUrlObj = this.adapter.parseUrl(req.url, scopeUrl); + if (req.headers.has("ngsw-bypass") || /[?&]ngsw-bypass(?:[=&]|$)/i.test(requestUrlObj.search)) { + return; + } + if (requestUrlObj.path === this.ngswStatePath) { + event.respondWith(this.debugger.handleFetch(req)); + return; + } + if (this.state === DriverReadyState.SAFE_MODE) { + event.waitUntil(this.idle.trigger()); + return; + } + if (requestUrlObj.origin.startsWith("http:") && scopeUrl.startsWith("https:")) { + this.debugger.log(`Ignoring passive mixed content request: Driver.fetch(${req.url})`); + return; + } + if (req.cache === "only-if-cached" && req.mode !== "same-origin") { + if (!this.loggedInvalidOnlyIfCachedRequest) { + this.loggedInvalidOnlyIfCachedRequest = true; + this.debugger.log(`Ignoring invalid request: 'only-if-cached' can be set only with 'same-origin' mode`, `Driver.fetch(${req.url}, cache: ${req.cache}, mode: ${req.mode})`); + } + return; + } + event.respondWith(this.handleFetch(event)); + } + onMessage(event) { + if (this.state === DriverReadyState.SAFE_MODE) { + return; + } + const data = event.data; + if (!data || !data.action) { + return; + } + event.waitUntil((async () => { + if (data.action === "INITIALIZE") { + return this.ensureInitialized(event); + } + if (!this.adapter.isClient(event.source)) { + return; + } + await this.ensureInitialized(event); + await this.handleMessage(data, event.source); + })()); + } + onPush(msg) { + if (!msg.data) { + return; + } + msg.waitUntil(this.handlePush(msg.data.json())); + } + onClick(event) { + event.waitUntil(this.handleClick(event.notification, event.action)); + } + async ensureInitialized(event) { + if (this.initialized !== null) { + return this.initialized; + } + try { + this.initialized = this.initialize(); + await this.initialized; + } catch (error) { + this.state = DriverReadyState.SAFE_MODE; + this.stateMessage = `Initialization failed due to error: ${errorToString(error)}`; + throw error; + } finally { + event.waitUntil(this.idle.trigger()); + } + } + async handleMessage(msg, from) { + if (isMsgCheckForUpdates(msg)) { + const action = this.checkForUpdate(); + await this.completeOperation(from, action, msg.nonce); + } else if (isMsgActivateUpdate(msg)) { + const action = this.updateClient(from); + await this.completeOperation(from, action, msg.nonce); + } + } + async handlePush(data) { + await this.broadcast({ + type: "PUSH", + data + }); + if (!data.notification || !data.notification.title) { + return; + } + const desc = data.notification; + let options = {}; + NOTIFICATION_OPTION_NAMES.filter((name) => desc.hasOwnProperty(name)).forEach((name) => options[name] = desc[name]); + await this.scope.registration.showNotification(desc["title"], options); + } + async handleClick(notification, action) { + var _a, _b, _c; + notification.close(); + const options = {}; + NOTIFICATION_OPTION_NAMES.filter((name) => name in notification).forEach((name) => options[name] = notification[name]); + const notificationAction = action === "" || action === void 0 ? "default" : action; + const onActionClick = (_b = (_a = notification == null ? void 0 : notification.data) == null ? void 0 : _a.onActionClick) == null ? void 0 : _b[notificationAction]; + const urlToOpen = new URL((_c = onActionClick == null ? void 0 : onActionClick.url) != null ? _c : "", this.scope.registration.scope).href; + switch (onActionClick == null ? void 0 : onActionClick.operation) { + case "openWindow": + await this.scope.clients.openWindow(urlToOpen); + break; + case "focusLastFocusedOrOpen": { + let matchingClient = await this.getLastFocusedMatchingClient(this.scope); + if (matchingClient) { + await (matchingClient == null ? void 0 : matchingClient.focus()); + } else { + await this.scope.clients.openWindow(urlToOpen); + } + break; + } + case "navigateLastFocusedOrOpen": { + let matchingClient = await this.getLastFocusedMatchingClient(this.scope); + if (matchingClient) { + matchingClient = await matchingClient.navigate(urlToOpen); + await (matchingClient == null ? void 0 : matchingClient.focus()); + } else { + await this.scope.clients.openWindow(urlToOpen); + } + break; + } + case "sendRequest": { + await this.scope.fetch(urlToOpen); + break; + } + default: + break; + } + await this.broadcast({ + type: "NOTIFICATION_CLICK", + data: { action, notification: options } + }); + } + async getLastFocusedMatchingClient(scope2) { + const windowClients = await scope2.clients.matchAll({ type: "window" }); + return windowClients[0]; + } + async completeOperation(client, promise, nonce) { + const response = { type: "OPERATION_COMPLETED", nonce }; + try { + client.postMessage(__spreadProps(__spreadValues({}, response), { + result: await promise + })); + } catch (e) { + client.postMessage(__spreadProps(__spreadValues({}, response), { + error: e.toString() + })); + } + } + async updateClient(client) { + const existing = this.clientVersionMap.get(client.id); + if (existing === this.latestHash) { + return false; + } + let previous = void 0; + if (existing !== void 0) { + const existingVersion = this.versions.get(existing); + previous = this.mergeHashWithAppData(existingVersion.manifest, existing); + } + this.clientVersionMap.set(client.id, this.latestHash); + await this.sync(); + const current = this.versions.get(this.latestHash); + return true; + } + async handleFetch(event) { + try { + await this.ensureInitialized(event); + } catch (e) { + return this.safeFetch(event.request); + } + if (event.request.mode === "navigate" && !this.scheduledNavUpdateCheck) { + this.scheduledNavUpdateCheck = true; + this.idle.schedule("check-updates-on-navigation", async () => { + this.scheduledNavUpdateCheck = false; + await this.checkForUpdate(); + }); + } + const appVersion = await this.assignVersion(event); + let res = null; + try { + if (appVersion !== null) { + try { + res = await appVersion.handleFetch(event.request, event); + } catch (err) { + if (err.isUnrecoverableState) { + await this.notifyClientsAboutUnrecoverableState(appVersion, err.message); + } + if (err.isCritical) { + this.debugger.log(err, `Driver.handleFetch(version: ${appVersion.manifestHash})`); + await this.versionFailed(appVersion, err); + return this.safeFetch(event.request); + } + throw err; + } + } + if (res === null) { + return this.safeFetch(event.request); + } + return res; + } finally { + event.waitUntil(this.idle.trigger()); + } + } + async initialize() { + const table = await this.controlTable; + let manifests, assignments, latest; + try { + [manifests, assignments, latest] = await Promise.all([ + table.read("manifests"), + table.read("assignments"), + table.read("latest") + ]); + if (!this.versions.has(latest.latest) && !manifests.hasOwnProperty(latest.latest)) { + this.debugger.log(`Missing manifest for latest version hash ${latest.latest}`, "initialize: read from DB"); + throw new Error(`Missing manifest for latest hash ${latest.latest}`); + } + this.idle.schedule("init post-load (update)", async () => { + await this.checkForUpdate(); + }); + } catch (_) { + const manifest = await this.fetchLatestManifest(); + const hash = hashManifest(manifest); + manifests = { [hash]: manifest }; + assignments = {}; + latest = { latest: hash }; + await Promise.all([ + table.write("manifests", manifests), + table.write("assignments", assignments), + table.write("latest", latest) + ]); + } + this.idle.schedule("init post-load (cleanup)", async () => { + await this.cleanupCaches(); + }); + Object.keys(manifests).forEach((hash) => { + const manifest = manifests[hash]; + if (!this.versions.has(hash)) { + this.versions.set(hash, new AppVersion(this.scope, this.adapter, this.db, this.idle, this.debugger, manifest, hash)); + } + }); + Object.keys(assignments).forEach((clientId) => { + const hash = assignments[clientId]; + if (this.versions.has(hash)) { + this.clientVersionMap.set(clientId, hash); + } else { + this.clientVersionMap.set(clientId, latest.latest); + this.debugger.log(`Unknown version ${hash} mapped for client ${clientId}, using latest instead`, `initialize: map assignments`); + } + }); + this.latestHash = latest.latest; + if (!this.versions.has(latest.latest)) { + throw new Error(`Invariant violated (initialize): latest hash ${latest.latest} has no known manifest`); + } + await Promise.all(Object.keys(manifests).map(async (hash) => { + try { + await this.scheduleInitialization(this.versions.get(hash)); + } catch (err) { + this.debugger.log(err, `initialize: schedule init of ${hash}`); + } + })); + } + lookupVersionByHash(hash, debugName = "lookupVersionByHash") { + if (!this.versions.has(hash)) { + throw new Error(`Invariant violated (${debugName}): want AppVersion for ${hash} but not loaded`); + } + return this.versions.get(hash); + } + async assignVersion(event) { + const clientId = event.resultingClientId || event.clientId; + if (clientId) { + if (this.clientVersionMap.has(clientId)) { + const hash = this.clientVersionMap.get(clientId); + let appVersion = this.lookupVersionByHash(hash, "assignVersion"); + if (this.state === DriverReadyState.NORMAL && hash !== this.latestHash && appVersion.isNavigationRequest(event.request)) { + if (this.latestHash === null) { + throw new Error(`Invariant violated (assignVersion): latestHash was null`); + } + const client = await this.scope.clients.get(clientId); + if (client) { + await this.updateClient(client); + } + appVersion = this.lookupVersionByHash(this.latestHash, "assignVersion"); + } + return appVersion; + } else { + if (this.state !== DriverReadyState.NORMAL) { + return null; + } + if (this.latestHash === null) { + throw new Error(`Invariant violated (assignVersion): latestHash was null`); + } + this.clientVersionMap.set(clientId, this.latestHash); + await this.sync(); + return this.lookupVersionByHash(this.latestHash, "assignVersion"); + } + } else { + if (this.state !== DriverReadyState.NORMAL) { + return null; + } + if (this.latestHash === null) { + throw new Error(`Invariant violated (assignVersion): latestHash was null`); + } + return this.lookupVersionByHash(this.latestHash, "assignVersion"); + } + } + async fetchLatestManifest(ignoreOfflineError = false) { + const res = await this.safeFetch(this.adapter.newRequest("ngsw.json?ngsw-cache-bust=" + Math.random())); + if (!res.ok) { + if (res.status === 404) { + await this.deleteAllCaches(); + await this.scope.registration.unregister(); + } else if ((res.status === 503 || res.status === 504) && ignoreOfflineError) { + return null; + } + throw new Error(`Manifest fetch failed! (status: ${res.status})`); + } + this.lastUpdateCheck = this.adapter.time; + return res.json(); + } + async deleteAllCaches() { + const cacheNames = await this.adapter.caches.keys(); + await Promise.all(cacheNames.map((name) => this.adapter.caches.delete(name))); + } + async scheduleInitialization(appVersion) { + const initialize = async () => { + try { + await appVersion.initializeFully(); + } catch (err) { + this.debugger.log(err, `initializeFully for ${appVersion.manifestHash}`); + await this.versionFailed(appVersion, err); + } + }; + if (this.scope.registration.scope.indexOf("://localhost") > -1) { + return initialize(); + } + this.idle.schedule(`initialization(${appVersion.manifestHash})`, initialize); + } + async versionFailed(appVersion, err) { + const broken = Array.from(this.versions.entries()).find(([hash, version]) => version === appVersion); + if (broken === void 0) { + return; + } + const brokenHash = broken[0]; + if (this.latestHash === brokenHash) { + this.state = DriverReadyState.EXISTING_CLIENTS_ONLY; + this.stateMessage = `Degraded due to: ${errorToString(err)}`; + } + } + async setupUpdate(manifest, hash) { + try { + const newVersion = new AppVersion(this.scope, this.adapter, this.db, this.idle, this.debugger, manifest, hash); + if (manifest.configVersion !== SUPPORTED_CONFIG_VERSION) { + await this.deleteAllCaches(); + await this.scope.registration.unregister(); + throw new Error(`Invalid config version: expected ${SUPPORTED_CONFIG_VERSION}, got ${manifest.configVersion}.`); + } + await newVersion.initializeFully(this); + this.versions.set(hash, newVersion); + this.latestHash = hash; + if (this.state === DriverReadyState.EXISTING_CLIENTS_ONLY) { + this.state = DriverReadyState.NORMAL; + this.stateMessage = "(nominal)"; + } + await this.sync(); + await this.notifyClientsAboutVersionReady(manifest, hash); + } catch (e) { + await this.notifyClientsAboutVersionInstallationFailed(manifest, hash, e); + throw e; + } + } + async checkForUpdate() { + let hash = "(unknown)"; + try { + const manifest = await this.fetchLatestManifest(true); + if (manifest === null) { + this.debugger.log("Check for update aborted. (Client or server offline.)"); + return false; + } + hash = hashManifest(manifest); + if (this.versions.has(hash)) { + await this.notifyClientsAboutNoNewVersionDetected(manifest, hash); + return false; + } + await this.notifyClientsAboutVersionDetected(manifest, hash); + await this.setupUpdate(manifest, hash); + return true; + } catch (err) { + this.debugger.log(err, `Error occurred while updating to manifest ${hash}`); + this.state = DriverReadyState.EXISTING_CLIENTS_ONLY; + this.stateMessage = `Degraded due to failed initialization: ${errorToString(err)}`; + return false; + } + } + async sync() { + const table = await this.controlTable; + const manifests = {}; + this.versions.forEach((version, hash) => { + manifests[hash] = version.manifest; + }); + const assignments = {}; + this.clientVersionMap.forEach((hash, clientId) => { + assignments[clientId] = hash; + }); + const latest = { + latest: this.latestHash + }; + await Promise.all([ + table.write("manifests", manifests), + table.write("assignments", assignments), + table.write("latest", latest) + ]); + } + async cleanupCaches() { + try { + const activeClients = new Set((await this.scope.clients.matchAll()).map((client) => client.id)); + const knownClients = Array.from(this.clientVersionMap.keys()); + const obsoleteClients = knownClients.filter((id) => !activeClients.has(id)); + obsoleteClients.forEach((id) => this.clientVersionMap.delete(id)); + const usedVersions = new Set(this.clientVersionMap.values()); + const obsoleteVersions = Array.from(this.versions.keys()).filter((version) => !usedVersions.has(version) && version !== this.latestHash); + obsoleteVersions.forEach((version) => this.versions.delete(version)); + await this.sync(); + const allCaches = await this.adapter.caches.keys(); + const usedCaches = new Set(await this.getCacheNames()); + const cachesToDelete = allCaches.filter((name) => !usedCaches.has(name)); + await Promise.all(cachesToDelete.map((name) => this.adapter.caches.delete(name))); + } catch (err) { + this.debugger.log(err, "cleanupCaches"); + } + } + async cleanupOldSwCaches() { + const caches = this.adapter.caches.original; + const cacheNames = await caches.keys(); + const oldSwCacheNames = cacheNames.filter((name) => /^ngsw:(?!\/)/.test(name)); + await Promise.all(oldSwCacheNames.map((name) => caches.delete(name))); + } + lookupResourceWithHash(url, hash) { + return Array.from(this.versions.values()).reduce(async (prev, version) => { + if (await prev !== null) { + return prev; + } + return version.lookupResourceWithHash(url, hash); + }, Promise.resolve(null)); + } + async lookupResourceWithoutHash(url) { + await this.initialized; + const version = this.versions.get(this.latestHash); + return version ? version.lookupResourceWithoutHash(url) : null; + } + async previouslyCachedResources() { + await this.initialized; + const version = this.versions.get(this.latestHash); + return version ? version.previouslyCachedResources() : []; + } + async recentCacheStatus(url) { + const version = this.versions.get(this.latestHash); + return version ? version.recentCacheStatus(url) : UpdateCacheStatus.NOT_CACHED; + } + mergeHashWithAppData(manifest, hash) { + return { + hash, + appData: manifest.appData + }; + } + async notifyClientsAboutUnrecoverableState(appVersion, reason) { + const broken = Array.from(this.versions.entries()).find(([hash, version]) => version === appVersion); + if (broken === void 0) { + return; + } + const brokenHash = broken[0]; + const affectedClients = Array.from(this.clientVersionMap.entries()).filter(([clientId, hash]) => hash === brokenHash).map(([clientId]) => clientId); + await Promise.all(affectedClients.map(async (clientId) => { + const client = await this.scope.clients.get(clientId); + if (client) { + client.postMessage({ type: "UNRECOVERABLE_STATE", reason }); + } + })); + } + async notifyClientsAboutVersionInstallationFailed(manifest, hash, error) { + await this.initialized; + const clients = await this.scope.clients.matchAll(); + await Promise.all(clients.map(async (client) => { + client.postMessage({ + type: "VERSION_INSTALLATION_FAILED", + version: this.mergeHashWithAppData(manifest, hash), + error: errorToString(error) + }); + })); + } + async notifyClientsAboutNoNewVersionDetected(manifest, hash) { + await this.initialized; + const clients = await this.scope.clients.matchAll(); + await Promise.all(clients.map(async (client) => { + client.postMessage({ + type: "NO_NEW_VERSION_DETECTED", + version: this.mergeHashWithAppData(manifest, hash) + }); + })); + } + async notifyClientsAboutVersionDetected(manifest, hash) { + await this.initialized; + const clients = await this.scope.clients.matchAll(); + await Promise.all(clients.map(async (client) => { + const version = this.clientVersionMap.get(client.id); + if (version === void 0) { + return; + } + client.postMessage({ + type: "VERSION_DETECTED", + version: this.mergeHashWithAppData(manifest, hash) + }); + })); + } + async notifyClientsAboutVersionReady(manifest, hash) { + await this.initialized; + const clients = await this.scope.clients.matchAll(); + await Promise.all(clients.map(async (client) => { + const version = this.clientVersionMap.get(client.id); + if (version === void 0) { + return; + } + if (version === this.latestHash) { + return; + } + const current = this.versions.get(version); + const notice = { + type: "VERSION_READY", + currentVersion: this.mergeHashWithAppData(current.manifest, version), + latestVersion: this.mergeHashWithAppData(manifest, hash) + }; + client.postMessage(notice); + })); + } + async broadcast(msg) { + const clients = await this.scope.clients.matchAll(); + clients.forEach((client) => { + client.postMessage(msg); + }); + } + async debugState() { + return { + state: DriverReadyState[this.state], + why: this.stateMessage, + latestHash: this.latestHash, + lastUpdateCheck: this.lastUpdateCheck + }; + } + async debugVersions() { + return Array.from(this.versions.keys()).map((hash) => { + const version = this.versions.get(hash); + const clients = Array.from(this.clientVersionMap.entries()).filter(([clientId, version2]) => version2 === hash).map(([clientId, version2]) => clientId); + return { + hash, + manifest: version.manifest, + clients, + status: "" + }; + }); + } + async debugIdleState() { + return { + queue: this.idle.taskDescriptions, + lastTrigger: this.idle.lastTrigger, + lastRun: this.idle.lastRun + }; + } + async safeFetch(req) { + try { + return await this.scope.fetch(req); + } catch (err) { + this.debugger.log(err, `Driver.fetch(${req.url})`); + return this.adapter.newResponse(null, { + status: 504, + statusText: "Gateway Timeout" + }); + } + } + async getCacheNames() { + const controlTable = await this.controlTable; + const appVersions = Array.from(this.versions.values()); + const appVersionCacheNames = await Promise.all(appVersions.map((version) => version.getCacheNames())); + return [controlTable.cacheName].concat(...appVersionCacheNames); + } + }; + + // bazel-out/darwin_arm64-fastbuild-ST-2e5f3376adb5/bin/packages/service-worker/worker/main.mjs + var scope = self; + var adapter = new Adapter(scope.registration.scope, self.caches); + new Driver(scope, adapter, new CacheDatabase(adapter)); +})(); +/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ diff --git a/erm.frontend/public/svg-path-editor/ngsw.json b/erm.frontend/public/svg-path-editor/ngsw.json new file mode 100644 index 00000000..ffc43057 --- /dev/null +++ b/erm.frontend/public/svg-path-editor/ngsw.json @@ -0,0 +1,115 @@ +{ + "configVersion": 1, + "timestamp": 1725339129432, + "index": "/index.html", + "assetGroups": [ + { + "name": "app", + "installMode": "prefetch", + "updateMode": "prefetch", + "cacheQueryOptions": { + "ignoreVary": true + }, + "urls": [ + "/favicon.ico", + "/index.html", + "/main.19cfcacc3c0bb7eb.js", + "/manifest.webmanifest", + "/polyfills.179c8bf8046b88bb.js", + "/runtime.6f6474d711a7c88e.js", + "/styles.a4c2c16033803e20.css" + ], + "patterns": [] + }, + { + "name": "assets", + "installMode": "lazy", + "updateMode": "prefetch", + "cacheQueryOptions": { + "ignoreVary": true + }, + "urls": [ + "/assets/KFOlCnqEu92Fr1MmEU9fBBc4AMP6lQ copy.woff2", + "/assets/KFOlCnqEu92Fr1MmEU9fBBc4AMP6lQ.woff2", + "/assets/KFOlCnqEu92Fr1MmSU5fBBc4AMP6lQ.woff2", + "/assets/KFOlCnqEu92Fr1MmSU5fCRc4AMP6lbBP.woff2", + "/assets/KFOmCnqEu92Fr1Mu4mxKKTU1Kg.woff2", + "/assets/KFOmCnqEu92Fr1Mu72xKKTU1Kvnz.woff2", + "/assets/css.css", + "/assets/delete.svg", + "/assets/github.svg", + "/assets/icons/icon-128x128.png", + "/assets/icons/icon-144x144.png", + "/assets/icons/icon-152x152-cropped.png", + "/assets/icons/icon-152x152.png", + "/assets/icons/icon-192x192.png", + "/assets/icons/icon-384x384.png", + "/assets/icons/icon-512x512.png", + "/assets/icons/icon-72x72.png", + "/assets/icons/icon-96x96.png", + "/assets/logo.svg", + "/assets/materialicons-v142.woff2", + "/assets/more.svg", + "/assets/sponsor.svg", + "/assets/zoom_fit.svg", + "/assets/zoom_in.svg", + "/assets/zoom_out.svg" + ], + "patterns": [] + } + ], + "dataGroups": [], + "hashTable": { + "/assets/KFOlCnqEu92Fr1MmEU9fBBc4AMP6lQ copy.woff2": "a7171422d5c6540cf3eeb0b0c7b7fda3973128f9", + "/assets/KFOlCnqEu92Fr1MmEU9fBBc4AMP6lQ.woff2": "a7171422d5c6540cf3eeb0b0c7b7fda3973128f9", + "/assets/KFOlCnqEu92Fr1MmSU5fBBc4AMP6lQ.woff2": "117895b042db3c7ce867c807a63f238148c85bf7", + "/assets/KFOlCnqEu92Fr1MmSU5fCRc4AMP6lbBP.woff2": "4e14271afc054b53725261e61ff3d6d41282ba05", + "/assets/KFOmCnqEu92Fr1Mu4mxKKTU1Kg.woff2": "4b7bad6c115b963523d3cd7ad52ebf717135e24a", + "/assets/KFOmCnqEu92Fr1Mu72xKKTU1Kvnz.woff2": "5bfe9060f0f5f13b4e777e29e65341bb782095bd", + "/assets/css.css": "5e572a30d3e070d7d4e01e1400c05aa28384868a", + "/assets/delete.svg": "c9d8618ebbfb075f6449d7ccd318be36803a2a98", + "/assets/github.svg": "f49c2d4abc2753aff2edbd161758f852472e22ed", + "/assets/icons/icon-128x128.png": "990bf9066e18e84df38496afcb581dd032d5dd79", + "/assets/icons/icon-144x144.png": "1418f7e28c137f14f1e3f52405587500dc2e314e", + "/assets/icons/icon-152x152-cropped.png": "4252eb7bfb2e454264eef04afedbe46f22abd619", + "/assets/icons/icon-152x152.png": "149f61864f3e263deedab9a54ae68737417b1b3c", + "/assets/icons/icon-192x192.png": "a4357613a87087d60ddb19e3f1117cd7116fab7a", + "/assets/icons/icon-384x384.png": "d98880dd39e8f550e4c12b3c6c6d347a4c79adfe", + "/assets/icons/icon-512x512.png": "7492b47ba3ea2a411037ca9f65474c1e557b9dbb", + "/assets/icons/icon-72x72.png": "025fc86cdee053766cb0ba832ec7611d9d2f9e24", + "/assets/icons/icon-96x96.png": "94a0268ac4b4667655798a2ae84a4ce1197a9775", + "/assets/logo.svg": "991d4d0400f85453cf8f7cbad937be0201bf0f65", + "/assets/materialicons-v142.woff2": "aaae93b146d97737fabe87a6bc741113e6899ad3", + "/assets/more.svg": "b10d6de2d92740c806af17c0ff9c520d3e4bf35f", + "/assets/sponsor.svg": "7ef4b2531be1d24978c158588ea28851b3cfe579", + "/assets/zoom_fit.svg": "3bfa12d79ff4a9c32465c0501ef85d3783ea96c3", + "/assets/zoom_in.svg": "bf3ac558a23c8e5de36d2526618eac96e867af4a", + "/assets/zoom_out.svg": "2e7c0be5fb00f1468a89685dc13139a63d34588d", + "/favicon.ico": "5e89bcef8dcf5abfb8442b0a182fbe76dfbf61a9", + "/index.html": "65bc7e93d913a4e4a58a3464fd55ecf665c5f9e0", + "/main.19cfcacc3c0bb7eb.js": "4b5dd4dc575ad647161372f7cff0552de1139e81", + "/manifest.webmanifest": "80b98f13afc36553e06626b0f03032fcaac82c58", + "/polyfills.179c8bf8046b88bb.js": "67853517b3c4a85d4b49c17da38a5e43d5300e43", + "/runtime.6f6474d711a7c88e.js": "2fb0c339e14f24885ee4118a95a4513ce37011a6", + "/styles.a4c2c16033803e20.css": "0375c469df334b800f9a82dd7e6cd42081c0f67b" + }, + "navigationUrls": [ + { + "positive": true, + "regex": "^\\/.*$" + }, + { + "positive": false, + "regex": "^\\/(?:.+\\/)?[^/]*\\.[^/]*$" + }, + { + "positive": false, + "regex": "^\\/(?:.+\\/)?[^/]*__[^/]*$" + }, + { + "positive": false, + "regex": "^\\/(?:.+\\/)?[^/]*__[^/]*\\/.*$" + } + ], + "navigationRequestStrategy": "performance" +} \ No newline at end of file diff --git a/erm.frontend/public/svg-path-editor/polyfills.179c8bf8046b88bb.js b/erm.frontend/public/svg-path-editor/polyfills.179c8bf8046b88bb.js new file mode 100644 index 00000000..204c5f95 --- /dev/null +++ b/erm.frontend/public/svg-path-editor/polyfills.179c8bf8046b88bb.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunksvg_path_editor=self.webpackChunksvg_path_editor||[]).push([[461],{935:()=>{const te=globalThis;function ee(e){return(te.__Zone_symbol_prefix||"__zone_symbol__")+e}const ke=Object.getOwnPropertyDescriptor,Ne=Object.defineProperty,Le=Object.getPrototypeOf,_t=Object.create,Et=Array.prototype.slice,Ie="addEventListener",Me="removeEventListener",Ze=ee(Ie),Ae=ee(Me),ae="true",le="false",ve=ee("");function je(e,r){return Zone.current.wrap(e,r)}function He(e,r,c,t,i){return Zone.current.scheduleMacroTask(e,r,c,t,i)}const j=ee,we=typeof window<"u",Te=we?window:void 0,$=we&&Te||globalThis,Tt="removeAttribute";function xe(e,r){for(let c=e.length-1;c>=0;c--)"function"==typeof e[c]&&(e[c]=je(e[c],r+"_"+c));return e}function We(e){return!e||!1!==e.writable&&!("function"==typeof e.get&&typeof e.set>"u")}const qe=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,Re=!("nw"in $)&&typeof $.process<"u"&&"[object process]"===$.process.toString(),Ve=!Re&&!qe&&!(!we||!Te.HTMLElement),Xe=typeof $.process<"u"&&"[object process]"===$.process.toString()&&!qe&&!(!we||!Te.HTMLElement),Ce={},yt=j("enable_beforeunload"),Ye=function(e){if(!(e=e||$.event))return;let r=Ce[e.type];r||(r=Ce[e.type]=j("ON_PROPERTY"+e.type));const c=this||e.target||$,t=c[r];let i;return Ve&&c===Te&&"error"===e.type?(i=t&&t.call(this,e.message,e.filename,e.lineno,e.colno,e.error),!0===i&&e.preventDefault()):(i=t&&t.apply(this,arguments),"beforeunload"===e.type&&$[yt]&&"string"==typeof i?e.returnValue=i:null!=i&&!i&&e.preventDefault()),i};function $e(e,r,c){let t=ke(e,r);if(!t&&c&&ke(c,r)&&(t={enumerable:!0,configurable:!0}),!t||!t.configurable)return;const i=j("on"+r+"patched");if(e.hasOwnProperty(i)&&e[i])return;delete t.writable,delete t.value;const u=t.get,E=t.set,T=r.slice(2);let m=Ce[T];m||(m=Ce[T]=j("ON_PROPERTY"+T)),t.set=function(D){let d=this;!d&&e===$&&(d=$),d&&("function"==typeof d[m]&&d.removeEventListener(T,Ye),E&&E.call(d,null),d[m]=D,"function"==typeof D&&d.addEventListener(T,Ye,!1))},t.get=function(){let D=this;if(!D&&e===$&&(D=$),!D)return null;const d=D[m];if(d)return d;if(u){let w=u.call(this);if(w)return t.set.call(this,w),"function"==typeof D[Tt]&&D.removeAttribute(r),w}return null},Ne(e,r,t),e[i]=!0}function Je(e,r,c){if(r)for(let t=0;tfunction(E,T){const m=c(E,T);return m.cbIdx>=0&&"function"==typeof T[m.cbIdx]?He(m.name,T[m.cbIdx],m,i):u.apply(E,T)})}function fe(e,r){e[j("OriginalDelegate")]=r}let Ke=!1,Ge=!1;function kt(){if(Ke)return Ge;Ke=!0;try{const e=Te.navigator.userAgent;(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/")||-1!==e.indexOf("Edge/"))&&(Ge=!0)}catch{}return Ge}function Qe(e){return"function"==typeof e}function et(e){return"number"==typeof e}let ge=!1;if(typeof window<"u")try{const e=Object.defineProperty({},"passive",{get:function(){ge=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch{ge=!1}const vt={useG:!0},ne={},tt={},nt=new RegExp("^"+ve+"(\\w+)(true|false)$"),rt=j("propagationStopped");function ot(e,r){const c=(r?r(e):e)+le,t=(r?r(e):e)+ae,i=ve+c,u=ve+t;ne[e]={},ne[e][le]=i,ne[e][ae]=u}function bt(e,r,c,t){const i=t&&t.add||Ie,u=t&&t.rm||Me,E=t&&t.listeners||"eventListeners",T=t&&t.rmAll||"removeAllListeners",m=j(i),D="."+i+":",d="prependListener",w="."+d+":",Z=function(k,h,H){if(k.isRemoved)return;const V=k.callback;let Y;"object"==typeof V&&V.handleEvent&&(k.callback=g=>V.handleEvent(g),k.originalDelegate=V);try{k.invoke(k,h,[H])}catch(g){Y=g}const G=k.options;return G&&"object"==typeof G&&G.once&&h[u].call(h,H.type,k.originalDelegate?k.originalDelegate:k.callback,G),Y};function x(k,h,H){if(!(h=h||e.event))return;const V=k||h.target||e,Y=V[ne[h.type][H?ae:le]];if(Y){const G=[];if(1===Y.length){const g=Z(Y[0],V,h);g&&G.push(g)}else{const g=Y.slice();for(let z=0;z{throw z})}}}const U=function(k){return x(this,k,!1)},J=function(k){return x(this,k,!0)};function K(k,h){if(!k)return!1;let H=!0;h&&void 0!==h.useG&&(H=h.useG);const V=h&&h.vh;let Y=!0;h&&void 0!==h.chkDup&&(Y=h.chkDup);let G=!1;h&&void 0!==h.rt&&(G=h.rt);let g=k;for(;g&&!g.hasOwnProperty(i);)g=Le(g);if(!g&&k[i]&&(g=k),!g||g[m])return!1;const z=h&&h.eventNameToString,O={},R=g[m]=g[i],b=g[j(u)]=g[u],S=g[j(E)]=g[E],Q=g[j(T)]=g[T];let W;h&&h.prepend&&(W=g[j(h.prepend)]=g[h.prepend]);const q=H?function(s){if(!O.isExisting)return R.call(O.target,O.eventName,O.capture?J:U,O.options)}:function(s){return R.call(O.target,O.eventName,s.invoke,O.options)},A=H?function(s){if(!s.isRemoved){const l=ne[s.eventName];let v;l&&(v=l[s.capture?ae:le]);const C=v&&s.target[v];if(C)for(let y=0;yse.zone.cancelTask(se);s.call(me,"abort",ce,{once:!0}),se.removeAbortListener=()=>me.removeEventListener("abort",ce)}return O.target=null,Pe&&(Pe.taskData=null),lt&&(O.options.once=!0),!ge&&"boolean"==typeof se.options||(se.options=ie),se.target=I,se.capture=Be,se.eventName=M,B&&(se.originalDelegate=F),L?pe.unshift(se):pe.push(se),y?I:void 0}};return g[i]=a(R,D,q,A,G),W&&(g[d]=a(W,w,function(s){return W.call(O.target,O.eventName,s.invoke,O.options)},A,G,!0)),g[u]=function(){const s=this||e;let l=arguments[0];h&&h.transferEventName&&(l=h.transferEventName(l));const v=arguments[2],C=!!v&&("boolean"==typeof v||v.capture),y=arguments[1];if(!y)return b.apply(this,arguments);if(V&&!V(b,y,s,arguments))return;const L=ne[l];let I;L&&(I=L[C?ae:le]);const M=I&&s[I];if(M)for(let F=0;Ffunction(i,u){i[rt]=!0,t&&t.apply(i,u)})}const De=j("zoneTask");function ye(e,r,c,t){let i=null,u=null;c+=t;const E={};function T(D){const d=D.data;d.args[0]=function(){return D.invoke.apply(this,arguments)};const w=i.apply(e,d.args);return et(w)?d.handleId=w:(d.handle=w,d.isRefreshable=Qe(w.refresh)),D}function m(D){const{handle:d,handleId:w}=D.data;return u.call(e,d??w)}i=ue(e,r+=t,D=>function(d,w){if(Qe(w[0])){const Z={isRefreshable:!1,isPeriodic:"Interval"===t,delay:"Timeout"===t||"Interval"===t?w[1]||0:void 0,args:w},x=w[0];w[0]=function(){try{return x.apply(this,arguments)}finally{const{handle:H,handleId:V,isPeriodic:Y,isRefreshable:G}=Z;!Y&&!G&&(V?delete E[V]:H&&(H[De]=null))}};const U=He(r,w[0],Z,T,m);if(!U)return U;const{handleId:J,handle:K,isRefreshable:X,isPeriodic:k}=U.data;if(J)E[J]=U;else if(K&&(K[De]=U,X&&!k)){const h=K.refresh;K.refresh=function(){const{zone:H,state:V}=U;return"notScheduled"===V?(U._state="scheduled",H._updateTaskCount(U,1)):"running"===V&&(U._state="scheduling"),h.call(this)}}return K??J??U}return D.apply(e,w)}),u=ue(e,c,D=>function(d,w){const Z=w[0];let x;et(Z)?(x=E[Z],delete E[Z]):(x=Z?.[De],x?Z[De]=null:x=Z),x?.type?x.cancelFn&&x.zone.cancelTask(x):D.apply(e,w)})}function it(e,r,c){if(!c||0===c.length)return r;const t=c.filter(u=>u.target===e);if(!t||0===t.length)return r;const i=t[0].ignoreProperties;return r.filter(u=>-1===i.indexOf(u))}function ct(e,r,c,t){e&&Je(e,it(e,r,c),t)}function Fe(e){return Object.getOwnPropertyNames(e).filter(r=>r.startsWith("on")&&r.length>2).map(r=>r.substring(2))}function It(e,r,c,t,i){const u=Zone.__symbol__(t);if(r[u])return;const E=r[u]=r[t];r[t]=function(T,m,D){return m&&m.prototype&&i.forEach(function(d){const w=`${c}.${t}::`+d,Z=m.prototype;try{if(Z.hasOwnProperty(d)){const x=e.ObjectGetOwnPropertyDescriptor(Z,d);x&&x.value?(x.value=e.wrapWithCurrentZone(x.value,w),e._redefineProperty(m.prototype,d,x)):Z[d]&&(Z[d]=e.wrapWithCurrentZone(Z[d],w))}else Z[d]&&(Z[d]=e.wrapWithCurrentZone(Z[d],w))}catch{}}),E.call(r,T,m,D)},e.attachOriginToPatched(r[t],E)}const at=function Oe(){const e=globalThis,r=!0===e[ee("forceDuplicateZoneCheck")];if(e.Zone&&(r||"function"!=typeof e.Zone.__symbol__))throw new Error("Zone already loaded.");return e.Zone??=function ze(){const e=te.performance;function r(N){e&&e.mark&&e.mark(N)}function c(N,_){e&&e.measure&&e.measure(N,_)}r("Zone");let t=(()=>{class N{static#e=this.__symbol__=ee;static assertZonePatched(){if(te.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 n=N.current;for(;n.parent;)n=n.parent;return n}static get current(){return b.zone}static get currentTask(){return S}static __load_patch(n,o,p=!1){if(O.hasOwnProperty(n)){const P=!0===te[ee("forceDuplicateZoneCheck")];if(!p&&P)throw Error("Already loaded patch: "+n)}else if(!te["__Zone_disable_"+n]){const P="Zone:"+n;r(P),O[n]=o(te,N,R),c(P,P)}}get parent(){return this._parent}get name(){return this._name}constructor(n,o){this._parent=n,this._name=o?o.name||"unnamed":"",this._properties=o&&o.properties||{},this._zoneDelegate=new u(this,this._parent&&this._parent._zoneDelegate,o)}get(n){const o=this.getZoneWith(n);if(o)return o._properties[n]}getZoneWith(n){let o=this;for(;o;){if(o._properties.hasOwnProperty(n))return o;o=o._parent}return null}fork(n){if(!n)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,n)}wrap(n,o){if("function"!=typeof n)throw new Error("Expecting function got: "+n);const p=this._zoneDelegate.intercept(this,n,o),P=this;return function(){return P.runGuarded(p,this,arguments,o)}}run(n,o,p,P){b={parent:b,zone:this};try{return this._zoneDelegate.invoke(this,n,o,p,P)}finally{b=b.parent}}runGuarded(n,o=null,p,P){b={parent:b,zone:this};try{try{return this._zoneDelegate.invoke(this,n,o,p,P)}catch(q){if(this._zoneDelegate.handleError(this,q))throw q}}finally{b=b.parent}}runTask(n,o,p){if(n.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(n.zone||K).name+"; Execution: "+this.name+")");const P=n,{type:q,data:{isPeriodic:A=!1,isRefreshable:_e=!1}={}}=n;if(n.state===X&&(q===z||q===g))return;const he=n.state!=H;he&&P._transitionTo(H,h);const de=S;S=P,b={parent:b,zone:this};try{q==g&&n.data&&!A&&!_e&&(n.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,P,o,p)}catch(oe){if(this._zoneDelegate.handleError(this,oe))throw oe}}finally{const oe=n.state;if(oe!==X&&oe!==Y)if(q==z||A||_e&&oe===k)he&&P._transitionTo(h,H,k);else{const f=P._zoneDelegates;this._updateTaskCount(P,-1),he&&P._transitionTo(X,H,X),_e&&(P._zoneDelegates=f)}b=b.parent,S=de}}scheduleTask(n){if(n.zone&&n.zone!==this){let p=this;for(;p;){if(p===n.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${n.zone.name}`);p=p.parent}}n._transitionTo(k,X);const o=[];n._zoneDelegates=o,n._zone=this;try{n=this._zoneDelegate.scheduleTask(this,n)}catch(p){throw n._transitionTo(Y,k,X),this._zoneDelegate.handleError(this,p),p}return n._zoneDelegates===o&&this._updateTaskCount(n,1),n.state==k&&n._transitionTo(h,k),n}scheduleMicroTask(n,o,p,P){return this.scheduleTask(new E(G,n,o,p,P,void 0))}scheduleMacroTask(n,o,p,P,q){return this.scheduleTask(new E(g,n,o,p,P,q))}scheduleEventTask(n,o,p,P,q){return this.scheduleTask(new E(z,n,o,p,P,q))}cancelTask(n){if(n.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(n.zone||K).name+"; Execution: "+this.name+")");if(n.state===h||n.state===H){n._transitionTo(V,h,H);try{this._zoneDelegate.cancelTask(this,n)}catch(o){throw n._transitionTo(Y,V),this._zoneDelegate.handleError(this,o),o}return this._updateTaskCount(n,-1),n._transitionTo(X,V),n.runCount=-1,n}}_updateTaskCount(n,o){const p=n._zoneDelegates;-1==o&&(n._zoneDelegates=null);for(let P=0;PN.hasTask(n,o),onScheduleTask:(N,_,n,o)=>N.scheduleTask(n,o),onInvokeTask:(N,_,n,o,p,P)=>N.invokeTask(n,o,p,P),onCancelTask:(N,_,n,o)=>N.cancelTask(n,o)};class u{get zone(){return this._zone}constructor(_,n,o){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this._zone=_,this._parentDelegate=n,this._forkZS=o&&(o&&o.onFork?o:n._forkZS),this._forkDlgt=o&&(o.onFork?n:n._forkDlgt),this._forkCurrZone=o&&(o.onFork?this._zone:n._forkCurrZone),this._interceptZS=o&&(o.onIntercept?o:n._interceptZS),this._interceptDlgt=o&&(o.onIntercept?n:n._interceptDlgt),this._interceptCurrZone=o&&(o.onIntercept?this._zone:n._interceptCurrZone),this._invokeZS=o&&(o.onInvoke?o:n._invokeZS),this._invokeDlgt=o&&(o.onInvoke?n:n._invokeDlgt),this._invokeCurrZone=o&&(o.onInvoke?this._zone:n._invokeCurrZone),this._handleErrorZS=o&&(o.onHandleError?o:n._handleErrorZS),this._handleErrorDlgt=o&&(o.onHandleError?n:n._handleErrorDlgt),this._handleErrorCurrZone=o&&(o.onHandleError?this._zone:n._handleErrorCurrZone),this._scheduleTaskZS=o&&(o.onScheduleTask?o:n._scheduleTaskZS),this._scheduleTaskDlgt=o&&(o.onScheduleTask?n:n._scheduleTaskDlgt),this._scheduleTaskCurrZone=o&&(o.onScheduleTask?this._zone:n._scheduleTaskCurrZone),this._invokeTaskZS=o&&(o.onInvokeTask?o:n._invokeTaskZS),this._invokeTaskDlgt=o&&(o.onInvokeTask?n:n._invokeTaskDlgt),this._invokeTaskCurrZone=o&&(o.onInvokeTask?this._zone:n._invokeTaskCurrZone),this._cancelTaskZS=o&&(o.onCancelTask?o:n._cancelTaskZS),this._cancelTaskDlgt=o&&(o.onCancelTask?n:n._cancelTaskDlgt),this._cancelTaskCurrZone=o&&(o.onCancelTask?this._zone:n._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const p=o&&o.onHasTask;(p||n&&n._hasTaskZS)&&(this._hasTaskZS=p?o:i,this._hasTaskDlgt=n,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=this._zone,o.onScheduleTask||(this._scheduleTaskZS=i,this._scheduleTaskDlgt=n,this._scheduleTaskCurrZone=this._zone),o.onInvokeTask||(this._invokeTaskZS=i,this._invokeTaskDlgt=n,this._invokeTaskCurrZone=this._zone),o.onCancelTask||(this._cancelTaskZS=i,this._cancelTaskDlgt=n,this._cancelTaskCurrZone=this._zone))}fork(_,n){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,_,n):new t(_,n)}intercept(_,n,o){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,_,n,o):n}invoke(_,n,o,p,P){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,_,n,o,p,P):n.apply(o,p)}handleError(_,n){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,_,n)}scheduleTask(_,n){let o=n;if(this._scheduleTaskZS)this._hasTaskZS&&o._zoneDelegates.push(this._hasTaskDlgtOwner),o=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,_,n),o||(o=n);else if(n.scheduleFn)n.scheduleFn(n);else{if(n.type!=G)throw new Error("Task is missing scheduleFn.");U(n)}return o}invokeTask(_,n,o,p){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,_,n,o,p):n.callback.apply(o,p)}cancelTask(_,n){let o;if(this._cancelTaskZS)o=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,_,n);else{if(!n.cancelFn)throw Error("Task is not cancelable");o=n.cancelFn(n)}return o}hasTask(_,n){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,_,n)}catch(o){this.handleError(_,o)}}_updateTaskCount(_,n){const o=this._taskCounts,p=o[_],P=o[_]=p+n;if(P<0)throw new Error("More tasks executed then were scheduled.");0!=p&&0!=P||this.hasTask(this._zone,{microTask:o.microTask>0,macroTask:o.macroTask>0,eventTask:o.eventTask>0,change:_})}}class E{constructor(_,n,o,p,P,q){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=_,this.source=n,this.data=p,this.scheduleFn=P,this.cancelFn=q,!o)throw new Error("callback is not defined");this.callback=o;const A=this;this.invoke=_===z&&p&&p.useG?E.invokeTask:function(){return E.invokeTask.call(te,A,this,arguments)}}static invokeTask(_,n,o){_||(_=this),Q++;try{return _.runCount++,_.zone.runTask(_,n,o)}finally{1==Q&&J(),Q--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(X,k)}_transitionTo(_,n,o){if(this._state!==n&&this._state!==o)throw new Error(`${this.type} '${this.source}': can not transition to '${_}', expecting state '${n}'${o?" or '"+o+"'":""}, was '${this._state}'.`);this._state=_,_==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 T=ee("setTimeout"),m=ee("Promise"),D=ee("then");let Z,d=[],w=!1;function x(N){if(Z||te[m]&&(Z=te[m].resolve(0)),Z){let _=Z[D];_||(_=Z.then),_.call(Z,N)}else te[T](N,0)}function U(N){0===Q&&0===d.length&&x(J),N&&d.push(N)}function J(){if(!w){for(w=!0;d.length;){const N=d;d=[];for(let _=0;_b,onUnhandledError:W,microtaskDrainDone:W,scheduleMicroTask:U,showUncaughtError:()=>!t[ee("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:W,patchMethod:()=>W,bindArguments:()=>[],patchThen:()=>W,patchMacroTask:()=>W,patchEventPrototype:()=>W,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>W,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>W,wrapWithCurrentZone:()=>W,filterProperties:()=>[],attachOriginToPatched:()=>W,_redefineProperty:()=>W,patchCallbacks:()=>W,nativeScheduleMicroTask:x};let b={parent:null,zone:new t(null,null)},S=null,Q=0;function W(){}return c("Zone","Zone"),t}(),e.Zone}();(function Zt(e){(function Nt(e){e.__load_patch("ZoneAwarePromise",(r,c,t)=>{const i=Object.getOwnPropertyDescriptor,u=Object.defineProperty,T=t.symbol,m=[],D=!1!==r[T("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],d=T("Promise"),w=T("then"),Z="__creationTrace__";t.onUnhandledError=f=>{if(t.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)}},t.microtaskDrainDone=()=>{for(;m.length;){const f=m.shift();try{f.zone.runGuarded(()=>{throw f.throwOriginal?f.rejection:f})}catch(a){U(a)}}};const x=T("unhandledPromiseRejectionHandler");function U(f){t.onUnhandledError(f);try{const a=c[x];"function"==typeof a&&a.call(this,f)}catch{}}function J(f){return f&&f.then}function K(f){return f}function X(f){return A.reject(f)}const k=T("state"),h=T("value"),H=T("finally"),V=T("parentPromiseValue"),Y=T("parentPromiseState"),G="Promise.then",g=null,z=!0,O=!1,R=0;function b(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))}}},Q="Promise resolved with itself",W=T("currentTaskTrace");function N(f,a,s){const l=S();if(f===s)throw new TypeError(Q);if(f[k]===g){let v=null;try{("object"==typeof s||"function"==typeof s)&&(v=s&&s.then)}catch(C){return l(()=>{N(f,!1,C)})(),f}if(a!==O&&s instanceof A&&s.hasOwnProperty(k)&&s.hasOwnProperty(h)&&s[k]!==g)n(s),N(f,s[k],s[h]);else if(a!==O&&"function"==typeof v)try{v.call(s,l(b(f,a)),l(b(f,!1)))}catch(C){l(()=>{N(f,!1,C)})()}else{f[k]=a;const C=f[h];if(f[h]=s,f[H]===H&&a===z&&(f[k]=f[Y],f[h]=f[V]),a===O&&s instanceof Error){const y=c.currentTask&&c.currentTask.data&&c.currentTask.data[Z];y&&u(s,W,{configurable:!0,enumerable:!1,writable:!0,value:y})}for(let y=0;y{try{const L=f[h],I=!!s&&H===s[H];I&&(s[V]=L,s[Y]=C);const M=a.run(y,void 0,I&&y!==X&&y!==K?[]:[L]);N(s,!0,M)}catch(L){N(s,!1,L)}},s)}const P=function(){},q=r.AggregateError;class A{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(a){return a instanceof A?a:N(new this(null),z,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 q([],"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 q([],"All promises were rejected"))}if(0===l)return Promise.reject(new q([],"All promises were rejected"));let v=!1;const C=[];return new A((y,L)=>{for(let I=0;I{v||(v=!0,y(M))},M=>{C.push(M),l--,0===l&&(v=!0,L(new q(C,"All promises were rejected")))})})}static race(a){let s,l,v=new this((L,I)=>{s=L,l=I});function C(L){s(L)}function y(L){l(L)}for(let L of a)J(L)||(L=this.resolve(L)),L.then(C,y);return v}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,v,C=new this((M,F)=>{l=M,v=F}),y=2,L=0;const I=[];for(let M of a){J(M)||(M=this.resolve(M));const F=L;try{M.then(B=>{I[F]=s?s.thenCallback(B):B,y--,0===y&&l(I)},B=>{s?(I[F]=s.errorCallback(B),y--,0===y&&l(I)):v(B)})}catch(B){v(B)}y++,L++}return y-=2,0===y&&l(I),C}constructor(a){const s=this;if(!(s instanceof A))throw new Error("Must be an instanceof Promise.");s[k]=g,s[h]=[];try{const l=S();a&&a(l(b(s,z)),l(b(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 v=new l(P),C=c.current;return this[k]==g?this[h].push(C,v,a,s):o(this,C,v,a,s),v}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(P);l[H]=H;const v=c.current;return this[k]==g?this[h].push(v,l,a,a):o(this,v,l,a,a),l}}A.resolve=A.resolve,A.reject=A.reject,A.race=A.race,A.all=A.all;const _e=r[d]=r.Promise;r.Promise=A;const he=T("thenPatched");function de(f){const a=f.prototype,s=i(a,"then");if(s&&(!1===s.writable||!s.configurable))return;const l=a.then;a[w]=l,f.prototype.then=function(v,C){return new A((L,I)=>{l.call(this,L,I)}).then(v,C)},f[he]=!0}return t.patchThen=de,_e&&(de(_e),ue(r,"fetch",f=>function oe(f){return function(a,s){let l=f.apply(a,s);if(l instanceof A)return l;let v=l.constructor;return v[he]||de(v),l}}(f))),Promise[c.__symbol__("uncaughtPromiseErrors")]=m,A})})(e),function Lt(e){e.__load_patch("toString",r=>{const c=Function.prototype.toString,t=j("OriginalDelegate"),i=j("Promise"),u=j("Error"),E=function(){if("function"==typeof this){const d=this[t];if(d)return"function"==typeof d?c.call(d):Object.prototype.toString.call(d);if(this===Promise){const w=r[i];if(w)return c.call(w)}if(this===Error){const w=r[u];if(w)return c.call(w)}}return c.call(this)};E[t]=c,Function.prototype.toString=E;const T=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":T.call(this)}})}(e),function Mt(e){e.__load_patch("util",(r,c,t)=>{const i=Fe(r);t.patchOnProperties=Je,t.patchMethod=ue,t.bindArguments=xe,t.patchMacroTask=mt;const u=c.__symbol__("BLACK_LISTED_EVENTS"),E=c.__symbol__("UNPATCHED_EVENTS");r[E]&&(r[u]=r[E]),r[u]&&(c[u]=c[E]=r[u]),t.patchEventPrototype=Pt,t.patchEventTarget=bt,t.isIEOrEdge=kt,t.ObjectDefineProperty=Ne,t.ObjectGetOwnPropertyDescriptor=ke,t.ObjectCreate=_t,t.ArraySlice=Et,t.patchClass=be,t.wrapWithCurrentZone=je,t.filterProperties=it,t.attachOriginToPatched=fe,t._redefineProperty=Object.defineProperty,t.patchCallbacks=It,t.getGlobalObjects=()=>({globalSources:tt,zoneSymbolEventNames:ne,eventNames:i,isBrowser:Ve,isMix:Xe,isNode:Re,TRUE_STR:ae,FALSE_STR:le,ZONE_SYMBOL_PREFIX:ve,ADD_EVENT_LISTENER_STR:Ie,REMOVE_EVENT_LISTENER_STR:Me})})}(e)})(at),function Ot(e){e.__load_patch("legacy",r=>{const c=r[e.__symbol__("legacyPatch")];c&&c()}),e.__load_patch("timers",r=>{const c="set",t="clear";ye(r,c,t,"Timeout"),ye(r,c,t,"Interval"),ye(r,c,t,"Immediate")}),e.__load_patch("requestAnimationFrame",r=>{ye(r,"request","cancel","AnimationFrame"),ye(r,"mozRequest","mozCancel","AnimationFrame"),ye(r,"webkitRequest","webkitCancel","AnimationFrame")}),e.__load_patch("blocking",(r,c)=>{const t=["alert","prompt","confirm"];for(let i=0;ifunction(D,d){return c.current.run(E,r,d,m)})}),e.__load_patch("EventTarget",(r,c,t)=>{(function Dt(e,r){r.patchEventPrototype(e,r)})(r,t),function Ct(e,r){if(Zone[r.symbol("patchEventTarget")])return;const{eventNames:c,zoneSymbolEventNames:t,TRUE_STR:i,FALSE_STR:u,ZONE_SYMBOL_PREFIX:E}=r.getGlobalObjects();for(let m=0;m{be("MutationObserver"),be("WebKitMutationObserver")}),e.__load_patch("IntersectionObserver",(r,c,t)=>{be("IntersectionObserver")}),e.__load_patch("FileReader",(r,c,t)=>{be("FileReader")}),e.__load_patch("on_property",(r,c,t)=>{!function St(e,r){if(Re&&!Xe||Zone[e.symbol("patchEvents")])return;const c=r.__Zone_ignore_on_properties;let t=[];if(Ve){const i=window;t=t.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const u=function pt(){try{const e=Te.navigator.userAgent;if(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:i,ignoreProperties:["error"]}]:[];ct(i,Fe(i),c&&c.concat(u),Le(i))}t=t.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let i=0;i{!function Rt(e,r){const{isBrowser:c,isMix:t}=r.getGlobalObjects();(c||t)&&e.customElements&&"customElements"in e&&r.patchCallbacks(r,e.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback","formAssociatedCallback","formDisabledCallback","formResetCallback","formStateRestoreCallback"])}(r,t)}),e.__load_patch("XHR",(r,c)=>{!function D(d){const w=d.XMLHttpRequest;if(!w)return;const Z=w.prototype;let U=Z[Ze],J=Z[Ae];if(!U){const R=d.XMLHttpRequestEventTarget;if(R){const b=R.prototype;U=b[Ze],J=b[Ae]}}const K="readystatechange",X="scheduled";function k(R){const b=R.data,S=b.target;S[E]=!1,S[m]=!1;const Q=S[u];U||(U=S[Ze],J=S[Ae]),Q&&J.call(S,K,Q);const W=S[u]=()=>{if(S.readyState===S.DONE)if(!b.aborted&&S[E]&&R.state===X){const _=S[c.__symbol__("loadfalse")];if(0!==S.status&&_&&_.length>0){const n=R.invoke;R.invoke=function(){const o=S[c.__symbol__("loadfalse")];for(let p=0;pfunction(R,b){return R[i]=0==b[2],R[T]=b[1],V.apply(R,b)}),G=j("fetchTaskAborting"),g=j("fetchTaskScheduling"),z=ue(Z,"send",()=>function(R,b){if(!0===c.current[g]||R[i])return z.apply(R,b);{const S={target:R,url:R[T],isPeriodic:!1,args:b,aborted:!1},Q=He("XMLHttpRequest.send",h,S,k,H);R&&!0===R[m]&&!S.aborted&&Q.state===X&&Q.invoke()}}),O=ue(Z,"abort",()=>function(R,b){const S=function x(R){return R[t]}(R);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[G])return O.apply(R,b)})}(r);const t=j("xhrTask"),i=j("xhrSync"),u=j("xhrListener"),E=j("xhrScheduled"),T=j("xhrURL"),m=j("xhrErrorBeforeScheduled")}),e.__load_patch("geolocation",r=>{r.navigator&&r.navigator.geolocation&&function gt(e,r){const c=e.constructor.name;for(let t=0;t{const m=function(){return T.apply(this,xe(arguments,c+"."+i))};return fe(m,T),m})(u)}}}(r.navigator.geolocation,["getCurrentPosition","watchPosition"])}),e.__load_patch("PromiseRejectionEvent",(r,c)=>{function t(i){return function(u){st(r,i).forEach(T=>{const m=r.PromiseRejectionEvent;if(m){const D=new m(i,{promise:u.promise,reason:u.rejection});T.invoke(D)}})}}r.PromiseRejectionEvent&&(c[j("unhandledPromiseRejectionHandler")]=t("unhandledrejection"),c[j("rejectionHandledHandler")]=t("rejectionhandled"))}),e.__load_patch("queueMicrotask",(r,c,t)=>{!function wt(e,r){r.patchMethod(e,"queueMicrotask",c=>function(t,i){Zone.current.scheduleMicroTask("queueMicrotask",i[0])})}(r,t)})}(at)}},te=>{te(te.s=935)}]); \ No newline at end of file diff --git a/erm.frontend/public/svg-path-editor/runtime.6f6474d711a7c88e.js b/erm.frontend/public/svg-path-editor/runtime.6f6474d711a7c88e.js new file mode 100644 index 00000000..2a418403 --- /dev/null +++ b/erm.frontend/public/svg-path-editor/runtime.6f6474d711a7c88e.js @@ -0,0 +1 @@ +(()=>{"use strict";var e,i={},_={};function n(e){var l=_[e];if(void 0!==l)return l.exports;var r=_[e]={exports:{}};return i[e](r,r.exports,n),r.exports}n.m=i,e=[],n.O=(l,r,s,f)=>{if(!r){var u=1/0;for(a=0;a=f)&&Object.keys(n.O).every(p=>n.O[p](r[o]))?r.splice(o--,1):(c=!1,f0&&e[a-1][2]>f;a--)e[a]=e[a-1];e[a]=[r,s,f]},n.o=(e,l)=>Object.prototype.hasOwnProperty.call(e,l),(()=>{var e={121:0};n.O.j=s=>0===e[s];var l=(s,f)=>{var o,t,[a,u,c]=f,v=0;if(a.some(h=>0!==e[h])){for(o in u)n.o(u,o)&&(n.m[o]=u[o]);if(c)var d=c(n)}for(s&&s(f);v { + self.skipWaiting(); +}); + +self.addEventListener('activate', (event) => { + event.waitUntil(self.clients.claim()); + + event.waitUntil( + self.registration.unregister().then(() => { + console.log('NGSW Safety Worker - unregistered old service worker'); + }), + ); + + event.waitUntil( + caches.keys().then((cacheNames) => { + const ngswCacheNames = cacheNames.filter((name) => /^ngsw:/.test(name)); + return Promise.all(ngswCacheNames.map((name) => caches.delete(name))); + }), + ); +}); diff --git a/erm.frontend/public/svg-path-editor/styles.a4c2c16033803e20.css b/erm.frontend/public/svg-path-editor/styles.a4c2c16033803e20.css new file mode 100644 index 00000000..4e0ab6e1 --- /dev/null +++ b/erm.frontend/public/svg-path-editor/styles.a4c2c16033803e20.css @@ -0,0 +1 @@ +.mat-ripple{overflow:hidden;position:relative}.mat-ripple:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded{overflow:visible}.mat-ripple-element{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0,0,.2,1);transform:scale3d(0,0,0);background-color:var(--mat-ripple-color, rgba(0, 0, 0, .1))}.cdk-high-contrast-active .mat-ripple-element{display:none}.cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none;left:0}[dir=rtl] .cdk-visually-hidden{left:auto;right:0}.cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed;z-index:1000}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute;z-index:1000}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;z-index:1000;display:flex;max-width:100%;max-height:100%}.cdk-overlay-backdrop{position:absolute;inset:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:1}.cdk-high-contrast-active .cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:.6}.cdk-overlay-dark-backdrop{background:#00000052}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;z-index:1000;display:flex;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}textarea.cdk-textarea-autosize{resize:none}textarea.cdk-textarea-autosize-measuring{padding:2px 0!important;box-sizing:content-box!important;height:auto!important;overflow:hidden!important}textarea.cdk-textarea-autosize-measuring-firefox{padding:2px 0!important;box-sizing:content-box!important;height:0!important}@keyframes cdk-text-field-autofill-start{}@keyframes cdk-text-field-autofill-end{}.cdk-text-field-autofill-monitored:-webkit-autofill{animation:cdk-text-field-autofill-start 0s 1ms}.cdk-text-field-autofill-monitored:not(:-webkit-autofill){animation:cdk-text-field-autofill-end 0s 1ms}.mat-focus-indicator{position:relative}.mat-focus-indicator:before{inset:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-focus-indicator-display, none);border:var(--mat-focus-indicator-border-width, 3px) var(--mat-focus-indicator-border-style, solid) var(--mat-focus-indicator-border-color, transparent);border-radius:var(--mat-focus-indicator-border-radius, 4px)}.mat-focus-indicator:focus:before{content:""}.cdk-high-contrast-active{--mat-focus-indicator-display: block}.mat-mdc-focus-indicator{position:relative}.mat-mdc-focus-indicator:before{inset:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-mdc-focus-indicator-display, none);border:var(--mat-mdc-focus-indicator-border-width, 3px) var(--mat-mdc-focus-indicator-border-style, solid) var(--mat-mdc-focus-indicator-border-color, transparent);border-radius:var(--mat-mdc-focus-indicator-border-radius, 4px)}.mat-mdc-focus-indicator:focus:before{content:""}.cdk-high-contrast-active{--mat-mdc-focus-indicator-display: block}.mat-app-background{background-color:var(--mat-app-background-color, transparent);color:var(--mat-app-text-color, inherit)}html{--mat-ripple-color: rgba(255, 255, 255, .1)}html{--mat-option-selected-state-label-text-color: #424242;--mat-option-label-text-color: white;--mat-option-hover-state-layer-color: rgba(255, 255, 255, .08);--mat-option-focus-state-layer-color: rgba(255, 255, 255, .08);--mat-option-selected-state-layer-color: rgba(255, 255, 255, .08)}.mat-accent{--mat-option-selected-state-label-text-color: #2196f3;--mat-option-label-text-color: white;--mat-option-hover-state-layer-color: rgba(255, 255, 255, .08);--mat-option-focus-state-layer-color: rgba(255, 255, 255, .08);--mat-option-selected-state-layer-color: rgba(255, 255, 255, .08)}.mat-warn{--mat-option-selected-state-label-text-color: #f44336;--mat-option-label-text-color: white;--mat-option-hover-state-layer-color: rgba(255, 255, 255, .08);--mat-option-focus-state-layer-color: rgba(255, 255, 255, .08);--mat-option-selected-state-layer-color: rgba(255, 255, 255, .08)}html{--mat-optgroup-label-text-color: white}.mat-primary{--mat-full-pseudo-checkbox-selected-icon-color: #424242;--mat-full-pseudo-checkbox-selected-checkmark-color: #303030;--mat-full-pseudo-checkbox-unselected-icon-color: rgba(255, 255, 255, .7);--mat-full-pseudo-checkbox-disabled-selected-checkmark-color: #303030;--mat-full-pseudo-checkbox-disabled-unselected-icon-color: #686868;--mat-full-pseudo-checkbox-disabled-selected-icon-color: #686868;--mat-minimal-pseudo-checkbox-selected-checkmark-color: #424242;--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color: #686868}html,.mat-accent{--mat-full-pseudo-checkbox-selected-icon-color: #2196f3;--mat-full-pseudo-checkbox-selected-checkmark-color: #303030;--mat-full-pseudo-checkbox-unselected-icon-color: rgba(255, 255, 255, .7);--mat-full-pseudo-checkbox-disabled-selected-checkmark-color: #303030;--mat-full-pseudo-checkbox-disabled-unselected-icon-color: #686868;--mat-full-pseudo-checkbox-disabled-selected-icon-color: #686868;--mat-minimal-pseudo-checkbox-selected-checkmark-color: #2196f3;--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color: #686868}.mat-warn{--mat-full-pseudo-checkbox-selected-icon-color: #f44336;--mat-full-pseudo-checkbox-selected-checkmark-color: #303030;--mat-full-pseudo-checkbox-unselected-icon-color: rgba(255, 255, 255, .7);--mat-full-pseudo-checkbox-disabled-selected-checkmark-color: #303030;--mat-full-pseudo-checkbox-disabled-unselected-icon-color: #686868;--mat-full-pseudo-checkbox-disabled-selected-icon-color: #686868;--mat-minimal-pseudo-checkbox-selected-checkmark-color: #f44336;--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color: #686868}html{--mat-app-background-color: #303030;--mat-app-text-color: white}.mat-elevation-z0,.mat-mdc-elevation-specific.mat-elevation-z0{box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.mat-elevation-z1,.mat-mdc-elevation-specific.mat-elevation-z1{box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f}.mat-elevation-z2,.mat-mdc-elevation-specific.mat-elevation-z2{box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.mat-elevation-z3,.mat-mdc-elevation-specific.mat-elevation-z3{box-shadow:0 3px 3px -2px #0003,0 3px 4px #00000024,0 1px 8px #0000001f}.mat-elevation-z4,.mat-mdc-elevation-specific.mat-elevation-z4{box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.mat-elevation-z5,.mat-mdc-elevation-specific.mat-elevation-z5{box-shadow:0 3px 5px -1px #0003,0 5px 8px #00000024,0 1px 14px #0000001f}.mat-elevation-z6,.mat-mdc-elevation-specific.mat-elevation-z6{box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.mat-elevation-z7,.mat-mdc-elevation-specific.mat-elevation-z7{box-shadow:0 4px 5px -2px #0003,0 7px 10px 1px #00000024,0 2px 16px 1px #0000001f}.mat-elevation-z8,.mat-mdc-elevation-specific.mat-elevation-z8{box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.mat-elevation-z9,.mat-mdc-elevation-specific.mat-elevation-z9{box-shadow:0 5px 6px -3px #0003,0 9px 12px 1px #00000024,0 3px 16px 2px #0000001f}.mat-elevation-z10,.mat-mdc-elevation-specific.mat-elevation-z10{box-shadow:0 6px 6px -3px #0003,0 10px 14px 1px #00000024,0 4px 18px 3px #0000001f}.mat-elevation-z11,.mat-mdc-elevation-specific.mat-elevation-z11{box-shadow:0 6px 7px -4px #0003,0 11px 15px 1px #00000024,0 4px 20px 3px #0000001f}.mat-elevation-z12,.mat-mdc-elevation-specific.mat-elevation-z12{box-shadow:0 7px 8px -4px #0003,0 12px 17px 2px #00000024,0 5px 22px 4px #0000001f}.mat-elevation-z13,.mat-mdc-elevation-specific.mat-elevation-z13{box-shadow:0 7px 8px -4px #0003,0 13px 19px 2px #00000024,0 5px 24px 4px #0000001f}.mat-elevation-z14,.mat-mdc-elevation-specific.mat-elevation-z14{box-shadow:0 7px 9px -4px #0003,0 14px 21px 2px #00000024,0 5px 26px 4px #0000001f}.mat-elevation-z15,.mat-mdc-elevation-specific.mat-elevation-z15{box-shadow:0 8px 9px -5px #0003,0 15px 22px 2px #00000024,0 6px 28px 5px #0000001f}.mat-elevation-z16,.mat-mdc-elevation-specific.mat-elevation-z16{box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f}.mat-elevation-z17,.mat-mdc-elevation-specific.mat-elevation-z17{box-shadow:0 8px 11px -5px #0003,0 17px 26px 2px #00000024,0 6px 32px 5px #0000001f}.mat-elevation-z18,.mat-mdc-elevation-specific.mat-elevation-z18{box-shadow:0 9px 11px -5px #0003,0 18px 28px 2px #00000024,0 7px 34px 6px #0000001f}.mat-elevation-z19,.mat-mdc-elevation-specific.mat-elevation-z19{box-shadow:0 9px 12px -6px #0003,0 19px 29px 2px #00000024,0 7px 36px 6px #0000001f}.mat-elevation-z20,.mat-mdc-elevation-specific.mat-elevation-z20{box-shadow:0 10px 13px -6px #0003,0 20px 31px 3px #00000024,0 8px 38px 7px #0000001f}.mat-elevation-z21,.mat-mdc-elevation-specific.mat-elevation-z21{box-shadow:0 10px 13px -6px #0003,0 21px 33px 3px #00000024,0 8px 40px 7px #0000001f}.mat-elevation-z22,.mat-mdc-elevation-specific.mat-elevation-z22{box-shadow:0 10px 14px -6px #0003,0 22px 35px 3px #00000024,0 8px 42px 7px #0000001f}.mat-elevation-z23,.mat-mdc-elevation-specific.mat-elevation-z23{box-shadow:0 11px 14px -7px #0003,0 23px 36px 3px #00000024,0 9px 44px 8px #0000001f}.mat-elevation-z24,.mat-mdc-elevation-specific.mat-elevation-z24{box-shadow:0 11px 15px -7px #0003,0 24px 38px 3px #00000024,0 9px 46px 8px #0000001f}.mat-theme-loaded-marker{display:none}html{--mat-option-label-text-font: Roboto, sans-serif;--mat-option-label-text-line-height: 24px;--mat-option-label-text-size: 16px;--mat-option-label-text-tracking: .03125em;--mat-option-label-text-weight: 400}html{--mat-optgroup-label-text-font: Roboto, sans-serif;--mat-optgroup-label-text-line-height: 24px;--mat-optgroup-label-text-size: 16px;--mat-optgroup-label-text-tracking: .03125em;--mat-optgroup-label-text-weight: 400}html{--mdc-text-button-container-shape: 4px;--mdc-text-button-keep-touch-target: false;--mdc-filled-button-container-shape: 4px;--mdc-filled-button-keep-touch-target: false;--mdc-protected-button-container-shape: 4px;--mdc-protected-button-keep-touch-target: false;--mdc-outlined-button-keep-touch-target: false;--mdc-outlined-button-outline-width: 1px;--mdc-outlined-button-container-shape: 4px;--mat-text-button-horizontal-padding: 8px;--mat-text-button-with-icon-horizontal-padding: 8px;--mat-text-button-icon-spacing: 8px;--mat-text-button-icon-offset: 0;--mat-filled-button-horizontal-padding: 16px;--mat-filled-button-icon-spacing: 8px;--mat-filled-button-icon-offset: -4px;--mat-protected-button-horizontal-padding: 16px;--mat-protected-button-icon-spacing: 8px;--mat-protected-button-icon-offset: -4px;--mat-outlined-button-horizontal-padding: 15px;--mat-outlined-button-icon-spacing: 8px;--mat-outlined-button-icon-offset: -4px}html{--mdc-text-button-label-text-color: white;--mdc-text-button-disabled-label-text-color: rgba(255, 255, 255, .5);--mat-text-button-state-layer-color: white;--mat-text-button-disabled-state-layer-color: white;--mat-text-button-ripple-color: rgba(255, 255, 255, .1);--mat-text-button-hover-state-layer-opacity: .08;--mat-text-button-focus-state-layer-opacity: .24;--mat-text-button-pressed-state-layer-opacity: .24;--mdc-filled-button-container-color: #424242;--mdc-filled-button-label-text-color: white;--mdc-filled-button-disabled-container-color: rgba(255, 255, 255, .12);--mdc-filled-button-disabled-label-text-color: rgba(255, 255, 255, .5);--mat-filled-button-state-layer-color: white;--mat-filled-button-disabled-state-layer-color: white;--mat-filled-button-ripple-color: rgba(255, 255, 255, .1);--mat-filled-button-hover-state-layer-opacity: .08;--mat-filled-button-focus-state-layer-opacity: .24;--mat-filled-button-pressed-state-layer-opacity: .24;--mdc-protected-button-container-color: #424242;--mdc-protected-button-label-text-color: white;--mdc-protected-button-disabled-container-color: rgba(255, 255, 255, .12);--mdc-protected-button-disabled-label-text-color: rgba(255, 255, 255, .5);--mdc-protected-button-container-elevation-shadow: 0px 3px 1px -2px rgba(0, 0, 0, .2), 0px 2px 2px 0px rgba(0, 0, 0, .14), 0px 1px 5px 0px rgba(0, 0, 0, .12);--mdc-protected-button-disabled-container-elevation-shadow: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mdc-protected-button-focus-container-elevation-shadow: 0px 2px 4px -1px rgba(0, 0, 0, .2), 0px 4px 5px 0px rgba(0, 0, 0, .14), 0px 1px 10px 0px rgba(0, 0, 0, .12);--mdc-protected-button-hover-container-elevation-shadow: 0px 2px 4px -1px rgba(0, 0, 0, .2), 0px 4px 5px 0px rgba(0, 0, 0, .14), 0px 1px 10px 0px rgba(0, 0, 0, .12);--mdc-protected-button-pressed-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-protected-button-container-shadow-color: #000;--mat-protected-button-state-layer-color: white;--mat-protected-button-disabled-state-layer-color: white;--mat-protected-button-ripple-color: rgba(255, 255, 255, .1);--mat-protected-button-hover-state-layer-opacity: .08;--mat-protected-button-focus-state-layer-opacity: .24;--mat-protected-button-pressed-state-layer-opacity: .24;--mdc-outlined-button-disabled-outline-color: rgba(255, 255, 255, .12);--mdc-outlined-button-disabled-label-text-color: rgba(255, 255, 255, .5);--mdc-outlined-button-label-text-color: white;--mdc-outlined-button-outline-color: rgba(255, 255, 255, .12);--mat-outlined-button-state-layer-color: white;--mat-outlined-button-disabled-state-layer-color: white;--mat-outlined-button-ripple-color: rgba(255, 255, 255, .1);--mat-outlined-button-hover-state-layer-opacity: .08;--mat-outlined-button-focus-state-layer-opacity: .24;--mat-outlined-button-pressed-state-layer-opacity: .24}.mat-mdc-button.mat-primary{--mdc-text-button-label-text-color: #424242;--mat-text-button-state-layer-color: #424242;--mat-text-button-ripple-color: rgba(66, 66, 66, .1)}.mat-mdc-button.mat-accent{--mdc-text-button-label-text-color: #2196f3;--mat-text-button-state-layer-color: #2196f3;--mat-text-button-ripple-color: rgba(33, 150, 243, .1)}.mat-mdc-button.mat-warn{--mdc-text-button-label-text-color: #f44336;--mat-text-button-state-layer-color: #f44336;--mat-text-button-ripple-color: rgba(244, 67, 54, .1)}.mat-mdc-unelevated-button.mat-primary{--mdc-filled-button-container-color: #424242;--mdc-filled-button-label-text-color: white;--mat-filled-button-state-layer-color: white;--mat-filled-button-ripple-color: rgba(255, 255, 255, .1)}.mat-mdc-unelevated-button.mat-accent{--mdc-filled-button-container-color: #2196f3;--mdc-filled-button-label-text-color: white;--mat-filled-button-state-layer-color: white;--mat-filled-button-ripple-color: rgba(255, 255, 255, .1)}.mat-mdc-unelevated-button.mat-warn{--mdc-filled-button-container-color: #f44336;--mdc-filled-button-label-text-color: white;--mat-filled-button-state-layer-color: white;--mat-filled-button-ripple-color: rgba(255, 255, 255, .1)}.mat-mdc-raised-button.mat-primary{--mdc-protected-button-container-color: #424242;--mdc-protected-button-label-text-color: white;--mat-protected-button-state-layer-color: white;--mat-protected-button-ripple-color: rgba(255, 255, 255, .1)}.mat-mdc-raised-button.mat-accent{--mdc-protected-button-container-color: #2196f3;--mdc-protected-button-label-text-color: white;--mat-protected-button-state-layer-color: white;--mat-protected-button-ripple-color: rgba(255, 255, 255, .1)}.mat-mdc-raised-button.mat-warn{--mdc-protected-button-container-color: #f44336;--mdc-protected-button-label-text-color: white;--mat-protected-button-state-layer-color: white;--mat-protected-button-ripple-color: rgba(255, 255, 255, .1)}.mat-mdc-outlined-button.mat-primary{--mdc-outlined-button-label-text-color: #424242;--mdc-outlined-button-outline-color: rgba(255, 255, 255, .12);--mat-outlined-button-state-layer-color: #424242;--mat-outlined-button-ripple-color: rgba(66, 66, 66, .1)}.mat-mdc-outlined-button.mat-accent{--mdc-outlined-button-label-text-color: #2196f3;--mdc-outlined-button-outline-color: rgba(255, 255, 255, .12);--mat-outlined-button-state-layer-color: #2196f3;--mat-outlined-button-ripple-color: rgba(33, 150, 243, .1)}.mat-mdc-outlined-button.mat-warn{--mdc-outlined-button-label-text-color: #f44336;--mdc-outlined-button-outline-color: rgba(255, 255, 255, .12);--mat-outlined-button-state-layer-color: #f44336;--mat-outlined-button-ripple-color: rgba(244, 67, 54, .1)}html{--mdc-text-button-container-height: 36px;--mdc-filled-button-container-height: 36px;--mdc-outlined-button-container-height: 36px;--mdc-protected-button-container-height: 36px;--mat-text-button-touch-target-display: block;--mat-filled-button-touch-target-display: block;--mat-protected-button-touch-target-display: block;--mat-outlined-button-touch-target-display: block}html{--mdc-text-button-label-text-font: Roboto, sans-serif;--mdc-text-button-label-text-size: 14px;--mdc-text-button-label-text-tracking: normal;--mdc-text-button-label-text-weight: 500;--mdc-text-button-label-text-transform: none;--mdc-filled-button-label-text-font: Roboto, sans-serif;--mdc-filled-button-label-text-size: 14px;--mdc-filled-button-label-text-tracking: normal;--mdc-filled-button-label-text-weight: 500;--mdc-filled-button-label-text-transform: none;--mdc-outlined-button-label-text-font: Roboto, sans-serif;--mdc-outlined-button-label-text-size: 14px;--mdc-outlined-button-label-text-tracking: normal;--mdc-outlined-button-label-text-weight: 500;--mdc-outlined-button-label-text-transform: none;--mdc-protected-button-label-text-font: Roboto, sans-serif;--mdc-protected-button-label-text-size: 14px;--mdc-protected-button-label-text-tracking: normal;--mdc-protected-button-label-text-weight: 500;--mdc-protected-button-label-text-transform: none}html{--mdc-fab-container-shape: 50%;--mdc-fab-icon-size: 24px;--mdc-fab-small-container-shape: 50%;--mdc-fab-small-icon-size: 24px;--mdc-extended-fab-container-height: 48px;--mdc-extended-fab-container-shape: 24px}html{--mdc-fab-container-color: #424242;--mdc-fab-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-fab-focus-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-fab-hover-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-fab-pressed-container-elevation-shadow: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 12px 17px 2px rgba(0, 0, 0, .14), 0px 5px 22px 4px rgba(0, 0, 0, .12);--mdc-fab-container-shadow-color: #000;--mat-fab-foreground-color: white;--mat-fab-state-layer-color: white;--mat-fab-disabled-state-layer-color: white;--mat-fab-ripple-color: rgba(255, 255, 255, .1);--mat-fab-hover-state-layer-opacity: .08;--mat-fab-focus-state-layer-opacity: .24;--mat-fab-pressed-state-layer-opacity: .24;--mat-fab-disabled-state-container-color: rgba(255, 255, 255, .12);--mat-fab-disabled-state-foreground-color: rgba(255, 255, 255, .5);--mdc-fab-small-container-color: #424242;--mdc-fab-small-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-fab-small-focus-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-fab-small-hover-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-fab-small-pressed-container-elevation-shadow: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 12px 17px 2px rgba(0, 0, 0, .14), 0px 5px 22px 4px rgba(0, 0, 0, .12);--mdc-fab-small-container-shadow-color: #000;--mat-fab-small-foreground-color: white;--mat-fab-small-state-layer-color: white;--mat-fab-small-disabled-state-layer-color: white;--mat-fab-small-ripple-color: rgba(255, 255, 255, .1);--mat-fab-small-hover-state-layer-opacity: .08;--mat-fab-small-focus-state-layer-opacity: .24;--mat-fab-small-pressed-state-layer-opacity: .24;--mat-fab-small-disabled-state-container-color: rgba(255, 255, 255, .12);--mat-fab-small-disabled-state-foreground-color: rgba(255, 255, 255, .5);--mdc-extended-fab-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-extended-fab-focus-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-extended-fab-hover-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-extended-fab-pressed-container-elevation-shadow: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 12px 17px 2px rgba(0, 0, 0, .14), 0px 5px 22px 4px rgba(0, 0, 0, .12);--mdc-extended-fab-container-shadow-color: #000}html .mat-mdc-fab.mat-primary{--mdc-fab-container-color: #424242;--mat-fab-foreground-color: white;--mat-fab-state-layer-color: white;--mat-fab-ripple-color: rgba(255, 255, 255, .1)}html .mat-mdc-fab.mat-accent{--mdc-fab-container-color: #2196f3;--mat-fab-foreground-color: white;--mat-fab-state-layer-color: white;--mat-fab-ripple-color: rgba(255, 255, 255, .1)}html .mat-mdc-fab.mat-warn{--mdc-fab-container-color: #f44336;--mat-fab-foreground-color: white;--mat-fab-state-layer-color: white;--mat-fab-ripple-color: rgba(255, 255, 255, .1)}html .mat-mdc-mini-fab.mat-primary{--mdc-fab-small-container-color: #424242;--mat-fab-small-foreground-color: white;--mat-fab-small-state-layer-color: white;--mat-fab-small-ripple-color: rgba(255, 255, 255, .1)}html .mat-mdc-mini-fab.mat-accent{--mdc-fab-small-container-color: #2196f3;--mat-fab-small-foreground-color: white;--mat-fab-small-state-layer-color: white;--mat-fab-small-ripple-color: rgba(255, 255, 255, .1)}html .mat-mdc-mini-fab.mat-warn{--mdc-fab-small-container-color: #f44336;--mat-fab-small-foreground-color: white;--mat-fab-small-state-layer-color: white;--mat-fab-small-ripple-color: rgba(255, 255, 255, .1)}html{--mat-fab-touch-target-display: block;--mat-fab-small-touch-target-display: block}html{--mdc-extended-fab-label-text-font: Roboto, sans-serif;--mdc-extended-fab-label-text-size: 14px;--mdc-extended-fab-label-text-tracking: normal;--mdc-extended-fab-label-text-weight: 500}html{--mdc-icon-button-icon-size: 24px}html{--mdc-icon-button-icon-color: inherit;--mdc-icon-button-disabled-icon-color: rgba(255, 255, 255, .5);--mat-icon-button-state-layer-color: white;--mat-icon-button-disabled-state-layer-color: white;--mat-icon-button-ripple-color: rgba(255, 255, 255, .1);--mat-icon-button-hover-state-layer-opacity: .08;--mat-icon-button-focus-state-layer-opacity: .24;--mat-icon-button-pressed-state-layer-opacity: .24}html .mat-mdc-icon-button.mat-primary{--mdc-icon-button-icon-color: #424242;--mat-icon-button-state-layer-color: #424242;--mat-icon-button-ripple-color: rgba(66, 66, 66, .1)}html .mat-mdc-icon-button.mat-accent{--mdc-icon-button-icon-color: #2196f3;--mat-icon-button-state-layer-color: #2196f3;--mat-icon-button-ripple-color: rgba(33, 150, 243, .1)}html .mat-mdc-icon-button.mat-warn{--mdc-icon-button-icon-color: #f44336;--mat-icon-button-state-layer-color: #f44336;--mat-icon-button-ripple-color: rgba(244, 67, 54, .1)}html{--mat-icon-button-touch-target-display: block}.mat-mdc-icon-button.mat-mdc-button-base{--mdc-icon-button-state-layer-size: 48px;width:var(--mdc-icon-button-state-layer-size);height:var(--mdc-icon-button-state-layer-size);padding:12px}html{--mdc-checkbox-disabled-selected-checkmark-color: #fff;--mdc-checkbox-selected-focus-state-layer-opacity: .16;--mdc-checkbox-selected-hover-state-layer-opacity: .04;--mdc-checkbox-selected-pressed-state-layer-opacity: .16;--mdc-checkbox-unselected-focus-state-layer-opacity: .16;--mdc-checkbox-unselected-hover-state-layer-opacity: .04;--mdc-checkbox-unselected-pressed-state-layer-opacity: .16}html{--mdc-checkbox-disabled-selected-icon-color: rgba(255, 255, 255, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(255, 255, 255, .38);--mdc-checkbox-selected-checkmark-color: white;--mdc-checkbox-selected-focus-icon-color: #2196f3;--mdc-checkbox-selected-hover-icon-color: #2196f3;--mdc-checkbox-selected-icon-color: #2196f3;--mdc-checkbox-selected-pressed-icon-color: #2196f3;--mdc-checkbox-unselected-focus-icon-color: #eeeeee;--mdc-checkbox-unselected-hover-icon-color: #eeeeee;--mdc-checkbox-unselected-icon-color: rgba(255, 255, 255, .54);--mdc-checkbox-unselected-pressed-icon-color: rgba(255, 255, 255, .54);--mdc-checkbox-selected-focus-state-layer-color: #2196f3;--mdc-checkbox-selected-hover-state-layer-color: #2196f3;--mdc-checkbox-selected-pressed-state-layer-color: #2196f3;--mdc-checkbox-unselected-focus-state-layer-color: white;--mdc-checkbox-unselected-hover-state-layer-color: white;--mdc-checkbox-unselected-pressed-state-layer-color: white;--mat-checkbox-disabled-label-color: rgba(255, 255, 255, .5)}.mat-mdc-checkbox{--mdc-form-field-label-text-color: white}.mat-mdc-checkbox.mat-primary{--mdc-checkbox-disabled-selected-icon-color: rgba(255, 255, 255, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(255, 255, 255, .38);--mdc-checkbox-selected-checkmark-color: white;--mdc-checkbox-selected-focus-icon-color: #424242;--mdc-checkbox-selected-hover-icon-color: #424242;--mdc-checkbox-selected-icon-color: #424242;--mdc-checkbox-selected-pressed-icon-color: #424242;--mdc-checkbox-unselected-focus-icon-color: #eeeeee;--mdc-checkbox-unselected-hover-icon-color: #eeeeee;--mdc-checkbox-unselected-icon-color: rgba(255, 255, 255, .54);--mdc-checkbox-unselected-pressed-icon-color: rgba(255, 255, 255, .54);--mdc-checkbox-selected-focus-state-layer-color: #424242;--mdc-checkbox-selected-hover-state-layer-color: #424242;--mdc-checkbox-selected-pressed-state-layer-color: #424242;--mdc-checkbox-unselected-focus-state-layer-color: white;--mdc-checkbox-unselected-hover-state-layer-color: white;--mdc-checkbox-unselected-pressed-state-layer-color: white}.mat-mdc-checkbox.mat-warn{--mdc-checkbox-disabled-selected-icon-color: rgba(255, 255, 255, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(255, 255, 255, .38);--mdc-checkbox-selected-checkmark-color: white;--mdc-checkbox-selected-focus-icon-color: #f44336;--mdc-checkbox-selected-hover-icon-color: #f44336;--mdc-checkbox-selected-icon-color: #f44336;--mdc-checkbox-selected-pressed-icon-color: #f44336;--mdc-checkbox-unselected-focus-icon-color: #eeeeee;--mdc-checkbox-unselected-hover-icon-color: #eeeeee;--mdc-checkbox-unselected-icon-color: rgba(255, 255, 255, .54);--mdc-checkbox-unselected-pressed-icon-color: rgba(255, 255, 255, .54);--mdc-checkbox-selected-focus-state-layer-color: #f44336;--mdc-checkbox-selected-hover-state-layer-color: #f44336;--mdc-checkbox-selected-pressed-state-layer-color: #f44336;--mdc-checkbox-unselected-focus-state-layer-color: white;--mdc-checkbox-unselected-hover-state-layer-color: white;--mdc-checkbox-unselected-pressed-state-layer-color: white}html{--mdc-checkbox-state-layer-size: 40px;--mat-checkbox-touch-target-display: block}.mat-mdc-checkbox{--mdc-form-field-label-text-font: Roboto, sans-serif;--mdc-form-field-label-text-line-height: 12px;--mdc-form-field-label-text-size: 12px;--mdc-form-field-label-text-tracking: normal;--mdc-form-field-label-text-weight: 400}html{--mat-menu-container-shape: 4px;--mat-menu-divider-bottom-spacing: 0;--mat-menu-divider-top-spacing: 0;--mat-menu-item-spacing: 16px;--mat-menu-item-icon-size: 24px;--mat-menu-item-leading-spacing: 16px;--mat-menu-item-trailing-spacing: 16px;--mat-menu-item-with-icon-leading-spacing: 16px;--mat-menu-item-with-icon-trailing-spacing: 16px}html{--mat-menu-item-label-text-color: white;--mat-menu-item-icon-color: white;--mat-menu-item-hover-state-layer-color: rgba(255, 255, 255, .08);--mat-menu-item-focus-state-layer-color: rgba(255, 255, 255, .08);--mat-menu-container-color: #424242;--mat-menu-divider-color: rgba(255, 255, 255, .12)}html{--mat-menu-item-label-text-font: Roboto, sans-serif;--mat-menu-item-label-text-size: 16px;--mat-menu-item-label-text-tracking: .03125em;--mat-menu-item-label-text-line-height: 24px;--mat-menu-item-label-text-weight: 400}html{--mdc-dialog-container-elevation-shadow: 0px 11px 15px -7px rgba(0, 0, 0, .2), 0px 24px 38px 3px rgba(0, 0, 0, .14), 0px 9px 46px 8px rgba(0, 0, 0, .12);--mdc-dialog-container-shadow-color: #000;--mdc-dialog-container-shape: 4px;--mat-dialog-container-max-width: 80vw;--mat-dialog-container-small-max-width: 80vw;--mat-dialog-container-min-width: 0;--mat-dialog-actions-alignment: start;--mat-dialog-actions-padding: 8px;--mat-dialog-content-padding: 20px 24px;--mat-dialog-with-actions-content-padding: 20px 24px;--mat-dialog-headline-padding: 0 24px 9px}html{--mdc-dialog-container-color: #424242;--mdc-dialog-subhead-color: rgba(255, 255, 255, .87);--mdc-dialog-supporting-text-color: rgba(255, 255, 255, .6)}html{--mdc-dialog-subhead-font: Roboto, sans-serif;--mdc-dialog-subhead-line-height: 32px;--mdc-dialog-subhead-size: 20px;--mdc-dialog-subhead-weight: 500;--mdc-dialog-subhead-tracking: .0125em;--mdc-dialog-supporting-text-font: Roboto, sans-serif;--mdc-dialog-supporting-text-line-height: 24px;--mdc-dialog-supporting-text-size: 16px;--mdc-dialog-supporting-text-weight: 400;--mdc-dialog-supporting-text-tracking: .03125em}html{--mdc-plain-tooltip-container-shape: 4px;--mdc-plain-tooltip-supporting-text-line-height: 16px}html{--mdc-plain-tooltip-container-color: #616161;--mdc-plain-tooltip-supporting-text-color: #fff}html{--mdc-plain-tooltip-supporting-text-font: Roboto, sans-serif;--mdc-plain-tooltip-supporting-text-size: 12px;--mdc-plain-tooltip-supporting-text-weight: 400;--mdc-plain-tooltip-supporting-text-tracking: .0333333333em}html{--mdc-filled-text-field-active-indicator-height: 1px;--mdc-filled-text-field-focus-active-indicator-height: 2px;--mdc-filled-text-field-container-shape: 4px;--mdc-outlined-text-field-outline-width: 1px;--mdc-outlined-text-field-focus-outline-width: 2px;--mdc-outlined-text-field-container-shape: 4px}html{--mdc-filled-text-field-caret-color: #424242;--mdc-filled-text-field-focus-active-indicator-color: #424242;--mdc-filled-text-field-focus-label-text-color: rgba(66, 66, 66, .87);--mdc-filled-text-field-container-color: #4a4a4a;--mdc-filled-text-field-disabled-container-color: #464646;--mdc-filled-text-field-label-text-color: rgba(255, 255, 255, .6);--mdc-filled-text-field-hover-label-text-color: rgba(255, 255, 255, .6);--mdc-filled-text-field-disabled-label-text-color: rgba(255, 255, 255, .38);--mdc-filled-text-field-input-text-color: rgba(255, 255, 255, .87);--mdc-filled-text-field-disabled-input-text-color: rgba(255, 255, 255, .38);--mdc-filled-text-field-input-text-placeholder-color: rgba(255, 255, 255, .6);--mdc-filled-text-field-error-hover-label-text-color: #f44336;--mdc-filled-text-field-error-focus-label-text-color: #f44336;--mdc-filled-text-field-error-label-text-color: #f44336;--mdc-filled-text-field-error-caret-color: #f44336;--mdc-filled-text-field-active-indicator-color: rgba(255, 255, 255, .42);--mdc-filled-text-field-disabled-active-indicator-color: rgba(255, 255, 255, .06);--mdc-filled-text-field-hover-active-indicator-color: rgba(255, 255, 255, .87);--mdc-filled-text-field-error-active-indicator-color: #f44336;--mdc-filled-text-field-error-focus-active-indicator-color: #f44336;--mdc-filled-text-field-error-hover-active-indicator-color: #f44336;--mdc-outlined-text-field-caret-color: #424242;--mdc-outlined-text-field-focus-outline-color: #424242;--mdc-outlined-text-field-focus-label-text-color: rgba(66, 66, 66, .87);--mdc-outlined-text-field-label-text-color: rgba(255, 255, 255, .6);--mdc-outlined-text-field-hover-label-text-color: rgba(255, 255, 255, .6);--mdc-outlined-text-field-disabled-label-text-color: rgba(255, 255, 255, .38);--mdc-outlined-text-field-input-text-color: rgba(255, 255, 255, .87);--mdc-outlined-text-field-disabled-input-text-color: rgba(255, 255, 255, .38);--mdc-outlined-text-field-input-text-placeholder-color: rgba(255, 255, 255, .6);--mdc-outlined-text-field-error-caret-color: #f44336;--mdc-outlined-text-field-error-focus-label-text-color: #f44336;--mdc-outlined-text-field-error-label-text-color: #f44336;--mdc-outlined-text-field-error-hover-label-text-color: #f44336;--mdc-outlined-text-field-outline-color: rgba(255, 255, 255, .38);--mdc-outlined-text-field-disabled-outline-color: rgba(255, 255, 255, .06);--mdc-outlined-text-field-hover-outline-color: rgba(255, 255, 255, .87);--mdc-outlined-text-field-error-focus-outline-color: #f44336;--mdc-outlined-text-field-error-hover-outline-color: #f44336;--mdc-outlined-text-field-error-outline-color: #f44336;--mat-form-field-focus-select-arrow-color: rgba(66, 66, 66, .87);--mat-form-field-disabled-input-text-placeholder-color: rgba(255, 255, 255, .38);--mat-form-field-state-layer-color: rgba(255, 255, 255, .87);--mat-form-field-error-text-color: #f44336;--mat-form-field-select-option-text-color: rgba(0, 0, 0, .87);--mat-form-field-select-disabled-option-text-color: rgba(0, 0, 0, .38);--mat-form-field-leading-icon-color: unset;--mat-form-field-disabled-leading-icon-color: unset;--mat-form-field-trailing-icon-color: unset;--mat-form-field-disabled-trailing-icon-color: unset;--mat-form-field-error-focus-trailing-icon-color: unset;--mat-form-field-error-hover-trailing-icon-color: unset;--mat-form-field-error-trailing-icon-color: unset;--mat-form-field-enabled-select-arrow-color: rgba(255, 255, 255, .54);--mat-form-field-disabled-select-arrow-color: rgba(255, 255, 255, .38);--mat-form-field-hover-state-layer-opacity: .08;--mat-form-field-focus-state-layer-opacity: .24}.mat-mdc-form-field.mat-accent{--mdc-filled-text-field-caret-color: #2196f3;--mdc-filled-text-field-focus-active-indicator-color: #2196f3;--mdc-filled-text-field-focus-label-text-color: rgba(33, 150, 243, .87);--mdc-outlined-text-field-caret-color: #2196f3;--mdc-outlined-text-field-focus-outline-color: #2196f3;--mdc-outlined-text-field-focus-label-text-color: rgba(33, 150, 243, .87);--mat-form-field-focus-select-arrow-color: rgba(33, 150, 243, .87)}.mat-mdc-form-field.mat-warn{--mdc-filled-text-field-caret-color: #f44336;--mdc-filled-text-field-focus-active-indicator-color: #f44336;--mdc-filled-text-field-focus-label-text-color: rgba(244, 67, 54, .87);--mdc-outlined-text-field-caret-color: #f44336;--mdc-outlined-text-field-focus-outline-color: #f44336;--mdc-outlined-text-field-focus-label-text-color: rgba(244, 67, 54, .87);--mat-form-field-focus-select-arrow-color: rgba(244, 67, 54, .87)}html{--mat-form-field-container-height: 56px;--mat-form-field-filled-label-display: block;--mat-form-field-container-vertical-padding: 16px;--mat-form-field-filled-with-label-container-padding-top: 24px;--mat-form-field-filled-with-label-container-padding-bottom: 8px}html{--mdc-filled-text-field-label-text-font: Roboto, sans-serif;--mdc-filled-text-field-label-text-size: 16px;--mdc-filled-text-field-label-text-tracking: .03125em;--mdc-filled-text-field-label-text-weight: 400;--mdc-outlined-text-field-label-text-font: Roboto, sans-serif;--mdc-outlined-text-field-label-text-size: 16px;--mdc-outlined-text-field-label-text-tracking: .03125em;--mdc-outlined-text-field-label-text-weight: 400;--mat-form-field-container-text-font: Roboto, sans-serif;--mat-form-field-container-text-line-height: 24px;--mat-form-field-container-text-size: 16px;--mat-form-field-container-text-tracking: .03125em;--mat-form-field-container-text-weight: 400;--mat-form-field-outlined-label-text-populated-size: 16px;--mat-form-field-subscript-text-font: Roboto, sans-serif;--mat-form-field-subscript-text-line-height: 20px;--mat-form-field-subscript-text-size: 12px;--mat-form-field-subscript-text-tracking: .0333333333em;--mat-form-field-subscript-text-weight: 400}html{--mat-table-row-item-outline-width: 1px}html{--mat-table-background-color: #424242;--mat-table-header-headline-color: white;--mat-table-row-item-label-text-color: white;--mat-table-row-item-outline-color: rgba(255, 255, 255, .12)}html{--mat-table-header-container-height: 56px;--mat-table-footer-container-height: 52px;--mat-table-row-item-container-height: 52px}html{--mat-table-header-headline-font: Roboto, sans-serif;--mat-table-header-headline-line-height: 22px;--mat-table-header-headline-size: 14px;--mat-table-header-headline-weight: 500;--mat-table-header-headline-tracking: .0071428571em;--mat-table-row-item-label-text-font: Roboto, sans-serif;--mat-table-row-item-label-text-line-height: 12px;--mat-table-row-item-label-text-size: 12px;--mat-table-row-item-label-text-weight: 400;--mat-table-row-item-label-text-tracking: normal;--mat-table-footer-supporting-text-font: Roboto, sans-serif;--mat-table-footer-supporting-text-line-height: 12px;--mat-table-footer-supporting-text-size: 12px;--mat-table-footer-supporting-text-weight: 400;--mat-table-footer-supporting-text-tracking: normal}html{--mat-slider-value-indicator-width: auto;--mat-slider-value-indicator-height: 32px;--mat-slider-value-indicator-caret-display: block;--mat-slider-value-indicator-border-radius: 4px;--mat-slider-value-indicator-padding: 0 12px;--mat-slider-value-indicator-text-transform: none;--mat-slider-value-indicator-container-transform: translateX(-50%);--mdc-slider-active-track-height: 6px;--mdc-slider-active-track-shape: 9999px;--mdc-slider-handle-height: 20px;--mdc-slider-handle-shape: 50%;--mdc-slider-handle-width: 20px;--mdc-slider-inactive-track-height: 4px;--mdc-slider-inactive-track-shape: 9999px;--mdc-slider-with-overlap-handle-outline-width: 1px;--mdc-slider-with-tick-marks-active-container-opacity: .6;--mdc-slider-with-tick-marks-container-shape: 50%;--mdc-slider-with-tick-marks-container-size: 2px;--mdc-slider-with-tick-marks-inactive-container-opacity: .6}html{--mdc-slider-handle-color: #424242;--mdc-slider-focus-handle-color: #424242;--mdc-slider-hover-handle-color: #424242;--mdc-slider-active-track-color: #424242;--mdc-slider-inactive-track-color: #424242;--mdc-slider-with-tick-marks-inactive-container-color: #424242;--mdc-slider-with-tick-marks-active-container-color: white;--mdc-slider-disabled-active-track-color: #fff;--mdc-slider-disabled-handle-color: #fff;--mdc-slider-disabled-inactive-track-color: #fff;--mdc-slider-label-container-color: #fff;--mdc-slider-label-label-text-color: #000;--mdc-slider-with-overlap-handle-outline-color: #fff;--mdc-slider-with-tick-marks-disabled-container-color: #fff;--mdc-slider-handle-elevation: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mat-slider-ripple-color: #424242;--mat-slider-hover-state-layer-color: rgba(66, 66, 66, .05);--mat-slider-focus-state-layer-color: rgba(66, 66, 66, .2);--mat-slider-value-indicator-opacity: .9}html .mat-accent{--mat-slider-ripple-color: #2196f3;--mat-slider-hover-state-layer-color: rgba(33, 150, 243, .05);--mat-slider-focus-state-layer-color: rgba(33, 150, 243, .2);--mdc-slider-handle-color: #2196f3;--mdc-slider-focus-handle-color: #2196f3;--mdc-slider-hover-handle-color: #2196f3;--mdc-slider-active-track-color: #2196f3;--mdc-slider-inactive-track-color: #2196f3;--mdc-slider-with-tick-marks-inactive-container-color: #2196f3;--mdc-slider-with-tick-marks-active-container-color: white}html .mat-warn{--mat-slider-ripple-color: #f44336;--mat-slider-hover-state-layer-color: rgba(244, 67, 54, .05);--mat-slider-focus-state-layer-color: rgba(244, 67, 54, .2);--mdc-slider-handle-color: #f44336;--mdc-slider-focus-handle-color: #f44336;--mdc-slider-hover-handle-color: #f44336;--mdc-slider-active-track-color: #f44336;--mdc-slider-inactive-track-color: #f44336;--mdc-slider-with-tick-marks-inactive-container-color: #f44336;--mdc-slider-with-tick-marks-active-container-color: white}html{--mdc-slider-label-label-text-font: Roboto, sans-serif;--mdc-slider-label-label-text-size: 14px;--mdc-slider-label-label-text-line-height: 22px;--mdc-slider-label-label-text-tracking: .0071428571em;--mdc-slider-label-label-text-weight: 500}html{--mdc-snackbar-container-shape: 4px}html{--mdc-snackbar-container-color: #d9d9d9;--mdc-snackbar-supporting-text-color: rgba(66, 66, 66, .87);--mat-snack-bar-button-color: rgba(0, 0, 0, .87)}html{--mdc-snackbar-supporting-text-font: Roboto, sans-serif;--mdc-snackbar-supporting-text-line-height: 12px;--mdc-snackbar-supporting-text-size: 12px;--mdc-snackbar-supporting-text-weight: 400}.mat-h1,.mat-headline-5,.mat-typography .mat-h1,.mat-typography .mat-headline-5,.mat-typography h1{font:400 24px/32px Roboto,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h2,.mat-headline-6,.mat-typography .mat-h2,.mat-typography .mat-headline-6,.mat-typography h2{font:500 20px/32px Roboto,sans-serif;letter-spacing:.0125em;margin:0 0 16px}.mat-h3,.mat-subtitle-1,.mat-typography .mat-h3,.mat-typography .mat-subtitle-1,.mat-typography h3{font:400 16px/28px Roboto,sans-serif;letter-spacing:.009375em;margin:0 0 16px}.mat-h4,.mat-body-1,.mat-typography .mat-h4,.mat-typography .mat-body-1,.mat-typography h4{font:400 16px/24px Roboto,sans-serif;letter-spacing:.03125em;margin:0 0 16px}.mat-h5,.mat-typography .mat-h5,.mat-typography h5{font:400 calc(12px * .83) / 12px Roboto,sans-serif;margin:0 0 12px}.mat-h6,.mat-typography .mat-h6,.mat-typography h6{font:400 calc(12px * .67) / 12px Roboto,sans-serif;margin:0 0 12px}.mat-body-strong,.mat-subtitle-2,.mat-typography .mat-body-strong,.mat-typography .mat-subtitle-2{font:500 14px/22px Roboto,sans-serif;letter-spacing:.0071428571em}.mat-body,.mat-body-2,.mat-typography .mat-body,.mat-typography .mat-body-2,.mat-typography{font:400 12px/12px Roboto,sans-serif;letter-spacing:normal}.mat-body p,.mat-body-2 p,.mat-typography .mat-body p,.mat-typography .mat-body-2 p,.mat-typography p{margin:0 0 12px}.mat-small,.mat-caption,.mat-typography .mat-small,.mat-typography .mat-caption{font:400 12px/20px Roboto,sans-serif;letter-spacing:.0333333333em}.mat-headline-1,.mat-typography .mat-headline-1{font:300 96px/96px Roboto,sans-serif;letter-spacing:-.015625em;margin:0 0 56px}.mat-headline-2,.mat-typography .mat-headline-2{font:300 60px/60px Roboto,sans-serif;letter-spacing:-.0083333333em;margin:0 0 64px}.mat-headline-3,.mat-typography .mat-headline-3{font:400 48px/50px Roboto,sans-serif;letter-spacing:normal;margin:0 0 64px}.mat-headline-4,.mat-typography .mat-headline-4{font:400 34px/40px Roboto,sans-serif;letter-spacing:.0073529412em;margin:0 0 64px}html{font-family:Roboto,Arial,Helvetica Neue,sans-serif;scrollbar-color:#565656 #393939;scrollbar-width:thin;color:#fff;background-color:#1e1e1e;font-size:12px}html,body{margin:0;padding:0;height:100%;overflow:hidden}::-webkit-scrollbar{width:6px}::-webkit-scrollbar-track{background-color:#393939}::-webkit-scrollbar-thumb{background-color:#565656;border-radius:3px;border:0px solid #393939}::-webkit-scrollbar-button{width:0;height:0;display:none}::-webkit-scrollbar-corner{background-color:transparent}input.app-input,textarea.app-input{color:#fff;background-color:#ffffff25;border-style:solid;border-width:0 0 1px 0;border-color:#c8c8c8;border-radius:2px 2px 0 0;transition:border-width .1s,padding-bottom .1s}textarea.app-input,input.app-input{margin:0;padding:0 4px 1px}input.app-input{height:20px}input.app-input:focus,textarea.app-input:focus,input.app-input:hover,textarea.app-input:hover{border-width:0 0 2px 0;padding-bottom:0}input.app-input:hover,textarea.app-input:hover{border-color:#fff}input.app-input:focus,textarea.app-input:focus{outline:none;border-color:#2196f3}button.mat-flat-button{padding:0 8px!important;height:32px!important;line-height:32px;min-width:auto!important}button.mat-flat-button .mat-icon{margin:0;width:20px;height:20px;font-size:20px}button.mat-mini-fab .mat-button-wrapper{line-height:20px}.row{--mdc-checkbox-state-layer-size:20px;display:flex;align-items:center;padding-left:2px;padding-right:2px}.row .mat-mdc-checkbox{margin:0}.row .mat-mdc-checkbox-touch-target{width:20px;height:20px}.row>*{margin-top:1px;margin-bottom:1px}.row>button.mat-flat-button{margin:2px!important}.row .small-checkbox label.mat-checkbox-layout{display:flex!important}button.mat-mdc-icon-button.more-button{--mdc-icon-button-state-layer-size:20px;width:20px;height:20px;margin:0;padding:0;line-height:20px!important}button.mat-mdc-icon-button.more-button mat-icon{width:12px;height:12px;line-height:12px!important;display:block;margin:auto}button.mat-mdc-icon-button.more-button svg{width:12px;height:12px;display:block}button.mat-mdc-icon-button.more-button .mat-mdc-button-touch-target{width:20px;height:20px}.input-block{margin:2px;position:relative}.input-block>label{position:absolute;color:#c8c8c8;font-size:8px;padding:4px;top:0;left:0;right:15px}.input-block>input,.input-block>textarea{height:32px;width:100%}.input-block>input{padding-top:12px}.input-block>textarea{padding-top:17px;resize:vertical}.input-block>label.opaque{background-color:#454545e6;border-radius:2px}.input-block.disabled{opacity:.5}.input-block.disabled>input{border-color:transparent}.input-block:focus-within>label{color:#2196f3}.input-block.has-error>input,.input-block.has-error>textarea{border-color:#f44336}.input-block.has-error:focus-within>label{color:#f44336}.app-tooltip{margin-top:-8px}.dialog .mat-mdc-dialog-container{--mdc-dialog-container-color: #252526 !important}.mat-mdc-menu-panel{max-width:320px!important}.mat-mdc-form-field.mat-focused .mat-mdc-form-field-focus-overlay{opacity:.08} diff --git a/erm.frontend/public/svg-path-editor/worker-basic.min.js b/erm.frontend/public/svg-path-editor/worker-basic.min.js new file mode 100644 index 00000000..a43c0f2e --- /dev/null +++ b/erm.frontend/public/svg-path-editor/worker-basic.min.js @@ -0,0 +1,30 @@ +/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +// tslint:disable:no-console + +self.addEventListener('install', (event) => { + self.skipWaiting(); +}); + +self.addEventListener('activate', (event) => { + event.waitUntil(self.clients.claim()); + + event.waitUntil( + self.registration.unregister().then(() => { + console.log('NGSW Safety Worker - unregistered old service worker'); + }), + ); + + event.waitUntil( + caches.keys().then((cacheNames) => { + const ngswCacheNames = cacheNames.filter((name) => /^ngsw:/.test(name)); + return Promise.all(ngswCacheNames.map((name) => caches.delete(name))); + }), + ); +});